[03:00:05]OFD Sender: No OFD packet to send [03:00:10]OFD Sender: No OFD packet to send [03:00:15]OFD Sender: No OFD packet to send [03:00:20]OFD Sender: No OFD packet to send [03:00:25]OFD Sender: No OFD packet to send [03:00:30]OFD Sender: No OFD packet to send [03:00:35]OFD Sender: No OFD packet to send [03:00:40]OFD Sender: No OFD packet to send [03:00:45]OFD Sender: No OFD packet to send [03:00:50]OFD Sender: No OFD packet to send [03:00:55]OFD Sender: No OFD packet to send [03:01:00]OFD Sender: No OFD packet to send [03:01:05]OFD Sender: No OFD packet to send [03:01:10]OFD Sender: No OFD packet to send [03:01:15]OFD Sender: No OFD packet to send [03:01:20]OFD Sender: No OFD packet to send [03:01:25]OFD Sender: No OFD packet to send [03:01:30]OFD Sender: No OFD packet to send [03:01:35]OFD Sender: No OFD packet to send [03:01:40]OFD Sender: No OFD packet to send [03:01:45]OFD Sender: No OFD packet to send [03:01:50]OFD Sender: No OFD packet to send [03:01:55]OFD Sender: No OFD packet to send [03:02:00]OFD Sender: No OFD packet to send [03:02:05]OFD Sender: No OFD packet to send [03:02:10]OFD Sender: No OFD packet to send [03:02:15]OFD Sender: No OFD packet to send [03:02:20]OFD Sender: No OFD packet to send [03:02:25]OFD Sender: No OFD packet to send [03:02:30]OFD Sender: No OFD packet to send [03:02:35]OFD Sender: No OFD packet to send [03:02:40]OFD Sender: No OFD packet to send [03:02:45]OFD Sender: No OFD packet to send [03:02:50]OFD Sender: No OFD packet to send [03:02:55]OFD Sender: No OFD packet to send [03:03:00]OFD Sender: No OFD packet to send [03:03:05]OFD Sender: No OFD packet to send [03:03:10]OFD Sender: No OFD packet to send [03:03:15]OFD Sender: No OFD packet to send [03:03:20]OFD Sender: No OFD packet to send [03:03:25]OFD Sender: No OFD packet to send [03:03:30]OFD Sender: No OFD packet to send [03:03:35]OFD Sender: No OFD packet to send [03:03:40]OFD Sender: No OFD packet to send [03:03:45]OFD Sender: No OFD packet to send [03:03:50]OFD Sender: No OFD packet to send [03:03:55]OFD Sender: No OFD packet to send [03:04:00]OFD Sender: No OFD packet to send [03:04:05]OFD Sender: No OFD packet to send [03:04:10]OFD Sender: No OFD packet to send [03:04:15]OFD Sender: No OFD packet to send [03:04:20]OFD Sender: No OFD packet to send [03:04:25]OFD Sender: No OFD packet to send [03:04:30]OFD Sender: No OFD packet to send [03:04:35]OFD Sender: No OFD packet to send [03:04:40]OFD Sender: No OFD packet to send [03:04:45]OFD Sender: No OFD packet to send [03:04:50]OFD Sender: No OFD packet to send [03:04:55]OFD Sender: No OFD packet to send [03:05:00]OFD Sender: No OFD packet to send [03:05:05]OFD Sender: No OFD packet to send [03:05:10]OFD Sender: No OFD packet to send [03:05:15]OFD Sender: No OFD packet to send [03:05:20]OFD Sender: No OFD packet to send [03:05:25]OFD Sender: No OFD packet to send [03:05:30]OFD Sender: No OFD packet to send [03:05:35]OFD Sender: No OFD packet to send [03:05:40]OFD Sender: No OFD packet to send [03:05:45]OFD Sender: No OFD packet to send [03:05:50]OFD Sender: No OFD packet to send [03:05:55]OFD Sender: No OFD packet to send [03:06:00]OFD Sender: No OFD packet to send [03:06:05]OFD Sender: No OFD packet to send [03:06:10]OFD Sender: No OFD packet to send [03:06:15]OFD Sender: No OFD packet to send [03:06:20]OFD Sender: No OFD packet to send [03:06:25]OFD Sender: No OFD packet to send [03:06:30]OFD Sender: No OFD packet to send [03:06:35]OFD Sender: No OFD packet to send [03:06:40]OFD Sender: No OFD packet to send [03:06:45]OFD Sender: No OFD packet to send [03:06:50]OFD Sender: No OFD packet to send [03:06:55]OFD Sender: No OFD packet to send [03:07:00]OFD Sender: No OFD packet to send [03:07:05]OFD Sender: No OFD packet to send [03:07:10]OFD Sender: No OFD packet to send [03:07:15]OFD Sender: No OFD packet to send [03:07:20]OFD Sender: No OFD packet to send [03:07:25]OFD Sender: No OFD packet to send [03:07:30]OFD Sender: No OFD packet to send [03:07:35]OFD Sender: No OFD packet to send [03:07:40]OFD Sender: No OFD packet to send [03:07:45]OFD Sender: No OFD packet to send [03:07:50]OFD Sender: No OFD packet to send [03:07:55]OFD Sender: No OFD packet to send [03:08:00]OFD Sender: No OFD packet to send [03:08:05]OFD Sender: No OFD packet to send [03:08:10]OFD Sender: No OFD packet to send [03:08:15]OFD Sender: No OFD packet to send [03:08:20]OFD Sender: No OFD packet to send [03:08:25]OFD Sender: No OFD packet to send [03:08:30]OFD Sender: No OFD packet to send [03:08:35]OFD Sender: No OFD packet to send [03:08:40]OFD Sender: No OFD packet to send [03:08:45]OFD Sender: No OFD packet to send [03:08:50]OFD Sender: No OFD packet to send [03:08:55]OFD Sender: No OFD packet to send [03:09:00]OFD Sender: No OFD packet to send [03:09:05]OFD Sender: No OFD packet to send [03:09:10]OFD Sender: No OFD packet to send [03:09:15]OFD Sender: No OFD packet to send [03:09:20]OFD Sender: No OFD packet to send [03:09:25]OFD Sender: No OFD packet to send [03:09:30]OFD Sender: No OFD packet to send [03:09:35]OFD Sender: No OFD packet to send [03:09:40]OFD Sender: No OFD packet to send [03:09:45]OFD Sender: No OFD packet to send [03:09:50]OFD Sender: No OFD packet to send [03:09:55]OFD Sender: No OFD packet to send [03:10:00]OFD Sender: No OFD packet to send [03:10:05]OFD Sender: No OFD packet to send [03:10:10]OFD Sender: No OFD packet to send [03:10:15]OFD Sender: No OFD packet to send [03:10:20]OFD Sender: No OFD packet to send [03:10:25]OFD Sender: No OFD packet to send [03:10:30]OFD Sender: No OFD packet to send [03:10:35]OFD Sender: No OFD packet to send [03:10:40]OFD Sender: No OFD packet to send [03:10:45]OFD Sender: No OFD packet to send [03:10:50]OFD Sender: No OFD packet to send [03:10:55]OFD Sender: No OFD packet to send [03:11:00]OFD Sender: No OFD packet to send [03:11:05]OFD Sender: No OFD packet to send [03:11:10]OFD Sender: No OFD packet to send [03:11:15]OFD Sender: No OFD packet to send [03:11:20]OFD Sender: No OFD packet to send [03:11:25]OFD Sender: No OFD packet to send [03:11:30]OFD Sender: No OFD packet to send [03:11:35]OFD Sender: No OFD packet to send [03:11:40]OFD Sender: No OFD packet to send [03:11:45]OFD Sender: No OFD packet to send [03:11:50]OFD Sender: No OFD packet to send [03:11:55]OFD Sender: No OFD packet to send [03:12:00]OFD Sender: No OFD packet to send [03:12:05]OFD Sender: No OFD packet to send [03:12:10]OFD Sender: No OFD packet to send [03:12:15]OFD Sender: No OFD packet to send [03:12:20]OFD Sender: No OFD packet to send [03:12:25]OFD Sender: No OFD packet to send [03:12:30]OFD Sender: No OFD packet to send [03:12:35]OFD Sender: No OFD packet to send [03:12:40]OFD Sender: No OFD packet to send [03:12:45]OFD Sender: No OFD packet to send [03:12:50]OFD Sender: No OFD packet to send [03:12:55]OFD Sender: No OFD packet to send [03:13:00]OFD Sender: No OFD packet to send [03:13:05]OFD Sender: No OFD packet to send [03:13:10]OFD Sender: No OFD packet to send [03:13:15]OFD Sender: No OFD packet to send [03:13:20]OFD Sender: No OFD packet to send [03:13:25]OFD Sender: No OFD packet to send [03:13:30]OFD Sender: No OFD packet to send [03:13:35]OFD Sender: No OFD packet to send [03:13:40]OFD Sender: No OFD packet to send [03:13:45]OFD Sender: No OFD packet to send [03:13:50]OFD Sender: No OFD packet to send [03:13:55]OFD Sender: No OFD packet to send [03:14:00]OFD Sender: No OFD packet to send [03:14:05]OFD Sender: No OFD packet to send [03:14:10]OFD Sender: No OFD packet to send [03:14:15]OFD Sender: No OFD packet to send [03:14:20]OFD Sender: No OFD packet to send [03:14:25]OFD Sender: No OFD packet to send [03:14:30]OFD Sender: No OFD packet to send [03:14:35]OFD Sender: No OFD packet to send [03:14:40]OFD Sender: No OFD packet to send [03:14:45]OFD Sender: No OFD packet to send [03:14:50]OFD Sender: No OFD packet to send [03:14:55]OFD Sender: No OFD packet to send [03:15:00]OFD Sender: No OFD packet to send [03:15:05]OFD Sender: No OFD packet to send [03:15:10]OFD Sender: No OFD packet to send [03:15:15]OFD Sender: No OFD packet to send [03:15:20]OFD Sender: No OFD packet to send [03:15:25]OFD Sender: No OFD packet to send [03:15:30]OFD Sender: No OFD packet to send [03:15:35]OFD Sender: No OFD packet to send [03:15:40]OFD Sender: No OFD packet to send [03:15:45]OFD Sender: No OFD packet to send [03:15:50]OFD Sender: No OFD packet to send [03:15:55]OFD Sender: No OFD packet to send [03:16:00]OFD Sender: No OFD packet to send [03:16:05]OFD Sender: No OFD packet to send [03:16:10]OFD Sender: No OFD packet to send [03:16:15]OFD Sender: No OFD packet to send [03:16:20]OFD Sender: No OFD packet to send [03:16:25]OFD Sender: No OFD packet to send [03:16: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:46]OFD Sender: No OFD packet to send [03:17:51]OFD Sender: No OFD packet to send [03:17:56]OFD Sender: No OFD packet to send [03:18:01]OFD Sender: No OFD packet to send [03:18:06]OFD Sender: No OFD packet to send [03:18:11]OFD Sender: No OFD packet to send [03:18:16]OFD Sender: No OFD packet to send [03:18:21]OFD Sender: No OFD packet to send [03:18:26]OFD Sender: No OFD packet to send [03:18:31]OFD Sender: No OFD packet to send [03:18:36]OFD Sender: No OFD packet to send [03:18:41]OFD Sender: No OFD packet to send [03:18:46]OFD Sender: No OFD packet to send [03:18:51]OFD Sender: No OFD packet to send [03:18:56]OFD Sender: No OFD packet to send [03:19:01]OFD Sender: No OFD packet to send [03:19:06]OFD Sender: No OFD packet to send [03:19:11]OFD Sender: No OFD packet to send [03:19:16]OFD Sender: No OFD packet to send [03:19:21]OFD Sender: No OFD packet to send [03:19:26]OFD Sender: No OFD packet to send [03:19:31]OFD Sender: No OFD packet to send [03:19:36]OFD Sender: No OFD packet to send [03:19:41]OFD Sender: No OFD packet to send [03:19:46]OFD Sender: No OFD packet to send [03:19:51]OFD Sender: No OFD packet to send [03:19:56]OFD Sender: No OFD packet to send [03:20:01]OFD Sender: No OFD packet to send [03:20:06]OFD Sender: No OFD packet to send [03:20:11]OFD Sender: No OFD packet to send [03:20:16]OFD Sender: No OFD packet to send [03:20:21]OFD Sender: No OFD packet to send [03:20:26]OFD Sender: No OFD packet to send [03:20:31]OFD Sender: No OFD packet to send [03:20:36]OFD Sender: No OFD packet to send [03:20:41]OFD Sender: No OFD packet to send [03:20:46]OFD Sender: No OFD packet to send [03:20:51]OFD Sender: No OFD packet to send [03:20:56]OFD Sender: No OFD packet to send [03:21:01]OFD Sender: No OFD packet to send [03:21:06]OFD Sender: No OFD packet to send [03:21:11]OFD Sender: No OFD packet to send [03:21:16]OFD Sender: No OFD packet to send [03:21:21]OFD Sender: No OFD packet to send [03:21:26]OFD Sender: No OFD packet to send [03:21:31]OFD Sender: No OFD packet to send [03:21:36]OFD Sender: No OFD packet to send [03:21:41]OFD Sender: No OFD packet to send [03:21:46]OFD Sender: No OFD packet to send [03:21:51]OFD Sender: No OFD packet to send [03:21:56]OFD Sender: No OFD packet to send [03:22:01]OFD Sender: No OFD packet to send [03:22:06]OFD Sender: No OFD packet to send [03:22:11]OFD Sender: No OFD packet to send [03:22:16]OFD Sender: No OFD packet to send [03:22:21]OFD Sender: No OFD packet to send [03:22:26]OFD Sender: No OFD packet to send [03:22:31]OFD Sender: No OFD packet to send [03:22:36]OFD Sender: No OFD packet to send [03:22:41]OFD Sender: No OFD packet to send [03:22:46]OFD Sender: No OFD packet to send [03:22:51]OFD Sender: No OFD packet to send [03:22:56]OFD Sender: No OFD packet to send [03:23:01]OFD Sender: No OFD packet to send [03:23:06]OFD Sender: No OFD packet to send [03:23:11]OFD Sender: No OFD packet to send [03:23:16]OFD Sender: No OFD packet to send [03:23:21]OFD Sender: No OFD packet to send [03:23:26]OFD Sender: No OFD packet to send [03:23:31]OFD Sender: No OFD packet to send [03:23:36]OFD Sender: No OFD packet to send [03:23:41]OFD Sender: No OFD packet to send [03:23:46]OFD Sender: No OFD packet to send [03:23:51]OFD Sender: No OFD packet to send [03:23:56]OFD Sender: No OFD packet to send [03:24:01]OFD Sender: No OFD packet to send [03:24:06]OFD Sender: No OFD packet to send [03:24:11]OFD Sender: No OFD packet to send [03:24:16]OFD Sender: No OFD packet to send [03:24:21]OFD Sender: No OFD packet to send [03:24:26]OFD Sender: No OFD packet to send [03:24:31]OFD Sender: No OFD packet to send [03:24:36]OFD Sender: No OFD packet to send [03:24:41]OFD Sender: No OFD packet to send [03:24:46]OFD Sender: No OFD packet to send [03:24:51]OFD Sender: No OFD packet to send [03:24:56]OFD Sender: No OFD packet to send [03:25:01]OFD Sender: No OFD packet to send [03:25:06]OFD Sender: No OFD packet to send [03:25:11]OFD Sender: No OFD packet to send [03:25:16]OFD Sender: No OFD packet to send [03:25:21]OFD Sender: No OFD packet to send [03:25:26]OFD Sender: No OFD packet to send [03:25:31]OFD Sender: No OFD packet to send [03:25:36]OFD Sender: No OFD packet to send [03:25:41]OFD Sender: No OFD packet to send [03:25:46]OFD Sender: No OFD packet to send [03:25:51]OFD Sender: No OFD packet to send [03:25:56]OFD Sender: No OFD packet to send [03:26:01]OFD Sender: No OFD packet to send [03:26:06]OFD Sender: No OFD packet to send [03:26:11]OFD Sender: No OFD packet to send [03:26:16]OFD Sender: No OFD packet to send [03:26:21]OFD Sender: No OFD packet to send [03:26:26]OFD Sender: No OFD packet to send [03:26:31]OFD Sender: No OFD packet to send [03:26:36]OFD Sender: No OFD packet to send [03:26:41]OFD Sender: No OFD packet to send [03:26:46]OFD Sender: No OFD packet to send [03:26:51]OFD Sender: No OFD packet to send [03:26:56]OFD Sender: No OFD packet to send [03:27:01]OFD Sender: No OFD packet to send [03:27:06]OFD Sender: No OFD packet to send [03:27:11]OFD Sender: No OFD packet to send [03:27:16]OFD Sender: No OFD packet to send [03:27:21]OFD Sender: No OFD packet to send [03:27:26]OFD Sender: No OFD packet to send [03:27:31]OFD Sender: No OFD packet to send [03:27:36]OFD Sender: No OFD packet to send [03:27:41]OFD Sender: No OFD packet to send [03:27:46]OFD Sender: No OFD packet to send [03:27:51]OFD Sender: No OFD packet to send [03:27:56]OFD Sender: No OFD packet to send [03:28:01]OFD Sender: No OFD packet to send [03:28:06]OFD Sender: No OFD packet to send [03:28:11]OFD Sender: No OFD packet to send [03:28:16]OFD Sender: No OFD packet to send [03:28:21]OFD Sender: No OFD packet to send [03:28:26]OFD Sender: No OFD packet to send [03:28:31]OFD Sender: No OFD packet to send [03:28:36]OFD Sender: No OFD packet to send [03:28:41]OFD Sender: No OFD packet to send [03:28:46]OFD Sender: No OFD packet to send [03:28:51]OFD Sender: No OFD packet to send [03:28:56]OFD Sender: No OFD packet to send [03:29:01]OFD Sender: No OFD packet to send [03:29:06]OFD Sender: No OFD packet to send [03:29:11]OFD Sender: No OFD packet to send [03:29:16]OFD Sender: No OFD packet to send [03:29:21]OFD Sender: No OFD packet to send [03:29:26]OFD Sender: No OFD packet to send [03:29:31]OFD Sender: No OFD packet to send [03:29:36]OFD Sender: No OFD packet to send [03:29:41]OFD Sender: No OFD packet to send [03:29:46]OFD Sender: No OFD packet to send [03:29:51]OFD Sender: No OFD packet to send [03:29:56]OFD Sender: No OFD packet to send [03:30:01]OFD Sender: No OFD packet to send [03:30:06]OFD Sender: No OFD packet to send [03:30:11]OFD Sender: No OFD packet to send [03:30:16]OFD Sender: No OFD packet to send [03:30:21]OFD Sender: No OFD packet to send [03:30:26]OFD Sender: No OFD packet to send [03:30:31]OFD Sender: No OFD packet to send [03:30:36]OFD Sender: No OFD packet to send [03:30:41]OFD Sender: No OFD packet to send [03:30:46]OFD Sender: No OFD packet to send [03:30:51]OFD Sender: No OFD packet to send [03:30:56]OFD Sender: No OFD packet to send [03:31:01]OFD Sender: No OFD packet to send [03:31:03]accept exits with 9 [03:31:03]New connection [03:31:03]New thread 3067100516 created [03:31:03]Thread 3067243876 joined [03:31:03]Waiting for new connection... [03:31:03] Sock 9.Parse request [03:31:03]Sock 9.Check first char [03:31:03]Sock 9.First char is OK [03:31:03]request: POST /json_proto HTTP/1.0 [03:31:03]Method: POST [03:31:03]URL: /json_proto [03:31:03]Method is POST - this is cgi request [03:31:03]url: /json_proto [03:31:03]query_string will be loaded in cgi processing [03:31:03]execute_cgi json_proto POST (null) [03:31:03]execute_cgi path=json_proto method=POST [03:31:03]POST find Content-Length [03:31:03]Host: 172.17.50.4:8080 [03:31:03]Content-Length: 655 [03:31:03]Content-Type: application/json [03:31:03] [03:31:03]POST finish read [03:31:03]Found Content-Length = 655 [03:31:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134825", "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" ] } } [03:31:03]execute_script... [03:31: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)134825", "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" ] } } [03:31:03]POST & json_proto [03:31:03]process_json_proto [03:31:03]json parsed OK: [03:31:03]protocol is kg_v1.0 [03:31:03]action value=close_receipt [03:31:03]process_action close_receipt [03:31:03]cmd_close_receipt [03:31:03]MH_GetDate [03:31:03]Write to MH i2c: F0 00 00 B4 23 C6 [03:31:03]Write i2c OK [03:31:03]MH_I2C_Read... [03:31:03]Read from MH i2c: F0 [03:31:03]MH_I2C_Read... [03:31:03]Read from MH i2c: F0 09 00 [03:31:03]MH_I2C_Read... [03:31:03]Read from MH i2c: F0 09 00 B4 23 00 00 CB 15 67 1D BB 13 67 68 [03:31:03]GetLastDocTimeStamp 1729477654 [03:31:03]current date 1729481472 [03:31:03]FM_GetShiftState [03:31:03]SAM_PROTO_GetShiftState [03:31:03]wFMCommunicate request_size=4 [03:31:03]MH_SAM_APDU [03:31:03]CAPDU: 80 13 01 00 [03:31:03]Write to MH i2c: E2 08 00 B5 23 80 13 01 00 00 00 00 00 55 [03:31:03]Write i2c OK [03:31:03]MH_I2C_Read... [03:31:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:31:03]Read from MH i2c: E2 [03:31:03]MH_I2C_Read... [03:31:03]Read from MH i2c: E2 0E 00 [03:31:03]MH_I2C_Read... [03:31:03]Read from MH i2c: E2 0E 00 B5 23 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 9F [03:31:03]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [03:31:03]wFMCommunicate OK [03:31:03]SAM_PROTO_GetShiftState done [03:31:03]FM_GetShiftState done [03:31:03]opened in 1729469223 [03:31:03]opened+sec_in_day 1729555623 [03:31:03]quantity*price = 6900 [03:31:03]sum+1 = 6901 [03:31:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 69.00 НСП 1% : 0.61 НДС 12% : 7.33 Наличными: 69.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 5 21.10.2024 03:31 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24301 ФПД: 50015367827283 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T033112&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24301&fm=50015367827283&tin=02508201610067®Number=0000000000098120&sum=6900 0 [03:31:04]StoreToDocumentArchive [03:31:04]shift 461 fd 24301 [03:31:04]save to /storage/0461/doc_00024301 [03:31:04]save last doc name /storage/0461/doc_00024301 to /storage/kkm_last_doc_name [03:31:04]save OK [03:31:04]Clear old archive folders... [03:31:04]ProcessDocumentItem done err = 0, tmpTLVsize=294 [03:31:04]tlvbuf is 0208F8A0 [03:31:04]SAM_PROTO_ClearQueue [03:31:04]wFMCommunicate request_size=4 [03:31:04]MH_SAM_APDU [03:31:04]CAPDU: 80 09 00 00 [03:31:04]Write to MH i2c: E2 08 00 C2 23 80 09 00 00 00 00 00 00 57 [03:31:04]Write i2c OK [03:31:04]MH_I2C_Read... [03:31:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:31:04]Read from MH i2c: E2 [03:31:04]MH_I2C_Read... [03:31:04]Read from MH i2c: E2 03 00 [03:31:04]MH_I2C_Read... [03:31:04]Read from MH i2c: E2 03 00 C2 23 00 90 00 59 [03:31:04]RAPDU: 90 00 [03:31:04]wFMCommunicate OK [03:31:04]SAM_PROTO_ClearQueue done [03:31:04]KKMCreateOFDPacket [03:31:04]OFDProtocolAddRootSTLVToBuf [03:31:04]FM_MakeSignedData [03:31:04]FM_MakeSignedData [03:31:04]SAM_PROTO_SignData [03:31:04]wFMCommunicate request_size=4 [03:31:04]MH_SAM_APDU [03:31:04]CAPDU: 80 0D 01 02 [03:31:04]Write to MH i2c: E2 08 00 C3 23 80 0D 01 02 00 00 00 00 5F [03:31:04]Write i2c OK [03:31:04]MH_I2C_Read... [03:31:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:31:04]Read from MH i2c: E2 [03:31:04]MH_I2C_Read... [03:31:04]Read from MH i2c: E2 03 00 [03:31:04]MH_I2C_Read... [03:31:04]Read from MH i2c: E2 03 00 C3 23 00 90 00 5A [03:31:04]RAPDU: 90 00 [03:31:04]wFMCommunicate OK [03:31:04]wFMCommunicate request_size=255 [03:31:04]MH_SAM_APDU [03:31:04]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 05 00 00 00 F4 03 04 00 00 CB 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [03:31:04]Write to MH i2c: E2 02 01 C4 23 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 05 00 00 00 F4 03 04 00 00 CB 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 88 [03:31:04]Write i2c OK [03:31:04]MH_I2C_Read... [03:31:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:31:05]Read from MH i2c: E2 [03:31:05]MH_I2C_Read... [03:31:05]Read from MH i2c: E2 03 00 [03:31:05]MH_I2C_Read... [03:31:05]Read from MH i2c: E2 03 00 C4 23 00 90 00 5B [03:31:05]RAPDU: 90 00 [03:31:05]wFMCommunicate OK [03:31:05]wFMCommunicate request_size=53 [03:31:05]MH_SAM_APDU [03:31:05]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 ED 5E 00 00 35 04 06 00 2D 7D 1C 3B 8F 53 [03:31:05]Write to MH i2c: E2 38 00 C5 23 80 0D 02 02 30 00 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 ED 5E 00 00 35 04 06 00 2D 7D 1C 3B 8F 53 00 00 7A [03:31:05]Write i2c OK [03:31:05]MH_I2C_Read... [03:31:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:31:05]Read from MH i2c: E2 [03:31:05]MH_I2C_Read... [03:31:05]Read from MH i2c: E2 03 00 [03:31:05]MH_I2C_Read... [03:31:05]Read from MH i2c: E2 03 00 C5 23 00 90 00 5C [03:31:05]RAPDU: 90 00 [03:31:05]wFMCommunicate OK [03:31:05]wFMCommunicate request_size=4 [03:31:05]MH_SAM_APDU [03:31:05]CAPDU: 80 0D 03 02 [03:31:05]Write to MH i2c: E2 08 00 C6 23 80 0D 03 02 00 00 00 00 64 [03:31:05]Write i2c OK [03:31:05]MH_I2C_Read... [03:31:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:31:05]Read from MH i2c: E2 [03:31:05]MH_I2C_Read... [03:31:05]Read from MH i2c: E2 0B 00 [03:31:05]MH_I2C_Read... [03:31:05]Read from MH i2c: E2 0B 00 C6 23 00 82 5C CD 4F FF 0B 8C 46 90 00 3B [03:31:05]RAPDU: 82 5C CD 4F FF 0B 8C 46 90 00 [03:31:05]wFMCommunicate OK [03:31:05]SAM_PROTO_SignData done [03:31:05]FM_MakeSignedData done [03:31:05]CreateOFDProtocolMessage [03:31:05]wFMCommunicate request_size=4 [03:31:05]MH_SAM_APDU [03:31:05]CAPDU: 80 11 00 00 [03:31:05]Write to MH i2c: E2 08 00 C7 23 80 11 00 00 00 00 00 00 64 [03:31:05]Write i2c OK [03:31:05]MH_I2C_Read... [03:31:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:31:05]Read from MH i2c: E2 [03:31:05]MH_I2C_Read... [03:31:05]Read from MH i2c: E2 17 00 [03:31:05]MH_I2C_Read... [03:31:05]Read from MH i2c: E2 17 00 C7 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 B1 [03:31:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [03:31:05]wFMCommunicate OK [03:31:05]CreateOFDProtocolMessage done [03:31:05]OFDSenderStorePacket 24301 [03:31:05]StoreOFDPacket docnum=24301 [03:31:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 3A 01 00 00 A3 8E 32 01 C7 A7 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 05 00 00 00 F4 03 04 00 00 CB 15 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 ED 5E 00 00 35 04 06 00 2D 7D 1C 3B 8F 53 82 5C CD 4F FF 0B 8C 46 [03:31:05]CheckFolder [03:31:05]dirname=/storage/ofd_packets [03:31:05]CheckFolder done [03:31:05]ProducePacketName [03:31:05]name=ofd_packets/00024301 [03:31:05]NVStorageSaveData ofd_packets/00024301 [03:31:05]File name is /storage/ofd_packets/00024301 [03:31:05]Write 344 bytes [03:31:05]NVStorageSaveData done [03:31:05]OFDSenderStorePacket done [03:31:05]KKMCreateOFDPacket done [03:31:05]NVStorageSaveData kkm_last_timestamp [03:31:05]File name is /storage/kkm_last_timestamp [03:31:05]Write 4 bytes [03:31:05]NVStorageSaveData done [03:31:05]ExternCall_PrintAddStr [03:31:05]wPrintStart [03:31:05]Write to MH i2c: 01 00 00 C8 23 EB [03:31:05]Write i2c OK [03:31:05]MH_I2C_Read... [03:31:05]Read from MH i2c: 01 [03:31:05]MH_I2C_Read... [03:31:05]Read from MH i2c: 01 07 00 [03:31:05]MH_I2C_Read... [03:31:05]Read from MH i2c: 01 07 00 C8 23 00 00 00 00 00 FF 0F 00 [03:31:05]RasterBufferAndPrint [03:31:05]line Счет N : (3)134825 [03:31:05]line ИНН: 02508201610067 [03:31:05]line Контрольно-Кассовый Чек [03:31:05]line ПРОДАЖА [03:31:05]line Товар: 4600682557456 [03:31:05]line Напиток FLash up energy эн ж/б 0,5/0,45л [03:31:05]line 1.000 * 69.00 [03:31:05]line = 69.00 [03:31:05]line НДС 12% НСП 1% [03:31:05]line > о реализуемом товаре [03:31:05]line ИТОГО: 69.00 [03:31:05]line НСП 1% : 0.61 [03:31:05]line НДС 12% : 7.33 [03:31:05]line Наличными: 69.00 [03:31:05]line Безнал.: 0.00 [03:31:05]line Место: АЗС № 85 "Партнер Нефть" [03:31:05]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [03:31:05]line СНО: Общий режим [03:31:05]line Чек 5 21.10.2024 03:31 [03:31:05]line Смена: 461 ФФД: 1.0 [03:31:05]line ЗНМ: 0300000166 [03:31:05]line РНМ: 0000000000098120 [03:31:05]line Версия ККМ: 001 [03:31:05]line ФМ: 0000000000965420 [03:31:05]line ФД: 24301 [03:31:05]line ФПД: 50015367827283 [03:31:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T033112&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24301&fm=50015367827283&tin=02508201610067®Number=0000000000098120&sum=6900 [03:31:05]line 0 [03:31:05]OFD Sender: Processing packet 24301 [packets to send 5, broken 4] [03:31:05]ProducePacketName [03:31:05]name=ofd_packets/00024301 [03:31:05]OFD Sender: To server: pG, [03:31:05]CommunicateWithHost lk.salyk.kg:30040 [03:31:05]ConnectInit lk.salyk.kg [03:31:05]written 0, free lines is 4095 [03:31:05]Connected sock=10 [03:31: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 34 32 30 3A 01 00 00 A3 8E 32 01 C7 A7 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 05 00 00 00 F4 03 04 00 00 CB 15 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 ED 5E 00 00 35 04 06 00 2D 7D 1C 3B 8F 53 82 5C CD 4F FF 0B 8C 46 [03:31:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 27 BB 47 00 F2 AB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 ED 5E 00 00 F4 03 04 00 96 76 15 67 B6 04 01 00 00 E8 D2 33 27 22 57 22 DC [03:31:06]CommunicateWithHost err = 0 [03:31:06]CheckOFDResponse [03:31:06]1017 (14) - 77093643461234 [03:31:06]1041 (16) - 0000000000965420 [03:31:06]1040 (4) - 24301 [03:31:06]1012 (4) - 20.10.2024 21:31 [03:31:06]1206 (1) - 0 [03:31:06]OFD Sender: Remove packet 24301 [03:31:06]ProducePacketName [03:31:06]name=ofd_packets/00024301 [03:31:06]NVStorageDeleteData [03:31:06]Write to MH i2c: 01 00 00 F1 23 14 [03:31:06]Write i2c OK [03:31:06]MH_I2C_Read... [03:31:06]Read from MH i2c: 01 [03:31:06]MH_I2C_Read... [03:31:06]Read from MH i2c: 01 07 00 [03:31:06]MH_I2C_Read... [03:31:06]Read from MH i2c: 01 07 00 F1 23 00 00 00 00 00 0F 0D 37 [03:31:06]RasterBufferAndPrint [03:31:06]line [03:31:06]line [03:31:06]line [03:31:06]line [03:31:06]line [03:31:06]written 0, free lines is 3349 [03:31:06]process_action close_receipt done [03:31:06]requested_data is exist [03:31:06]produce_requested_data [03:31:06]requested_item fm.sn is exist - process it [03:31:06]wFMCommunicate request_size=4 [03:31:06]MH_SAM_APDU [03:31:06]CAPDU: 80 11 00 00 [03:31:06]Write to MH i2c: E2 08 00 F8 23 80 11 00 00 00 00 00 00 95 [03:31:06]Write i2c OK [03:31:06]MH_I2C_Read... [03:31:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:31:06]Read from MH i2c: E2 [03:31:06]MH_I2C_Read... [03:31:06]Read from MH i2c: E2 17 00 [03:31:06]MH_I2C_Read... [03:31:06]Read from MH i2c: E2 17 00 F8 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 E2 [03:31:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [03:31:06]wFMCommunicate OK [03:31:06]requested_item fd.num is exist - process it [03:31:06]SAM_PROTO_GetFieldsCounters [03:31:06]wFMCommunicate request_size=4 [03:31:06]MH_SAM_APDU [03:31:06]CAPDU: 80 13 00 00 [03:31:06]Write to MH i2c: E2 08 00 F9 23 80 13 00 00 00 00 00 00 98 [03:31:06]Write i2c OK [03:31:06]MH_I2C_Read... [03:31:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:31:06]Read from MH i2c: E2 [03:31:06]MH_I2C_Read... [03:31:06]Read from MH i2c: E2 62 00 [03:31:06]MH_I2C_Read... [03:31:06]Read from MH i2c: E2 62 00 F9 23 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 ED 5E 00 00 0E 04 04 00 CD 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 D6 [03:31: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 ED 5E 00 00 0E 04 04 00 CD 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:31:06]wFMCommunicate OK [03:31:06]SAM_PROTO_GetFieldsCounters done [03:31:06]requested_item shift.num is exist - process it [03:31:06]requested_item shift.opened is exist - process it [03:31:06]req_shift_opened [03:31:06]FM_GetShiftState [03:31:06]SAM_PROTO_GetShiftState [03:31:06]wFMCommunicate request_size=4 [03:31:06]MH_SAM_APDU [03:31:06]CAPDU: 80 13 01 00 [03:31:06]Write to MH i2c: E2 08 00 FA 23 80 13 01 00 00 00 00 00 9A [03:31:06]Write i2c OK [03:31:06]MH_I2C_Read... [03:31:06]Read from MH i2c: E2 [03:31:06]MH_I2C_Read... [03:31:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:31:06]Read from MH i2c: E2 0E 00 [03:31:06]MH_I2C_Read... [03:31:06]Read from MH i2c: E2 0E 00 FA 23 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 E4 [03:31:06]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [03:31:06]wFMCommunicate OK [03:31:06]SAM_PROTO_GetShiftState done [03:31:06]FM_GetShiftState done [03:31:06]req_shift_opened done [03:31:06]requested_item shift.open_date is exist - process it [03:31:06]req_shift_open_date [03:31:06]req_shift_open_date done [03:31:06]produce_requested_data done [03:31:06]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24301,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [03:31:06]process_action_free close_receipt [03:31:06]json_value_free [03:31:06]json_value_free done [03:31:06]process_json_proto returns [03:31:06]Send response to host [03:31:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24301,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [03:31:06]free response buf [03:31:06]execute_script done [03:31:06]execute_script returns [03:31:06]free content buf [03:31:06]Sock 9.Close socket [03:31:06]Sock 9.Thread stoped [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:22]OFD Sender: No OFD packet to send [03:40:27]OFD Sender: No OFD packet to send [03:40:32]OFD Sender: No OFD packet to send [03:40:37]OFD Sender: No OFD packet to send [03:40:42]OFD Sender: No OFD packet to send [03:40:47]OFD Sender: No OFD packet to send [03:40:52]OFD Sender: No OFD packet to send [03:40:57]OFD Sender: No OFD packet to send [03:41:02]OFD Sender: No OFD packet to send [03:41:07]OFD Sender: No OFD packet to send [03:41:12]OFD Sender: No OFD packet to send [03:41:17]OFD Sender: No OFD packet to send [03:41:22]OFD Sender: No OFD packet to send [03:41:27]OFD Sender: No OFD packet to send [03:41:32]OFD Sender: No OFD packet to send [03:41:37]OFD Sender: No OFD packet to send [03:41:42]OFD Sender: No OFD packet to send [03:41:47]OFD Sender: No OFD packet to send [03:41:52]OFD Sender: No OFD packet to send [03:41:57]OFD Sender: No OFD packet to send [03:42:02]OFD Sender: No OFD packet to send [03:42:07]OFD Sender: No OFD packet to send [03:42:12]OFD Sender: No OFD packet to send [03:42:17]OFD Sender: No OFD packet to send [03:42:22]OFD Sender: No OFD packet to send [03:42:27]OFD Sender: No OFD packet to send [03:42:32]OFD Sender: No OFD packet to send [03:42:37]OFD Sender: No OFD packet to send [03:42:42]OFD Sender: No OFD packet to send [03:42:47]OFD Sender: No OFD packet to send [03:42:52]OFD Sender: No OFD packet to send [03:42:57]OFD Sender: No OFD packet to send [03:43:02]OFD Sender: No OFD packet to send [03:43:07]OFD Sender: No OFD packet to send [03:43:12]OFD Sender: No OFD packet to send [03:43:17]OFD Sender: No OFD packet to send [03:43:22]OFD Sender: No OFD packet to send [03:43:27]OFD Sender: No OFD packet to send [03:43:32]OFD Sender: No OFD packet to send [03:43:37]OFD Sender: No OFD packet to send [03:43:42]OFD Sender: No OFD packet to send [03:43:47]OFD Sender: No OFD packet to send [03:43:52]OFD Sender: No OFD packet to send [03:43:57]OFD Sender: No OFD packet to send [03:44:02]OFD Sender: No OFD packet to send [03:44:07]OFD Sender: No OFD packet to send [03:44:12]OFD Sender: No OFD packet to send [03:44:17]OFD Sender: No OFD packet to send [03:44:22]OFD Sender: No OFD packet to send [03:44:27]OFD Sender: No OFD packet to send [03:44:32]OFD Sender: No OFD packet to send [03:44:37]OFD Sender: No OFD packet to send [03:44:42]OFD Sender: No OFD packet to send [03:44:47]OFD Sender: No OFD packet to send [03:44:52]OFD Sender: No OFD packet to send [03:44:57]OFD Sender: No OFD packet to send [03:45:02]OFD Sender: No OFD packet to send [03:45:07]OFD Sender: No OFD packet to send [03:45:12]OFD Sender: No OFD packet to send [03:45:17]OFD Sender: No OFD packet to send [03:45:22]OFD Sender: No OFD packet to send [03:45:27]OFD Sender: No OFD packet to send [03:45:32]OFD Sender: No OFD packet to send [03:45:37]OFD Sender: No OFD packet to send [03:45:42]OFD Sender: No OFD packet to send [03:45:47]OFD Sender: No OFD packet to send [03:45:52]OFD Sender: No OFD packet to send [03:45:57]OFD Sender: No OFD packet to send [03:46:02]OFD Sender: No OFD packet to send [03:46:07]OFD Sender: No OFD packet to send [03:46:12]OFD Sender: No OFD packet to send [03:46:17]OFD Sender: No OFD packet to send [03:46:22]OFD Sender: No OFD packet to send [03:46:27]OFD Sender: No OFD packet to send [03:46:32]OFD Sender: No OFD packet to send [03:46:37]OFD Sender: No OFD packet to send [03:46:42]OFD Sender: No OFD packet to send [03:46:47]OFD Sender: No OFD packet to send [03:46:52]OFD Sender: No OFD packet to send [03:46:57]OFD Sender: No OFD packet to send [03:47:02]OFD Sender: No OFD packet to send [03:47:07]OFD Sender: No OFD packet to send [03:47:12]OFD Sender: No OFD packet to send [03:47:17]OFD Sender: No OFD packet to send [03:47:22]OFD Sender: No OFD packet to send [03:47:27]OFD Sender: No OFD packet to send [03:47:32]OFD Sender: No OFD packet to send [03:47:37]OFD Sender: No OFD packet to send [03:47:42]OFD Sender: No OFD packet to send [03:47:47]OFD Sender: No OFD packet to send [03:47:52]OFD Sender: No OFD packet to send [03:47:57]OFD Sender: No OFD packet to send [03:48:02]OFD Sender: No OFD packet to send [03:48:07]OFD Sender: No OFD packet to send [03:48:12]OFD Sender: No OFD packet to send [03:48:17]OFD Sender: No OFD packet to send [03:48:22]OFD Sender: No OFD packet to send [03:48:27]OFD Sender: No OFD packet to send [03:48:32]OFD Sender: No OFD packet to send [03:48:37]OFD Sender: No OFD packet to send [03:48:42]OFD Sender: No OFD packet to send [03:48:47]OFD Sender: No OFD packet to send [03:48:52]OFD Sender: No OFD packet to send [03:48:57]OFD Sender: No OFD packet to send [03:49:02]OFD Sender: No OFD packet to send [03:49:07]OFD Sender: No OFD packet to send [03:49:12]OFD Sender: No OFD packet to send [03:49:17]OFD Sender: No OFD packet to send [03:49:22]OFD Sender: No OFD packet to send [03:49:27]OFD Sender: No OFD packet to send [03:49:32]OFD Sender: No OFD packet to send [03:49:37]OFD Sender: No OFD packet to send [03:49:42]OFD Sender: No OFD packet to send [03:49:47]OFD Sender: No OFD packet to send [03:49:52]OFD Sender: No OFD packet to send [03:49:57]OFD Sender: No OFD packet to send [03:50:02]OFD Sender: No OFD packet to send [03:50:07]OFD Sender: No OFD packet to send [03:50:12]OFD Sender: No OFD packet to send [03:50:17]OFD Sender: No OFD packet to send [03:50:22]OFD Sender: No OFD packet to send [03:50:27]OFD Sender: No OFD packet to send [03:50:32]OFD Sender: No OFD packet to send [03:50:37]OFD Sender: No OFD packet to send [03:50:42]OFD Sender: No OFD packet to send [03:50:47]OFD Sender: No OFD packet to send [03:50:52]OFD Sender: No OFD packet to send [03:50:57]OFD Sender: No OFD packet to send [03:51:02]OFD Sender: No OFD packet to send [03:51:07]OFD Sender: No OFD packet to send [03:51:12]OFD Sender: No OFD packet to send [03:51:17]OFD Sender: No OFD packet to send [03:51:22]OFD Sender: No OFD packet to send [03:51:27]OFD Sender: No OFD packet to send [03:51:32]OFD Sender: No OFD packet to send [03:51:37]OFD Sender: No OFD packet to send [03:51:42]OFD Sender: No OFD packet to send [03:51:47]OFD Sender: No OFD packet to send [03:51:52]OFD Sender: No OFD packet to send [03:51:57]OFD Sender: No OFD packet to send [03:52:02]OFD Sender: No OFD packet to send [03:52:07]OFD Sender: No OFD packet to send [03:52:12]OFD Sender: No OFD packet to send [03:52:17]OFD Sender: No OFD packet to send [03:52:22]OFD Sender: No OFD packet to send [03:52:27]OFD Sender: No OFD packet to send [03:52:32]OFD Sender: No OFD packet to send [03:52:37]OFD Sender: No OFD packet to send [03:52:42]OFD Sender: No OFD packet to send [03:52:47]OFD Sender: No OFD packet to send [03:52:52]OFD Sender: No OFD packet to send [03:52:57]OFD Sender: No OFD packet to send [03:53:02]OFD Sender: No OFD packet to send [03:53:07]OFD Sender: No OFD packet to send [03:53:12]OFD Sender: No OFD packet to send [03:53:17]OFD Sender: No OFD packet to send [03:53:22]OFD Sender: No OFD packet to send [03:53:27]OFD Sender: No OFD packet to send [03:53:32]OFD Sender: No OFD packet to send [03:53:37]OFD Sender: No OFD packet to send [03:53:42]OFD Sender: No OFD packet to send [03:53:47]OFD Sender: No OFD packet to send [03:53:52]OFD Sender: No OFD packet to send [03:53:57]OFD Sender: No OFD packet to send [03:54:02]OFD Sender: No OFD packet to send [03:54:07]OFD Sender: No OFD packet to send [03:54:12]OFD Sender: No OFD packet to send [03:54:17]OFD Sender: No OFD packet to send [03:54:22]OFD Sender: No OFD packet to send [03:54:27]OFD Sender: No OFD packet to send [03:54:32]OFD Sender: No OFD packet to send [03:54:37]OFD Sender: No OFD packet to send [03:54:42]OFD Sender: No OFD packet to send [03:54:47]OFD Sender: No OFD packet to send [03:54:52]OFD Sender: No OFD packet to send [03:54:57]OFD Sender: No OFD packet to send [03:55:02]OFD Sender: No OFD packet to send [03:55:07]OFD Sender: No OFD packet to send [03:55:12]OFD Sender: No OFD packet to send [03:55:17]OFD Sender: No OFD packet to send [03:55:22]OFD Sender: No OFD packet to send [03:55:27]OFD Sender: No OFD packet to send [03:55:32]OFD Sender: No OFD packet to send [03:55:37]OFD Sender: No OFD packet to send [03:55:42]OFD Sender: No OFD packet to send [03:55:47]OFD Sender: No OFD packet to send [03:55:52]OFD Sender: No OFD packet to send [03:55:57]OFD Sender: No OFD packet to send [03:56:02]OFD Sender: No OFD packet to send [03:56:07]OFD Sender: No OFD packet to send [03:56:12]OFD Sender: No OFD packet to send [03:56:17]OFD Sender: No OFD packet to send [03:56:22]OFD Sender: No OFD packet to send [03:56:27]OFD Sender: No OFD packet to send [03:56:32]OFD Sender: No OFD packet to send [03:56:37]OFD Sender: No OFD packet to send [03:56:42]OFD Sender: No OFD packet to send [03:56:47]OFD Sender: No OFD packet to send [03:56:52]OFD Sender: No OFD packet to send [03:56:57]OFD Sender: No OFD packet to send [03:57:02]OFD Sender: No OFD packet to send [03:57:07]OFD Sender: No OFD packet to send [03:57:12]OFD Sender: No OFD packet to send [03:57:17]OFD Sender: No OFD packet to send [03:57:22]OFD Sender: No OFD packet to send [03:57:27]OFD Sender: No OFD packet to send [03:57:32]OFD Sender: No OFD packet to send [03:57:37]OFD Sender: No OFD packet to send [03:57:42]OFD Sender: No OFD packet to send [03:57:47]OFD Sender: No OFD packet to send [03:57:52]OFD Sender: No OFD packet to send [03:57:57]OFD Sender: No OFD packet to send [03:58:02]OFD Sender: No OFD packet to send [03:58:07]OFD Sender: No OFD packet to send [03:58:12]OFD Sender: No OFD packet to send [03:58:17]OFD Sender: No OFD packet to send [03:58:22]OFD Sender: No OFD packet to send [03:58:27]OFD Sender: No OFD packet to send [03:58:32]OFD Sender: No OFD packet to send [03:58:37]OFD Sender: No OFD packet to send [03:58:42]OFD Sender: No OFD packet to send [03:58:47]OFD Sender: No OFD packet to send [03:58:52]OFD Sender: No OFD packet to send [03:58:57]OFD Sender: No OFD packet to send [03:59:02]OFD Sender: No OFD packet to send [03:59:07]OFD Sender: No OFD packet to send [03:59:12]OFD Sender: No OFD packet to send [03:59:17]OFD Sender: No OFD packet to send [03:59: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:58]OFD Sender: No OFD packet to send [04:02:03]OFD Sender: No OFD packet to send [04:02:08]OFD Sender: No OFD packet to send [04:02:13]OFD Sender: No OFD packet to send [04:02:18]OFD Sender: No OFD packet to send [04:02:23]OFD Sender: No OFD packet to send [04:02:28]OFD Sender: No OFD packet to send [04:02:33]OFD Sender: No OFD packet to send [04:02:38]OFD Sender: No OFD packet to send [04:02:43]OFD Sender: No OFD packet to send [04:02:48]OFD Sender: No OFD packet to send [04:02:53]OFD Sender: No OFD packet to send [04:02:58]OFD Sender: No OFD packet to send [04:03:03]OFD Sender: No OFD packet to send [04:03:08]OFD Sender: No OFD packet to send [04:03:13]OFD Sender: No OFD packet to send [04:03:18]OFD Sender: No OFD packet to send [04:03:23]OFD Sender: No OFD packet to send [04:03:28]OFD Sender: No OFD packet to send [04:03:33]OFD Sender: No OFD packet to send [04:03:38]OFD Sender: No OFD packet to send [04:03:43]OFD Sender: No OFD packet to send [04:03:48]OFD Sender: No OFD packet to send [04:03:53]OFD Sender: No OFD packet to send [04:03:58]OFD Sender: No OFD packet to send [04:04:03]OFD Sender: No OFD packet to send [04:04:08]OFD Sender: No OFD packet to send [04:04:13]OFD Sender: No OFD packet to send [04:04:18]OFD Sender: No OFD packet to send [04:04:23]OFD Sender: No OFD packet to send [04:04:28]OFD Sender: No OFD packet to send [04:04:33]OFD Sender: No OFD packet to send [04:04:38]OFD Sender: No OFD packet to send [04:04:43]OFD Sender: No OFD packet to send [04:04:48]OFD Sender: No OFD packet to send [04:04:53]OFD Sender: No OFD packet to send [04:04:58]OFD Sender: No OFD packet to send [04:05:03]OFD Sender: No OFD packet to send [04:05:08]OFD Sender: No OFD packet to send [04:05:13]OFD Sender: No OFD packet to send [04:05:18]OFD Sender: No OFD packet to send [04:05:23]OFD Sender: No OFD packet to send [04:05:28]OFD Sender: No OFD packet to send [04:05:33]OFD Sender: No OFD packet to send [04:05:38]OFD Sender: No OFD packet to send [04:05:43]OFD Sender: No OFD packet to send [04:05:48]OFD Sender: No OFD packet to send [04:05:53]OFD Sender: No OFD packet to send [04:05:58]OFD Sender: No OFD packet to send [04:06:03]OFD Sender: No OFD packet to send [04:06:08]OFD Sender: No OFD packet to send [04:06:13]OFD Sender: No OFD packet to send [04:06:18]OFD Sender: No OFD packet to send [04:06:23]OFD Sender: No OFD packet to send [04:06:28]OFD Sender: No OFD packet to send [04:06:33]OFD Sender: No OFD packet to send [04:06:38]OFD Sender: No OFD packet to send [04:06:43]OFD Sender: No OFD packet to send [04:06:48]OFD Sender: No OFD packet to send [04:06:53]OFD Sender: No OFD packet to send [04:06:58]OFD Sender: No OFD packet to send [04:07:03]OFD Sender: No OFD packet to send [04:07:08]OFD Sender: No OFD packet to send [04:07:13]OFD Sender: No OFD packet to send [04:07:18]OFD Sender: No OFD packet to send [04:07:23]OFD Sender: No OFD packet to send [04:07:28]OFD Sender: No OFD packet to send [04:07:33]OFD Sender: No OFD packet to send [04:07:38]OFD Sender: No OFD packet to send [04:07:43]OFD Sender: No OFD packet to send [04:07:48]OFD Sender: No OFD packet to send [04:07:53]OFD Sender: No OFD packet to send [04:07:58]OFD Sender: No OFD packet to send [04:08:03]OFD Sender: No OFD packet to send [04:08:08]OFD Sender: No OFD packet to send [04:08:13]OFD Sender: No OFD packet to send [04:08:18]OFD Sender: No OFD packet to send [04:08:23]OFD Sender: No OFD packet to send [04:08:28]OFD Sender: No OFD packet to send [04:08:33]OFD Sender: No OFD packet to send [04:08:38]OFD Sender: No OFD packet to send [04:08:43]OFD Sender: No OFD packet to send [04:08:48]OFD Sender: No OFD packet to send [04:08:53]OFD Sender: No OFD packet to send [04:08:58]OFD Sender: No OFD packet to send [04:09:03]OFD Sender: No OFD packet to send [04:09:08]OFD Sender: No OFD packet to send [04:09:13]OFD Sender: No OFD packet to send [04:09:18]OFD Sender: No OFD packet to send [04:09:23]OFD Sender: No OFD packet to send [04:09:28]OFD Sender: No OFD packet to send [04:09:33]OFD Sender: No OFD packet to send [04:09:38]OFD Sender: No OFD packet to send [04:09:43]OFD Sender: No OFD packet to send [04:09:48]OFD Sender: No OFD packet to send [04:09:53]OFD Sender: No OFD packet to send [04:09:58]OFD Sender: No OFD packet to send [04:10:03]OFD Sender: No OFD packet to send [04:10:08]OFD Sender: No OFD packet to send [04:10:13]OFD Sender: No OFD packet to send [04:10:18]OFD Sender: No OFD packet to send [04:10:23]OFD Sender: No OFD packet to send [04:10:28]OFD Sender: No OFD packet to send [04:10:33]OFD Sender: No OFD packet to send [04:10:38]OFD Sender: No OFD packet to send [04:10:43]OFD Sender: No OFD packet to send [04:10:48]OFD Sender: No OFD packet to send [04:10:53]OFD Sender: No OFD packet to send [04:10:58]OFD Sender: No OFD packet to send [04:11:03]OFD Sender: No OFD packet to send [04:11:08]OFD Sender: No OFD packet to send [04:11:13]OFD Sender: No OFD packet to send [04:11:18]OFD Sender: No OFD packet to send [04:11:23]OFD Sender: No OFD packet to send [04:11:28]OFD Sender: No OFD packet to send [04:11:33]OFD Sender: No OFD packet to send [04:11:38]OFD Sender: No OFD packet to send [04:11:43]OFD Sender: No OFD packet to send [04:11:48]OFD Sender: No OFD packet to send [04:11:53]OFD Sender: No OFD packet to send [04:11:58]OFD Sender: No OFD packet to send [04:12:03]OFD Sender: No OFD packet to send [04:12:08]OFD Sender: No OFD packet to send [04:12:13]OFD Sender: No OFD packet to send [04:12:18]OFD Sender: No OFD packet to send [04:12:23]OFD Sender: No OFD packet to send [04:12:28]OFD Sender: No OFD packet to send [04:12:33]OFD Sender: No OFD packet to send [04:12:38]OFD Sender: No OFD packet to send [04:12:43]OFD Sender: No OFD packet to send [04:12:48]OFD Sender: No OFD packet to send [04:12:53]OFD Sender: No OFD packet to send [04:12:58]OFD Sender: No OFD packet to send [04:13:03]OFD Sender: No OFD packet to send [04:13:08]OFD Sender: No OFD packet to send [04:13:13]OFD Sender: No OFD packet to send [04:13:18]OFD Sender: No OFD packet to send [04:13:23]OFD Sender: No OFD packet to send [04:13:28]OFD Sender: No OFD packet to send [04:13:33]OFD Sender: No OFD packet to send [04:13:38]OFD Sender: No OFD packet to send [04:13:43]OFD Sender: No OFD packet to send [04:13:48]OFD Sender: No OFD packet to send [04:13:53]OFD Sender: No OFD packet to send [04:13:58]OFD Sender: No OFD packet to send [04:14:03]OFD Sender: No OFD packet to send [04:14:08]OFD Sender: No OFD packet to send [04:14:13]OFD Sender: No OFD packet to send [04:14:18]OFD Sender: No OFD packet to send [04:14:23]OFD Sender: No OFD packet to send [04:14:28]OFD Sender: No OFD packet to send [04:14:33]OFD Sender: No OFD packet to send [04:14:38]OFD Sender: No OFD packet to send [04:14:43]OFD Sender: No OFD packet to send [04:14:48]OFD Sender: No OFD packet to send [04:14:53]OFD Sender: No OFD packet to send [04:14:58]OFD Sender: No OFD packet to send [04:15:03]OFD Sender: No OFD packet to send [04:15:08]OFD Sender: No OFD packet to send [04:15:13]OFD Sender: No OFD packet to send [04:15:18]OFD Sender: No OFD packet to send [04:15:23]OFD Sender: No OFD packet to send [04:15:28]OFD Sender: No OFD packet to send [04:15:33]OFD Sender: No OFD packet to send [04:15:38]OFD Sender: No OFD packet to send [04:15:43]OFD Sender: No OFD packet to send [04:15:48]OFD Sender: No OFD packet to send [04:15:53]OFD Sender: No OFD packet to send [04:15:58]OFD Sender: No OFD packet to send [04:16:03]OFD Sender: No OFD packet to send [04:16:08]OFD Sender: No OFD packet to send [04:16:13]OFD Sender: No OFD packet to send [04:16:18]OFD Sender: No OFD packet to send [04:16:23]OFD Sender: No OFD packet to send [04:16:28]OFD Sender: No OFD packet to send [04:16:33]OFD Sender: No OFD packet to send [04:16:38]OFD Sender: No OFD packet to send [04:16:43]OFD Sender: No OFD packet to send [04:16:48]OFD Sender: No OFD packet to send [04:16:53]OFD Sender: No OFD packet to send [04:16:58]OFD Sender: No OFD packet to send [04:17:03]OFD Sender: No OFD packet to send [04:17:08]OFD Sender: No OFD packet to send [04:17:13]OFD Sender: No OFD packet to send [04:17:18]OFD Sender: No OFD packet to send [04:17:23]OFD Sender: No OFD packet to send [04:17:28]OFD Sender: No OFD packet to send [04:17:33]OFD Sender: No OFD packet to send [04:17:38]OFD Sender: No OFD packet to send [04:17:43]OFD Sender: No OFD packet to send [04:17:48]OFD Sender: No OFD packet to send [04:17:53]OFD Sender: No OFD packet to send [04:17:58]OFD Sender: No OFD packet to send [04:18:03]OFD Sender: No OFD packet to send [04:18:08]OFD Sender: No OFD packet to send [04:18:13]OFD Sender: No OFD packet to send [04:18:18]OFD Sender: No OFD packet to send [04:18:23]OFD Sender: No OFD packet to send [04:18:28]OFD Sender: No OFD packet to send [04:18:33]OFD Sender: No OFD packet to send [04:18:38]OFD Sender: No OFD packet to send [04:18:43]OFD Sender: No OFD packet to send [04:18:48]OFD Sender: No OFD packet to send [04:18:53]OFD Sender: No OFD packet to send [04:18:58]OFD Sender: No OFD packet to send [04:19:03]OFD Sender: No OFD packet to send [04:19:08]OFD Sender: No OFD packet to send [04:19:13]OFD Sender: No OFD packet to send [04:19:18]OFD Sender: No OFD packet to send [04:19:23]OFD Sender: No OFD packet to send [04:19:28]OFD Sender: No OFD packet to send [04:19:33]OFD Sender: No OFD packet to send [04:19:38]OFD Sender: No OFD packet to send [04:19:43]OFD Sender: No OFD packet to send [04:19:48]OFD Sender: No OFD packet to send [04:19:53]OFD Sender: No OFD packet to send [04:19:58]OFD Sender: No OFD packet to send [04:20:03]OFD Sender: No OFD packet to send [04:20:08]OFD Sender: No OFD packet to send [04:20:13]OFD Sender: No OFD packet to send [04:20:18]OFD Sender: No OFD packet to send [04:20:23]OFD Sender: No OFD packet to send [04:20:28]OFD Sender: No OFD packet to send [04:20:33]OFD Sender: No OFD packet to send [04:20:38]OFD Sender: No OFD packet to send [04:20:43]OFD Sender: No OFD packet to send [04:20: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:39]OFD Sender: No OFD packet to send [04:23:44]OFD Sender: No OFD packet to send [04:23:49]OFD Sender: No OFD packet to send [04:23:54]OFD Sender: No OFD packet to send [04:23:59]OFD Sender: No OFD packet to send [04:24:04]OFD Sender: No OFD packet to send [04:24:09]OFD Sender: No OFD packet to send [04:24:14]OFD Sender: No OFD packet to send [04:24:19]OFD Sender: No OFD packet to send [04:24:24]OFD Sender: No OFD packet to send [04:24:29]OFD Sender: No OFD packet to send [04:24:34]OFD Sender: No OFD packet to send [04:24:39]OFD Sender: No OFD packet to send [04:24:44]OFD Sender: No OFD packet to send [04:24:49]OFD Sender: No OFD packet to send [04:24:54]OFD Sender: No OFD packet to send [04:24:59]OFD Sender: No OFD packet to send [04:25:04]OFD Sender: No OFD packet to send [04:25:09]OFD Sender: No OFD packet to send [04:25:14]OFD Sender: No OFD packet to send [04:25:19]OFD Sender: No OFD packet to send [04:25:24]OFD Sender: No OFD packet to send [04:25:29]OFD Sender: No OFD packet to send [04:25:34]OFD Sender: No OFD packet to send [04:25:39]OFD Sender: No OFD packet to send [04:25:44]OFD Sender: No OFD packet to send [04:25:49]OFD Sender: No OFD packet to send [04:25:54]OFD Sender: No OFD packet to send [04:25:59]OFD Sender: No OFD packet to send [04:26:04]OFD Sender: No OFD packet to send [04:26:09]OFD Sender: No OFD packet to send [04:26:14]OFD Sender: No OFD packet to send [04:26:19]OFD Sender: No OFD packet to send [04:26:24]OFD Sender: No OFD packet to send [04:26:29]OFD Sender: No OFD packet to send [04:26:34]OFD Sender: No OFD packet to send [04:26:39]OFD Sender: No OFD packet to send [04:26:44]OFD Sender: No OFD packet to send [04:26:49]OFD Sender: No OFD packet to send [04:26:54]OFD Sender: No OFD packet to send [04:26:59]OFD Sender: No OFD packet to send [04:27:04]OFD Sender: No OFD packet to send [04:27:09]OFD Sender: No OFD packet to send [04:27:14]OFD Sender: No OFD packet to send [04:27:19]OFD Sender: No OFD packet to send [04:27:24]OFD Sender: No OFD packet to send [04:27:29]OFD Sender: No OFD packet to send [04:27:34]OFD Sender: No OFD packet to send [04:27:39]OFD Sender: No OFD packet to send [04:27:44]OFD Sender: No OFD packet to send [04:27:49]OFD Sender: No OFD packet to send [04:27:54]OFD Sender: No OFD packet to send [04:27:59]OFD Sender: No OFD packet to send [04:28:04]OFD Sender: No OFD packet to send [04:28:09]OFD Sender: No OFD packet to send [04:28:14]OFD Sender: No OFD packet to send [04:28:19]OFD Sender: No OFD packet to send [04:28:24]OFD Sender: No OFD packet to send [04:28:29]OFD Sender: No OFD packet to send [04:28:34]OFD Sender: No OFD packet to send [04:28:39]OFD Sender: No OFD packet to send [04:28:44]OFD Sender: No OFD packet to send [04:28:49]OFD Sender: No OFD packet to send [04:28:54]OFD Sender: No OFD packet to send [04:28:59]OFD Sender: No OFD packet to send [04:29:04]OFD Sender: No OFD packet to send [04:29:09]OFD Sender: No OFD packet to send [04:29:14]OFD Sender: No OFD packet to send [04:29:19]OFD Sender: No OFD packet to send [04:29:24]OFD Sender: No OFD packet to send [04:29:29]OFD Sender: No OFD packet to send [04:29:34]OFD Sender: No OFD packet to send [04:29:39]OFD Sender: No OFD packet to send [04:29:44]OFD Sender: No OFD packet to send [04:29:49]OFD Sender: No OFD packet to send [04:29:54]OFD Sender: No OFD packet to send [04:29:59]OFD Sender: No OFD packet to send [04:30:04]OFD Sender: No OFD packet to send [04:30:09]OFD Sender: No OFD packet to send [04:30:14]OFD Sender: No OFD packet to send [04:30:19]OFD Sender: No OFD packet to send [04:30:24]OFD Sender: No OFD packet to send [04:30:29]OFD Sender: No OFD packet to send [04:30:34]OFD Sender: No OFD packet to send [04:30:39]OFD Sender: No OFD packet to send [04:30:44]OFD Sender: No OFD packet to send [04:30:49]OFD Sender: No OFD packet to send [04:30:54]OFD Sender: No OFD packet to send [04:30:59]OFD Sender: No OFD packet to send [04:31:04]OFD Sender: No OFD packet to send [04:31:09]OFD Sender: No OFD packet to send [04:31:14]OFD Sender: No OFD packet to send [04:31:19]OFD Sender: No OFD packet to send [04:31:24]OFD Sender: No OFD packet to send [04:31:29]OFD Sender: No OFD packet to send [04:31:34]OFD Sender: No OFD packet to send [04:31:39]OFD Sender: No OFD packet to send [04:31:44]OFD Sender: No OFD packet to send [04:31:49]OFD Sender: No OFD packet to send [04:31:54]OFD Sender: No OFD packet to send [04:31:59]OFD Sender: No OFD packet to send [04:32:04]OFD Sender: No OFD packet to send [04:32:09]OFD Sender: No OFD packet to send [04:32:14]OFD Sender: No OFD packet to send [04:32:19]OFD Sender: No OFD packet to send [04:32:24]OFD Sender: No OFD packet to send [04:32:29]OFD Sender: No OFD packet to send [04:32:34]OFD Sender: No OFD packet to send [04:32:39]OFD Sender: No OFD packet to send [04:32:44]OFD Sender: No OFD packet to send [04:32:49]OFD Sender: No OFD packet to send [04:32:54]OFD Sender: No OFD packet to send [04:32:59]OFD Sender: No OFD packet to send [04:33:04]OFD Sender: No OFD packet to send [04:33:09]OFD Sender: No OFD packet to send [04:33:14]OFD Sender: No OFD packet to send [04:33:19]OFD Sender: No OFD packet to send [04:33:24]OFD Sender: No OFD packet to send [04:33:29]OFD Sender: No OFD packet to send [04:33:34]OFD Sender: No OFD packet to send [04:33:39]OFD Sender: No OFD packet to send [04:33:44]OFD Sender: No OFD packet to send [04:33:49]OFD Sender: No OFD packet to send [04:33:54]OFD Sender: No OFD packet to send [04:33:59]OFD Sender: No OFD packet to send [04:34:04]OFD Sender: No OFD packet to send [04:34:09]OFD Sender: No OFD packet to send [04:34:14]OFD Sender: No OFD packet to send [04:34:19]OFD Sender: No OFD packet to send [04:34:24]OFD Sender: No OFD packet to send [04:34:29]OFD Sender: No OFD packet to send [04:34:34]OFD Sender: No OFD packet to send [04:34:39]OFD Sender: No OFD packet to send [04:34:44]OFD Sender: No OFD packet to send [04:34:49]OFD Sender: No OFD packet to send [04:34:54]OFD Sender: No OFD packet to send [04:34:59]OFD Sender: No OFD packet to send [04:35:04]OFD Sender: No OFD packet to send [04:35:09]OFD Sender: No OFD packet to send [04:35:14]OFD Sender: No OFD packet to send [04:35:19]OFD Sender: No OFD packet to send [04:35:24]OFD Sender: No OFD packet to send [04:35:29]OFD Sender: No OFD packet to send [04:35:34]OFD Sender: No OFD packet to send [04:35:39]OFD Sender: No OFD packet to send [04:35:44]OFD Sender: No OFD packet to send [04:35:49]OFD Sender: No OFD packet to send [04:35:54]OFD Sender: No OFD packet to send [04:35:59]OFD Sender: No OFD packet to send [04:36:04]OFD Sender: No OFD packet to send [04:36:09]OFD Sender: No OFD packet to send [04:36:14]OFD Sender: No OFD packet to send [04:36:19]OFD Sender: No OFD packet to send [04:36:24]OFD Sender: No OFD packet to send [04:36:29]OFD Sender: No OFD packet to send [04:36:34]OFD Sender: No OFD packet to send [04:36:39]OFD Sender: No OFD packet to send [04:36:44]OFD Sender: No OFD packet to send [04:36:49]OFD Sender: No OFD packet to send [04:36:54]OFD Sender: No OFD packet to send [04:36:59]OFD Sender: No OFD packet to send [04:37:04]OFD Sender: No OFD packet to send [04:37:09]OFD Sender: No OFD packet to send [04:37:14]OFD Sender: No OFD packet to send [04:37:19]OFD Sender: No OFD packet to send [04:37:24]OFD Sender: No OFD packet to send [04:37:29]OFD Sender: No OFD packet to send [04:37:34]OFD Sender: No OFD packet to send [04:37:39]OFD Sender: No OFD packet to send [04:37:44]OFD Sender: No OFD packet to send [04:37:49]OFD Sender: No OFD packet to send [04:37:54]OFD Sender: No OFD packet to send [04:37:59]OFD Sender: No OFD packet to send [04:38:04]OFD Sender: No OFD packet to send [04:38:09]OFD Sender: No OFD packet to send [04:38:14]OFD Sender: No OFD packet to send [04:38:19]OFD Sender: No OFD packet to send [04:38:24]OFD Sender: No OFD packet to send [04:38:29]OFD Sender: No OFD packet to send [04:38:34]OFD Sender: No OFD packet to send [04:38:39]OFD Sender: No OFD packet to send [04:38:44]OFD Sender: No OFD packet to send [04:38:49]OFD Sender: No OFD packet to send [04:38:54]OFD Sender: No OFD packet to send [04:38:59]OFD Sender: No OFD packet to send [04:39:04]OFD Sender: No OFD packet to send [04:39:09]OFD Sender: No OFD packet to send [04:39:14]OFD Sender: No OFD packet to send [04:39:19]OFD Sender: No OFD packet to send [04:39:24]OFD Sender: No OFD packet to send [04:39:29]OFD Sender: No OFD packet to send [04:39:34]OFD Sender: No OFD packet to send [04:39:39]OFD Sender: No OFD packet to send [04:39:44]OFD Sender: No OFD packet to send [04:39:49]OFD Sender: No OFD packet to send [04:39:54]OFD Sender: No OFD packet to send [04:39:59]OFD Sender: No OFD packet to send [04:40:04]OFD Sender: No OFD packet to send [04:40:09]OFD Sender: No OFD packet to send [04:40:14]OFD Sender: No OFD packet to send [04:40:19]OFD Sender: No OFD packet to send [04:40:24]OFD Sender: No OFD packet to send [04:40:29]OFD Sender: No OFD packet to send [04:40:34]OFD Sender: No OFD packet to send [04:40:39]OFD Sender: No OFD packet to send [04:40:44]OFD Sender: No OFD packet to send [04:40:49]OFD Sender: No OFD packet to send [04:40:54]OFD Sender: No OFD packet to send [04:40:59]OFD Sender: No OFD packet to send [04:41:04]OFD Sender: No OFD packet to send [04:41:09]OFD Sender: No OFD packet to send [04:41:14]OFD Sender: No OFD packet to send [04:41:19]OFD Sender: No OFD packet to send [04:41:24]OFD Sender: No OFD packet to send [04:41:29]OFD Sender: No OFD packet to send [04:41:34]OFD Sender: No OFD packet to send [04:41:39]OFD Sender: No OFD packet to send [04:41:44]OFD Sender: No OFD packet to send [04:41:49]OFD Sender: No OFD packet to send [04:41:54]OFD Sender: No OFD packet to send [04:41:59]OFD Sender: No OFD packet to send [04:42: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:25]OFD Sender: No OFD packet to send [04:45:30]OFD Sender: No OFD packet to send [04:45:35]OFD Sender: No OFD packet to send [04:45:40]OFD Sender: No OFD packet to send [04:45:45]OFD Sender: No OFD packet to send [04:45:50]OFD Sender: No OFD packet to send [04:45:55]OFD Sender: No OFD packet to send [04:46:00]OFD Sender: No OFD packet to send [04:46:05]OFD Sender: No OFD packet to send [04:46:10]OFD Sender: No OFD packet to send [04:46:15]OFD Sender: No OFD packet to send [04:46:20]OFD Sender: No OFD packet to send [04:46:25]OFD Sender: No OFD packet to send [04:46:30]OFD Sender: No OFD packet to send [04:46:35]OFD Sender: No OFD packet to send [04:46:40]OFD Sender: No OFD packet to send [04:46:45]OFD Sender: No OFD packet to send [04:46:50]OFD Sender: No OFD packet to send [04:46:55]OFD Sender: No OFD packet to send [04:47:00]OFD Sender: No OFD packet to send [04:47:05]OFD Sender: No OFD packet to send [04:47:10]OFD Sender: No OFD packet to send [04:47:15]OFD Sender: No OFD packet to send [04:47:20]OFD Sender: No OFD packet to send [04:47:25]OFD Sender: No OFD packet to send [04:47:30]OFD Sender: No OFD packet to send [04:47:35]OFD Sender: No OFD packet to send [04:47:40]OFD Sender: No OFD packet to send [04:47:45]OFD Sender: No OFD packet to send [04:47:50]OFD Sender: No OFD packet to send [04:47:55]OFD Sender: No OFD packet to send [04:48:00]OFD Sender: No OFD packet to send [04:48:05]OFD Sender: No OFD packet to send [04:48:10]OFD Sender: No OFD packet to send [04:48:15]OFD Sender: No OFD packet to send [04:48:20]OFD Sender: No OFD packet to send [04:48:25]OFD Sender: No OFD packet to send [04:48:30]OFD Sender: No OFD packet to send [04:48:35]OFD Sender: No OFD packet to send [04:48:40]OFD Sender: No OFD packet to send [04:48:45]OFD Sender: No OFD packet to send [04:48:50]OFD Sender: No OFD packet to send [04:48:55]OFD Sender: No OFD packet to send [04:49:00]OFD Sender: No OFD packet to send [04:49:05]OFD Sender: No OFD packet to send [04:49:10]OFD Sender: No OFD packet to send [04:49:15]OFD Sender: No OFD packet to send [04:49:20]OFD Sender: No OFD packet to send [04:49:25]OFD Sender: No OFD packet to send [04:49:30]OFD Sender: No OFD packet to send [04:49:35]OFD Sender: No OFD packet to send [04:49:40]OFD Sender: No OFD packet to send [04:49:45]OFD Sender: No OFD packet to send [04:49:50]OFD Sender: No OFD packet to send [04:49:55]OFD Sender: No OFD packet to send [04:50:00]OFD Sender: No OFD packet to send [04:50:05]OFD Sender: No OFD packet to send [04:50:10]OFD Sender: No OFD packet to send [04:50:15]OFD Sender: No OFD packet to send [04:50:20]OFD Sender: No OFD packet to send [04:50:25]OFD Sender: No OFD packet to send [04:50:30]OFD Sender: No OFD packet to send [04:50:35]OFD Sender: No OFD packet to send [04:50:40]OFD Sender: No OFD packet to send [04:50:45]OFD Sender: No OFD packet to send [04:50:50]OFD Sender: No OFD packet to send [04:50:55]OFD Sender: No OFD packet to send [04:51:00]OFD Sender: No OFD packet to send [04:51:05]OFD Sender: No OFD packet to send [04:51:10]OFD Sender: No OFD packet to send [04:51:15]OFD Sender: No OFD packet to send [04:51:20]OFD Sender: No OFD packet to send [04:51:25]OFD Sender: No OFD packet to send [04:51:30]OFD Sender: No OFD packet to send [04:51:35]OFD Sender: No OFD packet to send [04:51:40]OFD Sender: No OFD packet to send [04:51:45]OFD Sender: No OFD packet to send [04:51:50]OFD Sender: No OFD packet to send [04:51:55]OFD Sender: No OFD packet to send [04:52:00]OFD Sender: No OFD packet to send [04:52:05]OFD Sender: No OFD packet to send [04:52:10]OFD Sender: No OFD packet to send [04:52:15]OFD Sender: No OFD packet to send [04:52:20]OFD Sender: No OFD packet to send [04:52:25]OFD Sender: No OFD packet to send [04:52:30]OFD Sender: No OFD packet to send [04:52:35]OFD Sender: No OFD packet to send [04:52:40]OFD Sender: No OFD packet to send [04:52:45]OFD Sender: No OFD packet to send [04:52:50]OFD Sender: No OFD packet to send [04:52:55]OFD Sender: No OFD packet to send [04:53:00]OFD Sender: No OFD packet to send [04:53:05]OFD Sender: No OFD packet to send [04:53:10]OFD Sender: No OFD packet to send [04:53:15]OFD Sender: No OFD packet to send [04:53:20]OFD Sender: No OFD packet to send [04:53:25]OFD Sender: No OFD packet to send [04:53:30]OFD Sender: No OFD packet to send [04:53:35]OFD Sender: No OFD packet to send [04:53:40]OFD Sender: No OFD packet to send [04:53:45]OFD Sender: No OFD packet to send [04:53:50]OFD Sender: No OFD packet to send [04:53:55]OFD Sender: No OFD packet to send [04:54:00]OFD Sender: No OFD packet to send [04:54:05]OFD Sender: No OFD packet to send [04:54:10]OFD Sender: No OFD packet to send [04:54:15]OFD Sender: No OFD packet to send [04:54:20]OFD Sender: No OFD packet to send [04:54:25]OFD Sender: No OFD packet to send [04:54:30]OFD Sender: No OFD packet to send [04:54:35]OFD Sender: No OFD packet to send [04:54:40]OFD Sender: No OFD packet to send [04:54:45]OFD Sender: No OFD packet to send [04:54:50]OFD Sender: No OFD packet to send [04:54:55]OFD Sender: No OFD packet to send [04:55:00]OFD Sender: No OFD packet to send [04:55:05]OFD Sender: No OFD packet to send [04:55:10]OFD Sender: No OFD packet to send [04:55:15]OFD Sender: No OFD packet to send [04:55:20]OFD Sender: No OFD packet to send [04:55:25]OFD Sender: No OFD packet to send [04:55:30]OFD Sender: No OFD packet to send [04:55:35]OFD Sender: No OFD packet to send [04:55:40]OFD Sender: No OFD packet to send [04:55:45]OFD Sender: No OFD packet to send [04:55:50]OFD Sender: No OFD packet to send [04:55:55]OFD Sender: No OFD packet to send [04:56:00]OFD Sender: No OFD packet to send [04:56:05]OFD Sender: No OFD packet to send [04:56:10]OFD Sender: No OFD packet to send [04:56:15]OFD Sender: No OFD packet to send [04:56:20]OFD Sender: No OFD packet to send [04:56:25]OFD Sender: No OFD packet to send [04:56:30]OFD Sender: No OFD packet to send [04:56:35]OFD Sender: No OFD packet to send [04:56:40]OFD Sender: No OFD packet to send [04:56:45]OFD Sender: No OFD packet to send [04:56:50]OFD Sender: No OFD packet to send [04:56:55]OFD Sender: No OFD packet to send [04:57:00]OFD Sender: No OFD packet to send [04:57:05]OFD Sender: No OFD packet to send [04:57:10]OFD Sender: No OFD packet to send [04:57:15]OFD Sender: No OFD packet to send [04:57:20]OFD Sender: No OFD packet to send [04:57:25]OFD Sender: No OFD packet to send [04:57:30]OFD Sender: No OFD packet to send [04:57:35]OFD Sender: No OFD packet to send [04:57:40]OFD Sender: No OFD packet to send [04:57:45]OFD Sender: No OFD packet to send [04:57:50]OFD Sender: No OFD packet to send [04:57:55]OFD Sender: No OFD packet to send [04:58:00]OFD Sender: No OFD packet to send [04:58:05]OFD Sender: No OFD packet to send [04:58:10]OFD Sender: No OFD packet to send [04:58:15]OFD Sender: No OFD packet to send [04:58:20]OFD Sender: No OFD packet to send [04:58:25]OFD Sender: No OFD packet to send [04:58:30]OFD Sender: No OFD packet to send [04:58:35]OFD Sender: No OFD packet to send [04:58:40]OFD Sender: No OFD packet to send [04:58:45]OFD Sender: No OFD packet to send [04:58:50]OFD Sender: No OFD packet to send [04:58:55]OFD Sender: No OFD packet to send [04:59:00]OFD Sender: No OFD packet to send [04:59:05]OFD Sender: No OFD packet to send [04:59:10]OFD Sender: No OFD packet to send [04:59:15]OFD Sender: No OFD packet to send [04:59:20]OFD Sender: No OFD packet to send [04:59:25]OFD Sender: No OFD packet to send [04:59:30]OFD Sender: No OFD packet to send [04:59:35]OFD Sender: No OFD packet to send [04:59:40]OFD Sender: No OFD packet to send [04:59:45]OFD Sender: No OFD packet to send [04:59:50]OFD Sender: No OFD packet to send [04:59:55]OFD Sender: No OFD packet to send [05:00:00]OFD Sender: No OFD packet to send [05:00:05]OFD Sender: No OFD packet to send [05:00:10]OFD Sender: No OFD packet to send [05:00:15]OFD Sender: No OFD packet to send [05:00:20]OFD Sender: No OFD packet to send [05:00:25]OFD Sender: No OFD packet to send [05:00:30]OFD Sender: No OFD packet to send [05:00:35]OFD Sender: No OFD packet to send [05:00:40]OFD Sender: No OFD packet to send [05:00:45]OFD Sender: No OFD packet to send [05:00:50]OFD Sender: No OFD packet to send [05:00:55]OFD Sender: No OFD packet to send [05:01:00]OFD Sender: No OFD packet to send [05:01:05]OFD Sender: No OFD packet to send [05:01:10]OFD Sender: No OFD packet to send [05:01:15]OFD Sender: No OFD packet to send [05:01:20]OFD Sender: No OFD packet to send [05:01:25]OFD Sender: No OFD packet to send [05:01:30]OFD Sender: No OFD packet to send [05:01:35]OFD Sender: No OFD packet to send [05:01:40]OFD Sender: No OFD packet to send [05:01:45]OFD Sender: No OFD packet to send [05:01:50]OFD Sender: No OFD packet to send [05:01:55]OFD Sender: No OFD packet to send [05:02:00]OFD Sender: No OFD packet to send [05:02:05]OFD Sender: No OFD packet to send [05:02:10]OFD Sender: No OFD packet to send [05:02:15]OFD Sender: No OFD packet to send [05:02:20]OFD Sender: No OFD packet to send [05:02:25]OFD Sender: No OFD packet to send [05:02:30]OFD Sender: No OFD packet to send [05:02:35]OFD Sender: No OFD packet to send [05:02:40]OFD Sender: No OFD packet to send [05:02:45]OFD Sender: No OFD packet to send [05:02:50]OFD Sender: No OFD packet to send [05:02:55]OFD Sender: No OFD packet to send [05:03:00]OFD Sender: No OFD packet to send [05:03:05]OFD Sender: No OFD packet to send [05:03:10]OFD Sender: No OFD packet to send [05:03:15]OFD Sender: No OFD packet to send [05:03:20]OFD Sender: No OFD packet to send [05:03:25]OFD Sender: No OFD packet to send [05:03:30]OFD Sender: No OFD packet to send [05:03: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:01]OFD Sender: No OFD packet to send [05:07:06]OFD Sender: No OFD packet to send [05:07:11]OFD Sender: No OFD packet to send [05:07:16]OFD Sender: No OFD packet to send [05:07:21]OFD Sender: No OFD packet to send [05:07:26]OFD Sender: No OFD packet to send [05:07:31]OFD Sender: No OFD packet to send [05:07:36]OFD Sender: No OFD packet to send [05:07:41]OFD Sender: No OFD packet to send [05:07:46]OFD Sender: No OFD packet to send [05:07:51]OFD Sender: No OFD packet to send [05:07:56]OFD Sender: No OFD packet to send [05:08:01]OFD Sender: No OFD packet to send [05:08:06]OFD Sender: No OFD packet to send [05:08:11]OFD Sender: No OFD packet to send [05:08:16]OFD Sender: No OFD packet to send [05:08:21]OFD Sender: No OFD packet to send [05:08:26]OFD Sender: No OFD packet to send [05:08:31]OFD Sender: No OFD packet to send [05:08:36]OFD Sender: No OFD packet to send [05:08:41]OFD Sender: No OFD packet to send [05:08:46]OFD Sender: No OFD packet to send [05:08:51]OFD Sender: No OFD packet to send [05:08:56]OFD Sender: No OFD packet to send [05:09:01]OFD Sender: No OFD packet to send [05:09:06]OFD Sender: No OFD packet to send [05:09:11]OFD Sender: No OFD packet to send [05:09:16]OFD Sender: No OFD packet to send [05:09:21]OFD Sender: No OFD packet to send [05:09:26]OFD Sender: No OFD packet to send [05:09:31]OFD Sender: No OFD packet to send [05:09:36]OFD Sender: No OFD packet to send [05:09:41]OFD Sender: No OFD packet to send [05:09:46]OFD Sender: No OFD packet to send [05:09:51]OFD Sender: No OFD packet to send [05:09:56]OFD Sender: No OFD packet to send [05:10:01]OFD Sender: No OFD packet to send [05:10:06]OFD Sender: No OFD packet to send [05:10:11]OFD Sender: No OFD packet to send [05:10:16]OFD Sender: No OFD packet to send [05:10:21]OFD Sender: No OFD packet to send [05:10:26]OFD Sender: No OFD packet to send [05:10:31]OFD Sender: No OFD packet to send [05:10:36]OFD Sender: No OFD packet to send [05:10:41]OFD Sender: No OFD packet to send [05:10:46]OFD Sender: No OFD packet to send [05:10:51]OFD Sender: No OFD packet to send [05:10:56]OFD Sender: No OFD packet to send [05:11:01]OFD Sender: No OFD packet to send [05:11:06]OFD Sender: No OFD packet to send [05:11:11]OFD Sender: No OFD packet to send [05:11:16]OFD Sender: No OFD packet to send [05:11:21]OFD Sender: No OFD packet to send [05:11:26]OFD Sender: No OFD packet to send [05:11:31]OFD Sender: No OFD packet to send [05:11:36]OFD Sender: No OFD packet to send [05:11:41]OFD Sender: No OFD packet to send [05:11:46]OFD Sender: No OFD packet to send [05:11:51]OFD Sender: No OFD packet to send [05:11:56]OFD Sender: No OFD packet to send [05:12:01]OFD Sender: No OFD packet to send [05:12:06]OFD Sender: No OFD packet to send [05:12:11]OFD Sender: No OFD packet to send [05:12:16]OFD Sender: No OFD packet to send [05:12:21]OFD Sender: No OFD packet to send [05:12:26]OFD Sender: No OFD packet to send [05:12:31]OFD Sender: No OFD packet to send [05:12:36]OFD Sender: No OFD packet to send [05:12:41]OFD Sender: No OFD packet to send [05:12:46]OFD Sender: No OFD packet to send [05:12:51]OFD Sender: No OFD packet to send [05:12:56]OFD Sender: No OFD packet to send [05:13:01]OFD Sender: No OFD packet to send [05:13:06]OFD Sender: No OFD packet to send [05:13:11]OFD Sender: No OFD packet to send [05:13:16]OFD Sender: No OFD packet to send [05:13:21]OFD Sender: No OFD packet to send [05:13:26]OFD Sender: No OFD packet to send [05:13:31]OFD Sender: No OFD packet to send [05:13:36]OFD Sender: No OFD packet to send [05:13:41]OFD Sender: No OFD packet to send [05:13:46]OFD Sender: No OFD packet to send [05:13:51]OFD Sender: No OFD packet to send [05:13:56]OFD Sender: No OFD packet to send [05:14:01]OFD Sender: No OFD packet to send [05:14:06]OFD Sender: No OFD packet to send [05:14:11]OFD Sender: No OFD packet to send [05:14:16]OFD Sender: No OFD packet to send [05:14:21]OFD Sender: No OFD packet to send [05:14:26]OFD Sender: No OFD packet to send [05:14:31]OFD Sender: No OFD packet to send [05:14:36]OFD Sender: No OFD packet to send [05:14:41]OFD Sender: No OFD packet to send [05:14:46]OFD Sender: No OFD packet to send [05:14:51]OFD Sender: No OFD packet to send [05:14:56]OFD Sender: No OFD packet to send [05:15:01]OFD Sender: No OFD packet to send [05:15:06]OFD Sender: No OFD packet to send [05:15:11]OFD Sender: No OFD packet to send [05:15:16]OFD Sender: No OFD packet to send [05:15:21]OFD Sender: No OFD packet to send [05:15:26]OFD Sender: No OFD packet to send [05:15:31]OFD Sender: No OFD packet to send [05:15:36]OFD Sender: No OFD packet to send [05:15:41]OFD Sender: No OFD packet to send [05:15:46]OFD Sender: No OFD packet to send [05:15:51]OFD Sender: No OFD packet to send [05:15:56]OFD Sender: No OFD packet to send [05:16:01]OFD Sender: No OFD packet to send [05:16:06]OFD Sender: No OFD packet to send [05:16:11]OFD Sender: No OFD packet to send [05:16:16]OFD Sender: No OFD packet to send [05:16:21]OFD Sender: No OFD packet to send [05:16:26]OFD Sender: No OFD packet to send [05:16:31]OFD Sender: No OFD packet to send [05:16:36]OFD Sender: No OFD packet to send [05:16:41]OFD Sender: No OFD packet to send [05:16:46]OFD Sender: No OFD packet to send [05:16:51]OFD Sender: No OFD packet to send [05:16:56]OFD Sender: No OFD packet to send [05:17:01]OFD Sender: No OFD packet to send [05:17:06]OFD Sender: No OFD packet to send [05:17:11]OFD Sender: No OFD packet to send [05:17:16]OFD Sender: No OFD packet to send [05:17:21]OFD Sender: No OFD packet to send [05:17:26]OFD Sender: No OFD packet to send [05:17:31]OFD Sender: No OFD packet to send [05:17:36]OFD Sender: No OFD packet to send [05:17:41]OFD Sender: No OFD packet to send [05:17:46]OFD Sender: No OFD packet to send [05:17:51]OFD Sender: No OFD packet to send [05:17:56]OFD Sender: No OFD packet to send [05:18:01]OFD Sender: No OFD packet to send [05:18:06]OFD Sender: No OFD packet to send [05:18:11]OFD Sender: No OFD packet to send [05:18:16]OFD Sender: No OFD packet to send [05:18:21]OFD Sender: No OFD packet to send [05:18:26]OFD Sender: No OFD packet to send [05:18:31]OFD Sender: No OFD packet to send [05:18:36]OFD Sender: No OFD packet to send [05:18:41]OFD Sender: No OFD packet to send [05:18:46]OFD Sender: No OFD packet to send [05:18:51]OFD Sender: No OFD packet to send [05:18:56]OFD Sender: No OFD packet to send [05:19:01]OFD Sender: No OFD packet to send [05:19:06]OFD Sender: No OFD packet to send [05:19:11]OFD Sender: No OFD packet to send [05:19:16]OFD Sender: No OFD packet to send [05:19:21]OFD Sender: No OFD packet to send [05:19:26]OFD Sender: No OFD packet to send [05:19:31]OFD Sender: No OFD packet to send [05:19:36]OFD Sender: No OFD packet to send [05:19:41]OFD Sender: No OFD packet to send [05:19:46]OFD Sender: No OFD packet to send [05:19:51]OFD Sender: No OFD packet to send [05:19:56]OFD Sender: No OFD packet to send [05:20:01]OFD Sender: No OFD packet to send [05:20:06]OFD Sender: No OFD packet to send [05:20:11]OFD Sender: No OFD packet to send [05:20:16]OFD Sender: No OFD packet to send [05:20:21]OFD Sender: No OFD packet to send [05:20:26]OFD Sender: No OFD packet to send [05:20:31]OFD Sender: No OFD packet to send [05:20:36]OFD Sender: No OFD packet to send [05:20:41]OFD Sender: No OFD packet to send [05:20:46]OFD Sender: No OFD packet to send [05:20:51]OFD Sender: No OFD packet to send [05:20:56]OFD Sender: No OFD packet to send [05:21:01]OFD Sender: No OFD packet to send [05:21:06]OFD Sender: No OFD packet to send [05:21:11]OFD Sender: No OFD packet to send [05:21:16]OFD Sender: No OFD packet to send [05:21:21]OFD Sender: No OFD packet to send [05:21:26]OFD Sender: No OFD packet to send [05:21:31]OFD Sender: No OFD packet to send [05:21:36]OFD Sender: No OFD packet to send [05:21:41]OFD Sender: No OFD packet to send [05:21:46]OFD Sender: No OFD packet to send [05:21:51]OFD Sender: No OFD packet to send [05:21:56]OFD Sender: No OFD packet to send [05:22:01]OFD Sender: No OFD packet to send [05:22:06]OFD Sender: No OFD packet to send [05:22:11]OFD Sender: No OFD packet to send [05:22:16]OFD Sender: No OFD packet to send [05:22:21]OFD Sender: No OFD packet to send [05:22:26]OFD Sender: No OFD packet to send [05:22:31]OFD Sender: No OFD packet to send [05:22:36]OFD Sender: No OFD packet to send [05:22:41]OFD Sender: No OFD packet to send [05:22:46]OFD Sender: No OFD packet to send [05:22:51]OFD Sender: No OFD packet to send [05:22:56]OFD Sender: No OFD packet to send [05:23:01]OFD Sender: No OFD packet to send [05:23:06]OFD Sender: No OFD packet to send [05:23:11]OFD Sender: No OFD packet to send [05:23:16]OFD Sender: No OFD packet to send [05:23:21]OFD Sender: No OFD packet to send [05:23:26]OFD Sender: No OFD packet to send [05:23:31]OFD Sender: No OFD packet to send [05:23:36]OFD Sender: No OFD packet to send [05:23:41]OFD Sender: No OFD packet to send [05:23:46]OFD Sender: No OFD packet to send [05:23:51]OFD Sender: No OFD packet to send [05:23:56]OFD Sender: No OFD packet to send [05:24:01]OFD Sender: No OFD packet to send [05:24:06]OFD Sender: No OFD packet to send [05:24:11]OFD Sender: No OFD packet to send [05:24:16]OFD Sender: No OFD packet to send [05:24:21]OFD Sender: No OFD packet to send [05:24:26]OFD Sender: No OFD packet to send [05:24:31]OFD Sender: No OFD packet to send [05:24:36]OFD Sender: No OFD packet to send [05:24:41]OFD Sender: No OFD packet to send [05:24:46]OFD Sender: No OFD packet to send [05:24:51]OFD Sender: No OFD packet to send [05:24:56]OFD Sender: No OFD packet to send [05:25:01]OFD Sender: No OFD packet to send [05:25: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:16]OFD Sender: No OFD packet to send [05:27:21]OFD Sender: No OFD packet to send [05:27:26]OFD Sender: No OFD packet to send [05:27:31]OFD Sender: No OFD packet to send [05:27:36]OFD Sender: No OFD packet to send [05:27:41]OFD Sender: No OFD packet to send [05:27:46]OFD Sender: No OFD packet to send [05:27:51]OFD Sender: No OFD packet to send [05:27:56]OFD Sender: No OFD packet to send [05:28:01]OFD Sender: No OFD packet to send [05:28:06]OFD Sender: No OFD packet to send [05:28:11]OFD Sender: No OFD packet to send [05:28:16]OFD Sender: No OFD packet to send [05:28:21]OFD Sender: No OFD packet to send [05:28:26]OFD Sender: No OFD packet to send [05:28:31]OFD Sender: No OFD packet to send [05:28:36]OFD Sender: No OFD packet to send [05:28:41]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: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: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]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]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:52]OFD Sender: No OFD packet to send [05:48:57]OFD Sender: No OFD packet to send [05:49:02]OFD Sender: No OFD packet to send [05:49:07]OFD Sender: No OFD packet to send [05:49:12]OFD Sender: No OFD packet to send [05:49:17]OFD Sender: No OFD packet to send [05:49:22]OFD Sender: No OFD packet to send [05:49:27]OFD Sender: No OFD packet to send [05:49:32]OFD Sender: No OFD packet to send [05:49:37]OFD Sender: No OFD packet to send [05:49:42]OFD Sender: No OFD packet to send [05:49:47]OFD Sender: No OFD packet to send [05:49:52]OFD Sender: No OFD packet to send [05:49:57]OFD Sender: No OFD packet to send [05:50:02]OFD Sender: No OFD packet to send [05:50:07]OFD Sender: No OFD packet to send [05:50:12]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: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: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: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: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:23]OFD Sender: No OFD packet to send [06:10:28]OFD Sender: No OFD packet to send [06:10:33]OFD Sender: No OFD packet to send [06:10:38]OFD Sender: No OFD packet to send [06:10:43]OFD Sender: No OFD packet to send [06:10:48]OFD Sender: No OFD packet to send [06:10:53]OFD Sender: No OFD packet to send [06:10:58]OFD Sender: No OFD packet to send [06:11:03]OFD Sender: No OFD packet to send [06:11:08]OFD Sender: No OFD packet to send [06:11:13]OFD Sender: No OFD packet to send [06:11:18]OFD Sender: No OFD packet to send [06:11:23]OFD Sender: No OFD packet to send [06:11:28]OFD Sender: No OFD packet to send [06:11:33]OFD Sender: No OFD packet to send [06:11:38]OFD Sender: No OFD packet to send [06:11:43]OFD Sender: No OFD packet to send [06:11:48]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: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]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: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: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: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]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: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: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:54]OFD Sender: No OFD packet to send [06:31:59]OFD Sender: No OFD packet to send [06:32:04]OFD Sender: No OFD packet to send [06:32:09]OFD Sender: No OFD packet to send [06:32:14]OFD Sender: No OFD packet to send [06:32:19]OFD Sender: No OFD packet to send [06:32:24]OFD Sender: No OFD packet to send [06:32:29]OFD Sender: No OFD packet to send [06:32:34]OFD Sender: No OFD packet to send [06:32:39]OFD Sender: No OFD packet to send [06:32:44]OFD Sender: No OFD packet to send [06:32:49]OFD Sender: No OFD packet to send [06:32:54]OFD Sender: No OFD packet to send [06:32:59]OFD Sender: No OFD packet to send [06:33:04]OFD Sender: No OFD packet to send [06:33:09]OFD Sender: No OFD packet to send [06:33:14]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: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: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: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]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: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]accept exits with 7 [06:48:30]New connection [06:48:30]New thread 3067243876 created [06:48:30]Thread 3067100516 joined [06:48:30]Waiting for new connection... [06:48:30] Sock 7.Parse request [06:48:30]Sock 7.Check first char [06:48:30]Sock 7.First char is OK [06:48:30]request: POST /json_proto HTTP/1.0 [06:48:30]Method: POST [06:48:30]URL: /json_proto [06:48:30]Method is POST - this is cgi request [06:48:30]url: /json_proto [06:48:30]query_string will be loaded in cgi processing [06:48:30]execute_cgi json_proto POST (null) [06:48:30]execute_cgi path=json_proto method=POST [06:48:30]POST find Content-Length [06:48:30]Host: 172.17.50.4:8080 [06:48:30]Content-Length: 877 [06:48:30]Content-Type: application/json [06:48:30] [06:48:30]POST finish read [06:48:30]Found Content-Length = 877 [06:48:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134826", "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 }]} ,{ "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 113.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:48:30]execute_script... [06: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)134826", "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 }]} ,{ "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 113.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:48:30]POST & json_proto [06:48:30]process_json_proto [06:48:30]json parsed OK: [06:48:30]protocol is kg_v1.0 [06:48:30]action value=close_receipt [06:48:30]process_action close_receipt [06:48:30]cmd_close_receipt [06:48:30]MH_GetDate [06:48:30]Write to MH i2c: F0 00 00 FB 23 0D [06:48:30]Write i2c OK [06:48:30]MH_I2C_Read... [06:48:30]Read from MH i2c: F0 [06:48:30]MH_I2C_Read... [06:48:30]Read from MH i2c: F0 09 00 [06:48:30]MH_I2C_Read... [06:48:30]Read from MH i2c: F0 09 00 FB 23 00 48 F9 15 67 1D BB 13 67 25 [06:48:30]GetLastDocTimeStamp 1729481472 [06:48:30]current date 1729493320 [06:48:30]FM_GetShiftState [06:48:30]SAM_PROTO_GetShiftState [06:48:30]wFMCommunicate request_size=4 [06:48:30]MH_SAM_APDU [06:48:30]CAPDU: 80 13 01 00 [06:48:30]Write to MH i2c: E2 08 00 FC 23 80 13 01 00 00 00 00 00 9C [06:48:30]Write i2c OK [06:48:30]MH_I2C_Read... [06:48:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:48:30]Read from MH i2c: E2 [06:48:30]MH_I2C_Read... [06:48:30]Read from MH i2c: E2 0E 00 [06:48:30]MH_I2C_Read... [06:48:30]Read from MH i2c: E2 0E 00 FC 23 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 E6 [06:48:30]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [06:48:30]wFMCommunicate OK [06:48:30]SAM_PROTO_GetShiftState done [06:48:30]FM_GetShiftState done [06:48:30]opened in 1729469223 [06:48:30]opened+sec_in_day 1729555623 [06:48:30]quantity*price = 6900 [06:48:30]sum+1 = 6901 [06:48:30]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870112003925 Конд ULKER-Albeni 40gr (6*24) 1.000 * 44.00 = 44.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 113.00 НСП 1% : 1.00 НДС 12% : 12.00 Наличными: 113.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 6 21.10.2024 06:48 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24302 ФПД: 66423410195981 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T064840&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24302&fm=66423410195981&tin=02508201610067®Number=0000000000098120&sum=11300 0 [06:48:31]StoreToDocumentArchive [06:48:31]shift 461 fd 24302 [06:48:31]save to /storage/0461/doc_00024302 [06:48:31]save last doc name /storage/0461/doc_00024302 to /storage/kkm_last_doc_name [06:48:31]save OK [06:48:31]Clear old archive folders... [06:48:31]ProcessDocumentItem done err = 0, tmpTLVsize=399 [06:48:31]tlvbuf is B6F9F390 [06:48:31]SAM_PROTO_ClearQueue [06:48:31]wFMCommunicate request_size=4 [06:48:31]MH_SAM_APDU [06:48:31]CAPDU: 80 09 00 00 [06:48:31]Write to MH i2c: E2 08 00 09 24 80 09 00 00 00 00 00 00 9F [06:48:31]Write i2c OK [06:48:31]MH_I2C_Read... [06:48:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:48:31]Read from MH i2c: E2 [06:48:31]MH_I2C_Read... [06:48:31]Read from MH i2c: E2 03 00 [06:48:31]MH_I2C_Read... [06:48:31]Read from MH i2c: E2 03 00 09 24 00 90 00 A1 [06:48:31]RAPDU: 90 00 [06:48:31]wFMCommunicate OK [06:48:31]SAM_PROTO_ClearQueue done [06:48:31]KKMCreateOFDPacket [06:48:31]OFDProtocolAddRootSTLVToBuf [06:48:31]FM_MakeSignedData [06:48:31]FM_MakeSignedData [06:48:31]SAM_PROTO_SignData [06:48:31]wFMCommunicate request_size=4 [06:48:31]MH_SAM_APDU [06:48:31]CAPDU: 80 0D 01 02 [06:48:31]Write to MH i2c: E2 08 00 0A 24 80 0D 01 02 00 00 00 00 A7 [06:48:31]Write i2c OK [06:48:31]MH_I2C_Read... [06:48:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:48:31]Read from MH i2c: E2 [06:48:31]MH_I2C_Read... [06:48:31]Read from MH i2c: E2 03 00 [06:48:31]MH_I2C_Read... [06:48:31]Read from MH i2c: E2 03 00 0A 24 00 90 00 A2 [06:48:31]RAPDU: 90 00 [06:48:31]wFMCommunicate OK [06:48:31]wFMCommunicate request_size=255 [06:48:31]MH_SAM_APDU [06:48:31]CAPDU: 80 0D 02 02 FA 03 00 8F 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 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 24 2C 00 00 00 00 EB 03 [06:48:31]Write to MH i2c: E2 02 01 0B 24 80 0D 02 02 FA 00 03 00 8F 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 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 24 2C 00 00 00 00 EB 03 00 00 AD [06:48:31]Write i2c OK [06:48:31]MH_I2C_Read... [06:48:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:48:31]Read from MH i2c: E2 [06:48:31]MH_I2C_Read... [06:48:31]Read from MH i2c: E2 03 00 [06:48:31]MH_I2C_Read... [06:48:31]Read from MH i2c: E2 03 00 0B 24 00 90 00 A3 [06:48:31]RAPDU: 90 00 [06:48:31]wFMCommunicate OK [06:48:31]wFMCommunicate request_size=158 [06:48:31]MH_SAM_APDU [06:48:31]CAPDU: 80 0D 02 02 99 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 24 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 48 F9 15 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EE 5E 00 00 35 04 06 00 3C 69 67 C4 FE 0D [06:48:31]Write to MH i2c: E2 A1 00 0C 24 80 0D 02 02 99 00 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 24 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 48 F9 15 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EE 5E 00 00 35 04 06 00 3C 69 67 C4 FE 0D 00 00 40 [06:48:32]Write i2c OK [06:48:32]MH_I2C_Read... [06:48:32]Read from MH i2c: E2 [06:48:32]MH_I2C_Read... [06:48:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:48:32]Read from MH i2c: E2 03 00 [06:48:32]MH_I2C_Read... [06:48:32]Read from MH i2c: E2 03 00 0C 24 00 90 00 A4 [06:48:32]RAPDU: 90 00 [06:48:32]wFMCommunicate OK [06:48:32]wFMCommunicate request_size=4 [06:48:32]MH_SAM_APDU [06:48:32]CAPDU: 80 0D 03 02 [06:48:32]Write to MH i2c: E2 08 00 0D 24 80 0D 03 02 00 00 00 00 AC [06:48:32]Write i2c OK [06:48:32]MH_I2C_Read... [06:48:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:48:32]Read from MH i2c: E2 [06:48:32]MH_I2C_Read... [06:48:32]Read from MH i2c: E2 0B 00 [06:48:32]MH_I2C_Read... [06:48:32]Read from MH i2c: E2 0B 00 0D 24 00 71 7F C6 96 A4 82 D5 88 90 00 7C [06:48:32]RAPDU: 71 7F C6 96 A4 82 D5 88 90 00 [06:48:32]wFMCommunicate OK [06:48:32]SAM_PROTO_SignData done [06:48:32]FM_MakeSignedData done [06:48:32]CreateOFDProtocolMessage [06:48:32]wFMCommunicate request_size=4 [06:48:32]MH_SAM_APDU [06:48:32]CAPDU: 80 11 00 00 [06:48:32]Write to MH i2c: E2 08 00 0E 24 80 11 00 00 00 00 00 00 AC [06:48:32]Write i2c OK [06:48:32]MH_I2C_Read... [06:48:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:48:32]Read from MH i2c: E2 [06:48:32]MH_I2C_Read... [06:48:32]Read from MH i2c: E2 17 00 [06:48:32]MH_I2C_Read... [06:48:32]Read from MH i2c: E2 17 00 0E 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 F9 [06:48:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [06:48:32]wFMCommunicate OK [06:48:32]CreateOFDProtocolMessage done [06:48:32]OFDSenderStorePacket 24302 [06:48:32]StoreOFDPacket docnum=24302 [06:48:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 A3 01 00 00 63 D2 9B 01 72 E1 5A 03 01 00 03 00 8F 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 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 24 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 48 F9 15 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EE 5E 00 00 35 04 06 00 3C 69 67 C4 FE 0D 71 7F C6 96 A4 82 D5 88 [06:48:32]CheckFolder [06:48:32]dirname=/storage/ofd_packets [06:48:32]CheckFolder done [06:48:32]ProducePacketName [06:48:32]name=ofd_packets/00024302 [06:48:32]NVStorageSaveData ofd_packets/00024302 [06:48:32]File name is /storage/ofd_packets/00024302 [06:48:32]Write 449 bytes [06:48:32]NVStorageSaveData done [06:48:32]OFDSenderStorePacket done [06:48:32]KKMCreateOFDPacket done [06:48:32]NVStorageSaveData kkm_last_timestamp [06:48:32]File name is /storage/kkm_last_timestamp [06:48:32]Write 4 bytes [06:48:32]NVStorageSaveData done [06:48:32]ExternCall_PrintAddStr [06:48:32]wPrintStart [06:48:32]Write to MH i2c: 01 00 00 0F 24 33 [06:48:32]Write i2c OK [06:48:32]MH_I2C_Read... [06:48:32]Read from MH i2c: 01 [06:48:32]MH_I2C_Read... [06:48:32]Read from MH i2c: 01 07 00 [06:48:32]MH_I2C_Read... [06:48:32]Read from MH i2c: 01 07 00 0F 24 00 00 00 00 00 FF 0F 48 [06:48:32]RasterBufferAndPrint [06:48:32]line Счет N : (3)134826 [06:48:32]line ИНН: 02508201610067 [06:48:32]line Контрольно-Кассовый Чек [06:48:32]line ПРОДАЖА [06:48:32]line Товар: 4600682557456 [06:48:32]line Напиток FLash up energy эн ж/б 0,5/0,45л [06:48:32]line 1.000 * 69.00 [06:48:32]line = 69.00 [06:48:32]line НДС 12% НСП 1% [06:48:32]line > о реализуемом товаре [06:48:32]line Товар: 4870112003925 [06:48:32]line Конд ULKER-Albeni 40gr (6*24) [06:48:32]line 1.000 * 44.00 [06:48:32]line = 44.00 [06:48:32]line НДС 12% НСП 1% [06:48:32]line > о реализуемом товаре [06:48:32]line ИТОГО: 113.00 [06:48:32]line НСП 1% : 1.00 [06:48:32]line НДС 12% : 12.00 [06:48:32]line Наличными: 113.00 [06:48:32]line Безнал.: 0.00 [06:48:32]line Место: АЗС № 85 "Партнер Нефть" [06:48:32]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [06:48:32]line СНО: Общий режим [06:48:32]line Чек 6 21.10.2024 06:48 [06:48:32]line Смена: 461 ФФД: 1.0 [06:48:32]line ЗНМ: 0300000166 [06:48:32]line РНМ: 0000000000098120 [06:48:32]line Версия ККМ: 001 [06:48:32]line ФМ: 0000000000965420 [06:48:32]line ФД: 24302 [06:48:32]line ФПД: 66423410195981 [06:48:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T064840&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24302&fm=66423410195981&tin=02508201610067®Number=0000000000098120&sum=11300 [06:48:32]line 0 [06:48:32]OFD Sender: Processing packet 24302 [packets to send 5, broken 4] [06:48:32]ProducePacketName [06:48:32]name=ofd_packets/00024302 [06:48:32]OFD Sender: To server: pG, [06:48:32]CommunicateWithHost lk.salyk.kg:30040 [06:48:32]ConnectInit lk.salyk.kg [06:48:32]written 0, free lines is 4095 [06:48:32]Connected sock=10 [06: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 34 32 30 A3 01 00 00 63 D2 9B 01 72 E1 5A 03 01 00 03 00 8F 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 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 24 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 48 F9 15 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EE 5E 00 00 35 04 06 00 3C 69 67 C4 FE 0D 71 7F C6 96 A4 82 D5 88 [06: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 34 32 30 4F 00 00 00 87 6F 47 00 CC 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 34 32 30 10 04 04 00 EE 5E 00 00 F4 03 04 00 DE A4 15 67 B6 04 01 00 00 27 B1 DC BF 3D F0 A0 BE [06:48:32]CommunicateWithHost err = 0 [06:48:32]CheckOFDResponse [06:48:32]1017 (14) - 77093643461234 [06:48:32]1041 (16) - 0000000000965420 [06:48:32]1040 (4) - 24302 [06:48:32]1012 (4) - 21.10.2024 00:48 [06:48:32]1206 (1) - 0 [06:48:32]OFD Sender: Remove packet 24302 [06:48:32]ProducePacketName [06:48:32]name=ofd_packets/00024302 [06:48:32]NVStorageDeleteData [06:48:33]Write to MH i2c: 01 00 00 3E 24 62 [06:48:33]Write i2c OK [06:48:33]MH_I2C_Read... [06:48:33]Read from MH i2c: 01 [06:48:33]MH_I2C_Read... [06:48:33]Read from MH i2c: 01 07 00 [06:48:33]MH_I2C_Read... [06:48:33]Read from MH i2c: 01 07 00 3E 24 00 00 00 00 00 D6 0C 4B [06:48:33]RasterBufferAndPrint [06:48:33]line [06:48:33]line [06:48:33]line [06:48:33]line [06:48:33]line [06:48:33]written 0, free lines is 3295 [06:48:33]process_action close_receipt done [06:48:33]requested_data is exist [06:48:33]produce_requested_data [06:48:33]requested_item fm.sn is exist - process it [06:48:33]wFMCommunicate request_size=4 [06:48:33]MH_SAM_APDU [06:48:33]CAPDU: 80 11 00 00 [06:48:33]Write to MH i2c: E2 08 00 45 24 80 11 00 00 00 00 00 00 E3 [06:48:33]Write i2c OK [06:48:33]MH_I2C_Read... [06:48:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:48:33]Read from MH i2c: E2 [06:48:33]MH_I2C_Read... [06:48:33]Read from MH i2c: E2 17 00 [06:48:33]MH_I2C_Read... [06:48:33]Read from MH i2c: E2 17 00 45 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 30 [06:48:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [06:48:33]wFMCommunicate OK [06:48:33]requested_item fd.num is exist - process it [06:48:33]SAM_PROTO_GetFieldsCounters [06:48:33]wFMCommunicate request_size=4 [06:48:33]MH_SAM_APDU [06:48:33]CAPDU: 80 13 00 00 [06:48:33]Write to MH i2c: E2 08 00 46 24 80 13 00 00 00 00 00 00 E6 [06:48:33]Write i2c OK [06:48:33]MH_I2C_Read... [06:48:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:48:33]Read from MH i2c: E2 [06:48:33]MH_I2C_Read... [06:48:33]Read from MH i2c: E2 62 00 [06:48:33]MH_I2C_Read... [06:48:33]Read from MH i2c: E2 62 00 46 24 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 EE 5E 00 00 0E 04 04 00 CD 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 28 [06:48:33]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 EE 5E 00 00 0E 04 04 00 CD 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 [06:48:33]wFMCommunicate OK [06:48:33]SAM_PROTO_GetFieldsCounters done [06:48:33]requested_item shift.num is exist - process it [06:48:33]requested_item shift.opened is exist - process it [06:48:33]req_shift_opened [06:48:33]FM_GetShiftState [06:48:33]SAM_PROTO_GetShiftState [06:48:33]wFMCommunicate request_size=4 [06:48:33]MH_SAM_APDU [06:48:33]CAPDU: 80 13 01 00 [06:48:33]Write to MH i2c: E2 08 00 47 24 80 13 01 00 00 00 00 00 E8 [06:48:33]Write i2c OK [06:48:33]MH_I2C_Read... [06:48:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:48:33]Read from MH i2c: E2 [06:48:33]MH_I2C_Read... [06:48:33]Read from MH i2c: E2 0E 00 [06:48:33]MH_I2C_Read... [06:48:33]Read from MH i2c: E2 0E 00 47 24 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 32 [06:48:33]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [06:48:33]wFMCommunicate OK [06:48:33]SAM_PROTO_GetShiftState done [06:48:33]FM_GetShiftState done [06:48:33]req_shift_opened done [06:48:33]requested_item shift.open_date is exist - process it [06:48:33]req_shift_open_date [06:48:33]req_shift_open_date done [06:48:33]produce_requested_data done [06:48:33]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24302,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [06:48:33]process_action_free close_receipt [06:48:33]json_value_free [06:48:33]json_value_free done [06:48:33]process_json_proto returns [06:48:33]Send response to host [06:48:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24302,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [06:48:33]free response buf [06:48:33]execute_script done [06:48:33]execute_script returns [06:48:33]free content buf [06:48:33]Sock 7.Close socket [06:48:33]Sock 7.Thread stoped [06:48:33]OFD Sender: No OFD packet to send [06:48:38]OFD Sender: No OFD packet to send [06:48:43]OFD Sender: No OFD packet to send [06:48:48]OFD Sender: No OFD packet to send [06:48:53]OFD Sender: No OFD packet to send [06:48:58]OFD Sender: No OFD packet to send [06:49:03]OFD Sender: No OFD packet to send [06:49:08]OFD Sender: No OFD packet to send [06:49:13]OFD Sender: No OFD packet to send [06:49:18]OFD Sender: No OFD packet to send [06:49:23]OFD Sender: No OFD packet to send [06:49:28]OFD Sender: No OFD packet to send [06:49:33]OFD Sender: No OFD packet to send [06:49:38]OFD Sender: No OFD packet to send [06:49:43]OFD Sender: No OFD packet to send [06:49:48]OFD Sender: No OFD packet to send [06:49:53]OFD Sender: No OFD packet to send [06:49:58]OFD Sender: No OFD packet to send [06:50:03]OFD Sender: No OFD packet to send [06:50:08]OFD Sender: No OFD packet to send [06:50:13]OFD Sender: No OFD packet to send [06:50:18]OFD Sender: No OFD packet to send [06:50:23]OFD Sender: No OFD packet to send [06:50:28]OFD Sender: No OFD packet to send [06:50:33]OFD Sender: No OFD packet to send [06:50:38]OFD Sender: No OFD packet to send [06:50:43]OFD Sender: No OFD packet to send [06:50:48]OFD Sender: No OFD packet to send [06:50:53]OFD Sender: No OFD packet to send [06:50:58]OFD Sender: No OFD packet to send [06:51:03]OFD Sender: No OFD packet to send [06:51:08]OFD Sender: No OFD packet to send [06:51:13]OFD Sender: No OFD packet to send [06:51:18]OFD Sender: No OFD packet to send [06:51:23]OFD Sender: No OFD packet to send [06:51:28]OFD Sender: No OFD packet to send [06:51:33]OFD Sender: No OFD packet to send [06:51:38]OFD Sender: No OFD packet to send [06:51:43]OFD Sender: No OFD packet to send [06:51:48]OFD Sender: No OFD packet to send [06:51:53]OFD Sender: No OFD packet to send [06:51:58]OFD Sender: No OFD packet to send [06:52:03]OFD Sender: No OFD packet to send [06:52:08]OFD Sender: No OFD packet to send [06:52:13]OFD Sender: No OFD packet to send [06:52:18]OFD Sender: No OFD packet to send [06:52:23]OFD Sender: No OFD packet to send [06:52:28]OFD Sender: No OFD packet to send [06:52:33]OFD Sender: No OFD packet to send [06:52:38]OFD Sender: No OFD packet to send [06:52:43]OFD Sender: No OFD packet to send [06:52:48]OFD Sender: No OFD packet to send [06:52:53]OFD Sender: No OFD packet to send [06:52:58]OFD Sender: No OFD packet to send [06:53:03]OFD Sender: No OFD packet to send [06:53:08]OFD Sender: No OFD packet to send [06:53:13]OFD Sender: No OFD packet to send [06:53:18]OFD Sender: No OFD packet to send [06:53:23]OFD Sender: No OFD packet to send [06:53:28]OFD Sender: No OFD packet to send [06:53:33]OFD Sender: No OFD packet to send [06:53:38]OFD Sender: No OFD packet to send [06:53:43]OFD Sender: No OFD packet to send [06:53:48]OFD Sender: No OFD packet to send [06:53:53]OFD Sender: No OFD packet to send [06:53:58]OFD Sender: No OFD packet to send [06:54:03]OFD Sender: No OFD packet to send [06:54:08]OFD Sender: No OFD packet to send [06:54:13]OFD Sender: No OFD packet to send [06:54:18]OFD Sender: No OFD packet to send [06:54:23]OFD Sender: No OFD packet to send [06:54:28]OFD Sender: No OFD packet to send [06:54:33]OFD Sender: No OFD packet to send [06:54:38]OFD Sender: No OFD packet to send [06:54:43]OFD Sender: No OFD packet to send [06:54:48]OFD Sender: No OFD packet to send [06:54:53]OFD Sender: No OFD packet to send [06:54:58]OFD Sender: No OFD packet to send [06:55:03]OFD Sender: No OFD packet to send [06:55:08]OFD Sender: No OFD packet to send [06:55:13]OFD Sender: No OFD packet to send [06:55:18]OFD Sender: No OFD packet to send [06:55:23]OFD Sender: No OFD packet to send [06:55:28]OFD Sender: No OFD packet to send [06:55:33]OFD Sender: No OFD packet to send [06:55:38]OFD Sender: No OFD packet to send [06:55:43]OFD Sender: No OFD packet to send [06:55:48]OFD Sender: No OFD packet to send [06:55:53]OFD Sender: No OFD packet to send [06:55:58]OFD Sender: No OFD packet to send [06:56:03]OFD Sender: No OFD packet to send [06:56:08]OFD Sender: No OFD packet to send [06:56:13]OFD Sender: No OFD packet to send [06:56:18]OFD Sender: No OFD packet to send [06:56:23]OFD Sender: No OFD packet to send [06:56:28]OFD Sender: No OFD packet to send [06:56:33]OFD Sender: No OFD packet to send [06:56:38]OFD Sender: No OFD packet to send [06:56:43]OFD Sender: No OFD packet to send [06:56:48]OFD Sender: No OFD packet to send [06:56:53]OFD Sender: No OFD packet to send [06:56:58]OFD Sender: No OFD packet to send [06:57:03]OFD Sender: No OFD packet to send [06:57:08]OFD Sender: No OFD packet to send [06:57:13]OFD Sender: No OFD packet to send [06:57:18]OFD Sender: No OFD packet to send [06:57:23]OFD Sender: No OFD packet to send [06:57:28]OFD Sender: No OFD packet to send [06:57:33]OFD Sender: No OFD packet to send [06:57:38]OFD Sender: No OFD packet to send [06:57:43]OFD Sender: No OFD packet to send [06:57:48]OFD Sender: No OFD packet to send [06:57:53]OFD Sender: No OFD packet to send [06:57:58]OFD Sender: No OFD packet to send [06:58:03]OFD Sender: No OFD packet to send [06:58:08]OFD Sender: No OFD packet to send [06:58:13]OFD Sender: No OFD packet to send [06:58:18]OFD Sender: No OFD packet to send [06:58:23]OFD Sender: No OFD packet to send [06:58:28]OFD Sender: No OFD packet to send [06:58:33]OFD Sender: No OFD packet to send [06:58:38]OFD Sender: No OFD packet to send [06:58:43]OFD Sender: No OFD packet to send [06:58:48]OFD Sender: No OFD packet to send [06:58:53]OFD Sender: No OFD packet to send [06:58:58]OFD Sender: No OFD packet to send [06:59:03]OFD Sender: No OFD packet to send [06:59:08]OFD Sender: No OFD packet to send [06:59:13]OFD Sender: No OFD packet to send [06:59:18]OFD Sender: No OFD packet to send [06:59:23]OFD Sender: No OFD packet to send [06:59:28]OFD Sender: No OFD packet to send [06:59:33]OFD Sender: No OFD packet to send [06:59:38]OFD Sender: No OFD packet to send [06:59:43]OFD Sender: No OFD packet to send [06:59:48]OFD Sender: No OFD packet to send [06:59:53]OFD Sender: No OFD packet to send [06:59:59]OFD Sender: No OFD packet to send [07:00:04]OFD Sender: No OFD packet to send [07:00:09]OFD Sender: No OFD packet to send [07:00:14]OFD Sender: No OFD packet to send [07:00:19]OFD Sender: No OFD packet to send [07:00:24]OFD Sender: No OFD packet to send [07:00:29]OFD Sender: No OFD packet to send [07:00:34]OFD Sender: No OFD packet to send [07:00:39]OFD Sender: No OFD packet to send [07:00:44]OFD Sender: No OFD packet to send [07:00:49]OFD Sender: No OFD packet to send [07:00:54]OFD Sender: No OFD packet to send [07:00:59]OFD Sender: No OFD packet to send [07:01:04]OFD Sender: No OFD packet to send [07:01:09]OFD Sender: No OFD packet to send [07:01:14]OFD Sender: No OFD packet to send [07:01:19]OFD Sender: No OFD packet to send [07:01:24]OFD Sender: No OFD packet to send [07:01:29]OFD Sender: No OFD packet to send [07:01:34]OFD Sender: No OFD packet to send [07:01:39]OFD Sender: No OFD packet to send [07:01:44]OFD Sender: No OFD packet to send [07:01:49]OFD Sender: No OFD packet to send [07:01:54]OFD Sender: No OFD packet to send [07:01:59]OFD Sender: No OFD packet to send [07:02:04]OFD Sender: No OFD packet to send [07:02:09]OFD Sender: No OFD packet to send [07:02:14]OFD Sender: No OFD packet to send [07:02:19]OFD Sender: No OFD packet to send [07:02:24]OFD Sender: No OFD packet to send [07:02:29]OFD Sender: No OFD packet to send [07:02:34]OFD Sender: No OFD packet to send [07:02:39]OFD Sender: No OFD packet to send [07:02:44]OFD Sender: No OFD packet to send [07:02:49]OFD Sender: No OFD packet to send [07:02:54]OFD Sender: No OFD packet to send [07:02:59]OFD Sender: No OFD packet to send [07:03:04]OFD Sender: No OFD packet to send [07:03:09]OFD Sender: No OFD packet to send [07:03:14]OFD Sender: No OFD packet to send [07:03:19]OFD Sender: No OFD packet to send [07:03:24]OFD Sender: No OFD packet to send [07:03:29]OFD Sender: No OFD packet to send [07:03:34]OFD Sender: No OFD packet to send [07:03:39]OFD Sender: No OFD packet to send [07:03:44]OFD Sender: No OFD packet to send [07:03:49]OFD Sender: No OFD packet to send [07:03:54]OFD Sender: No OFD packet to send [07:03:59]OFD Sender: No OFD packet to send [07:04:04]OFD Sender: No OFD packet to send [07:04:09]OFD Sender: No OFD packet to send [07:04:14]OFD Sender: No OFD packet to send [07:04:19]OFD Sender: No OFD packet to send [07:04:24]OFD Sender: No OFD packet to send [07:04:29]OFD Sender: No OFD packet to send [07:04:34]OFD Sender: No OFD packet to send [07:04:39]OFD Sender: No OFD packet to send [07:04:44]OFD Sender: No OFD packet to send [07:04:49]OFD Sender: No OFD packet to send [07:04:54]OFD Sender: No OFD packet to send [07:04:59]OFD Sender: No OFD packet to send [07:05:04]OFD Sender: No OFD packet to send [07:05:09]OFD Sender: No OFD packet to send [07:05:14]OFD Sender: No OFD packet to send [07:05:19]OFD Sender: No OFD packet to send [07:05:24]OFD Sender: No OFD packet to send [07:05:29]OFD Sender: No OFD packet to send [07:05:34]OFD Sender: No OFD packet to send [07:05:39]OFD Sender: No OFD packet to send [07:05:44]OFD Sender: No OFD packet to send [07:05:49]OFD Sender: No OFD packet to send [07:05:54]OFD Sender: No OFD packet to send [07:05:59]OFD Sender: No OFD packet to send [07:06:04]OFD Sender: No OFD packet to send [07:06:09]OFD Sender: No OFD packet to send [07:06:14]OFD Sender: No OFD packet to send [07:06:19]OFD Sender: No OFD packet to send [07:06:24]OFD Sender: No OFD packet to send [07:06:29]OFD Sender: No OFD packet to send [07:06:34]OFD Sender: No OFD packet to send [07:06:39]OFD Sender: No OFD packet to send [07:06:44]OFD Sender: No OFD packet to send [07:06:49]OFD Sender: No OFD packet to send [07:06:54]OFD Sender: No OFD packet to send [07:06:59]OFD Sender: No OFD packet to send [07:07:04]OFD Sender: No OFD packet to send [07:07:09]OFD Sender: No OFD packet to send [07:07:14]OFD Sender: No OFD packet to send [07:07:19]OFD Sender: No OFD packet to send [07:07:24]OFD Sender: No OFD packet to send [07:07:29]OFD Sender: No OFD packet to send [07:07:34]OFD Sender: No OFD packet to send [07:07:39]OFD Sender: No OFD packet to send [07:07:44]OFD Sender: No OFD packet to send [07:07:49]OFD Sender: No OFD packet to send [07:07:54]OFD Sender: No OFD packet to send [07:07:59]OFD Sender: No OFD packet to send [07:08:04]OFD Sender: No OFD packet to send [07:08:09]OFD Sender: No OFD packet to send [07:08:14]OFD Sender: No OFD packet to send [07:08:19]OFD Sender: No OFD packet to send [07:08:24]OFD Sender: No OFD packet to send [07:08:29]OFD Sender: No OFD packet to send [07:08:34]OFD Sender: No OFD packet to send [07:08:39]OFD Sender: No OFD packet to send [07:08:44]OFD Sender: No OFD packet to send [07:08:49]OFD Sender: No OFD packet to send [07:08:54]OFD Sender: No OFD packet to send [07:08:59]OFD Sender: No OFD packet to send [07:09:04]OFD Sender: No OFD packet to send [07:09:09]OFD Sender: No OFD packet to send [07:09:14]OFD Sender: No OFD packet to send [07:09:19]OFD Sender: No OFD packet to send [07:09:24]OFD Sender: No OFD packet to send [07:09:29]OFD Sender: No OFD packet to send [07:09:34]OFD Sender: No OFD packet to send [07:09:39]OFD Sender: No OFD packet to send [07:09:44]OFD Sender: No OFD packet to send [07:09:49]OFD Sender: No OFD packet to send [07:09:54]OFD Sender: No OFD packet to send [07:09:59]OFD Sender: No OFD packet to send [07:10:04]OFD Sender: No OFD packet to send [07:10:09]OFD Sender: No OFD packet to send [07:10:14]OFD Sender: No OFD packet to send [07:10:19]OFD Sender: No OFD packet to send [07:10:24]OFD Sender: No OFD packet to send [07:10:29]OFD Sender: No OFD packet to send [07:10:34]OFD Sender: No OFD packet to send [07:10:39]OFD Sender: No OFD packet to send [07:10:44]OFD Sender: No OFD packet to send [07:10:49]OFD Sender: No OFD packet to send [07:10:54]OFD Sender: No OFD packet to send [07:10:59]OFD Sender: No OFD packet to send [07:11:04]OFD Sender: No OFD packet to send [07:11:09]OFD Sender: No OFD packet to send [07:11:14]OFD Sender: No OFD packet to send [07:11:19]OFD Sender: No OFD packet to send [07:11:24]OFD Sender: No OFD packet to send [07:11:29]OFD Sender: No OFD packet to send [07:11:34]OFD Sender: No OFD packet to send [07:11:39]OFD Sender: No OFD packet to send [07:11:44]OFD Sender: No OFD packet to send [07:11:49]OFD Sender: No OFD packet to send [07:11:54]OFD Sender: No OFD packet to send [07:11:59]OFD Sender: No OFD packet to send [07:12:04]OFD Sender: No OFD packet to send [07:12:09]OFD Sender: No OFD packet to send [07:12:14]OFD Sender: No OFD packet to send [07:12:19]accept exits with 9 [07:12:19]New connection [07:12:19]New thread 3067100516 created [07:12:19]Thread 3067243876 joined [07:12:19]Waiting for new connection... [07:12:19] Sock 9.Parse request [07:12:19]Sock 9.Check first char [07:12:19]Sock 9.First char is OK [07:12:19]request: POST /json_proto HTTP/1.0 [07:12:19]Method: POST [07:12:19]URL: /json_proto [07:12:19]Method is POST - this is cgi request [07:12:19]url: /json_proto [07:12:19]query_string will be loaded in cgi processing [07:12:19]execute_cgi json_proto POST (null) [07:12:19]execute_cgi path=json_proto method=POST [07:12:19]POST find Content-Length [07:12:19]Host: 172.17.50.4:8080 [07:12:19]Content-Length: 626 [07:12:19]Content-Type: application/json [07:12:19] [07:12:19]POST finish read [07:12:19]Found Content-Length = 626 [07:12:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134827", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "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" ] } } [07:12:19]execute_script... [07:12: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)134827", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "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" ] } } [07:12:19]POST & json_proto [07:12:19]process_json_proto [07:12:19]json parsed OK: [07:12:19]protocol is kg_v1.0 [07:12:19]action value=close_receipt [07:12:19]process_action close_receipt [07:12:19]cmd_close_receipt [07:12:19]MH_GetDate [07:12:19]Write to MH i2c: F0 00 00 48 24 5B [07:12:19]Write i2c OK [07:12:19]MH_I2C_Read... [07:12:19]Read from MH i2c: F0 [07:12:19]MH_I2C_Read... [07:12:19]Read from MH i2c: F0 09 00 [07:12:19]MH_I2C_Read... [07:12:19]Read from MH i2c: F0 09 00 48 24 00 DD FE 15 67 1D BB 13 67 0D [07:12:19]GetLastDocTimeStamp 1729493320 [07:12:19]current date 1729494749 [07:12:19]FM_GetShiftState [07:12:19]SAM_PROTO_GetShiftState [07:12:19]wFMCommunicate request_size=4 [07:12:19]MH_SAM_APDU [07:12:19]CAPDU: 80 13 01 00 [07:12:19]Write to MH i2c: E2 08 00 49 24 80 13 01 00 00 00 00 00 EA [07:12:19]Write i2c OK [07:12:19]MH_I2C_Read... [07:12:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:12:19]Read from MH i2c: E2 [07:12:19]MH_I2C_Read... [07:12:19]Read from MH i2c: E2 0E 00 [07:12:19]MH_I2C_Read... [07:12:19]Read from MH i2c: E2 0E 00 49 24 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 34 [07:12:19]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [07:12:19]wFMCommunicate OK [07:12:19]SAM_PROTO_GetShiftState done [07:12:19]FM_GetShiftState done [07:12:19]opened in 1729469223 [07:12:19]opened+sec_in_day 1729555623 [07:12:19]quantity*price = 13900 [07:12:19]sum+1 = 13901 [07:12:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 7 21.10.2024 07:12 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24303 ФПД: 193487767493820 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T071229&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24303&fm=193487767493820&tin=02508201610067®Number=0000000000098120&sum=13900 0 [07:12:20]StoreToDocumentArchive [07:12:20]shift 461 fd 24303 [07:12:20]save to /storage/0461/doc_00024303 [07:12:20]save last doc name /storage/0461/doc_00024303 to /storage/kkm_last_doc_name [07:12:20]save OK [07:12:20]Clear old archive folders... [07:12:20]ProcessDocumentItem done err = 0, tmpTLVsize=278 [07:12:20]tlvbuf is 021744E0 [07:12:20]SAM_PROTO_ClearQueue [07:12:20]wFMCommunicate request_size=4 [07:12:20]MH_SAM_APDU [07:12:20]CAPDU: 80 09 00 00 [07:12:20]Write to MH i2c: E2 08 00 56 24 80 09 00 00 00 00 00 00 EC [07:12:20]Write i2c OK [07:12:20]MH_I2C_Read... [07:12:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:12:20]Read from MH i2c: E2 [07:12:20]MH_I2C_Read... [07:12:20]Read from MH i2c: E2 03 00 [07:12:20]MH_I2C_Read... [07:12:20]Read from MH i2c: E2 03 00 56 24 00 90 00 EE [07:12:20]RAPDU: 90 00 [07:12:20]wFMCommunicate OK [07:12:20]SAM_PROTO_ClearQueue done [07:12:20]KKMCreateOFDPacket [07:12:20]OFDProtocolAddRootSTLVToBuf [07:12:20]FM_MakeSignedData [07:12:20]FM_MakeSignedData [07:12:20]SAM_PROTO_SignData [07:12:20]wFMCommunicate request_size=4 [07:12:20]MH_SAM_APDU [07:12:20]CAPDU: 80 0D 01 02 [07:12:20]Write to MH i2c: E2 08 00 57 24 80 0D 01 02 00 00 00 00 F4 [07:12:20]Write i2c OK [07:12:20]MH_I2C_Read... [07:12:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:12:20]Read from MH i2c: E2 [07:12:20]MH_I2C_Read... [07:12:20]Read from MH i2c: E2 03 00 [07:12:20]MH_I2C_Read... [07:12:20]Read from MH i2c: E2 03 00 57 24 00 90 00 EF [07:12:20]RAPDU: 90 00 [07:12:20]wFMCommunicate OK [07:12:20]wFMCommunicate request_size=255 [07:12:20]MH_SAM_APDU [07:12:20]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 07 00 00 00 F4 03 04 00 DD FE 15 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 [07:12:20]Write to MH i2c: E2 02 01 58 24 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 07 00 00 00 F4 03 04 00 DD FE 15 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 00 00 5B [07:12:20]Write i2c OK [07:12:20]MH_I2C_Read... [07:12:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:12:20]Read from MH i2c: E2 [07:12:20]MH_I2C_Read... [07:12:20]Read from MH i2c: E2 03 00 [07:12:20]MH_I2C_Read... [07:12:20]Read from MH i2c: E2 03 00 58 24 00 90 00 F0 [07:12:20]RAPDU: 90 00 [07:12:20]wFMCommunicate OK [07:12:20]wFMCommunicate request_size=37 [07:12:20]MH_SAM_APDU [07:12:20]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EF 5E 00 00 35 04 06 00 AF F9 E1 A6 5C BC [07:12:20]Write to MH i2c: E2 28 00 59 24 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EF 5E 00 00 35 04 06 00 AF F9 E1 A6 5C BC 00 00 DC [07:12:20]Write i2c OK [07:12:20]MH_I2C_Read... [07:12:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:12:20]Read from MH i2c: E2 [07:12:20]MH_I2C_Read... [07:12:20]Read from MH i2c: E2 03 00 [07:12:20]MH_I2C_Read... [07:12:20]Read from MH i2c: E2 03 00 59 24 00 90 00 F1 [07:12:20]RAPDU: 90 00 [07:12:20]wFMCommunicate OK [07:12:20]wFMCommunicate request_size=4 [07:12:20]MH_SAM_APDU [07:12:20]CAPDU: 80 0D 03 02 [07:12:20]Write to MH i2c: E2 08 00 5A 24 80 0D 03 02 00 00 00 00 F9 [07:12:20]Write i2c OK [07:12:20]MH_I2C_Read... [07:12:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:12:20]Read from MH i2c: E2 [07:12:20]MH_I2C_Read... [07:12:20]Read from MH i2c: E2 0B 00 [07:12:20]MH_I2C_Read... [07:12:20]Read from MH i2c: E2 0B 00 5A 24 00 A0 D6 D1 71 EA B0 67 0E 90 00 C1 [07:12:20]RAPDU: A0 D6 D1 71 EA B0 67 0E 90 00 [07:12:20]wFMCommunicate OK [07:12:20]SAM_PROTO_SignData done [07:12:20]FM_MakeSignedData done [07:12:20]CreateOFDProtocolMessage [07:12:20]wFMCommunicate request_size=4 [07:12:20]MH_SAM_APDU [07:12:20]CAPDU: 80 11 00 00 [07:12:20]Write to MH i2c: E2 08 00 5B 24 80 11 00 00 00 00 00 00 F9 [07:12:20]Write i2c OK [07:12:20]MH_I2C_Read... [07:12:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:12:21]Read from MH i2c: E2 [07:12:21]MH_I2C_Read... [07:12:21]Read from MH i2c: E2 17 00 [07:12:21]MH_I2C_Read... [07:12:21]Read from MH i2c: E2 17 00 5B 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 46 [07:12:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [07:12:21]wFMCommunicate OK [07:12:21]CreateOFDProtocolMessage done [07:12:21]OFDSenderStorePacket 24303 [07:12:21]StoreOFDPacket docnum=24303 [07:12:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2A 01 00 00 60 13 22 01 DC A6 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 07 00 00 00 F4 03 04 00 DD FE 15 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EF 5E 00 00 35 04 06 00 AF F9 E1 A6 5C BC A0 D6 D1 71 EA B0 67 0E [07:12:21]CheckFolder [07:12:21]dirname=/storage/ofd_packets [07:12:21]CheckFolder done [07:12:21]ProducePacketName [07:12:21]name=ofd_packets/00024303 [07:12:21]NVStorageSaveData ofd_packets/00024303 [07:12:21]File name is /storage/ofd_packets/00024303 [07:12:21]Write 328 bytes [07:12:21]NVStorageSaveData done [07:12:21]OFDSenderStorePacket done [07:12:21]KKMCreateOFDPacket done [07:12:21]NVStorageSaveData kkm_last_timestamp [07:12:21]File name is /storage/kkm_last_timestamp [07:12:21]Write 4 bytes [07:12:21]NVStorageSaveData done [07:12:21]ExternCall_PrintAddStr [07:12:21]wPrintStart [07:12:21]Write to MH i2c: 01 00 00 5C 24 80 [07:12:21]Write i2c OK [07:12:21]MH_I2C_Read... [07:12:21]Read from MH i2c: 01 [07:12:21]MH_I2C_Read... [07:12:21]Read from MH i2c: 01 07 00 [07:12:21]MH_I2C_Read... [07:12:21]Read from MH i2c: 01 07 00 5C 24 00 00 00 00 00 FF 0F 95 [07:12:21]RasterBufferAndPrint [07:12:21]line Счет N : (3)134827 [07:12:21]line ИНН: 02508201610067 [07:12:21]line Контрольно-Кассовый Чек [07:12:21]line ПРОДАЖА [07:12:21]line Товар: 48741224 [07:12:21]line Сигареты Winston Super Slims Blue [07:12:21]line 1.000 * 139.00 [07:12:21]line = 139.00 [07:12:21]line НДС 12% НСП 1% [07:12:21]line > о реализуемом товаре [07:12:21]line ИТОГО: 139.00 [07:12:21]line НСП 1% : 1.23 [07:12:21]line НДС 12% : 14.76 [07:12:21]line Наличными: 139.00 [07:12:21]line Безнал.: 0.00 [07:12:21]line Место: АЗС № 85 "Партнер Нефть" [07:12:21]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [07:12:21]line СНО: Общий режим [07:12:21]line Чек 7 21.10.2024 07:12 [07:12:21]line Смена: 461 ФФД: 1.0 [07:12:21]line ЗНМ: 0300000166 [07:12:21]line РНМ: 0000000000098120 [07:12:21]line Версия ККМ: 001 [07:12:21]line ФМ: 0000000000965420 [07:12:21]line ФД: 24303 [07:12:21]line ФПД: 193487767493820 [07:12:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T071229&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24303&fm=193487767493820&tin=02508201610067®Number=0000000000098120&sum=13900 [07:12:21]line 0 [07:12:21]OFD Sender: Processing packet 24303 [packets to send 5, broken 4] [07:12:21]ProducePacketName [07:12:21]name=ofd_packets/00024303 [07:12:21]OFD Sender: To server: pG, [07:12:21]CommunicateWithHost lk.salyk.kg:30040 [07:12:21]ConnectInit lk.salyk.kg [07:12:21]written 0, free lines is 4095 [07:12:21]Connected sock=10 [07:12: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 34 32 30 2A 01 00 00 60 13 22 01 DC A6 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 07 00 00 00 F4 03 04 00 DD FE 15 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EF 5E 00 00 35 04 06 00 AF F9 E1 A6 5C BC A0 D6 D1 71 EA B0 67 0E [07:12:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 AC 56 47 00 D1 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 34 32 30 10 04 04 00 EF 5E 00 00 F4 03 04 00 72 AA 15 67 B6 04 01 00 00 D4 5F FA 16 59 93 14 CF [07:12:21]CommunicateWithHost err = 0 [07:12:21]CheckOFDResponse [07:12:21]1017 (14) - 77093643461234 [07:12:21]1041 (16) - 0000000000965420 [07:12:21]1040 (4) - 24303 [07:12:21]1012 (4) - 21.10.2024 01:12 [07:12:21]1206 (1) - 0 [07:12:21]OFD Sender: Remove packet 24303 [07:12:21]ProducePacketName [07:12:21]name=ofd_packets/00024303 [07:12:21]NVStorageDeleteData [07:12:21]Write to MH i2c: 01 00 00 85 24 A9 [07:12:21]Write i2c OK [07:12:21]MH_I2C_Read... [07:12:21]Read from MH i2c: 01 [07:12:21]MH_I2C_Read... [07:12:21]Read from MH i2c: 01 07 00 [07:12:21]MH_I2C_Read... [07:12:21]Read from MH i2c: 01 07 00 85 24 00 00 00 00 00 F7 0C B3 [07:12:21]RasterBufferAndPrint [07:12:21]line [07:12:21]line [07:12:21]line [07:12:21]line [07:12:21]line [07:12:21]written 0, free lines is 3326 [07:12:21]process_action close_receipt done [07:12:21]requested_data is exist [07:12:21]produce_requested_data [07:12:21]requested_item fm.sn is exist - process it [07:12:21]wFMCommunicate request_size=4 [07:12:21]MH_SAM_APDU [07:12:21]CAPDU: 80 11 00 00 [07:12:21]Write to MH i2c: E2 08 00 8C 24 80 11 00 00 00 00 00 00 2A [07:12:21]Write i2c OK [07:12:21]MH_I2C_Read... [07:12:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:12:21]Read from MH i2c: E2 [07:12:21]MH_I2C_Read... [07:12:21]Read from MH i2c: E2 17 00 [07:12:21]MH_I2C_Read... [07:12:21]Read from MH i2c: E2 17 00 8C 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 77 [07:12:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [07:12:21]wFMCommunicate OK [07:12:21]requested_item fd.num is exist - process it [07:12:21]SAM_PROTO_GetFieldsCounters [07:12:21]wFMCommunicate request_size=4 [07:12:21]MH_SAM_APDU [07:12:21]CAPDU: 80 13 00 00 [07:12:21]Write to MH i2c: E2 08 00 8D 24 80 13 00 00 00 00 00 00 2D [07:12:21]Write i2c OK [07:12:21]MH_I2C_Read... [07:12:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:12:21]Read from MH i2c: E2 [07:12:21]MH_I2C_Read... [07:12:22]Read from MH i2c: E2 62 00 [07:12:22]MH_I2C_Read... [07:12:22]Read from MH i2c: E2 62 00 8D 24 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 EF 5E 00 00 0E 04 04 00 CD 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 73 [07:12: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 EF 5E 00 00 0E 04 04 00 CD 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:12:22]wFMCommunicate OK [07:12:22]SAM_PROTO_GetFieldsCounters done [07:12:22]requested_item shift.num is exist - process it [07:12:22]requested_item shift.opened is exist - process it [07:12:22]req_shift_opened [07:12:22]FM_GetShiftState [07:12:22]SAM_PROTO_GetShiftState [07:12:22]wFMCommunicate request_size=4 [07:12:22]MH_SAM_APDU [07:12:22]CAPDU: 80 13 01 00 [07:12:22]Write to MH i2c: E2 08 00 8E 24 80 13 01 00 00 00 00 00 2F [07:12:22]Write i2c OK [07:12:22]MH_I2C_Read... [07:12:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:12:22]Read from MH i2c: E2 [07:12:22]MH_I2C_Read... [07:12:22]Read from MH i2c: E2 0E 00 [07:12:22]MH_I2C_Read... [07:12:22]Read from MH i2c: E2 0E 00 8E 24 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 79 [07:12:22]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [07:12:22]wFMCommunicate OK [07:12:22]SAM_PROTO_GetShiftState done [07:12:22]FM_GetShiftState done [07:12:22]req_shift_opened done [07:12:22]requested_item shift.open_date is exist - process it [07:12:22]req_shift_open_date [07:12:22]req_shift_open_date done [07:12:22]produce_requested_data done [07:12:22]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24303,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [07:12:22]process_action_free close_receipt [07:12:22]json_value_free [07:12:22]json_value_free done [07:12:22]process_json_proto returns [07:12:22]Send response to host [07:12:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24303,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [07:12:22]free response buf [07:12:22]execute_script done [07:12:22]execute_script returns [07:12:22]free content buf [07:12:22]Sock 9.Close socket [07:12:22]Sock 9.Thread stoped [07:12:22]OFD Sender: No OFD packet to send [07:12:27]OFD Sender: No OFD packet to send [07:12:32]OFD Sender: No OFD packet to send [07:12:37]OFD Sender: No OFD packet to send [07:12:42]OFD Sender: No OFD packet to send [07:12:47]OFD Sender: No OFD packet to send [07:12:52]OFD Sender: No OFD packet to send [07:12:57]OFD Sender: No OFD packet to send [07:13:02]OFD Sender: No OFD packet to send [07:13:07]OFD Sender: No OFD packet to send [07:13:12]OFD Sender: No OFD packet to send [07:13:17]OFD Sender: No OFD packet to send [07:13:22]OFD Sender: No OFD packet to send [07:13:27]OFD Sender: No OFD packet to send [07:13:32]OFD Sender: No OFD packet to send [07:13:37]OFD Sender: No OFD packet to send [07:13:42]OFD Sender: No OFD packet to send [07:13:47]OFD Sender: No OFD packet to send [07:13:52]OFD Sender: No OFD packet to send [07:13:57]OFD Sender: No OFD packet to send [07:14:02]OFD Sender: No OFD packet to send [07:14:07]OFD Sender: No OFD packet to send [07:14:12]OFD Sender: No OFD packet to send [07:14:17]OFD Sender: No OFD packet to send [07:14:22]OFD Sender: No OFD packet to send [07:14:27]OFD Sender: No OFD packet to send [07:14:32]OFD Sender: No OFD packet to send [07:14:37]OFD Sender: No OFD packet to send [07:14:42]OFD Sender: No OFD packet to send [07:14:47]OFD Sender: No OFD packet to send [07:14:52]OFD Sender: No OFD packet to send [07:14:57]OFD Sender: No OFD packet to send [07:15:02]OFD Sender: No OFD packet to send [07:15:07]OFD Sender: No OFD packet to send [07:15:12]OFD Sender: No OFD packet to send [07:15:17]OFD Sender: No OFD packet to send [07:15: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:27]OFD Sender: No OFD packet to send [07:16:32]OFD Sender: No OFD packet to send [07:16:37]OFD Sender: No OFD packet to send [07:16:42]OFD Sender: No OFD packet to send [07:16:47]OFD Sender: No OFD packet to send [07:16:52]OFD Sender: No OFD packet to send [07:16:57]OFD Sender: No OFD packet to send [07:17:02]OFD Sender: No OFD packet to send [07:17:07]OFD Sender: No OFD packet to send [07:17:12]OFD Sender: No OFD packet to send [07:17:17]OFD Sender: No OFD packet to send [07:17:22]OFD Sender: No OFD packet to send [07:17:27]OFD Sender: No OFD packet to send [07:17:32]OFD Sender: No OFD packet to send [07:17: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:17]OFD Sender: No OFD packet to send [07:25:22]OFD Sender: No OFD packet to send [07:25:27]OFD Sender: No OFD packet to send [07:25:32]OFD Sender: No OFD packet to send [07:25:37]OFD Sender: No OFD packet to send [07:25:42]OFD Sender: No OFD packet to send [07:25:47]OFD Sender: No OFD packet to send [07:25:52]OFD Sender: No OFD packet to send [07:25:57]OFD Sender: No OFD packet to send [07:26:02]OFD Sender: No OFD packet to send [07:26:07]OFD Sender: No OFD packet to send [07:26:12]OFD Sender: No OFD packet to send [07:26:17]OFD Sender: No OFD packet to send [07:26:22]OFD Sender: No OFD packet to send [07:26:27]OFD Sender: No OFD packet to send [07:26:32]OFD Sender: No OFD packet to send [07:26:37]OFD Sender: No OFD packet to send [07:26:42]OFD Sender: No OFD packet to send [07:26:47]OFD Sender: No OFD packet to send [07:26:52]OFD Sender: No OFD packet to send [07:26:57]OFD Sender: No OFD packet to send [07:27:02]OFD Sender: No OFD packet to send [07:27:07]OFD Sender: No OFD packet to send [07:27:12]OFD Sender: No OFD packet to send [07:27:17]OFD Sender: No OFD packet to send [07:27:22]OFD Sender: No OFD packet to send [07:27:27]OFD Sender: No OFD packet to send [07:27:32]OFD Sender: No OFD packet to send [07:27:37]OFD Sender: No OFD packet to send [07:27:42]OFD Sender: No OFD packet to send [07:27:47]OFD Sender: No OFD packet to send [07:27:52]OFD Sender: No OFD packet to send [07:27:57]OFD Sender: No OFD packet to send [07:28:02]OFD Sender: No OFD packet to send [07:28:07]OFD Sender: No OFD packet to send [07:28:12]OFD Sender: No OFD packet to send [07:28:17]OFD Sender: No OFD packet to send [07:28:22]OFD Sender: No OFD packet to send [07:28:27]OFD Sender: No OFD packet to send [07:28:32]OFD Sender: No OFD packet to send [07:28:37]OFD Sender: No OFD packet to send [07:28:42]OFD Sender: No OFD packet to send [07:28:47]OFD Sender: No OFD packet to send [07:28:52]OFD Sender: No OFD packet to send [07:28:57]OFD Sender: No OFD packet to send [07:29:02]OFD Sender: No OFD packet to send [07:29:07]OFD Sender: No OFD packet to send [07:29:12]OFD Sender: No OFD packet to send [07:29:17]OFD Sender: No OFD packet to send [07:29:22]OFD Sender: No OFD packet to send [07:29:27]OFD Sender: No OFD packet to send [07:29:32]OFD Sender: No OFD packet to send [07:29:37]OFD Sender: No OFD packet to send [07:29:42]OFD Sender: No OFD packet to send [07:29:47]OFD Sender: No OFD packet to send [07:29:52]OFD Sender: No OFD packet to send [07:29:57]OFD Sender: No OFD packet to send [07:30:02]OFD Sender: No OFD packet to send [07:30:07]OFD Sender: No OFD packet to send [07:30:12]OFD Sender: No OFD packet to send [07:30:18]OFD Sender: No OFD packet to send [07:30:23]OFD Sender: No OFD packet to send [07:30:28]OFD Sender: No OFD packet to send [07:30:33]OFD Sender: No OFD packet to send [07:30:38]OFD Sender: No OFD packet to send [07:30:43]OFD Sender: No OFD packet to send [07:30:48]OFD Sender: No OFD packet to send [07:30:53]OFD Sender: No OFD packet to send [07:30:58]OFD Sender: No OFD packet to send [07:31:03]OFD Sender: No OFD packet to send [07:31:03]accept exits with 7 [07:31:03]New connection [07:31:03]New thread 3067243876 created [07:31:03]Thread 3067100516 joined [07:31:03]Waiting for new connection... [07:31:03] Sock 7.Parse request [07:31:03]Sock 7.Check first char [07:31:03]Sock 7.First char is OK [07:31:03]request: POST /json_proto HTTP/1.0 [07:31:03]Method: POST [07:31:03]URL: /json_proto [07:31:03]Method is POST - this is cgi request [07:31:03]url: /json_proto [07:31:03]query_string will be loaded in cgi processing [07:31:03]execute_cgi json_proto POST (null) [07:31:03]execute_cgi path=json_proto method=POST [07:31:03]POST find Content-Length [07:31:03]Host: 172.17.50.4:8080 [07:31:03]Content-Length: 632 [07:31:03]Content-Type: application/json [07:31:03] [07:31:03]POST finish read [07:31:03]Found Content-Length = 632 [07:31:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134828", "tax_sys" : 0, "items" : [ { "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:31:03]execute_script... [07:31: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)134828", "tax_sys" : 0, "items" : [ { "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:31:03]POST & json_proto [07:31:03]process_json_proto [07:31:03]json parsed OK: [07:31:03]protocol is kg_v1.0 [07:31:03]action value=close_receipt [07:31:03]process_action close_receipt [07:31:03]cmd_close_receipt [07:31:03]MH_GetDate [07:31:03]Write to MH i2c: F0 00 00 8F 24 A2 [07:31:03]Write i2c OK [07:31:03]MH_I2C_Read... [07:31:03]Read from MH i2c: F0 [07:31:03]MH_I2C_Read... [07:31:03]Read from MH i2c: F0 09 00 [07:31:03]MH_I2C_Read... [07:31:03]Read from MH i2c: F0 09 00 8F 24 00 40 03 16 67 1D BB 13 67 BD [07:31:03]GetLastDocTimeStamp 1729494749 [07:31:03]current date 1729495872 [07:31:03]FM_GetShiftState [07:31:03]SAM_PROTO_GetShiftState [07:31:03]wFMCommunicate request_size=4 [07:31:03]MH_SAM_APDU [07:31:03]CAPDU: 80 13 01 00 [07:31:03]Write to MH i2c: E2 08 00 90 24 80 13 01 00 00 00 00 00 31 [07:31:03]Write i2c OK [07:31:03]MH_I2C_Read... [07:31:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:31:03]Read from MH i2c: E2 [07:31:03]MH_I2C_Read... [07:31:03]Read from MH i2c: E2 0E 00 [07:31:03]MH_I2C_Read... [07:31:03]Read from MH i2c: E2 0E 00 90 24 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 7B [07:31:03]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [07:31:03]wFMCommunicate OK [07:31:03]SAM_PROTO_GetShiftState done [07:31:03]FM_GetShiftState done [07:31:03]opened in 1729469223 [07:31:03]opened+sec_in_day 1729555623 [07:31:03]quantity*price = 6000 [07:31:03]sum+1 = 6001 [07:31:03]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре ИТОГО: 154.00 НСП 1% : 1.36 НДС 12% : 16.35 Наличными: 154.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 9 21.10.2024 08:36 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24305 ФПД: 185465461216312 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T083604&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24305&fm=185465461216312&tin=02508201610067®Number=0000000000098120&sum=15400 0 [08:36:05]StoreToDocumentArchive [08:36:05]shift 461 fd 24305 [08:36:05]save to /storage/0461/doc_00024305 [08:36:05]save last doc name /storage/0461/doc_00024305 to /storage/kkm_last_doc_name [08:36:05]save OK [08:36:05]Clear old archive folders... [08:36:05]ProcessDocumentItem done err = 0, tmpTLVsize=274 [08:36:05]tlvbuf is B6F78620 [08:36:05]SAM_PROTO_ClearQueue [08:36:05]wFMCommunicate request_size=4 [08:36:05]MH_SAM_APDU [08:36:05]CAPDU: 80 09 00 00 [08:36:05]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [08:36:05]Write i2c OK [08:36:05]MH_I2C_Read... [08:36:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:36:05]Read from MH i2c: E2 [08:36:05]MH_I2C_Read... [08:36:05]Read from MH i2c: E2 03 00 [08:36:05]MH_I2C_Read... [08:36:05]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [08:36:05]RAPDU: 90 00 [08:36:05]wFMCommunicate OK [08:36:05]SAM_PROTO_ClearQueue done [08:36:05]KKMCreateOFDPacket [08:36:05]OFDProtocolAddRootSTLVToBuf [08:36:05]FM_MakeSignedData [08:36:05]FM_MakeSignedData [08:36:05]SAM_PROTO_SignData [08:36:05]wFMCommunicate request_size=4 [08:36:05]MH_SAM_APDU [08:36:05]CAPDU: 80 0D 01 02 [08:36:05]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [08:36:05]Write i2c OK [08:36:05]MH_I2C_Read... [08:36:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:36:05]Read from MH i2c: E2 [08:36:05]MH_I2C_Read... [08:36:05]Read from MH i2c: E2 03 00 [08:36:05]MH_I2C_Read... [08:36:05]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [08:36:05]RAPDU: 90 00 [08:36:05]wFMCommunicate OK [08:36:05]wFMCommunicate request_size=255 [08:36:05]MH_SAM_APDU [08:36:05]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 74 12 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 [08:36:05]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 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 74 12 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 00 00 07 [08:36:05]Write i2c OK [08:36:05]MH_I2C_Read... [08:36:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:36:06]Read from MH i2c: E2 [08:36:06]MH_I2C_Read... [08:36:06]Read from MH i2c: E2 03 00 [08:36:06]MH_I2C_Read... [08:36:06]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [08:36:06]RAPDU: 90 00 [08:36:06]wFMCommunicate OK [08:36:06]wFMCommunicate request_size=33 [08:36:06]MH_SAM_APDU [08:36:06]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F1 5E 00 00 35 04 06 00 A8 AE 0A EF 14 38 [08:36:06]Write to MH i2c: E2 24 00 2E 00 80 0D 02 02 1C 00 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F1 5E 00 00 35 04 06 00 A8 AE 0A EF 14 38 00 00 1B [08:36:06]Write i2c OK [08:36:06]MH_I2C_Read... [08:36:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:36:06]Read from MH i2c: E2 [08:36:06]MH_I2C_Read... [08:36:06]Read from MH i2c: E2 03 00 [08:36:06]MH_I2C_Read... [08:36:06]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [08:36:06]RAPDU: 90 00 [08:36:06]wFMCommunicate OK [08:36:06]wFMCommunicate request_size=4 [08:36:06]MH_SAM_APDU [08:36:06]CAPDU: 80 0D 03 02 [08:36:06]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [08:36:06]Write i2c OK [08:36:06]MH_I2C_Read... [08:36:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:36:06]Read from MH i2c: E2 [08:36:06]MH_I2C_Read... [08:36:06]Read from MH i2c: E2 0B 00 [08:36:06]MH_I2C_Read... [08:36:06]Read from MH i2c: E2 0B 00 2F 00 00 F8 13 9A 8D 5C 55 57 34 90 00 19 [08:36:06]RAPDU: F8 13 9A 8D 5C 55 57 34 90 00 [08:36:06]wFMCommunicate OK [08:36:06]SAM_PROTO_SignData done [08:36:06]FM_MakeSignedData done [08:36:06]CreateOFDProtocolMessage [08:36:06]wFMCommunicate request_size=4 [08:36:06]MH_SAM_APDU [08:36:06]CAPDU: 80 11 00 00 [08:36:06]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [08:36:06]Write i2c OK [08:36:06]MH_I2C_Read... [08:36:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:36:06]Read from MH i2c: E2 [08:36:06]MH_I2C_Read... [08:36:06]Read from MH i2c: E2 17 00 [08:36:06]MH_I2C_Read... [08:36:06]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 34 32 30 90 00 F7 [08:36:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:36:06]wFMCommunicate OK [08:36:06]CreateOFDProtocolMessage done [08:36:06]OFDSenderStorePacket 24305 [08:36:06]StoreOFDPacket docnum=24305 [08:36:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 26 01 00 00 B7 AD 1E 01 5C A7 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 74 12 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F1 5E 00 00 35 04 06 00 A8 AE 0A EF 14 38 F8 13 9A 8D 5C 55 57 34 [08:36:06]CheckFolder [08:36:06]dirname=/storage/ofd_packets [08:36:06]CheckFolder done [08:36:06]ProducePacketName [08:36:06]name=ofd_packets/00024305 [08:36:06]NVStorageSaveData ofd_packets/00024305 [08:36:06]File name is /storage/ofd_packets/00024305 [08:36:06]Write 324 bytes [08:36:06]NVStorageSaveData done [08:36:06]OFDSenderStorePacket done [08:36:06]KKMCreateOFDPacket done [08:36:06]NVStorageSaveData kkm_last_timestamp [08:36:06]File name is /storage/kkm_last_timestamp [08:36:06]Write 4 bytes [08:36:06]NVStorageSaveData done [08:36:06]ExternCall_PrintAddStr [08:36:06]wPrintStart [08:36:06]Write to MH i2c: 01 00 00 31 00 31 [08:36:06]Write i2c OK [08:36:06]MH_I2C_Read... [08:36:06]Read from MH i2c: 01 [08:36:06]MH_I2C_Read... [08:36:06]Read from MH i2c: 01 07 00 [08:36:06]MH_I2C_Read... [08:36:06]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [08:36:06]RasterBufferAndPrint [08:36:06]line Счет N : (3)134829 [08:36:06]line ИНН: 02508201610067 [08:36:06]line Контрольно-Кассовый Чек [08:36:06]line ПРОДАЖА [08:36:06]line Товар: 46230614 [08:36:06]line Сигареты Richmond Red Edition [08:36:06]line 1.000 * 154.00 [08:36:06]line = 154.00 [08:36:06]line НДС 12% НСП 1% [08:36:06]line > о реализуемом товаре [08:36:06]line ИТОГО: 154.00 [08:36:06]line НСП 1% : 1.36 [08:36:06]line НДС 12% : 16.35 [08:36:06]line Наличными: 154.00 [08:36:06]line Безнал.: 0.00 [08:36:06]line Место: АЗС № 85 "Партнер Нефть" [08:36:06]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [08:36:06]line СНО: Общий режим [08:36:06]line Чек 9 21.10.2024 08:36 [08:36:06]line Смена: 461 ФФД: 1.0 [08:36:06]line ЗНМ: 0300000166 [08:36:06]line РНМ: 0000000000098120 [08:36:06]line Версия ККМ: 001 [08:36:06]line ФМ: 0000000000965420 [08:36:06]line ФД: 24305 [08:36:06]line ФПД: 185465461216312 [08:36:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T083604&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24305&fm=185465461216312&tin=02508201610067®Number=0000000000098120&sum=15400 [08:36:06]line 0 [08:36:06]written 0, free lines is 4095 [08:36:06]OFD Sender: Processing packet 24305 [packets to send 5, broken 4] [08:36:06]ProducePacketName [08:36:06]name=ofd_packets/00024305 [08:36:06]OFD Sender: To server: pG, [08:36:06]CommunicateWithHost lk.salyk.kg:30040 [08:36:06]ConnectInit lk.salyk.kg [08:36:06]Connected sock=10 [08:36: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 34 32 30 26 01 00 00 B7 AD 1E 01 5C A7 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 74 12 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F1 5E 00 00 35 04 06 00 A8 AE 0A EF 14 38 F8 13 9A 8D 5C 55 57 34 [08:36:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 A6 D8 47 00 B7 AF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F1 5E 00 00 F4 03 04 00 1C BE 15 67 B6 04 01 00 00 97 02 F9 43 73 FB 09 EB [08:36:06]CommunicateWithHost err = 0 [08:36:06]CheckOFDResponse [08:36:06]1017 (14) - 77093643461234 [08:36:06]1041 (16) - 0000000000965420 [08:36:06]1040 (4) - 24305 [08:36:06]1012 (4) - 21.10.2024 02:36 [08:36:06]1206 (1) - 0 [08:36:06]OFD Sender: Remove packet 24305 [08:36:06]ProducePacketName [08:36:06]name=ofd_packets/00024305 [08:36:06]NVStorageDeleteData [08:36:06]Write to MH i2c: 01 00 00 5A 00 5A [08:36:06]Write i2c OK [08:36:06]MH_I2C_Read... [08:36:06]Read from MH i2c: 01 [08:36:06]MH_I2C_Read... [08:36:06]Read from MH i2c: 01 07 00 [08:36:06]MH_I2C_Read... [08:36:06]Read from MH i2c: 01 07 00 5A 00 00 00 00 00 00 04 0D 72 [08:36:06]RasterBufferAndPrint [08:36:06]line [08:36:06]line [08:36:06]line [08:36:06]line [08:36:06]line [08:36:06]written 0, free lines is 3347 [08:36:06]process_action close_receipt done [08:36:06]requested_data is exist [08:36:06]produce_requested_data [08:36:06]requested_item fm.sn is exist - process it [08:36:06]wFMCommunicate request_size=4 [08:36:06]MH_SAM_APDU [08:36:06]CAPDU: 80 11 00 00 [08:36:06]Write to MH i2c: E2 08 00 61 00 80 11 00 00 00 00 00 00 DB [08:36:06]Write i2c OK [08:36:06]MH_I2C_Read... [08:36:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:36:06]Read from MH i2c: E2 [08:36:06]MH_I2C_Read... [08:36:06]Read from MH i2c: E2 17 00 [08:36:06]MH_I2C_Read... [08:36:06]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 34 32 30 90 00 28 [08:36:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:36:06]wFMCommunicate OK [08:36:06]requested_item fd.num is exist - process it [08:36:06]SAM_PROTO_GetFieldsCounters [08:36:06]wFMCommunicate request_size=4 [08:36:06]MH_SAM_APDU [08:36:06]CAPDU: 80 13 00 00 [08:36:06]Write to MH i2c: E2 08 00 62 00 80 13 00 00 00 00 00 00 DE [08:36:06]Write i2c OK [08:36:06]MH_I2C_Read... [08:36:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:36:06]Read from MH i2c: E2 [08:36:06]MH_I2C_Read... [08:36:06]Read from MH i2c: E2 62 00 [08:36:06]MH_I2C_Read... [08:36:06]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 F1 5E 00 00 0E 04 04 00 CD 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 2C [08: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 F1 5E 00 00 0E 04 04 00 CD 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:36:07]wFMCommunicate OK [08:36:07]SAM_PROTO_GetFieldsCounters done [08:36:07]requested_item shift.num is exist - process it [08:36:07]requested_item shift.opened is exist - process it [08:36:07]req_shift_opened [08:36:07]FM_GetShiftState [08:36:07]SAM_PROTO_GetShiftState [08:36:07]wFMCommunicate request_size=4 [08:36:07]MH_SAM_APDU [08:36:07]CAPDU: 80 13 01 00 [08:36:07]Write to MH i2c: E2 08 00 63 00 80 13 01 00 00 00 00 00 E0 [08:36:07]Write i2c OK [08:36:07]MH_I2C_Read... [08:36:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:36:07]Read from MH i2c: E2 [08:36:07]MH_I2C_Read... [08:36:07]Read from MH i2c: E2 0E 00 [08:36:07]MH_I2C_Read... [08:36:07]Read from MH i2c: E2 0E 00 63 00 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 2A [08:36:07]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [08:36:07]wFMCommunicate OK [08:36:07]SAM_PROTO_GetShiftState done [08:36:07]FM_GetShiftState done [08:36:07]req_shift_opened done [08:36:07]requested_item shift.open_date is exist - process it [08:36:07]req_shift_open_date [08:36:07]req_shift_open_date done [08:36:07]produce_requested_data done [08:36:07]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24305,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [08:36:07]process_action_free close_receipt [08:36:07]json_value_free [08:36:07]json_value_free done [08:36:07]process_json_proto returns [08:36:07]Send response to host [08:36:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24305,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [08:36:07]free response buf [08:36:07]execute_script done [08:36:07]execute_script returns [08:36:07]free content buf [08:36:07]Sock 8.Close socket [08:36:07]Sock 8.Thread stoped [08:36:07]OFD Sender: No OFD packet to send [08:36:08]accept exits with 9 [08:36:08]New connection [08:36:08]New thread 3066940772 created [08:36:08]Thread 3067084132 joined [08:36:08]Waiting for new connection... [08:36:08] Sock 9.Parse request [08:36:08]Sock 9.Check first char [08:36:08]Sock 9.First char is OK [08:36:08]request: POST /json_proto HTTP/1.0 [08:36:08]Method: POST [08:36:08]URL: /json_proto [08:36:08]Method is POST - this is cgi request [08:36:08]url: /json_proto [08:36:08]query_string will be loaded in cgi processing [08:36:08]execute_cgi json_proto POST (null) [08:36:08]execute_cgi path=json_proto method=POST [08:36:08]POST find Content-Length [08:36:08]Host: 172.17.50.4:8080 [08:36:08]Content-Length: 774 [08:36:08]Content-Type: application/json [08:36:08] [08:36:08]POST finish read [08:36:08]Found Content-Length = 774 [08:36:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134830", "tax_sys" : 0, "items" : [ { "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 265.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:36:08]execute_script... [08:36: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)134830", "tax_sys" : 0, "items" : [ { "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 265.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:36:08]POST & json_proto [08:36:08]process_json_proto [08:36:08]json parsed OK: [08:36:08]protocol is kg_v1.0 [08:36:08]action value=close_receipt [08:36:08]process_action close_receipt [08:36:08]cmd_close_receipt [08:36:08]MH_GetDate [08:36:08]Write to MH i2c: F0 00 00 64 00 53 [08:36:08]Write i2c OK [08:36:08]MH_I2C_Read... [08:36:08]Read from MH i2c: F0 [08:36:08]MH_I2C_Read... [08:36:08]Read from MH i2c: F0 09 00 [08:36:08]MH_I2C_Read... [08:36:08]Read from MH i2c: F0 09 00 64 00 00 78 12 16 67 3B 12 16 67 2D [08:36:08]GetLastDocTimeStamp 1729499764 [08:36:08]current date 1729499768 [08:36:08]FM_GetShiftState [08:36:08]SAM_PROTO_GetShiftState [08:36:08]wFMCommunicate request_size=4 [08:36:08]MH_SAM_APDU [08:36:08]CAPDU: 80 13 01 00 [08:36:08]Write to MH i2c: E2 08 00 65 00 80 13 01 00 00 00 00 00 E2 [08:36:08]Write i2c OK [08:36:08]MH_I2C_Read... [08:36:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:36:08]Read from MH i2c: E2 [08:36:08]MH_I2C_Read... [08:36:08]Read from MH i2c: E2 0E 00 [08:36:08]MH_I2C_Read... [08:36:08]Read from MH i2c: E2 0E 00 65 00 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 2C [08:36:08]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [08:36:08]wFMCommunicate OK [08:36:08]SAM_PROTO_GetShiftState done [08:36:08]FM_GetShiftState done [08:36:08]opened in 1729469223 [08:36:08]opened+sec_in_day 1729555623 [08:36:08]quantity*price = 26500 [08:36:08]sum+1 = 26501 [08:36:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 265.00 НСП 1% : 2.34 НДС 12% : 28.14 Наличными: 0.00 Безнал.: 265.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 10 21.10.2024 08:36 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24306 ФПД: 206951661743087 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T083608&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24306&fm=206951661743087&tin=02508201610067®Number=0000000000098120&sum=26500 0 [08:36:09]StoreToDocumentArchive [08:36:09]shift 461 fd 24306 [08:36:09]save to /storage/0461/doc_00024306 [08:36:09]save last doc name /storage/0461/doc_00024306 to /storage/kkm_last_doc_name [08:36:09]save OK [08:36:09]Clear old archive folders... [08:36:09]ProcessDocumentItem done err = 0, tmpTLVsize=279 [08:36:09]tlvbuf is 00330EF0 [08:36:09]SAM_PROTO_ClearQueue [08:36:09]wFMCommunicate request_size=4 [08:36:09]MH_SAM_APDU [08:36:09]CAPDU: 80 09 00 00 [08:36:09]Write to MH i2c: E2 08 00 72 00 80 09 00 00 00 00 00 00 E4 [08:36:09]Write i2c OK [08:36:09]MH_I2C_Read... [08:36:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:36:09]Read from MH i2c: E2 [08:36:09]MH_I2C_Read... [08:36:09]Read from MH i2c: E2 03 00 [08:36:09]MH_I2C_Read... [08:36:09]Read from MH i2c: E2 03 00 72 00 00 90 00 E6 [08:36:09]RAPDU: 90 00 [08:36:09]wFMCommunicate OK [08:36:09]SAM_PROTO_ClearQueue done [08:36:09]KKMCreateOFDPacket [08:36:09]OFDProtocolAddRootSTLVToBuf [08:36:09]FM_MakeSignedData [08:36:09]FM_MakeSignedData [08:36:09]SAM_PROTO_SignData [08:36:09]wFMCommunicate request_size=4 [08:36:09]MH_SAM_APDU [08:36:09]CAPDU: 80 0D 01 02 [08:36:09]Write to MH i2c: E2 08 00 73 00 80 0D 01 02 00 00 00 00 EC [08:36:09]Write i2c OK [08:36:09]MH_I2C_Read... [08:36:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:36:09]Read from MH i2c: E2 [08:36:09]MH_I2C_Read... [08:36:09]Read from MH i2c: E2 03 00 [08:36:09]MH_I2C_Read... [08:36:09]Read from MH i2c: E2 03 00 73 00 00 90 00 E7 [08:36:09]RAPDU: 90 00 [08:36:09]wFMCommunicate OK [08:36:09]wFMCommunicate request_size=255 [08:36:09]MH_SAM_APDU [08:36:09]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 78 12 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 [08:36:09]Write to MH i2c: E2 02 01 74 00 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 78 12 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 00 00 35 [08:36:09]Write i2c OK [08:36:09]MH_I2C_Read... [08:36:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:36:09]Read from MH i2c: E2 [08:36:09]MH_I2C_Read... [08:36:09]Read from MH i2c: E2 03 00 [08:36:09]MH_I2C_Read... [08:36:09]Read from MH i2c: E2 03 00 74 00 00 90 00 E8 [08:36:09]RAPDU: 90 00 [08:36:09]wFMCommunicate OK [08:36:09]wFMCommunicate request_size=38 [08:36:09]MH_SAM_APDU [08:36:09]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F2 5E 00 00 35 04 06 00 BC 38 B0 48 AB EF [08:36:09]Write to MH i2c: E2 29 00 75 00 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F2 5E 00 00 35 04 06 00 BC 38 B0 48 AB EF 00 00 48 [08:36:10]Write i2c OK [08:36:10]MH_I2C_Read... [08:36:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:36:10]Read from MH i2c: E2 [08:36:10]MH_I2C_Read... [08:36:10]Read from MH i2c: E2 03 00 [08:36:10]MH_I2C_Read... [08:36:10]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [08:36:10]RAPDU: 90 00 [08:36:10]wFMCommunicate OK [08:36:10]wFMCommunicate request_size=4 [08:36:10]MH_SAM_APDU [08:36:10]CAPDU: 80 0D 03 02 [08:36:10]Write to MH i2c: E2 08 00 76 00 80 0D 03 02 00 00 00 00 F1 [08:36:10]Write i2c OK [08:36:10]MH_I2C_Read... [08:36:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:36:10]Read from MH i2c: E2 [08:36:10]MH_I2C_Read... [08:36:10]Read from MH i2c: E2 0B 00 [08:36:10]MH_I2C_Read... [08:36:10]Read from MH i2c: E2 0B 00 76 00 00 88 D3 4B 9C 7A 65 E9 3B 90 00 37 [08:36:10]RAPDU: 88 D3 4B 9C 7A 65 E9 3B 90 00 [08:36:10]wFMCommunicate OK [08:36:10]SAM_PROTO_SignData done [08:36:10]FM_MakeSignedData done [08:36:10]CreateOFDProtocolMessage [08:36:10]wFMCommunicate request_size=4 [08:36:10]MH_SAM_APDU [08:36:10]CAPDU: 80 11 00 00 [08:36:10]Write to MH i2c: E2 08 00 77 00 80 11 00 00 00 00 00 00 F1 [08:36:10]Write i2c OK [08:36:10]MH_I2C_Read... [08:36:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:36:10]Read from MH i2c: E2 [08:36:10]MH_I2C_Read... [08:36:10]Read from MH i2c: E2 17 00 [08:36:10]MH_I2C_Read... [08:36:10]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 34 32 30 90 00 3E [08:36:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:36:10]wFMCommunicate OK [08:36:10]CreateOFDProtocolMessage done [08:36:10]OFDSenderStorePacket 24306 [08:36:10]StoreOFDPacket docnum=24306 [08:36:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2B 01 00 00 FD 3D 23 01 64 70 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 78 12 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F2 5E 00 00 35 04 06 00 BC 38 B0 48 AB EF 88 D3 4B 9C 7A 65 E9 3B [08:36:10]CheckFolder [08:36:10]dirname=/storage/ofd_packets [08:36:10]CheckFolder done [08:36:10]ProducePacketName [08:36:10]name=ofd_packets/00024306 [08:36:10]NVStorageSaveData ofd_packets/00024306 [08:36:10]File name is /storage/ofd_packets/00024306 [08:36:10]Write 329 bytes [08:36:10]NVStorageSaveData done [08:36:10]OFDSenderStorePacket done [08:36:10]KKMCreateOFDPacket done [08:36:10]NVStorageSaveData kkm_last_timestamp [08:36:10]File name is /storage/kkm_last_timestamp [08:36:10]Write 4 bytes [08:36:10]NVStorageSaveData done [08:36:10]ExternCall_PrintAddStr [08:36:10]wPrintStart [08:36:10]Write to MH i2c: 01 00 00 78 00 78 [08:36:10]Write i2c OK [08:36:10]MH_I2C_Read... [08:36:10]Read from MH i2c: 01 [08:36:10]MH_I2C_Read... [08:36:10]Read from MH i2c: 01 07 00 [08:36:10]MH_I2C_Read... [08:36:10]OFD Sender: Processing packet 24306 [packets to send 5, broken 4] [08:36:10]ProducePacketName [08:36:10]name=ofd_packets/00024306 [08:36:10]OFD Sender: To server: pG, [08:36:10]CommunicateWithHost lk.salyk.kg:30040 [08:36:10]ConnectInit lk.salyk.kg [08:36:10]Read from MH i2c: 01 07 00 78 00 00 00 00 00 00 FF 0F 8D [08:36:10]RasterBufferAndPrint [08:36:10]line Счет N : (3)134830 [08:36:10]line ИНН: 02508201610067 [08:36:10]line Контрольно-Кассовый Чек [08:36:10]line ПРОДАЖА [08:36:10]line Товар: 90448300 [08:36:10]line Энерг напиток Red Bull 0,355л [08:36:10]line 1.000 * 265.00 [08:36:10]line = 265.00 [08:36:10]line НДС 12% НСП 1% [08:36:10]line > о реализуемом товаре [08:36:10]line ИТОГО: 265.00 [08:36:10]line НСП 1% : 2.34 [08:36:10]line НДС 12% : 28.14 [08:36:10]line Наличными: 0.00 [08:36:10]line Безнал.: 265.00 [08:36:10]line Место: АЗС № 85 "Партнер Нефть" [08:36:10]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [08:36:10]line СНО: Общий режим [08:36:10]line Чек 10 21.10.2024 08:36 [08:36:10]line Смена: 461 ФФД: 1.0 [08:36:10]line ЗНМ: 0300000166 [08:36:10]line РНМ: 0000000000098120 [08:36:10]line Версия ККМ: 001 [08:36:10]line Платежная система: Mbank [08:36:10]line ФМ: 0000000000965420 [08:36:10]line ФД: 24306 [08:36:10]line ФПД: 206951661743087 [08:36:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T083608&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24306&fm=206951661743087&tin=02508201610067®Number=0000000000098120&sum=26500 [08:36:10]line 0 [08:36:10]written 0, free lines is 4095 [08:36:10]Connected sock=10 [08:36: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 34 32 30 2B 01 00 00 FD 3D 23 01 64 70 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 78 12 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F2 5E 00 00 35 04 06 00 BC 38 B0 48 AB EF 88 D3 4B 9C 7A 65 E9 3B [08:36:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 CB F1 47 00 B7 E8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F2 5E 00 00 F4 03 04 00 1F BE 15 67 B6 04 01 00 00 E8 08 86 8D 40 06 EB 9F [08:36:10]CommunicateWithHost err = 0 [08:36:10]CheckOFDResponse [08:36:10]1017 (14) - 77093643461234 [08:36:10]1041 (16) - 0000000000965420 [08:36:10]1040 (4) - 24306 [08:36:10]1012 (4) - 21.10.2024 02:36 [08:36:10]1206 (1) - 0 [08:36:10]OFD Sender: Remove packet 24306 [08:36:10]ProducePacketName [08:36:10]name=ofd_packets/00024306 [08:36:10]NVStorageDeleteData [08:36:10]Write to MH i2c: 01 00 00 A1 00 A1 [08:36:10]Write i2c OK [08:36:10]MH_I2C_Read... [08:36:10]Read from MH i2c: 01 [08:36:10]MH_I2C_Read... [08:36:10]Read from MH i2c: 01 07 00 [08:36:10]MH_I2C_Read... [08:36:10]Read from MH i2c: 01 07 00 A1 00 00 00 00 00 00 2F 0D E4 [08:36:10]RasterBufferAndPrint [08:36:10]line [08:36:10]line [08:36:10]line [08:36:10]line [08:36:10]line [08:36:10]written 0, free lines is 3399 [08:36:10]process_action close_receipt done [08:36:10]requested_data is exist [08:36:10]produce_requested_data [08:36:10]requested_item fm.sn is exist - process it [08:36:10]wFMCommunicate request_size=4 [08:36:10]MH_SAM_APDU [08:36:10]CAPDU: 80 11 00 00 [08:36:10]Write to MH i2c: E2 08 00 A8 00 80 11 00 00 00 00 00 00 22 [08:36:10]Write i2c OK [08:36:10]MH_I2C_Read... [08:36:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:36:10]Read from MH i2c: E2 [08:36:10]MH_I2C_Read... [08:36:10]Read from MH i2c: E2 17 00 [08:36:10]MH_I2C_Read... [08:36:10]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 34 32 30 90 00 6F [08:36:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:36:10]wFMCommunicate OK [08:36:10]requested_item fd.num is exist - process it [08:36:10]SAM_PROTO_GetFieldsCounters [08:36:10]wFMCommunicate request_size=4 [08:36:10]MH_SAM_APDU [08:36:10]CAPDU: 80 13 00 00 [08:36:10]Write to MH i2c: E2 08 00 A9 00 80 13 00 00 00 00 00 00 25 [08:36:10]Write i2c OK [08:36:10]MH_I2C_Read... [08:36:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:36:10]Read from MH i2c: E2 [08:36:10]MH_I2C_Read... [08:36:10]Read from MH i2c: E2 62 00 [08:36:10]MH_I2C_Read... [08:36:10]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 F2 5E 00 00 0E 04 04 00 CD 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 77 [08:36: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 F2 5E 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:36:11]wFMCommunicate OK [08:36:11]SAM_PROTO_GetFieldsCounters done [08:36:11]requested_item shift.num is exist - process it [08:36:11]requested_item shift.opened is exist - process it [08:36:11]req_shift_opened [08:36:11]FM_GetShiftState [08:36:11]SAM_PROTO_GetShiftState [08:36:11]wFMCommunicate request_size=4 [08:36:11]MH_SAM_APDU [08:36:11]CAPDU: 80 13 01 00 [08:36:11]Write to MH i2c: E2 08 00 AA 00 80 13 01 00 00 00 00 00 27 [08:36:11]Write i2c OK [08:36:11]MH_I2C_Read... [08:36:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:36:11]Read from MH i2c: E2 [08:36:11]MH_I2C_Read... [08:36:11]Read from MH i2c: E2 0E 00 [08:36:11]MH_I2C_Read... [08:36:11]Read from MH i2c: E2 0E 00 AA 00 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 71 [08:36:11]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [08:36:11]wFMCommunicate OK [08:36:11]SAM_PROTO_GetShiftState done [08:36:11]FM_GetShiftState done [08:36:11]req_shift_opened done [08:36:11]requested_item shift.open_date is exist - process it [08:36:11]req_shift_open_date [08:36:11]req_shift_open_date done [08:36:11]produce_requested_data done [08:36:11]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24306,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [08:36:11]process_action_free close_receipt [08:36:11]json_value_free [08:36:11]json_value_free done [08:36:11]process_json_proto returns [08:36:11]Send response to host [08:36:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24306,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [08:36:11]free response buf [08:36:11]execute_script done [08:36:11]execute_script returns [08:36:11]free content buf [08:36:11]Sock 9.Close socket [08:36:11]Sock 9.Thread stoped [08:36:11]OFD Sender: No OFD packet to send [08:36:16]OFD Sender: No OFD packet to send [08:36:21]OFD Sender: No OFD packet to send [08:36:26]OFD Sender: No OFD packet to send [08:36:31]OFD Sender: No OFD packet to send [08:36:36]OFD Sender: No OFD packet to send [08:36:40]accept exits with 8 [08:36:40]New connection [08:36:40]New thread 3067084132 created [08:36:40]Thread 3066940772 joined [08:36:40]Waiting for new connection... [08:36:40] Sock 8.Parse request [08:36:40]Sock 8.Check first char [08:36:40]Sock 8.First char is OK [08:36:40]request: POST /json_proto HTTP/1.0 [08:36:40]Method: POST [08:36:40]URL: /json_proto [08:36:40]Method is POST - this is cgi request [08:36:40]url: /json_proto [08:36:40]query_string will be loaded in cgi processing [08:36:40]execute_cgi json_proto POST (null) [08:36:40]execute_cgi path=json_proto method=POST [08:36:40]POST find Content-Length [08:36:40]Host: 172.17.50.4:8080 [08:36:40]Content-Length: 834 [08:36:40]Content-Type: application/json [08:36:40] [08:36:40]POST finish read [08:36:40]Found Content-Length = 834 [08:36:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 24306, "base_FM": "0000000000965420", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134830", "tax_sys" : 0, "items" : [ { "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 265.00 } ], "post_footer_text": "24306" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:36:40]execute_script... [08:36:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 24306, "base_FM": "0000000000965420", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134830", "tax_sys" : 0, "items" : [ { "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 265.00 } ], "post_footer_text": "24306" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:36:40]POST & json_proto [08:36:40]process_json_proto [08:36:40]json parsed OK: [08:36:40]protocol is kg_v1.0 [08:36:40]action value=close_receipt [08:36:40]process_action close_receipt [08:36:40]cmd_close_receipt [08:36:40]MH_GetDate [08:36:40]Write to MH i2c: F0 00 00 AB 00 9A [08:36:40]Write i2c OK [08:36:40]MH_I2C_Read... [08:36:40]Read from MH i2c: F0 [08:36:40]MH_I2C_Read... [08:36:40]Read from MH i2c: F0 09 00 [08:36:40]MH_I2C_Read... [08:36:40]Read from MH i2c: F0 09 00 AB 00 00 99 12 16 67 3B 12 16 67 95 [08:36:40]GetLastDocTimeStamp 1729499768 [08:36:40]current date 1729499801 [08:36:40]FM_GetShiftState [08:36:40]SAM_PROTO_GetShiftState [08:36:40]wFMCommunicate request_size=4 [08:36:40]MH_SAM_APDU [08:36:40]CAPDU: 80 13 01 00 [08:36:40]Write to MH i2c: E2 08 00 AC 00 80 13 01 00 00 00 00 00 29 [08:36:40]Write i2c OK [08:36:40]MH_I2C_Read... [08:36:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:36:41]Read from MH i2c: E2 [08:36:41]MH_I2C_Read... [08:36:41]Read from MH i2c: E2 0E 00 [08:36:41]MH_I2C_Read... [08:36:41]Read from MH i2c: E2 0E 00 AC 00 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 73 [08:36:41]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [08:36:41]wFMCommunicate OK [08:36:41]SAM_PROTO_GetShiftState done [08:36:41]FM_GetShiftState done [08:36:41]opened in 1729469223 [08:36:41]opened+sec_in_day 1729555623 [08:36:41]quantity*price = 26500 [08:36:41]sum+1 = 26501 [08:36:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 265.00 НСП 1% : 2.34 НДС 12% : 28.14 Наличными: 0.00 Безнал.: 265.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 11 21.10.2024 08:36 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФД осн.: 24306 ФМ осн.: 0000000000965420 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24307 ФПД: 17439127484730 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T083641&type=2&operation_type=1&fn_number=0000000000965420&fd_number=24307&fm=17439127484730&tin=02508201610067®Number=0000000000098120&sum=26500 24306 [08:36:42]StoreToDocumentArchive [08:36:42]shift 461 fd 24307 [08:36:42]save to /storage/0461/doc_00024307 [08:36:42]save last doc name /storage/0461/doc_00024307 to /storage/kkm_last_doc_name [08:36:42]save OK [08:36:42]Clear old archive folders... [08:36:42]ProcessDocumentItem done err = 0, tmpTLVsize=307 [08:36:42]tlvbuf is 0033EE60 [08:36:42]SAM_PROTO_ClearQueue [08:36:42]wFMCommunicate request_size=4 [08:36:42]MH_SAM_APDU [08:36:42]CAPDU: 80 09 00 00 [08:36:42]Write to MH i2c: E2 08 00 BB 00 80 09 00 00 00 00 00 00 2D [08:36:42]Write i2c OK [08:36:42]MH_I2C_Read... [08:36:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:36:42]Read from MH i2c: E2 [08:36:42]MH_I2C_Read... [08:36:42]Read from MH i2c: E2 03 00 [08:36:42]MH_I2C_Read... [08:36:42]Read from MH i2c: E2 03 00 BB 00 00 90 00 2F [08:36:42]RAPDU: 90 00 [08:36:42]wFMCommunicate OK [08:36:42]SAM_PROTO_ClearQueue done [08:36:42]KKMCreateOFDPacket [08:36:42]OFDProtocolAddRootSTLVToBuf [08:36:42]FM_MakeSignedData [08:36:42]FM_MakeSignedData [08:36:42]SAM_PROTO_SignData [08:36:42]wFMCommunicate request_size=4 [08:36:42]MH_SAM_APDU [08:36:42]CAPDU: 80 0D 01 02 [08:36:42]Write to MH i2c: E2 08 00 BC 00 80 0D 01 02 00 00 00 00 35 [08:36:42]Write i2c OK [08:36:42]MH_I2C_Read... [08:36:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:36:42]Read from MH i2c: E2 [08:36:42]MH_I2C_Read... [08:36:42]Read from MH i2c: E2 03 00 [08:36:42]MH_I2C_Read... [08:36:42]Read from MH i2c: E2 03 00 BC 00 00 90 00 30 [08:36:42]RAPDU: 90 00 [08:36:42]wFMCommunicate OK [08:36:42]wFMCommunicate request_size=255 [08:36:42]MH_SAM_APDU [08:36:42]CAPDU: 80 0D 02 02 FA 03 00 33 01 1E 04 01 00 02 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 99 12 16 67 0E 04 04 00 CD 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 32 30 27 04 04 00 F2 [08:36:42]Write to MH i2c: E2 02 01 BD 00 80 0D 02 02 FA 00 03 00 33 01 1E 04 01 00 02 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 99 12 16 67 0E 04 04 00 CD 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 32 30 27 04 04 00 F2 00 00 89 [08:36:42]Write i2c OK [08:36:42]MH_I2C_Read... [08:36:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:36:42]Read from MH i2c: E2 [08:36:42]MH_I2C_Read... [08:36:42]Read from MH i2c: E2 03 00 [08:36:42]MH_I2C_Read... [08:36:42]Read from MH i2c: E2 03 00 BD 00 00 90 00 31 [08:36:42]RAPDU: 90 00 [08:36:42]wFMCommunicate OK [08:36:42]wFMCommunicate request_size=66 [08:36:42]MH_SAM_APDU [08:36:42]CAPDU: 80 0D 02 02 3D 5E 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F3 5E 00 00 35 04 06 00 0F DC 5C FF B9 3A [08:36:42]Write to MH i2c: E2 45 00 BE 00 80 0D 02 02 3D 00 5E 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F3 5E 00 00 35 04 06 00 0F DC 5C FF B9 3A 00 00 86 [08:36:42]Write i2c OK [08:36:42]MH_I2C_Read... [08:36:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:36:42]Read from MH i2c: E2 [08:36:42]MH_I2C_Read... [08:36:42]Read from MH i2c: E2 03 00 [08:36:42]MH_I2C_Read... [08:36:42]Read from MH i2c: E2 03 00 BE 00 00 90 00 32 [08:36:42]RAPDU: 90 00 [08:36:42]wFMCommunicate OK [08:36:42]wFMCommunicate request_size=4 [08:36:42]MH_SAM_APDU [08:36:42]CAPDU: 80 0D 03 02 [08:36:42]Write to MH i2c: E2 08 00 BF 00 80 0D 03 02 00 00 00 00 3A [08:36:42]Write i2c OK [08:36:42]MH_I2C_Read... [08:36:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:36:42]Read from MH i2c: E2 [08:36:42]MH_I2C_Read... [08:36:42]Read from MH i2c: E2 0B 00 [08:36:42]MH_I2C_Read... [08:36:42]Read from MH i2c: E2 0B 00 BF 00 00 CB 6E 95 C8 6F 16 DE 29 90 00 5D [08:36:42]RAPDU: CB 6E 95 C8 6F 16 DE 29 90 00 [08:36:42]wFMCommunicate OK [08:36:42]SAM_PROTO_SignData done [08:36:42]FM_MakeSignedData done [08:36:42]CreateOFDProtocolMessage [08:36:42]wFMCommunicate request_size=4 [08:36:42]MH_SAM_APDU [08:36:42]CAPDU: 80 11 00 00 [08:36:42]Write to MH i2c: E2 08 00 C0 00 80 11 00 00 00 00 00 00 3A [08:36:42]Write i2c OK [08:36:42]MH_I2C_Read... [08:36:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:36:42]Read from MH i2c: E2 [08:36:42]MH_I2C_Read... [08:36:42]Read from MH i2c: E2 17 00 [08:36:42]MH_I2C_Read... [08:36:42]Read from MH i2c: E2 17 00 C0 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 87 [08:36:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:36:42]wFMCommunicate OK [08:36:42]CreateOFDProtocolMessage done [08:36:42]OFDSenderStorePacket 24307 [08:36:42]StoreOFDPacket docnum=24307 [08:36:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 47 01 00 00 E2 9C 3F 01 70 6A 5A 03 01 00 03 00 33 01 1E 04 01 00 02 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 99 12 16 67 0E 04 04 00 CD 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 32 30 27 04 04 00 F2 5E 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F3 5E 00 00 35 04 06 00 0F DC 5C FF B9 3A CB 6E 95 C8 6F 16 DE 29 [08:36:42]CheckFolder [08:36:42]dirname=/storage/ofd_packets [08:36:42]CheckFolder done [08:36:42]ProducePacketName [08:36:42]name=ofd_packets/00024307 [08:36:42]NVStorageSaveData ofd_packets/00024307 [08:36:42]File name is /storage/ofd_packets/00024307 [08:36:42]Write 357 bytes [08:36:42]NVStorageSaveData done [08:36:42]OFDSenderStorePacket done [08:36:42]KKMCreateOFDPacket done [08:36:42]NVStorageSaveData kkm_last_timestamp [08:36:42]File name is /storage/kkm_last_timestamp [08:36:42]Write 4 bytes [08:36:42]NVStorageSaveData done [08:36:42]ExternCall_PrintAddStr [08:36:42]wPrintStart [08:36:42]Write to MH i2c: 01 00 00 C1 00 C1 [08:36:42]Write i2c OK [08:36:42]MH_I2C_Read... [08:36:42]Read from MH i2c: 01 [08:36:42]MH_I2C_Read... [08:36:42]Read from MH i2c: 01 07 00 [08:36:42]MH_I2C_Read... [08:36:42]Read from MH i2c: 01 07 00 C1 00 00 00 00 00 00 FF 0F D6 [08:36:42]RasterBufferAndPrint [08:36:42]line Счет N : (3)134830 [08:36:42]line ИНН: 02508201610067 [08:36:42]line Контрольно-Кассовый Чек [08:36:42]line ВОЗВРАТ ПРОДАЖИ [08:36:42]line Товар: 90448300 [08:36:42]line Энерг напиток Red Bull 0,355л [08:36:42]line 1.000 * 265.00 [08:36:42]line = 265.00 [08:36:42]line НДС 12% НСП 1% [08:36:42]line > о реализуемом товаре [08:36:42]line ИТОГО: 265.00 [08:36:42]line НСП 1% : 2.34 [08:36:42]line НДС 12% : 28.14 [08:36:42]line Наличными: 0.00 [08:36:42]line Безнал.: 265.00 [08:36:42]line Место: АЗС № 85 "Партнер Нефть" [08:36:42]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [08:36:42]line СНО: Общий режим [08:36:42]line Чек 11 21.10.2024 08:36 [08:36:42]line Смена: 461 ФФД: 1.0 [08:36:42]line ЗНМ: 0300000166 [08:36:42]line РНМ: 0000000000098120 [08:36:42]line Версия ККМ: 001 [08:36:42]line ФД осн.: 24306 [08:36:42]line ФМ осн.: 0000000000965420 [08:36:42]line Платежная система: Mbank [08:36:42]line ФМ: 0000000000965420 [08:36:42]line ФД: 24307 [08:36:42]line ФПД: 17439127484730 [08:36:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T083641&type=2&operation_type=1&fn_number=0000000000965420&fd_number=24307&fm=17439127484730&tin=02508201610067®Number=0000000000098120&sum=26500 [08:36:43]OFD Sender: Processing packet 24307 [packets to send 5, broken 4] [08:36:43]ProducePacketName [08:36:43]name=ofd_packets/00024307 [08:36:43]OFD Sender: To server: pG, [08:36:43]CommunicateWithHost lk.salyk.kg:30040 [08:36:43]ConnectInit lk.salyk.kg [08:36:43]line 24306 [08:36:43]written 0, free lines is 4095 [08:36:43]Connected sock=10 [08:36:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 47 01 00 00 E2 9C 3F 01 70 6A 5A 03 01 00 03 00 33 01 1E 04 01 00 02 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 99 12 16 67 0E 04 04 00 CD 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 32 30 27 04 04 00 F2 5E 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F3 5E 00 00 35 04 06 00 0F DC 5C FF B9 3A CB 6E 95 C8 6F 16 DE 29 [08:36:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 06 6F 47 00 86 31 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F3 5E 00 00 F4 03 04 00 40 BE 15 67 B6 04 01 00 00 B9 0C 5F CB E3 3B F3 E8 [08:36:43]CommunicateWithHost err = 0 [08:36:43]CheckOFDResponse [08:36:43]1017 (14) - 77093643461234 [08:36:43]1041 (16) - 0000000000965420 [08:36:43]1040 (4) - 24307 [08:36:43]1012 (4) - 21.10.2024 02:36 [08:36:43]1206 (1) - 0 [08:36:43]OFD Sender: Remove packet 24307 [08:36:43]ProducePacketName [08:36:43]name=ofd_packets/00024307 [08:36:43]NVStorageDeleteData [08:36:43]Write to MH i2c: 01 00 00 EC 00 EC [08:36:43]Write i2c OK [08:36:43]MH_I2C_Read... [08:36:43]Read from MH i2c: 01 [08:36:43]MH_I2C_Read... [08:36:43]Read from MH i2c: 01 07 00 [08:36:43]MH_I2C_Read... [08:36:43]Read from MH i2c: 01 07 00 EC 00 00 00 00 00 00 0C 0D 0C [08:36:43]RasterBufferAndPrint [08:36:43]line [08:36:43]line [08:36:43]line [08:36:43]line [08:36:43]line [08:36:43]written 0, free lines is 3348 [08:36:43]process_action close_receipt done [08:36:43]requested_data is exist [08:36:43]produce_requested_data [08:36:43]requested_item fm.sn is exist - process it [08:36:43]wFMCommunicate request_size=4 [08:36:43]MH_SAM_APDU [08:36:43]CAPDU: 80 11 00 00 [08:36:43]Write to MH i2c: E2 08 00 F3 00 80 11 00 00 00 00 00 00 6D [08:36:43]Write i2c OK [08:36:43]MH_I2C_Read... [08:36:43]Read from MH i2c: E2 [08:36:43]MH_I2C_Read... [08:36:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:36:43]Read from MH i2c: E2 17 00 [08:36:43]MH_I2C_Read... [08:36:43]Read from MH i2c: E2 17 00 F3 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 BA [08:36:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:36:43]wFMCommunicate OK [08:36:43]requested_item fd.num is exist - process it [08:36:43]SAM_PROTO_GetFieldsCounters [08:36:43]wFMCommunicate request_size=4 [08:36:43]MH_SAM_APDU [08:36:43]CAPDU: 80 13 00 00 [08:36:43]Write to MH i2c: E2 08 00 F4 00 80 13 00 00 00 00 00 00 70 [08:36:43]Write i2c OK [08:36:43]MH_I2C_Read... [08:36:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:36:43]Read from MH i2c: E2 [08:36:43]MH_I2C_Read... [08:36:43]Read from MH i2c: E2 62 00 [08:36:43]MH_I2C_Read... [08:36:43]Read from MH i2c: E2 62 00 F4 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 F3 5E 00 00 0E 04 04 00 CD 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 C6 [08:36: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 F3 5E 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:36:43]wFMCommunicate OK [08:36:43]SAM_PROTO_GetFieldsCounters done [08:36:43]requested_item shift.num is exist - process it [08:36:43]requested_item shift.opened is exist - process it [08:36:43]req_shift_opened [08:36:43]FM_GetShiftState [08:36:43]SAM_PROTO_GetShiftState [08:36:43]wFMCommunicate request_size=4 [08:36:43]MH_SAM_APDU [08:36:43]CAPDU: 80 13 01 00 [08:36:43]Write to MH i2c: E2 08 00 F5 00 80 13 01 00 00 00 00 00 72 [08:36:43]Write i2c OK [08:36:43]MH_I2C_Read... [08:36:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:36:43]Read from MH i2c: E2 [08:36:43]MH_I2C_Read... [08:36:43]Read from MH i2c: E2 0E 00 [08:36:43]MH_I2C_Read... [08:36:43]Read from MH i2c: E2 0E 00 F5 00 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 BC [08:36:43]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [08:36:43]wFMCommunicate OK [08:36:43]SAM_PROTO_GetShiftState done [08:36:43]FM_GetShiftState done [08:36:43]req_shift_opened done [08:36:43]requested_item shift.open_date is exist - process it [08:36:43]req_shift_open_date [08:36:43]req_shift_open_date done [08:36:43]produce_requested_data done [08:36:43]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24307,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [08:36:43]process_action_free close_receipt [08:36:43]json_value_free [08:36:43]json_value_free done [08:36:43]process_json_proto returns [08:36:43]Send response to host [08:36:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24307,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [08:36:43]free response buf [08:36:43]execute_script done [08:36:43]execute_script returns [08:36:43]free content buf [08:36:43]Sock 8.Close socket [08:36:43]Sock 8.Thread stoped [08:36:44]OFD Sender: No OFD packet to send [08:36:49]OFD Sender: No OFD packet to send [08:36:54]OFD Sender: No OFD packet to send [08:36:59]OFD Sender: No OFD packet to send [08:37:04]OFD Sender: No OFD packet to send [08:37:09]OFD Sender: No OFD packet to send [08:37:14]OFD Sender: No OFD packet to send [08:37:19]OFD Sender: No OFD packet to send [08:37:23]accept exits with 9 [08:37:23]New connection [08:37:23]New thread 3066940772 created [08:37:23]Thread 3067084132 joined [08:37:23]Waiting for new connection... [08:37:23] Sock 9.Parse request [08:37:23]Sock 9.Check first char [08:37:23]Sock 9.First char is OK [08:37:23]request: POST /json_proto HTTP/1.0 [08:37:23]Method: POST [08:37:23]URL: /json_proto [08:37:23]Method is POST - this is cgi request [08:37:23]url: /json_proto [08:37:23]query_string will be loaded in cgi processing [08:37:23]execute_cgi json_proto POST (null) [08:37:23]execute_cgi path=json_proto method=POST [08:37:23]POST find Content-Length [08:37:23]Host: 172.17.50.4:8080 [08:37:23]Content-Length: 824 [08:37:23]Content-Type: application/json [08:37:23] [08:37:23]POST finish read [08:37:23]Found Content-Length = 824 [08:37:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134831", "tax_sys" : 0, "items" : [ { "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 265.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:37:23]execute_script... [08:37: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)134831", "tax_sys" : 0, "items" : [ { "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 265.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:37:23]POST & json_proto [08:37:23]process_json_proto [08:37:23]json parsed OK: [08:37:23]protocol is kg_v1.0 [08:37:23]action value=close_receipt [08:37:23]process_action close_receipt [08:37:23]cmd_close_receipt [08:37:23]MH_GetDate [08:37:23]Write to MH i2c: F0 00 00 F6 00 E5 [08:37:23]Write i2c OK [08:37:23]MH_I2C_Read... [08:37:23]Read from MH i2c: F0 [08:37:23]MH_I2C_Read... [08:37:23]Read from MH i2c: F0 09 00 [08:37:23]MH_I2C_Read... [08:37:23]Read from MH i2c: F0 09 00 F6 00 00 C3 12 16 67 3B 12 16 67 0A [08:37:23]GetLastDocTimeStamp 1729499801 [08:37:23]current date 1729499843 [08:37:23]FM_GetShiftState [08:37:23]SAM_PROTO_GetShiftState [08:37:23]wFMCommunicate request_size=4 [08:37:23]MH_SAM_APDU [08:37:23]CAPDU: 80 13 01 00 [08:37:23]Write to MH i2c: E2 08 00 F7 00 80 13 01 00 00 00 00 00 74 [08:37:23]Write i2c OK [08:37:23]MH_I2C_Read... [08:37:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:37:23]Read from MH i2c: E2 [08:37:23]MH_I2C_Read... [08:37:23]Read from MH i2c: E2 0E 00 [08:37:23]MH_I2C_Read... [08:37:23]Read from MH i2c: E2 0E 00 F7 00 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 BE [08:37:23]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [08:37:23]wFMCommunicate OK [08:37:23]SAM_PROTO_GetShiftState done [08:37:23]FM_GetShiftState done [08:37:23]opened in 1729469223 [08:37:23]opened+sec_in_day 1729555623 [08:37:23]quantity*price = 26500 [08:37:23]sum+1 = 26501 [08:37:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 265.00 НСП 1% : 2.34 НДС 12% : 28.14 Наличными: 0.00 Безнал.: 265.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 12 21.10.2024 08:37 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965420 ФД: 24308 ФПД: 240507477920632 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T083723&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24308&fm=240507477920632&tin=02508201610067®Number=0000000000098120&sum=26500 0 [08:37:24]StoreToDocumentArchive [08:37:24]shift 461 fd 24308 [08:37:24]save to /storage/0461/doc_00024308 [08:37:24]save last doc name /storage/0461/doc_00024308 to /storage/kkm_last_doc_name [08:37:24]save OK [08:37:24]Clear old archive folders... [08:37:24]ProcessDocumentItem done err = 0, tmpTLVsize=279 [08:37:24]tlvbuf is 00325380 [08:37:24]SAM_PROTO_ClearQueue [08:37:24]wFMCommunicate request_size=4 [08:37:24]MH_SAM_APDU [08:37:24]CAPDU: 80 09 00 00 [08:37:24]Write to MH i2c: E2 08 00 04 01 80 09 00 00 00 00 00 00 77 [08:37:24]Write i2c OK [08:37:24]MH_I2C_Read... [08:37:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:37:24]Read from MH i2c: E2 [08:37:24]MH_I2C_Read... [08:37:24]Read from MH i2c: E2 03 00 [08:37:24]MH_I2C_Read... [08:37:24]Read from MH i2c: E2 03 00 04 01 00 90 00 79 [08:37:24]RAPDU: 90 00 [08:37:24]wFMCommunicate OK [08:37:24]SAM_PROTO_ClearQueue done [08:37:24]KKMCreateOFDPacket [08:37:24]OFDProtocolAddRootSTLVToBuf [08:37:24]FM_MakeSignedData [08:37:24]FM_MakeSignedData [08:37:24]SAM_PROTO_SignData [08:37:24]wFMCommunicate request_size=4 [08:37:24]MH_SAM_APDU [08:37:24]CAPDU: 80 0D 01 02 [08:37:24]Write to MH i2c: E2 08 00 05 01 80 0D 01 02 00 00 00 00 7F [08:37:24]Write i2c OK [08:37:24]MH_I2C_Read... [08:37:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:37:24]Read from MH i2c: E2 [08:37:24]MH_I2C_Read... [08:37:24]Read from MH i2c: E2 03 00 [08:37:24]MH_I2C_Read... [08:37:24]Read from MH i2c: E2 03 00 05 01 00 90 00 7A [08:37:24]RAPDU: 90 00 [08:37:24]wFMCommunicate OK [08:37:24]wFMCommunicate request_size=255 [08:37:24]MH_SAM_APDU [08:37:24]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 C3 12 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 [08:37:24]Write to MH i2c: E2 02 01 06 01 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 C3 12 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 00 00 15 [08:37:24]Write i2c OK [08:37:24]MH_I2C_Read... [08:37:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:37:24]Read from MH i2c: E2 [08:37:24]MH_I2C_Read... [08:37:24]Read from MH i2c: E2 03 00 [08:37:24]MH_I2C_Read... [08:37:24]Read from MH i2c: E2 03 00 06 01 00 90 00 7B [08:37:24]RAPDU: 90 00 [08:37:24]wFMCommunicate OK [08:37:24]wFMCommunicate request_size=38 [08:37:24]MH_SAM_APDU [08:37:24]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F4 5E 00 00 35 04 06 00 DA BD 82 C9 8B 78 [08:37:24]Write to MH i2c: E2 29 00 07 01 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F4 5E 00 00 35 04 06 00 DA BD 82 C9 8B 78 00 00 3C [08:37:24]Write i2c OK [08:37:24]MH_I2C_Read... [08:37:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:37:24]Read from MH i2c: E2 [08:37:24]MH_I2C_Read... [08:37:24]Read from MH i2c: E2 03 00 [08:37:24]MH_I2C_Read... [08:37:24]Read from MH i2c: E2 03 00 07 01 00 90 00 7C [08:37:24]RAPDU: 90 00 [08:37:24]wFMCommunicate OK [08:37:24]wFMCommunicate request_size=4 [08:37:24]MH_SAM_APDU [08:37:24]CAPDU: 80 0D 03 02 [08:37:24]Write to MH i2c: E2 08 00 08 01 80 0D 03 02 00 00 00 00 84 [08:37:24]Write i2c OK [08:37:24]MH_I2C_Read... [08:37:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:37:24]Read from MH i2c: E2 [08:37:24]MH_I2C_Read... [08:37:24]Read from MH i2c: E2 0B 00 [08:37:24]MH_I2C_Read... [08:37:24]Read from MH i2c: E2 0B 00 08 01 00 E7 67 7C 6F EF 3E 0F F4 90 00 EE [08:37:24]RAPDU: E7 67 7C 6F EF 3E 0F F4 90 00 [08:37:24]wFMCommunicate OK [08:37:24]SAM_PROTO_SignData done [08:37:24]FM_MakeSignedData done [08:37:24]CreateOFDProtocolMessage [08:37:24]wFMCommunicate request_size=4 [08:37:24]MH_SAM_APDU [08:37:24]CAPDU: 80 11 00 00 [08:37:24]Write to MH i2c: E2 08 00 09 01 80 11 00 00 00 00 00 00 84 [08:37:24]Write i2c OK [08:37:24]MH_I2C_Read... [08:37:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:37:24]Read from MH i2c: E2 [08:37:24]MH_I2C_Read... [08:37:24]Read from MH i2c: E2 17 00 [08:37:24]MH_I2C_Read... [08:37:24]Read from MH i2c: E2 17 00 09 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 D1 [08:37:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:37:24]wFMCommunicate OK [08:37:24]CreateOFDProtocolMessage done [08:37:24]OFDSenderStorePacket 24308 [08:37:24]StoreOFDPacket docnum=24308 [08:37:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2B 01 00 00 19 01 23 01 4B 86 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 C3 12 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F4 5E 00 00 35 04 06 00 DA BD 82 C9 8B 78 E7 67 7C 6F EF 3E 0F F4 [08:37:24]CheckFolder [08:37:24]dirname=/storage/ofd_packets [08:37:24]CheckFolder done [08:37:24]ProducePacketName [08:37:24]name=ofd_packets/00024308 [08:37:24]NVStorageSaveData ofd_packets/00024308 [08:37:24]File name is /storage/ofd_packets/00024308 [08:37:24]Write 329 bytes [08:37:24]NVStorageSaveData done [08:37:24]OFDSenderStorePacket done [08:37:24]KKMCreateOFDPacket done [08:37:24]NVStorageSaveData kkm_last_timestamp [08:37:24]File name is /storage/kkm_last_timestamp [08:37:24]Write 4 bytes [08:37:24]NVStorageSaveData done [08:37:24]ExternCall_PrintAddStr [08:37:24]wPrintStart [08:37:24]Write to MH i2c: 01 00 00 0A 01 0B [08:37:24]Write i2c OK [08:37:24]MH_I2C_Read... [08:37:24]Read from MH i2c: 01 [08:37:24]MH_I2C_Read... [08:37:24]Read from MH i2c: 01 07 00 [08:37:24]MH_I2C_Read... [08:37:24]Read from MH i2c: 01 07 00 0A 01 00 00 00 00 00 FF 0F 20 [08:37:24]RasterBufferAndPrint [08:37:24]line Счет N : (3)134831 [08:37:24]line ИНН: 02508201610067 [08:37:24]line Контрольно-Кассовый Чек [08:37:24]line ПРОДАЖА [08:37:24]line Товар: 90448300 [08:37:24]line Энерг напиток Red Bull 0,355л [08:37:24]line 1.000 * 265.00 [08:37:24]line = 265.00 [08:37:24]line НДС 12% НСП 1% [08:37:24]line > о реализуемом товаре [08:37:24]line ИТОГО: 265.00 [08:37:24]line НСП 1% : 2.34 [08:37:24]line НДС 12% : 28.14 [08:37:24]line Наличными: 0.00 [08:37:24]line Безнал.: 265.00 [08:37:24]line Место: АЗС № 85 "Партнер Нефть" [08:37:24]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [08:37:24]line СНО: Общий режим [08:37:24]line Чек 12 21.10.2024 08:37 [08:37:24]line Смена: 461 ФФД: 1.0 [08:37:24]line ЗНМ: 0300000166 [08:37:24]line РНМ: 0000000000098120 [08:37:24]line Версия ККМ: 001 [08:37:24]line Платежная система: Бакай Банк [08:37:24]line ФМ: 0000000000965420 [08:37:24]line ФД: 24308 [08:37:24]line ФПД: 240507477920632 [08:37:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T083723&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24308&fm=240507477920632&tin=02508201610067®Number=0000000000098120&sum=26500 [08:37:25]line 0 [08:37:25]OFD Sender: Processing packet 24308 [packets to send 5, broken 4] [08:37:25]ProducePacketName [08:37:25]name=ofd_packets/00024308 [08:37:25]OFD Sender: To server: pG, [08:37:25]CommunicateWithHost lk.salyk.kg:30040 [08:37:25]ConnectInit lk.salyk.kg [08:37:25]written 0, free lines is 4095 [08:37:25]Connected sock=10 [08:37: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 34 32 30 2B 01 00 00 19 01 23 01 4B 86 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 C3 12 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F4 5E 00 00 35 04 06 00 DA BD 82 C9 8B 78 E7 67 7C 6F EF 3E 0F F4 [08:37:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 C8 07 47 00 61 A9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F4 5E 00 00 F4 03 04 00 6A BE 15 67 B6 04 01 00 00 AA FF A2 C8 2A BB 0E D5 [08:37:25]CommunicateWithHost err = 0 [08:37:25]CheckOFDResponse [08:37:25]1017 (14) - 77093643461234 [08:37:25]1041 (16) - 0000000000965420 [08:37:25]1040 (4) - 24308 [08:37:25]1012 (4) - 21.10.2024 02:37 [08:37:25]1206 (1) - 0 [08:37:25]OFD Sender: Remove packet 24308 [08:37:25]ProducePacketName [08:37:25]name=ofd_packets/00024308 [08:37:25]NVStorageDeleteData [08:37:25]Write to MH i2c: 01 00 00 34 01 35 [08:37:25]Write i2c OK [08:37:25]MH_I2C_Read... [08:37:25]Read from MH i2c: 01 [08:37:25]MH_I2C_Read... [08:37:25]Read from MH i2c: 01 07 00 [08:37:25]MH_I2C_Read... [08:37:25]Read from MH i2c: 01 07 00 34 01 00 00 00 00 00 03 0D 4C [08:37:25]RasterBufferAndPrint [08:37:25]line [08:37:25]line [08:37:25]line [08:37:25]line [08:37:25]line [08:37:25]written 0, free lines is 3337 [08:37:25]process_action close_receipt done [08:37:25]requested_data is exist [08:37:25]produce_requested_data [08:37:25]requested_item fm.sn is exist - process it [08:37:25]wFMCommunicate request_size=4 [08:37:25]MH_SAM_APDU [08:37:25]CAPDU: 80 11 00 00 [08:37:25]Write to MH i2c: E2 08 00 3B 01 80 11 00 00 00 00 00 00 B6 [08:37:25]Write i2c OK [08:37:25]MH_I2C_Read... [08:37:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:37:25]Read from MH i2c: E2 [08:37:25]MH_I2C_Read... [08:37:25]Read from MH i2c: E2 17 00 [08:37:25]MH_I2C_Read... [08:37:25]Read from MH i2c: E2 17 00 3B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 03 [08:37:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:37:25]wFMCommunicate OK [08:37:25]requested_item fd.num is exist - process it [08:37:25]SAM_PROTO_GetFieldsCounters [08:37:25]wFMCommunicate request_size=4 [08:37:25]MH_SAM_APDU [08:37:25]CAPDU: 80 13 00 00 [08:37:25]Write to MH i2c: E2 08 00 3C 01 80 13 00 00 00 00 00 00 B9 [08:37:25]Write i2c OK [08:37:25]MH_I2C_Read... [08:37:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:37:25]Read from MH i2c: E2 [08:37:25]MH_I2C_Read... [08:37:25]Read from MH i2c: E2 62 00 [08:37:25]MH_I2C_Read... [08:37:25]Read from MH i2c: E2 62 00 3C 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 F4 5E 00 00 0E 04 04 00 CD 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 13 [08:37: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 F4 5E 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:37:25]wFMCommunicate OK [08:37:25]SAM_PROTO_GetFieldsCounters done [08:37:25]requested_item shift.num is exist - process it [08:37:25]requested_item shift.opened is exist - process it [08:37:25]req_shift_opened [08:37:25]FM_GetShiftState [08:37:25]SAM_PROTO_GetShiftState [08:37:25]wFMCommunicate request_size=4 [08:37:25]MH_SAM_APDU [08:37:25]CAPDU: 80 13 01 00 [08:37:25]Write to MH i2c: E2 08 00 3D 01 80 13 01 00 00 00 00 00 BB [08:37:25]Write i2c OK [08:37:25]MH_I2C_Read... [08:37:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:37:25]Read from MH i2c: E2 [08:37:25]MH_I2C_Read... [08:37:25]Read from MH i2c: E2 0E 00 [08:37:25]MH_I2C_Read... [08:37:25]Read from MH i2c: E2 0E 00 3D 01 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 05 [08:37:25]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [08:37:25]wFMCommunicate OK [08:37:25]SAM_PROTO_GetShiftState done [08:37:25]FM_GetShiftState done [08:37:25]req_shift_opened done [08:37:25]requested_item shift.open_date is exist - process it [08:37:25]req_shift_open_date [08:37:25]req_shift_open_date done [08:37:25]produce_requested_data done [08:37:25]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24308,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [08:37:25]process_action_free close_receipt [08:37:25]json_value_free [08:37:25]json_value_free done [08:37:25]process_json_proto returns [08:37:25]Send response to host [08:37:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24308,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [08:37:25]free response buf [08:37:25]execute_script done [08:37:25]execute_script returns [08:37:25]free content buf [08:37:25]Sock 9.Close socket [08:37:25]Sock 9.Thread stoped [08:37:26]OFD Sender: No OFD packet to send [08:37:31]OFD Sender: No OFD packet to send [08:37:36]OFD Sender: No OFD packet to send [08:37:41]OFD Sender: No OFD packet to send [08:37:46]OFD Sender: No OFD packet to send [08:37:51]OFD Sender: No OFD packet to send [08:37:56]OFD Sender: No OFD packet to send [08:38:01]OFD Sender: No OFD packet to send [08:38:06]OFD Sender: No OFD packet to send [08:38:11]OFD Sender: No OFD packet to send [08:38:16]OFD Sender: No OFD packet to send [08:38:21]OFD Sender: No OFD packet to send [08:38:26]OFD Sender: No OFD packet to send [08:38:31]OFD Sender: No OFD packet to send [08:38:36]OFD Sender: No OFD packet to send [08:38:41]OFD Sender: No OFD packet to send [08:38:46]OFD Sender: No OFD packet to send [08:38:51]OFD Sender: No OFD packet to send [08:38:56]OFD Sender: No OFD packet to send [08:39:01]OFD Sender: No OFD packet to send [08:39:06]OFD Sender: No OFD packet to send [08:39:11]OFD Sender: No OFD packet to send [08:39:16]OFD Sender: No OFD packet to send [08:39:21]OFD Sender: No OFD packet to send [08:39:26]OFD Sender: No OFD packet to send [08:39:31]OFD Sender: No OFD packet to send [08:39:36]OFD Sender: No OFD packet to send [08:39:41]OFD Sender: No OFD packet to send [08:39:46]OFD Sender: No OFD packet to send [08:39:51]OFD Sender: No OFD packet to send [08:39:56]OFD Sender: No OFD packet to send [08:40:01]OFD Sender: No OFD packet to send [08:40:06]OFD Sender: No OFD packet to send [08:40:11]OFD Sender: No OFD packet to send [08:40:16]OFD Sender: No OFD packet to send [08:40:21]OFD Sender: No OFD packet to send [08:40:26]OFD Sender: No OFD packet to send [08:40:31]OFD Sender: No OFD packet to send [08:40:36]OFD Sender: No OFD packet to send [08:40:41]OFD Sender: No OFD packet to send [08:40:46]OFD Sender: No OFD packet to send [08:40:51]OFD Sender: No OFD packet to send [08:40:56]OFD Sender: No OFD packet to send [08:41:01]OFD Sender: No OFD packet to send [08:41:06]OFD Sender: No OFD packet to send [08:41:11]OFD Sender: No OFD packet to send [08:41:16]OFD Sender: No OFD packet to send [08:41:21]OFD Sender: No OFD packet to send [08:41:26]OFD Sender: No OFD packet to send [08:41:30]accept exits with 8 [08:41:30]New connection [08:41:30]New thread 3067084132 created [08:41:30]Thread 3066940772 joined [08:41:30]Waiting for new connection... [08:41:30] Sock 8.Parse request [08:41:30]Sock 8.Check first char [08:41:30]Sock 8.First char is OK [08:41:30]request: POST /json_proto HTTP/1.0 [08:41:30]Method: POST [08:41:30]URL: /json_proto [08:41:30]Method is POST - this is cgi request [08:41:30]url: /json_proto [08:41:30]query_string will be loaded in cgi processing [08:41:30]execute_cgi json_proto POST (null) [08:41:30]execute_cgi path=json_proto method=POST [08:41:30]POST find Content-Length [08:41:30]Host: 172.17.50.4:8080 [08:41:30]Content-Length: 608 [08:41:30]Content-Type: application/json [08:41:30] [08:41:30]POST finish read [08:41:30]Found Content-Length = 608 [08:41:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134832", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 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" ] } } [08:41:30]execute_script... [08:41: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)134832", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 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" ] } } [08:41:30]POST & json_proto [08:41:30]process_json_proto [08:41:30]json parsed OK: [08:41:30]protocol is kg_v1.0 [08:41:30]action value=close_receipt [08:41:30]process_action close_receipt [08:41:30]cmd_close_receipt [08:41:30]MH_GetDate [08:41:30]Write to MH i2c: F0 00 00 3E 01 2E [08:41:30]Write i2c OK [08:41:30]MH_I2C_Read... [08:41:30]Read from MH i2c: F0 [08:41:30]MH_I2C_Read... [08:41:30]Read from MH i2c: F0 09 00 [08:41:30]MH_I2C_Read... [08:41:30]Read from MH i2c: F0 09 00 3E 01 00 BA 13 16 67 3B 12 16 67 4B [08:41:30]GetLastDocTimeStamp 1729499843 [08:41:30]current date 1729500090 [08:41:30]FM_GetShiftState [08:41:30]SAM_PROTO_GetShiftState [08:41:30]wFMCommunicate request_size=4 [08:41:30]MH_SAM_APDU [08:41:30]CAPDU: 80 13 01 00 [08:41:30]Write to MH i2c: E2 08 00 3F 01 80 13 01 00 00 00 00 00 BD [08:41:30]Write i2c OK [08:41:30]MH_I2C_Read... [08:41:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:41:30]Read from MH i2c: E2 [08:41:30]MH_I2C_Read... [08:41:30]Read from MH i2c: E2 0E 00 [08:41:30]MH_I2C_Read... [08:41:30]Read from MH i2c: E2 0E 00 3F 01 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 07 [08:41:30]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [08:41:30]wFMCommunicate OK [08:41:30]SAM_PROTO_GetShiftState done [08:41:30]FM_GetShiftState done [08:41:30]opened in 1729469223 [08:41:30]opened+sec_in_day 1729555623 [08:41:30]quantity*price = 1000 [08:41:30]sum+1 = 1001 [08:41:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 13 21.10.2024 08:41 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24309 ФПД: 39831901226014 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T084130&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24309&fm=39831901226014&tin=02508201610067®Number=0000000000098120&sum=1000 0 [08:41:31]StoreToDocumentArchive [08:41:31]shift 461 fd 24309 [08:41:31]save to /storage/0461/doc_00024309 [08:41:31]save last doc name /storage/0461/doc_00024309 to /storage/kkm_last_doc_name [08:41:31]save OK [08:41:31]Clear old archive folders... [08:41:31]ProcessDocumentItem done err = 0, tmpTLVsize=267 [08:41:31]tlvbuf is 003385E0 [08:41:31]SAM_PROTO_ClearQueue [08:41:31]wFMCommunicate request_size=4 [08:41:31]MH_SAM_APDU [08:41:31]CAPDU: 80 09 00 00 [08:41:31]Write to MH i2c: E2 08 00 4C 01 80 09 00 00 00 00 00 00 BF [08:41:31]Write i2c OK [08:41:31]MH_I2C_Read... [08:41:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:41:31]Read from MH i2c: E2 [08:41:31]MH_I2C_Read... [08:41:31]OFD Sender: No OFD packet to send [08:41:31]Read from MH i2c: E2 03 00 [08:41:31]MH_I2C_Read... [08:41:31]Read from MH i2c: E2 03 00 4C 01 00 90 00 C1 [08:41:31]RAPDU: 90 00 [08:41:31]wFMCommunicate OK [08:41:31]SAM_PROTO_ClearQueue done [08:41:31]KKMCreateOFDPacket [08:41:31]OFDProtocolAddRootSTLVToBuf [08:41:31]FM_MakeSignedData [08:41:31]FM_MakeSignedData [08:41:31]SAM_PROTO_SignData [08:41:31]wFMCommunicate request_size=4 [08:41:31]MH_SAM_APDU [08:41:31]CAPDU: 80 0D 01 02 [08:41:31]Write to MH i2c: E2 08 00 4D 01 80 0D 01 02 00 00 00 00 C7 [08:41:31]Write i2c OK [08:41:31]MH_I2C_Read... [08:41:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:41:31]Read from MH i2c: E2 [08:41:31]MH_I2C_Read... [08:41:31]Read from MH i2c: E2 03 00 [08:41:31]MH_I2C_Read... [08:41:31]Read from MH i2c: E2 03 00 4D 01 00 90 00 C2 [08:41:31]RAPDU: 90 00 [08:41:31]wFMCommunicate OK [08:41:31]wFMCommunicate request_size=255 [08:41:31]MH_SAM_APDU [08:41:31]CAPDU: 80 0D 02 02 FA 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 0D 00 00 00 F4 03 04 00 BA 13 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 [08:41:31]Write to MH i2c: E2 02 01 4E 01 80 0D 02 02 FA 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 0D 00 00 00 F4 03 04 00 BA 13 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 00 00 7E [08:41:31]Write i2c OK [08:41:31]MH_I2C_Read... [08:41:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:41:31]Read from MH i2c: E2 [08:41:31]MH_I2C_Read... [08:41:31]Read from MH i2c: E2 03 00 [08:41:31]MH_I2C_Read... [08:41:31]Read from MH i2c: E2 03 00 4E 01 00 90 00 C3 [08:41:31]RAPDU: 90 00 [08:41:31]wFMCommunicate OK [08:41:31]wFMCommunicate request_size=26 [08:41:31]MH_SAM_APDU [08:41:31]CAPDU: 80 0D 02 02 15 34 32 30 10 04 04 00 F5 5E 00 00 35 04 06 00 24 3A 16 52 C4 1E [08:41:31]Write to MH i2c: E2 1D 00 4F 01 80 0D 02 02 15 00 34 32 30 10 04 04 00 F5 5E 00 00 35 04 06 00 24 3A 16 52 C4 1E 00 00 DC [08:41:31]Write i2c OK [08:41:31]MH_I2C_Read... [08:41:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:41:31]Read from MH i2c: E2 [08:41:31]MH_I2C_Read... [08:41:31]Read from MH i2c: E2 03 00 [08:41:31]MH_I2C_Read... [08:41:31]Read from MH i2c: E2 03 00 4F 01 00 90 00 C4 [08:41:31]RAPDU: 90 00 [08:41:31]wFMCommunicate OK [08:41:31]wFMCommunicate request_size=4 [08:41:31]MH_SAM_APDU [08:41:31]CAPDU: 80 0D 03 02 [08:41:31]Write to MH i2c: E2 08 00 50 01 80 0D 03 02 00 00 00 00 CC [08:41:31]Write i2c OK [08:41:31]MH_I2C_Read... [08:41:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:41:31]Read from MH i2c: E2 [08:41:31]MH_I2C_Read... [08:41:31]Read from MH i2c: E2 0B 00 [08:41:31]MH_I2C_Read... [08:41:31]Read from MH i2c: E2 0B 00 50 01 00 85 49 77 18 AF 0C 3B CF 90 00 EF [08:41:31]RAPDU: 85 49 77 18 AF 0C 3B CF 90 00 [08:41:31]wFMCommunicate OK [08:41:31]SAM_PROTO_SignData done [08:41:31]FM_MakeSignedData done [08:41:31]CreateOFDProtocolMessage [08:41:31]wFMCommunicate request_size=4 [08:41:31]MH_SAM_APDU [08:41:31]CAPDU: 80 11 00 00 [08:41:31]Write to MH i2c: E2 08 00 51 01 80 11 00 00 00 00 00 00 CC [08:41:31]Write i2c OK [08:41:31]MH_I2C_Read... [08:41:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:41:31]Read from MH i2c: E2 [08:41:31]MH_I2C_Read... [08:41:31]Read from MH i2c: E2 17 00 [08:41:31]MH_I2C_Read... [08:41:31]Read from MH i2c: E2 17 00 51 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 19 [08:41:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:41:31]wFMCommunicate OK [08:41:31]CreateOFDProtocolMessage done [08:41:31]OFDSenderStorePacket 24309 [08:41:31]StoreOFDPacket docnum=24309 [08:41:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 7F 71 17 01 E9 3A 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 0D 00 00 00 F4 03 04 00 BA 13 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F5 5E 00 00 35 04 06 00 24 3A 16 52 C4 1E 85 49 77 18 AF 0C 3B CF [08:41:31]CheckFolder [08:41:31]dirname=/storage/ofd_packets [08:41:31]CheckFolder done [08:41:31]ProducePacketName [08:41:31]name=ofd_packets/00024309 [08:41:31]NVStorageSaveData ofd_packets/00024309 [08:41:31]File name is /storage/ofd_packets/00024309 [08:41:31]Write 317 bytes [08:41:31]NVStorageSaveData done [08:41:31]OFDSenderStorePacket done [08:41:31]KKMCreateOFDPacket done [08:41:31]NVStorageSaveData kkm_last_timestamp [08:41:31]File name is /storage/kkm_last_timestamp [08:41:31]Write 4 bytes [08:41:31]NVStorageSaveData done [08:41:31]ExternCall_PrintAddStr [08:41:31]wPrintStart [08:41:31]Write to MH i2c: 01 00 00 52 01 53 [08:41:31]Write i2c OK [08:41:31]MH_I2C_Read... [08:41:31]Read from MH i2c: 01 [08:41:31]MH_I2C_Read... [08:41:31]Read from MH i2c: 01 07 00 [08:41:31]MH_I2C_Read... [08:41:31]Read from MH i2c: 01 07 00 52 01 00 00 00 00 00 FF 0F 68 [08:41:31]RasterBufferAndPrint [08:41:31]line Счет N : (3)134832 [08:41:31]line ИНН: 02508201610067 [08:41:31]line Контрольно-Кассовый Чек [08:41:31]line ПРОДАЖА [08:41:31]line Товар: 46231529 [08:41:31]line Mentos ПФ Арбуз 6*100*2 [08:41:31]line 1.000 * 10.00 [08:41:31]line = 10.00 [08:41:31]line НДС 12% НСП 1% [08:41:31]line > о реализуемом товаре [08:41:31]line ИТОГО: 10.00 [08:41:31]line НСП 1% : 0.09 [08:41:31]line НДС 12% : 1.06 [08:41:31]line Наличными: 10.00 [08:41:31]line Безнал.: 0.00 [08:41:31]line Место: АЗС № 85 "Партнер Нефть" [08:41:31]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [08:41:31]line СНО: Общий режим [08:41:31]line Чек 13 21.10.2024 08:41 [08:41:31]line Смена: 461 ФФД: 1.0 [08:41:31]line ЗНМ: 0300000166 [08:41:31]line РНМ: 0000000000098120 [08:41:31]line Версия ККМ: 001 [08:41:31]line ФМ: 0000000000965420 [08:41:31]line ФД: 24309 [08:41:31]line ФПД: 39831901226014 [08:41:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T084130&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24309&fm=39831901226014&tin=02508201610067®Number=0000000000098120&sum=1000 [08:41:31]line 0 [08:41:31]written 0, free lines is 4095 [08:41:31]OFD Sender: Processing packet 24309 [packets to send 5, broken 4] [08:41:31]ProducePacketName [08:41:31]name=ofd_packets/00024309 [08:41:31]OFD Sender: To server: pG, [08:41:31]CommunicateWithHost lk.salyk.kg:30040 [08:41:31]ConnectInit lk.salyk.kg [08:41:31]Connected sock=10 [08:41: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 34 32 30 1F 01 00 00 7F 71 17 01 E9 3A 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 0D 00 00 00 F4 03 04 00 BA 13 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F5 5E 00 00 35 04 06 00 24 3A 16 52 C4 1E 85 49 77 18 AF 0C 3B CF [08:41:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 79 DC 47 00 24 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 34 32 30 10 04 04 00 F5 5E 00 00 F4 03 04 00 61 BF 15 67 B6 04 01 00 00 87 D4 F7 D1 CE 96 05 4F [08:41:32]CommunicateWithHost err = 0 [08:41:32]CheckOFDResponse [08:41:32]1017 (14) - 77093643461234 [08:41:32]1041 (16) - 0000000000965420 [08:41:32]1040 (4) - 24309 [08:41:32]1012 (4) - 21.10.2024 02:41 [08:41:32]1206 (1) - 0 [08:41:32]OFD Sender: Remove packet 24309 [08:41:32]ProducePacketName [08:41:32]name=ofd_packets/00024309 [08:41:32]NVStorageDeleteData [08:41:32]Write to MH i2c: 01 00 00 7A 01 7B [08:41:32]Write i2c OK [08:41:32]MH_I2C_Read... [08:41:32]Read from MH i2c: 01 [08:41:32]MH_I2C_Read... [08:41:32]Read from MH i2c: 01 07 00 [08:41:32]MH_I2C_Read... [08:41:32]Read from MH i2c: 01 07 00 7A 01 00 00 00 00 00 23 0D B2 [08:41:32]RasterBufferAndPrint [08:41:32]line [08:41:32]line [08:41:32]line [08:41:32]line [08:41:32]line [08:41:32]written 0, free lines is 3369 [08:41:32]process_action close_receipt done [08:41:32]requested_data is exist [08:41:32]produce_requested_data [08:41:32]requested_item fm.sn is exist - process it [08:41:32]wFMCommunicate request_size=4 [08:41:32]MH_SAM_APDU [08:41:32]CAPDU: 80 11 00 00 [08:41:32]Write to MH i2c: E2 08 00 81 01 80 11 00 00 00 00 00 00 FC [08:41:32]Write i2c OK [08:41:32]MH_I2C_Read... [08:41:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:41:32]Read from MH i2c: E2 [08:41:32]MH_I2C_Read... [08:41:32]Read from MH i2c: E2 17 00 [08:41:32]MH_I2C_Read... [08:41:32]Read from MH i2c: E2 17 00 81 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 49 [08:41:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:41:32]wFMCommunicate OK [08:41:32]requested_item fd.num is exist - process it [08:41:32]SAM_PROTO_GetFieldsCounters [08:41:32]wFMCommunicate request_size=4 [08:41:32]MH_SAM_APDU [08:41:32]CAPDU: 80 13 00 00 [08:41:32]Write to MH i2c: E2 08 00 82 01 80 13 00 00 00 00 00 00 FF [08:41:32]Write i2c OK [08:41:32]MH_I2C_Read... [08:41:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:41:32]Read from MH i2c: E2 [08:41:32]MH_I2C_Read... [08:41:32]Read from MH i2c: E2 62 00 [08:41:32]MH_I2C_Read... [08:41:32]Read from MH i2c: E2 62 00 82 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 F5 5E 00 00 0E 04 04 00 CD 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 5D [08:41: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 F5 5E 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:41:32]wFMCommunicate OK [08:41:32]SAM_PROTO_GetFieldsCounters done [08:41:32]requested_item shift.num is exist - process it [08:41:32]requested_item shift.opened is exist - process it [08:41:32]req_shift_opened [08:41:32]FM_GetShiftState [08:41:32]SAM_PROTO_GetShiftState [08:41:32]wFMCommunicate request_size=4 [08:41:32]MH_SAM_APDU [08:41:32]CAPDU: 80 13 01 00 [08:41:32]Write to MH i2c: E2 08 00 83 01 80 13 01 00 00 00 00 00 01 [08:41:32]Write i2c OK [08:41:32]MH_I2C_Read... [08:41:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:41:32]Read from MH i2c: E2 [08:41:32]MH_I2C_Read... [08:41:32]Read from MH i2c: E2 0E 00 [08:41:32]MH_I2C_Read... [08:41:32]Read from MH i2c: E2 0E 00 83 01 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 4B [08:41:32]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [08:41:32]wFMCommunicate OK [08:41:32]SAM_PROTO_GetShiftState done [08:41:32]FM_GetShiftState done [08:41:32]req_shift_opened done [08:41:32]requested_item shift.open_date is exist - process it [08:41:32]req_shift_open_date [08:41:32]req_shift_open_date done [08:41:32]produce_requested_data done [08:41:32]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24309,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [08:41:32]process_action_free close_receipt [08:41:32]json_value_free [08:41:32]json_value_free done [08:41:32]process_json_proto returns [08:41:32]Send response to host [08:41:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24309,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [08:41:32]free response buf [08:41:32]execute_script done [08:41:32]execute_script returns [08:41:32]free content buf [08:41:32]Sock 8.Close socket [08:41:32]Sock 8.Thread stoped [08:41:32]OFD Sender: No OFD packet to send [08:41:37]OFD Sender: No OFD packet to send [08:41:42]OFD Sender: No OFD packet to send [08:41:47]OFD Sender: No OFD packet to send [08:41:52]OFD Sender: No OFD packet to send [08:41:57]OFD Sender: No OFD packet to send [08:42:02]OFD Sender: No OFD packet to send [08:42:07]OFD Sender: No OFD packet to send [08:42:12]OFD Sender: No OFD packet to send [08:42:17]OFD Sender: No OFD packet to send [08:42:22]OFD Sender: No OFD packet to send [08:42:23]accept exits with 9 [08:42:23]New connection [08:42:23]New thread 3066940772 created [08:42:23]Thread 3067084132 joined [08:42:23]Waiting for new connection... [08:42:23] Sock 9.Parse request [08:42:23]Sock 9.Check first char [08:42:23]Sock 9.First char is OK [08:42:23]request: POST /json_proto HTTP/1.0 [08:42:23]Method: POST [08:42:23]URL: /json_proto [08:42:23]Method is POST - this is cgi request [08:42:23]url: /json_proto [08:42:23]query_string will be loaded in cgi processing [08:42:23]execute_cgi json_proto POST (null) [08:42:23]execute_cgi path=json_proto method=POST [08:42:23]POST find Content-Length [08:42:23]Host: 172.17.50.4:8080 [08:42:23]Content-Length: 978 [08:42:23]Content-Type: application/json [08:42:23] [08:42:23]POST finish read [08:42:23]Found Content-Length = 978 [08:42:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2885419", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 75.20, "quantity" : 53.200, "sum" : 4000.64, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0414\u0422\u000A\u043D\u043E\u043C\u0435\u0440 85\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 53.20 \u0441\u043E\u043C", "deposit" : 4000.00, "total" : 4000.00, "payments": [ { "type": 0, "sum" : 4000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:42:23]execute_script... [08:42:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2885419", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 75.20, "quantity" : 53.200, "sum" : 4000.64, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0414\u0422\u000A\u043D\u043E\u043C\u0435\u0440 85\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 53.20 \u0441\u043E\u043C", "deposit" : 4000.00, "total" : 4000.00, "payments": [ { "type": 0, "sum" : 4000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:42:23]POST & json_proto [08:42:23]process_json_proto [08:42:23]json parsed OK: [08:42:23]protocol is kg_v1.0 [08:42:23]action value=close_receipt [08:42:23]process_action close_receipt [08:42:23]cmd_close_receipt [08:42:23]MH_GetDate [08:42:23]Write to MH i2c: F0 00 00 84 01 74 [08:42:23]Write i2c OK [08:42:23]MH_I2C_Read... [08:42:23]Read from MH i2c: F0 [08:42:23]MH_I2C_Read... [08:42:23]Read from MH i2c: F0 09 00 [08:42:23]MH_I2C_Read... [08:42:23]Read from MH i2c: F0 09 00 84 01 00 F0 13 16 67 3B 12 16 67 C7 [08:42:23]GetLastDocTimeStamp 1729500090 [08:42:23]current date 1729500144 [08:42:23]FM_GetShiftState [08:42:23]SAM_PROTO_GetShiftState [08:42:23]wFMCommunicate request_size=4 [08:42:23]MH_SAM_APDU [08:42:23]CAPDU: 80 13 01 00 [08:42:23]Write to MH i2c: E2 08 00 85 01 80 13 01 00 00 00 00 00 03 [08:42:23]Write i2c OK [08:42:23]MH_I2C_Read... [08:42:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:42:23]Read from MH i2c: E2 [08:42:23]MH_I2C_Read... [08:42:23]Read from MH i2c: E2 0E 00 [08:42:23]MH_I2C_Read... [08:42:23]Read from MH i2c: E2 0E 00 85 01 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 4D [08:42:23]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [08:42:23]wFMCommunicate OK [08:42:23]SAM_PROTO_GetShiftState done [08:42:23]FM_GetShiftState done [08:42:23]opened in 1729469223 [08:42:23]opened+sec_in_day 1729555623 [08:42:23]quantity*price = 400064 [08:42:23]sum+1 = 400065 [08:42:23]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.64 ИТОГО: 4000.00 Внесено: 4000.00 СДАЧА: 0.00 НСП 1% : 35.40 НДС 12% : 424.85 Наличными: 4000.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 14 21.10.2024 08:42 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Дисконтная программа ДТ номер 85 сэкономлено 53.20 сом ФМ: 0000000000965420 ФД: 24310 ФПД: 192988923373050 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T084224&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24310&fm=192988923373050&tin=02508201610067®Number=0000000000098120&sum=400000 [08:42:25]StoreToDocumentArchive [08:42:25]shift 461 fd 24310 [08:42:25]save to /storage/0461/doc_00024310 [08:42:25]save last doc name /storage/0461/doc_00024310 to /storage/kkm_last_doc_name [08:42:25]save OK [08:42:25]Clear old archive folders... [08:42:25]ProcessDocumentItem done err = 0, tmpTLVsize=248 [08:42:25]tlvbuf is 00325CA0 [08:42:25]SAM_PROTO_ClearQueue [08:42:25]wFMCommunicate request_size=4 [08:42:25]MH_SAM_APDU [08:42:25]CAPDU: 80 09 00 00 [08:42:25]Write to MH i2c: E2 08 00 92 01 80 09 00 00 00 00 00 00 05 [08:42:25]Write i2c OK [08:42:25]MH_I2C_Read... [08:42:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:42:25]Read from MH i2c: E2 [08:42:25]MH_I2C_Read... [08:42:25]Read from MH i2c: E2 03 00 [08:42:25]MH_I2C_Read... [08:42:25]Read from MH i2c: E2 03 00 92 01 00 90 00 07 [08:42:25]RAPDU: 90 00 [08:42:25]wFMCommunicate OK [08:42:25]SAM_PROTO_ClearQueue done [08:42:25]KKMCreateOFDPacket [08:42:25]OFDProtocolAddRootSTLVToBuf [08:42:25]FM_MakeSignedData [08:42:25]FM_MakeSignedData [08:42:25]SAM_PROTO_SignData [08:42:25]wFMCommunicate request_size=4 [08:42:25]MH_SAM_APDU [08:42:25]CAPDU: 80 0D 01 02 [08:42:25]Write to MH i2c: E2 08 00 93 01 80 0D 01 02 00 00 00 00 0D [08:42:25]Write i2c OK [08:42:25]MH_I2C_Read... [08:42:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:42:25]Read from MH i2c: E2 [08:42:25]MH_I2C_Read... [08:42:25]Read from MH i2c: E2 03 00 [08:42:25]MH_I2C_Read... [08:42:25]Read from MH i2c: E2 03 00 93 01 00 90 00 08 [08:42:25]RAPDU: 90 00 [08:42:25]wFMCommunicate OK [08:42:25]wFMCommunicate request_size=255 [08:42:25]MH_SAM_APDU [08:42:25]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D0 CF 00 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 C0 1A 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 1A 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 A5 00 00 00 00 07 04 06 00 80 1A 06 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 F0 13 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F6 5E 00 00 35 04 06 00 AF 85 BC 39 [08:42:25]Write to MH i2c: E2 02 01 94 01 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D0 CF 00 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 C0 1A 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 1A 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 A5 00 00 00 00 07 04 06 00 80 1A 06 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 F0 13 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F6 5E 00 00 35 04 06 00 AF 85 BC 39 00 00 EF [08:42:25]Write i2c OK [08:42:25]MH_I2C_Read... [08:42:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:42:25]Read from MH i2c: E2 [08:42:25]MH_I2C_Read... [08:42:25]Read from MH i2c: E2 03 00 [08:42:25]MH_I2C_Read... [08:42:25]Read from MH i2c: E2 03 00 94 01 00 90 00 09 [08:42:25]RAPDU: 90 00 [08:42:25]wFMCommunicate OK [08:42:25]wFMCommunicate request_size=7 [08:42:25]MH_SAM_APDU [08:42:25]CAPDU: 80 0D 02 02 02 25 FA [08:42:25]Write to MH i2c: E2 0A 00 95 01 80 0D 02 02 02 00 25 FA 00 00 33 [08:42:25]Write i2c OK [08:42:25]MH_I2C_Read... [08:42:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:42:25]Read from MH i2c: E2 [08:42:25]MH_I2C_Read... [08:42:25]Read from MH i2c: E2 03 00 [08:42:25]MH_I2C_Read... [08:42:25]Read from MH i2c: E2 03 00 95 01 00 90 00 0A [08:42:25]RAPDU: 90 00 [08:42:25]wFMCommunicate OK [08:42:25]wFMCommunicate request_size=4 [08:42:25]MH_SAM_APDU [08:42:25]CAPDU: 80 0D 03 02 [08:42:25]Write to MH i2c: E2 08 00 96 01 80 0D 03 02 00 00 00 00 12 [08:42:25]Write i2c OK [08:42:25]MH_I2C_Read... [08:42:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:42:25]Read from MH i2c: E2 [08:42:25]MH_I2C_Read... [08:42:25]Read from MH i2c: E2 0B 00 [08:42:25]MH_I2C_Read... [08:42:25]Read from MH i2c: E2 0B 00 96 01 00 3F 1A 2E 3B 56 1E 54 A3 90 00 40 [08:42:25]RAPDU: 3F 1A 2E 3B 56 1E 54 A3 90 00 [08:42:25]wFMCommunicate OK [08:42:25]SAM_PROTO_SignData done [08:42:25]FM_MakeSignedData done [08:42:25]CreateOFDProtocolMessage [08:42:25]wFMCommunicate request_size=4 [08:42:25]MH_SAM_APDU [08:42:25]CAPDU: 80 11 00 00 [08:42:25]Write to MH i2c: E2 08 00 97 01 80 11 00 00 00 00 00 00 12 [08:42:25]Write i2c OK [08:42:25]MH_I2C_Read... [08:42:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:42:25]Read from MH i2c: E2 [08:42:25]MH_I2C_Read... [08:42:25]Read from MH i2c: E2 17 00 [08:42:25]MH_I2C_Read... [08:42:25]Read from MH i2c: E2 17 00 97 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 5F [08:42:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:42:25]wFMCommunicate OK [08:42:25]CreateOFDProtocolMessage done [08:42:25]OFDSenderStorePacket 24310 [08:42:25]StoreOFDPacket docnum=24310 [08:42:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0C 01 00 00 D7 4D 04 01 0B 0F 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D0 CF 00 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 C0 1A 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 1A 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 A5 00 00 00 00 07 04 06 00 80 1A 06 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 F0 13 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F6 5E 00 00 35 04 06 00 AF 85 BC 39 25 FA 3F 1A 2E 3B 56 1E 54 A3 [08:42:25]CheckFolder [08:42:25]dirname=/storage/ofd_packets [08:42:25]CheckFolder done [08:42:25]ProducePacketName [08:42:25]name=ofd_packets/00024310 [08:42:25]NVStorageSaveData ofd_packets/00024310 [08:42:25]File name is /storage/ofd_packets/00024310 [08:42:25]Write 298 bytes [08:42:25]NVStorageSaveData done [08:42:25]OFDSenderStorePacket done [08:42:25]KKMCreateOFDPacket done [08:42:25]NVStorageSaveData kkm_last_timestamp [08:42:25]File name is /storage/kkm_last_timestamp [08:42:25]Write 4 bytes [08:42:25]NVStorageSaveData done [08:42:25]ExternCall_PrintAddStr [08:42:25]wPrintStart [08:42:25]Write to MH i2c: 01 00 00 98 01 99 [08:42:25]Write i2c OK [08:42:25]MH_I2C_Read... [08:42:25]Read from MH i2c: 01 [08:42:25]MH_I2C_Read... [08:42:25]Read from MH i2c: 01 07 00 [08:42:25]MH_I2C_Read... [08:42:25]Read from MH i2c: 01 07 00 98 01 00 00 00 00 00 FF 0F AE [08:42:25]RasterBufferAndPrint [08:42:25]line Счет N : (1)2885419 [08:42:25]line ИНН: 02508201610067 [08:42:25]line Контрольно-Кассовый Чек [08:42:25]line ПРОДАЖА [08:42:25]line ТРК (МРК, ГНК) : 61 [08:42:25]line Товар: 2710194210 [08:42:25]line ДТ-К-5 [08:42:25]line 53.200 * 75.20 [08:42:25]line = 4000.64 [08:42:25]line НДС 12% НСП 1% [08:42:25]line > о реализуемом товаре [08:42:25]line ОКРУГЛЕНИЕ: -0.64 [08:42:25]line ИТОГО: 4000.00 [08:42:25]line Внесено: 4000.00 [08:42:25]line СДАЧА: 0.00 [08:42:25]line НСП 1% : 35.40 [08:42:25]line НДС 12% : 424.85 [08:42:25]line Наличными: 4000.00 [08:42:25]line Безнал.: 0.00 [08:42:25]line Место: АЗС № 85 "Партнер Нефть" [08:42:25]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [08:42:25]line СНО: Общий режим [08:42:25]line Чек 14 21.10.2024 08:42 [08:42:25]line Смена: 461 ФФД: 1.0 [08:42:25]line ЗНМ: 0300000166 [08:42:25]line РНМ: 0000000000098120 [08:42:25]line Версия ККМ: 001 [08:42:25]line [08:42:25]line Дисконтная программа [08:42:25]line ДТ [08:42:25]line номер 85 [08:42:25]line сэкономлено 53.20 сом [08:42:25]line ФМ: 0000000000965420 [08:42:25]line ФД: 24310 [08:42:25]line ФПД: 192988923373050 [08:42:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T084224&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24310&fm=192988923373050&tin=02508201610067®Number=0000000000098120&sum=400000 [08:42:25]OFD Sender: Processing packet 24310 [packets to send 5, broken 4] [08:42:25]ProducePacketName [08:42:25]name=ofd_packets/00024310 [08:42:25]OFD Sender: To server: pG, [08:42:25]CommunicateWithHost lk.salyk.kg:30040 [08:42:25]ConnectInit lk.salyk.kg [08:42:25]written 0, free lines is 4095 [08:42:26]Connected sock=11 [08:42: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 34 32 30 0C 01 00 00 D7 4D 04 01 0B 0F 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D0 CF 00 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 C0 1A 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 1A 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 A5 00 00 00 00 07 04 06 00 80 1A 06 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 F0 13 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F6 5E 00 00 35 04 06 00 AF 85 BC 39 25 FA 3F 1A 2E 3B 56 1E 54 A3 [08:42:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 F1 0D 47 00 B1 5A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F6 5E 00 00 F4 03 04 00 97 BF 15 67 B6 04 01 00 00 CB 9B 31 B7 88 29 3E 87 [08:42:26]CommunicateWithHost err = 0 [08:42:26]CheckOFDResponse [08:42:26]1017 (14) - 77093643461234 [08:42:26]1041 (16) - 0000000000965420 [08:42:26]1040 (4) - 24310 [08:42:26]1012 (4) - 21.10.2024 02:42 [08:42:26]1206 (1) - 0 [08:42:26]OFD Sender: Remove packet 24310 [08:42:26]ProducePacketName [08:42:26]name=ofd_packets/00024310 [08:42:26]NVStorageDeleteData [08:42:26]Write to MH i2c: 01 00 00 C8 01 C9 [08:42:26]Write i2c OK [08:42:26]MH_I2C_Read... [08:42:26]Read from MH i2c: 01 [08:42:26]MH_I2C_Read... [08:42:26]Read from MH i2c: 01 07 00 [08:42:26]MH_I2C_Read... [08:42:26]Read from MH i2c: 01 07 00 C8 01 00 00 00 00 00 99 0C 75 [08:42:26]RasterBufferAndPrint [08:42:26]line [08:42:26]line [08:42:26]line [08:42:26]line [08:42:26]line [08:42:26]written 0, free lines is 3231 [08:42:26]process_action close_receipt done [08:42:26]requested_data is exist [08:42:26]produce_requested_data [08:42:26]requested_item fm.sn is exist - process it [08:42:26]wFMCommunicate request_size=4 [08:42:26]MH_SAM_APDU [08:42:26]CAPDU: 80 11 00 00 [08:42:26]Write to MH i2c: E2 08 00 CF 01 80 11 00 00 00 00 00 00 4A [08:42:26]Write i2c OK [08:42:26]MH_I2C_Read... [08:42:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:42:26]Read from MH i2c: E2 [08:42:26]MH_I2C_Read... [08:42:26]Read from MH i2c: E2 17 00 [08:42:26]MH_I2C_Read... [08:42:26]Read from MH i2c: E2 17 00 CF 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 97 [08:42:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:42:26]wFMCommunicate OK [08:42:26]requested_item fd.num is exist - process it [08:42:26]SAM_PROTO_GetFieldsCounters [08:42:26]wFMCommunicate request_size=4 [08:42:26]MH_SAM_APDU [08:42:26]CAPDU: 80 13 00 00 [08:42:26]Write to MH i2c: E2 08 00 D0 01 80 13 00 00 00 00 00 00 4D [08:42:26]Write i2c OK [08:42:26]MH_I2C_Read... [08:42:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:42:26]Read from MH i2c: E2 [08:42:26]MH_I2C_Read... [08:42:26]Read from MH i2c: E2 62 00 [08:42:26]MH_I2C_Read... [08:42:26]Read from MH i2c: E2 62 00 D0 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 F6 5E 00 00 0E 04 04 00 CD 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 AF [08:42: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 F6 5E 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:42:26]wFMCommunicate OK [08:42:26]SAM_PROTO_GetFieldsCounters done [08:42:26]requested_item shift.num is exist - process it [08:42:26]requested_item shift.opened is exist - process it [08:42:26]req_shift_opened [08:42:26]FM_GetShiftState [08:42:26]SAM_PROTO_GetShiftState [08:42:26]wFMCommunicate request_size=4 [08:42:26]MH_SAM_APDU [08:42:26]CAPDU: 80 13 01 00 [08:42:26]Write to MH i2c: E2 08 00 D1 01 80 13 01 00 00 00 00 00 4F [08:42:26]Write i2c OK [08:42:26]MH_I2C_Read... [08:42:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:42:26]Read from MH i2c: E2 [08:42:26]MH_I2C_Read... [08:42:26]Read from MH i2c: E2 0E 00 [08:42:26]MH_I2C_Read... [08:42:26]Read from MH i2c: E2 0E 00 D1 01 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 99 [08:42:26]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [08:42:26]wFMCommunicate OK [08:42:26]SAM_PROTO_GetShiftState done [08:42:26]FM_GetShiftState done [08:42:26]req_shift_opened done [08:42:26]requested_item shift.open_date is exist - process it [08:42:26]req_shift_open_date [08:42:26]req_shift_open_date done [08:42:26]produce_requested_data done [08:42:26]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24310,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [08:42:26]process_action_free close_receipt [08:42:26]json_value_free [08:42:26]json_value_free done [08:42:26]process_json_proto returns [08:42:26]Send response to host [08:42:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24310,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [08:42:26]free response buf [08:42:26]execute_script done [08:42:26]execute_script returns [08:42:26]free content buf [08:42:26]Sock 9.Close socket [08:42:26]Sock 9.Thread stoped [08:42:26]OFD Sender: No OFD packet to send [08:42:31]OFD Sender: No OFD packet to send [08:42:36]OFD Sender: No OFD packet to send [08:42:41]OFD Sender: No OFD packet to send [08:42:46]OFD Sender: No OFD packet to send [08:42:51]OFD Sender: No OFD packet to send [08:42:56]OFD Sender: No OFD packet to send [08:43:01]OFD Sender: No OFD packet to send [08:43:06]OFD Sender: No OFD packet to send [08:43:11]OFD Sender: No OFD packet to send [08:43:16]OFD Sender: No OFD packet to send [08:43:21]OFD Sender: No OFD packet to send [08:43:26]OFD Sender: No OFD packet to send [08:43:31]OFD Sender: No OFD packet to send [08:43:36]OFD Sender: No OFD packet to send [08:43:41]OFD Sender: No OFD packet to send [08:43:46]OFD Sender: No OFD packet to send [08:43:51]OFD Sender: No OFD packet to send [08:43:56]OFD Sender: No OFD packet to send [08:44:01]OFD Sender: No OFD packet to send [08:44:06]OFD Sender: No OFD packet to send [08:44:11]OFD Sender: No OFD packet to send [08:44:16]OFD Sender: No OFD packet to send [08:44:21]OFD Sender: No OFD packet to send [08:44:26]OFD Sender: No OFD packet to send [08:44:31]OFD Sender: No OFD packet to send [08:44:36]OFD Sender: No OFD packet to send [08:44:41]OFD Sender: No OFD packet to send [08:44:46]OFD Sender: No OFD packet to send [08:44:51]OFD Sender: No OFD packet to send [08:44:56]OFD Sender: No OFD packet to send [08:45:01]OFD Sender: No OFD packet to send [08:45:06]OFD Sender: No OFD packet to send [08:45:11]OFD Sender: No OFD packet to send [08:45:16]OFD Sender: No OFD packet to send [08:45:21]OFD Sender: No OFD packet to send [08:45:26]OFD Sender: No OFD packet to send [08:45:31]OFD Sender: No OFD packet to send [08:45:36]OFD Sender: No OFD packet to send [08:45:41]OFD Sender: No OFD packet to send [08:45:46]OFD Sender: No OFD packet to send [08:45:51]OFD Sender: No OFD packet to send [08:45:56]OFD Sender: No OFD packet to send [08:46:01]OFD Sender: No OFD packet to send [08:46:06]OFD Sender: No OFD packet to send [08:46:11]OFD Sender: No OFD packet to send [08:46:16]OFD Sender: No OFD packet to send [08:46:21]OFD Sender: No OFD packet to send [08:46:26]OFD Sender: No OFD packet to send [08:46:31]OFD Sender: No OFD packet to send [08:46:36]OFD Sender: No OFD packet to send [08:46:41]OFD Sender: No OFD packet to send [08:46:46]OFD Sender: No OFD packet to send [08:46:51]OFD Sender: No OFD packet to send [08:46:56]OFD Sender: No OFD packet to send [08:47:01]OFD Sender: No OFD packet to send [08:47:06]OFD Sender: No OFD packet to send [08:47:11]OFD Sender: No OFD packet to send [08:47:16]OFD Sender: No OFD packet to send [08:47:21]OFD Sender: No OFD packet to send [08:47:26]OFD Sender: No OFD packet to send [08:47:31]OFD Sender: No OFD packet to send [08:47:36]OFD Sender: No OFD packet to send [08:47:41]OFD Sender: No OFD packet to send [08:47:46]OFD Sender: No OFD packet to send [08:47:51]OFD Sender: No OFD packet to send [08:47:56]OFD Sender: No OFD packet to send [08:48:01]OFD Sender: No OFD packet to send [08:48:06]OFD Sender: No OFD packet to send [08:48:07]accept exits with 8 [08:48:07]New connection [08:48:07]New thread 3067084132 created [08:48:07]Thread 3066940772 joined [08:48:07]Waiting for new connection... [08:48:07] Sock 8.Parse request [08:48:07]Sock 8.Check first char [08:48:07]Sock 8.First char is OK [08:48:07]request: POST /json_proto HTTP/1.0 [08:48:07]Method: POST [08:48:07]URL: /json_proto [08:48:07]Method is POST - this is cgi request [08:48:07]url: /json_proto [08:48:07]query_string will be loaded in cgi processing [08:48:07]execute_cgi json_proto POST (null) [08:48:07]execute_cgi path=json_proto method=POST [08:48:07]POST find Content-Length [08:48:07]Host: 172.17.50.4:8080 [08:48:07]Content-Length: 878 [08:48:07]Content-Type: application/json [08:48:07] [08:48:07]POST finish read [08:48:07]Found Content-Length = 878 [08:48:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134833", "tax_sys" : 0, "items" : [ { "code": "48743396", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B BOND STREET compact silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 254.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:48:07]execute_script... [08:48: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)134833", "tax_sys" : 0, "items" : [ { "code": "48743396", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B BOND STREET compact silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 254.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:48:07]POST & json_proto [08:48:07]process_json_proto [08:48:07]json parsed OK: [08:48:07]protocol is kg_v1.0 [08:48:07]action value=close_receipt [08:48:07]process_action close_receipt [08:48:07]cmd_close_receipt [08:48:07]MH_GetDate [08:48:07]Write to MH i2c: F0 00 00 D2 01 C2 [08:48:07]Write i2c OK [08:48:07]MH_I2C_Read... [08:48:07]Read from MH i2c: F0 [08:48:07]MH_I2C_Read... [08:48:07]Read from MH i2c: F0 09 00 [08:48:07]MH_I2C_Read... [08:48:07]Read from MH i2c: F0 09 00 D2 01 00 47 15 16 67 3B 12 16 67 6E [08:48:07]GetLastDocTimeStamp 1729500144 [08:48:07]current date 1729500487 [08:48:07]FM_GetShiftState [08:48:07]SAM_PROTO_GetShiftState [08:48:07]wFMCommunicate request_size=4 [08:48:07]MH_SAM_APDU [08:48:07]CAPDU: 80 13 01 00 [08:48:07]Write to MH i2c: E2 08 00 D3 01 80 13 01 00 00 00 00 00 51 [08:48:07]Write i2c OK [08:48:07]MH_I2C_Read... [08:48:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:48:07]Read from MH i2c: E2 [08:48:07]MH_I2C_Read... [08:48:07]Read from MH i2c: E2 0E 00 [08:48:07]MH_I2C_Read... [08:48:07]Read from MH i2c: E2 0E 00 D3 01 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 9B [08:48:07]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [08:48:07]wFMCommunicate OK [08:48:07]SAM_PROTO_GetShiftState done [08:48:07]FM_GetShiftState done [08:48:07]opened in 1729469223 [08:48:07]opened+sec_in_day 1729555623 [08:48:07]quantity*price = 13400 [08:48:07]sum+1 = 13401 [08:48:07]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700025313937 ВОДКА МЯГКАЯ 0,1л 2.000 * 60.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 254.00 НСП 1% : 2.25 НДС 12% : 26.97 Наличными: 254.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 15 21.10.2024 08:48 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24311 ФПД: 184846988554824 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T084807&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24311&fm=184846988554824&tin=02508201610067®Number=0000000000098120&sum=25400 0 [08:48:08]StoreToDocumentArchive [08:48:08]shift 461 fd 24311 [08:48:08]save to /storage/0461/doc_00024311 [08:48:08]save last doc name /storage/0461/doc_00024311 to /storage/kkm_last_doc_name [08:48:08]save OK [08:48:08]Clear old archive folders... [08:48:08]ProcessDocumentItem done err = 0, tmpTLVsize=381 [08:48:08]tlvbuf is 00330360 [08:48:08]SAM_PROTO_ClearQueue [08:48:08]wFMCommunicate request_size=4 [08:48:08]MH_SAM_APDU [08:48:08]CAPDU: 80 09 00 00 [08:48:08]Write to MH i2c: E2 08 00 E0 01 80 09 00 00 00 00 00 00 53 [08:48:08]Write i2c OK [08:48:08]MH_I2C_Read... [08:48:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:48:08]Read from MH i2c: E2 [08:48:08]MH_I2C_Read... [08:48:08]Read from MH i2c: E2 03 00 [08:48:08]MH_I2C_Read... [08:48:08]Read from MH i2c: E2 03 00 E0 01 00 90 00 55 [08:48:08]RAPDU: 90 00 [08:48:08]wFMCommunicate OK [08:48:08]SAM_PROTO_ClearQueue done [08:48:08]KKMCreateOFDPacket [08:48:08]OFDProtocolAddRootSTLVToBuf [08:48:08]FM_MakeSignedData [08:48:08]FM_MakeSignedData [08:48:08]SAM_PROTO_SignData [08:48:08]wFMCommunicate request_size=4 [08:48:08]MH_SAM_APDU [08:48:08]CAPDU: 80 0D 01 02 [08:48:08]Write to MH i2c: E2 08 00 E1 01 80 0D 01 02 00 00 00 00 5B [08:48:08]Write i2c OK [08:48:08]MH_I2C_Read... [08:48:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:48:08]Read from MH i2c: E2 [08:48:08]MH_I2C_Read... [08:48:08]Read from MH i2c: E2 03 00 [08:48:08]MH_I2C_Read... [08:48:08]Read from MH i2c: E2 03 00 E1 01 00 90 00 56 [08:48:08]RAPDU: 90 00 [08:48:08]wFMCommunicate OK [08:48:08]wFMCommunicate request_size=255 [08:48:08]MH_SAM_APDU [08:48:08]CAPDU: 80 0D 02 02 FA 03 00 7D 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 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 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 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 38 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 [08:48:08]Write to MH i2c: E2 02 01 E2 01 80 0D 02 02 FA 00 03 00 7D 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 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 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 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 38 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 87 [08:48:08]Write i2c OK [08:48:08]MH_I2C_Read... [08:48:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:48:08]Read from MH i2c: E2 [08:48:08]MH_I2C_Read... [08:48:08]Read from MH i2c: E2 03 00 [08:48:08]MH_I2C_Read... [08:48:08]Read from MH i2c: E2 03 00 E2 01 00 90 00 57 [08:48:08]RAPDU: 90 00 [08:48:08]wFMCommunicate OK [08:48:08]wFMCommunicate request_size=140 [08:48:08]MH_SAM_APDU [08:48:08]CAPDU: 80 0D 02 02 87 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 89 0A 00 00 00 00 07 04 06 00 38 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 0F 00 00 00 F4 03 04 00 47 15 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F7 5E 00 00 35 04 06 00 A8 1E 0B 17 32 48 [08:48:08]Write to MH i2c: E2 8F 00 E3 01 80 0D 02 02 87 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 89 0A 00 00 00 00 07 04 06 00 38 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 0F 00 00 00 F4 03 04 00 47 15 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F7 5E 00 00 35 04 06 00 A8 1E 0B 17 32 48 00 00 29 [08:48:08]Write i2c OK [08:48:08]MH_I2C_Read... [08:48:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:48:08]Read from MH i2c: E2 [08:48:08]MH_I2C_Read... [08:48:08]Read from MH i2c: E2 03 00 [08:48:08]MH_I2C_Read... [08:48:08]Read from MH i2c: E2 03 00 E3 01 00 90 00 58 [08:48:08]RAPDU: 90 00 [08:48:08]wFMCommunicate OK [08:48:08]wFMCommunicate request_size=4 [08:48:08]MH_SAM_APDU [08:48:08]CAPDU: 80 0D 03 02 [08:48:08]Write to MH i2c: E2 08 00 E4 01 80 0D 03 02 00 00 00 00 60 [08:48:08]Write i2c OK [08:48:08]MH_I2C_Read... [08:48:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:48:08]Read from MH i2c: E2 [08:48:08]MH_I2C_Read... [08:48:08]Read from MH i2c: E2 0B 00 [08:48:08]MH_I2C_Read... [08:48:08]Read from MH i2c: E2 0B 00 E4 01 00 F3 10 93 17 69 A6 00 97 90 00 B4 [08:48:08]RAPDU: F3 10 93 17 69 A6 00 97 90 00 [08:48:08]wFMCommunicate OK [08:48:08]SAM_PROTO_SignData done [08:48:08]FM_MakeSignedData done [08:48:08]CreateOFDProtocolMessage [08:48:08]wFMCommunicate request_size=4 [08:48:08]MH_SAM_APDU [08:48:08]CAPDU: 80 11 00 00 [08:48:08]Write to MH i2c: E2 08 00 E5 01 80 11 00 00 00 00 00 00 60 [08:48:08]Write i2c OK [08:48:08]MH_I2C_Read... [08:48:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:48:08]Read from MH i2c: E2 [08:48:08]MH_I2C_Read... [08:48:08]Read from MH i2c: E2 17 00 [08:48:08]MH_I2C_Read... [08:48:08]Read from MH i2c: E2 17 00 E5 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 AD [08:48:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:48:08]wFMCommunicate OK [08:48:08]CreateOFDProtocolMessage done [08:48:08]OFDSenderStorePacket 24311 [08:48:08]StoreOFDPacket docnum=24311 [08:48:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 91 01 00 00 A8 53 89 01 A6 E8 5A 03 01 00 03 00 7D 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 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 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 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 38 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 89 0A 00 00 00 00 07 04 06 00 38 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 0F 00 00 00 F4 03 04 00 47 15 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F7 5E 00 00 35 04 06 00 A8 1E 0B 17 32 48 F3 10 93 17 69 A6 00 97 [08:48:09]CheckFolder [08:48:09]dirname=/storage/ofd_packets [08:48:09]CheckFolder done [08:48:09]ProducePacketName [08:48:09]name=ofd_packets/00024311 [08:48:09]NVStorageSaveData ofd_packets/00024311 [08:48:09]File name is /storage/ofd_packets/00024311 [08:48:09]Write 431 bytes [08:48:09]NVStorageSaveData done [08:48:09]OFDSenderStorePacket done [08:48:09]KKMCreateOFDPacket done [08:48:09]NVStorageSaveData kkm_last_timestamp [08:48:09]File name is /storage/kkm_last_timestamp [08:48:09]Write 4 bytes [08:48:09]NVStorageSaveData done [08:48:09]ExternCall_PrintAddStr [08:48:09]wPrintStart [08:48:09]Write to MH i2c: 01 00 00 E6 01 E7 [08:48:09]Write i2c OK [08:48:09]MH_I2C_Read... [08:48:09]Read from MH i2c: 01 [08:48:09]MH_I2C_Read... [08:48:09]Read from MH i2c: 01 07 00 [08:48:09]MH_I2C_Read... [08:48:09]Read from MH i2c: 01 07 00 E6 01 00 00 00 00 00 FF 0F FC [08:48:09]RasterBufferAndPrint [08:48:09]line Счет N : (3)134833 [08:48:09]line ИНН: 02508201610067 [08:48:09]line Контрольно-Кассовый Чек [08:48:09]line ПРОДАЖА [08:48:09]line Товар: 48743396 [08:48:09]line Сигареты BOND STREET compact silver [08:48:09]line 1.000 * 134.00 [08:48:09]line = 134.00 [08:48:09]line НДС 12% НСП 1% [08:48:09]line > о реализуемом товаре [08:48:09]line Товар: 4700025313937 [08:48:09]line ВОДКА МЯГКАЯ 0,1л [08:48:09]line 2.000 * 60.00 [08:48:09]line = 120.00 [08:48:09]line НДС 12% НСП 1% [08:48:09]line > о реализуемом товаре [08:48:09]line ИТОГО: 254.00 [08:48:09]line НСП 1% : 2.25 [08:48:09]line НДС 12% : 26.97 [08:48:09]line Наличными: 254.00 [08:48:09]line Безнал.: 0.00 [08:48:09]line Место: АЗС № 85 "Партнер Нефть" [08:48:09]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [08:48:09]line СНО: Общий режим [08:48:09]line Чек 15 21.10.2024 08:48 [08:48:09]line Смена: 461 ФФД: 1.0 [08:48:09]line ЗНМ: 0300000166 [08:48:09]line РНМ: 0000000000098120 [08:48:09]line Версия ККМ: 001 [08:48:09]line ФМ: 0000000000965420 [08:48:09]line ФД: 24311 [08:48:09]line ФПД: 184846988554824 [08:48:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T084807&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24311&fm=184846988554824&tin=02508201610067®Number=0000000000098120&sum=25400 [08:48:09]line 0 [08:48:09]OFD Sender: Processing packet 24311 [packets to send 5, broken 4] [08:48:09]ProducePacketName [08:48:09]name=ofd_packets/00024311 [08:48:09]OFD Sender: To server: pG, [08:48:09]CommunicateWithHost lk.salyk.kg:30040 [08:48:09]ConnectInit lk.salyk.kg [08:48:09]written 0, free lines is 4095 [08:48:09]Connected sock=10 [08:48: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 34 32 30 91 01 00 00 A8 53 89 01 A6 E8 5A 03 01 00 03 00 7D 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 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 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 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 38 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 89 0A 00 00 00 00 07 04 06 00 38 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 0F 00 00 00 F4 03 04 00 47 15 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F7 5E 00 00 35 04 06 00 A8 1E 0B 17 32 48 F3 10 93 17 69 A6 00 97 [08:48:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 38 76 47 00 AD 37 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F7 5E 00 00 F4 03 04 00 EE C0 15 67 B6 04 01 00 00 CA 7C BC 86 64 BC 30 A2 [08:48:09]CommunicateWithHost err = 0 [08:48:09]CheckOFDResponse [08:48:09]1017 (14) - 77093643461234 [08:48:09]1041 (16) - 0000000000965420 [08:48:09]1040 (4) - 24311 [08:48:09]1012 (4) - 21.10.2024 02:48 [08:48:09]1206 (1) - 0 [08:48:09]OFD Sender: Remove packet 24311 [08:48:09]ProducePacketName [08:48:09]name=ofd_packets/00024311 [08:48:09]NVStorageDeleteData [08:48:09]Write to MH i2c: 01 00 00 15 02 17 [08:48:09]Write i2c OK [08:48:09]MH_I2C_Read... [08:48:09]Read from MH i2c: 01 [08:48:09]MH_I2C_Read... [08:48:09]Read from MH i2c: 01 07 00 [08:48:09]MH_I2C_Read... [08:48:09]Read from MH i2c: 01 07 00 15 02 00 00 00 00 00 BB 0C E5 [08:48:09]RasterBufferAndPrint [08:48:09]line [08:48:09]line [08:48:09]line [08:48:09]line [08:48:09]line [08:48:09]written 0, free lines is 3264 [08:48:09]process_action close_receipt done [08:48:09]requested_data is exist [08:48:09]produce_requested_data [08:48:09]requested_item fm.sn is exist - process it [08:48:09]wFMCommunicate request_size=4 [08:48:09]MH_SAM_APDU [08:48:09]CAPDU: 80 11 00 00 [08:48:09]Write to MH i2c: E2 08 00 1C 02 80 11 00 00 00 00 00 00 98 [08:48:09]Write i2c OK [08:48:09]MH_I2C_Read... [08:48:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:48:09]Read from MH i2c: E2 [08:48:09]MH_I2C_Read... [08:48:09]Read from MH i2c: E2 17 00 [08:48:09]MH_I2C_Read... [08:48:09]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 34 32 30 90 00 E5 [08:48:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:48:09]wFMCommunicate OK [08:48:09]requested_item fd.num is exist - process it [08:48:09]SAM_PROTO_GetFieldsCounters [08:48:09]wFMCommunicate request_size=4 [08:48:09]MH_SAM_APDU [08:48:09]CAPDU: 80 13 00 00 [08:48:09]Write to MH i2c: E2 08 00 1D 02 80 13 00 00 00 00 00 00 9B [08:48:09]Write i2c OK [08:48:09]MH_I2C_Read... [08:48:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:48:10]Read from MH i2c: E2 [08:48:10]MH_I2C_Read... [08:48:10]Read from MH i2c: E2 62 00 [08:48:10]MH_I2C_Read... [08:48:10]Read from MH i2c: E2 62 00 1D 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 F7 5E 00 00 0E 04 04 00 CD 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 01 [08:48: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 F7 5E 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:48:10]wFMCommunicate OK [08:48:10]SAM_PROTO_GetFieldsCounters done [08:48:10]requested_item shift.num is exist - process it [08:48:10]requested_item shift.opened is exist - process it [08:48:10]req_shift_opened [08:48:10]FM_GetShiftState [08:48:10]SAM_PROTO_GetShiftState [08:48:10]wFMCommunicate request_size=4 [08:48:10]MH_SAM_APDU [08:48:10]CAPDU: 80 13 01 00 [08:48:10]Write to MH i2c: E2 08 00 1E 02 80 13 01 00 00 00 00 00 9D [08:48:10]Write i2c OK [08:48:10]MH_I2C_Read... [08:48:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:48:10]Read from MH i2c: E2 [08:48:10]MH_I2C_Read... [08:48:10]Read from MH i2c: E2 0E 00 [08:48:10]MH_I2C_Read... [08:48:10]Read from MH i2c: E2 0E 00 1E 02 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 E7 [08:48:10]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [08:48:10]wFMCommunicate OK [08:48:10]SAM_PROTO_GetShiftState done [08:48:10]FM_GetShiftState done [08:48:10]req_shift_opened done [08:48:10]requested_item shift.open_date is exist - process it [08:48:10]req_shift_open_date [08:48:10]req_shift_open_date done [08:48:10]produce_requested_data done [08:48:10]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24311,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [08:48:10]process_action_free close_receipt [08:48:10]json_value_free [08:48:10]json_value_free done [08:48:10]process_json_proto returns [08:48:10]Send response to host [08:48:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24311,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [08:48:10]free response buf [08:48:10]execute_script done [08:48:10]execute_script returns [08:48:10]free content buf [08:48:10]Sock 8.Close socket [08:48:10]Sock 8.Thread stoped [08:48:10]OFD Sender: No OFD packet to send [08:48:15]OFD Sender: No OFD packet to send [08:48:20]OFD Sender: No OFD packet to send [08:48:25]OFD Sender: No OFD packet to send [08:48:30]OFD Sender: No OFD packet to send [08:48:35]OFD Sender: No OFD packet to send [08:48:40]OFD Sender: No OFD packet to send [08:48:45]OFD Sender: No OFD packet to send [08:48:50]OFD Sender: No OFD packet to send [08:48:55]OFD Sender: No OFD packet to send [08:49:00]OFD Sender: No OFD packet to send [08:49:05]OFD Sender: No OFD packet to send [08:49:10]OFD Sender: No OFD packet to send [08:49:15]OFD Sender: No OFD packet to send [08:49:20]OFD Sender: No OFD packet to send [08:49:25]OFD Sender: No OFD packet to send [08:49:30]OFD Sender: No OFD packet to send [08:49:35]OFD Sender: No OFD packet to send [08:49:40]OFD Sender: No OFD packet to send [08:49:45]OFD Sender: No OFD packet to send [08:49:50]OFD Sender: No OFD packet to send [08:49:55]OFD Sender: No OFD packet to send [08:50:00]OFD Sender: No OFD packet to send [08:50:05]OFD Sender: No OFD packet to send [08:50:10]OFD Sender: No OFD packet to send [08:50:15]OFD Sender: No OFD packet to send [08:50:20]OFD Sender: No OFD packet to send [08:50:25]OFD Sender: No OFD packet to send [08:50:30]OFD Sender: No OFD packet to send [08:50:35]OFD Sender: No OFD packet to send [08:50:40]OFD Sender: No OFD packet to send [08:50:45]OFD Sender: No OFD packet to send [08:50:50]OFD Sender: No OFD packet to send [08:50:55]OFD Sender: No OFD packet to send [08:51:00]OFD Sender: No OFD packet to send [08:51:05]OFD Sender: No OFD packet to send [08:51:10]OFD Sender: No OFD packet to send [08:51:15]OFD Sender: No OFD packet to send [08:51:20]OFD Sender: No OFD packet to send [08:51:25]OFD Sender: No OFD packet to send [08:51:30]OFD Sender: No OFD packet to send [08:51:35]OFD Sender: No OFD packet to send [08:51:40]OFD Sender: No OFD packet to send [08:51:45]OFD Sender: No OFD packet to send [08:51:50]OFD Sender: No OFD packet to send [08:51:55]OFD Sender: No OFD packet to send [08:52:00]OFD Sender: No OFD packet to send [08:52:05]OFD Sender: No OFD packet to send [08:52:10]OFD Sender: No OFD packet to send [08:52:15]OFD Sender: No OFD packet to send [08:52:20]OFD Sender: No OFD packet to send [08:52:25]OFD Sender: No OFD packet to send [08:52:30]OFD Sender: No OFD packet to send [08:52:35]OFD Sender: No OFD packet to send [08:52:40]OFD Sender: No OFD packet to send [08:52:45]OFD Sender: No OFD packet to send [08:52:50]OFD Sender: No OFD packet to send [08:52:55]OFD Sender: No OFD packet to send [08:53:00]OFD Sender: No OFD packet to send [08:53:05]OFD Sender: No OFD packet to send [08:53:10]OFD Sender: No OFD packet to send [08:53:15]OFD Sender: No OFD packet to send [08:53:20]OFD Sender: No OFD packet to send [08:53:25]OFD Sender: No OFD packet to send [08:53:30]OFD Sender: No OFD packet to send [08:53:35]OFD Sender: No OFD packet to send [08:53:40]OFD Sender: No OFD packet to send [08:53:45]OFD Sender: No OFD packet to send [08:53:50]OFD Sender: No OFD packet to send [08:53:55]OFD Sender: No OFD packet to send [08:54:00]OFD Sender: No OFD packet to send [08:54:05]OFD Sender: No OFD packet to send [08:54:10]OFD Sender: No OFD packet to send [08:54:15]OFD Sender: No OFD packet to send [08:54:20]OFD Sender: No OFD packet to send [08:54:25]OFD Sender: No OFD packet to send [08:54:30]OFD Sender: No OFD packet to send [08:54:35]OFD Sender: No OFD packet to send [08:54:40]OFD Sender: No OFD packet to send [08:54:45]OFD Sender: No OFD packet to send [08:54:50]OFD Sender: No OFD packet to send [08:54:55]OFD Sender: No OFD packet to send [08:55:00]OFD Sender: No OFD packet to send [08:55:05]OFD Sender: No OFD packet to send [08:55:10]OFD Sender: No OFD packet to send [08:55:15]OFD Sender: No OFD packet to send [08:55:20]OFD Sender: No OFD packet to send [08:55:25]OFD Sender: No OFD packet to send [08:55:30]OFD Sender: No OFD packet to send [08:55:35]OFD Sender: No OFD packet to send [08:55:40]OFD Sender: No OFD packet to send [08:55:45]OFD Sender: No OFD packet to send [08:55:50]OFD Sender: No OFD packet to send [08:55:55]OFD Sender: No OFD packet to send [08:56:00]OFD Sender: No OFD packet to send [08:56:05]OFD Sender: No OFD packet to send [08:56:10]OFD Sender: No OFD packet to send [08:56:15]OFD Sender: No OFD packet to send [08:56:20]OFD Sender: No OFD packet to send [08:56:25]OFD Sender: No OFD packet to send [08:56:30]OFD Sender: No OFD packet to send [08:56:35]OFD Sender: No OFD packet to send [08:56:40]OFD Sender: No OFD packet to send [08:56:45]OFD Sender: No OFD packet to send [08:56:50]OFD Sender: No OFD packet to send [08:56:55]OFD Sender: No OFD packet to send [08:57:00]OFD Sender: No OFD packet to send [08:57:05]OFD Sender: No OFD packet to send [08:57:10]OFD Sender: No OFD packet to send [08:57:15]OFD Sender: No OFD packet to send [08:57:20]OFD Sender: No OFD packet to send [08:57:25]OFD Sender: No OFD packet to send [08:57:30]OFD Sender: No OFD packet to send [08:57:35]OFD Sender: No OFD packet to send [08:57:40]OFD Sender: No OFD packet to send [08:57:45]OFD Sender: No OFD packet to send [08:57:50]OFD Sender: No OFD packet to send [08:57:55]OFD Sender: No OFD packet to send [08:58:00]OFD Sender: No OFD packet to send [08:58:05]OFD Sender: No OFD packet to send [08:58:10]OFD Sender: No OFD packet to send [08:58:15]OFD Sender: No OFD packet to send [08:58:20]OFD Sender: No OFD packet to send [08:58:25]OFD Sender: No OFD packet to send [08:58:30]OFD Sender: No OFD packet to send [08:58:35]OFD Sender: No OFD packet to send [08:58:40]OFD Sender: No OFD packet to send [08:58:45]OFD Sender: No OFD packet to send [08:58:50]OFD Sender: No OFD packet to send [08:58:55]OFD Sender: No OFD packet to send [08:59:00]OFD Sender: No OFD packet to send [08:59:05]OFD Sender: No OFD packet to send [08:59:10]OFD Sender: No OFD packet to send [08:59:15]OFD Sender: No OFD packet to send [08:59:20]OFD Sender: No OFD packet to send [08:59:25]OFD Sender: No OFD packet to send [08:59:30]OFD Sender: No OFD packet to send [08:59:35]OFD Sender: No OFD packet to send [08:59:40]OFD Sender: No OFD packet to send [08:59:45]OFD Sender: No OFD packet to send [08:59:50]OFD Sender: No OFD packet to send [08:59:55]OFD Sender: No OFD packet to send [09:00:00]OFD Sender: No OFD packet to send [09:00:05]OFD Sender: No OFD packet to send [09:00:10]OFD Sender: No OFD packet to send [09:00:15]OFD Sender: No OFD packet to send [09:00:20]OFD Sender: No OFD packet to send [09:00:25]OFD Sender: No OFD packet to send [09:00:30]OFD Sender: No OFD packet to send [09:00:35]OFD Sender: No OFD packet to send [09:00:40]OFD Sender: No OFD packet to send [09:00:45]OFD Sender: No OFD packet to send [09:00:50]OFD Sender: No OFD packet to send [09:00:55]OFD Sender: No OFD packet to send [09:01:00]OFD Sender: No OFD packet to send [09:01:05]OFD Sender: No OFD packet to send [09:01:10]OFD Sender: No OFD packet to send [09:01:15]OFD Sender: No OFD packet to send [09:01:20]OFD Sender: No OFD packet to send [09:01:25]OFD Sender: No OFD packet to send [09:01:30]OFD Sender: No OFD packet to send [09:01:35]OFD Sender: No OFD packet to send [09:01:40]OFD Sender: No OFD packet to send [09:01:45]OFD Sender: No OFD packet to send [09:01:50]OFD Sender: No OFD packet to send [09:01:55]OFD Sender: No OFD packet to send [09:02:00]OFD Sender: No OFD packet to send [09:02:05]OFD Sender: No OFD packet to send [09:02:10]OFD Sender: No OFD packet to send [09:02:15]OFD Sender: No OFD packet to send [09:02:20]OFD Sender: No OFD packet to send [09:02:25]OFD Sender: No OFD packet to send [09:02:30]OFD Sender: No OFD packet to send [09:02:35]OFD Sender: No OFD packet to send [09:02:40]OFD Sender: No OFD packet to send [09:02:45]OFD Sender: No OFD packet to send [09:02:50]OFD Sender: No OFD packet to send [09:02:55]OFD Sender: No OFD packet to send [09:03:00]OFD Sender: No OFD packet to send [09:03:05]OFD Sender: No OFD packet to send [09:03:10]OFD Sender: No OFD packet to send [09:03:15]OFD Sender: No OFD packet to send [09:03:20]OFD Sender: No OFD packet to send [09:03:25]OFD Sender: No OFD packet to send [09:03:30]OFD Sender: No OFD packet to send [09:03:35]OFD Sender: No OFD packet to send [09:03:40]OFD Sender: No OFD packet to send [09:03:45]OFD Sender: No OFD packet to send [09:03:50]OFD Sender: No OFD packet to send [09:03:55]OFD Sender: No OFD packet to send [09:04:00]OFD Sender: No OFD packet to send [09:04:05]OFD Sender: No OFD packet to send [09:04:10]OFD Sender: No OFD packet to send [09:04:15]OFD Sender: No OFD packet to send [09:04:20]OFD Sender: No OFD packet to send [09:04:25]OFD Sender: No OFD packet to send [09:04:30]OFD Sender: No OFD packet to send [09:04:35]OFD Sender: No OFD packet to send [09:04:40]OFD Sender: No OFD packet to send [09:04:45]OFD Sender: No OFD packet to send [09:04:50]OFD Sender: No OFD packet to send [09:04:55]OFD Sender: No OFD packet to send [09:05:00]OFD Sender: No OFD packet to send [09:05:05]OFD Sender: No OFD packet to send [09:05:10]OFD Sender: No OFD packet to send [09:05:15]OFD Sender: No OFD packet to send [09:05:20]OFD Sender: No OFD packet to send [09:05:25]OFD Sender: No OFD packet to send [09:05:30]OFD Sender: No OFD packet to send [09:05:35]OFD Sender: No OFD packet to send [09:05:40]OFD Sender: No OFD packet to send [09:05:45]OFD Sender: No OFD packet to send [09:05:50]OFD Sender: No OFD packet to send [09:05:55]OFD Sender: No OFD packet to send [09:06:00]OFD Sender: No OFD packet to send [09:06:05]OFD Sender: No OFD packet to send [09:06:10]OFD Sender: No OFD packet to send [09:06:15]OFD Sender: No OFD packet to send [09:06:20]OFD Sender: No OFD packet to send [09:06:25]OFD Sender: No OFD packet to send [09:06:30]OFD Sender: No OFD packet to send [09:06:35]OFD Sender: No OFD packet to send [09:06: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:07]accept exits with 9 [09:09:07]New connection [09:09:07]New thread 3066940772 created [09:09:07]Thread 3067084132 joined [09:09:07]Waiting for new connection... [09:09:07] Sock 9.Parse request [09:09:07]Sock 9.Check first char [09:09:07]Sock 9.First char is OK [09:09:07]request: POST /json_proto HTTP/1.0 [09:09:07]Method: POST [09:09:07]URL: /json_proto [09:09:07]Method is POST - this is cgi request [09:09:07]url: /json_proto [09:09:07]query_string will be loaded in cgi processing [09:09:07]execute_cgi json_proto POST (null) [09:09:07]execute_cgi path=json_proto method=POST [09:09:07]POST find Content-Length [09:09:07]Host: 172.17.50.4:8080 [09:09:07]Content-Length: 655 [09:09:07]Content-Type: application/json [09:09:07] [09:09:07]POST finish read [09:09:07]Found Content-Length = 655 [09:09:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134834", "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" ] } } [09:09:07]execute_script... [09:09: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)134834", "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" ] } } [09:09:07]POST & json_proto [09:09:07]process_json_proto [09:09:07]json parsed OK: [09:09:07]protocol is kg_v1.0 [09:09:07]action value=close_receipt [09:09:07]process_action close_receipt [09:09:07]cmd_close_receipt [09:09:07]MH_GetDate [09:09:07]Write to MH i2c: F0 00 00 1F 02 10 [09:09:07]Write i2c OK [09:09:07]MH_I2C_Read... [09:09:07]Read from MH i2c: F0 [09:09:07]MH_I2C_Read... [09:09:07]Read from MH i2c: F0 09 00 [09:09:07]MH_I2C_Read... [09:09:07]Read from MH i2c: F0 09 00 1F 02 00 33 1A 16 67 3B 12 16 67 AD [09:09:07]GetLastDocTimeStamp 1729500487 [09:09:07]current date 1729501747 [09:09:07]FM_GetShiftState [09:09:07]SAM_PROTO_GetShiftState [09:09:07]wFMCommunicate request_size=4 [09:09:07]MH_SAM_APDU [09:09:07]CAPDU: 80 13 01 00 [09:09:07]Write to MH i2c: E2 08 00 20 02 80 13 01 00 00 00 00 00 9F [09:09:07]Write i2c OK [09:09:07]MH_I2C_Read... [09:09:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:09:07]Read from MH i2c: E2 [09:09:07]MH_I2C_Read... [09:09:07]Read from MH i2c: E2 0E 00 [09:09:07]MH_I2C_Read... [09:09:07]Read from MH i2c: E2 0E 00 20 02 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 E9 [09:09:07]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [09:09:07]wFMCommunicate OK [09:09:07]SAM_PROTO_GetShiftState done [09:09:07]FM_GetShiftState done [09:09:07]opened in 1729469223 [09:09:07]opened+sec_in_day 1729555623 [09:09:07]quantity*price = 6900 [09:09:07]sum+1 = 6901 [09:09:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 69.00 НСП 1% : 0.61 НДС 12% : 7.33 Наличными: 69.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 16 21.10.2024 09:09 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24312 ФПД: 32330957255958 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T090907&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24312&fm=32330957255958&tin=02508201610067®Number=0000000000098120&sum=6900 0 [09:09:08]StoreToDocumentArchive [09:09:08]shift 461 fd 24312 [09:09:08]save to /storage/0461/doc_00024312 [09:09:08]save last doc name /storage/0461/doc_00024312 to /storage/kkm_last_doc_name [09:09:08]save OK [09:09:08]Clear old archive folders... [09:09:08]ProcessDocumentItem done err = 0, tmpTLVsize=294 [09:09:08]tlvbuf is 00331610 [09:09:08]SAM_PROTO_ClearQueue [09:09:08]wFMCommunicate request_size=4 [09:09:08]MH_SAM_APDU [09:09:08]CAPDU: 80 09 00 00 [09:09:08]Write to MH i2c: E2 08 00 2D 02 80 09 00 00 00 00 00 00 A1 [09:09:08]Write i2c OK [09:09:08]MH_I2C_Read... [09:09:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:09:08]Read from MH i2c: E2 [09:09:08]MH_I2C_Read... [09:09:08]Read from MH i2c: E2 03 00 [09:09:08]MH_I2C_Read... [09:09:08]Read from MH i2c: E2 03 00 2D 02 00 90 00 A3 [09:09:08]RAPDU: 90 00 [09:09:08]wFMCommunicate OK [09:09:08]SAM_PROTO_ClearQueue done [09:09:08]KKMCreateOFDPacket [09:09:08]OFDProtocolAddRootSTLVToBuf [09:09:08]FM_MakeSignedData [09:09:08]FM_MakeSignedData [09:09:08]SAM_PROTO_SignData [09:09:08]wFMCommunicate request_size=4 [09:09:08]MH_SAM_APDU [09:09:08]CAPDU: 80 0D 01 02 [09:09:08]Write to MH i2c: E2 08 00 2E 02 80 0D 01 02 00 00 00 00 A9 [09:09:08]Write i2c OK [09:09:08]MH_I2C_Read... [09:09:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:09:08]Read from MH i2c: E2 [09:09:08]MH_I2C_Read... [09:09:08]Read from MH i2c: E2 03 00 [09:09:08]MH_I2C_Read... [09:09:08]Read from MH i2c: E2 03 00 2E 02 00 90 00 A4 [09:09:08]RAPDU: 90 00 [09:09:08]wFMCommunicate OK [09:09:08]wFMCommunicate request_size=255 [09:09:08]MH_SAM_APDU [09:09:08]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 10 00 00 00 F4 03 04 00 33 1A 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [09:09:08]Write to MH i2c: E2 02 01 2F 02 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 10 00 00 00 F4 03 04 00 33 1A 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 60 [09:09:08]Write i2c OK [09:09:08]MH_I2C_Read... [09:09:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:09:08]Read from MH i2c: E2 [09:09:08]MH_I2C_Read... [09:09:08]Read from MH i2c: E2 03 00 [09:09:08]MH_I2C_Read... [09:09:08]Read from MH i2c: E2 03 00 2F 02 00 90 00 A5 [09:09:08]RAPDU: 90 00 [09:09:08]wFMCommunicate OK [09:09:08]wFMCommunicate request_size=53 [09:09:08]MH_SAM_APDU [09:09:08]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F8 5E 00 00 35 04 06 00 1D 67 A3 38 F5 16 [09:09:08]Write to MH i2c: E2 38 00 30 02 80 0D 02 02 30 00 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F8 5E 00 00 35 04 06 00 1D 67 A3 38 F5 16 00 00 56 [09:09:08]Write i2c OK [09:09:08]MH_I2C_Read... [09:09:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:09:08]Read from MH i2c: E2 [09:09:08]MH_I2C_Read... [09:09:08]Read from MH i2c: E2 03 00 [09:09:08]MH_I2C_Read... [09:09:08]Read from MH i2c: E2 03 00 30 02 00 90 00 A6 [09:09:08]RAPDU: 90 00 [09:09:08]wFMCommunicate OK [09:09:08]wFMCommunicate request_size=4 [09:09:08]MH_SAM_APDU [09:09:08]CAPDU: 80 0D 03 02 [09:09:08]Write to MH i2c: E2 08 00 31 02 80 0D 03 02 00 00 00 00 AE [09:09:08]Write i2c OK [09:09:08]MH_I2C_Read... [09:09:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:09:08]Read from MH i2c: E2 [09:09:08]MH_I2C_Read... [09:09:08]Read from MH i2c: E2 0B 00 [09:09:08]MH_I2C_Read... [09:09:08]Read from MH i2c: E2 0B 00 31 02 00 63 C7 A7 6F 8B F4 D5 85 90 00 C8 [09:09:08]RAPDU: 63 C7 A7 6F 8B F4 D5 85 90 00 [09:09:08]wFMCommunicate OK [09:09:08]SAM_PROTO_SignData done [09:09:08]FM_MakeSignedData done [09:09:08]CreateOFDProtocolMessage [09:09:08]wFMCommunicate request_size=4 [09:09:08]MH_SAM_APDU [09:09:08]CAPDU: 80 11 00 00 [09:09:08]Write to MH i2c: E2 08 00 32 02 80 11 00 00 00 00 00 00 AE [09:09:08]Write i2c OK [09:09:08]MH_I2C_Read... [09:09:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:09:08]Read from MH i2c: E2 [09:09:08]MH_I2C_Read... [09:09:08]Read from MH i2c: E2 17 00 [09:09:08]MH_I2C_Read... [09:09:08]Read from MH i2c: E2 17 00 32 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 FB [09:09:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:09:08]wFMCommunicate OK [09:09:08]CreateOFDProtocolMessage done [09:09:08]OFDSenderStorePacket 24312 [09:09:08]StoreOFDPacket docnum=24312 [09:09:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 3A 01 00 00 2A 25 32 01 B1 5C 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 10 00 00 00 F4 03 04 00 33 1A 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F8 5E 00 00 35 04 06 00 1D 67 A3 38 F5 16 63 C7 A7 6F 8B F4 D5 85 [09:09:08]CheckFolder [09:09:08]dirname=/storage/ofd_packets [09:09:08]CheckFolder done [09:09:08]ProducePacketName [09:09:08]name=ofd_packets/00024312 [09:09:08]NVStorageSaveData ofd_packets/00024312 [09:09:08]File name is /storage/ofd_packets/00024312 [09:09:08]Write 344 bytes [09:09:08]NVStorageSaveData done [09:09:08]OFDSenderStorePacket done [09:09:08]KKMCreateOFDPacket done [09:09:08]NVStorageSaveData kkm_last_timestamp [09:09:08]File name is /storage/kkm_last_timestamp [09:09:08]Write 4 bytes [09:09:08]NVStorageSaveData done [09:09:08]ExternCall_PrintAddStr [09:09:08]wPrintStart [09:09:08]Write to MH i2c: 01 00 00 33 02 35 [09:09:08]Write i2c OK [09:09:08]MH_I2C_Read... [09:09:08]Read from MH i2c: 01 [09:09:08]MH_I2C_Read... [09:09:08]Read from MH i2c: 01 07 00 [09:09:08]MH_I2C_Read... [09:09:08]Read from MH i2c: 01 07 00 33 02 00 00 00 00 00 FF 0F 4A [09:09:08]RasterBufferAndPrint [09:09:08]line Счет N : (3)134834 [09:09:08]line ИНН: 02508201610067 [09:09:08]line Контрольно-Кассовый Чек [09:09:08]line ПРОДАЖА [09:09:08]line Товар: 4600682557456 [09:09:08]line Напиток FLash up energy эн ж/б 0,5/0,45л [09:09:08]line 1.000 * 69.00 [09:09:08]line = 69.00 [09:09:08]line НДС 12% НСП 1% [09:09:08]line > о реализуемом товаре [09:09:08]line ИТОГО: 69.00 [09:09:08]line НСП 1% : 0.61 [09:09:08]line НДС 12% : 7.33 [09:09:08]line Наличными: 69.00 [09:09:08]line Безнал.: 0.00 [09:09:08]line Место: АЗС № 85 "Партнер Нефть" [09:09:08]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [09:09:08]line СНО: Общий режим [09:09:08]line Чек 16 21.10.2024 09:09 [09:09:08]line Смена: 461 ФФД: 1.0 [09:09:08]line ЗНМ: 0300000166 [09:09:08]line РНМ: 0000000000098120 [09:09:08]line Версия ККМ: 001 [09:09:08]line ФМ: 0000000000965420 [09:09:08]line ФД: 24312 [09:09:08]line ФПД: 32330957255958 [09:09:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T090907&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24312&fm=32330957255958&tin=02508201610067®Number=0000000000098120&sum=6900 [09:09:09]OFD Sender: Processing packet 24312 [packets to send 5, broken 4] [09:09:09]ProducePacketName [09:09:09]name=ofd_packets/00024312 [09:09:09]OFD Sender: To server: pG, [09:09:09]CommunicateWithHost lk.salyk.kg:30040 [09:09:09]ConnectInit lk.salyk.kg [09:09:09]line 0 [09:09:09]written 0, free lines is 4095 [09:09:09]Connected sock=10 [09:09: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 34 32 30 3A 01 00 00 2A 25 32 01 B1 5C 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 10 00 00 00 F4 03 04 00 33 1A 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F8 5E 00 00 35 04 06 00 1D 67 A3 38 F5 16 63 C7 A7 6F 8B F4 D5 85 [09:09:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 0C F5 47 00 A8 A5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F8 5E 00 00 F4 03 04 00 DA C5 15 67 B6 04 01 00 00 CA B4 D4 21 70 0A 07 8E [09:09:09]CommunicateWithHost err = 0 [09:09:09]CheckOFDResponse [09:09:09]1017 (14) - 77093643461234 [09:09:09]1041 (16) - 0000000000965420 [09:09:09]1040 (4) - 24312 [09:09:09]1012 (4) - 21.10.2024 03:09 [09:09:09]1206 (1) - 0 [09:09:09]OFD Sender: Remove packet 24312 [09:09:09]ProducePacketName [09:09:09]name=ofd_packets/00024312 [09:09:09]NVStorageDeleteData [09:09:09]Write to MH i2c: 01 00 00 5C 02 5E [09:09:09]Write i2c OK [09:09:09]MH_I2C_Read... [09:09:09]Read from MH i2c: 01 [09:09:09]MH_I2C_Read... [09:09:09]Read from MH i2c: 01 07 00 [09:09:09]MH_I2C_Read... [09:09:09]Read from MH i2c: 01 07 00 5C 02 00 00 00 00 00 13 0D 85 [09:09:09]RasterBufferAndPrint [09:09:09]line [09:09:09]line [09:09:09]line [09:09:09]line [09:09:09]line [09:09:09]written 0, free lines is 3353 [09:09:09]process_action close_receipt done [09:09:09]requested_data is exist [09:09:09]produce_requested_data [09:09:09]requested_item fm.sn is exist - process it [09:09:09]wFMCommunicate request_size=4 [09:09:09]MH_SAM_APDU [09:09:09]CAPDU: 80 11 00 00 [09:09:09]Write to MH i2c: E2 08 00 63 02 80 11 00 00 00 00 00 00 DF [09:09:09]Write i2c OK [09:09:09]MH_I2C_Read... [09:09:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:09:09]Read from MH i2c: E2 [09:09:09]MH_I2C_Read... [09:09:09]Read from MH i2c: E2 17 00 [09:09:09]MH_I2C_Read... [09:09:09]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 34 32 30 90 00 2C [09:09:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:09:09]wFMCommunicate OK [09:09:09]requested_item fd.num is exist - process it [09:09:09]SAM_PROTO_GetFieldsCounters [09:09:09]wFMCommunicate request_size=4 [09:09:09]MH_SAM_APDU [09:09:09]CAPDU: 80 13 00 00 [09:09:09]Write to MH i2c: E2 08 00 64 02 80 13 00 00 00 00 00 00 E2 [09:09:09]Write i2c OK [09:09:09]MH_I2C_Read... [09:09:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:09:09]Read from MH i2c: E2 [09:09:09]MH_I2C_Read... [09:09:09]Read from MH i2c: E2 62 00 [09:09:09]MH_I2C_Read... [09:09:09]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 F8 5E 00 00 0E 04 04 00 CD 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 4C [09:09:09]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 F8 5E 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:09:09]wFMCommunicate OK [09:09:09]SAM_PROTO_GetFieldsCounters done [09:09:09]requested_item shift.num is exist - process it [09:09:09]requested_item shift.opened is exist - process it [09:09:09]req_shift_opened [09:09:09]FM_GetShiftState [09:09:09]SAM_PROTO_GetShiftState [09:09:09]wFMCommunicate request_size=4 [09:09:09]MH_SAM_APDU [09:09:09]CAPDU: 80 13 01 00 [09:09:09]Write to MH i2c: E2 08 00 65 02 80 13 01 00 00 00 00 00 E4 [09:09:09]Write i2c OK [09:09:09]MH_I2C_Read... [09:09:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:09:09]Read from MH i2c: E2 [09:09:09]MH_I2C_Read... [09:09:09]Read from MH i2c: E2 0E 00 [09:09:09]MH_I2C_Read... [09:09:09]Read from MH i2c: E2 0E 00 65 02 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 2E [09:09:09]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [09:09:09]wFMCommunicate OK [09:09:09]SAM_PROTO_GetShiftState done [09:09:09]FM_GetShiftState done [09:09:09]req_shift_opened done [09:09:09]requested_item shift.open_date is exist - process it [09:09:09]req_shift_open_date [09:09:09]req_shift_open_date done [09:09:09]produce_requested_data done [09:09:09]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24312,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [09:09:09]process_action_free close_receipt [09:09:09]json_value_free [09:09:09]json_value_free done [09:09:09]process_json_proto returns [09:09:09]Send response to host [09:09:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24312,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [09:09:09]free response buf [09:09:09]execute_script done [09:09:09]execute_script returns [09:09:09]free content buf [09:09:09]Sock 9.Close socket [09:09:09]Sock 9.Thread stoped [09:09:09]OFD Sender: No OFD packet to send [09:09:14]OFD Sender: No OFD packet to send [09:09:19]OFD Sender: No OFD packet to send [09:09:24]OFD Sender: No OFD packet to send [09:09:29]OFD Sender: No OFD packet to send [09:09:34]OFD Sender: No OFD packet to send [09:09:40]OFD Sender: No OFD packet to send [09:09:45]OFD Sender: No OFD packet to send [09:09:50]OFD Sender: No OFD packet to send [09:09:55]OFD Sender: No OFD packet to send [09:10:00]OFD Sender: No OFD packet to send [09:10:05]OFD Sender: No OFD packet to send [09:10:10]OFD Sender: No OFD packet to send [09:10:15]OFD Sender: No OFD packet to send [09:10:20]OFD Sender: No OFD packet to send [09:10:25]OFD Sender: No OFD packet to send [09:10:30]OFD Sender: No OFD packet to send [09:10:35]OFD Sender: No OFD packet to send [09:10:40]OFD Sender: No OFD packet to send [09:10:45]OFD Sender: No OFD packet to send [09:10:50]OFD Sender: No OFD packet to send [09:10:55]OFD Sender: No OFD packet to send [09:11:00]OFD Sender: No OFD packet to send [09:11:05]OFD Sender: No OFD packet to send [09:11:10]OFD Sender: No OFD packet to send [09:11:15]OFD Sender: No OFD packet to send [09:11:20]OFD Sender: No OFD packet to send [09:11:25]OFD Sender: No OFD packet to send [09:11:30]OFD Sender: No OFD packet to send [09:11:35]OFD Sender: No OFD packet to send [09:11:40]OFD Sender: No OFD packet to send [09:11:45]OFD Sender: No OFD packet to send [09:11:50]OFD Sender: No OFD packet to send [09:11:55]OFD Sender: No OFD packet to send [09:12:00]OFD Sender: No OFD packet to send [09:12:05]OFD Sender: No OFD packet to send [09:12:10]OFD Sender: No OFD packet to send [09:12:15]OFD Sender: No OFD packet to send [09:12:20]OFD Sender: No OFD packet to send [09:12:25]OFD Sender: No OFD packet to send [09:12:30]OFD Sender: No OFD packet to send [09:12:35]OFD Sender: No OFD packet to send [09:12:40]OFD Sender: No OFD packet to send [09:12:45]OFD Sender: No OFD packet to send [09:12:50]OFD Sender: No OFD packet to send [09:12:55]OFD Sender: No OFD packet to send [09:13:00]OFD Sender: No OFD packet to send [09:13:05]OFD Sender: No OFD packet to send [09:13:10]OFD Sender: No OFD packet to send [09:13:15]OFD Sender: No OFD packet to send [09:13:20]OFD Sender: No OFD packet to send [09:13:25]OFD Sender: No OFD packet to send [09:13:30]OFD Sender: No OFD packet to send [09:13:35]OFD Sender: No OFD packet to send [09:13:40]OFD Sender: No OFD packet to send [09:13:45]OFD Sender: No OFD packet to send [09:13:50]OFD Sender: No OFD packet to send [09:13:55]OFD Sender: No OFD packet to send [09:14:00]OFD Sender: No OFD packet to send [09:14:05]OFD Sender: No OFD packet to send [09:14:10]OFD Sender: No OFD packet to send [09:14:15]OFD Sender: No OFD packet to send [09:14:20]OFD Sender: No OFD packet to send [09:14:25]OFD Sender: No OFD packet to send [09:14:30]OFD Sender: No OFD packet to send [09:14:35]OFD Sender: No OFD packet to send [09:14:40]OFD Sender: No OFD packet to send [09:14:45]OFD Sender: No OFD packet to send [09:14:50]OFD Sender: No OFD packet to send [09:14:55]OFD Sender: No OFD packet to send [09:15:00]OFD Sender: No OFD packet to send [09:15:05]OFD Sender: No OFD packet to send [09:15:10]OFD Sender: No OFD packet to send [09:15:15]OFD Sender: No OFD packet to send [09:15:20]OFD Sender: No OFD packet to send [09:15:25]OFD Sender: No OFD packet to send [09:15:30]OFD Sender: No OFD packet to send [09:15:35]OFD Sender: No OFD packet to send [09:15:40]OFD Sender: No OFD packet to send [09:15:45]OFD Sender: No OFD packet to send [09:15:50]OFD Sender: No OFD packet to send [09:15:55]OFD Sender: No OFD packet to send [09:16:00]OFD Sender: No OFD packet to send [09:16:05]OFD Sender: No OFD packet to send [09:16:10]OFD Sender: No OFD packet to send [09:16:15]OFD Sender: No OFD packet to send [09:16:20]OFD Sender: No OFD packet to send [09:16:25]OFD Sender: No OFD packet to send [09:16:30]OFD Sender: No OFD packet to send [09:16:35]OFD Sender: No OFD packet to send [09:16:40]OFD Sender: No OFD packet to send [09:16:45]OFD Sender: No OFD packet to send [09:16:50]OFD Sender: No OFD packet to send [09:16:55]OFD Sender: No OFD packet to send [09:17:00]OFD Sender: No OFD packet to send [09:17:05]OFD Sender: No OFD packet to send [09:17:10]OFD Sender: No OFD packet to send [09:17:15]OFD Sender: No OFD packet to send [09:17:20]OFD Sender: No OFD packet to send [09:17:25]OFD Sender: No OFD packet to send [09:17:30]OFD Sender: No OFD packet to send [09:17:35]OFD Sender: No OFD packet to send [09:17:40]OFD Sender: No OFD packet to send [09:17:45]OFD Sender: No OFD packet to send [09:17:50]OFD Sender: No OFD packet to send [09:17:55]OFD Sender: No OFD packet to send [09:18:00]OFD Sender: No OFD packet to send [09:18:05]OFD Sender: No OFD packet to send [09:18:10]OFD Sender: No OFD packet to send [09:18:15]OFD Sender: No OFD packet to send [09:18:20]OFD Sender: No OFD packet to send [09:18:25]OFD Sender: No OFD packet to send [09:18:30]OFD Sender: No OFD packet to send [09:18:35]OFD Sender: No OFD packet to send [09:18:40]OFD Sender: No OFD packet to send [09:18:45]OFD Sender: No OFD packet to send [09:18:50]OFD Sender: No OFD packet to send [09:18:55]OFD Sender: No OFD packet to send [09:19:00]OFD Sender: No OFD packet to send [09:19:05]OFD Sender: No OFD packet to send [09:19:10]OFD Sender: No OFD packet to send [09:19:15]OFD Sender: No OFD packet to send [09:19:20]OFD Sender: No OFD packet to send [09:19:25]OFD Sender: No OFD packet to send [09:19:30]OFD Sender: No OFD packet to send [09:19:35]OFD Sender: No OFD packet to send [09:19:40]OFD Sender: No OFD packet to send [09:19:45]OFD Sender: No OFD packet to send [09:19:50]OFD Sender: No OFD packet to send [09:19:55]OFD Sender: No OFD packet to send [09:20:00]OFD Sender: No OFD packet to send [09:20:05]OFD Sender: No OFD packet to send [09:20:10]OFD Sender: No OFD packet to send [09:20:15]OFD Sender: No OFD packet to send [09:20:20]OFD Sender: No OFD packet to send [09:20:25]OFD Sender: No OFD packet to send [09:20:30]OFD Sender: No OFD packet to send [09:20:35]OFD Sender: No OFD packet to send [09:20:40]OFD Sender: No OFD packet to send [09:20:45]OFD Sender: No OFD packet to send [09:20:50]OFD Sender: No OFD packet to send [09:20:55]OFD Sender: No OFD packet to send [09:21:00]OFD Sender: No OFD packet to send [09:21:05]OFD Sender: No OFD packet to send [09:21:10]OFD Sender: No OFD packet to send [09:21:15]OFD Sender: No OFD packet to send [09:21:20]OFD Sender: No OFD packet to send [09:21:25]OFD Sender: No OFD packet to send [09:21:30]OFD Sender: No OFD packet to send [09:21:35]OFD Sender: No OFD packet to send [09:21:40]OFD Sender: No OFD packet to send [09:21:45]OFD Sender: No OFD packet to send [09:21:50]OFD Sender: No OFD packet to send [09:21:55]OFD Sender: No OFD packet to send [09:22:00]OFD Sender: No OFD packet to send [09:22:05]OFD Sender: No OFD packet to send [09:22:10]OFD Sender: No OFD packet to send [09:22:15]OFD Sender: No OFD packet to send [09:22:20]OFD Sender: No OFD packet to send [09:22:25]OFD Sender: No OFD packet to send [09:22:30]OFD Sender: No OFD packet to send [09:22:35]OFD Sender: No OFD packet to send [09:22:40]OFD Sender: No OFD packet to send [09:22:45]OFD Sender: No OFD packet to send [09:22:50]OFD Sender: No OFD packet to send [09:22:55]OFD Sender: No OFD packet to send [09:23:00]OFD Sender: No OFD packet to send [09:23:05]OFD Sender: No OFD packet to send [09:23:10]OFD Sender: No OFD packet to send [09:23:15]OFD Sender: No OFD packet to send [09:23:20]OFD Sender: No OFD packet to send [09:23:25]OFD Sender: No OFD packet to send [09:23:30]OFD Sender: No OFD packet to send [09:23:35]OFD Sender: No OFD packet to send [09:23:40]OFD Sender: No OFD packet to send [09:23:45]OFD Sender: No OFD packet to send [09:23:50]OFD Sender: No OFD packet to send [09:23:55]OFD Sender: No OFD packet to send [09:24:00]OFD Sender: No OFD packet to send [09:24:05]OFD Sender: No OFD packet to send [09:24:10]OFD Sender: No OFD packet to send [09:24:15]OFD Sender: No OFD packet to send [09:24:20]OFD Sender: No OFD packet to send [09:24:25]OFD Sender: No OFD packet to send [09:24:30]OFD Sender: No OFD packet to send [09:24:35]OFD Sender: No OFD packet to send [09:24:40]OFD Sender: No OFD packet to send [09:24:45]OFD Sender: No OFD packet to send [09:24:50]OFD Sender: No OFD packet to send [09:24:55]OFD Sender: No OFD packet to send [09:25:00]OFD Sender: No OFD packet to send [09:25:05]OFD Sender: No OFD packet to send [09:25:10]OFD Sender: No OFD packet to send [09:25:15]OFD Sender: No OFD packet to send [09:25:20]OFD Sender: No OFD packet to send [09:25:25]OFD Sender: No OFD packet to send [09:25:30]OFD Sender: No OFD packet to send [09:25:35]OFD Sender: No OFD packet to send [09:25:40]OFD Sender: No OFD packet to send [09:25:45]OFD Sender: No OFD packet to send [09:25:50]OFD Sender: No OFD packet to send [09:25:55]OFD Sender: No OFD packet to send [09:26:00]OFD Sender: No OFD packet to send [09:26:05]OFD Sender: No OFD packet to send [09:26:10]OFD Sender: No OFD packet to send [09:26:15]OFD Sender: No OFD packet to send [09:26:20]OFD Sender: No OFD packet to send [09:26:25]OFD Sender: No OFD packet to send [09:26:30]OFD Sender: No OFD packet to send [09:26:35]OFD Sender: No OFD packet to send [09:26:40]OFD Sender: No OFD packet to send [09:26:45]OFD Sender: No OFD packet to send [09:26:50]OFD Sender: No OFD packet to send [09:26:55]OFD Sender: No OFD packet to send [09:27:00]OFD Sender: No OFD packet to send [09:27:05]OFD Sender: No OFD packet to send [09:27:10]OFD Sender: No OFD packet to send [09:27:15]OFD Sender: No OFD packet to send [09:27:20]OFD Sender: No OFD packet to send [09:27:25]OFD Sender: No OFD packet to send [09:27:30]OFD Sender: No OFD packet to send [09:27:35]OFD Sender: No OFD packet to send [09:27:40]OFD Sender: No OFD packet to send [09:27:45]OFD Sender: No OFD packet to send [09:27:50]OFD Sender: No OFD packet to send [09:27:55]OFD Sender: No OFD packet to send [09:28:00]OFD Sender: No OFD packet to send [09:28:05]OFD Sender: No OFD packet to send [09:28:10]OFD Sender: No OFD packet to send [09:28:13]accept exits with 8 [09:28:13]New connection [09:28:13]New thread 3067084132 created [09:28:13]Thread 3066940772 joined [09:28:13]Waiting for new connection... [09:28:13] Sock 8.Parse request [09:28:13]Sock 8.Check first char [09:28:13]Sock 8.First char is OK [09:28:13]request: POST /json_proto HTTP/1.0 [09:28:13]Method: POST [09:28:14]URL: /json_proto [09:28:14]Method is POST - this is cgi request [09:28:14]url: /json_proto [09:28:14]query_string will be loaded in cgi processing [09:28:14]execute_cgi json_proto POST (null) [09:28:14]execute_cgi path=json_proto method=POST [09:28:14]POST find Content-Length [09:28:14]Host: 172.17.50.4:8080 [09:28:14]Content-Length: 760 [09:28:14]Content-Type: application/json [09:28:14] [09:28:14]POST finish read [09:28:14]Found Content-Length = 760 [09:28:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134835", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:28:14]execute_script... [09:28: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)134835", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:28:14]POST & json_proto [09:28:14]process_json_proto [09:28:14]json parsed OK: [09:28:14]protocol is kg_v1.0 [09:28:14]action value=close_receipt [09:28:14]process_action close_receipt [09:28:14]cmd_close_receipt [09:28:14]MH_GetDate [09:28:14]Write to MH i2c: F0 00 00 66 02 57 [09:28:14]Write i2c OK [09:28:14]MH_I2C_Read... [09:28:14]Read from MH i2c: F0 [09:28:14]MH_I2C_Read... [09:28:14]Read from MH i2c: F0 09 00 [09:28:14]MH_I2C_Read... [09:28:14]Read from MH i2c: F0 09 00 66 02 00 AE 1E 16 67 3B 12 16 67 73 [09:28:14]GetLastDocTimeStamp 1729501747 [09:28:14]current date 1729502894 [09:28:14]FM_GetShiftState [09:28:14]SAM_PROTO_GetShiftState [09:28:14]wFMCommunicate request_size=4 [09:28:14]MH_SAM_APDU [09:28:14]CAPDU: 80 13 01 00 [09:28:14]Write to MH i2c: E2 08 00 67 02 80 13 01 00 00 00 00 00 E6 [09:28:14]Write i2c OK [09:28:14]MH_I2C_Read... [09:28:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:28:14]Read from MH i2c: E2 [09:28:14]MH_I2C_Read... [09:28:14]Read from MH i2c: E2 0E 00 [09:28:14]MH_I2C_Read... [09:28:14]Read from MH i2c: E2 0E 00 67 02 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 30 [09:28:14]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [09:28:14]wFMCommunicate OK [09:28:14]SAM_PROTO_GetShiftState done [09:28:14]FM_GetShiftState done [09:28:14]opened in 1729469223 [09:28:14]opened+sec_in_day 1729555623 [09:28:14]quantity*price = 7500 [09:28:14]sum+1 = 7501 [09:28:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 0.00 Безнал.: 75.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 17 21.10.2024 09:28 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24313 ФПД: 225727498744313 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T092814&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24313&fm=225727498744313&tin=02508201610067®Number=0000000000098120&sum=7500 0 [09:28:15]StoreToDocumentArchive [09:28:15]shift 461 fd 24313 [09:28:15]save to /storage/0461/doc_00024313 [09:28:15]save last doc name /storage/0461/doc_00024313 to /storage/kkm_last_doc_name [09:28:15]save OK [09:28:15]Clear old archive folders... [09:28:15]ProcessDocumentItem done err = 0, tmpTLVsize=268 [09:28:15]tlvbuf is 002B9B10 [09:28:15]SAM_PROTO_ClearQueue [09:28:15]wFMCommunicate request_size=4 [09:28:15]MH_SAM_APDU [09:28:15]CAPDU: 80 09 00 00 [09:28:15]Write to MH i2c: E2 08 00 74 02 80 09 00 00 00 00 00 00 E8 [09:28:15]Write i2c OK [09:28:15]MH_I2C_Read... [09:28:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:28:15]Read from MH i2c: E2 [09:28:15]MH_I2C_Read... [09:28:15]Read from MH i2c: E2 03 00 [09:28:15]MH_I2C_Read... [09:28:15]Read from MH i2c: E2 03 00 74 02 00 90 00 EA [09:28:15]RAPDU: 90 00 [09:28:15]wFMCommunicate OK [09:28:15]SAM_PROTO_ClearQueue done [09:28:15]KKMCreateOFDPacket [09:28:15]OFDProtocolAddRootSTLVToBuf [09:28:15]FM_MakeSignedData [09:28:15]FM_MakeSignedData [09:28:15]SAM_PROTO_SignData [09:28:15]wFMCommunicate request_size=4 [09:28:15]MH_SAM_APDU [09:28:15]CAPDU: 80 0D 01 02 [09:28:15]Write to MH i2c: E2 08 00 75 02 80 0D 01 02 00 00 00 00 F0 [09:28:15]Write i2c OK [09:28:15]MH_I2C_Read... [09:28:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:28:15]Read from MH i2c: E2 [09:28:15]MH_I2C_Read... [09:28:15]Read from MH i2c: E2 03 00 [09:28:15]MH_I2C_Read... [09:28:15]Read from MH i2c: E2 03 00 75 02 00 90 00 EB [09:28:15]RAPDU: 90 00 [09:28:15]wFMCommunicate OK [09:28:15]wFMCommunicate request_size=255 [09:28:15]MH_SAM_APDU [09:28:15]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 00 00 00 00 00 00 39 04 06 00 4C 1D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 AE 1E 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 [09:28:15]Write to MH i2c: E2 02 01 76 02 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 00 00 00 00 00 00 39 04 06 00 4C 1D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 AE 1E 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 00 00 6E [09:28:15]Write i2c OK [09:28:15]MH_I2C_Read... [09:28:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:28:15]Read from MH i2c: E2 [09:28:15]MH_I2C_Read... [09:28:15]Read from MH i2c: E2 03 00 [09:28:15]MH_I2C_Read... [09:28:15]Read from MH i2c: E2 03 00 76 02 00 90 00 EC [09:28:15]RAPDU: 90 00 [09:28:15]wFMCommunicate OK [09:28:15]wFMCommunicate request_size=27 [09:28:15]MH_SAM_APDU [09:28:15]CAPDU: 80 0D 02 02 16 35 34 32 30 10 04 04 00 F9 5E 00 00 35 04 06 00 CD 4C 47 60 F1 F9 [09:28:15]Write to MH i2c: E2 1E 00 77 02 80 0D 02 02 16 00 35 34 32 30 10 04 04 00 F9 5E 00 00 35 04 06 00 CD 4C 47 60 F1 F9 00 00 42 [09:28:15]Write i2c OK [09:28:15]MH_I2C_Read... [09:28:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:28:15]Read from MH i2c: E2 [09:28:15]MH_I2C_Read... [09:28:15]Read from MH i2c: E2 03 00 [09:28:15]MH_I2C_Read... [09:28:15]Read from MH i2c: E2 03 00 77 02 00 90 00 ED [09:28:15]RAPDU: 90 00 [09:28:15]wFMCommunicate OK [09:28:15]wFMCommunicate request_size=4 [09:28:15]MH_SAM_APDU [09:28:15]CAPDU: 80 0D 03 02 [09:28:15]Write to MH i2c: E2 08 00 78 02 80 0D 03 02 00 00 00 00 F5 [09:28:15]Write i2c OK [09:28:15]MH_I2C_Read... [09:28:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:28:15]Read from MH i2c: E2 [09:28:15]MH_I2C_Read... [09:28:15]Read from MH i2c: E2 0B 00 [09:28:15]MH_I2C_Read... [09:28:15]Read from MH i2c: E2 0B 00 78 02 00 91 D4 76 BA 5E 2B B7 CC 90 00 97 [09:28:15]RAPDU: 91 D4 76 BA 5E 2B B7 CC 90 00 [09:28:15]wFMCommunicate OK [09:28:15]SAM_PROTO_SignData done [09:28:15]FM_MakeSignedData done [09:28:15]CreateOFDProtocolMessage [09:28:15]wFMCommunicate request_size=4 [09:28:15]MH_SAM_APDU [09:28:15]CAPDU: 80 11 00 00 [09:28:15]Write to MH i2c: E2 08 00 79 02 80 11 00 00 00 00 00 00 F5 [09:28:15]Write i2c OK [09:28:15]MH_I2C_Read... [09:28:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:28:15]Read from MH i2c: E2 [09:28:15]MH_I2C_Read... [09:28:15]Read from MH i2c: E2 17 00 [09:28:15]MH_I2C_Read... [09:28:15]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 34 32 30 90 00 42 [09:28:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:28:15]wFMCommunicate OK [09:28:15]CreateOFDProtocolMessage done [09:28:15]OFDSenderStorePacket 24313 [09:28:15]StoreOFDPacket docnum=24313 [09:28:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 20 01 00 00 79 E2 18 01 5F ED 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 00 00 00 00 00 00 39 04 06 00 4C 1D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 AE 1E 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F9 5E 00 00 35 04 06 00 CD 4C 47 60 F1 F9 91 D4 76 BA 5E 2B B7 CC [09:28:15]CheckFolder [09:28:15]dirname=/storage/ofd_packets [09:28:15]CheckFolder done [09:28:15]ProducePacketName [09:28:15]name=ofd_packets/00024313 [09:28:15]NVStorageSaveData ofd_packets/00024313 [09:28:15]File name is /storage/ofd_packets/00024313 [09:28:15]Write 318 bytes [09:28:15]NVStorageSaveData done [09:28:15]OFDSenderStorePacket done [09:28:15]KKMCreateOFDPacket done [09:28:15]NVStorageSaveData kkm_last_timestamp [09:28:15]File name is /storage/kkm_last_timestamp [09:28:15]Write 4 bytes [09:28:15]NVStorageSaveData done [09:28:15]ExternCall_PrintAddStr [09:28:15]wPrintStart [09:28:15]Write to MH i2c: 01 00 00 7A 02 7C [09:28:15]Write i2c OK [09:28:15]MH_I2C_Read... [09:28:15]Read from MH i2c: 01 [09:28:15]MH_I2C_Read... [09:28:15]Read from MH i2c: 01 07 00 [09:28:15]MH_I2C_Read... [09:28:15]Read from MH i2c: 01 07 00 7A 02 00 00 00 00 00 FF 0F 91 [09:28:15]RasterBufferAndPrint [09:28:15]line Счет N : (3)134835 [09:28:15]line ИНН: 02508201610067 [09:28:15]line Контрольно-Кассовый Чек [09:28:15]line ПРОДАЖА [09:28:15]line Товар: 40822938 [09:28:15]line Напиток Фанта 0,5л [09:28:15]line 1.000 * 75.00 [09:28:15]line = 75.00 [09:28:15]line НДС 12% НСП 1% [09:28:15]line > о реализуемом товаре [09:28:15]line ИТОГО: 75.00 [09:28:15]line НСП 1% : 0.66 [09:28:15]line НДС 12% : 7.96 [09:28:15]line Наличными: 0.00 [09:28:15]line Безнал.: 75.00 [09:28:15]line Место: АЗС № 85 "Партнер Нефть" [09:28:15]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [09:28:15]line СНО: Общий режим [09:28:16]line Чек 17 21.10.2024 09:28 [09:28:16]line Смена: 461 ФФД: 1.0 [09:28:16]line ЗНМ: 0300000166 [09:28:16]line РНМ: 0000000000098120 [09:28:16]line Версия ККМ: 001 [09:28:16]line Платежная система: Mbank [09:28:16]line ФМ: 0000000000965420 [09:28:16]line ФД: 24313 [09:28:16]line ФПД: 225727498744313 [09:28:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T092814&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24313&fm=225727498744313&tin=02508201610067®Number=0000000000098120&sum=7500 [09:28:16]line 0 [09:28:16]OFD Sender: Processing packet 24313 [packets to send 5, broken 4] [09:28:16]ProducePacketName [09:28:16]name=ofd_packets/00024313 [09:28:16]OFD Sender: To server: pG, [09:28:16]CommunicateWithHost lk.salyk.kg:30040 [09:28:16]ConnectInit lk.salyk.kg [09:28:16]written 0, free lines is 4095 [09:28:16]Connected sock=10 [09:28: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 34 32 30 20 01 00 00 79 E2 18 01 5F ED 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 00 00 00 00 00 00 39 04 06 00 4C 1D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 AE 1E 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 F9 5E 00 00 35 04 06 00 CD 4C 47 60 F1 F9 91 D4 76 BA 5E 2B B7 CC [09:28:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 99 4E 47 00 13 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 34 32 30 10 04 04 00 F9 5E 00 00 F4 03 04 00 55 CA 15 67 B6 04 01 00 00 BE 0F 68 E3 4B 04 1E 52 [09:28:16]CommunicateWithHost err = 0 [09:28:16]CheckOFDResponse [09:28:16]1017 (14) - 77093643461234 [09:28:16]1041 (16) - 0000000000965420 [09:28:16]1040 (4) - 24313 [09:28:16]1012 (4) - 21.10.2024 03:28 [09:28:16]1206 (1) - 0 [09:28:16]OFD Sender: Remove packet 24313 [09:28:16]ProducePacketName [09:28:16]name=ofd_packets/00024313 [09:28:16]NVStorageDeleteData [09:28:16]Write to MH i2c: 01 00 00 A3 02 A5 [09:28:16]Write i2c OK [09:28:16]MH_I2C_Read... [09:28:16]Read from MH i2c: 01 [09:28:16]MH_I2C_Read... [09:28:16]Read from MH i2c: 01 07 00 [09:28:16]MH_I2C_Read... [09:28:16]Read from MH i2c: 01 07 00 A3 02 00 00 00 00 00 0D 0D C6 [09:28:16]RasterBufferAndPrint [09:28:16]line [09:28:16]line [09:28:16]line [09:28:16]line [09:28:16]line [09:28:16]written 0, free lines is 3348 [09:28:16]process_action close_receipt done [09:28:16]requested_data is exist [09:28:16]produce_requested_data [09:28:16]requested_item fm.sn is exist - process it [09:28:16]wFMCommunicate request_size=4 [09:28:16]MH_SAM_APDU [09:28:16]CAPDU: 80 11 00 00 [09:28:16]Write to MH i2c: E2 08 00 AA 02 80 11 00 00 00 00 00 00 26 [09:28:16]Write i2c OK [09:28:16]MH_I2C_Read... [09:28:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:28:16]Read from MH i2c: E2 [09:28:16]MH_I2C_Read... [09:28:16]Read from MH i2c: E2 17 00 [09:28:16]MH_I2C_Read... [09:28:16]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 34 32 30 90 00 73 [09:28:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:28:16]wFMCommunicate OK [09:28:16]requested_item fd.num is exist - process it [09:28:16]SAM_PROTO_GetFieldsCounters [09:28:16]wFMCommunicate request_size=4 [09:28:16]MH_SAM_APDU [09:28:16]CAPDU: 80 13 00 00 [09:28:16]Write to MH i2c: E2 08 00 AB 02 80 13 00 00 00 00 00 00 29 [09:28:16]Write i2c OK [09:28:16]MH_I2C_Read... [09:28:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:28:16]Read from MH i2c: E2 [09:28:16]MH_I2C_Read... [09:28:16]Read from MH i2c: E2 62 00 [09:28:16]MH_I2C_Read... [09:28:16]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 F9 5E 00 00 0E 04 04 00 CD 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 97 [09:28:16]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 F9 5E 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:28:16]wFMCommunicate OK [09:28:16]SAM_PROTO_GetFieldsCounters done [09:28:16]requested_item shift.num is exist - process it [09:28:16]requested_item shift.opened is exist - process it [09:28:16]req_shift_opened [09:28:16]FM_GetShiftState [09:28:16]SAM_PROTO_GetShiftState [09:28:16]wFMCommunicate request_size=4 [09:28:16]MH_SAM_APDU [09:28:16]CAPDU: 80 13 01 00 [09:28:16]Write to MH i2c: E2 08 00 AC 02 80 13 01 00 00 00 00 00 2B [09:28:16]Write i2c OK [09:28:16]MH_I2C_Read... [09:28:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:28:16]Read from MH i2c: E2 [09:28:16]MH_I2C_Read... [09:28:16]Read from MH i2c: E2 0E 00 [09:28:16]MH_I2C_Read... [09:28:16]Read from MH i2c: E2 0E 00 AC 02 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 75 [09:28:16]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [09:28:16]wFMCommunicate OK [09:28:16]SAM_PROTO_GetShiftState done [09:28:16]FM_GetShiftState done [09:28:16]req_shift_opened done [09:28:16]requested_item shift.open_date is exist - process it [09:28:16]req_shift_open_date [09:28:16]req_shift_open_date done [09:28:16]produce_requested_data done [09:28:16]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24313,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [09:28:16]process_action_free close_receipt [09:28:16]json_value_free [09:28:16]json_value_free done [09:28:16]process_json_proto returns [09:28:16]Send response to host [09:28:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24313,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [09:28:16]free response buf [09:28:16]execute_script done [09:28:16]execute_script returns [09:28:16]free content buf [09:28:16]Sock 8.Close socket [09:28:16]Sock 8.Thread stoped [09:28:16]OFD Sender: No OFD packet to send [09:28:21]OFD Sender: No OFD packet to send [09:28:26]OFD Sender: No OFD packet to send [09:28:31]OFD Sender: No OFD packet to send [09:28:36]OFD Sender: No OFD packet to send [09:28:41]OFD Sender: No OFD packet to send [09:28:46]OFD Sender: No OFD packet to send [09:28:51]OFD Sender: No OFD packet to send [09:28:56]OFD Sender: No OFD packet to send [09:29:01]OFD Sender: No OFD packet to send [09:29:06]OFD Sender: No OFD packet to send [09:29:11]OFD Sender: No OFD packet to send [09:29:16]OFD Sender: No OFD packet to send [09:29:21]OFD Sender: No OFD packet to send [09:29:26]OFD Sender: No OFD packet to send [09:29:31]OFD Sender: No OFD packet to send [09:29:36]OFD Sender: No OFD packet to send [09:29:41]OFD Sender: No OFD packet to send [09:29:46]OFD Sender: No OFD packet to send [09:29:51]OFD Sender: No OFD packet to send [09:29:56]OFD Sender: No OFD packet to send [09:30:01]OFD Sender: No OFD packet to send [09:30:06]OFD Sender: No OFD packet to send [09:30:11]OFD Sender: No OFD packet to send [09:30:16]OFD Sender: No OFD packet to send [09:30:21]OFD Sender: No OFD packet to send [09:30:26]OFD Sender: No OFD packet to send [09:30:31]OFD Sender: No OFD packet to send [09:30:36]OFD Sender: No OFD packet to send [09:30:41]OFD Sender: No OFD packet to send [09:30:46]OFD Sender: No OFD packet to send [09:30:51]OFD Sender: No OFD packet to send [09:30:56]OFD Sender: No OFD packet to send [09:31:01]OFD Sender: No OFD packet to send [09:31:06]OFD Sender: No OFD packet to send [09:31:11]OFD Sender: No OFD packet to send [09:31:16]OFD Sender: No OFD packet to send [09:31:21]OFD Sender: No OFD packet to send [09:31:26]OFD Sender: No OFD packet to send [09:31:31]OFD Sender: No OFD packet to send [09:31:36]OFD Sender: No OFD packet to send [09:31:41]OFD Sender: No OFD packet to send [09:31:46]OFD Sender: No OFD packet to send [09:31:51]OFD Sender: No OFD packet to send [09:31:56]OFD Sender: No OFD packet to send [09:32: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:27]OFD Sender: No OFD packet to send [09:34:32]OFD Sender: No OFD packet to send [09:34:37]OFD Sender: No OFD packet to send [09:34:42]OFD Sender: No OFD packet to send [09:34:47]OFD Sender: No OFD packet to send [09:34:52]OFD Sender: No OFD packet to send [09:34:57]OFD Sender: No OFD packet to send [09:35:02]OFD Sender: No OFD packet to send [09:35:07]OFD Sender: No OFD packet to send [09:35:12]OFD Sender: No OFD packet to send [09:35:17]OFD Sender: No OFD packet to send [09:35:22]OFD Sender: No OFD packet to send [09:35:27]OFD Sender: No OFD packet to send [09:35:32]OFD Sender: No OFD packet to send [09:35:37]OFD Sender: No OFD packet to send [09:35:42]OFD Sender: No OFD packet to send [09:35:47]OFD Sender: No OFD packet to send [09:35:52]OFD Sender: No OFD packet to send [09:35:57]OFD Sender: No OFD packet to send [09:36:02]OFD Sender: No OFD packet to send [09:36:07]OFD Sender: No OFD packet to send [09:36:12]OFD Sender: No OFD packet to send [09:36:17]OFD Sender: No OFD packet to send [09:36:22]OFD Sender: No OFD packet to send [09:36:27]OFD Sender: No OFD packet to send [09:36:32]OFD Sender: No OFD packet to send [09:36:37]OFD Sender: No OFD packet to send [09:36:42]OFD Sender: No OFD packet to send [09:36:47]OFD Sender: No OFD packet to send [09:36:52]OFD Sender: No OFD packet to send [09:36:57]OFD Sender: No OFD packet to send [09:37:02]OFD Sender: No OFD packet to send [09:37:07]OFD Sender: No OFD packet to send [09:37:12]OFD Sender: No OFD packet to send [09:37:17]OFD Sender: No OFD packet to send [09:37:22]OFD Sender: No OFD packet to send [09:37:27]OFD Sender: No OFD packet to send [09:37:32]OFD Sender: No OFD packet to send [09:37:37]OFD Sender: No OFD packet to send [09:37:42]OFD Sender: No OFD packet to send [09:37:47]OFD Sender: No OFD packet to send [09:37:52]OFD Sender: No OFD packet to send [09:37:57]OFD Sender: No OFD packet to send [09:38:02]OFD Sender: No OFD packet to send [09:38:07]OFD Sender: No OFD packet to send [09:38:12]OFD Sender: No OFD packet to send [09:38:17]OFD Sender: No OFD packet to send [09:38:22]OFD Sender: No OFD packet to send [09:38:27]OFD Sender: No OFD packet to send [09:38:32]OFD Sender: No OFD packet to send [09:38:37]OFD Sender: No OFD packet to send [09:38:42]OFD Sender: No OFD packet to send [09:38:47]OFD Sender: No OFD packet to send [09:38:52]OFD Sender: No OFD packet to send [09:38:57]OFD Sender: No OFD packet to send [09:39:02]OFD Sender: No OFD packet to send [09:39:07]OFD Sender: No OFD packet to send [09:39:12]OFD Sender: No OFD packet to send [09:39:17]OFD Sender: No OFD packet to send [09:39:22]OFD Sender: No OFD packet to send [09:39:27]OFD Sender: No OFD packet to send [09:39:32]OFD Sender: No OFD packet to send [09:39:37]OFD Sender: No OFD packet to send [09:39:42]OFD Sender: No OFD packet to send [09:39:47]OFD Sender: No OFD packet to send [09:39:52]OFD Sender: No OFD packet to send [09:39:57]OFD Sender: No OFD packet to send [09:40:02]OFD Sender: No OFD packet to send [09:40:07]OFD Sender: No OFD packet to send [09:40:12]OFD Sender: No OFD packet to send [09:40:17]OFD Sender: No OFD packet to send [09:40:22]OFD Sender: No OFD packet to send [09:40:27]OFD Sender: No OFD packet to send [09:40:32]OFD Sender: No OFD packet to send [09:40:37]OFD Sender: No OFD packet to send [09:40:40]accept exits with 9 [09:40:40]New connection [09:40:40]New thread 3066940772 created [09:40:40]Thread 3067084132 joined [09:40:40]Waiting for new connection... [09:40:40] Sock 9.Parse request [09:40:40]Sock 9.Check first char [09:40:40]Sock 9.First char is OK [09:40:40]request: POST /json_proto HTTP/1.0 [09:40:40]Method: POST [09:40:40]URL: /json_proto [09:40:40]Method is POST - this is cgi request [09:40:40]url: /json_proto [09:40:40]query_string will be loaded in cgi processing [09:40:40]execute_cgi json_proto POST (null) [09:40:40]execute_cgi path=json_proto method=POST [09:40:40]POST find Content-Length [09:40:40]Host: 172.17.50.4:8080 [09:40:40]Content-Length: 668 [09:40:40]Content-Type: application/json [09:40:40] [09:40:40]POST finish read [09:40:40]Found Content-Length = 668 [09:40:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134836", "tax_sys" : 0, "items" : [ { "code": "4870002329951", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u0437\u0435\u043B \u0447\u0430\u0439 Regular", "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" ] } } [09:40:40]execute_script... [09:40: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)134836", "tax_sys" : 0, "items" : [ { "code": "4870002329951", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u0437\u0435\u043B \u0447\u0430\u0439 Regular", "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" ] } } [09:40:40]POST & json_proto [09:40:40]process_json_proto [09:40:40]json parsed OK: [09:40:40]protocol is kg_v1.0 [09:40:40]action value=close_receipt [09:40:40]process_action close_receipt [09:40:40]cmd_close_receipt [09:40:40]MH_GetDate [09:40:40]Write to MH i2c: F0 00 00 AD 02 9E [09:40:40]Write i2c OK [09:40:40]MH_I2C_Read... [09:40:40]Read from MH i2c: F0 [09:40:40]MH_I2C_Read... [09:40:40]Read from MH i2c: F0 09 00 [09:40:40]MH_I2C_Read... [09:40:40]Read from MH i2c: F0 09 00 AD 02 00 98 21 16 67 3B 12 16 67 A7 [09:40:40]GetLastDocTimeStamp 1729502894 [09:40:40]current date 1729503640 [09:40:40]FM_GetShiftState [09:40:40]SAM_PROTO_GetShiftState [09:40:40]wFMCommunicate request_size=4 [09:40:40]MH_SAM_APDU [09:40:40]CAPDU: 80 13 01 00 [09:40:40]Write to MH i2c: E2 08 00 AE 02 80 13 01 00 00 00 00 00 2D [09:40:40]Write i2c OK [09:40:40]MH_I2C_Read... [09:40:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:40:40]Read from MH i2c: E2 [09:40:40]MH_I2C_Read... [09:40:40]Read from MH i2c: E2 0E 00 [09:40:40]MH_I2C_Read... [09:40:40]Read from MH i2c: E2 0E 00 AE 02 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 77 [09:40:40]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [09:40:40]wFMCommunicate OK [09:40:40]SAM_PROTO_GetShiftState done [09:40:40]FM_GetShiftState done [09:40:40]opened in 1729469223 [09:40:40]opened+sec_in_day 1729555623 [09:40:40]quantity*price = 11900 [09:40:40]sum+1 = 11901 [09:40:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 119.00 НСП 1% : 1.05 НДС 12% : 12.64 Наличными: 119.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 18 21.10.2024 09:40 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24314 ФПД: 34133062508473 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T094041&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24314&fm=34133062508473&tin=02508201610067®Number=0000000000098120&sum=11900 0 [09:40:41]StoreToDocumentArchive [09:40:41]shift 461 fd 24314 [09:40:41]save to /storage/0461/doc_00024314 [09:40:41]save last doc name /storage/0461/doc_00024314 to /storage/kkm_last_doc_name [09:40:41]save OK [09:40:41]Clear old archive folders... [09:40:41]ProcessDocumentItem done err = 0, tmpTLVsize=296 [09:40:41]tlvbuf is 00349880 [09:40:41]SAM_PROTO_ClearQueue [09:40:41]wFMCommunicate request_size=4 [09:40:41]MH_SAM_APDU [09:40:41]CAPDU: 80 09 00 00 [09:40:41]Write to MH i2c: E2 08 00 BB 02 80 09 00 00 00 00 00 00 2F [09:40:41]Write i2c OK [09:40:41]MH_I2C_Read... [09:40:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:40:41]Read from MH i2c: E2 [09:40:41]MH_I2C_Read... [09:40:41]Read from MH i2c: E2 03 00 [09:40:41]MH_I2C_Read... [09:40:41]Read from MH i2c: E2 03 00 BB 02 00 90 00 31 [09:40:41]RAPDU: 90 00 [09:40:41]wFMCommunicate OK [09:40:41]SAM_PROTO_ClearQueue done [09:40:41]KKMCreateOFDPacket [09:40:41]OFDProtocolAddRootSTLVToBuf [09:40:41]FM_MakeSignedData [09:40:41]FM_MakeSignedData [09:40:41]SAM_PROTO_SignData [09:40:41]wFMCommunicate request_size=4 [09:40:41]MH_SAM_APDU [09:40:41]CAPDU: 80 0D 01 02 [09:40:41]Write to MH i2c: E2 08 00 BC 02 80 0D 01 02 00 00 00 00 37 [09:40:41]Write i2c OK [09:40:41]MH_I2C_Read... [09:40:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:40:41]Read from MH i2c: E2 [09:40:41]MH_I2C_Read... [09:40:41]Read from MH i2c: E2 03 00 [09:40:41]MH_I2C_Read... [09:40:41]Read from MH i2c: E2 03 00 BC 02 00 90 00 32 [09:40:41]RAPDU: 90 00 [09:40:41]wFMCommunicate OK [09:40:41]wFMCommunicate request_size=255 [09:40:41]MH_SAM_APDU [09:40: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 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 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 12 00 00 00 F4 03 04 00 99 21 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [09:40:41]Write to MH i2c: E2 02 01 BD 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 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 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 12 00 00 00 F4 03 04 00 99 21 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 65 [09:40:41]Write i2c OK [09:40:41]MH_I2C_Read... [09:40:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:40:41]Read from MH i2c: E2 [09:40:41]MH_I2C_Read... [09:40:41]Read from MH i2c: E2 03 00 [09:40:41]MH_I2C_Read... [09:40:41]Read from MH i2c: E2 03 00 BD 02 00 90 00 33 [09:40:41]RAPDU: 90 00 [09:40:41]wFMCommunicate OK [09:40:41]wFMCommunicate request_size=55 [09:40:41]MH_SAM_APDU [09:40:41]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 FA 5E 00 00 35 04 06 00 1F 0B 39 10 DF B9 [09:40:41]Write to MH i2c: E2 3A 00 BE 02 80 0D 02 02 32 00 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 FA 5E 00 00 35 04 06 00 1F 0B 39 10 DF B9 00 00 EB [09:40:41]Write i2c OK [09:40:41]MH_I2C_Read... [09:40:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:40:41]Read from MH i2c: E2 [09:40:41]MH_I2C_Read... [09:40:41]Read from MH i2c: E2 03 00 [09:40:41]MH_I2C_Read... [09:40:41]Read from MH i2c: E2 03 00 BE 02 00 90 00 34 [09:40:41]RAPDU: 90 00 [09:40:41]wFMCommunicate OK [09:40:41]wFMCommunicate request_size=4 [09:40:41]MH_SAM_APDU [09:40:41]CAPDU: 80 0D 03 02 [09:40:41]Write to MH i2c: E2 08 00 BF 02 80 0D 03 02 00 00 00 00 3C [09:40:41]Write i2c OK [09:40:41]MH_I2C_Read... [09:40:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:40:41]Read from MH i2c: E2 [09:40:41]MH_I2C_Read... [09:40:41]Read from MH i2c: E2 0B 00 [09:40:41]MH_I2C_Read... [09:40:41]Read from MH i2c: E2 0B 00 BF 02 00 A3 0C D0 67 E8 D4 F4 66 90 00 39 [09:40:41]RAPDU: A3 0C D0 67 E8 D4 F4 66 90 00 [09:40:41]wFMCommunicate OK [09:40:41]SAM_PROTO_SignData done [09:40:41]FM_MakeSignedData done [09:40:41]CreateOFDProtocolMessage [09:40:41]wFMCommunicate request_size=4 [09:40:41]MH_SAM_APDU [09:40:41]CAPDU: 80 11 00 00 [09:40:41]Write to MH i2c: E2 08 00 C0 02 80 11 00 00 00 00 00 00 3C [09:40:41]Write i2c OK [09:40:41]MH_I2C_Read... [09:40:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:40:41]Read from MH i2c: E2 [09:40:41]MH_I2C_Read... [09:40:41]Read from MH i2c: E2 17 00 [09:40:41]MH_I2C_Read... [09:40:41]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 34 32 30 90 00 89 [09:40:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:40:41]wFMCommunicate OK [09:40:41]CreateOFDProtocolMessage done [09:40:41]OFDSenderStorePacket 24314 [09:40:41]StoreOFDPacket docnum=24314 [09:40:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 3C 01 00 00 F1 3B 34 01 62 73 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 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 12 00 00 00 F4 03 04 00 99 21 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 FA 5E 00 00 35 04 06 00 1F 0B 39 10 DF B9 A3 0C D0 67 E8 D4 F4 66 [09:40:41]CheckFolder [09:40:41]dirname=/storage/ofd_packets [09:40:41]CheckFolder done [09:40:41]ProducePacketName [09:40:41]name=ofd_packets/00024314 [09:40:41]NVStorageSaveData ofd_packets/00024314 [09:40:41]File name is /storage/ofd_packets/00024314 [09:40:41]Write 346 bytes [09:40:41]NVStorageSaveData done [09:40:41]OFDSenderStorePacket done [09:40:41]KKMCreateOFDPacket done [09:40:41]NVStorageSaveData kkm_last_timestamp [09:40:41]File name is /storage/kkm_last_timestamp [09:40:41]Write 4 bytes [09:40:41]NVStorageSaveData done [09:40:41]ExternCall_PrintAddStr [09:40:41]wPrintStart [09:40:41]Write to MH i2c: 01 00 00 C1 02 C3 [09:40:41]Write i2c OK [09:40:41]MH_I2C_Read... [09:40:41]Read from MH i2c: 01 [09:40:41]MH_I2C_Read... [09:40:41]Read from MH i2c: 01 07 00 [09:40:41]MH_I2C_Read... [09:40:41]Read from MH i2c: 01 07 00 C1 02 00 00 00 00 00 FF 0F D8 [09:40:41]RasterBufferAndPrint [09:40:41]line Счет N : (3)134836 [09:40:41]line ИНН: 02508201610067 [09:40:41]line Контрольно-Кассовый Чек [09:40:41]line ПРОДАЖА [09:40:41]line Товар: 4870002329951 [09:40:41]line Напиток Lipton IceTea 1л зел чай Regular [09:40:41]line 1.000 * 119.00 [09:40:41]line = 119.00 [09:40:41]line НДС 12% НСП 1% [09:40:41]line > о реализуемом товаре [09:40:41]line ИТОГО: 119.00 [09:40:41]line НСП 1% : 1.05 [09:40:41]line НДС 12% : 12.64 [09:40:41]line Наличными: 119.00 [09:40:41]line Безнал.: 0.00 [09:40:41]line Место: АЗС № 85 "Партнер Нефть" [09:40:41]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [09:40:41]line СНО: Общий режим [09:40:41]line Чек 18 21.10.2024 09:40 [09:40:41]line Смена: 461 ФФД: 1.0 [09:40:41]line ЗНМ: 0300000166 [09:40:41]line РНМ: 0000000000098120 [09:40:41]line Версия ККМ: 001 [09:40:41]line ФМ: 0000000000965420 [09:40:41]line ФД: 24314 [09:40:41]line ФПД: 34133062508473 [09:40:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T094041&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24314&fm=34133062508473&tin=02508201610067®Number=0000000000098120&sum=11900 [09:40:42]OFD Sender: Processing packet 24314 [packets to send 5, broken 4] [09:40:42]ProducePacketName [09:40:42]name=ofd_packets/00024314 [09:40:42]OFD Sender: To server: pG, [09:40:42]CommunicateWithHost lk.salyk.kg:30040 [09:40:42]ConnectInit lk.salyk.kg [09:40:42]line 0 [09:40:42]written 0, free lines is 4095 [09:40:42]Connected sock=10 [09:40: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 34 32 30 3C 01 00 00 F1 3B 34 01 62 73 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 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 12 00 00 00 F4 03 04 00 99 21 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 FA 5E 00 00 35 04 06 00 1F 0B 39 10 DF B9 A3 0C D0 67 E8 D4 F4 66 [09:40:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 69 DE 47 00 32 89 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 34 32 30 10 04 04 00 FA 5E 00 00 F4 03 04 00 3F CD 15 67 B6 04 01 00 00 58 9B F6 A2 50 8B 97 D1 [09:40:42]CommunicateWithHost err = 0 [09:40:42]CheckOFDResponse [09:40:42]1017 (14) - 77093643461234 [09:40:42]1041 (16) - 0000000000965420 [09:40:42]1040 (4) - 24314 [09:40:42]1012 (4) - 21.10.2024 03:40 [09:40:42]1206 (1) - 0 [09:40:42]OFD Sender: Remove packet 24314 [09:40:42]ProducePacketName [09:40:42]name=ofd_packets/00024314 [09:40:42]NVStorageDeleteData [09:40:42]Write to MH i2c: 01 00 00 EA 02 EC [09:40:42]Write i2c OK [09:40:42]MH_I2C_Read... [09:40:42]Read from MH i2c: 01 [09:40:42]MH_I2C_Read... [09:40:42]Read from MH i2c: 01 07 00 [09:40:42]MH_I2C_Read... [09:40:42]Read from MH i2c: 01 07 00 EA 02 00 00 00 00 00 12 0D 12 [09:40:42]RasterBufferAndPrint [09:40:42]line [09:40:42]line [09:40:42]line [09:40:42]line [09:40:42]line [09:40:42]written 0, free lines is 3353 [09:40:42]process_action close_receipt done [09:40:42]requested_data is exist [09:40:42]produce_requested_data [09:40:42]requested_item fm.sn is exist - process it [09:40:42]wFMCommunicate request_size=4 [09:40:42]MH_SAM_APDU [09:40:42]CAPDU: 80 11 00 00 [09:40:42]Write to MH i2c: E2 08 00 F1 02 80 11 00 00 00 00 00 00 6D [09:40:42]Write i2c OK [09:40:42]MH_I2C_Read... [09:40:42]Read from MH i2c: E2 [09:40:42]MH_I2C_Read... [09:40:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:40:42]Read from MH i2c: E2 17 00 [09:40:42]MH_I2C_Read... [09:40:42]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 34 32 30 90 00 BA [09:40:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:40:42]wFMCommunicate OK [09:40:42]requested_item fd.num is exist - process it [09:40:42]SAM_PROTO_GetFieldsCounters [09:40:42]wFMCommunicate request_size=4 [09:40:42]MH_SAM_APDU [09:40:42]CAPDU: 80 13 00 00 [09:40:42]Write to MH i2c: E2 08 00 F2 02 80 13 00 00 00 00 00 00 70 [09:40:42]Write i2c OK [09:40:42]MH_I2C_Read... [09:40:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:40:42]Read from MH i2c: E2 [09:40:42]MH_I2C_Read... [09:40:42]Read from MH i2c: E2 62 00 [09:40:42]MH_I2C_Read... [09:40:42]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 FA 5E 00 00 0E 04 04 00 CD 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 E2 [09:40: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 FA 5E 00 00 0E 04 04 00 CD 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 [09:40:42]wFMCommunicate OK [09:40:42]SAM_PROTO_GetFieldsCounters done [09:40:42]requested_item shift.num is exist - process it [09:40:42]requested_item shift.opened is exist - process it [09:40:42]req_shift_opened [09:40:42]FM_GetShiftState [09:40:42]SAM_PROTO_GetShiftState [09:40:42]wFMCommunicate request_size=4 [09:40:42]MH_SAM_APDU [09:40:42]CAPDU: 80 13 01 00 [09:40:42]Write to MH i2c: E2 08 00 F3 02 80 13 01 00 00 00 00 00 72 [09:40:42]Write i2c OK [09:40:42]MH_I2C_Read... [09:40:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:40:42]Read from MH i2c: E2 [09:40:42]MH_I2C_Read... [09:40:42]Read from MH i2c: E2 0E 00 [09:40:42]MH_I2C_Read... [09:40:42]Read from MH i2c: E2 0E 00 F3 02 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 BC [09:40:42]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [09:40:42]wFMCommunicate OK [09:40:42]SAM_PROTO_GetShiftState done [09:40:42]FM_GetShiftState done [09:40:42]req_shift_opened done [09:40:42]requested_item shift.open_date is exist - process it [09:40:42]req_shift_open_date [09:40:42]req_shift_open_date done [09:40:42]produce_requested_data done [09:40:42]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24314,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [09:40:42]process_action_free close_receipt [09:40:42]json_value_free [09:40:42]json_value_free done [09:40:42]process_json_proto returns [09:40:42]Send response to host [09:40:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24314,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [09:40:42]free response buf [09:40:42]execute_script done [09:40:42]execute_script returns [09:40:42]free content buf [09:40:42]Sock 9.Close socket [09:40:42]Sock 9.Thread stoped [09:40:42]OFD Sender: No OFD packet to send [09:40:47]OFD Sender: No OFD packet to send [09:40:52]OFD Sender: No OFD packet to send [09:40:57]OFD Sender: No OFD packet to send [09:41:02]OFD Sender: No OFD packet to send [09:41:07]OFD Sender: No OFD packet to send [09:41:12]OFD Sender: No OFD packet to send [09:41:17]OFD Sender: No OFD packet to send [09:41:22]OFD Sender: No OFD packet to send [09:41:27]OFD Sender: No OFD packet to send [09:41:32]OFD Sender: No OFD packet to send [09:41:37]OFD Sender: No OFD packet to send [09:41:42]OFD Sender: No OFD packet to send [09:41:48]OFD Sender: No OFD packet to send [09:41:53]OFD Sender: No OFD packet to send [09:41:58]OFD Sender: No OFD packet to send [09:42:03]OFD Sender: No OFD packet to send [09:42:08]OFD Sender: No OFD packet to send [09:42:13]OFD Sender: No OFD packet to send [09:42:18]OFD Sender: No OFD packet to send [09:42:23]OFD Sender: No OFD packet to send [09:42:28]OFD Sender: No OFD packet to send [09:42:33]OFD Sender: No OFD packet to send [09:42:38]OFD Sender: No OFD packet to send [09:42:43]OFD Sender: No OFD packet to send [09:42:48]OFD Sender: No OFD packet to send [09:42:53]OFD Sender: No OFD packet to send [09:42:58]OFD Sender: No OFD packet to send [09:43:03]OFD Sender: No OFD packet to send [09:43:08]OFD Sender: No OFD packet to send [09:43:13]OFD Sender: No OFD packet to send [09:43:18]OFD Sender: No OFD packet to send [09:43:23]OFD Sender: No OFD packet to send [09:43:28]OFD Sender: No OFD packet to send [09:43:33]OFD Sender: No OFD packet to send [09:43:38]OFD Sender: No OFD packet to send [09:43:43]OFD Sender: No OFD packet to send [09:43:48]OFD Sender: No OFD packet to send [09:43:53]OFD Sender: No OFD packet to send [09:43:58]OFD Sender: No OFD packet to send [09:44:03]OFD Sender: No OFD packet to send [09:44:08]OFD Sender: No OFD packet to send [09:44:13]OFD Sender: No OFD packet to send [09:44:18]OFD Sender: No OFD packet to send [09:44:23]OFD Sender: No OFD packet to send [09:44:28]OFD Sender: No OFD packet to send [09:44:33]OFD Sender: No OFD packet to send [09:44:38]OFD Sender: No OFD packet to send [09:44:43]OFD Sender: No OFD packet to send [09:44:48]OFD Sender: No OFD packet to send [09:44:53]OFD Sender: No OFD packet to send [09:44:58]OFD Sender: No OFD packet to send [09:45:03]OFD Sender: No OFD packet to send [09:45:08]OFD Sender: No OFD packet to send [09:45:13]OFD Sender: No OFD packet to send [09:45:18]OFD Sender: No OFD packet to send [09:45:23]OFD Sender: No OFD packet to send [09:45:28]OFD Sender: No OFD packet to send [09:45:33]OFD Sender: No OFD packet to send [09:45:38]OFD Sender: No OFD packet to send [09:45:43]OFD Sender: No OFD packet to send [09:45:48]OFD Sender: No OFD packet to send [09:45:53]OFD Sender: No OFD packet to send [09:45:58]OFD Sender: No OFD packet to send [09:46:03]OFD Sender: No OFD packet to send [09:46:08]OFD Sender: No OFD packet to send [09:46:13]OFD Sender: No OFD packet to send [09:46:18]OFD Sender: No OFD packet to send [09:46:23]OFD Sender: No OFD packet to send [09:46:28]OFD Sender: No OFD packet to send [09:46:33]OFD Sender: No OFD packet to send [09:46:38]OFD Sender: No OFD packet to send [09:46:43]OFD Sender: No OFD packet to send [09:46:48]OFD Sender: No OFD packet to send [09:46:53]OFD Sender: No OFD packet to send [09:46:58]OFD Sender: No OFD packet to send [09:47:03]OFD Sender: No OFD packet to send [09:47:08]OFD Sender: No OFD packet to send [09:47:13]OFD Sender: No OFD packet to send [09:47:18]OFD Sender: No OFD packet to send [09:47:23]OFD Sender: No OFD packet to send [09:47:28]OFD Sender: No OFD packet to send [09:47:33]OFD Sender: No OFD packet to send [09:47:38]OFD Sender: No OFD packet to send [09:47:43]OFD Sender: No OFD packet to send [09:47:48]OFD Sender: No OFD packet to send [09:47:53]OFD Sender: No OFD packet to send [09:47:58]OFD Sender: No OFD packet to send [09:48:03]OFD Sender: No OFD packet to send [09:48:08]OFD Sender: No OFD packet to send [09:48:13]OFD Sender: No OFD packet to send [09:48:18]OFD Sender: No OFD packet to send [09:48:23]OFD Sender: No OFD packet to send [09:48:28]OFD Sender: No OFD packet to send [09:48:33]OFD Sender: No OFD packet to send [09:48:38]OFD Sender: No OFD packet to send [09:48:43]OFD Sender: No OFD packet to send [09:48:48]OFD Sender: No OFD packet to send [09:48:53]OFD Sender: No OFD packet to send [09:48:58]OFD Sender: No OFD packet to send [09:49:03]OFD Sender: No OFD packet to send [09:49:08]OFD Sender: No OFD packet to send [09:49:13]OFD Sender: No OFD packet to send [09:49:18]OFD Sender: No OFD packet to send [09:49:23]OFD Sender: No OFD packet to send [09:49:28]OFD Sender: No OFD packet to send [09:49:33]OFD Sender: No OFD packet to send [09:49:38]OFD Sender: No OFD packet to send [09:49:43]OFD Sender: No OFD packet to send [09:49:48]OFD Sender: No OFD packet to send [09:49:53]OFD Sender: No OFD packet to send [09:49:58]OFD Sender: No OFD packet to send [09:50:03]OFD Sender: No OFD packet to send [09:50:08]OFD Sender: No OFD packet to send [09:50:13]OFD Sender: No OFD packet to send [09:50:18]OFD Sender: No OFD packet to send [09:50:23]OFD Sender: No OFD packet to send [09:50:28]OFD Sender: No OFD packet to send [09:50:33]OFD Sender: No OFD packet to send [09:50:38]OFD Sender: No OFD packet to send [09:50:43]OFD Sender: No OFD packet to send [09:50:48]OFD Sender: No OFD packet to send [09:50:53]OFD Sender: No OFD packet to send [09:50:58]OFD Sender: No OFD packet to send [09:51:03]OFD Sender: No OFD packet to send [09:51:08]OFD Sender: No OFD packet to send [09:51:13]OFD Sender: No OFD packet to send [09:51:18]OFD Sender: No OFD packet to send [09:51:23]OFD Sender: No OFD packet to send [09:51:28]OFD Sender: No OFD packet to send [09:51:33]OFD Sender: No OFD packet to send [09:51:38]OFD Sender: No OFD packet to send [09:51:43]OFD Sender: No OFD packet to send [09:51:48]OFD Sender: No OFD packet to send [09:51:53]OFD Sender: No OFD packet to send [09:51:58]OFD Sender: No OFD packet to send [09:52:03]OFD Sender: No OFD packet to send [09:52:08]OFD Sender: No OFD packet to send [09:52:13]OFD Sender: No OFD packet to send [09:52:18]OFD Sender: No OFD packet to send [09:52:23]OFD Sender: No OFD packet to send [09:52:28]OFD Sender: No OFD packet to send [09:52:33]OFD Sender: No OFD packet to send [09:52:38]OFD Sender: No OFD packet to send [09:52:43]OFD Sender: No OFD packet to send [09:52:48]OFD Sender: No OFD packet to send [09:52:53]OFD Sender: No OFD packet to send [09:52:58]OFD Sender: No OFD packet to send [09:53:03]OFD Sender: No OFD packet to send [09:53:08]OFD Sender: No OFD packet to send [09:53:13]OFD Sender: No OFD packet to send [09:53:18]OFD Sender: No OFD packet to send [09:53:23]OFD Sender: No OFD packet to send [09:53:28]OFD Sender: No OFD packet to send [09:53:33]OFD Sender: No OFD packet to send [09:53:38]OFD Sender: No OFD packet to send [09:53:43]OFD Sender: No OFD packet to send [09:53:48]OFD Sender: No OFD packet to send [09:53:53]OFD Sender: No OFD packet to send [09:53:58]OFD Sender: No OFD packet to send [09:54:03]OFD Sender: No OFD packet to send [09:54:08]OFD Sender: No OFD packet to send [09:54:13]OFD Sender: No OFD packet to send [09:54:18]OFD Sender: No OFD packet to send [09:54:23]OFD Sender: No OFD packet to send [09:54:28]OFD Sender: No OFD packet to send [09:54:33]OFD Sender: No OFD packet to send [09:54:38]OFD Sender: No OFD packet to send [09:54:43]OFD Sender: No OFD packet to send [09:54:48]OFD Sender: No OFD packet to send [09:54:53]OFD Sender: No OFD packet to send [09:54:58]OFD Sender: No OFD packet to send [09:55:03]OFD Sender: No OFD packet to send [09:55:08]OFD Sender: No OFD packet to send [09:55:13]OFD Sender: No OFD packet to send [09:55:18]OFD Sender: No OFD packet to send [09:55:23]OFD Sender: No OFD packet to send [09:55:28]OFD Sender: No OFD packet to send [09:55:33]OFD Sender: No OFD packet to send [09:55:38]OFD Sender: No OFD packet to send [09:55:43]OFD Sender: No OFD packet to send [09:55:48]OFD Sender: No OFD packet to send [09:55:53]OFD Sender: No OFD packet to send [09:55:57]accept exits with 8 [09:55:57]New connection [09:55:57]New thread 3067084132 created [09:55:57]Thread 3066940772 joined [09:55:57]Waiting for new connection... [09:55:57] Sock 8.Parse request [09:55:57]Sock 8.Check first char [09:55:57]Sock 8.First char is OK [09:55:57]request: POST /json_proto HTTP/1.0 [09:55:57]Method: POST [09:55:57]URL: /json_proto [09:55:57]Method is POST - this is cgi request [09:55:57]url: /json_proto [09:55:57]query_string will be loaded in cgi processing [09:55:57]execute_cgi json_proto POST (null) [09:55:57]execute_cgi path=json_proto method=POST [09:55:57]POST find Content-Length [09:55:57]Host: 172.17.50.4:8080 [09:55:57]Content-Length: 621 [09:55:57]Content-Type: application/json [09:55:57] [09:55:57]POST finish read [09:55:57]Found Content-Length = 621 [09:55:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134837", "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" ] } } [09:55:57]execute_script... [09:55: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)134837", "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" ] } } [09:55:57]POST & json_proto [09:55:57]process_json_proto [09:55:57]json parsed OK: [09:55:57]protocol is kg_v1.0 [09:55:57]action value=close_receipt [09:55:57]process_action close_receipt [09:55:57]cmd_close_receipt [09:55:57]MH_GetDate [09:55:57]Write to MH i2c: F0 00 00 F4 02 E5 [09:55:57]Write i2c OK [09:55:57]MH_I2C_Read... [09:55:57]Read from MH i2c: F0 [09:55:57]MH_I2C_Read... [09:55:57]Read from MH i2c: F0 09 00 [09:55:57]MH_I2C_Read... [09:55:57]Read from MH i2c: F0 09 00 F4 02 00 2E 25 16 67 3B 12 16 67 88 [09:55:57]GetLastDocTimeStamp 1729503641 [09:55:57]current date 1729504558 [09:55:57]FM_GetShiftState [09:55:57]SAM_PROTO_GetShiftState [09:55:57]wFMCommunicate request_size=4 [09:55:57]MH_SAM_APDU [09:55:57]CAPDU: 80 13 01 00 [09:55:57]Write to MH i2c: E2 08 00 F5 02 80 13 01 00 00 00 00 00 74 [09:55:57]Write i2c OK [09:55:57]MH_I2C_Read... [09:55:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:55:57]Read from MH i2c: E2 [09:55:57]MH_I2C_Read... [09:55:57]Read from MH i2c: E2 0E 00 [09:55:57]MH_I2C_Read... [09:55:57]Read from MH i2c: E2 0E 00 F5 02 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 BE [09:55:57]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [09:55:57]wFMCommunicate OK [09:55:57]SAM_PROTO_GetShiftState done [09:55:57]FM_GetShiftState done [09:55:57]opened in 1729469223 [09:55:57]opened+sec_in_day 1729555623 [09:55:57]quantity*price = 14400 [09:55:57]sum+1 = 14401 [09:55:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 19 21.10.2024 09:55 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24315 ФПД: 126108862016666 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T095558&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24315&fm=126108862016666&tin=02508201610067®Number=0000000000098120&sum=14400 0 [09:55:59]StoreToDocumentArchive [09:55:59]shift 461 fd 24315 [09:55:59]save to /storage/0461/doc_00024315 [09:55:59]save last doc name /storage/0461/doc_00024315 to /storage/kkm_last_doc_name [09:55:59]save OK [09:55:59]Clear old archive folders... [09:55:59]ProcessDocumentItem done err = 0, tmpTLVsize=273 [09:55:59]tlvbuf is 00330740 [09:55:59]SAM_PROTO_ClearQueue [09:55:59]wFMCommunicate request_size=4 [09:55:59]MH_SAM_APDU [09:55:59]CAPDU: 80 09 00 00 [09:55:59]Write to MH i2c: E2 08 00 02 03 80 09 00 00 00 00 00 00 77 [09:55:59]Write i2c OK [09:55:59]MH_I2C_Read... [09:55:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:55:59]Read from MH i2c: E2 [09:55:59]MH_I2C_Read... [09:55:59]Read from MH i2c: E2 03 00 [09:55:59]MH_I2C_Read... [09:55:59]Read from MH i2c: E2 03 00 02 03 00 90 00 79 [09:55:59]RAPDU: 90 00 [09:55:59]wFMCommunicate OK [09:55:59]SAM_PROTO_ClearQueue done [09:55:59]KKMCreateOFDPacket [09:55:59]OFDProtocolAddRootSTLVToBuf [09:55:59]FM_MakeSignedData [09:55:59]FM_MakeSignedData [09:55:59]SAM_PROTO_SignData [09:55:59]wFMCommunicate request_size=4 [09:55:59]MH_SAM_APDU [09:55:59]CAPDU: 80 0D 01 02 [09:55:59]Write to MH i2c: E2 08 00 03 03 80 0D 01 02 00 00 00 00 7F [09:55:59]Write i2c OK [09:55:59]MH_I2C_Read... [09:55:59]Read from MH i2c: E2 [09:55:59]MH_I2C_Read... [09:55:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:55:59]Read from MH i2c: E2 03 00 [09:55:59]MH_I2C_Read... [09:55:59]Read from MH i2c: E2 03 00 03 03 00 90 00 7A [09:55:59]RAPDU: 90 00 [09:55:59]wFMCommunicate OK [09:55:59]wFMCommunicate request_size=255 [09:55:59]MH_SAM_APDU [09:55:59]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 13 00 00 00 F4 03 04 00 2E 25 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 [09:55:59]Write to MH i2c: E2 02 01 04 03 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 13 00 00 00 F4 03 04 00 2E 25 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 00 00 95 [09:55:59]Write i2c OK [09:55:59]MH_I2C_Read... [09:55:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:55:59]Read from MH i2c: E2 [09:55:59]MH_I2C_Read... [09:55:59]Read from MH i2c: E2 03 00 [09:55:59]MH_I2C_Read... [09:55:59]Read from MH i2c: E2 03 00 04 03 00 90 00 7B [09:55:59]RAPDU: 90 00 [09:55:59]wFMCommunicate OK [09:55:59]wFMCommunicate request_size=32 [09:55:59]MH_SAM_APDU [09:55:59]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 34 32 30 10 04 04 00 FB 5E 00 00 35 04 06 00 72 B2 01 EC 6C 9A [09:55:59]Write to MH i2c: E2 23 00 05 03 80 0D 02 02 1B 00 30 30 30 39 36 35 34 32 30 10 04 04 00 FB 5E 00 00 35 04 06 00 72 B2 01 EC 6C 9A 00 00 49 [09:55:59]Write i2c OK [09:55:59]MH_I2C_Read... [09:55:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:55:59]Read from MH i2c: E2 [09:55:59]MH_I2C_Read... [09:55:59]Read from MH i2c: E2 03 00 [09:55:59]MH_I2C_Read... [09:55:59]Read from MH i2c: E2 03 00 05 03 00 90 00 7C [09:55:59]RAPDU: 90 00 [09:55:59]wFMCommunicate OK [09:55:59]wFMCommunicate request_size=4 [09:55:59]MH_SAM_APDU [09:55:59]CAPDU: 80 0D 03 02 [09:55:59]Write to MH i2c: E2 08 00 06 03 80 0D 03 02 00 00 00 00 84 [09:55:59]Write i2c OK [09:55:59]MH_I2C_Read... [09:55:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:55:59]Read from MH i2c: E2 [09:55:59]MH_I2C_Read... [09:55:59]Read from MH i2c: E2 0B 00 [09:55:59]MH_I2C_Read... [09:55:59]Read from MH i2c: E2 0B 00 06 03 00 FC 80 5B 2D F6 C7 9A 41 90 00 21 [09:55:59]RAPDU: FC 80 5B 2D F6 C7 9A 41 90 00 [09:55:59]wFMCommunicate OK [09:55:59]SAM_PROTO_SignData done [09:55:59]FM_MakeSignedData done [09:55:59]CreateOFDProtocolMessage [09:55:59]wFMCommunicate request_size=4 [09:55:59]MH_SAM_APDU [09:55:59]CAPDU: 80 11 00 00 [09:55:59]Write to MH i2c: E2 08 00 07 03 80 11 00 00 00 00 00 00 84 [09:55:59]Write i2c OK [09:55:59]MH_I2C_Read... [09:55:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:55:59]Read from MH i2c: E2 [09:55:59]MH_I2C_Read... [09:55:59]Read from MH i2c: E2 17 00 [09:55:59]MH_I2C_Read... [09:55:59]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 34 32 30 90 00 D1 [09:55:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:55:59]wFMCommunicate OK [09:55:59]CreateOFDProtocolMessage done [09:55:59]OFDSenderStorePacket 24315 [09:55:59]StoreOFDPacket docnum=24315 [09:55:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 25 01 00 00 DE 45 1D 01 85 5C 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 13 00 00 00 F4 03 04 00 2E 25 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 FB 5E 00 00 35 04 06 00 72 B2 01 EC 6C 9A FC 80 5B 2D F6 C7 9A 41 [09:55:59]CheckFolder [09:55:59]dirname=/storage/ofd_packets [09:55:59]CheckFolder done [09:55:59]ProducePacketName [09:55:59]name=ofd_packets/00024315 [09:55:59]NVStorageSaveData ofd_packets/00024315 [09:55:59]File name is /storage/ofd_packets/00024315 [09:55:59]Write 323 bytes [09:55:59]NVStorageSaveData done [09:55:59]OFDSenderStorePacket done [09:55:59]KKMCreateOFDPacket done [09:55:59]NVStorageSaveData kkm_last_timestamp [09:55:59]File name is /storage/kkm_last_timestamp [09:55:59]Write 4 bytes [09:55:59]NVStorageSaveData done [09:55:59]ExternCall_PrintAddStr [09:55:59]wPrintStart [09:55:59]Write to MH i2c: 01 00 00 08 03 0B [09:55:59]Write i2c OK [09:55:59]MH_I2C_Read... [09:55:59]Read from MH i2c: 01 [09:55:59]MH_I2C_Read... [09:55:59]Read from MH i2c: 01 07 00 [09:55:59]MH_I2C_Read... [09:55:59]Read from MH i2c: 01 07 00 08 03 00 00 00 00 00 FF 0F 20 [09:55:59]RasterBufferAndPrint [09:55:59]line Счет N : (3)134837 [09:55:59]line ИНН: 02508201610067 [09:55:59]line Контрольно-Кассовый Чек [09:55:59]line ПРОДАЖА [09:55:59]line Товар: 48743570 [09:55:59]line Сигареты Winston XStyle Blue [09:55:59]line 1.000 * 144.00 [09:55:59]line = 144.00 [09:55:59]line НДС 12% НСП 1% [09:55:59]line > о реализуемом товаре [09:55:59]line ИТОГО: 144.00 [09:55:59]line НСП 1% : 1.27 [09:55:59]line НДС 12% : 15.29 [09:55:59]line Наличными: 144.00 [09:55:59]line Безнал.: 0.00 [09:55:59]line Место: АЗС № 85 "Партнер Нефть" [09:55:59]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [09:55:59]line СНО: Общий режим [09:55:59]line Чек 19 21.10.2024 09:55 [09:55:59]line Смена: 461 ФФД: 1.0 [09:55:59]line ЗНМ: 0300000166 [09:55:59]line РНМ: 0000000000098120 [09:55:59]line Версия ККМ: 001 [09:55:59]line ФМ: 0000000000965420 [09:55:59]line ФД: 24315 [09:55:59]line ФПД: 126108862016666 [09:55:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T095558&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24315&fm=126108862016666&tin=02508201610067®Number=0000000000098120&sum=14400 [09:55:59]line 0 [09:55:59]OFD Sender: Processing packet 24315 [packets to send 5, broken 4] [09:55:59]ProducePacketName [09:55:59]name=ofd_packets/00024315 [09:55:59]OFD Sender: To server: pG, [09:55:59]CommunicateWithHost lk.salyk.kg:30040 [09:55:59]ConnectInit lk.salyk.kg [09:55:59]written 0, free lines is 4095 [09:55:59]Connected sock=10 [09:55: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 34 32 30 25 01 00 00 DE 45 1D 01 85 5C 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 13 00 00 00 F4 03 04 00 2E 25 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 FB 5E 00 00 35 04 06 00 72 B2 01 EC 6C 9A FC 80 5B 2D F6 C7 9A 41 [09: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 34 32 30 4F 00 00 00 46 6E 47 00 E2 34 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 34 32 30 10 04 04 00 FB 5E 00 00 F4 03 04 00 D5 D0 15 67 B6 04 01 00 00 2A 2B 19 34 BD FC 81 55 [09:56:00]CommunicateWithHost err = 0 [09:56:00]CheckOFDResponse [09:56:00]1017 (14) - 77093643461234 [09:56:00]1041 (16) - 0000000000965420 [09:56:00]1040 (4) - 24315 [09:56:00]1012 (4) - 21.10.2024 03:56 [09:56:00]1206 (1) - 0 [09:56:00]OFD Sender: Remove packet 24315 [09:56:00]ProducePacketName [09:56:00]name=ofd_packets/00024315 [09:56:00]NVStorageDeleteData [09:56:00]Write to MH i2c: 01 00 00 30 03 33 [09:56:00]Write i2c OK [09:56:00]MH_I2C_Read... [09:56:00]Read from MH i2c: 01 [09:56:00]MH_I2C_Read... [09:56:00]Read from MH i2c: 01 07 00 [09:56:00]MH_I2C_Read... [09:56:00]Read from MH i2c: 01 07 00 30 03 00 00 00 00 00 0F 0D 56 [09:56:00]RasterBufferAndPrint [09:56:00]line [09:56:00]line [09:56:00]line [09:56:00]line [09:56:00]line [09:56:00]written 0, free lines is 3349 [09:56:00]process_action close_receipt done [09:56:00]requested_data is exist [09:56:00]produce_requested_data [09:56:00]requested_item fm.sn is exist - process it [09:56:00]wFMCommunicate request_size=4 [09:56:00]MH_SAM_APDU [09:56:00]CAPDU: 80 11 00 00 [09:56:00]Write to MH i2c: E2 08 00 37 03 80 11 00 00 00 00 00 00 B4 [09:56:00]Write i2c OK [09:56:00]MH_I2C_Read... [09:56:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:56:00]Read from MH i2c: E2 [09:56:00]MH_I2C_Read... [09:56:00]Read from MH i2c: E2 17 00 [09:56:00]MH_I2C_Read... [09:56:00]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 34 32 30 90 00 01 [09:56:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:56:00]wFMCommunicate OK [09:56:00]requested_item fd.num is exist - process it [09:56:00]SAM_PROTO_GetFieldsCounters [09:56:00]wFMCommunicate request_size=4 [09:56:00]MH_SAM_APDU [09:56:00]CAPDU: 80 13 00 00 [09:56:00]Write to MH i2c: E2 08 00 38 03 80 13 00 00 00 00 00 00 B7 [09:56:00]Write i2c OK [09:56:00]MH_I2C_Read... [09:56:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:56:00]Read from MH i2c: E2 [09:56:00]MH_I2C_Read... [09:56:00]Read from MH i2c: E2 62 00 [09:56:00]MH_I2C_Read... [09:56:00]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 FB 5E 00 00 0E 04 04 00 CD 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 2D [09:56: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 FB 5E 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:56:00]wFMCommunicate OK [09:56:00]SAM_PROTO_GetFieldsCounters done [09:56:00]requested_item shift.num is exist - process it [09:56:00]requested_item shift.opened is exist - process it [09:56:00]req_shift_opened [09:56:00]FM_GetShiftState [09:56:00]SAM_PROTO_GetShiftState [09:56:00]wFMCommunicate request_size=4 [09:56:00]MH_SAM_APDU [09:56:00]CAPDU: 80 13 01 00 [09:56:00]Write to MH i2c: E2 08 00 39 03 80 13 01 00 00 00 00 00 B9 [09:56:00]Write i2c OK [09:56:00]MH_I2C_Read... [09:56:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:56:00]Read from MH i2c: E2 [09:56:00]MH_I2C_Read... [09:56:00]Read from MH i2c: E2 0E 00 [09:56:00]MH_I2C_Read... [09:56:00]Read from MH i2c: E2 0E 00 39 03 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 03 [09:56:00]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [09:56:00]wFMCommunicate OK [09:56:00]SAM_PROTO_GetShiftState done [09:56:00]FM_GetShiftState done [09:56:00]req_shift_opened done [09:56:00]requested_item shift.open_date is exist - process it [09:56:00]req_shift_open_date [09:56:00]req_shift_open_date done [09:56:00]produce_requested_data done [09:56:00]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24315,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [09:56:00]process_action_free close_receipt [09:56:00]json_value_free [09:56:00]json_value_free done [09:56:00]process_json_proto returns [09:56:00]Send response to host [09:56:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24315,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [09:56:00]free response buf [09:56:00]execute_script done [09:56:00]execute_script returns [09:56:00]free content buf [09:56:00]Sock 8.Close socket [09:56:00]Sock 8.Thread stoped [09:56:00]OFD Sender: No OFD packet to send [09:56:05]OFD Sender: No OFD packet to send [09:56:10]OFD Sender: No OFD packet to send [09:56:15]OFD Sender: No OFD packet to send [09:56:16]accept exits with 9 [09:56:16]New connection [09:56:16]New thread 3066940772 created [09:56:16]Thread 3067084132 joined [09:56:16]Waiting for new connection... [09:56:16] Sock 9.Parse request [09:56:16]Sock 9.Check first char [09:56:16]Sock 9.First char is OK [09:56:16]request: POST /json_proto HTTP/1.0 [09:56:16]Method: POST [09:56:16]URL: /json_proto [09:56:16]Method is POST - this is cgi request [09:56:16]url: /json_proto [09:56:16]query_string will be loaded in cgi processing [09:56:16]execute_cgi json_proto POST (null) [09:56:16]execute_cgi path=json_proto method=POST [09:56:16]POST find Content-Length [09:56:16]Host: 172.17.50.4:8080 [09:56:16]Content-Length: 626 [09:56:16]Content-Type: application/json [09:56:16] [09:56:16]POST finish read [09:56:16]Found Content-Length = 626 [09:56:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134838", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "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" ] } } [09:56:16]execute_script... [09:56: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)134838", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "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" ] } } [09:56:16]POST & json_proto [09:56:16]process_json_proto [09:56:16]json parsed OK: [09:56:16]protocol is kg_v1.0 [09:56:16]action value=close_receipt [09:56:16]process_action close_receipt [09:56:16]cmd_close_receipt [09:56:16]MH_GetDate [09:56:16]Write to MH i2c: F0 00 00 3A 03 2C [09:56:16]Write i2c OK [09:56:16]MH_I2C_Read... [09:56:16]Read from MH i2c: F0 [09:56:16]MH_I2C_Read... [09:56:16]Read from MH i2c: F0 09 00 [09:56:16]MH_I2C_Read... [09:56:16]Read from MH i2c: F0 09 00 3A 03 00 41 25 16 67 3B 12 16 67 E2 [09:56:16]GetLastDocTimeStamp 1729504558 [09:56:16]current date 1729504577 [09:56:16]FM_GetShiftState [09:56:16]SAM_PROTO_GetShiftState [09:56:16]wFMCommunicate request_size=4 [09:56:16]MH_SAM_APDU [09:56:16]CAPDU: 80 13 01 00 [09:56:16]Write to MH i2c: E2 08 00 3B 03 80 13 01 00 00 00 00 00 BB [09:56:16]Write i2c OK [09:56:16]MH_I2C_Read... [09:56:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:56:17]Read from MH i2c: E2 [09:56:17]MH_I2C_Read... [09:56:17]Read from MH i2c: E2 0E 00 [09:56:17]MH_I2C_Read... [09:56:17]Read from MH i2c: E2 0E 00 3B 03 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 05 [09:56:17]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [09:56:17]wFMCommunicate OK [09:56:17]SAM_PROTO_GetShiftState done [09:56:17]FM_GetShiftState done [09:56:17]opened in 1729469223 [09:56:17]opened+sec_in_day 1729555623 [09:56:17]quantity*price = 13900 [09:56:17]sum+1 = 13901 [09:56:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 20 21.10.2024 09:56 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24316 ФПД: 22599595344697 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T095618&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24316&fm=22599595344697&tin=02508201610067®Number=0000000000098120&sum=13900 0 [09:56:18]StoreToDocumentArchive [09:56:18]shift 461 fd 24316 [09:56:18]save to /storage/0461/doc_00024316 [09:56:18]save last doc name /storage/0461/doc_00024316 to /storage/kkm_last_doc_name [09:56:18]save OK [09:56:18]Clear old archive folders... [09:56:18]ProcessDocumentItem done err = 0, tmpTLVsize=278 [09:56:18]tlvbuf is 00333E70 [09:56:18]SAM_PROTO_ClearQueue [09:56:18]wFMCommunicate request_size=4 [09:56:18]MH_SAM_APDU [09:56:18]CAPDU: 80 09 00 00 [09:56:18]Write to MH i2c: E2 08 00 48 03 80 09 00 00 00 00 00 00 BD [09:56:18]Write i2c OK [09:56:18]MH_I2C_Read... [09:56:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:56:18]Read from MH i2c: E2 [09:56:18]MH_I2C_Read... [09:56:18]Read from MH i2c: E2 03 00 [09:56:18]MH_I2C_Read... [09:56:18]Read from MH i2c: E2 03 00 48 03 00 90 00 BF [09:56:18]RAPDU: 90 00 [09:56:18]wFMCommunicate OK [09:56:18]SAM_PROTO_ClearQueue done [09:56:18]KKMCreateOFDPacket [09:56:18]OFDProtocolAddRootSTLVToBuf [09:56:18]FM_MakeSignedData [09:56:18]FM_MakeSignedData [09:56:18]SAM_PROTO_SignData [09:56:18]wFMCommunicate request_size=4 [09:56:18]MH_SAM_APDU [09:56:18]CAPDU: 80 0D 01 02 [09:56:18]Write to MH i2c: E2 08 00 49 03 80 0D 01 02 00 00 00 00 C5 [09:56:18]Write i2c OK [09:56:18]MH_I2C_Read... [09:56:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:56:18]Read from MH i2c: E2 [09:56:18]MH_I2C_Read... [09:56:18]Read from MH i2c: E2 03 00 [09:56:18]MH_I2C_Read... [09:56:18]Read from MH i2c: E2 03 00 49 03 00 90 00 C0 [09:56:18]RAPDU: 90 00 [09:56:18]wFMCommunicate OK [09:56:18]wFMCommunicate request_size=255 [09:56:18]MH_SAM_APDU [09:56:18]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 14 00 00 00 F4 03 04 00 42 25 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 [09:56:18]Write to MH i2c: E2 02 01 4A 03 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 14 00 00 00 F4 03 04 00 42 25 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 00 00 C6 [09:56:18]Write i2c OK [09:56:18]MH_I2C_Read... [09:56:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:56:18]Read from MH i2c: E2 [09:56:18]MH_I2C_Read... [09:56:18]Read from MH i2c: E2 03 00 [09:56:18]MH_I2C_Read... [09:56:18]Read from MH i2c: E2 03 00 4A 03 00 90 00 C1 [09:56:18]RAPDU: 90 00 [09:56:18]wFMCommunicate OK [09:56:18]wFMCommunicate request_size=37 [09:56:18]MH_SAM_APDU [09:56:18]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 FC 5E 00 00 35 04 06 00 14 8D E0 DA 43 39 [09:56:18]Write to MH i2c: E2 28 00 4B 03 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 FC 5E 00 00 35 04 06 00 14 8D E0 DA 43 39 00 00 4A [09:56:18]Write i2c OK [09:56:18]MH_I2C_Read... [09:56:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:56:18]Read from MH i2c: E2 [09:56:18]MH_I2C_Read... [09:56:18]Read from MH i2c: E2 03 00 [09:56:18]MH_I2C_Read... [09:56:18]Read from MH i2c: E2 03 00 4B 03 00 90 00 C2 [09:56:18]RAPDU: 90 00 [09:56:18]wFMCommunicate OK [09:56:18]wFMCommunicate request_size=4 [09:56:18]MH_SAM_APDU [09:56:18]CAPDU: 80 0D 03 02 [09:56:18]Write to MH i2c: E2 08 00 4C 03 80 0D 03 02 00 00 00 00 CA [09:56:18]Write i2c OK [09:56:18]MH_I2C_Read... [09:56:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:56:18]Read from MH i2c: E2 [09:56:18]MH_I2C_Read... [09:56:18]Read from MH i2c: E2 0B 00 [09:56:18]MH_I2C_Read... [09:56:18]Read from MH i2c: E2 0B 00 4C 03 00 89 32 22 E0 28 78 E8 96 90 00 A6 [09:56:18]RAPDU: 89 32 22 E0 28 78 E8 96 90 00 [09:56:18]wFMCommunicate OK [09:56:18]SAM_PROTO_SignData done [09:56:18]FM_MakeSignedData done [09:56:18]CreateOFDProtocolMessage [09:56:18]wFMCommunicate request_size=4 [09:56:18]MH_SAM_APDU [09:56:18]CAPDU: 80 11 00 00 [09:56:18]Write to MH i2c: E2 08 00 4D 03 80 11 00 00 00 00 00 00 CA [09:56:18]Write i2c OK [09:56:18]MH_I2C_Read... [09:56:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:56:18]Read from MH i2c: E2 [09:56:18]MH_I2C_Read... [09:56:18]Read from MH i2c: E2 17 00 [09:56:18]MH_I2C_Read... [09:56:18]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 34 32 30 90 00 17 [09:56:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:56:18]wFMCommunicate OK [09:56:18]CreateOFDProtocolMessage done [09:56:18]OFDSenderStorePacket 24316 [09:56:18]StoreOFDPacket docnum=24316 [09:56:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2A 01 00 00 E9 0A 22 01 0E CA 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 14 00 00 00 F4 03 04 00 42 25 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 FC 5E 00 00 35 04 06 00 14 8D E0 DA 43 39 89 32 22 E0 28 78 E8 96 [09:56:18]CheckFolder [09:56:18]dirname=/storage/ofd_packets [09:56:18]CheckFolder done [09:56:18]ProducePacketName [09:56:18]name=ofd_packets/00024316 [09:56:18]NVStorageSaveData ofd_packets/00024316 [09:56:18]File name is /storage/ofd_packets/00024316 [09:56:18]Write 328 bytes [09:56:18]NVStorageSaveData done [09:56:18]OFDSenderStorePacket done [09:56:18]KKMCreateOFDPacket done [09:56:18]NVStorageSaveData kkm_last_timestamp [09:56:18]File name is /storage/kkm_last_timestamp [09:56:18]Write 4 bytes [09:56:18]NVStorageSaveData done [09:56:18]ExternCall_PrintAddStr [09:56:18]wPrintStart [09:56:18]Write to MH i2c: 01 00 00 4E 03 51 [09:56:18]Write i2c OK [09:56:18]MH_I2C_Read... [09:56:18]Read from MH i2c: 01 [09:56:18]MH_I2C_Read... [09:56:18]Read from MH i2c: 01 07 00 [09:56:18]MH_I2C_Read... [09:56:18]Read from MH i2c: 01 07 00 4E 03 00 00 00 00 00 FF 0F 66 [09:56:18]RasterBufferAndPrint [09:56:18]line Счет N : (3)134838 [09:56:18]line ИНН: 02508201610067 [09:56:18]line Контрольно-Кассовый Чек [09:56:18]line ПРОДАЖА [09:56:18]line Товар: 48741224 [09:56:18]line Сигареты Winston Super Slims Blue [09:56:18]line 1.000 * 139.00 [09:56:18]line = 139.00 [09:56:18]line НДС 12% НСП 1% [09:56:18]line > о реализуемом товаре [09:56:18]line ИТОГО: 139.00 [09:56:18]line НСП 1% : 1.23 [09:56:18]line НДС 12% : 14.76 [09:56:18]line Наличными: 139.00 [09:56:18]line Безнал.: 0.00 [09:56:18]line Место: АЗС № 85 "Партнер Нефть" [09:56:18]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [09:56:18]line СНО: Общий режим [09:56:18]line Чек 20 21.10.2024 09:56 [09:56:18]line Смена: 461 ФФД: 1.0 [09:56:18]line ЗНМ: 0300000166 [09:56:18]line РНМ: 0000000000098120 [09:56:18]line Версия ККМ: 001 [09:56:18]line ФМ: 0000000000965420 [09:56:18]line ФД: 24316 [09:56:18]line ФПД: 22599595344697 [09:56:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T095618&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24316&fm=22599595344697&tin=02508201610067®Number=0000000000098120&sum=13900 [09:56:19]line 0 [09:56:19]OFD Sender: Processing packet 24316 [packets to send 5, broken 4] [09:56:19]written 0, free lines is 4095 [09:56:19]ProducePacketName [09:56:19]name=ofd_packets/00024316 [09:56:19]OFD Sender: To server: pG, [09:56:19]CommunicateWithHost lk.salyk.kg:30040 [09:56:19]ConnectInit lk.salyk.kg [09:56:19]Connected sock=10 [09:56: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 34 32 30 2A 01 00 00 E9 0A 22 01 0E CA 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 14 00 00 00 F4 03 04 00 42 25 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 FC 5E 00 00 35 04 06 00 14 8D E0 DA 43 39 89 32 22 E0 28 78 E8 96 [09:56:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 20 01 47 00 03 A9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 FC 5E 00 00 F4 03 04 00 E8 D0 15 67 B6 04 01 00 00 DF 6E 5F BD 1E 5E 8C 82 [09:56:19]CommunicateWithHost err = 0 [09:56:19]CheckOFDResponse [09:56:19]1017 (14) - 77093643461234 [09:56:19]1041 (16) - 0000000000965420 [09:56:19]1040 (4) - 24316 [09:56:19]1012 (4) - 21.10.2024 03:56 [09:56:19]1206 (1) - 0 [09:56:19]OFD Sender: Remove packet 24316 [09:56:19]ProducePacketName [09:56:19]name=ofd_packets/00024316 [09:56:19]NVStorageDeleteData [09:56:19]Write to MH i2c: 01 00 00 77 03 7A [09:56:19]Write i2c OK [09:56:19]MH_I2C_Read... [09:56:19]Read from MH i2c: 01 [09:56:19]MH_I2C_Read... [09:56:19]Read from MH i2c: 01 07 00 [09:56:19]MH_I2C_Read... [09:56:19]Read from MH i2c: 01 07 00 77 03 00 00 00 00 00 01 0D 8F [09:56:19]RasterBufferAndPrint [09:56:19]line [09:56:19]line [09:56:19]line [09:56:19]line [09:56:19]line [09:56:19]written 0, free lines is 3335 [09:56:19]process_action close_receipt done [09:56:19]requested_data is exist [09:56:19]produce_requested_data [09:56:19]requested_item fm.sn is exist - process it [09:56:19]wFMCommunicate request_size=4 [09:56:19]MH_SAM_APDU [09:56:19]CAPDU: 80 11 00 00 [09:56:19]Write to MH i2c: E2 08 00 7E 03 80 11 00 00 00 00 00 00 FB [09:56:19]Write i2c OK [09:56:19]MH_I2C_Read... [09:56:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:56:19]Read from MH i2c: E2 [09:56:19]MH_I2C_Read... [09:56:19]Read from MH i2c: E2 17 00 [09:56:19]MH_I2C_Read... [09:56:19]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 34 32 30 90 00 48 [09:56:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:56:19]wFMCommunicate OK [09:56:19]requested_item fd.num is exist - process it [09:56:19]SAM_PROTO_GetFieldsCounters [09:56:19]wFMCommunicate request_size=4 [09:56:19]MH_SAM_APDU [09:56:19]CAPDU: 80 13 00 00 [09:56:19]Write to MH i2c: E2 08 00 7F 03 80 13 00 00 00 00 00 00 FE [09:56:19]Write i2c OK [09:56:19]MH_I2C_Read... [09:56:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:56:19]Read from MH i2c: E2 [09:56:19]MH_I2C_Read... [09:56:19]Read from MH i2c: E2 62 00 [09:56:19]MH_I2C_Read... [09:56:19]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 FC 5E 00 00 0E 04 04 00 CD 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 78 [09:56: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 FC 5E 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:56:19]wFMCommunicate OK [09:56:19]SAM_PROTO_GetFieldsCounters done [09:56:19]requested_item shift.num is exist - process it [09:56:19]requested_item shift.opened is exist - process it [09:56:19]req_shift_opened [09:56:19]FM_GetShiftState [09:56:19]SAM_PROTO_GetShiftState [09:56:19]wFMCommunicate request_size=4 [09:56:19]MH_SAM_APDU [09:56:19]CAPDU: 80 13 01 00 [09:56:19]Write to MH i2c: E2 08 00 80 03 80 13 01 00 00 00 00 00 00 [09:56:19]Write i2c OK [09:56:19]MH_I2C_Read... [09:56:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:56:19]Read from MH i2c: E2 [09:56:19]MH_I2C_Read... [09:56:19]Read from MH i2c: E2 0E 00 [09:56:19]MH_I2C_Read... [09:56:19]Read from MH i2c: E2 0E 00 80 03 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 4A [09:56:19]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [09:56:19]wFMCommunicate OK [09:56:19]SAM_PROTO_GetShiftState done [09:56:19]FM_GetShiftState done [09:56:19]req_shift_opened done [09:56:19]requested_item shift.open_date is exist - process it [09:56:19]req_shift_open_date [09:56:19]req_shift_open_date done [09:56:19]produce_requested_data done [09:56:19]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24316,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [09:56:19]process_action_free close_receipt [09:56:19]json_value_free [09:56:19]json_value_free done [09:56:19]process_json_proto returns [09:56:19]Send response to host [09:56:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24316,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [09:56:19]free response buf [09:56:19]execute_script done [09:56:19]execute_script returns [09:56:19]free content buf [09:56:19]Sock 9.Close socket [09:56:19]Sock 9.Thread stoped [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:35]OFD Sender: No OFD packet to send [09:58:40]OFD Sender: No OFD packet to send [09:58:45]OFD Sender: No OFD packet to send [09:58:50]OFD Sender: No OFD packet to send [09:58:55]OFD Sender: No OFD packet to send [09:59:00]OFD Sender: No OFD packet to send [09:59:05]OFD Sender: No OFD packet to send [09:59:10]OFD Sender: No OFD packet to send [09:59:15]OFD Sender: No OFD packet to send [09:59:20]OFD Sender: No OFD packet to send [09:59:25]OFD Sender: No OFD packet to send [09:59:30]OFD Sender: No OFD packet to send [09:59:35]OFD Sender: No OFD packet to send [09:59:40]OFD Sender: No OFD packet to send [09:59:45]OFD Sender: No OFD packet to send [09:59:50]OFD Sender: No OFD packet to send [09:59:55]OFD Sender: No OFD packet to send [10:00:00]OFD Sender: No OFD packet to send [10:00:05]OFD Sender: No OFD packet to send [10:00:10]OFD Sender: No OFD packet to send [10:00:15]OFD Sender: No OFD packet to send [10:00:20]OFD Sender: No OFD packet to send [10:00:25]OFD Sender: No OFD packet to send [10:00:30]OFD Sender: No OFD packet to send [10:00:35]OFD Sender: No OFD packet to send [10:00:40]OFD Sender: No OFD packet to send [10:00:45]OFD Sender: No OFD packet to send [10:00:50]OFD Sender: No OFD packet to send [10:00:55]OFD Sender: No OFD packet to send [10:01:00]OFD Sender: No OFD packet to send [10:01:05]OFD Sender: No OFD packet to send [10:01:10]OFD Sender: No OFD packet to send [10:01:15]OFD Sender: No OFD packet to send [10:01:20]OFD Sender: No OFD packet to send [10:01:25]OFD Sender: No OFD packet to send [10:01:30]OFD Sender: No OFD packet to send [10:01:35]OFD Sender: No OFD packet to send [10:01:40]OFD Sender: No OFD packet to send [10:01:45]OFD Sender: No OFD packet to send [10:01:50]OFD Sender: No OFD packet to send [10:01:55]OFD Sender: No OFD packet to send [10:02:00]OFD Sender: No OFD packet to send [10:02:05]OFD Sender: No OFD packet to send [10:02:10]OFD Sender: No OFD packet to send [10:02:15]OFD Sender: No OFD packet to send [10:02:20]OFD Sender: No OFD packet to send [10:02:25]OFD Sender: No OFD packet to send [10:02:30]OFD Sender: No OFD packet to send [10:02:35]OFD Sender: No OFD packet to send [10:02:40]OFD Sender: No OFD packet to send [10:02:45]OFD Sender: No OFD packet to send [10:02:50]OFD Sender: No OFD packet to send [10:02:55]OFD Sender: No OFD packet to send [10:03:00]OFD Sender: No OFD packet to send [10:03:05]OFD Sender: No OFD packet to send [10:03:10]OFD Sender: No OFD packet to send [10:03:15]OFD Sender: No OFD packet to send [10:03:20]OFD Sender: No OFD packet to send [10:03:25]OFD Sender: No OFD packet to send [10:03:30]OFD Sender: No OFD packet to send [10:03:35]OFD Sender: No OFD packet to send [10:03:40]OFD Sender: No OFD packet to send [10:03:45]OFD Sender: No OFD packet to send [10:03:50]OFD Sender: No OFD packet to send [10:03:55]OFD Sender: No OFD packet to send [10:04:00]OFD Sender: No OFD packet to send [10:04:05]OFD Sender: No OFD packet to send [10:04:10]OFD Sender: No OFD packet to send [10:04:15]OFD Sender: No OFD packet to send [10:04:20]OFD Sender: No OFD packet to send [10:04:25]OFD Sender: No OFD packet to send [10:04:30]OFD Sender: No OFD packet to send [10:04:35]OFD Sender: No OFD packet to send [10:04:40]OFD Sender: No OFD packet to send [10:04:45]OFD Sender: No OFD packet to send [10:04:50]OFD Sender: No OFD packet to send [10:04:55]OFD Sender: No OFD packet to send [10:05:00]OFD Sender: No OFD packet to send [10:05:05]OFD Sender: No OFD packet to send [10:05:10]OFD Sender: No OFD packet to send [10:05:15]OFD Sender: No OFD packet to send [10:05:20]OFD Sender: No OFD packet to send [10:05:25]OFD Sender: No OFD packet to send [10:05:30]OFD Sender: No OFD packet to send [10:05:35]OFD Sender: No OFD packet to send [10:05:40]OFD Sender: No OFD packet to send [10:05:45]OFD Sender: No OFD packet to send [10:05:50]OFD Sender: No OFD packet to send [10:05:55]OFD Sender: No OFD packet to send [10:06:00]OFD Sender: No OFD packet to send [10:06:05]OFD Sender: No OFD packet to send [10:06:10]OFD Sender: No OFD packet to send [10:06:15]OFD Sender: No OFD packet to send [10:06:20]OFD Sender: No OFD packet to send [10:06:25]OFD Sender: No OFD packet to send [10:06:30]OFD Sender: No OFD packet to send [10:06:35]OFD Sender: No OFD packet to send [10:06:40]OFD Sender: No OFD packet to send [10:06:45]OFD Sender: No OFD packet to send [10:06:50]OFD Sender: No OFD packet to send [10:06:55]OFD Sender: No OFD packet to send [10:07:00]OFD Sender: No OFD packet to send [10:07:05]OFD Sender: No OFD packet to send [10:07:10]OFD Sender: No OFD packet to send [10:07:15]OFD Sender: No OFD packet to send [10:07:20]OFD Sender: No OFD packet to send [10:07:25]OFD Sender: No OFD packet to send [10:07:30]OFD Sender: No OFD packet to send [10:07:35]OFD Sender: No OFD packet to send [10:07:40]OFD Sender: No OFD packet to send [10:07:45]OFD Sender: No OFD packet to send [10:07:50]OFD Sender: No OFD packet to send [10:07:55]OFD Sender: No OFD packet to send [10:08:00]OFD Sender: No OFD packet to send [10:08:05]OFD Sender: No OFD packet to send [10:08:10]OFD Sender: No OFD packet to send [10:08:15]OFD Sender: No OFD packet to send [10:08:20]OFD Sender: No OFD packet to send [10:08:25]OFD Sender: No OFD packet to send [10:08:30]OFD Sender: No OFD packet to send [10:08:35]OFD Sender: No OFD packet to send [10:08:40]OFD Sender: No OFD packet to send [10:08:45]OFD Sender: No OFD packet to send [10:08:50]OFD Sender: No OFD packet to send [10:08:55]OFD Sender: No OFD packet to send [10:09:00]OFD Sender: No OFD packet to send [10:09:05]OFD Sender: No OFD packet to send [10:09:10]OFD Sender: No OFD packet to send [10:09:15]OFD Sender: No OFD packet to send [10:09:20]OFD Sender: No OFD packet to send [10:09:25]OFD Sender: No OFD packet to send [10:09:30]OFD Sender: No OFD packet to send [10:09:35]OFD Sender: No OFD packet to send [10:09:40]OFD Sender: No OFD packet to send [10:09:45]OFD Sender: No OFD packet to send [10:09:50]OFD Sender: No OFD packet to send [10:09:55]OFD Sender: No OFD packet to send [10:10:00]OFD Sender: No OFD packet to send [10:10:05]OFD Sender: No OFD packet to send [10:10:10]OFD Sender: No OFD packet to send [10:10:15]OFD Sender: No OFD packet to send [10:10:20]OFD Sender: No OFD packet to send [10:10:25]OFD Sender: No OFD packet to send [10:10:30]OFD Sender: No OFD packet to send [10:10:35]OFD Sender: No OFD packet to send [10:10:40]OFD Sender: No OFD packet to send [10:10:45]OFD Sender: No OFD packet to send [10:10:50]OFD Sender: No OFD packet to send [10:10:55]OFD Sender: No OFD packet to send [10:11:00]OFD Sender: No OFD packet to send [10:11:05]OFD Sender: No OFD packet to send [10:11:10]OFD Sender: No OFD packet to send [10:11:15]OFD Sender: No OFD packet to send [10:11:20]OFD Sender: No OFD packet to send [10:11:25]OFD Sender: No OFD packet to send [10:11:30]OFD Sender: No OFD packet to send [10:11:35]OFD Sender: No OFD packet to send [10:11:40]OFD Sender: No OFD packet to send [10:11:45]OFD Sender: No OFD packet to send [10:11:50]OFD Sender: No OFD packet to send [10:11:55]OFD Sender: No OFD packet to send [10:12:00]OFD Sender: No OFD packet to send [10:12:05]OFD Sender: No OFD packet to send [10:12:10]OFD Sender: No OFD packet to send [10:12:15]OFD Sender: No OFD packet to send [10:12:20]OFD Sender: No OFD packet to send [10:12:25]OFD Sender: No OFD packet to send [10:12:30]OFD Sender: No OFD packet to send [10:12:35]OFD Sender: No OFD packet to send [10:12:40]OFD Sender: No OFD packet to send [10:12:45]OFD Sender: No OFD packet to send [10:12:50]OFD Sender: No OFD packet to send [10:12:55]OFD Sender: No OFD packet to send [10:13:00]OFD Sender: No OFD packet to send [10:13:05]OFD Sender: No OFD packet to send [10:13:10]OFD Sender: No OFD packet to send [10:13:15]OFD Sender: No OFD packet to send [10:13:20]OFD Sender: No OFD packet to send [10:13:25]OFD Sender: No OFD packet to send [10:13:30]OFD Sender: No OFD packet to send [10:13:35]OFD Sender: No OFD packet to send [10:13:40]OFD Sender: No OFD packet to send [10:13:45]OFD Sender: No OFD packet to send [10:13:50]OFD Sender: No OFD packet to send [10:13:55]OFD Sender: No OFD packet to send [10:14:00]OFD Sender: No OFD packet to send [10:14:05]OFD Sender: No OFD packet to send [10:14:10]OFD Sender: No OFD packet to send [10:14:15]OFD Sender: No OFD packet to send [10:14:20]OFD Sender: No OFD packet to send [10:14:25]OFD Sender: No OFD packet to send [10:14:30]OFD Sender: No OFD packet to send [10:14:35]OFD Sender: No OFD packet to send [10:14:40]OFD Sender: No OFD packet to send [10:14:45]OFD Sender: No OFD packet to send [10:14:50]OFD Sender: No OFD packet to send [10:14:55]OFD Sender: No OFD packet to send [10:15:00]OFD Sender: No OFD packet to send [10:15:05]OFD Sender: No OFD packet to send [10:15:10]OFD Sender: No OFD packet to send [10:15:15]OFD Sender: No OFD packet to send [10:15:20]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:17:55]accept exits with 8 [10:17:55]New connection [10:17:55]New thread 3067084132 created [10:17:55]Thread 3066940772 joined [10:17:55]Waiting for new connection... [10:17:55] Sock 8.Parse request [10:17:55]Sock 8.Check first char [10:17:55]Sock 8.First char is OK [10:17:55]request: POST /json_proto HTTP/1.0 [10:17:55]Method: POST [10:17:55]URL: /json_proto [10:17:55]Method is POST - this is cgi request [10:17:55]url: /json_proto [10:17:55]query_string will be loaded in cgi processing [10:17:55]execute_cgi json_proto POST (null) [10:17:55]execute_cgi path=json_proto method=POST [10:17:55]POST find Content-Length [10:17:55]Host: 172.17.50.4:8080 [10:17:55]Content-Length: 608 [10:17:55]Content-Type: application/json [10:17:55] [10:17:55]POST finish read [10:17:55]Found Content-Length = 608 [10:17:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134839", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 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" ] } } [10:17:55]execute_script... [10:17: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)134839", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 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" ] } } [10:17:55]POST & json_proto [10:17:55]process_json_proto [10:17:55]json parsed OK: [10:17:55]protocol is kg_v1.0 [10:17:55]action value=close_receipt [10:17:55]process_action close_receipt [10:17:55]cmd_close_receipt [10:17:55]MH_GetDate [10:17:55]Write to MH i2c: F0 00 00 81 03 73 [10:17:55]Write i2c OK [10:17:55]MH_I2C_Read... [10:17:55]Read from MH i2c: F0 [10:17:55]MH_I2C_Read... [10:17:55]Read from MH i2c: F0 09 00 [10:17:55]MH_I2C_Read... [10:17:55]Read from MH i2c: F0 09 00 81 03 00 54 2A 16 67 3B 12 16 67 41 [10:17:55]GetLastDocTimeStamp 1729504578 [10:17:55]current date 1729505876 [10:17:55]FM_GetShiftState [10:17:55]SAM_PROTO_GetShiftState [10:17:55]wFMCommunicate request_size=4 [10:17:55]MH_SAM_APDU [10:17:55]CAPDU: 80 13 01 00 [10:17:55]Write to MH i2c: E2 08 00 82 03 80 13 01 00 00 00 00 00 02 [10:17:55]Write i2c OK [10:17:55]MH_I2C_Read... [10:17:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:17:55]Read from MH i2c: E2 [10:17:55]MH_I2C_Read... [10:17:55]Read from MH i2c: E2 0E 00 [10:17:55]MH_I2C_Read... [10:17:55]Read from MH i2c: E2 0E 00 82 03 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 4C [10:17:55]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [10:17:55]wFMCommunicate OK [10:17:55]SAM_PROTO_GetShiftState done [10:17:55]FM_GetShiftState done [10:17:55]opened in 1729469223 [10:17:55]opened+sec_in_day 1729555623 [10:17:55]quantity*price = 2000 [10:17:55]sum+1 = 2001 [10:17:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 20.00 НСП 1% : 0.18 НДС 12% : 2.12 Наличными: 20.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 21 21.10.2024 10:17 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24317 ФПД: 217402890070864 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T101757&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24317&fm=217402890070864&tin=02508201610067®Number=0000000000098120&sum=2000 0 [10:17:57]StoreToDocumentArchive [10:17:57]shift 461 fd 24317 [10:17:57]save to /storage/0461/doc_00024317 [10:17:57]save last doc name /storage/0461/doc_00024317 to /storage/kkm_last_doc_name [10:17:57]save OK [10:17:57]Clear old archive folders... [10:17:57]ProcessDocumentItem done err = 0, tmpTLVsize=267 [10:17:57]tlvbuf is 00333AC0 [10:17:57]SAM_PROTO_ClearQueue [10:17:57]wFMCommunicate request_size=4 [10:17:57]MH_SAM_APDU [10:17:57]CAPDU: 80 09 00 00 [10:17:57]Write to MH i2c: E2 08 00 8F 03 80 09 00 00 00 00 00 00 04 [10:17:57]Write i2c OK [10:17:57]MH_I2C_Read... [10:17:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:17:57]Read from MH i2c: E2 [10:17:57]MH_I2C_Read... [10:17:57]Read from MH i2c: E2 03 00 [10:17:57]MH_I2C_Read... [10:17:57]Read from MH i2c: E2 03 00 8F 03 00 90 00 06 [10:17:57]RAPDU: 90 00 [10:17:57]wFMCommunicate OK [10:17:57]SAM_PROTO_ClearQueue done [10:17:57]KKMCreateOFDPacket [10:17:57]OFDProtocolAddRootSTLVToBuf [10:17:57]FM_MakeSignedData [10:17:57]FM_MakeSignedData [10:17:57]SAM_PROTO_SignData [10:17:57]wFMCommunicate request_size=4 [10:17:57]MH_SAM_APDU [10:17:57]CAPDU: 80 0D 01 02 [10:17:57]Write to MH i2c: E2 08 00 90 03 80 0D 01 02 00 00 00 00 0C [10:17:57]Write i2c OK [10:17:57]MH_I2C_Read... [10:17:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:17:57]Read from MH i2c: E2 [10:17:57]MH_I2C_Read... [10:17:57]Read from MH i2c: E2 03 00 [10:17:57]MH_I2C_Read... [10:17:57]Read from MH i2c: E2 03 00 90 03 00 90 00 07 [10:17:57]RAPDU: 90 00 [10:17:57]wFMCommunicate OK [10:17:57]wFMCommunicate request_size=255 [10:17:57]MH_SAM_APDU [10:17:57]CAPDU: 80 0D 02 02 FA 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 15 00 00 00 F4 03 04 00 55 2A 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 [10:17:57]Write to MH i2c: E2 02 01 91 03 80 0D 02 02 FA 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 15 00 00 00 F4 03 04 00 55 2A 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 00 00 A0 [10:17:57]Write i2c OK [10:17:57]MH_I2C_Read... [10:17:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:17:57]Read from MH i2c: E2 [10:17:57]MH_I2C_Read... [10:17:57]Read from MH i2c: E2 03 00 [10:17:57]MH_I2C_Read... [10:17:57]Read from MH i2c: E2 03 00 91 03 00 90 00 08 [10:17:57]RAPDU: 90 00 [10:17:57]wFMCommunicate OK [10:17:57]wFMCommunicate request_size=26 [10:17:57]MH_SAM_APDU [10:17:57]CAPDU: 80 0D 02 02 15 34 32 30 10 04 04 00 FD 5E 00 00 35 04 06 00 C5 BA 0E 09 2B 50 [10:17:57]Write to MH i2c: E2 1D 00 92 03 80 0D 02 02 15 00 34 32 30 10 04 04 00 FD 5E 00 00 35 04 06 00 C5 BA 0E 09 2B 50 00 00 92 [10:17:57]Write i2c OK [10:17:57]MH_I2C_Read... [10:17:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:17:57]Read from MH i2c: E2 [10:17:57]MH_I2C_Read... [10:17:57]Read from MH i2c: E2 03 00 [10:17:57]MH_I2C_Read... [10:17:57]Read from MH i2c: E2 03 00 92 03 00 90 00 09 [10:17:57]RAPDU: 90 00 [10:17:57]wFMCommunicate OK [10:17:57]wFMCommunicate request_size=4 [10:17:57]MH_SAM_APDU [10:17:57]CAPDU: 80 0D 03 02 [10:17:57]Write to MH i2c: E2 08 00 93 03 80 0D 03 02 00 00 00 00 11 [10:17:57]Write i2c OK [10:17:57]MH_I2C_Read... [10:17:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:17:57]Read from MH i2c: E2 [10:17:57]MH_I2C_Read... [10:17:57]Read from MH i2c: E2 0B 00 [10:17:57]MH_I2C_Read... [10:17:57]Read from MH i2c: E2 0B 00 93 03 00 2D 93 91 5A 91 02 A2 33 90 00 25 [10:17:57]RAPDU: 2D 93 91 5A 91 02 A2 33 90 00 [10:17:57]wFMCommunicate OK [10:17:57]SAM_PROTO_SignData done [10:17:57]FM_MakeSignedData done [10:17:57]CreateOFDProtocolMessage [10:17:57]wFMCommunicate request_size=4 [10:17:57]MH_SAM_APDU [10:17:57]CAPDU: 80 11 00 00 [10:17:57]Write to MH i2c: E2 08 00 94 03 80 11 00 00 00 00 00 00 11 [10:17:57]Write i2c OK [10:17:57]MH_I2C_Read... [10:17:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:17:57]Read from MH i2c: E2 [10:17:57]MH_I2C_Read... [10:17:57]Read from MH i2c: E2 17 00 [10:17:57]MH_I2C_Read... [10:17:57]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 34 32 30 90 00 5E [10:17:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [10:17:57]wFMCommunicate OK [10:17:57]CreateOFDProtocolMessage done [10:17:57]OFDSenderStorePacket 24317 [10:17:57]StoreOFDPacket docnum=24317 [10:17:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 2B 80 17 01 E6 D8 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 15 00 00 00 F4 03 04 00 55 2A 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 FD 5E 00 00 35 04 06 00 C5 BA 0E 09 2B 50 2D 93 91 5A 91 02 A2 33 [10:17:57]CheckFolder [10:17:57]dirname=/storage/ofd_packets [10:17:57]CheckFolder done [10:17:57]ProducePacketName [10:17:57]name=ofd_packets/00024317 [10:17:57]NVStorageSaveData ofd_packets/00024317 [10:17:57]File name is /storage/ofd_packets/00024317 [10:17:57]Write 317 bytes [10:17:57]NVStorageSaveData done [10:17:57]OFDSenderStorePacket done [10:17:57]KKMCreateOFDPacket done [10:17:57]NVStorageSaveData kkm_last_timestamp [10:17:57]File name is /storage/kkm_last_timestamp [10:17:57]Write 4 bytes [10:17:57]NVStorageSaveData done [10:17:57]ExternCall_PrintAddStr [10:17:57]wPrintStart [10:17:57]Write to MH i2c: 01 00 00 95 03 98 [10:17:57]Write i2c OK [10:17:57]MH_I2C_Read... [10:17:57]Read from MH i2c: 01 [10:17:57]MH_I2C_Read... [10:17:57]Read from MH i2c: 01 07 00 [10:17:57]MH_I2C_Read... [10:17:57]Read from MH i2c: 01 07 00 95 03 00 00 00 00 00 FF 0F AD [10:17:57]RasterBufferAndPrint [10:17:57]line Счет N : (3)134839 [10:17:57]line ИНН: 02508201610067 [10:17:57]line Контрольно-Кассовый Чек [10:17:57]line ПРОДАЖА [10:17:57]line Товар: 46231529 [10:17:57]line Mentos ПФ Арбуз 6*100*2 [10:17:57]line 2.000 * 10.00 [10:17:57]line = 20.00 [10:17:57]line НДС 12% НСП 1% [10:17:57]line > о реализуемом товаре [10:17:57]line ИТОГО: 20.00 [10:17:57]line НСП 1% : 0.18 [10:17:57]line НДС 12% : 2.12 [10:17:57]line Наличными: 20.00 [10:17:57]line Безнал.: 0.00 [10:17:57]line Место: АЗС № 85 "Партнер Нефть" [10:17:57]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [10:17:57]line СНО: Общий режим [10:17:57]line Чек 21 21.10.2024 10:17 [10:17:57]line Смена: 461 ФФД: 1.0 [10:17:57]line ЗНМ: 0300000166 [10:17:57]line РНМ: 0000000000098120 [10:17:57]line Версия ККМ: 001 [10:17:57]line ФМ: 0000000000965420 [10:17:57]line ФД: 24317 [10:17:57]line ФПД: 217402890070864 [10:17:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T101757&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24317&fm=217402890070864&tin=02508201610067®Number=0000000000098120&sum=2000 [10:17:57]line 0 [10:17:57]OFD Sender: Processing packet 24317 [packets to send 5, broken 4] [10:17:57]ProducePacketName [10:17:57]name=ofd_packets/00024317 [10:17:57]OFD Sender: To server: pG, [10:17:57]CommunicateWithHost lk.salyk.kg:30040 [10:17:57]ConnectInit lk.salyk.kg [10:17:57]written 0, free lines is 4095 [10:17:58]Connected sock=10 [10:17: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 34 32 30 1F 01 00 00 2B 80 17 01 E6 D8 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 15 00 00 00 F4 03 04 00 55 2A 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 FD 5E 00 00 35 04 06 00 C5 BA 0E 09 2B 50 2D 93 91 5A 91 02 A2 33 [10:17:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 AD A1 47 00 F6 F8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 34 32 30 10 04 04 00 FD 5E 00 00 F4 03 04 00 FB D5 15 67 B6 04 01 00 00 F4 14 0C A2 2D 94 AB F8 [10:17:58]CommunicateWithHost err = 0 [10:17:58]CheckOFDResponse [10:17:58]1017 (14) - 77093643461234 [10:17:58]1041 (16) - 0000000000965420 [10:17:58]1040 (4) - 24317 [10:17:58]1012 (4) - 21.10.2024 04:18 [10:17:58]1206 (1) - 0 [10:17:58]OFD Sender: Remove packet 24317 [10:17:58]ProducePacketName [10:17:58]name=ofd_packets/00024317 [10:17:58]NVStorageDeleteData [10:17:58]Write to MH i2c: 01 00 00 BD 03 C0 [10:17:58]Write i2c OK [10:17:58]MH_I2C_Read... [10:17:58]Read from MH i2c: 01 [10:17:58]MH_I2C_Read... [10:17:58]Read from MH i2c: 01 07 00 [10:17:58]MH_I2C_Read... [10:17:58]Read from MH i2c: 01 07 00 BD 03 00 00 00 00 00 15 0D E9 [10:17:58]RasterBufferAndPrint [10:17:58]line [10:17:58]line [10:17:58]line [10:17:58]line [10:17:58]line [10:17:58]written 0, free lines is 3356 [10:17:58]process_action close_receipt done [10:17:58]requested_data is exist [10:17:58]produce_requested_data [10:17:58]requested_item fm.sn is exist - process it [10:17:58]wFMCommunicate request_size=4 [10:17:58]MH_SAM_APDU [10:17:58]CAPDU: 80 11 00 00 [10:17:58]Write to MH i2c: E2 08 00 C4 03 80 11 00 00 00 00 00 00 41 [10:17:58]Write i2c OK [10:17:58]MH_I2C_Read... [10:17:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:17:58]Read from MH i2c: E2 [10:17:58]MH_I2C_Read... [10:17:58]Read from MH i2c: E2 17 00 [10:17:58]MH_I2C_Read... [10:17:58]Read from MH i2c: E2 17 00 C4 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 8E [10:17:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [10:17:58]wFMCommunicate OK [10:17:58]requested_item fd.num is exist - process it [10:17:58]SAM_PROTO_GetFieldsCounters [10:17:58]wFMCommunicate request_size=4 [10:17:58]MH_SAM_APDU [10:17:58]CAPDU: 80 13 00 00 [10:17:58]Write to MH i2c: E2 08 00 C5 03 80 13 00 00 00 00 00 00 44 [10:17:58]Write i2c OK [10:17:58]MH_I2C_Read... [10:17:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:17:58]Read from MH i2c: E2 [10:17:58]MH_I2C_Read... [10:17:58]Read from MH i2c: E2 62 00 [10:17:58]MH_I2C_Read... [10:17:58]Read from MH i2c: E2 62 00 C5 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 FD 5E 00 00 0E 04 04 00 CD 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 C2 [10:17: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 FD 5E 00 00 0E 04 04 00 CD 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 [10:17:58]wFMCommunicate OK [10:17:58]SAM_PROTO_GetFieldsCounters done [10:17:58]requested_item shift.num is exist - process it [10:17:58]requested_item shift.opened is exist - process it [10:17:58]req_shift_opened [10:17:58]FM_GetShiftState [10:17:58]SAM_PROTO_GetShiftState [10:17:58]wFMCommunicate request_size=4 [10:17:58]MH_SAM_APDU [10:17:58]CAPDU: 80 13 01 00 [10:17:58]Write to MH i2c: E2 08 00 C6 03 80 13 01 00 00 00 00 00 46 [10:17:58]Write i2c OK [10:17:58]MH_I2C_Read... [10:17:58]Read from MH i2c: E2 [10:17:58]MH_I2C_Read... [10:17:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:17:58]Read from MH i2c: E2 0E 00 [10:17:58]MH_I2C_Read... [10:17:58]Read from MH i2c: E2 0E 00 C6 03 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 90 [10:17:58]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [10:17:58]wFMCommunicate OK [10:17:58]SAM_PROTO_GetShiftState done [10:17:58]FM_GetShiftState done [10:17:58]req_shift_opened done [10:17:58]requested_item shift.open_date is exist - process it [10:17:58]req_shift_open_date [10:17:58]req_shift_open_date done [10:17:58]produce_requested_data done [10:17:58]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24317,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [10:17:58]process_action_free close_receipt [10:17:58]json_value_free [10:17:58]json_value_free done [10:17:58]process_json_proto returns [10:17:58]Send response to host [10:17:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24317,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [10:17:58]free response buf [10:17:58]execute_script done [10:17:58]execute_script returns [10:17:58]free content buf [10:17:58]Sock 8.Close socket [10:17:58]Sock 8.Thread stoped [10:17:58]OFD Sender: No OFD packet to send [10:18:03]OFD Sender: No OFD packet to send [10:18:08]OFD Sender: No OFD packet to send [10:18:13]OFD Sender: No OFD packet to send [10:18:18]OFD Sender: No OFD packet to send [10:18:23]OFD Sender: No OFD packet to send [10:18:28]OFD Sender: No OFD packet to send [10:18:33]OFD Sender: No OFD packet to send [10:18:38]OFD Sender: No OFD packet to send [10:18:43]OFD Sender: No OFD packet to send [10:18:48]OFD Sender: No OFD packet to send [10:18:53]OFD Sender: No OFD packet to send [10:18:58]OFD Sender: No OFD packet to send [10:19:03]OFD Sender: No OFD packet to send [10:19:08]OFD Sender: No OFD packet to send [10:19:13]OFD Sender: No OFD packet to send [10:19:18]OFD Sender: No OFD packet to send [10:19:23]OFD Sender: No OFD packet to send [10:19:28]OFD Sender: No OFD packet to send [10:19:33]OFD Sender: No OFD packet to send [10:19:38]OFD Sender: No OFD packet to send [10:19:43]OFD Sender: No OFD packet to send [10:19:48]OFD Sender: No OFD packet to send [10:19:53]OFD Sender: No OFD packet to send [10:19:58]OFD Sender: No OFD packet to send [10:20:03]OFD Sender: No OFD packet to send [10:20:08]OFD Sender: No OFD packet to send [10:20:13]OFD Sender: No OFD packet to send [10:20:18]OFD Sender: No OFD packet to send [10:20:23]OFD Sender: No OFD packet to send [10:20:28]OFD Sender: No OFD packet to send [10:20:33]OFD Sender: No OFD packet to send [10:20:38]OFD Sender: No OFD packet to send [10:20:43]OFD Sender: No OFD packet to send [10:20:48]OFD Sender: No OFD packet to send [10:20:53]OFD Sender: No OFD packet to send [10:20:58]OFD Sender: No OFD packet to send [10:21:03]OFD Sender: No OFD packet to send [10:21:08]OFD Sender: No OFD packet to send [10:21:13]OFD Sender: No OFD packet to send [10:21:18]OFD Sender: No OFD packet to send [10:21:23]OFD Sender: No OFD packet to send [10:21:28]OFD Sender: No OFD packet to send [10:21:33]OFD Sender: No OFD packet to send [10:21:38]OFD Sender: No OFD packet to send [10:21:43]OFD Sender: No OFD packet to send [10:21:48]OFD Sender: No OFD packet to send [10:21:53]OFD Sender: No OFD packet to send [10:21:58]OFD Sender: No OFD packet to send [10:22:03]OFD Sender: No OFD packet to send [10:22:08]OFD Sender: No OFD packet to send [10:22:13]OFD Sender: No OFD packet to send [10:22:19]OFD Sender: No OFD packet to send [10:22:24]OFD Sender: No OFD packet to send [10:22:29]OFD Sender: No OFD packet to send [10:22:34]OFD Sender: No OFD packet to send [10:22:39]OFD Sender: No OFD packet to send [10:22:44]OFD Sender: No OFD packet to send [10:22:49]OFD Sender: No OFD packet to send [10:22:54]OFD Sender: No OFD packet to send [10:22:59]OFD Sender: No OFD packet to send [10:23:04]OFD Sender: No OFD packet to send [10:23:09]OFD Sender: No OFD packet to send [10:23:14]OFD Sender: No OFD packet to send [10:23:19]OFD Sender: No OFD packet to send [10:23:24]OFD Sender: No OFD packet to send [10:23:29]OFD Sender: No OFD packet to send [10:23:34]OFD Sender: No OFD packet to send [10:23:39]OFD Sender: No OFD packet to send [10:23:44]OFD Sender: No OFD packet to send [10:23:49]OFD Sender: No OFD packet to send [10:23:54]OFD Sender: No OFD packet to send [10:23:59]OFD Sender: No OFD packet to send [10:24:04]OFD Sender: No OFD packet to send [10:24:09]OFD Sender: No OFD packet to send [10:24:14]OFD Sender: No OFD packet to send [10:24:19]OFD Sender: No OFD packet to send [10:24:24]OFD Sender: No OFD packet to send [10:24:29]OFD Sender: No OFD packet to send [10:24:34]OFD Sender: No OFD packet to send [10:24:39]OFD Sender: No OFD packet to send [10:24:44]OFD Sender: No OFD packet to send [10:24:49]OFD Sender: No OFD packet to send [10:24:54]OFD Sender: No OFD packet to send [10:24:59]OFD Sender: No OFD packet to send [10:25:04]OFD Sender: No OFD packet to send [10:25:09]OFD Sender: No OFD packet to send [10:25:14]OFD Sender: No OFD packet to send [10:25:19]OFD Sender: No OFD packet to send [10:25:24]OFD Sender: No OFD packet to send [10:25:29]OFD Sender: No OFD packet to send [10:25:34]OFD Sender: No OFD packet to send [10:25:39]OFD Sender: No OFD packet to send [10:25:44]OFD Sender: No OFD packet to send [10:25:49]OFD Sender: No OFD packet to send [10:25:54]OFD Sender: No OFD packet to send [10:25:59]OFD Sender: No OFD packet to send [10:26:04]OFD Sender: No OFD packet to send [10:26:09]OFD Sender: No OFD packet to send [10:26:14]OFD Sender: No OFD packet to send [10:26:19]OFD Sender: No OFD packet to send [10:26:24]OFD Sender: No OFD packet to send [10:26:29]OFD Sender: No OFD packet to send [10:26:34]OFD Sender: No OFD packet to send [10:26:39]OFD Sender: No OFD packet to send [10:26:44]OFD Sender: No OFD packet to send [10:26:49]OFD Sender: No OFD packet to send [10:26:54]OFD Sender: No OFD packet to send [10:26:59]OFD Sender: No OFD packet to send [10:27:04]OFD Sender: No OFD packet to send [10:27:09]OFD Sender: No OFD packet to send [10:27:14]OFD Sender: No OFD packet to send [10:27:19]OFD Sender: No OFD packet to send [10:27:24]OFD Sender: No OFD packet to send [10:27:29]OFD Sender: No OFD packet to send [10:27:34]OFD Sender: No OFD packet to send [10:27:39]OFD Sender: No OFD packet to send [10:27:44]OFD Sender: No OFD packet to send [10:27:49]OFD Sender: No OFD packet to send [10:27:54]OFD Sender: No OFD packet to send [10:27:59]OFD Sender: No OFD packet to send [10:28:04]OFD Sender: No OFD packet to send [10:28:09]OFD Sender: No OFD packet to send [10:28:14]OFD Sender: No OFD packet to send [10:28:19]OFD Sender: No OFD packet to send [10:28:24]OFD Sender: No OFD packet to send [10:28:29]OFD Sender: No OFD packet to send [10:28:34]OFD Sender: No OFD packet to send [10:28:39]OFD Sender: No OFD packet to send [10:28:44]OFD Sender: No OFD packet to send [10:28:49]OFD Sender: No OFD packet to send [10:28:54]OFD Sender: No OFD packet to send [10:28:59]OFD Sender: No OFD packet to send [10:29:04]OFD Sender: No OFD packet to send [10:29:09]OFD Sender: No OFD packet to send [10:29:14]OFD Sender: No OFD packet to send [10:29:19]OFD Sender: No OFD packet to send [10:29:24]OFD Sender: No OFD packet to send [10:29:29]OFD Sender: No OFD packet to send [10:29:34]OFD Sender: No OFD packet to send [10:29:39]OFD Sender: No OFD packet to send [10:29:44]OFD Sender: No OFD packet to send [10:29:49]OFD Sender: No OFD packet to send [10:29:54]OFD Sender: No OFD packet to send [10:29:55]accept exits with 9 [10:29:55]New connection [10:29:55]New thread 3066940772 created [10:29:55]Thread 3067084132 joined [10:29:55]Waiting for new connection... [10:29:55] Sock 9.Parse request [10:29:55]Sock 9.Check first char [10:29:55]Sock 9.First char is OK [10:29:55]request: POST /json_proto HTTP/1.0 [10:29:55]Method: POST [10:29:55]URL: /json_proto [10:29:55]Method is POST - this is cgi request [10:29:55]url: /json_proto [10:29:55]query_string will be loaded in cgi processing [10:29:55]execute_cgi json_proto POST (null) [10:29:55]execute_cgi path=json_proto method=POST [10:29:55]POST find Content-Length [10:29:55]Host: 172.17.50.4:8080 [10:29:55]Content-Length: 621 [10:29:55]Content-Type: application/json [10:29:55] [10:29:55]POST finish read [10:29:55]Found Content-Length = 621 [10:29:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134840", "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:29:55]execute_script... [10:29: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)134840", "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:29:55]POST & json_proto [10:29:55]process_json_proto [10:29:55]json parsed OK: [10:29:55]protocol is kg_v1.0 [10:29:55]action value=close_receipt [10:29:55]process_action close_receipt [10:29:55]cmd_close_receipt [10:29:55]MH_GetDate [10:29:55]Write to MH i2c: F0 00 00 C7 03 B9 [10:29:55]Write i2c OK [10:29:55]MH_I2C_Read... [10:29:55]Read from MH i2c: F0 [10:29:55]MH_I2C_Read... [10:29:55]Read from MH i2c: F0 09 00 [10:29:55]MH_I2C_Read... [10:29:55]Read from MH i2c: F0 09 00 C7 03 00 25 2D 16 67 3B 12 16 67 5B [10:29:55]GetLastDocTimeStamp 1729505877 [10:29:55]current date 1729506597 [10:29:55]FM_GetShiftState [10:29:55]SAM_PROTO_GetShiftState [10:29:55]wFMCommunicate request_size=4 [10:29:55]MH_SAM_APDU [10:29:55]CAPDU: 80 13 01 00 [10:29:55]Write to MH i2c: E2 08 00 C8 03 80 13 01 00 00 00 00 00 48 [10:29:55]Write i2c OK [10:29:55]MH_I2C_Read... [10:29:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:29:55]Read from MH i2c: E2 [10:29:55]MH_I2C_Read... [10:29:55]Read from MH i2c: E2 0E 00 [10:29:55]MH_I2C_Read... [10:29:55]Read from MH i2c: E2 0E 00 C8 03 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 92 [10:29:55]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [10:29:55]wFMCommunicate OK [10:29:55]SAM_PROTO_GetShiftState done [10:29:55]FM_GetShiftState done [10:29:55]opened in 1729469223 [10:29:55]opened+sec_in_day 1729555623 [10:29:55]quantity*price = 14400 [10:29:55]sum+1 = 14401 [10:29:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 22 21.10.2024 10:29 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24318 ФПД: 12407036103007 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T102957&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24318&fm=12407036103007&tin=02508201610067®Number=0000000000098120&sum=14400 0 [10:29:57]StoreToDocumentArchive [10:29:57]shift 461 fd 24318 [10:29:57]save to /storage/0461/doc_00024318 [10:29:57]save last doc name /storage/0461/doc_00024318 to /storage/kkm_last_doc_name [10:29:57]save OK [10:29:57]Clear old archive folders... [10:29:57]ProcessDocumentItem done err = 0, tmpTLVsize=273 [10:29:57]tlvbuf is 0033F3A0 [10:29:57]SAM_PROTO_ClearQueue [10:29:57]wFMCommunicate request_size=4 [10:29:57]MH_SAM_APDU [10:29:57]CAPDU: 80 09 00 00 [10:29:57]Write to MH i2c: E2 08 00 D5 03 80 09 00 00 00 00 00 00 4A [10:29:57]Write i2c OK [10:29:57]MH_I2C_Read... [10:29:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:29:57]Read from MH i2c: E2 [10:29:57]MH_I2C_Read... [10:29:57]Read from MH i2c: E2 03 00 [10:29:57]MH_I2C_Read... [10:29:57]Read from MH i2c: E2 03 00 D5 03 00 90 00 4C [10:29:57]RAPDU: 90 00 [10:29:57]wFMCommunicate OK [10:29:57]SAM_PROTO_ClearQueue done [10:29:57]KKMCreateOFDPacket [10:29:57]OFDProtocolAddRootSTLVToBuf [10:29:57]FM_MakeSignedData [10:29:57]FM_MakeSignedData [10:29:57]SAM_PROTO_SignData [10:29:57]wFMCommunicate request_size=4 [10:29:57]MH_SAM_APDU [10:29:57]CAPDU: 80 0D 01 02 [10:29:57]Write to MH i2c: E2 08 00 D6 03 80 0D 01 02 00 00 00 00 52 [10:29:57]Write i2c OK [10:29:57]MH_I2C_Read... [10:29:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:29:57]Read from MH i2c: E2 [10:29:57]MH_I2C_Read... [10:29:57]Read from MH i2c: E2 03 00 [10:29:57]MH_I2C_Read... [10:29:57]Read from MH i2c: E2 03 00 D6 03 00 90 00 4D [10:29:57]RAPDU: 90 00 [10:29:57]wFMCommunicate OK [10:29:57]wFMCommunicate request_size=255 [10:29:57]MH_SAM_APDU [10:29:57]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 16 00 00 00 F4 03 04 00 25 2D 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 [10:29:57]Write to MH i2c: E2 02 01 D7 03 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 16 00 00 00 F4 03 04 00 25 2D 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 00 00 6A [10:29:57]Write i2c OK [10:29:57]MH_I2C_Read... [10:29:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:29:57]Read from MH i2c: E2 [10:29:57]MH_I2C_Read... [10:29:57]Read from MH i2c: E2 03 00 [10:29:57]MH_I2C_Read... [10:29:57]Read from MH i2c: E2 03 00 D7 03 00 90 00 4E [10:29:57]RAPDU: 90 00 [10:29:57]wFMCommunicate OK [10:29:57]wFMCommunicate request_size=32 [10:29:57]MH_SAM_APDU [10:29:57]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 34 32 30 10 04 04 00 FE 5E 00 00 35 04 06 00 0B 48 BC FA C9 5F [10:29:57]Write to MH i2c: E2 23 00 D8 03 80 0D 02 02 1B 00 30 30 30 39 36 35 34 32 30 10 04 04 00 FE 5E 00 00 35 04 06 00 0B 48 BC FA C9 5F 00 00 39 [10:29:57]Write i2c OK [10:29:57]MH_I2C_Read... [10:29:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:29:57]Read from MH i2c: E2 [10:29:57]MH_I2C_Read... [10:29:57]Read from MH i2c: E2 03 00 [10:29:57]MH_I2C_Read... [10:29:57]Read from MH i2c: E2 03 00 D8 03 00 90 00 4F [10:29:57]RAPDU: 90 00 [10:29:57]wFMCommunicate OK [10:29:57]wFMCommunicate request_size=4 [10:29:57]MH_SAM_APDU [10:29:57]CAPDU: 80 0D 03 02 [10:29:57]Write to MH i2c: E2 08 00 D9 03 80 0D 03 02 00 00 00 00 57 [10:29:57]Write i2c OK [10:29:57]MH_I2C_Read... [10:29:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:29:57]Read from MH i2c: E2 [10:29:57]MH_I2C_Read... [10:29:57]Read from MH i2c: E2 0B 00 [10:29:57]MH_I2C_Read... [10:29:57]Read from MH i2c: E2 0B 00 D9 03 00 A5 61 38 E5 86 9B 50 84 90 00 70 [10:29:57]RAPDU: A5 61 38 E5 86 9B 50 84 90 00 [10:29:57]wFMCommunicate OK [10:29:57]SAM_PROTO_SignData done [10:29:57]FM_MakeSignedData done [10:29:57]CreateOFDProtocolMessage [10:29:57]wFMCommunicate request_size=4 [10:29:57]MH_SAM_APDU [10:29:57]CAPDU: 80 11 00 00 [10:29:57]Write to MH i2c: E2 08 00 DA 03 80 11 00 00 00 00 00 00 57 [10:29:57]Write i2c OK [10:29:57]MH_I2C_Read... [10:29:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:29:57]Read from MH i2c: E2 [10:29:57]MH_I2C_Read... [10:29:57]Read from MH i2c: E2 17 00 [10:29:57]MH_I2C_Read... [10:29:57]Read from MH i2c: E2 17 00 DA 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 A4 [10:29:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [10:29:57]wFMCommunicate OK [10:29:57]CreateOFDProtocolMessage done [10:29:57]OFDSenderStorePacket 24318 [10:29:57]StoreOFDPacket docnum=24318 [10:29:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 25 01 00 00 6E 11 1D 01 61 22 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 16 00 00 00 F4 03 04 00 25 2D 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 FE 5E 00 00 35 04 06 00 0B 48 BC FA C9 5F A5 61 38 E5 86 9B 50 84 [10:29:57]CheckFolder [10:29:57]dirname=/storage/ofd_packets [10:29:57]CheckFolder done [10:29:57]ProducePacketName [10:29:57]name=ofd_packets/00024318 [10:29:57]NVStorageSaveData ofd_packets/00024318 [10:29:57]File name is /storage/ofd_packets/00024318 [10:29:57]Write 323 bytes [10:29:57]NVStorageSaveData done [10:29:57]OFDSenderStorePacket done [10:29:57]KKMCreateOFDPacket done [10:29:57]NVStorageSaveData kkm_last_timestamp [10:29:57]File name is /storage/kkm_last_timestamp [10:29:57]Write 4 bytes [10:29:57]NVStorageSaveData done [10:29:57]ExternCall_PrintAddStr [10:29:57]wPrintStart [10:29:57]Write to MH i2c: 01 00 00 DB 03 DE [10:29:57]Write i2c OK [10:29:57]MH_I2C_Read... [10:29:57]Read from MH i2c: 01 [10:29:57]MH_I2C_Read... [10:29:57]Read from MH i2c: 01 07 00 [10:29:57]MH_I2C_Read... [10:29:57]Read from MH i2c: 01 07 00 DB 03 00 00 00 00 00 FF 0F F3 [10:29:57]RasterBufferAndPrint [10:29:57]line Счет N : (3)134840 [10:29:57]line ИНН: 02508201610067 [10:29:57]line Контрольно-Кассовый Чек [10:29:57]line ПРОДАЖА [10:29:57]line Товар: 48743570 [10:29:57]line Сигареты Winston XStyle Blue [10:29:57]line 1.000 * 144.00 [10:29:57]line = 144.00 [10:29:57]line НДС 12% НСП 1% [10:29:57]line > о реализуемом товаре [10:29:57]line ИТОГО: 144.00 [10:29:57]line НСП 1% : 1.27 [10:29:57]line НДС 12% : 15.29 [10:29:57]line Наличными: 144.00 [10:29:57]line Безнал.: 0.00 [10:29:57]line Место: АЗС № 85 "Партнер Нефть" [10:29:57]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [10:29:57]line СНО: Общий режим [10:29:57]line Чек 22 21.10.2024 10:29 [10:29:57]line Смена: 461 ФФД: 1.0 [10:29:57]line ЗНМ: 0300000166 [10:29:57]line РНМ: 0000000000098120 [10:29:57]line Версия ККМ: 001 [10:29:57]line ФМ: 0000000000965420 [10:29:57]line ФД: 24318 [10:29:57]line ФПД: 12407036103007 [10:29:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T102957&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24318&fm=12407036103007&tin=02508201610067®Number=0000000000098120&sum=14400 [10:29:57]line 0 [10:29:57]OFD Sender: Processing packet 24318 [packets to send 5, broken 4] [10:29:57]ProducePacketName [10:29:57]name=ofd_packets/00024318 [10:29:57]OFD Sender: To server: pG, [10:29:57]CommunicateWithHost lk.salyk.kg:30040 [10:29:57]ConnectInit lk.salyk.kg [10:29:57]written 0, free lines is 4095 [10:29:58]Connected sock=11 [10:29: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 34 32 30 25 01 00 00 6E 11 1D 01 61 22 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 16 00 00 00 F4 03 04 00 25 2D 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 FE 5E 00 00 35 04 06 00 0B 48 BC FA C9 5F A5 61 38 E5 86 9B 50 84 [10:29:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 55 C9 47 00 62 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 34 32 30 10 04 04 00 FE 5E 00 00 F4 03 04 00 CB D8 15 67 B6 04 01 00 00 05 15 AA B9 19 C9 22 92 [10:29:58]CommunicateWithHost err = 0 [10:29:58]CheckOFDResponse [10:29:58]1017 (14) - 77093643461234 [10:29:58]1041 (16) - 0000000000965420 [10:29:58]1040 (4) - 24318 [10:29:58]1012 (4) - 21.10.2024 04:30 [10:29:58]1206 (1) - 0 [10:29:58]OFD Sender: Remove packet 24318 [10:29:58]ProducePacketName [10:29:58]name=ofd_packets/00024318 [10:29:58]NVStorageDeleteData [10:29:58]Write to MH i2c: 01 00 00 03 04 07 [10:29:58]Write i2c OK [10:29:58]MH_I2C_Read... [10:29:58]Read from MH i2c: 01 [10:29:58]MH_I2C_Read... [10:29:58]Read from MH i2c: 01 07 00 [10:29:58]MH_I2C_Read... [10:29:58]Read from MH i2c: 01 07 00 03 04 00 00 00 00 00 11 0D 2C [10:29:58]RasterBufferAndPrint [10:29:58]line [10:29:58]line [10:29:58]line [10:29:58]line [10:29:58]line [10:29:58]written 0, free lines is 3351 [10:29:58]process_action close_receipt done [10:29:58]requested_data is exist [10:29:58]produce_requested_data [10:29:58]requested_item fm.sn is exist - process it [10:29:58]wFMCommunicate request_size=4 [10:29:58]MH_SAM_APDU [10:29:58]CAPDU: 80 11 00 00 [10:29:58]Write to MH i2c: E2 08 00 0A 04 80 11 00 00 00 00 00 00 88 [10:29:58]Write i2c OK [10:29:58]MH_I2C_Read... [10:29:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:29:58]Read from MH i2c: E2 [10:29:58]MH_I2C_Read... [10:29:58]Read from MH i2c: E2 17 00 [10:29:58]MH_I2C_Read... [10:29:58]Read from MH i2c: E2 17 00 0A 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 D5 [10:29:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [10:29:58]wFMCommunicate OK [10:29:58]requested_item fd.num is exist - process it [10:29:58]SAM_PROTO_GetFieldsCounters [10:29:58]wFMCommunicate request_size=4 [10:29:58]MH_SAM_APDU [10:29:58]CAPDU: 80 13 00 00 [10:29:58]Write to MH i2c: E2 08 00 0B 04 80 13 00 00 00 00 00 00 8B [10:29:58]Write i2c OK [10:29:58]MH_I2C_Read... [10:29:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:29:58]Read from MH i2c: E2 [10:29:58]MH_I2C_Read... [10:29:58]Read from MH i2c: E2 62 00 [10:29:58]MH_I2C_Read... [10:29:58]Read from MH i2c: E2 62 00 0B 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 FE 5E 00 00 0E 04 04 00 CD 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 0D [10:29: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 FE 5E 00 00 0E 04 04 00 CD 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 [10:29:58]wFMCommunicate OK [10:29:58]SAM_PROTO_GetFieldsCounters done [10:29:58]requested_item shift.num is exist - process it [10:29:58]requested_item shift.opened is exist - process it [10:29:58]req_shift_opened [10:29:58]FM_GetShiftState [10:29:58]SAM_PROTO_GetShiftState [10:29:58]wFMCommunicate request_size=4 [10:29:58]MH_SAM_APDU [10:29:58]CAPDU: 80 13 01 00 [10:29:58]Write to MH i2c: E2 08 00 0C 04 80 13 01 00 00 00 00 00 8D [10:29:58]Write i2c OK [10:29:58]MH_I2C_Read... [10:29:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:29:58]Read from MH i2c: E2 [10:29:58]MH_I2C_Read... [10:29:58]Read from MH i2c: E2 0E 00 [10:29:58]MH_I2C_Read... [10:29:58]Read from MH i2c: E2 0E 00 0C 04 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 D7 [10:29:58]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [10:29:58]wFMCommunicate OK [10:29:58]SAM_PROTO_GetShiftState done [10:29:58]FM_GetShiftState done [10:29:58]req_shift_opened done [10:29:58]requested_item shift.open_date is exist - process it [10:29:58]req_shift_open_date [10:29:58]req_shift_open_date done [10:29:58]produce_requested_data done [10:29:58]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24318,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [10:29:58]process_action_free close_receipt [10:29:58]json_value_free [10:29:58]json_value_free done [10:29:58]process_json_proto returns [10:29:58]Send response to host [10:29:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24318,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [10:29:58]free response buf [10:29:58]execute_script done [10:29:58]execute_script returns [10:29:58]free content buf [10:29:58]Sock 9.Close socket [10:29:58]Sock 9.Thread stoped [10:29:58]OFD Sender: No OFD packet to send [10:30:03]OFD Sender: No OFD packet to send [10:30:08]OFD Sender: No OFD packet to send [10:30:13]OFD Sender: No OFD packet to send [10:30:18]OFD Sender: No OFD packet to send [10:30:23]OFD Sender: No OFD packet to send [10:30:28]OFD Sender: No OFD packet to send [10:30:33]OFD Sender: No OFD packet to send [10:30:38]OFD Sender: No OFD packet to send [10:30:43]OFD Sender: No OFD packet to send [10:30:48]OFD Sender: No OFD packet to send [10:30:53]OFD Sender: No OFD packet to send [10:30:58]OFD Sender: No OFD packet to send [10:31:03]OFD Sender: No OFD packet to send [10:31:08]OFD Sender: No OFD packet to send [10:31:13]OFD Sender: No OFD packet to send [10:31:18]OFD Sender: No OFD packet to send [10:31:23]OFD Sender: No OFD packet to send [10:31:28]OFD Sender: No OFD packet to send [10:31:33]OFD Sender: No OFD packet to send [10:31:38]OFD Sender: No OFD packet to send [10:31:43]OFD Sender: No OFD packet to send [10:31:48]OFD Sender: No OFD packet to send [10:31:53]OFD Sender: No OFD packet to send [10:31:58]OFD Sender: No OFD packet to send [10:32:03]OFD Sender: No OFD packet to send [10:32:08]OFD Sender: No OFD packet to send [10:32:13]OFD Sender: No OFD packet to send [10:32:18]OFD Sender: No OFD packet to send [10:32:23]OFD Sender: No OFD packet to send [10:32:28]OFD Sender: No OFD packet to send [10:32:33]OFD Sender: No OFD packet to send [10:32:38]OFD Sender: No OFD packet to send [10:32:43]OFD Sender: No OFD packet to send [10:32:48]OFD Sender: No OFD packet to send [10:32:53]OFD Sender: No OFD packet to send [10:32:58]OFD Sender: No OFD packet to send [10:33:03]OFD Sender: No OFD packet to send [10:33:08]OFD Sender: No OFD packet to send [10:33:13]OFD Sender: No OFD packet to send [10:33:18]OFD Sender: No OFD packet to send [10:33:23]OFD Sender: No OFD packet to send [10:33:28]OFD Sender: No OFD packet to send [10:33:33]OFD Sender: No OFD packet to send [10:33:38]OFD Sender: No OFD packet to send [10:33:43]OFD Sender: No OFD packet to send [10:33:48]OFD Sender: No OFD packet to send [10:33:53]OFD Sender: No OFD packet to send [10:33:58]OFD Sender: No OFD packet to send [10:34:03]OFD Sender: No OFD packet to send [10:34:08]OFD Sender: No OFD packet to send [10:34:13]OFD Sender: No OFD packet to send [10:34:18]OFD Sender: No OFD packet to send [10:34:23]OFD Sender: No OFD packet to send [10:34:28]OFD Sender: No OFD packet to send [10:34:33]OFD Sender: No OFD packet to send [10:34:38]OFD Sender: No OFD packet to send [10:34:43]OFD Sender: No OFD packet to send [10:34:48]OFD Sender: No OFD packet to send [10:34:53]OFD Sender: No OFD packet to send [10:34:58]OFD Sender: No OFD packet to send [10:35:03]OFD Sender: No OFD packet to send [10:35:08]OFD Sender: No OFD packet to send [10:35:13]OFD Sender: No OFD packet to send [10:35:18]OFD Sender: No OFD packet to send [10:35:23]OFD Sender: No OFD packet to send [10:35:28]OFD Sender: No OFD packet to send [10:35:33]OFD Sender: No OFD packet to send [10:35:38]OFD Sender: No OFD packet to send [10:35:43]OFD Sender: No OFD packet to send [10:35:48]OFD Sender: No OFD packet to send [10:35:53]OFD Sender: No OFD packet to send [10:35:58]OFD Sender: No OFD packet to send [10:36:04]OFD Sender: No OFD packet to send [10:36:09]OFD Sender: No OFD packet to send [10:36:14]OFD Sender: No OFD packet to send [10:36:19]OFD Sender: No OFD packet to send [10:36:24]OFD Sender: No OFD packet to send [10:36:29]OFD Sender: No OFD packet to send [10:36:34]OFD Sender: No OFD packet to send [10:36:39]OFD Sender: No OFD packet to send [10:36:44]OFD Sender: No OFD packet to send [10:36:49]OFD Sender: No OFD packet to send [10:36:54]OFD Sender: No OFD packet to send [10:36:59]OFD Sender: No OFD packet to send [10:37:04]OFD Sender: No OFD packet to send [10:37:09]OFD Sender: No OFD packet to send [10:37:14]OFD Sender: No OFD packet to send [10:37:19]OFD Sender: No OFD packet to send [10:37:24]OFD Sender: No OFD packet to send [10:37:29]OFD Sender: No OFD packet to send [10:37:34]OFD Sender: No OFD packet to send [10:37:39]OFD Sender: No OFD packet to send [10:37:44]OFD Sender: No OFD packet to send [10:37:49]OFD Sender: No OFD packet to send [10:37:54]OFD Sender: No OFD packet to send [10:37:59]OFD Sender: No OFD packet to send [10:38:04]OFD Sender: No OFD packet to send [10:38:09]OFD Sender: No OFD packet to send [10:38:14]OFD Sender: No OFD packet to send [10:38:16]accept exits with 8 [10:38:16]New connection [10:38:16]New thread 3067084132 created [10:38:16]Thread 3066940772 joined [10:38:16]Waiting for new connection... [10:38:16] Sock 8.Parse request [10:38:16]Sock 8.Check first char [10:38:16]Sock 8.First char is OK [10:38:16]request: POST /json_proto HTTP/1.0 [10:38:16]Method: POST [10:38:16]URL: /json_proto [10:38:16]Method is POST - this is cgi request [10:38:16]url: /json_proto [10:38:16]query_string will be loaded in cgi processing [10:38:16]execute_cgi json_proto POST (null) [10:38:16]execute_cgi path=json_proto method=POST [10:38:16]POST find Content-Length [10:38:16]Host: 172.17.50.4:8080 [10:38:16]Content-Length: 1438 [10:38:16]Content-Type: application/json [10:38:16] [10:38:16]POST finish read [10:38:16]Found Content-Length = 1438 [10:38:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134841", "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 }]} ,{ "code": "4700000310036", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 0,5\u043B", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290004879", "name": "\u041F\u0435\u0447.\u0441\u0430\u0445.FORSITE \u0421\u044D\u043D\u0434.\u043A\u043E\u043A\u043E\u0441.\u0432\u043A", "price" : 93.00, "quantity" : 1.000, "sum" : 93.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 296.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:38:16]execute_script... [10:38: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)134841", "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 }]} ,{ "code": "4700000310036", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 0,5\u043B", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290004879", "name": "\u041F\u0435\u0447.\u0441\u0430\u0445.FORSITE \u0421\u044D\u043D\u0434.\u043A\u043E\u043A\u043E\u0441.\u0432\u043A", "price" : 93.00, "quantity" : 1.000, "sum" : 93.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 296.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:38:16]POST & json_proto [10:38:16]process_json_proto [10:38:16]json parsed OK: [10:38:16]protocol is kg_v1.0 [10:38:16]action value=close_receipt [10:38:16]process_action close_receipt [10:38:16]cmd_close_receipt [10:38:16]MH_GetDate [10:38:16]Write to MH i2c: F0 00 00 0D 04 00 [10:38:16]Write i2c OK [10:38:16]MH_I2C_Read... [10:38:16]Read from MH i2c: F0 [10:38:16]MH_I2C_Read... [10:38:16]Read from MH i2c: F0 09 00 [10:38:16]MH_I2C_Read... [10:38:16]Read from MH i2c: F0 09 00 0D 04 00 19 2F 16 67 3B 12 16 67 98 [10:38:16]GetLastDocTimeStamp 1729506597 [10:38:16]current date 1729507097 [10:38:16]FM_GetShiftState [10:38:16]SAM_PROTO_GetShiftState [10:38:16]wFMCommunicate request_size=4 [10:38:16]MH_SAM_APDU [10:38:16]CAPDU: 80 13 01 00 [10:38:16]Write to MH i2c: E2 08 00 0E 04 80 13 01 00 00 00 00 00 8F [10:38:16]Write i2c OK [10:38:16]MH_I2C_Read... [10:38:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:38:16]Read from MH i2c: E2 [10:38:16]MH_I2C_Read... [10:38:16]Read from MH i2c: E2 0E 00 [10:38:16]MH_I2C_Read... [10:38:16]Read from MH i2c: E2 0E 00 0E 04 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 D9 [10:38:16]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [10:38:16]wFMCommunicate OK [10:38:16]SAM_PROTO_GetShiftState done [10:38:16]FM_GetShiftState done [10:38:16]opened in 1729469223 [10:38:16]opened+sec_in_day 1729555623 [10:38:16]quantity*price = 11900 [10:38:16]sum+1 = 11901 [10:38:16]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000310036 Вода Жалалабат 27 0,5л 2.000 * 40.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4603290004879 Печ.сах.FORSITE Сэнд.кокос.вк 1.000 * 93.00 = 93.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000031750019 Пакет Партнер Нефть 1.000 * 4.00 = 4.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 296.00 НСП 1% : 2.61 НДС 12% : 31.44 Наличными: 296.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 23 21.10.2024 10:38 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24319 ФПД: 262643054670893 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T103818&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24319&fm=262643054670893&tin=02508201610067®Number=0000000000098120&sum=29600 0 [10:38:18]StoreToDocumentArchive [10:38:18]shift 461 fd 24319 [10:38:18]save to /storage/0461/doc_00024319 [10:38:18]save last doc name /storage/0461/doc_00024319 to /storage/kkm_last_doc_name [10:38:18]save OK [10:38:18]Clear old archive folders... [10:38:18]ProcessDocumentItem done err = 0, tmpTLVsize=600 [10:38:18]tlvbuf is 0033F000 [10:38:18]SAM_PROTO_ClearQueue [10:38:18]wFMCommunicate request_size=4 [10:38:18]MH_SAM_APDU [10:38:18]CAPDU: 80 09 00 00 [10:38:18]Write to MH i2c: E2 08 00 1B 04 80 09 00 00 00 00 00 00 91 [10:38:18]Write i2c OK [10:38:18]MH_I2C_Read... [10:38:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:38:18]Read from MH i2c: E2 [10:38:18]MH_I2C_Read... [10:38:18]Read from MH i2c: E2 03 00 [10:38:18]MH_I2C_Read... [10:38:18]Read from MH i2c: E2 03 00 1B 04 00 90 00 93 [10:38:18]RAPDU: 90 00 [10:38:18]wFMCommunicate OK [10:38:18]SAM_PROTO_ClearQueue done [10:38:18]KKMCreateOFDPacket [10:38:18]OFDProtocolAddRootSTLVToBuf [10:38:18]FM_MakeSignedData [10:38:18]FM_MakeSignedData [10:38:18]SAM_PROTO_SignData [10:38:18]wFMCommunicate request_size=4 [10:38:18]MH_SAM_APDU [10:38:18]CAPDU: 80 0D 01 02 [10:38:18]Write to MH i2c: E2 08 00 1C 04 80 0D 01 02 00 00 00 00 99 [10:38:18]Write i2c OK [10:38:18]MH_I2C_Read... [10:38:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:38:18]Read from MH i2c: E2 [10:38:18]MH_I2C_Read... [10:38:18]Read from MH i2c: E2 03 00 [10:38:18]MH_I2C_Read... [10:38:18]Read from MH i2c: E2 03 00 1C 04 00 90 00 94 [10:38:18]RAPDU: 90 00 [10:38:18]wFMCommunicate OK [10:38:18]wFMCommunicate request_size=255 [10:38:18]MH_SAM_APDU [10:38:18]CAPDU: 80 0D 02 02 FA 03 00 58 02 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 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 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 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 37 39 06 04 2E 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 [10:38:18]Write to MH i2c: E2 02 01 1D 04 80 0D 02 02 FA 00 03 00 58 02 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 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 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 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 37 39 06 04 2E 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 00 00 ED [10:38:18]Write i2c OK [10:38:18]MH_I2C_Read... [10:38:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:38:18]Read from MH i2c: E2 [10:38:18]MH_I2C_Read... [10:38:18]Read from MH i2c: E2 03 00 [10:38:18]MH_I2C_Read... [10:38:18]Read from MH i2c: E2 03 00 1D 04 00 90 00 95 [10:38:18]RAPDU: 90 00 [10:38:18]wFMCommunicate OK [10:38:18]wFMCommunicate request_size=255 [10:38:18]MH_SAM_APDU [10:38:18]CAPDU: 80 0D 02 02 FA 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D0 BA D0 BE D0 BA D0 BE D1 81 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 0C 00 00 00 00 07 04 06 00 A0 73 00 00 00 [10:38:18]Write to MH i2c: E2 02 01 1E 04 80 0D 02 02 FA 00 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D0 BA D0 BE D0 BA D0 BE D1 81 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 0C 00 00 00 00 07 04 06 00 A0 73 00 00 00 00 00 6B [10:38:18]Write i2c OK [10:38:18]MH_I2C_Read... [10:38:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:38:18]Read from MH i2c: E2 [10:38:18]MH_I2C_Read... [10:38:18]Read from MH i2c: E2 03 00 [10:38:18]MH_I2C_Read... [10:38:18]Read from MH i2c: E2 03 00 1E 04 00 90 00 96 [10:38:18]RAPDU: 90 00 [10:38:18]wFMCommunicate OK [10:38:18]wFMCommunicate request_size=109 [10:38:18]MH_SAM_APDU [10:38:18]CAPDU: 80 0D 02 02 68 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 1A 2F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 FF 5E 00 00 35 04 06 00 EE DF 59 F9 F4 2D [10:38:18]Write to MH i2c: E2 70 00 1F 04 80 0D 02 02 68 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 1A 2F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 FF 5E 00 00 35 04 06 00 EE DF 59 F9 F4 2D 00 00 D3 [10:38:18]Write i2c OK [10:38:18]MH_I2C_Read... [10:38:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:38:18]Read from MH i2c: E2 [10:38:18]MH_I2C_Read... [10:38:18]Read from MH i2c: E2 03 00 [10:38:18]MH_I2C_Read... [10:38:18]Read from MH i2c: E2 03 00 1F 04 00 90 00 97 [10:38:18]RAPDU: 90 00 [10:38:18]wFMCommunicate OK [10:38:18]wFMCommunicate request_size=4 [10:38:18]MH_SAM_APDU [10:38:18]CAPDU: 80 0D 03 02 [10:38:18]Write to MH i2c: E2 08 00 20 04 80 0D 03 02 00 00 00 00 9F [10:38:18]Write i2c OK [10:38:18]MH_I2C_Read... [10:38:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:38:18]Read from MH i2c: E2 [10:38:18]MH_I2C_Read... [10:38:18]Read from MH i2c: E2 0B 00 [10:38:18]MH_I2C_Read... [10:38:18]Read from MH i2c: E2 0B 00 20 04 00 A2 FD 3E FA A6 6E 97 77 90 00 99 [10:38:18]RAPDU: A2 FD 3E FA A6 6E 97 77 90 00 [10:38:18]wFMCommunicate OK [10:38:18]SAM_PROTO_SignData done [10:38:18]FM_MakeSignedData done [10:38:18]CreateOFDProtocolMessage [10:38:18]wFMCommunicate request_size=4 [10:38:18]MH_SAM_APDU [10:38:18]CAPDU: 80 11 00 00 [10:38:18]Write to MH i2c: E2 08 00 21 04 80 11 00 00 00 00 00 00 9F [10:38:18]Write i2c OK [10:38:18]MH_I2C_Read... [10:38:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:38:18]Read from MH i2c: E2 [10:38:18]MH_I2C_Read... [10:38:18]Read from MH i2c: E2 17 00 [10:38:18]MH_I2C_Read... [10:38:18]Read from MH i2c: E2 17 00 21 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 EC [10:38:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [10:38:18]wFMCommunicate OK [10:38:18]CreateOFDProtocolMessage done [10:38:18]OFDSenderStorePacket 24319 [10:38:18]StoreOFDPacket docnum=24319 [10:38:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 6C 02 00 00 2C B0 64 02 8A 8B 5A 03 01 00 03 00 58 02 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 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 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 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 37 39 06 04 2E 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D0 BA D0 BE D0 BA D0 BE D1 81 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 0C 00 00 00 00 07 04 06 00 A0 73 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 1A 2F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 FF 5E 00 00 35 04 06 00 EE DF 59 F9 F4 2D A2 FD 3E FA A6 6E 97 77 [10:38:18]CheckFolder [10:38:18]dirname=/storage/ofd_packets [10:38:18]CheckFolder done [10:38:18]ProducePacketName [10:38:18]name=ofd_packets/00024319 [10:38:18]NVStorageSaveData ofd_packets/00024319 [10:38:18]File name is /storage/ofd_packets/00024319 [10:38:18]Write 650 bytes [10:38:18]NVStorageSaveData done [10:38:18]OFDSenderStorePacket done [10:38:18]KKMCreateOFDPacket done [10:38:18]NVStorageSaveData kkm_last_timestamp [10:38:18]File name is /storage/kkm_last_timestamp [10:38:18]Write 4 bytes [10:38:18]NVStorageSaveData done [10:38:18]ExternCall_PrintAddStr [10:38:18]wPrintStart [10:38:18]Write to MH i2c: 01 00 00 22 04 26 [10:38:18]Write i2c OK [10:38:18]MH_I2C_Read... [10:38:18]Read from MH i2c: 01 [10:38:18]MH_I2C_Read... [10:38:18]Read from MH i2c: 01 07 00 [10:38:18]MH_I2C_Read... [10:38:18]Read from MH i2c: 01 07 00 22 04 00 00 00 00 00 FF 0F 3B [10:38:18]RasterBufferAndPrint [10:38:18]line Счет N : (3)134841 [10:38:18]line ИНН: 02508201610067 [10:38:18]line Контрольно-Кассовый Чек [10:38:18]line ПРОДАЖА [10:38:18]line Товар: 4870001570071 [10:38:18]line Напиток Pepsi 1л [10:38:18]line 1.000 * 119.00 [10:38:18]line = 119.00 [10:38:18]line НДС 12% НСП 1% [10:38:18]line > о реализуемом товаре [10:38:18]line Товар: 4700000310036 [10:38:18]line Вода Жалалабат 27 0,5л [10:38:18]line 2.000 * 40.00 [10:38:18]line = 80.00 [10:38:18]line НДС 12% НСП 1% [10:38:19]line > о реализуемом товаре [10:38:19]line Товар: 4603290004879 [10:38:19]line Печ.сах.FORSITE Сэнд.кокос.вк [10:38:19]line 1.000 * 93.00 [10:38:19]line = 93.00 [10:38:19]line НДС 12% НСП 1% [10:38:19]line > о реализуемом товаре [10:38:19]line Товар: 2000031750019 [10:38:19]line Пакет Партнер Нефть [10:38:19]line 1.000 * 4.00 [10:38:19]line = 4.00 [10:38:19]line НДС 12% НСП 1% [10:38:19]line > о реализуемом товаре [10:38:19]line ИТОГО: 296.00 [10:38:19]line НСП 1% : 2.61 [10:38:19]line НДС 12% : 31.44 [10:38:19]line Наличными: 296.00 [10:38:19]line Безнал.: 0.00 [10:38:19]line Место: АЗС № 85 "Партнер Нефть" [10:38:19]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [10:38:19]line СНО: Общий режим [10:38:19]line Чек 23 21.10.2024 10:38 [10:38:19]line Смена: 461 ФФД: 1.0 [10:38:19]line ЗНМ: 0300000166 [10:38:19]line РНМ: 0000000000098120 [10:38:19]line Версия ККМ: 001 [10:38:19]line ФМ: 0000000000965420 [10:38:19]line ФД: 24319 [10:38:19]line ФПД: 262643054670893 [10:38:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T103818&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24319&fm=262643054670893&tin=02508201610067®Number=0000000000098120&sum=29600 [10:38:19]line 0 [10:38:19]OFD Sender: Processing packet 24319 [packets to send 5, broken 4] [10:38:19]ProducePacketName [10:38:19]name=ofd_packets/00024319 [10:38:19]OFD Sender: To server: pG, [10:38:19]CommunicateWithHost lk.salyk.kg:30040 [10:38:19]ConnectInit lk.salyk.kg [10:38:19]written 0, free lines is 4095 [10:38:19]Connected sock=10 [10:38: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 34 32 30 6C 02 00 00 2C B0 64 02 8A 8B 5A 03 01 00 03 00 58 02 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 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 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 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 37 39 06 04 2E 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D0 BA D0 BE D0 BA D0 BE D1 81 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 0C 00 00 00 00 07 04 06 00 A0 73 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 1A 2F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 FF 5E 00 00 35 04 06 00 EE DF 59 F9 F4 2D A2 FD 3E FA A6 6E 97 77 [10:38:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 B0 45 47 00 02 31 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 FF 5E 00 00 F4 03 04 00 C1 DA 15 67 B6 04 01 00 00 80 1A 6B 1A 34 B0 2C B7 [10:38:19]CommunicateWithHost err = 0 [10:38:19]CheckOFDResponse [10:38:19]1017 (14) - 77093643461234 [10:38:19]1041 (16) - 0000000000965420 [10:38:19]1040 (4) - 24319 [10:38:19]1012 (4) - 21.10.2024 04:38 [10:38:19]1206 (1) - 0 [10:38:19]OFD Sender: Remove packet 24319 [10:38:19]ProducePacketName [10:38:19]name=ofd_packets/00024319 [10:38:19]NVStorageDeleteData [10:38:19]Write to MH i2c: 01 00 00 5C 04 60 [10:38:19]Write i2c OK [10:38:19]MH_I2C_Read... [10:38:19]Read from MH i2c: 01 [10:38:19]MH_I2C_Read... [10:38:19]Read from MH i2c: 01 07 00 [10:38:19]MH_I2C_Read... [10:38:19]Read from MH i2c: 01 07 00 5C 04 00 00 00 00 00 6F 0C E2 [10:38:19]RasterBufferAndPrint [10:38:19]line [10:38:19]line [10:38:19]line [10:38:19]line [10:38:19]line [10:38:19]written 0, free lines is 3192 [10:38:19]process_action close_receipt done [10:38:19]requested_data is exist [10:38:19]produce_requested_data [10:38:19]requested_item fm.sn is exist - process it [10:38:19]wFMCommunicate request_size=4 [10:38:19]MH_SAM_APDU [10:38:19]CAPDU: 80 11 00 00 [10:38:19]Write to MH i2c: E2 08 00 63 04 80 11 00 00 00 00 00 00 E1 [10:38:19]Write i2c OK [10:38:19]MH_I2C_Read... [10:38:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:38:20]Read from MH i2c: E2 [10:38:20]MH_I2C_Read... [10:38:20]Read from MH i2c: E2 17 00 [10:38:20]MH_I2C_Read... [10:38:20]Read from MH i2c: E2 17 00 63 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 2E [10:38:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [10:38:20]wFMCommunicate OK [10:38:20]requested_item fd.num is exist - process it [10:38:20]SAM_PROTO_GetFieldsCounters [10:38:20]wFMCommunicate request_size=4 [10:38:20]MH_SAM_APDU [10:38:20]CAPDU: 80 13 00 00 [10:38:20]Write to MH i2c: E2 08 00 64 04 80 13 00 00 00 00 00 00 E4 [10:38:20]Write i2c OK [10:38:20]MH_I2C_Read... [10:38:20]OFD Sender: No OFD packet to send [10:38:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:38:20]Read from MH i2c: E2 [10:38:20]MH_I2C_Read... [10:38:20]Read from MH i2c: E2 62 00 [10:38:20]MH_I2C_Read... [10:38:20]Read from MH i2c: E2 62 00 64 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 FF 5E 00 00 0E 04 04 00 CD 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 6A [10:38: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 FF 5E 00 00 0E 04 04 00 CD 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 [10:38:20]wFMCommunicate OK [10:38:20]SAM_PROTO_GetFieldsCounters done [10:38:20]requested_item shift.num is exist - process it [10:38:20]requested_item shift.opened is exist - process it [10:38:20]req_shift_opened [10:38:20]FM_GetShiftState [10:38:20]SAM_PROTO_GetShiftState [10:38:20]wFMCommunicate request_size=4 [10:38:20]MH_SAM_APDU [10:38:20]CAPDU: 80 13 01 00 [10:38:20]Write to MH i2c: E2 08 00 65 04 80 13 01 00 00 00 00 00 E6 [10:38:20]Write i2c OK [10:38:20]MH_I2C_Read... [10:38:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:38:20]Read from MH i2c: E2 [10:38:20]MH_I2C_Read... [10:38:20]Read from MH i2c: E2 0E 00 [10:38:20]MH_I2C_Read... [10:38:20]Read from MH i2c: E2 0E 00 65 04 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 30 [10:38:20]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [10:38:20]wFMCommunicate OK [10:38:20]SAM_PROTO_GetShiftState done [10:38:20]FM_GetShiftState done [10:38:20]req_shift_opened done [10:38:20]requested_item shift.open_date is exist - process it [10:38:20]req_shift_open_date [10:38:20]req_shift_open_date done [10:38:20]produce_requested_data done [10:38:20]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24319,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [10:38:20]process_action_free close_receipt [10:38:20]json_value_free [10:38:20]json_value_free done [10:38:20]process_json_proto returns [10:38:20]Send response to host [10:38:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24319,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [10:38:20]free response buf [10:38:20]execute_script done [10:38:20]execute_script returns [10:38:20]free content buf [10:38:20]Sock 8.Close socket [10:38:20]Sock 8.Thread stoped [10:38:25]OFD Sender: No OFD packet to send [10:38:30]OFD Sender: No OFD packet to send [10:38:35]OFD Sender: No OFD packet to send [10:38:40]OFD Sender: No OFD packet to send [10:38:45]OFD Sender: No OFD packet to send [10:38:50]OFD Sender: No OFD packet to send [10:38:55]OFD Sender: No OFD packet to send [10:39:00]OFD Sender: No OFD packet to send [10:39:05]OFD Sender: No OFD packet to send [10:39:10]OFD Sender: No OFD packet to send [10:39:15]OFD Sender: No OFD packet to send [10:39:20]OFD Sender: No OFD packet to send [10:39:25]OFD Sender: No OFD packet to send [10:39:30]OFD Sender: No OFD packet to send [10:39:35]OFD Sender: No OFD packet to send [10:39:40]OFD Sender: No OFD packet to send [10:39:45]OFD Sender: No OFD packet to send [10:39:50]OFD Sender: No OFD packet to send [10:39:55]OFD Sender: No OFD packet to send [10:40:00]OFD Sender: No OFD packet to send [10:40:05]OFD Sender: No OFD packet to send [10:40:10]OFD Sender: No OFD packet to send [10:40:15]OFD Sender: No OFD packet to send [10:40:20]OFD Sender: No OFD packet to send [10:40:25]OFD Sender: No OFD packet to send [10:40:30]OFD Sender: No OFD packet to send [10:40:35]OFD Sender: No OFD packet to send [10:40:40]OFD Sender: No OFD packet to send [10:40:45]OFD Sender: No OFD packet to send [10:40:50]OFD Sender: No OFD packet to send [10:40:55]OFD Sender: No OFD packet to send [10:41:00]OFD Sender: No OFD packet to send [10:41:05]OFD Sender: No OFD packet to send [10:41:10]OFD Sender: No OFD packet to send [10:41:15]OFD Sender: No OFD packet to send [10:41:20]OFD Sender: No OFD packet to send [10:41:25]OFD Sender: No OFD packet to send [10:41:30]OFD Sender: No OFD packet to send [10:41:35]OFD Sender: No OFD packet to send [10:41:40]OFD Sender: No OFD packet to send [10:41:45]OFD Sender: No OFD packet to send [10:41:50]OFD Sender: No OFD packet to send [10:41:55]OFD Sender: No OFD packet to send [10:42:00]OFD Sender: No OFD packet to send [10:42:05]OFD Sender: No OFD packet to send [10:42:10]OFD Sender: No OFD packet to send [10:42:15]OFD Sender: No OFD packet to send [10:42:20]OFD Sender: No OFD packet to send [10:42:25]OFD Sender: No OFD packet to send [10:42:30]OFD Sender: No OFD packet to send [10:42:35]OFD Sender: No OFD packet to send [10:42:40]OFD Sender: No OFD packet to send [10:42:45]OFD Sender: No OFD packet to send [10:42:50]OFD Sender: No OFD packet to send [10:42:55]OFD Sender: No OFD packet to send [10:43:00]OFD Sender: No OFD packet to send [10:43:05]OFD Sender: No OFD packet to send [10:43:10]OFD Sender: No OFD packet to send [10:43:15]OFD Sender: No OFD packet to send [10:43:20]OFD Sender: No OFD packet to send [10:43:25]OFD Sender: No OFD packet to send [10:43:30]OFD Sender: No OFD packet to send [10:43:35]OFD Sender: No OFD packet to send [10:43:40]OFD Sender: No OFD packet to send [10:43:45]OFD Sender: No OFD packet to send [10:43:50]OFD Sender: No OFD packet to send [10:43:55]OFD Sender: No OFD packet to send [10:44:00]OFD Sender: No OFD packet to send [10:44:05]OFD Sender: No OFD packet to send [10:44:10]OFD Sender: No OFD packet to send [10:44:15]OFD Sender: No OFD packet to send [10:44:20]OFD Sender: No OFD packet to send [10:44:25]OFD Sender: No OFD packet to send [10:44:30]OFD Sender: No OFD packet to send [10:44:35]OFD Sender: No OFD packet to send [10:44:40]OFD Sender: No OFD packet to send [10:44:45]OFD Sender: No OFD packet to send [10:44:50]OFD Sender: No OFD packet to send [10:44:55]OFD Sender: No OFD packet to send [10:45:00]OFD Sender: No OFD packet to send [10:45:05]OFD Sender: No OFD packet to send [10:45:10]OFD Sender: No OFD packet to send [10:45:15]OFD Sender: No OFD packet to send [10:45:20]OFD Sender: No OFD packet to send [10:45:25]OFD Sender: No OFD packet to send [10:45:30]OFD Sender: No OFD packet to send [10:45:35]OFD Sender: No OFD packet to send [10:45:40]OFD Sender: No OFD packet to send [10:45:45]OFD Sender: No OFD packet to send [10:45:50]OFD Sender: No OFD packet to send [10:45:55]OFD Sender: No OFD packet to send [10:46:00]OFD Sender: No OFD packet to send [10:46:05]OFD Sender: No OFD packet to send [10:46:10]OFD Sender: No OFD packet to send [10:46:15]OFD Sender: No OFD packet to send [10:46:20]OFD Sender: No OFD packet to send [10:46:25]OFD Sender: No OFD packet to send [10:46:30]OFD Sender: No OFD packet to send [10:46:35]OFD Sender: No OFD packet to send [10:46:40]OFD Sender: No OFD packet to send [10:46:45]OFD Sender: No OFD packet to send [10:46:50]OFD Sender: No OFD packet to send [10:46:55]OFD Sender: No OFD packet to send [10:47:00]OFD Sender: No OFD packet to send [10:47:05]OFD Sender: No OFD packet to send [10:47:10]OFD Sender: No OFD packet to send [10:47:15]OFD Sender: No OFD packet to send [10:47:20]OFD Sender: No OFD packet to send [10:47:25]OFD Sender: No OFD packet to send [10:47:30]OFD Sender: No OFD packet to send [10:47:35]OFD Sender: No OFD packet to send [10:47:40]OFD Sender: No OFD packet to send [10:47:45]OFD Sender: No OFD packet to send [10:47:50]OFD Sender: No OFD packet to send [10:47:55]OFD Sender: No OFD packet to send [10:48:00]OFD Sender: No OFD packet to send [10:48:05]OFD Sender: No OFD packet to send [10:48:10]OFD Sender: No OFD packet to send [10:48:15]OFD Sender: No OFD packet to send [10:48:20]OFD Sender: No OFD packet to send [10:48:25]OFD Sender: No OFD packet to send [10:48:30]OFD Sender: No OFD packet to send [10:48:35]OFD Sender: No OFD packet to send [10:48:40]OFD Sender: No OFD packet to send [10:48:45]OFD Sender: No OFD packet to send [10:48:50]OFD Sender: No OFD packet to send [10:48:55]OFD Sender: No OFD packet to send [10:49:00]OFD Sender: No OFD packet to send [10:49:05]OFD Sender: No OFD packet to send [10:49:10]OFD Sender: No OFD packet to send [10:49:15]OFD Sender: No OFD packet to send [10:49:15]accept exits with 9 [10:49:15]New connection [10:49:15]New thread 3066940772 created [10:49:15]Thread 3067084132 joined [10:49:15]Waiting for new connection... [10:49:15] Sock 9.Parse request [10:49:15]Sock 9.Check first char [10:49:15]Sock 9.First char is OK [10:49:15]request: POST /json_proto HTTP/1.0 [10:49:15]Method: POST [10:49:15]URL: /json_proto [10:49:15]Method is POST - this is cgi request [10:49:15]url: /json_proto [10:49:15]query_string will be loaded in cgi processing [10:49:15]execute_cgi json_proto POST (null) [10:49:15]execute_cgi path=json_proto method=POST [10:49:15]POST find Content-Length [10:49:15]Host: 172.17.50.4:8080 [10:49:15]Content-Length: 665 [10:49:15]Content-Type: application/json [10:49:15] [10:49:15]POST finish read [10:49:15]Found Content-Length = 665 [10:49:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134842", "tax_sys" : 0, "items" : [ { "code": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \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" ] } } [10:49:15]execute_script... [10:49:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134842", "tax_sys" : 0, "items" : [ { "code": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \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" ] } } [10:49:15]POST & json_proto [10:49:15]process_json_proto [10:49:15]json parsed OK: [10:49:15]protocol is kg_v1.0 [10:49:15]action value=close_receipt [10:49:15]process_action close_receipt [10:49:15]cmd_close_receipt [10:49:15]MH_GetDate [10:49:15]Write to MH i2c: F0 00 00 66 04 59 [10:49:15]Write i2c OK [10:49:15]MH_I2C_Read... [10:49:15]Read from MH i2c: F0 [10:49:15]MH_I2C_Read... [10:49:15]Read from MH i2c: F0 09 00 [10:49:15]MH_I2C_Read... [10:49:15]Read from MH i2c: F0 09 00 66 04 00 AD 31 16 67 3B 12 16 67 87 [10:49:15]GetLastDocTimeStamp 1729507098 [10:49:15]current date 1729507757 [10:49:15]FM_GetShiftState [10:49:15]SAM_PROTO_GetShiftState [10:49:15]wFMCommunicate request_size=4 [10:49:15]MH_SAM_APDU [10:49:15]CAPDU: 80 13 01 00 [10:49:15]Write to MH i2c: E2 08 00 67 04 80 13 01 00 00 00 00 00 E8 [10:49:15]Write i2c OK [10:49:15]MH_I2C_Read... [10:49:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:49:15]Read from MH i2c: E2 [10:49:15]MH_I2C_Read... [10:49:15]Read from MH i2c: E2 0E 00 [10:49:15]MH_I2C_Read... [10:49:15]Read from MH i2c: E2 0E 00 67 04 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 32 [10:49:15]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [10:49:15]wFMCommunicate OK [10:49:15]SAM_PROTO_GetShiftState done [10:49:15]FM_GetShiftState done [10:49:15]opened in 1729469223 [10:49:15]opened+sec_in_day 1729555623 [10:49:15]quantity*price = 9500 [10:49:15]sum+1 = 9501 [10:49:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 24 21.10.2024 10:49 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24320 ФПД: 182547151802148 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T104917&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24320&fm=182547151802148&tin=02508201610067®Number=0000000000098120&sum=9500 0 [10:49:17]StoreToDocumentArchive [10:49:17]shift 461 fd 24320 [10:49:17]save to /storage/0461/doc_00024320 [10:49:17]save last doc name /storage/0461/doc_00024320 to /storage/kkm_last_doc_name [10:49:17]save OK [10:49:17]Clear old archive folders... [10:49:17]ProcessDocumentItem done err = 0, tmpTLVsize=296 [10:49:17]tlvbuf is 00340990 [10:49:17]SAM_PROTO_ClearQueue [10:49:17]wFMCommunicate request_size=4 [10:49:17]MH_SAM_APDU [10:49:17]CAPDU: 80 09 00 00 [10:49:17]Write to MH i2c: E2 08 00 74 04 80 09 00 00 00 00 00 00 EA [10:49:17]Write i2c OK [10:49:17]MH_I2C_Read... [10:49:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:49:17]Read from MH i2c: E2 [10:49:17]MH_I2C_Read... [10:49:17]Read from MH i2c: E2 03 00 [10:49:17]MH_I2C_Read... [10:49:17]Read from MH i2c: E2 03 00 74 04 00 90 00 EC [10:49:17]RAPDU: 90 00 [10:49:17]wFMCommunicate OK [10:49:17]SAM_PROTO_ClearQueue done [10:49:17]KKMCreateOFDPacket [10:49:17]OFDProtocolAddRootSTLVToBuf [10:49:17]FM_MakeSignedData [10:49:17]FM_MakeSignedData [10:49:17]SAM_PROTO_SignData [10:49:17]wFMCommunicate request_size=4 [10:49:17]MH_SAM_APDU [10:49:17]CAPDU: 80 0D 01 02 [10:49:17]Write to MH i2c: E2 08 00 75 04 80 0D 01 02 00 00 00 00 F2 [10:49:17]Write i2c OK [10:49:17]MH_I2C_Read... [10:49:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:49:17]Read from MH i2c: E2 [10:49:17]MH_I2C_Read... [10:49:17]Read from MH i2c: E2 03 00 [10:49:17]MH_I2C_Read... [10:49:17]Read from MH i2c: E2 03 00 75 04 00 90 00 ED [10:49:17]RAPDU: 90 00 [10:49:17]wFMCommunicate OK [10:49:17]wFMCommunicate request_size=255 [10:49:17]MH_SAM_APDU [10:49:17]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 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 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 18 00 00 00 F4 03 04 00 AD 31 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [10:49:17]Write to MH i2c: E2 02 01 76 04 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 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 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 18 00 00 00 F4 03 04 00 AD 31 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 B3 [10:49:17]Write i2c OK [10:49:17]MH_I2C_Read... [10:49:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:49:17]Read from MH i2c: E2 [10:49:17]MH_I2C_Read... [10:49:17]Read from MH i2c: E2 03 00 [10:49:17]MH_I2C_Read... [10:49:17]Read from MH i2c: E2 03 00 76 04 00 90 00 EE [10:49:17]RAPDU: 90 00 [10:49:17]wFMCommunicate OK [10:49:17]wFMCommunicate request_size=55 [10:49:17]MH_SAM_APDU [10:49:17]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 00 5F 00 00 35 04 06 00 A6 06 92 23 4F 24 [10:49:17]Write to MH i2c: E2 3A 00 77 04 80 0D 02 02 32 00 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 00 5F 00 00 35 04 06 00 A6 06 92 23 4F 24 00 00 76 [10:49:17]Write i2c OK [10:49:17]MH_I2C_Read... [10:49:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:49:17]Read from MH i2c: E2 [10:49:17]MH_I2C_Read... [10:49:17]Read from MH i2c: E2 03 00 [10:49:17]MH_I2C_Read... [10:49:17]Read from MH i2c: E2 03 00 77 04 00 90 00 EF [10:49:17]RAPDU: 90 00 [10:49:17]wFMCommunicate OK [10:49:17]wFMCommunicate request_size=4 [10:49:17]MH_SAM_APDU [10:49:17]CAPDU: 80 0D 03 02 [10:49:17]Write to MH i2c: E2 08 00 78 04 80 0D 03 02 00 00 00 00 F7 [10:49:17]Write i2c OK [10:49:17]MH_I2C_Read... [10:49:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:49:17]Read from MH i2c: E2 [10:49:17]MH_I2C_Read... [10:49:17]Read from MH i2c: E2 0B 00 [10:49:17]MH_I2C_Read... [10:49:17]Read from MH i2c: E2 0B 00 78 04 00 5B 94 7E 1A 26 D6 7B 8B 90 00 81 [10:49:17]RAPDU: 5B 94 7E 1A 26 D6 7B 8B 90 00 [10:49:17]wFMCommunicate OK [10:49:17]SAM_PROTO_SignData done [10:49:17]FM_MakeSignedData done [10:49:17]CreateOFDProtocolMessage [10:49:17]wFMCommunicate request_size=4 [10:49:17]MH_SAM_APDU [10:49:17]CAPDU: 80 11 00 00 [10:49:17]Write to MH i2c: E2 08 00 79 04 80 11 00 00 00 00 00 00 F7 [10:49:17]Write i2c OK [10:49:17]MH_I2C_Read... [10:49:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:49:17]Read from MH i2c: E2 [10:49:17]MH_I2C_Read... [10:49:17]Read from MH i2c: E2 17 00 [10:49:17]MH_I2C_Read... [10:49:17]Read from MH i2c: E2 17 00 79 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 44 [10:49:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [10:49:17]wFMCommunicate OK [10:49:17]CreateOFDProtocolMessage done [10:49:17]OFDSenderStorePacket 24320 [10:49:17]StoreOFDPacket docnum=24320 [10:49:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 3C 01 00 00 41 4E 34 01 7E DB 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 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 18 00 00 00 F4 03 04 00 AD 31 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 00 5F 00 00 35 04 06 00 A6 06 92 23 4F 24 5B 94 7E 1A 26 D6 7B 8B [10:49:17]CheckFolder [10:49:17]dirname=/storage/ofd_packets [10:49:17]CheckFolder done [10:49:17]ProducePacketName [10:49:17]name=ofd_packets/00024320 [10:49:17]NVStorageSaveData ofd_packets/00024320 [10:49:17]File name is /storage/ofd_packets/00024320 [10:49:17]Write 346 bytes [10:49:17]NVStorageSaveData done [10:49:17]OFDSenderStorePacket done [10:49:17]KKMCreateOFDPacket done [10:49:17]NVStorageSaveData kkm_last_timestamp [10:49:17]File name is /storage/kkm_last_timestamp [10:49:17]Write 4 bytes [10:49:17]NVStorageSaveData done [10:49:17]ExternCall_PrintAddStr [10:49:17]wPrintStart [10:49:17]Write to MH i2c: 01 00 00 7A 04 7E [10:49:17]Write i2c OK [10:49:17]MH_I2C_Read... [10:49:17]Read from MH i2c: 01 [10:49:17]MH_I2C_Read... [10:49:17]Read from MH i2c: 01 07 00 [10:49:17]MH_I2C_Read... [10:49:17]Read from MH i2c: 01 07 00 7A 04 00 00 00 00 00 FF 0F 93 [10:49:17]RasterBufferAndPrint [10:49:17]line Счет N : (3)134842 [10:49:17]line ИНН: 02508201610067 [10:49:17]line Контрольно-Кассовый Чек [10:49:17]line ПРОДАЖА [10:49:17]line Товар: 4631150682851 [10:49:17]line Нап En Dragon Mojito лайм,клуб ж/б 0,45л [10:49:17]line 1.000 * 95.00 [10:49:17]line = 95.00 [10:49:17]line НДС 12% НСП 1% [10:49:17]line > о реализуемом товаре [10:49:17]line ИТОГО: 95.00 [10:49:17]line НСП 1% : 0.84 [10:49:17]line НДС 12% : 10.09 [10:49:17]line Наличными: 95.00 [10:49:17]line Безнал.: 0.00 [10:49:17]line Место: АЗС № 85 "Партнер Нефть" [10:49:17]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [10:49:17]line СНО: Общий режим [10:49:17]line Чек 24 21.10.2024 10:49 [10:49:17]line Смена: 461 ФФД: 1.0 [10:49:17]line ЗНМ: 0300000166 [10:49:17]line РНМ: 0000000000098120 [10:49:17]line Версия ККМ: 001 [10:49:17]line ФМ: 0000000000965420 [10:49:17]line ФД: 24320 [10:49:17]line ФПД: 182547151802148 [10:49:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T104917&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24320&fm=182547151802148&tin=02508201610067®Number=0000000000098120&sum=9500 [10:49:17]OFD Sender: Processing packet 24320 [packets to send 5, broken 4] [10:49:17]ProducePacketName [10:49:17]name=ofd_packets/00024320 [10:49:17]OFD Sender: To server: pG, [10:49:17]CommunicateWithHost lk.salyk.kg:30040 [10:49:17]ConnectInit lk.salyk.kg [10:49:17]line 0 [10:49:17]written 0, free lines is 4095 [10:49:18]Connected sock=10 [10:49: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 34 32 30 3C 01 00 00 41 4E 34 01 7E DB 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 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 18 00 00 00 F4 03 04 00 AD 31 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 00 5F 00 00 35 04 06 00 A6 06 92 23 4F 24 5B 94 7E 1A 26 D6 7B 8B [10:49:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 F3 DD 47 00 87 45 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 34 32 30 10 04 04 00 00 5F 00 00 F4 03 04 00 53 DD 15 67 B6 04 01 00 00 0E 4C 84 C9 EC 56 94 61 [10:49:18]CommunicateWithHost err = 0 [10:49:18]CheckOFDResponse [10:49:18]1017 (14) - 77093643461234 [10:49:18]1041 (16) - 0000000000965420 [10:49:18]1040 (4) - 24320 [10:49:18]1012 (4) - 21.10.2024 04:49 [10:49:18]1206 (1) - 0 [10:49:18]OFD Sender: Remove packet 24320 [10:49:18]ProducePacketName [10:49:18]name=ofd_packets/00024320 [10:49:18]NVStorageDeleteData [10:49:18]Write to MH i2c: 01 00 00 A3 04 A7 [10:49:18]Write i2c OK [10:49:18]MH_I2C_Read... [10:49:18]Read from MH i2c: 01 [10:49:18]MH_I2C_Read... [10:49:18]Read from MH i2c: 01 07 00 [10:49:18]MH_I2C_Read... [10:49:18]Read from MH i2c: 01 07 00 A3 04 00 00 00 00 00 20 0D DB [10:49:18]RasterBufferAndPrint [10:49:18]line [10:49:18]line [10:49:18]line [10:49:18]line [10:49:18]line [10:49:18]written 0, free lines is 3366 [10:49:18]process_action close_receipt done [10:49:18]requested_data is exist [10:49:18]produce_requested_data [10:49:18]requested_item fm.sn is exist - process it [10:49:18]wFMCommunicate request_size=4 [10:49:18]MH_SAM_APDU [10:49:18]CAPDU: 80 11 00 00 [10:49:18]Write to MH i2c: E2 08 00 AA 04 80 11 00 00 00 00 00 00 28 [10:49:18]Write i2c OK [10:49:18]MH_I2C_Read... [10:49:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:49:18]Read from MH i2c: E2 [10:49:18]MH_I2C_Read... [10:49:18]Read from MH i2c: E2 17 00 [10:49:18]MH_I2C_Read... [10:49:18]Read from MH i2c: E2 17 00 AA 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 75 [10:49:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [10:49:18]wFMCommunicate OK [10:49:18]requested_item fd.num is exist - process it [10:49:18]SAM_PROTO_GetFieldsCounters [10:49:18]wFMCommunicate request_size=4 [10:49:18]MH_SAM_APDU [10:49:18]CAPDU: 80 13 00 00 [10:49:18]Write to MH i2c: E2 08 00 AB 04 80 13 00 00 00 00 00 00 2B [10:49:18]Write i2c OK [10:49:18]MH_I2C_Read... [10:49:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:49:18]Read from MH i2c: E2 [10:49:18]MH_I2C_Read... [10:49:18]Read from MH i2c: E2 62 00 [10:49:18]MH_I2C_Read... [10:49:18]Read from MH i2c: E2 62 00 AB 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 00 5F 00 00 0E 04 04 00 CD 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 B6 [10:49: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 00 5F 00 00 0E 04 04 00 CD 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 [10:49:18]wFMCommunicate OK [10:49:18]SAM_PROTO_GetFieldsCounters done [10:49:18]requested_item shift.num is exist - process it [10:49:18]requested_item shift.opened is exist - process it [10:49:18]req_shift_opened [10:49:18]FM_GetShiftState [10:49:18]SAM_PROTO_GetShiftState [10:49:18]wFMCommunicate request_size=4 [10:49:18]MH_SAM_APDU [10:49:18]CAPDU: 80 13 01 00 [10:49:18]Write to MH i2c: E2 08 00 AC 04 80 13 01 00 00 00 00 00 2D [10:49:18]Write i2c OK [10:49:18]MH_I2C_Read... [10:49:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:49:18]Read from MH i2c: E2 [10:49:18]MH_I2C_Read... [10:49:18]Read from MH i2c: E2 0E 00 [10:49:18]MH_I2C_Read... [10:49:18]Read from MH i2c: E2 0E 00 AC 04 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 77 [10:49:18]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [10:49:18]wFMCommunicate OK [10:49:18]SAM_PROTO_GetShiftState done [10:49:18]FM_GetShiftState done [10:49:18]req_shift_opened done [10:49:18]requested_item shift.open_date is exist - process it [10:49:18]req_shift_open_date [10:49:18]req_shift_open_date done [10:49:18]produce_requested_data done [10:49:18]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24320,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [10:49:18]process_action_free close_receipt [10:49:18]json_value_free [10:49:18]json_value_free done [10:49:18]process_json_proto returns [10:49:18]Send response to host [10:49:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24320,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [10:49:18]free response buf [10:49:18]execute_script done [10:49:18]execute_script returns [10:49:18]free content buf [10:49:18]Sock 9.Close socket [10:49:18]Sock 9.Thread stoped [10:49:18]OFD Sender: No OFD packet to send [10:49:23]OFD Sender: No OFD packet to send [10:49:28]OFD Sender: No OFD packet to send [10:49:33]OFD Sender: No OFD packet to send [10:49:38]OFD Sender: No OFD packet to send [10:49:43]OFD Sender: No OFD packet to send [10:49:48]OFD Sender: No OFD packet to send [10:49:53]OFD Sender: No OFD packet to send [10:49:58]OFD Sender: No OFD packet to send [10:50:03]OFD Sender: No OFD packet to send [10:50:08]OFD Sender: No OFD packet to send [10:50:13]OFD Sender: No OFD packet to send [10:50:18]OFD Sender: No OFD packet to send [10:50:23]OFD Sender: No OFD packet to send [10:50:28]OFD Sender: No OFD packet to send [10:50:33]OFD Sender: No OFD packet to send [10:50:38]OFD Sender: No OFD packet to send [10:50:43]OFD Sender: No OFD packet to send [10:50:48]OFD Sender: No OFD packet to send [10:50:53]OFD Sender: No OFD packet to send [10:50:58]OFD Sender: No OFD packet to send [10:51:03]OFD Sender: No OFD packet to send [10:51:08]OFD Sender: No OFD packet to send [10:51:13]OFD Sender: No OFD packet to send [10:51:18]OFD Sender: No OFD packet to send [10:51:23]OFD Sender: No OFD packet to send [10:51:28]OFD Sender: No OFD packet to send [10:51:33]OFD Sender: No OFD packet to send [10:51:38]OFD Sender: No OFD packet to send [10:51:43]OFD Sender: No OFD packet to send [10:51:48]OFD Sender: No OFD packet to send [10:51:53]OFD Sender: No OFD packet to send [10:51:58]OFD Sender: No OFD packet to send [10:52:03]OFD Sender: No OFD packet to send [10:52:08]OFD Sender: No OFD packet to send [10:52:13]OFD Sender: No OFD packet to send [10:52:18]OFD Sender: No OFD packet to send [10:52:23]OFD Sender: No OFD packet to send [10:52:28]OFD Sender: No OFD packet to send [10:52:33]OFD Sender: No OFD packet to send [10:52:38]OFD Sender: No OFD packet to send [10:52:43]OFD Sender: No OFD packet to send [10:52:48]OFD Sender: No OFD packet to send [10:52:53]OFD Sender: No OFD packet to send [10:52:58]OFD Sender: No OFD packet to send [10:53:03]OFD Sender: No OFD packet to send [10:53:08]OFD Sender: No OFD packet to send [10:53:13]OFD Sender: No OFD packet to send [10:53:18]OFD Sender: No OFD packet to send [10:53:23]OFD Sender: No OFD packet to send [10:53:28]OFD Sender: No OFD packet to send [10:53:33]OFD Sender: No OFD packet to send [10:53:38]OFD Sender: No OFD packet to send [10:53:43]OFD Sender: No OFD packet to send [10:53:48]OFD Sender: No OFD packet to send [10:53:53]OFD Sender: No OFD packet to send [10:53:58]OFD Sender: No OFD packet to send [10:54:03]OFD Sender: No OFD packet to send [10:54:08]OFD Sender: No OFD packet to send [10:54:13]OFD Sender: No OFD packet to send [10:54:18]OFD Sender: No OFD packet to send [10:54:23]OFD Sender: No OFD packet to send [10:54:28]OFD Sender: No OFD packet to send [10:54:33]OFD Sender: No OFD packet to send [10:54:38]OFD Sender: No OFD packet to send [10:54:43]OFD Sender: No OFD packet to send [10:54:48]OFD Sender: No OFD packet to send [10:54:54]OFD Sender: No OFD packet to send [10:54:59]OFD Sender: No OFD packet to send [10:55:04]OFD Sender: No OFD packet to send [10:55:09]OFD Sender: No OFD packet to send [10:55:14]OFD Sender: No OFD packet to send [10:55:19]OFD Sender: No OFD packet to send [10:55:24]OFD Sender: No OFD packet to send [10:55:29]OFD Sender: No OFD packet to send [10:55:34]OFD Sender: No OFD packet to send [10:55:39]OFD Sender: No OFD packet to send [10:55:44]OFD Sender: No OFD packet to send [10:55:49]OFD Sender: No OFD packet to send [10:55:54]OFD Sender: No OFD packet to send [10:55:59]OFD Sender: No OFD packet to send [10:56:04]OFD Sender: No OFD packet to send [10:56:09]OFD Sender: No OFD packet to send [10:56:14]OFD Sender: No OFD packet to send [10:56:19]OFD Sender: No OFD packet to send [10:56:24]OFD Sender: No OFD packet to send [10:56:29]OFD Sender: No OFD packet to send [10:56:34]OFD Sender: No OFD packet to send [10:56:39]OFD Sender: No OFD packet to send [10:56:44]OFD Sender: No OFD packet to send [10:56:49]OFD Sender: No OFD packet to send [10:56:54]OFD Sender: No OFD packet to send [10:56:59]OFD Sender: No OFD packet to send [10:57:04]OFD Sender: No OFD packet to send [10:57:09]OFD Sender: No OFD packet to send [10:57:14]OFD Sender: No OFD packet to send [10:57:19]OFD Sender: No OFD packet to send [10:57:24]OFD Sender: No OFD packet to send [10:57:29]OFD Sender: No OFD packet to send [10:57:34]OFD Sender: No OFD packet to send [10:57:39]OFD Sender: No OFD packet to send [10:57:44]OFD Sender: No OFD packet to send [10:57:49]OFD Sender: No OFD packet to send [10:57:54]OFD Sender: No OFD packet to send [10:57:59]OFD Sender: No OFD packet to send [10:58:04]OFD Sender: No OFD packet to send [10:58:09]OFD Sender: No OFD packet to send [10:58:14]OFD Sender: No OFD packet to send [10:58:19]OFD Sender: No OFD packet to send [10:58:24]OFD Sender: No OFD packet to send [10:58:29]OFD Sender: No OFD packet to send [10:58:34]OFD Sender: No OFD packet to send [10:58:39]OFD Sender: No OFD packet to send [10:58:44]OFD Sender: No OFD packet to send [10:58:49]OFD Sender: No OFD packet to send [10:58:54]OFD Sender: No OFD packet to send [10:58:59]OFD Sender: No OFD packet to send [10:59:04]OFD Sender: No OFD packet to send [10:59:09]OFD Sender: No OFD packet to send [10:59:14]OFD Sender: No OFD packet to send [10:59:19]OFD Sender: No OFD packet to send [10:59:24]OFD Sender: No OFD packet to send [10:59:29]OFD Sender: No OFD packet to send [10:59:34]OFD Sender: No OFD packet to send [10:59:39]OFD Sender: No OFD packet to send [10:59:44]OFD Sender: No OFD packet to send [10:59:49]OFD Sender: No OFD packet to send [10:59:54]OFD Sender: No OFD packet to send [10:59:59]OFD Sender: No OFD packet to send [11:00:04]OFD Sender: No OFD packet to send [11:00:09]OFD Sender: No OFD packet to send [11:00:14]OFD Sender: No OFD packet to send [11:00:19]OFD Sender: No OFD packet to send [11:00:24]OFD Sender: No OFD packet to send [11:00:29]OFD Sender: No OFD packet to send [11:00:34]OFD Sender: No OFD packet to send [11:00:39]OFD Sender: No OFD packet to send [11:00:44]OFD Sender: No OFD packet to send [11:00:49]OFD Sender: No OFD packet to send [11:00:54]OFD Sender: No OFD packet to send [11:00:59]OFD Sender: No OFD packet to send [11:01:04]OFD Sender: No OFD packet to send [11:01:09]OFD Sender: No OFD packet to send [11:01:14]OFD Sender: No OFD packet to send [11:01:19]OFD Sender: No OFD packet to send [11:01:24]OFD Sender: No OFD packet to send [11:01:29]OFD Sender: No OFD packet to send [11:01:34]OFD Sender: No OFD packet to send [11:01:39]OFD Sender: No OFD packet to send [11:01:44]OFD Sender: No OFD packet to send [11:01:49]OFD Sender: No OFD packet to send [11:01:54]OFD Sender: No OFD packet to send [11:01:59]OFD Sender: No OFD packet to send [11:02:04]OFD Sender: No OFD packet to send [11:02:09]OFD Sender: No OFD packet to send [11:02:14]OFD Sender: No OFD packet to send [11:02:19]OFD Sender: No OFD packet to send [11:02:24]OFD Sender: No OFD packet to send [11:02:29]OFD Sender: No OFD packet to send [11:02:34]OFD Sender: No OFD packet to send [11:02:39]OFD Sender: No OFD packet to send [11:02:44]OFD Sender: No OFD packet to send [11:02:49]OFD Sender: No OFD packet to send [11:02:54]OFD Sender: No OFD packet to send [11:02:59]OFD Sender: No OFD packet to send [11:03:04]OFD Sender: No OFD packet to send [11:03:09]OFD Sender: No OFD packet to send [11:03:14]OFD Sender: No OFD packet to send [11:03:19]OFD Sender: No OFD packet to send [11:03:24]OFD Sender: No OFD packet to send [11:03:29]OFD Sender: No OFD packet to send [11:03:34]OFD Sender: No OFD packet to send [11:03:39]OFD Sender: No OFD packet to send [11:03:44]OFD Sender: No OFD packet to send [11:03:49]OFD Sender: No OFD packet to send [11:03:54]OFD Sender: No OFD packet to send [11:03:59]OFD Sender: No OFD packet to send [11:04:04]OFD Sender: No OFD packet to send [11:04:09]OFD Sender: No OFD packet to send [11:04:14]OFD Sender: No OFD packet to send [11:04:19]OFD Sender: No OFD packet to send [11:04:24]OFD Sender: No OFD packet to send [11:04:29]OFD Sender: No OFD packet to send [11:04:34]OFD Sender: No OFD packet to send [11:04:39]OFD Sender: No OFD packet to send [11:04:44]OFD Sender: No OFD packet to send [11:04:49]OFD Sender: No OFD packet to send [11:04:54]OFD Sender: No OFD packet to send [11:04:59]OFD Sender: No OFD packet to send [11:05:04]OFD Sender: No OFD packet to send [11:05:09]OFD Sender: No OFD packet to send [11:05:14]OFD Sender: No OFD packet to send [11:05:19]OFD Sender: No OFD packet to send [11:05:24]OFD Sender: No OFD packet to send [11:05:29]OFD Sender: No OFD packet to send [11:05:34]OFD Sender: No OFD packet to send [11:05:39]OFD Sender: No OFD packet to send [11:05:44]OFD Sender: No OFD packet to send [11:05:49]OFD Sender: No OFD packet to send [11:05:54]OFD Sender: No OFD packet to send [11:05:59]OFD Sender: No OFD packet to send [11:06:04]OFD Sender: No OFD packet to send [11:06:09]OFD Sender: No OFD packet to send [11:06:14]OFD Sender: No OFD packet to send [11:06:19]OFD Sender: No OFD packet to send [11:06:24]OFD Sender: No OFD packet to send [11:06:29]OFD Sender: No OFD packet to send [11:06:34]OFD Sender: No OFD packet to send [11:06:39]OFD Sender: No OFD packet to send [11:06:44]OFD Sender: No OFD packet to send [11:06:49]OFD Sender: No OFD packet to send [11:06:54]OFD Sender: No OFD packet to send [11:06:59]OFD Sender: No OFD packet to send [11:07:04]OFD Sender: No OFD packet to send [11:07:09]OFD Sender: No OFD packet to send [11:07:14]OFD Sender: No OFD packet to send [11:07:19]OFD Sender: No OFD packet to send [11:07:24]OFD Sender: No OFD packet to send [11:07:29]OFD Sender: No OFD packet to send [11:07:34]OFD Sender: No OFD packet to send [11:07:39]OFD Sender: No OFD packet to send [11:07:44]OFD Sender: No OFD packet to send [11:07:49]OFD Sender: No OFD packet to send [11:07:54]OFD Sender: No OFD packet to send [11:07:59]OFD Sender: No OFD packet to send [11:08:04]OFD Sender: No OFD packet to send [11:08:09]OFD Sender: No OFD packet to send [11:08:14]OFD Sender: No OFD packet to send [11:08:19]OFD Sender: No OFD packet to send [11:08:24]OFD Sender: No OFD packet to send [11:08:29]OFD Sender: No OFD packet to send [11:08:34]OFD Sender: No OFD packet to send [11:08:39]OFD Sender: No OFD packet to send [11:08:44]OFD Sender: No OFD packet to send [11:08:49]OFD Sender: No OFD packet to send [11:08:54]OFD Sender: No OFD packet to send [11:08:59]OFD Sender: No OFD packet to send [11:09:04]OFD Sender: No OFD packet to send [11:09:09]OFD Sender: No OFD packet to send [11:09:14]OFD Sender: No OFD packet to send [11:09:19]OFD Sender: No OFD packet to send [11:09:24]OFD Sender: No OFD packet to send [11:09:29]OFD Sender: No OFD packet to send [11:09:34]OFD Sender: No OFD packet to send [11:09:39]OFD Sender: No OFD packet to send [11:09:44]OFD Sender: No OFD packet to send [11:09:49]OFD Sender: No OFD packet to send [11:09:54]OFD Sender: No OFD packet to send [11:09:59]OFD Sender: No OFD packet to send [11:10:04]OFD Sender: No OFD packet to send [11:10:09]OFD Sender: No OFD packet to send [11:10:14]OFD Sender: No OFD packet to send [11:10:19]OFD Sender: No OFD packet to send [11:10:24]OFD Sender: No OFD packet to send [11:10:29]OFD Sender: No OFD packet to send [11:10:34]OFD Sender: No OFD packet to send [11:10:39]OFD Sender: No OFD packet to send [11:10:44]OFD Sender: No OFD packet to send [11:10:49]OFD Sender: No OFD packet to send [11:10:54]OFD Sender: No OFD packet to send [11:10:59]OFD Sender: No OFD packet to send [11:11:04]OFD Sender: No OFD packet to send [11:11:09]OFD Sender: No OFD packet to send [11:11:14]OFD Sender: No OFD packet to send [11:11:19]OFD Sender: No OFD packet to send [11:11:24]OFD Sender: No OFD packet to send [11:11:29]OFD Sender: No OFD packet to send [11:11:34]OFD Sender: No OFD packet to send [11:11:39]OFD Sender: No OFD packet to send [11:11:44]OFD Sender: No OFD packet to send [11:11:49]OFD Sender: No OFD packet to send [11:11:54]OFD Sender: No OFD packet to send [11:11:59]OFD Sender: No OFD packet to send [11:12:04]OFD Sender: No OFD packet to send [11:12:09]OFD Sender: No OFD packet to send [11:12:14]OFD Sender: No OFD packet to send [11:12:19]OFD Sender: No OFD packet to send [11:12:24]OFD Sender: No OFD packet to send [11:12:29]OFD Sender: No OFD packet to send [11:12:34]OFD Sender: No OFD packet to send [11:12:39]OFD Sender: No OFD packet to send [11:12:44]OFD Sender: No OFD packet to send [11:12:49]OFD Sender: No OFD packet to send [11:12:54]OFD Sender: No OFD packet to send [11:12:59]OFD Sender: No OFD packet to send [11:13:04]OFD Sender: No OFD packet to send [11:13:09]OFD Sender: No OFD packet to send [11:13:14]OFD Sender: No OFD packet to send [11:13:19]OFD Sender: No OFD packet to send [11:13:24]OFD Sender: No OFD packet to send [11:13:29]OFD Sender: No OFD packet to send [11:13:34]OFD Sender: No OFD packet to send [11:13:39]OFD Sender: No OFD packet to send [11:13:44]OFD Sender: No OFD packet to send [11:13:49]OFD Sender: No OFD packet to send [11:13:54]OFD Sender: No OFD packet to send [11:13:59]OFD Sender: No OFD packet to send [11:14:04]OFD Sender: No OFD packet to send [11:14:09]OFD Sender: No OFD packet to send [11:14:14]OFD Sender: No OFD packet to send [11:14:19]OFD Sender: No OFD packet to send [11:14:24]OFD Sender: No OFD packet to send [11:14:29]OFD Sender: No OFD packet to send [11:14:34]OFD Sender: No OFD packet to send [11:14:39]OFD Sender: No OFD packet to send [11:14:44]OFD Sender: No OFD packet to send [11:14:49]OFD Sender: No OFD packet to send [11:14:54]OFD Sender: No OFD packet to send [11:14:59]OFD Sender: No OFD packet to send [11:15:04]OFD Sender: No OFD packet to send [11:15:09]OFD Sender: No OFD packet to send [11:15:14]OFD Sender: No OFD packet to send [11:15:19]OFD Sender: No OFD packet to send [11:15:24]OFD Sender: No OFD packet to send [11:15:29]OFD Sender: No OFD packet to send [11:15:34]OFD Sender: No OFD packet to send [11:15:39]OFD Sender: No OFD packet to send [11:15:44]OFD Sender: No OFD packet to send [11:15:49]OFD Sender: No OFD packet to send [11:15:54]OFD Sender: No OFD packet to send [11:15:59]OFD Sender: No OFD packet to send [11:16:04]OFD Sender: No OFD packet to send [11:16:09]OFD Sender: No OFD packet to send [11:16:15]OFD Sender: No OFD packet to send [11:16:20]OFD Sender: No OFD packet to send [11:16:25]OFD Sender: No OFD packet to send [11:16:30]OFD Sender: No OFD packet to send [11:16:35]OFD Sender: No OFD packet to send [11:16:40]OFD Sender: No OFD packet to send [11:16:45]OFD Sender: No OFD packet to send [11:16:50]OFD Sender: No OFD packet to send [11:16:55]OFD Sender: No OFD packet to send [11:17:00]OFD Sender: No OFD packet to send [11:17:05]OFD Sender: No OFD packet to send [11:17:10]OFD Sender: No OFD packet to send [11:17:15]OFD Sender: No OFD packet to send [11:17:20]OFD Sender: No OFD packet to send [11:17:25]OFD Sender: No OFD packet to send [11:17:30]OFD Sender: No OFD packet to send [11:17:35]OFD Sender: No OFD packet to send [11:17:40]OFD Sender: No OFD packet to send [11:17:45]OFD Sender: No OFD packet to send [11:17:50]OFD Sender: No OFD packet to send [11:17:55]OFD Sender: No OFD packet to send [11:18:00]OFD Sender: No OFD packet to send [11:18:05]OFD Sender: No OFD packet to send [11:18:10]OFD Sender: No OFD packet to send [11:18:15]OFD Sender: No OFD packet to send [11:18:20]OFD Sender: No OFD packet to send [11:18:25]OFD Sender: No OFD packet to send [11:18:30]OFD Sender: No OFD packet to send [11:18:35]OFD Sender: No OFD packet to send [11:18:40]OFD Sender: No OFD packet to send [11:18:45]OFD Sender: No OFD packet to send [11:18:50]OFD Sender: No OFD packet to send [11:18:55]OFD Sender: No OFD packet to send [11:19:00]OFD Sender: No OFD packet to send [11:19:05]OFD Sender: No OFD packet to send [11:19:10]OFD Sender: No OFD packet to send [11:19:15]OFD Sender: No OFD packet to send [11:19:20]OFD Sender: No OFD packet to send [11:19:25]OFD Sender: No OFD packet to send [11:19:30]OFD Sender: No OFD packet to send [11:19:35]OFD Sender: No OFD packet to send [11:19:40]OFD Sender: No OFD packet to send [11:19:45]OFD Sender: No OFD packet to send [11:19:50]OFD Sender: No OFD packet to send [11:19:55]OFD Sender: No OFD packet to send [11:20:00]OFD Sender: No OFD packet to send [11:20:05]OFD Sender: No OFD packet to send [11:20:10]OFD Sender: No OFD packet to send [11:20:15]OFD Sender: No OFD packet to send [11:20:20]OFD Sender: No OFD packet to send [11:20:25]OFD Sender: No OFD packet to send [11:20:30]OFD Sender: No OFD packet to send [11:20:35]OFD Sender: No OFD packet to send [11:20:40]OFD Sender: No OFD packet to send [11:20:45]OFD Sender: No OFD packet to send [11:20:50]OFD Sender: No OFD packet to send [11:20:55]OFD Sender: No OFD packet to send [11:21:00]OFD Sender: No OFD packet to send [11:21:05]OFD Sender: No OFD packet to send [11:21:10]OFD Sender: No OFD packet to send [11:21:15]OFD Sender: No OFD packet to send [11:21:20]OFD Sender: No OFD packet to send [11:21:25]OFD Sender: No OFD packet to send [11:21:30]OFD Sender: No OFD packet to send [11:21:35]OFD Sender: No OFD packet to send [11:21:40]OFD Sender: No OFD packet to send [11:21:45]OFD Sender: No OFD packet to send [11:21:50]OFD Sender: No OFD packet to send [11:21:55]OFD Sender: No OFD packet to send [11:22:00]OFD Sender: No OFD packet to send [11:22:05]OFD Sender: No OFD packet to send [11:22:10]OFD Sender: No OFD packet to send [11:22:15]OFD Sender: No OFD packet to send [11:22:20]OFD Sender: No OFD packet to send [11:22:25]OFD Sender: No OFD packet to send [11:22:30]OFD Sender: No OFD packet to send [11:22:35]OFD Sender: No OFD packet to send [11:22:40]OFD Sender: No OFD packet to send [11:22:45]OFD Sender: No OFD packet to send [11:22:50]OFD Sender: No OFD packet to send [11:22:55]OFD Sender: No OFD packet to send [11:23:00]OFD Sender: No OFD packet to send [11:23:05]OFD Sender: No OFD packet to send [11:23:10]OFD Sender: No OFD packet to send [11:23:15]OFD Sender: No OFD packet to send [11:23:20]OFD Sender: No OFD packet to send [11:23:25]OFD Sender: No OFD packet to send [11:23:30]OFD Sender: No OFD packet to send [11:23:35]OFD Sender: No OFD packet to send [11:23:40]OFD Sender: No OFD packet to send [11:23:45]OFD Sender: No OFD packet to send [11:23:50]OFD Sender: No OFD packet to send [11:23:55]OFD Sender: No OFD packet to send [11:24:00]OFD Sender: No OFD packet to send [11:24:05]OFD Sender: No OFD packet to send [11:24:10]OFD Sender: No OFD packet to send [11:24:15]OFD Sender: No OFD packet to send [11:24:20]OFD Sender: No OFD packet to send [11:24:25]OFD Sender: No OFD packet to send [11:24:30]OFD Sender: No OFD packet to send [11:24:35]OFD Sender: No OFD packet to send [11:24:40]OFD Sender: No OFD packet to send [11:24:45]OFD Sender: No OFD packet to send [11:24:50]OFD Sender: No OFD packet to send [11:24:55]OFD Sender: No OFD packet to send [11:25:00]OFD Sender: No OFD packet to send [11:25:05]OFD Sender: No OFD packet to send [11:25:10]OFD Sender: No OFD packet to send [11:25:15]OFD Sender: No OFD packet to send [11:25:20]OFD Sender: No OFD packet to send [11:25:25]OFD Sender: No OFD packet to send [11:25:30]OFD Sender: No OFD packet to send [11:25:35]OFD Sender: No OFD packet to send [11:25:40]OFD Sender: No OFD packet to send [11:25:45]OFD Sender: No OFD packet to send [11:25:50]OFD Sender: No OFD packet to send [11:25:55]OFD Sender: No OFD packet to send [11:26:00]OFD Sender: No OFD packet to send [11:26:05]OFD Sender: No OFD packet to send [11:26:10]OFD Sender: No OFD packet to send [11:26:15]OFD Sender: No OFD packet to send [11:26:20]OFD Sender: No OFD packet to send [11:26:25]OFD Sender: No OFD packet to send [11:26:30]OFD Sender: No OFD packet to send [11:26:35]OFD Sender: No OFD packet to send [11:26:40]OFD Sender: No OFD packet to send [11:26:45]OFD Sender: No OFD packet to send [11:26:50]OFD Sender: No OFD packet to send [11:26:55]OFD Sender: No OFD packet to send [11:27:00]OFD Sender: No OFD packet to send [11:27:05]OFD Sender: No OFD packet to send [11:27:10]OFD Sender: No OFD packet to send [11:27:15]OFD Sender: No OFD packet to send [11:27:20]OFD Sender: No OFD packet to send [11:27:25]OFD Sender: No OFD packet to send [11:27:30]OFD Sender: No OFD packet to send [11:27:35]OFD Sender: No OFD packet to send [11:27:40]OFD Sender: No OFD packet to send [11:27:45]OFD Sender: No OFD packet to send [11:27:50]OFD Sender: No OFD packet to send [11:27:55]OFD Sender: No OFD packet to send [11:28:00]OFD Sender: No OFD packet to send [11:28:05]OFD Sender: No OFD packet to send [11:28:10]OFD Sender: No OFD packet to send [11:28:15]OFD Sender: No OFD packet to send [11:28:20]OFD Sender: No OFD packet to send [11:28:25]OFD Sender: No OFD packet to send [11:28:30]OFD Sender: No OFD packet to send [11:28:35]OFD Sender: No OFD packet to send [11:28:40]OFD Sender: No OFD packet to send [11:28:45]OFD Sender: No OFD packet to send [11:28:50]OFD Sender: No OFD packet to send [11:28:55]OFD Sender: No OFD packet to send [11:29:00]OFD Sender: No OFD packet to send [11:29:05]OFD Sender: No OFD packet to send [11:29:10]OFD Sender: No OFD packet to send [11:29:15]OFD Sender: No OFD packet to send [11:29:20]OFD Sender: No OFD packet to send [11:29:25]OFD Sender: No OFD packet to send [11:29:30]OFD Sender: No OFD packet to send [11:29:35]OFD Sender: No OFD packet to send [11:29:40]OFD Sender: No OFD packet to send [11:29:45]OFD Sender: No OFD packet to send [11:29:50]OFD Sender: No OFD packet to send [11:29:55]OFD Sender: No OFD packet to send [11:30:00]OFD Sender: No OFD packet to send [11:30:05]OFD Sender: No OFD packet to send [11:30:10]OFD Sender: No OFD packet to send [11:30:15]OFD Sender: No OFD packet to send [11:30:20]OFD Sender: No OFD packet to send [11:30:25]OFD Sender: No OFD packet to send [11:30:30]OFD Sender: No OFD packet to send [11:30:35]OFD Sender: No OFD packet to send [11:30:40]OFD Sender: No OFD packet to send [11:30:45]OFD Sender: No OFD packet to send [11:30:50]OFD Sender: No OFD packet to send [11:30:55]OFD Sender: No OFD packet to send [11:31:00]OFD Sender: No OFD packet to send [11:31:05]OFD Sender: No OFD packet to send [11:31:10]OFD Sender: No OFD packet to send [11:31:15]OFD Sender: No OFD packet to send [11:31:20]OFD Sender: No OFD packet to send [11:31:25]OFD Sender: No OFD packet to send [11:31:30]OFD Sender: No OFD packet to send [11:31:35]OFD Sender: No OFD packet to send [11:31:40]OFD Sender: No OFD packet to send [11:31:45]OFD Sender: No OFD packet to send [11:31:50]OFD Sender: No OFD packet to send [11:31:55]OFD Sender: No OFD packet to send [11:32:00]OFD Sender: No OFD packet to send [11:32:05]OFD Sender: No OFD packet to send [11:32:10]OFD Sender: No OFD packet to send [11:32:15]OFD Sender: No OFD packet to send [11:32:20]OFD Sender: No OFD packet to send [11:32:25]OFD Sender: No OFD packet to send [11:32:30]OFD Sender: No OFD packet to send [11:32:35]OFD Sender: No OFD packet to send [11:32:40]OFD Sender: No OFD packet to send [11:32:45]OFD Sender: No OFD packet to send [11:32:50]OFD Sender: No OFD packet to send [11:32:55]OFD Sender: No OFD packet to send [11:33:00]OFD Sender: No OFD packet to send [11:33:05]OFD Sender: No OFD packet to send [11:33:10]OFD Sender: No OFD packet to send [11:33:15]OFD Sender: No OFD packet to send [11:33:20]OFD Sender: No OFD packet to send [11:33:25]OFD Sender: No OFD packet to send [11:33:30]OFD Sender: No OFD packet to send [11:33:35]OFD Sender: No OFD packet to send [11:33:40]OFD Sender: No OFD packet to send [11:33:45]OFD Sender: No OFD packet to send [11:33:50]OFD Sender: No OFD packet to send [11:33:55]OFD Sender: No OFD packet to send [11:34:00]OFD Sender: No OFD packet to send [11:34:05]OFD Sender: No OFD packet to send [11:34:10]OFD Sender: No OFD packet to send [11:34:15]OFD Sender: No OFD packet to send [11:34:20]OFD Sender: No OFD packet to send [11:34:25]OFD Sender: No OFD packet to send [11:34:30]OFD Sender: No OFD packet to send [11:34:35]OFD Sender: No OFD packet to send [11:34:40]OFD Sender: No OFD packet to send [11:34:45]OFD Sender: No OFD packet to send [11:34:50]OFD Sender: No OFD packet to send [11:34:55]OFD Sender: No OFD packet to send [11:35:00]OFD Sender: No OFD packet to send [11:35:05]OFD Sender: No OFD packet to send [11:35:10]OFD Sender: No OFD packet to send [11:35:15]OFD Sender: No OFD packet to send [11:35:20]OFD Sender: No OFD packet to send [11:35:25]OFD Sender: No OFD packet to send [11:35:30]OFD Sender: No OFD packet to send [11:35:35]OFD Sender: No OFD packet to send [11:35:40]OFD Sender: No OFD packet to send [11:35:45]OFD Sender: No OFD packet to send [11:35:50]OFD Sender: No OFD packet to send [11:35:55]OFD Sender: No OFD packet to send [11:36:00]OFD Sender: No OFD packet to send [11:36:05]OFD Sender: No OFD packet to send [11:36:10]OFD Sender: No OFD packet to send [11:36:15]OFD Sender: No OFD packet to send [11:36:20]OFD Sender: No OFD packet to send [11:36:25]OFD Sender: No OFD packet to send [11:36:30]OFD Sender: No OFD packet to send [11:36:35]OFD Sender: No OFD packet to send [11:36:40]OFD Sender: No OFD packet to send [11:36:45]OFD Sender: No OFD packet to send [11:36:50]OFD Sender: No OFD packet to send [11:36:55]OFD Sender: No OFD packet to send [11:37:00]OFD Sender: No OFD packet to send [11:37:05]OFD Sender: No OFD packet to send [11:37:10]OFD Sender: No OFD packet to send [11:37:15]OFD Sender: No OFD packet to send [11:37:20]OFD Sender: No OFD packet to send [11:37:25]OFD Sender: No OFD packet to send [11:37:30]OFD Sender: No OFD packet to send [11:37:35]OFD Sender: No OFD packet to send [11:37:40]OFD Sender: No OFD packet to send [11:37:45]OFD Sender: No OFD packet to send [11:37:51]OFD Sender: No OFD packet to send [11:37:56]OFD Sender: No OFD packet to send [11:38:01]OFD Sender: No OFD packet to send [11:38:06]OFD Sender: No OFD packet to send [11:38:11]OFD Sender: No OFD packet to send [11:38:16]OFD Sender: No OFD packet to send [11:38:21]OFD Sender: No OFD packet to send [11:38:26]OFD Sender: No OFD packet to send [11:38:31]OFD Sender: No OFD packet to send [11:38:36]OFD Sender: No OFD packet to send [11:38:41]OFD Sender: No OFD packet to send [11:38:46]OFD Sender: No OFD packet to send [11:38:51]OFD Sender: No OFD packet to send [11:38:56]OFD Sender: No OFD packet to send [11:39:01]OFD Sender: No OFD packet to send [11:39:06]OFD Sender: No OFD packet to send [11:39:11]OFD Sender: No OFD packet to send [11:39:16]OFD Sender: No OFD packet to send [11:39:21]OFD Sender: No OFD packet to send [11:39:26]OFD Sender: No OFD packet to send [11:39:31]OFD Sender: No OFD packet to send [11:39:36]OFD Sender: No OFD packet to send [11:39:41]OFD Sender: No OFD packet to send [11:39:46]OFD Sender: No OFD packet to send [11:39:51]OFD Sender: No OFD packet to send [11:39:56]OFD Sender: No OFD packet to send [11:40:01]OFD Sender: No OFD packet to send [11:40:06]OFD Sender: No OFD packet to send [11:40:11]OFD Sender: No OFD packet to send [11:40:16]OFD Sender: No OFD packet to send [11:40:21]OFD Sender: No OFD packet to send [11:40:26]OFD Sender: No OFD packet to send [11:40:31]OFD Sender: No OFD packet to send [11:40:36]OFD Sender: No OFD packet to send [11:40:41]OFD Sender: No OFD packet to send [11:40:46]OFD Sender: No OFD packet to send [11:40:51]OFD Sender: No OFD packet to send [11:40:56]OFD Sender: No OFD packet to send [11:41:01]OFD Sender: No OFD packet to send [11:41:06]OFD Sender: No OFD packet to send [11:41:11]OFD Sender: No OFD packet to send [11:41:16]OFD Sender: No OFD packet to send [11:41:21]OFD Sender: No OFD packet to send [11:41:26]OFD Sender: No OFD packet to send [11:41:31]OFD Sender: No OFD packet to send [11:41:36]OFD Sender: No OFD packet to send [11:41:41]OFD Sender: No OFD packet to send [11:41:46]OFD Sender: No OFD packet to send [11:41:51]OFD Sender: No OFD packet to send [11:41:56]OFD Sender: No OFD packet to send [11:42:01]OFD Sender: No OFD packet to send [11:42:06]OFD Sender: No OFD packet to send [11:42:11]OFD Sender: No OFD packet to send [11:42:16]OFD Sender: No OFD packet to send [11:42:21]OFD Sender: No OFD packet to send [11:42:26]OFD Sender: No OFD packet to send [11:42:31]OFD Sender: No OFD packet to send [11:42:36]OFD Sender: No OFD packet to send [11:42:41]OFD Sender: No OFD packet to send [11:42:46]OFD Sender: No OFD packet to send [11:42:51]OFD Sender: No OFD packet to send [11:42:56]OFD Sender: No OFD packet to send [11:43:01]OFD Sender: No OFD packet to send [11:43:06]OFD Sender: No OFD packet to send [11:43:11]OFD Sender: No OFD packet to send [11:43:16]OFD Sender: No OFD packet to send [11:43:21]OFD Sender: No OFD packet to send [11:43:26]OFD Sender: No OFD packet to send [11:43:31]OFD Sender: No OFD packet to send [11:43:36]OFD Sender: No OFD packet to send [11:43:41]OFD Sender: No OFD packet to send [11:43:46]OFD Sender: No OFD packet to send [11:43:51]OFD Sender: No OFD packet to send [11:43:56]OFD Sender: No OFD packet to send [11:44:01]OFD Sender: No OFD packet to send [11:44:06]OFD Sender: No OFD packet to send [11:44:11]OFD Sender: No OFD packet to send [11:44:16]OFD Sender: No OFD packet to send [11:44:21]OFD Sender: No OFD packet to send [11:44:26]OFD Sender: No OFD packet to send [11:44:31]OFD Sender: No OFD packet to send [11:44:36]OFD Sender: No OFD packet to send [11:44:41]OFD Sender: No OFD packet to send [11:44:46]OFD Sender: No OFD packet to send [11:44:51]OFD Sender: No OFD packet to send [11:44:56]OFD Sender: No OFD packet to send [11:45:01]OFD Sender: No OFD packet to send [11:45:06]OFD Sender: No OFD packet to send [11:45:11]OFD Sender: No OFD packet to send [11:45:16]OFD Sender: No OFD packet to send [11:45:21]OFD Sender: No OFD packet to send [11:45:26]OFD Sender: No OFD packet to send [11:45:31]OFD Sender: No OFD packet to send [11:45:36]OFD Sender: No OFD packet to send [11:45:41]OFD Sender: No OFD packet to send [11:45:46]OFD Sender: No OFD packet to send [11:45:51]OFD Sender: No OFD packet to send [11:45:56]OFD Sender: No OFD packet to send [11:46:01]OFD Sender: No OFD packet to send [11:46:06]OFD Sender: No OFD packet to send [11:46:11]OFD Sender: No OFD packet to send [11:46:16]OFD Sender: No OFD packet to send [11:46:21]OFD Sender: No OFD packet to send [11:46:26]OFD Sender: No OFD packet to send [11:46:31]OFD Sender: No OFD packet to send [11:46:36]OFD Sender: No OFD packet to send [11:46:41]OFD Sender: No OFD packet to send [11:46:46]OFD Sender: No OFD packet to send [11:46:51]OFD Sender: No OFD packet to send [11:46:56]OFD Sender: No OFD packet to send [11:47:01]OFD Sender: No OFD packet to send [11:47:06]OFD Sender: No OFD packet to send [11:47:11]OFD Sender: No OFD packet to send [11:47:16]OFD Sender: No OFD packet to send [11:47:21]OFD Sender: No OFD packet to send [11:47:26]OFD Sender: No OFD packet to send [11:47:31]OFD Sender: No OFD packet to send [11:47:36]OFD Sender: No OFD packet to send [11:47:41]OFD Sender: No OFD packet to send [11:47:46]OFD Sender: No OFD packet to send [11:47:51]OFD Sender: No OFD packet to send [11:47:56]OFD Sender: No OFD packet to send [11:48:01]OFD Sender: No OFD packet to send [11:48:06]OFD Sender: No OFD packet to send [11:48:11]OFD Sender: No OFD packet to send [11:48:16]OFD Sender: No OFD packet to send [11:48:21]OFD Sender: No OFD packet to send [11:48:26]OFD Sender: No OFD packet to send [11:48:31]OFD Sender: No OFD packet to send [11:48:36]OFD Sender: No OFD packet to send [11:48:41]OFD Sender: No OFD packet to send [11:48:46]OFD Sender: No OFD packet to send [11:48:51]OFD Sender: No OFD packet to send [11:48:56]OFD Sender: No OFD packet to send [11:49:01]OFD Sender: No OFD packet to send [11:49:06]OFD Sender: No OFD packet to send [11:49:11]OFD Sender: No OFD packet to send [11:49:16]OFD Sender: No OFD packet to send [11:49:21]OFD Sender: No OFD packet to send [11:49:26]OFD Sender: No OFD packet to send [11:49:31]OFD Sender: No OFD packet to send [11:49:36]OFD Sender: No OFD packet to send [11:49:41]OFD Sender: No OFD packet to send [11:49:46]OFD Sender: No OFD packet to send [11:49:51]OFD Sender: No OFD packet to send [11:49:56]OFD Sender: No OFD packet to send [11:50:01]OFD Sender: No OFD packet to send [11:50:06]OFD Sender: No OFD packet to send [11:50:11]OFD Sender: No OFD packet to send [11:50:16]OFD Sender: No OFD packet to send [11:50:21]OFD Sender: No OFD packet to send [11:50:26]OFD Sender: No OFD packet to send [11:50:31]OFD Sender: No OFD packet to send [11:50:36]OFD Sender: No OFD packet to send [11:50:41]OFD Sender: No OFD packet to send [11:50:46]OFD Sender: No OFD packet to send [11:50:51]OFD Sender: No OFD packet to send [11:50:56]OFD Sender: No OFD packet to send [11:51:01]OFD Sender: No OFD packet to send [11:51:06]OFD Sender: No OFD packet to send [11:51:11]OFD Sender: No OFD packet to send [11:51:16]OFD Sender: No OFD packet to send [11:51:21]OFD Sender: No OFD packet to send [11:51:26]OFD Sender: No OFD packet to send [11:51:31]OFD Sender: No OFD packet to send [11:51:36]OFD Sender: No OFD packet to send [11:51:41]OFD Sender: No OFD packet to send [11:51:46]OFD Sender: No OFD packet to send [11:51:51]OFD Sender: No OFD packet to send [11:51:56]OFD Sender: No OFD packet to send [11:52:01]OFD Sender: No OFD packet to send [11:52:06]OFD Sender: No OFD packet to send [11:52:11]OFD Sender: No OFD packet to send [11:52:16]OFD Sender: No OFD packet to send [11:52:21]OFD Sender: No OFD packet to send [11:52:26]OFD Sender: No OFD packet to send [11:52:31]OFD Sender: No OFD packet to send [11:52:36]OFD Sender: No OFD packet to send [11:52:41]OFD Sender: No OFD packet to send [11:52:46]OFD Sender: No OFD packet to send [11:52:51]OFD Sender: No OFD packet to send [11:52:56]OFD Sender: No OFD packet to send [11:53:01]OFD Sender: No OFD packet to send [11:53:06]OFD Sender: No OFD packet to send [11:53:11]OFD Sender: No OFD packet to send [11:53:16]OFD Sender: No OFD packet to send [11:53:21]OFD Sender: No OFD packet to send [11:53:26]OFD Sender: No OFD packet to send [11:53:31]OFD Sender: No OFD packet to send [11:53:36]OFD Sender: No OFD packet to send [11:53:41]OFD Sender: No OFD packet to send [11:53:46]OFD Sender: No OFD packet to send [11:53:51]OFD Sender: No OFD packet to send [11:53:56]OFD Sender: No OFD packet to send [11:54:01]OFD Sender: No OFD packet to send [11:54:06]OFD Sender: No OFD packet to send [11:54:11]OFD Sender: No OFD packet to send [11:54:16]OFD Sender: No OFD packet to send [11:54:21]OFD Sender: No OFD packet to send [11:54:26]OFD Sender: No OFD packet to send [11:54:31]OFD Sender: No OFD packet to send [11:54:36]OFD Sender: No OFD packet to send [11:54:41]OFD Sender: No OFD packet to send [11:54:46]OFD Sender: No OFD packet to send [11:54:51]OFD Sender: No OFD packet to send [11:54:56]OFD Sender: No OFD packet to send [11:55:01]OFD Sender: No OFD packet to send [11:55:06]OFD Sender: No OFD packet to send [11:55:11]OFD Sender: No OFD packet to send [11:55:16]OFD Sender: No OFD packet to send [11:55:21]OFD Sender: No OFD packet to send [11:55:26]OFD Sender: No OFD packet to send [11:55:31]OFD Sender: No OFD packet to send [11:55:36]OFD Sender: No OFD packet to send [11:55:41]OFD Sender: No OFD packet to send [11:55:46]OFD Sender: No OFD packet to send [11:55:51]OFD Sender: No OFD packet to send [11:55:56]OFD Sender: No OFD packet to send [11:56:01]OFD Sender: No OFD packet to send [11:56:06]OFD Sender: No OFD packet to send [11:56:11]OFD Sender: No OFD packet to send [11:56:16]OFD Sender: No OFD packet to send [11:56:21]OFD Sender: No OFD packet to send [11:56:26]OFD Sender: No OFD packet to send [11:56:31]OFD Sender: No OFD packet to send [11:56:36]OFD Sender: No OFD packet to send [11:56:41]OFD Sender: No OFD packet to send [11:56:46]OFD Sender: No OFD packet to send [11:56:51]OFD Sender: No OFD packet to send [11:56:56]OFD Sender: No OFD packet to send [11:57:01]OFD Sender: No OFD packet to send [11:57:06]OFD Sender: No OFD packet to send [11:57:11]OFD Sender: No OFD packet to send [11:57:16]OFD Sender: No OFD packet to send [11:57:21]OFD Sender: No OFD packet to send [11:57:26]OFD Sender: No OFD packet to send [11:57:31]OFD Sender: No OFD packet to send [11:57:36]OFD Sender: No OFD packet to send [11:57:41]OFD Sender: No OFD packet to send [11:57:46]OFD Sender: No OFD packet to send [11:57:51]OFD Sender: No OFD packet to send [11:57:56]OFD Sender: No OFD packet to send [11:58:01]OFD Sender: No OFD packet to send [11:58:06]OFD Sender: No OFD packet to send [11:58:11]OFD Sender: No OFD packet to send [11:58:16]OFD Sender: No OFD packet to send [11:58:21]OFD Sender: No OFD packet to send [11:58:26]OFD Sender: No OFD packet to send [11:58:31]OFD Sender: No OFD packet to send [11:58:36]OFD Sender: No OFD packet to send [11:58:41]OFD Sender: No OFD packet to send [11:58:46]OFD Sender: No OFD packet to send [11:58:51]OFD Sender: No OFD packet to send [11:58:56]OFD Sender: No OFD packet to send [11:59:01]OFD Sender: No OFD packet to send [11:59:06]OFD Sender: No OFD packet to send [11:59:11]OFD Sender: No OFD packet to send [11:59:16]OFD Sender: No OFD packet to send [11:59:21]OFD Sender: No OFD packet to send [11:59:27]OFD Sender: No OFD packet to send [11:59:32]OFD Sender: No OFD packet to send [11:59:37]OFD Sender: No OFD packet to send [11:59:42]OFD Sender: No OFD packet to send [11:59:47]OFD Sender: No OFD packet to send [11:59:52]OFD Sender: No OFD packet to send [11:59:57]OFD Sender: No OFD packet to send [12:00:02]OFD Sender: No OFD packet to send [12:00:07]OFD Sender: No OFD packet to send [12:00:12]OFD Sender: No OFD packet to send [12:00:17]OFD Sender: No OFD packet to send [12:00:22]OFD Sender: No OFD packet to send [12:00:27]OFD Sender: No OFD packet to send [12:00:32]OFD Sender: No OFD packet to send [12:00:37]OFD Sender: No OFD packet to send [12:00:42]OFD Sender: No OFD packet to send [12:00:47]OFD Sender: No OFD packet to send [12:00:50]accept exits with 8 [12:00:50]New connection [12:00:50]New thread 3067084132 created [12:00:50]Thread 3066940772 joined [12:00:50]Waiting for new connection... [12:00:50] Sock 8.Parse request [12:00:50]Sock 8.Check first char [12:00:50]Sock 8.First char is OK [12:00:50]request: POST /json_proto HTTP/1.0 [12:00:50]Method: POST [12:00:50]URL: /json_proto [12:00:50]Method is POST - this is cgi request [12:00:50]url: /json_proto [12:00:50]query_string will be loaded in cgi processing [12:00:50]execute_cgi json_proto POST (null) [12:00:50]execute_cgi path=json_proto method=POST [12:00:50]POST find Content-Length [12:00:50]Host: 172.17.50.4:8080 [12:00:50]Content-Length: 677 [12:00:50]Content-Type: application/json [12:00:50] [12:00:50]POST finish read [12:00:50]Found Content-Length = 677 [12:00:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134843", "tax_sys" : 0, "items" : [ { "code": "4870022003312", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 99.00, "quantity" : 2.000, "sum" : 198.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 198.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:00:50]execute_script... [12:00: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)134843", "tax_sys" : 0, "items" : [ { "code": "4870022003312", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 99.00, "quantity" : 2.000, "sum" : 198.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 198.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:00:50]POST & json_proto [12:00:50]process_json_proto [12:00:50]json parsed OK: [12:00:50]protocol is kg_v1.0 [12:00:50]action value=close_receipt [12:00:50]process_action close_receipt [12:00:50]cmd_close_receipt [12:00:50]MH_GetDate [12:00:50]Write to MH i2c: F0 00 00 AD 04 A0 [12:00:50]Write i2c OK [12:00:50]MH_I2C_Read... [12:00:50]Read from MH i2c: F0 [12:00:50]MH_I2C_Read... [12:00:50]Read from MH i2c: F0 09 00 [12:00:50]MH_I2C_Read... [12:00:50]Read from MH i2c: F0 09 00 AD 04 00 74 42 16 67 3B 12 16 67 A6 [12:00:50]GetLastDocTimeStamp 1729507757 [12:00:50]current date 1729512052 [12:00:50]FM_GetShiftState [12:00:50]SAM_PROTO_GetShiftState [12:00:50]wFMCommunicate request_size=4 [12:00:50]MH_SAM_APDU [12:00:50]CAPDU: 80 13 01 00 [12:00:50]Write to MH i2c: E2 08 00 AE 04 80 13 01 00 00 00 00 00 2F [12:00:50]Write i2c OK [12:00:50]MH_I2C_Read... [12:00:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:00:50]Read from MH i2c: E2 [12:00:50]MH_I2C_Read... [12:00:50]Read from MH i2c: E2 0E 00 [12:00:50]MH_I2C_Read... [12:00:50]Read from MH i2c: E2 0E 00 AE 04 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 79 [12:00:50]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:00:50]wFMCommunicate OK [12:00:50]SAM_PROTO_GetShiftState done [12:00:50]FM_GetShiftState done [12:00:50]opened in 1729469223 [12:00:50]opened+sec_in_day 1729555623 [12:00:50]quantity*price = 19800 [12:00:50]sum+1 = 19801 [12:00:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 198.00 НСП 1% : 1.75 НДС 12% : 21.03 Наличными: 198.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 25 21.10.2024 12:00 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24321 ФПД: 142840769196380 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T120052&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24321&fm=142840769196380&tin=02508201610067®Number=0000000000098120&sum=19800 0 [12:00:51]StoreToDocumentArchive [12:00:51]shift 461 fd 24321 [12:00:51]save to /storage/0461/doc_00024321 [12:00:51]save last doc name /storage/0461/doc_00024321 to /storage/kkm_last_doc_name [12:00:51]save OK [12:00:51]Clear old archive folders... [12:00:51]ProcessDocumentItem done err = 0, tmpTLVsize=294 [12:00:51]tlvbuf is 00330070 [12:00:51]SAM_PROTO_ClearQueue [12:00:51]wFMCommunicate request_size=4 [12:00:51]MH_SAM_APDU [12:00:51]CAPDU: 80 09 00 00 [12:00:51]Write to MH i2c: E2 08 00 BB 04 80 09 00 00 00 00 00 00 31 [12:00:51]Write i2c OK [12:00:51]MH_I2C_Read... [12:00:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:00:51]Read from MH i2c: E2 [12:00:51]MH_I2C_Read... [12:00:51]Read from MH i2c: E2 03 00 [12:00:51]MH_I2C_Read... [12:00:51]Read from MH i2c: E2 03 00 BB 04 00 90 00 33 [12:00:51]RAPDU: 90 00 [12:00:51]wFMCommunicate OK [12:00:51]SAM_PROTO_ClearQueue done [12:00:51]KKMCreateOFDPacket [12:00:51]OFDProtocolAddRootSTLVToBuf [12:00:51]FM_MakeSignedData [12:00:51]FM_MakeSignedData [12:00:51]SAM_PROTO_SignData [12:00:51]wFMCommunicate request_size=4 [12:00:51]MH_SAM_APDU [12:00:51]CAPDU: 80 0D 01 02 [12:00:51]Write to MH i2c: E2 08 00 BC 04 80 0D 01 02 00 00 00 00 39 [12:00:51]Write i2c OK [12:00:51]MH_I2C_Read... [12:00:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:00:51]Read from MH i2c: E2 [12:00:51]MH_I2C_Read... [12:00:51]Read from MH i2c: E2 03 00 [12:00:51]MH_I2C_Read... [12:00:51]Read from MH i2c: E2 03 00 BC 04 00 90 00 34 [12:00:51]RAPDU: 90 00 [12:00:51]wFMCommunicate OK [12:00:51]wFMCommunicate request_size=255 [12:00:51]MH_SAM_APDU [12:00:51]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 58 4D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 37 08 00 00 00 00 07 04 06 00 58 4D 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 74 42 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [12:00:51]Write to MH i2c: E2 02 01 BD 04 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 58 4D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 37 08 00 00 00 00 07 04 06 00 58 4D 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 74 42 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 37 [12:00:52]Write i2c OK [12:00:52]MH_I2C_Read... [12:00:52]OFD Sender: No OFD packet to send [12:00:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:00:52]Read from MH i2c: E2 [12:00:52]MH_I2C_Read... [12:00:52]Read from MH i2c: E2 03 00 [12:00:52]MH_I2C_Read... [12:00:52]Read from MH i2c: E2 03 00 BD 04 00 90 00 35 [12:00:52]RAPDU: 90 00 [12:00:52]wFMCommunicate OK [12:00:52]wFMCommunicate request_size=53 [12:00:52]MH_SAM_APDU [12:00:52]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 01 5F 00 00 35 04 06 00 81 E9 B5 4E B1 5C [12:00:52]Write to MH i2c: E2 38 00 BE 04 80 0D 02 02 30 00 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 01 5F 00 00 35 04 06 00 81 E9 B5 4E B1 5C 00 00 00 [12:00:52]Write i2c OK [12:00:52]MH_I2C_Read... [12:00:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:00:52]Read from MH i2c: E2 [12:00:52]MH_I2C_Read... [12:00:52]Read from MH i2c: E2 03 00 [12:00:52]MH_I2C_Read... [12:00:52]Read from MH i2c: E2 03 00 BE 04 00 90 00 36 [12:00:52]RAPDU: 90 00 [12:00:52]wFMCommunicate OK [12:00:52]wFMCommunicate request_size=4 [12:00:52]MH_SAM_APDU [12:00:52]CAPDU: 80 0D 03 02 [12:00:52]Write to MH i2c: E2 08 00 BF 04 80 0D 03 02 00 00 00 00 3E [12:00:52]Write i2c OK [12:00:52]MH_I2C_Read... [12:00:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:00:52]Read from MH i2c: E2 [12:00:52]MH_I2C_Read... [12:00:52]Read from MH i2c: E2 0B 00 [12:00:52]MH_I2C_Read... [12:00:52]Read from MH i2c: E2 0B 00 BF 04 00 35 50 BF A5 32 B1 51 C9 90 00 25 [12:00:52]RAPDU: 35 50 BF A5 32 B1 51 C9 90 00 [12:00:52]wFMCommunicate OK [12:00:52]SAM_PROTO_SignData done [12:00:52]FM_MakeSignedData done [12:00:52]CreateOFDProtocolMessage [12:00:52]wFMCommunicate request_size=4 [12:00:52]MH_SAM_APDU [12:00:52]CAPDU: 80 11 00 00 [12:00:52]Write to MH i2c: E2 08 00 C0 04 80 11 00 00 00 00 00 00 3E [12:00:52]Write i2c OK [12:00:52]MH_I2C_Read... [12:00:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:00:52]Read from MH i2c: E2 [12:00:52]MH_I2C_Read... [12:00:52]Read from MH i2c: E2 17 00 [12:00:52]MH_I2C_Read... [12:00:52]Read from MH i2c: E2 17 00 C0 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 8B [12:00:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:00:52]wFMCommunicate OK [12:00:52]CreateOFDProtocolMessage done [12:00:52]OFDSenderStorePacket 24321 [12:00:52]StoreOFDPacket docnum=24321 [12:00:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 3A 01 00 00 B8 22 32 01 8C E8 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 58 4D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 37 08 00 00 00 00 07 04 06 00 58 4D 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 74 42 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 01 5F 00 00 35 04 06 00 81 E9 B5 4E B1 5C 35 50 BF A5 32 B1 51 C9 [12:00:52]CheckFolder [12:00:52]dirname=/storage/ofd_packets [12:00:52]CheckFolder done [12:00:52]ProducePacketName [12:00:52]name=ofd_packets/00024321 [12:00:52]NVStorageSaveData ofd_packets/00024321 [12:00:52]File name is /storage/ofd_packets/00024321 [12:00:52]Write 344 bytes [12:00:52]NVStorageSaveData done [12:00:52]OFDSenderStorePacket done [12:00:52]KKMCreateOFDPacket done [12:00:52]NVStorageSaveData kkm_last_timestamp [12:00:52]File name is /storage/kkm_last_timestamp [12:00:52]Write 4 bytes [12:00:52]NVStorageSaveData done [12:00:52]ExternCall_PrintAddStr [12:00:52]wPrintStart [12:00:52]Write to MH i2c: 01 00 00 C1 04 C5 [12:00:52]Write i2c OK [12:00:52]MH_I2C_Read... [12:00:52]Read from MH i2c: 01 [12:00:52]MH_I2C_Read... [12:00:52]Read from MH i2c: 01 07 00 [12:00:52]MH_I2C_Read... [12:00:52]Read from MH i2c: 01 07 00 C1 04 00 00 00 00 00 FF 0F DA [12:00:52]RasterBufferAndPrint [12:00:52]line Счет N : (3)134843 [12:00:52]line ИНН: 02508201610067 [12:00:52]line Контрольно-Кассовый Чек [12:00:52]line ПРОДАЖА [12:00:52]line Товар: 4870022003312 [12:00:52]line Gorilla эн нап манго-кокос 0,45 ж/б [12:00:52]line 2.000 * 99.00 [12:00:52]line = 198.00 [12:00:52]line НДС 12% НСП 1% [12:00:52]line > о реализуемом товаре [12:00:52]line ИТОГО: 198.00 [12:00:52]line НСП 1% : 1.75 [12:00:52]line НДС 12% : 21.03 [12:00:52]line Наличными: 198.00 [12:00:52]line Безнал.: 0.00 [12:00:52]line Место: АЗС № 85 "Партнер Нефть" [12:00:52]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:00:52]line СНО: Общий режим [12:00:52]line Чек 25 21.10.2024 12:00 [12:00:52]line Смена: 461 ФФД: 1.0 [12:00:52]line ЗНМ: 0300000166 [12:00:52]line РНМ: 0000000000098120 [12:00:52]line Версия ККМ: 001 [12:00:52]line ФМ: 0000000000965420 [12:00:52]line ФД: 24321 [12:00:52]line ФПД: 142840769196380 [12:00:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T120052&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24321&fm=142840769196380&tin=02508201610067®Number=0000000000098120&sum=19800 [12:00:52]line 0 [12:00:52]OFD Sender: Processing packet 24321 [packets to send 5, broken 4] [12:00:52]ProducePacketName [12:00:52]name=ofd_packets/00024321 [12:00:52]OFD Sender: To server: pG, [12:00:52]CommunicateWithHost lk.salyk.kg:30040 [12:00:52]ConnectInit lk.salyk.kg [12:00:52]written 0, free lines is 4095 [12:00:52]Connected sock=10 [12:00: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 34 32 30 3A 01 00 00 B8 22 32 01 8C E8 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 58 4D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 37 08 00 00 00 00 07 04 06 00 58 4D 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 74 42 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 01 5F 00 00 35 04 06 00 81 E9 B5 4E B1 5C 35 50 BF A5 32 B1 51 C9 [12:00:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 EF 9E 47 00 E0 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 34 32 30 10 04 04 00 01 5F 00 00 F4 03 04 00 1A EE 15 67 B6 04 01 00 00 B9 80 58 4C 37 BA 7B 93 [12:00:53]CommunicateWithHost err = 0 [12:00:53]CheckOFDResponse [12:00:53]1017 (14) - 77093643461234 [12:00:53]1041 (16) - 0000000000965420 [12:00:53]1040 (4) - 24321 [12:00:53]1012 (4) - 21.10.2024 06:00 [12:00:53]1206 (1) - 0 [12:00:53]OFD Sender: Remove packet 24321 [12:00:53]ProducePacketName [12:00:53]name=ofd_packets/00024321 [12:00:53]NVStorageDeleteData [12:00:53]Write to MH i2c: 01 00 00 EA 04 EE [12:00:53]Write i2c OK [12:00:53]MH_I2C_Read... [12:00:53]Read from MH i2c: 01 [12:00:53]MH_I2C_Read... [12:00:53]Read from MH i2c: 01 07 00 [12:00:53]MH_I2C_Read... [12:00:53]Read from MH i2c: 01 07 00 EA 04 00 00 00 00 00 09 0D 0B [12:00:53]RasterBufferAndPrint [12:00:53]line [12:00:53]line [12:00:53]line [12:00:53]line [12:00:53]line [12:00:53]written 0, free lines is 3343 [12:00:53]process_action close_receipt done [12:00:53]requested_data is exist [12:00:53]produce_requested_data [12:00:53]requested_item fm.sn is exist - process it [12:00:53]wFMCommunicate request_size=4 [12:00:53]MH_SAM_APDU [12:00:53]CAPDU: 80 11 00 00 [12:00:53]Write to MH i2c: E2 08 00 F1 04 80 11 00 00 00 00 00 00 6F [12:00:53]Write i2c OK [12:00:53]MH_I2C_Read... [12:00:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:00:53]Read from MH i2c: E2 [12:00:53]MH_I2C_Read... [12:00:53]Read from MH i2c: E2 17 00 [12:00:53]MH_I2C_Read... [12:00:53]Read from MH i2c: E2 17 00 F1 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 BC [12:00:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:00:53]wFMCommunicate OK [12:00:53]requested_item fd.num is exist - process it [12:00:53]SAM_PROTO_GetFieldsCounters [12:00:53]wFMCommunicate request_size=4 [12:00:53]MH_SAM_APDU [12:00:53]CAPDU: 80 13 00 00 [12:00:53]Write to MH i2c: E2 08 00 F2 04 80 13 00 00 00 00 00 00 72 [12:00:53]Write i2c OK [12:00:53]MH_I2C_Read... [12:00:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:00:53]Read from MH i2c: E2 [12:00:53]MH_I2C_Read... [12:00:53]Read from MH i2c: E2 62 00 [12:00:53]MH_I2C_Read... [12:00:53]Read from MH i2c: E2 62 00 F2 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 01 5F 00 00 0E 04 04 00 CD 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 01 [12:00: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 01 5F 00 00 0E 04 04 00 CD 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 [12:00:53]wFMCommunicate OK [12:00:53]SAM_PROTO_GetFieldsCounters done [12:00:53]requested_item shift.num is exist - process it [12:00:53]requested_item shift.opened is exist - process it [12:00:53]req_shift_opened [12:00:53]FM_GetShiftState [12:00:53]SAM_PROTO_GetShiftState [12:00:53]wFMCommunicate request_size=4 [12:00:53]MH_SAM_APDU [12:00:53]CAPDU: 80 13 01 00 [12:00:53]Write to MH i2c: E2 08 00 F3 04 80 13 01 00 00 00 00 00 74 [12:00:53]Write i2c OK [12:00:53]MH_I2C_Read... [12:00:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:00:53]Read from MH i2c: E2 [12:00:53]MH_I2C_Read... [12:00:53]Read from MH i2c: E2 0E 00 [12:00:53]MH_I2C_Read... [12:00:53]Read from MH i2c: E2 0E 00 F3 04 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 BE [12:00:53]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:00:53]wFMCommunicate OK [12:00:53]SAM_PROTO_GetShiftState done [12:00:53]FM_GetShiftState done [12:00:53]req_shift_opened done [12:00:53]requested_item shift.open_date is exist - process it [12:00:53]req_shift_open_date [12:00:53]req_shift_open_date done [12:00:53]produce_requested_data done [12:00:53]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24321,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [12:00:53]process_action_free close_receipt [12:00:53]json_value_free [12:00:53]json_value_free done [12:00:53]process_json_proto returns [12:00:53]Send response to host [12:00:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24321,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [12:00:53]free response buf [12:00:53]execute_script done [12:00:53]execute_script returns [12:00:53]free content buf [12:00:53]Sock 8.Close socket [12:00:53]Sock 8.Thread stoped [12:00:53]OFD Sender: No OFD packet to send [12:00:58]OFD Sender: No OFD packet to send [12:01:03]OFD Sender: No OFD packet to send [12:01:08]OFD Sender: No OFD packet to send [12:01:13]OFD Sender: No OFD packet to send [12:01:18]OFD Sender: No OFD packet to send [12:01:23]OFD Sender: No OFD packet to send [12:01:28]OFD Sender: No OFD packet to send [12:01:33]OFD Sender: No OFD packet to send [12:01:38]OFD Sender: No OFD packet to send [12:01:43]OFD Sender: No OFD packet to send [12:01:48]OFD Sender: No OFD packet to send [12:01:53]OFD Sender: No OFD packet to send [12:01:58]OFD Sender: No OFD packet to send [12:02:03]OFD Sender: No OFD packet to send [12:02:08]OFD Sender: No OFD packet to send [12:02:13]OFD Sender: No OFD packet to send [12:02:18]OFD Sender: No OFD packet to send [12:02:23]OFD Sender: No OFD packet to send [12:02:28]OFD Sender: No OFD packet to send [12:02:33]OFD Sender: No OFD packet to send [12:02:38]OFD Sender: No OFD packet to send [12:02:43]OFD Sender: No OFD packet to send [12:02:48]OFD Sender: No OFD packet to send [12:02:53]OFD Sender: No OFD packet to send [12:02:58]OFD Sender: No OFD packet to send [12:03:03]OFD Sender: No OFD packet to send [12:03:08]OFD Sender: No OFD packet to send [12:03:13]OFD Sender: No OFD packet to send [12:03:18]OFD Sender: No OFD packet to send [12:03:23]OFD Sender: No OFD packet to send [12:03:28]OFD Sender: No OFD packet to send [12:03:33]OFD Sender: No OFD packet to send [12:03:38]OFD Sender: No OFD packet to send [12:03:43]OFD Sender: No OFD packet to send [12:03:48]OFD Sender: No OFD packet to send [12:03:53]OFD Sender: No OFD packet to send [12:03:58]OFD Sender: No OFD packet to send [12:04:03]OFD Sender: No OFD packet to send [12:04:08]OFD Sender: No OFD packet to send [12:04:13]OFD Sender: No OFD packet to send [12:04:18]OFD Sender: No OFD packet to send [12:04:23]OFD Sender: No OFD packet to send [12:04:28]OFD Sender: No OFD packet to send [12:04:33]OFD Sender: No OFD packet to send [12:04:38]OFD Sender: No OFD packet to send [12:04:43]OFD Sender: No OFD packet to send [12:04:48]OFD Sender: No OFD packet to send [12:04:53]OFD Sender: No OFD packet to send [12:04:58]OFD Sender: No OFD packet to send [12:05:03]OFD Sender: No OFD packet to send [12:05:08]OFD Sender: No OFD packet to send [12:05:13]OFD Sender: No OFD packet to send [12:05:18]OFD Sender: No OFD packet to send [12:05:23]OFD Sender: No OFD packet to send [12:05:28]OFD Sender: No OFD packet to send [12:05:33]OFD Sender: No OFD packet to send [12:05:38]OFD Sender: No OFD packet to send [12:05:43]OFD Sender: No OFD packet to send [12:05:48]OFD Sender: No OFD packet to send [12:05:53]OFD Sender: No OFD packet to send [12:05:58]OFD Sender: No OFD packet to send [12:06:03]OFD Sender: No OFD packet to send [12:06:08]accept exits with 9 [12:06:08]New connection [12:06:08]New thread 3066940772 created [12:06:08]Thread 3067084132 joined [12:06:08]Waiting for new connection... [12:06:08] Sock 9.Parse request [12:06:08]Sock 9.Check first char [12:06:08]Sock 9.First char is OK [12:06:08]request: POST /json_proto HTTP/1.0 [12:06:08]Method: POST [12:06:08]URL: /json_proto [12:06:08]Method is POST - this is cgi request [12:06:08]url: /json_proto [12:06:08]query_string will be loaded in cgi processing [12:06:08]execute_cgi json_proto POST (null) [12:06:08]execute_cgi path=json_proto method=POST [12:06:08]POST find Content-Length [12:06:08]Host: 172.17.50.4:8080 [12:06:08]Content-Length: 684 [12:06:08]Content-Type: application/json [12:06:08] [12:06:08]POST finish read [12:06:08]Found Content-Length = 684 [12:06:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2885557", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194240", "name": "D-ENERGY \u0414\u0442-\u041A-2", "price" : 77.20, "quantity" : 5.830, "sum" : 450.08, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 450.00, "total" : 450.00, "payments": [ { "type": 0, "sum" : 450.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:06:08]execute_script... [12:06:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2885557", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194240", "name": "D-ENERGY \u0414\u0442-\u041A-2", "price" : 77.20, "quantity" : 5.830, "sum" : 450.08, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 450.00, "total" : 450.00, "payments": [ { "type": 0, "sum" : 450.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:06:08]POST & json_proto [12:06:08]process_json_proto [12:06:08]json parsed OK: [12:06:08]protocol is kg_v1.0 [12:06:08]action value=close_receipt [12:06:08]process_action close_receipt [12:06:08]cmd_close_receipt [12:06:08]MH_GetDate [12:06:08]Write to MH i2c: F0 00 00 F4 04 E7 [12:06:08]Write i2c OK [12:06:08]MH_I2C_Read... [12:06:08]Read from MH i2c: F0 [12:06:08]MH_I2C_Read... [12:06:08]Read from MH i2c: F0 09 00 [12:06:08]MH_I2C_Read... [12:06:08]Read from MH i2c: F0 09 00 F4 04 00 B1 43 16 67 3B 12 16 67 2B [12:06:08]GetLastDocTimeStamp 1729512052 [12:06:08]current date 1729512369 [12:06:08]FM_GetShiftState [12:06:08]SAM_PROTO_GetShiftState [12:06:08]wFMCommunicate request_size=4 [12:06:08]MH_SAM_APDU [12:06:08]CAPDU: 80 13 01 00 [12:06:08]Write to MH i2c: E2 08 00 F5 04 80 13 01 00 00 00 00 00 76 [12:06:08]Write i2c OK [12:06:08]MH_I2C_Read... [12:06:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:06:08]Read from MH i2c: E2 [12:06:08]MH_I2C_Read... [12:06:08]Read from MH i2c: E2 0E 00 [12:06:08]MH_I2C_Read... [12:06:08]Read from MH i2c: E2 0E 00 F5 04 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 C0 [12:06:08]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:06:08]wFMCommunicate OK [12:06:08]SAM_PROTO_GetShiftState done [12:06:08]FM_GetShiftState done [12:06:08]opened in 1729469223 [12:06:08]opened+sec_in_day 1729555623 [12:06:08]quantity*price = 45007 [12:06:08]sum+1 = 45009 [12:06:08]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.08 ИТОГО: 450.00 Внесено: 450.00 СДАЧА: 0.00 НСП 1% : 3.98 НДС 12% : 47.80 Наличными: 450.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 26 21.10.2024 12:06 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24322 ФПД: 142920943467129 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T120609&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24322&fm=142920943467129&tin=02508201610067®Number=0000000000098120&sum=45000 [12:06:09]StoreToDocumentArchive [12:06:09]shift 461 fd 24322 [12:06:09]save to /storage/0461/doc_00024322 [12:06:09]save last doc name /storage/0461/doc_00024322 to /storage/kkm_last_doc_name [12:06:09]save OK [12:06:09]Clear old archive folders... [12:06:09]ProcessDocumentItem done err = 0, tmpTLVsize=257 [12:06:09]tlvbuf is 0032FC60 [12:06:09]SAM_PROTO_ClearQueue [12:06:09]wFMCommunicate request_size=4 [12:06:09]MH_SAM_APDU [12:06:09]CAPDU: 80 09 00 00 [12:06:09]Write to MH i2c: E2 08 00 02 05 80 09 00 00 00 00 00 00 79 [12:06:09]Write i2c OK [12:06:09]MH_I2C_Read... [12:06:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:06:09]Read from MH i2c: E2 [12:06:09]MH_I2C_Read... [12:06:09]Read from MH i2c: E2 03 00 [12:06:09]MH_I2C_Read... [12:06:09]Read from MH i2c: E2 03 00 02 05 00 90 00 7B [12:06:09]RAPDU: 90 00 [12:06:09]wFMCommunicate OK [12:06:09]SAM_PROTO_ClearQueue done [12:06:09]KKMCreateOFDPacket [12:06:09]OFDProtocolAddRootSTLVToBuf [12:06:09]FM_MakeSignedData [12:06:09]FM_MakeSignedData [12:06:09]SAM_PROTO_SignData [12:06:09]wFMCommunicate request_size=4 [12:06:09]MH_SAM_APDU [12:06:09]CAPDU: 80 0D 01 02 [12:06:09]Write to MH i2c: E2 08 00 03 05 80 0D 01 02 00 00 00 00 81 [12:06:09]Write i2c OK [12:06:09]MH_I2C_Read... [12:06:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:06:09]Read from MH i2c: E2 [12:06:09]MH_I2C_Read... [12:06:09]Read from MH i2c: E2 03 00 [12:06:09]MH_I2C_Read... [12:06:09]Read from MH i2c: E2 03 00 03 05 00 90 00 7C [12:06:09]RAPDU: 90 00 [12:06:09]wFMCommunicate OK [12:06:09]wFMCommunicate request_size=255 [12:06:09]MH_SAM_APDU [12:06:09]CAPDU: 80 0D 02 02 FA 03 00 01 01 1E 04 01 00 01 23 04 53 00 8A 04 0A 00 32 37 31 30 31 39 34 32 34 30 06 04 12 00 44 2D 45 4E 45 52 47 59 20 D0 94 D1 82 2D D0 9A 2D 32 FF 03 08 00 03 C6 16 00 00 00 00 00 37 04 06 00 28 1E 00 00 00 00 13 04 06 00 D0 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AC 12 00 00 00 00 07 04 06 00 C8 AF 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 B1 43 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 02 5F 00 [12:06:09]Write to MH i2c: E2 02 01 04 05 80 0D 02 02 FA 00 03 00 01 01 1E 04 01 00 01 23 04 53 00 8A 04 0A 00 32 37 31 30 31 39 34 32 34 30 06 04 12 00 44 2D 45 4E 45 52 47 59 20 D0 94 D1 82 2D D0 9A 2D 32 FF 03 08 00 03 C6 16 00 00 00 00 00 37 04 06 00 28 1E 00 00 00 00 13 04 06 00 D0 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AC 12 00 00 00 00 07 04 06 00 C8 AF 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 B1 43 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 02 5F 00 00 00 82 [12:06:09]Write i2c OK [12:06:09]MH_I2C_Read... [12:06:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:06:09]Read from MH i2c: E2 [12:06:09]MH_I2C_Read... [12:06:09]Read from MH i2c: E2 03 00 [12:06:09]MH_I2C_Read... [12:06:09]Read from MH i2c: E2 03 00 04 05 00 90 00 7D [12:06:09]RAPDU: 90 00 [12:06:09]wFMCommunicate OK [12:06:09]wFMCommunicate request_size=16 [12:06:09]MH_SAM_APDU [12:06:09]CAPDU: 80 0D 02 02 0B 00 35 04 06 00 81 FC 60 10 FA 79 [12:06:09]Write to MH i2c: E2 13 00 05 05 80 0D 02 02 0B 00 00 35 04 06 00 81 FC 60 10 FA 79 00 00 39 [12:06:09]Write i2c OK [12:06:09]MH_I2C_Read... [12:06:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:06:09]Read from MH i2c: E2 [12:06:09]MH_I2C_Read... [12:06:09]Read from MH i2c: E2 03 00 [12:06:09]MH_I2C_Read... [12:06:09]Read from MH i2c: E2 03 00 05 05 00 90 00 7E [12:06:09]RAPDU: 90 00 [12:06:09]wFMCommunicate OK [12:06:09]wFMCommunicate request_size=4 [12:06:09]MH_SAM_APDU [12:06:09]CAPDU: 80 0D 03 02 [12:06:09]Write to MH i2c: E2 08 00 06 05 80 0D 03 02 00 00 00 00 86 [12:06:09]Write i2c OK [12:06:09]MH_I2C_Read... [12:06:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:06:09]Read from MH i2c: E2 [12:06:09]MH_I2C_Read... [12:06:09]Read from MH i2c: E2 0B 00 [12:06:09]MH_I2C_Read... [12:06:09]Read from MH i2c: E2 0B 00 06 05 00 78 1D 41 00 B9 99 AF 2E 90 00 8C [12:06:09]RAPDU: 78 1D 41 00 B9 99 AF 2E 90 00 [12:06:09]wFMCommunicate OK [12:06:09]SAM_PROTO_SignData done [12:06:09]FM_MakeSignedData done [12:06:09]CreateOFDProtocolMessage [12:06:09]wFMCommunicate request_size=4 [12:06:09]MH_SAM_APDU [12:06:09]CAPDU: 80 11 00 00 [12:06:09]Write to MH i2c: E2 08 00 07 05 80 11 00 00 00 00 00 00 86 [12:06:09]Write i2c OK [12:06:09]MH_I2C_Read... [12:06:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:06:09]Read from MH i2c: E2 [12:06:09]MH_I2C_Read... [12:06:09]Read from MH i2c: E2 17 00 [12:06:09]MH_I2C_Read... [12:06:09]Read from MH i2c: E2 17 00 07 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 D3 [12:06:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:06:09]wFMCommunicate OK [12:06:09]CreateOFDProtocolMessage done [12:06:09]OFDSenderStorePacket 24322 [12:06:09]StoreOFDPacket docnum=24322 [12:06:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 15 01 00 00 35 F4 0D 01 EA 44 5A 03 01 00 03 00 01 01 1E 04 01 00 01 23 04 53 00 8A 04 0A 00 32 37 31 30 31 39 34 32 34 30 06 04 12 00 44 2D 45 4E 45 52 47 59 20 D0 94 D1 82 2D D0 9A 2D 32 FF 03 08 00 03 C6 16 00 00 00 00 00 37 04 06 00 28 1E 00 00 00 00 13 04 06 00 D0 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AC 12 00 00 00 00 07 04 06 00 C8 AF 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 B1 43 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 02 5F 00 00 35 04 06 00 81 FC 60 10 FA 79 78 1D 41 00 B9 99 AF 2E [12:06:09]CheckFolder [12:06:09]dirname=/storage/ofd_packets [12:06:09]CheckFolder done [12:06:09]ProducePacketName [12:06:09]name=ofd_packets/00024322 [12:06:09]NVStorageSaveData ofd_packets/00024322 [12:06:09]File name is /storage/ofd_packets/00024322 [12:06:09]Write 307 bytes [12:06:09]NVStorageSaveData done [12:06:09]OFDSenderStorePacket done [12:06:09]KKMCreateOFDPacket done [12:06:09]NVStorageSaveData kkm_last_timestamp [12:06:09]File name is /storage/kkm_last_timestamp [12:06:09]Write 4 bytes [12:06:09]NVStorageSaveData done [12:06:09]ExternCall_PrintAddStr [12:06:09]wPrintStart [12:06:09]Write to MH i2c: 01 00 00 08 05 0D [12:06:09]Write i2c OK [12:06:09]MH_I2C_Read... [12:06:09]Read from MH i2c: 01 [12:06:09]MH_I2C_Read... [12:06:09]Read from MH i2c: 01 07 00 [12:06:09]MH_I2C_Read... [12:06:09]Read from MH i2c: 01 07 00 08 05 00 00 00 00 00 FF 0F 22 [12:06:09]RasterBufferAndPrint [12:06:09]line Счет N : (1)2885557 [12:06:09]line ИНН: 02508201610067 [12:06:09]line Контрольно-Кассовый Чек [12:06:09]line ПРОДАЖА [12:06:09]line ТРК (МРК, ГНК) : 31 [12:06:09]line Товар: 2710194240 [12:06:09]line D-ENERGY Дт-К-2 [12:06:09]line 5.830 * 77.20 [12:06:09]line = 450.08 [12:06:09]line НДС 12% НСП 1% [12:06:09]line > о реализуемом товаре [12:06:09]line ОКРУГЛЕНИЕ: -0.08 [12:06:09]line ИТОГО: 450.00 [12:06:09]line Внесено: 450.00 [12:06:09]line СДАЧА: 0.00 [12:06:09]line НСП 1% : 3.98 [12:06:09]line НДС 12% : 47.80 [12:06:09]line Наличными: 450.00 [12:06:09]line Безнал.: 0.00 [12:06:09]line Место: АЗС № 85 "Партнер Нефть" [12:06:09]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:06:09]line СНО: Общий режим [12:06:09]line Чек 26 21.10.2024 12:06 [12:06:09]line Смена: 461 ФФД: 1.0 [12:06:09]line ЗНМ: 0300000166 [12:06:09]line РНМ: 0000000000098120 [12:06:09]line Версия ККМ: 001 [12:06:09]line ФМ: 0000000000965420 [12:06:09]line ФД: 24322 [12:06:09]line ФПД: 142920943467129 [12:06:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T120609&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24322&fm=142920943467129&tin=02508201610067®Number=0000000000098120&sum=45000 [12:06:10]OFD Sender: Processing packet 24322 [packets to send 5, broken 4] [12:06:10]ProducePacketName [12:06:10]name=ofd_packets/00024322 [12:06:10]OFD Sender: To server: pG, [12:06:10]CommunicateWithHost lk.salyk.kg:30040 [12:06:10]ConnectInit lk.salyk.kg [12:06:10]written 0, free lines is 4095 [12:06:10]Connected sock=10 [12:06: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 34 32 30 15 01 00 00 35 F4 0D 01 EA 44 5A 03 01 00 03 00 01 01 1E 04 01 00 01 23 04 53 00 8A 04 0A 00 32 37 31 30 31 39 34 32 34 30 06 04 12 00 44 2D 45 4E 45 52 47 59 20 D0 94 D1 82 2D D0 9A 2D 32 FF 03 08 00 03 C6 16 00 00 00 00 00 37 04 06 00 28 1E 00 00 00 00 13 04 06 00 D0 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AC 12 00 00 00 00 07 04 06 00 C8 AF 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 B1 43 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 02 5F 00 00 35 04 06 00 81 FC 60 10 FA 79 78 1D 41 00 B9 99 AF 2E [12:06:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 07 94 47 00 99 28 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 34 32 30 10 04 04 00 02 5F 00 00 F4 03 04 00 58 EF 15 67 B6 04 01 00 00 FF 53 1F 80 48 16 13 29 [12:06:10]CommunicateWithHost err = 0 [12:06:10]CheckOFDResponse [12:06:10]1017 (14) - 77093643461234 [12:06:10]1041 (16) - 0000000000965420 [12:06:10]1040 (4) - 24322 [12:06:10]1012 (4) - 21.10.2024 06:06 [12:06:10]1206 (1) - 0 [12:06:10]OFD Sender: Remove packet 24322 [12:06:10]ProducePacketName [12:06:10]name=ofd_packets/00024322 [12:06:10]NVStorageDeleteData [12:06:10]Write to MH i2c: 01 00 00 33 05 38 [12:06:10]Write i2c OK [12:06:10]MH_I2C_Read... [12:06:10]Read from MH i2c: 01 [12:06:10]MH_I2C_Read... [12:06:10]Read from MH i2c: 01 07 00 [12:06:10]MH_I2C_Read... [12:06:10]Read from MH i2c: 01 07 00 33 05 00 00 00 00 00 03 0D 4F [12:06:10]RasterBufferAndPrint [12:06:10]line [12:06:10]line [12:06:10]line [12:06:10]line [12:06:10]line [12:06:10]written 0, free lines is 3337 [12:06:10]process_action close_receipt done [12:06:10]requested_data is exist [12:06:10]produce_requested_data [12:06:10]requested_item fm.sn is exist - process it [12:06:10]wFMCommunicate request_size=4 [12:06:10]MH_SAM_APDU [12:06:10]CAPDU: 80 11 00 00 [12:06:10]Write to MH i2c: E2 08 00 3A 05 80 11 00 00 00 00 00 00 B9 [12:06:10]Write i2c OK [12:06:10]MH_I2C_Read... [12:06:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:06:10]Read from MH i2c: E2 [12:06:10]MH_I2C_Read... [12:06:10]Read from MH i2c: E2 17 00 [12:06:10]MH_I2C_Read... [12:06:10]Read from MH i2c: E2 17 00 3A 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 06 [12:06:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:06:10]wFMCommunicate OK [12:06:10]requested_item fd.num is exist - process it [12:06:10]SAM_PROTO_GetFieldsCounters [12:06:10]wFMCommunicate request_size=4 [12:06:10]MH_SAM_APDU [12:06:10]CAPDU: 80 13 00 00 [12:06:10]Write to MH i2c: E2 08 00 3B 05 80 13 00 00 00 00 00 00 BC [12:06:10]Write i2c OK [12:06:10]MH_I2C_Read... [12:06:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:06:10]Read from MH i2c: E2 [12:06:10]MH_I2C_Read... [12:06:10]Read from MH i2c: E2 62 00 [12:06:10]MH_I2C_Read... [12:06:10]Read from MH i2c: E2 62 00 3B 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 02 5F 00 00 0E 04 04 00 CD 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 4F [12:06: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 02 5F 00 00 0E 04 04 00 CD 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 [12:06:10]wFMCommunicate OK [12:06:10]SAM_PROTO_GetFieldsCounters done [12:06:10]requested_item shift.num is exist - process it [12:06:10]requested_item shift.opened is exist - process it [12:06:10]req_shift_opened [12:06:10]FM_GetShiftState [12:06:10]SAM_PROTO_GetShiftState [12:06:10]wFMCommunicate request_size=4 [12:06:10]MH_SAM_APDU [12:06:10]CAPDU: 80 13 01 00 [12:06:10]Write to MH i2c: E2 08 00 3C 05 80 13 01 00 00 00 00 00 BE [12:06:10]Write i2c OK [12:06:10]MH_I2C_Read... [12:06:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:06:11]Read from MH i2c: E2 [12:06:11]MH_I2C_Read... [12:06:11]Read from MH i2c: E2 0E 00 [12:06:11]MH_I2C_Read... [12:06:11]Read from MH i2c: E2 0E 00 3C 05 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 08 [12:06:11]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:06:11]wFMCommunicate OK [12:06:11]SAM_PROTO_GetShiftState done [12:06:11]FM_GetShiftState done [12:06:11]req_shift_opened done [12:06:11]requested_item shift.open_date is exist - process it [12:06:11]req_shift_open_date [12:06:11]req_shift_open_date done [12:06:11]produce_requested_data done [12:06:11]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24322,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [12:06:11]process_action_free close_receipt [12:06:11]json_value_free [12:06:11]json_value_free done [12:06:11]process_json_proto returns [12:06:11]Send response to host [12:06:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24322,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [12:06:11]free response buf [12:06:11]execute_script done [12:06:11]execute_script returns [12:06:11]free content buf [12:06:11]Sock 9.Close socket [12:06:11]Sock 9.Thread stoped [12:06:11]OFD Sender: No OFD packet to send [12:06:16]OFD Sender: No OFD packet to send [12:06:21]OFD Sender: No OFD packet to send [12:06:26]OFD Sender: No OFD packet to send [12:06:31]OFD Sender: No OFD packet to send [12:06:36]OFD Sender: No OFD packet to send [12:06:37]accept exits with 8 [12:06:37]New connection [12:06:37]New thread 3067084132 created [12:06:37]Thread 3066940772 joined [12:06:37]Waiting for new connection... [12:06:37] Sock 8.Parse request [12:06:37]Sock 8.Check first char [12:06:37]Sock 8.First char is OK [12:06:37]request: POST /json_proto HTTP/1.0 [12:06:37]Method: POST [12:06:37]URL: /json_proto [12:06:37]Method is POST - this is cgi request [12:06:37]url: /json_proto [12:06:37]query_string will be loaded in cgi processing [12:06:37]execute_cgi json_proto POST (null) [12:06:37]execute_cgi path=json_proto method=POST [12:06:37]POST find Content-Length [12:06:37]Host: 172.17.50.4:8080 [12:06:37]Content-Length: 711 [12:06:37]Content-Type: application/json [12:06:37] [12:06:37]POST finish read [12:06:37]Found Content-Length = 711 [12:06:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134844", "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" ] } } [12:06:37]execute_script... [12:06: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)134844", "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" ] } } [12:06:37]POST & json_proto [12:06:37]process_json_proto [12:06:37]json parsed OK: [12:06:37]protocol is kg_v1.0 [12:06:37]action value=close_receipt [12:06:37]process_action close_receipt [12:06:37]cmd_close_receipt [12:06:37]MH_GetDate [12:06:37]Write to MH i2c: F0 00 00 3D 05 31 [12:06:37]Write i2c OK [12:06:37]MH_I2C_Read... [12:06:37]Read from MH i2c: F0 [12:06:37]MH_I2C_Read... [12:06:37]Read from MH i2c: F0 09 00 [12:06:37]MH_I2C_Read... [12:06:37]Read from MH i2c: F0 09 00 3D 05 00 CF 43 16 67 3B 12 16 67 93 [12:06:37]GetLastDocTimeStamp 1729512369 [12:06:37]current date 1729512399 [12:06:37]FM_GetShiftState [12:06:37]SAM_PROTO_GetShiftState [12:06:37]wFMCommunicate request_size=4 [12:06:37]MH_SAM_APDU [12:06:37]CAPDU: 80 13 01 00 [12:06:37]Write to MH i2c: E2 08 00 3E 05 80 13 01 00 00 00 00 00 C0 [12:06:37]Write i2c OK [12:06:37]MH_I2C_Read... [12:06:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:06:37]Read from MH i2c: E2 [12:06:37]MH_I2C_Read... [12:06:37]Read from MH i2c: E2 0E 00 [12:06:37]MH_I2C_Read... [12:06:37]Read from MH i2c: E2 0E 00 3E 05 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 0A [12:06:37]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:06:37]wFMCommunicate OK [12:06:37]SAM_PROTO_GetShiftState done [12:06:37]FM_GetShiftState done [12:06:37]opened in 1729469223 [12:06:37]opened+sec_in_day 1729555623 [12:06:37]quantity*price = 8400 [12:06:37]sum+1 = 8401 [12:06:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 84.00 НСП 1% : 0.74 НДС 12% : 8.92 Наличными: 84.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 27 21.10.2024 12:06 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24323 ФПД: 145229742980858 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T120639&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24323&fm=145229742980858&tin=02508201610067®Number=0000000000098120&sum=8400 0 [12:06:38]StoreToDocumentArchive [12:06:38]shift 461 fd 24323 [12:06:38]save to /storage/0461/doc_00024323 [12:06:38]save last doc name /storage/0461/doc_00024323 to /storage/kkm_last_doc_name [12:06:38]save OK [12:06:38]Clear old archive folders... [12:06:38]ProcessDocumentItem done err = 0, tmpTLVsize=302 [12:06:38]tlvbuf is 00340810 [12:06:38]SAM_PROTO_ClearQueue [12:06:38]wFMCommunicate request_size=4 [12:06:38]MH_SAM_APDU [12:06:38]CAPDU: 80 09 00 00 [12:06:38]Write to MH i2c: E2 08 00 4B 05 80 09 00 00 00 00 00 00 C2 [12:06:38]Write i2c OK [12:06:38]MH_I2C_Read... [12:06:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:06:38]Read from MH i2c: E2 [12:06:38]MH_I2C_Read... [12:06:38]Read from MH i2c: E2 03 00 [12:06:38]MH_I2C_Read... [12:06:38]Read from MH i2c: E2 03 00 4B 05 00 90 00 C4 [12:06:38]RAPDU: 90 00 [12:06:38]wFMCommunicate OK [12:06:38]SAM_PROTO_ClearQueue done [12:06:38]KKMCreateOFDPacket [12:06:38]OFDProtocolAddRootSTLVToBuf [12:06:38]FM_MakeSignedData [12:06:38]FM_MakeSignedData [12:06:38]SAM_PROTO_SignData [12:06:38]wFMCommunicate request_size=4 [12:06:38]MH_SAM_APDU [12:06:38]CAPDU: 80 0D 01 02 [12:06:38]Write to MH i2c: E2 08 00 4C 05 80 0D 01 02 00 00 00 00 CA [12:06:38]Write i2c OK [12:06:38]MH_I2C_Read... [12:06:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:06:38]Read from MH i2c: E2 [12:06:38]MH_I2C_Read... [12:06:38]Read from MH i2c: E2 03 00 [12:06:38]MH_I2C_Read... [12:06:38]Read from MH i2c: E2 03 00 4C 05 00 90 00 C5 [12:06:38]RAPDU: 90 00 [12:06:38]wFMCommunicate OK [12:06:38]wFMCommunicate request_size=255 [12:06:38]MH_SAM_APDU [12:06:38]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 1B 00 00 00 F4 03 04 00 CF 43 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 [12:06:38]Write to MH i2c: E2 02 01 4D 05 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 1B 00 00 00 F4 03 04 00 CF 43 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 00 00 E0 [12:06:38]Write i2c OK [12:06:38]MH_I2C_Read... [12:06:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:06:39]Read from MH i2c: E2 [12:06:39]MH_I2C_Read... [12:06:39]Read from MH i2c: E2 03 00 [12:06:39]MH_I2C_Read... [12:06:39]Read from MH i2c: E2 03 00 4D 05 00 90 00 C6 [12:06:39]RAPDU: 90 00 [12:06:39]wFMCommunicate OK [12:06:39]wFMCommunicate request_size=61 [12:06:39]MH_SAM_APDU [12:06:39]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 03 5F 00 00 35 04 06 00 84 15 EF 3D BE FA [12:06:39]Write to MH i2c: E2 40 00 4E 05 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 03 5F 00 00 35 04 06 00 84 15 EF 3D BE FA 00 00 D6 [12:06:39]Write i2c OK [12:06:39]MH_I2C_Read... [12:06:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:06:39]Read from MH i2c: E2 [12:06:39]MH_I2C_Read... [12:06:39]Read from MH i2c: E2 03 00 [12:06:39]MH_I2C_Read... [12:06:39]Read from MH i2c: E2 03 00 4E 05 00 90 00 C7 [12:06:39]RAPDU: 90 00 [12:06:39]wFMCommunicate OK [12:06:39]wFMCommunicate request_size=4 [12:06:39]MH_SAM_APDU [12:06:39]CAPDU: 80 0D 03 02 [12:06:39]Write to MH i2c: E2 08 00 4F 05 80 0D 03 02 00 00 00 00 CF [12:06:39]Write i2c OK [12:06:39]MH_I2C_Read... [12:06:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:06:39]Read from MH i2c: E2 [12:06:39]MH_I2C_Read... [12:06:39]Read from MH i2c: E2 0B 00 [12:06:39]MH_I2C_Read... [12:06:39]Read from MH i2c: E2 0B 00 4F 05 00 07 26 71 FE B6 7C D3 3A 90 00 AB [12:06:39]RAPDU: 07 26 71 FE B6 7C D3 3A 90 00 [12:06:39]wFMCommunicate OK [12:06:39]SAM_PROTO_SignData done [12:06:39]FM_MakeSignedData done [12:06:39]CreateOFDProtocolMessage [12:06:39]wFMCommunicate request_size=4 [12:06:39]MH_SAM_APDU [12:06:39]CAPDU: 80 11 00 00 [12:06:39]Write to MH i2c: E2 08 00 50 05 80 11 00 00 00 00 00 00 CF [12:06:39]Write i2c OK [12:06:39]MH_I2C_Read... [12:06:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:06:39]Read from MH i2c: E2 [12:06:39]MH_I2C_Read... [12:06:39]Read from MH i2c: E2 17 00 [12:06:39]MH_I2C_Read... [12:06:39]Read from MH i2c: E2 17 00 50 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 1C [12:06:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:06:39]wFMCommunicate OK [12:06:39]CreateOFDProtocolMessage done [12:06:39]OFDSenderStorePacket 24323 [12:06:39]StoreOFDPacket docnum=24323 [12:06:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 42 01 00 00 1F 40 3A 01 29 C0 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 1B 00 00 00 F4 03 04 00 CF 43 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 03 5F 00 00 35 04 06 00 84 15 EF 3D BE FA 07 26 71 FE B6 7C D3 3A [12:06:39]CheckFolder [12:06:39]dirname=/storage/ofd_packets [12:06:39]CheckFolder done [12:06:39]ProducePacketName [12:06:39]name=ofd_packets/00024323 [12:06:39]NVStorageSaveData ofd_packets/00024323 [12:06:39]File name is /storage/ofd_packets/00024323 [12:06:39]Write 352 bytes [12:06:39]NVStorageSaveData done [12:06:39]OFDSenderStorePacket done [12:06:39]KKMCreateOFDPacket done [12:06:39]NVStorageSaveData kkm_last_timestamp [12:06:39]File name is /storage/kkm_last_timestamp [12:06:39]Write 4 bytes [12:06:39]NVStorageSaveData done [12:06:39]ExternCall_PrintAddStr [12:06:39]wPrintStart [12:06:39]Write to MH i2c: 01 00 00 51 05 56 [12:06:39]Write i2c OK [12:06:39]MH_I2C_Read... [12:06:39]Read from MH i2c: 01 [12:06:39]MH_I2C_Read... [12:06:39]Read from MH i2c: 01 07 00 [12:06:39]MH_I2C_Read... [12:06:39]Read from MH i2c: 01 07 00 51 05 00 00 00 00 00 FF 0F 6B [12:06:39]RasterBufferAndPrint [12:06:39]line Счет N : (3)134844 [12:06:39]line ИНН: 02508201610067 [12:06:39]line Контрольно-Кассовый Чек [12:06:39]line ПРОДАЖА [12:06:39]line Товар: 4870001571030 [12:06:39]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [12:06:39]line 1.000 * 84.00 [12:06:39]line = 84.00 [12:06:39]line НДС 12% НСП 1% [12:06:39]line > о реализуемом товаре [12:06:39]line ИТОГО: 84.00 [12:06:39]line НСП 1% : 0.74 [12:06:39]line НДС 12% : 8.92 [12:06:39]line Наличными: 84.00 [12:06:39]line Безнал.: 0.00 [12:06:39]line Место: АЗС № 85 "Партнер Нефть" [12:06:39]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:06:39]line СНО: Общий режим [12:06:39]line Чек 27 21.10.2024 12:06 [12:06:39]line Смена: 461 ФФД: 1.0 [12:06:39]line ЗНМ: 0300000166 [12:06:39]line РНМ: 0000000000098120 [12:06:39]line Версия ККМ: 001 [12:06:39]line ФМ: 0000000000965420 [12:06:39]line ФД: 24323 [12:06:39]line ФПД: 145229742980858 [12:06:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T120639&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24323&fm=145229742980858&tin=02508201610067®Number=0000000000098120&sum=8400 [12:06:39]line 0 [12:06:39]OFD Sender: Processing packet 24323 [packets to send 5, broken 4] [12:06:39]ProducePacketName [12:06:39]name=ofd_packets/00024323 [12:06:39]OFD Sender: To server: pG, [12:06:39]CommunicateWithHost lk.salyk.kg:30040 [12:06:39]ConnectInit lk.salyk.kg [12:06:39]written 0, free lines is 4095 [12:06:39]Connected sock=9 [12:06: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 34 32 30 42 01 00 00 1F 40 3A 01 29 C0 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 1B 00 00 00 F4 03 04 00 CF 43 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 03 5F 00 00 35 04 06 00 84 15 EF 3D BE FA 07 26 71 FE B6 7C D3 3A [12:06:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 D4 F9 47 00 67 E9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 34 32 30 10 04 04 00 03 5F 00 00 F4 03 04 00 75 EF 15 67 B6 04 01 00 00 AA 81 E0 17 70 9B 2B 9B [12:06:40]CommunicateWithHost err = 0 [12:06:40]CheckOFDResponse [12:06:40]1017 (14) - 77093643461234 [12:06:40]1041 (16) - 0000000000965420 [12:06:40]1040 (4) - 24323 [12:06:40]1012 (4) - 21.10.2024 06:06 [12:06:40]1206 (1) - 0 [12:06:40]OFD Sender: Remove packet 24323 [12:06:40]ProducePacketName [12:06:40]name=ofd_packets/00024323 [12:06:40]NVStorageDeleteData [12:06:40]Write to MH i2c: 01 00 00 7A 05 7F [12:06:40]Write i2c OK [12:06:40]MH_I2C_Read... [12:06:40]Read from MH i2c: 01 [12:06:40]MH_I2C_Read... [12:06:40]Read from MH i2c: 01 07 00 [12:06:40]MH_I2C_Read... [12:06:40]Read from MH i2c: 01 07 00 7A 05 00 00 00 00 00 08 0D 9B [12:06:40]RasterBufferAndPrint [12:06:40]line [12:06:40]line [12:06:40]line [12:06:40]line [12:06:40]line [12:06:40]written 0, free lines is 3342 [12:06:40]process_action close_receipt done [12:06:40]requested_data is exist [12:06:40]produce_requested_data [12:06:40]requested_item fm.sn is exist - process it [12:06:40]wFMCommunicate request_size=4 [12:06:40]MH_SAM_APDU [12:06:40]CAPDU: 80 11 00 00 [12:06:40]Write to MH i2c: E2 08 00 81 05 80 11 00 00 00 00 00 00 00 [12:06:40]Write i2c OK [12:06:40]MH_I2C_Read... [12:06:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:06:40]Read from MH i2c: E2 [12:06:40]MH_I2C_Read... [12:06:40]Read from MH i2c: E2 17 00 [12:06:40]MH_I2C_Read... [12:06:40]Read from MH i2c: E2 17 00 81 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 4D [12:06:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:06:40]wFMCommunicate OK [12:06:40]requested_item fd.num is exist - process it [12:06:40]SAM_PROTO_GetFieldsCounters [12:06:40]wFMCommunicate request_size=4 [12:06:40]MH_SAM_APDU [12:06:40]CAPDU: 80 13 00 00 [12:06:40]Write to MH i2c: E2 08 00 82 05 80 13 00 00 00 00 00 00 03 [12:06:40]Write i2c OK [12:06:40]MH_I2C_Read... [12:06:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:06:40]Read from MH i2c: E2 [12:06:40]MH_I2C_Read... [12:06:40]Read from MH i2c: E2 62 00 [12:06:40]MH_I2C_Read... [12:06:40]Read from MH i2c: E2 62 00 82 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 03 5F 00 00 0E 04 04 00 CD 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 9A [12:06: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 03 5F 00 00 0E 04 04 00 CD 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 [12:06:40]wFMCommunicate OK [12:06:40]SAM_PROTO_GetFieldsCounters done [12:06:40]requested_item shift.num is exist - process it [12:06:40]requested_item shift.opened is exist - process it [12:06:40]req_shift_opened [12:06:40]FM_GetShiftState [12:06:40]SAM_PROTO_GetShiftState [12:06:40]wFMCommunicate request_size=4 [12:06:40]MH_SAM_APDU [12:06:40]CAPDU: 80 13 01 00 [12:06:40]Write to MH i2c: E2 08 00 83 05 80 13 01 00 00 00 00 00 05 [12:06:40]Write i2c OK [12:06:40]MH_I2C_Read... [12:06:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:06:40]Read from MH i2c: E2 [12:06:40]MH_I2C_Read... [12:06:40]Read from MH i2c: E2 0E 00 [12:06:40]MH_I2C_Read... [12:06:40]Read from MH i2c: E2 0E 00 83 05 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 4F [12:06:40]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:06:40]wFMCommunicate OK [12:06:40]SAM_PROTO_GetShiftState done [12:06:40]FM_GetShiftState done [12:06:40]req_shift_opened done [12:06:40]requested_item shift.open_date is exist - process it [12:06:40]req_shift_open_date [12:06:40]req_shift_open_date done [12:06:40]produce_requested_data done [12:06:40]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24323,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [12:06:40]process_action_free close_receipt [12:06:40]json_value_free [12:06:40]json_value_free done [12:06:40]process_json_proto returns [12:06:40]Send response to host [12:06:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24323,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [12:06:40]free response buf [12:06:40]execute_script done [12:06:40]execute_script returns [12:06:40]free content buf [12:06:40]Sock 8.Close socket [12:06:40]Sock 8.Thread stoped [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:46]OFD Sender: No OFD packet to send [12:16:51]OFD Sender: No OFD packet to send [12:16:56]OFD Sender: No OFD packet to send [12:17:01]OFD Sender: No OFD packet to send [12:17:06]OFD Sender: No OFD packet to send [12:17:11]OFD Sender: No OFD packet to send [12:17:16]OFD Sender: No OFD packet to send [12:17:21]OFD Sender: No OFD packet to send [12:17:26]OFD Sender: No OFD packet to send [12:17:31]OFD Sender: No OFD packet to send [12:17:36]OFD Sender: No OFD packet to send [12:17:41]OFD Sender: No OFD packet to send [12:17:46]OFD Sender: No OFD packet to send [12:17:51]OFD Sender: No OFD packet to send [12:17:56]OFD Sender: No OFD packet to send [12:18:01]OFD Sender: No OFD packet to send [12:18:02]accept exits with 10 [12:18:02]New connection [12:18:02]New thread 3066940772 created [12:18:02]Thread 3067084132 joined [12:18:02]Waiting for new connection... [12:18:02] Sock 10.Parse request [12:18:02]Sock 10.Check first char [12:18:02]Sock 10.First char is OK [12:18:02]request: POST /json_proto HTTP/1.0 [12:18:02]Method: POST [12:18:02]URL: /json_proto [12:18:02]Method is POST - this is cgi request [12:18:02]url: /json_proto [12:18:02]query_string will be loaded in cgi processing [12:18:02]execute_cgi json_proto POST (null) [12:18:02]execute_cgi path=json_proto method=POST [12:18:02]POST find Content-Length [12:18:02]Host: 172.17.50.4:8080 [12:18:02]Content-Length: 773 [12:18:02]Content-Type: application/json [12:18:02] [12:18:02]POST finish read [12:18:02]Found Content-Length = 773 [12:18:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134845", "tax_sys" : 0, "items" : [ { "code": "4700000483259", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fresh \u041C\u043E\u0445\u0438\u0442\u043E", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:18:02]execute_script... [12:18:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134845", "tax_sys" : 0, "items" : [ { "code": "4700000483259", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fresh \u041C\u043E\u0445\u0438\u0442\u043E", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:18:02]POST & json_proto [12:18:02]process_json_proto [12:18:02]json parsed OK: [12:18:02]protocol is kg_v1.0 [12:18:02]action value=close_receipt [12:18:02]process_action close_receipt [12:18:02]cmd_close_receipt [12:18:02]MH_GetDate [12:18:02]Write to MH i2c: F0 00 00 84 05 78 [12:18:02]Write i2c OK [12:18:02]MH_I2C_Read... [12:18:02]Read from MH i2c: F0 [12:18:02]MH_I2C_Read... [12:18:02]Read from MH i2c: F0 09 00 [12:18:02]MH_I2C_Read... [12:18:02]Read from MH i2c: F0 09 00 84 05 00 7C 46 16 67 3B 12 16 67 8A [12:18:02]GetLastDocTimeStamp 1729512399 [12:18:02]current date 1729513084 [12:18:02]FM_GetShiftState [12:18:02]SAM_PROTO_GetShiftState [12:18:02]wFMCommunicate request_size=4 [12:18:02]MH_SAM_APDU [12:18:02]CAPDU: 80 13 01 00 [12:18:02]Write to MH i2c: E2 08 00 85 05 80 13 01 00 00 00 00 00 07 [12:18:02]Write i2c OK [12:18:02]MH_I2C_Read... [12:18:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:18:02]Read from MH i2c: E2 [12:18:02]MH_I2C_Read... [12:18:02]Read from MH i2c: E2 0E 00 [12:18:02]MH_I2C_Read... [12:18:02]Read from MH i2c: E2 0E 00 85 05 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 51 [12:18:02]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:18:02]wFMCommunicate OK [12:18:02]SAM_PROTO_GetShiftState done [12:18:02]FM_GetShiftState done [12:18:02]opened in 1729469223 [12:18:02]opened+sec_in_day 1729555623 [12:18:02]quantity*price = 9500 [12:18:02]sum+1 = 9501 [12:18:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 28 21.10.2024 12:18 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24324 ФПД: 193515131093584 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T121804&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24324&fm=193515131093584&tin=02508201610067®Number=0000000000098120&sum=9500 0 [12:18:03]StoreToDocumentArchive [12:18:03]shift 461 fd 24324 [12:18:03]save to /storage/0461/doc_00024324 [12:18:03]save last doc name /storage/0461/doc_00024324 to /storage/kkm_last_doc_name [12:18:03]save OK [12:18:03]Clear old archive folders... [12:18:03]ProcessDocumentItem done err = 0, tmpTLVsize=281 [12:18:03]tlvbuf is 0033F660 [12:18:03]SAM_PROTO_ClearQueue [12:18:03]wFMCommunicate request_size=4 [12:18:03]MH_SAM_APDU [12:18:03]CAPDU: 80 09 00 00 [12:18:03]Write to MH i2c: E2 08 00 92 05 80 09 00 00 00 00 00 00 09 [12:18:03]Write i2c OK [12:18:03]MH_I2C_Read... [12:18:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:18:03]Read from MH i2c: E2 [12:18:03]MH_I2C_Read... [12:18:03]Read from MH i2c: E2 03 00 [12:18:03]MH_I2C_Read... [12:18:03]Read from MH i2c: E2 03 00 92 05 00 90 00 0B [12:18:03]RAPDU: 90 00 [12:18:03]wFMCommunicate OK [12:18:03]SAM_PROTO_ClearQueue done [12:18:03]KKMCreateOFDPacket [12:18:03]OFDProtocolAddRootSTLVToBuf [12:18:03]FM_MakeSignedData [12:18:03]FM_MakeSignedData [12:18:03]SAM_PROTO_SignData [12:18:03]wFMCommunicate request_size=4 [12:18:03]MH_SAM_APDU [12:18:03]CAPDU: 80 0D 01 02 [12:18:03]Write to MH i2c: E2 08 00 93 05 80 0D 01 02 00 00 00 00 11 [12:18:03]Write i2c OK [12:18:03]MH_I2C_Read... [12:18:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:18:03]Read from MH i2c: E2 [12:18:03]MH_I2C_Read... [12:18:03]Read from MH i2c: E2 03 00 [12:18:03]MH_I2C_Read... [12:18:03]Read from MH i2c: E2 03 00 93 05 00 90 00 0C [12:18:03]RAPDU: 90 00 [12:18:03]wFMCommunicate OK [12:18:03]wFMCommunicate request_size=255 [12:18:03]MH_SAM_APDU [12:18:03]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 35 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 1C 00 00 00 F4 03 04 00 7C 46 16 67 0E 04 04 00 CD 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 32 30 11 04 10 [12:18:03]Write to MH i2c: E2 02 01 94 05 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 35 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 1C 00 00 00 F4 03 04 00 7C 46 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 00 12 [12:18:03]Write i2c OK [12:18:03]MH_I2C_Read... [12:18:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:18:04]Read from MH i2c: E2 [12:18:04]MH_I2C_Read... [12:18:04]Read from MH i2c: E2 03 00 [12:18:04]MH_I2C_Read... [12:18:04]Read from MH i2c: E2 03 00 94 05 00 90 00 0D [12:18:04]RAPDU: 90 00 [12:18:04]wFMCommunicate OK [12:18:04]wFMCommunicate request_size=40 [12:18:04]MH_SAM_APDU [12:18:04]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 04 5F 00 00 35 04 06 00 B0 00 40 A5 C2 50 [12:18:04]Write to MH i2c: E2 2B 00 95 05 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 04 5F 00 00 35 04 06 00 B0 00 40 A5 C2 50 00 00 D5 [12:18:04]Write i2c OK [12:18:04]MH_I2C_Read... [12:18:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:18:04]Read from MH i2c: E2 [12:18:04]MH_I2C_Read... [12:18:04]Read from MH i2c: E2 03 00 [12:18:04]MH_I2C_Read... [12:18:04]Read from MH i2c: E2 03 00 95 05 00 90 00 0E [12:18:04]RAPDU: 90 00 [12:18:04]wFMCommunicate OK [12:18:04]wFMCommunicate request_size=4 [12:18:04]MH_SAM_APDU [12:18:04]CAPDU: 80 0D 03 02 [12:18:04]Write to MH i2c: E2 08 00 96 05 80 0D 03 02 00 00 00 00 16 [12:18:04]Write i2c OK [12:18:04]MH_I2C_Read... [12:18:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:18:04]Read from MH i2c: E2 [12:18:04]MH_I2C_Read... [12:18:04]Read from MH i2c: E2 0B 00 [12:18:04]MH_I2C_Read... [12:18:04]Read from MH i2c: E2 0B 00 96 05 00 3C 06 07 66 E0 CA 5F E4 90 00 B3 [12:18:04]RAPDU: 3C 06 07 66 E0 CA 5F E4 90 00 [12:18:04]wFMCommunicate OK [12:18:04]SAM_PROTO_SignData done [12:18:04]FM_MakeSignedData done [12:18:04]CreateOFDProtocolMessage [12:18:04]wFMCommunicate request_size=4 [12:18:04]MH_SAM_APDU [12:18:04]CAPDU: 80 11 00 00 [12:18:04]Write to MH i2c: E2 08 00 97 05 80 11 00 00 00 00 00 00 16 [12:18:04]Write i2c OK [12:18:04]MH_I2C_Read... [12:18:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:18:04]Read from MH i2c: E2 [12:18:04]MH_I2C_Read... [12:18:04]Read from MH i2c: E2 17 00 [12:18:04]MH_I2C_Read... [12:18:04]Read from MH i2c: E2 17 00 97 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 63 [12:18:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:18:04]wFMCommunicate OK [12:18:04]CreateOFDProtocolMessage done [12:18:04]OFDSenderStorePacket 24324 [12:18:04]StoreOFDPacket docnum=24324 [12:18:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2D 01 00 00 7A A2 25 01 FF E7 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 35 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 1C 00 00 00 F4 03 04 00 7C 46 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 04 5F 00 00 35 04 06 00 B0 00 40 A5 C2 50 3C 06 07 66 E0 CA 5F E4 [12:18:04]CheckFolder [12:18:04]dirname=/storage/ofd_packets [12:18:04]CheckFolder done [12:18:04]ProducePacketName [12:18:04]name=ofd_packets/00024324 [12:18:04]NVStorageSaveData ofd_packets/00024324 [12:18:04]File name is /storage/ofd_packets/00024324 [12:18:04]Write 331 bytes [12:18:04]NVStorageSaveData done [12:18:04]OFDSenderStorePacket done [12:18:04]KKMCreateOFDPacket done [12:18:04]NVStorageSaveData kkm_last_timestamp [12:18:04]File name is /storage/kkm_last_timestamp [12:18:04]Write 4 bytes [12:18:04]NVStorageSaveData done [12:18:04]ExternCall_PrintAddStr [12:18:04]wPrintStart [12:18:04]Write to MH i2c: 01 00 00 98 05 9D [12:18:04]Write i2c OK [12:18:04]MH_I2C_Read... [12:18:04]Read from MH i2c: 01 [12:18:04]MH_I2C_Read... [12:18:04]Read from MH i2c: 01 07 00 [12:18:04]MH_I2C_Read... [12:18:04]Read from MH i2c: 01 07 00 98 05 00 00 00 00 00 FF 0F B2 [12:18:04]RasterBufferAndPrint [12:18:04]line Счет N : (3)134845 [12:18:04]line ИНН: 02508201610067 [12:18:04]line Контрольно-Кассовый Чек [12:18:04]line ПРОДАЖА [12:18:04]line Товар: 4700000483259 [12:18:04]line Напиток Nitro Fresh Мохито [12:18:04]line 1.000 * 95.00 [12:18:04]line = 95.00 [12:18:04]line НДС 12% НСП 1% [12:18:04]line > о реализуемом товаре [12:18:04]line ИТОГО: 95.00 [12:18:04]line НСП 1% : 0.84 [12:18:04]line НДС 12% : 10.09 [12:18:04]line Наличными: 0.00 [12:18:04]line Безнал.: 95.00 [12:18:04]line Место: АЗС № 85 "Партнер Нефть" [12:18:04]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:18:04]line СНО: Общий режим [12:18:04]line Чек 28 21.10.2024 12:18 [12:18:04]line Смена: 461 ФФД: 1.0 [12:18:04]line ЗНМ: 0300000166 [12:18:04]line РНМ: 0000000000098120 [12:18:04]line Версия ККМ: 001 [12:18:04]line Платежная система: Mbank [12:18:04]line ФМ: 0000000000965420 [12:18:04]line ФД: 24324 [12:18:04]line ФПД: 193515131093584 [12:18:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T121804&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24324&fm=193515131093584&tin=02508201610067®Number=0000000000098120&sum=9500 [12:18:04]line 0 [12:18:04]OFD Sender: Processing packet 24324 [packets to send 5, broken 4] [12:18:04]ProducePacketName [12:18:04]name=ofd_packets/00024324 [12:18:04]OFD Sender: To server: pG, [12:18:04]CommunicateWithHost lk.salyk.kg:30040 [12:18:04]ConnectInit lk.salyk.kg [12:18:04]written 0, free lines is 4095 [12:18:04]Connected sock=9 [12:18: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 34 32 30 2D 01 00 00 7A A2 25 01 FF E7 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 35 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 1C 00 00 00 F4 03 04 00 7C 46 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 04 5F 00 00 35 04 06 00 B0 00 40 A5 C2 50 3C 06 07 66 E0 CA 5F E4 [12:18:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 80 20 47 00 DE 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 34 32 30 10 04 04 00 04 5F 00 00 F4 03 04 00 22 F2 15 67 B6 04 01 00 00 3D 76 36 50 0A EB 1D 4D [12:18:04]CommunicateWithHost err = 0 [12:18:04]CheckOFDResponse [12:18:04]1017 (14) - 77093643461234 [12:18:04]1041 (16) - 0000000000965420 [12:18:04]1040 (4) - 24324 [12:18:04]1012 (4) - 21.10.2024 06:18 [12:18:04]1206 (1) - 0 [12:18:04]OFD Sender: Remove packet 24324 [12:18:04]ProducePacketName [12:18:04]name=ofd_packets/00024324 [12:18:04]NVStorageDeleteData [12:18:05]Write to MH i2c: 01 00 00 C1 05 C6 [12:18:05]Write i2c OK [12:18:05]MH_I2C_Read... [12:18:05]Read from MH i2c: 01 [12:18:05]MH_I2C_Read... [12:18:05]Read from MH i2c: 01 07 00 [12:18:05]MH_I2C_Read... [12:18:05]Read from MH i2c: 01 07 00 C1 05 00 00 00 00 00 11 0D EB [12:18:05]RasterBufferAndPrint [12:18:05]line [12:18:05]line [12:18:05]line [12:18:05]line [12:18:05]line [12:18:05]written 0, free lines is 3351 [12:18:05]process_action close_receipt done [12:18:05]requested_data is exist [12:18:05]produce_requested_data [12:18:05]requested_item fm.sn is exist - process it [12:18:05]wFMCommunicate request_size=4 [12:18:05]MH_SAM_APDU [12:18:05]CAPDU: 80 11 00 00 [12:18:05]Write to MH i2c: E2 08 00 C8 05 80 11 00 00 00 00 00 00 47 [12:18:05]Write i2c OK [12:18:05]MH_I2C_Read... [12:18:05]Read from MH i2c: E2 [12:18:05]MH_I2C_Read... [12:18:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:18:05]Read from MH i2c: E2 17 00 [12:18:05]MH_I2C_Read... [12:18:05]Read from MH i2c: E2 17 00 C8 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 94 [12:18:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:18:05]wFMCommunicate OK [12:18:05]requested_item fd.num is exist - process it [12:18:05]SAM_PROTO_GetFieldsCounters [12:18:05]wFMCommunicate request_size=4 [12:18:05]MH_SAM_APDU [12:18:05]CAPDU: 80 13 00 00 [12:18:05]Write to MH i2c: E2 08 00 C9 05 80 13 00 00 00 00 00 00 4A [12:18:05]Write i2c OK [12:18:05]MH_I2C_Read... [12:18:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:18:05]Read from MH i2c: E2 [12:18:05]MH_I2C_Read... [12:18:05]Read from MH i2c: E2 62 00 [12:18:05]MH_I2C_Read... [12:18:05]Read from MH i2c: E2 62 00 C9 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 04 5F 00 00 0E 04 04 00 CD 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 E5 [12:18: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 04 5F 00 00 0E 04 04 00 CD 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 [12:18:05]wFMCommunicate OK [12:18:05]SAM_PROTO_GetFieldsCounters done [12:18:05]requested_item shift.num is exist - process it [12:18:05]requested_item shift.opened is exist - process it [12:18:05]req_shift_opened [12:18:05]FM_GetShiftState [12:18:05]SAM_PROTO_GetShiftState [12:18:05]wFMCommunicate request_size=4 [12:18:05]MH_SAM_APDU [12:18:05]CAPDU: 80 13 01 00 [12:18:05]Write to MH i2c: E2 08 00 CA 05 80 13 01 00 00 00 00 00 4C [12:18:05]Write i2c OK [12:18:05]MH_I2C_Read... [12:18:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:18:05]Read from MH i2c: E2 [12:18:05]MH_I2C_Read... [12:18:05]Read from MH i2c: E2 0E 00 [12:18:05]MH_I2C_Read... [12:18:05]Read from MH i2c: E2 0E 00 CA 05 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 96 [12:18:05]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:18:05]wFMCommunicate OK [12:18:05]SAM_PROTO_GetShiftState done [12:18:05]FM_GetShiftState done [12:18:05]req_shift_opened done [12:18:05]requested_item shift.open_date is exist - process it [12:18:05]req_shift_open_date [12:18:05]req_shift_open_date done [12:18:05]produce_requested_data done [12:18:05]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24324,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [12:18:05]process_action_free close_receipt [12:18:05]json_value_free [12:18:05]json_value_free done [12:18:05]process_json_proto returns [12:18:05]Send response to host [12:18:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24324,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [12:18:05]free response buf [12:18:05]execute_script done [12:18:05]execute_script returns [12:18:05]free content buf [12:18:05]Sock 10.Close socket [12:18:05]Sock 10.Thread stoped [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:00]OFD Sender: No OFD packet to send [12:23:05]OFD Sender: No OFD packet to send [12:23:10]OFD Sender: No OFD packet to send [12:23:15]OFD Sender: No OFD packet to send [12:23:20]OFD Sender: No OFD packet to send [12:23:25]OFD Sender: No OFD packet to send [12:23:30]OFD Sender: No OFD packet to send [12:23:35]OFD Sender: No OFD packet to send [12:23:40]OFD Sender: No OFD packet to send [12:23:45]OFD Sender: No OFD packet to send [12:23:50]OFD Sender: No OFD packet to send [12:23:55]OFD Sender: No OFD packet to send [12:24:00]OFD Sender: No OFD packet to send [12:24:05]OFD Sender: No OFD packet to send [12:24:10]OFD Sender: No OFD packet to send [12:24:15]OFD Sender: No OFD packet to send [12:24:20]OFD Sender: No OFD packet to send [12:24:25]OFD Sender: No OFD packet to send [12:24:30]OFD Sender: No OFD packet to send [12:24:35]OFD Sender: No OFD packet to send [12:24:40]OFD Sender: No OFD packet to send [12:24:45]OFD Sender: No OFD packet to send [12:24:50]OFD Sender: No OFD packet to send [12:24:55]OFD Sender: No OFD packet to send [12:25:00]OFD Sender: No OFD packet to send [12:25:05]OFD Sender: No OFD packet to send [12:25:10]OFD Sender: No OFD packet to send [12:25:15]OFD Sender: No OFD packet to send [12:25:20]OFD Sender: No OFD packet to send [12:25:25]OFD Sender: No OFD packet to send [12:25:30]OFD Sender: No OFD packet to send [12:25:35]OFD Sender: No OFD packet to send [12:25:40]OFD Sender: No OFD packet to send [12:25:45]OFD Sender: No OFD packet to send [12:25:50]OFD Sender: No OFD packet to send [12:25:55]OFD Sender: No OFD packet to send [12:26:00]OFD Sender: No OFD packet to send [12:26:05]OFD Sender: No OFD packet to send [12:26:10]OFD Sender: No OFD packet to send [12:26:12]accept exits with 8 [12:26:12]New connection [12:26:12]New thread 3067084132 created [12:26:12]Thread 3066940772 joined [12:26:12]Waiting for new connection... [12:26:12] Sock 8.Parse request [12:26:12]Sock 8.Check first char [12:26:12]Sock 8.First char is OK [12:26:12]request: POST /json_proto HTTP/1.0 [12:26:12]Method: POST [12:26:12]URL: /json_proto [12:26:12]Method is POST - this is cgi request [12:26:12]url: /json_proto [12:26:12]query_string will be loaded in cgi processing [12:26:12]execute_cgi json_proto POST (null) [12:26:12]execute_cgi path=json_proto method=POST [12:26:12]POST find Content-Length [12:26:12]Host: 172.17.50.4:8080 [12:26:12]Content-Length: 608 [12:26:12]Content-Type: application/json [12:26:12] [12:26:12]POST finish read [12:26:12]Found Content-Length = 608 [12:26:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134846", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 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:26:12]execute_script... [12:26: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)134846", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 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:26:12]POST & json_proto [12:26:12]process_json_proto [12:26:12]json parsed OK: [12:26:12]protocol is kg_v1.0 [12:26:12]action value=close_receipt [12:26:12]process_action close_receipt [12:26:12]cmd_close_receipt [12:26:12]MH_GetDate [12:26:12]Write to MH i2c: F0 00 00 CB 05 BF [12:26:12]Write i2c OK [12:26:12]MH_I2C_Read... [12:26:12]Read from MH i2c: F0 [12:26:12]MH_I2C_Read... [12:26:12]Read from MH i2c: F0 09 00 [12:26:12]MH_I2C_Read... [12:26:12]Read from MH i2c: F0 09 00 CB 05 00 66 48 16 67 3B 12 16 67 BD [12:26:12]GetLastDocTimeStamp 1729513084 [12:26:12]current date 1729513574 [12:26:12]FM_GetShiftState [12:26:12]SAM_PROTO_GetShiftState [12:26:12]wFMCommunicate request_size=4 [12:26:12]MH_SAM_APDU [12:26:12]CAPDU: 80 13 01 00 [12:26:12]Write to MH i2c: E2 08 00 CC 05 80 13 01 00 00 00 00 00 4E [12:26:12]Write i2c OK [12:26:12]MH_I2C_Read... [12:26:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:26:12]Read from MH i2c: E2 [12:26:12]MH_I2C_Read... [12:26:12]Read from MH i2c: E2 0E 00 [12:26:12]MH_I2C_Read... [12:26:12]Read from MH i2c: E2 0E 00 CC 05 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 98 [12:26:12]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:26:12]wFMCommunicate OK [12:26:12]SAM_PROTO_GetShiftState done [12:26:12]FM_GetShiftState done [12:26:12]opened in 1729469223 [12:26:12]opened+sec_in_day 1729555623 [12:26:12]quantity*price = 1000 [12:26:12]sum+1 = 1001 [12:26:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 29 21.10.2024 12:26 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24325 ФПД: 158967220713016 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T122614&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24325&fm=158967220713016&tin=02508201610067®Number=0000000000098120&sum=1000 0 [12:26:13]StoreToDocumentArchive [12:26:13]shift 461 fd 24325 [12:26:13]save to /storage/0461/doc_00024325 [12:26:13]save last doc name /storage/0461/doc_00024325 to /storage/kkm_last_doc_name [12:26:13]save OK [12:26:13]Clear old archive folders... [12:26:13]ProcessDocumentItem done err = 0, tmpTLVsize=267 [12:26:13]tlvbuf is 0036F5C0 [12:26:13]SAM_PROTO_ClearQueue [12:26:13]wFMCommunicate request_size=4 [12:26:13]MH_SAM_APDU [12:26:13]CAPDU: 80 09 00 00 [12:26:13]Write to MH i2c: E2 08 00 D9 05 80 09 00 00 00 00 00 00 50 [12:26:13]Write i2c OK [12:26:13]MH_I2C_Read... [12:26:13]Read from MH i2c: E2 [12:26:13]MH_I2C_Read... [12:26:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:26:13]Read from MH i2c: E2 03 00 [12:26:13]MH_I2C_Read... [12:26:13]Read from MH i2c: E2 03 00 D9 05 00 90 00 52 [12:26:13]RAPDU: 90 00 [12:26:13]wFMCommunicate OK [12:26:13]SAM_PROTO_ClearQueue done [12:26:13]KKMCreateOFDPacket [12:26:13]OFDProtocolAddRootSTLVToBuf [12:26:13]FM_MakeSignedData [12:26:13]FM_MakeSignedData [12:26:13]SAM_PROTO_SignData [12:26:13]wFMCommunicate request_size=4 [12:26:13]MH_SAM_APDU [12:26:13]CAPDU: 80 0D 01 02 [12:26:13]Write to MH i2c: E2 08 00 DA 05 80 0D 01 02 00 00 00 00 58 [12:26:13]Write i2c OK [12:26:13]MH_I2C_Read... [12:26:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:26:13]Read from MH i2c: E2 [12:26:13]MH_I2C_Read... [12:26:13]Read from MH i2c: E2 03 00 [12:26:13]MH_I2C_Read... [12:26:13]Read from MH i2c: E2 03 00 DA 05 00 90 00 53 [12:26:13]RAPDU: 90 00 [12:26:13]wFMCommunicate OK [12:26:13]wFMCommunicate request_size=255 [12:26:13]MH_SAM_APDU [12:26:13]CAPDU: 80 0D 02 02 FA 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 1D 00 00 00 F4 03 04 00 66 48 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 [12:26:13]Write to MH i2c: E2 02 01 DB 05 80 0D 02 02 FA 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 1D 00 00 00 F4 03 04 00 66 48 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 00 00 00 [12:26:13]Write i2c OK [12:26:13]MH_I2C_Read... [12:26:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:26:14]Read from MH i2c: E2 [12:26:14]MH_I2C_Read... [12:26:14]Read from MH i2c: E2 03 00 [12:26:14]MH_I2C_Read... [12:26:14]Read from MH i2c: E2 03 00 DB 05 00 90 00 54 [12:26:14]RAPDU: 90 00 [12:26:14]wFMCommunicate OK [12:26:14]wFMCommunicate request_size=26 [12:26:14]MH_SAM_APDU [12:26:14]CAPDU: 80 0D 02 02 15 34 32 30 10 04 04 00 05 5F 00 00 35 04 06 00 90 94 70 B8 B6 38 [12:26:14]Write to MH i2c: E2 1D 00 DC 05 80 0D 02 02 15 00 34 32 30 10 04 04 00 05 5F 00 00 35 04 06 00 90 94 70 B8 B6 38 00 00 10 [12:26:14]Write i2c OK [12:26:14]MH_I2C_Read... [12:26:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:26:14]Read from MH i2c: E2 [12:26:14]MH_I2C_Read... [12:26:14]Read from MH i2c: E2 03 00 [12:26:14]MH_I2C_Read... [12:26:14]Read from MH i2c: E2 03 00 DC 05 00 90 00 55 [12:26:14]RAPDU: 90 00 [12:26:14]wFMCommunicate OK [12:26:14]wFMCommunicate request_size=4 [12:26:14]MH_SAM_APDU [12:26:14]CAPDU: 80 0D 03 02 [12:26:14]Write to MH i2c: E2 08 00 DD 05 80 0D 03 02 00 00 00 00 5D [12:26:14]Write i2c OK [12:26:14]MH_I2C_Read... [12:26:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:26:14]Read from MH i2c: E2 [12:26:14]MH_I2C_Read... [12:26:14]Read from MH i2c: E2 0B 00 [12:26:14]MH_I2C_Read... [12:26:14]Read from MH i2c: E2 0B 00 DD 05 00 76 5E 55 54 C0 4D EB 41 90 00 14 [12:26:14]RAPDU: 76 5E 55 54 C0 4D EB 41 90 00 [12:26:14]wFMCommunicate OK [12:26:14]SAM_PROTO_SignData done [12:26:14]FM_MakeSignedData done [12:26:14]CreateOFDProtocolMessage [12:26:14]wFMCommunicate request_size=4 [12:26:14]MH_SAM_APDU [12:26:14]CAPDU: 80 11 00 00 [12:26:14]Write to MH i2c: E2 08 00 DE 05 80 11 00 00 00 00 00 00 5D [12:26:14]Write i2c OK [12:26:14]MH_I2C_Read... [12:26:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:26:14]Read from MH i2c: E2 [12:26:14]MH_I2C_Read... [12:26:14]Read from MH i2c: E2 17 00 [12:26:14]MH_I2C_Read... [12:26:14]Read from MH i2c: E2 17 00 DE 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 AA [12:26:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:26:14]wFMCommunicate OK [12:26:14]CreateOFDProtocolMessage done [12:26:14]OFDSenderStorePacket 24325 [12:26:14]StoreOFDPacket docnum=24325 [12:26:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 DA 47 17 01 AF 22 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 1D 00 00 00 F4 03 04 00 66 48 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 05 5F 00 00 35 04 06 00 90 94 70 B8 B6 38 76 5E 55 54 C0 4D EB 41 [12:26:14]CheckFolder [12:26:14]dirname=/storage/ofd_packets [12:26:14]CheckFolder done [12:26:14]ProducePacketName [12:26:14]name=ofd_packets/00024325 [12:26:14]NVStorageSaveData ofd_packets/00024325 [12:26:14]File name is /storage/ofd_packets/00024325 [12:26:14]Write 317 bytes [12:26:14]NVStorageSaveData done [12:26:14]OFDSenderStorePacket done [12:26:14]KKMCreateOFDPacket done [12:26:14]NVStorageSaveData kkm_last_timestamp [12:26:14]File name is /storage/kkm_last_timestamp [12:26:14]Write 4 bytes [12:26:14]NVStorageSaveData done [12:26:14]ExternCall_PrintAddStr [12:26:14]wPrintStart [12:26:14]Write to MH i2c: 01 00 00 DF 05 E4 [12:26:14]Write i2c OK [12:26:14]MH_I2C_Read... [12:26:14]Read from MH i2c: 01 [12:26:14]MH_I2C_Read... [12:26:14]Read from MH i2c: 01 07 00 [12:26:14]MH_I2C_Read... [12:26:14]Read from MH i2c: 01 07 00 DF 05 00 00 00 00 00 FF 0F F9 [12:26:14]RasterBufferAndPrint [12:26:14]line Счет N : (3)134846 [12:26:14]line ИНН: 02508201610067 [12:26:14]line Контрольно-Кассовый Чек [12:26:14]line ПРОДАЖА [12:26:14]line Товар: 46231529 [12:26:14]line Mentos ПФ Арбуз 6*100*2 [12:26:14]line 1.000 * 10.00 [12:26:14]line = 10.00 [12:26:14]line НДС 12% НСП 1% [12:26:14]line > о реализуемом товаре [12:26:14]line ИТОГО: 10.00 [12:26:14]line НСП 1% : 0.09 [12:26:14]line НДС 12% : 1.06 [12:26:14]line Наличными: 10.00 [12:26:14]line Безнал.: 0.00 [12:26:14]line Место: АЗС № 85 "Партнер Нефть" [12:26:14]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:26:14]line СНО: Общий режим [12:26:14]line Чек 29 21.10.2024 12:26 [12:26:14]line Смена: 461 ФФД: 1.0 [12:26:14]line ЗНМ: 0300000166 [12:26:14]line РНМ: 0000000000098120 [12:26:14]line Версия ККМ: 001 [12:26:14]line ФМ: 0000000000965420 [12:26:14]line ФД: 24325 [12:26:14]line ФПД: 158967220713016 [12:26:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T122614&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24325&fm=158967220713016&tin=02508201610067®Number=0000000000098120&sum=1000 [12:26:14]line 0 [12:26:14]OFD Sender: Processing packet 24325 [packets to send 5, broken 4] [12:26:14]ProducePacketName [12:26:14]name=ofd_packets/00024325 [12:26:14]OFD Sender: To server: pG, [12:26:14]CommunicateWithHost lk.salyk.kg:30040 [12:26:14]ConnectInit lk.salyk.kg [12:26:14]written 0, free lines is 4095 [12:26:14]Connected sock=10 [12:26: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 34 32 30 1F 01 00 00 DA 47 17 01 AF 22 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 1D 00 00 00 F4 03 04 00 66 48 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 05 5F 00 00 35 04 06 00 90 94 70 B8 B6 38 76 5E 55 54 C0 4D EB 41 [12:26:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 1D D1 47 00 5E 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 34 32 30 10 04 04 00 05 5F 00 00 F4 03 04 00 0C F4 15 67 B6 04 01 00 00 CE 69 8A A3 85 5A D9 99 [12:26:14]CommunicateWithHost err = 0 [12:26:14]CheckOFDResponse [12:26:14]1017 (14) - 77093643461234 [12:26:14]1041 (16) - 0000000000965420 [12:26:14]1040 (4) - 24325 [12:26:14]1012 (4) - 21.10.2024 06:26 [12:26:14]1206 (1) - 0 [12:26:14]OFD Sender: Remove packet 24325 [12:26:14]ProducePacketName [12:26:14]name=ofd_packets/00024325 [12:26:14]NVStorageDeleteData [12:26:14]Write to MH i2c: 01 00 00 07 06 0D [12:26:14]Write i2c OK [12:26:14]MH_I2C_Read... [12:26:14]Read from MH i2c: 01 [12:26:14]MH_I2C_Read... [12:26:14]Read from MH i2c: 01 07 00 [12:26:14]MH_I2C_Read... [12:26:14]Read from MH i2c: 01 07 00 07 06 00 00 00 00 00 1C 0D 3D [12:26:14]RasterBufferAndPrint [12:26:14]line [12:26:14]line [12:26:14]line [12:26:14]line [12:26:14]line [12:26:14]written 0, free lines is 3362 [12:26:14]process_action close_receipt done [12:26:14]requested_data is exist [12:26:14]produce_requested_data [12:26:14]requested_item fm.sn is exist - process it [12:26:14]wFMCommunicate request_size=4 [12:26:14]MH_SAM_APDU [12:26:14]CAPDU: 80 11 00 00 [12:26:14]Write to MH i2c: E2 08 00 0E 06 80 11 00 00 00 00 00 00 8E [12:26:14]Write i2c OK [12:26:14]MH_I2C_Read... [12:26:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:26:14]Read from MH i2c: E2 [12:26:14]MH_I2C_Read... [12:26:14]Read from MH i2c: E2 17 00 [12:26:14]MH_I2C_Read... [12:26:14]Read from MH i2c: E2 17 00 0E 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 DB [12:26:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:26:14]wFMCommunicate OK [12:26:14]requested_item fd.num is exist - process it [12:26:14]SAM_PROTO_GetFieldsCounters [12:26:14]wFMCommunicate request_size=4 [12:26:14]MH_SAM_APDU [12:26:14]CAPDU: 80 13 00 00 [12:26:14]Write to MH i2c: E2 08 00 0F 06 80 13 00 00 00 00 00 00 91 [12:26:14]Write i2c OK [12:26:14]MH_I2C_Read... [12:26:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:26:15]Read from MH i2c: E2 [12:26:15]MH_I2C_Read... [12:26:15]Read from MH i2c: E2 62 00 [12:26:15]MH_I2C_Read... [12:26:15]Read from MH i2c: E2 62 00 0F 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 05 5F 00 00 0E 04 04 00 CD 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 30 [12:26: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 05 5F 00 00 0E 04 04 00 CD 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 [12:26:15]wFMCommunicate OK [12:26:15]SAM_PROTO_GetFieldsCounters done [12:26:15]requested_item shift.num is exist - process it [12:26:15]requested_item shift.opened is exist - process it [12:26:15]req_shift_opened [12:26:15]FM_GetShiftState [12:26:15]SAM_PROTO_GetShiftState [12:26:15]wFMCommunicate request_size=4 [12:26:15]MH_SAM_APDU [12:26:15]CAPDU: 80 13 01 00 [12:26:15]Write to MH i2c: E2 08 00 10 06 80 13 01 00 00 00 00 00 93 [12:26:15]Write i2c OK [12:26:15]MH_I2C_Read... [12:26:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:26:15]Read from MH i2c: E2 [12:26:15]MH_I2C_Read... [12:26:15]Read from MH i2c: E2 0E 00 [12:26:15]MH_I2C_Read... [12:26:15]Read from MH i2c: E2 0E 00 10 06 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 DD [12:26:15]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:26:15]wFMCommunicate OK [12:26:15]SAM_PROTO_GetShiftState done [12:26:15]FM_GetShiftState done [12:26:15]req_shift_opened done [12:26:15]requested_item shift.open_date is exist - process it [12:26:15]req_shift_open_date [12:26:15]req_shift_open_date done [12:26:15]produce_requested_data done [12:26:15]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24325,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [12:26:15]process_action_free close_receipt [12:26:15]json_value_free [12:26:15]json_value_free done [12:26:15]process_json_proto returns [12:26:15]Send response to host [12:26:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24325,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [12:26:15]free response buf [12:26:15]execute_script done [12:26:15]execute_script returns [12:26:15]free content buf [12:26:15]Sock 8.Close socket [12:26:15]Sock 8.Thread stoped [12:26:15]OFD Sender: No OFD packet to send [12:26:20]OFD Sender: No OFD packet to send [12:26:25]OFD Sender: No OFD packet to send [12:26:30]OFD Sender: No OFD packet to send [12:26:35]OFD Sender: No OFD packet to send [12:26:40]OFD Sender: No OFD packet to send [12:26:45]OFD Sender: No OFD packet to send [12:26:50]OFD Sender: No OFD packet to send [12:26:55]OFD Sender: No OFD packet to send [12:27:00]OFD Sender: No OFD packet to send [12:27:05]OFD Sender: No OFD packet to send [12:27:10]OFD Sender: No OFD packet to send [12:27:15]OFD Sender: No OFD packet to send [12:27:20]OFD Sender: No OFD packet to send [12:27:25]OFD Sender: No OFD packet to send [12:27:30]OFD Sender: No OFD packet to send [12:27:35]OFD Sender: No OFD packet to send [12:27:40]OFD Sender: No OFD packet to send [12:27:45]OFD Sender: No OFD packet to send [12:27:50]OFD Sender: No OFD packet to send [12:27:55]OFD Sender: No OFD packet to send [12:28:00]OFD Sender: No OFD packet to send [12:28:05]OFD Sender: No OFD packet to send [12:28:10]OFD Sender: No OFD packet to send [12:28:15]OFD Sender: No OFD packet to send [12:28:20]OFD Sender: No OFD packet to send [12:28:25]OFD Sender: No OFD packet to send [12:28:30]OFD Sender: No OFD packet to send [12:28:35]OFD Sender: No OFD packet to send [12:28:40]OFD Sender: No OFD packet to send [12:28:45]OFD Sender: No OFD packet to send [12:28:50]OFD Sender: No OFD packet to send [12:28:55]OFD Sender: No OFD packet to send [12:29:00]OFD Sender: No OFD packet to send [12:29:05]OFD Sender: No OFD packet to send [12:29:10]OFD Sender: No OFD packet to send [12:29:15]OFD Sender: No OFD packet to send [12:29:20]OFD Sender: No OFD packet to send [12:29:25]OFD Sender: No OFD packet to send [12:29:30]OFD Sender: No OFD packet to send [12:29:35]OFD Sender: No OFD packet to send [12:29:40]OFD Sender: No OFD packet to send [12:29:45]OFD Sender: No OFD packet to send [12:29:50]OFD Sender: No OFD packet to send [12:29:55]OFD Sender: No OFD packet to send [12:30:00]OFD Sender: No OFD packet to send [12:30:05]OFD Sender: No OFD packet to send [12:30:10]OFD Sender: No OFD packet to send [12:30:15]OFD Sender: No OFD packet to send [12:30:20]OFD Sender: No OFD packet to send [12:30:25]OFD Sender: No OFD packet to send [12:30:30]OFD Sender: No OFD packet to send [12:30:35]OFD Sender: No OFD packet to send [12:30:40]OFD Sender: No OFD packet to send [12:30:45]OFD Sender: No OFD packet to send [12:30:50]OFD Sender: No OFD packet to send [12:30:55]OFD Sender: No OFD packet to send [12:31:00]OFD Sender: No OFD packet to send [12:31:05]OFD Sender: No OFD packet to send [12:31:10]OFD Sender: No OFD packet to send [12:31:15]OFD Sender: No OFD packet to send [12:31:20]OFD Sender: No OFD packet to send [12:31:25]OFD Sender: No OFD packet to send [12:31:30]OFD Sender: No OFD packet to send [12:31:35]OFD Sender: No OFD packet to send [12:31:40]OFD Sender: No OFD packet to send [12:31:45]OFD Sender: No OFD packet to send [12:31:50]OFD Sender: No OFD packet to send [12:31:55]OFD Sender: No OFD packet to send [12:32:00]OFD Sender: No OFD packet to send [12:32:05]OFD Sender: No OFD packet to send [12:32:10]OFD Sender: No OFD packet to send [12:32:15]OFD Sender: No OFD packet to send [12:32:20]OFD Sender: No OFD packet to send [12:32:25]OFD Sender: No OFD packet to send [12:32:30]OFD Sender: No OFD packet to send [12:32:35]OFD Sender: No OFD packet to send [12:32:40]OFD Sender: No OFD packet to send [12:32:45]OFD Sender: No OFD packet to send [12:32:50]OFD Sender: No OFD packet to send [12:32:55]OFD Sender: No OFD packet to send [12:33:00]OFD Sender: No OFD packet to send [12:33:05]OFD Sender: No OFD packet to send [12:33:10]OFD Sender: No OFD packet to send [12:33:15]OFD Sender: No OFD packet to send [12:33:20]OFD Sender: No OFD packet to send [12:33:25]OFD Sender: No OFD packet to send [12:33:30]OFD Sender: No OFD packet to send [12:33:35]OFD Sender: No OFD packet to send [12:33:40]OFD Sender: No OFD packet to send [12:33:45]OFD Sender: No OFD packet to send [12:33:50]OFD Sender: No OFD packet to send [12:33:55]OFD Sender: No OFD packet to send [12:34:00]OFD Sender: No OFD packet to send [12:34:05]OFD Sender: No OFD packet to send [12:34:10]OFD Sender: No OFD packet to send [12:34:15]OFD Sender: No OFD packet to send [12:34:20]OFD Sender: No OFD packet to send [12:34:25]OFD Sender: No OFD packet to send [12:34:30]OFD Sender: No OFD packet to send [12:34:35]OFD Sender: No OFD packet to send [12:34:40]OFD Sender: No OFD packet to send [12:34:45]OFD Sender: No OFD packet to send [12:34:50]OFD Sender: No OFD packet to send [12:34:55]OFD Sender: No OFD packet to send [12:35:00]OFD Sender: No OFD packet to send [12:35:05]OFD Sender: No OFD packet to send [12:35:10]OFD Sender: No OFD packet to send [12:35:15]OFD Sender: No OFD packet to send [12:35:20]OFD Sender: No OFD packet to send [12:35:25]OFD Sender: No OFD packet to send [12:35:30]OFD Sender: No OFD packet to send [12:35:35]OFD Sender: No OFD packet to send [12:35:40]OFD Sender: No OFD packet to send [12:35:45]OFD Sender: No OFD packet to send [12:35:50]OFD Sender: No OFD packet to send [12:35:55]OFD Sender: No OFD packet to send [12:36:00]OFD Sender: No OFD packet to send [12:36:05]OFD Sender: No OFD packet to send [12:36:10]OFD Sender: No OFD packet to send [12:36:15]OFD Sender: No OFD packet to send [12:36:20]OFD Sender: No OFD packet to send [12:36:25]OFD Sender: No OFD packet to send [12:36:30]OFD Sender: No OFD packet to send [12:36:35]OFD Sender: No OFD packet to send [12:36:40]OFD Sender: No OFD packet to send [12:36:45]OFD Sender: No OFD packet to send [12:36:50]OFD Sender: No OFD packet to send [12:36:55]OFD Sender: No OFD packet to send [12:37:00]OFD Sender: No OFD packet to send [12:37:05]OFD Sender: No OFD packet to send [12:37:10]OFD Sender: No OFD packet to send [12:37:15]OFD Sender: No OFD packet to send [12:37:20]OFD Sender: No OFD packet to send [12:37:25]OFD Sender: No OFD packet to send [12:37:30]OFD Sender: No OFD packet to send [12:37:35]OFD Sender: No OFD packet to send [12:37:40]OFD Sender: No OFD packet to send [12:37:45]OFD Sender: No OFD packet to send [12:37:50]OFD Sender: No OFD packet to send [12:37:55]OFD Sender: No OFD packet to send [12:38:00]OFD Sender: No OFD packet to send [12:38:05]OFD Sender: No OFD packet to send [12:38:10]OFD Sender: No OFD packet to send [12:38:15]OFD Sender: No OFD packet to send [12:38:20]OFD Sender: No OFD packet to send [12:38:25]OFD Sender: No OFD packet to send [12:38:30]OFD Sender: No OFD packet to send [12:38:35]OFD Sender: No OFD packet to send [12:38:40]OFD Sender: No OFD packet to send [12:38:45]OFD Sender: No OFD packet to send [12:38:50]OFD Sender: No OFD packet to send [12:38:55]OFD Sender: No OFD packet to send [12:39:00]OFD Sender: No OFD packet to send [12:39:05]OFD Sender: No OFD packet to send [12:39:10]OFD Sender: No OFD packet to send [12:39:15]OFD Sender: No OFD packet to send [12:39:20]OFD Sender: No OFD packet to send [12:39:25]OFD Sender: No OFD packet to send [12:39:30]OFD Sender: No OFD packet to send [12:39:35]OFD Sender: No OFD packet to send [12:39:40]OFD Sender: No OFD packet to send [12:39:45]OFD Sender: No OFD packet to send [12:39:50]OFD Sender: No OFD packet to send [12:39:55]OFD Sender: No OFD packet to send [12:40:00]OFD Sender: No OFD packet to send [12:40:05]OFD Sender: No OFD packet to send [12:40:10]OFD Sender: No OFD packet to send [12:40:15]OFD Sender: No OFD packet to send [12:40:20]OFD Sender: No OFD packet to send [12:40:25]OFD Sender: No OFD packet to send [12:40:30]OFD Sender: No OFD packet to send [12:40:35]OFD Sender: No OFD packet to send [12:40:40]OFD Sender: No OFD packet to send [12:40:46]OFD Sender: No OFD packet to send [12:40:51]OFD Sender: No OFD packet to send [12:40:56]OFD Sender: No OFD packet to send [12:41:01]OFD Sender: No OFD packet to send [12:41:06]OFD Sender: No OFD packet to send [12:41:11]OFD Sender: No OFD packet to send [12:41:16]OFD Sender: No OFD packet to send [12:41:21]OFD Sender: No OFD packet to send [12:41:26]OFD Sender: No OFD packet to send [12:41:31]OFD Sender: No OFD packet to send [12:41:36]OFD Sender: No OFD packet to send [12:41:41]OFD Sender: No OFD packet to send [12:41:46]OFD Sender: No OFD packet to send [12:41:51]OFD Sender: No OFD packet to send [12:41:56]OFD Sender: No OFD packet to send [12:42:01]OFD Sender: No OFD packet to send [12:42:06]OFD Sender: No OFD packet to send [12:42:11]OFD Sender: No OFD packet to send [12:42:16]OFD Sender: No OFD packet to send [12:42:21]OFD Sender: No OFD packet to send [12:42:26]OFD Sender: No OFD packet to send [12:42:31]OFD Sender: No OFD packet to send [12:42:36]OFD Sender: No OFD packet to send [12:42:41]OFD Sender: No OFD packet to send [12:42:46]OFD Sender: No OFD packet to send [12:42:51]OFD Sender: No OFD packet to send [12:42:56]OFD Sender: No OFD packet to send [12:43:01]OFD Sender: No OFD packet to send [12:43:06]OFD Sender: No OFD packet to send [12:43:11]OFD Sender: No OFD packet to send [12:43:16]OFD Sender: No OFD packet to send [12:43:21]OFD Sender: No OFD packet to send [12:43:26]OFD Sender: No OFD packet to send [12:43:31]OFD Sender: No OFD packet to send [12:43:36]OFD Sender: No OFD packet to send [12:43:41]OFD Sender: No OFD packet to send [12:43:46]OFD Sender: No OFD packet to send [12:43:51]OFD Sender: No OFD packet to send [12:43:56]OFD Sender: No OFD packet to send [12:44:01]OFD Sender: No OFD packet to send [12:44:06]OFD Sender: No OFD packet to send [12:44:11]OFD Sender: No OFD packet to send [12:44:16]OFD Sender: No OFD packet to send [12:44:21]OFD Sender: No OFD packet to send [12:44:26]OFD Sender: No OFD packet to send [12:44:31]OFD Sender: No OFD packet to send [12:44:36]OFD Sender: No OFD packet to send [12:44:41]OFD Sender: No OFD packet to send [12:44:46]OFD Sender: No OFD packet to send [12:44:51]OFD Sender: No OFD packet to send [12:44:56]OFD Sender: No OFD packet to send [12:45:01]OFD Sender: No OFD packet to send [12:45:06]OFD Sender: No OFD packet to send [12:45:11]OFD Sender: No OFD packet to send [12:45:16]OFD Sender: No OFD packet to send [12:45:21]OFD Sender: No OFD packet to send [12:45:25]accept exits with 9 [12:45:25]New connection [12:45:25]New thread 3066940772 created [12:45:25]Thread 3067084132 joined [12:45:25]Waiting for new connection... [12:45:25] Sock 9.Parse request [12:45:25]Sock 9.Check first char [12:45:25]Sock 9.First char is OK [12:45:25]request: POST /json_proto HTTP/1.0 [12:45:25]Method: POST [12:45:25]URL: /json_proto [12:45:25]Method is POST - this is cgi request [12:45:25]url: /json_proto [12:45:25]query_string will be loaded in cgi processing [12:45:25]execute_cgi json_proto POST (null) [12:45:25]execute_cgi path=json_proto method=POST [12:45:25]POST find Content-Length [12:45:25]Host: 172.17.50.4:8080 [12:45:25]Content-Length: 941 [12:45:25]Content-Type: application/json [12:45:25] [12:45:25]POST finish read [12:45:25]Found Content-Length = 941 [12:45:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134847", "tax_sys" : 0, "items" : [ { "code": "4870002329951", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u0437\u0435\u043B \u0447\u0430\u0439 Regular", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 2.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 257.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:45:25]execute_script... [12:45: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)134847", "tax_sys" : 0, "items" : [ { "code": "4870002329951", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u0437\u0435\u043B \u0447\u0430\u0439 Regular", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 2.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 257.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:45:25]POST & json_proto [12:45:25]process_json_proto [12:45:25]json parsed OK: [12:45:25]protocol is kg_v1.0 [12:45:25]action value=close_receipt [12:45:25]process_action close_receipt [12:45:25]cmd_close_receipt [12:45:25]MH_GetDate [12:45:25]Write to MH i2c: F0 00 00 11 06 06 [12:45:25]Write i2c OK [12:45:25]MH_I2C_Read... [12:45:25]Read from MH i2c: F0 [12:45:25]MH_I2C_Read... [12:45:25]Read from MH i2c: F0 09 00 [12:45:25]MH_I2C_Read... [12:45:25]Read from MH i2c: F0 09 00 11 06 00 E7 4C 16 67 3B 12 16 67 89 [12:45:25]GetLastDocTimeStamp 1729513574 [12:45:25]current date 1729514727 [12:45:25]FM_GetShiftState [12:45:25]SAM_PROTO_GetShiftState [12:45:25]wFMCommunicate request_size=4 [12:45:25]MH_SAM_APDU [12:45:25]CAPDU: 80 13 01 00 [12:45:25]Write to MH i2c: E2 08 00 12 06 80 13 01 00 00 00 00 00 95 [12:45:25]Write i2c OK [12:45:25]MH_I2C_Read... [12:45:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:45:25]Read from MH i2c: E2 [12:45:25]MH_I2C_Read... [12:45:25]Read from MH i2c: E2 0E 00 [12:45:25]MH_I2C_Read... [12:45:25]Read from MH i2c: E2 0E 00 12 06 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 DF [12:45:25]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:45:25]wFMCommunicate OK [12:45:25]SAM_PROTO_GetShiftState done [12:45:25]FM_GetShiftState done [12:45:25]opened in 1729469223 [12:45:25]opened+sec_in_day 1729555623 [12:45:25]quantity*price = 11900 [12:45:25]sum+1 = 11901 [12:45:25]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600682557456 Напиток FLash up energy эн ж/б 0,5/0,45л 2.000 * 69.00 = 138.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 257.00 НСП 1% : 2.27 НДС 12% : 27.29 Наличными: 257.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 30 21.10.2024 12:45 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24326 ФПД: 220355365311190 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T124527&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24326&fm=220355365311190&tin=02508201610067®Number=0000000000098120&sum=25700 0 [12:45:26]StoreToDocumentArchive [12:45:26]shift 461 fd 24326 [12:45:26]save to /storage/0461/doc_00024326 [12:45:26]save last doc name /storage/0461/doc_00024326 to /storage/kkm_last_doc_name [12:45:26]save OK [12:45:26]Clear old archive folders... [12:45:26]ProcessDocumentItem done err = 0, tmpTLVsize=420 [12:45:26]tlvbuf is 00335350 [12:45:26]SAM_PROTO_ClearQueue [12:45:26]wFMCommunicate request_size=4 [12:45:26]MH_SAM_APDU [12:45:26]CAPDU: 80 09 00 00 [12:45:26]Write to MH i2c: E2 08 00 1F 06 80 09 00 00 00 00 00 00 97 [12:45:26]Write i2c OK [12:45:26]MH_I2C_Read... [12:45:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:45:27]Read from MH i2c: E2 [12:45:27]MH_I2C_Read... [12:45:27]Read from MH i2c: E2 03 00 [12:45:27]MH_I2C_Read... [12:45:27]Read from MH i2c: E2 03 00 1F 06 00 90 00 99 [12:45:27]RAPDU: 90 00 [12:45:27]wFMCommunicate OK [12:45:27]SAM_PROTO_ClearQueue done [12:45:27]KKMCreateOFDPacket [12:45:27]OFDProtocolAddRootSTLVToBuf [12:45:27]FM_MakeSignedData [12:45:27]FM_MakeSignedData [12:45:27]SAM_PROTO_SignData [12:45:27]wFMCommunicate request_size=4 [12:45:27]MH_SAM_APDU [12:45:27]CAPDU: 80 0D 01 02 [12:45:27]Write to MH i2c: E2 08 00 20 06 80 0D 01 02 00 00 00 00 9F [12:45:27]Write i2c OK [12:45:27]MH_I2C_Read... [12:45:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:45:27]Read from MH i2c: E2 [12:45:27]MH_I2C_Read... [12:45:27]Read from MH i2c: E2 03 00 [12:45:27]MH_I2C_Read... [12:45:27]Read from MH i2c: E2 03 00 20 06 00 90 00 9A [12:45:27]RAPDU: 90 00 [12:45:27]wFMCommunicate OK [12:45:27]wFMCommunicate request_size=255 [12:45:27]MH_SAM_APDU [12:45:27]CAPDU: 80 0D 02 02 FA 03 00 A4 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 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 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 D0 07 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 [12:45:27]Write to MH i2c: E2 02 01 21 06 80 0D 02 02 FA 00 03 00 A4 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 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 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 D0 07 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 00 00 4D [12:45:27]Write i2c OK [12:45:27]MH_I2C_Read... [12:45:27]Read from MH i2c: E2 [12:45:27]MH_I2C_Read... [12:45:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:45:27]Read from MH i2c: E2 03 00 [12:45:27]MH_I2C_Read... [12:45:27]Read from MH i2c: E2 03 00 21 06 00 90 00 9B [12:45:27]RAPDU: 90 00 [12:45:27]wFMCommunicate OK [12:45:27]wFMCommunicate request_size=179 [12:45:27]MH_SAM_APDU [12:45:27]CAPDU: 80 0D 02 02 AE 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 0A 00 00 00 00 07 04 06 00 64 64 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 E7 4C 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 06 5F 00 00 35 04 06 00 C8 69 7B 46 12 D6 [12:45:27]Write to MH i2c: E2 B6 00 22 06 80 0D 02 02 AE 00 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 0A 00 00 00 00 07 04 06 00 64 64 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 E7 4C 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 06 5F 00 00 35 04 06 00 C8 69 7B 46 12 D6 00 00 FD [12:45:27]Write i2c OK [12:45:27]MH_I2C_Read... [12:45:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:45:27]Read from MH i2c: E2 [12:45:27]MH_I2C_Read... [12:45:27]Read from MH i2c: E2 03 00 [12:45:27]MH_I2C_Read... [12:45:27]Read from MH i2c: E2 03 00 22 06 00 90 00 9C [12:45:27]RAPDU: 90 00 [12:45:27]wFMCommunicate OK [12:45:27]wFMCommunicate request_size=4 [12:45:27]MH_SAM_APDU [12:45:27]CAPDU: 80 0D 03 02 [12:45:27]Write to MH i2c: E2 08 00 23 06 80 0D 03 02 00 00 00 00 A4 [12:45:27]Write i2c OK [12:45:27]MH_I2C_Read... [12:45:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:45:27]Read from MH i2c: E2 [12:45:27]MH_I2C_Read... [12:45:27]Read from MH i2c: E2 0B 00 [12:45:27]MH_I2C_Read... [12:45:27]Read from MH i2c: E2 0B 00 23 06 00 F0 D8 71 F2 B9 73 F4 A0 90 00 90 [12:45:27]RAPDU: F0 D8 71 F2 B9 73 F4 A0 90 00 [12:45:27]wFMCommunicate OK [12:45:27]SAM_PROTO_SignData done [12:45:27]FM_MakeSignedData done [12:45:27]CreateOFDProtocolMessage [12:45:27]wFMCommunicate request_size=4 [12:45:27]MH_SAM_APDU [12:45:27]CAPDU: 80 11 00 00 [12:45:27]Write to MH i2c: E2 08 00 24 06 80 11 00 00 00 00 00 00 A4 [12:45:27]Write i2c OK [12:45:27]MH_I2C_Read... [12:45:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:45:27]Read from MH i2c: E2 [12:45:27]MH_I2C_Read... [12:45:27]Read from MH i2c: E2 17 00 [12:45:27]MH_I2C_Read... [12:45:27]Read from MH i2c: E2 17 00 24 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 F1 [12:45:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:45:27]wFMCommunicate OK [12:45:27]CreateOFDProtocolMessage done [12:45:27]OFDSenderStorePacket 24326 [12:45:27]StoreOFDPacket docnum=24326 [12:45:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 B8 01 00 00 B4 2D B0 01 73 4F 5A 03 01 00 03 00 A4 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 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 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 D0 07 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 0A 00 00 00 00 07 04 06 00 64 64 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 E7 4C 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 06 5F 00 00 35 04 06 00 C8 69 7B 46 12 D6 F0 D8 71 F2 B9 73 F4 A0 [12:45:27]CheckFolder [12:45:27]dirname=/storage/ofd_packets [12:45:27]CheckFolder done [12:45:27]ProducePacketName [12:45:27]name=ofd_packets/00024326 [12:45:27]NVStorageSaveData ofd_packets/00024326 [12:45:27]File name is /storage/ofd_packets/00024326 [12:45:27]Write 470 bytes [12:45:27]NVStorageSaveData done [12:45:27]OFDSenderStorePacket done [12:45:27]KKMCreateOFDPacket done [12:45:27]NVStorageSaveData kkm_last_timestamp [12:45:27]File name is /storage/kkm_last_timestamp [12:45:27]Write 4 bytes [12:45:27]NVStorageSaveData done [12:45:27]ExternCall_PrintAddStr [12:45:27]wPrintStart [12:45:27]Write to MH i2c: 01 00 00 25 06 2B [12:45:27]OFD Sender: Processing packet 24326 [packets to send 5, broken 4] [12:45:27]ProducePacketName [12:45:27]name=ofd_packets/00024326 [12:45:27]OFD Sender: To server: pG, [12:45:27]CommunicateWithHost lk.salyk.kg:30040 [12:45:27]Write i2c OK [12:45:27]ConnectInit lk.salyk.kg [12:45:27]MH_I2C_Read... [12:45:27]Read from MH i2c: 01 [12:45:27]MH_I2C_Read... [12:45:27]Read from MH i2c: 01 07 00 [12:45:27]MH_I2C_Read... [12:45:27]Read from MH i2c: 01 07 00 25 06 00 00 00 00 00 FF 0F 40 [12:45:27]RasterBufferAndPrint [12:45:27]line Счет N : (3)134847 [12:45:27]line ИНН: 02508201610067 [12:45:27]line Контрольно-Кассовый Чек [12:45:27]line ПРОДАЖА [12:45:27]line Товар: 4870002329951 [12:45:27]line Напиток Lipton IceTea 1л зел чай Regular [12:45:27]line 1.000 * 119.00 [12:45:27]line = 119.00 [12:45:27]line НДС 12% НСП 1% [12:45:27]line > о реализуемом товаре [12:45:27]line Товар: 4600682557456 [12:45:27]line Напиток FLash up energy эн ж/б 0,5/0,45л [12:45:27]line 2.000 * 69.00 [12:45:27]line = 138.00 [12:45:27]line НДС 12% НСП 1% [12:45:27]line > о реализуемом товаре [12:45:27]line ИТОГО: 257.00 [12:45:27]line НСП 1% : 2.27 [12:45:27]line НДС 12% : 27.29 [12:45:27]line Наличными: 257.00 [12:45:27]line Безнал.: 0.00 [12:45:27]line Место: АЗС № 85 "Партнер Нефть" [12:45:27]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:45:27]line СНО: Общий режим [12:45:27]line Чек 30 21.10.2024 12:45 [12:45:27]line Смена: 461 ФФД: 1.0 [12:45:27]line ЗНМ: 0300000166 [12:45:27]line РНМ: 0000000000098120 [12:45:27]line Версия ККМ: 001 [12:45:27]line ФМ: 0000000000965420 [12:45:27]line ФД: 24326 [12:45:27]line ФПД: 220355365311190 [12:45:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T124527&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24326&fm=220355365311190&tin=02508201610067®Number=0000000000098120&sum=25700 [12:45:27]line 0 [12:45:27]written 0, free lines is 4095 [12:45:28]Connected sock=10 [12:45: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 34 32 30 B8 01 00 00 B4 2D B0 01 73 4F 5A 03 01 00 03 00 A4 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 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 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 D0 07 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 0A 00 00 00 00 07 04 06 00 64 64 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 E7 4C 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 06 5F 00 00 35 04 06 00 C8 69 7B 46 12 D6 F0 D8 71 F2 B9 73 F4 A0 [12:45:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 99 4E 47 00 13 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 34 32 30 10 04 04 00 06 5F 00 00 F4 03 04 00 8D F8 15 67 B6 04 01 00 00 7C DE D7 8C 97 55 D8 64 [12:45:28]CommunicateWithHost err = 0 [12:45:28]CheckOFDResponse [12:45:28]1017 (14) - 77093643461234 [12:45:28]1041 (16) - 0000000000965420 [12:45:28]1040 (4) - 24326 [12:45:28]1012 (4) - 21.10.2024 06:45 [12:45:28]1206 (1) - 0 [12:45:28]OFD Sender: Remove packet 24326 [12:45:28]ProducePacketName [12:45:28]name=ofd_packets/00024326 [12:45:28]NVStorageDeleteData [12:45:28]Write to MH i2c: 01 00 00 55 06 5B [12:45:28]Write i2c OK [12:45:28]MH_I2C_Read... [12:45:28]Read from MH i2c: 01 [12:45:28]MH_I2C_Read... [12:45:28]Read from MH i2c: 01 07 00 [12:45:28]MH_I2C_Read... [12:45:28]Read from MH i2c: 01 07 00 55 06 00 00 00 00 00 B3 0C 21 [12:45:28]RasterBufferAndPrint [12:45:28]line [12:45:28]line [12:45:28]line [12:45:28]line [12:45:28]line [12:45:28]written 0, free lines is 3258 [12:45:28]process_action close_receipt done [12:45:28]requested_data is exist [12:45:28]produce_requested_data [12:45:28]requested_item fm.sn is exist - process it [12:45:28]wFMCommunicate request_size=4 [12:45:28]MH_SAM_APDU [12:45:28]CAPDU: 80 11 00 00 [12:45:28]Write to MH i2c: E2 08 00 5C 06 80 11 00 00 00 00 00 00 DC [12:45:28]Write i2c OK [12:45:28]MH_I2C_Read... [12:45:28]Read from MH i2c: E2 [12:45:28]MH_I2C_Read... [12:45:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:45:28]Read from MH i2c: E2 17 00 [12:45:28]MH_I2C_Read... [12:45:28]Read from MH i2c: E2 17 00 5C 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 29 [12:45:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:45:28]wFMCommunicate OK [12:45:28]requested_item fd.num is exist - process it [12:45:28]SAM_PROTO_GetFieldsCounters [12:45:28]wFMCommunicate request_size=4 [12:45:28]MH_SAM_APDU [12:45:28]CAPDU: 80 13 00 00 [12:45:28]Write to MH i2c: E2 08 00 5D 06 80 13 00 00 00 00 00 00 DF [12:45:28]Write i2c OK [12:45:28]MH_I2C_Read... [12:45:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:45:28]Read from MH i2c: E2 [12:45:28]MH_I2C_Read... [12:45:28]Read from MH i2c: E2 62 00 [12:45:28]MH_I2C_Read... [12:45:28]Read from MH i2c: E2 62 00 5D 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 06 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 82 [12:45: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 06 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:45:28]wFMCommunicate OK [12:45:28]SAM_PROTO_GetFieldsCounters done [12:45:28]requested_item shift.num is exist - process it [12:45:28]requested_item shift.opened is exist - process it [12:45:28]req_shift_opened [12:45:28]FM_GetShiftState [12:45:28]SAM_PROTO_GetShiftState [12:45:28]wFMCommunicate request_size=4 [12:45:28]MH_SAM_APDU [12:45:28]CAPDU: 80 13 01 00 [12:45:28]Write to MH i2c: E2 08 00 5E 06 80 13 01 00 00 00 00 00 E1 [12:45:28]Write i2c OK [12:45:28]MH_I2C_Read... [12:45:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:45:28]OFD Sender: No OFD packet to send [12:45:28]Read from MH i2c: E2 [12:45:28]MH_I2C_Read... [12:45:28]Read from MH i2c: E2 0E 00 [12:45:28]MH_I2C_Read... [12:45:28]Read from MH i2c: E2 0E 00 5E 06 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 2B [12:45:28]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:45:28]wFMCommunicate OK [12:45:28]SAM_PROTO_GetShiftState done [12:45:28]FM_GetShiftState done [12:45:28]req_shift_opened done [12:45:28]requested_item shift.open_date is exist - process it [12:45:28]req_shift_open_date [12:45:28]req_shift_open_date done [12:45:28]produce_requested_data done [12:45:28]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24326,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [12:45:28]process_action_free close_receipt [12:45:28]json_value_free [12:45:28]json_value_free done [12:45:28]process_json_proto returns [12:45:28]Send response to host [12:45:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24326,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [12:45:28]free response buf [12:45:28]execute_script done [12:45:28]execute_script returns [12:45:28]free content buf [12:45:28]Sock 9.Close socket [12:45:28]Sock 9.Thread stoped [12:45:33]OFD Sender: No OFD packet to send [12:45:38]OFD Sender: No OFD packet to send [12:45:43]OFD Sender: No OFD packet to send [12:45:48]OFD Sender: No OFD packet to send [12:45:53]OFD Sender: No OFD packet to send [12:45:58]OFD Sender: No OFD packet to send [12:46:03]OFD Sender: No OFD packet to send [12:46:08]OFD Sender: No OFD packet to send [12:46:13]OFD Sender: No OFD packet to send [12:46:18]OFD Sender: No OFD packet to send [12:46:23]OFD Sender: No OFD packet to send [12:46:28]OFD Sender: No OFD packet to send [12:46:33]OFD Sender: No OFD packet to send [12:46:38]OFD Sender: No OFD packet to send [12:46:43]OFD Sender: No OFD packet to send [12:46:48]OFD Sender: No OFD packet to send [12:46:53]OFD Sender: No OFD packet to send [12:46:58]OFD Sender: No OFD packet to send [12:47:03]OFD Sender: No OFD packet to send [12:47:08]OFD Sender: No OFD packet to send [12:47:13]OFD Sender: No OFD packet to send [12:47:18]OFD Sender: No OFD packet to send [12:47:23]OFD Sender: No OFD packet to send [12:47:28]OFD Sender: No OFD packet to send [12:47:33]OFD Sender: No OFD packet to send [12:47:38]OFD Sender: No OFD packet to send [12:47:43]OFD Sender: No OFD packet to send [12:47:48]OFD Sender: No OFD packet to send [12:47:53]OFD Sender: No OFD packet to send [12:47:58]OFD Sender: No OFD packet to send [12:48:03]OFD Sender: No OFD packet to send [12:48:08]OFD Sender: No OFD packet to send [12:48:13]OFD Sender: No OFD packet to send [12:48:18]OFD Sender: No OFD packet to send [12:48:23]OFD Sender: No OFD packet to send [12:48:28]OFD Sender: No OFD packet to send [12:48:33]OFD Sender: No OFD packet to send [12:48:38]OFD Sender: No OFD packet to send [12:48:43]OFD Sender: No OFD packet to send [12:48:48]OFD Sender: No OFD packet to send [12:48:53]OFD Sender: No OFD packet to send [12:48:58]OFD Sender: No OFD packet to send [12:49:03]OFD Sender: No OFD packet to send [12:49:08]OFD Sender: No OFD packet to send [12:49:13]OFD Sender: No OFD packet to send [12:49:18]OFD Sender: No OFD packet to send [12:49:23]OFD Sender: No OFD packet to send [12:49:28]OFD Sender: No OFD packet to send [12:49:33]OFD Sender: No OFD packet to send [12:49:38]OFD Sender: No OFD packet to send [12:49:43]OFD Sender: No OFD packet to send [12:49:48]OFD Sender: No OFD packet to send [12:49:53]OFD Sender: No OFD packet to send [12:49:58]OFD Sender: No OFD packet to send [12:50:03]OFD Sender: No OFD packet to send [12:50: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:21]accept exits with 8 [12:54:21]New connection [12:54:21]New thread 3067084132 created [12:54:21]Thread 3066940772 joined [12:54:21]Waiting for new connection... [12:54:21] Sock 8.Parse request [12:54:21]Sock 8.Check first char [12:54:21]Sock 8.First char is OK [12:54:21]request: POST /json_proto HTTP/1.0 [12:54:21]Method: POST [12:54:21]URL: /json_proto [12:54:21]Method is POST - this is cgi request [12:54:21]url: /json_proto [12:54:21]query_string will be loaded in cgi processing [12:54:21]execute_cgi json_proto POST (null) [12:54:21]execute_cgi path=json_proto method=POST [12:54:21]POST find Content-Length [12:54:21]Host: 172.17.50.4:8080 [12:54:21]Content-Length: 946 [12:54:21]Content-Type: application/json [12:54:21] [12:54:21]POST finish read [12:54:21]Found Content-Length = 946 [12:54:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134848", "tax_sys" : 0, "items" : [ { "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160099", "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" : 2.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:54:21]execute_script... [12:54: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)134848", "tax_sys" : 0, "items" : [ { "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160099", "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" : 2.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:54:21]POST & json_proto [12:54:21]process_json_proto [12:54:21]json parsed OK: [12:54:21]protocol is kg_v1.0 [12:54:21]action value=close_receipt [12:54:21]process_action close_receipt [12:54:21]cmd_close_receipt [12:54:21]MH_GetDate [12:54:21]Write to MH i2c: F0 00 00 5F 06 54 [12:54:21]Write i2c OK [12:54:21]MH_I2C_Read... [12:54:21]Read from MH i2c: F0 [12:54:21]MH_I2C_Read... [12:54:21]Read from MH i2c: F0 09 00 [12:54:21]MH_I2C_Read... [12:54:21]Read from MH i2c: F0 09 00 5F 06 00 FF 4E 16 67 3B 12 16 67 F1 [12:54:21]GetLastDocTimeStamp 1729514727 [12:54:21]current date 1729515263 [12:54:21]FM_GetShiftState [12:54:21]SAM_PROTO_GetShiftState [12:54:21]wFMCommunicate request_size=4 [12:54:21]MH_SAM_APDU [12:54:21]CAPDU: 80 13 01 00 [12:54:21]Write to MH i2c: E2 08 00 60 06 80 13 01 00 00 00 00 00 E3 [12:54:21]Write i2c OK [12:54:21]MH_I2C_Read... [12:54:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:54:21]Read from MH i2c: E2 [12:54:21]MH_I2C_Read... [12:54:21]Read from MH i2c: E2 0E 00 [12:54:21]MH_I2C_Read... [12:54:21]Read from MH i2c: E2 0E 00 60 06 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 2D [12:54:21]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:54:21]wFMCommunicate OK [12:54:21]SAM_PROTO_GetShiftState done [12:54:21]FM_GetShiftState done [12:54:21]opened in 1729469223 [12:54:21]opened+sec_in_day 1729555623 [12:54:21]quantity*price = 12000 [12:54:21]sum+1 = 12001 [12:54:21]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160099 Снек Курут индивидуальный 2.000 * 15.00 = 30.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.32 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 31 21.10.2024 12:54 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24327 ФПД: 254212077626164 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T125423&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24327&fm=254212077626164&tin=02508201610067®Number=0000000000098120&sum=15000 0 [12:54:22]StoreToDocumentArchive [12:54:22]shift 461 fd 24327 [12:54:22]save to /storage/0461/doc_00024327 [12:54:22]save last doc name /storage/0461/doc_00024327 to /storage/kkm_last_doc_name [12:54:22]save OK [12:54:22]Clear old archive folders... [12:54:22]ProcessDocumentItem done err = 0, tmpTLVsize=391 [12:54:22]tlvbuf is 003404A0 [12:54:22]SAM_PROTO_ClearQueue [12:54:22]wFMCommunicate request_size=4 [12:54:22]MH_SAM_APDU [12:54:22]CAPDU: 80 09 00 00 [12:54:22]Write to MH i2c: E2 08 00 6D 06 80 09 00 00 00 00 00 00 E5 [12:54:22]Write i2c OK [12:54:22]MH_I2C_Read... [12:54:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:54:23]Read from MH i2c: E2 [12:54:23]MH_I2C_Read... [12:54:23]Read from MH i2c: E2 03 00 [12:54:23]MH_I2C_Read... [12:54:23]Read from MH i2c: E2 03 00 6D 06 00 90 00 E7 [12:54:23]RAPDU: 90 00 [12:54:23]wFMCommunicate OK [12:54:23]SAM_PROTO_ClearQueue done [12:54:23]KKMCreateOFDPacket [12:54:23]OFDProtocolAddRootSTLVToBuf [12:54:23]FM_MakeSignedData [12:54:23]FM_MakeSignedData [12:54:23]SAM_PROTO_SignData [12:54:23]wFMCommunicate request_size=4 [12:54:23]MH_SAM_APDU [12:54:23]CAPDU: 80 0D 01 02 [12:54:23]Write to MH i2c: E2 08 00 6E 06 80 0D 01 02 00 00 00 00 ED [12:54:23]Write i2c OK [12:54:23]MH_I2C_Read... [12:54:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:54:23]Read from MH i2c: E2 [12:54:23]MH_I2C_Read... [12:54:23]Read from MH i2c: E2 03 00 [12:54:23]MH_I2C_Read... [12:54:23]Read from MH i2c: E2 03 00 6E 06 00 90 00 E8 [12:54:23]RAPDU: 90 00 [12:54:23]wFMCommunicate OK [12:54:23]wFMCommunicate request_size=255 [12:54:23]MH_SAM_APDU [12:54:23]CAPDU: 80 0D 02 02 FA 03 00 87 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 39 39 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 D0 07 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 [12:54:23]Write to MH i2c: E2 02 01 6F 06 80 0D 02 02 FA 00 03 00 87 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 39 39 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 D0 07 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 00 00 54 [12:54:23]Write i2c OK [12:54:23]MH_I2C_Read... [12:54:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:54:23]Read from MH i2c: E2 [12:54:23]MH_I2C_Read... [12:54:23]Read from MH i2c: E2 03 00 [12:54:23]MH_I2C_Read... [12:54:23]Read from MH i2c: E2 03 00 6F 06 00 90 00 E9 [12:54:23]RAPDU: 90 00 [12:54:23]wFMCommunicate OK [12:54:23]wFMCommunicate request_size=150 [12:54:23]MH_SAM_APDU [12:54:23]CAPDU: 80 0D 02 02 91 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 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 FF 4E 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 07 5F 00 00 35 04 06 00 E7 34 5C 95 A3 34 [12:54:23]Write to MH i2c: E2 99 00 70 06 80 0D 02 02 91 00 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 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 FF 4E 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 07 5F 00 00 35 04 06 00 E7 34 5C 95 A3 34 00 00 CB [12:54:23]Write i2c OK [12:54:23]MH_I2C_Read... [12:54:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:54:23]Read from MH i2c: E2 [12:54:23]MH_I2C_Read... [12:54:23]Read from MH i2c: E2 03 00 [12:54:23]MH_I2C_Read... [12:54:23]Read from MH i2c: E2 03 00 70 06 00 90 00 EA [12:54:23]RAPDU: 90 00 [12:54:23]wFMCommunicate OK [12:54:23]wFMCommunicate request_size=4 [12:54:23]MH_SAM_APDU [12:54:23]CAPDU: 80 0D 03 02 [12:54:23]Write to MH i2c: E2 08 00 71 06 80 0D 03 02 00 00 00 00 F2 [12:54:23]Write i2c OK [12:54:23]MH_I2C_Read... [12:54:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:54:23]Read from MH i2c: E2 [12:54:23]MH_I2C_Read... [12:54:23]Read from MH i2c: E2 0B 00 [12:54:23]MH_I2C_Read... [12:54:23]Read from MH i2c: E2 0B 00 71 06 00 95 A2 58 43 E3 51 05 79 90 00 77 [12:54:23]RAPDU: 95 A2 58 43 E3 51 05 79 90 00 [12:54:23]wFMCommunicate OK [12:54:23]SAM_PROTO_SignData done [12:54:23]FM_MakeSignedData done [12:54:23]CreateOFDProtocolMessage [12:54:23]wFMCommunicate request_size=4 [12:54:23]MH_SAM_APDU [12:54:23]CAPDU: 80 11 00 00 [12:54:23]Write to MH i2c: E2 08 00 72 06 80 11 00 00 00 00 00 00 F2 [12:54:23]Write i2c OK [12:54:23]MH_I2C_Read... [12:54:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:54:23]Read from MH i2c: E2 [12:54:23]MH_I2C_Read... [12:54:23]Read from MH i2c: E2 17 00 [12:54:23]MH_I2C_Read... [12:54:23]Read from MH i2c: E2 17 00 72 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 3F [12:54:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:54:23]wFMCommunicate OK [12:54:23]CreateOFDProtocolMessage done [12:54:23]OFDSenderStorePacket 24327 [12:54:23]StoreOFDPacket docnum=24327 [12:54:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 9B 01 00 00 4F 22 93 01 5E 23 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 39 39 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 D0 07 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 FF 4E 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 07 5F 00 00 35 04 06 00 E7 34 5C 95 A3 34 95 A2 58 43 E3 51 05 79 [12:54:23]CheckFolder [12:54:23]dirname=/storage/ofd_packets [12:54:23]CheckFolder done [12:54:23]ProducePacketName [12:54:23]name=ofd_packets/00024327 [12:54:23]NVStorageSaveData ofd_packets/00024327 [12:54:23]File name is /storage/ofd_packets/00024327 [12:54:23]Write 441 bytes [12:54:23]NVStorageSaveData done [12:54:23]OFDSenderStorePacket done [12:54:23]KKMCreateOFDPacket done [12:54:23]NVStorageSaveData kkm_last_timestamp [12:54:23]File name is /storage/kkm_last_timestamp [12:54:23]Write 4 bytes [12:54:23]NVStorageSaveData done [12:54:23]ExternCall_PrintAddStr [12:54:23]wPrintStart [12:54:23]Write to MH i2c: 01 00 00 73 06 79 [12:54:23]Write i2c OK [12:54:23]MH_I2C_Read... [12:54:23]Read from MH i2c: 01 [12:54:23]MH_I2C_Read... [12:54:23]Read from MH i2c: 01 07 00 [12:54:23]MH_I2C_Read... [12:54:23]Read from MH i2c: 01 07 00 73 06 00 00 00 00 00 FF 0F 8E [12:54:23]RasterBufferAndPrint [12:54:23]line Счет N : (3)134848 [12:54:23]line ИНН: 02508201610067 [12:54:23]line Контрольно-Кассовый Чек [12:54:23]line ПРОДАЖА [12:54:23]line Товар: 4700025313937 [12:54:23]line ВОДКА МЯГКАЯ 0,1л [12:54:23]line 2.000 * 60.00 [12:54:23]line = 120.00 [12:54:23]line НДС 12% НСП 1% [12:54:23]line > о реализуемом товаре [12:54:23]line Товар: 4700000160099 [12:54:23]line Снек Курут индивидуальный [12:54:23]line 2.000 * 15.00 [12:54:23]line = 30.00 [12:54:23]line НДС 12% НСП 1% [12:54:23]line > о реализуемом товаре [12:54:23]line ИТОГО: 150.00 [12:54:23]line НСП 1% : 1.32 [12:54:23]line НДС 12% : 15.93 [12:54:23]line Наличными: 150.00 [12:54:23]line Безнал.: 0.00 [12:54:23]line Место: АЗС № 85 "Партнер Нефть" [12:54:23]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:54:23]line СНО: Общий режим [12:54:23]line Чек 31 21.10.2024 12:54 [12:54:23]line Смена: 461 ФФД: 1.0 [12:54:23]line ЗНМ: 0300000166 [12:54:23]line РНМ: 0000000000098120 [12:54:23]line Версия ККМ: 001 [12:54:23]line ФМ: 0000000000965420 [12:54:23]line ФД: 24327 [12:54:23]line ФПД: 254212077626164 [12:54:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T125423&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24327&fm=254212077626164&tin=02508201610067®Number=0000000000098120&sum=15000 [12:54:23]OFD Sender: Processing packet 24327 [packets to send 5, broken 4] [12:54:23]ProducePacketName [12:54:23]name=ofd_packets/00024327 [12:54:23]OFD Sender: To server: pG, [12:54:23]CommunicateWithHost lk.salyk.kg:30040 [12:54:23]ConnectInit lk.salyk.kg [12:54:23]line 0 [12:54:23]written 0, free lines is 4095 [12:54:24]Connected sock=10 [12:54:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 9B 01 00 00 4F 22 93 01 5E 23 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 39 39 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 D0 07 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 FF 4E 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 07 5F 00 00 35 04 06 00 E7 34 5C 95 A3 34 95 A2 58 43 E3 51 05 79 [12:54:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 B3 62 47 00 13 5A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 07 5F 00 00 F4 03 04 00 A6 FA 15 67 B6 04 01 00 00 1A F7 5F 68 89 EB 58 54 [12:54:24]CommunicateWithHost err = 0 [12:54:24]CheckOFDResponse [12:54:24]1017 (14) - 77093643461234 [12:54:24]1041 (16) - 0000000000965420 [12:54:24]1040 (4) - 24327 [12:54:24]1012 (4) - 21.10.2024 06:54 [12:54:24]1206 (1) - 0 [12:54:24]OFD Sender: Remove packet 24327 [12:54:24]ProducePacketName [12:54:24]name=ofd_packets/00024327 [12:54:24]NVStorageDeleteData [12:54:24]Write to MH i2c: 01 00 00 A1 06 A7 [12:54:24]Write i2c OK [12:54:24]MH_I2C_Read... [12:54:24]Read from MH i2c: 01 [12:54:24]MH_I2C_Read... [12:54:24]Read from MH i2c: 01 07 00 [12:54:24]MH_I2C_Read... [12:54:24]Read from MH i2c: 01 07 00 A1 06 00 00 00 00 00 D2 0C 8C [12:54:24]RasterBufferAndPrint [12:54:24]line [12:54:24]line [12:54:24]line [12:54:24]line [12:54:24]line [12:54:24]written 0, free lines is 3289 [12:54:24]process_action close_receipt done [12:54:24]requested_data is exist [12:54:24]produce_requested_data [12:54:24]requested_item fm.sn is exist - process it [12:54:24]wFMCommunicate request_size=4 [12:54:24]MH_SAM_APDU [12:54:24]CAPDU: 80 11 00 00 [12:54:24]Write to MH i2c: E2 08 00 A8 06 80 11 00 00 00 00 00 00 28 [12:54:24]Write i2c OK [12:54:24]MH_I2C_Read... [12:54:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:54:24]Read from MH i2c: E2 [12:54:24]MH_I2C_Read... [12:54:24]Read from MH i2c: E2 17 00 [12:54:24]MH_I2C_Read... [12:54:24]Read from MH i2c: E2 17 00 A8 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 75 [12:54:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:54:24]wFMCommunicate OK [12:54:24]requested_item fd.num is exist - process it [12:54:24]SAM_PROTO_GetFieldsCounters [12:54:24]wFMCommunicate request_size=4 [12:54:24]MH_SAM_APDU [12:54:24]CAPDU: 80 13 00 00 [12:54:24]Write to MH i2c: E2 08 00 A9 06 80 13 00 00 00 00 00 00 2B [12:54:24]Write i2c OK [12:54:24]MH_I2C_Read... [12:54:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:54:24]Read from MH i2c: E2 [12:54:24]MH_I2C_Read... [12:54:24]Read from MH i2c: E2 62 00 [12:54:24]MH_I2C_Read... [12:54:24]Read from MH i2c: E2 62 00 A9 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 07 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 D2 [12:54: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 07 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:54:24]wFMCommunicate OK [12:54:24]SAM_PROTO_GetFieldsCounters done [12:54:24]requested_item shift.num is exist - process it [12:54:24]requested_item shift.opened is exist - process it [12:54:24]req_shift_opened [12:54:24]FM_GetShiftState [12:54:24]SAM_PROTO_GetShiftState [12:54:24]wFMCommunicate request_size=4 [12:54:24]MH_SAM_APDU [12:54:24]CAPDU: 80 13 01 00 [12:54:24]Write to MH i2c: E2 08 00 AA 06 80 13 01 00 00 00 00 00 2D [12:54:24]Write i2c OK [12:54:24]MH_I2C_Read... [12:54:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:54:24]Read from MH i2c: E2 [12:54:24]MH_I2C_Read... [12:54:24]Read from MH i2c: E2 0E 00 [12:54:24]MH_I2C_Read... [12:54:24]Read from MH i2c: E2 0E 00 AA 06 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 77 [12:54:24]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:54:24]wFMCommunicate OK [12:54:24]SAM_PROTO_GetShiftState done [12:54:24]FM_GetShiftState done [12:54:24]req_shift_opened done [12:54:24]requested_item shift.open_date is exist - process it [12:54:24]req_shift_open_date [12:54:24]req_shift_open_date done [12:54:24]produce_requested_data done [12:54:24]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24327,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [12:54:24]process_action_free close_receipt [12:54:24]json_value_free [12:54:24]json_value_free done [12:54:24]process_json_proto returns [12:54:24]Send response to host [12:54:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24327,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [12:54:24]free response buf [12:54:24]execute_script done [12:54:24]execute_script returns [12:54:24]free content buf [12:54:24]Sock 8.Close socket [12:54:24]Sock 8.Thread stoped [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:42]accept exits with 9 [12:55:42]New connection [12:55:42]New thread 3066940772 created [12:55:42]Thread 3067084132 joined [12:55:42]Waiting for new connection... [12:55:42] Sock 9.Parse request [12:55:42]Sock 9.Check first char [12:55:42]Sock 9.First char is OK [12:55:42]request: POST /json_proto HTTP/1.0 [12:55:42]Method: POST [12:55:42]URL: /json_proto [12:55:42]Method is POST - this is cgi request [12:55:42]url: /json_proto [12:55:42]query_string will be loaded in cgi processing [12:55:42]execute_cgi json_proto POST (null) [12:55:42]execute_cgi path=json_proto method=POST [12:55:42]POST find Content-Length [12:55:42]Host: 172.17.50.4:8080 [12:55:42]Content-Length: 623 [12:55:42]Content-Type: application/json [12:55:42] [12:55:42]POST finish read [12:55:42]Found Content-Length = 623 [12:55:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134849", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "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" ] } } [12:55:42]execute_script... [12:55: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)134849", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "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" ] } } [12:55:42]POST & json_proto [12:55:42]process_json_proto [12:55:42]json parsed OK: [12:55:42]protocol is kg_v1.0 [12:55:42]action value=close_receipt [12:55:42]process_action close_receipt [12:55:42]cmd_close_receipt [12:55:42]MH_GetDate [12:55:42]Write to MH i2c: F0 00 00 AB 06 A0 [12:55:42]Write i2c OK [12:55:42]MH_I2C_Read... [12:55:42]Read from MH i2c: F0 [12:55:42]MH_I2C_Read... [12:55:42]Read from MH i2c: F0 09 00 [12:55:42]MH_I2C_Read... [12:55:42]Read from MH i2c: F0 09 00 AB 06 00 50 4F 16 67 3B 12 16 67 8F [12:55:42]GetLastDocTimeStamp 1729515263 [12:55:42]current date 1729515344 [12:55:42]FM_GetShiftState [12:55:42]SAM_PROTO_GetShiftState [12:55:42]wFMCommunicate request_size=4 [12:55:42]MH_SAM_APDU [12:55:42]CAPDU: 80 13 01 00 [12:55:42]Write to MH i2c: E2 08 00 AC 06 80 13 01 00 00 00 00 00 2F [12:55:42]Write i2c OK [12:55:42]MH_I2C_Read... [12:55:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:55:42]Read from MH i2c: E2 [12:55:42]MH_I2C_Read... [12:55:42]Read from MH i2c: E2 0E 00 [12:55:42]MH_I2C_Read... [12:55:42]Read from MH i2c: E2 0E 00 AC 06 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 79 [12:55:42]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:55:42]wFMCommunicate OK [12:55:42]SAM_PROTO_GetShiftState done [12:55:42]FM_GetShiftState done [12:55:42]opened in 1729469223 [12:55:42]opened+sec_in_day 1729555623 [12:55:42]quantity*price = 28800 [12:55:42]sum+1 = 28801 [12:55:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 288.00 НСП 1% : 2.55 НДС 12% : 30.58 Наличными: 288.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 32 21.10.2024 12:55 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24328 ФПД: 273157263412192 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T125544&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24328&fm=273157263412192&tin=02508201610067®Number=0000000000098120&sum=28800 0 [12:55:43]StoreToDocumentArchive [12:55:43]shift 461 fd 24328 [12:55:43]save to /storage/0461/doc_00024328 [12:55:43]save last doc name /storage/0461/doc_00024328 to /storage/kkm_last_doc_name [12:55:43]save OK [12:55:43]Clear old archive folders... [12:55:43]ProcessDocumentItem done err = 0, tmpTLVsize=275 [12:55:43]tlvbuf is 003458F0 [12:55:43]SAM_PROTO_ClearQueue [12:55:43]wFMCommunicate request_size=4 [12:55:43]MH_SAM_APDU [12:55:43]CAPDU: 80 09 00 00 [12:55:43]Write to MH i2c: E2 08 00 B9 06 80 09 00 00 00 00 00 00 31 [12:55:43]Write i2c OK [12:55:43]MH_I2C_Read... [12:55:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:55:43]Read from MH i2c: E2 [12:55:43]MH_I2C_Read... [12:55:43]Read from MH i2c: E2 03 00 [12:55:43]MH_I2C_Read... [12:55:43]Read from MH i2c: E2 03 00 B9 06 00 90 00 33 [12:55:43]RAPDU: 90 00 [12:55:43]wFMCommunicate OK [12:55:43]SAM_PROTO_ClearQueue done [12:55:43]KKMCreateOFDPacket [12:55:43]OFDProtocolAddRootSTLVToBuf [12:55:43]FM_MakeSignedData [12:55:43]FM_MakeSignedData [12:55:43]SAM_PROTO_SignData [12:55:43]wFMCommunicate request_size=4 [12:55:43]MH_SAM_APDU [12:55:43]CAPDU: 80 0D 01 02 [12:55:43]Write to MH i2c: E2 08 00 BA 06 80 0D 01 02 00 00 00 00 39 [12:55:43]Write i2c OK [12:55:43]MH_I2C_Read... [12:55:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:55:43]Read from MH i2c: E2 [12:55:43]MH_I2C_Read... [12:55:43]Read from MH i2c: E2 03 00 [12:55:43]MH_I2C_Read... [12:55:43]Read from MH i2c: E2 03 00 BA 06 00 90 00 34 [12:55:43]RAPDU: 90 00 [12:55:43]wFMCommunicate OK [12:55:43]wFMCommunicate request_size=255 [12:55:43]MH_SAM_APDU [12:55:43]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 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 20 00 00 00 F4 03 04 00 50 4F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 [12:55:43]Write to MH i2c: E2 02 01 BB 06 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 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 20 00 00 00 F4 03 04 00 50 4F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 00 00 16 [12:55:43]Write i2c OK [12:55:43]MH_I2C_Read... [12:55:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:55:43]Read from MH i2c: E2 [12:55:43]MH_I2C_Read... [12:55:43]Read from MH i2c: E2 03 00 [12:55:43]MH_I2C_Read... [12:55:43]Read from MH i2c: E2 03 00 BB 06 00 90 00 35 [12:55:43]RAPDU: 90 00 [12:55:43]wFMCommunicate OK [12:55:43]wFMCommunicate request_size=34 [12:55:43]MH_SAM_APDU [12:55:43]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 08 5F 00 00 35 04 06 00 F8 6F 61 A7 4B E0 [12:55:43]Write to MH i2c: E2 25 00 BC 06 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 08 5F 00 00 35 04 06 00 F8 6F 61 A7 4B E0 00 00 F8 [12:55:43]Write i2c OK [12:55:43]MH_I2C_Read... [12:55:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:55:44]Read from MH i2c: E2 [12:55:44]MH_I2C_Read... [12:55:44]Read from MH i2c: E2 03 00 [12:55:44]MH_I2C_Read... [12:55:44]Read from MH i2c: E2 03 00 BC 06 00 90 00 36 [12:55:44]RAPDU: 90 00 [12:55:44]wFMCommunicate OK [12:55:44]wFMCommunicate request_size=4 [12:55:44]MH_SAM_APDU [12:55:44]CAPDU: 80 0D 03 02 [12:55:44]Write to MH i2c: E2 08 00 BD 06 80 0D 03 02 00 00 00 00 3E [12:55:44]Write i2c OK [12:55:44]MH_I2C_Read... [12:55:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:55:44]Read from MH i2c: E2 [12:55:44]MH_I2C_Read... [12:55:44]Read from MH i2c: E2 0B 00 [12:55:44]MH_I2C_Read... [12:55:44]Read from MH i2c: E2 0B 00 BD 06 00 E8 73 4A 9B 84 D9 67 C8 90 00 0B [12:55:44]RAPDU: E8 73 4A 9B 84 D9 67 C8 90 00 [12:55:44]wFMCommunicate OK [12:55:44]SAM_PROTO_SignData done [12:55:44]FM_MakeSignedData done [12:55:44]CreateOFDProtocolMessage [12:55:44]wFMCommunicate request_size=4 [12:55:44]MH_SAM_APDU [12:55:44]CAPDU: 80 11 00 00 [12:55:44]Write to MH i2c: E2 08 00 BE 06 80 11 00 00 00 00 00 00 3E [12:55:44]Write i2c OK [12:55:44]MH_I2C_Read... [12:55:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:55:44]Read from MH i2c: E2 [12:55:44]MH_I2C_Read... [12:55:44]Read from MH i2c: E2 17 00 [12:55:44]MH_I2C_Read... [12:55:44]Read from MH i2c: E2 17 00 BE 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 8B [12:55:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:55:44]wFMCommunicate OK [12:55:44]CreateOFDProtocolMessage done [12:55:44]OFDSenderStorePacket 24328 [12:55:44]StoreOFDPacket docnum=24328 [12:55:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 27 01 00 00 AE 0B 1F 01 F0 78 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 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 20 00 00 00 F4 03 04 00 50 4F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 08 5F 00 00 35 04 06 00 F8 6F 61 A7 4B E0 E8 73 4A 9B 84 D9 67 C8 [12:55:44]CheckFolder [12:55:44]dirname=/storage/ofd_packets [12:55:44]CheckFolder done [12:55:44]ProducePacketName [12:55:44]name=ofd_packets/00024328 [12:55:44]NVStorageSaveData ofd_packets/00024328 [12:55:44]File name is /storage/ofd_packets/00024328 [12:55:44]Write 325 bytes [12:55:44]NVStorageSaveData done [12:55:44]OFDSenderStorePacket done [12:55:44]KKMCreateOFDPacket done [12:55:44]NVStorageSaveData kkm_last_timestamp [12:55:44]File name is /storage/kkm_last_timestamp [12:55:44]Write 4 bytes [12:55:44]NVStorageSaveData done [12:55:44]ExternCall_PrintAddStr [12:55:44]wPrintStart [12:55:44]Write to MH i2c: 01 00 00 BF 06 C5 [12:55:44]Write i2c OK [12:55:44]MH_I2C_Read... [12:55:44]Read from MH i2c: 01 [12:55:44]MH_I2C_Read... [12:55:44]Read from MH i2c: 01 07 00 [12:55:44]MH_I2C_Read... [12:55:44]Read from MH i2c: 01 07 00 BF 06 00 00 00 00 00 FF 0F DA [12:55:44]RasterBufferAndPrint [12:55:44]line Счет N : (3)134849 [12:55:44]line ИНН: 02508201610067 [12:55:44]line Контрольно-Кассовый Чек [12:55:44]line ПРОДАЖА [12:55:44]line Товар: 48743587 [12:55:44]line Сигареты Winston XStyle Silver [12:55:44]line 2.000 * 144.00 [12:55:44]line = 288.00 [12:55:44]line НДС 12% НСП 1% [12:55:44]line > о реализуемом товаре [12:55:44]line ИТОГО: 288.00 [12:55:44]line НСП 1% : 2.55 [12:55:44]line НДС 12% : 30.58 [12:55:44]line Наличными: 288.00 [12:55:44]line Безнал.: 0.00 [12:55:44]line Место: АЗС № 85 "Партнер Нефть" [12:55:44]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:55:44]line СНО: Общий режим [12:55:44]line Чек 32 21.10.2024 12:55 [12:55:44]line Смена: 461 ФФД: 1.0 [12:55:44]line ЗНМ: 0300000166 [12:55:44]line РНМ: 0000000000098120 [12:55:44]line Версия ККМ: 001 [12:55:44]line ФМ: 0000000000965420 [12:55:44]line ФД: 24328 [12:55:44]line ФПД: 273157263412192 [12:55:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T125544&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24328&fm=273157263412192&tin=02508201610067®Number=0000000000098120&sum=28800 [12:55:44]OFD Sender: Processing packet 24328 [packets to send 5, broken 4] [12:55:44]ProducePacketName [12:55:44]name=ofd_packets/00024328 [12:55:44]OFD Sender: To server: pG, [12:55:44]CommunicateWithHost lk.salyk.kg:30040 [12:55:44]ConnectInit lk.salyk.kg [12:55:44]line 0 [12:55:44]written 0, free lines is 4095 [12:55:44]Connected sock=10 [12:55: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 34 32 30 27 01 00 00 AE 0B 1F 01 F0 78 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 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 20 00 00 00 F4 03 04 00 50 4F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 08 5F 00 00 35 04 06 00 F8 6F 61 A7 4B E0 E8 73 4A 9B 84 D9 67 C8 [12:55:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 9A 69 47 00 21 91 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 34 32 30 10 04 04 00 08 5F 00 00 F4 03 04 00 F6 FA 15 67 B6 04 01 00 00 06 3F DF DF 72 18 D8 33 [12:55:44]CommunicateWithHost err = 0 [12:55:44]CheckOFDResponse [12:55:44]1017 (14) - 77093643461234 [12:55:44]1041 (16) - 0000000000965420 [12:55:44]1040 (4) - 24328 [12:55:44]1012 (4) - 21.10.2024 06:55 [12:55:44]1206 (1) - 0 [12:55:44]OFD Sender: Remove packet 24328 [12:55:44]ProducePacketName [12:55:44]name=ofd_packets/00024328 [12:55:44]NVStorageDeleteData [12:55:44]Write to MH i2c: 01 00 00 E8 06 EE [12:55:44]Write i2c OK [12:55:44]MH_I2C_Read... [12:55:44]Read from MH i2c: 01 [12:55:44]MH_I2C_Read... [12:55:44]Read from MH i2c: 01 07 00 [12:55:44]MH_I2C_Read... [12:55:44]Read from MH i2c: 01 07 00 E8 06 00 00 00 00 00 13 0D 15 [12:55:44]RasterBufferAndPrint [12:55:44]line [12:55:44]line [12:55:44]line [12:55:44]line [12:55:44]line [12:55:44]written 0, free lines is 3353 [12:55:44]process_action close_receipt done [12:55:44]requested_data is exist [12:55:44]produce_requested_data [12:55:44]requested_item fm.sn is exist - process it [12:55:44]wFMCommunicate request_size=4 [12:55:44]MH_SAM_APDU [12:55:44]CAPDU: 80 11 00 00 [12:55:44]Write to MH i2c: E2 08 00 EF 06 80 11 00 00 00 00 00 00 6F [12:55:44]Write i2c OK [12:55:44]MH_I2C_Read... [12:55:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:55:45]Read from MH i2c: E2 [12:55:45]MH_I2C_Read... [12:55:45]Read from MH i2c: E2 17 00 [12:55:45]MH_I2C_Read... [12:55:45]Read from MH i2c: E2 17 00 EF 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 BC [12:55:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:55:45]wFMCommunicate OK [12:55:45]requested_item fd.num is exist - process it [12:55:45]SAM_PROTO_GetFieldsCounters [12:55:45]wFMCommunicate request_size=4 [12:55:45]MH_SAM_APDU [12:55:45]CAPDU: 80 13 00 00 [12:55:45]Write to MH i2c: E2 08 00 F0 06 80 13 00 00 00 00 00 00 72 [12:55:45]Write i2c OK [12:55:45]MH_I2C_Read... [12:55:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:55:45]Read from MH i2c: E2 [12:55:45]MH_I2C_Read... [12:55:45]Read from MH i2c: E2 62 00 [12:55:45]MH_I2C_Read... [12:55:45]Read from MH i2c: E2 62 00 F0 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 08 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 1D [12:55: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 08 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:55:45]wFMCommunicate OK [12:55:45]SAM_PROTO_GetFieldsCounters done [12:55:45]requested_item shift.num is exist - process it [12:55:45]requested_item shift.opened is exist - process it [12:55:45]req_shift_opened [12:55:45]FM_GetShiftState [12:55:45]SAM_PROTO_GetShiftState [12:55:45]wFMCommunicate request_size=4 [12:55:45]MH_SAM_APDU [12:55:45]CAPDU: 80 13 01 00 [12:55:45]Write to MH i2c: E2 08 00 F1 06 80 13 01 00 00 00 00 00 74 [12:55:45]Write i2c OK [12:55:45]MH_I2C_Read... [12:55:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:55:45]Read from MH i2c: E2 [12:55:45]MH_I2C_Read... [12:55:45]Read from MH i2c: E2 0E 00 [12:55:45]MH_I2C_Read... [12:55:45]Read from MH i2c: E2 0E 00 F1 06 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 BE [12:55:45]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:55:45]wFMCommunicate OK [12:55:45]SAM_PROTO_GetShiftState done [12:55:45]FM_GetShiftState done [12:55:45]req_shift_opened done [12:55:45]requested_item shift.open_date is exist - process it [12:55:45]req_shift_open_date [12:55:45]req_shift_open_date done [12:55:45]produce_requested_data done [12:55:45]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24328,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [12:55:45]process_action_free close_receipt [12:55:45]json_value_free [12:55:45]json_value_free done [12:55:45]process_json_proto returns [12:55:45]Send response to host [12:55:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24328,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [12:55:45]free response buf [12:55:45]execute_script done [12:55:45]execute_script returns [12:55:45]free content buf [12:55:45]Sock 9.Close socket [12:55:45]Sock 9.Thread stoped [12:55:45]OFD Sender: No OFD packet to send [12:55:50]OFD Sender: No OFD packet to send [12:55:50]accept exits with 8 [12:55:50]New connection [12:55:50]New thread 3067084132 created [12:55:50]Thread 3066940772 joined [12:55:50]Waiting for new connection... [12:55:50] Sock 8.Parse request [12:55:50]Sock 8.Check first char [12:55:50]Sock 8.First char is OK [12:55:50]request: POST /json_proto HTTP/1.0 [12:55:50]Method: POST [12:55:50]URL: /json_proto [12:55:50]Method is POST - this is cgi request [12:55:50]url: /json_proto [12:55:50]query_string will be loaded in cgi processing [12:55:50]execute_cgi json_proto POST (null) [12:55:50]execute_cgi path=json_proto method=POST [12:55:50]POST find Content-Length [12:55:50]Host: 172.17.50.4:8080 [12:55:50]Content-Length: 608 [12:55:50]Content-Type: application/json [12:55:50] [12:55:50]POST finish read [12:55:50]Found Content-Length = 608 [12:55:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134850", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 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:55:50]execute_script... [12:55: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)134850", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 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:55:50]POST & json_proto [12:55:50]process_json_proto [12:55:50]json parsed OK: [12:55:50]protocol is kg_v1.0 [12:55:50]action value=close_receipt [12:55:50]process_action close_receipt [12:55:50]cmd_close_receipt [12:55:50]MH_GetDate [12:55:50]Write to MH i2c: F0 00 00 F2 06 E7 [12:55:50]Write i2c OK [12:55:50]MH_I2C_Read... [12:55:50]Read from MH i2c: F0 [12:55:50]MH_I2C_Read... [12:55:50]Read from MH i2c: F0 09 00 [12:55:50]MH_I2C_Read... [12:55:50]Read from MH i2c: F0 09 00 F2 06 00 58 4F 16 67 3B 12 16 67 DE [12:55:50]GetLastDocTimeStamp 1729515344 [12:55:50]current date 1729515352 [12:55:50]FM_GetShiftState [12:55:50]SAM_PROTO_GetShiftState [12:55:50]wFMCommunicate request_size=4 [12:55:50]MH_SAM_APDU [12:55:50]CAPDU: 80 13 01 00 [12:55:50]Write to MH i2c: E2 08 00 F3 06 80 13 01 00 00 00 00 00 76 [12:55:50]Write i2c OK [12:55:50]MH_I2C_Read... [12:55:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:55:50]Read from MH i2c: E2 [12:55:50]MH_I2C_Read... [12:55:50]Read from MH i2c: E2 0E 00 [12:55:50]MH_I2C_Read... [12:55:50]Read from MH i2c: E2 0E 00 F3 06 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 C0 [12:55:50]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:55:50]wFMCommunicate OK [12:55:50]SAM_PROTO_GetShiftState done [12:55:50]FM_GetShiftState done [12:55:50]opened in 1729469223 [12:55:50]opened+sec_in_day 1729555623 [12:55:50]quantity*price = 1000 [12:55:50]sum+1 = 1001 [12:55:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 33 21.10.2024 12:55 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24329 ФПД: 123840651171410 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T125552&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24329&fm=123840651171410&tin=02508201610067®Number=0000000000098120&sum=1000 0 [12:55:51]StoreToDocumentArchive [12:55:51]shift 461 fd 24329 [12:55:51]save to /storage/0461/doc_00024329 [12:55:51]save last doc name /storage/0461/doc_00024329 to /storage/kkm_last_doc_name [12:55:51]save OK [12:55:51]Clear old archive folders... [12:55:51]ProcessDocumentItem done err = 0, tmpTLVsize=267 [12:55:51]tlvbuf is 00370B50 [12:55:51]SAM_PROTO_ClearQueue [12:55:51]wFMCommunicate request_size=4 [12:55:51]MH_SAM_APDU [12:55:51]CAPDU: 80 09 00 00 [12:55:51]Write to MH i2c: E2 08 00 00 07 80 09 00 00 00 00 00 00 79 [12:55:51]Write i2c OK [12:55:51]MH_I2C_Read... [12:55:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:55:51]Read from MH i2c: E2 [12:55:51]MH_I2C_Read... [12:55:51]Read from MH i2c: E2 03 00 [12:55:51]MH_I2C_Read... [12:55:51]Read from MH i2c: E2 03 00 00 07 00 90 00 7B [12:55:51]RAPDU: 90 00 [12:55:51]wFMCommunicate OK [12:55:51]SAM_PROTO_ClearQueue done [12:55:51]KKMCreateOFDPacket [12:55:51]OFDProtocolAddRootSTLVToBuf [12:55:51]FM_MakeSignedData [12:55:51]FM_MakeSignedData [12:55:51]SAM_PROTO_SignData [12:55:51]wFMCommunicate request_size=4 [12:55:51]MH_SAM_APDU [12:55:51]CAPDU: 80 0D 01 02 [12:55:51]Write to MH i2c: E2 08 00 01 07 80 0D 01 02 00 00 00 00 81 [12:55:51]Write i2c OK [12:55:51]MH_I2C_Read... [12:55:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:55:51]Read from MH i2c: E2 [12:55:51]MH_I2C_Read... [12:55:51]Read from MH i2c: E2 03 00 [12:55:51]MH_I2C_Read... [12:55:51]Read from MH i2c: E2 03 00 01 07 00 90 00 7C [12:55:51]RAPDU: 90 00 [12:55:51]wFMCommunicate OK [12:55:51]wFMCommunicate request_size=255 [12:55:51]MH_SAM_APDU [12:55:51]CAPDU: 80 0D 02 02 FA 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 21 00 00 00 F4 03 04 00 58 4F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 [12:55:51]Write to MH i2c: E2 02 01 02 07 80 0D 02 02 FA 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 21 00 00 00 F4 03 04 00 58 4F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 00 00 26 [12:55:51]Write i2c OK [12:55:51]MH_I2C_Read... [12:55:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:55:52]Read from MH i2c: E2 [12:55:52]MH_I2C_Read... [12:55:52]Read from MH i2c: E2 03 00 [12:55:52]MH_I2C_Read... [12:55:52]Read from MH i2c: E2 03 00 02 07 00 90 00 7D [12:55:52]RAPDU: 90 00 [12:55:52]wFMCommunicate OK [12:55:52]wFMCommunicate request_size=26 [12:55:52]MH_SAM_APDU [12:55:52]CAPDU: 80 0D 02 02 15 34 32 30 10 04 04 00 09 5F 00 00 35 04 06 00 70 A1 E6 05 96 52 [12:55:52]Write to MH i2c: E2 1D 00 03 07 80 0D 02 02 15 00 34 32 30 10 04 04 00 09 5F 00 00 35 04 06 00 70 A1 E6 05 96 52 00 00 E7 [12:55:52]Write i2c OK [12:55:52]MH_I2C_Read... [12:55:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:55:52]Read from MH i2c: E2 [12:55:52]MH_I2C_Read... [12:55:52]Read from MH i2c: E2 03 00 [12:55:52]MH_I2C_Read... [12:55:52]Read from MH i2c: E2 03 00 03 07 00 90 00 7E [12:55:52]RAPDU: 90 00 [12:55:52]wFMCommunicate OK [12:55:52]wFMCommunicate request_size=4 [12:55:52]MH_SAM_APDU [12:55:52]CAPDU: 80 0D 03 02 [12:55:52]Write to MH i2c: E2 08 00 04 07 80 0D 03 02 00 00 00 00 86 [12:55:52]Write i2c OK [12:55:52]MH_I2C_Read... [12:55:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:55:52]Read from MH i2c: E2 [12:55:52]MH_I2C_Read... [12:55:52]Read from MH i2c: E2 0B 00 [12:55:52]MH_I2C_Read... [12:55:52]Read from MH i2c: E2 0B 00 04 07 00 7B 2F 89 A3 1C F8 E9 E7 90 00 41 [12:55:52]RAPDU: 7B 2F 89 A3 1C F8 E9 E7 90 00 [12:55:52]wFMCommunicate OK [12:55:52]SAM_PROTO_SignData done [12:55:52]FM_MakeSignedData done [12:55:52]CreateOFDProtocolMessage [12:55:52]wFMCommunicate request_size=4 [12:55:52]MH_SAM_APDU [12:55:52]CAPDU: 80 11 00 00 [12:55:52]Write to MH i2c: E2 08 00 05 07 80 11 00 00 00 00 00 00 86 [12:55:52]Write i2c OK [12:55:52]MH_I2C_Read... [12:55:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:55:52]Read from MH i2c: E2 [12:55:52]MH_I2C_Read... [12:55:52]Read from MH i2c: E2 17 00 [12:55:52]MH_I2C_Read... [12:55:52]Read from MH i2c: E2 17 00 05 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 D3 [12:55:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:55:52]wFMCommunicate OK [12:55:52]CreateOFDProtocolMessage done [12:55:52]OFDSenderStorePacket 24329 [12:55:52]StoreOFDPacket docnum=24329 [12:55:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 38 24 17 01 57 EC 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 21 00 00 00 F4 03 04 00 58 4F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 09 5F 00 00 35 04 06 00 70 A1 E6 05 96 52 7B 2F 89 A3 1C F8 E9 E7 [12:55:52]CheckFolder [12:55:52]dirname=/storage/ofd_packets [12:55:52]CheckFolder done [12:55:52]ProducePacketName [12:55:52]name=ofd_packets/00024329 [12:55:52]NVStorageSaveData ofd_packets/00024329 [12:55:52]File name is /storage/ofd_packets/00024329 [12:55:52]Write 317 bytes [12:55:52]NVStorageSaveData done [12:55:52]OFDSenderStorePacket done [12:55:52]KKMCreateOFDPacket done [12:55:52]NVStorageSaveData kkm_last_timestamp [12:55:52]File name is /storage/kkm_last_timestamp [12:55:52]Write 4 bytes [12:55:52]NVStorageSaveData done [12:55:52]ExternCall_PrintAddStr [12:55:52]wPrintStart [12:55:52]Write to MH i2c: 01 00 00 06 07 0D [12:55:52]Write i2c OK [12:55:52]MH_I2C_Read... [12:55:52]Read from MH i2c: 01 [12:55:52]MH_I2C_Read... [12:55:52]Read from MH i2c: 01 07 00 [12:55:52]MH_I2C_Read... [12:55:52]Read from MH i2c: 01 07 00 06 07 00 00 00 00 00 FF 0F 22 [12:55:52]RasterBufferAndPrint [12:55:52]line Счет N : (3)134850 [12:55:52]line ИНН: 02508201610067 [12:55:52]line Контрольно-Кассовый Чек [12:55:52]line ПРОДАЖА [12:55:52]line Товар: 46231529 [12:55:52]line Mentos ПФ Арбуз 6*100*2 [12:55:52]line 1.000 * 10.00 [12:55:52]line = 10.00 [12:55:52]line НДС 12% НСП 1% [12:55:52]line > о реализуемом товаре [12:55:52]line ИТОГО: 10.00 [12:55:52]line НСП 1% : 0.09 [12:55:52]line НДС 12% : 1.06 [12:55:52]line Наличными: 10.00 [12:55:52]line Безнал.: 0.00 [12:55:52]line Место: АЗС № 85 "Партнер Нефть" [12:55:52]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:55:52]line СНО: Общий режим [12:55:52]line Чек 33 21.10.2024 12:55 [12:55:52]line Смена: 461 ФФД: 1.0 [12:55:52]line ЗНМ: 0300000166 [12:55:52]line РНМ: 0000000000098120 [12:55:52]line Версия ККМ: 001 [12:55:52]line ФМ: 0000000000965420 [12:55:52]line ФД: 24329 [12:55:52]line ФПД: 123840651171410 [12:55:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T125552&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24329&fm=123840651171410&tin=02508201610067®Number=0000000000098120&sum=1000 [12:55:52]line 0 [12:55:52]written 0, free lines is 4095 [12:55:52]OFD Sender: Processing packet 24329 [packets to send 5, broken 4] [12:55:52]ProducePacketName [12:55:52]name=ofd_packets/00024329 [12:55:52]OFD Sender: To server: pG, [12:55:52]CommunicateWithHost lk.salyk.kg:30040 [12:55:52]ConnectInit lk.salyk.kg [12:55:52]Connected sock=9 [12:55: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 34 32 30 1F 01 00 00 38 24 17 01 57 EC 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 21 00 00 00 F4 03 04 00 58 4F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 09 5F 00 00 35 04 06 00 70 A1 E6 05 96 52 7B 2F 89 A3 1C F8 E9 E7 [12:55:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 CB 67 47 00 5B 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 34 32 30 10 04 04 00 09 5F 00 00 F4 03 04 00 FE FA 15 67 B6 04 01 00 00 AC 8D 1C 8A C7 5D 64 FF [12:55:52]CommunicateWithHost err = 0 [12:55:52]CheckOFDResponse [12:55:52]1017 (14) - 77093643461234 [12:55:52]1041 (16) - 0000000000965420 [12:55:52]1040 (4) - 24329 [12:55:52]1012 (4) - 21.10.2024 06:55 [12:55:52]1206 (1) - 0 [12:55:52]OFD Sender: Remove packet 24329 [12:55:52]ProducePacketName [12:55:52]name=ofd_packets/00024329 [12:55:52]NVStorageDeleteData [12:55:52]Write to MH i2c: 01 00 00 2E 07 35 [12:55:52]Write i2c OK [12:55:52]MH_I2C_Read... [12:55:52]Read from MH i2c: 01 [12:55:52]MH_I2C_Read... [12:55:52]Read from MH i2c: 01 07 00 [12:55:52]MH_I2C_Read... [12:55:52]Read from MH i2c: 01 07 00 2E 07 00 00 00 00 00 1F 0D 68 [12:55:52]RasterBufferAndPrint [12:55:52]line [12:55:52]line [12:55:52]line [12:55:52]line [12:55:52]line [12:55:52]written 0, free lines is 3368 [12:55:52]process_action close_receipt done [12:55:52]requested_data is exist [12:55:52]produce_requested_data [12:55:52]requested_item fm.sn is exist - process it [12:55:52]wFMCommunicate request_size=4 [12:55:52]MH_SAM_APDU [12:55:52]CAPDU: 80 11 00 00 [12:55:52]Write to MH i2c: E2 08 00 35 07 80 11 00 00 00 00 00 00 B6 [12:55:52]Write i2c OK [12:55:52]MH_I2C_Read... [12:55:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:55:52]Read from MH i2c: E2 [12:55:52]MH_I2C_Read... [12:55:52]Read from MH i2c: E2 17 00 [12:55:52]MH_I2C_Read... [12:55:52]Read from MH i2c: E2 17 00 35 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 03 [12:55:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:55:52]wFMCommunicate OK [12:55:52]requested_item fd.num is exist - process it [12:55:52]SAM_PROTO_GetFieldsCounters [12:55:52]wFMCommunicate request_size=4 [12:55:52]MH_SAM_APDU [12:55:52]CAPDU: 80 13 00 00 [12:55:52]Write to MH i2c: E2 08 00 36 07 80 13 00 00 00 00 00 00 B9 [12:55:52]Write i2c OK [12:55:52]MH_I2C_Read... [12:55:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:55:52]Read from MH i2c: E2 [12:55:53]MH_I2C_Read... [12:55:53]Read from MH i2c: E2 62 00 [12:55:53]MH_I2C_Read... [12:55:53]Read from MH i2c: E2 62 00 36 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 09 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 68 [12:55: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 09 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:55:53]wFMCommunicate OK [12:55:53]SAM_PROTO_GetFieldsCounters done [12:55:53]requested_item shift.num is exist - process it [12:55:53]requested_item shift.opened is exist - process it [12:55:53]req_shift_opened [12:55:53]FM_GetShiftState [12:55:53]SAM_PROTO_GetShiftState [12:55:53]wFMCommunicate request_size=4 [12:55:53]MH_SAM_APDU [12:55:53]CAPDU: 80 13 01 00 [12:55:53]Write to MH i2c: E2 08 00 37 07 80 13 01 00 00 00 00 00 BB [12:55:53]Write i2c OK [12:55:53]MH_I2C_Read... [12:55:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:55:53]Read from MH i2c: E2 [12:55:53]MH_I2C_Read... [12:55:53]Read from MH i2c: E2 0E 00 [12:55:53]MH_I2C_Read... [12:55:53]Read from MH i2c: E2 0E 00 37 07 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 05 [12:55:53]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:55:53]wFMCommunicate OK [12:55:53]SAM_PROTO_GetShiftState done [12:55:53]FM_GetShiftState done [12:55:53]req_shift_opened done [12:55:53]requested_item shift.open_date is exist - process it [12:55:53]req_shift_open_date [12:55:53]req_shift_open_date done [12:55:53]produce_requested_data done [12:55:53]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24329,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [12:55:53]process_action_free close_receipt [12:55:53]json_value_free [12:55:53]json_value_free done [12:55:53]process_json_proto returns [12:55:53]Send response to host [12:55:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24329,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [12:55:53]free response buf [12:55:53]execute_script done [12:55:53]execute_script returns [12:55:53]free content buf [12:55:53]Sock 8.Close socket [12:55:53]Sock 8.Thread stoped [12:55:53]OFD Sender: No OFD packet to send [12:55:58]OFD Sender: No OFD packet to send [12:56:03]OFD Sender: No OFD packet to send [12:56:08]OFD Sender: No OFD packet to send [12:56:13]OFD Sender: No OFD packet to send [12:56:18]OFD Sender: No OFD packet to send [12:56:23]OFD Sender: No OFD packet to send [12:56:28]OFD Sender: No OFD packet to send [12:56:33]OFD Sender: No OFD packet to send [12:56:38]OFD Sender: No OFD packet to send [12:56:43]OFD Sender: No OFD packet to send [12:56:48]OFD Sender: No OFD packet to send [12:56:48]accept exits with 10 [12:56:48]New connection [12:56:48]New thread 3066940772 created [12:56:48]Thread 3067084132 joined [12:56:48]Waiting for new connection... [12:56:48] Sock 10.Parse request [12:56:48]Sock 10.Check first char [12:56:48]Sock 10.First char is OK [12:56:48]request: POST /json_proto HTTP/1.0 [12:56:48]Method: POST [12:56:48]URL: /json_proto [12:56:48]Method is POST - this is cgi request [12:56:48]url: /json_proto [12:56:48]query_string will be loaded in cgi processing [12:56:48]execute_cgi json_proto POST (null) [12:56:48]execute_cgi path=json_proto method=POST [12:56:48]POST find Content-Length [12:56:48]Host: 172.17.50.4:8080 [12:56:48]Content-Length: 711 [12:56:48]Content-Type: application/json [12:56:48] [12:56:48]POST finish read [12:56:48]Found Content-Length = 711 [12:56:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134851", "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" ] } } [12:56:48]execute_script... [12:56:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134851", "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" ] } } [12:56:48]POST & json_proto [12:56:48]process_json_proto [12:56:48]json parsed OK: [12:56:48]protocol is kg_v1.0 [12:56:48]action value=close_receipt [12:56:48]process_action close_receipt [12:56:48]cmd_close_receipt [12:56:48]MH_GetDate [12:56:48]Write to MH i2c: F0 00 00 38 07 2E [12:56:48]Write i2c OK [12:56:48]MH_I2C_Read... [12:56:48]Read from MH i2c: F0 [12:56:48]MH_I2C_Read... [12:56:48]Read from MH i2c: F0 09 00 [12:56:48]MH_I2C_Read... [12:56:48]Read from MH i2c: F0 09 00 38 07 00 92 4F 16 67 3B 12 16 67 5F [12:56:48]GetLastDocTimeStamp 1729515352 [12:56:48]current date 1729515410 [12:56:48]FM_GetShiftState [12:56:48]SAM_PROTO_GetShiftState [12:56:48]wFMCommunicate request_size=4 [12:56:48]MH_SAM_APDU [12:56:48]CAPDU: 80 13 01 00 [12:56:48]Write to MH i2c: E2 08 00 39 07 80 13 01 00 00 00 00 00 BD [12:56:48]Write i2c OK [12:56:48]MH_I2C_Read... [12:56:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:56:48]Read from MH i2c: E2 [12:56:48]MH_I2C_Read... [12:56:48]Read from MH i2c: E2 0E 00 [12:56:48]MH_I2C_Read... [12:56:48]Read from MH i2c: E2 0E 00 39 07 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 07 [12:56:48]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:56:48]wFMCommunicate OK [12:56:48]SAM_PROTO_GetShiftState done [12:56:48]FM_GetShiftState done [12:56:48]opened in 1729469223 [12:56:48]opened+sec_in_day 1729555623 [12:56:48]quantity*price = 8400 [12:56:48]sum+1 = 8401 [12:56:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 84.00 НСП 1% : 0.74 НДС 12% : 8.92 Наличными: 84.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 34 21.10.2024 12:56 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24330 ФПД: 187192848653042 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T125650&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24330&fm=187192848653042&tin=02508201610067®Number=0000000000098120&sum=8400 0 [12:56:49]StoreToDocumentArchive [12:56:49]shift 461 fd 24330 [12:56:49]save to /storage/0461/doc_00024330 [12:56:49]save last doc name /storage/0461/doc_00024330 to /storage/kkm_last_doc_name [12:56:49]save OK [12:56:49]Clear old archive folders... [12:56:49]ProcessDocumentItem done err = 0, tmpTLVsize=302 [12:56:49]tlvbuf is 002B9980 [12:56:49]SAM_PROTO_ClearQueue [12:56:49]wFMCommunicate request_size=4 [12:56:49]MH_SAM_APDU [12:56:49]CAPDU: 80 09 00 00 [12:56:49]Write to MH i2c: E2 08 00 46 07 80 09 00 00 00 00 00 00 BF [12:56:49]Write i2c OK [12:56:49]MH_I2C_Read... [12:56:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:56:49]Read from MH i2c: E2 [12:56:49]MH_I2C_Read... [12:56:49]Read from MH i2c: E2 03 00 [12:56:49]MH_I2C_Read... [12:56:49]Read from MH i2c: E2 03 00 46 07 00 90 00 C1 [12:56:49]RAPDU: 90 00 [12:56:49]wFMCommunicate OK [12:56:49]SAM_PROTO_ClearQueue done [12:56:49]KKMCreateOFDPacket [12:56:49]OFDProtocolAddRootSTLVToBuf [12:56:49]FM_MakeSignedData [12:56:49]FM_MakeSignedData [12:56:49]SAM_PROTO_SignData [12:56:49]wFMCommunicate request_size=4 [12:56:49]MH_SAM_APDU [12:56:49]CAPDU: 80 0D 01 02 [12:56:49]Write to MH i2c: E2 08 00 47 07 80 0D 01 02 00 00 00 00 C7 [12:56:49]Write i2c OK [12:56:49]MH_I2C_Read... [12:56:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:56:49]Read from MH i2c: E2 [12:56:49]MH_I2C_Read... [12:56:49]Read from MH i2c: E2 03 00 [12:56:49]MH_I2C_Read... [12:56:49]Read from MH i2c: E2 03 00 47 07 00 90 00 C2 [12:56:49]RAPDU: 90 00 [12:56:49]wFMCommunicate OK [12:56:49]wFMCommunicate request_size=255 [12:56:49]MH_SAM_APDU [12:56:49]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 22 00 00 00 F4 03 04 00 92 4F 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 [12:56:49]Write to MH i2c: E2 02 01 48 07 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 22 00 00 00 F4 03 04 00 92 4F 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 00 00 B3 [12:56:49]Write i2c OK [12:56:49]MH_I2C_Read... [12:56:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:56:50]Read from MH i2c: E2 [12:56:50]MH_I2C_Read... [12:56:50]Read from MH i2c: E2 03 00 [12:56:50]MH_I2C_Read... [12:56:50]Read from MH i2c: E2 03 00 48 07 00 90 00 C3 [12:56:50]RAPDU: 90 00 [12:56:50]wFMCommunicate OK [12:56:50]wFMCommunicate request_size=61 [12:56:50]MH_SAM_APDU [12:56:50]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0A 5F 00 00 35 04 06 00 AA 40 3B 3F 9A F2 [12:56:50]Write to MH i2c: E2 40 00 49 07 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0A 5F 00 00 35 04 06 00 AA 40 3B 3F 9A F2 00 00 4D [12:56:50]Write i2c OK [12:56:50]MH_I2C_Read... [12:56:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:56:50]Read from MH i2c: E2 [12:56:50]MH_I2C_Read... [12:56:50]Read from MH i2c: E2 03 00 [12:56:50]MH_I2C_Read... [12:56:50]Read from MH i2c: E2 03 00 49 07 00 90 00 C4 [12:56:50]RAPDU: 90 00 [12:56:50]wFMCommunicate OK [12:56:50]wFMCommunicate request_size=4 [12:56:50]MH_SAM_APDU [12:56:50]CAPDU: 80 0D 03 02 [12:56:50]Write to MH i2c: E2 08 00 4A 07 80 0D 03 02 00 00 00 00 CC [12:56:50]Write i2c OK [12:56:50]MH_I2C_Read... [12:56:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:56:50]Read from MH i2c: E2 [12:56:50]MH_I2C_Read... [12:56:50]Read from MH i2c: E2 0B 00 [12:56:50]MH_I2C_Read... [12:56:50]Read from MH i2c: E2 0B 00 4A 07 00 85 D9 36 1F BE B8 29 DE 90 00 FD [12:56:50]RAPDU: 85 D9 36 1F BE B8 29 DE 90 00 [12:56:50]wFMCommunicate OK [12:56:50]SAM_PROTO_SignData done [12:56:50]FM_MakeSignedData done [12:56:50]CreateOFDProtocolMessage [12:56:50]wFMCommunicate request_size=4 [12:56:50]MH_SAM_APDU [12:56:50]CAPDU: 80 11 00 00 [12:56:50]Write to MH i2c: E2 08 00 4B 07 80 11 00 00 00 00 00 00 CC [12:56:50]Write i2c OK [12:56:50]MH_I2C_Read... [12:56:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:56:50]Read from MH i2c: E2 [12:56:50]MH_I2C_Read... [12:56:50]Read from MH i2c: E2 17 00 [12:56:50]MH_I2C_Read... [12:56:50]Read from MH i2c: E2 17 00 4B 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 19 [12:56:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:56:50]wFMCommunicate OK [12:56:50]CreateOFDProtocolMessage done [12:56:50]OFDSenderStorePacket 24330 [12:56:50]StoreOFDPacket docnum=24330 [12:56:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 42 01 00 00 51 7A 3A 01 74 17 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 22 00 00 00 F4 03 04 00 92 4F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0A 5F 00 00 35 04 06 00 AA 40 3B 3F 9A F2 85 D9 36 1F BE B8 29 DE [12:56:50]CheckFolder [12:56:50]dirname=/storage/ofd_packets [12:56:50]CheckFolder done [12:56:50]ProducePacketName [12:56:50]name=ofd_packets/00024330 [12:56:50]NVStorageSaveData ofd_packets/00024330 [12:56:50]File name is /storage/ofd_packets/00024330 [12:56:50]Write 352 bytes [12:56:50]NVStorageSaveData done [12:56:50]OFDSenderStorePacket done [12:56:50]KKMCreateOFDPacket done [12:56:50]NVStorageSaveData kkm_last_timestamp [12:56:50]File name is /storage/kkm_last_timestamp [12:56:50]Write 4 bytes [12:56:50]NVStorageSaveData done [12:56:50]ExternCall_PrintAddStr [12:56:50]wPrintStart [12:56:50]Write to MH i2c: 01 00 00 4C 07 53 [12:56:50]Write i2c OK [12:56:50]MH_I2C_Read... [12:56:50]Read from MH i2c: 01 [12:56:50]MH_I2C_Read... [12:56:50]Read from MH i2c: 01 07 00 [12:56:50]MH_I2C_Read... [12:56:50]Read from MH i2c: 01 07 00 4C 07 00 00 00 00 00 FF 0F 68 [12:56:50]RasterBufferAndPrint [12:56:50]line Счет N : (3)134851 [12:56:50]line ИНН: 02508201610067 [12:56:50]line Контрольно-Кассовый Чек [12:56:50]line ПРОДАЖА [12:56:50]line Товар: 4870001571030 [12:56:50]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [12:56:50]line 1.000 * 84.00 [12:56:50]line = 84.00 [12:56:50]line НДС 12% НСП 1% [12:56:50]line > о реализуемом товаре [12:56:50]line ИТОГО: 84.00 [12:56:50]line НСП 1% : 0.74 [12:56:50]line НДС 12% : 8.92 [12:56:50]line Наличными: 84.00 [12:56:50]line Безнал.: 0.00 [12:56:50]line Место: АЗС № 85 "Партнер Нефть" [12:56:50]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:56:50]line СНО: Общий режим [12:56:50]line Чек 34 21.10.2024 12:56 [12:56:50]line Смена: 461 ФФД: 1.0 [12:56:50]line ЗНМ: 0300000166 [12:56:50]line РНМ: 0000000000098120 [12:56:50]line Версия ККМ: 001 [12:56:50]line ФМ: 0000000000965420 [12:56:50]line ФД: 24330 [12:56:50]line ФПД: 187192848653042 [12:56:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T125650&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24330&fm=187192848653042&tin=02508201610067®Number=0000000000098120&sum=8400 [12:56:50]line 0 [12:56:50]written 0, free lines is 4095 [12:56:50]OFD Sender: Processing packet 24330 [packets to send 5, broken 4] [12:56:50]ProducePacketName [12:56:50]name=ofd_packets/00024330 [12:56:50]OFD Sender: To server: pG, [12:56:50]CommunicateWithHost lk.salyk.kg:30040 [12:56:50]ConnectInit lk.salyk.kg [12:56:50]Connected sock=9 [12:56:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 42 01 00 00 51 7A 3A 01 74 17 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 22 00 00 00 F4 03 04 00 92 4F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0A 5F 00 00 35 04 06 00 AA 40 3B 3F 9A F2 85 D9 36 1F BE B8 29 DE [12:56:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 2E 6A 47 00 6B 43 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0A 5F 00 00 F4 03 04 00 38 FB 15 67 B6 04 01 00 00 1A E5 2E 9D 04 FD 01 22 [12:56:50]CommunicateWithHost err = 0 [12:56:50]CheckOFDResponse [12:56:50]1017 (14) - 77093643461234 [12:56:50]1041 (16) - 0000000000965420 [12:56:50]1040 (4) - 24330 [12:56:50]1012 (4) - 21.10.2024 06:56 [12:56:50]1206 (1) - 0 [12:56:50]OFD Sender: Remove packet 24330 [12:56:50]ProducePacketName [12:56:50]name=ofd_packets/00024330 [12:56:50]NVStorageDeleteData [12:56:50]Write to MH i2c: 01 00 00 75 07 7C [12:56:50]Write i2c OK [12:56:50]MH_I2C_Read... [12:56:50]Read from MH i2c: 01 [12:56:50]MH_I2C_Read... [12:56:50]Read from MH i2c: 01 07 00 [12:56:50]MH_I2C_Read... [12:56:50]Read from MH i2c: 01 07 00 75 07 00 00 00 00 00 0D 0D 9D [12:56:50]RasterBufferAndPrint [12:56:50]line [12:56:50]line [12:56:50]line [12:56:50]line [12:56:50]line [12:56:50]written 0, free lines is 3347 [12:56:50]process_action close_receipt done [12:56:50]requested_data is exist [12:56:50]produce_requested_data [12:56:50]requested_item fm.sn is exist - process it [12:56:50]wFMCommunicate request_size=4 [12:56:50]MH_SAM_APDU [12:56:50]CAPDU: 80 11 00 00 [12:56:50]Write to MH i2c: E2 08 00 7C 07 80 11 00 00 00 00 00 00 FD [12:56:50]Write i2c OK [12:56:50]MH_I2C_Read... [12:56:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:56:50]Read from MH i2c: E2 [12:56:50]MH_I2C_Read... [12:56:50]Read from MH i2c: E2 17 00 [12:56:50]MH_I2C_Read... [12:56:50]Read from MH i2c: E2 17 00 7C 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 4A [12:56:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:56:50]wFMCommunicate OK [12:56:50]requested_item fd.num is exist - process it [12:56:50]SAM_PROTO_GetFieldsCounters [12:56:50]wFMCommunicate request_size=4 [12:56:50]MH_SAM_APDU [12:56:50]CAPDU: 80 13 00 00 [12:56:50]Write to MH i2c: E2 08 00 7D 07 80 13 00 00 00 00 00 00 00 [12:56:50]Write i2c OK [12:56:50]MH_I2C_Read... [12:56:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:56:50]Read from MH i2c: E2 [12:56:51]MH_I2C_Read... [12:56:51]Read from MH i2c: E2 62 00 [12:56:51]MH_I2C_Read... [12:56:51]Read from MH i2c: E2 62 00 7D 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 0A 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 B3 [12:56: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 0A 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:56:51]wFMCommunicate OK [12:56:51]SAM_PROTO_GetFieldsCounters done [12:56:51]requested_item shift.num is exist - process it [12:56:51]requested_item shift.opened is exist - process it [12:56:51]req_shift_opened [12:56:51]FM_GetShiftState [12:56:51]SAM_PROTO_GetShiftState [12:56:51]wFMCommunicate request_size=4 [12:56:51]MH_SAM_APDU [12:56:51]CAPDU: 80 13 01 00 [12:56:51]Write to MH i2c: E2 08 00 7E 07 80 13 01 00 00 00 00 00 02 [12:56:51]Write i2c OK [12:56:51]MH_I2C_Read... [12:56:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:56:51]Read from MH i2c: E2 [12:56:51]MH_I2C_Read... [12:56:51]Read from MH i2c: E2 0E 00 [12:56:51]MH_I2C_Read... [12:56:51]Read from MH i2c: E2 0E 00 7E 07 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 4C [12:56:51]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:56:51]wFMCommunicate OK [12:56:51]SAM_PROTO_GetShiftState done [12:56:51]FM_GetShiftState done [12:56:51]req_shift_opened done [12:56:51]requested_item shift.open_date is exist - process it [12:56:51]req_shift_open_date [12:56:51]req_shift_open_date done [12:56:51]produce_requested_data done [12:56:51]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24330,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [12:56:51]process_action_free close_receipt [12:56:51]json_value_free [12:56:51]json_value_free done [12:56:51]process_json_proto returns [12:56:51]Send response to host [12:56:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24330,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [12:56:51]free response buf [12:56:51]execute_script done [12:56:51]execute_script returns [12:56:51]free content buf [12:56:51]Sock 10.Close socket [12:56:51]Sock 10.Thread stoped [12:56:51]OFD Sender: No OFD packet to send [12:56:56]OFD Sender: No OFD packet to send [12:57:01]OFD Sender: No OFD packet to send [12:57:05]accept exits with 8 [12:57:05]New connection [12:57:05]New thread 3067084132 created [12:57:05]Thread 3066940772 joined [12:57:05]Waiting for new connection... [12:57:05] Sock 8.Parse request [12:57:05]Sock 8.Check first char [12:57:05]Sock 8.First char is OK [12:57:05]request: POST /json_proto HTTP/1.0 [12:57:05]Method: POST [12:57:05]URL: /json_proto [12:57:05]Method is POST - this is cgi request [12:57:05]url: /json_proto [12:57:05]query_string will be loaded in cgi processing [12:57:05]execute_cgi json_proto POST (null) [12:57:05]execute_cgi path=json_proto method=POST [12:57:05]POST find Content-Length [12:57:05]Host: 172.17.50.4:8080 [12:57:05]Content-Length: 999 [12:57:05]Content-Type: application/json [12:57:05] [12:57:05]POST finish read [12:57:05]Found Content-Length = 999 [12:57:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134852", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000088680", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E, \u0430\u043D\u0430\u043D\u0430\u0441 0,33 \u0436/\u0431", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 189.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:57:05]execute_script... [12:57:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134852", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000088680", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E, \u0430\u043D\u0430\u043D\u0430\u0441 0,33 \u0436/\u0431", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 189.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:57:05]POST & json_proto [12:57:05]process_json_proto [12:57:05]json parsed OK: [12:57:05]protocol is kg_v1.0 [12:57:05]action value=close_receipt [12:57:05]process_action close_receipt [12:57:05]cmd_close_receipt [12:57:05]MH_GetDate [12:57:05]Write to MH i2c: F0 00 00 7F 07 75 [12:57:05]Write i2c OK [12:57:05]MH_I2C_Read... [12:57:05]Read from MH i2c: F0 [12:57:05]MH_I2C_Read... [12:57:05]Read from MH i2c: F0 09 00 [12:57:05]MH_I2C_Read... [12:57:05]Read from MH i2c: F0 09 00 7F 07 00 A3 4F 16 67 3B 12 16 67 B7 [12:57:05]GetLastDocTimeStamp 1729515410 [12:57:05]current date 1729515427 [12:57:05]FM_GetShiftState [12:57:05]SAM_PROTO_GetShiftState [12:57:05]wFMCommunicate request_size=4 [12:57:05]MH_SAM_APDU [12:57:05]CAPDU: 80 13 01 00 [12:57:05]Write to MH i2c: E2 08 00 80 07 80 13 01 00 00 00 00 00 04 [12:57:05]Write i2c OK [12:57:05]MH_I2C_Read... [12:57:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:57:05]Read from MH i2c: E2 [12:57:05]MH_I2C_Read... [12:57:05]Read from MH i2c: E2 0E 00 [12:57:05]MH_I2C_Read... [12:57:05]Read from MH i2c: E2 0E 00 80 07 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 4E [12:57:05]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:57:05]wFMCommunicate OK [12:57:05]SAM_PROTO_GetShiftState done [12:57:05]FM_GetShiftState done [12:57:05]opened in 1729469223 [12:57:05]opened+sec_in_day 1729555623 [12:57:05]quantity*price = 9900 [12:57:05]sum+1 = 9901 [12:57:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000088680 Холодный чай Fuse манго, ананас 0,33 ж/б 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 189.00 НСП 1% : 1.68 НДС 12% : 20.07 Наличными: 189.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 35 21.10.2024 12:57 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24331 ФПД: 42534325448638 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T125707&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24331&fm=42534325448638&tin=02508201610067®Number=0000000000098120&sum=18900 0 [12:57:06]StoreToDocumentArchive [12:57:06]shift 461 fd 24331 [12:57:06]save to /storage/0461/doc_00024331 [12:57:06]save last doc name /storage/0461/doc_00024331 to /storage/kkm_last_doc_name [12:57:06]save OK [12:57:06]Clear old archive folders... [12:57:06]ProcessDocumentItem done err = 0, tmpTLVsize=429 [12:57:06]tlvbuf is 002B9260 [12:57:06]SAM_PROTO_ClearQueue [12:57:06]wFMCommunicate request_size=4 [12:57:06]MH_SAM_APDU [12:57:06]CAPDU: 80 09 00 00 [12:57:06]Write to MH i2c: E2 08 00 8D 07 80 09 00 00 00 00 00 00 06 [12:57:06]Write i2c OK [12:57:06]MH_I2C_Read... [12:57:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:57:07]Read from MH i2c: E2 [12:57:07]MH_I2C_Read... [12:57:07]Read from MH i2c: E2 03 00 [12:57:07]MH_I2C_Read... [12:57:07]Read from MH i2c: E2 03 00 8D 07 00 90 00 08 [12:57:07]RAPDU: 90 00 [12:57:07]wFMCommunicate OK [12:57:07]SAM_PROTO_ClearQueue done [12:57:07]KKMCreateOFDPacket [12:57:07]OFDProtocolAddRootSTLVToBuf [12:57:07]FM_MakeSignedData [12:57:07]FM_MakeSignedData [12:57:07]SAM_PROTO_SignData [12:57:07]wFMCommunicate request_size=4 [12:57:07]MH_SAM_APDU [12:57:07]CAPDU: 80 0D 01 02 [12:57:07]Write to MH i2c: E2 08 00 8E 07 80 0D 01 02 00 00 00 00 0E [12:57:07]Write i2c OK [12:57:07]MH_I2C_Read... [12:57:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:57:07]Read from MH i2c: E2 [12:57:07]MH_I2C_Read... [12:57:07]Read from MH i2c: E2 03 00 [12:57:07]MH_I2C_Read... [12:57:07]Read from MH i2c: E2 03 00 8E 07 00 90 00 09 [12:57:07]RAPDU: 90 00 [12:57:07]wFMCommunicate OK [12:57:07]wFMCommunicate request_size=255 [12:57:07]MH_SAM_APDU [12:57:07]CAPDU: 80 0D 02 02 FA 03 00 AD 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 35 34 34 39 30 30 30 30 38 38 36 38 30 06 04 40 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 33 33 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 [12:57:07]Write to MH i2c: E2 02 01 8F 07 80 0D 02 02 FA 00 03 00 AD 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 35 34 34 39 30 30 30 30 38 38 36 38 30 06 04 40 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 33 33 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 9A [12:57:07]Write i2c OK [12:57:07]MH_I2C_Read... [12:57:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:57:07]Read from MH i2c: E2 [12:57:07]MH_I2C_Read... [12:57:07]Read from MH i2c: E2 03 00 [12:57:07]MH_I2C_Read... [12:57:07]Read from MH i2c: E2 03 00 8F 07 00 90 00 0A [12:57:07]RAPDU: 90 00 [12:57:07]wFMCommunicate OK [12:57:07]wFMCommunicate request_size=188 [12:57:07]MH_SAM_APDU [12:57:07]CAPDU: 80 0D 02 02 B7 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 07 00 00 00 00 07 04 06 00 D4 49 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 A3 4F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0B 5F 00 00 35 04 06 00 26 AF 4B 5B EF BE [12:57:07]Write to MH i2c: E2 BF 00 90 07 80 0D 02 02 B7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 07 00 00 00 00 07 04 06 00 D4 49 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 A3 4F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0B 5F 00 00 35 04 06 00 26 AF 4B 5B EF BE 00 00 1C [12:57:07]Write i2c OK [12:57:07]MH_I2C_Read... [12:57:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:57:07]Read from MH i2c: E2 [12:57:07]MH_I2C_Read... [12:57:07]Read from MH i2c: E2 03 00 [12:57:07]MH_I2C_Read... [12:57:07]Read from MH i2c: E2 03 00 90 07 00 90 00 0B [12:57:07]RAPDU: 90 00 [12:57:07]wFMCommunicate OK [12:57:07]wFMCommunicate request_size=4 [12:57:07]MH_SAM_APDU [12:57:07]CAPDU: 80 0D 03 02 [12:57:07]Write to MH i2c: E2 08 00 91 07 80 0D 03 02 00 00 00 00 13 [12:57:07]Write i2c OK [12:57:07]MH_I2C_Read... [12:57:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:57:07]Read from MH i2c: E2 [12:57:07]MH_I2C_Read... [12:57:07]Read from MH i2c: E2 0B 00 [12:57:07]MH_I2C_Read... [12:57:07]Read from MH i2c: E2 0B 00 91 07 00 F9 A9 8D 7B 36 8B FC 6E 90 00 E9 [12:57:07]RAPDU: F9 A9 8D 7B 36 8B FC 6E 90 00 [12:57:07]wFMCommunicate OK [12:57:07]SAM_PROTO_SignData done [12:57:07]FM_MakeSignedData done [12:57:07]CreateOFDProtocolMessage [12:57:07]wFMCommunicate request_size=4 [12:57:07]MH_SAM_APDU [12:57:07]CAPDU: 80 11 00 00 [12:57:07]Write to MH i2c: E2 08 00 92 07 80 11 00 00 00 00 00 00 13 [12:57:07]Write i2c OK [12:57:07]MH_I2C_Read... [12:57:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:57:07]Read from MH i2c: E2 [12:57:07]MH_I2C_Read... [12:57:07]Read from MH i2c: E2 17 00 [12:57:07]MH_I2C_Read... [12:57:07]Read from MH i2c: E2 17 00 92 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 60 [12:57:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:57:07]wFMCommunicate OK [12:57:07]CreateOFDProtocolMessage done [12:57:07]OFDSenderStorePacket 24331 [12:57:07]StoreOFDPacket docnum=24331 [12:57:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 C1 01 00 00 C1 1E B9 01 2D 17 5A 03 01 00 03 00 AD 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 35 34 34 39 30 30 30 30 38 38 36 38 30 06 04 40 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 33 33 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 07 00 00 00 00 07 04 06 00 D4 49 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 A3 4F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0B 5F 00 00 35 04 06 00 26 AF 4B 5B EF BE F9 A9 8D 7B 36 8B FC 6E [12:57:07]CheckFolder [12:57:07]dirname=/storage/ofd_packets [12:57:07]CheckFolder done [12:57:07]ProducePacketName [12:57:07]name=ofd_packets/00024331 [12:57:07]NVStorageSaveData ofd_packets/00024331 [12:57:07]File name is /storage/ofd_packets/00024331 [12:57:07]Write 479 bytes [12:57:07]NVStorageSaveData done [12:57:07]OFDSenderStorePacket done [12:57:07]KKMCreateOFDPacket done [12:57:07]NVStorageSaveData kkm_last_timestamp [12:57:07]File name is /storage/kkm_last_timestamp [12:57:07]Write 4 bytes [12:57:07]NVStorageSaveData done [12:57:07]ExternCall_PrintAddStr [12:57:07]wPrintStart [12:57:07]Write to MH i2c: 01 00 00 93 07 9A [12:57:07]OFD Sender: Processing packet 24331 [packets to send 5, broken 4] [12:57:07]ProducePacketName [12:57:07]name=ofd_packets/00024331 [12:57:07]OFD Sender: To server: pG, [12:57:07]Write i2c OK [12:57:07]CommunicateWithHost lk.salyk.kg:30040 [12:57:07]MH_I2C_Read... [12:57:07]ConnectInit lk.salyk.kg [12:57:07]Read from MH i2c: 01 [12:57:07]MH_I2C_Read... [12:57:07]Read from MH i2c: 01 07 00 [12:57:07]MH_I2C_Read... [12:57:07]Read from MH i2c: 01 07 00 93 07 00 00 00 00 00 FF 0F AF [12:57:07]RasterBufferAndPrint [12:57:07]line Счет N : (3)134852 [12:57:07]line ИНН: 02508201610067 [12:57:07]line Контрольно-Кассовый Чек [12:57:07]line ПРОДАЖА [12:57:07]line Товар: 4870022003305 [12:57:07]line Напиток Gorilla эн нат ж/б 0,5/0,45л [12:57:07]line 1.000 * 99.00 [12:57:07]line = 99.00 [12:57:07]line НДС 12% НСП 1% [12:57:07]line > о реализуемом товаре [12:57:07]line Товар: 5449000088680 [12:57:07]line Холодный чай Fuse манго, ананас 0,33 ж/б [12:57:07]line 1.000 * 90.00 [12:57:07]line = 90.00 [12:57:07]line НДС 12% НСП 1% [12:57:07]line > о реализуемом товаре [12:57:07]line ИТОГО: 189.00 [12:57:07]line НСП 1% : 1.68 [12:57:07]line НДС 12% : 20.07 [12:57:07]line Наличными: 189.00 [12:57:07]line Безнал.: 0.00 [12:57:07]line Место: АЗС № 85 "Партнер Нефть" [12:57:07]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:57:07]line СНО: Общий режим [12:57:07]line Чек 35 21.10.2024 12:57 [12:57:07]line Смена: 461 ФФД: 1.0 [12:57:07]line ЗНМ: 0300000166 [12:57:07]line РНМ: 0000000000098120 [12:57:07]line Версия ККМ: 001 [12:57:07]line ФМ: 0000000000965420 [12:57:07]line ФД: 24331 [12:57:07]line ФПД: 42534325448638 [12:57:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T125707&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24331&fm=42534325448638&tin=02508201610067®Number=0000000000098120&sum=18900 [12:57:07]line 0 [12:57:07]written 0, free lines is 4095 [12:57:08]Connected sock=10 [12:57:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 C1 01 00 00 C1 1E B9 01 2D 17 5A 03 01 00 03 00 AD 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 35 34 34 39 30 30 30 30 38 38 36 38 30 06 04 40 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 33 33 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 07 00 00 00 00 07 04 06 00 D4 49 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 A3 4F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0B 5F 00 00 35 04 06 00 26 AF 4B 5B EF BE F9 A9 8D 7B 36 8B FC 6E [12:57:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 06 1B 47 00 50 FC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0B 5F 00 00 F4 03 04 00 4A FB 15 67 B6 04 01 00 00 B8 6D 0C E0 3E 27 D6 EA [12:57:08]CommunicateWithHost err = 0 [12:57:08]CheckOFDResponse [12:57:08]1017 (14) - 77093643461234 [12:57:08]1041 (16) - 0000000000965420 [12:57:08]1040 (4) - 24331 [12:57:08]1012 (4) - 21.10.2024 06:57 [12:57:08]1206 (1) - 0 [12:57:08]OFD Sender: Remove packet 24331 [12:57:08]ProducePacketName [12:57:08]name=ofd_packets/00024331 [12:57:08]NVStorageDeleteData [12:57:08]Write to MH i2c: 01 00 00 C3 07 CA [12:57:08]Write i2c OK [12:57:08]MH_I2C_Read... [12:57:08]Read from MH i2c: 01 [12:57:08]MH_I2C_Read... [12:57:08]Read from MH i2c: 01 07 00 [12:57:08]MH_I2C_Read... [12:57:08]Read from MH i2c: 01 07 00 C3 07 00 00 00 00 00 B7 0C 94 [12:57:08]RasterBufferAndPrint [12:57:08]line [12:57:08]line [12:57:08]line [12:57:08]line [12:57:08]line [12:57:08]written 0, free lines is 3263 [12:57:08]process_action close_receipt done [12:57:08]requested_data is exist [12:57:08]produce_requested_data [12:57:08]requested_item fm.sn is exist - process it [12:57:08]wFMCommunicate request_size=4 [12:57:08]MH_SAM_APDU [12:57:08]CAPDU: 80 11 00 00 [12:57:08]Write to MH i2c: E2 08 00 CA 07 80 11 00 00 00 00 00 00 4B [12:57:08]Write i2c OK [12:57:08]MH_I2C_Read... [12:57:08]Read from MH i2c: E2 [12:57:08]MH_I2C_Read... [12:57:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:57:08]Read from MH i2c: E2 17 00 [12:57:08]MH_I2C_Read... [12:57:08]Read from MH i2c: E2 17 00 CA 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 98 [12:57:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:57:08]wFMCommunicate OK [12:57:08]requested_item fd.num is exist - process it [12:57:08]SAM_PROTO_GetFieldsCounters [12:57:08]wFMCommunicate request_size=4 [12:57:08]MH_SAM_APDU [12:57:08]CAPDU: 80 13 00 00 [12:57:08]Write to MH i2c: E2 08 00 CB 07 80 13 00 00 00 00 00 00 4E [12:57:08]Write i2c OK [12:57:08]MH_I2C_Read... [12:57:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:57:08]Read from MH i2c: E2 [12:57:08]MH_I2C_Read... [12:57:08]Read from MH i2c: E2 62 00 [12:57:08]MH_I2C_Read... [12:57:08]Read from MH i2c: E2 62 00 CB 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 0B 5F 00 00 0E 04 04 00 CD 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 05 [12:57:08]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 0B 5F 00 00 0E 04 04 00 CD 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 [12:57:08]wFMCommunicate OK [12:57:08]SAM_PROTO_GetFieldsCounters done [12:57:08]requested_item shift.num is exist - process it [12:57:08]requested_item shift.opened is exist - process it [12:57:08]req_shift_opened [12:57:08]FM_GetShiftState [12:57:08]SAM_PROTO_GetShiftState [12:57:08]wFMCommunicate request_size=4 [12:57:08]MH_SAM_APDU [12:57:08]CAPDU: 80 13 01 00 [12:57:08]Write to MH i2c: E2 08 00 CC 07 80 13 01 00 00 00 00 00 50 [12:57:08]Write i2c OK [12:57:08]MH_I2C_Read... [12:57:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:57:08]Read from MH i2c: E2 [12:57:08]MH_I2C_Read... [12:57:08]Read from MH i2c: E2 0E 00 [12:57:08]MH_I2C_Read... [12:57:08]Read from MH i2c: E2 0E 00 CC 07 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 9A [12:57:08]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:57:08]wFMCommunicate OK [12:57:08]SAM_PROTO_GetShiftState done [12:57:08]FM_GetShiftState done [12:57:08]req_shift_opened done [12:57:08]requested_item shift.open_date is exist - process it [12:57:08]req_shift_open_date [12:57:08]req_shift_open_date done [12:57:08]produce_requested_data done [12:57:08]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24331,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [12:57:08]process_action_free close_receipt [12:57:08]json_value_free [12:57:08]json_value_free done [12:57:08]process_json_proto returns [12:57:08]Send response to host [12:57:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24331,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [12:57:08]free response buf [12:57:08]execute_script done [12:57:08]execute_script returns [12:57:08]free content buf [12:57:08]Sock 8.Close socket [12:57:08]Sock 8.Thread stoped [12:57:08]OFD Sender: No OFD packet to send [12:57:10]accept exits with 9 [12:57:10]New connection [12:57:10]New thread 3066940772 created [12:57:10]Thread 3067084132 joined [12:57:10]Waiting for new connection... [12:57:10] Sock 9.Parse request [12:57:10]Sock 9.Check first char [12:57:10]Sock 9.First char is OK [12:57:10]request: POST /json_proto HTTP/1.0 [12:57:10]Method: POST [12:57:10]URL: /json_proto [12:57:10]Method is POST - this is cgi request [12:57:10]url: /json_proto [12:57:10]query_string will be loaded in cgi processing [12:57:10]execute_cgi json_proto POST (null) [12:57:10]execute_cgi path=json_proto method=POST [12:57:10]POST find Content-Length [12:57:10]Host: 172.17.50.4:8080 [12:57:10]Content-Length: 608 [12:57:10]Content-Type: application/json [12:57:10] [12:57:10]POST finish read [12:57:10]Found Content-Length = 608 [12:57:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134853", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 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:57:10]execute_script... [12:57: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)134853", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 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:57:10]POST & json_proto [12:57:10]process_json_proto [12:57:10]json parsed OK: [12:57:10]protocol is kg_v1.0 [12:57:10]action value=close_receipt [12:57:10]process_action close_receipt [12:57:10]cmd_close_receipt [12:57:10]MH_GetDate [12:57:10]Write to MH i2c: F0 00 00 CD 07 C3 [12:57:10]Write i2c OK [12:57:10]MH_I2C_Read... [12:57:10]Read from MH i2c: F0 [12:57:10]MH_I2C_Read... [12:57:10]Read from MH i2c: F0 09 00 [12:57:10]MH_I2C_Read... [12:57:10]Read from MH i2c: F0 09 00 CD 07 00 A8 4F 16 67 3B 12 16 67 0A [12:57:10]GetLastDocTimeStamp 1729515427 [12:57:10]current date 1729515432 [12:57:10]FM_GetShiftState [12:57:10]SAM_PROTO_GetShiftState [12:57:10]wFMCommunicate request_size=4 [12:57:10]MH_SAM_APDU [12:57:10]CAPDU: 80 13 01 00 [12:57:10]Write to MH i2c: E2 08 00 CE 07 80 13 01 00 00 00 00 00 52 [12:57:10]Write i2c OK [12:57:10]MH_I2C_Read... [12:57:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:57:10]Read from MH i2c: E2 [12:57:10]MH_I2C_Read... [12:57:10]Read from MH i2c: E2 0E 00 [12:57:10]MH_I2C_Read... [12:57:10]Read from MH i2c: E2 0E 00 CE 07 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 9C [12:57:10]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:57:10]wFMCommunicate OK [12:57:10]SAM_PROTO_GetShiftState done [12:57:10]FM_GetShiftState done [12:57:10]opened in 1729469223 [12:57:10]opened+sec_in_day 1729555623 [12:57:10]quantity*price = 1000 [12:57:10]sum+1 = 1001 [12:57:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 36 21.10.2024 12:57 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24332 ФПД: 140235151783027 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T125712&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24332&fm=140235151783027&tin=02508201610067®Number=0000000000098120&sum=1000 0 [12:57:11]StoreToDocumentArchive [12:57:11]shift 461 fd 24332 [12:57:11]save to /storage/0461/doc_00024332 [12:57:11]save last doc name /storage/0461/doc_00024332 to /storage/kkm_last_doc_name [12:57:11]save OK [12:57:11]Clear old archive folders... [12:57:11]ProcessDocumentItem done err = 0, tmpTLVsize=267 [12:57:11]tlvbuf is 002EB780 [12:57:11]SAM_PROTO_ClearQueue [12:57:11]wFMCommunicate request_size=4 [12:57:11]MH_SAM_APDU [12:57:11]CAPDU: 80 09 00 00 [12:57:11]Write to MH i2c: E2 08 00 DB 07 80 09 00 00 00 00 00 00 54 [12:57:11]Write i2c OK [12:57:11]MH_I2C_Read... [12:57:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:57:11]Read from MH i2c: E2 [12:57:11]MH_I2C_Read... [12:57:11]Read from MH i2c: E2 03 00 [12:57:11]MH_I2C_Read... [12:57:11]Read from MH i2c: E2 03 00 DB 07 00 90 00 56 [12:57:11]RAPDU: 90 00 [12:57:11]wFMCommunicate OK [12:57:11]SAM_PROTO_ClearQueue done [12:57:11]KKMCreateOFDPacket [12:57:11]OFDProtocolAddRootSTLVToBuf [12:57:11]FM_MakeSignedData [12:57:11]FM_MakeSignedData [12:57:11]SAM_PROTO_SignData [12:57:12]wFMCommunicate request_size=4 [12:57:12]MH_SAM_APDU [12:57:12]CAPDU: 80 0D 01 02 [12:57:12]Write to MH i2c: E2 08 00 DC 07 80 0D 01 02 00 00 00 00 5C [12:57:12]Write i2c OK [12:57:12]MH_I2C_Read... [12:57:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:57:12]Read from MH i2c: E2 [12:57:12]MH_I2C_Read... [12:57:12]Read from MH i2c: E2 03 00 [12:57:12]MH_I2C_Read... [12:57:12]Read from MH i2c: E2 03 00 DC 07 00 90 00 57 [12:57:12]RAPDU: 90 00 [12:57:12]wFMCommunicate OK [12:57:12]wFMCommunicate request_size=255 [12:57:12]MH_SAM_APDU [12:57:12]CAPDU: 80 0D 02 02 FA 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 24 00 00 00 F4 03 04 00 A8 4F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 [12:57:12]Write to MH i2c: E2 02 01 DD 07 80 0D 02 02 FA 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 24 00 00 00 F4 03 04 00 A8 4F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 00 00 54 [12:57:12]Write i2c OK [12:57:12]MH_I2C_Read... [12:57:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:57:12]Read from MH i2c: E2 [12:57:12]MH_I2C_Read... [12:57:12]Read from MH i2c: E2 03 00 [12:57:12]MH_I2C_Read... [12:57:12]Read from MH i2c: E2 03 00 DD 07 00 90 00 58 [12:57:12]RAPDU: 90 00 [12:57:12]wFMCommunicate OK [12:57:12]wFMCommunicate request_size=26 [12:57:12]MH_SAM_APDU [12:57:12]CAPDU: 80 0D 02 02 15 34 32 30 10 04 04 00 0C 5F 00 00 35 04 06 00 7F 8B 0A 68 34 73 [12:57:12]Write to MH i2c: E2 1D 00 DE 07 80 0D 02 02 15 00 34 32 30 10 04 04 00 0C 5F 00 00 35 04 06 00 7F 8B 0A 68 34 73 00 00 04 [12:57:12]Write i2c OK [12:57:12]MH_I2C_Read... [12:57:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:57:12]Read from MH i2c: E2 [12:57:12]MH_I2C_Read... [12:57:12]Read from MH i2c: E2 03 00 [12:57:12]MH_I2C_Read... [12:57:12]Read from MH i2c: E2 03 00 DE 07 00 90 00 59 [12:57:12]RAPDU: 90 00 [12:57:12]wFMCommunicate OK [12:57:12]wFMCommunicate request_size=4 [12:57:12]MH_SAM_APDU [12:57:12]CAPDU: 80 0D 03 02 [12:57:12]Write to MH i2c: E2 08 00 DF 07 80 0D 03 02 00 00 00 00 61 [12:57:12]Write i2c OK [12:57:12]MH_I2C_Read... [12:57:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:57:12]Read from MH i2c: E2 [12:57:12]MH_I2C_Read... [12:57:12]Read from MH i2c: E2 0B 00 [12:57:12]MH_I2C_Read... [12:57:12]Read from MH i2c: E2 0B 00 DF 07 00 6C 6A 56 9E 12 67 00 E9 90 00 8E [12:57:12]RAPDU: 6C 6A 56 9E 12 67 00 E9 90 00 [12:57:12]wFMCommunicate OK [12:57:12]SAM_PROTO_SignData done [12:57:12]FM_MakeSignedData done [12:57:12]CreateOFDProtocolMessage [12:57:12]wFMCommunicate request_size=4 [12:57:12]MH_SAM_APDU [12:57:12]CAPDU: 80 11 00 00 [12:57:12]Write to MH i2c: E2 08 00 E0 07 80 11 00 00 00 00 00 00 61 [12:57:12]Write i2c OK [12:57:12]MH_I2C_Read... [12:57:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:57:12]Read from MH i2c: E2 [12:57:12]MH_I2C_Read... [12:57:12]Read from MH i2c: E2 17 00 [12:57:12]MH_I2C_Read... [12:57:12]Read from MH i2c: E2 17 00 E0 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 AE [12:57:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:57:12]wFMCommunicate OK [12:57:12]CreateOFDProtocolMessage done [12:57:12]OFDSenderStorePacket 24332 [12:57:12]StoreOFDPacket docnum=24332 [12:57:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 23 0C 17 01 A3 E4 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 24 00 00 00 F4 03 04 00 A8 4F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0C 5F 00 00 35 04 06 00 7F 8B 0A 68 34 73 6C 6A 56 9E 12 67 00 E9 [12:57:12]CheckFolder [12:57:12]dirname=/storage/ofd_packets [12:57:12]CheckFolder done [12:57:12]ProducePacketName [12:57:12]name=ofd_packets/00024332 [12:57:12]NVStorageSaveData ofd_packets/00024332 [12:57:12]File name is /storage/ofd_packets/00024332 [12:57:12]Write 317 bytes [12:57:12]NVStorageSaveData done [12:57:12]OFDSenderStorePacket done [12:57:12]KKMCreateOFDPacket done [12:57:12]NVStorageSaveData kkm_last_timestamp [12:57:12]File name is /storage/kkm_last_timestamp [12:57:12]Write 4 bytes [12:57:12]NVStorageSaveData done [12:57:12]ExternCall_PrintAddStr [12:57:12]wPrintStart [12:57:12]Write to MH i2c: 01 00 00 E1 07 E8 [12:57:12]Write i2c OK [12:57:12]MH_I2C_Read... [12:57:12]Read from MH i2c: 01 [12:57:12]MH_I2C_Read... [12:57:12]Read from MH i2c: 01 07 00 [12:57:12]MH_I2C_Read... [12:57:12]Read from MH i2c: 01 07 00 E1 07 00 00 00 00 00 FF 0F FD [12:57:12]RasterBufferAndPrint [12:57:12]line Счет N : (3)134853 [12:57:12]line ИНН: 02508201610067 [12:57:12]line Контрольно-Кассовый Чек [12:57:12]line ПРОДАЖА [12:57:12]line Товар: 46231529 [12:57:12]line Mentos ПФ Арбуз 6*100*2 [12:57:12]line 1.000 * 10.00 [12:57:12]line = 10.00 [12:57:12]line НДС 12% НСП 1% [12:57:12]line > о реализуемом товаре [12:57:12]line ИТОГО: 10.00 [12:57:12]line НСП 1% : 0.09 [12:57:12]line НДС 12% : 1.06 [12:57:12]line Наличными: 10.00 [12:57:12]line Безнал.: 0.00 [12:57:12]line Место: АЗС № 85 "Партнер Нефть" [12:57:12]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:57:12]line СНО: Общий режим [12:57:12]line Чек 36 21.10.2024 12:57 [12:57:12]line Смена: 461 ФФД: 1.0 [12:57:12]line ЗНМ: 0300000166 [12:57:12]line РНМ: 0000000000098120 [12:57:12]line Версия ККМ: 001 [12:57:12]line ФМ: 0000000000965420 [12:57:12]line ФД: 24332 [12:57:12]line ФПД: 140235151783027 [12:57:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T125712&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24332&fm=140235151783027&tin=02508201610067®Number=0000000000098120&sum=1000 [12:57:12]line 0 [12:57:12]written 0, free lines is 4095 [12:57:12]OFD Sender: Processing packet 24332 [packets to send 5, broken 4] [12:57:12]ProducePacketName [12:57:12]name=ofd_packets/00024332 [12:57:12]OFD Sender: To server: pG, [12:57:12]CommunicateWithHost lk.salyk.kg:30040 [12:57:12]ConnectInit lk.salyk.kg [12:57:12]Connected sock=10 [12:57: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 34 32 30 1F 01 00 00 23 0C 17 01 A3 E4 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 24 00 00 00 F4 03 04 00 A8 4F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0C 5F 00 00 35 04 06 00 7F 8B 0A 68 34 73 6C 6A 56 9E 12 67 00 E9 [12:57:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 75 0B 47 00 B9 74 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 34 32 30 10 04 04 00 0C 5F 00 00 F4 03 04 00 4E FB 15 67 B6 04 01 00 00 32 D1 B3 B5 3F D4 CE E2 [12:57:12]CommunicateWithHost err = 0 [12:57:12]CheckOFDResponse [12:57:12]1017 (14) - 77093643461234 [12:57:12]1041 (16) - 0000000000965420 [12:57:12]1040 (4) - 24332 [12:57:12]1012 (4) - 21.10.2024 06:57 [12:57:12]1206 (1) - 0 [12:57:12]OFD Sender: Remove packet 24332 [12:57:12]ProducePacketName [12:57:12]name=ofd_packets/00024332 [12:57:12]NVStorageDeleteData [12:57:12]Write to MH i2c: 01 00 00 09 08 11 [12:57:12]Write i2c OK [12:57:12]MH_I2C_Read... [12:57:12]Read from MH i2c: 01 [12:57:12]MH_I2C_Read... [12:57:12]Read from MH i2c: 01 07 00 [12:57:12]MH_I2C_Read... [12:57:12]Read from MH i2c: 01 07 00 09 08 00 00 00 00 00 26 0D 4B [12:57:12]RasterBufferAndPrint [12:57:12]line [12:57:12]line [12:57:12]line [12:57:12]line [12:57:12]line [12:57:12]written 0, free lines is 3382 [12:57:13]process_action close_receipt done [12:57:13]requested_data is exist [12:57:13]produce_requested_data [12:57:13]requested_item fm.sn is exist - process it [12:57:13]wFMCommunicate request_size=4 [12:57:13]MH_SAM_APDU [12:57:13]CAPDU: 80 11 00 00 [12:57:13]Write to MH i2c: E2 08 00 10 08 80 11 00 00 00 00 00 00 92 [12:57:13]Write i2c OK [12:57:13]MH_I2C_Read... [12:57:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:57:13]Read from MH i2c: E2 [12:57:13]MH_I2C_Read... [12:57:13]Read from MH i2c: E2 17 00 [12:57:13]MH_I2C_Read... [12:57:13]Read from MH i2c: E2 17 00 10 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 DF [12:57:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:57:13]wFMCommunicate OK [12:57:13]requested_item fd.num is exist - process it [12:57:13]SAM_PROTO_GetFieldsCounters [12:57:13]wFMCommunicate request_size=4 [12:57:13]MH_SAM_APDU [12:57:13]CAPDU: 80 13 00 00 [12:57:13]Write to MH i2c: E2 08 00 11 08 80 13 00 00 00 00 00 00 95 [12:57:13]Write i2c OK [12:57:13]MH_I2C_Read... [12:57:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:57:13]Read from MH i2c: E2 [12:57:13]MH_I2C_Read... [12:57:13]Read from MH i2c: E2 62 00 [12:57:13]MH_I2C_Read... [12:57:13]Read from MH i2c: E2 62 00 11 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 0C 5F 00 00 0E 04 04 00 CD 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 50 [12:57:13]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 0C 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:57:13]wFMCommunicate OK [12:57:13]SAM_PROTO_GetFieldsCounters done [12:57:13]requested_item shift.num is exist - process it [12:57:13]requested_item shift.opened is exist - process it [12:57:13]req_shift_opened [12:57:13]FM_GetShiftState [12:57:13]SAM_PROTO_GetShiftState [12:57:13]wFMCommunicate request_size=4 [12:57:13]MH_SAM_APDU [12:57:13]CAPDU: 80 13 01 00 [12:57:13]Write to MH i2c: E2 08 00 12 08 80 13 01 00 00 00 00 00 97 [12:57:13]Write i2c OK [12:57:13]MH_I2C_Read... [12:57:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:57:13]Read from MH i2c: E2 [12:57:13]MH_I2C_Read... [12:57:13]Read from MH i2c: E2 0E 00 [12:57:13]MH_I2C_Read... [12:57:13]Read from MH i2c: E2 0E 00 12 08 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 E1 [12:57:13]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:57:13]wFMCommunicate OK [12:57:13]SAM_PROTO_GetShiftState done [12:57:13]FM_GetShiftState done [12:57:13]req_shift_opened done [12:57:13]requested_item shift.open_date is exist - process it [12:57:13]req_shift_open_date [12:57:13]req_shift_open_date done [12:57:13]produce_requested_data done [12:57:13]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24332,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [12:57:13]process_action_free close_receipt [12:57:13]json_value_free [12:57:13]json_value_free done [12:57:13]process_json_proto returns [12:57:13]Send response to host [12:57:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24332,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [12:57:13]free response buf [12:57:13]execute_script done [12:57:13]execute_script returns [12:57:13]free content buf [12:57:13]Sock 9.Close socket [12:57:13]Sock 9.Thread stoped [12:57:13]OFD Sender: No OFD packet to send [12:57:18]OFD Sender: No OFD packet to send [12:57:23]OFD Sender: No OFD packet to send [12:57:28]OFD Sender: No OFD packet to send [12:57:33]OFD Sender: No OFD packet to send [12:57:38]OFD Sender: No OFD packet to send [12:57:43]OFD Sender: No OFD packet to send [12:57:48]OFD Sender: No OFD packet to send [12:57:53]OFD Sender: No OFD packet to send [12:57:58]OFD Sender: No OFD packet to send [12:58:03]OFD Sender: No OFD packet to send [12:58:08]OFD Sender: No OFD packet to send [12:58:13]OFD Sender: No OFD packet to send [12:58:18]OFD Sender: No OFD packet to send [12:58:23]OFD Sender: No OFD packet to send [12:58:28]OFD Sender: No OFD packet to send [12:58:33]OFD Sender: No OFD packet to send [12:58:38]OFD Sender: No OFD packet to send [12:58:43]OFD Sender: No OFD packet to send [12:58:48]OFD Sender: No OFD packet to send [12:58:53]OFD Sender: No OFD packet to send [12:58:56]accept exits with 8 [12:58:56]New connection [12:58:56]New thread 3067084132 created [12:58:56]Thread 3066940772 joined [12:58:56]Waiting for new connection... [12:58:56] Sock 8.Parse request [12:58:56]Sock 8.Check first char [12:58:56]Sock 8.First char is OK [12:58:56]request: POST /json_proto HTTP/1.0 [12:58:56]Method: POST [12:58:56]URL: /json_proto [12:58:56]Method is POST - this is cgi request [12:58:56]url: /json_proto [12:58:56]query_string will be loaded in cgi processing [12:58:56]execute_cgi json_proto POST (null) [12:58:56]execute_cgi path=json_proto method=POST [12:58:56]POST find Content-Length [12:58:56]Host: 172.17.50.4:8080 [12:58:56]Content-Length: 994 [12:58:56]Content-Type: application/json [12:58:56] [12:58:56]POST finish read [12:58:56]Found Content-Length = 994 [12:58:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134854", "tax_sys" : 0, "items" : [ { "code": "2000029770012", "name": "\u041E\u0447\u043A\u0438 \u0441\u043E\u043B\u043D\u0446\u0435\u0437\u0430\u0449\u0438\u0442\u043D\u044B\u0435 \u0432 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442\u0435", "price" : 590.00, "quantity" : 1.000, "sum" : 590.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" : 640.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:58:56]execute_script... [12:58: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)134854", "tax_sys" : 0, "items" : [ { "code": "2000029770012", "name": "\u041E\u0447\u043A\u0438 \u0441\u043E\u043B\u043D\u0446\u0435\u0437\u0430\u0449\u0438\u0442\u043D\u044B\u0435 \u0432 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442\u0435", "price" : 590.00, "quantity" : 1.000, "sum" : 590.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" : 640.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:58:56]POST & json_proto [12:58:56]process_json_proto [12:58:56]json parsed OK: [12:58:56]protocol is kg_v1.0 [12:58:56]action value=close_receipt [12:58:56]process_action close_receipt [12:58:56]cmd_close_receipt [12:58:56]MH_GetDate [12:58:56]Write to MH i2c: F0 00 00 13 08 0A [12:58:56]Write i2c OK [12:58:56]MH_I2C_Read... [12:58:56]Read from MH i2c: F0 [12:58:56]MH_I2C_Read... [12:58:56]Read from MH i2c: F0 09 00 [12:58:56]MH_I2C_Read... [12:58:56]Read from MH i2c: F0 09 00 13 08 00 12 50 16 67 3B 12 16 67 BC [12:58:56]GetLastDocTimeStamp 1729515432 [12:58:56]current date 1729515538 [12:58:56]FM_GetShiftState [12:58:56]SAM_PROTO_GetShiftState [12:58:56]wFMCommunicate request_size=4 [12:58:56]MH_SAM_APDU [12:58:56]CAPDU: 80 13 01 00 [12:58:56]Write to MH i2c: E2 08 00 14 08 80 13 01 00 00 00 00 00 99 [12:58:56]Write i2c OK [12:58:56]MH_I2C_Read... [12:58:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:58:56]Read from MH i2c: E2 [12:58:56]MH_I2C_Read... [12:58:56]Read from MH i2c: E2 0E 00 [12:58:56]MH_I2C_Read... [12:58:56]Read from MH i2c: E2 0E 00 14 08 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 E3 [12:58:56]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:58:56]wFMCommunicate OK [12:58:56]SAM_PROTO_GetShiftState done [12:58:56]FM_GetShiftState done [12:58:56]opened in 1729469223 [12:58:56]opened+sec_in_day 1729555623 [12:58:56]quantity*price = 59000 [12:58:56]sum+1 = 59001 [12:58:56]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 640.00 НСП 1% : 5.66 НДС 12% : 67.96 Наличными: 640.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 37 21.10.2024 12:58 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24333 ФПД: 32742090329149 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T125858&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24333&fm=32742090329149&tin=02508201610067®Number=0000000000098120&sum=64000 0 [12:58:57]StoreToDocumentArchive [12:58:57]shift 461 fd 24333 [12:58:57]save to /storage/0461/doc_00024333 [12:58:57]save last doc name /storage/0461/doc_00024333 to /storage/kkm_last_doc_name [12:58:57]save OK [12:58:57]Clear old archive folders... [12:58:57]ProcessDocumentItem done err = 0, tmpTLVsize=406 [12:58:57]tlvbuf is 00338300 [12:58:57]SAM_PROTO_ClearQueue [12:58:57]wFMCommunicate request_size=4 [12:58:57]MH_SAM_APDU [12:58:57]CAPDU: 80 09 00 00 [12:58:57]Write to MH i2c: E2 08 00 21 08 80 09 00 00 00 00 00 00 9B [12:58:57]Write i2c OK [12:58:57]MH_I2C_Read... [12:58:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:58:57]Read from MH i2c: E2 [12:58:57]MH_I2C_Read... [12:58:57]Read from MH i2c: E2 03 00 [12:58:57]MH_I2C_Read... [12:58:57]Read from MH i2c: E2 03 00 21 08 00 90 00 9D [12:58:57]RAPDU: 90 00 [12:58:57]wFMCommunicate OK [12:58:57]SAM_PROTO_ClearQueue done [12:58:57]KKMCreateOFDPacket [12:58:57]OFDProtocolAddRootSTLVToBuf [12:58:57]FM_MakeSignedData [12:58:57]FM_MakeSignedData [12:58:57]SAM_PROTO_SignData [12:58:57]wFMCommunicate request_size=4 [12:58:57]MH_SAM_APDU [12:58:57]CAPDU: 80 0D 01 02 [12:58:57]Write to MH i2c: E2 08 00 22 08 80 0D 01 02 00 00 00 00 A3 [12:58:57]Write i2c OK [12:58:57]MH_I2C_Read... [12:58:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:58:57]Read from MH i2c: E2 [12:58:57]MH_I2C_Read... [12:58:57]Read from MH i2c: E2 03 00 [12:58:57]MH_I2C_Read... [12:58:57]Read from MH i2c: E2 03 00 22 08 00 90 00 9E [12:58:57]RAPDU: 90 00 [12:58:57]wFMCommunicate OK [12:58:57]wFMCommunicate request_size=255 [12:58:57]MH_SAM_APDU [12:58:57]CAPDU: 80 0D 02 02 FA 03 00 96 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 39 37 37 30 30 31 32 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 E6 00 00 00 00 13 04 06 00 78 E6 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 00 [12:58:57]Write to MH i2c: E2 02 01 23 08 80 0D 02 02 FA 00 03 00 96 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 39 37 37 30 30 31 32 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 E6 00 00 00 00 13 04 06 00 78 E6 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 00 00 00 60 [12:58:57]Write i2c OK [12:58:57]MH_I2C_Read... [12:58:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:58:58]Read from MH i2c: E2 [12:58:58]MH_I2C_Read... [12:58:58]Read from MH i2c: E2 03 00 [12:58:58]MH_I2C_Read... [12:58:58]Read from MH i2c: E2 03 00 23 08 00 90 00 9F [12:58:58]RAPDU: 90 00 [12:58:58]wFMCommunicate OK [12:58:58]wFMCommunicate request_size=165 [12:58:58]MH_SAM_APDU [12:58:58]CAPDU: 80 0D 02 02 A0 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8C 1A 00 00 00 00 07 04 06 00 00 FA 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 12 50 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0D 5F 00 00 35 04 06 00 1D C7 5C A9 CC 3D [12:58:58]Write to MH i2c: E2 A8 00 24 08 80 0D 02 02 A0 00 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8C 1A 00 00 00 00 07 04 06 00 00 FA 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 12 50 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0D 5F 00 00 35 04 06 00 1D C7 5C A9 CC 3D 00 00 1A [12:58:58]Write i2c OK [12:58:58]MH_I2C_Read... [12:58:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:58:58]Read from MH i2c: E2 [12:58:58]MH_I2C_Read... [12:58:58]Read from MH i2c: E2 03 00 [12:58:58]MH_I2C_Read... [12:58:58]Read from MH i2c: E2 03 00 24 08 00 90 00 A0 [12:58:58]RAPDU: 90 00 [12:58:58]wFMCommunicate OK [12:58:58]wFMCommunicate request_size=4 [12:58:58]MH_SAM_APDU [12:58:58]CAPDU: 80 0D 03 02 [12:58:58]Write to MH i2c: E2 08 00 25 08 80 0D 03 02 00 00 00 00 A8 [12:58:58]Write i2c OK [12:58:58]MH_I2C_Read... [12:58:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:58:58]Read from MH i2c: E2 [12:58:58]MH_I2C_Read... [12:58:58]Read from MH i2c: E2 0B 00 [12:58:58]MH_I2C_Read... [12:58:58]Read from MH i2c: E2 0B 00 25 08 00 A2 04 2B 11 73 72 F0 DD 90 00 3D [12:58:58]RAPDU: A2 04 2B 11 73 72 F0 DD 90 00 [12:58:58]wFMCommunicate OK [12:58:58]SAM_PROTO_SignData done [12:58:58]FM_MakeSignedData done [12:58:58]CreateOFDProtocolMessage [12:58:58]wFMCommunicate request_size=4 [12:58:58]MH_SAM_APDU [12:58:58]CAPDU: 80 11 00 00 [12:58:58]Write to MH i2c: E2 08 00 26 08 80 11 00 00 00 00 00 00 A8 [12:58:58]Write i2c OK [12:58:58]MH_I2C_Read... [12:58:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:58:58]Read from MH i2c: E2 [12:58:58]MH_I2C_Read... [12:58:58]Read from MH i2c: E2 17 00 [12:58:58]MH_I2C_Read... [12:58:58]Read from MH i2c: E2 17 00 26 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 F5 [12:58:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:58:58]wFMCommunicate OK [12:58:58]CreateOFDProtocolMessage done [12:58:58]OFDSenderStorePacket 24333 [12:58:58]StoreOFDPacket docnum=24333 [12:58:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 AA 01 00 00 3C 81 A2 01 49 63 5A 03 01 00 03 00 96 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 39 37 37 30 30 31 32 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 E6 00 00 00 00 13 04 06 00 78 E6 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 00 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8C 1A 00 00 00 00 07 04 06 00 00 FA 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 12 50 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0D 5F 00 00 35 04 06 00 1D C7 5C A9 CC 3D A2 04 2B 11 73 72 F0 DD [12:58:58]CheckFolder [12:58:58]dirname=/storage/ofd_packets [12:58:58]CheckFolder done [12:58:58]ProducePacketName [12:58:58]name=ofd_packets/00024333 [12:58:58]NVStorageSaveData ofd_packets/00024333 [12:58:58]File name is /storage/ofd_packets/00024333 [12:58:58]Write 456 bytes [12:58:58]NVStorageSaveData done [12:58:58]OFDSenderStorePacket done [12:58:58]KKMCreateOFDPacket done [12:58:58]NVStorageSaveData kkm_last_timestamp [12:58:58]File name is /storage/kkm_last_timestamp [12:58:58]Write 4 bytes [12:58:58]NVStorageSaveData done [12:58:58]ExternCall_PrintAddStr [12:58:58]wPrintStart [12:58:58]Write to MH i2c: 01 00 00 27 08 2F [12:58:58]Write i2c OK [12:58:58]MH_I2C_Read... [12:58:58]Read from MH i2c: 01 [12:58:58]MH_I2C_Read... [12:58:58]Read from MH i2c: 01 07 00 [12:58:58]MH_I2C_Read... [12:58:58]OFD Sender: Processing packet 24333 [packets to send 5, broken 4] [12:58:58]ProducePacketName [12:58:58]name=ofd_packets/00024333 [12:58:58]OFD Sender: To server: pG, [12:58:58]CommunicateWithHost lk.salyk.kg:30040 [12:58:58]ConnectInit lk.salyk.kg [12:58:58]Read from MH i2c: 01 07 00 27 08 00 00 00 00 00 FF 0F 44 [12:58:58]RasterBufferAndPrint [12:58:58]line Счет N : (3)134854 [12:58:58]line ИНН: 02508201610067 [12:58:58]line Контрольно-Кассовый Чек [12:58:58]line ПРОДАЖА [12:58:58]line Товар: 2000029770012 [12:58:58]line Очки солнцезащитные в ассортименте [12:58:58]line 1.000 * 590.00 [12:58:58]line = 590.00 [12:58:58]line НДС 12% НСП 1% [12:58:58]line > о реализуемом товаре [12:58:58]line Товар: 4700000160358 [12:58:58]line Вода Легенда 1л [12:58:58]line 1.000 * 50.00 [12:58:58]line = 50.00 [12:58:58]line НДС 12% НСП 1% [12:58:58]line > о реализуемом товаре [12:58:58]line ИТОГО: 640.00 [12:58:58]line НСП 1% : 5.66 [12:58:58]line НДС 12% : 67.96 [12:58:58]line Наличными: 640.00 [12:58:58]line Безнал.: 0.00 [12:58:58]line Место: АЗС № 85 "Партнер Нефть" [12:58:58]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:58:58]line СНО: Общий режим [12:58:58]line Чек 37 21.10.2024 12:58 [12:58:58]line Смена: 461 ФФД: 1.0 [12:58:58]line ЗНМ: 0300000166 [12:58:58]line РНМ: 0000000000098120 [12:58:58]line Версия ККМ: 001 [12:58:58]line ФМ: 0000000000965420 [12:58:58]line ФД: 24333 [12:58:58]line ФПД: 32742090329149 [12:58:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T125858&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24333&fm=32742090329149&tin=02508201610067®Number=0000000000098120&sum=64000 [12:58:58]line 0 [12:58:58]written 0, free lines is 4095 [12:58:58]Connected sock=10 [12:58: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 34 32 30 AA 01 00 00 3C 81 A2 01 49 63 5A 03 01 00 03 00 96 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 39 37 37 30 30 31 32 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 E6 00 00 00 00 13 04 06 00 78 E6 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 00 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8C 1A 00 00 00 00 07 04 06 00 00 FA 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 12 50 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0D 5F 00 00 35 04 06 00 1D C7 5C A9 CC 3D A2 04 2B 11 73 72 F0 DD [12:58:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 67 10 47 00 68 F9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0D 5F 00 00 F4 03 04 00 B8 FB 15 67 B6 04 01 00 00 01 92 BF 0C 97 AC 67 17 [12:58:59]CommunicateWithHost err = 0 [12:58:59]CheckOFDResponse [12:58:59]1017 (14) - 77093643461234 [12:58:59]1041 (16) - 0000000000965420 [12:58:59]1040 (4) - 24333 [12:58:59]1012 (4) - 21.10.2024 06:59 [12:58:59]1206 (1) - 0 [12:58:59]OFD Sender: Remove packet 24333 [12:58:59]ProducePacketName [12:58:59]name=ofd_packets/00024333 [12:58:59]NVStorageDeleteData [12:58:59]Write to MH i2c: 01 00 00 56 08 5E [12:58:59]Write i2c OK [12:58:59]MH_I2C_Read... [12:58:59]Read from MH i2c: 01 [12:58:59]MH_I2C_Read... [12:58:59]Read from MH i2c: 01 07 00 [12:58:59]MH_I2C_Read... [12:58:59]Read from MH i2c: 01 07 00 56 08 00 00 00 00 00 C7 0C 38 [12:58:59]RasterBufferAndPrint [12:58:59]line [12:58:59]line [12:58:59]line [12:58:59]line [12:58:59]line [12:58:59]written 0, free lines is 3280 [12:58:59]process_action close_receipt done [12:58:59]requested_data is exist [12:58:59]produce_requested_data [12:58:59]requested_item fm.sn is exist - process it [12:58:59]wFMCommunicate request_size=4 [12:58:59]MH_SAM_APDU [12:58:59]CAPDU: 80 11 00 00 [12:58:59]Write to MH i2c: E2 08 00 5D 08 80 11 00 00 00 00 00 00 DF [12:58:59]Write i2c OK [12:58:59]MH_I2C_Read... [12:58:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:58:59]Read from MH i2c: E2 [12:58:59]MH_I2C_Read... [12:58:59]Read from MH i2c: E2 17 00 [12:58:59]MH_I2C_Read... [12:58:59]Read from MH i2c: E2 17 00 5D 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 2C [12:58:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:58:59]wFMCommunicate OK [12:58:59]requested_item fd.num is exist - process it [12:58:59]SAM_PROTO_GetFieldsCounters [12:58:59]wFMCommunicate request_size=4 [12:58:59]MH_SAM_APDU [12:58:59]CAPDU: 80 13 00 00 [12:58:59]Write to MH i2c: E2 08 00 5E 08 80 13 00 00 00 00 00 00 E2 [12:58:59]Write i2c OK [12:58:59]MH_I2C_Read... [12:58:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:58:59]Read from MH i2c: E2 [12:58:59]MH_I2C_Read... [12:58:59]Read from MH i2c: E2 62 00 [12:58:59]MH_I2C_Read... [12:58:59]Read from MH i2c: E2 62 00 5E 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 0D 5F 00 00 0E 04 04 00 CD 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 A1 [12:58: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 0D 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:58:59]wFMCommunicate OK [12:58:59]SAM_PROTO_GetFieldsCounters done [12:58:59]requested_item shift.num is exist - process it [12:58:59]requested_item shift.opened is exist - process it [12:58:59]req_shift_opened [12:58:59]FM_GetShiftState [12:58:59]SAM_PROTO_GetShiftState [12:58:59]wFMCommunicate request_size=4 [12:58:59]MH_SAM_APDU [12:58:59]CAPDU: 80 13 01 00 [12:58:59]Write to MH i2c: E2 08 00 5F 08 80 13 01 00 00 00 00 00 E4 [12:58:59]Write i2c OK [12:58:59]MH_I2C_Read... [12:58:59]OFD Sender: No OFD packet to send [12:58:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:58:59]Read from MH i2c: E2 [12:58:59]MH_I2C_Read... [12:58:59]Read from MH i2c: E2 0E 00 [12:58:59]MH_I2C_Read... [12:58:59]Read from MH i2c: E2 0E 00 5F 08 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 2E [12:58:59]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [12:58:59]wFMCommunicate OK [12:58:59]SAM_PROTO_GetShiftState done [12:58:59]FM_GetShiftState done [12:58:59]req_shift_opened done [12:58:59]requested_item shift.open_date is exist - process it [12:58:59]req_shift_open_date [12:58:59]req_shift_open_date done [12:58:59]produce_requested_data done [12:58:59]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24333,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [12:58:59]process_action_free close_receipt [12:58:59]json_value_free [12:58:59]json_value_free done [12:58:59]process_json_proto returns [12:58:59]Send response to host [12:58:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24333,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [12:58:59]free response buf [12:58:59]execute_script done [12:58:59]execute_script returns [12:58:59]free content buf [12:58:59]Sock 8.Close socket [12:58:59]Sock 8.Thread stoped [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:45]accept exits with 9 [13:00:45]New connection [13:00:45]New thread 3066940772 created [13:00:45]Thread 3067084132 joined [13:00:45]Waiting for new connection... [13:00:45] Sock 9.Parse request [13:00:45]Sock 9.Check first char [13:00:45]Sock 9.First char is OK [13:00:45]request: POST /json_proto HTTP/1.0 [13:00:45]Method: POST [13:00:45]URL: /json_proto [13:00:45]Method is POST - this is cgi request [13:00:45]url: /json_proto [13:00:45]query_string will be loaded in cgi processing [13:00:45]execute_cgi json_proto POST (null) [13:00:45]execute_cgi path=json_proto method=POST [13:00:45]POST find Content-Length [13:00:45]Host: 172.17.50.4:8080 [13:00:45]Content-Length: 832 [13:00:45]Content-Type: application/json [13:00:45] [13:00:45]POST finish read [13:00:45]Found Content-Length = 832 [13:00:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134855", "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 }]} ,{ "code": "50173617", "name": "\u0416\u0435\u0432 Orbit Eucalyptus", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:00:45]execute_script... [13:00:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134855", "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 }]} ,{ "code": "50173617", "name": "\u0416\u0435\u0432 Orbit Eucalyptus", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:00:45]POST & json_proto [13:00:45]process_json_proto [13:00:45]json parsed OK: [13:00:45]protocol is kg_v1.0 [13:00:45]action value=close_receipt [13:00:45]process_action close_receipt [13:00:45]cmd_close_receipt [13:00:45]MH_GetDate [13:00:45]Write to MH i2c: F0 00 00 60 08 57 [13:00:45]Write i2c OK [13:00:45]MH_I2C_Read... [13:00:45]Read from MH i2c: F0 [13:00:45]MH_I2C_Read... [13:00:45]Read from MH i2c: F0 09 00 [13:00:45]MH_I2C_Read... [13:00:45]Read from MH i2c: F0 09 00 60 08 00 7F 50 16 67 3B 12 16 67 76 [13:00:45]GetLastDocTimeStamp 1729515538 [13:00:45]current date 1729515647 [13:00:45]FM_GetShiftState [13:00:45]SAM_PROTO_GetShiftState [13:00:45]wFMCommunicate request_size=4 [13:00:45]MH_SAM_APDU [13:00:45]CAPDU: 80 13 01 00 [13:00:45]Write to MH i2c: E2 08 00 61 08 80 13 01 00 00 00 00 00 E6 [13:00:45]Write i2c OK [13:00:45]MH_I2C_Read... [13:00:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:00:45]Read from MH i2c: E2 [13:00:45]MH_I2C_Read... [13:00:45]Read from MH i2c: E2 0E 00 [13:00:45]MH_I2C_Read... [13:00:45]Read from MH i2c: E2 0E 00 61 08 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 30 [13:00:45]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [13:00:45]wFMCommunicate OK [13:00:45]SAM_PROTO_GetShiftState done [13:00:45]FM_GetShiftState done [13:00:45]opened in 1729469223 [13:00:45]opened+sec_in_day 1729555623 [13:00:45]quantity*price = 5000 [13:00:45]sum+1 = 5001 [13:00:45]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 50173617 Жев Orbit Eucalyptus 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 38 21.10.2024 13:00 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24334 ФПД: 208861587149843 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T130047&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24334&fm=208861587149843&tin=02508201610067®Number=0000000000098120&sum=9500 0 [13:00:46]StoreToDocumentArchive [13:00:46]shift 461 fd 24334 [13:00:46]save to /storage/0461/doc_00024334 [13:00:46]save last doc name /storage/0461/doc_00024334 to /storage/kkm_last_doc_name [13:00:46]save OK [13:00:46]Clear old archive folders... [13:00:46]ProcessDocumentItem done err = 0, tmpTLVsize=359 [13:00:46]tlvbuf is 0032BF50 [13:00:46]SAM_PROTO_ClearQueue [13:00:46]wFMCommunicate request_size=4 [13:00:46]MH_SAM_APDU [13:00:46]CAPDU: 80 09 00 00 [13:00:46]Write to MH i2c: E2 08 00 6E 08 80 09 00 00 00 00 00 00 E8 [13:00:46]Write i2c OK [13:00:46]MH_I2C_Read... [13:00:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:00:46]Read from MH i2c: E2 [13:00:46]MH_I2C_Read... [13:00:46]Read from MH i2c: E2 03 00 [13:00:46]MH_I2C_Read... [13:00:46]Read from MH i2c: E2 03 00 6E 08 00 90 00 EA [13:00:46]RAPDU: 90 00 [13:00:46]wFMCommunicate OK [13:00:46]SAM_PROTO_ClearQueue done [13:00:46]KKMCreateOFDPacket [13:00:46]OFDProtocolAddRootSTLVToBuf [13:00:46]FM_MakeSignedData [13:00:46]FM_MakeSignedData [13:00:46]SAM_PROTO_SignData [13:00:46]wFMCommunicate request_size=4 [13:00:46]MH_SAM_APDU [13:00:46]CAPDU: 80 0D 01 02 [13:00:46]Write to MH i2c: E2 08 00 6F 08 80 0D 01 02 00 00 00 00 F0 [13:00:46]Write i2c OK [13:00:46]MH_I2C_Read... [13:00:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:00:46]Read from MH i2c: E2 [13:00:46]MH_I2C_Read... [13:00:46]Read from MH i2c: E2 03 00 [13:00:46]MH_I2C_Read... [13:00:46]Read from MH i2c: E2 03 00 6F 08 00 90 00 EB [13:00:46]RAPDU: 90 00 [13:00:46]wFMCommunicate OK [13:00:46]wFMCommunicate request_size=255 [13:00:46]MH_SAM_APDU [13:00:46]CAPDU: 80 0D 02 02 FA 03 00 67 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 [13:00:46]Write to MH i2c: E2 02 01 70 08 80 0D 02 02 FA 00 03 00 67 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 00 00 9A [13:00:46]Write i2c OK [13:00:46]MH_I2C_Read... [13:00:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:00:47]Read from MH i2c: E2 [13:00:47]MH_I2C_Read... [13:00:47]Read from MH i2c: E2 03 00 [13:00:47]MH_I2C_Read... [13:00:47]Read from MH i2c: E2 03 00 70 08 00 90 00 EC [13:00:47]RAPDU: 90 00 [13:00:47]wFMCommunicate OK [13:00:47]wFMCommunicate request_size=118 [13:00:47]MH_SAM_APDU [13:00:47]CAPDU: 80 0D 02 02 71 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 26 00 00 00 F4 03 04 00 7F 50 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0E 5F 00 00 35 04 06 00 BD F5 60 B5 94 13 [13:00:47]Write to MH i2c: E2 79 00 71 08 80 0D 02 02 71 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 26 00 00 00 F4 03 04 00 7F 50 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0E 5F 00 00 35 04 06 00 BD F5 60 B5 94 13 00 00 60 [13:00:47]Write i2c OK [13:00:47]MH_I2C_Read... [13:00:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:00:47]Read from MH i2c: E2 [13:00:47]MH_I2C_Read... [13:00:47]Read from MH i2c: E2 03 00 [13:00:47]MH_I2C_Read... [13:00:47]Read from MH i2c: E2 03 00 71 08 00 90 00 ED [13:00:47]RAPDU: 90 00 [13:00:47]wFMCommunicate OK [13:00:47]wFMCommunicate request_size=4 [13:00:47]MH_SAM_APDU [13:00:47]CAPDU: 80 0D 03 02 [13:00:47]Write to MH i2c: E2 08 00 72 08 80 0D 03 02 00 00 00 00 F5 [13:00:47]Write i2c OK [13:00:47]MH_I2C_Read... [13:00:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:00:47]Read from MH i2c: E2 [13:00:47]MH_I2C_Read... [13:00:47]Read from MH i2c: E2 0B 00 [13:00:47]MH_I2C_Read... [13:00:47]Read from MH i2c: E2 0B 00 72 08 00 31 27 59 77 76 91 E8 33 90 00 40 [13:00:47]RAPDU: 31 27 59 77 76 91 E8 33 90 00 [13:00:47]wFMCommunicate OK [13:00:47]SAM_PROTO_SignData done [13:00:47]FM_MakeSignedData done [13:00:47]CreateOFDProtocolMessage [13:00:47]wFMCommunicate request_size=4 [13:00:47]MH_SAM_APDU [13:00:47]CAPDU: 80 11 00 00 [13:00:47]Write to MH i2c: E2 08 00 73 08 80 11 00 00 00 00 00 00 F5 [13:00:47]Write i2c OK [13:00:47]MH_I2C_Read... [13:00:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:00:47]Read from MH i2c: E2 [13:00:47]MH_I2C_Read... [13:00:47]Read from MH i2c: E2 17 00 [13:00:47]MH_I2C_Read... [13:00:47]Read from MH i2c: E2 17 00 73 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 42 [13:00:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:00:47]wFMCommunicate OK [13:00:47]CreateOFDProtocolMessage done [13:00:47]OFDSenderStorePacket 24334 [13:00:47]StoreOFDPacket docnum=24334 [13:00:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 7B 01 00 00 B6 8C 73 01 88 0C 5A 03 01 00 03 00 67 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 26 00 00 00 F4 03 04 00 7F 50 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0E 5F 00 00 35 04 06 00 BD F5 60 B5 94 13 31 27 59 77 76 91 E8 33 [13:00:47]CheckFolder [13:00:47]dirname=/storage/ofd_packets [13:00:47]CheckFolder done [13:00:47]ProducePacketName [13:00:47]name=ofd_packets/00024334 [13:00:47]NVStorageSaveData ofd_packets/00024334 [13:00:47]File name is /storage/ofd_packets/00024334 [13:00:47]Write 409 bytes [13:00:47]NVStorageSaveData done [13:00:47]OFDSenderStorePacket done [13:00:47]KKMCreateOFDPacket done [13:00:47]NVStorageSaveData kkm_last_timestamp [13:00:47]File name is /storage/kkm_last_timestamp [13:00:47]Write 4 bytes [13:00:47]NVStorageSaveData done [13:00:47]ExternCall_PrintAddStr [13:00:47]wPrintStart [13:00:47]Write to MH i2c: 01 00 00 74 08 7C [13:00:47]Write i2c OK [13:00:47]MH_I2C_Read... [13:00:47]Read from MH i2c: 01 [13:00:47]MH_I2C_Read... [13:00:47]Read from MH i2c: 01 07 00 [13:00:47]MH_I2C_Read... [13:00:47]Read from MH i2c: 01 07 00 74 08 00 00 00 00 00 FF 0F 91 [13:00:47]RasterBufferAndPrint [13:00:47]line Счет N : (3)134855 [13:00:47]line ИНН: 02508201610067 [13:00:47]line Контрольно-Кассовый Чек [13:00:47]line ПРОДАЖА [13:00:47]line Товар: 4700000160358 [13:00:47]line Вода Легенда 1л [13:00:47]line 1.000 * 50.00 [13:00:47]line = 50.00 [13:00:47]line НДС 12% НСП 1% [13:00:47]line > о реализуемом товаре [13:00:47]line Товар: 50173617 [13:00:47]line Жев Orbit Eucalyptus [13:00:47]line 1.000 * 45.00 [13:00:47]line = 45.00 [13:00:47]line НДС 12% НСП 1% [13:00:47]line > о реализуемом товаре [13:00:47]line ИТОГО: 95.00 [13:00:47]line НСП 1% : 0.84 [13:00:47]line НДС 12% : 10.09 [13:00:47]line Наличными: 95.00 [13:00:47]line Безнал.: 0.00 [13:00:47]line Место: АЗС № 85 "Партнер Нефть" [13:00:47]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [13:00:47]line СНО: Общий режим [13:00:47]line Чек 38 21.10.2024 13:00 [13:00:47]line Смена: 461 ФФД: 1.0 [13:00:47]line ЗНМ: 0300000166 [13:00:47]line РНМ: 0000000000098120 [13:00:47]line Версия ККМ: 001 [13:00:47]line ФМ: 0000000000965420 [13:00:47]line ФД: 24334 [13:00:47]line ФПД: 208861587149843 [13:00:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T130047&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24334&fm=208861587149843&tin=02508201610067®Number=0000000000098120&sum=9500 [13:00:47]line 0 [13:00:47]OFD Sender: Processing packet 24334 [packets to send 5, broken 4] [13:00:47]ProducePacketName [13:00:47]name=ofd_packets/00024334 [13:00:47]OFD Sender: To server: pG, [13:00:47]CommunicateWithHost lk.salyk.kg:30040 [13:00:47]ConnectInit lk.salyk.kg [13:00:47]written 0, free lines is 4095 [13:00:47]Connected sock=10 [13:00:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 7B 01 00 00 B6 8C 73 01 88 0C 5A 03 01 00 03 00 67 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 26 00 00 00 F4 03 04 00 7F 50 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0E 5F 00 00 35 04 06 00 BD F5 60 B5 94 13 31 27 59 77 76 91 E8 33 [13:00:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 FD 37 47 00 F9 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 34 32 30 10 04 04 00 0E 5F 00 00 F4 03 04 00 25 FC 15 67 B6 04 01 00 00 5D 67 53 E3 64 F6 B9 65 [13:00:48]CommunicateWithHost err = 0 [13:00:48]CheckOFDResponse [13:00:48]1017 (14) - 77093643461234 [13:00:48]1041 (16) - 0000000000965420 [13:00:48]1040 (4) - 24334 [13:00:48]1012 (4) - 21.10.2024 07:00 [13:00:48]1206 (1) - 0 [13:00:48]OFD Sender: Remove packet 24334 [13:00:48]ProducePacketName [13:00:48]name=ofd_packets/00024334 [13:00:48]NVStorageDeleteData [13:00:48]Write to MH i2c: 01 00 00 A2 08 AA [13:00:48]Write i2c OK [13:00:48]MH_I2C_Read... [13:00:48]Read from MH i2c: 01 [13:00:48]MH_I2C_Read... [13:00:48]Read from MH i2c: 01 07 00 [13:00:48]MH_I2C_Read... [13:00:48]Read from MH i2c: 01 07 00 A2 08 00 00 00 00 00 D3 0C 90 [13:00:48]RasterBufferAndPrint [13:00:48]line [13:00:48]line [13:00:48]line [13:00:48]line [13:00:48]line [13:00:48]written 0, free lines is 3289 [13:00:48]process_action close_receipt done [13:00:48]requested_data is exist [13:00:48]produce_requested_data [13:00:48]requested_item fm.sn is exist - process it [13:00:48]wFMCommunicate request_size=4 [13:00:48]MH_SAM_APDU [13:00:48]CAPDU: 80 11 00 00 [13:00:48]Write to MH i2c: E2 08 00 A9 08 80 11 00 00 00 00 00 00 2B [13:00:48]Write i2c OK [13:00:48]MH_I2C_Read... [13:00:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:00:48]Read from MH i2c: E2 [13:00:48]MH_I2C_Read... [13:00:48]Read from MH i2c: E2 17 00 [13:00:48]MH_I2C_Read... [13:00:48]Read from MH i2c: E2 17 00 A9 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 78 [13:00:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:00:48]wFMCommunicate OK [13:00:48]requested_item fd.num is exist - process it [13:00:48]SAM_PROTO_GetFieldsCounters [13:00:48]wFMCommunicate request_size=4 [13:00:48]MH_SAM_APDU [13:00:48]CAPDU: 80 13 00 00 [13:00:48]Write to MH i2c: E2 08 00 AA 08 80 13 00 00 00 00 00 00 2E [13:00:48]Write i2c OK [13:00:48]MH_I2C_Read... [13:00:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:00:48]Read from MH i2c: E2 [13:00:48]MH_I2C_Read... [13:00:48]Read from MH i2c: E2 62 00 [13:00:48]MH_I2C_Read... [13:00:48]Read from MH i2c: E2 62 00 AA 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 0E 5F 00 00 0E 04 04 00 CD 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 F1 [13:00: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 0E 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:00:48]wFMCommunicate OK [13:00:48]SAM_PROTO_GetFieldsCounters done [13:00:48]requested_item shift.num is exist - process it [13:00:48]requested_item shift.opened is exist - process it [13:00:48]req_shift_opened [13:00:48]FM_GetShiftState [13:00:48]SAM_PROTO_GetShiftState [13:00:48]wFMCommunicate request_size=4 [13:00:48]MH_SAM_APDU [13:00:48]CAPDU: 80 13 01 00 [13:00:48]Write to MH i2c: E2 08 00 AB 08 80 13 01 00 00 00 00 00 30 [13:00:48]Write i2c OK [13:00:48]MH_I2C_Read... [13:00:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:00:48]Read from MH i2c: E2 [13:00:48]MH_I2C_Read... [13:00:48]Read from MH i2c: E2 0E 00 [13:00:48]MH_I2C_Read... [13:00:48]Read from MH i2c: E2 0E 00 AB 08 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 7A [13:00:48]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [13:00:48]wFMCommunicate OK [13:00:48]SAM_PROTO_GetShiftState done [13:00:48]FM_GetShiftState done [13:00:48]req_shift_opened done [13:00:48]requested_item shift.open_date is exist - process it [13:00:48]req_shift_open_date [13:00:48]req_shift_open_date done [13:00:48]produce_requested_data done [13:00:48]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24334,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [13:00:48]process_action_free close_receipt [13:00:48]json_value_free [13:00:48]json_value_free done [13:00:48]process_json_proto returns [13:00:48]Send response to host [13:00:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24334,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [13:00:48]free response buf [13:00:48]execute_script done [13:00:48]execute_script returns [13:00:48]free content buf [13:00:48]Sock 9.Close socket [13:00:48]Sock 9.Thread stoped [13:00:48]OFD Sender: No OFD packet to send [13:00:53]OFD Sender: No OFD packet to send [13:00:58]OFD Sender: No OFD packet to send [13:01:03]OFD Sender: No OFD packet to send [13:01:08]OFD Sender: No OFD packet to send [13:01:13]OFD Sender: No OFD packet to send [13:01:18]OFD Sender: No OFD packet to send [13:01:23]OFD Sender: No OFD packet to send [13:01:28]OFD Sender: No OFD packet to send [13:01:33]OFD Sender: No OFD packet to send [13:01:38]OFD Sender: No OFD packet to send [13:01:43]OFD Sender: No OFD packet to send [13:01:48]OFD Sender: No OFD packet to send [13:01:53]OFD Sender: No OFD packet to send [13:01:58]OFD Sender: No OFD packet to send [13:02:03]OFD Sender: No OFD packet to send [13:02:08]OFD Sender: No OFD packet to send [13:02:13]OFD Sender: No OFD packet to send [13:02:18]OFD Sender: No OFD packet to send [13:02:23]OFD Sender: No OFD packet to send [13:02:28]OFD Sender: No OFD packet to send [13:02:33]OFD Sender: No OFD packet to send [13:02:38]OFD Sender: No OFD packet to send [13:02:43]OFD Sender: No OFD packet to send [13:02:48]OFD Sender: No OFD packet to send [13:02:53]OFD Sender: No OFD packet to send [13:02:58]OFD Sender: No OFD packet to send [13:03:03]OFD Sender: No OFD packet to send [13:03:08]OFD Sender: No OFD packet to send [13:03:13]OFD Sender: No OFD packet to send [13:03:18]OFD Sender: No OFD packet to send [13:03:23]OFD Sender: No OFD packet to send [13:03:28]OFD Sender: No OFD packet to send [13:03:33]OFD Sender: No OFD packet to send [13:03:38]OFD Sender: No OFD packet to send [13:03:43]OFD Sender: No OFD packet to send [13:03:48]OFD Sender: No OFD packet to send [13:03:53]OFD Sender: No OFD packet to send [13:03:58]OFD Sender: No OFD packet to send [13:04:03]OFD Sender: No OFD packet to send [13:04:08]OFD Sender: No OFD packet to send [13:04:13]OFD Sender: No OFD packet to send [13:04:18]OFD Sender: No OFD packet to send [13:04:23]OFD Sender: No OFD packet to send [13:04:28]OFD Sender: No OFD packet to send [13:04:33]OFD Sender: No OFD packet to send [13:04:38]OFD Sender: No OFD packet to send [13:04:43]OFD Sender: No OFD packet to send [13:04:48]OFD Sender: No OFD packet to send [13:04:53]OFD Sender: No OFD packet to send [13:04:58]OFD Sender: No OFD packet to send [13:05:03]OFD Sender: No OFD packet to send [13:05:08]OFD Sender: No OFD packet to send [13:05:13]OFD Sender: No OFD packet to send [13:05:18]OFD Sender: No OFD packet to send [13:05:23]OFD Sender: No OFD packet to send [13:05:28]OFD Sender: No OFD packet to send [13:05:33]OFD Sender: No OFD packet to send [13:05:38]OFD Sender: No OFD packet to send [13:05:43]OFD Sender: No OFD packet to send [13:05:48]OFD Sender: No OFD packet to send [13:05:53]OFD Sender: No OFD packet to send [13:05:58]OFD Sender: No OFD packet to send [13:06:03]OFD Sender: No OFD packet to send [13:06:08]OFD Sender: No OFD packet to send [13:06:13]OFD Sender: No OFD packet to send [13:06:18]OFD Sender: No OFD packet to send [13:06:23]OFD Sender: No OFD packet to send [13:06:28]OFD Sender: No OFD packet to send [13:06:33]OFD Sender: No OFD packet to send [13:06:38]OFD Sender: No OFD packet to send [13:06:43]OFD Sender: No OFD packet to send [13:06:48]OFD Sender: No OFD packet to send [13:06:53]OFD Sender: No OFD packet to send [13:06:58]OFD Sender: No OFD packet to send [13:07:03]OFD Sender: No OFD packet to send [13:07:08]OFD Sender: No OFD packet to send [13:07:13]OFD Sender: No OFD packet to send [13:07:18]OFD Sender: No OFD packet to send [13:07:23]OFD Sender: No OFD packet to send [13:07:28]OFD Sender: No OFD packet to send [13:07:33]OFD Sender: No OFD packet to send [13:07:38]OFD Sender: No OFD packet to send [13:07:43]OFD Sender: No OFD packet to send [13:07:48]OFD Sender: No OFD packet to send [13:07:53]OFD Sender: No OFD packet to send [13:07:58]OFD Sender: No OFD packet to send [13:08:03]OFD Sender: No OFD packet to send [13:08:08]OFD Sender: No OFD packet to send [13:08:13]OFD Sender: No OFD packet to send [13:08:18]OFD Sender: No OFD packet to send [13:08:23]OFD Sender: No OFD packet to send [13:08:28]OFD Sender: No OFD packet to send [13:08:33]OFD Sender: No OFD packet to send [13:08:38]OFD Sender: No OFD packet to send [13:08:44]OFD Sender: No OFD packet to send [13:08:49]OFD Sender: No OFD packet to send [13:08:54]OFD Sender: No OFD packet to send [13:08:59]OFD Sender: No OFD packet to send [13:09:02]accept exits with 8 [13:09:02]New connection [13:09:02]New thread 3067084132 created [13:09:02]Thread 3066940772 joined [13:09:02]Waiting for new connection... [13:09:02] Sock 8.Parse request [13:09:02]Sock 8.Check first char [13:09:02]Sock 8.First char is OK [13:09:02]request: POST /json_proto HTTP/1.0 [13:09:02]Method: POST [13:09:02]URL: /json_proto [13:09:02]Method is POST - this is cgi request [13:09:02]url: /json_proto [13:09:02]query_string will be loaded in cgi processing [13:09:02]execute_cgi json_proto POST (null) [13:09:02]execute_cgi path=json_proto method=POST [13:09:02]POST find Content-Length [13:09:02]Host: 172.17.50.4:8080 [13:09:02]Content-Length: 936 [13:09:02]Content-Type: application/json [13:09:02] [13:09:02]POST finish read [13:09:02]Found Content-Length = 936 [13:09:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134856", "tax_sys" : 0, "items" : [ { "code": "4620021192896", "name": "48 \u041A\u043E\u043F\u0435\u0435\u043A \u0441\u0442\u0430\u043A\u0430\u043D \u041F\u043B\u043E\u043C\u0431\u0438\u0440", "price" : 105.00, "quantity" : 4.000, "sum" : 420.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46116482", "name": "\u0416\u0435\u0432 Orbit \u044F\u0433\u043E\u0434\u043D\u044B\u0439 \u043C\u0438\u043A\u0441", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 465.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:09:02]execute_script... [13:09: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)134856", "tax_sys" : 0, "items" : [ { "code": "4620021192896", "name": "48 \u041A\u043E\u043F\u0435\u0435\u043A \u0441\u0442\u0430\u043A\u0430\u043D \u041F\u043B\u043E\u043C\u0431\u0438\u0440", "price" : 105.00, "quantity" : 4.000, "sum" : 420.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46116482", "name": "\u0416\u0435\u0432 Orbit \u044F\u0433\u043E\u0434\u043D\u044B\u0439 \u043C\u0438\u043A\u0441", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 465.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:09:02]POST & json_proto [13:09:02]process_json_proto [13:09:02]json parsed OK: [13:09:02]protocol is kg_v1.0 [13:09:02]action value=close_receipt [13:09:02]process_action close_receipt [13:09:02]cmd_close_receipt [13:09:02]MH_GetDate [13:09:02]Write to MH i2c: F0 00 00 AC 08 A3 [13:09:02]Write i2c OK [13:09:02]MH_I2C_Read... [13:09:02]Read from MH i2c: F0 [13:09:02]MH_I2C_Read... [13:09:02]Read from MH i2c: F0 09 00 [13:09:02]MH_I2C_Read... [13:09:02]Read from MH i2c: F0 09 00 AC 08 00 70 52 16 67 3B 12 16 67 B5 [13:09:02]GetLastDocTimeStamp 1729515647 [13:09:02]current date 1729516144 [13:09:02]FM_GetShiftState [13:09:02]SAM_PROTO_GetShiftState [13:09:02]wFMCommunicate request_size=4 [13:09:02]MH_SAM_APDU [13:09:02]CAPDU: 80 13 01 00 [13:09:02]Write to MH i2c: E2 08 00 AD 08 80 13 01 00 00 00 00 00 32 [13:09:02]Write i2c OK [13:09:02]MH_I2C_Read... [13:09:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:09:02]Read from MH i2c: E2 [13:09:02]MH_I2C_Read... [13:09:02]Read from MH i2c: E2 0E 00 [13:09:02]MH_I2C_Read... [13:09:02]Read from MH i2c: E2 0E 00 AD 08 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 7C [13:09:02]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [13:09:02]wFMCommunicate OK [13:09:02]SAM_PROTO_GetShiftState done [13:09:02]FM_GetShiftState done [13:09:02]opened in 1729469223 [13:09:02]opened+sec_in_day 1729555623 [13:09:02]quantity*price = 42000 [13:09:02]sum+1 = 42001 [13:09:02]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46116482 Жев Orbit ягодный микс 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 465.00 НСП 1% : 4.12 НДС 12% : 49.38 Наличными: 465.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 39 21.10.2024 13:09 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24335 ФПД: 200614065408236 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T130904&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24335&fm=200614065408236&tin=02508201610067®Number=0000000000098120&sum=46500 0 [13:09:03]StoreToDocumentArchive [13:09:03]shift 461 fd 24335 [13:09:03]save to /storage/0461/doc_00024335 [13:09:03]save last doc name /storage/0461/doc_00024335 to /storage/kkm_last_doc_name [13:09:03]save OK [13:09:03]Clear old archive folders... [13:09:03]ProcessDocumentItem done err = 0, tmpTLVsize=388 [13:09:03]tlvbuf is 00360B70 [13:09:03]SAM_PROTO_ClearQueue [13:09:03]wFMCommunicate request_size=4 [13:09:03]MH_SAM_APDU [13:09:03]CAPDU: 80 09 00 00 [13:09:03]Write to MH i2c: E2 08 00 BA 08 80 09 00 00 00 00 00 00 34 [13:09:03]Write i2c OK [13:09:03]MH_I2C_Read... [13:09:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:09:03]Read from MH i2c: E2 [13:09:03]MH_I2C_Read... [13:09:03]Read from MH i2c: E2 03 00 [13:09:03]MH_I2C_Read... [13:09:03]Read from MH i2c: E2 03 00 BA 08 00 90 00 36 [13:09:03]RAPDU: 90 00 [13:09:03]wFMCommunicate OK [13:09:03]SAM_PROTO_ClearQueue done [13:09:03]KKMCreateOFDPacket [13:09:03]OFDProtocolAddRootSTLVToBuf [13:09:03]FM_MakeSignedData [13:09:03]FM_MakeSignedData [13:09:03]SAM_PROTO_SignData [13:09:03]wFMCommunicate request_size=4 [13:09:03]MH_SAM_APDU [13:09:03]CAPDU: 80 0D 01 02 [13:09:03]Write to MH i2c: E2 08 00 BB 08 80 0D 01 02 00 00 00 00 3C [13:09:03]Write i2c OK [13:09:03]MH_I2C_Read... [13:09:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:09:03]Read from MH i2c: E2 [13:09:03]MH_I2C_Read... [13:09:03]Read from MH i2c: E2 03 00 [13:09:03]MH_I2C_Read... [13:09:03]Read from MH i2c: E2 03 00 BB 08 00 90 00 37 [13:09:03]RAPDU: 90 00 [13:09:03]wFMCommunicate OK [13:09:03]wFMCommunicate request_size=255 [13:09:03]MH_SAM_APDU [13:09:03]CAPDU: 80 0D 02 02 FA 03 00 84 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 32 30 30 32 31 31 39 32 38 39 36 06 04 2B 00 34 38 20 D0 9A D0 BE D0 BF D0 B5 D0 B5 D0 BA 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD 20 D0 9F D0 BB D0 BE D0 BC D0 B1 D0 B8 D1 80 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 B5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 [13:09:03]Write to MH i2c: E2 02 01 BC 08 80 0D 02 02 FA 00 03 00 84 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 32 30 30 32 31 31 39 32 38 39 36 06 04 2B 00 34 38 20 D0 9A D0 BE D0 BF D0 B5 D0 B5 D0 BA 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD 20 D0 9F D0 BB D0 BE D0 BC D0 B1 D0 B8 D1 80 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 B5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 00 00 7B [13:09:03]Write i2c OK [13:09:03]MH_I2C_Read... [13:09:04]OFD Sender: No OFD packet to send [13:09:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:09:04]Read from MH i2c: E2 [13:09:04]MH_I2C_Read... [13:09:04]Read from MH i2c: E2 03 00 [13:09:04]MH_I2C_Read... [13:09:04]Read from MH i2c: E2 03 00 BC 08 00 90 00 38 [13:09:04]RAPDU: 90 00 [13:09:04]wFMCommunicate OK [13:09:04]wFMCommunicate request_size=147 [13:09:04]MH_SAM_APDU [13:09:04]CAPDU: 80 0D 02 02 8E F7 03 06 00 9C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 13 00 00 00 00 07 04 06 00 A4 B5 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 70 52 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0F 5F 00 00 35 04 06 00 B6 75 1A 1B 08 EC [13:09:04]Write to MH i2c: E2 96 00 BD 08 80 0D 02 02 8E 00 F7 03 06 00 9C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 13 00 00 00 00 07 04 06 00 A4 B5 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 70 52 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0F 5F 00 00 35 04 06 00 B6 75 1A 1B 08 EC 00 00 C6 [13:09:04]Write i2c OK [13:09:04]MH_I2C_Read... [13:09:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:09:04]Read from MH i2c: E2 [13:09:04]MH_I2C_Read... [13:09:04]Read from MH i2c: E2 03 00 [13:09:04]MH_I2C_Read... [13:09:04]Read from MH i2c: E2 03 00 BD 08 00 90 00 39 [13:09:04]RAPDU: 90 00 [13:09:04]wFMCommunicate OK [13:09:04]wFMCommunicate request_size=4 [13:09:04]MH_SAM_APDU [13:09:04]CAPDU: 80 0D 03 02 [13:09:04]Write to MH i2c: E2 08 00 BE 08 80 0D 03 02 00 00 00 00 41 [13:09:04]Write i2c OK [13:09:04]MH_I2C_Read... [13:09:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:09:04]Read from MH i2c: E2 [13:09:04]MH_I2C_Read... [13:09:04]Read from MH i2c: E2 0B 00 [13:09:04]MH_I2C_Read... [13:09:04]Read from MH i2c: E2 0B 00 BE 08 00 68 3E BE 14 E4 08 A0 E4 90 00 2A [13:09:04]RAPDU: 68 3E BE 14 E4 08 A0 E4 90 00 [13:09:04]wFMCommunicate OK [13:09:04]SAM_PROTO_SignData done [13:09:04]FM_MakeSignedData done [13:09:04]CreateOFDProtocolMessage [13:09:04]wFMCommunicate request_size=4 [13:09:04]MH_SAM_APDU [13:09:04]CAPDU: 80 11 00 00 [13:09:04]Write to MH i2c: E2 08 00 BF 08 80 11 00 00 00 00 00 00 41 [13:09:04]Write i2c OK [13:09:04]MH_I2C_Read... [13:09:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:09:04]Read from MH i2c: E2 [13:09:04]MH_I2C_Read... [13:09:04]Read from MH i2c: E2 17 00 [13:09:04]MH_I2C_Read... [13:09:04]Read from MH i2c: E2 17 00 BF 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 8E [13:09:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:09:04]wFMCommunicate OK [13:09:04]CreateOFDProtocolMessage done [13:09:04]OFDSenderStorePacket 24335 [13:09:04]StoreOFDPacket docnum=24335 [13:09:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 98 01 00 00 CE 5A 90 01 F9 BB 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 32 30 30 32 31 31 39 32 38 39 36 06 04 2B 00 34 38 20 D0 9A D0 BE D0 BF D0 B5 D0 B5 D0 BA 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD 20 D0 9F D0 BB D0 BE D0 BC D0 B1 D0 B8 D1 80 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 B5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 13 00 00 00 00 07 04 06 00 A4 B5 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 70 52 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0F 5F 00 00 35 04 06 00 B6 75 1A 1B 08 EC 68 3E BE 14 E4 08 A0 E4 [13:09:04]CheckFolder [13:09:04]dirname=/storage/ofd_packets [13:09:04]CheckFolder done [13:09:04]ProducePacketName [13:09:04]name=ofd_packets/00024335 [13:09:04]NVStorageSaveData ofd_packets/00024335 [13:09:04]File name is /storage/ofd_packets/00024335 [13:09:04]Write 438 bytes [13:09:04]NVStorageSaveData done [13:09:04]OFDSenderStorePacket done [13:09:04]KKMCreateOFDPacket done [13:09:04]NVStorageSaveData kkm_last_timestamp [13:09:04]File name is /storage/kkm_last_timestamp [13:09:04]Write 4 bytes [13:09:04]NVStorageSaveData done [13:09:04]ExternCall_PrintAddStr [13:09:04]wPrintStart [13:09:04]Write to MH i2c: 01 00 00 C0 08 C8 [13:09:04]Write i2c OK [13:09:04]MH_I2C_Read... [13:09:04]Read from MH i2c: 01 [13:09:04]MH_I2C_Read... [13:09:04]Read from MH i2c: 01 07 00 [13:09:04]MH_I2C_Read... [13:09:04]Read from MH i2c: 01 07 00 C0 08 00 00 00 00 00 FF 0F DD [13:09:04]RasterBufferAndPrint [13:09:04]line Счет N : (3)134856 [13:09:04]line ИНН: 02508201610067 [13:09:04]line Контрольно-Кассовый Чек [13:09:04]line ПРОДАЖА [13:09:04]line Товар: 4620021192896 [13:09:04]line 48 Копеек стакан Пломбир [13:09:04]line 4.000 * 105.00 [13:09:04]line = 420.00 [13:09:04]line НДС 12% НСП 1% [13:09:04]line > о реализуемом товаре [13:09:04]line Товар: 46116482 [13:09:04]line Жев Orbit ягодный микс [13:09:04]line 1.000 * 45.00 [13:09:04]line = 45.00 [13:09:04]line НДС 12% НСП 1% [13:09:04]line > о реализуемом товаре [13:09:04]line ИТОГО: 465.00 [13:09:04]line НСП 1% : 4.12 [13:09:04]line НДС 12% : 49.38 [13:09:04]line Наличными: 465.00 [13:09:04]line Безнал.: 0.00 [13:09:04]line Место: АЗС № 85 "Партнер Нефть" [13:09:04]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [13:09:04]line СНО: Общий режим [13:09:04]line Чек 39 21.10.2024 13:09 [13:09:04]line Смена: 461 ФФД: 1.0 [13:09:04]line ЗНМ: 0300000166 [13:09:04]line РНМ: 0000000000098120 [13:09:04]line Версия ККМ: 001 [13:09:04]line ФМ: 0000000000965420 [13:09:04]line ФД: 24335 [13:09:04]line ФПД: 200614065408236 [13:09:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T130904&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24335&fm=200614065408236&tin=02508201610067®Number=0000000000098120&sum=46500 [13:09:04]line 0 [13:09:04]OFD Sender: Processing packet 24335 [packets to send 5, broken 4] [13:09:04]ProducePacketName [13:09:04]name=ofd_packets/00024335 [13:09:04]OFD Sender: To server: pG, [13:09:04]CommunicateWithHost lk.salyk.kg:30040 [13:09:04]ConnectInit lk.salyk.kg [13:09:04]written 0, free lines is 4095 [13:09:04]Connected sock=10 [13:09: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 34 32 30 98 01 00 00 CE 5A 90 01 F9 BB 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 32 30 30 32 31 31 39 32 38 39 36 06 04 2B 00 34 38 20 D0 9A D0 BE D0 BF D0 B5 D0 B5 D0 BA 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD 20 D0 9F D0 BB D0 BE D0 BC D0 B1 D0 B8 D1 80 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 B5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 13 00 00 00 00 07 04 06 00 A4 B5 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 70 52 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0F 5F 00 00 35 04 06 00 B6 75 1A 1B 08 EC 68 3E BE 14 E4 08 A0 E4 [13:09:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 52 A1 47 00 C5 82 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 0F 5F 00 00 F4 03 04 00 16 FE 15 67 B6 04 01 00 00 60 6B DC 72 62 49 3A 77 [13:09:05]CommunicateWithHost err = 0 [13:09:05]CheckOFDResponse [13:09:05]1017 (14) - 77093643461234 [13:09:05]1041 (16) - 0000000000965420 [13:09:05]1040 (4) - 24335 [13:09:05]1012 (4) - 21.10.2024 07:09 [13:09:05]1206 (1) - 0 [13:09:05]OFD Sender: Remove packet 24335 [13:09:05]ProducePacketName [13:09:05]name=ofd_packets/00024335 [13:09:05]NVStorageDeleteData [13:09:05]Write to MH i2c: 01 00 00 EE 08 F6 [13:09:05]Write i2c OK [13:09:05]MH_I2C_Read... [13:09:05]Read from MH i2c: 01 [13:09:05]MH_I2C_Read... [13:09:05]Read from MH i2c: 01 07 00 [13:09:05]MH_I2C_Read... [13:09:05]Read from MH i2c: 01 07 00 EE 08 00 00 00 00 00 D5 0C DE [13:09:05]RasterBufferAndPrint [13:09:05]line [13:09:05]line [13:09:05]line [13:09:05]line [13:09:05]line [13:09:05]written 0, free lines is 3291 [13:09:05]process_action close_receipt done [13:09:05]requested_data is exist [13:09:05]produce_requested_data [13:09:05]requested_item fm.sn is exist - process it [13:09:05]wFMCommunicate request_size=4 [13:09:05]MH_SAM_APDU [13:09:05]CAPDU: 80 11 00 00 [13:09:05]Write to MH i2c: E2 08 00 F5 08 80 11 00 00 00 00 00 00 77 [13:09:05]Write i2c OK [13:09:05]MH_I2C_Read... [13:09:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:09:05]Read from MH i2c: E2 [13:09:05]MH_I2C_Read... [13:09:05]Read from MH i2c: E2 17 00 [13:09:05]MH_I2C_Read... [13:09:05]Read from MH i2c: E2 17 00 F5 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 C4 [13:09:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:09:05]wFMCommunicate OK [13:09:05]requested_item fd.num is exist - process it [13:09:05]SAM_PROTO_GetFieldsCounters [13:09:05]wFMCommunicate request_size=4 [13:09:05]MH_SAM_APDU [13:09:05]CAPDU: 80 13 00 00 [13:09:05]Write to MH i2c: E2 08 00 F6 08 80 13 00 00 00 00 00 00 7A [13:09:05]Write i2c OK [13:09:05]MH_I2C_Read... [13:09:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:09:05]Read from MH i2c: E2 [13:09:05]MH_I2C_Read... [13:09:05]Read from MH i2c: E2 62 00 [13:09:05]MH_I2C_Read... [13:09:05]Read from MH i2c: E2 62 00 F6 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 0F 5F 00 00 0E 04 04 00 CD 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 41 [13:09: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 0F 5F 00 00 0E 04 04 00 CD 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 [13:09:05]wFMCommunicate OK [13:09:05]SAM_PROTO_GetFieldsCounters done [13:09:05]requested_item shift.num is exist - process it [13:09:05]requested_item shift.opened is exist - process it [13:09:05]req_shift_opened [13:09:05]FM_GetShiftState [13:09:05]SAM_PROTO_GetShiftState [13:09:05]wFMCommunicate request_size=4 [13:09:05]MH_SAM_APDU [13:09:05]CAPDU: 80 13 01 00 [13:09:05]Write to MH i2c: E2 08 00 F7 08 80 13 01 00 00 00 00 00 7C [13:09:05]Write i2c OK [13:09:05]MH_I2C_Read... [13:09:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:09:05]Read from MH i2c: E2 [13:09:05]MH_I2C_Read... [13:09:05]Read from MH i2c: E2 0E 00 [13:09:05]MH_I2C_Read... [13:09:05]Read from MH i2c: E2 0E 00 F7 08 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 C6 [13:09:05]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [13:09:05]wFMCommunicate OK [13:09:05]SAM_PROTO_GetShiftState done [13:09:05]FM_GetShiftState done [13:09:05]req_shift_opened done [13:09:05]requested_item shift.open_date is exist - process it [13:09:05]req_shift_open_date [13:09:05]req_shift_open_date done [13:09:05]produce_requested_data done [13:09:05]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24335,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [13:09:05]process_action_free close_receipt [13:09:05]json_value_free [13:09:05]json_value_free done [13:09:05]process_json_proto returns [13:09:05]Send response to host [13:09:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24335,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [13:09:05]free response buf [13:09:05]execute_script done [13:09:05]execute_script returns [13:09:05]free content buf [13:09:05]Sock 8.Close socket [13:09:05]Sock 8.Thread stoped [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: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:51]OFD Sender: No OFD packet to send [13:16:56]OFD Sender: No OFD packet to send [13:17:01]OFD Sender: No OFD packet to send [13:17:06]OFD Sender: No OFD packet to send [13:17:11]OFD Sender: No OFD packet to send [13:17:16]OFD Sender: No OFD packet to send [13:17:21]OFD Sender: No OFD packet to send [13:17:26]OFD Sender: No OFD packet to send [13:17:31]OFD Sender: No OFD packet to send [13:17:36]OFD Sender: No OFD packet to send [13:17:41]OFD Sender: No OFD packet to send [13:17:46]OFD Sender: No OFD packet to send [13:17:51]OFD Sender: No OFD packet to send [13:17:56]OFD Sender: No OFD packet to send [13:18:01]OFD Sender: No OFD packet to send [13:18:06]OFD Sender: No OFD packet to send [13:18:11]OFD Sender: No OFD packet to send [13:18:16]OFD Sender: No OFD packet to send [13:18:21]OFD Sender: No OFD packet to send [13:18:26]OFD Sender: No OFD packet to send [13:18:31]OFD Sender: No OFD packet to send [13:18:36]OFD Sender: No OFD packet to send [13:18:41]OFD Sender: No OFD packet to send [13:18:46]OFD Sender: No OFD packet to send [13:18:51]OFD Sender: No OFD packet to send [13:18:56]OFD Sender: No OFD packet to send [13:19:01]OFD Sender: No OFD packet to send [13:19:06]OFD Sender: No OFD packet to send [13:19:11]OFD Sender: No OFD packet to send [13:19:16]OFD Sender: No OFD packet to send [13:19:21]OFD Sender: No OFD packet to send [13:19:26]OFD Sender: No OFD packet to send [13:19:31]OFD Sender: No OFD packet to send [13:19:36]OFD Sender: No OFD packet to send [13:19:39]accept exits with 9 [13:19:39]New connection [13:19:39]New thread 3066940772 created [13:19:39]Thread 3067084132 joined [13:19:39]Waiting for new connection... [13:19:39] Sock 9.Parse request [13:19:39]Sock 9.Check first char [13:19:39]Sock 9.First char is OK [13:19:39]request: POST /json_proto HTTP/1.0 [13:19:39]Method: POST [13:19:39]URL: /json_proto [13:19:39]Method is POST - this is cgi request [13:19:39]url: /json_proto [13:19:39]query_string will be loaded in cgi processing [13:19:39]execute_cgi json_proto POST (null) [13:19:39]execute_cgi path=json_proto method=POST [13:19:39]POST find Content-Length [13:19:39]Host: 172.17.50.4:8080 [13:19:39]Content-Length: 877 [13:19:39]Content-Type: application/json [13:19:39] [13:19:39]POST finish read [13:19:39]Found Content-Length = 877 [13:19:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134857", "tax_sys" : 0, "items" : [ { "code": "48743396", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B BOND STREET compact silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 194.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:19:39]execute_script... [13: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)134857", "tax_sys" : 0, "items" : [ { "code": "48743396", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B BOND STREET compact silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 194.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:19:39]POST & json_proto [13:19:39]process_json_proto [13:19:39]json parsed OK: [13:19:39]protocol is kg_v1.0 [13:19:39]action value=close_receipt [13:19:39]process_action close_receipt [13:19:39]cmd_close_receipt [13:19:39]MH_GetDate [13:19:39]Write to MH i2c: F0 00 00 F8 08 EF [13:19:39]Write i2c OK [13:19:39]MH_I2C_Read... [13:19:39]Read from MH i2c: F0 [13:19:39]MH_I2C_Read... [13:19:39]Read from MH i2c: F0 09 00 [13:19:39]MH_I2C_Read... [13:19:39]Read from MH i2c: F0 09 00 F8 08 00 ED 54 16 67 3B 12 16 67 80 [13:19:39]GetLastDocTimeStamp 1729516144 [13:19:39]current date 1729516781 [13:19:39]FM_GetShiftState [13:19:39]SAM_PROTO_GetShiftState [13:19:39]wFMCommunicate request_size=4 [13:19:39]MH_SAM_APDU [13:19:39]CAPDU: 80 13 01 00 [13:19:39]Write to MH i2c: E2 08 00 F9 08 80 13 01 00 00 00 00 00 7E [13:19:39]Write i2c OK [13:19:39]MH_I2C_Read... [13:19:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:19:39]Read from MH i2c: E2 [13:19:39]MH_I2C_Read... [13:19:39]Read from MH i2c: E2 0E 00 [13:19:39]MH_I2C_Read... [13:19:39]Read from MH i2c: E2 0E 00 F9 08 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 C8 [13:19:39]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [13:19:39]wFMCommunicate OK [13:19:39]SAM_PROTO_GetShiftState done [13:19:39]FM_GetShiftState done [13:19:39]opened in 1729469223 [13:19:39]opened+sec_in_day 1729555623 [13:19:39]quantity*price = 13400 [13:19:39]sum+1 = 13401 [13:19:39]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700025313937 ВОДКА МЯГКАЯ 0,1л 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 194.00 НСП 1% : 1.72 НДС 12% : 20.60 Наличными: 194.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 40 21.10.2024 13:19 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24336 ФПД: 238327674203620 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T131941&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24336&fm=238327674203620&tin=02508201610067®Number=0000000000098120&sum=19400 0 [13:19:40]StoreToDocumentArchive [13:19:40]shift 461 fd 24336 [13:19:40]save to /storage/0461/doc_00024336 [13:19:40]save last doc name /storage/0461/doc_00024336 to /storage/kkm_last_doc_name [13:19:40]save OK [13:19:40]Clear old archive folders... [13:19:40]ProcessDocumentItem done err = 0, tmpTLVsize=381 [13:19:40]tlvbuf is 003618D0 [13:19:40]SAM_PROTO_ClearQueue [13:19:40]wFMCommunicate request_size=4 [13:19:40]MH_SAM_APDU [13:19:40]CAPDU: 80 09 00 00 [13:19:40]Write to MH i2c: E2 08 00 06 09 80 09 00 00 00 00 00 00 81 [13:19:40]Write i2c OK [13:19:40]MH_I2C_Read... [13:19:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:19:40]Read from MH i2c: E2 [13:19:40]MH_I2C_Read... [13:19:40]Read from MH i2c: E2 03 00 [13:19:40]MH_I2C_Read... [13:19:40]Read from MH i2c: E2 03 00 06 09 00 90 00 83 [13:19:40]RAPDU: 90 00 [13:19:40]wFMCommunicate OK [13:19:40]SAM_PROTO_ClearQueue done [13:19:40]KKMCreateOFDPacket [13:19:40]OFDProtocolAddRootSTLVToBuf [13:19:40]FM_MakeSignedData [13:19:40]FM_MakeSignedData [13:19:40]SAM_PROTO_SignData [13:19:40]wFMCommunicate request_size=4 [13:19:40]MH_SAM_APDU [13:19:40]CAPDU: 80 0D 01 02 [13:19:40]Write to MH i2c: E2 08 00 07 09 80 0D 01 02 00 00 00 00 89 [13:19:40]Write i2c OK [13:19:40]MH_I2C_Read... [13:19:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:19:41]Read from MH i2c: E2 [13:19:41]MH_I2C_Read... [13:19:41]Read from MH i2c: E2 03 00 [13:19:41]MH_I2C_Read... [13:19:41]Read from MH i2c: E2 03 00 07 09 00 90 00 84 [13:19:41]RAPDU: 90 00 [13:19:41]wFMCommunicate OK [13:19:41]wFMCommunicate request_size=255 [13:19:41]MH_SAM_APDU [13:19:41]CAPDU: 80 0D 02 02 FA 03 00 7D 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 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 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 [13:19:41]Write to MH i2c: E2 02 01 08 09 80 0D 02 02 FA 00 03 00 7D 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 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 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 85 [13:19:41]Write i2c OK [13:19:41]MH_I2C_Read... [13:19:41]OFD Sender: No OFD packet to send [13:19:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:19:41]Read from MH i2c: E2 [13:19:41]MH_I2C_Read... [13:19:41]Read from MH i2c: E2 03 00 [13:19:41]MH_I2C_Read... [13:19:41]Read from MH i2c: E2 03 00 08 09 00 90 00 85 [13:19:41]RAPDU: 90 00 [13:19:41]wFMCommunicate OK [13:19:41]wFMCommunicate request_size=140 [13:19:41]MH_SAM_APDU [13:19:41]CAPDU: 80 0D 02 02 87 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0C 08 00 00 00 00 07 04 06 00 C8 4B 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 ED 54 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 10 5F 00 00 35 04 06 00 D8 C1 FC 5C 6D E4 [13:19:41]Write to MH i2c: E2 8F 00 09 09 80 0D 02 02 87 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0C 08 00 00 00 00 07 04 06 00 C8 4B 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 ED 54 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 10 5F 00 00 35 04 06 00 D8 C1 FC 5C 6D E4 00 00 48 [13:19:41]Write i2c OK [13:19:41]MH_I2C_Read... [13:19:41]Read from MH i2c: E2 [13:19:41]MH_I2C_Read... [13:19:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:19:41]Read from MH i2c: E2 03 00 [13:19:41]MH_I2C_Read... [13:19:41]Read from MH i2c: E2 03 00 09 09 00 90 00 86 [13:19:41]RAPDU: 90 00 [13:19:41]wFMCommunicate OK [13:19:41]wFMCommunicate request_size=4 [13:19:41]MH_SAM_APDU [13:19:41]CAPDU: 80 0D 03 02 [13:19:41]Write to MH i2c: E2 08 00 0A 09 80 0D 03 02 00 00 00 00 8E [13:19:41]Write i2c OK [13:19:41]MH_I2C_Read... [13:19:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:19:41]Read from MH i2c: E2 [13:19:41]MH_I2C_Read... [13:19:41]Read from MH i2c: E2 0B 00 [13:19:41]MH_I2C_Read... [13:19:41]Read from MH i2c: E2 0B 00 0A 09 00 A8 89 D7 D2 E7 09 EF B2 90 00 FA [13:19:41]RAPDU: A8 89 D7 D2 E7 09 EF B2 90 00 [13:19:41]wFMCommunicate OK [13:19:41]SAM_PROTO_SignData done [13:19:41]FM_MakeSignedData done [13:19:41]CreateOFDProtocolMessage [13:19:41]wFMCommunicate request_size=4 [13:19:41]MH_SAM_APDU [13:19:41]CAPDU: 80 11 00 00 [13:19:41]Write to MH i2c: E2 08 00 0B 09 80 11 00 00 00 00 00 00 8E [13:19:41]Write i2c OK [13:19:41]MH_I2C_Read... [13:19:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:19:41]Read from MH i2c: E2 [13:19:41]MH_I2C_Read... [13:19:41]Read from MH i2c: E2 17 00 [13:19:41]MH_I2C_Read... [13:19:41]Read from MH i2c: E2 17 00 0B 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 DB [13:19:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:19:41]wFMCommunicate OK [13:19:41]CreateOFDProtocolMessage done [13:19:41]OFDSenderStorePacket 24336 [13:19:41]StoreOFDPacket docnum=24336 [13:19:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 91 01 00 00 9C F7 89 01 09 4A 5A 03 01 00 03 00 7D 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 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 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0C 08 00 00 00 00 07 04 06 00 C8 4B 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 ED 54 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 10 5F 00 00 35 04 06 00 D8 C1 FC 5C 6D E4 A8 89 D7 D2 E7 09 EF B2 [13:19:41]CheckFolder [13:19:41]dirname=/storage/ofd_packets [13:19:41]CheckFolder done [13:19:41]ProducePacketName [13:19:41]name=ofd_packets/00024336 [13:19:41]NVStorageSaveData ofd_packets/00024336 [13:19:41]File name is /storage/ofd_packets/00024336 [13:19:41]Write 431 bytes [13:19:41]NVStorageSaveData done [13:19:41]OFDSenderStorePacket done [13:19:41]KKMCreateOFDPacket done [13:19:41]NVStorageSaveData kkm_last_timestamp [13:19:41]File name is /storage/kkm_last_timestamp [13:19:41]Write 4 bytes [13:19:41]NVStorageSaveData done [13:19:41]ExternCall_PrintAddStr [13:19:41]wPrintStart [13:19:41]Write to MH i2c: 01 00 00 0C 09 15 [13:19:41]Write i2c OK [13:19:41]MH_I2C_Read... [13:19:41]Read from MH i2c: 01 [13:19:41]MH_I2C_Read... [13:19:41]Read from MH i2c: 01 07 00 [13:19:41]MH_I2C_Read... [13:19:41]Read from MH i2c: 01 07 00 0C 09 00 00 00 00 00 FF 0F 2A [13:19:41]RasterBufferAndPrint [13:19:41]line Счет N : (3)134857 [13:19:41]line ИНН: 02508201610067 [13:19:41]line Контрольно-Кассовый Чек [13:19:41]line ПРОДАЖА [13:19:41]line Товар: 48743396 [13:19:41]line Сигареты BOND STREET compact silver [13:19:41]line 1.000 * 134.00 [13:19:41]line = 134.00 [13:19:41]line НДС 12% НСП 1% [13:19:41]line > о реализуемом товаре [13:19:41]line Товар: 4700025313937 [13:19:41]line ВОДКА МЯГКАЯ 0,1л [13:19:41]line 1.000 * 60.00 [13:19:41]line = 60.00 [13:19:41]line НДС 12% НСП 1% [13:19:41]line > о реализуемом товаре [13:19:41]line ИТОГО: 194.00 [13:19:41]line НСП 1% : 1.72 [13:19:41]line НДС 12% : 20.60 [13:19:41]line Наличными: 194.00 [13:19:41]line Безнал.: 0.00 [13:19:41]line Место: АЗС № 85 "Партнер Нефть" [13:19:41]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [13:19:41]line СНО: Общий режим [13:19:41]line Чек 40 21.10.2024 13:19 [13:19:41]line Смена: 461 ФФД: 1.0 [13:19:41]line ЗНМ: 0300000166 [13:19:41]line РНМ: 0000000000098120 [13:19:41]line Версия ККМ: 001 [13:19:41]line ФМ: 0000000000965420 [13:19:41]line ФД: 24336 [13:19:41]line ФПД: 238327674203620 [13:19:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T131941&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24336&fm=238327674203620&tin=02508201610067®Number=0000000000098120&sum=19400 [13:19:41]line 0 [13:19:41]OFD Sender: Processing packet 24336 [packets to send 5, broken 4] [13:19:41]ProducePacketName [13:19:41]name=ofd_packets/00024336 [13:19:41]OFD Sender: To server: pG, [13:19:41]CommunicateWithHost lk.salyk.kg:30040 [13:19:41]ConnectInit lk.salyk.kg [13:19:41]written 0, free lines is 4095 [13:19:42]Connected sock=10 [13:19: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 34 32 30 91 01 00 00 9C F7 89 01 09 4A 5A 03 01 00 03 00 7D 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 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 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0C 08 00 00 00 00 07 04 06 00 C8 4B 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 ED 54 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 10 5F 00 00 35 04 06 00 D8 C1 FC 5C 6D E4 A8 89 D7 D2 E7 09 EF B2 [13:19:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 20 31 47 00 29 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 34 32 30 10 04 04 00 10 5F 00 00 F4 03 04 00 94 00 16 67 B6 04 01 00 00 BE 79 C0 E4 6E FF 81 B2 [13:19:42]CommunicateWithHost err = 0 [13:19:42]CheckOFDResponse [13:19:42]1017 (14) - 77093643461234 [13:19:42]1041 (16) - 0000000000965420 [13:19:42]1040 (4) - 24336 [13:19:42]1012 (4) - 21.10.2024 07:19 [13:19:42]1206 (1) - 0 [13:19:42]OFD Sender: Remove packet 24336 [13:19:42]ProducePacketName [13:19:42]name=ofd_packets/00024336 [13:19:42]NVStorageDeleteData [13:19:42]Write to MH i2c: 01 00 00 3B 09 44 [13:19:42]Write i2c OK [13:19:42]MH_I2C_Read... [13:19:42]Read from MH i2c: 01 [13:19:42]MH_I2C_Read... [13:19:42]Read from MH i2c: 01 07 00 [13:19:42]MH_I2C_Read... [13:19:42]Read from MH i2c: 01 07 00 3B 09 00 00 00 00 00 C3 0C 1A [13:19:42]RasterBufferAndPrint [13:19:42]line [13:19:42]line [13:19:42]line [13:19:42]line [13:19:42]line [13:19:42]written 0, free lines is 3275 [13:19:42]process_action close_receipt done [13:19:42]requested_data is exist [13:19:42]produce_requested_data [13:19:42]requested_item fm.sn is exist - process it [13:19:42]wFMCommunicate request_size=4 [13:19:42]MH_SAM_APDU [13:19:42]CAPDU: 80 11 00 00 [13:19:42]Write to MH i2c: E2 08 00 42 09 80 11 00 00 00 00 00 00 C5 [13:19:42]Write i2c OK [13:19:42]MH_I2C_Read... [13:19:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:19:42]Read from MH i2c: E2 [13:19:42]MH_I2C_Read... [13:19:42]Read from MH i2c: E2 17 00 [13:19:42]MH_I2C_Read... [13:19:42]Read from MH i2c: E2 17 00 42 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 12 [13:19:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:19:42]wFMCommunicate OK [13:19:42]requested_item fd.num is exist - process it [13:19:42]SAM_PROTO_GetFieldsCounters [13:19:42]wFMCommunicate request_size=4 [13:19:42]MH_SAM_APDU [13:19:42]CAPDU: 80 13 00 00 [13:19:42]Write to MH i2c: E2 08 00 43 09 80 13 00 00 00 00 00 00 C8 [13:19:42]Write i2c OK [13:19:42]MH_I2C_Read... [13:19:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:19:42]Read from MH i2c: E2 [13:19:42]MH_I2C_Read... [13:19:42]Read from MH i2c: E2 62 00 [13:19:42]MH_I2C_Read... [13:19:42]Read from MH i2c: E2 62 00 43 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 10 5F 00 00 0E 04 04 00 CD 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 93 [13: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 10 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:19:42]wFMCommunicate OK [13:19:42]SAM_PROTO_GetFieldsCounters done [13:19:42]requested_item shift.num is exist - process it [13:19:42]requested_item shift.opened is exist - process it [13:19:42]req_shift_opened [13:19:42]FM_GetShiftState [13:19:42]SAM_PROTO_GetShiftState [13:19:42]wFMCommunicate request_size=4 [13:19:42]MH_SAM_APDU [13:19:42]CAPDU: 80 13 01 00 [13:19:42]Write to MH i2c: E2 08 00 44 09 80 13 01 00 00 00 00 00 CA [13:19:42]Write i2c OK [13:19:42]MH_I2C_Read... [13:19:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:19:42]Read from MH i2c: E2 [13:19:42]MH_I2C_Read... [13:19:42]Read from MH i2c: E2 0E 00 [13:19:42]MH_I2C_Read... [13:19:42]Read from MH i2c: E2 0E 00 44 09 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 14 [13:19:42]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [13:19:42]wFMCommunicate OK [13:19:42]SAM_PROTO_GetShiftState done [13:19:42]FM_GetShiftState done [13:19:42]req_shift_opened done [13:19:42]requested_item shift.open_date is exist - process it [13:19:42]req_shift_open_date [13:19:42]req_shift_open_date done [13:19:42]produce_requested_data done [13:19:42]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24336,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [13:19:42]process_action_free close_receipt [13:19:42]json_value_free [13:19:42]json_value_free done [13:19:42]process_json_proto returns [13:19:42]Send response to host [13:19:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24336,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [13:19:42]free response buf [13:19:42]execute_script done [13:19:42]execute_script returns [13:19:42]free content buf [13:19:42]Sock 9.Close socket [13:19:42]Sock 9.Thread stoped [13:19:42]OFD Sender: No OFD packet to send [13:19:47]OFD Sender: No OFD packet to send [13:19:52]OFD Sender: No OFD packet to send [13:19:57]OFD Sender: No OFD packet to send [13:20:02]OFD Sender: No OFD packet to send [13:20:07]OFD Sender: No OFD packet to send [13:20:12]OFD Sender: No OFD packet to send [13:20:17]OFD Sender: No OFD packet to send [13:20:22]OFD Sender: No OFD packet to send [13:20:27]OFD Sender: No OFD packet to send [13:20:32]OFD Sender: No OFD packet to send [13:20:37]OFD Sender: No OFD packet to send [13:20:42]OFD Sender: No OFD packet to send [13:20:47]OFD Sender: No OFD packet to send [13:20:52]OFD Sender: No OFD packet to send [13:20:57]OFD Sender: No OFD packet to send [13:21:02]OFD Sender: No OFD packet to send [13:21:07]OFD Sender: No OFD packet to send [13:21:12]OFD Sender: No OFD packet to send [13:21:17]OFD Sender: No OFD packet to send [13:21:22]OFD Sender: No OFD packet to send [13:21:27]OFD Sender: No OFD packet to send [13:21:32]OFD Sender: No OFD packet to send [13:21:37]OFD Sender: No OFD packet to send [13:21:42]OFD Sender: No OFD packet to send [13:21:47]OFD Sender: No OFD packet to send [13:21:52]OFD Sender: No OFD packet to send [13:21:57]OFD Sender: No OFD packet to send [13:22:02]OFD Sender: No OFD packet to send [13:22:07]OFD Sender: No OFD packet to send [13:22:12]OFD Sender: No OFD packet to send [13:22:17]OFD Sender: No OFD packet to send [13:22:22]OFD Sender: No OFD packet to send [13:22:27]OFD Sender: No OFD packet to send [13:22:32]OFD Sender: No OFD packet to send [13:22:37]OFD Sender: No OFD packet to send [13:22:42]OFD Sender: No OFD packet to send [13:22:47]OFD Sender: No OFD packet to send [13:22:52]OFD Sender: No OFD packet to send [13:22:57]OFD Sender: No OFD packet to send [13:23:02]OFD Sender: No OFD packet to send [13:23:07]OFD Sender: No OFD packet to send [13:23:12]OFD Sender: No OFD packet to send [13:23:17]OFD Sender: No OFD packet to send [13:23:22]OFD Sender: No OFD packet to send [13:23:27]OFD Sender: No OFD packet to send [13:23:32]OFD Sender: No OFD packet to send [13:23:37]OFD Sender: No OFD packet to send [13:23:42]OFD Sender: No OFD packet to send [13:23:47]OFD Sender: No OFD packet to send [13:23:52]OFD Sender: No OFD packet to send [13:23:57]OFD Sender: No OFD packet to send [13:24:02]OFD Sender: No OFD packet to send [13:24:07]OFD Sender: No OFD packet to send [13:24:12]OFD Sender: No OFD packet to send [13:24:17]OFD Sender: No OFD packet to send [13:24:22]OFD Sender: No OFD packet to send [13:24:27]OFD Sender: No OFD packet to send [13:24:32]OFD Sender: No OFD packet to send [13:24:37]OFD Sender: No OFD packet to send [13:24:42]OFD Sender: No OFD packet to send [13:24:47]OFD Sender: No OFD packet to send [13:24:52]OFD Sender: No OFD packet to send [13:24:57]OFD Sender: No OFD packet to send [13:25:03]OFD Sender: No OFD packet to send [13:25:08]OFD Sender: No OFD packet to send [13:25:13]OFD Sender: No OFD packet to send [13:25:18]OFD Sender: No OFD packet to send [13:25:23]OFD Sender: No OFD packet to send [13:25:28]OFD Sender: No OFD packet to send [13:25:33]OFD Sender: No OFD packet to send [13:25:38]OFD Sender: No OFD packet to send [13:25:43]OFD Sender: No OFD packet to send [13:25:48]OFD Sender: No OFD packet to send [13:25:53]OFD Sender: No OFD packet to send [13:25:58]OFD Sender: No OFD packet to send [13:26:03]OFD Sender: No OFD packet to send [13:26:08]OFD Sender: No OFD packet to send [13:26:13]OFD Sender: No OFD packet to send [13:26:18]OFD Sender: No OFD packet to send [13:26:23]OFD Sender: No OFD packet to send [13:26:28]OFD Sender: No OFD packet to send [13:26:33]OFD Sender: No OFD packet to send [13:26:38]OFD Sender: No OFD packet to send [13:26:43]OFD Sender: No OFD packet to send [13:26:48]OFD Sender: No OFD packet to send [13:26:53]OFD Sender: No OFD packet to send [13:26:58]OFD Sender: No OFD packet to send [13:27:03]OFD Sender: No OFD packet to send [13:27:08]OFD Sender: No OFD packet to send [13:27:13]OFD Sender: No OFD packet to send [13:27:18]OFD Sender: No OFD packet to send [13:27:23]OFD Sender: No OFD packet to send [13:27:28]OFD Sender: No OFD packet to send [13:27:33]OFD Sender: No OFD packet to send [13:27:38]OFD Sender: No OFD packet to send [13:27:43]OFD Sender: No OFD packet to send [13:27:48]OFD Sender: No OFD packet to send [13:27:53]OFD Sender: No OFD packet to send [13:27:58]OFD Sender: No OFD packet to send [13:28:03]OFD Sender: No OFD packet to send [13:28:08]OFD Sender: No OFD packet to send [13:28:13]OFD Sender: No OFD packet to send [13:28:18]OFD Sender: No OFD packet to send [13:28:23]OFD Sender: No OFD packet to send [13:28:28]OFD Sender: No OFD packet to send [13:28:33]OFD Sender: No OFD packet to send [13:28:38]OFD Sender: No OFD packet to send [13:28:43]OFD Sender: No OFD packet to send [13:28:48]OFD Sender: No OFD packet to send [13:28:53]OFD Sender: No OFD packet to send [13:28:58]OFD Sender: No OFD packet to send [13:29:03]OFD Sender: No OFD packet to send [13:29:08]OFD Sender: No OFD packet to send [13:29:13]OFD Sender: No OFD packet to send [13:29:18]OFD Sender: No OFD packet to send [13:29:23]OFD Sender: No OFD packet to send [13:29:28]OFD Sender: No OFD packet to send [13:29:33]OFD Sender: No OFD packet to send [13:29:38]OFD Sender: No OFD packet to send [13:29:43]OFD Sender: No OFD packet to send [13:29:48]OFD Sender: No OFD packet to send [13:29:53]OFD Sender: No OFD packet to send [13:29:58]OFD Sender: No OFD packet to send [13:30:03]OFD Sender: No OFD packet to send [13:30:08]OFD Sender: No OFD packet to send [13:30:13]OFD Sender: No OFD packet to send [13:30:18]OFD Sender: No OFD packet to send [13:30:23]OFD Sender: No OFD packet to send [13:30:28]OFD Sender: No OFD packet to send [13:30:33]OFD Sender: No OFD packet to send [13:30:38]OFD Sender: No OFD packet to send [13:30:43]OFD Sender: No OFD packet to send [13:30:48]OFD Sender: No OFD packet to send [13:30:53]OFD Sender: No OFD packet to send [13:30:58]OFD Sender: No OFD packet to send [13:31:03]OFD Sender: No OFD packet to send [13:31:08]OFD Sender: No OFD packet to send [13:31:13]OFD Sender: No OFD packet to send [13:31:18]OFD Sender: No OFD packet to send [13:31:23]OFD Sender: No OFD packet to send [13:31:28]OFD Sender: No OFD packet to send [13:31:33]OFD Sender: No OFD packet to send [13:31:38]OFD Sender: No OFD packet to send [13:31:43]OFD Sender: No OFD packet to send [13:31:48]OFD Sender: No OFD packet to send [13:31:53]OFD Sender: No OFD packet to send [13:31:58]OFD Sender: No OFD packet to send [13:32:03]OFD Sender: No OFD packet to send [13:32:08]OFD Sender: No OFD packet to send [13:32:13]OFD Sender: No OFD packet to send [13:32:18]OFD Sender: No OFD packet to send [13:32:23]OFD Sender: No OFD packet to send [13:32:28]OFD Sender: No OFD packet to send [13:32:33]OFD Sender: No OFD packet to send [13:32:38]OFD Sender: No OFD packet to send [13:32:43]OFD Sender: No OFD packet to send [13:32:48]OFD Sender: No OFD packet to send [13:32:53]OFD Sender: No OFD packet to send [13:32:58]OFD Sender: No OFD packet to send [13:33:03]OFD Sender: No OFD packet to send [13:33:08]OFD Sender: No OFD packet to send [13:33:13]OFD Sender: No OFD packet to send [13:33:18]OFD Sender: No OFD packet to send [13:33:23]OFD Sender: No OFD packet to send [13:33:28]OFD Sender: No OFD packet to send [13:33:33]OFD Sender: No OFD packet to send [13:33:38]OFD Sender: No OFD packet to send [13:33:43]OFD Sender: No OFD packet to send [13:33:48]OFD Sender: No OFD packet to send [13:33:53]OFD Sender: No OFD packet to send [13:33:58]OFD Sender: No OFD packet to send [13:34:03]OFD Sender: No OFD packet to send [13:34:08]OFD Sender: No OFD packet to send [13:34:13]OFD Sender: No OFD packet to send [13:34:18]OFD Sender: No OFD packet to send [13:34:23]OFD Sender: No OFD packet to send [13:34:28]OFD Sender: No OFD packet to send [13:34:33]OFD Sender: No OFD packet to send [13:34:38]OFD Sender: No OFD packet to send [13:34:43]OFD Sender: No OFD packet to send [13:34:48]OFD Sender: No OFD packet to send [13:34:53]OFD Sender: No OFD packet to send [13:34:58]OFD Sender: No OFD packet to send [13:35:03]OFD Sender: No OFD packet to send [13:35:08]OFD Sender: No OFD packet to send [13:35:13]OFD Sender: No OFD packet to send [13:35:18]OFD Sender: No OFD packet to send [13:35:23]OFD Sender: No OFD packet to send [13:35:28]OFD Sender: No OFD packet to send [13:35:33]OFD Sender: No OFD packet to send [13:35:38]OFD Sender: No OFD packet to send [13:35:43]OFD Sender: No OFD packet to send [13:35:48]OFD Sender: No OFD packet to send [13:35:53]OFD Sender: No OFD packet to send [13:35:56]accept exits with 8 [13:35:56]New connection [13:35:56]New thread 3067084132 created [13:35:56]Thread 3066940772 joined [13:35:56]Waiting for new connection... [13:35:56] Sock 8.Parse request [13:35:56]Sock 8.Check first char [13:35:56]Sock 8.First char is OK [13:35:56]request: POST /json_proto HTTP/1.0 [13:35:56]Method: POST [13:35:56]URL: /json_proto [13:35:56]Method is POST - this is cgi request [13:35:56]url: /json_proto [13:35:56]query_string will be loaded in cgi processing [13:35:56]execute_cgi json_proto POST (null) [13:35:56]execute_cgi path=json_proto method=POST [13:35:56]POST find Content-Length [13:35:56]Host: 172.17.50.4:8080 [13:35:56]Content-Length: 751 [13:35:56]Content-Type: application/json [13:35:56] [13:35:56]POST finish read [13:35:56]Found Content-Length = 751 [13:35:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134858", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.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" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:35:56]execute_script... [13:35: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)134858", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.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" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:35:56]POST & json_proto [13:35:56]process_json_proto [13:35:56]json parsed OK: [13:35:56]protocol is kg_v1.0 [13:35:56]action value=close_receipt [13:35:56]process_action close_receipt [13:35:56]cmd_close_receipt [13:35:56]MH_GetDate [13:35:56]Write to MH i2c: F0 00 00 45 09 3D [13:35:56]Write i2c OK [13:35:56]MH_I2C_Read... [13:35:56]Read from MH i2c: F0 [13:35:56]MH_I2C_Read... [13:35:56]Read from MH i2c: F0 09 00 [13:35:56]MH_I2C_Read... [13:35:56]Read from MH i2c: F0 09 00 45 09 00 BE 58 16 67 3B 12 16 67 A3 [13:35:56]GetLastDocTimeStamp 1729516781 [13:35:56]current date 1729517758 [13:35:56]FM_GetShiftState [13:35:56]SAM_PROTO_GetShiftState [13:35:56]wFMCommunicate request_size=4 [13:35:56]MH_SAM_APDU [13:35:56]CAPDU: 80 13 01 00 [13:35:56]Write to MH i2c: E2 08 00 46 09 80 13 01 00 00 00 00 00 CC [13:35:56]Write i2c OK [13:35:56]MH_I2C_Read... [13:35:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:35:56]Read from MH i2c: E2 [13:35:56]MH_I2C_Read... [13:35:56]Read from MH i2c: E2 0E 00 [13:35:56]MH_I2C_Read... [13:35:56]Read from MH i2c: E2 0E 00 46 09 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 16 [13:35:56]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [13:35:56]wFMCommunicate OK [13:35:56]SAM_PROTO_GetShiftState done [13:35:56]FM_GetShiftState done [13:35:56]opened in 1729469223 [13:35:56]opened+sec_in_day 1729555623 [13:35:56]quantity*price = 16000 [13:35:56]sum+1 = 16001 [13:35:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.42 НДС 12% : 16.99 Наличными: 0.00 Безнал.: 160.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 41 21.10.2024 13:35 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24337 ФПД: 115615345682505 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T133558&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24337&fm=115615345682505&tin=02508201610067®Number=0000000000098120&sum=16000 0 [13:35:57]StoreToDocumentArchive [13:35:57]shift 461 fd 24337 [13:35:57]save to /storage/0461/doc_00024337 [13:35:57]save last doc name /storage/0461/doc_00024337 to /storage/kkm_last_doc_name [13:35:57]save OK [13:35:57]Clear old archive folders... [13:35:57]ProcessDocumentItem done err = 0, tmpTLVsize=276 [13:35:57]tlvbuf is 00365250 [13:35:57]SAM_PROTO_ClearQueue [13:35:57]wFMCommunicate request_size=4 [13:35:57]MH_SAM_APDU [13:35:57]CAPDU: 80 09 00 00 [13:35:57]Write to MH i2c: E2 08 00 53 09 80 09 00 00 00 00 00 00 CE [13:35:57]Write i2c OK [13:35:57]MH_I2C_Read... [13:35:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:35:57]Read from MH i2c: E2 [13:35:57]MH_I2C_Read... [13:35:57]Read from MH i2c: E2 03 00 [13:35:57]MH_I2C_Read... [13:35:57]Read from MH i2c: E2 03 00 53 09 00 90 00 D0 [13:35:57]RAPDU: 90 00 [13:35:57]wFMCommunicate OK [13:35:57]SAM_PROTO_ClearQueue done [13:35:57]KKMCreateOFDPacket [13:35:57]OFDProtocolAddRootSTLVToBuf [13:35:57]FM_MakeSignedData [13:35:57]FM_MakeSignedData [13:35:57]SAM_PROTO_SignData [13:35:57]wFMCommunicate request_size=4 [13:35:57]MH_SAM_APDU [13:35:57]CAPDU: 80 0D 01 02 [13:35:57]Write to MH i2c: E2 08 00 54 09 80 0D 01 02 00 00 00 00 D6 [13:35:57]Write i2c OK [13:35:57]MH_I2C_Read... [13:35:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:35:57]Read from MH i2c: E2 [13:35:57]MH_I2C_Read... [13:35:57]Read from MH i2c: E2 03 00 [13:35:57]MH_I2C_Read... [13:35:57]Read from MH i2c: E2 03 00 54 09 00 90 00 D1 [13:35:57]RAPDU: 90 00 [13:35:57]wFMCommunicate OK [13:35:57]wFMCommunicate request_size=255 [13:35:57]MH_SAM_APDU [13:35:57]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 00 00 00 00 39 04 06 00 80 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 BE 58 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 [13:35:57]Write to MH i2c: E2 02 01 55 09 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 00 00 00 00 39 04 06 00 80 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 BE 58 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 00 00 35 [13:35:57]Write i2c OK [13:35:57]MH_I2C_Read... [13:35:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:35:57]Read from MH i2c: E2 [13:35:57]MH_I2C_Read... [13:35:57]Read from MH i2c: E2 03 00 [13:35:57]MH_I2C_Read... [13:35:57]Read from MH i2c: E2 03 00 55 09 00 90 00 D2 [13:35:57]RAPDU: 90 00 [13:35:57]wFMCommunicate OK [13:35:57]wFMCommunicate request_size=35 [13:35:57]MH_SAM_APDU [13:35:57]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 11 5F 00 00 35 04 06 00 69 26 CB 9C 28 49 [13:35:57]Write to MH i2c: E2 26 00 56 09 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 11 5F 00 00 35 04 06 00 69 26 CB 9C 28 49 00 00 9D [13:35:57]Write i2c OK [13:35:57]MH_I2C_Read... [13:35:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:35:57]Read from MH i2c: E2 [13:35:57]MH_I2C_Read... [13:35:57]Read from MH i2c: E2 03 00 [13:35:57]MH_I2C_Read... [13:35:57]Read from MH i2c: E2 03 00 56 09 00 90 00 D3 [13:35:57]RAPDU: 90 00 [13:35:57]wFMCommunicate OK [13:35:57]wFMCommunicate request_size=4 [13:35:57]MH_SAM_APDU [13:35:57]CAPDU: 80 0D 03 02 [13:35:57]Write to MH i2c: E2 08 00 57 09 80 0D 03 02 00 00 00 00 DB [13:35:57]Write i2c OK [13:35:57]MH_I2C_Read... [13:35:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:35:58]Read from MH i2c: E2 [13:35:58]MH_I2C_Read... [13:35:58]Read from MH i2c: E2 0B 00 [13:35:58]MH_I2C_Read... [13:35:58]Read from MH i2c: E2 0B 00 57 09 00 AF 2D 36 88 AF 43 F9 31 90 00 92 [13:35:58]RAPDU: AF 2D 36 88 AF 43 F9 31 90 00 [13:35:58]wFMCommunicate OK [13:35:58]SAM_PROTO_SignData done [13:35:58]FM_MakeSignedData done [13:35:58]CreateOFDProtocolMessage [13:35:58]wFMCommunicate request_size=4 [13:35:58]MH_SAM_APDU [13:35:58]CAPDU: 80 11 00 00 [13:35:58]Write to MH i2c: E2 08 00 58 09 80 11 00 00 00 00 00 00 DB [13:35:58]Write i2c OK [13:35:58]MH_I2C_Read... [13:35:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:35:58]Read from MH i2c: E2 [13:35:58]MH_I2C_Read... [13:35:58]Read from MH i2c: E2 17 00 [13:35:58]MH_I2C_Read... [13:35:58]Read from MH i2c: E2 17 00 58 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 28 [13:35:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:35:58]wFMCommunicate OK [13:35:58]CreateOFDProtocolMessage done [13:35:58]OFDSenderStorePacket 24337 [13:35:58]StoreOFDPacket docnum=24337 [13:35:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 28 01 00 00 BB 5F 20 01 DD 96 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 00 00 00 00 39 04 06 00 80 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 BE 58 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 11 5F 00 00 35 04 06 00 69 26 CB 9C 28 49 AF 2D 36 88 AF 43 F9 31 [13:35:58]CheckFolder [13:35:58]dirname=/storage/ofd_packets [13:35:58]CheckFolder done [13:35:58]ProducePacketName [13:35:58]name=ofd_packets/00024337 [13:35:58]NVStorageSaveData ofd_packets/00024337 [13:35:58]File name is /storage/ofd_packets/00024337 [13:35:58]Write 326 bytes [13:35:58]NVStorageSaveData done [13:35:58]OFDSenderStorePacket done [13:35:58]KKMCreateOFDPacket done [13:35:58]NVStorageSaveData kkm_last_timestamp [13:35:58]File name is /storage/kkm_last_timestamp [13:35:58]Write 4 bytes [13:35:58]NVStorageSaveData done [13:35:58]ExternCall_PrintAddStr [13:35:58]wPrintStart [13:35:58]Write to MH i2c: 01 00 00 59 09 62 [13:35:58]Write i2c OK [13:35:58]MH_I2C_Read... [13:35:58]Read from MH i2c: 01 [13:35:58]MH_I2C_Read... [13:35:58]Read from MH i2c: 01 07 00 [13:35:58]MH_I2C_Read... [13:35:58]Read from MH i2c: 01 07 00 59 09 00 00 00 00 00 FF 0F 77 [13:35:58]RasterBufferAndPrint [13:35:58]line Счет N : (3)134858 [13:35:58]line ИНН: 02508201610067 [13:35:58]line Контрольно-Кассовый Чек [13:35:58]line ПРОДАЖА [13:35:58]line Товар: 48742245 [13:35:58]line Сигареты Parliament Silver Blue [13:35:58]line 1.000 * 160.00 [13:35:58]line = 160.00 [13:35:58]line НДС 12% НСП 1% [13:35:58]line > о реализуемом товаре [13:35:58]line ИТОГО: 160.00 [13:35:58]line НСП 1% : 1.42 [13:35:58]line НДС 12% : 16.99 [13:35:58]line Наличными: 0.00 [13:35:58]line Безнал.: 160.00 [13:35:58]line Место: АЗС № 85 "Партнер Нефть" [13:35:58]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [13:35:58]line СНО: Общий режим [13:35:58]line Чек 41 21.10.2024 13:35 [13:35:58]line Смена: 461 ФФД: 1.0 [13:35:58]line ЗНМ: 0300000166 [13:35:58]line РНМ: 0000000000098120 [13:35:58]line Версия ККМ: 001 [13:35:58]line Платежная система: Mbank [13:35:58]line ФМ: 0000000000965420 [13:35:58]line ФД: 24337 [13:35:58]line ФПД: 115615345682505 [13:35:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T133558&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24337&fm=115615345682505&tin=02508201610067®Number=0000000000098120&sum=16000 [13:35:58]OFD Sender: Processing packet 24337 [packets to send 5, broken 4] [13:35:58]ProducePacketName [13:35:58]name=ofd_packets/00024337 [13:35:58]OFD Sender: To server: pG, [13:35:58]CommunicateWithHost lk.salyk.kg:30040 [13:35:58]ConnectInit lk.salyk.kg [13:35:58]line 0 [13:35:58]written 0, free lines is 4095 [13:35:58]Connected sock=11 [13:35: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 34 32 30 28 01 00 00 BB 5F 20 01 DD 96 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 00 00 00 00 39 04 06 00 80 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 BE 58 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 11 5F 00 00 35 04 06 00 69 26 CB 9C 28 49 AF 2D 36 88 AF 43 F9 31 [13:35:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 96 17 47 00 D3 84 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 11 5F 00 00 F4 03 04 00 64 04 16 67 B6 04 01 00 00 11 49 E2 D8 0C A5 42 FC [13:35:58]CommunicateWithHost err = 0 [13:35:58]CheckOFDResponse [13:35:58]1017 (14) - 77093643461234 [13:35:58]1041 (16) - 0000000000965420 [13:35:58]1040 (4) - 24337 [13:35:58]1012 (4) - 21.10.2024 07:36 [13:35:58]1206 (1) - 0 [13:35:58]OFD Sender: Remove packet 24337 [13:35:58]ProducePacketName [13:35:58]name=ofd_packets/00024337 [13:35:58]NVStorageDeleteData [13:35:58]Write to MH i2c: 01 00 00 83 09 8C [13:35:58]Write i2c OK [13:35:58]MH_I2C_Read... [13:35:58]Read from MH i2c: 01 [13:35:58]MH_I2C_Read... [13:35:58]Read from MH i2c: 01 07 00 [13:35:58]MH_I2C_Read... [13:35:58]Read from MH i2c: 01 07 00 83 09 00 00 00 00 00 01 0D A1 [13:35:58]RasterBufferAndPrint [13:35:58]line [13:35:58]line [13:35:58]line [13:35:58]line [13:35:58]line [13:35:58]written 0, free lines is 3335 [13:35:58]process_action close_receipt done [13:35:58]requested_data is exist [13:35:58]produce_requested_data [13:35:58]requested_item fm.sn is exist - process it [13:35:58]wFMCommunicate request_size=4 [13:35:58]MH_SAM_APDU [13:35:58]CAPDU: 80 11 00 00 [13:35:58]Write to MH i2c: E2 08 00 8A 09 80 11 00 00 00 00 00 00 0D [13:35:58]Write i2c OK [13:35:58]MH_I2C_Read... [13:35:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:35:58]Read from MH i2c: E2 [13:35:58]MH_I2C_Read... [13:35:58]Read from MH i2c: E2 17 00 [13:35:58]MH_I2C_Read... [13:35:58]Read from MH i2c: E2 17 00 8A 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 5A [13:35:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:35:58]wFMCommunicate OK [13:35:58]requested_item fd.num is exist - process it [13:35:58]SAM_PROTO_GetFieldsCounters [13:35:58]wFMCommunicate request_size=4 [13:35:58]MH_SAM_APDU [13:35:58]CAPDU: 80 13 00 00 [13:35:58]Write to MH i2c: E2 08 00 8B 09 80 13 00 00 00 00 00 00 10 [13:35:58]Write i2c OK [13:35:58]MH_I2C_Read... [13:35:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:35:59]Read from MH i2c: E2 [13:35:59]MH_I2C_Read... [13:35:59]Read from MH i2c: E2 62 00 [13:35:59]MH_I2C_Read... [13:35:59]Read from MH i2c: E2 62 00 8B 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 11 5F 00 00 0E 04 04 00 CD 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 DF [13:35: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 11 5F 00 00 0E 04 04 00 CD 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 [13:35:59]wFMCommunicate OK [13:35:59]SAM_PROTO_GetFieldsCounters done [13:35:59]requested_item shift.num is exist - process it [13:35:59]requested_item shift.opened is exist - process it [13:35:59]req_shift_opened [13:35:59]FM_GetShiftState [13:35:59]SAM_PROTO_GetShiftState [13:35:59]wFMCommunicate request_size=4 [13:35:59]MH_SAM_APDU [13:35:59]CAPDU: 80 13 01 00 [13:35:59]Write to MH i2c: E2 08 00 8C 09 80 13 01 00 00 00 00 00 12 [13:35:59]Write i2c OK [13:35:59]MH_I2C_Read... [13:35:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:35:59]Read from MH i2c: E2 [13:35:59]MH_I2C_Read... [13:35:59]Read from MH i2c: E2 0E 00 [13:35:59]MH_I2C_Read... [13:35:59]Read from MH i2c: E2 0E 00 8C 09 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 5C [13:35:59]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [13:35:59]wFMCommunicate OK [13:35:59]SAM_PROTO_GetShiftState done [13:35:59]FM_GetShiftState done [13:35:59]req_shift_opened done [13:35:59]requested_item shift.open_date is exist - process it [13:35:59]req_shift_open_date [13:35:59]req_shift_open_date done [13:35:59]produce_requested_data done [13:35:59]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24337,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [13:35:59]process_action_free close_receipt [13:35:59]json_value_free [13:35:59]json_value_free done [13:35:59]process_json_proto returns [13:35:59]Send response to host [13:35:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24337,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [13:35:59]free response buf [13:35:59]execute_script done [13:35:59]execute_script returns [13:35:59]free content buf [13:35:59]Sock 8.Close socket [13:35:59]Sock 8.Thread stoped [13:35:59]OFD Sender: No OFD packet to send [13:36:04]OFD Sender: No OFD packet to send [13:36:09]OFD Sender: No OFD packet to send [13:36:14]OFD Sender: No OFD packet to send [13:36:19]OFD Sender: No OFD packet to send [13:36:24]OFD Sender: No OFD packet to send [13:36:29]OFD Sender: No OFD packet to send [13:36:34]OFD Sender: No OFD packet to send [13:36:39]OFD Sender: No OFD packet to send [13:36:44]OFD Sender: No OFD packet to send [13:36:49]OFD Sender: No OFD packet to send [13:36:54]OFD Sender: No OFD packet to send [13:36:59]OFD Sender: No OFD packet to send [13:37:04]OFD Sender: No OFD packet to send [13:37:09]OFD Sender: No OFD packet to send [13:37:14]OFD Sender: No OFD packet to send [13:37:19]OFD Sender: No OFD packet to send [13:37:24]OFD Sender: No OFD packet to send [13:37:29]OFD Sender: No OFD packet to send [13:37:34]OFD Sender: No OFD packet to send [13:37:39]OFD Sender: No OFD packet to send [13:37:44]OFD Sender: No OFD packet to send [13:37:49]OFD Sender: No OFD packet to send [13:37:54]OFD Sender: No OFD packet to send [13:37:59]OFD Sender: No OFD packet to send [13:38:04]OFD Sender: No OFD packet to send [13:38:09]OFD Sender: No OFD packet to send [13:38:14]OFD Sender: No OFD packet to send [13:38:19]OFD Sender: No OFD packet to send [13:38:24]OFD Sender: No OFD packet to send [13:38:29]OFD Sender: No OFD packet to send [13:38:34]OFD Sender: No OFD packet to send [13:38:39]OFD Sender: No OFD packet to send [13:38:44]OFD Sender: No OFD packet to send [13:38:49]OFD Sender: No OFD packet to send [13:38:54]OFD Sender: No OFD packet to send [13:38:59]OFD Sender: No OFD packet to send [13:39:04]OFD Sender: No OFD packet to send [13:39:09]OFD Sender: No OFD packet to send [13:39:14]OFD Sender: No OFD packet to send [13:39:19]OFD Sender: No OFD packet to send [13:39:24]OFD Sender: No OFD packet to send [13:39:29]OFD Sender: No OFD packet to send [13:39:34]OFD Sender: No OFD packet to send [13:39:39]OFD Sender: No OFD packet to send [13:39:44]OFD Sender: No OFD packet to send [13:39:49]OFD Sender: No OFD packet to send [13:39:54]OFD Sender: No OFD packet to send [13:39:59]OFD Sender: No OFD packet to send [13:40:04]OFD Sender: No OFD packet to send [13:40:09]OFD Sender: No OFD packet to send [13:40:14]OFD Sender: No OFD packet to send [13:40:19]OFD Sender: No OFD packet to send [13:40:24]OFD Sender: No OFD packet to send [13:40:29]OFD Sender: No OFD packet to send [13:40:34]OFD Sender: No OFD packet to send [13:40:39]OFD Sender: No OFD packet to send [13:40:44]OFD Sender: No OFD packet to send [13:40:49]OFD Sender: No OFD packet to send [13:40:54]OFD Sender: No OFD packet to send [13:40:59]OFD Sender: No OFD packet to send [13:41:04]OFD Sender: No OFD packet to send [13:41:09]OFD Sender: No OFD packet to send [13:41:14]OFD Sender: No OFD packet to send [13:41:19]OFD Sender: No OFD packet to send [13:41:24]OFD Sender: No OFD packet to send [13:41:29]OFD Sender: No OFD packet to send [13:41:34]OFD Sender: No OFD packet to send [13:41:39]OFD Sender: No OFD packet to send [13:41:44]OFD Sender: No OFD packet to send [13:41:49]OFD Sender: No OFD packet to send [13:41:54]OFD Sender: No OFD packet to send [13:41:59]OFD Sender: No OFD packet to send [13:42:04]OFD Sender: No OFD packet to send [13:42:09]OFD Sender: No OFD packet to send [13:42:14]OFD Sender: No OFD packet to send [13:42:19]OFD Sender: No OFD packet to send [13:42:24]OFD Sender: No OFD packet to send [13:42:29]OFD Sender: No OFD packet to send [13:42:34]OFD Sender: No OFD packet to send [13:42:39]OFD Sender: No OFD packet to send [13:42:44]OFD Sender: No OFD packet to send [13:42:49]OFD Sender: No OFD packet to send [13:42:54]OFD Sender: No OFD packet to send [13:42:59]OFD Sender: No OFD packet to send [13:43:04]OFD Sender: No OFD packet to send [13:43:09]OFD Sender: No OFD packet to send [13:43:14]OFD Sender: No OFD packet to send [13:43:19]OFD Sender: No OFD packet to send [13:43:24]OFD Sender: No OFD packet to send [13:43:29]OFD Sender: No OFD packet to send [13:43:34]OFD Sender: No OFD packet to send [13:43:39]OFD Sender: No OFD packet to send [13:43:44]OFD Sender: No OFD packet to send [13:43:49]OFD Sender: No OFD packet to send [13:43:54]OFD Sender: No OFD packet to send [13:43:59]OFD Sender: No OFD packet to send [13:44:04]OFD Sender: No OFD packet to send [13:44:09]OFD Sender: No OFD packet to send [13:44:14]OFD Sender: No OFD packet to send [13:44:19]OFD Sender: No OFD packet to send [13:44:24]OFD Sender: No OFD packet to send [13:44:29]OFD Sender: No OFD packet to send [13:44:34]OFD Sender: No OFD packet to send [13:44:39]OFD Sender: No OFD packet to send [13:44:44]OFD Sender: No OFD packet to send [13:44:49]OFD Sender: No OFD packet to send [13:44:54]OFD Sender: No OFD packet to send [13:44:59]OFD Sender: No OFD packet to send [13:45:04]OFD Sender: No OFD packet to send [13:45:09]OFD Sender: No OFD packet to send [13:45:14]OFD Sender: No OFD packet to send [13:45:19]OFD Sender: No OFD packet to send [13:45:24]OFD Sender: No OFD packet to send [13:45:29]OFD Sender: No OFD packet to send [13:45:34]OFD Sender: No OFD packet to send [13:45:39]OFD Sender: No OFD packet to send [13:45:44]OFD Sender: No OFD packet to send [13:45:49]OFD Sender: No OFD packet to send [13:45:54]OFD Sender: No OFD packet to send [13:45:59]OFD Sender: No OFD packet to send [13:46:04]OFD Sender: No OFD packet to send [13:46:09]OFD Sender: No OFD packet to send [13:46:14]OFD Sender: No OFD packet to send [13:46:19]OFD Sender: No OFD packet to send [13:46:24]OFD Sender: No OFD packet to send [13:46:29]OFD Sender: No OFD packet to send [13:46:34]OFD Sender: No OFD packet to send [13:46:39]OFD Sender: No OFD packet to send [13:46:44]OFD Sender: No OFD packet to send [13:46:49]OFD Sender: No OFD packet to send [13:46:54]OFD Sender: No OFD packet to send [13:46:59]OFD Sender: No OFD packet to send [13:47:04]OFD Sender: No OFD packet to send [13:47:09]OFD Sender: No OFD packet to send [13:47:14]OFD Sender: No OFD packet to send [13:47:19]OFD Sender: No OFD packet to send [13:47:24]OFD Sender: No OFD packet to send [13:47:29]OFD Sender: No OFD packet to send [13:47:34]OFD Sender: No OFD packet to send [13:47:39]OFD Sender: No OFD packet to send [13:47:44]OFD Sender: No OFD packet to send [13:47:49]OFD Sender: No OFD packet to send [13:47:54]OFD Sender: No OFD packet to send [13:47:59]OFD Sender: No OFD packet to send [13:48:04]OFD Sender: No OFD packet to send [13:48:09]OFD Sender: No OFD packet to send [13:48:14]OFD Sender: No OFD packet to send [13:48:19]OFD Sender: No OFD packet to send [13:48:24]OFD Sender: No OFD packet to send [13:48:29]OFD Sender: No OFD packet to send [13:48:34]OFD Sender: No OFD packet to send [13:48:39]OFD Sender: No OFD packet to send [13:48:44]OFD Sender: No OFD packet to send [13:48:49]OFD Sender: No OFD packet to send [13:48:54]OFD Sender: No OFD packet to send [13:48:59]OFD Sender: No OFD packet to send [13:49:04]OFD Sender: No OFD packet to send [13:49:09]OFD Sender: No OFD packet to send [13:49:14]OFD Sender: No OFD packet to send [13:49:19]OFD Sender: No OFD packet to send [13:49:24]OFD Sender: No OFD packet to send [13:49:29]OFD Sender: No OFD packet to send [13:49:34]OFD Sender: No OFD packet to send [13:49:39]OFD Sender: No OFD packet to send [13:49:44]OFD Sender: No OFD packet to send [13:49:49]OFD Sender: No OFD packet to send [13:49:54]OFD Sender: No OFD packet to send [13:49:59]OFD Sender: No OFD packet to send [13:50:04]OFD Sender: No OFD packet to send [13:50:09]OFD Sender: No OFD packet to send [13:50:14]OFD Sender: No OFD packet to send [13:50:19]OFD Sender: No OFD packet to send [13:50:24]OFD Sender: No OFD packet to send [13:50:29]OFD Sender: No OFD packet to send [13:50:34]OFD Sender: No OFD packet to send [13:50:39]OFD Sender: No OFD packet to send [13:50:44]OFD Sender: No OFD packet to send [13:50:49]OFD Sender: No OFD packet to send [13:50:54]OFD Sender: No OFD packet to send [13:50:59]OFD Sender: No OFD packet to send [13:51:05]OFD Sender: No OFD packet to send [13:51:10]OFD Sender: No OFD packet to send [13:51:15]OFD Sender: No OFD packet to send [13:51:20]OFD Sender: No OFD packet to send [13:51:25]OFD Sender: No OFD packet to send [13:51:30]OFD Sender: No OFD packet to send [13:51:35]OFD Sender: No OFD packet to send [13:51:40]OFD Sender: No OFD packet to send [13:51:45]OFD Sender: No OFD packet to send [13:51:50]OFD Sender: No OFD packet to send [13:51:55]OFD Sender: No OFD packet to send [13:52:00]OFD Sender: No OFD packet to send [13:52:05]OFD Sender: No OFD packet to send [13:52:10]OFD Sender: No OFD packet to send [13:52:15]OFD Sender: No OFD packet to send [13:52:20]OFD Sender: No OFD packet to send [13:52:25]OFD Sender: No OFD packet to send [13:52:30]OFD Sender: No OFD packet to send [13:52:35]OFD Sender: No OFD packet to send [13:52:40]OFD Sender: No OFD packet to send [13:52:45]OFD Sender: No OFD packet to send [13:52:50]OFD Sender: No OFD packet to send [13:52:55]OFD Sender: No OFD packet to send [13:53:00]OFD Sender: No OFD packet to send [13:53:05]OFD Sender: No OFD packet to send [13:53:10]OFD Sender: No OFD packet to send [13:53:15]OFD Sender: No OFD packet to send [13:53:20]OFD Sender: No OFD packet to send [13:53:25]OFD Sender: No OFD packet to send [13:53:25]accept exits with 9 [13:53:25]New connection [13:53:25]New thread 3066940772 created [13:53:25]Thread 3067084132 joined [13:53:25]Waiting for new connection... [13:53:25] Sock 9.Parse request [13:53:25]Sock 9.Check first char [13:53:25]Sock 9.First char is OK [13:53:25]request: POST /json_proto HTTP/1.0 [13:53:25]Method: POST [13:53:25]URL: /json_proto [13:53:25]Method is POST - this is cgi request [13:53:25]url: /json_proto [13:53:25]query_string will be loaded in cgi processing [13:53:25]execute_cgi json_proto POST (null) [13:53:25]execute_cgi path=json_proto method=POST [13:53:25]POST find Content-Length [13:53:25]Host: 172.17.50.4:8080 [13:53:25]Content-Length: 644 [13:53:25]Content-Type: application/json [13:53:25] [13:53:25]POST finish read [13:53:25]Found Content-Length = 644 [13:53:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134859", "tax_sys" : 0, "items" : [ { "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "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" ] } } [13:53:25]execute_script... [13:53: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)134859", "tax_sys" : 0, "items" : [ { "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "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" ] } } [13:53:25]POST & json_proto [13:53:25]process_json_proto [13:53:25]json parsed OK: [13:53:25]protocol is kg_v1.0 [13:53:25]action value=close_receipt [13:53:25]process_action close_receipt [13:53:25]cmd_close_receipt [13:53:25]MH_GetDate [13:53:25]Write to MH i2c: F0 00 00 8D 09 85 [13:53:25]Write i2c OK [13:53:25]MH_I2C_Read... [13:53:25]Read from MH i2c: F0 [13:53:25]MH_I2C_Read... [13:53:25]Read from MH i2c: F0 09 00 [13:53:25]MH_I2C_Read... [13:53:25]Read from MH i2c: F0 09 00 8D 09 00 D7 5C 16 67 3B 12 16 67 08 [13:53:25]GetLastDocTimeStamp 1729517758 [13:53:25]current date 1729518807 [13:53:25]FM_GetShiftState [13:53:25]SAM_PROTO_GetShiftState [13:53:25]wFMCommunicate request_size=4 [13:53:25]MH_SAM_APDU [13:53:25]CAPDU: 80 13 01 00 [13:53:25]Write to MH i2c: E2 08 00 8E 09 80 13 01 00 00 00 00 00 14 [13:53:25]Write i2c OK [13:53:25]MH_I2C_Read... [13:53:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:53:25]Read from MH i2c: E2 [13:53:25]MH_I2C_Read... [13:53:25]Read from MH i2c: E2 0E 00 [13:53:25]MH_I2C_Read... [13:53:25]Read from MH i2c: E2 0E 00 8E 09 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 5E [13:53:25]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [13:53:25]wFMCommunicate OK [13:53:25]SAM_PROTO_GetShiftState done [13:53:25]FM_GetShiftState done [13:53:25]opened in 1729469223 [13:53:25]opened+sec_in_day 1729555623 [13:53:25]quantity*price = 5000 [13:53:25]sum+1 = 5001 [13:53:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 42 21.10.2024 13:53 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24338 ФПД: 109118753788492 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T135327&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24338&fm=109118753788492&tin=02508201610067®Number=0000000000098120&sum=5000 0 [13:53:26]StoreToDocumentArchive [13:53:26]shift 461 fd 24338 [13:53:26]save to /storage/0461/doc_00024338 [13:53:26]save last doc name /storage/0461/doc_00024338 to /storage/kkm_last_doc_name [13:53:26]save OK [13:53:26]Clear old archive folders... [13:53:26]ProcessDocumentItem done err = 0, tmpTLVsize=275 [13:53:26]tlvbuf is B6F75980 [13:53:26]SAM_PROTO_ClearQueue [13:53:26]wFMCommunicate request_size=4 [13:53:26]MH_SAM_APDU [13:53:26]CAPDU: 80 09 00 00 [13:53:26]Write to MH i2c: E2 08 00 9B 09 80 09 00 00 00 00 00 00 16 [13:53:26]Write i2c OK [13:53:26]MH_I2C_Read... [13:53:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:53:26]Read from MH i2c: E2 [13:53:26]MH_I2C_Read... [13:53:26]Read from MH i2c: E2 03 00 [13:53:26]MH_I2C_Read... [13:53:26]Read from MH i2c: E2 03 00 9B 09 00 90 00 18 [13:53:26]RAPDU: 90 00 [13:53:26]wFMCommunicate OK [13:53:26]SAM_PROTO_ClearQueue done [13:53:26]KKMCreateOFDPacket [13:53:26]OFDProtocolAddRootSTLVToBuf [13:53:26]FM_MakeSignedData [13:53:26]FM_MakeSignedData [13:53:26]SAM_PROTO_SignData [13:53:26]wFMCommunicate request_size=4 [13:53:26]MH_SAM_APDU [13:53:26]CAPDU: 80 0D 01 02 [13:53:26]Write to MH i2c: E2 08 00 9C 09 80 0D 01 02 00 00 00 00 1E [13:53:26]Write i2c OK [13:53:26]MH_I2C_Read... [13:53:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:53:26]Read from MH i2c: E2 [13:53:26]MH_I2C_Read... [13:53:26]Read from MH i2c: E2 03 00 [13:53:26]MH_I2C_Read... [13:53:26]Read from MH i2c: E2 03 00 9C 09 00 90 00 19 [13:53:26]RAPDU: 90 00 [13:53:26]wFMCommunicate OK [13:53:26]wFMCommunicate request_size=255 [13:53:26]MH_SAM_APDU [13:53:26]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2A 00 00 00 F4 03 04 00 D7 5C 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 [13:53:26]Write to MH i2c: E2 02 01 9D 09 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2A 00 00 00 F4 03 04 00 D7 5C 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 00 00 22 [13:53:26]Write i2c OK [13:53:26]MH_I2C_Read... [13:53:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:53:26]Read from MH i2c: E2 [13:53:26]MH_I2C_Read... [13:53:26]Read from MH i2c: E2 03 00 [13:53:26]MH_I2C_Read... [13:53:26]Read from MH i2c: E2 03 00 9D 09 00 90 00 1A [13:53:26]RAPDU: 90 00 [13:53:26]wFMCommunicate OK [13:53:26]wFMCommunicate request_size=34 [13:53:26]MH_SAM_APDU [13:53:26]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 12 5F 00 00 35 04 06 00 63 3E 30 8E D2 4C [13:53:26]Write to MH i2c: E2 25 00 9E 09 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 12 5F 00 00 35 04 06 00 63 3E 30 8E D2 4C 00 00 CA [13:53:26]Write i2c OK [13:53:26]MH_I2C_Read... [13:53:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:53:26]Read from MH i2c: E2 [13:53:26]MH_I2C_Read... [13:53:26]Read from MH i2c: E2 03 00 [13:53:26]MH_I2C_Read... [13:53:26]Read from MH i2c: E2 03 00 9E 09 00 90 00 1B [13:53:26]RAPDU: 90 00 [13:53:26]wFMCommunicate OK [13:53:26]wFMCommunicate request_size=4 [13:53:26]MH_SAM_APDU [13:53:26]CAPDU: 80 0D 03 02 [13:53:26]Write to MH i2c: E2 08 00 9F 09 80 0D 03 02 00 00 00 00 23 [13:53:26]Write i2c OK [13:53:26]MH_I2C_Read... [13:53:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:53:27]Read from MH i2c: E2 [13:53:27]MH_I2C_Read... [13:53:27]Read from MH i2c: E2 0B 00 [13:53:27]MH_I2C_Read... [13:53:27]Read from MH i2c: E2 0B 00 9F 09 00 C9 C3 6A B8 4A AA 78 AA 90 00 E8 [13:53:27]RAPDU: C9 C3 6A B8 4A AA 78 AA 90 00 [13:53:27]wFMCommunicate OK [13:53:27]SAM_PROTO_SignData done [13:53:27]FM_MakeSignedData done [13:53:27]CreateOFDProtocolMessage [13:53:27]wFMCommunicate request_size=4 [13:53:27]MH_SAM_APDU [13:53:27]CAPDU: 80 11 00 00 [13:53:27]Write to MH i2c: E2 08 00 A0 09 80 11 00 00 00 00 00 00 23 [13:53:27]Write i2c OK [13:53:27]MH_I2C_Read... [13:53:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:53:27]Read from MH i2c: E2 [13:53:27]MH_I2C_Read... [13:53:27]Read from MH i2c: E2 17 00 [13:53:27]MH_I2C_Read... [13:53:27]Read from MH i2c: E2 17 00 A0 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 70 [13:53:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:53:27]wFMCommunicate OK [13:53:27]CreateOFDProtocolMessage done [13:53:27]OFDSenderStorePacket 24338 [13:53:27]StoreOFDPacket docnum=24338 [13:53:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 27 01 00 00 A5 EE 1F 01 69 37 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2A 00 00 00 F4 03 04 00 D7 5C 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 12 5F 00 00 35 04 06 00 63 3E 30 8E D2 4C C9 C3 6A B8 4A AA 78 AA [13:53:27]CheckFolder [13:53:27]dirname=/storage/ofd_packets [13:53:27]CheckFolder done [13:53:27]ProducePacketName [13:53:27]name=ofd_packets/00024338 [13:53:27]NVStorageSaveData ofd_packets/00024338 [13:53:27]File name is /storage/ofd_packets/00024338 [13:53:27]Write 325 bytes [13:53:27]NVStorageSaveData done [13:53:27]OFDSenderStorePacket done [13:53:27]KKMCreateOFDPacket done [13:53:27]NVStorageSaveData kkm_last_timestamp [13:53:27]File name is /storage/kkm_last_timestamp [13:53:27]Write 4 bytes [13:53:27]NVStorageSaveData done [13:53:27]ExternCall_PrintAddStr [13:53:27]wPrintStart [13:53:27]Write to MH i2c: 01 00 00 A1 09 AA [13:53:27]Write i2c OK [13:53:27]MH_I2C_Read... [13:53:27]Read from MH i2c: 01 [13:53:27]MH_I2C_Read... [13:53:27]Read from MH i2c: 01 07 00 [13:53:27]MH_I2C_Read... [13:53:27]Read from MH i2c: 01 07 00 A1 09 00 00 00 00 00 FF 0F BF [13:53:27]RasterBufferAndPrint [13:53:27]line Счет N : (3)134859 [13:53:27]line ИНН: 02508201610067 [13:53:27]line Контрольно-Кассовый Чек [13:53:27]line ПРОДАЖА [13:53:27]line Товар: 5449000005489 [13:53:27]line Вода Бонаква 1л б/г [13:53:27]line 1.000 * 50.00 [13:53:27]line = 50.00 [13:53:27]line НДС 12% НСП 1% [13:53:27]line > о реализуемом товаре [13:53:27]line ИТОГО: 50.00 [13:53:27]line НСП 1% : 0.44 [13:53:27]line НДС 12% : 5.31 [13:53:27]line Наличными: 50.00 [13:53:27]line Безнал.: 0.00 [13:53:27]line Место: АЗС № 85 "Партнер Нефть" [13:53:27]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [13:53:27]line СНО: Общий режим [13:53:27]line Чек 42 21.10.2024 13:53 [13:53:27]line Смена: 461 ФФД: 1.0 [13:53:27]line ЗНМ: 0300000166 [13:53:27]line РНМ: 0000000000098120 [13:53:27]line Версия ККМ: 001 [13:53:27]line ФМ: 0000000000965420 [13:53:27]line ФД: 24338 [13:53:27]line ФПД: 109118753788492 [13:53:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T135327&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24338&fm=109118753788492&tin=02508201610067®Number=0000000000098120&sum=5000 [13:53:27]line 0 [13:53:27]OFD Sender: Processing packet 24338 [packets to send 5, broken 4] [13:53:27]ProducePacketName [13:53:27]name=ofd_packets/00024338 [13:53:27]OFD Sender: To server: pG, [13:53:27]CommunicateWithHost lk.salyk.kg:30040 [13:53:27]ConnectInit lk.salyk.kg [13:53:27]written 0, free lines is 4095 [13:53:27]Connected sock=10 [13:53: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 34 32 30 27 01 00 00 A5 EE 1F 01 69 37 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2A 00 00 00 F4 03 04 00 D7 5C 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 12 5F 00 00 35 04 06 00 63 3E 30 8E D2 4C C9 C3 6A B8 4A AA 78 AA [13:53:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 19 08 47 00 27 FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 12 5F 00 00 F4 03 04 00 7D 08 16 67 B6 04 01 00 00 F1 36 7A 3C 2C 12 12 59 [13:53:27]CommunicateWithHost err = 0 [13:53:27]CheckOFDResponse [13:53:27]1017 (14) - 77093643461234 [13:53:27]1041 (16) - 0000000000965420 [13:53:27]1040 (4) - 24338 [13:53:27]1012 (4) - 21.10.2024 07:53 [13:53:27]1206 (1) - 0 [13:53:27]OFD Sender: Remove packet 24338 [13:53:27]ProducePacketName [13:53:27]name=ofd_packets/00024338 [13:53:27]NVStorageDeleteData [13:53:27]Write to MH i2c: 01 00 00 C9 09 D2 [13:53:27]Write i2c OK [13:53:27]MH_I2C_Read... [13:53:27]Read from MH i2c: 01 [13:53:27]MH_I2C_Read... [13:53:27]Read from MH i2c: 01 07 00 [13:53:27]MH_I2C_Read... [13:53:27]Read from MH i2c: 01 07 00 C9 09 00 00 00 00 00 16 0D FC [13:53:27]RasterBufferAndPrint [13:53:27]line [13:53:27]line [13:53:27]line [13:53:27]line [13:53:27]line [13:53:27]written 0, free lines is 3358 [13:53:27]process_action close_receipt done [13:53:27]requested_data is exist [13:53:27]produce_requested_data [13:53:27]requested_item fm.sn is exist - process it [13:53:27]wFMCommunicate request_size=4 [13:53:27]MH_SAM_APDU [13:53:27]CAPDU: 80 11 00 00 [13:53:27]Write to MH i2c: E2 08 00 D0 09 80 11 00 00 00 00 00 00 53 [13:53:27]Write i2c OK [13:53:27]MH_I2C_Read... [13:53:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:53:27]Read from MH i2c: E2 [13:53:27]MH_I2C_Read... [13:53:27]Read from MH i2c: E2 17 00 [13:53:27]MH_I2C_Read... [13:53:27]Read from MH i2c: E2 17 00 D0 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 A0 [13:53:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:53:27]wFMCommunicate OK [13:53:27]requested_item fd.num is exist - process it [13:53:27]SAM_PROTO_GetFieldsCounters [13:53:27]wFMCommunicate request_size=4 [13:53:27]MH_SAM_APDU [13:53:27]CAPDU: 80 13 00 00 [13:53:27]Write to MH i2c: E2 08 00 D1 09 80 13 00 00 00 00 00 00 56 [13:53:27]Write i2c OK [13:53:27]MH_I2C_Read... [13:53:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:53:28]Read from MH i2c: E2 [13:53:28]MH_I2C_Read... [13:53:28]Read from MH i2c: E2 62 00 [13:53:28]MH_I2C_Read... [13:53:28]Read from MH i2c: E2 62 00 D1 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 12 5F 00 00 0E 04 04 00 CD 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 29 [13:53: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 12 5F 00 00 0E 04 04 00 CD 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 [13:53:28]wFMCommunicate OK [13:53:28]SAM_PROTO_GetFieldsCounters done [13:53:28]requested_item shift.num is exist - process it [13:53:28]requested_item shift.opened is exist - process it [13:53:28]req_shift_opened [13:53:28]FM_GetShiftState [13:53:28]SAM_PROTO_GetShiftState [13:53:28]wFMCommunicate request_size=4 [13:53:28]MH_SAM_APDU [13:53:28]CAPDU: 80 13 01 00 [13:53:28]Write to MH i2c: E2 08 00 D2 09 80 13 01 00 00 00 00 00 58 [13:53:28]Write i2c OK [13:53:28]MH_I2C_Read... [13:53:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:53:28]Read from MH i2c: E2 [13:53:28]MH_I2C_Read... [13:53:28]Read from MH i2c: E2 0E 00 [13:53:28]MH_I2C_Read... [13:53:28]Read from MH i2c: E2 0E 00 D2 09 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 A2 [13:53:28]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [13:53:28]wFMCommunicate OK [13:53:28]SAM_PROTO_GetShiftState done [13:53:28]FM_GetShiftState done [13:53:28]req_shift_opened done [13:53:28]requested_item shift.open_date is exist - process it [13:53:28]req_shift_open_date [13:53:28]req_shift_open_date done [13:53:28]produce_requested_data done [13:53:28]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24338,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [13:53:28]process_action_free close_receipt [13:53:28]json_value_free [13:53:28]json_value_free done [13:53:28]process_json_proto returns [13:53:28]Send response to host [13:53:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24338,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [13:53:28]free response buf [13:53:28]execute_script done [13:53:28]execute_script returns [13:53:28]free content buf [13:53:28]Sock 9.Close socket [13:53:28]Sock 9.Thread stoped [13:53:28]OFD Sender: No OFD packet to send [13:53:33]OFD Sender: No OFD packet to send [13:53:38]OFD Sender: No OFD packet to send [13:53:43]OFD Sender: No OFD packet to send [13:53:48]OFD Sender: No OFD packet to send [13:53:53]OFD Sender: No OFD packet to send [13:53:58]OFD Sender: No OFD packet to send [13:54:03]OFD Sender: No OFD packet to send [13:54:08]OFD Sender: No OFD packet to send [13:54:13]OFD Sender: No OFD packet to send [13:54:18]OFD Sender: No OFD packet to send [13:54:23]OFD Sender: No OFD packet to send [13:54:28]OFD Sender: No OFD packet to send [13:54:33]OFD Sender: No OFD packet to send [13:54:38]OFD Sender: No OFD packet to send [13:54:43]OFD Sender: No OFD packet to send [13:54:48]OFD Sender: No OFD packet to send [13:54:53]OFD Sender: No OFD packet to send [13:54:58]OFD Sender: No OFD packet to send [13:55:03]OFD Sender: No OFD packet to send [13:55:08]OFD Sender: No OFD packet to send [13:55:13]OFD Sender: No OFD packet to send [13:55:18]OFD Sender: No OFD packet to send [13:55:23]OFD Sender: No OFD packet to send [13:55:28]OFD Sender: No OFD packet to send [13:55:33]OFD Sender: No OFD packet to send [13:55:38]OFD Sender: No OFD packet to send [13:55:43]OFD Sender: No OFD packet to send [13:55:48]OFD Sender: No OFD packet to send [13:55:53]OFD Sender: No OFD packet to send [13:55:58]OFD Sender: No OFD packet to send [13:56:03]OFD Sender: No OFD packet to send [13:56:08]OFD Sender: No OFD packet to send [13:56:13]OFD Sender: No OFD packet to send [13:56:18]OFD Sender: No OFD packet to send [13:56:23]OFD Sender: No OFD packet to send [13:56:28]OFD Sender: No OFD packet to send [13:56:33]OFD Sender: No OFD packet to send [13:56:38]OFD Sender: No OFD packet to send [13:56:43]OFD Sender: No OFD packet to send [13:56:48]OFD Sender: No OFD packet to send [13:56:53]OFD Sender: No OFD packet to send [13:56:58]OFD Sender: No OFD packet to send [13:57:03]OFD Sender: No OFD packet to send [13:57:08]OFD Sender: No OFD packet to send [13:57:13]OFD Sender: No OFD packet to send [13:57:18]OFD Sender: No OFD packet to send [13:57:23]OFD Sender: No OFD packet to send [13:57:28]OFD Sender: No OFD packet to send [13:57:33]OFD Sender: No OFD packet to send [13:57:38]OFD Sender: No OFD packet to send [13:57:43]OFD Sender: No OFD packet to send [13:57:48]OFD Sender: No OFD packet to send [13:57:53]OFD Sender: No OFD packet to send [13:57:58]OFD Sender: No OFD packet to send [13:58:03]OFD Sender: No OFD packet to send [13:58:08]OFD Sender: No OFD packet to send [13:58:13]OFD Sender: No OFD packet to send [13:58:18]OFD Sender: No OFD packet to send [13:58:23]OFD Sender: No OFD packet to send [13:58:28]OFD Sender: No OFD packet to send [13:58:33]OFD Sender: No OFD packet to send [13:58:38]OFD Sender: No OFD packet to send [13:58:43]OFD Sender: No OFD packet to send [13:58:48]OFD Sender: No OFD packet to send [13:58:53]OFD Sender: No OFD packet to send [13:58:58]OFD Sender: No OFD packet to send [13:59:03]OFD Sender: No OFD packet to send [13:59:08]OFD Sender: No OFD packet to send [13:59:13]OFD Sender: No OFD packet to send [13:59:18]OFD Sender: No OFD packet to send [13:59:23]OFD Sender: No OFD packet to send [13:59:28]OFD Sender: No OFD packet to send [13:59:33]OFD Sender: No OFD packet to send [13:59:38]OFD Sender: No OFD packet to send [13:59:43]OFD Sender: No OFD packet to send [13:59:48]OFD Sender: No OFD packet to send [13:59:53]OFD Sender: No OFD packet to send [13:59:58]OFD Sender: No OFD packet to send [14:00:03]OFD Sender: No OFD packet to send [14:00:08]OFD Sender: No OFD packet to send [14:00:13]OFD Sender: No OFD packet to send [14:00:18]OFD Sender: No OFD packet to send [14:00:23]OFD Sender: No OFD packet to send [14:00:28]OFD Sender: No OFD packet to send [14:00:33]OFD Sender: No OFD packet to send [14:00:38]OFD Sender: No OFD packet to send [14:00:43]OFD Sender: No OFD packet to send [14:00:48]OFD Sender: No OFD packet to send [14:00:53]OFD Sender: No OFD packet to send [14:00:58]OFD Sender: No OFD packet to send [14:01:03]OFD Sender: No OFD packet to send [14:01:08]OFD Sender: No OFD packet to send [14:01:13]OFD Sender: No OFD packet to send [14:01:18]OFD Sender: No OFD packet to send [14:01:23]OFD Sender: No OFD packet to send [14:01:28]OFD Sender: No OFD packet to send [14:01:33]OFD Sender: No OFD packet to send [14:01:38]OFD Sender: No OFD packet to send [14:01:43]OFD Sender: No OFD packet to send [14:01:48]OFD Sender: No OFD packet to send [14:01:53]OFD Sender: No OFD packet to send [14:01:58]OFD Sender: No OFD packet to send [14:02:03]OFD Sender: No OFD packet to send [14:02:08]OFD Sender: No OFD packet to send [14:02:13]OFD Sender: No OFD packet to send [14:02:18]OFD Sender: No OFD packet to send [14:02:23]OFD Sender: No OFD packet to send [14:02:28]OFD Sender: No OFD packet to send [14:02:33]OFD Sender: No OFD packet to send [14:02:38]OFD Sender: No OFD packet to send [14:02:43]OFD Sender: No OFD packet to send [14:02:48]OFD Sender: No OFD packet to send [14:02:53]OFD Sender: No OFD packet to send [14:02:58]OFD Sender: No OFD packet to send [14:03:03]OFD Sender: No OFD packet to send [14:03:08]OFD Sender: No OFD packet to send [14:03:13]OFD Sender: No OFD packet to send [14:03:18]OFD Sender: No OFD packet to send [14:03:23]OFD Sender: No OFD packet to send [14:03:28]OFD Sender: No OFD packet to send [14:03:33]OFD Sender: No OFD packet to send [14:03:38]OFD Sender: No OFD packet to send [14:03:43]OFD Sender: No OFD packet to send [14:03:48]OFD Sender: No OFD packet to send [14:03:53]OFD Sender: No OFD packet to send [14:03:58]OFD Sender: No OFD packet to send [14:04:03]OFD Sender: No OFD packet to send [14:04:08]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:54]OFD Sender: No OFD packet to send [14:09:59]OFD Sender: No OFD packet to send [14:10:04]OFD Sender: No OFD packet to send [14:10:09]OFD Sender: No OFD packet to send [14:10:14]OFD Sender: No OFD packet to send [14:10:19]OFD Sender: No OFD packet to send [14:10:24]OFD Sender: No OFD packet to send [14:10:29]OFD Sender: No OFD packet to send [14:10:34]OFD Sender: No OFD packet to send [14:10:39]OFD Sender: No OFD packet to send [14:10:44]OFD Sender: No OFD packet to send [14:10:49]OFD Sender: No OFD packet to send [14:10:54]OFD Sender: No OFD packet to send [14:10:59]OFD Sender: No OFD packet to send [14:11:04]OFD Sender: No OFD packet to send [14:11:09]OFD Sender: No OFD packet to send [14:11:14]OFD Sender: No OFD packet to send [14:11:19]OFD Sender: No OFD packet to send [14:11:24]OFD Sender: No OFD packet to send [14:11:29]OFD Sender: No OFD packet to send [14:11:34]OFD Sender: No OFD packet to send [14:11:39]OFD Sender: No OFD packet to send [14:11:44]OFD Sender: No OFD packet to send [14:11:49]OFD Sender: No OFD packet to send [14:11:54]OFD Sender: No OFD packet to send [14:11:59]OFD Sender: No OFD packet to send [14:12:04]OFD Sender: No OFD packet to send [14:12:09]OFD Sender: No OFD packet to send [14:12:14]OFD Sender: No OFD packet to send [14:12:19]OFD Sender: No OFD packet to send [14:12:24]OFD Sender: No OFD packet to send [14:12:29]OFD Sender: No OFD packet to send [14:12:34]OFD Sender: No OFD packet to send [14:12:39]OFD Sender: No OFD packet to send [14:12:44]OFD Sender: No OFD packet to send [14:12:49]OFD Sender: No OFD packet to send [14:12:54]OFD Sender: No OFD packet to send [14:12:59]OFD Sender: No OFD packet to send [14:13:04]OFD Sender: No OFD packet to send [14:13:09]OFD Sender: No OFD packet to send [14:13:14]OFD Sender: No OFD packet to send [14:13:19]OFD Sender: No OFD packet to send [14:13:24]OFD Sender: No OFD packet to send [14:13:29]OFD Sender: No OFD packet to send [14:13:34]OFD Sender: No OFD packet to send [14:13:39]OFD Sender: No OFD packet to send [14:13:44]OFD Sender: No OFD packet to send [14:13:49]OFD Sender: No OFD packet to send [14:13:54]OFD Sender: No OFD packet to send [14:13:59]OFD Sender: No OFD packet to send [14:14:04]OFD Sender: No OFD packet to send [14:14:09]OFD Sender: No OFD packet to send [14:14:14]OFD Sender: No OFD packet to send [14:14:19]OFD Sender: No OFD packet to send [14:14:24]OFD Sender: No OFD packet to send [14:14:29]OFD Sender: No OFD packet to send [14:14:34]OFD Sender: No OFD packet to send [14:14:39]OFD Sender: No OFD packet to send [14:14:44]OFD Sender: No OFD packet to send [14:14:49]OFD Sender: No OFD packet to send [14:14:54]OFD Sender: No OFD packet to send [14:14:59]OFD Sender: No OFD packet to send [14:15:04]OFD Sender: No OFD packet to send [14:15:09]OFD Sender: No OFD packet to send [14:15:14]OFD Sender: No OFD packet to send [14:15:19]OFD Sender: No OFD packet to send [14:15:24]OFD Sender: No OFD packet to send [14:15:29]OFD Sender: No OFD packet to send [14:15:34]OFD Sender: No OFD packet to send [14:15:39]OFD Sender: No OFD packet to send [14:15:44]OFD Sender: No OFD packet to send [14:15:49]OFD Sender: No OFD packet to send [14:15:54]OFD Sender: No OFD packet to send [14:15:59]OFD Sender: No OFD packet to send [14:16:04]OFD Sender: No OFD packet to send [14:16:09]OFD Sender: No OFD packet to send [14:16:14]OFD Sender: No OFD packet to send [14:16:19]OFD Sender: No OFD packet to send [14:16:24]OFD Sender: No OFD packet to send [14:16:29]OFD Sender: No OFD packet to send [14:16:34]OFD Sender: No OFD packet to send [14:16:39]OFD Sender: No OFD packet to send [14:16:44]OFD Sender: No OFD packet to send [14:16:49]OFD Sender: No OFD packet to send [14:16:54]OFD Sender: No OFD packet to send [14:16:59]OFD Sender: No OFD packet to send [14:17:04]OFD Sender: No OFD packet to send [14:17:09]OFD Sender: No OFD packet to send [14:17:14]OFD Sender: No OFD packet to send [14:17:19]OFD Sender: No OFD packet to send [14:17:24]OFD Sender: No OFD packet to send [14:17:29]OFD Sender: No OFD packet to send [14:17:34]OFD Sender: No OFD packet to send [14:17:39]OFD Sender: No OFD packet to send [14:17:44]OFD Sender: No OFD packet to send [14:17:49]OFD Sender: No OFD packet to send [14:17:54]OFD Sender: No OFD packet to send [14:17:59]OFD Sender: No OFD packet to send [14:18:04]OFD Sender: No OFD packet to send [14:18:09]OFD Sender: No OFD packet to send [14:18:14]OFD Sender: No OFD packet to send [14:18:19]OFD Sender: No OFD packet to send [14:18:24]OFD Sender: No OFD packet to send [14:18:29]OFD Sender: No OFD packet to send [14:18:34]OFD Sender: No OFD packet to send [14:18:39]OFD Sender: No OFD packet to send [14:18:44]OFD Sender: No OFD packet to send [14:18:49]OFD Sender: No OFD packet to send [14:18:54]OFD Sender: No OFD packet to send [14:18:59]OFD Sender: No OFD packet to send [14:19:04]OFD Sender: No OFD packet to send [14:19:09]OFD Sender: No OFD packet to send [14:19:14]OFD Sender: No OFD packet to send [14:19:19]OFD Sender: No OFD packet to send [14:19:24]OFD Sender: No OFD packet to send [14:19:29]OFD Sender: No OFD packet to send [14:19:34]OFD Sender: No OFD packet to send [14:19:39]OFD Sender: No OFD packet to send [14:19:44]OFD Sender: No OFD packet to send [14:19:49]OFD Sender: No OFD packet to send [14:19:54]OFD Sender: No OFD packet to send [14:19:59]OFD Sender: No OFD packet to send [14:20:04]OFD Sender: No OFD packet to send [14:20:09]OFD Sender: No OFD packet to send [14:20:14]OFD Sender: No OFD packet to send [14:20:19]OFD Sender: No OFD packet to send [14:20:24]OFD Sender: No OFD packet to send [14:20:29]OFD Sender: No OFD packet to send [14:20:34]OFD Sender: No OFD packet to send [14:20:39]OFD Sender: No OFD packet to send [14:20:44]OFD Sender: No OFD packet to send [14:20:49]OFD Sender: No OFD packet to send [14:20:54]OFD Sender: No OFD packet to send [14:20:59]OFD Sender: No OFD packet to send [14:21:04]OFD Sender: No OFD packet to send [14:21:09]OFD Sender: No OFD packet to send [14:21:14]OFD Sender: No OFD packet to send [14:21:19]OFD Sender: No OFD packet to send [14:21:24]OFD Sender: No OFD packet to send [14:21:29]OFD Sender: No OFD packet to send [14:21:34]OFD Sender: No OFD packet to send [14:21:39]OFD Sender: No OFD packet to send [14:21:44]OFD Sender: No OFD packet to send [14:21:49]OFD Sender: No OFD packet to send [14:21:54]OFD Sender: No OFD packet to send [14:21:59]OFD Sender: No OFD packet to send [14:22:04]OFD Sender: No OFD packet to send [14:22:09]OFD Sender: No OFD packet to send [14:22:14]OFD Sender: No OFD packet to send [14:22:19]OFD Sender: No OFD packet to send [14:22:24]OFD Sender: No OFD packet to send [14:22:29]OFD Sender: No OFD packet to send [14:22:34]OFD Sender: No OFD packet to send [14:22:39]OFD Sender: No OFD packet to send [14:22:44]OFD Sender: No OFD packet to send [14:22:49]OFD Sender: No OFD packet to send [14:22:54]OFD Sender: No OFD packet to send [14:22:59]OFD Sender: No OFD packet to send [14:23:04]OFD Sender: No OFD packet to send [14:23:09]OFD Sender: No OFD packet to send [14:23:14]OFD Sender: No OFD packet to send [14:23:19]OFD Sender: No OFD packet to send [14:23:24]OFD Sender: No OFD packet to send [14:23:29]OFD Sender: No OFD packet to send [14:23:34]OFD Sender: No OFD packet to send [14:23:39]OFD Sender: No OFD packet to send [14:23:44]OFD Sender: No OFD packet to send [14:23:49]OFD Sender: No OFD packet to send [14:23:54]OFD Sender: No OFD packet to send [14:23:59]OFD Sender: No OFD packet to send [14:24:04]OFD Sender: No OFD packet to send [14:24:09]OFD Sender: No OFD packet to send [14:24:14]OFD Sender: No OFD packet to send [14:24:19]OFD Sender: No OFD packet to send [14:24:24]OFD Sender: No OFD packet to send [14:24:29]OFD Sender: No OFD packet to send [14:24:34]OFD Sender: No OFD packet to send [14:24:39]OFD Sender: No OFD packet to send [14:24:44]OFD Sender: No OFD packet to send [14:24:49]OFD Sender: No OFD packet to send [14:24:54]OFD Sender: No OFD packet to send [14:24:59]OFD Sender: No OFD packet to send [14:25:04]OFD Sender: No OFD packet to send [14:25:09]OFD Sender: No OFD packet to send [14:25:14]OFD Sender: No OFD packet to send [14:25:19]OFD Sender: No OFD packet to send [14:25:24]OFD Sender: No OFD packet to send [14:25:29]OFD Sender: No OFD packet to send [14:25:34]OFD Sender: No OFD packet to send [14:25:39]OFD Sender: No OFD packet to send [14:25:44]OFD Sender: No OFD packet to send [14:25:49]OFD Sender: No OFD packet to send [14:25:54]OFD Sender: No OFD packet to send [14:25:59]OFD Sender: No OFD packet to send [14:26:04]OFD Sender: No OFD packet to send [14:26:09]OFD Sender: No OFD packet to send [14:26:14]OFD Sender: No OFD packet to send [14:26:19]OFD Sender: No OFD packet to send [14:26:24]OFD Sender: No OFD packet to send [14:26:29]OFD Sender: No OFD packet to send [14:26:34]OFD Sender: No OFD packet to send [14:26:39]OFD Sender: No OFD packet to send [14:26:44]OFD Sender: No OFD packet to send [14:26:49]OFD Sender: No OFD packet to send [14:26:54]OFD Sender: No OFD packet to send [14:26:59]OFD Sender: No OFD packet to send [14:27:04]OFD Sender: No OFD packet to send [14:27:09]OFD Sender: No OFD packet to send [14:27:14]OFD Sender: No OFD packet to send [14:27:19]OFD Sender: No OFD packet to send [14:27:24]OFD Sender: No OFD packet to send [14:27:29]OFD Sender: No OFD packet to send [14:27:34]OFD Sender: No OFD packet to send [14:27:39]OFD Sender: No OFD packet to send [14:27:44]OFD Sender: No OFD packet to send [14:27:49]OFD Sender: No OFD packet to send [14:27:54]OFD Sender: No OFD packet to send [14:27:59]OFD Sender: No OFD packet to send [14:28:04]OFD Sender: No OFD packet to send [14:28:09]OFD Sender: No OFD packet to send [14:28:14]OFD Sender: No OFD packet to send [14:28:19]OFD Sender: No OFD packet to send [14:28:24]OFD Sender: No OFD packet to send [14:28:29]OFD Sender: No OFD packet to send [14:28:34]OFD Sender: No OFD packet to send [14:28:39]OFD Sender: No OFD packet to send [14:28:44]OFD Sender: No OFD packet to send [14:28:49]OFD Sender: No OFD packet to send [14:28:54]OFD Sender: No OFD packet to send [14:28:59]OFD Sender: No OFD packet to send [14:29:04]OFD Sender: No OFD packet to send [14:29:09]OFD Sender: No OFD packet to send [14:29:14]OFD Sender: No OFD packet to send [14:29:19]OFD Sender: No OFD packet to send [14:29:24]OFD Sender: No OFD packet to send [14:29:29]OFD Sender: No OFD packet to send [14:29:34]OFD Sender: No OFD packet to send [14:29:39]OFD Sender: No OFD packet to send [14:29:44]OFD Sender: No OFD packet to send [14:29:49]OFD Sender: No OFD packet to send [14:29:54]OFD Sender: No OFD packet to send [14:29:59]OFD Sender: No OFD packet to send [14:30:04]OFD Sender: No OFD packet to send [14:30:09]OFD Sender: No OFD packet to send [14:30:14]OFD Sender: No OFD packet to send [14:30:19]OFD Sender: No OFD packet to send [14:30:24]OFD Sender: No OFD packet to send [14:30:29]OFD Sender: No OFD packet to send [14:30:34]OFD Sender: No OFD packet to send [14:30:39]OFD Sender: No OFD packet to send [14:30:44]OFD Sender: No OFD packet to send [14:30:49]OFD Sender: No OFD packet to send [14:30:54]OFD Sender: No OFD packet to send [14:30:59]OFD Sender: No OFD packet to send [14:31:04]OFD Sender: No OFD packet to send [14:31:09]OFD Sender: No OFD packet to send [14:31:14]OFD Sender: No OFD packet to send [14:31:19]OFD Sender: No OFD packet to send [14:31:24]OFD Sender: No OFD packet to send [14:31:29]OFD Sender: No OFD packet to send [14:31:35]OFD Sender: No OFD packet to send [14:31:40]OFD Sender: No OFD packet to send [14:31:45]OFD Sender: No OFD packet to send [14:31:50]OFD Sender: No OFD packet to send [14:31:55]OFD Sender: No OFD packet to send [14:32:00]OFD Sender: No OFD packet to send [14:32:05]OFD Sender: No OFD packet to send [14:32:10]OFD Sender: No OFD packet to send [14:32:15]OFD Sender: No OFD packet to send [14:32:20]OFD Sender: No OFD packet to send [14:32:25]OFD Sender: No OFD packet to send [14:32:30]OFD Sender: No OFD packet to send [14:32:35]OFD Sender: No OFD packet to send [14:32:40]OFD Sender: No OFD packet to send [14:32:45]OFD Sender: No OFD packet to send [14:32:50]OFD Sender: No OFD packet to send [14:32:55]OFD Sender: No OFD packet to send [14:33:00]OFD Sender: No OFD packet to send [14:33:05]OFD Sender: No OFD packet to send [14:33:10]OFD Sender: No OFD packet to send [14:33:15]OFD Sender: No OFD packet to send [14:33:20]OFD Sender: No OFD packet to send [14:33:25]OFD Sender: No OFD packet to send [14:33:30]OFD Sender: No OFD packet to send [14:33:35]OFD Sender: No OFD packet to send [14:33:40]OFD Sender: No OFD packet to send [14:33:45]OFD Sender: No OFD packet to send [14:33:50]OFD Sender: No OFD packet to send [14:33:55]OFD Sender: No OFD packet to send [14:34:00]OFD Sender: No OFD packet to send [14:34:05]OFD Sender: No OFD packet to send [14:34:10]OFD Sender: No OFD packet to send [14:34:15]OFD Sender: No OFD packet to send [14:34:20]OFD Sender: No OFD packet to send [14:34:25]OFD Sender: No OFD packet to send [14:34:30]OFD Sender: No OFD packet to send [14:34:35]OFD Sender: No OFD packet to send [14:34:35]accept exits with 8 [14:34:35]New connection [14:34:35]New thread 3067084132 created [14:34:35]Thread 3066940772 joined [14:34:35]Waiting for new connection... [14:34:35] Sock 8.Parse request [14:34:35]Sock 8.Check first char [14:34:35]Sock 8.First char is OK [14:34:35]request: POST /json_proto HTTP/1.0 [14:34:35]Method: POST [14:34:35]URL: /json_proto [14:34:35]Method is POST - this is cgi request [14:34:35]url: /json_proto [14:34:35]query_string will be loaded in cgi processing [14:34:35]execute_cgi json_proto POST (null) [14:34:35]execute_cgi path=json_proto method=POST [14:34:35]POST find Content-Length [14:34:35]Host: 172.17.50.4:8080 [14:34:35]Content-Length: 648 [14:34:35]Content-Type: application/json [14:34:35] [14:34:35]POST finish read [14:34:35]Found Content-Length = 648 [14:34:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134860", "tax_sys" : 0, "items" : [ { "code": "4700003150097", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,25", "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" ] } } [14:34:35]execute_script... [14:34:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134860", "tax_sys" : 0, "items" : [ { "code": "4700003150097", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,25", "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" ] } } [14:34:35]POST & json_proto [14:34:35]process_json_proto [14:34:35]json parsed OK: [14:34:35]protocol is kg_v1.0 [14:34:35]action value=close_receipt [14:34:35]process_action close_receipt [14:34:35]cmd_close_receipt [14:34:35]MH_GetDate [14:34:35]Write to MH i2c: F0 00 00 D3 09 CB [14:34:35]Write i2c OK [14:34:35]MH_I2C_Read... [14:34:35]Read from MH i2c: F0 [14:34:35]MH_I2C_Read... [14:34:35]Read from MH i2c: F0 09 00 [14:34:35]MH_I2C_Read... [14:34:35]Read from MH i2c: F0 09 00 D3 09 00 7D 66 16 67 3B 12 16 67 FE [14:34:35]GetLastDocTimeStamp 1729518807 [14:34:35]current date 1729521277 [14:34:35]FM_GetShiftState [14:34:35]SAM_PROTO_GetShiftState [14:34:35]wFMCommunicate request_size=4 [14:34:35]MH_SAM_APDU [14:34:35]CAPDU: 80 13 01 00 [14:34:35]Write to MH i2c: E2 08 00 D4 09 80 13 01 00 00 00 00 00 5A [14:34:35]Write i2c OK [14:34:35]MH_I2C_Read... [14:34:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:34:35]Read from MH i2c: E2 [14:34:35]MH_I2C_Read... [14:34:35]Read from MH i2c: E2 0E 00 [14:34:35]MH_I2C_Read... [14:34:35]Read from MH i2c: E2 0E 00 D4 09 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 A4 [14:34:35]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [14:34:35]wFMCommunicate OK [14:34:35]SAM_PROTO_GetShiftState done [14:34:35]FM_GetShiftState done [14:34:35]opened in 1729469223 [14:34:35]opened+sec_in_day 1729555623 [14:34:35]quantity*price = 16000 [14:34:35]sum+1 = 16001 [14:34:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.42 НДС 12% : 16.99 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 43 21.10.2024 14:34 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24339 ФПД: 27547327058125 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T143437&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24339&fm=27547327058125&tin=02508201610067®Number=0000000000098120&sum=16000 0 [14:34:36]StoreToDocumentArchive [14:34:36]shift 461 fd 24339 [14:34:36]save to /storage/0461/doc_00024339 [14:34:36]save last doc name /storage/0461/doc_00024339 to /storage/kkm_last_doc_name [14:34:36]save OK [14:34:36]Clear old archive folders... [14:34:36]ProcessDocumentItem done err = 0, tmpTLVsize=276 [14:34:36]tlvbuf is 00338B70 [14:34:36]SAM_PROTO_ClearQueue [14:34:36]wFMCommunicate request_size=4 [14:34:36]MH_SAM_APDU [14:34:36]CAPDU: 80 09 00 00 [14:34:36]Write to MH i2c: E2 08 00 E1 09 80 09 00 00 00 00 00 00 5C [14:34:36]Write i2c OK [14:34:36]MH_I2C_Read... [14:34:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:34:36]Read from MH i2c: E2 [14:34:36]MH_I2C_Read... [14:34:36]Read from MH i2c: E2 03 00 [14:34:36]MH_I2C_Read... [14:34:36]Read from MH i2c: E2 03 00 E1 09 00 90 00 5E [14:34:36]RAPDU: 90 00 [14:34:36]wFMCommunicate OK [14:34:36]SAM_PROTO_ClearQueue done [14:34:36]KKMCreateOFDPacket [14:34:36]OFDProtocolAddRootSTLVToBuf [14:34:36]FM_MakeSignedData [14:34:36]FM_MakeSignedData [14:34:36]SAM_PROTO_SignData [14:34:36]wFMCommunicate request_size=4 [14:34:36]MH_SAM_APDU [14:34:36]CAPDU: 80 0D 01 02 [14:34:36]Write to MH i2c: E2 08 00 E2 09 80 0D 01 02 00 00 00 00 64 [14:34:36]Write i2c OK [14:34:36]MH_I2C_Read... [14:34:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:34:36]Read from MH i2c: E2 [14:34:36]MH_I2C_Read... [14:34:36]Read from MH i2c: E2 03 00 [14:34:36]MH_I2C_Read... [14:34:36]Read from MH i2c: E2 03 00 E2 09 00 90 00 5F [14:34:36]RAPDU: 90 00 [14:34:36]wFMCommunicate OK [14:34:36]wFMCommunicate request_size=255 [14:34:36]MH_SAM_APDU [14:34:36]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 30 39 37 06 04 22 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 32 35 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 2B 00 00 00 F4 03 04 00 7D 66 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 [14:34:36]Write to MH i2c: E2 02 01 E3 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 30 30 30 30 33 31 35 30 30 39 37 06 04 22 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 32 35 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 2B 00 00 00 F4 03 04 00 7D 66 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 00 00 3F [14:34:36]Write i2c OK [14:34:36]MH_I2C_Read... [14:34:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:34:36]Read from MH i2c: E2 [14:34:36]MH_I2C_Read... [14:34:36]Read from MH i2c: E2 03 00 [14:34:36]MH_I2C_Read... [14:34:36]Read from MH i2c: E2 03 00 E3 09 00 90 00 60 [14:34:36]RAPDU: 90 00 [14:34:36]wFMCommunicate OK [14:34:36]wFMCommunicate request_size=35 [14:34:36]MH_SAM_APDU [14:34:36]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 13 5F 00 00 35 04 06 00 19 0D DC A4 D0 CD [14:34:36]Write to MH i2c: E2 26 00 E4 09 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 13 5F 00 00 35 04 06 00 19 0D DC A4 D0 CD 00 00 09 [14:34:36]Write i2c OK [14:34:36]MH_I2C_Read... [14:34:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:34:36]Read from MH i2c: E2 [14:34:36]MH_I2C_Read... [14:34:36]Read from MH i2c: E2 03 00 [14:34:36]MH_I2C_Read... [14:34:36]Read from MH i2c: E2 03 00 E4 09 00 90 00 61 [14:34:36]RAPDU: 90 00 [14:34:36]wFMCommunicate OK [14:34:36]wFMCommunicate request_size=4 [14:34:36]MH_SAM_APDU [14:34:36]CAPDU: 80 0D 03 02 [14:34:36]Write to MH i2c: E2 08 00 E5 09 80 0D 03 02 00 00 00 00 69 [14:34:36]Write i2c OK [14:34:36]MH_I2C_Read... [14:34:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:34:37]Read from MH i2c: E2 [14:34:37]MH_I2C_Read... [14:34:37]Read from MH i2c: E2 0B 00 [14:34:37]MH_I2C_Read... [14:34:37]Read from MH i2c: E2 0B 00 E5 09 00 2E 75 55 4A 43 F9 79 ED 90 00 4E [14:34:37]RAPDU: 2E 75 55 4A 43 F9 79 ED 90 00 [14:34:37]wFMCommunicate OK [14:34:37]SAM_PROTO_SignData done [14:34:37]FM_MakeSignedData done [14:34:37]CreateOFDProtocolMessage [14:34:37]wFMCommunicate request_size=4 [14:34:37]MH_SAM_APDU [14:34:37]CAPDU: 80 11 00 00 [14:34:37]Write to MH i2c: E2 08 00 E6 09 80 11 00 00 00 00 00 00 69 [14:34:37]Write i2c OK [14:34:37]MH_I2C_Read... [14:34:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:34:37]Read from MH i2c: E2 [14:34:37]MH_I2C_Read... [14:34:37]Read from MH i2c: E2 17 00 [14:34:37]MH_I2C_Read... [14:34:37]Read from MH i2c: E2 17 00 E6 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 B6 [14:34:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [14:34:37]wFMCommunicate OK [14:34:37]CreateOFDProtocolMessage done [14:34:37]OFDSenderStorePacket 24339 [14:34:37]StoreOFDPacket docnum=24339 [14:34:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 28 01 00 00 05 B7 20 01 5A 8C 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 33 31 35 30 30 39 37 06 04 22 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 32 35 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 2B 00 00 00 F4 03 04 00 7D 66 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 13 5F 00 00 35 04 06 00 19 0D DC A4 D0 CD 2E 75 55 4A 43 F9 79 ED [14:34:37]CheckFolder [14:34:37]dirname=/storage/ofd_packets [14:34:37]CheckFolder done [14:34:37]ProducePacketName [14:34:37]name=ofd_packets/00024339 [14:34:37]NVStorageSaveData ofd_packets/00024339 [14:34:37]File name is /storage/ofd_packets/00024339 [14:34:37]Write 326 bytes [14:34:37]NVStorageSaveData done [14:34:37]OFDSenderStorePacket done [14:34:37]KKMCreateOFDPacket done [14:34:37]NVStorageSaveData kkm_last_timestamp [14:34:37]File name is /storage/kkm_last_timestamp [14:34:37]Write 4 bytes [14:34:37]NVStorageSaveData done [14:34:37]ExternCall_PrintAddStr [14:34:37]wPrintStart [14:34:37]Write to MH i2c: 01 00 00 E7 09 F0 [14:34:37]Write i2c OK [14:34:37]MH_I2C_Read... [14:34:37]Read from MH i2c: 01 [14:34:37]MH_I2C_Read... [14:34:37]Read from MH i2c: 01 07 00 [14:34:37]MH_I2C_Read... [14:34:37]Read from MH i2c: 01 07 00 E7 09 00 00 00 00 00 FF 0F 05 [14:34:37]RasterBufferAndPrint [14:34:37]line Счет N : (3)134860 [14:34:37]line ИНН: 02508201610067 [14:34:37]line Контрольно-Кассовый Чек [14:34:37]line ПРОДАЖА [14:34:37]line Товар: 4700003150097 [14:34:37]line Водка Пшеничная 0,25 [14:34:37]line 1.000 * 160.00 [14:34:37]line = 160.00 [14:34:37]line НДС 12% НСП 1% [14:34:37]line > о реализуемом товаре [14:34:37]line ИТОГО: 160.00 [14:34:37]line НСП 1% : 1.42 [14:34:37]line НДС 12% : 16.99 [14:34:37]line Наличными: 160.00 [14:34:37]line Безнал.: 0.00 [14:34:37]line Место: АЗС № 85 "Партнер Нефть" [14:34:37]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [14:34:37]line СНО: Общий режим [14:34:37]line Чек 43 21.10.2024 14:34 [14:34:37]line Смена: 461 ФФД: 1.0 [14:34:37]line ЗНМ: 0300000166 [14:34:37]line РНМ: 0000000000098120 [14:34:37]line Версия ККМ: 001 [14:34:37]line ФМ: 0000000000965420 [14:34:37]line ФД: 24339 [14:34:37]line ФПД: 27547327058125 [14:34:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T143437&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24339&fm=27547327058125&tin=02508201610067®Number=0000000000098120&sum=16000 [14:34:37]line 0 [14:34:37]OFD Sender: Processing packet 24339 [packets to send 5, broken 4] [14:34:37]ProducePacketName [14:34:37]name=ofd_packets/00024339 [14:34:37]OFD Sender: To server: pG, [14:34:37]CommunicateWithHost lk.salyk.kg:30040 [14:34:37]ConnectInit lk.salyk.kg [14:34:37]written 0, free lines is 4095 [14:34:37]Connected sock=10 [14:34:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 28 01 00 00 05 B7 20 01 5A 8C 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 33 31 35 30 30 39 37 06 04 22 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 32 35 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 2B 00 00 00 F4 03 04 00 7D 66 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 13 5F 00 00 35 04 06 00 19 0D DC A4 D0 CD 2E 75 55 4A 43 F9 79 ED [14:34:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 C7 29 47 00 A0 BA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 13 5F 00 00 F4 03 04 00 23 12 16 67 B6 04 01 00 00 25 99 65 B2 4F 8A D0 45 [14:34:37]CommunicateWithHost err = 0 [14:34:37]CheckOFDResponse [14:34:37]1017 (14) - 77093643461234 [14:34:37]1041 (16) - 0000000000965420 [14:34:37]1040 (4) - 24339 [14:34:37]1012 (4) - 21.10.2024 08:34 [14:34:37]1206 (1) - 0 [14:34:37]OFD Sender: Remove packet 24339 [14:34:37]ProducePacketName [14:34:37]name=ofd_packets/00024339 [14:34:37]NVStorageDeleteData [14:34:37]Write to MH i2c: 01 00 00 0F 0A 19 [14:34:37]Write i2c OK [14:34:37]MH_I2C_Read... [14:34:37]Read from MH i2c: 01 [14:34:37]MH_I2C_Read... [14:34:37]Read from MH i2c: 01 07 00 [14:34:37]MH_I2C_Read... [14:34:37]Read from MH i2c: 01 07 00 0F 0A 00 00 00 00 00 16 0D 43 [14:34:37]RasterBufferAndPrint [14:34:37]line [14:34:37]line [14:34:37]line [14:34:37]line [14:34:37]line [14:34:37]written 0, free lines is 3357 [14:34:37]process_action close_receipt done [14:34:37]requested_data is exist [14:34:37]produce_requested_data [14:34:37]requested_item fm.sn is exist - process it [14:34:37]wFMCommunicate request_size=4 [14:34:37]MH_SAM_APDU [14:34:37]CAPDU: 80 11 00 00 [14:34:37]Write to MH i2c: E2 08 00 16 0A 80 11 00 00 00 00 00 00 9A [14:34:37]Write i2c OK [14:34:37]MH_I2C_Read... [14:34:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:34:37]Read from MH i2c: E2 [14:34:37]MH_I2C_Read... [14:34:37]Read from MH i2c: E2 17 00 [14:34:37]MH_I2C_Read... [14:34:37]Read from MH i2c: E2 17 00 16 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 E7 [14:34:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [14:34:37]wFMCommunicate OK [14:34:37]requested_item fd.num is exist - process it [14:34:37]SAM_PROTO_GetFieldsCounters [14:34:37]wFMCommunicate request_size=4 [14:34:37]MH_SAM_APDU [14:34:37]CAPDU: 80 13 00 00 [14:34:37]Write to MH i2c: E2 08 00 17 0A 80 13 00 00 00 00 00 00 9D [14:34:37]Write i2c OK [14:34:37]MH_I2C_Read... [14:34:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:34:38]Read from MH i2c: E2 [14:34:38]MH_I2C_Read... [14:34:38]Read from MH i2c: E2 62 00 [14:34:38]MH_I2C_Read... [14:34:38]Read from MH i2c: E2 62 00 17 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 13 5F 00 00 0E 04 04 00 CD 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 74 [14:34:38]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 13 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:34:38]wFMCommunicate OK [14:34:38]SAM_PROTO_GetFieldsCounters done [14:34:38]requested_item shift.num is exist - process it [14:34:38]requested_item shift.opened is exist - process it [14:34:38]req_shift_opened [14:34:38]FM_GetShiftState [14:34:38]SAM_PROTO_GetShiftState [14:34:38]wFMCommunicate request_size=4 [14:34:38]MH_SAM_APDU [14:34:38]CAPDU: 80 13 01 00 [14:34:38]Write to MH i2c: E2 08 00 18 0A 80 13 01 00 00 00 00 00 9F [14:34:38]Write i2c OK [14:34:38]MH_I2C_Read... [14:34:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:34:38]Read from MH i2c: E2 [14:34:38]MH_I2C_Read... [14:34:38]Read from MH i2c: E2 0E 00 [14:34:38]MH_I2C_Read... [14:34:38]Read from MH i2c: E2 0E 00 18 0A 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 E9 [14:34:38]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [14:34:38]wFMCommunicate OK [14:34:38]SAM_PROTO_GetShiftState done [14:34:38]FM_GetShiftState done [14:34:38]req_shift_opened done [14:34:38]requested_item shift.open_date is exist - process it [14:34:38]req_shift_open_date [14:34:38]req_shift_open_date done [14:34:38]produce_requested_data done [14:34:38]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24339,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [14:34:38]process_action_free close_receipt [14:34:38]json_value_free [14:34:38]json_value_free done [14:34:38]process_json_proto returns [14:34:38]Send response to host [14:34:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24339,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [14:34:38]free response buf [14:34:38]execute_script done [14:34:38]execute_script returns [14:34:38]free content buf [14:34:38]Sock 8.Close socket [14:34:38]Sock 8.Thread stoped [14:34:38]OFD Sender: No OFD packet to send [14:34:43]OFD Sender: No OFD packet to send [14:34:48]OFD Sender: No OFD packet to send [14:34:53]OFD Sender: No OFD packet to send [14:34:58]OFD Sender: No OFD packet to send [14:35:03]OFD Sender: No OFD packet to send [14:35:08]OFD Sender: No OFD packet to send [14:35:13]OFD Sender: No OFD packet to send [14:35:18]OFD Sender: No OFD packet to send [14:35:23]OFD Sender: No OFD packet to send [14:35:28]OFD Sender: No OFD packet to send [14:35:33]OFD Sender: No OFD packet to send [14:35:38]OFD Sender: No OFD packet to send [14:35:43]OFD Sender: No OFD packet to send [14:35:48]OFD Sender: No OFD packet to send [14:35:53]OFD Sender: No OFD packet to send [14:35:58]OFD Sender: No OFD packet to send [14:36:03]OFD Sender: No OFD packet to send [14:36:08]OFD Sender: No OFD packet to send [14:36:13]OFD Sender: No OFD packet to send [14:36:18]OFD Sender: No OFD packet to send [14:36:23]OFD Sender: No OFD packet to send [14:36:28]OFD Sender: No OFD packet to send [14:36:33]OFD Sender: No OFD packet to send [14:36:38]OFD Sender: No OFD packet to send [14:36:43]OFD Sender: No OFD packet to send [14:36:48]OFD Sender: No OFD packet to send [14:36:53]OFD Sender: No OFD packet to send [14:36:58]OFD Sender: No OFD packet to send [14:37:03]OFD Sender: No OFD packet to send [14:37:08]OFD Sender: No OFD packet to send [14:37:13]OFD Sender: No OFD packet to send [14:37:18]accept exits with 9 [14:37:18]New connection [14:37:18]New thread 3066940772 created [14:37:18]Thread 3067084132 joined [14:37:18]Waiting for new connection... [14:37:18] Sock 9.Parse request [14:37:18]Sock 9.Check first char [14:37:18]Sock 9.First char is OK [14:37:18]request: POST /json_proto HTTP/1.0 [14:37:18]Method: POST [14:37:18]URL: /json_proto [14:37:18]Method is POST - this is cgi request [14:37:18]url: /json_proto [14:37:18]query_string will be loaded in cgi processing [14:37:18]execute_cgi json_proto POST (null) [14:37:18]execute_cgi path=json_proto method=POST [14:37:18]POST find Content-Length [14:37:18]Host: 172.17.50.4:8080 [14:37:18]Content-Length: 619 [14:37:18]Content-Type: application/json [14:37:18] [14:37:18]POST finish read [14:37:18]Found Content-Length = 619 [14:37:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134861", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS 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" ] } } [14:37:18]execute_script... [14:37:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134861", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS 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" ] } } [14:37:18]POST & json_proto [14:37:18]process_json_proto [14:37:18]json parsed OK: [14:37:18]protocol is kg_v1.0 [14:37:18]action value=close_receipt [14:37:18]process_action close_receipt [14:37:18]cmd_close_receipt [14:37:18]MH_GetDate [14:37:18]Write to MH i2c: F0 00 00 19 0A 12 [14:37:18]Write i2c OK [14:37:18]MH_I2C_Read... [14:37:18]Read from MH i2c: F0 [14:37:18]MH_I2C_Read... [14:37:18]Read from MH i2c: F0 09 00 [14:37:18]MH_I2C_Read... [14:37:18]Read from MH i2c: F0 09 00 19 0A 00 20 67 16 67 3B 12 16 67 E9 [14:37:18]GetLastDocTimeStamp 1729521277 [14:37:18]current date 1729521440 [14:37:18]FM_GetShiftState [14:37:18]SAM_PROTO_GetShiftState [14:37:18]wFMCommunicate request_size=4 [14:37:18]MH_SAM_APDU [14:37:18]CAPDU: 80 13 01 00 [14:37:18]Write to MH i2c: E2 08 00 1A 0A 80 13 01 00 00 00 00 00 A1 [14:37:18]Write i2c OK [14:37:18]MH_I2C_Read... [14:37:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:37:18]Read from MH i2c: E2 [14:37:18]MH_I2C_Read... [14:37:18]Read from MH i2c: E2 0E 00 [14:37:18]MH_I2C_Read... [14:37:18]Read from MH i2c: E2 0E 00 1A 0A 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 EB [14:37:18]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [14:37:18]wFMCommunicate OK [14:37:18]SAM_PROTO_GetShiftState done [14:37:18]FM_GetShiftState done [14:37:18]opened in 1729469223 [14:37:18]opened+sec_in_day 1729555623 [14:37:18]quantity*price = 14400 [14:37:18]sum+1 = 14401 [14:37:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 44 21.10.2024 14:37 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24340 ФПД: 178873993615164 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T143720&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24340&fm=178873993615164&tin=02508201610067®Number=0000000000098120&sum=14400 0 [14:37:19]StoreToDocumentArchive [14:37:19]shift 461 fd 24340 [14:37:19]save to /storage/0461/doc_00024340 [14:37:19]save last doc name /storage/0461/doc_00024340 to /storage/kkm_last_doc_name [14:37:19]save OK [14:37:19]Clear old archive folders... [14:37:19]ProcessDocumentItem done err = 0, tmpTLVsize=271 [14:37:19]tlvbuf is 00338880 [14:37:19]SAM_PROTO_ClearQueue [14:37:19]wFMCommunicate request_size=4 [14:37:19]MH_SAM_APDU [14:37:19]CAPDU: 80 09 00 00 [14:37:19]Write to MH i2c: E2 08 00 27 0A 80 09 00 00 00 00 00 00 A3 [14:37:19]Write i2c OK [14:37:19]MH_I2C_Read... [14:37:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:37:19]Read from MH i2c: E2 [14:37:19]MH_I2C_Read... [14:37:19]Read from MH i2c: E2 03 00 [14:37:19]MH_I2C_Read... [14:37:19]Read from MH i2c: E2 03 00 27 0A 00 90 00 A5 [14:37:19]RAPDU: 90 00 [14:37:19]wFMCommunicate OK [14:37:19]SAM_PROTO_ClearQueue done [14:37:19]KKMCreateOFDPacket [14:37:19]OFDProtocolAddRootSTLVToBuf [14:37:19]FM_MakeSignedData [14:37:19]FM_MakeSignedData [14:37:19]SAM_PROTO_SignData [14:37:19]wFMCommunicate request_size=4 [14:37:19]MH_SAM_APDU [14:37:19]CAPDU: 80 0D 01 02 [14:37:19]Write to MH i2c: E2 08 00 28 0A 80 0D 01 02 00 00 00 00 AB [14:37:19]Write i2c OK [14:37:19]MH_I2C_Read... [14:37:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:37:19]Read from MH i2c: E2 [14:37:19]MH_I2C_Read... [14:37:19]Read from MH i2c: E2 03 00 [14:37:19]MH_I2C_Read... [14:37:19]Read from MH i2c: E2 03 00 28 0A 00 90 00 A6 [14:37:19]RAPDU: 90 00 [14:37:19]wFMCommunicate OK [14:37:19]wFMCommunicate request_size=255 [14:37:19]MH_SAM_APDU [14:37:19]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 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 2C 00 00 00 F4 03 04 00 20 67 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 [14:37:19]Write to MH i2c: E2 02 01 29 0A 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 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 2C 00 00 00 F4 03 04 00 20 67 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 9D [14:37:19]Write i2c OK [14:37:19]MH_I2C_Read... [14:37:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:37:19]Read from MH i2c: E2 [14:37:19]MH_I2C_Read... [14:37:19]Read from MH i2c: E2 03 00 [14:37:19]MH_I2C_Read... [14:37:19]Read from MH i2c: E2 03 00 29 0A 00 90 00 A7 [14:37:19]RAPDU: 90 00 [14:37:19]wFMCommunicate OK [14:37:19]wFMCommunicate request_size=30 [14:37:19]MH_SAM_APDU [14:37:19]CAPDU: 80 0D 02 02 19 30 39 36 35 34 32 30 10 04 04 00 14 5F 00 00 35 04 06 00 A2 AF 58 D9 57 3C [14:37:19]Write to MH i2c: E2 21 00 2A 0A 80 0D 02 02 19 00 30 39 36 35 34 32 30 10 04 04 00 14 5F 00 00 35 04 06 00 A2 AF 58 D9 57 3C 00 00 29 [14:37:19]Write i2c OK [14:37:19]MH_I2C_Read... [14:37:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:37:19]Read from MH i2c: E2 [14:37:19]MH_I2C_Read... [14:37:19]Read from MH i2c: E2 03 00 [14:37:19]MH_I2C_Read... [14:37:19]Read from MH i2c: E2 03 00 2A 0A 00 90 00 A8 [14:37:19]RAPDU: 90 00 [14:37:19]wFMCommunicate OK [14:37:19]wFMCommunicate request_size=4 [14:37:19]MH_SAM_APDU [14:37:19]CAPDU: 80 0D 03 02 [14:37:19]Write to MH i2c: E2 08 00 2B 0A 80 0D 03 02 00 00 00 00 B0 [14:37:19]Write i2c OK [14:37:19]MH_I2C_Read... [14:37:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:37:19]Read from MH i2c: E2 [14:37:19]MH_I2C_Read... [14:37:19]Read from MH i2c: E2 0B 00 [14:37:19]MH_I2C_Read... [14:37:19]Read from MH i2c: E2 0B 00 2B 0A 00 12 9C 23 A9 8F 1B 58 F7 90 00 24 [14:37:19]RAPDU: 12 9C 23 A9 8F 1B 58 F7 90 00 [14:37:19]wFMCommunicate OK [14:37:19]SAM_PROTO_SignData done [14:37:19]FM_MakeSignedData done [14:37:19]CreateOFDProtocolMessage [14:37:19]wFMCommunicate request_size=4 [14:37:19]MH_SAM_APDU [14:37:19]CAPDU: 80 11 00 00 [14:37:19]Write to MH i2c: E2 08 00 2C 0A 80 11 00 00 00 00 00 00 B0 [14:37:19]Write i2c OK [14:37:19]MH_I2C_Read... [14:37:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:37:20]Read from MH i2c: E2 [14:37:20]MH_I2C_Read... [14:37:20]Read from MH i2c: E2 17 00 [14:37:20]MH_I2C_Read... [14:37:20]Read from MH i2c: E2 17 00 2C 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 FD [14:37:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [14:37:20]wFMCommunicate OK [14:37:20]CreateOFDProtocolMessage done [14:37:20]OFDSenderStorePacket 24340 [14:37:20]StoreOFDPacket docnum=24340 [14:37:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 23 01 00 00 53 0E 1B 01 1C 19 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 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 2C 00 00 00 F4 03 04 00 20 67 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 14 5F 00 00 35 04 06 00 A2 AF 58 D9 57 3C 12 9C 23 A9 8F 1B 58 F7 [14:37:20]CheckFolder [14:37:20]dirname=/storage/ofd_packets [14:37:20]CheckFolder done [14:37:20]ProducePacketName [14:37:20]name=ofd_packets/00024340 [14:37:20]NVStorageSaveData ofd_packets/00024340 [14:37:20]File name is /storage/ofd_packets/00024340 [14:37:20]Write 321 bytes [14:37:20]NVStorageSaveData done [14:37:20]OFDSenderStorePacket done [14:37:20]KKMCreateOFDPacket done [14:37:20]NVStorageSaveData kkm_last_timestamp [14:37:20]File name is /storage/kkm_last_timestamp [14:37:20]Write 4 bytes [14:37:20]NVStorageSaveData done [14:37:20]ExternCall_PrintAddStr [14:37:20]wPrintStart [14:37:20]Write to MH i2c: 01 00 00 2D 0A 37 [14:37:20]OFD Sender: Processing packet 24340 [packets to send 5, broken 4] [14:37:20]ProducePacketName [14:37:20]name=ofd_packets/00024340 [14:37:20]OFD Sender: To server: pG, [14:37:20]CommunicateWithHost lk.salyk.kg:30040 [14:37:20]ConnectInit lk.salyk.kg [14:37:20]Write i2c OK [14:37:20]MH_I2C_Read... [14:37:20]Read from MH i2c: 01 [14:37:20]MH_I2C_Read... [14:37:20]Read from MH i2c: 01 07 00 [14:37:20]MH_I2C_Read... [14:37:20]Read from MH i2c: 01 07 00 2D 0A 00 00 00 00 00 FF 0F 4C [14:37:20]RasterBufferAndPrint [14:37:20]line Счет N : (3)134861 [14:37:20]line ИНН: 02508201610067 [14:37:20]line Контрольно-Кассовый Чек [14:37:20]line ПРОДАЖА [14:37:20]line Товар: 47802995 [14:37:20]line Сигареты Winston XS Silver [14:37:20]line 1.000 * 144.00 [14:37:20]line = 144.00 [14:37:20]line НДС 12% НСП 1% [14:37:20]line > о реализуемом товаре [14:37:20]line ИТОГО: 144.00 [14:37:20]line НСП 1% : 1.27 [14:37:20]line НДС 12% : 15.29 [14:37:20]line Наличными: 144.00 [14:37:20]line Безнал.: 0.00 [14:37:20]line Место: АЗС № 85 "Партнер Нефть" [14:37:20]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [14:37:20]line СНО: Общий режим [14:37:20]line Чек 44 21.10.2024 14:37 [14:37:20]line Смена: 461 ФФД: 1.0 [14:37:20]line ЗНМ: 0300000166 [14:37:20]line РНМ: 0000000000098120 [14:37:20]line Версия ККМ: 001 [14:37:20]line ФМ: 0000000000965420 [14:37:20]line ФД: 24340 [14:37:20]line ФПД: 178873993615164 [14:37:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T143720&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24340&fm=178873993615164&tin=02508201610067®Number=0000000000098120&sum=14400 [14:37:20]line 0 [14:37:20]Connected sock=10 [14:37:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 23 01 00 00 53 0E 1B 01 1C 19 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 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 2C 00 00 00 F4 03 04 00 20 67 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 14 5F 00 00 35 04 06 00 A2 AF 58 D9 57 3C 12 9C 23 A9 8F 1B 58 F7 [14:37:20]written 0, free lines is 4095 [14:37:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 6E DA 47 00 33 91 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 34 32 30 10 04 04 00 14 5F 00 00 F4 03 04 00 C6 12 16 67 B6 04 01 00 00 E8 19 16 6A 71 35 35 3D [14:37:20]CommunicateWithHost err = 0 [14:37:20]CheckOFDResponse [14:37:20]1017 (14) - 77093643461234 [14:37:20]1041 (16) - 0000000000965420 [14:37:20]1040 (4) - 24340 [14:37:20]1012 (4) - 21.10.2024 08:37 [14:37:20]1206 (1) - 0 [14:37:20]OFD Sender: Remove packet 24340 [14:37:20]ProducePacketName [14:37:20]name=ofd_packets/00024340 [14:37:20]NVStorageDeleteData [14:37:20]Write to MH i2c: 01 00 00 55 0A 5F [14:37:20]Write i2c OK [14:37:20]MH_I2C_Read... [14:37:20]Read from MH i2c: 01 [14:37:20]MH_I2C_Read... [14:37:20]Read from MH i2c: 01 07 00 [14:37:20]MH_I2C_Read... [14:37:20]Read from MH i2c: 01 07 00 55 0A 00 00 00 00 00 15 0D 88 [14:37:20]RasterBufferAndPrint [14:37:20]line [14:37:20]line [14:37:20]line [14:37:20]line [14:37:20]line [14:37:20]written 0, free lines is 3357 [14:37:20]process_action close_receipt done [14:37:20]requested_data is exist [14:37:20]produce_requested_data [14:37:20]requested_item fm.sn is exist - process it [14:37:20]wFMCommunicate request_size=4 [14:37:20]MH_SAM_APDU [14:37:20]CAPDU: 80 11 00 00 [14:37:20]Write to MH i2c: E2 08 00 5C 0A 80 11 00 00 00 00 00 00 E0 [14:37:20]Write i2c OK [14:37:20]MH_I2C_Read... [14:37:20]Read from MH i2c: E2 [14:37:20]MH_I2C_Read... [14:37:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:37:20]Read from MH i2c: E2 17 00 [14:37:20]MH_I2C_Read... [14:37:20]Read from MH i2c: E2 17 00 5C 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 2D [14:37:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [14:37:20]wFMCommunicate OK [14:37:20]requested_item fd.num is exist - process it [14:37:20]SAM_PROTO_GetFieldsCounters [14:37:20]wFMCommunicate request_size=4 [14:37:20]MH_SAM_APDU [14:37:20]CAPDU: 80 13 00 00 [14:37:20]Write to MH i2c: E2 08 00 5D 0A 80 13 00 00 00 00 00 00 E3 [14:37:20]Write i2c OK [14:37:20]MH_I2C_Read... [14:37:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:37:21]Read from MH i2c: E2 [14:37:21]MH_I2C_Read... [14:37:21]Read from MH i2c: E2 62 00 [14:37:21]MH_I2C_Read... [14:37:21]Read from MH i2c: E2 62 00 5D 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 14 5F 00 00 0E 04 04 00 CD 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 BE [14:37: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 14 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:37:21]wFMCommunicate OK [14:37:21]SAM_PROTO_GetFieldsCounters done [14:37:21]requested_item shift.num is exist - process it [14:37:21]requested_item shift.opened is exist - process it [14:37:21]req_shift_opened [14:37:21]FM_GetShiftState [14:37:21]SAM_PROTO_GetShiftState [14:37:21]wFMCommunicate request_size=4 [14:37:21]MH_SAM_APDU [14:37:21]CAPDU: 80 13 01 00 [14:37:21]Write to MH i2c: E2 08 00 5E 0A 80 13 01 00 00 00 00 00 E5 [14:37:21]Write i2c OK [14:37:21]MH_I2C_Read... [14:37:21]OFD Sender: No OFD packet to send [14:37:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:37:21]Read from MH i2c: E2 [14:37:21]MH_I2C_Read... [14:37:21]Read from MH i2c: E2 0E 00 [14:37:21]MH_I2C_Read... [14:37:21]Read from MH i2c: E2 0E 00 5E 0A 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 2F [14:37:21]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [14:37:21]wFMCommunicate OK [14:37:21]SAM_PROTO_GetShiftState done [14:37:21]FM_GetShiftState done [14:37:21]req_shift_opened done [14:37:21]requested_item shift.open_date is exist - process it [14:37:21]req_shift_open_date [14:37:21]req_shift_open_date done [14:37:21]produce_requested_data done [14:37:21]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24340,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [14:37:21]process_action_free close_receipt [14:37:21]json_value_free [14:37:21]json_value_free done [14:37:21]process_json_proto returns [14:37:21]Send response to host [14:37:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24340,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [14:37:21]free response buf [14:37:21]execute_script done [14:37:21]execute_script returns [14:37:21]free content buf [14:37:21]Sock 9.Close socket [14:37:21]Sock 9.Thread stoped [14:37:26]OFD Sender: No OFD packet to send [14:37:31]OFD Sender: No OFD packet to send [14:37:36]OFD Sender: No OFD packet to send [14:37:41]OFD Sender: No OFD packet to send [14:37:46]OFD Sender: No OFD packet to send [14:37:51]OFD Sender: No OFD packet to send [14:37:56]OFD Sender: No OFD packet to send [14:38:01]OFD Sender: No OFD packet to send [14:38:06]OFD Sender: No OFD packet to send [14:38:11]OFD Sender: No OFD packet to send [14:38:16]OFD Sender: No OFD packet to send [14:38:21]OFD Sender: No OFD packet to send [14:38:26]OFD Sender: No OFD packet to send [14:38:31]OFD Sender: No OFD packet to send [14:38:36]OFD Sender: No OFD packet to send [14:38:41]OFD Sender: No OFD packet to send [14:38:46]OFD Sender: No OFD packet to send [14:38:51]OFD Sender: No OFD packet to send [14:38:56]OFD Sender: No OFD packet to send [14:39:01]OFD Sender: No OFD packet to send [14:39:06]OFD Sender: No OFD packet to send [14:39:11]OFD Sender: No OFD packet to send [14:39:16]OFD Sender: No OFD packet to send [14:39:21]OFD Sender: No OFD packet to send [14:39:26]OFD Sender: No OFD packet to send [14:39:31]OFD Sender: No OFD packet to send [14:39:36]OFD Sender: No OFD packet to send [14:39:41]OFD Sender: No OFD packet to send [14:39:46]OFD Sender: No OFD packet to send [14:39:51]OFD Sender: No OFD packet to send [14:39:56]OFD Sender: No OFD packet to send [14:40:01]OFD Sender: No OFD packet to send [14:40:06]OFD Sender: No OFD packet to send [14:40:11]OFD Sender: No OFD packet to send [14:40:16]OFD Sender: No OFD packet to send [14:40:21]OFD Sender: No OFD packet to send [14:40:26]OFD Sender: No OFD packet to send [14:40:31]OFD Sender: No OFD packet to send [14:40:36]OFD Sender: No OFD packet to send [14:40:41]OFD Sender: No OFD packet to send [14:40:46]OFD Sender: No OFD packet to send [14:40:51]OFD Sender: No OFD packet to send [14:40:56]OFD Sender: No OFD packet to send [14:41:01]OFD Sender: No OFD packet to send [14:41:06]OFD Sender: No OFD packet to send [14:41:11]OFD Sender: No OFD packet to send [14:41:16]OFD Sender: No OFD packet to send [14:41:21]OFD Sender: No OFD packet to send [14:41:26]OFD Sender: No OFD packet to send [14:41:31]OFD Sender: No OFD packet to send [14:41:36]OFD Sender: No OFD packet to send [14:41:41]OFD Sender: No OFD packet to send [14:41:46]OFD Sender: No OFD packet to send [14:41:51]OFD Sender: No OFD packet to send [14:41:56]OFD Sender: No OFD packet to send [14:42:01]OFD Sender: No OFD packet to send [14:42:06]OFD Sender: No OFD packet to send [14:42:11]OFD Sender: No OFD packet to send [14:42:16]OFD Sender: No OFD packet to send [14:42:21]OFD Sender: No OFD packet to send [14:42:26]OFD Sender: No OFD packet to send [14:42:31]OFD Sender: No OFD packet to send [14:42:36]OFD Sender: No OFD packet to send [14:42:41]OFD Sender: No OFD packet to send [14:42:46]OFD Sender: No OFD packet to send [14:42:51]OFD Sender: No OFD packet to send [14:42:56]OFD Sender: No OFD packet to send [14:43:01]OFD Sender: No OFD packet to send [14:43:06]OFD Sender: No OFD packet to send [14:43:11]OFD Sender: No OFD packet to send [14:43:16]OFD Sender: No OFD packet to send [14:43:21]OFD Sender: No OFD packet to send [14:43:26]OFD Sender: No OFD packet to send [14:43:31]OFD Sender: No OFD packet to send [14:43:36]OFD Sender: No OFD packet to send [14:43:41]OFD Sender: No OFD packet to send [14:43:46]OFD Sender: No OFD packet to send [14:43:51]OFD Sender: No OFD packet to send [14:43:56]OFD Sender: No OFD packet to send [14:44:01]OFD Sender: No OFD packet to send [14:44:06]OFD Sender: No OFD packet to send [14:44:11]OFD Sender: No OFD packet to send [14:44:16]OFD Sender: No OFD packet to send [14:44:21]OFD Sender: No OFD packet to send [14:44:26]OFD Sender: No OFD packet to send [14:44:31]OFD Sender: No OFD packet to send [14:44:36]OFD Sender: No OFD packet to send [14:44:41]OFD Sender: No OFD packet to send [14:44:46]OFD Sender: No OFD packet to send [14:44:51]OFD Sender: No OFD packet to send [14:44:56]OFD Sender: No OFD packet to send [14:45:01]OFD Sender: No OFD packet to send [14:45:06]OFD Sender: No OFD packet to send [14:45:11]OFD Sender: No OFD packet to send [14:45:16]OFD Sender: No OFD packet to send [14:45:21]OFD Sender: No OFD packet to send [14:45:26]OFD Sender: No OFD packet to send [14:45:31]OFD Sender: No OFD packet to send [14:45:36]OFD Sender: No OFD packet to send [14:45:41]OFD Sender: No OFD packet to send [14:45:46]OFD Sender: No OFD packet to send [14:45:51]OFD Sender: No OFD packet to send [14:45:56]OFD Sender: No OFD packet to send [14:46:01]OFD Sender: No OFD packet to send [14:46:06]OFD Sender: No OFD packet to send [14:46:11]OFD Sender: No OFD packet to send [14:46:16]OFD Sender: No OFD packet to send [14:46:21]OFD Sender: No OFD packet to send [14:46:26]OFD Sender: No OFD packet to send [14:46:31]OFD Sender: No OFD packet to send [14:46:36]OFD Sender: No OFD packet to send [14:46:41]OFD Sender: No OFD packet to send [14:46:46]OFD Sender: No OFD packet to send [14:46:51]OFD Sender: No OFD packet to send [14:46:56]OFD Sender: No OFD packet to send [14:47:01]OFD Sender: No OFD packet to send [14:47:06]OFD Sender: No OFD packet to send [14:47:11]OFD Sender: No OFD packet to send [14:47:16]OFD Sender: No OFD packet to send [14:47:21]OFD Sender: No OFD packet to send [14:47:26]OFD Sender: No OFD packet to send [14:47:31]OFD Sender: No OFD packet to send [14:47:36]OFD Sender: No OFD packet to send [14:47:41]OFD Sender: No OFD packet to send [14:47:46]OFD Sender: No OFD packet to send [14:47:51]OFD Sender: No OFD packet to send [14:47:56]OFD Sender: No OFD packet to send [14:48:01]OFD Sender: No OFD packet to send [14:48:06]OFD Sender: No OFD packet to send [14:48:11]OFD Sender: No OFD packet to send [14:48:16]OFD Sender: No OFD packet to send [14:48:21]OFD Sender: No OFD packet to send [14:48:26]OFD Sender: No OFD packet to send [14:48:31]OFD Sender: No OFD packet to send [14:48:36]OFD Sender: No OFD packet to send [14:48:41]OFD Sender: No OFD packet to send [14:48:46]OFD Sender: No OFD packet to send [14:48:51]OFD Sender: No OFD packet to send [14:48:56]OFD Sender: No OFD packet to send [14:49:01]OFD Sender: No OFD packet to send [14:49:06]OFD Sender: No OFD packet to send [14:49:11]OFD Sender: No OFD packet to send [14:49:16]OFD Sender: No OFD packet to send [14:49:21]OFD Sender: No OFD packet to send [14:49:26]OFD Sender: No OFD packet to send [14:49:31]OFD Sender: No OFD packet to send [14:49:36]OFD Sender: No OFD packet to send [14:49:41]OFD Sender: No OFD packet to send [14:49:46]OFD Sender: No OFD packet to send [14:49:51]OFD Sender: No OFD packet to send [14:49:56]OFD Sender: No OFD packet to send [14:50:01]OFD Sender: No OFD packet to send [14:50:06]OFD Sender: No OFD packet to send [14:50:11]OFD Sender: No OFD packet to send [14:50:16]OFD Sender: No OFD packet to send [14:50:21]OFD Sender: No OFD packet to send [14:50:26]OFD Sender: No OFD packet to send [14:50:31]OFD Sender: No OFD packet to send [14:50:36]OFD Sender: No OFD packet to send [14:50:41]OFD Sender: No OFD packet to send [14:50:46]OFD Sender: No OFD packet to send [14:50:51]OFD Sender: No OFD packet to send [14:50:56]OFD Sender: No OFD packet to send [14:51:01]OFD Sender: No OFD packet to send [14:51:06]OFD Sender: No OFD packet to send [14:51:11]OFD Sender: No OFD packet to send [14:51:16]OFD Sender: No OFD packet to send [14:51:21]OFD Sender: No OFD packet to send [14:51:26]OFD Sender: No OFD packet to send [14:51:31]OFD Sender: No OFD packet to send [14:51:36]OFD Sender: No OFD packet to send [14:51:41]OFD Sender: No OFD packet to send [14:51:46]OFD Sender: No OFD packet to send [14:51:51]OFD Sender: No OFD packet to send [14:51:56]OFD Sender: No OFD packet to send [14:52:01]OFD Sender: No OFD packet to send [14:52:06]OFD Sender: No OFD packet to send [14:52:11]OFD Sender: No OFD packet to send [14:52:16]OFD Sender: No OFD packet to send [14:52:21]OFD Sender: No OFD packet to send [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:27]OFD Sender: No OFD packet to send [14:57:32]OFD Sender: No OFD packet to send [14:57:37]OFD Sender: No OFD packet to send [14:57:42]OFD Sender: No OFD packet to send [14:57:47]OFD Sender: No OFD packet to send [14:57:52]OFD Sender: No OFD packet to send [14:57:57]OFD Sender: No OFD packet to send [14:58:02]OFD Sender: No OFD packet to send [14:58:07]OFD Sender: No OFD packet to send [14:58:12]OFD Sender: No OFD packet to send [14:58:17]OFD Sender: No OFD packet to send [14:58:22]OFD Sender: No OFD packet to send [14:58:27]OFD Sender: No OFD packet to send [14:58:32]OFD Sender: No OFD packet to send [14:58:37]OFD Sender: No OFD packet to send [14:58:42]OFD Sender: No OFD packet to send [14:58:47]OFD Sender: No OFD packet to send [14:58:52]OFD Sender: No OFD packet to send [14:58:57]OFD Sender: No OFD packet to send [14:59:02]OFD Sender: No OFD packet to send [14:59:07]OFD Sender: No OFD packet to send [14:59:12]OFD Sender: No OFD packet to send [14:59:17]OFD Sender: No OFD packet to send [14:59:22]OFD Sender: No OFD packet to send [14:59:27]OFD Sender: No OFD packet to send [14:59:32]OFD Sender: No OFD packet to send [14:59:37]OFD Sender: No OFD packet to send [14:59:42]OFD Sender: No OFD packet to send [14:59:47]OFD Sender: No OFD packet to send [14:59:52]OFD Sender: No OFD packet to send [14:59:57]OFD Sender: No OFD packet to send [15:00:02]OFD Sender: No OFD packet to send [15:00:07]OFD Sender: No OFD packet to send [15:00:12]OFD Sender: No OFD packet to send [15:00:17]OFD Sender: No OFD packet to send [15:00:22]OFD Sender: No OFD packet to send [15:00:27]OFD Sender: No OFD packet to send [15:00:32]OFD Sender: No OFD packet to send [15:00:37]OFD Sender: No OFD packet to send [15:00:42]OFD Sender: No OFD packet to send [15:00:47]OFD Sender: No OFD packet to send [15:00:52]OFD Sender: No OFD packet to send [15:00:57]OFD Sender: No OFD packet to send [15:01:02]OFD Sender: No OFD packet to send [15:01:07]OFD Sender: No OFD packet to send [15:01:12]OFD Sender: No OFD packet to send [15:01:17]OFD Sender: No OFD packet to send [15:01:22]OFD Sender: No OFD packet to send [15:01:27]OFD Sender: No OFD packet to send [15:01:32]OFD Sender: No OFD packet to send [15:01:37]OFD Sender: No OFD packet to send [15:01:42]OFD Sender: No OFD packet to send [15:01:47]OFD Sender: No OFD packet to send [15:01:52]OFD Sender: No OFD packet to send [15:01:57]OFD Sender: No OFD packet to send [15:02:02]OFD Sender: No OFD packet to send [15:02:07]OFD Sender: No OFD packet to send [15:02:12]OFD Sender: No OFD packet to send [15:02:17]OFD Sender: No OFD packet to send [15:02:22]OFD Sender: No OFD packet to send [15:02:27]OFD Sender: No OFD packet to send [15:02:32]OFD Sender: No OFD packet to send [15:02:37]OFD Sender: No OFD packet to send [15:02:42]OFD Sender: No OFD packet to send [15:02:47]OFD Sender: No OFD packet to send [15:02:52]OFD Sender: No OFD packet to send [15:02:57]OFD Sender: No OFD packet to send [15:03:02]OFD Sender: No OFD packet to send [15:03:07]OFD Sender: No OFD packet to send [15:03:12]OFD Sender: No OFD packet to send [15:03:17]OFD Sender: No OFD packet to send [15:03:22]OFD Sender: No OFD packet to send [15:03:27]OFD Sender: No OFD packet to send [15:03:32]OFD Sender: No OFD packet to send [15:03:37]OFD Sender: No OFD packet to send [15:03:42]OFD Sender: No OFD packet to send [15:03:47]OFD Sender: No OFD packet to send [15:03:52]OFD Sender: No OFD packet to send [15:03:57]OFD Sender: No OFD packet to send [15:04:02]OFD Sender: No OFD packet to send [15:04:07]OFD Sender: No OFD packet to send [15:04:12]OFD Sender: No OFD packet to send [15:04:17]OFD Sender: No OFD packet to send [15:04:22]OFD Sender: No OFD packet to send [15:04:27]OFD Sender: No OFD packet to send [15:04:32]OFD Sender: No OFD packet to send [15:04:37]OFD Sender: No OFD packet to send [15:04:42]OFD Sender: No OFD packet to send [15:04:47]OFD Sender: No OFD packet to send [15:04:52]OFD Sender: No OFD packet to send [15:04:57]OFD Sender: No OFD packet to send [15:05:02]OFD Sender: No OFD packet to send [15:05:07]OFD Sender: No OFD packet to send [15:05:12]OFD Sender: No OFD packet to send [15:05:17]OFD Sender: No OFD packet to send [15:05:22]OFD Sender: No OFD packet to send [15:05:27]OFD Sender: No OFD packet to send [15:05:32]OFD Sender: No OFD packet to send [15:05:37]OFD Sender: No OFD packet to send [15:05:42]OFD Sender: No OFD packet to send [15:05:47]OFD Sender: No OFD packet to send [15:05:52]OFD Sender: No OFD packet to send [15:05:57]OFD Sender: No OFD packet to send [15:06:02]OFD Sender: No OFD packet to send [15:06:07]OFD Sender: No OFD packet to send [15:06:12]OFD Sender: No OFD packet to send [15:06:17]OFD Sender: No OFD packet to send [15:06:22]OFD Sender: No OFD packet to send [15:06:27]OFD Sender: No OFD packet to send [15:06:32]OFD Sender: No OFD packet to send [15:06:37]OFD Sender: No OFD packet to send [15:06:42]OFD Sender: No OFD packet to send [15:06:47]OFD Sender: No OFD packet to send [15:06:52]OFD Sender: No OFD packet to send [15:06:57]OFD Sender: No OFD packet to send [15:07:02]OFD Sender: No OFD packet to send [15:07:07]OFD Sender: No OFD packet to send [15:07:12]OFD Sender: No OFD packet to send [15:07:17]OFD Sender: No OFD packet to send [15:07:22]OFD Sender: No OFD packet to send [15:07:27]OFD Sender: No OFD packet to send [15:07:32]OFD Sender: No OFD packet to send [15:07:37]OFD Sender: No OFD packet to send [15:07:42]OFD Sender: No OFD packet to send [15:07:47]OFD Sender: No OFD packet to send [15:07:52]OFD Sender: No OFD packet to send [15:07:57]OFD Sender: No OFD packet to send [15:08:02]OFD Sender: No OFD packet to send [15:08:07]OFD Sender: No OFD packet to send [15:08:12]OFD Sender: No OFD packet to send [15:08:17]OFD Sender: No OFD packet to send [15:08:22]OFD Sender: No OFD packet to send [15:08:27]OFD Sender: No OFD packet to send [15:08:32]OFD Sender: No OFD packet to send [15:08:37]OFD Sender: No OFD packet to send [15:08:42]OFD Sender: No OFD packet to send [15:08:47]OFD Sender: No OFD packet to send [15:08:52]OFD Sender: No OFD packet to send [15:08:57]OFD Sender: No OFD packet to send [15:09:02]OFD Sender: No OFD packet to send [15:09:07]OFD Sender: No OFD packet to send [15:09:12]OFD Sender: No OFD packet to send [15:09:17]OFD Sender: No OFD packet to send [15:09:22]OFD Sender: No OFD packet to send [15:09:27]OFD Sender: No OFD packet to send [15:09:32]OFD Sender: No OFD packet to send [15:09:37]OFD Sender: No OFD packet to send [15:09:42]OFD Sender: No OFD packet to send [15:09:47]OFD Sender: No OFD packet to send [15:09:52]OFD Sender: No OFD packet to send [15:09:57]OFD Sender: No OFD packet to send [15:10:02]OFD Sender: No OFD packet to send [15:10:07]OFD Sender: No OFD packet to send [15:10:12]OFD Sender: No OFD packet to send [15:10:17]OFD Sender: No OFD packet to send [15:10:22]OFD Sender: No OFD packet to send [15:10:27]OFD Sender: No OFD packet to send [15:10:32]OFD Sender: No OFD packet to send [15:10:37]OFD Sender: No OFD packet to send [15:10:42]OFD Sender: No OFD packet to send [15:10:47]OFD Sender: No OFD packet to send [15:10:52]OFD Sender: No OFD packet to send [15:10:57]OFD Sender: No OFD packet to send [15:11:02]OFD Sender: No OFD packet to send [15:11:07]OFD Sender: No OFD packet to send [15:11:12]OFD Sender: No OFD packet to send [15:11:17]OFD Sender: No OFD packet to send [15:11:22]OFD Sender: No OFD packet to send [15:11:27]OFD Sender: No OFD packet to send [15:11:32]OFD Sender: No OFD packet to send [15:11:37]OFD Sender: No OFD packet to send [15:11:42]OFD Sender: No OFD packet to send [15:11:47]OFD Sender: No OFD packet to send [15:11:52]OFD Sender: No OFD packet to send [15:11:57]OFD Sender: No OFD packet to send [15:12:02]OFD Sender: No OFD packet to send [15:12:07]OFD Sender: No OFD packet to send [15:12:12]OFD Sender: No OFD packet to send [15:12:17]OFD Sender: No OFD packet to send [15:12:22]OFD Sender: No OFD packet to send [15:12:27]OFD Sender: No OFD packet to send [15:12:32]OFD Sender: No OFD packet to send [15:12:37]OFD Sender: No OFD packet to send [15:12:42]OFD Sender: No OFD packet to send [15:12:47]OFD Sender: No OFD packet to send [15:12:52]OFD Sender: No OFD packet to send [15:12:57]OFD Sender: No OFD packet to send [15:13:02]OFD Sender: No OFD packet to send [15:13:07]OFD Sender: No OFD packet to send [15:13:12]OFD Sender: No OFD packet to send [15:13:17]OFD Sender: No OFD packet to send [15:13:22]OFD Sender: No OFD packet to send [15:13:27]OFD Sender: No OFD packet to send [15:13:32]OFD Sender: No OFD packet to send [15:13:37]OFD Sender: No OFD packet to send [15:13:42]OFD Sender: No OFD packet to send [15:13:47]OFD Sender: No OFD packet to send [15:13:52]OFD Sender: No OFD packet to send [15:13:57]OFD Sender: No OFD packet to send [15:14:02]OFD Sender: No OFD packet to send [15:14:07]OFD Sender: No OFD packet to send [15:14:10]accept exits with 8 [15:14:10]New connection [15:14:10]New thread 3067084132 created [15:14:10]Thread 3066940772 joined [15:14:10]Waiting for new connection... [15:14:10] Sock 8.Parse request [15:14:10]Sock 8.Check first char [15:14:10]Sock 8.First char is OK [15:14:10]request: POST /json_proto HTTP/1.0 [15:14:10]Method: POST [15:14:10]URL: /json_proto [15:14:10]Method is POST - this is cgi request [15:14:10]url: /json_proto [15:14:10]query_string will be loaded in cgi processing [15:14:10]execute_cgi json_proto POST (null) [15:14:10]execute_cgi path=json_proto method=POST [15:14:10]POST find Content-Length [15:14:10]Host: 172.17.50.4:8080 [15:14:10]Content-Length: 870 [15:14:10]Content-Type: application/json [15:14:10] [15:14:10]POST finish read [15:14:10]Found Content-Length = 870 [15:14:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134862", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 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" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:14:10]execute_script... [15:14: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)134862", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 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" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:14:10]POST & json_proto [15:14:10]process_json_proto [15:14:10]json parsed OK: [15:14:10]protocol is kg_v1.0 [15:14:10]action value=close_receipt [15:14:10]process_action close_receipt [15:14:10]cmd_close_receipt [15:14:10]MH_GetDate [15:14:10]Write to MH i2c: F0 00 00 5F 0A 58 [15:14:10]Write i2c OK [15:14:10]MH_I2C_Read... [15:14:10]Read from MH i2c: F0 [15:14:10]MH_I2C_Read... [15:14:10]Read from MH i2c: F0 09 00 [15:14:10]MH_I2C_Read... [15:14:10]Read from MH i2c: F0 09 00 5F 0A 00 C4 6F 16 67 3B 12 16 67 DB [15:14:10]GetLastDocTimeStamp 1729521440 [15:14:10]current date 1729523652 [15:14:10]FM_GetShiftState [15:14:10]SAM_PROTO_GetShiftState [15:14:10]wFMCommunicate request_size=4 [15:14:10]MH_SAM_APDU [15:14:10]CAPDU: 80 13 01 00 [15:14:10]Write to MH i2c: E2 08 00 60 0A 80 13 01 00 00 00 00 00 E7 [15:14:10]Write i2c OK [15:14:10]MH_I2C_Read... [15:14:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:14:10]Read from MH i2c: E2 [15:14:10]MH_I2C_Read... [15:14:10]Read from MH i2c: E2 0E 00 [15:14:10]MH_I2C_Read... [15:14:10]Read from MH i2c: E2 0E 00 60 0A 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 31 [15:14:10]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [15:14:10]wFMCommunicate OK [15:14:10]SAM_PROTO_GetShiftState done [15:14:10]FM_GetShiftState done [15:14:10]opened in 1729469223 [15:14:10]opened+sec_in_day 1729555623 [15:14:10]quantity*price = 6000 [15:14:10]sum+1 = 6001 [15:14:10]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46231529 Mentos ПФ Арбуз 6*100*2 2.000 * 10.00 = 20.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.49 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 45 21.10.2024 15:14 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24341 ФПД: 71628408424242 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T151412&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24341&fm=71628408424242&tin=02508201610067®Number=0000000000098120&sum=8000 0 [15:14:11]StoreToDocumentArchive [15:14:11]shift 461 fd 24341 [15:14:11]save to /storage/0461/doc_00024341 [15:14:11]save last doc name /storage/0461/doc_00024341 to /storage/kkm_last_doc_name [15:14:11]save OK [15:14:11]Clear old archive folders... [15:14:11]ProcessDocumentItem done err = 0, tmpTLVsize=373 [15:14:11]tlvbuf is 00365160 [15:14:11]SAM_PROTO_ClearQueue [15:14:11]wFMCommunicate request_size=4 [15:14:11]MH_SAM_APDU [15:14:11]CAPDU: 80 09 00 00 [15:14:11]Write to MH i2c: E2 08 00 6D 0A 80 09 00 00 00 00 00 00 E9 [15:14:11]Write i2c OK [15:14:11]MH_I2C_Read... [15:14:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:14:11]Read from MH i2c: E2 [15:14:11]MH_I2C_Read... [15:14:11]Read from MH i2c: E2 03 00 [15:14:11]MH_I2C_Read... [15:14:11]Read from MH i2c: E2 03 00 6D 0A 00 90 00 EB [15:14:11]RAPDU: 90 00 [15:14:11]wFMCommunicate OK [15:14:11]SAM_PROTO_ClearQueue done [15:14:11]KKMCreateOFDPacket [15:14:11]OFDProtocolAddRootSTLVToBuf [15:14:11]FM_MakeSignedData [15:14:11]FM_MakeSignedData [15:14:11]SAM_PROTO_SignData [15:14:11]wFMCommunicate request_size=4 [15:14:11]MH_SAM_APDU [15:14:11]CAPDU: 80 0D 01 02 [15:14:11]Write to MH i2c: E2 08 00 6E 0A 80 0D 01 02 00 00 00 00 F1 [15:14:11]Write i2c OK [15:14:11]MH_I2C_Read... [15:14:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:14:11]Read from MH i2c: E2 [15:14:11]MH_I2C_Read... [15:14:11]Read from MH i2c: E2 03 00 [15:14:11]MH_I2C_Read... [15:14:11]Read from MH i2c: E2 03 00 6E 0A 00 90 00 EC [15:14:11]RAPDU: 90 00 [15:14:11]wFMCommunicate OK [15:14:11]wFMCommunicate request_size=255 [15:14:11]MH_SAM_APDU [15:14:11]CAPDU: 80 0D 02 02 FA 03 00 75 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 [15:14:11]Write to MH i2c: E2 02 01 6F 0A 80 0D 02 02 FA 00 03 00 75 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 00 00 9A [15:14:11]Write i2c OK [15:14:11]MH_I2C_Read... [15:14:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:14:11]Read from MH i2c: E2 [15:14:11]MH_I2C_Read... [15:14:11]Read from MH i2c: E2 03 00 [15:14:11]MH_I2C_Read... [15:14:11]Read from MH i2c: E2 03 00 6F 0A 00 90 00 ED [15:14:11]RAPDU: 90 00 [15:14:11]wFMCommunicate OK [15:14:11]wFMCommunicate request_size=132 [15:14:11]MH_SAM_APDU [15:14:11]CAPDU: 80 0D 02 02 7F 03 01 00 01 F3 03 06 00 51 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 2D 00 00 00 F4 03 04 00 C4 6F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 15 5F 00 00 35 04 06 00 41 25 49 D7 07 32 [15:14:11]Write to MH i2c: E2 87 00 70 0A 80 0D 02 02 7F 00 03 01 00 01 F3 03 06 00 51 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 2D 00 00 00 F4 03 04 00 C4 6F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 15 5F 00 00 35 04 06 00 41 25 49 D7 07 32 00 00 B3 [15:14:11]Write i2c OK [15:14:11]MH_I2C_Read... [15:14:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:14:12]Read from MH i2c: E2 [15:14:12]MH_I2C_Read... [15:14:12]Read from MH i2c: E2 03 00 [15:14:12]MH_I2C_Read... [15:14:12]Read from MH i2c: E2 03 00 70 0A 00 90 00 EE [15:14:12]RAPDU: 90 00 [15:14:12]wFMCommunicate OK [15:14:12]wFMCommunicate request_size=4 [15:14:12]MH_SAM_APDU [15:14:12]CAPDU: 80 0D 03 02 [15:14:12]Write to MH i2c: E2 08 00 71 0A 80 0D 03 02 00 00 00 00 F6 [15:14:12]Write i2c OK [15:14:12]MH_I2C_Read... [15:14:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:14:12]Read from MH i2c: E2 [15:14:12]MH_I2C_Read... [15:14:12]Read from MH i2c: E2 0B 00 [15:14:12]MH_I2C_Read... [15:14:12]Read from MH i2c: E2 0B 00 71 0A 00 42 72 29 85 42 A9 18 0C 90 00 68 [15:14:12]RAPDU: 42 72 29 85 42 A9 18 0C 90 00 [15:14:12]wFMCommunicate OK [15:14:12]SAM_PROTO_SignData done [15:14:12]FM_MakeSignedData done [15:14:12]CreateOFDProtocolMessage [15:14:12]wFMCommunicate request_size=4 [15:14:12]MH_SAM_APDU [15:14:12]CAPDU: 80 11 00 00 [15:14:12]Write to MH i2c: E2 08 00 72 0A 80 11 00 00 00 00 00 00 F6 [15:14:12]Write i2c OK [15:14:12]MH_I2C_Read... [15:14:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:14:12]Read from MH i2c: E2 [15:14:12]MH_I2C_Read... [15:14:12]Read from MH i2c: E2 17 00 [15:14:12]MH_I2C_Read... [15:14:12]Read from MH i2c: E2 17 00 72 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 43 [15:14:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:14:12]wFMCommunicate OK [15:14:12]CreateOFDProtocolMessage done [15:14:12]OFDSenderStorePacket 24341 [15:14:12]StoreOFDPacket docnum=24341 [15:14:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 89 01 00 00 CD 18 81 01 E9 C0 5A 03 01 00 03 00 75 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 51 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 2D 00 00 00 F4 03 04 00 C4 6F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 15 5F 00 00 35 04 06 00 41 25 49 D7 07 32 42 72 29 85 42 A9 18 0C [15:14:12]CheckFolder [15:14:12]dirname=/storage/ofd_packets [15:14:12]CheckFolder done [15:14:12]ProducePacketName [15:14:12]name=ofd_packets/00024341 [15:14:12]NVStorageSaveData ofd_packets/00024341 [15:14:12]File name is /storage/ofd_packets/00024341 [15:14:12]Write 423 bytes [15:14:12]NVStorageSaveData done [15:14:12]OFDSenderStorePacket done [15:14:12]KKMCreateOFDPacket done [15:14:12]NVStorageSaveData kkm_last_timestamp [15:14:12]File name is /storage/kkm_last_timestamp [15:14:12]Write 4 bytes [15:14:12]NVStorageSaveData done [15:14:12]ExternCall_PrintAddStr [15:14:12]wPrintStart [15:14:12]Write to MH i2c: 01 00 00 73 0A 7D [15:14:12]Write i2c OK [15:14:12]MH_I2C_Read... [15:14:12]Read from MH i2c: 01 [15:14:12]MH_I2C_Read... [15:14:12]Read from MH i2c: 01 07 00 [15:14:12]MH_I2C_Read... [15:14:12]Read from MH i2c: 01 07 00 73 0A 00 00 00 00 00 FF 0F 92 [15:14:12]RasterBufferAndPrint [15:14:12]line Счет N : (3)134862 [15:14:12]line ИНН: 02508201610067 [15:14:12]line Контрольно-Кассовый Чек [15:14:12]line ПРОДАЖА [15:14:12]line Товар: 4700000310043 [15:14:12]line Вода Жалалабат 27 1л [15:14:12]line 1.000 * 60.00 [15:14:12]line = 60.00 [15:14:12]line НДС 12% НСП 1% [15:14:12]line > о реализуемом товаре [15:14:12]line Товар: 46231529 [15:14:12]line Mentos ПФ Арбуз 6*100*2 [15:14:12]line 2.000 * 10.00 [15:14:12]line = 20.00 [15:14:12]line НДС 12% НСП 1% [15:14:12]line > о реализуемом товаре [15:14:12]line ИТОГО: 80.00 [15:14:12]line НСП 1% : 0.71 [15:14:12]line НДС 12% : 8.49 [15:14:12]line Наличными: 80.00 [15:14:12]line Безнал.: 0.00 [15:14:12]line Место: АЗС № 85 "Партнер Нефть" [15:14:12]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [15:14:12]line СНО: Общий режим [15:14:12]line Чек 45 21.10.2024 15:14 [15:14:12]line Смена: 461 ФФД: 1.0 [15:14:12]line ЗНМ: 0300000166 [15:14:12]line РНМ: 0000000000098120 [15:14:12]line Версия ККМ: 001 [15:14:12]line ФМ: 0000000000965420 [15:14:12]line ФД: 24341 [15:14:12]line ФПД: 71628408424242 [15:14:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T151412&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24341&fm=71628408424242&tin=02508201610067®Number=0000000000098120&sum=8000 [15:14:12]line 0 [15:14:12]OFD Sender: Processing packet 24341 [packets to send 5, broken 4] [15:14:12]ProducePacketName [15:14:12]name=ofd_packets/00024341 [15:14:12]OFD Sender: To server: pG, [15:14:12]CommunicateWithHost lk.salyk.kg:30040 [15:14:12]ConnectInit lk.salyk.kg [15:14:12]written 0, free lines is 4095 [15:14:12]Connected sock=10 [15:14: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 34 32 30 89 01 00 00 CD 18 81 01 E9 C0 5A 03 01 00 03 00 75 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 51 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 2D 00 00 00 F4 03 04 00 C4 6F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 15 5F 00 00 35 04 06 00 41 25 49 D7 07 32 42 72 29 85 42 A9 18 0C [15:14:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 3A 60 47 00 85 92 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 15 5F 00 00 F4 03 04 00 6A 1B 16 67 B6 04 01 00 00 AB 5F 8F 3C 0C 96 2E 62 [15:14:12]CommunicateWithHost err = 0 [15:14:12]CheckOFDResponse [15:14:12]1017 (14) - 77093643461234 [15:14:12]1041 (16) - 0000000000965420 [15:14:12]1040 (4) - 24341 [15:14:12]1012 (4) - 21.10.2024 09:14 [15:14:12]1206 (1) - 0 [15:14:12]OFD Sender: Remove packet 24341 [15:14:12]ProducePacketName [15:14:12]name=ofd_packets/00024341 [15:14:12]NVStorageDeleteData [15:14:13]Write to MH i2c: 01 00 00 A1 0A AB [15:14:13]Write i2c OK [15:14:13]MH_I2C_Read... [15:14:13]Read from MH i2c: 01 [15:14:13]MH_I2C_Read... [15:14:13]Read from MH i2c: 01 07 00 [15:14:13]MH_I2C_Read... [15:14:13]Read from MH i2c: 01 07 00 A1 0A 00 00 00 00 00 D6 0C 94 [15:14:13]RasterBufferAndPrint [15:14:13]line [15:14:13]line [15:14:13]line [15:14:13]line [15:14:13]line [15:14:13]written 0, free lines is 3295 [15:14:13]process_action close_receipt done [15:14:13]requested_data is exist [15:14:13]produce_requested_data [15:14:13]requested_item fm.sn is exist - process it [15:14:13]wFMCommunicate request_size=4 [15:14:13]MH_SAM_APDU [15:14:13]CAPDU: 80 11 00 00 [15:14:13]Write to MH i2c: E2 08 00 A8 0A 80 11 00 00 00 00 00 00 2C [15:14:13]Write i2c OK [15:14:13]MH_I2C_Read... [15:14:13]Read from MH i2c: E2 [15:14:13]MH_I2C_Read... [15:14:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:14:13]Read from MH i2c: E2 17 00 [15:14:13]MH_I2C_Read... [15:14:13]Read from MH i2c: E2 17 00 A8 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 79 [15:14:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:14:13]wFMCommunicate OK [15:14:13]requested_item fd.num is exist - process it [15:14:13]SAM_PROTO_GetFieldsCounters [15:14:13]wFMCommunicate request_size=4 [15:14:13]MH_SAM_APDU [15:14:13]CAPDU: 80 13 00 00 [15:14:13]Write to MH i2c: E2 08 00 A9 0A 80 13 00 00 00 00 00 00 2F [15:14:13]Write i2c OK [15:14:13]MH_I2C_Read... [15:14:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:14:13]Read from MH i2c: E2 [15:14:13]MH_I2C_Read... [15:14:13]Read from MH i2c: E2 62 00 [15:14:13]MH_I2C_Read... [15:14:13]Read from MH i2c: E2 62 00 A9 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 15 5F 00 00 0E 04 04 00 CD 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 0E [15:14:13]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 15 5F 00 00 0E 04 04 00 CD 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 [15:14:13]wFMCommunicate OK [15:14:13]SAM_PROTO_GetFieldsCounters done [15:14:13]requested_item shift.num is exist - process it [15:14:13]requested_item shift.opened is exist - process it [15:14:13]req_shift_opened [15:14:13]FM_GetShiftState [15:14:13]SAM_PROTO_GetShiftState [15:14:13]wFMCommunicate request_size=4 [15:14:13]MH_SAM_APDU [15:14:13]CAPDU: 80 13 01 00 [15:14:13]Write to MH i2c: E2 08 00 AA 0A 80 13 01 00 00 00 00 00 31 [15:14:13]Write i2c OK [15:14:13]MH_I2C_Read... [15:14:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:14:13]Read from MH i2c: E2 [15:14:13]MH_I2C_Read... [15:14:13]Read from MH i2c: E2 0E 00 [15:14:13]MH_I2C_Read... [15:14:13]Read from MH i2c: E2 0E 00 AA 0A 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 7B [15:14:13]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [15:14:13]wFMCommunicate OK [15:14:13]SAM_PROTO_GetShiftState done [15:14:13]FM_GetShiftState done [15:14:13]req_shift_opened done [15:14:13]requested_item shift.open_date is exist - process it [15:14:13]req_shift_open_date [15:14:13]req_shift_open_date done [15:14:13]produce_requested_data done [15:14:13]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24341,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [15:14:13]process_action_free close_receipt [15:14:13]json_value_free [15:14:13]json_value_free done [15:14:13]process_json_proto returns [15:14:13]Send response to host [15:14:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24341,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [15:14:13]free response buf [15:14:13]execute_script done [15:14:13]execute_script returns [15:14:13]free content buf [15:14:13]Sock 8.Close socket [15:14:13]Sock 8.Thread stoped [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]accept exits with 9 [15:15:03]New connection [15:15:03]New thread 3066940772 created [15:15:03]Thread 3067084132 joined [15:15:03]Waiting for new connection... [15:15:03] Sock 9.Parse request [15:15:03]Sock 9.Check first char [15:15:03]Sock 9.First char is OK [15:15:03]request: POST /json_proto HTTP/1.0 [15:15:03]Method: POST [15:15:03]URL: /json_proto [15:15:03]Method is POST - this is cgi request [15:15:03]url: /json_proto [15:15:03]query_string will be loaded in cgi processing [15:15:03]execute_cgi json_proto POST (null) [15:15:03]execute_cgi path=json_proto method=POST [15:15:03]POST find Content-Length [15:15:03]Host: 172.17.50.4:8080 [15:15:03]Content-Length: 624 [15:15:03]Content-Type: application/json [15:15:03] [15:15:03]POST finish read [15:15:03]Found Content-Length = 624 [15:15:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134863", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver 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:15:03]execute_script... [15:15:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134863", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver 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:15:03]POST & json_proto [15:15:03]process_json_proto [15:15:03]json parsed OK: [15:15:03]protocol is kg_v1.0 [15:15:03]action value=close_receipt [15:15:03]process_action close_receipt [15:15:03]cmd_close_receipt [15:15:03]MH_GetDate [15:15:03]Write to MH i2c: F0 00 00 AB 0A A4 [15:15:03]Write i2c OK [15:15:03]MH_I2C_Read... [15:15:03]Read from MH i2c: F0 [15:15:03]MH_I2C_Read... [15:15:03]Read from MH i2c: F0 09 00 [15:15:03]MH_I2C_Read... [15:15:03]Read from MH i2c: F0 09 00 AB 0A 00 F9 6F 16 67 3B 12 16 67 5C [15:15:03]GetLastDocTimeStamp 1729523652 [15:15:03]current date 1729523705 [15:15:03]FM_GetShiftState [15:15:03]SAM_PROTO_GetShiftState [15:15:03]wFMCommunicate request_size=4 [15:15:03]MH_SAM_APDU [15:15:03]CAPDU: 80 13 01 00 [15:15:03]Write to MH i2c: E2 08 00 AC 0A 80 13 01 00 00 00 00 00 33 [15:15:03]Write i2c OK [15:15:03]MH_I2C_Read... [15:15:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:15:03]Read from MH i2c: E2 [15:15:03]MH_I2C_Read... [15:15:03]Read from MH i2c: E2 0E 00 [15:15:03]MH_I2C_Read... [15:15:03]Read from MH i2c: E2 0E 00 AC 0A 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 7D [15:15:03]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [15:15:03]wFMCommunicate OK [15:15:03]SAM_PROTO_GetShiftState done [15:15:03]FM_GetShiftState done [15:15:03]opened in 1729469223 [15:15:03]opened+sec_in_day 1729555623 [15:15:03]quantity*price = 16000 [15:15:03]sum+1 = 16001 [15:15:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.42 НДС 12% : 16.99 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 46 21.10.2024 15:15 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24342 ФПД: 73497433294705 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T151505&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24342&fm=73497433294705&tin=02508201610067®Number=0000000000098120&sum=16000 0 [15:15:04]StoreToDocumentArchive [15:15:04]shift 461 fd 24342 [15:15:04]save to /storage/0461/doc_00024342 [15:15:04]save last doc name /storage/0461/doc_00024342 to /storage/kkm_last_doc_name [15:15:04]save OK [15:15:04]Clear old archive folders... [15:15:04]ProcessDocumentItem done err = 0, tmpTLVsize=276 [15:15:04]tlvbuf is 002BA020 [15:15:04]SAM_PROTO_ClearQueue [15:15:04]wFMCommunicate request_size=4 [15:15:04]MH_SAM_APDU [15:15:04]CAPDU: 80 09 00 00 [15:15:04]Write to MH i2c: E2 08 00 B9 0A 80 09 00 00 00 00 00 00 35 [15:15:04]Write i2c OK [15:15:04]MH_I2C_Read... [15:15:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:15:04]Read from MH i2c: E2 [15:15:04]MH_I2C_Read... [15:15:04]Read from MH i2c: E2 03 00 [15:15:04]MH_I2C_Read... [15:15:04]Read from MH i2c: E2 03 00 B9 0A 00 90 00 37 [15:15:04]RAPDU: 90 00 [15:15:04]wFMCommunicate OK [15:15:04]SAM_PROTO_ClearQueue done [15:15:04]KKMCreateOFDPacket [15:15:04]OFDProtocolAddRootSTLVToBuf [15:15:04]FM_MakeSignedData [15:15:04]FM_MakeSignedData [15:15:04]SAM_PROTO_SignData [15:15:04]wFMCommunicate request_size=4 [15:15:04]MH_SAM_APDU [15:15:04]CAPDU: 80 0D 01 02 [15:15:04]Write to MH i2c: E2 08 00 BA 0A 80 0D 01 02 00 00 00 00 3D [15:15:04]Write i2c OK [15:15:04]MH_I2C_Read... [15:15:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:15:04]Read from MH i2c: E2 [15:15:04]MH_I2C_Read... [15:15:04]Read from MH i2c: E2 03 00 [15:15:04]MH_I2C_Read... [15:15:04]Read from MH i2c: E2 03 00 BA 0A 00 90 00 38 [15:15:04]RAPDU: 90 00 [15:15:04]wFMCommunicate OK [15:15:04]wFMCommunicate request_size=255 [15:15:04]MH_SAM_APDU [15:15:04]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2E 00 00 00 F4 03 04 00 F9 6F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 [15:15:04]Write to MH i2c: E2 02 01 BB 0A 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2E 00 00 00 F4 03 04 00 F9 6F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 00 00 F3 [15:15:04]Write i2c OK [15:15:04]MH_I2C_Read... [15:15:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:15:04]Read from MH i2c: E2 [15:15:04]MH_I2C_Read... [15:15:04]Read from MH i2c: E2 03 00 [15:15:04]MH_I2C_Read... [15:15:04]Read from MH i2c: E2 03 00 BB 0A 00 90 00 39 [15:15:04]RAPDU: 90 00 [15:15:04]wFMCommunicate OK [15:15:04]wFMCommunicate request_size=35 [15:15:04]MH_SAM_APDU [15:15:04]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 16 5F 00 00 35 04 06 00 42 D8 74 67 47 71 [15:15:04]Write to MH i2c: E2 26 00 BC 0A 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 16 5F 00 00 35 04 06 00 42 D8 74 67 47 71 00 00 4F [15:15:04]Write i2c OK [15:15:04]MH_I2C_Read... [15:15:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:15:04]Read from MH i2c: E2 [15:15:04]MH_I2C_Read... [15:15:04]Read from MH i2c: E2 03 00 [15:15:04]MH_I2C_Read... [15:15:04]Read from MH i2c: E2 03 00 BC 0A 00 90 00 3A [15:15:04]RAPDU: 90 00 [15:15:04]wFMCommunicate OK [15:15:04]wFMCommunicate request_size=4 [15:15:04]MH_SAM_APDU [15:15:04]CAPDU: 80 0D 03 02 [15:15:04]Write to MH i2c: E2 08 00 BD 0A 80 0D 03 02 00 00 00 00 42 [15:15:04]Write i2c OK [15:15:04]MH_I2C_Read... [15:15:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:15:04]Read from MH i2c: E2 [15:15:04]MH_I2C_Read... [15:15:04]Read from MH i2c: E2 0B 00 [15:15:04]MH_I2C_Read... [15:15:04]Read from MH i2c: E2 0B 00 BD 0A 00 E6 D5 72 0D 8C 05 F6 F7 90 00 FB [15:15:04]RAPDU: E6 D5 72 0D 8C 05 F6 F7 90 00 [15:15:04]wFMCommunicate OK [15:15:04]SAM_PROTO_SignData done [15:15:04]FM_MakeSignedData done [15:15:04]CreateOFDProtocolMessage [15:15:04]wFMCommunicate request_size=4 [15:15:04]MH_SAM_APDU [15:15:04]CAPDU: 80 11 00 00 [15:15:04]Write to MH i2c: E2 08 00 BE 0A 80 11 00 00 00 00 00 00 42 [15:15:04]Write i2c OK [15:15:04]MH_I2C_Read... [15:15:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:15:04]Read from MH i2c: E2 [15:15:04]MH_I2C_Read... [15:15:04]Read from MH i2c: E2 17 00 [15:15:04]MH_I2C_Read... [15:15:04]Read from MH i2c: E2 17 00 BE 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 8F [15:15:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:15:04]wFMCommunicate OK [15:15:04]CreateOFDProtocolMessage done [15:15:04]OFDSenderStorePacket 24342 [15:15:04]StoreOFDPacket docnum=24342 [15:15:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 28 01 00 00 AC 09 20 01 95 63 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2E 00 00 00 F4 03 04 00 F9 6F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 16 5F 00 00 35 04 06 00 42 D8 74 67 47 71 E6 D5 72 0D 8C 05 F6 F7 [15:15:04]CheckFolder [15:15:04]dirname=/storage/ofd_packets [15:15:04]CheckFolder done [15:15:04]ProducePacketName [15:15:04]name=ofd_packets/00024342 [15:15:04]NVStorageSaveData ofd_packets/00024342 [15:15:04]File name is /storage/ofd_packets/00024342 [15:15:04]Write 326 bytes [15:15:04]NVStorageSaveData done [15:15:04]OFDSenderStorePacket done [15:15:04]KKMCreateOFDPacket done [15:15:04]NVStorageSaveData kkm_last_timestamp [15:15:04]File name is /storage/kkm_last_timestamp [15:15:04]Write 4 bytes [15:15:04]NVStorageSaveData done [15:15:04]ExternCall_PrintAddStr [15:15:04]wPrintStart [15:15:04]Write to MH i2c: 01 00 00 BF 0A C9 [15:15:04]Write i2c OK [15:15:04]MH_I2C_Read... [15:15:04]Read from MH i2c: 01 [15:15:04]MH_I2C_Read... [15:15:04]Read from MH i2c: 01 07 00 [15:15:04]MH_I2C_Read... [15:15:04]Read from MH i2c: 01 07 00 BF 0A 00 00 00 00 00 FF 0F DE [15:15:04]RasterBufferAndPrint [15:15:04]line Счет N : (3)134863 [15:15:04]line ИНН: 02508201610067 [15:15:04]line Контрольно-Кассовый Чек [15:15:04]line ПРОДАЖА [15:15:04]line Товар: 48742245 [15:15:04]line Сигареты Parliament Silver Blue [15:15:04]line 1.000 * 160.00 [15:15:04]line = 160.00 [15:15:04]line НДС 12% НСП 1% [15:15:04]line > о реализуемом товаре [15:15:04]line ИТОГО: 160.00 [15:15:04]line НСП 1% : 1.42 [15:15:04]line НДС 12% : 16.99 [15:15:04]line Наличными: 160.00 [15:15:04]line Безнал.: 0.00 [15:15:04]line Место: АЗС № 85 "Партнер Нефть" [15:15:04]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [15:15:04]line СНО: Общий режим [15:15:04]line Чек 46 21.10.2024 15:15 [15:15:04]line Смена: 461 ФФД: 1.0 [15:15:04]line ЗНМ: 0300000166 [15:15:04]line РНМ: 0000000000098120 [15:15:04]line Версия ККМ: 001 [15:15:04]line ФМ: 0000000000965420 [15:15:04]line ФД: 24342 [15:15:04]line ФПД: 73497433294705 [15:15:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T151505&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24342&fm=73497433294705&tin=02508201610067®Number=0000000000098120&sum=16000 [15:15:05]line 0 [15:15:05]OFD Sender: Processing packet 24342 [packets to send 5, broken 4] [15:15:05]ProducePacketName [15:15:05]name=ofd_packets/00024342 [15:15:05]OFD Sender: To server: pG, [15:15:05]CommunicateWithHost lk.salyk.kg:30040 [15:15:05]ConnectInit lk.salyk.kg [15:15:05]written 0, free lines is 4095 [15:15:05]Connected sock=10 [15:15: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 34 32 30 28 01 00 00 AC 09 20 01 95 63 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2E 00 00 00 F4 03 04 00 F9 6F 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 16 5F 00 00 35 04 06 00 42 D8 74 67 47 71 E6 D5 72 0D 8C 05 F6 F7 [15:15:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 C2 2F 47 00 A4 37 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 16 5F 00 00 F4 03 04 00 9F 1B 16 67 B6 04 01 00 00 20 33 DB 7E D4 7F B4 1C [15:15:05]CommunicateWithHost err = 0 [15:15:05]CheckOFDResponse [15:15:05]1017 (14) - 77093643461234 [15:15:05]1041 (16) - 0000000000965420 [15:15:05]1040 (4) - 24342 [15:15:05]1012 (4) - 21.10.2024 09:15 [15:15:05]1206 (1) - 0 [15:15:05]OFD Sender: Remove packet 24342 [15:15:05]ProducePacketName [15:15:05]name=ofd_packets/00024342 [15:15:05]NVStorageDeleteData [15:15:05]Write to MH i2c: 01 00 00 E8 0A F2 [15:15:05]Write i2c OK [15:15:05]MH_I2C_Read... [15:15:05]Read from MH i2c: 01 [15:15:05]MH_I2C_Read... [15:15:05]Read from MH i2c: 01 07 00 [15:15:05]MH_I2C_Read... [15:15:05]Read from MH i2c: 01 07 00 E8 0A 00 00 00 00 00 03 0D 09 [15:15:05]RasterBufferAndPrint [15:15:05]line [15:15:05]line [15:15:05]line [15:15:05]line [15:15:05]line [15:15:05]written 0, free lines is 3337 [15:15:05]process_action close_receipt done [15:15:05]requested_data is exist [15:15:05]produce_requested_data [15:15:05]requested_item fm.sn is exist - process it [15:15:05]wFMCommunicate request_size=4 [15:15:05]MH_SAM_APDU [15:15:05]CAPDU: 80 11 00 00 [15:15:05]Write to MH i2c: E2 08 00 EF 0A 80 11 00 00 00 00 00 00 73 [15:15:05]Write i2c OK [15:15:05]MH_I2C_Read... [15:15:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:15:05]Read from MH i2c: E2 [15:15:05]MH_I2C_Read... [15:15:05]Read from MH i2c: E2 17 00 [15:15:05]MH_I2C_Read... [15:15:05]Read from MH i2c: E2 17 00 EF 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 C0 [15:15:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:15:05]wFMCommunicate OK [15:15:05]requested_item fd.num is exist - process it [15:15:05]SAM_PROTO_GetFieldsCounters [15:15:05]wFMCommunicate request_size=4 [15:15:05]MH_SAM_APDU [15:15:05]CAPDU: 80 13 00 00 [15:15:05]Write to MH i2c: E2 08 00 F0 0A 80 13 00 00 00 00 00 00 76 [15:15:05]Write i2c OK [15:15:05]MH_I2C_Read... [15:15:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:15:05]Read from MH i2c: E2 [15:15:05]MH_I2C_Read... [15:15:05]Read from MH i2c: E2 62 00 [15:15:05]MH_I2C_Read... [15:15:05]Read from MH i2c: E2 62 00 F0 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 16 5F 00 00 0E 04 04 00 CD 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 59 [15:15: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 16 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:15:05]wFMCommunicate OK [15:15:05]SAM_PROTO_GetFieldsCounters done [15:15:05]requested_item shift.num is exist - process it [15:15:05]requested_item shift.opened is exist - process it [15:15:05]req_shift_opened [15:15:05]FM_GetShiftState [15:15:05]SAM_PROTO_GetShiftState [15:15:05]wFMCommunicate request_size=4 [15:15:05]MH_SAM_APDU [15:15:05]CAPDU: 80 13 01 00 [15:15:05]Write to MH i2c: E2 08 00 F1 0A 80 13 01 00 00 00 00 00 78 [15:15:05]Write i2c OK [15:15:05]MH_I2C_Read... [15:15:05]Read from MH i2c: E2 [15:15:05]MH_I2C_Read... [15:15:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:15:05]Read from MH i2c: E2 0E 00 [15:15:05]MH_I2C_Read... [15:15:05]Read from MH i2c: E2 0E 00 F1 0A 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 C2 [15:15:05]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [15:15:05]wFMCommunicate OK [15:15:05]SAM_PROTO_GetShiftState done [15:15:05]FM_GetShiftState done [15:15:05]req_shift_opened done [15:15:05]requested_item shift.open_date is exist - process it [15:15:05]req_shift_open_date [15:15:05]req_shift_open_date done [15:15:05]produce_requested_data done [15:15:05]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24342,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [15:15:05]process_action_free close_receipt [15:15:05]json_value_free [15:15:05]json_value_free done [15:15:05]process_json_proto returns [15:15:05]Send response to host [15:15:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24342,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [15:15:05]free response buf [15:15:05]execute_script done [15:15:05]execute_script returns [15:15:05]free content buf [15:15:05]Sock 9.Close socket [15:15:05]Sock 9.Thread stoped [15:15:06]OFD Sender: No OFD packet to send [15:15:11]OFD Sender: No OFD packet to send [15:15:16]OFD Sender: No OFD packet to send [15:15:21]OFD Sender: No OFD packet to send [15:15:26]OFD Sender: No OFD packet to send [15:15:31]OFD Sender: No OFD packet to send [15:15:36]OFD Sender: No OFD packet to send [15:15:41]OFD Sender: No OFD packet to send [15:15:46]OFD Sender: No OFD packet to send [15:15:51]OFD Sender: No OFD packet to send [15:15:56]OFD Sender: No OFD packet to send [15:16:01]OFD Sender: No OFD packet to send [15:16:06]OFD Sender: No OFD packet to send [15:16:11]OFD Sender: No OFD packet to send [15:16:16]OFD Sender: No OFD packet to send [15:16:21]OFD Sender: No OFD packet to send [15:16:26]OFD Sender: No OFD packet to send [15:16:31]OFD Sender: No OFD packet to send [15:16:36]OFD Sender: No OFD packet to send [15:16:41]OFD Sender: No OFD packet to send [15:16:46]OFD Sender: No OFD packet to send [15:16:51]OFD Sender: No OFD packet to send [15:16:56]OFD Sender: No OFD packet to send [15:17:01]OFD Sender: No OFD packet to send [15:17:06]OFD Sender: No OFD packet to send [15:17:11]OFD Sender: No OFD packet to send [15:17:16]OFD Sender: No OFD packet to send [15:17:21]OFD Sender: No OFD packet to send [15:17:26]OFD Sender: No OFD packet to send [15:17:31]OFD Sender: No OFD packet to send [15:17:36]OFD Sender: No OFD packet to send [15:17:41]OFD Sender: No OFD packet to send [15:17:46]OFD Sender: No OFD packet to send [15:17:51]OFD Sender: No OFD packet to send [15:17:56]OFD Sender: No OFD packet to send [15:18:01]OFD Sender: No OFD packet to send [15:18:06]OFD Sender: No OFD packet to send [15:18:11]OFD Sender: No OFD packet to send [15:18:16]OFD Sender: No OFD packet to send [15:18:21]OFD Sender: No OFD packet to send [15:18:26]OFD Sender: No OFD packet to send [15:18:31]OFD Sender: No OFD packet to send [15:18:36]OFD Sender: No OFD packet to send [15:18:41]OFD Sender: No OFD packet to send [15:18:46]OFD Sender: No OFD packet to send [15:18:51]OFD Sender: No OFD packet to send [15:18:56]OFD Sender: No OFD packet to send [15:19:01]OFD Sender: No OFD packet to send [15:19:06]OFD Sender: No OFD packet to send [15:19:11]OFD Sender: No OFD packet to send [15:19:16]OFD Sender: No OFD packet to send [15:19:21]OFD Sender: No OFD packet to send [15:19:26]OFD Sender: No OFD packet to send [15:19:31]OFD Sender: No OFD packet to send [15:19:36]OFD Sender: No OFD packet to send [15:19:41]OFD Sender: No OFD packet to send [15:19:46]OFD Sender: No OFD packet to send [15:19:51]OFD Sender: No OFD packet to send [15:19:56]OFD Sender: No OFD packet to send [15:20:01]OFD Sender: No OFD packet to send [15:20:06]OFD Sender: No OFD packet to send [15:20:11]OFD Sender: No OFD packet to send [15:20:16]OFD Sender: No OFD packet to send [15:20:21]OFD Sender: No OFD packet to send [15:20:26]OFD Sender: No OFD packet to send [15:20:31]OFD Sender: No OFD packet to send [15:20:36]OFD Sender: No OFD packet to send [15:20:41]OFD Sender: No OFD packet to send [15:20:46]OFD Sender: No OFD packet to send [15:20:51]OFD Sender: No OFD packet to send [15:20:56]OFD Sender: No OFD packet to send [15:21:01]OFD Sender: No OFD packet to send [15:21:06]OFD Sender: No OFD packet to send [15:21:11]OFD Sender: No OFD packet to send [15:21:16]OFD Sender: No OFD packet to send [15:21:21]OFD Sender: No OFD packet to send [15:21:26]OFD Sender: No OFD packet to send [15:21:31]OFD Sender: No OFD packet to send [15:21:36]OFD Sender: No OFD packet to send [15:21:41]OFD Sender: No OFD packet to send [15:21:46]OFD Sender: No OFD packet to send [15:21:51]OFD Sender: No OFD packet to send [15:21:56]OFD Sender: No OFD packet to send [15:22:01]OFD Sender: No OFD packet to send [15:22:06]OFD Sender: No OFD packet to send [15:22:11]OFD Sender: No OFD packet to send [15:22:16]OFD Sender: No OFD packet to send [15:22:21]OFD Sender: No OFD packet to send [15:22:26]OFD Sender: No OFD packet to send [15:22:31]OFD Sender: No OFD packet to send [15:22:36]OFD Sender: No OFD packet to send [15:22:41]OFD Sender: No OFD packet to send [15:22:46]OFD Sender: No OFD packet to send [15:22:51]OFD Sender: No OFD packet to send [15:22:56]OFD Sender: No OFD packet to send [15:23:01]OFD Sender: No OFD packet to send [15:23:06]OFD Sender: No OFD packet to send [15:23:11]OFD Sender: No OFD packet to send [15:23:16]OFD Sender: No OFD packet to send [15:23:21]OFD Sender: No OFD packet to send [15:23:26]OFD Sender: No OFD packet to send [15:23:31]OFD Sender: No OFD packet to send [15:23:36]OFD Sender: No OFD packet to send [15:23:41]OFD Sender: No OFD packet to send [15:23:46]OFD Sender: No OFD packet to send [15:23:51]OFD Sender: No OFD packet to send [15:23:56]OFD Sender: No OFD packet to send [15:24:01]OFD Sender: No OFD packet to send [15:24:06]OFD Sender: No OFD packet to send [15:24:11]OFD Sender: No OFD packet to send [15:24:16]OFD Sender: No OFD packet to send [15:24:21]OFD Sender: No OFD packet to send [15:24:26]OFD Sender: No OFD packet to send [15:24:31]OFD Sender: No OFD packet to send [15:24:36]OFD Sender: No OFD packet to send [15:24:41]OFD Sender: No OFD packet to send [15:24:46]OFD Sender: No OFD packet to send [15:24:51]OFD Sender: No OFD packet to send [15:24:56]OFD Sender: No OFD packet to send [15:25:01]OFD Sender: No OFD packet to send [15:25:06]OFD Sender: No OFD packet to send [15:25:11]OFD Sender: No OFD packet to send [15:25:16]OFD Sender: No OFD packet to send [15:25:21]OFD Sender: No OFD packet to send [15:25:26]OFD Sender: No OFD packet to send [15:25:31]OFD Sender: No OFD packet to send [15:25:36]OFD Sender: No OFD packet to send [15:25:41]OFD Sender: No OFD packet to send [15:25:46]OFD Sender: No OFD packet to send [15:25:51]OFD Sender: No OFD packet to send [15:25:56]OFD Sender: No OFD packet to send [15:26:01]OFD Sender: No OFD packet to send [15:26:06]OFD Sender: No OFD packet to send [15:26:11]OFD Sender: No OFD packet to send [15:26:16]OFD Sender: No OFD packet to send [15:26:21]OFD Sender: No OFD packet to send [15:26:26]OFD Sender: No OFD packet to send [15:26:31]OFD Sender: No OFD packet to send [15:26:36]OFD Sender: No OFD packet to send [15:26:41]OFD Sender: No OFD packet to send [15:26:46]OFD Sender: No OFD packet to send [15:26:51]OFD Sender: No OFD packet to send [15:26:56]OFD Sender: No OFD packet to send [15:27:01]OFD Sender: No OFD packet to send [15:27:06]OFD Sender: No OFD packet to send [15:27:11]OFD Sender: No OFD packet to send [15:27:16]OFD Sender: No OFD packet to send [15:27:21]OFD Sender: No OFD packet to send [15:27:26]OFD Sender: No OFD packet to send [15:27:31]OFD Sender: No OFD packet to send [15:27:36]OFD Sender: No OFD packet to send [15:27:41]OFD Sender: No OFD packet to send [15:27:46]OFD Sender: No OFD packet to send [15:27:51]OFD Sender: No OFD packet to send [15:27:56]OFD Sender: No OFD packet to send [15:28:01]OFD Sender: No OFD packet to send [15:28:06]OFD Sender: No OFD packet to send [15:28:11]OFD Sender: No OFD packet to send [15:28:16]OFD Sender: No OFD packet to send [15:28:21]OFD Sender: No OFD packet to send [15:28:26]OFD Sender: No OFD packet to send [15:28:31]OFD Sender: No OFD packet to send [15:28:36]OFD Sender: No OFD packet to send [15:28:41]OFD Sender: No OFD packet to send [15:28:46]OFD Sender: No OFD packet to send [15:28:51]OFD Sender: No OFD packet to send [15:28:56]OFD Sender: No OFD packet to send [15:29:01]OFD Sender: No OFD packet to send [15:29:06]OFD Sender: No OFD packet to send [15:29:11]OFD Sender: No OFD packet to send [15:29:16]OFD Sender: No OFD packet to send [15:29:21]OFD Sender: No OFD packet to send [15:29:26]OFD Sender: No OFD packet to send [15:29:31]OFD Sender: No OFD packet to send [15:29:36]OFD Sender: No OFD packet to send [15:29:41]OFD Sender: No OFD packet to send [15:29:46]OFD Sender: No OFD packet to send [15:29:51]OFD Sender: No OFD packet to send [15:29:56]OFD Sender: No OFD packet to send [15:30:01]OFD Sender: No OFD packet to send [15:30:06]OFD Sender: No OFD packet to send [15:30:11]OFD Sender: No OFD packet to send [15:30:16]OFD Sender: No OFD packet to send [15:30:21]OFD Sender: No OFD packet to send [15:30:26]OFD Sender: No OFD packet to send [15:30:31]OFD Sender: No OFD packet to send [15:30:36]OFD Sender: No OFD packet to send [15:30:41]OFD Sender: No OFD packet to send [15:30:46]OFD Sender: No OFD packet to send [15:30:51]OFD Sender: No OFD packet to send [15:30:56]OFD Sender: No OFD packet to send [15:31:01]OFD Sender: No OFD packet to send [15:31:06]OFD Sender: No OFD packet to send [15:31:11]OFD Sender: No OFD packet to send [15:31:16]OFD Sender: No OFD packet to send [15:31:21]OFD Sender: No OFD packet to send [15:31:26]OFD Sender: No OFD packet to send [15:31:31]OFD Sender: No OFD packet to send [15:31:36]OFD Sender: No OFD packet to send [15:31:41]OFD Sender: No OFD packet to send [15:31:46]OFD Sender: No OFD packet to send [15:31:51]OFD Sender: No OFD packet to send [15:31:56]OFD Sender: No OFD packet to send [15:32:01]OFD Sender: No OFD packet to send [15:32:06]OFD Sender: No OFD packet to send [15:32:11]OFD Sender: No OFD packet to send [15:32:16]OFD Sender: No OFD packet to send [15:32:21]OFD Sender: No OFD packet to send [15:32:26]OFD Sender: No OFD packet to send [15:32:31]OFD Sender: No OFD packet to send [15:32:36]OFD Sender: No OFD packet to send [15:32:41]OFD Sender: No OFD packet to send [15:32:46]OFD Sender: No OFD packet to send [15:32:51]accept exits with 8 [15:32:51]New connection [15:32:51]New thread 3067084132 created [15:32:51]Thread 3066940772 joined [15:32:51]Waiting for new connection... [15:32:51] Sock 8.Parse request [15:32:51]Sock 8.Check first char [15:32:51]Sock 8.First char is OK [15:32:51]request: POST /json_proto HTTP/1.0 [15:32:51]Method: POST [15:32:51]URL: /json_proto [15:32:51]Method is POST - this is cgi request [15:32:51]url: /json_proto [15:32:51]query_string will be loaded in cgi processing [15:32:51]execute_cgi json_proto POST (null) [15:32:51]execute_cgi path=json_proto method=POST [15:32:51]POST find Content-Length [15:32:51]Host: 172.17.50.4:8080 [15:32:51]Content-Length: 903 [15:32:51]Content-Type: application/json [15:32:51] [15:32:51]POST finish read [15:32:51]Found Content-Length = 903 [15:32:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134864", "tax_sys" : 0, "items" : [ { "code": "4870202521292", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u044B 1,2\u043B", "price" : 104.00, "quantity" : 1.000, "sum" : 104.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" : 248.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:32:51]execute_script... [15:32:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134864", "tax_sys" : 0, "items" : [ { "code": "4870202521292", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u044B 1,2\u043B", "price" : 104.00, "quantity" : 1.000, "sum" : 104.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" : 248.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:32:51]POST & json_proto [15:32:51]process_json_proto [15:32:51]json parsed OK: [15:32:51]protocol is kg_v1.0 [15:32:51]action value=close_receipt [15:32:51]process_action close_receipt [15:32:51]cmd_close_receipt [15:32:51]MH_GetDate [15:32:51]Write to MH i2c: F0 00 00 F2 0A EB [15:32:51]Write i2c OK [15:32:51]MH_I2C_Read... [15:32:51]Read from MH i2c: F0 [15:32:51]MH_I2C_Read... [15:32:51]Read from MH i2c: F0 09 00 [15:32:51]MH_I2C_Read... [15:32:51]Read from MH i2c: F0 09 00 F2 0A 00 25 74 16 67 3B 12 16 67 D4 [15:32:51]GetLastDocTimeStamp 1729523705 [15:32:51]current date 1729524773 [15:32:51]FM_GetShiftState [15:32:51]SAM_PROTO_GetShiftState [15:32:51]wFMCommunicate request_size=4 [15:32:51]MH_SAM_APDU [15:32:51]CAPDU: 80 13 01 00 [15:32:51]Write to MH i2c: E2 08 00 F3 0A 80 13 01 00 00 00 00 00 7A [15:32:51]Write i2c OK [15:32:51]MH_I2C_Read... [15:32:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:32:51]Read from MH i2c: E2 [15:32:51]MH_I2C_Read... [15:32:51]Read from MH i2c: E2 0E 00 [15:32:51]MH_I2C_Read... [15:32:51]Read from MH i2c: E2 0E 00 F3 0A 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 C4 [15:32:51]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [15:32:51]wFMCommunicate OK [15:32:51]SAM_PROTO_GetShiftState done [15:32:51]FM_GetShiftState done [15:32:51]opened in 1729469223 [15:32:51]opened+sec_in_day 1729555623 [15:32:51]quantity*price = 10400 [15:32:51]sum+1 = 10401 [15:32:51]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 248.00 НСП 1% : 2.19 НДС 12% : 26.33 Наличными: 248.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 47 21.10.2024 15:32 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24343 ФПД: 16872594702304 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T153253&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24343&fm=16872594702304&tin=02508201610067®Number=0000000000098120&sum=24800 0 [15:32:52]StoreToDocumentArchive [15:32:52]shift 461 fd 24343 [15:32:52]save to /storage/0461/doc_00024343 [15:32:52]save last doc name /storage/0461/doc_00024343 to /storage/kkm_last_doc_name [15:32:52]save OK [15:32:52]Clear old archive folders... [15:32:52]ProcessDocumentItem done err = 0, tmpTLVsize=385 [15:32:52]tlvbuf is 003451F0 [15:32:52]SAM_PROTO_ClearQueue [15:32:52]wFMCommunicate request_size=4 [15:32:52]MH_SAM_APDU [15:32:52]CAPDU: 80 09 00 00 [15:32:52]Write to MH i2c: E2 08 00 00 0B 80 09 00 00 00 00 00 00 7D [15:32:52]Write i2c OK [15:32:52]MH_I2C_Read... [15:32:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:32:52]Read from MH i2c: E2 [15:32:52]MH_I2C_Read... [15:32:52]Read from MH i2c: E2 03 00 [15:32:52]MH_I2C_Read... [15:32:52]Read from MH i2c: E2 03 00 00 0B 00 90 00 7F [15:32:52]RAPDU: 90 00 [15:32:52]wFMCommunicate OK [15:32:52]SAM_PROTO_ClearQueue done [15:32:52]KKMCreateOFDPacket [15:32:52]OFDProtocolAddRootSTLVToBuf [15:32:52]FM_MakeSignedData [15:32:52]FM_MakeSignedData [15:32:52]SAM_PROTO_SignData [15:32:52]wFMCommunicate request_size=4 [15:32:52]MH_SAM_APDU [15:32:52]CAPDU: 80 0D 01 02 [15:32:52]Write to MH i2c: E2 08 00 01 0B 80 0D 01 02 00 00 00 00 85 [15:32:52]Write i2c OK [15:32:52]MH_I2C_Read... [15:32:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:32:52]Read from MH i2c: E2 [15:32:52]MH_I2C_Read... [15:32:52]Read from MH i2c: E2 03 00 [15:32:52]MH_I2C_Read... [15:32:52]Read from MH i2c: E2 03 00 01 0B 00 90 00 80 [15:32:52]RAPDU: 90 00 [15:32:52]wFMCommunicate OK [15:32:52]wFMCommunicate request_size=255 [15:32:52]MH_SAM_APDU [15:32:52]CAPDU: 80 0D 02 02 FA 03 00 81 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 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 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 E0 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 [15:32:52]Write to MH i2c: E2 02 01 02 0B 80 0D 02 02 FA 00 03 00 81 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 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 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 E0 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 F3 [15:32:52]Write i2c OK [15:32:52]MH_I2C_Read... [15:32:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:32:52]Read from MH i2c: E2 [15:32:52]MH_I2C_Read... [15:32:52]Read from MH i2c: E2 03 00 [15:32:52]MH_I2C_Read... [15:32:52]Read from MH i2c: E2 03 00 02 0B 00 90 00 81 [15:32:52]RAPDU: 90 00 [15:32:52]wFMCommunicate OK [15:32:52]wFMCommunicate request_size=144 [15:32:52]MH_SAM_APDU [15:32:52]CAPDU: 80 0D 02 02 8B 00 DB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0A 00 00 00 00 07 04 06 00 E0 60 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 25 74 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 17 5F 00 00 35 04 06 00 0F 58 75 03 7F E0 [15:32:52]Write to MH i2c: E2 93 00 03 0B 80 0D 02 02 8B 00 00 DB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0A 00 00 00 00 07 04 06 00 E0 60 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 25 74 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 17 5F 00 00 35 04 06 00 0F 58 75 03 7F E0 00 00 F5 [15:32:52]Write i2c OK [15:32:52]MH_I2C_Read... [15:32:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:32:53]Read from MH i2c: E2 [15:32:53]MH_I2C_Read... [15:32:53]Read from MH i2c: E2 03 00 [15:32:53]MH_I2C_Read... [15:32:53]Read from MH i2c: E2 03 00 03 0B 00 90 00 82 [15:32:53]RAPDU: 90 00 [15:32:53]wFMCommunicate OK [15:32:53]wFMCommunicate request_size=4 [15:32:53]MH_SAM_APDU [15:32:53]CAPDU: 80 0D 03 02 [15:32:53]Write to MH i2c: E2 08 00 04 0B 80 0D 03 02 00 00 00 00 8A [15:32:53]Write i2c OK [15:32:53]MH_I2C_Read... [15:32:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:32:53]Read from MH i2c: E2 [15:32:53]MH_I2C_Read... [15:32:53]Read from MH i2c: E2 0B 00 [15:32:53]MH_I2C_Read... [15:32:53]Read from MH i2c: E2 0B 00 04 0B 00 3D BE 6C 92 01 F9 C2 2B 90 00 6B [15:32:53]RAPDU: 3D BE 6C 92 01 F9 C2 2B 90 00 [15:32:53]wFMCommunicate OK [15:32:53]SAM_PROTO_SignData done [15:32:53]FM_MakeSignedData done [15:32:53]CreateOFDProtocolMessage [15:32:53]wFMCommunicate request_size=4 [15:32:53]MH_SAM_APDU [15:32:53]CAPDU: 80 11 00 00 [15:32:53]Write to MH i2c: E2 08 00 05 0B 80 11 00 00 00 00 00 00 8A [15:32:53]Write i2c OK [15:32:53]MH_I2C_Read... [15:32:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:32:53]Read from MH i2c: E2 [15:32:53]MH_I2C_Read... [15:32:53]Read from MH i2c: E2 17 00 [15:32:53]MH_I2C_Read... [15:32:53]Read from MH i2c: E2 17 00 05 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 D7 [15:32:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:32:53]wFMCommunicate OK [15:32:53]CreateOFDProtocolMessage done [15:32:53]OFDSenderStorePacket 24343 [15:32:53]StoreOFDPacket docnum=24343 [15:32:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 95 01 00 00 6A F5 8D 01 EA 34 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 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 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 E0 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0A 00 00 00 00 07 04 06 00 E0 60 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 25 74 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 17 5F 00 00 35 04 06 00 0F 58 75 03 7F E0 3D BE 6C 92 01 F9 C2 2B [15:32:53]CheckFolder [15:32:53]dirname=/storage/ofd_packets [15:32:53]CheckFolder done [15:32:53]ProducePacketName [15:32:53]name=ofd_packets/00024343 [15:32:53]NVStorageSaveData ofd_packets/00024343 [15:32:53]File name is /storage/ofd_packets/00024343 [15:32:53]Write 435 bytes [15:32:53]NVStorageSaveData done [15:32:53]OFDSenderStorePacket done [15:32:53]KKMCreateOFDPacket done [15:32:53]NVStorageSaveData kkm_last_timestamp [15:32:53]File name is /storage/kkm_last_timestamp [15:32:53]Write 4 bytes [15:32:53]NVStorageSaveData done [15:32:53]ExternCall_PrintAddStr [15:32:53]wPrintStart [15:32:53]Write to MH i2c: 01 00 00 06 0B 11 [15:32:53]Write i2c OK [15:32:53]MH_I2C_Read... [15:32:53]Read from MH i2c: 01 [15:32:53]MH_I2C_Read... [15:32:53]Read from MH i2c: 01 07 00 [15:32:53]MH_I2C_Read... [15:32:53]Read from MH i2c: 01 07 00 06 0B 00 00 00 00 00 FF 0F 26 [15:32:53]RasterBufferAndPrint [15:32:53]line Счет N : (3)134864 [15:32:53]line ИНН: 02508201610067 [15:32:53]line Контрольно-Кассовый Чек [15:32:53]line ПРОДАЖА [15:32:53]line Товар: 4870202521292 [15:32:53]line Напиток Сок березы 1,2л [15:32:53]line 1.000 * 104.00 [15:32:53]line = 104.00 [15:32:53]line НДС 12% НСП 1% [15:32:53]line > о реализуемом товаре [15:32:53]line Товар: 48743570 [15:32:53]line Сигареты Winston XStyle Blue [15:32:53]line 1.000 * 144.00 [15:32:53]line = 144.00 [15:32:53]line НДС 12% НСП 1% [15:32:53]line > о реализуемом товаре [15:32:53]line ИТОГО: 248.00 [15:32:53]line НСП 1% : 2.19 [15:32:53]line НДС 12% : 26.33 [15:32:53]line Наличными: 248.00 [15:32:53]line Безнал.: 0.00 [15:32:53]line Место: АЗС № 85 "Партнер Нефть" [15:32:53]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [15:32:53]line СНО: Общий режим [15:32:53]line Чек 47 21.10.2024 15:32 [15:32:53]line Смена: 461 ФФД: 1.0 [15:32:53]line ЗНМ: 0300000166 [15:32:53]line РНМ: 0000000000098120 [15:32:53]line Версия ККМ: 001 [15:32:53]line ФМ: 0000000000965420 [15:32:53]line ФД: 24343 [15:32:53]line ФПД: 16872594702304 [15:32:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T153253&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24343&fm=16872594702304&tin=02508201610067®Number=0000000000098120&sum=24800 [15:32:53]line 0 [15:32:53]OFD Sender: Processing packet 24343 [packets to send 5, broken 4] [15:32:53]ProducePacketName [15:32:53]name=ofd_packets/00024343 [15:32:53]OFD Sender: To server: pG, [15:32:53]CommunicateWithHost lk.salyk.kg:30040 [15:32:53]ConnectInit lk.salyk.kg [15:32:53]written 0, free lines is 4095 [15:32:53]Connected sock=10 [15:32:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 95 01 00 00 6A F5 8D 01 EA 34 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 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 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 E0 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0A 00 00 00 00 07 04 06 00 E0 60 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 25 74 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 17 5F 00 00 35 04 06 00 0F 58 75 03 7F E0 3D BE 6C 92 01 F9 C2 2B [15:32:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 91 08 47 00 10 1C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 34 32 30 10 04 04 00 17 5F 00 00 F4 03 04 00 CB 1F 16 67 B6 04 01 00 00 D1 C0 D9 93 D8 8B F2 1B [15:32:53]CommunicateWithHost err = 0 [15:32:53]CheckOFDResponse [15:32:53]1017 (14) - 77093643461234 [15:32:53]1041 (16) - 0000000000965420 [15:32:53]1040 (4) - 24343 [15:32:53]1012 (4) - 21.10.2024 09:32 [15:32:53]1206 (1) - 0 [15:32:53]OFD Sender: Remove packet 24343 [15:32:53]ProducePacketName [15:32:53]name=ofd_packets/00024343 [15:32:53]NVStorageDeleteData [15:32:53]Write to MH i2c: 01 00 00 34 0B 3F [15:32:53]Write i2c OK [15:32:53]MH_I2C_Read... [15:32:53]Read from MH i2c: 01 [15:32:53]MH_I2C_Read... [15:32:53]Read from MH i2c: 01 07 00 [15:32:53]MH_I2C_Read... [15:32:53]Read from MH i2c: 01 07 00 34 0B 00 00 00 00 00 D7 0C 29 [15:32:53]RasterBufferAndPrint [15:32:53]line [15:32:53]line [15:32:53]line [15:32:53]line [15:32:53]line [15:32:53]written 0, free lines is 3294 [15:32:53]process_action close_receipt done [15:32:53]requested_data is exist [15:32:53]produce_requested_data [15:32:53]requested_item fm.sn is exist - process it [15:32:53]wFMCommunicate request_size=4 [15:32:53]MH_SAM_APDU [15:32:53]CAPDU: 80 11 00 00 [15:32:53]Write to MH i2c: E2 08 00 3B 0B 80 11 00 00 00 00 00 00 C0 [15:32:53]Write i2c OK [15:32:53]MH_I2C_Read... [15:32:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:32:54]Read from MH i2c: E2 [15:32:54]MH_I2C_Read... [15:32:54]Read from MH i2c: E2 17 00 [15:32:54]MH_I2C_Read... [15:32:54]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 34 32 30 90 00 0D [15:32:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:32:54]wFMCommunicate OK [15:32:54]requested_item fd.num is exist - process it [15:32:54]SAM_PROTO_GetFieldsCounters [15:32:54]wFMCommunicate request_size=4 [15:32:54]MH_SAM_APDU [15:32:54]CAPDU: 80 13 00 00 [15:32:54]Write to MH i2c: E2 08 00 3C 0B 80 13 00 00 00 00 00 00 C3 [15:32:54]Write i2c OK [15:32:54]MH_I2C_Read... [15:32:54]Read from MH i2c: E2 [15:32:54]MH_I2C_Read... [15:32:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:32:54]Read from MH i2c: E2 62 00 [15:32:54]MH_I2C_Read... [15:32:54]Read from MH i2c: E2 62 00 3C 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 17 5F 00 00 0E 04 04 00 CD 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 AA [15:32:54]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 17 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:32:54]wFMCommunicate OK [15:32:54]SAM_PROTO_GetFieldsCounters done [15:32:54]requested_item shift.num is exist - process it [15:32:54]requested_item shift.opened is exist - process it [15:32:54]req_shift_opened [15:32:54]FM_GetShiftState [15:32:54]SAM_PROTO_GetShiftState [15:32:54]wFMCommunicate request_size=4 [15:32:54]MH_SAM_APDU [15:32:54]CAPDU: 80 13 01 00 [15:32:54]Write to MH i2c: E2 08 00 3D 0B 80 13 01 00 00 00 00 00 C5 [15:32:54]Write i2c OK [15:32:54]MH_I2C_Read... [15:32:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:32:54]Read from MH i2c: E2 [15:32:54]MH_I2C_Read... [15:32:54]Read from MH i2c: E2 0E 00 [15:32:54]MH_I2C_Read... [15:32:54]Read from MH i2c: E2 0E 00 3D 0B 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 0F [15:32:54]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [15:32:54]wFMCommunicate OK [15:32:54]SAM_PROTO_GetShiftState done [15:32:54]FM_GetShiftState done [15:32:54]req_shift_opened done [15:32:54]requested_item shift.open_date is exist - process it [15:32:54]req_shift_open_date [15:32:54]req_shift_open_date done [15:32:54]produce_requested_data done [15:32:54]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24343,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [15:32:54]process_action_free close_receipt [15:32:54]json_value_free [15:32:54]json_value_free done [15:32:54]process_json_proto returns [15:32:54]Send response to host [15:32:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24343,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [15:32:54]free response buf [15:32:54]execute_script done [15:32:54]execute_script returns [15:32:54]free content buf [15:32:54]Sock 8.Close socket [15:32:54]Sock 8.Thread stoped [15:32:54]OFD Sender: No OFD packet to send [15:32:59]OFD Sender: No OFD packet to send [15:33:04]OFD Sender: No OFD packet to send [15:33:09]OFD Sender: No OFD packet to send [15:33:14]OFD Sender: No OFD packet to send [15:33:19]OFD Sender: No OFD packet to send [15:33:24]OFD Sender: No OFD packet to send [15:33:29]OFD Sender: No OFD packet to send [15:33:34]OFD Sender: No OFD packet to send [15:33:39]OFD Sender: No OFD packet to send [15:33:44]OFD Sender: No OFD packet to send [15:33:49]OFD Sender: No OFD packet to send [15:33:54]OFD Sender: No OFD packet to send [15:33:59]OFD Sender: No OFD packet to send [15:34:04]OFD Sender: No OFD packet to send [15:34:09]OFD Sender: No OFD packet to send [15:34:14]OFD Sender: No OFD packet to send [15:34:19]OFD Sender: No OFD packet to send [15:34:24]OFD Sender: No OFD packet to send [15:34:29]OFD Sender: No OFD packet to send [15:34:34]OFD Sender: No OFD packet to send [15:34:39]OFD Sender: No OFD packet to send [15:34:44]OFD Sender: No OFD packet to send [15:34:49]OFD Sender: No OFD packet to send [15:34:54]OFD Sender: No OFD packet to send [15:34:59]OFD Sender: No OFD packet to send [15:35:04]OFD Sender: No OFD packet to send [15:35:09]OFD Sender: No OFD packet to send [15:35:14]OFD Sender: No OFD packet to send [15:35:19]OFD Sender: No OFD packet to send [15:35:24]OFD Sender: No OFD packet to send [15:35:29]OFD Sender: No OFD packet to send [15:35:34]OFD Sender: No OFD packet to send [15:35:39]OFD Sender: No OFD packet to send [15:35:44]OFD Sender: No OFD packet to send [15:35:49]OFD Sender: No OFD packet to send [15:35:54]OFD Sender: No OFD packet to send [15:35:59]OFD Sender: No OFD packet to send [15:36:04]OFD Sender: No OFD packet to send [15:36:09]OFD Sender: No OFD packet to send [15:36:14]OFD Sender: No OFD packet to send [15:36:19]OFD Sender: No OFD packet to send [15:36:24]OFD Sender: No OFD packet to send [15:36:29]OFD Sender: No OFD packet to send [15:36:34]OFD Sender: No OFD packet to send [15:36:39]OFD Sender: No OFD packet to send [15:36:44]OFD Sender: No OFD packet to send [15:36:49]OFD Sender: No OFD packet to send [15:36:54]OFD Sender: No OFD packet to send [15:36:59]OFD Sender: No OFD packet to send [15:37:04]OFD Sender: No OFD packet to send [15:37:09]OFD Sender: No OFD packet to send [15:37:14]OFD Sender: No OFD packet to send [15:37:19]OFD Sender: No OFD packet to send [15:37:24]OFD Sender: No OFD packet to send [15:37:29]OFD Sender: No OFD packet to send [15:37:34]OFD Sender: No OFD packet to send [15:37:39]OFD Sender: No OFD packet to send [15:37:44]OFD Sender: No OFD packet to send [15:37:49]OFD Sender: No OFD packet to send [15:37:54]OFD Sender: No OFD packet to send [15:37:59]OFD Sender: No OFD packet to send [15:38:04]OFD Sender: No OFD packet to send [15:38:09]OFD Sender: No OFD packet to send [15:38:14]OFD Sender: No OFD packet to send [15:38:19]OFD Sender: No OFD packet to send [15:38:24]OFD Sender: No OFD packet to send [15:38:29]OFD Sender: No OFD packet to send [15:38:34]OFD Sender: No OFD packet to send [15:38:39]OFD Sender: No OFD packet to send [15:38:44]OFD Sender: No OFD packet to send [15:38:49]OFD Sender: No OFD packet to send [15:38:54]OFD Sender: No OFD packet to send [15:38:59]OFD Sender: No OFD packet to send [15:39:04]OFD Sender: No OFD packet to send [15:39:09]OFD Sender: No OFD packet to send [15:39:14]OFD Sender: No OFD packet to send [15:39:19]OFD Sender: No OFD packet to send [15:39:24]OFD Sender: No OFD packet to send [15:39:29]OFD Sender: No OFD packet to send [15:39:34]OFD Sender: No OFD packet to send [15:39:39]OFD Sender: No OFD packet to send [15:39:44]OFD Sender: No OFD packet to send [15:39:49]OFD Sender: No OFD packet to send [15:39:54]OFD Sender: No OFD packet to send [15:39:59]OFD Sender: No OFD packet to send [15:40:04]OFD Sender: No OFD packet to send [15:40:09]OFD Sender: No OFD packet to send [15:40:14]OFD Sender: No OFD packet to send [15:40:19]OFD Sender: No OFD packet to send [15:40:24]OFD Sender: No OFD packet to send [15:40:29]OFD Sender: No OFD packet to send [15:40:34]OFD Sender: No OFD packet to send [15:40:39]OFD Sender: No OFD packet to send [15:40:44]OFD Sender: No OFD packet to send [15:40:49]OFD Sender: No OFD packet to send [15:40:54]OFD Sender: No OFD packet to send [15:40:59]OFD Sender: No OFD packet to send [15:41:04]OFD Sender: No OFD packet to send [15:41:09]OFD Sender: No OFD packet to send [15:41:14]OFD Sender: No OFD packet to send [15:41:19]OFD Sender: No OFD packet to send [15:41:24]OFD Sender: No OFD packet to send [15:41:29]OFD Sender: No OFD packet to send [15:41:34]OFD Sender: No OFD packet to send [15:41:39]OFD Sender: No OFD packet to send [15:41:44]OFD Sender: No OFD packet to send [15:41:49]OFD Sender: No OFD packet to send [15:41:54]OFD Sender: No OFD packet to send [15:41:59]OFD Sender: No OFD packet to send [15:42:04]OFD Sender: No OFD packet to send [15:42:09]OFD Sender: No OFD packet to send [15:42:14]OFD Sender: No OFD packet to send [15:42:19]OFD Sender: No OFD packet to send [15:42:24]OFD Sender: No OFD packet to send [15:42:29]OFD Sender: No OFD packet to send [15:42:34]OFD Sender: No OFD packet to send [15:42:39]OFD Sender: No OFD packet to send [15:42:44]OFD Sender: No OFD packet to send [15:42:49]OFD Sender: No OFD packet to send [15:42:54]OFD Sender: No OFD packet to send [15:42:59]OFD Sender: No OFD packet to send [15:43:04]OFD Sender: No OFD packet to send [15:43:09]OFD Sender: No OFD packet to send [15:43:14]OFD Sender: No OFD packet to send [15:43:19]OFD Sender: No OFD packet to send [15:43:24]OFD Sender: No OFD packet to send [15:43:29]OFD Sender: No OFD packet to send [15:43:34]OFD Sender: No OFD packet to send [15:43:39]OFD Sender: No OFD packet to send [15:43:44]OFD Sender: No OFD packet to send [15:43:49]OFD Sender: No OFD packet to send [15:43:54]OFD Sender: No OFD packet to send [15:43:59]OFD Sender: No OFD packet to send [15:44:04]OFD Sender: No OFD packet to send [15:44:09]OFD Sender: No OFD packet to send [15:44:14]OFD Sender: No OFD packet to send [15:44:19]OFD Sender: No OFD packet to send [15:44:24]OFD Sender: No OFD packet to send [15:44:29]OFD Sender: No OFD packet to send [15:44:34]OFD Sender: No OFD packet to send [15:44:39]OFD Sender: No OFD packet to send [15:44:44]OFD Sender: No OFD packet to send [15:44:49]OFD Sender: No OFD packet to send [15:44:54]OFD Sender: No OFD packet to send [15:44:59]OFD Sender: No OFD packet to send [15:45:04]OFD Sender: No OFD packet to send [15:45:09]OFD Sender: No OFD packet to send [15:45:14]OFD Sender: No OFD packet to send [15:45:19]OFD Sender: No OFD packet to send [15:45:24]OFD Sender: No OFD packet to send [15:45:29]OFD Sender: No OFD packet to send [15:45:34]OFD Sender: No OFD packet to send [15:45:39]OFD Sender: No OFD packet to send [15:45:44]OFD Sender: No OFD packet to send [15:45:49]OFD Sender: No OFD packet to send [15:45:54]OFD Sender: No OFD packet to send [15:45:59]OFD Sender: No OFD packet to send [15:46:04]OFD Sender: No OFD packet to send [15:46:09]OFD Sender: No OFD packet to send [15:46:14]OFD Sender: No OFD packet to send [15:46:19]OFD Sender: No OFD packet to send [15:46:24]OFD Sender: No OFD packet to send [15:46:29]OFD Sender: No OFD packet to send [15:46:34]OFD Sender: No OFD packet to send [15:46:39]OFD Sender: No OFD packet to send [15:46:44]OFD Sender: No OFD packet to send [15:46:49]OFD Sender: No OFD packet to send [15:46:54]OFD Sender: No OFD packet to send [15:46:59]OFD Sender: No OFD packet to send [15:47:04]OFD Sender: No OFD packet to send [15:47:09]OFD Sender: No OFD packet to send [15:47:14]OFD Sender: No OFD packet to send [15:47:19]OFD Sender: No OFD packet to send [15:47:24]OFD Sender: No OFD packet to send [15:47:29]OFD Sender: No OFD packet to send [15:47:34]OFD Sender: No OFD packet to send [15:47:39]OFD Sender: No OFD packet to send [15:47:44]OFD Sender: No OFD packet to send [15:47:49]OFD Sender: No OFD packet to send [15:47:54]OFD Sender: No OFD packet to send [15:47:59]OFD Sender: No OFD packet to send [15:48:04]OFD Sender: No OFD packet to send [15:48:09]OFD Sender: No OFD packet to send [15:48:14]OFD Sender: No OFD packet to send [15:48:19]OFD Sender: No OFD packet to send [15:48:24]OFD Sender: No OFD packet to send [15:48:29]OFD Sender: No OFD packet to send [15:48: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:38]accept exits with 9 [15:51:38]New connection [15:51:38]New thread 3066940772 created [15:51:38]Thread 3067084132 joined [15:51:38]Waiting for new connection... [15:51:38] Sock 9.Parse request [15:51:38]Sock 9.Check first char [15:51:38]Sock 9.First char is OK [15:51:38]request: POST /json_proto HTTP/1.0 [15:51:38]Method: POST [15:51:38]URL: /json_proto [15:51:38]Method is POST - this is cgi request [15:51:38]url: /json_proto [15:51:38]query_string will be loaded in cgi processing [15:51:38]execute_cgi json_proto POST (null) [15:51:38]execute_cgi path=json_proto method=POST [15:51:38]POST find Content-Length [15:51:38]Host: 172.17.50.4:8080 [15:51:38]Content-Length: 622 [15:51:38]Content-Type: application/json [15:51:38] [15:51:38]POST finish read [15:51:38]Found Content-Length = 622 [15:51:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134865", "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:51:38]execute_script... [15:51:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134865", "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:51:38]POST & json_proto [15:51:38]process_json_proto [15:51:38]json parsed OK: [15:51:38]protocol is kg_v1.0 [15:51:38]action value=close_receipt [15:51:38]process_action close_receipt [15:51:38]cmd_close_receipt [15:51:38]MH_GetDate [15:51:38]Write to MH i2c: F0 00 00 3E 0B 38 [15:51:38]Write i2c OK [15:51:38]MH_I2C_Read... [15:51:38]Read from MH i2c: F0 [15:51:38]MH_I2C_Read... [15:51:38]Read from MH i2c: F0 09 00 [15:51:38]MH_I2C_Read... [15:51:38]Read from MH i2c: F0 09 00 3E 0B 00 8C 78 16 67 3B 12 16 67 8C [15:51:38]GetLastDocTimeStamp 1729524773 [15:51:38]current date 1729525900 [15:51:38]FM_GetShiftState [15:51:38]SAM_PROTO_GetShiftState [15:51:38]wFMCommunicate request_size=4 [15:51:38]MH_SAM_APDU [15:51:38]CAPDU: 80 13 01 00 [15:51:38]Write to MH i2c: E2 08 00 3F 0B 80 13 01 00 00 00 00 00 C7 [15:51:38]Write i2c OK [15:51:38]MH_I2C_Read... [15:51:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:51:38]Read from MH i2c: E2 [15:51:38]MH_I2C_Read... [15:51:38]Read from MH i2c: E2 0E 00 [15:51:38]MH_I2C_Read... [15:51:38]Read from MH i2c: E2 0E 00 3F 0B 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 11 [15:51:38]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [15:51:38]wFMCommunicate OK [15:51:38]SAM_PROTO_GetShiftState done [15:51:38]FM_GetShiftState done [15:51:38]opened in 1729469223 [15:51:38]opened+sec_in_day 1729555623 [15:51:38]quantity*price = 16000 [15:51:38]sum+1 = 16001 [15:51:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.42 НДС 12% : 16.99 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 48 21.10.2024 15:51 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24344 ФПД: 183452765198529 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T155140&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24344&fm=183452765198529&tin=02508201610067®Number=0000000000098120&sum=16000 0 [15:51:39]StoreToDocumentArchive [15:51:39]shift 461 fd 24344 [15:51:39]save to /storage/0461/doc_00024344 [15:51:39]save last doc name /storage/0461/doc_00024344 to /storage/kkm_last_doc_name [15:51:39]save OK [15:51:39]Clear old archive folders... [15:51:39]ProcessDocumentItem done err = 0, tmpTLVsize=274 [15:51:39]tlvbuf is 00338880 [15:51:39]SAM_PROTO_ClearQueue [15:51:39]wFMCommunicate request_size=4 [15:51:39]MH_SAM_APDU [15:51:39]CAPDU: 80 09 00 00 [15:51:39]Write to MH i2c: E2 08 00 4C 0B 80 09 00 00 00 00 00 00 C9 [15:51:39]Write i2c OK [15:51:39]MH_I2C_Read... [15:51:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:51:39]Read from MH i2c: E2 [15:51:39]MH_I2C_Read... [15:51:39]Read from MH i2c: E2 03 00 [15:51:39]MH_I2C_Read... [15:51:39]Read from MH i2c: E2 03 00 4C 0B 00 90 00 CB [15:51:39]RAPDU: 90 00 [15:51:39]wFMCommunicate OK [15:51:39]SAM_PROTO_ClearQueue done [15:51:39]KKMCreateOFDPacket [15:51:39]OFDProtocolAddRootSTLVToBuf [15:51:39]FM_MakeSignedData [15:51:39]FM_MakeSignedData [15:51:39]SAM_PROTO_SignData [15:51:39]wFMCommunicate request_size=4 [15:51:39]MH_SAM_APDU [15:51:39]CAPDU: 80 0D 01 02 [15:51:39]Write to MH i2c: E2 08 00 4D 0B 80 0D 01 02 00 00 00 00 D1 [15:51:39]Write i2c OK [15:51:39]MH_I2C_Read... [15:51:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:51:39]Read from MH i2c: E2 [15:51:39]MH_I2C_Read... [15:51:39]Read from MH i2c: E2 03 00 [15:51:39]MH_I2C_Read... [15:51:39]Read from MH i2c: E2 03 00 4D 0B 00 90 00 CC [15:51:39]RAPDU: 90 00 [15:51:39]wFMCommunicate OK [15:51:39]wFMCommunicate request_size=255 [15:51:39]MH_SAM_APDU [15:51:39]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 30 00 00 00 F4 03 04 00 8C 78 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 [15:51:39]Write to MH i2c: E2 02 01 4E 0B 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 30 00 00 00 F4 03 04 00 8C 78 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 00 00 9C [15:51:39]Write i2c OK [15:51:39]MH_I2C_Read... [15:51:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:51:39]Read from MH i2c: E2 [15:51:39]MH_I2C_Read... [15:51:39]Read from MH i2c: E2 03 00 [15:51:39]MH_I2C_Read... [15:51:39]Read from MH i2c: E2 03 00 4E 0B 00 90 00 CD [15:51:39]RAPDU: 90 00 [15:51:39]wFMCommunicate OK [15:51:39]wFMCommunicate request_size=33 [15:51:39]MH_SAM_APDU [15:51:39]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 34 32 30 10 04 04 00 18 5F 00 00 35 04 06 00 A6 D9 6C E7 18 C1 [15:51:39]Write to MH i2c: E2 24 00 4F 0B 80 0D 02 02 1C 00 30 30 30 30 39 36 35 34 32 30 10 04 04 00 18 5F 00 00 35 04 06 00 A6 D9 6C E7 18 C1 00 00 7F [15:51:39]Write i2c OK [15:51:39]MH_I2C_Read... [15:51:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:51:39]Read from MH i2c: E2 [15:51:39]MH_I2C_Read... [15:51:39]Read from MH i2c: E2 03 00 [15:51:39]MH_I2C_Read... [15:51:39]Read from MH i2c: E2 03 00 4F 0B 00 90 00 CE [15:51:39]RAPDU: 90 00 [15:51:39]wFMCommunicate OK [15:51:39]wFMCommunicate request_size=4 [15:51:39]MH_SAM_APDU [15:51:39]CAPDU: 80 0D 03 02 [15:51:39]Write to MH i2c: E2 08 00 50 0B 80 0D 03 02 00 00 00 00 D6 [15:51:39]Write i2c OK [15:51:39]MH_I2C_Read... [15:51:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:51:39]Read from MH i2c: E2 [15:51:39]MH_I2C_Read... [15:51:39]Read from MH i2c: E2 0B 00 [15:51:39]MH_I2C_Read... [15:51:39]Read from MH i2c: E2 0B 00 50 0B 00 96 A1 E2 7F 6D 63 7C EE 90 00 A9 [15:51:39]RAPDU: 96 A1 E2 7F 6D 63 7C EE 90 00 [15:51:39]wFMCommunicate OK [15:51:39]SAM_PROTO_SignData done [15:51:39]FM_MakeSignedData done [15:51:39]CreateOFDProtocolMessage [15:51:39]wFMCommunicate request_size=4 [15:51:39]MH_SAM_APDU [15:51:39]CAPDU: 80 11 00 00 [15:51:39]Write to MH i2c: E2 08 00 51 0B 80 11 00 00 00 00 00 00 D6 [15:51:39]Write i2c OK [15:51:39]MH_I2C_Read... [15:51:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:51:39]Read from MH i2c: E2 [15:51:39]MH_I2C_Read... [15:51:39]Read from MH i2c: E2 17 00 [15:51:39]MH_I2C_Read... [15:51:39]Read from MH i2c: E2 17 00 51 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 23 [15:51:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:51:39]wFMCommunicate OK [15:51:39]CreateOFDProtocolMessage done [15:51:39]OFDSenderStorePacket 24344 [15:51:39]StoreOFDPacket docnum=24344 [15:51:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 26 01 00 00 89 55 1E 01 49 5F 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 30 00 00 00 F4 03 04 00 8C 78 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 18 5F 00 00 35 04 06 00 A6 D9 6C E7 18 C1 96 A1 E2 7F 6D 63 7C EE [15:51:39]CheckFolder [15:51:39]dirname=/storage/ofd_packets [15:51:39]CheckFolder done [15:51:39]ProducePacketName [15:51:39]name=ofd_packets/00024344 [15:51:39]NVStorageSaveData ofd_packets/00024344 [15:51:39]File name is /storage/ofd_packets/00024344 [15:51:39]Write 324 bytes [15:51:39]NVStorageSaveData done [15:51:39]OFDSenderStorePacket done [15:51:39]KKMCreateOFDPacket done [15:51:39]NVStorageSaveData kkm_last_timestamp [15:51:39]File name is /storage/kkm_last_timestamp [15:51:39]Write 4 bytes [15:51:39]NVStorageSaveData done [15:51:39]ExternCall_PrintAddStr [15:51:39]wPrintStart [15:51:39]Write to MH i2c: 01 00 00 52 0B 5D [15:51:39]Write i2c OK [15:51:39]MH_I2C_Read... [15:51:39]Read from MH i2c: 01 [15:51:39]MH_I2C_Read... [15:51:39]Read from MH i2c: 01 07 00 [15:51:39]MH_I2C_Read... [15:51:39]Read from MH i2c: 01 07 00 52 0B 00 00 00 00 00 FF 0F 72 [15:51:39]RasterBufferAndPrint [15:51:39]line Счет N : (3)134865 [15:51:39]line ИНН: 02508201610067 [15:51:39]line Контрольно-Кассовый Чек [15:51:39]line ПРОДАЖА [15:51:39]line Товар: 48741958 [15:51:39]line Сигареты Parliament Aqua Blue [15:51:39]line 1.000 * 160.00 [15:51:39]line = 160.00 [15:51:39]line НДС 12% НСП 1% [15:51:39]line > о реализуемом товаре [15:51:39]line ИТОГО: 160.00 [15:51:39]line НСП 1% : 1.42 [15:51:39]line НДС 12% : 16.99 [15:51:39]line Наличными: 160.00 [15:51:39]line Безнал.: 0.00 [15:51:39]line Место: АЗС № 85 "Партнер Нефть" [15:51:39]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [15:51:39]line СНО: Общий режим [15:51:39]line Чек 48 21.10.2024 15:51 [15:51:39]line Смена: 461 ФФД: 1.0 [15:51:39]line ЗНМ: 0300000166 [15:51:39]line РНМ: 0000000000098120 [15:51:39]line Версия ККМ: 001 [15:51:39]line ФМ: 0000000000965420 [15:51:39]line ФД: 24344 [15:51:39]line ФПД: 183452765198529 [15:51:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T155140&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24344&fm=183452765198529&tin=02508201610067®Number=0000000000098120&sum=16000 [15:51:40]line 0 [15:51:40]OFD Sender: Processing packet 24344 [packets to send 5, broken 4] [15:51:40]ProducePacketName [15:51:40]name=ofd_packets/00024344 [15:51:40]OFD Sender: To server: pG, [15:51:40]CommunicateWithHost lk.salyk.kg:30040 [15:51:40]ConnectInit lk.salyk.kg [15:51:40]written 0, free lines is 4095 [15:51:40]Connected sock=10 [15:51:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 26 01 00 00 89 55 1E 01 49 5F 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 30 00 00 00 F4 03 04 00 8C 78 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 18 5F 00 00 35 04 06 00 A6 D9 6C E7 18 C1 96 A1 E2 7F 6D 63 7C EE [15:51:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 BA 76 47 00 26 52 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 18 5F 00 00 F4 03 04 00 32 24 16 67 B6 04 01 00 00 2D A5 42 55 AE 78 7A 83 [15:51:40]CommunicateWithHost err = 0 [15:51:40]CheckOFDResponse [15:51:40]1017 (14) - 77093643461234 [15:51:40]1041 (16) - 0000000000965420 [15:51:40]1040 (4) - 24344 [15:51:40]1012 (4) - 21.10.2024 09:51 [15:51:40]1206 (1) - 0 [15:51:40]OFD Sender: Remove packet 24344 [15:51:40]ProducePacketName [15:51:40]name=ofd_packets/00024344 [15:51:40]NVStorageDeleteData [15:51:40]Write to MH i2c: 01 00 00 7B 0B 86 [15:51:40]Write i2c OK [15:51:40]MH_I2C_Read... [15:51:40]Read from MH i2c: 01 [15:51:40]MH_I2C_Read... [15:51:40]Read from MH i2c: 01 07 00 [15:51:40]MH_I2C_Read... [15:51:40]Read from MH i2c: 01 07 00 7B 0B 00 00 00 00 00 F5 0C 8E [15:51:40]RasterBufferAndPrint [15:51:40]line [15:51:40]line [15:51:40]line [15:51:40]line [15:51:40]line [15:51:40]written 0, free lines is 3323 [15:51:40]process_action close_receipt done [15:51:40]requested_data is exist [15:51:40]produce_requested_data [15:51:40]requested_item fm.sn is exist - process it [15:51:40]wFMCommunicate request_size=4 [15:51:40]MH_SAM_APDU [15:51:40]CAPDU: 80 11 00 00 [15:51:40]Write to MH i2c: E2 08 00 82 0B 80 11 00 00 00 00 00 00 07 [15:51:40]Write i2c OK [15:51:40]MH_I2C_Read... [15:51:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:51:40]Read from MH i2c: E2 [15:51:40]MH_I2C_Read... [15:51:40]Read from MH i2c: E2 17 00 [15:51:40]MH_I2C_Read... [15:51:40]Read from MH i2c: E2 17 00 82 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 54 [15:51:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:51:40]wFMCommunicate OK [15:51:40]requested_item fd.num is exist - process it [15:51:40]SAM_PROTO_GetFieldsCounters [15:51:40]wFMCommunicate request_size=4 [15:51:40]MH_SAM_APDU [15:51:40]CAPDU: 80 13 00 00 [15:51:40]Write to MH i2c: E2 08 00 83 0B 80 13 00 00 00 00 00 00 0A [15:51:40]Write i2c OK [15:51:40]MH_I2C_Read... [15:51:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:51:40]Read from MH i2c: E2 [15:51:40]MH_I2C_Read... [15:51:40]Read from MH i2c: E2 62 00 [15:51:40]MH_I2C_Read... [15:51:40]Read from MH i2c: E2 62 00 83 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 18 5F 00 00 0E 04 04 00 CD 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 F5 [15:51: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 18 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:51:40]wFMCommunicate OK [15:51:40]SAM_PROTO_GetFieldsCounters done [15:51:40]requested_item shift.num is exist - process it [15:51:40]requested_item shift.opened is exist - process it [15:51:40]req_shift_opened [15:51:40]FM_GetShiftState [15:51:40]SAM_PROTO_GetShiftState [15:51:40]wFMCommunicate request_size=4 [15:51:40]MH_SAM_APDU [15:51:40]CAPDU: 80 13 01 00 [15:51:40]Write to MH i2c: E2 08 00 84 0B 80 13 01 00 00 00 00 00 0C [15:51:40]Write i2c OK [15:51:40]MH_I2C_Read... [15:51:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:51:40]Read from MH i2c: E2 [15:51:40]MH_I2C_Read... [15:51:40]Read from MH i2c: E2 0E 00 [15:51:40]MH_I2C_Read... [15:51:40]Read from MH i2c: E2 0E 00 84 0B 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 56 [15:51:40]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [15:51:40]wFMCommunicate OK [15:51:40]SAM_PROTO_GetShiftState done [15:51:40]FM_GetShiftState done [15:51:40]req_shift_opened done [15:51:40]requested_item shift.open_date is exist - process it [15:51:40]req_shift_open_date [15:51:40]req_shift_open_date done [15:51:40]produce_requested_data done [15:51:40]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24344,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [15:51:40]process_action_free close_receipt [15:51:40]json_value_free [15:51:40]json_value_free done [15:51:40]process_json_proto returns [15:51:40]Send response to host [15:51:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24344,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [15:51:40]free response buf [15:51:40]execute_script done [15:51:40]execute_script returns [15:51:40]free content buf [15:51:40]Sock 9.Close socket [15:51:40]Sock 9.Thread stoped [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:20]OFD Sender: No OFD packet to send [15:52:25]OFD Sender: No OFD packet to send [15:52:30]OFD Sender: No OFD packet to send [15:52:35]OFD Sender: No OFD packet to send [15:52:40]OFD Sender: No OFD packet to send [15:52:45]OFD Sender: No OFD packet to send [15:52:50]OFD Sender: No OFD packet to send [15:52:55]OFD Sender: No OFD packet to send [15:53:00]OFD Sender: No OFD packet to send [15:53:05]OFD Sender: No OFD packet to send [15:53:10]OFD Sender: No OFD packet to send [15:53:15]OFD Sender: No OFD packet to send [15:53:20]OFD Sender: No OFD packet to send [15:53:25]OFD Sender: No OFD packet to send [15:53:30]OFD Sender: No OFD packet to send [15:53:35]OFD Sender: No OFD packet to send [15:53:40]OFD Sender: No OFD packet to send [15:53:45]OFD Sender: No OFD packet to send [15:53:50]OFD Sender: No OFD packet to send [15:53:55]OFD Sender: No OFD packet to send [15:54:00]OFD Sender: No OFD packet to send [15:54:05]OFD Sender: No OFD packet to send [15:54:10]OFD Sender: No OFD packet to send [15:54:15]OFD Sender: No OFD packet to send [15:54:20]OFD Sender: No OFD packet to send [15:54:25]OFD Sender: No OFD packet to send [15:54:30]OFD Sender: No OFD packet to send [15:54:35]OFD Sender: No OFD packet to send [15:54:40]OFD Sender: No OFD packet to send [15:54:45]OFD Sender: No OFD packet to send [15:54: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:55]accept exits with 8 [15:57:55]New connection [15:57:55]New thread 3067084132 created [15:57:55]Thread 3066940772 joined [15:57:55]Waiting for new connection... [15:57:55] Sock 8.Parse request [15:57:55]Sock 8.Check first char [15:57:55]Sock 8.First char is OK [15:57:55]request: POST /json_proto HTTP/1.0 [15:57:55]Method: POST [15:57:55]URL: /json_proto [15:57:55]Method is POST - this is cgi request [15:57:55]url: /json_proto [15:57:55]query_string will be loaded in cgi processing [15:57:55]execute_cgi json_proto POST (null) [15:57:55]execute_cgi path=json_proto method=POST [15:57:55]POST find Content-Length [15:57:55]Host: 172.17.50.4:8080 [15:57:55]Content-Length: 628 [15:57:55]Content-Type: application/json [15:57:55] [15:57:55]POST finish read [15:57:55]Found Content-Length = 628 [15:57:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134866", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "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" ] } } [15:57:55]execute_script... [15:57: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)134866", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "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" ] } } [15:57:55]POST & json_proto [15:57:55]process_json_proto [15:57:55]json parsed OK: [15:57:55]protocol is kg_v1.0 [15:57:55]action value=close_receipt [15:57:55]process_action close_receipt [15:57:55]cmd_close_receipt [15:57:55]MH_GetDate [15:57:55]Write to MH i2c: F0 00 00 85 0B 7F [15:57:55]Write i2c OK [15:57:55]MH_I2C_Read... [15:57:55]Read from MH i2c: F0 [15:57:55]MH_I2C_Read... [15:57:55]Read from MH i2c: F0 09 00 [15:57:55]MH_I2C_Read... [15:57:55]Read from MH i2c: F0 09 00 85 0B 00 05 7A 16 67 3B 12 16 67 4E [15:57:55]GetLastDocTimeStamp 1729525900 [15:57:55]current date 1729526277 [15:57:55]FM_GetShiftState [15:57:55]SAM_PROTO_GetShiftState [15:57:55]wFMCommunicate request_size=4 [15:57:55]MH_SAM_APDU [15:57:55]CAPDU: 80 13 01 00 [15:57:55]Write to MH i2c: E2 08 00 86 0B 80 13 01 00 00 00 00 00 0E [15:57:55]Write i2c OK [15:57:55]MH_I2C_Read... [15:57:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:57:55]Read from MH i2c: E2 [15:57:55]MH_I2C_Read... [15:57:55]Read from MH i2c: E2 0E 00 [15:57:55]MH_I2C_Read... [15:57:55]Read from MH i2c: E2 0E 00 86 0B 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 58 [15:57:55]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [15:57:55]wFMCommunicate OK [15:57:55]SAM_PROTO_GetShiftState done [15:57:55]FM_GetShiftState done [15:57:55]opened in 1729469223 [15:57:55]opened+sec_in_day 1729555623 [15:57:55]quantity*price = 13900 [15:57:55]sum+1 = 13901 [15:57:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 49 21.10.2024 15:57 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24345 ФПД: 167524429685641 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T155757&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24345&fm=167524429685641&tin=02508201610067®Number=0000000000098120&sum=13900 0 [15:57:56]StoreToDocumentArchive [15:57:56]shift 461 fd 24345 [15:57:56]save to /storage/0461/doc_00024345 [15:57:56]save last doc name /storage/0461/doc_00024345 to /storage/kkm_last_doc_name [15:57:56]save OK [15:57:56]Clear old archive folders... [15:57:56]ProcessDocumentItem done err = 0, tmpTLVsize=280 [15:57:56]tlvbuf is 00334000 [15:57:56]SAM_PROTO_ClearQueue [15:57:56]wFMCommunicate request_size=4 [15:57:56]MH_SAM_APDU [15:57:56]CAPDU: 80 09 00 00 [15:57:56]Write to MH i2c: E2 08 00 93 0B 80 09 00 00 00 00 00 00 10 [15:57:56]Write i2c OK [15:57:56]MH_I2C_Read... [15:57:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:57:56]Read from MH i2c: E2 [15:57:56]MH_I2C_Read... [15:57:56]Read from MH i2c: E2 03 00 [15:57:56]MH_I2C_Read... [15:57:56]Read from MH i2c: E2 03 00 93 0B 00 90 00 12 [15:57:56]RAPDU: 90 00 [15:57:56]wFMCommunicate OK [15:57:56]SAM_PROTO_ClearQueue done [15:57:56]KKMCreateOFDPacket [15:57:56]OFDProtocolAddRootSTLVToBuf [15:57:56]FM_MakeSignedData [15:57:56]FM_MakeSignedData [15:57:56]SAM_PROTO_SignData [15:57:56]wFMCommunicate request_size=4 [15:57:56]MH_SAM_APDU [15:57:56]CAPDU: 80 0D 01 02 [15:57:56]Write to MH i2c: E2 08 00 94 0B 80 0D 01 02 00 00 00 00 18 [15:57:56]Write i2c OK [15:57:56]MH_I2C_Read... [15:57:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:57:56]Read from MH i2c: E2 [15:57:56]MH_I2C_Read... [15:57:56]Read from MH i2c: E2 03 00 [15:57:56]MH_I2C_Read... [15:57:56]Read from MH i2c: E2 03 00 94 0B 00 90 00 13 [15:57:56]RAPDU: 90 00 [15:57:56]wFMCommunicate OK [15:57:56]wFMCommunicate request_size=255 [15:57:56]MH_SAM_APDU [15:57:56]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 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 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 31 00 00 00 F4 03 04 00 05 7A 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 [15:57:56]Write to MH i2c: E2 02 01 95 0B 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 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 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 31 00 00 00 F4 03 04 00 05 7A 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 00 00 DF [15:57:56]Write i2c OK [15:57:56]MH_I2C_Read... [15:57:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:57:56]Read from MH i2c: E2 [15:57:56]MH_I2C_Read... [15:57:56]Read from MH i2c: E2 03 00 [15:57:56]MH_I2C_Read... [15:57:56]Read from MH i2c: E2 03 00 95 0B 00 90 00 14 [15:57:56]RAPDU: 90 00 [15:57:56]wFMCommunicate OK [15:57:56]wFMCommunicate request_size=39 [15:57:56]MH_SAM_APDU [15:57:56]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 19 5F 00 00 35 04 06 00 98 5C D2 1F 63 89 [15:57:56]Write to MH i2c: E2 2A 00 96 0B 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 19 5F 00 00 35 04 06 00 98 5C D2 1F 63 89 00 00 19 [15:57:56]Write i2c OK [15:57:56]MH_I2C_Read... [15:57:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:57:56]Read from MH i2c: E2 [15:57:56]MH_I2C_Read... [15:57:56]Read from MH i2c: E2 03 00 [15:57:56]MH_I2C_Read... [15:57:56]Read from MH i2c: E2 03 00 96 0B 00 90 00 15 [15:57:56]RAPDU: 90 00 [15:57:56]wFMCommunicate OK [15:57:56]wFMCommunicate request_size=4 [15:57:56]MH_SAM_APDU [15:57:56]CAPDU: 80 0D 03 02 [15:57:56]Write to MH i2c: E2 08 00 97 0B 80 0D 03 02 00 00 00 00 1D [15:57:56]Write i2c OK [15:57:56]MH_I2C_Read... [15:57:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:57:56]Read from MH i2c: E2 [15:57:56]MH_I2C_Read... [15:57:56]Read from MH i2c: E2 0B 00 [15:57:56]MH_I2C_Read... [15:57:56]Read from MH i2c: E2 0B 00 97 0B 00 77 97 9C E0 77 56 F4 13 90 00 7C [15:57:56]RAPDU: 77 97 9C E0 77 56 F4 13 90 00 [15:57:56]wFMCommunicate OK [15:57:56]SAM_PROTO_SignData done [15:57:56]FM_MakeSignedData done [15:57:56]CreateOFDProtocolMessage [15:57:56]wFMCommunicate request_size=4 [15:57:56]MH_SAM_APDU [15:57:56]CAPDU: 80 11 00 00 [15:57:56]Write to MH i2c: E2 08 00 98 0B 80 11 00 00 00 00 00 00 1D [15:57:56]Write i2c OK [15:57:56]MH_I2C_Read... [15:57:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:57:56]Read from MH i2c: E2 [15:57:56]MH_I2C_Read... [15:57:56]Read from MH i2c: E2 17 00 [15:57:56]MH_I2C_Read... [15:57:56]Read from MH i2c: E2 17 00 98 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 6A [15:57:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:57:56]wFMCommunicate OK [15:57:56]CreateOFDProtocolMessage done [15:57:56]OFDSenderStorePacket 24345 [15:57:56]StoreOFDPacket docnum=24345 [15:57:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2C 01 00 00 DB 75 24 01 7E 23 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 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 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 31 00 00 00 F4 03 04 00 05 7A 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 19 5F 00 00 35 04 06 00 98 5C D2 1F 63 89 77 97 9C E0 77 56 F4 13 [15:57:56]CheckFolder [15:57:56]dirname=/storage/ofd_packets [15:57:56]CheckFolder done [15:57:56]ProducePacketName [15:57:56]name=ofd_packets/00024345 [15:57:56]NVStorageSaveData ofd_packets/00024345 [15:57:56]File name is /storage/ofd_packets/00024345 [15:57:56]Write 330 bytes [15:57:56]NVStorageSaveData done [15:57:56]OFDSenderStorePacket done [15:57:56]KKMCreateOFDPacket done [15:57:56]NVStorageSaveData kkm_last_timestamp [15:57:56]File name is /storage/kkm_last_timestamp [15:57:56]Write 4 bytes [15:57:56]NVStorageSaveData done [15:57:56]ExternCall_PrintAddStr [15:57:56]wPrintStart [15:57:56]Write to MH i2c: 01 00 00 99 0B A4 [15:57:56]Write i2c OK [15:57:56]MH_I2C_Read... [15:57:56]Read from MH i2c: 01 [15:57:56]MH_I2C_Read... [15:57:56]Read from MH i2c: 01 07 00 [15:57:56]MH_I2C_Read... [15:57:56]Read from MH i2c: 01 07 00 99 0B 00 00 00 00 00 FF 0F B9 [15:57:56]RasterBufferAndPrint [15:57:56]line Счет N : (3)134866 [15:57:56]line ИНН: 02508201610067 [15:57:56]line Контрольно-Кассовый Чек [15:57:56]line ПРОДАЖА [15:57:56]line Товар: 48741231 [15:57:56]line Сигареты Winston Super Slims Silver [15:57:56]line 1.000 * 139.00 [15:57:56]line = 139.00 [15:57:56]line НДС 12% НСП 1% [15:57:56]line > о реализуемом товаре [15:57:56]line ИТОГО: 139.00 [15:57:56]line НСП 1% : 1.23 [15:57:56]line НДС 12% : 14.76 [15:57:56]line Наличными: 139.00 [15:57:56]line Безнал.: 0.00 [15:57:56]line Место: АЗС № 85 "Партнер Нефть" [15:57:56]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [15:57:56]line СНО: Общий режим [15:57:56]line Чек 49 21.10.2024 15:57 [15:57:56]line Смена: 461 ФФД: 1.0 [15:57:56]line ЗНМ: 0300000166 [15:57:56]line РНМ: 0000000000098120 [15:57:56]line Версия ККМ: 001 [15:57:56]line ФМ: 0000000000965420 [15:57:56]line ФД: 24345 [15:57:56]line ФПД: 167524429685641 [15:57:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T155757&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24345&fm=167524429685641&tin=02508201610067®Number=0000000000098120&sum=13900 [15:57:57]OFD Sender: Processing packet 24345 [packets to send 5, broken 4] [15:57:57]ProducePacketName [15:57:57]name=ofd_packets/00024345 [15:57:57]OFD Sender: To server: pG, [15:57:57]CommunicateWithHost lk.salyk.kg:30040 [15:57:57]ConnectInit lk.salyk.kg [15:57:57]line 0 [15:57:57]written 0, free lines is 4095 [15:57:57]Connected sock=10 [15:57:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2C 01 00 00 DB 75 24 01 7E 23 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 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 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 31 00 00 00 F4 03 04 00 05 7A 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 19 5F 00 00 35 04 06 00 98 5C D2 1F 63 89 77 97 9C E0 77 56 F4 13 [15:57:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 24 05 47 00 C3 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 34 32 30 10 04 04 00 19 5F 00 00 F4 03 04 00 AB 25 16 67 B6 04 01 00 00 0F 62 3B 59 2A 31 B6 03 [15:57:57]CommunicateWithHost err = 0 [15:57:57]CheckOFDResponse [15:57:57]1017 (14) - 77093643461234 [15:57:57]1041 (16) - 0000000000965420 [15:57:57]1040 (4) - 24345 [15:57:57]1012 (4) - 21.10.2024 09:58 [15:57:57]1206 (1) - 0 [15:57:57]OFD Sender: Remove packet 24345 [15:57:57]ProducePacketName [15:57:57]name=ofd_packets/00024345 [15:57:57]NVStorageDeleteData [15:57:57]Write to MH i2c: 01 00 00 C2 0B CD [15:57:57]Write i2c OK [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: 01 [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: 01 07 00 [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: 01 07 00 C2 0B 00 00 00 00 00 10 0D F1 [15:57:57]RasterBufferAndPrint [15:57:57]line [15:57:57]line [15:57:57]line [15:57:57]line [15:57:57]line [15:57:57]written 0, free lines is 3350 [15:57:57]process_action close_receipt done [15:57:57]requested_data is exist [15:57:57]produce_requested_data [15:57:57]requested_item fm.sn is exist - process it [15:57:57]wFMCommunicate request_size=4 [15:57:57]MH_SAM_APDU [15:57:57]CAPDU: 80 11 00 00 [15:57:57]Write to MH i2c: E2 08 00 C9 0B 80 11 00 00 00 00 00 00 4E [15:57:57]Write i2c OK [15:57:57]MH_I2C_Read... [15:57:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:57:57]Read from MH i2c: E2 [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: E2 17 00 [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: E2 17 00 C9 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 9B [15:57:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:57:57]wFMCommunicate OK [15:57:57]requested_item fd.num is exist - process it [15:57:57]SAM_PROTO_GetFieldsCounters [15:57:57]wFMCommunicate request_size=4 [15:57:57]MH_SAM_APDU [15:57:57]CAPDU: 80 13 00 00 [15:57:57]Write to MH i2c: E2 08 00 CA 0B 80 13 00 00 00 00 00 00 51 [15:57:57]Write i2c OK [15:57:57]MH_I2C_Read... [15:57:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:57:57]Read from MH i2c: E2 [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: E2 62 00 [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: E2 62 00 CA 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 19 5F 00 00 0E 04 04 00 CD 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 40 [15:57: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 19 5F 00 00 0E 04 04 00 CD 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 [15:57:57]wFMCommunicate OK [15:57:57]SAM_PROTO_GetFieldsCounters done [15:57:57]requested_item shift.num is exist - process it [15:57:57]requested_item shift.opened is exist - process it [15:57:57]req_shift_opened [15:57:57]FM_GetShiftState [15:57:57]SAM_PROTO_GetShiftState [15:57:57]wFMCommunicate request_size=4 [15:57:57]MH_SAM_APDU [15:57:57]CAPDU: 80 13 01 00 [15:57:57]Write to MH i2c: E2 08 00 CB 0B 80 13 01 00 00 00 00 00 53 [15:57:57]Write i2c OK [15:57:57]MH_I2C_Read... [15:57:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:57:57]Read from MH i2c: E2 [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: E2 0E 00 [15:57:57]MH_I2C_Read... [15:57:57]Read from MH i2c: E2 0E 00 CB 0B 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 9D [15:57:57]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [15:57:57]wFMCommunicate OK [15:57:57]SAM_PROTO_GetShiftState done [15:57:57]FM_GetShiftState done [15:57:57]req_shift_opened done [15:57:57]requested_item shift.open_date is exist - process it [15:57:57]req_shift_open_date [15:57:57]req_shift_open_date done [15:57:57]produce_requested_data done [15:57:57]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24345,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [15:57:57]process_action_free close_receipt [15:57:57]json_value_free [15:57:57]json_value_free done [15:57:57]process_json_proto returns [15:57:57]Send response to host [15:57:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24345,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [15:57:57]free response buf [15:57:57]execute_script done [15:57:57]execute_script returns [15:57:57]free content buf [15:57:57]Sock 8.Close socket [15:57:57]Sock 8.Thread stoped [15:57:58]OFD Sender: No OFD packet to send [15:58:03]OFD Sender: No OFD packet to send [15:58:08]OFD Sender: No OFD packet to send [15:58:13]OFD Sender: No OFD packet to send [15:58:18]OFD Sender: No OFD packet to send [15:58:23]OFD Sender: No OFD packet to send [15:58:28]OFD Sender: No OFD packet to send [15:58:33]OFD Sender: No OFD packet to send [15:58:38]OFD Sender: No OFD packet to send [15:58:43]OFD Sender: No OFD packet to send [15:58:48]OFD Sender: No OFD packet to send [15:58:53]OFD Sender: No OFD packet to send [15:58:58]OFD Sender: No OFD packet to send [15:59:03]OFD Sender: No OFD packet to send [15:59:08]OFD Sender: No OFD packet to send [15:59:13]OFD Sender: No OFD packet to send [15:59:18]OFD Sender: No OFD packet to send [15:59:23]OFD Sender: No OFD packet to send [15:59:28]OFD Sender: No OFD packet to send [15:59:33]OFD Sender: No OFD packet to send [15:59:38]OFD Sender: No OFD packet to send [15:59:43]OFD Sender: No OFD packet to send [15:59:48]OFD Sender: No OFD packet to send [15:59:53]OFD Sender: No OFD packet to send [15:59:58]OFD Sender: No OFD packet to send [16:00:03]OFD Sender: No OFD packet to send [16:00:08]OFD Sender: No OFD packet to send [16:00:13]OFD Sender: No OFD packet to send [16:00:18]OFD Sender: No OFD packet to send [16:00:23]OFD Sender: No OFD packet to send [16:00:28]OFD Sender: No OFD packet to send [16:00:33]OFD Sender: No OFD packet to send [16:00:38]OFD Sender: No OFD packet to send [16:00:43]OFD Sender: No OFD packet to send [16:00:48]OFD Sender: No OFD packet to send [16:00:53]OFD Sender: No OFD packet to send [16:00:58]OFD Sender: No OFD packet to send [16:01:03]OFD Sender: No OFD packet to send [16:01:08]OFD Sender: No OFD packet to send [16:01:13]OFD Sender: No OFD packet to send [16:01:18]OFD Sender: No OFD packet to send [16:01:23]OFD Sender: No OFD packet to send [16:01:28]OFD Sender: No OFD packet to send [16:01:33]OFD Sender: No OFD packet to send [16:01:38]OFD Sender: No OFD packet to send [16:01:43]OFD Sender: No OFD packet to send [16:01:48]OFD Sender: No OFD packet to send [16:01:53]OFD Sender: No OFD packet to send [16:01:58]OFD Sender: No OFD packet to send [16:02:03]OFD Sender: No OFD packet to send [16:02:08]OFD Sender: No OFD packet to send [16:02:13]OFD Sender: No OFD packet to send [16:02:18]OFD Sender: No OFD packet to send [16:02:23]OFD Sender: No OFD packet to send [16:02:28]OFD Sender: No OFD packet to send [16:02:31]accept exits with 9 [16:02:31]New connection [16:02:31]New thread 3066940772 created [16:02:31]Thread 3067084132 joined [16:02:31]Waiting for new connection... [16:02:31] Sock 9.Parse request [16:02:31]Sock 9.Check first char [16:02:31]Sock 9.First char is OK [16:02:31]request: POST /json_proto HTTP/1.0 [16:02:31]Method: POST [16:02:31]URL: /json_proto [16:02:31]Method is POST - this is cgi request [16:02:31]url: /json_proto [16:02:31]query_string will be loaded in cgi processing [16:02:31]execute_cgi json_proto POST (null) [16:02:31]execute_cgi path=json_proto method=POST [16:02:31]POST find Content-Length [16:02:31]Host: 172.17.50.4:8080 [16:02:31]Content-Length: 1119 [16:02:31]Content-Type: application/json [16:02:31] [16:02:31]POST finish read [16:02:31]Found Content-Length = 1119 [16:02:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134867", "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": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 325.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:02:31]execute_script... [16:02: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)134867", "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": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 325.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:02:31]POST & json_proto [16:02:31]process_json_proto [16:02:31]json parsed OK: [16:02:31]protocol is kg_v1.0 [16:02:31]action value=close_receipt [16:02:31]process_action close_receipt [16:02:31]cmd_close_receipt [16:02:31]MH_GetDate [16:02:31]Write to MH i2c: F0 00 00 CC 0B C6 [16:02:31]Write i2c OK [16:02:31]MH_I2C_Read... [16:02:31]Read from MH i2c: F0 [16:02:31]MH_I2C_Read... [16:02:31]Read from MH i2c: F0 09 00 [16:02:31]MH_I2C_Read... [16:02:31]Read from MH i2c: F0 09 00 CC 0B 00 19 7B 16 67 3B 12 16 67 AA [16:02:31]GetLastDocTimeStamp 1729526277 [16:02:31]current date 1729526553 [16:02:31]FM_GetShiftState [16:02:31]SAM_PROTO_GetShiftState [16:02:31]wFMCommunicate request_size=4 [16:02:31]MH_SAM_APDU [16:02:31]CAPDU: 80 13 01 00 [16:02:31]Write to MH i2c: E2 08 00 CD 0B 80 13 01 00 00 00 00 00 55 [16:02:31]Write i2c OK [16:02:31]MH_I2C_Read... [16:02:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:02:31]Read from MH i2c: E2 [16:02:31]MH_I2C_Read... [16:02:31]Read from MH i2c: E2 0E 00 [16:02:31]MH_I2C_Read... [16:02:31]Read from MH i2c: E2 0E 00 CD 0B 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 9F [16:02:31]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [16:02:31]wFMCommunicate OK [16:02:31]SAM_PROTO_GetShiftState done [16:02:31]FM_GetShiftState done [16:02:31]opened in 1729469223 [16:02:31]opened+sec_in_day 1729555623 [16:02:31]quantity*price = 6000 [16:02:31]sum+1 = 6001 [16:02:31]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 90448300 Энерг напиток Red Bull 0,355л 1.000 * 265.00 = 265.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 325.00 НСП 1% : 2.87 НДС 12% : 34.51 Наличными: 0.00 Безнал.: 325.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 50 21.10.2024 16:02 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24346 ФПД: 97847311667714 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T160233&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24346&fm=97847311667714&tin=02508201610067®Number=0000000000098120&sum=32500 0 [16:02:32]StoreToDocumentArchive [16:02:32]shift 461 fd 24346 [16:02:32]save to /storage/0461/doc_00024346 [16:02:32]save last doc name /storage/0461/doc_00024346 to /storage/kkm_last_doc_name [16:02:32]save OK [16:02:32]Clear old archive folders... [16:02:32]ProcessDocumentItem done err = 0, tmpTLVsize=412 [16:02:32]tlvbuf is 00358360 [16:02:32]SAM_PROTO_ClearQueue [16:02:32]wFMCommunicate request_size=4 [16:02:32]MH_SAM_APDU [16:02:32]CAPDU: 80 09 00 00 [16:02:32]Write to MH i2c: E2 08 00 DA 0B 80 09 00 00 00 00 00 00 57 [16:02:32]Write i2c OK [16:02:32]MH_I2C_Read... [16:02:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:02:32]Read from MH i2c: E2 [16:02:32]MH_I2C_Read... [16:02:32]Read from MH i2c: E2 03 00 [16:02:32]MH_I2C_Read... [16:02:32]Read from MH i2c: E2 03 00 DA 0B 00 90 00 59 [16:02:32]RAPDU: 90 00 [16:02:32]wFMCommunicate OK [16:02:32]SAM_PROTO_ClearQueue done [16:02:32]KKMCreateOFDPacket [16:02:32]OFDProtocolAddRootSTLVToBuf [16:02:32]FM_MakeSignedData [16:02:32]FM_MakeSignedData [16:02:32]SAM_PROTO_SignData [16:02:32]wFMCommunicate request_size=4 [16:02:32]MH_SAM_APDU [16:02:32]CAPDU: 80 0D 01 02 [16:02:32]Write to MH i2c: E2 08 00 DB 0B 80 0D 01 02 00 00 00 00 5F [16:02:32]Write i2c OK [16:02:32]MH_I2C_Read... [16:02:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:02:32]Read from MH i2c: E2 [16:02:32]MH_I2C_Read... [16:02:32]Read from MH i2c: E2 03 00 [16:02:32]MH_I2C_Read... [16:02:32]Read from MH i2c: E2 03 00 DB 0B 00 90 00 5A [16:02:32]RAPDU: 90 00 [16:02:32]wFMCommunicate OK [16:02:32]wFMCommunicate request_size=255 [16:02:32]MH_SAM_APDU [16:02:32]CAPDU: 80 0D 02 02 FA 03 00 9C 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 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 [16:02:32]Write to MH i2c: E2 02 01 DC 0B 80 0D 02 02 FA 00 03 00 9C 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 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 00 00 E6 [16:02:32]Write i2c OK [16:02:32]MH_I2C_Read... [16:02:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:02:32]Read from MH i2c: E2 [16:02:32]MH_I2C_Read... [16:02:32]Read from MH i2c: E2 03 00 [16:02:32]MH_I2C_Read... [16:02:32]Read from MH i2c: E2 03 00 DC 0B 00 90 00 5B [16:02:32]RAPDU: 90 00 [16:02:32]wFMCommunicate OK [16:02:32]wFMCommunicate request_size=171 [16:02:32]MH_SAM_APDU [16:02:32]CAPDU: 80 0D 02 02 A6 01 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F4 7E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 19 7B 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1A 5F 00 00 35 04 06 00 58 FD DA 41 12 02 [16:02:32]Write to MH i2c: E2 AE 00 DD 0B 80 0D 02 02 A6 00 01 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F4 7E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 19 7B 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1A 5F 00 00 35 04 06 00 58 FD DA 41 12 02 00 00 80 [16:02:32]Write i2c OK [16:02:32]MH_I2C_Read... [16:02:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:02:33]Read from MH i2c: E2 [16:02:33]MH_I2C_Read... [16:02:33]Read from MH i2c: E2 03 00 [16:02:33]MH_I2C_Read... [16:02:33]Read from MH i2c: E2 03 00 DD 0B 00 90 00 5C [16:02:33]RAPDU: 90 00 [16:02:33]wFMCommunicate OK [16:02:33]wFMCommunicate request_size=4 [16:02:33]MH_SAM_APDU [16:02:33]CAPDU: 80 0D 03 02 [16:02:33]Write to MH i2c: E2 08 00 DE 0B 80 0D 03 02 00 00 00 00 64 [16:02:33]Write i2c OK [16:02:33]MH_I2C_Read... [16:02:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:02:33]Read from MH i2c: E2 [16:02:33]MH_I2C_Read... [16:02:33]Read from MH i2c: E2 0B 00 [16:02:33]MH_I2C_Read... [16:02:33]Read from MH i2c: E2 0B 00 DE 0B 00 18 3F 1B 9D D4 6A 5A AA 90 00 B6 [16:02:33]RAPDU: 18 3F 1B 9D D4 6A 5A AA 90 00 [16:02:33]wFMCommunicate OK [16:02:33]SAM_PROTO_SignData done [16:02:33]FM_MakeSignedData done [16:02:33]CreateOFDProtocolMessage [16:02:33]wFMCommunicate request_size=4 [16:02:33]MH_SAM_APDU [16:02:33]CAPDU: 80 11 00 00 [16:02:33]Write to MH i2c: E2 08 00 DF 0B 80 11 00 00 00 00 00 00 64 [16:02:33]Write i2c OK [16:02:33]MH_I2C_Read... [16:02:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:02:33]Read from MH i2c: E2 [16:02:33]MH_I2C_Read... [16:02:33]Read from MH i2c: E2 17 00 [16:02:33]MH_I2C_Read... [16:02:33]Read from MH i2c: E2 17 00 DF 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 B1 [16:02:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [16:02:33]wFMCommunicate OK [16:02:33]CreateOFDProtocolMessage done [16:02:33]OFDSenderStorePacket 24346 [16:02:33]StoreOFDPacket docnum=24346 [16:02:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 B0 01 00 00 EB 68 A8 01 76 E2 5A 03 01 00 03 00 9C 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 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F4 7E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 19 7B 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1A 5F 00 00 35 04 06 00 58 FD DA 41 12 02 18 3F 1B 9D D4 6A 5A AA [16:02:33]CheckFolder [16:02:33]dirname=/storage/ofd_packets [16:02:33]CheckFolder done [16:02:33]ProducePacketName [16:02:33]name=ofd_packets/00024346 [16:02:33]NVStorageSaveData ofd_packets/00024346 [16:02:33]File name is /storage/ofd_packets/00024346 [16:02:33]Write 462 bytes [16:02:33]NVStorageSaveData done [16:02:33]OFDSenderStorePacket done [16:02:33]KKMCreateOFDPacket done [16:02:33]NVStorageSaveData kkm_last_timestamp [16:02:33]File name is /storage/kkm_last_timestamp [16:02:33]Write 4 bytes [16:02:33]NVStorageSaveData done [16:02:33]ExternCall_PrintAddStr [16:02:33]wPrintStart [16:02:33]Write to MH i2c: 01 00 00 E0 0B EB [16:02:33]OFD Sender: No OFD packet to send [16:02:33]Write i2c OK [16:02:33]MH_I2C_Read... [16:02:33]Read from MH i2c: 01 [16:02:33]MH_I2C_Read... [16:02:33]Read from MH i2c: 01 07 00 [16:02:33]MH_I2C_Read... [16:02:33]Read from MH i2c: 01 07 00 E0 0B 00 00 00 00 00 FF 0F 00 [16:02:33]RasterBufferAndPrint [16:02:33]line Счет N : (3)134867 [16:02:33]line ИНН: 02508201610067 [16:02:33]line Контрольно-Кассовый Чек [16:02:33]line ПРОДАЖА [16:02:33]line Товар: 4700000160792 [16:02:33]line Снек Курут классический (круглый) [16:02:33]line 1.000 * 60.00 [16:02:33]line = 60.00 [16:02:33]line НДС 12% НСП 1% [16:02:33]line > о реализуемом товаре [16:02:33]line Товар: 90448300 [16:02:33]line Энерг напиток Red Bull 0,355л [16:02:33]line 1.000 * 265.00 [16:02:33]line = 265.00 [16:02:33]line НДС 12% НСП 1% [16:02:33]line > о реализуемом товаре [16:02:33]line ИТОГО: 325.00 [16:02:33]line НСП 1% : 2.87 [16:02:33]line НДС 12% : 34.51 [16:02:33]line Наличными: 0.00 [16:02:33]line Безнал.: 325.00 [16:02:33]line Место: АЗС № 85 "Партнер Нефть" [16:02:33]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [16:02:33]line СНО: Общий режим [16:02:33]line Чек 50 21.10.2024 16:02 [16:02:33]line Смена: 461 ФФД: 1.0 [16:02:33]line ЗНМ: 0300000166 [16:02:33]line РНМ: 0000000000098120 [16:02:33]line Версия ККМ: 001 [16:02:33]line Платежная система: Mbank [16:02:33]line ФМ: 0000000000965420 [16:02:33]line ФД: 24346 [16:02:33]line ФПД: 97847311667714 [16:02:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T160233&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24346&fm=97847311667714&tin=02508201610067®Number=0000000000098120&sum=32500 [16:02:33]line 0 [16:02:33]written 0, free lines is 4095 [16:02:33]OFD Sender: Processing packet 24346 [packets to send 5, broken 4] [16:02:33]ProducePacketName [16:02:33]name=ofd_packets/00024346 [16:02:33]OFD Sender: To server: pG, [16:02:33]CommunicateWithHost lk.salyk.kg:30040 [16:02:33]ConnectInit lk.salyk.kg [16:02:33]Connected sock=10 [16:02: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 34 32 30 B0 01 00 00 EB 68 A8 01 76 E2 5A 03 01 00 03 00 9C 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 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F4 7E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 19 7B 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1A 5F 00 00 35 04 06 00 58 FD DA 41 12 02 18 3F 1B 9D D4 6A 5A AA [16:02:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 85 F7 47 00 5B EA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1A 5F 00 00 F4 03 04 00 BF 26 16 67 B6 04 01 00 00 60 B6 14 EE 14 AD EA C5 [16:02:33]CommunicateWithHost err = 0 [16:02:33]CheckOFDResponse [16:02:33]1017 (14) - 77093643461234 [16:02:33]1041 (16) - 0000000000965420 [16:02:33]1040 (4) - 24346 [16:02:33]1012 (4) - 21.10.2024 10:02 [16:02:33]1206 (1) - 0 [16:02:33]OFD Sender: Remove packet 24346 [16:02:33]ProducePacketName [16:02:33]name=ofd_packets/00024346 [16:02:33]NVStorageDeleteData [16:02:33]Write to MH i2c: 01 00 00 10 0C 1C [16:02:33]Write i2c OK [16:02:33]MH_I2C_Read... [16:02:33]Read from MH i2c: 01 [16:02:33]MH_I2C_Read... [16:02:33]Read from MH i2c: 01 07 00 [16:02:33]MH_I2C_Read... [16:02:33]Read from MH i2c: 01 07 00 10 0C 00 00 00 00 00 C7 0C F6 [16:02:33]RasterBufferAndPrint [16:02:33]line [16:02:33]line [16:02:33]line [16:02:33]line [16:02:33]line [16:02:33]written 0, free lines is 3277 [16:02:33]process_action close_receipt done [16:02:33]requested_data is exist [16:02:33]produce_requested_data [16:02:33]requested_item fm.sn is exist - process it [16:02:33]wFMCommunicate request_size=4 [16:02:33]MH_SAM_APDU [16:02:33]CAPDU: 80 11 00 00 [16:02:33]Write to MH i2c: E2 08 00 17 0C 80 11 00 00 00 00 00 00 9D [16:02:34]Write i2c OK [16:02:34]MH_I2C_Read... [16:02:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:02:34]Read from MH i2c: E2 [16:02:34]MH_I2C_Read... [16:02:34]Read from MH i2c: E2 17 00 [16:02:34]MH_I2C_Read... [16:02:34]Read from MH i2c: E2 17 00 17 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 EA [16:02:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [16:02:34]wFMCommunicate OK [16:02:34]requested_item fd.num is exist - process it [16:02:34]SAM_PROTO_GetFieldsCounters [16:02:34]wFMCommunicate request_size=4 [16:02:34]MH_SAM_APDU [16:02:34]CAPDU: 80 13 00 00 [16:02:34]Write to MH i2c: E2 08 00 18 0C 80 13 00 00 00 00 00 00 A0 [16:02:34]Write i2c OK [16:02:34]MH_I2C_Read... [16:02:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:02:34]Read from MH i2c: E2 [16:02:34]MH_I2C_Read... [16:02:34]Read from MH i2c: E2 62 00 [16:02:34]MH_I2C_Read... [16:02:34]Read from MH i2c: E2 62 00 18 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 1A 5F 00 00 0E 04 04 00 CD 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 93 [16:02: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 1A 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:02:34]wFMCommunicate OK [16:02:34]SAM_PROTO_GetFieldsCounters done [16:02:34]requested_item shift.num is exist - process it [16:02:34]requested_item shift.opened is exist - process it [16:02:34]req_shift_opened [16:02:34]FM_GetShiftState [16:02:34]SAM_PROTO_GetShiftState [16:02:34]wFMCommunicate request_size=4 [16:02:34]MH_SAM_APDU [16:02:34]CAPDU: 80 13 01 00 [16:02:34]Write to MH i2c: E2 08 00 19 0C 80 13 01 00 00 00 00 00 A2 [16:02:34]Write i2c OK [16:02:34]MH_I2C_Read... [16:02:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:02:34]Read from MH i2c: E2 [16:02:34]MH_I2C_Read... [16:02:34]Read from MH i2c: E2 0E 00 [16:02:34]MH_I2C_Read... [16:02:34]Read from MH i2c: E2 0E 00 19 0C 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 EC [16:02:34]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [16:02:34]wFMCommunicate OK [16:02:34]SAM_PROTO_GetShiftState done [16:02:34]FM_GetShiftState done [16:02:34]req_shift_opened done [16:02:34]requested_item shift.open_date is exist - process it [16:02:34]req_shift_open_date [16:02:34]req_shift_open_date done [16:02:34]produce_requested_data done [16:02:34]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24346,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [16:02:34]process_action_free close_receipt [16:02:34]json_value_free [16:02:34]json_value_free done [16:02:34]process_json_proto returns [16:02:34]Send response to host [16:02:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24346,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [16:02:34]free response buf [16:02:34]execute_script done [16:02:34]execute_script returns [16:02:34]free content buf [16:02:34]Sock 9.Close socket [16:02:34]Sock 9.Thread stoped [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:27]accept exits with 8 [16:03:27]New connection [16:03:27]New thread 3067084132 created [16:03:27]Thread 3066940772 joined [16:03:27]Waiting for new connection... [16:03:27] Sock 8.Parse request [16:03:27]Sock 8.Check first char [16:03:27]Sock 8.First char is OK [16:03:27]request: POST /json_proto HTTP/1.0 [16:03:27]Method: POST [16:03:27]URL: /json_proto [16:03:27]Method is POST - this is cgi request [16:03:27]url: /json_proto [16:03:27]query_string will be loaded in cgi processing [16:03:27]execute_cgi json_proto POST (null) [16:03:27]execute_cgi path=json_proto method=POST [16:03:27]POST find Content-Length [16:03:27]Host: 172.17.50.4:8080 [16:03:27]Content-Length: 1353 [16:03:27]Content-Type: application/json [16:03:27] [16:03:27]POST finish read [16:03:27]Found Content-Length = 1353 [16:03:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134868", "tax_sys" : 0, "items" : [ { "code": "4870202521230", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043B\u0438\u043C\u043E\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8590042701239", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D\u044B\u0435 VOK", "price" : 36.00, "quantity" : 1.000, "sum" : 36.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030017", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439", "price" : 49.00, "quantity" : 1.000, "sum" : 49.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" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:03:27]execute_script... [16:03:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134868", "tax_sys" : 0, "items" : [ { "code": "4870202521230", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043B\u0438\u043C\u043E\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8590042701239", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D\u044B\u0435 VOK", "price" : 36.00, "quantity" : 1.000, "sum" : 36.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030017", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439", "price" : 49.00, "quantity" : 1.000, "sum" : 49.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" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:03:27]POST & json_proto [16:03:27]process_json_proto [16:03:27]json parsed OK: [16:03:27]protocol is kg_v1.0 [16:03:27]action value=close_receipt [16:03:27]process_action close_receipt [16:03:27]cmd_close_receipt [16:03:27]MH_GetDate [16:03:27]Write to MH i2c: F0 00 00 1A 0C 15 [16:03:27]Write i2c OK [16:03:27]MH_I2C_Read... [16:03:27]Read from MH i2c: F0 [16:03:27]MH_I2C_Read... [16:03:27]Read from MH i2c: F0 09 00 [16:03:27]MH_I2C_Read... [16:03:27]Read from MH i2c: F0 09 00 1A 0C 00 51 7B 16 67 3B 12 16 67 31 [16:03:27]GetLastDocTimeStamp 1729526553 [16:03:27]current date 1729526609 [16:03:27]FM_GetShiftState [16:03:27]SAM_PROTO_GetShiftState [16:03:27]wFMCommunicate request_size=4 [16:03:27]MH_SAM_APDU [16:03:27]CAPDU: 80 13 01 00 [16:03:27]Write to MH i2c: E2 08 00 1B 0C 80 13 01 00 00 00 00 00 A4 [16:03:27]Write i2c OK [16:03:27]MH_I2C_Read... [16:03:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:03:27]Read from MH i2c: E2 [16:03:27]MH_I2C_Read... [16:03:27]Read from MH i2c: E2 0E 00 [16:03:27]MH_I2C_Read... [16:03:27]Read from MH i2c: E2 0E 00 1B 0C 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 EE [16:03:27]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [16:03:27]wFMCommunicate OK [16:03:27]SAM_PROTO_GetShiftState done [16:03:27]FM_GetShiftState done [16:03:27]opened in 1729469223 [16:03:27]opened+sec_in_day 1729555623 [16:03:27]quantity*price = 12500 [16:03:27]sum+1 = 12501 [16:03:27]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 8590042701239 Салфетки влажные VOK 1.000 * 36.00 = 36.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700026030017 Курут классический 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 210.00 НСП 1% : 1.86 НДС 12% : 22.29 Наличными: 0.00 Безнал.: 210.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 51 21.10.2024 16:03 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24347 ФПД: 100669455571672 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T160330&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24347&fm=100669455571672&tin=02508201610067®Number=0000000000098120&sum=21000 0 [16:03:28]StoreToDocumentArchive [16:03:28]shift 461 fd 24347 [16:03:28]save to /storage/0461/doc_00024347 [16:03:28]save last doc name /storage/0461/doc_00024347 to /storage/kkm_last_doc_name [16:03:28]save OK [16:03:28]Clear old archive folders... [16:03:28]ProcessDocumentItem done err = 0, tmpTLVsize=506 [16:03:28]tlvbuf is 003357D0 [16:03:28]SAM_PROTO_ClearQueue [16:03:28]wFMCommunicate request_size=4 [16:03:28]MH_SAM_APDU [16:03:28]CAPDU: 80 09 00 00 [16:03:28]Write to MH i2c: E2 08 00 28 0C 80 09 00 00 00 00 00 00 A6 [16:03:28]Write i2c OK [16:03:28]MH_I2C_Read... [16:03:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:03:28]Read from MH i2c: E2 [16:03:28]MH_I2C_Read... [16:03:28]Read from MH i2c: E2 03 00 [16:03:28]MH_I2C_Read... [16:03:28]Read from MH i2c: E2 03 00 28 0C 00 90 00 A8 [16:03:28]RAPDU: 90 00 [16:03:28]wFMCommunicate OK [16:03:28]SAM_PROTO_ClearQueue done [16:03:28]KKMCreateOFDPacket [16:03:28]OFDProtocolAddRootSTLVToBuf [16:03:28]FM_MakeSignedData [16:03:28]FM_MakeSignedData [16:03:28]SAM_PROTO_SignData [16:03:28]wFMCommunicate request_size=4 [16:03:28]MH_SAM_APDU [16:03:28]CAPDU: 80 0D 01 02 [16:03:28]Write to MH i2c: E2 08 00 29 0C 80 0D 01 02 00 00 00 00 AE [16:03:28]Write i2c OK [16:03:28]MH_I2C_Read... [16:03:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:03:28]Read from MH i2c: E2 [16:03:28]MH_I2C_Read... [16:03:28]Read from MH i2c: E2 03 00 [16:03:28]MH_I2C_Read... [16:03:28]Read from MH i2c: E2 03 00 29 0C 00 90 00 A9 [16:03:28]RAPDU: 90 00 [16:03:28]wFMCommunicate OK [16:03:28]wFMCommunicate request_size=255 [16:03:28]MH_SAM_APDU [16:03:28]CAPDU: 80 0D 02 02 FA 03 00 FA 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 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 D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 [16:03:29]Write to MH i2c: E2 02 01 2A 0C 80 0D 02 02 FA 00 03 00 FA 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 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 D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 00 00 30 [16:03:29]Write i2c OK [16:03:29]MH_I2C_Read... [16:03:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:03:29]Read from MH i2c: E2 [16:03:29]MH_I2C_Read... [16:03:29]Read from MH i2c: E2 03 00 [16:03:29]MH_I2C_Read... [16:03:29]Read from MH i2c: E2 03 00 2A 0C 00 90 00 AA [16:03:29]RAPDU: 90 00 [16:03:29]wFMCommunicate OK [16:03:29]wFMCommunicate request_size=255 [16:03:29]MH_SAM_APDU [16:03:29]CAPDU: 80 0D 02 02 FA 30 32 36 30 33 30 30 31 37 06 04 23 00 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 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 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 B5 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 52 7B 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1B 5F 00 00 [16:03:29]Write to MH i2c: E2 02 01 2B 0C 80 0D 02 02 FA 00 30 32 36 30 33 30 30 31 37 06 04 23 00 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 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 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 B5 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 52 7B 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1B 5F 00 00 00 00 57 [16:03:29]Write i2c OK [16:03:29]MH_I2C_Read... [16:03:29]OFD Sender: No OFD packet to send [16:03:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:03:29]Read from MH i2c: E2 [16:03:29]MH_I2C_Read... [16:03:29]Read from MH i2c: E2 03 00 [16:03:29]MH_I2C_Read... [16:03:29]Read from MH i2c: E2 03 00 2B 0C 00 90 00 AB [16:03:29]RAPDU: 90 00 [16:03:29]wFMCommunicate OK [16:03:29]wFMCommunicate request_size=15 [16:03:29]MH_SAM_APDU [16:03:29]CAPDU: 80 0D 02 02 0A 35 04 06 00 5B 8E EF 23 9A D8 [16:03:29]Write to MH i2c: E2 12 00 2C 0C 80 0D 02 02 0A 00 35 04 06 00 5B 8E EF 23 9A D8 00 00 72 [16:03:29]Write i2c OK [16:03:29]MH_I2C_Read... [16:03:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:03:29]Read from MH i2c: E2 [16:03:29]MH_I2C_Read... [16:03:29]Read from MH i2c: E2 03 00 [16:03:29]MH_I2C_Read... [16:03:29]Read from MH i2c: E2 03 00 2C 0C 00 90 00 AC [16:03:29]RAPDU: 90 00 [16:03:29]wFMCommunicate OK [16:03:29]wFMCommunicate request_size=4 [16:03:29]MH_SAM_APDU [16:03:29]CAPDU: 80 0D 03 02 [16:03:29]Write to MH i2c: E2 08 00 2D 0C 80 0D 03 02 00 00 00 00 B4 [16:03:29]Write i2c OK [16:03:29]MH_I2C_Read... [16:03:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:03:29]Read from MH i2c: E2 [16:03:29]MH_I2C_Read... [16:03:29]Read from MH i2c: E2 0B 00 [16:03:29]MH_I2C_Read... [16:03:29]Read from MH i2c: E2 0B 00 2D 0C 00 FB 43 7B 00 F4 09 E1 CA 90 00 16 [16:03:29]RAPDU: FB 43 7B 00 F4 09 E1 CA 90 00 [16:03:29]wFMCommunicate OK [16:03:29]SAM_PROTO_SignData done [16:03:29]FM_MakeSignedData done [16:03:29]CreateOFDProtocolMessage [16:03:29]wFMCommunicate request_size=4 [16:03:29]MH_SAM_APDU [16:03:29]CAPDU: 80 11 00 00 [16:03:29]Write to MH i2c: E2 08 00 2E 0C 80 11 00 00 00 00 00 00 B4 [16:03:29]Write i2c OK [16:03:29]MH_I2C_Read... [16:03:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:03:29]Read from MH i2c: E2 [16:03:29]MH_I2C_Read... [16:03:29]Read from MH i2c: E2 17 00 [16:03:29]MH_I2C_Read... [16:03:29]Read from MH i2c: E2 17 00 2E 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 01 [16:03:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [16:03:29]wFMCommunicate OK [16:03:29]CreateOFDProtocolMessage done [16:03:29]OFDSenderStorePacket 24347 [16:03:29]StoreOFDPacket docnum=24347 [16:03:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0E 02 00 00 91 1B 06 02 8E BD 5A 03 01 00 03 00 FA 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 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 D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 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 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 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 B5 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 52 7B 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1B 5F 00 00 35 04 06 00 5B 8E EF 23 9A D8 FB 43 7B 00 F4 09 E1 CA [16:03:29]CheckFolder [16:03:29]dirname=/storage/ofd_packets [16:03:29]CheckFolder done [16:03:29]ProducePacketName [16:03:29]name=ofd_packets/00024347 [16:03:29]NVStorageSaveData ofd_packets/00024347 [16:03:29]File name is /storage/ofd_packets/00024347 [16:03:29]Write 556 bytes [16:03:29]NVStorageSaveData done [16:03:29]OFDSenderStorePacket done [16:03:29]KKMCreateOFDPacket done [16:03:29]NVStorageSaveData kkm_last_timestamp [16:03:29]File name is /storage/kkm_last_timestamp [16:03:29]Write 4 bytes [16:03:29]NVStorageSaveData done [16:03:29]ExternCall_PrintAddStr [16:03:29]wPrintStart [16:03:29]Write to MH i2c: 01 00 00 2F 0C 3B [16:03:29]Write i2c OK [16:03:29]MH_I2C_Read... [16:03:29]Read from MH i2c: 01 [16:03:29]MH_I2C_Read... [16:03:29]Read from MH i2c: 01 07 00 [16:03:29]MH_I2C_Read... [16:03:29]Read from MH i2c: 01 07 00 2F 0C 00 00 00 00 00 FF 0F 50 [16:03:29]RasterBufferAndPrint [16:03:29]line Счет N : (3)134868 [16:03:29]line ИНН: 02508201610067 [16:03:29]line Контрольно-Кассовый Чек [16:03:29]line ПРОДАЖА [16:03:29]line Товар: 4870202521230 [16:03:29]line Напиток MAXI чай 1,2 черн.лимон [16:03:29]line 1.000 * 125.00 [16:03:29]line = 125.00 [16:03:29]line НДС 12% НСП 1% [16:03:29]line > о реализуемом товаре [16:03:29]line Товар: 8590042701239 [16:03:29]line Салфетки влажные VOK [16:03:29]line 1.000 * 36.00 [16:03:29]line = 36.00 [16:03:29]line НДС 12% НСП 1% [16:03:29]line > о реализуемом товаре [16:03:29]line Товар: 4700026030017 [16:03:29]line Курут классический [16:03:29]line 1.000 * 49.00 [16:03:29]line = 49.00 [16:03:29]line НДС 12% НСП 1% [16:03:29]line > о реализуемом товаре [16:03:29]line ИТОГО: 210.00 [16:03:29]line НСП 1% : 1.86 [16:03:29]line НДС 12% : 22.29 [16:03:29]line Наличными: 0.00 [16:03:29]line Безнал.: 210.00 [16:03:29]line Место: АЗС № 85 "Партнер Нефть" [16:03:29]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [16:03:29]line СНО: Общий режим [16:03:29]line Чек 51 21.10.2024 16:03 [16:03:29]line Смена: 461 ФФД: 1.0 [16:03:29]line ЗНМ: 0300000166 [16:03:29]line РНМ: 0000000000098120 [16:03:29]line Версия ККМ: 001 [16:03:29]line Платежная система: Mbank [16:03:29]line ФМ: 0000000000965420 [16:03:29]line ФД: 24347 [16:03:29]line ФПД: 100669455571672 [16:03:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T160330&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24347&fm=100669455571672&tin=02508201610067®Number=0000000000098120&sum=21000 [16:03:30]line 0 [16:03:30]OFD Sender: Processing packet 24347 [packets to send 5, broken 4] [16:03:30]ProducePacketName [16:03:30]name=ofd_packets/00024347 [16:03:30]OFD Sender: To server: pG, [16:03:30]CommunicateWithHost lk.salyk.kg:30040 [16:03:30]ConnectInit lk.salyk.kg [16:03:30]written 0, free lines is 4095 [16:03:30]Write to MH i2c: 01 00 00 65 0C 71 [16:03:30]Write i2c OK [16:03:30]MH_I2C_Read... [16:03:30]Read from MH i2c: 01 [16:03:30]MH_I2C_Read... [16:03:30]Read from MH i2c: 01 07 00 [16:03:30]MH_I2C_Read... [16:03:30]Read from MH i2c: 01 07 00 65 0C 00 00 00 00 00 6B 0C EF [16:03:30]RasterBufferAndPrint [16:03:30]line [16:03:30]line [16:03:30]line [16:03:30]line [16:03:30]line [16:03:30]written 0, free lines is 3185 [16:03:30]process_action close_receipt done [16:03:30]requested_data is exist [16:03:30]produce_requested_data [16:03:30]requested_item fm.sn is exist - process it [16:03:30]wFMCommunicate request_size=4 [16:03:30]MH_SAM_APDU [16:03:30]CAPDU: 80 11 00 00 [16:03:30]Write to MH i2c: E2 08 00 6C 0C 80 11 00 00 00 00 00 00 F2 [16:03:30]Write i2c OK [16:03:30]MH_I2C_Read... [16:03:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:03:30]Read from MH i2c: E2 [16:03:30]MH_I2C_Read... [16:03:30]Read from MH i2c: E2 17 00 [16:03:30]MH_I2C_Read... [16:03:30]Read from MH i2c: E2 17 00 6C 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 3F [16:03:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [16:03:30]wFMCommunicate OK [16:03:30]requested_item fd.num is exist - process it [16:03:30]SAM_PROTO_GetFieldsCounters [16:03:30]wFMCommunicate request_size=4 [16:03:30]MH_SAM_APDU [16:03:30]CAPDU: 80 13 00 00 [16:03:30]Write to MH i2c: E2 08 00 6D 0C 80 13 00 00 00 00 00 00 F5 [16:03:30]Write i2c OK [16:03:30]MH_I2C_Read... [16:03:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:03:30]Read from MH i2c: E2 [16:03:30]MH_I2C_Read... [16:03:30]Read from MH i2c: E2 62 00 [16:03:30]MH_I2C_Read... [16:03:30]Read from MH i2c: E2 62 00 6D 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 1B 5F 00 00 0E 04 04 00 CD 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 EC [16:03:30]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 1B 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:03:30]wFMCommunicate OK [16:03:30]SAM_PROTO_GetFieldsCounters done [16:03:30]requested_item shift.num is exist - process it [16:03:30]requested_item shift.opened is exist - process it [16:03:30]req_shift_opened [16:03:30]FM_GetShiftState [16:03:30]SAM_PROTO_GetShiftState [16:03:30]wFMCommunicate request_size=4 [16:03:30]MH_SAM_APDU [16:03:30]CAPDU: 80 13 01 00 [16:03:30]Write to MH i2c: E2 08 00 6E 0C 80 13 01 00 00 00 00 00 F7 [16:03:30]Write i2c OK [16:03:30]MH_I2C_Read... [16:03:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:03:31]Read from MH i2c: E2 [16:03:31]MH_I2C_Read... [16:03:31]Read from MH i2c: E2 0E 00 [16:03:31]MH_I2C_Read... [16:03:31]Read from MH i2c: E2 0E 00 6E 0C 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 41 [16:03:31]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [16:03:31]wFMCommunicate OK [16:03:31]SAM_PROTO_GetShiftState done [16:03:31]FM_GetShiftState done [16:03:31]req_shift_opened done [16:03:31]requested_item shift.open_date is exist - process it [16:03:31]req_shift_open_date [16:03:31]req_shift_open_date done [16:03:31]produce_requested_data done [16:03:31]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24347,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [16:03:31]process_action_free close_receipt [16:03:31]json_value_free [16:03:31]json_value_free done [16:03:31]process_json_proto returns [16:03:31]Send response to host [16:03:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24347,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [16:03:31]free response buf [16:03:31]execute_script done [16:03:31]execute_script returns [16:03:31]free content buf [16:03:31]Sock 8.Close socket [16:03:31]Sock 8.Thread stoped [16:05:43]accept exits with 9 [16:05:43]New connection [16:05:43]New thread 3066940772 created [16:05:43]Thread 3067084132 joined [16:05:43]Waiting for new connection... [16:05:43] Sock 9.Parse request [16:05:43]Sock 9.Check first char [16:05:43]Sock 9.First char is OK [16:05:43]request: POST /json_proto HTTP/1.0 [16:05:43]Method: POST [16:05:43]URL: /json_proto [16:05:43]Method is POST - this is cgi request [16:05:43]url: /json_proto [16:05:43]query_string will be loaded in cgi processing [16:05:43]execute_cgi json_proto POST (null) [16:05:43]execute_cgi path=json_proto method=POST [16:05:43]POST find Content-Length [16:05:43]Host: 172.17.50.4:8080 [16:05:43]Content-Length: 645 [16:05:43]Content-Type: application/json [16:05:43] [16:05:43]POST finish read [16:05:43]Found Content-Length = 645 [16:05:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134869", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:05:43]execute_script... [16:05: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)134869", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:05:43]POST & json_proto [16:05:43]process_json_proto [16:05:43]json parsed OK: [16:05:43]protocol is kg_v1.0 [16:05:43]action value=close_receipt [16:05:43]process_action close_receipt [16:05:43]cmd_close_receipt [16:05:43]MH_GetDate [16:05:43]Write to MH i2c: F0 00 00 6F 0C 6A [16:05:43]Write i2c OK [16:05:43]MH_I2C_Read... [16:05:43]Read from MH i2c: F0 [16:05:43]MH_I2C_Read... [16:05:43]Read from MH i2c: F0 09 00 [16:05:43]MH_I2C_Read... [16:05:43]Read from MH i2c: F0 09 00 6F 0C 00 D9 7B 16 67 3B 12 16 67 0E [16:05:43]GetLastDocTimeStamp 1729526610 [16:05:43]current date 1729526745 [16:05:43]FM_GetShiftState [16:05:43]SAM_PROTO_GetShiftState [16:05:43]wFMCommunicate request_size=4 [16:05:43]MH_SAM_APDU [16:05:43]CAPDU: 80 13 01 00 [16:05:43]Write to MH i2c: E2 08 00 70 0C 80 13 01 00 00 00 00 00 F9 [16:05:43]Write i2c OK [16:05:43]MH_I2C_Read... [16:05:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:05:43]Read from MH i2c: E2 [16:05:43]MH_I2C_Read... [16:05:43]Read from MH i2c: E2 0E 00 [16:05:43]MH_I2C_Read... [16:05:43]Read from MH i2c: E2 0E 00 70 0C 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 43 [16:05:43]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [16:05:43]wFMCommunicate OK [16:05:43]SAM_PROTO_GetShiftState done [16:05:43]FM_GetShiftState done [16:05:43]opened in 1729469223 [16:05:43]opened+sec_in_day 1729555623 [16:05:43]quantity*price = 6000 [16:05:43]sum+1 = 6001 [16:05:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 52 21.10.2024 16:05 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24348 ФПД: 206534100138061 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T160545&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24348&fm=206534100138061&tin=02508201610067®Number=0000000000098120&sum=6000 0 [16:05:44]StoreToDocumentArchive [16:05:44]shift 461 fd 24348 [16:05:44]save to /storage/0461/doc_00024348 [16:05:44]save last doc name /storage/0461/doc_00024348 to /storage/kkm_last_doc_name [16:05:44]save OK [16:05:44]Clear old archive folders... [16:05:44]ProcessDocumentItem done err = 0, tmpTLVsize=276 [16:05:44]tlvbuf is 002B8E20 [16:05:44]SAM_PROTO_ClearQueue [16:05:44]wFMCommunicate request_size=4 [16:05:44]MH_SAM_APDU [16:05:44]CAPDU: 80 09 00 00 [16:05:44]Write to MH i2c: E2 08 00 7D 0C 80 09 00 00 00 00 00 00 FB [16:05:44]Write i2c OK [16:05:44]MH_I2C_Read... [16:05:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:05:44]Read from MH i2c: E2 [16:05:44]MH_I2C_Read... [16:05:44]Read from MH i2c: E2 03 00 [16:05:44]MH_I2C_Read... [16:05:44]Read from MH i2c: E2 03 00 7D 0C 00 90 00 FD [16:05:44]RAPDU: 90 00 [16:05:44]wFMCommunicate OK [16:05:44]SAM_PROTO_ClearQueue done [16:05:44]KKMCreateOFDPacket [16:05:44]OFDProtocolAddRootSTLVToBuf [16:05:44]FM_MakeSignedData [16:05:44]FM_MakeSignedData [16:05:44]SAM_PROTO_SignData [16:05:44]wFMCommunicate request_size=4 [16:05:44]MH_SAM_APDU [16:05:44]CAPDU: 80 0D 01 02 [16:05:44]Write to MH i2c: E2 08 00 7E 0C 80 0D 01 02 00 00 00 00 03 [16:05:44]Write i2c OK [16:05:44]MH_I2C_Read... [16:05:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:05:44]Read from MH i2c: E2 [16:05:44]MH_I2C_Read... [16:05:44]Read from MH i2c: E2 03 00 [16:05:44]MH_I2C_Read... [16:05:44]Read from MH i2c: E2 03 00 7E 0C 00 90 00 FE [16:05:44]RAPDU: 90 00 [16:05:44]wFMCommunicate OK [16:05:44]wFMCommunicate request_size=255 [16:05:44]MH_SAM_APDU [16:05:44]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 D9 7B 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 [16:05:44]Write to MH i2c: E2 02 01 7F 0C 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 D9 7B 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 00 00 0C [16:05:44]Write i2c OK [16:05:44]MH_I2C_Read... [16:05:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:05:44]Read from MH i2c: E2 [16:05:44]MH_I2C_Read... [16:05:44]Read from MH i2c: E2 03 00 [16:05:44]MH_I2C_Read... [16:05:44]Read from MH i2c: E2 03 00 7F 0C 00 90 00 FF [16:05:44]RAPDU: 90 00 [16:05:44]wFMCommunicate OK [16:05:44]wFMCommunicate request_size=35 [16:05:44]MH_SAM_APDU [16:05:44]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1C 5F 00 00 35 04 06 00 BB D7 77 AC 38 4D [16:05:44]Write to MH i2c: E2 26 00 80 0C 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1C 5F 00 00 35 04 06 00 BB D7 77 AC 38 4D 00 00 A8 [16:05:44]Write i2c OK [16:05:44]MH_I2C_Read... [16:05:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:05:44]Read from MH i2c: E2 [16:05:44]MH_I2C_Read... [16:05:44]Read from MH i2c: E2 03 00 [16:05:44]MH_I2C_Read... [16:05:44]Read from MH i2c: E2 03 00 80 0C 00 90 00 00 [16:05:44]RAPDU: 90 00 [16:05:44]wFMCommunicate OK [16:05:44]wFMCommunicate request_size=4 [16:05:44]MH_SAM_APDU [16:05:44]CAPDU: 80 0D 03 02 [16:05:44]Write to MH i2c: E2 08 00 81 0C 80 0D 03 02 00 00 00 00 08 [16:05:44]Write i2c OK [16:05:44]MH_I2C_Read... [16:05:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:05:44]Read from MH i2c: E2 [16:05:44]MH_I2C_Read... [16:05:44]Read from MH i2c: E2 0B 00 [16:05:44]MH_I2C_Read... [16:05:44]Read from MH i2c: E2 0B 00 81 0C 00 3A 81 7A AA C2 51 1F 77 90 00 91 [16:05:44]RAPDU: 3A 81 7A AA C2 51 1F 77 90 00 [16:05:44]wFMCommunicate OK [16:05:44]SAM_PROTO_SignData done [16:05:44]FM_MakeSignedData done [16:05:44]CreateOFDProtocolMessage [16:05:44]wFMCommunicate request_size=4 [16:05:44]MH_SAM_APDU [16:05:44]CAPDU: 80 11 00 00 [16:05:44]Write to MH i2c: E2 08 00 82 0C 80 11 00 00 00 00 00 00 08 [16:05:44]Write i2c OK [16:05:44]MH_I2C_Read... [16:05:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:05:44]Read from MH i2c: E2 [16:05:44]MH_I2C_Read... [16:05:44]Read from MH i2c: E2 17 00 [16:05:44]MH_I2C_Read... [16:05:44]Read from MH i2c: E2 17 00 82 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 55 [16:05:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [16:05:44]wFMCommunicate OK [16:05:44]CreateOFDProtocolMessage done [16:05:44]OFDSenderStorePacket 24348 [16:05:44]StoreOFDPacket docnum=24348 [16:05:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 28 01 00 00 E9 68 20 01 64 D4 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 D9 7B 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1C 5F 00 00 35 04 06 00 BB D7 77 AC 38 4D 3A 81 7A AA C2 51 1F 77 [16:05:44]CheckFolder [16:05:44]dirname=/storage/ofd_packets [16:05:44]CheckFolder done [16:05:44]ProducePacketName [16:05:44]name=ofd_packets/00024348 [16:05:44]NVStorageSaveData ofd_packets/00024348 [16:05:44]File name is /storage/ofd_packets/00024348 [16:05:44]Write 326 bytes [16:05:44]NVStorageSaveData done [16:05:44]OFDSenderStorePacket done [16:05:44]KKMCreateOFDPacket done [16:05:44]NVStorageSaveData kkm_last_timestamp [16:05:44]File name is /storage/kkm_last_timestamp [16:05:44]Write 4 bytes [16:05:44]NVStorageSaveData done [16:05:44]ExternCall_PrintAddStr [16:05:44]wPrintStart [16:05:44]Write to MH i2c: 01 00 00 83 0C 8F [16:05:44]Write i2c OK [16:05:44]MH_I2C_Read... [16:05:44]Read from MH i2c: 01 [16:05:44]MH_I2C_Read... [16:05:44]Read from MH i2c: 01 07 00 [16:05:44]MH_I2C_Read... [16:05:44]Read from MH i2c: 01 07 00 83 0C 00 00 00 00 00 FF 0F A4 [16:05:44]RasterBufferAndPrint [16:05:44]line Счет N : (3)134869 [16:05:44]line ИНН: 02508201610067 [16:05:44]line Контрольно-Кассовый Чек [16:05:44]line ПРОДАЖА [16:05:44]line Товар: 4700000310043 [16:05:44]line Вода Жалалабат 27 1л [16:05:44]line 1.000 * 60.00 [16:05:44]line = 60.00 [16:05:44]line НДС 12% НСП 1% [16:05:44]line > о реализуемом товаре [16:05:44]line ИТОГО: 60.00 [16:05:44]line НСП 1% : 0.53 [16:05:44]line НДС 12% : 6.37 [16:05:44]line Наличными: 60.00 [16:05:44]line Безнал.: 0.00 [16:05:44]line Место: АЗС № 85 "Партнер Нефть" [16:05:44]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [16:05:44]line СНО: Общий режим [16:05:44]line Чек 52 21.10.2024 16:05 [16:05:44]line Смена: 461 ФФД: 1.0 [16:05:44]line ЗНМ: 0300000166 [16:05:44]line РНМ: 0000000000098120 [16:05:44]line Версия ККМ: 001 [16:05:44]line ФМ: 0000000000965420 [16:05:44]line ФД: 24348 [16:05:44]line ФПД: 206534100138061 [16:05:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T160545&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24348&fm=206534100138061&tin=02508201610067®Number=0000000000098120&sum=6000 [16:05:45]OFD Sender: Processing packet 24347 [packets to send 6, broken 4] [16:05:45]ProducePacketName [16:05:45]name=ofd_packets/00024347 [16:05:45]OFD Sender: To server: pG, [16:05:45]CommunicateWithHost lk.salyk.kg:30040 [16:05:45]ConnectInit lk.salyk.kg [16:05:45]line 0 [16:05:45]written 0, free lines is 4095 [16:05:45]Connected sock=10 [16:05: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 34 32 30 0E 02 00 00 91 1B 06 02 8E BD 5A 03 01 00 03 00 FA 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 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 D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 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 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 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 B5 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 52 7B 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1B 5F 00 00 35 04 06 00 5B 8E EF 23 9A D8 FB 43 7B 00 F4 09 E1 CA [16:05:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 36 90 47 00 C8 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 34 32 30 10 04 04 00 1B 5F 00 00 F4 03 04 00 7F 27 16 67 B6 04 01 00 00 93 3C 59 EB D8 5F 7B B8 [16:05:45]CommunicateWithHost err = 0 [16:05:45]CheckOFDResponse [16:05:45]1017 (14) - 77093643461234 [16:05:45]1041 (16) - 0000000000965420 [16:05:45]1040 (4) - 24347 [16:05:45]1012 (4) - 21.10.2024 10:05 [16:05:45]1206 (1) - 0 [16:05:45]OFD Sender: Remove packet 24347 [16:05:45]ProducePacketName [16:05:45]name=ofd_packets/00024347 [16:05:45]NVStorageDeleteData [16:05:45]Write to MH i2c: 01 00 00 AB 0C B7 [16:05:45]Write i2c OK [16:05:45]MH_I2C_Read... [16:05:45]Read from MH i2c: 01 [16:05:45]MH_I2C_Read... [16:05:45]Read from MH i2c: 01 07 00 [16:05:45]MH_I2C_Read... [16:05:45]Read from MH i2c: 01 07 00 AB 0C 00 00 00 00 00 32 0D FD [16:05:45]RasterBufferAndPrint [16:05:45]line [16:05:45]line [16:05:45]line [16:05:45]line [16:05:45]line [16:05:45]written 0, free lines is 3384 [16:05:45]process_action close_receipt done [16:05:45]requested_data is exist [16:05:45]produce_requested_data [16:05:45]requested_item fm.sn is exist - process it [16:05:45]wFMCommunicate request_size=4 [16:05:45]MH_SAM_APDU [16:05:45]CAPDU: 80 11 00 00 [16:05:45]Write to MH i2c: E2 08 00 B2 0C 80 11 00 00 00 00 00 00 38 [16:05:45]Write i2c OK [16:05:45]MH_I2C_Read... [16:05:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:05:45]Read from MH i2c: E2 [16:05:45]MH_I2C_Read... [16:05:45]Read from MH i2c: E2 17 00 [16:05:45]MH_I2C_Read... [16:05:45]Read from MH i2c: E2 17 00 B2 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 85 [16:05:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [16:05:45]wFMCommunicate OK [16:05:45]requested_item fd.num is exist - process it [16:05:45]SAM_PROTO_GetFieldsCounters [16:05:45]wFMCommunicate request_size=4 [16:05:45]MH_SAM_APDU [16:05:45]CAPDU: 80 13 00 00 [16:05:45]Write to MH i2c: E2 08 00 B3 0C 80 13 00 00 00 00 00 00 3B [16:05:45]Write i2c OK [16:05:45]MH_I2C_Read... [16:05:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:05:45]Read from MH i2c: E2 [16:05:45]MH_I2C_Read... [16:05:45]Read from MH i2c: E2 62 00 [16:05:45]MH_I2C_Read... [16:05:45]Read from MH i2c: E2 62 00 B3 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 1C 5F 00 00 0E 04 04 00 CD 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 36 [16:05: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 1C 5F 00 00 0E 04 04 00 CD 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 [16:05:45]wFMCommunicate OK [16:05:45]SAM_PROTO_GetFieldsCounters done [16:05:45]requested_item shift.num is exist - process it [16:05:45]requested_item shift.opened is exist - process it [16:05:45]req_shift_opened [16:05:45]FM_GetShiftState [16:05:45]SAM_PROTO_GetShiftState [16:05:45]wFMCommunicate request_size=4 [16:05:45]MH_SAM_APDU [16:05:45]CAPDU: 80 13 01 00 [16:05:45]Write to MH i2c: E2 08 00 B4 0C 80 13 01 00 00 00 00 00 3D [16:05:45]Write i2c OK [16:05:45]MH_I2C_Read... [16:05:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:05:45]Read from MH i2c: E2 [16:05:45]MH_I2C_Read... [16:05:45]Read from MH i2c: E2 0E 00 [16:05:45]MH_I2C_Read... [16:05:45]Read from MH i2c: E2 0E 00 B4 0C 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 87 [16:05:45]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [16:05:45]wFMCommunicate OK [16:05:45]SAM_PROTO_GetShiftState done [16:05:45]FM_GetShiftState done [16:05:45]req_shift_opened done [16:05:45]requested_item shift.open_date is exist - process it [16:05:45]req_shift_open_date [16:05:45]req_shift_open_date done [16:05:45]produce_requested_data done [16:05:45]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24348,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [16:05:45]process_action_free close_receipt [16:05:45]json_value_free [16:05:45]json_value_free done [16:05:45]process_json_proto returns [16:05:45]Send response to host [16:05:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24348,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [16:05:45]free response buf [16:05:45]execute_script done [16:05:45]execute_script returns [16:05:45]free content buf [16:05:45]Sock 9.Close socket [16:05:45]Sock 9.Thread stoped [16:05:45]OFD Sender: Processing packet 24348 [packets to send 5, broken 4] [16:05:45]ProducePacketName [16:05:45]name=ofd_packets/00024348 [16:05:45]OFD Sender: To server: pG, [16:05:45]CommunicateWithHost lk.salyk.kg:30040 [16:05:45]ConnectInit lk.salyk.kg [16:05:46]Connected sock=9 [16:05:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 28 01 00 00 E9 68 20 01 64 D4 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 D9 7B 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1C 5F 00 00 35 04 06 00 BB D7 77 AC 38 4D 3A 81 7A AA C2 51 1F 77 [16:05:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 59 F3 47 00 2A 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 34 32 30 10 04 04 00 1C 5F 00 00 F4 03 04 00 80 27 16 67 B6 04 01 00 00 71 B9 B0 7F 7D AA 86 F9 [16:05:46]CommunicateWithHost err = 0 [16:05:46]CheckOFDResponse [16:05:46]1017 (14) - 77093643461234 [16:05:46]1041 (16) - 0000000000965420 [16:05:46]1040 (4) - 24348 [16:05:46]1012 (4) - 21.10.2024 10:05 [16:05:46]1206 (1) - 0 [16:05:46]OFD Sender: Remove packet 24348 [16:05:46]ProducePacketName [16:05:46]name=ofd_packets/00024348 [16:05:46]NVStorageDeleteData [16:05:46]OFD Sender: No OFD packet to send [16:05:51]OFD Sender: No OFD packet to send [16:05:56]OFD Sender: No OFD packet to send [16:06:01]OFD Sender: No OFD packet to send [16:06:06]OFD Sender: No OFD packet to send [16:06:11]OFD Sender: No OFD packet to send [16:06:16]OFD Sender: No OFD packet to send [16:06:21]OFD Sender: No OFD packet to send [16:06:26]OFD Sender: No OFD packet to send [16:06:31]OFD Sender: No OFD packet to send [16:06:36]OFD Sender: No OFD packet to send [16:06:41]OFD Sender: No OFD packet to send [16:06:46]OFD Sender: No OFD packet to send [16:06:51]OFD Sender: No OFD packet to send [16:06:56]OFD Sender: No OFD packet to send [16:07:01]OFD Sender: No OFD packet to send [16:07:06]OFD Sender: No OFD packet to send [16:07:11]OFD Sender: No OFD packet to send [16:07:16]OFD Sender: No OFD packet to send [16:07:21]OFD Sender: No OFD packet to send [16:07:26]OFD Sender: No OFD packet to send [16:07:31]OFD Sender: No OFD packet to send [16:07:36]OFD Sender: No OFD packet to send [16:07:41]OFD Sender: No OFD packet to send [16:07:46]OFD Sender: No OFD packet to send [16:07:51]OFD Sender: No OFD packet to send [16:07:56]OFD Sender: No OFD packet to send [16:08:01]OFD Sender: No OFD packet to send [16:08:06]OFD Sender: No OFD packet to send [16:08:11]OFD Sender: No OFD packet to send [16:08:16]OFD Sender: No OFD packet to send [16:08:21]OFD Sender: No OFD packet to send [16:08:26]OFD Sender: No OFD packet to send [16:08:31]OFD Sender: No OFD packet to send [16:08:36]OFD Sender: No OFD packet to send [16:08:41]OFD Sender: No OFD packet to send [16:08:46]OFD Sender: No OFD packet to send [16:08:51]OFD Sender: No OFD packet to send [16:08:56]OFD Sender: No OFD packet to send [16:09:01]OFD Sender: No OFD packet to send [16:09:06]OFD Sender: No OFD packet to send [16:09:11]OFD Sender: No OFD packet to send [16:09:16]OFD Sender: No OFD packet to send [16:09:21]OFD Sender: No OFD packet to send [16:09:26]OFD Sender: No OFD packet to send [16:09:31]OFD Sender: No OFD packet to send [16:09:36]OFD Sender: No OFD packet to send [16:09:41]OFD Sender: No OFD packet to send [16:09:46]OFD Sender: No OFD packet to send [16:09:51]OFD Sender: No OFD packet to send [16:09:56]OFD Sender: No OFD packet to send [16:10:01]OFD Sender: No OFD packet to send [16:10:06]OFD Sender: No OFD packet to send [16:10:11]OFD Sender: No OFD packet to send [16:10:16]OFD Sender: No OFD packet to send [16:10:21]OFD Sender: No OFD packet to send [16:10:26]OFD Sender: No OFD packet to send [16:10:31]OFD Sender: No OFD packet to send [16:10:36]OFD Sender: No OFD packet to send [16:10:41]OFD Sender: No OFD packet to send [16:10:46]OFD Sender: No OFD packet to send [16:10:51]OFD Sender: No OFD packet to send [16:10:56]OFD Sender: No OFD packet to send [16:11:01]OFD Sender: No OFD packet to send [16:11:06]OFD Sender: No OFD packet to send [16:11:11]OFD Sender: No OFD packet to send [16:11:16]OFD Sender: No OFD packet to send [16:11:21]OFD Sender: No OFD packet to send [16:11:26]OFD Sender: No OFD packet to send [16:11:32]OFD Sender: No OFD packet to send [16:11:37]OFD Sender: No OFD packet to send [16:11:42]OFD Sender: No OFD packet to send [16:11:47]OFD Sender: No OFD packet to send [16:11:52]OFD Sender: No OFD packet to send [16:11:57]OFD Sender: No OFD packet to send [16:12:02]OFD Sender: No OFD packet to send [16:12:07]OFD Sender: No OFD packet to send [16:12:12]OFD Sender: No OFD packet to send [16:12:17]OFD Sender: No OFD packet to send [16:12:22]OFD Sender: No OFD packet to send [16:12:27]OFD Sender: No OFD packet to send [16:12:32]OFD Sender: No OFD packet to send [16:12:37]OFD Sender: No OFD packet to send [16:12:42]OFD Sender: No OFD packet to send [16:12:47]OFD Sender: No OFD packet to send [16:12:52]OFD Sender: No OFD packet to send [16:12:57]OFD Sender: No OFD packet to send [16:13:02]OFD Sender: No OFD packet to send [16:13:07]OFD Sender: No OFD packet to send [16:13:12]OFD Sender: No OFD packet to send [16:13:17]OFD Sender: No OFD packet to send [16:13:22]OFD Sender: No OFD packet to send [16:13:27]OFD Sender: No OFD packet to send [16:13:32]OFD Sender: No OFD packet to send [16:13:37]OFD Sender: No OFD packet to send [16:13:42]OFD Sender: No OFD packet to send [16:13:47]OFD Sender: No OFD packet to send [16:13:52]OFD Sender: No OFD packet to send [16:13:57]OFD Sender: No OFD packet to send [16:14:02]OFD Sender: No OFD packet to send [16:14:07]OFD Sender: No OFD packet to send [16:14:12]OFD Sender: No OFD packet to send [16:14:17]OFD Sender: No OFD packet to send [16:14:22]OFD Sender: No OFD packet to send [16:14:27]OFD Sender: No OFD packet to send [16:14:32]OFD Sender: No OFD packet to send [16:14:37]OFD Sender: No OFD packet to send [16:14:42]OFD Sender: No OFD packet to send [16:14:47]OFD Sender: No OFD packet to send [16:14:52]OFD Sender: No OFD packet to send [16:14:57]OFD Sender: No OFD packet to send [16:15:02]OFD Sender: No OFD packet to send [16:15:07]OFD Sender: No OFD packet to send [16:15:12]OFD Sender: No OFD packet to send [16:15:17]OFD Sender: No OFD packet to send [16:15:22]OFD Sender: No OFD packet to send [16:15:27]OFD Sender: No OFD packet to send [16:15:32]OFD Sender: No OFD packet to send [16:15:37]OFD Sender: No OFD packet to send [16:15:42]OFD Sender: No OFD packet to send [16:15:47]OFD Sender: No OFD packet to send [16:15:52]OFD Sender: No OFD packet to send [16:15:57]OFD Sender: No OFD packet to send [16:16:02]OFD Sender: No OFD packet to send [16:16:07]OFD Sender: No OFD packet to send [16:16:12]OFD Sender: No OFD packet to send [16:16:17]OFD Sender: No OFD packet to send [16:16:22]OFD Sender: No OFD packet to send [16:16:27]OFD Sender: No OFD packet to send [16:16:32]OFD Sender: No OFD packet to send [16:16:37]OFD Sender: No OFD packet to send [16:16:42]OFD Sender: No OFD packet to send [16:16:47]OFD Sender: No OFD packet to send [16:16:52]OFD Sender: No OFD packet to send [16:16:57]OFD Sender: No OFD packet to send [16:17:02]OFD Sender: No OFD packet to send [16:17:07]OFD Sender: No OFD packet to send [16:17:12]OFD Sender: No OFD packet to send [16:17:17]OFD Sender: No OFD packet to send [16:17:22]OFD Sender: No OFD packet to send [16:17:27]OFD Sender: No OFD packet to send [16:17:32]OFD Sender: No OFD packet to send [16:17:37]OFD Sender: No OFD packet to send [16:17:42]OFD Sender: No OFD packet to send [16:17:47]OFD Sender: No OFD packet to send [16:17:52]OFD Sender: No OFD packet to send [16:17:57]OFD Sender: No OFD packet to send [16:18:02]OFD Sender: No OFD packet to send [16:18:07]OFD Sender: No OFD packet to send [16:18:12]OFD Sender: No OFD packet to send [16:18:17]OFD Sender: No OFD packet to send [16:18:22]OFD Sender: No OFD packet to send [16:18:27]OFD Sender: No OFD packet to send [16:18:32]OFD Sender: No OFD packet to send [16:18:37]OFD Sender: No OFD packet to send [16:18:42]OFD Sender: No OFD packet to send [16:18:47]OFD Sender: No OFD packet to send [16:18:52]OFD Sender: No OFD packet to send [16:18:57]OFD Sender: No OFD packet to send [16:19:02]OFD Sender: No OFD packet to send [16:19:07]OFD Sender: No OFD packet to send [16:19:12]OFD Sender: No OFD packet to send [16:19:17]OFD Sender: No OFD packet to send [16:19:22]OFD Sender: No OFD packet to send [16:19:27]OFD Sender: No OFD packet to send [16:19:32]OFD Sender: No OFD packet to send [16:19:37]OFD Sender: No OFD packet to send [16:19:42]OFD Sender: No OFD packet to send [16:19:47]OFD Sender: No OFD packet to send [16:19:52]OFD Sender: No OFD packet to send [16:19:57]OFD Sender: No OFD packet to send [16:20:02]OFD Sender: No OFD packet to send [16:20:07]OFD Sender: No OFD packet to send [16:20:12]OFD Sender: No OFD packet to send [16:20:17]OFD Sender: No OFD packet to send [16:20:22]OFD Sender: No OFD packet to send [16:20:27]OFD Sender: No OFD packet to send [16:20:32]OFD Sender: No OFD packet to send [16:20:37]OFD Sender: No OFD packet to send [16:20:42]OFD Sender: No OFD packet to send [16:20:47]OFD Sender: No OFD packet to send [16:20:52]OFD Sender: No OFD packet to send [16:20:57]OFD Sender: No OFD packet to send [16:21:02]OFD Sender: No OFD packet to send [16:21:07]OFD Sender: No OFD packet to send [16:21:12]OFD Sender: No OFD packet to send [16:21:17]OFD Sender: No OFD packet to send [16:21:22]OFD Sender: No OFD packet to send [16:21:27]OFD Sender: No OFD packet to send [16:21:32]OFD Sender: No OFD packet to send [16:21:37]OFD Sender: No OFD packet to send [16:21:42]OFD Sender: No OFD packet to send [16:21:47]OFD Sender: No OFD packet to send [16:21:52]OFD Sender: No OFD packet to send [16:21:57]OFD Sender: No OFD packet to send [16:22:02]OFD Sender: No OFD packet to send [16:22:07]OFD Sender: No OFD packet to send [16:22:12]OFD Sender: No OFD packet to send [16:22:17]OFD Sender: No OFD packet to send [16:22:22]OFD Sender: No OFD packet to send [16:22:27]OFD Sender: No OFD packet to send [16:22:32]OFD Sender: No OFD packet to send [16:22:37]OFD Sender: No OFD packet to send [16:22:42]OFD Sender: No OFD packet to send [16:22:47]OFD Sender: No OFD packet to send [16:22:52]OFD Sender: No OFD packet to send [16:22:57]OFD Sender: No OFD packet to send [16:23:02]OFD Sender: No OFD packet to send [16:23:07]OFD Sender: No OFD packet to send [16:23:12]OFD Sender: No OFD packet to send [16:23:17]OFD Sender: No OFD packet to send [16:23:22]OFD Sender: No OFD packet to send [16:23:27]OFD Sender: No OFD packet to send [16:23:32]OFD Sender: No OFD packet to send [16:23:37]OFD Sender: No OFD packet to send [16:23:42]OFD Sender: No OFD packet to send [16:23:47]OFD Sender: No OFD packet to send [16:23:52]OFD Sender: No OFD packet to send [16:23:57]OFD Sender: No OFD packet to send [16:24:02]OFD Sender: No OFD packet to send [16:24:07]OFD Sender: No OFD packet to send [16:24:12]OFD Sender: No OFD packet to send [16:24:17]OFD Sender: No OFD packet to send [16:24:22]OFD Sender: No OFD packet to send [16:24:27]OFD Sender: No OFD packet to send [16:24:32]OFD Sender: No OFD packet to send [16:24:37]OFD Sender: No OFD packet to send [16:24:42]OFD Sender: No OFD packet to send [16:24:47]OFD Sender: No OFD packet to send [16:24:52]OFD Sender: No OFD packet to send [16:24:57]OFD Sender: No OFD packet to send [16:25:02]OFD Sender: No OFD packet to send [16:25:03]accept exits with 8 [16:25:03]New connection [16:25:03]New thread 3067084132 created [16:25:03]Thread 3066940772 joined [16:25:03]Waiting for new connection... [16:25:03] Sock 8.Parse request [16:25:03]Sock 8.Check first char [16:25:03]Sock 8.First char is OK [16:25:03]request: POST /json_proto HTTP/1.0 [16:25:03]Method: POST [16:25:03]URL: /json_proto [16:25:03]Method is POST - this is cgi request [16:25:03]url: /json_proto [16:25:03]query_string will be loaded in cgi processing [16:25:03]execute_cgi json_proto POST (null) [16:25:03]execute_cgi path=json_proto method=POST [16:25:03]POST find Content-Length [16:25:03]Host: 172.17.50.4:8080 [16:25:03]Content-Length: 1078 [16:25:03]Content-Type: application/json [16:25:03] [16:25:03]POST finish read [16:25:03]Found Content-Length = 1078 [16:25:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134870", "tax_sys" : 0, "items" : [ { "code": "4700000310258", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041B\u0438\u043C\u043E\u043D\u0430\u0434 \u041A\u0435\u043B\u0435\u0447\u0435\u043A 1\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:03]execute_script... [16:25: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)134870", "tax_sys" : 0, "items" : [ { "code": "4700000310258", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041B\u0438\u043C\u043E\u043D\u0430\u0434 \u041A\u0435\u043B\u0435\u0447\u0435\u043A 1\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:03]POST & json_proto [16:25:03]process_json_proto [16:25:03]json parsed OK: [16:25:03]protocol is kg_v1.0 [16:25:03]action value=close_receipt [16:25:03]process_action close_receipt [16:25:03]cmd_close_receipt [16:25:03]MH_GetDate [16:25:03]Write to MH i2c: F0 00 00 B5 0C B0 [16:25:03]Write i2c OK [16:25:03]MH_I2C_Read... [16:25:03]Read from MH i2c: F0 [16:25:03]MH_I2C_Read... [16:25:03]Read from MH i2c: F0 09 00 [16:25:03]MH_I2C_Read... [16:25:03]Read from MH i2c: F0 09 00 B5 0C 00 61 80 16 67 3B 12 16 67 E1 [16:25:03]GetLastDocTimeStamp 1729526745 [16:25:03]current date 1729527905 [16:25:03]FM_GetShiftState [16:25:03]SAM_PROTO_GetShiftState [16:25:03]wFMCommunicate request_size=4 [16:25:03]MH_SAM_APDU [16:25:03]CAPDU: 80 13 01 00 [16:25:03]Write to MH i2c: E2 08 00 B6 0C 80 13 01 00 00 00 00 00 3F [16:25:03]Write i2c OK [16:25:03]MH_I2C_Read... [16:25:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:03]Read from MH i2c: E2 [16:25:03]MH_I2C_Read... [16:25:03]Read from MH i2c: E2 0E 00 [16:25:03]MH_I2C_Read... [16:25:03]Read from MH i2c: E2 0E 00 B6 0C 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 89 [16:25:03]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [16:25:03]wFMCommunicate OK [16:25:03]SAM_PROTO_GetShiftState done [16:25:03]FM_GetShiftState done [16:25:03]opened in 1729469223 [16:25:03]opened+sec_in_day 1729555623 [16:25:03]quantity*price = 7500 [16:25:03]sum+1 = 7501 [16:25:03]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065001445 Шок батончик Snickers 50,5г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 134.00 НСП 1% : 1.18 НДС 12% : 14.22 Наличными: 0.00 Безнал.: 134.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 53 21.10.2024 16:25 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24349 ФПД: 107316763182932 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T162505&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24349&fm=107316763182932&tin=02508201610067®Number=0000000000098120&sum=13400 0 [16:25:04]StoreToDocumentArchive [16:25:04]shift 461 fd 24349 [16:25:04]save to /storage/0461/doc_00024349 [16:25:04]save last doc name /storage/0461/doc_00024349 to /storage/kkm_last_doc_name [16:25:04]save OK [16:25:04]Clear old archive folders... [16:25:04]ProcessDocumentItem done err = 0, tmpTLVsize=401 [16:25:04]tlvbuf is 00344FE0 [16:25:04]SAM_PROTO_ClearQueue [16:25:04]wFMCommunicate request_size=4 [16:25:04]MH_SAM_APDU [16:25:04]CAPDU: 80 09 00 00 [16:25:04]Write to MH i2c: E2 08 00 C3 0C 80 09 00 00 00 00 00 00 41 [16:25:04]Write i2c OK [16:25:04]MH_I2C_Read... [16:25:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:25:04]Read from MH i2c: E2 [16:25:04]MH_I2C_Read... [16:25:04]Read from MH i2c: E2 03 00 [16:25:04]MH_I2C_Read... [16:25:04]Read from MH i2c: E2 03 00 C3 0C 00 90 00 43 [16:25:04]RAPDU: 90 00 [16:25:04]wFMCommunicate OK [16:25:04]SAM_PROTO_ClearQueue done [16:25:04]KKMCreateOFDPacket [16:25:04]OFDProtocolAddRootSTLVToBuf [16:25:04]FM_MakeSignedData [16:25:04]FM_MakeSignedData [16:25:04]SAM_PROTO_SignData [16:25:04]wFMCommunicate request_size=4 [16:25:04]MH_SAM_APDU [16:25:04]CAPDU: 80 0D 01 02 [16:25:04]Write to MH i2c: E2 08 00 C4 0C 80 0D 01 02 00 00 00 00 49 [16:25:04]Write i2c OK [16:25:04]MH_I2C_Read... [16:25:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:25:04]Read from MH i2c: E2 [16:25:04]MH_I2C_Read... [16:25:04]Read from MH i2c: E2 03 00 [16:25:04]MH_I2C_Read... [16:25:04]Read from MH i2c: E2 03 00 C4 0C 00 90 00 44 [16:25:04]RAPDU: 90 00 [16:25:04]wFMCommunicate OK [16:25:04]wFMCommunicate request_size=255 [16:25:04]MH_SAM_APDU [16:25:04]CAPDU: 80 0D 02 02 FA 03 00 91 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 32 35 38 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 D0 9A D0 B5 D0 BB D0 B5 D1 87 D0 B5 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 [16:25:04]Write to MH i2c: E2 02 01 C5 0C 80 0D 02 02 FA 00 03 00 91 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 32 35 38 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 D0 9A D0 B5 D0 BB D0 B5 D1 87 D0 B5 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 00 00 8F [16:25:04]Write i2c OK [16:25:04]MH_I2C_Read... [16:25:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:04]Read from MH i2c: E2 [16:25:04]MH_I2C_Read... [16:25:04]Read from MH i2c: E2 03 00 [16:25:04]MH_I2C_Read... [16:25:04]Read from MH i2c: E2 03 00 C5 0C 00 90 00 45 [16:25:04]RAPDU: 90 00 [16:25:04]wFMCommunicate OK [16:25:04]wFMCommunicate request_size=160 [16:25:04]MH_SAM_APDU [16:25:04]CAPDU: 80 0D 02 02 9B EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8E 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 61 80 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1D 5F 00 00 35 04 06 00 61 9A A1 8C 47 54 [16:25:04]Write to MH i2c: E2 A3 00 C6 0C 80 0D 02 02 9B 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8E 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 61 80 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1D 5F 00 00 35 04 06 00 61 9A A1 8C 47 54 00 00 E9 [16:25:04]Write i2c OK [16:25:04]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 [16:25:05]MH_I2C_Read... [16:25:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:05]Read from MH i2c: E2 03 00 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 03 00 C6 0C 00 90 00 46 [16:25:05]RAPDU: 90 00 [16:25:05]wFMCommunicate OK [16:25:05]wFMCommunicate request_size=4 [16:25:05]MH_SAM_APDU [16:25:05]CAPDU: 80 0D 03 02 [16:25:05]Write to MH i2c: E2 08 00 C7 0C 80 0D 03 02 00 00 00 00 4E [16:25:05]Write i2c OK [16:25:05]MH_I2C_Read... [16:25:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:25:05]Read from MH i2c: E2 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 0B 00 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 0B 00 C7 0C 00 84 9A 04 4A 7B 15 09 A1 90 00 F5 [16:25:05]RAPDU: 84 9A 04 4A 7B 15 09 A1 90 00 [16:25:05]wFMCommunicate OK [16:25:05]SAM_PROTO_SignData done [16:25:05]FM_MakeSignedData done [16:25:05]CreateOFDProtocolMessage [16:25:05]wFMCommunicate request_size=4 [16:25:05]MH_SAM_APDU [16:25:05]CAPDU: 80 11 00 00 [16:25:05]Write to MH i2c: E2 08 00 C8 0C 80 11 00 00 00 00 00 00 4E [16:25:05]Write i2c OK [16:25:05]MH_I2C_Read... [16:25:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:05]Read from MH i2c: E2 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 17 00 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 17 00 C8 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 9B [16:25:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [16:25:05]wFMCommunicate OK [16:25:05]CreateOFDProtocolMessage done [16:25:05]OFDSenderStorePacket 24349 [16:25:05]StoreOFDPacket docnum=24349 [16:25:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 A5 01 00 00 96 56 9D 01 44 75 5A 03 01 00 03 00 91 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 32 35 38 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 D0 9A D0 B5 D0 BB D0 B5 D1 87 D0 B5 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8E 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 61 80 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1D 5F 00 00 35 04 06 00 61 9A A1 8C 47 54 84 9A 04 4A 7B 15 09 A1 [16:25:05]CheckFolder [16:25:05]dirname=/storage/ofd_packets [16:25:05]CheckFolder done [16:25:05]ProducePacketName [16:25:05]name=ofd_packets/00024349 [16:25:05]NVStorageSaveData ofd_packets/00024349 [16:25:05]File name is /storage/ofd_packets/00024349 [16:25:05]Write 451 bytes [16:25:05]NVStorageSaveData done [16:25:05]OFDSenderStorePacket done [16:25:05]KKMCreateOFDPacket done [16:25:05]NVStorageSaveData kkm_last_timestamp [16:25:05]File name is /storage/kkm_last_timestamp [16:25:05]Write 4 bytes [16:25:05]NVStorageSaveData done [16:25:05]ExternCall_PrintAddStr [16:25:05]wPrintStart [16:25:05]Write to MH i2c: 01 00 00 C9 0C D5 [16:25:05]OFD Sender: Processing packet 24349 [packets to send 5, broken 4] [16:25:05]ProducePacketName [16:25:05]name=ofd_packets/00024349 [16:25:05]OFD Sender: To server: pG, [16:25:05]CommunicateWithHost lk.salyk.kg:30040 [16:25:05]ConnectInit lk.salyk.kg [16:25:05]Write i2c OK [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: 01 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: 01 07 00 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: 01 07 00 C9 0C 00 00 00 00 00 FF 0F EA [16:25:05]RasterBufferAndPrint [16:25:05]line Счет N : (3)134870 [16:25:05]line ИНН: 02508201610067 [16:25:05]line Контрольно-Кассовый Чек [16:25:05]line ПРОДАЖА [16:25:05]line Товар: 4700000310258 [16:25:05]line Напиток Лимонад Келечек 1л [16:25:05]line 1.000 * 75.00 [16:25:05]line = 75.00 [16:25:05]line НДС 12% НСП 1% [16:25:05]line > о реализуемом товаре [16:25:05]line Товар: 4607065001445 [16:25:05]line Шок батончик Snickers 50,5г [16:25:05]line 1.000 * 59.00 [16:25:05]line = 59.00 [16:25:05]line НДС 12% НСП 1% [16:25:05]line > о реализуемом товаре [16:25:05]line ИТОГО: 134.00 [16:25:05]line НСП 1% : 1.18 [16:25:05]line НДС 12% : 14.22 [16:25:05]line Наличными: 0.00 [16:25:05]line Безнал.: 134.00 [16:25:05]line Место: АЗС № 85 "Партнер Нефть" [16:25:05]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [16:25:05]line СНО: Общий режим [16:25:05]line Чек 53 21.10.2024 16:25 [16:25:05]line Смена: 461 ФФД: 1.0 [16:25:05]line ЗНМ: 0300000166 [16:25:05]line РНМ: 0000000000098120 [16:25:05]line Версия ККМ: 001 [16:25:05]line Платежная система: Mbank [16:25:05]line ФМ: 0000000000965420 [16:25:05]line ФД: 24349 [16:25:05]line ФПД: 107316763182932 [16:25:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T162505&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24349&fm=107316763182932&tin=02508201610067®Number=0000000000098120&sum=13400 [16:25:05]line 0 [16:25:05]written 0, free lines is 4095 [16:25:05]Connected sock=10 [16:25: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 34 32 30 A5 01 00 00 96 56 9D 01 44 75 5A 03 01 00 03 00 91 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 32 35 38 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 D0 9A D0 B5 D0 BB D0 B5 D1 87 D0 B5 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8E 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 61 80 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1D 5F 00 00 35 04 06 00 61 9A A1 8C 47 54 84 9A 04 4A 7B 15 09 A1 [16:25:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 76 86 47 00 10 B2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1D 5F 00 00 F4 03 04 00 07 2C 16 67 B6 04 01 00 00 0C 9B 37 F0 5B E4 78 9F [16:25:05]CommunicateWithHost err = 0 [16:25:05]CheckOFDResponse [16:25:05]1017 (14) - 77093643461234 [16:25:05]1041 (16) - 0000000000965420 [16:25:05]1040 (4) - 24349 [16:25:05]1012 (4) - 21.10.2024 10:25 [16:25:05]1206 (1) - 0 [16:25:05]OFD Sender: Remove packet 24349 [16:25:05]ProducePacketName [16:25:05]name=ofd_packets/00024349 [16:25:05]NVStorageDeleteData [16:25:06]Write to MH i2c: 01 00 00 F8 0C 04 [16:25:06]Write i2c OK [16:25:06]MH_I2C_Read... [16:25:06]Read from MH i2c: 01 [16:25:06]MH_I2C_Read... [16:25:06]Read from MH i2c: 01 07 00 [16:25:06]MH_I2C_Read... [16:25:06]Read from MH i2c: 01 07 00 F8 0C 00 00 00 00 00 C7 0C DE [16:25:06]RasterBufferAndPrint [16:25:06]line [16:25:06]line [16:25:06]line [16:25:06]line [16:25:06]line [16:25:06]written 0, free lines is 3279 [16:25:06]process_action close_receipt done [16:25:06]requested_data is exist [16:25:06]produce_requested_data [16:25:06]requested_item fm.sn is exist - process it [16:25:06]wFMCommunicate request_size=4 [16:25:06]MH_SAM_APDU [16:25:06]CAPDU: 80 11 00 00 [16:25:06]Write to MH i2c: E2 08 00 FF 0C 80 11 00 00 00 00 00 00 85 [16:25:06]Write i2c OK [16:25:06]MH_I2C_Read... [16:25:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:06]Read from MH i2c: E2 [16:25:06]MH_I2C_Read... [16:25:06]Read from MH i2c: E2 17 00 [16:25:06]MH_I2C_Read... [16:25:06]Read from MH i2c: E2 17 00 FF 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 D2 [16:25:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [16:25:06]wFMCommunicate OK [16:25:06]requested_item fd.num is exist - process it [16:25:06]SAM_PROTO_GetFieldsCounters [16:25:06]wFMCommunicate request_size=4 [16:25:06]MH_SAM_APDU [16:25:06]CAPDU: 80 13 00 00 [16:25:06]Write to MH i2c: E2 08 00 00 0D 80 13 00 00 00 00 00 00 89 [16:25:06]Write i2c OK [16:25:06]MH_I2C_Read... [16:25:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:25:06]Read from MH i2c: E2 [16:25:06]MH_I2C_Read... [16:25:06]Read from MH i2c: E2 62 00 [16:25:06]MH_I2C_Read... [16:25:06]Read from MH i2c: E2 62 00 00 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 1D 5F 00 00 0E 04 04 00 CD 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 88 [16:25: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 1D 5F 00 00 0E 04 04 00 CD 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 [16:25:06]wFMCommunicate OK [16:25:06]SAM_PROTO_GetFieldsCounters done [16:25:06]requested_item shift.num is exist - process it [16:25:06]requested_item shift.opened is exist - process it [16:25:06]req_shift_opened [16:25:06]FM_GetShiftState [16:25:06]SAM_PROTO_GetShiftState [16:25:06]wFMCommunicate request_size=4 [16:25:06]MH_SAM_APDU [16:25:06]CAPDU: 80 13 01 00 [16:25:06]Write to MH i2c: E2 08 00 01 0D 80 13 01 00 00 00 00 00 8B [16:25:06]Write i2c OK [16:25:06]MH_I2C_Read... [16:25:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:06]Read from MH i2c: E2 [16:25:06]MH_I2C_Read... [16:25:06]Read from MH i2c: E2 0E 00 [16:25:06]MH_I2C_Read... [16:25:06]Read from MH i2c: E2 0E 00 01 0D 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 D5 [16:25:06]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [16:25:06]wFMCommunicate OK [16:25:06]SAM_PROTO_GetShiftState done [16:25:06]FM_GetShiftState done [16:25:06]req_shift_opened done [16:25:06]requested_item shift.open_date is exist - process it [16:25:06]req_shift_open_date [16:25:06]req_shift_open_date done [16:25:06]produce_requested_data done [16:25:06]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24349,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [16:25:06]process_action_free close_receipt [16:25:06]json_value_free [16:25:06]json_value_free done [16:25:06]process_json_proto returns [16:25:06]Send response to host [16:25:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24349,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [16:25:06]free response buf [16:25:06]execute_script done [16:25:06]execute_script returns [16:25:06]free content buf [16:25:06]Sock 8.Close socket [16:25:06]Sock 8.Thread stoped [16:25:06]OFD Sender: No OFD packet to send [16:25:11]OFD Sender: No OFD packet to send [16:25:16]OFD Sender: No OFD packet to send [16:25:21]OFD Sender: No OFD packet to send [16:25:26]OFD Sender: No OFD packet to send [16:25:31]OFD Sender: No OFD packet to send [16:25:32]accept exits with 9 [16:25:32]New connection [16:25:32]New thread 3066940772 created [16:25:32]Thread 3067084132 joined [16:25:32]Waiting for new connection... [16:25:32] Sock 9.Parse request [16:25:32]Sock 9.Check first char [16:25:32]Sock 9.First char is OK [16:25:32]request: POST /json_proto HTTP/1.0 [16:25:32]Method: POST [16:25:32]URL: /json_proto [16:25:32]Method is POST - this is cgi request [16:25:32]url: /json_proto [16:25:32]query_string will be loaded in cgi processing [16:25:32]execute_cgi json_proto POST (null) [16:25:32]execute_cgi path=json_proto method=POST [16:25:32]POST find Content-Length [16:25:32]Host: 172.17.50.4:8080 [16:25:32]Content-Length: 1020 [16:25:32]Content-Type: application/json [16:25:32] [16:25:32]POST finish read [16:25:32]Found Content-Length = 1020 [16:25:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134871", "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 }]} ,{ "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 54.00, "quantity" : 1.000, "sum" : 54.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 173.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:32]execute_script... [16:25: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)134871", "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 }]} ,{ "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 54.00, "quantity" : 1.000, "sum" : 54.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 173.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:32]POST & json_proto [16:25:32]process_json_proto [16:25:32]json parsed OK: [16:25:32]protocol is kg_v1.0 [16:25:32]action value=close_receipt [16:25:32]process_action close_receipt [16:25:32]cmd_close_receipt [16:25:32]MH_GetDate [16:25:32]Write to MH i2c: F0 00 00 02 0D FE [16:25:32]Write i2c OK [16:25:32]MH_I2C_Read... [16:25:32]Read from MH i2c: F0 [16:25:32]MH_I2C_Read... [16:25:32]Read from MH i2c: F0 09 00 [16:25:32]MH_I2C_Read... [16:25:32]Read from MH i2c: F0 09 00 02 0D 00 7E 80 16 67 3B 12 16 67 4C [16:25:32]GetLastDocTimeStamp 1729527905 [16:25:32]current date 1729527934 [16:25:32]FM_GetShiftState [16:25:32]SAM_PROTO_GetShiftState [16:25:32]wFMCommunicate request_size=4 [16:25:32]MH_SAM_APDU [16:25:32]CAPDU: 80 13 01 00 [16:25:32]Write to MH i2c: E2 08 00 03 0D 80 13 01 00 00 00 00 00 8D [16:25:32]Write i2c OK [16:25:32]MH_I2C_Read... [16:25:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:32]Read from MH i2c: E2 [16:25:32]MH_I2C_Read... [16:25:32]Read from MH i2c: E2 0E 00 [16:25:32]MH_I2C_Read... [16:25:32]Read from MH i2c: E2 0E 00 03 0D 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 D7 [16:25:32]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [16:25:32]wFMCommunicate OK [16:25:32]SAM_PROTO_GetShiftState done [16:25:32]FM_GetShiftState done [16:25:32]opened in 1729469223 [16:25:32]opened+sec_in_day 1729555623 [16:25:32]quantity*price = 11900 [16:25:32]sum+1 = 11901 [16:25:32]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4011100977952 Шок Батончик Твикс 55г 1.000 * 54.00 = 54.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 173.00 НСП 1% : 1.53 НДС 12% : 18.37 Наличными: 0.00 Безнал.: 173.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 54 21.10.2024 16:25 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24350 ФПД: 104342123300469 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T162534&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24350&fm=104342123300469&tin=02508201610067®Number=0000000000098120&sum=17300 0 [16:25:33]StoreToDocumentArchive [16:25:33]shift 461 fd 24350 [16:25:33]save to /storage/0461/doc_00024350 [16:25:33]save last doc name /storage/0461/doc_00024350 to /storage/kkm_last_doc_name [16:25:33]save OK [16:25:33]Clear old archive folders... [16:25:33]ProcessDocumentItem done err = 0, tmpTLVsize=377 [16:25:33]tlvbuf is 0033FF20 [16:25:33]SAM_PROTO_ClearQueue [16:25:33]wFMCommunicate request_size=4 [16:25:33]MH_SAM_APDU [16:25:33]CAPDU: 80 09 00 00 [16:25:33]Write to MH i2c: E2 08 00 10 0D 80 09 00 00 00 00 00 00 8F [16:25:33]Write i2c OK [16:25:33]MH_I2C_Read... [16:25:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:25:33]Read from MH i2c: E2 [16:25:33]MH_I2C_Read... [16:25:33]Read from MH i2c: E2 03 00 [16:25:33]MH_I2C_Read... [16:25:33]Read from MH i2c: E2 03 00 10 0D 00 90 00 91 [16:25:33]RAPDU: 90 00 [16:25:33]wFMCommunicate OK [16:25:33]SAM_PROTO_ClearQueue done [16:25:33]KKMCreateOFDPacket [16:25:33]OFDProtocolAddRootSTLVToBuf [16:25:33]FM_MakeSignedData [16:25:33]FM_MakeSignedData [16:25:33]SAM_PROTO_SignData [16:25:33]wFMCommunicate request_size=4 [16:25:33]MH_SAM_APDU [16:25:33]CAPDU: 80 0D 01 02 [16:25:33]Write to MH i2c: E2 08 00 11 0D 80 0D 01 02 00 00 00 00 97 [16:25:33]Write i2c OK [16:25:33]MH_I2C_Read... [16:25:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:25:33]Read from MH i2c: E2 [16:25:33]MH_I2C_Read... [16:25:33]Read from MH i2c: E2 03 00 [16:25:33]MH_I2C_Read... [16:25:33]Read from MH i2c: E2 03 00 11 0D 00 90 00 92 [16:25:33]RAPDU: 90 00 [16:25:33]wFMCommunicate OK [16:25:33]wFMCommunicate request_size=255 [16:25:33]MH_SAM_APDU [16:25:33]CAPDU: 80 0D 02 02 FA 03 00 79 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 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 43 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 99 00 00 00 00 00 EE [16:25:33]Write to MH i2c: E2 02 01 12 0D 80 0D 02 02 FA 00 03 00 79 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 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 43 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 99 00 00 00 00 00 EE 00 00 92 [16:25:33]Write i2c OK [16:25:33]MH_I2C_Read... [16:25:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:33]Read from MH i2c: E2 [16:25:33]MH_I2C_Read... [16:25:33]Read from MH i2c: E2 03 00 [16:25:33]MH_I2C_Read... [16:25:33]Read from MH i2c: E2 03 00 12 0D 00 90 00 93 [16:25:33]RAPDU: 90 00 [16:25:33]wFMCommunicate OK [16:25:33]wFMCommunicate request_size=136 [16:25:33]MH_SAM_APDU [16:25:33]CAPDU: 80 0D 02 02 83 03 0F 00 F2 03 01 00 01 F3 03 06 00 2D 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 43 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 7E 80 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1E 5F 00 00 35 04 06 00 5E E6 0B 31 C6 75 [16:25:33]Write to MH i2c: E2 8B 00 13 0D 80 0D 02 02 83 00 03 0F 00 F2 03 01 00 01 F3 03 06 00 2D 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 43 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 7E 80 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1E 5F 00 00 35 04 06 00 5E E6 0B 31 C6 75 00 00 96 [16:25:33]Write i2c OK [16:25:33]MH_I2C_Read... [16:25:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:34]Read from MH i2c: E2 [16:25:34]MH_I2C_Read... [16:25:34]Read from MH i2c: E2 03 00 [16:25:34]MH_I2C_Read... [16:25:34]Read from MH i2c: E2 03 00 13 0D 00 90 00 94 [16:25:34]RAPDU: 90 00 [16:25:34]wFMCommunicate OK [16:25:34]wFMCommunicate request_size=4 [16:25:34]MH_SAM_APDU [16:25:34]CAPDU: 80 0D 03 02 [16:25:34]Write to MH i2c: E2 08 00 14 0D 80 0D 03 02 00 00 00 00 9C [16:25:34]Write i2c OK [16:25:34]MH_I2C_Read... [16:25:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:25:34]Read from MH i2c: E2 [16:25:34]MH_I2C_Read... [16:25:34]Read from MH i2c: E2 0B 00 [16:25:34]MH_I2C_Read... [16:25:34]Read from MH i2c: E2 0B 00 14 0D 00 AE CB D9 43 ED 76 37 8E 90 00 5A [16:25:34]RAPDU: AE CB D9 43 ED 76 37 8E 90 00 [16:25:34]wFMCommunicate OK [16:25:34]SAM_PROTO_SignData done [16:25:34]FM_MakeSignedData done [16:25:34]CreateOFDProtocolMessage [16:25:34]wFMCommunicate request_size=4 [16:25:34]MH_SAM_APDU [16:25:34]CAPDU: 80 11 00 00 [16:25:34]Write to MH i2c: E2 08 00 15 0D 80 11 00 00 00 00 00 00 9C [16:25:34]Write i2c OK [16:25:34]MH_I2C_Read... [16:25:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:34]Read from MH i2c: E2 [16:25:34]MH_I2C_Read... [16:25:34]Read from MH i2c: E2 17 00 [16:25:34]MH_I2C_Read... [16:25:34]Read from MH i2c: E2 17 00 15 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 E9 [16:25:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [16:25:34]wFMCommunicate OK [16:25:34]CreateOFDProtocolMessage done [16:25:34]OFDSenderStorePacket 24350 [16:25:34]StoreOFDPacket docnum=24350 [16:25:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 8D 01 00 00 2B 4E 85 01 BF 17 5A 03 01 00 03 00 79 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 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 43 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 99 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2D 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 43 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 7E 80 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1E 5F 00 00 35 04 06 00 5E E6 0B 31 C6 75 AE CB D9 43 ED 76 37 8E [16:25:34]CheckFolder [16:25:34]dirname=/storage/ofd_packets [16:25:34]CheckFolder done [16:25:34]ProducePacketName [16:25:34]name=ofd_packets/00024350 [16:25:34]NVStorageSaveData ofd_packets/00024350 [16:25:34]File name is /storage/ofd_packets/00024350 [16:25:34]Write 427 bytes [16:25:34]NVStorageSaveData done [16:25:34]OFDSenderStorePacket done [16:25:34]KKMCreateOFDPacket done [16:25:34]NVStorageSaveData kkm_last_timestamp [16:25:34]File name is /storage/kkm_last_timestamp [16:25:34]Write 4 bytes [16:25:34]NVStorageSaveData done [16:25:34]ExternCall_PrintAddStr [16:25:34]wPrintStart [16:25:34]Write to MH i2c: 01 00 00 16 0D 23 [16:25:34]Write i2c OK [16:25:34]MH_I2C_Read... [16:25:34]Read from MH i2c: 01 [16:25:34]MH_I2C_Read... [16:25:34]OFD Sender: Processing packet 24350 [packets to send 5, broken 4] [16:25:34]ProducePacketName [16:25:34]name=ofd_packets/00024350 [16:25:34]OFD Sender: To server: pG, [16:25:34]CommunicateWithHost lk.salyk.kg:30040 [16:25:34]ConnectInit lk.salyk.kg [16:25:34]Read from MH i2c: 01 07 00 [16:25:34]MH_I2C_Read... [16:25:34]Read from MH i2c: 01 07 00 16 0D 00 00 00 00 00 FF 0F 38 [16:25:34]RasterBufferAndPrint [16:25:34]line Счет N : (3)134871 [16:25:34]line ИНН: 02508201610067 [16:25:34]line Контрольно-Кассовый Чек [16:25:34]line ПРОДАЖА [16:25:34]line Товар: 4870001570071 [16:25:34]line Напиток Pepsi 1л [16:25:34]line 1.000 * 119.00 [16:25:34]line = 119.00 [16:25:34]line НДС 12% НСП 1% [16:25:34]line > о реализуемом товаре [16:25:34]line Товар: 4011100977952 [16:25:34]line Шок Батончик Твикс 55г [16:25:34]line 1.000 * 54.00 [16:25:34]line = 54.00 [16:25:34]line НДС 12% НСП 1% [16:25:34]line > о реализуемом товаре [16:25:34]line ИТОГО: 173.00 [16:25:34]line НСП 1% : 1.53 [16:25:34]line НДС 12% : 18.37 [16:25:34]line Наличными: 0.00 [16:25:34]line Безнал.: 173.00 [16:25:34]line Место: АЗС № 85 "Партнер Нефть" [16:25:34]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [16:25:34]line СНО: Общий режим [16:25:34]line Чек 54 21.10.2024 16:25 [16:25:34]line Смена: 461 ФФД: 1.0 [16:25:34]line ЗНМ: 0300000166 [16:25:34]line РНМ: 0000000000098120 [16:25:34]line Версия ККМ: 001 [16:25:34]line Платежная система: Mbank [16:25:34]line ФМ: 0000000000965420 [16:25:34]line ФД: 24350 [16:25:34]line ФПД: 104342123300469 [16:25:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T162534&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24350&fm=104342123300469&tin=02508201610067®Number=0000000000098120&sum=17300 [16:25:34]line 0 [16:25:34]written 0, free lines is 4095 [16:25:34]Connected sock=10 [16:25: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 34 32 30 8D 01 00 00 2B 4E 85 01 BF 17 5A 03 01 00 03 00 79 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 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 43 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 99 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2D 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 43 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 7E 80 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1E 5F 00 00 35 04 06 00 5E E6 0B 31 C6 75 AE CB D9 43 ED 76 37 8E [16:25:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 33 18 47 00 73 0A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1E 5F 00 00 F4 03 04 00 24 2C 16 67 B6 04 01 00 00 9A 32 74 2F 90 A8 17 7F [16:25:34]CommunicateWithHost err = 0 [16:25:34]CheckOFDResponse [16:25:34]1017 (14) - 77093643461234 [16:25:34]1041 (16) - 0000000000965420 [16:25:34]1040 (4) - 24350 [16:25:34]1012 (4) - 21.10.2024 10:25 [16:25:34]1206 (1) - 0 [16:25:34]OFD Sender: Remove packet 24350 [16:25:34]ProducePacketName [16:25:34]name=ofd_packets/00024350 [16:25:34]NVStorageDeleteData [16:25:34]Write to MH i2c: 01 00 00 45 0D 52 [16:25:34]Write i2c OK [16:25:34]MH_I2C_Read... [16:25:34]Read from MH i2c: 01 [16:25:34]MH_I2C_Read... [16:25:34]Read from MH i2c: 01 07 00 [16:25:34]MH_I2C_Read... [16:25:34]Read from MH i2c: 01 07 00 45 0D 00 00 00 00 00 B9 0C 1E [16:25:34]RasterBufferAndPrint [16:25:34]line [16:25:34]line [16:25:34]line [16:25:34]line [16:25:34]line [16:25:34]written 0, free lines is 3263 [16:25:34]process_action close_receipt done [16:25:34]requested_data is exist [16:25:34]produce_requested_data [16:25:34]requested_item fm.sn is exist - process it [16:25:34]wFMCommunicate request_size=4 [16:25:34]MH_SAM_APDU [16:25:34]CAPDU: 80 11 00 00 [16:25:34]Write to MH i2c: E2 08 00 4C 0D 80 11 00 00 00 00 00 00 D3 [16:25:34]Write i2c OK [16:25:34]MH_I2C_Read... [16:25:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:35]Read from MH i2c: E2 [16:25:35]MH_I2C_Read... [16:25:35]Read from MH i2c: E2 17 00 [16:25:35]MH_I2C_Read... [16:25:35]Read from MH i2c: E2 17 00 4C 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 20 [16:25:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [16:25:35]wFMCommunicate OK [16:25:35]requested_item fd.num is exist - process it [16:25:35]SAM_PROTO_GetFieldsCounters [16:25:35]wFMCommunicate request_size=4 [16:25:35]MH_SAM_APDU [16:25:35]CAPDU: 80 13 00 00 [16:25:35]Write to MH i2c: E2 08 00 4D 0D 80 13 00 00 00 00 00 00 D6 [16:25:35]Write i2c OK [16:25:35]MH_I2C_Read... [16:25:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:25:35]Read from MH i2c: E2 [16:25:35]MH_I2C_Read... [16:25:35]Read from MH i2c: E2 62 00 [16:25:35]MH_I2C_Read... [16:25:35]Read from MH i2c: E2 62 00 4D 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 1E 5F 00 00 0E 04 04 00 CD 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 D9 [16:25: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 1E 5F 00 00 0E 04 04 00 CD 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 [16:25:35]wFMCommunicate OK [16:25:35]SAM_PROTO_GetFieldsCounters done [16:25:35]requested_item shift.num is exist - process it [16:25:35]requested_item shift.opened is exist - process it [16:25:35]req_shift_opened [16:25:35]FM_GetShiftState [16:25:35]SAM_PROTO_GetShiftState [16:25:35]wFMCommunicate request_size=4 [16:25:35]MH_SAM_APDU [16:25:35]CAPDU: 80 13 01 00 [16:25:35]Write to MH i2c: E2 08 00 4E 0D 80 13 01 00 00 00 00 00 D8 [16:25:35]Write i2c OK [16:25:35]MH_I2C_Read... [16:25:35]Read from MH i2c: E2 [16:25:35]MH_I2C_Read... [16:25:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:35]Read from MH i2c: E2 0E 00 [16:25:35]MH_I2C_Read... [16:25:35]Read from MH i2c: E2 0E 00 4E 0D 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 22 [16:25:35]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [16:25:35]wFMCommunicate OK [16:25:35]SAM_PROTO_GetShiftState done [16:25:35]FM_GetShiftState done [16:25:35]req_shift_opened done [16:25:35]requested_item shift.open_date is exist - process it [16:25:35]req_shift_open_date [16:25:35]req_shift_open_date done [16:25:35]produce_requested_data done [16:25:35]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24350,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [16:25:35]process_action_free close_receipt [16:25:35]json_value_free [16:25:35]json_value_free done [16:25:35]process_json_proto returns [16:25:35]Send response to host [16:25:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24350,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [16:25:35]free response buf [16:25:35]execute_script done [16:25:35]execute_script returns [16:25:35]free content buf [16:25:35]Sock 9.Close socket [16:25:35]Sock 9.Thread stoped [16:25:35]OFD Sender: No OFD packet to send [16:25:40]OFD Sender: No OFD packet to send [16:25:45]OFD Sender: No OFD packet to send [16:25:50]OFD Sender: No OFD packet to send [16:25:55]OFD Sender: No OFD packet to send [16:26:00]OFD Sender: No OFD packet to send [16:26:05]OFD Sender: No OFD packet to send [16:26:10]OFD Sender: No OFD packet to send [16:26:15]OFD Sender: No OFD packet to send [16:26:20]OFD Sender: No OFD packet to send [16:26:25]OFD Sender: No OFD packet to send [16:26:30]OFD Sender: No OFD packet to send [16:26:35]OFD Sender: No OFD packet to send [16:26:40]OFD Sender: No OFD packet to send [16:26:45]OFD Sender: No OFD packet to send [16:26:50]OFD Sender: No OFD packet to send [16:26:55]OFD Sender: No OFD packet to send [16:27:00]OFD Sender: No OFD packet to send [16:27:05]OFD Sender: No OFD packet to send [16:27:10]OFD Sender: No OFD packet to send [16:27:15]OFD Sender: No OFD packet to send [16:27:20]OFD Sender: No OFD packet to send [16:27:25]OFD Sender: No OFD packet to send [16:27:30]OFD Sender: No OFD packet to send [16:27:35]OFD Sender: No OFD packet to send [16:27:40]OFD Sender: No OFD packet to send [16:27:45]OFD Sender: No OFD packet to send [16:27:50]OFD Sender: No OFD packet to send [16:27:55]OFD Sender: No OFD packet to send [16:28:00]OFD Sender: No OFD packet to send [16:28:05]OFD Sender: No OFD packet to send [16:28:10]OFD Sender: No OFD packet to send [16:28:15]OFD Sender: No OFD packet to send [16:28:20]OFD Sender: No OFD packet to send [16:28:25]OFD Sender: No OFD packet to send [16:28:30]OFD Sender: No OFD packet to send [16:28:35]OFD Sender: No OFD packet to send [16:28:40]OFD Sender: No OFD packet to send [16:28:45]OFD Sender: No OFD packet to send [16:28:50]OFD Sender: No OFD packet to send [16:28:52]accept exits with 8 [16:28:52]New connection [16:28:52]New thread 3067084132 created [16:28:52]Thread 3066940772 joined [16:28:52]Waiting for new connection... [16:28:52] Sock 8.Parse request [16:28:52]Sock 8.Check first char [16:28:52]Sock 8.First char is OK [16:28:52]request: POST /json_proto HTTP/1.0 [16:28:52]Method: POST [16:28:52]URL: /json_proto [16:28:52]Method is POST - this is cgi request [16:28:52]url: /json_proto [16:28:52]query_string will be loaded in cgi processing [16:28:52]execute_cgi json_proto POST (null) [16:28:52]execute_cgi path=json_proto method=POST [16:28:52]POST find Content-Length [16:28:52]Host: 172.17.50.4:8080 [16:28:52]Content-Length: 743 [16:28:52]Content-Type: application/json [16:28:52] [16:28:52]POST finish read [16:28:52]Found Content-Length = 743 [16:28:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134872", "tax_sys" : 0, "items" : [ { "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "price" : 155.00, "quantity" : 1.000, "sum" : 155.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" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:28:52]execute_script... [16:28: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)134872", "tax_sys" : 0, "items" : [ { "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "price" : 155.00, "quantity" : 1.000, "sum" : 155.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" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:28:52]POST & json_proto [16:28:52]process_json_proto [16:28:52]json parsed OK: [16:28:52]protocol is kg_v1.0 [16:28:52]action value=close_receipt [16:28:52]process_action close_receipt [16:28:52]cmd_close_receipt [16:28:52]MH_GetDate [16:28:52]Write to MH i2c: F0 00 00 4F 0D 4B [16:28:52]Write i2c OK [16:28:52]MH_I2C_Read... [16:28:52]Read from MH i2c: F0 [16:28:52]MH_I2C_Read... [16:28:52]Read from MH i2c: F0 09 00 [16:28:52]MH_I2C_Read... [16:28:52]Read from MH i2c: F0 09 00 4F 0D 00 46 81 16 67 3B 12 16 67 62 [16:28:52]GetLastDocTimeStamp 1729527934 [16:28:52]current date 1729528134 [16:28:52]FM_GetShiftState [16:28:52]SAM_PROTO_GetShiftState [16:28:52]wFMCommunicate request_size=4 [16:28:52]MH_SAM_APDU [16:28:52]CAPDU: 80 13 01 00 [16:28:52]Write to MH i2c: E2 08 00 50 0D 80 13 01 00 00 00 00 00 DA [16:28:52]Write i2c OK [16:28:52]MH_I2C_Read... [16:28:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:28:52]Read from MH i2c: E2 [16:28:52]MH_I2C_Read... [16:28:52]Read from MH i2c: E2 0E 00 [16:28:52]MH_I2C_Read... [16:28:52]Read from MH i2c: E2 0E 00 50 0D 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 24 [16:28:52]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [16:28:52]wFMCommunicate OK [16:28:52]SAM_PROTO_GetShiftState done [16:28:52]FM_GetShiftState done [16:28:52]opened in 1729469223 [16:28:52]opened+sec_in_day 1729555623 [16:28:52]quantity*price = 15500 [16:28:52]sum+1 = 15501 [16:28:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 155.00 НСП 1% : 1.37 НДС 12% : 16.46 Наличными: 0.00 Безнал.: 155.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 55 21.10.2024 16:28 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24351 ФПД: 264027000004158 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T162854&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24351&fm=264027000004158&tin=02508201610067®Number=0000000000098120&sum=15500 0 [16:28:53]StoreToDocumentArchive [16:28:53]shift 461 fd 24351 [16:28:53]save to /storage/0461/doc_00024351 [16:28:53]save last doc name /storage/0461/doc_00024351 to /storage/kkm_last_doc_name [16:28:53]save OK [16:28:53]Clear old archive folders... [16:28:53]ProcessDocumentItem done err = 0, tmpTLVsize=268 [16:28:53]tlvbuf is 003621C0 [16:28:53]SAM_PROTO_ClearQueue [16:28:53]wFMCommunicate request_size=4 [16:28:53]MH_SAM_APDU [16:28:53]CAPDU: 80 09 00 00 [16:28:53]Write to MH i2c: E2 08 00 5D 0D 80 09 00 00 00 00 00 00 DC [16:28:53]Write i2c OK [16:28:53]MH_I2C_Read... [16:28:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:28:53]Read from MH i2c: E2 [16:28:53]MH_I2C_Read... [16:28:53]Read from MH i2c: E2 03 00 [16:28:53]MH_I2C_Read... [16:28:53]Read from MH i2c: E2 03 00 5D 0D 00 90 00 DE [16:28:53]RAPDU: 90 00 [16:28:53]wFMCommunicate OK [16:28:53]SAM_PROTO_ClearQueue done [16:28:53]KKMCreateOFDPacket [16:28:53]OFDProtocolAddRootSTLVToBuf [16:28:53]FM_MakeSignedData [16:28:53]FM_MakeSignedData [16:28:53]SAM_PROTO_SignData [16:28:53]wFMCommunicate request_size=4 [16:28:53]MH_SAM_APDU [16:28:53]CAPDU: 80 0D 01 02 [16:28:53]Write to MH i2c: E2 08 00 5E 0D 80 0D 01 02 00 00 00 00 E4 [16:28:53]Write i2c OK [16:28:53]MH_I2C_Read... [16:28:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:28:53]Read from MH i2c: E2 [16:28:53]MH_I2C_Read... [16:28:53]Read from MH i2c: E2 03 00 [16:28:53]MH_I2C_Read... [16:28:53]Read from MH i2c: E2 03 00 5E 0D 00 90 00 DF [16:28:53]RAPDU: 90 00 [16:28:53]wFMCommunicate OK [16:28:53]wFMCommunicate request_size=255 [16:28:53]MH_SAM_APDU [16:28:53]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 8C 3C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 46 81 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 [16:28:53]Write to MH i2c: E2 02 01 5F 0D 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 8C 3C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 46 81 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 00 00 4B [16:28:53]Write i2c OK [16:28:53]MH_I2C_Read... [16:28:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:28:53]Read from MH i2c: E2 [16:28:53]MH_I2C_Read... [16:28:53]Read from MH i2c: E2 03 00 [16:28:53]MH_I2C_Read... [16:28:53]Read from MH i2c: E2 03 00 5F 0D 00 90 00 E0 [16:28:53]RAPDU: 90 00 [16:28:53]wFMCommunicate OK [16:28:53]wFMCommunicate request_size=27 [16:28:53]MH_SAM_APDU [16:28:53]CAPDU: 80 0D 02 02 16 35 34 32 30 10 04 04 00 1F 5F 00 00 35 04 06 00 F0 21 93 8B DE 3E [16:28:53]Write to MH i2c: E2 1E 00 60 0D 80 0D 02 02 16 00 35 34 32 30 10 04 04 00 1F 5F 00 00 35 04 06 00 F0 21 93 8B DE 3E 00 00 FE [16:28:53]Write i2c OK [16:28:53]MH_I2C_Read... [16:28:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:28:53]Read from MH i2c: E2 [16:28:53]MH_I2C_Read... [16:28:53]Read from MH i2c: E2 03 00 [16:28:53]MH_I2C_Read... [16:28:53]Read from MH i2c: E2 03 00 60 0D 00 90 00 E1 [16:28:53]RAPDU: 90 00 [16:28:53]wFMCommunicate OK [16:28:53]wFMCommunicate request_size=4 [16:28:53]MH_SAM_APDU [16:28:53]CAPDU: 80 0D 03 02 [16:28:53]Write to MH i2c: E2 08 00 61 0D 80 0D 03 02 00 00 00 00 E9 [16:28:53]Write i2c OK [16:28:53]MH_I2C_Read... [16:28:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:28:53]Read from MH i2c: E2 [16:28:53]MH_I2C_Read... [16:28:53]Read from MH i2c: E2 0B 00 [16:28:53]MH_I2C_Read... [16:28:53]Read from MH i2c: E2 0B 00 61 0D 00 0E F7 0F 51 BF 79 74 6C 90 00 67 [16:28:53]RAPDU: 0E F7 0F 51 BF 79 74 6C 90 00 [16:28:53]wFMCommunicate OK [16:28:53]SAM_PROTO_SignData done [16:28:53]FM_MakeSignedData done [16:28:53]CreateOFDProtocolMessage [16:28:53]wFMCommunicate request_size=4 [16:28:53]MH_SAM_APDU [16:28:53]CAPDU: 80 11 00 00 [16:28:53]Write to MH i2c: E2 08 00 62 0D 80 11 00 00 00 00 00 00 E9 [16:28:53]Write i2c OK [16:28:53]MH_I2C_Read... [16:28:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:28:53]Read from MH i2c: E2 [16:28:53]MH_I2C_Read... [16:28:53]Read from MH i2c: E2 17 00 [16:28:53]MH_I2C_Read... [16:28:53]Read from MH i2c: E2 17 00 62 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 36 [16:28:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [16:28:53]wFMCommunicate OK [16:28:53]CreateOFDProtocolMessage done [16:28:53]OFDSenderStorePacket 24351 [16:28:53]StoreOFDPacket docnum=24351 [16:28:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 20 01 00 00 CD 3C 18 01 C9 22 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 8C 3C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 46 81 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1F 5F 00 00 35 04 06 00 F0 21 93 8B DE 3E 0E F7 0F 51 BF 79 74 6C [16:28:53]CheckFolder [16:28:53]dirname=/storage/ofd_packets [16:28:53]CheckFolder done [16:28:53]ProducePacketName [16:28:53]name=ofd_packets/00024351 [16:28:53]NVStorageSaveData ofd_packets/00024351 [16:28:53]File name is /storage/ofd_packets/00024351 [16:28:53]Write 318 bytes [16:28:53]NVStorageSaveData done [16:28:53]OFDSenderStorePacket done [16:28:53]KKMCreateOFDPacket done [16:28:53]NVStorageSaveData kkm_last_timestamp [16:28:53]File name is /storage/kkm_last_timestamp [16:28:53]Write 4 bytes [16:28:53]NVStorageSaveData done [16:28:53]ExternCall_PrintAddStr [16:28:53]wPrintStart [16:28:53]Write to MH i2c: 01 00 00 63 0D 70 [16:28:53]Write i2c OK [16:28:53]MH_I2C_Read... [16:28:53]Read from MH i2c: 01 [16:28:53]MH_I2C_Read... [16:28:53]Read from MH i2c: 01 07 00 [16:28:53]MH_I2C_Read... [16:28:53]Read from MH i2c: 01 07 00 63 0D 00 00 00 00 00 FF 0F 85 [16:28:53]RasterBufferAndPrint [16:28:53]line Счет N : (3)134872 [16:28:53]line ИНН: 02508201610067 [16:28:53]line Контрольно-Кассовый Чек [16:28:53]line ПРОДАЖА [16:28:53]line Товар: 4640030091584 [16:28:53]line Сигареты Esse Gold [16:28:53]line 1.000 * 155.00 [16:28:53]line = 155.00 [16:28:53]line НДС 12% НСП 1% [16:28:53]line > о реализуемом товаре [16:28:53]line ИТОГО: 155.00 [16:28:53]line НСП 1% : 1.37 [16:28:53]line НДС 12% : 16.46 [16:28:53]line Наличными: 0.00 [16:28:53]line Безнал.: 155.00 [16:28:53]line Место: АЗС № 85 "Партнер Нефть" [16:28:53]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [16:28:53]line СНО: Общий режим [16:28:53]line Чек 55 21.10.2024 16:28 [16:28:53]line Смена: 461 ФФД: 1.0 [16:28:53]line ЗНМ: 0300000166 [16:28:53]line РНМ: 0000000000098120 [16:28:53]line Версия ККМ: 001 [16:28:53]line Платежная система: Mbank [16:28:53]line ФМ: 0000000000965420 [16:28:53]line ФД: 24351 [16:28:53]line ФПД: 264027000004158 [16:28:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T162854&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24351&fm=264027000004158&tin=02508201610067®Number=0000000000098120&sum=15500 [16:28:54]line 0 [16:28:54]OFD Sender: Processing packet 24351 [packets to send 5, broken 4] [16:28:54]ProducePacketName [16:28:54]name=ofd_packets/00024351 [16:28:54]OFD Sender: To server: pG, [16:28:54]CommunicateWithHost lk.salyk.kg:30040 [16:28:54]ConnectInit lk.salyk.kg [16:28:54]written 0, free lines is 4095 [16:28:54]Connected sock=10 [16:28: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 34 32 30 20 01 00 00 CD 3C 18 01 C9 22 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 8C 3C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 46 81 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1F 5F 00 00 35 04 06 00 F0 21 93 8B DE 3E 0E F7 0F 51 BF 79 74 6C [16:28:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 B2 CA 47 00 0A D9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 1F 5F 00 00 F4 03 04 00 EC 2C 16 67 B6 04 01 00 00 D9 F0 F8 15 B3 EA 1F 69 [16:28:54]CommunicateWithHost err = 0 [16:28:54]CheckOFDResponse [16:28:54]1017 (14) - 77093643461234 [16:28:54]1041 (16) - 0000000000965420 [16:28:54]1040 (4) - 24351 [16:28:54]1012 (4) - 21.10.2024 10:29 [16:28:54]1206 (1) - 0 [16:28:54]OFD Sender: Remove packet 24351 [16:28:54]ProducePacketName [16:28:54]name=ofd_packets/00024351 [16:28:54]NVStorageDeleteData [16:28:54]Write to MH i2c: 01 00 00 8C 0D 99 [16:28:54]Write i2c OK [16:28:54]MH_I2C_Read... [16:28:54]Read from MH i2c: 01 [16:28:54]MH_I2C_Read... [16:28:54]Read from MH i2c: 01 07 00 [16:28:54]MH_I2C_Read... [16:28:54]Read from MH i2c: 01 07 00 8C 0D 00 00 00 00 00 1E 0D CB [16:28:54]RasterBufferAndPrint [16:28:54]line [16:28:54]line [16:28:54]line [16:28:54]line [16:28:54]line [16:28:54]written 0, free lines is 3363 [16:28:54]process_action close_receipt done [16:28:54]requested_data is exist [16:28:54]produce_requested_data [16:28:54]requested_item fm.sn is exist - process it [16:28:54]wFMCommunicate request_size=4 [16:28:54]MH_SAM_APDU [16:28:54]CAPDU: 80 11 00 00 [16:28:54]Write to MH i2c: E2 08 00 93 0D 80 11 00 00 00 00 00 00 1A [16:28:54]Write i2c OK [16:28:54]MH_I2C_Read... [16:28:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:28:54]Read from MH i2c: E2 [16:28:54]MH_I2C_Read... [16:28:54]Read from MH i2c: E2 17 00 [16:28:54]MH_I2C_Read... [16:28:54]Read from MH i2c: E2 17 00 93 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 67 [16:28:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [16:28:54]wFMCommunicate OK [16:28:54]requested_item fd.num is exist - process it [16:28:54]SAM_PROTO_GetFieldsCounters [16:28:54]wFMCommunicate request_size=4 [16:28:54]MH_SAM_APDU [16:28:54]CAPDU: 80 13 00 00 [16:28:54]Write to MH i2c: E2 08 00 94 0D 80 13 00 00 00 00 00 00 1D [16:28:54]Write i2c OK [16:28:54]MH_I2C_Read... [16:28:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:28:54]Read from MH i2c: E2 [16:28:54]MH_I2C_Read... [16:28:54]Read from MH i2c: E2 62 00 [16:28:54]MH_I2C_Read... [16:28:54]Read from MH i2c: E2 62 00 94 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 1F 5F 00 00 0E 04 04 00 CD 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 24 [16:28:54]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 1F 5F 00 00 0E 04 04 00 CD 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 [16:28:54]wFMCommunicate OK [16:28:54]SAM_PROTO_GetFieldsCounters done [16:28:54]requested_item shift.num is exist - process it [16:28:54]requested_item shift.opened is exist - process it [16:28:54]req_shift_opened [16:28:54]FM_GetShiftState [16:28:54]SAM_PROTO_GetShiftState [16:28:54]wFMCommunicate request_size=4 [16:28:54]MH_SAM_APDU [16:28:54]CAPDU: 80 13 01 00 [16:28:54]Write to MH i2c: E2 08 00 95 0D 80 13 01 00 00 00 00 00 1F [16:28:54]Write i2c OK [16:28:54]MH_I2C_Read... [16:28:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:28:54]Read from MH i2c: E2 [16:28:54]MH_I2C_Read... [16:28:54]Read from MH i2c: E2 0E 00 [16:28:54]MH_I2C_Read... [16:28:54]Read from MH i2c: E2 0E 00 95 0D 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 69 [16:28:54]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [16:28:54]wFMCommunicate OK [16:28:54]SAM_PROTO_GetShiftState done [16:28:54]FM_GetShiftState done [16:28:54]req_shift_opened done [16:28:54]requested_item shift.open_date is exist - process it [16:28:54]req_shift_open_date [16:28:54]req_shift_open_date done [16:28:54]produce_requested_data done [16:28:54]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24351,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [16:28:54]process_action_free close_receipt [16:28:54]json_value_free [16:28:54]json_value_free done [16:28:54]process_json_proto returns [16:28:54]Send response to host [16:28:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24351,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [16:28:54]free response buf [16:28:54]execute_script done [16:28:54]execute_script returns [16:28:54]free content buf [16:28:54]Sock 8.Close socket [16:28:54]Sock 8.Thread stoped [16:28:54]OFD Sender: No OFD packet to send [16:28:59]OFD Sender: No OFD packet to send [16:29:04]OFD Sender: No OFD packet to send [16:29:09]OFD Sender: No OFD packet to send [16:29:14]OFD Sender: No OFD packet to send [16:29:19]OFD Sender: No OFD packet to send [16:29:24]OFD Sender: No OFD packet to send [16:29:29]OFD Sender: No OFD packet to send [16:29:34]OFD Sender: No OFD packet to send [16:29:39]OFD Sender: No OFD packet to send [16:29:44]OFD Sender: No OFD packet to send [16:29:49]OFD Sender: No OFD packet to send [16:29:54]OFD Sender: No OFD packet to send [16:29:59]OFD Sender: No OFD packet to send [16:30:04]OFD Sender: No OFD packet to send [16:30:09]OFD Sender: No OFD packet to send [16:30:14]OFD Sender: No OFD packet to send [16:30:19]OFD Sender: No OFD packet to send [16:30:24]OFD Sender: No OFD packet to send [16:30:29]OFD Sender: No OFD packet to send [16:30:34]OFD Sender: No OFD packet to send [16:30:39]OFD Sender: No OFD packet to send [16:30:45]OFD Sender: No OFD packet to send [16:30:50]OFD Sender: No OFD packet to send [16:30:55]OFD Sender: No OFD packet to send [16:31:00]OFD Sender: No OFD packet to send [16:31:05]OFD Sender: No OFD packet to send [16:31:10]OFD Sender: No OFD packet to send [16:31:15]OFD Sender: No OFD packet to send [16:31:20]OFD Sender: No OFD packet to send [16:31:25]OFD Sender: No OFD packet to send [16:31:30]OFD Sender: No OFD packet to send [16:31:35]OFD Sender: No OFD packet to send [16:31:40]OFD Sender: No OFD packet to send [16:31:45]OFD Sender: No OFD packet to send [16:31:50]OFD Sender: No OFD packet to send [16:31:55]OFD Sender: No OFD packet to send [16:32:00]OFD Sender: No OFD packet to send [16:32:05]OFD Sender: No OFD packet to send [16:32:10]OFD Sender: No OFD packet to send [16:32:15]OFD Sender: No OFD packet to send [16:32:20]OFD Sender: No OFD packet to send [16:32:25]OFD Sender: No OFD packet to send [16:32:30]OFD Sender: No OFD packet to send [16:32:35]OFD Sender: No OFD packet to send [16:32:40]OFD Sender: No OFD packet to send [16:32:45]OFD Sender: No OFD packet to send [16:32:50]OFD Sender: No OFD packet to send [16:32:55]OFD Sender: No OFD packet to send [16:33:00]OFD Sender: No OFD packet to send [16:33:05]OFD Sender: No OFD packet to send [16:33:10]OFD Sender: No OFD packet to send [16:33:15]OFD Sender: No OFD packet to send [16:33:20]OFD Sender: No OFD packet to send [16:33:25]OFD Sender: No OFD packet to send [16:33:30]OFD Sender: No OFD packet to send [16:33:35]OFD Sender: No OFD packet to send [16:33:40]OFD Sender: No OFD packet to send [16:33:45]OFD Sender: No OFD packet to send [16:33:50]OFD Sender: No OFD packet to send [16:33:55]OFD Sender: No OFD packet to send [16:34:00]OFD Sender: No OFD packet to send [16:34:05]OFD Sender: No OFD packet to send [16:34:10]OFD Sender: No OFD packet to send [16:34:15]OFD Sender: No OFD packet to send [16:34:20]OFD Sender: No OFD packet to send [16:34:25]OFD Sender: No OFD packet to send [16:34:30]OFD Sender: No OFD packet to send [16:34:35]OFD Sender: No OFD packet to send [16:34:40]OFD Sender: No OFD packet to send [16:34:45]OFD Sender: No OFD packet to send [16:34:50]OFD Sender: No OFD packet to send [16:34:55]OFD Sender: No OFD packet to send [16:35:00]OFD Sender: No OFD packet to send [16:35:05]OFD Sender: No OFD packet to send [16:35:10]OFD Sender: No OFD packet to send [16:35:15]OFD Sender: No OFD packet to send [16:35:20]OFD Sender: No OFD packet to send [16:35:25]OFD Sender: No OFD packet to send [16:35:30]OFD Sender: No OFD packet to send [16:35:35]OFD Sender: No OFD packet to send [16:35:40]OFD Sender: No OFD packet to send [16:35:45]OFD Sender: No OFD packet to send [16:35:50]OFD Sender: No OFD packet to send [16:35:55]OFD Sender: No OFD packet to send [16:36:00]OFD Sender: No OFD packet to send [16:36:05]OFD Sender: No OFD packet to send [16:36:10]OFD Sender: No OFD packet to send [16:36:15]OFD Sender: No OFD packet to send [16:36:20]OFD Sender: No OFD packet to send [16:36:25]OFD Sender: No OFD packet to send [16:36:30]OFD Sender: No OFD packet to send [16:36:35]OFD Sender: No OFD packet to send [16:36:40]OFD Sender: No OFD packet to send [16:36:45]OFD Sender: No OFD packet to send [16:36:50]OFD Sender: No OFD packet to send [16:36:55]OFD Sender: No OFD packet to send [16:37:00]OFD Sender: No OFD packet to send [16:37:05]OFD Sender: No OFD packet to send [16:37:10]OFD Sender: No OFD packet to send [16:37:15]OFD Sender: No OFD packet to send [16:37:20]OFD Sender: No OFD packet to send [16:37:25]OFD Sender: No OFD packet to send [16:37:30]OFD Sender: No OFD packet to send [16:37:35]OFD Sender: No OFD packet to send [16:37:40]OFD Sender: No OFD packet to send [16:37:45]OFD Sender: No OFD packet to send [16:37:50]OFD Sender: No OFD packet to send [16:37:55]OFD Sender: No OFD packet to send [16:38:00]OFD Sender: No OFD packet to send [16:38:05]OFD Sender: No OFD packet to send [16:38:10]OFD Sender: No OFD packet to send [16:38:15]OFD Sender: No OFD packet to send [16:38:20]OFD Sender: No OFD packet to send [16:38:25]OFD Sender: No OFD packet to send [16:38:30]OFD Sender: No OFD packet to send [16:38:35]OFD Sender: No OFD packet to send [16:38:40]OFD Sender: No OFD packet to send [16:38:45]OFD Sender: No OFD packet to send [16:38:50]OFD Sender: No OFD packet to send [16:38:55]OFD Sender: No OFD packet to send [16:39:00]OFD Sender: No OFD packet to send [16:39:05]OFD Sender: No OFD packet to send [16:39:10]OFD Sender: No OFD packet to send [16:39:15]OFD Sender: No OFD packet to send [16:39:20]OFD Sender: No OFD packet to send [16:39:25]OFD Sender: No OFD packet to send [16:39:30]OFD Sender: No OFD packet to send [16:39:35]OFD Sender: No OFD packet to send [16:39:40]OFD Sender: No OFD packet to send [16:39:45]OFD Sender: No OFD packet to send [16:39:50]OFD Sender: No OFD packet to send [16:39:55]OFD Sender: No OFD packet to send [16:40:00]OFD Sender: No OFD packet to send [16:40:05]OFD Sender: No OFD packet to send [16:40:10]OFD Sender: No OFD packet to send [16:40:15]OFD Sender: No OFD packet to send [16:40:20]OFD Sender: No OFD packet to send [16:40:25]OFD Sender: No OFD packet to send [16:40:30]OFD Sender: No OFD packet to send [16:40:35]OFD Sender: No OFD packet to send [16:40:40]OFD Sender: No OFD packet to send [16:40:45]OFD Sender: No OFD packet to send [16:40:50]OFD Sender: No OFD packet to send [16:40:55]OFD Sender: No OFD packet to send [16:41:00]OFD Sender: No OFD packet to send [16:41:05]OFD Sender: No OFD packet to send [16:41:10]OFD Sender: No OFD packet to send [16:41:15]OFD Sender: No OFD packet to send [16:41:20]OFD Sender: No OFD packet to send [16:41:25]OFD Sender: No OFD packet to send [16:41:30]OFD Sender: No OFD packet to send [16:41:35]OFD Sender: No OFD packet to send [16:41:40]OFD Sender: No OFD packet to send [16:41:45]OFD Sender: No OFD packet to send [16:41:50]OFD Sender: No OFD packet to send [16:41:55]OFD Sender: No OFD packet to send [16:42:00]OFD Sender: No OFD packet to send [16:42:05]OFD Sender: No OFD packet to send [16:42:10]OFD Sender: No OFD packet to send [16:42:15]OFD Sender: No OFD packet to send [16:42:20]OFD Sender: No OFD packet to send [16:42:25]OFD Sender: No OFD packet to send [16:42:30]OFD Sender: No OFD packet to send [16:42:35]OFD Sender: No OFD packet to send [16:42:40]OFD Sender: No OFD packet to send [16:42:45]OFD Sender: No OFD packet to send [16:42:50]OFD Sender: No OFD packet to send [16:42:55]OFD Sender: No OFD packet to send [16:43:00]OFD Sender: No OFD packet to send [16:43:05]OFD Sender: No OFD packet to send [16:43:10]OFD Sender: No OFD packet to send [16:43:15]OFD Sender: No OFD packet to send [16:43:20]OFD Sender: No OFD packet to send [16:43:25]OFD Sender: No OFD packet to send [16:43:30]OFD Sender: No OFD packet to send [16:43:35]OFD Sender: No OFD packet to send [16:43:40]OFD Sender: No OFD packet to send [16:43:45]OFD Sender: No OFD packet to send [16:43:50]OFD Sender: No OFD packet to send [16:43:55]OFD Sender: No OFD packet to send [16:44:00]OFD Sender: No OFD packet to send [16:44:05]OFD Sender: No OFD packet to send [16:44:10]OFD Sender: No OFD packet to send [16:44:15]OFD Sender: No OFD packet to send [16:44:20]OFD Sender: No OFD packet to send [16:44:25]OFD Sender: No OFD packet to send [16:44:30]OFD Sender: No OFD packet to send [16:44:35]OFD Sender: No OFD packet to send [16:44:40]OFD Sender: No OFD packet to send [16:44:45]OFD Sender: No OFD packet to send [16:44:50]OFD Sender: No OFD packet to send [16:44:55]OFD Sender: No OFD packet to send [16:45:00]OFD Sender: No OFD packet to send [16:45:05]OFD Sender: No OFD packet to send [16:45:10]OFD Sender: No OFD packet to send [16:45:15]OFD Sender: No OFD packet to send [16:45:20]OFD Sender: No OFD packet to send [16:45:25]OFD Sender: No OFD packet to send [16:45:30]OFD Sender: No OFD packet to send [16:45:35]OFD Sender: No OFD packet to send [16:45:40]OFD Sender: No OFD packet to send [16:45:45]OFD Sender: No OFD packet to send [16:45:50]OFD Sender: No OFD packet to send [16:45:55]OFD Sender: No OFD packet to send [16:46:00]OFD Sender: No OFD packet to send [16:46:05]OFD Sender: No OFD packet to send [16:46:10]OFD Sender: No OFD packet to send [16:46:15]OFD Sender: No OFD packet to send [16:46:20]OFD Sender: No OFD packet to send [16:46:25]OFD Sender: No OFD packet to send [16:46:30]OFD Sender: No OFD packet to send [16:46:35]OFD Sender: No OFD packet to send [16:46:40]OFD Sender: No OFD packet to send [16:46:45]OFD Sender: No OFD packet to send [16:46:50]OFD Sender: No OFD packet to send [16:46:55]OFD Sender: No OFD packet to send [16:47:00]OFD Sender: No OFD packet to send [16:47:05]OFD Sender: No OFD packet to send [16:47:10]OFD Sender: No OFD packet to send [16:47:15]OFD Sender: No OFD packet to send [16:47:20]OFD Sender: No OFD packet to send [16:47:25]OFD Sender: No OFD packet to send [16:47:30]OFD Sender: No OFD packet to send [16:47:35]OFD Sender: No OFD packet to send [16:47:40]OFD Sender: No OFD packet to send [16:47:45]OFD Sender: No OFD packet to send [16:47:50]OFD Sender: No OFD packet to send [16:47:55]OFD Sender: No OFD packet to send [16:48:00]OFD Sender: No OFD packet to send [16:48:05]OFD Sender: No OFD packet to send [16:48:10]OFD Sender: No OFD packet to send [16:48:15]OFD Sender: No OFD packet to send [16:48:20]OFD Sender: No OFD packet to send [16:48:25]OFD Sender: No OFD packet to send [16:48:30]OFD Sender: No OFD packet to send [16:48:35]OFD Sender: No OFD packet to send [16:48:40]OFD Sender: No OFD packet to send [16:48:45]OFD Sender: No OFD packet to send [16:48:50]OFD Sender: No OFD packet to send [16:48:55]OFD Sender: No OFD packet to send [16:49:00]OFD Sender: No OFD packet to send [16:49:05]OFD Sender: No OFD packet to send [16:49:10]OFD Sender: No OFD packet to send [16:49:15]OFD Sender: No OFD packet to send [16:49:20]OFD Sender: No OFD packet to send [16:49:25]OFD Sender: No OFD packet to send [16:49:30]OFD Sender: No OFD packet to send [16:49:35]OFD Sender: No OFD packet to send [16:49:40]OFD Sender: No OFD packet to send [16:49:45]OFD Sender: No OFD packet to send [16:49:50]OFD Sender: No OFD packet to send [16:49:55]OFD Sender: No OFD packet to send [16:50:00]OFD Sender: No OFD packet to send [16:50:05]OFD Sender: No OFD packet to send [16:50:10]OFD Sender: No OFD packet to send [16:50:15]OFD Sender: No OFD packet to send [16:50:20]OFD Sender: No OFD packet to send [16:50:25]OFD Sender: No OFD packet to send [16:50:30]OFD Sender: No OFD packet to send [16:50:35]OFD Sender: No OFD packet to send [16:50:40]OFD Sender: No OFD packet to send [16:50:45]OFD Sender: No OFD packet to send [16:50:50]OFD Sender: No OFD packet to send [16:50:55]OFD Sender: No OFD packet to send [16:51:00]OFD Sender: No OFD packet to send [16:51:05]OFD Sender: No OFD packet to send [16:51:10]OFD Sender: No OFD packet to send [16:51:15]OFD Sender: No OFD packet to send [16:51:20]OFD Sender: No OFD packet to send [16:51:25]OFD Sender: No OFD packet to send [16:51:30]OFD Sender: No OFD packet to send [16:51:35]OFD Sender: No OFD packet to send [16:51:40]OFD Sender: No OFD packet to send [16:51:45]OFD Sender: No OFD packet to send [16:51:50]OFD Sender: No OFD packet to send [16:51:55]OFD Sender: No OFD packet to send [16:52:00]OFD Sender: No OFD packet to send [16:52:05]OFD Sender: No OFD packet to send [16:52:10]OFD Sender: No OFD packet to send [16:52:15]OFD Sender: No OFD packet to send [16:52:21]OFD Sender: No OFD packet to send [16:52:26]OFD Sender: No OFD packet to send [16:52:31]OFD Sender: No OFD packet to send [16:52:36]OFD Sender: No OFD packet to send [16:52:41]OFD Sender: No OFD packet to send [16:52:46]OFD Sender: No OFD packet to send [16:52:51]OFD Sender: No OFD packet to send [16:52:56]OFD Sender: No OFD packet to send [16:53:01]OFD Sender: No OFD packet to send [16:53:06]OFD Sender: No OFD packet to send [16:53:11]OFD Sender: No OFD packet to send [16:53:16]OFD Sender: No OFD packet to send [16:53:21]OFD Sender: No OFD packet to send [16:53:26]OFD Sender: No OFD packet to send [16:53:31]OFD Sender: No OFD packet to send [16:53:36]OFD Sender: No OFD packet to send [16:53:41]OFD Sender: No OFD packet to send [16:53:46]OFD Sender: No OFD packet to send [16:53:51]OFD Sender: No OFD packet to send [16:53:56]OFD Sender: No OFD packet to send [16:54:01]OFD Sender: No OFD packet to send [16:54:06]OFD Sender: No OFD packet to send [16:54:11]OFD Sender: No OFD packet to send [16:54:16]OFD Sender: No OFD packet to send [16:54:21]OFD Sender: No OFD packet to send [16:54:26]OFD Sender: No OFD packet to send [16:54:31]OFD Sender: No OFD packet to send [16:54:36]OFD Sender: No OFD packet to send [16:54:41]OFD Sender: No OFD packet to send [16:54:46]OFD Sender: No OFD packet to send [16:54:51]OFD Sender: No OFD packet to send [16:54:56]OFD Sender: No OFD packet to send [16:55:01]OFD Sender: No OFD packet to send [16:55:06]OFD Sender: No OFD packet to send [16:55:11]OFD Sender: No OFD packet to send [16:55:16]OFD Sender: No OFD packet to send [16:55:21]OFD Sender: No OFD packet to send [16:55:26]OFD Sender: No OFD packet to send [16:55:31]OFD Sender: No OFD packet to send [16:55:36]OFD Sender: No OFD packet to send [16:55:41]OFD Sender: No OFD packet to send [16:55:46]OFD Sender: No OFD packet to send [16:55:51]OFD Sender: No OFD packet to send [16:55:56]OFD Sender: No OFD packet to send [16:56:01]OFD Sender: No OFD packet to send [16:56:06]OFD Sender: No OFD packet to send [16:56:11]OFD Sender: No OFD packet to send [16:56:16]OFD Sender: No OFD packet to send [16:56:21]OFD Sender: No OFD packet to send [16:56:26]OFD Sender: No OFD packet to send [16:56:31]OFD Sender: No OFD packet to send [16:56:36]OFD Sender: No OFD packet to send [16:56:41]OFD Sender: No OFD packet to send [16:56:46]OFD Sender: No OFD packet to send [16:56:51]OFD Sender: No OFD packet to send [16:56:56]OFD Sender: No OFD packet to send [16:57:01]OFD Sender: No OFD packet to send [16:57:06]OFD Sender: No OFD packet to send [16:57:11]OFD Sender: No OFD packet to send [16:57:16]OFD Sender: No OFD packet to send [16:57:21]OFD Sender: No OFD packet to send [16:57:26]OFD Sender: No OFD packet to send [16:57:31]OFD Sender: No OFD packet to send [16:57:36]OFD Sender: No OFD packet to send [16:57:41]OFD Sender: No OFD packet to send [16:57:46]OFD Sender: No OFD packet to send [16:57:51]OFD Sender: No OFD packet to send [16:57:56]OFD Sender: No OFD packet to send [16:58:01]OFD Sender: No OFD packet to send [16:58:06]OFD Sender: No OFD packet to send [16:58:11]OFD Sender: No OFD packet to send [16:58:16]OFD Sender: No OFD packet to send [16:58:21]OFD Sender: No OFD packet to send [16:58:26]OFD Sender: No OFD packet to send [16:58:31]OFD Sender: No OFD packet to send [16:58:36]OFD Sender: No OFD packet to send [16:58:41]OFD Sender: No OFD packet to send [16:58:46]OFD Sender: No OFD packet to send [16:58:51]OFD Sender: No OFD packet to send [16:58:56]OFD Sender: No OFD packet to send [16:59:01]OFD Sender: No OFD packet to send [16:59:06]OFD Sender: No OFD packet to send [16:59:11]OFD Sender: No OFD packet to send [16:59:16]OFD Sender: No OFD packet to send [16:59:21]OFD Sender: No OFD packet to send [16:59:26]OFD Sender: No OFD packet to send [16:59:31]OFD Sender: No OFD packet to send [16:59:36]OFD Sender: No OFD packet to send [16:59:41]OFD Sender: No OFD packet to send [16:59:46]OFD Sender: No OFD packet to send [16:59:51]OFD Sender: No OFD packet to send [16:59:56]OFD Sender: No OFD packet to send [17:00:01]OFD Sender: No OFD packet to send [17:00:06]OFD Sender: No OFD packet to send [17:00:11]OFD Sender: No OFD packet to send [17:00:16]OFD Sender: No OFD packet to send [17:00:21]OFD Sender: No OFD packet to send [17:00:26]OFD Sender: No OFD packet to send [17:00:31]OFD Sender: No OFD packet to send [17:00:36]OFD Sender: No OFD packet to send [17:00:41]OFD Sender: No OFD packet to send [17:00:46]OFD Sender: No OFD packet to send [17:00:51]OFD Sender: No OFD packet to send [17:00:56]OFD Sender: No OFD packet to send [17:01:01]OFD Sender: No OFD packet to send [17:01:06]OFD Sender: No OFD packet to send [17:01:11]OFD Sender: No OFD packet to send [17:01:16]OFD Sender: No OFD packet to send [17:01:21]OFD Sender: No OFD packet to send [17:01:26]OFD Sender: No OFD packet to send [17:01:31]OFD Sender: No OFD packet to send [17:01:36]OFD Sender: No OFD packet to send [17:01:41]OFD Sender: No OFD packet to send [17:01:46]OFD Sender: No OFD packet to send [17:01:51]OFD Sender: No OFD packet to send [17:01:56]OFD Sender: No OFD packet to send [17:02:01]OFD Sender: No OFD packet to send [17:02:06]OFD Sender: No OFD packet to send [17:02:11]OFD Sender: No OFD packet to send [17:02:16]OFD Sender: No OFD packet to send [17:02:21]OFD Sender: No OFD packet to send [17:02:26]OFD Sender: No OFD packet to send [17:02:31]OFD Sender: No OFD packet to send [17:02:36]OFD Sender: No OFD packet to send [17:02:41]OFD Sender: No OFD packet to send [17:02:46]OFD Sender: No OFD packet to send [17:02:51]OFD Sender: No OFD packet to send [17:02:56]OFD Sender: No OFD packet to send [17:03:01]OFD Sender: No OFD packet to send [17:03:06]OFD Sender: No OFD packet to send [17:03:11]OFD Sender: No OFD packet to send [17:03:16]OFD Sender: No OFD packet to send [17:03:21]OFD Sender: No OFD packet to send [17:03:26]OFD Sender: No OFD packet to send [17:03:31]OFD Sender: No OFD packet to send [17:03:36]OFD Sender: No OFD packet to send [17:03:41]OFD Sender: No OFD packet to send [17:03:46]OFD Sender: No OFD packet to send [17:03:51]OFD Sender: No OFD packet to send [17:03:56]OFD Sender: No OFD packet to send [17:04:01]OFD Sender: No OFD packet to send [17:04:06]OFD Sender: No OFD packet to send [17:04:11]OFD Sender: No OFD packet to send [17:04:16]OFD Sender: No OFD packet to send [17:04:21]OFD Sender: No OFD packet to send [17:04:26]OFD Sender: No OFD packet to send [17:04:31]OFD Sender: No OFD packet to send [17:04:36]OFD Sender: No OFD packet to send [17:04:41]OFD Sender: No OFD packet to send [17:04:46]OFD Sender: No OFD packet to send [17:04:51]OFD Sender: No OFD packet to send [17:04:56]OFD Sender: No OFD packet to send [17:05:01]OFD Sender: No OFD packet to send [17:05:06]OFD Sender: No OFD packet to send [17:05:11]OFD Sender: No OFD packet to send [17:05:16]OFD Sender: No OFD packet to send [17:05:21]OFD Sender: No OFD packet to send [17:05:26]OFD Sender: No OFD packet to send [17:05:31]OFD Sender: No OFD packet to send [17:05:36]OFD Sender: No OFD packet to send [17:05:41]OFD Sender: No OFD packet to send [17:05:46]OFD Sender: No OFD packet to send [17:05:51]OFD Sender: No OFD packet to send [17:05:56]OFD Sender: No OFD packet to send [17:06:01]OFD Sender: No OFD packet to send [17:06:06]OFD Sender: No OFD packet to send [17:06:11]OFD Sender: No OFD packet to send [17:06:16]OFD Sender: No OFD packet to send [17:06:21]OFD Sender: No OFD packet to send [17:06:26]accept exits with 9 [17:06:26]New connection [17:06:26]New thread 3066940772 created [17:06:26]Thread 3067084132 joined [17:06:26]Waiting for new connection... [17:06:26] Sock 9.Parse request [17:06:26]Sock 9.Check first char [17:06:26]Sock 9.First char is OK [17:06:26]request: POST /json_proto HTTP/1.0 [17:06:26]Method: POST [17:06:26]URL: /json_proto [17:06:26]Method is POST - this is cgi request [17:06:26]url: /json_proto [17:06:26]query_string will be loaded in cgi processing [17:06:26]execute_cgi json_proto POST (null) [17:06:26]execute_cgi path=json_proto method=POST [17:06:26]POST find Content-Length [17:06:26]Host: 172.17.50.4:8080 [17:06:26]Content-Length: 911 [17:06:26]Content-Type: application/json [17:06:26] [17:06:26]POST finish read [17:06:26]Found Content-Length = 911 [17:06:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134873", "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 }]} ,{ "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 2.000, "sum" : 300.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 420.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:06:26]execute_script... [17:06:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134873", "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 }]} ,{ "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 2.000, "sum" : 300.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 420.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:06:26]POST & json_proto [17:06:26]process_json_proto [17:06:26]json parsed OK: [17:06:26]protocol is kg_v1.0 [17:06:26]action value=close_receipt [17:06:26]process_action close_receipt [17:06:26]cmd_close_receipt [17:06:26]MH_GetDate [17:06:26]Write to MH i2c: F0 00 00 96 0D 92 [17:06:26]Write i2c OK [17:06:26]MH_I2C_Read... [17:06:26]Read from MH i2c: F0 [17:06:26]MH_I2C_Read... [17:06:26]Read from MH i2c: F0 09 00 [17:06:26]MH_I2C_Read... [17:06:26]Read from MH i2c: F0 09 00 96 0D 00 14 8A 16 67 3B 12 16 67 80 [17:06:26]GetLastDocTimeStamp 1729528134 [17:06:26]current date 1729530388 [17:06:26]FM_GetShiftState [17:06:26]SAM_PROTO_GetShiftState [17:06:26]wFMCommunicate request_size=4 [17:06:26]MH_SAM_APDU [17:06:26]CAPDU: 80 13 01 00 [17:06:26]Write to MH i2c: E2 08 00 97 0D 80 13 01 00 00 00 00 00 21 [17:06:26]Write i2c OK [17:06:26]MH_I2C_Read... [17:06:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:06:26]Read from MH i2c: E2 [17:06:26]MH_I2C_Read... [17:06:26]Read from MH i2c: E2 0E 00 [17:06:26]MH_I2C_Read... [17:06:26]Read from MH i2c: E2 0E 00 97 0D 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 6B [17:06:26]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [17:06:26]wFMCommunicate OK [17:06:26]SAM_PROTO_GetShiftState done [17:06:26]FM_GetShiftState done [17:06:26]opened in 1729469223 [17:06:26]opened+sec_in_day 1729555623 [17:06:26]quantity*price = 12000 [17:06:26]sum+1 = 12001 [17:06:26]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4640030091607 Сигареты ESSE Exchange 2.000 * 150.00 = 300.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 420.00 НСП 1% : 3.71 НДС 12% : 44.60 Наличными: 420.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 56 21.10.2024 17:06 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24352 ФПД: 225887745575914 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T170628&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24352&fm=225887745575914&tin=02508201610067®Number=0000000000098120&sum=42000 0 [17:06:27]StoreToDocumentArchive [17:06:27]shift 461 fd 24352 [17:06:27]save to /storage/0461/doc_00024352 [17:06:27]save last doc name /storage/0461/doc_00024352 to /storage/kkm_last_doc_name [17:06:27]save OK [17:06:27]Clear old archive folders... [17:06:27]ProcessDocumentItem done err = 0, tmpTLVsize=389 [17:06:27]tlvbuf is 002EC5B0 [17:06:27]SAM_PROTO_ClearQueue [17:06:27]wFMCommunicate request_size=4 [17:06:27]MH_SAM_APDU [17:06:27]CAPDU: 80 09 00 00 [17:06:27]Write to MH i2c: E2 08 00 A4 0D 80 09 00 00 00 00 00 00 23 [17:06:27]Write i2c OK [17:06:27]MH_I2C_Read... [17:06:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:06:27]Read from MH i2c: E2 [17:06:27]MH_I2C_Read... [17:06:27]Read from MH i2c: E2 03 00 [17:06:27]MH_I2C_Read... [17:06:27]Read from MH i2c: E2 03 00 A4 0D 00 90 00 25 [17:06:27]RAPDU: 90 00 [17:06:27]wFMCommunicate OK [17:06:27]SAM_PROTO_ClearQueue done [17:06:27]KKMCreateOFDPacket [17:06:27]OFDProtocolAddRootSTLVToBuf [17:06:27]FM_MakeSignedData [17:06:27]FM_MakeSignedData [17:06:27]SAM_PROTO_SignData [17:06:27]wFMCommunicate request_size=4 [17:06:27]MH_SAM_APDU [17:06:27]CAPDU: 80 0D 01 02 [17:06:27]Write to MH i2c: E2 08 00 A5 0D 80 0D 01 02 00 00 00 00 2B [17:06:27]Write i2c OK [17:06:27]MH_I2C_Read... [17:06:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:06:27]Read from MH i2c: E2 [17:06:27]MH_I2C_Read... [17:06:27]Read from MH i2c: E2 03 00 [17:06:27]MH_I2C_Read... [17:06:27]Read from MH i2c: E2 03 00 A5 0D 00 90 00 26 [17:06:27]RAPDU: 90 00 [17:06:27]wFMCommunicate OK [17:06:27]wFMCommunicate request_size=255 [17:06:27]MH_SAM_APDU [17:06:27]CAPDU: 80 0D 02 02 FA 03 00 85 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 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 30 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 [17:06:27]Write to MH i2c: E2 02 01 A6 0D 80 0D 02 02 FA 00 03 00 85 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 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 30 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 00 37 [17:06:27]Write i2c OK [17:06:27]MH_I2C_Read... [17:06:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:06:27]Read from MH i2c: E2 [17:06:27]MH_I2C_Read... [17:06:27]Read from MH i2c: E2 03 00 [17:06:27]MH_I2C_Read... [17:06:27]Read from MH i2c: E2 03 00 A6 0D 00 90 00 27 [17:06:27]RAPDU: 90 00 [17:06:27]wFMCommunicate OK [17:06:27]wFMCommunicate request_size=148 [17:06:27]MH_SAM_APDU [17:06:27]CAPDU: 80 0D 02 02 8F 01 F7 03 06 00 73 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 11 00 00 00 00 07 04 06 00 10 A4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 14 8A 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 20 5F 00 00 35 04 06 00 CD 71 96 D5 8B EA [17:06:27]Write to MH i2c: E2 97 00 A7 0D 80 0D 02 02 8F 00 01 F7 03 06 00 73 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 11 00 00 00 00 07 04 06 00 10 A4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 14 8A 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 20 5F 00 00 35 04 06 00 CD 71 96 D5 8B EA 00 00 D2 [17:06:27]Write i2c OK [17:06:27]MH_I2C_Read... [17:06:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:06:28]Read from MH i2c: E2 [17:06:28]MH_I2C_Read... [17:06:28]Read from MH i2c: E2 03 00 [17:06:28]MH_I2C_Read... [17:06:28]Read from MH i2c: E2 03 00 A7 0D 00 90 00 28 [17:06:28]RAPDU: 90 00 [17:06:28]wFMCommunicate OK [17:06:28]wFMCommunicate request_size=4 [17:06:28]MH_SAM_APDU [17:06:28]CAPDU: 80 0D 03 02 [17:06:28]Write to MH i2c: E2 08 00 A8 0D 80 0D 03 02 00 00 00 00 30 [17:06:28]Write i2c OK [17:06:28]MH_I2C_Read... [17:06:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:06:28]Read from MH i2c: E2 [17:06:28]MH_I2C_Read... [17:06:28]Read from MH i2c: E2 0B 00 [17:06:28]MH_I2C_Read... [17:06:28]Read from MH i2c: E2 0B 00 A8 0D 00 6D 28 38 F8 25 18 A8 EA 90 00 C5 [17:06:28]RAPDU: 6D 28 38 F8 25 18 A8 EA 90 00 [17:06:28]wFMCommunicate OK [17:06:28]SAM_PROTO_SignData done [17:06:28]FM_MakeSignedData done [17:06:28]CreateOFDProtocolMessage [17:06:28]wFMCommunicate request_size=4 [17:06:28]MH_SAM_APDU [17:06:28]CAPDU: 80 11 00 00 [17:06:28]Write to MH i2c: E2 08 00 A9 0D 80 11 00 00 00 00 00 00 30 [17:06:28]Write i2c OK [17:06:28]MH_I2C_Read... [17:06:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:06:28]Read from MH i2c: E2 [17:06:28]MH_I2C_Read... [17:06:28]Read from MH i2c: E2 17 00 [17:06:28]MH_I2C_Read... [17:06:28]Read from MH i2c: E2 17 00 A9 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 7D [17:06:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:06:28]wFMCommunicate OK [17:06:28]CreateOFDProtocolMessage done [17:06:28]OFDSenderStorePacket 24352 [17:06:28]StoreOFDPacket docnum=24352 [17:06:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 99 01 00 00 40 8A 91 01 A6 0C 5A 03 01 00 03 00 85 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 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 30 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 11 00 00 00 00 07 04 06 00 10 A4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 14 8A 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 20 5F 00 00 35 04 06 00 CD 71 96 D5 8B EA 6D 28 38 F8 25 18 A8 EA [17:06:28]CheckFolder [17:06:28]dirname=/storage/ofd_packets [17:06:28]CheckFolder done [17:06:28]ProducePacketName [17:06:28]name=ofd_packets/00024352 [17:06:28]NVStorageSaveData ofd_packets/00024352 [17:06:28]File name is /storage/ofd_packets/00024352 [17:06:28]Write 439 bytes [17:06:28]NVStorageSaveData done [17:06:28]OFDSenderStorePacket done [17:06:28]KKMCreateOFDPacket done [17:06:28]NVStorageSaveData kkm_last_timestamp [17:06:28]File name is /storage/kkm_last_timestamp [17:06:28]Write 4 bytes [17:06:28]NVStorageSaveData done [17:06:28]ExternCall_PrintAddStr [17:06:28]wPrintStart [17:06:28]Write to MH i2c: 01 00 00 AA 0D B7 [17:06:28]Write i2c OK [17:06:28]MH_I2C_Read... [17:06:28]Read from MH i2c: 01 [17:06:28]MH_I2C_Read... [17:06:28]Read from MH i2c: 01 07 00 [17:06:28]MH_I2C_Read... [17:06:28]Read from MH i2c: 01 07 00 AA 0D 00 00 00 00 00 FF 0F CC [17:06:28]RasterBufferAndPrint [17:06:28]line Счет N : (3)134873 [17:06:28]line ИНН: 02508201610067 [17:06:28]line Контрольно-Кассовый Чек [17:06:28]line ПРОДАЖА [17:06:28]line Товар: 5449000189332 [17:06:28]line Холодный чай Fuse персик 1л [17:06:28]line 1.000 * 120.00 [17:06:28]line = 120.00 [17:06:28]line НДС 12% НСП 1% [17:06:28]line > о реализуемом товаре [17:06:28]line Товар: 4640030091607 [17:06:28]line Сигареты ESSE Exchange [17:06:28]line 2.000 * 150.00 [17:06:28]line = 300.00 [17:06:28]line НДС 12% НСП 1% [17:06:28]line > о реализуемом товаре [17:06:28]line ИТОГО: 420.00 [17:06:28]line НСП 1% : 3.71 [17:06:28]line НДС 12% : 44.60 [17:06:28]line Наличными: 420.00 [17:06:28]line Безнал.: 0.00 [17:06:28]line Место: АЗС № 85 "Партнер Нефть" [17:06:28]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [17:06:28]line СНО: Общий режим [17:06:28]line Чек 56 21.10.2024 17:06 [17:06:28]line Смена: 461 ФФД: 1.0 [17:06:28]line ЗНМ: 0300000166 [17:06:28]line РНМ: 0000000000098120 [17:06:28]line Версия ККМ: 001 [17:06:28]line ФМ: 0000000000965420 [17:06:28]line ФД: 24352 [17:06:28]line ФПД: 225887745575914 [17:06:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T170628&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24352&fm=225887745575914&tin=02508201610067®Number=0000000000098120&sum=42000 [17:06:28]line 0 [17:06:28]OFD Sender: Processing packet 24352 [packets to send 5, broken 4] [17:06:28]ProducePacketName [17:06:28]name=ofd_packets/00024352 [17:06:28]OFD Sender: To server: pG, [17:06:28]CommunicateWithHost lk.salyk.kg:30040 [17:06:28]ConnectInit lk.salyk.kg [17:06:28]written 0, free lines is 4095 [17:06:28]Connected sock=10 [17:06: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 34 32 30 99 01 00 00 40 8A 91 01 A6 0C 5A 03 01 00 03 00 85 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 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 30 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 11 00 00 00 00 07 04 06 00 10 A4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 14 8A 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 20 5F 00 00 35 04 06 00 CD 71 96 D5 8B EA 6D 28 38 F8 25 18 A8 EA [17:06:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 A2 7A 47 00 B1 B1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 20 5F 00 00 F4 03 04 00 BA 35 16 67 B6 04 01 00 00 64 4C FC F7 E3 86 86 F0 [17:06:28]CommunicateWithHost err = 0 [17:06:28]CheckOFDResponse [17:06:28]1017 (14) - 77093643461234 [17:06:28]1041 (16) - 0000000000965420 [17:06:28]1040 (4) - 24352 [17:06:28]1012 (4) - 21.10.2024 11:06 [17:06:28]1206 (1) - 0 [17:06:28]OFD Sender: Remove packet 24352 [17:06:28]ProducePacketName [17:06:28]name=ofd_packets/00024352 [17:06:28]NVStorageDeleteData [17:06:28]Write to MH i2c: 01 00 00 D8 0D E5 [17:06:28]Write i2c OK [17:06:28]MH_I2C_Read... [17:06:28]Read from MH i2c: 01 [17:06:28]MH_I2C_Read... [17:06:28]Read from MH i2c: 01 07 00 [17:06:28]MH_I2C_Read... [17:06:28]Read from MH i2c: 01 07 00 D8 0D 00 00 00 00 00 DB 0C D3 [17:06:28]RasterBufferAndPrint [17:06:28]line [17:06:28]line [17:06:28]line [17:06:28]line [17:06:28]line [17:06:28]written 0, free lines is 3300 [17:06:28]process_action close_receipt done [17:06:28]requested_data is exist [17:06:28]produce_requested_data [17:06:28]requested_item fm.sn is exist - process it [17:06:28]wFMCommunicate request_size=4 [17:06:28]MH_SAM_APDU [17:06:28]CAPDU: 80 11 00 00 [17:06:28]Write to MH i2c: E2 08 00 DF 0D 80 11 00 00 00 00 00 00 66 [17:06:28]Write i2c OK [17:06:28]MH_I2C_Read... [17:06:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:06:29]Read from MH i2c: E2 [17:06:29]MH_I2C_Read... [17:06:29]Read from MH i2c: E2 17 00 [17:06:29]MH_I2C_Read... [17:06:29]Read from MH i2c: E2 17 00 DF 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 B3 [17:06:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:06:29]wFMCommunicate OK [17:06:29]requested_item fd.num is exist - process it [17:06:29]SAM_PROTO_GetFieldsCounters [17:06:29]wFMCommunicate request_size=4 [17:06:29]MH_SAM_APDU [17:06:29]CAPDU: 80 13 00 00 [17:06:29]Write to MH i2c: E2 08 00 E0 0D 80 13 00 00 00 00 00 00 69 [17:06:29]Write i2c OK [17:06:29]MH_I2C_Read... [17:06:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:06:29]Read from MH i2c: E2 [17:06:29]MH_I2C_Read... [17:06:29]Read from MH i2c: E2 62 00 [17:06:29]MH_I2C_Read... [17:06:29]Read from MH i2c: E2 62 00 E0 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 20 5F 00 00 0E 04 04 00 CD 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 74 [17:06: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 20 5F 00 00 0E 04 04 00 CD 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 [17:06:29]wFMCommunicate OK [17:06:29]SAM_PROTO_GetFieldsCounters done [17:06:29]requested_item shift.num is exist - process it [17:06:29]requested_item shift.opened is exist - process it [17:06:29]req_shift_opened [17:06:29]FM_GetShiftState [17:06:29]SAM_PROTO_GetShiftState [17:06:29]wFMCommunicate request_size=4 [17:06:29]MH_SAM_APDU [17:06:29]CAPDU: 80 13 01 00 [17:06:29]Write to MH i2c: E2 08 00 E1 0D 80 13 01 00 00 00 00 00 6B [17:06:29]Write i2c OK [17:06:29]MH_I2C_Read... [17:06:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:06:29]Read from MH i2c: E2 [17:06:29]MH_I2C_Read... [17:06:29]Read from MH i2c: E2 0E 00 [17:06:29]MH_I2C_Read... [17:06:29]Read from MH i2c: E2 0E 00 E1 0D 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 B5 [17:06:29]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [17:06:29]wFMCommunicate OK [17:06:29]SAM_PROTO_GetShiftState done [17:06:29]FM_GetShiftState done [17:06:29]req_shift_opened done [17:06:29]requested_item shift.open_date is exist - process it [17:06:29]req_shift_open_date [17:06:29]req_shift_open_date done [17:06:29]produce_requested_data done [17:06:29]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24352,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [17:06:29]process_action_free close_receipt [17:06:29]json_value_free [17:06:29]json_value_free done [17:06:29]process_json_proto returns [17:06:29]Send response to host [17:06:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24352,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [17:06:29]free response buf [17:06:29]execute_script done [17:06:29]execute_script returns [17:06:29]free content buf [17:06:29]Sock 9.Close socket [17:06:29]Sock 9.Thread stoped [17:06:29]OFD Sender: No OFD packet to send [17:06:34]OFD Sender: No OFD packet to send [17:06:39]OFD Sender: No OFD packet to send [17:06:44]OFD Sender: No OFD packet to send [17:06:49]OFD Sender: No OFD packet to send [17:06:54]OFD Sender: No OFD packet to send [17:06:59]OFD Sender: No OFD packet to send [17:07:04]OFD Sender: No OFD packet to send [17:07:09]OFD Sender: No OFD packet to send [17:07:14]OFD Sender: No OFD packet to send [17:07:19]OFD Sender: No OFD packet to send [17:07:24]OFD Sender: No OFD packet to send [17:07:29]OFD Sender: No OFD packet to send [17:07:34]OFD Sender: No OFD packet to send [17:07:39]OFD Sender: No OFD packet to send [17:07:44]OFD Sender: No OFD packet to send [17:07:49]OFD Sender: No OFD packet to send [17:07:54]OFD Sender: No OFD packet to send [17:07:59]OFD Sender: No OFD packet to send [17:08:04]OFD Sender: No OFD packet to send [17:08:09]OFD Sender: No OFD packet to send [17:08:14]OFD Sender: No OFD packet to send [17:08:19]OFD Sender: No OFD packet to send [17:08:24]OFD Sender: No OFD packet to send [17:08:29]OFD Sender: No OFD packet to send [17:08:34]OFD Sender: No OFD packet to send [17:08:39]OFD Sender: No OFD packet to send [17:08:44]OFD Sender: No OFD packet to send [17:08:49]OFD Sender: No OFD packet to send [17:08:54]OFD Sender: No OFD packet to send [17:08:59]OFD Sender: No OFD packet to send [17:09:04]OFD Sender: No OFD packet to send [17:09:09]OFD Sender: No OFD packet to send [17:09:14]OFD Sender: No OFD packet to send [17:09:19]OFD Sender: No OFD packet to send [17:09:24]OFD Sender: No OFD packet to send [17:09:29]OFD Sender: No OFD packet to send [17:09:34]OFD Sender: No OFD packet to send [17:09:39]OFD Sender: No OFD packet to send [17:09:44]OFD Sender: No OFD packet to send [17:09:49]OFD Sender: No OFD packet to send [17:09:54]OFD Sender: No OFD packet to send [17:09:59]OFD Sender: No OFD packet to send [17:10:04]OFD Sender: No OFD packet to send [17:10:09]OFD Sender: No OFD packet to send [17:10:14]OFD Sender: No OFD packet to send [17:10:19]OFD Sender: No OFD packet to send [17:10:24]OFD Sender: No OFD packet to send [17:10:29]OFD Sender: No OFD packet to send [17:10:34]OFD Sender: No OFD packet to send [17:10:39]OFD Sender: No OFD packet to send [17:10:44]OFD Sender: No OFD packet to send [17:10:49]OFD Sender: No OFD packet to send [17:10:54]OFD Sender: No OFD packet to send [17:10:59]OFD Sender: No OFD packet to send [17:11:04]OFD Sender: No OFD packet to send [17:11:09]OFD Sender: No OFD packet to send [17:11:14]OFD Sender: No OFD packet to send [17:11:19]OFD Sender: No OFD packet to send [17:11:24]OFD Sender: No OFD packet to send [17:11:29]OFD Sender: No OFD packet to send [17:11:34]OFD Sender: No OFD packet to send [17:11:39]OFD Sender: No OFD packet to send [17:11:44]OFD Sender: No OFD packet to send [17:11:49]OFD Sender: No OFD packet to send [17:11:54]OFD Sender: No OFD packet to send [17:11:59]OFD Sender: No OFD packet to send [17:12:04]OFD Sender: No OFD packet to send [17:12:09]OFD Sender: No OFD packet to send [17:12:14]OFD Sender: No OFD packet to send [17:12:19]OFD Sender: No OFD packet to send [17:12:24]OFD Sender: No OFD packet to send [17:12:29]OFD Sender: No OFD packet to send [17:12:34]OFD Sender: No OFD packet to send [17:12:39]OFD Sender: No OFD packet to send [17:12:44]OFD Sender: No OFD packet to send [17:12:49]OFD Sender: No OFD packet to send [17:12:54]OFD Sender: No OFD packet to send [17:12:59]OFD Sender: No OFD packet to send [17:13:04]OFD Sender: No OFD packet to send [17:13:09]OFD Sender: No OFD packet to send [17:13:14]OFD Sender: No OFD packet to send [17:13:19]OFD Sender: No OFD packet to send [17:13:24]OFD Sender: No OFD packet to send [17:13:29]OFD Sender: No OFD packet to send [17:13:34]OFD Sender: No OFD packet to send [17:13:39]OFD Sender: No OFD packet to send [17:13:44]OFD Sender: No OFD packet to send [17:13:49]OFD Sender: No OFD packet to send [17:13:54]OFD Sender: No OFD packet to send [17:13:59]OFD Sender: No OFD packet to send [17:14:04]OFD Sender: No OFD packet to send [17:14:09]OFD Sender: No OFD packet to send [17:14:14]OFD Sender: No OFD packet to send [17:14:19]OFD Sender: No OFD packet to send [17:14:24]OFD Sender: No OFD packet to send [17:14:29]OFD Sender: No OFD packet to send [17:14:34]OFD Sender: No OFD packet to send [17:14:39]OFD Sender: No OFD packet to send [17:14:44]OFD Sender: No OFD packet to send [17:14:49]OFD Sender: No OFD packet to send [17:14:54]OFD Sender: No OFD packet to send [17:14:59]OFD Sender: No OFD packet to send [17:15:04]OFD Sender: No OFD packet to send [17:15:09]OFD Sender: No OFD packet to send [17:15:14]OFD Sender: No OFD packet to send [17:15:19]OFD Sender: No OFD packet to send [17:15:24]OFD Sender: No OFD packet to send [17:15:29]OFD Sender: No OFD packet to send [17:15:34]OFD Sender: No OFD packet to send [17:15:39]OFD Sender: No OFD packet to send [17:15:44]OFD Sender: No OFD packet to send [17:15:49]OFD Sender: No OFD packet to send [17:15:54]OFD Sender: No OFD packet to send [17:15:59]OFD Sender: No OFD packet to send [17:16:04]OFD Sender: No OFD packet to send [17:16:09]OFD Sender: No OFD packet to send [17:16:14]OFD Sender: No OFD packet to send [17:16:19]OFD Sender: No OFD packet to send [17:16:24]OFD Sender: No OFD packet to send [17:16:29]OFD Sender: No OFD packet to send [17:16:34]OFD Sender: No OFD packet to send [17:16:39]OFD Sender: No OFD packet to send [17:16:44]OFD Sender: No OFD packet to send [17:16:49]OFD Sender: No OFD packet to send [17:16:54]OFD Sender: No OFD packet to send [17:16:59]OFD Sender: No OFD packet to send [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:45]OFD Sender: No OFD packet to send [17:21:50]OFD Sender: No OFD packet to send [17:21:55]OFD Sender: No OFD packet to send [17:22:00]OFD Sender: No OFD packet to send [17:22:05]OFD Sender: No OFD packet to send [17:22:10]OFD Sender: No OFD packet to send [17:22:15]OFD Sender: No OFD packet to send [17:22:20]OFD Sender: No OFD packet to send [17:22:25]OFD Sender: No OFD packet to send [17:22:30]OFD Sender: No OFD packet to send [17:22:35]OFD Sender: No OFD packet to send [17:22:40]OFD Sender: No OFD packet to send [17:22:45]OFD Sender: No OFD packet to send [17:22:50]OFD Sender: No OFD packet to send [17:22:55]OFD Sender: No OFD packet to send [17:23:00]OFD Sender: No OFD packet to send [17:23:05]OFD Sender: No OFD packet to send [17:23:10]OFD Sender: No OFD packet to send [17:23:15]OFD Sender: No OFD packet to send [17:23:20]OFD Sender: No OFD packet to send [17:23:25]OFD Sender: No OFD packet to send [17:23:30]OFD Sender: No OFD packet to send [17:23:35]OFD Sender: No OFD packet to send [17:23:40]OFD Sender: No OFD packet to send [17:23:45]OFD Sender: No OFD packet to send [17:23:50]OFD Sender: No OFD packet to send [17:23:55]OFD Sender: No OFD packet to send [17:24:00]OFD Sender: No OFD packet to send [17:24:05]OFD Sender: No OFD packet to send [17:24:10]OFD Sender: No OFD packet to send [17:24:15]OFD Sender: No OFD packet to send [17:24:20]OFD Sender: No OFD packet to send [17:24:25]OFD Sender: No OFD packet to send [17:24:30]OFD Sender: No OFD packet to send [17:24:35]OFD Sender: No OFD packet to send [17:24:40]OFD Sender: No OFD packet to send [17:24:45]OFD Sender: No OFD packet to send [17:24:50]OFD Sender: No OFD packet to send [17:24:55]OFD Sender: No OFD packet to send [17:25:00]OFD Sender: No OFD packet to send [17:25:05]OFD Sender: No OFD packet to send [17:25:10]OFD Sender: No OFD packet to send [17:25:15]OFD Sender: No OFD packet to send [17:25:20]OFD Sender: No OFD packet to send [17:25:25]OFD Sender: No OFD packet to send [17:25:30]OFD Sender: No OFD packet to send [17:25:35]OFD Sender: No OFD packet to send [17:25:40]OFD Sender: No OFD packet to send [17:25:45]OFD Sender: No OFD packet to send [17:25:50]OFD Sender: No OFD packet to send [17:25:55]OFD Sender: No OFD packet to send [17:26:00]OFD Sender: No OFD packet to send [17:26:05]OFD Sender: No OFD packet to send [17:26:10]OFD Sender: No OFD packet to send [17:26:15]OFD Sender: No OFD packet to send [17:26:19]accept exits with 8 [17:26:19]New connection [17:26:19]New thread 3067084132 created [17:26:19]Thread 3066940772 joined [17:26:19]Waiting for new connection... [17:26:19] Sock 8.Parse request [17:26:19]Sock 8.Check first char [17:26:19]Sock 8.First char is OK [17:26:19]request: POST /json_proto HTTP/1.0 [17:26:19]Method: POST [17:26:19]URL: /json_proto [17:26:19]Method is POST - this is cgi request [17:26:19]url: /json_proto [17:26:19]query_string will be loaded in cgi processing [17:26:19]execute_cgi json_proto POST (null) [17:26:19]execute_cgi path=json_proto method=POST [17:26:19]POST find Content-Length [17:26:19]Host: 172.17.50.4:8080 [17:26:19]Content-Length: 632 [17:26:19]Content-Type: application/json [17:26:19] [17:26:19]POST finish read [17:26:19]Found Content-Length = 632 [17:26:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134874", "tax_sys" : 0, "items" : [ { "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:26:19]execute_script... [17:26: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)134874", "tax_sys" : 0, "items" : [ { "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:26:19]POST & json_proto [17:26:19]process_json_proto [17:26:19]json parsed OK: [17:26:19]protocol is kg_v1.0 [17:26:19]action value=close_receipt [17:26:19]process_action close_receipt [17:26:19]cmd_close_receipt [17:26:19]MH_GetDate [17:26:19]Write to MH i2c: F0 00 00 E2 0D DE [17:26:19]Write i2c OK [17:26:19]MH_I2C_Read... [17:26:19]Read from MH i2c: F0 [17:26:19]MH_I2C_Read... [17:26:19]Read from MH i2c: F0 09 00 [17:26:19]MH_I2C_Read... [17:26:19]Read from MH i2c: F0 09 00 E2 0D 00 BD 8E 16 67 3B 12 16 67 79 [17:26:19]GetLastDocTimeStamp 1729530388 [17:26:19]current date 1729531581 [17:26:19]FM_GetShiftState [17:26:19]SAM_PROTO_GetShiftState [17:26:19]wFMCommunicate request_size=4 [17:26:19]MH_SAM_APDU [17:26:19]CAPDU: 80 13 01 00 [17:26:19]Write to MH i2c: E2 08 00 E3 0D 80 13 01 00 00 00 00 00 6D [17:26:19]Write i2c OK [17:26:19]MH_I2C_Read... [17:26:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:26:19]Read from MH i2c: E2 [17:26:19]MH_I2C_Read... [17:26:19]Read from MH i2c: E2 0E 00 [17:26:19]MH_I2C_Read... [17:26:19]Read from MH i2c: E2 0E 00 E3 0D 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 B7 [17:26:19]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [17:26:19]wFMCommunicate OK [17:26:19]SAM_PROTO_GetShiftState done [17:26:19]FM_GetShiftState done [17:26:19]opened in 1729469223 [17:26:19]opened+sec_in_day 1729555623 [17:26:19]quantity*price = 6000 [17:26:19]sum+1 = 6001 [17:26:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 57 21.10.2024 17:26 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24353 ФПД: 114325424841213 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T172621&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24353&fm=114325424841213&tin=02508201610067®Number=0000000000098120&sum=6000 0 [17:26:20]StoreToDocumentArchive [17:26:20]shift 461 fd 24353 [17:26:20]save to /storage/0461/doc_00024353 [17:26:20]save last doc name /storage/0461/doc_00024353 to /storage/kkm_last_doc_name [17:26:20]save OK [17:26:20]Clear old archive folders... [17:26:20]ProcessDocumentItem done err = 0, tmpTLVsize=271 [17:26:20]tlvbuf is B6EC87C0 [17:26:20]SAM_PROTO_ClearQueue [17:26:20]wFMCommunicate request_size=4 [17:26:20]MH_SAM_APDU [17:26:20]CAPDU: 80 09 00 00 [17:26:20]Write to MH i2c: E2 08 00 F0 0D 80 09 00 00 00 00 00 00 6F [17:26:20]Write i2c OK [17:26:20]MH_I2C_Read... [17:26:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:26:20]Read from MH i2c: E2 [17:26:20]MH_I2C_Read... [17:26:20]Read from MH i2c: E2 03 00 [17:26:20]MH_I2C_Read... [17:26:20]Read from MH i2c: E2 03 00 F0 0D 00 90 00 71 [17:26:20]RAPDU: 90 00 [17:26:20]wFMCommunicate OK [17:26:20]SAM_PROTO_ClearQueue done [17:26:20]KKMCreateOFDPacket [17:26:20]OFDProtocolAddRootSTLVToBuf [17:26:20]FM_MakeSignedData [17:26:20]FM_MakeSignedData [17:26:20]SAM_PROTO_SignData [17:26:20]wFMCommunicate request_size=4 [17:26:20]MH_SAM_APDU [17:26:20]CAPDU: 80 0D 01 02 [17:26:20]Write to MH i2c: E2 08 00 F1 0D 80 0D 01 02 00 00 00 00 77 [17:26:20]Write i2c OK [17:26:20]MH_I2C_Read... [17:26:20]OFD Sender: No OFD packet to send [17:26:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:26:20]Read from MH i2c: E2 [17:26:20]MH_I2C_Read... [17:26:20]Read from MH i2c: E2 03 00 [17:26:20]MH_I2C_Read... [17:26:20]Read from MH i2c: E2 03 00 F1 0D 00 90 00 72 [17:26:20]RAPDU: 90 00 [17:26:20]wFMCommunicate OK [17:26:20]wFMCommunicate request_size=255 [17:26:20]MH_SAM_APDU [17:26:20]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 BD 8E 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 [17:26:20]Write to MH i2c: E2 02 01 F2 0D 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 BD 8E 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 97 [17:26:20]Write i2c OK [17:26:20]MH_I2C_Read... [17:26:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:26:20]Read from MH i2c: E2 [17:26:20]MH_I2C_Read... [17:26:20]Read from MH i2c: E2 03 00 [17:26:20]MH_I2C_Read... [17:26:20]Read from MH i2c: E2 03 00 F2 0D 00 90 00 73 [17:26:20]RAPDU: 90 00 [17:26:20]wFMCommunicate OK [17:26:20]wFMCommunicate request_size=30 [17:26:20]MH_SAM_APDU [17:26:20]CAPDU: 80 0D 02 02 19 30 39 36 35 34 32 30 10 04 04 00 21 5F 00 00 35 04 06 00 67 FA 76 56 21 FD [17:26:20]Write to MH i2c: E2 21 00 F3 0D 80 0D 02 02 19 00 30 39 36 35 34 32 30 10 04 04 00 21 5F 00 00 35 04 06 00 67 FA 76 56 21 FD 00 00 38 [17:26:20]Write i2c OK [17:26:20]MH_I2C_Read... [17:26:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:26:20]Read from MH i2c: E2 [17:26:20]MH_I2C_Read... [17:26:20]Read from MH i2c: E2 03 00 [17:26:20]MH_I2C_Read... [17:26:20]Read from MH i2c: E2 03 00 F3 0D 00 90 00 74 [17:26:20]RAPDU: 90 00 [17:26:20]wFMCommunicate OK [17:26:20]wFMCommunicate request_size=4 [17:26:20]MH_SAM_APDU [17:26:20]CAPDU: 80 0D 03 02 [17:26:20]Write to MH i2c: E2 08 00 F4 0D 80 0D 03 02 00 00 00 00 7C [17:26:20]Write i2c OK [17:26:20]MH_I2C_Read... [17:26:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:26:20]Read from MH i2c: E2 [17:26:20]MH_I2C_Read... [17:26:20]Read from MH i2c: E2 0B 00 [17:26:20]MH_I2C_Read... [17:26:20]Read from MH i2c: E2 0B 00 F4 0D 00 77 E0 9F 73 5D 35 FD 5D 90 00 D2 [17:26:20]RAPDU: 77 E0 9F 73 5D 35 FD 5D 90 00 [17:26:20]wFMCommunicate OK [17:26:20]SAM_PROTO_SignData done [17:26:20]FM_MakeSignedData done [17:26:20]CreateOFDProtocolMessage [17:26:20]wFMCommunicate request_size=4 [17:26:20]MH_SAM_APDU [17:26:20]CAPDU: 80 11 00 00 [17:26:20]Write to MH i2c: E2 08 00 F5 0D 80 11 00 00 00 00 00 00 7C [17:26:20]Write i2c OK [17:26:20]MH_I2C_Read... [17:26:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:26:20]Read from MH i2c: E2 [17:26:20]MH_I2C_Read... [17:26:20]Read from MH i2c: E2 17 00 [17:26:20]MH_I2C_Read... [17:26:20]Read from MH i2c: E2 17 00 F5 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 C9 [17:26:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:26:20]wFMCommunicate OK [17:26:20]CreateOFDProtocolMessage done [17:26:20]OFDSenderStorePacket 24353 [17:26:20]StoreOFDPacket docnum=24353 [17:26:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 23 01 00 00 B7 7F 1B 01 C8 BA 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 BD 8E 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 21 5F 00 00 35 04 06 00 67 FA 76 56 21 FD 77 E0 9F 73 5D 35 FD 5D [17:26:20]CheckFolder [17:26:20]dirname=/storage/ofd_packets [17:26:20]CheckFolder done [17:26:20]ProducePacketName [17:26:20]name=ofd_packets/00024353 [17:26:20]NVStorageSaveData ofd_packets/00024353 [17:26:20]File name is /storage/ofd_packets/00024353 [17:26:20]Write 321 bytes [17:26:20]NVStorageSaveData done [17:26:20]OFDSenderStorePacket done [17:26:20]KKMCreateOFDPacket done [17:26:20]NVStorageSaveData kkm_last_timestamp [17:26:20]File name is /storage/kkm_last_timestamp [17:26:20]Write 4 bytes [17:26:20]NVStorageSaveData done [17:26:20]ExternCall_PrintAddStr [17:26:20]wPrintStart [17:26:20]Write to MH i2c: 01 00 00 F6 0D 03 [17:26:20]Write i2c OK [17:26:20]MH_I2C_Read... [17:26:20]Read from MH i2c: 01 [17:26:20]MH_I2C_Read... [17:26:20]Read from MH i2c: 01 07 00 [17:26:20]MH_I2C_Read... [17:26:20]Read from MH i2c: 01 07 00 F6 0D 00 00 00 00 00 FF 0F 18 [17:26:20]RasterBufferAndPrint [17:26:20]line Счет N : (3)134874 [17:26:20]line ИНН: 02508201610067 [17:26:20]line Контрольно-Кассовый Чек [17:26:20]line ПРОДАЖА [17:26:20]line Товар: 4700025313937 [17:26:20]line ВОДКА МЯГКАЯ 0,1л [17:26:20]line 1.000 * 60.00 [17:26:20]line = 60.00 [17:26:20]line НДС 12% НСП 1% [17:26:20]line > о реализуемом товаре [17:26:20]line ИТОГО: 60.00 [17:26:20]line НСП 1% : 0.53 [17:26:20]line НДС 12% : 6.37 [17:26:20]line Наличными: 60.00 [17:26:20]line Безнал.: 0.00 [17:26:20]line Место: АЗС № 85 "Партнер Нефть" [17:26:20]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [17:26:20]line СНО: Общий режим [17:26:20]line Чек 57 21.10.2024 17:26 [17:26:20]line Смена: 461 ФФД: 1.0 [17:26:20]line ЗНМ: 0300000166 [17:26:20]line РНМ: 0000000000098120 [17:26:20]line Версия ККМ: 001 [17:26:20]line ФМ: 0000000000965420 [17:26:20]line ФД: 24353 [17:26:21]line ФПД: 114325424841213 [17:26:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T172621&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24353&fm=114325424841213&tin=02508201610067®Number=0000000000098120&sum=6000 [17:26:21]line 0 [17:26:21]OFD Sender: Processing packet 24353 [packets to send 5, broken 4] [17:26:21]ProducePacketName [17:26:21]name=ofd_packets/00024353 [17:26:21]OFD Sender: To server: pG, [17:26:21]CommunicateWithHost lk.salyk.kg:30040 [17:26:21]ConnectInit lk.salyk.kg [17:26:21]written 0, free lines is 4095 [17:26:21]Connected sock=10 [17:26: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 34 32 30 23 01 00 00 B7 7F 1B 01 C8 BA 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 BD 8E 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 21 5F 00 00 35 04 06 00 67 FA 76 56 21 FD 77 E0 9F 73 5D 35 FD 5D [17:26:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 64 92 47 00 68 75 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 34 32 30 10 04 04 00 21 5F 00 00 F4 03 04 00 63 3A 16 67 B6 04 01 00 00 64 03 4D AF D6 14 B5 FD [17:26:21]CommunicateWithHost err = 0 [17:26:21]CheckOFDResponse [17:26:21]1017 (14) - 77093643461234 [17:26:21]1041 (16) - 0000000000965420 [17:26:21]1040 (4) - 24353 [17:26:21]1012 (4) - 21.10.2024 11:26 [17:26:21]1206 (1) - 0 [17:26:21]OFD Sender: Remove packet 24353 [17:26:21]ProducePacketName [17:26:21]name=ofd_packets/00024353 [17:26:21]NVStorageDeleteData [17:26:21]Write to MH i2c: 01 00 00 1E 0E 2C [17:26:21]Write i2c OK [17:26:21]MH_I2C_Read... [17:26:21]Read from MH i2c: 01 [17:26:21]MH_I2C_Read... [17:26:21]Read from MH i2c: 01 07 00 [17:26:21]MH_I2C_Read... [17:26:21]Read from MH i2c: 01 07 00 1E 0E 00 00 00 00 00 27 0D 67 [17:26:21]RasterBufferAndPrint [17:26:21]line [17:26:21]line [17:26:21]line [17:26:21]line [17:26:21]line [17:26:21]written 0, free lines is 3373 [17:26:21]process_action close_receipt done [17:26:21]requested_data is exist [17:26:21]produce_requested_data [17:26:21]requested_item fm.sn is exist - process it [17:26:21]wFMCommunicate request_size=4 [17:26:21]MH_SAM_APDU [17:26:21]CAPDU: 80 11 00 00 [17:26:21]Write to MH i2c: E2 08 00 25 0E 80 11 00 00 00 00 00 00 AD [17:26:21]Write i2c OK [17:26:21]MH_I2C_Read... [17:26:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:26:21]Read from MH i2c: E2 [17:26:21]MH_I2C_Read... [17:26:21]Read from MH i2c: E2 17 00 [17:26:21]MH_I2C_Read... [17:26:21]Read from MH i2c: E2 17 00 25 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 FA [17:26:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:26:21]wFMCommunicate OK [17:26:21]requested_item fd.num is exist - process it [17:26:21]SAM_PROTO_GetFieldsCounters [17:26:21]wFMCommunicate request_size=4 [17:26:21]MH_SAM_APDU [17:26:21]CAPDU: 80 13 00 00 [17:26:21]Write to MH i2c: E2 08 00 26 0E 80 13 00 00 00 00 00 00 B0 [17:26:21]Write i2c OK [17:26:21]MH_I2C_Read... [17:26:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:26:21]Read from MH i2c: E2 [17:26:21]MH_I2C_Read... [17:26:21]Read from MH i2c: E2 62 00 [17:26:21]MH_I2C_Read... [17:26:21]Read from MH i2c: E2 62 00 26 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 21 5F 00 00 0E 04 04 00 CD 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 BF [17:26: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 21 5F 00 00 0E 04 04 00 CD 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 [17:26:21]wFMCommunicate OK [17:26:21]SAM_PROTO_GetFieldsCounters done [17:26:21]requested_item shift.num is exist - process it [17:26:21]requested_item shift.opened is exist - process it [17:26:21]req_shift_opened [17:26:21]FM_GetShiftState [17:26:21]SAM_PROTO_GetShiftState [17:26:21]wFMCommunicate request_size=4 [17:26:21]MH_SAM_APDU [17:26:21]CAPDU: 80 13 01 00 [17:26:21]Write to MH i2c: E2 08 00 27 0E 80 13 01 00 00 00 00 00 B2 [17:26:21]Write i2c OK [17:26:21]MH_I2C_Read... [17:26:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:26:21]Read from MH i2c: E2 [17:26:21]MH_I2C_Read... [17:26:21]Read from MH i2c: E2 0E 00 [17:26:21]MH_I2C_Read... [17:26:21]Read from MH i2c: E2 0E 00 27 0E 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 FC [17:26:21]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [17:26:21]wFMCommunicate OK [17:26:21]SAM_PROTO_GetShiftState done [17:26:21]FM_GetShiftState done [17:26:21]req_shift_opened done [17:26:21]requested_item shift.open_date is exist - process it [17:26:21]req_shift_open_date [17:26:21]req_shift_open_date done [17:26:21]produce_requested_data done [17:26:21]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24353,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [17:26:21]process_action_free close_receipt [17:26:21]json_value_free [17:26:21]json_value_free done [17:26:21]process_json_proto returns [17:26:21]Send response to host [17:26:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24353,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [17:26:21]free response buf [17:26:21]execute_script done [17:26:21]execute_script returns [17:26:21]free content buf [17:26:21]Sock 8.Close socket [17:26:21]Sock 8.Thread stoped [17:26:21]OFD Sender: No OFD packet to send [17:26:26]OFD Sender: No OFD packet to send [17:26:31]OFD Sender: No OFD packet to send [17:26:33]accept exits with 9 [17:26:33]New connection [17:26:33]New thread 3066940772 created [17:26:33]Thread 3067084132 joined [17:26:33]Waiting for new connection... [17:26:33] Sock 9.Parse request [17:26:33]Sock 9.Check first char [17:26:33]Sock 9.First char is OK [17:26:33]request: POST /json_proto HTTP/1.0 [17:26:33]Method: POST [17:26:33]URL: /json_proto [17:26:33]Method is POST - this is cgi request [17:26:33]url: /json_proto [17:26:33]query_string will be loaded in cgi processing [17:26:33]execute_cgi json_proto POST (null) [17:26:33]execute_cgi path=json_proto method=POST [17:26:33]POST find Content-Length [17:26:33]Host: 172.17.50.4:8080 [17:26:33]Content-Length: 622 [17:26:33]Content-Type: application/json [17:26:33] [17:26:33]POST finish read [17:26:33]Found Content-Length = 622 [17:26:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134875", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 3.000, "sum" : 450.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 450.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:26:33]execute_script... [17:26:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134875", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 3.000, "sum" : 450.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 450.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:26:33]POST & json_proto [17:26:33]process_json_proto [17:26:33]json parsed OK: [17:26:33]protocol is kg_v1.0 [17:26:33]action value=close_receipt [17:26:33]process_action close_receipt [17:26:33]cmd_close_receipt [17:26:33]MH_GetDate [17:26:33]Write to MH i2c: F0 00 00 28 0E 25 [17:26:33]Write i2c OK [17:26:33]MH_I2C_Read... [17:26:33]Read from MH i2c: F0 [17:26:33]MH_I2C_Read... [17:26:33]Read from MH i2c: F0 09 00 [17:26:33]MH_I2C_Read... [17:26:33]Read from MH i2c: F0 09 00 28 0E 00 CC 8E 16 67 3B 12 16 67 CF [17:26:33]GetLastDocTimeStamp 1729531581 [17:26:33]current date 1729531596 [17:26:33]FM_GetShiftState [17:26:33]SAM_PROTO_GetShiftState [17:26:33]wFMCommunicate request_size=4 [17:26:33]MH_SAM_APDU [17:26:33]CAPDU: 80 13 01 00 [17:26:33]Write to MH i2c: E2 08 00 29 0E 80 13 01 00 00 00 00 00 B4 [17:26:33]Write i2c OK [17:26:33]MH_I2C_Read... [17:26:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:26:33]Read from MH i2c: E2 [17:26:33]MH_I2C_Read... [17:26:33]Read from MH i2c: E2 0E 00 [17:26:33]MH_I2C_Read... [17:26:33]Read from MH i2c: E2 0E 00 29 0E 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 FE [17:26:33]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [17:26:33]wFMCommunicate OK [17:26:33]SAM_PROTO_GetShiftState done [17:26:33]FM_GetShiftState done [17:26:33]opened in 1729469223 [17:26:33]opened+sec_in_day 1729555623 [17:26:33]quantity*price = 45000 [17:26:33]sum+1 = 45001 [17:26:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 450.00 НСП 1% : 3.98 НДС 12% : 47.79 Наличными: 450.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 58 21.10.2024 17:26 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24354 ФПД: 39637393769641 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T172636&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24354&fm=39637393769641&tin=02508201610067®Number=0000000000098120&sum=45000 0 [17:26:35]StoreToDocumentArchive [17:26:35]shift 461 fd 24354 [17:26:35]save to /storage/0461/doc_00024354 [17:26:35]save last doc name /storage/0461/doc_00024354 to /storage/kkm_last_doc_name [17:26:35]save OK [17:26:35]Clear old archive folders... [17:26:35]ProcessDocumentItem done err = 0, tmpTLVsize=274 [17:26:35]tlvbuf is 002ED230 [17:26:35]SAM_PROTO_ClearQueue [17:26:35]wFMCommunicate request_size=4 [17:26:35]MH_SAM_APDU [17:26:35]CAPDU: 80 09 00 00 [17:26:35]Write to MH i2c: E2 08 00 36 0E 80 09 00 00 00 00 00 00 B6 [17:26:35]Write i2c OK [17:26:35]MH_I2C_Read... [17:26:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:26:35]Read from MH i2c: E2 [17:26:35]MH_I2C_Read... [17:26:35]Read from MH i2c: E2 03 00 [17:26:35]MH_I2C_Read... [17:26:35]Read from MH i2c: E2 03 00 36 0E 00 90 00 B8 [17:26:35]RAPDU: 90 00 [17:26:35]wFMCommunicate OK [17:26:35]SAM_PROTO_ClearQueue done [17:26:35]KKMCreateOFDPacket [17:26:35]OFDProtocolAddRootSTLVToBuf [17:26:35]FM_MakeSignedData [17:26:35]FM_MakeSignedData [17:26:35]SAM_PROTO_SignData [17:26:35]wFMCommunicate request_size=4 [17:26:35]MH_SAM_APDU [17:26:35]CAPDU: 80 0D 01 02 [17:26:35]Write to MH i2c: E2 08 00 37 0E 80 0D 01 02 00 00 00 00 BE [17:26:35]Write i2c OK [17:26:35]MH_I2C_Read... [17:26:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:26:35]Read from MH i2c: E2 [17:26:35]MH_I2C_Read... [17:26:35]Read from MH i2c: E2 03 00 [17:26:35]MH_I2C_Read... [17:26:35]Read from MH i2c: E2 03 00 37 0E 00 90 00 B9 [17:26:35]RAPDU: 90 00 [17:26:35]wFMCommunicate OK [17:26:35]wFMCommunicate request_size=255 [17:26:35]MH_SAM_APDU [17:26:35]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 B8 0B 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 C8 AF 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 CC 8E 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 [17:26:35]Write to MH i2c: E2 02 01 38 0E 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 B8 0B 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 C8 AF 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 CC 8E 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 00 00 84 [17:26:35]Write i2c OK [17:26:35]MH_I2C_Read... [17:26:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:26:35]Read from MH i2c: E2 [17:26:35]MH_I2C_Read... [17:26:35]Read from MH i2c: E2 03 00 [17:26:35]MH_I2C_Read... [17:26:35]Read from MH i2c: E2 03 00 38 0E 00 90 00 BA [17:26:35]RAPDU: 90 00 [17:26:35]wFMCommunicate OK [17:26:35]wFMCommunicate request_size=33 [17:26:35]MH_SAM_APDU [17:26:35]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 34 32 30 10 04 04 00 22 5F 00 00 35 04 06 00 24 0C CC C6 84 A9 [17:26:35]Write to MH i2c: E2 24 00 39 0E 80 0D 02 02 1C 00 30 30 30 30 39 36 35 34 32 30 10 04 04 00 22 5F 00 00 35 04 06 00 24 0C CC C6 84 A9 00 00 BA [17:26:35]Write i2c OK [17:26:35]MH_I2C_Read... [17:26:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:26:35]Read from MH i2c: E2 [17:26:35]MH_I2C_Read... [17:26:35]Read from MH i2c: E2 03 00 [17:26:35]MH_I2C_Read... [17:26:35]Read from MH i2c: E2 03 00 39 0E 00 90 00 BB [17:26:35]RAPDU: 90 00 [17:26:35]wFMCommunicate OK [17:26:35]wFMCommunicate request_size=4 [17:26:35]MH_SAM_APDU [17:26:35]CAPDU: 80 0D 03 02 [17:26:35]Write to MH i2c: E2 08 00 3A 0E 80 0D 03 02 00 00 00 00 C3 [17:26:35]Write i2c OK [17:26:35]MH_I2C_Read... [17:26:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:26:35]Read from MH i2c: E2 [17:26:35]MH_I2C_Read... [17:26:35]Read from MH i2c: E2 0B 00 [17:26:35]MH_I2C_Read... [17:26:35]Read from MH i2c: E2 0B 00 3A 0E 00 A1 A8 4B EA 44 B4 F2 8D 90 00 B9 [17:26:35]RAPDU: A1 A8 4B EA 44 B4 F2 8D 90 00 [17:26:35]wFMCommunicate OK [17:26:35]SAM_PROTO_SignData done [17:26:35]FM_MakeSignedData done [17:26:35]CreateOFDProtocolMessage [17:26:35]wFMCommunicate request_size=4 [17:26:35]MH_SAM_APDU [17:26:35]CAPDU: 80 11 00 00 [17:26:35]Write to MH i2c: E2 08 00 3B 0E 80 11 00 00 00 00 00 00 C3 [17:26:35]Write i2c OK [17:26:35]MH_I2C_Read... [17:26:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:26:35]Read from MH i2c: E2 [17:26:35]MH_I2C_Read... [17:26:35]Read from MH i2c: E2 17 00 [17:26:35]MH_I2C_Read... [17:26:35]Read from MH i2c: E2 17 00 3B 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 10 [17:26:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:26:35]wFMCommunicate OK [17:26:35]CreateOFDProtocolMessage done [17:26:35]OFDSenderStorePacket 24354 [17:26:35]StoreOFDPacket docnum=24354 [17:26:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 26 01 00 00 62 53 1E 01 0F B0 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 B8 0B 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 C8 AF 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 CC 8E 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 22 5F 00 00 35 04 06 00 24 0C CC C6 84 A9 A1 A8 4B EA 44 B4 F2 8D [17:26:35]CheckFolder [17:26:35]dirname=/storage/ofd_packets [17:26:35]CheckFolder done [17:26:35]ProducePacketName [17:26:35]name=ofd_packets/00024354 [17:26:35]NVStorageSaveData ofd_packets/00024354 [17:26:35]File name is /storage/ofd_packets/00024354 [17:26:35]Write 324 bytes [17:26:35]NVStorageSaveData done [17:26:35]OFDSenderStorePacket done [17:26:35]KKMCreateOFDPacket done [17:26:35]NVStorageSaveData kkm_last_timestamp [17:26:35]File name is /storage/kkm_last_timestamp [17:26:35]Write 4 bytes [17:26:35]NVStorageSaveData done [17:26:35]ExternCall_PrintAddStr [17:26:35]wPrintStart [17:26:35]Write to MH i2c: 01 00 00 3C 0E 4A [17:26:35]Write i2c OK [17:26:35]MH_I2C_Read... [17:26:35]Read from MH i2c: 01 [17:26:35]MH_I2C_Read... [17:26:35]Read from MH i2c: 01 07 00 [17:26:35]MH_I2C_Read... [17:26:35]Read from MH i2c: 01 07 00 3C 0E 00 00 00 00 00 FF 0F 5F [17:26:35]RasterBufferAndPrint [17:26:35]line Счет N : (3)134875 [17:26:35]line ИНН: 02508201610067 [17:26:35]line Контрольно-Кассовый Чек [17:26:35]line ПРОДАЖА [17:26:35]line Товар: 4640030091645 [17:26:35]line Сигареты ESSE Exchange M [17:26:35]line 3.000 * 150.00 [17:26:35]line = 450.00 [17:26:35]line НДС 12% НСП 1% [17:26:35]line > о реализуемом товаре [17:26:35]line ИТОГО: 450.00 [17:26:35]line НСП 1% : 3.98 [17:26:35]line НДС 12% : 47.79 [17:26:35]line Наличными: 450.00 [17:26:35]line Безнал.: 0.00 [17:26:35]line Место: АЗС № 85 "Партнер Нефть" [17:26:35]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [17:26:35]line СНО: Общий режим [17:26:35]line Чек 58 21.10.2024 17:26 [17:26:35]line Смена: 461 ФФД: 1.0 [17:26:35]line ЗНМ: 0300000166 [17:26:35]line РНМ: 0000000000098120 [17:26:35]line Версия ККМ: 001 [17:26:35]line ФМ: 0000000000965420 [17:26:35]line ФД: 24354 [17:26:35]line ФПД: 39637393769641 [17:26:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T172636&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24354&fm=39637393769641&tin=02508201610067®Number=0000000000098120&sum=45000 [17:26:35]line 0 [17:26:35]OFD Sender: Processing packet 24354 [packets to send 5, broken 4] [17:26:35]ProducePacketName [17:26:35]name=ofd_packets/00024354 [17:26:35]OFD Sender: To server: pG, [17:26:35]CommunicateWithHost lk.salyk.kg:30040 [17:26:35]ConnectInit lk.salyk.kg [17:26:35]written 0, free lines is 4095 [17:26:36]Write to MH i2c: 01 00 00 64 0E 72 [17:26:36]Write i2c OK [17:26:36]MH_I2C_Read... [17:26:36]Read from MH i2c: 01 [17:26:36]MH_I2C_Read... [17:26:36]Read from MH i2c: 01 07 00 [17:26:36]MH_I2C_Read... [17:26:36]Read from MH i2c: 01 07 00 64 0E 00 00 00 00 00 22 0D A8 [17:26:36]RasterBufferAndPrint [17:26:36]line [17:26:36]line [17:26:36]line [17:26:36]line [17:26:36]line [17:26:36]written 0, free lines is 3366 [17:26:36]process_action close_receipt done [17:26:36]requested_data is exist [17:26:36]produce_requested_data [17:26:36]requested_item fm.sn is exist - process it [17:26:36]wFMCommunicate request_size=4 [17:26:36]MH_SAM_APDU [17:26:36]CAPDU: 80 11 00 00 [17:26:36]Write to MH i2c: E2 08 00 6B 0E 80 11 00 00 00 00 00 00 F3 [17:26:36]Write i2c OK [17:26:36]MH_I2C_Read... [17:26:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:26:36]Read from MH i2c: E2 [17:26:36]MH_I2C_Read... [17:26:36]Read from MH i2c: E2 17 00 [17:26:36]MH_I2C_Read... [17:26:36]Read from MH i2c: E2 17 00 6B 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 40 [17:26:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:26:36]wFMCommunicate OK [17:26:36]requested_item fd.num is exist - process it [17:26:36]SAM_PROTO_GetFieldsCounters [17:26:36]wFMCommunicate request_size=4 [17:26:36]MH_SAM_APDU [17:26:36]CAPDU: 80 13 00 00 [17:26:36]Write to MH i2c: E2 08 00 6C 0E 80 13 00 00 00 00 00 00 F6 [17:26:36]Write i2c OK [17:26:36]MH_I2C_Read... [17:26:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:26:36]Read from MH i2c: E2 [17:26:36]MH_I2C_Read... [17:26:36]Read from MH i2c: E2 62 00 [17:26:36]MH_I2C_Read... [17:26:36]Read from MH i2c: E2 62 00 6C 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 22 5F 00 00 0E 04 04 00 CD 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 09 [17:26: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 22 5F 00 00 0E 04 04 00 CD 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 [17:26:36]wFMCommunicate OK [17:26:36]SAM_PROTO_GetFieldsCounters done [17:26:36]requested_item shift.num is exist - process it [17:26:36]requested_item shift.opened is exist - process it [17:26:36]req_shift_opened [17:26:36]FM_GetShiftState [17:26:36]SAM_PROTO_GetShiftState [17:26:36]wFMCommunicate request_size=4 [17:26:36]MH_SAM_APDU [17:26:36]CAPDU: 80 13 01 00 [17:26:36]Write to MH i2c: E2 08 00 6D 0E 80 13 01 00 00 00 00 00 F8 [17:26:36]Write i2c OK [17:26:36]MH_I2C_Read... [17:26:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:26:36]Read from MH i2c: E2 [17:26:36]MH_I2C_Read... [17:26:36]Read from MH i2c: E2 0E 00 [17:26:36]MH_I2C_Read... [17:26:36]Read from MH i2c: E2 0E 00 6D 0E 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 42 [17:26:36]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [17:26:36]wFMCommunicate OK [17:26:36]SAM_PROTO_GetShiftState done [17:26:36]FM_GetShiftState done [17:26:36]req_shift_opened done [17:26:36]requested_item shift.open_date is exist - process it [17:26:36]req_shift_open_date [17:26:36]req_shift_open_date done [17:26:36]produce_requested_data done [17:26:36]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24354,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [17:26:36]process_action_free close_receipt [17:26:36]json_value_free [17:26:36]json_value_free done [17:26:36]process_json_proto returns [17:26:36]Send response to host [17:26:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24354,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [17:26:36]free response buf [17:26:36]execute_script done [17:26:36]execute_script returns [17:26:36]free content buf [17:26:36]Sock 9.Close socket [17:26:36]Sock 9.Thread stoped [17:28:50]ConnectInit Can't connect to host [17:28:50]CommunicateWithHost connect error [17:28:50]CommunicateWithHost err = -1 [17:28:50]OFD Sender: Server communicate error [17:28:55]OFD Sender: Processing packet 24354 [packets to send 5, broken 4] [17:28:55]ProducePacketName [17:28:55]name=ofd_packets/00024354 [17:28:55]OFD Sender: To server: pG, [17:28:55]CommunicateWithHost lk.salyk.kg:30040 [17:28:55]ConnectInit lk.salyk.kg [17:28:55]Connected sock=9 [17:28: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 34 32 30 26 01 00 00 62 53 1E 01 0F B0 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 B8 0B 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 C8 AF 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 CC 8E 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 22 5F 00 00 35 04 06 00 24 0C CC C6 84 A9 A1 A8 4B EA 44 B4 F2 8D [17:28:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 51 07 47 00 E1 F9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 22 5F 00 00 F4 03 04 00 FD 3A 16 67 B6 04 01 00 00 11 CB 80 EB 29 1F 14 B3 [17:28:55]CommunicateWithHost err = 0 [17:28:55]CheckOFDResponse [17:28:55]1017 (14) - 77093643461234 [17:28:55]1041 (16) - 0000000000965420 [17:28:55]1040 (4) - 24354 [17:28:55]1012 (4) - 21.10.2024 11:29 [17:28:55]1206 (1) - 0 [17:28:55]OFD Sender: Remove packet 24354 [17:28:55]ProducePacketName [17:28:55]name=ofd_packets/00024354 [17:28:55]NVStorageDeleteData [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:11]OFD Sender: No OFD packet to send [17:30:16]OFD Sender: No OFD packet to send [17:30:21]OFD Sender: No OFD packet to send [17:30:26]OFD Sender: No OFD packet to send [17:30:31]OFD Sender: No OFD packet to send [17:30:36]OFD Sender: No OFD packet to send [17:30:41]OFD Sender: No OFD packet to send [17:30:46]OFD Sender: No OFD packet to send [17:30:51]OFD Sender: No OFD packet to send [17:30:56]OFD Sender: No OFD packet to send [17:31:01]OFD Sender: No OFD packet to send [17:31:06]OFD Sender: No OFD packet to send [17:31:11]OFD Sender: No OFD packet to send [17:31:16]OFD Sender: No OFD packet to send [17:31:21]OFD Sender: No OFD packet to send [17:31:26]OFD Sender: No OFD packet to send [17:31:31]OFD Sender: No OFD packet to send [17:31:36]OFD Sender: No OFD packet to send [17:31:41]OFD Sender: No OFD packet to send [17:31:46]OFD Sender: No OFD packet to send [17:31:51]OFD Sender: No OFD packet to send [17:31:56]OFD Sender: No OFD packet to send [17:32:01]OFD Sender: No OFD packet to send [17:32:06]OFD Sender: No OFD packet to send [17:32:11]OFD Sender: No OFD packet to send [17:32:16]OFD Sender: No OFD packet to send [17:32:21]OFD Sender: No OFD packet to send [17:32:26]OFD Sender: No OFD packet to send [17:32:31]OFD Sender: No OFD packet to send [17:32:36]OFD Sender: No OFD packet to send [17:32:41]OFD Sender: No OFD packet to send [17:32:46]OFD Sender: No OFD packet to send [17:32:51]OFD Sender: No OFD packet to send [17:32:56]OFD Sender: No OFD packet to send [17:33:01]OFD Sender: No OFD packet to send [17:33:06]OFD Sender: No OFD packet to send [17:33:11]OFD Sender: No OFD packet to send [17:33:16]OFD Sender: No OFD packet to send [17:33:21]OFD Sender: No OFD packet to send [17:33:26]OFD Sender: No OFD packet to send [17:33:31]OFD Sender: No OFD packet to send [17:33:36]OFD Sender: No OFD packet to send [17:33:41]OFD Sender: No OFD packet to send [17:33:46]OFD Sender: No OFD packet to send [17:33:51]OFD Sender: No OFD packet to send [17:33:56]OFD Sender: No OFD packet to send [17:34:01]OFD Sender: No OFD packet to send [17:34:06]OFD Sender: No OFD packet to send [17:34:11]OFD Sender: No OFD packet to send [17:34:16]OFD Sender: No OFD packet to send [17:34:21]OFD Sender: No OFD packet to send [17:34:26]OFD Sender: No OFD packet to send [17:34:31]OFD Sender: No OFD packet to send [17:34:36]OFD Sender: No OFD packet to send [17:34:41]OFD Sender: No OFD packet to send [17:34:46]OFD Sender: No OFD packet to send [17:34:51]OFD Sender: No OFD packet to send [17:34:56]OFD Sender: No OFD packet to send [17:35:01]OFD Sender: No OFD packet to send [17:35:06]OFD Sender: No OFD packet to send [17:35:11]OFD Sender: No OFD packet to send [17:35:16]OFD Sender: No OFD packet to send [17:35:21]OFD Sender: No OFD packet to send [17:35:26]OFD Sender: No OFD packet to send [17:35:31]OFD Sender: No OFD packet to send [17:35:36]OFD Sender: No OFD packet to send [17:35:41]OFD Sender: No OFD packet to send [17:35:46]OFD Sender: No OFD packet to send [17:35:51]OFD Sender: No OFD packet to send [17:35:56]OFD Sender: No OFD packet to send [17:36:01]OFD Sender: No OFD packet to send [17:36:06]OFD Sender: No OFD packet to send [17:36:11]OFD Sender: No OFD packet to send [17:36:16]OFD Sender: No OFD packet to send [17:36:21]OFD Sender: No OFD packet to send [17:36:26]OFD Sender: No OFD packet to send [17:36:31]OFD Sender: No OFD packet to send [17:36:36]OFD Sender: No OFD packet to send [17:36:41]OFD Sender: No OFD packet to send [17:36:46]OFD Sender: No OFD packet to send [17:36:51]OFD Sender: No OFD packet to send [17:36:56]OFD Sender: No OFD packet to send [17:37:01]OFD Sender: No OFD packet to send [17:37:06]OFD Sender: No OFD packet to send [17:37:11]OFD Sender: No OFD packet to send [17:37:16]OFD Sender: No OFD packet to send [17:37:21]OFD Sender: No OFD packet to send [17:37:26]OFD Sender: No OFD packet to send [17:37:31]OFD Sender: No OFD packet to send [17:37:36]OFD Sender: No OFD packet to send [17:37:41]OFD Sender: No OFD packet to send [17:37:46]OFD Sender: No OFD packet to send [17:37:51]OFD Sender: No OFD packet to send [17:37:56]OFD Sender: No OFD packet to send [17:38:01]OFD Sender: No OFD packet to send [17:38:06]OFD Sender: No OFD packet to send [17:38:11]OFD Sender: No OFD packet to send [17:38:16]OFD Sender: No OFD packet to send [17:38:21]OFD Sender: No OFD packet to send [17:38:26]OFD Sender: No OFD packet to send [17:38:31]OFD Sender: No OFD packet to send [17:38:36]OFD Sender: No OFD packet to send [17:38:41]OFD Sender: No OFD packet to send [17:38:46]OFD Sender: No OFD packet to send [17:38:51]OFD Sender: No OFD packet to send [17:38:56]OFD Sender: No OFD packet to send [17:39:01]OFD Sender: No OFD packet to send [17:39:06]OFD Sender: No OFD packet to send [17:39:11]OFD Sender: No OFD packet to send [17:39:16]OFD Sender: No OFD packet to send [17:39:21]OFD Sender: No OFD packet to send [17:39:26]OFD Sender: No OFD packet to send [17:39:31]OFD Sender: No OFD packet to send [17:39:36]OFD Sender: No OFD packet to send [17:39:41]OFD Sender: No OFD packet to send [17:39:46]OFD Sender: No OFD packet to send [17:39:51]OFD Sender: No OFD packet to send [17:39:56]OFD Sender: No OFD packet to send [17:40:01]OFD Sender: No OFD packet to send [17:40:06]OFD Sender: No OFD packet to send [17:40:11]OFD Sender: No OFD packet to send [17:40:16]OFD Sender: No OFD packet to send [17:40:21]OFD Sender: No OFD packet to send [17:40:26]OFD Sender: No OFD packet to send [17:40:31]OFD Sender: No OFD packet to send [17:40:36]OFD Sender: No OFD packet to send [17:40:41]OFD Sender: No OFD packet to send [17:40:46]OFD Sender: No OFD packet to send [17:40:51]OFD Sender: No OFD packet to send [17:40:56]OFD Sender: No OFD packet to send [17:41:01]OFD Sender: No OFD packet to send [17:41:06]OFD Sender: No OFD packet to send [17:41:11]OFD Sender: No OFD packet to send [17:41:16]OFD Sender: No OFD packet to send [17:41:21]OFD Sender: No OFD packet to send [17:41:26]OFD Sender: No OFD packet to send [17:41:31]OFD Sender: No OFD packet to send [17:41:36]OFD Sender: No OFD packet to send [17:41:41]OFD Sender: No OFD packet to send [17:41:46]OFD Sender: No OFD packet to send [17:41:51]OFD Sender: No OFD packet to send [17:41:56]OFD Sender: No OFD packet to send [17:42:01]OFD Sender: No OFD packet to send [17:42:06]OFD Sender: No OFD packet to send [17:42:11]OFD Sender: No OFD packet to send [17:42:16]OFD Sender: No OFD packet to send [17:42:21]OFD Sender: No OFD packet to send [17:42:26]OFD Sender: No OFD packet to send [17:42:31]OFD Sender: No OFD packet to send [17:42:36]OFD Sender: No OFD packet to send [17:42:41]OFD Sender: No OFD packet to send [17:42:46]OFD Sender: No OFD packet to send [17:42:51]OFD Sender: No OFD packet to send [17:42:56]OFD Sender: No OFD packet to send [17:43:01]OFD Sender: No OFD packet to send [17:43:06]OFD Sender: No OFD packet to send [17:43:11]OFD Sender: No OFD packet to send [17:43:16]OFD Sender: No OFD packet to send [17:43:21]OFD Sender: No OFD packet to send [17:43:26]OFD Sender: No OFD packet to send [17:43:31]OFD Sender: No OFD packet to send [17:43:36]OFD Sender: No OFD packet to send [17:43:41]OFD Sender: No OFD packet to send [17:43:46]OFD Sender: No OFD packet to send [17:43:51]OFD Sender: No OFD packet to send [17:43:56]OFD Sender: No OFD packet to send [17:44:01]OFD Sender: No OFD packet to send [17:44:06]OFD Sender: No OFD packet to send [17:44:11]OFD Sender: No OFD packet to send [17:44:16]OFD Sender: No OFD packet to send [17:44:21]OFD Sender: No OFD packet to send [17:44:26]OFD Sender: No OFD packet to send [17:44:31]OFD Sender: No OFD packet to send [17:44:36]OFD Sender: No OFD packet to send [17:44:41]OFD Sender: No OFD packet to send [17:44:46]OFD Sender: No OFD packet to send [17:44:51]OFD Sender: No OFD packet to send [17:44:56]OFD Sender: No OFD packet to send [17:45:01]OFD Sender: No OFD packet to send [17:45:06]OFD Sender: No OFD packet to send [17:45:11]OFD Sender: No OFD packet to send [17:45:16]OFD Sender: No OFD packet to send [17:45:21]OFD Sender: No OFD packet to send [17:45:26]OFD Sender: No OFD packet to send [17:45:31]OFD Sender: No OFD packet to send [17:45:36]OFD Sender: No OFD packet to send [17:45:41]OFD Sender: No OFD packet to send [17:45:45]accept exits with 8 [17:45:45]New connection [17:45:45]New thread 3067084132 created [17:45:45]Thread 3066940772 joined [17:45:45]Waiting for new connection... [17:45:45] Sock 8.Parse request [17:45:45]Sock 8.Check first char [17:45:45]Sock 8.First char is OK [17:45:45]request: POST /json_proto HTTP/1.0 [17:45:45]Method: POST [17:45:45]URL: /json_proto [17:45:45]Method is POST - this is cgi request [17:45:45]url: /json_proto [17:45:45]query_string will be loaded in cgi processing [17:45:45]execute_cgi json_proto POST (null) [17:45:45]execute_cgi path=json_proto method=POST [17:45:45]POST find Content-Length [17:45:45]Host: 172.17.50.4:8080 [17:45:45]Content-Length: 666 [17:45:45]Content-Type: application/json [17:45:45] [17:45:45]POST finish read [17:45:45]Found Content-Length = 666 [17:45:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134876", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 99.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:45:45]execute_script... [17:45:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134876", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 99.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:45:45]POST & json_proto [17:45:45]process_json_proto [17:45:45]json parsed OK: [17:45:45]protocol is kg_v1.0 [17:45:45]action value=close_receipt [17:45:45]process_action close_receipt [17:45:45]cmd_close_receipt [17:45:45]MH_GetDate [17:45:45]Write to MH i2c: F0 00 00 6E 0E 6B [17:45:45]Write i2c OK [17:45:45]MH_I2C_Read... [17:45:45]Read from MH i2c: F0 [17:45:45]MH_I2C_Read... [17:45:45]Read from MH i2c: F0 09 00 [17:45:45]MH_I2C_Read... [17:45:45]Read from MH i2c: F0 09 00 6E 0E 00 4C 93 16 67 3B 12 16 67 9A [17:45:45]GetLastDocTimeStamp 1729531596 [17:45:45]current date 1729532748 [17:45:45]FM_GetShiftState [17:45:45]SAM_PROTO_GetShiftState [17:45:45]wFMCommunicate request_size=4 [17:45:45]MH_SAM_APDU [17:45:45]CAPDU: 80 13 01 00 [17:45:45]Write to MH i2c: E2 08 00 6F 0E 80 13 01 00 00 00 00 00 FA [17:45:45]Write i2c OK [17:45:45]MH_I2C_Read... [17:45:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:45:45]Read from MH i2c: E2 [17:45:45]MH_I2C_Read... [17:45:45]Read from MH i2c: E2 0E 00 [17:45:45]MH_I2C_Read... [17:45:45]Read from MH i2c: E2 0E 00 6F 0E 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 44 [17:45:45]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [17:45:45]wFMCommunicate OK [17:45:45]SAM_PROTO_GetShiftState done [17:45:45]FM_GetShiftState done [17:45:45]opened in 1729469223 [17:45:45]opened+sec_in_day 1729555623 [17:45:45]quantity*price = 9900 [17:45:45]sum+1 = 9901 [17:45:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 99.00 НСП 1% : 0.88 НДС 12% : 10.51 Наличными: 99.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 59 21.10.2024 17:45 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24355 ФПД: 127846569611918 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T174548&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24355&fm=127846569611918&tin=02508201610067®Number=0000000000098120&sum=9900 0 [17:45:47]StoreToDocumentArchive [17:45:47]shift 461 fd 24355 [17:45:47]save to /storage/0461/doc_00024355 [17:45:47]save last doc name /storage/0461/doc_00024355 to /storage/kkm_last_doc_name [17:45:47]save OK [17:45:47]Clear old archive folders... [17:45:47]ProcessDocumentItem done err = 0, tmpTLVsize=293 [17:45:47]tlvbuf is 00344EF0 [17:45:47]SAM_PROTO_ClearQueue [17:45:47]wFMCommunicate request_size=4 [17:45:47]MH_SAM_APDU [17:45:47]CAPDU: 80 09 00 00 [17:45:47]Write to MH i2c: E2 08 00 7C 0E 80 09 00 00 00 00 00 00 FC [17:45:47]Write i2c OK [17:45:47]MH_I2C_Read... [17:45:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:45:47]Read from MH i2c: E2 [17:45:47]MH_I2C_Read... [17:45:47]Read from MH i2c: E2 03 00 [17:45:47]MH_I2C_Read... [17:45:47]Read from MH i2c: E2 03 00 7C 0E 00 90 00 FE [17:45:47]RAPDU: 90 00 [17:45:47]wFMCommunicate OK [17:45:47]SAM_PROTO_ClearQueue done [17:45:47]KKMCreateOFDPacket [17:45:47]OFDProtocolAddRootSTLVToBuf [17:45:47]FM_MakeSignedData [17:45:47]FM_MakeSignedData [17:45:47]SAM_PROTO_SignData [17:45:47]wFMCommunicate request_size=4 [17:45:47]MH_SAM_APDU [17:45:47]CAPDU: 80 0D 01 02 [17:45:47]Write to MH i2c: E2 08 00 7D 0E 80 0D 01 02 00 00 00 00 04 [17:45:47]Write i2c OK [17:45:47]MH_I2C_Read... [17:45:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:45:47]Read from MH i2c: E2 [17:45:47]MH_I2C_Read... [17:45:47]Read from MH i2c: E2 03 00 [17:45:47]MH_I2C_Read... [17:45:47]Read from MH i2c: E2 03 00 7D 0E 00 90 00 FF [17:45:47]RAPDU: 90 00 [17:45:47]wFMCommunicate OK [17:45:47]wFMCommunicate request_size=255 [17:45:47]MH_SAM_APDU [17:45:47]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 04 00 00 00 00 07 04 06 00 AC 26 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 4C 93 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [17:45:47]Write to MH i2c: E2 02 01 7E 0E 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 04 00 00 00 00 07 04 06 00 AC 26 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 4C 93 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 C5 [17:45:47]Write i2c OK [17:45:47]MH_I2C_Read... [17:45:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:45:47]Read from MH i2c: E2 [17:45:47]MH_I2C_Read... [17:45:47]Read from MH i2c: E2 03 00 [17:45:47]MH_I2C_Read... [17:45:47]Read from MH i2c: E2 03 00 7E 0E 00 90 00 00 [17:45:47]RAPDU: 90 00 [17:45:47]wFMCommunicate OK [17:45:47]wFMCommunicate request_size=52 [17:45:47]MH_SAM_APDU [17:45:47]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 23 5F 00 00 35 04 06 00 74 46 99 5E 12 8E [17:45:47]Write to MH i2c: E2 37 00 7F 0E 80 0D 02 02 2F 00 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 23 5F 00 00 35 04 06 00 74 46 99 5E 12 8E 00 00 92 [17:45:47]Write i2c OK [17:45:47]MH_I2C_Read... [17:45:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:45:47]Read from MH i2c: E2 [17:45:47]MH_I2C_Read... [17:45:47]Read from MH i2c: E2 03 00 [17:45:47]MH_I2C_Read... [17:45:47]Read from MH i2c: E2 03 00 7F 0E 00 90 00 01 [17:45:47]RAPDU: 90 00 [17:45:47]wFMCommunicate OK [17:45:47]wFMCommunicate request_size=4 [17:45:47]MH_SAM_APDU [17:45:47]CAPDU: 80 0D 03 02 [17:45:47]Write to MH i2c: E2 08 00 80 0E 80 0D 03 02 00 00 00 00 09 [17:45:47]Write i2c OK [17:45:47]MH_I2C_Read... [17:45:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:45:47]Read from MH i2c: E2 [17:45:47]MH_I2C_Read... [17:45:47]Read from MH i2c: E2 0B 00 [17:45:47]MH_I2C_Read... [17:45:47]Read from MH i2c: E2 0B 00 80 0E 00 B8 CD 07 3B BC 66 80 EE 90 00 61 [17:45:47]RAPDU: B8 CD 07 3B BC 66 80 EE 90 00 [17:45:47]wFMCommunicate OK [17:45:47]SAM_PROTO_SignData done [17:45:47]FM_MakeSignedData done [17:45:47]CreateOFDProtocolMessage [17:45:47]wFMCommunicate request_size=4 [17:45:47]MH_SAM_APDU [17:45:47]CAPDU: 80 11 00 00 [17:45:47]Write to MH i2c: E2 08 00 81 0E 80 11 00 00 00 00 00 00 09 [17:45:47]Write i2c OK [17:45:47]MH_I2C_Read... [17:45:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:45:47]Read from MH i2c: E2 [17:45:47]MH_I2C_Read... [17:45:47]Read from MH i2c: E2 17 00 [17:45:47]MH_I2C_Read... [17:45:47]Read from MH i2c: E2 17 00 81 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 56 [17:45:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:45:47]wFMCommunicate OK [17:45:47]CreateOFDProtocolMessage done [17:45:47]OFDSenderStorePacket 24355 [17:45:47]StoreOFDPacket docnum=24355 [17:45:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 39 01 00 00 23 08 31 01 8C BA 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 04 00 00 00 00 07 04 06 00 AC 26 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 4C 93 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 23 5F 00 00 35 04 06 00 74 46 99 5E 12 8E B8 CD 07 3B BC 66 80 EE [17:45:47]CheckFolder [17:45:47]dirname=/storage/ofd_packets [17:45:47]CheckFolder done [17:45:47]ProducePacketName [17:45:47]name=ofd_packets/00024355 [17:45:47]NVStorageSaveData ofd_packets/00024355 [17:45:47]File name is /storage/ofd_packets/00024355 [17:45:47]Write 343 bytes [17:45:47]NVStorageSaveData done [17:45:47]OFDSenderStorePacket done [17:45:47]KKMCreateOFDPacket done [17:45:47]NVStorageSaveData kkm_last_timestamp [17:45:47]File name is /storage/kkm_last_timestamp [17:45:47]Write 4 bytes [17:45:47]NVStorageSaveData done [17:45:47]ExternCall_PrintAddStr [17:45:47]wPrintStart [17:45:47]Write to MH i2c: 01 00 00 82 0E 90 [17:45:47]Write i2c OK [17:45:47]MH_I2C_Read... [17:45:47]Read from MH i2c: 01 [17:45:47]MH_I2C_Read... [17:45:47]Read from MH i2c: 01 07 00 [17:45:47]MH_I2C_Read... [17:45:47]Read from MH i2c: 01 07 00 82 0E 00 00 00 00 00 FF 0F A5 [17:45:47]RasterBufferAndPrint [17:45:47]line Счет N : (3)134876 [17:45:47]line ИНН: 02508201610067 [17:45:47]line Контрольно-Кассовый Чек [17:45:47]line ПРОДАЖА [17:45:47]line Товар: 4870022003305 [17:45:47]line Напиток Gorilla эн нат ж/б 0,5/0,45л [17:45:47]line 1.000 * 99.00 [17:45:47]line = 99.00 [17:45:47]line НДС 12% НСП 1% [17:45:47]line > о реализуемом товаре [17:45:47]line ИТОГО: 99.00 [17:45:47]line НСП 1% : 0.88 [17:45:47]line НДС 12% : 10.51 [17:45:47]line Наличными: 99.00 [17:45:47]line Безнал.: 0.00 [17:45:47]line Место: АЗС № 85 "Партнер Нефть" [17:45:47]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [17:45:47]line СНО: Общий режим [17:45:47]line Чек 59 21.10.2024 17:45 [17:45:47]line Смена: 461 ФФД: 1.0 [17:45:47]line ЗНМ: 0300000166 [17:45:47]line РНМ: 0000000000098120 [17:45:47]line Версия ККМ: 001 [17:45:47]line ФМ: 0000000000965420 [17:45:47]line ФД: 24355 [17:45:47]line ФПД: 127846569611918 [17:45:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T174548&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24355&fm=127846569611918&tin=02508201610067®Number=0000000000098120&sum=9900 [17:45:47]OFD Sender: Processing packet 24355 [packets to send 5, broken 4] [17:45:47]ProducePacketName [17:45:47]name=ofd_packets/00024355 [17:45:47]OFD Sender: To server: pG, [17:45:47]CommunicateWithHost lk.salyk.kg:30040 [17:45:47]ConnectInit lk.salyk.kg [17:45:47]line 0 [17:45:47]written 0, free lines is 4095 [17:45:48]Connected sock=10 [17:45: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 34 32 30 39 01 00 00 23 08 31 01 8C BA 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 04 00 00 00 00 07 04 06 00 AC 26 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 4C 93 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 23 5F 00 00 35 04 06 00 74 46 99 5E 12 8E B8 CD 07 3B BC 66 80 EE [17:45:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 08 9E 47 00 19 4B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 34 32 30 10 04 04 00 23 5F 00 00 F4 03 04 00 F2 3E 16 67 B6 04 01 00 00 96 B4 B2 9F 10 02 8B 3F [17:45:48]CommunicateWithHost err = 0 [17:45:48]CheckOFDResponse [17:45:48]1017 (14) - 77093643461234 [17:45:48]1041 (16) - 0000000000965420 [17:45:48]1040 (4) - 24355 [17:45:48]1012 (4) - 21.10.2024 11:45 [17:45:48]1206 (1) - 0 [17:45:48]OFD Sender: Remove packet 24355 [17:45:48]ProducePacketName [17:45:48]name=ofd_packets/00024355 [17:45:48]NVStorageDeleteData [17:45:48]Write to MH i2c: 01 00 00 AB 0E B9 [17:45:48]Write i2c OK [17:45:48]MH_I2C_Read... [17:45:48]Read from MH i2c: 01 [17:45:48]MH_I2C_Read... [17:45:48]Read from MH i2c: 01 07 00 [17:45:48]MH_I2C_Read... [17:45:48]Read from MH i2c: 01 07 00 AB 0E 00 00 00 00 00 19 0D E6 [17:45:48]RasterBufferAndPrint [17:45:48]line [17:45:48]line [17:45:48]line [17:45:48]line [17:45:48]line [17:45:48]written 0, free lines is 3359 [17:45:48]process_action close_receipt done [17:45:48]requested_data is exist [17:45:48]produce_requested_data [17:45:48]requested_item fm.sn is exist - process it [17:45:48]wFMCommunicate request_size=4 [17:45:48]MH_SAM_APDU [17:45:48]CAPDU: 80 11 00 00 [17:45:48]Write to MH i2c: E2 08 00 B2 0E 80 11 00 00 00 00 00 00 3A [17:45:48]Write i2c OK [17:45:48]MH_I2C_Read... [17:45:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:45:48]Read from MH i2c: E2 [17:45:48]MH_I2C_Read... [17:45:48]Read from MH i2c: E2 17 00 [17:45:48]MH_I2C_Read... [17:45:48]Read from MH i2c: E2 17 00 B2 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 87 [17:45:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:45:48]wFMCommunicate OK [17:45:48]requested_item fd.num is exist - process it [17:45:48]SAM_PROTO_GetFieldsCounters [17:45:48]wFMCommunicate request_size=4 [17:45:48]MH_SAM_APDU [17:45:48]CAPDU: 80 13 00 00 [17:45:48]Write to MH i2c: E2 08 00 B3 0E 80 13 00 00 00 00 00 00 3D [17:45:48]Write i2c OK [17:45:48]MH_I2C_Read... [17:45:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:45:48]Read from MH i2c: E2 [17:45:48]MH_I2C_Read... [17:45:48]Read from MH i2c: E2 62 00 [17:45:48]MH_I2C_Read... [17:45:48]Read from MH i2c: E2 62 00 B3 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 23 5F 00 00 0E 04 04 00 CD 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 54 [17:45: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 23 5F 00 00 0E 04 04 00 CD 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 [17:45:48]wFMCommunicate OK [17:45:48]SAM_PROTO_GetFieldsCounters done [17:45:48]requested_item shift.num is exist - process it [17:45:48]requested_item shift.opened is exist - process it [17:45:48]req_shift_opened [17:45:48]FM_GetShiftState [17:45:48]SAM_PROTO_GetShiftState [17:45:48]wFMCommunicate request_size=4 [17:45:48]MH_SAM_APDU [17:45:48]CAPDU: 80 13 01 00 [17:45:48]Write to MH i2c: E2 08 00 B4 0E 80 13 01 00 00 00 00 00 3F [17:45:48]Write i2c OK [17:45:48]MH_I2C_Read... [17:45:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:45:48]Read from MH i2c: E2 [17:45:48]MH_I2C_Read... [17:45:48]Read from MH i2c: E2 0E 00 [17:45:48]MH_I2C_Read... [17:45:48]Read from MH i2c: E2 0E 00 B4 0E 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 89 [17:45:48]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [17:45:48]wFMCommunicate OK [17:45:48]SAM_PROTO_GetShiftState done [17:45:48]FM_GetShiftState done [17:45:48]req_shift_opened done [17:45:48]requested_item shift.open_date is exist - process it [17:45:48]req_shift_open_date [17:45:48]req_shift_open_date done [17:45:48]produce_requested_data done [17:45:48]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24355,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [17:45:48]process_action_free close_receipt [17:45:48]json_value_free [17:45:48]json_value_free done [17:45:48]process_json_proto returns [17:45:48]Send response to host [17:45:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24355,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [17:45:48]free response buf [17:45:48]execute_script done [17:45:48]execute_script returns [17:45:48]free content buf [17:45:48]Sock 8.Close socket [17:45:48]Sock 8.Thread stoped [17:45:48]OFD Sender: No OFD packet to send [17:45:53]OFD Sender: No OFD packet to send [17:45:58]OFD Sender: No OFD packet to send [17:46:03]OFD Sender: No OFD packet to send [17:46:08]OFD Sender: No OFD packet to send [17:46:13]OFD Sender: No OFD packet to send [17:46:18]OFD Sender: No OFD packet to send [17:46:23]OFD Sender: No OFD packet to send [17:46:28]OFD Sender: No OFD packet to send [17:46:33]OFD Sender: No OFD packet to send [17:46:38]OFD Sender: No OFD packet to send [17:46:43]OFD Sender: No OFD packet to send [17:46:48]OFD Sender: No OFD packet to send [17:46:53]OFD Sender: No OFD packet to send [17:46:58]OFD Sender: No OFD packet to send [17:47:03]OFD Sender: No OFD packet to send [17:47:08]OFD Sender: No OFD packet to send [17:47:13]OFD Sender: No OFD packet to send [17:47:18]OFD Sender: No OFD packet to send [17:47:23]OFD Sender: No OFD packet to send [17:47:28]OFD Sender: No OFD packet to send [17:47:33]OFD Sender: No OFD packet to send [17:47:38]OFD Sender: No OFD packet to send [17:47:43]OFD Sender: No OFD packet to send [17:47:48]OFD Sender: No OFD packet to send [17:47:53]OFD Sender: No OFD packet to send [17:47:58]OFD Sender: No OFD packet to send [17:48:03]OFD Sender: No OFD packet to send [17:48:08]OFD Sender: No OFD packet to send [17:48:13]OFD Sender: No OFD packet to send [17:48:18]OFD Sender: No OFD packet to send [17:48:23]OFD Sender: No OFD packet to send [17:48:28]OFD Sender: No OFD packet to send [17:48:33]OFD Sender: No OFD packet to send [17:48:38]OFD Sender: No OFD packet to send [17:48:43]OFD Sender: No OFD packet to send [17:48:48]OFD Sender: No OFD packet to send [17:48:53]OFD Sender: No OFD packet to send [17:48:58]OFD Sender: No OFD packet to send [17:49:03]OFD Sender: No OFD packet to send [17:49:08]OFD Sender: No OFD packet to send [17:49:13]OFD Sender: No OFD packet to send [17:49:18]OFD Sender: No OFD packet to send [17:49:23]OFD Sender: No OFD packet to send [17:49:28]OFD Sender: No OFD packet to send [17:49:33]OFD Sender: No OFD packet to send [17:49:38]OFD Sender: No OFD packet to send [17:49:43]OFD Sender: No OFD packet to send [17:49:48]OFD Sender: No OFD packet to send [17:49:53]OFD Sender: No OFD packet to send [17:49:58]OFD Sender: No OFD packet to send [17:50:03]OFD Sender: No OFD packet to send [17:50:08]OFD Sender: No OFD packet to send [17:50:13]OFD Sender: No OFD packet to send [17:50:18]OFD Sender: No OFD packet to send [17:50:23]OFD Sender: No OFD packet to send [17:50:29]OFD Sender: No OFD packet to send [17:50:34]OFD Sender: No OFD packet to send [17:50:39]OFD Sender: No OFD packet to send [17:50:44]OFD Sender: No OFD packet to send [17:50:49]OFD Sender: No OFD packet to send [17:50:54]OFD Sender: No OFD packet to send [17:50:59]OFD Sender: No OFD packet to send [17:51:04]OFD Sender: No OFD packet to send [17:51:09]OFD Sender: No OFD packet to send [17:51:14]OFD Sender: No OFD packet to send [17:51:19]OFD Sender: No OFD packet to send [17:51:24]OFD Sender: No OFD packet to send [17:51:29]OFD Sender: No OFD packet to send [17:51:34]OFD Sender: No OFD packet to send [17:51:39]OFD Sender: No OFD packet to send [17:51:44]OFD Sender: No OFD packet to send [17:51:49]OFD Sender: No OFD packet to send [17:51:54]OFD Sender: No OFD packet to send [17:51:59]OFD Sender: No OFD packet to send [17:52:04]OFD Sender: No OFD packet to send [17:52:09]OFD Sender: No OFD packet to send [17:52:14]OFD Sender: No OFD packet to send [17:52:19]OFD Sender: No OFD packet to send [17:52:24]OFD Sender: No OFD packet to send [17:52:29]OFD Sender: No OFD packet to send [17:52:34]OFD Sender: No OFD packet to send [17:52:39]OFD Sender: No OFD packet to send [17:52:44]OFD Sender: No OFD packet to send [17:52:49]OFD Sender: No OFD packet to send [17:52:54]OFD Sender: No OFD packet to send [17:52:59]OFD Sender: No OFD packet to send [17:53:04]OFD Sender: No OFD packet to send [17:53:09]OFD Sender: No OFD packet to send [17:53:14]OFD Sender: No OFD packet to send [17:53:19]OFD Sender: No OFD packet to send [17:53:24]OFD Sender: No OFD packet to send [17:53:29]OFD Sender: No OFD packet to send [17:53:34]OFD Sender: No OFD packet to send [17:53:39]OFD Sender: No OFD packet to send [17:53:44]OFD Sender: No OFD packet to send [17:53:49]OFD Sender: No OFD packet to send [17:53:54]OFD Sender: No OFD packet to send [17:53:59]OFD Sender: No OFD packet to send [17:54:04]OFD Sender: No OFD packet to send [17:54:09]OFD Sender: No OFD packet to send [17:54:14]OFD Sender: No OFD packet to send [17:54:19]OFD Sender: No OFD packet to send [17:54:24]OFD Sender: No OFD packet to send [17:54:29]OFD Sender: No OFD packet to send [17:54:34]OFD Sender: No OFD packet to send [17:54:39]OFD Sender: No OFD packet to send [17:54:44]OFD Sender: No OFD packet to send [17:54:49]OFD Sender: No OFD packet to send [17:54:54]OFD Sender: No OFD packet to send [17:54:59]OFD Sender: No OFD packet to send [17:55:04]OFD Sender: No OFD packet to send [17:55:09]OFD Sender: No OFD packet to send [17:55:14]OFD Sender: No OFD packet to send [17:55:19]OFD Sender: No OFD packet to send [17:55:24]OFD Sender: No OFD packet to send [17:55:29]OFD Sender: No OFD packet to send [17:55:34]OFD Sender: No OFD packet to send [17:55:39]OFD Sender: No OFD packet to send [17:55:44]OFD Sender: No OFD packet to send [17:55:49]OFD Sender: No OFD packet to send [17:55:54]OFD Sender: No OFD packet to send [17:55:59]OFD Sender: No OFD packet to send [17:56:04]OFD Sender: No OFD packet to send [17:56:09]OFD Sender: No OFD packet to send [17:56:14]OFD Sender: No OFD packet to send [17:56:19]OFD Sender: No OFD packet to send [17:56:24]OFD Sender: No OFD packet to send [17:56:29]OFD Sender: No OFD packet to send [17:56:34]OFD Sender: No OFD packet to send [17:56:39]OFD Sender: No OFD packet to send [17:56:44]OFD Sender: No OFD packet to send [17:56:47]accept exits with 9 [17:56:47]New connection [17:56:47]New thread 3066940772 created [17:56:47]Thread 3067084132 joined [17:56:47]Waiting for new connection... [17:56:47] Sock 9.Parse request [17:56:47]Sock 9.Check first char [17:56:47]Sock 9.First char is OK [17:56:47]request: POST /json_proto HTTP/1.0 [17:56:47]Method: POST [17:56:47]URL: /json_proto [17:56:47]Method is POST - this is cgi request [17:56:47]url: /json_proto [17:56:47]query_string will be loaded in cgi processing [17:56:47]execute_cgi json_proto POST (null) [17:56:47]execute_cgi path=json_proto method=POST [17:56:47]POST find Content-Length [17:56:47]Host: 172.17.50.4:8080 [17:56:47]Content-Length: 630 [17:56:47]Content-Type: application/json [17:56:47] [17:56:47]POST finish read [17:56:47]Found Content-Length = 630 [17:56:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134877", "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" ] } } [17:56:47]execute_script... [17:56:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134877", "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" ] } } [17:56:47]POST & json_proto [17:56:47]process_json_proto [17:56:47]json parsed OK: [17:56:47]protocol is kg_v1.0 [17:56:47]action value=close_receipt [17:56:47]process_action close_receipt [17:56:47]cmd_close_receipt [17:56:47]MH_GetDate [17:56:47]Write to MH i2c: F0 00 00 B5 0E B2 [17:56:47]Write i2c OK [17:56:47]MH_I2C_Read... [17:56:47]Read from MH i2c: F0 [17:56:47]MH_I2C_Read... [17:56:47]Read from MH i2c: F0 09 00 [17:56:47]MH_I2C_Read... [17:56:47]Read from MH i2c: F0 09 00 B5 0E 00 E2 95 16 67 3B 12 16 67 79 [17:56:47]GetLastDocTimeStamp 1729532748 [17:56:47]current date 1729533410 [17:56:47]FM_GetShiftState [17:56:47]SAM_PROTO_GetShiftState [17:56:47]wFMCommunicate request_size=4 [17:56:47]MH_SAM_APDU [17:56:47]CAPDU: 80 13 01 00 [17:56:47]Write to MH i2c: E2 08 00 B6 0E 80 13 01 00 00 00 00 00 41 [17:56:47]Write i2c OK [17:56:47]MH_I2C_Read... [17:56:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:56:47]Read from MH i2c: E2 [17:56:47]MH_I2C_Read... [17:56:47]Read from MH i2c: E2 0E 00 [17:56:47]MH_I2C_Read... [17:56:47]Read from MH i2c: E2 0E 00 B6 0E 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 8B [17:56:47]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [17:56:47]wFMCommunicate OK [17:56:47]SAM_PROTO_GetShiftState done [17:56:47]FM_GetShiftState done [17:56:47]opened in 1729469223 [17:56:47]opened+sec_in_day 1729555623 [17:56:47]quantity*price = 5000 [17:56:47]sum+1 = 5001 [17:56:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 60 21.10.2024 17:56 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24356 ФПД: 269306059885168 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T175650&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24356&fm=269306059885168&tin=02508201610067®Number=0000000000098120&sum=5000 0 [17:56:49]StoreToDocumentArchive [17:56:49]shift 461 fd 24356 [17:56:49]save to /storage/0461/doc_00024356 [17:56:49]save last doc name /storage/0461/doc_00024356 to /storage/kkm_last_doc_name [17:56:49]save OK [17:56:49]Clear old archive folders... [17:56:49]ProcessDocumentItem done err = 0, tmpTLVsize=269 [17:56:49]tlvbuf is 00344CF0 [17:56:49]SAM_PROTO_ClearQueue [17:56:49]wFMCommunicate request_size=4 [17:56:49]MH_SAM_APDU [17:56:49]CAPDU: 80 09 00 00 [17:56:49]Write to MH i2c: E2 08 00 C3 0E 80 09 00 00 00 00 00 00 43 [17:56:49]Write i2c OK [17:56:49]MH_I2C_Read... [17:56:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:56:49]Read from MH i2c: E2 [17:56:49]MH_I2C_Read... [17:56:49]Read from MH i2c: E2 03 00 [17:56:49]MH_I2C_Read... [17:56:49]Read from MH i2c: E2 03 00 C3 0E 00 90 00 45 [17:56:49]RAPDU: 90 00 [17:56:49]wFMCommunicate OK [17:56:49]SAM_PROTO_ClearQueue done [17:56:49]KKMCreateOFDPacket [17:56:49]OFDProtocolAddRootSTLVToBuf [17:56:49]FM_MakeSignedData [17:56:49]FM_MakeSignedData [17:56:49]SAM_PROTO_SignData [17:56:49]wFMCommunicate request_size=4 [17:56:49]MH_SAM_APDU [17:56:49]CAPDU: 80 0D 01 02 [17:56:49]Write to MH i2c: E2 08 00 C4 0E 80 0D 01 02 00 00 00 00 4B [17:56:49]Write i2c OK [17:56:49]MH_I2C_Read... [17:56:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:56:49]Read from MH i2c: E2 [17:56:49]MH_I2C_Read... [17:56:49]Read from MH i2c: E2 03 00 [17:56:49]MH_I2C_Read... [17:56:49]Read from MH i2c: E2 03 00 C4 0E 00 90 00 46 [17:56:49]RAPDU: 90 00 [17:56:49]wFMCommunicate OK [17:56:49]wFMCommunicate request_size=255 [17:56:49]MH_SAM_APDU [17:56:49]CAPDU: 80 0D 02 02 FA 03 00 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 3C 00 00 00 F4 03 04 00 E2 95 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [17:56:49]Write to MH i2c: E2 02 01 C5 0E 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 3C 00 00 00 F4 03 04 00 E2 95 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 5C [17:56:49]Write i2c OK [17:56:49]MH_I2C_Read... [17:56:49]OFD Sender: No OFD packet to send [17:56:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:49]Read from MH i2c: E2 [17:56:49]MH_I2C_Read... [17:56:49]Read from MH i2c: E2 03 00 [17:56:49]MH_I2C_Read... [17:56:49]Read from MH i2c: E2 03 00 C5 0E 00 90 00 47 [17:56:49]RAPDU: 90 00 [17:56:49]wFMCommunicate OK [17:56:49]wFMCommunicate request_size=28 [17:56:49]MH_SAM_APDU [17:56:49]CAPDU: 80 0D 02 02 17 36 35 34 32 30 10 04 04 00 24 5F 00 00 35 04 06 00 F4 EE B4 09 0A 70 [17:56:49]Write to MH i2c: E2 1F 00 C6 0E 80 0D 02 02 17 00 36 35 34 32 30 10 04 04 00 24 5F 00 00 35 04 06 00 F4 EE B4 09 0A 70 00 00 70 [17:56:49]Write i2c OK [17:56:49]MH_I2C_Read... [17:56:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:49]Read from MH i2c: E2 [17:56:49]MH_I2C_Read... [17:56:49]Read from MH i2c: E2 03 00 [17:56:49]MH_I2C_Read... [17:56:49]Read from MH i2c: E2 03 00 C6 0E 00 90 00 48 [17:56:49]RAPDU: 90 00 [17:56:49]wFMCommunicate OK [17:56:49]wFMCommunicate request_size=4 [17:56:49]MH_SAM_APDU [17:56:49]CAPDU: 80 0D 03 02 [17:56:49]Write to MH i2c: E2 08 00 C7 0E 80 0D 03 02 00 00 00 00 50 [17:56:49]Write i2c OK [17:56:49]MH_I2C_Read... [17:56:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:56:49]Read from MH i2c: E2 [17:56:49]MH_I2C_Read... [17:56:49]Read from MH i2c: E2 0B 00 [17:56:49]MH_I2C_Read... [17:56:49]Read from MH i2c: E2 0B 00 C7 0E 00 BA 28 51 DB 57 F7 95 83 90 00 C5 [17:56:49]RAPDU: BA 28 51 DB 57 F7 95 83 90 00 [17:56:49]wFMCommunicate OK [17:56:49]SAM_PROTO_SignData done [17:56:49]FM_MakeSignedData done [17:56:49]CreateOFDProtocolMessage [17:56:49]wFMCommunicate request_size=4 [17:56:49]MH_SAM_APDU [17:56:49]CAPDU: 80 11 00 00 [17:56:49]Write to MH i2c: E2 08 00 C8 0E 80 11 00 00 00 00 00 00 50 [17:56:49]Write i2c OK [17:56:49]MH_I2C_Read... [17:56:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:56:49]Read from MH i2c: E2 [17:56:49]MH_I2C_Read... [17:56:49]Read from MH i2c: E2 17 00 [17:56:49]MH_I2C_Read... [17:56:49]Read from MH i2c: E2 17 00 C8 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 9D [17:56:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:56:49]wFMCommunicate OK [17:56:49]CreateOFDProtocolMessage done [17:56:49]OFDSenderStorePacket 24356 [17:56:49]StoreOFDPacket docnum=24356 [17:56:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 21 01 00 00 65 6F 19 01 B1 48 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 3C 00 00 00 F4 03 04 00 E2 95 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 24 5F 00 00 35 04 06 00 F4 EE B4 09 0A 70 BA 28 51 DB 57 F7 95 83 [17:56:49]CheckFolder [17:56:49]dirname=/storage/ofd_packets [17:56:49]CheckFolder done [17:56:49]ProducePacketName [17:56:49]name=ofd_packets/00024356 [17:56:49]NVStorageSaveData ofd_packets/00024356 [17:56:49]File name is /storage/ofd_packets/00024356 [17:56:49]Write 319 bytes [17:56:49]NVStorageSaveData done [17:56:49]OFDSenderStorePacket done [17:56:49]KKMCreateOFDPacket done [17:56:49]NVStorageSaveData kkm_last_timestamp [17:56:49]File name is /storage/kkm_last_timestamp [17:56:49]Write 4 bytes [17:56:49]NVStorageSaveData done [17:56:49]ExternCall_PrintAddStr [17:56:49]wPrintStart [17:56:49]Write to MH i2c: 01 00 00 C9 0E D7 [17:56:49]Write i2c OK [17:56:49]MH_I2C_Read... [17:56:49]Read from MH i2c: 01 [17:56:49]MH_I2C_Read... [17:56:49]Read from MH i2c: 01 07 00 [17:56:49]MH_I2C_Read... [17:56:49]Read from MH i2c: 01 07 00 C9 0E 00 00 00 00 00 FF 0F EC [17:56:49]RasterBufferAndPrint [17:56:49]line Счет N : (3)134877 [17:56:49]line ИНН: 02508201610067 [17:56:49]line Контрольно-Кассовый Чек [17:56:49]line ПРОДАЖА [17:56:49]line Товар: 4700000160358 [17:56:49]line Вода Легенда 1л [17:56:49]line 1.000 * 50.00 [17:56:49]line = 50.00 [17:56:49]line НДС 12% НСП 1% [17:56:49]line > о реализуемом товаре [17:56:49]line ИТОГО: 50.00 [17:56:49]line НСП 1% : 0.44 [17:56:49]line НДС 12% : 5.31 [17:56:49]line Наличными: 50.00 [17:56:49]line Безнал.: 0.00 [17:56:49]line Место: АЗС № 85 "Партнер Нефть" [17:56:49]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [17:56:49]line СНО: Общий режим [17:56:49]line Чек 60 21.10.2024 17:56 [17:56:49]line Смена: 461 ФФД: 1.0 [17:56:49]line ЗНМ: 0300000166 [17:56:49]line РНМ: 0000000000098120 [17:56:49]line Версия ККМ: 001 [17:56:49]line ФМ: 0000000000965420 [17:56:49]line ФД: 24356 [17:56:49]line ФПД: 269306059885168 [17:56:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T175650&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24356&fm=269306059885168&tin=02508201610067®Number=0000000000098120&sum=5000 [17:56:49]line 0 [17:56:49]OFD Sender: Processing packet 24356 [packets to send 5, broken 4] [17:56:49]ProducePacketName [17:56:49]name=ofd_packets/00024356 [17:56:49]OFD Sender: To server: pG, [17:56:49]CommunicateWithHost lk.salyk.kg:30040 [17:56:49]ConnectInit lk.salyk.kg [17:56:49]written 0, free lines is 4095 [17:56:50]Connected sock=10 [17:56:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 21 01 00 00 65 6F 19 01 B1 48 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 3C 00 00 00 F4 03 04 00 E2 95 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 24 5F 00 00 35 04 06 00 F4 EE B4 09 0A 70 BA 28 51 DB 57 F7 95 83 [17:56:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 8E 95 47 00 D8 3D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 24 5F 00 00 F4 03 04 00 88 41 16 67 B6 04 01 00 00 F6 3E 6D F5 E5 2D C3 1E [17:56:50]CommunicateWithHost err = 0 [17:56:50]CheckOFDResponse [17:56:50]1017 (14) - 77093643461234 [17:56:50]1041 (16) - 0000000000965420 [17:56:50]1040 (4) - 24356 [17:56:50]1012 (4) - 21.10.2024 11:56 [17:56:50]1206 (1) - 0 [17:56:50]OFD Sender: Remove packet 24356 [17:56:50]ProducePacketName [17:56:50]name=ofd_packets/00024356 [17:56:50]NVStorageDeleteData [17:56:50]Write to MH i2c: 01 00 00 F1 0E FF [17:56:50]Write i2c OK [17:56:50]MH_I2C_Read... [17:56:50]Read from MH i2c: 01 [17:56:50]MH_I2C_Read... [17:56:50]Read from MH i2c: 01 07 00 [17:56:50]MH_I2C_Read... [17:56:50]Read from MH i2c: 01 07 00 F1 0E 00 00 00 00 00 23 0D 36 [17:56:50]RasterBufferAndPrint [17:56:50]line [17:56:50]line [17:56:50]line [17:56:50]line [17:56:50]line [17:56:50]written 0, free lines is 3369 [17:56:50]process_action close_receipt done [17:56:50]requested_data is exist [17:56:50]produce_requested_data [17:56:50]requested_item fm.sn is exist - process it [17:56:50]wFMCommunicate request_size=4 [17:56:50]MH_SAM_APDU [17:56:50]CAPDU: 80 11 00 00 [17:56:50]Write to MH i2c: E2 08 00 F8 0E 80 11 00 00 00 00 00 00 80 [17:56:50]Write i2c OK [17:56:50]MH_I2C_Read... [17:56:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:56:50]Read from MH i2c: E2 [17:56:50]MH_I2C_Read... [17:56:50]Read from MH i2c: E2 17 00 [17:56:50]MH_I2C_Read... [17:56:50]Read from MH i2c: E2 17 00 F8 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 CD [17:56:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:56:50]wFMCommunicate OK [17:56:50]requested_item fd.num is exist - process it [17:56:50]SAM_PROTO_GetFieldsCounters [17:56:50]wFMCommunicate request_size=4 [17:56:50]MH_SAM_APDU [17:56:50]CAPDU: 80 13 00 00 [17:56:50]Write to MH i2c: E2 08 00 F9 0E 80 13 00 00 00 00 00 00 83 [17:56:50]Write i2c OK [17:56:50]MH_I2C_Read... [17:56:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:56:50]Read from MH i2c: E2 [17:56:50]MH_I2C_Read... [17:56:50]Read from MH i2c: E2 62 00 [17:56:50]MH_I2C_Read... [17:56:50]Read from MH i2c: E2 62 00 F9 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 24 5F 00 00 0E 04 04 00 CD 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 9E [17:56:50]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 24 5F 00 00 0E 04 04 00 CD 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 [17:56:50]wFMCommunicate OK [17:56:50]SAM_PROTO_GetFieldsCounters done [17:56:50]requested_item shift.num is exist - process it [17:56:50]requested_item shift.opened is exist - process it [17:56:50]req_shift_opened [17:56:50]FM_GetShiftState [17:56:50]SAM_PROTO_GetShiftState [17:56:50]wFMCommunicate request_size=4 [17:56:50]MH_SAM_APDU [17:56:50]CAPDU: 80 13 01 00 [17:56:50]Write to MH i2c: E2 08 00 FA 0E 80 13 01 00 00 00 00 00 85 [17:56:50]Write i2c OK [17:56:50]MH_I2C_Read... [17:56:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:56:50]Read from MH i2c: E2 [17:56:50]MH_I2C_Read... [17:56:50]Read from MH i2c: E2 0E 00 [17:56:50]MH_I2C_Read... [17:56:50]Read from MH i2c: E2 0E 00 FA 0E 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 CF [17:56:50]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [17:56:50]wFMCommunicate OK [17:56:50]SAM_PROTO_GetShiftState done [17:56:50]FM_GetShiftState done [17:56:50]req_shift_opened done [17:56:50]requested_item shift.open_date is exist - process it [17:56:50]req_shift_open_date [17:56:50]req_shift_open_date done [17:56:50]produce_requested_data done [17:56:50]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24356,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [17:56:50]process_action_free close_receipt [17:56:50]json_value_free [17:56:50]json_value_free done [17:56:50]process_json_proto returns [17:56:50]Send response to host [17:56:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24356,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [17:56:50]free response buf [17:56:50]execute_script done [17:56:50]execute_script returns [17:56:50]free content buf [17:56:50]Sock 9.Close socket [17:56:50]Sock 9.Thread stoped [17:56:50]OFD Sender: No OFD packet to send [17:56:55]OFD Sender: No OFD packet to send [17:57:00]OFD Sender: No OFD packet to send [17:57:05]OFD Sender: No OFD packet to send [17:57:10]OFD Sender: No OFD packet to send [17:57:15]OFD Sender: No OFD packet to send [17:57:20]OFD Sender: No OFD packet to send [17:57:25]OFD Sender: No OFD packet to send [17:57:30]OFD Sender: No OFD packet to send [17:57:35]OFD Sender: No OFD packet to send [17:57:40]OFD Sender: No OFD packet to send [17:57:45]OFD Sender: No OFD packet to send [17:57:50]OFD Sender: No OFD packet to send [17:57:55]OFD Sender: No OFD packet to send [17:58:00]OFD Sender: No OFD packet to send [17:58:05]OFD Sender: No OFD packet to send [17:58:10]OFD Sender: No OFD packet to send [17:58:15]OFD Sender: No OFD packet to send [17:58:20]OFD Sender: No OFD packet to send [17:58:25]OFD Sender: No OFD packet to send [17:58:30]OFD Sender: No OFD packet to send [17:58:35]OFD Sender: No OFD packet to send [17:58:40]OFD Sender: No OFD packet to send [17:58:45]OFD Sender: No OFD packet to send [17:58:50]OFD Sender: No OFD packet to send [17:58:55]OFD Sender: No OFD packet to send [17:59:00]OFD Sender: No OFD packet to send [17:59:05]OFD Sender: No OFD packet to send [17:59:10]OFD Sender: No OFD packet to send [17:59:15]OFD Sender: No OFD packet to send [17:59:20]OFD Sender: No OFD packet to send [17:59:24]accept exits with 8 [17:59:24]New connection [17:59:24]New thread 3067084132 created [17:59:24]Thread 3066940772 joined [17:59:24]Waiting for new connection... [17:59:24] Sock 8.Parse request [17:59:24]Sock 8.Check first char [17:59:24]Sock 8.First char is OK [17:59:24]request: POST /json_proto HTTP/1.0 [17:59:24]Method: POST [17:59:24]URL: /json_proto [17:59:24]Method is POST - this is cgi request [17:59:24]url: /json_proto [17:59:24]query_string will be loaded in cgi processing [17:59:24]execute_cgi json_proto POST (null) [17:59:24]execute_cgi path=json_proto method=POST [17:59:24]POST find Content-Length [17:59:24]Host: 172.17.50.4:8080 [17:59:24]Content-Length: 644 [17:59:24]Content-Type: application/json [17:59:24] [17:59:24]POST finish read [17:59:24]Found Content-Length = 644 [17:59:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134878", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:59:24]execute_script... [17:59: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)134878", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:59:24]POST & json_proto [17:59:24]process_json_proto [17:59:24]json parsed OK: [17:59:24]protocol is kg_v1.0 [17:59:24]action value=close_receipt [17:59:24]process_action close_receipt [17:59:24]cmd_close_receipt [17:59:24]MH_GetDate [17:59:24]Write to MH i2c: F0 00 00 FB 0E F8 [17:59:24]Write i2c OK [17:59:24]MH_I2C_Read... [17:59:24]Read from MH i2c: F0 [17:59:24]MH_I2C_Read... [17:59:24]Read from MH i2c: F0 09 00 [17:59:24]MH_I2C_Read... [17:59:24]Read from MH i2c: F0 09 00 FB 0E 00 7F 96 16 67 3B 12 16 67 5D [17:59:24]GetLastDocTimeStamp 1729533410 [17:59:24]current date 1729533567 [17:59:24]FM_GetShiftState [17:59:24]SAM_PROTO_GetShiftState [17:59:24]wFMCommunicate request_size=4 [17:59:24]MH_SAM_APDU [17:59:24]CAPDU: 80 13 01 00 [17:59:24]Write to MH i2c: E2 08 00 FC 0E 80 13 01 00 00 00 00 00 87 [17:59:24]Write i2c OK [17:59:24]MH_I2C_Read... [17:59:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:59:24]Read from MH i2c: E2 [17:59:24]MH_I2C_Read... [17:59:24]Read from MH i2c: E2 0E 00 [17:59:24]MH_I2C_Read... [17:59:24]Read from MH i2c: E2 0E 00 FC 0E 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 D1 [17:59:24]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [17:59:24]wFMCommunicate OK [17:59:24]SAM_PROTO_GetShiftState done [17:59:24]FM_GetShiftState done [17:59:24]opened in 1729469223 [17:59:24]opened+sec_in_day 1729555623 [17:59:24]quantity*price = 3500 [17:59:24]sum+1 = 3501 [17:59:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 35.00 НСП 1% : 0.31 НДС 12% : 3.72 Наличными: 35.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 61 21.10.2024 17:59 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24357 ФПД: 21699942872575 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T175927&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24357&fm=21699942872575&tin=02508201610067®Number=0000000000098120&sum=3500 0 [17:59:25]StoreToDocumentArchive [17:59:25]shift 461 fd 24357 [17:59:25]save to /storage/0461/doc_00024357 [17:59:25]save last doc name /storage/0461/doc_00024357 to /storage/kkm_last_doc_name [17:59:25]save OK [17:59:25]Clear old archive folders... [17:59:25]ProcessDocumentItem done err = 0, tmpTLVsize=275 [17:59:25]tlvbuf is 0036F890 [17:59:25]SAM_PROTO_ClearQueue [17:59:25]wFMCommunicate request_size=4 [17:59:25]MH_SAM_APDU [17:59:25]CAPDU: 80 09 00 00 [17:59:25]Write to MH i2c: E2 08 00 09 0F 80 09 00 00 00 00 00 00 8A [17:59:25]Write i2c OK [17:59:25]MH_I2C_Read... [17:59:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:59:26]Read from MH i2c: E2 [17:59:26]MH_I2C_Read... [17:59:26]Read from MH i2c: E2 03 00 [17:59:26]MH_I2C_Read... [17:59:26]Read from MH i2c: E2 03 00 09 0F 00 90 00 8C [17:59:26]RAPDU: 90 00 [17:59:26]wFMCommunicate OK [17:59:26]SAM_PROTO_ClearQueue done [17:59:26]KKMCreateOFDPacket [17:59:26]OFDProtocolAddRootSTLVToBuf [17:59:26]FM_MakeSignedData [17:59:26]FM_MakeSignedData [17:59:26]SAM_PROTO_SignData [17:59:26]wFMCommunicate request_size=4 [17:59:26]MH_SAM_APDU [17:59:26]CAPDU: 80 0D 01 02 [17:59:26]Write to MH i2c: E2 08 00 0A 0F 80 0D 01 02 00 00 00 00 92 [17:59:26]Write i2c OK [17:59:26]MH_I2C_Read... [17:59:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:59:26]Read from MH i2c: E2 [17:59:26]MH_I2C_Read... [17:59:26]Read from MH i2c: E2 03 00 [17:59:26]MH_I2C_Read... [17:59:26]Read from MH i2c: E2 03 00 0A 0F 00 90 00 8D [17:59:26]RAPDU: 90 00 [17:59:26]wFMCommunicate OK [17:59:26]wFMCommunicate request_size=255 [17:59:26]MH_SAM_APDU [17:59:26]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 7F 96 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 [17:59:26]Write to MH i2c: E2 02 01 0B 0F 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 7F 96 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 00 00 12 [17:59:26]Write i2c OK [17:59:26]MH_I2C_Read... [17:59:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:59:26]Read from MH i2c: E2 [17:59:26]MH_I2C_Read... [17:59:26]Read from MH i2c: E2 03 00 [17:59:26]MH_I2C_Read... [17:59:26]Read from MH i2c: E2 03 00 0B 0F 00 90 00 8E [17:59:26]RAPDU: 90 00 [17:59:26]wFMCommunicate OK [17:59:26]wFMCommunicate request_size=34 [17:59:26]MH_SAM_APDU [17:59:26]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 25 5F 00 00 35 04 06 00 13 BC 69 62 F5 FF [17:59:26]Write to MH i2c: E2 25 00 0C 0F 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 25 5F 00 00 35 04 06 00 13 BC 69 62 F5 FF 00 00 62 [17:59:26]Write i2c OK [17:59:26]MH_I2C_Read... [17:59:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:59:26]Read from MH i2c: E2 [17:59:26]MH_I2C_Read... [17:59:26]Read from MH i2c: E2 03 00 [17:59:26]MH_I2C_Read... [17:59:26]Read from MH i2c: E2 03 00 0C 0F 00 90 00 8F [17:59:26]RAPDU: 90 00 [17:59:26]wFMCommunicate OK [17:59:26]wFMCommunicate request_size=4 [17:59:26]MH_SAM_APDU [17:59:26]CAPDU: 80 0D 03 02 [17:59:26]Write to MH i2c: E2 08 00 0D 0F 80 0D 03 02 00 00 00 00 97 [17:59:26]Write i2c OK [17:59:26]MH_I2C_Read... [17:59:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:59:26]Read from MH i2c: E2 [17:59:26]MH_I2C_Read... [17:59:26]Read from MH i2c: E2 0B 00 [17:59:26]MH_I2C_Read... [17:59:26]Read from MH i2c: E2 0B 00 0D 0F 00 CF C6 18 E0 FB 1E 2C 81 90 00 EB [17:59:26]RAPDU: CF C6 18 E0 FB 1E 2C 81 90 00 [17:59:26]wFMCommunicate OK [17:59:26]SAM_PROTO_SignData done [17:59:26]FM_MakeSignedData done [17:59:26]CreateOFDProtocolMessage [17:59:26]wFMCommunicate request_size=4 [17:59:26]MH_SAM_APDU [17:59:26]CAPDU: 80 11 00 00 [17:59:26]Write to MH i2c: E2 08 00 0E 0F 80 11 00 00 00 00 00 00 97 [17:59:26]Write i2c OK [17:59:26]MH_I2C_Read... [17:59:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:59:26]Read from MH i2c: E2 [17:59:26]MH_I2C_Read... [17:59:26]Read from MH i2c: E2 17 00 [17:59:26]MH_I2C_Read... [17:59:26]Read from MH i2c: E2 17 00 0E 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 E4 [17:59:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:59:26]wFMCommunicate OK [17:59:26]CreateOFDProtocolMessage done [17:59:26]OFDSenderStorePacket 24357 [17:59:26]StoreOFDPacket docnum=24357 [17:59:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 27 01 00 00 39 4E 1F 01 59 19 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 7F 96 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 25 5F 00 00 35 04 06 00 13 BC 69 62 F5 FF CF C6 18 E0 FB 1E 2C 81 [17:59:26]CheckFolder [17:59:26]dirname=/storage/ofd_packets [17:59:26]CheckFolder done [17:59:26]ProducePacketName [17:59:26]name=ofd_packets/00024357 [17:59:26]NVStorageSaveData ofd_packets/00024357 [17:59:26]File name is /storage/ofd_packets/00024357 [17:59:26]Write 325 bytes [17:59:26]NVStorageSaveData done [17:59:26]OFDSenderStorePacket done [17:59:26]KKMCreateOFDPacket done [17:59:26]NVStorageSaveData kkm_last_timestamp [17:59:26]File name is /storage/kkm_last_timestamp [17:59:26]Write 4 bytes [17:59:26]NVStorageSaveData done [17:59:26]ExternCall_PrintAddStr [17:59:26]wPrintStart [17:59:26]Write to MH i2c: 01 00 00 0F 0F 1E [17:59:26]Write i2c OK [17:59:26]MH_I2C_Read... [17:59:26]Read from MH i2c: 01 [17:59:26]MH_I2C_Read... [17:59:26]Read from MH i2c: 01 07 00 [17:59:26]MH_I2C_Read... [17:59:26]Read from MH i2c: 01 07 00 0F 0F 00 00 00 00 00 FF 0F 33 [17:59:26]RasterBufferAndPrint [17:59:26]line Счет N : (3)134878 [17:59:26]line ИНН: 02508201610067 [17:59:26]line Контрольно-Кассовый Чек [17:59:26]line ПРОДАЖА [17:59:26]line Товар: 4700000310326 [17:59:26]line Вода Адыгене 1л б/г [17:59:26]line 1.000 * 35.00 [17:59:26]line = 35.00 [17:59:26]line НДС 12% НСП 1% [17:59:26]line > о реализуемом товаре [17:59:26]line ИТОГО: 35.00 [17:59:26]line НСП 1% : 0.31 [17:59:26]line НДС 12% : 3.72 [17:59:26]line Наличными: 35.00 [17:59:26]line Безнал.: 0.00 [17:59:26]line Место: АЗС № 85 "Партнер Нефть" [17:59:26]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [17:59:26]line СНО: Общий режим [17:59:26]line Чек 61 21.10.2024 17:59 [17:59:26]line Смена: 461 ФФД: 1.0 [17:59:26]line ЗНМ: 0300000166 [17:59:26]line РНМ: 0000000000098120 [17:59:26]line Версия ККМ: 001 [17:59:26]line ФМ: 0000000000965420 [17:59:26]line ФД: 24357 [17:59:26]line ФПД: 21699942872575 [17:59:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T175927&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24357&fm=21699942872575&tin=02508201610067®Number=0000000000098120&sum=3500 [17:59:26]OFD Sender: Processing packet 24357 [packets to send 5, broken 4] [17:59:26]ProducePacketName [17:59:26]name=ofd_packets/00024357 [17:59:26]OFD Sender: To server: pG, [17:59:26]CommunicateWithHost lk.salyk.kg:30040 [17:59:26]ConnectInit lk.salyk.kg [17:59:26]line 0 [17:59:26]written 0, free lines is 4095 [17:59:26]Connected sock=9 [17:59: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 34 32 30 27 01 00 00 39 4E 1F 01 59 19 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 7F 96 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 25 5F 00 00 35 04 06 00 13 BC 69 62 F5 FF CF C6 18 E0 FB 1E 2C 81 [17:59:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 72 AA 47 00 A9 8B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 25 5F 00 00 F4 03 04 00 25 42 16 67 B6 04 01 00 00 3C E4 A3 F9 B3 A7 67 10 [17:59:27]CommunicateWithHost err = 0 [17:59:27]CheckOFDResponse [17:59:27]1017 (14) - 77093643461234 [17:59:27]1041 (16) - 0000000000965420 [17:59:27]1040 (4) - 24357 [17:59:27]1012 (4) - 21.10.2024 11:59 [17:59:27]1206 (1) - 0 [17:59:27]OFD Sender: Remove packet 24357 [17:59:27]ProducePacketName [17:59:27]name=ofd_packets/00024357 [17:59:27]NVStorageDeleteData [17:59:27]Write to MH i2c: 01 00 00 37 0F 46 [17:59:27]Write i2c OK [17:59:27]MH_I2C_Read... [17:59:27]Read from MH i2c: 01 [17:59:27]MH_I2C_Read... [17:59:27]Read from MH i2c: 01 07 00 [17:59:27]MH_I2C_Read... [17:59:27]Read from MH i2c: 01 07 00 37 0F 00 00 00 00 00 1D 0D 77 [17:59:27]RasterBufferAndPrint [17:59:27]line [17:59:27]line [17:59:27]line [17:59:27]line [17:59:27]line [17:59:27]written 0, free lines is 3363 [17:59:27]process_action close_receipt done [17:59:27]requested_data is exist [17:59:27]produce_requested_data [17:59:27]requested_item fm.sn is exist - process it [17:59:27]wFMCommunicate request_size=4 [17:59:27]MH_SAM_APDU [17:59:27]CAPDU: 80 11 00 00 [17:59:27]Write to MH i2c: E2 08 00 3E 0F 80 11 00 00 00 00 00 00 C7 [17:59:27]Write i2c OK [17:59:27]MH_I2C_Read... [17:59:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:59:27]Read from MH i2c: E2 [17:59:27]MH_I2C_Read... [17:59:27]Read from MH i2c: E2 17 00 [17:59:27]MH_I2C_Read... [17:59:27]Read from MH i2c: E2 17 00 3E 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 14 [17:59:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:59:27]wFMCommunicate OK [17:59:27]requested_item fd.num is exist - process it [17:59:27]SAM_PROTO_GetFieldsCounters [17:59:27]wFMCommunicate request_size=4 [17:59:27]MH_SAM_APDU [17:59:27]CAPDU: 80 13 00 00 [17:59:27]Write to MH i2c: E2 08 00 3F 0F 80 13 00 00 00 00 00 00 CA [17:59:27]Write i2c OK [17:59:27]MH_I2C_Read... [17:59:27]Read from MH i2c: E2 [17:59:27]MH_I2C_Read... [17:59:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:59:27]Read from MH i2c: E2 62 00 [17:59:27]MH_I2C_Read... [17:59:27]Read from MH i2c: E2 62 00 3F 0F 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 25 5F 00 00 0E 04 04 00 CD 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 E9 [17: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 25 5F 00 00 0E 04 04 00 CD 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 [17:59:27]wFMCommunicate OK [17:59:27]SAM_PROTO_GetFieldsCounters done [17:59:27]requested_item shift.num is exist - process it [17:59:27]requested_item shift.opened is exist - process it [17:59:27]req_shift_opened [17:59:27]FM_GetShiftState [17:59:27]SAM_PROTO_GetShiftState [17:59:27]wFMCommunicate request_size=4 [17:59:27]MH_SAM_APDU [17:59:27]CAPDU: 80 13 01 00 [17:59:27]Write to MH i2c: E2 08 00 40 0F 80 13 01 00 00 00 00 00 CC [17:59:27]Write i2c OK [17:59:27]MH_I2C_Read... [17:59:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:59:27]Read from MH i2c: E2 [17:59:27]MH_I2C_Read... [17:59:27]Read from MH i2c: E2 0E 00 [17:59:27]MH_I2C_Read... [17:59:27]Read from MH i2c: E2 0E 00 40 0F 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 16 [17:59:27]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [17:59:27]wFMCommunicate OK [17:59:27]SAM_PROTO_GetShiftState done [17:59:27]FM_GetShiftState done [17:59:27]req_shift_opened done [17:59:27]requested_item shift.open_date is exist - process it [17:59:27]req_shift_open_date [17:59:27]req_shift_open_date done [17:59:27]produce_requested_data done [17:59:27]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24357,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [17:59:27]process_action_free close_receipt [17:59:27]json_value_free [17:59:27]json_value_free done [17:59:27]process_json_proto returns [17:59:27]Send response to host [17:59:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24357,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [17:59:27]free response buf [17:59:27]execute_script done [17:59:27]execute_script returns [17:59:27]free content buf [17:59:27]Sock 8.Close socket [17:59:27]Sock 8.Thread stoped [17:59:27]OFD Sender: No OFD packet to send [17:59:32]OFD Sender: No OFD packet to send [17:59:37]OFD Sender: No OFD packet to send [17:59:42]OFD Sender: No OFD packet to send [17:59:47]OFD Sender: No OFD packet to send [17:59:52]OFD Sender: No OFD packet to send [17:59:57]OFD Sender: No OFD packet to send [18:00:02]OFD Sender: No OFD packet to send [18:00:07]OFD Sender: No OFD packet to send [18:00:12]OFD Sender: No OFD packet to send [18:00:17]OFD Sender: No OFD packet to send [18:00:22]OFD Sender: No OFD packet to send [18:00:27]OFD Sender: No OFD packet to send [18:00:32]OFD Sender: No OFD packet to send [18:00:37]OFD Sender: No OFD packet to send [18:00:42]OFD Sender: No OFD packet to send [18:00:47]OFD Sender: No OFD packet to send [18:00:52]OFD Sender: No OFD packet to send [18:00:57]OFD Sender: No OFD packet to send [18:01:02]OFD Sender: No OFD packet to send [18:01:07]OFD Sender: No OFD packet to send [18:01:12]OFD Sender: No OFD packet to send [18:01:17]OFD Sender: No OFD packet to send [18:01:17]accept exits with 10 [18:01:17]New connection [18:01:17]New thread 3066940772 created [18:01:17]Thread 3067084132 joined [18:01:17]Waiting for new connection... [18:01:17] Sock 10.Parse request [18:01:17]Sock 10.Check first char [18:01:17]Sock 10.First char is OK [18:01:17]request: POST /json_proto HTTP/1.0 [18:01:17]Method: POST [18:01:17]URL: /json_proto [18:01:17]Method is POST - this is cgi request [18:01:17]url: /json_proto [18:01:17]query_string will be loaded in cgi processing [18:01:17]execute_cgi json_proto POST (null) [18:01:17]execute_cgi path=json_proto method=POST [18:01:17]POST find Content-Length [18:01:17]Host: 172.17.50.4:8080 [18:01:17]Content-Length: 666 [18:01:17]Content-Type: application/json [18:01:17] [18:01:17]POST finish read [18:01:17]Found Content-Length = 666 [18:01:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134879", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 99.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:01:17]execute_script... [18:01: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)134879", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 99.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:01:17]POST & json_proto [18:01:17]process_json_proto [18:01:17]json parsed OK: [18:01:17]protocol is kg_v1.0 [18:01:17]action value=close_receipt [18:01:17]process_action close_receipt [18:01:17]cmd_close_receipt [18:01:17]MH_GetDate [18:01:17]Write to MH i2c: F0 00 00 41 0F 3F [18:01:17]Write i2c OK [18:01:17]MH_I2C_Read... [18:01:17]Read from MH i2c: F0 [18:01:17]MH_I2C_Read... [18:01:17]Read from MH i2c: F0 09 00 [18:01:17]MH_I2C_Read... [18:01:17]Read from MH i2c: F0 09 00 41 0F 00 F0 96 16 67 3B 12 16 67 15 [18:01:17]GetLastDocTimeStamp 1729533567 [18:01:17]current date 1729533680 [18:01:17]FM_GetShiftState [18:01:17]SAM_PROTO_GetShiftState [18:01:17]wFMCommunicate request_size=4 [18:01:17]MH_SAM_APDU [18:01:17]CAPDU: 80 13 01 00 [18:01:17]Write to MH i2c: E2 08 00 42 0F 80 13 01 00 00 00 00 00 CE [18:01:17]Write i2c OK [18:01:17]MH_I2C_Read... [18:01:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:01:18]Read from MH i2c: E2 [18:01:18]MH_I2C_Read... [18:01:18]Read from MH i2c: E2 0E 00 [18:01:18]MH_I2C_Read... [18:01:18]Read from MH i2c: E2 0E 00 42 0F 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 18 [18:01:18]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [18:01:18]wFMCommunicate OK [18:01:18]SAM_PROTO_GetShiftState done [18:01:18]FM_GetShiftState done [18:01:18]opened in 1729469223 [18:01:18]opened+sec_in_day 1729555623 [18:01:18]quantity*price = 9900 [18:01:18]sum+1 = 9901 [18:01:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 99.00 НСП 1% : 0.88 НДС 12% : 10.51 Наличными: 99.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 62 21.10.2024 18:01 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24358 ФПД: 4872319654547 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T180120&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24358&fm=4872319654547&tin=02508201610067®Number=0000000000098120&sum=9900 0 [18:01:19]StoreToDocumentArchive [18:01:19]shift 461 fd 24358 [18:01:19]save to /storage/0461/doc_00024358 [18:01:19]save last doc name /storage/0461/doc_00024358 to /storage/kkm_last_doc_name [18:01:19]save OK [18:01:19]Clear old archive folders... [18:01:19]ProcessDocumentItem done err = 0, tmpTLVsize=293 [18:01:19]tlvbuf is 002B8C40 [18:01:19]SAM_PROTO_ClearQueue [18:01:19]wFMCommunicate request_size=4 [18:01:19]MH_SAM_APDU [18:01:19]CAPDU: 80 09 00 00 [18:01:19]Write to MH i2c: E2 08 00 4F 0F 80 09 00 00 00 00 00 00 D0 [18:01:19]Write i2c OK [18:01:19]MH_I2C_Read... [18:01:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:01:19]Read from MH i2c: E2 [18:01:19]MH_I2C_Read... [18:01:19]Read from MH i2c: E2 03 00 [18:01:19]MH_I2C_Read... [18:01:19]Read from MH i2c: E2 03 00 4F 0F 00 90 00 D2 [18:01:19]RAPDU: 90 00 [18:01:19]wFMCommunicate OK [18:01:19]SAM_PROTO_ClearQueue done [18:01:19]KKMCreateOFDPacket [18:01:19]OFDProtocolAddRootSTLVToBuf [18:01:19]FM_MakeSignedData [18:01:19]FM_MakeSignedData [18:01:19]SAM_PROTO_SignData [18:01:19]wFMCommunicate request_size=4 [18:01:19]MH_SAM_APDU [18:01:19]CAPDU: 80 0D 01 02 [18:01:19]Write to MH i2c: E2 08 00 50 0F 80 0D 01 02 00 00 00 00 D8 [18:01:19]Write i2c OK [18:01:19]MH_I2C_Read... [18:01:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:01:19]Read from MH i2c: E2 [18:01:19]MH_I2C_Read... [18:01:19]Read from MH i2c: E2 03 00 [18:01:19]MH_I2C_Read... [18:01:19]Read from MH i2c: E2 03 00 50 0F 00 90 00 D3 [18:01:19]RAPDU: 90 00 [18:01:19]wFMCommunicate OK [18:01:19]wFMCommunicate request_size=255 [18:01:19]MH_SAM_APDU [18:01:19]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 04 00 00 00 00 07 04 06 00 AC 26 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 F0 96 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [18:01:19]Write to MH i2c: E2 02 01 51 0F 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 04 00 00 00 00 07 04 06 00 AC 26 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 F0 96 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 43 [18:01:19]Write i2c OK [18:01:19]MH_I2C_Read... [18:01:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:01:19]Read from MH i2c: E2 [18:01:19]MH_I2C_Read... [18:01:19]Read from MH i2c: E2 03 00 [18:01:19]MH_I2C_Read... [18:01:19]Read from MH i2c: E2 03 00 51 0F 00 90 00 D4 [18:01:19]RAPDU: 90 00 [18:01:19]wFMCommunicate OK [18:01:19]wFMCommunicate request_size=52 [18:01:19]MH_SAM_APDU [18:01:19]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 26 5F 00 00 35 04 06 00 04 6E 6C E1 DA 93 [18:01:19]Write to MH i2c: E2 37 00 52 0F 80 0D 02 02 2F 00 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 26 5F 00 00 35 04 06 00 04 6E 6C E1 DA 93 00 00 44 [18:01:19]Write i2c OK [18:01:19]MH_I2C_Read... [18:01:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:01:19]Read from MH i2c: E2 [18:01:19]MH_I2C_Read... [18:01:19]Read from MH i2c: E2 03 00 [18:01:19]MH_I2C_Read... [18:01:19]Read from MH i2c: E2 03 00 52 0F 00 90 00 D5 [18:01:19]RAPDU: 90 00 [18:01:19]wFMCommunicate OK [18:01:19]wFMCommunicate request_size=4 [18:01:19]MH_SAM_APDU [18:01:19]CAPDU: 80 0D 03 02 [18:01:19]Write to MH i2c: E2 08 00 53 0F 80 0D 03 02 00 00 00 00 DD [18:01:19]Write i2c OK [18:01:19]MH_I2C_Read... [18:01:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:01:19]Read from MH i2c: E2 [18:01:19]MH_I2C_Read... [18:01:19]Read from MH i2c: E2 0B 00 [18:01:19]MH_I2C_Read... [18:01:19]Read from MH i2c: E2 0B 00 53 0F 00 C6 83 E3 03 F5 DE 0B FC 90 00 E7 [18:01:19]RAPDU: C6 83 E3 03 F5 DE 0B FC 90 00 [18:01:19]wFMCommunicate OK [18:01:19]SAM_PROTO_SignData done [18:01:19]FM_MakeSignedData done [18:01:19]CreateOFDProtocolMessage [18:01:19]wFMCommunicate request_size=4 [18:01:19]MH_SAM_APDU [18:01:19]CAPDU: 80 11 00 00 [18:01:19]Write to MH i2c: E2 08 00 54 0F 80 11 00 00 00 00 00 00 DD [18:01:19]Write i2c OK [18:01:19]MH_I2C_Read... [18:01:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:01:19]Read from MH i2c: E2 [18:01:19]MH_I2C_Read... [18:01:19]Read from MH i2c: E2 17 00 [18:01:19]MH_I2C_Read... [18:01:19]Read from MH i2c: E2 17 00 54 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 2A [18:01:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [18:01:19]wFMCommunicate OK [18:01:19]CreateOFDProtocolMessage done [18:01:19]OFDSenderStorePacket 24358 [18:01:19]StoreOFDPacket docnum=24358 [18:01:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 39 01 00 00 23 9D 31 01 39 14 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 04 00 00 00 00 07 04 06 00 AC 26 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 F0 96 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 26 5F 00 00 35 04 06 00 04 6E 6C E1 DA 93 C6 83 E3 03 F5 DE 0B FC [18:01:19]CheckFolder [18:01:19]dirname=/storage/ofd_packets [18:01:19]CheckFolder done [18:01:19]ProducePacketName [18:01:19]name=ofd_packets/00024358 [18:01:19]NVStorageSaveData ofd_packets/00024358 [18:01:19]File name is /storage/ofd_packets/00024358 [18:01:19]Write 343 bytes [18:01:19]NVStorageSaveData done [18:01:19]OFDSenderStorePacket done [18:01:19]KKMCreateOFDPacket done [18:01:19]NVStorageSaveData kkm_last_timestamp [18:01:19]File name is /storage/kkm_last_timestamp [18:01:19]Write 4 bytes [18:01:19]NVStorageSaveData done [18:01:19]ExternCall_PrintAddStr [18:01:19]wPrintStart [18:01:19]Write to MH i2c: 01 00 00 55 0F 64 [18:01:19]Write i2c OK [18:01:19]MH_I2C_Read... [18:01:19]Read from MH i2c: 01 [18:01:19]MH_I2C_Read... [18:01:19]Read from MH i2c: 01 07 00 [18:01:19]MH_I2C_Read... [18:01:19]Read from MH i2c: 01 07 00 55 0F 00 00 00 00 00 FF 0F 79 [18:01:19]RasterBufferAndPrint [18:01:19]line Счет N : (3)134879 [18:01:19]line ИНН: 02508201610067 [18:01:19]line Контрольно-Кассовый Чек [18:01:19]line ПРОДАЖА [18:01:19]line Товар: 4870022003305 [18:01:19]line Напиток Gorilla эн нат ж/б 0,5/0,45л [18:01:19]line 1.000 * 99.00 [18:01:19]line = 99.00 [18:01:19]line НДС 12% НСП 1% [18:01:19]line > о реализуемом товаре [18:01:19]line ИТОГО: 99.00 [18:01:19]line НСП 1% : 0.88 [18:01:19]line НДС 12% : 10.51 [18:01:19]line Наличными: 99.00 [18:01:19]line Безнал.: 0.00 [18:01:19]line Место: АЗС № 85 "Партнер Нефть" [18:01:19]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [18:01:19]line СНО: Общий режим [18:01:19]line Чек 62 21.10.2024 18:01 [18:01:19]line Смена: 461 ФФД: 1.0 [18:01:19]line ЗНМ: 0300000166 [18:01:19]line РНМ: 0000000000098120 [18:01:19]line Версия ККМ: 001 [18:01:19]line ФМ: 0000000000965420 [18:01:19]line ФД: 24358 [18:01:19]line ФПД: 4872319654547 [18:01:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T180120&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24358&fm=4872319654547&tin=02508201610067®Number=0000000000098120&sum=9900 [18:01:20]OFD Sender: Processing packet 24358 [packets to send 5, broken 4] [18:01:20]ProducePacketName [18:01:20]name=ofd_packets/00024358 [18:01:20]OFD Sender: To server: pG, [18:01:20]CommunicateWithHost lk.salyk.kg:30040 [18:01:20]ConnectInit lk.salyk.kg [18:01:20]line 0 [18:01:20]written 0, free lines is 4095 [18:01:20]Connected sock=9 [18:01:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 39 01 00 00 23 9D 31 01 39 14 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 04 00 00 00 00 07 04 06 00 AC 26 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 F0 96 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 26 5F 00 00 35 04 06 00 04 6E 6C E1 DA 93 C6 83 E3 03 F5 DE 0B FC [18:01:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 C7 BC 47 00 FE 60 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 26 5F 00 00 F4 03 04 00 96 42 16 67 B6 04 01 00 00 0F 0D FF 25 9F 6E D0 C3 [18:01:20]CommunicateWithHost err = 0 [18:01:20]CheckOFDResponse [18:01:20]1017 (14) - 77093643461234 [18:01:20]1041 (16) - 0000000000965420 [18:01:20]1040 (4) - 24358 [18:01:20]1012 (4) - 21.10.2024 12:01 [18:01:20]1206 (1) - 0 [18:01:20]OFD Sender: Remove packet 24358 [18:01:20]ProducePacketName [18:01:20]name=ofd_packets/00024358 [18:01:20]NVStorageDeleteData [18:01:20]Write to MH i2c: 01 00 00 7E 0F 8D [18:01:20]Write i2c OK [18:01:20]MH_I2C_Read... [18:01:20]Read from MH i2c: 01 [18:01:20]MH_I2C_Read... [18:01:20]Read from MH i2c: 01 07 00 [18:01:20]MH_I2C_Read... [18:01:20]Read from MH i2c: 01 07 00 7E 0F 00 00 00 00 00 07 0D A8 [18:01:20]RasterBufferAndPrint [18:01:20]line [18:01:20]line [18:01:20]line [18:01:20]line [18:01:20]line [18:01:20]written 0, free lines is 3344 [18:01:20]process_action close_receipt done [18:01:20]requested_data is exist [18:01:20]produce_requested_data [18:01:20]requested_item fm.sn is exist - process it [18:01:20]wFMCommunicate request_size=4 [18:01:20]MH_SAM_APDU [18:01:20]CAPDU: 80 11 00 00 [18:01:20]Write to MH i2c: E2 08 00 85 0F 80 11 00 00 00 00 00 00 0E [18:01:20]Write i2c OK [18:01:20]MH_I2C_Read... [18:01:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:01:20]Read from MH i2c: E2 [18:01:20]MH_I2C_Read... [18:01:20]Read from MH i2c: E2 17 00 [18:01:20]MH_I2C_Read... [18:01:20]Read from MH i2c: E2 17 00 85 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 5B [18:01:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [18:01:20]wFMCommunicate OK [18:01:20]requested_item fd.num is exist - process it [18:01:20]SAM_PROTO_GetFieldsCounters [18:01:20]wFMCommunicate request_size=4 [18:01:20]MH_SAM_APDU [18:01:20]CAPDU: 80 13 00 00 [18:01:20]Write to MH i2c: E2 08 00 86 0F 80 13 00 00 00 00 00 00 11 [18:01:20]Write i2c OK [18:01:20]MH_I2C_Read... [18:01:20]Read from MH i2c: E2 [18:01:20]MH_I2C_Read... [18:01:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:01:20]Read from MH i2c: E2 62 00 [18:01:20]MH_I2C_Read... [18:01:20]Read from MH i2c: E2 62 00 86 0F 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 26 5F 00 00 0E 04 04 00 CD 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 34 [18:01: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 26 5F 00 00 0E 04 04 00 CD 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 [18:01:20]wFMCommunicate OK [18:01:20]SAM_PROTO_GetFieldsCounters done [18:01:20]requested_item shift.num is exist - process it [18:01:20]requested_item shift.opened is exist - process it [18:01:20]req_shift_opened [18:01:20]FM_GetShiftState [18:01:20]SAM_PROTO_GetShiftState [18:01:20]wFMCommunicate request_size=4 [18:01:20]MH_SAM_APDU [18:01:20]CAPDU: 80 13 01 00 [18:01:20]Write to MH i2c: E2 08 00 87 0F 80 13 01 00 00 00 00 00 13 [18:01:20]Write i2c OK [18:01:20]MH_I2C_Read... [18:01:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:01:20]Read from MH i2c: E2 [18:01:20]MH_I2C_Read... [18:01:20]Read from MH i2c: E2 0E 00 [18:01:20]MH_I2C_Read... [18:01:20]Read from MH i2c: E2 0E 00 87 0F 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 5D [18:01:20]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [18:01:20]wFMCommunicate OK [18:01:20]SAM_PROTO_GetShiftState done [18:01:20]FM_GetShiftState done [18:01:20]req_shift_opened done [18:01:20]requested_item shift.open_date is exist - process it [18:01:20]req_shift_open_date [18:01:20]req_shift_open_date done [18:01:20]produce_requested_data done [18:01:20]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24358,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [18:01:20]process_action_free close_receipt [18:01:20]json_value_free [18:01:20]json_value_free done [18:01:20]process_json_proto returns [18:01:20]Send response to host [18:01:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24358,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [18:01:20]free response buf [18:01:20]execute_script done [18:01:20]execute_script returns [18:01:20]free content buf [18:01:20]Sock 10.Close socket [18:01:20]Sock 10.Thread stoped [18:01:20]OFD Sender: No OFD packet to send [18:01:25]OFD Sender: No OFD packet to send [18:01:30]OFD Sender: No OFD packet to send [18:01:35]OFD Sender: No OFD packet to send [18:01:40]OFD Sender: No OFD packet to send [18:01:45]OFD Sender: No OFD packet to send [18:01:50]OFD Sender: No OFD packet to send [18:01:55]OFD Sender: No OFD packet to send [18:02:00]OFD Sender: No OFD packet to send [18:02:05]OFD Sender: No OFD packet to send [18:02:10]OFD Sender: No OFD packet to send [18:02:15]OFD Sender: No OFD packet to send [18:02:20]OFD Sender: No OFD packet to send [18:02:25]OFD Sender: No OFD packet to send [18:02:30]OFD Sender: No OFD packet to send [18:02:35]OFD Sender: No OFD packet to send [18:02:40]OFD Sender: No OFD packet to send [18:02:45]OFD Sender: No OFD packet to send [18:02:50]OFD Sender: No OFD packet to send [18:02:55]OFD Sender: No OFD packet to send [18:03:00]OFD Sender: No OFD packet to send [18:03:05]OFD Sender: No OFD packet to send [18:03:10]OFD Sender: No OFD packet to send [18:03:15]OFD Sender: No OFD packet to send [18:03:20]OFD Sender: No OFD packet to send [18:03:25]OFD Sender: No OFD packet to send [18:03:30]OFD Sender: No OFD packet to send [18:03:35]OFD Sender: No OFD packet to send [18:03:40]OFD Sender: No OFD packet to send [18:03:45]OFD Sender: No OFD packet to send [18:03:50]OFD Sender: No OFD packet to send [18:03:55]OFD Sender: No OFD packet to send [18:04:00]OFD Sender: No OFD packet to send [18:04:05]OFD Sender: No OFD packet to send [18:04:10]OFD Sender: No OFD packet to send [18:04:15]OFD Sender: No OFD packet to send [18:04:20]OFD Sender: No OFD packet to send [18:04:26]OFD Sender: No OFD packet to send [18:04:31]OFD Sender: No OFD packet to send [18:04:36]OFD Sender: No OFD packet to send [18:04:41]OFD Sender: No OFD packet to send [18:04:46]OFD Sender: No OFD packet to send [18:04:51]OFD Sender: No OFD packet to send [18:04:56]OFD Sender: No OFD packet to send [18:05:01]OFD Sender: No OFD packet to send [18:05:06]OFD Sender: No OFD packet to send [18:05:11]OFD Sender: No OFD packet to send [18:05:16]OFD Sender: No OFD packet to send [18:05:21]OFD Sender: No OFD packet to send [18:05:26]OFD Sender: No OFD packet to send [18:05:31]OFD Sender: No OFD packet to send [18:05:36]OFD Sender: No OFD packet to send [18:05:41]OFD Sender: No OFD packet to send [18:05:46]OFD Sender: No OFD packet to send [18:05:51]OFD Sender: No OFD packet to send [18:05:56]OFD Sender: No OFD packet to send [18:06:01]OFD Sender: No OFD packet to send [18:06:06]OFD Sender: No OFD packet to send [18:06:11]OFD Sender: No OFD packet to send [18:06:16]OFD Sender: No OFD packet to send [18:06:21]OFD Sender: No OFD packet to send [18:06:26]OFD Sender: No OFD packet to send [18:06:31]OFD Sender: No OFD packet to send [18:06:36]OFD Sender: No OFD packet to send [18:06:41]OFD Sender: No OFD packet to send [18:06:46]OFD Sender: No OFD packet to send [18:06:51]OFD Sender: No OFD packet to send [18:06:56]OFD Sender: No OFD packet to send [18:07:01]OFD Sender: No OFD packet to send [18:07:06]OFD Sender: No OFD packet to send [18:07:11]OFD Sender: No OFD packet to send [18:07:16]OFD Sender: No OFD packet to send [18:07:21]OFD Sender: No OFD packet to send [18:07:26]OFD Sender: No OFD packet to send [18:07:31]OFD Sender: No OFD packet to send [18:07:36]OFD Sender: No OFD packet to send [18:07:41]OFD Sender: No OFD packet to send [18:07:46]OFD Sender: No OFD packet to send [18:07:51]OFD Sender: No OFD packet to send [18:07:56]OFD Sender: No OFD packet to send [18:08:01]OFD Sender: No OFD packet to send [18:08:06]OFD Sender: No OFD packet to send [18:08:11]OFD Sender: No OFD packet to send [18:08:16]OFD Sender: No OFD packet to send [18:08:21]OFD Sender: No OFD packet to send [18:08:26]OFD Sender: No OFD packet to send [18:08:31]OFD Sender: No OFD packet to send [18:08:36]OFD Sender: No OFD packet to send [18:08:41]OFD Sender: No OFD packet to send [18:08:46]OFD Sender: No OFD packet to send [18:08:51]OFD Sender: No OFD packet to send [18:08:56]OFD Sender: No OFD packet to send [18:09:01]OFD Sender: No OFD packet to send [18:09:06]OFD Sender: No OFD packet to send [18:09:11]OFD Sender: No OFD packet to send [18:09:16]OFD Sender: No OFD packet to send [18:09:21]OFD Sender: No OFD packet to send [18:09:26]OFD Sender: No OFD packet to send [18:09:31]OFD Sender: No OFD packet to send [18:09:36]OFD Sender: No OFD packet to send [18:09:41]OFD Sender: No OFD packet to send [18:09:46]OFD Sender: No OFD packet to send [18:09:51]OFD Sender: No OFD packet to send [18:09:56]OFD Sender: No OFD packet to send [18:10:01]OFD Sender: No OFD packet to send [18:10:06]OFD Sender: No OFD packet to send [18:10:11]OFD Sender: No OFD packet to send [18:10:16]OFD Sender: No OFD packet to send [18:10:21]OFD Sender: No OFD packet to send [18:10:26]OFD Sender: No OFD packet to send [18:10:31]OFD Sender: No OFD packet to send [18:10:36]OFD Sender: No OFD packet to send [18:10:41]OFD Sender: No OFD packet to send [18:10:46]OFD Sender: No OFD packet to send [18:10:51]OFD Sender: No OFD packet to send [18:10:56]OFD Sender: No OFD packet to send [18:11:01]OFD Sender: No OFD packet to send [18:11:06]OFD Sender: No OFD packet to send [18:11:11]OFD Sender: No OFD packet to send [18:11:16]OFD Sender: No OFD packet to send [18:11:21]OFD Sender: No OFD packet to send [18:11:26]OFD Sender: No OFD packet to send [18:11:31]OFD Sender: No OFD packet to send [18:11:36]OFD Sender: No OFD packet to send [18:11:41]OFD Sender: No OFD packet to send [18:11:46]OFD Sender: No OFD packet to send [18:11:51]OFD Sender: No OFD packet to send [18:11:56]OFD Sender: No OFD packet to send [18:12:01]OFD Sender: No OFD packet to send [18:12:06]OFD Sender: No OFD packet to send [18:12:11]OFD Sender: No OFD packet to send [18:12:16]OFD Sender: No OFD packet to send [18:12:21]OFD Sender: No OFD packet to send [18:12:26]OFD Sender: No OFD packet to send [18:12:31]OFD Sender: No OFD packet to send [18:12:36]OFD Sender: No OFD packet to send [18:12:41]OFD Sender: No OFD packet to send [18:12:46]OFD Sender: No OFD packet to send [18:12:51]OFD Sender: No OFD packet to send [18:12:56]OFD Sender: No OFD packet to send [18:13:01]OFD Sender: No OFD packet to send [18:13:06]OFD Sender: No OFD packet to send [18:13:11]OFD Sender: No OFD packet to send [18:13:16]OFD Sender: No OFD packet to send [18:13:21]OFD Sender: No OFD packet to send [18:13:26]OFD Sender: No OFD packet to send [18:13:31]OFD Sender: No OFD packet to send [18:13:36]OFD Sender: No OFD packet to send [18:13:41]OFD Sender: No OFD packet to send [18:13:46]OFD Sender: No OFD packet to send [18:13:51]OFD Sender: No OFD packet to send [18:13:56]OFD Sender: No OFD packet to send [18:14:01]OFD Sender: No OFD packet to send [18:14:06]OFD Sender: No OFD packet to send [18:14:11]OFD Sender: No OFD packet to send [18:14:16]OFD Sender: No OFD packet to send [18:14:21]OFD Sender: No OFD packet to send [18:14:26]OFD Sender: No OFD packet to send [18:14:31]OFD Sender: No OFD packet to send [18:14:36]OFD Sender: No OFD packet to send [18:14:41]OFD Sender: No OFD packet to send [18:14:46]OFD Sender: No OFD packet to send [18:14:51]OFD Sender: No OFD packet to send [18:14:56]OFD Sender: No OFD packet to send [18:15:01]OFD Sender: No OFD packet to send [18:15:06]OFD Sender: No OFD packet to send [18:15:11]OFD Sender: No OFD packet to send [18:15:16]OFD Sender: No OFD packet to send [18:15:21]OFD Sender: No OFD packet to send [18:15:26]OFD Sender: No OFD packet to send [18:15:31]OFD Sender: No OFD packet to send [18:15:36]OFD Sender: No OFD packet to send [18:15:41]OFD Sender: No OFD packet to send [18:15:46]OFD Sender: No OFD packet to send [18:15:51]OFD Sender: No OFD packet to send [18:15:56]OFD Sender: No OFD packet to send [18:16:01]OFD Sender: No OFD packet to send [18:16:06]OFD Sender: No OFD packet to send [18:16:11]OFD Sender: No OFD packet to send [18:16:16]OFD Sender: No OFD packet to send [18:16:21]OFD Sender: No OFD packet to send [18:16:26]OFD Sender: No OFD packet to send [18:16:31]OFD Sender: No OFD packet to send [18:16:36]OFD Sender: No OFD packet to send [18:16:41]OFD Sender: No OFD packet to send [18:16:46]OFD Sender: No OFD packet to send [18:16:51]OFD Sender: No OFD packet to send [18:16:56]OFD Sender: No OFD packet to send [18:17:01]OFD Sender: No OFD packet to send [18:17:06]OFD Sender: No OFD packet to send [18:17:11]OFD Sender: No OFD packet to send [18:17:16]OFD Sender: No OFD packet to send [18:17:21]OFD Sender: No OFD packet to send [18:17:26]OFD Sender: No OFD packet to send [18:17:31]OFD Sender: No OFD packet to send [18:17:36]OFD Sender: No OFD packet to send [18:17:41]OFD Sender: No OFD packet to send [18:17:46]OFD Sender: No OFD packet to send [18:17:51]OFD Sender: No OFD packet to send [18:17:56]OFD Sender: No OFD packet to send [18:18:01]OFD Sender: No OFD packet to send [18:18:06]OFD Sender: No OFD packet to send [18:18:11]OFD Sender: No OFD packet to send [18:18:16]OFD Sender: No OFD packet to send [18:18:21]OFD Sender: No OFD packet to send [18:18:26]OFD Sender: No OFD packet to send [18:18:31]OFD Sender: No OFD packet to send [18:18:36]OFD Sender: No OFD packet to send [18:18:41]OFD Sender: No OFD packet to send [18:18:46]OFD Sender: No OFD packet to send [18:18:51]OFD Sender: No OFD packet to send [18:18:56]OFD Sender: No OFD packet to send [18:19:01]OFD Sender: No OFD packet to send [18:19:06]OFD Sender: No OFD packet to send [18:19:11]OFD Sender: No OFD packet to send [18:19:16]OFD Sender: No OFD packet to send [18:19:21]OFD Sender: No OFD packet to send [18:19:26]OFD Sender: No OFD packet to send [18:19:31]OFD Sender: No OFD packet to send [18:19:36]OFD Sender: No OFD packet to send [18:19:41]OFD Sender: No OFD packet to send [18:19:46]OFD Sender: No OFD packet to send [18:19:51]OFD Sender: No OFD packet to send [18:19:56]OFD Sender: No OFD packet to send [18:20:01]OFD Sender: No OFD packet to send [18:20:06]OFD Sender: No OFD packet to send [18:20:11]OFD Sender: No OFD packet to send [18:20:16]OFD Sender: No OFD packet to send [18:20:21]OFD Sender: No OFD packet to send [18:20:26]OFD Sender: No OFD packet to send [18:20:31]OFD Sender: No OFD packet to send [18:20:36]OFD Sender: No OFD packet to send [18:20:41]OFD Sender: No OFD packet to send [18:20:46]OFD Sender: No OFD packet to send [18:20:51]OFD Sender: No OFD packet to send [18:20:56]OFD Sender: No OFD packet to send [18:21:01]OFD Sender: No OFD packet to send [18:21:06]OFD Sender: No OFD packet to send [18:21:11]OFD Sender: No OFD packet to send [18:21:16]OFD Sender: No OFD packet to send [18:21:21]OFD Sender: No OFD packet to send [18:21:26]OFD Sender: No OFD packet to send [18:21:31]OFD Sender: No OFD packet to send [18:21:36]OFD Sender: No OFD packet to send [18:21:41]OFD Sender: No OFD packet to send [18:21:46]OFD Sender: No OFD packet to send [18:21:51]OFD Sender: No OFD packet to send [18:21:56]OFD Sender: No OFD packet to send [18:22:01]OFD Sender: No OFD packet to send [18:22:06]OFD Sender: No OFD packet to send [18:22:11]OFD Sender: No OFD packet to send [18:22:16]OFD Sender: No OFD packet to send [18:22:21]OFD Sender: No OFD packet to send [18:22:26]OFD Sender: No OFD packet to send [18:22:31]OFD Sender: No OFD packet to send [18:22:36]OFD Sender: No OFD packet to send [18:22:41]OFD Sender: No OFD packet to send [18:22:46]OFD Sender: No OFD packet to send [18:22:51]OFD Sender: No OFD packet to send [18:22:56]OFD Sender: No OFD packet to send [18:23:01]OFD Sender: No OFD packet to send [18:23:06]OFD Sender: No OFD packet to send [18:23:11]OFD Sender: No OFD packet to send [18:23:16]OFD Sender: No OFD packet to send [18:23:21]OFD Sender: No OFD packet to send [18:23:26]OFD Sender: No OFD packet to send [18:23:31]OFD Sender: No OFD packet to send [18:23:36]OFD Sender: No OFD packet to send [18:23:41]OFD Sender: No OFD packet to send [18:23:46]OFD Sender: No OFD packet to send [18:23:51]OFD Sender: No OFD packet to send [18:23:56]OFD Sender: No OFD packet to send [18:24:01]OFD Sender: No OFD packet to send [18:24:06]OFD Sender: No OFD packet to send [18:24:11]OFD Sender: No OFD packet to send [18:24:16]OFD Sender: No OFD packet to send [18:24:21]OFD Sender: No OFD packet to send [18:24:26]OFD Sender: No OFD packet to send [18:24:31]OFD Sender: No OFD packet to send [18:24:36]OFD Sender: No OFD packet to send [18:24:41]OFD Sender: No OFD packet to send [18:24:46]OFD Sender: No OFD packet to send [18:24:51]OFD Sender: No OFD packet to send [18:24:56]OFD Sender: No OFD packet to send [18:25:01]OFD Sender: No OFD packet to send [18:25:06]OFD Sender: No OFD packet to send [18:25:11]OFD Sender: No OFD packet to send [18:25:16]OFD Sender: No OFD packet to send [18:25:21]OFD Sender: No OFD packet to send [18:25:26]OFD Sender: No OFD packet to send [18:25:31]OFD Sender: No OFD packet to send [18:25:36]OFD Sender: No OFD packet to send [18:25:41]OFD Sender: No OFD packet to send [18:25:46]OFD Sender: No OFD packet to send [18:25:51]OFD Sender: No OFD packet to send [18:25:56]OFD Sender: No OFD packet to send [18:26:01]OFD Sender: No OFD packet to send [18:26:06]OFD Sender: No OFD packet to send [18:26:12]OFD Sender: No OFD packet to send [18:26:17]OFD Sender: No OFD packet to send [18:26:22]OFD Sender: No OFD packet to send [18:26:27]OFD Sender: No OFD packet to send [18:26:32]OFD Sender: No OFD packet to send [18:26:37]OFD Sender: No OFD packet to send [18:26:42]OFD Sender: No OFD packet to send [18:26:47]OFD Sender: No OFD packet to send [18:26:52]OFD Sender: No OFD packet to send [18:26:57]OFD Sender: No OFD packet to send [18:27:02]OFD Sender: No OFD packet to send [18:27:07]OFD Sender: No OFD packet to send [18:27:12]OFD Sender: No OFD packet to send [18:27:17]OFD Sender: No OFD packet to send [18:27:22]OFD Sender: No OFD packet to send [18:27:27]OFD Sender: No OFD packet to send [18:27:32]OFD Sender: No OFD packet to send [18:27:37]OFD Sender: No OFD packet to send [18:27:42]OFD Sender: No OFD packet to send [18:27:47]OFD Sender: No OFD packet to send [18:27:52]OFD Sender: No OFD packet to send [18:27:57]OFD Sender: No OFD packet to send [18:28:02]OFD Sender: No OFD packet to send [18:28:07]OFD Sender: No OFD packet to send [18:28:12]OFD Sender: No OFD packet to send [18:28:17]OFD Sender: No OFD packet to send [18:28:22]OFD Sender: No OFD packet to send [18:28:27]OFD Sender: No OFD packet to send [18:28:32]OFD Sender: No OFD packet to send [18:28:37]OFD Sender: No OFD packet to send [18:28:42]OFD Sender: No OFD packet to send [18:28:47]OFD Sender: No OFD packet to send [18:28:52]OFD Sender: No OFD packet to send [18:28:57]OFD Sender: No OFD packet to send [18:29:02]OFD Sender: No OFD packet to send [18:29:07]OFD Sender: No OFD packet to send [18:29:12]OFD Sender: No OFD packet to send [18:29:17]OFD Sender: No OFD packet to send [18:29:22]OFD Sender: No OFD packet to send [18:29:27]OFD Sender: No OFD packet to send [18:29:32]OFD Sender: No OFD packet to send [18:29:37]OFD Sender: No OFD packet to send [18:29:40]accept exits with 8 [18:29:40]New connection [18:29:40]New thread 3067084132 created [18:29:40]Thread 3066940772 joined [18:29:40]Waiting for new connection... [18:29:40] Sock 8.Parse request [18:29:40]Sock 8.Check first char [18:29:40]Sock 8.First char is OK [18:29:40]request: POST /json_proto HTTP/1.0 [18:29:40]Method: POST [18:29:40]URL: /json_proto [18:29:40]Method is POST - this is cgi request [18:29:40]url: /json_proto [18:29:40]query_string will be loaded in cgi processing [18:29:40]execute_cgi json_proto POST (null) [18:29:40]execute_cgi path=json_proto method=POST [18:29:40]POST find Content-Length [18:29:40]Host: 172.17.50.4:8080 [18:29:40]Content-Length: 655 [18:29:40]Content-Type: application/json [18:29:40] [18:29:40]POST finish read [18:29:40]Found Content-Length = 655 [18:29:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134880", "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" ] } } [18:29:40]execute_script... [18:29: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)134880", "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" ] } } [18:29:40]POST & json_proto [18:29:40]process_json_proto [18:29:40]json parsed OK: [18:29:40]protocol is kg_v1.0 [18:29:40]action value=close_receipt [18:29:40]process_action close_receipt [18:29:40]cmd_close_receipt [18:29:40]MH_GetDate [18:29:40]Write to MH i2c: F0 00 00 88 0F 86 [18:29:40]Write i2c OK [18:29:40]MH_I2C_Read... [18:29:40]Read from MH i2c: F0 [18:29:40]MH_I2C_Read... [18:29:40]Read from MH i2c: F0 09 00 [18:29:40]MH_I2C_Read... [18:29:40]Read from MH i2c: F0 09 00 88 0F 00 97 9D 16 67 3B 12 16 67 0A [18:29:40]GetLastDocTimeStamp 1729533680 [18:29:40]current date 1729535383 [18:29:40]FM_GetShiftState [18:29:40]SAM_PROTO_GetShiftState [18:29:40]wFMCommunicate request_size=4 [18:29:40]MH_SAM_APDU [18:29:40]CAPDU: 80 13 01 00 [18:29:40]Write to MH i2c: E2 08 00 89 0F 80 13 01 00 00 00 00 00 15 [18:29:40]Write i2c OK [18:29:40]MH_I2C_Read... [18:29:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:29:40]Read from MH i2c: E2 [18:29:40]MH_I2C_Read... [18:29:40]Read from MH i2c: E2 0E 00 [18:29:40]MH_I2C_Read... [18:29:40]Read from MH i2c: E2 0E 00 89 0F 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 5F [18:29:40]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [18:29:40]wFMCommunicate OK [18:29:40]SAM_PROTO_GetShiftState done [18:29:40]FM_GetShiftState done [18:29:40]opened in 1729469223 [18:29:40]opened+sec_in_day 1729555623 [18:29:40]quantity*price = 6900 [18:29:40]sum+1 = 6901 [18:29:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 69.00 НСП 1% : 0.61 НДС 12% : 7.33 Наличными: 69.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 63 21.10.2024 18:29 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24359 ФПД: 59412156063956 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T182943&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24359&fm=59412156063956&tin=02508201610067®Number=0000000000098120&sum=6900 0 [18:29:42]StoreToDocumentArchive [18:29:42]shift 461 fd 24359 [18:29:42]save to /storage/0461/doc_00024359 [18:29:42]save last doc name /storage/0461/doc_00024359 to /storage/kkm_last_doc_name [18:29:42]save OK [18:29:42]Clear old archive folders... [18:29:42]ProcessDocumentItem done err = 0, tmpTLVsize=294 [18:29:42]tlvbuf is 002B99B0 [18:29:42]SAM_PROTO_ClearQueue [18:29:42]wFMCommunicate request_size=4 [18:29:42]MH_SAM_APDU [18:29:42]CAPDU: 80 09 00 00 [18:29:42]Write to MH i2c: E2 08 00 96 0F 80 09 00 00 00 00 00 00 17 [18:29:42]Write i2c OK [18:29:42]MH_I2C_Read... [18:29:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:29:42]Read from MH i2c: E2 [18:29:42]MH_I2C_Read... [18:29:42]Read from MH i2c: E2 03 00 [18:29:42]MH_I2C_Read... [18:29:42]Read from MH i2c: E2 03 00 96 0F 00 90 00 19 [18:29:42]RAPDU: 90 00 [18:29:42]wFMCommunicate OK [18:29:42]SAM_PROTO_ClearQueue done [18:29:42]KKMCreateOFDPacket [18:29:42]OFDProtocolAddRootSTLVToBuf [18:29:42]FM_MakeSignedData [18:29:42]FM_MakeSignedData [18:29:42]SAM_PROTO_SignData [18:29:42]wFMCommunicate request_size=4 [18:29:42]MH_SAM_APDU [18:29:42]CAPDU: 80 0D 01 02 [18:29:42]Write to MH i2c: E2 08 00 97 0F 80 0D 01 02 00 00 00 00 1F [18:29:42]Write i2c OK [18:29:42]MH_I2C_Read... [18:29:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:29:42]Read from MH i2c: E2 [18:29:42]MH_I2C_Read... [18:29:42]Read from MH i2c: E2 03 00 [18:29:42]MH_I2C_Read... [18:29:42]Read from MH i2c: E2 03 00 97 0F 00 90 00 1A [18:29:42]RAPDU: 90 00 [18:29:42]wFMCommunicate OK [18:29:42]wFMCommunicate request_size=255 [18:29:42]MH_SAM_APDU [18:29:42]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 3F 00 00 00 F4 03 04 00 97 9D 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [18:29:42]Write to MH i2c: E2 02 01 98 0F 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 3F 00 00 00 F4 03 04 00 97 9D 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 EC [18:29:42]Write i2c OK [18:29:42]MH_I2C_Read... [18:29:42]OFD Sender: No OFD packet to send [18:29:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:29:42]Read from MH i2c: E2 [18:29:42]MH_I2C_Read... [18:29:42]Read from MH i2c: E2 03 00 [18:29:42]MH_I2C_Read... [18:29:42]Read from MH i2c: E2 03 00 98 0F 00 90 00 1B [18:29:42]RAPDU: 90 00 [18:29:42]wFMCommunicate OK [18:29:42]wFMCommunicate request_size=53 [18:29:42]MH_SAM_APDU [18:29:42]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 27 5F 00 00 35 04 06 00 36 08 F8 75 20 D4 [18:29:42]Write to MH i2c: E2 38 00 99 0F 80 0D 02 02 30 00 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 27 5F 00 00 35 04 06 00 36 08 F8 75 20 D4 00 00 31 [18:29:42]Write i2c OK [18:29:42]MH_I2C_Read... [18:29:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:29:42]Read from MH i2c: E2 [18:29:42]MH_I2C_Read... [18:29:42]Read from MH i2c: E2 03 00 [18:29:42]MH_I2C_Read... [18:29:42]Read from MH i2c: E2 03 00 99 0F 00 90 00 1C [18:29:42]RAPDU: 90 00 [18:29:42]wFMCommunicate OK [18:29:42]wFMCommunicate request_size=4 [18:29:42]MH_SAM_APDU [18:29:42]CAPDU: 80 0D 03 02 [18:29:42]Write to MH i2c: E2 08 00 9A 0F 80 0D 03 02 00 00 00 00 24 [18:29:42]Write i2c OK [18:29:42]MH_I2C_Read... [18:29:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:29:42]Read from MH i2c: E2 [18:29:42]MH_I2C_Read... [18:29:42]Read from MH i2c: E2 0B 00 [18:29:42]MH_I2C_Read... [18:29:42]Read from MH i2c: E2 0B 00 9A 0F 00 D6 C4 D7 DD B8 16 3C 27 90 00 A4 [18:29:42]RAPDU: D6 C4 D7 DD B8 16 3C 27 90 00 [18:29:42]wFMCommunicate OK [18:29:42]SAM_PROTO_SignData done [18:29:42]FM_MakeSignedData done [18:29:42]CreateOFDProtocolMessage [18:29:42]wFMCommunicate request_size=4 [18:29:42]MH_SAM_APDU [18:29:42]CAPDU: 80 11 00 00 [18:29:42]Write to MH i2c: E2 08 00 9B 0F 80 11 00 00 00 00 00 00 24 [18:29:42]Write i2c OK [18:29:42]MH_I2C_Read... [18:29:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:29:42]Read from MH i2c: E2 [18:29:42]MH_I2C_Read... [18:29:42]Read from MH i2c: E2 17 00 [18:29:42]MH_I2C_Read... [18:29:42]Read from MH i2c: E2 17 00 9B 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 71 [18:29:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [18:29:42]wFMCommunicate OK [18:29:42]CreateOFDProtocolMessage done [18:29:42]OFDSenderStorePacket 24359 [18:29:42]StoreOFDPacket docnum=24359 [18:29:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 3A 01 00 00 8C 91 32 01 14 5E 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 3F 00 00 00 F4 03 04 00 97 9D 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 27 5F 00 00 35 04 06 00 36 08 F8 75 20 D4 D6 C4 D7 DD B8 16 3C 27 [18:29:42]CheckFolder [18:29:42]dirname=/storage/ofd_packets [18:29:42]CheckFolder done [18:29:42]ProducePacketName [18:29:42]name=ofd_packets/00024359 [18:29:42]NVStorageSaveData ofd_packets/00024359 [18:29:42]File name is /storage/ofd_packets/00024359 [18:29:42]Write 344 bytes [18:29:42]NVStorageSaveData done [18:29:42]OFDSenderStorePacket done [18:29:42]KKMCreateOFDPacket done [18:29:42]NVStorageSaveData kkm_last_timestamp [18:29:42]File name is /storage/kkm_last_timestamp [18:29:42]Write 4 bytes [18:29:42]NVStorageSaveData done [18:29:42]ExternCall_PrintAddStr [18:29:42]wPrintStart [18:29:42]Write to MH i2c: 01 00 00 9C 0F AB [18:29:42]Write i2c OK [18:29:42]MH_I2C_Read... [18:29:42]Read from MH i2c: 01 [18:29:42]MH_I2C_Read... [18:29:42]Read from MH i2c: 01 07 00 [18:29:42]MH_I2C_Read... [18:29:42]Read from MH i2c: 01 07 00 9C 0F 00 00 00 00 00 FF 0F C0 [18:29:42]RasterBufferAndPrint [18:29:42]line Счет N : (3)134880 [18:29:42]line ИНН: 02508201610067 [18:29:42]line Контрольно-Кассовый Чек [18:29:42]line ПРОДАЖА [18:29:42]line Товар: 4600682557456 [18:29:42]line Напиток FLash up energy эн ж/б 0,5/0,45л [18:29:42]line 1.000 * 69.00 [18:29:42]line = 69.00 [18:29:42]line НДС 12% НСП 1% [18:29:42]line > о реализуемом товаре [18:29:42]line ИТОГО: 69.00 [18:29:42]line НСП 1% : 0.61 [18:29:42]line НДС 12% : 7.33 [18:29:42]line Наличными: 69.00 [18:29:42]line Безнал.: 0.00 [18:29:42]line Место: АЗС № 85 "Партнер Нефть" [18:29:42]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [18:29:42]line СНО: Общий режим [18:29:42]line Чек 63 21.10.2024 18:29 [18:29:42]line Смена: 461 ФФД: 1.0 [18:29:42]line ЗНМ: 0300000166 [18:29:42]line РНМ: 0000000000098120 [18:29:42]line Версия ККМ: 001 [18:29:42]line ФМ: 0000000000965420 [18:29:42]line ФД: 24359 [18:29:42]line ФПД: 59412156063956 [18:29:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T182943&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24359&fm=59412156063956&tin=02508201610067®Number=0000000000098120&sum=6900 [18:29:42]line 0 [18:29:42]OFD Sender: Processing packet 24359 [packets to send 5, broken 4] [18:29:42]ProducePacketName [18:29:42]name=ofd_packets/00024359 [18:29:42]OFD Sender: To server: pG, [18:29:42]CommunicateWithHost lk.salyk.kg:30040 [18:29:42]ConnectInit lk.salyk.kg [18:29:42]written 0, free lines is 4095 [18:29:43]Connected sock=10 [18:29:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 3A 01 00 00 8C 91 32 01 14 5E 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 3F 00 00 00 F4 03 04 00 97 9D 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 27 5F 00 00 35 04 06 00 36 08 F8 75 20 D4 D6 C4 D7 DD B8 16 3C 27 [18:29:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 31 98 47 00 94 52 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 27 5F 00 00 F4 03 04 00 3D 49 16 67 B6 04 01 00 00 60 5C 48 F3 4E B9 61 0C [18:29:43]CommunicateWithHost err = 0 [18:29:43]CheckOFDResponse [18:29:43]1017 (14) - 77093643461234 [18:29:43]1041 (16) - 0000000000965420 [18:29:43]1040 (4) - 24359 [18:29:43]1012 (4) - 21.10.2024 12:29 [18:29:43]1206 (1) - 0 [18:29:43]OFD Sender: Remove packet 24359 [18:29:43]ProducePacketName [18:29:43]name=ofd_packets/00024359 [18:29:43]NVStorageDeleteData [18:29:43]Write to MH i2c: 01 00 00 C5 0F D4 [18:29:43]Write i2c OK [18:29:43]MH_I2C_Read... [18:29:43]Read from MH i2c: 01 [18:29:43]MH_I2C_Read... [18:29:43]Read from MH i2c: 01 07 00 [18:29:43]MH_I2C_Read... [18:29:43]Read from MH i2c: 01 07 00 C5 0F 00 00 00 00 00 08 0D F0 [18:29:43]RasterBufferAndPrint [18:29:43]line [18:29:43]line [18:29:43]line [18:29:43]line [18:29:43]line [18:29:43]written 0, free lines is 3345 [18:29:43]process_action close_receipt done [18:29:43]requested_data is exist [18:29:43]produce_requested_data [18:29:43]requested_item fm.sn is exist - process it [18:29:43]wFMCommunicate request_size=4 [18:29:43]MH_SAM_APDU [18:29:43]CAPDU: 80 11 00 00 [18:29:43]Write to MH i2c: E2 08 00 CC 0F 80 11 00 00 00 00 00 00 55 [18:29:43]Write i2c OK [18:29:43]MH_I2C_Read... [18:29:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:29:43]Read from MH i2c: E2 [18:29:43]MH_I2C_Read... [18:29:43]Read from MH i2c: E2 17 00 [18:29:43]MH_I2C_Read... [18:29:43]Read from MH i2c: E2 17 00 CC 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 A2 [18:29:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [18:29:43]wFMCommunicate OK [18:29:43]requested_item fd.num is exist - process it [18:29:43]SAM_PROTO_GetFieldsCounters [18:29:43]wFMCommunicate request_size=4 [18:29:43]MH_SAM_APDU [18:29:43]CAPDU: 80 13 00 00 [18:29:43]Write to MH i2c: E2 08 00 CD 0F 80 13 00 00 00 00 00 00 58 [18:29:43]Write i2c OK [18:29:43]MH_I2C_Read... [18:29:43]Read from MH i2c: E2 [18:29:43]MH_I2C_Read... [18:29:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:29:43]Read from MH i2c: E2 62 00 [18:29:43]MH_I2C_Read... [18:29:43]Read from MH i2c: E2 62 00 CD 0F 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 27 5F 00 00 0E 04 04 00 CD 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 7F [18:29: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 27 5F 00 00 0E 04 04 00 CD 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 [18:29:43]wFMCommunicate OK [18:29:43]SAM_PROTO_GetFieldsCounters done [18:29:43]requested_item shift.num is exist - process it [18:29:43]requested_item shift.opened is exist - process it [18:29:43]req_shift_opened [18:29:43]FM_GetShiftState [18:29:43]SAM_PROTO_GetShiftState [18:29:43]wFMCommunicate request_size=4 [18:29:43]MH_SAM_APDU [18:29:43]CAPDU: 80 13 01 00 [18:29:43]Write to MH i2c: E2 08 00 CE 0F 80 13 01 00 00 00 00 00 5A [18:29:43]Write i2c OK [18:29:43]MH_I2C_Read... [18:29:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:29:43]Read from MH i2c: E2 [18:29:43]MH_I2C_Read... [18:29:43]Read from MH i2c: E2 0E 00 [18:29:43]MH_I2C_Read... [18:29:43]Read from MH i2c: E2 0E 00 CE 0F 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 A4 [18:29:43]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [18:29:43]wFMCommunicate OK [18:29:43]SAM_PROTO_GetShiftState done [18:29:43]FM_GetShiftState done [18:29:43]req_shift_opened done [18:29:43]requested_item shift.open_date is exist - process it [18:29:43]req_shift_open_date [18:29:43]req_shift_open_date done [18:29:43]produce_requested_data done [18:29:43]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24359,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [18:29:43]process_action_free close_receipt [18:29:43]json_value_free [18:29:43]json_value_free done [18:29:43]process_json_proto returns [18:29:43]Send response to host [18:29:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24359,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [18:29:43]free response buf [18:29:43]execute_script done [18:29:43]execute_script returns [18:29:43]free content buf [18:29:43]Sock 8.Close socket [18:29:43]Sock 8.Thread stoped [18:29:43]OFD Sender: No OFD packet to send [18:29:48]OFD Sender: No OFD packet to send [18:29:53]OFD Sender: No OFD packet to send [18:29:58]OFD Sender: No OFD packet to send [18:30:03]OFD Sender: No OFD packet to send [18:30:08]OFD Sender: No OFD packet to send [18:30:13]OFD Sender: No OFD packet to send [18:30:18]OFD Sender: No OFD packet to send [18:30:23]OFD Sender: No OFD packet to send [18:30:28]OFD Sender: No OFD packet to send [18:30:33]OFD Sender: No OFD packet to send [18:30:38]OFD Sender: No OFD packet to send [18:30:43]OFD Sender: No OFD packet to send [18:30:48]OFD Sender: No OFD packet to send [18:30:53]OFD Sender: No OFD packet to send [18:30:58]OFD Sender: No OFD packet to send [18:31:03]OFD Sender: No OFD packet to send [18:31:08]OFD Sender: No OFD packet to send [18:31:13]OFD Sender: No OFD packet to send [18:31:18]OFD Sender: No OFD packet to send [18:31:23]OFD Sender: No OFD packet to send [18:31:28]OFD Sender: No OFD packet to send [18:31:33]OFD Sender: No OFD packet to send [18:31:38]OFD Sender: No OFD packet to send [18:31:43]OFD Sender: No OFD packet to send [18:31:48]OFD Sender: No OFD packet to send [18:31:53]OFD Sender: No OFD packet to send [18:31:58]OFD Sender: No OFD packet to send [18:32:03]OFD Sender: No OFD packet to send [18:32:08]OFD Sender: No OFD packet to send [18:32:13]OFD Sender: No OFD packet to send [18:32:18]OFD Sender: No OFD packet to send [18:32:23]OFD Sender: No OFD packet to send [18:32:28]OFD Sender: No OFD packet to send [18:32:33]OFD Sender: No OFD packet to send [18:32:38]OFD Sender: No OFD packet to send [18:32:43]OFD Sender: No OFD packet to send [18:32:48]OFD Sender: No OFD packet to send [18:32:53]OFD Sender: No OFD packet to send [18:32:58]OFD Sender: No OFD packet to send [18:33:03]OFD Sender: No OFD packet to send [18:33:08]OFD Sender: No OFD packet to send [18:33:13]OFD Sender: No OFD packet to send [18:33:18]OFD Sender: No OFD packet to send [18:33:23]OFD Sender: No OFD packet to send [18:33:28]OFD Sender: No OFD packet to send [18:33:33]OFD Sender: No OFD packet to send [18:33:38]OFD Sender: No OFD packet to send [18:33:43]OFD Sender: No OFD packet to send [18:33:48]OFD Sender: No OFD packet to send [18:33:53]OFD Sender: No OFD packet to send [18:33:58]OFD Sender: No OFD packet to send [18:34:03]OFD Sender: No OFD packet to send [18:34:08]OFD Sender: No OFD packet to send [18:34:13]OFD Sender: No OFD packet to send [18:34:18]OFD Sender: No OFD packet to send [18:34:23]OFD Sender: No OFD packet to send [18:34:28]OFD Sender: No OFD packet to send [18:34: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:54]OFD Sender: No OFD packet to send [18:46:59]OFD Sender: No OFD packet to send [18:47:04]OFD Sender: No OFD packet to send [18:47:09]OFD Sender: No OFD packet to send [18:47:14]OFD Sender: No OFD packet to send [18:47:19]OFD Sender: No OFD packet to send [18:47:24]OFD Sender: No OFD packet to send [18:47:29]OFD Sender: No OFD packet to send [18:47:34]OFD Sender: No OFD packet to send [18:47:39]OFD Sender: No OFD packet to send [18:47:44]OFD Sender: No OFD packet to send [18:47:49]OFD Sender: No OFD packet to send [18:47:54]OFD Sender: No OFD packet to send [18:47:59]OFD Sender: No OFD packet to send [18:48:04]OFD Sender: No OFD packet to send [18:48:09]OFD Sender: No OFD packet to send [18:48:14]OFD Sender: No OFD packet to send [18:48:19]OFD Sender: No OFD packet to send [18:48:24]OFD Sender: No OFD packet to send [18:48:29]OFD Sender: No OFD packet to send [18:48:34]OFD Sender: No OFD packet to send [18:48:39]OFD Sender: No OFD packet to send [18:48:44]OFD Sender: No OFD packet to send [18:48:49]OFD Sender: No OFD packet to send [18:48:54]OFD Sender: No OFD packet to send [18:48:59]OFD Sender: No OFD packet to send [18:49:04]OFD Sender: No OFD packet to send [18:49:09]OFD Sender: No OFD packet to send [18:49:14]OFD Sender: No OFD packet to send [18:49:19]OFD Sender: No OFD packet to send [18:49:24]OFD Sender: No OFD packet to send [18:49:29]OFD Sender: No OFD packet to send [18:49:34]OFD Sender: No OFD packet to send [18:49:39]OFD Sender: No OFD packet to send [18:49:44]OFD Sender: No OFD packet to send [18:49:49]OFD Sender: No OFD packet to send [18:49:54]OFD Sender: No OFD packet to send [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:39]OFD Sender: No OFD packet to send [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:05]OFD Sender: No OFD packet to send [18:56:10]OFD Sender: No OFD packet to send [18:56:15]OFD Sender: No OFD packet to send [18:56:20]OFD Sender: No OFD packet to send [18:56:25]OFD Sender: No OFD packet to send [18:56:30]OFD Sender: No OFD packet to send [18:56:35]OFD Sender: No OFD packet to send [18:56:40]OFD Sender: No OFD packet to send [18:56:45]OFD Sender: No OFD packet to send [18:56:50]OFD Sender: No OFD packet to send [18:56:55]OFD Sender: No OFD packet to send [18:57:00]OFD Sender: No OFD packet to send [18:57:05]OFD Sender: No OFD packet to send [18:57:10]OFD Sender: No OFD packet to send [18:57:15]OFD Sender: No OFD packet to send [18:57:20]OFD Sender: No OFD packet to send [18:57:25]OFD Sender: No OFD packet to send [18:57:30]OFD Sender: No OFD packet to send [18:57:35]OFD Sender: No OFD packet to send [18:57:40]OFD Sender: No OFD packet to send [18:57:45]OFD Sender: No OFD packet to send [18:57:50]OFD Sender: No OFD packet to send [18:57:55]OFD Sender: No OFD packet to send [18:58:00]OFD Sender: No OFD packet to send [18:58:05]OFD Sender: No OFD packet to send [18:58:10]OFD Sender: No OFD packet to send [18:58:15]OFD Sender: No OFD packet to send [18:58:20]OFD Sender: No OFD packet to send [18:58:25]OFD Sender: No OFD packet to send [18:58:30]OFD Sender: No OFD packet to send [18:58:35]OFD Sender: No OFD packet to send [18:58:40]OFD Sender: No OFD packet to send [18:58:45]OFD Sender: No OFD packet to send [18:58:50]OFD Sender: No OFD packet to send [18:58:55]OFD Sender: No OFD packet to send [18:59:00]OFD Sender: No OFD packet to send [18:59:05]OFD Sender: No OFD packet to send [18:59:10]OFD Sender: No OFD packet to send [18:59:15]OFD Sender: No OFD packet to send [18:59:20]OFD Sender: No OFD packet to send [18:59:25]OFD Sender: No OFD packet to send [18:59:30]OFD Sender: No OFD packet to send [18:59:35]OFD Sender: No OFD packet to send [18:59:40]OFD Sender: No OFD packet to send [18:59:45]OFD Sender: No OFD packet to send [18:59:50]OFD Sender: No OFD packet to send [18:59:55]OFD Sender: No OFD packet to send [19:00:00]OFD Sender: No OFD packet to send [19:00:05]OFD Sender: No OFD packet to send [19:00:10]OFD Sender: No OFD packet to send [19:00:15]OFD Sender: No OFD packet to send [19:00:20]OFD Sender: No OFD packet to send [19:00:25]OFD Sender: No OFD packet to send [19:00:30]OFD Sender: No OFD packet to send [19:00:35]OFD Sender: No OFD packet to send [19:00:40]OFD Sender: No OFD packet to send [19:00:45]OFD Sender: No OFD packet to send [19:00:50]OFD Sender: No OFD packet to send [19:00:55]OFD Sender: No OFD packet to send [19:01:00]OFD Sender: No OFD packet to send [19:01:05]OFD Sender: No OFD packet to send [19:01:10]OFD Sender: No OFD packet to send [19:01:15]OFD Sender: No OFD packet to send [19:01:20]OFD Sender: No OFD packet to send [19:01:25]OFD Sender: No OFD packet to send [19:01:30]OFD Sender: No OFD packet to send [19:01:35]OFD Sender: No OFD packet to send [19:01:40]OFD Sender: No OFD packet to send [19:01:45]OFD Sender: No OFD packet to send [19:01:50]OFD Sender: No OFD packet to send [19:01:55]OFD Sender: No OFD packet to send [19:02:00]OFD Sender: No OFD packet to send [19:02:05]OFD Sender: No OFD packet to send [19:02:10]OFD Sender: No OFD packet to send [19:02:15]OFD Sender: No OFD packet to send [19:02:20]OFD Sender: No OFD packet to send [19:02:25]OFD Sender: No OFD packet to send [19:02:30]OFD Sender: No OFD packet to send [19:02:35]OFD Sender: No OFD packet to send [19:02:40]OFD Sender: No OFD packet to send [19:02:45]OFD Sender: No OFD packet to send [19:02:50]OFD Sender: No OFD packet to send [19:02:55]OFD Sender: No OFD packet to send [19:03:00]OFD Sender: No OFD packet to send [19:03:05]OFD Sender: No OFD packet to send [19:03:10]OFD Sender: No OFD packet to send [19:03:15]OFD Sender: No OFD packet to send [19:03:20]OFD Sender: No OFD packet to send [19:03:25]OFD Sender: No OFD packet to send [19:03:30]OFD Sender: No OFD packet to send [19:03:35]OFD Sender: No OFD packet to send [19:03:40]OFD Sender: No OFD packet to send [19:03:45]OFD Sender: No OFD packet to send [19:03:50]OFD Sender: No OFD packet to send [19:03:55]OFD Sender: No OFD packet to send [19:04:00]OFD Sender: No OFD packet to send [19:04:05]OFD Sender: No OFD packet to send [19:04:10]OFD Sender: No OFD packet to send [19:04:15]OFD Sender: No OFD packet to send [19:04:20]OFD Sender: No OFD packet to send [19:04:25]OFD Sender: No OFD packet to send [19:04:30]OFD Sender: No OFD packet to send [19:04:35]OFD Sender: No OFD packet to send [19:04:40]OFD Sender: No OFD packet to send [19:04:45]OFD Sender: No OFD packet to send [19:04:50]OFD Sender: No OFD packet to send [19:04:55]OFD Sender: No OFD packet to send [19:05:00]OFD Sender: No OFD packet to send [19:05:05]OFD Sender: No OFD packet to send [19:05:10]OFD Sender: No OFD packet to send [19:05:15]OFD Sender: No OFD packet to send [19:05:20]OFD Sender: No OFD packet to send [19:05:25]OFD Sender: No OFD packet to send [19:05:30]OFD Sender: No OFD packet to send [19:05:35]OFD Sender: No OFD packet to send [19:05:40]OFD Sender: No OFD packet to send [19:05:45]OFD Sender: No OFD packet to send [19:05:50]OFD Sender: No OFD packet to send [19:05:55]OFD Sender: No OFD packet to send [19:06:00]OFD Sender: No OFD packet to send [19:06:05]OFD Sender: No OFD packet to send [19:06:10]OFD Sender: No OFD packet to send [19:06:15]OFD Sender: No OFD packet to send [19:06:20]OFD Sender: No OFD packet to send [19:06:25]OFD Sender: No OFD packet to send [19:06:30]OFD Sender: No OFD packet to send [19:06:35]OFD Sender: No OFD packet to send [19:06:40]OFD Sender: No OFD packet to send [19:06:45]OFD Sender: No OFD packet to send [19:06:50]OFD Sender: No OFD packet to send [19:06:55]OFD Sender: No OFD packet to send [19:07:00]OFD Sender: No OFD packet to send [19:07:05]OFD Sender: No OFD packet to send [19:07:10]OFD Sender: No OFD packet to send [19:07:15]OFD Sender: No OFD packet to send [19:07:20]OFD Sender: No OFD packet to send [19:07:25]OFD Sender: No OFD packet to send [19:07:30]OFD Sender: No OFD packet to send [19:07:35]OFD Sender: No OFD packet to send [19:07:40]OFD Sender: No OFD packet to send [19:07:45]OFD Sender: No OFD packet to send [19:07:50]OFD Sender: No OFD packet to send [19:07:55]OFD Sender: No OFD packet to send [19:08:00]OFD Sender: No OFD packet to send [19:08:05]OFD Sender: No OFD packet to send [19:08:10]OFD Sender: No OFD packet to send [19:08:15]OFD Sender: No OFD packet to send [19:08:20]OFD Sender: No OFD packet to send [19:08:25]OFD Sender: No OFD packet to send [19:08:30]OFD Sender: No OFD packet to send [19:08:35]OFD Sender: No OFD packet to send [19:08:40]OFD Sender: No OFD packet to send [19:08:45]OFD Sender: No OFD packet to send [19:08:50]OFD Sender: No OFD packet to send [19:08:55]OFD Sender: No OFD packet to send [19:09:00]OFD Sender: No OFD packet to send [19:09:05]OFD Sender: No OFD packet to send [19:09:10]OFD Sender: No OFD packet to send [19:09:15]OFD Sender: No OFD packet to send [19:09:20]OFD Sender: No OFD packet to send [19:09:25]OFD Sender: No OFD packet to send [19:09:30]OFD Sender: No OFD packet to send [19:09:35]OFD Sender: No OFD packet to send [19:09:40]OFD Sender: No OFD packet to send [19:09:45]OFD Sender: No OFD packet to send [19:09:50]OFD Sender: No OFD packet to send [19:09:55]OFD Sender: No OFD packet to send [19:10:00]OFD Sender: No OFD packet to send [19:10:05]OFD Sender: No OFD packet to send [19:10:10]OFD Sender: No OFD packet to send [19:10:15]OFD Sender: No OFD packet to send [19:10:20]OFD Sender: No OFD packet to send [19:10:25]OFD Sender: No OFD packet to send [19:10:30]OFD Sender: No OFD packet to send [19:10:35]OFD Sender: No OFD packet to send [19:10:40]OFD Sender: No OFD packet to send [19:10:45]OFD Sender: No OFD packet to send [19:10:50]OFD Sender: No OFD packet to send [19:10:55]OFD Sender: No OFD packet to send [19:11:00]OFD Sender: No OFD packet to send [19:11:05]OFD Sender: No OFD packet to send [19:11:10]OFD Sender: No OFD packet to send [19:11:15]OFD Sender: No OFD packet to send [19:11:20]OFD Sender: No OFD packet to send [19:11:25]OFD Sender: No OFD packet to send [19:11:30]OFD Sender: No OFD packet to send [19:11:35]OFD Sender: No OFD packet to send [19:11:40]OFD Sender: No OFD packet to send [19:11:45]OFD Sender: No OFD packet to send [19:11:50]OFD Sender: No OFD packet to send [19:11:55]OFD Sender: No OFD packet to send [19:12:00]OFD Sender: No OFD packet to send [19:12:05]OFD Sender: No OFD packet to send [19:12:10]OFD Sender: No OFD packet to send [19:12:15]OFD Sender: No OFD packet to send [19:12:20]OFD Sender: No OFD packet to send [19:12:25]OFD Sender: No OFD packet to send [19:12:30]OFD Sender: No OFD packet to send [19:12:35]OFD Sender: No OFD packet to send [19:12:40]OFD Sender: No OFD packet to send [19:12:45]OFD Sender: No OFD packet to send [19:12:50]OFD Sender: No OFD packet to send [19:12:55]OFD Sender: No OFD packet to send [19:13:00]OFD Sender: No OFD packet to send [19:13:05]OFD Sender: No OFD packet to send [19:13:10]OFD Sender: No OFD packet to send [19:13:15]OFD Sender: No OFD packet to send [19:13:20]OFD Sender: No OFD packet to send [19:13:25]OFD Sender: No OFD packet to send [19:13:30]OFD Sender: No OFD packet to send [19:13:35]OFD Sender: No OFD packet to send [19:13:40]OFD Sender: No OFD packet to send [19:13:45]OFD Sender: No OFD packet to send [19:13:50]OFD Sender: No OFD packet to send [19:13:55]OFD Sender: No OFD packet to send [19:14:00]OFD Sender: No OFD packet to send [19:14:05]OFD Sender: No OFD packet to send [19:14:10]OFD Sender: No OFD packet to send [19:14:15]OFD Sender: No OFD packet to send [19:14:20]OFD Sender: No OFD packet to send [19:14:25]OFD Sender: No OFD packet to send [19:14:30]OFD Sender: No OFD packet to send [19:14:35]OFD Sender: No OFD packet to send [19:14:40]OFD Sender: No OFD packet to send [19:14:45]OFD Sender: No OFD packet to send [19:14:50]OFD Sender: No OFD packet to send [19:14:55]OFD Sender: No OFD packet to send [19:15:00]OFD Sender: No OFD packet to send [19:15:05]OFD Sender: No OFD packet to send [19:15:10]OFD Sender: No OFD packet to send [19:15:15]OFD Sender: No OFD packet to send [19:15:20]OFD Sender: No OFD packet to send [19:15:25]OFD Sender: No OFD packet to send [19:15:30]OFD Sender: No OFD packet to send [19:15:35]OFD Sender: No OFD packet to send [19:15:40]OFD Sender: No OFD packet to send [19:15:45]OFD Sender: No OFD packet to send [19:15:50]OFD Sender: No OFD packet to send [19:15:55]OFD Sender: No OFD packet to send [19:16:00]OFD Sender: No OFD packet to send [19:16:05]OFD Sender: No OFD packet to send [19:16:10]OFD Sender: No OFD packet to send [19:16:15]OFD Sender: No OFD packet to send [19:16:20]OFD Sender: No OFD packet to send [19:16:25]OFD Sender: No OFD packet to send [19:16:30]OFD Sender: No OFD packet to send [19:16:35]OFD Sender: No OFD packet to send [19:16:40]OFD Sender: No OFD packet to send [19:16:45]OFD Sender: No OFD packet to send [19:16:50]OFD Sender: No OFD packet to send [19:16:55]OFD Sender: No OFD packet to send [19:17:00]OFD Sender: No OFD packet to send [19:17:05]OFD Sender: No OFD packet to send [19:17:10]OFD Sender: No OFD packet to send [19:17:15]OFD Sender: No OFD packet to send [19:17:20]OFD Sender: No OFD packet to send [19:17:25]OFD Sender: No OFD packet to send [19:17:30]OFD Sender: No OFD packet to send [19:17:35]OFD Sender: No OFD packet to send [19:17:41]OFD Sender: No OFD packet to send [19:17:46]OFD Sender: No OFD packet to send [19:17:51]OFD Sender: No OFD packet to send [19:17:56]OFD Sender: No OFD packet to send [19:18:01]OFD Sender: No OFD packet to send [19:18:06]OFD Sender: No OFD packet to send [19:18:11]OFD Sender: No OFD packet to send [19:18:16]OFD Sender: No OFD packet to send [19:18:21]OFD Sender: No OFD packet to send [19:18:26]OFD Sender: No OFD packet to send [19:18:31]OFD Sender: No OFD packet to send [19:18:36]OFD Sender: No OFD packet to send [19:18:41]OFD Sender: No OFD packet to send [19:18:46]OFD Sender: No OFD packet to send [19:18:51]OFD Sender: No OFD packet to send [19:18:56]OFD Sender: No OFD packet to send [19:19:01]OFD Sender: No OFD packet to send [19:19:06]OFD Sender: No OFD packet to send [19:19:11]OFD Sender: No OFD packet to send [19:19:16]OFD Sender: No OFD packet to send [19:19:21]OFD Sender: No OFD packet to send [19:19:26]OFD Sender: No OFD packet to send [19:19:31]OFD Sender: No OFD packet to send [19:19:36]OFD Sender: No OFD packet to send [19:19:41]OFD Sender: No OFD packet to send [19:19:46]OFD Sender: No OFD packet to send [19:19:51]OFD Sender: No OFD packet to send [19:19:56]OFD Sender: No OFD packet to send [19:20:01]OFD Sender: No OFD packet to send [19:20:06]OFD Sender: No OFD packet to send [19:20:11]OFD Sender: No OFD packet to send [19:20:16]OFD Sender: No OFD packet to send [19:20:21]OFD Sender: No OFD packet to send [19:20:26]OFD Sender: No OFD packet to send [19:20:31]OFD Sender: No OFD packet to send [19:20:36]OFD Sender: No OFD packet to send [19:20:41]OFD Sender: No OFD packet to send [19:20:46]OFD Sender: No OFD packet to send [19:20:51]OFD Sender: No OFD packet to send [19:20:56]OFD Sender: No OFD packet to send [19:21:01]OFD Sender: No OFD packet to send [19:21:06]OFD Sender: No OFD packet to send [19:21:11]OFD Sender: No OFD packet to send [19:21:16]OFD Sender: No OFD packet to send [19:21:21]OFD Sender: No OFD packet to send [19:21:26]OFD Sender: No OFD packet to send [19:21:31]OFD Sender: No OFD packet to send [19:21:36]OFD Sender: No OFD packet to send [19:21:41]OFD Sender: No OFD packet to send [19:21:46]OFD Sender: No OFD packet to send [19:21:51]OFD Sender: No OFD packet to send [19:21:56]OFD Sender: No OFD packet to send [19:22:01]OFD Sender: No OFD packet to send [19:22:06]OFD Sender: No OFD packet to send [19:22:11]OFD Sender: No OFD packet to send [19:22:16]OFD Sender: No OFD packet to send [19:22:21]OFD Sender: No OFD packet to send [19:22:26]OFD Sender: No OFD packet to send [19:22:31]OFD Sender: No OFD packet to send [19:22:36]OFD Sender: No OFD packet to send [19:22:41]OFD Sender: No OFD packet to send [19:22:46]OFD Sender: No OFD packet to send [19:22:51]OFD Sender: No OFD packet to send [19:22:56]OFD Sender: No OFD packet to send [19:23:01]OFD Sender: No OFD packet to send [19:23:06]OFD Sender: No OFD packet to send [19:23:11]OFD Sender: No OFD packet to send [19:23:16]OFD Sender: No OFD packet to send [19:23:21]OFD Sender: No OFD packet to send [19:23:26]OFD Sender: No OFD packet to send [19:23:31]OFD Sender: No OFD packet to send [19:23:36]OFD Sender: No OFD packet to send [19:23:41]OFD Sender: No OFD packet to send [19:23:46]OFD Sender: No OFD packet to send [19:23:51]OFD Sender: No OFD packet to send [19:23:56]OFD Sender: No OFD packet to send [19:24:01]OFD Sender: No OFD packet to send [19:24:06]OFD Sender: No OFD packet to send [19:24:11]OFD Sender: No OFD packet to send [19:24:16]OFD Sender: No OFD packet to send [19:24:21]OFD Sender: No OFD packet to send [19:24:26]OFD Sender: No OFD packet to send [19:24:31]OFD Sender: No OFD packet to send [19:24:36]OFD Sender: No OFD packet to send [19:24:41]OFD Sender: No OFD packet to send [19:24:46]OFD Sender: No OFD packet to send [19:24:51]OFD Sender: No OFD packet to send [19:24:56]OFD Sender: No OFD packet to send [19:25:01]OFD Sender: No OFD packet to send [19:25:06]OFD Sender: No OFD packet to send [19:25:11]OFD Sender: No OFD packet to send [19:25:16]OFD Sender: No OFD packet to send [19:25:21]OFD Sender: No OFD packet to send [19:25:26]OFD Sender: No OFD packet to send [19:25:31]OFD Sender: No OFD packet to send [19:25:36]OFD Sender: No OFD packet to send [19:25:41]OFD Sender: No OFD packet to send [19:25:46]OFD Sender: No OFD packet to send [19:25:51]OFD Sender: No OFD packet to send [19:25:56]OFD Sender: No OFD packet to send [19:26:01]OFD Sender: No OFD packet to send [19:26:06]OFD Sender: No OFD packet to send [19:26:11]OFD Sender: No OFD packet to send [19:26:16]OFD Sender: No OFD packet to send [19:26:21]OFD Sender: No OFD packet to send [19:26:26]OFD Sender: No OFD packet to send [19:26:31]OFD Sender: No OFD packet to send [19:26:36]OFD Sender: No OFD packet to send [19:26:41]OFD Sender: No OFD packet to send [19:26:46]OFD Sender: No OFD packet to send [19:26:51]OFD Sender: No OFD packet to send [19:26:56]OFD Sender: No OFD packet to send [19:27:01]OFD Sender: No OFD packet to send [19:27:06]OFD Sender: No OFD packet to send [19:27:11]OFD Sender: No OFD packet to send [19:27:16]OFD Sender: No OFD packet to send [19:27:21]OFD Sender: No OFD packet to send [19:27:26]OFD Sender: No OFD packet to send [19:27:31]OFD Sender: No OFD packet to send [19:27:36]OFD Sender: No OFD packet to send [19:27:41]OFD Sender: No OFD packet to send [19:27:46]OFD Sender: No OFD packet to send [19:27:51]OFD Sender: No OFD packet to send [19:27:56]OFD Sender: No OFD packet to send [19:28:01]OFD Sender: No OFD packet to send [19:28:06]OFD Sender: No OFD packet to send [19:28:11]OFD Sender: No OFD packet to send [19:28:16]OFD Sender: No OFD packet to send [19:28:21]OFD Sender: No OFD packet to send [19:28:26]OFD Sender: No OFD packet to send [19:28:31]OFD Sender: No OFD packet to send [19:28:36]OFD Sender: No OFD packet to send [19:28:41]OFD Sender: No OFD packet to send [19:28:46]OFD Sender: No OFD packet to send [19:28:51]OFD Sender: No OFD packet to send [19:28:56]OFD Sender: No OFD packet to send [19:29:01]OFD Sender: No OFD packet to send [19:29:06]OFD Sender: No OFD packet to send [19:29:11]OFD Sender: No OFD packet to send [19:29:16]OFD Sender: No OFD packet to send [19:29:21]OFD Sender: No OFD packet to send [19:29:26]OFD Sender: No OFD packet to send [19:29:31]OFD Sender: No OFD packet to send [19:29:36]OFD Sender: No OFD packet to send [19:29:41]OFD Sender: No OFD packet to send [19:29:46]OFD Sender: No OFD packet to send [19:29:51]OFD Sender: No OFD packet to send [19:29:56]OFD Sender: No OFD packet to send [19:30:01]OFD Sender: No OFD packet to send [19:30:06]OFD Sender: No OFD packet to send [19:30:11]OFD Sender: No OFD packet to send [19:30:16]OFD Sender: No OFD packet to send [19:30:21]OFD Sender: No OFD packet to send [19:30:26]OFD Sender: No OFD packet to send [19:30:31]OFD Sender: No OFD packet to send [19:30:36]OFD Sender: No OFD packet to send [19:30:41]OFD Sender: No OFD packet to send [19:30:46]OFD Sender: No OFD packet to send [19:30:51]OFD Sender: No OFD packet to send [19:30:56]OFD Sender: No OFD packet to send [19:31:01]OFD Sender: No OFD packet to send [19:31:06]OFD Sender: No OFD packet to send [19:31:11]OFD Sender: No OFD packet to send [19:31:16]OFD Sender: No OFD packet to send [19:31:21]OFD Sender: No OFD packet to send [19:31:26]OFD Sender: No OFD packet to send [19:31:31]OFD Sender: No OFD packet to send [19:31:36]OFD Sender: No OFD packet to send [19:31:41]OFD Sender: No OFD packet to send [19:31:46]OFD Sender: No OFD packet to send [19:31:51]OFD Sender: No OFD packet to send [19:31:56]OFD Sender: No OFD packet to send [19:32:01]OFD Sender: No OFD packet to send [19:32:06]OFD Sender: No OFD packet to send [19:32:11]OFD Sender: No OFD packet to send [19:32:16]OFD Sender: No OFD packet to send [19:32:21]OFD Sender: No OFD packet to send [19:32:26]OFD Sender: No OFD packet to send [19:32:31]OFD Sender: No OFD packet to send [19:32:36]OFD Sender: No OFD packet to send [19:32:41]OFD Sender: No OFD packet to send [19:32:46]OFD Sender: No OFD packet to send [19:32:51]OFD Sender: No OFD packet to send [19:32:56]OFD Sender: No OFD packet to send [19:33:01]OFD Sender: No OFD packet to send [19:33:06]OFD Sender: No OFD packet to send [19:33:11]OFD Sender: No OFD packet to send [19:33:16]OFD Sender: No OFD packet to send [19:33:21]OFD Sender: No OFD packet to send [19:33:26]OFD Sender: No OFD packet to send [19:33:31]OFD Sender: No OFD packet to send [19:33:36]OFD Sender: No OFD packet to send [19:33:41]OFD Sender: No OFD packet to send [19:33:46]OFD Sender: No OFD packet to send [19:33:51]OFD Sender: No OFD packet to send [19:33:52]accept exits with 9 [19:33:52]New connection [19:33:52]New thread 3066940772 created [19:33:52]Thread 3067084132 joined [19:33:52]Waiting for new connection... [19:33:52] Sock 9.Parse request [19:33:52]Sock 9.Check first char [19:33:52]Sock 9.First char is OK [19:33:52]request: POST /json_proto HTTP/1.0 [19:33:52]Method: POST [19:33:52]URL: /json_proto [19:33:52]Method is POST - this is cgi request [19:33:52]url: /json_proto [19:33:52]query_string will be loaded in cgi processing [19:33:52]execute_cgi json_proto POST (null) [19:33:52]execute_cgi path=json_proto method=POST [19:33:52]POST find Content-Length [19:33:52]Host: 172.17.50.4:8080 [19:33:52]Content-Length: 679 [19:33:52]Content-Type: application/json [19:33:52] [19:33:52]POST finish read [19:33:52]Found Content-Length = 679 [19:33:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134881", "tax_sys" : 0, "items" : [ { "code": "4700003010353", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:33:52]execute_script... [19:33: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)134881", "tax_sys" : 0, "items" : [ { "code": "4700003010353", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:33:52]POST & json_proto [19:33:52]process_json_proto [19:33:52]json parsed OK: [19:33:52]protocol is kg_v1.0 [19:33:52]action value=close_receipt [19:33:52]process_action close_receipt [19:33:52]cmd_close_receipt [19:33:52]MH_GetDate [19:33:52]Write to MH i2c: F0 00 00 CF 0F CD [19:33:52]Write i2c OK [19:33:52]MH_I2C_Read... [19:33:52]Read from MH i2c: F0 [19:33:52]MH_I2C_Read... [19:33:52]Read from MH i2c: F0 09 00 [19:33:52]MH_I2C_Read... [19:33:52]Read from MH i2c: F0 09 00 CF 0F 00 A3 AC 16 67 3B 12 16 67 6C [19:33:52]GetLastDocTimeStamp 1729535383 [19:33:52]current date 1729539235 [19:33:52]FM_GetShiftState [19:33:52]SAM_PROTO_GetShiftState [19:33:52]wFMCommunicate request_size=4 [19:33:52]MH_SAM_APDU [19:33:52]CAPDU: 80 13 01 00 [19:33:52]Write to MH i2c: E2 08 00 D0 0F 80 13 01 00 00 00 00 00 5C [19:33:52]Write i2c OK [19:33:52]MH_I2C_Read... [19:33:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:33:52]Read from MH i2c: E2 [19:33:52]MH_I2C_Read... [19:33:52]Read from MH i2c: E2 0E 00 [19:33:52]MH_I2C_Read... [19:33:52]Read from MH i2c: E2 0E 00 D0 0F 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 A6 [19:33:52]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [19:33:52]wFMCommunicate OK [19:33:52]SAM_PROTO_GetShiftState done [19:33:52]FM_GetShiftState done [19:33:52]opened in 1729469223 [19:33:52]opened+sec_in_day 1729555623 [19:33:52]quantity*price = 8000 [19:33:52]sum+1 = 8001 [19:33:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 64 21.10.2024 19:33 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24360 ФПД: 181167613387801 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T193355&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24360&fm=181167613387801&tin=02508201610067®Number=0000000000098120&sum=8000 0 [19:33:53]StoreToDocumentArchive [19:33:53]shift 461 fd 24360 [19:33:53]save to /storage/0461/doc_00024360 [19:33:53]save last doc name /storage/0461/doc_00024360 to /storage/kkm_last_doc_name [19:33:53]save OK [19:33:53]Clear old archive folders... [19:33:53]ProcessDocumentItem done err = 0, tmpTLVsize=294 [19:33:53]tlvbuf is 00352660 [19:33:53]SAM_PROTO_ClearQueue [19:33:53]wFMCommunicate request_size=4 [19:33:53]MH_SAM_APDU [19:33:53]CAPDU: 80 09 00 00 [19:33:53]Write to MH i2c: E2 08 00 DD 0F 80 09 00 00 00 00 00 00 5E [19:33:53]Write i2c OK [19:33:53]MH_I2C_Read... [19:33:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:33:53]Read from MH i2c: E2 [19:33:53]MH_I2C_Read... [19:33:53]Read from MH i2c: E2 03 00 [19:33:53]MH_I2C_Read... [19:33:53]Read from MH i2c: E2 03 00 DD 0F 00 90 00 60 [19:33:53]RAPDU: 90 00 [19:33:53]wFMCommunicate OK [19:33:53]SAM_PROTO_ClearQueue done [19:33:53]KKMCreateOFDPacket [19:33:53]OFDProtocolAddRootSTLVToBuf [19:33:53]FM_MakeSignedData [19:33:53]FM_MakeSignedData [19:33:53]SAM_PROTO_SignData [19:33:53]wFMCommunicate request_size=4 [19:33:53]MH_SAM_APDU [19:33:53]CAPDU: 80 0D 01 02 [19:33:53]Write to MH i2c: E2 08 00 DE 0F 80 0D 01 02 00 00 00 00 66 [19:33:53]Write i2c OK [19:33:53]MH_I2C_Read... [19:33:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:33:54]Read from MH i2c: E2 [19:33:54]MH_I2C_Read... [19:33:54]Read from MH i2c: E2 03 00 [19:33:54]MH_I2C_Read... [19:33:54]Read from MH i2c: E2 03 00 DE 0F 00 90 00 61 [19:33:54]RAPDU: 90 00 [19:33:54]wFMCommunicate OK [19:33:54]wFMCommunicate request_size=255 [19:33:54]MH_SAM_APDU [19:33:54]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 A3 AC 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [19:33:54]Write to MH i2c: E2 02 01 DF 0F 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 A3 AC 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 42 [19:33:54]Write i2c OK [19:33:54]MH_I2C_Read... [19:33:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:33:54]Read from MH i2c: E2 [19:33:54]MH_I2C_Read... [19:33:54]Read from MH i2c: E2 03 00 [19:33:54]MH_I2C_Read... [19:33:54]Read from MH i2c: E2 03 00 DF 0F 00 90 00 62 [19:33:54]RAPDU: 90 00 [19:33:54]wFMCommunicate OK [19:33:54]wFMCommunicate request_size=53 [19:33:54]MH_SAM_APDU [19:33:54]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 28 5F 00 00 35 04 06 00 A4 C5 5F 3D A4 19 [19:33:54]Write to MH i2c: E2 38 00 E0 0F 80 0D 02 02 30 00 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 28 5F 00 00 35 04 06 00 A4 C5 5F 3D A4 19 00 00 9C [19:33:54]Write i2c OK [19:33:54]MH_I2C_Read... [19:33:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:33:54]Read from MH i2c: E2 [19:33:54]MH_I2C_Read... [19:33:54]Read from MH i2c: E2 03 00 [19:33:54]MH_I2C_Read... [19:33:54]Read from MH i2c: E2 03 00 E0 0F 00 90 00 63 [19:33:54]RAPDU: 90 00 [19:33:54]wFMCommunicate OK [19:33:54]wFMCommunicate request_size=4 [19:33:54]MH_SAM_APDU [19:33:54]CAPDU: 80 0D 03 02 [19:33:54]Write to MH i2c: E2 08 00 E1 0F 80 0D 03 02 00 00 00 00 6B [19:33:54]Write i2c OK [19:33:54]MH_I2C_Read... [19:33:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:33:54]Read from MH i2c: E2 [19:33:54]MH_I2C_Read... [19:33:54]Read from MH i2c: E2 0B 00 [19:33:54]MH_I2C_Read... [19:33:54]Read from MH i2c: E2 0B 00 E1 0F 00 50 8C BF 35 BF 99 BA 25 90 00 73 [19:33:54]RAPDU: 50 8C BF 35 BF 99 BA 25 90 00 [19:33:54]wFMCommunicate OK [19:33:54]SAM_PROTO_SignData done [19:33:54]FM_MakeSignedData done [19:33:54]CreateOFDProtocolMessage [19:33:54]wFMCommunicate request_size=4 [19:33:54]MH_SAM_APDU [19:33:54]CAPDU: 80 11 00 00 [19:33:54]Write to MH i2c: E2 08 00 E2 0F 80 11 00 00 00 00 00 00 6B [19:33:54]Write i2c OK [19:33:54]MH_I2C_Read... [19:33:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:33:54]Read from MH i2c: E2 [19:33:54]MH_I2C_Read... [19:33:54]Read from MH i2c: E2 17 00 [19:33:54]MH_I2C_Read... [19:33:54]Read from MH i2c: E2 17 00 E2 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 B8 [19:33:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:33:54]wFMCommunicate OK [19:33:54]CreateOFDProtocolMessage done [19:33:54]OFDSenderStorePacket 24360 [19:33:54]StoreOFDPacket docnum=24360 [19:33:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 3A 01 00 00 2C CD 32 01 C0 F1 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 A3 AC 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 28 5F 00 00 35 04 06 00 A4 C5 5F 3D A4 19 50 8C BF 35 BF 99 BA 25 [19:33:54]CheckFolder [19:33:54]dirname=/storage/ofd_packets [19:33:54]CheckFolder done [19:33:54]ProducePacketName [19:33:54]name=ofd_packets/00024360 [19:33:54]NVStorageSaveData ofd_packets/00024360 [19:33:54]File name is /storage/ofd_packets/00024360 [19:33:54]Write 344 bytes [19:33:54]NVStorageSaveData done [19:33:54]OFDSenderStorePacket done [19:33:54]KKMCreateOFDPacket done [19:33:54]NVStorageSaveData kkm_last_timestamp [19:33:54]File name is /storage/kkm_last_timestamp [19:33:54]Write 4 bytes [19:33:54]NVStorageSaveData done [19:33:54]ExternCall_PrintAddStr [19:33:54]wPrintStart [19:33:54]Write to MH i2c: 01 00 00 E3 0F F2 [19:33:54]Write i2c OK [19:33:54]MH_I2C_Read... [19:33:54]Read from MH i2c: 01 [19:33:54]MH_I2C_Read... [19:33:54]Read from MH i2c: 01 07 00 [19:33:54]MH_I2C_Read... [19:33:54]Read from MH i2c: 01 07 00 E3 0F 00 00 00 00 00 FF 0F 07 [19:33:54]RasterBufferAndPrint [19:33:54]line Счет N : (3)134881 [19:33:54]line ИНН: 02508201610067 [19:33:54]line Контрольно-Кассовый Чек [19:33:54]line ПРОДАЖА [19:33:54]line Товар: 4700003010353 [19:33:54]line Напиток Let`s Go! с/с груша ПЭТ 1л [19:33:54]line 1.000 * 80.00 [19:33:54]line = 80.00 [19:33:54]line НДС 12% НСП 1% [19:33:54]line > о реализуемом товаре [19:33:54]line ИТОГО: 80.00 [19:33:54]line НСП 1% : 0.71 [19:33:54]line НДС 12% : 8.50 [19:33:54]line Наличными: 80.00 [19:33:54]line Безнал.: 0.00 [19:33:54]line Место: АЗС № 85 "Партнер Нефть" [19:33:54]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [19:33:54]line СНО: Общий режим [19:33:54]line Чек 64 21.10.2024 19:33 [19:33:54]line Смена: 461 ФФД: 1.0 [19:33:54]line ЗНМ: 0300000166 [19:33:54]line РНМ: 0000000000098120 [19:33:54]line Версия ККМ: 001 [19:33:54]line ФМ: 0000000000965420 [19:33:54]line ФД: 24360 [19:33:54]line ФПД: 181167613387801 [19:33:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T193355&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24360&fm=181167613387801&tin=02508201610067®Number=0000000000098120&sum=8000 [19:33:54]OFD Sender: Processing packet 24360 [packets to send 5, broken 4] [19:33:54]ProducePacketName [19:33:54]name=ofd_packets/00024360 [19:33:54]OFD Sender: To server: pG, [19:33:54]CommunicateWithHost lk.salyk.kg:30040 [19:33:54]ConnectInit lk.salyk.kg [19:33:54]line 0 [19:33:54]written 0, free lines is 4095 [19:33:54]Connected sock=10 [19:33: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 34 32 30 3A 01 00 00 2C CD 32 01 C0 F1 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 A3 AC 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 28 5F 00 00 35 04 06 00 A4 C5 5F 3D A4 19 50 8C BF 35 BF 99 BA 25 [19:33:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 5D 15 47 00 96 86 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 28 5F 00 00 F4 03 04 00 49 58 16 67 B6 04 01 00 00 DE B7 4C 51 64 AB 98 B2 [19:33:55]CommunicateWithHost err = 0 [19:33:55]CheckOFDResponse [19:33:55]1017 (14) - 77093643461234 [19:33:55]1041 (16) - 0000000000965420 [19:33:55]1040 (4) - 24360 [19:33:55]1012 (4) - 21.10.2024 13:34 [19:33:55]1206 (1) - 0 [19:33:55]OFD Sender: Remove packet 24360 [19:33:55]ProducePacketName [19:33:55]name=ofd_packets/00024360 [19:33:55]NVStorageDeleteData [19:33:55]Write to MH i2c: 01 00 00 0C 10 1C [19:33:55]Write i2c OK [19:33:55]MH_I2C_Read... [19:33:55]Read from MH i2c: 01 [19:33:55]MH_I2C_Read... [19:33:55]Read from MH i2c: 01 07 00 [19:33:55]MH_I2C_Read... [19:33:55]Read from MH i2c: 01 07 00 0C 10 00 00 00 00 00 05 0D 35 [19:33:55]RasterBufferAndPrint [19:33:55]line [19:33:55]line [19:33:55]line [19:33:55]line [19:33:55]line [19:33:55]written 0, free lines is 3339 [19:33:55]process_action close_receipt done [19:33:55]requested_data is exist [19:33:55]produce_requested_data [19:33:55]requested_item fm.sn is exist - process it [19:33:55]wFMCommunicate request_size=4 [19:33:55]MH_SAM_APDU [19:33:55]CAPDU: 80 11 00 00 [19:33:55]Write to MH i2c: E2 08 00 13 10 80 11 00 00 00 00 00 00 9D [19:33:55]Write i2c OK [19:33:55]MH_I2C_Read... [19:33:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:33:55]Read from MH i2c: E2 [19:33:55]MH_I2C_Read... [19:33:55]Read from MH i2c: E2 17 00 [19:33:55]MH_I2C_Read... [19:33:55]Read from MH i2c: E2 17 00 13 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 EA [19:33:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:33:55]wFMCommunicate OK [19:33:55]requested_item fd.num is exist - process it [19:33:55]SAM_PROTO_GetFieldsCounters [19:33:55]wFMCommunicate request_size=4 [19:33:55]MH_SAM_APDU [19:33:55]CAPDU: 80 13 00 00 [19:33:55]Write to MH i2c: E2 08 00 14 10 80 13 00 00 00 00 00 00 A0 [19:33:55]Write i2c OK [19:33:55]MH_I2C_Read... [19:33:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:33:55]Read from MH i2c: E2 [19:33:55]MH_I2C_Read... [19:33:55]Read from MH i2c: E2 62 00 [19:33:55]MH_I2C_Read... [19:33:55]Read from MH i2c: E2 62 00 14 10 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 28 5F 00 00 0E 04 04 00 CD 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 CB [19:33: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 28 5F 00 00 0E 04 04 00 CD 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 [19:33:55]wFMCommunicate OK [19:33:55]SAM_PROTO_GetFieldsCounters done [19:33:55]requested_item shift.num is exist - process it [19:33:55]requested_item shift.opened is exist - process it [19:33:55]req_shift_opened [19:33:55]FM_GetShiftState [19:33:55]SAM_PROTO_GetShiftState [19:33:55]wFMCommunicate request_size=4 [19:33:55]MH_SAM_APDU [19:33:55]CAPDU: 80 13 01 00 [19:33:55]Write to MH i2c: E2 08 00 15 10 80 13 01 00 00 00 00 00 A2 [19:33:55]Write i2c OK [19:33:55]MH_I2C_Read... [19:33:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:33:55]Read from MH i2c: E2 [19:33:55]MH_I2C_Read... [19:33:55]Read from MH i2c: E2 0E 00 [19:33:55]MH_I2C_Read... [19:33:55]Read from MH i2c: E2 0E 00 15 10 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 EC [19:33:55]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [19:33:55]wFMCommunicate OK [19:33:55]SAM_PROTO_GetShiftState done [19:33:55]FM_GetShiftState done [19:33:55]req_shift_opened done [19:33:55]requested_item shift.open_date is exist - process it [19:33:55]req_shift_open_date [19:33:55]req_shift_open_date done [19:33:55]produce_requested_data done [19:33:55]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24360,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [19:33:55]process_action_free close_receipt [19:33:55]json_value_free [19:33:55]json_value_free done [19:33:55]process_json_proto returns [19:33:55]Send response to host [19:33:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24360,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [19:33:55]free response buf [19:33:55]execute_script done [19:33:55]execute_script returns [19:33:55]free content buf [19:33:55]Sock 9.Close socket [19:33:55]Sock 9.Thread stoped [19:33:55]OFD Sender: No OFD packet to send [19:34:00]OFD Sender: No OFD packet to send [19:34:05]OFD Sender: No OFD packet to send [19:34:10]OFD Sender: No OFD packet to send [19:34:15]OFD Sender: No OFD packet to send [19:34:20]OFD Sender: No OFD packet to send [19:34:25]OFD Sender: No OFD packet to send [19:34:30]OFD Sender: No OFD packet to send [19:34:35]OFD Sender: No OFD packet to send [19:34:40]OFD Sender: No OFD packet to send [19:34:45]OFD Sender: No OFD packet to send [19:34:50]OFD Sender: No OFD packet to send [19:34:55]OFD Sender: No OFD packet to send [19:35:00]OFD Sender: No OFD packet to send [19:35:05]OFD Sender: No OFD packet to send [19:35:06]accept exits with 8 [19:35:06]New connection [19:35:06]New thread 3067084132 created [19:35:06]Thread 3066940772 joined [19:35:06]Waiting for new connection... [19:35:06] Sock 8.Parse request [19:35:06]Sock 8.Check first char [19:35:06]Sock 8.First char is OK [19:35:06]request: POST /json_proto HTTP/1.0 [19:35:06]Method: POST [19:35:06]URL: /json_proto [19:35:06]Method is POST - this is cgi request [19:35:06]url: /json_proto [19:35:06]query_string will be loaded in cgi processing [19:35:06]execute_cgi json_proto POST (null) [19:35:06]execute_cgi path=json_proto method=POST [19:35:06]POST find Content-Length [19:35:06]Host: 172.17.50.4:8080 [19:35:06]Content-Length: 750 [19:35:06]Content-Type: application/json [19:35:06] [19:35:06]POST finish read [19:35:06]Found Content-Length = 750 [19:35:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134882", "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:35:06]execute_script... [19:35: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)134882", "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:35:06]POST & json_proto [19:35:06]process_json_proto [19:35:06]json parsed OK: [19:35:06]protocol is kg_v1.0 [19:35:06]action value=close_receipt [19:35:06]process_action close_receipt [19:35:06]cmd_close_receipt [19:35:06]MH_GetDate [19:35:06]Write to MH i2c: F0 00 00 16 10 15 [19:35:06]Write i2c OK [19:35:06]MH_I2C_Read... [19:35:06]Read from MH i2c: F0 [19:35:06]MH_I2C_Read... [19:35:06]Read from MH i2c: F0 09 00 [19:35:06]MH_I2C_Read... [19:35:06]Read from MH i2c: F0 09 00 16 10 00 ED AC 16 67 3B 12 16 67 FE [19:35:06]GetLastDocTimeStamp 1729539235 [19:35:06]current date 1729539309 [19:35:06]FM_GetShiftState [19:35:06]SAM_PROTO_GetShiftState [19:35:06]wFMCommunicate request_size=4 [19:35:06]MH_SAM_APDU [19:35:06]CAPDU: 80 13 01 00 [19:35:06]Write to MH i2c: E2 08 00 17 10 80 13 01 00 00 00 00 00 A4 [19:35:06]Write i2c OK [19:35:06]MH_I2C_Read... [19:35:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:35:06]Read from MH i2c: E2 [19:35:06]MH_I2C_Read... [19:35:06]Read from MH i2c: E2 0E 00 [19:35:06]MH_I2C_Read... [19:35:06]Read from MH i2c: E2 0E 00 17 10 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 EE [19:35:06]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [19:35:06]wFMCommunicate OK [19:35:06]SAM_PROTO_GetShiftState done [19:35:06]FM_GetShiftState done [19:35:06]opened in 1729469223 [19:35:06]opened+sec_in_day 1729555623 [19:35:06]quantity*price = 14400 [19:35:06]sum+1 = 14401 [19:35:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 0.00 Безнал.: 144.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 65 21.10.2024 19:35 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24361 ФПД: 83203878927805 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T193509&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24361&fm=83203878927805&tin=02508201610067®Number=0000000000098120&sum=14400 0 [19:35:07]StoreToDocumentArchive [19:35:07]shift 461 fd 24361 [19:35:07]save to /storage/0461/doc_00024361 [19:35:07]save last doc name /storage/0461/doc_00024361 to /storage/kkm_last_doc_name [19:35:07]save OK [19:35:07]Clear old archive folders... [19:35:07]ProcessDocumentItem done err = 0, tmpTLVsize=275 [19:35:07]tlvbuf is 00352350 [19:35:07]SAM_PROTO_ClearQueue [19:35:07]wFMCommunicate request_size=4 [19:35:07]MH_SAM_APDU [19:35:07]CAPDU: 80 09 00 00 [19:35:07]Write to MH i2c: E2 08 00 24 10 80 09 00 00 00 00 00 00 A6 [19:35:07]Write i2c OK [19:35:07]MH_I2C_Read... [19:35:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:35:07]Read from MH i2c: E2 [19:35:07]MH_I2C_Read... [19:35:07]Read from MH i2c: E2 03 00 [19:35:07]MH_I2C_Read... [19:35:07]Read from MH i2c: E2 03 00 24 10 00 90 00 A8 [19:35:07]RAPDU: 90 00 [19:35:07]wFMCommunicate OK [19:35:07]SAM_PROTO_ClearQueue done [19:35:07]KKMCreateOFDPacket [19:35:07]OFDProtocolAddRootSTLVToBuf [19:35:07]FM_MakeSignedData [19:35:07]FM_MakeSignedData [19:35:07]SAM_PROTO_SignData [19:35:07]wFMCommunicate request_size=4 [19:35:07]MH_SAM_APDU [19:35:07]CAPDU: 80 0D 01 02 [19:35:07]Write to MH i2c: E2 08 00 25 10 80 0D 01 02 00 00 00 00 AE [19:35:07]Write i2c OK [19:35:07]MH_I2C_Read... [19:35:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:35:07]Read from MH i2c: E2 [19:35:07]MH_I2C_Read... [19:35:07]Read from MH i2c: E2 03 00 [19:35:07]MH_I2C_Read... [19:35:07]Read from MH i2c: E2 03 00 25 10 00 90 00 A9 [19:35:07]RAPDU: 90 00 [19:35:07]wFMCommunicate OK [19:35:07]wFMCommunicate request_size=255 [19:35:07]MH_SAM_APDU [19:35:07]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 41 00 00 00 F4 03 04 00 ED AC 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 [19:35:07]Write to MH i2c: E2 02 01 26 10 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 41 00 00 00 F4 03 04 00 ED AC 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 00 00 D3 [19:35:07]Write i2c OK [19:35:07]MH_I2C_Read... [19:35:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:35:08]Read from MH i2c: E2 [19:35:08]MH_I2C_Read... [19:35:08]Read from MH i2c: E2 03 00 [19:35:08]MH_I2C_Read... [19:35:08]Read from MH i2c: E2 03 00 26 10 00 90 00 AA [19:35:08]RAPDU: 90 00 [19:35:08]wFMCommunicate OK [19:35:08]wFMCommunicate request_size=34 [19:35:08]MH_SAM_APDU [19:35:08]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 29 5F 00 00 35 04 06 00 4B AC 69 A5 BD BD [19:35:08]Write to MH i2c: E2 25 00 27 10 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 29 5F 00 00 35 04 06 00 4B AC 69 A5 BD BD 00 00 73 [19:35:08]Write i2c OK [19:35:08]MH_I2C_Read... [19:35:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:35:08]Read from MH i2c: E2 [19:35:08]MH_I2C_Read... [19:35:08]Read from MH i2c: E2 03 00 [19:35:08]MH_I2C_Read... [19:35:08]Read from MH i2c: E2 03 00 27 10 00 90 00 AB [19:35:08]RAPDU: 90 00 [19:35:08]wFMCommunicate OK [19:35:08]wFMCommunicate request_size=4 [19:35:08]MH_SAM_APDU [19:35:08]CAPDU: 80 0D 03 02 [19:35:08]Write to MH i2c: E2 08 00 28 10 80 0D 03 02 00 00 00 00 B3 [19:35:08]Write i2c OK [19:35:08]MH_I2C_Read... [19:35:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:35:08]Read from MH i2c: E2 [19:35:08]MH_I2C_Read... [19:35:08]Read from MH i2c: E2 0B 00 [19:35:08]MH_I2C_Read... [19:35:08]Read from MH i2c: E2 0B 00 28 10 00 75 8A 2F FF B1 D2 4A 39 90 00 E7 [19:35:08]RAPDU: 75 8A 2F FF B1 D2 4A 39 90 00 [19:35:08]wFMCommunicate OK [19:35:08]SAM_PROTO_SignData done [19:35:08]FM_MakeSignedData done [19:35:08]CreateOFDProtocolMessage [19:35:08]wFMCommunicate request_size=4 [19:35:08]MH_SAM_APDU [19:35:08]CAPDU: 80 11 00 00 [19:35:08]Write to MH i2c: E2 08 00 29 10 80 11 00 00 00 00 00 00 B3 [19:35:08]Write i2c OK [19:35:08]MH_I2C_Read... [19:35:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:35:08]Read from MH i2c: E2 [19:35:08]MH_I2C_Read... [19:35:08]Read from MH i2c: E2 17 00 [19:35:08]MH_I2C_Read... [19:35:08]Read from MH i2c: E2 17 00 29 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 00 [19:35:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:35:08]wFMCommunicate OK [19:35:08]CreateOFDProtocolMessage done [19:35:08]OFDSenderStorePacket 24361 [19:35:08]StoreOFDPacket docnum=24361 [19:35:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 27 01 00 00 94 45 1F 01 23 8B 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 41 00 00 00 F4 03 04 00 ED AC 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 29 5F 00 00 35 04 06 00 4B AC 69 A5 BD BD 75 8A 2F FF B1 D2 4A 39 [19:35:08]CheckFolder [19:35:08]dirname=/storage/ofd_packets [19:35:08]CheckFolder done [19:35:08]ProducePacketName [19:35:08]name=ofd_packets/00024361 [19:35:08]NVStorageSaveData ofd_packets/00024361 [19:35:08]File name is /storage/ofd_packets/00024361 [19:35:08]Write 325 bytes [19:35:08]NVStorageSaveData done [19:35:08]OFDSenderStorePacket done [19:35:08]KKMCreateOFDPacket done [19:35:08]NVStorageSaveData kkm_last_timestamp [19:35:08]File name is /storage/kkm_last_timestamp [19:35:08]Write 4 bytes [19:35:08]NVStorageSaveData done [19:35:08]ExternCall_PrintAddStr [19:35:08]wPrintStart [19:35:08]Write to MH i2c: 01 00 00 2A 10 3A [19:35:08]Write i2c OK [19:35:08]MH_I2C_Read... [19:35:08]Read from MH i2c: 01 [19:35:08]MH_I2C_Read... [19:35:08]Read from MH i2c: 01 07 00 [19:35:08]MH_I2C_Read... [19:35:08]Read from MH i2c: 01 07 00 2A 10 00 00 00 00 00 FF 0F 4F [19:35:08]RasterBufferAndPrint [19:35:08]line Счет N : (3)134882 [19:35:08]line ИНН: 02508201610067 [19:35:08]line Контрольно-Кассовый Чек [19:35:08]line ПРОДАЖА [19:35:08]line Товар: 48743587 [19:35:08]line Сигареты Winston XStyle Silver [19:35:08]line 1.000 * 144.00 [19:35:08]line = 144.00 [19:35:08]line НДС 12% НСП 1% [19:35:08]line > о реализуемом товаре [19:35:08]line ИТОГО: 144.00 [19:35:08]line НСП 1% : 1.27 [19:35:08]line НДС 12% : 15.29 [19:35:08]line Наличными: 0.00 [19:35:08]line Безнал.: 144.00 [19:35:08]line Место: АЗС № 85 "Партнер Нефть" [19:35:08]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [19:35:08]line СНО: Общий режим [19:35:08]line Чек 65 21.10.2024 19:35 [19:35:08]line Смена: 461 ФФД: 1.0 [19:35:08]line ЗНМ: 0300000166 [19:35:08]line РНМ: 0000000000098120 [19:35:08]line Версия ККМ: 001 [19:35:08]line Платежная система: Mbank [19:35:08]line ФМ: 0000000000965420 [19:35:08]line ФД: 24361 [19:35:08]line ФПД: 83203878927805 [19:35:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T193509&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24361&fm=83203878927805&tin=02508201610067®Number=0000000000098120&sum=14400 [19:35:08]OFD Sender: Processing packet 24361 [packets to send 5, broken 4] [19:35:08]ProducePacketName [19:35:08]name=ofd_packets/00024361 [19:35:08]OFD Sender: To server: pG, [19:35:08]CommunicateWithHost lk.salyk.kg:30040 [19:35:08]ConnectInit lk.salyk.kg [19:35:08]line 0 [19:35:08]written 0, free lines is 4095 [19:35:08]Connected sock=11 [19:35:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 27 01 00 00 94 45 1F 01 23 8B 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 41 00 00 00 F4 03 04 00 ED AC 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 29 5F 00 00 35 04 06 00 4B AC 69 A5 BD BD 75 8A 2F FF B1 D2 4A 39 [19:35:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 AE 3B 47 00 C0 54 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 34 32 30 10 04 04 00 29 5F 00 00 F4 03 04 00 93 58 16 67 B6 04 01 00 00 16 4C 15 F9 DB BE B3 32 [19:35:09]CommunicateWithHost err = 0 [19:35:09]CheckOFDResponse [19:35:09]1017 (14) - 77093643461234 [19:35:09]1041 (16) - 0000000000965420 [19:35:09]1040 (4) - 24361 [19:35:09]1012 (4) - 21.10.2024 13:35 [19:35:09]1206 (1) - 0 [19:35:09]OFD Sender: Remove packet 24361 [19:35:09]ProducePacketName [19:35:09]name=ofd_packets/00024361 [19:35:09]NVStorageDeleteData [19:35:09]Write to MH i2c: 01 00 00 54 10 64 [19:35:09]Write i2c OK [19:35:09]MH_I2C_Read... [19:35:09]Read from MH i2c: 01 [19:35:09]MH_I2C_Read... [19:35:09]Read from MH i2c: 01 07 00 [19:35:09]MH_I2C_Read... [19:35:09]Read from MH i2c: 01 07 00 54 10 00 00 00 00 00 02 0D 7A [19:35:09]RasterBufferAndPrint [19:35:09]line [19:35:09]line [19:35:09]line [19:35:09]line [19:35:09]line [19:35:09]written 0, free lines is 3336 [19:35:09]process_action close_receipt done [19:35:09]requested_data is exist [19:35:09]produce_requested_data [19:35:09]requested_item fm.sn is exist - process it [19:35:09]wFMCommunicate request_size=4 [19:35:09]MH_SAM_APDU [19:35:09]CAPDU: 80 11 00 00 [19:35:09]Write to MH i2c: E2 08 00 5B 10 80 11 00 00 00 00 00 00 E5 [19:35:09]Write i2c OK [19:35:09]MH_I2C_Read... [19:35:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:35:09]Read from MH i2c: E2 [19:35:09]MH_I2C_Read... [19:35:09]Read from MH i2c: E2 17 00 [19:35:09]MH_I2C_Read... [19:35:09]Read from MH i2c: E2 17 00 5B 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 32 [19:35:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:35:09]wFMCommunicate OK [19:35:09]requested_item fd.num is exist - process it [19:35:09]SAM_PROTO_GetFieldsCounters [19:35:09]wFMCommunicate request_size=4 [19:35:09]MH_SAM_APDU [19:35:09]CAPDU: 80 13 00 00 [19:35:09]Write to MH i2c: E2 08 00 5C 10 80 13 00 00 00 00 00 00 E8 [19:35:09]Write i2c OK [19:35:09]MH_I2C_Read... [19:35:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:35:09]Read from MH i2c: E2 [19:35:09]MH_I2C_Read... [19:35:09]Read from MH i2c: E2 62 00 [19:35:09]MH_I2C_Read... [19:35:09]Read from MH i2c: E2 62 00 5C 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 29 5F 00 00 0E 04 04 00 CD 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 17 [19:35:09]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 29 5F 00 00 0E 04 04 00 CD 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 [19:35:09]wFMCommunicate OK [19:35:09]SAM_PROTO_GetFieldsCounters done [19:35:09]requested_item shift.num is exist - process it [19:35:09]requested_item shift.opened is exist - process it [19:35:09]req_shift_opened [19:35:09]FM_GetShiftState [19:35:09]SAM_PROTO_GetShiftState [19:35:09]wFMCommunicate request_size=4 [19:35:09]MH_SAM_APDU [19:35:09]CAPDU: 80 13 01 00 [19:35:09]Write to MH i2c: E2 08 00 5D 10 80 13 01 00 00 00 00 00 EA [19:35:09]Write i2c OK [19:35:09]MH_I2C_Read... [19:35:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:35:09]Read from MH i2c: E2 [19:35:09]MH_I2C_Read... [19:35:09]Read from MH i2c: E2 0E 00 [19:35:09]MH_I2C_Read... [19:35:09]Read from MH i2c: E2 0E 00 5D 10 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 34 [19:35:09]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [19:35:09]wFMCommunicate OK [19:35:09]SAM_PROTO_GetShiftState done [19:35:09]FM_GetShiftState done [19:35:09]req_shift_opened done [19:35:09]requested_item shift.open_date is exist - process it [19:35:09]req_shift_open_date [19:35:09]req_shift_open_date done [19:35:09]produce_requested_data done [19:35:09]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24361,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [19:35:09]process_action_free close_receipt [19:35:09]json_value_free [19:35:09]json_value_free done [19:35:09]process_json_proto returns [19:35:09]Send response to host [19:35:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24361,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [19:35:09]free response buf [19:35:09]execute_script done [19:35:09]execute_script returns [19:35:09]free content buf [19:35:09]Sock 8.Close socket [19:35:09]Sock 8.Thread stoped [19:35:09]OFD Sender: No OFD packet to send [19:35:14]OFD Sender: No OFD packet to send [19:35:19]OFD Sender: No OFD packet to send [19:35:24]OFD Sender: No OFD packet to send [19:35:29]OFD Sender: No OFD packet to send [19:35:34]OFD Sender: No OFD packet to send [19:35:39]OFD Sender: No OFD packet to send [19:35:44]OFD Sender: No OFD packet to send [19:35:49]OFD Sender: No OFD packet to send [19:35:54]OFD Sender: No OFD packet to send [19:35:59]OFD Sender: No OFD packet to send [19:36:04]OFD Sender: No OFD packet to send [19:36:09]OFD Sender: No OFD packet to send [19:36:14]OFD Sender: No OFD packet to send [19:36:19]OFD Sender: No OFD packet to send [19:36:24]OFD Sender: No OFD packet to send [19:36:29]OFD Sender: No OFD packet to send [19:36:34]OFD Sender: No OFD packet to send [19:36:39]OFD Sender: No OFD packet to send [19:36:44]OFD Sender: No OFD packet to send [19:36:49]OFD Sender: No OFD packet to send [19:36:54]OFD Sender: No OFD packet to send [19:36:59]OFD Sender: No OFD packet to send [19:37:04]OFD Sender: No OFD packet to send [19:37:09]OFD Sender: No OFD packet to send [19:37:14]OFD Sender: No OFD packet to send [19:37:19]OFD Sender: No OFD packet to send [19:37:24]OFD Sender: No OFD packet to send [19:37:29]OFD Sender: No OFD packet to send [19:37:34]OFD Sender: No OFD packet to send [19:37:39]OFD Sender: No OFD packet to send [19:37:44]OFD Sender: No OFD packet to send [19:37:49]OFD Sender: No OFD packet to send [19:37:54]OFD Sender: No OFD packet to send [19:37:59]OFD Sender: No OFD packet to send [19:38:04]OFD Sender: No OFD packet to send [19:38:09]OFD Sender: No OFD packet to send [19:38:14]OFD Sender: No OFD packet to send [19:38:19]OFD Sender: No OFD packet to send [19:38:24]OFD Sender: No OFD packet to send [19:38:29]OFD Sender: No OFD packet to send [19:38:34]OFD Sender: No OFD packet to send [19:38:39]OFD Sender: No OFD packet to send [19:38:44]OFD Sender: No OFD packet to send [19:38:49]OFD Sender: No OFD packet to send [19:38:54]OFD Sender: No OFD packet to send [19:38:59]OFD Sender: No OFD packet to send [19:39:04]OFD Sender: No OFD packet to send [19:39:09]OFD Sender: No OFD packet to send [19:39:14]OFD Sender: No OFD packet to send [19:39:19]OFD Sender: No OFD packet to send [19:39:24]OFD Sender: No OFD packet to send [19:39:29]OFD Sender: No OFD packet to send [19:39:34]OFD Sender: No OFD packet to send [19:39:39]OFD Sender: No OFD packet to send [19:39:44]OFD Sender: No OFD packet to send [19:39:49]OFD Sender: No OFD packet to send [19:39:54]OFD Sender: No OFD packet to send [19:39:59]OFD Sender: No OFD packet to send [19:40:04]OFD Sender: No OFD packet to send [19:40:09]OFD Sender: No OFD packet to send [19:40:14]OFD Sender: No OFD packet to send [19:40:19]OFD Sender: No OFD packet to send [19:40:24]OFD Sender: No OFD packet to send [19:40:29]OFD Sender: No OFD packet to send [19:40:34]OFD Sender: No OFD packet to send [19:40:39]OFD Sender: No OFD packet to send [19:40:44]OFD Sender: No OFD packet to send [19:40:49]OFD Sender: No OFD packet to send [19:40:54]OFD Sender: No OFD packet to send [19:40:59]OFD Sender: No OFD packet to send [19:41:04]OFD Sender: No OFD packet to send [19:41:09]OFD Sender: No OFD packet to send [19:41:14]OFD Sender: No OFD packet to send [19:41:19]OFD Sender: No OFD packet to send [19:41:24]OFD Sender: No OFD packet to send [19:41:29]OFD Sender: No OFD packet to send [19:41:34]OFD Sender: No OFD packet to send [19:41:39]OFD Sender: No OFD packet to send [19:41:44]OFD Sender: No OFD packet to send [19:41:49]OFD Sender: No OFD packet to send [19:41:54]OFD Sender: No OFD packet to send [19:41:59]OFD Sender: No OFD packet to send [19:42:04]OFD Sender: No OFD packet to send [19:42:09]OFD Sender: No OFD packet to send [19:42:14]OFD Sender: No OFD packet to send [19:42:19]OFD Sender: No OFD packet to send [19:42:24]OFD Sender: No OFD packet to send [19:42:29]OFD Sender: No OFD packet to send [19:42:34]OFD Sender: No OFD packet to send [19:42:39]OFD Sender: No OFD packet to send [19:42:44]OFD Sender: No OFD packet to send [19:42:49]OFD Sender: No OFD packet to send [19:42:54]OFD Sender: No OFD packet to send [19:42:59]OFD Sender: No OFD packet to send [19:43:04]OFD Sender: No OFD packet to send [19:43:09]OFD Sender: No OFD packet to send [19:43:14]OFD Sender: No OFD packet to send [19:43:19]OFD Sender: No OFD packet to send [19:43:24]OFD Sender: No OFD packet to send [19:43:29]OFD Sender: No OFD packet to send [19:43:34]OFD Sender: No OFD packet to send [19:43:39]OFD Sender: No OFD packet to send [19:43:44]OFD Sender: No OFD packet to send [19:43:49]OFD Sender: No OFD packet to send [19:43:54]OFD Sender: No OFD packet to send [19:43:59]OFD Sender: No OFD packet to send [19:44:04]OFD Sender: No OFD packet to send [19:44:09]OFD Sender: No OFD packet to send [19:44:14]OFD Sender: No OFD packet to send [19:44:19]OFD Sender: No OFD packet to send [19:44:24]OFD Sender: No OFD packet to send [19:44:29]OFD Sender: No OFD packet to send [19:44:34]OFD Sender: No OFD packet to send [19:44:39]OFD Sender: No OFD packet to send [19:44:45]OFD Sender: No OFD packet to send [19:44:50]OFD Sender: No OFD packet to send [19:44:55]OFD Sender: No OFD packet to send [19:45:00]OFD Sender: No OFD packet to send [19:45:05]OFD Sender: No OFD packet to send [19:45:10]OFD Sender: No OFD packet to send [19:45:15]OFD Sender: No OFD packet to send [19:45:20]OFD Sender: No OFD packet to send [19:45:25]OFD Sender: No OFD packet to send [19:45:30]OFD Sender: No OFD packet to send [19:45:35]OFD Sender: No OFD packet to send [19:45:40]OFD Sender: No OFD packet to send [19:45:45]OFD Sender: No OFD packet to send [19:45:50]OFD Sender: No OFD packet to send [19:45:55]OFD Sender: No OFD packet to send [19:46:00]OFD Sender: No OFD packet to send [19:46:05]OFD Sender: No OFD packet to send [19:46:10]OFD Sender: No OFD packet to send [19:46:15]OFD Sender: No OFD packet to send [19:46:20]OFD Sender: No OFD packet to send [19:46:25]OFD Sender: No OFD packet to send [19:46:30]OFD Sender: No OFD packet to send [19:46:35]OFD Sender: No OFD packet to send [19:46:40]OFD Sender: No OFD packet to send [19:46:45]OFD Sender: No OFD packet to send [19:46:50]OFD Sender: No OFD packet to send [19:46:55]OFD Sender: No OFD packet to send [19:47:00]OFD Sender: No OFD packet to send [19:47:05]OFD Sender: No OFD packet to send [19:47:10]OFD Sender: No OFD packet to send [19:47:15]OFD Sender: No OFD packet to send [19:47:20]OFD Sender: No OFD packet to send [19:47:25]OFD Sender: No OFD packet to send [19:47:30]OFD Sender: No OFD packet to send [19:47:35]OFD Sender: No OFD packet to send [19:47:40]OFD Sender: No OFD packet to send [19:47:45]OFD Sender: No OFD packet to send [19:47:50]OFD Sender: No OFD packet to send [19:47:55]OFD Sender: No OFD packet to send [19:48:00]OFD Sender: No OFD packet to send [19:48:05]OFD Sender: No OFD packet to send [19:48:10]OFD Sender: No OFD packet to send [19:48:15]OFD Sender: No OFD packet to send [19:48:20]OFD Sender: No OFD packet to send [19:48:25]OFD Sender: No OFD packet to send [19:48:30]OFD Sender: No OFD packet to send [19:48:35]OFD Sender: No OFD packet to send [19:48:40]OFD Sender: No OFD packet to send [19:48:45]OFD Sender: No OFD packet to send [19:48:50]OFD Sender: No OFD packet to send [19:48:55]OFD Sender: No OFD packet to send [19:49:00]OFD Sender: No OFD packet to send [19:49:05]OFD Sender: No OFD packet to send [19:49:10]OFD Sender: No OFD packet to send [19:49:15]OFD Sender: No OFD packet to send [19:49:20]OFD Sender: No OFD packet to send [19:49:25]OFD Sender: No OFD packet to send [19:49:30]OFD Sender: No OFD packet to send [19:49:35]OFD Sender: No OFD packet to send [19:49:40]OFD Sender: No OFD packet to send [19:49:45]OFD Sender: No OFD packet to send [19:49:50]OFD Sender: No OFD packet to send [19:49:55]OFD Sender: No OFD packet to send [19:50:00]OFD Sender: No OFD packet to send [19:50:05]OFD Sender: No OFD packet to send [19:50:10]OFD Sender: No OFD packet to send [19:50:15]OFD Sender: No OFD packet to send [19:50:20]OFD Sender: No OFD packet to send [19:50:25]OFD Sender: No OFD packet to send [19:50:30]OFD Sender: No OFD packet to send [19:50:35]OFD Sender: No OFD packet to send [19:50:40]OFD Sender: No OFD packet to send [19:50:45]OFD Sender: No OFD packet to send [19:50:50]OFD Sender: No OFD packet to send [19:50:55]OFD Sender: No OFD packet to send [19:51:00]OFD Sender: No OFD packet to send [19:51:05]OFD Sender: No OFD packet to send [19:51:10]OFD Sender: No OFD packet to send [19:51:15]OFD Sender: No OFD packet to send [19:51:20]OFD Sender: No OFD packet to send [19:51:25]OFD Sender: No OFD packet to send [19:51:30]OFD Sender: No OFD packet to send [19:51:35]OFD Sender: No OFD packet to send [19:51:40]OFD Sender: No OFD packet to send [19:51:45]OFD Sender: No OFD packet to send [19:51:50]OFD Sender: No OFD packet to send [19:51:55]OFD Sender: No OFD packet to send [19:52:00]OFD Sender: No OFD packet to send [19:52:05]OFD Sender: No OFD packet to send [19:52:10]OFD Sender: No OFD packet to send [19:52:15]OFD Sender: No OFD packet to send [19:52:20]OFD Sender: No OFD packet to send [19:52:25]OFD Sender: No OFD packet to send [19:52:30]OFD Sender: No OFD packet to send [19:52:35]OFD Sender: No OFD packet to send [19:52:40]OFD Sender: No OFD packet to send [19:52:45]OFD Sender: No OFD packet to send [19:52:50]OFD Sender: No OFD packet to send [19:52:55]OFD Sender: No OFD packet to send [19:53:00]OFD Sender: No OFD packet to send [19:53:05]OFD Sender: No OFD packet to send [19:53:10]OFD Sender: No OFD packet to send [19:53:15]OFD Sender: No OFD packet to send [19:53:20]OFD Sender: No OFD packet to send [19:53:25]OFD Sender: No OFD packet to send [19:53:26]accept exits with 9 [19:53:26]New connection [19:53:26]New thread 3066940772 created [19:53:26]Thread 3067084132 joined [19:53:26]Waiting for new connection... [19:53:26] Sock 9.Parse request [19:53:26]Sock 9.Check first char [19:53:26]Sock 9.First char is OK [19:53:26]request: POST /json_proto HTTP/1.0 [19:53:26]Method: POST [19:53:26]URL: /json_proto [19:53:26]Method is POST - this is cgi request [19:53:26]url: /json_proto [19:53:26]query_string will be loaded in cgi processing [19:53:26]execute_cgi json_proto POST (null) [19:53:26]execute_cgi path=json_proto method=POST [19:53:26]POST find Content-Length [19:53:26]Host: 172.17.50.4:8080 [19:53:26]Content-Length: 779 [19:53:26]Content-Type: application/json [19:53:26] [19:53:26]POST finish read [19:53:26]Found Content-Length = 779 [19:53:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134883", "tax_sys" : 0, "items" : [ { "code": "4660013331438", "name": "\u042D\u0441\u043A\u0438\u043C\u043E \u041C\u043E\u0441\u043A\u043E\u0432\u0441\u043A\u043E\u0435", "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" ] } } [19:53:26]execute_script... [19:53: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)134883", "tax_sys" : 0, "items" : [ { "code": "4660013331438", "name": "\u042D\u0441\u043A\u0438\u043C\u043E \u041C\u043E\u0441\u043A\u043E\u0432\u0441\u043A\u043E\u0435", "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" ] } } [19:53:26]POST & json_proto [19:53:26]process_json_proto [19:53:26]json parsed OK: [19:53:26]protocol is kg_v1.0 [19:53:26]action value=close_receipt [19:53:26]process_action close_receipt [19:53:26]cmd_close_receipt [19:53:26]MH_GetDate [19:53:26]Write to MH i2c: F0 00 00 5E 10 5D [19:53:26]Write i2c OK [19:53:26]MH_I2C_Read... [19:53:26]Read from MH i2c: F0 [19:53:26]MH_I2C_Read... [19:53:26]Read from MH i2c: F0 09 00 [19:53:26]MH_I2C_Read... [19:53:26]Read from MH i2c: F0 09 00 5E 10 00 39 B1 16 67 3B 12 16 67 97 [19:53:26]GetLastDocTimeStamp 1729539309 [19:53:26]current date 1729540409 [19:53:26]FM_GetShiftState [19:53:26]SAM_PROTO_GetShiftState [19:53:26]wFMCommunicate request_size=4 [19:53:26]MH_SAM_APDU [19:53:26]CAPDU: 80 13 01 00 [19:53:26]Write to MH i2c: E2 08 00 5F 10 80 13 01 00 00 00 00 00 EC [19:53:26]Write i2c OK [19:53:26]MH_I2C_Read... [19:53:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:53:26]Read from MH i2c: E2 [19:53:26]MH_I2C_Read... [19:53:26]Read from MH i2c: E2 0E 00 [19:53:26]MH_I2C_Read... [19:53:26]Read from MH i2c: E2 0E 00 5F 10 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 36 [19:53:26]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [19:53:26]wFMCommunicate OK [19:53:26]SAM_PROTO_GetShiftState done [19:53:26]FM_GetShiftState done [19:53:26]opened in 1729469223 [19:53:26]opened+sec_in_day 1729555623 [19:53:26]quantity*price = 9500 [19:53:26]sum+1 = 9501 [19:53:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 66 21.10.2024 19:53 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24362 ФПД: 24940030346975 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T195329&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24362&fm=24940030346975&tin=02508201610067®Number=0000000000098120&sum=9500 0 [19:53:27]StoreToDocumentArchive [19:53:27]shift 461 fd 24362 [19:53:27]save to /storage/0461/doc_00024362 [19:53:27]save last doc name /storage/0461/doc_00024362 to /storage/kkm_last_doc_name [19:53:27]save OK [19:53:27]Clear old archive folders... [19:53:27]ProcessDocumentItem done err = 0, tmpTLVsize=275 [19:53:27]tlvbuf is B6EC83E0 [19:53:27]SAM_PROTO_ClearQueue [19:53:27]wFMCommunicate request_size=4 [19:53:27]MH_SAM_APDU [19:53:27]CAPDU: 80 09 00 00 [19:53:27]Write to MH i2c: E2 08 00 6C 10 80 09 00 00 00 00 00 00 EE [19:53:27]Write i2c OK [19:53:27]MH_I2C_Read... [19:53:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:53:27]Read from MH i2c: E2 [19:53:27]MH_I2C_Read... [19:53:27]Read from MH i2c: E2 03 00 [19:53:27]MH_I2C_Read... [19:53:27]Read from MH i2c: E2 03 00 6C 10 00 90 00 F0 [19:53:27]RAPDU: 90 00 [19:53:27]wFMCommunicate OK [19:53:27]SAM_PROTO_ClearQueue done [19:53:27]KKMCreateOFDPacket [19:53:27]OFDProtocolAddRootSTLVToBuf [19:53:27]FM_MakeSignedData [19:53:27]FM_MakeSignedData [19:53:27]SAM_PROTO_SignData [19:53:27]wFMCommunicate request_size=4 [19:53:27]MH_SAM_APDU [19:53:27]CAPDU: 80 0D 01 02 [19:53:27]Write to MH i2c: E2 08 00 6D 10 80 0D 01 02 00 00 00 00 F6 [19:53:27]Write i2c OK [19:53:27]MH_I2C_Read... [19:53:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:53:27]Read from MH i2c: E2 [19:53:27]MH_I2C_Read... [19:53:27]Read from MH i2c: E2 03 00 [19:53:27]MH_I2C_Read... [19:53:27]Read from MH i2c: E2 03 00 6D 10 00 90 00 F1 [19:53:27]RAPDU: 90 00 [19:53:27]wFMCommunicate OK [19:53:27]wFMCommunicate request_size=255 [19:53:27]MH_SAM_APDU [19:53:27]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 36 36 30 30 31 33 33 33 31 34 33 38 06 04 21 00 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D0 9C D0 BE D1 81 D0 BA D0 BE D0 B2 D1 81 D0 BA D0 BE D0 B5 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 42 00 00 00 F4 03 04 00 39 B1 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 [19:53:27]Write to MH i2c: E2 02 01 6E 10 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 36 36 30 30 31 33 33 33 31 34 33 38 06 04 21 00 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D0 9C D0 BE D1 81 D0 BA D0 BE D0 B2 D1 81 D0 BA D0 BE D0 B5 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 42 00 00 00 F4 03 04 00 39 B1 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 00 00 87 [19:53:27]Write i2c OK [19:53:27]MH_I2C_Read... [19:53:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:53:28]Read from MH i2c: E2 [19:53:28]MH_I2C_Read... [19:53:28]Read from MH i2c: E2 03 00 [19:53:28]MH_I2C_Read... [19:53:28]Read from MH i2c: E2 03 00 6E 10 00 90 00 F2 [19:53:28]RAPDU: 90 00 [19:53:28]wFMCommunicate OK [19:53:28]wFMCommunicate request_size=34 [19:53:28]MH_SAM_APDU [19:53:28]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2A 5F 00 00 35 04 06 00 16 AE CD A6 46 DF [19:53:28]Write to MH i2c: E2 25 00 6F 10 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2A 5F 00 00 35 04 06 00 16 AE CD A6 46 DF 00 00 99 [19:53:28]Write i2c OK [19:53:28]MH_I2C_Read... [19:53:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:53:28]Read from MH i2c: E2 [19:53:28]MH_I2C_Read... [19:53:28]Read from MH i2c: E2 03 00 [19:53:28]MH_I2C_Read... [19:53:28]Read from MH i2c: E2 03 00 6F 10 00 90 00 F3 [19:53:28]RAPDU: 90 00 [19:53:28]wFMCommunicate OK [19:53:28]wFMCommunicate request_size=4 [19:53:28]MH_SAM_APDU [19:53:28]CAPDU: 80 0D 03 02 [19:53:28]Write to MH i2c: E2 08 00 70 10 80 0D 03 02 00 00 00 00 FB [19:53:28]Write i2c OK [19:53:28]MH_I2C_Read... [19:53:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:53:28]Read from MH i2c: E2 [19:53:28]MH_I2C_Read... [19:53:28]Read from MH i2c: E2 0B 00 [19:53:28]MH_I2C_Read... [19:53:28]Read from MH i2c: E2 0B 00 70 10 00 78 0E 52 CD 93 18 06 40 90 00 92 [19:53:28]RAPDU: 78 0E 52 CD 93 18 06 40 90 00 [19:53:28]wFMCommunicate OK [19:53:28]SAM_PROTO_SignData done [19:53:28]FM_MakeSignedData done [19:53:28]CreateOFDProtocolMessage [19:53:28]wFMCommunicate request_size=4 [19:53:28]MH_SAM_APDU [19:53:28]CAPDU: 80 11 00 00 [19:53:28]Write to MH i2c: E2 08 00 71 10 80 11 00 00 00 00 00 00 FB [19:53:28]Write i2c OK [19:53:28]MH_I2C_Read... [19:53:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:53:28]Read from MH i2c: E2 [19:53:28]MH_I2C_Read... [19:53:28]Read from MH i2c: E2 17 00 [19:53:28]MH_I2C_Read... [19:53:28]Read from MH i2c: E2 17 00 71 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 48 [19:53:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:53:28]wFMCommunicate OK [19:53:28]CreateOFDProtocolMessage done [19:53:28]OFDSenderStorePacket 24362 [19:53:28]StoreOFDPacket docnum=24362 [19:53:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 27 01 00 00 71 DD 1F 01 7D D5 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 36 36 30 30 31 33 33 33 31 34 33 38 06 04 21 00 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D0 9C D0 BE D1 81 D0 BA D0 BE D0 B2 D1 81 D0 BA D0 BE D0 B5 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 42 00 00 00 F4 03 04 00 39 B1 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2A 5F 00 00 35 04 06 00 16 AE CD A6 46 DF 78 0E 52 CD 93 18 06 40 [19:53:28]CheckFolder [19:53:28]dirname=/storage/ofd_packets [19:53:28]CheckFolder done [19:53:28]ProducePacketName [19:53:28]name=ofd_packets/00024362 [19:53:28]NVStorageSaveData ofd_packets/00024362 [19:53:28]File name is /storage/ofd_packets/00024362 [19:53:28]Write 325 bytes [19:53:28]NVStorageSaveData done [19:53:28]OFDSenderStorePacket done [19:53:28]KKMCreateOFDPacket done [19:53:28]NVStorageSaveData kkm_last_timestamp [19:53:28]File name is /storage/kkm_last_timestamp [19:53:28]Write 4 bytes [19:53:28]NVStorageSaveData done [19:53:28]ExternCall_PrintAddStr [19:53:28]wPrintStart [19:53:28]Write to MH i2c: 01 00 00 72 10 82 [19:53:28]Write i2c OK [19:53:28]MH_I2C_Read... [19:53:28]Read from MH i2c: 01 [19:53:28]MH_I2C_Read... [19:53:28]Read from MH i2c: 01 07 00 [19:53:28]MH_I2C_Read... [19:53:28]Read from MH i2c: 01 07 00 72 10 00 00 00 00 00 FF 0F 97 [19:53:28]RasterBufferAndPrint [19:53:28]line Счет N : (3)134883 [19:53:28]line ИНН: 02508201610067 [19:53:28]line Контрольно-Кассовый Чек [19:53:28]line ПРОДАЖА [19:53:28]line Товар: 4660013331438 [19:53:28]line Эскимо Московское [19:53:28]line 1.000 * 95.00 [19:53:28]line = 95.00 [19:53:28]line НДС 12% НСП 1% [19:53:28]line > о реализуемом товаре [19:53:28]line ИТОГО: 95.00 [19:53:28]line НСП 1% : 0.84 [19:53:28]line НДС 12% : 10.09 [19:53:28]line Наличными: 0.00 [19:53:28]line Безнал.: 95.00 [19:53:28]line Место: АЗС № 85 "Партнер Нефть" [19:53:28]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [19:53:28]line СНО: Общий режим [19:53:28]line Чек 66 21.10.2024 19:53 [19:53:28]line Смена: 461 ФФД: 1.0 [19:53:28]line ЗНМ: 0300000166 [19:53:28]line РНМ: 0000000000098120 [19:53:28]line Версия ККМ: 001 [19:53:28]line Платежная система: Mbank [19:53:28]line ФМ: 0000000000965420 [19:53:28]line ФД: 24362 [19:53:28]line ФПД: 24940030346975 [19:53:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T195329&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24362&fm=24940030346975&tin=02508201610067®Number=0000000000098120&sum=9500 [19:53:28]OFD Sender: Processing packet 24362 [packets to send 5, broken 4] [19:53:28]ProducePacketName [19:53:28]name=ofd_packets/00024362 [19:53:28]OFD Sender: To server: pG, [19:53:28]CommunicateWithHost lk.salyk.kg:30040 [19:53:28]ConnectInit lk.salyk.kg [19:53:28]line 0 [19:53:28]written 0, free lines is 4095 [19:53:28]Connected sock=10 [19:53: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 34 32 30 27 01 00 00 71 DD 1F 01 7D D5 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 36 36 30 30 31 33 33 33 31 34 33 38 06 04 21 00 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D0 9C D0 BE D1 81 D0 BA D0 BE D0 B2 D1 81 D0 BA D0 BE D0 B5 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 42 00 00 00 F4 03 04 00 39 B1 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2A 5F 00 00 35 04 06 00 16 AE CD A6 46 DF 78 0E 52 CD 93 18 06 40 [19:53:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 38 45 47 00 35 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 34 32 30 10 04 04 00 2A 5F 00 00 F4 03 04 00 DF 5C 16 67 B6 04 01 00 00 65 52 33 D2 F1 5E B3 C6 [19:53:28]CommunicateWithHost err = 0 [19:53:28]CheckOFDResponse [19:53:28]1017 (14) - 77093643461234 [19:53:28]1041 (16) - 0000000000965420 [19:53:28]1040 (4) - 24362 [19:53:28]1012 (4) - 21.10.2024 13:53 [19:53:28]1206 (1) - 0 [19:53:28]OFD Sender: Remove packet 24362 [19:53:28]ProducePacketName [19:53:28]name=ofd_packets/00024362 [19:53:28]NVStorageDeleteData [19:53:29]Write to MH i2c: 01 00 00 9B 10 AB [19:53:29]Write i2c OK [19:53:29]MH_I2C_Read... [19:53:29]Read from MH i2c: 01 [19:53:29]MH_I2C_Read... [19:53:29]Read from MH i2c: 01 07 00 [19:53:29]MH_I2C_Read... [19:53:29]Read from MH i2c: 01 07 00 9B 10 00 00 00 00 00 1A 0D D9 [19:53:29]RasterBufferAndPrint [19:53:29]line [19:53:29]line [19:53:29]line [19:53:29]line [19:53:29]line [19:53:29]written 0, free lines is 3363 [19:53:29]process_action close_receipt done [19:53:29]requested_data is exist [19:53:29]produce_requested_data [19:53:29]requested_item fm.sn is exist - process it [19:53:29]wFMCommunicate request_size=4 [19:53:29]MH_SAM_APDU [19:53:29]CAPDU: 80 11 00 00 [19:53:29]Write to MH i2c: E2 08 00 A2 10 80 11 00 00 00 00 00 00 2C [19:53:29]Write i2c OK [19:53:29]MH_I2C_Read... [19:53:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:53:29]Read from MH i2c: E2 [19:53:29]MH_I2C_Read... [19:53:29]Read from MH i2c: E2 17 00 [19:53:29]MH_I2C_Read... [19:53:29]Read from MH i2c: E2 17 00 A2 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 79 [19:53:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:53:29]wFMCommunicate OK [19:53:29]requested_item fd.num is exist - process it [19:53:29]SAM_PROTO_GetFieldsCounters [19:53:29]wFMCommunicate request_size=4 [19:53:29]MH_SAM_APDU [19:53:29]CAPDU: 80 13 00 00 [19:53:29]Write to MH i2c: E2 08 00 A3 10 80 13 00 00 00 00 00 00 2F [19:53:29]Write i2c OK [19:53:29]MH_I2C_Read... [19:53:29]Read from MH i2c: E2 [19:53:29]MH_I2C_Read... [19:53:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:53:29]Read from MH i2c: E2 62 00 [19:53:29]MH_I2C_Read... [19:53:29]Read from MH i2c: E2 62 00 A3 10 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 2A 5F 00 00 0E 04 04 00 CD 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 62 [19:53: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 2A 5F 00 00 0E 04 04 00 CD 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 [19:53:29]wFMCommunicate OK [19:53:29]SAM_PROTO_GetFieldsCounters done [19:53:29]requested_item shift.num is exist - process it [19:53:29]requested_item shift.opened is exist - process it [19:53:29]req_shift_opened [19:53:29]FM_GetShiftState [19:53:29]SAM_PROTO_GetShiftState [19:53:29]wFMCommunicate request_size=4 [19:53:29]MH_SAM_APDU [19:53:29]CAPDU: 80 13 01 00 [19:53:29]Write to MH i2c: E2 08 00 A4 10 80 13 01 00 00 00 00 00 31 [19:53:29]Write i2c OK [19:53:29]MH_I2C_Read... [19:53:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:53:29]Read from MH i2c: E2 [19:53:29]MH_I2C_Read... [19:53:29]Read from MH i2c: E2 0E 00 [19:53:29]MH_I2C_Read... [19:53:29]Read from MH i2c: E2 0E 00 A4 10 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 7B [19:53:29]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [19:53:29]wFMCommunicate OK [19:53:29]SAM_PROTO_GetShiftState done [19:53:29]FM_GetShiftState done [19:53:29]req_shift_opened done [19:53:29]requested_item shift.open_date is exist - process it [19:53:29]req_shift_open_date [19:53:29]req_shift_open_date done [19:53:29]produce_requested_data done [19:53:29]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24362,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [19:53:29]process_action_free close_receipt [19:53:29]json_value_free [19:53:29]json_value_free done [19:53:29]process_json_proto returns [19:53:29]Send response to host [19:53:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24362,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [19:53:29]free response buf [19:53:29]execute_script done [19:53:29]execute_script returns [19:53:29]free content buf [19:53:29]Sock 9.Close socket [19:53:29]Sock 9.Thread stoped [19:53:29]OFD Sender: No OFD packet to send [19:53:34]OFD Sender: No OFD packet to send [19:53:39]OFD Sender: No OFD packet to send [19:53:44]OFD Sender: No OFD packet to send [19:53:49]OFD Sender: No OFD packet to send [19:53:54]OFD Sender: No OFD packet to send [19:53:59]OFD Sender: No OFD packet to send [19:54:04]OFD Sender: No OFD packet to send [19:54:09]OFD Sender: No OFD packet to send [19:54:14]OFD Sender: No OFD packet to send [19:54:19]OFD Sender: No OFD packet to send [19:54:24]OFD Sender: No OFD packet to send [19:54:29]OFD Sender: No OFD packet to send [19:54:34]OFD Sender: No OFD packet to send [19:54:39]OFD Sender: No OFD packet to send [19:54:44]OFD Sender: No OFD packet to send [19:54:49]OFD Sender: No OFD packet to send [19:54:54]OFD Sender: No OFD packet to send [19:54:59]OFD Sender: No OFD packet to send [19:55:04]OFD Sender: No OFD packet to send [19:55:09]OFD Sender: No OFD packet to send [19:55:14]OFD Sender: No OFD packet to send [19:55:19]OFD Sender: No OFD packet to send [19:55:24]OFD Sender: No OFD packet to send [19:55:25]accept exits with 8 [19:55:25]New connection [19:55:25]New thread 3067084132 created [19:55:25]Thread 3066940772 joined [19:55:25]Waiting for new connection... [19:55:25] Sock 8.Parse request [19:55:25]Sock 8.Check first char [19:55:25]Sock 8.First char is OK [19:55:25]request: POST /json_proto HTTP/1.0 [19:55:25]Method: POST [19:55:25]URL: /json_proto [19:55:25]Method is POST - this is cgi request [19:55:25]url: /json_proto [19:55:25]query_string will be loaded in cgi processing [19:55:25]execute_cgi json_proto POST (null) [19:55:25]execute_cgi path=json_proto method=POST [19:55:25]POST find Content-Length [19:55:25]Host: 172.17.50.4:8080 [19:55:25]Content-Length: 679 [19:55:25]Content-Type: application/json [19:55:25] [19:55:25]POST finish read [19:55:25]Found Content-Length = 679 [19:55:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134884", "tax_sys" : 0, "items" : [ { "code": "4700003010353", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:55:25]execute_script... [19:55: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)134884", "tax_sys" : 0, "items" : [ { "code": "4700003010353", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:55:25]POST & json_proto [19:55:25]process_json_proto [19:55:25]json parsed OK: [19:55:25]protocol is kg_v1.0 [19:55:25]action value=close_receipt [19:55:25]process_action close_receipt [19:55:25]cmd_close_receipt [19:55:25]MH_GetDate [19:55:25]Write to MH i2c: F0 00 00 A5 10 A4 [19:55:25]Write i2c OK [19:55:25]MH_I2C_Read... [19:55:25]Read from MH i2c: F0 [19:55:25]MH_I2C_Read... [19:55:25]Read from MH i2c: F0 09 00 [19:55:25]MH_I2C_Read... [19:55:25]Read from MH i2c: F0 09 00 A5 10 00 B0 B1 16 67 3B 12 16 67 55 [19:55:25]GetLastDocTimeStamp 1729540409 [19:55:25]current date 1729540528 [19:55:25]FM_GetShiftState [19:55:25]SAM_PROTO_GetShiftState [19:55:25]wFMCommunicate request_size=4 [19:55:25]MH_SAM_APDU [19:55:25]CAPDU: 80 13 01 00 [19:55:25]Write to MH i2c: E2 08 00 A6 10 80 13 01 00 00 00 00 00 33 [19:55:25]Write i2c OK [19:55:25]MH_I2C_Read... [19:55:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:55:25]Read from MH i2c: E2 [19:55:25]MH_I2C_Read... [19:55:25]Read from MH i2c: E2 0E 00 [19:55:25]MH_I2C_Read... [19:55:25]Read from MH i2c: E2 0E 00 A6 10 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 7D [19:55:25]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [19:55:25]wFMCommunicate OK [19:55:25]SAM_PROTO_GetShiftState done [19:55:25]FM_GetShiftState done [19:55:25]opened in 1729469223 [19:55:25]opened+sec_in_day 1729555623 [19:55:25]quantity*price = 8000 [19:55:25]sum+1 = 8001 [19:55:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 67 21.10.2024 19:55 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24363 ФПД: 164419729226912 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T195528&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24363&fm=164419729226912&tin=02508201610067®Number=0000000000098120&sum=8000 0 [19:55:26]StoreToDocumentArchive [19:55:26]shift 461 fd 24363 [19:55:26]save to /storage/0461/doc_00024363 [19:55:26]save last doc name /storage/0461/doc_00024363 to /storage/kkm_last_doc_name [19:55:26]save OK [19:55:26]Clear old archive folders... [19:55:26]ProcessDocumentItem done err = 0, tmpTLVsize=294 [19:55:26]tlvbuf is B6EE1C50 [19:55:26]SAM_PROTO_ClearQueue [19:55:26]wFMCommunicate request_size=4 [19:55:26]MH_SAM_APDU [19:55:26]CAPDU: 80 09 00 00 [19:55:26]Write to MH i2c: E2 08 00 B3 10 80 09 00 00 00 00 00 00 35 [19:55:26]Write i2c OK [19:55:26]MH_I2C_Read... [19:55:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:55:26]Read from MH i2c: E2 [19:55:26]MH_I2C_Read... [19:55:26]Read from MH i2c: E2 03 00 [19:55:26]MH_I2C_Read... [19:55:26]Read from MH i2c: E2 03 00 B3 10 00 90 00 37 [19:55:26]RAPDU: 90 00 [19:55:26]wFMCommunicate OK [19:55:26]SAM_PROTO_ClearQueue done [19:55:26]KKMCreateOFDPacket [19:55:26]OFDProtocolAddRootSTLVToBuf [19:55:26]FM_MakeSignedData [19:55:26]FM_MakeSignedData [19:55:26]SAM_PROTO_SignData [19:55:26]wFMCommunicate request_size=4 [19:55:26]MH_SAM_APDU [19:55:26]CAPDU: 80 0D 01 02 [19:55:26]Write to MH i2c: E2 08 00 B4 10 80 0D 01 02 00 00 00 00 3D [19:55:26]Write i2c OK [19:55:26]MH_I2C_Read... [19:55:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:55:26]Read from MH i2c: E2 [19:55:26]MH_I2C_Read... [19:55:26]Read from MH i2c: E2 03 00 [19:55:26]MH_I2C_Read... [19:55:26]Read from MH i2c: E2 03 00 B4 10 00 90 00 38 [19:55:26]RAPDU: 90 00 [19:55:26]wFMCommunicate OK [19:55:26]wFMCommunicate request_size=255 [19:55:26]MH_SAM_APDU [19:55:26]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 B0 B1 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [19:55:26]Write to MH i2c: E2 02 01 B5 10 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 B0 B1 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 2E [19:55:26]Write i2c OK [19:55:26]MH_I2C_Read... [19:55:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:55:27]Read from MH i2c: E2 [19:55:27]MH_I2C_Read... [19:55:27]Read from MH i2c: E2 03 00 [19:55:27]MH_I2C_Read... [19:55:27]Read from MH i2c: E2 03 00 B5 10 00 90 00 39 [19:55:27]RAPDU: 90 00 [19:55:27]wFMCommunicate OK [19:55:27]wFMCommunicate request_size=53 [19:55:27]MH_SAM_APDU [19:55:27]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2B 5F 00 00 35 04 06 00 95 89 F3 8D FC A0 [19:55:27]Write to MH i2c: E2 38 00 B6 10 80 0D 02 02 30 00 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2B 5F 00 00 35 04 06 00 95 89 F3 8D FC A0 00 00 EE [19:55:27]Write i2c OK [19:55:27]MH_I2C_Read... [19:55:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:55:27]Read from MH i2c: E2 [19:55:27]MH_I2C_Read... [19:55:27]Read from MH i2c: E2 03 00 [19:55:27]MH_I2C_Read... [19:55:27]Read from MH i2c: E2 03 00 B6 10 00 90 00 3A [19:55:27]RAPDU: 90 00 [19:55:27]wFMCommunicate OK [19:55:27]wFMCommunicate request_size=4 [19:55:27]MH_SAM_APDU [19:55:27]CAPDU: 80 0D 03 02 [19:55:27]Write to MH i2c: E2 08 00 B7 10 80 0D 03 02 00 00 00 00 42 [19:55:27]Write i2c OK [19:55:27]MH_I2C_Read... [19:55:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:55:27]Read from MH i2c: E2 [19:55:27]MH_I2C_Read... [19:55:27]Read from MH i2c: E2 0B 00 [19:55:27]MH_I2C_Read... [19:55:27]Read from MH i2c: E2 0B 00 B7 10 00 F8 E1 10 1A 9E 78 D1 1B 90 00 48 [19:55:27]RAPDU: F8 E1 10 1A 9E 78 D1 1B 90 00 [19:55:27]wFMCommunicate OK [19:55:27]SAM_PROTO_SignData done [19:55:27]FM_MakeSignedData done [19:55:27]CreateOFDProtocolMessage [19:55:27]wFMCommunicate request_size=4 [19:55:27]MH_SAM_APDU [19:55:27]CAPDU: 80 11 00 00 [19:55:27]Write to MH i2c: E2 08 00 B8 10 80 11 00 00 00 00 00 00 42 [19:55:27]Write i2c OK [19:55:27]MH_I2C_Read... [19:55:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:55:27]Read from MH i2c: E2 [19:55:27]MH_I2C_Read... [19:55:27]Read from MH i2c: E2 17 00 [19:55:27]MH_I2C_Read... [19:55:27]Read from MH i2c: E2 17 00 B8 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 8F [19:55:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:55:27]wFMCommunicate OK [19:55:27]CreateOFDProtocolMessage done [19:55:27]OFDSenderStorePacket 24363 [19:55:27]StoreOFDPacket docnum=24363 [19:55:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 3A 01 00 00 AE A7 32 01 37 A7 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 B0 B1 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2B 5F 00 00 35 04 06 00 95 89 F3 8D FC A0 F8 E1 10 1A 9E 78 D1 1B [19:55:27]CheckFolder [19:55:27]dirname=/storage/ofd_packets [19:55:27]CheckFolder done [19:55:27]ProducePacketName [19:55:27]name=ofd_packets/00024363 [19:55:27]NVStorageSaveData ofd_packets/00024363 [19:55:27]File name is /storage/ofd_packets/00024363 [19:55:27]Write 344 bytes [19:55:27]NVStorageSaveData done [19:55:27]OFDSenderStorePacket done [19:55:27]KKMCreateOFDPacket done [19:55:27]NVStorageSaveData kkm_last_timestamp [19:55:27]File name is /storage/kkm_last_timestamp [19:55:27]Write 4 bytes [19:55:27]NVStorageSaveData done [19:55:27]ExternCall_PrintAddStr [19:55:27]wPrintStart [19:55:27]Write to MH i2c: 01 00 00 B9 10 C9 [19:55:27]Write i2c OK [19:55:27]MH_I2C_Read... [19:55:27]Read from MH i2c: 01 [19:55:27]MH_I2C_Read... [19:55:27]Read from MH i2c: 01 07 00 [19:55:27]MH_I2C_Read... [19:55:27]Read from MH i2c: 01 07 00 B9 10 00 00 00 00 00 FF 0F DE [19:55:27]RasterBufferAndPrint [19:55:27]line Счет N : (3)134884 [19:55:27]line ИНН: 02508201610067 [19:55:27]line Контрольно-Кассовый Чек [19:55:27]line ПРОДАЖА [19:55:27]line Товар: 4700003010353 [19:55:27]line Напиток Let`s Go! с/с груша ПЭТ 1л [19:55:27]line 1.000 * 80.00 [19:55:27]line = 80.00 [19:55:27]line НДС 12% НСП 1% [19:55:27]line > о реализуемом товаре [19:55:27]line ИТОГО: 80.00 [19:55:27]line НСП 1% : 0.71 [19:55:27]line НДС 12% : 8.50 [19:55:27]line Наличными: 80.00 [19:55:27]line Безнал.: 0.00 [19:55:27]line Место: АЗС № 85 "Партнер Нефть" [19:55:27]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [19:55:27]line СНО: Общий режим [19:55:27]line Чек 67 21.10.2024 19:55 [19:55:27]line Смена: 461 ФФД: 1.0 [19:55:27]line ЗНМ: 0300000166 [19:55:27]line РНМ: 0000000000098120 [19:55:27]line Версия ККМ: 001 [19:55:27]line ФМ: 0000000000965420 [19:55:27]line ФД: 24363 [19:55:27]line ФПД: 164419729226912 [19:55:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T195528&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24363&fm=164419729226912&tin=02508201610067®Number=0000000000098120&sum=8000 [19:55:27]line 0 [19:55:27]OFD Sender: Processing packet 24363 [packets to send 5, broken 4] [19:55:27]ProducePacketName [19:55:27]name=ofd_packets/00024363 [19:55:27]OFD Sender: To server: pG, [19:55:27]CommunicateWithHost lk.salyk.kg:30040 [19:55:27]ConnectInit lk.salyk.kg [19:55:27]written 0, free lines is 4095 [19:55:27]Connected sock=10 [19:55: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 34 32 30 3A 01 00 00 AE A7 32 01 37 A7 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 B0 B1 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2B 5F 00 00 35 04 06 00 95 89 F3 8D FC A0 F8 E1 10 1A 9E 78 D1 1B [19:55:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 6E 91 47 00 20 56 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 34 32 30 10 04 04 00 2B 5F 00 00 F4 03 04 00 56 5D 16 67 B6 04 01 00 00 3A EE D5 76 D1 CC 22 7D [19:55:27]CommunicateWithHost err = 0 [19:55:27]CheckOFDResponse [19:55:27]1017 (14) - 77093643461234 [19:55:27]1041 (16) - 0000000000965420 [19:55:27]1040 (4) - 24363 [19:55:27]1012 (4) - 21.10.2024 13:55 [19:55:27]1206 (1) - 0 [19:55:27]OFD Sender: Remove packet 24363 [19:55:27]ProducePacketName [19:55:27]name=ofd_packets/00024363 [19:55:27]NVStorageDeleteData [19:55:28]Write to MH i2c: 01 00 00 E2 10 F2 [19:55:28]Write i2c OK [19:55:28]MH_I2C_Read... [19:55:28]Read from MH i2c: 01 [19:55:28]MH_I2C_Read... [19:55:28]Read from MH i2c: 01 07 00 [19:55:28]MH_I2C_Read... [19:55:28]Read from MH i2c: 01 07 00 E2 10 00 00 00 00 00 15 0D 1B [19:55:28]RasterBufferAndPrint [19:55:28]line [19:55:28]line [19:55:28]line [19:55:28]line [19:55:28]line [19:55:28]written 0, free lines is 3353 [19:55:28]process_action close_receipt done [19:55:28]requested_data is exist [19:55:28]produce_requested_data [19:55:28]requested_item fm.sn is exist - process it [19:55:28]wFMCommunicate request_size=4 [19:55:28]MH_SAM_APDU [19:55:28]CAPDU: 80 11 00 00 [19:55:28]Write to MH i2c: E2 08 00 E9 10 80 11 00 00 00 00 00 00 73 [19:55:28]Write i2c OK [19:55:28]MH_I2C_Read... [19:55:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:55:28]Read from MH i2c: E2 [19:55:28]MH_I2C_Read... [19:55:28]Read from MH i2c: E2 17 00 [19:55:28]MH_I2C_Read... [19:55:28]Read from MH i2c: E2 17 00 E9 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 C0 [19:55:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:55:28]wFMCommunicate OK [19:55:28]requested_item fd.num is exist - process it [19:55:28]SAM_PROTO_GetFieldsCounters [19:55:28]wFMCommunicate request_size=4 [19:55:28]MH_SAM_APDU [19:55:28]CAPDU: 80 13 00 00 [19:55:28]Write to MH i2c: E2 08 00 EA 10 80 13 00 00 00 00 00 00 76 [19:55:28]Write i2c OK [19:55:28]MH_I2C_Read... [19:55:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:55:28]Read from MH i2c: E2 [19:55:28]MH_I2C_Read... [19:55:28]Read from MH i2c: E2 62 00 [19:55:28]MH_I2C_Read... [19:55:28]Read from MH i2c: E2 62 00 EA 10 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 2B 5F 00 00 0E 04 04 00 CD 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 AD [19:55: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 2B 5F 00 00 0E 04 04 00 CD 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 [19:55:28]wFMCommunicate OK [19:55:28]SAM_PROTO_GetFieldsCounters done [19:55:28]requested_item shift.num is exist - process it [19:55:28]requested_item shift.opened is exist - process it [19:55:28]req_shift_opened [19:55:28]FM_GetShiftState [19:55:28]SAM_PROTO_GetShiftState [19:55:28]wFMCommunicate request_size=4 [19:55:28]MH_SAM_APDU [19:55:28]CAPDU: 80 13 01 00 [19:55:28]Write to MH i2c: E2 08 00 EB 10 80 13 01 00 00 00 00 00 78 [19:55:28]Write i2c OK [19:55:28]MH_I2C_Read... [19:55:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:55:28]Read from MH i2c: E2 [19:55:28]MH_I2C_Read... [19:55:28]Read from MH i2c: E2 0E 00 [19:55:28]MH_I2C_Read... [19:55:28]Read from MH i2c: E2 0E 00 EB 10 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 C2 [19:55:28]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [19:55:28]wFMCommunicate OK [19:55:28]SAM_PROTO_GetShiftState done [19:55:28]FM_GetShiftState done [19:55:28]req_shift_opened done [19:55:28]requested_item shift.open_date is exist - process it [19:55:28]req_shift_open_date [19:55:28]req_shift_open_date done [19:55:28]produce_requested_data done [19:55:28]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24363,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [19:55:28]process_action_free close_receipt [19:55:28]json_value_free [19:55:28]json_value_free done [19:55:28]process_json_proto returns [19:55:28]Send response to host [19:55:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24363,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [19:55:28]free response buf [19:55:28]execute_script done [19:55:28]execute_script returns [19:55:28]free content buf [19:55:28]Sock 8.Close socket [19:55:28]Sock 8.Thread stoped [19:55:28]OFD Sender: No OFD packet to send [19:55:33]OFD Sender: No OFD packet to send [19:55:38]OFD Sender: No OFD packet to send [19:55:43]OFD Sender: No OFD packet to send [19:55:48]OFD Sender: No OFD packet to send [19:55:53]OFD Sender: No OFD packet to send [19:55:58]OFD Sender: No OFD packet to send [19:56:03]OFD Sender: No OFD packet to send [19:56:08]OFD Sender: No OFD packet to send [19:56:13]OFD Sender: No OFD packet to send [19:56:18]OFD Sender: No OFD packet to send [19:56:23]OFD Sender: No OFD packet to send [19:56:28]OFD Sender: No OFD packet to send [19:56:33]OFD Sender: No OFD packet to send [19:56:38]OFD Sender: No OFD packet to send [19:56:43]OFD Sender: No OFD packet to send [19:56:48]OFD Sender: No OFD packet to send [19:56:53]OFD Sender: No OFD packet to send [19:56:58]OFD Sender: No OFD packet to send [19:57:03]OFD Sender: No OFD packet to send [19:57:08]OFD Sender: No OFD packet to send [19:57:13]OFD Sender: No OFD packet to send [19:57:18]OFD Sender: No OFD packet to send [19:57:23]OFD Sender: No OFD packet to send [19:57:28]OFD Sender: No OFD packet to send [19:57:33]OFD Sender: No OFD packet to send [19:57:38]OFD Sender: No OFD packet to send [19:57:43]OFD Sender: No OFD packet to send [19:57:48]OFD Sender: No OFD packet to send [19:57:53]OFD Sender: No OFD packet to send [19:57:58]OFD Sender: No OFD packet to send [19:58:03]OFD Sender: No OFD packet to send [19:58:08]OFD Sender: No OFD packet to send [19:58:13]OFD Sender: No OFD packet to send [19:58:18]OFD Sender: No OFD packet to send [19:58:23]OFD Sender: No OFD packet to send [19:58:28]OFD Sender: No OFD packet to send [19:58:33]OFD Sender: No OFD packet to send [19:58:38]OFD Sender: No OFD packet to send [19:58:43]OFD Sender: No OFD packet to send [19:58:48]OFD Sender: No OFD packet to send [19:58:53]OFD Sender: No OFD packet to send [19:58:58]OFD Sender: No OFD packet to send [19:59:03]OFD Sender: No OFD packet to send [19:59:08]OFD Sender: No OFD packet to send [19:59:13]OFD Sender: No OFD packet to send [19:59:18]OFD Sender: No OFD packet to send [19:59:23]OFD Sender: No OFD packet to send [19:59:28]OFD Sender: No OFD packet to send [19:59:33]OFD Sender: No OFD packet to send [19:59:38]OFD Sender: No OFD packet to send [19:59:43]OFD Sender: No OFD packet to send [19:59:48]OFD Sender: No OFD packet to send [19:59:53]OFD Sender: No OFD packet to send [19:59:58]OFD Sender: No OFD packet to send [20:00:03]OFD Sender: No OFD packet to send [20:00:04]accept exits with 9 [20:00:04]New connection [20:00:04]New thread 3066940772 created [20:00:04]Thread 3067084132 joined [20:00:04]Waiting for new connection... [20:00:04] Sock 9.Parse request [20:00:04]Sock 9.Check first char [20:00:04]Sock 9.First char is OK [20:00:04]request: POST /json_proto HTTP/1.0 [20:00:04]Method: POST [20:00:04]URL: /json_proto [20:00:04]Method is POST - this is cgi request [20:00:04]url: /json_proto [20:00:04]query_string will be loaded in cgi processing [20:00:04]execute_cgi json_proto POST (null) [20:00:04]execute_cgi path=json_proto method=POST [20:00:04]POST find Content-Length [20:00:04]Host: 172.17.50.4:8080 [20:00:04]Content-Length: 688 [20:00:04]Content-Type: application/json [20:00:04] [20:00:04]POST finish read [20:00:04]Found Content-Length = 688 [20:00:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134885", "tax_sys" : 0, "items" : [ { "code": "4700003010070", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:00:04]execute_script... [20:00: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)134885", "tax_sys" : 0, "items" : [ { "code": "4700003010070", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:00:04]POST & json_proto [20:00:04]process_json_proto [20:00:04]json parsed OK: [20:00:04]protocol is kg_v1.0 [20:00:04]action value=close_receipt [20:00:04]process_action close_receipt [20:00:04]cmd_close_receipt [20:00:04]MH_GetDate [20:00:04]Write to MH i2c: F0 00 00 EC 10 EB [20:00:04]Write i2c OK [20:00:04]MH_I2C_Read... [20:00:04]Read from MH i2c: F0 [20:00:04]MH_I2C_Read... [20:00:04]Read from MH i2c: F0 09 00 [20:00:04]MH_I2C_Read... [20:00:04]Read from MH i2c: F0 09 00 EC 10 00 C7 B2 16 67 3B 12 16 67 B4 [20:00:04]GetLastDocTimeStamp 1729540528 [20:00:04]current date 1729540807 [20:00:04]FM_GetShiftState [20:00:04]SAM_PROTO_GetShiftState [20:00:04]wFMCommunicate request_size=4 [20:00:04]MH_SAM_APDU [20:00:04]CAPDU: 80 13 01 00 [20:00:04]Write to MH i2c: E2 08 00 ED 10 80 13 01 00 00 00 00 00 7A [20:00:04]Write i2c OK [20:00:04]MH_I2C_Read... [20:00:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:00:04]Read from MH i2c: E2 [20:00:04]MH_I2C_Read... [20:00:04]Read from MH i2c: E2 0E 00 [20:00:04]MH_I2C_Read... [20:00:04]Read from MH i2c: E2 0E 00 ED 10 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 C4 [20:00:04]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [20:00:04]wFMCommunicate OK [20:00:04]SAM_PROTO_GetShiftState done [20:00:04]FM_GetShiftState done [20:00:04]opened in 1729469223 [20:00:04]opened+sec_in_day 1729555623 [20:00:04]quantity*price = 9500 [20:00:04]sum+1 = 9501 [20:00:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 68 21.10.2024 20:00 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24364 ФПД: 170041721881324 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T200007&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24364&fm=170041721881324&tin=02508201610067®Number=0000000000098120&sum=9500 0 [20:00:05]StoreToDocumentArchive [20:00:05]shift 461 fd 24364 [20:00:05]save to /storage/0461/doc_00024364 [20:00:05]save last doc name /storage/0461/doc_00024364 to /storage/kkm_last_doc_name [20:00:05]save OK [20:00:05]Clear old archive folders... [20:00:05]ProcessDocumentItem done err = 0, tmpTLVsize=299 [20:00:05]tlvbuf is 003526A0 [20:00:05]SAM_PROTO_ClearQueue [20:00:05]wFMCommunicate request_size=4 [20:00:05]MH_SAM_APDU [20:00:05]CAPDU: 80 09 00 00 [20:00:05]Write to MH i2c: E2 08 00 FA 10 80 09 00 00 00 00 00 00 7C [20:00:05]Write i2c OK [20:00:05]MH_I2C_Read... [20:00:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:00:05]Read from MH i2c: E2 [20:00:05]MH_I2C_Read... [20:00:05]Read from MH i2c: E2 03 00 [20:00:05]MH_I2C_Read... [20:00:05]Read from MH i2c: E2 03 00 FA 10 00 90 00 7E [20:00:05]RAPDU: 90 00 [20:00:05]wFMCommunicate OK [20:00:05]SAM_PROTO_ClearQueue done [20:00:05]KKMCreateOFDPacket [20:00:05]OFDProtocolAddRootSTLVToBuf [20:00:05]FM_MakeSignedData [20:00:05]FM_MakeSignedData [20:00:05]SAM_PROTO_SignData [20:00:05]wFMCommunicate request_size=4 [20:00:05]MH_SAM_APDU [20:00:05]CAPDU: 80 0D 01 02 [20:00:05]Write to MH i2c: E2 08 00 FB 10 80 0D 01 02 00 00 00 00 84 [20:00:05]Write i2c OK [20:00:05]MH_I2C_Read... [20:00:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:00:05]Read from MH i2c: E2 [20:00:05]MH_I2C_Read... [20:00:05]Read from MH i2c: E2 03 00 [20:00:05]MH_I2C_Read... [20:00:05]Read from MH i2c: E2 03 00 FB 10 00 90 00 7F [20:00:05]RAPDU: 90 00 [20:00:05]wFMCommunicate OK [20:00:05]wFMCommunicate request_size=255 [20:00:05]MH_SAM_APDU [20:00:05]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 44 00 00 00 F4 03 04 00 C7 B2 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 [20:00:05]Write to MH i2c: E2 02 01 FC 10 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 44 00 00 00 F4 03 04 00 C7 B2 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 33 [20:00:05]Write i2c OK [20:00:05]MH_I2C_Read... [20:00:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:00:06]Read from MH i2c: E2 [20:00:06]MH_I2C_Read... [20:00:06]Read from MH i2c: E2 03 00 [20:00:06]MH_I2C_Read... [20:00:06]Read from MH i2c: E2 03 00 FC 10 00 90 00 80 [20:00:06]RAPDU: 90 00 [20:00:06]wFMCommunicate OK [20:00:06]wFMCommunicate request_size=58 [20:00:06]MH_SAM_APDU [20:00:06]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2C 5F 00 00 35 04 06 00 9A A6 EC 6E 02 EC [20:00:06]Write to MH i2c: E2 3D 00 FD 10 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2C 5F 00 00 35 04 06 00 9A A6 EC 6E 02 EC 00 00 7E [20:00:06]Write i2c OK [20:00:06]MH_I2C_Read... [20:00:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:00:06]Read from MH i2c: E2 [20:00:06]MH_I2C_Read... [20:00:06]Read from MH i2c: E2 03 00 [20:00:06]MH_I2C_Read... [20:00:06]Read from MH i2c: E2 03 00 FD 10 00 90 00 81 [20:00:06]RAPDU: 90 00 [20:00:06]wFMCommunicate OK [20:00:06]wFMCommunicate request_size=4 [20:00:06]MH_SAM_APDU [20:00:06]CAPDU: 80 0D 03 02 [20:00:06]Write to MH i2c: E2 08 00 FE 10 80 0D 03 02 00 00 00 00 89 [20:00:06]Write i2c OK [20:00:06]MH_I2C_Read... [20:00:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:00:06]Read from MH i2c: E2 [20:00:06]MH_I2C_Read... [20:00:06]Read from MH i2c: E2 0B 00 [20:00:06]MH_I2C_Read... [20:00:06]Read from MH i2c: E2 0B 00 FE 10 00 74 E3 99 23 91 9C E4 18 90 00 C6 [20:00:06]RAPDU: 74 E3 99 23 91 9C E4 18 90 00 [20:00:06]wFMCommunicate OK [20:00:06]SAM_PROTO_SignData done [20:00:06]FM_MakeSignedData done [20:00:06]CreateOFDProtocolMessage [20:00:06]wFMCommunicate request_size=4 [20:00:06]MH_SAM_APDU [20:00:06]CAPDU: 80 11 00 00 [20:00:06]Write to MH i2c: E2 08 00 FF 10 80 11 00 00 00 00 00 00 89 [20:00:06]Write i2c OK [20:00:06]MH_I2C_Read... [20:00:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:00:06]Read from MH i2c: E2 [20:00:06]MH_I2C_Read... [20:00:06]Read from MH i2c: E2 17 00 [20:00:06]MH_I2C_Read... [20:00:06]Read from MH i2c: E2 17 00 FF 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 D6 [20:00:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:00:06]wFMCommunicate OK [20:00:06]CreateOFDProtocolMessage done [20:00:06]OFDSenderStorePacket 24364 [20:00:06]StoreOFDPacket docnum=24364 [20:00:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 3F 01 00 00 B4 F6 37 01 D7 66 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 44 00 00 00 F4 03 04 00 C7 B2 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2C 5F 00 00 35 04 06 00 9A A6 EC 6E 02 EC 74 E3 99 23 91 9C E4 18 [20:00:06]CheckFolder [20:00:06]dirname=/storage/ofd_packets [20:00:06]CheckFolder done [20:00:06]ProducePacketName [20:00:06]name=ofd_packets/00024364 [20:00:06]NVStorageSaveData ofd_packets/00024364 [20:00:06]File name is /storage/ofd_packets/00024364 [20:00:06]Write 349 bytes [20:00:06]NVStorageSaveData done [20:00:06]OFDSenderStorePacket done [20:00:06]KKMCreateOFDPacket done [20:00:06]NVStorageSaveData kkm_last_timestamp [20:00:06]File name is /storage/kkm_last_timestamp [20:00:06]Write 4 bytes [20:00:06]NVStorageSaveData done [20:00:06]ExternCall_PrintAddStr [20:00:06]wPrintStart [20:00:06]Write to MH i2c: 01 00 00 00 11 11 [20:00:06]OFD Sender: Processing packet 24364 [packets to send 5, broken 4] [20:00:06]ProducePacketName [20:00:06]name=ofd_packets/00024364 [20:00:06]OFD Sender: To server: pG, [20:00:06]CommunicateWithHost lk.salyk.kg:30040 [20:00:06]ConnectInit lk.salyk.kg [20:00:06]Write i2c OK [20:00:06]MH_I2C_Read... [20:00:06]Read from MH i2c: 01 [20:00:06]MH_I2C_Read... [20:00:06]Read from MH i2c: 01 07 00 [20:00:06]MH_I2C_Read... [20:00:06]Read from MH i2c: 01 07 00 00 11 00 00 00 00 00 FF 0F 26 [20:00:06]RasterBufferAndPrint [20:00:06]line Счет N : (3)134885 [20:00:06]line ИНН: 02508201610067 [20:00:06]line Контрольно-Кассовый Чек [20:00:06]line ПРОДАЖА [20:00:06]line Товар: 4700003010070 [20:00:06]line Чай хол Let`s Go! чер персик ПЭТ 1,25л [20:00:06]line 1.000 * 95.00 [20:00:06]line = 95.00 [20:00:06]line НДС 12% НСП 1% [20:00:06]line > о реализуемом товаре [20:00:06]line ИТОГО: 95.00 [20:00:06]line НСП 1% : 0.84 [20:00:06]line НДС 12% : 10.09 [20:00:06]line Наличными: 95.00 [20:00:06]line Безнал.: 0.00 [20:00:06]line Место: АЗС № 85 "Партнер Нефть" [20:00:06]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [20:00:06]line СНО: Общий режим [20:00:06]line Чек 68 21.10.2024 20:00 [20:00:06]line Смена: 461 ФФД: 1.0 [20:00:06]line ЗНМ: 0300000166 [20:00:06]line РНМ: 0000000000098120 [20:00:06]line Версия ККМ: 001 [20:00:06]line ФМ: 0000000000965420 [20:00:06]line ФД: 24364 [20:00:06]line ФПД: 170041721881324 [20:00:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T200007&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24364&fm=170041721881324&tin=02508201610067®Number=0000000000098120&sum=9500 [20:00:06]line 0 [20:00:06]Connected sock=10 [20:00: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 34 32 30 3F 01 00 00 B4 F6 37 01 D7 66 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 44 00 00 00 F4 03 04 00 C7 B2 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2C 5F 00 00 35 04 06 00 9A A6 EC 6E 02 EC 74 E3 99 23 91 9C E4 18 [20:00:06]written 0, free lines is 4095 [20:00:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 0F 4B 47 00 BA 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 34 32 30 10 04 04 00 2C 5F 00 00 F4 03 04 00 6D 5E 16 67 B6 04 01 00 00 AD 2A 3A 1E 51 D8 70 61 [20:00:06]CommunicateWithHost err = 0 [20:00:06]CheckOFDResponse [20:00:06]1017 (14) - 77093643461234 [20:00:06]1041 (16) - 0000000000965420 [20:00:06]1040 (4) - 24364 [20:00:06]1012 (4) - 21.10.2024 14:00 [20:00:06]1206 (1) - 0 [20:00:06]OFD Sender: Remove packet 24364 [20:00:06]ProducePacketName [20:00:06]name=ofd_packets/00024364 [20:00:06]NVStorageDeleteData [20:00:07]Write to MH i2c: 01 00 00 29 11 3A [20:00:07]Write i2c OK [20:00:07]MH_I2C_Read... [20:00:07]Read from MH i2c: 01 [20:00:07]MH_I2C_Read... [20:00:07]Read from MH i2c: 01 07 00 [20:00:07]MH_I2C_Read... [20:00:07]Read from MH i2c: 01 07 00 29 11 00 00 00 00 00 19 0D 67 [20:00:07]RasterBufferAndPrint [20:00:07]line [20:00:07]line [20:00:07]line [20:00:07]line [20:00:07]line [20:00:07]written 0, free lines is 3363 [20:00:07]process_action close_receipt done [20:00:07]requested_data is exist [20:00:07]produce_requested_data [20:00:07]requested_item fm.sn is exist - process it [20:00:07]wFMCommunicate request_size=4 [20:00:07]MH_SAM_APDU [20:00:07]CAPDU: 80 11 00 00 [20:00:07]Write to MH i2c: E2 08 00 30 11 80 11 00 00 00 00 00 00 BB [20:00:07]Write i2c OK [20:00:07]MH_I2C_Read... [20:00:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:00:07]Read from MH i2c: E2 [20:00:07]MH_I2C_Read... [20:00:07]Read from MH i2c: E2 17 00 [20:00:07]MH_I2C_Read... [20:00:07]Read from MH i2c: E2 17 00 30 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 08 [20:00:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:00:07]wFMCommunicate OK [20:00:07]requested_item fd.num is exist - process it [20:00:07]SAM_PROTO_GetFieldsCounters [20:00:07]wFMCommunicate request_size=4 [20:00:07]MH_SAM_APDU [20:00:07]CAPDU: 80 13 00 00 [20:00:07]Write to MH i2c: E2 08 00 31 11 80 13 00 00 00 00 00 00 BE [20:00:07]Write i2c OK [20:00:07]MH_I2C_Read... [20:00:07]Read from MH i2c: E2 [20:00:07]MH_I2C_Read... [20:00:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:00:07]Read from MH i2c: E2 62 00 [20:00:07]MH_I2C_Read... [20:00:07]Read from MH i2c: E2 62 00 31 11 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 2C 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 F9 [20:00: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 2C 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:00:07]wFMCommunicate OK [20:00:07]SAM_PROTO_GetFieldsCounters done [20:00:07]requested_item shift.num is exist - process it [20:00:07]requested_item shift.opened is exist - process it [20:00:07]req_shift_opened [20:00:07]FM_GetShiftState [20:00:07]SAM_PROTO_GetShiftState [20:00:07]wFMCommunicate request_size=4 [20:00:07]MH_SAM_APDU [20:00:07]CAPDU: 80 13 01 00 [20:00:07]Write to MH i2c: E2 08 00 32 11 80 13 01 00 00 00 00 00 C0 [20:00:07]Write i2c OK [20:00:07]MH_I2C_Read... [20:00:07]OFD Sender: No OFD packet to send [20:00:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:00:07]Read from MH i2c: E2 [20:00:07]MH_I2C_Read... [20:00:07]Read from MH i2c: E2 0E 00 [20:00:07]MH_I2C_Read... [20:00:07]Read from MH i2c: E2 0E 00 32 11 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 0A [20:00:07]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [20:00:07]wFMCommunicate OK [20:00:07]SAM_PROTO_GetShiftState done [20:00:07]FM_GetShiftState done [20:00:07]req_shift_opened done [20:00:07]requested_item shift.open_date is exist - process it [20:00:07]req_shift_open_date [20:00:07]req_shift_open_date done [20:00:07]produce_requested_data done [20:00:07]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24364,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [20:00:07]process_action_free close_receipt [20:00:07]json_value_free [20:00:07]json_value_free done [20:00:07]process_json_proto returns [20:00:07]Send response to host [20:00:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24364,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [20:00:07]free response buf [20:00:07]execute_script done [20:00:07]execute_script returns [20:00:07]free content buf [20:00:07]Sock 9.Close socket [20:00:07]Sock 9.Thread stoped [20:00:12]OFD Sender: No OFD packet to send [20:00:17]OFD Sender: No OFD packet to send [20:00:22]OFD Sender: No OFD packet to send [20:00:27]OFD Sender: No OFD packet to send [20:00:32]OFD Sender: No OFD packet to send [20:00:37]OFD Sender: No OFD packet to send [20:00:42]OFD Sender: No OFD packet to send [20:00:47]OFD Sender: No OFD packet to send [20:00:52]OFD Sender: No OFD packet to send [20:00:57]OFD Sender: No OFD packet to send [20:00:58]accept exits with 8 [20:00:58]New connection [20:00:58]New thread 3067084132 created [20:00:58]Thread 3066940772 joined [20:00:58]Waiting for new connection... [20:00:58] Sock 8.Parse request [20:00:58]Sock 8.Check first char [20:00:58]Sock 8.First char is OK [20:00:58]request: POST /json_proto HTTP/1.0 [20:00:58]Method: POST [20:00:58]URL: /json_proto [20:00:58]Method is POST - this is cgi request [20:00:58]url: /json_proto [20:00:58]query_string will be loaded in cgi processing [20:00:58]execute_cgi json_proto POST (null) [20:00:58]execute_cgi path=json_proto method=POST [20:00:58]POST find Content-Length [20:00:58]Host: 172.17.50.4:8080 [20:00:58]Content-Length: 642 [20:00:58]Content-Type: application/json [20:00:58] [20:00:58]POST finish read [20:00:58]Found Content-Length = 642 [20:00:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134886", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:00:58]execute_script... [20:00: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)134886", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:00:58]POST & json_proto [20:00:58]process_json_proto [20:00:58]json parsed OK: [20:00:58]protocol is kg_v1.0 [20:00:58]action value=close_receipt [20:00:58]process_action close_receipt [20:00:58]cmd_close_receipt [20:00:58]MH_GetDate [20:00:58]Write to MH i2c: F0 00 00 33 11 33 [20:00:58]Write i2c OK [20:00:58]MH_I2C_Read... [20:00:58]Read from MH i2c: F0 [20:00:58]MH_I2C_Read... [20:00:58]Read from MH i2c: F0 09 00 [20:00:58]MH_I2C_Read... [20:00:58]Read from MH i2c: F0 09 00 33 11 00 FD B2 16 67 3B 12 16 67 32 [20:00:58]GetLastDocTimeStamp 1729540807 [20:00:58]current date 1729540861 [20:00:58]FM_GetShiftState [20:00:58]SAM_PROTO_GetShiftState [20:00:58]wFMCommunicate request_size=4 [20:00:58]MH_SAM_APDU [20:00:58]CAPDU: 80 13 01 00 [20:00:58]Write to MH i2c: E2 08 00 34 11 80 13 01 00 00 00 00 00 C2 [20:00:58]Write i2c OK [20:00:58]MH_I2C_Read... [20:00:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:00:58]Read from MH i2c: E2 [20:00:58]MH_I2C_Read... [20:00:58]Read from MH i2c: E2 0E 00 [20:00:58]MH_I2C_Read... [20:00:58]Read from MH i2c: E2 0E 00 34 11 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 0C [20:00:58]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [20:00:58]wFMCommunicate OK [20:00:58]SAM_PROTO_GetShiftState done [20:00:58]FM_GetShiftState done [20:00:58]opened in 1729469223 [20:00:58]opened+sec_in_day 1729555623 [20:00:58]quantity*price = 5900 [20:00:58]sum+1 = 5901 [20:00:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 59.00 НСП 1% : 0.52 НДС 12% : 6.26 Наличными: 59.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 69 21.10.2024 20:01 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24365 ФПД: 142853235768725 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T200101&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24365&fm=142853235768725&tin=02508201610067®Number=0000000000098120&sum=5900 0 [20:00:59]StoreToDocumentArchive [20:00:59]shift 461 fd 24365 [20:00:59]save to /storage/0461/doc_00024365 [20:00:59]save last doc name /storage/0461/doc_00024365 to /storage/kkm_last_doc_name [20:00:59]save OK [20:00:59]Clear old archive folders... [20:00:59]ProcessDocumentItem done err = 0, tmpTLVsize=281 [20:00:59]tlvbuf is B6EE1850 [20:00:59]SAM_PROTO_ClearQueue [20:00:59]wFMCommunicate request_size=4 [20:00:59]MH_SAM_APDU [20:00:59]CAPDU: 80 09 00 00 [20:00:59]Write to MH i2c: E2 08 00 41 11 80 09 00 00 00 00 00 00 C4 [20:00:59]Write i2c OK [20:00:59]MH_I2C_Read... [20:00:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:00:59]Read from MH i2c: E2 [20:00:59]MH_I2C_Read... [20:00:59]Read from MH i2c: E2 03 00 [20:00:59]MH_I2C_Read... [20:00:59]Read from MH i2c: E2 03 00 41 11 00 90 00 C6 [20:00:59]RAPDU: 90 00 [20:00:59]wFMCommunicate OK [20:00:59]SAM_PROTO_ClearQueue done [20:00:59]KKMCreateOFDPacket [20:00:59]OFDProtocolAddRootSTLVToBuf [20:00:59]FM_MakeSignedData [20:00:59]FM_MakeSignedData [20:00:59]SAM_PROTO_SignData [20:00:59]wFMCommunicate request_size=4 [20:00:59]MH_SAM_APDU [20:00:59]CAPDU: 80 0D 01 02 [20:00:59]Write to MH i2c: E2 08 00 42 11 80 0D 01 02 00 00 00 00 CC [20:00:59]Write i2c OK [20:00:59]MH_I2C_Read... [20:00:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:00:59]Read from MH i2c: E2 [20:00:59]MH_I2C_Read... [20:00:59]Read from MH i2c: E2 03 00 [20:00:59]MH_I2C_Read... [20:00:59]Read from MH i2c: E2 03 00 42 11 00 90 00 C7 [20:00:59]RAPDU: 90 00 [20:00:59]wFMCommunicate OK [20:00:59]wFMCommunicate request_size=255 [20:00:59]MH_SAM_APDU [20:00:59]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 45 00 00 00 F4 03 04 00 FD B2 16 67 0E 04 04 00 CD 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 32 30 11 04 10 [20:00:59]Write to MH i2c: E2 02 01 43 11 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 45 00 00 00 F4 03 04 00 FD B2 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 00 93 [20:00:59]Write i2c OK [20:00:59]MH_I2C_Read... [20:01:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:01:00]Read from MH i2c: E2 [20:01:00]MH_I2C_Read... [20:01:00]Read from MH i2c: E2 03 00 [20:01:00]MH_I2C_Read... [20:01:00]Read from MH i2c: E2 03 00 43 11 00 90 00 C8 [20:01:00]RAPDU: 90 00 [20:01:00]wFMCommunicate OK [20:01:00]wFMCommunicate request_size=40 [20:01:00]MH_SAM_APDU [20:01:00]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2D 5F 00 00 35 04 06 00 81 EC 9C 5F 7D 95 [20:01:00]Write to MH i2c: E2 2B 00 44 11 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2D 5F 00 00 35 04 06 00 81 EC 9C 5F 7D 95 00 00 8C [20:01:00]Write i2c OK [20:01:00]MH_I2C_Read... [20:01:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:01:00]Read from MH i2c: E2 [20:01:00]MH_I2C_Read... [20:01:00]Read from MH i2c: E2 03 00 [20:01:00]MH_I2C_Read... [20:01:00]Read from MH i2c: E2 03 00 44 11 00 90 00 C9 [20:01:00]RAPDU: 90 00 [20:01:00]wFMCommunicate OK [20:01:00]wFMCommunicate request_size=4 [20:01:00]MH_SAM_APDU [20:01:00]CAPDU: 80 0D 03 02 [20:01:00]Write to MH i2c: E2 08 00 45 11 80 0D 03 02 00 00 00 00 D1 [20:01:00]Write i2c OK [20:01:00]MH_I2C_Read... [20:01:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:01:00]Read from MH i2c: E2 [20:01:00]MH_I2C_Read... [20:01:00]Read from MH i2c: E2 0B 00 [20:01:00]MH_I2C_Read... [20:01:00]Read from MH i2c: E2 0B 00 45 11 00 8B 03 F2 21 36 23 E5 A7 90 00 58 [20:01:00]RAPDU: 8B 03 F2 21 36 23 E5 A7 90 00 [20:01:00]wFMCommunicate OK [20:01:00]SAM_PROTO_SignData done [20:01:00]FM_MakeSignedData done [20:01:00]CreateOFDProtocolMessage [20:01:00]wFMCommunicate request_size=4 [20:01:00]MH_SAM_APDU [20:01:00]CAPDU: 80 11 00 00 [20:01:00]Write to MH i2c: E2 08 00 46 11 80 11 00 00 00 00 00 00 D1 [20:01:00]Write i2c OK [20:01:00]MH_I2C_Read... [20:01:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:01:00]Read from MH i2c: E2 [20:01:00]MH_I2C_Read... [20:01:00]Read from MH i2c: E2 17 00 [20:01:00]MH_I2C_Read... [20:01:00]Read from MH i2c: E2 17 00 46 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 1E [20:01:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:01:00]wFMCommunicate OK [20:01:00]CreateOFDProtocolMessage done [20:01:00]OFDSenderStorePacket 24365 [20:01:00]StoreOFDPacket docnum=24365 [20:01:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2D 01 00 00 9F AA 25 01 43 FA 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 45 00 00 00 F4 03 04 00 FD B2 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2D 5F 00 00 35 04 06 00 81 EC 9C 5F 7D 95 8B 03 F2 21 36 23 E5 A7 [20:01:00]CheckFolder [20:01:00]dirname=/storage/ofd_packets [20:01:00]CheckFolder done [20:01:00]ProducePacketName [20:01:00]name=ofd_packets/00024365 [20:01:00]NVStorageSaveData ofd_packets/00024365 [20:01:00]File name is /storage/ofd_packets/00024365 [20:01:00]Write 331 bytes [20:01:00]NVStorageSaveData done [20:01:00]OFDSenderStorePacket done [20:01:00]KKMCreateOFDPacket done [20:01:00]NVStorageSaveData kkm_last_timestamp [20:01:00]File name is /storage/kkm_last_timestamp [20:01:00]Write 4 bytes [20:01:00]NVStorageSaveData done [20:01:00]ExternCall_PrintAddStr [20:01:00]wPrintStart [20:01:00]Write to MH i2c: 01 00 00 47 11 58 [20:01:00]Write i2c OK [20:01:00]MH_I2C_Read... [20:01:00]Read from MH i2c: 01 [20:01:00]MH_I2C_Read... [20:01:00]Read from MH i2c: 01 07 00 [20:01:00]MH_I2C_Read... [20:01:00]Read from MH i2c: 01 07 00 47 11 00 00 00 00 00 FF 0F 6D [20:01:00]RasterBufferAndPrint [20:01:00]line Счет N : (3)134886 [20:01:00]line ИНН: 02508201610067 [20:01:00]line Контрольно-Кассовый Чек [20:01:00]line ПРОДАЖА [20:01:00]line Товар: 4607065001445 [20:01:00]line Шок батончик Snickers 50,5г [20:01:00]line 1.000 * 59.00 [20:01:00]line = 59.00 [20:01:00]line НДС 12% НСП 1% [20:01:00]line > о реализуемом товаре [20:01:00]line ИТОГО: 59.00 [20:01:00]line НСП 1% : 0.52 [20:01:00]line НДС 12% : 6.26 [20:01:00]line Наличными: 59.00 [20:01:00]line Безнал.: 0.00 [20:01:00]line Место: АЗС № 85 "Партнер Нефть" [20:01:00]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [20:01:00]line СНО: Общий режим [20:01:00]line Чек 69 21.10.2024 20:01 [20:01:00]line Смена: 461 ФФД: 1.0 [20:01:00]line ЗНМ: 0300000166 [20:01:00]line РНМ: 0000000000098120 [20:01:00]line Версия ККМ: 001 [20:01:00]line ФМ: 0000000000965420 [20:01:00]line ФД: 24365 [20:01:00]line ФПД: 142853235768725 [20:01:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T200101&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24365&fm=142853235768725&tin=02508201610067®Number=0000000000098120&sum=5900 [20:01:00]OFD Sender: Processing packet 24365 [packets to send 5, broken 4] [20:01:00]ProducePacketName [20:01:00]name=ofd_packets/00024365 [20:01:00]OFD Sender: To server: pG, [20:01:00]CommunicateWithHost lk.salyk.kg:30040 [20:01:00]ConnectInit lk.salyk.kg [20:01:00]line 0 [20:01:00]written 0, free lines is 4095 [20:01:00]Connected sock=11 [20:01: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 34 32 30 2D 01 00 00 9F AA 25 01 43 FA 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 45 00 00 00 F4 03 04 00 FD B2 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2D 5F 00 00 35 04 06 00 81 EC 9C 5F 7D 95 8B 03 F2 21 36 23 E5 A7 [20:01:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 CA 0A 47 00 8B 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 34 32 30 10 04 04 00 2D 5F 00 00 F4 03 04 00 A3 5E 16 67 B6 04 01 00 00 CF 1A A1 46 DD 54 05 EB [20:01:00]CommunicateWithHost err = 0 [20:01:00]CheckOFDResponse [20:01:00]1017 (14) - 77093643461234 [20:01:00]1041 (16) - 0000000000965420 [20:01:00]1040 (4) - 24365 [20:01:00]1012 (4) - 21.10.2024 14:01 [20:01:00]1206 (1) - 0 [20:01:00]OFD Sender: Remove packet 24365 [20:01:00]ProducePacketName [20:01:00]name=ofd_packets/00024365 [20:01:00]NVStorageDeleteData [20:01:00]Write to MH i2c: 01 00 00 6F 11 80 [20:01:00]Write i2c OK [20:01:00]MH_I2C_Read... [20:01:00]Read from MH i2c: 01 [20:01:00]MH_I2C_Read... [20:01:00]Read from MH i2c: 01 07 00 [20:01:00]MH_I2C_Read... [20:01:00]Read from MH i2c: 01 07 00 6F 11 00 00 00 00 00 23 0D B7 [20:01:00]RasterBufferAndPrint [20:01:00]line [20:01:00]line [20:01:00]line [20:01:00]line [20:01:00]line [20:01:00]written 0, free lines is 3369 [20:01:01]process_action close_receipt done [20:01:01]requested_data is exist [20:01:01]produce_requested_data [20:01:01]requested_item fm.sn is exist - process it [20:01:01]wFMCommunicate request_size=4 [20:01:01]MH_SAM_APDU [20:01:01]CAPDU: 80 11 00 00 [20:01:01]Write to MH i2c: E2 08 00 76 11 80 11 00 00 00 00 00 00 01 [20:01:01]Write i2c OK [20:01:01]MH_I2C_Read... [20:01:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:01:01]Read from MH i2c: E2 [20:01:01]MH_I2C_Read... [20:01:01]Read from MH i2c: E2 17 00 [20:01:01]MH_I2C_Read... [20:01:01]Read from MH i2c: E2 17 00 76 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 4E [20:01:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:01:01]wFMCommunicate OK [20:01:01]requested_item fd.num is exist - process it [20:01:01]SAM_PROTO_GetFieldsCounters [20:01:01]wFMCommunicate request_size=4 [20:01:01]MH_SAM_APDU [20:01:01]CAPDU: 80 13 00 00 [20:01:01]Write to MH i2c: E2 08 00 77 11 80 13 00 00 00 00 00 00 04 [20:01:01]Write i2c OK [20:01:01]MH_I2C_Read... [20:01:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:01:01]Read from MH i2c: E2 [20:01:01]MH_I2C_Read... [20:01:01]Read from MH i2c: E2 62 00 [20:01:01]MH_I2C_Read... [20:01:01]Read from MH i2c: E2 62 00 77 11 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 2D 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 43 [20:01: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 2D 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:01:01]wFMCommunicate OK [20:01:01]SAM_PROTO_GetFieldsCounters done [20:01:01]requested_item shift.num is exist - process it [20:01:01]requested_item shift.opened is exist - process it [20:01:01]req_shift_opened [20:01:01]FM_GetShiftState [20:01:01]SAM_PROTO_GetShiftState [20:01:01]wFMCommunicate request_size=4 [20:01:01]MH_SAM_APDU [20:01:01]CAPDU: 80 13 01 00 [20:01:01]Write to MH i2c: E2 08 00 78 11 80 13 01 00 00 00 00 00 06 [20:01:01]Write i2c OK [20:01:01]MH_I2C_Read... [20:01:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:01:01]Read from MH i2c: E2 [20:01:01]MH_I2C_Read... [20:01:01]Read from MH i2c: E2 0E 00 [20:01:01]MH_I2C_Read... [20:01:01]Read from MH i2c: E2 0E 00 78 11 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 50 [20:01:01]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [20:01:01]wFMCommunicate OK [20:01:01]SAM_PROTO_GetShiftState done [20:01:01]FM_GetShiftState done [20:01:01]req_shift_opened done [20:01:01]requested_item shift.open_date is exist - process it [20:01:01]req_shift_open_date [20:01:01]req_shift_open_date done [20:01:01]produce_requested_data done [20:01:01]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24365,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [20:01:01]process_action_free close_receipt [20:01:01]json_value_free [20:01:01]json_value_free done [20:01:01]process_json_proto returns [20:01:01]Send response to host [20:01:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24365,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [20:01:01]free response buf [20:01:01]execute_script done [20:01:01]execute_script returns [20:01:01]free content buf [20:01:01]Sock 8.Close socket [20:01:01]Sock 8.Thread stoped [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:26]accept exits with 9 [20:01:26]New connection [20:01:26]New thread 3066940772 created [20:01:26]Thread 3067084132 joined [20:01:26]Waiting for new connection... [20:01:26] Sock 9.Parse request [20:01:26]Sock 9.Check first char [20:01:26]Sock 9.First char is OK [20:01:26]request: POST /json_proto HTTP/1.0 [20:01:26]Method: POST [20:01:26]URL: /json_proto [20:01:26]Method is POST - this is cgi request [20:01:26]url: /json_proto [20:01:26]query_string will be loaded in cgi processing [20:01:26]execute_cgi json_proto POST (null) [20:01:26]execute_cgi path=json_proto method=POST [20:01:26]POST find Content-Length [20:01:26]Host: 172.17.50.4:8080 [20:01:26]Content-Length: 673 [20:01:26]Content-Type: application/json [20:01:26] [20:01:26]POST finish read [20:01:26]Found Content-Length = 673 [20:01:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134887", "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" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 7.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:01:26]execute_script... [20:01:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134887", "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" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 7.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:01:26]POST & json_proto [20:01:26]process_json_proto [20:01:26]json parsed OK: [20:01:26]protocol is kg_v1.0 [20:01:26]action value=close_receipt [20:01:26]process_action close_receipt [20:01:26]cmd_close_receipt [20:01:26]MH_GetDate [20:01:26]Write to MH i2c: F0 00 00 79 11 79 [20:01:26]Write i2c OK [20:01:26]MH_I2C_Read... [20:01:26]Read from MH i2c: F0 [20:01:26]MH_I2C_Read... [20:01:26]Read from MH i2c: F0 09 00 [20:01:26]MH_I2C_Read... [20:01:26]Read from MH i2c: F0 09 00 79 11 00 19 B3 16 67 3B 12 16 67 95 [20:01:26]GetLastDocTimeStamp 1729540861 [20:01:26]current date 1729540889 [20:01:26]FM_GetShiftState [20:01:26]SAM_PROTO_GetShiftState [20:01:26]wFMCommunicate request_size=4 [20:01:26]MH_SAM_APDU [20:01:26]CAPDU: 80 13 01 00 [20:01:26]Write to MH i2c: E2 08 00 7A 11 80 13 01 00 00 00 00 00 08 [20:01:26]Write i2c OK [20:01:26]MH_I2C_Read... [20:01:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:01:26]Read from MH i2c: E2 [20:01:26]MH_I2C_Read... [20:01:26]Read from MH i2c: E2 0E 00 [20:01:26]MH_I2C_Read... [20:01:26]Read from MH i2c: E2 0E 00 7A 11 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 52 [20:01:26]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [20:01:26]wFMCommunicate OK [20:01:26]SAM_PROTO_GetShiftState done [20:01:26]FM_GetShiftState done [20:01:26]opened in 1729469223 [20:01:26]opened+sec_in_day 1729555623 [20:01:26]quantity*price = 700 [20:01:26]sum+1 = 701 [20:01:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 7.00 НСП 1% : 0.06 НДС 12% : 0.74 Наличными: 7.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 70 21.10.2024 20:01 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24366 ФПД: 192222731827203 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T200129&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24366&fm=192222731827203&tin=02508201610067®Number=0000000000098120&sum=700 0 [20:01:27]StoreToDocumentArchive [20:01:27]shift 461 fd 24366 [20:01:27]save to /storage/0461/doc_00024366 [20:01:27]save last doc name /storage/0461/doc_00024366 to /storage/kkm_last_doc_name [20:01:27]save OK [20:01:27]Clear old archive folders... [20:01:27]ProcessDocumentItem done err = 0, tmpTLVsize=287 [20:01:27]tlvbuf is 0036AF50 [20:01:27]SAM_PROTO_ClearQueue [20:01:27]wFMCommunicate request_size=4 [20:01:27]MH_SAM_APDU [20:01:27]CAPDU: 80 09 00 00 [20:01:27]Write to MH i2c: E2 08 00 87 11 80 09 00 00 00 00 00 00 0A [20:01:27]Write i2c OK [20:01:27]MH_I2C_Read... [20:01:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:01:27]Read from MH i2c: E2 [20:01:27]MH_I2C_Read... [20:01:27]Read from MH i2c: E2 03 00 [20:01:27]MH_I2C_Read... [20:01:27]Read from MH i2c: E2 03 00 87 11 00 90 00 0C [20:01:27]RAPDU: 90 00 [20:01:27]wFMCommunicate OK [20:01:27]SAM_PROTO_ClearQueue done [20:01:27]KKMCreateOFDPacket [20:01:27]OFDProtocolAddRootSTLVToBuf [20:01:27]FM_MakeSignedData [20:01:27]FM_MakeSignedData [20:01:27]SAM_PROTO_SignData [20:01:27]wFMCommunicate request_size=4 [20:01:27]MH_SAM_APDU [20:01:27]CAPDU: 80 0D 01 02 [20:01:27]Write to MH i2c: E2 08 00 88 11 80 0D 01 02 00 00 00 00 12 [20:01:27]Write i2c OK [20:01:27]MH_I2C_Read... [20:01:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:01:27]Read from MH i2c: E2 [20:01:27]MH_I2C_Read... [20:01:27]Read from MH i2c: E2 03 00 [20:01:27]MH_I2C_Read... [20:01:27]Read from MH i2c: E2 03 00 88 11 00 90 00 0D [20:01:27]RAPDU: 90 00 [20:01:27]wFMCommunicate OK [20:01:27]wFMCommunicate request_size=255 [20:01:27]MH_SAM_APDU [20:01:27]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 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 19 B3 16 67 0E 04 04 00 CD 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 [20:01:27]Write to MH i2c: E2 02 01 89 11 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 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 19 B3 16 67 0E 04 04 00 CD 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 B1 [20:01:27]Write i2c OK [20:01:27]MH_I2C_Read... [20:01:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:01:28]Read from MH i2c: E2 [20:01:28]MH_I2C_Read... [20:01:28]Read from MH i2c: E2 03 00 [20:01:28]MH_I2C_Read... [20:01:28]Read from MH i2c: E2 03 00 89 11 00 90 00 0E [20:01:28]RAPDU: 90 00 [20:01:28]wFMCommunicate OK [20:01:28]wFMCommunicate request_size=46 [20:01:28]MH_SAM_APDU [20:01:28]CAPDU: 80 0D 02 02 29 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2E 5F 00 00 35 04 06 00 AE D3 57 A5 F8 03 [20:01:28]Write to MH i2c: E2 31 00 8A 11 80 0D 02 02 29 00 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2E 5F 00 00 35 04 06 00 AE D3 57 A5 F8 03 00 00 95 [20:01:28]Write i2c OK [20:01:28]MH_I2C_Read... [20:01:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:01:28]Read from MH i2c: E2 [20:01:28]MH_I2C_Read... [20:01:28]Read from MH i2c: E2 03 00 [20:01:28]MH_I2C_Read... [20:01:28]Read from MH i2c: E2 03 00 8A 11 00 90 00 0F [20:01:28]RAPDU: 90 00 [20:01:28]wFMCommunicate OK [20:01:28]wFMCommunicate request_size=4 [20:01:28]MH_SAM_APDU [20:01:28]CAPDU: 80 0D 03 02 [20:01:28]Write to MH i2c: E2 08 00 8B 11 80 0D 03 02 00 00 00 00 17 [20:01:28]Write i2c OK [20:01:28]MH_I2C_Read... [20:01:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:01:28]Read from MH i2c: E2 [20:01:28]MH_I2C_Read... [20:01:28]Read from MH i2c: E2 0B 00 [20:01:28]MH_I2C_Read... [20:01:28]Read from MH i2c: E2 0B 00 8B 11 00 D7 5A 06 53 20 36 2F BB 90 00 E2 [20:01:28]RAPDU: D7 5A 06 53 20 36 2F BB 90 00 [20:01:28]wFMCommunicate OK [20:01:28]SAM_PROTO_SignData done [20:01:28]FM_MakeSignedData done [20:01:28]CreateOFDProtocolMessage [20:01:28]wFMCommunicate request_size=4 [20:01:28]MH_SAM_APDU [20:01:28]CAPDU: 80 11 00 00 [20:01:28]Write to MH i2c: E2 08 00 8C 11 80 11 00 00 00 00 00 00 17 [20:01:28]Write i2c OK [20:01:28]MH_I2C_Read... [20:01:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:01:28]Read from MH i2c: E2 [20:01:28]MH_I2C_Read... [20:01:28]Read from MH i2c: E2 17 00 [20:01:28]MH_I2C_Read... [20:01:28]Read from MH i2c: E2 17 00 8C 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 64 [20:01:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:01:28]wFMCommunicate OK [20:01:28]CreateOFDProtocolMessage done [20:01:28]OFDSenderStorePacket 24366 [20:01:28]StoreOFDPacket docnum=24366 [20:01:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 33 01 00 00 1A 7C 2B 01 84 64 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 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 19 B3 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2E 5F 00 00 35 04 06 00 AE D3 57 A5 F8 03 D7 5A 06 53 20 36 2F BB [20:01:28]CheckFolder [20:01:28]dirname=/storage/ofd_packets [20:01:28]CheckFolder done [20:01:28]ProducePacketName [20:01:28]name=ofd_packets/00024366 [20:01:28]NVStorageSaveData ofd_packets/00024366 [20:01:28]File name is /storage/ofd_packets/00024366 [20:01:28]Write 337 bytes [20:01:28]NVStorageSaveData done [20:01:28]OFDSenderStorePacket done [20:01:28]KKMCreateOFDPacket done [20:01:28]NVStorageSaveData kkm_last_timestamp [20:01:28]File name is /storage/kkm_last_timestamp [20:01:28]Write 4 bytes [20:01:28]NVStorageSaveData done [20:01:28]ExternCall_PrintAddStr [20:01:28]wPrintStart [20:01:28]Write to MH i2c: 01 00 00 8D 11 9E [20:01:28]Write i2c OK [20:01:28]MH_I2C_Read... [20:01:28]Read from MH i2c: 01 [20:01:28]MH_I2C_Read... [20:01:28]Read from MH i2c: 01 07 00 [20:01:28]MH_I2C_Read... [20:01:28]Read from MH i2c: 01 07 00 8D 11 00 00 00 00 00 FF 0F B3 [20:01:28]RasterBufferAndPrint [20:01:28]line Счет N : (3)134887 [20:01:28]line ИНН: 02508201610067 [20:01:28]line Контрольно-Кассовый Чек [20:01:28]line ПРОДАЖА [20:01:28]line Товар: 2000053020015 [20:01:28]line Бумажные стаканы 250мл 1шт [20:01:28]line 1.000 * 7.00 [20:01:28]line = 7.00 [20:01:28]line НДС 12% НСП 1% [20:01:28]line > о реализуемом товаре [20:01:28]line ИТОГО: 7.00 [20:01:28]line НСП 1% : 0.06 [20:01:28]line НДС 12% : 0.74 [20:01:28]line Наличными: 7.00 [20:01:28]line Безнал.: 0.00 [20:01:28]line Место: АЗС № 85 "Партнер Нефть" [20:01:28]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [20:01:28]line СНО: Общий режим [20:01:28]line Чек 70 21.10.2024 20:01 [20:01:28]line Смена: 461 ФФД: 1.0 [20:01:28]line ЗНМ: 0300000166 [20:01:28]line РНМ: 0000000000098120 [20:01:28]line Версия ККМ: 001 [20:01:28]line ФМ: 0000000000965420 [20:01:28]line ФД: 24366 [20:01:28]line ФПД: 192222731827203 [20:01:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T200129&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24366&fm=192222731827203&tin=02508201610067®Number=0000000000098120&sum=700 [20:01:28]line 0 [20:01:28]OFD Sender: Processing packet 24366 [packets to send 5, broken 4] [20:01:28]ProducePacketName [20:01:28]name=ofd_packets/00024366 [20:01:28]OFD Sender: To server: pG, [20:01:28]CommunicateWithHost lk.salyk.kg:30040 [20:01:28]ConnectInit lk.salyk.kg [20:01:28]written 0, free lines is 4095 [20:01:28]Connected sock=10 [20:01: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 34 32 30 33 01 00 00 1A 7C 2B 01 84 64 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 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 19 B3 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2E 5F 00 00 35 04 06 00 AE D3 57 A5 F8 03 D7 5A 06 53 20 36 2F BB [20:01:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 5B AD 47 00 A3 2D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2E 5F 00 00 F4 03 04 00 BF 5E 16 67 B6 04 01 00 00 11 49 D4 90 F5 FB CB 4C [20:01:28]CommunicateWithHost err = 0 [20:01:28]CheckOFDResponse [20:01:28]1017 (14) - 77093643461234 [20:01:28]1041 (16) - 0000000000965420 [20:01:28]1040 (4) - 24366 [20:01:28]1012 (4) - 21.10.2024 14:01 [20:01:28]1206 (1) - 0 [20:01:28]OFD Sender: Remove packet 24366 [20:01:28]ProducePacketName [20:01:28]name=ofd_packets/00024366 [20:01:28]NVStorageDeleteData [20:01:29]Write to MH i2c: 01 00 00 B6 11 C7 [20:01:29]Write i2c OK [20:01:29]MH_I2C_Read... [20:01:29]Read from MH i2c: 01 [20:01:29]MH_I2C_Read... [20:01:29]Read from MH i2c: 01 07 00 [20:01:29]MH_I2C_Read... [20:01:29]Read from MH i2c: 01 07 00 B6 11 00 00 00 00 00 06 0D E1 [20:01:29]RasterBufferAndPrint [20:01:29]line [20:01:29]line [20:01:29]line [20:01:29]line [20:01:29]line [20:01:29]written 0, free lines is 3340 [20:01:29]process_action close_receipt done [20:01:29]requested_data is exist [20:01:29]produce_requested_data [20:01:29]requested_item fm.sn is exist - process it [20:01:29]wFMCommunicate request_size=4 [20:01:29]MH_SAM_APDU [20:01:29]CAPDU: 80 11 00 00 [20:01:29]Write to MH i2c: E2 08 00 BD 11 80 11 00 00 00 00 00 00 48 [20:01:29]Write i2c OK [20:01:29]MH_I2C_Read... [20:01:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:01:29]Read from MH i2c: E2 [20:01:29]MH_I2C_Read... [20:01:29]Read from MH i2c: E2 17 00 [20:01:29]MH_I2C_Read... [20:01:29]Read from MH i2c: E2 17 00 BD 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 95 [20:01:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:01:29]wFMCommunicate OK [20:01:29]requested_item fd.num is exist - process it [20:01:29]SAM_PROTO_GetFieldsCounters [20:01:29]wFMCommunicate request_size=4 [20:01:29]MH_SAM_APDU [20:01:29]CAPDU: 80 13 00 00 [20:01:29]Write to MH i2c: E2 08 00 BE 11 80 13 00 00 00 00 00 00 4B [20:01:29]Write i2c OK [20:01:29]MH_I2C_Read... [20:01:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:01:29]Read from MH i2c: E2 [20:01:29]MH_I2C_Read... [20:01:29]Read from MH i2c: E2 62 00 [20:01:29]MH_I2C_Read... [20:01:29]Read from MH i2c: E2 62 00 BE 11 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 2E 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 8E [20:01: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 2E 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:01:29]wFMCommunicate OK [20:01:29]SAM_PROTO_GetFieldsCounters done [20:01:29]requested_item shift.num is exist - process it [20:01:29]requested_item shift.opened is exist - process it [20:01:29]req_shift_opened [20:01:29]FM_GetShiftState [20:01:29]SAM_PROTO_GetShiftState [20:01:29]wFMCommunicate request_size=4 [20:01:29]MH_SAM_APDU [20:01:29]CAPDU: 80 13 01 00 [20:01:29]Write to MH i2c: E2 08 00 BF 11 80 13 01 00 00 00 00 00 4D [20:01:29]Write i2c OK [20:01:29]MH_I2C_Read... [20:01:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:01:29]Read from MH i2c: E2 [20:01:29]MH_I2C_Read... [20:01:29]Read from MH i2c: E2 0E 00 [20:01:29]MH_I2C_Read... [20:01:29]Read from MH i2c: E2 0E 00 BF 11 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 97 [20:01:29]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [20:01:29]wFMCommunicate OK [20:01:29]SAM_PROTO_GetShiftState done [20:01:29]FM_GetShiftState done [20:01:29]req_shift_opened done [20:01:29]requested_item shift.open_date is exist - process it [20:01:29]req_shift_open_date [20:01:29]req_shift_open_date done [20:01:29]produce_requested_data done [20:01:29]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24366,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [20:01:29]process_action_free close_receipt [20:01:29]json_value_free [20:01:29]json_value_free done [20:01:29]process_json_proto returns [20:01:29]Send response to host [20:01:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24366,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [20:01:29]free response buf [20:01:29]execute_script done [20:01:29]execute_script returns [20:01:29]free content buf [20:01:29]Sock 9.Close socket [20:01:29]Sock 9.Thread stoped [20:01:29]OFD Sender: No OFD packet to send [20:01:34]OFD Sender: No OFD packet to send [20:01:39]OFD Sender: No OFD packet to send [20:01:44]OFD Sender: No OFD packet to send [20:37:43]ConnectInit Can't connect to host [20:37:46]OFD Sender: No OFD packet to send [20:37:46]accept exits with 8 [20:37:46]New connection [20:37:46]New thread 3067084132 created [20:37:46]Thread 3066940772 joined [20:37:46]Waiting for new connection... [20:37:46] Sock 8.Parse request [20:37:46]Sock 8.Check first char [20:37:46]Sock 8.First char is OK [20:37:46]request: POST /json_proto HTTP/1.0 [20:37:46]Method: POST [20:37:46]URL: /json_proto [20:37:46]Method is POST - this is cgi request [20:37:46]url: /json_proto [20:37:46]query_string will be loaded in cgi processing [20:37:46]execute_cgi json_proto POST (null) [20:37:46]execute_cgi path=json_proto method=POST [20:37:46]POST find Content-Length [20:37:46]Host: 172.17.50.4:8080 [20:37:46]Content-Length: 646 [20:37:46]Content-Type: application/json [20:37:46] [20:37:46]POST finish read [20:37:46]Found Content-Length = 646 [20:37:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134888", "tax_sys" : 0, "items" : [ { "code": "4870238424819", "name": "\u041B\u0443\u043A\u043E\u0439\u043B \u0421\u0443\u043F\u0435\u0440 10W40 SG/CD 1\u043B.", "price" : 405.00, "quantity" : 1.000, "sum" : 405.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:37:46]execute_script... [20:37:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134888", "tax_sys" : 0, "items" : [ { "code": "4870238424819", "name": "\u041B\u0443\u043A\u043E\u0439\u043B \u0421\u0443\u043F\u0435\u0440 10W40 SG/CD 1\u043B.", "price" : 405.00, "quantity" : 1.000, "sum" : 405.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:37:46]POST & json_proto [20:37:46]process_json_proto [20:37:46]json parsed OK: [20:37:46]protocol is kg_v1.0 [20:37:46]action value=close_receipt [20:37:46]process_action close_receipt [20:37:46]cmd_close_receipt [20:37:46]MH_GetDate [20:37:46]Write to MH i2c: F0 00 00 C0 11 C0 [20:37:46]Write i2c OK [20:37:46]MH_I2C_Read... [20:37:46]Read from MH i2c: F0 [20:37:46]MH_I2C_Read... [20:37:46]Read from MH i2c: F0 09 00 [20:37:46]MH_I2C_Read... [20:37:46]Read from MH i2c: F0 09 00 C0 11 00 9D BB 16 67 3B 12 16 67 68 [20:37:46]GetLastDocTimeStamp 1729540889 [20:37:46]current date 1729543069 [20:37:46]FM_GetShiftState [20:37:46]SAM_PROTO_GetShiftState [20:37:46]wFMCommunicate request_size=4 [20:37:46]MH_SAM_APDU [20:37:46]CAPDU: 80 13 01 00 [20:37:46]Write to MH i2c: E2 08 00 C1 11 80 13 01 00 00 00 00 00 4F [20:37:46]Write i2c OK [20:37:46]MH_I2C_Read... [20:37:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:37:46]Read from MH i2c: E2 [20:37:46]MH_I2C_Read... [20:37:46]Read from MH i2c: E2 0E 00 [20:37:46]MH_I2C_Read... [20:37:46]Read from MH i2c: E2 0E 00 C1 11 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 99 [20:37:46]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [20:37:46]wFMCommunicate OK [20:37:46]SAM_PROTO_GetShiftState done [20:37:46]FM_GetShiftState done [20:37:46]opened in 1729469223 [20:37:46]opened+sec_in_day 1729555623 [20:37:46]quantity*price = 40500 [20:37:46]sum+1 = 40501 [20:37:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 405.00 НСП 1% : 3.58 НДС 12% : 43.01 Наличными: 405.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 71 21.10.2024 20:37 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24367 ФПД: 122013865944726 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T203749&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24367&fm=122013865944726&tin=02508201610067®Number=0000000000098120&sum=40500 0 [20:37:47]StoreToDocumentArchive [20:37:47]shift 461 fd 24367 [20:37:47]save to /storage/0461/doc_00024367 [20:37:47]save last doc name /storage/0461/doc_00024367 to /storage/kkm_last_doc_name [20:37:47]save OK [20:37:47]Clear old archive folders... [20:37:47]ProcessDocumentItem done err = 0, tmpTLVsize=282 [20:37:47]tlvbuf is B6EE1520 [20:37:47]SAM_PROTO_ClearQueue [20:37:47]wFMCommunicate request_size=4 [20:37:47]MH_SAM_APDU [20:37:47]CAPDU: 80 09 00 00 [20:37:47]Write to MH i2c: E2 08 00 CE 11 80 09 00 00 00 00 00 00 51 [20:37:47]Write i2c OK [20:37:47]MH_I2C_Read... [20:37:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:37:47]Read from MH i2c: E2 [20:37:47]MH_I2C_Read... [20:37:47]Read from MH i2c: E2 03 00 [20:37:47]MH_I2C_Read... [20:37:47]Read from MH i2c: E2 03 00 CE 11 00 90 00 53 [20:37:47]RAPDU: 90 00 [20:37:47]wFMCommunicate OK [20:37:47]SAM_PROTO_ClearQueue done [20:37:47]KKMCreateOFDPacket [20:37:47]OFDProtocolAddRootSTLVToBuf [20:37:47]FM_MakeSignedData [20:37:47]FM_MakeSignedData [20:37:47]SAM_PROTO_SignData [20:37:47]wFMCommunicate request_size=4 [20:37:47]MH_SAM_APDU [20:37:47]CAPDU: 80 0D 01 02 [20:37:47]Write to MH i2c: E2 08 00 CF 11 80 0D 01 02 00 00 00 00 59 [20:37:47]Write i2c OK [20:37:47]MH_I2C_Read... [20:37:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:37:47]Read from MH i2c: E2 [20:37:47]MH_I2C_Read... [20:37:47]Read from MH i2c: E2 03 00 [20:37:47]MH_I2C_Read... [20:37:47]Read from MH i2c: E2 03 00 CF 11 00 90 00 54 [20:37:47]RAPDU: 90 00 [20:37:47]wFMCommunicate OK [20:37:47]wFMCommunicate request_size=255 [20:37:47]MH_SAM_APDU [20:37:47]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 33 38 34 32 34 38 31 39 06 04 28 00 D0 9B D1 83 D0 BA D0 BE D0 B9 D0 BB 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 20 31 30 57 34 30 20 53 47 2F 43 44 20 31 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 9D BB 16 67 0E 04 04 00 CD 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 32 30 11 04 [20:37:47]Write to MH i2c: E2 02 01 D0 11 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 33 38 34 32 34 38 31 39 06 04 28 00 D0 9B D1 83 D0 BA D0 BE D0 B9 D0 BB 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 20 31 30 57 34 30 20 53 47 2F 43 44 20 31 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 9D BB 16 67 0E 04 04 00 CD 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 32 30 11 04 00 00 BF [20:37:47]Write i2c OK [20:37:47]MH_I2C_Read... [20:37:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:37:47]Read from MH i2c: E2 [20:37:47]MH_I2C_Read... [20:37:47]Read from MH i2c: E2 03 00 [20:37:47]MH_I2C_Read... [20:37:47]Read from MH i2c: E2 03 00 D0 11 00 90 00 55 [20:37:47]RAPDU: 90 00 [20:37:47]wFMCommunicate OK [20:37:47]wFMCommunicate request_size=41 [20:37:47]MH_SAM_APDU [20:37:47]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2F 5F 00 00 35 04 06 00 6E F8 91 23 26 96 [20:37:47]Write to MH i2c: E2 2C 00 D1 11 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2F 5F 00 00 35 04 06 00 6E F8 91 23 26 96 00 00 89 [20:37:47]Write i2c OK [20:37:47]MH_I2C_Read... [20:37:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:37:48]Read from MH i2c: E2 [20:37:48]MH_I2C_Read... [20:37:48]Read from MH i2c: E2 03 00 [20:37:48]MH_I2C_Read... [20:37:48]Read from MH i2c: E2 03 00 D1 11 00 90 00 56 [20:37:48]RAPDU: 90 00 [20:37:48]wFMCommunicate OK [20:37:48]wFMCommunicate request_size=4 [20:37:48]MH_SAM_APDU [20:37:48]CAPDU: 80 0D 03 02 [20:37:48]Write to MH i2c: E2 08 00 D2 11 80 0D 03 02 00 00 00 00 5E [20:37:48]Write i2c OK [20:37:48]MH_I2C_Read... [20:37:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:37:48]Read from MH i2c: E2 [20:37:48]MH_I2C_Read... [20:37:48]Read from MH i2c: E2 0B 00 [20:37:48]MH_I2C_Read... [20:37:48]Read from MH i2c: E2 0B 00 D2 11 00 B4 03 FC EF DC AD 09 20 90 00 B3 [20:37:48]RAPDU: B4 03 FC EF DC AD 09 20 90 00 [20:37:48]wFMCommunicate OK [20:37:48]SAM_PROTO_SignData done [20:37:48]FM_MakeSignedData done [20:37:48]CreateOFDProtocolMessage [20:37:48]wFMCommunicate request_size=4 [20:37:48]MH_SAM_APDU [20:37:48]CAPDU: 80 11 00 00 [20:37:48]Write to MH i2c: E2 08 00 D3 11 80 11 00 00 00 00 00 00 5E [20:37:48]Write i2c OK [20:37:48]MH_I2C_Read... [20:37:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:37:48]Read from MH i2c: E2 [20:37:48]MH_I2C_Read... [20:37:48]Read from MH i2c: E2 17 00 [20:37:48]MH_I2C_Read... [20:37:48]Read from MH i2c: E2 17 00 D3 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 AB [20:37:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:37:48]wFMCommunicate OK [20:37:48]CreateOFDProtocolMessage done [20:37:48]OFDSenderStorePacket 24367 [20:37:48]StoreOFDPacket docnum=24367 [20:37:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2E 01 00 00 92 26 26 01 AC 63 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 33 38 34 32 34 38 31 39 06 04 28 00 D0 9B D1 83 D0 BA D0 BE D0 B9 D0 BB 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 20 31 30 57 34 30 20 53 47 2F 43 44 20 31 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 9D BB 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2F 5F 00 00 35 04 06 00 6E F8 91 23 26 96 B4 03 FC EF DC AD 09 20 [20:37:48]CheckFolder [20:37:48]dirname=/storage/ofd_packets [20:37:48]CheckFolder done [20:37:48]ProducePacketName [20:37:48]name=ofd_packets/00024367 [20:37:48]NVStorageSaveData ofd_packets/00024367 [20:37:48]File name is /storage/ofd_packets/00024367 [20:37:48]Write 332 bytes [20:37:48]NVStorageSaveData done [20:37:48]OFDSenderStorePacket done [20:37:48]KKMCreateOFDPacket done [20:37:48]NVStorageSaveData kkm_last_timestamp [20:37:48]File name is /storage/kkm_last_timestamp [20:37:48]Write 4 bytes [20:37:48]NVStorageSaveData done [20:37:48]ExternCall_PrintAddStr [20:37:48]wPrintStart [20:37:48]Write to MH i2c: 01 00 00 D4 11 E5 [20:37:48]Write i2c OK [20:37:48]MH_I2C_Read... [20:37:48]Read from MH i2c: 01 [20:37:48]MH_I2C_Read... [20:37:48]Read from MH i2c: 01 07 00 [20:37:48]MH_I2C_Read... [20:37:48]Read from MH i2c: 01 07 00 D4 11 00 00 00 00 00 FF 0F FA [20:37:48]RasterBufferAndPrint [20:37:48]line Счет N : (3)134888 [20:37:48]line ИНН: 02508201610067 [20:37:48]line Контрольно-Кассовый Чек [20:37:48]line ПРОДАЖА [20:37:48]line Товар: 4870238424819 [20:37:48]line Лукойл Супер 10W40 SG/CD 1л. [20:37:48]line 1.000 * 405.00 [20:37:48]line = 405.00 [20:37:48]line НДС 12% НСП 1% [20:37:48]line > о реализуемом товаре [20:37:48]line ИТОГО: 405.00 [20:37:48]line НСП 1% : 3.58 [20:37:48]line НДС 12% : 43.01 [20:37:48]line Наличными: 405.00 [20:37:48]line Безнал.: 0.00 [20:37:48]line Место: АЗС № 85 "Партнер Нефть" [20:37:48]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [20:37:48]line СНО: Общий режим [20:37:48]line Чек 71 21.10.2024 20:37 [20:37:48]line Смена: 461 ФФД: 1.0 [20:37:48]line ЗНМ: 0300000166 [20:37:48]line РНМ: 0000000000098120 [20:37:48]line Версия ККМ: 001 [20:37:48]line ФМ: 0000000000965420 [20:37:48]line ФД: 24367 [20:37:48]line ФПД: 122013865944726 [20:37:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T203749&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24367&fm=122013865944726&tin=02508201610067®Number=0000000000098120&sum=40500 [20:37:48]line 0 [20:37:48]OFD Sender: Processing packet 24367 [packets to send 5, broken 4] [20:37:48]ProducePacketName [20:37:48]name=ofd_packets/00024367 [20:37:48]OFD Sender: To server: pG, [20:37:48]CommunicateWithHost lk.salyk.kg:30040 [20:37:48]ConnectInit lk.salyk.kg [20:37:48]written 0, free lines is 4095 [20:37:48]Connected sock=10 [20:37: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 34 32 30 2E 01 00 00 92 26 26 01 AC 63 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 33 38 34 32 34 38 31 39 06 04 28 00 D0 9B D1 83 D0 BA D0 BE D0 B9 D0 BB 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 20 31 30 57 34 30 20 53 47 2F 43 44 20 31 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 9D BB 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2F 5F 00 00 35 04 06 00 6E F8 91 23 26 96 B4 03 FC EF DC AD 09 20 [20:37:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 40 86 47 00 25 A5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 2F 5F 00 00 F4 03 04 00 43 67 16 67 B6 04 01 00 00 64 25 28 ED AD 73 D3 83 [20:37:48]CommunicateWithHost err = 0 [20:37:48]CheckOFDResponse [20:37:48]1017 (14) - 77093643461234 [20:37:48]1041 (16) - 0000000000965420 [20:37:48]1040 (4) - 24367 [20:37:48]1012 (4) - 21.10.2024 14:37 [20:37:48]1206 (1) - 0 [20:37:48]OFD Sender: Remove packet 24367 [20:37:48]ProducePacketName [20:37:48]name=ofd_packets/00024367 [20:37:48]NVStorageDeleteData [20:37:48]Write to MH i2c: 01 00 00 FD 11 0E [20:37:48]Write i2c OK [20:37:48]MH_I2C_Read... [20:37:48]Read from MH i2c: 01 [20:37:48]MH_I2C_Read... [20:37:48]Read from MH i2c: 01 07 00 [20:37:48]MH_I2C_Read... [20:37:48]Read from MH i2c: 01 07 00 FD 11 00 00 00 00 00 11 0D 33 [20:37:48]RasterBufferAndPrint [20:37:48]line [20:37:48]line [20:37:48]line [20:37:48]line [20:37:48]line [20:37:48]written 0, free lines is 3354 [20:37:48]process_action close_receipt done [20:37:48]requested_data is exist [20:37:48]produce_requested_data [20:37:48]requested_item fm.sn is exist - process it [20:37:48]wFMCommunicate request_size=4 [20:37:48]MH_SAM_APDU [20:37:48]CAPDU: 80 11 00 00 [20:37:48]Write to MH i2c: E2 08 00 04 12 80 11 00 00 00 00 00 00 90 [20:37:48]Write i2c OK [20:37:48]MH_I2C_Read... [20:37:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:37:49]Read from MH i2c: E2 [20:37:49]MH_I2C_Read... [20:37:49]Read from MH i2c: E2 17 00 [20:37:49]MH_I2C_Read... [20:37:49]Read from MH i2c: E2 17 00 04 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 DD [20:37:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:37:49]wFMCommunicate OK [20:37:49]requested_item fd.num is exist - process it [20:37:49]SAM_PROTO_GetFieldsCounters [20:37:49]wFMCommunicate request_size=4 [20:37:49]MH_SAM_APDU [20:37:49]CAPDU: 80 13 00 00 [20:37:49]Write to MH i2c: E2 08 00 05 12 80 13 00 00 00 00 00 00 93 [20:37:49]Write i2c OK [20:37:49]MH_I2C_Read... [20:37:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:37:49]Read from MH i2c: E2 [20:37:49]MH_I2C_Read... [20:37:49]Read from MH i2c: E2 62 00 [20:37:49]MH_I2C_Read... [20:37:49]Read from MH i2c: E2 62 00 05 12 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 2F 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 DA [20:37: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 2F 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:37:49]wFMCommunicate OK [20:37:49]SAM_PROTO_GetFieldsCounters done [20:37:49]requested_item shift.num is exist - process it [20:37:49]requested_item shift.opened is exist - process it [20:37:49]req_shift_opened [20:37:49]FM_GetShiftState [20:37:49]SAM_PROTO_GetShiftState [20:37:49]wFMCommunicate request_size=4 [20:37:49]MH_SAM_APDU [20:37:49]CAPDU: 80 13 01 00 [20:37:49]Write to MH i2c: E2 08 00 06 12 80 13 01 00 00 00 00 00 95 [20:37:49]Write i2c OK [20:37:49]MH_I2C_Read... [20:37:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:37:49]Read from MH i2c: E2 [20:37:49]MH_I2C_Read... [20:37:49]Read from MH i2c: E2 0E 00 [20:37:49]MH_I2C_Read... [20:37:49]Read from MH i2c: E2 0E 00 06 12 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 DF [20:37:49]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [20:37:49]wFMCommunicate OK [20:37:49]SAM_PROTO_GetShiftState done [20:37:49]FM_GetShiftState done [20:37:49]req_shift_opened done [20:37:49]requested_item shift.open_date is exist - process it [20:37:49]req_shift_open_date [20:37:49]req_shift_open_date done [20:37:49]produce_requested_data done [20:37:49]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24367,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [20:37:49]process_action_free close_receipt [20:37:49]json_value_free [20:37:49]json_value_free done [20:37:49]process_json_proto returns [20:37:49]Send response to host [20:37:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24367,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [20:37:49]free response buf [20:37:49]execute_script done [20:37:49]execute_script returns [20:37:49]free content buf [20:37:49]Sock 8.Close socket [20:37:49]Sock 8.Thread stoped [20:37:49]OFD Sender: No OFD packet to send [20:37:54]OFD Sender: No OFD packet to send [20:37:59]OFD Sender: No OFD packet to send [20:38:04]OFD Sender: No OFD packet to send [20:38:09]OFD Sender: No OFD packet to send [20:38:14]OFD Sender: No OFD packet to send [20:38:19]OFD Sender: No OFD packet to send [20:38:24]OFD Sender: No OFD packet to send [20:38:29]OFD Sender: No OFD packet to send [20:40:19]OFD Sender: No OFD packet to send [20:40:24]OFD Sender: No OFD packet to send [20:40:29]OFD Sender: No OFD packet to send [20:40:34]OFD Sender: No OFD packet to send [20:40:39]OFD Sender: No OFD packet to send [20:40:44]OFD Sender: No OFD packet to send [20:40:49]OFD Sender: No OFD packet to send [20:40:54]OFD Sender: No OFD packet to send [20:40:59]OFD Sender: No OFD packet to send [20:41:04]OFD Sender: No OFD packet to send [20:41:09]OFD Sender: No OFD packet to send [20:41:14]OFD Sender: No OFD packet to send [20:41:19]OFD Sender: No OFD packet to send [20:41:24]OFD Sender: No OFD packet to send [20:41:29]OFD Sender: No OFD packet to send [20:41:34]OFD Sender: No OFD packet to send [20:41:39]OFD Sender: No OFD packet to send [20:41:44]OFD Sender: No OFD packet to send [20:41:49]OFD Sender: No OFD packet to send [20:41:54]OFD Sender: No OFD packet to send [20:41:59]OFD Sender: No OFD packet to send [20:42:04]OFD Sender: No OFD packet to send [20:42:09]OFD Sender: No OFD packet to send [20:42:14]OFD Sender: No OFD packet to send [20:42:19]OFD Sender: No OFD packet to send [20:42:24]OFD Sender: No OFD packet to send [20:42:27]ConnectInit Can't connect to host [20:42:29]OFD Sender: No OFD packet to send [20:42:34]OFD Sender: No OFD packet to send [20:42:39]OFD Sender: No OFD packet to send [20:42:44]OFD Sender: No OFD packet to send [20:42:49]OFD Sender: No OFD packet to send [20:42:54]OFD Sender: No OFD packet to send [20:42:59]OFD Sender: No OFD packet to send [20:43:04]OFD Sender: No OFD packet to send [20:43:09]OFD Sender: No OFD packet to send [20:43:14]OFD Sender: No OFD packet to send [20:43:19]OFD Sender: No OFD packet to send [20:43:24]OFD Sender: No OFD packet to send [20:43:29]OFD Sender: No OFD packet to send [20:43:34]OFD Sender: No OFD packet to send [20:43:39]OFD Sender: No OFD packet to send [20:43:44]OFD Sender: No OFD packet to send [20:43:49]OFD Sender: No OFD packet to send [20:43:54]OFD Sender: No OFD packet to send [20:43:59]OFD Sender: No OFD packet to send [20:44:04]OFD Sender: No OFD packet to send [20:44:09]OFD Sender: No OFD packet to send [20:44:14]OFD Sender: No OFD packet to send [20:44:19]OFD Sender: No OFD packet to send [20:44:24]OFD Sender: No OFD packet to send [20:44:29]OFD Sender: No OFD packet to send [20:44:34]OFD Sender: No OFD packet to send [20:44:39]OFD Sender: No OFD packet to send [20:44:44]OFD Sender: No OFD packet to send [20:44:49]OFD Sender: No OFD packet to send [20:44:54]OFD Sender: No OFD packet to send [20:44:59]OFD Sender: No OFD packet to send [20:45:04]OFD Sender: No OFD packet to send [20:45:09]OFD Sender: No OFD packet to send [20:45:14]OFD Sender: No OFD packet to send [20:45:19]OFD Sender: No OFD packet to send [20:45:24]OFD Sender: No OFD packet to send [20:45:29]OFD Sender: No OFD packet to send [20:45:34]OFD Sender: No OFD packet to send [20:45:39]OFD Sender: No OFD packet to send [20:45:44]OFD Sender: No OFD packet to send [20:45:49]OFD Sender: No OFD packet to send [20:45:54]OFD Sender: No OFD packet to send [20:45:59]OFD Sender: No OFD packet to send [20:46:04]OFD Sender: No OFD packet to send [20:46:09]OFD Sender: No OFD packet to send [20:46:14]OFD Sender: No OFD packet to send [20:46:19]OFD Sender: No OFD packet to send [20:46:24]OFD Sender: No OFD packet to send [20:46:29]OFD Sender: No OFD packet to send [20:46:34]OFD Sender: No OFD packet to send [20:46:39]OFD Sender: No OFD packet to send [20:46:44]OFD Sender: No OFD packet to send [20:46:49]OFD Sender: No OFD packet to send [20:46:54]OFD Sender: No OFD packet to send [20:46:59]OFD Sender: No OFD packet to send [20:47:04]OFD Sender: No OFD packet to send [20:47:09]OFD Sender: No OFD packet to send [20:47:14]OFD Sender: No OFD packet to send [20:47:19]OFD Sender: No OFD packet to send [20:47:24]OFD Sender: No OFD packet to send [20:47:29]OFD Sender: No OFD packet to send [20:47:34]OFD Sender: No OFD packet to send [20:47:39]OFD Sender: No OFD packet to send [20:47:44]OFD Sender: No OFD packet to send [20:47:49]OFD Sender: No OFD packet to send [20:47:54]OFD Sender: No OFD packet to send [20:47:59]OFD Sender: No OFD packet to send [20:48:04]OFD Sender: No OFD packet to send [20:48:09]OFD Sender: No OFD packet to send [20:48:14]OFD Sender: No OFD packet to send [20:48:19]OFD Sender: No OFD packet to send [20:48:24]OFD Sender: No OFD packet to send [20:48:29]OFD Sender: No OFD packet to send [20:48:34]OFD Sender: No OFD packet to send [20:48:39]OFD Sender: No OFD packet to send [20:48:44]OFD Sender: No OFD packet to send [20:48:49]OFD Sender: No OFD packet to send [20:48:54]OFD Sender: No OFD packet to send [20:48:59]OFD Sender: No OFD packet to send [20:49:04]OFD Sender: No OFD packet to send [20:49:09]OFD Sender: No OFD packet to send [20:49:14]OFD Sender: No OFD packet to send [20:49:19]OFD Sender: No OFD packet to send [20:49:24]OFD Sender: No OFD packet to send [20:49:29]OFD Sender: No OFD packet to send [20:49:34]OFD Sender: No OFD packet to send [20:49:39]OFD Sender: No OFD packet to send [20:49:44]OFD Sender: No OFD packet to send [20:49:49]OFD Sender: No OFD packet to send [20:49:54]OFD Sender: No OFD packet to send [20:49:59]OFD Sender: No OFD packet to send [20:50:04]OFD Sender: No OFD packet to send [20:50:09]OFD Sender: No OFD packet to send [20:50:14]OFD Sender: No OFD packet to send [20:50:19]OFD Sender: No OFD packet to send [20:50:24]OFD Sender: No OFD packet to send [20:50:29]OFD Sender: No OFD packet to send [20:50:34]OFD Sender: No OFD packet to send [20:50:39]OFD Sender: No OFD packet to send [20:50:44]OFD Sender: No OFD packet to send [20:50:49]OFD Sender: No OFD packet to send [20:50:54]OFD Sender: No OFD packet to send [20:50:59]OFD Sender: No OFD packet to send [20:51:04]OFD Sender: No OFD packet to send [20:51:09]OFD Sender: No OFD packet to send [20:51:14]OFD Sender: No OFD packet to send [20:51:19]OFD Sender: No OFD packet to send [20:51:24]OFD Sender: No OFD packet to send [20:51:29]OFD Sender: No OFD packet to send [20:51:34]OFD Sender: No OFD packet to send [20:51:39]OFD Sender: No OFD packet to send [20:51:44]OFD Sender: No OFD packet to send [20:51:49]OFD Sender: No OFD packet to send [20:51:54]OFD Sender: No OFD packet to send [20:51:59]OFD Sender: No OFD packet to send [20:52:04]OFD Sender: No OFD packet to send [20:52:09]OFD Sender: No OFD packet to send [20:52:14]OFD Sender: No OFD packet to send [20:52:17]accept exits with 9 [20:52:17]New connection [20:52:17]New thread 3066940772 created [20:52:17]Thread 3067084132 joined [20:52:17]Waiting for new connection... [20:52:17] Sock 9.Parse request [20:52:17]Sock 9.Check first char [20:52:17]Sock 9.First char is OK [20:52:17]request: POST /json_proto HTTP/1.0 [20:52:17]Method: POST [20:52:17]URL: /json_proto [20:52:17]Method is POST - this is cgi request [20:52:17]url: /json_proto [20:52:17]query_string will be loaded in cgi processing [20:52:17]execute_cgi json_proto POST (null) [20:52:17]execute_cgi path=json_proto method=POST [20:52:17]POST find Content-Length [20:52:17]Host: 172.17.50.4:8080 [20:52:17]Content-Length: 623 [20:52:17]Content-Type: application/json [20:52:17] [20:52:17]POST finish read [20:52:17]Found Content-Length = 623 [20:52:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134889", "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" ] } } [20:52:17]execute_script... [20:52:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134889", "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" ] } } [20:52:17]POST & json_proto [20:52:17]process_json_proto [20:52:17]json parsed OK: [20:52:17]protocol is kg_v1.0 [20:52:17]action value=close_receipt [20:52:17]process_action close_receipt [20:52:17]cmd_close_receipt [20:52:17]MH_GetDate [20:52:17]Write to MH i2c: F0 00 00 07 12 08 [20:52:17]Write i2c OK [20:52:17]MH_I2C_Read... [20:52:17]Read from MH i2c: F0 [20:52:17]MH_I2C_Read... [20:52:17]Read from MH i2c: F0 09 00 [20:52:17]MH_I2C_Read... [20:52:17]Read from MH i2c: F0 09 00 07 12 00 04 BF 16 67 3B 12 16 67 1B [20:52:17]GetLastDocTimeStamp 1729543069 [20:52:17]current date 1729543940 [20:52:17]FM_GetShiftState [20:52:17]SAM_PROTO_GetShiftState [20:52:17]wFMCommunicate request_size=4 [20:52:17]MH_SAM_APDU [20:52:17]CAPDU: 80 13 01 00 [20:52:17]Write to MH i2c: E2 08 00 08 12 80 13 01 00 00 00 00 00 97 [20:52:17]Write i2c OK [20:52:17]MH_I2C_Read... [20:52:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:52:17]Read from MH i2c: E2 [20:52:17]MH_I2C_Read... [20:52:17]Read from MH i2c: E2 0E 00 [20:52:17]MH_I2C_Read... [20:52:17]Read from MH i2c: E2 0E 00 08 12 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 E1 [20:52:17]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [20:52:17]wFMCommunicate OK [20:52:17]SAM_PROTO_GetShiftState done [20:52:17]FM_GetShiftState done [20:52:17]opened in 1729469223 [20:52:17]opened+sec_in_day 1729555623 [20:52:17]quantity*price = 14400 [20:52:17]sum+1 = 14401 [20:52:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 72 21.10.2024 20:52 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24368 ФПД: 164400857547180 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T205220&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24368&fm=164400857547180&tin=02508201610067®Number=0000000000098120&sum=14400 0 [20:52:18]StoreToDocumentArchive [20:52:18]shift 461 fd 24368 [20:52:18]save to /storage/0461/doc_00024368 [20:52:18]save last doc name /storage/0461/doc_00024368 to /storage/kkm_last_doc_name [20:52:18]save OK [20:52:18]Clear old archive folders... [20:52:18]ProcessDocumentItem done err = 0, tmpTLVsize=275 [20:52:18]tlvbuf is 0036AEE0 [20:52:18]SAM_PROTO_ClearQueue [20:52:18]wFMCommunicate request_size=4 [20:52:18]MH_SAM_APDU [20:52:18]CAPDU: 80 09 00 00 [20:52:18]Write to MH i2c: E2 08 00 15 12 80 09 00 00 00 00 00 00 99 [20:52:18]Write i2c OK [20:52:18]MH_I2C_Read... [20:52:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:52:18]Read from MH i2c: E2 [20:52:18]MH_I2C_Read... [20:52:18]Read from MH i2c: E2 03 00 [20:52:18]MH_I2C_Read... [20:52:18]Read from MH i2c: E2 03 00 15 12 00 90 00 9B [20:52:18]RAPDU: 90 00 [20:52:18]wFMCommunicate OK [20:52:18]SAM_PROTO_ClearQueue done [20:52:18]KKMCreateOFDPacket [20:52:18]OFDProtocolAddRootSTLVToBuf [20:52:18]FM_MakeSignedData [20:52:18]FM_MakeSignedData [20:52:18]SAM_PROTO_SignData [20:52:18]wFMCommunicate request_size=4 [20:52:18]MH_SAM_APDU [20:52:18]CAPDU: 80 0D 01 02 [20:52:18]Write to MH i2c: E2 08 00 16 12 80 0D 01 02 00 00 00 00 A1 [20:52:18]Write i2c OK [20:52:18]MH_I2C_Read... [20:52:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:52:18]Read from MH i2c: E2 [20:52:18]MH_I2C_Read... [20:52:18]Read from MH i2c: E2 03 00 [20:52:18]MH_I2C_Read... [20:52:18]Read from MH i2c: E2 03 00 16 12 00 90 00 9C [20:52:18]RAPDU: 90 00 [20:52:18]wFMCommunicate OK [20:52:18]wFMCommunicate request_size=255 [20:52:18]MH_SAM_APDU [20:52:18]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 48 00 00 00 F4 03 04 00 04 BF 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 [20:52:18]Write to MH i2c: E2 02 01 17 12 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 48 00 00 00 F4 03 04 00 04 BF 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 00 00 F7 [20:52:18]Write i2c OK [20:52:18]MH_I2C_Read... [20:52:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:52:18]Read from MH i2c: E2 [20:52:18]MH_I2C_Read... [20:52:18]Read from MH i2c: E2 03 00 [20:52:18]MH_I2C_Read... [20:52:18]Read from MH i2c: E2 03 00 17 12 00 90 00 9D [20:52:18]RAPDU: 90 00 [20:52:18]wFMCommunicate OK [20:52:18]wFMCommunicate request_size=34 [20:52:18]MH_SAM_APDU [20:52:18]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 30 5F 00 00 35 04 06 00 95 85 8E B7 01 AC [20:52:18]Write to MH i2c: E2 25 00 18 12 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 30 5F 00 00 35 04 06 00 95 85 8E B7 01 AC 00 00 FA [20:52:18]Write i2c OK [20:52:18]MH_I2C_Read... [20:52:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:52:18]Read from MH i2c: E2 [20:52:18]MH_I2C_Read... [20:52:18]Read from MH i2c: E2 03 00 [20:52:18]MH_I2C_Read... [20:52:18]Read from MH i2c: E2 03 00 18 12 00 90 00 9E [20:52:18]RAPDU: 90 00 [20:52:18]wFMCommunicate OK [20:52:18]wFMCommunicate request_size=4 [20:52:18]MH_SAM_APDU [20:52:18]CAPDU: 80 0D 03 02 [20:52:18]Write to MH i2c: E2 08 00 19 12 80 0D 03 02 00 00 00 00 A6 [20:52:18]Write i2c OK [20:52:18]MH_I2C_Read... [20:52:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:52:19]Read from MH i2c: E2 [20:52:19]MH_I2C_Read... [20:52:19]Read from MH i2c: E2 0B 00 [20:52:19]MH_I2C_Read... [20:52:19]Read from MH i2c: E2 0B 00 19 12 00 16 81 F3 77 CB C3 6B 14 90 00 B5 [20:52:19]RAPDU: 16 81 F3 77 CB C3 6B 14 90 00 [20:52:19]wFMCommunicate OK [20:52:19]SAM_PROTO_SignData done [20:52:19]FM_MakeSignedData done [20:52:19]CreateOFDProtocolMessage [20:52:19]wFMCommunicate request_size=4 [20:52:19]MH_SAM_APDU [20:52:19]CAPDU: 80 11 00 00 [20:52:19]Write to MH i2c: E2 08 00 1A 12 80 11 00 00 00 00 00 00 A6 [20:52:19]Write i2c OK [20:52:19]MH_I2C_Read... [20:52:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:52:19]Read from MH i2c: E2 [20:52:19]MH_I2C_Read... [20:52:19]Read from MH i2c: E2 17 00 [20:52:19]MH_I2C_Read... [20:52:19]Read from MH i2c: E2 17 00 1A 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 F3 [20:52:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:52:19]wFMCommunicate OK [20:52:19]CreateOFDProtocolMessage done [20:52:19]OFDSenderStorePacket 24368 [20:52:19]StoreOFDPacket docnum=24368 [20:52:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 27 01 00 00 9A 44 1F 01 4F 9A 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 48 00 00 00 F4 03 04 00 04 BF 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 30 5F 00 00 35 04 06 00 95 85 8E B7 01 AC 16 81 F3 77 CB C3 6B 14 [20:52:19]CheckFolder [20:52:19]dirname=/storage/ofd_packets [20:52:19]CheckFolder done [20:52:19]ProducePacketName [20:52:19]name=ofd_packets/00024368 [20:52:19]NVStorageSaveData ofd_packets/00024368 [20:52:19]File name is /storage/ofd_packets/00024368 [20:52:19]Write 325 bytes [20:52:19]NVStorageSaveData done [20:52:19]OFDSenderStorePacket done [20:52:19]KKMCreateOFDPacket done [20:52:19]NVStorageSaveData kkm_last_timestamp [20:52:19]File name is /storage/kkm_last_timestamp [20:52:19]Write 4 bytes [20:52:19]NVStorageSaveData done [20:52:19]ExternCall_PrintAddStr [20:52:19]wPrintStart [20:52:19]Write to MH i2c: 01 00 00 1B 12 2D [20:52:19]Write i2c OK [20:52:19]MH_I2C_Read... [20:52:19]Read from MH i2c: 01 [20:52:19]MH_I2C_Read... [20:52:19]Read from MH i2c: 01 07 00 [20:52:19]MH_I2C_Read... [20:52:19]Read from MH i2c: 01 07 00 1B 12 00 00 00 00 00 FF 0F 42 [20:52:19]RasterBufferAndPrint [20:52:19]line Счет N : (3)134889 [20:52:19]line ИНН: 02508201610067 [20:52:19]line Контрольно-Кассовый Чек [20:52:19]line ПРОДАЖА [20:52:19]line Товар: 48743587 [20:52:19]line Сигареты Winston XStyle Silver [20:52:19]line 1.000 * 144.00 [20:52:19]line = 144.00 [20:52:19]line НДС 12% НСП 1% [20:52:19]line > о реализуемом товаре [20:52:19]line ИТОГО: 144.00 [20:52:19]line НСП 1% : 1.27 [20:52:19]line НДС 12% : 15.29 [20:52:19]line Наличными: 144.00 [20:52:19]line Безнал.: 0.00 [20:52:19]line Место: АЗС № 85 "Партнер Нефть" [20:52:19]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [20:52:19]line СНО: Общий режим [20:52:19]line Чек 72 21.10.2024 20:52 [20:52:19]line Смена: 461 ФФД: 1.0 [20:52:19]line ЗНМ: 0300000166 [20:52:19]line РНМ: 0000000000098120 [20:52:19]line Версия ККМ: 001 [20:52:19]line ФМ: 0000000000965420 [20:52:19]line ФД: 24368 [20:52:19]line ФПД: 164400857547180 [20:52:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T205220&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24368&fm=164400857547180&tin=02508201610067®Number=0000000000098120&sum=14400 [20:52:19]line 0 [20:52:19]OFD Sender: Processing packet 24368 [packets to send 5, broken 4] [20:52:19]ProducePacketName [20:52:19]name=ofd_packets/00024368 [20:52:19]OFD Sender: To server: pG, [20:52:19]CommunicateWithHost lk.salyk.kg:30040 [20:52:19]ConnectInit lk.salyk.kg [20:52:19]written 0, free lines is 4095 [20:52:19]Connected sock=10 [20:52: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 34 32 30 27 01 00 00 9A 44 1F 01 4F 9A 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 48 00 00 00 F4 03 04 00 04 BF 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 30 5F 00 00 35 04 06 00 95 85 8E B7 01 AC 16 81 F3 77 CB C3 6B 14 [20:52:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 52 4C 47 00 10 7F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 34 32 30 10 04 04 00 30 5F 00 00 F4 03 04 00 AA 6A 16 67 B6 04 01 00 00 A3 BB A8 41 80 0F 03 FF [20:52:19]CommunicateWithHost err = 0 [20:52:19]CheckOFDResponse [20:52:19]1017 (14) - 77093643461234 [20:52:19]1041 (16) - 0000000000965420 [20:52:19]1040 (4) - 24368 [20:52:19]1012 (4) - 21.10.2024 14:52 [20:52:19]1206 (1) - 0 [20:52:19]OFD Sender: Remove packet 24368 [20:52:19]ProducePacketName [20:52:19]name=ofd_packets/00024368 [20:52:19]NVStorageDeleteData [20:52:19]Write to MH i2c: 01 00 00 44 12 56 [20:52:19]Write i2c OK [20:52:19]MH_I2C_Read... [20:52:19]Read from MH i2c: 01 [20:52:19]MH_I2C_Read... [20:52:19]Read from MH i2c: 01 07 00 [20:52:19]MH_I2C_Read... [20:52:19]Read from MH i2c: 01 07 00 44 12 00 00 00 00 00 07 0D 71 [20:52:19]RasterBufferAndPrint [20:52:19]line [20:52:19]line [20:52:19]line [20:52:19]line [20:52:19]line [20:52:19]written 0, free lines is 3341 [20:52:19]process_action close_receipt done [20:52:19]requested_data is exist [20:52:19]produce_requested_data [20:52:19]requested_item fm.sn is exist - process it [20:52:19]wFMCommunicate request_size=4 [20:52:19]MH_SAM_APDU [20:52:19]CAPDU: 80 11 00 00 [20:52:19]Write to MH i2c: E2 08 00 4B 12 80 11 00 00 00 00 00 00 D7 [20:52:19]Write i2c OK [20:52:19]MH_I2C_Read... [20:52:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:52:19]Read from MH i2c: E2 [20:52:19]MH_I2C_Read... [20:52:19]Read from MH i2c: E2 17 00 [20:52:19]MH_I2C_Read... [20:52:19]Read from MH i2c: E2 17 00 4B 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 24 [20:52:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:52:19]wFMCommunicate OK [20:52:19]requested_item fd.num is exist - process it [20:52:19]SAM_PROTO_GetFieldsCounters [20:52:19]wFMCommunicate request_size=4 [20:52:19]MH_SAM_APDU [20:52:19]CAPDU: 80 13 00 00 [20:52:19]Write to MH i2c: E2 08 00 4C 12 80 13 00 00 00 00 00 00 DA [20:52:19]Write i2c OK [20:52:19]MH_I2C_Read... [20:52:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:52:20]Read from MH i2c: E2 [20:52:20]MH_I2C_Read... [20:52:20]Read from MH i2c: E2 62 00 [20:52:20]MH_I2C_Read... [20:52:20]Read from MH i2c: E2 62 00 4C 12 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 30 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 25 [20:52: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 30 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:52:20]wFMCommunicate OK [20:52:20]SAM_PROTO_GetFieldsCounters done [20:52:20]requested_item shift.num is exist - process it [20:52:20]requested_item shift.opened is exist - process it [20:52:20]req_shift_opened [20:52:20]FM_GetShiftState [20:52:20]SAM_PROTO_GetShiftState [20:52:20]wFMCommunicate request_size=4 [20:52:20]MH_SAM_APDU [20:52:20]CAPDU: 80 13 01 00 [20:52:20]Write to MH i2c: E2 08 00 4D 12 80 13 01 00 00 00 00 00 DC [20:52:20]Write i2c OK [20:52:20]MH_I2C_Read... [20:52:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:52:20]Read from MH i2c: E2 [20:52:20]MH_I2C_Read... [20:52:20]Read from MH i2c: E2 0E 00 [20:52:20]MH_I2C_Read... [20:52:20]Read from MH i2c: E2 0E 00 4D 12 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 26 [20:52:20]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [20:52:20]wFMCommunicate OK [20:52:20]SAM_PROTO_GetShiftState done [20:52:20]FM_GetShiftState done [20:52:20]req_shift_opened done [20:52:20]requested_item shift.open_date is exist - process it [20:52:20]req_shift_open_date [20:52:20]req_shift_open_date done [20:52:20]produce_requested_data done [20:52:20]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24368,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [20:52:20]process_action_free close_receipt [20:52:20]json_value_free [20:52:20]json_value_free done [20:52:20]process_json_proto returns [20:52:20]Send response to host [20:52:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24368,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [20:52:20]free response buf [20:52:20]execute_script done [20:52:20]execute_script returns [20:52:20]free content buf [20:52:20]Sock 9.Close socket [20:52:20]Sock 9.Thread stoped [20:52:20]OFD Sender: No OFD packet to send [20:52:25]OFD Sender: No OFD packet to send [20:52:30]OFD Sender: No OFD packet to send [20:52:35]OFD Sender: No OFD packet to send [20:52:40]OFD Sender: No OFD packet to send [20:52:45]OFD Sender: No OFD packet to send [20:52:50]OFD Sender: No OFD packet to send [20:52:55]OFD Sender: No OFD packet to send [20:53:00]OFD Sender: No OFD packet to send [20:53:05]OFD Sender: No OFD packet to send [20:53:10]OFD Sender: No OFD packet to send [20:53:15]OFD Sender: No OFD packet to send [20:53:20]OFD Sender: No OFD packet to send [20:53:25]OFD Sender: No OFD packet to send [20:53:30]OFD Sender: No OFD packet to send [20:53:35]OFD Sender: No OFD packet to send [20:53:40]OFD Sender: No OFD packet to send [20:53:45]OFD Sender: No OFD packet to send [20:53:50]OFD Sender: No OFD packet to send [20:53:55]OFD Sender: No OFD packet to send [20:54:00]OFD Sender: No OFD packet to send [20:54:05]OFD Sender: No OFD packet to send [20:54:10]OFD Sender: No OFD packet to send [20:54:15]OFD Sender: No OFD packet to send [20:54:20]OFD Sender: No OFD packet to send [20:54:25]OFD Sender: No OFD packet to send [20:54:30]OFD Sender: No OFD packet to send [20:54:35]OFD Sender: No OFD packet to send [20:54:40]OFD Sender: No OFD packet to send [20:54:45]OFD Sender: No OFD packet to send [20:54:50]OFD Sender: No OFD packet to send [20:54:55]OFD Sender: No OFD packet to send [20:55:00]OFD Sender: No OFD packet to send [20:55:05]OFD Sender: No OFD packet to send [20:55:10]OFD Sender: No OFD packet to send [20:55:15]OFD Sender: No OFD packet to send [20:55:20]OFD Sender: No OFD packet to send [20:55:25]OFD Sender: No OFD packet to send [20:55:30]OFD Sender: No OFD packet to send [20:55:35]OFD Sender: No OFD packet to send [20:55:40]OFD Sender: No OFD packet to send [20:55:45]OFD Sender: No OFD packet to send [20:55:50]OFD Sender: No OFD packet to send [20:55:55]OFD Sender: No OFD packet to send [20:56:00]OFD Sender: No OFD packet to send [20:56:05]OFD Sender: No OFD packet to send [20:56:10]OFD Sender: No OFD packet to send [20:56:15]OFD Sender: No OFD packet to send [20:56:20]OFD Sender: No OFD packet to send [20:56:25]OFD Sender: No OFD packet to send [20:56:30]OFD Sender: No OFD packet to send [20:56:35]OFD Sender: No OFD packet to send [20:56:40]OFD Sender: No OFD packet to send [20:56:45]OFD Sender: No OFD packet to send [20:56:50]OFD Sender: No OFD packet to send [20:56:55]OFD Sender: No OFD packet to send [20:57:00]OFD Sender: No OFD packet to send [20:57:05]OFD Sender: No OFD packet to send [20:57:10]OFD Sender: No OFD packet to send [20:57:15]OFD Sender: No OFD packet to send [20:57:20]OFD Sender: No OFD packet to send [20:57:25]OFD Sender: No OFD packet to send [20:57:30]OFD Sender: No OFD packet to send [20:57:35]OFD Sender: No OFD packet to send [20:57:40]OFD Sender: No OFD packet to send [20:57:45]OFD Sender: No OFD packet to send [20:57:50]OFD Sender: No OFD packet to send [20:57:55]OFD Sender: No OFD packet to send [20:58:00]OFD Sender: No OFD packet to send [20:58:05]OFD Sender: No OFD packet to send [20:58:10]OFD Sender: No OFD packet to send [20:58:15]OFD Sender: No OFD packet to send [20:58:20]OFD Sender: No OFD packet to send [20:58:25]OFD Sender: No OFD packet to send [20:58:30]OFD Sender: No OFD packet to send [20:58:35]OFD Sender: No OFD packet to send [20:58:40]OFD Sender: No OFD packet to send [20:58:45]OFD Sender: No OFD packet to send [20:58:50]OFD Sender: No OFD packet to send [20:58:55]OFD Sender: No OFD packet to send [20:59:00]OFD Sender: No OFD packet to send [20:59:05]OFD Sender: No OFD packet to send [20:59:10]OFD Sender: No OFD packet to send [20:59:15]OFD Sender: No OFD packet to send [20:59:20]OFD Sender: No OFD packet to send [20:59:25]OFD Sender: No OFD packet to send [20:59:30]OFD Sender: No OFD packet to send [20:59:35]OFD Sender: No OFD packet to send [20:59:40]OFD Sender: No OFD packet to send [20:59:45]OFD Sender: No OFD packet to send [20:59:50]OFD Sender: No OFD packet to send [20:59:55]OFD Sender: No OFD packet to send [21:00:00]OFD Sender: No OFD packet to send [21:00:05]OFD Sender: No OFD packet to send [21:00:10]OFD Sender: No OFD packet to send [21:00:15]OFD Sender: No OFD packet to send [21:00:20]OFD Sender: No OFD packet to send [21:00:25]OFD Sender: No OFD packet to send [21:00:30]OFD Sender: No OFD packet to send [21:00:35]OFD Sender: No OFD packet to send [21:00:40]OFD Sender: No OFD packet to send [21:00:45]OFD Sender: No OFD packet to send [21:00:50]OFD Sender: No OFD packet to send [21:00:55]OFD Sender: No OFD packet to send [21:01:00]OFD Sender: No OFD packet to send [21:01:05]OFD Sender: No OFD packet to send [21:01:10]OFD Sender: No OFD packet to send [21:01:15]OFD Sender: No OFD packet to send [21:01:20]OFD Sender: No OFD packet to send [21:01:25]OFD Sender: No OFD packet to send [21:01:30]OFD Sender: No OFD packet to send [21:01:35]OFD Sender: No OFD packet to send [21:01:40]OFD Sender: No OFD packet to send [21:01:45]OFD Sender: No OFD packet to send [21:01:50]OFD Sender: No OFD packet to send [21:01:55]OFD Sender: No OFD packet to send [21:02:00]OFD Sender: No OFD packet to send [21:02:05]OFD Sender: No OFD packet to send [21:02:10]OFD Sender: No OFD packet to send [21:02:14]accept exits with 8 [21:02:14]New connection [21:02:14]New thread 3067084132 created [21:02:14]Thread 3066940772 joined [21:02:14]Waiting for new connection... [21:02:14] Sock 8.Parse request [21:02:14]Sock 8.Check first char [21:02:14]Sock 8.First char is OK [21:02:14]request: POST /json_proto HTTP/1.0 [21:02:14]Method: POST [21:02:14]URL: /json_proto [21:02:14]Method is POST - this is cgi request [21:02:14]url: /json_proto [21:02:14]query_string will be loaded in cgi processing [21:02:14]execute_cgi json_proto POST (null) [21:02:14]execute_cgi path=json_proto method=POST [21:02:14]POST find Content-Length [21:02:14]Host: 172.17.50.4:8080 [21:02:14]Content-Length: 766 [21:02:14]Content-Type: application/json [21:02:14] [21:02:14]POST finish read [21:02:14]Found Content-Length = 766 [21:02:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134890", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.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" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:02:14]execute_script... [21:02: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)134890", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.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" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:02:14]POST & json_proto [21:02:14]process_json_proto [21:02:14]json parsed OK: [21:02:14]protocol is kg_v1.0 [21:02:14]action value=close_receipt [21:02:14]process_action close_receipt [21:02:14]cmd_close_receipt [21:02:14]MH_GetDate [21:02:14]Write to MH i2c: F0 00 00 4E 12 4F [21:02:14]Write i2c OK [21:02:14]MH_I2C_Read... [21:02:14]Read from MH i2c: F0 [21:02:14]MH_I2C_Read... [21:02:14]Read from MH i2c: F0 09 00 [21:02:14]MH_I2C_Read... [21:02:14]Read from MH i2c: F0 09 00 4E 12 00 59 C1 16 67 3B 12 16 67 B9 [21:02:14]GetLastDocTimeStamp 1729543940 [21:02:14]current date 1729544537 [21:02:14]FM_GetShiftState [21:02:14]SAM_PROTO_GetShiftState [21:02:14]wFMCommunicate request_size=4 [21:02:14]MH_SAM_APDU [21:02:14]CAPDU: 80 13 01 00 [21:02:14]Write to MH i2c: E2 08 00 4F 12 80 13 01 00 00 00 00 00 DE [21:02:14]Write i2c OK [21:02:14]MH_I2C_Read... [21:02:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:02:14]Read from MH i2c: E2 [21:02:14]MH_I2C_Read... [21:02:14]Read from MH i2c: E2 0E 00 [21:02:14]MH_I2C_Read... [21:02:14]Read from MH i2c: E2 0E 00 4F 12 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 28 [21:02:14]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [21:02:14]wFMCommunicate OK [21:02:14]SAM_PROTO_GetShiftState done [21:02:14]FM_GetShiftState done [21:02:14]opened in 1729469223 [21:02:14]opened+sec_in_day 1729555623 [21:02:14]quantity*price = 12500 [21:02:14]sum+1 = 12501 [21:02:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 0.00 Безнал.: 125.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 73 21.10.2024 21:02 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24369 ФПД: 248710055402627 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T210217&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24369&fm=248710055402627&tin=02508201610067®Number=0000000000098120&sum=12500 0 [21:02:15]StoreToDocumentArchive [21:02:15]shift 461 fd 24369 [21:02:15]save to /storage/0461/doc_00024369 [21:02:15]save last doc name /storage/0461/doc_00024369 to /storage/kkm_last_doc_name [21:02:15]save OK [21:02:15]Clear old archive folders... [21:02:15]ProcessDocumentItem done err = 0, tmpTLVsize=271 [21:02:15]tlvbuf is B6EC8410 [21:02:15]SAM_PROTO_ClearQueue [21:02:15]wFMCommunicate request_size=4 [21:02:15]MH_SAM_APDU [21:02:15]CAPDU: 80 09 00 00 [21:02:15]Write to MH i2c: E2 08 00 5C 12 80 09 00 00 00 00 00 00 E0 [21:02:15]Write i2c OK [21:02:15]MH_I2C_Read... [21:02:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:02:15]Read from MH i2c: E2 [21:02:15]MH_I2C_Read... [21:02:15]Read from MH i2c: E2 03 00 [21:02:15]MH_I2C_Read... [21:02:15]Read from MH i2c: E2 03 00 5C 12 00 90 00 E2 [21:02:15]RAPDU: 90 00 [21:02:15]wFMCommunicate OK [21:02:15]SAM_PROTO_ClearQueue done [21:02:15]KKMCreateOFDPacket [21:02:15]OFDProtocolAddRootSTLVToBuf [21:02:15]FM_MakeSignedData [21:02:15]FM_MakeSignedData [21:02:15]SAM_PROTO_SignData [21:02:15]wFMCommunicate request_size=4 [21:02:15]MH_SAM_APDU [21:02:15]CAPDU: 80 0D 01 02 [21:02:15]Write to MH i2c: E2 08 00 5D 12 80 0D 01 02 00 00 00 00 E8 [21:02:15]Write i2c OK [21:02:15]MH_I2C_Read... [21:02:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:02:15]Read from MH i2c: E2 [21:02:15]MH_I2C_Read... [21:02:15]Read from MH i2c: E2 03 00 [21:02:15]MH_I2C_Read... [21:02:15]Read from MH i2c: E2 03 00 5D 12 00 90 00 E3 [21:02:15]RAPDU: 90 00 [21:02:15]wFMCommunicate OK [21:02:15]wFMCommunicate request_size=255 [21:02:15]MH_SAM_APDU [21:02:15]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 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 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 59 C1 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 [21:02:15]Write to MH i2c: E2 02 01 5E 12 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 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 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 59 C1 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 96 [21:02:15]Write i2c OK [21:02:15]MH_I2C_Read... [21:02:15]OFD Sender: No OFD packet to send [21:02:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:02:15]Read from MH i2c: E2 [21:02:15]MH_I2C_Read... [21:02:15]Read from MH i2c: E2 03 00 [21:02:15]MH_I2C_Read... [21:02:15]Read from MH i2c: E2 03 00 5E 12 00 90 00 E4 [21:02:15]RAPDU: 90 00 [21:02:15]wFMCommunicate OK [21:02:15]wFMCommunicate request_size=30 [21:02:15]MH_SAM_APDU [21:02:15]CAPDU: 80 0D 02 02 19 30 39 36 35 34 32 30 10 04 04 00 31 5F 00 00 35 04 06 00 E2 33 52 81 1C 83 [21:02:15]Write to MH i2c: E2 21 00 5F 12 80 0D 02 02 19 00 30 39 36 35 34 32 30 10 04 04 00 31 5F 00 00 35 04 06 00 E2 33 52 81 1C 83 00 00 F5 [21:02:15]Write i2c OK [21:02:15]MH_I2C_Read... [21:02:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:02:15]Read from MH i2c: E2 [21:02:15]MH_I2C_Read... [21:02:15]Read from MH i2c: E2 03 00 [21:02:15]MH_I2C_Read... [21:02:15]Read from MH i2c: E2 03 00 5F 12 00 90 00 E5 [21:02:15]RAPDU: 90 00 [21:02:15]wFMCommunicate OK [21:02:15]wFMCommunicate request_size=4 [21:02:15]MH_SAM_APDU [21:02:15]CAPDU: 80 0D 03 02 [21:02:15]Write to MH i2c: E2 08 00 60 12 80 0D 03 02 00 00 00 00 ED [21:02:15]Write i2c OK [21:02:15]MH_I2C_Read... [21:02:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:02:16]Read from MH i2c: E2 [21:02:16]MH_I2C_Read... [21:02:16]Read from MH i2c: E2 0B 00 [21:02:16]MH_I2C_Read... [21:02:16]Read from MH i2c: E2 0B 00 60 12 00 2F 8E 1A 1A 62 F2 1F 53 90 00 A5 [21:02:16]RAPDU: 2F 8E 1A 1A 62 F2 1F 53 90 00 [21:02:16]wFMCommunicate OK [21:02:16]SAM_PROTO_SignData done [21:02:16]FM_MakeSignedData done [21:02:16]CreateOFDProtocolMessage [21:02:16]wFMCommunicate request_size=4 [21:02:16]MH_SAM_APDU [21:02:16]CAPDU: 80 11 00 00 [21:02:16]Write to MH i2c: E2 08 00 61 12 80 11 00 00 00 00 00 00 ED [21:02:16]Write i2c OK [21:02:16]MH_I2C_Read... [21:02:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:02:16]Read from MH i2c: E2 [21:02:16]MH_I2C_Read... [21:02:16]Read from MH i2c: E2 17 00 [21:02:16]MH_I2C_Read... [21:02:16]Read from MH i2c: E2 17 00 61 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 3A [21:02:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:02:16]wFMCommunicate OK [21:02:16]CreateOFDProtocolMessage done [21:02:16]OFDSenderStorePacket 24369 [21:02:16]StoreOFDPacket docnum=24369 [21:02:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 23 01 00 00 2A 55 1B 01 69 00 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 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 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 59 C1 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 31 5F 00 00 35 04 06 00 E2 33 52 81 1C 83 2F 8E 1A 1A 62 F2 1F 53 [21:02:16]CheckFolder [21:02:16]dirname=/storage/ofd_packets [21:02:16]CheckFolder done [21:02:16]ProducePacketName [21:02:16]name=ofd_packets/00024369 [21:02:16]NVStorageSaveData ofd_packets/00024369 [21:02:16]File name is /storage/ofd_packets/00024369 [21:02:16]Write 321 bytes [21:02:16]NVStorageSaveData done [21:02:16]OFDSenderStorePacket done [21:02:16]KKMCreateOFDPacket done [21:02:16]NVStorageSaveData kkm_last_timestamp [21:02:16]File name is /storage/kkm_last_timestamp [21:02:16]Write 4 bytes [21:02:16]NVStorageSaveData done [21:02:16]ExternCall_PrintAddStr [21:02:16]wPrintStart [21:02:16]Write to MH i2c: 01 00 00 62 12 74 [21:02:16]Write i2c OK [21:02:16]MH_I2C_Read... [21:02:16]Read from MH i2c: 01 [21:02:16]MH_I2C_Read... [21:02:16]Read from MH i2c: 01 07 00 [21:02:16]MH_I2C_Read... [21:02:16]Read from MH i2c: 01 07 00 62 12 00 00 00 00 00 FF 0F 89 [21:02:16]RasterBufferAndPrint [21:02:16]line Счет N : (3)134890 [21:02:16]line ИНН: 02508201610067 [21:02:16]line Контрольно-Кассовый Чек [21:02:16]line ПРОДАЖА [21:02:16]line Товар: 5449000006271 [21:02:16]line Напиток Фанта 1л [21:02:16]line 1.000 * 125.00 [21:02:16]line = 125.00 [21:02:16]line НДС 12% НСП 1% [21:02:16]line > о реализуемом товаре [21:02:16]line ИТОГО: 125.00 [21:02:16]line НСП 1% : 1.11 [21:02:16]line НДС 12% : 13.27 [21:02:16]line Наличными: 0.00 [21:02:16]line Безнал.: 125.00 [21:02:16]line Место: АЗС № 85 "Партнер Нефть" [21:02:16]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [21:02:16]line СНО: Общий режим [21:02:16]line Чек 73 21.10.2024 21:02 [21:02:16]line Смена: 461 ФФД: 1.0 [21:02:16]line ЗНМ: 0300000166 [21:02:16]line РНМ: 0000000000098120 [21:02:16]line Версия ККМ: 001 [21:02:16]line Платежная система: Mbank [21:02:16]line ФМ: 0000000000965420 [21:02:16]line ФД: 24369 [21:02:16]line ФПД: 248710055402627 [21:02:16]OFD Sender: Processing packet 24369 [packets to send 5, broken 4] [21:02:16]ProducePacketName [21:02:16]name=ofd_packets/00024369 [21:02:16]OFD Sender: To server: pG, [21:02:16]CommunicateWithHost lk.salyk.kg:30040 [21:02:16]ConnectInit lk.salyk.kg [21:02:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T210217&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24369&fm=248710055402627&tin=02508201610067®Number=0000000000098120&sum=12500 [21:02:16]line 0 [21:02:16]Connected sock=11 [21:02: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 34 32 30 23 01 00 00 2A 55 1B 01 69 00 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 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 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 59 C1 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 31 5F 00 00 35 04 06 00 E2 33 52 81 1C 83 2F 8E 1A 1A 62 F2 1F 53 [21:02:16]written 0, free lines is 4095 [21:02:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 5C 4B 47 00 FD FF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 31 5F 00 00 F4 03 04 00 FF 6C 16 67 B6 04 01 00 00 0D A8 CF BE 26 BE 0E 35 [21:02:16]CommunicateWithHost err = 0 [21:02:16]CheckOFDResponse [21:02:16]1017 (14) - 77093643461234 [21:02:16]1041 (16) - 0000000000965420 [21:02:16]1040 (4) - 24369 [21:02:16]1012 (4) - 21.10.2024 15:02 [21:02:16]1206 (1) - 0 [21:02:16]OFD Sender: Remove packet 24369 [21:02:16]ProducePacketName [21:02:16]name=ofd_packets/00024369 [21:02:16]NVStorageDeleteData [21:02:16]Write to MH i2c: 01 00 00 8B 12 9D [21:02:16]Write i2c OK [21:02:16]MH_I2C_Read... [21:02:16]Read from MH i2c: 01 [21:02:16]MH_I2C_Read... [21:02:16]Read from MH i2c: 01 07 00 [21:02:16]MH_I2C_Read... [21:02:16]Read from MH i2c: 01 07 00 8B 12 00 00 00 00 00 0F 0D C0 [21:02:16]RasterBufferAndPrint [21:02:16]line [21:02:16]line [21:02:16]line [21:02:16]line [21:02:16]line [21:02:16]written 0, free lines is 3347 [21:02:16]process_action close_receipt done [21:02:16]requested_data is exist [21:02:16]produce_requested_data [21:02:16]requested_item fm.sn is exist - process it [21:02:16]wFMCommunicate request_size=4 [21:02:16]MH_SAM_APDU [21:02:16]CAPDU: 80 11 00 00 [21:02:16]Write to MH i2c: E2 08 00 92 12 80 11 00 00 00 00 00 00 1E [21:02:16]Write i2c OK [21:02:16]MH_I2C_Read... [21:02:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:02:16]Read from MH i2c: E2 [21:02:16]MH_I2C_Read... [21:02:16]Read from MH i2c: E2 17 00 [21:02:16]MH_I2C_Read... [21:02:16]Read from MH i2c: E2 17 00 92 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 6B [21:02:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:02:16]wFMCommunicate OK [21:02:16]requested_item fd.num is exist - process it [21:02:16]SAM_PROTO_GetFieldsCounters [21:02:16]wFMCommunicate request_size=4 [21:02:16]MH_SAM_APDU [21:02:16]CAPDU: 80 13 00 00 [21:02:16]Write to MH i2c: E2 08 00 93 12 80 13 00 00 00 00 00 00 21 [21:02:16]Write i2c OK [21:02:16]MH_I2C_Read... [21:02:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:02:17]Read from MH i2c: E2 [21:02:17]MH_I2C_Read... [21:02:17]Read from MH i2c: E2 62 00 [21:02:17]MH_I2C_Read... [21:02:17]Read from MH i2c: E2 62 00 93 12 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 31 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 70 [21:02: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 31 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:02:17]wFMCommunicate OK [21:02:17]SAM_PROTO_GetFieldsCounters done [21:02:17]requested_item shift.num is exist - process it [21:02:17]requested_item shift.opened is exist - process it [21:02:17]req_shift_opened [21:02:17]FM_GetShiftState [21:02:17]SAM_PROTO_GetShiftState [21:02:17]wFMCommunicate request_size=4 [21:02:17]MH_SAM_APDU [21:02:17]CAPDU: 80 13 01 00 [21:02:17]Write to MH i2c: E2 08 00 94 12 80 13 01 00 00 00 00 00 23 [21:02:17]Write i2c OK [21:02:17]MH_I2C_Read... [21:02:17]OFD Sender: No OFD packet to send [21:02:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:02:17]Read from MH i2c: E2 [21:02:17]MH_I2C_Read... [21:02:17]Read from MH i2c: E2 0E 00 [21:02:17]MH_I2C_Read... [21:02:17]Read from MH i2c: E2 0E 00 94 12 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 6D [21:02:17]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [21:02:17]wFMCommunicate OK [21:02:17]SAM_PROTO_GetShiftState done [21:02:17]FM_GetShiftState done [21:02:17]req_shift_opened done [21:02:17]requested_item shift.open_date is exist - process it [21:02:17]req_shift_open_date [21:02:17]req_shift_open_date done [21:02:17]produce_requested_data done [21:02:17]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24369,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [21:02:17]process_action_free close_receipt [21:02:17]json_value_free [21:02:17]json_value_free done [21:02:17]process_json_proto returns [21:02:17]Send response to host [21:02:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24369,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [21:02:17]free response buf [21:02:17]execute_script done [21:02:17]execute_script returns [21:02:17]free content buf [21:02:17]Sock 8.Close socket [21:02:17]Sock 8.Thread stoped [21:02:22]OFD Sender: No OFD packet to send [21:02:27]OFD Sender: No OFD packet to send [21:02:32]OFD Sender: No OFD packet to send [21:02:37]OFD Sender: No OFD packet to send [21:02:42]OFD Sender: No OFD packet to send [21:02:47]OFD Sender: No OFD packet to send [21:02:52]OFD Sender: No OFD packet to send [21:02:57]OFD Sender: No OFD packet to send [21:03:02]OFD Sender: No OFD packet to send [21:03:07]OFD Sender: No OFD packet to send [21:03:12]OFD Sender: No OFD packet to send [21:03:17]OFD Sender: No OFD packet to send [21:03:22]OFD Sender: No OFD packet to send [21:03:27]OFD Sender: No OFD packet to send [21:03:32]OFD Sender: No OFD packet to send [21:03:37]OFD Sender: No OFD packet to send [21:03:42]OFD Sender: No OFD packet to send [21:03:47]OFD Sender: No OFD packet to send [21:03:52]OFD Sender: No OFD packet to send [21:03:57]OFD Sender: No OFD packet to send [21:04:02]OFD Sender: No OFD packet to send [21:04:07]OFD Sender: No OFD packet to send [21:04:12]OFD Sender: No OFD packet to send [21:04:17]OFD Sender: No OFD packet to send [21:04:22]OFD Sender: No OFD packet to send [21:04:27]OFD Sender: No OFD packet to send [21:04:32]OFD Sender: No OFD packet to send [21:04:37]OFD Sender: No OFD packet to send [21:04:42]OFD Sender: No OFD packet to send [21:04:47]OFD Sender: No OFD packet to send [21:04:52]OFD Sender: No OFD packet to send [21:04:57]OFD Sender: No OFD packet to send [21:05:02]OFD Sender: No OFD packet to send [21:05:07]OFD Sender: No OFD packet to send [21:05:12]OFD Sender: No OFD packet to send [21:05:17]OFD Sender: No OFD packet to send [21:05:22]OFD Sender: No OFD packet to send [21:05:27]OFD Sender: No OFD packet to send [21:05:32]OFD Sender: No OFD packet to send [21:05:37]OFD Sender: No OFD packet to send [21:05:42]OFD Sender: No OFD packet to send [21:05:47]OFD Sender: No OFD packet to send [21:05:52]OFD Sender: No OFD packet to send [21:05:57]OFD Sender: No OFD packet to send [21:06:02]OFD Sender: No OFD packet to send [21:06:07]OFD Sender: No OFD packet to send [21:06:12]OFD Sender: No OFD packet to send [21:06:17]OFD Sender: No OFD packet to send [21:06:22]OFD Sender: No OFD packet to send [21:06:27]OFD Sender: No OFD packet to send [21:06:32]OFD Sender: No OFD packet to send [21:06:37]OFD Sender: No OFD packet to send [21:06:42]OFD Sender: No OFD packet to send [21:06:47]OFD Sender: No OFD packet to send [21:06:52]OFD Sender: No OFD packet to send [21:06:57]OFD Sender: No OFD packet to send [21:07:02]OFD Sender: No OFD packet to send [21:07:07]OFD Sender: No OFD packet to send [21:07:12]OFD Sender: No OFD packet to send [21:07:17]OFD Sender: No OFD packet to send [21:07:22]OFD Sender: No OFD packet to send [21:07:27]OFD Sender: No OFD packet to send [21:07:32]OFD Sender: No OFD packet to send [21:07:37]OFD Sender: No OFD packet to send [21:07:42]OFD Sender: No OFD packet to send [21:07:47]OFD Sender: No OFD packet to send [21:07:52]OFD Sender: No OFD packet to send [21:07:57]OFD Sender: No OFD packet to send [21:08:02]OFD Sender: No OFD packet to send [21:08:07]OFD Sender: No OFD packet to send [21:08:12]OFD Sender: No OFD packet to send [21:08:17]OFD Sender: No OFD packet to send [21:08:22]OFD Sender: No OFD packet to send [21:08:27]OFD Sender: No OFD packet to send [21:08:32]OFD Sender: No OFD packet to send [21:08:37]OFD Sender: No OFD packet to send [21:08:42]OFD Sender: No OFD packet to send [21:08:47]OFD Sender: No OFD packet to send [21:08:52]OFD Sender: No OFD packet to send [21:08:57]OFD Sender: No OFD packet to send [21:09:02]OFD Sender: No OFD packet to send [21:09:07]OFD Sender: No OFD packet to send [21:09:12]OFD Sender: No OFD packet to send [21:09:17]OFD Sender: No OFD packet to send [21:09:22]OFD Sender: No OFD packet to send [21:09:27]OFD Sender: No OFD packet to send [21:09:32]OFD Sender: No OFD packet to send [21:09:37]OFD Sender: No OFD packet to send [21:09:42]OFD Sender: No OFD packet to send [21:09:47]OFD Sender: No OFD packet to send [21:09:52]OFD Sender: No OFD packet to send [21:09:57]OFD Sender: No OFD packet to send [21:10:02]OFD Sender: No OFD packet to send [21:10:07]OFD Sender: No OFD packet to send [21:10:12]OFD Sender: No OFD packet to send [21:10:17]OFD Sender: No OFD packet to send [21:10:22]OFD Sender: No OFD packet to send [21:10:27]OFD Sender: No OFD packet to send [21:10:32]OFD Sender: No OFD packet to send [21:10:37]OFD Sender: No OFD packet to send [21:10:42]OFD Sender: No OFD packet to send [21:10:47]OFD Sender: No OFD packet to send [21:10:52]OFD Sender: No OFD packet to send [21:10:57]OFD Sender: No OFD packet to send [21:11:02]OFD Sender: No OFD packet to send [21:11:07]OFD Sender: No OFD packet to send [21:11:12]OFD Sender: No OFD packet to send [21:11:17]OFD Sender: No OFD packet to send [21:11:22]OFD Sender: No OFD packet to send [21:11:27]OFD Sender: No OFD packet to send [21:11:32]OFD Sender: No OFD packet to send [21:11:47]OFD Sender: No OFD packet to send [21:11:52]OFD Sender: No OFD packet to send [21:11:57]OFD Sender: No OFD packet to send [21:12:02]OFD Sender: No OFD packet to send [21:12:07]OFD Sender: No OFD packet to send [21:12:12]OFD Sender: No OFD packet to send [21:12:17]OFD Sender: No OFD packet to send [21:12:22]OFD Sender: No OFD packet to send [21:12:27]OFD Sender: No OFD packet to send [21:12:32]OFD Sender: No OFD packet to send [21:12:37]OFD Sender: No OFD packet to send [21:12:42]OFD Sender: No OFD packet to send [21:12:47]OFD Sender: No OFD packet to send [21:12:52]OFD Sender: No OFD packet to send [21:12:57]OFD Sender: No OFD packet to send [21:13:02]OFD Sender: No OFD packet to send [21:13:07]OFD Sender: No OFD packet to send [21:13:12]OFD Sender: No OFD packet to send [21:13:17]OFD Sender: No OFD packet to send [21:13:22]OFD Sender: No OFD packet to send [21:13:27]OFD Sender: No OFD packet to send [21:13:32]OFD Sender: No OFD packet to send [21:13:37]OFD Sender: No OFD packet to send [21:13:42]OFD Sender: No OFD packet to send [21:13:47]OFD Sender: No OFD packet to send [21:13:52]OFD Sender: No OFD packet to send [21:13:56]ConnectInit Can't connect to host [21:13:57]OFD Sender: No OFD packet to send [21:14:02]OFD Sender: No OFD packet to send [21:14:07]OFD Sender: No OFD packet to send [21:14:12]OFD Sender: No OFD packet to send [21:14:17]OFD Sender: No OFD packet to send [21:14:22]OFD Sender: No OFD packet to send [21:14:27]OFD Sender: No OFD packet to send [21:14:32]OFD Sender: No OFD packet to send [21:14:37]OFD Sender: No OFD packet to send [21:14:42]OFD Sender: No OFD packet to send [21:14:47]OFD Sender: No OFD packet to send [21:14:52]OFD Sender: No OFD packet to send [21:14:57]OFD Sender: No OFD packet to send [21:15:02]OFD Sender: No OFD packet to send [21:15:07]OFD Sender: No OFD packet to send [21:15:12]OFD Sender: No OFD packet to send [21:15:17]OFD Sender: No OFD packet to send [21:15:22]OFD Sender: No OFD packet to send [21:15:27]OFD Sender: No OFD packet to send [21:15:32]OFD Sender: No OFD packet to send [21:15:37]OFD Sender: No OFD packet to send [21:15:42]OFD Sender: No OFD packet to send [21:15:47]OFD Sender: No OFD packet to send [21:15:52]OFD Sender: No OFD packet to send [21:15:57]OFD Sender: No OFD packet to send [21:16:02]OFD Sender: No OFD packet to send [21:16:07]OFD Sender: No OFD packet to send [21:16:12]OFD Sender: No OFD packet to send [21:16:17]OFD Sender: No OFD packet to send [21:16:22]OFD Sender: No OFD packet to send [21:16:27]OFD Sender: No OFD packet to send [21:16:32]OFD Sender: No OFD packet to send [21:16:37]OFD Sender: No OFD packet to send [21:16:42]OFD Sender: No OFD packet to send [21:16:47]OFD Sender: No OFD packet to send [21:16:52]OFD Sender: No OFD packet to send [21:16:57]OFD Sender: No OFD packet to send [21:17:02]OFD Sender: No OFD packet to send [21:17:07]OFD Sender: No OFD packet to send [21:17:12]OFD Sender: No OFD packet to send [21:17:17]OFD Sender: No OFD packet to send [21:17:22]OFD Sender: No OFD packet to send [21:17:27]OFD Sender: No OFD packet to send [21:17:32]OFD Sender: No OFD packet to send [21:17:37]OFD Sender: No OFD packet to send [21:17:42]OFD Sender: No OFD packet to send [21:17:47]OFD Sender: No OFD packet to send [21:17:52]OFD Sender: No OFD packet to send [21:17:57]OFD Sender: No OFD packet to send [21:18:02]OFD Sender: No OFD packet to send [21:18:07]OFD Sender: No OFD packet to send [21:18:12]OFD Sender: No OFD packet to send [21:18:17]OFD Sender: No OFD packet to send [21:18:22]OFD Sender: No OFD packet to send [21:18:27]OFD Sender: No OFD packet to send [21:18:32]OFD Sender: No OFD packet to send [21:18:37]OFD Sender: No OFD packet to send [21:18:42]OFD Sender: No OFD packet to send [21:18:47]OFD Sender: No OFD packet to send [21:18:52]OFD Sender: No OFD packet to send [21:18:57]OFD Sender: No OFD packet to send [21:19:02]OFD Sender: No OFD packet to send [21:19:07]OFD Sender: No OFD packet to send [21:19:12]OFD Sender: No OFD packet to send [21:19:17]OFD Sender: No OFD packet to send [21:19:22]OFD Sender: No OFD packet to send [21:19:27]OFD Sender: No OFD packet to send [21:19:32]OFD Sender: No OFD packet to send [21:19:37]OFD Sender: No OFD packet to send [21:19:42]OFD Sender: No OFD packet to send [21:19:47]OFD Sender: No OFD packet to send [21:19:52]OFD Sender: No OFD packet to send [21:19:57]OFD Sender: No OFD packet to send [21:20:02]OFD Sender: No OFD packet to send [21:20:07]OFD Sender: No OFD packet to send [21:20:12]OFD Sender: No OFD packet to send [21:20:17]OFD Sender: No OFD packet to send [21:20:22]OFD Sender: No OFD packet to send [21:20:27]OFD Sender: No OFD packet to send [21:20:32]OFD Sender: No OFD packet to send [21:20:37]OFD Sender: No OFD packet to send [21:20:42]OFD Sender: No OFD packet to send [21:20:48]OFD Sender: No OFD packet to send [21:20:53]OFD Sender: No OFD packet to send [21:20:58]OFD Sender: No OFD packet to send [21:21:03]OFD Sender: No OFD packet to send [21:21:08]OFD Sender: No OFD packet to send [21:21:13]OFD Sender: No OFD packet to send [21:21:18]OFD Sender: No OFD packet to send [21:21:19]accept exits with 9 [21:21:19]New connection [21:21:19]New thread 3066940772 created [21:21:19]Thread 3067084132 joined [21:21:19]Waiting for new connection... [21:21:19] Sock 9.Parse request [21:21:19]Sock 9.Check first char [21:21:19]Sock 9.First char is OK [21:21:19]request: POST /json_proto HTTP/1.0 [21:21:19]Method: POST [21:21:19]URL: /json_proto [21:21:19]Method is POST - this is cgi request [21:21:19]url: /json_proto [21:21:19]query_string will be loaded in cgi processing [21:21:19]execute_cgi json_proto POST (null) [21:21:19]execute_cgi path=json_proto method=POST [21:21:19]POST find Content-Length [21:21:19]Host: 172.17.50.4:8080 [21:21:19]Content-Length: 621 [21:21:19]Content-Type: application/json [21:21:19] [21:21:19]POST finish read [21:21:19]Found Content-Length = 621 [21:21:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134891", "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" ] } } [21:21:19]execute_script... [21:21: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)134891", "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" ] } } [21:21:19]POST & json_proto [21:21:19]process_json_proto [21:21:19]json parsed OK: [21:21:19]protocol is kg_v1.0 [21:21:19]action value=close_receipt [21:21:19]process_action close_receipt [21:21:19]cmd_close_receipt [21:21:19]MH_GetDate [21:21:19]Write to MH i2c: F0 00 00 95 12 96 [21:21:19]Write i2c OK [21:21:19]MH_I2C_Read... [21:21:19]Read from MH i2c: F0 [21:21:19]MH_I2C_Read... [21:21:19]Read from MH i2c: F0 09 00 [21:21:19]MH_I2C_Read... [21:21:19]Read from MH i2c: F0 09 00 95 12 00 D2 C5 16 67 3B 12 16 67 7D [21:21:19]GetLastDocTimeStamp 1729544537 [21:21:19]current date 1729545682 [21:21:19]FM_GetShiftState [21:21:19]SAM_PROTO_GetShiftState [21:21:19]wFMCommunicate request_size=4 [21:21:19]MH_SAM_APDU [21:21:19]CAPDU: 80 13 01 00 [21:21:19]Write to MH i2c: E2 08 00 96 12 80 13 01 00 00 00 00 00 25 [21:21:19]Write i2c OK [21:21:19]MH_I2C_Read... [21:21:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:21:19]Read from MH i2c: E2 [21:21:19]MH_I2C_Read... [21:21:19]Read from MH i2c: E2 0E 00 [21:21:19]MH_I2C_Read... [21:21:19]Read from MH i2c: E2 0E 00 96 12 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 6F [21:21:19]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [21:21:19]wFMCommunicate OK [21:21:19]SAM_PROTO_GetShiftState done [21:21:19]FM_GetShiftState done [21:21:19]opened in 1729469223 [21:21:19]opened+sec_in_day 1729555623 [21:21:19]quantity*price = 14400 [21:21:19]sum+1 = 14401 [21:21:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 74 21.10.2024 21:21 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24370 ФПД: 173174484119903 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T212122&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24370&fm=173174484119903&tin=02508201610067®Number=0000000000098120&sum=14400 0 [21:21:20]StoreToDocumentArchive [21:21:20]shift 461 fd 24370 [21:21:20]save to /storage/0461/doc_00024370 [21:21:20]save last doc name /storage/0461/doc_00024370 to /storage/kkm_last_doc_name [21:21:20]save OK [21:21:20]Clear old archive folders... [21:21:20]ProcessDocumentItem done err = 0, tmpTLVsize=273 [21:21:20]tlvbuf is B6EC8120 [21:21:20]SAM_PROTO_ClearQueue [21:21:20]wFMCommunicate request_size=4 [21:21:20]MH_SAM_APDU [21:21:20]CAPDU: 80 09 00 00 [21:21:20]Write to MH i2c: E2 08 00 A3 12 80 09 00 00 00 00 00 00 27 [21:21:20]Write i2c OK [21:21:20]MH_I2C_Read... [21:21:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:21:20]Read from MH i2c: E2 [21:21:20]MH_I2C_Read... [21:21:20]Read from MH i2c: E2 03 00 [21:21:20]MH_I2C_Read... [21:21:20]Read from MH i2c: E2 03 00 A3 12 00 90 00 29 [21:21:20]RAPDU: 90 00 [21:21:20]wFMCommunicate OK [21:21:20]SAM_PROTO_ClearQueue done [21:21:20]KKMCreateOFDPacket [21:21:20]OFDProtocolAddRootSTLVToBuf [21:21:20]FM_MakeSignedData [21:21:20]FM_MakeSignedData [21:21:20]SAM_PROTO_SignData [21:21:20]wFMCommunicate request_size=4 [21:21:20]MH_SAM_APDU [21:21:20]CAPDU: 80 0D 01 02 [21:21:20]Write to MH i2c: E2 08 00 A4 12 80 0D 01 02 00 00 00 00 2F [21:21:20]Write i2c OK [21:21:20]MH_I2C_Read... [21:21:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:21:20]Read from MH i2c: E2 [21:21:20]MH_I2C_Read... [21:21:20]Read from MH i2c: E2 03 00 [21:21:20]MH_I2C_Read... [21:21:20]Read from MH i2c: E2 03 00 A4 12 00 90 00 2A [21:21:20]RAPDU: 90 00 [21:21:20]wFMCommunicate OK [21:21:20]wFMCommunicate request_size=255 [21:21:20]MH_SAM_APDU [21:21: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 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 4A 00 00 00 F4 03 04 00 D2 C5 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 [21:21:20]Write to MH i2c: E2 02 01 A5 12 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 4A 00 00 00 F4 03 04 00 D2 C5 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 00 00 C0 [21:21:20]Write i2c OK [21:21:20]MH_I2C_Read... [21:21:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:21:20]Read from MH i2c: E2 [21:21:20]MH_I2C_Read... [21:21:20]Read from MH i2c: E2 03 00 [21:21:20]MH_I2C_Read... [21:21:20]Read from MH i2c: E2 03 00 A5 12 00 90 00 2B [21:21:20]RAPDU: 90 00 [21:21:20]wFMCommunicate OK [21:21:20]wFMCommunicate request_size=32 [21:21:20]MH_SAM_APDU [21:21:20]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 34 32 30 10 04 04 00 32 5F 00 00 35 04 06 00 9D 80 53 9C 31 5F [21:21:20]Write to MH i2c: E2 23 00 A6 12 80 0D 02 02 1B 00 30 30 30 39 36 35 34 32 30 10 04 04 00 32 5F 00 00 35 04 06 00 9D 80 53 9C 31 5F 00 00 B6 [21:21:20]Write i2c OK [21:21:20]MH_I2C_Read... [21:21:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:21:20]Read from MH i2c: E2 [21:21:20]MH_I2C_Read... [21:21:20]Read from MH i2c: E2 03 00 [21:21:20]MH_I2C_Read... [21:21:20]Read from MH i2c: E2 03 00 A6 12 00 90 00 2C [21:21:20]RAPDU: 90 00 [21:21:20]wFMCommunicate OK [21:21:20]wFMCommunicate request_size=4 [21:21:20]MH_SAM_APDU [21:21:20]CAPDU: 80 0D 03 02 [21:21:20]Write to MH i2c: E2 08 00 A7 12 80 0D 03 02 00 00 00 00 34 [21:21:20]Write i2c OK [21:21:20]MH_I2C_Read... [21:21:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:21:21]Read from MH i2c: E2 [21:21:21]MH_I2C_Read... [21:21:21]Read from MH i2c: E2 0B 00 [21:21:21]MH_I2C_Read... [21:21:21]Read from MH i2c: E2 0B 00 A7 12 00 BE A8 6A F3 9B 38 80 66 90 00 B1 [21:21:21]RAPDU: BE A8 6A F3 9B 38 80 66 90 00 [21:21:21]wFMCommunicate OK [21:21:21]SAM_PROTO_SignData done [21:21:21]FM_MakeSignedData done [21:21:21]CreateOFDProtocolMessage [21:21:21]wFMCommunicate request_size=4 [21:21:21]MH_SAM_APDU [21:21:21]CAPDU: 80 11 00 00 [21:21:21]Write to MH i2c: E2 08 00 A8 12 80 11 00 00 00 00 00 00 34 [21:21:21]Write i2c OK [21:21:21]MH_I2C_Read... [21:21:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:21:21]Read from MH i2c: E2 [21:21:21]MH_I2C_Read... [21:21:21]Read from MH i2c: E2 17 00 [21:21:21]MH_I2C_Read... [21:21:21]Read from MH i2c: E2 17 00 A8 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 81 [21:21:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:21:21]wFMCommunicate OK [21:21:21]CreateOFDProtocolMessage done [21:21:21]OFDSenderStorePacket 24370 [21:21:21]StoreOFDPacket docnum=24370 [21:21:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 25 01 00 00 C7 06 1D 01 C4 E2 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 4A 00 00 00 F4 03 04 00 D2 C5 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 32 5F 00 00 35 04 06 00 9D 80 53 9C 31 5F BE A8 6A F3 9B 38 80 66 [21:21:21]CheckFolder [21:21:21]dirname=/storage/ofd_packets [21:21:21]CheckFolder done [21:21:21]ProducePacketName [21:21:21]name=ofd_packets/00024370 [21:21:21]NVStorageSaveData ofd_packets/00024370 [21:21:21]File name is /storage/ofd_packets/00024370 [21:21:21]Write 323 bytes [21:21:21]NVStorageSaveData done [21:21:21]OFDSenderStorePacket done [21:21:21]KKMCreateOFDPacket done [21:21:21]NVStorageSaveData kkm_last_timestamp [21:21:21]File name is /storage/kkm_last_timestamp [21:21:21]Write 4 bytes [21:21:21]NVStorageSaveData done [21:21:21]ExternCall_PrintAddStr [21:21:21]wPrintStart [21:21:21]Write to MH i2c: 01 00 00 A9 12 BB [21:21:21]Write i2c OK [21:21:21]MH_I2C_Read... [21:21:21]Read from MH i2c: 01 [21:21:21]MH_I2C_Read... [21:21:21]Read from MH i2c: 01 07 00 [21:21:21]MH_I2C_Read... [21:21:21]Read from MH i2c: 01 07 00 A9 12 00 00 00 00 00 FF 0F D0 [21:21:21]RasterBufferAndPrint [21:21:21]line Счет N : (3)134891 [21:21:21]line ИНН: 02508201610067 [21:21:21]line Контрольно-Кассовый Чек [21:21:21]line ПРОДАЖА [21:21:21]line Товар: 48743570 [21:21:21]line Сигареты Winston XStyle Blue [21:21:21]line 1.000 * 144.00 [21:21:21]line = 144.00 [21:21:21]line НДС 12% НСП 1% [21:21:21]line > о реализуемом товаре [21:21:21]line ИТОГО: 144.00 [21:21:21]line НСП 1% : 1.27 [21:21:21]line НДС 12% : 15.29 [21:21:21]line Наличными: 144.00 [21:21:21]line Безнал.: 0.00 [21:21:21]line Место: АЗС № 85 "Партнер Нефть" [21:21:21]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [21:21:21]line СНО: Общий режим [21:21:21]line Чек 74 21.10.2024 21:21 [21:21:21]line Смена: 461 ФФД: 1.0 [21:21:21]line ЗНМ: 0300000166 [21:21:21]line РНМ: 0000000000098120 [21:21:21]line Версия ККМ: 001 [21:21:21]line ФМ: 0000000000965420 [21:21:21]line ФД: 24370 [21:21:21]line ФПД: 173174484119903 [21:21:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T212122&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24370&fm=173174484119903&tin=02508201610067®Number=0000000000098120&sum=14400 [21:21:21]line 0 [21:21:21]OFD Sender: Processing packet 24370 [packets to send 5, broken 4] [21:21:21]ProducePacketName [21:21:21]name=ofd_packets/00024370 [21:21:21]OFD Sender: To server: pG, [21:21:21]CommunicateWithHost lk.salyk.kg:30040 [21:21:21]ConnectInit lk.salyk.kg [21:21:21]written 0, free lines is 4095 [21:21:21]Write to MH i2c: 01 00 00 D1 12 E3 [21:21:21]Write i2c OK [21:21:21]MH_I2C_Read... [21:21:21]Read from MH i2c: 01 [21:21:21]MH_I2C_Read... [21:21:21]Read from MH i2c: 01 07 00 [21:21:21]MH_I2C_Read... [21:21:21]Read from MH i2c: 01 07 00 D1 12 00 00 00 00 00 16 0D 0D [21:21:21]RasterBufferAndPrint [21:21:21]line [21:21:21]line [21:21:21]line [21:21:21]line [21:21:21]line [21:21:21]written 0, free lines is 3354 [21:21:21]process_action close_receipt done [21:21:21]requested_data is exist [21:21:21]produce_requested_data [21:21:21]requested_item fm.sn is exist - process it [21:21:21]wFMCommunicate request_size=4 [21:21:21]MH_SAM_APDU [21:21:21]CAPDU: 80 11 00 00 [21:21:21]Write to MH i2c: E2 08 00 D8 12 80 11 00 00 00 00 00 00 64 [21:21:21]Write i2c OK [21:21:21]MH_I2C_Read... [21:21:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:21:21]Read from MH i2c: E2 [21:21:21]MH_I2C_Read... [21:21:21]Read from MH i2c: E2 17 00 [21:21:21]MH_I2C_Read... [21:21:21]Read from MH i2c: E2 17 00 D8 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 B1 [21:21:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:21:21]wFMCommunicate OK [21:21:21]requested_item fd.num is exist - process it [21:21:21]SAM_PROTO_GetFieldsCounters [21:21:21]wFMCommunicate request_size=4 [21:21:21]MH_SAM_APDU [21:21:21]CAPDU: 80 13 00 00 [21:21:21]Write to MH i2c: E2 08 00 D9 12 80 13 00 00 00 00 00 00 67 [21:21:21]Write i2c OK [21:21:21]MH_I2C_Read... [21:21:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:21:22]Read from MH i2c: E2 [21:21:22]MH_I2C_Read... [21:21:22]Read from MH i2c: E2 62 00 [21:21:22]MH_I2C_Read... [21:21:22]Read from MH i2c: E2 62 00 D9 12 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 32 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 BA [21:21: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 32 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:21:22]wFMCommunicate OK [21:21:22]SAM_PROTO_GetFieldsCounters done [21:21:22]requested_item shift.num is exist - process it [21:21:22]requested_item shift.opened is exist - process it [21:21:22]req_shift_opened [21:21:22]FM_GetShiftState [21:21:22]SAM_PROTO_GetShiftState [21:21:22]wFMCommunicate request_size=4 [21:21:22]MH_SAM_APDU [21:21:22]CAPDU: 80 13 01 00 [21:21:22]Write to MH i2c: E2 08 00 DA 12 80 13 01 00 00 00 00 00 69 [21:21:22]Write i2c OK [21:21:22]MH_I2C_Read... [21:21:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:21:22]Read from MH i2c: E2 [21:21:22]MH_I2C_Read... [21:21:22]Read from MH i2c: E2 0E 00 [21:21:22]MH_I2C_Read... [21:21:22]Read from MH i2c: E2 0E 00 DA 12 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 B3 [21:21:22]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [21:21:22]wFMCommunicate OK [21:21:22]SAM_PROTO_GetShiftState done [21:21:22]FM_GetShiftState done [21:21:22]req_shift_opened done [21:21:22]requested_item shift.open_date is exist - process it [21:21:22]req_shift_open_date [21:21:22]req_shift_open_date done [21:21:22]produce_requested_data done [21:21:22]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24370,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [21:21:22]process_action_free close_receipt [21:21:22]json_value_free [21:21:22]json_value_free done [21:21:22]process_json_proto returns [21:21:22]Send response to host [21:21:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24370,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [21:21:22]free response buf [21:21:22]execute_script done [21:21:22]execute_script returns [21:21:22]free content buf [21:21:22]Sock 9.Close socket [21:21:22]Sock 9.Thread stoped [21:21:26]ConnectInit Can't take IP for lk.salyk.kg [21:21:26]CommunicateWithHost connect error [21:21:26]CommunicateWithHost err = -1 [21:21:26]OFD Sender: Server communicate error [21:21:26]recv_with_timeout no data received [21:21:31]OFD Sender: Processing packet 24370 [packets to send 5, broken 4] [21:21:31]ProducePacketName [21:21:31]name=ofd_packets/00024370 [21:21:31]OFD Sender: To server: pG, [21:21:31]CommunicateWithHost lk.salyk.kg:30040 [21:21:31]ConnectInit lk.salyk.kg [21:21:36]ConnectInit Can't take IP for lk.salyk.kg [21:21:36]CommunicateWithHost connect error [21:21:36]CommunicateWithHost err = -1 [21:21:36]OFD Sender: Server communicate error [21:21:41]OFD Sender: Processing packet 24370 [packets to send 5, broken 4] [21:21:41]ProducePacketName [21:21:41]name=ofd_packets/00024370 [21:21:41]OFD Sender: To server: pG, [21:21:41]CommunicateWithHost lk.salyk.kg:30040 [21:21:41]ConnectInit lk.salyk.kg [21:21:46]ConnectInit Can't take IP for lk.salyk.kg [21:21:46]CommunicateWithHost connect error [21:21:46]CommunicateWithHost err = -1 [21:21:46]OFD Sender: Server communicate error [21:21:51]OFD Sender: Processing packet 24370 [packets to send 5, broken 4] [21:21:51]ProducePacketName [21:21:51]name=ofd_packets/00024370 [21:21:51]OFD Sender: To server: pG, [21:21:51]CommunicateWithHost lk.salyk.kg:30040 [21:21:51]ConnectInit lk.salyk.kg [21:21:56]ConnectInit Can't take IP for lk.salyk.kg [21:21:56]CommunicateWithHost connect error [21:21:56]CommunicateWithHost err = -1 [21:21:56]OFD Sender: Server communicate error [21:22:01]OFD Sender: Processing packet 24370 [packets to send 5, broken 4] [21:22:01]ProducePacketName [21:22:01]name=ofd_packets/00024370 [21:22:01]OFD Sender: To server: pG, [21:22:01]CommunicateWithHost lk.salyk.kg:30040 [21:22:01]ConnectInit lk.salyk.kg [21:22:06]ConnectInit Can't take IP for lk.salyk.kg [21:22:06]CommunicateWithHost connect error [21:22:06]CommunicateWithHost err = -1 [21:22:06]OFD Sender: Server communicate error [21:22:11]OFD Sender: Processing packet 24370 [packets to send 5, broken 4] [21:22:11]ProducePacketName [21:22:11]name=ofd_packets/00024370 [21:22:11]OFD Sender: To server: pG, [21:22:11]CommunicateWithHost lk.salyk.kg:30040 [21:22:11]ConnectInit lk.salyk.kg [21:22:16]ConnectInit Can't take IP for lk.salyk.kg [21:22:16]CommunicateWithHost connect error [21:22:16]CommunicateWithHost err = -1 [21:22:16]OFD Sender: Server communicate error [21:22:21]OFD Sender: Processing packet 24370 [packets to send 5, broken 4] [21:22:21]ProducePacketName [21:22:21]name=ofd_packets/00024370 [21:22:21]OFD Sender: To server: pG, [21:22:21]CommunicateWithHost lk.salyk.kg:30040 [21:22:21]ConnectInit lk.salyk.kg [21:22:26]ConnectInit Can't take IP for lk.salyk.kg [21:22:26]CommunicateWithHost connect error [21:22:26]CommunicateWithHost err = -1 [21:22:26]OFD Sender: Server communicate error [21:22:31]OFD Sender: Processing packet 24370 [packets to send 5, broken 4] [21:22:31]ProducePacketName [21:22:31]name=ofd_packets/00024370 [21:22:31]OFD Sender: To server: pG, [21:22:31]CommunicateWithHost lk.salyk.kg:30040 [21:22:31]ConnectInit lk.salyk.kg [21:22:32]Connected sock=9 [21:22: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 34 32 30 25 01 00 00 C7 06 1D 01 C4 E2 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 4A 00 00 00 F4 03 04 00 D2 C5 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 32 5F 00 00 35 04 06 00 9D 80 53 9C 31 5F BE A8 6A F3 9B 38 80 66 [21:22:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 40 E5 47 00 6C 02 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 34 32 30 10 04 04 00 32 5F 00 00 F4 03 04 00 BF 71 16 67 B6 04 01 00 00 AC 89 1E D3 C2 B8 0F 30 [21:22:32]CommunicateWithHost err = 0 [21:22:32]CheckOFDResponse [21:22:32]1017 (14) - 77093643461234 [21:22:32]1041 (16) - 0000000000965420 [21:22:32]1040 (4) - 24370 [21:22:32]1012 (4) - 21.10.2024 15:22 [21:22:32]1206 (1) - 0 [21:22:32]OFD Sender: Remove packet 24370 [21:22:32]ProducePacketName [21:22:32]name=ofd_packets/00024370 [21:22:32]NVStorageDeleteData [21:22:33]OFD Sender: No OFD packet to send [21:22:38]OFD Sender: No OFD packet to send [21:22:43]OFD Sender: No OFD packet to send [21:22:48]OFD Sender: No OFD packet to send [21:22:53]OFD Sender: No OFD packet to send [21:22:58]OFD Sender: No OFD packet to send [21:23:03]OFD Sender: No OFD packet to send [21:23:08]OFD Sender: No OFD packet to send [21:23:13]OFD Sender: No OFD packet to send [21:23:18]OFD Sender: No OFD packet to send [21:23:23]OFD Sender: No OFD packet to send [21:23:28]OFD Sender: No OFD packet to send [21:23:33]OFD Sender: No OFD packet to send [21:23:38]OFD Sender: No OFD packet to send [21:23:43]OFD Sender: No OFD packet to send [21:23:48]OFD Sender: No OFD packet to send [21:23:53]OFD Sender: No OFD packet to send [21:23:58]OFD Sender: No OFD packet to send [21:24:03]OFD Sender: No OFD packet to send [21:24:08]OFD Sender: No OFD packet to send [21:24:13]OFD Sender: No OFD packet to send [21:24:18]OFD Sender: No OFD packet to send [21:24:23]OFD Sender: No OFD packet to send [21:24:28]OFD Sender: No OFD packet to send [21:24:33]OFD Sender: No OFD packet to send [21:24:38]OFD Sender: No OFD packet to send [21:24:43]OFD Sender: No OFD packet to send [21:24:48]OFD Sender: No OFD packet to send [21:24:53]OFD Sender: No OFD packet to send [21:24:58]OFD Sender: No OFD packet to send [21:25:03]OFD Sender: No OFD packet to send [21:25:08]OFD Sender: No OFD packet to send [21:25:13]OFD Sender: No OFD packet to send [21:25:18]OFD Sender: No OFD packet to send [21:25:23]OFD Sender: No OFD packet to send [21:25:28]OFD Sender: No OFD packet to send [21:25:33]OFD Sender: No OFD packet to send [21:25:38]OFD Sender: No OFD packet to send [21:25:43]OFD Sender: No OFD packet to send [21:25:48]OFD Sender: No OFD packet to send [21:25:53]OFD Sender: No OFD packet to send [21:25:58]OFD Sender: No OFD packet to send [21:26:03]OFD Sender: No OFD packet to send [21:26:08]OFD Sender: No OFD packet to send [21:26:13]OFD Sender: No OFD packet to send [21:26:18]OFD Sender: No OFD packet to send [21:26:23]OFD Sender: No OFD packet to send [21:26:28]OFD Sender: No OFD packet to send [21:26:33]OFD Sender: No OFD packet to send [21:26:38]OFD Sender: No OFD packet to send [21:26:43]OFD Sender: No OFD packet to send [21:26:48]OFD Sender: No OFD packet to send [21:26:53]OFD Sender: No OFD packet to send [21:26:58]OFD Sender: No OFD packet to send [21:27:03]OFD Sender: No OFD packet to send [21:27:08]OFD Sender: No OFD packet to send [21:27:13]OFD Sender: No OFD packet to send [21:27:18]OFD Sender: No OFD packet to send [21:27:23]OFD Sender: No OFD packet to send [21:27:28]OFD Sender: No OFD packet to send [21:27:33]OFD Sender: No OFD packet to send [21:27:38]OFD Sender: No OFD packet to send [21:27:43]OFD Sender: No OFD packet to send [21:27:48]OFD Sender: No OFD packet to send [21:27:53]OFD Sender: No OFD packet to send [21:27:58]OFD Sender: No OFD packet to send [21:28:03]OFD Sender: No OFD packet to send [21:28:08]OFD Sender: No OFD packet to send [21:28:13]OFD Sender: No OFD packet to send [21:28:18]OFD Sender: No OFD packet to send [21:28:23]OFD Sender: No OFD packet to send [21:28:28]OFD Sender: No OFD packet to send [21:28:33]OFD Sender: No OFD packet to send [21:28:38]OFD Sender: No OFD packet to send [21:28:43]OFD Sender: No OFD packet to send [21:28:48]OFD Sender: No OFD packet to send [21:28:53]OFD Sender: No OFD packet to send [21:28:58]OFD Sender: No OFD packet to send [21:29:03]OFD Sender: No OFD packet to send [21:29:08]OFD Sender: No OFD packet to send [21:29:13]OFD Sender: No OFD packet to send [21:29:18]OFD Sender: No OFD packet to send [21:29:23]OFD Sender: No OFD packet to send [21:29:28]OFD Sender: No OFD packet to send [21:29:33]OFD Sender: No OFD packet to send [21:29:38]OFD Sender: No OFD packet to send [21:29:43]OFD Sender: No OFD packet to send [21:29:43]accept exits with 8 [21:29:43]New connection [21:29:43]New thread 3067084132 created [21:29:43]Thread 3066940772 joined [21:29:43]Waiting for new connection... [21:29:43] Sock 8.Parse request [21:29:43]Sock 8.Check first char [21:29:43]Sock 8.First char is OK [21:29:43]request: POST /json_proto HTTP/1.0 [21:29:43]Method: POST [21:29:43]URL: /json_proto [21:29:43]Method is POST - this is cgi request [21:29:43]url: /json_proto [21:29:43]query_string will be loaded in cgi processing [21:29:43]execute_cgi json_proto POST (null) [21:29:43]execute_cgi path=json_proto method=POST [21:29:43]POST find Content-Length [21:29:43]Host: 172.17.50.4:8080 [21:29:43]Content-Length: 925 [21:29:43]Content-Type: application/json [21:29:43] [21:29:43]POST finish read [21:29:43]Found Content-Length = 925 [21:29:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134892", "tax_sys" : 0, "items" : [ { "code": "4700003010087", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Lets Go \u0437\u0435\u043B \u0447\u0430\u0439 \u044F\u0431\u043B-\u0433\u0440 \u041F\u042D\u0422 1,2\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 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" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:29:43]execute_script... [21:29: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)134892", "tax_sys" : 0, "items" : [ { "code": "4700003010087", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Lets Go \u0437\u0435\u043B \u0447\u0430\u0439 \u044F\u0431\u043B-\u0433\u0440 \u041F\u042D\u0422 1,2\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 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" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:29:43]POST & json_proto [21:29:43]process_json_proto [21:29:43]json parsed OK: [21:29:43]protocol is kg_v1.0 [21:29:43]action value=close_receipt [21:29:43]process_action close_receipt [21:29:43]cmd_close_receipt [21:29:43]MH_GetDate [21:29:43]Write to MH i2c: F0 00 00 DB 12 DC [21:29:43]Write i2c OK [21:29:43]MH_I2C_Read... [21:29:43]Read from MH i2c: F0 [21:29:43]MH_I2C_Read... [21:29:43]Read from MH i2c: F0 09 00 [21:29:43]MH_I2C_Read... [21:29:43]Read from MH i2c: F0 09 00 DB 12 00 CA C7 16 67 3B 12 16 67 BD [21:29:43]GetLastDocTimeStamp 1729545682 [21:29:43]current date 1729546186 [21:29:43]FM_GetShiftState [21:29:43]SAM_PROTO_GetShiftState [21:29:43]wFMCommunicate request_size=4 [21:29:43]MH_SAM_APDU [21:29:43]CAPDU: 80 13 01 00 [21:29:43]Write to MH i2c: E2 08 00 DC 12 80 13 01 00 00 00 00 00 6B [21:29:43]Write i2c OK [21:29:43]MH_I2C_Read... [21:29:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:29:43]Read from MH i2c: E2 [21:29:43]MH_I2C_Read... [21:29:43]Read from MH i2c: E2 0E 00 [21:29:43]MH_I2C_Read... [21:29:43]Read from MH i2c: E2 0E 00 DC 12 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 B5 [21:29:43]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [21:29:43]wFMCommunicate OK [21:29:43]SAM_PROTO_GetShiftState done [21:29:43]FM_GetShiftState done [21:29:43]opened in 1729469223 [21:29:43]opened+sec_in_day 1729555623 [21:29:43]quantity*price = 9500 [21:29:43]sum+1 = 9501 [21:29:43]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46231529 Mentos ПФ Арбуз 6*100*2 1.000 * 10.00 = 10.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 75 21.10.2024 21:29 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24371 ФПД: 225165583365476 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T212947&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24371&fm=225165583365476&tin=02508201610067®Number=0000000000098120&sum=10500 0 [21:29:44]StoreToDocumentArchive [21:29:44]shift 461 fd 24371 [21:29:44]save to /storage/0461/doc_00024371 [21:29:44]save last doc name /storage/0461/doc_00024371 to /storage/kkm_last_doc_name [21:29:44]save OK [21:29:44]Clear old archive folders... [21:29:44]ProcessDocumentItem done err = 0, tmpTLVsize=399 [21:29:44]tlvbuf is B6EC8490 [21:29:44]SAM_PROTO_ClearQueue [21:29:44]wFMCommunicate request_size=4 [21:29:44]MH_SAM_APDU [21:29:44]CAPDU: 80 09 00 00 [21:29:44]Write to MH i2c: E2 08 00 E9 12 80 09 00 00 00 00 00 00 6D [21:29:44]Write i2c OK [21:29:44]MH_I2C_Read... [21:29:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:29:44]Read from MH i2c: E2 [21:29:44]MH_I2C_Read... [21:29:44]Read from MH i2c: E2 03 00 [21:29:44]MH_I2C_Read... [21:29:44]Read from MH i2c: E2 03 00 E9 12 00 90 00 6F [21:29:44]RAPDU: 90 00 [21:29:44]wFMCommunicate OK [21:29:44]SAM_PROTO_ClearQueue done [21:29:44]KKMCreateOFDPacket [21:29:44]OFDProtocolAddRootSTLVToBuf [21:29:44]FM_MakeSignedData [21:29:44]FM_MakeSignedData [21:29:44]SAM_PROTO_SignData [21:29:44]wFMCommunicate request_size=4 [21:29:44]MH_SAM_APDU [21:29:44]CAPDU: 80 0D 01 02 [21:29:44]Write to MH i2c: E2 08 00 EA 12 80 0D 01 02 00 00 00 00 75 [21:29:44]Write i2c OK [21:29:44]MH_I2C_Read... [21:29:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:29:44]Read from MH i2c: E2 [21:29:44]MH_I2C_Read... [21:29:44]Read from MH i2c: E2 03 00 [21:29:44]MH_I2C_Read... [21:29:44]Read from MH i2c: E2 03 00 EA 12 00 90 00 70 [21:29:44]RAPDU: 90 00 [21:29:44]wFMCommunicate OK [21:29:44]wFMCommunicate request_size=255 [21:29:44]MH_SAM_APDU [21:29:44]CAPDU: 80 0D 02 02 FA 03 00 8F 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 04 29 00 00 00 00 EB 03 [21:29:44]Write to MH i2c: E2 02 01 EB 12 80 0D 02 02 FA 00 03 00 8F 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 04 29 00 00 00 00 EB 03 00 00 D4 [21:29:44]Write i2c OK [21:29:44]MH_I2C_Read... [21:29:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:29:45]Read from MH i2c: E2 [21:29:45]MH_I2C_Read... [21:29:45]Read from MH i2c: E2 03 00 [21:29:45]MH_I2C_Read... [21:29:45]Read from MH i2c: E2 03 00 EB 12 00 90 00 71 [21:29:45]RAPDU: 90 00 [21:29:45]wFMCommunicate OK [21:29:45]wFMCommunicate request_size=158 [21:29:45]MH_SAM_APDU [21:29:45]CAPDU: 80 0D 02 02 99 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 4B 00 00 00 F4 03 04 00 CB C7 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 33 5F 00 00 35 04 06 00 CC C9 72 9C B5 64 [21:29:45]Write to MH i2c: E2 A1 00 EC 12 80 0D 02 02 99 00 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 4B 00 00 00 F4 03 04 00 CB C7 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 33 5F 00 00 35 04 06 00 CC C9 72 9C B5 64 00 00 4D [21:29:45]Write i2c OK [21:29:45]MH_I2C_Read... [21:29:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:29:45]Read from MH i2c: E2 [21:29:45]MH_I2C_Read... [21:29:45]Read from MH i2c: E2 03 00 [21:29:45]MH_I2C_Read... [21:29:45]Read from MH i2c: E2 03 00 EC 12 00 90 00 72 [21:29:45]RAPDU: 90 00 [21:29:45]wFMCommunicate OK [21:29:45]wFMCommunicate request_size=4 [21:29:45]MH_SAM_APDU [21:29:45]CAPDU: 80 0D 03 02 [21:29:45]Write to MH i2c: E2 08 00 ED 12 80 0D 03 02 00 00 00 00 7A [21:29:45]Write i2c OK [21:29:45]MH_I2C_Read... [21:29:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:29:45]Read from MH i2c: E2 [21:29:45]MH_I2C_Read... [21:29:45]Read from MH i2c: E2 0B 00 [21:29:45]MH_I2C_Read... [21:29:45]Read from MH i2c: E2 0B 00 ED 12 00 99 FF 6E 45 0E 13 7D 1D 90 00 81 [21:29:45]RAPDU: 99 FF 6E 45 0E 13 7D 1D 90 00 [21:29:45]wFMCommunicate OK [21:29:45]SAM_PROTO_SignData done [21:29:45]FM_MakeSignedData done [21:29:45]CreateOFDProtocolMessage [21:29:45]wFMCommunicate request_size=4 [21:29:45]MH_SAM_APDU [21:29:45]CAPDU: 80 11 00 00 [21:29:45]Write to MH i2c: E2 08 00 EE 12 80 11 00 00 00 00 00 00 7A [21:29:45]Write i2c OK [21:29:45]MH_I2C_Read... [21:29:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:29:45]Read from MH i2c: E2 [21:29:45]MH_I2C_Read... [21:29:45]Read from MH i2c: E2 17 00 [21:29:45]MH_I2C_Read... [21:29:45]Read from MH i2c: E2 17 00 EE 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 C7 [21:29:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:29:45]wFMCommunicate OK [21:29:45]CreateOFDProtocolMessage done [21:29:45]OFDSenderStorePacket 24371 [21:29:45]StoreOFDPacket docnum=24371 [21:29:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 A3 01 00 00 A7 83 9B 01 1C DE 5A 03 01 00 03 00 8F 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 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 4B 00 00 00 F4 03 04 00 CB C7 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 33 5F 00 00 35 04 06 00 CC C9 72 9C B5 64 99 FF 6E 45 0E 13 7D 1D [21:29:45]CheckFolder [21:29:45]dirname=/storage/ofd_packets [21:29:45]CheckFolder done [21:29:45]ProducePacketName [21:29:45]name=ofd_packets/00024371 [21:29:45]NVStorageSaveData ofd_packets/00024371 [21:29:45]File name is /storage/ofd_packets/00024371 [21:29:45]Write 449 bytes [21:29:45]NVStorageSaveData done [21:29:45]OFDSenderStorePacket done [21:29:45]KKMCreateOFDPacket done [21:29:45]NVStorageSaveData kkm_last_timestamp [21:29:45]File name is /storage/kkm_last_timestamp [21:29:45]Write 4 bytes [21:29:45]NVStorageSaveData done [21:29:45]ExternCall_PrintAddStr [21:29:45]wPrintStart [21:29:45]Write to MH i2c: 01 00 00 EF 12 01 [21:29:45]Write i2c OK [21:29:45]MH_I2C_Read... [21:29:45]Read from MH i2c: 01 [21:29:45]MH_I2C_Read... [21:29:45]Read from MH i2c: 01 07 00 [21:29:45]MH_I2C_Read... [21:29:45]Read from MH i2c: 01 07 00 EF 12 00 00 00 00 00 FF 0F 16 [21:29:45]RasterBufferAndPrint [21:29:45]line Счет N : (3)134892 [21:29:45]line ИНН: 02508201610067 [21:29:45]line Контрольно-Кассовый Чек [21:29:45]line ПРОДАЖА [21:29:45]line Товар: 4700003010087 [21:29:45]line Чай хол Lets Go зел чай ябл-гр ПЭТ 1,2л [21:29:45]line 1.000 * 95.00 [21:29:45]line = 95.00 [21:29:45]line НДС 12% НСП 1% [21:29:45]line > о реализуемом товаре [21:29:45]line Товар: 46231529 [21:29:45]line Mentos ПФ Арбуз 6*100*2 [21:29:45]line 1.000 * 10.00 [21:29:45]line = 10.00 [21:29:45]line НДС 12% НСП 1% [21:29:45]line > о реализуемом товаре [21:29:45]line ИТОГО: 105.00 [21:29:45]line НСП 1% : 0.93 [21:29:45]line НДС 12% : 11.15 [21:29:45]line Наличными: 105.00 [21:29:45]line Безнал.: 0.00 [21:29:45]line Место: АЗС № 85 "Партнер Нефть" [21:29:45]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [21:29:45]line СНО: Общий режим [21:29:45]line Чек 75 21.10.2024 21:29 [21:29:45]line Смена: 461 ФФД: 1.0 [21:29:45]line ЗНМ: 0300000166 [21:29:45]line РНМ: 0000000000098120 [21:29:45]line Версия ККМ: 001 [21:29:45]line ФМ: 0000000000965420 [21:29:45]line ФД: 24371 [21:29:45]line ФПД: 225165583365476 [21:29:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T212947&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24371&fm=225165583365476&tin=02508201610067®Number=0000000000098120&sum=10500 [21:29:45]line 0 [21:29:45]OFD Sender: Processing packet 24371 [packets to send 5, broken 4] [21:29:45]ProducePacketName [21:29:45]name=ofd_packets/00024371 [21:29:45]OFD Sender: To server: pG, [21:29:45]CommunicateWithHost lk.salyk.kg:30040 [21:29:45]ConnectInit lk.salyk.kg [21:29:45]written 0, free lines is 4095 [21:29:45]Connected sock=10 [21:29: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 34 32 30 A3 01 00 00 A7 83 9B 01 1C DE 5A 03 01 00 03 00 8F 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 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 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 4B 00 00 00 F4 03 04 00 CB C7 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 33 5F 00 00 35 04 06 00 CC C9 72 9C B5 64 99 FF 6E 45 0E 13 7D 1D [21:29:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 4A E6 47 00 62 DB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 34 32 30 10 04 04 00 33 5F 00 00 F4 03 04 00 70 73 16 67 B6 04 01 00 00 F6 B4 65 D7 F3 C0 0D 65 [21:29:46]CommunicateWithHost err = 0 [21:29:46]CheckOFDResponse [21:29:46]1017 (14) - 77093643461234 [21:29:46]1041 (16) - 0000000000965420 [21:29:46]1040 (4) - 24371 [21:29:46]1012 (4) - 21.10.2024 15:29 [21:29:46]1206 (1) - 0 [21:29:46]OFD Sender: Remove packet 24371 [21:29:46]ProducePacketName [21:29:46]name=ofd_packets/00024371 [21:29:46]NVStorageDeleteData [21:29:46]Write to MH i2c: 01 00 00 1E 13 31 [21:29:46]Write i2c OK [21:29:46]MH_I2C_Read... [21:29:46]Read from MH i2c: 01 [21:29:46]MH_I2C_Read... [21:29:46]Read from MH i2c: 01 07 00 [21:29:46]MH_I2C_Read... [21:29:46]Read from MH i2c: 01 07 00 1E 13 00 00 00 00 00 D1 0C 15 [21:29:46]RasterBufferAndPrint [21:29:46]line [21:29:46]line [21:29:46]line [21:29:46]line [21:29:46]line [21:29:46]written 0, free lines is 3287 [21:29:46]process_action close_receipt done [21:29:46]requested_data is exist [21:29:46]produce_requested_data [21:29:46]requested_item fm.sn is exist - process it [21:29:46]wFMCommunicate request_size=4 [21:29:46]MH_SAM_APDU [21:29:46]CAPDU: 80 11 00 00 [21:29:46]Write to MH i2c: E2 08 00 25 13 80 11 00 00 00 00 00 00 B2 [21:29:46]Write i2c OK [21:29:46]MH_I2C_Read... [21:29:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:29:46]Read from MH i2c: E2 [21:29:46]MH_I2C_Read... [21:29:46]Read from MH i2c: E2 17 00 [21:29:46]MH_I2C_Read... [21:29:46]Read from MH i2c: E2 17 00 25 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 FF [21:29:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:29:46]wFMCommunicate OK [21:29:46]requested_item fd.num is exist - process it [21:29:46]SAM_PROTO_GetFieldsCounters [21:29:46]wFMCommunicate request_size=4 [21:29:46]MH_SAM_APDU [21:29:46]CAPDU: 80 13 00 00 [21:29:46]Write to MH i2c: E2 08 00 26 13 80 13 00 00 00 00 00 00 B5 [21:29:46]Write i2c OK [21:29:46]MH_I2C_Read... [21:29:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:29:46]Read from MH i2c: E2 [21:29:46]MH_I2C_Read... [21:29:46]Read from MH i2c: E2 62 00 [21:29:46]MH_I2C_Read... [21:29:46]Read from MH i2c: E2 62 00 26 13 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 33 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 0C [21:29: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 33 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:29:46]wFMCommunicate OK [21:29:46]SAM_PROTO_GetFieldsCounters done [21:29:46]requested_item shift.num is exist - process it [21:29:46]requested_item shift.opened is exist - process it [21:29:46]req_shift_opened [21:29:46]FM_GetShiftState [21:29:46]SAM_PROTO_GetShiftState [21:29:46]wFMCommunicate request_size=4 [21:29:46]MH_SAM_APDU [21:29:46]CAPDU: 80 13 01 00 [21:29:46]Write to MH i2c: E2 08 00 27 13 80 13 01 00 00 00 00 00 B7 [21:29:46]Write i2c OK [21:29:46]MH_I2C_Read... [21:29:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:29:46]Read from MH i2c: E2 [21:29:46]MH_I2C_Read... [21:29:46]Read from MH i2c: E2 0E 00 [21:29:46]MH_I2C_Read... [21:29:46]Read from MH i2c: E2 0E 00 27 13 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 01 [21:29:46]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [21:29:46]wFMCommunicate OK [21:29:46]SAM_PROTO_GetShiftState done [21:29:46]FM_GetShiftState done [21:29:46]req_shift_opened done [21:29:46]requested_item shift.open_date is exist - process it [21:29:46]req_shift_open_date [21:29:46]req_shift_open_date done [21:29:46]produce_requested_data done [21:29:46]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24371,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [21:29:46]process_action_free close_receipt [21:29:46]json_value_free [21:29:46]json_value_free done [21:29:46]process_json_proto returns [21:29:46]Send response to host [21:29:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24371,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [21:29:46]free response buf [21:29:46]execute_script done [21:29:46]execute_script returns [21:29:46]free content buf [21:29:46]Sock 8.Close socket [21:29:46]Sock 8.Thread stoped [21:29:46]OFD Sender: No OFD packet to send [21:29:51]OFD Sender: No OFD packet to send [21:29:56]OFD Sender: No OFD packet to send [21:30:01]OFD Sender: No OFD packet to send [21:30:06]OFD Sender: No OFD packet to send [21:30:11]OFD Sender: No OFD packet to send [21:30:16]OFD Sender: No OFD packet to send [21:30:21]OFD Sender: No OFD packet to send [21:30:26]OFD Sender: No OFD packet to send [21:30:31]OFD Sender: No OFD packet to send [21:30:36]OFD Sender: No OFD packet to send [21:30:41]OFD Sender: No OFD packet to send [21:30:46]OFD Sender: No OFD packet to send [21:30:51]OFD Sender: No OFD packet to send [21:30:56]OFD Sender: No OFD packet to send [21:31:01]OFD Sender: No OFD packet to send [21:31:06]OFD Sender: No OFD packet to send [21:31:11]OFD Sender: No OFD packet to send [21:31:16]OFD Sender: No OFD packet to send [21:31:21]OFD Sender: No OFD packet to send [21:31:26]OFD Sender: No OFD packet to send [21:31:31]OFD Sender: No OFD packet to send [21:31:35]recv_with_timeout no data received [21:31:36]OFD Sender: No OFD packet to send [21:31:41]OFD Sender: No OFD packet to send [21:31:46]OFD Sender: No OFD packet to send [21:31:51]OFD Sender: No OFD packet to send [21:31:56]OFD Sender: No OFD packet to send [21:32:01]OFD Sender: No OFD packet to send [21:32:06]OFD Sender: No OFD packet to send [21:32:11]OFD Sender: No OFD packet to send [21:32:16]OFD Sender: No OFD packet to send [21:32:21]OFD Sender: No OFD packet to send [21:32:26]OFD Sender: No OFD packet to send [21:32:31]OFD Sender: No OFD packet to send [21:32:36]OFD Sender: No OFD packet to send [21:32:41]OFD Sender: No OFD packet to send [21:32:46]OFD Sender: No OFD packet to send [21:32:51]OFD Sender: No OFD packet to send [21:32:56]OFD Sender: No OFD packet to send [21:33:01]OFD Sender: No OFD packet to send [21:33:06]OFD Sender: No OFD packet to send [21:33:11]OFD Sender: No OFD packet to send [21:33:16]OFD Sender: No OFD packet to send [21:33:21]OFD Sender: No OFD packet to send [21:33:26]OFD Sender: No OFD packet to send [21:33:31]OFD Sender: No OFD packet to send [21:33:36]OFD Sender: No OFD packet to send [21:33:41]OFD Sender: No OFD packet to send [21:33:46]OFD Sender: No OFD packet to send [21:33:51]OFD Sender: No OFD packet to send [21:33:56]OFD Sender: No OFD packet to send [21:34:01]OFD Sender: No OFD packet to send [21:34:03]accept exits with 9 [21:34:03]New connection [21:34:03]New thread 3066940772 created [21:34:03]Thread 3067084132 joined [21:34:03]Waiting for new connection... [21:34:03] Sock 9.Parse request [21:34:03]Sock 9.Check first char [21:34:03]Sock 9.First char is OK [21:34:03]request: POST /json_proto HTTP/1.0 [21:34:03]Method: POST [21:34:03]URL: /json_proto [21:34:03]Method is POST - this is cgi request [21:34:03]url: /json_proto [21:34:03]query_string will be loaded in cgi processing [21:34:03]execute_cgi json_proto POST (null) [21:34:03]execute_cgi path=json_proto method=POST [21:34:03]POST find Content-Length [21:34:03]Host: 172.17.50.4:8080 [21:34:03]Content-Length: 646 [21:34:03]Content-Type: application/json [21:34:03] [21:34:03]POST finish read [21:34:03]Found Content-Length = 646 [21:34:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134893", "tax_sys" : 0, "items" : [ { "code": "4870238424819", "name": "\u041B\u0443\u043A\u043E\u0439\u043B \u0421\u0443\u043F\u0435\u0440 10W40 SG/CD 1\u043B.", "price" : 405.00, "quantity" : 1.000, "sum" : 405.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:34:03]execute_script... [21:34: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)134893", "tax_sys" : 0, "items" : [ { "code": "4870238424819", "name": "\u041B\u0443\u043A\u043E\u0439\u043B \u0421\u0443\u043F\u0435\u0440 10W40 SG/CD 1\u043B.", "price" : 405.00, "quantity" : 1.000, "sum" : 405.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:34:03]POST & json_proto [21:34:03]process_json_proto [21:34:03]json parsed OK: [21:34:03]protocol is kg_v1.0 [21:34:03]action value=close_receipt [21:34:03]process_action close_receipt [21:34:03]cmd_close_receipt [21:34:03]MH_GetDate [21:34:03]Write to MH i2c: F0 00 00 28 13 2A [21:34:03]Write i2c OK [21:34:03]MH_I2C_Read... [21:34:03]Read from MH i2c: F0 [21:34:03]MH_I2C_Read... [21:34:03]Read from MH i2c: F0 09 00 [21:34:03]MH_I2C_Read... [21:34:03]Read from MH i2c: F0 09 00 28 13 00 CE C8 16 67 3B 12 16 67 10 [21:34:03]GetLastDocTimeStamp 1729546187 [21:34:03]current date 1729546446 [21:34:03]FM_GetShiftState [21:34:03]SAM_PROTO_GetShiftState [21:34:03]wFMCommunicate request_size=4 [21:34:03]MH_SAM_APDU [21:34:03]CAPDU: 80 13 01 00 [21:34:03]Write to MH i2c: E2 08 00 29 13 80 13 01 00 00 00 00 00 B9 [21:34:03]Write i2c OK [21:34:03]MH_I2C_Read... [21:34:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:34:03]Read from MH i2c: E2 [21:34:03]MH_I2C_Read... [21:34:03]Read from MH i2c: E2 0E 00 [21:34:03]MH_I2C_Read... [21:34:03]Read from MH i2c: E2 0E 00 29 13 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 03 [21:34:03]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [21:34:03]wFMCommunicate OK [21:34:03]SAM_PROTO_GetShiftState done [21:34:03]FM_GetShiftState done [21:34:03]opened in 1729469223 [21:34:03]opened+sec_in_day 1729555623 [21:34:03]quantity*price = 40500 [21:34:03]sum+1 = 40501 [21:34:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 405.00 НСП 1% : 3.58 НДС 12% : 43.01 Наличными: 405.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 76 21.10.2024 21:34 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24372 ФПД: 242408984259147 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T213406&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24372&fm=242408984259147&tin=02508201610067®Number=0000000000098120&sum=40500 0 [21:34:04]StoreToDocumentArchive [21:34:04]shift 461 fd 24372 [21:34:04]save to /storage/0461/doc_00024372 [21:34:04]save last doc name /storage/0461/doc_00024372 to /storage/kkm_last_doc_name [21:34:04]save OK [21:34:04]Clear old archive folders... [21:34:04]ProcessDocumentItem done err = 0, tmpTLVsize=282 [21:34:04]tlvbuf is 00376350 [21:34:04]SAM_PROTO_ClearQueue [21:34:04]wFMCommunicate request_size=4 [21:34:04]MH_SAM_APDU [21:34:04]CAPDU: 80 09 00 00 [21:34:04]Write to MH i2c: E2 08 00 36 13 80 09 00 00 00 00 00 00 BB [21:34:04]Write i2c OK [21:34:04]MH_I2C_Read... [21:34:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:34:04]Read from MH i2c: E2 [21:34:04]MH_I2C_Read... [21:34:04]Read from MH i2c: E2 03 00 [21:34:04]MH_I2C_Read... [21:34:04]Read from MH i2c: E2 03 00 36 13 00 90 00 BD [21:34:04]RAPDU: 90 00 [21:34:04]wFMCommunicate OK [21:34:04]SAM_PROTO_ClearQueue done [21:34:04]KKMCreateOFDPacket [21:34:04]OFDProtocolAddRootSTLVToBuf [21:34:04]FM_MakeSignedData [21:34:04]FM_MakeSignedData [21:34:04]SAM_PROTO_SignData [21:34:04]wFMCommunicate request_size=4 [21:34:04]MH_SAM_APDU [21:34:04]CAPDU: 80 0D 01 02 [21:34:04]Write to MH i2c: E2 08 00 37 13 80 0D 01 02 00 00 00 00 C3 [21:34:04]Write i2c OK [21:34:04]MH_I2C_Read... [21:34:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:34:04]Read from MH i2c: E2 [21:34:04]MH_I2C_Read... [21:34:04]Read from MH i2c: E2 03 00 [21:34:04]MH_I2C_Read... [21:34:04]Read from MH i2c: E2 03 00 37 13 00 90 00 BE [21:34:04]RAPDU: 90 00 [21:34:04]wFMCommunicate OK [21:34:04]wFMCommunicate request_size=255 [21:34:04]MH_SAM_APDU [21:34:04]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 33 38 34 32 34 38 31 39 06 04 28 00 D0 9B D1 83 D0 BA D0 BE D0 B9 D0 BB 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 20 31 30 57 34 30 20 53 47 2F 43 44 20 31 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 CE C8 16 67 0E 04 04 00 CD 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 32 30 11 04 [21:34:04]Write to MH i2c: E2 02 01 38 13 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 33 38 34 32 34 38 31 39 06 04 28 00 D0 9B D1 83 D0 BA D0 BE D0 B9 D0 BB 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 20 31 30 57 34 30 20 53 47 2F 43 44 20 31 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 CE C8 16 67 0E 04 04 00 CD 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 32 30 11 04 00 00 6C [21:34:04]Write i2c OK [21:34:04]MH_I2C_Read... [21:34:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:34:04]Read from MH i2c: E2 [21:34:04]MH_I2C_Read... [21:34:04]Read from MH i2c: E2 03 00 [21:34:04]MH_I2C_Read... [21:34:04]Read from MH i2c: E2 03 00 38 13 00 90 00 BF [21:34:04]RAPDU: 90 00 [21:34:04]wFMCommunicate OK [21:34:04]wFMCommunicate request_size=41 [21:34:04]MH_SAM_APDU [21:34:04]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 34 5F 00 00 35 04 06 00 DC 78 3D 65 AA 4B [21:34:04]Write to MH i2c: E2 2C 00 39 13 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 34 5F 00 00 35 04 06 00 DC 78 3D 65 AA 4B 00 00 0D [21:34:04]Write i2c OK [21:34:04]MH_I2C_Read... [21:34:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:34:04]Read from MH i2c: E2 [21:34:04]MH_I2C_Read... [21:34:04]Read from MH i2c: E2 03 00 [21:34:04]MH_I2C_Read... [21:34:04]Read from MH i2c: E2 03 00 39 13 00 90 00 C0 [21:34:04]RAPDU: 90 00 [21:34:04]wFMCommunicate OK [21:34:04]wFMCommunicate request_size=4 [21:34:04]MH_SAM_APDU [21:34:04]CAPDU: 80 0D 03 02 [21:34:04]Write to MH i2c: E2 08 00 3A 13 80 0D 03 02 00 00 00 00 C8 [21:34:04]Write i2c OK [21:34:04]MH_I2C_Read... [21:34:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:34:04]Read from MH i2c: E2 [21:34:04]MH_I2C_Read... [21:34:04]Read from MH i2c: E2 0B 00 [21:34:04]MH_I2C_Read... [21:34:04]Read from MH i2c: E2 0B 00 3A 13 00 3E 41 10 D7 43 24 CD FE 90 00 61 [21:34:04]RAPDU: 3E 41 10 D7 43 24 CD FE 90 00 [21:34:04]wFMCommunicate OK [21:34:04]SAM_PROTO_SignData done [21:34:04]FM_MakeSignedData done [21:34:04]CreateOFDProtocolMessage [21:34:04]wFMCommunicate request_size=4 [21:34:04]MH_SAM_APDU [21:34:04]CAPDU: 80 11 00 00 [21:34:04]Write to MH i2c: E2 08 00 3B 13 80 11 00 00 00 00 00 00 C8 [21:34:04]Write i2c OK [21:34:04]MH_I2C_Read... [21:34:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:34:05]Read from MH i2c: E2 [21:34:05]MH_I2C_Read... [21:34:05]Read from MH i2c: E2 17 00 [21:34:05]MH_I2C_Read... [21:34:05]Read from MH i2c: E2 17 00 3B 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 15 [21:34:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:34:05]wFMCommunicate OK [21:34:05]CreateOFDProtocolMessage done [21:34:05]OFDSenderStorePacket 24372 [21:34:05]StoreOFDPacket docnum=24372 [21:34:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2E 01 00 00 E8 96 26 01 6F 3F 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 33 38 34 32 34 38 31 39 06 04 28 00 D0 9B D1 83 D0 BA D0 BE D0 B9 D0 BB 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 20 31 30 57 34 30 20 53 47 2F 43 44 20 31 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 CE C8 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 34 5F 00 00 35 04 06 00 DC 78 3D 65 AA 4B 3E 41 10 D7 43 24 CD FE [21:34:05]CheckFolder [21:34:05]dirname=/storage/ofd_packets [21:34:05]CheckFolder done [21:34:05]ProducePacketName [21:34:05]name=ofd_packets/00024372 [21:34:05]NVStorageSaveData ofd_packets/00024372 [21:34:05]File name is /storage/ofd_packets/00024372 [21:34:05]Write 332 bytes [21:34:05]NVStorageSaveData done [21:34:05]OFDSenderStorePacket done [21:34:05]KKMCreateOFDPacket done [21:34:05]NVStorageSaveData kkm_last_timestamp [21:34:05]File name is /storage/kkm_last_timestamp [21:34:05]Write 4 bytes [21:34:05]NVStorageSaveData done [21:34:05]ExternCall_PrintAddStr [21:34:05]wPrintStart [21:34:05]Write to MH i2c: 01 00 00 3C 13 4F [21:34:05]Write i2c OK [21:34:05]MH_I2C_Read... [21:34:05]Read from MH i2c: 01 [21:34:05]MH_I2C_Read... [21:34:05]Read from MH i2c: 01 07 00 [21:34:05]MH_I2C_Read... [21:34:05]Read from MH i2c: 01 07 00 3C 13 00 00 00 00 00 FF 0F 64 [21:34:05]RasterBufferAndPrint [21:34:05]line Счет N : (3)134893 [21:34:05]line ИНН: 02508201610067 [21:34:05]line Контрольно-Кассовый Чек [21:34:05]line ПРОДАЖА [21:34:05]line Товар: 4870238424819 [21:34:05]line Лукойл Супер 10W40 SG/CD 1л. [21:34:05]line 1.000 * 405.00 [21:34:05]line = 405.00 [21:34:05]line НДС 12% НСП 1% [21:34:05]line > о реализуемом товаре [21:34:05]line ИТОГО: 405.00 [21:34:05]line НСП 1% : 3.58 [21:34:05]line НДС 12% : 43.01 [21:34:05]line Наличными: 405.00 [21:34:05]line Безнал.: 0.00 [21:34:05]line Место: АЗС № 85 "Партнер Нефть" [21:34:05]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [21:34:05]line СНО: Общий режим [21:34:05]line Чек 76 21.10.2024 21:34 [21:34:05]line Смена: 461 ФФД: 1.0 [21:34:05]line ЗНМ: 0300000166 [21:34:05]line РНМ: 0000000000098120 [21:34:05]line Версия ККМ: 001 [21:34:05]line ФМ: 0000000000965420 [21:34:05]line ФД: 24372 [21:34:05]line ФПД: 242408984259147 [21:34:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T213406&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24372&fm=242408984259147&tin=02508201610067®Number=0000000000098120&sum=40500 [21:34:05]line 0 [21:34:05]OFD Sender: Processing packet 24372 [packets to send 5, broken 4] [21:34:05]ProducePacketName [21:34:05]name=ofd_packets/00024372 [21:34:05]OFD Sender: To server: pG, [21:34:05]CommunicateWithHost lk.salyk.kg:30040 [21:34:05]ConnectInit lk.salyk.kg [21:34:05]written 0, free lines is 4095 [21:34:05]Connected sock=11 [21:34: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 34 32 30 2E 01 00 00 E8 96 26 01 6F 3F 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 33 38 34 32 34 38 31 39 06 04 28 00 D0 9B D1 83 D0 BA D0 BE D0 B9 D0 BB 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 20 31 30 57 34 30 20 53 47 2F 43 44 20 31 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 CE C8 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 34 5F 00 00 35 04 06 00 DC 78 3D 65 AA 4B 3E 41 10 D7 43 24 CD FE [21:34:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 5D 3E 47 00 1B 3B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 34 5F 00 00 F4 03 04 00 74 74 16 67 B6 04 01 00 00 7B FE 5E 5C C8 99 F1 65 [21:34:05]CommunicateWithHost err = 0 [21:34:05]CheckOFDResponse [21:34:05]1017 (14) - 77093643461234 [21:34:05]1041 (16) - 0000000000965420 [21:34:05]1040 (4) - 24372 [21:34:05]1012 (4) - 21.10.2024 15:34 [21:34:05]1206 (1) - 0 [21:34:05]OFD Sender: Remove packet 24372 [21:34:05]ProducePacketName [21:34:05]name=ofd_packets/00024372 [21:34:05]NVStorageDeleteData [21:34:05]Write to MH i2c: 01 00 00 65 13 78 [21:34:05]Write i2c OK [21:34:05]MH_I2C_Read... [21:34:05]Read from MH i2c: 01 [21:34:05]MH_I2C_Read... [21:34:05]Read from MH i2c: 01 07 00 [21:34:05]MH_I2C_Read... [21:34:05]Read from MH i2c: 01 07 00 65 13 00 00 00 00 00 13 0D 9F [21:34:05]RasterBufferAndPrint [21:34:05]line [21:34:05]line [21:34:05]line [21:34:05]line [21:34:05]line [21:34:05]written 0, free lines is 3353 [21:34:05]process_action close_receipt done [21:34:05]requested_data is exist [21:34:05]produce_requested_data [21:34:05]requested_item fm.sn is exist - process it [21:34:05]wFMCommunicate request_size=4 [21:34:05]MH_SAM_APDU [21:34:05]CAPDU: 80 11 00 00 [21:34:05]Write to MH i2c: E2 08 00 6C 13 80 11 00 00 00 00 00 00 F9 [21:34:05]Write i2c OK [21:34:05]MH_I2C_Read... [21:34:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:34:05]Read from MH i2c: E2 [21:34:05]MH_I2C_Read... [21:34:05]Read from MH i2c: E2 17 00 [21:34:05]MH_I2C_Read... [21:34:05]Read from MH i2c: E2 17 00 6C 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 46 [21:34:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:34:05]wFMCommunicate OK [21:34:05]requested_item fd.num is exist - process it [21:34:05]SAM_PROTO_GetFieldsCounters [21:34:05]wFMCommunicate request_size=4 [21:34:05]MH_SAM_APDU [21:34:05]CAPDU: 80 13 00 00 [21:34:05]Write to MH i2c: E2 08 00 6D 13 80 13 00 00 00 00 00 00 FC [21:34:05]Write i2c OK [21:34:05]MH_I2C_Read... [21:34:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:34:05]Read from MH i2c: E2 [21:34:05]MH_I2C_Read... [21:34:05]Read from MH i2c: E2 62 00 [21:34:05]MH_I2C_Read... [21:34:05]Read from MH i2c: E2 62 00 6D 13 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 34 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 57 [21:34: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 34 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:34:05]wFMCommunicate OK [21:34:05]SAM_PROTO_GetFieldsCounters done [21:34:05]requested_item shift.num is exist - process it [21:34:05]requested_item shift.opened is exist - process it [21:34:05]req_shift_opened [21:34:05]FM_GetShiftState [21:34:05]SAM_PROTO_GetShiftState [21:34:05]wFMCommunicate request_size=4 [21:34:05]MH_SAM_APDU [21:34:05]CAPDU: 80 13 01 00 [21:34:05]Write to MH i2c: E2 08 00 6E 13 80 13 01 00 00 00 00 00 FE [21:34:06]Write i2c OK [21:34:06]MH_I2C_Read... [21:34:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:34:06]Read from MH i2c: E2 [21:34:06]MH_I2C_Read... [21:34:06]Read from MH i2c: E2 0E 00 [21:34:06]MH_I2C_Read... [21:34:06]Read from MH i2c: E2 0E 00 6E 13 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 48 [21:34:06]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [21:34:06]wFMCommunicate OK [21:34:06]SAM_PROTO_GetShiftState done [21:34:06]FM_GetShiftState done [21:34:06]req_shift_opened done [21:34:06]requested_item shift.open_date is exist - process it [21:34:06]req_shift_open_date [21:34:06]req_shift_open_date done [21:34:06]produce_requested_data done [21:34:06]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24372,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [21:34:06]process_action_free close_receipt [21:34:06]json_value_free [21:34:06]json_value_free done [21:34:06]process_json_proto returns [21:34:06]Send response to host [21:34:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24372,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [21:34:06]free response buf [21:34:06]execute_script done [21:34:06]execute_script returns [21:34:06]free content buf [21:34:06]Sock 9.Close socket [21:34:06]Sock 9.Thread stoped [21:34:06]OFD Sender: No OFD packet to send [21:34:11]OFD Sender: No OFD packet to send [21:34:16]OFD Sender: No OFD packet to send [21:34:21]OFD Sender: No OFD packet to send [21:34:26]OFD Sender: No OFD packet to send [21:34:31]OFD Sender: No OFD packet to send [21:34:36]OFD Sender: No OFD packet to send [21:34:41]OFD Sender: No OFD packet to send [21:34:46]OFD Sender: No OFD packet to send [21:34:51]OFD Sender: No OFD packet to send [21:34:56]OFD Sender: No OFD packet to send [21:35:01]OFD Sender: No OFD packet to send [21:35:06]OFD Sender: No OFD packet to send [21:35:11]OFD Sender: No OFD packet to send [21:35:16]OFD Sender: No OFD packet to send [21:35:21]OFD Sender: No OFD packet to send [21:35:26]OFD Sender: No OFD packet to send [21:35:31]OFD Sender: No OFD packet to send [21:35:36]OFD Sender: No OFD packet to send [21:35:41]OFD Sender: No OFD packet to send [21:35:46]OFD Sender: No OFD packet to send [21:35:51]OFD Sender: No OFD packet to send [21:35:56]OFD Sender: No OFD packet to send [21:36:01]OFD Sender: No OFD packet to send [21:36:06]OFD Sender: No OFD packet to send [21:36:11]OFD Sender: No OFD packet to send [21:36:16]OFD Sender: No OFD packet to send [21:36:21]OFD Sender: No OFD packet to send [21:36:26]OFD Sender: No OFD packet to send [21:36:31]OFD Sender: No OFD packet to send [21:36:36]OFD Sender: No OFD packet to send [21:36:41]OFD Sender: No OFD packet to send [21:36:46]OFD Sender: No OFD packet to send [21:36:51]OFD Sender: No OFD packet to send [21:36:56]OFD Sender: No OFD packet to send [21:37:01]OFD Sender: No OFD packet to send [21:37:06]OFD Sender: No OFD packet to send [21:37:11]OFD Sender: No OFD packet to send [21:37:16]OFD Sender: No OFD packet to send [21:37:21]OFD Sender: No OFD packet to send [21:37:26]OFD Sender: No OFD packet to send [21:37:31]OFD Sender: No OFD packet to send [21:37:36]OFD Sender: No OFD packet to send [21:37:41]OFD Sender: No OFD packet to send [21:37:46]OFD Sender: No OFD packet to send [21:37:51]OFD Sender: No OFD packet to send [21:37:56]OFD Sender: No OFD packet to send [21:38:01]OFD Sender: No OFD packet to send [21:38:06]OFD Sender: No OFD packet to send [21:38:11]OFD Sender: No OFD packet to send [21:38:16]OFD Sender: No OFD packet to send [21:38:21]OFD Sender: No OFD packet to send [21:38:26]OFD Sender: No OFD packet to send [21:38:31]OFD Sender: No OFD packet to send [21:38:36]OFD Sender: No OFD packet to send [21:38:41]OFD Sender: No OFD packet to send [21:38:46]OFD Sender: No OFD packet to send [21:38:51]OFD Sender: No OFD packet to send [21:38:56]OFD Sender: No OFD packet to send [21:39:01]OFD Sender: No OFD packet to send [21:39:06]OFD Sender: No OFD packet to send [21:39:11]OFD Sender: No OFD packet to send [21:39:16]OFD Sender: No OFD packet to send [21:39:21]OFD Sender: No OFD packet to send [21:39:26]OFD Sender: No OFD packet to send [21:39:31]OFD Sender: No OFD packet to send [21:39:36]OFD Sender: No OFD packet to send [21:39:41]OFD Sender: No OFD packet to send [21:39:46]OFD Sender: No OFD packet to send [21:39:51]OFD Sender: No OFD packet to send [21:39:56]OFD Sender: No OFD packet to send [21:40:01]OFD Sender: No OFD packet to send [21:40:06]OFD Sender: No OFD packet to send [21:40:11]OFD Sender: No OFD packet to send [21:40:16]OFD Sender: No OFD packet to send [21:40:21]OFD Sender: No OFD packet to send [21:40:26]OFD Sender: No OFD packet to send [21:40:31]OFD Sender: No OFD packet to send [21:40:36]OFD Sender: No OFD packet to send [21:40:41]OFD Sender: No OFD packet to send [21:40:46]OFD Sender: No OFD packet to send [21:40:51]OFD Sender: No OFD packet to send [21:40:56]OFD Sender: No OFD packet to send [21:41:01]OFD Sender: No OFD packet to send [21:41:06]OFD Sender: No OFD packet to send [21:41:11]OFD Sender: No OFD packet to send [21:41:16]OFD Sender: No OFD packet to send [21:41:21]OFD Sender: No OFD packet to send [21:41:26]OFD Sender: No OFD packet to send [21:41:31]OFD Sender: No OFD packet to send [21:41:36]OFD Sender: No OFD packet to send [21:41:41]OFD Sender: No OFD packet to send [21:41:46]OFD Sender: No OFD packet to send [21:41:51]OFD Sender: No OFD packet to send [21:41:56]OFD Sender: No OFD packet to send [21:42:01]OFD Sender: No OFD packet to send [21:42:06]OFD Sender: No OFD packet to send [21:42:11]OFD Sender: No OFD packet to send [21:42:16]OFD Sender: No OFD packet to send [21:42:21]OFD Sender: No OFD packet to send [21:42:26]OFD Sender: No OFD packet to send [21:42:31]OFD Sender: No OFD packet to send [21:42:36]OFD Sender: No OFD packet to send [21:42:41]OFD Sender: No OFD packet to send [21:42:46]OFD Sender: No OFD packet to send [21:42:51]OFD Sender: No OFD packet to send [21:42:56]OFD Sender: No OFD packet to send [21:43:01]OFD Sender: No OFD packet to send [21:43:06]OFD Sender: No OFD packet to send [21:43:11]OFD Sender: No OFD packet to send [21:43:16]OFD Sender: No OFD packet to send [21:43:21]OFD Sender: No OFD packet to send [21:43:26]OFD Sender: No OFD packet to send [21:43:31]OFD Sender: No OFD packet to send [21:43:36]OFD Sender: No OFD packet to send [21:43:41]OFD Sender: No OFD packet to send [21:43:46]OFD Sender: No OFD packet to send [21:43:51]OFD Sender: No OFD packet to send [21:43:56]OFD Sender: No OFD packet to send [21:44:01]OFD Sender: No OFD packet to send [21:44:06]OFD Sender: No OFD packet to send [21:44:11]OFD Sender: No OFD packet to send [21:44:16]OFD Sender: No OFD packet to send [21:44:21]OFD Sender: No OFD packet to send [21:44:26]OFD Sender: No OFD packet to send [21:44:31]OFD Sender: No OFD packet to send [21:44:36]OFD Sender: No OFD packet to send [21:44:41]OFD Sender: No OFD packet to send [21:44:46]OFD Sender: No OFD packet to send [21:44:51]OFD Sender: No OFD packet to send [21:44:56]OFD Sender: No OFD packet to send [21:45:01]OFD Sender: No OFD packet to send [21:45:06]OFD Sender: No OFD packet to send [21:45:11]OFD Sender: No OFD packet to send [21:45:16]OFD Sender: No OFD packet to send [21:45:21]OFD Sender: No OFD packet to send [21:45:26]OFD Sender: No OFD packet to send [21:45:31]OFD Sender: No OFD packet to send [21:45:36]OFD Sender: No OFD packet to send [21:45:41]OFD Sender: No OFD packet to send [21:45:46]OFD Sender: No OFD packet to send [21:45:51]OFD Sender: No OFD packet to send [21:45:56]OFD Sender: No OFD packet to send [21:46:01]OFD Sender: No OFD packet to send [21:46:06]OFD Sender: No OFD packet to send [21:46:11]OFD Sender: No OFD packet to send [21:46:16]OFD Sender: No OFD packet to send [21:46:21]OFD Sender: No OFD packet to send [21:46:26]OFD Sender: No OFD packet to send [21:46:31]OFD Sender: No OFD packet to send [21:46:36]OFD Sender: No OFD packet to send [21:46:41]OFD Sender: No OFD packet to send [21:46:46]OFD Sender: No OFD packet to send [21:46:51]OFD Sender: No OFD packet to send [21:46:56]OFD Sender: No OFD packet to send [21:47:01]OFD Sender: No OFD packet to send [21:47:06]OFD Sender: No OFD packet to send [21:47:11]OFD Sender: No OFD packet to send [21:47:16]OFD Sender: No OFD packet to send [21:47:21]OFD Sender: No OFD packet to send [21:47:26]OFD Sender: No OFD packet to send [21:47:30]accept exits with 8 [21:47:30]New connection [21:47:30]New thread 3067084132 created [21:47:30]Thread 3066940772 joined [21:47:30]Waiting for new connection... [21:47:30] Sock 8.Parse request [21:47:30]Sock 8.Check first char [21:47:30]Sock 8.First char is OK [21:47:30]request: POST /json_proto HTTP/1.0 [21:47:30]Method: POST [21:47:30]URL: /json_proto [21:47:30]Method is POST - this is cgi request [21:47:30]url: /json_proto [21:47:30]query_string will be loaded in cgi processing [21:47:30]execute_cgi json_proto POST (null) [21:47:30]execute_cgi path=json_proto method=POST [21:47:30]POST find Content-Length [21:47:30]Host: 172.17.50.4:8080 [21:47:30]Content-Length: 871 [21:47:30]Content-Type: application/json [21:47:30] [21:47:30]POST finish read [21:47:30]Found Content-Length = 871 [21:47:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134894", "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 }]} ,{ "code": "4630007400389", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 140\u0433", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 249.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:47:30]execute_script... [21:47: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)134894", "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 }]} ,{ "code": "4630007400389", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 140\u0433", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 249.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:47:30]POST & json_proto [21:47:30]process_json_proto [21:47:30]json parsed OK: [21:47:30]protocol is kg_v1.0 [21:47:30]action value=close_receipt [21:47:30]process_action close_receipt [21:47:30]cmd_close_receipt [21:47:30]MH_GetDate [21:47:30]Write to MH i2c: F0 00 00 6F 13 71 [21:47:30]Write i2c OK [21:47:30]MH_I2C_Read... [21:47:30]Read from MH i2c: F0 [21:47:30]MH_I2C_Read... [21:47:30]Read from MH i2c: F0 09 00 [21:47:30]MH_I2C_Read... [21:47:30]Read from MH i2c: F0 09 00 6F 13 00 F6 CB 16 67 3B 12 16 67 82 [21:47:30]GetLastDocTimeStamp 1729546446 [21:47:30]current date 1729547254 [21:47:30]FM_GetShiftState [21:47:30]SAM_PROTO_GetShiftState [21:47:30]wFMCommunicate request_size=4 [21:47:30]MH_SAM_APDU [21:47:30]CAPDU: 80 13 01 00 [21:47:30]Write to MH i2c: E2 08 00 70 13 80 13 01 00 00 00 00 00 00 [21:47:30]Write i2c OK [21:47:30]MH_I2C_Read... [21:47:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:47:30]Read from MH i2c: E2 [21:47:30]MH_I2C_Read... [21:47:30]Read from MH i2c: E2 0E 00 [21:47:30]MH_I2C_Read... [21:47:30]Read from MH i2c: E2 0E 00 70 13 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 4A [21:47:30]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [21:47:30]wFMCommunicate OK [21:47:30]SAM_PROTO_GetShiftState done [21:47:30]FM_GetShiftState done [21:47:30]opened in 1729469223 [21:47:30]opened+sec_in_day 1729555623 [21:47:30]quantity*price = 11900 [21:47:30]sum+1 = 11901 [21:47:30]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4630007400389 Семечки ДЖИНН 140г 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 249.00 НСП 1% : 2.20 НДС 12% : 26.44 Наличными: 249.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 77 21.10.2024 21:47 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24373 ФПД: 195819257769976 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T214734&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24373&fm=195819257769976&tin=02508201610067®Number=0000000000098120&sum=24900 0 [21:47:31]StoreToDocumentArchive [21:47:31]shift 461 fd 24373 [21:47:31]save to /storage/0461/doc_00024373 [21:47:31]save last doc name /storage/0461/doc_00024373 to /storage/kkm_last_doc_name [21:47:31]save OK [21:47:31]Clear old archive folders... [21:47:31]ProcessDocumentItem done err = 0, tmpTLVsize=369 [21:47:31]tlvbuf is 00375E00 [21:47:31]SAM_PROTO_ClearQueue [21:47:31]wFMCommunicate request_size=4 [21:47:31]MH_SAM_APDU [21:47:31]CAPDU: 80 09 00 00 [21:47:31]Write to MH i2c: E2 08 00 7D 13 80 09 00 00 00 00 00 00 02 [21:47:31]Write i2c OK [21:47:31]MH_I2C_Read... [21:47:31]Read from MH i2c: E2 [21:47:31]MH_I2C_Read... [21:47:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:47:31]Read from MH i2c: E2 03 00 [21:47:31]MH_I2C_Read... [21:47:31]Read from MH i2c: E2 03 00 7D 13 00 90 00 04 [21:47:31]RAPDU: 90 00 [21:47:31]wFMCommunicate OK [21:47:31]SAM_PROTO_ClearQueue done [21:47:31]KKMCreateOFDPacket [21:47:31]OFDProtocolAddRootSTLVToBuf [21:47:31]FM_MakeSignedData [21:47:31]FM_MakeSignedData [21:47:31]SAM_PROTO_SignData [21:47:31]wFMCommunicate request_size=4 [21:47:31]MH_SAM_APDU [21:47:31]CAPDU: 80 0D 01 02 [21:47:31]Write to MH i2c: E2 08 00 7E 13 80 0D 01 02 00 00 00 00 0A [21:47:31]Write i2c OK [21:47:31]MH_I2C_Read... [21:47:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:47:31]Read from MH i2c: E2 [21:47:31]MH_I2C_Read... [21:47:31]Read from MH i2c: E2 03 00 [21:47:31]MH_I2C_Read... [21:47:31]Read from MH i2c: E2 03 00 7E 13 00 90 00 05 [21:47:31]RAPDU: 90 00 [21:47:31]wFMCommunicate OK [21:47:31]wFMCommunicate request_size=255 [21:47:31]MH_SAM_APDU [21:47:31]CAPDU: 80 0D 02 02 FA 03 00 71 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 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 [21:47:31]Write to MH i2c: E2 02 01 7F 13 80 0D 02 02 FA 00 03 00 71 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 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 00 00 86 [21:47:31]Write i2c OK [21:47:31]MH_I2C_Read... [21:47:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:47:32]Read from MH i2c: E2 [21:47:32]MH_I2C_Read... [21:47:32]Read from MH i2c: E2 03 00 [21:47:32]MH_I2C_Read... [21:47:32]Read from MH i2c: E2 03 00 7F 13 00 90 00 06 [21:47:32]RAPDU: 90 00 [21:47:32]wFMCommunicate OK [21:47:32]wFMCommunicate request_size=128 [21:47:32]MH_SAM_APDU [21:47:32]CAPDU: 80 0D 02 02 7B F3 03 06 00 54 0A 00 00 00 00 07 04 06 00 44 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 4D 00 00 00 F4 03 04 00 F6 CB 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 35 5F 00 00 35 04 06 00 B2 18 B9 4C AF F8 [21:47:32]Write to MH i2c: E2 83 00 80 13 80 0D 02 02 7B 00 F3 03 06 00 54 0A 00 00 00 00 07 04 06 00 44 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 4D 00 00 00 F4 03 04 00 F6 CB 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 35 5F 00 00 35 04 06 00 B2 18 B9 4C AF F8 00 00 94 [21:47:32]Write i2c OK [21:47:32]MH_I2C_Read... [21:47:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:47:32]Read from MH i2c: E2 [21:47:32]MH_I2C_Read... [21:47:32]Read from MH i2c: E2 03 00 [21:47:32]MH_I2C_Read... [21:47:32]Read from MH i2c: E2 03 00 80 13 00 90 00 07 [21:47:32]RAPDU: 90 00 [21:47:32]wFMCommunicate OK [21:47:32]wFMCommunicate request_size=4 [21:47:32]MH_SAM_APDU [21:47:32]CAPDU: 80 0D 03 02 [21:47:32]Write to MH i2c: E2 08 00 81 13 80 0D 03 02 00 00 00 00 0F [21:47:32]Write i2c OK [21:47:32]MH_I2C_Read... [21:47:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:47:32]Read from MH i2c: E2 [21:47:32]MH_I2C_Read... [21:47:32]Read from MH i2c: E2 0B 00 [21:47:32]MH_I2C_Read... [21:47:32]Read from MH i2c: E2 0B 00 81 13 00 44 A4 00 20 4B EB 1A 0A 90 00 72 [21:47:32]RAPDU: 44 A4 00 20 4B EB 1A 0A 90 00 [21:47:32]wFMCommunicate OK [21:47:32]SAM_PROTO_SignData done [21:47:32]FM_MakeSignedData done [21:47:32]CreateOFDProtocolMessage [21:47:32]wFMCommunicate request_size=4 [21:47:32]MH_SAM_APDU [21:47:32]CAPDU: 80 11 00 00 [21:47:32]Write to MH i2c: E2 08 00 82 13 80 11 00 00 00 00 00 00 0F [21:47:32]Write i2c OK [21:47:32]MH_I2C_Read... [21:47:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:47:32]Read from MH i2c: E2 [21:47:32]MH_I2C_Read... [21:47:32]Read from MH i2c: E2 17 00 [21:47:32]MH_I2C_Read... [21:47:32]Read from MH i2c: E2 17 00 82 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 5C [21:47:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:47:32]wFMCommunicate OK [21:47:32]CreateOFDProtocolMessage done [21:47:32]OFDSenderStorePacket 24373 [21:47:32]StoreOFDPacket docnum=24373 [21:47:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 85 01 00 00 F6 D5 7D 01 8A 1E 5A 03 01 00 03 00 71 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 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 54 0A 00 00 00 00 07 04 06 00 44 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 4D 00 00 00 F4 03 04 00 F6 CB 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 35 5F 00 00 35 04 06 00 B2 18 B9 4C AF F8 44 A4 00 20 4B EB 1A 0A [21:47:32]CheckFolder [21:47:32]dirname=/storage/ofd_packets [21:47:32]CheckFolder done [21:47:32]ProducePacketName [21:47:32]name=ofd_packets/00024373 [21:47:32]NVStorageSaveData ofd_packets/00024373 [21:47:32]File name is /storage/ofd_packets/00024373 [21:47:32]Write 419 bytes [21:47:32]NVStorageSaveData done [21:47:32]OFDSenderStorePacket done [21:47:32]KKMCreateOFDPacket done [21:47:32]NVStorageSaveData kkm_last_timestamp [21:47:32]File name is /storage/kkm_last_timestamp [21:47:32]Write 4 bytes [21:47:32]NVStorageSaveData done [21:47:32]ExternCall_PrintAddStr [21:47:32]wPrintStart [21:47:32]Write to MH i2c: 01 00 00 83 13 96 [21:47:32]Write i2c OK [21:47:32]MH_I2C_Read... [21:47:32]Read from MH i2c: 01 [21:47:32]MH_I2C_Read... [21:47:32]Read from MH i2c: 01 07 00 [21:47:32]MH_I2C_Read... [21:47:32]Read from MH i2c: 01 07 00 83 13 00 00 00 00 00 FF 0F AB [21:47:32]RasterBufferAndPrint [21:47:32]line Счет N : (3)134894 [21:47:32]line ИНН: 02508201610067 [21:47:32]line Контрольно-Кассовый Чек [21:47:32]line ПРОДАЖА [21:47:32]line Товар: 4870001570071 [21:47:32]line Напиток Pepsi 1л [21:47:32]line 1.000 * 119.00 [21:47:32]line = 119.00 [21:47:32]line НДС 12% НСП 1% [21:47:32]line > о реализуемом товаре [21:47:32]line Товар: 4630007400389 [21:47:32]line Семечки ДЖИНН 140г [21:47:32]line 1.000 * 130.00 [21:47:32]line = 130.00 [21:47:32]line НДС 12% НСП 1% [21:47:32]line > о реализуемом товаре [21:47:32]line ИТОГО: 249.00 [21:47:32]line НСП 1% : 2.20 [21:47:32]line НДС 12% : 26.44 [21:47:32]line Наличными: 249.00 [21:47:32]line Безнал.: 0.00 [21:47:32]line Место: АЗС № 85 "Партнер Нефть" [21:47:32]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [21:47:32]line СНО: Общий режим [21:47:32]line Чек 77 21.10.2024 21:47 [21:47:32]line Смена: 461 ФФД: 1.0 [21:47:32]line ЗНМ: 0300000166 [21:47:32]line РНМ: 0000000000098120 [21:47:32]line Версия ККМ: 001 [21:47:32]line ФМ: 0000000000965420 [21:47:32]line ФД: 24373 [21:47:32]line ФПД: 195819257769976 [21:47:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T214734&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24373&fm=195819257769976&tin=02508201610067®Number=0000000000098120&sum=24900 [21:47:32]line 0 [21:47:32]OFD Sender: Processing packet 24373 [packets to send 5, broken 4] [21:47:32]ProducePacketName [21:47:32]name=ofd_packets/00024373 [21:47:32]OFD Sender: To server: pG, [21:47:32]CommunicateWithHost lk.salyk.kg:30040 [21:47:32]ConnectInit lk.salyk.kg [21:47:32]written 0, free lines is 4095 [21:47:32]Connected sock=10 [21:47: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 34 32 30 85 01 00 00 F6 D5 7D 01 8A 1E 5A 03 01 00 03 00 71 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 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 54 0A 00 00 00 00 07 04 06 00 44 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 4D 00 00 00 F4 03 04 00 F6 CB 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 35 5F 00 00 35 04 06 00 B2 18 B9 4C AF F8 44 A4 00 20 4B EB 1A 0A [21:47:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 C4 97 47 00 D7 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 34 32 30 10 04 04 00 35 5F 00 00 F4 03 04 00 9B 77 16 67 B6 04 01 00 00 55 F1 A8 CE DF 41 1E 54 [21:47:33]CommunicateWithHost err = 0 [21:47:33]CheckOFDResponse [21:47:33]1017 (14) - 77093643461234 [21:47:33]1041 (16) - 0000000000965420 [21:47:33]1040 (4) - 24373 [21:47:33]1012 (4) - 21.10.2024 15:47 [21:47:33]1206 (1) - 0 [21:47:33]OFD Sender: Remove packet 24373 [21:47:33]ProducePacketName [21:47:33]name=ofd_packets/00024373 [21:47:33]NVStorageDeleteData [21:47:33]Write to MH i2c: 01 00 00 B1 13 C4 [21:47:33]Write i2c OK [21:47:33]MH_I2C_Read... [21:47:33]Read from MH i2c: 01 [21:47:33]MH_I2C_Read... [21:47:33]Read from MH i2c: 01 07 00 [21:47:33]MH_I2C_Read... [21:47:33]Read from MH i2c: 01 07 00 B1 13 00 00 00 00 00 E6 0C BD [21:47:33]RasterBufferAndPrint [21:47:33]line [21:47:33]line [21:47:33]line [21:47:33]line [21:47:33]line [21:47:33]written 0, free lines is 3308 [21:47:33]process_action close_receipt done [21:47:33]requested_data is exist [21:47:33]produce_requested_data [21:47:33]requested_item fm.sn is exist - process it [21:47:33]wFMCommunicate request_size=4 [21:47:33]MH_SAM_APDU [21:47:33]CAPDU: 80 11 00 00 [21:47:33]Write to MH i2c: E2 08 00 B8 13 80 11 00 00 00 00 00 00 45 [21:47:33]Write i2c OK [21:47:33]MH_I2C_Read... [21:47:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:47:33]Read from MH i2c: E2 [21:47:33]MH_I2C_Read... [21:47:33]Read from MH i2c: E2 17 00 [21:47:33]MH_I2C_Read... [21:47:33]Read from MH i2c: E2 17 00 B8 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 92 [21:47:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:47:33]wFMCommunicate OK [21:47:33]requested_item fd.num is exist - process it [21:47:33]SAM_PROTO_GetFieldsCounters [21:47:33]wFMCommunicate request_size=4 [21:47:33]MH_SAM_APDU [21:47:33]CAPDU: 80 13 00 00 [21:47:33]Write to MH i2c: E2 08 00 B9 13 80 13 00 00 00 00 00 00 48 [21:47:33]Write i2c OK [21:47:33]MH_I2C_Read... [21:47:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:47:33]Read from MH i2c: E2 [21:47:33]MH_I2C_Read... [21:47:33]Read from MH i2c: E2 62 00 [21:47:33]MH_I2C_Read... [21:47:33]Read from MH i2c: E2 62 00 B9 13 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 35 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 A7 [21:47:33]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 35 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:47:33]wFMCommunicate OK [21:47:33]SAM_PROTO_GetFieldsCounters done [21:47:33]requested_item shift.num is exist - process it [21:47:33]requested_item shift.opened is exist - process it [21:47:33]req_shift_opened [21:47:33]FM_GetShiftState [21:47:33]SAM_PROTO_GetShiftState [21:47:33]wFMCommunicate request_size=4 [21:47:33]MH_SAM_APDU [21:47:33]CAPDU: 80 13 01 00 [21:47:33]Write to MH i2c: E2 08 00 BA 13 80 13 01 00 00 00 00 00 4A [21:47:33]Write i2c OK [21:47:33]MH_I2C_Read... [21:47:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:47:33]Read from MH i2c: E2 [21:47:33]MH_I2C_Read... [21:47:33]Read from MH i2c: E2 0E 00 [21:47:33]MH_I2C_Read... [21:47:33]Read from MH i2c: E2 0E 00 BA 13 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 94 [21:47:33]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [21:47:33]wFMCommunicate OK [21:47:33]SAM_PROTO_GetShiftState done [21:47:33]FM_GetShiftState done [21:47:33]req_shift_opened done [21:47:33]requested_item shift.open_date is exist - process it [21:47:33]req_shift_open_date [21:47:33]req_shift_open_date done [21:47:33]produce_requested_data done [21:47:33]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24373,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [21:47:33]process_action_free close_receipt [21:47:33]json_value_free [21:47:33]json_value_free done [21:47:33]process_json_proto returns [21:47:33]Send response to host [21:47:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24373,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [21:47:33]free response buf [21:47:33]execute_script done [21:47:33]execute_script returns [21:47:33]free content buf [21:47:33]Sock 8.Close socket [21:47:33]Sock 8.Thread stoped [21:47:33]OFD Sender: No OFD packet to send [21:47:38]OFD Sender: No OFD packet to send [21:47:43]OFD Sender: No OFD packet to send [21:47:48]OFD Sender: No OFD packet to send [21:47:53]OFD Sender: No OFD packet to send [21:47:58]OFD Sender: No OFD packet to send [21:48:03]OFD Sender: No OFD packet to send [21:48:08]OFD Sender: No OFD packet to send [21:48:13]OFD Sender: No OFD packet to send [21:48:18]OFD Sender: No OFD packet to send [21:48:23]OFD Sender: No OFD packet to send [21:48:28]OFD Sender: No OFD packet to send [21:48:33]OFD Sender: No OFD packet to send [21:48:38]OFD Sender: No OFD packet to send [21:48:43]OFD Sender: No OFD packet to send [21:48:48]OFD Sender: No OFD packet to send [21:48:53]OFD Sender: No OFD packet to send [21:48:58]OFD Sender: No OFD packet to send [21:49:03]OFD Sender: No OFD packet to send [21:49:08]OFD Sender: No OFD packet to send [21:49:13]OFD Sender: No OFD packet to send [21:49:18]OFD Sender: No OFD packet to send [21:49:23]OFD Sender: No OFD packet to send [21:49:28]OFD Sender: No OFD packet to send [21:49:33]OFD Sender: No OFD packet to send [21:49:38]OFD Sender: No OFD packet to send [21:49:43]OFD Sender: No OFD packet to send [21:49:48]OFD Sender: No OFD packet to send [21:49:53]OFD Sender: No OFD packet to send [21:49:58]OFD Sender: No OFD packet to send [21:50:03]OFD Sender: No OFD packet to send [21:50:08]OFD Sender: No OFD packet to send [21:50:13]OFD Sender: No OFD packet to send [21:50:18]OFD Sender: No OFD packet to send [21:50:23]OFD Sender: No OFD packet to send [21:50:28]OFD Sender: No OFD packet to send [21:50:33]OFD Sender: No OFD packet to send [21:50:38]OFD Sender: No OFD packet to send [21:50:43]OFD Sender: No OFD packet to send [21:50:48]OFD Sender: No OFD packet to send [21:50:53]OFD Sender: No OFD packet to send [21:50:58]OFD Sender: No OFD packet to send [21:51:03]OFD Sender: No OFD packet to send [21:51:08]OFD Sender: No OFD packet to send [21:51:13]OFD Sender: No OFD packet to send [21:51:18]OFD Sender: No OFD packet to send [21:51:23]OFD Sender: No OFD packet to send [21:51:28]OFD Sender: No OFD packet to send [21:51:33]OFD Sender: No OFD packet to send [21:51:38]OFD Sender: No OFD packet to send [21:51:43]OFD Sender: No OFD packet to send [21:51:48]OFD Sender: No OFD packet to send [21:51:53]OFD Sender: No OFD packet to send [21:51:58]OFD Sender: No OFD packet to send [21:52:03]OFD Sender: No OFD packet to send [21:52:08]OFD Sender: No OFD packet to send [21:52:13]OFD Sender: No OFD packet to send [21:52:18]OFD Sender: No OFD packet to send [21:52:23]OFD Sender: No OFD packet to send [21:52:28]OFD Sender: No OFD packet to send [21:52:33]OFD Sender: No OFD packet to send [21:52:38]OFD Sender: No OFD packet to send [21:52:43]OFD Sender: No OFD packet to send [21:52:48]OFD Sender: No OFD packet to send [21:52:53]OFD Sender: No OFD packet to send [21:52:58]OFD Sender: No OFD packet to send [21:53:03]OFD Sender: No OFD packet to send [21:53:08]OFD Sender: No OFD packet to send [21:53:13]OFD Sender: No OFD packet to send [21:53:18]OFD Sender: No OFD packet to send [21:53:23]OFD Sender: No OFD packet to send [21:53:28]OFD Sender: No OFD packet to send [21:53:33]OFD Sender: No OFD packet to send [21:53:38]OFD Sender: No OFD packet to send [21:53:43]OFD Sender: No OFD packet to send [21:53:48]OFD Sender: No OFD packet to send [21:53:53]OFD Sender: No OFD packet to send [21:53:58]OFD Sender: No OFD packet to send [21:54:03]OFD Sender: No OFD packet to send [21:54:08]OFD Sender: No OFD packet to send [21:54:13]OFD Sender: No OFD packet to send [21:54:18]OFD Sender: No OFD packet to send [21:54:23]OFD Sender: No OFD packet to send [21:54:28]OFD Sender: No OFD packet to send [21:54:33]OFD Sender: No OFD packet to send [21:54:38]OFD Sender: No OFD packet to send [21:54:43]OFD Sender: No OFD packet to send [21:54:48]OFD Sender: No OFD packet to send [21:54:53]OFD Sender: No OFD packet to send [21:54:58]OFD Sender: No OFD packet to send [21:55:03]OFD Sender: No OFD packet to send [21:55:08]OFD Sender: No OFD packet to send [21:55:13]OFD Sender: No OFD packet to send [21:55:18]OFD Sender: No OFD packet to send [21:55:23]OFD Sender: No OFD packet to send [21:55:28]OFD Sender: No OFD packet to send [21:55:33]OFD Sender: No OFD packet to send [21:55:38]OFD Sender: No OFD packet to send [21:55:43]OFD Sender: No OFD packet to send [21:55:48]OFD Sender: No OFD packet to send [21:55:53]OFD Sender: No OFD packet to send [21:55:58]OFD Sender: No OFD packet to send [21:56:03]OFD Sender: No OFD packet to send [21:56:08]OFD Sender: No OFD packet to send [21:56:13]OFD Sender: No OFD packet to send [21:56:18]OFD Sender: No OFD packet to send [21:56:23]OFD Sender: No OFD packet to send [21:56:29]OFD Sender: No OFD packet to send [21:56:34]OFD Sender: No OFD packet to send [21:56:39]OFD Sender: No OFD packet to send [21:56:44]OFD Sender: No OFD packet to send [21:56:49]OFD Sender: No OFD packet to send [21:56:54]OFD Sender: No OFD packet to send [21:56:59]OFD Sender: No OFD packet to send [21:57:04]OFD Sender: No OFD packet to send [21:57:09]OFD Sender: No OFD packet to send [21:57:14]OFD Sender: No OFD packet to send [21:57:19]OFD Sender: No OFD packet to send [21:57:24]OFD Sender: No OFD packet to send [21:57:29]OFD Sender: No OFD packet to send [21:57:34]OFD Sender: No OFD packet to send [21:57:39]OFD Sender: No OFD packet to send [21:57:44]OFD Sender: No OFD packet to send [21:57:49]OFD Sender: No OFD packet to send [21:57:54]OFD Sender: No OFD packet to send [21:57:59]OFD Sender: No OFD packet to send [21:58:04]OFD Sender: No OFD packet to send [21:58:09]OFD Sender: No OFD packet to send [21:58:14]OFD Sender: No OFD packet to send [21:58:19]OFD Sender: No OFD packet to send [21:58:24]OFD Sender: No OFD packet to send [21:58:29]OFD Sender: No OFD packet to send [21:58:34]OFD Sender: No OFD packet to send [21:58:39]OFD Sender: No OFD packet to send [21:58:44]OFD Sender: No OFD packet to send [21:58:49]OFD Sender: No OFD packet to send [21:58:54]OFD Sender: No OFD packet to send [21:58:59]OFD Sender: No OFD packet to send [21:59:04]OFD Sender: No OFD packet to send [21:59:09]OFD Sender: No OFD packet to send [21:59:14]OFD Sender: No OFD packet to send [21:59:19]OFD Sender: No OFD packet to send [21:59:24]OFD Sender: No OFD packet to send [21:59:29]OFD Sender: No OFD packet to send [21:59:34]OFD Sender: No OFD packet to send [21:59:39]OFD Sender: No OFD packet to send [21:59:44]OFD Sender: No OFD packet to send [21:59:49]OFD Sender: No OFD packet to send [21:59:54]OFD Sender: No OFD packet to send [21:59:59]OFD Sender: No OFD packet to send [22:00:04]OFD Sender: No OFD packet to send [22:00:09]OFD Sender: No OFD packet to send [22:00:14]OFD Sender: No OFD packet to send [22:00:19]OFD Sender: No OFD packet to send [22:00:24]OFD Sender: No OFD packet to send [22:00:29]OFD Sender: No OFD packet to send [22:00:34]OFD Sender: No OFD packet to send [22:00:39]OFD Sender: No OFD packet to send [22:00:44]OFD Sender: No OFD packet to send [22:00:49]OFD Sender: No OFD packet to send [22:00:54]OFD Sender: No OFD packet to send [22:00:59]OFD Sender: No OFD packet to send [22:01:04]OFD Sender: No OFD packet to send [22:01:09]OFD Sender: No OFD packet to send [22:01:14]OFD Sender: No OFD packet to send [22:01:19]OFD Sender: No OFD packet to send [22:01:24]OFD Sender: No OFD packet to send [22:01:29]OFD Sender: No OFD packet to send [22:01:34]OFD Sender: No OFD packet to send [22:01:39]OFD Sender: No OFD packet to send [22:01:44]OFD Sender: No OFD packet to send [22:01:49]OFD Sender: No OFD packet to send [22:01:54]OFD Sender: No OFD packet to send [22:01:59]OFD Sender: No OFD packet to send [22:02:04]OFD Sender: No OFD packet to send [22:02:09]OFD Sender: No OFD packet to send [22:02:14]OFD Sender: No OFD packet to send [22:02:19]OFD Sender: No OFD packet to send [22:02:24]OFD Sender: No OFD packet to send [22:02:29]OFD Sender: No OFD packet to send [22:02:34]OFD Sender: No OFD packet to send [22:02:39]OFD Sender: No OFD packet to send [22:02:44]OFD Sender: No OFD packet to send [22:02:49]OFD Sender: No OFD packet to send [22:02:54]OFD Sender: No OFD packet to send [22:02:59]OFD Sender: No OFD packet to send [22:03:04]OFD Sender: No OFD packet to send [22:03:09]OFD Sender: No OFD packet to send [22:03:14]OFD Sender: No OFD packet to send [22:03:19]OFD Sender: No OFD packet to send [22:03:24]OFD Sender: No OFD packet to send [22:03:26]accept exits with 9 [22:03:26]New connection [22:03:26]New thread 3066940772 created [22:03:26]Thread 3067084132 joined [22:03:26]Waiting for new connection... [22:03:26] Sock 9.Parse request [22:03:26]Sock 9.Check first char [22:03:26]Sock 9.First char is OK [22:03:26]request: POST /json_proto HTTP/1.0 [22:03:26]Method: POST [22:03:26]URL: /json_proto [22:03:26]Method is POST - this is cgi request [22:03:26]url: /json_proto [22:03:26]query_string will be loaded in cgi processing [22:03:26]execute_cgi json_proto POST (null) [22:03:26]execute_cgi path=json_proto method=POST [22:03:26]POST find Content-Length [22:03:26]Host: 172.17.50.4:8080 [22:03:26]Content-Length: 1488 [22:03:26]Content-Type: application/json [22:03:26] [22:03:26]POST finish read [22:03:26]Found Content-Length = 1488 [22:03:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134895", "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 }]} ,{ "code": "4700002082504", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,24\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "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" : 2.000, "sum" : 14.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 494.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:03:26]execute_script... [22:03: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)134895", "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 }]} ,{ "code": "4700002082504", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,24\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "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" : 2.000, "sum" : 14.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 494.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:03:26]POST & json_proto [22:03:26]process_json_proto [22:03:26]json parsed OK: [22:03:26]protocol is kg_v1.0 [22:03:26]action value=close_receipt [22:03:26]process_action close_receipt [22:03:26]cmd_close_receipt [22:03:26]MH_GetDate [22:03:26]Write to MH i2c: F0 00 00 BB 13 BD [22:03:26]Write i2c OK [22:03:26]MH_I2C_Read... [22:03:26]Read from MH i2c: F0 [22:03:26]MH_I2C_Read... [22:03:26]Read from MH i2c: F0 09 00 [22:03:26]MH_I2C_Read... [22:03:26]Read from MH i2c: F0 09 00 BB 13 00 B2 CF 16 67 3B 12 16 67 8E [22:03:26]GetLastDocTimeStamp 1729547254 [22:03:26]current date 1729548210 [22:03:27]FM_GetShiftState [22:03:27]SAM_PROTO_GetShiftState [22:03:27]wFMCommunicate request_size=4 [22:03:27]MH_SAM_APDU [22:03:27]CAPDU: 80 13 01 00 [22:03:27]Write to MH i2c: E2 08 00 BC 13 80 13 01 00 00 00 00 00 4C [22:03:27]Write i2c OK [22:03:27]MH_I2C_Read... [22:03:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:03:27]Read from MH i2c: E2 [22:03:27]MH_I2C_Read... [22:03:27]Read from MH i2c: E2 0E 00 [22:03:27]MH_I2C_Read... [22:03:27]Read from MH i2c: E2 0E 00 BC 13 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 96 [22:03:27]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [22:03:27]wFMCommunicate OK [22:03:27]SAM_PROTO_GetShiftState done [22:03:27]FM_GetShiftState done [22:03:27]opened in 1729469223 [22:03:27]opened+sec_in_day 1729555623 [22:03:27]quantity*price = 16000 [22:03:27]sum+1 = 16001 [22:03:27]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700002082504 Водка Белое золото 0,24л 1.000 * 200.00 = 200.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000189332 Холодный чай Fuse персик 1л 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 2.000 * 7.00 = 14.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 494.00 НСП 1% : 4.37 НДС 12% : 52.46 Наличными: 494.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 78 21.10.2024 22:03 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24374 ФПД: 56427645613048 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T220330&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24374&fm=56427645613048&tin=02508201610067®Number=0000000000098120&sum=49400 0 [22:03:28]StoreToDocumentArchive [22:03:28]shift 461 fd 24374 [22:03:28]save to /storage/0461/doc_00024374 [22:03:28]save last doc name /storage/0461/doc_00024374 to /storage/kkm_last_doc_name [22:03:28]save OK [22:03:28]Clear old archive folders... [22:03:28]ProcessDocumentItem done err = 0, tmpTLVsize=621 [22:03:28]tlvbuf is 00330020 [22:03:28]SAM_PROTO_ClearQueue [22:03:28]wFMCommunicate request_size=4 [22:03:28]MH_SAM_APDU [22:03:28]CAPDU: 80 09 00 00 [22:03:28]Write to MH i2c: E2 08 00 C9 13 80 09 00 00 00 00 00 00 4E [22:03:28]Write i2c OK [22:03:28]MH_I2C_Read... [22:03:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:03:28]Read from MH i2c: E2 [22:03:28]MH_I2C_Read... [22:03:28]Read from MH i2c: E2 03 00 [22:03:28]MH_I2C_Read... [22:03:28]Read from MH i2c: E2 03 00 C9 13 00 90 00 50 [22:03:28]RAPDU: 90 00 [22:03:28]wFMCommunicate OK [22:03:28]SAM_PROTO_ClearQueue done [22:03:28]KKMCreateOFDPacket [22:03:28]OFDProtocolAddRootSTLVToBuf [22:03:28]FM_MakeSignedData [22:03:28]FM_MakeSignedData [22:03:28]SAM_PROTO_SignData [22:03:28]wFMCommunicate request_size=4 [22:03:28]MH_SAM_APDU [22:03:28]CAPDU: 80 0D 01 02 [22:03:28]Write to MH i2c: E2 08 00 CA 13 80 0D 01 02 00 00 00 00 56 [22:03:28]Write i2c OK [22:03:28]MH_I2C_Read... [22:03:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:03:28]Read from MH i2c: E2 [22:03:28]MH_I2C_Read... [22:03:28]Read from MH i2c: E2 03 00 [22:03:28]MH_I2C_Read... [22:03:28]Read from MH i2c: E2 03 00 CA 13 00 90 00 51 [22:03:28]RAPDU: 90 00 [22:03:28]wFMCommunicate OK [22:03:28]wFMCommunicate request_size=255 [22:03:28]MH_SAM_APDU [22:03:28]CAPDU: 80 0D 02 02 FA 03 00 6D 02 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 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 35 30 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D [22:03:28]Write to MH i2c: E2 02 01 CB 13 80 0D 02 02 FA 00 03 00 6D 02 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 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 35 30 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 00 05 [22:03:28]Write i2c OK [22:03:28]MH_I2C_Read... [22:03:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:03:28]Read from MH i2c: E2 [22:03:28]MH_I2C_Read... [22:03:28]Read from MH i2c: E2 03 00 [22:03:28]MH_I2C_Read... [22:03:28]Read from MH i2c: E2 03 00 CB 13 00 90 00 52 [22:03:28]RAPDU: 90 00 [22:03:28]wFMCommunicate OK [22:03:28]wFMCommunicate request_size=255 [22:03:28]MH_SAM_APDU [22:03:28]CAPDU: 80 0D 02 02 FA 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 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 C0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 01 00 00 00 00 EE 03 0F 00 F2 03 01 [22:03:28]Write to MH i2c: E2 02 01 CC 13 80 0D 02 02 FA 00 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 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 C0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 00 CD [22:03:28]Write i2c OK [22:03:28]MH_I2C_Read... [22:03:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:03:29]Read from MH i2c: E2 [22:03:29]MH_I2C_Read... [22:03:29]Read from MH i2c: E2 03 00 [22:03:29]MH_I2C_Read... [22:03:29]Read from MH i2c: E2 03 00 CC 13 00 90 00 53 [22:03:29]RAPDU: 90 00 [22:03:29]wFMCommunicate OK [22:03:29]wFMCommunicate request_size=130 [22:03:29]MH_SAM_APDU [22:03:29]CAPDU: 80 0D 02 02 7D 00 01 F3 03 06 00 7E 14 00 00 00 00 07 04 06 00 F8 C0 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 B2 CF 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 36 5F 00 00 35 04 06 00 33 52 15 C5 B3 F8 [22:03:29]Write to MH i2c: E2 85 00 CD 13 80 0D 02 02 7D 00 00 01 F3 03 06 00 7E 14 00 00 00 00 07 04 06 00 F8 C0 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 B2 CF 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 36 5F 00 00 35 04 06 00 33 52 15 C5 B3 F8 00 00 83 [22:03:29]Write i2c OK [22:03:29]MH_I2C_Read... [22:03:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:03:29]Read from MH i2c: E2 [22:03:29]MH_I2C_Read... [22:03:29]Read from MH i2c: E2 03 00 [22:03:29]MH_I2C_Read... [22:03:29]Read from MH i2c: E2 03 00 CD 13 00 90 00 54 [22:03:29]RAPDU: 90 00 [22:03:29]wFMCommunicate OK [22:03:29]wFMCommunicate request_size=4 [22:03:29]MH_SAM_APDU [22:03:29]CAPDU: 80 0D 03 02 [22:03:29]Write to MH i2c: E2 08 00 CE 13 80 0D 03 02 00 00 00 00 5C [22:03:29]Write i2c OK [22:03:29]MH_I2C_Read... [22:03:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:03:29]Read from MH i2c: E2 [22:03:29]MH_I2C_Read... [22:03:29]Read from MH i2c: E2 0B 00 [22:03:29]MH_I2C_Read... [22:03:29]Read from MH i2c: E2 0B 00 CE 13 00 5D 50 AD 84 3C 32 8A CA 90 00 FD [22:03:29]RAPDU: 5D 50 AD 84 3C 32 8A CA 90 00 [22:03:29]wFMCommunicate OK [22:03:29]SAM_PROTO_SignData done [22:03:29]FM_MakeSignedData done [22:03:29]CreateOFDProtocolMessage [22:03:29]wFMCommunicate request_size=4 [22:03:29]MH_SAM_APDU [22:03:29]CAPDU: 80 11 00 00 [22:03:29]Write to MH i2c: E2 08 00 CF 13 80 11 00 00 00 00 00 00 5C [22:03:29]Write i2c OK [22:03:29]MH_I2C_Read... [22:03:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:03:29]Read from MH i2c: E2 [22:03:29]MH_I2C_Read... [22:03:29]Read from MH i2c: E2 17 00 [22:03:29]MH_I2C_Read... [22:03:29]Read from MH i2c: E2 17 00 CF 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 A9 [22:03:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [22:03:29]wFMCommunicate OK [22:03:29]CreateOFDProtocolMessage done [22:03:29]OFDSenderStorePacket 24374 [22:03:29]StoreOFDPacket docnum=24374 [22:03:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 81 02 00 00 CC D7 79 02 C1 5E 5A 03 01 00 03 00 6D 02 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 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 35 30 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 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 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 C0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 14 00 00 00 00 07 04 06 00 F8 C0 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 B2 CF 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 36 5F 00 00 35 04 06 00 33 52 15 C5 B3 F8 5D 50 AD 84 3C 32 8A CA [22:03:29]CheckFolder [22:03:29]dirname=/storage/ofd_packets [22:03:29]CheckFolder done [22:03:29]ProducePacketName [22:03:29]name=ofd_packets/00024374 [22:03:29]NVStorageSaveData ofd_packets/00024374 [22:03:29]File name is /storage/ofd_packets/00024374 [22:03:29]Write 671 bytes [22:03:29]NVStorageSaveData done [22:03:29]OFDSenderStorePacket done [22:03:29]KKMCreateOFDPacket done [22:03:29]NVStorageSaveData kkm_last_timestamp [22:03:29]File name is /storage/kkm_last_timestamp [22:03:29]Write 4 bytes [22:03:29]NVStorageSaveData done [22:03:29]ExternCall_PrintAddStr [22:03:29]wPrintStart [22:03:29]Write to MH i2c: 01 00 00 D0 13 E3 [22:03:29]Write i2c OK [22:03:29]MH_I2C_Read... [22:03:29]Read from MH i2c: 01 [22:03:29]MH_I2C_Read... [22:03:29]Read from MH i2c: 01 07 00 [22:03:29]MH_I2C_Read... [22:03:29]Read from MH i2c: 01 07 00 D0 13 00 00 00 00 00 FF 0F F8 [22:03:29]RasterBufferAndPrint [22:03:29]line Счет N : (3)134895 [22:03:29]line ИНН: 02508201610067 [22:03:29]line Контрольно-Кассовый Чек [22:03:29]line ПРОДАЖА [22:03:29]line Товар: 48741958 [22:03:29]line Сигареты Parliament Aqua Blue [22:03:29]line 1.000 * 160.00 [22:03:29]line = 160.00 [22:03:29]line НДС 12% НСП 1% [22:03:29]line > о реализуемом товаре [22:03:29]line Товар: 4700002082504 [22:03:29]line Водка Белое золото 0,24л [22:03:29]line 1.000 * 200.00 [22:03:29]line = 200.00 [22:03:29]line НДС 12% НСП 1% [22:03:29]line > о реализуемом товаре [22:03:29]line Товар: 5449000189332 [22:03:29]line Холодный чай Fuse персик 1л [22:03:29]line 1.000 * 120.00 [22:03:29]line = 120.00 [22:03:29]line НДС 12% НСП 1% [22:03:29]line > о реализуемом товаре [22:03:29]line Товар: 2000053020015 [22:03:29]line Бумажные стаканы 250мл 1шт [22:03:29]line 2.000 * 7.00 [22:03:29]line = 14.00 [22:03:29]line НДС 12% НСП 1% [22:03:29]line > о реализуемом товаре [22:03:29]line ИТОГО: 494.00 [22:03:29]line НСП 1% : 4.37 [22:03:29]line НДС 12% : 52.46 [22:03:29]line Наличными: 494.00 [22:03:29]line Безнал.: 0.00 [22:03:29]line Место: АЗС № 85 "Партнер Нефть" [22:03:29]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [22:03:29]line СНО: Общий режим [22:03:29]line Чек 78 21.10.2024 22:03 [22:03:29]line Смена: 461 ФФД: 1.0 [22:03:29]line ЗНМ: 0300000166 [22:03:29]line РНМ: 0000000000098120 [22:03:29]line Версия ККМ: 001 [22:03:29]line ФМ: 0000000000965420 [22:03:29]line ФД: 24374 [22:03:29]line ФПД: 56427645613048 [22:03:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T220330&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24374&fm=56427645613048&tin=02508201610067®Number=0000000000098120&sum=49400 [22:03:29]OFD Sender: Processing packet 24374 [packets to send 5, broken 4] [22:03:29]ProducePacketName [22:03:29]name=ofd_packets/00024374 [22:03:29]OFD Sender: To server: pG, [22:03:29]CommunicateWithHost lk.salyk.kg:30040 [22:03:29]ConnectInit lk.salyk.kg [22:03:29]line 0 [22:03:29]written 0, free lines is 4095 [22:03:29]Connected sock=10 [22:03: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 34 32 30 81 02 00 00 CC D7 79 02 C1 5E 5A 03 01 00 03 00 6D 02 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 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 35 30 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 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 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 C0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 14 00 00 00 00 07 04 06 00 F8 C0 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 B2 CF 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 36 5F 00 00 35 04 06 00 33 52 15 C5 B3 F8 5D 50 AD 84 3C 32 8A CA [22:03:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 1F 32 47 00 B6 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 34 32 30 10 04 04 00 36 5F 00 00 F4 03 04 00 58 7B 16 67 B6 04 01 00 00 78 98 F4 1F FF EA 83 5E [22:03:29]CommunicateWithHost err = 0 [22:03:29]CheckOFDResponse [22:03:29]1017 (14) - 77093643461234 [22:03:29]1041 (16) - 0000000000965420 [22:03:29]1040 (4) - 24374 [22:03:29]1012 (4) - 21.10.2024 16:03 [22:03:29]1206 (1) - 0 [22:03:29]OFD Sender: Remove packet 24374 [22:03:29]ProducePacketName [22:03:29]name=ofd_packets/00024374 [22:03:29]NVStorageDeleteData [22:03:30]Write to MH i2c: 01 00 00 0C 14 20 [22:03:30]Write i2c OK [22:03:30]MH_I2C_Read... [22:03:30]Read from MH i2c: 01 [22:03:30]MH_I2C_Read... [22:03:30]Read from MH i2c: 01 07 00 [22:03:30]MH_I2C_Read... [22:03:30]Read from MH i2c: 01 07 00 0C 14 00 00 00 00 00 13 0C 46 [22:03:30]RasterBufferAndPrint [22:03:30]line [22:03:30]line [22:03:30]line [22:03:30]line [22:03:30]line [22:03:30]written 0, free lines is 3098 [22:03:30]process_action close_receipt done [22:03:30]requested_data is exist [22:03:30]produce_requested_data [22:03:30]requested_item fm.sn is exist - process it [22:03:30]wFMCommunicate request_size=4 [22:03:30]MH_SAM_APDU [22:03:30]CAPDU: 80 11 00 00 [22:03:30]Write to MH i2c: E2 08 00 13 14 80 11 00 00 00 00 00 00 A1 [22:03:30]Write i2c OK [22:03:30]MH_I2C_Read... [22:03:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:03:30]Read from MH i2c: E2 [22:03:30]MH_I2C_Read... [22:03:30]Read from MH i2c: E2 17 00 [22:03:30]MH_I2C_Read... [22:03:30]Read from MH i2c: E2 17 00 13 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 EE [22:03:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [22:03:30]wFMCommunicate OK [22:03:30]requested_item fd.num is exist - process it [22:03:30]SAM_PROTO_GetFieldsCounters [22:03:30]wFMCommunicate request_size=4 [22:03:30]MH_SAM_APDU [22:03:30]CAPDU: 80 13 00 00 [22:03:30]Write to MH i2c: E2 08 00 14 14 80 13 00 00 00 00 00 00 A4 [22:03:30]Write i2c OK [22:03:30]MH_I2C_Read... [22:03:30]OFD Sender: No OFD packet to send [22:03:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:03:30]Read from MH i2c: E2 [22:03:30]MH_I2C_Read... [22:03:30]Read from MH i2c: E2 62 00 [22:03:30]MH_I2C_Read... [22:03:30]Read from MH i2c: E2 62 00 14 14 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 36 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 07 [22:03:30]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 36 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:03:30]wFMCommunicate OK [22:03:30]SAM_PROTO_GetFieldsCounters done [22:03:30]requested_item shift.num is exist - process it [22:03:30]requested_item shift.opened is exist - process it [22:03:30]req_shift_opened [22:03:30]FM_GetShiftState [22:03:30]SAM_PROTO_GetShiftState [22:03:30]wFMCommunicate request_size=4 [22:03:30]MH_SAM_APDU [22:03:30]CAPDU: 80 13 01 00 [22:03:30]Write to MH i2c: E2 08 00 15 14 80 13 01 00 00 00 00 00 A6 [22:03:30]Write i2c OK [22:03:30]MH_I2C_Read... [22:03:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:03:30]Read from MH i2c: E2 [22:03:30]MH_I2C_Read... [22:03:30]Read from MH i2c: E2 0E 00 [22:03:30]MH_I2C_Read... [22:03:30]Read from MH i2c: E2 0E 00 15 14 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 F0 [22:03:30]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [22:03:30]wFMCommunicate OK [22:03:30]SAM_PROTO_GetShiftState done [22:03:30]FM_GetShiftState done [22:03:30]req_shift_opened done [22:03:30]requested_item shift.open_date is exist - process it [22:03:30]req_shift_open_date [22:03:30]req_shift_open_date done [22:03:30]produce_requested_data done [22:03:30]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24374,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [22:03:30]process_action_free close_receipt [22:03:30]json_value_free [22:03:30]json_value_free done [22:03:30]process_json_proto returns [22:03:30]Send response to host [22:03:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24374,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [22:03:30]free response buf [22:03:30]execute_script done [22:03:30]execute_script returns [22:03:30]free content buf [22:03:30]Sock 9.Close socket [22:03:30]Sock 9.Thread stoped [22:03:35]OFD Sender: No OFD packet to send [22:03:40]OFD Sender: No OFD packet to send [22:03:45]OFD Sender: No OFD packet to send [22:03:50]OFD Sender: No OFD packet to send [22:03:55]OFD Sender: No OFD packet to send [22:04:00]OFD Sender: No OFD packet to send [22:04:05]OFD Sender: No OFD packet to send [22:04:10]OFD Sender: No OFD packet to send [22:04:15]OFD Sender: No OFD packet to send [22:04:20]OFD Sender: No OFD packet to send [22:04:25]OFD Sender: No OFD packet to send [22:04:30]OFD Sender: No OFD packet to send [22:04:35]OFD Sender: No OFD packet to send [22:04:40]OFD Sender: No OFD packet to send [22:04:45]OFD Sender: No OFD packet to send [22:04:50]OFD Sender: No OFD packet to send [22:04:55]OFD Sender: No OFD packet to send [22:05:00]OFD Sender: No OFD packet to send [22:05:05]OFD Sender: No OFD packet to send [22:05:10]OFD Sender: No OFD packet to send [22:05:15]OFD Sender: No OFD packet to send [22:05:20]OFD Sender: No OFD packet to send [22:05:25]OFD Sender: No OFD packet to send [22:05:30]OFD Sender: No OFD packet to send [22:05:35]OFD Sender: No OFD packet to send [22:05:40]OFD Sender: No OFD packet to send [22:05:45]OFD Sender: No OFD packet to send [22:05:50]OFD Sender: No OFD packet to send [22:05:55]OFD Sender: No OFD packet to send [22:06:00]OFD Sender: No OFD packet to send [22:06:05]OFD Sender: No OFD packet to send [22:06:10]OFD Sender: No OFD packet to send [22:06:15]OFD Sender: No OFD packet to send [22:06:20]OFD Sender: No OFD packet to send [22:06:25]OFD Sender: No OFD packet to send [22:06:30]OFD Sender: No OFD packet to send [22:06:35]OFD Sender: No OFD packet to send [22:06:40]OFD Sender: No OFD packet to send [22:06:45]OFD Sender: No OFD packet to send [22:06:50]OFD Sender: No OFD packet to send [22:06:55]OFD Sender: No OFD packet to send [22:07:00]OFD Sender: No OFD packet to send [22:07:05]OFD Sender: No OFD packet to send [22:07:10]OFD Sender: No OFD packet to send [22:07:15]OFD Sender: No OFD packet to send [22:07:20]OFD Sender: No OFD packet to send [22:07:25]OFD Sender: No OFD packet to send [22:07:30]OFD Sender: No OFD packet to send [22:07:35]OFD Sender: No OFD packet to send [22:07:40]OFD Sender: No OFD packet to send [22:07:45]OFD Sender: No OFD packet to send [22:07:50]OFD Sender: No OFD packet to send [22:07:55]OFD Sender: No OFD packet to send [22:08:00]OFD Sender: No OFD packet to send [22:08:05]OFD Sender: No OFD packet to send [22:08:10]OFD Sender: No OFD packet to send [22:08:15]OFD Sender: No OFD packet to send [22:08:20]OFD Sender: No OFD packet to send [22:08:25]OFD Sender: No OFD packet to send [22:08:30]OFD Sender: No OFD packet to send [22:08:35]OFD Sender: No OFD packet to send [22:08:40]OFD Sender: No OFD packet to send [22:08:45]OFD Sender: No OFD packet to send [22:08:50]OFD Sender: No OFD packet to send [22:08:55]OFD Sender: No OFD packet to send [22:09:00]OFD Sender: No OFD packet to send [22:09:05]OFD Sender: No OFD packet to send [22:09:10]OFD Sender: No OFD packet to send [22:09:15]OFD Sender: No OFD packet to send [22:09:20]OFD Sender: No OFD packet to send [22:09:25]OFD Sender: No OFD packet to send [22:09:30]OFD Sender: No OFD packet to send [22:09:35]OFD Sender: No OFD packet to send [22:09:40]OFD Sender: No OFD packet to send [22:09:45]OFD Sender: No OFD packet to send [22:09:50]OFD Sender: No OFD packet to send [22:09:55]OFD Sender: No OFD packet to send [22:10:00]OFD Sender: No OFD packet to send [22:10:05]OFD Sender: No OFD packet to send [22:10:10]OFD Sender: No OFD packet to send [22:10:15]OFD Sender: No OFD packet to send [22:10:20]OFD Sender: No OFD packet to send [22:10:25]OFD Sender: No OFD packet to send [22:10:30]OFD Sender: No OFD packet to send [22:10:35]OFD Sender: No OFD packet to send [22:10:40]OFD Sender: No OFD packet to send [22:10:45]OFD Sender: No OFD packet to send [22:10:50]OFD Sender: No OFD packet to send [22:10:55]OFD Sender: No OFD packet to send [22:11:00]OFD Sender: No OFD packet to send [22:11:05]OFD Sender: No OFD packet to send [22:11:10]OFD Sender: No OFD packet to send [22:11:15]OFD Sender: No OFD packet to send [22:11:20]OFD Sender: No OFD packet to send [22:11:25]OFD Sender: No OFD packet to send [22:11:30]OFD Sender: No OFD packet to send [22:11:35]OFD Sender: No OFD packet to send [22:11:40]OFD Sender: No OFD packet to send [22:11:45]OFD Sender: No OFD packet to send [22:11:50]OFD Sender: No OFD packet to send [22:11:55]OFD Sender: No OFD packet to send [22:12:00]OFD Sender: No OFD packet to send [22:12:05]OFD Sender: No OFD packet to send [22:12:10]OFD Sender: No OFD packet to send [22:12:15]OFD Sender: No OFD packet to send [22:12:20]OFD Sender: No OFD packet to send [22:12:25]OFD Sender: No OFD packet to send [22:12:30]OFD Sender: No OFD packet to send [22:12:35]OFD Sender: No OFD packet to send [22:12:40]OFD Sender: No OFD packet to send [22:12:45]OFD Sender: No OFD packet to send [22:12:50]OFD Sender: No OFD packet to send [22:12:55]OFD Sender: No OFD packet to send [22:13:00]OFD Sender: No OFD packet to send [22:13:05]OFD Sender: No OFD packet to send [22:13:10]OFD Sender: No OFD packet to send [22:13:15]OFD Sender: No OFD packet to send [22:13:20]OFD Sender: No OFD packet to send [22:13:25]OFD Sender: No OFD packet to send [22:13:30]OFD Sender: No OFD packet to send [22:13:35]OFD Sender: No OFD packet to send [22:13:40]OFD Sender: No OFD packet to send [22:13:45]OFD Sender: No OFD packet to send [22:13:50]OFD Sender: No OFD packet to send [22:13:55]OFD Sender: No OFD packet to send [22:14:00]OFD Sender: No OFD packet to send [22:14:05]OFD Sender: No OFD packet to send [22:14:10]OFD Sender: No OFD packet to send [22:14:15]OFD Sender: No OFD packet to send [22:14:20]OFD Sender: No OFD packet to send [22:14:25]OFD Sender: No OFD packet to send [22:14:30]OFD Sender: No OFD packet to send [22:14:35]OFD Sender: No OFD packet to send [22:14:40]OFD Sender: No OFD packet to send [22:14:45]OFD Sender: No OFD packet to send [22:14:50]OFD Sender: No OFD packet to send [22:14:55]OFD Sender: No OFD packet to send [22:15:00]OFD Sender: No OFD packet to send [22:15:06]OFD Sender: No OFD packet to send [22:15:11]OFD Sender: No OFD packet to send [22:15:16]OFD Sender: No OFD packet to send [22:15:21]OFD Sender: No OFD packet to send [22:15:26]OFD Sender: No OFD packet to send [22:15:31]OFD Sender: No OFD packet to send [22:15:36]OFD Sender: No OFD packet to send [22:15:41]OFD Sender: No OFD packet to send [22:15:46]OFD Sender: No OFD packet to send [22:15:51]OFD Sender: No OFD packet to send [22:15:56]OFD Sender: No OFD packet to send [22:16:01]OFD Sender: No OFD packet to send [22:16:06]OFD Sender: No OFD packet to send [22:16:11]OFD Sender: No OFD packet to send [22:16:16]OFD Sender: No OFD packet to send [22:16:21]OFD Sender: No OFD packet to send [22:16:26]OFD Sender: No OFD packet to send [22:16:31]OFD Sender: No OFD packet to send [22:16:36]OFD Sender: No OFD packet to send [22:16:41]OFD Sender: No OFD packet to send [22:16:46]OFD Sender: No OFD packet to send [22:16:51]OFD Sender: No OFD packet to send [22:16:56]OFD Sender: No OFD packet to send [22:17:01]OFD Sender: No OFD packet to send [22:17:06]OFD Sender: No OFD packet to send [22:17:11]OFD Sender: No OFD packet to send [22:17:16]OFD Sender: No OFD packet to send [22:17:21]OFD Sender: No OFD packet to send [22:17:26]OFD Sender: No OFD packet to send [22:17:31]OFD Sender: No OFD packet to send [22:17:36]OFD Sender: No OFD packet to send [22:17:41]OFD Sender: No OFD packet to send [22:17:46]OFD Sender: No OFD packet to send [22:17:51]OFD Sender: No OFD packet to send [22:17:56]OFD Sender: No OFD packet to send [22:18:01]OFD Sender: No OFD packet to send [22:18:06]OFD Sender: No OFD packet to send [22:18:11]OFD Sender: No OFD packet to send [22:18:16]OFD Sender: No OFD packet to send [22:18:21]OFD Sender: No OFD packet to send [22:18:26]OFD Sender: No OFD packet to send [22:18:31]OFD Sender: No OFD packet to send [22:18:36]OFD Sender: No OFD packet to send [22:18:41]OFD Sender: No OFD packet to send [22:18:46]OFD Sender: No OFD packet to send [22:18:51]OFD Sender: No OFD packet to send [22:18:56]OFD Sender: No OFD packet to send [22:19:01]OFD Sender: No OFD packet to send [22:19:06]OFD Sender: No OFD packet to send [22:19:11]OFD Sender: No OFD packet to send [22:19:16]OFD Sender: No OFD packet to send [22:19:21]OFD Sender: No OFD packet to send [22:19:26]OFD Sender: No OFD packet to send [22:19:31]OFD Sender: No OFD packet to send [22:19:36]OFD Sender: No OFD packet to send [22:19:41]OFD Sender: No OFD packet to send [22:19:46]OFD Sender: No OFD packet to send [22:19:51]OFD Sender: No OFD packet to send [22:19:56]OFD Sender: No OFD packet to send [22:20:01]OFD Sender: No OFD packet to send [22:20:06]OFD Sender: No OFD packet to send [22:20:11]OFD Sender: No OFD packet to send [22:20:16]OFD Sender: No OFD packet to send [22:20:21]OFD Sender: No OFD packet to send [22:20:26]OFD Sender: No OFD packet to send [22:20:31]OFD Sender: No OFD packet to send [22:20:36]OFD Sender: No OFD packet to send [22:20:41]OFD Sender: No OFD packet to send [22:20:46]OFD Sender: No OFD packet to send [22:20:51]OFD Sender: No OFD packet to send [22:20:56]OFD Sender: No OFD packet to send [22:21:01]OFD Sender: No OFD packet to send [22:21:06]OFD Sender: No OFD packet to send [22:21:11]OFD Sender: No OFD packet to send [22:21:16]OFD Sender: No OFD packet to send [22:21:21]OFD Sender: No OFD packet to send [22:21:26]OFD Sender: No OFD packet to send [22:21:31]OFD Sender: No OFD packet to send [22:21:36]OFD Sender: No OFD packet to send [22:21:41]OFD Sender: No OFD packet to send [22:21:46]OFD Sender: No OFD packet to send [22:21:51]OFD Sender: No OFD packet to send [22:21:56]OFD Sender: No OFD packet to send [22:22:01]OFD Sender: No OFD packet to send [22:22:06]OFD Sender: No OFD packet to send [22:22:11]OFD Sender: No OFD packet to send [22:22:16]OFD Sender: No OFD packet to send [22:22:21]OFD Sender: No OFD packet to send [22:22:26]OFD Sender: No OFD packet to send [22:22:31]OFD Sender: No OFD packet to send [22:22:36]OFD Sender: No OFD packet to send [22:22:41]OFD Sender: No OFD packet to send [22:22:46]OFD Sender: No OFD packet to send [22:22:51]OFD Sender: No OFD packet to send [22:22:56]OFD Sender: No OFD packet to send [22:23:01]OFD Sender: No OFD packet to send [22:23:06]OFD Sender: No OFD packet to send [22:23:11]OFD Sender: No OFD packet to send [22:23:16]OFD Sender: No OFD packet to send [22:23:21]OFD Sender: No OFD packet to send [22:23:26]OFD Sender: No OFD packet to send [22:23:31]OFD Sender: No OFD packet to send [22:23:36]OFD Sender: No OFD packet to send [22:23:41]OFD Sender: No OFD packet to send [22:23:46]OFD Sender: No OFD packet to send [22:23:51]OFD Sender: No OFD packet to send [22:23:56]OFD Sender: No OFD packet to send [22:24:01]OFD Sender: No OFD packet to send [22:24:06]OFD Sender: No OFD packet to send [22:24:11]OFD Sender: No OFD packet to send [22:24:16]OFD Sender: No OFD packet to send [22:24:21]OFD Sender: No OFD packet to send [22:24:26]OFD Sender: No OFD packet to send [22:24:31]OFD Sender: No OFD packet to send [22:24:36]OFD Sender: No OFD packet to send [22:24:41]OFD Sender: No OFD packet to send [22:24:46]OFD Sender: No OFD packet to send [22:24:51]OFD Sender: No OFD packet to send [22:24:56]OFD Sender: No OFD packet to send [22:25:01]OFD Sender: No OFD packet to send [22:25:06]OFD Sender: No OFD packet to send [22:25:11]OFD Sender: No OFD packet to send [22:25:16]OFD Sender: No OFD packet to send [22:25:21]OFD Sender: No OFD packet to send [22:25:26]OFD Sender: No OFD packet to send [22:25:31]OFD Sender: No OFD packet to send [22:25:36]OFD Sender: No OFD packet to send [22:25:41]OFD Sender: No OFD packet to send [22:25:46]OFD Sender: No OFD packet to send [22:25:51]OFD Sender: No OFD packet to send [22:25:56]OFD Sender: No OFD packet to send [22:26:01]OFD Sender: No OFD packet to send [22:26:06]OFD Sender: No OFD packet to send [22:26:11]OFD Sender: No OFD packet to send [22:26:16]OFD Sender: No OFD packet to send [22:26:21]OFD Sender: No OFD packet to send [22:26:26]OFD Sender: No OFD packet to send [22:26:31]OFD Sender: No OFD packet to send [22:26:36]OFD Sender: No OFD packet to send [22:26:41]OFD Sender: No OFD packet to send [22:26:46]OFD Sender: No OFD packet to send [22:26:51]OFD Sender: No OFD packet to send [22:26:56]OFD Sender: No OFD packet to send [22:27:01]OFD Sender: No OFD packet to send [22:27:06]OFD Sender: No OFD packet to send [22:27:11]OFD Sender: No OFD packet to send [22:27:16]OFD Sender: No OFD packet to send [22:27:21]OFD Sender: No OFD packet to send [22:27:26]OFD Sender: No OFD packet to send [22:27:31]OFD Sender: No OFD packet to send [22:27:36]OFD Sender: No OFD packet to send [22:27:41]OFD Sender: No OFD packet to send [22:27:46]OFD Sender: No OFD packet to send [22:27:51]OFD Sender: No OFD packet to send [22:27:56]OFD Sender: No OFD packet to send [22:28:01]OFD Sender: No OFD packet to send [22:28:06]OFD Sender: No OFD packet to send [22:28:11]OFD Sender: No OFD packet to send [22:28:16]OFD Sender: No OFD packet to send [22:28:21]OFD Sender: No OFD packet to send [22:28:26]OFD Sender: No OFD packet to send [22:28:31]OFD Sender: No OFD packet to send [22:28:36]OFD Sender: No OFD packet to send [22:28:41]OFD Sender: No OFD packet to send [22:28:46]OFD Sender: No OFD packet to send [22:28:51]OFD Sender: No OFD packet to send [22:28:56]OFD Sender: No OFD packet to send [22:29:01]OFD Sender: No OFD packet to send [22:29:06]OFD Sender: No OFD packet to send [22:29:11]OFD Sender: No OFD packet to send [22:29:16]OFD Sender: No OFD packet to send [22:29:21]OFD Sender: No OFD packet to send [22:29:26]OFD Sender: No OFD packet to send [22:29:31]OFD Sender: No OFD packet to send [22:29:36]OFD Sender: No OFD packet to send [22:29:41]OFD Sender: No OFD packet to send [22:29:46]OFD Sender: No OFD packet to send [22:29:51]OFD Sender: No OFD packet to send [22:29:56]OFD Sender: No OFD packet to send [22:30:01]OFD Sender: No OFD packet to send [22:30:06]OFD Sender: No OFD packet to send [22:30:11]OFD Sender: No OFD packet to send [22:30:16]OFD Sender: No OFD packet to send [22:30:21]OFD Sender: No OFD packet to send [22:30:26]OFD Sender: No OFD packet to send [22:30:31]OFD Sender: No OFD packet to send [22:30:36]OFD Sender: No OFD packet to send [22:30:41]OFD Sender: No OFD packet to send [22:30:46]OFD Sender: No OFD packet to send [22:30:51]OFD Sender: No OFD packet to send [22:30:56]OFD Sender: No OFD packet to send [22:31:01]OFD Sender: No OFD packet to send [22:31:06]OFD Sender: No OFD packet to send [22:31:11]OFD Sender: No OFD packet to send [22:31:16]OFD Sender: No OFD packet to send [22:31:21]OFD Sender: No OFD packet to send [22:31:26]OFD Sender: No OFD packet to send [22:31:31]OFD Sender: No OFD packet to send [22:31:36]OFD Sender: No OFD packet to send [22:31:41]OFD Sender: No OFD packet to send [22:31:46]OFD Sender: No OFD packet to send [22:31:51]OFD Sender: No OFD packet to send [22:31:56]OFD Sender: No OFD packet to send [22:32:01]OFD Sender: No OFD packet to send [22:32:06]OFD Sender: No OFD packet to send [22:32:11]OFD Sender: No OFD packet to send [22:32:16]OFD Sender: No OFD packet to send [22:32:21]OFD Sender: No OFD packet to send [22:32:26]OFD Sender: No OFD packet to send [22:32:31]OFD Sender: No OFD packet to send [22:32:36]OFD Sender: No OFD packet to send [22:32:41]OFD Sender: No OFD packet to send [22:32:46]OFD Sender: No OFD packet to send [22:32:51]OFD Sender: No OFD packet to send [22:32:56]OFD Sender: No OFD packet to send [22:33:01]OFD Sender: No OFD packet to send [22:33:06]OFD Sender: No OFD packet to send [22:33:11]OFD Sender: No OFD packet to send [22:33:16]OFD Sender: No OFD packet to send [22:33:21]OFD Sender: No OFD packet to send [22:33:26]OFD Sender: No OFD packet to send [22:33:31]OFD Sender: No OFD packet to send [22:33:36]OFD Sender: No OFD packet to send [22:33:41]OFD Sender: No OFD packet to send [22:33:46]OFD Sender: No OFD packet to send [22:33:51]OFD Sender: No OFD packet to send [22:33:56]OFD Sender: No OFD packet to send [22:34:01]OFD Sender: No OFD packet to send [22:34:06]OFD Sender: No OFD packet to send [22:34:11]OFD Sender: No OFD packet to send [22:34:16]OFD Sender: No OFD packet to send [22:34:21]OFD Sender: No OFD packet to send [22:34:26]OFD Sender: No OFD packet to send [22:34:31]OFD Sender: No OFD packet to send [22:34:36]OFD Sender: No OFD packet to send [22:34:41]OFD Sender: No OFD packet to send [22:34:46]OFD Sender: No OFD packet to send [22:34:51]OFD Sender: No OFD packet to send [22:34:56]OFD Sender: No OFD packet to send [22:35:01]OFD Sender: No OFD packet to send [22:35:06]OFD Sender: No OFD packet to send [22:35:11]OFD Sender: No OFD packet to send [22:35:16]OFD Sender: No OFD packet to send [22:35:21]OFD Sender: No OFD packet to send [22:35:26]OFD Sender: No OFD packet to send [22:35:31]OFD Sender: No OFD packet to send [22:35:36]OFD Sender: No OFD packet to send [22:35:41]OFD Sender: No OFD packet to send [22:35:46]OFD Sender: No OFD packet to send [22:35:51]OFD Sender: No OFD packet to send [22:35:56]OFD Sender: No OFD packet to send [22:36:01]OFD Sender: No OFD packet to send [22:36:06]OFD Sender: No OFD packet to send [22:36:11]OFD Sender: No OFD packet to send [22:36:16]OFD Sender: No OFD packet to send [22:36:22]OFD Sender: No OFD packet to send [22:36:27]OFD Sender: No OFD packet to send [22:36:32]OFD Sender: No OFD packet to send [22:36:37]OFD Sender: No OFD packet to send [22:36:42]OFD Sender: No OFD packet to send [22:36:47]OFD Sender: No OFD packet to send [22:36:52]OFD Sender: No OFD packet to send [22:36:57]OFD Sender: No OFD packet to send [22:37:02]OFD Sender: No OFD packet to send [22:37:07]OFD Sender: No OFD packet to send [22:37:12]OFD Sender: No OFD packet to send [22:37:17]OFD Sender: No OFD packet to send [22:37:22]OFD Sender: No OFD packet to send [22:37:27]OFD Sender: No OFD packet to send [22:37:32]OFD Sender: No OFD packet to send [22:37:37]OFD Sender: No OFD packet to send [22:37:42]OFD Sender: No OFD packet to send [22:37:47]OFD Sender: No OFD packet to send [22:37:52]OFD Sender: No OFD packet to send [22:37:57]OFD Sender: No OFD packet to send [22:38:02]OFD Sender: No OFD packet to send [22:38:07]OFD Sender: No OFD packet to send [22:38:12]OFD Sender: No OFD packet to send [22:38:17]OFD Sender: No OFD packet to send [22:38:22]OFD Sender: No OFD packet to send [22:38:27]OFD Sender: No OFD packet to send [22:38:32]OFD Sender: No OFD packet to send [22:38:37]OFD Sender: No OFD packet to send [22:38:42]OFD Sender: No OFD packet to send [22:38:47]OFD Sender: No OFD packet to send [22:38:52]OFD Sender: No OFD packet to send [22:38:57]OFD Sender: No OFD packet to send [22:39:02]OFD Sender: No OFD packet to send [22:39:07]OFD Sender: No OFD packet to send [22:39:12]OFD Sender: No OFD packet to send [22:39:17]OFD Sender: No OFD packet to send [22:39:22]OFD Sender: No OFD packet to send [22:39:27]OFD Sender: No OFD packet to send [22:39:32]OFD Sender: No OFD packet to send [22:39:37]OFD Sender: No OFD packet to send [22:39:42]OFD Sender: No OFD packet to send [22:39:47]OFD Sender: No OFD packet to send [22:39:52]OFD Sender: No OFD packet to send [22:39:57]OFD Sender: No OFD packet to send [22:39:57]accept exits with 8 [22:39:57]New connection [22:39:57]New thread 3067084132 created [22:39:57]Thread 3066940772 joined [22:39:57]Waiting for new connection... [22:39:57] Sock 8.Parse request [22:39:57]Sock 8.Check first char [22:39:57]Sock 8.First char is OK [22:39:57]request: POST /json_proto HTTP/1.0 [22:39:57]Method: POST [22:39:57]URL: /json_proto [22:39:57]Method is POST - this is cgi request [22:39:57]url: /json_proto [22:39:57]query_string will be loaded in cgi processing [22:39:57]execute_cgi json_proto POST (null) [22:39:57]execute_cgi path=json_proto method=POST [22:39:57]POST find Content-Length [22:39:57]Host: 172.17.50.4:8080 [22:39:57]Content-Length: 609 [22:39:57]Content-Type: application/json [22:39:57] [22:39:57]POST finish read [22:39:57]Found Content-Length = 609 [22:39:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134896", "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" ] } } [22:39:57]execute_script... [22:39: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)134896", "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" ] } } [22:39:57]POST & json_proto [22:39:57]process_json_proto [22:39:57]json parsed OK: [22:39:57]protocol is kg_v1.0 [22:39:57]action value=close_receipt [22:39:57]process_action close_receipt [22:39:57]cmd_close_receipt [22:39:57]MH_GetDate [22:39:57]Write to MH i2c: F0 00 00 16 14 19 [22:39:57]Write i2c OK [22:39:57]MH_I2C_Read... [22:39:57]Read from MH i2c: F0 [22:39:57]MH_I2C_Read... [22:39:57]Read from MH i2c: F0 09 00 [22:39:57]MH_I2C_Read... [22:39:57]Read from MH i2c: F0 09 00 16 14 00 40 D8 16 67 3B 12 16 67 81 [22:39:57]GetLastDocTimeStamp 1729548210 [22:39:57]current date 1729550400 [22:39:57]FM_GetShiftState [22:39:57]SAM_PROTO_GetShiftState [22:39:57]wFMCommunicate request_size=4 [22:39:57]MH_SAM_APDU [22:39:57]CAPDU: 80 13 01 00 [22:39:57]Write to MH i2c: E2 08 00 17 14 80 13 01 00 00 00 00 00 A8 [22:39:57]Write i2c OK [22:39:57]MH_I2C_Read... [22:39:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:39:57]Read from MH i2c: E2 [22:39:57]MH_I2C_Read... [22:39:57]Read from MH i2c: E2 0E 00 [22:39:57]MH_I2C_Read... [22:39:57]Read from MH i2c: E2 0E 00 17 14 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 F2 [22:39:57]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [22:39:57]wFMCommunicate OK [22:39:57]SAM_PROTO_GetShiftState done [22:39:57]FM_GetShiftState done [22:39:57]opened in 1729469223 [22:39:57]opened+sec_in_day 1729555623 [22:39:57]quantity*price = 13400 [22:39:57]sum+1 = 13401 [22:39:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 НСП 1% : 1.19 НДС 12% : 14.23 Наличными: 134.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 79 21.10.2024 22:40 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24375 ФПД: 266307201121727 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T224001&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24375&fm=266307201121727&tin=02508201610067®Number=0000000000098120&sum=13400 0 [22:39:58]StoreToDocumentArchive [22:39:58]shift 461 fd 24375 [22:39:58]save to /storage/0461/doc_00024375 [22:39:58]save last doc name /storage/0461/doc_00024375 to /storage/kkm_last_doc_name [22:39:58]save OK [22:39:58]Clear old archive folders... [22:39:58]ProcessDocumentItem done err = 0, tmpTLVsize=261 [22:39:58]tlvbuf is 003227A0 [22:39:58]SAM_PROTO_ClearQueue [22:39:58]wFMCommunicate request_size=4 [22:39:58]MH_SAM_APDU [22:39:58]CAPDU: 80 09 00 00 [22:39:58]Write to MH i2c: E2 08 00 24 14 80 09 00 00 00 00 00 00 AA [22:39:58]Write i2c OK [22:39:58]MH_I2C_Read... [22:39:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:39:58]Read from MH i2c: E2 [22:39:58]MH_I2C_Read... [22:39:58]Read from MH i2c: E2 03 00 [22:39:58]MH_I2C_Read... [22:39:58]Read from MH i2c: E2 03 00 24 14 00 90 00 AC [22:39:58]RAPDU: 90 00 [22:39:58]wFMCommunicate OK [22:39:58]SAM_PROTO_ClearQueue done [22:39:58]KKMCreateOFDPacket [22:39:58]OFDProtocolAddRootSTLVToBuf [22:39:58]FM_MakeSignedData [22:39:58]FM_MakeSignedData [22:39:58]SAM_PROTO_SignData [22:39:58]wFMCommunicate request_size=4 [22:39:58]MH_SAM_APDU [22:39:58]CAPDU: 80 0D 01 02 [22:39:58]Write to MH i2c: E2 08 00 25 14 80 0D 01 02 00 00 00 00 B2 [22:39:58]Write i2c OK [22:39:58]MH_I2C_Read... [22:39:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:39:58]Read from MH i2c: E2 [22:39:58]MH_I2C_Read... [22:39:58]Read from MH i2c: E2 03 00 [22:39:58]MH_I2C_Read... [22:39:58]Read from MH i2c: E2 03 00 25 14 00 90 00 AD [22:39:58]RAPDU: 90 00 [22:39:58]wFMCommunicate OK [22:39:58]wFMCommunicate request_size=255 [22:39:58]MH_SAM_APDU [22:39:58]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 4F 00 00 00 F4 03 04 00 41 D8 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 [22:39:58]Write to MH i2c: E2 02 01 26 14 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 4F 00 00 00 F4 03 04 00 41 D8 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 00 79 [22:39:58]Write i2c OK [22:39:58]MH_I2C_Read... [22:39:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:39:58]Read from MH i2c: E2 [22:39:58]MH_I2C_Read... [22:39:58]Read from MH i2c: E2 03 00 [22:39:58]MH_I2C_Read... [22:39:58]Read from MH i2c: E2 03 00 26 14 00 90 00 AE [22:39:58]RAPDU: 90 00 [22:39:58]wFMCommunicate OK [22:39:58]wFMCommunicate request_size=20 [22:39:58]MH_SAM_APDU [22:39:58]CAPDU: 80 0D 02 02 0F 00 37 5F 00 00 35 04 06 00 F2 34 7A 1F BD BF [22:39:58]Write to MH i2c: E2 17 00 27 14 80 0D 02 02 0F 00 00 37 5F 00 00 35 04 06 00 F2 34 7A 1F BD BF 00 00 E3 [22:39:58]Write i2c OK [22:39:58]MH_I2C_Read... [22:39:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:39:58]Read from MH i2c: E2 [22:39:58]MH_I2C_Read... [22:39:58]Read from MH i2c: E2 03 00 [22:39:58]MH_I2C_Read... [22:39:58]Read from MH i2c: E2 03 00 27 14 00 90 00 AF [22:39:58]RAPDU: 90 00 [22:39:58]wFMCommunicate OK [22:39:58]wFMCommunicate request_size=4 [22:39:58]MH_SAM_APDU [22:39:58]CAPDU: 80 0D 03 02 [22:39:58]Write to MH i2c: E2 08 00 28 14 80 0D 03 02 00 00 00 00 B7 [22:39:58]Write i2c OK [22:39:58]MH_I2C_Read... [22:39:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:39:58]Read from MH i2c: E2 [22:39:58]MH_I2C_Read... [22:39:58]Read from MH i2c: E2 0B 00 [22:39:58]MH_I2C_Read... [22:39:58]Read from MH i2c: E2 0B 00 28 14 00 9E 1C B3 E4 8F B1 D8 E1 90 00 02 [22:39:58]RAPDU: 9E 1C B3 E4 8F B1 D8 E1 90 00 [22:39:58]wFMCommunicate OK [22:39:58]SAM_PROTO_SignData done [22:39:58]FM_MakeSignedData done [22:39:58]CreateOFDProtocolMessage [22:39:58]wFMCommunicate request_size=4 [22:39:58]MH_SAM_APDU [22:39:58]CAPDU: 80 11 00 00 [22:39:58]Write to MH i2c: E2 08 00 29 14 80 11 00 00 00 00 00 00 B7 [22:39:58]Write i2c OK [22:39:58]MH_I2C_Read... [22:39:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:39:58]Read from MH i2c: E2 [22:39:58]MH_I2C_Read... [22:39:58]Read from MH i2c: E2 17 00 [22:39:58]MH_I2C_Read... [22:39:58]Read from MH i2c: E2 17 00 29 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 04 [22:39:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [22:39:58]wFMCommunicate OK [22:39:58]CreateOFDProtocolMessage done [22:39:58]OFDSenderStorePacket 24375 [22:39:58]StoreOFDPacket docnum=24375 [22:39:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 19 01 00 00 21 02 11 01 94 33 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 4F 00 00 00 F4 03 04 00 41 D8 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 37 5F 00 00 35 04 06 00 F2 34 7A 1F BD BF 9E 1C B3 E4 8F B1 D8 E1 [22:39:58]CheckFolder [22:39:58]dirname=/storage/ofd_packets [22:39:58]CheckFolder done [22:39:58]ProducePacketName [22:39:58]name=ofd_packets/00024375 [22:39:58]NVStorageSaveData ofd_packets/00024375 [22:39:58]File name is /storage/ofd_packets/00024375 [22:39:58]Write 311 bytes [22:39:58]NVStorageSaveData done [22:39:58]OFDSenderStorePacket done [22:39:58]KKMCreateOFDPacket done [22:39:58]NVStorageSaveData kkm_last_timestamp [22:39:58]File name is /storage/kkm_last_timestamp [22:39:58]Write 4 bytes [22:39:58]NVStorageSaveData done [22:39:58]ExternCall_PrintAddStr [22:39:58]wPrintStart [22:39:58]Write to MH i2c: 01 00 00 2A 14 3E [22:39:58]Write i2c OK [22:39:58]MH_I2C_Read... [22:39:58]Read from MH i2c: 01 [22:39:58]MH_I2C_Read... [22:39:58]Read from MH i2c: 01 07 00 [22:39:58]MH_I2C_Read... [22:39:58]Read from MH i2c: 01 07 00 2A 14 00 00 00 00 00 FF 0F 53 [22:39:58]RasterBufferAndPrint [22:39:58]line Счет N : (3)134896 [22:39:58]line ИНН: 02508201610067 [22:39:58]line Контрольно-Кассовый Чек [22:39:58]line ПРОДАЖА [22:39:58]line Товар: 48741156 [22:39:58]line Сигареты LD Blue [22:39:58]line 1.000 * 134.00 [22:39:58]line = 134.00 [22:39:58]line НДС 12% НСП 1% [22:39:58]line > о реализуемом товаре [22:39:58]line ИТОГО: 134.00 [22:39:58]line НСП 1% : 1.19 [22:39:58]line НДС 12% : 14.23 [22:39:58]line Наличными: 134.00 [22:39:58]line Безнал.: 0.00 [22:39:58]line Место: АЗС № 85 "Партнер Нефть" [22:39:58]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [22:39:58]line СНО: Общий режим [22:39:58]line Чек 79 21.10.2024 22:40 [22:39:58]line Смена: 461 ФФД: 1.0 [22:39:58]line ЗНМ: 0300000166 [22:39:58]line РНМ: 0000000000098120 [22:39:58]line Версия ККМ: 001 [22:39:58]line ФМ: 0000000000965420 [22:39:58]line ФД: 24375 [22:39:58]line ФПД: 266307201121727 [22:39:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T224001&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24375&fm=266307201121727&tin=02508201610067®Number=0000000000098120&sum=13400 [22:39:58]line 0 [22:39:59]written 0, free lines is 4095 [22:39:59]OFD Sender: Processing packet 24375 [packets to send 5, broken 4] [22:39:59]ProducePacketName [22:39:59]name=ofd_packets/00024375 [22:39:59]OFD Sender: To server: pG, [22:39:59]CommunicateWithHost lk.salyk.kg:30040 [22:39:59]ConnectInit lk.salyk.kg [22:39:59]Connected sock=10 [22:39: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 34 32 30 19 01 00 00 21 02 11 01 94 33 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 4F 00 00 00 F4 03 04 00 41 D8 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 37 5F 00 00 35 04 06 00 F2 34 7A 1F BD BF 9E 1C B3 E4 8F B1 D8 E1 [22:39:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 27 59 47 00 C8 E6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 37 5F 00 00 F4 03 04 00 E6 83 16 67 B6 04 01 00 00 4B C7 CF 5D 6E A4 90 FE [22:39:59]CommunicateWithHost err = 0 [22:39:59]CheckOFDResponse [22:39:59]1017 (14) - 77093643461234 [22:39:59]1041 (16) - 0000000000965420 [22:39:59]1040 (4) - 24375 [22:39:59]1012 (4) - 21.10.2024 16:40 [22:39:59]1206 (1) - 0 [22:39:59]OFD Sender: Remove packet 24375 [22:39:59]ProducePacketName [22:39:59]name=ofd_packets/00024375 [22:39:59]NVStorageDeleteData [22:39:59]int [22:39:59]Write to MH i2c: 01 00 00 47 14 5B [22:39:59]*** FLAG_PRN_PAP2 set [22:39:59]Read from MH i2c: DD [22:39:59]MH_I2C_Read... [22:39:59]Write i2c OK [22:39:59]MH_I2C_Read... [22:39:59]Read from MH i2c: DD 01 00 [22:39:59]MH_I2C_Read... [22:39:59]Read from MH i2c: DD [22:39:59]MH_I2C_Read... [22:39:59]Read from MH i2c: DD 01 00 47 14 05 3D [22:39:59]Error from MH - 05 [22:39:59]process_action_free close_receipt [22:39:59]json_value_free [22:39:59]json_value_free done [22:39:59]process_json_proto returns [22:39:59]Send response to host [22:39:59]{"protocol":"kg_v1.0","response":{"error":1033,"error_desc":"No paper"}} [22:39:59]free response buf [22:39:59]execute_script done [22:39:59]execute_script returns [22:39:59]free content buf [22:39:59]Sock 8.Close socket [22:39:59]Read from MH i2c: DD 01 00 [22:39:59]answer for other command [DD] [22:39:59]MH Int Process stopped [22:39:59]Sock 8.Thread stoped [22:40:00]OFD Sender: No OFD packet to send [22:40:05]OFD Sender: No OFD packet to send [22:40:10]OFD Sender: No OFD packet to send [22:40:15]OFD Sender: No OFD packet to send [22:40:20]OFD Sender: No OFD packet to send [22:40:25]OFD Sender: No OFD packet to send [22:40:30]OFD Sender: No OFD packet to send [22:40:35]OFD Sender: No OFD packet to send [22:40:40]OFD Sender: No OFD packet to send [22:40:45]OFD Sender: No OFD packet to send [22:40:50]OFD Sender: No OFD packet to send [22:40:55]OFD Sender: No OFD packet to send [22:41:00]OFD Sender: No OFD packet to send [22:41:05]OFD Sender: No OFD packet to send [22:41:10]OFD Sender: No OFD packet to send [22:41:15]OFD Sender: No OFD packet to send [22:41:20]OFD Sender: No OFD packet to send [22:41:25]OFD Sender: No OFD packet to send [22:41:30]OFD Sender: No OFD packet to send [22:41:35]OFD Sender: No OFD packet to send [22:41:40]OFD Sender: No OFD packet to send [22:41:45]OFD Sender: No OFD packet to send [22:41:50]OFD Sender: No OFD packet to send [22:41:55]OFD Sender: No OFD packet to send [22:42:00]OFD Sender: No OFD packet to send [22:42:05]OFD Sender: No OFD packet to send [22:42:10]OFD Sender: No OFD packet to send [22:42:15]OFD Sender: No OFD packet to send [22:42:20]OFD Sender: No OFD packet to send [22:42:25]OFD Sender: No OFD packet to send [22:42:30]OFD Sender: No OFD packet to send [22:42:35]OFD Sender: No OFD packet to send [22:42:40]OFD Sender: No OFD packet to send [22:42:45]OFD Sender: No OFD packet to send [22:42:50]OFD Sender: No OFD packet to send [22:42:55]OFD Sender: No OFD packet to send [22:43:00]OFD Sender: No OFD packet to send [22:43:05]OFD Sender: No OFD packet to send [22:43:10]OFD Sender: No OFD packet to send [22:43:15]OFD Sender: No OFD packet to send [22:43:20]OFD Sender: No OFD packet to send [22:43:25]OFD Sender: No OFD packet to send [22:43:30]OFD Sender: No OFD packet to send [22:43:35]OFD Sender: No OFD packet to send [22:43:40]OFD Sender: No OFD packet to send [22:43:45]OFD Sender: No OFD packet to send [22:43:50]OFD Sender: No OFD packet to send [22:43:55]OFD Sender: No OFD packet to send [22:44:00]OFD Sender: No OFD packet to send [22:44:05]OFD Sender: No OFD packet to send [22:44:10]OFD Sender: No OFD packet to send [22:44:15]OFD Sender: No OFD packet to send [22:44:20]OFD Sender: No OFD packet to send [22:44:25]OFD Sender: No OFD packet to send [22:44:30]OFD Sender: No OFD packet to send [22:44:35]OFD Sender: No OFD packet to send [22:44:40]OFD Sender: No OFD packet to send [22:44:45]OFD Sender: No OFD packet to send [22:44:50]OFD Sender: No OFD packet to send [22:44:55]OFD Sender: No OFD packet to send [22:45:00]OFD Sender: No OFD packet to send [22:45:05]OFD Sender: No OFD packet to send [22:45:10]OFD Sender: No OFD packet to send [22:45:15]OFD Sender: No OFD packet to send [22:45:20]OFD Sender: No OFD packet to send [22:45:25]OFD Sender: No OFD packet to send [22:45:30]OFD Sender: No OFD packet to send [22:45:35]OFD Sender: No OFD packet to send [22:45:40]OFD Sender: No OFD packet to send [22:45:45]OFD Sender: No OFD packet to send [22:45:50]OFD Sender: No OFD packet to send [22:45:55]OFD Sender: No OFD packet to send [22:46:00]OFD Sender: No OFD packet to send [22:46:05]OFD Sender: No OFD packet to send [22:46:10]OFD Sender: No OFD packet to send [22:46:15]OFD Sender: No OFD packet to send [22:46:20]OFD Sender: No OFD packet to send [22:46:25]OFD Sender: No OFD packet to send [22:46:30]OFD Sender: No OFD packet to send [22:46:35]OFD Sender: No OFD packet to send [22:46:40]OFD Sender: No OFD packet to send [22:46:45]OFD Sender: No OFD packet to send [22:46:50]OFD Sender: No OFD packet to send [22:46:55]OFD Sender: No OFD packet to send [22:47:00]OFD Sender: No OFD packet to send [22:47:05]OFD Sender: No OFD packet to send [22:47:10]OFD Sender: No OFD packet to send [22:47:15]OFD Sender: No OFD packet to send [22:47:20]OFD Sender: No OFD packet to send [22:47:25]OFD Sender: No OFD packet to send [22:47:30]OFD Sender: No OFD packet to send [22:47:35]OFD Sender: No OFD packet to send [22:47:40]OFD Sender: No OFD packet to send [22:47:45]OFD Sender: No OFD packet to send [22:47:50]OFD Sender: No OFD packet to send [22:47:55]OFD Sender: No OFD packet to send [22:48:00]OFD Sender: No OFD packet to send [22:48:05]OFD Sender: No OFD packet to send [22:48:10]OFD Sender: No OFD packet to send [22:48:15]OFD Sender: No OFD packet to send [22:48:20]OFD Sender: No OFD packet to send [22:48:25]OFD Sender: No OFD packet to send [22:48:30]OFD Sender: No OFD packet to send [22:48:35]OFD Sender: No OFD packet to send [22:48:40]OFD Sender: No OFD packet to send [22:48:45]OFD Sender: No OFD packet to send [22:48:50]OFD Sender: No OFD packet to send [22:48:55]OFD Sender: No OFD packet to send [22:49:00]OFD Sender: No OFD packet to send [22:49:05]OFD Sender: No OFD packet to send [22:49:10]OFD Sender: No OFD packet to send [22:49:15]OFD Sender: No OFD packet to send [22:49:20]OFD Sender: No OFD packet to send [22:49:25]OFD Sender: No OFD packet to send [22:49:30]OFD Sender: No OFD packet to send [22:49:35]OFD Sender: No OFD packet to send [22:49:40]OFD Sender: No OFD packet to send [22:49:45]OFD Sender: No OFD packet to send [22:49:50]OFD Sender: No OFD packet to send [22:49:55]OFD Sender: No OFD packet to send [22:50:00]OFD Sender: No OFD packet to send [22:50:05]OFD Sender: No OFD packet to send [22:50:10]OFD Sender: No OFD packet to send [22:50:15]OFD Sender: No OFD packet to send [22:50:20]OFD Sender: No OFD packet to send [22:50:25]OFD Sender: No OFD packet to send [22:50:30]OFD Sender: No OFD packet to send [22:50:35]OFD Sender: No OFD packet to send [22:50:40]OFD Sender: No OFD packet to send [22:50:45]OFD Sender: No OFD packet to send [22:50:50]OFD Sender: No OFD packet to send [22:50:55]OFD Sender: No OFD packet to send [22:51:00]OFD Sender: No OFD packet to send [22:51:05]OFD Sender: No OFD packet to send [22:51:10]OFD Sender: No OFD packet to send [22:51:15]OFD Sender: No OFD packet to send [22:51:20]OFD Sender: No OFD packet to send [22:51:25]OFD Sender: No OFD packet to send [22:51:30]OFD Sender: No OFD packet to send [22:51:35]OFD Sender: No OFD packet to send [22:51:40]OFD Sender: No OFD packet to send [22:51:45]OFD Sender: No OFD packet to send [22:51:50]OFD Sender: No OFD packet to send [22:51:55]OFD Sender: No OFD packet to send [22:52:00]OFD Sender: No OFD packet to send [22:52:05]OFD Sender: No OFD packet to send [22:52:10]OFD Sender: No OFD packet to send [22:52:15]OFD Sender: No OFD packet to send [22:52:20]OFD Sender: No OFD packet to send [22:52:25]OFD Sender: No OFD packet to send [22:52:30]OFD Sender: No OFD packet to send [22:52:35]OFD Sender: No OFD packet to send [22:52:40]OFD Sender: No OFD packet to send [22:52:45]OFD Sender: No OFD packet to send [22:52:50]OFD Sender: No OFD packet to send [22:52:55]OFD Sender: No OFD packet to send [22:53:00]OFD Sender: No OFD packet to send [22:53:05]OFD Sender: No OFD packet to send [22:53:10]OFD Sender: No OFD packet to send [22:53:15]OFD Sender: No OFD packet to send [22:53:20]OFD Sender: No OFD packet to send [22:53:25]OFD Sender: No OFD packet to send [22:53:30]OFD Sender: No OFD packet to send [22:53:35]OFD Sender: No OFD packet to send [22:53:40]OFD Sender: No OFD packet to send [22:53:45]OFD Sender: No OFD packet to send [22:53:50]OFD Sender: No OFD packet to send [22:53:55]OFD Sender: No OFD packet to send [22:54:00]OFD Sender: No OFD packet to send [22:54:05]OFD Sender: No OFD packet to send [22:54:10]OFD Sender: No OFD packet to send [22:54:15]OFD Sender: No OFD packet to send [22:54:20]OFD Sender: No OFD packet to send [22:54:25]OFD Sender: No OFD packet to send [22:54:30]OFD Sender: No OFD packet to send [22:54:35]OFD Sender: No OFD packet to send [22:54:40]OFD Sender: No OFD packet to send [22:54:45]OFD Sender: No OFD packet to send [22:54:50]OFD Sender: No OFD packet to send [22:54:55]OFD Sender: No OFD packet to send [22:55:00]OFD Sender: No OFD packet to send [22:55:05]OFD Sender: No OFD packet to send [22:55:10]OFD Sender: No OFD packet to send [22:55:15]OFD Sender: No OFD packet to send [22:55:20]OFD Sender: No OFD packet to send [22:55:25]OFD Sender: No OFD packet to send [22:55:30]OFD Sender: No OFD packet to send [22:55:35]OFD Sender: No OFD packet to send [22:55:40]OFD Sender: No OFD packet to send [22:55:45]OFD Sender: No OFD packet to send [22:55:50]OFD Sender: No OFD packet to send [22:55:55]OFD Sender: No OFD packet to send [22:56:00]OFD Sender: No OFD packet to send [22:56:05]OFD Sender: No OFD packet to send [22:56:10]OFD Sender: No OFD packet to send [22:56:15]OFD Sender: No OFD packet to send [22:56:20]OFD Sender: No OFD packet to send [22:56:25]OFD Sender: No OFD packet to send [22:56:30]OFD Sender: No OFD packet to send [22:56:35]OFD Sender: No OFD packet to send [22:56:40]OFD Sender: No OFD packet to send [22:56:45]OFD Sender: No OFD packet to send [22:56:50]OFD Sender: No OFD packet to send [22:56:55]OFD Sender: No OFD packet to send [22:57:00]OFD Sender: No OFD packet to send [22:57:05]OFD Sender: No OFD packet to send [22:57:10]OFD Sender: No OFD packet to send [22:57:15]OFD Sender: No OFD packet to send [22:57:20]OFD Sender: No OFD packet to send [22:57:25]OFD Sender: No OFD packet to send [22:57:30]OFD Sender: No OFD packet to send [22:57:35]OFD Sender: No OFD packet to send [22:57:40]OFD Sender: No OFD packet to send [22:57:45]OFD Sender: No OFD packet to send [22:57:50]OFD Sender: No OFD packet to send [22:57:55]OFD Sender: No OFD packet to send [22:58:00]OFD Sender: No OFD packet to send [22:58:05]OFD Sender: No OFD packet to send [22:58:10]OFD Sender: No OFD packet to send [22:58:15]OFD Sender: No OFD packet to send [22:58:20]OFD Sender: No OFD packet to send [22:58:25]OFD Sender: No OFD packet to send [22:58:30]OFD Sender: No OFD packet to send [22:58:35]OFD Sender: No OFD packet to send [22:58:40]OFD Sender: No OFD packet to send [22:58:45]OFD Sender: No OFD packet to send [22:58:50]OFD Sender: No OFD packet to send [22:58:55]OFD Sender: No OFD packet to send [22:59:00]OFD Sender: No OFD packet to send [22:59:05]OFD Sender: No OFD packet to send [22:59:10]OFD Sender: No OFD packet to send [22:59:15]OFD Sender: No OFD packet to send [22:59:20]OFD Sender: No OFD packet to send [22:59:25]OFD Sender: No OFD packet to send [22:59:30]OFD Sender: No OFD packet to send [22:59:35]OFD Sender: No OFD packet to send [22:59:40]OFD Sender: No OFD packet to send [22:59:45]OFD Sender: No OFD packet to send [22:59:50]OFD Sender: No OFD packet to send [22:59:55]OFD Sender: No OFD packet to send [23:00:01]OFD Sender: No OFD packet to send [23:00:06]OFD Sender: No OFD packet to send [23:00:11]OFD Sender: No OFD packet to send [23:00:16]OFD Sender: No OFD packet to send [23:00:21]OFD Sender: No OFD packet to send [23:00:26]OFD Sender: No OFD packet to send [23:00:31]OFD Sender: No OFD packet to send [23:00:36]OFD Sender: No OFD packet to send [23:00:41]OFD Sender: No OFD packet to send [23:00:46]OFD Sender: No OFD packet to send [23:00:51]OFD Sender: No OFD packet to send [23:00:56]OFD Sender: No OFD packet to send [23:01:01]OFD Sender: No OFD packet to send [23:01:06]OFD Sender: No OFD packet to send [23:01:11]OFD Sender: No OFD packet to send [23:01:16]OFD Sender: No OFD packet to send [23:01:21]OFD Sender: No OFD packet to send [23:01:26]OFD Sender: No OFD packet to send [23:01:31]OFD Sender: No OFD packet to send [23:01:36]OFD Sender: No OFD packet to send [23:01:41]OFD Sender: No OFD packet to send [23:01:46]OFD Sender: No OFD packet to send [23:01:51]OFD Sender: No OFD packet to send [23:01:56]OFD Sender: No OFD packet to send [23:02:01]OFD Sender: No OFD packet to send [23:02:06]OFD Sender: No OFD packet to send [23:02:11]OFD Sender: No OFD packet to send [23:02:16]OFD Sender: No OFD packet to send [23:02:21]OFD Sender: No OFD packet to send [23:02:26]OFD Sender: No OFD packet to send [23:02:31]OFD Sender: No OFD packet to send [23:02:36]OFD Sender: No OFD packet to send [23:02:41]OFD Sender: No OFD packet to send [23:02:46]OFD Sender: No OFD packet to send [23:02:51]OFD Sender: No OFD packet to send [23:02:56]OFD Sender: No OFD packet to send [23:03:01]OFD Sender: No OFD packet to send [23:03:06]OFD Sender: No OFD packet to send [23:03:11]OFD Sender: No OFD packet to send [23:03:16]OFD Sender: No OFD packet to send [23:03:21]OFD Sender: No OFD packet to send [23:03:26]OFD Sender: No OFD packet to send [23:03:31]OFD Sender: No OFD packet to send [23:03:36]OFD Sender: No OFD packet to send [23:03:41]OFD Sender: No OFD packet to send [23:03:46]OFD Sender: No OFD packet to send [23:03:51]OFD Sender: No OFD packet to send [23:03:56]OFD Sender: No OFD packet to send [23:04:01]OFD Sender: No OFD packet to send [23:04:06]OFD Sender: No OFD packet to send [23:04:11]OFD Sender: No OFD packet to send [23:04:16]OFD Sender: No OFD packet to send [23:04:21]OFD Sender: No OFD packet to send [23:04:26]OFD Sender: No OFD packet to send [23:04:31]OFD Sender: No OFD packet to send [23:04:36]OFD Sender: No OFD packet to send [23:04:41]OFD Sender: No OFD packet to send [23:04:45]*** FLAG_PRN_PAP1 set [23:04:45]*** FLAG_PRN_PAP1 reset [23:04:45]*** FLAG_PRN_PAP1 set [23:04:46]OFD Sender: No OFD packet to send [23:04:51]OFD Sender: No OFD packet to send [23:04:56]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 9F FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 44 [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]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]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:10]*** [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 540000000057259F (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:10]*** step 18: 2806 (1466, 1340 REF) [00:00:10]*** step 19: 2723 (1426, 1297 REF) [00:00:10]*** step 20: 2642 (1406, 1236 REF) [00:00:10]*** step 21: 2565 (1384, 1181 REF) [00:00:10]*** step 22: 2490 (1364, 1126 REF) [00:00:10]*** step 23: 2418 (1344, 1074 REF) [00:00:10]*** step 24: 2349 (1322, 1027 REF) [00:00:10]*** step 25: 2283 (1302, 981 REF) [00:00:10]*** step 26: 2218 (1282, 936 REF) [00:00:10]*** step 27: 2157 (1262, 895 REF) [00:00:10]*** step 28: 2097 (1242, 855 REF) [00:00:10]*** step 29: 2040 (1222, 818 REF) [00:00:10]*** step 30: 1985 (1202, 783 REF) [00:00:10]*** step 31: 1932 (1191, 741 REF) [00:00:10]*** step 32: 1880 (1181, 699 REF) [00:00:10]*** step 33: 1831 (1171, 660 REF) [00:00:10]*** step 34: 1784 (1161, 623 REF) [00:00:10]*** step 35: 1738 (1151, 587 REF) [00:00:10]*** step 36: 1694 (1141, 553 REF) [00:00:10]*** step 37: 1652 (1131, 521 REF) [00:00:10]*** step 38: 1611 (1121, 490 REF) [00:00:10]*** step 39: 1572 (1111, 461 REF) [00:00:10]*** step 40: 1534 (1103, 431 REF) [00:00:10]*** step 41: 1497 (1093, 404 REF) [00:00:10]*** step 42: 1462 (1083, 379 REF) [00:00:10]*** step 43: 1428 (1073, 355 REF) [00:00:10]*** step 44: 1396 (1063, 333 REF) [00:00:10]*** step 45: 1365 (1053, 312 REF) [00:00:10]*** step 46: 1334 (1043, 291 REF) [00:00:10]*** step 47: 1305 (1033, 272 REF) [00:00:10]*** step 48: 1277 (1023, 254 REF) [00:00:10]*** step 49: 1250 (1013, 237 REF) [00:00:10]*** step 50: 1224 (990, 234 REF) [00:00:10]*** step 51: 1199 (980, 219 REF) [00:00:10]*** step 52: 1175 (970, 205 REF) [00:00:10]*** step 53: 1152 (960, 192 REF) [00:00:10]*** step 54: 1130 (950, 180 REF) [00:00:10]*** step 55: 1108 (940, 168 REF) [00:00:10]*** step 56: 1088 (930, 158 REF) [00:00:10]*** step 57: 1068 (920, 148 REF) [00:00:10]*** step 58: 1049 (910, 139 REF) [00:00:10]*** step 59: 1030 (900, 130 REF) [00:00:10]*** step 60: 1012 (890, 122 REF) [00:00:10]*** step 61: 995 (880, 115 REF) [00:00:10]*** step 62: 979 (870, 109 REF) [00:00:10]*** step 63: 963 (860, 103 REF) [00:00:10]*** step 64: 948 (850, 98 REF) [00:00:10]*** step 65: 933 (840, 93 REF) [00:00:10]*** step 66: 919 (830, 89 REF) [00:00:10]*** step 67: 905 (820, 85 REF) [00:00:10]*** step 68: 892 (810, 82 REF) [00:00:10]*** step 69: 879 (800, 79 REF) [00:00:10]*** step 70: 867 (790, 77 REF) [00:00:10]*** step 71: 855 (780, 75 REF) [00:00:10]*** step 72: 844 (770, 74 REF) [00:00:10]*** step 73: 833 (760, 73 REF) [00:00:10]*** step 74: 822 (750, 72 REF) [00:00:10]*** step 75: 812 (740, 72 REF) [00:00:10]*** step 76: 803 (730, 73 REF) [00:00:10]*** step 77: 793 (720, 73 REF) [00:00:10]*** step 78: 784 (710, 74 REF) [00:00:10]*** step 79: 776 (700, 76 REF) [00:00:10]*** step 80: 767 (690, 77 REF) [00:00:10]*** step 81: 759 (680, 79 REF) [00:00:10]*** step 82: 751 (670, 81 REF) [00:00:10]*** step 83: 744 (660, 84 REF) [00:00:10]*** step 84: 737 (650, 87 REF) [00:00:10]*** step 85: 730 (640, 90 REF) [00:00:10]*** step 86: 723 (630, 93 REF) [00:00:10]*** step 87: 717 (620, 97 REF) [00:00:10]*** step 88: 710 (610, 100 REF) [00:00:10]*** step 89: 705 (600, 105 REF) [00:00:10]*** step 90: 699 [00:00:10]*** step 91: 693 [00:00:10]*** step 92: 688 [00:00:10]*** step 93: 683 [00:00:10]*** step 94: 678 [00:00:10]*** step 95: 673 [00:00:10]*** step 96: 669 [00:00:10]*** step 97: 664 [00:00:10]*** step 98: 660 [00:00:10]*** step 99: 656 [00:00:10]*** step 100: 652 [00:00:10]*** step 101: 648 [00:00:10]*** step 102: 644 [00:00:10]*** step 103: 641 [00:00:10]*** step 104: 638 [00:00:10]*** step 105: 634 [00:00:10]*** step 106: 631 [00:00:10]*** step 107: 628 [00:00:10]*** step 108: 625 [00:00:10]*** step 109: 622 [00:00:10]*** step 110: 620 [00:00:10]*** step 111: 617 [00:00:10]*** step 112: 615 [00:00:10]*** step 113: 612 [00:00:10]*** step 114: 610 [00:00:10]*** step 115: 608 [00:00:10]*** step 116: 605 [00:00:10]*** step 117: 603 [00:00:10]*** step 118: 601 [00:00:10]*** step 119: 599 [00:00:10]*** printer: Printer HW initialized [00:00:10]*** initSamCard finished [00:00:10]*** RTC: 52220+1729499707=1729551927 [00:00:10]*** BPK Status Register BPK_RDY = 0x0 [00:00:10]*** SEN State Register SEN_STATE = 0x20ff [00:00:10]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:10]*** Analog Control Register 0 SEN_ANA0 = 0x33540623 [00:00:10]*** 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 9F FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 45 [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 60 00 FF FF 7F [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 38 DE 16 67 3B 12 16 67 5C [23:05:28]Current date/time: 21.10.2024 23:05 [23:05:28]FM_Init [23:05:28]wFMConnect [23:05:28]MH_SAM_On [23:05:28]Write to MH i2c: E0 00 00 08 00 E7 [23:05:28]Write i2c OK [23:05:28]MH_I2C_Read... [23:05:28]*** iso7816_init finished! [23:05:28]*** atr: [23:05:28]*** 0F 3B D5 18 FF 81 91 FE [23:05:28]*** 1F C3 80 73 C8 21 10 0A [23:05:28]*** 00 00 00 00 00 00 00 00 [23:05:28]*** 00 00 00 00 00 00 00 00 [23:05:28]*** 00 00 00 00 00 00 00 00 [23:05:28]*** 00 00 00 00 00 00 00 00 [23:05:28]*** 00 00 00 00 00 00 00 00 [23:05:28]*** 00 00 00 00 00 00 00 00 [23:05:28]Read from MH i2c: E0 [23:05:28]MH_I2C_Read... [23:05:28]Read from MH i2c: E0 10 00 [23:05:28]MH_I2C_Read... [23:05:28]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 [23:05:28]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [23:05:28]wFMCommunicate request_size=10 [23:05:28]MH_SAM_APDU [23:05:28]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [23:05:28]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [23:05:28]Write i2c OK [23:05:28]MH_I2C_Read... [23:05:28]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [23:05:28]Read from MH i2c: E2 [23:05:28]MH_I2C_Read... [23:05:28]Read from MH i2c: E2 03 00 [23:05:28]MH_I2C_Read... [23:05:28]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [23:05:28]RAPDU: 90 00 [23:05:28]wFMCommunicate OK [23:05:28]wFMCommunicate request_size=4 [23:05:28]MH_SAM_APDU [23:05:28]CAPDU: 80 11 00 00 [23:05:28]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [23:05:28]Write i2c OK [23:05:28]MH_I2C_Read... [23:05:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:05:28]Read from MH i2c: E2 [23:05:28]MH_I2C_Read... [23:05:28]Read from MH i2c: E2 17 00 [23:05:28]MH_I2C_Read... [23:05:28]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 34 32 30 90 00 D1 [23:05:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:05:28]wFMCommunicate OK [23:05:28]Detected FM SN is 0000000000965420 [23:05:28]Stored FM SN is 0000000000965420 [23:05:28]wFMCommunicate request_size=9 [23:05:28]MH_SAM_APDU [23:05:28]CAPDU: 80 16 00 00 04 CC FB 00 00 [23:05:28]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 CC FB 00 00 00 00 59 [23:05:28]Write i2c OK [23:05:28]MH_I2C_Read... [23:05:28]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [23:05:28]Read from MH i2c: E2 [23:05:28]MH_I2C_Read... [23:05:28]Read from MH i2c: E2 03 00 [23:05:28]MH_I2C_Read... [23:05:28]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [23:05:28]RAPDU: 90 00 [23:05:28]wFMCommunicate OK [23:05:28]FM PIN OK [23:05:28]wFMCommunicate request_size=8 [23:05:28]MH_SAM_APDU [23:05:28]CAPDU: 80 14 04 00 03 02 00 01 [23:05:28]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [23:05:28]Write i2c OK [23:05:28]MH_I2C_Read... [23:05:28]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [23:05:28]Read from MH i2c: E2 [23:05:28]MH_I2C_Read... [23:05:28]Read from MH i2c: E2 03 00 [23:05:28]MH_I2C_Read... [23:05:28]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [23:05:28]RAPDU: 90 00 [23:05:28]wFMCommunicate OK [23:05:28]wFMCommunicate request_size=13 [23:05:28]MH_SAM_APDU [23:05:28]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [23:05:28]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 [23:05:28]Write i2c OK [23:05:28]MH_I2C_Read... [23:05:28]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [23:05:28]Read from MH i2c: E2 [23:05:28]MH_I2C_Read... [23:05:28]Read from MH i2c: E2 03 00 [23:05:28]MH_I2C_Read... [23:05:28]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [23:05:28]RAPDU: 90 00 [23:05:28]wFMCommunicate OK [23:05:28]wFMCommunicate request_size=4 [23:05:28]MH_SAM_APDU [23:05:28]CAPDU: 80 11 00 00 [23:05:28]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [23:05:28]Write i2c OK [23:05:28]MH_I2C_Read... [23:05:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:05:28]Read from MH i2c: E2 [23:05:28]MH_I2C_Read... [23:05:28]Read from MH i2c: E2 17 00 [23:05:28]MH_I2C_Read... [23:05:28]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 34 32 30 90 00 D5 [23:05:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:05:28]wFMCommunicate OK [23:05:28]DocumentArchiveInit [23:05:28]Start Httpd... [23:05:28]Httpd thread 3067882852 created [23:05:28]Write to MH i2c: 01 00 00 0F 00 0F [23:05:28]Write i2c OK [23:05:28]MH_I2C_Read... [23:05:28]Read from MH i2c: 01 [23:05:28]MH_I2C_Read... [23:05:28]Read from MH i2c: 01 07 00 [23:05:28]MH_I2C_Read... [23:05:28]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [23:05:28]MH Int Process started [23:05:28]Allocated Socket 8 [23:05:28]Bind OK [23:05:28]Listen OK [23:05:28]httpd running on port 8080 [23:05:28]Waiting for new connection... [23:05:28]OFD Sender: No OFD packet to send [23:05:29]accept exits with 9 [23:05:29]New connection [23:05:29]New thread 3067596132 created [23:05:29]Waiting for new connection... [23:05:29] Sock 9.Parse request [23:05:29]Sock 9.Check first char [23:05:29]Sock 9.First char is OK [23:05:29]request: POST /json_proto HTTP/1.0 [23:05:29]Method: POST [23:05:29]URL: /json_proto [23:05:29]Method is POST - this is cgi request [23:05:29]url: /json_proto [23:05:29]query_string will be loaded in cgi processing [23:05:29]execute_cgi json_proto POST (null) [23:05:29]execute_cgi path=json_proto method=POST [23:05:29]POST find Content-Length [23:05:29]Host: 172.17.50.4:8080 [23:05:29]Content-Length: 215 [23:05:29]Content-Type: application/json [23:05:29] [23:05:29]POST finish read [23:05:29]Found Content-Length = 215 [23:05:29]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:05:29]execute_script... [23:05:29]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:05:29]POST & json_proto [23:05:29]process_json_proto [23:05:29]json parsed OK: [23:05:29]protocol is kg_v1.0 [23:05:29]action value=get_value [23:05:29]process_action get_value [23:05:29]cmd_get_value [23:05:29]process_action get_value done [23:05:29]requested_data is exist [23:05:29]produce_requested_data [23:05:29]requested_item kkm.sn is exist - process it [23:05:29]requested_item kkm.ver is exist - process it [23:05:29]requested_item fm.sn is exist - process it [23:05:29]wFMCommunicate request_size=4 [23:05:29]MH_SAM_APDU [23:05:29]CAPDU: 80 11 00 00 [23:05:29]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [23:05:29]Write i2c OK [23:05:29]MH_I2C_Read... [23:05:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:05:30]Read from MH i2c: E2 [23:05:30]MH_I2C_Read... [23:05:30]Read from MH i2c: E2 17 00 [23:05:30]MH_I2C_Read... [23:05:30]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 34 32 30 90 00 D7 [23:05:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:05:30]wFMCommunicate OK [23:05:30]requested_item fd.num is exist - process it [23:05:30]SAM_PROTO_GetFieldsCounters [23:05:30]wFMCommunicate request_size=4 [23:05:30]MH_SAM_APDU [23:05:30]CAPDU: 80 13 00 00 [23:05:30]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [23:05:30]Write i2c OK [23:05:30]MH_I2C_Read... [23:05:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:05:30]Read from MH i2c: E2 [23:05:30]MH_I2C_Read... [23:05:30]Read from MH i2c: E2 62 00 [23:05:30]MH_I2C_Read... [23:05:30]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 37 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 F4 [23:05:30]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 37 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:05:30]wFMCommunicate OK [23:05:30]SAM_PROTO_GetFieldsCounters done [23:05:30]requested_item shift.num is exist - process it [23:05:30]requested_item shift.opened is exist - process it [23:05:30]req_shift_opened [23:05:30]FM_GetShiftState [23:05:30]SAM_PROTO_GetShiftState [23:05:30]wFMCommunicate request_size=4 [23:05:30]MH_SAM_APDU [23:05:30]CAPDU: 80 13 01 00 [23:05:30]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [23:05:30]Write i2c OK [23:05:30]MH_I2C_Read... [23:05:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:05:30]Read from MH i2c: E2 [23:05:30]MH_I2C_Read... [23:05:30]Read from MH i2c: E2 0E 00 [23:05:30]MH_I2C_Read... [23:05:30]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 D9 [23:05:30]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [23:05:30]wFMCommunicate OK [23:05:30]SAM_PROTO_GetShiftState done [23:05:30]FM_GetShiftState done [23:05:30]req_shift_opened done [23:05:30]requested_item shift.open_date is exist - process it [23:05:30]req_shift_open_date [23:05:30]req_shift_open_date done [23:05:30]produce_requested_data done [23:05:30]produce_requested_data return {"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24375,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [23:05:30]process_action_free get_value [23:05:30]json_value_free [23:05:30]json_value_free done [23:05:30]process_json_proto returns [23:05:30]Send response to host [23:05:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24375,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [23:05:30]free response buf [23:05:30]execute_script done [23:05:30]execute_script returns [23:05:30]free content buf [23:05:30]Sock 9.Close socket [23:05:30]Sock 9.Thread stoped [23:05:30]accept exits with 6 [23:05:30]New connection [23:05:30]New thread 3067452772 created [23:05:30]Thread 3067596132 joined [23:05:30]Waiting for new connection... [23:05:30] Sock 6.Parse request [23:05:30]Sock 6.Check first char [23:05:30]Sock 6.First char is OK [23:05:30]request: POST /json_proto HTTP/1.0 [23:05:30]Method: POST [23:05:30]URL: /json_proto [23:05:30]Method is POST - this is cgi request [23:05:30]url: /json_proto [23:05:30]query_string will be loaded in cgi processing [23:05:30]execute_cgi json_proto POST (null) [23:05:30]execute_cgi path=json_proto method=POST [23:05:30]POST find Content-Length [23:05:30]Host: 172.17.50.4:8080 [23:05:30]Content-Length: 331 [23:05:30]Content-Type: application/json [23:05:30] [23:05:30]POST finish read [23:05:30]Found Content-Length = 331 [23:05:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:05:30]execute_script... [23:05:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:05:30]POST & json_proto [23:05:30]process_json_proto [23:05:30]json parsed OK: [23:05:30]protocol is kg_v1.0 [23:05:30]action value=get_value [23:05:30]process_action get_value [23:05:30]cmd_get_value [23:05:30]process_action get_value done [23:05:30]requested_data is exist [23:05:30]produce_requested_data [23:05:30]requested_item fm.sale.total is exist - process it [23:05:30]SAM_PROTO_GetFMData [23:05:30]wFMCommunicate request_size=4 [23:05:30]MH_SAM_APDU [23:05:30]CAPDU: 80 13 03 00 [23:05:30]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [23:05:30]Write i2c OK [23:05:30]MH_I2C_Read... [23:05:30]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:05:30]Read from MH i2c: E2 [23:05:30]MH_I2C_Read... [23:05:30]Read from MH i2c: E2 FD 00 [23:05:30]MH_I2C_Read... [23:05:30]Read from MH i2c: E2 FD 00 13 00 00 C4 04 85 04 C0 04 6E 04 04 00 A4 5B 00 00 69 04 A0 00 6F 04 04 00 15 5B 00 00 B1 04 04 00 D2 84 0E 2C 70 04 04 00 28 66 1B 24 72 04 04 00 AA 1E F3 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 D5 AD 04 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 3E C6 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8F 00 00 00 B1 04 04 00 1C 26 AD 01 70 04 04 00 80 06 AA 01 72 04 03 00 9C 1F 03 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 DE 93 2D EF 03 09 00 90 00 0E [23:05:30]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 A4 5B 00 00 69 04 A0 00 6F 04 04 00 15 5B 00 00 B1 04 04 00 D2 84 0E 2C 70 04 04 00 28 66 1B 24 72 04 04 00 AA 1E F3 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 D5 AD 04 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 3E C6 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8F 00 00 00 B1 04 04 00 1C 26 AD 01 70 04 04 00 80 06 AA 01 72 04 03 00 9C 1F 03 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 DE 93 2D EF 03 09 00 90 00 [23:05:30]wFMCommunicate OK [23:05:30]wFMCommunicate request_size=4 [23:05:30]MH_SAM_APDU [23:05:30]CAPDU: 80 17 00 00 [23:05:30]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [23:05:30]Write i2c OK [23:05:30]MH_I2C_Read... [23:05:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:05:31]Read from MH i2c: E2 [23:05:31]MH_I2C_Read... [23:05:31]Read from MH i2c: E2 FD 00 [23:05:31]MH_I2C_Read... [23:05:31]Read from MH i2c: E2 FD 00 14 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 47 CC 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 60 [23:05:31]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 47 CC 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:05:31]wFMCommunicate OK [23:05:31]wFMCommunicate request_size=4 [23:05:31]MH_SAM_APDU [23:05:31]CAPDU: 80 17 00 00 [23:05:31]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [23:05:31]Write i2c OK [23:05:31]MH_I2C_Read... [23:05:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:05:31]Read from MH i2c: E2 [23:05:31]MH_I2C_Read... [23:05:31]Read from MH i2c: E2 FD 00 [23:05:31]MH_I2C_Read... [23:05:31]Read from MH i2c: E2 FD 00 15 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 AA [23:05:31]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:05:31]wFMCommunicate OK [23:05:31]wFMCommunicate request_size=4 [23:05:31]MH_SAM_APDU [23:05:31]CAPDU: 80 17 00 00 [23:05:31]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [23:05:31]Write i2c OK [23:05:31]MH_I2C_Read... [23:05:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:05:31]Read from MH i2c: E2 [23:05:31]MH_I2C_Read... [23:05:31]Read from MH i2c: E2 FD 00 [23:05:31]MH_I2C_Read... [23:05:31]Read from MH i2c: E2 FD 00 16 00 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 0E [23:05:31]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:05:31]wFMCommunicate OK [23:05:31]wFMCommunicate request_size=4 [23:05:31]MH_SAM_APDU [23:05:31]CAPDU: 80 17 00 00 [23:05:31]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [23:05:31]Write i2c OK [23:05:31]MH_I2C_Read... [23:05:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:05:32]Read from MH i2c: E2 [23:05:32]MH_I2C_Read... [23:05:32]Read from MH i2c: E2 E1 00 [23:05:32]MH_I2C_Read... [23:05:32]Read from MH i2c: E2 E1 00 17 00 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [23:05:32]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:05:32]wFMCommunicate OK [23:05:32]SAM_PROTO_GetFMData done [23:05:32]requested_item fm.sale_refund.total is exist - process it [23:05:32]requested_item fm.buy.total is exist - process it [23:05:32]requested_item shift.sale.total is exist - process it [23:05:32]SAM_PROTO_GetShiftData [23:05:32]wFMCommunicate request_size=4 [23:05:32]MH_SAM_APDU [23:05:32]CAPDU: 80 13 02 00 [23:05:32]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [23:05:32]Write i2c OK [23:05:32]MH_I2C_Read... [23:05:32]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:05:32]Read from MH i2c: E2 [23:05:32]MH_I2C_Read... [23:05:32]Read from MH i2c: E2 FD 00 [23:05:32]MH_I2C_Read... [23:05:32]Read from MH i2c: E2 FD 00 18 00 00 B5 04 AA 04 B1 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 EC 77 19 70 04 03 00 58 14 16 72 04 03 00 94 63 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 61 B4 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AB 39 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 84 67 70 04 00 00 72 04 02 00 84 67 00 04 78 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 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 F5 [23:05:32]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 EC 77 19 70 04 03 00 58 14 16 72 04 03 00 94 63 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 61 B4 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AB 39 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 84 67 70 04 00 00 72 04 02 00 84 67 00 04 78 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 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 90 00 [23:05:32]wFMCommunicate OK [23:05:32]wFMCommunicate request_size=4 [23:05:32]MH_SAM_APDU [23:05:32]CAPDU: 80 17 00 00 [23:05:32]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [23:05:32]Write i2c OK [23:05:32]MH_I2C_Read... [23:05:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:05:32]Read from MH i2c: E2 [23:05:32]MH_I2C_Read... [23:05:32]Read from MH i2c: E2 FD 00 [23:05:32]MH_I2C_Read... [23:05:32]Read from MH i2c: E2 FD 00 19 00 00 F6 03 01 00 01 F7 03 01 00 EA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 99 [23:05:32]RAPDU: F6 03 01 00 01 F7 03 01 00 EA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 [23:05:32]wFMCommunicate OK [23:05:32]wFMCommunicate request_size=4 [23:05:32]MH_SAM_APDU [23:05:32]CAPDU: 80 17 00 00 [23:05:32]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [23:05:32]Write i2c OK [23:05:32]MH_I2C_Read... [23:05:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:05:33]Read from MH i2c: E2 [23:05:33]MH_I2C_Read... [23:05:33]Read from MH i2c: E2 FD 00 [23:05:33]MH_I2C_Read... [23:05:33]Read from MH i2c: E2 FD 00 1A 00 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 57 [23:05:33]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 [23:05:33]wFMCommunicate OK [23:05:33]wFMCommunicate request_size=4 [23:05:33]MH_SAM_APDU [23:05:33]CAPDU: 80 17 00 00 [23:05:33]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [23:05:33]Write i2c OK [23:05:33]MH_I2C_Read... [23:05:33]OFD Sender: No OFD packet to send [23:05:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:05:33]Read from MH i2c: E2 [23:05:33]MH_I2C_Read... [23:05:33]Read from MH i2c: E2 FD 00 [23:05:33]MH_I2C_Read... [23:05:33]Read from MH i2c: E2 FD 00 1B 00 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 90 00 13 [23:05:33]RAPDU: 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 90 00 [23:05:33]wFMCommunicate OK [23:05:33]wFMCommunicate request_size=4 [23:05:33]MH_SAM_APDU [23:05:33]CAPDU: 80 17 00 00 [23:05:33]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [23:05:33]Write i2c OK [23:05:33]MH_I2C_Read... [23:05:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [23:05:33]Read from MH i2c: E2 [23:05:33]MH_I2C_Read... [23:05:33]Read from MH i2c: E2 D2 00 [23:05:33]MH_I2C_Read... [23:05:33]Read from MH i2c: E2 D2 00 1C 00 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7F [23:05:33]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:05:33]wFMCommunicate OK [23:05:33]SAM_PROTO_GetShiftData done [23:05:33]requested_item shift.sale.total_cash is exist - process it [23:05:33]requested_item shift.sale_refund.total is exist - process it [23:05:33]requested_item shift.sale_refund.total_cash is exist - process it [23:05:33]requested_item shift.buy.total is exist - process it [23:05:33]requested_item shift.buy.total_cash is exist - process it [23:05:33]produce_requested_data done [23:05:33]produce_requested_data return {"fm.sale.total":7391490.10,"fm.sale_refund.total":281247.00,"fm.buy.total":0.00,"shift.sale.total":16691.00,"shift.sale.total_cash":14470.00,"shift.sale_refund.total":265.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:05:33]process_action_free get_value [23:05:33]json_value_free [23:05:33]json_value_free done [23:05:33]process_json_proto returns [23:05:33]Send response to host [23:05:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":7391490.10,"fm.sale_refund.total":281247.00,"fm.buy.total":0.00,"shift.sale.total":16691.00,"shift.sale.total_cash":14470.00,"shift.sale_refund.total":265.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:05:33]free response buf [23:05:33]execute_script done [23:05:33]execute_script returns [23:05:33]free content buf [23:05:33]Sock 6.Close socket [23:05:33]Sock 6.Thread stoped [23:05:36]accept exits with 9 [23:05:36]New connection [23:05:36]New thread 3067596132 created [23:05:36]Thread 3067452772 joined [23:05:36]Waiting for new connection... [23:05:36] Sock 9.Parse request [23:05:36]Sock 9.Check first char [23:05:36]Sock 9.First char is OK [23:05:36]request: POST /json_proto HTTP/1.0 [23:05:36]Method: POST [23:05:36]URL: /json_proto [23:05:36]Method is POST - this is cgi request [23:05:36]url: /json_proto [23:05:36]query_string will be loaded in cgi processing [23:05:36]execute_cgi json_proto POST (null) [23:05:36]execute_cgi path=json_proto method=POST [23:05:36]POST find Content-Length [23:05:36]Host: 172.17.50.4:8080 [23:05:36]Content-Length: 806 [23:05:36]Content-Type: application/json [23:05:36] [23:05:36]POST finish read [23:05:36]Found Content-Length = 806 [23:05:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134897", "tax_sys" : 0, "items" : [ { "code": "4700003010353", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.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" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:05:36]execute_script... [23:05: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)134897", "tax_sys" : 0, "items" : [ { "code": "4700003010353", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.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" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:05:36]POST & json_proto [23:05:36]process_json_proto [23:05:36]json parsed OK: [23:05:36]protocol is kg_v1.0 [23:05:36]action value=close_receipt [23:05:36]process_action close_receipt [23:05:36]cmd_close_receipt [23:05:36]MH_GetDate [23:05:36]Write to MH i2c: F0 00 00 1D 00 0C [23:05:36]Write i2c OK [23:05:36]MH_I2C_Read... [23:05:36]Read from MH i2c: F0 [23:05:36]MH_I2C_Read... [23:05:36]Read from MH i2c: F0 09 00 [23:05:36]MH_I2C_Read... [23:05:36]Read from MH i2c: F0 09 00 1D 00 00 40 DE 16 67 3B 12 16 67 7A [23:05:36]GetLastDocTimeStamp 1729550401 [23:05:36]current date 1729551936 [23:05:36]FM_GetShiftState [23:05:36]SAM_PROTO_GetShiftState [23:05:36]wFMCommunicate request_size=4 [23:05:36]MH_SAM_APDU [23:05:36]CAPDU: 80 13 01 00 [23:05:36]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [23:05:36]Write i2c OK [23:05:36]MH_I2C_Read... [23:05:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:05:36]Read from MH i2c: E2 [23:05:36]MH_I2C_Read... [23:05:36]Read from MH i2c: E2 0E 00 [23:05:36]MH_I2C_Read... [23:05:36]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 E5 [23:05:36]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [23:05:36]wFMCommunicate OK [23:05:36]SAM_PROTO_GetShiftState done [23:05:36]FM_GetShiftState done [23:05:36]opened in 1729469223 [23:05:36]opened+sec_in_day 1729555623 [23:05:36]quantity*price = 8000 [23:05:36]sum+1 = 8001 [23:05:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 0.00 Безнал.: 80.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 80 21.10.2024 23:05 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24376 ФПД: 185749853545217 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T230537&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24376&fm=185749853545217&tin=02508201610067®Number=0000000000098120&sum=8000 0 [23:05:37]StoreToDocumentArchive [23:05:37]shift 461 fd 24376 [23:05:37]save to /storage/0461/doc_00024376 [23:05:37]save last doc name /storage/0461/doc_00024376 to /storage/kkm_last_doc_name [23:05:37]save OK [23:05:37]Clear old archive folders... [23:05:37]ProcessDocumentItem done err = 0, tmpTLVsize=294 [23:05:37]tlvbuf is 00D4D7C0 [23:05:37]SAM_PROTO_ClearQueue [23:05:37]wFMCommunicate request_size=4 [23:05:37]MH_SAM_APDU [23:05:37]CAPDU: 80 09 00 00 [23:05:37]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [23:05:37]Write i2c OK [23:05:37]MH_I2C_Read... [23:05:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:05:37]Read from MH i2c: E2 [23:05:37]MH_I2C_Read... [23:05:37]Read from MH i2c: E2 03 00 [23:05:37]MH_I2C_Read... [23:05:37]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [23:05:37]RAPDU: 90 00 [23:05:37]wFMCommunicate OK [23:05:37]SAM_PROTO_ClearQueue done [23:05:37]KKMCreateOFDPacket [23:05:37]OFDProtocolAddRootSTLVToBuf [23:05:37]FM_MakeSignedData [23:05:37]FM_MakeSignedData [23:05:37]SAM_PROTO_SignData [23:05:37]wFMCommunicate request_size=4 [23:05:37]MH_SAM_APDU [23:05:37]CAPDU: 80 0D 01 02 [23:05:37]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [23:05:37]Write i2c OK [23:05:37]MH_I2C_Read... [23:05:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:05:37]Read from MH i2c: E2 [23:05:37]MH_I2C_Read... [23:05:37]Read from MH i2c: E2 03 00 [23:05:37]MH_I2C_Read... [23:05:37]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [23:05:37]RAPDU: 90 00 [23:05:37]wFMCommunicate OK [23:05:37]wFMCommunicate request_size=255 [23:05:37]MH_SAM_APDU [23:05:37]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 41 DE 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [23:05:37]Write to MH i2c: E2 02 01 2D 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 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 41 DE 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 61 [23:05:37]Write i2c OK [23:05:37]MH_I2C_Read... [23:05:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:05:37]Read from MH i2c: E2 [23:05:37]MH_I2C_Read... [23:05:37]Read from MH i2c: E2 03 00 [23:05:37]MH_I2C_Read... [23:05:37]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [23:05:37]RAPDU: 90 00 [23:05:37]wFMCommunicate OK [23:05:37]wFMCommunicate request_size=53 [23:05:37]MH_SAM_APDU [23:05:37]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 38 5F 00 00 35 04 06 00 A8 F0 42 09 A3 01 [23:05:37]Write to MH i2c: E2 38 00 2E 00 80 0D 02 02 30 00 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 38 5F 00 00 35 04 06 00 A8 F0 42 09 A3 01 00 00 B0 [23:05:37]Write i2c OK [23:05:37]MH_I2C_Read... [23:05:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:05:38]Read from MH i2c: E2 [23:05:38]MH_I2C_Read... [23:05:38]Read from MH i2c: E2 03 00 [23:05:38]MH_I2C_Read... [23:05:38]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [23:05:38]RAPDU: 90 00 [23:05:38]wFMCommunicate OK [23:05:38]wFMCommunicate request_size=4 [23:05:38]MH_SAM_APDU [23:05:38]CAPDU: 80 0D 03 02 [23:05:38]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [23:05:38]Write i2c OK [23:05:38]MH_I2C_Read... [23:05:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:05:38]Read from MH i2c: E2 [23:05:38]MH_I2C_Read... [23:05:38]Read from MH i2c: E2 0B 00 [23:05:38]MH_I2C_Read... [23:05:38]Read from MH i2c: E2 0B 00 2F 00 00 EE E5 AD BE B5 FE 4B 37 90 00 1E [23:05:38]RAPDU: EE E5 AD BE B5 FE 4B 37 90 00 [23:05:38]wFMCommunicate OK [23:05:38]SAM_PROTO_SignData done [23:05:38]FM_MakeSignedData done [23:05:38]CreateOFDProtocolMessage [23:05:38]wFMCommunicate request_size=4 [23:05:38]MH_SAM_APDU [23:05:38]CAPDU: 80 11 00 00 [23:05:38]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [23:05:38]Write i2c OK [23:05:38]MH_I2C_Read... [23:05:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:05:38]Read from MH i2c: E2 [23:05:38]MH_I2C_Read... [23:05:38]Read from MH i2c: E2 17 00 [23:05:38]MH_I2C_Read... [23:05:38]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 34 32 30 90 00 F7 [23:05:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:05:38]wFMCommunicate OK [23:05:38]CreateOFDProtocolMessage done [23:05:38]OFDSenderStorePacket 24376 [23:05:38]StoreOFDPacket docnum=24376 [23:05:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 3A 01 00 00 10 8F 32 01 DE 92 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 41 DE 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 38 5F 00 00 35 04 06 00 A8 F0 42 09 A3 01 EE E5 AD BE B5 FE 4B 37 [23:05:38]CheckFolder [23:05:38]dirname=/storage/ofd_packets [23:05:38]CheckFolder done [23:05:38]ProducePacketName [23:05:38]name=ofd_packets/00024376 [23:05:38]NVStorageSaveData ofd_packets/00024376 [23:05:38]File name is /storage/ofd_packets/00024376 [23:05:38]Write 344 bytes [23:05:38]NVStorageSaveData done [23:05:38]OFDSenderStorePacket done [23:05:38]KKMCreateOFDPacket done [23:05:38]NVStorageSaveData kkm_last_timestamp [23:05:38]File name is /storage/kkm_last_timestamp [23:05:38]Write 4 bytes [23:05:38]NVStorageSaveData done [23:05:38]ExternCall_PrintAddStr [23:05:38]wPrintStart [23:05:38]Write to MH i2c: 01 00 00 31 00 31 [23:05:38]Write i2c OK [23:05:38]MH_I2C_Read... [23:05:38]Read from MH i2c: 01 [23:05:38]MH_I2C_Read... [23:05:38]Read from MH i2c: 01 07 00 [23:05:38]MH_I2C_Read... [23:05:38]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [23:05:38]RasterBufferAndPrint [23:05:38]line Счет N : (3)134897 [23:05:38]line ИНН: 02508201610067 [23:05:38]line Контрольно-Кассовый Чек [23:05:38]line ПРОДАЖА [23:05:38]line Товар: 4700003010353 [23:05:38]line Напиток Let`s Go! с/с груша ПЭТ 1л [23:05:38]line 1.000 * 80.00 [23:05:38]line = 80.00 [23:05:38]line НДС 12% НСП 1% [23:05:38]line > о реализуемом товаре [23:05:38]line ИТОГО: 80.00 [23:05:38]line НСП 1% : 0.71 [23:05:38]line НДС 12% : 8.50 [23:05:38]line Наличными: 0.00 [23:05:38]line Безнал.: 80.00 [23:05:38]line Место: АЗС № 85 "Партнер Нефть" [23:05:38]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [23:05:38]line СНО: Общий режим [23:05:38]line Чек 80 21.10.2024 23:05 [23:05:38]line Смена: 461 ФФД: 1.0 [23:05:38]line ЗНМ: 0300000166 [23:05:38]line РНМ: 0000000000098120 [23:05:38]line Версия ККМ: 001 [23:05:38]line Платежная система: Mbank [23:05:38]line ФМ: 0000000000965420 [23:05:38]line ФД: 24376 [23:05:38]line ФПД: 185749853545217 [23:05:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T230537&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24376&fm=185749853545217&tin=02508201610067®Number=0000000000098120&sum=8000 [23:05:38]line 0 [23:05:38]written 0, free lines is 4095 [23:05:38]OFD Sender: Processing packet 24376 [packets to send 5, broken 4] [23:05:38]ProducePacketName [23:05:38]name=ofd_packets/00024376 [23:05:38]OFD Sender: To server: pG, [23:05:38]CommunicateWithHost lk.salyk.kg:30040 [23:05:38]ConnectInit lk.salyk.kg [23:05:38]Connected sock=10 [23:05:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 3A 01 00 00 10 8F 32 01 DE 92 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 41 DE 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 38 5F 00 00 35 04 06 00 A8 F0 42 09 A3 01 EE E5 AD BE B5 FE 4B 37 [23:05:38]Write to MH i2c: 01 00 00 5B 00 5B [23:05:38]Write i2c OK [23:05:38]MH_I2C_Read... [23:05:38]Read from MH i2c: 01 [23:05:38]MH_I2C_Read... [23:05:38]Read from MH i2c: 01 07 00 [23:05:38]MH_I2C_Read... [23:05:38]Read from MH i2c: 01 07 00 5B 00 00 00 00 00 00 08 0D 77 [23:05:38]RasterBufferAndPrint [23:05:38]line [23:05:38]line [23:05:38]line [23:05:38]line [23:05:38]line [23:05:38]written 0, free lines is 3357 [23:05:38]process_action close_receipt done [23:05:38]requested_data is exist [23:05:38]produce_requested_data [23:05:38]requested_item fm.sn is exist - process it [23:05:38]wFMCommunicate request_size=4 [23:05:38]MH_SAM_APDU [23:05:38]CAPDU: 80 11 00 00 [23:05:38]Write to MH i2c: E2 08 00 62 00 80 11 00 00 00 00 00 00 DC [23:05:38]Write i2c OK [23:05:38]MH_I2C_Read... [23:05:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 31 25 47 00 D6 12 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 34 32 30 10 04 04 00 38 5F 00 00 F4 03 04 00 E6 89 16 67 B6 04 01 00 00 B1 4F D9 36 AE 10 CE AE [23:05:38]CommunicateWithHost err = 0 [23:05:38]CheckOFDResponse [23:05:38]1017 (14) - 77093643461234 [23:05:38]1041 (16) - 0000000000965420 [23:05:38]1040 (4) - 24376 [23:05:38]1012 (4) - 21.10.2024 17:05 [23:05:38]1206 (1) - 0 [23:05:38]OFD Sender: Remove packet 24376 [23:05:38]ProducePacketName [23:05:38]name=ofd_packets/00024376 [23:05:38]NVStorageDeleteData [23:05:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:05:38]Read from MH i2c: E2 [23:05:38]MH_I2C_Read... [23:05:38]Read from MH i2c: E2 17 00 [23:05:38]MH_I2C_Read... [23:05:38]Read from MH i2c: E2 17 00 62 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 29 [23:05:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:05:38]wFMCommunicate OK [23:05:38]requested_item fd.num is exist - process it [23:05:38]SAM_PROTO_GetFieldsCounters [23:05:38]wFMCommunicate request_size=4 [23:05:38]MH_SAM_APDU [23:05:38]CAPDU: 80 13 00 00 [23:05:38]Write to MH i2c: E2 08 00 63 00 80 13 00 00 00 00 00 00 DF [23:05:38]Write i2c OK [23:05:38]MH_I2C_Read... [23:05:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:05:38]Read from MH i2c: E2 [23:05:38]MH_I2C_Read... [23:05:38]Read from MH i2c: E2 62 00 [23:05:38]MH_I2C_Read... [23:05:38]Read from MH i2c: E2 62 00 63 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 38 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 4A [23:05: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 38 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:05:39]wFMCommunicate OK [23:05:39]SAM_PROTO_GetFieldsCounters done [23:05:39]requested_item shift.num is exist - process it [23:05:39]requested_item shift.opened is exist - process it [23:05:39]req_shift_opened [23:05:39]FM_GetShiftState [23:05:39]SAM_PROTO_GetShiftState [23:05:39]wFMCommunicate request_size=4 [23:05:39]MH_SAM_APDU [23:05:39]CAPDU: 80 13 01 00 [23:05:39]Write to MH i2c: E2 08 00 64 00 80 13 01 00 00 00 00 00 E1 [23:05:39]Write i2c OK [23:05:39]MH_I2C_Read... [23:05:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:05:39]Read from MH i2c: E2 [23:05:39]MH_I2C_Read... [23:05:39]Read from MH i2c: E2 0E 00 [23:05:39]MH_I2C_Read... [23:05:39]Read from MH i2c: E2 0E 00 64 00 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 2B [23:05:39]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [23:05:39]wFMCommunicate OK [23:05:39]SAM_PROTO_GetShiftState done [23:05:39]FM_GetShiftState done [23:05:39]req_shift_opened done [23:05:39]requested_item shift.open_date is exist - process it [23:05:39]req_shift_open_date [23:05:39]req_shift_open_date done [23:05:39]produce_requested_data done [23:05:39]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24376,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [23:05:39]process_action_free close_receipt [23:05:39]json_value_free [23:05:39]json_value_free done [23:05:39]process_json_proto returns [23:05:39]Send response to host [23:05:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24376,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [23:05:39]free response buf [23:05:39]execute_script done [23:05:39]execute_script returns [23:05:39]free content buf [23:05:39]Sock 9.Close socket [23:05:39]Sock 9.Thread stoped [23:05:39]OFD Sender: No OFD packet to send [23:05:40]accept exits with 6 [23:05:40]New connection [23:05:40]New thread 3067452772 created [23:05:40]Thread 3067596132 joined [23:05:40]Waiting for new connection... [23:05:40] Sock 6.Parse request [23:05:40]Sock 6.Check first char [23:05:40]Sock 6.First char is OK [23:05:40]request: POST /json_proto HTTP/1.0 [23:05:40]Method: POST [23:05:40]URL: /json_proto [23:05:40]Method is POST - this is cgi request [23:05:40]url: /json_proto [23:05:40]query_string will be loaded in cgi processing [23:05:40]execute_cgi json_proto POST (null) [23:05:40]execute_cgi path=json_proto method=POST [23:05:40]POST find Content-Length [23:05:40]Host: 172.17.50.4:8080 [23:05:40]Content-Length: 739 [23:05:40]Content-Type: application/json [23:05:40] [23:05:40]POST finish read [23:05:40]Found Content-Length = 739 [23:05:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 24363, "base_FM": "0000000000965420", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134884", "tax_sys" : 0, "items" : [ { "code": "4700003010353", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "24363" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:05:40]execute_script... [23:05:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 24363, "base_FM": "0000000000965420", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134884", "tax_sys" : 0, "items" : [ { "code": "4700003010353", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "24363" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:05:40]POST & json_proto [23:05:40]process_json_proto [23:05:40]json parsed OK: [23:05:40]protocol is kg_v1.0 [23:05:40]action value=close_receipt [23:05:40]process_action close_receipt [23:05:40]cmd_close_receipt [23:05:40]MH_GetDate [23:05:40]Write to MH i2c: F0 00 00 65 00 54 [23:05:40]Write i2c OK [23:05:40]MH_I2C_Read... [23:05:40]Read from MH i2c: F0 [23:05:40]MH_I2C_Read... [23:05:40]Read from MH i2c: F0 09 00 [23:05:40]MH_I2C_Read... [23:05:40]Read from MH i2c: F0 09 00 65 00 00 44 DE 16 67 3B 12 16 67 C6 [23:05:40]GetLastDocTimeStamp 1729551937 [23:05:40]current date 1729551940 [23:05:40]FM_GetShiftState [23:05:40]SAM_PROTO_GetShiftState [23:05:40]wFMCommunicate request_size=4 [23:05:40]MH_SAM_APDU [23:05:40]CAPDU: 80 13 01 00 [23:05:40]Write to MH i2c: E2 08 00 66 00 80 13 01 00 00 00 00 00 E3 [23:05:40]Write i2c OK [23:05:40]MH_I2C_Read... [23:05:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:05:40]Read from MH i2c: E2 [23:05:40]MH_I2C_Read... [23:05:40]Read from MH i2c: E2 0E 00 [23:05:40]MH_I2C_Read... [23:05:40]Read from MH i2c: E2 0E 00 66 00 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 2D [23:05:40]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [23:05:40]wFMCommunicate OK [23:05:40]SAM_PROTO_GetShiftState done [23:05:40]FM_GetShiftState done [23:05:40]opened in 1729469223 [23:05:40]opened+sec_in_day 1729555623 [23:05:40]quantity*price = 8000 [23:05:40]sum+1 = 8001 [23:05:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 81 21.10.2024 23:05 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФД осн.: 24363 ФМ осн.: 0000000000965420 ФМ: 0000000000965420 ФД: 24377 ФПД: 81982659565920 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T230541&type=2&operation_type=1&fn_number=0000000000965420&fd_number=24377&fm=81982659565920&tin=02508201610067®Number=0000000000098120&sum=8000 24363 [23:05:42]StoreToDocumentArchive [23:05:42]shift 461 fd 24377 [23:05:42]save to /storage/0461/doc_00024377 [23:05:42]save last doc name /storage/0461/doc_00024377 to /storage/kkm_last_doc_name [23:05:42]save OK [23:05:42]Clear old archive folders... [23:05:42]ProcessDocumentItem done err = 0, tmpTLVsize=322 [23:05:42]tlvbuf is 00D4D390 [23:05:42]SAM_PROTO_ClearQueue [23:05:42]wFMCommunicate request_size=4 [23:05:42]MH_SAM_APDU [23:05:42]CAPDU: 80 09 00 00 [23:05:42]Write to MH i2c: E2 08 00 75 00 80 09 00 00 00 00 00 00 E7 [23:05:42]Write i2c OK [23:05:42]MH_I2C_Read... [23:05:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:05:42]Read from MH i2c: E2 [23:05:42]MH_I2C_Read... [23:05:42]Read from MH i2c: E2 03 00 [23:05:42]MH_I2C_Read... [23:05:42]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [23:05:42]RAPDU: 90 00 [23:05:42]wFMCommunicate OK [23:05:42]SAM_PROTO_ClearQueue done [23:05:42]KKMCreateOFDPacket [23:05:42]OFDProtocolAddRootSTLVToBuf [23:05:42]FM_MakeSignedData [23:05:42]FM_MakeSignedData [23:05:42]SAM_PROTO_SignData [23:05:42]wFMCommunicate request_size=4 [23:05:42]MH_SAM_APDU [23:05:42]CAPDU: 80 0D 01 02 [23:05:42]Write to MH i2c: E2 08 00 76 00 80 0D 01 02 00 00 00 00 EF [23:05:42]Write i2c OK [23:05:42]MH_I2C_Read... [23:05:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:05:42]Read from MH i2c: E2 [23:05:42]MH_I2C_Read... [23:05:42]Read from MH i2c: E2 03 00 [23:05:42]MH_I2C_Read... [23:05:42]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [23:05:42]RAPDU: 90 00 [23:05:42]wFMCommunicate OK [23:05:42]wFMCommunicate request_size=255 [23:05:42]MH_SAM_APDU [23:05:42]CAPDU: 80 0D 02 02 FA 03 00 42 01 1E 04 01 00 02 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 45 DE 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [23:05:42]Write to MH i2c: E2 02 01 77 00 80 0D 02 02 FA 00 03 00 42 01 1E 04 01 00 02 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 45 DE 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 CD [23:05:42]Write i2c OK [23:05:42]MH_I2C_Read... [23:05:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:05:42]Read from MH i2c: E2 [23:05:42]MH_I2C_Read... [23:05:42]Read from MH i2c: E2 03 00 [23:05:42]MH_I2C_Read... [23:05:42]Read from MH i2c: E2 03 00 77 00 00 90 00 EB [23:05:42]RAPDU: 90 00 [23:05:42]wFMCommunicate OK [23:05:42]wFMCommunicate request_size=81 [23:05:42]MH_SAM_APDU [23:05:42]CAPDU: 80 0D 02 02 4C 30 30 30 30 30 39 38 31 32 30 27 04 04 00 2B 5F 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 39 5F 00 00 35 04 06 00 4A 90 13 4D 19 60 [23:05:42]Write to MH i2c: E2 54 00 78 00 80 0D 02 02 4C 00 30 30 30 30 30 39 38 31 32 30 27 04 04 00 2B 5F 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 39 5F 00 00 35 04 06 00 4A 90 13 4D 19 60 00 00 6E [23:05:42]Write i2c OK [23:05:42]MH_I2C_Read... [23:05:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:05:42]Read from MH i2c: E2 [23:05:42]MH_I2C_Read... [23:05:42]Read from MH i2c: E2 03 00 [23:05:42]MH_I2C_Read... [23:05:42]Read from MH i2c: E2 03 00 78 00 00 90 00 EC [23:05:42]RAPDU: 90 00 [23:05:42]wFMCommunicate OK [23:05:42]wFMCommunicate request_size=4 [23:05:42]MH_SAM_APDU [23:05:42]CAPDU: 80 0D 03 02 [23:05:42]Write to MH i2c: E2 08 00 79 00 80 0D 03 02 00 00 00 00 F4 [23:05:42]Write i2c OK [23:05:42]MH_I2C_Read... [23:05:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:05:42]Read from MH i2c: E2 [23:05:42]MH_I2C_Read... [23:05:42]Read from MH i2c: E2 0B 00 [23:05:42]MH_I2C_Read... [23:05:42]Read from MH i2c: E2 0B 00 79 00 00 55 02 F9 59 3D 78 AB 40 90 00 3E [23:05:42]RAPDU: 55 02 F9 59 3D 78 AB 40 90 00 [23:05:42]wFMCommunicate OK [23:05:42]SAM_PROTO_SignData done [23:05:42]FM_MakeSignedData done [23:05:42]CreateOFDProtocolMessage [23:05:42]wFMCommunicate request_size=4 [23:05:42]MH_SAM_APDU [23:05:42]CAPDU: 80 11 00 00 [23:05:42]Write to MH i2c: E2 08 00 7A 00 80 11 00 00 00 00 00 00 F4 [23:05:42]Write i2c OK [23:05:42]MH_I2C_Read... [23:05:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:05:43]Read from MH i2c: E2 [23:05:43]MH_I2C_Read... [23:05:43]Read from MH i2c: E2 17 00 [23:05:43]MH_I2C_Read... [23:05:43]Read from MH i2c: E2 17 00 7A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 41 [23:05:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:05:43]wFMCommunicate OK [23:05:43]CreateOFDProtocolMessage done [23:05:43]OFDSenderStorePacket 24377 [23:05:43]StoreOFDPacket docnum=24377 [23:05:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 56 01 00 00 17 48 4E 01 1C 5B 5A 03 01 00 03 00 42 01 1E 04 01 00 02 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 45 DE 16 67 0E 04 04 00 CD 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 32 30 27 04 04 00 2B 5F 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 39 5F 00 00 35 04 06 00 4A 90 13 4D 19 60 55 02 F9 59 3D 78 AB 40 [23:05:43]CheckFolder [23:05:43]dirname=/storage/ofd_packets [23:05:43]CheckFolder done [23:05:43]ProducePacketName [23:05:43]name=ofd_packets/00024377 [23:05:43]NVStorageSaveData ofd_packets/00024377 [23:05:43]File name is /storage/ofd_packets/00024377 [23:05:43]Write 372 bytes [23:05:43]NVStorageSaveData done [23:05:43]OFDSenderStorePacket done [23:05:43]KKMCreateOFDPacket done [23:05:43]NVStorageSaveData kkm_last_timestamp [23:05:43]File name is /storage/kkm_last_timestamp [23:05:43]Write 4 bytes [23:05:43]NVStorageSaveData done [23:05:43]ExternCall_PrintAddStr [23:05:43]wPrintStart [23:05:43]Write to MH i2c: 01 00 00 7B 00 7B [23:05:43]Write i2c OK [23:05:43]MH_I2C_Read... [23:05:43]Read from MH i2c: 01 [23:05:43]MH_I2C_Read... [23:05:43]Read from MH i2c: 01 07 00 [23:05:43]MH_I2C_Read... [23:05:43]Read from MH i2c: 01 07 00 7B 00 00 00 00 00 00 FF 0F 90 [23:05:43]RasterBufferAndPrint [23:05:43]line Счет N : (3)134884 [23:05:43]line ИНН: 02508201610067 [23:05:43]line Контрольно-Кассовый Чек [23:05:43]line ВОЗВРАТ ПРОДАЖИ [23:05:43]line Товар: 4700003010353 [23:05:43]line Напиток Let`s Go! с/с груша ПЭТ 1л [23:05:43]line 1.000 * 80.00 [23:05:43]line = 80.00 [23:05:43]line НДС 12% НСП 1% [23:05:43]line > о реализуемом товаре [23:05:43]line ИТОГО: 80.00 [23:05:43]line НСП 1% : 0.71 [23:05:43]line НДС 12% : 8.50 [23:05:43]line Наличными: 80.00 [23:05:43]line Безнал.: 0.00 [23:05:43]line Место: АЗС № 85 "Партнер Нефть" [23:05:43]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [23:05:43]line СНО: Общий режим [23:05:43]line Чек 81 21.10.2024 23:05 [23:05:43]line Смена: 461 ФФД: 1.0 [23:05:43]line ЗНМ: 0300000166 [23:05:43]line РНМ: 0000000000098120 [23:05:43]line Версия ККМ: 001 [23:05:43]line ФД осн.: 24363 [23:05:43]line ФМ осн.: 0000000000965420 [23:05:43]line ФМ: 0000000000965420 [23:05:43]line ФД: 24377 [23:05:43]line ФПД: 81982659565920 [23:05:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T230541&type=2&operation_type=1&fn_number=0000000000965420&fd_number=24377&fm=81982659565920&tin=02508201610067®Number=0000000000098120&sum=8000 [23:05:43]line 24363 [23:05:43]OFD Sender: Processing packet 24377 [packets to send 5, broken 4] [23:05:43]ProducePacketName [23:05:43]name=ofd_packets/00024377 [23:05:43]OFD Sender: To server: pG, [23:05:43]CommunicateWithHost lk.salyk.kg:30040 [23:05:43]ConnectInit lk.salyk.kg [23:05:43]written 0, free lines is 4095 [23:05:43]Connected sock=10 [23:05:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 56 01 00 00 17 48 4E 01 1C 5B 5A 03 01 00 03 00 42 01 1E 04 01 00 02 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 45 DE 16 67 0E 04 04 00 CD 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 32 30 27 04 04 00 2B 5F 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 39 5F 00 00 35 04 06 00 4A 90 13 4D 19 60 55 02 F9 59 3D 78 AB 40 [23:05:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 DD 18 47 00 B1 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 34 32 30 10 04 04 00 39 5F 00 00 F4 03 04 00 EB 89 16 67 B6 04 01 00 00 D6 6B D4 6D 70 47 A2 B8 [23:05:43]CommunicateWithHost err = 0 [23:05:43]CheckOFDResponse [23:05:43]1017 (14) - 77093643461234 [23:05:43]1041 (16) - 0000000000965420 [23:05:43]1040 (4) - 24377 [23:05:43]1012 (4) - 21.10.2024 17:05 [23:05:43]1206 (1) - 0 [23:05:43]OFD Sender: Remove packet 24377 [23:05:43]ProducePacketName [23:05:43]name=ofd_packets/00024377 [23:05:43]NVStorageDeleteData [23:05:43]Write to MH i2c: 01 00 00 A6 00 A6 [23:05:43]Write i2c OK [23:05:43]MH_I2C_Read... [23:05:43]Read from MH i2c: 01 [23:05:43]MH_I2C_Read... [23:05:43]Read from MH i2c: 01 07 00 [23:05:43]MH_I2C_Read... [23:05:43]Read from MH i2c: 01 07 00 A6 00 00 00 00 00 00 7F 0D 39 [23:05:43]RasterBufferAndPrint [23:05:43]line [23:05:43]line [23:05:43]line [23:05:43]line [23:05:43]line [23:05:43]written 0, free lines is 3481 [23:05:43]process_action close_receipt done [23:05:43]requested_data is exist [23:05:43]produce_requested_data [23:05:43]requested_item fm.sn is exist - process it [23:05:43]wFMCommunicate request_size=4 [23:05:43]MH_SAM_APDU [23:05:43]CAPDU: 80 11 00 00 [23:05:43]Write to MH i2c: E2 08 00 AD 00 80 11 00 00 00 00 00 00 27 [23:05:43]Write i2c OK [23:05:43]MH_I2C_Read... [23:05:43]Read from MH i2c: E2 *** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:05:43] [23:05:43]MH_I2C_Read... [23:05:43]Read from MH i2c: E2 17 00 [23:05:43]MH_I2C_Read... [23:05:43]Read from MH i2c: E2 17 00 AD 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 74 [23:05:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:05:43]wFMCommunicate OK [23:05:43]requested_item fd.num is exist - process it [23:05:43]SAM_PROTO_GetFieldsCounters [23:05:43]wFMCommunicate request_size=4 [23:05:43]MH_SAM_APDU [23:05:43]CAPDU: 80 13 00 00 [23:05:43]Write to MH i2c: E2 08 00 AE 00 80 13 00 00 00 00 00 00 2A [23:05:43]Write i2c OK [23:05:43]MH_I2C_Read... [23:05:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:05:43]Read from MH i2c: E2 [23:05:43]MH_I2C_Read... [23:05:43]Read from MH i2c: E2 62 00 [23:05:43]MH_I2C_Read... [23:05:43]Read from MH i2c: E2 62 00 AE 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 39 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 99 [23:05: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 39 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:05:43]wFMCommunicate OK [23:05:43]SAM_PROTO_GetFieldsCounters done [23:05:43]requested_item shift.num is exist - process it [23:05:43]requested_item shift.opened is exist - process it [23:05:43]req_shift_opened [23:05:43]FM_GetShiftState [23:05:43]SAM_PROTO_GetShiftState [23:05:43]wFMCommunicate request_size=4 [23:05:43]MH_SAM_APDU [23:05:43]CAPDU: 80 13 01 00 [23:05:43]Write to MH i2c: E2 08 00 AF 00 80 13 01 00 00 00 00 00 2C [23:05:43]Write i2c OK [23:05:43]MH_I2C_Read... [23:05:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:05:44]Read from MH i2c: E2 [23:05:44]MH_I2C_Read... [23:05:44]Read from MH i2c: E2 0E 00 [23:05:44]MH_I2C_Read... [23:05:44]Read from MH i2c: E2 0E 00 AF 00 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 76 [23:05:44]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [23:05:44]wFMCommunicate OK [23:05:44]SAM_PROTO_GetShiftState done [23:05:44]FM_GetShiftState done [23:05:44]req_shift_opened done [23:05:44]requested_item shift.open_date is exist - process it [23:05:44]req_shift_open_date [23:05:44]req_shift_open_date done [23:05:44]produce_requested_data done [23:05:44]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24377,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [23:05:44]process_action_free close_receipt [23:05:44]json_value_free [23:05:44]json_value_free done [23:05:44]process_json_proto returns [23:05:44]Send response to host [23:05:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24377,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [23:05:44]free response buf [23:05:44]execute_script done [23:05:44]execute_script returns [23:05:44]free content buf [23:05:44]Sock 6.Close socket [23:05:44]Sock 6.Thread stoped [23:05:44]OFD Sender: No OFD packet to send [23:05:49]OFD Sender: No OFD packet to send [23:05:54]OFD Sender: No OFD packet to send [23:05:59]OFD Sender: No OFD packet to send [23:06:04]OFD Sender: No OFD packet to send [23:06:09]OFD Sender: No OFD packet to send [23:06:14]OFD Sender: No OFD packet to send [23:06:19]OFD Sender: No OFD packet to send [23:06:24]OFD Sender: No OFD packet to send [23:06:29]OFD Sender: No OFD packet to send [23:06:34]OFD Sender: No OFD packet to send [23:06:39]OFD Sender: No OFD packet to send [23:06:44]OFD Sender: No OFD packet to send [23:06:49]OFD Sender: No OFD packet to send [23:06:54]OFD Sender: No OFD packet to send [23:06:59]OFD Sender: No OFD packet to send [23:07:04]OFD Sender: No OFD packet to send [23:07:09]OFD Sender: No OFD packet to send [23:07:14]OFD Sender: No OFD packet to send [23:07:19]OFD Sender: No OFD packet to send [23:07:24]OFD Sender: No OFD packet to send [23:07:29]OFD Sender: No OFD packet to send [23:07:34]OFD Sender: No OFD packet to send [23:07:39]OFD Sender: No OFD packet to send [23:07:44]OFD Sender: No OFD packet to send [23:07:49]OFD Sender: No OFD packet to send [23:07:54]OFD Sender: No OFD packet to send [23:07:59]OFD Sender: No OFD packet to send [23:08:04]OFD Sender: No OFD packet to send [23:08:09]OFD Sender: No OFD packet to send [23:08:14]OFD Sender: No OFD packet to send [23:08:19]OFD Sender: No OFD packet to send [23:08:24]OFD Sender: No OFD packet to send [23:08:29]OFD Sender: No OFD packet to send [23:08:34]OFD Sender: No OFD packet to send [23:08:39]OFD Sender: No OFD packet to send [23:08:44]OFD Sender: No OFD packet to send [23:08:49]OFD Sender: No OFD packet to send [23:08:54]OFD Sender: No OFD packet to send [23:08:59]OFD Sender: No OFD packet to send [23:09:04]OFD Sender: No OFD packet to send [23:09:09]OFD Sender: No OFD packet to send [23:09:14]OFD Sender: No OFD packet to send [23:09:19]OFD Sender: No OFD packet to send [23:09:24]OFD Sender: No OFD packet to send [23:09:29]OFD Sender: No OFD packet to send [23:09:34]OFD Sender: No OFD packet to send [23:09:39]OFD Sender: No OFD packet to send [23:09:44]OFD Sender: No OFD packet to send [23:09:49]OFD Sender: No OFD packet to send [23:09:54]OFD Sender: No OFD packet to send [23:09:59]OFD Sender: No OFD packet to send [23:10:04]OFD Sender: No OFD packet to send [23:10:09]OFD Sender: No OFD packet to send [23:10:14]OFD Sender: No OFD packet to send [23:10:19]OFD Sender: No OFD packet to send [23:10:24]OFD Sender: No OFD packet to send [23:10:29]OFD Sender: No OFD packet to send [23:10:34]OFD Sender: No OFD packet to send [23:10:39]OFD Sender: No OFD packet to send [23:10:44]OFD Sender: No OFD packet to send [23:10:49]OFD Sender: No OFD packet to send [23:10:54]OFD Sender: No OFD packet to send [23:10:59]OFD Sender: No OFD packet to send [23:11:04]OFD Sender: No OFD packet to send [23:11:09]OFD Sender: No OFD packet to send [23:11:14]OFD Sender: No OFD packet to send [23:11:19]OFD Sender: No OFD packet to send [23:11:24]OFD Sender: No OFD packet to send [23:11:29]OFD Sender: No OFD packet to send [23:11:34]OFD Sender: No OFD packet to send [23:11:39]OFD Sender: No OFD packet to send [23:11:44]OFD Sender: No OFD packet to send [23:11:49]OFD Sender: No OFD packet to send [23:11:54]OFD Sender: No OFD packet to send [23:11:59]OFD Sender: No OFD packet to send [23:12:04]OFD Sender: No OFD packet to send [23:12:09]OFD Sender: No OFD packet to send [23:12:14]OFD Sender: No OFD packet to send [23:12:19]OFD Sender: No OFD packet to send [23:12:24]OFD Sender: No OFD packet to send [23:12:29]OFD Sender: No OFD packet to send [23:12:34]OFD Sender: No OFD packet to send [23:12:39]OFD Sender: No OFD packet to send [23:12:44]OFD Sender: No OFD packet to send [23:12:49]OFD Sender: No OFD packet to send [23:12:54]OFD Sender: No OFD packet to send [23:12:59]OFD Sender: No OFD packet to send [23:13:04]OFD Sender: No OFD packet to send [23:13:09]OFD Sender: No OFD packet to send [23:13:14]OFD Sender: No OFD packet to send [23:13:19]OFD Sender: No OFD packet to send [23:13:24]OFD Sender: No OFD packet to send [23:13:29]OFD Sender: No OFD packet to send [23:13:34]OFD Sender: No OFD packet to send [23:13:39]OFD Sender: No OFD packet to send [23:13:44]OFD Sender: No OFD packet to send [23:13:49]OFD Sender: No OFD packet to send [23:13:54]OFD Sender: No OFD packet to send [23:13:59]OFD Sender: No OFD packet to send [23:14:04]OFD Sender: No OFD packet to send [23:14:09]OFD Sender: No OFD packet to send [23:14:14]OFD Sender: No OFD packet to send [23:14:19]OFD Sender: No OFD packet to send [23:14:24]OFD Sender: No OFD packet to send [23:14:29]OFD Sender: No OFD packet to send [23:14:34]OFD Sender: No OFD packet to send [23:14:39]OFD Sender: No OFD packet to send [23:14:44]OFD Sender: No OFD packet to send [23:14:49]OFD Sender: No OFD packet to send [23:14:54]OFD Sender: No OFD packet to send [23:14:59]OFD Sender: No OFD packet to send [23:15:04]OFD Sender: No OFD packet to send [23:15:09]OFD Sender: No OFD packet to send [23:15:14]OFD Sender: No OFD packet to send [23:15:19]OFD Sender: No OFD packet to send [23:15:24]OFD Sender: No OFD packet to send [23:15:29]OFD Sender: No OFD packet to send [23:15:34]OFD Sender: No OFD packet to send [23:15:39]OFD Sender: No OFD packet to send [23:15:44]OFD Sender: No OFD packet to send [23:15:49]OFD Sender: No OFD packet to send [23:15:54]OFD Sender: No OFD packet to send [23:15:59]OFD Sender: No OFD packet to send [23:16:04]OFD Sender: No OFD packet to send [23:16:09]OFD Sender: No OFD packet to send [23:16:14]OFD Sender: No OFD packet to send [23:16:19]OFD Sender: No OFD packet to send [23:16:24]OFD Sender: No OFD packet to send [23:16:29]OFD Sender: No OFD packet to send [23:16:34]OFD Sender: No OFD packet to send [23:16:39]OFD Sender: No OFD packet to send [23:16:44]OFD Sender: No OFD packet to send [23:16:49]OFD Sender: No OFD packet to send [23:16:54]OFD Sender: No OFD packet to send [23:16:59]OFD Sender: No OFD packet to send [23:17:04]OFD Sender: No OFD packet to send [23:17:09]OFD Sender: No OFD packet to send [23:17:14]OFD Sender: No OFD packet to send [23:17:19]OFD Sender: No OFD packet to send [23:17:24]OFD Sender: No OFD packet to send [23:17:29]OFD Sender: No OFD packet to send [23:17:34]OFD Sender: No OFD packet to send [23:17:39]OFD Sender: No OFD packet to send [23:17:44]OFD Sender: No OFD packet to send [23:17:49]OFD Sender: No OFD packet to send [23:17:54]OFD Sender: No OFD packet to send [23:17:59]OFD Sender: No OFD packet to send [23:18:04]OFD Sender: No OFD packet to send [23:18:09]OFD Sender: No OFD packet to send [23:18:14]OFD Sender: No OFD packet to send [23:18:19]OFD Sender: No OFD packet to send [23:18:24]OFD Sender: No OFD packet to send [23:18:29]OFD Sender: No OFD packet to send [23:18:34]OFD Sender: No OFD packet to send [23:18:39]OFD Sender: No OFD packet to send [23:18:44]OFD Sender: No OFD packet to send [23:18:49]OFD Sender: No OFD packet to send [23:18:54]OFD Sender: No OFD packet to send [23:18:59]OFD Sender: No OFD packet to send [23:19:04]OFD Sender: No OFD packet to send [23:19:09]OFD Sender: No OFD packet to send [23:19:14]OFD Sender: No OFD packet to send [23:19:19]OFD Sender: No OFD packet to send [23:19:24]OFD Sender: No OFD packet to send [23:19:29]OFD Sender: No OFD packet to send [23:19:34]OFD Sender: No OFD packet to send [23:19:39]OFD Sender: No OFD packet to send [23:19:44]OFD Sender: No OFD packet to send [23:19:49]OFD Sender: No OFD packet to send [23:19:54]OFD Sender: No OFD packet to send [23:19:59]OFD Sender: No OFD packet to send [23:20:04]OFD Sender: No OFD packet to send [23:20:09]OFD Sender: No OFD packet to send [23:20:14]OFD Sender: No OFD packet to send [23:20:19]OFD Sender: No OFD packet to send [23:20:24]OFD Sender: No OFD packet to send [23:20:29]OFD Sender: No OFD packet to send [23:20:34]OFD Sender: No OFD packet to send [23:20:39]OFD Sender: No OFD packet to send [23:20:44]OFD Sender: No OFD packet to send [23:20:49]OFD Sender: No OFD packet to send [23:20:54]OFD Sender: No OFD packet to send [23:20:59]OFD Sender: No OFD packet to send [23:21:04]OFD Sender: No OFD packet to send [23:21:09]OFD Sender: No OFD packet to send [23:21:14]OFD Sender: No OFD packet to send [23:21:19]OFD Sender: No OFD packet to send [23:21:24]OFD Sender: No OFD packet to send [23:21:29]OFD Sender: No OFD packet to send [23:21:34]OFD Sender: No OFD packet to send [23:21:39]OFD Sender: No OFD packet to send [23:21:44]OFD Sender: No OFD packet to send [23:21:49]OFD Sender: No OFD packet to send [23:21:54]OFD Sender: No OFD packet to send [23:21:59]OFD Sender: No OFD packet to send [23:22:04]OFD Sender: No OFD packet to send [23:22:09]OFD Sender: No OFD packet to send [23:22:14]OFD Sender: No OFD packet to send [23:22:19]OFD Sender: No OFD packet to send [23:22:24]OFD Sender: No OFD packet to send [23:22:29]OFD Sender: No OFD packet to send [23:22:34]OFD Sender: No OFD packet to send [23:22:39]OFD Sender: No OFD packet to send [23:22:44]OFD Sender: No OFD packet to send [23:22:49]OFD Sender: No OFD packet to send [23:22:54]OFD Sender: No OFD packet to send [23:22:59]OFD Sender: No OFD packet to send [23:23:04]OFD Sender: No OFD packet to send [23:23:09]OFD Sender: No OFD packet to send [23:23:14]OFD Sender: No OFD packet to send [23:23:19]OFD Sender: No OFD packet to send [23:23:24]OFD Sender: No OFD packet to send [23:23:29]OFD Sender: No OFD packet to send [23:23:34]OFD Sender: No OFD packet to send [23:23:39]OFD Sender: No OFD packet to send [23:23:44]OFD Sender: No OFD packet to send [23:23:49]OFD Sender: No OFD packet to send [23:23:54]OFD Sender: No OFD packet to send [23:23:59]OFD Sender: No OFD packet to send [23:24:04]OFD Sender: No OFD packet to send [23:24:09]OFD Sender: No OFD packet to send [23:24:14]OFD Sender: No OFD packet to send [23:24:19]OFD Sender: No OFD packet to send [23:24:25]OFD Sender: No OFD packet to send [23:24:30]OFD Sender: No OFD packet to send [23:24:35]OFD Sender: No OFD packet to send [23:24:40]OFD Sender: No OFD packet to send [23:24:45]OFD Sender: No OFD packet to send [23:24:50]OFD Sender: No OFD packet to send [23:24:55]OFD Sender: No OFD packet to send [23:25:00]OFD Sender: No OFD packet to send [23:25:05]OFD Sender: No OFD packet to send [23:25:10]OFD Sender: No OFD packet to send [23:25:15]OFD Sender: No OFD packet to send [23:25:20]OFD Sender: No OFD packet to send [23:25:25]OFD Sender: No OFD packet to send [23:25:30]OFD Sender: No OFD packet to send [23:25:35]OFD Sender: No OFD packet to send [23:25:40]OFD Sender: No OFD packet to send [23:25:45]OFD Sender: No OFD packet to send [23:25:50]OFD Sender: No OFD packet to send [23:25:55]OFD Sender: No OFD packet to send [23:26:00]OFD Sender: No OFD packet to send [23:26:05]OFD Sender: No OFD packet to send [23:26:10]OFD Sender: No OFD packet to send [23:26:15]OFD Sender: No OFD packet to send [23:26:20]OFD Sender: No OFD packet to send [23:26:25]OFD Sender: No OFD packet to send [23:26:30]OFD Sender: No OFD packet to send [23:26:35]OFD Sender: No OFD packet to send [23:26:40]OFD Sender: No OFD packet to send [23:26:45]OFD Sender: No OFD packet to send [23:26:50]OFD Sender: No OFD packet to send [23:26:55]OFD Sender: No OFD packet to send [23:27:00]OFD Sender: No OFD packet to send [23:27:05]OFD Sender: No OFD packet to send [23:27:10]OFD Sender: No OFD packet to send [23:27:15]OFD Sender: No OFD packet to send [23:27:20]OFD Sender: No OFD packet to send [23:27:25]OFD Sender: No OFD packet to send [23:27:30]OFD Sender: No OFD packet to send [23:27:35]OFD Sender: No OFD packet to send [23:27:40]OFD Sender: No OFD packet to send [23:27:45]OFD Sender: No OFD packet to send [23:27:50]OFD Sender: No OFD packet to send [23:27:55]OFD Sender: No OFD packet to send [23:28:00]OFD Sender: No OFD packet to send [23:28:05]OFD Sender: No OFD packet to send [23:28:10]OFD Sender: No OFD packet to send [23:28:15]OFD Sender: No OFD packet to send [23:28:20]OFD Sender: No OFD packet to send [23:28:25]OFD Sender: No OFD packet to send [23:28:30]OFD Sender: No OFD packet to send [23:28:35]OFD Sender: No OFD packet to send [23:28:40]OFD Sender: No OFD packet to send [23:28:45]OFD Sender: No OFD packet to send [23:28:50]OFD Sender: No OFD packet to send [23:28:55]OFD Sender: No OFD packet to send [23:29:00]OFD Sender: No OFD packet to send [23:29:05]OFD Sender: No OFD packet to send [23:29:10]OFD Sender: No OFD packet to send [23:29:15]OFD Sender: No OFD packet to send [23:29:20]OFD Sender: No OFD packet to send [23:29:25]OFD Sender: No OFD packet to send [23:29:30]OFD Sender: No OFD packet to send [23:29:35]OFD Sender: No OFD packet to send [23:29:40]OFD Sender: No OFD packet to send [23:29:45]OFD Sender: No OFD packet to send [23:29:50]OFD Sender: No OFD packet to send [23:29:55]OFD Sender: No OFD packet to send [23:30:00]OFD Sender: No OFD packet to send [23:30:05]OFD Sender: No OFD packet to send [23:30:10]OFD Sender: No OFD packet to send [23:30:15]OFD Sender: No OFD packet to send [23:30:20]OFD Sender: No OFD packet to send [23:30:25]OFD Sender: No OFD packet to send [23:30:30]OFD Sender: No OFD packet to send [23:30:35]OFD Sender: No OFD packet to send [23:30:40]OFD Sender: No OFD packet to send [23:30:45]OFD Sender: No OFD packet to send [23:30:50]OFD Sender: No OFD packet to send [23:30:55]OFD Sender: No OFD packet to send [23:31:00]OFD Sender: No OFD packet to send [23:31:05]OFD Sender: No OFD packet to send [23:31:10]OFD Sender: No OFD packet to send [23:31:15]OFD Sender: No OFD packet to send [23:31:20]OFD Sender: No OFD packet to send [23:31:25]OFD Sender: No OFD packet to send [23:31:30]OFD Sender: No OFD packet to send [23:31:35]OFD Sender: No OFD packet to send [23:31:40]OFD Sender: No OFD packet to send [23:31:45]OFD Sender: No OFD packet to send [23:31:50]OFD Sender: No OFD packet to send [23:31:55]OFD Sender: No OFD packet to send [23:32:00]OFD Sender: No OFD packet to send [23:32:05]OFD Sender: No OFD packet to send [23:32:10]OFD Sender: No OFD packet to send [23:32:15]OFD Sender: No OFD packet to send [23:32:20]OFD Sender: No OFD packet to send [23:32:25]OFD Sender: No OFD packet to send [23:32:30]OFD Sender: No OFD packet to send [23:32:35]OFD Sender: No OFD packet to send [23:32:40]OFD Sender: No OFD packet to send [23:32:45]OFD Sender: No OFD packet to send [23:32:50]OFD Sender: No OFD packet to send [23:32:55]OFD Sender: No OFD packet to send [23:33:00]OFD Sender: No OFD packet to send [23:33:05]OFD Sender: No OFD packet to send [23:33:10]OFD Sender: No OFD packet to send [23:33:15]OFD Sender: No OFD packet to send [23:33:17]accept exits with 9 [23:33:17]New connection [23:33:17]New thread 3067596132 created [23:33:17]Thread 3067452772 joined [23:33:17]Waiting for new connection... [23:33:17] Sock 9.Parse request [23:33:17]Sock 9.Check first char [23:33:17]Sock 9.First char is OK [23:33:17]request: POST /json_proto HTTP/1.0 [23:33:17]Method: POST [23:33:17]URL: /json_proto [23:33:17]Method is POST - this is cgi request [23:33:17]url: /json_proto [23:33:17]query_string will be loaded in cgi processing [23:33:17]execute_cgi json_proto POST (null) [23:33:17]execute_cgi path=json_proto method=POST [23:33:17]POST find Content-Length [23:33:17]Host: 172.17.50.4:8080 [23:33:17]Content-Length: 632 [23:33:17]Content-Type: application/json [23:33:17] [23:33:17]POST finish read [23:33:17]Found Content-Length = 632 [23:33:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134898", "tax_sys" : 0, "items" : [ { "code": "6957531032045", "name": "\u041A\u0430\u0431\u0435\u043B\u044C hoco rapid charging X1 type-C 1\u043C", "price" : 271.00, "quantity" : 1.000, "sum" : 271.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 271.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:33:17]execute_script... [23:33: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)134898", "tax_sys" : 0, "items" : [ { "code": "6957531032045", "name": "\u041A\u0430\u0431\u0435\u043B\u044C hoco rapid charging X1 type-C 1\u043C", "price" : 271.00, "quantity" : 1.000, "sum" : 271.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 271.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:33:17]POST & json_proto [23:33:17]process_json_proto [23:33:17]json parsed OK: [23:33:17]protocol is kg_v1.0 [23:33:17]action value=close_receipt [23:33:17]process_action close_receipt [23:33:17]cmd_close_receipt [23:33:17]MH_GetDate [23:33:17]Write to MH i2c: F0 00 00 B0 00 9F [23:33:17]Write i2c OK [23:33:17]MH_I2C_Read... [23:33:17]Read from MH i2c: F0 [23:33:17]MH_I2C_Read... [23:33:17]Read from MH i2c: F0 09 00 [23:33:17]MH_I2C_Read... [23:33:17]Read from MH i2c: F0 09 00 B0 00 00 BD E4 16 67 3B 12 16 67 90 [23:33:17]GetLastDocTimeStamp 1729551941 [23:33:17]current date 1729553597 [23:33:17]FM_GetShiftState [23:33:17]SAM_PROTO_GetShiftState [23:33:17]wFMCommunicate request_size=4 [23:33:17]MH_SAM_APDU [23:33:17]CAPDU: 80 13 01 00 [23:33:17]Write to MH i2c: E2 08 00 B1 00 80 13 01 00 00 00 00 00 2E [23:33:17]Write i2c OK [23:33:17]MH_I2C_Read... [23:33:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:33:17]Read from MH i2c: E2 [23:33:17]MH_I2C_Read... [23:33:17]Read from MH i2c: E2 0E 00 [23:33:17]MH_I2C_Read... [23:33:17]Read from MH i2c: E2 0E 00 B1 00 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 78 [23:33:17]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [23:33:17]wFMCommunicate OK [23:33:17]SAM_PROTO_GetShiftState done [23:33:17]FM_GetShiftState done [23:33:17]opened in 1729469223 [23:33:17]opened+sec_in_day 1729555623 [23:33:17]quantity*price = 27100 [23:33:17]sum+1 = 27101 [23:33:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 271.00 НСП 1% : 2.40 НДС 12% : 28.78 Наличными: 271.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 82 21.10.2024 23:33 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24378 ФПД: 64412295174273 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T233318&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24378&fm=64412295174273&tin=02508201610067®Number=0000000000098120&sum=27100 0 [23:33:18]StoreToDocumentArchive [23:33:18]shift 461 fd 24378 [23:33:18]save to /storage/0461/doc_00024378 [23:33:18]save last doc name /storage/0461/doc_00024378 to /storage/kkm_last_doc_name [23:33:18]save OK [23:33:18]Clear old archive folders... [23:33:18]ProcessDocumentItem done err = 0, tmpTLVsize=288 [23:33:18]tlvbuf is 00D4F200 [23:33:18]SAM_PROTO_ClearQueue [23:33:18]wFMCommunicate request_size=4 [23:33:18]MH_SAM_APDU [23:33:18]CAPDU: 80 09 00 00 [23:33:18]Write to MH i2c: E2 08 00 BE 00 80 09 00 00 00 00 00 00 30 [23:33:18]Write i2c OK [23:33:18]MH_I2C_Read... [23:33:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:33:18]Read from MH i2c: E2 [23:33:18]MH_I2C_Read... [23:33:18]Read from MH i2c: E2 03 00 [23:33:18]MH_I2C_Read... [23:33:18]Read from MH i2c: E2 03 00 BE 00 00 90 00 32 [23:33:18]RAPDU: 90 00 [23:33:18]wFMCommunicate OK [23:33:18]SAM_PROTO_ClearQueue done [23:33:18]KKMCreateOFDPacket [23:33:18]OFDProtocolAddRootSTLVToBuf [23:33:18]FM_MakeSignedData [23:33:18]FM_MakeSignedData [23:33:18]SAM_PROTO_SignData [23:33:18]wFMCommunicate request_size=4 [23:33:18]MH_SAM_APDU [23:33:18]CAPDU: 80 0D 01 02 [23:33:18]Write to MH i2c: E2 08 00 BF 00 80 0D 01 02 00 00 00 00 38 [23:33:18]Write i2c OK [23:33:18]MH_I2C_Read... [23:33:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:33:18]Read from MH i2c: E2 [23:33:18]MH_I2C_Read... [23:33:18]Read from MH i2c: E2 03 00 [23:33:18]MH_I2C_Read... [23:33:18]Read from MH i2c: E2 03 00 BF 00 00 90 00 33 [23:33:18]RAPDU: 90 00 [23:33:18]wFMCommunicate OK [23:33:18]wFMCommunicate request_size=255 [23:33:18]MH_SAM_APDU [23:33:18]CAPDU: 80 0D 02 02 FA 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 34 35 06 04 2E 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 72 61 70 69 64 20 63 68 61 72 67 69 6E 67 20 58 31 20 74 79 70 65 2D 43 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 0B 00 00 00 00 07 04 06 00 DC 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 BE E4 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 [23:33:18]Write to MH i2c: E2 02 01 C0 00 80 0D 02 02 FA 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 34 35 06 04 2E 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 72 61 70 69 64 20 63 68 61 72 67 69 6E 67 20 58 31 20 74 79 70 65 2D 43 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 0B 00 00 00 00 07 04 06 00 DC 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 BE E4 16 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 00 00 FD [23:33:18]Write i2c OK [23:33:18]MH_I2C_Read... [23:33:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:33:18]Read from MH i2c: E2 [23:33:18]MH_I2C_Read... [23:33:18]Read from MH i2c: E2 03 00 [23:33:18]MH_I2C_Read... [23:33:18]Read from MH i2c: E2 03 00 C0 00 00 90 00 34 [23:33:18]RAPDU: 90 00 [23:33:18]wFMCommunicate OK [23:33:18]wFMCommunicate request_size=47 [23:33:18]MH_SAM_APDU [23:33:18]CAPDU: 80 0D 02 02 2A 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 3A 5F 00 00 35 04 06 00 3A 95 27 F9 18 81 [23:33:18]Write to MH i2c: E2 32 00 C1 00 80 0D 02 02 2A 00 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 3A 5F 00 00 35 04 06 00 3A 95 27 F9 18 81 00 00 11 [23:33:18]Write i2c OK [23:33:18]MH_I2C_Read... [23:33:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:33:18]Read from MH i2c: E2 [23:33:18]MH_I2C_Read... [23:33:18]Read from MH i2c: E2 03 00 [23:33:18]MH_I2C_Read... [23:33:18]Read from MH i2c: E2 03 00 C1 00 00 90 00 35 [23:33:18]RAPDU: 90 00 [23:33:18]wFMCommunicate OK [23:33:18]wFMCommunicate request_size=4 [23:33:18]MH_SAM_APDU [23:33:18]CAPDU: 80 0D 03 02 [23:33:18]Write to MH i2c: E2 08 00 C2 00 80 0D 03 02 00 00 00 00 3D [23:33:18]Write i2c OK [23:33:18]MH_I2C_Read... [23:33:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:33:18]Read from MH i2c: E2 [23:33:18]MH_I2C_Read... [23:33:18]Read from MH i2c: E2 0B 00 [23:33:18]MH_I2C_Read... [23:33:18]Read from MH i2c: E2 0B 00 C2 00 00 9B DD E1 F8 5C FC 74 73 90 00 CE [23:33:18]RAPDU: 9B DD E1 F8 5C FC 74 73 90 00 [23:33:18]wFMCommunicate OK [23:33:18]SAM_PROTO_SignData done [23:33:18]FM_MakeSignedData done [23:33:18]CreateOFDProtocolMessage [23:33:18]wFMCommunicate request_size=4 [23:33:18]MH_SAM_APDU [23:33:18]CAPDU: 80 11 00 00 [23:33:18]Write to MH i2c: E2 08 00 C3 00 80 11 00 00 00 00 00 00 3D [23:33:18]Write i2c OK [23:33:18]MH_I2C_Read... [23:33:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:33:18]Read from MH i2c: E2 [23:33:18]MH_I2C_Read... [23:33:18]Read from MH i2c: E2 17 00 [23:33:18]MH_I2C_Read... [23:33:18]Read from MH i2c: E2 17 00 C3 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 8A [23:33:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:33:18]wFMCommunicate OK [23:33:18]CreateOFDProtocolMessage done [23:33:18]OFDSenderStorePacket 24378 [23:33:18]StoreOFDPacket docnum=24378 [23:33:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 34 01 00 00 4A 4D 2C 01 94 8E 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 34 35 06 04 2E 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 72 61 70 69 64 20 63 68 61 72 67 69 6E 67 20 58 31 20 74 79 70 65 2D 43 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 0B 00 00 00 00 07 04 06 00 DC 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 BE E4 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 3A 5F 00 00 35 04 06 00 3A 95 27 F9 18 81 9B DD E1 F8 5C FC 74 73 [23:33:18]CheckFolder [23:33:18]dirname=/storage/ofd_packets [23:33:18]CheckFolder done [23:33:18]ProducePacketName [23:33:18]name=ofd_packets/00024378 [23:33:18]NVStorageSaveData ofd_packets/00024378 [23:33:18]File name is /storage/ofd_packets/00024378 [23:33:18]Write 338 bytes [23:33:18]NVStorageSaveData done [23:33:18]OFDSenderStorePacket done [23:33:18]KKMCreateOFDPacket done [23:33:18]NVStorageSaveData kkm_last_timestamp [23:33:18]File name is /storage/kkm_last_timestamp [23:33:18]Write 4 bytes [23:33:18]NVStorageSaveData done [23:33:18]ExternCall_PrintAddStr [23:33:18]wPrintStart [23:33:18]Write to MH i2c: 01 00 00 C4 00 C4 [23:33:18]Write i2c OK [23:33:18]MH_I2C_Read... [23:33:18]Read from MH i2c: 01 [23:33:18]MH_I2C_Read... [23:33:18]Read from MH i2c: 01 07 00 [23:33:18]MH_I2C_Read... [23:33:18]Read from MH i2c: 01 07 00 C4 00 00 00 00 00 00 FF 0F D9 [23:33:18]RasterBufferAndPrint [23:33:18]line Счет N : (3)134898 [23:33:18]line ИНН: 02508201610067 [23:33:18]line Контрольно-Кассовый Чек [23:33:18]line ПРОДАЖА [23:33:19]line Товар: 6957531032045 [23:33:19]line Кабель hoco rapid charging X1 type-C 1м [23:33:19]line 1.000 * 271.00 [23:33:19]line = 271.00 [23:33:19]line НДС 12% НСП 1% [23:33:19]line > о реализуемом товаре [23:33:19]line ИТОГО: 271.00 [23:33:19]line НСП 1% : 2.40 [23:33:19]line НДС 12% : 28.78 [23:33:19]line Наличными: 271.00 [23:33:19]line Безнал.: 0.00 [23:33:19]line Место: АЗС № 85 "Партнер Нефть" [23:33:19]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [23:33:19]line СНО: Общий режим [23:33:19]line Чек 82 21.10.2024 23:33 [23:33:19]line Смена: 461 ФФД: 1.0 [23:33:19]line ЗНМ: 0300000166 [23:33:19]line РНМ: 0000000000098120 [23:33:19]line Версия ККМ: 001 [23:33:19]line ФМ: 0000000000965420 [23:33:19]line ФД: 24378 [23:33:19]line ФПД: 64412295174273 [23:33:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T233318&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24378&fm=64412295174273&tin=02508201610067®Number=0000000000098120&sum=27100 [23:33:19]line 0 [23:33:19]OFD Sender: Processing packet 24378 [packets to send 5, broken 4] [23:33:19]ProducePacketName [23:33:19]name=ofd_packets/00024378 [23:33:19]OFD Sender: To server: pG, [23:33:19]CommunicateWithHost lk.salyk.kg:30040 [23:33:19]ConnectInit lk.salyk.kg [23:33:19]written 0, free lines is 4095 [23:33:19]Connected sock=10 [23:33: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 34 32 30 34 01 00 00 4A 4D 2C 01 94 8E 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 34 35 06 04 2E 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 72 61 70 69 64 20 63 68 61 72 67 69 6E 67 20 58 31 20 74 79 70 65 2D 43 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 0B 00 00 00 00 07 04 06 00 DC 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 BE E4 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 3A 5F 00 00 35 04 06 00 3A 95 27 F9 18 81 9B DD E1 F8 5C FC 74 73 [23:33:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 43 5B 47 00 7E 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 34 32 30 10 04 04 00 3A 5F 00 00 F4 03 04 00 63 90 16 67 B6 04 01 00 00 7E D0 9C EA 85 86 EF 57 [23:33:19]CommunicateWithHost err = 0 [23:33:19]CheckOFDResponse [23:33:19]1017 (14) - 77093643461234 [23:33:19]1041 (16) - 0000000000965420 [23:33:19]1040 (4) - 24378 [23:33:19]1012 (4) - 21.10.2024 17:33 [23:33:19]1206 (1) - 0 [23:33:19]OFD Sender: Remove packet 24378 [23:33:19]ProducePacketName [23:33:19]name=ofd_packets/00024378 [23:33:19]NVStorageDeleteData [23:33:19]Write to MH i2c: 01 00 00 ED 00 ED [23:33:19]Write i2c OK [23:33:19]MH_I2C_Read... [23:33:19]Read from MH i2c: 01 [23:33:19]MH_I2C_Read... [23:33:19]Read from MH i2c: 01 07 00 [23:33:19]MH_I2C_Read... [23:33:19]Read from MH i2c: 01 07 00 ED 00 00 00 00 00 00 1C 0D 1D [23:33:19]RasterBufferAndPrint [23:33:19]line [23:33:19]line [23:33:19]line [23:33:19]line [23:33:19]line [23:33:19]written 0, free lines is 3362 [23:33:19]process_action close_receipt done [23:33:19]requested_data is exist [23:33:19]produce_requested_data [23:33:19]requested_item fm.sn is exist - process it [23:33:19]wFMCommunicate request_size=4 [23:33:19]MH_SAM_APDU [23:33:19]CAPDU: 80 11 00 00 [23:33:19]Write to MH i2c: E2 08 00 F4 00 80 11 00 00 00 00 00 00 6E [23:33:19]Write i2c OK [23:33:19]MH_I2C_Read... [23:33:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:33:19]Read from MH i2c: E2 [23:33:19]MH_I2C_Read... [23:33:19]Read from MH i2c: E2 17 00 [23:33:19]MH_I2C_Read... [23:33:19]Read from MH i2c: E2 17 00 F4 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 BB [23:33:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:33:19]wFMCommunicate OK [23:33:19]requested_item fd.num is exist - process it [23:33:19]SAM_PROTO_GetFieldsCounters [23:33:19]wFMCommunicate request_size=4 [23:33:19]MH_SAM_APDU [23:33:19]CAPDU: 80 13 00 00 [23:33:19]Write to MH i2c: E2 08 00 F5 00 80 13 00 00 00 00 00 00 71 [23:33:19]Write i2c OK [23:33:19]MH_I2C_Read... [23:33:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:33:19]Read from MH i2c: E2 [23:33:19]MH_I2C_Read... [23:33:19]Read from MH i2c: E2 62 00 [23:33:19]MH_I2C_Read... [23:33:19]Read from MH i2c: E2 62 00 F5 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3A 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 E4 [23:33: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3A 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:33:19]wFMCommunicate OK [23:33:19]SAM_PROTO_GetFieldsCounters done [23:33:19]requested_item shift.num is exist - process it [23:33:19]requested_item shift.opened is exist - process it [23:33:19]req_shift_opened [23:33:19]FM_GetShiftState [23:33:19]SAM_PROTO_GetShiftState [23:33:19]wFMCommunicate request_size=4 [23:33:19]MH_SAM_APDU [23:33:19]CAPDU: 80 13 01 00 [23:33:19]Write to MH i2c: E2 08 00 F6 00 80 13 01 00 00 00 00 00 73 [23:33:19]Write i2c OK [23:33:19]MH_I2C_Read... [23:33:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:33:20]Read from MH i2c: E2 [23:33:20]MH_I2C_Read... [23:33:20]Read from MH i2c: E2 0E 00 [23:33:20]MH_I2C_Read... [23:33:20]Read from MH i2c: E2 0E 00 F6 00 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 BD [23:33:20]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [23:33:20]wFMCommunicate OK [23:33:20]SAM_PROTO_GetShiftState done [23:33:20]FM_GetShiftState done [23:33:20]req_shift_opened done [23:33:20]requested_item shift.open_date is exist - process it [23:33:20]req_shift_open_date [23:33:20]req_shift_open_date done [23:33:20]produce_requested_data done [23:33:20]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24378,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [23:33:20]process_action_free close_receipt [23:33:20]json_value_free [23:33:20]json_value_free done [23:33:20]process_json_proto returns [23:33:20]Send response to host [23:33:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24378,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [23:33:20]free response buf [23:33:20]execute_script done [23:33:20]execute_script returns [23:33:20]free content buf [23:33:20]Sock 9.Close socket [23:33:20]Sock 9.Thread stoped [23:33:20]OFD Sender: No OFD packet to send [23:33:25]OFD Sender: No OFD packet to send [23:33:30]OFD Sender: No OFD packet to send [23:33:35]OFD Sender: No OFD packet to send [23:33:40]OFD Sender: No OFD packet to send [23:33:45]OFD Sender: No OFD packet to send [23:33:50]OFD Sender: No OFD packet to send [23:33:55]OFD Sender: No OFD packet to send [23:34:00]OFD Sender: No OFD packet to send [23:34:05]OFD Sender: No OFD packet to send [23:34:10]OFD Sender: No OFD packet to send [23:34:15]OFD Sender: No OFD packet to send [23:34:20]OFD Sender: No OFD packet to send [23:34:25]OFD Sender: No OFD packet to send [23:34:30]OFD Sender: No OFD packet to send [23:34:35]OFD Sender: No OFD packet to send [23:34:40]OFD Sender: No OFD packet to send [23:34:45]OFD Sender: No OFD packet to send [23:34:50]OFD Sender: No OFD packet to send [23:34:55]OFD Sender: No OFD packet to send [23:35:00]OFD Sender: No OFD packet to send [23:35:05]OFD Sender: No OFD packet to send [23:35:10]OFD Sender: No OFD packet to send [23:35:15]OFD Sender: No OFD packet to send [23:35:20]OFD Sender: No OFD packet to send [23:35:25]OFD Sender: No OFD packet to send [23:35:30]OFD Sender: No OFD packet to send [23:35:35]OFD Sender: No OFD packet to send [23:35:40]OFD Sender: No OFD packet to send [23:35:45]OFD Sender: No OFD packet to send [23:35:50]OFD Sender: No OFD packet to send [23:35:55]OFD Sender: No OFD packet to send [23:36:00]OFD Sender: No OFD packet to send [23:36:05]OFD Sender: No OFD packet to send [23:36:10]OFD Sender: No OFD packet to send [23:36:15]OFD Sender: No OFD packet to send [23:36:20]OFD Sender: No OFD packet to send [23:36:25]OFD Sender: No OFD packet to send [23:36:30]OFD Sender: No OFD packet to send [23:36:35]OFD Sender: No OFD packet to send [23:36:40]OFD Sender: No OFD packet to send [23:36:45]OFD Sender: No OFD packet to send [23:36:50]OFD Sender: No OFD packet to send [23:36:55]OFD Sender: No OFD packet to send [23:37:00]OFD Sender: No OFD packet to send [23:37:05]OFD Sender: No OFD packet to send [23:37:10]OFD Sender: No OFD packet to send [23:37:15]OFD Sender: No OFD packet to send [23:37:20]OFD Sender: No OFD packet to send [23:37:25]OFD Sender: No OFD packet to send [23:37:30]OFD Sender: No OFD packet to send [23:37:35]OFD Sender: No OFD packet to send [23:37:40]OFD Sender: No OFD packet to send [23:37:45]OFD Sender: No OFD packet to send [23:37:50]OFD Sender: No OFD packet to send [23:37:55]OFD Sender: No OFD packet to send [23:38:00]OFD Sender: No OFD packet to send [23:38:05]OFD Sender: No OFD packet to send [23:38:10]OFD Sender: No OFD packet to send [23:38:15]OFD Sender: No OFD packet to send [23:38:20]OFD Sender: No OFD packet to send [23:38:25]OFD Sender: No OFD packet to send [23:38:30]OFD Sender: No OFD packet to send [23:38:35]OFD Sender: No OFD packet to send [23:38:40]OFD Sender: No OFD packet to send [23:38:45]OFD Sender: No OFD packet to send [23:38:50]OFD Sender: No OFD packet to send [23:38:55]OFD Sender: No OFD packet to send [23:39:00]OFD Sender: No OFD packet to send [23:39:05]OFD Sender: No OFD packet to send [23:39:10]OFD Sender: No OFD packet to send [23:39:15]OFD Sender: No OFD packet to send [23:39:20]OFD Sender: No OFD packet to send [23:39:25]OFD Sender: No OFD packet to send [23:39:30]OFD Sender: No OFD packet to send [23:39:35]OFD Sender: No OFD packet to send [23:39:40]OFD Sender: No OFD packet to send [23:39:45]OFD Sender: No OFD packet to send [23:39:50]OFD Sender: No OFD packet to send [23:39:55]OFD Sender: No OFD packet to send [23:40:00]OFD Sender: No OFD packet to send [23:40:05]OFD Sender: No OFD packet to send [23:40:10]OFD Sender: No OFD packet to send [23:40:15]OFD Sender: No OFD packet to send [23:40:20]OFD Sender: No OFD packet to send [23:40:25]OFD Sender: No OFD packet to send [23:40:30]OFD Sender: No OFD packet to send [23:40:35]OFD Sender: No OFD packet to send [23:40:40]OFD Sender: No OFD packet to send [23:40:45]OFD Sender: No OFD packet to send [23:40:50]OFD Sender: No OFD packet to send [23:40:55]OFD Sender: No OFD packet to send [23:41:00]OFD Sender: No OFD packet to send [23:41:05]OFD Sender: No OFD packet to send [23:41:10]OFD Sender: No OFD packet to send [23:41:15]OFD Sender: No OFD packet to send [23:41:20]OFD Sender: No OFD packet to send [23:41:23]accept exits with 7 [23:41:23]New connection [23:41:23]New thread 3067452772 created [23:41:23]Thread 3067596132 joined [23:41:23]Waiting for new connection... [23:41:23] Sock 7.Parse request [23:41:23]Sock 7.Check first char [23:41:23]Sock 7.First char is OK [23:41:23]request: POST /json_proto HTTP/1.0 [23:41:23]Method: POST [23:41:23]URL: /json_proto [23:41:23]Method is POST - this is cgi request [23:41:23]url: /json_proto [23:41:23]query_string will be loaded in cgi processing [23:41:23]execute_cgi json_proto POST (null) [23:41:23]execute_cgi path=json_proto method=POST [23:41:23]POST find Content-Length [23:41:23]Host: 172.17.50.4:8080 [23:41:23]Content-Length: 645 [23:41:23]Content-Type: application/json [23:41:23] [23:41:23]POST finish read [23:41:23]Found Content-Length = 645 [23:41:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134899", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:41:23]execute_script... [23:41: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)134899", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:41:23]POST & json_proto [23:41:23]process_json_proto [23:41:23]json parsed OK: [23:41:23]protocol is kg_v1.0 [23:41:23]action value=close_receipt [23:41:23]process_action close_receipt [23:41:23]cmd_close_receipt [23:41:23]MH_GetDate [23:41:23]Write to MH i2c: F0 00 00 F7 00 E6 [23:41:23]Write i2c OK [23:41:23]MH_I2C_Read... [23:41:23]Read from MH i2c: F0 [23:41:23]MH_I2C_Read... [23:41:23]Read from MH i2c: F0 09 00 [23:41:23]MH_I2C_Read... [23:41:23]Read from MH i2c: F0 09 00 F7 00 00 A3 E6 16 67 3B 12 16 67 BF [23:41:23]GetLastDocTimeStamp 1729553598 [23:41:23]current date 1729554083 [23:41:23]FM_GetShiftState [23:41:23]SAM_PROTO_GetShiftState [23:41:23]wFMCommunicate request_size=4 [23:41:23]MH_SAM_APDU [23:41:23]CAPDU: 80 13 01 00 [23:41:23]Write to MH i2c: E2 08 00 F8 00 80 13 01 00 00 00 00 00 75 [23:41:23]Write i2c OK [23:41:23]MH_I2C_Read... [23:41:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:41:23]Read from MH i2c: E2 [23:41:23]MH_I2C_Read... [23:41:23]Read from MH i2c: E2 0E 00 [23:41:23]MH_I2C_Read... [23:41:23]Read from MH i2c: E2 0E 00 F8 00 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 BF [23:41:23]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [23:41:23]wFMCommunicate OK [23:41:23]SAM_PROTO_GetShiftState done [23:41:23]FM_GetShiftState done [23:41:23]opened in 1729469223 [23:41:23]opened+sec_in_day 1729555623 [23:41:23]quantity*price = 6000 [23:41:23]sum+1 = 6001 [23:41:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 83 21.10.2024 23:41 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24379 ФПД: 199033518797583 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T234123&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24379&fm=199033518797583&tin=02508201610067®Number=0000000000098120&sum=6000 0 [23:41:24]StoreToDocumentArchive [23:41:24]shift 461 fd 24379 [23:41:24]save to /storage/0461/doc_00024379 [23:41:24]save last doc name /storage/0461/doc_00024379 to /storage/kkm_last_doc_name [23:41:24]save OK [23:41:24]Clear old archive folders... [23:41:24]ProcessDocumentItem done err = 0, tmpTLVsize=276 [23:41:24]tlvbuf is 00D54F70 [23:41:24]SAM_PROTO_ClearQueue [23:41:24]wFMCommunicate request_size=4 [23:41:24]MH_SAM_APDU [23:41:24]CAPDU: 80 09 00 00 [23:41:24]Write to MH i2c: E2 08 00 05 01 80 09 00 00 00 00 00 00 78 [23:41:24]Write i2c OK [23:41:24]MH_I2C_Read... [23:41:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:41:24]Read from MH i2c: E2 [23:41:24]MH_I2C_Read... [23:41:24]Read from MH i2c: E2 03 00 [23:41:24]MH_I2C_Read... [23:41:24]Read from MH i2c: E2 03 00 05 01 00 90 00 7A [23:41:24]RAPDU: 90 00 [23:41:24]wFMCommunicate OK [23:41:24]SAM_PROTO_ClearQueue done [23:41:24]KKMCreateOFDPacket [23:41:24]OFDProtocolAddRootSTLVToBuf [23:41:24]FM_MakeSignedData [23:41:24]FM_MakeSignedData [23:41:24]SAM_PROTO_SignData [23:41:24]wFMCommunicate request_size=4 [23:41:24]MH_SAM_APDU [23:41:24]CAPDU: 80 0D 01 02 [23:41:24]Write to MH i2c: E2 08 00 06 01 80 0D 01 02 00 00 00 00 80 [23:41:24]Write i2c OK [23:41:24]MH_I2C_Read... [23:41:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:41:24]Read from MH i2c: E2 [23:41:24]MH_I2C_Read... [23:41:24]Read from MH i2c: E2 03 00 [23:41:24]MH_I2C_Read... [23:41:24]Read from MH i2c: E2 03 00 06 01 00 90 00 7B [23:41:24]RAPDU: 90 00 [23:41:24]wFMCommunicate OK [23:41:24]wFMCommunicate request_size=255 [23:41:24]MH_SAM_APDU [23:41:24]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 A3 E6 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 [23:41:24]Write to MH i2c: E2 02 01 07 01 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 A3 E6 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 00 00 DD [23:41:24]Write i2c OK [23:41:24]MH_I2C_Read... [23:41:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:41:24]Read from MH i2c: E2 [23:41:24]MH_I2C_Read... [23:41:24]Read from MH i2c: E2 03 00 [23:41:24]MH_I2C_Read... [23:41:24]Read from MH i2c: E2 03 00 07 01 00 90 00 7C [23:41:24]RAPDU: 90 00 [23:41:24]wFMCommunicate OK [23:41:24]wFMCommunicate request_size=35 [23:41:24]MH_SAM_APDU [23:41:24]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 3B 5F 00 00 35 04 06 00 B5 05 1A 2F B3 0F [23:41:24]Write to MH i2c: E2 26 00 08 01 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 3B 5F 00 00 35 04 06 00 B5 05 1A 2F B3 0F 00 00 CF [23:41:24]Write i2c OK [23:41:24]MH_I2C_Read... [23:41:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:41:24]Read from MH i2c: E2 [23:41:24]MH_I2C_Read... [23:41:24]Read from MH i2c: E2 03 00 [23:41:24]MH_I2C_Read... [23:41:24]Read from MH i2c: E2 03 00 08 01 00 90 00 7D [23:41:24]RAPDU: 90 00 [23:41:24]wFMCommunicate OK [23:41:24]wFMCommunicate request_size=4 [23:41:24]MH_SAM_APDU [23:41:24]CAPDU: 80 0D 03 02 [23:41:24]Write to MH i2c: E2 08 00 09 01 80 0D 03 02 00 00 00 00 85 [23:41:24]Write i2c OK [23:41:24]MH_I2C_Read... [23:41:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:41:24]Read from MH i2c: E2 [23:41:24]MH_I2C_Read... [23:41:24]Read from MH i2c: E2 0B 00 [23:41:24]MH_I2C_Read... [23:41:24]Read from MH i2c: E2 0B 00 09 01 00 40 FE D6 5D DD 1B 1C 6F 90 00 7A [23:41:24]RAPDU: 40 FE D6 5D DD 1B 1C 6F 90 00 [23:41:24]wFMCommunicate OK [23:41:24]SAM_PROTO_SignData done [23:41:24]FM_MakeSignedData done [23:41:24]CreateOFDProtocolMessage [23:41:24]wFMCommunicate request_size=4 [23:41:24]MH_SAM_APDU [23:41:24]CAPDU: 80 11 00 00 [23:41:24]Write to MH i2c: E2 08 00 0A 01 80 11 00 00 00 00 00 00 85 [23:41:24]Write i2c OK [23:41:24]MH_I2C_Read... [23:41:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:41:24]Read from MH i2c: E2 [23:41:24]MH_I2C_Read... [23:41:24]Read from MH i2c: E2 17 00 [23:41:24]MH_I2C_Read... [23:41:24]Read from MH i2c: E2 17 00 0A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 D2 [23:41:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:41:24]wFMCommunicate OK [23:41:24]CreateOFDProtocolMessage done [23:41:24]OFDSenderStorePacket 24379 [23:41:24]StoreOFDPacket docnum=24379 [23:41:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 28 01 00 00 0E 1C 20 01 91 1C 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 A3 E6 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 3B 5F 00 00 35 04 06 00 B5 05 1A 2F B3 0F 40 FE D6 5D DD 1B 1C 6F [23:41:24]CheckFolder [23:41:24]dirname=/storage/ofd_packets [23:41:24]CheckFolder done [23:41:24]ProducePacketName [23:41:24]name=ofd_packets/00024379 [23:41:24]NVStorageSaveData ofd_packets/00024379 [23:41:24]File name is /storage/ofd_packets/00024379 [23:41:24]Write 326 bytes [23:41:24]NVStorageSaveData done [23:41:24]OFDSenderStorePacket done [23:41:24]KKMCreateOFDPacket done [23:41:24]NVStorageSaveData kkm_last_timestamp [23:41:24]File name is /storage/kkm_last_timestamp [23:41:24]Write 4 bytes [23:41:24]NVStorageSaveData done [23:41:24]ExternCall_PrintAddStr [23:41:24]wPrintStart [23:41:24]Write to MH i2c: 01 00 00 0B 01 0C [23:41:24]Write i2c OK [23:41:24]MH_I2C_Read... [23:41:24]Read from MH i2c: 01 [23:41:24]MH_I2C_Read... [23:41:24]Read from MH i2c: 01 07 00 [23:41:24]MH_I2C_Read... [23:41:24]Read from MH i2c: 01 07 00 0B 01 00 00 00 00 00 FF 0F 21 [23:41:24]RasterBufferAndPrint [23:41:24]line Счет N : (3)134899 [23:41:24]line ИНН: 02508201610067 [23:41:24]line Контрольно-Кассовый Чек [23:41:24]line ПРОДАЖА [23:41:24]line Товар: 4700000310043 [23:41:24]line Вода Жалалабат 27 1л [23:41:24]line 1.000 * 60.00 [23:41:24]line = 60.00 [23:41:24]line НДС 12% НСП 1% [23:41:24]line > о реализуемом товаре [23:41:24]line ИТОГО: 60.00 [23:41:24]line НСП 1% : 0.53 [23:41:24]line НДС 12% : 6.37 [23:41:24]line Наличными: 60.00 [23:41:24]line Безнал.: 0.00 [23:41:24]line Место: АЗС № 85 "Партнер Нефть" [23:41:24]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [23:41:24]line СНО: Общий режим [23:41:24]line Чек 83 21.10.2024 23:41 [23:41:24]line Смена: 461 ФФД: 1.0 [23:41:24]line ЗНМ: 0300000166 [23:41:24]line РНМ: 0000000000098120 [23:41:24]line Версия ККМ: 001 [23:41:24]line ФМ: 0000000000965420 [23:41:24]line ФД: 24379 [23:41:24]line ФПД: 199033518797583 [23:41:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T234123&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24379&fm=199033518797583&tin=02508201610067®Number=0000000000098120&sum=6000 [23:41:25]OFD Sender: Processing packet 24379 [packets to send 5, broken 4] [23:41:25]ProducePacketName [23:41:25]name=ofd_packets/00024379 [23:41:25]OFD Sender: To server: pG, [23:41:25]CommunicateWithHost lk.salyk.kg:30040 [23:41:25]ConnectInit lk.salyk.kg [23:41:25]line 0 [23:41:25]written 0, free lines is 4095 [23:41:25]Connected sock=10 [23:41: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 34 32 30 28 01 00 00 0E 1C 20 01 91 1C 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 A3 E6 16 67 0E 04 04 00 CD 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 3B 5F 00 00 35 04 06 00 B5 05 1A 2F B3 0F 40 FE D6 5D DD 1B 1C 6F [23:41:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 7D 1E 47 00 D9 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 34 32 30 10 04 04 00 3B 5F 00 00 F4 03 04 00 49 92 16 67 B6 04 01 00 00 4A A4 20 56 BE 8C C3 86 [23:41:25]CommunicateWithHost err = 0 [23:41:25]CheckOFDResponse [23:41:25]1017 (14) - 77093643461234 [23:41:25]1041 (16) - 0000000000965420 [23:41:25]1040 (4) - 24379 [23:41:25]1012 (4) - 21.10.2024 17:41 [23:41:25]1206 (1) - 0 [23:41:25]OFD Sender: Remove packet 24379 [23:41:25]ProducePacketName [23:41:25]name=ofd_packets/00024379 [23:41:25]NVStorageDeleteData [23:41:25]Write to MH i2c: 01 00 00 33 01 34 [23:41:25]Write i2c OK [23:41:25]MH_I2C_Read... [23:41:25]Read from MH i2c: 01 [23:41:25]MH_I2C_Read... [23:41:25]Read from MH i2c: 01 07 00 [23:41:25]MH_I2C_Read... [23:41:25]Read from MH i2c: 01 07 00 33 01 00 00 00 00 00 2A 0D 72 [23:41:25]RasterBufferAndPrint [23:41:25]line [23:41:25]line [23:41:25]line [23:41:25]line [23:41:25]line [23:41:25]written 0, free lines is 3376 [23:41:25]process_action close_receipt done [23:41:25]requested_data is exist [23:41:25]produce_requested_data [23:41:25]requested_item fm.sn is exist - process it [23:41:25]wFMCommunicate request_size=4 [23:41:25]MH_SAM_APDU [23:41:25]CAPDU: 80 11 00 00 [23:41:25]Write to MH i2c: E2 08 00 3A 01 80 11 00 00 00 00 00 00 B5 [23:41:25]Write i2c OK [23:41:25]MH_I2C_Read... [23:41:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:41:25]Read from MH i2c: E2 [23:41:25]MH_I2C_Read... [23:41:25]Read from MH i2c: E2 17 00 [23:41:25]MH_I2C_Read... [23:41:25]Read from MH i2c: E2 17 00 3A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 02 [23:41:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:41:25]wFMCommunicate OK [23:41:25]requested_item fd.num is exist - process it [23:41:25]SAM_PROTO_GetFieldsCounters [23:41:25]wFMCommunicate request_size=4 [23:41:25]MH_SAM_APDU [23:41:25]CAPDU: 80 13 00 00 [23:41:25]Write to MH i2c: E2 08 00 3B 01 80 13 00 00 00 00 00 00 B8 [23:41:25]Write i2c OK [23:41:25]MH_I2C_Read... [23:41:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:41:25]Read from MH i2c: E2 [23:41:25]MH_I2C_Read... [23:41:25]Read from MH i2c: E2 62 00 [23:41:25]MH_I2C_Read... [23:41:25]Read from MH i2c: E2 62 00 3B 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3B 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 2F [23:41: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3B 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:41:25]wFMCommunicate OK [23:41:25]SAM_PROTO_GetFieldsCounters done [23:41:25]requested_item shift.num is exist - process it [23:41:25]requested_item shift.opened is exist - process it [23:41:25]req_shift_opened [23:41:25]FM_GetShiftState [23:41:25]SAM_PROTO_GetShiftState [23:41:25]wFMCommunicate request_size=4 [23:41:25]MH_SAM_APDU [23:41:25]CAPDU: 80 13 01 00 [23:41:25]Write to MH i2c: E2 08 00 3C 01 80 13 01 00 00 00 00 00 BA [23:41:25]Write i2c OK [23:41:25]MH_I2C_Read... [23:41:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:41:25]Read from MH i2c: E2 [23:41:25]MH_I2C_Read... [23:41:25]Read from MH i2c: E2 0E 00 [23:41:25]MH_I2C_Read... [23:41:25]Read from MH i2c: E2 0E 00 3C 01 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 04 [23:41:25]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [23:41:25]wFMCommunicate OK [23:41:25]SAM_PROTO_GetShiftState done [23:41:25]FM_GetShiftState done [23:41:25]req_shift_opened done [23:41:25]requested_item shift.open_date is exist - process it [23:41:25]req_shift_open_date [23:41:25]req_shift_open_date done [23:41:25]produce_requested_data done [23:41:25]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24379,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [23:41:25]process_action_free close_receipt [23:41:25]json_value_free [23:41:25]json_value_free done [23:41:25]process_json_proto returns [23:41:25]Send response to host [23:41:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24379,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [23:41:25]free response buf [23:41:25]execute_script done [23:41:25]execute_script returns [23:41:25]free content buf [23:41:25]Sock 7.Close socket [23:41:25]Sock 7.Thread stoped [23:41:26]OFD Sender: No OFD packet to send [23:41:31]OFD Sender: No OFD packet to send [23:41:36]OFD Sender: No OFD packet to send [23:41:41]OFD Sender: No OFD packet to send [23:41:46]OFD Sender: No OFD packet to send [23:41:51]OFD Sender: No OFD packet to send [23:41:56]OFD Sender: No OFD packet to send [23:42:01]OFD Sender: No OFD packet to send [23:42:06]OFD Sender: No OFD packet to send [23:42:11]OFD Sender: No OFD packet to send [23:42:16]OFD Sender: No OFD packet to send [23:42:21]OFD Sender: No OFD packet to send [23:42:26]OFD Sender: No OFD packet to send [23:42:31]OFD Sender: No OFD packet to send [23:42:36]OFD Sender: No OFD packet to send [23:42:41]OFD Sender: No OFD packet to send [23:42:46]OFD Sender: No OFD packet to send [23:42:51]OFD Sender: No OFD packet to send [23:42:56]OFD Sender: No OFD packet to send [23:43:01]OFD Sender: No OFD packet to send [23:43:06]OFD Sender: No OFD packet to send [23:43:11]OFD Sender: No OFD packet to send [23:43:16]OFD Sender: No OFD packet to send [23:43:21]OFD Sender: No OFD packet to send [23:43:26]OFD Sender: No OFD packet to send [23:43:31]OFD Sender: No OFD packet to send [23:43:36]OFD Sender: No OFD packet to send [23:43:41]OFD Sender: No OFD packet to send [23:43:46]OFD Sender: No OFD packet to send [23:43:51]OFD Sender: No OFD packet to send [23:43:56]OFD Sender: No OFD packet to send [23:44:01]OFD Sender: No OFD packet to send [23:44:06]OFD Sender: No OFD packet to send [23:44:11]OFD Sender: No OFD packet to send [23:44:16]OFD Sender: No OFD packet to send [23:44:21]OFD Sender: No OFD packet to send [23:44:26]OFD Sender: No OFD packet to send [23:44:31]OFD Sender: No OFD packet to send [23:44:36]OFD Sender: No OFD packet to send [23:44:41]OFD Sender: No OFD packet to send [23:44:46]OFD Sender: No OFD packet to send [23:44:51]OFD Sender: No OFD packet to send [23:44:56]OFD Sender: No OFD packet to send [23:45:01]OFD Sender: No OFD packet to send [23:45:06]OFD Sender: No OFD packet to send [23:45:11]OFD Sender: No OFD packet to send [23:45:16]OFD Sender: No OFD packet to send [23:45:21]OFD Sender: No OFD packet to send [23:45:26]OFD Sender: No OFD packet to send [23:45:31]OFD Sender: No OFD packet to send [23:45:36]OFD Sender: No OFD packet to send [23:45:41]OFD Sender: No OFD packet to send [23:45:46]OFD Sender: No OFD packet to send [23:45:51]OFD Sender: No OFD packet to send [23:45:56]OFD Sender: No OFD packet to send [23:46:01]OFD Sender: No OFD packet to send [23:46:06]OFD Sender: No OFD packet to send [23:46:11]OFD Sender: No OFD packet to send [23:46:16]OFD Sender: No OFD packet to send [23:46:21]OFD Sender: No OFD packet to send [23:46:26]OFD Sender: No OFD packet to send [23:46:31]OFD Sender: No OFD packet to send [23:46:36]OFD Sender: No OFD packet to send [23:46:41]OFD Sender: No OFD packet to send [23:46:46]OFD Sender: No OFD packet to send [23:46:51]OFD Sender: No OFD packet to send [23:46:56]OFD Sender: No OFD packet to send [23:47:01]OFD Sender: No OFD packet to send [23:47:06]OFD Sender: No OFD packet to send [23:47:11]OFD Sender: No OFD packet to send [23:47:16]OFD Sender: No OFD packet to send [23:47:21]OFD Sender: No OFD packet to send [23:47:26]OFD Sender: No OFD packet to send [23:47:31]OFD Sender: No OFD packet to send [23:47:36]OFD Sender: No OFD packet to send [23:47:41]OFD Sender: No OFD packet to send [23:47:46]OFD Sender: No OFD packet to send [23:47:51]OFD Sender: No OFD packet to send [23:47:56]OFD Sender: No OFD packet to send [23:48:01]OFD Sender: No OFD packet to send [23:48:06]OFD Sender: No OFD packet to send [23:48:11]OFD Sender: No OFD packet to send [23:48:16]OFD Sender: No OFD packet to send [23:48:21]OFD Sender: No OFD packet to send [23:48:26]OFD Sender: No OFD packet to send [23:48:31]OFD Sender: No OFD packet to send [23:48:36]OFD Sender: No OFD packet to send [23:48:41]OFD Sender: No OFD packet to send [23:48:46]OFD Sender: No OFD packet to send [23:48:51]OFD Sender: No OFD packet to send [23:48:56]OFD Sender: No OFD packet to send [23:49:01]OFD Sender: No OFD packet to send [23:49:06]OFD Sender: No OFD packet to send [23:49:11]OFD Sender: No OFD packet to send [23:49:16]OFD Sender: No OFD packet to send [23:49:21]OFD Sender: No OFD packet to send [23:49:26]OFD Sender: No OFD packet to send [23:49:31]OFD Sender: No OFD packet to send [23:49:36]OFD Sender: No OFD packet to send [23:49:41]OFD Sender: No OFD packet to send [23:49:46]OFD Sender: No OFD packet to send [23:49:51]OFD Sender: No OFD packet to send [23:49:56]OFD Sender: No OFD packet to send [23:50:01]OFD Sender: No OFD packet to send [23:50:06]OFD Sender: No OFD packet to send [23:50:11]OFD Sender: No OFD packet to send [23:50:16]OFD Sender: No OFD packet to send [23:50:21]OFD Sender: No OFD packet to send [23:50:26]OFD Sender: No OFD packet to send [23:50:31]OFD Sender: No OFD packet to send [23:50:36]OFD Sender: No OFD packet to send [23:50:41]OFD Sender: No OFD packet to send [23:50:46]OFD Sender: No OFD packet to send [23:50:51]OFD Sender: No OFD packet to send [23:50:56]OFD Sender: No OFD packet to send [23:51:01]OFD Sender: No OFD packet to send [23:51:06]OFD Sender: No OFD packet to send [23:51:11]OFD Sender: No OFD packet to send [23:51:16]OFD Sender: No OFD packet to send [23:51:21]OFD Sender: No OFD packet to send [23:51:26]OFD Sender: No OFD packet to send [23:51:31]OFD Sender: No OFD packet to send [23:51:36]OFD Sender: No OFD packet to send [23:51:41]OFD Sender: No OFD packet to send [23:51:46]OFD Sender: No OFD packet to send [23:51:51]OFD Sender: No OFD packet to send [23:51:56]OFD Sender: No OFD packet to send [23:52:01]OFD Sender: No OFD packet to send [23:52:06]OFD Sender: No OFD packet to send [23:52:11]OFD Sender: No OFD packet to send [23:52:16]OFD Sender: No OFD packet to send [23:52:21]OFD Sender: No OFD packet to send [23:52:26]OFD Sender: No OFD packet to send [23:52: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:17]accept exits with 9 [23:56:17]New connection [23:56:17]New thread 3067596132 created [23:56:17]Thread 3067452772 joined [23:56:17]Waiting for new connection... [23:56:17] Sock 9.Parse request [23:56:17]Sock 9.Check first char [23:56:17]Sock 9.First char is OK [23:56:17]request: POST /json_proto HTTP/1.0 [23:56:17]Method: POST [23:56:17]URL: /json_proto [23:56:17]Method is POST - this is cgi request [23:56:17]url: /json_proto [23:56:17]query_string will be loaded in cgi processing [23:56:17]execute_cgi json_proto POST (null) [23:56:17]execute_cgi path=json_proto method=POST [23:56:17]POST find Content-Length [23:56:17]Host: 172.17.50.4:8080 [23:56:17]Content-Length: 215 [23:56:17]Content-Type: application/json [23:56:17] [23:56:17]POST finish read [23:56:17]Found Content-Length = 215 [23:56:17]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:56:17]execute_script... [23:56:17]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:56:17]POST & json_proto [23:56:17]process_json_proto [23:56:17]json parsed OK: [23:56:17]protocol is kg_v1.0 [23:56:17]action value=get_value [23:56:17]process_action get_value [23:56:17]cmd_get_value [23:56:17]process_action get_value done [23:56:17]requested_data is exist [23:56:17]produce_requested_data [23:56:17]requested_item kkm.sn is exist - process it [23:56:17]requested_item kkm.ver is exist - process it [23:56:17]requested_item fm.sn is exist - process it [23:56:17]wFMCommunicate request_size=4 [23:56:17]MH_SAM_APDU [23:56:17]CAPDU: 80 11 00 00 [23:56:17]Write to MH i2c: E2 08 00 3D 01 80 11 00 00 00 00 00 00 B8 [23:56:17]Write i2c OK [23:56:17]MH_I2C_Read... [23:56:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:56:17]Read from MH i2c: E2 [23:56:17]MH_I2C_Read... [23:56:17]Read from MH i2c: E2 17 00 [23:56:17]MH_I2C_Read... [23:56:17]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 34 32 30 90 00 05 [23:56:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:56:17]wFMCommunicate OK [23:56:17]requested_item fd.num is exist - process it [23:56:17]SAM_PROTO_GetFieldsCounters [23:56:17]wFMCommunicate request_size=4 [23:56:17]MH_SAM_APDU [23:56:17]CAPDU: 80 13 00 00 [23:56:17]Write to MH i2c: E2 08 00 3E 01 80 13 00 00 00 00 00 00 BB [23:56:17]Write i2c OK [23:56:17]MH_I2C_Read... [23:56:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:56:17]Read from MH i2c: E2 [23:56:17]MH_I2C_Read... [23:56:17]Read from MH i2c: E2 62 00 [23:56:17]MH_I2C_Read... [23:56:17]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3B 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 32 [23:56: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3B 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:56:17]wFMCommunicate OK [23:56:17]SAM_PROTO_GetFieldsCounters done [23:56:17]requested_item shift.num is exist - process it [23:56:17]requested_item shift.opened is exist - process it [23:56:17]req_shift_opened [23:56:17]FM_GetShiftState [23:56:17]SAM_PROTO_GetShiftState [23:56:17]wFMCommunicate request_size=4 [23:56:17]MH_SAM_APDU [23:56:17]CAPDU: 80 13 01 00 [23:56:17]Write to MH i2c: E2 08 00 3F 01 80 13 01 00 00 00 00 00 BD [23:56:17]Write i2c OK [23:56:17]MH_I2C_Read... [23:56:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:56:17]Read from MH i2c: E2 [23:56:17]MH_I2C_Read... [23:56:17]Read from MH i2c: E2 0E 00 [23:56:17]MH_I2C_Read... [23:56:17]Read from MH i2c: E2 0E 00 3F 01 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 07 [23:56:17]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [23:56:17]wFMCommunicate OK [23:56:17]SAM_PROTO_GetShiftState done [23:56:17]FM_GetShiftState done [23:56:17]req_shift_opened done [23:56:17]requested_item shift.open_date is exist - process it [23:56:17]req_shift_open_date [23:56:17]req_shift_open_date done [23:56:17]produce_requested_data done [23:56:17]produce_requested_data return {"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24379,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [23:56:17]process_action_free get_value [23:56:17]json_value_free [23:56:17]json_value_free done [23:56:17]process_json_proto returns [23:56:17]Send response to host [23:56:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24379,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [23:56:17]free response buf [23:56:17]execute_script done [23:56:17]execute_script returns [23:56:17]free content buf [23:56:17]Sock 9.Close socket [23:56:17]Sock 9.Thread stoped [23:56:17]accept exits with 7 [23:56:17]New connection [23:56:17]New thread 3067452772 created [23:56:17]Thread 3067596132 joined [23:56:17]Waiting for new connection... [23:56:17] Sock 7.Parse request [23:56:17]Sock 7.Check first char [23:56:17]Sock 7.First char is OK [23:56:17]request: POST /json_proto HTTP/1.0 [23:56:17]Method: POST [23:56:17]URL: /json_proto [23:56:17]Method is POST - this is cgi request [23:56:17]url: /json_proto [23:56:17]query_string will be loaded in cgi processing [23:56:17]execute_cgi json_proto POST (null) [23:56:17]execute_cgi path=json_proto method=POST [23:56:17]POST find Content-Length [23:56:17]Host: 172.17.50.4:8080 [23:56:17]Content-Length: 331 [23:56:17]Content-Type: application/json [23:56:17] [23:56:17]POST finish read [23:56:17]Found Content-Length = 331 [23:56: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:56:17]execute_script... [23:56:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:56:18]POST & json_proto [23:56:18]process_json_proto [23:56:18]json parsed OK: [23:56:18]protocol is kg_v1.0 [23:56:18]action value=get_value [23:56:18]process_action get_value [23:56:18]cmd_get_value [23:56:18]process_action get_value done [23:56:18]requested_data is exist [23:56:18]produce_requested_data [23:56:18]requested_item fm.sale.total is exist - process it [23:56:18]SAM_PROTO_GetFMData [23:56:18]wFMCommunicate request_size=4 [23:56:18]MH_SAM_APDU [23:56:18]CAPDU: 80 13 03 00 [23:56:18]Write to MH i2c: E2 08 00 40 01 80 13 03 00 00 00 00 00 C0 [23:56:18]Write i2c OK [23:56:18]MH_I2C_Read... [23:56:18]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:56:18]Read from MH i2c: E2 [23:56:18]MH_I2C_Read... [23:56:18]Read from MH i2c: E2 FD 00 [23:56:18]MH_I2C_Read... [23:56:18]Read from MH i2c: E2 FD 00 40 01 00 C4 04 85 04 C0 04 6E 04 04 00 A8 5B 00 00 69 04 A0 00 6F 04 04 00 18 5B 00 00 B1 04 04 00 5E 25 0F 2C 70 04 04 00 74 E7 1B 24 72 04 04 00 EA 3D F3 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E6 E6 AD 04 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 AA C7 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 97 2D EF 03 09 00 90 00 3D [23:56:18]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 A8 5B 00 00 69 04 A0 00 6F 04 04 00 18 5B 00 00 B1 04 04 00 5E 25 0F 2C 70 04 04 00 74 E7 1B 24 72 04 04 00 EA 3D F3 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E6 E6 AD 04 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 AA C7 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 97 2D EF 03 09 00 90 00 [23:56:18]wFMCommunicate OK [23:56:18]wFMCommunicate request_size=4 [23:56:18]MH_SAM_APDU [23:56:18]CAPDU: 80 17 00 00 [23:56:18]Write to MH i2c: E2 08 00 41 01 80 17 00 00 00 00 00 00 C2 [23:56:18]Write i2c OK [23:56:18]MH_I2C_Read... [23:56:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:18]Read from MH i2c: E2 [23:56:18]MH_I2C_Read... [23:56:18]Read from MH i2c: E2 FD 00 [23:56:18]MH_I2C_Read... [23:56:18]Read from MH i2c: E2 FD 00 41 01 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 D5 [23:56:18]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:56:18]wFMCommunicate OK [23:56:18]wFMCommunicate request_size=4 [23:56:18]MH_SAM_APDU [23:56:18]CAPDU: 80 17 00 00 [23:56:18]Write to MH i2c: E2 08 00 42 01 80 17 00 00 00 00 00 00 C3 [23:56:18]Write i2c OK [23:56:18]MH_I2C_Read... [23:56:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:19]Read from MH i2c: E2 [23:56:19]MH_I2C_Read... [23:56:19]Read from MH i2c: E2 FD 00 [23:56:19]MH_I2C_Read... [23:56:19]Read from MH i2c: E2 FD 00 42 01 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 D8 [23:56:19]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:56:19]wFMCommunicate OK [23:56:19]wFMCommunicate request_size=4 [23:56:19]MH_SAM_APDU [23:56:19]CAPDU: 80 17 00 00 [23:56:19]Write to MH i2c: E2 08 00 43 01 80 17 00 00 00 00 00 00 C4 [23:56:19]Write i2c OK [23:56:19]MH_I2C_Read... [23:56:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:19]Read from MH i2c: E2 [23:56:19]MH_I2C_Read... [23:56:19]Read from MH i2c: E2 FD 00 [23:56:19]MH_I2C_Read... [23:56:19]Read from MH i2c: E2 FD 00 43 01 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 3C [23:56:19]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:56:19]wFMCommunicate OK [23:56:19]wFMCommunicate request_size=4 [23:56:19]MH_SAM_APDU [23:56:19]CAPDU: 80 17 00 00 [23:56:19]Write to MH i2c: E2 08 00 44 01 80 17 00 00 00 00 00 00 C5 [23:56:19]Write i2c OK [23:56:19]MH_I2C_Read... [23:56:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:56:19]Read from MH i2c: E2 [23:56:19]MH_I2C_Read... [23:56:19]Read from MH i2c: E2 E1 00 [23:56:19]MH_I2C_Read... [23:56:19]Read from MH i2c: E2 E1 00 44 01 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B3 [23:56:19]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:56:19]wFMCommunicate OK [23:56:19]SAM_PROTO_GetFMData done [23:56:19]requested_item fm.sale_refund.total is exist - process it [23:56:19]requested_item fm.buy.total is exist - process it [23:56:19]requested_item shift.sale.total is exist - process it [23:56:19]SAM_PROTO_GetShiftData [23:56:19]wFMCommunicate request_size=4 [23:56:19]MH_SAM_APDU [23:56:19]CAPDU: 80 13 02 00 [23:56:19]Write to MH i2c: E2 08 00 45 01 80 13 02 00 00 00 00 00 C4 [23:56:19]Write i2c OK [23:56:19]MH_I2C_Read... [23:56:20]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:56:20]Read from MH i2c: E2 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 FD 00 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 FD 00 45 01 00 B8 04 AA 04 B4 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 78 18 1A 70 04 03 00 A4 95 16 72 04 03 00 D4 82 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C5 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 17 3B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 02 00 C4 86 70 04 02 00 40 1F 72 04 02 00 84 67 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 50 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 27 [23:56:20]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 78 18 1A 70 04 03 00 A4 95 16 72 04 03 00 D4 82 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C5 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 17 3B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 02 00 C4 86 70 04 02 00 40 1F 72 04 02 00 84 67 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 50 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [23:56:20]wFMCommunicate OK [23:56:20]wFMCommunicate request_size=4 [23:56:20]MH_SAM_APDU [23:56:20]CAPDU: 80 17 00 00 [23:56:20]Write to MH i2c: E2 08 00 46 01 80 17 00 00 00 00 00 00 C7 [23:56:20]Write i2c OK [23:56:20]MH_I2C_Read... [23:56:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:20]Read from MH i2c: E2 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 FD 00 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 FD 00 46 01 00 0B 00 F6 03 01 00 01 F7 03 02 00 31 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 2A [23:56:20]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 31 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 [23:56:20]wFMCommunicate OK [23:56:20]wFMCommunicate request_size=4 [23:56:20]MH_SAM_APDU [23:56:20]CAPDU: 80 17 00 00 [23:56:20]Write to MH i2c: E2 08 00 47 01 80 17 00 00 00 00 00 00 C8 [23:56:20]Write i2c OK [23:56:20]MH_I2C_Read... [23:56:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:20]Read from MH i2c: E2 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 FD 00 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 FD 00 47 01 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 6A [23:56:20]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 [23:56:20]wFMCommunicate OK [23:56:20]wFMCommunicate request_size=4 [23:56:20]MH_SAM_APDU [23:56:20]CAPDU: 80 17 00 00 [23:56:20]Write to MH i2c: E2 08 00 48 01 80 17 00 00 00 00 00 00 C9 [23:56:20]Write i2c OK [23:56:20]MH_I2C_Read... [23:56:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:21]Read from MH i2c: E2 [23:56:21]MH_I2C_Read... [23:56:21]Read from MH i2c: E2 FD 00 [23:56:21]MH_I2C_Read... [23:56:21]Read from MH i2c: E2 FD 00 48 01 00 03 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 90 00 52 [23:56:21]RAPDU: 03 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 90 00 [23:56:21]wFMCommunicate OK [23:56:21]wFMCommunicate request_size=4 [23:56:21]MH_SAM_APDU [23:56:21]CAPDU: 80 17 00 00 [23:56:21]Write to MH i2c: E2 08 00 49 01 80 17 00 00 00 00 00 00 CA [23:56:21]Write i2c OK [23:56:21]MH_I2C_Read... [23:56:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [23:56:21]Read from MH i2c: E2 [23:56:21]MH_I2C_Read... [23:56:21]Read from MH i2c: E2 D5 00 [23:56:21]MH_I2C_Read... [23:56:21]Read from MH i2c: E2 D5 00 49 01 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 AB [23:56:21]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:56:21]wFMCommunicate OK [23:56:21]SAM_PROTO_GetShiftData done [23:56:21]requested_item shift.sale.total_cash is exist - process it [23:56:21]requested_item shift.sale_refund.total is exist - process it [23:56:21]requested_item shift.sale_refund.total_cash is exist - process it [23:56:21]requested_item shift.buy.total is exist - process it [23:56:21]requested_item shift.buy.total_cash is exist - process it [23:56:21]produce_requested_data done [23:56:21]produce_requested_data return {"fm.sale.total":7391901.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":17102.00,"shift.sale.total_cash":14801.00,"shift.sale_refund.total":345.00,"shift.sale_refund.total_cash":80.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:56:21]process_action_free get_value [23:56:21]json_value_free [23:56:21]json_value_free done [23:56:21]process_json_proto returns [23:56:21]Send response to host [23:56:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":7391901.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":17102.00,"shift.sale.total_cash":14801.00,"shift.sale_refund.total":345.00,"shift.sale_refund.total_cash":80.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:56:21]free response buf [23:56:21]execute_script done [23:56:21]execute_script returns [23:56:21]free content buf [23:56:21]Sock 7.Close socket [23:56:21]Sock 7.Thread stoped [23:56:21]accept exits with 9 [23:56:21]New connection [23:56:21]New thread 3067596132 created [23:56:21]Thread 3067452772 joined [23:56:21]Waiting for new connection... [23:56:21] Sock 9.Parse request [23:56:21]Sock 9.Check first char [23:56:21]Sock 9.First char is OK [23:56:21]request: POST /json_proto HTTP/1.0 [23:56:21]Method: POST [23:56:21]URL: /json_proto [23:56:21]Method is POST - this is cgi request [23:56:21]url: /json_proto [23:56:21]query_string will be loaded in cgi processing [23:56:21]execute_cgi json_proto POST (null) [23:56:21]execute_cgi path=json_proto method=POST [23:56:21]POST find Content-Length [23:56:21]Host: 172.17.50.4:8080 [23:56:21]Content-Length: 331 [23:56:21]Content-Type: application/json [23:56:21] [23:56:21]POST finish read [23:56:21]Found Content-Length = 331 [23:56:21]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:56:21]execute_script... [23:56:21]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:56:21]POST & json_proto [23:56:21]process_json_proto [23:56:21]json parsed OK: [23:56:21]protocol is kg_v1.0 [23:56:21]action value=get_value [23:56:21]process_action get_value [23:56:21]cmd_get_value [23:56:21]process_action get_value done [23:56:21]requested_data is exist [23:56:21]produce_requested_data [23:56:21]requested_item fm.sale.total is exist - process it [23:56:21]SAM_PROTO_GetFMData [23:56:21]wFMCommunicate request_size=4 [23:56:21]MH_SAM_APDU [23:56:21]CAPDU: 80 13 03 00 [23:56:21]Write to MH i2c: E2 08 00 4A 01 80 13 03 00 00 00 00 00 CA [23:56:21]Write i2c OK [23:56:21]MH_I2C_Read... [23:56:21]OFD Sender: No OFD packet to send [23:56:21]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:56:21]Read from MH i2c: E2 [23:56:21]MH_I2C_Read... [23:56:21]Read from MH i2c: E2 FD 00 [23:56:21]MH_I2C_Read... [23:56:21]Read from MH i2c: E2 FD 00 4A 01 00 C4 04 85 04 C0 04 6E 04 04 00 A8 5B 00 00 69 04 A0 00 6F 04 04 00 18 5B 00 00 B1 04 04 00 5E 25 0F 2C 70 04 04 00 74 E7 1B 24 72 04 04 00 EA 3D F3 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E6 E6 AD 04 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 AA C7 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 97 2D EF 03 09 00 90 00 47 [23:56:21]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 A8 5B 00 00 69 04 A0 00 6F 04 04 00 18 5B 00 00 B1 04 04 00 5E 25 0F 2C 70 04 04 00 74 E7 1B 24 72 04 04 00 EA 3D F3 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E6 E6 AD 04 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 AA C7 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 97 2D EF 03 09 00 90 00 [23:56:21]wFMCommunicate OK [23:56:21]wFMCommunicate request_size=4 [23:56:21]MH_SAM_APDU [23:56:21]CAPDU: 80 17 00 00 [23:56:21]Write to MH i2c: E2 08 00 4B 01 80 17 00 00 00 00 00 00 CC [23:56:22]Write i2c OK [23:56:22]MH_I2C_Read... [23:56:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:22]Read from MH i2c: E2 [23:56:22]MH_I2C_Read... [23:56:22]Read from MH i2c: E2 FD 00 [23:56:22]MH_I2C_Read... [23:56:22]Read from MH i2c: E2 FD 00 4B 01 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 DF [23:56:22]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:56:22]wFMCommunicate OK [23:56:22]wFMCommunicate request_size=4 [23:56:22]MH_SAM_APDU [23:56:22]CAPDU: 80 17 00 00 [23:56:22]Write to MH i2c: E2 08 00 4C 01 80 17 00 00 00 00 00 00 CD [23:56:22]Write i2c OK [23:56:22]MH_I2C_Read... [23:56:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:22]Read from MH i2c: E2 [23:56:22]MH_I2C_Read... [23:56:22]Read from MH i2c: E2 FD 00 [23:56:22]MH_I2C_Read... [23:56:22]Read from MH i2c: E2 FD 00 4C 01 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 E2 [23:56:22]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:56:22]wFMCommunicate OK [23:56:22]wFMCommunicate request_size=4 [23:56:22]MH_SAM_APDU [23:56:22]CAPDU: 80 17 00 00 [23:56:22]Write to MH i2c: E2 08 00 4D 01 80 17 00 00 00 00 00 00 CE [23:56:22]Write i2c OK [23:56:22]MH_I2C_Read... [23:56:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:22]Read from MH i2c: E2 [23:56:22]MH_I2C_Read... [23:56:22]Read from MH i2c: E2 FD 00 [23:56:22]MH_I2C_Read... [23:56:22]Read from MH i2c: E2 FD 00 4D 01 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 46 [23:56:23]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:56:23]wFMCommunicate OK [23:56:23]wFMCommunicate request_size=4 [23:56:23]MH_SAM_APDU [23:56:23]CAPDU: 80 17 00 00 [23:56:23]Write to MH i2c: E2 08 00 4E 01 80 17 00 00 00 00 00 00 CF [23:56:23]Write i2c OK [23:56:23]MH_I2C_Read... [23:56:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:56:23]Read from MH i2c: E2 [23:56:23]MH_I2C_Read... [23:56:23]Read from MH i2c: E2 E1 00 [23:56:23]MH_I2C_Read... [23:56:23]Read from MH i2c: E2 E1 00 4E 01 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 BD [23:56:23]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:56:23]wFMCommunicate OK [23:56:23]SAM_PROTO_GetFMData done [23:56:23]requested_item fm.sale_refund.total is exist - process it [23:56:23]requested_item fm.buy.total is exist - process it [23:56:23]requested_item shift.sale.total is exist - process it [23:56:23]SAM_PROTO_GetShiftData [23:56:23]wFMCommunicate request_size=4 [23:56:23]MH_SAM_APDU [23:56:23]CAPDU: 80 13 02 00 [23:56:23]Write to MH i2c: E2 08 00 4F 01 80 13 02 00 00 00 00 00 CE [23:56:23]Write i2c OK [23:56:23]MH_I2C_Read... [23:56:23]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:56:23]Read from MH i2c: E2 [23:56:23]MH_I2C_Read... [23:56:23]Read from MH i2c: E2 FD 00 [23:56:23]MH_I2C_Read... [23:56:23]Read from MH i2c: E2 FD 00 4F 01 00 B8 04 AA 04 B4 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 78 18 1A 70 04 03 00 A4 95 16 72 04 03 00 D4 82 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C5 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 17 3B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 02 00 C4 86 70 04 02 00 40 1F 72 04 02 00 84 67 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 50 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 31 [23:56:23]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 78 18 1A 70 04 03 00 A4 95 16 72 04 03 00 D4 82 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C5 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 17 3B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 02 00 C4 86 70 04 02 00 40 1F 72 04 02 00 84 67 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 50 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [23:56:23]wFMCommunicate OK [23:56:23]wFMCommunicate request_size=4 [23:56:23]MH_SAM_APDU [23:56:23]CAPDU: 80 17 00 00 [23:56:23]Write to MH i2c: E2 08 00 50 01 80 17 00 00 00 00 00 00 D1 [23:56:23]Write i2c OK [23:56:23]MH_I2C_Read... [23:56:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:24]Read from MH i2c: E2 [23:56:24]MH_I2C_Read... [23:56:24]Read from MH i2c: E2 FD 00 [23:56:24]MH_I2C_Read... [23:56:24]Read from MH i2c: E2 FD 00 50 01 00 0B 00 F6 03 01 00 01 F7 03 02 00 31 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 34 [23:56:24]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 31 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 [23:56:24]wFMCommunicate OK [23:56:24]wFMCommunicate request_size=4 [23:56:24]MH_SAM_APDU [23:56:24]CAPDU: 80 17 00 00 [23:56:24]Write to MH i2c: E2 08 00 51 01 80 17 00 00 00 00 00 00 D2 [23:56:24]Write i2c OK [23:56:24]MH_I2C_Read... [23:56:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:24]Read from MH i2c: E2 [23:56:24]MH_I2C_Read... [23:56:24]Read from MH i2c: E2 FD 00 [23:56:24]MH_I2C_Read... [23:56:24]Read from MH i2c: E2 FD 00 51 01 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 74 [23:56:24]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 [23:56:24]wFMCommunicate OK [23:56:24]wFMCommunicate request_size=4 [23:56:24]MH_SAM_APDU [23:56:24]CAPDU: 80 17 00 00 [23:56:24]Write to MH i2c: E2 08 00 52 01 80 17 00 00 00 00 00 00 D3 [23:56:24]Write i2c OK [23:56:24]MH_I2C_Read... [23:56:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:25]Read from MH i2c: E2 [23:56:25]MH_I2C_Read... [23:56:25]Read from MH i2c: E2 FD 00 [23:56:25]MH_I2C_Read... [23:56:25]Read from MH i2c: E2 FD 00 52 01 00 03 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 90 00 5C [23:56:25]RAPDU: 03 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 90 00 [23:56:25]wFMCommunicate OK [23:56:25]wFMCommunicate request_size=4 [23:56:25]MH_SAM_APDU [23:56:25]CAPDU: 80 17 00 00 [23:56:25]Write to MH i2c: E2 08 00 53 01 80 17 00 00 00 00 00 00 D4 [23:56:25]Write i2c OK [23:56:25]MH_I2C_Read... [23:56:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [23:56:25]Read from MH i2c: E2 [23:56:25]MH_I2C_Read... [23:56:25]Read from MH i2c: E2 D5 00 [23:56:25]MH_I2C_Read... [23:56:25]Read from MH i2c: E2 D5 00 53 01 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B5 [23:56:25]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:56:25]wFMCommunicate OK [23:56:25]SAM_PROTO_GetShiftData done [23:56:25]requested_item shift.sale.total_cash is exist - process it [23:56:25]requested_item shift.sale_refund.total is exist - process it [23:56:25]requested_item shift.sale_refund.total_cash is exist - process it [23:56:25]requested_item shift.buy.total is exist - process it [23:56:25]requested_item shift.buy.total_cash is exist - process it [23:56:25]produce_requested_data done [23:56:25]produce_requested_data return {"fm.sale.total":7391901.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":17102.00,"shift.sale.total_cash":14801.00,"shift.sale_refund.total":345.00,"shift.sale_refund.total_cash":80.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:56:25]process_action_free get_value [23:56:25]json_value_free [23:56:25]json_value_free done [23:56:25]process_json_proto returns [23:56:25]Send response to host [23:56:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":7391901.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":17102.00,"shift.sale.total_cash":14801.00,"shift.sale_refund.total":345.00,"shift.sale_refund.total_cash":80.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:56:25]free response buf [23:56:25]execute_script done [23:56:25]execute_script returns [23:56:25]free content buf [23:56:25]Sock 9.Close socket [23:56:25]Sock 9.Thread stoped [23:56:25]accept exits with 7 [23:56:25]New connection [23:56:25]New thread 3067452772 created [23:56:25]Thread 3067596132 joined [23:56:25]Waiting for new connection... [23:56:25] Sock 7.Parse request [23:56:25]Sock 7.Check first char [23:56:25]Sock 7.First char is OK [23:56:25]request: POST /json_proto HTTP/1.0 [23:56:25]Method: POST [23:56:25]URL: /json_proto [23:56:25]Method is POST - this is cgi request [23:56:25]url: /json_proto [23:56:25]query_string will be loaded in cgi processing [23:56:25]execute_cgi json_proto POST (null) [23:56:25]execute_cgi path=json_proto method=POST [23:56:25]POST find Content-Length [23:56:25]Host: 172.17.50.4:8080 [23:56:25]Content-Length: 257 [23:56:25]Content-Type: application/json [23:56:25] [23:56:25]POST finish read [23:56:25]Found Content-Length = 257 [23:56:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0410\u0445\u043C\u0435\u0434\u043E\u0432\u0430 \u0423. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:56:25]execute_script... [23:56:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0410\u0445\u043C\u0435\u0434\u043E\u0432\u0430 \u0423. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:56:25]POST & json_proto [23:56:25]process_json_proto [23:56:25]json parsed OK: [23:56:25]protocol is kg_v1.0 [23:56:25]action value=x_report [23:56:25]process_action x_report [23:56:25]cmd_x_report [23:56:25]MH_GetDate [23:56:25]Write to MH i2c: F0 00 00 54 01 44 [23:56:25]Write i2c OK [23:56:25]MH_I2C_Read... [23:56:25]Read from MH i2c: F0 [23:56:25]MH_I2C_Read... [23:56:25]Read from MH i2c: F0 09 00 [23:56:25]MH_I2C_Read... [23:56:25]Read from MH i2c: F0 09 00 54 01 00 2A EA 16 67 3B 12 16 67 A8 [23:56:25]GetLastDocTimeStamp 1729554083 [23:56:25]current date 1729554986 [23:56:25]FM_GetShiftState [23:56:25]SAM_PROTO_GetShiftState [23:56:25]wFMCommunicate request_size=4 [23:56:25]MH_SAM_APDU [23:56:25]CAPDU: 80 13 01 00 [23:56:25]Write to MH i2c: E2 08 00 55 01 80 13 01 00 00 00 00 00 D3 [23:56:25]Write i2c OK [23:56:25]MH_I2C_Read... [23:56:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:56:25]Read from MH i2c: E2 [23:56:25]MH_I2C_Read... [23:56:25]Read from MH i2c: E2 0E 00 [23:56:25]MH_I2C_Read... [23:56:25]Read from MH i2c: E2 0E 00 55 01 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 1D [23:56:25]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [23:56:25]wFMCommunicate OK [23:56:25]SAM_PROTO_GetShiftState done [23:56:25]FM_GetShiftState done [23:56:25]KKMCreateXReportDocument [23:56:25]Load OK [23:56:25]Malloc new data [23:56:25]MH_GetDate [23:56:25]Write to MH i2c: F0 00 00 56 01 46 [23:56:25]Write i2c OK [23:56:25]MH_I2C_Read... [23:56:25]Read from MH i2c: F0 [23:56:25]MH_I2C_Read... [23:56:25]Read from MH i2c: F0 09 00 [23:56:25]MH_I2C_Read... [23:56:25]Read from MH i2c: F0 09 00 56 01 00 2A EA 16 67 3B 12 16 67 AA [23:56:25]Malloc new data [23:56:25]Malloc new data [23:56:25]wFMCommunicate request_size=4 [23:56:25]MH_SAM_APDU [23:56:25]CAPDU: 80 11 00 00 [23:56:25]Write to MH i2c: E2 08 00 57 01 80 11 00 00 00 00 00 00 D2 [23:56:25]Write i2c OK [23:56:25]MH_I2C_Read... [23:56:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:56:25]Read from MH i2c: E2 [23:56:25]MH_I2C_Read... [23:56:25]Read from MH i2c: E2 17 00 [23:56:25]MH_I2C_Read... [23:56:25]Read from MH i2c: E2 17 00 57 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 1F [23:56:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:56:25]wFMCommunicate OK [23:56:25]SAM_PROTO_GetFieldsCounters [23:56:25]wFMCommunicate request_size=4 [23:56:25]MH_SAM_APDU [23:56:25]CAPDU: 80 13 00 00 [23:56:25]Write to MH i2c: E2 08 00 58 01 80 13 00 00 00 00 00 00 D5 [23:56:25]Write i2c OK [23:56:25]MH_I2C_Read... [23:56:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:56:25]Read from MH i2c: E2 [23:56:25]MH_I2C_Read... [23:56:25]Read from MH i2c: E2 62 00 [23:56:25]MH_I2C_Read... [23:56:25]Read from MH i2c: E2 62 00 58 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3B 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 4C [23:56: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3B 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:56:25]wFMCommunicate OK [23:56:26]SAM_PROTO_GetFieldsCounters done [23:56:26]Malloc new data [23:56:26]Malloc new data [23:56:26]Malloc new data [23:56:26]KKMCreateXReportDocument OK [23:56:26]KKMSetXReportData OK [23:56:26]KKMPrepareXReportFMData [23:56:26]SAM_PROTO_GetShiftData [23:56:26]wFMCommunicate request_size=4 [23:56:26]MH_SAM_APDU [23:56:26]CAPDU: 80 13 02 00 [23:56:26]Write to MH i2c: E2 08 00 59 01 80 13 02 00 00 00 00 00 D8 [23:56:26]Write i2c OK [23:56:26]MH_I2C_Read... [23:56:26]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:56:26]Read from MH i2c: E2 [23:56:26]MH_I2C_Read... [23:56:26]Read from MH i2c: E2 FD 00 [23:56:26]MH_I2C_Read... [23:56:26]Read from MH i2c: E2 FD 00 59 01 00 B8 04 AA 04 B4 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 78 18 1A 70 04 03 00 A4 95 16 72 04 03 00 D4 82 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C5 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 17 3B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 02 00 C4 86 70 04 02 00 40 1F 72 04 02 00 84 67 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 50 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 3B [23:56:26]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 78 18 1A 70 04 03 00 A4 95 16 72 04 03 00 D4 82 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C5 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 17 3B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 02 00 C4 86 70 04 02 00 40 1F 72 04 02 00 84 67 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 50 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [23:56:26]wFMCommunicate OK [23:56:26]wFMCommunicate request_size=4 [23:56:26]MH_SAM_APDU [23:56:26]CAPDU: 80 17 00 00 [23:56:26]Write to MH i2c: E2 08 00 5A 01 80 17 00 00 00 00 00 00 DB [23:56:26]Write i2c OK [23:56:26]MH_I2C_Read... [23:56:26]OFD Sender: No OFD packet to send [23:56:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:26]Read from MH i2c: E2 [23:56:26]MH_I2C_Read... [23:56:26]Read from MH i2c: E2 FD 00 [23:56:26]MH_I2C_Read... [23:56:26]Read from MH i2c: E2 FD 00 5A 01 00 0B 00 F6 03 01 00 01 F7 03 02 00 31 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 3E [23:56:27]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 31 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 [23:56:27]wFMCommunicate OK [23:56:27]wFMCommunicate request_size=4 [23:56:27]MH_SAM_APDU [23:56:27]CAPDU: 80 17 00 00 [23:56:27]Write to MH i2c: E2 08 00 5B 01 80 17 00 00 00 00 00 00 DC [23:56:27]Write i2c OK [23:56:27]MH_I2C_Read... [23:56:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:27]Read from MH i2c: E2 [23:56:27]MH_I2C_Read... [23:56:27]Read from MH i2c: E2 FD 00 [23:56:27]MH_I2C_Read... [23:56:27]Read from MH i2c: E2 FD 00 5B 01 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 7E [23:56:27]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 [23:56:27]wFMCommunicate OK [23:56:27]wFMCommunicate request_size=4 [23:56:27]MH_SAM_APDU [23:56:27]CAPDU: 80 17 00 00 [23:56:27]Write to MH i2c: E2 08 00 5C 01 80 17 00 00 00 00 00 00 DD [23:56:27]Write i2c OK [23:56:27]MH_I2C_Read... [23:56:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:27]Read from MH i2c: E2 [23:56:27]MH_I2C_Read... [23:56:27]Read from MH i2c: E2 FD 00 [23:56:27]MH_I2C_Read... [23:56:27]Read from MH i2c: E2 FD 00 5C 01 00 03 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 90 00 66 [23:56:27]RAPDU: 03 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 90 00 [23:56:28]wFMCommunicate OK [23:56:28]wFMCommunicate request_size=4 [23:56:28]MH_SAM_APDU [23:56:28]CAPDU: 80 17 00 00 [23:56:28]Write to MH i2c: E2 08 00 5D 01 80 17 00 00 00 00 00 00 DE [23:56:28]Write i2c OK [23:56:28]MH_I2C_Read... [23:56:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [23:56:28]Read from MH i2c: E2 [23:56:28]MH_I2C_Read... [23:56:28]Read from MH i2c: E2 D5 00 [23:56:28]MH_I2C_Read... [23:56:28]Read from MH i2c: E2 D5 00 5D 01 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 BF [23:56:28]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:56:28]wFMCommunicate OK [23:56:28]SAM_PROTO_GetShiftData done [23:56:28]1194 (1204) - счетчики итогов смены [23:56:28] 1134 (4) - 83 - количество чеков со всеми признаками расчетов [23:56:28] 1129 (155) - счетчики операций «приход» [23:56:28] 1135 (4) - 81 - количество чеков по признаку расчетов [23:56:28] 1201 (3) - 17102.00 - общая итоговая сумма в чеках [23:56:28] 1136 (3) - 14801.00 - итоговая сумма в чеках наличными [23:56:28] 1138 (3) - 2301.00 - итоговая сумма в чеках безналичными [23:56:28] 1024 (122) - суммы налогов [23:56:28] 1006 (9) - суммы НДС [23:56:28] 1010 (1) - 0% - код ставки НДС [23:56:28] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:28] 1006 (12) - суммы НДС [23:56:28] 1010 (1) - 12% - код ставки НДС [23:56:28] 1011 (3) - 1816.14 - сумма НДС по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 0% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (11) - суммы НСП [23:56:28] 1014 (1) - 1% - код ставки НСП [23:56:28] 1015 (2) - 151.27 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 2% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 3% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 5% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 0,50% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 1,50% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1130 (151) - счетчики операций «возврат прихода» [23:56:28] 1135 (4) - 2 - количество чеков по признаку расчетов [23:56:28] 1201 (2) - 345.00 - общая итоговая сумма в чеках [23:56:28] 1136 (2) - 80.00 - итоговая сумма в чеках наличными [23:56:28] 1138 (2) - 265.00 - итоговая сумма в чеках безналичными [23:56:28] 1024 (121) - суммы налогов [23:56:28] 1006 (9) - суммы НДС [23:56:28] 1010 (1) - 0% - код ставки НДС [23:56:28] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:28] 1006 (11) - суммы НДС [23:56:28] 1010 (1) - 12% - код ставки НДС [23:56:28] 1011 (2) - 36.64 - сумма НДС по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 0% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (11) - суммы НСП [23:56:28] 1014 (1) - 1% - код ставки НСП [23:56:28] 1015 (2) - 3.05 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 2% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 3% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 5% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 0,50% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 1,50% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1131 (141) - счетчики операций «расход» [23:56:28] 1135 (4) - 0 - количество чеков по признаку расчетов [23:56:28] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:56:28] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:56:28] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:56:28] 1024 (117) - суммы налогов [23:56:28] 1006 (9) - суммы НДС [23:56:28] 1010 (1) - 0% - код ставки НДС [23:56:28] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:28] 1006 (9) - суммы НДС [23:56:28] 1010 (1) - 12% - код ставки НДС [23:56:28] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 0% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 1% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 2% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 3% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 5% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 0,50% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 1,50% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1132 (141) - счетчики операций «возврат расхода» [23:56:28] 1135 (4) - 0 - количество чеков по признаку расчетов [23:56:28] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:56:28] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:56:28] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:56:28] 1024 (117) - суммы налогов [23:56:28] 1006 (9) - суммы НДС [23:56:28] 1010 (1) - 0% - код ставки НДС [23:56:28] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:28] 1006 (9) - суммы НДС [23:56:28] 1010 (1) - 12% - код ставки НДС [23:56:28] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 0% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 1% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 2% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 3% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 5% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 0,50% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1007 (9) - суммы НСП [23:56:28] 1014 (1) - 1,50% - код ставки НСП [23:56:28] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:28] 1133 (588) - - счетчики коррекции - не используются [23:56:28]SetTLVBufToDocument [23:56:28]Processing tag 1194 (04AA) [23:56:28]Load OK [23:56:28]SetTLVBufToDocument [23:56:29]Processing tag 1134 (046E) [23:56:29]Malloc new data [23:56:29]Processing tag 1129 (0469) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1135 (046F) [23:56:29]Malloc new data [23:56:29]Processing tag 1201 (04B1) [23:56:29]Malloc new data [23:56:29]Processing tag 1136 (0470) [23:56:29]Malloc new data [23:56:29]Processing tag 1138 (0472) [23:56:29]Malloc new data [23:56:29]Processing tag 1024 (0400) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1006 (03EE) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1010 (03F2) [23:56:29]Malloc new data [23:56:29]Processing tag 1011 (03F3) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1006 (03EE) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1010 (03F2) [23:56:29]Malloc new data [23:56:29]Processing tag 1011 (03F3) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]SetTLVBufToDocument err=0 [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1130 (046A) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1135 (046F) [23:56:29]Malloc new data [23:56:29]Processing tag 1201 (04B1) [23:56:29]Malloc new data [23:56:29]Processing tag 1136 (0470) [23:56:29]Malloc new data [23:56:29]Processing tag 1138 (0472) [23:56:29]Malloc new data [23:56:29]Processing tag 1024 (0400) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1006 (03EE) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1010 (03F2) [23:56:29]Malloc new data [23:56:29]Processing tag 1011 (03F3) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1006 (03EE) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1010 (03F2) [23:56:29]Malloc new data [23:56:29]Processing tag 1011 (03F3) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]SetTLVBufToDocument err=0 [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1131 (046B) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1135 (046F) [23:56:29]Malloc new data [23:56:29]Processing tag 1201 (04B1) [23:56:29]Malloc new data [23:56:29]Processing tag 1136 (0470) [23:56:29]Malloc new data [23:56:29]Processing tag 1138 (0472) [23:56:29]Malloc new data [23:56:29]Processing tag 1024 (0400) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1006 (03EE) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1010 (03F2) [23:56:29]Malloc new data [23:56:29]Processing tag 1011 (03F3) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1006 (03EE) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1010 (03F2) [23:56:29]Malloc new data [23:56:29]Processing tag 1011 (03F3) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]SetTLVBufToDocument err=0 [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1132 (046C) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1135 (046F) [23:56:29]Malloc new data [23:56:29]Processing tag 1201 (04B1) [23:56:29]Malloc new data [23:56:29]Processing tag 1136 (0470) [23:56:29]Malloc new data [23:56:29]Processing tag 1138 (0472) [23:56:29]Malloc new data [23:56:29]Processing tag 1024 (0400) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1006 (03EE) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1010 (03F2) [23:56:29]Malloc new data [23:56:29]Processing tag 1011 (03F3) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1006 (03EE) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1010 (03F2) [23:56:29]Malloc new data [23:56:29]Processing tag 1011 (03F3) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1007 (03EF) [23:56:29]Load OK [23:56:29]SetTLVBufToDocument [23:56:29]Processing tag 1014 (03F6) [23:56:29]Malloc new data [23:56:29]Processing tag 1015 (03F7) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]SetTLVBufToDocument err=0 [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Processing tag 1133 (046D) [23:56:29]Malloc new data [23:56:29]SetTLVBufToDocument err=0 [23:56:29]SetTLVBufToDocument err=0 [23:56:29]Malloc new data [23:56:29]SAM_PROTO_GetFMData [23:56:29]wFMCommunicate request_size=4 [23:56:29]MH_SAM_APDU [23:56:29]CAPDU: 80 13 03 00 [23:56:29]Write to MH i2c: E2 08 00 5E 01 80 13 03 00 00 00 00 00 DE [23:56:29]Write i2c OK [23:56:29]MH_I2C_Read... [23:56:30]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:56:30]Read from MH i2c: E2 [23:56:30]MH_I2C_Read... [23:56:30]Read from MH i2c: E2 FD 00 [23:56:30]MH_I2C_Read... [23:56:30]Read from MH i2c: E2 FD 00 5E 01 00 C4 04 85 04 C0 04 6E 04 04 00 A8 5B 00 00 69 04 A0 00 6F 04 04 00 18 5B 00 00 B1 04 04 00 5E 25 0F 2C 70 04 04 00 74 E7 1B 24 72 04 04 00 EA 3D F3 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E6 E6 AD 04 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 AA C7 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 97 2D EF 03 09 00 90 00 5B [23:56:30]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 A8 5B 00 00 69 04 A0 00 6F 04 04 00 18 5B 00 00 B1 04 04 00 5E 25 0F 2C 70 04 04 00 74 E7 1B 24 72 04 04 00 EA 3D F3 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E6 E6 AD 04 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 AA C7 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 97 2D EF 03 09 00 90 00 [23:56:30]wFMCommunicate OK [23:56:30]wFMCommunicate request_size=4 [23:56:30]MH_SAM_APDU [23:56:30]CAPDU: 80 17 00 00 [23:56:30]Write to MH i2c: E2 08 00 5F 01 80 17 00 00 00 00 00 00 E0 [23:56:30]Write i2c OK [23:56:30]MH_I2C_Read... [23:56:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:30]Read from MH i2c: E2 [23:56:30]MH_I2C_Read... [23:56:30]Read from MH i2c: E2 FD 00 [23:56:30]MH_I2C_Read... [23:56:30]Read from MH i2c: E2 FD 00 5F 01 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 F3 [23:56:30]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:56:30]wFMCommunicate OK [23:56:30]wFMCommunicate request_size=4 [23:56:30]MH_SAM_APDU [23:56:30]CAPDU: 80 17 00 00 [23:56:30]Write to MH i2c: E2 08 00 60 01 80 17 00 00 00 00 00 00 E1 [23:56:30]Write i2c OK [23:56:30]MH_I2C_Read... [23:56:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:31]Read from MH i2c: E2 [23:56:31]MH_I2C_Read... [23:56:31]Read from MH i2c: E2 FD 00 [23:56:31]MH_I2C_Read... [23:56:31]Read from MH i2c: E2 FD 00 60 01 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 F6 [23:56:31]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:56:31]wFMCommunicate OK [23:56:31]wFMCommunicate request_size=4 [23:56:31]MH_SAM_APDU [23:56:31]CAPDU: 80 17 00 00 [23:56:31]Write to MH i2c: E2 08 00 61 01 80 17 00 00 00 00 00 00 E2 [23:56:31]Write i2c OK [23:56:31]MH_I2C_Read... [23:56:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:31]Read from MH i2c: E2 [23:56:31]MH_I2C_Read... [23:56:31]Read from MH i2c: E2 FD 00 [23:56:31]MH_I2C_Read... [23:56:31]Read from MH i2c: E2 FD 00 61 01 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 5A [23:56:31]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:56:31]wFMCommunicate OK [23:56:31]wFMCommunicate request_size=4 [23:56:31]MH_SAM_APDU [23:56:31]CAPDU: 80 17 00 00 [23:56:31]Write to MH i2c: E2 08 00 62 01 80 17 00 00 00 00 00 00 E3 [23:56:31]Write i2c OK [23:56:31]MH_I2C_Read... [23:56:31]OFD Sender: No OFD packet to send [23:56:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:56:32]Read from MH i2c: E2 [23:56:32]MH_I2C_Read... [23:56:32]Read from MH i2c: E2 E1 00 [23:56:32]MH_I2C_Read... [23:56:32]Read from MH i2c: E2 E1 00 62 01 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D1 [23:56:32]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:56:32]wFMCommunicate OK [23:56:32]SAM_PROTO_GetFMData done [23:56:32]FM_GetFMData:85 04 C0 04 6E 04 04 00 A8 5B 00 00 69 04 A0 00 6F 04 04 00 18 5B 00 00 B1 04 04 00 5E 25 0F 2C 70 04 04 00 74 E7 1B 24 72 04 04 00 EA 3D F3 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E6 E6 AD 04 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 AA C7 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 97 2D 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 8E CC 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:56:33]oper:6F 04 04 00 18 5B 00 00 B1 04 04 00 5E 25 0F 2C 70 04 04 00 74 E7 1B 24 72 04 04 00 EA 3D F3 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E6 E6 AD 04 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 AA C7 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:56:33]total:5E 25 0F 2C [23:56:33]Malloc new data [23:56:33]oper:6F 04 04 00 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 97 2D 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 8E CC 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:56:33]total:5C 45 AD 01 [23:56:33]Malloc new data [23:56:33]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:56:33]total: [23:56:33]Malloc new data [23:56:33]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:56:33]total: [23:56:33]Malloc new data [23:56:33]KKMPrepareXReportFMData err=0 [23:56:33]Х отчет ИНН: 02508201610067 Кассир: Ахмедова У. 21.10.2024 23:56 Смена: 266 РНМ: 0000000000098120 ЗНМ: 0300000166 СНО: Общий режим Всего чеков: 83 ИТОГИ ПРИХОД Чеков: 81 Общий итог: 17102.00 Итого наличными: 14801.00 Итого безнал.: 2301.00 НДС 0% : 0.00 НДС 12% : 1816.14 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 151.27 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 2 Общий итог: 345.00 Итого наличными: 80.00 Итого безнал.: 265.00 НДС 0% : 0.00 НДС 12% : 36.64 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 3.05 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 14721.00 НС Приход: 7391901.10 НС Возвр.Прихода: 281327.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000965420 [23:56:33]StoreToDocumentArchive [23:56:33]MH_GetDate [23:56:33]Write to MH i2c: F0 00 00 63 01 53 [23:56:33]Write i2c OK [23:56:33]MH_I2C_Read... [23:56:33]Read from MH i2c: F0 [23:56:33]MH_I2C_Read... [23:56:33]Read from MH i2c: F0 09 00 [23:56:33]MH_I2C_Read... [23:56:33]Read from MH i2c: F0 09 00 63 01 00 32 EA 16 67 3B 12 16 67 BF [23:56:33]shift 266 fd 1729554994 [23:56:33]Create dir for shift 0266 [23:56:33]save to /storage/0266/doc_1729554994 [23:56:33]save last doc name /storage/0266/doc_1729554994 to /storage/kkm_last_doc_name [23:56:33]save OK [23:56:33]Clear old archive folders... [23:56:33]NVStorageSaveData kkm_last_timestamp [23:56:33]File name is /storage/kkm_last_timestamp [23:56:33]Write 4 bytes [23:56:33]NVStorageSaveData done [23:56:33]ExternCall_PrintAddStr [23:56:33]wPrintStart [23:56:33]Write to MH i2c: 01 00 00 64 01 65 [23:56:33]Write i2c OK [23:56:33]MH_I2C_Read... [23:56:33]Read from MH i2c: 01 [23:56:33]MH_I2C_Read... [23:56:33]Read from MH i2c: 01 07 00 [23:56:33]MH_I2C_Read... [23:56:33]Read from MH i2c: 01 07 00 64 01 00 00 00 00 00 FF 0F 7A [23:56:33]RasterBufferAndPrint [23:56:33]line Х отчет [23:56:33]line ИНН: 02508201610067 [23:56:33]line Кассир: Ахмедова У. [23:56:33]line 21.10.2024 23:56 [23:56:33]line Смена: 266 [23:56:33]line РНМ: 0000000000098120 [23:56:33]line ЗНМ: 0300000166 [23:56:33]line СНО: Общий режим [23:56:33]line Всего чеков: 83 [23:56:33]line ИТОГИ ПРИХОД [23:56:33]line Чеков: 81 [23:56:33]line Общий итог: 17102.00 [23:56:33]line Итого наличными: 14801.00 [23:56:33]line Итого безнал.: 2301.00 [23:56:33]line НДС 0% : 0.00 [23:56:33]line НДС 12% : 1816.14 [23:56:33]line НСП 0% : 0.00 [23:56:33]line НСП 1,50% : 0.00 [23:56:33]line НСП 0,50% : 0.00 [23:56:33]line НСП 5% : 0.00 [23:56:33]line НСП 3% : 0.00 [23:56:33]line НСП 2% : 0.00 [23:56:33]line НСП 1% : 151.27 [23:56:33]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:56:33]line Чеков: 2 [23:56:33]line Общий итог: 345.00 [23:56:33]line Итого наличными: 80.00 [23:56:33]line Итого безнал.: 265.00 [23:56:33]line НДС 0% : 0.00 [23:56:33]line НДС 12% : 36.64 [23:56:33]line НСП 0% : 0.00 [23:56:33]line НСП 1,50% : 0.00 [23:56:33]line НСП 0,50% : 0.00 [23:56:33]line НСП 5% : 0.00 [23:56:33]line НСП 3% : 0.00 [23:56:33]line НСП 2% : 0.00 [23:56:33]line НСП 1% : 3.05 [23:56:33]line ИТОГИ РАСХОД [23:56:33]line Чеков: 0 [23:56:33]line Общий итог: 0.00 [23:56:33]line Итого наличными: 0.00 [23:56:33]line Итого безнал.: 0.00 [23:56:33]line НДС 0% : 0.00 [23:56:33]line НДС 12% : 0.00 [23:56:33]line НСП 0% : 0.00 [23:56:33]line НСП 1,50% : 0.00 [23:56:33]line НСП 0,50% : 0.00 [23:56:33]line НСП 5% : 0.00 [23:56:33]line НСП 3% : 0.00 [23:56:33]line НСП 2% : 0.00 [23:56:33]line НСП 1% : 0.00 [23:56:33]line ИТОГИ ВОЗВРАТ РАСХОДА [23:56:33]line Чеков: 0 [23:56:33]line Общий итог: 0.00 [23:56:33]line Итого наличными: 0.00 [23:56:33]line Итого безнал.: 0.00 [23:56:33]line НДС 0% : 0.00 [23:56:33]line НДС 12% : 0.00 [23:56:33]line НСП 0% : 0.00 [23:56:33]line НСП 1,50% : 0.00 [23:56:33]line НСП 0,50% : 0.00 [23:56:33]line НСП 5% : 0.00 [23:56:33]line НСП 3% : 0.00 [23:56:33]line НСП 2% : 0.00 [23:56:33]line НСП 1% : 0.00 [23:56:33]line Сумма внесений: 0.00 [23:56:33]line Сумма выплат: 0.00 [23:56:33]line Нал. в кассе: 14721.00 [23:56:33]line НС Приход: 7391901.10 [23:56:33]line НС Возвр.Прихода: 281327.00 [23:56:33]line НС Расход: 0.00 [23:56:33]line НС Возвр.Расхода: 0.00 [23:56:33]line ФМ: 0000000000965420 [23:56:33]written 0, free lines is 4095 [23:56:34]Write to MH i2c: 01 00 00 AF 01 B0 [23:56:34]Write i2c OK [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: 01 [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: 01 07 00 [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: 01 07 00 AF 01 00 00 00 00 00 16 0B D8 [23:56:34]RasterBufferAndPrint [23:56:34]line [23:56:34]line [23:56:34]line [23:56:34]line [23:56:34]line [23:56:34]written 0, free lines is 2874 [23:56:34]process_action x_report done [23:56:34]requested_data is exist [23:56:34]produce_requested_data [23:56:34]requested_item fd.num is exist - process it [23:56:34]SAM_PROTO_GetFieldsCounters [23:56:34]wFMCommunicate request_size=4 [23:56:34]MH_SAM_APDU [23:56:34]CAPDU: 80 13 00 00 [23:56:34]Write to MH i2c: E2 08 00 B6 01 80 13 00 00 00 00 00 00 33 [23:56:34]Write i2c OK [23:56:34]MH_I2C_Read... [23:56:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:56:34]Read from MH i2c: E2 [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: E2 62 00 [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: E2 62 00 B6 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3B 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 AA [23:56: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3B 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:56:34]wFMCommunicate OK [23:56:34]SAM_PROTO_GetFieldsCounters done [23:56:34]requested_item shift.num is exist - process it [23:56:34]requested_item shift.opened is exist - process it [23:56:34]req_shift_opened [23:56:34]FM_GetShiftState [23:56:34]SAM_PROTO_GetShiftState [23:56:34]wFMCommunicate request_size=4 [23:56:34]MH_SAM_APDU [23:56:34]CAPDU: 80 13 01 00 [23:56:34]Write to MH i2c: E2 08 00 B7 01 80 13 01 00 00 00 00 00 35 [23:56:34]Write i2c OK [23:56:34]MH_I2C_Read... [23:56:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:56:34]Read from MH i2c: E2 [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: E2 0E 00 [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: E2 0E 00 B7 01 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 7F [23:56:34]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [23:56:34]wFMCommunicate OK [23:56:34]SAM_PROTO_GetShiftState done [23:56:34]FM_GetShiftState done [23:56:34]req_shift_opened done [23:56:34]requested_item shift.open_date is exist - process it [23:56:34]req_shift_open_date [23:56:34]req_shift_open_date done [23:56:34]produce_requested_data done [23:56:34]produce_requested_data return {"fd.num":24379,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [23:56:34]process_action_free x_report [23:56:34]json_value_free [23:56:34]json_value_free done [23:56:34]process_json_proto returns [23:56:34]Send response to host [23:56:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":24379,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [23:56:34]free response buf [23:56:34]execute_script done [23:56:34]execute_script returns [23:56:34]free content buf [23:56:34]Sock 7.Close socket [23:56:34]Sock 7.Thread stoped [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]accept exits with 9 [23:57:11]New connection [23:57:11]New thread 3067596132 created [23:57:11]Thread 3067452772 joined [23:57:11]Waiting for new connection... [23:57:11] Sock 9.Parse request [23:57:11]Sock 9.Check first char [23:57:11]Sock 9.First char is OK [23:57:11]request: POST /json_proto HTTP/1.0 [23:57:11]Method: POST [23:57:11]URL: /json_proto [23:57:11]Method is POST - this is cgi request [23:57:11]url: /json_proto [23:57:11]query_string will be loaded in cgi processing [23:57:11]execute_cgi json_proto POST (null) [23:57:11]execute_cgi path=json_proto method=POST [23:57:11]POST find Content-Length [23:57:11]Host: 172.17.50.4:8080 [23:57:11]Content-Length: 215 [23:57:11]Content-Type: application/json [23:57:11] [23:57:11]POST finish read [23:57:11]Found Content-Length = 215 [23:57:11]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:57:11]execute_script... [23:57:11]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:57:11]POST & json_proto [23:57:11]process_json_proto [23:57:11]json parsed OK: [23:57:11]protocol is kg_v1.0 [23:57:11]action value=get_value [23:57:11]process_action get_value [23:57:11]cmd_get_value [23:57:11]process_action get_value done [23:57:11]requested_data is exist [23:57:11]produce_requested_data [23:57:11]requested_item kkm.sn is exist - process it [23:57:11]requested_item kkm.ver is exist - process it [23:57:11]requested_item fm.sn is exist - process it [23:57:11]wFMCommunicate request_size=4 [23:57:11]MH_SAM_APDU [23:57:11]CAPDU: 80 11 00 00 [23:57:11]Write to MH i2c: E2 08 00 B8 01 80 11 00 00 00 00 00 00 33 [23:57:11]Write i2c OK [23:57:11]MH_I2C_Read... [23:57:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:57:11]Read from MH i2c: E2 [23:57:11]MH_I2C_Read... [23:57:11]Read from MH i2c: E2 17 00 [23:57:11]MH_I2C_Read... [23:57:11]Read from MH i2c: E2 17 00 B8 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 80 [23:57:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:57:11]wFMCommunicate OK [23:57:11]requested_item fd.num is exist - process it [23:57:11]SAM_PROTO_GetFieldsCounters [23:57:11]wFMCommunicate request_size=4 [23:57:11]MH_SAM_APDU [23:57:11]CAPDU: 80 13 00 00 [23:57:11]Write to MH i2c: E2 08 00 B9 01 80 13 00 00 00 00 00 00 36 [23:57:11]Write i2c OK [23:57:11]MH_I2C_Read... [23:57:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:57:11]Read from MH i2c: E2 [23:57:11]MH_I2C_Read... [23:57:11]Read from MH i2c: E2 62 00 [23:57:11]MH_I2C_Read... [23:57:11]Read from MH i2c: E2 62 00 B9 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3B 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 AD [23:57: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3B 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:57:11]wFMCommunicate OK [23:57:11]SAM_PROTO_GetFieldsCounters done [23:57:11]requested_item shift.num is exist - process it [23:57:11]requested_item shift.opened is exist - process it [23:57:11]req_shift_opened [23:57:11]FM_GetShiftState [23:57:11]SAM_PROTO_GetShiftState [23:57:11]wFMCommunicate request_size=4 [23:57:11]MH_SAM_APDU [23:57:11]CAPDU: 80 13 01 00 [23:57:11]Write to MH i2c: E2 08 00 BA 01 80 13 01 00 00 00 00 00 38 [23:57:11]Write i2c OK [23:57:11]MH_I2C_Read... [23:57:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:57:11]Read from MH i2c: E2 [23:57:11]MH_I2C_Read... [23:57:11]Read from MH i2c: E2 0E 00 [23:57:11]MH_I2C_Read... [23:57:11]Read from MH i2c: E2 0E 00 BA 01 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 82 [23:57:11]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [23:57:11]wFMCommunicate OK [23:57:11]SAM_PROTO_GetShiftState done [23:57:11]FM_GetShiftState done [23:57:11]req_shift_opened done [23:57:11]requested_item shift.open_date is exist - process it [23:57:11]req_shift_open_date [23:57:11]req_shift_open_date done [23:57:11]produce_requested_data done [23:57:11]produce_requested_data return {"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24379,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [23:57:11]process_action_free get_value [23:57:11]json_value_free [23:57:11]json_value_free done [23:57:11]process_json_proto returns [23:57:11]Send response to host [23:57:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24379,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [23:57:11]free response buf [23:57:11]execute_script done [23:57:11]execute_script returns [23:57:11]free content buf [23:57:11]Sock 9.Close socket [23:57:11]Sock 9.Thread stoped [23:57:11]accept exits with 7 [23:57:11]New connection [23:57:11]New thread 3067452772 created [23:57:11]Thread 3067596132 joined [23:57:11]Waiting for new connection... [23:57:11] Sock 7.Parse request [23:57:11]Sock 7.Check first char [23:57:11]Sock 7.First char is OK [23:57:11]request: POST /json_proto HTTP/1.0 [23:57:11]Method: POST [23:57:11]URL: /json_proto [23:57:11]Method is POST - this is cgi request [23:57:11]url: /json_proto [23:57:11]query_string will be loaded in cgi processing [23:57:11]execute_cgi json_proto POST (null) [23:57:11]execute_cgi path=json_proto method=POST [23:57:11]POST find Content-Length [23:57:11]Host: 172.17.50.4:8080 [23:57:11]Content-Length: 331 [23:57:11]Content-Type: application/json [23:57:11] [23:57:11]POST finish read [23:57:11]Found Content-Length = 331 [23:57:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:57:11]execute_script... [23:57:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:57:11]POST & json_proto [23:57:11]process_json_proto [23:57:11]json parsed OK: [23:57:11]protocol is kg_v1.0 [23:57:11]action value=get_value [23:57:12]process_action get_value [23:57:12]cmd_get_value [23:57:12]process_action get_value done [23:57:12]requested_data is exist [23:57:12]produce_requested_data [23:57:12]requested_item fm.sale.total is exist - process it [23:57:12]SAM_PROTO_GetFMData [23:57:12]wFMCommunicate request_size=4 [23:57:12]MH_SAM_APDU [23:57:12]CAPDU: 80 13 03 00 [23:57:12]Write to MH i2c: E2 08 00 BB 01 80 13 03 00 00 00 00 00 3B [23:57:12]OFD Sender: No OFD packet to send [23:57:12]Write i2c OK [23:57:12]MH_I2C_Read... [23:57:12]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:57:12]Read from MH i2c: E2 [23:57:12]MH_I2C_Read... [23:57:12]Read from MH i2c: E2 FD 00 [23:57:12]MH_I2C_Read... [23:57:12]Read from MH i2c: E2 FD 00 BB 01 00 C4 04 85 04 C0 04 6E 04 04 00 A8 5B 00 00 69 04 A0 00 6F 04 04 00 18 5B 00 00 B1 04 04 00 5E 25 0F 2C 70 04 04 00 74 E7 1B 24 72 04 04 00 EA 3D F3 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E6 E6 AD 04 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 AA C7 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 97 2D EF 03 09 00 90 00 B8 [23:57:12]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 A8 5B 00 00 69 04 A0 00 6F 04 04 00 18 5B 00 00 B1 04 04 00 5E 25 0F 2C 70 04 04 00 74 E7 1B 24 72 04 04 00 EA 3D F3 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E6 E6 AD 04 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 AA C7 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 97 2D EF 03 09 00 90 00 [23:57:12]wFMCommunicate OK [23:57:12]wFMCommunicate request_size=4 [23:57:12]MH_SAM_APDU [23:57:12]CAPDU: 80 17 00 00 [23:57:12]Write to MH i2c: E2 08 00 BC 01 80 17 00 00 00 00 00 00 3D [23:57:12]Write i2c OK [23:57:12]MH_I2C_Read... [23:57:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:12]Read from MH i2c: E2 [23:57:12]MH_I2C_Read... [23:57:12]Read from MH i2c: E2 FD 00 [23:57:12]MH_I2C_Read... [23:57:12]Read from MH i2c: E2 FD 00 BC 01 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 50 [23:57:12]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:57:12]wFMCommunicate OK [23:57:12]wFMCommunicate request_size=4 [23:57:12]MH_SAM_APDU [23:57:12]CAPDU: 80 17 00 00 [23:57:12]Write to MH i2c: E2 08 00 BD 01 80 17 00 00 00 00 00 00 3E [23:57:12]Write i2c OK [23:57:12]MH_I2C_Read... [23:57:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:12]Read from MH i2c: E2 [23:57:12]MH_I2C_Read... [23:57:12]Read from MH i2c: E2 FD 00 [23:57:12]MH_I2C_Read... [23:57:13]Read from MH i2c: E2 FD 00 BD 01 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 53 [23:57:13]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:57:13]wFMCommunicate OK [23:57:13]wFMCommunicate request_size=4 [23:57:13]MH_SAM_APDU [23:57:13]CAPDU: 80 17 00 00 [23:57:13]Write to MH i2c: E2 08 00 BE 01 80 17 00 00 00 00 00 00 3F [23:57:13]Write i2c OK [23:57:13]MH_I2C_Read... [23:57:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:13]Read from MH i2c: E2 [23:57:13]MH_I2C_Read... [23:57:13]Read from MH i2c: E2 FD 00 [23:57:13]MH_I2C_Read... [23:57:13]Read from MH i2c: E2 FD 00 BE 01 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 B7 [23:57:13]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:57:13]wFMCommunicate OK [23:57:13]wFMCommunicate request_size=4 [23:57:13]MH_SAM_APDU [23:57:13]CAPDU: 80 17 00 00 [23:57:13]Write to MH i2c: E2 08 00 BF 01 80 17 00 00 00 00 00 00 40 [23:57:13]Write i2c OK [23:57:13]MH_I2C_Read... [23:57:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:57:13]Read from MH i2c: E2 [23:57:13]MH_I2C_Read... [23:57:13]Read from MH i2c: E2 E1 00 [23:57:13]MH_I2C_Read... [23:57:13]Read from MH i2c: E2 E1 00 BF 01 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 2E [23:57:13]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:57:13]wFMCommunicate OK [23:57:13]SAM_PROTO_GetFMData done [23:57:13]requested_item fm.sale_refund.total is exist - process it [23:57:13]requested_item fm.buy.total is exist - process it [23:57:13]requested_item shift.sale.total is exist - process it [23:57:13]SAM_PROTO_GetShiftData [23:57:13]wFMCommunicate request_size=4 [23:57:13]MH_SAM_APDU [23:57:13]CAPDU: 80 13 02 00 [23:57:13]Write to MH i2c: E2 08 00 C0 01 80 13 02 00 00 00 00 00 3F [23:57:13]Write i2c OK [23:57:13]MH_I2C_Read... [23:57:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:57:14]Read from MH i2c: E2 [23:57:14]MH_I2C_Read... [23:57:14]Read from MH i2c: E2 FD 00 [23:57:14]MH_I2C_Read... [23:57:14]Read from MH i2c: E2 FD 00 C0 01 00 B8 04 AA 04 B4 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 78 18 1A 70 04 03 00 A4 95 16 72 04 03 00 D4 82 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C5 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 17 3B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 02 00 C4 86 70 04 02 00 40 1F 72 04 02 00 84 67 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 50 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 A2 [23:57:14]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 78 18 1A 70 04 03 00 A4 95 16 72 04 03 00 D4 82 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C5 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 17 3B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 02 00 C4 86 70 04 02 00 40 1F 72 04 02 00 84 67 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 50 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [23:57:14]wFMCommunicate OK [23:57:14]wFMCommunicate request_size=4 [23:57:14]MH_SAM_APDU [23:57:14]CAPDU: 80 17 00 00 [23:57:14]Write to MH i2c: E2 08 00 C1 01 80 17 00 00 00 00 00 00 42 [23:57:14]Write i2c OK [23:57:14]MH_I2C_Read... [23:57:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:14]Read from MH i2c: E2 [23:57:14]MH_I2C_Read... [23:57:14]Read from MH i2c: E2 FD 00 [23:57:14]MH_I2C_Read... [23:57:14]Read from MH i2c: E2 FD 00 C1 01 00 0B 00 F6 03 01 00 01 F7 03 02 00 31 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 A5 [23:57:14]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 31 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 [23:57:14]wFMCommunicate OK [23:57:14]wFMCommunicate request_size=4 [23:57:14]MH_SAM_APDU [23:57:14]CAPDU: 80 17 00 00 [23:57:14]Write to MH i2c: E2 08 00 C2 01 80 17 00 00 00 00 00 00 43 [23:57:14]Write i2c OK [23:57:14]MH_I2C_Read... [23:57:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:14]Read from MH i2c: E2 [23:57:14]MH_I2C_Read... [23:57:14]Read from MH i2c: E2 FD 00 [23:57:14]MH_I2C_Read... [23:57:14]Read from MH i2c: E2 FD 00 C2 01 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 E5 [23:57:14]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 [23:57:14]wFMCommunicate OK [23:57:14]wFMCommunicate request_size=4 [23:57:14]MH_SAM_APDU [23:57:14]CAPDU: 80 17 00 00 [23:57:14]Write to MH i2c: E2 08 00 C3 01 80 17 00 00 00 00 00 00 44 [23:57:14]Write i2c OK [23:57:14]MH_I2C_Read... [23:57:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:15]Read from MH i2c: E2 [23:57:15]MH_I2C_Read... [23:57:15]Read from MH i2c: E2 FD 00 [23:57:15]MH_I2C_Read... [23:57:15]Read from MH i2c: E2 FD 00 C3 01 00 03 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 90 00 CD [23:57:15]RAPDU: 03 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 90 00 [23:57:15]wFMCommunicate OK [23:57:15]wFMCommunicate request_size=4 [23:57:15]MH_SAM_APDU [23:57:15]CAPDU: 80 17 00 00 [23:57:15]Write to MH i2c: E2 08 00 C4 01 80 17 00 00 00 00 00 00 45 [23:57:15]Write i2c OK [23:57:15]MH_I2C_Read... [23:57:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [23:57:15]Read from MH i2c: E2 [23:57:15]MH_I2C_Read... [23:57:15]Read from MH i2c: E2 D5 00 [23:57:15]MH_I2C_Read... [23:57:15]Read from MH i2c: E2 D5 00 C4 01 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 26 [23:57:15]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:57:15]wFMCommunicate OK [23:57:15]SAM_PROTO_GetShiftData done [23:57:15]requested_item shift.sale.total_cash is exist - process it [23:57:15]requested_item shift.sale_refund.total is exist - process it [23:57:15]requested_item shift.sale_refund.total_cash is exist - process it [23:57:15]requested_item shift.buy.total is exist - process it [23:57:15]requested_item shift.buy.total_cash is exist - process it [23:57:15]produce_requested_data done [23:57:15]produce_requested_data return {"fm.sale.total":7391901.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":17102.00,"shift.sale.total_cash":14801.00,"shift.sale_refund.total":345.00,"shift.sale_refund.total_cash":80.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:57:15]process_action_free get_value [23:57:15]json_value_free [23:57:15]json_value_free done [23:57:15]process_json_proto returns [23:57:15]Send response to host [23:57:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":7391901.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":17102.00,"shift.sale.total_cash":14801.00,"shift.sale_refund.total":345.00,"shift.sale_refund.total_cash":80.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:57:15]free response buf [23:57:15]execute_script done [23:57:15]execute_script returns [23:57:15]free content buf [23:57:15]Sock 7.Close socket [23:57:15]Sock 7.Thread stoped [23:57:15]accept exits with 9 [23:57:15]New connection [23:57:15]New thread 3067596132 created [23:57:15]Thread 3067452772 joined [23:57:15]Waiting for new connection... [23:57:15] Sock 9.Parse request [23:57:15]Sock 9.Check first char [23:57:15]Sock 9.First char is OK [23:57:15]request: POST /json_proto HTTP/1.0 [23:57:15]Method: POST [23:57:15]URL: /json_proto [23:57:15]Method is POST - this is cgi request [23:57:15]url: /json_proto [23:57:15]query_string will be loaded in cgi processing [23:57:15]execute_cgi json_proto POST (null) [23:57:15]execute_cgi path=json_proto method=POST [23:57:15]POST find Content-Length [23:57:15]Host: 172.17.50.4:8080 [23:57:15]Content-Length: 331 [23:57:15]Content-Type: application/json [23:57:15] [23:57:15]POST finish read [23:57:15]Found Content-Length = 331 [23:57:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:57:15]execute_script... [23:57:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:57:15]POST & json_proto [23:57:15]process_json_proto [23:57:15]json parsed OK: [23:57:15]protocol is kg_v1.0 [23:57:15]action value=get_value [23:57:15]process_action get_value [23:57:15]cmd_get_value [23:57:15]process_action get_value done [23:57:15]requested_data is exist [23:57:15]produce_requested_data [23:57:15]requested_item fm.sale.total is exist - process it [23:57:15]SAM_PROTO_GetFMData [23:57:15]wFMCommunicate request_size=4 [23:57:15]MH_SAM_APDU [23:57:15]CAPDU: 80 13 03 00 [23:57:15]Write to MH i2c: E2 08 00 C5 01 80 13 03 00 00 00 00 00 45 [23:57:15]Write i2c OK [23:57:15]MH_I2C_Read... [23:57:16]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:57:16]Read from MH i2c: E2 [23:57:16]MH_I2C_Read... [23:57:16]Read from MH i2c: E2 FD 00 [23:57:16]MH_I2C_Read... [23:57:16]Read from MH i2c: E2 FD 00 C5 01 00 C4 04 85 04 C0 04 6E 04 04 00 A8 5B 00 00 69 04 A0 00 6F 04 04 00 18 5B 00 00 B1 04 04 00 5E 25 0F 2C 70 04 04 00 74 E7 1B 24 72 04 04 00 EA 3D F3 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E6 E6 AD 04 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 AA C7 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 97 2D EF 03 09 00 90 00 C2 [23:57:16]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 A8 5B 00 00 69 04 A0 00 6F 04 04 00 18 5B 00 00 B1 04 04 00 5E 25 0F 2C 70 04 04 00 74 E7 1B 24 72 04 04 00 EA 3D F3 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E6 E6 AD 04 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 AA C7 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 97 2D EF 03 09 00 90 00 [23:57:16]wFMCommunicate OK [23:57:16]wFMCommunicate request_size=4 [23:57:16]MH_SAM_APDU [23:57:16]CAPDU: 80 17 00 00 [23:57:16]Write to MH i2c: E2 08 00 C6 01 80 17 00 00 00 00 00 00 47 [23:57:16]Write i2c OK [23:57:16]MH_I2C_Read... [23:57:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:16]Read from MH i2c: E2 [23:57:16]MH_I2C_Read... [23:57:16]Read from MH i2c: E2 FD 00 [23:57:16]MH_I2C_Read... [23:57:16]Read from MH i2c: E2 FD 00 C6 01 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 5A [23:57:16]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:57:16]wFMCommunicate OK [23:57:16]wFMCommunicate request_size=4 [23:57:16]MH_SAM_APDU [23:57:16]CAPDU: 80 17 00 00 [23:57:16]Write to MH i2c: E2 08 00 C7 01 80 17 00 00 00 00 00 00 48 [23:57:16]Write i2c OK [23:57:16]MH_I2C_Read... [23:57:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:16]Read from MH i2c: E2 [23:57:16]MH_I2C_Read... [23:57:16]Read from MH i2c: E2 FD 00 [23:57:16]MH_I2C_Read... [23:57:16]Read from MH i2c: E2 FD 00 C7 01 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 5D [23:57:16]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:57:16]wFMCommunicate OK [23:57:16]wFMCommunicate request_size=4 [23:57:16]MH_SAM_APDU [23:57:16]CAPDU: 80 17 00 00 [23:57:16]Write to MH i2c: E2 08 00 C8 01 80 17 00 00 00 00 00 00 49 [23:57:16]Write i2c OK [23:57:16]MH_I2C_Read... [23:57:17]OFD Sender: No OFD packet to send [23:57:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:17]Read from MH i2c: E2 [23:57:17]MH_I2C_Read... [23:57:17]Read from MH i2c: E2 FD 00 [23:57:17]MH_I2C_Read... [23:57:17]Read from MH i2c: E2 FD 00 C8 01 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 C1 [23:57:17]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:57:17]wFMCommunicate OK [23:57:17]wFMCommunicate request_size=4 [23:57:17]MH_SAM_APDU [23:57:17]CAPDU: 80 17 00 00 [23:57:17]Write to MH i2c: E2 08 00 C9 01 80 17 00 00 00 00 00 00 4A [23:57:17]Write i2c OK [23:57:17]MH_I2C_Read... [23:57:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:57:17]Read from MH i2c: E2 [23:57:17]MH_I2C_Read... [23:57:17]Read from MH i2c: E2 E1 00 [23:57:17]MH_I2C_Read... [23:57:17]Read from MH i2c: E2 E1 00 C9 01 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 38 [23:57:17]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:57:17]wFMCommunicate OK [23:57:17]SAM_PROTO_GetFMData done [23:57:17]requested_item fm.sale_refund.total is exist - process it [23:57:17]requested_item fm.buy.total is exist - process it [23:57:17]requested_item shift.sale.total is exist - process it [23:57:17]SAM_PROTO_GetShiftData [23:57:17]wFMCommunicate request_size=4 [23:57:17]MH_SAM_APDU [23:57:17]CAPDU: 80 13 02 00 [23:57:17]Write to MH i2c: E2 08 00 CA 01 80 13 02 00 00 00 00 00 49 [23:57:17]Write i2c OK [23:57:17]MH_I2C_Read... [23:57:18]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:57:18]Read from MH i2c: E2 [23:57:18]MH_I2C_Read... [23:57:18]Read from MH i2c: E2 FD 00 [23:57:18]MH_I2C_Read... [23:57:18]Read from MH i2c: E2 FD 00 CA 01 00 B8 04 AA 04 B4 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 78 18 1A 70 04 03 00 A4 95 16 72 04 03 00 D4 82 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C5 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 17 3B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 02 00 C4 86 70 04 02 00 40 1F 72 04 02 00 84 67 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 50 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 AC [23:57:18]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 78 18 1A 70 04 03 00 A4 95 16 72 04 03 00 D4 82 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C5 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 17 3B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 02 00 C4 86 70 04 02 00 40 1F 72 04 02 00 84 67 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 50 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [23:57:18]wFMCommunicate OK [23:57:18]wFMCommunicate request_size=4 [23:57:18]MH_SAM_APDU [23:57:18]CAPDU: 80 17 00 00 [23:57:18]Write to MH i2c: E2 08 00 CB 01 80 17 00 00 00 00 00 00 4C [23:57:18]Write i2c OK [23:57:18]MH_I2C_Read... [23:57:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:18]Read from MH i2c: E2 [23:57:18]MH_I2C_Read... [23:57:18]Read from MH i2c: E2 FD 00 [23:57:18]MH_I2C_Read... [23:57:18]Read from MH i2c: E2 FD 00 CB 01 00 0B 00 F6 03 01 00 01 F7 03 02 00 31 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 AF [23:57:18]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 31 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 [23:57:18]wFMCommunicate OK [23:57:18]wFMCommunicate request_size=4 [23:57:18]MH_SAM_APDU [23:57:18]CAPDU: 80 17 00 00 [23:57:18]Write to MH i2c: E2 08 00 CC 01 80 17 00 00 00 00 00 00 4D [23:57:18]Write i2c OK [23:57:18]MH_I2C_Read... [23:57:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:19]Read from MH i2c: E2 [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: E2 FD 00 [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: E2 FD 00 CC 01 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 EF [23:57:19]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 [23:57:19]wFMCommunicate OK [23:57:19]wFMCommunicate request_size=4 [23:57:19]MH_SAM_APDU [23:57:19]CAPDU: 80 17 00 00 [23:57:19]Write to MH i2c: E2 08 00 CD 01 80 17 00 00 00 00 00 00 4E [23:57:19]Write i2c OK [23:57:19]MH_I2C_Read... [23:57:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:19]Read from MH i2c: E2 [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: E2 FD 00 [23:57:19]MH_I2C_Read... [23:57:19]Read from MH i2c: E2 FD 00 CD 01 00 03 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 90 00 D7 [23:57:19]RAPDU: 03 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 90 00 [23:57:19]wFMCommunicate OK [23:57:19]wFMCommunicate request_size=4 [23:57:19]MH_SAM_APDU [23:57:19]CAPDU: 80 17 00 00 [23:57:19]Write to MH i2c: E2 08 00 CE 01 80 17 00 00 00 00 00 00 4F [23:57:19]Write i2c OK [23:57:19]MH_I2C_Read... [23:57:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [23:57:20]Read from MH i2c: E2 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: E2 D5 00 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: E2 D5 00 CE 01 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 30 [23:57:20]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:57:20]wFMCommunicate OK [23:57:20]SAM_PROTO_GetShiftData done [23:57:20]requested_item shift.sale.total_cash is exist - process it [23:57:20]requested_item shift.sale_refund.total is exist - process it [23:57:20]requested_item shift.sale_refund.total_cash is exist - process it [23:57:20]requested_item shift.buy.total is exist - process it [23:57:20]requested_item shift.buy.total_cash is exist - process it [23:57:20]produce_requested_data done [23:57:20]produce_requested_data return {"fm.sale.total":7391901.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":17102.00,"shift.sale.total_cash":14801.00,"shift.sale_refund.total":345.00,"shift.sale_refund.total_cash":80.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:57:20]process_action_free get_value [23:57:20]json_value_free [23:57:20]json_value_free done [23:57:20]process_json_proto returns [23:57:20]Send response to host [23:57:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":7391901.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":17102.00,"shift.sale.total_cash":14801.00,"shift.sale_refund.total":345.00,"shift.sale_refund.total_cash":80.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:57:20]free response buf [23:57:20]execute_script done [23:57:20]execute_script returns [23:57:20]free content buf [23:57:20]Sock 9.Close socket [23:57:20]Sock 9.Thread stoped [23:57:20]accept exits with 10 [23:57:20]New connection [23:57:20]New thread 3067452772 created [23:57:20]Thread 3067596132 joined [23:57:20]Waiting for new connection... [23:57:20] Sock 10.Parse request [23:57:20]Sock 10.Check first char [23:57:20]Sock 10.First char is OK [23:57:20]request: POST /json_proto HTTP/1.0 [23:57:20]Method: POST [23:57:20]URL: /json_proto [23:57:20]Method is POST - this is cgi request [23:57:20]url: /json_proto [23:57:20]query_string will be loaded in cgi processing [23:57:20]execute_cgi json_proto POST (null) [23:57:20]execute_cgi path=json_proto method=POST [23:57:20]POST find Content-Length [23:57:20]Host: 172.17.50.4:8080 [23:57:20]Content-Length: 260 [23:57:20]Content-Type: application/json [23:57:20] [23:57:20]POST finish read [23:57:20]Found Content-Length = 260 [23:57:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0410\u0445\u043C\u0435\u0434\u043E\u0432\u0430 \u0423. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:57:20]execute_script... [23:57:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0410\u0445\u043C\u0435\u0434\u043E\u0432\u0430 \u0423. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:57:20]POST & json_proto [23:57:20]process_json_proto [23:57:20]json parsed OK: [23:57:20]protocol is kg_v1.0 [23:57:20]action value=close_shift [23:57:20]process_action close_shift [23:57:20]cmd_close_shift [23:57:20]MH_GetDate [23:57:20]Write to MH i2c: F0 00 00 CF 01 BF [23:57:20]Write i2c OK [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: F0 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: F0 09 00 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: F0 09 00 CF 01 00 61 EA 16 67 3B 12 16 67 5A [23:57:20]GetLastDocTimeStamp 1729554986 [23:57:20]current date 1729555041 [23:57:20]FM_GetShiftState [23:57:20]SAM_PROTO_GetShiftState [23:57:20]wFMCommunicate request_size=4 [23:57:20]MH_SAM_APDU [23:57:20]CAPDU: 80 13 01 00 [23:57:20]Write to MH i2c: E2 08 00 D0 01 80 13 01 00 00 00 00 00 4E [23:57:20]Write i2c OK [23:57:20]MH_I2C_Read... [23:57:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:57:20]Read from MH i2c: E2 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: E2 0E 00 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: E2 0E 00 D0 01 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 98 [23:57:20]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [23:57:20]wFMCommunicate OK [23:57:20]SAM_PROTO_GetShiftState done [23:57:20]FM_GetShiftState done [23:57:20]KKMCreateCloseShiftDocument [23:57:20]Load OK [23:57:20]Malloc new data [23:57:20]MH_GetDate [23:57:20]Write to MH i2c: F0 00 00 D1 01 C1 [23:57:20]Write i2c OK [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: F0 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: F0 09 00 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: F0 09 00 D1 01 00 61 EA 16 67 3B 12 16 67 5C [23:57:20]Malloc new data [23:57:20]Malloc new data [23:57:20]Malloc new data [23:57:20]Malloc new data [23:57:20]KKMCreateCloseShiftDocument OK [23:57:20]KKMSetCloseShiftData OK [23:57:20]ProcessDocumentItem done err = 0, tmpTLVsize=71 [23:57:20]tlvbuf is 00DBB9D0 [23:57:20]KKMLoadAndSignCloseShiftData [23:57:20]SAM_PROTO_ProcessDocument [23:57:20]wFMCommunicate request_size=9 [23:57:20]MH_SAM_APDU [23:57:20]CAPDU: 80 15 01 00 04 05 00 47 00 [23:57:20]Write to MH i2c: E2 0C 00 D2 01 80 15 01 00 04 00 05 00 47 00 00 00 A6 [23:57:20]Write i2c OK [23:57:20]MH_I2C_Read... [23:57:20]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [23:57:20]Read from MH i2c: E2 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: E2 03 00 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: E2 03 00 D2 01 00 90 00 47 [23:57:20]RAPDU: 90 00 [23:57:20]wFMCommunicate OK [23:57:20]wFMCommunicate request_size=23 [23:57:20]MH_SAM_APDU [23:57:20]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [23:57:20]Write to MH i2c: E2 1A 00 D3 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 49 [23:57:20]Write i2c OK [23:57:20]MH_I2C_Read... [23:57:20]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:57:20]Read from MH i2c: E2 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: E2 03 00 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: E2 03 00 D3 01 00 90 00 48 [23:57:20]RAPDU: 90 00 [23:57:20]wFMCommunicate OK [23:57:20]wFMCommunicate request_size=30 [23:57:20]MH_SAM_APDU [23:57:20]CAPDU: 80 15 02 00 19 FD 03 15 00 D0 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 [23:57:20]Write to MH i2c: E2 21 00 D4 01 80 15 02 00 19 00 FD 03 15 00 D0 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 00 00 58 [23:57:20]Write i2c OK [23:57:20]MH_I2C_Read... [23:57:20]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:57:20]Read from MH i2c: E2 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: E2 03 00 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: E2 03 00 D4 01 00 90 00 49 [23:57:20]RAPDU: 90 00 [23:57:20]wFMCommunicate OK [23:57:20]wFMCommunicate request_size=13 [23:57:20]MH_SAM_APDU [23:57:20]CAPDU: 80 15 02 00 08 F4 03 04 00 61 EA 16 67 [23:57:20]Write to MH i2c: E2 10 00 D5 01 80 15 02 00 08 00 F4 03 04 00 61 EA 16 67 00 00 29 [23:57:20]Write i2c OK [23:57:20]MH_I2C_Read... [23:57:20]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:57:20]Read from MH i2c: E2 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: E2 03 00 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: E2 03 00 D5 01 00 90 00 4A [23:57:20]RAPDU: 90 00 [23:57:20]wFMCommunicate OK [23:57:20]wFMCommunicate request_size=25 [23:57:20]MH_SAM_APDU [23:57:20]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 [23:57:20]Write to MH i2c: E2 1C 00 D6 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 32 30 00 00 B4 [23:57:20]Write i2c OK [23:57:20]MH_I2C_Read... [23:57:20]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:57:20]Read from MH i2c: E2 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: E2 03 00 [23:57:20]MH_I2C_Read... [23:57:20]Read from MH i2c: E2 03 00 D6 01 00 90 00 4B [23:57:20]RAPDU: 90 00 [23:57:20]wFMCommunicate OK [23:57:20]wFMCommunicate request_size=4 [23:57:20]MH_SAM_APDU [23:57:20]CAPDU: 80 15 03 00 [23:57:20]Write to MH i2c: E2 08 00 D7 01 80 15 03 00 00 00 00 00 59 [23:57:20]Write i2c OK [23:57:20]MH_I2C_Read... [23:57:21]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [23:57:21]Read from MH i2c: E2 [23:57:21]MH_I2C_Read... [23:57:21]Read from MH i2c: E2 FD 00 [23:57:21]MH_I2C_Read... [23:57:21]Read from MH i2c: E2 FD 00 D7 01 00 FB 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 3C 5F 00 00 0E 04 04 00 CD 01 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 55 00 00 00 AA 04 B4 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 78 18 1A 70 04 03 00 A4 95 16 72 04 03 00 D4 82 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C5 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 17 3B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 02 00 C4 86 70 04 90 00 AD [23:57:21]RAPDU: FB 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 3C 5F 00 00 0E 04 04 00 CD 01 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 55 00 00 00 AA 04 B4 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 78 18 1A 70 04 03 00 A4 95 16 72 04 03 00 D4 82 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C5 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 17 3B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 02 00 C4 86 70 04 90 00 [23:57:21]wFMCommunicate OK [23:57:21]SAM_PROTO_ProcessDocument answer len = 1275 [23:57:21]SAM_PROTO_ProcessDocument remain to read = 1027 [23:57:21]wFMCommunicate request_size=4 [23:57:21]MH_SAM_APDU [23:57:21]CAPDU: 80 17 00 00 [23:57:21]Write to MH i2c: E2 08 00 D8 01 80 17 00 00 00 00 00 00 59 [23:57:21]Write i2c OK [23:57:21]MH_I2C_Read... [23:57:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:21]Read from MH i2c: E2 [23:57:21]MH_I2C_Read... [23:57:21]Read from MH i2c: E2 FD 00 [23:57:21]MH_I2C_Read... [23:57:21]Read from MH i2c: E2 FD 00 D8 01 00 02 00 40 1F 72 04 02 00 84 67 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 50 0E 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 31 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 90 00 9E [23:57:21]RAPDU: 02 00 40 1F 72 04 02 00 84 67 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 50 0E 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 31 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 90 00 [23:57:22]wFMCommunicate OK [23:57:22]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:57:22]SAM_PROTO_ProcessDocument remain to read = 777 [23:57:22]wFMCommunicate request_size=4 [23:57:22]MH_SAM_APDU [23:57:22]CAPDU: 80 17 00 00 [23:57:22]Write to MH i2c: E2 08 00 D9 01 80 17 00 00 00 00 00 00 5A [23:57:22]Write i2c OK [23:57:22]MH_I2C_Read... [23:57:22]OFD Sender: No OFD packet to send [23:57:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:22]Read from MH i2c: E2 [23:57:22]MH_I2C_Read... [23:57:22]Read from MH i2c: E2 FD 00 [23:57:22]MH_I2C_Read... [23:57:22]Read from MH i2c: E2 FD 00 D9 01 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 BC [23:57:22]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 [23:57:22]wFMCommunicate OK [23:57:22]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:57:22]SAM_PROTO_ProcessDocument remain to read = 527 [23:57:22]wFMCommunicate request_size=4 [23:57:22]MH_SAM_APDU [23:57:22]CAPDU: 80 17 00 00 [23:57:22]Write to MH i2c: E2 08 00 DA 01 80 17 00 00 00 00 00 00 5B [23:57:22]Write i2c OK [23:57:22]MH_I2C_Read... [23:57:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:22]Read from MH i2c: E2 [23:57:22]MH_I2C_Read... [23:57:22]Read from MH i2c: E2 FD 00 [23:57:22]MH_I2C_Read... [23:57:22]Read from MH i2c: E2 FD 00 DA 01 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 6E [23:57:22]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:57:23]wFMCommunicate OK [23:57:23]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:57:23]SAM_PROTO_ProcessDocument remain to read = 277 [23:57:23]wFMCommunicate request_size=4 [23:57:23]MH_SAM_APDU [23:57:23]CAPDU: 80 17 00 00 [23:57:23]Write to MH i2c: E2 08 00 DB 01 80 17 00 00 00 00 00 00 5C [23:57:23]Write i2c OK [23:57:23]MH_I2C_Read... [23:57:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:23]Read from MH i2c: E2 [23:57:23]MH_I2C_Read... [23:57:23]Read from MH i2c: E2 FD 00 [23:57:23]MH_I2C_Read... [23:57:23]Read from MH i2c: E2 FD 00 DB 01 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 90 00 9B [23:57:23]RAPDU: 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 90 00 [23:57:23]wFMCommunicate OK [23:57:23]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:57:23]SAM_PROTO_ProcessDocument remain to read = 27 [23:57:23]wFMCommunicate request_size=4 [23:57:23]MH_SAM_APDU [23:57:23]CAPDU: 80 17 00 00 [23:57:23]Write to MH i2c: E2 08 00 DC 01 80 17 00 00 00 00 00 00 5D [23:57:23]Write i2c OK [23:57:23]MH_I2C_Read... [23:57:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 27! [23:57:23]Read from MH i2c: E2 [23:57:23]MH_I2C_Read... [23:57:23]Read from MH i2c: E2 1E 00 [23:57:23]MH_I2C_Read... [23:57:23]Read from MH i2c: E2 1E 00 DC 01 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 CC 29 02 A2 F3 F9 90 00 1F [23:57:23]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 CC 29 02 A2 F3 F9 90 00 [23:57:23]wFMCommunicate OK [23:57:23]SAM_PROTO_ProcessDocument received (without SW) 27 bytes [23:57:23]SAM_PROTO_ProcessDocument done [23:57:23]1209 (1) - 1.0 - номер версии ФФД [23:57:23]1041 (16) - 0000000000965420 - номер ФМ [23:57:23]1040 (4) - 24380 - номер ФД [23:57:23]1038 (4) - 461 - номер смены [23:57:23]1118 (4) - 83 - количество кассовых чеков за смену [23:57:23]1111 (4) - 85 - общее количество ФД за смену [23:57:23]1194 (1204) - счетчики итогов смены [23:57:23] 1134 (4) - 83 - количество чеков со всеми признаками расчетов [23:57:23] 1129 (155) - счетчики операций «приход» [23:57:23] 1135 (4) - 81 - количество чеков по признаку расчетов [23:57:23] 1201 (3) - 17102.00 - общая итоговая сумма в чеках [23:57:23] 1136 (3) - 14801.00 - итоговая сумма в чеках наличными [23:57:23] 1138 (3) - 2301.00 - итоговая сумма в чеках безналичными [23:57:23] 1024 (122) - суммы налогов [23:57:23] 1006 (9) - суммы НДС [23:57:23] 1010 (1) - 0% - код ставки НДС [23:57:23] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:23] 1006 (12) - суммы НДС [23:57:23] 1010 (1) - 12% - код ставки НДС [23:57:23] 1011 (3) - 1816.14 - сумма НДС по ставке [23:57:23] 1007 (9) - суммы НСП [23:57:23] 1014 (1) - 0% - код ставки НСП [23:57:23] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:23] 1007 (11) - суммы НСП [23:57:23] 1014 (1) - 1% - код ставки НСП [23:57:23] 1015 (2) - 151.27 - сумма НСП по ставке [23:57:23] 1007 (9) - суммы НСП [23:57:23] 1014 (1) - 2% - код ставки НСП [23:57:23] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:23] 1007 (9) - суммы НСП [23:57:23] 1014 (1) - 3% - код ставки НСП [23:57:23] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:23] 1007 (9) - суммы НСП [23:57:23] 1014 (1) - 5% - код ставки НСП [23:57:23] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:23] 1007 (9) - суммы НСП [23:57:23] 1014 (1) - 0,50% - код ставки НСП [23:57:23] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:23] 1007 (9) - суммы НСП [23:57:23] 1014 (1) - 1,50% - код ставки НСП [23:57:23] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:23] 1130 (151) - счетчики операций «возврат прихода» [23:57:23] 1135 (4) - 2 - количество чеков по признаку расчетов [23:57:23] 1201 (2) - 345.00 - общая итоговая сумма в чеках [23:57:23] 1136 (2) - 80.00 - итоговая сумма в чеках наличными [23:57:23] 1138 (2) - 265.00 - итоговая сумма в чеках безналичными [23:57:23] 1024 (121) - суммы налогов [23:57:23] 1006 (9) - суммы НДС [23:57:23] 1010 (1) - 0% - код ставки НДС [23:57:23] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:23] 1006 (11) - суммы НДС [23:57:23] 1010 (1) - 12% - код ставки НДС [23:57:23] 1011 (2) - 36.64 - сумма НДС по ставке [23:57:23] 1007 (9) - суммы НСП [23:57:23] 1014 (1) - 0% - код ставки НСП [23:57:23] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:23] 1007 (11) - суммы НСП [23:57:23] 1014 (1) - 1% - код ставки НСП [23:57:23] 1015 (2) - 3.05 - сумма НСП по ставке [23:57:23] 1007 (9) - суммы НСП [23:57:23] 1014 (1) - 2% - код ставки НСП [23:57:23] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:23] 1007 (9) - суммы НСП [23:57:23] 1014 (1) - 3% - код ставки НСП [23:57:23] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:23] 1007 (9) - суммы НСП [23:57:23] 1014 (1) - 5% - код ставки НСП [23:57:23] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:23] 1007 (9) - суммы НСП [23:57:23] 1014 (1) - 0,50% - код ставки НСП [23:57:23] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:23] 1007 (9) - суммы НСП [23:57:23] 1014 (1) - 1,50% - код ставки НСП [23:57:23] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:23] 1131 (141) - счетчики операций «расход» [23:57:23] 1135 (4) - 0 - количество чеков по признаку расчетов [23:57:23] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:57:23] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:57:23] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:57:23] 1024 (117) - суммы налогов [23:57:23] 1006 (9) - суммы НДС [23:57:23] 1010 (1) - 0% - код ставки НДС [23:57:23] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:23] 1006 (9) - суммы НДС [23:57:23] 1010 (1) - 12% - код ставки НДС [23:57:23] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:23] 1007 (9) - суммы НСП [23:57:23] 1014 (1) - 0% - код ставки НСП [23:57:23] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:23] 1007 (9) - суммы НСП [23:57:23] 1014 (1) - 1% - код ставки НСП [23:57:24] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:24] 1007 (9) - суммы НСП [23:57:24] 1014 (1) - 2% - код ставки НСП [23:57:24] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:24] 1007 (9) - суммы НСП [23:57:24] 1014 (1) - 3% - код ставки НСП [23:57:24] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:24] 1007 (9) - суммы НСП [23:57:24] 1014 (1) - 5% - код ставки НСП [23:57:24] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:24] 1007 (9) - суммы НСП [23:57:24] 1014 (1) - 0,50% - код ставки НСП [23:57:24] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:24] 1007 (9) - суммы НСП [23:57:24] 1014 (1) - 1,50% - код ставки НСП [23:57:24] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:24] 1132 (141) - счетчики операций «возврат расхода» [23:57:24] 1135 (4) - 0 - количество чеков по признаку расчетов [23:57:24] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:57:24] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:57:24] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:57:24] 1024 (117) - суммы налогов [23:57:24] 1006 (9) - суммы НДС [23:57:24] 1010 (1) - 0% - код ставки НДС [23:57:24] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:24] 1006 (9) - суммы НДС [23:57:24] 1010 (1) - 12% - код ставки НДС [23:57:24] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:24] 1007 (9) - суммы НСП [23:57:24] 1014 (1) - 0% - код ставки НСП [23:57:24] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:24] 1007 (9) - суммы НСП [23:57:24] 1014 (1) - 1% - код ставки НСП [23:57:24] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:24] 1007 (9) - суммы НСП [23:57:24] 1014 (1) - 2% - код ставки НСП [23:57:24] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:24] 1007 (9) - суммы НСП [23:57:24] 1014 (1) - 3% - код ставки НСП [23:57:24] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:24] 1007 (9) - суммы НСП [23:57:24] 1014 (1) - 5% - код ставки НСП [23:57:24] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:24] 1007 (9) - суммы НСП [23:57:24] 1014 (1) - 0,50% - код ставки НСП [23:57:24] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:24] 1007 (9) - суммы НСП [23:57:24] 1014 (1) - 1,50% - код ставки НСП [23:57:24] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:24] 1133 (588) - - счетчики коррекции - не используются [23:57:24]1077 (6) - 224476509959161 - ФПД [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1209 (04B9) [23:57:24]Malloc new data [23:57:24]Processing tag 1041 (0411) [23:57:24]Processing tag 1040 (0410) [23:57:24]Malloc new data [23:57:24]Processing tag 1038 (040E) [23:57:24]Malloc new data [23:57:24]Processing tag 1118 (045E) [23:57:24]Malloc new data [23:57:24]Processing tag 1111 (0457) [23:57:24]Malloc new data [23:57:24]Processing tag 1194 (04AA) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1134 (046E) [23:57:24]Malloc new data [23:57:24]Processing tag 1129 (0469) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1135 (046F) [23:57:24]Malloc new data [23:57:24]Processing tag 1201 (04B1) [23:57:24]Malloc new data [23:57:24]Processing tag 1136 (0470) [23:57:24]Malloc new data [23:57:24]Processing tag 1138 (0472) [23:57:24]Malloc new data [23:57:24]Processing tag 1024 (0400) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1006 (03EE) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1010 (03F2) [23:57:24]Malloc new data [23:57:24]Processing tag 1011 (03F3) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1006 (03EE) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1010 (03F2) [23:57:24]Malloc new data [23:57:24]Processing tag 1011 (03F3) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]SetTLVBufToDocument err=0 [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1130 (046A) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1135 (046F) [23:57:24]Malloc new data [23:57:24]Processing tag 1201 (04B1) [23:57:24]Malloc new data [23:57:24]Processing tag 1136 (0470) [23:57:24]Malloc new data [23:57:24]Processing tag 1138 (0472) [23:57:24]Malloc new data [23:57:24]Processing tag 1024 (0400) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1006 (03EE) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1010 (03F2) [23:57:24]Malloc new data [23:57:24]Processing tag 1011 (03F3) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1006 (03EE) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1010 (03F2) [23:57:24]Malloc new data [23:57:24]Processing tag 1011 (03F3) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]SetTLVBufToDocument err=0 [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1131 (046B) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1135 (046F) [23:57:24]Malloc new data [23:57:24]Processing tag 1201 (04B1) [23:57:24]Malloc new data [23:57:24]Processing tag 1136 (0470) [23:57:24]Malloc new data [23:57:24]Processing tag 1138 (0472) [23:57:24]Malloc new data [23:57:24]Processing tag 1024 (0400) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1006 (03EE) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1010 (03F2) [23:57:24]Malloc new data [23:57:24]Processing tag 1011 (03F3) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1006 (03EE) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1010 (03F2) [23:57:24]Malloc new data [23:57:24]Processing tag 1011 (03F3) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]SetTLVBufToDocument err=0 [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1132 (046C) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1135 (046F) [23:57:24]Malloc new data [23:57:24]Processing tag 1201 (04B1) [23:57:24]Malloc new data [23:57:24]Processing tag 1136 (0470) [23:57:24]Malloc new data [23:57:24]Processing tag 1138 (0472) [23:57:24]Malloc new data [23:57:24]Processing tag 1024 (0400) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1006 (03EE) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1010 (03F2) [23:57:24]Malloc new data [23:57:24]Processing tag 1011 (03F3) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1006 (03EE) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1010 (03F2) [23:57:24]Malloc new data [23:57:24]Processing tag 1011 (03F3) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:24]Processing tag 1007 (03EF) [23:57:24]Load OK [23:57:24]SetTLVBufToDocument [23:57:24]Processing tag 1014 (03F6) [23:57:24]Malloc new data [23:57:24]Processing tag 1015 (03F7) [23:57:24]Malloc new data [23:57:24]SetTLVBufToDocument err=0 [23:57:25]Processing tag 1007 (03EF) [23:57:25]Load OK [23:57:25]SetTLVBufToDocument [23:57:25]Processing tag 1014 (03F6) [23:57:25]Malloc new data [23:57:25]Processing tag 1015 (03F7) [23:57:25]Malloc new data [23:57:25]SetTLVBufToDocument err=0 [23:57:25]SetTLVBufToDocument err=0 [23:57:25]SetTLVBufToDocument err=0 [23:57:25]Processing tag 1133 (046D) [23:57:25]Malloc new data [23:57:25]SetTLVBufToDocument err=0 [23:57:25]Processing tag 1077 (0435) [23:57:25]Malloc new data [23:57:25]SetTLVBufToDocument err=0 [23:57:25]Malloc new data [23:57:25]SAM_PROTO_GetFMData [23:57:25]wFMCommunicate request_size=4 [23:57:25]MH_SAM_APDU [23:57:25]CAPDU: 80 13 03 00 [23:57:25]Write to MH i2c: E2 08 00 DD 01 80 13 03 00 00 00 00 00 5D [23:57:25]Write i2c OK [23:57:25]MH_I2C_Read... [23:57:25]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:57:25]Read from MH i2c: E2 [23:57:25]MH_I2C_Read... [23:57:25]Read from MH i2c: E2 FD 00 [23:57:25]MH_I2C_Read... [23:57:25]Read from MH i2c: E2 FD 00 DD 01 00 C4 04 85 04 C0 04 6E 04 04 00 A8 5B 00 00 69 04 A0 00 6F 04 04 00 18 5B 00 00 B1 04 04 00 5E 25 0F 2C 70 04 04 00 74 E7 1B 24 72 04 04 00 EA 3D F3 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E6 E6 AD 04 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 AA C7 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 97 2D EF 03 09 00 90 00 DA [23:57:25]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 A8 5B 00 00 69 04 A0 00 6F 04 04 00 18 5B 00 00 B1 04 04 00 5E 25 0F 2C 70 04 04 00 74 E7 1B 24 72 04 04 00 EA 3D F3 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E6 E6 AD 04 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 AA C7 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 97 2D EF 03 09 00 90 00 [23:57:25]wFMCommunicate OK [23:57:25]wFMCommunicate request_size=4 [23:57:25]MH_SAM_APDU [23:57:25]CAPDU: 80 17 00 00 [23:57:25]Write to MH i2c: E2 08 00 DE 01 80 17 00 00 00 00 00 00 5F [23:57:25]Write i2c OK [23:57:25]MH_I2C_Read... [23:57:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:26]Read from MH i2c: E2 [23:57:26]MH_I2C_Read... [23:57:26]Read from MH i2c: E2 FD 00 [23:57:26]MH_I2C_Read... [23:57:26]Read from MH i2c: E2 FD 00 DE 01 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 72 [23:57:26]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:57:26]wFMCommunicate OK [23:57:26]wFMCommunicate request_size=4 [23:57:26]MH_SAM_APDU [23:57:26]CAPDU: 80 17 00 00 [23:57:26]Write to MH i2c: E2 08 00 DF 01 80 17 00 00 00 00 00 00 60 [23:57:26]Write i2c OK [23:57:26]MH_I2C_Read... [23:57:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:26]Read from MH i2c: E2 [23:57:26]MH_I2C_Read... [23:57:26]Read from MH i2c: E2 FD 00 [23:57:26]MH_I2C_Read... [23:57:26]Read from MH i2c: E2 FD 00 DF 01 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 75 [23:57:26]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:57:27]wFMCommunicate OK [23:57:27]wFMCommunicate request_size=4 [23:57:27]MH_SAM_APDU [23:57:27]CAPDU: 80 17 00 00 [23:57:27]Write to MH i2c: E2 08 00 E0 01 80 17 00 00 00 00 00 00 61 [23:57:27]Write i2c OK [23:57:27]MH_I2C_Read... [23:57:27]OFD Sender: No OFD packet to send [23:57:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:27]Read from MH i2c: E2 [23:57:27]MH_I2C_Read... [23:57:27]Read from MH i2c: E2 FD 00 [23:57:27]MH_I2C_Read... [23:57:27]Read from MH i2c: E2 FD 00 E0 01 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 D9 [23:57:27]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:57:27]wFMCommunicate OK [23:57:27]wFMCommunicate request_size=4 [23:57:27]MH_SAM_APDU [23:57:27]CAPDU: 80 17 00 00 [23:57:27]Write to MH i2c: E2 08 00 E1 01 80 17 00 00 00 00 00 00 62 [23:57:27]Write i2c OK [23:57:27]MH_I2C_Read... [23:57:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:57:27]Read from MH i2c: E2 [23:57:27]MH_I2C_Read... [23:57:27]Read from MH i2c: E2 E1 00 [23:57:27]MH_I2C_Read... [23:57:27]Read from MH i2c: E2 E1 00 E1 01 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 50 [23:57:28]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:57:28]wFMCommunicate OK [23:57:28]SAM_PROTO_GetFMData done [23:57:28]Malloc new data [23:57:28]Malloc new data [23:57:28]Malloc new data [23:57:28]Malloc new data [23:57:28]KKMLoadAndSignCloseShiftData err=0 [23:57:28]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Ахмедова У. 21.10.2024 23:57 Смена: 461 РНМ: 0000000000098120 ЗНМ: 0300000166 СНО: Общий режим Чеков за смену: 83 ФД за смену: 85 Всего чеков: 83 ИТОГИ ПРИХОД Чеков: 81 Общий итог: 17102.00 Итого наличными: 14801.00 Итого безнал.: 2301.00 НДС 0% : 0.00 НДС 12% : 1816.14 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 151.27 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 2 Общий итог: 345.00 Итого наличными: 80.00 Итого безнал.: 265.00 НДС 0% : 0.00 НДС 12% : 36.64 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 3.05 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 14721.00 НС Приход: 7391901.10 НС Возвр.Прихода: 281327.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 24380 ФМ: 0000000000965420 ФПД: 224476509959161 [23:57:28]StoreToDocumentArchive [23:57:28]shift 461 fd 24380 [23:57:28]save to /storage/0461/doc_00024380 [23:57:28]save last doc name /storage/0461/doc_00024380 to /storage/kkm_last_doc_name [23:57:28]save OK [23:57:28]Clear old archive folders... [23:57:28]Remove dir /storage/0266 [23:57:28]opendir ok [23:57:28]file . [23:57:28]file .. [23:57:28]file doc_1729554994 [23:57:28]remove file /storage/0266/doc_1729554994 [23:57:28]remove dir /storage/0266 [23:57:28]NVStorageSaveData kkm_registers [23:57:28]File name is /storage/kkm_registers [23:57:28]Write 24 bytes [23:57:28]NVStorageSaveData done [23:57:28]NVStorageSaveData kkm_registers [23:57:28]File name is /storage/kkm_registers [23:57:28]Write 24 bytes [23:57:28]NVStorageSaveData done [23:57:28]ProcessDocumentItem done err = 0, tmpTLVsize=1384 [23:57:28]tlvbuf is 00DE78C0 [23:57:28]SAM_PROTO_ClearQueue [23:57:28]wFMCommunicate request_size=4 [23:57:28]MH_SAM_APDU [23:57:28]CAPDU: 80 09 00 00 [23:57:28]Write to MH i2c: E2 08 00 E2 01 80 09 00 00 00 00 00 00 55 [23:57:28]Write i2c OK [23:57:28]MH_I2C_Read... [23:57:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:57:28]Read from MH i2c: E2 [23:57:28]MH_I2C_Read... [23:57:28]Read from MH i2c: E2 03 00 [23:57:28]MH_I2C_Read... [23:57:28]Read from MH i2c: E2 03 00 E2 01 00 90 00 57 [23:57:28]RAPDU: 90 00 [23:57:28]wFMCommunicate OK [23:57:28]SAM_PROTO_ClearQueue done [23:57:28]KKMCreateOFDPacket [23:57:28]OFDProtocolAddRootSTLVToBuf [23:57:28]FM_MakeSignedData [23:57:28]FM_MakeSignedData [23:57:28]SAM_PROTO_SignData [23:57:28]wFMCommunicate request_size=4 [23:57:28]MH_SAM_APDU [23:57:28]CAPDU: 80 0D 01 02 [23:57:28]Write to MH i2c: E2 08 00 E3 01 80 0D 01 02 00 00 00 00 5D [23:57:28]Write i2c OK [23:57:28]MH_I2C_Read... [23:57:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:57:28]Read from MH i2c: E2 [23:57:28]MH_I2C_Read... [23:57:28]Read from MH i2c: E2 03 00 [23:57:28]MH_I2C_Read... [23:57:28]Read from MH i2c: E2 03 00 E3 01 00 90 00 58 [23:57:28]RAPDU: 90 00 [23:57:28]wFMCommunicate OK [23:57:28]wFMCommunicate request_size=255 [23:57:28]MH_SAM_APDU [23:57:28]CAPDU: 80 0D 02 02 FA 05 00 68 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 15 00 D0 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 F4 03 04 00 61 EA 16 67 0E 04 04 00 CD 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 5E 04 04 00 53 00 00 00 57 04 04 00 55 00 00 00 AA 04 DA 04 6E 04 04 00 53 00 00 00 69 04 A2 00 6F 04 04 00 51 00 00 00 B1 04 03 00 78 18 1A 70 04 03 00 A4 95 16 72 04 03 00 D4 82 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C5 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 [23:57:28]Write to MH i2c: E2 02 01 E4 01 80 0D 02 02 FA 00 05 00 68 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 15 00 D0 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 F4 03 04 00 61 EA 16 67 0E 04 04 00 CD 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 5E 04 04 00 53 00 00 00 57 04 04 00 55 00 00 00 AA 04 DA 04 6E 04 04 00 53 00 00 00 69 04 A2 00 6F 04 04 00 51 00 00 00 B1 04 03 00 78 18 1A 70 04 03 00 A4 95 16 72 04 03 00 D4 82 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C5 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 00 00 EB [23:57:28]Write i2c OK [23:57:28]MH_I2C_Read... [23:57:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:57:28]Read from MH i2c: E2 [23:57:28]MH_I2C_Read... [23:57:28]Read from MH i2c: E2 03 00 [23:57:28]MH_I2C_Read... [23:57:28]Read from MH i2c: E2 03 00 E4 01 00 90 00 59 [23:57:28]RAPDU: 90 00 [23:57:28]wFMCommunicate OK [23:57:28]wFMCommunicate request_size=255 [23:57:28]MH_SAM_APDU [23:57:28]CAPDU: 80 0D 02 02 FA 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 17 3B 6A 04 9E 00 6F 04 04 00 02 00 00 00 B1 04 02 00 C4 86 70 04 02 00 40 1F 72 04 02 00 84 67 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 50 0E 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 31 01 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 [23:57:29]Write to MH i2c: E2 02 01 E5 01 80 0D 02 02 FA 00 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 17 3B 6A 04 9E 00 6F 04 04 00 02 00 00 00 B1 04 02 00 C4 86 70 04 02 00 40 1F 72 04 02 00 84 67 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 50 0E 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 31 01 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 00 00 55 [23:57:29]Write i2c OK [23:57:29]MH_I2C_Read... [23:57:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:57:29]Read from MH i2c: E2 [23:57:29]MH_I2C_Read... [23:57:29]Read from MH i2c: E2 03 00 [23:57:29]MH_I2C_Read... [23:57:29]Read from MH i2c: E2 03 00 E5 01 00 90 00 5A [23:57:29]RAPDU: 90 00 [23:57:29]wFMCommunicate OK [23:57:29]wFMCommunicate request_size=255 [23:57:29]MH_SAM_APDU [23:57:29]CAPDU: 80 0D 02 02 FA 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 [23:57:29]Write to MH i2c: E2 02 01 E6 01 80 0D 02 02 FA 00 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 00 00 27 [23:57:29]Write i2c OK [23:57:29]MH_I2C_Read... [23:57:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:57:30]Read from MH i2c: E2 [23:57:30]MH_I2C_Read... [23:57:30]Read from MH i2c: E2 03 00 [23:57:30]MH_I2C_Read... [23:57:30]Read from MH i2c: E2 03 00 E6 01 00 90 00 5B [23:57:30]RAPDU: 90 00 [23:57:30]wFMCommunicate OK [23:57:30]wFMCommunicate request_size=255 [23:57:30]MH_SAM_APDU [23:57:30]CAPDU: 80 0D 02 02 FA 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 [23:57:30]Write to MH i2c: E2 02 01 E7 01 80 0D 02 02 FA 00 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 00 00 24 [23:57:30]Write i2c OK [23:57:30]MH_I2C_Read... [23:57:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:57:30]Read from MH i2c: E2 [23:57:30]MH_I2C_Read... [23:57:30]Read from MH i2c: E2 03 00 [23:57:30]MH_I2C_Read... [23:57:30]Read from MH i2c: E2 03 00 E7 01 00 90 00 5C [23:57:30]RAPDU: 90 00 [23:57:30]wFMCommunicate OK [23:57:30]wFMCommunicate request_size=255 [23:57:30]MH_SAM_APDU [23:57:30]CAPDU: 80 0D 02 02 FA 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 [23:57:31]Write to MH i2c: E2 02 01 E8 01 80 0D 02 02 FA 00 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 00 00 FC [23:57:31]Write i2c OK [23:57:31]MH_I2C_Read... [23:57:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:57:31]Read from MH i2c: E2 [23:57:31]MH_I2C_Read... [23:57:31]Read from MH i2c: E2 03 00 [23:57:31]MH_I2C_Read... [23:57:31]Read from MH i2c: E2 03 00 E8 01 00 90 00 5D [23:57:31]RAPDU: 90 00 [23:57:31]wFMCommunicate OK [23:57:31]wFMCommunicate request_size=143 [23:57:31]MH_SAM_APDU [23:57:31]CAPDU: 80 0D 02 02 8A F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3C 5F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 35 04 06 00 CC 29 02 A2 F3 F9 [23:57:31]Write to MH i2c: E2 92 00 E9 01 80 0D 02 02 8A 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3C 5F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 35 04 06 00 CC 29 02 A2 F3 F9 00 00 B9 [23:57:31]Write i2c OK [23:57:31]MH_I2C_Read... [23:57:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:57:31]Read from MH i2c: E2 [23:57:31]MH_I2C_Read... [23:57:31]Read from MH i2c: E2 03 00 [23:57:31]MH_I2C_Read... [23:57:31]Read from MH i2c: E2 03 00 E9 01 00 90 00 5E [23:57:31]RAPDU: 90 00 [23:57:31]wFMCommunicate OK [23:57:31]wFMCommunicate request_size=4 [23:57:31]MH_SAM_APDU [23:57:31]CAPDU: 80 0D 03 02 [23:57:31]Write to MH i2c: E2 08 00 EA 01 80 0D 03 02 00 00 00 00 66 [23:57:31]Write i2c OK [23:57:31]MH_I2C_Read... [23:57:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:57:31]Read from MH i2c: E2 [23:57:31]MH_I2C_Read... [23:57:31]Read from MH i2c: E2 0B 00 [23:57:31]MH_I2C_Read... [23:57:31]Read from MH i2c: E2 0B 00 EA 01 00 99 86 81 C9 7E 85 AD D9 90 00 59 [23:57:32]RAPDU: 99 86 81 C9 7E 85 AD D9 90 00 [23:57:32]wFMCommunicate OK [23:57:32]SAM_PROTO_SignData done [23:57:32]FM_MakeSignedData done [23:57:32]CreateOFDProtocolMessage [23:57:32]wFMCommunicate request_size=4 [23:57:32]MH_SAM_APDU [23:57:32]CAPDU: 80 11 00 00 [23:57:32]Write to MH i2c: E2 08 00 EB 01 80 11 00 00 00 00 00 00 66 [23:57:32]Write i2c OK [23:57:32]MH_I2C_Read... [23:57:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:57:32]Read from MH i2c: E2 [23:57:32]MH_I2C_Read... [23:57:32]Read from MH i2c: E2 17 00 [23:57:32]MH_I2C_Read... [23:57:32]Read from MH i2c: E2 17 00 EB 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 B3 [23:57:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:57:32]wFMCommunicate OK [23:57:32]CreateOFDProtocolMessage done [23:57:32]OFDSenderStorePacket 24380 [23:57:32]StoreOFDPacket docnum=24380 [23:57:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 7C 05 00 00 1B 81 74 05 7A 96 5A 05 01 00 05 00 68 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 15 00 D0 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 F4 03 04 00 61 EA 16 67 0E 04 04 00 CD 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 5E 04 04 00 53 00 00 00 57 04 04 00 55 00 00 00 AA 04 DA 04 6E 04 04 00 53 00 00 00 69 04 A2 00 6F 04 04 00 51 00 00 00 B1 04 03 00 78 18 1A 70 04 03 00 A4 95 16 72 04 03 00 D4 82 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C5 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 17 3B 6A 04 9E 00 6F 04 04 00 02 00 00 00 B1 04 02 00 C4 86 70 04 02 00 40 1F 72 04 02 00 84 67 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 50 0E 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 31 01 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 3C 5F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 35 04 06 00 CC 29 02 A2 F3 F9 99 86 81 C9 7E 85 AD D9 [23:57:32]CheckFolder [23:57:32]dirname=/storage/ofd_packets [23:57:32]CheckFolder done [23:57:32]ProducePacketName [23:57:32]name=ofd_packets/00024380 [23:57:32]NVStorageSaveData ofd_packets/00024380 [23:57:32]File name is /storage/ofd_packets/00024380 [23:57:32]Write 1434 bytes [23:57:32]NVStorageSaveData done [23:57:32]OFDSenderStorePacket done [23:57:32]KKMCreateOFDPacket done [23:57:32]NVStorageSaveData kkm_last_timestamp [23:57:32]File name is /storage/kkm_last_timestamp [23:57:32]Write 4 bytes [23:57:32]NVStorageSaveData done [23:57:32]ExternCall_PrintAddStr [23:57:32]wPrintStart [23:57:32]Write to MH i2c: 01 00 00 EC 01 ED [23:57:32]OFD Sender: No OFD packet to send [23:57:32]Write i2c OK [23:57:32]MH_I2C_Read... [23:57:32]Read from MH i2c: 01 [23:57:32]MH_I2C_Read... [23:57:32]Read from MH i2c: 01 07 00 [23:57:32]MH_I2C_Read... [23:57:32]Read from MH i2c: 01 07 00 EC 01 00 00 00 00 00 FF 0F 02 [23:57:32]RasterBufferAndPrint [23:57:32]line Отчет о закрытии смены [23:57:32]line ФФД: 1.0 [23:57:32]line ИНН: 02508201610067 [23:57:32]line Кассир: Ахмедова У. [23:57:32]line 21.10.2024 23:57 [23:57:32]line Смена: 461 [23:57:32]line РНМ: 0000000000098120 [23:57:32]line ЗНМ: 0300000166 [23:57:32]line СНО: Общий режим [23:57:32]line Чеков за смену: 83 [23:57:32]line ФД за смену: 85 [23:57:32]line Всего чеков: 83 [23:57:32]line ИТОГИ ПРИХОД [23:57:32]line Чеков: 81 [23:57:32]line Общий итог: 17102.00 [23:57:32]line Итого наличными: 14801.00 [23:57:32]line Итого безнал.: 2301.00 [23:57:32]line НДС 0% : 0.00 [23:57:32]line НДС 12% : 1816.14 [23:57:32]line НСП 0% : 0.00 [23:57:32]line НСП 1,50% : 0.00 [23:57:32]line НСП 0,50% : 0.00 [23:57:32]line НСП 5% : 0.00 [23:57:32]line НСП 3% : 0.00 [23:57:32]line НСП 2% : 0.00 [23:57:32]line НСП 1% : 151.27 [23:57:32]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:57:32]line Чеков: 2 [23:57:32]line Общий итог: 345.00 [23:57:32]line Итого наличными: 80.00 [23:57:32]line Итого безнал.: 265.00 [23:57:32]line НДС 0% : 0.00 [23:57:32]line НДС 12% : 36.64 [23:57:32]line НСП 0% : 0.00 [23:57:32]line НСП 1,50% : 0.00 [23:57:32]line НСП 0,50% : 0.00 [23:57:32]line НСП 5% : 0.00 [23:57:32]line НСП 3% : 0.00 [23:57:32]line НСП 2% : 0.00 [23:57:32]line НСП 1% : 3.05 [23:57:32]line ИТОГИ РАСХОД [23:57:32]line Чеков: 0 [23:57:32]line Общий итог: 0.00 [23:57:32]line Итого наличными: 0.00 [23:57:32]line Итого безнал.: 0.00 [23:57:32]line НДС 0% : 0.00 [23:57:32]line НДС 12% : 0.00 [23:57:32]line НСП 0% : 0.00 [23:57:32]line НСП 1,50% : 0.00 [23:57:32]line НСП 0,50% : 0.00 [23:57:32]line НСП 5% : 0.00 [23:57:32]line НСП 3% : 0.00 [23:57:32]line НСП 2% : 0.00 [23:57:32]line НСП 1% : 0.00 [23:57:32]line ИТОГИ ВОЗВРАТ РАСХОДА [23:57:32]line Чеков: 0 [23:57:32]line Общий итог: 0.00 [23:57:32]line Итого наличными: 0.00 [23:57:32]line Итого безнал.: 0.00 [23:57:32]line НДС 0% : 0.00 [23:57:32]line НДС 12% : 0.00 [23:57:32]line НСП 0% : 0.00 [23:57:32]line НСП 1,50% : 0.00 [23:57:32]line НСП 0,50% : 0.00 [23:57:32]line НСП 5% : 0.00 [23:57:32]line НСП 3% : 0.00 [23:57:32]line НСП 2% : 0.00 [23:57:32]line НСП 1% : 0.00 [23:57:32]line Сумма внесений: 0.00 [23:57:32]line Сумма выплат: 0.00 [23:57:32]line Нал. в кассе: 14721.00 [23:57:32]line НС Приход: 7391901.10 [23:57:32]line НС Возвр.Прихода: 281327.00 [23:57:32]line НС Расход: 0.00 [23:57:32]line НС Возвр.Расхода: 0.00 [23:57:32]line ФД: 24380 [23:57:32]line ФМ: 0000000000965420 [23:57:32]line ФПД: 224476509959161 [23:57:32]written 0, free lines is 4095 [23:57:32]OFD Sender: Processing packet 24380 [packets to send 5, broken 4] [23:57:32]ProducePacketName [23:57:32]name=ofd_packets/00024380 [23:57:32]OFD Sender: To server: pG, [23:57:32]CommunicateWithHost lk.salyk.kg:30040 [23:57:32]ConnectInit lk.salyk.kg [23:57:32]Connected sock=9 [23:57: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 34 32 30 7C 05 00 00 1B 81 74 05 7A 96 5A 05 01 00 05 00 68 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 15 00 D0 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 F4 03 04 00 61 EA 16 67 0E 04 04 00 CD 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 5E 04 04 00 53 00 00 00 57 04 04 00 55 00 00 00 AA 04 DA 04 6E 04 04 00 53 00 00 00 69 04 A2 00 6F 04 04 00 51 00 00 00 B1 04 03 00 78 18 1A 70 04 03 00 A4 95 16 72 04 03 00 D4 82 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C5 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 17 3B 6A 04 9E 00 6F 04 04 00 02 00 00 00 B1 04 02 00 C4 86 70 04 02 00 40 1F 72 04 02 00 84 67 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 50 0E 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 31 01 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 Write to MH i2c: 03 01 00 00 00 00 EF 3C 03 02 09 3E 00 [23:57:33]F6 Write i2c OK [23:57:33]03 MH_I2C_Read... [23:57:33]01 Read from MH i2c: 00 01 03 [23:57:33]F7 MH_I2C_Read... [23:57:33]03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3C 5F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 35 04 06 00 CC 29 02 A2 F3 F9 99 86 81 C9 7E 85 AD D9 [23:57:34]Read from MH i2c: 01 07 00 [23:57:34]MH_I2C_Read... [23:57:34]Read from MH i2c: 01 07 00 3C 02 00 00 00 00 00 FA 0B 4A [23:57:34]RasterBufferAndPrint [23:57:34]line [23:57:34]line [23:57:34]line [23:57:34]line [23:57:34]line [23:57:34]written 0, free lines is 4095 [23:57:34]process_action close_shift done [23:57:34]requested_data is exist [23:57:34]produce_requested_data [23:57:34]requested_item fd.num is exist - process it [23:57:34]SAM_PROTO_GetFieldsCounters [23:57:34]wFMCommunicate request_size=4 [23:57:34]MH_SAM_APDU [23:57:34]CAPDU: 80 13 00 00 [23:57:34]Write to MH i2c: E2 08 00 43 02 80 13 00 00 00 00 00 00 C1 [23:57:34]Write i2c OK [23:57:34]MH_I2C_Read... [23:57:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 FA B1 47 00 1A 17 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 34 32 30 10 04 04 00 3C 5F 00 00 F4 03 04 00 12 96 16 67 B6 04 01 00 00 B7 D2 EB 87 48 1E B0 0A [23:57:34]CommunicateWithHost err = 0 [23:57:34]CheckOFDResponse [23:57:34]1017 (14) - 77093643461234 [23:57:34]1041 (16) - 0000000000965420 [23:57:34]1040 (4) - 24380 [23:57:34]1012 (4) - 21.10.2024 17:57 [23:57:34]1206 (1) - 0 [23:57:34]OFD Sender: Remove packet 24380 [23:57:34]ProducePacketName [23:57:34]name=ofd_packets/00024380 [23:57:34]NVStorageDeleteData [23:57:34]Read from MH i2c: *** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:57:34]E2 [23:57:34]MH_I2C_Read... [23:57:34]Read from MH i2c: E2 62 00 [23:57:34]MH_I2C_Read... [23:57:34]Read from MH i2c: E2 62 00 43 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3C 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 3A [23:57: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3C 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:57:34]wFMCommunicate OK [23:57:34]SAM_PROTO_GetFieldsCounters done [23:57:34]requested_item shift.num is exist - process it [23:57:34]requested_item shift.opened is exist - process it [23:57:34]req_shift_opened [23:57:34]FM_GetShiftState [23:57:34]SAM_PROTO_GetShiftState [23:57:34]wFMCommunicate request_size=4 [23:57:34]MH_SAM_APDU [23:57:34]CAPDU: 80 13 01 00 [23:57:34]Write to MH i2c: E2 08 00 44 02 80 13 01 00 00 00 00 00 C3 [23:57:34]Write i2c OK [23:57:34]MH_I2C_Read... [23:57:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:57:34]Read from MH i2c: E2 [23:57:34]MH_I2C_Read... [23:57:34]Read from MH i2c: E2 0E 00 [23:57:34]MH_I2C_Read... [23:57:34]Read from MH i2c: E2 0E 00 44 02 00 09 00 00 00 00 00 00 00 00 00 00 90 00 CE [23:57:34]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:57:34]wFMCommunicate OK [23:57:34]SAM_PROTO_GetShiftState done [23:57:34]FM_GetShiftState done [23:57:34]req_shift_opened done [23:57:34]requested_item shift.open_date is exist - process it [23:57:34]req_shift_open_date [23:57:34]FM_GetShiftState [23:57:34]SAM_PROTO_GetShiftState [23:57:34]wFMCommunicate request_size=4 [23:57:34]MH_SAM_APDU [23:57:34]CAPDU: 80 13 01 00 [23:57:34]Write to MH i2c: E2 08 00 45 02 80 13 01 00 00 00 00 00 C4 [23:57:34]Write i2c OK [23:57:34]MH_I2C_Read... [23:57:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:57:35]Read from MH i2c: E2 [23:57:35]MH_I2C_Read... [23:57:35]Read from MH i2c: E2 0E 00 [23:57:35]MH_I2C_Read... [23:57:35]Read from MH i2c: E2 0E 00 45 02 00 09 00 00 00 00 00 00 00 00 00 00 90 00 CF [23:57:35]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:57:35]wFMCommunicate OK [23:57:35]SAM_PROTO_GetShiftState done [23:57:35]FM_GetShiftState done [23:57:35]req_shift_open_date done [23:57:35]produce_requested_data done [23:57:35]produce_requested_data return {"fd.num":24380,"shift.num":461,"shift.opened":0,"shift.open_date":0} [23:57:35]process_action_free close_shift [23:57:35]json_value_free [23:57:35]json_value_free done [23:57:35]process_json_proto returns [23:57:35]Send response to host [23:57:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":24380,"shift.num":461,"shift.opened":0,"shift.open_date":0}}} [23:57:35]free response buf [23:57:35]execute_script done [23:57:35]execute_script returns [23:57:35]free content buf [23:57:35]Sock 10.Close socket [23:57:35]Sock 10.Thread stoped [23:57:35]OFD Sender: No OFD packet to send [23:57:40]OFD Sender: No OFD packet to send [23:57:45]OFD Sender: No OFD packet to send [23:57:50]OFD Sender: No OFD packet to send [23:57:55]OFD Sender: No OFD packet to send [23:58:00]OFD Sender: No OFD packet to send [23:58:05]OFD Sender: No OFD packet to send [23:58:10]OFD Sender: No OFD packet to send [23:58:15]OFD Sender: No OFD packet to send [23:58:20]OFD Sender: No OFD packet to send [23:58:25]OFD Sender: No OFD packet to send [23:58:30]OFD Sender: No OFD packet to send [23:58:35]OFD Sender: No OFD packet to send [23:58:40]OFD Sender: No OFD packet to send [23:58:45]OFD Sender: No OFD packet to send [23:58:50]OFD Sender: No OFD packet to send [23:58:55]OFD Sender: No OFD packet to send [23:59:00]OFD Sender: No OFD packet to send [23:59:05]OFD Sender: No OFD packet to send [23:59:10]OFD Sender: No OFD packet to send [23:59:15]OFD Sender: No OFD packet to send [23:59:20]OFD Sender: No OFD packet to send [23:59:25]OFD Sender: No OFD packet to send [23:59:30]OFD Sender: No OFD packet to send [23:59:35]OFD Sender: No OFD packet to send [23:59:40]OFD Sender: No OFD packet to send [23:59:45]OFD Sender: No OFD packet to send [23:59:50]OFD Sender: No OFD packet to send [23:59:55]OFD Sender: No OFD packet to send [00:00:00]OFD Sender: No OFD packet to send [00:00:05]OFD Sender: No OFD packet to send [00:00:10]OFD Sender: No OFD packet to send [00:00:15]OFD Sender: No OFD packet to send [00:00:20]OFD Sender: No OFD packet to send [00:00:25]OFD Sender: No OFD packet to send [00:00:30]OFD Sender: No OFD packet to send [00:00:35]OFD Sender: No OFD packet to send [00:00:40]OFD Sender: No OFD packet to send [00:00:45]OFD Sender: No OFD packet to send [00:00: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:08]accept exits with 7 [00:02:08]New connection [00:02:08]New thread 3067596132 created [00:02:08]Thread 3067452772 joined [00:02:08]Waiting for new connection... [00:02:08] Sock 7.Parse request [00:02:08]Sock 7.Check first char [00:02:08]Sock 7.First char is OK [00:02:08]request: POST /json_proto HTTP/1.0 [00:02:08]Method: POST [00:02:08]URL: /json_proto [00:02:08]Method is POST - this is cgi request [00:02:08]url: /json_proto [00:02:08]query_string will be loaded in cgi processing [00:02:08]execute_cgi json_proto POST (null) [00:02:08]execute_cgi path=json_proto method=POST [00:02:08]POST find Content-Length [00:02:08]Host: 172.17.50.4:8080 [00:02:08]Content-Length: 215 [00:02:08]Content-Type: application/json [00:02:08] [00:02:08]POST finish read [00:02:08]Found Content-Length = 215 [00:02:08]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:02:08]execute_script... [00:02:08]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:02:08]POST & json_proto [00:02:08]process_json_proto [00:02:08]json parsed OK: [00:02:08]protocol is kg_v1.0 [00:02:08]action value=get_value [00:02:08]process_action get_value [00:02:08]cmd_get_value [00:02:08]process_action get_value done [00:02:08]requested_data is exist [00:02:08]produce_requested_data [00:02:08]requested_item kkm.sn is exist - process it [00:02:08]requested_item kkm.ver is exist - process it [00:02:08]requested_item fm.sn is exist - process it [00:02:08]wFMCommunicate request_size=4 [00:02:08]MH_SAM_APDU [00:02:08]CAPDU: 80 11 00 00 [00:02:08]Write to MH i2c: E2 08 00 46 02 80 11 00 00 00 00 00 00 C2 [00:02:08]Write i2c OK [00:02:08]MH_I2C_Read... [00:02:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:02:08]Read from MH i2c: E2 [00:02:08]MH_I2C_Read... [00:02:08]Read from MH i2c: E2 17 00 [00:02:08]MH_I2C_Read... [00:02:08]Read from MH i2c: E2 17 00 46 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 0F [00:02:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [00:02:08]wFMCommunicate OK [00:02:08]requested_item fd.num is exist - process it [00:02:08]SAM_PROTO_GetFieldsCounters [00:02:08]wFMCommunicate request_size=4 [00:02:08]MH_SAM_APDU [00:02:08]CAPDU: 80 13 00 00 [00:02:08]Write to MH i2c: E2 08 00 47 02 80 13 00 00 00 00 00 00 C5 [00:02:08]Write i2c OK [00:02:08]MH_I2C_Read... [00:02:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:02:08]Read from MH i2c: E2 [00:02:08]MH_I2C_Read... [00:02:08]Read from MH i2c: E2 62 00 [00:02:08]MH_I2C_Read... [00:02:08]Read from MH i2c: E2 62 00 47 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3C 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 3E [00:02:08]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3C 5F 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:02:08]wFMCommunicate OK [00:02:08]SAM_PROTO_GetFieldsCounters done [00:02:08]requested_item shift.num is exist - process it [00:02:08]requested_item shift.opened is exist - process it [00:02:08]req_shift_opened [00:02:08]FM_GetShiftState [00:02:08]SAM_PROTO_GetShiftState [00:02:08]wFMCommunicate request_size=4 [00:02:08]MH_SAM_APDU [00:02:08]CAPDU: 80 13 01 00 [00:02:08]Write to MH i2c: E2 08 00 48 02 80 13 01 00 00 00 00 00 C7 [00:02:08]Write i2c OK [00:02:08]MH_I2C_Read... [00:02:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:02:08]Read from MH i2c: E2 [00:02:08]MH_I2C_Read... [00:02:08]Read from MH i2c: E2 0E 00 [00:02:08]MH_I2C_Read... [00:02:08]Read from MH i2c: E2 0E 00 48 02 00 09 00 00 00 00 00 00 00 00 00 00 90 00 D2 [00:02:08]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:02:08]wFMCommunicate OK [00:02:08]SAM_PROTO_GetShiftState done [00:02:08]FM_GetShiftState done [00:02:08]req_shift_opened done [00:02:08]requested_item shift.open_date is exist - process it [00:02:08]req_shift_open_date [00:02:08]FM_GetShiftState [00:02:08]SAM_PROTO_GetShiftState [00:02:08]wFMCommunicate request_size=4 [00:02:08]MH_SAM_APDU [00:02:08]CAPDU: 80 13 01 00 [00:02:08]Write to MH i2c: E2 08 00 49 02 80 13 01 00 00 00 00 00 C8 [00:02:08]Write i2c OK [00:02:08]MH_I2C_Read... [00:02:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:02:08]Read from MH i2c: E2 [00:02:08]MH_I2C_Read... [00:02:08]Read from MH i2c: E2 0E 00 [00:02:08]MH_I2C_Read... [00:02:08]Read from MH i2c: E2 0E 00 49 02 00 09 00 00 00 00 00 00 00 00 00 00 90 00 D3 [00:02:08]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:02:08]wFMCommunicate OK [00:02:08]SAM_PROTO_GetShiftState done [00:02:08]FM_GetShiftState done [00:02:08]req_shift_open_date done [00:02:08]produce_requested_data done [00:02:08]produce_requested_data return {"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24380,"shift.num":461,"shift.opened":0,"shift.open_date":0} [00:02:08]process_action_free get_value [00:02:08]json_value_free [00:02:08]json_value_free done [00:02:08]process_json_proto returns [00:02:08]Send response to host [00:02:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24380,"shift.num":461,"shift.opened":0,"shift.open_date":0}}} [00:02:08]free response buf [00:02:08]execute_script done [00:02:08]execute_script returns [00:02:08]free content buf [00:02:08]Sock 7.Close socket [00:02:08]Sock 7.Thread stoped [00:02:08]accept exits with 9 [00:02:08]New connection [00:02:08]New thread 3067452772 created [00:02:08]Thread 3067596132 joined [00:02:08]Waiting for new connection... [00:02:08] Sock 9.Parse request [00:02:08]Sock 9.Check first char [00:02:08]Sock 9.First char is OK [00:02:08]request: POST /json_proto HTTP/1.0 [00:02:08]Method: POST [00:02:08]URL: /json_proto [00:02:08]Method is POST - this is cgi request [00:02:08]url: /json_proto [00:02:08]query_string will be loaded in cgi processing [00:02:08]execute_cgi json_proto POST (null) [00:02:08]execute_cgi path=json_proto method=POST [00:02:08]POST find Content-Length [00:02:08]Host: 172.17.50.4:8080 [00:02:08]Content-Length: 331 [00:02:08]Content-Type: application/json [00:02:08] [00:02:08]POST finish read [00:02:08]Found Content-Length = 331 [00:02:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:02:08]execute_script... [00:02:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:02:08]POST & json_proto [00:02:08]process_json_proto [00:02:08]json parsed OK: [00:02:08]protocol is kg_v1.0 [00:02:08]action value=get_value [00:02:08]process_action get_value [00:02:08]cmd_get_value [00:02:08]process_action get_value done [00:02:08]requested_data is exist [00:02:08]produce_requested_data [00:02:08]requested_item fm.sale.total is exist - process it [00:02:08]SAM_PROTO_GetFMData [00:02:08]wFMCommunicate request_size=4 [00:02:08]MH_SAM_APDU [00:02:08]CAPDU: 80 13 03 00 [00:02:08]Write to MH i2c: E2 08 00 4A 02 80 13 03 00 00 00 00 00 CB [00:02:08]Write i2c OK [00:02:08]MH_I2C_Read... [00:02:09]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:02:09]Read from MH i2c: E2 [00:02:09]MH_I2C_Read... [00:02:09]Read from MH i2c: E2 FD 00 [00:02:09]MH_I2C_Read... [00:02:09]Read from MH i2c: E2 FD 00 4A 02 00 C4 04 85 04 C0 04 6E 04 04 00 A8 5B 00 00 69 04 A0 00 6F 04 04 00 18 5B 00 00 B1 04 04 00 5E 25 0F 2C 70 04 04 00 74 E7 1B 24 72 04 04 00 EA 3D F3 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E6 E6 AD 04 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 AA C7 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 97 2D EF 03 09 00 90 00 48 [00:02:09]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 A8 5B 00 00 69 04 A0 00 6F 04 04 00 18 5B 00 00 B1 04 04 00 5E 25 0F 2C 70 04 04 00 74 E7 1B 24 72 04 04 00 EA 3D F3 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E6 E6 AD 04 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 AA C7 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 97 2D EF 03 09 00 90 00 [00:02:09]wFMCommunicate OK [00:02:09]wFMCommunicate request_size=4 [00:02:09]MH_SAM_APDU [00:02:09]CAPDU: 80 17 00 00 [00:02:09]Write to MH i2c: E2 08 00 4B 02 80 17 00 00 00 00 00 00 CD [00:02:09]Write i2c OK [00:02:09]MH_I2C_Read... [00:02:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:09]Read from MH i2c: E2 [00:02:09]MH_I2C_Read... [00:02:09]Read from MH i2c: E2 FD 00 [00:02:09]MH_I2C_Read... [00:02:09]Read from MH i2c: E2 FD 00 4B 02 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 E0 [00:02:09]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:02:09]wFMCommunicate OK [00:02:09]wFMCommunicate request_size=4 [00:02:09]MH_SAM_APDU [00:02:09]CAPDU: 80 17 00 00 [00:02:09]Write to MH i2c: E2 08 00 4C 02 80 17 00 00 00 00 00 00 CE [00:02:09]Write i2c OK [00:02:09]MH_I2C_Read... [00:02:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:09]Read from MH i2c: E2 [00:02:09]MH_I2C_Read... [00:02:09]Read from MH i2c: E2 FD 00 [00:02:09]MH_I2C_Read... [00:02:09]Read from MH i2c: E2 FD 00 4C 02 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 E3 [00:02:09]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:02:09]wFMCommunicate OK [00:02:09]wFMCommunicate request_size=4 [00:02:09]MH_SAM_APDU [00:02:09]CAPDU: 80 17 00 00 [00:02:09]Write to MH i2c: E2 08 00 4D 02 80 17 00 00 00 00 00 00 CF [00:02:09]Write i2c OK [00:02:09]MH_I2C_Read... [00:02:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:09]Read from MH i2c: E2 [00:02:09]MH_I2C_Read... [00:02:09]Read from MH i2c: E2 FD 00 [00:02:09]MH_I2C_Read... [00:02:09]Read from MH i2c: E2 FD 00 4D 02 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 47 [00:02:10]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:02:10]wFMCommunicate OK [00:02:10]wFMCommunicate request_size=4 [00:02:10]MH_SAM_APDU [00:02:10]CAPDU: 80 17 00 00 [00:02:10]Write to MH i2c: E2 08 00 4E 02 80 17 00 00 00 00 00 00 D0 [00:02:10]Write i2c OK [00:02:10]MH_I2C_Read... [00:02:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:02:10]Read from MH i2c: E2 [00:02:10]MH_I2C_Read... [00:02:10]Read from MH i2c: E2 E1 00 [00:02:10]MH_I2C_Read... [00:02:10]Read from MH i2c: E2 E1 00 4E 02 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 BE [00:02:10]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:02:10]wFMCommunicate OK [00:02:10]SAM_PROTO_GetFMData done [00:02:10]requested_item fm.sale_refund.total is exist - process it [00:02:10]requested_item fm.buy.total is exist - process it [00:02:10]requested_item shift.sale.total is exist - process it [00:02:10]SAM_PROTO_GetShiftData [00:02:10]wFMCommunicate request_size=4 [00:02:10]MH_SAM_APDU [00:02:10]CAPDU: 80 13 02 00 [00:02:10]Write to MH i2c: E2 08 00 4F 02 80 13 02 00 00 00 00 00 CF [00:02:10]Write i2c OK [00:02:10]MH_I2C_Read... [00:02:10]OFD Sender: No OFD packet to send [00:02:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:02:10]Read from MH i2c: E2 [00:02:10]MH_I2C_Read... [00:02:10]Read from MH i2c: E2 FD 00 [00:02:10]MH_I2C_Read... [00:02:10]Read from MH i2c: E2 FD 00 4F 02 00 B8 04 AA 04 B4 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 78 18 1A 70 04 03 00 A4 95 16 72 04 03 00 D4 82 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C5 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 17 3B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 02 00 C4 86 70 04 02 00 40 1F 72 04 02 00 84 67 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 50 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 32 [00:02:10]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 78 18 1A 70 04 03 00 A4 95 16 72 04 03 00 D4 82 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6E C5 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 17 3B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 02 00 C4 86 70 04 02 00 40 1F 72 04 02 00 84 67 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 50 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [00:02:10]wFMCommunicate OK [00:02:10]wFMCommunicate request_size=4 [00:02:10]MH_SAM_APDU [00:02:10]CAPDU: 80 17 00 00 [00:02:10]Write to MH i2c: E2 08 00 50 02 80 17 00 00 00 00 00 00 D2 [00:02:10]Write i2c OK [00:02:10]MH_I2C_Read... [00:02:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:10]Read from MH i2c: E2 [00:02:10]MH_I2C_Read... [00:02:10]Read from MH i2c: E2 FD 00 [00:02:10]MH_I2C_Read... [00:02:10]Read from MH i2c: E2 FD 00 50 02 00 0B 00 F6 03 01 00 01 F7 03 02 00 31 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 35 [00:02:11]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 31 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 [00:02:11]wFMCommunicate OK [00:02:11]wFMCommunicate request_size=4 [00:02:11]MH_SAM_APDU [00:02:11]CAPDU: 80 17 00 00 [00:02:11]Write to MH i2c: E2 08 00 51 02 80 17 00 00 00 00 00 00 D3 [00:02:11]Write i2c OK [00:02:11]MH_I2C_Read... [00:02:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:11]Read from MH i2c: E2 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: E2 FD 00 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: E2 FD 00 51 02 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 75 [00:02:11]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 [00:02:11]wFMCommunicate OK [00:02:11]wFMCommunicate request_size=4 [00:02:11]MH_SAM_APDU [00:02:11]CAPDU: 80 17 00 00 [00:02:11]Write to MH i2c: E2 08 00 52 02 80 17 00 00 00 00 00 00 D4 [00:02:11]Write i2c OK [00:02:11]MH_I2C_Read... [00:02:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:11]Read from MH i2c: E2 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: E2 FD 00 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: E2 FD 00 52 02 00 03 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 90 00 5D [00:02:11]RAPDU: 03 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 90 00 [00:02:11]wFMCommunicate OK [00:02:11]wFMCommunicate request_size=4 [00:02:11]MH_SAM_APDU [00:02:11]CAPDU: 80 17 00 00 [00:02:11]Write to MH i2c: E2 08 00 53 02 80 17 00 00 00 00 00 00 D5 [00:02:11]Write i2c OK [00:02:11]MH_I2C_Read... [00:02:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [00:02:11]Read from MH i2c: E2 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: E2 D5 00 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: E2 D5 00 53 02 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [00:02:11]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:02:11]wFMCommunicate OK [00:02:11]SAM_PROTO_GetShiftData done [00:02:11]requested_item shift.sale.total_cash is exist - process it [00:02:11]requested_item shift.sale_refund.total is exist - process it [00:02:11]requested_item shift.sale_refund.total_cash is exist - process it [00:02:11]requested_item shift.buy.total is exist - process it [00:02:11]requested_item shift.buy.total_cash is exist - process it [00:02:11]produce_requested_data done [00:02:11]produce_requested_data return {"fm.sale.total":7391901.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":17102.00,"shift.sale.total_cash":14801.00,"shift.sale_refund.total":345.00,"shift.sale_refund.total_cash":80.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:02:11]process_action_free get_value [00:02:11]json_value_free [00:02:11]json_value_free done [00:02:11]process_json_proto returns [00:02:11]Send response to host [00:02:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":7391901.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":17102.00,"shift.sale.total_cash":14801.00,"shift.sale_refund.total":345.00,"shift.sale_refund.total_cash":80.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:02:11]free response buf [00:02:11]execute_script done [00:02:11]execute_script returns [00:02:11]free content buf [00:02:11]Sock 9.Close socket [00:02:11]Sock 9.Thread stoped [00:02:11]accept exits with 7 [00:02:11]New connection [00:02:11]New thread 3067596132 created [00:02:11]Thread 3067452772 joined [00:02:11]Waiting for new connection... [00:02:11] Sock 7.Parse request [00:02:11]Sock 7.Check first char [00:02:11]Sock 7.First char is OK [00:02:11]request: POST /json_proto HTTP/1.0 [00:02:11]Method: POST [00:02:11]URL: /json_proto [00:02:11]Method is POST - this is cgi request [00:02:11]url: /json_proto [00:02:11]query_string will be loaded in cgi processing [00:02:11]execute_cgi json_proto POST (null) [00:02:11]execute_cgi path=json_proto method=POST [00:02:11]POST find Content-Length [00:02:11]Host: 172.17.50.4:8080 [00:02:11]Content-Length: 259 [00:02:11]Content-Type: application/json [00:02:11] [00:02:11]POST finish read [00:02:11]Found Content-Length = 259 [00:02:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0410\u0445\u043C\u0435\u0434\u043E\u0432\u0430 \u0423. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:02:11]execute_script... [00:02:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0410\u0445\u043C\u0435\u0434\u043E\u0432\u0430 \u0423. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:02:11]POST & json_proto [00:02:11]process_json_proto [00:02:11]json parsed OK: [00:02:11]protocol is kg_v1.0 [00:02:11]action value=open_shift [00:02:11]process_action open_shift [00:02:11]cmd_open_shift [00:02:11]MH_GetDate [00:02:11]Write to MH i2c: F0 00 00 54 02 45 [00:02:11]Write i2c OK [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: F0 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: F0 09 00 [00:02:11]MH_I2C_Read... [00:02:11]Read from MH i2c: F0 09 00 54 02 00 84 EB 16 67 3B 12 16 67 04 [00:02:11]GetLastDocTimeStamp 1729555041 [00:02:11]current date 1729555332 [00:02:11]FM_GetShiftState [00:02:11]SAM_PROTO_GetShiftState [00:02:11]wFMCommunicate request_size=4 [00:02:11]MH_SAM_APDU [00:02:11]CAPDU: 80 13 01 00 [00:02:11]Write to MH i2c: E2 08 00 55 02 80 13 01 00 00 00 00 00 D4 [00:02:11]Write i2c OK [00:02:11]MH_I2C_Read... [00:02:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:02:12]Read from MH i2c: E2 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: E2 0E 00 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: E2 0E 00 55 02 00 09 00 00 00 00 00 00 00 00 00 00 90 00 DF [00:02:12]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:02:12]wFMCommunicate OK [00:02:12]SAM_PROTO_GetShiftState done [00:02:12]FM_GetShiftState done [00:02:12]KKMCreateOpenShiftDocument [00:02:12]Load OK [00:02:12]Malloc new data [00:02:12]MH_GetDate [00:02:12]Write to MH i2c: F0 00 00 56 02 47 [00:02:12]Write i2c OK [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: F0 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: F0 09 00 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: F0 09 00 56 02 00 84 EB 16 67 3B 12 16 67 06 [00:02:12]Malloc new data [00:02:12]KKMCreateOpenShiftDocument OK [00:02:12]KKMSetOpenShiftData OK [00:02:12]ProcessDocumentItem done err = 0, tmpTLVsize=209 [00:02:12]tlvbuf is 00D6DFE0 [00:02:12]KKMLoadAndSignOpenShiftData [00:02:12]SAM_PROTO_ProcessDocument [00:02:12]wFMCommunicate request_size=9 [00:02:12]MH_SAM_APDU [00:02:12]CAPDU: 80 15 01 00 04 02 00 D1 00 [00:02:12]Write to MH i2c: E2 0C 00 57 02 80 15 01 00 04 00 02 00 D1 00 00 00 B3 [00:02:12]Write i2c OK [00:02:12]MH_I2C_Read... [00:02:12]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:02:12]Read from MH i2c: E2 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: E2 03 00 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: E2 03 00 57 02 00 90 00 CD [00:02:12]RAPDU: 90 00 [00:02:12]wFMCommunicate OK [00:02:12]wFMCommunicate request_size=23 [00:02:12]MH_SAM_APDU [00:02:12]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:02:12]Write to MH i2c: E2 1A 00 58 02 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 CF [00:02:12]Write i2c OK [00:02:12]MH_I2C_Read... [00:02:12]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:02:12]Read from MH i2c: E2 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: E2 03 00 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: E2 03 00 58 02 00 90 00 CE [00:02:12]RAPDU: 90 00 [00:02:12]wFMCommunicate OK [00:02:12]wFMCommunicate request_size=30 [00:02:12]MH_SAM_APDU [00:02:12]CAPDU: 80 15 02 00 19 FD 03 15 00 D0 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 [00:02:12]Write to MH i2c: E2 21 00 59 02 80 15 02 00 19 00 FD 03 15 00 D0 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 00 00 DE [00:02:12]Write i2c OK [00:02:12]MH_I2C_Read... [00:02:12]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:02:12]Read from MH i2c: E2 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: E2 03 00 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: E2 03 00 59 02 00 90 00 CF [00:02:12]RAPDU: 90 00 [00:02:12]wFMCommunicate OK [00:02:12]wFMCommunicate request_size=98 [00:02:12]MH_SAM_APDU [00:02:12]CAPDU: 80 15 02 00 5D F1 03 59 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D0 B7 D0 B0 D1 80 20 D0 9A D0 BE D1 80 D0 B3 D0 BE D0 BD 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 2C 20 34 31 2E 30 35 35 35 32 32 2C 20 37 32 2E 37 35 37 38 36 32 [00:02:12]Write to MH i2c: E2 65 00 5A 02 80 15 02 00 5D 00 F1 03 59 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D0 B7 D0 B0 D1 80 20 D0 9A D0 BE D1 80 D0 B3 D0 BE D0 BD 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 2C 20 34 31 2E 30 35 35 35 32 32 2C 20 37 32 2E 37 35 37 38 36 32 00 00 F4 [00:02:12]Write i2c OK [00:02:12]MH_I2C_Read... [00:02:12]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:02:12]Read from MH i2c: E2 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: E2 03 00 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: E2 03 00 5A 02 00 90 00 D0 [00:02:12]RAPDU: 90 00 [00:02:12]wFMCommunicate OK [00:02:12]wFMCommunicate request_size=50 [00:02:12]MH_SAM_APDU [00:02:12]CAPDU: 80 15 02 00 2D A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 38 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [00:02:12]Write to MH i2c: E2 35 00 5B 02 80 15 02 00 2D 00 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 38 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 59 [00:02:12]Write i2c OK [00:02:12]MH_I2C_Read... [00:02:12]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:02:12]Read from MH i2c: E2 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: E2 03 00 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: E2 03 00 5B 02 00 90 00 D1 [00:02:12]RAPDU: 90 00 [00:02:12]wFMCommunicate OK [00:02:12]wFMCommunicate request_size=13 [00:02:12]MH_SAM_APDU [00:02:12]CAPDU: 80 15 02 00 08 F4 03 04 00 84 EB 16 67 [00:02:12]Write to MH i2c: E2 10 00 5C 02 80 15 02 00 08 00 F4 03 04 00 84 EB 16 67 00 00 D5 [00:02:12]Write i2c OK [00:02:12]MH_I2C_Read... [00:02:12]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:02:12]Read from MH i2c: E2 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: E2 03 00 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: E2 03 00 5C 02 00 90 00 D2 [00:02:12]RAPDU: 90 00 [00:02:12]wFMCommunicate OK [00:02:12]wFMCommunicate request_size=25 [00:02:12]MH_SAM_APDU [00:02:12]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 [00:02:12]Write to MH i2c: E2 1C 00 5D 02 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 00 00 3C [00:02:12]Write i2c OK [00:02:12]MH_I2C_Read... [00:02:12]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:02:12]Read from MH i2c: E2 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: E2 03 00 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: E2 03 00 5D 02 00 90 00 D3 [00:02:12]RAPDU: 90 00 [00:02:12]wFMCommunicate OK [00:02:12]wFMCommunicate request_size=4 [00:02:12]MH_SAM_APDU [00:02:12]CAPDU: 80 15 03 00 [00:02:12]Write to MH i2c: E2 08 00 5E 02 80 15 03 00 00 00 00 00 E1 [00:02:12]Write i2c OK [00:02:12]MH_I2C_Read... [00:02:12]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:02:12]Read from MH i2c: E2 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: E2 38 00 [00:02:12]MH_I2C_Read... [00:02:12]Read from MH i2c: E2 38 00 5E 02 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 34 32 30 10 04 04 00 3D 5F 00 00 0E 04 04 00 CE 01 00 00 35 04 06 00 A9 11 DD 4E 9B AD 90 00 3F [00:02:12]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 34 32 30 10 04 04 00 3D 5F 00 00 0E 04 04 00 CE 01 00 00 35 04 06 00 A9 11 DD 4E 9B AD 90 00 [00:02:12]wFMCommunicate OK [00:02:12]SAM_PROTO_ProcessDocument answer len = 51 [00:02:12]SAM_PROTO_ProcessDocument done [00:02:12]SetTLVBufToDocument [00:02:12]Processing tag 1209 (04B9) [00:02:12]Malloc new data [00:02:12]Processing tag 1041 (0411) [00:02:12]Processing tag 1040 (0410) [00:02:12]Malloc new data [00:02:12]Processing tag 1038 (040E) [00:02:12]Malloc new data [00:02:12]Processing tag 1077 (0435) [00:02:12]Malloc new data [00:02:12]SetTLVBufToDocument err=0 [00:02:12]KKMLoadAndSignOpenShiftData store KKM data [00:02:12]KKMLoadAndSignOpenShiftData err=0 [00:02:12]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Ахмедова У. Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 Место: АЗС № 85 "Партнер Нефть" 22.10.2024 00:02 Смена: 462 РНМ: 0000000000098120 ЗНМ: 0300000166 ФД: 24381 ФМ: 0000000000965420 ФПД: 185894192454573 [00:02:12]StoreToDocumentArchive [00:02:12]shift 462 fd 24381 [00:02:12]Create dir for shift 0462 [00:02:12]save to /storage/0462/doc_00024381 [00:02:12]save last doc name /storage/0462/doc_00024381 to /storage/kkm_last_doc_name [00:02:12]save OK [00:02:12]Clear old archive folders... [00:02:12]Remove dir /storage/0461 [00:02:12]opendir ok [00:02:12]file . [00:02:12]file .. [00:02:12]file doc_00024296 [00:02:12]remove file /storage/0461/doc_00024296 [00:02:12]file doc_00024297 [00:02:12]remove file /storage/0461/doc_00024297 [00:02:12]file doc_00024298 [00:02:12]remove file /storage/0461/doc_00024298 [00:02:12]file doc_00024299 [00:02:12]remove file /storage/0461/doc_00024299 [00:02:12]file doc_00024300 [00:02:12]remove file /storage/0461/doc_00024300 [00:02:12]file doc_00024301 [00:02:12]remove file /storage/0461/doc_00024301 [00:02:12]file doc_00024302 [00:02:12]remove file /storage/0461/doc_00024302 [00:02:12]file doc_00024303 [00:02:12]remove file /storage/0461/doc_00024303 [00:02:12]file doc_00024304 [00:02:12]remove file /storage/0461/doc_00024304 [00:02:12]file doc_00024305 [00:02:12]remove file /storage/0461/doc_00024305 [00:02:12]file doc_00024306 [00:02:12]remove file /storage/0461/doc_00024306 [00:02:12]file doc_00024307 [00:02:12]remove file /storage/0461/doc_00024307 [00:02:12]file doc_00024308 [00:02:12]remove file /storage/0461/doc_00024308 [00:02:12]file doc_00024309 [00:02:12]remove file /storage/0461/doc_00024309 [00:02:12]file doc_00024310 [00:02:12]remove file /storage/0461/doc_00024310 [00:02:12]file doc_00024311 [00:02:12]remove file /storage/0461/doc_00024311 [00:02:12]file doc_00024312 [00:02:12]remove file /storage/0461/doc_00024312 [00:02:12]file doc_00024313 [00:02:12]remove file /storage/0461/doc_00024313 [00:02:12]file doc_00024314 [00:02:12]remove file /storage/0461/doc_00024314 [00:02:12]file doc_00024315 [00:02:12]remove file /storage/0461/doc_00024315 [00:02:12]file doc_00024316 [00:02:12]remove file /storage/0461/doc_00024316 [00:02:12]file doc_00024317 [00:02:12]remove file /storage/0461/doc_00024317 [00:02:12]file doc_00024318 [00:02:12]remove file /storage/0461/doc_00024318 [00:02:12]file doc_00024319 [00:02:12]remove file /storage/0461/doc_00024319 [00:02:12]file doc_00024320 [00:02:12]remove file /storage/0461/doc_00024320 [00:02:12]file doc_00024321 [00:02:12]remove file /storage/0461/doc_00024321 [00:02:12]file doc_00024322 [00:02:12]remove file /storage/0461/doc_00024322 [00:02:12]file doc_00024323 [00:02:12]remove file /storage/0461/doc_00024323 [00:02:12]file doc_00024324 [00:02:12]remove file /storage/0461/doc_00024324 [00:02:12]file doc_00024325 [00:02:12]remove file /storage/0461/doc_00024325 [00:02:12]file doc_00024326 [00:02:12]remove file /storage/0461/doc_00024326 [00:02:12]file doc_00024327 [00:02:12]remove file /storage/0461/doc_00024327 [00:02:12]file doc_00024328 [00:02:12]remove file /storage/0461/doc_00024328 [00:02:12]file doc_00024329 [00:02:12]remove file /storage/0461/doc_00024329 [00:02:12]file doc_00024330 [00:02:12]remove file /storage/0461/doc_00024330 [00:02:12]file doc_00024331 [00:02:12]remove file /storage/0461/doc_00024331 [00:02:12]file doc_00024332 [00:02:12]remove file /storage/0461/doc_00024332 [00:02:12]file doc_00024333 [00:02:12]remove file /storage/0461/doc_00024333 [00:02:12]file doc_00024334 [00:02:12]remove file /storage/0461/doc_00024334 [00:02:12]file doc_00024335 [00:02:12]remove file /storage/0461/doc_00024335 [00:02:12]file doc_00024336 [00:02:12]remove file /storage/0461/doc_00024336 [00:02:12]file doc_00024337 [00:02:12]remove file /storage/0461/doc_00024337 [00:02:12]file doc_00024338 [00:02:12]remove file /storage/0461/doc_00024338 [00:02:12]file doc_00024339 [00:02:12]remove file /storage/0461/doc_00024339 [00:02:12]file doc_00024340 [00:02:13]remove file /storage/0461/doc_00024340 [00:02:13]file doc_00024341 [00:02:13]remove file /storage/0461/doc_00024341 [00:02:13]file doc_00024342 [00:02:13]remove file /storage/0461/doc_00024342 [00:02:13]file doc_00024343 [00:02:13]remove file /storage/0461/doc_00024343 [00:02:13]file doc_00024344 [00:02:13]remove file /storage/0461/doc_00024344 [00:02:13]file doc_00024345 [00:02:13]remove file /storage/0461/doc_00024345 [00:02:13]file doc_00024346 [00:02:13]remove file /storage/0461/doc_00024346 [00:02:13]file doc_00024347 [00:02:13]remove file /storage/0461/doc_00024347 [00:02:13]file doc_00024348 [00:02:13]remove file /storage/0461/doc_00024348 [00:02:13]file doc_00024349 [00:02:13]remove file /storage/0461/doc_00024349 [00:02:13]file doc_00024350 [00:02:13]remove file /storage/0461/doc_00024350 [00:02:13]file doc_00024351 [00:02:13]remove file /storage/0461/doc_00024351 [00:02:13]file doc_00024352 [00:02:13]remove file /storage/0461/doc_00024352 [00:02:13]file doc_00024353 [00:02:13]remove file /storage/0461/doc_00024353 [00:02:13]file doc_00024354 [00:02:13]remove file /storage/0461/doc_00024354 [00:02:13]file doc_00024355 [00:02:13]remove file /storage/0461/doc_00024355 [00:02:13]file doc_00024356 [00:02:13]remove file /storage/0461/doc_00024356 [00:02:13]file doc_00024357 [00:02:13]remove file /storage/0461/doc_00024357 [00:02:13]file doc_00024358 [00:02:13]remove file /storage/0461/doc_00024358 [00:02:13]file doc_00024359 [00:02:13]remove file /storage/0461/doc_00024359 [00:02:13]file doc_00024360 [00:02:13]remove file /storage/0461/doc_00024360 [00:02:13]file doc_00024361 [00:02:13]remove file /storage/0461/doc_00024361 [00:02:13]file doc_00024362 [00:02:13]remove file /storage/0461/doc_00024362 [00:02:13]file doc_00024363 [00:02:13]remove file /storage/0461/doc_00024363 [00:02:13]file doc_00024364 [00:02:13]remove file /storage/0461/doc_00024364 [00:02:13]file doc_00024365 [00:02:13]remove file /storage/0461/doc_00024365 [00:02:13]file doc_00024366 [00:02:13]remove file /storage/0461/doc_00024366 [00:02:13]file doc_00024367 [00:02:13]remove file /storage/0461/doc_00024367 [00:02:13]file doc_00024368 [00:02:13]remove file /storage/0461/doc_00024368 [00:02:13]file doc_00024369 [00:02:13]remove file /storage/0461/doc_00024369 [00:02:13]file doc_00024370 [00:02:13]remove file /storage/0461/doc_00024370 [00:02:13]file doc_00024371 [00:02:13]remove file /storage/0461/doc_00024371 [00:02:13]file doc_00024372 [00:02:13]remove file /storage/0461/doc_00024372 [00:02:13]file doc_00024373 [00:02:13]remove file /storage/0461/doc_00024373 [00:02:13]file doc_00024374 [00:02:13]remove file /storage/0461/doc_00024374 [00:02:13]file doc_00024375 [00:02:13]remove file /storage/0461/doc_00024375 [00:02:13]file doc_00024376 [00:02:13]remove file /storage/0461/doc_00024376 [00:02:13]file doc_00024377 [00:02:13]remove file /storage/0461/doc_00024377 [00:02:13]file doc_00024378 [00:02:13]remove file /storage/0461/doc_00024378 [00:02:13]file doc_00024379 [00:02:13]remove file /storage/0461/doc_00024379 [00:02:13]file doc_00024380 [00:02:13]remove file /storage/0461/doc_00024380 [00:02:13]remove dir /storage/0461 [00:02:13]ProcessDocumentItem done err = 0, tmpTLVsize=260 [00:02:13]tlvbuf is 00DF0490 [00:02:13]SAM_PROTO_ClearQueue [00:02:13]wFMCommunicate request_size=4 [00:02:13]MH_SAM_APDU [00:02:13]CAPDU: 80 09 00 00 [00:02:13]Write to MH i2c: E2 08 00 5F 02 80 09 00 00 00 00 00 00 D3 [00:02:13]Write i2c OK [00:02:13]MH_I2C_Read... [00:02:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:02:13]Read from MH i2c: E2 [00:02:13]MH_I2C_Read... [00:02:13]Read from MH i2c: E2 03 00 [00:02:13]MH_I2C_Read... [00:02:13]Read from MH i2c: E2 03 00 5F 02 00 90 00 D5 [00:02:13]RAPDU: 90 00 [00:02:13]wFMCommunicate OK [00:02:13]SAM_PROTO_ClearQueue done [00:02:13]KKMCreateOFDPacket [00:02:13]OFDProtocolAddRootSTLVToBuf [00:02:13]FM_MakeSignedData [00:02:13]FM_MakeSignedData [00:02:13]SAM_PROTO_SignData [00:02:13]wFMCommunicate request_size=4 [00:02:13]MH_SAM_APDU [00:02:13]CAPDU: 80 0D 01 02 [00:02:13]Write to MH i2c: E2 08 00 60 02 80 0D 01 02 00 00 00 00 DB [00:02:13]Write i2c OK [00:02:13]MH_I2C_Read... [00:02:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:02:13]Read from MH i2c: E2 [00:02:13]MH_I2C_Read... [00:02:13]Read from MH i2c: E2 03 00 [00:02:13]MH_I2C_Read... [00:02:13]Read from MH i2c: E2 03 00 60 02 00 90 00 D6 [00:02:13]RAPDU: 90 00 [00:02:13]wFMCommunicate OK [00:02:13]wFMCommunicate request_size=255 [00:02:13]MH_SAM_APDU [00:02:13]CAPDU: 80 0D 02 02 FA 02 00 04 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 15 00 D0 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 F1 03 59 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D0 B7 D0 B0 D1 80 20 D0 9A D0 BE D1 80 D0 B3 D0 BE D0 BD 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 2C 20 34 31 2E 30 35 35 35 32 32 2C 20 37 32 2E 37 35 37 38 36 32 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 38 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 84 EB 16 67 0E 04 04 00 CE 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3D 5F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 [00:02:13]Write to MH i2c: E2 02 01 61 02 80 0D 02 02 FA 00 02 00 04 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 15 00 D0 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 F1 03 59 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D0 B7 D0 B0 D1 80 20 D0 9A D0 BE D1 80 D0 B3 D0 BE D0 BD 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 2C 20 34 31 2E 30 35 35 35 32 32 2C 20 37 32 2E 37 35 37 38 36 32 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 38 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 84 EB 16 67 0E 04 04 00 CE 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3D 5F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 00 00 E3 [00:02:13]Write i2c OK [00:02:13]MH_I2C_Read... [00:02:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:02:14]Read from MH i2c: E2 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: E2 03 00 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: E2 03 00 61 02 00 90 00 D7 [00:02:14]RAPDU: 90 00 [00:02:14]wFMCommunicate OK [00:02:14]wFMCommunicate request_size=19 [00:02:14]MH_SAM_APDU [00:02:14]CAPDU: 80 0D 02 02 0E 35 34 32 30 35 04 06 00 A9 11 DD 4E 9B AD [00:02:14]Write to MH i2c: E2 16 00 62 02 80 0D 02 02 0E 00 35 34 32 30 35 04 06 00 A9 11 DD 4E 9B AD 00 00 31 [00:02:14]Write i2c OK [00:02:14]MH_I2C_Read... [00:02:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:02:14]Read from MH i2c: E2 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: E2 03 00 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: E2 03 00 62 02 00 90 00 D8 [00:02:14]RAPDU: 90 00 [00:02:14]wFMCommunicate OK [00:02:14]wFMCommunicate request_size=4 [00:02:14]MH_SAM_APDU [00:02:14]CAPDU: 80 0D 03 02 [00:02:14]Write to MH i2c: E2 08 00 63 02 80 0D 03 02 00 00 00 00 E0 [00:02:14]Write i2c OK [00:02:14]MH_I2C_Read... [00:02:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:02:14]Read from MH i2c: E2 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: E2 0B 00 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: E2 0B 00 63 02 00 09 93 58 93 92 4C 1E 45 90 00 A9 [00:02:14]RAPDU: 09 93 58 93 92 4C 1E 45 90 00 [00:02:14]wFMCommunicate OK [00:02:14]SAM_PROTO_SignData done [00:02:14]FM_MakeSignedData done [00:02:14]CreateOFDProtocolMessage [00:02:14]wFMCommunicate request_size=4 [00:02:14]MH_SAM_APDU [00:02:14]CAPDU: 80 11 00 00 [00:02:14]Write to MH i2c: E2 08 00 64 02 80 11 00 00 00 00 00 00 E0 [00:02:14]Write i2c OK [00:02:14]MH_I2C_Read... [00:02:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:02:14]Read from MH i2c: E2 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: E2 17 00 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: E2 17 00 64 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 2D [00:02:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [00:02:14]wFMCommunicate OK [00:02:14]CreateOFDProtocolMessage done [00:02:14]OFDSenderStorePacket 24381 [00:02:14]StoreOFDPacket docnum=24381 [00:02:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 18 01 00 00 5B E5 10 01 6B CC 5A 02 01 00 02 00 04 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 15 00 D0 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 F1 03 59 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D0 B7 D0 B0 D1 80 20 D0 9A D0 BE D1 80 D0 B3 D0 BE D0 BD 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 2C 20 34 31 2E 30 35 35 35 32 32 2C 20 37 32 2E 37 35 37 38 36 32 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 38 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 84 EB 16 67 0E 04 04 00 CE 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3D 5F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 35 04 06 00 A9 11 DD 4E 9B AD 09 93 58 93 92 4C 1E 45 [00:02:14]CheckFolder [00:02:14]dirname=/storage/ofd_packets [00:02:14]CheckFolder done [00:02:14]ProducePacketName [00:02:14]name=ofd_packets/00024381 [00:02:14]NVStorageSaveData ofd_packets/00024381 [00:02:14]File name is /storage/ofd_packets/00024381 [00:02:14]Write 310 bytes [00:02:14]NVStorageSaveData done [00:02:14]OFDSenderStorePacket done [00:02:14]KKMCreateOFDPacket done [00:02:14]NVStorageSaveData kkm_last_timestamp [00:02:14]File name is /storage/kkm_last_timestamp [00:02:14]Write 4 bytes [00:02:14]NVStorageSaveData done [00:02:14]ExternCall_PrintAddStr [00:02:14]wPrintStart [00:02:14]Write to MH i2c: 01 00 00 65 02 67 [00:02:14]Write i2c OK [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: 01 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: 01 07 00 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: 01 07 00 65 02 00 00 00 00 00 FF 0F 7C [00:02:14]RasterBufferAndPrint [00:02:14]line Отчет об открытии смены [00:02:14]line ФФД: 1.0 [00:02:14]line ИНН: 02508201610067 [00:02:14]line Кассир: Ахмедова У. [00:02:14]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [00:02:14]line Место: АЗС № 85 "Партнер Нефть" [00:02:14]line 22.10.2024 00:02 [00:02:14]line Смена: 462 [00:02:14]line РНМ: 0000000000098120 [00:02:14]line ЗНМ: 0300000166 [00:02:14]line ФД: 24381 [00:02:14]line ФМ: 0000000000965420 [00:02:14]line ФПД: 185894192454573 [00:02:14]written 0, free lines is 4095 [00:02:14]OFD Sender: Processing packet 24381 [packets to send 5, broken 4] [00:02:14]ProducePacketName [00:02:14]name=ofd_packets/00024381 [00:02:14]OFD Sender: To server: pG, [00:02:14]CommunicateWithHost lk.salyk.kg:30040 [00:02:14]ConnectInit lk.salyk.kg [00:02:14]Connected sock=10 [00:02: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 34 32 30 18 01 00 00 5B E5 10 01 6B CC 5A 02 01 00 02 00 04 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 15 00 D0 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 F1 03 59 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D0 B7 D0 B0 D1 80 20 D0 9A D0 BE D1 80 D0 B3 D0 BE D0 BD 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 2C 20 34 31 2E 30 35 35 35 32 32 2C 20 37 32 2E 37 35 37 38 36 32 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 38 35 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 84 EB 16 67 0E 04 04 00 CE 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3D 5F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 35 04 06 00 A9 11 DD 4E 9B AD 09 93 58 93 92 4C 1E 45 [00:02:14]Write to MH i2c: 01 00 00 77 02 79 [00:02:14]Write i2c OK [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: 01 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: 01 07 00 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: 01 07 00 77 02 00 00 00 00 00 66 0E F4 [00:02:14]RasterBufferAndPrint [00:02:14]line [00:02:14]line [00:02:14]line [00:02:14]line [00:02:14]line [00:02:14]written 0, free lines is 3701 [00:02:14]process_action open_shift done [00:02:14]requested_data is exist [00:02:14]produce_requested_data [00:02:14]requested_item fd.num is exist - process it [00:02:14]SAM_PROTO_GetFieldsCounters [00:02:14]wFMCommunicate request_size=4 [00:02:14]MH_SAM_APDU [00:02:14]CAPDU: 80 13 00 00 [00:02:14]Write to MH i2c: E2 08 00 7E 02 80 13 00 00 00 00 00 00 FC [00:02:14]Write i2c OK [00:02:14]MH_I2C_Read... [00:02:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 26 D9 47 00 CD FF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 3D 5F 00 00 F4 03 04 00 2A 97 16 67 B6 04 01 00 00 75 AF FB 5F 85 A4 B9 E3 [00:02:14]CommunicateWithHost err = 0 [00:02:14]CheckOFDResponse [00:02:14]1017 (14) - 77093643461234 [00:02:14]1041 (16) - 0000000000965420 [00:02:14]1040 (4) - 24381 [00:02:14]1012 (4) - 21.10.2024 18:02 [00:02:14]1206 (1) - 0 [00:02:14]OFD Sender: Remove packet 24381 [00:02:14]ProducePacketName [00:02:14]name=ofd_packets/00024381 [00:02:14]NVStorageDeleteData [00:02:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:02:14]Read from MH i2c: E2 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: E2 62 00 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: E2 62 00 7E 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3D 5F 00 00 0E 04 04 00 CE 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 7D [00:02: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3D 5F 00 00 0E 04 04 00 CE 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:02:14]wFMCommunicate OK [00:02:14]SAM_PROTO_GetFieldsCounters done [00:02:14]requested_item shift.num is exist - process it [00:02:14]requested_item shift.opened is exist - process it [00:02:14]req_shift_opened [00:02:14]FM_GetShiftState [00:02:14]SAM_PROTO_GetShiftState [00:02:14]wFMCommunicate request_size=4 [00:02:14]MH_SAM_APDU [00:02:14]CAPDU: 80 13 01 00 [00:02:14]Write to MH i2c: E2 08 00 7F 02 80 13 01 00 00 00 00 00 FE [00:02:14]Write i2c OK [00:02:14]MH_I2C_Read... [00:02:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:02:14]Read from MH i2c: E2 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: E2 0E 00 [00:02:14]MH_I2C_Read... [00:02:14]Read from MH i2c: E2 0E 00 7F 02 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 F6 [00:02:14]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [00:02:14]wFMCommunicate OK [00:02:14]SAM_PROTO_GetShiftState done [00:02:14]FM_GetShiftState done [00:02:14]req_shift_opened done [00:02:14]requested_item shift.open_date is exist - process it [00:02:14]req_shift_open_date [00:02:14]req_shift_open_date done [00:02:14]produce_requested_data done [00:02:14]produce_requested_data return {"fd.num":24381,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [00:02:14]process_action_free open_shift [00:02:14]json_value_free [00:02:14]json_value_free done [00:02:14]process_json_proto returns [00:02:14]Send response to host [00:02:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":24381,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [00:02:14]free response buf [00:02:14]execute_script done [00:02:14]execute_script returns [00:02:14]free content buf [00:02:14]Sock 7.Close socket [00:02:14]Sock 7.Thread stoped [00:02:14]accept exits with 9 [00:02:14]New connection [00:02:14]New thread 3067452772 created [00:02:14]Thread 3067596132 joined [00:02:14]Waiting for new connection... [00:02:14] Sock 9.Parse request [00:02:14]Sock 9.Check first char [00:02:14]Sock 9.First char is OK [00:02:14]request: POST /json_proto HTTP/1.0 [00:02:14]Method: POST [00:02:14]URL: /json_proto [00:02:14]Method is POST - this is cgi request [00:02:14]url: /json_proto [00:02:14]query_string will be loaded in cgi processing [00:02:14]execute_cgi json_proto POST (null) [00:02:14]execute_cgi path=json_proto method=POST [00:02:14]POST find Content-Length [00:02:14]Host: 172.17.50.4:8080 [00:02:14]Content-Length: 331 [00:02:14]Content-Type: application/json [00:02:14] [00:02:14]POST finish read [00:02:14]Found Content-Length = 331 [00:02:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:02:14]execute_script... [00:02:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:02:15]POST & json_proto [00:02:15]process_json_proto [00:02:15]json parsed OK: [00:02:15]protocol is kg_v1.0 [00:02:15]action value=get_value [00:02:15]process_action get_value [00:02:15]cmd_get_value [00:02:15]process_action get_value done [00:02:15]requested_data is exist [00:02:15]produce_requested_data [00:02:15]requested_item fm.sale.total is exist - process it [00:02:15]SAM_PROTO_GetFMData [00:02:15]wFMCommunicate request_size=4 [00:02:15]MH_SAM_APDU [00:02:15]CAPDU: 80 13 03 00 [00:02:15]Write to MH i2c: E2 08 00 80 02 80 13 03 00 00 00 00 00 01 [00:02:15]Write i2c OK [00:02:15]MH_I2C_Read... [00:02:15]OFD Sender: No OFD packet to send [00:02:15]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:02:15]Read from MH i2c: E2 [00:02:15]MH_I2C_Read... [00:02:15]Read from MH i2c: E2 FD 00 [00:02:15]MH_I2C_Read... [00:02:15]Read from MH i2c: E2 FD 00 80 02 00 C4 04 85 04 C0 04 6E 04 04 00 A8 5B 00 00 69 04 A0 00 6F 04 04 00 18 5B 00 00 B1 04 04 00 5E 25 0F 2C 70 04 04 00 74 E7 1B 24 72 04 04 00 EA 3D F3 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E6 E6 AD 04 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 AA C7 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 97 2D EF 03 09 00 90 00 7E [00:02:15]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 A8 5B 00 00 69 04 A0 00 6F 04 04 00 18 5B 00 00 B1 04 04 00 5E 25 0F 2C 70 04 04 00 74 E7 1B 24 72 04 04 00 EA 3D F3 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E6 E6 AD 04 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 AA C7 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 30 97 2D EF 03 09 00 90 00 [00:02:15]wFMCommunicate OK [00:02:15]wFMCommunicate request_size=4 [00:02:15]MH_SAM_APDU [00:02:15]CAPDU: 80 17 00 00 [00:02:15]Write to MH i2c: E2 08 00 81 02 80 17 00 00 00 00 00 00 03 [00:02:15]Write i2c OK [00:02:15]MH_I2C_Read... [00:02:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:15]Read from MH i2c: E2 [00:02:15]MH_I2C_Read... [00:02:15]Read from MH i2c: E2 FD 00 [00:02:15]MH_I2C_Read... [00:02:15]Read from MH i2c: E2 FD 00 81 02 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 16 [00:02:15]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:02:16]wFMCommunicate OK [00:02:16]wFMCommunicate request_size=4 [00:02:16]MH_SAM_APDU [00:02:16]CAPDU: 80 17 00 00 [00:02:16]Write to MH i2c: E2 08 00 82 02 80 17 00 00 00 00 00 00 04 [00:02:16]Write i2c OK [00:02:16]MH_I2C_Read... [00:02:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:16]Read from MH i2c: E2 [00:02:16]MH_I2C_Read... [00:02:16]Read from MH i2c: E2 FD 00 [00:02:16]MH_I2C_Read... [00:02:16]Read from MH i2c: E2 FD 00 82 02 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 19 [00:02:16]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:02:16]wFMCommunicate OK [00:02:16]wFMCommunicate request_size=4 [00:02:16]MH_SAM_APDU [00:02:16]CAPDU: 80 17 00 00 [00:02:16]Write to MH i2c: E2 08 00 83 02 80 17 00 00 00 00 00 00 05 [00:02:16]Write i2c OK [00:02:16]MH_I2C_Read... [00:02:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:16]Read from MH i2c: E2 [00:02:16]MH_I2C_Read... [00:02:16]Read from MH i2c: E2 FD 00 [00:02:16]MH_I2C_Read... [00:02:16]Read from MH i2c: E2 FD 00 83 02 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 7D [00:02:16]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:02:16]wFMCommunicate OK [00:02:16]wFMCommunicate request_size=4 [00:02:16]MH_SAM_APDU [00:02:16]CAPDU: 80 17 00 00 [00:02:16]Write to MH i2c: E2 08 00 84 02 80 17 00 00 00 00 00 00 06 [00:02:16]Write i2c OK [00:02:16]MH_I2C_Read... [00:02:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:02:17]Read from MH i2c: E2 [00:02:17]MH_I2C_Read... [00:02:17]Read from MH i2c: E2 E1 00 [00:02:17]MH_I2C_Read... [00:02:17]Read from MH i2c: E2 E1 00 84 02 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F4 [00:02:17]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:02:17]wFMCommunicate OK [00:02:17]SAM_PROTO_GetFMData done [00:02:17]requested_item fm.sale_refund.total is exist - process it [00:02:17]requested_item fm.buy.total is exist - process it [00:02:17]requested_item shift.sale.total is exist - process it [00:02:17]SAM_PROTO_GetShiftData [00:02:17]wFMCommunicate request_size=4 [00:02:17]MH_SAM_APDU [00:02:17]CAPDU: 80 13 02 00 [00:02:17]Write to MH i2c: E2 08 00 85 02 80 13 02 00 00 00 00 00 05 [00:02:17]Write i2c OK [00:02:17]MH_I2C_Read... [00:02:17]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:02:17]Read from MH i2c: E2 [00:02:17]MH_I2C_Read... [00:02:17]Read from MH i2c: E2 FD 00 [00:02:17]MH_I2C_Read... [00:02:17]Read from MH i2c: E2 FD 00 85 02 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 78 [00:02:17]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:02:17]wFMCommunicate OK [00:02:17]wFMCommunicate request_size=4 [00:02:17]MH_SAM_APDU [00:02:17]CAPDU: 80 17 00 00 [00:02:17]Write to MH i2c: E2 08 00 86 02 80 17 00 00 00 00 00 00 08 [00:02:17]Write i2c OK [00:02:17]MH_I2C_Read... [00:02:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:18]Read from MH i2c: E2 [00:02:18]MH_I2C_Read... [00:02:18]Read from MH i2c: E2 FD 00 [00:02:18]MH_I2C_Read... [00:02:18]Read from MH i2c: E2 FD 00 86 02 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 10 [00:02:18]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:02:18]wFMCommunicate OK [00:02:18]wFMCommunicate request_size=4 [00:02:18]MH_SAM_APDU [00:02:18]CAPDU: 80 17 00 00 [00:02:18]Write to MH i2c: E2 08 00 87 02 80 17 00 00 00 00 00 00 09 [00:02:18]Write i2c OK [00:02:18]MH_I2C_Read... [00:02:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:18]Read from MH i2c: E2 [00:02:18]MH_I2C_Read... [00:02:18]Read from MH i2c: E2 FD 00 [00:02:18]MH_I2C_Read... [00:02:18]Read from MH i2c: E2 FD 00 87 02 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 DB [00:02:18]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:02:18]wFMCommunicate OK [00:02:18]wFMCommunicate request_size=4 [00:02:18]MH_SAM_APDU [00:02:18]CAPDU: 80 17 00 00 [00:02:18]Write to MH i2c: E2 08 00 88 02 80 17 00 00 00 00 00 00 0A [00:02:18]Write i2c OK [00:02:18]MH_I2C_Read... [00:02:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:19]Read from MH i2c: E2 [00:02:19]MH_I2C_Read... [00:02:19]Read from MH i2c: E2 FD 00 [00:02:19]MH_I2C_Read... [00:02:19]Read from MH i2c: E2 FD 00 88 02 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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 7C [00:02:19]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:02:19]wFMCommunicate OK [00:02:19]wFMCommunicate request_size=4 [00:02:19]MH_SAM_APDU [00:02:19]CAPDU: 80 17 00 00 [00:02:19]Write to MH i2c: E2 08 00 89 02 80 17 00 00 00 00 00 00 0B [00:02:19]Write i2c OK [00:02:19]MH_I2C_Read... [00:02:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:02:19]Read from MH i2c: E2 [00:02:19]MH_I2C_Read... [00:02:19]Read from MH i2c: E2 BD 00 [00:02:19]MH_I2C_Read... [00:02:19]Read from MH i2c: E2 BD 00 89 02 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 F1 [00:02:19]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:02:19]wFMCommunicate OK [00:02:19]SAM_PROTO_GetShiftData done [00:02:19]requested_item shift.sale.total_cash is exist - process it [00:02:19]requested_item shift.sale_refund.total is exist - process it [00:02:19]requested_item shift.sale_refund.total_cash is exist - process it [00:02:19]requested_item shift.buy.total is exist - process it [00:02:19]requested_item shift.buy.total_cash is exist - process it [00:02:19]produce_requested_data done [00:02:19]produce_requested_data return {"fm.sale.total":7391901.10,"fm.sale_refund.total":281327.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:02:19]process_action_free get_value [00:02:19]json_value_free [00:02:19]json_value_free done [00:02:19]process_json_proto returns [00:02:19]Send response to host [00:02:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":7391901.10,"fm.sale_refund.total":281327.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:02:19]free response buf [00:02:19]execute_script done [00:02:19]execute_script returns [00:02:19]free content buf [00:02:19]Sock 9.Close socket [00:02:19]Sock 9.Thread stoped [00:02:20]OFD Sender: No OFD packet to send [00:02:25]OFD Sender: No OFD packet to send [00:02:30]OFD Sender: No OFD packet to send [00:02:35]OFD Sender: No OFD packet to send [00:02:40]OFD Sender: No OFD packet to send [00:02:45]OFD Sender: No OFD packet to send [00:02:50]OFD Sender: No OFD packet to send [00:02:55]OFD Sender: No OFD packet to send [00:03:00]OFD Sender: No OFD packet to send [00:03:05]OFD Sender: No OFD packet to send [00:03:10]OFD Sender: No OFD packet to send [00:03:15]OFD Sender: No OFD packet to send [00:03:20]OFD Sender: No OFD packet to send [00:03:25]OFD Sender: No OFD packet to send [00:03:30]OFD Sender: No OFD packet to send [00:03:35]OFD Sender: No OFD packet to send [00:03:40]OFD Sender: No OFD packet to send [00:03:45]OFD Sender: No OFD packet to send [00:03:50]OFD Sender: No OFD packet to send [00:03:55]OFD Sender: No OFD packet to send [00:04:00]OFD Sender: No OFD packet to send [00:04:05]OFD Sender: No OFD packet to send [00:04:10]OFD Sender: No OFD packet to send [00:04:15]OFD Sender: No OFD packet to send [00:04:20]OFD Sender: No OFD packet to send [00:04:25]OFD Sender: No OFD packet to send [00:04:30]OFD Sender: No OFD packet to send [00:04:35]OFD Sender: No OFD packet to send [00:04:40]OFD Sender: No OFD packet to send [00:04:45]OFD Sender: No OFD packet to send [00:04:50]OFD Sender: No OFD packet to send [00:04:55]OFD Sender: No OFD packet to send [00:05:00]OFD Sender: No OFD packet to send [00:05:05]OFD Sender: No OFD packet to send [00:05:10]OFD Sender: No OFD packet to send [00:05:15]OFD Sender: No OFD packet to send [00:05:20]OFD Sender: No OFD packet to send [00:05:25]OFD Sender: No OFD packet to send [00:05:30]OFD Sender: No OFD packet to send [00:05:35]OFD Sender: No OFD packet to send [00:05:40]OFD Sender: No OFD packet to send [00:05:45]OFD Sender: No OFD packet to send [00:05:50]OFD Sender: No OFD packet to send [00:05:55]OFD Sender: No OFD packet to send [00:06:00]OFD Sender: No OFD packet to send [00:06:05]OFD Sender: No OFD packet to send [00:06:10]OFD Sender: No OFD packet to send [00:06:15]OFD Sender: No OFD packet to send [00:06:20]OFD Sender: No OFD packet to send [00:06:25]OFD Sender: No OFD packet to send [00:06:30]OFD Sender: No OFD packet to send [00:06:35]OFD Sender: No OFD packet to send [00:06:40]OFD Sender: No OFD packet to send [00:06:45]OFD Sender: No OFD packet to send [00:06:50]OFD Sender: No OFD packet to send [00:06:55]OFD Sender: No OFD packet to send [00:07:00]OFD Sender: No OFD packet to send [00:07:05]OFD Sender: No OFD packet to send [00:07:10]OFD Sender: No OFD packet to send [00:07:15]OFD Sender: No OFD packet to send [00:07:20]OFD Sender: No OFD packet to send [00:07:25]OFD Sender: No OFD packet to send [00:07:30]OFD Sender: No OFD packet to send [00:07:35]OFD Sender: No OFD packet to send [00:07:40]OFD Sender: No OFD packet to send [00:07:45]OFD Sender: No OFD packet to send [00:07:50]OFD Sender: No OFD packet to send [00:07:55]OFD Sender: No OFD packet to send [00:08:00]OFD Sender: No OFD packet to send [00:08:05]OFD Sender: No OFD packet to send [00:08:10]OFD Sender: No OFD packet to send [00:08:15]OFD Sender: No OFD packet to send [00:08:20]OFD Sender: No OFD packet to send [00:08:25]OFD Sender: No OFD packet to send [00:08:30]OFD Sender: No OFD packet to send [00:08:35]OFD Sender: No OFD packet to send [00:08:40]OFD Sender: No OFD packet to send [00:08:45]OFD Sender: No OFD packet to send [00:08:50]OFD Sender: No OFD packet to send [00:08:55]OFD Sender: No OFD packet to send [00:09:00]OFD Sender: No OFD packet to send [00:09:05]OFD Sender: No OFD packet to send [00:09:10]OFD Sender: No OFD packet to send [00:09:15]OFD Sender: No OFD packet to send [00:09:20]OFD Sender: No OFD packet to send [00:09:25]OFD Sender: No OFD packet to send [00:09:30]OFD Sender: No OFD packet to send [00:09:35]OFD Sender: No OFD packet to send [00:09:40]OFD Sender: No OFD packet to send [00:09:45]OFD Sender: No OFD packet to send [00:09:50]OFD Sender: No OFD packet to send [00:09:55]OFD Sender: No OFD packet to send [00:10:00]OFD Sender: No OFD packet to send [00:10:05]OFD Sender: No OFD packet to send [00:10:10]OFD Sender: No OFD packet to send [00:10:15]OFD Sender: No OFD packet to send [00:10:20]OFD Sender: No OFD packet to send [00:10:25]OFD Sender: No OFD packet to send [00:10:30]OFD Sender: No OFD packet to send [00:10:35]OFD Sender: No OFD packet to send [00:10:40]OFD Sender: No OFD packet to send [00:10:45]OFD Sender: No OFD packet to send [00:10:50]OFD Sender: No OFD packet to send [00:10:55]OFD Sender: No OFD packet to send [00:11:00]OFD Sender: No OFD packet to send [00:11:05]OFD Sender: No OFD packet to send [00:11:10]OFD Sender: No OFD packet to send [00:11:15]OFD Sender: No OFD packet to send [00:11:20]OFD Sender: No OFD packet to send [00:11:25]OFD Sender: No OFD packet to send [00:11:30]OFD Sender: No OFD packet to send [00:11:35]OFD Sender: No OFD packet to send [00:11:40]OFD Sender: No OFD packet to send [00:11:45]OFD Sender: No OFD packet to send [00:11:50]OFD Sender: No OFD packet to send [00:11:55]OFD Sender: No OFD packet to send [00:12:00]OFD Sender: No OFD packet to send [00:12:05]OFD Sender: No OFD packet to send [00:12:10]OFD Sender: No OFD packet to send [00:12:15]OFD Sender: No OFD packet to send [00:12:20]OFD Sender: No OFD packet to send [00:12:25]OFD Sender: No OFD packet to send [00:12:30]OFD Sender: No OFD packet to send [00:12:35]OFD Sender: No OFD packet to send [00:12:40]OFD Sender: No OFD packet to send [00:12:45]OFD Sender: No OFD packet to send [00:12:50]OFD Sender: No OFD packet to send [00:12:55]OFD Sender: No OFD packet to send [00:13:00]OFD Sender: No OFD packet to send [00:13:05]OFD Sender: No OFD packet to send [00:13:10]OFD Sender: No OFD packet to send [00:13:15]OFD Sender: No OFD packet to send [00:13:20]OFD Sender: No OFD packet to send [00:13:25]OFD Sender: No OFD packet to send [00:13:30]OFD Sender: No OFD packet to send [00:13:35]OFD Sender: No OFD packet to send [00:13:40]OFD Sender: No OFD packet to send [00:13:45]OFD Sender: No OFD packet to send [00:13:50]OFD Sender: No OFD packet to send [00:13:55]OFD Sender: No OFD packet to send [00:14:00]OFD Sender: No OFD packet to send [00:14:05]OFD Sender: No OFD packet to send [00:14:10]OFD Sender: No OFD packet to send [00:14:15]OFD Sender: No OFD packet to send [00:14:20]OFD Sender: No OFD packet to send [00:14:25]OFD Sender: No OFD packet to send [00:14:30]OFD Sender: No OFD packet to send [00:14:35]OFD Sender: No OFD packet to send [00:14:40]OFD Sender: No OFD packet to send [00:14:45]OFD Sender: No OFD packet to send [00:14:51]OFD Sender: No OFD packet to send [00:14:56]OFD Sender: No OFD packet to send [00:15:01]OFD Sender: No OFD packet to send [00:15:06]OFD Sender: No OFD packet to send [00:15:11]OFD Sender: No OFD packet to send [00:15:16]OFD Sender: No OFD packet to send [00:15:21]OFD Sender: No OFD packet to send [00:15:26]OFD Sender: No OFD packet to send [00:15:31]OFD Sender: No OFD packet to send [00:15:36]OFD Sender: No OFD packet to send [00:15:39]accept exits with 7 [00:15:39]New connection [00:15:39]New thread 3067596132 created [00:15:39]Thread 3067452772 joined [00:15:39]Waiting for new connection... [00:15:39] Sock 7.Parse request [00:15:39]Sock 7.Check first char [00:15:39]Sock 7.First char is OK [00:15:39]request: POST /json_proto HTTP/1.0 [00:15:39]Method: POST [00:15:39]URL: /json_proto [00:15:39]Method is POST - this is cgi request [00:15:39]url: /json_proto [00:15:39]query_string will be loaded in cgi processing [00:15:39]execute_cgi json_proto POST (null) [00:15:39]execute_cgi path=json_proto method=POST [00:15:39]POST find Content-Length [00:15:39]Host: 172.17.50.4:8080 [00:15:39]Content-Length: 642 [00:15:39]Content-Type: application/json [00:15:39] [00:15:39]POST finish read [00:15:39]Found Content-Length = 642 [00:15:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134901", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:15:39]execute_script... [00:15: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)134901", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:15:39]POST & json_proto [00:15:39]process_json_proto [00:15:39]json parsed OK: [00:15:39]protocol is kg_v1.0 [00:15:39]action value=close_receipt [00:15:39]process_action close_receipt [00:15:39]cmd_close_receipt [00:15:39]MH_GetDate [00:15:39]Write to MH i2c: F0 00 00 8A 02 7B [00:15:39]Write i2c OK [00:15:39]MH_I2C_Read... [00:15:39]Read from MH i2c: F0 [00:15:39]MH_I2C_Read... [00:15:39]Read from MH i2c: F0 09 00 [00:15:39]MH_I2C_Read... [00:15:39]Read from MH i2c: F0 09 00 8A 02 00 AB EE 16 67 3B 12 16 67 64 [00:15:39]GetLastDocTimeStamp 1729555332 [00:15:39]current date 1729556139 [00:15:39]FM_GetShiftState [00:15:39]SAM_PROTO_GetShiftState [00:15:39]wFMCommunicate request_size=4 [00:15:39]MH_SAM_APDU [00:15:39]CAPDU: 80 13 01 00 [00:15:39]Write to MH i2c: E2 08 00 8B 02 80 13 01 00 00 00 00 00 0A [00:15:39]Write i2c OK [00:15:39]MH_I2C_Read... [00:15:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:15:39]Read from MH i2c: E2 [00:15:39]MH_I2C_Read... [00:15:39]Read from MH i2c: E2 0E 00 [00:15:39]MH_I2C_Read... [00:15:39]Read from MH i2c: E2 0E 00 8B 02 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 02 [00:15:39]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [00:15:39]wFMCommunicate OK [00:15:39]SAM_PROTO_GetShiftState done [00:15:39]FM_GetShiftState done [00:15:39]opened in 1729555332 [00:15:39]opened+sec_in_day 1729641732 [00:15:39]quantity*price = 5900 [00:15:39]sum+1 = 5901 [00:15:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 59.00 НСП 1% : 0.52 НДС 12% : 6.26 Наличными: 59.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 1 22.10.2024 00:15 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24382 ФПД: 18543050576491 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T001540&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24382&fm=18543050576491&tin=02508201610067®Number=0000000000098120&sum=5900 0 [00:15:40]StoreToDocumentArchive [00:15:40]shift 462 fd 24382 [00:15:40]save to /storage/0462/doc_00024382 [00:15:40]save last doc name /storage/0462/doc_00024382 to /storage/kkm_last_doc_name [00:15:40]save OK [00:15:40]Clear old archive folders... [00:15:40]ProcessDocumentItem done err = 0, tmpTLVsize=281 [00:15:40]tlvbuf is 00D58600 [00:15:40]SAM_PROTO_ClearQueue [00:15:40]wFMCommunicate request_size=4 [00:15:40]MH_SAM_APDU [00:15:40]CAPDU: 80 09 00 00 [00:15:40]Write to MH i2c: E2 08 00 98 02 80 09 00 00 00 00 00 00 0C [00:15:40]Write i2c OK [00:15:40]MH_I2C_Read... [00:15:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:15:40]Read from MH i2c: E2 [00:15:40]MH_I2C_Read... [00:15:40]Read from MH i2c: E2 03 00 [00:15:40]MH_I2C_Read... [00:15:40]Read from MH i2c: E2 03 00 98 02 00 90 00 0E [00:15:40]RAPDU: 90 00 [00:15:40]wFMCommunicate OK [00:15:40]SAM_PROTO_ClearQueue done [00:15:40]KKMCreateOFDPacket [00:15:40]OFDProtocolAddRootSTLVToBuf [00:15:40]FM_MakeSignedData [00:15:40]FM_MakeSignedData [00:15:40]SAM_PROTO_SignData [00:15:40]wFMCommunicate request_size=4 [00:15:40]MH_SAM_APDU [00:15:40]CAPDU: 80 0D 01 02 [00:15:40]Write to MH i2c: E2 08 00 99 02 80 0D 01 02 00 00 00 00 14 [00:15:40]Write i2c OK [00:15:40]MH_I2C_Read... [00:15:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:15:40]Read from MH i2c: E2 [00:15:40]MH_I2C_Read... [00:15:40]Read from MH i2c: E2 03 00 [00:15:40]MH_I2C_Read... [00:15:40]Read from MH i2c: E2 03 00 99 02 00 90 00 0F [00:15:40]RAPDU: 90 00 [00:15:40]wFMCommunicate OK [00:15:40]wFMCommunicate request_size=255 [00:15:40]MH_SAM_APDU [00:15:40]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 01 00 00 00 F4 03 04 00 AC EE 16 67 0E 04 04 00 CE 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 32 30 11 04 10 [00:15:40]Write to MH i2c: E2 02 01 9A 02 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 01 00 00 00 F4 03 04 00 AC EE 16 67 0E 04 04 00 CE 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 32 30 11 04 10 00 00 83 [00:15:40]Write i2c OK [00:15:40]MH_I2C_Read... [00:15:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:15:40]Read from MH i2c: E2 [00:15:40]MH_I2C_Read... [00:15:40]Read from MH i2c: E2 03 00 [00:15:40]MH_I2C_Read... [00:15:40]Read from MH i2c: E2 03 00 9A 02 00 90 00 10 [00:15:40]RAPDU: 90 00 [00:15:40]wFMCommunicate OK [00:15:40]wFMCommunicate request_size=40 [00:15:40]MH_SAM_APDU [00:15:40]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 3E 5F 00 00 35 04 06 00 10 DD 63 F1 52 6B [00:15:40]Write to MH i2c: E2 2B 00 9B 02 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 3E 5F 00 00 35 04 06 00 10 DD 63 F1 52 6B 00 00 69 [00:15:40]Write i2c OK [00:15:40]MH_I2C_Read... [00:15:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:15:40]Read from MH i2c: E2 [00:15:40]MH_I2C_Read... [00:15:40]Read from MH i2c: E2 03 00 [00:15:40]MH_I2C_Read... [00:15:40]Read from MH i2c: E2 03 00 9B 02 00 90 00 11 [00:15:40]RAPDU: 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 0D 03 02 [00:15:40]Write to MH i2c: E2 08 00 9C 02 80 0D 03 02 00 00 00 00 19 [00:15:40]Write i2c OK [00:15:40]MH_I2C_Read... [00:15:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:15:40]Read from MH i2c: E2 [00:15:40]MH_I2C_Read... [00:15:40]Read from MH i2c: E2 0B 00 [00:15:40]MH_I2C_Read... [00:15:40]Read from MH i2c: E2 0B 00 9C 02 00 EE 63 31 CB 66 AF 2A 9B 90 00 41 [00:15:40]RAPDU: EE 63 31 CB 66 AF 2A 9B 90 00 [00:15:40]wFMCommunicate OK [00:15:40]SAM_PROTO_SignData done [00:15:40]FM_MakeSignedData done [00:15:40]CreateOFDProtocolMessage [00:15:40]wFMCommunicate request_size=4 [00:15:40]MH_SAM_APDU [00:15:40]CAPDU: 80 11 00 00 [00:15:40]Write to MH i2c: E2 08 00 9D 02 80 11 00 00 00 00 00 00 19 [00:15:40]Write i2c OK [00:15:40]MH_I2C_Read... [00:15:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:15:40]Read from MH i2c: E2 [00:15:40]MH_I2C_Read... [00:15:40]Read from MH i2c: E2 17 00 [00:15:40]MH_I2C_Read... [00:15:40]Read from MH i2c: E2 17 00 9D 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 66 [00:15:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [00:15:40]wFMCommunicate OK [00:15:40]CreateOFDProtocolMessage done [00:15:40]OFDSenderStorePacket 24382 [00:15:40]StoreOFDPacket docnum=24382 [00:15:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2D 01 00 00 11 42 25 01 9C 90 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 01 00 00 00 F4 03 04 00 AC EE 16 67 0E 04 04 00 CE 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 3E 5F 00 00 35 04 06 00 10 DD 63 F1 52 6B EE 63 31 CB 66 AF 2A 9B [00:15:40]CheckFolder [00:15:40]dirname=/storage/ofd_packets [00:15:40]CheckFolder done [00:15:40]ProducePacketName [00:15:40]name=ofd_packets/00024382 [00:15:40]NVStorageSaveData ofd_packets/00024382 [00:15:40]File name is /storage/ofd_packets/00024382 [00:15:40]Write 331 bytes [00:15:40]NVStorageSaveData done [00:15:40]OFDSenderStorePacket done [00:15:40]KKMCreateOFDPacket done [00:15:40]NVStorageSaveData kkm_last_timestamp [00:15:40]File name is /storage/kkm_last_timestamp [00:15:40]Write 4 bytes [00:15:40]NVStorageSaveData done [00:15:40]ExternCall_PrintAddStr [00:15:40]wPrintStart [00:15:40]Write to MH i2c: 01 00 00 9E 02 A0 [00:15:40]Write i2c OK [00:15:40]MH_I2C_Read... [00:15:40]Read from MH i2c: 01 [00:15:40]MH_I2C_Read... [00:15:40]Read from MH i2c: 01 07 00 [00:15:40]MH_I2C_Read... [00:15:40]Read from MH i2c: 01 07 00 9E 02 00 00 00 00 00 FF 0F B5 [00:15:40]RasterBufferAndPrint [00:15:40]line Счет N : (3)134901 [00:15:40]line ИНН: 02508201610067 [00:15:40]line Контрольно-Кассовый Чек [00:15:40]line ПРОДАЖА [00:15:40]line Товар: 4607065001445 [00:15:40]line Шок батончик Snickers 50,5г [00:15:40]line 1.000 * 59.00 [00:15:40]line = 59.00 [00:15:40]line НДС 12% НСП 1% [00:15:40]line > о реализуемом товаре [00:15:40]line ИТОГО: 59.00 [00:15:40]line НСП 1% : 0.52 [00:15:40]line НДС 12% : 6.26 [00:15:40]line Наличными: 59.00 [00:15:40]line Безнал.: 0.00 [00:15:40]line Место: АЗС № 85 "Партнер Нефть" [00:15:40]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [00:15:40]line СНО: Общий режим [00:15:40]line Чек 1 22.10.2024 00:15 [00:15:40]line Смена: 462 ФФД: 1.0 [00:15:40]line ЗНМ: 0300000166 [00:15:40]line РНМ: 0000000000098120 [00:15:40]line Версия ККМ: 001 [00:15:40]line ФМ: 0000000000965420 [00:15:40]line ФД: 24382 [00:15:40]line ФПД: 18543050576491 [00:15:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T001540&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24382&fm=18543050576491&tin=02508201610067®Number=0000000000098120&sum=5900 [00:15:41]line 0 [00:15:41]OFD Sender: Processing packet 24382 [packets to send 5, broken 4] [00:15:41]ProducePacketName [00:15:41]name=ofd_packets/00024382 [00:15:41]OFD Sender: To server: pG, [00:15:41]CommunicateWithHost lk.salyk.kg:30040 [00:15:41]ConnectInit lk.salyk.kg [00:15:41]written 0, free lines is 4095 [00:15:41]Connected sock=10 [00:15: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 34 32 30 2D 01 00 00 11 42 25 01 9C 90 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 01 00 00 00 F4 03 04 00 AC EE 16 67 0E 04 04 00 CE 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 3E 5F 00 00 35 04 06 00 10 DD 63 F1 52 6B EE 63 31 CB 66 AF 2A 9B [00:15:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 B2 9A 47 00 F8 E3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 3E 5F 00 00 F4 03 04 00 51 9A 16 67 B6 04 01 00 00 BA 9F 84 23 33 83 7D C8 [00:15:41]CommunicateWithHost err = 0 [00:15:41]CheckOFDResponse [00:15:41]1017 (14) - 77093643461234 [00:15:41]1041 (16) - 0000000000965420 [00:15:41]1040 (4) - 24382 [00:15:41]1012 (4) - 21.10.2024 18:15 [00:15:41]1206 (1) - 0 [00:15:41]OFD Sender: Remove packet 24382 [00:15:41]ProducePacketName [00:15:41]name=ofd_packets/00024382 [00:15:41]NVStorageDeleteData [00:15:41]Write to MH i2c: 01 00 00 C6 02 C8 [00:15:41]Write i2c OK [00:15:41]MH_I2C_Read... [00:15:41]Read from MH i2c: 01 [00:15:41]MH_I2C_Read... [00:15:41]Read from MH i2c: 01 07 00 [00:15:41]MH_I2C_Read... [00:15:41]Read from MH i2c: 01 07 00 C6 02 00 00 00 00 00 23 0D FF [00:15:41]RasterBufferAndPrint [00:15:41]line [00:15:41]line [00:15:41]line [00:15:41]line [00:15:41]line [00:15:41]written 0, free lines is 3369 [00:15:41]process_action close_receipt done [00:15:41]requested_data is exist [00:15:41]produce_requested_data [00:15:41]requested_item fm.sn is exist - process it [00:15:41]wFMCommunicate request_size=4 [00:15:41]MH_SAM_APDU [00:15:41]CAPDU: 80 11 00 00 [00:15:41]Write to MH i2c: E2 08 00 CD 02 80 11 00 00 00 00 00 00 49 [00:15:41]Write i2c OK [00:15:41]MH_I2C_Read... [00:15:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:15:41]Read from MH i2c: E2 [00:15:41]MH_I2C_Read... [00:15:41]Read from MH i2c: E2 17 00 [00:15:41]MH_I2C_Read... [00:15:41]Read from MH i2c: E2 17 00 CD 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 96 [00:15:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [00:15:41]wFMCommunicate OK [00:15:41]requested_item fd.num is exist - process it [00:15:41]SAM_PROTO_GetFieldsCounters [00:15:41]wFMCommunicate request_size=4 [00:15:41]MH_SAM_APDU [00:15:41]CAPDU: 80 13 00 00 [00:15:41]Write to MH i2c: E2 08 00 CE 02 80 13 00 00 00 00 00 00 4C [00:15:41]Write i2c OK [00:15:41]MH_I2C_Read... [00:15:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:15:41]Read from MH i2c: E2 [00:15:41]MH_I2C_Read... [00:15:41]Read from MH i2c: E2 62 00 [00:15:41]MH_I2C_Read... [00:15:41]Read from MH i2c: E2 62 00 CE 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3E 5F 00 00 0E 04 04 00 CE 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 D1 [00:15: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3E 5F 00 00 0E 04 04 00 CE 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:15:41]wFMCommunicate OK [00:15:41]SAM_PROTO_GetFieldsCounters done [00:15:41]requested_item shift.num is exist - process it [00:15:41]requested_item shift.opened is exist - process it [00:15:41]req_shift_opened [00:15:41]FM_GetShiftState [00:15:41]SAM_PROTO_GetShiftState [00:15:41]wFMCommunicate request_size=4 [00:15:41]MH_SAM_APDU [00:15:41]CAPDU: 80 13 01 00 [00:15:41]Write to MH i2c: E2 08 00 CF 02 80 13 01 00 00 00 00 00 4E [00:15:41]Write i2c OK [00:15:41]MH_I2C_Read... [00:15:41]Read from MH i2c: E2 [00:15:41]MH_I2C_Read... [00:15:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:15:41]Read from MH i2c: E2 0E 00 [00:15:41]MH_I2C_Read... [00:15:41]Read from MH i2c: E2 0E 00 CF 02 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 46 [00:15:41]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [00:15:41]wFMCommunicate OK [00:15:41]SAM_PROTO_GetShiftState done [00:15:41]FM_GetShiftState done [00:15:41]req_shift_opened done [00:15:41]requested_item shift.open_date is exist - process it [00:15:41]req_shift_open_date [00:15:41]req_shift_open_date done [00:15:41]produce_requested_data done [00:15:41]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24382,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [00:15:41]process_action_free close_receipt [00:15:41]json_value_free [00:15:41]json_value_free done [00:15:41]process_json_proto returns [00:15:41]Send response to host [00:15:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24382,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [00:15:41]free response buf [00:15:41]execute_script done [00:15:41]execute_script returns [00:15:41]free content buf [00:15:41]Sock 7.Close socket [00:15:41]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:27]OFD Sender: No OFD packet to send [00:16:32]OFD Sender: No OFD packet to send [00:16:37]OFD Sender: No OFD packet to send [00:16:42]OFD Sender: No OFD packet to send [00:16:47]OFD Sender: No OFD packet to send [00:16:52]OFD Sender: No OFD packet to send [00:16:57]OFD Sender: No OFD packet to send [00:17:02]OFD Sender: No OFD packet to send [00:17:07]OFD Sender: No OFD packet to send [00:17:12]OFD Sender: No OFD packet to send [00:17:17]OFD Sender: No OFD packet to send [00:17:22]OFD Sender: No OFD packet to send [00:17:27]OFD Sender: No OFD packet to send [00:17:32]OFD Sender: No OFD packet to send [00:17:37]OFD Sender: No OFD packet to send [00:17:42]OFD Sender: No OFD packet to send [00:17:47]OFD Sender: No OFD packet to send [00:17:52]OFD Sender: No OFD packet to send [00:17:57]OFD Sender: No OFD packet to send [00:18:02]OFD Sender: No OFD packet to send [00:18:07]OFD Sender: No OFD packet to send [00:18:12]OFD Sender: No OFD packet to send [00:18:17]OFD Sender: No OFD packet to send [00:18:22]OFD Sender: No OFD packet to send [00:18:27]OFD Sender: No OFD packet to send [00:18:32]OFD Sender: No OFD packet to send [00:18:37]OFD Sender: No OFD packet to send [00:18:42]OFD Sender: No OFD packet to send [00:18:47]OFD Sender: No OFD packet to send [00:18:52]OFD Sender: No OFD packet to send [00:18:57]OFD Sender: No OFD packet to send [00:19:02]OFD Sender: No OFD packet to send [00:19:07]OFD Sender: No OFD packet to send [00:19:12]OFD Sender: No OFD packet to send [00:19:17]OFD Sender: No OFD packet to send [00:19:22]OFD Sender: No OFD packet to send [00:19:27]OFD Sender: No OFD packet to send [00:19:32]OFD Sender: No OFD packet to send [00:19:37]OFD Sender: No OFD packet to send [00:19:42]OFD Sender: No OFD packet to send [00:19:47]OFD Sender: No OFD packet to send [00:19:52]OFD Sender: No OFD packet to send [00:19:57]OFD Sender: No OFD packet to send [00:20:02]OFD Sender: No OFD packet to send [00:20:07]OFD Sender: No OFD packet to send [00:20:12]OFD Sender: No OFD packet to send [00:20:17]OFD Sender: No OFD packet to send [00:20:22]OFD Sender: No OFD packet to send [00:20:27]OFD Sender: No OFD packet to send [00:20:32]OFD Sender: No OFD packet to send [00:20:37]OFD Sender: No OFD packet to send [00:20:42]OFD Sender: No OFD packet to send [00:20:47]OFD Sender: No OFD packet to send [00:20:52]OFD Sender: No OFD packet to send [00:20:57]OFD Sender: No OFD packet to send [00:21:02]OFD Sender: No OFD packet to send [00:21:07]OFD Sender: No OFD packet to send [00:21:12]OFD Sender: No OFD packet to send [00:21:17]OFD Sender: No OFD packet to send [00:21:22]OFD Sender: No OFD packet to send [00:21:27]OFD Sender: No OFD packet to send [00:21:32]OFD Sender: No OFD packet to send [00:21:37]OFD Sender: No OFD packet to send [00:21:42]OFD Sender: No OFD packet to send [00:21:47]OFD Sender: No OFD packet to send [00:21:52]OFD Sender: No OFD packet to send [00:21:57]OFD Sender: No OFD packet to send [00:22:02]OFD Sender: No OFD packet to send [00:22:07]OFD Sender: No OFD packet to send [00:22:12]OFD Sender: No OFD packet to send [00:22:17]OFD Sender: No OFD packet to send [00:22:22]OFD Sender: No OFD packet to send [00:22:27]OFD Sender: No OFD packet to send [00:22:32]OFD Sender: No OFD packet to send [00:22:37]OFD Sender: No OFD packet to send [00:22:42]OFD Sender: No OFD packet to send [00:22:47]OFD Sender: No OFD packet to send [00:22:52]OFD Sender: No OFD packet to send [00:22:57]OFD Sender: No OFD packet to send [00:23:02]OFD Sender: No OFD packet to send [00:23:07]OFD Sender: No OFD packet to send [00:23:12]OFD Sender: No OFD packet to send [00:23:17]OFD Sender: No OFD packet to send [00:23:22]OFD Sender: No OFD packet to send [00:23:27]OFD Sender: No OFD packet to send [00:23:32]OFD Sender: No OFD packet to send [00:23:37]OFD Sender: No OFD packet to send [00:23:42]OFD Sender: No OFD packet to send [00:23:47]OFD Sender: No OFD packet to send [00:23:52]OFD Sender: No OFD packet to send [00:23:57]OFD Sender: No OFD packet to send [00:24:02]OFD Sender: No OFD packet to send [00:24:07]OFD Sender: No OFD packet to send [00:24:12]OFD Sender: No OFD packet to send [00:24:17]OFD Sender: No OFD packet to send [00:24:22]OFD Sender: No OFD packet to send [00:24:27]OFD Sender: No OFD packet to send [00:24:32]OFD Sender: No OFD packet to send [00:24:37]OFD Sender: No OFD packet to send [00:24:42]OFD Sender: No OFD packet to send [00:24:47]OFD Sender: No OFD packet to send [00:24:52]OFD Sender: No OFD packet to send [00:24:57]OFD Sender: No OFD packet to send [00:25:02]OFD Sender: No OFD packet to send [00:25:07]OFD Sender: No OFD packet to send [00:25:12]OFD Sender: No OFD packet to send [00:25:17]OFD Sender: No OFD packet to send [00:25:22]OFD Sender: No OFD packet to send [00:25:27]OFD Sender: No OFD packet to send [00:25:32]OFD Sender: No OFD packet to send [00:25:37]OFD Sender: No OFD packet to send [00:25:42]OFD Sender: No OFD packet to send [00:25:47]OFD Sender: No OFD packet to send [00:25:52]OFD Sender: No OFD packet to send [00:25:57]OFD Sender: No OFD packet to send [00:26:02]OFD Sender: No OFD packet to send [00:26:07]OFD Sender: No OFD packet to send [00:26:12]OFD Sender: No OFD packet to send [00:26:17]OFD Sender: No OFD packet to send [00:26:22]OFD Sender: No OFD packet to send [00:26:27]OFD Sender: No OFD packet to send [00:26:32]OFD Sender: No OFD packet to send [00:26:37]OFD Sender: No OFD packet to send [00:26:42]OFD Sender: No OFD packet to send [00:26:47]OFD Sender: No OFD packet to send [00:26:52]OFD Sender: No OFD packet to send [00:26:57]OFD Sender: No OFD packet to send [00:27:02]OFD Sender: No OFD packet to send [00:27:07]OFD Sender: No OFD packet to send [00:27:12]OFD Sender: No OFD packet to send [00:27:17]OFD Sender: No OFD packet to send [00:27:22]OFD Sender: No OFD packet to send [00:27:27]OFD Sender: No OFD packet to send [00:27:32]OFD Sender: No OFD packet to send [00:27:37]OFD Sender: No OFD packet to send [00:27:42]OFD Sender: No OFD packet to send [00:27:47]OFD Sender: No OFD packet to send [00:27:52]OFD Sender: No OFD packet to send [00:27:57]OFD Sender: No OFD packet to send [00:28:02]OFD Sender: No OFD packet to send [00:28:07]OFD Sender: No OFD packet to send [00:28:12]OFD Sender: No OFD packet to send [00:28:17]OFD Sender: No OFD packet to send [00:28:22]OFD Sender: No OFD packet to send [00:28:27]OFD Sender: No OFD packet to send [00:28:32]OFD Sender: No OFD packet to send [00:28:37]OFD Sender: No OFD packet to send [00:28:42]OFD Sender: No OFD packet to send [00:28:47]OFD Sender: No OFD packet to send [00:28:52]OFD Sender: No OFD packet to send [00:28:57]OFD Sender: No OFD packet to send [00:29:02]OFD Sender: No OFD packet to send [00:29:07]OFD Sender: No OFD packet to send [00:29:12]OFD Sender: No OFD packet to send [00:29:17]OFD Sender: No OFD packet to send [00:29:22]OFD Sender: No OFD packet to send [00:29:27]OFD Sender: No OFD packet to send [00:29:32]OFD Sender: No OFD packet to send [00:29:37]OFD Sender: No OFD packet to send [00:29:42]OFD Sender: No OFD packet to send [00:29:47]OFD Sender: No OFD packet to send [00:29:52]OFD Sender: No OFD packet to send [00:29:57]OFD Sender: No OFD packet to send [00:30:02]OFD Sender: No OFD packet to send [00:30:07]OFD Sender: No OFD packet to send [00:30:12]OFD Sender: No OFD packet to send [00:30:17]OFD Sender: No OFD packet to send [00:30:22]OFD Sender: No OFD packet to send [00:30:27]OFD Sender: No OFD packet to send [00:30:32]OFD Sender: No OFD packet to send [00:30:37]OFD Sender: No OFD packet to send [00:30:42]OFD Sender: No OFD packet to send [00:30:47]OFD Sender: No OFD packet to send [00:30:52]OFD Sender: No OFD packet to send [00:30:57]OFD Sender: No OFD packet to send [00:31:02]OFD Sender: No OFD packet to send [00:31:07]OFD Sender: No OFD packet to send [00:31:12]OFD Sender: No OFD packet to send [00:31:17]OFD Sender: No OFD packet to send [00:31:22]OFD Sender: No OFD packet to send [00:31:27]OFD Sender: No OFD packet to send [00:31:32]OFD Sender: No OFD packet to send [00:31:37]OFD Sender: No OFD packet to send [00:31:42]OFD Sender: No OFD packet to send [00:31:47]OFD Sender: No OFD packet to send [00:31:52]OFD Sender: No OFD packet to send [00:31:57]OFD Sender: No OFD packet to send [00:32:02]OFD Sender: No OFD packet to send [00:32:07]OFD Sender: No OFD packet to send [00:32:12]OFD Sender: No OFD packet to send [00:32:17]OFD Sender: No OFD packet to send [00:32:22]OFD Sender: No OFD packet to send [00:32:27]OFD Sender: No OFD packet to send [00:32:32]OFD Sender: No OFD packet to send [00:32:37]OFD Sender: No OFD packet to send [00:32:42]OFD Sender: No OFD packet to send [00:32:47]OFD Sender: No OFD packet to send [00:32:52]OFD Sender: No OFD packet to send [00:32:57]OFD Sender: No OFD packet to send [00:33:02]OFD Sender: No OFD packet to send [00:33:07]OFD Sender: No OFD packet to send [00:33:12]OFD Sender: No OFD packet to send [00:33:17]OFD Sender: No OFD packet to send [00:33:22]OFD Sender: No OFD packet to send [00:33:27]OFD Sender: No OFD packet to send [00:33:32]OFD Sender: No OFD packet to send [00:33:37]OFD Sender: No OFD packet to send [00:33:42]OFD Sender: No OFD packet to send [00:33:47]OFD Sender: No OFD packet to send [00:33:52]OFD Sender: No OFD packet to send [00:33:57]OFD Sender: No OFD packet to send [00:34:02]OFD Sender: No OFD packet to send [00:34:07]OFD Sender: No OFD packet to send [00:34:12]OFD Sender: No OFD packet to send [00:34:17]OFD Sender: No OFD packet to send [00:34:22]OFD Sender: No OFD packet to send [00:34:27]OFD Sender: No OFD packet to send [00:34:32]OFD Sender: No OFD packet to send [00:34:37]OFD Sender: No OFD packet to send [00:34:42]OFD Sender: No OFD packet to send [00:34:47]OFD Sender: No OFD packet to send [00:34:52]OFD Sender: No OFD packet to send [00:34:57]OFD Sender: No OFD packet to send [00:35:02]OFD Sender: No OFD packet to send [00:35:07]OFD Sender: No OFD packet to send [00:35:12]OFD Sender: No OFD packet to send [00:35:17]OFD Sender: No OFD packet to send [00:35:22]OFD Sender: No OFD packet to send [00:35:27]OFD Sender: No OFD packet to send [00:35:32]OFD Sender: No OFD packet to send [00:35:37]OFD Sender: No OFD packet to send [00:35:42]OFD Sender: No OFD packet to send [00:35:47]OFD Sender: No OFD packet to send [00:35:52]OFD Sender: No OFD packet to send [00:35:57]OFD Sender: No OFD packet to send [00:36:02]OFD Sender: No OFD packet to send [00:36:07]OFD Sender: No OFD packet to send [00:36:12]OFD Sender: No OFD packet to send [00:36:17]OFD Sender: No OFD packet to send [00:36:22]OFD Sender: No OFD packet to send [00:36:27]OFD Sender: No OFD packet to send [00:36:32]OFD Sender: No OFD packet to send [00:36:37]OFD Sender: No OFD packet to send [00:36:42]OFD Sender: No OFD packet to send [00:36:47]OFD Sender: No OFD packet to send [00:36: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:48]OFD Sender: No OFD packet to send [00:37:53]OFD Sender: No OFD packet to send [00:37:58]OFD Sender: No OFD packet to send [00:38:03]OFD Sender: No OFD packet to send [00:38:08]OFD Sender: No OFD packet to send [00:38:13]OFD Sender: No OFD packet to send [00:38:18]OFD Sender: No OFD packet to send [00:38:23]OFD Sender: No OFD packet to send [00:38:28]OFD Sender: No OFD packet to send [00:38:33]OFD Sender: No OFD packet to send [00:38:38]OFD Sender: No OFD packet to send [00:38:43]OFD Sender: No OFD packet to send [00:38:48]OFD Sender: No OFD packet to send [00:38:53]OFD Sender: No OFD packet to send [00:38:58]OFD Sender: No OFD packet to send [00:39:03]OFD Sender: No OFD packet to send [00:39:08]OFD Sender: No OFD packet to send [00:39:13]OFD Sender: No OFD packet to send [00:39:18]OFD Sender: No OFD packet to send [00:39:23]OFD Sender: No OFD packet to send [00:39:28]OFD Sender: No OFD packet to send [00:39:33]OFD Sender: No OFD packet to send [00:39:38]OFD Sender: No OFD packet to send [00:39:43]OFD Sender: No OFD packet to send [00:39:48]OFD Sender: No OFD packet to send [00:39:53]OFD Sender: No OFD packet to send [00:39:58]OFD Sender: No OFD packet to send [00:40:03]OFD Sender: No OFD packet to send [00:40:08]OFD Sender: No OFD packet to send [00:40:13]OFD Sender: No OFD packet to send [00:40:18]OFD Sender: No OFD packet to send [00:40:23]OFD Sender: No OFD packet to send [00:40:28]OFD Sender: No OFD packet to send [00:40:33]OFD Sender: No OFD packet to send [00:40:38]OFD Sender: No OFD packet to send [00:40:43]OFD Sender: No OFD packet to send [00:40:48]OFD Sender: No OFD packet to send [00:40:53]OFD Sender: No OFD packet to send [00:40:58]OFD Sender: No OFD packet to send [00:41:03]OFD Sender: No OFD packet to send [00:41:08]OFD Sender: No OFD packet to send [00:41:13]OFD Sender: No OFD packet to send [00:41:18]OFD Sender: No OFD packet to send [00:41:23]OFD Sender: No OFD packet to send [00:41:28]OFD Sender: No OFD packet to send [00:41:33]OFD Sender: No OFD packet to send [00:41:38]OFD Sender: No OFD packet to send [00:41:43]OFD Sender: No OFD packet to send [00:41:48]OFD Sender: No OFD packet to send [00:41:53]OFD Sender: No OFD packet to send [00:41:58]OFD Sender: No OFD packet to send [00:42:03]OFD Sender: No OFD packet to send [00:42:08]OFD Sender: No OFD packet to send [00:42:13]OFD Sender: No OFD packet to send [00:42:18]OFD Sender: No OFD packet to send [00:42:23]OFD Sender: No OFD packet to send [00:42:28]OFD Sender: No OFD packet to send [00:42:33]OFD Sender: No OFD packet to send [00:42:38]OFD Sender: No OFD packet to send [00:42:43]OFD Sender: No OFD packet to send [00:42:48]OFD Sender: No OFD packet to send [00:42:53]OFD Sender: No OFD packet to send [00:42:58]OFD Sender: No OFD packet to send [00:43:03]OFD Sender: No OFD packet to send [00:43:08]OFD Sender: No OFD packet to send [00:43:13]OFD Sender: No OFD packet to send [00:43:18]OFD Sender: No OFD packet to send [00:43:23]OFD Sender: No OFD packet to send [00:43:28]OFD Sender: No OFD packet to send [00:43:33]OFD Sender: No OFD packet to send [00:43:38]OFD Sender: No OFD packet to send [00:43:43]OFD Sender: No OFD packet to send [00:43:48]OFD Sender: No OFD packet to send [00:43:53]OFD Sender: No OFD packet to send [00:43:58]OFD Sender: No OFD packet to send [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:33]OFD Sender: No OFD packet to send [00:48:38]OFD Sender: No OFD packet to send [00:48:43]OFD Sender: No OFD packet to send [00:48:48]OFD Sender: No OFD packet to send [00:48:53]OFD Sender: No OFD packet to send [00:48:58]OFD Sender: No OFD packet to send [00:49:03]OFD Sender: No OFD packet to send [00:49:08]OFD Sender: No OFD packet to send [00:49:13]OFD Sender: No OFD packet to send [00:49:18]OFD Sender: No OFD packet to send [00:49:23]OFD Sender: No OFD packet to send [00:49:28]OFD Sender: No OFD packet to send [00:49:33]OFD Sender: No OFD packet to send [00:49:38]OFD Sender: No OFD packet to send [00:49:43]OFD Sender: No OFD packet to send [00:49:48]OFD Sender: No OFD packet to send [00:49:53]OFD Sender: No OFD packet to send [00:49:58]OFD Sender: No OFD packet to send [00:50:03]OFD Sender: No OFD packet to send [00:50:08]OFD Sender: No OFD packet to send [00:50:13]OFD Sender: No OFD packet to send [00:50:18]OFD Sender: No OFD packet to send [00:50:23]OFD Sender: No OFD packet to send [00:50:28]OFD Sender: No OFD packet to send [00:50:33]OFD Sender: No OFD packet to send [00:50:38]OFD Sender: No OFD packet to send [00:50:43]OFD Sender: No OFD packet to send [00:50:48]OFD Sender: No OFD packet to send [00:50:53]OFD Sender: No OFD packet to send [00:50:58]OFD Sender: No OFD packet to send [00:51:03]OFD Sender: No OFD packet to send [00:51:08]OFD Sender: No OFD packet to send [00:51:13]OFD Sender: No OFD packet to send [00:51:18]OFD Sender: No OFD packet to send [00:51:23]OFD Sender: No OFD packet to send [00:51:28]OFD Sender: No OFD packet to send [00:51:33]OFD Sender: No OFD packet to send [00:51:38]OFD Sender: No OFD packet to send [00:51:43]OFD Sender: No OFD packet to send [00:51:48]OFD Sender: No OFD packet to send [00:51:53]OFD Sender: No OFD packet to send [00:51:58]OFD Sender: No OFD packet to send [00:52:03]OFD Sender: No OFD packet to send [00:52:08]OFD Sender: No OFD packet to send [00:52:13]OFD Sender: No OFD packet to send [00:52:18]OFD Sender: No OFD packet to send [00:52:23]OFD Sender: No OFD packet to send [00:52:28]OFD Sender: No OFD packet to send [00:52:33]OFD Sender: No OFD packet to send [00:52:38]OFD Sender: No OFD packet to send [00:52:43]OFD Sender: No OFD packet to send [00:52:48]OFD Sender: No OFD packet to send [00:52:53]OFD Sender: No OFD packet to send [00:52:58]OFD Sender: No OFD packet to send [00:53:03]OFD Sender: No OFD packet to send [00:53:08]OFD Sender: No OFD packet to send [00:53:13]OFD Sender: No OFD packet to send [00:53:18]OFD Sender: No OFD packet to send [00:53:23]OFD Sender: No OFD packet to send [00:53:28]OFD Sender: No OFD packet to send [00:53:33]OFD Sender: No OFD packet to send [00:53:38]OFD Sender: No OFD packet to send [00:53:43]OFD Sender: No OFD packet to send [00:53:48]OFD Sender: No OFD packet to send [00:53:53]OFD Sender: No OFD packet to send [00:53:58]OFD Sender: No OFD packet to send [00:54:03]OFD Sender: No OFD packet to send [00:54:08]OFD Sender: No OFD packet to send [00:54:13]OFD Sender: No OFD packet to send [00:54:18]OFD Sender: No OFD packet to send [00:54:23]OFD Sender: No OFD packet to send [00:54:28]OFD Sender: No OFD packet to send [00:54:33]OFD Sender: No OFD packet to send [00:54:38]OFD Sender: No OFD packet to send [00:54:43]OFD Sender: No OFD packet to send [00:54:48]OFD Sender: No OFD packet to send [00:54:53]OFD Sender: No OFD packet to send [00:54:58]OFD Sender: No OFD packet to send [00:55:03]OFD Sender: No OFD packet to send [00:55:08]OFD Sender: No OFD packet to send [00:55:13]OFD Sender: No OFD packet to send [00:55:18]OFD Sender: No OFD packet to send [00:55:23]OFD Sender: No OFD packet to send [00:55:28]OFD Sender: No OFD packet to send [00:55:33]OFD Sender: No OFD packet to send [00:55:38]OFD Sender: No OFD packet to send [00:55:43]OFD Sender: No OFD packet to send [00:55:48]OFD Sender: No OFD packet to send [00:55:53]OFD Sender: No OFD packet to send [00:55:58]OFD Sender: No OFD packet to send [00:56:03]OFD Sender: No OFD packet to send [00:56:08]OFD Sender: No OFD packet to send [00:56:13]OFD Sender: No OFD packet to send [00:56:18]OFD Sender: No OFD packet to send [00:56:23]OFD Sender: No OFD packet to send [00:56:28]OFD Sender: No OFD packet to send [00:56:33]OFD Sender: No OFD packet to send [00:56:38]OFD Sender: No OFD packet to send [00:56:43]OFD Sender: No OFD packet to send [00:56:48]OFD Sender: No OFD packet to send [00:56:53]OFD Sender: No OFD packet to send [00:56:58]OFD Sender: No OFD packet to send [00:57:03]OFD Sender: No OFD packet to send [00:57:08]OFD Sender: No OFD packet to send [00:57:13]OFD Sender: No OFD packet to send [00:57:18]OFD Sender: No OFD packet to send [00:57:23]OFD Sender: No OFD packet to send [00:57:28]OFD Sender: No OFD packet to send [00:57:33]OFD Sender: No OFD packet to send [00:57:38]OFD Sender: No OFD packet to send [00:57:43]OFD Sender: No OFD packet to send [00:57:48]OFD Sender: No OFD packet to send [00:57:53]OFD Sender: No OFD packet to send [00:57:58]OFD Sender: No OFD packet to send [00:58:03]OFD Sender: No OFD packet to send [00:58:08]OFD Sender: No OFD packet to send [00:58:13]OFD Sender: No OFD packet to send [00:58:18]OFD Sender: No OFD packet to send [00:58:23]OFD Sender: No OFD packet to send [00:58:28]OFD Sender: No OFD packet to send [00:58:33]OFD Sender: No OFD packet to send [00:58:38]OFD Sender: No OFD packet to send [00:58:43]OFD Sender: No OFD packet to send [00:58:48]OFD Sender: No OFD packet to send [00:58:53]OFD Sender: No OFD packet to send [00:58:58]OFD Sender: No OFD packet to send [00:59:03]OFD Sender: No OFD packet to send [00:59:08]OFD Sender: No OFD packet to send [00:59:13]OFD Sender: No OFD packet to send [00:59: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:44]OFD Sender: No OFD packet to send [00:59:49]OFD Sender: No OFD packet to send [00:59:54]OFD Sender: No OFD packet to send [00:59:59]OFD Sender: No OFD packet to send [01:00:04]OFD Sender: No OFD packet to send [01:00:09]OFD Sender: No OFD packet to send [01:00:14]OFD Sender: No OFD packet to send [01:00:19]OFD Sender: No OFD packet to send [01:00:24]OFD Sender: No OFD packet to send [01:00:29]OFD Sender: No OFD packet to send [01:00:34]OFD Sender: No OFD packet to send [01:00:39]OFD Sender: No OFD packet to send [01:00:44]OFD Sender: No OFD packet to send [01:00:49]OFD Sender: No OFD packet to send [01:00:54]OFD Sender: No OFD packet to send [01:00:59]OFD Sender: No OFD packet to send [01:01:04]OFD Sender: No OFD packet to send [01:01:09]OFD Sender: No OFD packet to send [01:01:14]OFD Sender: No OFD packet to send [01:01:19]OFD Sender: No OFD packet to send [01:01:24]OFD Sender: No OFD packet to send [01:01:29]OFD Sender: No OFD packet to send [01:01:34]OFD Sender: No OFD packet to send [01:01:39]OFD Sender: No OFD packet to send [01:01:44]OFD Sender: No OFD packet to send [01:01:49]OFD Sender: No OFD packet to send [01:01:54]OFD Sender: No OFD packet to send [01:01:59]OFD Sender: No OFD packet to send [01:02:04]OFD Sender: No OFD packet to send [01:02:09]OFD Sender: No OFD packet to send [01:02:14]OFD Sender: No OFD packet to send [01:02:19]OFD Sender: No OFD packet to send [01:02:24]OFD Sender: No OFD packet to send [01:02:29]OFD Sender: No OFD packet to send [01:02:34]OFD Sender: No OFD packet to send [01:02:39]OFD Sender: No OFD packet to send [01:02:44]OFD Sender: No OFD packet to send [01:02:49]OFD Sender: No OFD packet to send [01:02:54]OFD Sender: No OFD packet to send [01:02:59]OFD Sender: No OFD packet to send [01:03:04]OFD Sender: No OFD packet to send [01:03:09]OFD Sender: No OFD packet to send [01:03:14]OFD Sender: No OFD packet to send [01:03:19]OFD Sender: No OFD packet to send [01:03:24]OFD Sender: No OFD packet to send [01:03:29]OFD Sender: No OFD packet to send [01:03:34]OFD Sender: No OFD packet to send [01:03:39]OFD Sender: No OFD packet to send [01:03:44]OFD Sender: No OFD packet to send [01:03:49]OFD Sender: No OFD packet to send [01:03:54]OFD Sender: No OFD packet to send [01:03:59]OFD Sender: No OFD packet to send [01:04:04]OFD Sender: No OFD packet to send [01:04:09]OFD Sender: No OFD packet to send [01:04:14]OFD Sender: No OFD packet to send [01:04:19]OFD Sender: No OFD packet to send [01:04:24]OFD Sender: No OFD packet to send [01:04:29]OFD Sender: No OFD packet to send [01:04:34]OFD Sender: No OFD packet to send [01:04:39]OFD Sender: No OFD packet to send [01:04:44]OFD Sender: No OFD packet to send [01:04:49]OFD Sender: No OFD packet to send [01:04:54]OFD Sender: No OFD packet to send [01:04:59]OFD Sender: No OFD packet to send [01:05:04]OFD Sender: No OFD packet to send [01:05:09]OFD Sender: No OFD packet to send [01:05:14]OFD Sender: No OFD packet to send [01:05:19]OFD Sender: No OFD packet to send [01:05:24]OFD Sender: No OFD packet to send [01:05:29]OFD Sender: No OFD packet to send [01:05:34]OFD Sender: No OFD packet to send [01:05:39]OFD Sender: No OFD packet to send [01:05:44]OFD Sender: No OFD packet to send [01:05:49]OFD Sender: No OFD packet to send [01:05:54]OFD Sender: No OFD packet to send [01:05:59]OFD Sender: No OFD packet to send [01:06:04]OFD Sender: No OFD packet to send [01:06:09]OFD Sender: No OFD packet to send [01:06:14]OFD Sender: No OFD packet to send [01:06:19]OFD Sender: No OFD packet to send [01:06:24]OFD Sender: No OFD packet to send [01:06:29]OFD Sender: No OFD packet to send [01:06:34]OFD Sender: No OFD packet to send [01:06:39]OFD Sender: No OFD packet to send [01:06:44]OFD Sender: No OFD packet to send [01:06:49]OFD Sender: No OFD packet to send [01:06:54]OFD Sender: No OFD packet to send [01:06:59]OFD Sender: No OFD packet to send [01:07:04]OFD Sender: No OFD packet to send [01:07:09]OFD Sender: No OFD packet to send [01:07:14]OFD Sender: No OFD packet to send [01:07:19]OFD Sender: No OFD packet to send [01:07:24]OFD Sender: No OFD packet to send [01:07:29]OFD Sender: No OFD packet to send [01:07:34]OFD Sender: No OFD packet to send [01:07:39]OFD Sender: No OFD packet to send [01:07:44]OFD Sender: No OFD packet to send [01:07:49]OFD Sender: No OFD packet to send [01:07:54]OFD Sender: No OFD packet to send [01:07:59]OFD Sender: No OFD packet to send [01:08:04]OFD Sender: No OFD packet to send [01:08:09]OFD Sender: No OFD packet to send [01:08:14]OFD Sender: No OFD packet to send [01:08:19]OFD Sender: No OFD packet to send [01:08:24]OFD Sender: No OFD packet to send [01:08:29]OFD Sender: No OFD packet to send [01:08:34]OFD Sender: No OFD packet to send [01:08:39]OFD Sender: No OFD packet to send [01:08:44]OFD Sender: No OFD packet to send [01:08:49]OFD Sender: No OFD packet to send [01:08:54]OFD Sender: No OFD packet to send [01:08:59]OFD Sender: No OFD packet to send [01:09:04]OFD Sender: No OFD packet to send [01:09:09]OFD Sender: No OFD packet to send [01:09:14]OFD Sender: No OFD packet to send [01:09:19]OFD Sender: No OFD packet to send [01:09:24]OFD Sender: No OFD packet to send [01:09:29]OFD Sender: No OFD packet to send [01:09:34]OFD Sender: No OFD packet to send [01:09:39]OFD Sender: No OFD packet to send [01:09:44]OFD Sender: No OFD packet to send [01:09:49]OFD Sender: No OFD packet to send [01:09:54]OFD Sender: No OFD packet to send [01:09:59]OFD Sender: No OFD packet to send [01:10:04]OFD Sender: No OFD packet to send [01:10:09]OFD Sender: No OFD packet to send [01:10:14]OFD Sender: No OFD packet to send [01:10:19]OFD Sender: No OFD packet to send [01:10:24]OFD Sender: No OFD packet to send [01:10:29]OFD Sender: No OFD packet to send [01:10:34]OFD Sender: No OFD packet to send [01:10:39]OFD Sender: No OFD packet to send [01:10:44]OFD Sender: No OFD packet to send [01:10:49]OFD Sender: No OFD packet to send [01:10:54]OFD Sender: No OFD packet to send [01:10:59]OFD Sender: No OFD packet to send [01:11:04]OFD Sender: No OFD packet to send [01:11:09]OFD Sender: No OFD packet to send [01:11:14]OFD Sender: No OFD packet to send [01:11:19]OFD Sender: No OFD packet to send [01:11:24]OFD Sender: No OFD packet to send [01:11:29]OFD Sender: No OFD packet to send [01:11:34]OFD Sender: No OFD packet to send [01:11:39]OFD Sender: No OFD packet to send [01:11:44]OFD Sender: No OFD packet to send [01:11:49]OFD Sender: No OFD packet to send [01:11:54]OFD Sender: No OFD packet to send [01:11:59]OFD Sender: No OFD packet to send [01:12:04]OFD Sender: No OFD packet to send [01:12:09]OFD Sender: No OFD packet to send [01:12:14]OFD Sender: No OFD packet to send [01:12:19]OFD Sender: No OFD packet to send [01:12:24]OFD Sender: No OFD packet to send [01:12:29]OFD Sender: No OFD packet to send [01:12:34]OFD Sender: No OFD packet to send [01:12:39]OFD Sender: No OFD packet to send [01:12:44]OFD Sender: No OFD packet to send [01:12:49]OFD Sender: No OFD packet to send [01:12:54]OFD Sender: No OFD packet to send [01:12:59]OFD Sender: No OFD packet to send [01:13:04]OFD Sender: No OFD packet to send [01:13:09]OFD Sender: No OFD packet to send [01:13:14]OFD Sender: No OFD packet to send [01:13:19]OFD Sender: No OFD packet to send [01:13:24]OFD Sender: No OFD packet to send [01:13:29]OFD Sender: No OFD packet to send [01:13:34]OFD Sender: No OFD packet to send [01:13:39]OFD Sender: No OFD packet to send [01:13:44]OFD Sender: No OFD packet to send [01:13:49]OFD Sender: No OFD packet to send [01:13:54]OFD Sender: No OFD packet to send [01:13:59]OFD Sender: No OFD packet to send [01:14:04]OFD Sender: No OFD packet to send [01:14:09]OFD Sender: No OFD packet to send [01:14:14]OFD Sender: No OFD packet to send [01:14:19]OFD Sender: No OFD packet to send [01:14:24]OFD Sender: No OFD packet to send [01:14:29]OFD Sender: No OFD packet to send [01:14:34]OFD Sender: No OFD packet to send [01:14:39]OFD Sender: No OFD packet to send [01:14:44]OFD Sender: No OFD packet to send [01:14:49]OFD Sender: No OFD packet to send [01:14:54]OFD Sender: No OFD packet to send [01:14:59]OFD Sender: No OFD packet to send [01:15:04]OFD Sender: No OFD packet to send [01:15:09]OFD Sender: No OFD packet to send [01:15:14]OFD Sender: No OFD packet to send [01:15:19]OFD Sender: No OFD packet to send [01:15:24]OFD Sender: No OFD packet to send [01:15:29]OFD Sender: No OFD packet to send [01:15:34]OFD Sender: No OFD packet to send [01:15:39]OFD Sender: No OFD packet to send [01:15:44]OFD Sender: No OFD packet to send [01:15:49]OFD Sender: No OFD packet to send [01:15:54]OFD Sender: No OFD packet to send [01:15:59]OFD Sender: No OFD packet to send [01:16:04]OFD Sender: No OFD packet to send [01:16:09]OFD Sender: No OFD packet to send [01:16:14]OFD Sender: No OFD packet to send [01:16:19]OFD Sender: No OFD packet to send [01:16:24]OFD Sender: No OFD packet to send [01:16:29]OFD Sender: No OFD packet to send [01:16:34]OFD Sender: No OFD packet to send [01:16:39]OFD Sender: No OFD packet to send [01:16:44]OFD Sender: No OFD packet to send [01:16:49]OFD Sender: No OFD packet to send [01:16:54]OFD Sender: No OFD packet to send [01:16:59]OFD Sender: No OFD packet to send [01:17:04]OFD Sender: No OFD packet to send [01:17:09]OFD Sender: No OFD packet to send [01:17:14]OFD Sender: No OFD packet to send [01:17:19]OFD Sender: No OFD packet to send [01:17:24]OFD Sender: No OFD packet to send [01:17:29]OFD Sender: No OFD packet to send [01:17:34]OFD Sender: No OFD packet to send [01:17:39]OFD Sender: No OFD packet to send [01:17:44]OFD Sender: No OFD packet to send [01:17:49]OFD Sender: No OFD packet to send [01:17:54]OFD Sender: No OFD packet to send [01:17:59]OFD Sender: No OFD packet to send [01:18:04]OFD Sender: No OFD packet to send [01:18:09]OFD Sender: No OFD packet to send [01:18:14]OFD Sender: No OFD packet to send [01:18:19]OFD Sender: No OFD packet to send [01:18:24]OFD Sender: No OFD packet to send [01:18:29]OFD Sender: No OFD packet to send [01:18:34]OFD Sender: No OFD packet to send [01:18:39]OFD Sender: No OFD packet to send [01:18:44]OFD Sender: No OFD packet to send [01:18:49]OFD Sender: No OFD packet to send [01:18:54]OFD Sender: No OFD packet to send [01:18:59]OFD Sender: No OFD packet to send [01:19:04]OFD Sender: No OFD packet to send [01:19:09]OFD Sender: No OFD packet to send [01:19:14]OFD Sender: No OFD packet to send [01:19:19]OFD Sender: No OFD packet to send [01:19:24]OFD Sender: No OFD packet to send [01:19:29]OFD Sender: No OFD packet to send [01:19:34]OFD Sender: No OFD packet to send [01:19:39]OFD Sender: No OFD packet to send [01:19:44]OFD Sender: No OFD packet to send [01:19:49]OFD Sender: No OFD packet to send [01:19:54]OFD Sender: No OFD packet to send [01:19:59]OFD Sender: No OFD packet to send [01:20:04]OFD Sender: No OFD packet to send [01:20:09]OFD Sender: No OFD packet to send [01:20:14]OFD Sender: No OFD packet to send [01:20:19]OFD Sender: No OFD packet to send [01:20:24]OFD Sender: No OFD packet to send [01:20:29]OFD Sender: No OFD packet to send [01:20:34]OFD Sender: No OFD packet to send [01:20:39]OFD Sender: No OFD packet to send [01:20:44]OFD Sender: No OFD packet to send [01:20:49]OFD Sender: No OFD packet to send [01:20: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:45]OFD Sender: No OFD packet to send [01:24:50]OFD Sender: No OFD packet to send [01:24:55]OFD Sender: No OFD packet to send [01:25:00]OFD Sender: No OFD packet to send [01:25:05]OFD Sender: No OFD packet to send [01:25:10]OFD Sender: No OFD packet to send [01:25:15]OFD Sender: No OFD packet to send [01:25:20]OFD Sender: No OFD packet to send [01:25:25]OFD Sender: No OFD packet to send [01:25:30]OFD Sender: No OFD packet to send [01:25:35]OFD Sender: No OFD packet to send [01:25:40]OFD Sender: No OFD packet to send [01:25:45]OFD Sender: No OFD packet to send [01:25:50]OFD Sender: No OFD packet to send [01:25:55]OFD Sender: No OFD packet to send [01:26:00]OFD Sender: No OFD packet to send [01:26:05]OFD Sender: No OFD packet to send [01:26:10]OFD Sender: No OFD packet to send [01:26:15]OFD Sender: No OFD packet to send [01:26:20]OFD Sender: No OFD packet to send [01:26:25]OFD Sender: No OFD packet to send [01:26:30]OFD Sender: No OFD packet to send [01:26:35]OFD Sender: No OFD packet to send [01:26:40]OFD Sender: No OFD packet to send [01:26:45]OFD Sender: No OFD packet to send [01:26:50]OFD Sender: No OFD packet to send [01:26:55]OFD Sender: No OFD packet to send [01:27:00]OFD Sender: No OFD packet to send [01:27:05]OFD Sender: No OFD packet to send [01:27:10]OFD Sender: No OFD packet to send [01:27:15]OFD Sender: No OFD packet to send [01:27:20]OFD Sender: No OFD packet to send [01:27:25]OFD Sender: No OFD packet to send [01:27:30]OFD Sender: No OFD packet to send [01:27:35]OFD Sender: No OFD packet to send [01:27:40]OFD Sender: No OFD packet to send [01:27:45]OFD Sender: No OFD packet to send [01:27:50]OFD Sender: No OFD packet to send [01:27:55]OFD Sender: No OFD packet to send [01:28:00]OFD Sender: No OFD packet to send [01:28:05]OFD Sender: No OFD packet to send [01:28:10]OFD Sender: No OFD packet to send [01:28:15]OFD Sender: No OFD packet to send [01:28:20]OFD Sender: No OFD packet to send [01:28:25]OFD Sender: No OFD packet to send [01:28:30]OFD Sender: No OFD packet to send [01:28:35]OFD Sender: No OFD packet to send [01:28:40]OFD Sender: No OFD packet to send [01:28:45]OFD Sender: No OFD packet to send [01:28:50]OFD Sender: No OFD packet to send [01:28:55]OFD Sender: No OFD packet to send [01:29:00]OFD Sender: No OFD packet to send [01:29:05]OFD Sender: No OFD packet to send [01:29:10]OFD Sender: No OFD packet to send [01:29:15]OFD Sender: No OFD packet to send [01:29:20]OFD Sender: No OFD packet to send [01:29:25]OFD Sender: No OFD packet to send [01:29:30]OFD Sender: No OFD packet to send [01:29:35]OFD Sender: No OFD packet to send [01:29:40]OFD Sender: No OFD packet to send [01:29:45]OFD Sender: No OFD packet to send [01:29:50]OFD Sender: No OFD packet to send [01:29:55]OFD Sender: No OFD packet to send [01:30:00]OFD Sender: No OFD packet to send [01:30:05]OFD Sender: No OFD packet to send [01:30:10]OFD Sender: No OFD packet to send [01:30:15]OFD Sender: No OFD packet to send [01:30:20]OFD Sender: No OFD packet to send [01:30:25]OFD Sender: No OFD packet to send [01:30:30]OFD Sender: No OFD packet to send [01:30:35]OFD Sender: No OFD packet to send [01:30:40]OFD Sender: No OFD packet to send [01:30:45]OFD Sender: No OFD packet to send [01:30:50]OFD Sender: No OFD packet to send [01:30:55]OFD Sender: No OFD packet to send [01:31:00]OFD Sender: No OFD packet to send [01:31:05]OFD Sender: No OFD packet to send [01:31:10]OFD Sender: No OFD packet to send [01:31:15]OFD Sender: No OFD packet to send [01:31:20]OFD Sender: No OFD packet to send [01:31:25]OFD Sender: No OFD packet to send [01:31:30]OFD Sender: No OFD packet to send [01:31:35]OFD Sender: No OFD packet to send [01:31:40]OFD Sender: No OFD packet to send [01:31:45]OFD Sender: No OFD packet to send [01:31:50]OFD Sender: No OFD packet to send [01:31:55]OFD Sender: No OFD packet to send [01:32:00]OFD Sender: No OFD packet to send [01:32:05]OFD Sender: No OFD packet to send [01:32:10]OFD Sender: No OFD packet to send [01:32:15]OFD Sender: No OFD packet to send [01:32:20]OFD Sender: No OFD packet to send [01:32:25]OFD Sender: No OFD packet to send [01:32:30]OFD Sender: No OFD packet to send [01:32:35]OFD Sender: No OFD packet to send [01:32:40]OFD Sender: No OFD packet to send [01:32:45]OFD Sender: No OFD packet to send [01:32:50]OFD Sender: No OFD packet to send [01:32:55]OFD Sender: No OFD packet to send [01:33:00]OFD Sender: No OFD packet to send [01:33:05]OFD Sender: No OFD packet to send [01:33:10]OFD Sender: No OFD packet to send [01:33:15]OFD Sender: No OFD packet to send [01:33:20]OFD Sender: No OFD packet to send [01:33:25]OFD Sender: No OFD packet to send [01:33:30]OFD Sender: No OFD packet to send [01:33:35]OFD Sender: No OFD packet to send [01:33:40]OFD Sender: No OFD packet to send [01:33:45]OFD Sender: No OFD packet to send [01:33:50]OFD Sender: No OFD packet to send [01:33:55]OFD Sender: No OFD packet to send [01:34:00]OFD Sender: No OFD packet to send [01:34:05]OFD Sender: No OFD packet to send [01:34:10]OFD Sender: No OFD packet to send [01:34:15]OFD Sender: No OFD packet to send [01:34:20]OFD Sender: No OFD packet to send [01:34:25]OFD Sender: No OFD packet to send [01:34:30]OFD Sender: No OFD packet to send [01:34:35]OFD Sender: No OFD packet to send [01:34:40]OFD Sender: No OFD packet to send [01:34:45]OFD Sender: No OFD packet to send [01:34:50]OFD Sender: No OFD packet to send [01:34:55]OFD Sender: No OFD packet to send [01:35:00]OFD Sender: No OFD packet to send [01:35:05]OFD Sender: No OFD packet to send [01:35:10]OFD Sender: No OFD packet to send [01:35:15]OFD Sender: No OFD packet to send [01:35:20]OFD Sender: No OFD packet to send [01:35:25]OFD Sender: No OFD packet to send [01:35:30]OFD Sender: No OFD packet to send [01:35:35]OFD Sender: No OFD packet to send [01:35:40]OFD Sender: No OFD packet to send [01:35:45]OFD Sender: No OFD packet to send [01:35:50]OFD Sender: No OFD packet to send [01:35:55]OFD Sender: No OFD packet to send [01:36:00]OFD Sender: No OFD packet to send [01:36:05]OFD Sender: No OFD packet to send [01:36:10]OFD Sender: No OFD packet to send [01:36:15]OFD Sender: No OFD packet to send [01:36:20]OFD Sender: No OFD packet to send [01:36:25]OFD Sender: No OFD packet to send [01:36:30]OFD Sender: No OFD packet to send [01:36:35]OFD Sender: No OFD packet to send [01:36:40]OFD Sender: No OFD packet to send [01:36:45]OFD Sender: No OFD packet to send [01:36:50]OFD Sender: No OFD packet to send [01:36:55]OFD Sender: No OFD packet to send [01:37:00]OFD Sender: No OFD packet to send [01:37:05]OFD Sender: No OFD packet to send [01:37:10]OFD Sender: No OFD packet to send [01:37:15]OFD Sender: No OFD packet to send [01:37:20]OFD Sender: No OFD packet to send [01:37:25]OFD Sender: No OFD packet to send [01:37:30]OFD Sender: No OFD packet to send [01:37:35]OFD Sender: No OFD packet to send [01:37:40]OFD Sender: No OFD packet to send [01:37:45]OFD Sender: No OFD packet to send [01:37:50]OFD Sender: No OFD packet to send [01:37:55]OFD Sender: No OFD packet to send [01:38:00]OFD Sender: No OFD packet to send [01:38:05]OFD Sender: No OFD packet to send [01:38:10]OFD Sender: No OFD packet to send [01:38:15]OFD Sender: No OFD packet to send [01:38:20]OFD Sender: No OFD packet to send [01:38:25]OFD Sender: No OFD packet to send [01:38:30]OFD Sender: No OFD packet to send [01:38:30]accept exits with 9 [01:38:30]New connection [01:38:30]New thread 3067452772 created [01:38:30]Thread 3067596132 joined [01:38:30]Waiting for new connection... [01:38:30] Sock 9.Parse request [01:38:30]Sock 9.Check first char [01:38:30]Sock 9.First char is OK [01:38:30]request: POST /json_proto HTTP/1.0 [01:38:30]Method: POST [01:38:30]URL: /json_proto [01:38:30]Method is POST - this is cgi request [01:38:30]url: /json_proto [01:38:30]query_string will be loaded in cgi processing [01:38:30]execute_cgi json_proto POST (null) [01:38:30]execute_cgi path=json_proto method=POST [01:38:30]POST find Content-Length [01:38:30]Host: 172.17.50.4:8080 [01:38:30]Content-Length: 669 [01:38:30]Content-Type: application/json [01:38:30] [01:38:30]POST finish read [01:38:30]Found Content-Length = 669 [01:38:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134902", "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" ] } } [01:38:30]execute_script... [01:38: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)134902", "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" ] } } [01:38:30]POST & json_proto [01:38:30]process_json_proto [01:38:30]json parsed OK: [01:38:30]protocol is kg_v1.0 [01:38:30]action value=close_receipt [01:38:30]process_action close_receipt [01:38:30]cmd_close_receipt [01:38:30]MH_GetDate [01:38:30]Write to MH i2c: F0 00 00 D0 02 C1 [01:38:30]Write i2c OK [01:38:30]MH_I2C_Read... [01:38:30]Read from MH i2c: F0 [01:38:30]MH_I2C_Read... [01:38:30]Read from MH i2c: F0 09 00 [01:38:30]MH_I2C_Read... [01:38:30]Read from MH i2c: F0 09 00 D0 02 00 18 02 17 67 3B 12 16 67 2C [01:38:30]GetLastDocTimeStamp 1729556140 [01:38:30]current date 1729561112 [01:38:30]FM_GetShiftState [01:38:30]SAM_PROTO_GetShiftState [01:38:30]wFMCommunicate request_size=4 [01:38:30]MH_SAM_APDU [01:38:30]CAPDU: 80 13 01 00 [01:38:30]Write to MH i2c: E2 08 00 D1 02 80 13 01 00 00 00 00 00 50 [01:38:30]Write i2c OK [01:38:30]MH_I2C_Read... [01:38:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:38:31]Read from MH i2c: E2 [01:38:31]MH_I2C_Read... [01:38:31]Read from MH i2c: E2 0E 00 [01:38:31]MH_I2C_Read... [01:38:31]Read from MH i2c: E2 0E 00 D1 02 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 48 [01:38:31]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [01:38:31]wFMCommunicate OK [01:38:31]SAM_PROTO_GetShiftState done [01:38:31]FM_GetShiftState done [01:38:31]opened in 1729555332 [01:38:31]opened+sec_in_day 1729641732 [01:38:31]quantity*price = 8900 [01:38:31]sum+1 = 8901 [01:38:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 89.00 НСП 1% : 0.79 НДС 12% : 9.45 Наличными: 89.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 2 22.10.2024 01:38 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24383 ФПД: 53305526952816 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T013832&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24383&fm=53305526952816&tin=02508201610067®Number=0000000000098120&sum=8900 0 [01:38:32]StoreToDocumentArchive [01:38:32]shift 462 fd 24383 [01:38:32]save to /storage/0462/doc_00024383 [01:38:32]save last doc name /storage/0462/doc_00024383 to /storage/kkm_last_doc_name [01:38:32]save OK [01:38:32]Clear old archive folders... [01:38:32]ProcessDocumentItem done err = 0, tmpTLVsize=284 [01:38:32]tlvbuf is 00D70190 [01:38:32]SAM_PROTO_ClearQueue [01:38:32]wFMCommunicate request_size=4 [01:38:32]MH_SAM_APDU [01:38:32]CAPDU: 80 09 00 00 [01:38:32]Write to MH i2c: E2 08 00 DE 02 80 09 00 00 00 00 00 00 52 [01:38:32]Write i2c OK [01:38:32]MH_I2C_Read... [01:38:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:38:32]Read from MH i2c: E2 [01:38:32]MH_I2C_Read... [01:38:32]Read from MH i2c: E2 03 00 [01:38:32]MH_I2C_Read... [01:38:32]Read from MH i2c: E2 03 00 DE 02 00 90 00 54 [01:38:32]RAPDU: 90 00 [01:38:32]wFMCommunicate OK [01:38:32]SAM_PROTO_ClearQueue done [01:38:32]KKMCreateOFDPacket [01:38:32]OFDProtocolAddRootSTLVToBuf [01:38:32]FM_MakeSignedData [01:38:32]FM_MakeSignedData [01:38:32]SAM_PROTO_SignData [01:38:32]wFMCommunicate request_size=4 [01:38:32]MH_SAM_APDU [01:38:32]CAPDU: 80 0D 01 02 [01:38:32]Write to MH i2c: E2 08 00 DF 02 80 0D 01 02 00 00 00 00 5A [01:38:32]Write i2c OK [01:38:32]MH_I2C_Read... [01:38:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:38:32]Read from MH i2c: E2 [01:38:32]MH_I2C_Read... [01:38:32]Read from MH i2c: E2 03 00 [01:38:32]MH_I2C_Read... [01:38:32]Read from MH i2c: E2 03 00 DF 02 00 90 00 55 [01:38:32]RAPDU: 90 00 [01:38:32]wFMCommunicate OK [01:38:32]wFMCommunicate request_size=255 [01:38:32]MH_SAM_APDU [01:38:32]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 02 00 00 00 F4 03 04 00 18 02 17 67 0E 04 04 00 CE 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 32 30 [01:38:32]Write to MH i2c: E2 02 01 E0 02 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 02 00 00 00 F4 03 04 00 18 02 17 67 0E 04 04 00 CE 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 32 30 00 00 04 [01:38:32]Write i2c OK [01:38:32]MH_I2C_Read... [01:38:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:38:32]Read from MH i2c: E2 [01:38:32]MH_I2C_Read... [01:38:32]Read from MH i2c: E2 03 00 [01:38:32]MH_I2C_Read... [01:38:32]Read from MH i2c: E2 03 00 E0 02 00 90 00 56 [01:38:32]RAPDU: 90 00 [01:38:32]wFMCommunicate OK [01:38:32]wFMCommunicate request_size=43 [01:38:32]MH_SAM_APDU [01:38:32]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 3F 5F 00 00 35 04 06 00 30 7B 28 FF A3 70 [01:38:32]Write to MH i2c: E2 2E 00 E1 02 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 3F 5F 00 00 35 04 06 00 30 7B 28 FF A3 70 00 00 C2 [01:38:32]Write i2c OK [01:38:32]MH_I2C_Read... [01:38:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:38:32]Read from MH i2c: E2 [01:38:32]MH_I2C_Read... [01:38:32]Read from MH i2c: E2 03 00 [01:38:32]MH_I2C_Read... [01:38:32]Read from MH i2c: E2 03 00 E1 02 00 90 00 57 [01:38:32]RAPDU: 90 00 [01:38:32]wFMCommunicate OK [01:38:32]wFMCommunicate request_size=4 [01:38:32]MH_SAM_APDU [01:38:32]CAPDU: 80 0D 03 02 [01:38:32]Write to MH i2c: E2 08 00 E2 02 80 0D 03 02 00 00 00 00 5F [01:38:32]Write i2c OK [01:38:32]MH_I2C_Read... [01:38:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:38:32]Read from MH i2c: E2 [01:38:32]MH_I2C_Read... [01:38:32]Read from MH i2c: E2 0B 00 [01:38:32]MH_I2C_Read... [01:38:32]Read from MH i2c: E2 0B 00 E2 02 00 FC D9 07 8D 5B C6 19 04 90 00 07 [01:38:32]RAPDU: FC D9 07 8D 5B C6 19 04 90 00 [01:38:32]wFMCommunicate OK [01:38:32]SAM_PROTO_SignData done [01:38:32]FM_MakeSignedData done [01:38:32]CreateOFDProtocolMessage [01:38:32]wFMCommunicate request_size=4 [01:38:32]MH_SAM_APDU [01:38:32]CAPDU: 80 11 00 00 [01:38:32]Write to MH i2c: E2 08 00 E3 02 80 11 00 00 00 00 00 00 5F [01:38:32]Write i2c OK [01:38:32]MH_I2C_Read... [01:38:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:38:32]Read from MH i2c: E2 [01:38:32]MH_I2C_Read... [01:38:32]Read from MH i2c: E2 17 00 [01:38:32]MH_I2C_Read... [01:38:32]Read from MH i2c: E2 17 00 E3 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 AC [01:38:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [01:38:32]wFMCommunicate OK [01:38:32]CreateOFDProtocolMessage done [01:38:32]OFDSenderStorePacket 24383 [01:38:32]StoreOFDPacket docnum=24383 [01:38:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 30 01 00 00 F3 7E 28 01 98 DF 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 02 00 00 00 F4 03 04 00 18 02 17 67 0E 04 04 00 CE 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 3F 5F 00 00 35 04 06 00 30 7B 28 FF A3 70 FC D9 07 8D 5B C6 19 04 [01:38:32]CheckFolder [01:38:32]dirname=/storage/ofd_packets [01:38:32]CheckFolder done [01:38:32]ProducePacketName [01:38:32]name=ofd_packets/00024383 [01:38:32]NVStorageSaveData ofd_packets/00024383 [01:38:32]File name is /storage/ofd_packets/00024383 [01:38:32]Write 334 bytes [01:38:32]NVStorageSaveData done [01:38:32]OFDSenderStorePacket done [01:38:32]KKMCreateOFDPacket done [01:38:32]NVStorageSaveData kkm_last_timestamp [01:38:32]File name is /storage/kkm_last_timestamp [01:38:32]Write 4 bytes [01:38:32]NVStorageSaveData done [01:38:32]ExternCall_PrintAddStr [01:38:32]wPrintStart [01:38:32]Write to MH i2c: 01 00 00 E4 02 E6 [01:38:32]Write i2c OK [01:38:32]MH_I2C_Read... [01:38:32]Read from MH i2c: 01 [01:38:32]MH_I2C_Read... [01:38:32]Read from MH i2c: 01 07 00 [01:38:32]MH_I2C_Read... [01:38:32]Read from MH i2c: 01 07 00 E4 02 00 00 00 00 00 FF 0F FB [01:38:32]RasterBufferAndPrint [01:38:32]line Счет N : (3)134902 [01:38:32]line ИНН: 02508201610067 [01:38:32]line Контрольно-Кассовый Чек [01:38:32]line ПРОДАЖА [01:38:32]line Товар: 4700040114137 [01:38:32]line Султан чай 1л. зел лимон [01:38:32]line 1.000 * 89.00 [01:38:32]line = 89.00 [01:38:32]line НДС 12% НСП 1% [01:38:32]line > о реализуемом товаре [01:38:32]line ИТОГО: 89.00 [01:38:32]line НСП 1% : 0.79 [01:38:32]line НДС 12% : 9.45 [01:38:32]line Наличными: 89.00 [01:38:32]line Безнал.: 0.00 [01:38:32]line Место: АЗС № 85 "Партнер Нефть" [01:38:32]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [01:38:32]line СНО: Общий режим [01:38:32]line Чек 2 22.10.2024 01:38 [01:38:32]line Смена: 462 ФФД: 1.0 [01:38:32]line ЗНМ: 0300000166 [01:38:32]line РНМ: 0000000000098120 [01:38:32]line Версия ККМ: 001 [01:38:32]line ФМ: 0000000000965420 [01:38:32]line ФД: 24383 [01:38:32]line ФПД: 53305526952816 [01:38:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T013832&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24383&fm=53305526952816&tin=02508201610067®Number=0000000000098120&sum=8900 [01:38:33]OFD Sender: Processing packet 24383 [packets to send 5, broken 4] [01:38:33]ProducePacketName [01:38:33]name=ofd_packets/00024383 [01:38:33]OFD Sender: To server: pG, [01:38:33]CommunicateWithHost lk.salyk.kg:30040 [01:38:33]ConnectInit lk.salyk.kg [01:38:33]line 0 [01:38:33]written 0, free lines is 4095 [01:38:33]Connected sock=10 [01:38: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 34 32 30 30 01 00 00 F3 7E 28 01 98 DF 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 02 00 00 00 F4 03 04 00 18 02 17 67 0E 04 04 00 CE 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 3F 5F 00 00 35 04 06 00 30 7B 28 FF A3 70 FC D9 07 8D 5B C6 19 04 [01:38:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 2B 60 47 00 11 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 34 32 30 10 04 04 00 3F 5F 00 00 F4 03 04 00 BD AD 16 67 B6 04 01 00 00 BC 3D B9 31 E6 AF EE AC [01:38:33]CommunicateWithHost err = 0 [01:38:33]CheckOFDResponse [01:38:33]1017 (14) - 77093643461234 [01:38:33]1041 (16) - 0000000000965420 [01:38:33]1040 (4) - 24383 [01:38:33]1012 (4) - 21.10.2024 19:38 [01:38:33]1206 (1) - 0 [01:38:33]OFD Sender: Remove packet 24383 [01:38:33]ProducePacketName [01:38:33]name=ofd_packets/00024383 [01:38:33]NVStorageDeleteData [01:38:33]Write to MH i2c: 01 00 00 0C 03 0F [01:38:33]Write i2c OK [01:38:33]MH_I2C_Read... [01:38:33]Read from MH i2c: 01 [01:38:33]MH_I2C_Read... [01:38:33]Read from MH i2c: 01 07 00 [01:38:33]MH_I2C_Read... [01:38:33]Read from MH i2c: 01 07 00 0C 03 00 00 00 00 00 15 0D 38 [01:38:33]RasterBufferAndPrint [01:38:33]line [01:38:33]line [01:38:33]line [01:38:33]line [01:38:33]line [01:38:33]written 0, free lines is 3355 [01:38:33]process_action close_receipt done [01:38:33]requested_data is exist [01:38:33]produce_requested_data [01:38:33]requested_item fm.sn is exist - process it [01:38:33]wFMCommunicate request_size=4 [01:38:33]MH_SAM_APDU [01:38:33]CAPDU: 80 11 00 00 [01:38:33]Write to MH i2c: E2 08 00 13 03 80 11 00 00 00 00 00 00 90 [01:38:33]Write i2c OK [01:38:33]MH_I2C_Read... [01:38:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:38:33]Read from MH i2c: E2 [01:38:33]MH_I2C_Read... [01:38:33]Read from MH i2c: E2 17 00 [01:38:33]MH_I2C_Read... [01:38:33]Read from MH i2c: E2 17 00 13 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 DD [01:38:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [01:38:33]wFMCommunicate OK [01:38:33]requested_item fd.num is exist - process it [01:38:33]SAM_PROTO_GetFieldsCounters [01:38:33]wFMCommunicate request_size=4 [01:38:33]MH_SAM_APDU [01:38:33]CAPDU: 80 13 00 00 [01:38:33]Write to MH i2c: E2 08 00 14 03 80 13 00 00 00 00 00 00 93 [01:38:33]Write i2c OK [01:38:33]MH_I2C_Read... [01:38:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:38:33]Read from MH i2c: E2 [01:38:33]MH_I2C_Read... [01:38:33]Read from MH i2c: E2 62 00 [01:38:33]MH_I2C_Read... [01:38:33]Read from MH i2c: E2 62 00 14 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3F 5F 00 00 0E 04 04 00 CE 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 1C [01:38:33]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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 3F 5F 00 00 0E 04 04 00 CE 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 [01:38:33]wFMCommunicate OK [01:38:33]SAM_PROTO_GetFieldsCounters done [01:38:33]requested_item shift.num is exist - process it [01:38:33]requested_item shift.opened is exist - process it [01:38:33]req_shift_opened [01:38:33]FM_GetShiftState [01:38:33]SAM_PROTO_GetShiftState [01:38:33]wFMCommunicate request_size=4 [01:38:33]MH_SAM_APDU [01:38:33]CAPDU: 80 13 01 00 [01:38:33]Write to MH i2c: E2 08 00 15 03 80 13 01 00 00 00 00 00 95 [01:38:33]Write i2c OK [01:38:33]MH_I2C_Read... [01:38:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:38:33]Read from MH i2c: E2 [01:38:33]MH_I2C_Read... [01:38:33]Read from MH i2c: E2 0E 00 [01:38:33]MH_I2C_Read... [01:38:33]Read from MH i2c: E2 0E 00 15 03 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 8D [01:38:33]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [01:38:33]wFMCommunicate OK [01:38:33]SAM_PROTO_GetShiftState done [01:38:33]FM_GetShiftState done [01:38:33]req_shift_opened done [01:38:33]requested_item shift.open_date is exist - process it [01:38:33]req_shift_open_date [01:38:33]req_shift_open_date done [01:38:33]produce_requested_data done [01:38:33]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24383,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [01:38:33]process_action_free close_receipt [01:38:33]json_value_free [01:38:33]json_value_free done [01:38:33]process_json_proto returns [01:38:33]Send response to host [01:38:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24383,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [01:38:33]free response buf [01:38:33]execute_script done [01:38:33]execute_script returns [01:38:33]free content buf [01:38:33]Sock 9.Close socket [01:38:33]Sock 9.Thread stoped [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:34]OFD Sender: No OFD packet to send [01:41:39]OFD Sender: No OFD packet to send [01:41:44]OFD Sender: No OFD packet to send [01:41:49]OFD Sender: No OFD packet to send [01:41:54]OFD Sender: No OFD packet to send [01:41:59]OFD Sender: No OFD packet to send [01:42:04]OFD Sender: No OFD packet to send [01:42:09]OFD Sender: No OFD packet to send [01:42:14]OFD Sender: No OFD packet to send [01:42:19]OFD Sender: No OFD packet to send [01:42:24]OFD Sender: No OFD packet to send [01:42:29]OFD Sender: No OFD packet to send [01:42:34]OFD Sender: No OFD packet to send [01:42:39]OFD Sender: No OFD packet to send [01:42:44]OFD Sender: No OFD packet to send [01:42:49]OFD Sender: No OFD packet to send [01:42:54]OFD Sender: No OFD packet to send [01:42:59]OFD Sender: No OFD packet to send [01:43:04]OFD Sender: No OFD packet to send [01:43:09]OFD Sender: No OFD packet to send [01:43:14]OFD Sender: No OFD packet to send [01:43:19]OFD Sender: No OFD packet to send [01:43:24]OFD Sender: No OFD packet to send [01:43:29]OFD Sender: No OFD packet to send [01:43:34]OFD Sender: No OFD packet to send [01:43:39]OFD Sender: No OFD packet to send [01:43:44]OFD Sender: No OFD packet to send [01:43:49]OFD Sender: No OFD packet to send [01:43:54]OFD Sender: No OFD packet to send [01:43:59]OFD Sender: No OFD packet to send [01:44:04]OFD Sender: No OFD packet to send [01:44:09]OFD Sender: No OFD packet to send [01:44:14]OFD Sender: No OFD packet to send [01:44:19]OFD Sender: No OFD packet to send [01:44:24]OFD Sender: No OFD packet to send [01:44:29]OFD Sender: No OFD packet to send [01:44:34]OFD Sender: No OFD packet to send [01:44:39]OFD Sender: No OFD packet to send [01:44:44]OFD Sender: No OFD packet to send [01:44:49]OFD Sender: No OFD packet to send [01:44:54]OFD Sender: No OFD packet to send [01:44:59]OFD Sender: No OFD packet to send [01:45:04]OFD Sender: No OFD packet to send [01:45:09]OFD Sender: No OFD packet to send [01:45:14]OFD Sender: No OFD packet to send [01:45:19]OFD Sender: No OFD packet to send [01:45:24]OFD Sender: No OFD packet to send [01:45:29]OFD Sender: No OFD packet to send [01:45:34]OFD Sender: No OFD packet to send [01:45:39]OFD Sender: No OFD packet to send [01:45:44]OFD Sender: No OFD packet to send [01:45:49]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:39]OFD Sender: No OFD packet to send [01:48:44]OFD Sender: No OFD packet to send [01:48:49]OFD Sender: No OFD packet to send [01:48:54]OFD Sender: No OFD packet to send [01:48:59]OFD Sender: No OFD packet to send [01:49:04]OFD Sender: No OFD packet to send [01:49:09]OFD Sender: No OFD packet to send [01:49:14]OFD Sender: No OFD packet to send [01:49:19]OFD Sender: No OFD packet to send [01:49:24]OFD Sender: No OFD packet to send [01:49:29]OFD Sender: No OFD packet to send [01:49:34]OFD Sender: No OFD packet to send [01:49:39]OFD Sender: No OFD packet to send [01:49:44]OFD Sender: No OFD packet to send [01:49:49]OFD Sender: No OFD packet to send [01:49:54]OFD Sender: No OFD packet to send [01:49:59]OFD Sender: No OFD packet to send [01:50:04]OFD Sender: No OFD packet to send [01:50:09]OFD Sender: No OFD packet to send [01:50:14]OFD Sender: No OFD packet to send [01:50:19]OFD Sender: No OFD packet to send [01:50:24]OFD Sender: No OFD packet to send [01:50:29]OFD Sender: No OFD packet to send [01:50:34]OFD Sender: No OFD packet to send [01:50:39]OFD Sender: No OFD packet to send [01:50:44]OFD Sender: No OFD packet to send [01:50:49]OFD Sender: No OFD packet to send [01:50:54]OFD Sender: No OFD packet to send [01:50:59]OFD Sender: No OFD packet to send [01:51:04]OFD Sender: No OFD packet to send [01:51:09]OFD Sender: No OFD packet to send [01:51:14]OFD Sender: No OFD packet to send [01:51:19]OFD Sender: No OFD packet to send [01:51:24]OFD Sender: No OFD packet to send [01:51:29]OFD Sender: No OFD packet to send [01:51:34]OFD Sender: No OFD packet to send [01:51:39]OFD Sender: No OFD packet to send [01:51:44]OFD Sender: No OFD packet to send [01:51:49]OFD Sender: No OFD packet to send [01:51:54]OFD Sender: No OFD packet to send [01:51:59]OFD Sender: No OFD packet to send [01:52:04]OFD Sender: No OFD packet to send [01:52:09]OFD Sender: No OFD packet to send [01:52:14]OFD Sender: No OFD packet to send [01:52:19]OFD Sender: No OFD packet to send [01:52:24]OFD Sender: No OFD packet to send [01:52:29]OFD Sender: No OFD packet to send [01:52:34]OFD Sender: No OFD packet to send [01:52:39]OFD Sender: No OFD packet to send [01:52:44]OFD Sender: No OFD packet to send [01:52:49]OFD Sender: No OFD packet to send [01:52:54]OFD Sender: No OFD packet to send [01:52:59]OFD Sender: No OFD packet to send [01:53:04]OFD Sender: No OFD packet to send [01:53:09]OFD Sender: No OFD packet to send [01:53:14]OFD Sender: No OFD packet to send [01:53:19]OFD Sender: No OFD packet to send [01:53:24]OFD Sender: No OFD packet to send [01:53:29]OFD Sender: No OFD packet to send [01:53:34]OFD Sender: No OFD packet to send [01:53:39]OFD Sender: No OFD packet to send [01:53:44]OFD Sender: No OFD packet to send [01:53:49]OFD Sender: No OFD packet to send [01:53:54]OFD Sender: No OFD packet to send [01:53:59]OFD Sender: No OFD packet to send [01:54:04]OFD Sender: No OFD packet to send [01:54:09]OFD Sender: No OFD packet to send [01:54:14]OFD Sender: No OFD packet to send [01:54:19]OFD Sender: No OFD packet to send [01:54:24]OFD Sender: No OFD packet to send [01:54:29]OFD Sender: No OFD packet to send [01:54:34]OFD Sender: No OFD packet to send [01:54:39]OFD Sender: No OFD packet to send [01:54:44]OFD Sender: No OFD packet to send [01:54:49]OFD Sender: No OFD packet to send [01:54:54]OFD Sender: No OFD packet to send [01:54:59]OFD Sender: No OFD packet to send [01:55:04]OFD Sender: No OFD packet to send [01:55:09]OFD Sender: No OFD packet to send [01:55:14]OFD Sender: No OFD packet to send [01:55:19]OFD Sender: No OFD packet to send [01:55:24]OFD Sender: No OFD packet to send [01:55:29]OFD Sender: No OFD packet to send [01:55:34]OFD Sender: No OFD packet to send [01:55:39]OFD Sender: No OFD packet to send [01:55:44]OFD Sender: No OFD packet to send [01:55:49]OFD Sender: No OFD packet to send [01:55:54]OFD Sender: No OFD packet to send [01:55:59]OFD Sender: No OFD packet to send [01:56:04]OFD Sender: No OFD packet to send [01:56:09]OFD Sender: No OFD packet to send [01:56:14]OFD Sender: No OFD packet to send [01:56:19]OFD Sender: No OFD packet to send [01:56:24]OFD Sender: No OFD packet to send [01:56:29]OFD Sender: No OFD packet to send [01:56:34]OFD Sender: No OFD packet to send [01:56:39]OFD Sender: No OFD packet to send [01:56:44]OFD Sender: No OFD packet to send [01:56:49]OFD Sender: No OFD packet to send [01:56:54]OFD Sender: No OFD packet to send [01:56:59]OFD Sender: No OFD packet to send [01:57:04]OFD Sender: No OFD packet to send [01:57:09]OFD Sender: No OFD packet to send [01:57:14]OFD Sender: No OFD packet to send [01:57:19]OFD Sender: No OFD packet to send [01:57:24]OFD Sender: No OFD packet to send [01:57:29]OFD Sender: No OFD packet to send [01:57:34]OFD Sender: No OFD packet to send [01:57:39]OFD Sender: No OFD packet to send [01:57:44]OFD Sender: No OFD packet to send [01:57:49]OFD Sender: No OFD packet to send [01:57:54]OFD Sender: No OFD packet to send [01:57:59]OFD Sender: No OFD packet to send [01:58:04]OFD Sender: No OFD packet to send [01:58:09]OFD Sender: No OFD packet to send [01:58:14]OFD Sender: No OFD packet to send [01:58:19]OFD Sender: No OFD packet to send [01:58:24]OFD Sender: No OFD packet to send [01:58:29]OFD Sender: No OFD packet to send [01:58:34]OFD Sender: No OFD packet to send [01:58:39]OFD Sender: No OFD packet to send [01:58:44]OFD Sender: No OFD packet to send [01:58:49]OFD Sender: No OFD packet to send [01:58:54]OFD Sender: No OFD packet to send [01:58:59]OFD Sender: No OFD packet to send [01:59:04]OFD Sender: No OFD packet to send [01:59:09]OFD Sender: No OFD packet to send [01:59:14]OFD Sender: No OFD packet to send [01:59:19]OFD Sender: No OFD packet to send [01:59:24]OFD Sender: No OFD packet to send [01:59:29]OFD Sender: No OFD packet to send [01:59:34]OFD Sender: No OFD packet to send [01:59:39]OFD Sender: No OFD packet to send [01:59:44]OFD Sender: No OFD packet to send [01:59:49]OFD Sender: No OFD packet to send [01:59:54]OFD Sender: No OFD packet to send [01:59:59]OFD Sender: No OFD packet to send [02:00:04]OFD Sender: No OFD packet to send [02:00:09]OFD Sender: No OFD packet to send [02:00:14]OFD Sender: No OFD packet to send [02:00:19]OFD Sender: No OFD packet to send [02:00:24]OFD Sender: No OFD packet to send [02:00:29]OFD Sender: No OFD packet to send [02:00:34]OFD Sender: No OFD packet to send [02:00:39]OFD Sender: No OFD packet to send [02:00:44]OFD Sender: No OFD packet to send [02:00:49]OFD Sender: No OFD packet to send [02:00:54]OFD Sender: No OFD packet to send [02:00:59]OFD Sender: No OFD packet to send [02:01:04]OFD Sender: No OFD packet to send [02:01:09]OFD Sender: No OFD packet to send [02:01:14]OFD Sender: No OFD packet to send [02:01:19]OFD Sender: No OFD packet to send [02:01:24]OFD Sender: No OFD packet to send [02:01:29]OFD Sender: No OFD packet to send [02:01:34]OFD Sender: No OFD packet to send [02:01:39]OFD Sender: No OFD packet to send [02:01:44]OFD Sender: No OFD packet to send [02:01:49]OFD Sender: No OFD packet to send [02:01:54]OFD Sender: No OFD packet to send [02:01:59]OFD Sender: No OFD packet to send [02:02:04]OFD Sender: No OFD packet to send [02:02:09]OFD Sender: No OFD packet to send [02:02:14]OFD Sender: No OFD packet to send [02:02:19]OFD Sender: No OFD packet to send [02:02:24]OFD Sender: No OFD packet to send [02:02:29]OFD Sender: No OFD packet to send [02:02:34]OFD Sender: No OFD packet to send [02:02:39]OFD Sender: No OFD packet to send [02:02:44]OFD Sender: No OFD packet to send [02:02:49]OFD Sender: No OFD packet to send [02:02:54]OFD Sender: No OFD packet to send [02:02:59]OFD Sender: No OFD packet to send [02:03:04]OFD Sender: No OFD packet to send [02:03:09]accept exits with 7 [02:03:09]New connection [02:03:09]New thread 3067596132 created [02:03:09]Thread 3067452772 joined [02:03:09]Waiting for new connection... [02:03:09] Sock 7.Parse request [02:03:09]Sock 7.Check first char [02:03:09]Sock 7.First char is OK [02:03:09]request: POST /json_proto HTTP/1.0 [02:03:09]Method: POST [02:03:09]URL: /json_proto [02:03:09]Method is POST - this is cgi request [02:03:09]url: /json_proto [02:03:09]query_string will be loaded in cgi processing [02:03:09]execute_cgi json_proto POST (null) [02:03:09]execute_cgi path=json_proto method=POST [02:03:09]POST find Content-Length [02:03:09]Host: 172.17.50.4:8080 [02:03:09]Content-Length: 624 [02:03:09]Content-Type: application/json [02:03:09] [02:03:09]POST finish read [02:03:09]Found Content-Length = 624 [02:03:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134903", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver 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" ] } } [02:03:09]execute_script... [02:03: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)134903", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver 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" ] } } [02:03:09]POST & json_proto [02:03:09]process_json_proto [02:03:09]json parsed OK: [02:03:09]protocol is kg_v1.0 [02:03:09]action value=close_receipt [02:03:09]process_action close_receipt [02:03:09]cmd_close_receipt [02:03:09]MH_GetDate [02:03:09]Write to MH i2c: F0 00 00 16 03 08 [02:03:09]Write i2c OK [02:03:09]MH_I2C_Read... [02:03:09]Read from MH i2c: F0 [02:03:09]MH_I2C_Read... [02:03:09]Read from MH i2c: F0 09 00 [02:03:09]MH_I2C_Read... [02:03:09]Read from MH i2c: F0 09 00 16 03 00 DF 07 17 67 3B 12 16 67 3F [02:03:09]GetLastDocTimeStamp 1729561112 [02:03:09]current date 1729562591 [02:03:09]FM_GetShiftState [02:03:09]SAM_PROTO_GetShiftState [02:03:09]wFMCommunicate request_size=4 [02:03:09]MH_SAM_APDU [02:03:09]CAPDU: 80 13 01 00 [02:03:09]Write to MH i2c: E2 08 00 17 03 80 13 01 00 00 00 00 00 97 [02:03:09]Write i2c OK [02:03:09]MH_I2C_Read... [02:03:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:03:09]Read from MH i2c: E2 [02:03:09]MH_I2C_Read... [02:03:09]Read from MH i2c: E2 0E 00 [02:03:09]MH_I2C_Read... [02:03:09]Read from MH i2c: E2 0E 00 17 03 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 8F [02:03:09]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [02:03:09]wFMCommunicate OK [02:03:09]SAM_PROTO_GetShiftState done [02:03:09]FM_GetShiftState done [02:03:09]opened in 1729555332 [02:03:09]opened+sec_in_day 1729641732 [02:03:09]quantity*price = 16000 [02:03:09]sum+1 = 16001 [02:03:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.42 НДС 12% : 16.99 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 3 22.10.2024 02:03 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24384 ФПД: 32912444263061 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T020311&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24384&fm=32912444263061&tin=02508201610067®Number=0000000000098120&sum=16000 0 [02:03:11]StoreToDocumentArchive [02:03:11]shift 462 fd 24384 [02:03:11]save to /storage/0462/doc_00024384 [02:03:11]save last doc name /storage/0462/doc_00024384 to /storage/kkm_last_doc_name [02:03:11]save OK [02:03:11]Clear old archive folders... [02:03:11]ProcessDocumentItem done err = 0, tmpTLVsize=276 [02:03:11]tlvbuf is 00D69C80 [02:03:11]SAM_PROTO_ClearQueue [02:03:11]wFMCommunicate request_size=4 [02:03:11]MH_SAM_APDU [02:03:11]CAPDU: 80 09 00 00 [02:03:11]Write to MH i2c: E2 08 00 24 03 80 09 00 00 00 00 00 00 99 [02:03:11]Write i2c OK [02:03:11]MH_I2C_Read... [02:03:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:03:11]Read from MH i2c: E2 [02:03:11]MH_I2C_Read... [02:03:11]Read from MH i2c: E2 03 00 [02:03:11]MH_I2C_Read... [02:03:11]Read from MH i2c: E2 03 00 24 03 00 90 00 9B [02:03:11]RAPDU: 90 00 [02:03:11]wFMCommunicate OK [02:03:11]SAM_PROTO_ClearQueue done [02:03:11]KKMCreateOFDPacket [02:03:11]OFDProtocolAddRootSTLVToBuf [02:03:11]FM_MakeSignedData [02:03:11]FM_MakeSignedData [02:03:11]SAM_PROTO_SignData [02:03:11]wFMCommunicate request_size=4 [02:03:11]MH_SAM_APDU [02:03:11]CAPDU: 80 0D 01 02 [02:03:11]Write to MH i2c: E2 08 00 25 03 80 0D 01 02 00 00 00 00 A1 [02:03:11]Write i2c OK [02:03:11]MH_I2C_Read... [02:03:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:03:11]Read from MH i2c: E2 [02:03:11]MH_I2C_Read... [02:03:11]Read from MH i2c: E2 03 00 [02:03:11]MH_I2C_Read... [02:03:11]Read from MH i2c: E2 03 00 25 03 00 90 00 9C [02:03:11]RAPDU: 90 00 [02:03:11]wFMCommunicate OK [02:03:11]wFMCommunicate request_size=255 [02:03:11]MH_SAM_APDU [02:03:11]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 03 00 00 00 F4 03 04 00 DF 07 17 67 0E 04 04 00 CE 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 32 30 11 04 10 00 30 30 30 30 [02:03:11]Write to MH i2c: E2 02 01 26 03 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 03 00 00 00 F4 03 04 00 DF 07 17 67 0E 04 04 00 CE 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 32 30 11 04 10 00 30 30 30 30 00 00 AC [02:03:11]Write i2c OK [02:03:11]MH_I2C_Read... [02:03:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:03:11]Read from MH i2c: E2 [02:03:11]MH_I2C_Read... [02:03:11]Read from MH i2c: E2 03 00 [02:03:11]MH_I2C_Read... [02:03:11]Read from MH i2c: E2 03 00 26 03 00 90 00 9D [02:03:11]RAPDU: 90 00 [02:03:11]wFMCommunicate OK [02:03:11]wFMCommunicate request_size=35 [02:03:11]MH_SAM_APDU [02:03:11]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 40 5F 00 00 35 04 06 00 1D EF 06 8C 8A 95 [02:03:11]Write to MH i2c: E2 26 00 27 03 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 40 5F 00 00 35 04 06 00 1D EF 06 8C 8A 95 00 00 ED [02:03:11]Write i2c OK [02:03:11]MH_I2C_Read... [02:03:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:03:11]Read from MH i2c: E2 [02:03:11]MH_I2C_Read... [02:03:11]Read from MH i2c: E2 03 00 [02:03:11]MH_I2C_Read... [02:03:11]Read from MH i2c: E2 03 00 27 03 00 90 00 9E [02:03:11]RAPDU: 90 00 [02:03:11]wFMCommunicate OK [02:03:11]wFMCommunicate request_size=4 [02:03:11]MH_SAM_APDU [02:03:11]CAPDU: 80 0D 03 02 [02:03:11]Write to MH i2c: E2 08 00 28 03 80 0D 03 02 00 00 00 00 A6 [02:03:11]Write i2c OK [02:03:11]MH_I2C_Read... [02:03:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:03:11]Read from MH i2c: E2 [02:03:11]MH_I2C_Read... [02:03:11]Read from MH i2c: E2 0B 00 [02:03:11]MH_I2C_Read... [02:03:11]Read from MH i2c: E2 0B 00 28 03 00 E4 DA 8E 39 79 82 29 30 90 00 80 [02:03:11]RAPDU: E4 DA 8E 39 79 82 29 30 90 00 [02:03:11]wFMCommunicate OK [02:03:11]SAM_PROTO_SignData done [02:03:11]FM_MakeSignedData done [02:03:11]CreateOFDProtocolMessage [02:03:11]wFMCommunicate request_size=4 [02:03:11]MH_SAM_APDU [02:03:11]CAPDU: 80 11 00 00 [02:03:11]Write to MH i2c: E2 08 00 29 03 80 11 00 00 00 00 00 00 A6 [02:03:11]Write i2c OK [02:03:11]MH_I2C_Read... [02:03:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:03:11]Read from MH i2c: E2 [02:03:11]MH_I2C_Read... [02:03:11]Read from MH i2c: E2 17 00 [02:03:11]MH_I2C_Read... [02:03:11]Read from MH i2c: E2 17 00 29 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 F3 [02:03:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [02:03:11]wFMCommunicate OK [02:03:11]CreateOFDProtocolMessage done [02:03:11]OFDSenderStorePacket 24384 [02:03:11]StoreOFDPacket docnum=24384 [02:03:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 28 01 00 00 30 7B 20 01 9E 24 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 03 00 00 00 F4 03 04 00 DF 07 17 67 0E 04 04 00 CE 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 40 5F 00 00 35 04 06 00 1D EF 06 8C 8A 95 E4 DA 8E 39 79 82 29 30 [02:03:11]CheckFolder [02:03:11]dirname=/storage/ofd_packets [02:03:11]CheckFolder done [02:03:11]ProducePacketName [02:03:11]name=ofd_packets/00024384 [02:03:11]NVStorageSaveData ofd_packets/00024384 [02:03:11]File name is /storage/ofd_packets/00024384 [02:03:11]Write 326 bytes [02:03:11]NVStorageSaveData done [02:03:11]OFDSenderStorePacket done [02:03:11]KKMCreateOFDPacket done [02:03:11]NVStorageSaveData kkm_last_timestamp [02:03:11]File name is /storage/kkm_last_timestamp [02:03:11]Write 4 bytes [02:03:11]NVStorageSaveData done [02:03:11]ExternCall_PrintAddStr [02:03:11]wPrintStart [02:03:11]Write to MH i2c: 01 00 00 2A 03 2D [02:03:11]Write i2c OK [02:03:11]MH_I2C_Read... [02:03:11]Read from MH i2c: 01 [02:03:11]MH_I2C_Read... [02:03:11]Read from MH i2c: 01 07 00 [02:03:11]MH_I2C_Read... [02:03:11]Read from MH i2c: 01 07 00 2A 03 00 00 00 00 00 FF 0F 42 [02:03:11]RasterBufferAndPrint [02:03:11]line Счет N : (3)134903 [02:03:11]line ИНН: 02508201610067 [02:03:11]line Контрольно-Кассовый Чек [02:03:11]line ПРОДАЖА [02:03:11]line Товар: 48742245 [02:03:11]line Сигареты Parliament Silver Blue [02:03:11]line 1.000 * 160.00 [02:03:11]line = 160.00 [02:03:11]line НДС 12% НСП 1% [02:03:11]line > о реализуемом товаре [02:03:11]line ИТОГО: 160.00 [02:03:11]line НСП 1% : 1.42 [02:03:11]line НДС 12% : 16.99 [02:03:11]line Наличными: 160.00 [02:03:11]line Безнал.: 0.00 [02:03:11]line Место: АЗС № 85 "Партнер Нефть" [02:03:11]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [02:03:11]line СНО: Общий режим [02:03:11]line Чек 3 22.10.2024 02:03 [02:03:11]line Смена: 462 ФФД: 1.0 [02:03:11]line ЗНМ: 0300000166 [02:03:11]line РНМ: 0000000000098120 [02:03:11]line Версия ККМ: 001 [02:03:11]line ФМ: 0000000000965420 [02:03:11]line ФД: 24384 [02:03:11]line ФПД: 32912444263061 [02:03:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T020311&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24384&fm=32912444263061&tin=02508201610067®Number=0000000000098120&sum=16000 [02:03:11]line 0 [02:03:11]OFD Sender: Processing packet 24384 [packets to send 5, broken 4] [02:03:11]ProducePacketName [02:03:11]name=ofd_packets/00024384 [02:03:11]OFD Sender: To server: pG, [02:03:11]CommunicateWithHost lk.salyk.kg:30040 [02:03:11]ConnectInit lk.salyk.kg [02:03:11]written 0, free lines is 4095 [02:03:11]Connected sock=10 [02:03: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 34 32 30 28 01 00 00 30 7B 20 01 9E 24 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 03 00 00 00 F4 03 04 00 DF 07 17 67 0E 04 04 00 CE 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 40 5F 00 00 35 04 06 00 1D EF 06 8C 8A 95 E4 DA 8E 39 79 82 29 30 [02:03:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 4D 99 47 00 3F 39 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 34 32 30 10 04 04 00 40 5F 00 00 F4 03 04 00 84 B3 16 67 B6 04 01 00 00 18 29 C7 C6 BF 67 0E 75 [02:03:12]CommunicateWithHost err = 0 [02:03:12]CheckOFDResponse [02:03:12]1017 (14) - 77093643461234 [02:03:12]1041 (16) - 0000000000965420 [02:03:12]1040 (4) - 24384 [02:03:12]1012 (4) - 21.10.2024 20:03 [02:03:12]1206 (1) - 0 [02:03:12]OFD Sender: Remove packet 24384 [02:03:12]ProducePacketName [02:03:12]name=ofd_packets/00024384 [02:03:12]NVStorageDeleteData [02:03:12]Write to MH i2c: 01 00 00 53 03 56 [02:03:12]Write i2c OK [02:03:12]MH_I2C_Read... [02:03:12]Read from MH i2c: 01 [02:03:12]MH_I2C_Read... [02:03:12]Read from MH i2c: 01 07 00 [02:03:12]MH_I2C_Read... [02:03:12]Read from MH i2c: 01 07 00 53 03 00 00 00 00 00 FE 0C 67 [02:03:12]RasterBufferAndPrint [02:03:12]line [02:03:12]line [02:03:12]line [02:03:12]line [02:03:12]line [02:03:12]written 0, free lines is 3331 [02:03:12]process_action close_receipt done [02:03:12]requested_data is exist [02:03:12]produce_requested_data [02:03:12]requested_item fm.sn is exist - process it [02:03:12]wFMCommunicate request_size=4 [02:03:12]MH_SAM_APDU [02:03:12]CAPDU: 80 11 00 00 [02:03:12]Write to MH i2c: E2 08 00 5A 03 80 11 00 00 00 00 00 00 D7 [02:03:12]Write i2c OK [02:03:12]MH_I2C_Read... [02:03:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:03:12]Read from MH i2c: E2 [02:03:12]MH_I2C_Read... [02:03:12]Read from MH i2c: E2 17 00 [02:03:12]MH_I2C_Read... [02:03:12]Read from MH i2c: E2 17 00 5A 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 24 [02:03:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [02:03:12]wFMCommunicate OK [02:03:12]requested_item fd.num is exist - process it [02:03:12]SAM_PROTO_GetFieldsCounters [02:03:12]wFMCommunicate request_size=4 [02:03:12]MH_SAM_APDU [02:03:12]CAPDU: 80 13 00 00 [02:03:12]Write to MH i2c: E2 08 00 5B 03 80 13 00 00 00 00 00 00 DA [02:03:12]Write i2c OK [02:03:12]MH_I2C_Read... [02:03:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:03:12]Read from MH i2c: E2 [02:03:12]MH_I2C_Read... [02:03:12]Read from MH i2c: E2 62 00 [02:03:12]MH_I2C_Read... [02:03:12]Read from MH i2c: E2 62 00 5B 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 40 5F 00 00 0E 04 04 00 CE 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 67 [02:03:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 40 5F 00 00 0E 04 04 00 CE 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 [02:03:12]wFMCommunicate OK [02:03:12]SAM_PROTO_GetFieldsCounters done [02:03:12]requested_item shift.num is exist - process it [02:03:12]requested_item shift.opened is exist - process it [02:03:12]req_shift_opened [02:03:12]FM_GetShiftState [02:03:12]SAM_PROTO_GetShiftState [02:03:12]wFMCommunicate request_size=4 [02:03:12]MH_SAM_APDU [02:03:12]CAPDU: 80 13 01 00 [02:03:12]Write to MH i2c: E2 08 00 5C 03 80 13 01 00 00 00 00 00 DC [02:03:12]Write i2c OK [02:03:12]MH_I2C_Read... [02:03:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:03:12]Read from MH i2c: E2 [02:03:12]MH_I2C_Read... [02:03:12]Read from MH i2c: E2 0E 00 [02:03:12]MH_I2C_Read... [02:03:12]Read from MH i2c: E2 0E 00 5C 03 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 D4 [02:03:12]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [02:03:12]wFMCommunicate OK [02:03:12]SAM_PROTO_GetShiftState done [02:03:12]FM_GetShiftState done [02:03:12]req_shift_opened done [02:03:12]requested_item shift.open_date is exist - process it [02:03:12]req_shift_open_date [02:03:12]req_shift_open_date done [02:03:12]produce_requested_data done [02:03:12]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24384,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [02:03:12]process_action_free close_receipt [02:03:12]json_value_free [02:03:12]json_value_free done [02:03:12]process_json_proto returns [02:03:12]Send response to host [02:03:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24384,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [02:03:12]free response buf [02:03:12]execute_script done [02:03:12]execute_script returns [02:03:12]free content buf [02:03:12]Sock 7.Close socket [02:03:12]Sock 7.Thread stoped [02:03:12]OFD Sender: No OFD packet to send [02:03:17]OFD Sender: No OFD packet to send [02:03:22]OFD Sender: No OFD packet to send [02:03:27]OFD Sender: No OFD packet to send [02:03:32]OFD Sender: No OFD packet to send [02:03:37]OFD Sender: No OFD packet to send [02:03:42]OFD Sender: No OFD packet to send [02:03:47]OFD Sender: No OFD packet to send [02:03:52]OFD Sender: No OFD packet to send [02:03:56]accept exits with 9 [02:03:56]New connection [02:03:56]New thread 3067452772 created [02:03:56]Thread 3067596132 joined [02:03:56]Waiting for new connection... [02:03:56] Sock 9.Parse request [02:03:56]Sock 9.Check first char [02:03:56]Sock 9.First char is OK [02:03:56]request: POST /json_proto HTTP/1.0 [02:03:56]Method: POST [02:03:56]URL: /json_proto [02:03:56]Method is POST - this is cgi request [02:03:56]url: /json_proto [02:03:56]query_string will be loaded in cgi processing [02:03:56]execute_cgi json_proto POST (null) [02:03:56]execute_cgi path=json_proto method=POST [02:03:56]POST find Content-Length [02:03:56]Host: 172.17.50.4:8080 [02:03:56]Content-Length: 614 [02:03:56]Content-Type: application/json [02:03:56] [02:03:56]POST finish read [02:03:56]Found Content-Length = 614 [02:03:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134904", "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" ] } } [02:03:56]execute_script... [02:03: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)134904", "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" ] } } [02:03:56]POST & json_proto [02:03:56]process_json_proto [02:03:56]json parsed OK: [02:03:56]protocol is kg_v1.0 [02:03:56]action value=close_receipt [02:03:56]process_action close_receipt [02:03:56]cmd_close_receipt [02:03:56]MH_GetDate [02:03:56]Write to MH i2c: F0 00 00 5D 03 4F [02:03:56]Write i2c OK [02:03:56]MH_I2C_Read... [02:03:56]Read from MH i2c: F0 [02:03:56]MH_I2C_Read... [02:03:56]Read from MH i2c: F0 09 00 [02:03:56]MH_I2C_Read... [02:03:56]Read from MH i2c: F0 09 00 5D 03 00 0E 08 17 67 3B 12 16 67 B6 [02:03:56]GetLastDocTimeStamp 1729562591 [02:03:56]current date 1729562638 [02:03:56]FM_GetShiftState [02:03:56]SAM_PROTO_GetShiftState [02:03:56]wFMCommunicate request_size=4 [02:03:56]MH_SAM_APDU [02:03:56]CAPDU: 80 13 01 00 [02:03:56]Write to MH i2c: E2 08 00 5E 03 80 13 01 00 00 00 00 00 DE [02:03:56]Write i2c OK [02:03:56]MH_I2C_Read... [02:03:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:03:56]Read from MH i2c: E2 [02:03:56]MH_I2C_Read... [02:03:56]Read from MH i2c: E2 0E 00 [02:03:56]MH_I2C_Read... [02:03:56]Read from MH i2c: E2 0E 00 5E 03 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 D6 [02:03:56]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [02:03:56]wFMCommunicate OK [02:03:56]SAM_PROTO_GetShiftState done [02:03:56]FM_GetShiftState done [02:03:56]opened in 1729555332 [02:03:56]opened+sec_in_day 1729641732 [02:03:56]quantity*price = 11900 [02:03:56]sum+1 = 11901 [02:03:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 119.00 НСП 1% : 1.05 НДС 12% : 12.64 Наличными: 119.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 4 22.10.2024 02:03 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24385 ФПД: 219021315628098 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T020358&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24385&fm=219021315628098&tin=02508201610067®Number=0000000000098120&sum=11900 0 [02:03:58]StoreToDocumentArchive [02:03:58]shift 462 fd 24385 [02:03:58]save to /storage/0462/doc_00024385 [02:03:58]save last doc name /storage/0462/doc_00024385 to /storage/kkm_last_doc_name [02:03:58]save OK [02:03:58]Clear old archive folders... [02:03:58]ProcessDocumentItem done err = 0, tmpTLVsize=266 [02:03:58]tlvbuf is B6F5E230 [02:03:58]SAM_PROTO_ClearQueue [02:03:58]wFMCommunicate request_size=4 [02:03:58]MH_SAM_APDU [02:03:58]CAPDU: 80 09 00 00 [02:03:58]Write to MH i2c: E2 08 00 6B 03 80 09 00 00 00 00 00 00 E0 [02:03:58]Write i2c OK [02:03:58]MH_I2C_Read... [02:03:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:03:58]Read from MH i2c: E2 [02:03:58]MH_I2C_Read... [02:03:58]Read from MH i2c: E2 03 00 [02:03:58]MH_I2C_Read... [02:03:58]Read from MH i2c: E2 03 00 6B 03 00 90 00 E2 [02:03:58]RAPDU: 90 00 [02:03:58]wFMCommunicate OK [02:03:58]SAM_PROTO_ClearQueue done [02:03:58]KKMCreateOFDPacket [02:03:58]OFDProtocolAddRootSTLVToBuf [02:03:58]FM_MakeSignedData [02:03:58]FM_MakeSignedData [02:03:58]SAM_PROTO_SignData [02:03:58]wFMCommunicate request_size=4 [02:03:58]MH_SAM_APDU [02:03:58]CAPDU: 80 0D 01 02 [02:03:58]Write to MH i2c: E2 08 00 6C 03 80 0D 01 02 00 00 00 00 E8 [02:03:58]Write i2c OK [02:03:58]MH_I2C_Read... [02:03:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:03:58]Read from MH i2c: E2 [02:03:58]MH_I2C_Read... [02:03:58]Read from MH i2c: E2 03 00 [02:03:58]MH_I2C_Read... [02:03:58]Read from MH i2c: E2 03 00 6C 03 00 90 00 E3 [02:03:58]RAPDU: 90 00 [02:03:58]wFMCommunicate OK [02:03:58]wFMCommunicate request_size=255 [02:03:58]MH_SAM_APDU [02:03:58]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 04 00 00 00 F4 03 04 00 0E 08 17 67 0E 04 04 00 CE 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 [02:03:58]Write to MH i2c: E2 02 01 6D 03 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 04 00 00 00 F4 03 04 00 0E 08 17 67 0E 04 04 00 CE 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 00 00 49 [02:03:58]Write i2c OK [02:03:58]MH_I2C_Read... [02:03:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:03:58]Read from MH i2c: E2 [02:03:58]MH_I2C_Read... [02:03:58]Read from MH i2c: E2 03 00 [02:03:58]MH_I2C_Read... [02:03:58]Read from MH i2c: E2 03 00 6D 03 00 90 00 E4 [02:03:58]RAPDU: 90 00 [02:03:58]wFMCommunicate OK [02:03:58]wFMCommunicate request_size=25 [02:03:58]MH_SAM_APDU [02:03:58]CAPDU: 80 0D 02 02 14 32 30 10 04 04 00 41 5F 00 00 35 04 06 00 C7 32 DF B7 5C 42 [02:03:58]Write to MH i2c: E2 1C 00 6E 03 80 0D 02 02 14 00 32 30 10 04 04 00 41 5F 00 00 35 04 06 00 C7 32 DF B7 5C 42 00 00 99 [02:03:58]Write i2c OK [02:03:58]MH_I2C_Read... [02:03:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:03:58]Read from MH i2c: E2 [02:03:58]MH_I2C_Read... [02:03:58]Read from MH i2c: E2 03 00 [02:03:58]MH_I2C_Read... [02:03:58]Read from MH i2c: E2 03 00 6E 03 00 90 00 E5 [02:03:58]RAPDU: 90 00 [02:03:58]wFMCommunicate OK [02:03:58]wFMCommunicate request_size=4 [02:03:58]MH_SAM_APDU [02:03:58]CAPDU: 80 0D 03 02 [02:03:58]Write to MH i2c: E2 08 00 6F 03 80 0D 03 02 00 00 00 00 ED [02:03:58]Write i2c OK [02:03:58]MH_I2C_Read... [02:03:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:03:58]Read from MH i2c: E2 [02:03:58]MH_I2C_Read... [02:03:58]Read from MH i2c: E2 0B 00 [02:03:58]MH_I2C_Read... [02:03:58]Read from MH i2c: E2 0B 00 6F 03 00 CA 2C A2 56 45 4B 5B DB 90 00 A2 [02:03:58]RAPDU: CA 2C A2 56 45 4B 5B DB 90 00 [02:03:58]wFMCommunicate OK [02:03:58]SAM_PROTO_SignData done [02:03:58]FM_MakeSignedData done [02:03:58]CreateOFDProtocolMessage [02:03:58]wFMCommunicate request_size=4 [02:03:58]MH_SAM_APDU [02:03:58]CAPDU: 80 11 00 00 [02:03:58]Write to MH i2c: E2 08 00 70 03 80 11 00 00 00 00 00 00 ED [02:03:58]Write i2c OK [02:03:58]MH_I2C_Read... [02:03:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:03:58]Read from MH i2c: E2 [02:03:58]MH_I2C_Read... [02:03:58]Read from MH i2c: E2 17 00 [02:03:58]MH_I2C_Read... [02:03:58]Read from MH i2c: E2 17 00 70 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 3A [02:03:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [02:03:58]wFMCommunicate OK [02:03:58]CreateOFDProtocolMessage done [02:03:58]OFDSenderStorePacket 24385 [02:03:58]StoreOFDPacket docnum=24385 [02:03:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1E 01 00 00 DA 04 16 01 8C 61 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 04 00 00 00 F4 03 04 00 0E 08 17 67 0E 04 04 00 CE 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 41 5F 00 00 35 04 06 00 C7 32 DF B7 5C 42 CA 2C A2 56 45 4B 5B DB [02:03:58]CheckFolder [02:03:58]dirname=/storage/ofd_packets [02:03:58]CheckFolder done [02:03:58]ProducePacketName [02:03:58]name=ofd_packets/00024385 [02:03:58]NVStorageSaveData ofd_packets/00024385 [02:03:58]File name is /storage/ofd_packets/00024385 [02:03:58]Write 316 bytes [02:03:58]NVStorageSaveData done [02:03:58]OFDSenderStorePacket done [02:03:58]KKMCreateOFDPacket done [02:03:58]NVStorageSaveData kkm_last_timestamp [02:03:58]File name is /storage/kkm_last_timestamp [02:03:58]Write 4 bytes [02:03:58]NVStorageSaveData done [02:03:58]ExternCall_PrintAddStr [02:03:58]wPrintStart [02:03:58]Write to MH i2c: 01 00 00 71 03 74 [02:03:58]Write i2c OK [02:03:58]MH_I2C_Read... [02:03:58]Read from MH i2c: 01 [02:03:58]MH_I2C_Read... [02:03:58]Read from MH i2c: 01 07 00 [02:03:58]MH_I2C_Read... [02:03:58]Read from MH i2c: 01 07 00 71 03 00 00 00 00 00 FF 0F 89 [02:03:58]RasterBufferAndPrint [02:03:58]line Счет N : (3)134904 [02:03:58]line ИНН: 02508201610067 [02:03:58]line Контрольно-Кассовый Чек [02:03:58]line ПРОДАЖА [02:03:58]line Товар: 4870001570071 [02:03:58]line Напиток Pepsi 1л [02:03:58]line 1.000 * 119.00 [02:03:58]line = 119.00 [02:03:58]line НДС 12% НСП 1% [02:03:58]line > о реализуемом товаре [02:03:58]line ИТОГО: 119.00 [02:03:58]line НСП 1% : 1.05 [02:03:58]line НДС 12% : 12.64 [02:03:58]line Наличными: 119.00 [02:03:58]line Безнал.: 0.00 [02:03:58]line Место: АЗС № 85 "Партнер Нефть" [02:03:58]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [02:03:58]line СНО: Общий режим [02:03:58]line Чек 4 22.10.2024 02:03 [02:03:58]line Смена: 462 ФФД: 1.0 [02:03:58]line ЗНМ: 0300000166 [02:03:58]line РНМ: 0000000000098120 [02:03:58]line Версия ККМ: 001 [02:03:58]line ФМ: 0000000000965420 [02:03:58]line ФД: 24385 [02:03:58]line ФПД: 219021315628098 [02:03:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T020358&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24385&fm=219021315628098&tin=02508201610067®Number=0000000000098120&sum=11900 [02:03:58]line 0 [02:03:58]OFD Sender: Processing packet 24385 [packets to send 5, broken 4] [02:03:58]ProducePacketName [02:03:58]name=ofd_packets/00024385 [02:03:58]OFD Sender: To server: pG, [02:03:58]CommunicateWithHost lk.salyk.kg:30040 [02:03:58]ConnectInit lk.salyk.kg [02:03:58]written 0, free lines is 4095 [02:03:58]Connected sock=10 [02:03: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 34 32 30 1E 01 00 00 DA 04 16 01 8C 61 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 04 00 00 00 F4 03 04 00 0E 08 17 67 0E 04 04 00 CE 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 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 41 5F 00 00 35 04 06 00 C7 32 DF B7 5C 42 CA 2C A2 56 45 4B 5B DB [02:03:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 B3 02 47 00 8D 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 34 32 30 10 04 04 00 41 5F 00 00 F4 03 04 00 B2 B3 16 67 B6 04 01 00 00 DF CF D3 2D 4A 2E 91 A9 [02:03:59]CommunicateWithHost err = 0 [02:03:59]CheckOFDResponse [02:03:59]1017 (14) - 77093643461234 [02:03:59]1041 (16) - 0000000000965420 [02:03:59]1040 (4) - 24385 [02:03:59]1012 (4) - 21.10.2024 20:04 [02:03:59]1206 (1) - 0 [02:03:59]OFD Sender: Remove packet 24385 [02:03:59]ProducePacketName [02:03:59]name=ofd_packets/00024385 [02:03:59]NVStorageDeleteData [02:03:59]Write to MH i2c: 01 00 00 99 03 9C [02:03:59]Write i2c OK [02:03:59]MH_I2C_Read... [02:03:59]Read from MH i2c: 01 [02:03:59]MH_I2C_Read... [02:03:59]Read from MH i2c: 01 07 00 [02:03:59]MH_I2C_Read... [02:03:59]Read from MH i2c: 01 07 00 99 03 00 00 00 00 00 1A 0D CA [02:03:59]RasterBufferAndPrint [02:03:59]line [02:03:59]line [02:03:59]line [02:03:59]line [02:03:59]line [02:03:59]written 0, free lines is 3360 [02:03:59]process_action close_receipt done [02:03:59]requested_data is exist [02:03:59]produce_requested_data [02:03:59]requested_item fm.sn is exist - process it [02:03:59]wFMCommunicate request_size=4 [02:03:59]MH_SAM_APDU [02:03:59]CAPDU: 80 11 00 00 [02:03:59]Write to MH i2c: E2 08 00 A0 03 80 11 00 00 00 00 00 00 1D [02:03:59]Write i2c OK [02:03:59]MH_I2C_Read... [02:03:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:03:59]Read from MH i2c: E2 [02:03:59]MH_I2C_Read... [02:03:59]Read from MH i2c: E2 17 00 [02:03:59]MH_I2C_Read... [02:03:59]Read from MH i2c: E2 17 00 A0 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 6A [02:03:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [02:03:59]wFMCommunicate OK [02:03:59]requested_item fd.num is exist - process it [02:03:59]SAM_PROTO_GetFieldsCounters [02:03:59]wFMCommunicate request_size=4 [02:03:59]MH_SAM_APDU [02:03:59]CAPDU: 80 13 00 00 [02:03:59]Write to MH i2c: E2 08 00 A1 03 80 13 00 00 00 00 00 00 20 [02:03:59]Write i2c OK [02:03:59]MH_I2C_Read... [02:03:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:03:59]Read from MH i2c: E2 [02:03:59]MH_I2C_Read... [02:03:59]Read from MH i2c: E2 62 00 [02:03:59]MH_I2C_Read... [02:03:59]Read from MH i2c: E2 62 00 A1 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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 41 5F 00 00 0E 04 04 00 CE 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 B1 [02:03: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 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 41 5F 00 00 0E 04 04 00 CE 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 [02:03:59]wFMCommunicate OK [02:03:59]SAM_PROTO_GetFieldsCounters done [02:03:59]requested_item shift.num is exist - process it [02:03:59]requested_item shift.opened is exist - process it [02:03:59]req_shift_opened [02:03:59]FM_GetShiftState [02:03:59]SAM_PROTO_GetShiftState [02:03:59]wFMCommunicate request_size=4 [02:03:59]MH_SAM_APDU [02:03:59]CAPDU: 80 13 01 00 [02:03:59]Write to MH i2c: E2 08 00 A2 03 80 13 01 00 00 00 00 00 22 [02:03:59]Write i2c OK [02:03:59]MH_I2C_Read... [02:03:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:03:59]Read from MH i2c: E2 [02:03:59]MH_I2C_Read... [02:03:59]Read from MH i2c: E2 0E 00 [02:03:59]MH_I2C_Read... [02:03:59]Read from MH i2c: E2 0E 00 A2 03 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 1A [02:03:59]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [02:03:59]wFMCommunicate OK [02:03:59]SAM_PROTO_GetShiftState done [02:03:59]FM_GetShiftState done [02:03:59]req_shift_opened done [02:03:59]requested_item shift.open_date is exist - process it [02:03:59]req_shift_open_date [02:03:59]req_shift_open_date done [02:03:59]produce_requested_data done [02:03:59]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24385,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [02:03:59]process_action_free close_receipt [02:03:59]json_value_free [02:03:59]json_value_free done [02:03:59]process_json_proto returns [02:03:59]Send response to host [02:03:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24385,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [02:03:59]free response buf [02:03:59]execute_script done [02:03:59]execute_script returns [02:03:59]free content buf [02:03:59]Sock 9.Close socket [02:03:59]Sock 9.Thread stoped [02:03:59]OFD Sender: No OFD packet to send [02:04:04]OFD Sender: No OFD packet to send [02:04:09]OFD Sender: No OFD packet to send [02:04:14]OFD Sender: No OFD packet to send [02:04:19]OFD Sender: No OFD packet to send [02:04:24]OFD Sender: No OFD packet to send [02:04:29]OFD Sender: No OFD packet to send [02:04:34]OFD Sender: No OFD packet to send [02:04:39]OFD Sender: No OFD packet to send [02:04:44]OFD Sender: No OFD packet to send [02:04:49]OFD Sender: No OFD packet to send [02:04:54]OFD Sender: No OFD packet to send [02:04:59]OFD Sender: No OFD packet to send [02:05:04]OFD Sender: No OFD packet to send [02:05:09]OFD Sender: No OFD packet to send [02:05:14]OFD Sender: No OFD packet to send [02:05:19]OFD Sender: No OFD packet to send [02:05:24]OFD Sender: No OFD packet to send [02:05:29]OFD Sender: No OFD packet to send [02:05:34]OFD Sender: No OFD packet to send [02:05:39]OFD Sender: No OFD packet to send [02:05:44]OFD Sender: No OFD packet to send [02:05:49]OFD Sender: No OFD packet to send [02:05:54]OFD Sender: No OFD packet to send [02:05:59]OFD Sender: No OFD packet to send [02:06:04]OFD Sender: No OFD packet to send [02:06:09]OFD Sender: No OFD packet to send [02:06:14]OFD Sender: No OFD packet to send [02:06:19]OFD Sender: No OFD packet to send [02:06:24]OFD Sender: No OFD packet to send [02:06:29]OFD Sender: No OFD packet to send [02:06:34]OFD Sender: No OFD packet to send [02:06:39]OFD Sender: No OFD packet to send [02:06:44]OFD Sender: No OFD packet to send [02:06:49]OFD Sender: No OFD packet to send [02:06:54]OFD Sender: No OFD packet to send [02:06:59]OFD Sender: No OFD packet to send [02:07:04]OFD Sender: No OFD packet to send [02:07:09]OFD Sender: No OFD packet to send [02:07:14]OFD Sender: No OFD packet to send [02:07:19]OFD Sender: No OFD packet to send [02:07:24]OFD Sender: No OFD packet to send [02:07:29]OFD Sender: No OFD packet to send [02:07:34]OFD Sender: No OFD packet to send [02:07:39]OFD Sender: No OFD packet to send [02:07:44]OFD Sender: No OFD packet to send [02:07:49]OFD Sender: No OFD packet to send [02:07:54]OFD Sender: No OFD packet to send [02:07:59]OFD Sender: No OFD packet to send [02:08:04]OFD Sender: No OFD packet to send [02:08:09]OFD Sender: No OFD packet to send [02:08:14]OFD Sender: No OFD packet to send [02:08:19]OFD Sender: No OFD packet to send [02:08:24]OFD Sender: No OFD packet to send [02:08:29]OFD Sender: No OFD packet to send [02:08:34]OFD Sender: No OFD packet to send [02:08:39]OFD Sender: No OFD packet to send [02:08:44]OFD Sender: No OFD packet to send [02:08:49]OFD Sender: No OFD packet to send [02:08:54]OFD Sender: No OFD packet to send [02:08:59]OFD Sender: No OFD packet to send [02:09:04]OFD Sender: No OFD packet to send [02:09:09]OFD Sender: No OFD packet to send [02:09:14]OFD Sender: No OFD packet to send [02:09:19]OFD Sender: No OFD packet to send [02:09:24]OFD Sender: No OFD packet to send [02:09:29]OFD Sender: No OFD packet to send [02:09:34]OFD Sender: No OFD packet to send [02:09:39]OFD Sender: No OFD packet to send [02:09:44]OFD Sender: No OFD packet to send [02:09:49]OFD Sender: No OFD packet to send [02:09:54]OFD Sender: No OFD packet to send [02:09:59]OFD Sender: No OFD packet to send [02:10:04]OFD Sender: No OFD packet to send [02:10:09]OFD Sender: No OFD packet to send [02:10:14]OFD Sender: No OFD packet to send [02:10:19]OFD Sender: No OFD packet to send [02:10:24]OFD Sender: No OFD packet to send [02:10:29]OFD Sender: No OFD packet to send [02:10:34]OFD Sender: No OFD packet to send [02:10:39]OFD Sender: No OFD packet to send [02:10:44]OFD Sender: No OFD packet to send [02:10:49]OFD Sender: No OFD packet to send [02:10:54]OFD Sender: No OFD packet to send [02:11:00]OFD Sender: No OFD packet to send [02:11:05]OFD Sender: No OFD packet to send [02:11:10]OFD Sender: No OFD packet to send [02:11:15]OFD Sender: No OFD packet to send [02:11:20]OFD Sender: No OFD packet to send [02:11:25]OFD Sender: No OFD packet to send [02:11:30]OFD Sender: No OFD packet to send [02:11:35]OFD Sender: No OFD packet to send [02:11:40]OFD Sender: No OFD packet to send [02:11:45]OFD Sender: No OFD packet to send [02:11:50]OFD Sender: No OFD packet to send [02:11:55]OFD Sender: No OFD packet to send [02:12:00]OFD Sender: No OFD packet to send [02:12:05]OFD Sender: No OFD packet to send [02:12:10]OFD Sender: No OFD packet to send [02:12:15]OFD Sender: No OFD packet to send [02:12:20]OFD Sender: No OFD packet to send [02:12:25]OFD Sender: No OFD packet to send [02:12:30]OFD Sender: No OFD packet to send [02:12:35]OFD Sender: No OFD packet to send [02:12:40]OFD Sender: No OFD packet to send [02:12:45]OFD Sender: No OFD packet to send [02:12:50]OFD Sender: No OFD packet to send [02:12:55]OFD Sender: No OFD packet to send [02:13:00]OFD Sender: No OFD packet to send [02:13:05]OFD Sender: No OFD packet to send [02:13:10]OFD Sender: No OFD packet to send [02:13:15]OFD Sender: No OFD packet to send [02:13:20]OFD Sender: No OFD packet to send [02:13:25]OFD Sender: No OFD packet to send [02:13:30]OFD Sender: No OFD packet to send [02:13:35]OFD Sender: No OFD packet to send [02:13:40]OFD Sender: No OFD packet to send [02:13:45]OFD Sender: No OFD packet to send [02:13:50]OFD Sender: No OFD packet to send [02:13:55]OFD Sender: No OFD packet to send [02:14:00]OFD Sender: No OFD packet to send [02:14:05]OFD Sender: No OFD packet to send [02:14:10]OFD Sender: No OFD packet to send [02:14:15]OFD Sender: No OFD packet to send [02:14:20]OFD Sender: No OFD packet to send [02:14:25]OFD Sender: No OFD packet to send [02:14:30]OFD Sender: No OFD packet to send [02:14:35]OFD Sender: No OFD packet to send [02:14:40]OFD Sender: No OFD packet to send [02:14:45]OFD Sender: No OFD packet to send [02:14:50]OFD Sender: No OFD packet to send [02:14:55]OFD Sender: No OFD packet to send [02:15:00]OFD Sender: No OFD packet to send [02:15:05]OFD Sender: No OFD packet to send [02:15:10]OFD Sender: No OFD packet to send [02:15:15]OFD Sender: No OFD packet to send [02:15:20]OFD Sender: No OFD packet to send [02:15:25]OFD Sender: No OFD packet to send [02:15:30]OFD Sender: No OFD packet to send [02:15:35]OFD Sender: No OFD packet to send [02:15:40]OFD Sender: No OFD packet to send [02:15:45]OFD Sender: No OFD packet to send [02:15:50]OFD Sender: No OFD packet to send [02:15:55]OFD Sender: No OFD packet to send [02:16:00]OFD Sender: No OFD packet to send [02:16:05]OFD Sender: No OFD packet to send [02:16:10]OFD Sender: No OFD packet to send [02:16:15]OFD Sender: No OFD packet to send [02:16:20]OFD Sender: No OFD packet to send [02:16:25]OFD Sender: No OFD packet to send [02:16:30]OFD Sender: No OFD packet to send [02:16:35]OFD Sender: No OFD packet to send [02:16:40]OFD Sender: No OFD packet to send [02:16:45]OFD Sender: No OFD packet to send [02:16:50]OFD Sender: No OFD packet to send [02:16:55]OFD Sender: No OFD packet to send [02:17:00]OFD Sender: No OFD packet to send [02:17:05]OFD Sender: No OFD packet to send [02:17:10]OFD Sender: No OFD packet to send [02:17:15]OFD Sender: No OFD packet to send [02:17:20]OFD Sender: No OFD packet to send [02:17:25]OFD Sender: No OFD packet to send [02:17:30]OFD Sender: No OFD packet to send [02:17:35]OFD Sender: No OFD packet to send [02:17:40]OFD Sender: No OFD packet to send [02:17:45]OFD Sender: No OFD packet to send [02:17:50]OFD Sender: No OFD packet to send [02:17:55]OFD Sender: No OFD packet to send [02:18:00]OFD Sender: No OFD packet to send [02:18:05]OFD Sender: No OFD packet to send [02:18:10]OFD Sender: No OFD packet to send [02:18:15]OFD Sender: No OFD packet to send [02:18:20]OFD Sender: No OFD packet to send [02:18:25]OFD Sender: No OFD packet to send [02:18:30]OFD Sender: No OFD packet to send [02:18:35]OFD Sender: No OFD packet to send [02:18:40]OFD Sender: No OFD packet to send [02:18:45]OFD Sender: No OFD packet to send [02:18:50]OFD Sender: No OFD packet to send [02:18:55]OFD Sender: No OFD packet to send [02:19:00]OFD Sender: No OFD packet to send [02:19:05]OFD Sender: No OFD packet to send [02:19:10]OFD Sender: No OFD packet to send [02:19:15]OFD Sender: No OFD packet to send [02:19:20]OFD Sender: No OFD packet to send [02:19:25]OFD Sender: No OFD packet to send [02:19:30]OFD Sender: No OFD packet to send [02:19:35]OFD Sender: No OFD packet to send [02:19:40]OFD Sender: No OFD packet to send [02:19:45]OFD Sender: No OFD packet to send [02:19:50]OFD Sender: No OFD packet to send [02:19:55]OFD Sender: No OFD packet to send [02:20:00]OFD Sender: No OFD packet to send [02:20:05]OFD Sender: No OFD packet to send [02:20:10]OFD Sender: No OFD packet to send [02:20:15]OFD Sender: No OFD packet to send [02:20:20]OFD Sender: No OFD packet to send [02:20:25]OFD Sender: No OFD packet to send [02:20:30]OFD Sender: No OFD packet to send [02:20:35]OFD Sender: No OFD packet to send [02:20:40]OFD Sender: No OFD packet to send [02:20:45]OFD Sender: No OFD packet to send [02:20:50]OFD Sender: No OFD packet to send [02:20:55]OFD Sender: No OFD packet to send [02:21:00]OFD Sender: No OFD packet to send [02:21:05]OFD Sender: No OFD packet to send [02:21:10]OFD Sender: No OFD packet to send [02:21:15]OFD Sender: No OFD packet to send [02:21:20]OFD Sender: No OFD packet to send [02:21:25]OFD Sender: No OFD packet to send [02:21:30]OFD Sender: No OFD packet to send [02:21:35]OFD Sender: No OFD packet to send [02:21:40]OFD Sender: No OFD packet to send [02:21:45]OFD Sender: No OFD packet to send [02:21:50]OFD Sender: No OFD packet to send [02:21:55]OFD Sender: No OFD packet to send [02:22:00]OFD Sender: No OFD packet to send [02:22:05]OFD Sender: No OFD packet to send [02:22:10]OFD Sender: No OFD packet to send [02:22:15]OFD Sender: No OFD packet to send [02:22:20]OFD Sender: No OFD packet to send [02:22:25]OFD Sender: No OFD packet to send [02:22:30]OFD Sender: No OFD packet to send [02:22:35]OFD Sender: No OFD packet to send [02:22:40]OFD Sender: No OFD packet to send [02:22:45]OFD Sender: No OFD packet to send [02:22:50]OFD Sender: No OFD packet to send [02:22:55]OFD Sender: No OFD packet to send [02:23:00]OFD Sender: No OFD packet to send [02:23:05]OFD Sender: No OFD packet to send [02:23:10]OFD Sender: No OFD packet to send [02:23:15]OFD Sender: No OFD packet to send [02:23:20]OFD Sender: No OFD packet to send [02:23:25]OFD Sender: No OFD packet to send [02:23:30]OFD Sender: No OFD packet to send [02:23:35]OFD Sender: No OFD packet to send [02:23:40]OFD Sender: No OFD packet to send [02:23:45]OFD Sender: No OFD packet to send [02:23:50]OFD Sender: No OFD packet to send [02:23:55]OFD Sender: No OFD packet to send [02:24:00]OFD Sender: No OFD packet to send [02:24:05]OFD Sender: No OFD packet to send [02:24:10]OFD Sender: No OFD packet to send [02:24:15]OFD Sender: No OFD packet to send [02:24:20]OFD Sender: No OFD packet to send [02:24:25]OFD Sender: No OFD packet to send [02:24:30]OFD Sender: No OFD packet to send [02:24:35]OFD Sender: No OFD packet to send [02:24:40]OFD Sender: No OFD packet to send [02:24:45]OFD Sender: No OFD packet to send [02:24:50]OFD Sender: No OFD packet to send [02:24:55]OFD Sender: No OFD packet to send [02:25:00]OFD Sender: No OFD packet to send [02:25:05]OFD Sender: No OFD packet to send [02:25:10]OFD Sender: No OFD packet to send [02:25:15]OFD Sender: No OFD packet to send [02:25:20]OFD Sender: No OFD packet to send [02:25:25]OFD Sender: No OFD packet to send [02:25:30]OFD Sender: No OFD packet to send [02:25:35]OFD Sender: No OFD packet to send [02:25:40]OFD Sender: No OFD packet to send [02:25:45]OFD Sender: No OFD packet to send [02:25:50]OFD Sender: No OFD packet to send [02:25:55]OFD Sender: No OFD packet to send [02:26:00]OFD Sender: No OFD packet to send [02:26:05]OFD Sender: No OFD packet to send [02:26:10]OFD Sender: No OFD packet to send [02:26:15]OFD Sender: No OFD packet to send [02:26:20]OFD Sender: No OFD packet to send [02:26:25]OFD Sender: No OFD packet to send [02:26:30]OFD Sender: No OFD packet to send [02:26:35]OFD Sender: No OFD packet to send [02:26:40]OFD Sender: No OFD packet to send [02:26:45]OFD Sender: No OFD packet to send [02:26:50]OFD Sender: No OFD packet to send [02:26:55]OFD Sender: No OFD packet to send [02:27:00]OFD Sender: No OFD packet to send [02:27:05]OFD Sender: No OFD packet to send [02:27:10]OFD Sender: No OFD packet to send [02:27:15]OFD Sender: No OFD packet to send [02:27:20]OFD Sender: No OFD packet to send [02:27:25]OFD Sender: No OFD packet to send [02:27:30]OFD Sender: No OFD packet to send [02:27:35]OFD Sender: No OFD packet to send [02:27:40]OFD Sender: No OFD packet to send [02:27:45]OFD Sender: No OFD packet to send [02:27:50]OFD Sender: No OFD packet to send [02:27:55]OFD Sender: No OFD packet to send [02:28:00]OFD Sender: No OFD packet to send [02:28:05]OFD Sender: No OFD packet to send [02:28:10]OFD Sender: No OFD packet to send [02:28:15]OFD Sender: No OFD packet to send [02:28:20]OFD Sender: No OFD packet to send [02:28:25]OFD Sender: No OFD packet to send [02:28:30]OFD Sender: No OFD packet to send [02:28:35]OFD Sender: No OFD packet to send [02:28:40]OFD Sender: No OFD packet to send [02:28:45]OFD Sender: No OFD packet to send [02:28:50]OFD Sender: No OFD packet to send [02:28:55]OFD Sender: No OFD packet to send [02:29:00]OFD Sender: No OFD packet to send [02:29:05]OFD Sender: No OFD packet to send [02:29:10]OFD Sender: No OFD packet to send [02:29:15]OFD Sender: No OFD packet to send [02:29:20]OFD Sender: No OFD packet to send [02:29:25]OFD Sender: No OFD packet to send [02:29:30]OFD Sender: No OFD packet to send [02:29:35]OFD Sender: No OFD packet to send [02:29:40]OFD Sender: No OFD packet to send [02:29:45]OFD Sender: No OFD packet to send [02:29:50]OFD Sender: No OFD packet to send [02:29:55]OFD Sender: No OFD packet to send [02:30:00]OFD Sender: No OFD packet to send [02:30:05]OFD Sender: No OFD packet to send [02:30:10]OFD Sender: No OFD packet to send [02:30:15]OFD Sender: No OFD packet to send [02:30:20]OFD Sender: No OFD packet to send [02:30:25]OFD Sender: No OFD packet to send [02:30:30]OFD Sender: No OFD packet to send [02:30:35]OFD Sender: No OFD packet to send [02:30:40]OFD Sender: No OFD packet to send [02:30:45]OFD Sender: No OFD packet to send [02:30:50]OFD Sender: No OFD packet to send [02:30:55]OFD Sender: No OFD packet to send [02:31:00]OFD Sender: No OFD packet to send [02:31:05]OFD Sender: No OFD packet to send [02:31:10]OFD Sender: No OFD packet to send [02:31:15]OFD Sender: No OFD packet to send [02:31:20]OFD Sender: No OFD packet to send [02:31:25]OFD Sender: No OFD packet to send [02:31:30]OFD Sender: No OFD packet to send [02:31:35]OFD Sender: No OFD packet to send [02:31:40]OFD Sender: No OFD packet to send [02:31:45]OFD Sender: No OFD packet to send [02:31:50]OFD Sender: No OFD packet to send [02:31:55]OFD Sender: No OFD packet to send [02:32:00]OFD Sender: No OFD packet to send [02:32:05]OFD Sender: No OFD packet to send [02:32:10]OFD Sender: No OFD packet to send [02:32:15]OFD Sender: No OFD packet to send [02:32:20]OFD Sender: No OFD packet to send [02:32:25]OFD Sender: No OFD packet to send [02:32:30]OFD Sender: No OFD packet to send [02:32:35]OFD Sender: No OFD packet to send [02:32:40]OFD Sender: No OFD packet to send [02:32:46]OFD Sender: No OFD packet to send [02:32:51]OFD Sender: No OFD packet to send [02:32:56]OFD Sender: No OFD packet to send [02:33:01]OFD Sender: No OFD packet to send [02:33:06]OFD Sender: No OFD packet to send [02:33:11]OFD Sender: No OFD packet to send [02:33:16]OFD Sender: No OFD packet to send [02:33:21]OFD Sender: No OFD packet to send [02:33:26]OFD Sender: No OFD packet to send [02:33:31]OFD Sender: No OFD packet to send [02:33:36]OFD Sender: No OFD packet to send [02:33:41]OFD Sender: No OFD packet to send [02:33:46]OFD Sender: No OFD packet to send [02:33:51]OFD Sender: No OFD packet to send [02:33:56]OFD Sender: No OFD packet to send [02:34:01]OFD Sender: No OFD packet to send [02:34:06]OFD Sender: No OFD packet to send [02:34:11]OFD Sender: No OFD packet to send [02:34:16]OFD Sender: No OFD packet to send [02:34:21]OFD Sender: No OFD packet to send [02:34:26]OFD Sender: No OFD packet to send [02:34:31]OFD Sender: No OFD packet to send [02:34:36]OFD Sender: No OFD packet to send [02:34:41]OFD Sender: No OFD packet to send [02:34:46]OFD Sender: No OFD packet to send [02:34:51]OFD Sender: No OFD packet to send [02:34:56]OFD Sender: No OFD packet to send [02:35:01]OFD Sender: No OFD packet to send [02:35:06]OFD Sender: No OFD packet to send [02:35:11]OFD Sender: No OFD packet to send [02:35:16]OFD Sender: No OFD packet to send [02:35:21]OFD Sender: No OFD packet to send [02:35:26]OFD Sender: No OFD packet to send [02:35:31]OFD Sender: No OFD packet to send [02:35:36]OFD Sender: No OFD packet to send [02:35:41]OFD Sender: No OFD packet to send [02:35:46]OFD Sender: No OFD packet to send [02:35:51]OFD Sender: No OFD packet to send [02:35:56]OFD Sender: No OFD packet to send [02:36:01]OFD Sender: No OFD packet to send [02:36:06]OFD Sender: No OFD packet to send [02:36:11]OFD Sender: No OFD packet to send [02:36:16]OFD Sender: No OFD packet to send [02:36:21]OFD Sender: No OFD packet to send [02:36:26]OFD Sender: No OFD packet to send [02:36:31]OFD Sender: No OFD packet to send [02:36:36]OFD Sender: No OFD packet to send [02:36:41]OFD Sender: No OFD packet to send [02:36:46]OFD Sender: No OFD packet to send [02:36:51]OFD Sender: No OFD packet to send [02:36:56]OFD Sender: No OFD packet to send [02:37:01]OFD Sender: No OFD packet to send [02:37:06]OFD Sender: No OFD packet to send [02:37:11]OFD Sender: No OFD packet to send [02:37:16]OFD Sender: No OFD packet to send [02:37:21]OFD Sender: No OFD packet to send [02:37:26]OFD Sender: No OFD packet to send [02:37:31]OFD Sender: No OFD packet to send [02:37:36]OFD Sender: No OFD packet to send [02:37:41]OFD Sender: No OFD packet to send [02:37:46]OFD Sender: No OFD packet to send [02:37:51]OFD Sender: No OFD packet to send [02:37:56]OFD Sender: No OFD packet to send [02:38:01]OFD Sender: No OFD packet to send [02:38:06]OFD Sender: No OFD packet to send [02:38:11]OFD Sender: No OFD packet to send [02:38:16]OFD Sender: No OFD packet to send [02:38:21]OFD Sender: No OFD packet to send [02:38:26]OFD Sender: No OFD packet to send [02:38:31]OFD Sender: No OFD packet to send [02:38:36]OFD Sender: No OFD packet to send [02:38:41]OFD Sender: No OFD packet to send [02:38:46]OFD Sender: No OFD packet to send [02:38:51]OFD Sender: No OFD packet to send [02:38:56]OFD Sender: No OFD packet to send [02:39:01]OFD Sender: No OFD packet to send [02:39:06]OFD Sender: No OFD packet to send [02:39:11]OFD Sender: No OFD packet to send [02:39:16]OFD Sender: No OFD packet to send [02:39:21]OFD Sender: No OFD packet to send [02:39:26]OFD Sender: No OFD packet to send [02:39:31]OFD Sender: No OFD packet to send [02:39:36]OFD Sender: No OFD packet to send [02:39:41]OFD Sender: No OFD packet to send [02:39:46]OFD Sender: No OFD packet to send [02:39:51]OFD Sender: No OFD packet to send [02:39:56]OFD Sender: No OFD packet to send [02:40:01]OFD Sender: No OFD packet to send [02:40:06]OFD Sender: No OFD packet to send [02:40:11]OFD Sender: No OFD packet to send [02:40:16]OFD Sender: No OFD packet to send [02:40:21]OFD Sender: No OFD packet to send [02:40:26]OFD Sender: No OFD packet to send [02:40:31]OFD Sender: No OFD packet to send [02:40:36]OFD Sender: No OFD packet to send [02:40:41]OFD Sender: No OFD packet to send [02:40:46]OFD Sender: No OFD packet to send [02:40:51]OFD Sender: No OFD packet to send [02:40:56]OFD Sender: No OFD packet to send [02:41:01]OFD Sender: No OFD packet to send [02:41:06]OFD Sender: No OFD packet to send [02:41:11]OFD Sender: No OFD packet to send [02:41:16]OFD Sender: No OFD packet to send [02:41:21]OFD Sender: No OFD packet to send [02:41:26]OFD Sender: No OFD packet to send [02:41:31]OFD Sender: No OFD packet to send [02:41:36]OFD Sender: No OFD packet to send [02:41:41]OFD Sender: No OFD packet to send [02:41:46]OFD Sender: No OFD packet to send [02:41:51]OFD Sender: No OFD packet to send [02:41:56]OFD Sender: No OFD packet to send [02:42:01]OFD Sender: No OFD packet to send [02:42:06]OFD Sender: No OFD packet to send [02:42:11]OFD Sender: No OFD packet to send [02:42:16]OFD Sender: No OFD packet to send [02:42:21]OFD Sender: No OFD packet to send [02:42:26]OFD Sender: No OFD packet to send [02:42:31]OFD Sender: No OFD packet to send [02:42:36]OFD Sender: No OFD packet to send [02:42:41]OFD Sender: No OFD packet to send [02:42:46]OFD Sender: No OFD packet to send [02:42:51]OFD Sender: No OFD packet to send [02:42:56]OFD Sender: No OFD packet to send [02:43:01]OFD Sender: No OFD packet to send [02:43:06]OFD Sender: No OFD packet to send [02:43:11]OFD Sender: No OFD packet to send [02:43:16]OFD Sender: No OFD packet to send [02:43:21]OFD Sender: No OFD packet to send [02:43:26]OFD Sender: No OFD packet to send [02:43:31]OFD Sender: No OFD packet to send [02:43:36]OFD Sender: No OFD packet to send [02:43:41]OFD Sender: No OFD packet to send [02:43:46]OFD Sender: No OFD packet to send [02:43:51]OFD Sender: No OFD packet to send [02:43:56]OFD Sender: No OFD packet to send [02:44:01]OFD Sender: No OFD packet to send [02:44:06]OFD Sender: No OFD packet to send [02:44:11]OFD Sender: No OFD packet to send [02:44:16]OFD Sender: No OFD packet to send [02:44:21]OFD Sender: No OFD packet to send [02:44:26]OFD Sender: No OFD packet to send [02:44:31]OFD Sender: No OFD packet to send [02:44:36]OFD Sender: No OFD packet to send [02:44:41]OFD Sender: No OFD packet to send [02:44:46]OFD Sender: No OFD packet to send [02:44:51]OFD Sender: No OFD packet to send [02:44:56]OFD Sender: No OFD packet to send [02:45:01]OFD Sender: No OFD packet to send [02:45:06]OFD Sender: No OFD packet to send [02:45:11]OFD Sender: No OFD packet to send [02:45:16]OFD Sender: No OFD packet to send [02:45:21]OFD Sender: No OFD packet to send [02:45:26]OFD Sender: No OFD packet to send [02:45:31]OFD Sender: No OFD packet to send [02:45:36]OFD Sender: No OFD packet to send [02:45:41]OFD Sender: No OFD packet to send [02:45:46]OFD Sender: No OFD packet to send [02:45:51]OFD Sender: No OFD packet to send [02:45:56]OFD Sender: No OFD packet to send [02:46:01]OFD Sender: No OFD packet to send [02:46:06]OFD Sender: No OFD packet to send [02:46:11]OFD Sender: No OFD packet to send [02:46:16]OFD Sender: No OFD packet to send [02:46:21]OFD Sender: No OFD packet to send [02:46:26]OFD Sender: No OFD packet to send [02:46:31]OFD Sender: No OFD packet to send [02:46:36]OFD Sender: No OFD packet to send [02:46:41]OFD Sender: No OFD packet to send [02:46:46]OFD Sender: No OFD packet to send [02:46:51]OFD Sender: No OFD packet to send [02:46:56]OFD Sender: No OFD packet to send [02:47:01]OFD Sender: No OFD packet to send [02:47:06]OFD Sender: No OFD packet to send [02:47:11]OFD Sender: No OFD packet to send [02:47:16]OFD Sender: No OFD packet to send [02:47:21]OFD Sender: No OFD packet to send [02:47:26]OFD Sender: No OFD packet to send [02:47:31]OFD Sender: No OFD packet to send [02:47:36]OFD Sender: No OFD packet to send [02:47:41]OFD Sender: No OFD packet to send [02:47:46]OFD Sender: No OFD packet to send [02:47:51]OFD Sender: No OFD packet to send [02:47:56]OFD Sender: No OFD packet to send [02:48:01]OFD Sender: No OFD packet to send [02:48:06]OFD Sender: No OFD packet to send [02:48:11]OFD Sender: No OFD packet to send [02:48:16]OFD Sender: No OFD packet to send [02:48:21]OFD Sender: No OFD packet to send [02:48:26]OFD Sender: No OFD packet to send [02:48:31]OFD Sender: No OFD packet to send [02:48:36]OFD Sender: No OFD packet to send [02:48:41]OFD Sender: No OFD packet to send [02:48:46]OFD Sender: No OFD packet to send [02:48:51]OFD Sender: No OFD packet to send [02:48:56]OFD Sender: No OFD packet to send [02:49:01]OFD Sender: No OFD packet to send [02:49:06]OFD Sender: No OFD packet to send [02:49:11]OFD Sender: No OFD packet to send [02:49:16]OFD Sender: No OFD packet to send [02:49:21]OFD Sender: No OFD packet to send [02:49:26]OFD Sender: No OFD packet to send [02:49:31]OFD Sender: No OFD packet to send [02:49:36]OFD Sender: No OFD packet to send [02:49:41]OFD Sender: No OFD packet to send [02:49:46]OFD Sender: No OFD packet to send [02:49:51]OFD Sender: No OFD packet to send [02:49:56]OFD Sender: No OFD packet to send [02:50:01]OFD Sender: No OFD packet to send [02:50:06]OFD Sender: No OFD packet to send [02:50:11]OFD Sender: No OFD packet to send [02:50:16]OFD Sender: No OFD packet to send [02:50:21]OFD Sender: No OFD packet to send [02:50:26]OFD Sender: No OFD packet to send [02:50:31]OFD Sender: No OFD packet to send [02:50:36]OFD Sender: No OFD packet to send [02:50:41]OFD Sender: No OFD packet to send [02:50:46]OFD Sender: No OFD packet to send [02:50:51]OFD Sender: No OFD packet to send [02:50:56]OFD Sender: No OFD packet to send [02:51:01]OFD Sender: No OFD packet to send [02:51:06]OFD Sender: No OFD packet to send [02:51:11]OFD Sender: No OFD packet to send [02:51:16]OFD Sender: No OFD packet to send [02:51:21]OFD Sender: No OFD packet to send [02:51:26]OFD Sender: No OFD packet to send [02:51:31]OFD Sender: No OFD packet to send [02:51:36]OFD Sender: No OFD packet to send [02:51:41]OFD Sender: No OFD packet to send [02:51:46]OFD Sender: No OFD packet to send [02:51:51]OFD Sender: No OFD packet to send [02:51:56]OFD Sender: No OFD packet to send [02:52:01]OFD Sender: No OFD packet to send [02:52:06]OFD Sender: No OFD packet to send [02:52:11]OFD Sender: No OFD packet to send [02:52:16]OFD Sender: No OFD packet to send [02:52:21]OFD Sender: No OFD packet to send [02:52:26]OFD Sender: No OFD packet to send [02:52:31]OFD Sender: No OFD packet to send [02:52:36]OFD Sender: No OFD packet to send [02:52:41]OFD Sender: No OFD packet to send [02:52:46]OFD Sender: No OFD packet to send [02:52:51]OFD Sender: No OFD packet to send [02:52:56]OFD Sender: No OFD packet to send [02:53:01]OFD Sender: No OFD packet to send [02:53:06]OFD Sender: No OFD packet to send [02:53:11]OFD Sender: No OFD packet to send [02:53:16]OFD Sender: No OFD packet to send [02:53:21]OFD Sender: No OFD packet to send [02:53:26]OFD Sender: No OFD packet to send [02:53:31]OFD Sender: No OFD packet to send [02:53:36]OFD Sender: No OFD packet to send [02:53:41]OFD Sender: No OFD packet to send [02:53:46]OFD Sender: No OFD packet to send [02:53:51]OFD Sender: No OFD packet to send [02:53:56]OFD Sender: No OFD packet to send [02:54:01]OFD Sender: No OFD packet to send [02:54:06]OFD Sender: No OFD packet to send [02:54:11]OFD Sender: No OFD packet to send [02:54:16]OFD Sender: No OFD packet to send [02:54:22]OFD Sender: No OFD packet to send [02:54:27]OFD Sender: No OFD packet to send [02:54:32]OFD Sender: No OFD packet to send [02:54:37]OFD Sender: No OFD packet to send [02:54:42]OFD Sender: No OFD packet to send [02:54:47]OFD Sender: No OFD packet to send [02:54:52]OFD Sender: No OFD packet to send [02:54:57]OFD Sender: No OFD packet to send [02:55:02]OFD Sender: No OFD packet to send [02:55:07]OFD Sender: No OFD packet to send [02:55:12]OFD Sender: No OFD packet to send [02:55:17]OFD Sender: No OFD packet to send [02:55:22]OFD Sender: No OFD packet to send [02:55:27]OFD Sender: No OFD packet to send [02:55:32]OFD Sender: No OFD packet to send [02:55:37]OFD Sender: No OFD packet to send [02:55:42]OFD Sender: No OFD packet to send [02:55:47]OFD Sender: No OFD packet to send [02:55:52]OFD Sender: No OFD packet to send [02:55:57]OFD Sender: No OFD packet to send [02:56:02]OFD Sender: No OFD packet to send [02:56:07]OFD Sender: No OFD packet to send [02:56:12]OFD Sender: No OFD packet to send [02:56:17]OFD Sender: No OFD packet to send [02:56:22]OFD Sender: No OFD packet to send [02:56:27]OFD Sender: No OFD packet to send [02:56:32]OFD Sender: No OFD packet to send [02:56:37]OFD Sender: No OFD packet to send [02:56:42]OFD Sender: No OFD packet to send [02:56:47]OFD Sender: No OFD packet to send [02:56:52]OFD Sender: No OFD packet to send [02:56:57]OFD Sender: No OFD packet to send [02:57:02]OFD Sender: No OFD packet to send [02:57:07]OFD Sender: No OFD packet to send [02:57:12]OFD Sender: No OFD packet to send [02:57:17]OFD Sender: No OFD packet to send [02:57:22]OFD Sender: No OFD packet to send [02:57:27]OFD Sender: No OFD packet to send [02:57:32]OFD Sender: No OFD packet to send [02:57:37]OFD Sender: No OFD packet to send [02:57:42]OFD Sender: No OFD packet to send [02:57:47]OFD Sender: No OFD packet to send [02:57:52]OFD Sender: No OFD packet to send [02:57:57]OFD Sender: No OFD packet to send [02:58:02]OFD Sender: No OFD packet to send [02:58:07]OFD Sender: No OFD packet to send [02:58:12]OFD Sender: No OFD packet to send [02:58:17]OFD Sender: No OFD packet to send [02:58:22]OFD Sender: No OFD packet to send [02:58:27]OFD Sender: No OFD packet to send [02:58:32]OFD Sender: No OFD packet to send [02:58:37]OFD Sender: No OFD packet to send [02:58:42]OFD Sender: No OFD packet to send [02:58:47]OFD Sender: No OFD packet to send [02:58:52]OFD Sender: No OFD packet to send [02:58:57]OFD Sender: No OFD packet to send [02:59:02]OFD Sender: No OFD packet to send [02:59:07]OFD Sender: No OFD packet to send [02:59:12]OFD Sender: No OFD packet to send [02:59:17]OFD Sender: No OFD packet to send [02:59:22]OFD Sender: No OFD packet to send [02:59:27]OFD Sender: No OFD packet to send [02:59:32]OFD Sender: No OFD packet to send [02:59:37]OFD Sender: No OFD packet to send [02:59:42]OFD Sender: No OFD packet to send [02:59:47]OFD Sender: No OFD packet to send [02:59:52]OFD Sender: No OFD packet to send