[03:13:19]OFD Sender: No OFD packet to send [03:13:24]OFD Sender: No OFD packet to send [03:13:29]OFD Sender: No OFD packet to send [03:13:34]OFD Sender: No OFD packet to send [03:13:39]OFD Sender: No OFD packet to send [03:13:44]OFD Sender: No OFD packet to send [03:13:49]OFD Sender: No OFD packet to send [03:13:54]OFD Sender: No OFD packet to send [03:13:59]OFD Sender: No OFD packet to send [03:14:04]OFD Sender: No OFD packet to send [03:14:09]OFD Sender: No OFD packet to send [03:14:14]OFD Sender: No OFD packet to send [03:14:19]OFD Sender: No OFD packet to send [03:14:24]OFD Sender: No OFD packet to send [03:14:29]OFD Sender: No OFD packet to send [03:14:34]OFD Sender: No OFD packet to send [03:14:39]OFD Sender: No OFD packet to send [03:14:44]OFD Sender: No OFD packet to send [03:14:49]OFD Sender: No OFD packet to send [03:14:54]OFD Sender: No OFD packet to send [03:14:59]OFD Sender: No OFD packet to send [03:15:04]OFD Sender: No OFD packet to send [03:15:09]OFD Sender: No OFD packet to send [03:15:14]OFD Sender: No OFD packet to send [03:15:19]OFD Sender: No OFD packet to send [03:15:24]OFD Sender: No OFD packet to send [03:15:29]OFD Sender: No OFD packet to send [03:15:34]OFD Sender: No OFD packet to send [03:15:39]OFD Sender: No OFD packet to send [03:15:44]OFD Sender: No OFD packet to send [03:15:49]OFD Sender: No OFD packet to send [03:15:54]OFD Sender: No OFD packet to send [03:15:59]OFD Sender: No OFD packet to send [03:16:04]OFD Sender: No OFD packet to send [03:16:09]OFD Sender: No OFD packet to send [03:16:14]OFD Sender: No OFD packet to send [03:16:19]OFD Sender: No OFD packet to send [03:16:24]OFD Sender: No OFD packet to send [03:16:29]OFD Sender: No OFD packet to send [03:16:34]OFD Sender: No OFD packet to send [03:16:39]OFD Sender: No OFD packet to send [03:16:44]OFD Sender: No OFD packet to send [03:16:49]OFD Sender: No OFD packet to send [03:16:54]OFD Sender: No OFD packet to send [03:16:59]OFD Sender: No OFD packet to send [03:17:04]OFD Sender: No OFD packet to send [03:17:09]OFD Sender: No OFD packet to send [03:17:14]OFD Sender: No OFD packet to send [03:17:19]OFD Sender: No OFD packet to send [03:17:24]OFD Sender: No OFD packet to send [03:17:29]OFD Sender: No OFD packet to send [03:17:34]OFD Sender: No OFD packet to send [03:17:39]OFD Sender: No OFD packet to send [03:17:44]OFD Sender: No OFD packet to send [03:17:49]OFD Sender: No OFD packet to send [03:17:54]OFD Sender: No OFD packet to send [03:17:59]OFD Sender: No OFD packet to send [03:18:04]OFD Sender: No OFD packet to send [03:18:09]OFD Sender: No OFD packet to send [03:18:14]OFD Sender: No OFD packet to send [03:18:19]OFD Sender: No OFD packet to send [03:18:24]OFD Sender: No OFD packet to send [03:18:29]OFD Sender: No OFD packet to send [03:18:34]OFD Sender: No OFD packet to send [03:18:39]OFD Sender: No OFD packet to send [03:18:44]OFD Sender: No OFD packet to send [03:18:49]OFD Sender: No OFD packet to send [03:18:54]OFD Sender: No OFD packet to send [03:18:59]OFD Sender: No OFD packet to send [03:19:04]OFD Sender: No OFD packet to send [03:19:09]OFD Sender: No OFD packet to send [03:19:14]OFD Sender: No OFD packet to send [03:19:19]OFD Sender: No OFD packet to send [03:19:24]OFD Sender: No OFD packet to send [03:19:29]OFD Sender: No OFD packet to send [03:19:34]OFD Sender: No OFD packet to send [03:19:39]OFD Sender: No OFD packet to send [03:19:44]OFD Sender: No OFD packet to send [03:19:49]OFD Sender: No OFD packet to send [03:19:54]OFD Sender: No OFD packet to send [03:19:59]OFD Sender: No OFD packet to send [03:20:04]OFD Sender: No OFD packet to send [03:20:09]OFD Sender: No OFD packet to send [03:20:14]OFD Sender: No OFD packet to send [03:20:19]OFD Sender: No OFD packet to send [03:20:24]OFD Sender: No OFD packet to send [03:20:29]OFD Sender: No OFD packet to send [03:20:34]OFD Sender: No OFD packet to send [03:20:39]OFD Sender: No OFD packet to send [03:20:44]OFD Sender: No OFD packet to send [03:20:49]OFD Sender: No OFD packet to send [03:20:54]OFD Sender: No OFD packet to send [03:20:59]OFD Sender: No OFD packet to send [03:21:04]OFD Sender: No OFD packet to send [03:21:09]OFD Sender: No OFD packet to send [03:21:14]OFD Sender: No OFD packet to send [03:21:19]OFD Sender: No OFD packet to send [03:21:24]OFD Sender: No OFD packet to send [03:21:29]OFD Sender: No OFD packet to send [03:21:34]OFD Sender: No OFD packet to send [03:21:39]OFD Sender: No OFD packet to send [03:21:44]OFD Sender: No OFD packet to send [03:21:49]OFD Sender: No OFD packet to send [03:21:54]OFD Sender: No OFD packet to send [03:21:59]OFD Sender: No OFD packet to send [03:22:04]OFD Sender: No OFD packet to send [03:22:09]OFD Sender: No OFD packet to send [03:22:14]OFD Sender: No OFD packet to send [03:22:19]OFD Sender: No OFD packet to send [03:22:24]OFD Sender: No OFD packet to send [03:22:29]OFD Sender: No OFD packet to send [03:22:34]OFD Sender: No OFD packet to send [03:22:39]OFD Sender: No OFD packet to send [03:22:44]OFD Sender: No OFD packet to send [03:22:49]OFD Sender: No OFD packet to send [03:22:54]OFD Sender: No OFD packet to send [03:22:59]OFD Sender: No OFD packet to send [03:23:04]OFD Sender: No OFD packet to send [03:23:09]OFD Sender: No OFD packet to send [03:23:14]OFD Sender: No OFD packet to send [03:23:19]OFD Sender: No OFD packet to send [03:23:24]OFD Sender: No OFD packet to send [03:23:29]OFD Sender: No OFD packet to send [03:23:34]OFD Sender: No OFD packet to send [03:23:39]OFD Sender: No OFD packet to send [03:23:44]OFD Sender: No OFD packet to send [03:23:49]OFD Sender: No OFD packet to send [03:23:54]OFD Sender: No OFD packet to send [03:23:59]OFD Sender: No OFD packet to send [03:24:04]OFD Sender: No OFD packet to send [03:24:09]OFD Sender: No OFD packet to send [03:24:14]OFD Sender: No OFD packet to send [03:24:19]OFD Sender: No OFD packet to send [03:24:24]OFD Sender: No OFD packet to send [03:24:29]OFD Sender: No OFD packet to send [03:24:34]OFD Sender: No OFD packet to send [03:24:39]OFD Sender: No OFD packet to send [03:24:44]OFD Sender: No OFD packet to send [03:24:49]OFD Sender: No OFD packet to send [03:24:54]OFD Sender: No OFD packet to send [03:24:59]OFD Sender: No OFD packet to send [03:25:04]OFD Sender: No OFD packet to send [03:25:09]OFD Sender: No OFD packet to send [03:25:14]OFD Sender: No OFD packet to send [03:25:19]OFD Sender: No OFD packet to send [03:25:24]OFD Sender: No OFD packet to send [03:25:29]OFD Sender: No OFD packet to send [03:25:34]OFD Sender: No OFD packet to send [03:25:39]OFD Sender: No OFD packet to send [03:25:44]OFD Sender: No OFD packet to send [03:25:49]OFD Sender: No OFD packet to send [03:25:54]OFD Sender: No OFD packet to send [03:25:59]OFD Sender: No OFD packet to send [03:26:04]OFD Sender: No OFD packet to send [03:26:09]OFD Sender: No OFD packet to send [03:26:14]OFD Sender: No OFD packet to send [03:26:19]OFD Sender: No OFD packet to send [03:26:24]OFD Sender: No OFD packet to send [03:26:29]OFD Sender: No OFD packet to send [03:26:34]OFD Sender: No OFD packet to send [03:26:39]OFD Sender: No OFD packet to send [03:26:44]OFD Sender: No OFD packet to send [03:26:49]OFD Sender: No OFD packet to send [03:26:54]OFD Sender: No OFD packet to send [03:26:59]OFD Sender: No OFD packet to send [03:27:04]OFD Sender: No OFD packet to send [03:27:09]OFD Sender: No OFD packet to send [03:27:14]OFD Sender: No OFD packet to send [03:27:19]OFD Sender: No OFD packet to send [03:27:24]OFD Sender: No OFD packet to send [03:27:29]OFD Sender: No OFD packet to send [03:27:34]OFD Sender: No OFD packet to send [03:27:39]OFD Sender: No OFD packet to send [03:27:44]OFD Sender: No OFD packet to send [03:27:49]OFD Sender: No OFD packet to send [03:27:54]OFD Sender: No OFD packet to send [03:27:59]OFD Sender: No OFD packet to send [03:28:04]OFD Sender: No OFD packet to send [03:28:09]OFD Sender: No OFD packet to send [03:28:14]OFD Sender: No OFD packet to send [03:28:20]OFD Sender: No OFD packet to send [03:28:25]OFD Sender: No OFD packet to send [03:28:30]OFD Sender: No OFD packet to send [03:28:35]OFD Sender: No OFD packet to send [03:28:40]OFD Sender: No OFD packet to send [03:28:45]OFD Sender: No OFD packet to send [03:28:50]OFD Sender: No OFD packet to send [03:28:55]OFD Sender: No OFD packet to send [03:29:00]OFD Sender: No OFD packet to send [03:29:05]OFD Sender: No OFD packet to send [03:29:10]OFD Sender: No OFD packet to send [03:29:15]OFD Sender: No OFD packet to send [03:29:20]OFD Sender: No OFD packet to send [03:29:25]OFD Sender: No OFD packet to send [03:29:30]OFD Sender: No OFD packet to send [03:29:35]OFD Sender: No OFD packet to send [03:29:40]OFD Sender: No OFD packet to send [03:29:45]OFD Sender: No OFD packet to send [03:29:50]OFD Sender: No OFD packet to send [03:29:55]OFD Sender: No OFD packet to send [03:30:00]OFD Sender: No OFD packet to send [03:30:05]OFD Sender: No OFD packet to send [03:30:10]OFD Sender: No OFD packet to send [03:30:15]OFD Sender: No OFD packet to send [03:30:20]OFD Sender: No OFD packet to send [03:30:25]OFD Sender: No OFD packet to send [03:30:30]OFD Sender: No OFD packet to send [03:30:35]OFD Sender: No OFD packet to send [03:30:40]OFD Sender: No OFD packet to send [03:30:45]OFD Sender: No OFD packet to send [03:30:50]OFD Sender: No OFD packet to send [03:30:55]OFD Sender: No OFD packet to send [03:31:00]OFD Sender: No OFD packet to send [03:31:05]OFD Sender: No OFD packet to send [03:31:10]OFD Sender: No OFD packet to send [03:31:15]OFD Sender: No OFD packet to send [03:31:20]OFD Sender: No OFD packet to send [03:31:25]OFD Sender: No OFD packet to send [03:31:30]OFD Sender: No OFD packet to send [03:31:35]OFD Sender: No OFD packet to send [03:31:40]OFD Sender: No OFD packet to send [03:31:45]OFD Sender: No OFD packet to send [03:31:50]OFD Sender: No OFD packet to send [03:31:55]OFD Sender: No OFD packet to send [03:32:00]OFD Sender: No OFD packet to send [03:32:05]OFD Sender: No OFD packet to send [03:32:10]OFD Sender: No OFD packet to send [03:32:15]OFD Sender: No OFD packet to send [03:32:20]OFD Sender: No OFD packet to send [03:32:25]OFD Sender: No OFD packet to send [03:32:30]OFD Sender: No OFD packet to send [03:32:35]OFD Sender: No OFD packet to send [03:32:40]OFD Sender: No OFD packet to send [03:32:45]OFD Sender: No OFD packet to send [03:32:50]OFD Sender: No OFD packet to send [03:32:55]OFD Sender: No OFD packet to send [03:33:00]OFD Sender: No OFD packet to send [03:33:05]OFD Sender: No OFD packet to send [03:33:10]OFD Sender: No OFD packet to send [03:33:15]OFD Sender: No OFD packet to send [03:33:20]OFD Sender: No OFD packet to send [03:33:25]OFD Sender: No OFD packet to send [03:33:30]OFD Sender: No OFD packet to send [03:33:35]OFD Sender: No OFD packet to send [03:33:40]OFD Sender: No OFD packet to send [03:33:45]OFD Sender: No OFD packet to send [03:33:50]OFD Sender: No OFD packet to send [03:33:55]OFD Sender: No OFD packet to send [03:34:00]OFD Sender: No OFD packet to send [03:34:05]OFD Sender: No OFD packet to send [03:34:10]OFD Sender: No OFD packet to send [03:34:15]OFD Sender: No OFD packet to send [03:34:20]OFD Sender: No OFD packet to send [03:34:25]OFD Sender: No OFD packet to send [03:34:30]OFD Sender: No OFD packet to send [03:34:35]OFD Sender: No OFD packet to send [03:34:40]OFD Sender: No OFD packet to send [03:34:45]OFD Sender: No OFD packet to send [03:34:50]OFD Sender: No OFD packet to send [03:34:55]OFD Sender: No OFD packet to send [03:35:00]OFD Sender: No OFD packet to send [03:35:05]OFD Sender: No OFD packet to send [03:35:10]OFD Sender: No OFD packet to send [03:35:15]OFD Sender: No OFD packet to send [03:35:20]OFD Sender: No OFD packet to send [03:35:25]OFD Sender: No OFD packet to send [03:35:30]OFD Sender: No OFD packet to send [03:35:35]OFD Sender: No OFD packet to send [03:35:40]OFD Sender: No OFD packet to send [03:35:45]OFD Sender: No OFD packet to send [03:35:50]OFD Sender: No OFD packet to send [03:35:55]OFD Sender: No OFD packet to send [03:36:00]OFD Sender: No OFD packet to send [03:36:05]OFD Sender: No OFD packet to send [03:36:10]OFD Sender: No OFD packet to send [03:36:15]OFD Sender: No OFD packet to send [03:36:20]OFD Sender: No OFD packet to send [03:36:25]OFD Sender: No OFD packet to send [03:36:30]OFD Sender: No OFD packet to send [03:36:35]OFD Sender: No OFD packet to send [03:36:40]OFD Sender: No OFD packet to send [03:36:45]OFD Sender: No OFD packet to send [03:36:50]OFD Sender: No OFD packet to send [03:36:55]OFD Sender: No OFD packet to send [03:37:00]OFD Sender: No OFD packet to send [03:37:05]OFD Sender: No OFD packet to send [03:37:10]OFD Sender: No OFD packet to send [03:37:15]OFD Sender: No OFD packet to send [03:37:20]OFD Sender: No OFD packet to send [03:37:25]OFD Sender: No OFD packet to send [03:37:30]OFD Sender: No OFD packet to send [03:37:35]OFD Sender: No OFD packet to send [03:37:40]OFD Sender: No OFD packet to send [03:37:45]OFD Sender: No OFD packet to send [03:37:50]OFD Sender: No OFD packet to send [03:37:55]OFD Sender: No OFD packet to send [03:38:00]OFD Sender: No OFD packet to send [03:38:05]OFD Sender: No OFD packet to send [03:38:10]OFD Sender: No OFD packet to send [03:38:15]OFD Sender: No OFD packet to send [03:38:20]OFD Sender: No OFD packet to send [03:38:25]OFD Sender: No OFD packet to send [03:38:30]OFD Sender: No OFD packet to send [03:38:35]OFD Sender: No OFD packet to send [03:38:40]OFD Sender: No OFD packet to send [03:38:45]OFD Sender: No OFD packet to send [03:38:50]OFD Sender: No OFD packet to send [03:38:55]OFD Sender: No OFD packet to send [03:39:00]OFD Sender: No OFD packet to send [03:39:05]OFD Sender: No OFD packet to send [03:39:10]OFD Sender: No OFD packet to send [03:39:15]OFD Sender: No OFD packet to send [03:39:20]OFD Sender: No OFD packet to send [03:39:25]OFD Sender: No OFD packet to send [03:39:30]OFD Sender: No OFD packet to send [03:39:35]OFD Sender: No OFD packet to send [03:39:40]OFD Sender: No OFD packet to send [03:39:45]OFD Sender: No OFD packet to send [03:39:50]OFD Sender: No OFD packet to send [03:39:55]OFD Sender: No OFD packet to send [03:40:00]OFD Sender: No OFD packet to send [03:40:05]OFD Sender: No OFD packet to send [03:40:10]OFD Sender: No OFD packet to send [03:40:15]OFD Sender: No OFD packet to send [03:40:20]OFD Sender: No OFD packet to send [03:40:25]OFD Sender: No OFD packet to send [03:40:30]OFD Sender: No OFD packet to send [03:40:35]OFD Sender: No OFD packet to send [03:40:40]OFD Sender: No OFD packet to send [03:40:45]OFD Sender: No OFD packet to send [03:40:50]OFD Sender: No OFD packet to send [03:40:55]OFD Sender: No OFD packet to send [03:41:00]OFD Sender: No OFD packet to send [03:41:05]OFD Sender: No OFD packet to send [03:41:10]OFD Sender: No OFD packet to send [03:41:12]accept exits with 9 [03:41:12]New connection [03:41:12]New thread 3067309412 created [03:41:12]Thread 3067166052 joined [03:41:12]Waiting for new connection... [03:41:12] Sock 9.Parse request [03:41:12]Sock 9.Check first char [03:41:12]Sock 9.First char is OK [03:41:12]request: POST /json_proto HTTP/1.0 [03:41:12]Method: POST [03:41:12]URL: /json_proto [03:41:12]Method is POST - this is cgi request [03:41:12]url: /json_proto [03:41:12]query_string will be loaded in cgi processing [03:41:12]execute_cgi json_proto POST (null) [03:41:12]execute_cgi path=json_proto method=POST [03:41:12]POST find Content-Length [03:41:12]Host: 172.17.53.196:8080 [03:41:12]Content-Length: 1190 [03:41:12]Content-Type: application/json [03:41:12] [03:41:12]POST finish read [03:41:12]Found Content-Length = 1190 [03:41:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34607", "tax_sys" : 0, "items" : [ { "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \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 }]} ,{ "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": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 482.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:41:12]execute_script... [03:41: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)34607", "tax_sys" : 0, "items" : [ { "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \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 }]} ,{ "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": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 482.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:41:12]POST & json_proto [03:41:12]process_json_proto [03:41:12]json parsed OK: [03:41:12]protocol is kg_v1.0 [03:41:12]action value=close_receipt [03:41:12]process_action close_receipt [03:41:12]cmd_close_receipt [03:41:12]MH_GetDate [03:41:12]Write to MH i2c: F0 00 00 21 02 12 [03:41:12]Write i2c OK [03:41:12]MH_I2C_Read... [03:41:12]Read from MH i2c: F0 [03:41:12]MH_I2C_Read... [03:41:12]Read from MH i2c: F0 09 00 [03:41:12]MH_I2C_Read... [03:41:12]Read from MH i2c: F0 09 00 21 02 00 D9 7B 14 67 4F CD 9A 65 05 [03:41:12]GetLastDocTimeStamp 1729388387 [03:41:12]current date 1729395673 [03:41:12]FM_GetShiftState [03:41:12]SAM_PROTO_GetShiftState [03:41:12]wFMCommunicate request_size=4 [03:41:12]MH_SAM_APDU [03:41:12]CAPDU: 80 13 01 00 [03:41:12]Write to MH i2c: E2 08 00 22 02 80 13 01 00 00 00 00 00 A1 [03:41:12]Write i2c OK [03:41:12]MH_I2C_Read... [03:41:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:41:12]Read from MH i2c: E2 [03:41:12]MH_I2C_Read... [03:41:12]Read from MH i2c: E2 0E 00 [03:41:12]MH_I2C_Read... [03:41:12]Read from MH i2c: E2 0E 00 22 02 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 E7 [03:41:12]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [03:41:12]wFMCommunicate OK [03:41:12]SAM_PROTO_GetShiftState done [03:41:12]FM_GetShiftState done [03:41:12]opened in 1729384049 [03:41:12]opened+sec_in_day 1729470449 [03:41:12]quantity*price = 9500 [03:41:12]sum+1 = 9501 [03:41:12]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870022003305 Напиток Gorilla эн нат ж/б 0,5/0,45л 1.000 * 99.00 = 99.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 2.000 * 144.00 = 288.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 482.00 НСП 1% : 4.27 НДС 12% : 51.18 Наличными: 482.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 5 20.10.2024 03:41 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24847 ФПД: 69991931509252 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T034113&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24847&fm=69991931509252&tin=02508201610067®Number=0000000000098147&sum=48200 0 [03:41:13]StoreToDocumentArchive [03:41:13]shift 455 fd 24847 [03:41:13]save to /storage/0455/doc_00024847 [03:41:13]save last doc name /storage/0455/doc_00024847 to /storage/kkm_last_doc_name [03:41:13]save OK [03:41:13]Clear old archive folders... [03:41:13]ProcessDocumentItem done err = 0, tmpTLVsize=519 [03:41:13]tlvbuf is 00DDC900 [03:41:13]SAM_PROTO_ClearQueue [03:41:13]wFMCommunicate request_size=4 [03:41:13]MH_SAM_APDU [03:41:13]CAPDU: 80 09 00 00 [03:41:13]Write to MH i2c: E2 08 00 2F 02 80 09 00 00 00 00 00 00 A3 [03:41:13]Write i2c OK [03:41:13]MH_I2C_Read... [03:41:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:41:13]Read from MH i2c: E2 [03:41:13]MH_I2C_Read... [03:41:13]Read from MH i2c: E2 03 00 [03:41:13]MH_I2C_Read... [03:41:13]Read from MH i2c: E2 03 00 2F 02 00 90 00 A5 [03:41:13]RAPDU: 90 00 [03:41:13]wFMCommunicate OK [03:41:13]SAM_PROTO_ClearQueue done [03:41:13]KKMCreateOFDPacket [03:41:13]OFDProtocolAddRootSTLVToBuf [03:41:13]FM_MakeSignedData [03:41:13]FM_MakeSignedData [03:41:13]SAM_PROTO_SignData [03:41:13]wFMCommunicate request_size=4 [03:41:13]MH_SAM_APDU [03:41:13]CAPDU: 80 0D 01 02 [03:41:13]Write to MH i2c: E2 08 00 30 02 80 0D 01 02 00 00 00 00 AB [03:41:13]Write i2c OK [03:41:13]MH_I2C_Read... [03:41:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:41:13]Read from MH i2c: E2 [03:41:13]MH_I2C_Read... [03:41:13]Read from MH i2c: E2 03 00 [03:41:13]MH_I2C_Read... [03:41:13]Read from MH i2c: E2 03 00 30 02 00 90 00 A6 [03:41:13]RAPDU: 90 00 [03:41:13]wFMCommunicate OK [03:41:13]wFMCommunicate request_size=255 [03:41:13]MH_SAM_APDU [03:41:13]CAPDU: 80 0D 02 02 FA 03 00 07 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 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 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 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 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 [03:41:13]Write to MH i2c: E2 02 01 31 02 80 0D 02 02 FA 00 03 00 07 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 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 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 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 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 00 00 3D [03:41:13]Write i2c OK [03:41:13]MH_I2C_Read... [03:41:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:41:14]Read from MH i2c: E2 [03:41:14]MH_I2C_Read... [03:41:14]Read from MH i2c: E2 03 00 [03:41:14]MH_I2C_Read... [03:41:14]Read from MH i2c: E2 03 00 31 02 00 90 00 A7 [03:41:14]RAPDU: 90 00 [03:41:14]wFMCommunicate OK [03:41:14]wFMCommunicate request_size=255 [03:41:14]MH_SAM_APDU [03:41:14]CAPDU: 80 0D 02 02 FA 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 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 48 BC 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 13 00 00 00 00 07 04 06 00 48 BC 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 D9 7B 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [03:41:14]Write to MH i2c: E2 02 01 32 02 80 0D 02 02 FA 00 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 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 48 BC 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 13 00 00 00 00 07 04 06 00 48 BC 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 D9 7B 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 C4 [03:41:14]Write i2c OK [03:41:14]MH_I2C_Read... [03:41:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:41:14]Read from MH i2c: E2 [03:41:14]MH_I2C_Read... [03:41:14]Read from MH i2c: E2 03 00 [03:41:14]MH_I2C_Read... [03:41:14]Read from MH i2c: E2 03 00 32 02 00 90 00 A8 [03:41:14]RAPDU: 90 00 [03:41:14]wFMCommunicate OK [03:41:14]wFMCommunicate request_size=28 [03:41:14]MH_SAM_APDU [03:41:14]CAPDU: 80 0D 02 02 17 36 35 33 37 36 10 04 04 00 0F 61 00 00 35 04 06 00 3F A8 44 36 FA 04 [03:41:14]Write to MH i2c: E2 1F 00 33 02 80 0D 02 02 17 00 36 35 33 37 36 10 04 04 00 0F 61 00 00 35 04 06 00 3F A8 44 36 FA 04 00 00 0E [03:41:14]Write i2c OK [03:41:14]MH_I2C_Read... [03:41:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:41:14]Read from MH i2c: E2 [03:41:14]MH_I2C_Read... [03:41:14]Read from MH i2c: E2 03 00 [03:41:14]MH_I2C_Read... [03:41:14]Read from MH i2c: E2 03 00 33 02 00 90 00 A9 [03:41:14]RAPDU: 90 00 [03:41:14]wFMCommunicate OK [03:41:14]wFMCommunicate request_size=4 [03:41:14]MH_SAM_APDU [03:41:14]CAPDU: 80 0D 03 02 [03:41:14]Write to MH i2c: E2 08 00 34 02 80 0D 03 02 00 00 00 00 B1 [03:41:14]Write i2c OK [03:41:14]MH_I2C_Read... [03:41:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:41:14]Read from MH i2c: E2 [03:41:14]MH_I2C_Read... [03:41:14]Read from MH i2c: E2 0B 00 [03:41:14]MH_I2C_Read... [03:41:14]Read from MH i2c: E2 0B 00 34 02 00 45 E1 CE 0B C9 E2 20 C7 90 00 43 [03:41:14]RAPDU: 45 E1 CE 0B C9 E2 20 C7 90 00 [03:41:14]wFMCommunicate OK [03:41:14]SAM_PROTO_SignData done [03:41:14]FM_MakeSignedData done [03:41:14]CreateOFDProtocolMessage [03:41:14]wFMCommunicate request_size=4 [03:41:14]MH_SAM_APDU [03:41:14]CAPDU: 80 11 00 00 [03:41:14]Write to MH i2c: E2 08 00 35 02 80 11 00 00 00 00 00 00 B1 [03:41:14]Write i2c OK [03:41:14]MH_I2C_Read... [03:41:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:41:14]Read from MH i2c: E2 [03:41:14]MH_I2C_Read... [03:41:14]Read from MH i2c: E2 17 00 [03:41:14]MH_I2C_Read... [03:41:14]Read from MH i2c: E2 17 00 35 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 08 [03:41:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [03:41:14]wFMCommunicate OK [03:41:14]CreateOFDProtocolMessage done [03:41:14]OFDSenderStorePacket 24847 [03:41:14]StoreOFDPacket docnum=24847 [03:41:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 1B 02 00 00 A0 E9 13 02 D3 71 5A 03 01 00 03 00 07 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 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 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 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 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 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 BC 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 13 00 00 00 00 07 04 06 00 48 BC 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 D9 7B 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 0F 61 00 00 35 04 06 00 3F A8 44 36 FA 04 45 E1 CE 0B C9 E2 20 C7 [03:41:14]CheckFolder [03:41:14]dirname=/storage/ofd_packets [03:41:14]CheckFolder done [03:41:14]ProducePacketName [03:41:14]name=ofd_packets/00024847 [03:41:14]NVStorageSaveData ofd_packets/00024847 [03:41:14]File name is /storage/ofd_packets/00024847 [03:41:14]Write 569 bytes [03:41:14]NVStorageSaveData done [03:41:14]OFDSenderStorePacket done [03:41:14]KKMCreateOFDPacket done [03:41:14]NVStorageSaveData kkm_last_timestamp [03:41:14]File name is /storage/kkm_last_timestamp [03:41:14]Write 4 bytes [03:41:14]NVStorageSaveData done [03:41:14]ExternCall_PrintAddStr [03:41:14]wPrintStart [03:41:14]Write to MH i2c: 01 00 00 36 02 38 [03:41:14]Write i2c OK [03:41:14]MH_I2C_Read... [03:41:14]Read from MH i2c: 01 [03:41:14]MH_I2C_Read... [03:41:14]Read from MH i2c: 01 07 00 [03:41:14]MH_I2C_Read... [03:41:14]Read from MH i2c: 01 07 00 36 02 00 00 00 00 00 FF 0F 4D [03:41:14]RasterBufferAndPrint [03:41:14]line Счет N : (3)34607 [03:41:14]line ИНН: 02508201610067 [03:41:14]line Контрольно-Кассовый Чек [03:41:14]line ПРОДАЖА [03:41:14]line Товар: 4700003010056 [03:41:14]line Чай хол Let`s Go! зел лим ПЭТ 1,25л [03:41:14]line 1.000 * 95.00 [03:41:14]line = 95.00 [03:41:14]line НДС 12% НСП 1% [03:41:14]line > о реализуемом товаре [03:41:14]line Товар: 4870022003305 [03:41:14]line Напиток Gorilla эн нат ж/б 0,5/0,45л [03:41:14]line 1.000 * 99.00 [03:41:14]line = 99.00 [03:41:14]line НДС 12% НСП 1% [03:41:14]line > о реализуемом товаре [03:41:14]line Товар: 48743570 [03:41:14]line Сигареты Winston XStyle Blue [03:41:14]line 2.000 * 144.00 [03:41:14]line = 288.00 [03:41:14]line НДС 12% НСП 1% [03:41:14]line > о реализуемом товаре [03:41:14]line ИТОГО: 482.00 [03:41:14]line НСП 1% : 4.27 [03:41:14]line НДС 12% : 51.18 [03:41:14]line Наличными: 482.00 [03:41:14]line Безнал.: 0.00 [03:41:14]line Место: АЗС № 161 "Партнер Нефть" [03:41:14]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [03:41:14]line СНО: Общий режим [03:41:14]line Чек 5 20.10.2024 03:41 [03:41:14]line Смена: 455 ФФД: 1.0 [03:41:14]line ЗНМ: 0300000240 [03:41:14]line РНМ: 0000000000098147 [03:41:14]line Версия ККМ: 001 [03:41:14]line ФМ: 0000000000965376 [03:41:14]line ФД: 24847 [03:41:14]line ФПД: 69991931509252 [03:41:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T034113&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24847&fm=69991931509252&tin=02508201610067®Number=0000000000098147&sum=48200 [03:41:14]line 0 [03:41:14]OFD Sender: Processing packet 24847 [packets to send 5, broken 4] [03:41:14]ProducePacketName [03:41:14]name=ofd_packets/00024847 [03:41:14]OFD Sender: To server: pG, [03:41:14]CommunicateWithHost lk.salyk.kg:30040 [03:41:14]ConnectInit lk.salyk.kg [03:41:14]written 0, free lines is 4095 [03:41:14]Connected sock=10 [03:41:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 1B 02 00 00 A0 E9 13 02 D3 71 5A 03 01 00 03 00 07 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 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 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 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 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 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 BC 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 13 00 00 00 00 07 04 06 00 48 BC 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 D9 7B 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 0F 61 00 00 35 04 06 00 3F A8 44 36 FA 04 45 E1 CE 0B C9 E2 20 C7 [03:41:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 22 79 47 00 C0 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 33 37 36 10 04 04 00 0F 61 00 00 F4 03 04 00 5B 24 14 67 B6 04 01 00 00 2F 26 E5 84 2B DC 74 5D [03:41:15]CommunicateWithHost err = 0 [03:41:15]CheckOFDResponse [03:41:15]1017 (14) - 77093643461234 [03:41:15]1041 (16) - 0000000000965376 [03:41:15]1040 (4) - 24847 [03:41:15]1012 (4) - 19.10.2024 21:27 [03:41:15]1206 (1) - 0 [03:41:15]OFD Sender: Remove packet 24847 [03:41:15]ProducePacketName [03:41:15]name=ofd_packets/00024847 [03:41:15]NVStorageDeleteData [03:41:15]Write to MH i2c: 01 00 00 6C 02 6E [03:41:15]Write i2c OK [03:41:15]MH_I2C_Read... [03:41:15]Read from MH i2c: 01 [03:41:15]MH_I2C_Read... [03:41:15]Read from MH i2c: 01 07 00 [03:41:15]MH_I2C_Read... [03:41:15]Read from MH i2c: 01 07 00 6C 02 00 00 00 00 00 F5 0B 75 [03:41:15]RasterBufferAndPrint [03:41:15]line [03:41:15]line [03:41:15]line [03:41:15]line [03:41:15]line [03:41:15]written 0, free lines is 3066 [03:41:15]process_action close_receipt done [03:41:15]requested_data is exist [03:41:15]produce_requested_data [03:41:15]requested_item fm.sn is exist - process it [03:41:15]wFMCommunicate request_size=4 [03:41:15]MH_SAM_APDU [03:41:15]CAPDU: 80 11 00 00 [03:41:15]Write to MH i2c: E2 08 00 73 02 80 11 00 00 00 00 00 00 EF [03:41:15]Write i2c OK [03:41:15]MH_I2C_Read... [03:41:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:41:15]Read from MH i2c: E2 [03:41:15]MH_I2C_Read... [03:41:15]Read from MH i2c: E2 17 00 [03:41:15]MH_I2C_Read... [03:41:15]Read from MH i2c: E2 17 00 73 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 46 [03:41:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [03:41:15]wFMCommunicate OK [03:41:15]requested_item fd.num is exist - process it [03:41:15]SAM_PROTO_GetFieldsCounters [03:41:15]wFMCommunicate request_size=4 [03:41:15]MH_SAM_APDU [03:41:15]CAPDU: 80 13 00 00 [03:41:15]Write to MH i2c: E2 08 00 74 02 80 13 00 00 00 00 00 00 F2 [03:41:15]Write i2c OK [03:41:15]MH_I2C_Read... [03:41:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:41:15]Read from MH i2c: E2 [03:41:15]MH_I2C_Read... [03:41:15]Read from MH i2c: E2 62 00 [03:41:15]MH_I2C_Read... [03:41:15]Read from MH i2c: E2 62 00 74 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 0F 61 00 00 0E 04 04 00 C7 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 62 [03:41:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 0F 61 00 00 0E 04 04 00 C7 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:41:15]wFMCommunicate OK [03:41:15]SAM_PROTO_GetFieldsCounters done [03:41:15]requested_item shift.num is exist - process it [03:41:15]requested_item shift.opened is exist - process it [03:41:15]req_shift_opened [03:41:15]FM_GetShiftState [03:41:15]SAM_PROTO_GetShiftState [03:41:15]wFMCommunicate request_size=4 [03:41:15]MH_SAM_APDU [03:41:15]CAPDU: 80 13 01 00 [03:41:15]Write to MH i2c: E2 08 00 75 02 80 13 01 00 00 00 00 00 F4 [03:41:15]Write i2c OK [03:41:15]MH_I2C_Read... [03:41:15]OFD Sender: No OFD packet to send [03:41:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:41:15]Read from MH i2c: E2 [03:41:15]MH_I2C_Read... [03:41:15]Read from MH i2c: E2 0E 00 [03:41:15]MH_I2C_Read... [03:41:15]Read from MH i2c: E2 0E 00 75 02 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 3A [03:41:15]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [03:41:15]wFMCommunicate OK [03:41:15]SAM_PROTO_GetShiftState done [03:41:15]FM_GetShiftState done [03:41:15]req_shift_opened done [03:41:15]requested_item shift.open_date is exist - process it [03:41:15]req_shift_open_date [03:41:15]req_shift_open_date done [03:41:15]produce_requested_data done [03:41:15]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24847,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [03:41:15]process_action_free close_receipt [03:41:15]json_value_free [03:41:15]json_value_free done [03:41:15]process_json_proto returns [03:41:15]Send response to host [03:41:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24847,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [03:41:15]free response buf [03:41:15]execute_script done [03:41:15]execute_script returns [03:41:15]free content buf [03:41:15]Sock 9.Close socket [03:41:15]Sock 9.Thread stoped [03:41:20]OFD Sender: No OFD packet to send [03:41:25]OFD Sender: No OFD packet to send [03:41:30]OFD Sender: No OFD packet to send [03:41:35]OFD Sender: No OFD packet to send [03:41:40]OFD Sender: No OFD packet to send [03:41:45]OFD Sender: No OFD packet to send [03:41:50]OFD Sender: No OFD packet to send [03:41:55]OFD Sender: No OFD packet to send [03:42:00]OFD Sender: No OFD packet to send [03:42:05]OFD Sender: No OFD packet to send [03:42:10]OFD Sender: No OFD packet to send [03:42:15]OFD Sender: No OFD packet to send [03:42:20]OFD Sender: No OFD packet to send [03:42:25]OFD Sender: No OFD packet to send [03:42:30]OFD Sender: No OFD packet to send [03:42:35]OFD Sender: No OFD packet to send [03:42:40]OFD Sender: No OFD packet to send [03:42:45]OFD Sender: No OFD packet to send [03:42:50]OFD Sender: No OFD packet to send [03:42:55]OFD Sender: No OFD packet to send [03:43:00]OFD Sender: No OFD packet to send [03:43:05]OFD Sender: No OFD packet to send [03:43:10]OFD Sender: No OFD packet to send [03:43:15]OFD Sender: No OFD packet to send [03:43:20]OFD Sender: No OFD packet to send [03:43:25]OFD Sender: No OFD packet to send [03:43:30]OFD Sender: No OFD packet to send [03:43:35]OFD Sender: No OFD packet to send [03:43:40]OFD Sender: No OFD packet to send [03:43:45]OFD Sender: No OFD packet to send [03:43:50]OFD Sender: No OFD packet to send [03:43:55]OFD Sender: No OFD packet to send [03:44:00]OFD Sender: No OFD packet to send [03:44:05]OFD Sender: No OFD packet to send [03:44:10]OFD Sender: No OFD packet to send [03:44:15]OFD Sender: No OFD packet to send [03:44:20]OFD Sender: No OFD packet to send [03:44:25]OFD Sender: No OFD packet to send [03:44:30]OFD Sender: No OFD packet to send [03:44:35]OFD Sender: No OFD packet to send [03:44:40]OFD Sender: No OFD packet to send [03:44:45]OFD Sender: No OFD packet to send [03:44:50]OFD Sender: No OFD packet to send [03:44:55]OFD Sender: No OFD packet to send [03:45:00]OFD Sender: No OFD packet to send [03:45:05]OFD Sender: No OFD packet to send [03:45:10]OFD Sender: No OFD packet to send [03:45:15]OFD Sender: No OFD packet to send [03:45:20]OFD Sender: No OFD packet to send [03:45:25]OFD Sender: No OFD packet to send [03:45:30]OFD Sender: No OFD packet to send [03:45:35]OFD Sender: No OFD packet to send [03:45:40]OFD Sender: No OFD packet to send [03:45:45]OFD Sender: No OFD packet to send [03:45:50]OFD Sender: No OFD packet to send [03:45:55]OFD Sender: No OFD packet to send [03:46:00]OFD Sender: No OFD packet to send [03:46:05]OFD Sender: No OFD packet to send [03:46:10]OFD Sender: No OFD packet to send [03:46:15]OFD Sender: No OFD packet to send [03:46:20]OFD Sender: No OFD packet to send [03:46:25]OFD Sender: No OFD packet to send [03:46:30]OFD Sender: No OFD packet to send [03:46:35]OFD Sender: No OFD packet to send [03:46:40]OFD Sender: No OFD packet to send [03:46:45]OFD Sender: No OFD packet to send [03:46:50]OFD Sender: No OFD packet to send [03:46:56]OFD Sender: No OFD packet to send [03:47:01]OFD Sender: No OFD packet to send [03:47:06]OFD Sender: No OFD packet to send [03:47:11]OFD Sender: No OFD packet to send [03:47:16]OFD Sender: No OFD packet to send [03:47:21]OFD Sender: No OFD packet to send [03:47:26]OFD Sender: No OFD packet to send [03:47:31]OFD Sender: No OFD packet to send [03:47:36]OFD Sender: No OFD packet to send [03:47:41]OFD Sender: No OFD packet to send [03:47:46]OFD Sender: No OFD packet to send [03:47:51]OFD Sender: No OFD packet to send [03:47:56]OFD Sender: No OFD packet to send [03:48:01]OFD Sender: No OFD packet to send [03:48:06]OFD Sender: No OFD packet to send [03:48:11]OFD Sender: No OFD packet to send [03:48:16]OFD Sender: No OFD packet to send [03:48:21]OFD Sender: No OFD packet to send [03:48:26]OFD Sender: No OFD packet to send [03:48:31]OFD Sender: No OFD packet to send [03:48:36]OFD Sender: No OFD packet to send [03:48:41]OFD Sender: No OFD packet to send [03:48:46]OFD Sender: No OFD packet to send [03:48:51]OFD Sender: No OFD packet to send [03:48:56]OFD Sender: No OFD packet to send [03:49:01]OFD Sender: No OFD packet to send [03:49:06]OFD Sender: No OFD packet to send [03:49:11]OFD Sender: No OFD packet to send [03:49:16]OFD Sender: No OFD packet to send [03:49:21]OFD Sender: No OFD packet to send [03:49:26]OFD Sender: No OFD packet to send [03:49:31]OFD Sender: No OFD packet to send [03:49:36]OFD Sender: No OFD packet to send [03:49:41]OFD Sender: No OFD packet to send [03:49:46]OFD Sender: No OFD packet to send [03:49:51]OFD Sender: No OFD packet to send [03:49:56]OFD Sender: No OFD packet to send [03:50:01]OFD Sender: No OFD packet to send [03:50:06]OFD Sender: No OFD packet to send [03:50:11]OFD Sender: No OFD packet to send [03:50:16]OFD Sender: No OFD packet to send [03:50:21]OFD Sender: No OFD packet to send [03:50:26]OFD Sender: No OFD packet to send [03:50:31]OFD Sender: No OFD packet to send [03:50:36]OFD Sender: No OFD packet to send [03:50:41]OFD Sender: No OFD packet to send [03:50:46]OFD Sender: No OFD packet to send [03:50:51]OFD Sender: No OFD packet to send [03:50:56]OFD Sender: No OFD packet to send [03:51:01]OFD Sender: No OFD packet to send [03:51:06]OFD Sender: No OFD packet to send [03:51:11]OFD Sender: No OFD packet to send [03:51:16]OFD Sender: No OFD packet to send [03:51:21]OFD Sender: No OFD packet to send [03:51:26]OFD Sender: No OFD packet to send [03:51:31]OFD Sender: No OFD packet to send [03:51:36]OFD Sender: No OFD packet to send [03:51:41]OFD Sender: No OFD packet to send [03:51:46]OFD Sender: No OFD packet to send [03:51:51]OFD Sender: No OFD packet to send [03:51:56]OFD Sender: No OFD packet to send [03:52:01]OFD Sender: No OFD packet to send [03:52:06]OFD Sender: No OFD packet to send [03:52:11]OFD Sender: No OFD packet to send [03:52:16]OFD Sender: No OFD packet to send [03:52:21]OFD Sender: No OFD packet to send [03:52:26]OFD Sender: No OFD packet to send [03:52:31]OFD Sender: No OFD packet to send [03:52:36]OFD Sender: No OFD packet to send [03:52:41]OFD Sender: No OFD packet to send [03:52:46]OFD Sender: No OFD packet to send [03:52:51]OFD Sender: No OFD packet to send [03:52:56]OFD Sender: No OFD packet to send [03:53:01]OFD Sender: No OFD packet to send [03:53:06]OFD Sender: No OFD packet to send [03:53:11]OFD Sender: No OFD packet to send [03:53:16]OFD Sender: No OFD packet to send [03:53:21]OFD Sender: No OFD packet to send [03:53:26]OFD Sender: No OFD packet to send [03:53:31]OFD Sender: No OFD packet to send [03:53:36]OFD Sender: No OFD packet to send [03:53:41]OFD Sender: No OFD packet to send [03:53:46]OFD Sender: No OFD packet to send [03:53:51]OFD Sender: No OFD packet to send [03:53:56]OFD Sender: No OFD packet to send [03:54:01]OFD Sender: No OFD packet to send [03:54:06]OFD Sender: No OFD packet to send [03:54:11]OFD Sender: No OFD packet to send [03:54:16]OFD Sender: No OFD packet to send [03:54:21]OFD Sender: No OFD packet to send [03:54:26]OFD Sender: No OFD packet to send [03:54:31]OFD Sender: No OFD packet to send [03:54:36]OFD Sender: No OFD packet to send [03:54:41]OFD Sender: No OFD packet to send [03:54:46]OFD Sender: No OFD packet to send [03:54:51]OFD Sender: No OFD packet to send [03:54:56]OFD Sender: No OFD packet to send [03:55:01]OFD Sender: No OFD packet to send [03:55:06]OFD Sender: No OFD packet to send [03:55:11]OFD Sender: No OFD packet to send [03:55:16]OFD Sender: No OFD packet to send [03:55:21]OFD Sender: No OFD packet to send [03:55:26]OFD Sender: No OFD packet to send [03:55:31]OFD Sender: No OFD packet to send [03:55:36]OFD Sender: No OFD packet to send [03:55:41]OFD Sender: No OFD packet to send [03:55:46]OFD Sender: No OFD packet to send [03:55:51]OFD Sender: No OFD packet to send [03:55:56]OFD Sender: No OFD packet to send [03:56:01]OFD Sender: No OFD packet to send [03:56:06]OFD Sender: No OFD packet to send [03:56:11]OFD Sender: No OFD packet to send [03:56:16]OFD Sender: No OFD packet to send [03:56:21]OFD Sender: No OFD packet to send [03:56:26]OFD Sender: No OFD packet to send [03:56:31]OFD Sender: No OFD packet to send [03:56:36]OFD Sender: No OFD packet to send [03:56:41]OFD Sender: No OFD packet to send [03:56:46]OFD Sender: No OFD packet to send [03:56:51]OFD Sender: No OFD packet to send [03:56:56]OFD Sender: No OFD packet to send [03:57:01]OFD Sender: No OFD packet to send [03:57:06]OFD Sender: No OFD packet to send [03:57:11]OFD Sender: No OFD packet to send [03:57:16]OFD Sender: No OFD packet to send [03:57:21]OFD Sender: No OFD packet to send [03:57:26]OFD Sender: No OFD packet to send [03:57:31]OFD Sender: No OFD packet to send [03:57:36]OFD Sender: No OFD packet to send [03:57:41]OFD Sender: No OFD packet to send [03:57:46]OFD Sender: No OFD packet to send [03:57:51]OFD Sender: No OFD packet to send [03:57:56]OFD Sender: No OFD packet to send [03:58:01]OFD Sender: No OFD packet to send [03:58:06]OFD Sender: No OFD packet to send [03:58:11]OFD Sender: No OFD packet to send [03:58:16]OFD Sender: No OFD packet to send [03:58:21]OFD Sender: No OFD packet to send [03:58:26]OFD Sender: No OFD packet to send [03:58:31]OFD Sender: No OFD packet to send [03:58:36]OFD Sender: No OFD packet to send [03:58:41]OFD Sender: No OFD packet to send [03:58:46]OFD Sender: No OFD packet to send [03:58:50]accept exits with 7 [03:58:50]New connection [03:58:50]New thread 3067166052 created [03:58:50]Thread 3067309412 joined [03:58:50]Waiting for new connection... [03:58:50] Sock 7.Parse request [03:58:50]Sock 7.Check first char [03:58:50]Sock 7.First char is OK [03:58:50]request: POST /json_proto HTTP/1.0 [03:58:50]Method: POST [03:58:50]URL: /json_proto [03:58:50]Method is POST - this is cgi request [03:58:50]url: /json_proto [03:58:50]query_string will be loaded in cgi processing [03:58:50]execute_cgi json_proto POST (null) [03:58:50]execute_cgi path=json_proto method=POST [03:58:50]POST find Content-Length [03:58:50]Host: 172.17.53.196:8080 [03:58:50]Content-Length: 911 [03:58:50]Content-Type: application/json [03:58:50] [03:58:50]POST finish read [03:58:50]Found Content-Length = 911 [03:58:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34608", "tax_sys" : 0, "items" : [ { "code": "4630007400389", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 140\u0433", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:58:50]execute_script... [03:58: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)34608", "tax_sys" : 0, "items" : [ { "code": "4630007400389", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 140\u0433", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:58:50]POST & json_proto [03:58:50]process_json_proto [03:58:50]json parsed OK: [03:58:50]protocol is kg_v1.0 [03:58:50]action value=close_receipt [03:58:50]process_action close_receipt [03:58:50]cmd_close_receipt [03:58:50]MH_GetDate [03:58:50]Write to MH i2c: F0 00 00 76 02 67 [03:58:50]Write i2c OK [03:58:50]MH_I2C_Read... [03:58:50]Read from MH i2c: F0 [03:58:50]MH_I2C_Read... [03:58:50]Read from MH i2c: F0 09 00 [03:58:50]MH_I2C_Read... [03:58:50]Read from MH i2c: F0 09 00 76 02 00 FB 7F 14 67 4F CD 9A 65 80 [03:58:50]GetLastDocTimeStamp 1729395673 [03:58:50]current date 1729396731 [03:58:50]FM_GetShiftState [03:58:50]SAM_PROTO_GetShiftState [03:58:50]wFMCommunicate request_size=4 [03:58:50]MH_SAM_APDU [03:58:50]CAPDU: 80 13 01 00 [03:58:50]Write to MH i2c: E2 08 00 77 02 80 13 01 00 00 00 00 00 F6 [03:58:50]Write i2c OK [03:58:50]MH_I2C_Read... [03:58:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:58:51]Read from MH i2c: E2 [03:58:51]MH_I2C_Read... [03:58:51]Read from MH i2c: E2 0E 00 [03:58:51]MH_I2C_Read... [03:58:51]Read from MH i2c: E2 0E 00 77 02 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 3C [03:58:51]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [03:58:51]wFMCommunicate OK [03:58:51]SAM_PROTO_GetShiftState done [03:58:51]FM_GetShiftState done [03:58:51]opened in 1729384049 [03:58:51]opened+sec_in_day 1729470449 [03:58:51]quantity*price = 13000 [03:58:51]sum+1 = 13001 [03:58:51]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.89 Наличными: 225.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 6 20.10.2024 03:58 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24848 ФПД: 63895636425773 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T035851&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24848&fm=63895636425773&tin=02508201610067®Number=0000000000098147&sum=22500 0 [03:58:52]StoreToDocumentArchive [03:58:52]shift 455 fd 24848 [03:58:52]save to /storage/0455/doc_00024848 [03:58:52]save last doc name /storage/0455/doc_00024848 to /storage/kkm_last_doc_name [03:58:52]save OK [03:58:52]Clear old archive folders... [03:58:52]ProcessDocumentItem done err = 0, tmpTLVsize=396 [03:58:52]tlvbuf is 00DE08F0 [03:58:52]SAM_PROTO_ClearQueue [03:58:52]wFMCommunicate request_size=4 [03:58:52]MH_SAM_APDU [03:58:52]CAPDU: 80 09 00 00 [03:58:52]Write to MH i2c: E2 08 00 84 02 80 09 00 00 00 00 00 00 F8 [03:58:52]Write i2c OK [03:58:52]MH_I2C_Read... [03:58:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:58:52]Read from MH i2c: E2 [03:58:52]MH_I2C_Read... [03:58:52]Read from MH i2c: E2 03 00 [03:58:52]MH_I2C_Read... [03:58:52]Read from MH i2c: E2 03 00 84 02 00 90 00 FA [03:58:52]RAPDU: 90 00 [03:58:52]wFMCommunicate OK [03:58:52]SAM_PROTO_ClearQueue done [03:58:52]KKMCreateOFDPacket [03:58:52]OFDProtocolAddRootSTLVToBuf [03:58:52]FM_MakeSignedData [03:58:52]FM_MakeSignedData [03:58:52]SAM_PROTO_SignData [03:58:52]wFMCommunicate request_size=4 [03:58:52]MH_SAM_APDU [03:58:52]CAPDU: 80 0D 01 02 [03:58:52]Write to MH i2c: E2 08 00 85 02 80 0D 01 02 00 00 00 00 00 [03:58:52]Write i2c OK [03:58:52]MH_I2C_Read... [03:58:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:58:52]Read from MH i2c: E2 [03:58:52]MH_I2C_Read... [03:58:52]Read from MH i2c: E2 03 00 [03:58:52]MH_I2C_Read... [03:58:52]Read from MH i2c: E2 03 00 85 02 00 90 00 FB [03:58:52]RAPDU: 90 00 [03:58:52]wFMCommunicate OK [03:58:52]wFMCommunicate request_size=255 [03:58:52]MH_SAM_APDU [03:58:52]CAPDU: 80 0D 02 02 FA 03 00 8C 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF [03:58:52]Write to MH i2c: E2 02 01 86 02 80 0D 02 02 FA 00 03 00 8C 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 00 00 60 [03:58:52]Write i2c OK [03:58:52]MH_I2C_Read... [03:58:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:58:52]Read from MH i2c: E2 [03:58:52]MH_I2C_Read... [03:58:52]Read from MH i2c: E2 03 00 [03:58:52]MH_I2C_Read... [03:58:52]Read from MH i2c: E2 03 00 86 02 00 90 00 FC [03:58:52]RAPDU: 90 00 [03:58:52]wFMCommunicate OK [03:58:52]wFMCommunicate request_size=155 [03:58:52]MH_SAM_APDU [03:58:52]CAPDU: 80 0D 02 02 96 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 FB 7F 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 10 61 00 00 35 04 06 00 3A 1C DC B6 3C 2D [03:58:52]Write to MH i2c: E2 9E 00 87 02 80 0D 02 02 96 00 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 FB 7F 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 10 61 00 00 35 04 06 00 3A 1C DC B6 3C 2D 00 00 56 [03:58:52]Write i2c OK [03:58:52]MH_I2C_Read... [03:58:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:58:52]Read from MH i2c: E2 [03:58:52]MH_I2C_Read... [03:58:52]Read from MH i2c: E2 03 00 [03:58:52]MH_I2C_Read... [03:58:52]Read from MH i2c: E2 03 00 87 02 00 90 00 FD [03:58:52]RAPDU: 90 00 [03:58:52]wFMCommunicate OK [03:58:52]wFMCommunicate request_size=4 [03:58:52]MH_SAM_APDU [03:58:52]CAPDU: 80 0D 03 02 [03:58:52]Write to MH i2c: E2 08 00 88 02 80 0D 03 02 00 00 00 00 05 [03:58:52]Write i2c OK [03:58:52]MH_I2C_Read... [03:58:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:58:52]Read from MH i2c: E2 [03:58:52]MH_I2C_Read... [03:58:52]Read from MH i2c: E2 0B 00 [03:58:52]MH_I2C_Read... [03:58:52]Read from MH i2c: E2 0B 00 88 02 00 56 8A 50 CF 34 85 60 5A 90 00 78 [03:58:52]RAPDU: 56 8A 50 CF 34 85 60 5A 90 00 [03:58:52]wFMCommunicate OK [03:58:52]SAM_PROTO_SignData done [03:58:52]FM_MakeSignedData done [03:58:52]CreateOFDProtocolMessage [03:58:52]wFMCommunicate request_size=4 [03:58:52]MH_SAM_APDU [03:58:52]CAPDU: 80 11 00 00 [03:58:52]Write to MH i2c: E2 08 00 89 02 80 11 00 00 00 00 00 00 05 [03:58:52]Write i2c OK [03:58:52]MH_I2C_Read... [03:58:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:58:52]Read from MH i2c: E2 [03:58:52]MH_I2C_Read... [03:58:52]Read from MH i2c: E2 17 00 [03:58:52]MH_I2C_Read... [03:58:52]Read from MH i2c: E2 17 00 89 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 5C [03:58:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [03:58:52]wFMCommunicate OK [03:58:52]CreateOFDProtocolMessage done [03:58:52]OFDSenderStorePacket 24848 [03:58:52]StoreOFDPacket docnum=24848 [03:58:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 A0 01 00 00 7D 68 98 01 D9 2B 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 FB 7F 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 10 61 00 00 35 04 06 00 3A 1C DC B6 3C 2D 56 8A 50 CF 34 85 60 5A [03:58:52]CheckFolder [03:58:52]dirname=/storage/ofd_packets [03:58:52]CheckFolder done [03:58:52]ProducePacketName [03:58:52]name=ofd_packets/00024848 [03:58:52]NVStorageSaveData ofd_packets/00024848 [03:58:52]File name is /storage/ofd_packets/00024848 [03:58:52]Write 446 bytes [03:58:52]NVStorageSaveData done [03:58:52]OFDSenderStorePacket done [03:58:52]KKMCreateOFDPacket done [03:58:52]NVStorageSaveData kkm_last_timestamp [03:58:52]File name is /storage/kkm_last_timestamp [03:58:52]Write 4 bytes [03:58:52]NVStorageSaveData done [03:58:52]ExternCall_PrintAddStr [03:58:52]wPrintStart [03:58:52]Write to MH i2c: 01 00 00 8A 02 8C [03:58:52]Write i2c OK [03:58:52]MH_I2C_Read... [03:58:52]Read from MH i2c: 01 [03:58:52]MH_I2C_Read... [03:58:52]Read from MH i2c: 01 07 00 [03:58:52]MH_I2C_Read... [03:58:52]Read from MH i2c: 01 07 00 8A 02 00 00 00 00 00 FF 0F A1 [03:58:52]RasterBufferAndPrint [03:58:52]line Счет N : (3)34608 [03:58:52]line ИНН: 02508201610067 [03:58:52]line Контрольно-Кассовый Чек [03:58:53]line ПРОДАЖА [03:58:53]line Товар: 4630007400389 [03:58:53]line Семечки ДЖИНН 140г [03:58:53]line 1.000 * 130.00 [03:58:53]line = 130.00 [03:58:53]line НДС 12% НСП 1% [03:58:53]line > о реализуемом товаре [03:58:53]line Товар: 4700000480050 [03:58:53]line Напиток Nitro Energy эн green ж/б 0,45л [03:58:53]line 1.000 * 95.00 [03:58:53]line = 95.00 [03:58:53]line НДС 12% НСП 1% [03:58:53]line > о реализуемом товаре [03:58:53]line ИТОГО: 225.00 [03:58:53]line НСП 1% : 1.99 [03:58:53]line НДС 12% : 23.89 [03:58:53]line Наличными: 225.00 [03:58:53]line Безнал.: 0.00 [03:58:53]line Место: АЗС № 161 "Партнер Нефть" [03:58:53]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [03:58:53]line СНО: Общий режим [03:58:53]line Чек 6 20.10.2024 03:58 [03:58:53]line Смена: 455 ФФД: 1.0 [03:58:53]line ЗНМ: 0300000240 [03:58:53]line РНМ: 0000000000098147 [03:58:53]line Версия ККМ: 001 [03:58:53]line ФМ: 0000000000965376 [03:58:53]line ФД: 24848 [03:58:53]line ФПД: 63895636425773 [03:58:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T035851&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24848&fm=63895636425773&tin=02508201610067®Number=0000000000098147&sum=22500 [03:58:53]line 0 [03:58:53]OFD Sender: Processing packet 24848 [packets to send 5, broken 4] [03:58:53]ProducePacketName [03:58:53]name=ofd_packets/00024848 [03:58:53]OFD Sender: To server: pG, [03:58:53]CommunicateWithHost lk.salyk.kg:30040 [03:58:53]ConnectInit lk.salyk.kg [03:58:53]written 0, free lines is 4095 [03:58:53]Connected sock=10 [03:58: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 33 37 36 A0 01 00 00 7D 68 98 01 D9 2B 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 FB 7F 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 10 61 00 00 35 04 06 00 3A 1C DC B6 3C 2D 56 8A 50 CF 34 85 60 5A [03:58:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 35 9E 47 00 3A AA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 10 61 00 00 F4 03 04 00 7D 28 14 67 B6 04 01 00 00 58 1E E9 74 59 44 2A 8C [03:58:53]CommunicateWithHost err = 0 [03:58:53]CheckOFDResponse [03:58:53]1017 (14) - 77093643461234 [03:58:53]1041 (16) - 0000000000965376 [03:58:53]1040 (4) - 24848 [03:58:53]1012 (4) - 19.10.2024 21:45 [03:58:53]1206 (1) - 0 [03:58:53]OFD Sender: Remove packet 24848 [03:58:53]ProducePacketName [03:58:53]name=ofd_packets/00024848 [03:58:53]NVStorageDeleteData [03:58:53]Write to MH i2c: 01 00 00 B9 02 BB [03:58:53]Write i2c OK [03:58:53]MH_I2C_Read... [03:58:53]Read from MH i2c: 01 [03:58:53]MH_I2C_Read... [03:58:53]Read from MH i2c: 01 07 00 [03:58:53]MH_I2C_Read... [03:58:53]Read from MH i2c: 01 07 00 B9 02 00 00 00 00 00 6B 0C 39 [03:58:53]RasterBufferAndPrint [03:58:53]line [03:58:53]line [03:58:53]line [03:58:53]line [03:58:53]line [03:58:53]written 0, free lines is 3185 [03:58:53]process_action close_receipt done [03:58:53]requested_data is exist [03:58:53]produce_requested_data [03:58:53]requested_item fm.sn is exist - process it [03:58:53]wFMCommunicate request_size=4 [03:58:53]MH_SAM_APDU [03:58:53]CAPDU: 80 11 00 00 [03:58:53]Write to MH i2c: E2 08 00 C0 02 80 11 00 00 00 00 00 00 3C [03:58:53]Write i2c OK [03:58:53]MH_I2C_Read... [03:58:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:58:53]Read from MH i2c: E2 [03:58:53]MH_I2C_Read... [03:58:53]Read from MH i2c: E2 17 00 [03:58:53]MH_I2C_Read... [03:58:53]Read from MH i2c: E2 17 00 C0 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 93 [03:58:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [03:58:53]wFMCommunicate OK [03:58:53]requested_item fd.num is exist - process it [03:58:53]SAM_PROTO_GetFieldsCounters [03:58:53]wFMCommunicate request_size=4 [03:58:53]MH_SAM_APDU [03:58:53]CAPDU: 80 13 00 00 [03:58:53]Write to MH i2c: E2 08 00 C1 02 80 13 00 00 00 00 00 00 3F [03:58:53]Write i2c OK [03:58:53]MH_I2C_Read... [03:58:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:58:53]Read from MH i2c: E2 [03:58:53]MH_I2C_Read... [03:58:53]Read from MH i2c: E2 62 00 [03:58:53]MH_I2C_Read... [03:58:53]Read from MH i2c: E2 62 00 C1 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 10 61 00 00 0E 04 04 00 C7 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 B3 [03:58:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 10 61 00 00 0E 04 04 00 C7 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 [03:58:53]wFMCommunicate OK [03:58:53]SAM_PROTO_GetFieldsCounters done [03:58:53]requested_item shift.num is exist - process it [03:58:53]requested_item shift.opened is exist - process it [03:58:53]req_shift_opened [03:58:53]FM_GetShiftState [03:58:53]SAM_PROTO_GetShiftState [03:58:53]wFMCommunicate request_size=4 [03:58:53]MH_SAM_APDU [03:58:53]CAPDU: 80 13 01 00 [03:58:53]Write to MH i2c: E2 08 00 C2 02 80 13 01 00 00 00 00 00 41 [03:58:53]Write i2c OK [03:58:53]MH_I2C_Read... [03:58:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:58:53]Read from MH i2c: E2 [03:58:53]MH_I2C_Read... [03:58:53]Read from MH i2c: E2 0E 00 [03:58:53]MH_I2C_Read... [03:58:53]Read from MH i2c: E2 0E 00 C2 02 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 87 [03:58:53]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [03:58:53]wFMCommunicate OK [03:58:53]SAM_PROTO_GetShiftState done [03:58:53]FM_GetShiftState done [03:58:53]req_shift_opened done [03:58:53]requested_item shift.open_date is exist - process it [03:58:53]req_shift_open_date [03:58:53]req_shift_open_date done [03:58:53]produce_requested_data done [03:58:53]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24848,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [03:58:53]process_action_free close_receipt [03:58:53]json_value_free [03:58:53]json_value_free done [03:58:53]process_json_proto returns [03:58:53]Send response to host [03:58:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24848,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [03:58:53]free response buf [03:58:53]execute_script done [03:58:53]execute_script returns [03:58:53]free content buf [03:58:53]Sock 7.Close socket [03:58:53]Sock 7.Thread stoped [03:58:53]OFD Sender: No OFD packet to send [03:58:58]OFD Sender: No OFD packet to send [03:59:03]OFD Sender: No OFD packet to send [03:59:08]OFD Sender: No OFD packet to send [03:59:13]OFD Sender: No OFD packet to send [03:59:18]OFD Sender: No OFD packet to send [03:59:23]OFD Sender: No OFD packet to send [03:59:28]OFD Sender: No OFD packet to send [03:59:33]OFD Sender: No OFD packet to send [03:59:38]OFD Sender: No OFD packet to send [03:59:44]OFD Sender: No OFD packet to send [03:59:49]OFD Sender: No OFD packet to send [03:59:54]OFD Sender: No OFD packet to send [03:59:59]OFD Sender: No OFD packet to send [04:00:04]OFD Sender: No OFD packet to send [04:00:09]OFD Sender: No OFD packet to send [04:00:14]OFD Sender: No OFD packet to send [04:00:19]OFD Sender: No OFD packet to send [04:00:24]OFD Sender: No OFD packet to send [04:00:29]OFD Sender: No OFD packet to send [04:00:34]OFD Sender: No OFD packet to send [04:00:39]OFD Sender: No OFD packet to send [04:00:44]OFD Sender: No OFD packet to send [04:00:49]OFD Sender: No OFD packet to send [04:00:54]OFD Sender: No OFD packet to send [04:00:59]OFD Sender: No OFD packet to send [04:01:04]OFD Sender: No OFD packet to send [04:01:09]OFD Sender: No OFD packet to send [04:01:14]OFD Sender: No OFD packet to send [04:01:19]OFD Sender: No OFD packet to send [04:01:24]OFD Sender: No OFD packet to send [04:01:29]OFD Sender: No OFD packet to send [04:01:34]OFD Sender: No OFD packet to send [04:01:39]OFD Sender: No OFD packet to send [04:01:44]OFD Sender: No OFD packet to send [04:01:49]OFD Sender: No OFD packet to send [04:01:54]OFD Sender: No OFD packet to send [04:01:59]OFD Sender: No OFD packet to send [04:02:04]OFD Sender: No OFD packet to send [04:02:09]OFD Sender: No OFD packet to send [04:02:14]OFD Sender: No OFD packet to send [04:02:19]OFD Sender: No OFD packet to send [04:02:24]OFD Sender: No OFD packet to send [04:02:29]OFD Sender: No OFD packet to send [04:02:34]OFD Sender: No OFD packet to send [04:02:39]OFD Sender: No OFD packet to send [04:02:44]OFD Sender: No OFD packet to send [04:02:49]OFD Sender: No OFD packet to send [04:02:54]OFD Sender: No OFD packet to send [04:02:59]OFD Sender: No OFD packet to send [04:03:04]OFD Sender: No OFD packet to send [04:03:09]OFD Sender: No OFD packet to send [04:03:14]OFD Sender: No OFD packet to send [04:03:19]OFD Sender: No OFD packet to send [04:03:24]OFD Sender: No OFD packet to send [04:03:29]OFD Sender: No OFD packet to send [04:03:34]OFD Sender: No OFD packet to send [04:03:39]OFD Sender: No OFD packet to send [04:03:44]OFD Sender: No OFD packet to send [04:03:49]OFD Sender: No OFD packet to send [04:03:54]OFD Sender: No OFD packet to send [04:03:59]OFD Sender: No OFD packet to send [04:04:04]OFD Sender: No OFD packet to send [04:04:09]OFD Sender: No OFD packet to send [04:04:14]OFD Sender: No OFD packet to send [04:04:19]OFD Sender: No OFD packet to send [04:04:24]OFD Sender: No OFD packet to send [04:04:29]OFD Sender: No OFD packet to send [04:04:34]OFD Sender: No OFD packet to send [04:04:39]OFD Sender: No OFD packet to send [04:04:44]OFD Sender: No OFD packet to send [04:04:49]OFD Sender: No OFD packet to send [04:04:54]OFD Sender: No OFD packet to send [04:04:59]OFD Sender: No OFD packet to send [04:05:04]OFD Sender: No OFD packet to send [04:05:09]OFD Sender: No OFD packet to send [04:05:14]OFD Sender: No OFD packet to send [04:05:19]OFD Sender: No OFD packet to send [04:05:24]OFD Sender: No OFD packet to send [04:05:29]OFD Sender: No OFD packet to send [04:05:34]OFD Sender: No OFD packet to send [04:05:39]OFD Sender: No OFD packet to send [04:05:44]OFD Sender: No OFD packet to send [04:05:49]OFD Sender: No OFD packet to send [04:05:54]OFD Sender: No OFD packet to send [04:05:59]OFD Sender: No OFD packet to send [04:06:04]OFD Sender: No OFD packet to send [04:06:09]OFD Sender: No OFD packet to send [04:06:14]OFD Sender: No OFD packet to send [04:06:19]OFD Sender: No OFD packet to send [04:06:24]OFD Sender: No OFD packet to send [04:06:29]OFD Sender: No OFD packet to send [04:06:34]OFD Sender: No OFD packet to send [04:06:39]OFD Sender: No OFD packet to send [04:06:44]OFD Sender: No OFD packet to send [04:06:49]OFD Sender: No OFD packet to send [04:06:54]OFD Sender: No OFD packet to send [04:06:59]OFD Sender: No OFD packet to send [04:07:04]OFD Sender: No OFD packet to send [04:07:09]OFD Sender: No OFD packet to send [04:07:14]OFD Sender: No OFD packet to send [04:07:19]OFD Sender: No OFD packet to send [04:07:24]OFD Sender: No OFD packet to send [04:07:29]OFD Sender: No OFD packet to send [04:07:34]OFD Sender: No OFD packet to send [04:07:39]OFD Sender: No OFD packet to send [04:07:44]OFD Sender: No OFD packet to send [04:07:49]OFD Sender: No OFD packet to send [04:07:54]OFD Sender: No OFD packet to send [04:07:59]OFD Sender: No OFD packet to send [04:08:04]OFD Sender: No OFD packet to send [04:08:09]OFD Sender: No OFD packet to send [04:08:14]OFD Sender: No OFD packet to send [04:08:19]OFD Sender: No OFD packet to send [04:08:24]OFD Sender: No OFD packet to send [04:08:29]OFD Sender: No OFD packet to send [04:08:34]OFD Sender: No OFD packet to send [04:08:39]OFD Sender: No OFD packet to send [04:08:44]OFD Sender: No OFD packet to send [04:08:49]OFD Sender: No OFD packet to send [04:08:54]OFD Sender: No OFD packet to send [04:08:59]OFD Sender: No OFD packet to send [04:09:04]OFD Sender: No OFD packet to send [04:09:09]OFD Sender: No OFD packet to send [04:09:14]OFD Sender: No OFD packet to send [04:09:19]OFD Sender: No OFD packet to send [04:09:24]OFD Sender: No OFD packet to send [04:09:29]OFD Sender: No OFD packet to send [04:09:34]OFD Sender: No OFD packet to send [04:09:39]OFD Sender: No OFD packet to send [04:09:44]OFD Sender: No OFD packet to send [04:09:49]OFD Sender: No OFD packet to send [04:09:54]OFD Sender: No OFD packet to send [04:09:59]OFD Sender: No OFD packet to send [04:10:04]OFD Sender: No OFD packet to send [04:10:09]OFD Sender: No OFD packet to send [04:10:14]OFD Sender: No OFD packet to send [04:10:19]OFD Sender: No OFD packet to send [04:10:24]OFD Sender: No OFD packet to send [04:10:29]OFD Sender: No OFD packet to send [04:10:34]OFD Sender: No OFD packet to send [04:10:39]OFD Sender: No OFD packet to send [04:10:44]OFD Sender: No OFD packet to send [04:10:49]OFD Sender: No OFD packet to send [04:10:54]OFD Sender: No OFD packet to send [04:10:59]OFD Sender: No OFD packet to send [04:11:04]OFD Sender: No OFD packet to send [04:11:09]OFD Sender: No OFD packet to send [04:11:14]OFD Sender: No OFD packet to send [04:11:19]OFD Sender: No OFD packet to send [04:11:24]OFD Sender: No OFD packet to send [04:11:29]OFD Sender: No OFD packet to send [04:11:34]OFD Sender: No OFD packet to send [04:11:39]OFD Sender: No OFD packet to send [04:11:44]OFD Sender: No OFD packet to send [04:11:49]OFD Sender: No OFD packet to send [04:11:54]OFD Sender: No OFD packet to send [04:11:59]OFD Sender: No OFD packet to send [04:12:04]OFD Sender: No OFD packet to send [04:12:09]OFD Sender: No OFD packet to send [04:12:14]OFD Sender: No OFD packet to send [04:12:19]OFD Sender: No OFD packet to send [04:12:24]OFD Sender: No OFD packet to send [04:12:29]OFD Sender: No OFD packet to send [04:12:34]OFD Sender: No OFD packet to send [04:12:39]OFD Sender: No OFD packet to send [04:12:44]OFD Sender: No OFD packet to send [04:12:49]OFD Sender: No OFD packet to send [04:12:54]OFD Sender: No OFD packet to send [04:12:59]OFD Sender: No OFD packet to send [04:13:04]OFD Sender: No OFD packet to send [04:13:09]OFD Sender: No OFD packet to send [04:13:14]OFD Sender: No OFD packet to send [04:13:19]OFD Sender: No OFD packet to send [04:13:24]OFD Sender: No OFD packet to send [04:13:29]OFD Sender: No OFD packet to send [04:13:34]OFD Sender: No OFD packet to send [04:13:39]OFD Sender: No OFD packet to send [04:13:44]OFD Sender: No OFD packet to send [04:13:49]OFD Sender: No OFD packet to send [04:13:54]OFD Sender: No OFD packet to send [04:13:59]OFD Sender: No OFD packet to send [04:14:04]OFD Sender: No OFD packet to send [04:14:09]OFD Sender: No OFD packet to send [04:14:14]OFD Sender: No OFD packet to send [04:14:19]OFD Sender: No OFD packet to send [04:14:24]OFD Sender: No OFD packet to send [04:14:29]OFD Sender: No OFD packet to send [04:14:34]OFD Sender: No OFD packet to send [04:14:39]OFD Sender: No OFD packet to send [04:14:44]OFD Sender: No OFD packet to send [04:14:49]OFD Sender: No OFD packet to send [04:14:54]OFD Sender: No OFD packet to send [04:14:59]OFD Sender: No OFD packet to send [04:15:04]OFD Sender: No OFD packet to send [04:15:09]OFD Sender: No OFD packet to send [04:15:14]OFD Sender: No OFD packet to send [04:15:19]OFD Sender: No OFD packet to send [04:15:24]OFD Sender: No OFD packet to send [04:15:29]OFD Sender: No OFD packet to send [04:15:34]OFD Sender: No OFD packet to send [04:15:39]OFD Sender: No OFD packet to send [04:15:44]OFD Sender: No OFD packet to send [04:15:49]OFD Sender: No OFD packet to send [04:15:54]OFD Sender: No OFD packet to send [04:15:59]OFD Sender: No OFD packet to send [04:16:04]OFD Sender: No OFD packet to send [04:16:09]OFD Sender: No OFD packet to send [04:16:14]OFD Sender: No OFD packet to send [04:16:19]OFD Sender: No OFD packet to send [04:16:24]OFD Sender: No OFD packet to send [04:16:29]OFD Sender: No OFD packet to send [04:16:34]OFD Sender: No OFD packet to send [04:16:39]OFD Sender: No OFD packet to send [04:16:44]OFD Sender: No OFD packet to send [04:16:49]OFD Sender: No OFD packet to send [04:16:54]OFD Sender: No OFD packet to send [04:16:59]OFD Sender: No OFD packet to send [04:17:04]OFD Sender: No OFD packet to send [04:17:09]OFD Sender: No OFD packet to send [04:17:14]OFD Sender: No OFD packet to send [04:17:19]OFD Sender: No OFD packet to send [04:17:24]OFD Sender: No OFD packet to send [04:17:29]OFD Sender: No OFD packet to send [04:17:34]OFD Sender: No OFD packet to send [04:17:39]OFD Sender: No OFD packet to send [04:17:44]OFD Sender: No OFD packet to send [04:17:49]OFD Sender: No OFD packet to send [04:17:54]OFD Sender: No OFD packet to send [04:17:59]OFD Sender: No OFD packet to send [04:18:04]OFD Sender: No OFD packet to send [04:18:09]OFD Sender: No OFD packet to send [04:18:14]OFD Sender: No OFD packet to send [04:18:19]OFD Sender: No OFD packet to send [04:18:24]OFD Sender: No OFD packet to send [04:18:29]OFD Sender: No OFD packet to send [04:18:34]OFD Sender: No OFD packet to send [04:18:39]OFD Sender: No OFD packet to send [04:18:44]OFD Sender: No OFD packet to send [04:18:49]OFD Sender: No OFD packet to send [04:18:54]OFD Sender: No OFD packet to send [04:18:59]OFD Sender: No OFD packet to send [04:19:04]OFD Sender: No OFD packet to send [04:19:09]OFD Sender: No OFD packet to send [04:19:14]OFD Sender: No OFD packet to send [04:19:19]OFD Sender: No OFD packet to send [04:19:24]OFD Sender: No OFD packet to send [04:19:29]OFD Sender: No OFD packet to send [04:19:34]OFD Sender: No OFD packet to send [04:19:39]OFD Sender: No OFD packet to send [04:19:44]OFD Sender: No OFD packet to send [04:19:49]OFD Sender: No OFD packet to send [04:19:54]OFD Sender: No OFD packet to send [04:19:59]OFD Sender: No OFD packet to send [04:20:04]OFD Sender: No OFD packet to send [04:20:09]OFD Sender: No OFD packet to send [04:20:14]OFD Sender: No OFD packet to send [04:20:19]OFD Sender: No OFD packet to send [04:20:24]OFD Sender: No OFD packet to send [04:20:29]OFD Sender: No OFD packet to send [04:20:34]OFD Sender: No OFD packet to send [04:20:39]OFD Sender: No OFD packet to send [04:20:44]OFD Sender: No OFD packet to send [04:20:49]OFD Sender: No OFD packet to send [04:20:54]OFD Sender: No OFD packet to send [04:21:00]OFD Sender: No OFD packet to send [04:21:05]OFD Sender: No OFD packet to send [04:21:10]OFD Sender: No OFD packet to send [04:21:15]OFD Sender: No OFD packet to send [04:21:20]OFD Sender: No OFD packet to send [04:21:25]OFD Sender: No OFD packet to send [04:21:30]OFD Sender: No OFD packet to send [04:21:35]OFD Sender: No OFD packet to send [04:21:40]OFD Sender: No OFD packet to send [04:21:45]OFD Sender: No OFD packet to send [04:21:50]OFD Sender: No OFD packet to send [04:21:55]OFD Sender: No OFD packet to send [04:22:00]OFD Sender: No OFD packet to send [04:22:05]OFD Sender: No OFD packet to send [04:22:10]OFD Sender: No OFD packet to send [04:22:15]OFD Sender: No OFD packet to send [04:22:20]OFD Sender: No OFD packet to send [04:22:25]OFD Sender: No OFD packet to send [04:22:30]OFD Sender: No OFD packet to send [04:22:35]OFD Sender: No OFD packet to send [04:22:40]OFD Sender: No OFD packet to send [04:22:45]OFD Sender: No OFD packet to send [04:22:50]OFD Sender: No OFD packet to send [04:22:55]OFD Sender: No OFD packet to send [04:23:00]OFD Sender: No OFD packet to send [04:23:05]OFD Sender: No OFD packet to send [04:23:10]OFD Sender: No OFD packet to send [04:23:15]OFD Sender: No OFD packet to send [04:23:20]OFD Sender: No OFD packet to send [04:23:25]OFD Sender: No OFD packet to send [04:23:30]OFD Sender: No OFD packet to send [04:23:35]OFD Sender: No OFD packet to send [04:23:40]OFD Sender: No OFD packet to send [04:23:45]OFD Sender: No OFD packet to send [04:23:50]OFD Sender: No OFD packet to send [04:23:55]OFD Sender: No OFD packet to send [04:24:00]OFD Sender: No OFD packet to send [04:24:05]OFD Sender: No OFD packet to send [04:24:10]OFD Sender: No OFD packet to send [04:24:15]OFD Sender: No OFD packet to send [04:24:20]OFD Sender: No OFD packet to send [04:24:25]OFD Sender: No OFD packet to send [04:24:30]OFD Sender: No OFD packet to send [04:24:35]OFD Sender: No OFD packet to send [04:24:40]OFD Sender: No OFD packet to send [04:24:45]OFD Sender: No OFD packet to send [04:24:50]OFD Sender: No OFD packet to send [04:24:55]OFD Sender: No OFD packet to send [04:25:00]OFD Sender: No OFD packet to send [04:25:05]OFD Sender: No OFD packet to send [04:25:10]OFD Sender: No OFD packet to send [04:25:15]OFD Sender: No OFD packet to send [04:25:20]OFD Sender: No OFD packet to send [04:25:25]OFD Sender: No OFD packet to send [04:25:30]OFD Sender: No OFD packet to send [04:25:35]OFD Sender: No OFD packet to send [04:25:40]OFD Sender: No OFD packet to send [04:25:45]OFD Sender: No OFD packet to send [04:25:50]OFD Sender: No OFD packet to send [04:25:55]OFD Sender: No OFD packet to send [04:26:00]OFD Sender: No OFD packet to send [04:26:05]OFD Sender: No OFD packet to send [04:26:10]OFD Sender: No OFD packet to send [04:26:15]OFD Sender: No OFD packet to send [04:26:20]OFD Sender: No OFD packet to send [04:26:25]OFD Sender: No OFD packet to send [04:26:30]OFD Sender: No OFD packet to send [04:26:35]OFD Sender: No OFD packet to send [04:26:40]OFD Sender: No OFD packet to send [04:26:45]OFD Sender: No OFD packet to send [04:26:50]OFD Sender: No OFD packet to send [04:26:55]OFD Sender: No OFD packet to send [04:27:00]OFD Sender: No OFD packet to send [04:27:05]OFD Sender: No OFD packet to send [04:27:10]OFD Sender: No OFD packet to send [04:27:15]OFD Sender: No OFD packet to send [04:27:20]OFD Sender: No OFD packet to send [04:27:25]OFD Sender: No OFD packet to send [04:27:30]OFD Sender: No OFD packet to send [04:27:35]OFD Sender: No OFD packet to send [04:27:40]OFD Sender: No OFD packet to send [04:27:45]OFD Sender: No OFD packet to send [04:27:50]OFD Sender: No OFD packet to send [04:27:55]OFD Sender: No OFD packet to send [04:28:00]OFD Sender: No OFD packet to send [04:28:05]OFD Sender: No OFD packet to send [04:28:10]OFD Sender: No OFD packet to send [04:28:15]OFD Sender: No OFD packet to send [04:28:20]OFD Sender: No OFD packet to send [04:28:25]OFD Sender: No OFD packet to send [04:28:30]OFD Sender: No OFD packet to send [04:28:35]OFD Sender: No OFD packet to send [04:28:40]OFD Sender: No OFD packet to send [04:28:45]OFD Sender: No OFD packet to send [04:28:50]OFD Sender: No OFD packet to send [04:28:55]OFD Sender: No OFD packet to send [04:29:00]OFD Sender: No OFD packet to send [04:29:05]OFD Sender: No OFD packet to send [04:29:10]OFD Sender: No OFD packet to send [04:29:15]OFD Sender: No OFD packet to send [04:29:20]OFD Sender: No OFD packet to send [04:29:25]OFD Sender: No OFD packet to send [04:29:30]OFD Sender: No OFD packet to send [04:29:35]OFD Sender: No OFD packet to send [04:29:40]OFD Sender: No OFD packet to send [04:29:45]OFD Sender: No OFD packet to send [04:29:50]OFD Sender: No OFD packet to send [04:29:55]OFD Sender: No OFD packet to send [04:30:00]OFD Sender: No OFD packet to send [04:30:05]OFD Sender: No OFD packet to send [04:30:10]OFD Sender: No OFD packet to send [04:30:15]OFD Sender: No OFD packet to send [04:30:20]OFD Sender: No OFD packet to send [04:30:25]OFD Sender: No OFD packet to send [04:30:30]OFD Sender: No OFD packet to send [04:30:35]OFD Sender: No OFD packet to send [04:30:40]OFD Sender: No OFD packet to send [04:30:45]OFD Sender: No OFD packet to send [04:30:50]OFD Sender: No OFD packet to send [04:30:55]OFD Sender: No OFD packet to send [04:31:00]OFD Sender: No OFD packet to send [04:31:05]OFD Sender: No OFD packet to send [04:31:10]OFD Sender: No OFD packet to send [04:31:15]OFD Sender: No OFD packet to send [04:31:20]OFD Sender: No OFD packet to send [04:31:25]OFD Sender: No OFD packet to send [04:31:30]OFD Sender: No OFD packet to send [04:31:35]OFD Sender: No OFD packet to send [04:31:40]OFD Sender: No OFD packet to send [04:31:45]OFD Sender: No OFD packet to send [04:31:50]OFD Sender: No OFD packet to send [04:31:55]OFD Sender: No OFD packet to send [04:32:00]OFD Sender: No OFD packet to send [04:32:05]OFD Sender: No OFD packet to send [04:32:10]OFD Sender: No OFD packet to send [04:32:15]OFD Sender: No OFD packet to send [04:32:20]OFD Sender: No OFD packet to send [04:32:25]OFD Sender: No OFD packet to send [04:32:30]OFD Sender: No OFD packet to send [04:32:35]OFD Sender: No OFD packet to send [04:32:40]OFD Sender: No OFD packet to send [04:32:45]OFD Sender: No OFD packet to send [04:32:50]OFD Sender: No OFD packet to send [04:32:55]OFD Sender: No OFD packet to send [04:33:00]OFD Sender: No OFD packet to send [04:33:05]OFD Sender: No OFD packet to send [04:33:10]OFD Sender: No OFD packet to send [04:33:15]OFD Sender: No OFD packet to send [04:33:20]OFD Sender: No OFD packet to send [04:33:25]OFD Sender: No OFD packet to send [04:33:30]OFD Sender: No OFD packet to send [04:33:35]OFD Sender: No OFD packet to send [04:33:40]OFD Sender: No OFD packet to send [04:33:45]OFD Sender: No OFD packet to send [04:33:50]OFD Sender: No OFD packet to send [04:33:55]OFD Sender: No OFD packet to send [04:34:00]OFD Sender: No OFD packet to send [04:34:05]OFD Sender: No OFD packet to send [04:34:10]OFD Sender: No OFD packet to send [04:34:15]OFD Sender: No OFD packet to send [04:34:20]OFD Sender: No OFD packet to send [04:34:25]OFD Sender: No OFD packet to send [04:34:30]OFD Sender: No OFD packet to send [04:34:35]OFD Sender: No OFD packet to send [04:34:40]OFD Sender: No OFD packet to send [04:34:45]OFD Sender: No OFD packet to send [04:34:50]OFD Sender: No OFD packet to send [04:34:55]OFD Sender: No OFD packet to send [04:35:00]OFD Sender: No OFD packet to send [04:35:05]OFD Sender: No OFD packet to send [04:35:10]OFD Sender: No OFD packet to send [04:35:15]OFD Sender: No OFD packet to send [04:35:20]OFD Sender: No OFD packet to send [04:35:25]OFD Sender: No OFD packet to send [04:35:30]OFD Sender: No OFD packet to send [04:35:35]OFD Sender: No OFD packet to send [04:35:40]OFD Sender: No OFD packet to send [04:35:45]OFD Sender: No OFD packet to send [04:35:50]OFD Sender: No OFD packet to send [04:35:55]OFD Sender: No OFD packet to send [04:36:00]OFD Sender: No OFD packet to send [04:36:05]OFD Sender: No OFD packet to send [04:36:10]OFD Sender: No OFD packet to send [04:36:15]OFD Sender: No OFD packet to send [04:36:20]OFD Sender: No OFD packet to send [04:36:25]OFD Sender: No OFD packet to send [04:36:30]OFD Sender: No OFD packet to send [04:36:35]OFD Sender: No OFD packet to send [04:36:40]OFD Sender: No OFD packet to send [04:36:45]OFD Sender: No OFD packet to send [04:36:50]OFD Sender: No OFD packet to send [04:36:55]OFD Sender: No OFD packet to send [04:37:00]OFD Sender: No OFD packet to send [04:37:05]OFD Sender: No OFD packet to send [04:37:10]OFD Sender: No OFD packet to send [04:37:15]OFD Sender: No OFD packet to send [04:37:20]OFD Sender: No OFD packet to send [04:37:25]OFD Sender: No OFD packet to send [04:37:30]OFD Sender: No OFD packet to send [04:37:35]OFD Sender: No OFD packet to send [04:37:40]OFD Sender: No OFD packet to send [04:37:45]OFD Sender: No OFD packet to send [04:37:50]OFD Sender: No OFD packet to send [04:37:55]OFD Sender: No OFD packet to send [04:38:00]OFD Sender: No OFD packet to send [04:38:05]OFD Sender: No OFD packet to send [04:38:10]OFD Sender: No OFD packet to send [04:38:15]OFD Sender: No OFD packet to send [04:38:20]OFD Sender: No OFD packet to send [04:38:25]OFD Sender: No OFD packet to send [04:38:30]OFD Sender: No OFD packet to send [04:38:35]OFD Sender: No OFD packet to send [04:38:40]OFD Sender: No OFD packet to send [04:38:45]OFD Sender: No OFD packet to send [04:38:50]OFD Sender: No OFD packet to send [04:38:55]OFD Sender: No OFD packet to send [04:39:00]OFD Sender: No OFD packet to send [04:39:05]OFD Sender: No OFD packet to send [04:39:10]OFD Sender: No OFD packet to send [04:39:15]OFD Sender: No OFD packet to send [04:39:20]OFD Sender: No OFD packet to send [04:39:25]OFD Sender: No OFD packet to send [04:39:30]OFD Sender: No OFD packet to send [04:39:35]OFD Sender: No OFD packet to send [04:39:40]OFD Sender: No OFD packet to send [04:39:45]OFD Sender: No OFD packet to send [04:39:50]OFD Sender: No OFD packet to send [04:39:55]OFD Sender: No OFD packet to send [04:40:00]OFD Sender: No OFD packet to send [04:40:05]OFD Sender: No OFD packet to send [04:40:10]OFD Sender: No OFD packet to send [04:40:15]OFD Sender: No OFD packet to send [04:40:20]OFD Sender: No OFD packet to send [04:40:25]OFD Sender: No OFD packet to send [04:40:30]OFD Sender: No OFD packet to send [04:40:35]OFD Sender: No OFD packet to send [04:40:40]OFD Sender: No OFD packet to send [04:40:45]OFD Sender: No OFD packet to send [04:40:50]OFD Sender: No OFD packet to send [04:40:55]OFD Sender: No OFD packet to send [04:41:00]OFD Sender: No OFD packet to send [04:41:05]OFD Sender: No OFD packet to send [04:41:10]OFD Sender: No OFD packet to send [04:41:15]OFD Sender: No OFD packet to send [04:41:20]OFD Sender: No OFD packet to send [04:41:25]OFD Sender: No OFD packet to send [04:41:30]OFD Sender: No OFD packet to send [04:41:35]OFD Sender: No OFD packet to send [04:41:40]OFD Sender: No OFD packet to send [04:41:45]OFD Sender: No OFD packet to send [04:41:50]OFD Sender: No OFD packet to send [04:41:55]OFD Sender: No OFD packet to send [04:42:00]OFD Sender: No OFD packet to send [04:42:05]OFD Sender: No OFD packet to send [04:42:10]OFD Sender: No OFD packet to send [04:42:15]OFD Sender: No OFD packet to send [04:42:20]OFD Sender: No OFD packet to send [04:42:25]OFD Sender: No OFD packet to send [04:42:30]OFD Sender: No OFD packet to send [04:42:35]OFD Sender: No OFD packet to send [04:42:41]OFD Sender: No OFD packet to send [04:42:46]OFD Sender: No OFD packet to send [04:42:51]OFD Sender: No OFD packet to send [04:42:56]OFD Sender: No OFD packet to send [04:43:01]OFD Sender: No OFD packet to send [04:43:06]OFD Sender: No OFD packet to send [04:43:11]OFD Sender: No OFD packet to send [04:43:16]OFD Sender: No OFD packet to send [04:43:21]OFD Sender: No OFD packet to send [04:43:26]OFD Sender: No OFD packet to send [04:43:31]OFD Sender: No OFD packet to send [04:43:36]OFD Sender: No OFD packet to send [04:43:41]OFD Sender: No OFD packet to send [04:43:46]OFD Sender: No OFD packet to send [04:43:51]OFD Sender: No OFD packet to send [04:43:56]OFD Sender: No OFD packet to send [04:44:01]OFD Sender: No OFD packet to send [04:44:06]OFD Sender: No OFD packet to send [04:44:11]OFD Sender: No OFD packet to send [04:44:16]OFD Sender: No OFD packet to send [04:44:21]OFD Sender: No OFD packet to send [04:44:26]OFD Sender: No OFD packet to send [04:44:31]OFD Sender: No OFD packet to send [04:44:36]OFD Sender: No OFD packet to send [04:44:41]OFD Sender: No OFD packet to send [04:44:46]OFD Sender: No OFD packet to send [04:44:51]OFD Sender: No OFD packet to send [04:44:56]OFD Sender: No OFD packet to send [04:45:01]OFD Sender: No OFD packet to send [04:45:06]OFD Sender: No OFD packet to send [04:45:11]OFD Sender: No OFD packet to send [04:45:16]OFD Sender: No OFD packet to send [04:45:21]OFD Sender: No OFD packet to send [04:45:26]OFD Sender: No OFD packet to send [04:45:31]OFD Sender: No OFD packet to send [04:45:36]OFD Sender: No OFD packet to send [04:45:41]OFD Sender: No OFD packet to send [04:45:46]OFD Sender: No OFD packet to send [04:45:51]OFD Sender: No OFD packet to send [04:45:56]OFD Sender: No OFD packet to send [04:46:01]OFD Sender: No OFD packet to send [04:46:06]OFD Sender: No OFD packet to send [04:46:11]OFD Sender: No OFD packet to send [04:46:16]OFD Sender: No OFD packet to send [04:46:21]OFD Sender: No OFD packet to send [04:46:26]OFD Sender: No OFD packet to send [04:46:31]OFD Sender: No OFD packet to send [04:46:36]OFD Sender: No OFD packet to send [04:46:41]OFD Sender: No OFD packet to send [04:46:46]OFD Sender: No OFD packet to send [04:46:51]OFD Sender: No OFD packet to send [04:46:56]OFD Sender: No OFD packet to send [04:47:01]OFD Sender: No OFD packet to send [04:47:06]OFD Sender: No OFD packet to send [04:47:11]OFD Sender: No OFD packet to send [04:47:16]OFD Sender: No OFD packet to send [04:47:21]OFD Sender: No OFD packet to send [04:47:26]OFD Sender: No OFD packet to send [04:47:31]OFD Sender: No OFD packet to send [04:47:36]OFD Sender: No OFD packet to send [04:47:41]OFD Sender: No OFD packet to send [04:47:46]OFD Sender: No OFD packet to send [04:47:51]OFD Sender: No OFD packet to send [04:47:56]OFD Sender: No OFD packet to send [04:48:01]OFD Sender: No OFD packet to send [04:48:06]OFD Sender: No OFD packet to send [04:48:11]OFD Sender: No OFD packet to send [04:48:16]OFD Sender: No OFD packet to send [04:48:21]OFD Sender: No OFD packet to send [04:48:26]OFD Sender: No OFD packet to send [04:48:31]OFD Sender: No OFD packet to send [04:48:36]OFD Sender: No OFD packet to send [04:48:41]OFD Sender: No OFD packet to send [04:48:46]OFD Sender: No OFD packet to send [04:48:51]OFD Sender: No OFD packet to send [04:48:56]OFD Sender: No OFD packet to send [04:49:01]OFD Sender: No OFD packet to send [04:49:06]OFD Sender: No OFD packet to send [04:49:11]OFD Sender: No OFD packet to send [04:49:16]OFD Sender: No OFD packet to send [04:49:21]OFD Sender: No OFD packet to send [04:49:26]OFD Sender: No OFD packet to send [04:49:31]OFD Sender: No OFD packet to send [04:49:36]OFD Sender: No OFD packet to send [04:49:41]OFD Sender: No OFD packet to send [04:49:46]OFD Sender: No OFD packet to send [04:49:51]OFD Sender: No OFD packet to send [04:49:56]OFD Sender: No OFD packet to send [04:50:01]OFD Sender: No OFD packet to send [04:50:06]OFD Sender: No OFD packet to send [04:50:11]OFD Sender: No OFD packet to send [04:50:16]OFD Sender: No OFD packet to send [04:50:21]OFD Sender: No OFD packet to send [04:50:26]OFD Sender: No OFD packet to send [04:50:31]OFD Sender: No OFD packet to send [04:50:36]OFD Sender: No OFD packet to send [04:50:41]OFD Sender: No OFD packet to send [04:50:46]OFD Sender: No OFD packet to send [04:50:51]OFD Sender: No OFD packet to send [04:50:56]OFD Sender: No OFD packet to send [04:51:01]OFD Sender: No OFD packet to send [04:51:06]OFD Sender: No OFD packet to send [04:51:11]OFD Sender: No OFD packet to send [04:51:16]OFD Sender: No OFD packet to send [04:51:21]OFD Sender: No OFD packet to send [04:51:26]OFD Sender: No OFD packet to send [04:51:31]OFD Sender: No OFD packet to send [04:51:36]OFD Sender: No OFD packet to send [04:51:41]OFD Sender: No OFD packet to send [04:51:46]OFD Sender: No OFD packet to send [04:51:51]OFD Sender: No OFD packet to send [04:51:56]OFD Sender: No OFD packet to send [04:52:01]OFD Sender: No OFD packet to send [04:52:06]OFD Sender: No OFD packet to send [04:52:11]OFD Sender: No OFD packet to send [04:52:16]OFD Sender: No OFD packet to send [04:52:21]OFD Sender: No OFD packet to send [04:52:26]OFD Sender: No OFD packet to send [04:52:31]OFD Sender: No OFD packet to send [04:52:36]OFD Sender: No OFD packet to send [04:52:41]OFD Sender: No OFD packet to send [04:52:46]OFD Sender: No OFD packet to send [04:52:51]OFD Sender: No OFD packet to send [04:52:56]OFD Sender: No OFD packet to send [04:53:01]OFD Sender: No OFD packet to send [04:53:06]OFD Sender: No OFD packet to send [04:53:11]OFD Sender: No OFD packet to send [04:53:16]OFD Sender: No OFD packet to send [04:53:21]OFD Sender: No OFD packet to send [04:53:26]OFD Sender: No OFD packet to send [04:53:31]OFD Sender: No OFD packet to send [04:53:36]OFD Sender: No OFD packet to send [04:53:41]OFD Sender: No OFD packet to send [04:53:46]OFD Sender: No OFD packet to send [04:53:51]OFD Sender: No OFD packet to send [04:53:56]OFD Sender: No OFD packet to send [04:54:01]OFD Sender: No OFD packet to send [04:54:06]OFD Sender: No OFD packet to send [04:54:11]OFD Sender: No OFD packet to send [04:54:16]OFD Sender: No OFD packet to send [04:54:21]OFD Sender: No OFD packet to send [04:54:26]OFD Sender: No OFD packet to send [04:54:31]OFD Sender: No OFD packet to send [04:54:36]OFD Sender: No OFD packet to send [04:54:41]OFD Sender: No OFD packet to send [04:54:46]OFD Sender: No OFD packet to send [04:54:51]OFD Sender: No OFD packet to send [04:54:56]OFD Sender: No OFD packet to send [04:55:01]OFD Sender: No OFD packet to send [04:55:06]OFD Sender: No OFD packet to send [04:55:11]OFD Sender: No OFD packet to send [04:55:16]OFD Sender: No OFD packet to send [04:55:21]OFD Sender: No OFD packet to send [04:55:26]OFD Sender: No OFD packet to send [04:55:31]OFD Sender: No OFD packet to send [04:55:36]OFD Sender: No OFD packet to send [04:55:41]OFD Sender: No OFD packet to send [04:55:46]OFD Sender: No OFD packet to send [04:55:51]OFD Sender: No OFD packet to send [04:55:56]OFD Sender: No OFD packet to send [04:56:01]OFD Sender: No OFD packet to send [04:56:06]OFD Sender: No OFD packet to send [04:56:11]OFD Sender: No OFD packet to send [04:56:16]OFD Sender: No OFD packet to send [04:56:21]OFD Sender: No OFD packet to send [04:56:26]OFD Sender: No OFD packet to send [04:56:31]OFD Sender: No OFD packet to send [04:56:36]OFD Sender: No OFD packet to send [04:56:41]OFD Sender: No OFD packet to send [04:56:46]OFD Sender: No OFD packet to send [04:56:51]OFD Sender: No OFD packet to send [04:56:56]OFD Sender: No OFD packet to send [04:57:01]OFD Sender: No OFD packet to send [04:57:06]OFD Sender: No OFD packet to send [04:57:11]OFD Sender: No OFD packet to send [04:57:16]OFD Sender: No OFD packet to send [04:57:21]OFD Sender: No OFD packet to send [04:57:26]OFD Sender: No OFD packet to send [04:57:31]OFD Sender: No OFD packet to send [04:57:36]OFD Sender: No OFD packet to send [04:57:41]OFD Sender: No OFD packet to send [04:57:46]OFD Sender: No OFD packet to send [04:57:51]OFD Sender: No OFD packet to send [04:57:56]OFD Sender: No OFD packet to send [04:58:01]OFD Sender: No OFD packet to send [04:58:06]OFD Sender: No OFD packet to send [04:58:11]OFD Sender: No OFD packet to send [04:58:16]OFD Sender: No OFD packet to send [04:58:21]OFD Sender: No OFD packet to send [04:58:26]OFD Sender: No OFD packet to send [04:58:31]OFD Sender: No OFD packet to send [04:58:36]OFD Sender: No OFD packet to send [04:58:41]OFD Sender: No OFD packet to send [04:58:46]OFD Sender: No OFD packet to send [04:58:51]OFD Sender: No OFD packet to send [04:58:56]OFD Sender: No OFD packet to send [04:59:01]OFD Sender: No OFD packet to send [04:59:06]OFD Sender: No OFD packet to send [04:59:11]OFD Sender: No OFD packet to send [04:59:16]OFD Sender: No OFD packet to send [04:59:21]OFD Sender: No OFD packet to send [04:59:26]OFD Sender: No OFD packet to send [04:59:31]OFD Sender: No OFD packet to send [04:59:36]OFD Sender: No OFD packet to send [04:59:41]OFD Sender: No OFD packet to send [04:59:46]OFD Sender: No OFD packet to send [04:59:51]OFD Sender: No OFD packet to send [04:59:56]OFD Sender: No OFD packet to send [05:00:01]OFD Sender: No OFD packet to send [05:00:06]OFD Sender: No OFD packet to send [05:00:11]OFD Sender: No OFD packet to send [05:00:16]OFD Sender: No OFD packet to send [05:00:21]OFD Sender: No OFD packet to send [05:00:26]OFD Sender: No OFD packet to send [05:00:31]OFD Sender: No OFD packet to send [05:00:36]OFD Sender: No OFD packet to send [05:00:41]OFD Sender: No OFD packet to send [05:00:46]OFD Sender: No OFD packet to send [05:00:51]OFD Sender: No OFD packet to send [05:00:56]OFD Sender: No OFD packet to send [05:01:01]OFD Sender: No OFD packet to send [05:01:06]OFD Sender: No OFD packet to send [05:01:11]OFD Sender: No OFD packet to send [05:01:16]OFD Sender: No OFD packet to send [05:01:21]OFD Sender: No OFD packet to send [05:01:26]OFD Sender: No OFD packet to send [05:01:31]OFD Sender: No OFD packet to send [05:01:36]OFD Sender: No OFD packet to send [05:01:41]OFD Sender: No OFD packet to send [05:01:46]OFD Sender: No OFD packet to send [05:01:51]OFD Sender: No OFD packet to send [05:01:56]OFD Sender: No OFD packet to send [05:02:01]OFD Sender: No OFD packet to send [05:02:06]OFD Sender: No OFD packet to send [05:02:11]OFD Sender: No OFD packet to send [05:02:16]OFD Sender: No OFD packet to send [05:02:21]OFD Sender: No OFD packet to send [05:02:26]OFD Sender: No OFD packet to send [05:02:31]OFD Sender: No OFD packet to send [05:02:36]OFD Sender: No OFD packet to send [05:02:41]OFD Sender: No OFD packet to send [05:02:46]OFD Sender: No OFD packet to send [05:02:51]OFD Sender: No OFD packet to send [05:02:56]OFD Sender: No OFD packet to send [05:03:01]OFD Sender: No OFD packet to send [05:03:06]OFD Sender: No OFD packet to send [05:03:11]OFD Sender: No OFD packet to send [05:03:16]OFD Sender: No OFD packet to send [05:03:21]OFD Sender: No OFD packet to send [05:03:26]OFD Sender: No OFD packet to send [05:03:31]OFD Sender: No OFD packet to send [05:03:36]OFD Sender: No OFD packet to send [05:03:41]OFD Sender: No OFD packet to send [05:03:46]OFD Sender: No OFD packet to send [05:03:51]OFD Sender: No OFD packet to send [05:03:56]OFD Sender: No OFD packet to send [05:04:01]OFD Sender: No OFD packet to send [05:04:06]OFD Sender: No OFD packet to send [05:04:12]OFD Sender: No OFD packet to send [05:04:17]OFD Sender: No OFD packet to send [05:04:22]OFD Sender: No OFD packet to send [05:04:27]OFD Sender: No OFD packet to send [05:04:32]OFD Sender: No OFD packet to send [05:04:37]OFD Sender: No OFD packet to send [05:04:42]OFD Sender: No OFD packet to send [05:04:47]OFD Sender: No OFD packet to send [05:04:52]OFD Sender: No OFD packet to send [05:04:57]OFD Sender: No OFD packet to send [05:05:02]OFD Sender: No OFD packet to send [05:05:07]OFD Sender: No OFD packet to send [05:05:12]OFD Sender: No OFD packet to send [05:05:17]OFD Sender: No OFD packet to send [05:05:22]OFD Sender: No OFD packet to send [05:05:27]OFD Sender: No OFD packet to send [05:05:32]OFD Sender: No OFD packet to send [05:05:37]OFD Sender: No OFD packet to send [05:05:42]OFD Sender: No OFD packet to send [05:05:47]OFD Sender: No OFD packet to send [05:05:52]OFD Sender: No OFD packet to send [05:05:57]OFD Sender: No OFD packet to send [05:06:02]OFD Sender: No OFD packet to send [05:06:07]OFD Sender: No OFD packet to send [05:06:12]OFD Sender: No OFD packet to send [05:06:17]OFD Sender: No OFD packet to send [05:06:22]OFD Sender: No OFD packet to send [05:06:27]OFD Sender: No OFD packet to send [05:06:32]OFD Sender: No OFD packet to send [05:06:37]OFD Sender: No OFD packet to send [05:06:42]OFD Sender: No OFD packet to send [05:06:47]OFD Sender: No OFD packet to send [05:06:52]OFD Sender: No OFD packet to send [05:06:57]OFD Sender: No OFD packet to send [05:07:02]OFD Sender: No OFD packet to send [05:07:07]OFD Sender: No OFD packet to send [05:07:12]OFD Sender: No OFD packet to send [05:07:17]OFD Sender: No OFD packet to send [05:07:22]OFD Sender: No OFD packet to send [05:07:27]OFD Sender: No OFD packet to send [05:07:32]OFD Sender: No OFD packet to send [05:07:37]OFD Sender: No OFD packet to send [05:07:42]OFD Sender: No OFD packet to send [05:07:47]OFD Sender: No OFD packet to send [05:07:52]OFD Sender: No OFD packet to send [05:07:57]OFD Sender: No OFD packet to send [05:08:02]OFD Sender: No OFD packet to send [05:08:07]OFD Sender: No OFD packet to send [05:08:12]OFD Sender: No OFD packet to send [05:08:17]OFD Sender: No OFD packet to send [05:08:22]OFD Sender: No OFD packet to send [05:08:27]OFD Sender: No OFD packet to send [05:08:32]OFD Sender: No OFD packet to send [05:08:37]OFD Sender: No OFD packet to send [05:08:42]OFD Sender: No OFD packet to send [05:08:47]OFD Sender: No OFD packet to send [05:08:52]OFD Sender: No OFD packet to send [05:08:57]OFD Sender: No OFD packet to send [05:09:02]OFD Sender: No OFD packet to send [05:09:07]OFD Sender: No OFD packet to send [05:09:12]OFD Sender: No OFD packet to send [05:09:17]OFD Sender: No OFD packet to send [05:09:22]OFD Sender: No OFD packet to send [05:09:27]OFD Sender: No OFD packet to send [05:09:32]OFD Sender: No OFD packet to send [05:09:37]OFD Sender: No OFD packet to send [05:09:42]OFD Sender: No OFD packet to send [05:09:47]OFD Sender: No OFD packet to send [05:09:52]OFD Sender: No OFD packet to send [05:09:57]OFD Sender: No OFD packet to send [05:10:02]OFD Sender: No OFD packet to send [05:10:07]OFD Sender: No OFD packet to send [05:10:12]OFD Sender: No OFD packet to send [05:10:17]OFD Sender: No OFD packet to send [05:10:22]OFD Sender: No OFD packet to send [05:10:27]OFD Sender: No OFD packet to send [05:10:32]OFD Sender: No OFD packet to send [05:10:37]OFD Sender: No OFD packet to send [05:10:42]OFD Sender: No OFD packet to send [05:10:47]OFD Sender: No OFD packet to send [05:10:52]OFD Sender: No OFD packet to send [05:10:57]OFD Sender: No OFD packet to send [05:11:02]OFD Sender: No OFD packet to send [05:11:07]OFD Sender: No OFD packet to send [05:11:12]OFD Sender: No OFD packet to send [05:11:17]OFD Sender: No OFD packet to send [05:11:22]OFD Sender: No OFD packet to send [05:11:27]OFD Sender: No OFD packet to send [05:11:32]OFD Sender: No OFD packet to send [05:11:37]OFD Sender: No OFD packet to send [05:11:42]OFD Sender: No OFD packet to send [05:11:47]OFD Sender: No OFD packet to send [05:11:52]OFD Sender: No OFD packet to send [05:11:57]OFD Sender: No OFD packet to send [05:12:02]OFD Sender: No OFD packet to send [05:12:07]OFD Sender: No OFD packet to send [05:12:12]OFD Sender: No OFD packet to send [05:12:17]OFD Sender: No OFD packet to send [05:12:22]OFD Sender: No OFD packet to send [05:12:27]OFD Sender: No OFD packet to send [05:12:32]OFD Sender: No OFD packet to send [05:12:37]OFD Sender: No OFD packet to send [05:12:42]OFD Sender: No OFD packet to send [05:12:47]OFD Sender: No OFD packet to send [05:12:52]OFD Sender: No OFD packet to send [05:12:57]OFD Sender: No OFD packet to send [05:13:02]OFD Sender: No OFD packet to send [05:13:07]OFD Sender: No OFD packet to send [05:13:12]OFD Sender: No OFD packet to send [05:13:17]OFD Sender: No OFD packet to send [05:13:22]OFD Sender: No OFD packet to send [05:13:27]OFD Sender: No OFD packet to send [05:13:32]OFD Sender: No OFD packet to send [05:13:37]OFD Sender: No OFD packet to send [05:13:42]OFD Sender: No OFD packet to send [05:13:47]OFD Sender: No OFD packet to send [05:13:52]OFD Sender: No OFD packet to send [05:13:57]OFD Sender: No OFD packet to send [05:14:02]OFD Sender: No OFD packet to send [05:14:07]OFD Sender: No OFD packet to send [05:14:12]OFD Sender: No OFD packet to send [05:14:17]OFD Sender: No OFD packet to send [05:14:22]OFD Sender: No OFD packet to send [05:14:27]OFD Sender: No OFD packet to send [05:14:32]OFD Sender: No OFD packet to send [05:14:37]OFD Sender: No OFD packet to send [05:14:42]OFD Sender: No OFD packet to send [05:14:47]OFD Sender: No OFD packet to send [05:14:52]OFD Sender: No OFD packet to send [05:14:57]OFD Sender: No OFD packet to send [05:15:02]OFD Sender: No OFD packet to send [05:15:07]OFD Sender: No OFD packet to send [05:15:12]OFD Sender: No OFD packet to send [05:15:17]OFD Sender: No OFD packet to send [05:15:22]OFD Sender: No OFD packet to send [05:15:27]OFD Sender: No OFD packet to send [05:15:32]OFD Sender: No OFD packet to send [05:15:37]OFD Sender: No OFD packet to send [05:15:42]OFD Sender: No OFD packet to send [05:15:47]OFD Sender: No OFD packet to send [05:15:52]OFD Sender: No OFD packet to send [05:15:57]OFD Sender: No OFD packet to send [05:16:02]OFD Sender: No OFD packet to send [05:16:07]OFD Sender: No OFD packet to send [05:16:12]OFD Sender: No OFD packet to send [05:16:17]OFD Sender: No OFD packet to send [05:16:22]OFD Sender: No OFD packet to send [05:16:27]OFD Sender: No OFD packet to send [05:16:32]OFD Sender: No OFD packet to send [05:16:37]OFD Sender: No OFD packet to send [05:16:42]OFD Sender: No OFD packet to send [05:16:47]OFD Sender: No OFD packet to send [05:16:52]OFD Sender: No OFD packet to send [05:16:57]OFD Sender: No OFD packet to send [05:17:02]OFD Sender: No OFD packet to send [05:17:07]OFD Sender: No OFD packet to send [05:17:12]OFD Sender: No OFD packet to send [05:17:17]OFD Sender: No OFD packet to send [05:17:22]OFD Sender: No OFD packet to send [05:17:27]OFD Sender: No OFD packet to send [05:17:32]OFD Sender: No OFD packet to send [05:17:37]OFD Sender: No OFD packet to send [05:17:42]OFD Sender: No OFD packet to send [05:17:47]OFD Sender: No OFD packet to send [05:17:52]OFD Sender: No OFD packet to send [05:17:57]OFD Sender: No OFD packet to send [05:18:02]OFD Sender: No OFD packet to send [05:18:07]OFD Sender: No OFD packet to send [05:18:12]OFD Sender: No OFD packet to send [05:18:17]OFD Sender: No OFD packet to send [05:18:22]OFD Sender: No OFD packet to send [05:18:27]OFD Sender: No OFD packet to send [05:18:32]OFD Sender: No OFD packet to send [05:18:37]OFD Sender: No OFD packet to send [05:18:42]OFD Sender: No OFD packet to send [05:18:47]OFD Sender: No OFD packet to send [05:18:52]OFD Sender: No OFD packet to send [05:18:57]OFD Sender: No OFD packet to send [05:19:02]OFD Sender: No OFD packet to send [05:19:07]OFD Sender: No OFD packet to send [05:19:12]OFD Sender: No OFD packet to send [05:19:17]OFD Sender: No OFD packet to send [05:19:22]OFD Sender: No OFD packet to send [05:19:27]OFD Sender: No OFD packet to send [05:19:32]OFD Sender: No OFD packet to send [05:19:37]OFD Sender: No OFD packet to send [05:19:42]OFD Sender: No OFD packet to send [05:19:47]OFD Sender: No OFD packet to send [05:19:52]OFD Sender: No OFD packet to send [05:19:57]OFD Sender: No OFD packet to send [05:20:02]OFD Sender: No OFD packet to send [05:20:07]OFD Sender: No OFD packet to send [05:20:12]OFD Sender: No OFD packet to send [05:20:17]OFD Sender: No OFD packet to send [05:20:22]OFD Sender: No OFD packet to send [05:20:27]OFD Sender: No OFD packet to send [05:20:32]OFD Sender: No OFD packet to send [05:20:37]OFD Sender: No OFD packet to send [05:20:42]OFD Sender: No OFD packet to send [05:20:47]OFD Sender: No OFD packet to send [05:20:52]OFD Sender: No OFD packet to send [05:20:57]OFD Sender: No OFD packet to send [05:21:02]OFD Sender: No OFD packet to send [05:21:07]OFD Sender: No OFD packet to send [05:21:12]OFD Sender: No OFD packet to send [05:21:17]OFD Sender: No OFD packet to send [05:21:22]OFD Sender: No OFD packet to send [05:21:27]OFD Sender: No OFD packet to send [05:21:32]OFD Sender: No OFD packet to send [05:21:37]OFD Sender: No OFD packet to send [05:21:42]OFD Sender: No OFD packet to send [05:21:47]OFD Sender: No OFD packet to send [05:21:52]OFD Sender: No OFD packet to send [05:21:57]OFD Sender: No OFD packet to send [05:22:02]OFD Sender: No OFD packet to send [05:22:07]OFD Sender: No OFD packet to send [05:22:12]OFD Sender: No OFD packet to send [05:22:17]OFD Sender: No OFD packet to send [05:22:22]OFD Sender: No OFD packet to send [05:22:27]OFD Sender: No OFD packet to send [05:22:32]OFD Sender: No OFD packet to send [05:22:37]OFD Sender: No OFD packet to send [05:22:42]OFD Sender: No OFD packet to send [05:22:47]OFD Sender: No OFD packet to send [05:22:52]OFD Sender: No OFD packet to send [05:22:57]OFD Sender: No OFD packet to send [05:23:02]OFD Sender: No OFD packet to send [05:23:07]OFD Sender: No OFD packet to send [05:23:12]OFD Sender: No OFD packet to send [05:23:17]OFD Sender: No OFD packet to send [05:23:22]OFD Sender: No OFD packet to send [05:23:27]OFD Sender: No OFD packet to send [05:23:32]OFD Sender: No OFD packet to send [05:23:37]OFD Sender: No OFD packet to send [05:23:42]OFD Sender: No OFD packet to send [05:23:47]OFD Sender: No OFD packet to send [05:23:52]OFD Sender: No OFD packet to send [05:23:57]OFD Sender: No OFD packet to send [05:24:02]OFD Sender: No OFD packet to send [05:24:07]OFD Sender: No OFD packet to send [05:24:12]OFD Sender: No OFD packet to send [05:24:17]OFD Sender: No OFD packet to send [05:24:22]OFD Sender: No OFD packet to send [05:24:27]OFD Sender: No OFD packet to send [05:24:32]OFD Sender: No OFD packet to send [05:24:37]OFD Sender: No OFD packet to send [05:24:42]OFD Sender: No OFD packet to send [05:24:47]OFD Sender: No OFD packet to send [05:24:52]OFD Sender: No OFD packet to send [05:24:57]OFD Sender: No OFD packet to send [05:25:02]OFD Sender: No OFD packet to send [05:25:07]OFD Sender: No OFD packet to send [05:25:12]OFD Sender: No OFD packet to send [05:25:17]OFD Sender: No OFD packet to send [05:25:23]OFD Sender: No OFD packet to send [05:25:28]OFD Sender: No OFD packet to send [05:25:33]OFD Sender: No OFD packet to send [05:25:38]OFD Sender: No OFD packet to send [05:25:43]OFD Sender: No OFD packet to send [05:25:48]OFD Sender: No OFD packet to send [05:25:53]OFD Sender: No OFD packet to send [05:25:58]OFD Sender: No OFD packet to send [05:26:03]OFD Sender: No OFD packet to send [05:26:08]OFD Sender: No OFD packet to send [05:26:13]OFD Sender: No OFD packet to send [05:26:18]OFD Sender: No OFD packet to send [05:26:23]OFD Sender: No OFD packet to send [05:26:28]OFD Sender: No OFD packet to send [05:26:33]OFD Sender: No OFD packet to send [05:26:38]OFD Sender: No OFD packet to send [05:26:43]OFD Sender: No OFD packet to send [05:26:48]OFD Sender: No OFD packet to send [05:26:53]OFD Sender: No OFD packet to send [05:26:58]OFD Sender: No OFD packet to send [05:27:03]OFD Sender: No OFD packet to send [05:27:08]OFD Sender: No OFD packet to send [05:27:13]OFD Sender: No OFD packet to send [05:27:18]OFD Sender: No OFD packet to send [05:27:23]OFD Sender: No OFD packet to send [05:27:28]OFD Sender: No OFD packet to send [05:27:33]OFD Sender: No OFD packet to send [05:27:38]OFD Sender: No OFD packet to send [05:27:43]OFD Sender: No OFD packet to send [05:27:48]OFD Sender: No OFD packet to send [05:27:53]OFD Sender: No OFD packet to send [05:27:58]OFD Sender: No OFD packet to send [05:28:03]OFD Sender: No OFD packet to send [05:28:08]OFD Sender: No OFD packet to send [05:28:13]OFD Sender: No OFD packet to send [05:28:18]OFD Sender: No OFD packet to send [05:28:23]OFD Sender: No OFD packet to send [05:28:28]OFD Sender: No OFD packet to send [05:28:33]OFD Sender: No OFD packet to send [05:28:38]OFD Sender: No OFD packet to send [05:28:43]OFD Sender: No OFD packet to send [05:28:48]OFD Sender: No OFD packet to send [05:28:53]OFD Sender: No OFD packet to send [05:28:58]OFD Sender: No OFD packet to send [05:29:03]OFD Sender: No OFD packet to send [05:29:08]OFD Sender: No OFD packet to send [05:29:13]OFD Sender: No OFD packet to send [05:29:18]OFD Sender: No OFD packet to send [05:29:23]OFD Sender: No OFD packet to send [05:29:28]OFD Sender: No OFD packet to send [05:29:33]OFD Sender: No OFD packet to send [05:29:38]OFD Sender: No OFD packet to send [05:29:43]OFD Sender: No OFD packet to send [05:29:48]OFD Sender: No OFD packet to send [05:29:53]OFD Sender: No OFD packet to send [05:29:58]OFD Sender: No OFD packet to send [05:30:03]OFD Sender: No OFD packet to send [05:30:08]OFD Sender: No OFD packet to send [05:30:13]OFD Sender: No OFD packet to send [05:30:18]OFD Sender: No OFD packet to send [05:30:23]OFD Sender: No OFD packet to send [05:30:28]OFD Sender: No OFD packet to send [05:30:33]OFD Sender: No OFD packet to send [05:30:38]OFD Sender: No OFD packet to send [05:30:43]OFD Sender: No OFD packet to send [05:30:48]OFD Sender: No OFD packet to send [05:30:53]OFD Sender: No OFD packet to send [05:30:58]OFD Sender: No OFD packet to send [05:31:03]OFD Sender: No OFD packet to send [05:31:08]OFD Sender: No OFD packet to send [05:31:13]OFD Sender: No OFD packet to send [05:31:18]OFD Sender: No OFD packet to send [05:31:23]OFD Sender: No OFD packet to send [05:31:28]OFD Sender: No OFD packet to send [05:31:33]OFD Sender: No OFD packet to send [05:31:38]OFD Sender: No OFD packet to send [05:31:43]OFD Sender: No OFD packet to send [05:31:48]OFD Sender: No OFD packet to send [05:31:53]OFD Sender: No OFD packet to send [05:31:58]OFD Sender: No OFD packet to send [05:32:03]OFD Sender: No OFD packet to send [05:32:08]OFD Sender: No OFD packet to send [05:32:13]OFD Sender: No OFD packet to send [05:32:18]OFD Sender: No OFD packet to send [05:32:23]OFD Sender: No OFD packet to send [05:32:28]OFD Sender: No OFD packet to send [05:32:33]OFD Sender: No OFD packet to send [05:32:38]OFD Sender: No OFD packet to send [05:32:43]OFD Sender: No OFD packet to send [05:32:48]OFD Sender: No OFD packet to send [05:32:53]OFD Sender: No OFD packet to send [05:32:58]OFD Sender: No OFD packet to send [05:33:03]OFD Sender: No OFD packet to send [05:33:08]OFD Sender: No OFD packet to send [05:33:13]OFD Sender: No OFD packet to send [05:33:18]OFD Sender: No OFD packet to send [05:33:23]OFD Sender: No OFD packet to send [05:33:28]OFD Sender: No OFD packet to send [05:33:33]OFD Sender: No OFD packet to send [05:33:38]OFD Sender: No OFD packet to send [05:33:43]OFD Sender: No OFD packet to send [05:33:48]OFD Sender: No OFD packet to send [05:33:53]OFD Sender: No OFD packet to send [05:33:58]OFD Sender: No OFD packet to send [05:34:03]OFD Sender: No OFD packet to send [05:34:08]OFD Sender: No OFD packet to send [05:34:13]OFD Sender: No OFD packet to send [05:34:18]OFD Sender: No OFD packet to send [05:34:23]OFD Sender: No OFD packet to send [05:34:28]OFD Sender: No OFD packet to send [05:34:33]OFD Sender: No OFD packet to send [05:34:38]OFD Sender: No OFD packet to send [05:34:43]OFD Sender: No OFD packet to send [05:34:48]OFD Sender: No OFD packet to send [05:34:53]OFD Sender: No OFD packet to send [05:34:58]OFD Sender: No OFD packet to send [05:35:03]OFD Sender: No OFD packet to send [05:35:08]OFD Sender: No OFD packet to send [05:35:13]OFD Sender: No OFD packet to send [05:35:18]OFD Sender: No OFD packet to send [05:35:23]OFD Sender: No OFD packet to send [05:35:28]OFD Sender: No OFD packet to send [05:35:33]OFD Sender: No OFD packet to send [05:35:38]OFD Sender: No OFD packet to send [05:35:43]OFD Sender: No OFD packet to send [05:35:48]OFD Sender: No OFD packet to send [05:35:53]OFD Sender: No OFD packet to send [05:35:58]OFD Sender: No OFD packet to send [05:36:03]OFD Sender: No OFD packet to send [05:36:08]OFD Sender: No OFD packet to send [05:36:13]OFD Sender: No OFD packet to send [05:36:18]OFD Sender: No OFD packet to send [05:36:23]OFD Sender: No OFD packet to send [05:36:28]OFD Sender: No OFD packet to send [05:36:33]OFD Sender: No OFD packet to send [05:36:38]OFD Sender: No OFD packet to send [05:36:43]OFD Sender: No OFD packet to send [05:36:48]OFD Sender: No OFD packet to send [05:36:53]OFD Sender: No OFD packet to send [05:36:58]OFD Sender: No OFD packet to send [05:37:03]OFD Sender: No OFD packet to send [05:37:08]OFD Sender: No OFD packet to send [05:37:13]OFD Sender: No OFD packet to send [05:37:18]OFD Sender: No OFD packet to send [05:37:23]OFD Sender: No OFD packet to send [05:37:28]OFD Sender: No OFD packet to send [05:37:33]OFD Sender: No OFD packet to send [05:37:38]OFD Sender: No OFD packet to send [05:37:43]OFD Sender: No OFD packet to send [05:37:48]OFD Sender: No OFD packet to send [05:37:53]OFD Sender: No OFD packet to send [05:37:58]OFD Sender: No OFD packet to send [05:38:03]OFD Sender: No OFD packet to send [05:38:08]OFD Sender: No OFD packet to send [05:38:13]OFD Sender: No OFD packet to send [05:38:18]OFD Sender: No OFD packet to send [05:38:23]OFD Sender: No OFD packet to send [05:38:28]OFD Sender: No OFD packet to send [05:38:33]OFD Sender: No OFD packet to send [05:38:38]OFD Sender: No OFD packet to send [05:38:43]OFD Sender: No OFD packet to send [05:38:48]OFD Sender: No OFD packet to send [05:38:53]OFD Sender: No OFD packet to send [05:38:58]OFD Sender: No OFD packet to send [05:39:03]OFD Sender: No OFD packet to send [05:39:08]OFD Sender: No OFD packet to send [05:39:13]OFD Sender: No OFD packet to send [05:39:18]OFD Sender: No OFD packet to send [05:39:23]OFD Sender: No OFD packet to send [05:39:28]OFD Sender: No OFD packet to send [05:39:33]OFD Sender: No OFD packet to send [05:39:38]OFD Sender: No OFD packet to send [05:39:43]OFD Sender: No OFD packet to send [05:39:48]OFD Sender: No OFD packet to send [05:39:53]OFD Sender: No OFD packet to send [05:39:58]OFD Sender: No OFD packet to send [05:40:03]OFD Sender: No OFD packet to send [05:40:08]OFD Sender: No OFD packet to send [05:40:13]OFD Sender: No OFD packet to send [05:40:18]OFD Sender: No OFD packet to send [05:40:23]OFD Sender: No OFD packet to send [05:40:28]OFD Sender: No OFD packet to send [05:40:33]OFD Sender: No OFD packet to send [05:40:38]OFD Sender: No OFD packet to send [05:40:43]OFD Sender: No OFD packet to send [05:40:48]OFD Sender: No OFD packet to send [05:40:53]OFD Sender: No OFD packet to send [05:40:58]OFD Sender: No OFD packet to send [05:41:03]OFD Sender: No OFD packet to send [05:41:08]OFD Sender: No OFD packet to send [05:41:13]OFD Sender: No OFD packet to send [05:41:18]OFD Sender: No OFD packet to send [05:41:23]OFD Sender: No OFD packet to send [05:41:28]OFD Sender: No OFD packet to send [05:41:33]OFD Sender: No OFD packet to send [05:41:38]OFD Sender: No OFD packet to send [05:41:43]OFD Sender: No OFD packet to send [05:41:48]OFD Sender: No OFD packet to send [05:41:53]OFD Sender: No OFD packet to send [05:41:58]OFD Sender: No OFD packet to send [05:42:03]OFD Sender: No OFD packet to send [05:42:08]OFD Sender: No OFD packet to send [05:42:13]OFD Sender: No OFD packet to send [05:42:18]OFD Sender: No OFD packet to send [05:42:23]OFD Sender: No OFD packet to send [05:42:28]OFD Sender: No OFD packet to send [05:42:33]OFD Sender: No OFD packet to send [05:42:38]OFD Sender: No OFD packet to send [05:42:43]OFD Sender: No OFD packet to send [05:42:48]OFD Sender: No OFD packet to send [05:42:53]OFD Sender: No OFD packet to send [05:42:58]OFD Sender: No OFD packet to send [05:43:03]OFD Sender: No OFD packet to send [05:43:08]OFD Sender: No OFD packet to send [05:43:13]OFD Sender: No OFD packet to send [05:43:18]OFD Sender: No OFD packet to send [05:43:23]OFD Sender: No OFD packet to send [05:43:28]OFD Sender: No OFD packet to send [05:43:33]OFD Sender: No OFD packet to send [05:43:38]OFD Sender: No OFD packet to send [05:43:43]OFD Sender: No OFD packet to send [05:43:48]OFD Sender: No OFD packet to send [05:43:53]OFD Sender: No OFD packet to send [05:43:58]OFD Sender: No OFD packet to send [05:44:03]OFD Sender: No OFD packet to send [05:44:08]OFD Sender: No OFD packet to send [05:44:13]OFD Sender: No OFD packet to send [05:44:18]OFD Sender: No OFD packet to send [05:44:23]OFD Sender: No OFD packet to send [05:44:28]OFD Sender: No OFD packet to send [05:44:33]OFD Sender: No OFD packet to send [05:44:38]OFD Sender: No OFD packet to send [05:44:43]OFD Sender: No OFD packet to send [05:44:48]OFD Sender: No OFD packet to send [05:44:53]OFD Sender: No OFD packet to send [05:44:58]OFD Sender: No OFD packet to send [05:45:03]OFD Sender: No OFD packet to send [05:45:08]OFD Sender: No OFD packet to send [05:45:13]OFD Sender: No OFD packet to send [05:45:18]OFD Sender: No OFD packet to send [05:45:23]OFD Sender: No OFD packet to send [05:45:28]OFD Sender: No OFD packet to send [05:45:33]OFD Sender: No OFD packet to send [05:45:38]OFD Sender: No OFD packet to send [05:45:43]OFD Sender: No OFD packet to send [05:45:48]OFD Sender: No OFD packet to send [05:45:53]OFD Sender: No OFD packet to send [05:45:58]OFD Sender: No OFD packet to send [05:46:03]OFD Sender: No OFD packet to send [05:46:08]OFD Sender: No OFD packet to send [05:46:13]OFD Sender: No OFD packet to send [05:46:18]OFD Sender: No OFD packet to send [05:46:23]OFD Sender: No OFD packet to send [05:46:28]OFD Sender: No OFD packet to send [05:46:34]OFD Sender: No OFD packet to send [05:46:39]OFD Sender: No OFD packet to send [05:46:44]OFD Sender: No OFD packet to send [05:46:49]OFD Sender: No OFD packet to send [05:46:54]OFD Sender: No OFD packet to send [05:46:59]OFD Sender: No OFD packet to send [05:47:04]OFD Sender: No OFD packet to send [05:47:09]OFD Sender: No OFD packet to send [05:47:14]OFD Sender: No OFD packet to send [05:47:19]OFD Sender: No OFD packet to send [05:47:24]OFD Sender: No OFD packet to send [05:47:29]OFD Sender: No OFD packet to send [05:47:34]OFD Sender: No OFD packet to send [05:47:39]OFD Sender: No OFD packet to send [05:47:44]OFD Sender: No OFD packet to send [05:47:49]OFD Sender: No OFD packet to send [05:47:54]OFD Sender: No OFD packet to send [05:47:59]OFD Sender: No OFD packet to send [05:48:04]OFD Sender: No OFD packet to send [05:48:09]OFD Sender: No OFD packet to send [05:48:14]OFD Sender: No OFD packet to send [05:48:19]OFD Sender: No OFD packet to send [05:48:24]OFD Sender: No OFD packet to send [05:48:29]OFD Sender: No OFD packet to send [05:48:34]OFD Sender: No OFD packet to send [05:48:39]OFD Sender: No OFD packet to send [05:48:44]OFD Sender: No OFD packet to send [05:48:49]OFD Sender: No OFD packet to send [05:48:54]OFD Sender: No OFD packet to send [05:48:59]OFD Sender: No OFD packet to send [05:49:04]OFD Sender: No OFD packet to send [05:49:09]OFD Sender: No OFD packet to send [05:49:14]OFD Sender: No OFD packet to send [05:49:19]OFD Sender: No OFD packet to send [05:49:24]OFD Sender: No OFD packet to send [05:49:29]OFD Sender: No OFD packet to send [05:49:34]OFD Sender: No OFD packet to send [05:49:39]OFD Sender: No OFD packet to send [05:49:44]OFD Sender: No OFD packet to send [05:49:49]OFD Sender: No OFD packet to send [05:49:54]OFD Sender: No OFD packet to send [05:49:59]OFD Sender: No OFD packet to send [05:50:04]OFD Sender: No OFD packet to send [05:50:09]OFD Sender: No OFD packet to send [05:50:14]OFD Sender: No OFD packet to send [05:50:19]OFD Sender: No OFD packet to send [05:50:24]OFD Sender: No OFD packet to send [05:50:29]OFD Sender: No OFD packet to send [05:50:34]OFD Sender: No OFD packet to send [05:50:39]OFD Sender: No OFD packet to send [05:50:44]OFD Sender: No OFD packet to send [05:50:49]OFD Sender: No OFD packet to send [05:50:54]OFD Sender: No OFD packet to send [05:50:59]OFD Sender: No OFD packet to send [05:51:04]OFD Sender: No OFD packet to send [05:51:09]OFD Sender: No OFD packet to send [05:51:14]OFD Sender: No OFD packet to send [05:51:19]OFD Sender: No OFD packet to send [05:51:24]OFD Sender: No OFD packet to send [05:51:29]OFD Sender: No OFD packet to send [05:51:34]OFD Sender: No OFD packet to send [05:51:39]OFD Sender: No OFD packet to send [05:51:44]OFD Sender: No OFD packet to send [05:51:49]OFD Sender: No OFD packet to send [05:51:54]OFD Sender: No OFD packet to send [05:51:59]OFD Sender: No OFD packet to send [05:52:04]OFD Sender: No OFD packet to send [05:52:09]OFD Sender: No OFD packet to send [05:52:14]OFD Sender: No OFD packet to send [05:52:19]OFD Sender: No OFD packet to send [05:52:24]OFD Sender: No OFD packet to send [05:52:29]OFD Sender: No OFD packet to send [05:52:34]OFD Sender: No OFD packet to send [05:52:39]OFD Sender: No OFD packet to send [05:52:44]OFD Sender: No OFD packet to send [05:52:49]OFD Sender: No OFD packet to send [05:52:54]OFD Sender: No OFD packet to send [05:52:59]OFD Sender: No OFD packet to send [05:53:04]OFD Sender: No OFD packet to send [05:53:09]OFD Sender: No OFD packet to send [05:53:14]OFD Sender: No OFD packet to send [05:53:19]OFD Sender: No OFD packet to send [05:53:24]OFD Sender: No OFD packet to send [05:53:29]OFD Sender: No OFD packet to send [05:53:34]OFD Sender: No OFD packet to send [05:53:39]OFD Sender: No OFD packet to send [05:53:44]OFD Sender: No OFD packet to send [05:53:49]OFD Sender: No OFD packet to send [05:53:54]OFD Sender: No OFD packet to send [05:53:59]OFD Sender: No OFD packet to send [05:54:04]OFD Sender: No OFD packet to send [05:54:09]OFD Sender: No OFD packet to send [05:54:14]OFD Sender: No OFD packet to send [05:54:19]OFD Sender: No OFD packet to send [05:54:24]OFD Sender: No OFD packet to send [05:54:29]OFD Sender: No OFD packet to send [05:54:34]OFD Sender: No OFD packet to send [05:54:39]OFD Sender: No OFD packet to send [05:54:44]OFD Sender: No OFD packet to send [05:54:49]OFD Sender: No OFD packet to send [05:54:54]OFD Sender: No OFD packet to send [05:54:59]OFD Sender: No OFD packet to send [05:55:04]OFD Sender: No OFD packet to send [05:55:09]OFD Sender: No OFD packet to send [05:55:14]OFD Sender: No OFD packet to send [05:55:19]OFD Sender: No OFD packet to send [05:55:24]OFD Sender: No OFD packet to send [05:55:29]OFD Sender: No OFD packet to send [05:55:34]OFD Sender: No OFD packet to send [05:55:39]OFD Sender: No OFD packet to send [05:55:44]OFD Sender: No OFD packet to send [05:55:49]OFD Sender: No OFD packet to send [05:55:54]OFD Sender: No OFD packet to send [05:55:59]OFD Sender: No OFD packet to send [05:56:04]OFD Sender: No OFD packet to send [05:56:09]OFD Sender: No OFD packet to send [05:56:14]OFD Sender: No OFD packet to send [05:56:19]OFD Sender: No OFD packet to send [05:56:24]OFD Sender: No OFD packet to send [05:56:29]OFD Sender: No OFD packet to send [05:56:34]OFD Sender: No OFD packet to send [05:56:39]OFD Sender: No OFD packet to send [05:56:44]OFD Sender: No OFD packet to send [05:56:49]OFD Sender: No OFD packet to send [05:56:54]OFD Sender: No OFD packet to send [05:56:59]OFD Sender: No OFD packet to send [05:57:04]OFD Sender: No OFD packet to send [05:57:09]OFD Sender: No OFD packet to send [05:57:14]OFD Sender: No OFD packet to send [05:57:19]OFD Sender: No OFD packet to send [05:57:24]OFD Sender: No OFD packet to send [05:57:29]OFD Sender: No OFD packet to send [05:57:34]OFD Sender: No OFD packet to send [05:57:39]OFD Sender: No OFD packet to send [05:57:44]OFD Sender: No OFD packet to send [05:57:49]OFD Sender: No OFD packet to send [05:57:54]OFD Sender: No OFD packet to send [05:57:59]OFD Sender: No OFD packet to send [05:58:04]OFD Sender: No OFD packet to send [05:58:09]OFD Sender: No OFD packet to send [05:58:14]OFD Sender: No OFD packet to send [05:58:19]OFD Sender: No OFD packet to send [05:58:24]OFD Sender: No OFD packet to send [05:58:29]OFD Sender: No OFD packet to send [05:58:34]OFD Sender: No OFD packet to send [05:58:39]OFD Sender: No OFD packet to send [05:58:44]OFD Sender: No OFD packet to send [05:58:49]OFD Sender: No OFD packet to send [05:58:54]OFD Sender: No OFD packet to send [05:58:59]OFD Sender: No OFD packet to send [05:59:04]OFD Sender: No OFD packet to send [05:59:09]OFD Sender: No OFD packet to send [05:59:14]OFD Sender: No OFD packet to send [05:59:19]OFD Sender: No OFD packet to send [05:59:24]OFD Sender: No OFD packet to send [05:59:29]OFD Sender: No OFD packet to send [05:59:34]OFD Sender: No OFD packet to send [05:59:39]OFD Sender: No OFD packet to send [05:59:44]OFD Sender: No OFD packet to send [05:59:49]OFD Sender: No OFD packet to send [05:59:54]OFD Sender: No OFD packet to send [05:59:59]OFD Sender: No OFD packet to send [06:00:04]OFD Sender: No OFD packet to send [06:00:09]OFD Sender: No OFD packet to send [06:00:14]OFD Sender: No OFD packet to send [06:00:19]OFD Sender: No OFD packet to send [06:00:24]OFD Sender: No OFD packet to send [06:00:29]OFD Sender: No OFD packet to send [06:00:34]OFD Sender: No OFD packet to send [06:00:39]OFD Sender: No OFD packet to send [06:00:44]OFD Sender: No OFD packet to send [06:00:49]OFD Sender: No OFD packet to send [06:00:54]OFD Sender: No OFD packet to send [06:00:59]OFD Sender: No OFD packet to send [06:01:04]OFD Sender: No OFD packet to send [06:01:09]OFD Sender: No OFD packet to send [06:01:14]OFD Sender: No OFD packet to send [06:01:19]OFD Sender: No OFD packet to send [06:01:24]OFD Sender: No OFD packet to send [06:01:29]OFD Sender: No OFD packet to send [06:01:34]OFD Sender: No OFD packet to send [06:01:39]OFD Sender: No OFD packet to send [06:01:44]OFD Sender: No OFD packet to send [06:01:49]OFD Sender: No OFD packet to send [06:01:54]OFD Sender: No OFD packet to send [06:01:59]OFD Sender: No OFD packet to send [06:02:04]OFD Sender: No OFD packet to send [06:02:09]OFD Sender: No OFD packet to send [06:02:14]OFD Sender: No OFD packet to send [06:02:19]OFD Sender: No OFD packet to send [06:02:24]OFD Sender: No OFD packet to send [06:02:29]OFD Sender: No OFD packet to send [06:02:34]OFD Sender: No OFD packet to send [06:02:39]OFD Sender: No OFD packet to send [06:02:44]OFD Sender: No OFD packet to send [06:02:49]OFD Sender: No OFD packet to send [06:02:54]OFD Sender: No OFD packet to send [06:02:59]OFD Sender: No OFD packet to send [06:03:04]OFD Sender: No OFD packet to send [06:03:09]OFD Sender: No OFD packet to send [06:03:14]OFD Sender: No OFD packet to send [06:03:19]OFD Sender: No OFD packet to send [06:03:24]OFD Sender: No OFD packet to send [06:03:29]OFD Sender: No OFD packet to send [06:03:34]OFD Sender: No OFD packet to send [06:03:39]OFD Sender: No OFD packet to send [06:03:44]OFD Sender: No OFD packet to send [06:03:49]OFD Sender: No OFD packet to send [06:03:54]OFD Sender: No OFD packet to send [06:03:59]OFD Sender: No OFD packet to send [06:04:04]OFD Sender: No OFD packet to send [06:04:09]OFD Sender: No OFD packet to send [06:04:14]OFD Sender: No OFD packet to send [06:04:19]OFD Sender: No OFD packet to send [06:04:24]OFD Sender: No OFD packet to send [06:04:29]OFD Sender: No OFD packet to send [06:04:34]OFD Sender: No OFD packet to send [06:04:39]OFD Sender: No OFD packet to send [06:04:44]OFD Sender: No OFD packet to send [06:04:49]OFD Sender: No OFD packet to send [06:04:54]OFD Sender: No OFD packet to send [06:04:59]OFD Sender: No OFD packet to send [06:05:04]OFD Sender: No OFD packet to send [06:05:09]OFD Sender: No OFD packet to send [06:05:14]OFD Sender: No OFD packet to send [06:05:19]OFD Sender: No OFD packet to send [06:05:24]OFD Sender: No OFD packet to send [06:05:29]OFD Sender: No OFD packet to send [06:05:34]OFD Sender: No OFD packet to send [06:05:39]OFD Sender: No OFD packet to send [06:05:44]OFD Sender: No OFD packet to send [06:05:49]OFD Sender: No OFD packet to send [06:05:54]OFD Sender: No OFD packet to send [06:05:59]OFD Sender: No OFD packet to send [06:06:04]OFD Sender: No OFD packet to send [06:06:09]OFD Sender: No OFD packet to send [06:06:14]OFD Sender: No OFD packet to send [06:06:19]OFD Sender: No OFD packet to send [06:06:24]OFD Sender: No OFD packet to send [06:06:29]OFD Sender: No OFD packet to send [06:06:34]OFD Sender: No OFD packet to send [06:06:39]OFD Sender: No OFD packet to send [06:06:44]OFD Sender: No OFD packet to send [06:06:49]OFD Sender: No OFD packet to send [06:06:54]OFD Sender: No OFD packet to send [06:06:59]OFD Sender: No OFD packet to send [06:07:04]OFD Sender: No OFD packet to send [06:07:09]OFD Sender: No OFD packet to send [06:07:14]OFD Sender: No OFD packet to send [06:07:19]OFD Sender: No OFD packet to send [06:07:24]OFD Sender: No OFD packet to send [06:07:29]OFD Sender: No OFD packet to send [06:07:34]OFD Sender: No OFD packet to send [06:07:39]OFD Sender: No OFD packet to send [06:07:44]OFD Sender: No OFD packet to send [06:07:49]OFD Sender: No OFD packet to send [06:07:55]OFD Sender: No OFD packet to send [06:08:00]OFD Sender: No OFD packet to send [06:08:05]OFD Sender: No OFD packet to send [06:08:10]OFD Sender: No OFD packet to send [06:08:15]OFD Sender: No OFD packet to send [06:08:20]OFD Sender: No OFD packet to send [06:08:25]OFD Sender: No OFD packet to send [06:08:30]OFD Sender: No OFD packet to send [06:08:35]OFD Sender: No OFD packet to send [06:08:40]OFD Sender: No OFD packet to send [06:08:45]OFD Sender: No OFD packet to send [06:08:50]OFD Sender: No OFD packet to send [06:08:55]OFD Sender: No OFD packet to send [06:09:00]OFD Sender: No OFD packet to send [06:09:05]OFD Sender: No OFD packet to send [06:09:10]OFD Sender: No OFD packet to send [06:09:15]OFD Sender: No OFD packet to send [06:09:20]OFD Sender: No OFD packet to send [06:09:25]OFD Sender: No OFD packet to send [06:09:30]OFD Sender: No OFD packet to send [06:09:35]OFD Sender: No OFD packet to send [06:09:40]OFD Sender: No OFD packet to send [06:09:45]OFD Sender: No OFD packet to send [06:09:50]OFD Sender: No OFD packet to send [06:09:55]OFD Sender: No OFD packet to send [06:10:00]OFD Sender: No OFD packet to send [06:10:05]OFD Sender: No OFD packet to send [06:10:10]OFD Sender: No OFD packet to send [06:10:15]OFD Sender: No OFD packet to send [06:10:20]OFD Sender: No OFD packet to send [06:10:25]OFD Sender: No OFD packet to send [06:10:30]OFD Sender: No OFD packet to send [06:10:35]OFD Sender: No OFD packet to send [06:10:40]OFD Sender: No OFD packet to send [06:10:45]OFD Sender: No OFD packet to send [06:10:50]OFD Sender: No OFD packet to send [06:10:55]OFD Sender: No OFD packet to send [06:11:00]OFD Sender: No OFD packet to send [06:11:05]OFD Sender: No OFD packet to send [06:11:10]OFD Sender: No OFD packet to send [06:11:15]OFD Sender: No OFD packet to send [06:11:20]OFD Sender: No OFD packet to send [06:11:25]OFD Sender: No OFD packet to send [06:11:30]OFD Sender: No OFD packet to send [06:11:35]OFD Sender: No OFD packet to send [06:11:40]OFD Sender: No OFD packet to send [06:11:45]OFD Sender: No OFD packet to send [06:11:50]OFD Sender: No OFD packet to send [06:11:55]OFD Sender: No OFD packet to send [06:12:00]OFD Sender: No OFD packet to send [06:12:05]OFD Sender: No OFD packet to send [06:12:10]OFD Sender: No OFD packet to send [06:12:15]OFD Sender: No OFD packet to send [06:12:20]OFD Sender: No OFD packet to send [06:12:25]OFD Sender: No OFD packet to send [06:12:30]OFD Sender: No OFD packet to send [06:12:35]OFD Sender: No OFD packet to send [06:12:40]OFD Sender: No OFD packet to send [06:12:45]OFD Sender: No OFD packet to send [06:12:50]OFD Sender: No OFD packet to send [06:12:55]OFD Sender: No OFD packet to send [06:13:00]OFD Sender: No OFD packet to send [06:13:05]OFD Sender: No OFD packet to send [06:13:10]OFD Sender: No OFD packet to send [06:13:15]OFD Sender: No OFD packet to send [06:13:20]OFD Sender: No OFD packet to send [06:13:25]OFD Sender: No OFD packet to send [06:13:30]OFD Sender: No OFD packet to send [06:13:35]OFD Sender: No OFD packet to send [06:13:40]OFD Sender: No OFD packet to send [06:13:45]OFD Sender: No OFD packet to send [06:13:50]OFD Sender: No OFD packet to send [06:13:55]OFD Sender: No OFD packet to send [06:14:00]OFD Sender: No OFD packet to send [06:14:05]OFD Sender: No OFD packet to send [06:14:10]OFD Sender: No OFD packet to send [06:14:15]OFD Sender: No OFD packet to send [06:14:20]OFD Sender: No OFD packet to send [06:14:25]OFD Sender: No OFD packet to send [06:14:30]OFD Sender: No OFD packet to send [06:14:35]OFD Sender: No OFD packet to send [06:14:40]OFD Sender: No OFD packet to send [06:14:45]OFD Sender: No OFD packet to send [06:14:50]OFD Sender: No OFD packet to send [06:14:55]OFD Sender: No OFD packet to send [06:15:00]OFD Sender: No OFD packet to send [06:15:05]OFD Sender: No OFD packet to send [06:15:10]OFD Sender: No OFD packet to send [06:15:15]OFD Sender: No OFD packet to send [06:15:20]OFD Sender: No OFD packet to send [06:15:25]OFD Sender: No OFD packet to send [06:15:30]OFD Sender: No OFD packet to send [06:15:35]OFD Sender: No OFD packet to send [06:15:40]OFD Sender: No OFD packet to send [06:15:45]OFD Sender: No OFD packet to send [06:15:50]OFD Sender: No OFD packet to send [06:15:55]OFD Sender: No OFD packet to send [06:16:00]OFD Sender: No OFD packet to send [06:16:05]OFD Sender: No OFD packet to send [06:16:10]OFD Sender: No OFD packet to send [06:16:15]OFD Sender: No OFD packet to send [06:16:20]OFD Sender: No OFD packet to send [06:16:25]OFD Sender: No OFD packet to send [06:16:30]OFD Sender: No OFD packet to send [06:16:35]OFD Sender: No OFD packet to send [06:16:40]OFD Sender: No OFD packet to send [06:16:45]OFD Sender: No OFD packet to send [06:16:50]OFD Sender: No OFD packet to send [06:16:55]OFD Sender: No OFD packet to send [06:17:00]OFD Sender: No OFD packet to send [06:17:05]OFD Sender: No OFD packet to send [06:17:10]OFD Sender: No OFD packet to send [06:17:15]OFD Sender: No OFD packet to send [06:17:20]OFD Sender: No OFD packet to send [06:17:25]OFD Sender: No OFD packet to send [06:17:30]OFD Sender: No OFD packet to send [06:17:35]OFD Sender: No OFD packet to send [06:17:40]OFD Sender: No OFD packet to send [06:17:45]OFD Sender: No OFD packet to send [06:17:50]OFD Sender: No OFD packet to send [06:17:55]OFD Sender: No OFD packet to send [06:18:00]OFD Sender: No OFD packet to send [06:18:05]OFD Sender: No OFD packet to send [06:18:10]OFD Sender: No OFD packet to send [06:18:15]OFD Sender: No OFD packet to send [06:18:20]OFD Sender: No OFD packet to send [06:18:25]OFD Sender: No OFD packet to send [06:18:30]OFD Sender: No OFD packet to send [06:18:35]OFD Sender: No OFD packet to send [06:18:40]OFD Sender: No OFD packet to send [06:18:45]OFD Sender: No OFD packet to send [06:18:50]OFD Sender: No OFD packet to send [06:18:55]OFD Sender: No OFD packet to send [06:19:00]OFD Sender: No OFD packet to send [06:19:05]OFD Sender: No OFD packet to send [06:19:10]OFD Sender: No OFD packet to send [06:19:15]OFD Sender: No OFD packet to send [06:19:20]OFD Sender: No OFD packet to send [06:19:25]OFD Sender: No OFD packet to send [06:19:30]OFD Sender: No OFD packet to send [06:19:35]OFD Sender: No OFD packet to send [06:19:40]OFD Sender: No OFD packet to send [06:19:45]OFD Sender: No OFD packet to send [06:19:50]OFD Sender: No OFD packet to send [06:19:55]OFD Sender: No OFD packet to send [06:20:00]OFD Sender: No OFD packet to send [06:20:05]OFD Sender: No OFD packet to send [06:20:10]OFD Sender: No OFD packet to send [06:20:15]OFD Sender: No OFD packet to send [06:20:20]OFD Sender: No OFD packet to send [06:20:25]OFD Sender: No OFD packet to send [06:20:30]OFD Sender: No OFD packet to send [06:20:35]OFD Sender: No OFD packet to send [06:20:40]OFD Sender: No OFD packet to send [06:20:45]OFD Sender: No OFD packet to send [06:20:50]OFD Sender: No OFD packet to send [06:20:55]OFD Sender: No OFD packet to send [06:21:00]OFD Sender: No OFD packet to send [06:21:05]OFD Sender: No OFD packet to send [06:21:10]OFD Sender: No OFD packet to send [06:21:15]OFD Sender: No OFD packet to send [06:21:20]OFD Sender: No OFD packet to send [06:21:25]OFD Sender: No OFD packet to send [06:21:30]OFD Sender: No OFD packet to send [06:21:35]OFD Sender: No OFD packet to send [06:21:40]OFD Sender: No OFD packet to send [06:21:45]OFD Sender: No OFD packet to send [06:21:50]OFD Sender: No OFD packet to send [06:21:55]OFD Sender: No OFD packet to send [06:22:00]OFD Sender: No OFD packet to send [06:22:05]OFD Sender: No OFD packet to send [06:22:10]OFD Sender: No OFD packet to send [06:22:15]OFD Sender: No OFD packet to send [06:22:20]OFD Sender: No OFD packet to send [06:22:25]OFD Sender: No OFD packet to send [06:22:30]OFD Sender: No OFD packet to send [06:22:35]OFD Sender: No OFD packet to send [06:22:40]OFD Sender: No OFD packet to send [06:22:45]OFD Sender: No OFD packet to send [06:22:50]OFD Sender: No OFD packet to send [06:22:55]OFD Sender: No OFD packet to send [06:23:00]OFD Sender: No OFD packet to send [06:23:05]OFD Sender: No OFD packet to send [06:23:10]OFD Sender: No OFD packet to send [06:23:15]OFD Sender: No OFD packet to send [06:23:20]OFD Sender: No OFD packet to send [06:23:25]OFD Sender: No OFD packet to send [06:23:30]OFD Sender: No OFD packet to send [06:23:35]OFD Sender: No OFD packet to send [06:23:40]OFD Sender: No OFD packet to send [06:23:45]OFD Sender: No OFD packet to send [06:23:50]OFD Sender: No OFD packet to send [06:23:55]OFD Sender: No OFD packet to send [06:24:00]OFD Sender: No OFD packet to send [06:24:05]OFD Sender: No OFD packet to send [06:24:10]OFD Sender: No OFD packet to send [06:24:15]OFD Sender: No OFD packet to send [06:24:20]OFD Sender: No OFD packet to send [06:24:25]OFD Sender: No OFD packet to send [06:24:30]OFD Sender: No OFD packet to send [06:24:35]OFD Sender: No OFD packet to send [06:24:40]OFD Sender: No OFD packet to send [06:24:45]OFD Sender: No OFD packet to send [06:24:50]OFD Sender: No OFD packet to send [06:24:55]OFD Sender: No OFD packet to send [06:25:00]OFD Sender: No OFD packet to send [06:25:05]OFD Sender: No OFD packet to send [06:25:10]OFD Sender: No OFD packet to send [06:25:15]OFD Sender: No OFD packet to send [06:25:20]OFD Sender: No OFD packet to send [06:25:25]OFD Sender: No OFD packet to send [06:25:30]OFD Sender: No OFD packet to send [06:25:35]OFD Sender: No OFD packet to send [06:25:40]OFD Sender: No OFD packet to send [06:25:45]OFD Sender: No OFD packet to send [06:25:50]OFD Sender: No OFD packet to send [06:25:55]OFD Sender: No OFD packet to send [06:26:00]OFD Sender: No OFD packet to send [06:26:05]OFD Sender: No OFD packet to send [06:26:10]OFD Sender: No OFD packet to send [06:26:15]OFD Sender: No OFD packet to send [06:26:20]OFD Sender: No OFD packet to send [06:26:25]OFD Sender: No OFD packet to send [06:26:30]OFD Sender: No OFD packet to send [06:26:35]OFD Sender: No OFD packet to send [06:26:40]OFD Sender: No OFD packet to send [06:26:45]OFD Sender: No OFD packet to send [06:26:50]OFD Sender: No OFD packet to send [06:26:55]OFD Sender: No OFD packet to send [06:27:00]OFD Sender: No OFD packet to send [06:27:05]OFD Sender: No OFD packet to send [06:27:10]OFD Sender: No OFD packet to send [06:27:15]OFD Sender: No OFD packet to send [06:27:20]OFD Sender: No OFD packet to send [06:27:25]OFD Sender: No OFD packet to send [06:27:30]OFD Sender: No OFD packet to send [06:27:35]OFD Sender: No OFD packet to send [06:27:40]OFD Sender: No OFD packet to send [06:27:45]OFD Sender: No OFD packet to send [06:27:50]OFD Sender: No OFD packet to send [06:27:55]OFD Sender: No OFD packet to send [06:28:00]OFD Sender: No OFD packet to send [06:28:05]OFD Sender: No OFD packet to send [06:28:10]OFD Sender: No OFD packet to send [06:28:15]OFD Sender: No OFD packet to send [06:28:20]OFD Sender: No OFD packet to send [06:28:25]OFD Sender: No OFD packet to send [06:28:30]OFD Sender: No OFD packet to send [06:28:35]OFD Sender: No OFD packet to send [06:28:40]OFD Sender: No OFD packet to send [06:28:45]OFD Sender: No OFD packet to send [06:28:50]OFD Sender: No OFD packet to send [06:28:55]OFD Sender: No OFD packet to send [06:29:00]OFD Sender: No OFD packet to send [06:29:05]OFD Sender: No OFD packet to send [06:29:10]OFD Sender: No OFD packet to send [06:29:15]OFD Sender: No OFD packet to send [06:29:21]OFD Sender: No OFD packet to send [06:29:26]OFD Sender: No OFD packet to send [06:29:31]OFD Sender: No OFD packet to send [06:29:36]OFD Sender: No OFD packet to send [06:29:41]OFD Sender: No OFD packet to send [06:29:46]OFD Sender: No OFD packet to send [06:29:51]OFD Sender: No OFD packet to send [06:29:56]OFD Sender: No OFD packet to send [06:30:01]OFD Sender: No OFD packet to send [06:30:06]OFD Sender: No OFD packet to send [06:30:11]OFD Sender: No OFD packet to send [06:30:16]OFD Sender: No OFD packet to send [06:30:21]OFD Sender: No OFD packet to send [06:30:26]OFD Sender: No OFD packet to send [06:30:31]OFD Sender: No OFD packet to send [06:30:36]OFD Sender: No OFD packet to send [06:30:41]OFD Sender: No OFD packet to send [06:30:46]OFD Sender: No OFD packet to send [06:30:51]OFD Sender: No OFD packet to send [06:30:56]OFD Sender: No OFD packet to send [06:31:01]OFD Sender: No OFD packet to send [06:31:06]OFD Sender: No OFD packet to send [06:31:11]OFD Sender: No OFD packet to send [06:31:16]OFD Sender: No OFD packet to send [06:31:21]OFD Sender: No OFD packet to send [06:31:26]OFD Sender: No OFD packet to send [06:31:31]OFD Sender: No OFD packet to send [06:31:36]OFD Sender: No OFD packet to send [06:31:41]OFD Sender: No OFD packet to send [06:31:46]OFD Sender: No OFD packet to send [06:31:51]OFD Sender: No OFD packet to send [06:31:56]OFD Sender: No OFD packet to send [06:32:01]OFD Sender: No OFD packet to send [06:32:06]OFD Sender: No OFD packet to send [06:32:11]OFD Sender: No OFD packet to send [06:32:16]OFD Sender: No OFD packet to send [06:32:21]OFD Sender: No OFD packet to send [06:32:26]OFD Sender: No OFD packet to send [06:32:31]OFD Sender: No OFD packet to send [06:32:36]OFD Sender: No OFD packet to send [06:32:41]OFD Sender: No OFD packet to send [06:32:46]OFD Sender: No OFD packet to send [06:32:51]OFD Sender: No OFD packet to send [06:32:56]OFD Sender: No OFD packet to send [06:33:01]OFD Sender: No OFD packet to send [06:33:06]OFD Sender: No OFD packet to send [06:33:11]OFD Sender: No OFD packet to send [06:33:16]OFD Sender: No OFD packet to send [06:33:21]OFD Sender: No OFD packet to send [06:33:26]OFD Sender: No OFD packet to send [06:33:31]OFD Sender: No OFD packet to send [06:33:36]OFD Sender: No OFD packet to send [06:33:41]OFD Sender: No OFD packet to send [06:33:46]OFD Sender: No OFD packet to send [06:33:51]OFD Sender: No OFD packet to send [06:33:56]OFD Sender: No OFD packet to send [06:34:01]OFD Sender: No OFD packet to send [06:34:06]OFD Sender: No OFD packet to send [06:34:11]OFD Sender: No OFD packet to send [06:34:16]OFD Sender: No OFD packet to send [06:34:21]OFD Sender: No OFD packet to send [06:34:26]OFD Sender: No OFD packet to send [06:34:31]OFD Sender: No OFD packet to send [06:34:36]OFD Sender: No OFD packet to send [06:34:41]OFD Sender: No OFD packet to send [06:34:46]OFD Sender: No OFD packet to send [06:34:51]OFD Sender: No OFD packet to send [06:34:56]OFD Sender: No OFD packet to send [06:35:01]OFD Sender: No OFD packet to send [06:35:06]OFD Sender: No OFD packet to send [06:35:11]OFD Sender: No OFD packet to send [06:35:16]OFD Sender: No OFD packet to send [06:35:21]OFD Sender: No OFD packet to send [06:35:26]OFD Sender: No OFD packet to send [06:35:31]OFD Sender: No OFD packet to send [06:35:36]OFD Sender: No OFD packet to send [06:35:41]OFD Sender: No OFD packet to send [06:35:46]OFD Sender: No OFD packet to send [06:35:51]OFD Sender: No OFD packet to send [06:35:56]OFD Sender: No OFD packet to send [06:36:01]OFD Sender: No OFD packet to send [06:36:06]OFD Sender: No OFD packet to send [06:36:11]OFD Sender: No OFD packet to send [06:36:16]OFD Sender: No OFD packet to send [06:36:21]OFD Sender: No OFD packet to send [06:36:26]OFD Sender: No OFD packet to send [06:36:31]OFD Sender: No OFD packet to send [06:36:36]OFD Sender: No OFD packet to send [06:36:41]OFD Sender: No OFD packet to send [06:36:46]OFD Sender: No OFD packet to send [06:36:51]OFD Sender: No OFD packet to send [06:36:56]OFD Sender: No OFD packet to send [06:37:01]OFD Sender: No OFD packet to send [06:37:06]OFD Sender: No OFD packet to send [06:37:11]OFD Sender: No OFD packet to send [06:37:16]OFD Sender: No OFD packet to send [06:37:21]OFD Sender: No OFD packet to send [06:37:26]OFD Sender: No OFD packet to send [06:37:31]OFD Sender: No OFD packet to send [06:37:36]OFD Sender: No OFD packet to send [06:37:41]OFD Sender: No OFD packet to send [06:37:46]OFD Sender: No OFD packet to send [06:37:51]OFD Sender: No OFD packet to send [06:37:56]OFD Sender: No OFD packet to send [06:38:01]OFD Sender: No OFD packet to send [06:38:06]OFD Sender: No OFD packet to send [06:38:11]OFD Sender: No OFD packet to send [06:38:16]OFD Sender: No OFD packet to send [06:38:21]OFD Sender: No OFD packet to send [06:38:26]OFD Sender: No OFD packet to send [06:38:31]OFD Sender: No OFD packet to send [06:38:36]OFD Sender: No OFD packet to send [06:38:41]OFD Sender: No OFD packet to send [06:38:46]OFD Sender: No OFD packet to send [06:38:51]OFD Sender: No OFD packet to send [06:38:56]OFD Sender: No OFD packet to send [06:39:01]OFD Sender: No OFD packet to send [06:39:06]OFD Sender: No OFD packet to send [06:39:11]OFD Sender: No OFD packet to send [06:39:16]OFD Sender: No OFD packet to send [06:39:21]OFD Sender: No OFD packet to send [06:39:26]OFD Sender: No OFD packet to send [06:39:31]OFD Sender: No OFD packet to send [06:39:36]OFD Sender: No OFD packet to send [06:39:41]OFD Sender: No OFD packet to send [06:39:46]OFD Sender: No OFD packet to send [06:39:51]OFD Sender: No OFD packet to send [06:39:56]OFD Sender: No OFD packet to send [06:40:01]OFD Sender: No OFD packet to send [06:40:06]OFD Sender: No OFD packet to send [06:40:11]OFD Sender: No OFD packet to send [06:40:16]OFD Sender: No OFD packet to send [06:40:21]OFD Sender: No OFD packet to send [06:40:26]OFD Sender: No OFD packet to send [06:40:31]OFD Sender: No OFD packet to send [06:40:36]OFD Sender: No OFD packet to send [06:40:41]OFD Sender: No OFD packet to send [06:40:46]OFD Sender: No OFD packet to send [06:40:51]OFD Sender: No OFD packet to send [06:40:56]OFD Sender: No OFD packet to send [06:41:01]OFD Sender: No OFD packet to send [06:41:06]OFD Sender: No OFD packet to send [06:41:11]OFD Sender: No OFD packet to send [06:41:16]OFD Sender: No OFD packet to send [06:41:21]OFD Sender: No OFD packet to send [06:41:26]OFD Sender: No OFD packet to send [06:41:31]OFD Sender: No OFD packet to send [06:41:36]OFD Sender: No OFD packet to send [06:41:41]OFD Sender: No OFD packet to send [06:41:46]OFD Sender: No OFD packet to send [06:41:51]OFD Sender: No OFD packet to send [06:41:56]OFD Sender: No OFD packet to send [06:42:01]OFD Sender: No OFD packet to send [06:42:06]OFD Sender: No OFD packet to send [06:42:11]OFD Sender: No OFD packet to send [06:42:16]OFD Sender: No OFD packet to send [06:42:21]OFD Sender: No OFD packet to send [06:42:26]OFD Sender: No OFD packet to send [06:42:31]OFD Sender: No OFD packet to send [06:42:36]OFD Sender: No OFD packet to send [06:42:41]OFD Sender: No OFD packet to send [06:42:46]OFD Sender: No OFD packet to send [06:42:51]OFD Sender: No OFD packet to send [06:42:56]OFD Sender: No OFD packet to send [06:43:01]OFD Sender: No OFD packet to send [06:43:06]OFD Sender: No OFD packet to send [06:43:11]OFD Sender: No OFD packet to send [06:43:16]OFD Sender: No OFD packet to send [06:43:21]OFD Sender: No OFD packet to send [06:43:26]OFD Sender: No OFD packet to send [06:43:31]OFD Sender: No OFD packet to send [06:43:36]OFD Sender: No OFD packet to send [06:43:41]OFD Sender: No OFD packet to send [06:43:46]OFD Sender: No OFD packet to send [06:43:51]OFD Sender: No OFD packet to send [06:43:56]OFD Sender: No OFD packet to send [06:44:01]OFD Sender: No OFD packet to send [06:44:06]OFD Sender: No OFD packet to send [06:44:11]OFD Sender: No OFD packet to send [06:44:16]OFD Sender: No OFD packet to send [06:44:21]OFD Sender: No OFD packet to send [06:44:26]OFD Sender: No OFD packet to send [06:44:31]OFD Sender: No OFD packet to send [06:44:36]OFD Sender: No OFD packet to send [06:44:41]OFD Sender: No OFD packet to send [06:44:46]OFD Sender: No OFD packet to send [06:44:51]OFD Sender: No OFD packet to send [06:44:56]OFD Sender: No OFD packet to send [06:45:01]OFD Sender: No OFD packet to send [06:45:06]OFD Sender: No OFD packet to send [06:45:11]OFD Sender: No OFD packet to send [06:45:16]OFD Sender: No OFD packet to send [06:45:21]OFD Sender: No OFD packet to send [06:45:26]OFD Sender: No OFD packet to send [06:45:31]OFD Sender: No OFD packet to send [06:45:36]OFD Sender: No OFD packet to send [06:45:41]OFD Sender: No OFD packet to send [06:45:46]OFD Sender: No OFD packet to send [06:45:51]OFD Sender: No OFD packet to send [06:45:56]OFD Sender: No OFD packet to send [06:46:01]OFD Sender: No OFD packet to send [06:46:06]OFD Sender: No OFD packet to send [06:46:11]OFD Sender: No OFD packet to send [06:46:16]OFD Sender: No OFD packet to send [06:46:21]OFD Sender: No OFD packet to send [06:46:26]OFD Sender: No OFD packet to send [06:46:31]OFD Sender: No OFD packet to send [06:46:36]OFD Sender: No OFD packet to send [06:46:41]OFD Sender: No OFD packet to send [06:46:46]OFD Sender: No OFD packet to send [06:46:51]OFD Sender: No OFD packet to send [06:46:56]OFD Sender: No OFD packet to send [06:47:01]OFD Sender: No OFD packet to send [06:47:06]OFD Sender: No OFD packet to send [06:47:11]OFD Sender: No OFD packet to send [06:47:16]OFD Sender: No OFD packet to send [06:47:21]OFD Sender: No OFD packet to send [06:47:26]OFD Sender: No OFD packet to send [06:47:31]OFD Sender: No OFD packet to send [06:47:36]OFD Sender: No OFD packet to send [06:47:41]OFD Sender: No OFD packet to send [06:47:46]OFD Sender: No OFD packet to send [06:47:51]OFD Sender: No OFD packet to send [06:47:56]OFD Sender: No OFD packet to send [06:48:01]OFD Sender: No OFD packet to send [06:48:06]OFD Sender: No OFD packet to send [06:48:11]OFD Sender: No OFD packet to send [06:48:16]OFD Sender: No OFD packet to send [06:48:21]OFD Sender: No OFD packet to send [06:48:26]OFD Sender: No OFD packet to send [06:48:31]OFD Sender: No OFD packet to send [06:48:36]OFD Sender: No OFD packet to send [06:48:41]OFD Sender: No OFD packet to send [06:48:46]OFD Sender: No OFD packet to send [06:48:51]OFD Sender: No OFD packet to send [06:48:56]OFD Sender: No OFD packet to send [06:49:01]OFD Sender: No OFD packet to send [06:49:06]OFD Sender: No OFD packet to send [06:49:11]OFD Sender: No OFD packet to send [06:49:16]OFD Sender: No OFD packet to send [06:49:21]OFD Sender: No OFD packet to send [06:49:26]OFD Sender: No OFD packet to send [06:49:31]OFD Sender: No OFD packet to send [06:49:36]OFD Sender: No OFD packet to send [06:49:41]OFD Sender: No OFD packet to send [06:49:46]OFD Sender: No OFD packet to send [06:49:51]OFD Sender: No OFD packet to send [06:49:56]OFD Sender: No OFD packet to send [06:50:01]OFD Sender: No OFD packet to send [06:50:06]OFD Sender: No OFD packet to send [06:50:11]OFD Sender: No OFD packet to send [06:50:16]OFD Sender: No OFD packet to send [06:50:21]OFD Sender: No OFD packet to send [06:50:26]OFD Sender: No OFD packet to send [06:50:31]OFD Sender: No OFD packet to send [06:50:36]OFD Sender: No OFD packet to send [06:50:41]OFD Sender: No OFD packet to send [06:50:47]OFD Sender: No OFD packet to send [06:50:52]OFD Sender: No OFD packet to send [06:50:57]OFD Sender: No OFD packet to send [06:51:02]OFD Sender: No OFD packet to send [06:51:07]OFD Sender: No OFD packet to send [06:51:12]OFD Sender: No OFD packet to send [06:51:17]OFD Sender: No OFD packet to send [06:51:22]OFD Sender: No OFD packet to send [06:51:27]OFD Sender: No OFD packet to send [06:51:32]OFD Sender: No OFD packet to send [06:51:37]OFD Sender: No OFD packet to send [06:51:42]OFD Sender: No OFD packet to send [06:51:47]OFD Sender: No OFD packet to send [06:51:52]OFD Sender: No OFD packet to send [06:51:57]OFD Sender: No OFD packet to send [06:52:02]OFD Sender: No OFD packet to send [06:52:07]OFD Sender: No OFD packet to send [06:52:12]OFD Sender: No OFD packet to send [06:52:17]OFD Sender: No OFD packet to send [06:52:22]OFD Sender: No OFD packet to send [06:52:27]OFD Sender: No OFD packet to send [06:52:32]OFD Sender: No OFD packet to send [06:52:37]OFD Sender: No OFD packet to send [06:52:42]OFD Sender: No OFD packet to send [06:52:47]OFD Sender: No OFD packet to send [06:52:52]OFD Sender: No OFD packet to send [06:52:57]OFD Sender: No OFD packet to send [06:53:02]OFD Sender: No OFD packet to send [06:53:07]OFD Sender: No OFD packet to send [06:53:12]OFD Sender: No OFD packet to send [06:53:17]OFD Sender: No OFD packet to send [06:53:22]OFD Sender: No OFD packet to send [06:53:27]OFD Sender: No OFD packet to send [06:53:32]OFD Sender: No OFD packet to send [06:53:37]OFD Sender: No OFD packet to send [06:53:42]OFD Sender: No OFD packet to send [06:53:47]OFD Sender: No OFD packet to send [06:53:52]OFD Sender: No OFD packet to send [06:53:57]OFD Sender: No OFD packet to send [06:54:02]OFD Sender: No OFD packet to send [06:54:07]OFD Sender: No OFD packet to send [06:54:12]OFD Sender: No OFD packet to send [06:54:17]OFD Sender: No OFD packet to send [06:54:22]OFD Sender: No OFD packet to send [06:54:27]OFD Sender: No OFD packet to send [06:54:32]OFD Sender: No OFD packet to send [06:54:37]OFD Sender: No OFD packet to send [06:54:42]OFD Sender: No OFD packet to send [06:54:47]OFD Sender: No OFD packet to send [06:54:52]OFD Sender: No OFD packet to send [06:54:57]OFD Sender: No OFD packet to send [06:55:02]OFD Sender: No OFD packet to send [06:55:07]OFD Sender: No OFD packet to send [06:55:12]OFD Sender: No OFD packet to send [06:55:17]OFD Sender: No OFD packet to send [06:55:22]OFD Sender: No OFD packet to send [06:55:27]OFD Sender: No OFD packet to send [06:55:32]OFD Sender: No OFD packet to send [06:55:37]OFD Sender: No OFD packet to send [06:55:42]OFD Sender: No OFD packet to send [06:55:47]OFD Sender: No OFD packet to send [06:55:52]OFD Sender: No OFD packet to send [06:55:57]OFD Sender: No OFD packet to send [06:56:02]OFD Sender: No OFD packet to send [06:56:07]OFD Sender: No OFD packet to send [06:56:12]OFD Sender: No OFD packet to send [06:56:17]OFD Sender: No OFD packet to send [06:56:22]OFD Sender: No OFD packet to send [06:56:27]OFD Sender: No OFD packet to send [06:56:32]OFD Sender: No OFD packet to send [06:56:37]OFD Sender: No OFD packet to send [06:56:42]OFD Sender: No OFD packet to send [06:56:47]OFD Sender: No OFD packet to send [06:56:52]OFD Sender: No OFD packet to send [06:56:57]OFD Sender: No OFD packet to send [06:57:02]OFD Sender: No OFD packet to send [06:57:07]OFD Sender: No OFD packet to send [06:57:12]OFD Sender: No OFD packet to send [06:57:17]OFD Sender: No OFD packet to send [06:57:22]OFD Sender: No OFD packet to send [06:57:27]OFD Sender: No OFD packet to send [06:57:32]OFD Sender: No OFD packet to send [06:57:37]OFD Sender: No OFD packet to send [06:57:42]OFD Sender: No OFD packet to send [06:57:47]OFD Sender: No OFD packet to send [06:57:52]OFD Sender: No OFD packet to send [06:57:57]OFD Sender: No OFD packet to send [06:58:02]OFD Sender: No OFD packet to send [06:58:07]OFD Sender: No OFD packet to send [06:58:12]OFD Sender: No OFD packet to send [06:58:17]OFD Sender: No OFD packet to send [06:58:22]OFD Sender: No OFD packet to send [06:58:27]OFD Sender: No OFD packet to send [06:58:32]OFD Sender: No OFD packet to send [06:58:37]OFD Sender: No OFD packet to send [06:58:42]OFD Sender: No OFD packet to send [06:58:47]OFD Sender: No OFD packet to send [06:58:52]OFD Sender: No OFD packet to send [06:58:57]OFD Sender: No OFD packet to send [06:59:02]OFD Sender: No OFD packet to send [06:59:07]OFD Sender: No OFD packet to send [06:59:12]OFD Sender: No OFD packet to send [06:59:17]OFD Sender: No OFD packet to send [06:59:22]OFD Sender: No OFD packet to send [06:59:27]OFD Sender: No OFD packet to send [06:59:32]OFD Sender: No OFD packet to send [06:59:37]OFD Sender: No OFD packet to send [06:59:42]OFD Sender: No OFD packet to send [06:59:47]OFD Sender: No OFD packet to send [06:59:52]OFD Sender: No OFD packet to send [06:59:57]OFD Sender: No OFD packet to send [07:00:02]OFD Sender: No OFD packet to send [07:00:07]OFD Sender: No OFD packet to send [07:00:12]OFD Sender: No OFD packet to send [07:00:17]OFD Sender: No OFD packet to send [07:00:22]OFD Sender: No OFD packet to send [07:00:27]OFD Sender: No OFD packet to send [07:00:32]OFD Sender: No OFD packet to send [07:00:37]OFD Sender: No OFD packet to send [07:00:42]OFD Sender: No OFD packet to send [07:00:47]OFD Sender: No OFD packet to send [07:00:52]OFD Sender: No OFD packet to send [07:00:57]OFD Sender: No OFD packet to send [07:01:02]OFD Sender: No OFD packet to send [07:01:07]OFD Sender: No OFD packet to send [07:01:12]OFD Sender: No OFD packet to send [07:01:17]OFD Sender: No OFD packet to send [07:01:22]OFD Sender: No OFD packet to send [07:01:27]OFD Sender: No OFD packet to send [07:01:32]OFD Sender: No OFD packet to send [07:01:37]OFD Sender: No OFD packet to send [07:01:42]OFD Sender: No OFD packet to send [07:01:47]OFD Sender: No OFD packet to send [07:01:52]OFD Sender: No OFD packet to send [07:01:57]OFD Sender: No OFD packet to send [07:02:02]OFD Sender: No OFD packet to send [07:02:07]OFD Sender: No OFD packet to send [07:02:12]OFD Sender: No OFD packet to send [07:02:17]OFD Sender: No OFD packet to send [07:02:22]OFD Sender: No OFD packet to send [07:02:27]OFD Sender: No OFD packet to send [07:02:32]OFD Sender: No OFD packet to send [07:02:37]OFD Sender: No OFD packet to send [07:02:42]OFD Sender: No OFD packet to send [07:02:47]OFD Sender: No OFD packet to send [07:02:52]OFD Sender: No OFD packet to send [07:02:57]OFD Sender: No OFD packet to send [07:03:02]OFD Sender: No OFD packet to send [07:03:07]OFD Sender: No OFD packet to send [07:03:12]OFD Sender: No OFD packet to send [07:03:17]OFD Sender: No OFD packet to send [07:03:22]OFD Sender: No OFD packet to send [07:03:27]OFD Sender: No OFD packet to send [07:03:32]OFD Sender: No OFD packet to send [07:03:37]OFD Sender: No OFD packet to send [07:03:42]OFD Sender: No OFD packet to send [07:03:47]OFD Sender: No OFD packet to send [07:03:52]OFD Sender: No OFD packet to send [07:03:57]OFD Sender: No OFD packet to send [07:04:02]OFD Sender: No OFD packet to send [07:04:07]OFD Sender: No OFD packet to send [07:04:12]OFD Sender: No OFD packet to send [07:04:17]OFD Sender: No OFD packet to send [07:04:22]OFD Sender: No OFD packet to send [07:04:27]OFD Sender: No OFD packet to send [07:04:32]OFD Sender: No OFD packet to send [07:04:37]OFD Sender: No OFD packet to send [07:04:42]OFD Sender: No OFD packet to send [07:04:47]OFD Sender: No OFD packet to send [07:04:52]OFD Sender: No OFD packet to send [07:04:57]OFD Sender: No OFD packet to send [07:05:02]OFD Sender: No OFD packet to send [07:05:07]OFD Sender: No OFD packet to send [07:05:12]OFD Sender: No OFD packet to send [07:05:17]OFD Sender: No OFD packet to send [07:05:22]OFD Sender: No OFD packet to send [07:05:27]OFD Sender: No OFD packet to send [07:05:32]OFD Sender: No OFD packet to send [07:05:37]OFD Sender: No OFD packet to send [07:05:42]OFD Sender: No OFD packet to send [07:05:47]OFD Sender: No OFD packet to send [07:05:52]OFD Sender: No OFD packet to send [07:05:57]OFD Sender: No OFD packet to send [07:06:02]OFD Sender: No OFD packet to send [07:06:07]OFD Sender: No OFD packet to send [07:06:12]OFD Sender: No OFD packet to send [07:06:17]OFD Sender: No OFD packet to send [07:06:22]OFD Sender: No OFD packet to send [07:06:27]OFD Sender: No OFD packet to send [07:06:32]OFD Sender: No OFD packet to send [07:06:37]OFD Sender: No OFD packet to send [07:06:42]OFD Sender: No OFD packet to send [07:06:47]OFD Sender: No OFD packet to send [07:06:52]OFD Sender: No OFD packet to send [07:06:57]OFD Sender: No OFD packet to send [07:07:02]OFD Sender: No OFD packet to send [07:07:07]OFD Sender: No OFD packet to send [07:07:12]OFD Sender: No OFD packet to send [07:07:17]OFD Sender: No OFD packet to send [07:07:22]OFD Sender: No OFD packet to send [07:07:27]OFD Sender: No OFD packet to send [07:07:32]OFD Sender: No OFD packet to send [07:07:37]OFD Sender: No OFD packet to send [07:07:42]OFD Sender: No OFD packet to send [07:07:47]OFD Sender: No OFD packet to send [07:07:52]OFD Sender: No OFD packet to send [07:07:57]OFD Sender: No OFD packet to send [07:08:02]OFD Sender: No OFD packet to send [07:08:07]OFD Sender: No OFD packet to send [07:08:12]OFD Sender: No OFD packet to send [07:08:17]OFD Sender: No OFD packet to send [07:08:22]OFD Sender: No OFD packet to send [07:08:27]OFD Sender: No OFD packet to send [07:08:32]OFD Sender: No OFD packet to send [07:08:37]OFD Sender: No OFD packet to send [07:08:42]OFD Sender: No OFD packet to send [07:08:47]OFD Sender: No OFD packet to send [07:08:52]OFD Sender: No OFD packet to send [07:08:57]OFD Sender: No OFD packet to send [07:09:02]OFD Sender: No OFD packet to send [07:09:07]OFD Sender: No OFD packet to send [07:09:12]OFD Sender: No OFD packet to send [07:09:17]OFD Sender: No OFD packet to send [07:09:22]OFD Sender: No OFD packet to send [07:09:27]OFD Sender: No OFD packet to send [07:09:32]OFD Sender: No OFD packet to send [07:09:37]OFD Sender: No OFD packet to send [07:09:42]OFD Sender: No OFD packet to send [07:09:47]OFD Sender: No OFD packet to send [07:09:52]OFD Sender: No OFD packet to send [07:09:57]OFD Sender: No OFD packet to send [07:10:02]OFD Sender: No OFD packet to send [07:10:07]OFD Sender: No OFD packet to send [07:10:12]OFD Sender: No OFD packet to send [07:10:17]OFD Sender: No OFD packet to send [07:10:22]OFD Sender: No OFD packet to send [07:10:27]OFD Sender: No OFD packet to send [07:10:32]OFD Sender: No OFD packet to send [07:10:37]OFD Sender: No OFD packet to send [07:10:42]OFD Sender: No OFD packet to send [07:10:47]OFD Sender: No OFD packet to send [07:10:52]OFD Sender: No OFD packet to send [07:10:57]OFD Sender: No OFD packet to send [07:11:02]OFD Sender: No OFD packet to send [07:11:07]OFD Sender: No OFD packet to send [07:11:12]OFD Sender: No OFD packet to send [07:11:17]OFD Sender: No OFD packet to send [07:11:22]OFD Sender: No OFD packet to send [07:11:27]OFD Sender: No OFD packet to send [07:11:32]OFD Sender: No OFD packet to send [07:11:37]OFD Sender: No OFD packet to send [07:11:42]OFD Sender: No OFD packet to send [07:11:47]OFD Sender: No OFD packet to send [07:11:52]OFD Sender: No OFD packet to send [07:11:57]OFD Sender: No OFD packet to send [07:12:02]OFD Sender: No OFD packet to send [07:12:07]OFD Sender: No OFD packet to send [07:12:12]OFD Sender: No OFD packet to send [07:12:18]OFD Sender: No OFD packet to send [07:12:23]OFD Sender: No OFD packet to send [07:12:28]OFD Sender: No OFD packet to send [07:12:33]OFD Sender: No OFD packet to send [07:12:38]OFD Sender: No OFD packet to send [07:12:43]OFD Sender: No OFD packet to send [07:12:48]OFD Sender: No OFD packet to send [07:12:53]OFD Sender: No OFD packet to send [07:12:58]OFD Sender: No OFD packet to send [07:13:03]OFD Sender: No OFD packet to send [07:13:08]OFD Sender: No OFD packet to send [07:13:13]OFD Sender: No OFD packet to send [07:13:18]OFD Sender: No OFD packet to send [07:13:23]OFD Sender: No OFD packet to send [07:13:28]OFD Sender: No OFD packet to send [07:13:33]OFD Sender: No OFD packet to send [07:13:38]OFD Sender: No OFD packet to send [07:13:43]OFD Sender: No OFD packet to send [07:13:48]OFD Sender: No OFD packet to send [07:13:53]OFD Sender: No OFD packet to send [07:13:58]OFD Sender: No OFD packet to send [07:14:03]OFD Sender: No OFD packet to send [07:14:08]OFD Sender: No OFD packet to send [07:14:13]OFD Sender: No OFD packet to send [07:14:18]OFD Sender: No OFD packet to send [07:14:23]OFD Sender: No OFD packet to send [07:14:28]OFD Sender: No OFD packet to send [07:14:33]OFD Sender: No OFD packet to send [07:14:38]OFD Sender: No OFD packet to send [07:14:43]OFD Sender: No OFD packet to send [07:14:48]OFD Sender: No OFD packet to send [07:14:53]OFD Sender: No OFD packet to send [07:14:58]OFD Sender: No OFD packet to send [07:15:03]OFD Sender: No OFD packet to send [07:15:08]OFD Sender: No OFD packet to send [07:15:13]OFD Sender: No OFD packet to send [07:15:18]OFD Sender: No OFD packet to send [07:15:23]OFD Sender: No OFD packet to send [07:15:28]OFD Sender: No OFD packet to send [07:15:33]OFD Sender: No OFD packet to send [07:15:38]OFD Sender: No OFD packet to send [07:15:43]OFD Sender: No OFD packet to send [07:15:48]OFD Sender: No OFD packet to send [07:15:53]OFD Sender: No OFD packet to send [07:15:58]OFD Sender: No OFD packet to send [07:16:03]OFD Sender: No OFD packet to send [07:16:08]OFD Sender: No OFD packet to send [07:16:13]OFD Sender: No OFD packet to send [07:16:18]OFD Sender: No OFD packet to send [07:16:23]OFD Sender: No OFD packet to send [07:16:28]OFD Sender: No OFD packet to send [07:16:33]OFD Sender: No OFD packet to send [07:16:38]OFD Sender: No OFD packet to send [07:16:43]OFD Sender: No OFD packet to send [07:16:48]OFD Sender: No OFD packet to send [07:16:53]OFD Sender: No OFD packet to send [07:16:58]OFD Sender: No OFD packet to send [07:17:03]OFD Sender: No OFD packet to send [07:17:08]OFD Sender: No OFD packet to send [07:17:13]OFD Sender: No OFD packet to send [07:17:18]OFD Sender: No OFD packet to send [07:17:23]OFD Sender: No OFD packet to send [07:17:28]OFD Sender: No OFD packet to send [07:17:33]OFD Sender: No OFD packet to send [07:17:38]OFD Sender: No OFD packet to send [07:17:43]OFD Sender: No OFD packet to send [07:17:48]OFD Sender: No OFD packet to send [07:17:53]OFD Sender: No OFD packet to send [07:17:58]OFD Sender: No OFD packet to send [07:18:03]OFD Sender: No OFD packet to send [07:18:08]OFD Sender: No OFD packet to send [07:18:13]OFD Sender: No OFD packet to send [07:18:18]OFD Sender: No OFD packet to send [07:18:23]OFD Sender: No OFD packet to send [07:18:28]OFD Sender: No OFD packet to send [07:18:33]OFD Sender: No OFD packet to send [07:18:38]OFD Sender: No OFD packet to send [07:18:43]OFD Sender: No OFD packet to send [07:18:48]OFD Sender: No OFD packet to send [07:18:53]OFD Sender: No OFD packet to send [07:18:58]OFD Sender: No OFD packet to send [07:19:03]OFD Sender: No OFD packet to send [07:19:08]OFD Sender: No OFD packet to send [07:19:13]OFD Sender: No OFD packet to send [07:19:18]OFD Sender: No OFD packet to send [07:19:23]OFD Sender: No OFD packet to send [07:19:28]OFD Sender: No OFD packet to send [07:19:33]OFD Sender: No OFD packet to send [07:19:38]OFD Sender: No OFD packet to send [07:19:43]OFD Sender: No OFD packet to send [07:19:48]OFD Sender: No OFD packet to send [07:19:53]OFD Sender: No OFD packet to send [07:19:58]OFD Sender: No OFD packet to send [07:20:03]OFD Sender: No OFD packet to send [07:20:08]OFD Sender: No OFD packet to send [07:20:13]OFD Sender: No OFD packet to send [07:20:18]OFD Sender: No OFD packet to send [07:20:23]OFD Sender: No OFD packet to send [07:20:28]OFD Sender: No OFD packet to send [07:20:33]OFD Sender: No OFD packet to send [07:20:38]OFD Sender: No OFD packet to send [07:20:43]OFD Sender: No OFD packet to send [07:20:48]OFD Sender: No OFD packet to send [07:20:53]OFD Sender: No OFD packet to send [07:20:58]OFD Sender: No OFD packet to send [07:21:03]OFD Sender: No OFD packet to send [07:21:08]OFD Sender: No OFD packet to send [07:21:13]OFD Sender: No OFD packet to send [07:21:18]OFD Sender: No OFD packet to send [07:21:23]OFD Sender: No OFD packet to send [07:21:28]OFD Sender: No OFD packet to send [07:21:33]OFD Sender: No OFD packet to send [07:21:38]OFD Sender: No OFD packet to send [07:21:43]OFD Sender: No OFD packet to send [07:21:48]OFD Sender: No OFD packet to send [07:21:53]OFD Sender: No OFD packet to send [07:21:58]OFD Sender: No OFD packet to send [07:22:03]OFD Sender: No OFD packet to send [07:22:08]OFD Sender: No OFD packet to send [07:22:13]OFD Sender: No OFD packet to send [07:22:18]OFD Sender: No OFD packet to send [07:22:23]OFD Sender: No OFD packet to send [07:22:28]OFD Sender: No OFD packet to send [07:22:33]OFD Sender: No OFD packet to send [07:22:38]OFD Sender: No OFD packet to send [07:22:43]OFD Sender: No OFD packet to send [07:22:48]OFD Sender: No OFD packet to send [07:22:53]OFD Sender: No OFD packet to send [07:22:58]OFD Sender: No OFD packet to send [07:23:03]OFD Sender: No OFD packet to send [07:23:08]OFD Sender: No OFD packet to send [07:23:13]OFD Sender: No OFD packet to send [07:23:18]OFD Sender: No OFD packet to send [07:23:23]OFD Sender: No OFD packet to send [07:23:28]OFD Sender: No OFD packet to send [07:23:33]OFD Sender: No OFD packet to send [07:23:38]OFD Sender: No OFD packet to send [07:23:43]OFD Sender: No OFD packet to send [07:23:48]OFD Sender: No OFD packet to send [07:23:53]OFD Sender: No OFD packet to send [07:23:58]OFD Sender: No OFD packet to send [07:24:03]OFD Sender: No OFD packet to send [07:24:08]OFD Sender: No OFD packet to send [07:24:13]OFD Sender: No OFD packet to send [07:24:18]OFD Sender: No OFD packet to send [07:24:23]OFD Sender: No OFD packet to send [07:24:28]OFD Sender: No OFD packet to send [07:24:33]OFD Sender: No OFD packet to send [07:24:38]OFD Sender: No OFD packet to send [07:24:43]OFD Sender: No OFD packet to send [07:24:48]OFD Sender: No OFD packet to send [07:24:53]OFD Sender: No OFD packet to send [07:24:58]OFD Sender: No OFD packet to send [07:25:03]OFD Sender: No OFD packet to send [07:25:08]OFD Sender: No OFD packet to send [07:25:13]OFD Sender: No OFD packet to send [07:25:18]OFD Sender: No OFD packet to send [07:25:23]OFD Sender: No OFD packet to send [07:25:28]OFD Sender: No OFD packet to send [07:25:33]OFD Sender: No OFD packet to send [07:25:38]OFD Sender: No OFD packet to send [07:25:43]OFD Sender: No OFD packet to send [07:25:48]OFD Sender: No OFD packet to send [07:25:53]OFD Sender: No OFD packet to send [07:25:58]OFD Sender: No OFD packet to send [07:26:03]OFD Sender: No OFD packet to send [07:26:08]OFD Sender: No OFD packet to send [07:26:13]OFD Sender: No OFD packet to send [07:26:18]OFD Sender: No OFD packet to send [07:26:23]OFD Sender: No OFD packet to send [07:26:28]OFD Sender: No OFD packet to send [07:26:33]OFD Sender: No OFD packet to send [07:26:38]OFD Sender: No OFD packet to send [07:26:43]OFD Sender: No OFD packet to send [07:26:48]OFD Sender: No OFD packet to send [07:26:53]OFD Sender: No OFD packet to send [07:26:58]OFD Sender: No OFD packet to send [07:27:03]OFD Sender: No OFD packet to send [07:27:08]OFD Sender: No OFD packet to send [07:27:13]OFD Sender: No OFD packet to send [07:27:18]OFD Sender: No OFD packet to send [07:27:23]OFD Sender: No OFD packet to send [07:27:28]OFD Sender: No OFD packet to send [07:27:33]OFD Sender: No OFD packet to send [07:27:38]OFD Sender: No OFD packet to send [07:27:43]OFD Sender: No OFD packet to send [07:27:48]OFD Sender: No OFD packet to send [07:27:53]OFD Sender: No OFD packet to send [07:27:58]OFD Sender: No OFD packet to send [07:28:03]OFD Sender: No OFD packet to send [07:28:08]OFD Sender: No OFD packet to send [07:28:13]OFD Sender: No OFD packet to send [07:28:18]OFD Sender: No OFD packet to send [07:28:23]OFD Sender: No OFD packet to send [07:28:28]OFD Sender: No OFD packet to send [07:28:33]OFD Sender: No OFD packet to send [07:28:38]OFD Sender: No OFD packet to send [07:28:43]OFD Sender: No OFD packet to send [07:28:48]OFD Sender: No OFD packet to send [07:28:53]OFD Sender: No OFD packet to send [07:28:58]OFD Sender: No OFD packet to send [07:29:03]OFD Sender: No OFD packet to send [07:29:08]OFD Sender: No OFD packet to send [07:29:13]OFD Sender: No OFD packet to send [07:29:18]OFD Sender: No OFD packet to send [07:29:23]OFD Sender: No OFD packet to send [07:29:28]OFD Sender: No OFD packet to send [07:29:33]OFD Sender: No OFD packet to send [07:29:38]OFD Sender: No OFD packet to send [07:29:43]OFD Sender: No OFD packet to send [07:29:48]OFD Sender: No OFD packet to send [07:29:53]OFD Sender: No OFD packet to send [07:29:58]OFD Sender: No OFD packet to send [07:30:03]OFD Sender: No OFD packet to send [07:30:08]OFD Sender: No OFD packet to send [07:30:13]OFD Sender: No OFD packet to send [07:30:18]OFD Sender: No OFD packet to send [07:30:23]OFD Sender: No OFD packet to send [07:30:28]OFD Sender: No OFD packet to send [07:30:33]OFD Sender: No OFD packet to send [07:30:38]OFD Sender: No OFD packet to send [07:30:43]OFD Sender: No OFD packet to send [07:30:48]OFD Sender: No OFD packet to send [07:30:53]OFD Sender: No OFD packet to send [07:30:58]OFD Sender: No OFD packet to send [07:31:03]OFD Sender: No OFD packet to send [07:31:08]OFD Sender: No OFD packet to send [07:31:13]OFD Sender: No OFD packet to send [07:31:18]OFD Sender: No OFD packet to send [07:31:23]OFD Sender: No OFD packet to send [07:31:28]OFD Sender: No OFD packet to send [07:31:33]OFD Sender: No OFD packet to send [07:31:38]OFD Sender: No OFD packet to send [07:31:43]OFD Sender: No OFD packet to send [07:31:48]OFD Sender: No OFD packet to send [07:31:53]OFD Sender: No OFD packet to send [07:31:58]OFD Sender: No OFD packet to send [07:32:03]OFD Sender: No OFD packet to send [07:32:08]OFD Sender: No OFD packet to send [07:32:13]OFD Sender: No OFD packet to send [07:32:18]OFD Sender: No OFD packet to send [07:32:23]OFD Sender: No OFD packet to send [07:32:28]OFD Sender: No OFD packet to send [07:32:33]OFD Sender: No OFD packet to send [07:32:38]OFD Sender: No OFD packet to send [07:32:43]OFD Sender: No OFD packet to send [07:32:48]OFD Sender: No OFD packet to send [07:32:53]OFD Sender: No OFD packet to send [07:32:58]OFD Sender: No OFD packet to send [07:33:03]OFD Sender: No OFD packet to send [07:33:08]OFD Sender: No OFD packet to send [07:33:13]OFD Sender: No OFD packet to send [07:33:18]OFD Sender: No OFD packet to send [07:33:23]OFD Sender: No OFD packet to send [07:33:28]OFD Sender: No OFD packet to send [07:33:33]OFD Sender: No OFD packet to send [07:33:38]OFD Sender: No OFD packet to send [07:33:43]OFD Sender: No OFD packet to send [07:33:48]OFD Sender: No OFD packet to send [07:33:54]OFD Sender: No OFD packet to send [07:33:59]OFD Sender: No OFD packet to send [07:34:04]OFD Sender: No OFD packet to send [07:34:09]OFD Sender: No OFD packet to send [07:34:14]OFD Sender: No OFD packet to send [07:34:19]OFD Sender: No OFD packet to send [07:34:24]OFD Sender: No OFD packet to send [07:34:29]OFD Sender: No OFD packet to send [07:34:34]OFD Sender: No OFD packet to send [07:34:39]OFD Sender: No OFD packet to send [07:34:44]OFD Sender: No OFD packet to send [07:34:49]OFD Sender: No OFD packet to send [07:34:54]OFD Sender: No OFD packet to send [07:34:59]OFD Sender: No OFD packet to send [07:35:04]OFD Sender: No OFD packet to send [07:35:09]OFD Sender: No OFD packet to send [07:35:14]OFD Sender: No OFD packet to send [07:35:19]OFD Sender: No OFD packet to send [07:35:24]OFD Sender: No OFD packet to send [07:35:29]OFD Sender: No OFD packet to send [07:35:34]OFD Sender: No OFD packet to send [07:35:39]OFD Sender: No OFD packet to send [07:35:44]OFD Sender: No OFD packet to send [07:35:49]OFD Sender: No OFD packet to send [07:35:54]OFD Sender: No OFD packet to send [07:35:59]OFD Sender: No OFD packet to send [07:36:04]OFD Sender: No OFD packet to send [07:36:09]OFD Sender: No OFD packet to send [07:36:14]OFD Sender: No OFD packet to send [07:36:19]OFD Sender: No OFD packet to send [07:36:24]OFD Sender: No OFD packet to send [07:36:29]OFD Sender: No OFD packet to send [07:36:34]OFD Sender: No OFD packet to send [07:36:39]OFD Sender: No OFD packet to send [07:36:44]OFD Sender: No OFD packet to send [07:36:49]OFD Sender: No OFD packet to send [07:36:54]OFD Sender: No OFD packet to send [07:36:59]OFD Sender: No OFD packet to send [07:37:04]OFD Sender: No OFD packet to send [07:37:09]OFD Sender: No OFD packet to send [07:37:14]OFD Sender: No OFD packet to send [07:37:19]OFD Sender: No OFD packet to send [07:37:24]OFD Sender: No OFD packet to send [07:37:29]OFD Sender: No OFD packet to send [07:37:34]OFD Sender: No OFD packet to send [07:37:39]OFD Sender: No OFD packet to send [07:37:44]OFD Sender: No OFD packet to send [07:37:49]OFD Sender: No OFD packet to send [07:37:54]OFD Sender: No OFD packet to send [07:37:59]OFD Sender: No OFD packet to send [07:38:04]OFD Sender: No OFD packet to send [07:38:09]OFD Sender: No OFD packet to send [07:38:14]OFD Sender: No OFD packet to send [07:38:19]OFD Sender: No OFD packet to send [07:38:24]OFD Sender: No OFD packet to send [07:38:29]OFD Sender: No OFD packet to send [07:38:34]OFD Sender: No OFD packet to send [07:38:39]OFD Sender: No OFD packet to send [07:38:44]OFD Sender: No OFD packet to send [07:38:49]OFD Sender: No OFD packet to send [07:38:54]OFD Sender: No OFD packet to send [07:38:59]OFD Sender: No OFD packet to send [07:39:04]OFD Sender: No OFD packet to send [07:39:09]OFD Sender: No OFD packet to send [07:39:14]OFD Sender: No OFD packet to send [07:39:19]OFD Sender: No OFD packet to send [07:39:24]OFD Sender: No OFD packet to send [07:39:29]OFD Sender: No OFD packet to send [07:39:34]OFD Sender: No OFD packet to send [07:39:39]OFD Sender: No OFD packet to send [07:39:44]OFD Sender: No OFD packet to send [07:39:49]OFD Sender: No OFD packet to send [07:39:54]OFD Sender: No OFD packet to send [07:39:59]OFD Sender: No OFD packet to send [07:40:04]OFD Sender: No OFD packet to send [07:40:09]OFD Sender: No OFD packet to send [07:40:14]OFD Sender: No OFD packet to send [07:40:19]OFD Sender: No OFD packet to send [07:40:24]OFD Sender: No OFD packet to send [07:40:29]OFD Sender: No OFD packet to send [07:40:34]OFD Sender: No OFD packet to send [07:40:39]OFD Sender: No OFD packet to send [07:40:44]OFD Sender: No OFD packet to send [07:40:49]OFD Sender: No OFD packet to send [07:40:54]OFD Sender: No OFD packet to send [07:40:59]OFD Sender: No OFD packet to send [07:41:04]OFD Sender: No OFD packet to send [07:41:09]OFD Sender: No OFD packet to send [07:41:14]OFD Sender: No OFD packet to send [07:41:19]OFD Sender: No OFD packet to send [07:41:24]OFD Sender: No OFD packet to send [07:41:29]OFD Sender: No OFD packet to send [07:41:34]OFD Sender: No OFD packet to send [07:41:39]OFD Sender: No OFD packet to send [07:41:44]OFD Sender: No OFD packet to send [07:41:49]OFD Sender: No OFD packet to send [07:41:54]OFD Sender: No OFD packet to send [07:41:59]OFD Sender: No OFD packet to send [07:42:04]OFD Sender: No OFD packet to send [07:42:09]OFD Sender: No OFD packet to send [07:42:14]OFD Sender: No OFD packet to send [07:42:19]OFD Sender: No OFD packet to send [07:42:24]OFD Sender: No OFD packet to send [07:42:29]OFD Sender: No OFD packet to send [07:42:34]OFD Sender: No OFD packet to send [07:42:39]OFD Sender: No OFD packet to send [07:42:44]OFD Sender: No OFD packet to send [07:42:49]OFD Sender: No OFD packet to send [07:42:54]OFD Sender: No OFD packet to send [07:42:59]OFD Sender: No OFD packet to send [07:43:04]OFD Sender: No OFD packet to send [07:43:09]OFD Sender: No OFD packet to send [07:43:14]OFD Sender: No OFD packet to send [07:43:19]OFD Sender: No OFD packet to send [07:43:24]OFD Sender: No OFD packet to send [07:43:29]OFD Sender: No OFD packet to send [07:43:34]OFD Sender: No OFD packet to send [07:43:39]OFD Sender: No OFD packet to send [07:43:44]OFD Sender: No OFD packet to send [07:43:49]OFD Sender: No OFD packet to send [07:43:54]OFD Sender: No OFD packet to send [07:43:58]accept exits with 9 [07:43:58]New connection [07:43:58]New thread 3067309412 created [07:43:58]Thread 3067166052 joined [07:43:58]Waiting for new connection... [07:43:58] Sock 9.Parse request [07:43:58]Sock 9.Check first char [07:43:58]Sock 9.First char is OK [07:43:58]request: POST /json_proto HTTP/1.0 [07:43:58]Method: POST [07:43:58]URL: /json_proto [07:43:58]Method is POST - this is cgi request [07:43:58]url: /json_proto [07:43:58]query_string will be loaded in cgi processing [07:43:58]execute_cgi json_proto POST (null) [07:43:58]execute_cgi path=json_proto method=POST [07:43:58]POST find Content-Length [07:43:58]Host: 172.17.53.196:8080 [07:43:58]Content-Length: 620 [07:43:58]Content-Type: application/json [07:43:58] [07:43:58]POST finish read [07:43:58]Found Content-Length = 620 [07:43:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34609", "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" ] } } [07:43:58]execute_script... [07:43: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)34609", "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" ] } } [07:43:58]POST & json_proto [07:43:58]process_json_proto [07:43:58]json parsed OK: [07:43:58]protocol is kg_v1.0 [07:43:58]action value=close_receipt [07:43:58]process_action close_receipt [07:43:58]cmd_close_receipt [07:43:58]MH_GetDate [07:43:58]Write to MH i2c: F0 00 00 C3 02 B4 [07:43:58]Write i2c OK [07:43:58]MH_I2C_Read... [07:43:58]Read from MH i2c: F0 [07:43:58]MH_I2C_Read... [07:43:58]Read from MH i2c: F0 09 00 [07:43:58]MH_I2C_Read... [07:43:58]Read from MH i2c: F0 09 00 C3 02 00 BF B4 14 67 4F CD 9A 65 C6 [07:43:58]GetLastDocTimeStamp 1729396731 [07:43:58]current date 1729410239 [07:43:58]FM_GetShiftState [07:43:58]SAM_PROTO_GetShiftState [07:43:58]wFMCommunicate request_size=4 [07:43:58]MH_SAM_APDU [07:43:58]CAPDU: 80 13 01 00 [07:43:58]Write to MH i2c: E2 08 00 C4 02 80 13 01 00 00 00 00 00 43 [07:43:58]Write i2c OK [07:43:58]MH_I2C_Read... [07:43:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:43:58]Read from MH i2c: E2 [07:43:58]MH_I2C_Read... [07:43:58]Read from MH i2c: E2 0E 00 [07:43:58]MH_I2C_Read... [07:43:58]Read from MH i2c: E2 0E 00 C4 02 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 89 [07:43:58]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [07:43:58]wFMCommunicate OK [07:43:58]SAM_PROTO_GetShiftState done [07:43:58]FM_GetShiftState done [07:43:58]opened in 1729384049 [07:43:58]opened+sec_in_day 1729470449 [07:43:58]quantity*price = 14400 [07:43:58]sum+1 = 14401 [07:43:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 7 20.10.2024 07:43 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24849 ФПД: 130886642504982 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T074359&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24849&fm=130886642504982&tin=02508201610067®Number=0000000000098147&sum=14400 0 [07:43:59]StoreToDocumentArchive [07:43:59]shift 455 fd 24849 [07:43:59]save to /storage/0455/doc_00024849 [07:43:59]save last doc name /storage/0455/doc_00024849 to /storage/kkm_last_doc_name [07:43:59]save OK [07:43:59]Clear old archive folders... [07:43:59]ProcessDocumentItem done err = 0, tmpTLVsize=273 [07:43:59]tlvbuf is 00DDAA40 [07:43:59]SAM_PROTO_ClearQueue [07:43:59]wFMCommunicate request_size=4 [07:43:59]MH_SAM_APDU [07:43:59]CAPDU: 80 09 00 00 [07:43:59]Write to MH i2c: E2 08 00 D1 02 80 09 00 00 00 00 00 00 45 [07:43:59]Write i2c OK [07:43:59]MH_I2C_Read... [07:43:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:43:59]Read from MH i2c: E2 [07:43:59]MH_I2C_Read... [07:43:59]Read from MH i2c: E2 03 00 [07:43:59]MH_I2C_Read... [07:43:59]Read from MH i2c: E2 03 00 D1 02 00 90 00 47 [07:43:59]RAPDU: 90 00 [07:43:59]wFMCommunicate OK [07:43:59]SAM_PROTO_ClearQueue done [07:43:59]KKMCreateOFDPacket [07:43:59]OFDProtocolAddRootSTLVToBuf [07:43:59]FM_MakeSignedData [07:43:59]FM_MakeSignedData [07:43:59]SAM_PROTO_SignData [07:43:59]wFMCommunicate request_size=4 [07:43:59]MH_SAM_APDU [07:43:59]CAPDU: 80 0D 01 02 [07:43:59]Write to MH i2c: E2 08 00 D2 02 80 0D 01 02 00 00 00 00 4D [07:43:59]Write i2c OK [07:43:59]MH_I2C_Read... [07:43:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:43:59]Read from MH i2c: E2 [07:43:59]MH_I2C_Read... [07:43:59]Read from MH i2c: E2 03 00 [07:43:59]MH_I2C_Read... [07:43:59]Read from MH i2c: E2 03 00 D2 02 00 90 00 48 [07:43:59]RAPDU: 90 00 [07:43:59]wFMCommunicate OK [07:43:59]wFMCommunicate request_size=255 [07:43:59]MH_SAM_APDU [07:43: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 07 00 00 00 F4 03 04 00 BF B4 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 [07:43:59]Write to MH i2c: E2 02 01 D3 02 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 07 00 00 00 F4 03 04 00 BF B4 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 00 00 78 [07:43:59]Write i2c OK [07:43:59]MH_I2C_Read... [07:43:59]OFD Sender: No OFD packet to send [07:43:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:43:59]Read from MH i2c: E2 [07:43:59]MH_I2C_Read... [07:43:59]Read from MH i2c: E2 03 00 [07:43:59]MH_I2C_Read... [07:43:59]Read from MH i2c: E2 03 00 D3 02 00 90 00 49 [07:43:59]RAPDU: 90 00 [07:43:59]wFMCommunicate OK [07:43:59]wFMCommunicate request_size=32 [07:43:59]MH_SAM_APDU [07:43:59]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 36 10 04 04 00 11 61 00 00 35 04 06 00 77 0A 6B D5 15 16 [07:43:59]Write to MH i2c: E2 23 00 D4 02 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 36 10 04 04 00 11 61 00 00 35 04 06 00 77 0A 6B D5 15 16 00 00 0F [07:43:59]Write i2c OK [07:43:59]MH_I2C_Read... [07:43:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:43:59]Read from MH i2c: E2 [07:43:59]MH_I2C_Read... [07:43:59]Read from MH i2c: E2 03 00 [07:43:59]MH_I2C_Read... [07:43:59]Read from MH i2c: E2 03 00 D4 02 00 90 00 4A [07:43:59]RAPDU: 90 00 [07:43:59]wFMCommunicate OK [07:43:59]wFMCommunicate request_size=4 [07:43:59]MH_SAM_APDU [07:43:59]CAPDU: 80 0D 03 02 [07:43:59]Write to MH i2c: E2 08 00 D5 02 80 0D 03 02 00 00 00 00 52 [07:43:59]Write i2c OK [07:43:59]MH_I2C_Read... [07:43:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:43:59]Read from MH i2c: E2 [07:43:59]MH_I2C_Read... [07:43:59]Read from MH i2c: E2 0B 00 [07:43:59]MH_I2C_Read... [07:43:59]Read from MH i2c: E2 0B 00 D5 02 00 BE B0 F5 30 E4 B0 9A 64 90 00 78 [07:43:59]RAPDU: BE B0 F5 30 E4 B0 9A 64 90 00 [07:43:59]wFMCommunicate OK [07:43:59]SAM_PROTO_SignData done [07:43:59]FM_MakeSignedData done [07:43:59]CreateOFDProtocolMessage [07:43:59]wFMCommunicate request_size=4 [07:43:59]MH_SAM_APDU [07:43:59]CAPDU: 80 11 00 00 [07:43:59]Write to MH i2c: E2 08 00 D6 02 80 11 00 00 00 00 00 00 52 [07:43:59]Write i2c OK [07:43:59]MH_I2C_Read... [07:43:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:43:59]Read from MH i2c: E2 [07:43:59]MH_I2C_Read... [07:43:59]Read from MH i2c: E2 17 00 [07:43:59]MH_I2C_Read... [07:43:59]Read from MH i2c: E2 17 00 D6 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 A9 [07:43:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [07:43:59]wFMCommunicate OK [07:43:59]CreateOFDProtocolMessage done [07:43:59]OFDSenderStorePacket 24849 [07:43:59]StoreOFDPacket docnum=24849 [07:43:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 55 05 1D 01 39 38 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 07 00 00 00 F4 03 04 00 BF B4 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 11 61 00 00 35 04 06 00 77 0A 6B D5 15 16 BE B0 F5 30 E4 B0 9A 64 [07:43:59]CheckFolder [07:43:59]dirname=/storage/ofd_packets [07:43:59]CheckFolder done [07:43:59]ProducePacketName [07:43:59]name=ofd_packets/00024849 [07:43:59]NVStorageSaveData ofd_packets/00024849 [07:43:59]File name is /storage/ofd_packets/00024849 [07:43:59]Write 323 bytes [07:43:59]NVStorageSaveData done [07:43:59]OFDSenderStorePacket done [07:43:59]KKMCreateOFDPacket done [07:43:59]NVStorageSaveData kkm_last_timestamp [07:43:59]File name is /storage/kkm_last_timestamp [07:43:59]Write 4 bytes [07:43:59]NVStorageSaveData done [07:43:59]ExternCall_PrintAddStr [07:43:59]wPrintStart [07:43:59]Write to MH i2c: 01 00 00 D7 02 D9 [07:43:59]Write i2c OK [07:43:59]MH_I2C_Read... [07:43:59]Read from MH i2c: 01 [07:43:59]MH_I2C_Read... [07:43:59]Read from MH i2c: 01 07 00 [07:43:59]MH_I2C_Read... [07:43:59]Read from MH i2c: 01 07 00 D7 02 00 00 00 00 00 FF 0F EE [07:43:59]RasterBufferAndPrint [07:43:59]line Счет N : (3)34609 [07:43:59]line ИНН: 02508201610067 [07:43:59]line Контрольно-Кассовый Чек [07:43:59]line ПРОДАЖА [07:43:59]line Товар: 48743570 [07:43:59]line Сигареты Winston XStyle Blue [07:43:59]line 1.000 * 144.00 [07:43:59]line = 144.00 [07:43:59]line НДС 12% НСП 1% [07:43:59]line > о реализуемом товаре [07:43:59]line ИТОГО: 144.00 [07:43:59]line НСП 1% : 1.27 [07:43:59]line НДС 12% : 15.29 [07:43:59]line Наличными: 144.00 [07:43:59]line Безнал.: 0.00 [07:43:59]line Место: АЗС № 161 "Партнер Нефть" [07:43:59]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [07:43:59]line СНО: Общий режим [07:43:59]line Чек 7 20.10.2024 07:43 [07:43:59]line Смена: 455 ФФД: 1.0 [07:43:59]line ЗНМ: 0300000240 [07:43:59]line РНМ: 0000000000098147 [07:43:59]line Версия ККМ: 001 [07:43:59]line ФМ: 0000000000965376 [07:43:59]line ФД: 24849 [07:43:59]line ФПД: 130886642504982 [07:43:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T074359&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24849&fm=130886642504982&tin=02508201610067®Number=0000000000098147&sum=14400 [07:44:00]OFD Sender: Processing packet 24849 [packets to send 5, broken 4] [07:44:00]ProducePacketName [07:44:00]name=ofd_packets/00024849 [07:44:00]OFD Sender: To server: pG, [07:44:00]CommunicateWithHost lk.salyk.kg:30040 [07:44:00]ConnectInit lk.salyk.kg [07:44:00]line 0 [07:44:00]written 0, free lines is 4095 [07:44:00]Connected sock=11 [07:44:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 55 05 1D 01 39 38 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 07 00 00 00 F4 03 04 00 BF B4 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 11 61 00 00 35 04 06 00 77 0A 6B D5 15 16 BE B0 F5 30 E4 B0 9A 64 [07:44:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 06 8F 47 00 F1 DD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 11 61 00 00 F4 03 04 00 40 5D 14 67 B6 04 01 00 00 B5 FA 8A 2E C1 DD 4C 60 [07:44:00]CommunicateWithHost err = 0 [07:44:00]CheckOFDResponse [07:44:00]1017 (14) - 77093643461234 [07:44:00]1041 (16) - 0000000000965376 [07:44:00]1040 (4) - 24849 [07:44:00]1012 (4) - 20.10.2024 01:30 [07:44:00]1206 (1) - 0 [07:44:00]OFD Sender: Remove packet 24849 [07:44:00]ProducePacketName [07:44:00]name=ofd_packets/00024849 [07:44:00]NVStorageDeleteData [07:44:00]Write to MH i2c: 01 00 00 FF 02 01 [07:44:00]Write i2c OK [07:44:00]MH_I2C_Read... [07:44:00]Read from MH i2c: 01 [07:44:00]MH_I2C_Read... [07:44:00]Read from MH i2c: 01 07 00 [07:44:00]MH_I2C_Read... [07:44:00]Read from MH i2c: 01 07 00 FF 02 00 00 00 00 00 D2 0C E6 [07:44:00]RasterBufferAndPrint [07:44:00]line [07:44:00]line [07:44:00]line [07:44:00]line [07:44:00]line [07:44:00]written 0, free lines is 3287 [07:44:00]process_action close_receipt done [07:44:00]requested_data is exist [07:44:00]produce_requested_data [07:44:00]requested_item fm.sn is exist - process it [07:44:00]wFMCommunicate request_size=4 [07:44:00]MH_SAM_APDU [07:44:00]CAPDU: 80 11 00 00 [07:44:00]Write to MH i2c: E2 08 00 06 03 80 11 00 00 00 00 00 00 83 [07:44:00]Write i2c OK [07:44:00]MH_I2C_Read... [07:44:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:44:00]Read from MH i2c: E2 [07:44:00]MH_I2C_Read... [07:44:00]Read from MH i2c: E2 17 00 [07:44:00]MH_I2C_Read... [07:44:00]Read from MH i2c: E2 17 00 06 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 DA [07:44:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [07:44:00]wFMCommunicate OK [07:44:00]requested_item fd.num is exist - process it [07:44:00]SAM_PROTO_GetFieldsCounters [07:44:00]wFMCommunicate request_size=4 [07:44:00]MH_SAM_APDU [07:44:00]CAPDU: 80 13 00 00 [07:44:00]Write to MH i2c: E2 08 00 07 03 80 13 00 00 00 00 00 00 86 [07:44:00]Write i2c OK [07:44:00]MH_I2C_Read... [07:44:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:44:00]Read from MH i2c: E2 [07:44:00]MH_I2C_Read... [07:44:00]Read from MH i2c: E2 62 00 [07:44:00]MH_I2C_Read... [07:44:00]Read from MH i2c: E2 62 00 07 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 11 61 00 00 0E 04 04 00 C7 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 FE [07:44:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 11 61 00 00 0E 04 04 00 C7 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:44:00]wFMCommunicate OK [07:44:00]SAM_PROTO_GetFieldsCounters done [07:44:00]requested_item shift.num is exist - process it [07:44:00]requested_item shift.opened is exist - process it [07:44:00]req_shift_opened [07:44:00]FM_GetShiftState [07:44:00]SAM_PROTO_GetShiftState [07:44:00]wFMCommunicate request_size=4 [07:44:00]MH_SAM_APDU [07:44:00]CAPDU: 80 13 01 00 [07:44:00]Write to MH i2c: E2 08 00 08 03 80 13 01 00 00 00 00 00 88 [07:44:00]Write i2c OK [07:44:00]MH_I2C_Read... [07:44:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:44:00]Read from MH i2c: E2 [07:44:00]MH_I2C_Read... [07:44:00]Read from MH i2c: E2 0E 00 [07:44:00]MH_I2C_Read... [07:44:00]Read from MH i2c: E2 0E 00 08 03 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 CE [07:44:00]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [07:44:00]wFMCommunicate OK [07:44:00]SAM_PROTO_GetShiftState done [07:44:00]FM_GetShiftState done [07:44:00]req_shift_opened done [07:44:00]requested_item shift.open_date is exist - process it [07:44:00]req_shift_open_date [07:44:00]req_shift_open_date done [07:44:00]produce_requested_data done [07:44:00]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24849,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [07:44:00]process_action_free close_receipt [07:44:00]json_value_free [07:44:00]json_value_free done [07:44:00]process_json_proto returns [07:44:00]Send response to host [07:44:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24849,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [07:44:00]free response buf [07:44:00]execute_script done [07:44:00]execute_script returns [07:44:00]free content buf [07:44:00]Sock 9.Close socket [07:44:00]Sock 9.Thread stoped [07:44:01]OFD Sender: No OFD packet to send [07:44:06]OFD Sender: No OFD packet to send [07:44:11]OFD Sender: No OFD packet to send [07:44:16]OFD Sender: No OFD packet to send [07:44:21]OFD Sender: No OFD packet to send [07:44:26]OFD Sender: No OFD packet to send [07:44:31]OFD Sender: No OFD packet to send [07:44:36]OFD Sender: No OFD packet to send [07:44:41]OFD Sender: No OFD packet to send [07:44:46]OFD Sender: No OFD packet to send [07:44:51]OFD Sender: No OFD packet to send [07:44:56]OFD Sender: No OFD packet to send [07:45:01]OFD Sender: No OFD packet to send [07:45:06]OFD Sender: No OFD packet to send [07:45:11]OFD Sender: No OFD packet to send [07:45:16]OFD Sender: No OFD packet to send [07:45:21]OFD Sender: No OFD packet to send [07:45:26]OFD Sender: No OFD packet to send [07:45:31]OFD Sender: No OFD packet to send [07:45:36]OFD Sender: No OFD packet to send [07:45:41]OFD Sender: No OFD packet to send [07:45:46]OFD Sender: No OFD packet to send [07:45:51]OFD Sender: No OFD packet to send [07:45:56]OFD Sender: No OFD packet to send [07:46:01]OFD Sender: No OFD packet to send [07:46:06]OFD Sender: No OFD packet to send [07:46:11]OFD Sender: No OFD packet to send [07:46:16]OFD Sender: No OFD packet to send [07:46:21]OFD Sender: No OFD packet to send [07:46:26]OFD Sender: No OFD packet to send [07:46:31]OFD Sender: No OFD packet to send [07:46:36]OFD Sender: No OFD packet to send [07:46:41]OFD Sender: No OFD packet to send [07:46:46]OFD Sender: No OFD packet to send [07:46:51]OFD Sender: No OFD packet to send [07:46:56]OFD Sender: No OFD packet to send [07:47:01]OFD Sender: No OFD packet to send [07:47:06]OFD Sender: No OFD packet to send [07:47:11]OFD Sender: No OFD packet to send [07:47:16]OFD Sender: No OFD packet to send [07:47:21]OFD Sender: No OFD packet to send [07:47:26]OFD Sender: No OFD packet to send [07:47:31]OFD Sender: No OFD packet to send [07:47:36]OFD Sender: No OFD packet to send [07:47:41]OFD Sender: No OFD packet to send [07:47:46]OFD Sender: No OFD packet to send [07:47:51]OFD Sender: No OFD packet to send [07:47:56]OFD Sender: No OFD packet to send [07:48:01]OFD Sender: No OFD packet to send [07:48:06]OFD Sender: No OFD packet to send [07:48:11]OFD Sender: No OFD packet to send [07:48:16]OFD Sender: No OFD packet to send [07:48:21]OFD Sender: No OFD packet to send [07:48:26]OFD Sender: No OFD packet to send [07:48:31]OFD Sender: No OFD packet to send [07:48:36]OFD Sender: No OFD packet to send [07:48:41]OFD Sender: No OFD packet to send [07:48:46]OFD Sender: No OFD packet to send [07:48:51]OFD Sender: No OFD packet to send [07:48:56]OFD Sender: No OFD packet to send [07:49:01]OFD Sender: No OFD packet to send [07:49:06]OFD Sender: No OFD packet to send [07:49:11]OFD Sender: No OFD packet to send [07:49:16]OFD Sender: No OFD packet to send [07:49:21]OFD Sender: No OFD packet to send [07:49:26]OFD Sender: No OFD packet to send [07:49:31]OFD Sender: No OFD packet to send [07:49:36]OFD Sender: No OFD packet to send [07:49:41]OFD Sender: No OFD packet to send [07:49:46]OFD Sender: No OFD packet to send [07:49:51]OFD Sender: No OFD packet to send [07:49:56]OFD Sender: No OFD packet to send [07:50:01]OFD Sender: No OFD packet to send [07:50:06]OFD Sender: No OFD packet to send [07:50:11]OFD Sender: No OFD packet to send [07:50:16]OFD Sender: No OFD packet to send [07:50:21]OFD Sender: No OFD packet to send [07:50:26]OFD Sender: No OFD packet to send [07:50:31]OFD Sender: No OFD packet to send [07:50:36]OFD Sender: No OFD packet to send [07:50:41]OFD Sender: No OFD packet to send [07:50:46]OFD Sender: No OFD packet to send [07:50:51]OFD Sender: No OFD packet to send [07:50:56]OFD Sender: No OFD packet to send [07:51:01]OFD Sender: No OFD packet to send [07:51:06]OFD Sender: No OFD packet to send [07:51:11]OFD Sender: No OFD packet to send [07:51:16]OFD Sender: No OFD packet to send [07:51:21]OFD Sender: No OFD packet to send [07:51:26]OFD Sender: No OFD packet to send [07:51:31]OFD Sender: No OFD packet to send [07:51:36]OFD Sender: No OFD packet to send [07:51:41]OFD Sender: No OFD packet to send [07:51:46]OFD Sender: No OFD packet to send [07:51:51]OFD Sender: No OFD packet to send [07:51:56]OFD Sender: No OFD packet to send [07:52:01]OFD Sender: No OFD packet to send [07:52:06]OFD Sender: No OFD packet to send [07:52:11]OFD Sender: No OFD packet to send [07:52:16]OFD Sender: No OFD packet to send [07:52:21]OFD Sender: No OFD packet to send [07:52:26]OFD Sender: No OFD packet to send [07:52:31]OFD Sender: No OFD packet to send [07:52:36]OFD Sender: No OFD packet to send [07:52:41]OFD Sender: No OFD packet to send [07:52:46]OFD Sender: No OFD packet to send [07:52:51]OFD Sender: No OFD packet to send [07:52:56]OFD Sender: No OFD packet to send [07:53:01]OFD Sender: No OFD packet to send [07:53:06]OFD Sender: No OFD packet to send [07:53:11]OFD Sender: No OFD packet to send [07:53:16]OFD Sender: No OFD packet to send [07:53:21]OFD Sender: No OFD packet to send [07:53:26]OFD Sender: No OFD packet to send [07:53:31]OFD Sender: No OFD packet to send [07:53:36]OFD Sender: No OFD packet to send [07:53:41]OFD Sender: No OFD packet to send [07:53:46]OFD Sender: No OFD packet to send [07:53:51]OFD Sender: No OFD packet to send [07:53:56]OFD Sender: No OFD packet to send [07:54:01]OFD Sender: No OFD packet to send [07:54:06]OFD Sender: No OFD packet to send [07:54:11]OFD Sender: No OFD packet to send [07:54:16]OFD Sender: No OFD packet to send [07:54:21]OFD Sender: No OFD packet to send [07:54:25]accept exits with 7 [07:54:25]New connection [07:54:25]New thread 3067166052 created [07:54:25]Thread 3067309412 joined [07:54:25]Waiting for new connection... [07:54:25] Sock 7.Parse request [07:54:25]Sock 7.Check first char [07:54:25]Sock 7.First char is OK [07:54:25]request: POST /json_proto HTTP/1.0 [07:54:25]Method: POST [07:54:25]URL: /json_proto [07:54:25]Method is POST - this is cgi request [07:54:25]url: /json_proto [07:54:25]query_string will be loaded in cgi processing [07:54:25]execute_cgi json_proto POST (null) [07:54:25]execute_cgi path=json_proto method=POST [07:54:25]POST find Content-Length [07:54:25]Host: 172.17.53.196:8080 [07:54:25]Content-Length: 2028 [07:54:25]Content-Type: application/json [07:54:25] [07:54:25]POST finish read [07:54:25]Found Content-Length = 2028 [07:54:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34610", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.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 }]} ,{ "code": "4630007400976", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0436\u0430\u0440\u0435\u043D \u041A\u0430\u0440\u0430\u0432\u0430\u043D \u043E\u0440\u0435\u0445\u043E\u0432 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 90 ", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 2.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 285.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:54:25]execute_script... [07:54: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)34610", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.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 }]} ,{ "code": "4630007400976", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0436\u0430\u0440\u0435\u043D \u041A\u0430\u0440\u0430\u0432\u0430\u043D \u043E\u0440\u0435\u0445\u043E\u0432 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 90 ", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 2.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 285.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:54:26]POST & json_proto [07:54:26]process_json_proto [07:54:26]json parsed OK: [07:54:26]protocol is kg_v1.0 [07:54:26]action value=close_receipt [07:54:26]process_action close_receipt [07:54:26]cmd_close_receipt [07:54:26]MH_GetDate [07:54:26]Write to MH i2c: F0 00 00 09 03 FB [07:54:26]Write i2c OK [07:54:26]MH_I2C_Read... [07:54:26]Read from MH i2c: F0 [07:54:26]MH_I2C_Read... [07:54:26]Read from MH i2c: F0 09 00 [07:54:26]MH_I2C_Read... [07:54:26]Read from MH i2c: F0 09 00 09 03 00 34 B7 14 67 4F CD 9A 65 85 [07:54:26]GetLastDocTimeStamp 1729410239 [07:54:26]current date 1729410868 [07:54:26]FM_GetShiftState [07:54:26]SAM_PROTO_GetShiftState [07:54:26]wFMCommunicate request_size=4 [07:54:26]MH_SAM_APDU [07:54:26]CAPDU: 80 13 01 00 [07:54:26]Write to MH i2c: E2 08 00 0A 03 80 13 01 00 00 00 00 00 8A [07:54:26]Write i2c OK [07:54:26]MH_I2C_Read... [07:54:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:54:26]Read from MH i2c: E2 [07:54:26]MH_I2C_Read... [07:54:26]Read from MH i2c: E2 0E 00 [07:54:26]MH_I2C_Read... [07:54:26]Read from MH i2c: E2 0E 00 0A 03 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 D0 [07:54:26]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [07:54:26]wFMCommunicate OK [07:54:26]SAM_PROTO_GetShiftState done [07:54:26]FM_GetShiftState done [07:54:26]opened in 1729384049 [07:54:26]opened+sec_in_day 1729470449 [07:54:26]quantity*price = 12000 [07:54:26]sum+1 = 12001 [07:54:26]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4630007400976 Арахис жарен Караван орехов Стандарт 90 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160013 Снек Курут индивидуальный 2.000 * 15.00 = 30.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46226624 Mentos ПВ Клубника 6*100*2 1.000 * 10.00 = 10.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 285.00 НСП 1% : 2.51 НДС 12% : 30.26 Наличными: 0.00 Безнал.: 285.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 8 20.10.2024 07:54 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965376 ФД: 24850 ФПД: 23523656287356 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T075428&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24850&fm=23523656287356&tin=02508201610067®Number=0000000000098147&sum=28500 0 [07:54:27]StoreToDocumentArchive [07:54:27]shift 455 fd 24850 [07:54:27]save to /storage/0455/doc_00024850 [07:54:27]save last doc name /storage/0455/doc_00024850 to /storage/kkm_last_doc_name [07:54:27]save OK [07:54:27]Clear old archive folders... [07:54:27]ProcessDocumentItem done err = 0, tmpTLVsize=774 [07:54:27]tlvbuf is 00DCE380 [07:54:27]SAM_PROTO_ClearQueue [07:54:27]wFMCommunicate request_size=4 [07:54:27]MH_SAM_APDU [07:54:27]CAPDU: 80 09 00 00 [07:54:27]Write to MH i2c: E2 08 00 17 03 80 09 00 00 00 00 00 00 8C [07:54:27]Write i2c OK [07:54:27]MH_I2C_Read... [07:54:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:54:27]Read from MH i2c: E2 [07:54:27]MH_I2C_Read... [07:54:27]Read from MH i2c: E2 03 00 [07:54:27]MH_I2C_Read... [07:54:27]Read from MH i2c: E2 03 00 17 03 00 90 00 8E [07:54:27]RAPDU: 90 00 [07:54:27]wFMCommunicate OK [07:54:27]SAM_PROTO_ClearQueue done [07:54:27]KKMCreateOFDPacket [07:54:27]OFDProtocolAddRootSTLVToBuf [07:54:27]FM_MakeSignedData [07:54:27]FM_MakeSignedData [07:54:27]SAM_PROTO_SignData [07:54:27]wFMCommunicate request_size=4 [07:54:27]MH_SAM_APDU [07:54:27]CAPDU: 80 0D 01 02 [07:54:27]Write to MH i2c: E2 08 00 18 03 80 0D 01 02 00 00 00 00 94 [07:54:27]Write i2c OK [07:54:27]MH_I2C_Read... [07:54:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:54:27]Read from MH i2c: E2 [07:54:27]MH_I2C_Read... [07:54:27]Read from MH i2c: E2 03 00 [07:54:27]MH_I2C_Read... [07:54:27]Read from MH i2c: E2 03 00 18 03 00 90 00 8F [07:54:27]RAPDU: 90 00 [07:54:27]wFMCommunicate OK [07:54:27]wFMCommunicate request_size=255 [07:54:27]MH_SAM_APDU [07:54:27]CAPDU: 80 0D 02 02 FA 03 00 06 03 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 8C 00 [07:54:27]Write to MH i2c: E2 02 01 19 03 80 0D 02 02 FA 00 03 00 06 03 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 8C 00 00 00 F2 [07:54:27]Write i2c OK [07:54:27]MH_I2C_Read... [07:54:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:54:28]Read from MH i2c: E2 [07:54:28]MH_I2C_Read... [07:54:28]Read from MH i2c: E2 03 00 [07:54:28]MH_I2C_Read... [07:54:28]Read from MH i2c: E2 03 00 19 03 00 90 00 90 [07:54:28]RAPDU: 90 00 [07:54:28]wFMCommunicate OK [07:54:28]wFMCommunicate request_size=255 [07:54:28]MH_SAM_APDU [07:54:28]CAPDU: 80 0D 02 02 FA 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 37 36 06 04 48 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 39 30 20 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 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 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 [07:54:28]Write to MH i2c: E2 02 01 1A 03 80 0D 02 02 FA 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 37 36 06 04 48 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 39 30 20 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 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 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 00 00 26 [07:54:28]Write i2c OK [07:54:28]MH_I2C_Read... [07:54:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:54:28]Read from MH i2c: E2 [07:54:28]MH_I2C_Read... [07:54:28]Read from MH i2c: E2 03 00 [07:54:28]MH_I2C_Read... [07:54:28]Read from MH i2c: E2 03 00 1A 03 00 90 00 91 [07:54:28]RAPDU: 90 00 [07:54:28]wFMCommunicate OK [07:54:28]wFMCommunicate request_size=255 [07:54:28]MH_SAM_APDU [07:54:28]CAPDU: 80 0D 02 02 FA F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 6F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 34 B7 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 [07:54:28]Write to MH i2c: E2 02 01 1B 03 80 0D 02 02 FA 00 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 6F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 34 B7 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 00 00 78 [07:54:28]Write i2c OK [07:54:28]MH_I2C_Read... [07:54:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:54:28]Read from MH i2c: E2 [07:54:28]MH_I2C_Read... [07:54:28]Read from MH i2c: E2 03 00 [07:54:28]MH_I2C_Read... [07:54:28]Read from MH i2c: E2 03 00 1B 03 00 90 00 92 [07:54:28]RAPDU: 90 00 [07:54:28]wFMCommunicate OK [07:54:28]wFMCommunicate request_size=33 [07:54:28]MH_SAM_APDU [07:54:28]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 33 37 36 10 04 04 00 12 61 00 00 35 04 06 00 15 65 07 2D 44 7C [07:54:28]Write to MH i2c: E2 24 00 1C 03 80 0D 02 02 1C 00 30 30 30 30 39 36 35 33 37 36 10 04 04 00 12 61 00 00 35 04 06 00 15 65 07 2D 44 7C 00 00 0D [07:54:28]Write i2c OK [07:54:28]MH_I2C_Read... [07:54:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:54:28]Read from MH i2c: E2 [07:54:28]MH_I2C_Read... [07:54:28]Read from MH i2c: E2 03 00 [07:54:28]MH_I2C_Read... [07:54:28]Read from MH i2c: E2 03 00 1C 03 00 90 00 93 [07:54:28]RAPDU: 90 00 [07:54:28]wFMCommunicate OK [07:54:28]wFMCommunicate request_size=4 [07:54:28]MH_SAM_APDU [07:54:28]CAPDU: 80 0D 03 02 [07:54:28]Write to MH i2c: E2 08 00 1D 03 80 0D 03 02 00 00 00 00 9B [07:54:28]Write i2c OK [07:54:28]MH_I2C_Read... [07:54:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:54:28]Read from MH i2c: E2 [07:54:28]MH_I2C_Read... [07:54:28]Read from MH i2c: E2 0B 00 [07:54:28]MH_I2C_Read... [07:54:28]Read from MH i2c: E2 0B 00 1D 03 00 55 CF B5 88 8B 76 A5 5B 90 00 FE [07:54:28]RAPDU: 55 CF B5 88 8B 76 A5 5B 90 00 [07:54:28]wFMCommunicate OK [07:54:28]SAM_PROTO_SignData done [07:54:28]FM_MakeSignedData done [07:54:28]CreateOFDProtocolMessage [07:54:28]wFMCommunicate request_size=4 [07:54:28]MH_SAM_APDU [07:54:28]CAPDU: 80 11 00 00 [07:54:28]Write to MH i2c: E2 08 00 1E 03 80 11 00 00 00 00 00 00 9B [07:54:28]Write i2c OK [07:54:28]MH_I2C_Read... [07:54:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:54:28]Read from MH i2c: E2 [07:54:28]MH_I2C_Read... [07:54:28]Read from MH i2c: E2 17 00 [07:54:28]MH_I2C_Read... [07:54:28]Read from MH i2c: E2 17 00 1E 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 F2 [07:54:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [07:54:28]wFMCommunicate OK [07:54:28]CreateOFDProtocolMessage done [07:54:28]OFDSenderStorePacket 24850 [07:54:28]StoreOFDPacket docnum=24850 [07:54:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 1A 03 00 00 6F BA 12 03 17 E9 5A 03 01 00 03 00 06 03 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 37 36 06 04 48 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 39 30 20 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 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 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 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 6F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 34 B7 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 12 61 00 00 35 04 06 00 15 65 07 2D 44 7C 55 CF B5 88 8B 76 A5 5B [07:54:28]CheckFolder [07:54:28]dirname=/storage/ofd_packets [07:54:28]CheckFolder done [07:54:28]ProducePacketName [07:54:28]name=ofd_packets/00024850 [07:54:28]NVStorageSaveData ofd_packets/00024850 [07:54:28]File name is /storage/ofd_packets/00024850 [07:54:28]Write 824 bytes [07:54:28]NVStorageSaveData done [07:54:28]OFDSenderStorePacket done [07:54:28]KKMCreateOFDPacket done [07:54:28]NVStorageSaveData kkm_last_timestamp [07:54:28]File name is /storage/kkm_last_timestamp [07:54:28]Write 4 bytes [07:54:28]NVStorageSaveData done [07:54:28]ExternCall_PrintAddStr [07:54:28]wPrintStart [07:54:28]Write to MH i2c: 01 00 00 1F 03 22 [07:54:28]Write i2c OK [07:54:28]MH_I2C_Read... [07:54:28]Read from MH i2c: 01 [07:54:28]MH_I2C_Read... [07:54:28]Read from MH i2c: 01 07 00 [07:54:28]MH_I2C_Read... [07:54:28]Read from MH i2c: 01 07 00 1F 03 00 00 00 00 00 FF 0F 37 [07:54:28]RasterBufferAndPrint [07:54:28]line Счет N : (3)34610 [07:54:28]line ИНН: 02508201610067 [07:54:28]line Контрольно-Кассовый Чек [07:54:28]line ПРОДАЖА [07:54:28]line Товар: 5449000027474 [07:54:28]line Напиток FuzeTea зел чай манго,ромашка 1л [07:54:28]line 1.000 * 120.00 [07:54:28]line = 120.00 [07:54:28]line НДС 12% НСП 1% [07:54:28]line > о реализуемом товаре [07:54:28]line Товар: 4700000160358 [07:54:28]line Вода Легенда 1л [07:54:28]line 1.000 * 50.00 [07:54:28]line = 50.00 [07:54:28]line НДС 12% НСП 1% [07:54:28]line > о реализуемом товаре [07:54:28]line Товар: 4630007400976 [07:54:28]line Арахис жарен Караван орехов Стандарт 90 [07:54:28]line 1.000 * 75.00 [07:54:28]line = 75.00 [07:54:28]line НДС 12% НСП 1% [07:54:28]line > о реализуемом товаре [07:54:28]line Товар: 4700000160013 [07:54:28]line Снек Курут индивидуальный [07:54:28]line 2.000 * 15.00 [07:54:28]line = 30.00 [07:54:28]line НДС 12% НСП 1% [07:54:28]line > о реализуемом товаре [07:54:28]line Товар: 46226624 [07:54:28]line Mentos ПВ Клубника 6*100*2 [07:54:28]line 1.000 * 10.00 [07:54:28]line = 10.00 [07:54:28]line НДС 12% НСП 1% [07:54:28]line > о реализуемом товаре [07:54:28]line ИТОГО: 285.00 [07:54:28]line НСП 1% : 2.51 [07:54:28]line НДС 12% : 30.26 [07:54:28]line Наличными: 0.00 [07:54:28]line Безнал.: 285.00 [07:54:29]line Место: АЗС № 161 "Партнер Нефть" [07:54:29]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [07:54:29]line СНО: Общий режим [07:54:29]line Чек 8 20.10.2024 07:54 [07:54:29]line Смена: 455 ФФД: 1.0 [07:54:29]line ЗНМ: 0300000240 [07:54:29]line РНМ: 0000000000098147 [07:54:29]line Версия ККМ: 001 [07:54:29]line Платежная система: Mbank [07:54:29]line ФМ: 0000000000965376 [07:54:29]line ФД: 24850 [07:54:29]line ФПД: 23523656287356 [07:54:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T075428&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24850&fm=23523656287356&tin=02508201610067®Number=0000000000098147&sum=28500 [07:54:29]line 0 [07:54:29]OFD Sender: Processing packet 24850 [packets to send 5, broken 4] [07:54:29]ProducePacketName [07:54:29]name=ofd_packets/00024850 [07:54:29]OFD Sender: To server: pG, [07:54:29]CommunicateWithHost lk.salyk.kg:30040 [07:54:29]ConnectInit lk.salyk.kg [07:54:29]written 0, free lines is 4095 [07:54:29]Connected sock=10 [07:54:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 1A 03 00 00 6F BA 12 03 17 E9 5A 03 01 00 03 00 06 03 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 37 36 06 04 48 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 39 30 20 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 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 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 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 6F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 34 B7 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 12 61 00 00 35 04 06 00 15 65 07 2D 44 7C 55 CF B5 88 8B 76 A5 5B [07:54:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 57 5F 47 00 E5 44 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 12 61 00 00 F4 03 04 00 B5 5F 14 67 B6 04 01 00 00 73 D9 A1 37 5D D0 81 73 [07:54:29]CommunicateWithHost err = 0 [07:54:29]CheckOFDResponse [07:54:29]1017 (14) - 77093643461234 [07:54:29]1041 (16) - 0000000000965376 [07:54:29]1040 (4) - 24850 [07:54:29]1012 (4) - 20.10.2024 01:41 [07:54:29]1206 (1) - 0 [07:54:29]OFD Sender: Remove packet 24850 [07:54:29]ProducePacketName [07:54:29]name=ofd_packets/00024850 [07:54:29]NVStorageDeleteData [07:54:30]Write to MH i2c: 01 00 00 62 03 65 [07:54:30]Write i2c OK [07:54:30]MH_I2C_Read... [07:54:30]Read from MH i2c: 01 [07:54:30]MH_I2C_Read... [07:54:30]Read from MH i2c: 01 07 00 [07:54:30]MH_I2C_Read... [07:54:30]Read from MH i2c: 01 07 00 62 03 00 00 00 00 00 29 0B A0 [07:54:30]RasterBufferAndPrint [07:54:30]line [07:54:30]line [07:54:30]line [07:54:30]line [07:54:30]line [07:54:30]written 0, free lines is 2863 [07:54:30]process_action close_receipt done [07:54:30]requested_data is exist [07:54:30]produce_requested_data [07:54:30]requested_item fm.sn is exist - process it [07:54:30]wFMCommunicate request_size=4 [07:54:30]MH_SAM_APDU [07:54:30]CAPDU: 80 11 00 00 [07:54:30]Write to MH i2c: E2 08 00 69 03 80 11 00 00 00 00 00 00 E6 [07:54:30]Write i2c OK [07:54:30]MH_I2C_Read... [07:54:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:54:30]Read from MH i2c: E2 [07:54:30]MH_I2C_Read... [07:54:30]Read from MH i2c: E2 17 00 [07:54:30]MH_I2C_Read... [07:54:30]Read from MH i2c: E2 17 00 69 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 3D [07:54:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [07:54:30]wFMCommunicate OK [07:54:30]requested_item fd.num is exist - process it [07:54:30]SAM_PROTO_GetFieldsCounters [07:54:30]wFMCommunicate request_size=4 [07:54:30]MH_SAM_APDU [07:54:30]CAPDU: 80 13 00 00 [07:54:30]Write to MH i2c: E2 08 00 6A 03 80 13 00 00 00 00 00 00 E9 [07:54:30]Write i2c OK [07:54:30]MH_I2C_Read... [07:54:30]OFD Sender: No OFD packet to send [07:54:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:54:30]Read from MH i2c: E2 [07:54:30]MH_I2C_Read... [07:54:30]Read from MH i2c: E2 62 00 [07:54:30]MH_I2C_Read... [07:54:30]Read from MH i2c: E2 62 00 6A 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 12 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 65 [07:54: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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 12 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:54:30]wFMCommunicate OK [07:54:30]SAM_PROTO_GetFieldsCounters done [07:54:30]requested_item shift.num is exist - process it [07:54:30]requested_item shift.opened is exist - process it [07:54:30]req_shift_opened [07:54:30]FM_GetShiftState [07:54:30]SAM_PROTO_GetShiftState [07:54:30]wFMCommunicate request_size=4 [07:54:30]MH_SAM_APDU [07:54:30]CAPDU: 80 13 01 00 [07:54:30]Write to MH i2c: E2 08 00 6B 03 80 13 01 00 00 00 00 00 EB [07:54:30]Write i2c OK [07:54:30]MH_I2C_Read... [07:54:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:54:30]Read from MH i2c: E2 [07:54:30]MH_I2C_Read... [07:54:30]Read from MH i2c: E2 0E 00 [07:54:30]MH_I2C_Read... [07:54:30]Read from MH i2c: E2 0E 00 6B 03 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 31 [07:54:30]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [07:54:30]wFMCommunicate OK [07:54:30]SAM_PROTO_GetShiftState done [07:54:30]FM_GetShiftState done [07:54:30]req_shift_opened done [07:54:30]requested_item shift.open_date is exist - process it [07:54:30]req_shift_open_date [07:54:30]req_shift_open_date done [07:54:30]produce_requested_data done [07:54:30]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24850,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [07:54:30]process_action_free close_receipt [07:54:30]json_value_free [07:54:30]json_value_free done [07:54:30]process_json_proto returns [07:54:30]Send response to host [07:54:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24850,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [07:54:30]free response buf [07:54:30]execute_script done [07:54:30]execute_script returns [07:54:30]free content buf [07:54:30]Sock 7.Close socket [07:54:30]Sock 7.Thread stoped [07:54:35]OFD Sender: No OFD packet to send [07:54:40]OFD Sender: No OFD packet to send [07:54:45]OFD Sender: No OFD packet to send [07:54:50]OFD Sender: No OFD packet to send [07:54:55]OFD Sender: No OFD packet to send [07:55:00]OFD Sender: No OFD packet to send [07:55:05]OFD Sender: No OFD packet to send [07:55:10]OFD Sender: No OFD packet to send [07:55:15]OFD Sender: No OFD packet to send [07:55:20]OFD Sender: No OFD packet to send [07:55:25]OFD Sender: No OFD packet to send [07:55:30]OFD Sender: No OFD packet to send [07:55:35]OFD Sender: No OFD packet to send [07:55:40]OFD Sender: No OFD packet to send [07:55:45]OFD Sender: No OFD packet to send [07:55:50]OFD Sender: No OFD packet to send [07:55:55]OFD Sender: No OFD packet to send [07:56:00]OFD Sender: No OFD packet to send [07:56:05]OFD Sender: No OFD packet to send [07:56:10]OFD Sender: No OFD packet to send [07:56:15]OFD Sender: No OFD packet to send [07:56:20]OFD Sender: No OFD packet to send [07:56:25]OFD Sender: No OFD packet to send [07:56:30]OFD Sender: No OFD packet to send [07:56:35]OFD Sender: No OFD packet to send [07:56:40]OFD Sender: No OFD packet to send [07:56:45]OFD Sender: No OFD packet to send [07:56:50]OFD Sender: No OFD packet to send [07:56:55]OFD Sender: No OFD packet to send [07:57:00]OFD Sender: No OFD packet to send [07:57:05]OFD Sender: No OFD packet to send [07:57:10]OFD Sender: No OFD packet to send [07:57:15]OFD Sender: No OFD packet to send [07:57:20]OFD Sender: No OFD packet to send [07:57:25]OFD Sender: No OFD packet to send [07:57:30]OFD Sender: No OFD packet to send [07:57:35]OFD Sender: No OFD packet to send [07:57:40]OFD Sender: No OFD packet to send [07:57:45]OFD Sender: No OFD packet to send [07:57:50]OFD Sender: No OFD packet to send [07:57:55]OFD Sender: No OFD packet to send [07:58:00]OFD Sender: No OFD packet to send [07:58:05]OFD Sender: No OFD packet to send [07:58:10]OFD Sender: No OFD packet to send [07:58:15]OFD Sender: No OFD packet to send [07:58:20]OFD Sender: No OFD packet to send [07:58:25]OFD Sender: No OFD packet to send [07:58:30]OFD Sender: No OFD packet to send [07:58:35]OFD Sender: No OFD packet to send [07:58:40]OFD Sender: No OFD packet to send [07:58:45]OFD Sender: No OFD packet to send [07:58:50]OFD Sender: No OFD packet to send [07:58:55]OFD Sender: No OFD packet to send [07:59:00]OFD Sender: No OFD packet to send [07:59:05]OFD Sender: No OFD packet to send [07:59:10]OFD Sender: No OFD packet to send [07:59:15]OFD Sender: No OFD packet to send [07:59:20]OFD Sender: No OFD packet to send [07:59:25]OFD Sender: No OFD packet to send [07:59:30]OFD Sender: No OFD packet to send [07:59:35]OFD Sender: No OFD packet to send [07:59:40]OFD Sender: No OFD packet to send [07:59:45]OFD Sender: No OFD packet to send [07:59:50]OFD Sender: No OFD packet to send [07:59:55]OFD Sender: No OFD packet to send [08:00:00]OFD Sender: No OFD packet to send [08:00:05]OFD Sender: No OFD packet to send [08:00:10]OFD Sender: No OFD packet to send [08:00:15]OFD Sender: No OFD packet to send [08:00:20]OFD Sender: No OFD packet to send [08:00:25]OFD Sender: No OFD packet to send [08:00:30]OFD Sender: No OFD packet to send [08:00:35]OFD Sender: No OFD packet to send [08:00:40]OFD Sender: No OFD packet to send [08:00:45]OFD Sender: No OFD packet to send [08:00:50]OFD Sender: No OFD packet to send [08:00:55]OFD Sender: No OFD packet to send [08:01:00]OFD Sender: No OFD packet to send [08:01:05]OFD Sender: No OFD packet to send [08:01:10]OFD Sender: No OFD packet to send [08:01:15]OFD Sender: No OFD packet to send [08:01:20]OFD Sender: No OFD packet to send [08:01:25]OFD Sender: No OFD packet to send [08:01:30]OFD Sender: No OFD packet to send [08:01:35]OFD Sender: No OFD packet to send [08:01:40]OFD Sender: No OFD packet to send [08:01:45]OFD Sender: No OFD packet to send [08:01:50]OFD Sender: No OFD packet to send [08:01:55]OFD Sender: No OFD packet to send [08:02:00]OFD Sender: No OFD packet to send [08:02:05]OFD Sender: No OFD packet to send [08:02:10]OFD Sender: No OFD packet to send [08:02:15]OFD Sender: No OFD packet to send [08:02:20]OFD Sender: No OFD packet to send [08:02:25]OFD Sender: No OFD packet to send [08:02:30]OFD Sender: No OFD packet to send [08:02:35]OFD Sender: No OFD packet to send [08:02:40]OFD Sender: No OFD packet to send [08:02:45]OFD Sender: No OFD packet to send [08:02:50]OFD Sender: No OFD packet to send [08:02:55]OFD Sender: No OFD packet to send [08:03:00]OFD Sender: No OFD packet to send [08:03:05]OFD Sender: No OFD packet to send [08:03:10]OFD Sender: No OFD packet to send [08:03:15]OFD Sender: No OFD packet to send [08:03:20]OFD Sender: No OFD packet to send [08:03:25]OFD Sender: No OFD packet to send [08:03:30]OFD Sender: No OFD packet to send [08:03:35]OFD Sender: No OFD packet to send [08:03:40]OFD Sender: No OFD packet to send [08:03:45]OFD Sender: No OFD packet to send [08:03:50]OFD Sender: No OFD packet to send [08:03:55]OFD Sender: No OFD packet to send [08:04:00]OFD Sender: No OFD packet to send [08:04:05]OFD Sender: No OFD packet to send [08:04:10]OFD Sender: No OFD packet to send [08:04:15]OFD Sender: No OFD packet to send [08:04:20]OFD Sender: No OFD packet to send [08:04:25]OFD Sender: No OFD packet to send [08:04:30]OFD Sender: No OFD packet to send [08:04:35]OFD Sender: No OFD packet to send [08:04:40]OFD Sender: No OFD packet to send [08:04:45]OFD Sender: No OFD packet to send [08:04:50]OFD Sender: No OFD packet to send [08:04:55]OFD Sender: No OFD packet to send [08:05:00]OFD Sender: No OFD packet to send [08:05:05]OFD Sender: No OFD packet to send [08:05:10]OFD Sender: No OFD packet to send [08:05:15]OFD Sender: No OFD packet to send [08:05:20]OFD Sender: No OFD packet to send [08:05:25]OFD Sender: No OFD packet to send [08:05:30]OFD Sender: No OFD packet to send [08:05:35]OFD Sender: No OFD packet to send [08:05:40]OFD Sender: No OFD packet to send [08:05:45]OFD Sender: No OFD packet to send [08:05:50]OFD Sender: No OFD packet to send [08:05:55]OFD Sender: No OFD packet to send [08:06:00]OFD Sender: No OFD packet to send [08:06:05]OFD Sender: No OFD packet to send [08:06:10]OFD Sender: No OFD packet to send [08:06:15]OFD Sender: No OFD packet to send [08:06:20]OFD Sender: No OFD packet to send [08:06:25]OFD Sender: No OFD packet to send [08:06:30]OFD Sender: No OFD packet to send [08:06:35]OFD Sender: No OFD packet to send [08:06:40]OFD Sender: No OFD packet to send [08:06:45]OFD Sender: No OFD packet to send [08:06:50]OFD Sender: No OFD packet to send [08:06:55]OFD Sender: No OFD packet to send [08:07:00]OFD Sender: No OFD packet to send [08:07:05]OFD Sender: No OFD packet to send [08:07:10]OFD Sender: No OFD packet to send [08:07:15]OFD Sender: No OFD packet to send [08:07:20]OFD Sender: No OFD packet to send [08:07:25]OFD Sender: No OFD packet to send [08:07:30]OFD Sender: No OFD packet to send [08:07:35]OFD Sender: No OFD packet to send [08:07:40]OFD Sender: No OFD packet to send [08:07:45]OFD Sender: No OFD packet to send [08:07:50]OFD Sender: No OFD packet to send [08:07:55]OFD Sender: No OFD packet to send [08:08:00]OFD Sender: No OFD packet to send [08:08:05]OFD Sender: No OFD packet to send [08:08:10]OFD Sender: No OFD packet to send [08:08:15]OFD Sender: No OFD packet to send [08:08:20]OFD Sender: No OFD packet to send [08:08:25]OFD Sender: No OFD packet to send [08:08:30]OFD Sender: No OFD packet to send [08:08:35]OFD Sender: No OFD packet to send [08:08:40]OFD Sender: No OFD packet to send [08:08:48]ConnectInit Can't connect to host [08:08:50]OFD Sender: No OFD packet to send [08:08:55]OFD Sender: No OFD packet to send [08:09:00]OFD Sender: No OFD packet to send [08:09:05]OFD Sender: No OFD packet to send [08:09:10]OFD Sender: No OFD packet to send [08:09:15]OFD Sender: No OFD packet to send [08:09:20]OFD Sender: No OFD packet to send [08:09:25]OFD Sender: No OFD packet to send [08:09:30]OFD Sender: No OFD packet to send [08:09:35]OFD Sender: No OFD packet to send [08:09:40]OFD Sender: No OFD packet to send [08:09:45]OFD Sender: No OFD packet to send [08:09:50]accept exits with 9 [08:09:50]New connection [08:09:50]New thread 3067309412 created [08:09:50]Thread 3067166052 joined [08:09:50]Waiting for new connection... [08:09:50] Sock 9.Parse request [08:09:50]Sock 9.Check first char [08:09:50]Sock 9.First char is OK [08:09:50]request: POST /json_proto HTTP/1.0 [08:09:50]Method: POST [08:09:50]URL: /json_proto [08:09:50]Method is POST - this is cgi request [08:09:50]url: /json_proto [08:09:50]query_string will be loaded in cgi processing [08:09:50]execute_cgi json_proto POST (null) [08:09:50]execute_cgi path=json_proto method=POST [08:09:50]POST find Content-Length [08:09:50]Host: 172.17.53.196:8080 [08:09:50]Content-Length: 215 [08:09:50]Content-Type: application/json [08:09:50] [08:09:50]POST finish read [08:09:50]Found Content-Length = 215 [08:09:50]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" ] } } [08:09:50]execute_script... [08:09:50]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" ] } } [08:09:50]POST & json_proto [08:09:50]process_json_proto [08:09:50]json parsed OK: [08:09:50]protocol is kg_v1.0 [08:09:50]action value=get_value [08:09:50]process_action get_value [08:09:50]cmd_get_value [08:09:50]process_action get_value done [08:09:50]requested_data is exist [08:09:50]produce_requested_data [08:09:50]requested_item kkm.sn is exist - process it [08:09:50]requested_item kkm.ver is exist - process it [08:09:50]requested_item fm.sn is exist - process it [08:09:50]wFMCommunicate request_size=4 [08:09:50]MH_SAM_APDU [08:09:50]CAPDU: 80 11 00 00 [08:09:50]Write to MH i2c: E2 08 00 6C 03 80 11 00 00 00 00 00 00 E9 [08:09:50]Write i2c OK [08:09:50]MH_I2C_Read... [08:09:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:09:50]Read from MH i2c: E2 [08:09:50]MH_I2C_Read... [08:09:50]Read from MH i2c: E2 17 00 [08:09:50]MH_I2C_Read... [08:09:50]Read from MH i2c: E2 17 00 6C 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 40 [08:09:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [08:09:50]wFMCommunicate OK [08:09:50]requested_item fd.num is exist - process it [08:09:50]SAM_PROTO_GetFieldsCounters [08:09:50]wFMCommunicate request_size=4 [08:09:50]MH_SAM_APDU [08:09:50]CAPDU: 80 13 00 00 [08:09:50]Write to MH i2c: E2 08 00 6D 03 80 13 00 00 00 00 00 00 EC [08:09:50]Write i2c OK [08:09:50]MH_I2C_Read... [08:09:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:09:50]Read from MH i2c: E2 [08:09:50]MH_I2C_Read... [08:09:50]Read from MH i2c: E2 62 00 [08:09:50]MH_I2C_Read... [08:09:50]Read from MH i2c: E2 62 00 6D 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 12 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 68 [08:09: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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 12 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:09:50]wFMCommunicate OK [08:09:50]SAM_PROTO_GetFieldsCounters done [08:09:50]requested_item shift.num is exist - process it [08:09:50]requested_item shift.opened is exist - process it [08:09:50]req_shift_opened [08:09:50]FM_GetShiftState [08:09:50]SAM_PROTO_GetShiftState [08:09:50]wFMCommunicate request_size=4 [08:09:50]MH_SAM_APDU [08:09:50]CAPDU: 80 13 01 00 [08:09:50]Write to MH i2c: E2 08 00 6E 03 80 13 01 00 00 00 00 00 EE [08:09:50]Write i2c OK [08:09:50]MH_I2C_Read... [08:09:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:09:50]Read from MH i2c: E2 [08:09:50]MH_I2C_Read... [08:09:50]Read from MH i2c: E2 0E 00 [08:09:50]MH_I2C_Read... [08:09:50]Read from MH i2c: E2 0E 00 6E 03 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 34 [08:09:50]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [08:09:50]wFMCommunicate OK [08:09:50]SAM_PROTO_GetShiftState done [08:09:50]FM_GetShiftState done [08:09:50]req_shift_opened done [08:09:50]requested_item shift.open_date is exist - process it [08:09:50]req_shift_open_date [08:09:50]req_shift_open_date done [08:09:50]produce_requested_data done [08:09:50]produce_requested_data return {"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":24850,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [08:09:50]process_action_free get_value [08:09:50]json_value_free [08:09:50]json_value_free done [08:09:50]process_json_proto returns [08:09:50]Send response to host [08:09:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":24850,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [08:09:50]free response buf [08:09:50]execute_script done [08:09:50]execute_script returns [08:09:50]free content buf [08:09:50]Sock 9.Close socket [08:09:50]Sock 9.Thread stoped [08:09:50]OFD Sender: No OFD packet to send [08:09:54]accept exits with 7 [08:09:54]New connection [08:09:54]New thread 3067166052 created [08:09:54]Thread 3067309412 joined [08:09:54]Waiting for new connection... [08:09:54] Sock 7.Parse request [08:09:54]Sock 7.Check first char [08:09:54]Sock 7.First char is OK [08:09:54]request: POST /json_proto HTTP/1.0 [08:09:54]Method: POST [08:09:54]URL: /json_proto [08:09:54]Method is POST - this is cgi request [08:09:54]url: /json_proto [08:09:54]query_string will be loaded in cgi processing [08:09:54]execute_cgi json_proto POST (null) [08:09:54]execute_cgi path=json_proto method=POST [08:09:54]POST find Content-Length [08:09:54]Host: 172.17.53.196:8080 [08:09:54]Content-Length: 331 [08:09:54]Content-Type: application/json [08:09:54] [08:09:54]POST finish read [08:09:54]Found Content-Length = 331 [08:09:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:09:54]execute_script... [08:09:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:09:54]POST & json_proto [08:09:54]process_json_proto [08:09:54]json parsed OK: [08:09:54]protocol is kg_v1.0 [08:09:54]action value=get_value [08:09:54]process_action get_value [08:09:54]cmd_get_value [08:09:54]process_action get_value done [08:09:54]requested_data is exist [08:09:54]produce_requested_data [08:09:54]requested_item fm.sale.total is exist - process it [08:09:54]SAM_PROTO_GetFMData [08:09:54]wFMCommunicate request_size=4 [08:09:54]MH_SAM_APDU [08:09:54]CAPDU: 80 13 03 00 [08:09:54]Write to MH i2c: E2 08 00 6F 03 80 13 03 00 00 00 00 00 F1 [08:09:54]Write i2c OK [08:09:54]MH_I2C_Read... [08:09:54]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:09:54]Read from MH i2c: E2 [08:09:54]MH_I2C_Read... [08:09:54]Read from MH i2c: E2 FD 00 [08:09:54]MH_I2C_Read... [08:09:54]Read from MH i2c: E2 FD 00 6F 03 00 BF 04 85 04 BB 04 6E 04 04 00 84 5D 00 00 69 04 A0 00 6F 04 04 00 76 5D 00 00 B1 04 04 00 DC 92 A9 14 70 04 04 00 E8 82 7D 12 72 04 04 00 F4 0F 2C 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 39 B1 31 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 58 C4 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 DE [08:09:54]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 84 5D 00 00 69 04 A0 00 6F 04 04 00 76 5D 00 00 B1 04 04 00 DC 92 A9 14 70 04 04 00 E8 82 7D 12 72 04 04 00 F4 0F 2C 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 39 B1 31 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 58 C4 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 [08:09:54]wFMCommunicate OK [08:09:54]wFMCommunicate request_size=4 [08:09:54]MH_SAM_APDU [08:09:54]CAPDU: 80 17 00 00 [08:09:54]Write to MH i2c: E2 08 00 70 03 80 17 00 00 00 00 00 00 F3 [08:09:54]Write i2c OK [08:09:54]MH_I2C_Read... [08:09:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:09:54]Read from MH i2c: E2 [08:09:54]MH_I2C_Read... [08:09:54]Read from MH i2c: E2 FD 00 [08:09:54]MH_I2C_Read... [08:09:54]Read from MH i2c: E2 FD 00 70 03 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 E5 [08:09:54]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [08:09:54]wFMCommunicate OK [08:09:54]wFMCommunicate request_size=4 [08:09:54]MH_SAM_APDU [08:09:54]CAPDU: 80 17 00 00 [08:09:54]Write to MH i2c: E2 08 00 71 03 80 17 00 00 00 00 00 00 F4 [08:09:54]Write i2c OK [08:09:54]MH_I2C_Read... [08:09:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:09:54]Read from MH i2c: E2 [08:09:54]MH_I2C_Read... [08:09:54]Read from MH i2c: E2 FD 00 [08:09:54]MH_I2C_Read... [08:09:54]Read from MH i2c: E2 FD 00 71 03 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 98 [08:09:54]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [08:09:54]wFMCommunicate OK [08:09:54]wFMCommunicate request_size=4 [08:09:54]MH_SAM_APDU [08:09:54]CAPDU: 80 17 00 00 [08:09:54]Write to MH i2c: E2 08 00 72 03 80 17 00 00 00 00 00 00 F5 [08:09:54]Write i2c OK [08:09:54]MH_I2C_Read... [08:09:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:09:55]Read from MH i2c: E2 [08:09:55]MH_I2C_Read... [08:09:55]Read from MH i2c: E2 FD 00 [08:09:55]MH_I2C_Read... [08:09:55]Read from MH i2c: E2 FD 00 72 03 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 6F [08:09:55]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [08:09:55]wFMCommunicate OK [08:09:55]wFMCommunicate request_size=4 [08:09:55]MH_SAM_APDU [08:09:55]CAPDU: 80 17 00 00 [08:09:55]Write to MH i2c: E2 08 00 73 03 80 17 00 00 00 00 00 00 F6 [08:09:55]Write i2c OK [08:09:55]MH_I2C_Read... [08:09:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [08:09:55]Read from MH i2c: E2 [08:09:55]MH_I2C_Read... [08:09:55]Read from MH i2c: E2 DC 00 [08:09:55]MH_I2C_Read... [08:09:55]Read from MH i2c: E2 DC 00 73 03 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 DA [08:09:55]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:09:55]wFMCommunicate OK [08:09:55]SAM_PROTO_GetFMData done [08:09:55]requested_item fm.sale_refund.total is exist - process it [08:09:55]requested_item fm.buy.total is exist - process it [08:09:55]requested_item shift.sale.total is exist - process it [08:09:55]SAM_PROTO_GetShiftData [08:09:55]wFMCommunicate request_size=4 [08:09:55]MH_SAM_APDU [08:09:55]CAPDU: 80 13 02 00 [08:09:55]Write to MH i2c: E2 08 00 74 03 80 13 02 00 00 00 00 00 F5 [08:09:55]Write i2c OK [08:09:55]MH_I2C_Read... [08:09:55]OFD Sender: No OFD packet to send [08:09:55]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:09:55]Read from MH i2c: E2 [08:09:55]MH_I2C_Read... [08:09:55]Read from MH i2c: E2 FD 00 [08:09:55]MH_I2C_Read... [08:09:55]Read from MH i2c: E2 FD 00 74 03 00 AC 04 AA 04 A8 04 6E 04 04 00 08 00 00 00 69 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 C4 AC 02 70 04 03 00 70 3D 02 72 04 02 00 54 6F 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 B6 48 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 0D 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 B4 [08:09:55]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 08 00 00 00 69 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 C4 AC 02 70 04 03 00 70 3D 02 72 04 02 00 54 6F 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 B6 48 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 0D 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [08:09:55]wFMCommunicate OK [08:09:55]wFMCommunicate request_size=4 [08:09:55]MH_SAM_APDU [08:09:55]CAPDU: 80 17 00 00 [08:09:55]Write to MH i2c: E2 08 00 75 03 80 17 00 00 00 00 00 00 F8 [08:09:55]Write i2c OK [08:09:55]MH_I2C_Read... [08:09:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:09:56]Read from MH i2c: E2 [08:09:56]MH_I2C_Read... [08:09:56]Read from MH i2c: E2 FD 00 [08:09:56]MH_I2C_Read... [08:09:56]Read from MH i2c: E2 FD 00 75 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 0D [08:09:56]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [08:09:56]wFMCommunicate OK [08:09:56]wFMCommunicate request_size=4 [08:09:56]MH_SAM_APDU [08:09:56]CAPDU: 80 17 00 00 [08:09:56]Write to MH i2c: E2 08 00 76 03 80 17 00 00 00 00 00 00 F9 [08:09:56]Write i2c OK [08:09:56]MH_I2C_Read... [08:09:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:09:56]Read from MH i2c: E2 [08:09:56]MH_I2C_Read... [08:09:56]Read from MH i2c: E2 FD 00 [08:09:56]MH_I2C_Read... [08:09:56]Read from MH i2c: E2 FD 00 76 03 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 BA [08:09:56]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [08:09:56]wFMCommunicate OK [08:09:56]wFMCommunicate request_size=4 [08:09:56]MH_SAM_APDU [08:09:56]CAPDU: 80 17 00 00 [08:09:56]Write to MH i2c: E2 08 00 77 03 80 17 00 00 00 00 00 00 FA [08:09:56]Write i2c OK [08:09:56]MH_I2C_Read... [08:09:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:09:56]Read from MH i2c: E2 [08:09:56]MH_I2C_Read... [08:09:56]Read from MH i2c: E2 FD 00 [08:09:56]MH_I2C_Read... [08:09:56]Read from MH i2c: E2 FD 00 77 03 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 6F [08:09:56]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [08:09:56]wFMCommunicate OK [08:09:56]wFMCommunicate request_size=4 [08:09:56]MH_SAM_APDU [08:09:56]CAPDU: 80 17 00 00 [08:09:56]Write to MH i2c: E2 08 00 78 03 80 17 00 00 00 00 00 00 FB [08:09:56]Write i2c OK [08:09:56]MH_I2C_Read... [08:09:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [08:09:57]Read from MH i2c: E2 [08:09:57]MH_I2C_Read... [08:09:57]Read from MH i2c: E2 C9 00 [08:09:57]MH_I2C_Read... [08:09:57]Read from MH i2c: E2 C9 00 78 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 DF [08:09:57]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:09:57]wFMCommunicate OK [08:09:57]SAM_PROTO_GetShiftData done [08:09:57]requested_item shift.sale.total_cash is exist - process it [08:09:57]requested_item shift.sale_refund.total is exist - process it [08:09:57]requested_item shift.sale_refund.total_cash is exist - process it [08:09:57]requested_item shift.buy.total is exist - process it [08:09:57]requested_item shift.buy.total_cash is exist - process it [08:09:57]produce_requested_data done [08:09:57]produce_requested_data return {"fm.sale.total":3466575.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":1753.00,"shift.sale.total_cash":1468.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} [08:09:57]process_action_free get_value [08:09:57]json_value_free [08:09:57]json_value_free done [08:09:57]process_json_proto returns [08:09:57]Send response to host [08:09:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3466575.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":1753.00,"shift.sale.total_cash":1468.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}}} [08:09:57]free response buf [08:09:57]execute_script done [08:09:57]execute_script returns [08:09:57]free content buf [08:09:57]Sock 7.Close socket [08:09:57]Sock 7.Thread stoped [08:10:00]OFD Sender: No OFD packet to send [08:10:05]OFD Sender: No OFD packet to send [08:10:10]OFD Sender: No OFD packet to send [08:10:15]OFD Sender: No OFD packet to send [08:10:20]OFD Sender: No OFD packet to send [08:10:25]OFD Sender: No OFD packet to send [08:10:30]OFD Sender: No OFD packet to send [08:10:35]OFD Sender: No OFD packet to send [08:10:40]OFD Sender: No OFD packet to send [08:10:45]OFD Sender: No OFD packet to send [08:10:50]OFD Sender: No OFD packet to send [08:10:55]OFD Sender: No OFD packet to send [08:11:00]OFD Sender: No OFD packet to send [08:11:05]OFD Sender: No OFD packet to send [08:11:11]OFD Sender: No OFD packet to send [08:11:16]OFD Sender: No OFD packet to send [08:11:21]OFD Sender: No OFD packet to send [08:11:26]OFD Sender: No OFD packet to send [08:11:31]OFD Sender: No OFD packet to send [08:11:36]OFD Sender: No OFD packet to send [08:11:41]OFD Sender: No OFD packet to send [08:11:46]OFD Sender: No OFD packet to send [08:11:51]OFD Sender: No OFD packet to send [08:11:56]OFD Sender: No OFD packet to send [08:12:01]OFD Sender: No OFD packet to send [08:12:06]OFD Sender: No OFD packet to send [08:12:11]OFD Sender: No OFD packet to send [08:12:16]OFD Sender: No OFD packet to send [08:12:21]OFD Sender: No OFD packet to send [08:12:26]OFD Sender: No OFD packet to send [08:12:31]OFD Sender: No OFD packet to send [08:12:36]OFD Sender: No OFD packet to send [08:12:41]OFD Sender: No OFD packet to send [08:12:46]OFD Sender: No OFD packet to send [08:12:51]OFD Sender: No OFD packet to send [08:12:56]OFD Sender: No OFD packet to send [08:13:01]OFD Sender: No OFD packet to send [08:13:06]OFD Sender: No OFD packet to send [08:13:11]OFD Sender: No OFD packet to send [08:13:16]OFD Sender: No OFD packet to send [08:13:21]OFD Sender: No OFD packet to send [08:13:26]OFD Sender: No OFD packet to send [08:13:31]OFD Sender: No OFD packet to send [08:13:36]OFD Sender: No OFD packet to send [08:13:41]OFD Sender: No OFD packet to send [08:13:46]OFD Sender: No OFD packet to send [08:13:51]OFD Sender: No OFD packet to send [08:13:56]OFD Sender: No OFD packet to send [08:14:01]OFD Sender: No OFD packet to send [08:14:06]OFD Sender: No OFD packet to send [08:14:11]OFD Sender: No OFD packet to send [08:14:16]OFD Sender: No OFD packet to send [08:14:21]OFD Sender: No OFD packet to send [08:14:26]OFD Sender: No OFD packet to send [08:14:31]OFD Sender: No OFD packet to send [08:14:36]OFD Sender: No OFD packet to send [08:14:41]OFD Sender: No OFD packet to send [08:14:46]OFD Sender: No OFD packet to send [08:14:51]OFD Sender: No OFD packet to send [08:14:56]OFD Sender: No OFD packet to send [08:15:01]OFD Sender: No OFD packet to send [08:15:06]OFD Sender: No OFD packet to send [08:15:11]OFD Sender: No OFD packet to send [08:15:16]OFD Sender: No OFD packet to send [08:15:21]OFD Sender: No OFD packet to send [08:15:26]OFD Sender: No OFD packet to send [08:15:31]OFD Sender: No OFD packet to send [08:15:36]OFD Sender: No OFD packet to send [08:15:41]OFD Sender: No OFD packet to send [08:15:46]OFD Sender: No OFD packet to send [08:15:51]OFD Sender: No OFD packet to send [08:15:56]OFD Sender: No OFD packet to send [08:16:01]OFD Sender: No OFD packet to send [08:16:06]OFD Sender: No OFD packet to send [08:16:11]OFD Sender: No OFD packet to send [08:16:16]OFD Sender: No OFD packet to send [08:16:21]OFD Sender: No OFD packet to send [08:16:26]OFD Sender: No OFD packet to send [08:16:31]OFD Sender: No OFD packet to send [08:16:36]OFD Sender: No OFD packet to send [08:16:41]OFD Sender: No OFD packet to send [08:16:46]OFD Sender: No OFD packet to send [08:16:51]OFD Sender: No OFD packet to send [08:16:56]OFD Sender: No OFD packet to send [08:17:01]OFD Sender: No OFD packet to send [08:17:06]OFD Sender: No OFD packet to send [08:17:11]OFD Sender: No OFD packet to send [08:17:16]OFD Sender: No OFD packet to send [08:17:21]OFD Sender: No OFD packet to send [08:17:26]OFD Sender: No OFD packet to send [08:17:31]OFD Sender: No OFD packet to send [08:17:36]OFD Sender: No OFD packet to send [08:17:41]OFD Sender: No OFD packet to send [08:17:46]OFD Sender: No OFD packet to send [08:17:51]OFD Sender: No OFD packet to send [08:17:56]OFD Sender: No OFD packet to send [08:18:01]OFD Sender: No OFD packet to send [08:18:06]OFD Sender: No OFD packet to send [08:18:11]OFD Sender: No OFD packet to send [08:18:16]OFD Sender: No OFD packet to send [08:18:21]OFD Sender: No OFD packet to send [08:18:26]OFD Sender: No OFD packet to send [08:18:31]OFD Sender: No OFD packet to send [08:18:36]OFD Sender: No OFD packet to send [08:18:41]OFD Sender: No OFD packet to send [08:18:46]OFD Sender: No OFD packet to send [08:18:51]OFD Sender: No OFD packet to send [08:18:56]OFD Sender: No OFD packet to send [08:19:01]OFD Sender: No OFD packet to send [08:19:06]OFD Sender: No OFD packet to send [08:19:11]OFD Sender: No OFD packet to send [08:19:16]OFD Sender: No OFD packet to send [08:19:21]OFD Sender: No OFD packet to send [08:19:26]OFD Sender: No OFD packet to send [08:19:31]OFD Sender: No OFD packet to send [08:19:36]OFD Sender: No OFD packet to send [08:19:41]OFD Sender: No OFD packet to send [08:19:46]OFD Sender: No OFD packet to send [08:19:51]OFD Sender: No OFD packet to send [08:19:56]OFD Sender: No OFD packet to send [08:20:01]OFD Sender: No OFD packet to send [08:20:06]OFD Sender: No OFD packet to send [08:20:11]OFD Sender: No OFD packet to send [08:20:16]OFD Sender: No OFD packet to send [08:20:21]OFD Sender: No OFD packet to send [08:20:26]OFD Sender: No OFD packet to send [08:20:31]OFD Sender: No OFD packet to send [08:20:36]OFD Sender: No OFD packet to send [08:20:41]OFD Sender: No OFD packet to send [08:20:46]OFD Sender: No OFD packet to send [08:20:51]OFD Sender: No OFD packet to send [08:20:56]OFD Sender: No OFD packet to send [08:21:01]OFD Sender: No OFD packet to send [08:21:06]OFD Sender: No OFD packet to send [08:21:11]OFD Sender: No OFD packet to send [08:21:16]OFD Sender: No OFD packet to send [08:21:21]OFD Sender: No OFD packet to send [08:21:26]OFD Sender: No OFD packet to send [08:21:31]OFD Sender: No OFD packet to send [08:21:36]OFD Sender: No OFD packet to send [08:21:41]OFD Sender: No OFD packet to send [08:21:46]OFD Sender: No OFD packet to send [08:21:51]OFD Sender: No OFD packet to send [08:21:56]OFD Sender: No OFD packet to send [08:22:01]OFD Sender: No OFD packet to send [08:22:06]OFD Sender: No OFD packet to send [08:22:11]OFD Sender: No OFD packet to send [08:22:16]OFD Sender: No OFD packet to send [08:22:21]OFD Sender: No OFD packet to send [08:22:26]OFD Sender: No OFD packet to send [08:22:31]OFD Sender: No OFD packet to send [08:22:36]OFD Sender: No OFD packet to send [08:22:41]OFD Sender: No OFD packet to send [08:22:46]OFD Sender: No OFD packet to send [08:22:51]OFD Sender: No OFD packet to send [08:22:56]OFD Sender: No OFD packet to send [08:23:01]OFD Sender: No OFD packet to send [08:23:06]OFD Sender: No OFD packet to send [08:23:11]OFD Sender: No OFD packet to send [08:23:16]OFD Sender: No OFD packet to send [08:23:21]OFD Sender: No OFD packet to send [08:23:26]OFD Sender: No OFD packet to send [08:23:31]OFD Sender: No OFD packet to send [08:23:36]OFD Sender: No OFD packet to send [08:23:41]OFD Sender: No OFD packet to send [08:23:46]OFD Sender: No OFD packet to send [08:23:51]OFD Sender: No OFD packet to send [08:23:56]OFD Sender: No OFD packet to send [08:24:01]OFD Sender: No OFD packet to send [08:24:06]OFD Sender: No OFD packet to send [08:24:11]OFD Sender: No OFD packet to send [08:24:16]OFD Sender: No OFD packet to send [08:24:21]OFD Sender: No OFD packet to send [08:24:26]OFD Sender: No OFD packet to send [08:24:31]OFD Sender: No OFD packet to send [08:24:36]OFD Sender: No OFD packet to send [08:24:41]OFD Sender: No OFD packet to send [08:24:46]OFD Sender: No OFD packet to send [08:24:51]OFD Sender: No OFD packet to send [08:24:56]OFD Sender: No OFD packet to send [08:25:01]OFD Sender: No OFD packet to send [08:25:06]OFD Sender: No OFD packet to send [08:25:11]OFD Sender: No OFD packet to send [08:25:16]OFD Sender: No OFD packet to send [08:25:21]OFD Sender: No OFD packet to send [08:25:26]OFD Sender: No OFD packet to send [08:25:31]OFD Sender: No OFD packet to send [08:25:36]OFD Sender: No OFD packet to send [08:25:41]OFD Sender: No OFD packet to send [08:25:46]OFD Sender: No OFD packet to send [08:25:51]OFD Sender: No OFD packet to send [08:25:56]OFD Sender: No OFD packet to send [08:26:01]OFD Sender: No OFD packet to send [08:26:06]OFD Sender: No OFD packet to send [08:26:11]OFD Sender: No OFD packet to send [08:26:16]OFD Sender: No OFD packet to send [08:26:21]OFD Sender: No OFD packet to send [08:26:26]OFD Sender: No OFD packet to send [08:26:31]OFD Sender: No OFD packet to send [08:26:36]OFD Sender: No OFD packet to send [08:26:41]OFD Sender: No OFD packet to send [08:26:46]OFD Sender: No OFD packet to send [08:26:51]OFD Sender: No OFD packet to send [08:26:56]OFD Sender: No OFD packet to send [08:27:01]OFD Sender: No OFD packet to send [08:27:06]OFD Sender: No OFD packet to send [08:27:11]OFD Sender: No OFD packet to send [08:27:16]OFD Sender: No OFD packet to send [08:27:21]OFD Sender: No OFD packet to send [08:27:26]OFD Sender: No OFD packet to send [08:27:31]OFD Sender: No OFD packet to send [08:27:36]OFD Sender: No OFD packet to send [08:27:41]OFD Sender: No OFD packet to send [08:27:46]OFD Sender: No OFD packet to send [08:27:51]OFD Sender: No OFD packet to send [08:27:56]OFD Sender: No OFD packet to send [08:28:01]OFD Sender: No OFD packet to send [08:28:06]OFD Sender: No OFD packet to send [08:28:11]OFD Sender: No OFD packet to send [08:28:16]OFD Sender: No OFD packet to send [08:28:21]OFD Sender: No OFD packet to send [08:28:26]OFD Sender: No OFD packet to send [08:28:31]OFD Sender: No OFD packet to send [08:28:36]OFD Sender: No OFD packet to send [08:28:41]OFD Sender: No OFD packet to send [08:28:46]OFD Sender: No OFD packet to send [08:28:51]OFD Sender: No OFD packet to send [08:28:56]OFD Sender: No OFD packet to send [08:29:01]OFD Sender: No OFD packet to send [08:29:06]OFD Sender: No OFD packet to send [08:29:11]OFD Sender: No OFD packet to send [08:29:16]OFD Sender: No OFD packet to send [08:29:21]OFD Sender: No OFD packet to send [08:29:26]OFD Sender: No OFD packet to send [08:29:31]OFD Sender: No OFD packet to send [08:29:36]OFD Sender: No OFD packet to send [08:29:41]OFD Sender: No OFD packet to send [08:29:46]OFD Sender: No OFD packet to send [08:29:51]OFD Sender: No OFD packet to send [08:29:56]OFD Sender: No OFD packet to send [08:30:01]OFD Sender: No OFD packet to send [08:30:06]OFD Sender: No OFD packet to send [08:30:11]OFD Sender: No OFD packet to send [08:30:16]OFD Sender: No OFD packet to send [08:30:21]OFD Sender: No OFD packet to send [08:30:26]OFD Sender: No OFD packet to send [08:30:31]OFD Sender: No OFD packet to send [08:30:36]OFD Sender: No OFD packet to send [08:30:41]OFD Sender: No OFD packet to send [08:30:46]OFD Sender: No OFD packet to send [08:30:51]OFD Sender: No OFD packet to send [08:30:56]OFD Sender: No OFD packet to send [08:31:01]OFD Sender: No OFD packet to send [08:31:06]OFD Sender: No OFD packet to send [08:31:11]OFD Sender: No OFD packet to send [08:31:16]OFD Sender: No OFD packet to send [08:31:21]OFD Sender: No OFD packet to send [08:31:26]OFD Sender: No OFD packet to send [08:31:31]OFD Sender: No OFD packet to send [08:31:36]OFD Sender: No OFD packet to send [08:31:41]OFD Sender: No OFD packet to send [08:31:46]OFD Sender: No OFD packet to send [08:31:51]OFD Sender: No OFD packet to send [08:31:56]OFD Sender: No OFD packet to send [08:32:01]OFD Sender: No OFD packet to send [08:32:06]OFD Sender: No OFD packet to send [08:32:11]OFD Sender: No OFD packet to send [08:32:16]OFD Sender: No OFD packet to send [08:32:22]OFD Sender: No OFD packet to send [08:32:27]OFD Sender: No OFD packet to send [08:32:32]OFD Sender: No OFD packet to send [08:32:37]OFD Sender: No OFD packet to send [08:32:42]OFD Sender: No OFD packet to send [08:32:47]OFD Sender: No OFD packet to send [08:32:52]OFD Sender: No OFD packet to send [08:32:57]OFD Sender: No OFD packet to send [08:33:02]OFD Sender: No OFD packet to send [08:33:07]OFD Sender: No OFD packet to send [08:33:12]OFD Sender: No OFD packet to send [08:33:17]OFD Sender: No OFD packet to send [08:33:22]OFD Sender: No OFD packet to send [08:33:27]OFD Sender: No OFD packet to send [08:33:32]OFD Sender: No OFD packet to send [08:33:37]OFD Sender: No OFD packet to send [08:33:42]OFD Sender: No OFD packet to send [08:33:47]OFD Sender: No OFD packet to send [08:33:52]OFD Sender: No OFD packet to send [08:33:57]OFD Sender: No OFD packet to send [08:34:02]OFD Sender: No OFD packet to send [08:34:07]OFD Sender: No OFD packet to send [08:34:12]OFD Sender: No OFD packet to send [08:34:17]OFD Sender: No OFD packet to send [08:34:22]OFD Sender: No OFD packet to send [08:34:27]OFD Sender: No OFD packet to send [08:34:32]OFD Sender: No OFD packet to send [08:34:37]OFD Sender: No OFD packet to send [08:34:42]OFD Sender: No OFD packet to send [08:34:47]OFD Sender: No OFD packet to send [08:34:52]OFD Sender: No OFD packet to send [08:34:57]OFD Sender: No OFD packet to send [08:35:02]OFD Sender: No OFD packet to send [08:35:07]OFD Sender: No OFD packet to send [08:35:12]OFD Sender: No OFD packet to send [08:35:17]OFD Sender: No OFD packet to send [08:35:22]OFD Sender: No OFD packet to send [08:35:27]OFD Sender: No OFD packet to send [08:35:32]OFD Sender: No OFD packet to send [08:35:37]OFD Sender: No OFD packet to send [08:35:42]OFD Sender: No OFD packet to send [08:35:47]OFD Sender: No OFD packet to send [08:35:52]OFD Sender: No OFD packet to send [08:35:57]OFD Sender: No OFD packet to send [08:36:02]OFD Sender: No OFD packet to send [08:36:07]OFD Sender: No OFD packet to send [08:36:12]OFD Sender: No OFD packet to send [08:36:17]OFD Sender: No OFD packet to send [08:36:22]OFD Sender: No OFD packet to send [08:36:27]OFD Sender: No OFD packet to send [08:36:32]OFD Sender: No OFD packet to send [08:36:37]OFD Sender: No OFD packet to send [08:36:42]OFD Sender: No OFD packet to send [08:36:47]OFD Sender: No OFD packet to send [08:36:52]OFD Sender: No OFD packet to send [08:36:57]OFD Sender: No OFD packet to send [08:37:02]OFD Sender: No OFD packet to send [08:37:07]OFD Sender: No OFD packet to send [08:37:12]OFD Sender: No OFD packet to send [08:37:17]OFD Sender: No OFD packet to send [08:37:22]OFD Sender: No OFD packet to send [08:37:27]OFD Sender: No OFD packet to send [08:37:32]OFD Sender: No OFD packet to send [08:37:37]OFD Sender: No OFD packet to send [08:37:42]OFD Sender: No OFD packet to send [08:37:47]OFD Sender: No OFD packet to send [08:37:52]OFD Sender: No OFD packet to send [08:37:57]OFD Sender: No OFD packet to send [08:38:02]OFD Sender: No OFD packet to send [08:38:07]OFD Sender: No OFD packet to send [08:38:12]OFD Sender: No OFD packet to send [08:38:17]OFD Sender: No OFD packet to send [08:38:22]OFD Sender: No OFD packet to send [08:38:27]OFD Sender: No OFD packet to send [08:38:32]OFD Sender: No OFD packet to send [08:38:37]OFD Sender: No OFD packet to send [08:38:42]OFD Sender: No OFD packet to send [08:38:47]OFD Sender: No OFD packet to send [08:38:52]OFD Sender: No OFD packet to send [08:38:57]OFD Sender: No OFD packet to send [08:39:02]OFD Sender: No OFD packet to send [08:39:07]OFD Sender: No OFD packet to send [08:39:12]OFD Sender: No OFD packet to send [08:39:17]OFD Sender: No OFD packet to send [08:39:22]OFD Sender: No OFD packet to send [08:39:27]OFD Sender: No OFD packet to send [08:39:32]OFD Sender: No OFD packet to send [08:39:37]OFD Sender: No OFD packet to send [08:39:42]OFD Sender: No OFD packet to send [08:39:47]OFD Sender: No OFD packet to send [08:39:52]OFD Sender: No OFD packet to send [08:39:57]OFD Sender: No OFD packet to send [08:40:02]OFD Sender: No OFD packet to send [08:40:07]OFD Sender: No OFD packet to send [08:40:12]OFD Sender: No OFD packet to send [08:40:17]OFD Sender: No OFD packet to send [08:40:22]OFD Sender: No OFD packet to send [08:40:27]OFD Sender: No OFD packet to send [08:40:32]OFD Sender: No OFD packet to send [08:40:37]OFD Sender: No OFD packet to send [08:40:42]OFD Sender: No OFD packet to send [08:40:47]OFD Sender: No OFD packet to send [08:40:52]OFD Sender: No OFD packet to send [08:40:57]OFD Sender: No OFD packet to send [08:41:02]OFD Sender: No OFD packet to send [08:41:07]OFD Sender: No OFD packet to send [08:41:12]OFD Sender: No OFD packet to send [08:41:17]OFD Sender: No OFD packet to send [08:41:22]OFD Sender: No OFD packet to send [08:41:27]OFD Sender: No OFD packet to send [08:41:32]OFD Sender: No OFD packet to send [08:41:37]OFD Sender: No OFD packet to send [08:41:42]OFD Sender: No OFD packet to send [08:41:47]OFD Sender: No OFD packet to send [08:41:52]OFD Sender: No OFD packet to send [08:41:57]OFD Sender: No OFD packet to send [08:42:02]OFD Sender: No OFD packet to send [08:42:07]OFD Sender: No OFD packet to send [08:42:12]OFD Sender: No OFD packet to send [08:42:17]OFD Sender: No OFD packet to send [08:42:22]OFD Sender: No OFD packet to send [08:42:27]OFD Sender: No OFD packet to send [08:42:32]OFD Sender: No OFD packet to send [08:42:37]OFD Sender: No OFD packet to send [08:42:42]OFD Sender: No OFD packet to send [08:42:47]OFD Sender: No OFD packet to send [08:42:52]OFD Sender: No OFD packet to send [08:42:57]OFD Sender: No OFD packet to send [08:43:02]OFD Sender: No OFD packet to send [08:43:07]OFD Sender: No OFD packet to send [08:43:12]OFD Sender: No OFD packet to send [08:43:17]OFD Sender: No OFD packet to send [08:43:22]OFD Sender: No OFD packet to send [08:43:27]OFD Sender: No OFD packet to send [08:43:32]OFD Sender: No OFD packet to send [08:43:37]OFD Sender: No OFD packet to send [08:43:42]OFD Sender: No OFD packet to send [08:43:47]OFD Sender: No OFD packet to send [08:43:52]OFD Sender: No OFD packet to send [08:43:57]OFD Sender: No OFD packet to send [08:44:02]OFD Sender: No OFD packet to send [08:44:07]OFD Sender: No OFD packet to send [08:44:12]OFD Sender: No OFD packet to send [08:44:17]OFD Sender: No OFD packet to send [08:44:22]OFD Sender: No OFD packet to send [08:44:27]OFD Sender: No OFD packet to send [08:44:32]OFD Sender: No OFD packet to send [08:44:37]OFD Sender: No OFD packet to send [08:44:42]OFD Sender: No OFD packet to send [08:44:47]OFD Sender: No OFD packet to send [08:44:52]OFD Sender: No OFD packet to send [08:44:57]OFD Sender: No OFD packet to send [08:45:02]OFD Sender: No OFD packet to send [08:45:07]OFD Sender: No OFD packet to send [08:45:12]OFD Sender: No OFD packet to send [08:45:17]OFD Sender: No OFD packet to send [08:45:22]OFD Sender: No OFD packet to send [08:45:27]OFD Sender: No OFD packet to send [08:45:32]OFD Sender: No OFD packet to send [08:45:37]OFD Sender: No OFD packet to send [08:45:42]OFD Sender: No OFD packet to send [08:45:47]OFD Sender: No OFD packet to send [08:45:52]OFD Sender: No OFD packet to send [08:45:57]OFD Sender: No OFD packet to send [08:46:02]OFD Sender: No OFD packet to send [08:46:07]OFD Sender: No OFD packet to send [08:46:12]OFD Sender: No OFD packet to send [08:46:17]OFD Sender: No OFD packet to send [08:46:22]OFD Sender: No OFD packet to send [08:46:27]OFD Sender: No OFD packet to send [08:46:32]OFD Sender: No OFD packet to send [08:46:37]OFD Sender: No OFD packet to send [08:46:42]OFD Sender: No OFD packet to send [08:46:47]OFD Sender: No OFD packet to send [08:46:52]OFD Sender: No OFD packet to send [08:46:57]OFD Sender: No OFD packet to send [08:47:02]OFD Sender: No OFD packet to send [08:47:07]OFD Sender: No OFD packet to send [08:47:12]OFD Sender: No OFD packet to send [08:47:17]OFD Sender: No OFD packet to send [08:47:22]OFD Sender: No OFD packet to send [08:47:27]OFD Sender: No OFD packet to send [08:47:32]OFD Sender: No OFD packet to send [08:47:37]OFD Sender: No OFD packet to send [08:47:42]OFD Sender: No OFD packet to send [08:47:47]OFD Sender: No OFD packet to send [08:47:52]OFD Sender: No OFD packet to send [08:47:57]OFD Sender: No OFD packet to send [08:48:02]OFD Sender: No OFD packet to send [08:48:07]OFD Sender: No OFD packet to send [08:48:12]OFD Sender: No OFD packet to send [08:48:17]OFD Sender: No OFD packet to send [08:48:22]OFD Sender: No OFD packet to send [08:48:27]OFD Sender: No OFD packet to send [08:48:32]OFD Sender: No OFD packet to send [08:48:37]OFD Sender: No OFD packet to send [08:48:42]OFD Sender: No OFD packet to send [08:48:47]OFD Sender: No OFD packet to send [08:48:52]OFD Sender: No OFD packet to send [08:48:57]OFD Sender: No OFD packet to send [08:49:02]OFD Sender: No OFD packet to send [08:49:07]OFD Sender: No OFD packet to send [08:49:12]OFD Sender: No OFD packet to send [08:49:17]OFD Sender: No OFD packet to send [08:49:22]OFD Sender: No OFD packet to send [08:49:27]OFD Sender: No OFD packet to send [08:49:32]OFD Sender: No OFD packet to send [08:49:37]OFD Sender: No OFD packet to send [08:49:42]OFD Sender: No OFD packet to send [08:49:47]OFD Sender: No OFD packet to send [08:49:52]OFD Sender: No OFD packet to send [08:49:57]OFD Sender: No OFD packet to send [08:50:02]OFD Sender: No OFD packet to send [08:50:07]OFD Sender: No OFD packet to send [08:50:12]OFD Sender: No OFD packet to send [08:50:17]OFD Sender: No OFD packet to send [08:50:22]OFD Sender: No OFD packet to send [08:50:27]OFD Sender: No OFD packet to send [08:50:32]OFD Sender: No OFD packet to send [08:50:37]OFD Sender: No OFD packet to send [08:50:42]OFD Sender: No OFD packet to send [08:50:47]OFD Sender: No OFD packet to send [08:50:52]OFD Sender: No OFD packet to send [08:50:57]OFD Sender: No OFD packet to send [08:51:02]OFD Sender: No OFD packet to send [08:51:07]OFD Sender: No OFD packet to send [08:51:12]OFD Sender: No OFD packet to send [08:51:17]OFD Sender: No OFD packet to send [08:51:22]OFD Sender: No OFD packet to send [08:51:27]OFD Sender: No OFD packet to send [08:51:32]OFD Sender: No OFD packet to send [08:51:37]OFD Sender: No OFD packet to send [08:51:42]OFD Sender: No OFD packet to send [08:51:47]OFD Sender: No OFD packet to send [08:51:52]OFD Sender: No OFD packet to send [08:51:57]OFD Sender: No OFD packet to send [08:52:02]OFD Sender: No OFD packet to send [08:52:07]OFD Sender: No OFD packet to send [08:52:12]OFD Sender: No OFD packet to send [08:52:17]OFD Sender: No OFD packet to send [08:52:22]OFD Sender: No OFD packet to send [08:52:27]OFD Sender: No OFD packet to send [08:52:32]OFD Sender: No OFD packet to send [08:52:37]OFD Sender: No OFD packet to send [08:52:42]OFD Sender: No OFD packet to send [08:52:47]OFD Sender: No OFD packet to send [08:52:52]OFD Sender: No OFD packet to send [08:52:57]OFD Sender: No OFD packet to send [08:53:02]OFD Sender: No OFD packet to send [08:53:07]OFD Sender: No OFD packet to send [08:53:12]OFD Sender: No OFD packet to send [08:53:17]OFD Sender: No OFD packet to send [08:53:22]OFD Sender: No OFD packet to send [08:53:27]OFD Sender: No OFD packet to send [08:53:32]OFD Sender: No OFD packet to send [08:53:37]OFD Sender: No OFD packet to send [08:53:42]OFD Sender: No OFD packet to send [08:53:47]OFD Sender: No OFD packet to send [08:53:53]OFD Sender: No OFD packet to send [08:53:58]OFD Sender: No OFD packet to send [08:54:03]OFD Sender: No OFD packet to send [08:54:08]OFD Sender: No OFD packet to send [08:54:13]OFD Sender: No OFD packet to send [08:54:18]OFD Sender: No OFD packet to send [08:54:23]OFD Sender: No OFD packet to send [08:54:28]OFD Sender: No OFD packet to send [08:54:33]OFD Sender: No OFD packet to send [08:54:38]OFD Sender: No OFD packet to send [08:54:43]OFD Sender: No OFD packet to send [08:54:48]OFD Sender: No OFD packet to send [08:54:53]OFD Sender: No OFD packet to send [08:54:58]OFD Sender: No OFD packet to send [08:55:03]OFD Sender: No OFD packet to send [08:55:08]OFD Sender: No OFD packet to send [08:55:13]OFD Sender: No OFD packet to send [08:55:18]OFD Sender: No OFD packet to send [08:55:23]OFD Sender: No OFD packet to send [08:55:28]OFD Sender: No OFD packet to send [08:55:33]OFD Sender: No OFD packet to send [08:55:38]OFD Sender: No OFD packet to send [08:55:43]OFD Sender: No OFD packet to send [08:55:48]OFD Sender: No OFD packet to send [08:55:53]OFD Sender: No OFD packet to send [08:55:58]OFD Sender: No OFD packet to send [08:56:03]OFD Sender: No OFD packet to send [08:56:08]OFD Sender: No OFD packet to send [08:56:13]OFD Sender: No OFD packet to send [08:56:18]OFD Sender: No OFD packet to send [08:56:23]OFD Sender: No OFD packet to send [08:56:28]OFD Sender: No OFD packet to send [08:56:33]OFD Sender: No OFD packet to send [08:56:38]OFD Sender: No OFD packet to send [08:56:43]OFD Sender: No OFD packet to send [08:56:48]OFD Sender: No OFD packet to send [08:56:53]OFD Sender: No OFD packet to send [08:56:58]OFD Sender: No OFD packet to send [08:57:03]OFD Sender: No OFD packet to send [08:57:08]OFD Sender: No OFD packet to send [08:57:13]OFD Sender: No OFD packet to send [08:57:18]OFD Sender: No OFD packet to send [08:57:23]OFD Sender: No OFD packet to send [08:57:28]OFD Sender: No OFD packet to send [08:57:33]OFD Sender: No OFD packet to send [08:57:38]OFD Sender: No OFD packet to send [08:57:43]OFD Sender: No OFD packet to send [08:57:48]OFD Sender: No OFD packet to send [08:57:53]OFD Sender: No OFD packet to send [08:57:58]OFD Sender: No OFD packet to send [08:58:03]OFD Sender: No OFD packet to send [08:58:08]OFD Sender: No OFD packet to send [08:58:13]OFD Sender: No OFD packet to send [08:58:18]OFD Sender: No OFD packet to send [08:58:23]OFD Sender: No OFD packet to send [08:58:28]OFD Sender: No OFD packet to send [08:58:33]OFD Sender: No OFD packet to send [08:58:38]OFD Sender: No OFD packet to send [08:58:43]OFD Sender: No OFD packet to send [08:58:48]OFD Sender: No OFD packet to send [08:58:53]OFD Sender: No OFD packet to send [08:58:58]OFD Sender: No OFD packet to send [08:59:03]OFD Sender: No OFD packet to send [08:59:08]OFD Sender: No OFD packet to send [08:59:13]OFD Sender: No OFD packet to send [08:59:18]OFD Sender: No OFD packet to send [08:59:23]OFD Sender: No OFD packet to send [08:59:28]OFD Sender: No OFD packet to send [08:59:33]OFD Sender: No OFD packet to send [08:59:38]OFD Sender: No OFD packet to send [08:59:43]OFD Sender: No OFD packet to send [08:59:48]OFD Sender: No OFD packet to send [08:59:53]OFD Sender: No OFD packet to send [08:59:58]OFD Sender: No OFD packet to send [09:00:03]OFD Sender: No OFD packet to send [09:00:08]OFD Sender: No OFD packet to send [09:00:13]OFD Sender: No OFD packet to send [09:00:18]OFD Sender: No OFD packet to send [09:00:23]OFD Sender: No OFD packet to send [09:00:28]OFD Sender: No OFD packet to send [09:00:33]OFD Sender: No OFD packet to send [09:00:38]OFD Sender: No OFD packet to send [09:00:43]OFD Sender: No OFD packet to send [09:00:48]OFD Sender: No OFD packet to send [09:00:53]OFD Sender: No OFD packet to send [09:00:58]OFD Sender: No OFD packet to send [09:01:03]OFD Sender: No OFD packet to send [09:01:08]OFD Sender: No OFD packet to send [09:01:13]OFD Sender: No OFD packet to send [09:01:18]OFD Sender: No OFD packet to send [09:01:23]OFD Sender: No OFD packet to send [09:01:28]OFD Sender: No OFD packet to send [09:01:33]OFD Sender: No OFD packet to send [09:01:38]OFD Sender: No OFD packet to send [09:01:43]OFD Sender: No OFD packet to send [09:01:48]OFD Sender: No OFD packet to send [09:01:53]OFD Sender: No OFD packet to send [09:01:58]OFD Sender: No OFD packet to send [09:02:03]OFD Sender: No OFD packet to send [09:02:08]OFD Sender: No OFD packet to send [09:02:13]OFD Sender: No OFD packet to send [09:02:18]OFD Sender: No OFD packet to send [09:02:23]OFD Sender: No OFD packet to send [09:02:28]OFD Sender: No OFD packet to send [09:02:33]OFD Sender: No OFD packet to send [09:02:38]OFD Sender: No OFD packet to send [09:02:43]OFD Sender: No OFD packet to send [09:02:48]OFD Sender: No OFD packet to send [09:02:53]OFD Sender: No OFD packet to send [09:02:58]OFD Sender: No OFD packet to send [09:03:03]OFD Sender: No OFD packet to send [09:03:08]OFD Sender: No OFD packet to send [09:03:13]OFD Sender: No OFD packet to send [09:03:18]OFD Sender: No OFD packet to send [09:03:23]OFD Sender: No OFD packet to send [09:03:28]OFD Sender: No OFD packet to send [09:03:33]OFD Sender: No OFD packet to send [09:03:38]OFD Sender: No OFD packet to send [09:03:43]OFD Sender: No OFD packet to send [09:03:48]OFD Sender: No OFD packet to send [09:03:53]OFD Sender: No OFD packet to send [09:03:58]OFD Sender: No OFD packet to send [09:04:03]OFD Sender: No OFD packet to send [09:04:08]OFD Sender: No OFD packet to send [09:04:13]OFD Sender: No OFD packet to send [09:04:18]OFD Sender: No OFD packet to send [09:04:23]OFD Sender: No OFD packet to send [09:04:28]OFD Sender: No OFD packet to send [09:04:33]OFD Sender: No OFD packet to send [09:04:38]OFD Sender: No OFD packet to send [09:04:43]OFD Sender: No OFD packet to send [09:04:48]OFD Sender: No OFD packet to send [09:04:53]OFD Sender: No OFD packet to send [09:04:58]OFD Sender: No OFD packet to send [09:05:03]OFD Sender: No OFD packet to send [09:05:08]OFD Sender: No OFD packet to send [09:05:13]OFD Sender: No OFD packet to send [09:05:18]OFD Sender: No OFD packet to send [09:05:23]OFD Sender: No OFD packet to send [09:05:28]OFD Sender: No OFD packet to send [09:05:33]OFD Sender: No OFD packet to send [09:05:38]OFD Sender: No OFD packet to send [09:05:43]OFD Sender: No OFD packet to send [09:05:48]OFD Sender: No OFD packet to send [09:05:53]OFD Sender: No OFD packet to send [09:05:58]OFD Sender: No OFD packet to send [09:06:03]OFD Sender: No OFD packet to send [09:06:08]OFD Sender: No OFD packet to send [09:06:13]OFD Sender: No OFD packet to send [09:06:18]OFD Sender: No OFD packet to send [09:06:23]OFD Sender: No OFD packet to send [09:06:28]OFD Sender: No OFD packet to send [09:06:33]OFD Sender: No OFD packet to send [09:06:38]OFD Sender: No OFD packet to send [09:06:43]OFD Sender: No OFD packet to send [09:06:48]OFD Sender: No OFD packet to send [09:06:53]OFD Sender: No OFD packet to send [09:06:58]OFD Sender: No OFD packet to send [09:07:03]OFD Sender: No OFD packet to send [09:07:08]OFD Sender: No OFD packet to send [09:07:13]OFD Sender: No OFD packet to send [09:07:18]OFD Sender: No OFD packet to send [09:07:23]OFD Sender: No OFD packet to send [09:07:28]OFD Sender: No OFD packet to send [09:07:33]OFD Sender: No OFD packet to send [09:07:38]OFD Sender: No OFD packet to send [09:07:43]OFD Sender: No OFD packet to send [09:07:48]OFD Sender: No OFD packet to send [09:07:53]OFD Sender: No OFD packet to send [09:07:58]OFD Sender: No OFD packet to send [09:08:03]OFD Sender: No OFD packet to send [09:08:08]OFD Sender: No OFD packet to send [09:08:13]OFD Sender: No OFD packet to send [09:08:18]OFD Sender: No OFD packet to send [09:08:23]OFD Sender: No OFD packet to send [09:08:28]OFD Sender: No OFD packet to send [09:08:33]OFD Sender: No OFD packet to send [09:08:38]OFD Sender: No OFD packet to send [09:08:43]OFD Sender: No OFD packet to send [09:08:48]OFD Sender: No OFD packet to send [09:08:53]OFD Sender: No OFD packet to send [09:08:58]OFD Sender: No OFD packet to send [09:09:03]OFD Sender: No OFD packet to send [09:09:08]OFD Sender: No OFD packet to send [09:09:13]OFD Sender: No OFD packet to send [09:09:18]OFD Sender: No OFD packet to send [09:09:23]OFD Sender: No OFD packet to send [09:09:28]OFD Sender: No OFD packet to send [09:09:33]OFD Sender: No OFD packet to send [09:09:38]OFD Sender: No OFD packet to send [09:09:43]OFD Sender: No OFD packet to send [09:09:48]OFD Sender: No OFD packet to send [09:09:53]OFD Sender: No OFD packet to send [09:09:58]OFD Sender: No OFD packet to send [09:10:03]OFD Sender: No OFD packet to send [09:10:08]OFD Sender: No OFD packet to send [09:10:13]OFD Sender: No OFD packet to send [09:10:18]OFD Sender: No OFD packet to send [09:10:23]OFD Sender: No OFD packet to send [09:10:28]OFD Sender: No OFD packet to send [09:10:33]OFD Sender: No OFD packet to send [09:10:38]OFD Sender: No OFD packet to send [09:10:43]OFD Sender: No OFD packet to send [09:10:48]OFD Sender: No OFD packet to send [09:10:53]OFD Sender: No OFD packet to send [09:10:58]OFD Sender: No OFD packet to send [09:11:03]OFD Sender: No OFD packet to send [09:11:08]OFD Sender: No OFD packet to send [09:11:13]OFD Sender: No OFD packet to send [09:11:18]OFD Sender: No OFD packet to send [09:11:23]OFD Sender: No OFD packet to send [09:11:28]OFD Sender: No OFD packet to send [09:11:33]OFD Sender: No OFD packet to send [09:11:38]OFD Sender: No OFD packet to send [09:11:43]OFD Sender: No OFD packet to send [09:11:48]OFD Sender: No OFD packet to send [09:11:53]OFD Sender: No OFD packet to send [09:11:58]OFD Sender: No OFD packet to send [09:12:03]OFD Sender: No OFD packet to send [09:12:08]OFD Sender: No OFD packet to send [09:12:13]OFD Sender: No OFD packet to send [09:12:18]OFD Sender: No OFD packet to send [09:12:23]OFD Sender: No OFD packet to send [09:12:28]OFD Sender: No OFD packet to send [09:12:33]OFD Sender: No OFD packet to send [09:12:38]OFD Sender: No OFD packet to send [09:12:43]OFD Sender: No OFD packet to send [09:12:48]OFD Sender: No OFD packet to send [09:12:53]OFD Sender: No OFD packet to send [09:12:58]OFD Sender: No OFD packet to send [09:13:03]OFD Sender: No OFD packet to send [09:13:08]OFD Sender: No OFD packet to send [09:13:13]OFD Sender: No OFD packet to send [09:13:18]OFD Sender: No OFD packet to send [09:13:23]OFD Sender: No OFD packet to send [09:13:28]OFD Sender: No OFD packet to send [09:13:33]OFD Sender: No OFD packet to send [09:13:38]OFD Sender: No OFD packet to send [09:13:43]OFD Sender: No OFD packet to send [09:13:48]OFD Sender: No OFD packet to send [09:13:53]OFD Sender: No OFD packet to send [09:13:58]OFD Sender: No OFD packet to send [09:14:03]OFD Sender: No OFD packet to send [09:14:08]OFD Sender: No OFD packet to send [09:14:13]OFD Sender: No OFD packet to send [09:14:18]OFD Sender: No OFD packet to send [09:14:23]OFD Sender: No OFD packet to send [09:14:28]OFD Sender: No OFD packet to send [09:14:33]OFD Sender: No OFD packet to send [09:14:38]OFD Sender: No OFD packet to send [09:14:43]OFD Sender: No OFD packet to send [09:14:48]OFD Sender: No OFD packet to send [09:14:53]OFD Sender: No OFD packet to send [09:14:58]OFD Sender: No OFD packet to send [09:15:03]OFD Sender: No OFD packet to send [09:15:08]OFD Sender: No OFD packet to send [09:15:13]OFD Sender: No OFD packet to send [09:15:18]OFD Sender: No OFD packet to send [09:15:23]OFD Sender: No OFD packet to send [09:15:29]OFD Sender: No OFD packet to send [09:15:34]OFD Sender: No OFD packet to send [09:15:39]OFD Sender: No OFD packet to send [09:15:44]OFD Sender: No OFD packet to send [09:15:49]OFD Sender: No OFD packet to send [09:15:54]OFD Sender: No OFD packet to send [09:15:59]OFD Sender: No OFD packet to send [09:16:04]OFD Sender: No OFD packet to send [09:16:09]OFD Sender: No OFD packet to send [09:16:14]OFD Sender: No OFD packet to send [09:16:19]OFD Sender: No OFD packet to send [09:16:24]OFD Sender: No OFD packet to send [09:16:29]OFD Sender: No OFD packet to send [09:16:34]OFD Sender: No OFD packet to send [09:16:39]OFD Sender: No OFD packet to send [09:16:44]OFD Sender: No OFD packet to send [09:16:49]OFD Sender: No OFD packet to send [09:16:54]OFD Sender: No OFD packet to send [09:16:59]OFD Sender: No OFD packet to send [09:17:04]OFD Sender: No OFD packet to send [09:17:09]OFD Sender: No OFD packet to send [09:17:14]OFD Sender: No OFD packet to send [09:17:19]OFD Sender: No OFD packet to send [09:17:24]OFD Sender: No OFD packet to send [09:17:29]OFD Sender: No OFD packet to send [09:17:34]OFD Sender: No OFD packet to send [09:17:39]OFD Sender: No OFD packet to send [09:17:44]OFD Sender: No OFD packet to send [09:17:49]OFD Sender: No OFD packet to send [09:17:54]OFD Sender: No OFD packet to send [09:17:59]OFD Sender: No OFD packet to send [09:18:04]OFD Sender: No OFD packet to send [09:18:09]OFD Sender: No OFD packet to send [09:18:14]OFD Sender: No OFD packet to send [09:18:19]OFD Sender: No OFD packet to send [09:18:24]OFD Sender: No OFD packet to send [09:18:29]OFD Sender: No OFD packet to send [09:18:34]OFD Sender: No OFD packet to send [09:18:39]OFD Sender: No OFD packet to send [09:18:44]OFD Sender: No OFD packet to send [09:18:49]OFD Sender: No OFD packet to send [09:18:54]OFD Sender: No OFD packet to send [09:18:59]OFD Sender: No OFD packet to send [09:19:04]OFD Sender: No OFD packet to send [09:19:09]OFD Sender: No OFD packet to send [09:19:14]OFD Sender: No OFD packet to send [09:19:19]OFD Sender: No OFD packet to send [09:19:24]OFD Sender: No OFD packet to send [09:19:29]OFD Sender: No OFD packet to send [09:19:34]OFD Sender: No OFD packet to send [09:19:39]OFD Sender: No OFD packet to send [09:19:44]OFD Sender: No OFD packet to send [09:19:49]OFD Sender: No OFD packet to send [09:19:54]OFD Sender: No OFD packet to send [09:19:59]OFD Sender: No OFD packet to send [09:20:04]OFD Sender: No OFD packet to send [09:20:09]OFD Sender: No OFD packet to send [09:20:14]OFD Sender: No OFD packet to send [09:20:19]OFD Sender: No OFD packet to send [09:20:24]OFD Sender: No OFD packet to send [09:20:29]OFD Sender: No OFD packet to send [09:20:34]OFD Sender: No OFD packet to send [09:20:39]OFD Sender: No OFD packet to send [09:20:44]OFD Sender: No OFD packet to send [09:20:49]OFD Sender: No OFD packet to send [09:20:54]OFD Sender: No OFD packet to send [09:20:59]OFD Sender: No OFD packet to send [09:21:04]OFD Sender: No OFD packet to send [09:21:09]OFD Sender: No OFD packet to send [09:21:14]OFD Sender: No OFD packet to send [09:21:19]OFD Sender: No OFD packet to send [09:21:24]OFD Sender: No OFD packet to send [09:21:29]OFD Sender: No OFD packet to send [09:21:34]OFD Sender: No OFD packet to send [09:21:39]OFD Sender: No OFD packet to send [09:21:44]OFD Sender: No OFD packet to send [09:21:49]OFD Sender: No OFD packet to send [09:21:54]OFD Sender: No OFD packet to send [09:21:59]OFD Sender: No OFD packet to send [09:22:04]OFD Sender: No OFD packet to send [09:22:09]OFD Sender: No OFD packet to send [09:22:11]accept exits with 9 [09:22:11]New connection [09:22:11]New thread 3067309412 created [09:22:11]Thread 3067166052 joined [09:22:11]Waiting for new connection... [09:22:11] Sock 9.Parse request [09:22:11]Sock 9.Check first char [09:22:11]Sock 9.First char is OK [09:22:11]request: POST /json_proto HTTP/1.0 [09:22:11]Method: POST [09:22:11]URL: /json_proto [09:22:11]Method is POST - this is cgi request [09:22:11]url: /json_proto [09:22:11]query_string will be loaded in cgi processing [09:22:11]execute_cgi json_proto POST (null) [09:22:11]execute_cgi path=json_proto method=POST [09:22:11]POST find Content-Length [09:22:11]Host: 172.17.53.196:8080 [09:22:11]Content-Length: 1413 [09:22:11]Content-Type: application/json [09:22:11] [09:22:11]POST finish read [09:22:11]Found Content-Length = 1413 [09:22:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34611", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607084351361", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 4\u0448\u0442", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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" : 425.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:22:11]execute_script... [09:22:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34611", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607084351361", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 4\u0448\u0442", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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" : 425.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:22:11]POST & json_proto [09:22:11]process_json_proto [09:22:11]json parsed OK: [09:22:11]protocol is kg_v1.0 [09:22:11]action value=close_receipt [09:22:11]process_action close_receipt [09:22:11]cmd_close_receipt [09:22:11]MH_GetDate [09:22:11]Write to MH i2c: F0 00 00 79 03 6B [09:22:11]Write i2c OK [09:22:11]MH_I2C_Read... [09:22:11]Read from MH i2c: F0 [09:22:11]MH_I2C_Read... [09:22:11]Read from MH i2c: F0 09 00 [09:22:11]MH_I2C_Read... [09:22:11]Read from MH i2c: F0 09 00 79 03 00 C5 CB 14 67 4F CD 9A 65 9A [09:22:11]GetLastDocTimeStamp 1729410868 [09:22:11]current date 1729416133 [09:22:11]FM_GetShiftState [09:22:11]SAM_PROTO_GetShiftState [09:22:11]wFMCommunicate request_size=4 [09:22:11]MH_SAM_APDU [09:22:11]CAPDU: 80 13 01 00 [09:22:11]Write to MH i2c: E2 08 00 7A 03 80 13 01 00 00 00 00 00 FA [09:22:11]Write i2c OK [09:22:11]MH_I2C_Read... [09:22:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:22:11]Read from MH i2c: E2 [09:22:11]MH_I2C_Read... [09:22:11]Read from MH i2c: E2 0E 00 [09:22:11]MH_I2C_Read... [09:22:11]Read from MH i2c: E2 0E 00 7A 03 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 40 [09:22:11]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [09:22:11]wFMCommunicate OK [09:22:11]SAM_PROTO_GetShiftState done [09:22:11]FM_GetShiftState done [09:22:11]opened in 1729384049 [09:22:11]opened+sec_in_day 1729470449 [09:22:11]quantity*price = 9500 [09:22:11]sum+1 = 9501 [09:22:11]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607084351361 Бисквит Чоко пай 4шт 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4640030091645 Сигареты ESSE Exchange M 1.000 * 150.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 425.00 НСП 1% : 3.76 НДС 12% : 45.13 Наличными: 425.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 9 20.10.2024 09:22 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24851 ФПД: 67443196437845 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T092213&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24851&fm=67443196437845&tin=02508201610067®Number=0000000000098147&sum=42500 0 [09:22:12]StoreToDocumentArchive [09:22:12]shift 455 fd 24851 [09:22:12]save to /storage/0455/doc_00024851 [09:22:12]save last doc name /storage/0455/doc_00024851 to /storage/kkm_last_doc_name [09:22:12]save OK [09:22:12]Clear old archive folders... [09:22:12]ProcessDocumentItem done err = 0, tmpTLVsize=604 [09:22:12]tlvbuf is 00DD9DA0 [09:22:12]SAM_PROTO_ClearQueue [09:22:12]wFMCommunicate request_size=4 [09:22:12]MH_SAM_APDU [09:22:12]CAPDU: 80 09 00 00 [09:22:12]Write to MH i2c: E2 08 00 87 03 80 09 00 00 00 00 00 00 FC [09:22:12]Write i2c OK [09:22:12]MH_I2C_Read... [09:22:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:22:12]Read from MH i2c: E2 [09:22:12]MH_I2C_Read... [09:22:12]Read from MH i2c: E2 03 00 [09:22:12]MH_I2C_Read... [09:22:12]Read from MH i2c: E2 03 00 87 03 00 90 00 FE [09:22:12]RAPDU: 90 00 [09:22:12]wFMCommunicate OK [09:22:12]SAM_PROTO_ClearQueue done [09:22:12]KKMCreateOFDPacket [09:22:12]OFDProtocolAddRootSTLVToBuf [09:22:12]FM_MakeSignedData [09:22:12]FM_MakeSignedData [09:22:12]SAM_PROTO_SignData [09:22:12]wFMCommunicate request_size=4 [09:22:12]MH_SAM_APDU [09:22:12]CAPDU: 80 0D 01 02 [09:22:12]Write to MH i2c: E2 08 00 88 03 80 0D 01 02 00 00 00 00 04 [09:22:12]Write i2c OK [09:22:12]MH_I2C_Read... [09:22:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:22:12]Read from MH i2c: E2 [09:22:12]MH_I2C_Read... [09:22:12]Read from MH i2c: E2 03 00 [09:22:12]MH_I2C_Read... [09:22:12]Read from MH i2c: E2 03 00 88 03 00 90 00 FF [09:22:12]RAPDU: 90 00 [09:22:12]wFMCommunicate OK [09:22:12]wFMCommunicate request_size=255 [09:22:12]MH_SAM_APDU [09:22:12]CAPDU: 80 0D 02 02 FA 03 00 5C 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 [09:22:12]Write to MH i2c: E2 02 01 89 03 80 0D 02 02 FA 00 03 00 5C 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 00 00 D2 [09:22:12]Write i2c OK [09:22:12]MH_I2C_Read... [09:22:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:22:13]Read from MH i2c: E2 [09:22:13]MH_I2C_Read... [09:22:13]Read from MH i2c: E2 03 00 [09:22:13]MH_I2C_Read... [09:22:13]Read from MH i2c: E2 03 00 89 03 00 90 00 00 [09:22:13]RAPDU: 90 00 [09:22:13]wFMCommunicate OK [09:22:13]wFMCommunicate request_size=255 [09:22:13]MH_SAM_APDU [09:22:13]CAPDU: 80 0D 02 02 FA 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 04 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 11 00 00 00 00 07 04 06 00 04 [09:22:13]Write to MH i2c: E2 02 01 8A 03 80 0D 02 02 FA 00 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 04 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 11 00 00 00 00 07 04 06 00 04 00 00 08 [09:22:13]Write i2c OK [09:22:13]MH_I2C_Read... [09:22:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:22:13]Read from MH i2c: E2 [09:22:13]MH_I2C_Read... [09:22:13]Read from MH i2c: E2 03 00 [09:22:13]MH_I2C_Read... [09:22:13]Read from MH i2c: E2 03 00 8A 03 00 90 00 01 [09:22:13]RAPDU: 90 00 [09:22:13]wFMCommunicate OK [09:22:13]wFMCommunicate request_size=113 [09:22:13]MH_SAM_APDU [09:22:13]CAPDU: 80 0D 02 02 6C A6 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 C5 CB 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 13 61 00 00 35 04 06 00 3D 56 D7 C4 25 55 [09:22:13]Write to MH i2c: E2 74 00 8B 03 80 0D 02 02 6C 00 A6 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 C5 CB 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 13 61 00 00 35 04 06 00 3D 56 D7 C4 25 55 00 00 AF [09:22:13]Write i2c OK [09:22:13]MH_I2C_Read... [09:22:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:22:13]Read from MH i2c: E2 [09:22:13]MH_I2C_Read... [09:22:13]Read from MH i2c: E2 03 00 [09:22:13]MH_I2C_Read... [09:22:13]Read from MH i2c: E2 03 00 8B 03 00 90 00 02 [09:22:13]RAPDU: 90 00 [09:22:13]wFMCommunicate OK [09:22:13]wFMCommunicate request_size=4 [09:22:13]MH_SAM_APDU [09:22:13]CAPDU: 80 0D 03 02 [09:22:13]Write to MH i2c: E2 08 00 8C 03 80 0D 03 02 00 00 00 00 0A [09:22:13]Write i2c OK [09:22:13]MH_I2C_Read... [09:22:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:22:13]Read from MH i2c: E2 [09:22:13]MH_I2C_Read... [09:22:13]Read from MH i2c: E2 0B 00 [09:22:13]MH_I2C_Read... [09:22:13]Read from MH i2c: E2 0B 00 8C 03 00 61 63 53 2F 48 A1 48 48 90 00 CA [09:22:13]RAPDU: 61 63 53 2F 48 A1 48 48 90 00 [09:22:13]wFMCommunicate OK [09:22:13]SAM_PROTO_SignData done [09:22:13]FM_MakeSignedData done [09:22:13]CreateOFDProtocolMessage [09:22:13]wFMCommunicate request_size=4 [09:22:13]MH_SAM_APDU [09:22:13]CAPDU: 80 11 00 00 [09:22:13]Write to MH i2c: E2 08 00 8D 03 80 11 00 00 00 00 00 00 0A [09:22:13]Write i2c OK [09:22:13]MH_I2C_Read... [09:22:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:22:13]Read from MH i2c: E2 [09:22:13]MH_I2C_Read... [09:22:13]Read from MH i2c: E2 17 00 [09:22:13]MH_I2C_Read... [09:22:13]Read from MH i2c: E2 17 00 8D 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 61 [09:22:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [09:22:13]wFMCommunicate OK [09:22:13]CreateOFDProtocolMessage done [09:22:13]OFDSenderStorePacket 24851 [09:22:13]StoreOFDPacket docnum=24851 [09:22:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 70 02 00 00 08 5D 68 02 6B D7 5A 03 01 00 03 00 5C 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 04 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 11 00 00 00 00 07 04 06 00 04 A6 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 C5 CB 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 13 61 00 00 35 04 06 00 3D 56 D7 C4 25 55 61 63 53 2F 48 A1 48 48 [09:22:13]CheckFolder [09:22:13]dirname=/storage/ofd_packets [09:22:13]CheckFolder done [09:22:13]ProducePacketName [09:22:13]name=ofd_packets/00024851 [09:22:13]NVStorageSaveData ofd_packets/00024851 [09:22:13]File name is /storage/ofd_packets/00024851 [09:22:13]Write 654 bytes [09:22:13]NVStorageSaveData done [09:22:13]OFDSenderStorePacket done [09:22:13]KKMCreateOFDPacket done [09:22:13]NVStorageSaveData kkm_last_timestamp [09:22:13]File name is /storage/kkm_last_timestamp [09:22:13]Write 4 bytes [09:22:13]NVStorageSaveData done [09:22:13]ExternCall_PrintAddStr [09:22:13]wPrintStart [09:22:13]Write to MH i2c: 01 00 00 8E 03 91 [09:22:13]Write i2c OK [09:22:13]MH_I2C_Read... [09:22:13]Read from MH i2c: 01 [09:22:13]MH_I2C_Read... [09:22:13]Read from MH i2c: 01 07 00 [09:22:13]MH_I2C_Read... [09:22:13]Read from MH i2c: 01 07 00 8E 03 00 00 00 00 00 FF 0F A6 [09:22:13]RasterBufferAndPrint [09:22:13]line Счет N : (3)34611 [09:22:13]line ИНН: 02508201610067 [09:22:13]line Контрольно-Кассовый Чек [09:22:13]line ПРОДАЖА [09:22:13]line Товар: 4700000480050 [09:22:13]line Напиток Nitro Energy эн green ж/б 0,45л [09:22:13]line 1.000 * 95.00 [09:22:13]line = 95.00 [09:22:13]line НДС 12% НСП 1% [09:22:13]line > о реализуемом товаре [09:22:13]line Товар: 4607084351361 [09:22:14]line Бисквит Чоко пай 4шт [09:22:14]line 1.000 * 130.00 [09:22:14]line = 130.00 [09:22:14]line НДС 12% НСП 1% [09:22:14]line > о реализуемом товаре [09:22:14]line Товар: 4640030091645 [09:22:14]line Сигареты ESSE Exchange M [09:22:14]line 1.000 * 150.00 [09:22:14]line = 150.00 [09:22:14]line НДС 12% НСП 1% [09:22:14]line > о реализуемом товаре [09:22:14]line Товар: 4700000160358 [09:22:14]line Вода Легенда 1л [09:22:14]line 1.000 * 50.00 [09:22:14]line = 50.00 [09:22:14]line НДС 12% НСП 1% [09:22:14]line > о реализуемом товаре [09:22:14]line ИТОГО: 425.00 [09:22:14]line НСП 1% : 3.76 [09:22:14]line НДС 12% : 45.13 [09:22:14]line Наличными: 425.00 [09:22:14]line Безнал.: 0.00 [09:22:14]line Место: АЗС № 161 "Партнер Нефть" [09:22:14]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [09:22:14]line СНО: Общий режим [09:22:14]line Чек 9 20.10.2024 09:22 [09:22:14]line Смена: 455 ФФД: 1.0 [09:22:14]line ЗНМ: 0300000240 [09:22:14]line РНМ: 0000000000098147 [09:22:14]line Версия ККМ: 001 [09:22:14]line ФМ: 0000000000965376 [09:22:14]line ФД: 24851 [09:22:14]line ФПД: 67443196437845 [09:22:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T092213&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24851&fm=67443196437845&tin=02508201610067®Number=0000000000098147&sum=42500 [09:22:14]line 0 [09:22:14]OFD Sender: Processing packet 24851 [packets to send 5, broken 4] [09:22:14]ProducePacketName [09:22:14]name=ofd_packets/00024851 [09:22:14]OFD Sender: To server: pG, [09:22:14]CommunicateWithHost lk.salyk.kg:30040 [09:22:14]ConnectInit lk.salyk.kg [09:22:14]written 0, free lines is 4095 [09:22:14]Connected sock=10 [09:22:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 70 02 00 00 08 5D 68 02 6B D7 5A 03 01 00 03 00 5C 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 04 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 11 00 00 00 00 07 04 06 00 04 A6 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 C5 CB 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 13 61 00 00 35 04 06 00 3D 56 D7 C4 25 55 61 63 53 2F 48 A1 48 48 [09:22:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 85 9A 47 00 21 7B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 13 61 00 00 F4 03 04 00 46 74 14 67 B6 04 01 00 00 05 01 2B 0C F8 D3 60 60 [09:22:14]CommunicateWithHost err = 0 [09:22:14]CheckOFDResponse [09:22:14]1017 (14) - 77093643461234 [09:22:14]1041 (16) - 0000000000965376 [09:22:14]1040 (4) - 24851 [09:22:14]1012 (4) - 20.10.2024 03:08 [09:22:14]1206 (1) - 0 [09:22:14]OFD Sender: Remove packet 24851 [09:22:14]ProducePacketName [09:22:14]name=ofd_packets/00024851 [09:22:14]NVStorageDeleteData [09:22:14]Write to MH i2c: 01 00 00 C9 03 CC [09:22:14]Write i2c OK [09:22:14]MH_I2C_Read... [09:22:14]Read from MH i2c: 01 [09:22:14]MH_I2C_Read... [09:22:14]Read from MH i2c: 01 07 00 [09:22:14]MH_I2C_Read... [09:22:14]Read from MH i2c: 01 07 00 C9 03 00 00 00 00 00 9D 0B 7B [09:22:14]RasterBufferAndPrint [09:22:14]line [09:22:14]line [09:22:14]line [09:22:14]line [09:22:14]line [09:22:14]written 0, free lines is 2977 [09:22:14]process_action close_receipt done [09:22:14]requested_data is exist [09:22:14]produce_requested_data [09:22:14]requested_item fm.sn is exist - process it [09:22:14]wFMCommunicate request_size=4 [09:22:14]MH_SAM_APDU [09:22:14]CAPDU: 80 11 00 00 [09:22:14]Write to MH i2c: E2 08 00 D0 03 80 11 00 00 00 00 00 00 4D [09:22:14]Write i2c OK [09:22:14]MH_I2C_Read... [09:22:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:22:14]Read from MH i2c: E2 [09:22:14]MH_I2C_Read... [09:22:14]Read from MH i2c: E2 17 00 [09:22:14]MH_I2C_Read... [09:22:14]Read from MH i2c: E2 17 00 D0 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 A4 [09:22:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [09:22:14]wFMCommunicate OK [09:22:14]requested_item fd.num is exist - process it [09:22:14]SAM_PROTO_GetFieldsCounters [09:22:14]wFMCommunicate request_size=4 [09:22:14]MH_SAM_APDU [09:22:14]CAPDU: 80 13 00 00 [09:22:14]Write to MH i2c: E2 08 00 D1 03 80 13 00 00 00 00 00 00 50 [09:22:14]Write i2c OK [09:22:14]MH_I2C_Read... [09:22:14]OFD Sender: No OFD packet to send [09:22:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:22:14]Read from MH i2c: E2 [09:22:14]MH_I2C_Read... [09:22:14]Read from MH i2c: E2 62 00 [09:22:14]MH_I2C_Read... [09:22:14]Read from MH i2c: E2 62 00 D1 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 13 61 00 00 0E 04 04 00 C7 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 D0 [09:22:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 13 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:22:14]wFMCommunicate OK [09:22:14]SAM_PROTO_GetFieldsCounters done [09:22:14]requested_item shift.num is exist - process it [09:22:14]requested_item shift.opened is exist - process it [09:22:14]req_shift_opened [09:22:14]FM_GetShiftState [09:22:14]SAM_PROTO_GetShiftState [09:22:14]wFMCommunicate request_size=4 [09:22:14]MH_SAM_APDU [09:22:14]CAPDU: 80 13 01 00 [09:22:14]Write to MH i2c: E2 08 00 D2 03 80 13 01 00 00 00 00 00 52 [09:22:14]Write i2c OK [09:22:14]MH_I2C_Read... [09:22:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:22:14]Read from MH i2c: E2 [09:22:14]MH_I2C_Read... [09:22:14]Read from MH i2c: E2 0E 00 [09:22:14]MH_I2C_Read... [09:22:14]Read from MH i2c: E2 0E 00 D2 03 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 98 [09:22:14]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [09:22:14]wFMCommunicate OK [09:22:14]SAM_PROTO_GetShiftState done [09:22:14]FM_GetShiftState done [09:22:14]req_shift_opened done [09:22:14]requested_item shift.open_date is exist - process it [09:22:14]req_shift_open_date [09:22:14]req_shift_open_date done [09:22:14]produce_requested_data done [09:22:14]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24851,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [09:22:14]process_action_free close_receipt [09:22:14]json_value_free [09:22:14]json_value_free done [09:22:14]process_json_proto returns [09:22:14]Send response to host [09:22:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24851,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [09:22:14]free response buf [09:22:14]execute_script done [09:22:14]execute_script returns [09:22:14]free content buf [09:22:14]Sock 9.Close socket [09:22:14]Sock 9.Thread stoped [09:22:19]OFD Sender: No OFD packet to send [09:22:24]accept exits with 7 [09:22:24]New connection [09:22:24]New thread 3067166052 created [09:22:24]Thread 3067309412 joined [09:22:24]Waiting for new connection... [09:22:24] Sock 7.Parse request [09:22:24]Sock 7.Check first char [09:22:24]Sock 7.First char is OK [09:22:24]request: POST /json_proto HTTP/1.0 [09:22:24]Method: POST [09:22:24]URL: /json_proto [09:22:24]Method is POST - this is cgi request [09:22:24]url: /json_proto [09:22:24]query_string will be loaded in cgi processing [09:22:24]execute_cgi json_proto POST (null) [09:22:24]execute_cgi path=json_proto method=POST [09:22:24]POST find Content-Length [09:22:24]Host: 172.17.53.196:8080 [09:22:24]Content-Length: 622 [09:22:24]Content-Type: application/json [09:22:24] [09:22:24]POST finish read [09:22:24]Found Content-Length = 622 [09:22:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34612", "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" ] } } [09:22:24]execute_script... [09:22: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)34612", "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" ] } } [09:22:24]POST & json_proto [09:22:24]process_json_proto [09:22:24]json parsed OK: [09:22:24]protocol is kg_v1.0 [09:22:24]action value=close_receipt [09:22:24]process_action close_receipt [09:22:24]cmd_close_receipt [09:22:24]MH_GetDate [09:22:24]Write to MH i2c: F0 00 00 D3 03 C5 [09:22:24]Write i2c OK [09:22:24]MH_I2C_Read... [09:22:24]Read from MH i2c: F0 [09:22:24]MH_I2C_Read... [09:22:24]Read from MH i2c: F0 09 00 [09:22:24]MH_I2C_Read... [09:22:24]Read from MH i2c: F0 09 00 D3 03 00 D2 CB 14 67 4F CD 9A 65 01 [09:22:24]GetLastDocTimeStamp 1729416133 [09:22:24]current date 1729416146 [09:22:24]FM_GetShiftState [09:22:24]SAM_PROTO_GetShiftState [09:22:24]wFMCommunicate request_size=4 [09:22:24]MH_SAM_APDU [09:22:24]CAPDU: 80 13 01 00 [09:22:24]Write to MH i2c: E2 08 00 D4 03 80 13 01 00 00 00 00 00 54 [09:22:24]Write i2c OK [09:22:24]MH_I2C_Read... [09:22:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:22:24]Read from MH i2c: E2 [09:22:24]MH_I2C_Read... [09:22:24]Read from MH i2c: E2 0E 00 [09:22:24]MH_I2C_Read... [09:22:24]Read from MH i2c: E2 0E 00 D4 03 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 9A [09:22:24]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [09:22:24]wFMCommunicate OK [09:22:24]SAM_PROTO_GetShiftState done [09:22:24]FM_GetShiftState done [09:22:24]opened in 1729384049 [09:22:24]opened+sec_in_day 1729470449 [09:22:24]quantity*price = 14400 [09:22:24]sum+1 = 14401 [09:22:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 10 20.10.2024 09:22 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24852 ФПД: 208346942908308 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T092226&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24852&fm=208346942908308&tin=02508201610067®Number=0000000000098147&sum=14400 0 [09:22:25]StoreToDocumentArchive [09:22:25]shift 455 fd 24852 [09:22:25]save to /storage/0455/doc_00024852 [09:22:25]save last doc name /storage/0455/doc_00024852 to /storage/kkm_last_doc_name [09:22:25]save OK [09:22:25]Clear old archive folders... [09:22:25]ProcessDocumentItem done err = 0, tmpTLVsize=275 [09:22:25]tlvbuf is 00DE2750 [09:22:25]SAM_PROTO_ClearQueue [09:22:25]wFMCommunicate request_size=4 [09:22:25]MH_SAM_APDU [09:22:25]CAPDU: 80 09 00 00 [09:22:25]Write to MH i2c: E2 08 00 E1 03 80 09 00 00 00 00 00 00 56 [09:22:25]Write i2c OK [09:22:25]MH_I2C_Read... [09:22:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:22:25]Read from MH i2c: E2 [09:22:25]MH_I2C_Read... [09:22:25]Read from MH i2c: E2 03 00 [09:22:25]MH_I2C_Read... [09:22:25]Read from MH i2c: E2 03 00 E1 03 00 90 00 58 [09:22:25]RAPDU: 90 00 [09:22:25]wFMCommunicate OK [09:22:25]SAM_PROTO_ClearQueue done [09:22:25]KKMCreateOFDPacket [09:22:25]OFDProtocolAddRootSTLVToBuf [09:22:25]FM_MakeSignedData [09:22:25]FM_MakeSignedData [09:22:25]SAM_PROTO_SignData [09:22:25]wFMCommunicate request_size=4 [09:22:25]MH_SAM_APDU [09:22:25]CAPDU: 80 0D 01 02 [09:22:25]Write to MH i2c: E2 08 00 E2 03 80 0D 01 02 00 00 00 00 5E [09:22:25]Write i2c OK [09:22:25]MH_I2C_Read... [09:22:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:22:26]Read from MH i2c: E2 [09:22:26]MH_I2C_Read... [09:22:26]Read from MH i2c: E2 03 00 [09:22:26]MH_I2C_Read... [09:22:26]Read from MH i2c: E2 03 00 E2 03 00 90 00 59 [09:22:26]RAPDU: 90 00 [09:22:26]wFMCommunicate OK [09:22:26]wFMCommunicate request_size=255 [09:22:26]MH_SAM_APDU [09:22:26]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 D2 CB 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 [09:22:26]Write to MH i2c: E2 02 01 E3 03 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 D2 CB 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 00 00 51 [09:22:26]Write i2c OK [09:22:26]MH_I2C_Read... [09:22:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:22:26]Read from MH i2c: E2 [09:22:26]MH_I2C_Read... [09:22:26]Read from MH i2c: E2 03 00 [09:22:26]MH_I2C_Read... [09:22:26]Read from MH i2c: E2 03 00 E3 03 00 90 00 5A [09:22:26]RAPDU: 90 00 [09:22:26]wFMCommunicate OK [09:22:26]wFMCommunicate request_size=34 [09:22:26]MH_SAM_APDU [09:22:26]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 14 61 00 00 35 04 06 00 BD 7D 8D 85 A7 94 [09:22:26]Write to MH i2c: E2 25 00 E4 03 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 14 61 00 00 35 04 06 00 BD 7D 8D 85 A7 94 00 00 22 [09:22:26]Write i2c OK [09:22:26]MH_I2C_Read... [09:22:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:22:26]Read from MH i2c: E2 [09:22:26]MH_I2C_Read... [09:22:26]Read from MH i2c: E2 03 00 [09:22:26]MH_I2C_Read... [09:22:26]Read from MH i2c: E2 03 00 E4 03 00 90 00 5B [09:22:26]RAPDU: 90 00 [09:22:26]wFMCommunicate OK [09:22:26]wFMCommunicate request_size=4 [09:22:26]MH_SAM_APDU [09:22:26]CAPDU: 80 0D 03 02 [09:22:26]Write to MH i2c: E2 08 00 E5 03 80 0D 03 02 00 00 00 00 63 [09:22:26]Write i2c OK [09:22:26]MH_I2C_Read... [09:22:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:22:26]Read from MH i2c: E2 [09:22:26]MH_I2C_Read... [09:22:26]Read from MH i2c: E2 0B 00 [09:22:26]MH_I2C_Read... [09:22:26]Read from MH i2c: E2 0B 00 E5 03 00 EA A5 74 5A 12 87 B9 74 90 00 87 [09:22:26]RAPDU: EA A5 74 5A 12 87 B9 74 90 00 [09:22:26]wFMCommunicate OK [09:22:26]SAM_PROTO_SignData done [09:22:26]FM_MakeSignedData done [09:22:26]CreateOFDProtocolMessage [09:22:26]wFMCommunicate request_size=4 [09:22:26]MH_SAM_APDU [09:22:26]CAPDU: 80 11 00 00 [09:22:26]Write to MH i2c: E2 08 00 E6 03 80 11 00 00 00 00 00 00 63 [09:22:26]Write i2c OK [09:22:26]MH_I2C_Read... [09:22:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:22:26]Read from MH i2c: E2 [09:22:26]MH_I2C_Read... [09:22:26]Read from MH i2c: E2 17 00 [09:22:26]MH_I2C_Read... [09:22:26]Read from MH i2c: E2 17 00 E6 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 BA [09:22:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [09:22:26]wFMCommunicate OK [09:22:26]CreateOFDProtocolMessage done [09:22:26]OFDSenderStorePacket 24852 [09:22:26]StoreOFDPacket docnum=24852 [09:22:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 61 2B 1F 01 07 64 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 D2 CB 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 14 61 00 00 35 04 06 00 BD 7D 8D 85 A7 94 EA A5 74 5A 12 87 B9 74 [09:22:26]CheckFolder [09:22:26]dirname=/storage/ofd_packets [09:22:26]CheckFolder done [09:22:26]ProducePacketName [09:22:26]name=ofd_packets/00024852 [09:22:26]NVStorageSaveData ofd_packets/00024852 [09:22:26]File name is /storage/ofd_packets/00024852 [09:22:26]Write 325 bytes [09:22:26]NVStorageSaveData done [09:22:26]OFDSenderStorePacket done [09:22:26]KKMCreateOFDPacket done [09:22:26]NVStorageSaveData kkm_last_timestamp [09:22:26]File name is /storage/kkm_last_timestamp [09:22:26]Write 4 bytes [09:22:26]NVStorageSaveData done [09:22:26]ExternCall_PrintAddStr [09:22:26]wPrintStart [09:22:26]Write to MH i2c: 01 00 00 E7 03 EA [09:22:26]Write i2c OK [09:22:26]MH_I2C_Read... [09:22:26]Read from MH i2c: 01 [09:22:26]MH_I2C_Read... [09:22:26]Read from MH i2c: 01 07 00 [09:22:26]MH_I2C_Read... [09:22:26]Read from MH i2c: 01 07 00 E7 03 00 00 00 00 00 FF 0F FF [09:22:26]RasterBufferAndPrint [09:22:26]line Счет N : (3)34612 [09:22:26]line ИНН: 02508201610067 [09:22:26]line Контрольно-Кассовый Чек [09:22:26]line ПРОДАЖА [09:22:26]line Товар: 48743587 [09:22:26]line Сигареты Winston XStyle Silver [09:22:26]line 1.000 * 144.00 [09:22:26]line = 144.00 [09:22:26]line НДС 12% НСП 1% [09:22:26]line > о реализуемом товаре [09:22:26]line ИТОГО: 144.00 [09:22:26]line НСП 1% : 1.27 [09:22:26]line НДС 12% : 15.29 [09:22:26]line Наличными: 144.00 [09:22:26]line Безнал.: 0.00 [09:22:26]line Место: АЗС № 161 "Партнер Нефть" [09:22:26]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [09:22:26]line СНО: Общий режим [09:22:26]line Чек 10 20.10.2024 09:22 [09:22:26]line Смена: 455 ФФД: 1.0 [09:22:26]line ЗНМ: 0300000240 [09:22:26]line РНМ: 0000000000098147 [09:22:26]line Версия ККМ: 001 [09:22:26]line ФМ: 0000000000965376 [09:22:26]line ФД: 24852 [09:22:26]line ФПД: 208346942908308 [09:22:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T092226&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24852&fm=208346942908308&tin=02508201610067®Number=0000000000098147&sum=14400 [09:22:26]line 0 [09:22:26]written 0, free lines is 4095 [09:22:26]OFD Sender: Processing packet 24852 [packets to send 5, broken 4] [09:22:26]ProducePacketName [09:22:26]name=ofd_packets/00024852 [09:22:26]OFD Sender: To server: pG, [09:22:26]CommunicateWithHost lk.salyk.kg:30040 [09:22:26]ConnectInit lk.salyk.kg [09:22:26]Connected sock=10 [09:22:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 61 2B 1F 01 07 64 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 D2 CB 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 14 61 00 00 35 04 06 00 BD 7D 8D 85 A7 94 EA A5 74 5A 12 87 B9 74 [09:22:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 36 73 47 00 2E 6B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 14 61 00 00 F4 03 04 00 53 74 14 67 B6 04 01 00 00 FE A9 B3 DD 73 A4 CA 33 [09:22:26]CommunicateWithHost err = 0 [09:22:26]CheckOFDResponse [09:22:26]1017 (14) - 77093643461234 [09:22:26]1041 (16) - 0000000000965376 [09:22:26]1040 (4) - 24852 [09:22:26]1012 (4) - 20.10.2024 03:09 [09:22:26]1206 (1) - 0 [09:22:26]OFD Sender: Remove packet 24852 [09:22:26]ProducePacketName [09:22:26]name=ofd_packets/00024852 [09:22:26]NVStorageDeleteData [09:22:26]Write to MH i2c: 01 00 00 10 04 14 [09:22:26]Write i2c OK [09:22:26]MH_I2C_Read... [09:22:26]Read from MH i2c: 01 [09:22:26]MH_I2C_Read... [09:22:26]Read from MH i2c: 01 07 00 [09:22:26]MH_I2C_Read... [09:22:26]Read from MH i2c: 01 07 00 10 04 00 00 00 00 00 CC 0C F3 [09:22:26]RasterBufferAndPrint [09:22:26]line [09:22:26]line [09:22:26]line [09:22:26]line [09:22:26]line [09:22:26]written 0, free lines is 3285 [09:22:26]process_action close_receipt done [09:22:26]requested_data is exist [09:22:26]produce_requested_data [09:22:26]requested_item fm.sn is exist - process it [09:22:26]wFMCommunicate request_size=4 [09:22:26]MH_SAM_APDU [09:22:26]CAPDU: 80 11 00 00 [09:22:26]Write to MH i2c: E2 08 00 17 04 80 11 00 00 00 00 00 00 95 [09:22:26]Write i2c OK [09:22:26]MH_I2C_Read... [09:22:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:22:27]Read from MH i2c: E2 [09:22:27]MH_I2C_Read... [09:22:27]Read from MH i2c: E2 17 00 [09:22:27]MH_I2C_Read... [09:22:27]Read from MH i2c: E2 17 00 17 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 EC [09:22:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [09:22:27]wFMCommunicate OK [09:22:27]requested_item fd.num is exist - process it [09:22:27]SAM_PROTO_GetFieldsCounters [09:22:27]wFMCommunicate request_size=4 [09:22:27]MH_SAM_APDU [09:22:27]CAPDU: 80 13 00 00 [09:22:27]Write to MH i2c: E2 08 00 18 04 80 13 00 00 00 00 00 00 98 [09:22:27]Write i2c OK [09:22:27]MH_I2C_Read... [09:22:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:22:27]Read from MH i2c: E2 [09:22:27]MH_I2C_Read... [09:22:27]Read from MH i2c: E2 62 00 [09:22:27]MH_I2C_Read... [09:22:27]Read from MH i2c: E2 62 00 18 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 14 61 00 00 0E 04 04 00 C7 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 1C [09:22:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 14 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:22:27]wFMCommunicate OK [09:22:27]SAM_PROTO_GetFieldsCounters done [09:22:27]requested_item shift.num is exist - process it [09:22:27]requested_item shift.opened is exist - process it [09:22:27]req_shift_opened [09:22:27]FM_GetShiftState [09:22:27]SAM_PROTO_GetShiftState [09:22:27]wFMCommunicate request_size=4 [09:22:27]MH_SAM_APDU [09:22:27]CAPDU: 80 13 01 00 [09:22:27]Write to MH i2c: E2 08 00 19 04 80 13 01 00 00 00 00 00 9A [09:22:27]Write i2c OK [09:22:27]MH_I2C_Read... [09:22:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:22:27]Read from MH i2c: E2 [09:22:27]MH_I2C_Read... [09:22:27]Read from MH i2c: E2 0E 00 [09:22:27]MH_I2C_Read... [09:22:27]Read from MH i2c: E2 0E 00 19 04 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 E0 [09:22:27]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [09:22:27]wFMCommunicate OK [09:22:27]SAM_PROTO_GetShiftState done [09:22:27]FM_GetShiftState done [09:22:27]req_shift_opened done [09:22:27]requested_item shift.open_date is exist - process it [09:22:27]req_shift_open_date [09:22:27]req_shift_open_date done [09:22:27]produce_requested_data done [09:22:27]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24852,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [09:22:27]process_action_free close_receipt [09:22:27]json_value_free [09:22:27]json_value_free done [09:22:27]process_json_proto returns [09:22:27]Send response to host [09:22:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24852,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [09:22:27]free response buf [09:22:27]execute_script done [09:22:27]execute_script returns [09:22:27]free content buf [09:22:27]Sock 7.Close socket [09:22:27]Sock 7.Thread stoped [09:22:27]int [09:22:27]Write to MH i2c: 01 00 00 1A 04 1E [09:22:27]*** FLAG_PRN_PAP2 set [09:22:27]Write i2c OK [09:22:27]MH_I2C_Read... [09:22:27]Read from MH i2c: 01 [09:22:27]MH_I2C_Read... [09:22:27]Read from MH i2c: 01 07 00 [09:22:27]MH_I2C_Read... [09:22:27]Read from MH i2c: 01 07 00 1A 04 00 02 00 00 00 FF 0F 35 [09:22:27]state=0 [09:22:27]Cover opened [09:22:27]OFD Sender: No OFD packet to send [09:22:32]Write to MH i2c: 01 00 00 1B 04 1F [09:22:32]Write i2c OK [09:22:32]MH_I2C_Read... [09:22:32]Read from MH i2c: 01 [09:22:32]MH_I2C_Read... [09:22:32]Read from MH i2c: 01 07 00 [09:22:32]MH_I2C_Read... [09:22:32]Read from MH i2c: 01 07 00 1B 04 00 02 00 00 00 FF 0F 36 [09:22:32]state=3 [09:22:32]Cover opened [09:22:32]OFD Sender: No OFD packet to send [09:22:37]Write to MH i2c: 01 00 00 1C 04 20 [09:22:37]Write i2c OK [09:22:37]MH_I2C_Read... [09:22:37]Read from MH i2c: 01 [09:22:37]MH_I2C_Read... [09:22:37]Read from MH i2c: 01 07 00 [09:22:37]MH_I2C_Read... [09:22:37]Read from MH i2c: 01 07 00 1C 04 00 02 00 00 00 FF 0F 37 [09:22:37]state=3 [09:22:37]Cover opened [09:22:37]OFD Sender: No OFD packet to send [09:22:42]Write to MH i2c: 01 00 00 1D 04 21 [09:22:42]Write i2c OK [09:22:42]MH_I2C_Read... [09:22:42]Read from MH i2c: 01 [09:22:42]MH_I2C_Read... [09:22:42]Read from MH i2c: 01 07 00 [09:22:42]MH_I2C_Read... [09:22:42]Read from MH i2c: 01 07 00 1D 04 00 02 00 00 00 FF 0F 38 [09:22:42]state=3 [09:22:42]Cover opened [09:22:42]OFD Sender: No OFD packet to send [09:22:47]Write to MH i2c: 01 00 00 1E 04 22 [09:22:47]Write i2c OK [09:22:47]MH_I2C_Read... [09:22:47]Read from MH i2c: 01 [09:22:47]MH_I2C_Read... [09:22:47]Read from MH i2c: 01 07 00 [09:22:47]MH_I2C_Read... [09:22:47]Read from MH i2c: 01 07 00 1E 04 00 02 00 00 00 FF 0F 39 [09:22:47]state=3 [09:22:47]Cover opened [09:22:47]OFD Sender: No OFD packet to send [09:22:50]int [09:22:50]Write to MH i2c: 01 00 00 1F 04 23 [09:22:50]Write i2c OK [09:22:50]MH_I2C_Read... [09:22:50]Read from MH i2c: 01 [09:22:50]MH_I2C_Read... [09:22:50]Read from MH i2c: 01 07 00 [09:22:50]MH_I2C_Read... [09:22:50]*** FLAG_PRN_PAP1 set [09:22:50]*** FLAG_PRN_PAP1 reset [09:22:50]Read from MH i2c: 01 07 00 1F 04 00 02 00 00 00 FF 0F 3A [09:22:50]state=3 [09:22:50]Cover opened [09:22:50]int [09:22:50]Write to MH i2c: 01 00 00 20 04 24 [09:22:50]Write i2c OK [09:22:50]MH_I2C_Read... [09:22:50]Read from MH i2c: 01 [09:22:50]MH_I2C_Read... [09:22:50]Read from MH i2c: 01 07 00 [09:22:50]MH_I2C_Read... [09:22:50]*** FLAG_PRN_PAP1 set [09:22:50]*** FLAG_PRN_PAP1 reset [09:22:50]Read from MH i2c: 01 07 00 20 04 00 02 00 00 00 FF 0F 3B [09:22:50]state=3 [09:22:50]Cover opened [09:22:50]int [09:22:50]Write to MH i2c: 01 00 00 21 04 25 [09:22:50]Write i2c OK [09:22:50]MH_I2C_Read... [09:22:50]Read from MH i2c: 01 [09:22:50]MH_I2C_Read... [09:22:50]Read from MH i2c: 01 07 00 [09:22:50]MH_I2C_Read... [09:22:50]Read from MH i2c: 01 07 00 21 04 00 02 00 00 00 FF 0F 3C [09:22:50]state=3 [09:22:50]Cover opened [09:22:50]int [09:22:50]Write to MH i2c: 01 00 00 22 04 26 [09:22:50]Write i2c OK [09:22:50]MH_I2C_Read... [09:22:50]Read from MH i2c: 01 [09:22:50]MH_I2C_Read... [09:22:50]Read from MH i2c: 01 07 00 [09:22:50]MH_I2C_Read... [09:22:50]Read from MH i2c: 01 07 00 22 04 00 02 00 00 00 FF 0F 3D [09:22:50]state=3 [09:22:50]Cover opened [09:22:50]int [09:22:50]Write to MH i2c: 01 00 00 23 04 27 [09:22:50]*** FLAG_PRN_PAP1 set [09:22:50]*** FLAG_PRN_PAP1 reset [09:22:50]*** FLAG_PRN_PAP1 set [09:22:50]*** FLAG_PRN_PAP1 reset [09:22:50]*** FLAG_PRN_PAP1 set [09:22:50]Write i2c OK [09:22:50]MH_I2C_Read... [09:22:50]Read from MH i2c: 01 [09:22:50]MH_I2C_Read... [09:22:50]Read from MH i2c: 01 07 00 [09:22:50]MH_I2C_Read... [09:22:50]Read from MH i2c: 01 07 00 23 04 00 03 00 00 00 FF 0F 3F [09:22:50]state=3 [09:22:50]No paper [09:22:50]Cover opened [09:22:52]OFD Sender: No OFD packet to send [09:22:55]Write to MH i2c: 01 00 00 24 04 28 [09:22:55]Write i2c OK [09:22:55]MH_I2C_Read... [09:22:55]Read from MH i2c: 01 [09:22:55]MH_I2C_Read... [09:22:55]Read from MH i2c: 01 07 00 [09:22:55]MH_I2C_Read... [09:22:55]Read from MH i2c: 01 07 00 24 04 00 03 00 00 00 FF 0F 40 [09:22:55]state=3 [09:22:55]No paper [09:22:55]Cover opened [09:22:57]OFD Sender: No OFD packet to send [09:23:00]int [09:23:00]Write to MH i2c: 01 00 00 25 04 29 [09:23:00]*** FLAG_PRN_PAP2 reset [09:23:00]Write i2c OK [09:23:00]MH_I2C_Read... [09:23:00]Read from MH i2c: 01 [09:23:00]MH_I2C_Read... [09:23:00]Read from MH i2c: 01 07 00 [09:23:00]MH_I2C_Read... [09:23:00]Read from MH i2c: 01 07 00 25 04 00 01 00 00 00 FF 0F 3F [09:23:00]state=3 [09:23:00]No paper [09:23:00]Cover closed [09:23:00]int [09:23:00]Write to MH i2c: 01 00 00 26 04 2A [09:23:00]*** FLAG_PRN_PAP1 reset [09:23:00]Write i2c OK [09:23:00]MH_I2C_Read... [09:23:00]Read from MH i2c: 01 [09:23:00]MH_I2C_Read... [09:23:00]Read from MH i2c: 01 07 00 [09:23:00]MH_I2C_Read... [09:23:00]Read from MH i2c: 01 07 00 26 04 00 00 00 00 00 FF 0F 3F [09:23:00]state=0 [09:23:00]*** FLAG_PRN_PAP1 set [09:23:00]*** FLAG_PRN_PAP1 reset [09:23:00]*** FLAG_PRN_PAP1 set [09:23:00]*** FLAG_PRN_PAP1 reset [09:23:00]*** FLAG_PRN_PAP1 set [09:23:00]*** FLAG_PRN_PAP1 reset [09:23:01]*** FLAG_PRN_PAP1 set [09:23:01]*** FLAG_PRN_PAP1 reset [09:23:01]*** FLAG_PRN_PAP1 set [09:23:01]*** FLAG_PRN_PAP1 reset [09:23:01]*** FLAG_PRN_PAP1 set [09:23:01]*** FLAG_PRN_PAP1 reset [09:23:01]*** FLAG_PRN_PAP1 set [09:23:01]*** FLAG_PRN_PAP1 reset [09:23:01]*** FLAG_PRN_PAP1 set [09:23:01]*** FLAG_PRN_PAP2 set [09:23:01]*** FLAG_PRN_PAP2 reset [09:23:02]*** FLAG_PRN_PAP1 reset [09:23:02]*** FLAG_PRN_PAP1 set [09:23:02]*** FLAG_PRN_PAP1 reset [09:23:02]OFD Sender: No OFD packet to send [09:23:03]*** FLAG_PRN_PAP1 set [09:23:03]*** FLAG_PRN_PAP1 reset [09:23:03]*** FLAG_PRN_PAP1 set [09:23:03]*** FLAG_PRN_PAP1 reset [09:23:03]*** FLAG_PRN_PAP1 set [09:23:03]*** FLAG_PRN_PAP1 reset [09:23:03]*** FLAG_PRN_PAP1 set [09:23:03]*** FLAG_PRN_PAP2 set [09:23:04]*** FLAG_PRN_PAP2 reset [09:23:04]*** FLAG_PRN_PAP1 reset [09:23:05]int line is 0 - check status [09:23:05]Write to MH i2c: 01 00 00 27 04 2B [09:23:05]Write i2c OK [09:23:05]MH_I2C_Read... [09:23:05]Read from MH i2c: 01 [09:23:05]MH_I2C_Read... [09:23:05]Read from MH i2c: 01 07 00 [09:23:05]MH_I2C_Read... [09:23:05]Read from MH i2c: 01 07 00 27 04 00 00 00 00 00 FF 0F 40 [09:23:05]state=0 [09:23:07]OFD Sender: No OFD packet to send [09:23:12]OFD Sender: No OFD packet to send [09:23:17]OFD Sender: No OFD packet to send [09:23:22]OFD Sender: No OFD packet to send [09:23:27]OFD Sender: No OFD packet to send [09:23:32]OFD Sender: No OFD packet to send [09:23:37]OFD Sender: No OFD packet to send [09:23:42]OFD Sender: No OFD packet to send [09:23:47]OFD Sender: No OFD packet to send [09:23:52]OFD Sender: No OFD packet to send [09:23:57]OFD Sender: No OFD packet to send [09:24:02]OFD Sender: No OFD packet to send [09:24:07]OFD Sender: No OFD packet to send [09:24:12]OFD Sender: No OFD packet to send [09:24:17]OFD Sender: No OFD packet to send [09:24:22]OFD Sender: No OFD packet to send [09:24:27]OFD Sender: No OFD packet to send [09:24:32]OFD Sender: No OFD packet to send [09:24:37]OFD Sender: No OFD packet to send [09:24:42]OFD Sender: No OFD packet to send [09:24:47]OFD Sender: No OFD packet to send [09:24:52]OFD Sender: No OFD packet to send [09:24:57]OFD Sender: No OFD packet to send [09:25:02]OFD Sender: No OFD packet to send [09:25:07]OFD Sender: No OFD packet to send [09:25:12]OFD Sender: No OFD packet to send [09:25:17]OFD Sender: No OFD packet to send [09:25:22]OFD Sender: No OFD packet to send [09:25:27]OFD Sender: No OFD packet to send [09:25:32]OFD Sender: No OFD packet to send [09:25:37]OFD Sender: No OFD packet to send [09:25:42]OFD Sender: No OFD packet to send [09:25:47]OFD Sender: No OFD packet to send [09:25:52]OFD Sender: No OFD packet to send [09:25:57]OFD Sender: No OFD packet to send [09:26:02]OFD Sender: No OFD packet to send [09:26:07]OFD Sender: No OFD packet to send [09:26:12]OFD Sender: No OFD packet to send [09:26:17]OFD Sender: No OFD packet to send [09:26:22]OFD Sender: No OFD packet to send [09:26:27]OFD Sender: No OFD packet to send [09:26:32]OFD Sender: No OFD packet to send [09:26:37]OFD Sender: No OFD packet to send [09:26:42]OFD Sender: No OFD packet to send [09:26:47]OFD Sender: No OFD packet to send [09:26:52]OFD Sender: No OFD packet to send [09:26:57]OFD Sender: No OFD packet to send [09:27:02]OFD Sender: No OFD packet to send [09:27:07]OFD Sender: No OFD packet to send [09:27:12]OFD Sender: No OFD packet to send [09:27:17]OFD Sender: No OFD packet to send [09:27:22]OFD Sender: No OFD packet to send [09:27:27]OFD Sender: No OFD packet to send [09:27:32]OFD Sender: No OFD packet to send [09:27:37]OFD Sender: No OFD packet to send [09:27:42]OFD Sender: No OFD packet to send [09:27:47]OFD Sender: No OFD packet to send [09:27:52]OFD Sender: No OFD packet to send [09:27:57]OFD Sender: No OFD packet to send [09:28:02]OFD Sender: No OFD packet to send [09:28:07]OFD Sender: No OFD packet to send [09:28:12]OFD Sender: No OFD packet to send [09:28:17]OFD Sender: No OFD packet to send [09:28:22]OFD Sender: No OFD packet to send [09:28:27]OFD Sender: No OFD packet to send [09:28:32]OFD Sender: No OFD packet to send [09:28:37]OFD Sender: No OFD packet to send [09:28:42]OFD Sender: No OFD packet to send [09:28:47]OFD Sender: No OFD packet to send [09:28:52]OFD Sender: No OFD packet to send [09:28:57]OFD Sender: No OFD packet to send [09:29:02]OFD Sender: No OFD packet to send [09:29:07]OFD Sender: No OFD packet to send [09:29:12]OFD Sender: No OFD packet to send [09:29:17]OFD Sender: No OFD packet to send [09:29:22]OFD Sender: No OFD packet to send [09:29:27]OFD Sender: No OFD packet to send [09:29:32]OFD Sender: No OFD packet to send [09:29:37]OFD Sender: No OFD packet to send [09:29:42]OFD Sender: No OFD packet to send [09:29:47]OFD Sender: No OFD packet to send [09:29:52]OFD Sender: No OFD packet to send [09:29:57]OFD Sender: No OFD packet to send [09:30:02]OFD Sender: No OFD packet to send [09:30:07]OFD Sender: No OFD packet to send [09:30:12]OFD Sender: No OFD packet to send [09:30:17]OFD Sender: No OFD packet to send [09:30:22]OFD Sender: No OFD packet to send [09:30:27]OFD Sender: No OFD packet to send [09:30:32]OFD Sender: No OFD packet to send [09:30:37]OFD Sender: No OFD packet to send [09:30:42]OFD Sender: No OFD packet to send [09:30:47]OFD Sender: No OFD packet to send [09:30:52]OFD Sender: No OFD packet to send [09:30:57]OFD Sender: No OFD packet to send [09:31:02]OFD Sender: No OFD packet to send [09:31:07]OFD Sender: No OFD packet to send [09:31:12]OFD Sender: No OFD packet to send [09:31:17]OFD Sender: No OFD packet to send [09:31:22]OFD Sender: No OFD packet to send [09:31:27]OFD Sender: No OFD packet to send [09:31:32]OFD Sender: No OFD packet to send [09:31:37]OFD Sender: No OFD packet to send [09:31:42]OFD Sender: No OFD packet to send [09:31:47]OFD Sender: No OFD packet to send [09:31:52]OFD Sender: No OFD packet to send [09:31:57]OFD Sender: No OFD packet to send [09:32:02]OFD Sender: No OFD packet to send [09:32:07]OFD Sender: No OFD packet to send [09:32:12]OFD Sender: No OFD packet to send [09:32:17]OFD Sender: No OFD packet to send [09:32:22]OFD Sender: No OFD packet to send [09:32:27]OFD Sender: No OFD packet to send [09:32:32]OFD Sender: No OFD packet to send [09:32:37]OFD Sender: No OFD packet to send [09:32:42]OFD Sender: No OFD packet to send [09:32:47]OFD Sender: No OFD packet to send [09:32:52]OFD Sender: No OFD packet to send [09:32:57]OFD Sender: No OFD packet to send [09:33:02]OFD Sender: No OFD packet to send [09:33:07]OFD Sender: No OFD packet to send [09:33:12]OFD Sender: No OFD packet to send [09:33:17]OFD Sender: No OFD packet to send [09:33:22]OFD Sender: No OFD packet to send [09:33:27]OFD Sender: No OFD packet to send [09:33:32]OFD Sender: No OFD packet to send [09:33:37]OFD Sender: No OFD packet to send [09:33:42]OFD Sender: No OFD packet to send [09:33:47]OFD Sender: No OFD packet to send [09:33:52]OFD Sender: No OFD packet to send [09:33:57]OFD Sender: No OFD packet to send [09:34:02]OFD Sender: No OFD packet to send [09:34:07]OFD Sender: No OFD packet to send [09:34:12]OFD Sender: No OFD packet to send [09:34:17]OFD Sender: No OFD packet to send [09:34:22]OFD Sender: No OFD packet to send [09:34: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:33]OFD Sender: No OFD packet to send [09:35:38]OFD Sender: No OFD packet to send [09:35:43]OFD Sender: No OFD packet to send [09:35:48]OFD Sender: No OFD packet to send [09:35:53]OFD Sender: No OFD packet to send [09:35:58]OFD Sender: No OFD packet to send [09:36:03]OFD Sender: No OFD packet to send [09:36:08]OFD Sender: No OFD packet to send [09:36:13]OFD Sender: No OFD packet to send [09:36:18]OFD Sender: No OFD packet to send [09:36:23]OFD Sender: No OFD packet to send [09:36:28]OFD Sender: No OFD packet to send [09:36:33]OFD Sender: No OFD packet to send [09:36:38]OFD Sender: No OFD packet to send [09:36:43]OFD Sender: No OFD packet to send [09:36:48]OFD Sender: No OFD packet to send [09:36:53]OFD Sender: No OFD packet to send [09:36:58]OFD Sender: No OFD packet to send [09:37:03]OFD Sender: No OFD packet to send [09:37:08]OFD Sender: No OFD packet to send [09:37:13]OFD Sender: No OFD packet to send [09:37:18]OFD Sender: No OFD packet to send [09:37:23]OFD Sender: No OFD packet to send [09:37:28]OFD Sender: No OFD packet to send [09:37:33]OFD Sender: No OFD packet to send [09:37:38]OFD Sender: No OFD packet to send [09:37:43]OFD Sender: No OFD packet to send [09:37:48]OFD Sender: No OFD packet to send [09:37:53]OFD Sender: No OFD packet to send [09:37:58]OFD Sender: No OFD packet to send [09:38:03]OFD Sender: No OFD packet to send [09:38:08]OFD Sender: No OFD packet to send [09:38:13]OFD Sender: No OFD packet to send [09:38:18]OFD Sender: No OFD packet to send [09:38:23]OFD Sender: No OFD packet to send [09:38:28]OFD Sender: No OFD packet to send [09:38:33]OFD Sender: No OFD packet to send [09:38:38]OFD Sender: No OFD packet to send [09:38:43]OFD Sender: No OFD packet to send [09:38:48]OFD Sender: No OFD packet to send [09:38:53]OFD Sender: No OFD packet to send [09:38:58]OFD Sender: No OFD packet to send [09:39:03]OFD Sender: No OFD packet to send [09:39:08]OFD Sender: No OFD packet to send [09:39:13]OFD Sender: No OFD packet to send [09:39:18]OFD Sender: No OFD packet to send [09:39:23]OFD Sender: No OFD packet to send [09:39:28]OFD Sender: No OFD packet to send [09:39:33]OFD Sender: No OFD packet to send [09:39:38]OFD Sender: No OFD packet to send [09:39:43]OFD Sender: No OFD packet to send [09:39:48]OFD Sender: No OFD packet to send [09:39:53]OFD Sender: No OFD packet to send [09:39:58]OFD Sender: No OFD packet to send [09:40:03]OFD Sender: No OFD packet to send [09:40:08]OFD Sender: No OFD packet to send [09:40:13]OFD Sender: No OFD packet to send [09:40:18]OFD Sender: No OFD packet to send [09:40:23]OFD Sender: No OFD packet to send [09:40:28]OFD Sender: No OFD packet to send [09:40:33]OFD Sender: No OFD packet to send [09:40:38]OFD Sender: No OFD packet to send [09:40:43]OFD Sender: No OFD packet to send [09:40:48]OFD Sender: No OFD packet to send [09:40:53]OFD Sender: No OFD packet to send [09:40:57]accept exits with 9 [09:40:57]New connection [09:40:57]New thread 3067309412 created [09:40:57]Thread 3067166052 joined [09:40:57]Waiting for new connection... [09:40:57] Sock 9.Parse request [09:40:57]Sock 9.Check first char [09:40:57]Sock 9.First char is OK [09:40:57]request: POST /json_proto HTTP/1.0 [09:40:57]Method: POST [09:40:57]URL: /json_proto [09:40:57]Method is POST - this is cgi request [09:40:57]url: /json_proto [09:40:57]query_string will be loaded in cgi processing [09:40:57]execute_cgi json_proto POST (null) [09:40:57]execute_cgi path=json_proto method=POST [09:40:57]POST find Content-Length [09:40:57]Host: 172.17.53.196:8080 [09:40:57]Content-Length: 625 [09:40:57]Content-Type: application/json [09:40:57] [09:40:57]POST finish read [09:40:57]Found Content-Length = 625 [09:40:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34613", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:40:57]execute_script... [09:40:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34613", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:40:57]POST & json_proto [09:40:57]process_json_proto [09:40:57]json parsed OK: [09:40:57]protocol is kg_v1.0 [09:40:57]action value=close_receipt [09:40:57]process_action close_receipt [09:40:57]cmd_close_receipt [09:40:57]MH_GetDate [09:40:57]Write to MH i2c: F0 00 00 28 04 1B [09:40:57]Write i2c OK [09:40:57]MH_I2C_Read... [09:40:57]Read from MH i2c: F0 [09:40:57]MH_I2C_Read... [09:40:57]Read from MH i2c: F0 09 00 [09:40:57]MH_I2C_Read... [09:40:57]Read from MH i2c: F0 09 00 28 04 00 2B D0 14 67 4F CD 9A 65 B5 [09:40:57]GetLastDocTimeStamp 1729416146 [09:40:57]current date 1729417259 [09:40:57]FM_GetShiftState [09:40:57]SAM_PROTO_GetShiftState [09:40:57]wFMCommunicate request_size=4 [09:40:57]MH_SAM_APDU [09:40:57]CAPDU: 80 13 01 00 [09:40:57]Write to MH i2c: E2 08 00 29 04 80 13 01 00 00 00 00 00 AA [09:40:57]Write i2c OK [09:40:57]MH_I2C_Read... [09:40:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:40:57]Read from MH i2c: E2 [09:40:57]MH_I2C_Read... [09:40:57]Read from MH i2c: E2 0E 00 [09:40:57]MH_I2C_Read... [09:40:57]Read from MH i2c: E2 0E 00 29 04 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 F0 [09:40:57]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [09:40:57]wFMCommunicate OK [09:40:57]SAM_PROTO_GetShiftState done [09:40:57]FM_GetShiftState done [09:40:57]opened in 1729384049 [09:40:57]opened+sec_in_day 1729470449 [09:40:57]quantity*price = 1000 [09:40:57]sum+1 = 1001 [09:40:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 11 20.10.2024 09:40 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24853 ФПД: 185353098725563 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T094059&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24853&fm=185353098725563&tin=02508201610067®Number=0000000000098147&sum=1000 0 [09:40:58]StoreToDocumentArchive [09:40:58]shift 455 fd 24853 [09:40:58]save to /storage/0455/doc_00024853 [09:40:58]save last doc name /storage/0455/doc_00024853 to /storage/kkm_last_doc_name [09:40:58]save OK [09:40:58]Clear old archive folders... [09:40:58]ProcessDocumentItem done err = 0, tmpTLVsize=273 [09:40:58]tlvbuf is 00DEC3F0 [09:40:58]SAM_PROTO_ClearQueue [09:40:58]wFMCommunicate request_size=4 [09:40:58]MH_SAM_APDU [09:40:58]CAPDU: 80 09 00 00 [09:40:58]Write to MH i2c: E2 08 00 36 04 80 09 00 00 00 00 00 00 AC [09:40:58]Write i2c OK [09:40:58]MH_I2C_Read... [09:40:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:40:58]Read from MH i2c: E2 [09:40:58]MH_I2C_Read... [09:40:58]Read from MH i2c: E2 03 00 [09:40:58]MH_I2C_Read... [09:40:58]Read from MH i2c: E2 03 00 36 04 00 90 00 AE [09:40:58]RAPDU: 90 00 [09:40:58]wFMCommunicate OK [09:40:58]SAM_PROTO_ClearQueue done [09:40:58]KKMCreateOFDPacket [09:40:58]OFDProtocolAddRootSTLVToBuf [09:40:58]FM_MakeSignedData [09:40:58]FM_MakeSignedData [09:40:58]SAM_PROTO_SignData [09:40:58]wFMCommunicate request_size=4 [09:40:58]MH_SAM_APDU [09:40:58]CAPDU: 80 0D 01 02 [09:40:58]Write to MH i2c: E2 08 00 37 04 80 0D 01 02 00 00 00 00 B4 [09:40:58]Write i2c OK [09:40:58]MH_I2C_Read... [09:40:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:40:58]Read from MH i2c: E2 [09:40:58]MH_I2C_Read... [09:40:58]Read from MH i2c: E2 03 00 [09:40:58]MH_I2C_Read... [09:40:58]Read from MH i2c: E2 03 00 37 04 00 90 00 AF [09:40:58]RAPDU: 90 00 [09:40:58]wFMCommunicate OK [09:40:58]wFMCommunicate request_size=255 [09:40:58]MH_SAM_APDU [09:40:58]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 2B D0 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 [09:40:58]Write to MH i2c: E2 02 01 38 04 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 2B D0 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 00 00 40 [09:40:58]Write i2c OK [09:40:58]MH_I2C_Read... [09:40:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:40:59]Read from MH i2c: E2 [09:40:59]MH_I2C_Read... [09:40:59]Read from MH i2c: E2 03 00 [09:40:59]MH_I2C_Read... [09:40:59]Read from MH i2c: E2 03 00 38 04 00 90 00 B0 [09:40:59]RAPDU: 90 00 [09:40:59]wFMCommunicate OK [09:40:59]wFMCommunicate request_size=32 [09:40:59]MH_SAM_APDU [09:40:59]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 36 10 04 04 00 15 61 00 00 35 04 06 00 A8 93 E1 9B 88 BB [09:40:59]Write to MH i2c: E2 23 00 39 04 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 36 10 04 04 00 15 61 00 00 35 04 06 00 A8 93 E1 9B 88 BB 00 00 88 [09:40:59]Write i2c OK [09:40:59]MH_I2C_Read... [09:40:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:40:59]Read from MH i2c: E2 [09:40:59]MH_I2C_Read... [09:40:59]Read from MH i2c: E2 03 00 [09:40:59]MH_I2C_Read... [09:40:59]Read from MH i2c: E2 03 00 39 04 00 90 00 B1 [09:40:59]RAPDU: 90 00 [09:40:59]wFMCommunicate OK [09:40:59]wFMCommunicate request_size=4 [09:40:59]MH_SAM_APDU [09:40:59]CAPDU: 80 0D 03 02 [09:40:59]Write to MH i2c: E2 08 00 3A 04 80 0D 03 02 00 00 00 00 B9 [09:40:59]Write i2c OK [09:40:59]MH_I2C_Read... [09:40:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:40:59]Read from MH i2c: E2 [09:40:59]MH_I2C_Read... [09:40:59]Read from MH i2c: E2 0B 00 [09:40:59]MH_I2C_Read... [09:40:59]Read from MH i2c: E2 0B 00 3A 04 00 C2 19 20 9F 10 C0 30 55 90 00 A9 [09:40:59]RAPDU: C2 19 20 9F 10 C0 30 55 90 00 [09:40:59]wFMCommunicate OK [09:40:59]SAM_PROTO_SignData done [09:40:59]FM_MakeSignedData done [09:40:59]CreateOFDProtocolMessage [09:40:59]wFMCommunicate request_size=4 [09:40:59]MH_SAM_APDU [09:40:59]CAPDU: 80 11 00 00 [09:40:59]Write to MH i2c: E2 08 00 3B 04 80 11 00 00 00 00 00 00 B9 [09:40:59]Write i2c OK [09:40:59]MH_I2C_Read... [09:40:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:40:59]Read from MH i2c: E2 [09:40:59]MH_I2C_Read... [09:40:59]Read from MH i2c: E2 17 00 [09:40:59]MH_I2C_Read... [09:40:59]Read from MH i2c: E2 17 00 3B 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 10 [09:40:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [09:40:59]wFMCommunicate OK [09:40:59]CreateOFDProtocolMessage done [09:40:59]OFDSenderStorePacket 24853 [09:40:59]StoreOFDPacket docnum=24853 [09:40:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 7C E6 1D 01 82 17 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 2B D0 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 15 61 00 00 35 04 06 00 A8 93 E1 9B 88 BB C2 19 20 9F 10 C0 30 55 [09:40:59]CheckFolder [09:40:59]dirname=/storage/ofd_packets [09:40:59]CheckFolder done [09:40:59]ProducePacketName [09:40:59]name=ofd_packets/00024853 [09:40:59]NVStorageSaveData ofd_packets/00024853 [09:40:59]File name is /storage/ofd_packets/00024853 [09:40:59]Write 323 bytes [09:40:59]NVStorageSaveData done [09:40:59]OFDSenderStorePacket done [09:40:59]KKMCreateOFDPacket done [09:40:59]NVStorageSaveData kkm_last_timestamp [09:40:59]File name is /storage/kkm_last_timestamp [09:40:59]Write 4 bytes [09:40:59]NVStorageSaveData done [09:40:59]ExternCall_PrintAddStr [09:40:59]wPrintStart [09:40:59]Write to MH i2c: 01 00 00 3C 04 40 [09:40:59]Write i2c OK [09:40:59]MH_I2C_Read... [09:40:59]Read from MH i2c: 01 [09:40:59]MH_I2C_Read... [09:40:59]Read from MH i2c: 01 07 00 [09:40:59]MH_I2C_Read... [09:40:59]Read from MH i2c: 01 07 00 3C 04 00 00 00 00 00 FF 0F 55 [09:40:59]RasterBufferAndPrint [09:40:59]line Счет N : (3)34613 [09:40:59]line ИНН: 02508201610067 [09:40:59]line Контрольно-Кассовый Чек [09:40:59]line ПРОДАЖА [09:40:59]line Товар: 46226624 [09:40:59]line Mentos ПВ Клубника 6*100*2 [09:40:59]line 1.000 * 10.00 [09:40:59]line = 10.00 [09:40:59]line НДС 12% НСП 1% [09:40:59]line > о реализуемом товаре [09:40:59]line ИТОГО: 10.00 [09:40:59]line НСП 1% : 0.09 [09:40:59]line НДС 12% : 1.06 [09:40:59]line Наличными: 10.00 [09:40:59]line Безнал.: 0.00 [09:40:59]line Место: АЗС № 161 "Партнер Нефть" [09:40:59]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [09:40:59]line СНО: Общий режим [09:40:59]line Чек 11 20.10.2024 09:40 [09:40:59]line Смена: 455 ФФД: 1.0 [09:40:59]line ЗНМ: 0300000240 [09:40:59]line РНМ: 0000000000098147 [09:40:59]line Версия ККМ: 001 [09:40:59]line ФМ: 0000000000965376 [09:40:59]line ФД: 24853 [09:40:59]line ФПД: 185353098725563 [09:40:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T094059&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24853&fm=185353098725563&tin=02508201610067®Number=0000000000098147&sum=1000 [09:40:59]line 0 [09:40:59]written 0, free lines is 4095 [09:40:59]OFD Sender: Processing packet 24853 [packets to send 5, broken 4] [09:40:59]ProducePacketName [09:40:59]name=ofd_packets/00024853 [09:40:59]OFD Sender: To server: pG, [09:40:59]CommunicateWithHost lk.salyk.kg:30040 [09:40:59]ConnectInit lk.salyk.kg [09:40:59]Connected sock=10 [09:40:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 7C E6 1D 01 82 17 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 2B D0 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 15 61 00 00 35 04 06 00 A8 93 E1 9B 88 BB C2 19 20 9F 10 C0 30 55 [09:41:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 D7 97 47 00 28 E4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 15 61 00 00 F4 03 04 00 AC 78 14 67 B6 04 01 00 00 0B 46 1F D9 0D A7 B3 E0 [09:41:00]CommunicateWithHost err = 0 [09:41:00]CheckOFDResponse [09:41:00]1017 (14) - 77093643461234 [09:41:00]1041 (16) - 0000000000965376 [09:41:00]1040 (4) - 24853 [09:41:00]1012 (4) - 20.10.2024 03:27 [09:41:00]1206 (1) - 0 [09:41:00]OFD Sender: Remove packet 24853 [09:41:00]ProducePacketName [09:41:00]name=ofd_packets/00024853 [09:41:00]NVStorageDeleteData [09:41:00]Write to MH i2c: 01 00 00 64 04 68 [09:41:00]Write i2c OK [09:41:00]MH_I2C_Read... [09:41:00]Read from MH i2c: 01 [09:41:00]MH_I2C_Read... [09:41:00]Read from MH i2c: 01 07 00 [09:41:00]MH_I2C_Read... [09:41:00]Read from MH i2c: 01 07 00 64 04 00 00 00 00 00 CE 0C 49 [09:41:00]RasterBufferAndPrint [09:41:00]line [09:41:00]line [09:41:00]line [09:41:00]line [09:41:00]line [09:41:00]written 0, free lines is 3286 [09:41:00]process_action close_receipt done [09:41:00]requested_data is exist [09:41:00]produce_requested_data [09:41:00]requested_item fm.sn is exist - process it [09:41:00]wFMCommunicate request_size=4 [09:41:00]MH_SAM_APDU [09:41:00]CAPDU: 80 11 00 00 [09:41:00]Write to MH i2c: E2 08 00 6B 04 80 11 00 00 00 00 00 00 E9 [09:41:00]Write i2c OK [09:41:00]MH_I2C_Read... [09:41:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:41:00]Read from MH i2c: E2 [09:41:00]MH_I2C_Read... [09:41:00]Read from MH i2c: E2 17 00 [09:41:00]MH_I2C_Read... [09:41:00]Read from MH i2c: E2 17 00 6B 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 40 [09:41:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [09:41:00]wFMCommunicate OK [09:41:00]requested_item fd.num is exist - process it [09:41:00]SAM_PROTO_GetFieldsCounters [09:41:00]wFMCommunicate request_size=4 [09:41:00]MH_SAM_APDU [09:41:00]CAPDU: 80 13 00 00 [09:41:00]Write to MH i2c: E2 08 00 6C 04 80 13 00 00 00 00 00 00 EC [09:41:00]Write i2c OK [09:41:00]MH_I2C_Read... [09:41:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:41:00]Read from MH i2c: E2 [09:41:00]MH_I2C_Read... [09:41:00]Read from MH i2c: E2 62 00 [09:41:00]MH_I2C_Read... [09:41:00]Read from MH i2c: E2 62 00 6C 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 15 61 00 00 0E 04 04 00 C7 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 74 [09:41:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 15 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:41:00]wFMCommunicate OK [09:41:00]SAM_PROTO_GetFieldsCounters done [09:41:00]requested_item shift.num is exist - process it [09:41:00]requested_item shift.opened is exist - process it [09:41:00]req_shift_opened [09:41:00]FM_GetShiftState [09:41:00]SAM_PROTO_GetShiftState [09:41:00]wFMCommunicate request_size=4 [09:41:00]MH_SAM_APDU [09:41:00]CAPDU: 80 13 01 00 [09:41:00]Write to MH i2c: E2 08 00 6D 04 80 13 01 00 00 00 00 00 EE [09:41:00]Write i2c OK [09:41:00]MH_I2C_Read... [09:41:00]Read from MH i2c: E2 [09:41:00]MH_I2C_Read... [09:41:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:41:00]Read from MH i2c: E2 0E 00 [09:41:00]MH_I2C_Read... [09:41:00]Read from MH i2c: E2 0E 00 6D 04 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 34 [09:41:00]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [09:41:00]wFMCommunicate OK [09:41:00]SAM_PROTO_GetShiftState done [09:41:00]FM_GetShiftState done [09:41:00]req_shift_opened done [09:41:00]requested_item shift.open_date is exist - process it [09:41:00]req_shift_open_date [09:41:00]req_shift_open_date done [09:41:00]produce_requested_data done [09:41:00]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24853,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [09:41:00]process_action_free close_receipt [09:41:00]json_value_free [09:41:00]json_value_free done [09:41:00]process_json_proto returns [09:41:00]Send response to host [09:41:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24853,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [09:41:00]free response buf [09:41:00]execute_script done [09:41:00]execute_script returns [09:41:00]free content buf [09:41:00]Sock 9.Close socket [09:41:00]Sock 9.Thread stoped [09:41:00]OFD Sender: No OFD packet to send [09:41:05]OFD Sender: No OFD packet to send [09:41:10]OFD Sender: No OFD packet to send [09:41:15]OFD Sender: No OFD packet to send [09:41:20]OFD Sender: No OFD packet to send [09:41:25]OFD Sender: No OFD packet to send [09:41:30]OFD Sender: No OFD packet to send [09:41:35]OFD Sender: No OFD packet to send [09:41:40]OFD Sender: No OFD packet to send [09:41:45]OFD Sender: No OFD packet to send [09:41:50]OFD Sender: No OFD packet to send [09:41:55]OFD Sender: No OFD packet to send [09:42:00]OFD Sender: No OFD packet to send [09:42:05]OFD Sender: No OFD packet to send [09:42:10]OFD Sender: No OFD packet to send [09:42:15]OFD Sender: No OFD packet to send [09:42:20]OFD Sender: No OFD packet to send [09:42:25]OFD Sender: No OFD packet to send [09:42:30]OFD Sender: No OFD packet to send [09:42:35]OFD Sender: No OFD packet to send [09:42:40]OFD Sender: No OFD packet to send [09:42:45]OFD Sender: No OFD packet to send [09:42:50]OFD Sender: No OFD packet to send [09:42:55]OFD Sender: No OFD packet to send [09:43:00]OFD Sender: No OFD packet to send [09:43:05]OFD Sender: No OFD packet to send [09:43:10]OFD Sender: No OFD packet to send [09:43:15]OFD Sender: No OFD packet to send [09:43:20]OFD Sender: No OFD packet to send [09:43:25]OFD Sender: No OFD packet to send [09:43:30]OFD Sender: No OFD packet to send [09:43:35]OFD Sender: No OFD packet to send [09:43:40]OFD Sender: No OFD packet to send [09:43:45]OFD Sender: No OFD packet to send [09:43:50]OFD Sender: No OFD packet to send [09:43:55]OFD Sender: No OFD packet to send [09:44:00]OFD Sender: No OFD packet to send [09:44:05]OFD Sender: No OFD packet to send [09:44:10]OFD Sender: No OFD packet to send [09:44:15]OFD Sender: No OFD packet to send [09:44:20]OFD Sender: No OFD packet to send [09:44:25]OFD Sender: No OFD packet to send [09:44:30]OFD Sender: No OFD packet to send [09:44:35]OFD Sender: No OFD packet to send [09:44:40]OFD Sender: No OFD packet to send [09:44:45]OFD Sender: No OFD packet to send [09:44:50]OFD Sender: No OFD packet to send [09:44:55]OFD Sender: No OFD packet to send [09:45:00]OFD Sender: No OFD packet to send [09:45:05]OFD Sender: No OFD packet to send [09:45:10]OFD Sender: No OFD packet to send [09:45:15]OFD Sender: No OFD packet to send [09:45:20]OFD Sender: No OFD packet to send [09:45:25]OFD Sender: No OFD packet to send [09:45:30]OFD Sender: No OFD packet to send [09:45:35]OFD Sender: No OFD packet to send [09:45:40]OFD Sender: No OFD packet to send [09:45:45]OFD Sender: No OFD packet to send [09:45:50]OFD Sender: No OFD packet to send [09:45:55]OFD Sender: No OFD packet to send [09:46:00]OFD Sender: No OFD packet to send [09:46:05]OFD Sender: No OFD packet to send [09:46:10]OFD Sender: No OFD packet to send [09:46:15]OFD Sender: No OFD packet to send [09:46:20]OFD Sender: No OFD packet to send [09:46:25]OFD Sender: No OFD packet to send [09:46:30]OFD Sender: No OFD packet to send [09:46:35]OFD Sender: No OFD packet to send [09:46:40]OFD Sender: No OFD packet to send [09:46:45]OFD Sender: No OFD packet to send [09:46:50]OFD Sender: No OFD packet to send [09:46:55]OFD Sender: No OFD packet to send [09:47:00]OFD Sender: No OFD packet to send [09:47:05]OFD Sender: No OFD packet to send [09:47:10]OFD Sender: No OFD packet to send [09:47:15]OFD Sender: No OFD packet to send [09:47:20]OFD Sender: No OFD packet to send [09:47:25]OFD Sender: No OFD packet to send [09:47:30]OFD Sender: No OFD packet to send [09:47:35]OFD Sender: No OFD packet to send [09:47:40]OFD Sender: No OFD packet to send [09:47:45]OFD Sender: No OFD packet to send [09:47:50]OFD Sender: No OFD packet to send [09:47:55]OFD Sender: No OFD packet to send [09:48:00]OFD Sender: No OFD packet to send [09:48:05]OFD Sender: No OFD packet to send [09:48:10]OFD Sender: No OFD packet to send [09:48:15]OFD Sender: No OFD packet to send [09:48:20]OFD Sender: No OFD packet to send [09:48:25]OFD Sender: No OFD packet to send [09:48:30]OFD Sender: No OFD packet to send [09:48:35]OFD Sender: No OFD packet to send [09:48:40]OFD Sender: No OFD packet to send [09:48:45]OFD Sender: No OFD packet to send [09:48:50]OFD Sender: No OFD packet to send [09:48:55]OFD Sender: No OFD packet to send [09:49:00]OFD Sender: No OFD packet to send [09:49:05]OFD Sender: No OFD packet to send [09:49:10]OFD Sender: No OFD packet to send [09:49:15]OFD Sender: No OFD packet to send [09:49:20]OFD Sender: No OFD packet to send [09:49:25]OFD Sender: No OFD packet to send [09:49:30]OFD Sender: No OFD packet to send [09:49:35]OFD Sender: No OFD packet to send [09:49:40]OFD Sender: No OFD packet to send [09:49:45]OFD Sender: No OFD packet to send [09:49:50]OFD Sender: No OFD packet to send [09:49:55]OFD Sender: No OFD packet to send [09:50:00]OFD Sender: No OFD packet to send [09:50:05]OFD Sender: No OFD packet to send [09:50:10]OFD Sender: No OFD packet to send [09:50:15]OFD Sender: No OFD packet to send [09:50:20]OFD Sender: No OFD packet to send [09:50:25]OFD Sender: No OFD packet to send [09:50:30]OFD Sender: No OFD packet to send [09:50:35]OFD Sender: No OFD packet to send [09:50:40]OFD Sender: No OFD packet to send [09:50:45]OFD Sender: No OFD packet to send [09:50:50]OFD Sender: No OFD packet to send [09:50:55]OFD Sender: No OFD packet to send [09:51:00]OFD Sender: No OFD packet to send [09:51:05]OFD Sender: No OFD packet to send [09:51:10]OFD Sender: No OFD packet to send [09:51:16]OFD Sender: No OFD packet to send [09:51:21]OFD Sender: No OFD packet to send [09:51:26]OFD Sender: No OFD packet to send [09:51:31]OFD Sender: No OFD packet to send [09:51:36]OFD Sender: No OFD packet to send [09:51:41]OFD Sender: No OFD packet to send [09:51:46]OFD Sender: No OFD packet to send [09:51:51]OFD Sender: No OFD packet to send [09:51:56]OFD Sender: No OFD packet to send [09:52:01]OFD Sender: No OFD packet to send [09:52:06]OFD Sender: No OFD packet to send [09:52:11]OFD Sender: No OFD packet to send [09:52:16]OFD Sender: No OFD packet to send [09:52:21]OFD Sender: No OFD packet to send [09:52:26]OFD Sender: No OFD packet to send [09:52:31]OFD Sender: No OFD packet to send [09:52:36]OFD Sender: No OFD packet to send [09:52:41]OFD Sender: No OFD packet to send [09:52:46]OFD Sender: No OFD packet to send [09:52:51]OFD Sender: No OFD packet to send [09:52:56]OFD Sender: No OFD packet to send [09:53:01]OFD Sender: No OFD packet to send [09:53:06]OFD Sender: No OFD packet to send [09:53:11]OFD Sender: No OFD packet to send [09:53:16]OFD Sender: No OFD packet to send [09:53:21]OFD Sender: No OFD packet to send [09:53:26]OFD Sender: No OFD packet to send [09:53:31]OFD Sender: No OFD packet to send [09:53:36]OFD Sender: No OFD packet to send [09:53:41]OFD Sender: No OFD packet to send [09:53:46]OFD Sender: No OFD packet to send [09:53:51]OFD Sender: No OFD packet to send [09:53:56]OFD Sender: No OFD packet to send [09:54:01]OFD Sender: No OFD packet to send [09:54:06]OFD Sender: No OFD packet to send [09:54:11]OFD Sender: No OFD packet to send [09:54:16]OFD Sender: No OFD packet to send [09:54:21]OFD Sender: No OFD packet to send [09:54:26]OFD Sender: No OFD packet to send [09:54:31]OFD Sender: No OFD packet to send [09:54:36]OFD Sender: No OFD packet to send [09:54:41]OFD Sender: No OFD packet to send [09:54:46]OFD Sender: No OFD packet to send [09:54:51]OFD Sender: No OFD packet to send [09:54:56]OFD Sender: No OFD packet to send [09:55:01]OFD Sender: No OFD packet to send [09:55:06]OFD Sender: No OFD packet to send [09:55:11]OFD Sender: No OFD packet to send [09:55:16]OFD Sender: No OFD packet to send [09:55:16]accept exits with 7 [09:55:16]New connection [09:55:16]New thread 3067166052 created [09:55:16]Thread 3067309412 joined [09:55:16]Waiting for new connection... [09:55:16] Sock 7.Parse request [09:55:16]Sock 7.Check first char [09:55:16]Sock 7.First char is OK [09:55:16]request: POST /json_proto HTTP/1.0 [09:55:16]Method: POST [09:55:16]URL: /json_proto [09:55:16]Method is POST - this is cgi request [09:55:16]url: /json_proto [09:55:16]query_string will be loaded in cgi processing [09:55:16]execute_cgi json_proto POST (null) [09:55:16]execute_cgi path=json_proto method=POST [09:55:16]POST find Content-Length [09:55:16]Host: 172.17.53.196:8080 [09:55:16]Content-Length: 622 [09:55:16]Content-Type: application/json [09:55:16] [09:55:16]POST finish read [09:55:16]Found Content-Length = 622 [09:55:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34614", "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" ] } } [09:55:16]execute_script... [09:55: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)34614", "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" ] } } [09:55:16]POST & json_proto [09:55:16]process_json_proto [09:55:16]json parsed OK: [09:55:16]protocol is kg_v1.0 [09:55:16]action value=close_receipt [09:55:16]process_action close_receipt [09:55:16]cmd_close_receipt [09:55:16]MH_GetDate [09:55:16]Write to MH i2c: F0 00 00 6E 04 61 [09:55:16]Write i2c OK [09:55:16]MH_I2C_Read... [09:55:16]Read from MH i2c: F0 [09:55:16]MH_I2C_Read... [09:55:16]Read from MH i2c: F0 09 00 [09:55:16]MH_I2C_Read... [09:55:16]Read from MH i2c: F0 09 00 6E 04 00 86 D3 14 67 4F CD 9A 65 59 [09:55:16]GetLastDocTimeStamp 1729417259 [09:55:16]current date 1729418118 [09:55:16]FM_GetShiftState [09:55:16]SAM_PROTO_GetShiftState [09:55:16]wFMCommunicate request_size=4 [09:55:16]MH_SAM_APDU [09:55:16]CAPDU: 80 13 01 00 [09:55:16]Write to MH i2c: E2 08 00 6F 04 80 13 01 00 00 00 00 00 F0 [09:55:16]Write i2c OK [09:55:16]MH_I2C_Read... [09:55:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:55:16]Read from MH i2c: E2 [09:55:16]MH_I2C_Read... [09:55:16]Read from MH i2c: E2 0E 00 [09:55:16]MH_I2C_Read... [09:55:16]Read from MH i2c: E2 0E 00 6F 04 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 36 [09:55:16]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [09:55:16]wFMCommunicate OK [09:55:16]SAM_PROTO_GetShiftState done [09:55:16]FM_GetShiftState done [09:55:16]opened in 1729384049 [09:55:16]opened+sec_in_day 1729470449 [09:55:16]quantity*price = 14400 [09:55:16]sum+1 = 14401 [09:55:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 12 20.10.2024 09:55 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24854 ФПД: 213186855348527 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T095518&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24854&fm=213186855348527&tin=02508201610067®Number=0000000000098147&sum=14400 0 [09:55:17]StoreToDocumentArchive [09:55:17]shift 455 fd 24854 [09:55:17]save to /storage/0455/doc_00024854 [09:55:17]save last doc name /storage/0455/doc_00024854 to /storage/kkm_last_doc_name [09:55:17]save OK [09:55:17]Clear old archive folders... [09:55:17]ProcessDocumentItem done err = 0, tmpTLVsize=275 [09:55:17]tlvbuf is 00DD9FC0 [09:55:17]SAM_PROTO_ClearQueue [09:55:17]wFMCommunicate request_size=4 [09:55:17]MH_SAM_APDU [09:55:17]CAPDU: 80 09 00 00 [09:55:17]Write to MH i2c: E2 08 00 7C 04 80 09 00 00 00 00 00 00 F2 [09:55:17]Write i2c OK [09:55:17]MH_I2C_Read... [09:55:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:55:17]Read from MH i2c: E2 [09:55:17]MH_I2C_Read... [09:55:17]Read from MH i2c: E2 03 00 [09:55:17]MH_I2C_Read... [09:55:17]Read from MH i2c: E2 03 00 7C 04 00 90 00 F4 [09:55:17]RAPDU: 90 00 [09:55:17]wFMCommunicate OK [09:55:17]SAM_PROTO_ClearQueue done [09:55:17]KKMCreateOFDPacket [09:55:17]OFDProtocolAddRootSTLVToBuf [09:55:17]FM_MakeSignedData [09:55:17]FM_MakeSignedData [09:55:17]SAM_PROTO_SignData [09:55:17]wFMCommunicate request_size=4 [09:55:17]MH_SAM_APDU [09:55:17]CAPDU: 80 0D 01 02 [09:55:17]Write to MH i2c: E2 08 00 7D 04 80 0D 01 02 00 00 00 00 FA [09:55:17]Write i2c OK [09:55:17]MH_I2C_Read... [09:55:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:55:17]Read from MH i2c: E2 [09:55:17]MH_I2C_Read... [09:55:17]Read from MH i2c: E2 03 00 [09:55:17]MH_I2C_Read... [09:55:17]Read from MH i2c: E2 03 00 7D 04 00 90 00 F5 [09:55:17]RAPDU: 90 00 [09:55:17]wFMCommunicate OK [09:55:17]wFMCommunicate request_size=255 [09:55:17]MH_SAM_APDU [09:55:17]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 0C 00 00 00 F4 03 04 00 86 D3 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 [09:55:17]Write to MH i2c: E2 02 01 7E 04 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 0C 00 00 00 F4 03 04 00 86 D3 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 00 00 AB [09:55:17]Write i2c OK [09:55:17]MH_I2C_Read... [09:55:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:55:18]Read from MH i2c: E2 [09:55:18]MH_I2C_Read... [09:55:18]Read from MH i2c: E2 03 00 [09:55:18]MH_I2C_Read... [09:55:18]Read from MH i2c: E2 03 00 7E 04 00 90 00 F6 [09:55:18]RAPDU: 90 00 [09:55:18]wFMCommunicate OK [09:55:18]wFMCommunicate request_size=34 [09:55:18]MH_SAM_APDU [09:55:18]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 16 61 00 00 35 04 06 00 C1 E4 6E C8 A9 2F [09:55:18]Write to MH i2c: E2 25 00 7F 04 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 16 61 00 00 35 04 06 00 C1 E4 6E C8 A9 2F 00 00 EC [09:55:18]Write i2c OK [09:55:18]MH_I2C_Read... [09:55:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:55:18]Read from MH i2c: E2 [09:55:18]MH_I2C_Read... [09:55:18]Read from MH i2c: E2 03 00 [09:55:18]MH_I2C_Read... [09:55:18]Read from MH i2c: E2 03 00 7F 04 00 90 00 F7 [09:55:18]RAPDU: 90 00 [09:55:18]wFMCommunicate OK [09:55:18]wFMCommunicate request_size=4 [09:55:18]MH_SAM_APDU [09:55:18]CAPDU: 80 0D 03 02 [09:55:18]Write to MH i2c: E2 08 00 80 04 80 0D 03 02 00 00 00 00 FF [09:55:18]Write i2c OK [09:55:18]MH_I2C_Read... [09:55:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:55:18]Read from MH i2c: E2 [09:55:18]MH_I2C_Read... [09:55:18]Read from MH i2c: E2 0B 00 [09:55:18]MH_I2C_Read... [09:55:18]Read from MH i2c: E2 0B 00 80 04 00 A1 5E 6A 41 E4 F7 60 75 90 00 5A [09:55:18]RAPDU: A1 5E 6A 41 E4 F7 60 75 90 00 [09:55:18]wFMCommunicate OK [09:55:18]SAM_PROTO_SignData done [09:55:18]FM_MakeSignedData done [09:55:18]CreateOFDProtocolMessage [09:55:18]wFMCommunicate request_size=4 [09:55:18]MH_SAM_APDU [09:55:18]CAPDU: 80 11 00 00 [09:55:18]Write to MH i2c: E2 08 00 81 04 80 11 00 00 00 00 00 00 FF [09:55:18]Write i2c OK [09:55:18]MH_I2C_Read... [09:55:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:55:18]Read from MH i2c: E2 [09:55:18]MH_I2C_Read... [09:55:18]Read from MH i2c: E2 17 00 [09:55:18]MH_I2C_Read... [09:55:18]Read from MH i2c: E2 17 00 81 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 56 [09:55:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [09:55:18]wFMCommunicate OK [09:55:18]CreateOFDProtocolMessage done [09:55:18]OFDSenderStorePacket 24854 [09:55:18]StoreOFDPacket docnum=24854 [09:55:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 4B FD 1F 01 DD AE 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 0C 00 00 00 F4 03 04 00 86 D3 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 16 61 00 00 35 04 06 00 C1 E4 6E C8 A9 2F A1 5E 6A 41 E4 F7 60 75 [09:55:18]CheckFolder [09:55:18]dirname=/storage/ofd_packets [09:55:18]CheckFolder done [09:55:18]ProducePacketName [09:55:18]name=ofd_packets/00024854 [09:55:18]NVStorageSaveData ofd_packets/00024854 [09:55:18]File name is /storage/ofd_packets/00024854 [09:55:18]Write 325 bytes [09:55:18]NVStorageSaveData done [09:55:18]OFDSenderStorePacket done [09:55:18]KKMCreateOFDPacket done [09:55:18]NVStorageSaveData kkm_last_timestamp [09:55:18]File name is /storage/kkm_last_timestamp [09:55:18]Write 4 bytes [09:55:18]NVStorageSaveData done [09:55:18]ExternCall_PrintAddStr [09:55:18]wPrintStart [09:55:18]Write to MH i2c: 01 00 00 82 04 86 [09:55:18]Write i2c OK [09:55:18]MH_I2C_Read... [09:55:18]Read from MH i2c: 01 [09:55:18]MH_I2C_Read... [09:55:18]Read from MH i2c: 01 07 00 [09:55:18]MH_I2C_Read... [09:55:18]Read from MH i2c: 01 07 00 82 04 00 00 00 00 00 FF 0F 9B [09:55:18]RasterBufferAndPrint [09:55:18]line Счет N : (3)34614 [09:55:18]line ИНН: 02508201610067 [09:55:18]line Контрольно-Кассовый Чек [09:55:18]line ПРОДАЖА [09:55:18]line Товар: 48743587 [09:55:18]line Сигареты Winston XStyle Silver [09:55:18]line 1.000 * 144.00 [09:55:18]line = 144.00 [09:55:18]line НДС 12% НСП 1% [09:55:18]line > о реализуемом товаре [09:55:18]line ИТОГО: 144.00 [09:55:18]line НСП 1% : 1.27 [09:55:18]line НДС 12% : 15.29 [09:55:18]line Наличными: 144.00 [09:55:18]line Безнал.: 0.00 [09:55:18]line Место: АЗС № 161 "Партнер Нефть" [09:55:18]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [09:55:18]line СНО: Общий режим [09:55:18]line Чек 12 20.10.2024 09:55 [09:55:18]line Смена: 455 ФФД: 1.0 [09:55:18]line ЗНМ: 0300000240 [09:55:18]line РНМ: 0000000000098147 [09:55:18]line Версия ККМ: 001 [09:55:18]line ФМ: 0000000000965376 [09:55:18]line ФД: 24854 [09:55:18]line ФПД: 213186855348527 [09:55:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T095518&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24854&fm=213186855348527&tin=02508201610067®Number=0000000000098147&sum=14400 [09:55:18]OFD Sender: Processing packet 24854 [packets to send 5, broken 4] [09:55:18]ProducePacketName [09:55:18]name=ofd_packets/00024854 [09:55:18]OFD Sender: To server: pG, [09:55:18]CommunicateWithHost lk.salyk.kg:30040 [09:55:18]ConnectInit lk.salyk.kg [09:55:18]line 0 [09:55:18]written 0, free lines is 4095 [09:55:18]Connected sock=10 [09:55:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 4B FD 1F 01 DD AE 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 0C 00 00 00 F4 03 04 00 86 D3 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 16 61 00 00 35 04 06 00 C1 E4 6E C8 A9 2F A1 5E 6A 41 E4 F7 60 75 [09:55:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 B1 19 47 00 07 94 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 16 61 00 00 F4 03 04 00 07 7C 14 67 B6 04 01 00 00 F2 A7 4D 11 CC B2 66 8D [09:55:19]CommunicateWithHost err = 0 [09:55:19]CheckOFDResponse [09:55:19]1017 (14) - 77093643461234 [09:55:19]1041 (16) - 0000000000965376 [09:55:19]1040 (4) - 24854 [09:55:19]1012 (4) - 20.10.2024 03:41 [09:55:19]1206 (1) - 0 [09:55:19]OFD Sender: Remove packet 24854 [09:55:19]ProducePacketName [09:55:19]name=ofd_packets/00024854 [09:55:19]NVStorageDeleteData [09:55:19]Write to MH i2c: 01 00 00 AB 04 AF [09:55:19]Write i2c OK [09:55:19]MH_I2C_Read... [09:55:19]Read from MH i2c: 01 [09:55:19]MH_I2C_Read... [09:55:19]Read from MH i2c: 01 07 00 [09:55:19]MH_I2C_Read... [09:55:19]Read from MH i2c: 01 07 00 AB 04 00 00 00 00 00 BE 0C 80 [09:55:19]RasterBufferAndPrint [09:55:19]line [09:55:19]line [09:55:19]line [09:55:19]line [09:55:19]line [09:55:19]written 0, free lines is 3267 [09:55:19]process_action close_receipt done [09:55:19]requested_data is exist [09:55:19]produce_requested_data [09:55:19]requested_item fm.sn is exist - process it [09:55:19]wFMCommunicate request_size=4 [09:55:19]MH_SAM_APDU [09:55:19]CAPDU: 80 11 00 00 [09:55:19]Write to MH i2c: E2 08 00 B2 04 80 11 00 00 00 00 00 00 30 [09:55:19]Write i2c OK [09:55:19]MH_I2C_Read... [09:55:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:55:19]Read from MH i2c: E2 [09:55:19]MH_I2C_Read... [09:55:19]Read from MH i2c: E2 17 00 [09:55:19]MH_I2C_Read... [09:55:19]Read from MH i2c: E2 17 00 B2 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 87 [09:55:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [09:55:19]wFMCommunicate OK [09:55:19]requested_item fd.num is exist - process it [09:55:19]SAM_PROTO_GetFieldsCounters [09:55:19]wFMCommunicate request_size=4 [09:55:19]MH_SAM_APDU [09:55:19]CAPDU: 80 13 00 00 [09:55:19]Write to MH i2c: E2 08 00 B3 04 80 13 00 00 00 00 00 00 33 [09:55:19]Write i2c OK [09:55:19]MH_I2C_Read... [09:55:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:55:19]Read from MH i2c: E2 [09:55:19]MH_I2C_Read... [09:55:19]Read from MH i2c: E2 62 00 [09:55:19]MH_I2C_Read... [09:55:19]Read from MH i2c: E2 62 00 B3 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 16 61 00 00 0E 04 04 00 C7 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 BF [09:55:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 16 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:55:19]wFMCommunicate OK [09:55:19]SAM_PROTO_GetFieldsCounters done [09:55:19]requested_item shift.num is exist - process it [09:55:19]requested_item shift.opened is exist - process it [09:55:19]req_shift_opened [09:55:19]FM_GetShiftState [09:55:19]SAM_PROTO_GetShiftState [09:55:19]wFMCommunicate request_size=4 [09:55:19]MH_SAM_APDU [09:55:19]CAPDU: 80 13 01 00 [09:55:19]Write to MH i2c: E2 08 00 B4 04 80 13 01 00 00 00 00 00 35 [09:55:19]Write i2c OK [09:55:19]MH_I2C_Read... [09:55:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:55:19]Read from MH i2c: E2 [09:55:19]MH_I2C_Read... [09:55:19]Read from MH i2c: E2 0E 00 [09:55:19]MH_I2C_Read... [09:55:19]Read from MH i2c: E2 0E 00 B4 04 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 7B [09:55:19]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [09:55:19]wFMCommunicate OK [09:55:19]SAM_PROTO_GetShiftState done [09:55:19]FM_GetShiftState done [09:55:19]req_shift_opened done [09:55:19]requested_item shift.open_date is exist - process it [09:55:19]req_shift_open_date [09:55:19]req_shift_open_date done [09:55:19]produce_requested_data done [09:55:19]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24854,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [09:55:19]process_action_free close_receipt [09:55:19]json_value_free [09:55:19]json_value_free done [09:55:19]process_json_proto returns [09:55:19]Send response to host [09:55:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24854,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [09:55:19]free response buf [09:55:19]execute_script done [09:55:19]execute_script returns [09:55:19]free content buf [09:55:19]Sock 7.Close socket [09:55:19]Sock 7.Thread stoped [09:55:19]OFD Sender: No OFD packet to send [09:55:24]OFD Sender: No OFD packet to send [09:55:29]OFD Sender: No OFD packet to send [09:55:34]OFD Sender: No OFD packet to send [09:55:39]OFD Sender: No OFD packet to send [09:55:44]OFD Sender: No OFD packet to send [09:55:49]OFD Sender: No OFD packet to send [09:55:54]OFD Sender: No OFD packet to send [09:55:59]OFD Sender: No OFD packet to send [09:56:04]OFD Sender: No OFD packet to send [09:56:09]OFD Sender: No OFD packet to send [09:56:14]OFD Sender: No OFD packet to send [09:56:14]accept exits with 9 [09:56:14]New connection [09:56:14]New thread 3067309412 created [09:56:14]Thread 3067166052 joined [09:56:14]Waiting for new connection... [09:56:14] Sock 9.Parse request [09:56:14]Sock 9.Check first char [09:56:14]Sock 9.First char is OK [09:56:14]request: POST /json_proto HTTP/1.0 [09:56:14]Method: POST [09:56:14]URL: /json_proto [09:56:14]Method is POST - this is cgi request [09:56:14]url: /json_proto [09:56:14]query_string will be loaded in cgi processing [09:56:14]execute_cgi json_proto POST (null) [09:56:14]execute_cgi path=json_proto method=POST [09:56:14]POST find Content-Length [09:56:14]Host: 172.17.53.196:8080 [09:56:14]Content-Length: 643 [09:56:14]Content-Type: application/json [09:56:14] [09:56:14]POST finish read [09:56:14]Found Content-Length = 643 [09:56:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34615", "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" ] } } [09:56:14]execute_script... [09:56:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34615", "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" ] } } [09:56:14]POST & json_proto [09:56:14]process_json_proto [09:56:14]json parsed OK: [09:56:14]protocol is kg_v1.0 [09:56:14]action value=close_receipt [09:56:14]process_action close_receipt [09:56:14]cmd_close_receipt [09:56:14]MH_GetDate [09:56:14]Write to MH i2c: F0 00 00 B5 04 A8 [09:56:14]Write i2c OK [09:56:14]MH_I2C_Read... [09:56:14]Read from MH i2c: F0 [09:56:14]MH_I2C_Read... [09:56:14]Read from MH i2c: F0 09 00 [09:56:14]MH_I2C_Read... [09:56:14]Read from MH i2c: F0 09 00 B5 04 00 C0 D3 14 67 4F CD 9A 65 DA [09:56:14]GetLastDocTimeStamp 1729418118 [09:56:14]current date 1729418176 [09:56:14]FM_GetShiftState [09:56:14]SAM_PROTO_GetShiftState [09:56:14]wFMCommunicate request_size=4 [09:56:14]MH_SAM_APDU [09:56:14]CAPDU: 80 13 01 00 [09:56:14]Write to MH i2c: E2 08 00 B6 04 80 13 01 00 00 00 00 00 37 [09:56:14]Write i2c OK [09:56:14]MH_I2C_Read... [09:56:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:56:14]Read from MH i2c: E2 [09:56:14]MH_I2C_Read... [09:56:14]Read from MH i2c: E2 0E 00 [09:56:14]MH_I2C_Read... [09:56:14]Read from MH i2c: E2 0E 00 B6 04 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 7D [09:56:14]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [09:56:14]wFMCommunicate OK [09:56:14]SAM_PROTO_GetShiftState done [09:56:14]FM_GetShiftState done [09:56:14]opened in 1729384049 [09:56:14]opened+sec_in_day 1729470449 [09:56:14]quantity*price = 3500 [09:56:14]sum+1 = 3501 [09:56:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 35.00 НСП 1% : 0.31 НДС 12% : 3.72 Наличными: 35.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 13 20.10.2024 09:56 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24855 ФПД: 199983781404438 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T095616&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24855&fm=199983781404438&tin=02508201610067®Number=0000000000098147&sum=3500 0 [09:56:15]StoreToDocumentArchive [09:56:15]shift 455 fd 24855 [09:56:15]save to /storage/0455/doc_00024855 [09:56:15]save last doc name /storage/0455/doc_00024855 to /storage/kkm_last_doc_name [09:56:15]save OK [09:56:15]Clear old archive folders... [09:56:15]ProcessDocumentItem done err = 0, tmpTLVsize=275 [09:56:15]tlvbuf is 00DDB7A0 [09:56:15]SAM_PROTO_ClearQueue [09:56:15]wFMCommunicate request_size=4 [09:56:15]MH_SAM_APDU [09:56:15]CAPDU: 80 09 00 00 [09:56:15]Write to MH i2c: E2 08 00 C3 04 80 09 00 00 00 00 00 00 39 [09:56:15]Write i2c OK [09:56:15]MH_I2C_Read... [09:56:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:56:15]Read from MH i2c: E2 [09:56:15]MH_I2C_Read... [09:56:15]Read from MH i2c: E2 03 00 [09:56:15]MH_I2C_Read... [09:56:15]Read from MH i2c: E2 03 00 C3 04 00 90 00 3B [09:56:15]RAPDU: 90 00 [09:56:15]wFMCommunicate OK [09:56:15]SAM_PROTO_ClearQueue done [09:56:15]KKMCreateOFDPacket [09:56:15]OFDProtocolAddRootSTLVToBuf [09:56:15]FM_MakeSignedData [09:56:15]FM_MakeSignedData [09:56:15]SAM_PROTO_SignData [09:56:15]wFMCommunicate request_size=4 [09:56:15]MH_SAM_APDU [09:56:15]CAPDU: 80 0D 01 02 [09:56:15]Write to MH i2c: E2 08 00 C4 04 80 0D 01 02 00 00 00 00 41 [09:56:15]Write i2c OK [09:56:15]MH_I2C_Read... [09:56:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:56:15]Read from MH i2c: E2 [09:56:15]MH_I2C_Read... [09:56:15]Read from MH i2c: E2 03 00 [09:56:15]MH_I2C_Read... [09:56:15]Read from MH i2c: E2 03 00 C4 04 00 90 00 3C [09:56:15]RAPDU: 90 00 [09:56:15]wFMCommunicate OK [09:56:15]wFMCommunicate request_size=255 [09:56:15]MH_SAM_APDU [09:56:15]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 0D 00 00 00 F4 03 04 00 C0 D3 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 [09:56:15]Write to MH i2c: E2 02 01 C5 04 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 0D 00 00 00 F4 03 04 00 C0 D3 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 00 00 10 [09:56:15]Write i2c OK [09:56:15]MH_I2C_Read... [09:56:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:56:16]Read from MH i2c: E2 [09:56:16]MH_I2C_Read... [09:56:16]Read from MH i2c: E2 03 00 [09:56:16]MH_I2C_Read... [09:56:16]Read from MH i2c: E2 03 00 C5 04 00 90 00 3D [09:56:16]RAPDU: 90 00 [09:56:16]wFMCommunicate OK [09:56:16]wFMCommunicate request_size=34 [09:56:16]MH_SAM_APDU [09:56:16]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 17 61 00 00 35 04 06 00 B5 E2 5A 40 5F 16 [09:56:16]Write to MH i2c: E2 25 00 C6 04 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 17 61 00 00 35 04 06 00 B5 E2 5A 40 5F 16 00 00 27 [09:56:16]Write i2c OK [09:56:16]MH_I2C_Read... [09:56:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:56:16]Read from MH i2c: E2 [09:56:16]MH_I2C_Read... [09:56:16]Read from MH i2c: E2 03 00 [09:56:16]MH_I2C_Read... [09:56:16]Read from MH i2c: E2 03 00 C6 04 00 90 00 3E [09:56:16]RAPDU: 90 00 [09:56:16]wFMCommunicate OK [09:56:16]wFMCommunicate request_size=4 [09:56:16]MH_SAM_APDU [09:56:16]CAPDU: 80 0D 03 02 [09:56:16]Write to MH i2c: E2 08 00 C7 04 80 0D 03 02 00 00 00 00 46 [09:56:16]Write i2c OK [09:56:16]MH_I2C_Read... [09:56:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:56:16]Read from MH i2c: E2 [09:56:16]MH_I2C_Read... [09:56:16]Read from MH i2c: E2 0B 00 [09:56:16]MH_I2C_Read... [09:56:16]Read from MH i2c: E2 0B 00 C7 04 00 E8 F1 92 63 BB B4 20 05 90 00 A9 [09:56:16]RAPDU: E8 F1 92 63 BB B4 20 05 90 00 [09:56:16]wFMCommunicate OK [09:56:16]SAM_PROTO_SignData done [09:56:16]FM_MakeSignedData done [09:56:16]CreateOFDProtocolMessage [09:56:16]wFMCommunicate request_size=4 [09:56:16]MH_SAM_APDU [09:56:16]CAPDU: 80 11 00 00 [09:56:16]Write to MH i2c: E2 08 00 C8 04 80 11 00 00 00 00 00 00 46 [09:56:16]Write i2c OK [09:56:16]MH_I2C_Read... [09:56:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:56:16]Read from MH i2c: E2 [09:56:16]MH_I2C_Read... [09:56:16]Read from MH i2c: E2 17 00 [09:56:16]MH_I2C_Read... [09:56:16]Read from MH i2c: E2 17 00 C8 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 9D [09:56:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [09:56:16]wFMCommunicate OK [09:56:16]CreateOFDProtocolMessage done [09:56:16]OFDSenderStorePacket 24855 [09:56:16]StoreOFDPacket docnum=24855 [09:56:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 EC 7B 1F 01 10 C1 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 0D 00 00 00 F4 03 04 00 C0 D3 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 17 61 00 00 35 04 06 00 B5 E2 5A 40 5F 16 E8 F1 92 63 BB B4 20 05 [09:56:16]CheckFolder [09:56:16]dirname=/storage/ofd_packets [09:56:16]CheckFolder done [09:56:16]ProducePacketName [09:56:16]name=ofd_packets/00024855 [09:56:16]NVStorageSaveData ofd_packets/00024855 [09:56:16]File name is /storage/ofd_packets/00024855 [09:56:16]Write 325 bytes [09:56:16]NVStorageSaveData done [09:56:16]OFDSenderStorePacket done [09:56:16]KKMCreateOFDPacket done [09:56:16]NVStorageSaveData kkm_last_timestamp [09:56:16]File name is /storage/kkm_last_timestamp [09:56:16]Write 4 bytes [09:56:16]NVStorageSaveData done [09:56:16]ExternCall_PrintAddStr [09:56:16]wPrintStart [09:56:16]Write to MH i2c: 01 00 00 C9 04 CD [09:56:16]Write i2c OK [09:56:16]MH_I2C_Read... [09:56:16]Read from MH i2c: 01 [09:56:16]MH_I2C_Read... [09:56:16]Read from MH i2c: 01 07 00 [09:56:16]MH_I2C_Read... [09:56:16]Read from MH i2c: 01 07 00 C9 04 00 00 00 00 00 FF 0F E2 [09:56:16]RasterBufferAndPrint [09:56:16]line Счет N : (3)34615 [09:56:16]line ИНН: 02508201610067 [09:56:16]line Контрольно-Кассовый Чек [09:56:16]line ПРОДАЖА [09:56:16]line Товар: 4700000310326 [09:56:16]line Вода Адыгене 1л б/г [09:56:16]line 1.000 * 35.00 [09:56:16]line = 35.00 [09:56:16]line НДС 12% НСП 1% [09:56:16]line > о реализуемом товаре [09:56:16]line ИТОГО: 35.00 [09:56:16]line НСП 1% : 0.31 [09:56:16]line НДС 12% : 3.72 [09:56:16]line Наличными: 35.00 [09:56:16]line Безнал.: 0.00 [09:56:16]line Место: АЗС № 161 "Партнер Нефть" [09:56:16]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [09:56:16]line СНО: Общий режим [09:56:16]line Чек 13 20.10.2024 09:56 [09:56:16]line Смена: 455 ФФД: 1.0 [09:56:16]line ЗНМ: 0300000240 [09:56:16]line РНМ: 0000000000098147 [09:56:16]line Версия ККМ: 001 [09:56:16]line ФМ: 0000000000965376 [09:56:16]line ФД: 24855 [09:56:16]line ФПД: 199983781404438 [09:56:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T095616&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24855&fm=199983781404438&tin=02508201610067®Number=0000000000098147&sum=3500 [09:56:16]OFD Sender: Processing packet 24855 [packets to send 5, broken 4] [09:56:16]ProducePacketName [09:56:16]name=ofd_packets/00024855 [09:56:16]OFD Sender: To server: pG, [09:56:16]CommunicateWithHost lk.salyk.kg:30040 [09:56:16]ConnectInit lk.salyk.kg [09:56:16]line 0 [09:56:16]written 0, free lines is 4095 [09:56:16]Connected sock=11 [09:56:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 EC 7B 1F 01 10 C1 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 0D 00 00 00 F4 03 04 00 C0 D3 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 17 61 00 00 35 04 06 00 B5 E2 5A 40 5F 16 E8 F1 92 63 BB B4 20 05 [09:56:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 B0 4B 47 00 77 FD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 17 61 00 00 F4 03 04 00 41 7C 14 67 B6 04 01 00 00 E0 29 BC 12 67 4B 03 54 [09:56:16]CommunicateWithHost err = 0 [09:56:16]CheckOFDResponse [09:56:16]1017 (14) - 77093643461234 [09:56:16]1041 (16) - 0000000000965376 [09:56:16]1040 (4) - 24855 [09:56:16]1012 (4) - 20.10.2024 03:42 [09:56:16]1206 (1) - 0 [09:56:16]OFD Sender: Remove packet 24855 [09:56:16]ProducePacketName [09:56:16]name=ofd_packets/00024855 [09:56:16]NVStorageDeleteData [09:56:17]Write to MH i2c: 01 00 00 F1 04 F5 [09:56:17]Write i2c OK [09:56:17]MH_I2C_Read... [09:56:17]Read from MH i2c: 01 [09:56:17]MH_I2C_Read... [09:56:17]Read from MH i2c: 01 07 00 [09:56:17]MH_I2C_Read... [09:56:17]Read from MH i2c: 01 07 00 F1 04 00 00 00 00 00 DF 0C E7 [09:56:17]RasterBufferAndPrint [09:56:17]line [09:56:17]line [09:56:17]line [09:56:17]line [09:56:17]line [09:56:17]written 0, free lines is 3301 [09:56:17]process_action close_receipt done [09:56:17]requested_data is exist [09:56:17]produce_requested_data [09:56:17]requested_item fm.sn is exist - process it [09:56:17]wFMCommunicate request_size=4 [09:56:17]MH_SAM_APDU [09:56:17]CAPDU: 80 11 00 00 [09:56:17]Write to MH i2c: E2 08 00 F8 04 80 11 00 00 00 00 00 00 76 [09:56:17]Write i2c OK [09:56:17]MH_I2C_Read... [09:56:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:56:17]Read from MH i2c: E2 [09:56:17]MH_I2C_Read... [09:56:17]Read from MH i2c: E2 17 00 [09:56:17]MH_I2C_Read... [09:56:17]Read from MH i2c: E2 17 00 F8 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 CD [09:56:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [09:56:17]wFMCommunicate OK [09:56:17]requested_item fd.num is exist - process it [09:56:17]SAM_PROTO_GetFieldsCounters [09:56:17]wFMCommunicate request_size=4 [09:56:17]MH_SAM_APDU [09:56:17]CAPDU: 80 13 00 00 [09:56:17]Write to MH i2c: E2 08 00 F9 04 80 13 00 00 00 00 00 00 79 [09:56:17]Write i2c OK [09:56:17]MH_I2C_Read... [09:56:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:56:17]Read from MH i2c: E2 [09:56:17]MH_I2C_Read... [09:56:17]Read from MH i2c: E2 62 00 [09:56:17]MH_I2C_Read... [09:56:17]Read from MH i2c: E2 62 00 F9 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 17 61 00 00 0E 04 04 00 C7 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 09 [09: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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 17 61 00 00 0E 04 04 00 C7 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 [09:56:17]wFMCommunicate OK [09:56:17]SAM_PROTO_GetFieldsCounters done [09:56:17]requested_item shift.num is exist - process it [09:56:17]requested_item shift.opened is exist - process it [09:56:17]req_shift_opened [09:56:17]FM_GetShiftState [09:56:17]SAM_PROTO_GetShiftState [09:56:17]wFMCommunicate request_size=4 [09:56:17]MH_SAM_APDU [09:56:17]CAPDU: 80 13 01 00 [09:56:17]Write to MH i2c: E2 08 00 FA 04 80 13 01 00 00 00 00 00 7B [09:56:17]Write i2c OK [09:56:17]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 FA 04 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 C1 [09:56:17]RAPDU: 09 00 01 71 4E 14 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]req_shift_opened done [09:56:17]requested_item shift.open_date is exist - process it [09:56:17]req_shift_open_date [09:56:17]req_shift_open_date done [09:56:17]produce_requested_data done [09:56:17]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24855,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [09:56:17]process_action_free close_receipt [09:56:17]json_value_free [09:56:17]json_value_free done [09:56:17]process_json_proto returns [09:56:17]Send response to host [09:56:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24855,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [09:56:17]free response buf [09:56:17]execute_script done [09:56:17]execute_script returns [09:56:17]free content buf [09:56:17]Sock 9.Close socket [09:56:17]Sock 9.Thread stoped [09:56:17]OFD Sender: No OFD packet to send [09:56:22]OFD Sender: No OFD packet to send [09:56:27]OFD Sender: No OFD packet to send [09:56:32]OFD Sender: No OFD packet to send [09:56:37]OFD Sender: No OFD packet to send [09:56:42]OFD Sender: No OFD packet to send [09:56:47]OFD Sender: No OFD packet to send [09:56:52]OFD Sender: No OFD packet to send [09:56:57]OFD Sender: No OFD packet to send [09:57:02]OFD Sender: No OFD packet to send [09:57:07]OFD Sender: No OFD packet to send [09:57:12]OFD Sender: No OFD packet to send [09:57:17]OFD Sender: No OFD packet to send [09:57:22]OFD Sender: No OFD packet to send [09:57:27]OFD Sender: No OFD packet to send [09:57:32]OFD Sender: No OFD packet to send [09:57:37]OFD Sender: No OFD packet to send [09:57:42]OFD Sender: No OFD packet to send [09:57:47]OFD Sender: No OFD packet to send [09:57:52]OFD Sender: No OFD packet to send [09:57:57]OFD Sender: No OFD packet to send [09:58:02]OFD Sender: No OFD packet to send [09:58:07]OFD Sender: No OFD packet to send [09:58:12]OFD Sender: No OFD packet to send [09:58:17]OFD Sender: No OFD packet to send [09:58:22]OFD Sender: No OFD packet to send [09:58:27]OFD Sender: No OFD packet to send [09:58:32]OFD Sender: No OFD packet to send [09:58:37]OFD Sender: No OFD packet to send [09:58:42]OFD Sender: No OFD packet to send [09:58:47]OFD Sender: No OFD packet to send [09:58:52]OFD Sender: No OFD packet to send [09:58:57]OFD Sender: No OFD packet to send [09:59:02]OFD Sender: No OFD packet to send [09:59:07]OFD Sender: No OFD packet to send [09:59:12]OFD Sender: No OFD packet to send [09:59:17]OFD Sender: No OFD packet to send [09:59:22]OFD Sender: No OFD packet to send [09:59:27]OFD Sender: No OFD packet to send [09:59:32]OFD Sender: No OFD packet to send [09:59:37]OFD Sender: No OFD packet to send [09:59:42]OFD Sender: No OFD packet to send [09:59:47]OFD Sender: No OFD packet to send [09:59:52]OFD Sender: No OFD packet to send [09:59:57]OFD Sender: No OFD packet to send [10:00:02]OFD Sender: No OFD packet to send [10:00:07]OFD Sender: No OFD packet to send [10:00:12]OFD Sender: No OFD packet to send [10:00:17]OFD Sender: No OFD packet to send [10:00:22]OFD Sender: No OFD packet to send [10:00:27]OFD Sender: No OFD packet to send [10:00:32]OFD Sender: No OFD packet to send [10:00:37]OFD Sender: No OFD packet to send [10:00:42]OFD Sender: No OFD packet to send [10:00:47]OFD Sender: No OFD packet to send [10:00:52]OFD Sender: No OFD packet to send [10:00:57]OFD Sender: No OFD packet to send [10:01:02]OFD Sender: No OFD packet to send [10:01:07]OFD Sender: No OFD packet to send [10:01:12]OFD Sender: No OFD packet to send [10:01:17]OFD Sender: No OFD packet to send [10:01:22]OFD Sender: No OFD packet to send [10:01:27]OFD Sender: No OFD packet to send [10:01:32]OFD Sender: No OFD packet to send [10:01:37]OFD Sender: No OFD packet to send [10:01:42]OFD Sender: No OFD packet to send [10:01:47]OFD Sender: No OFD packet to send [10:01:52]OFD Sender: No OFD packet to send [10:01:57]OFD Sender: No OFD packet to send [10:02:02]OFD Sender: No OFD packet to send [10:02:07]OFD Sender: No OFD packet to send [10:02:12]OFD Sender: No OFD packet to send [10:02:17]OFD Sender: No OFD packet to send [10:02:22]OFD Sender: No OFD packet to send [10:02:27]OFD Sender: No OFD packet to send [10:02:32]OFD Sender: No OFD packet to send [10:02:37]OFD Sender: No OFD packet to send [10:02:42]OFD Sender: No OFD packet to send [10:02:47]OFD Sender: No OFD packet to send [10:02:52]OFD Sender: No OFD packet to send [10:02:57]OFD Sender: No OFD packet to send [10:03:02]OFD Sender: No OFD packet to send [10:03:07]OFD Sender: No OFD packet to send [10:03:12]OFD Sender: No OFD packet to send [10:03:17]OFD Sender: No OFD packet to send [10:03:22]OFD Sender: No OFD packet to send [10:03:27]OFD Sender: No OFD packet to send [10:03:32]OFD Sender: No OFD packet to send [10:03:37]OFD Sender: No OFD packet to send [10:03:42]OFD Sender: No OFD packet to send [10:03:47]OFD Sender: No OFD packet to send [10:03:52]OFD Sender: No OFD packet to send [10:03:57]OFD Sender: No OFD packet to send [10:04:02]OFD Sender: No OFD packet to send [10:04:07]OFD Sender: No OFD packet to send [10:04:12]OFD Sender: No OFD packet to send [10:04:17]OFD Sender: No OFD packet to send [10:04:22]OFD Sender: No OFD packet to send [10:04:27]OFD Sender: No OFD packet to send [10:04:32]OFD Sender: No OFD packet to send [10:04:37]OFD Sender: No OFD packet to send [10:04:42]OFD Sender: No OFD packet to send [10:04:47]OFD Sender: No OFD packet to send [10:04:52]OFD Sender: No OFD packet to send [10:04:57]OFD Sender: No OFD packet to send [10:05:02]OFD Sender: No OFD packet to send [10:05:07]OFD Sender: No OFD packet to send [10:05:12]OFD Sender: No OFD packet to send [10:05:17]OFD Sender: No OFD packet to send [10:05:22]OFD Sender: No OFD packet to send [10:05:27]OFD Sender: No OFD packet to send [10:05:32]OFD Sender: No OFD packet to send [10:05:37]OFD Sender: No OFD packet to send [10:05:42]OFD Sender: No OFD packet to send [10:05:47]OFD Sender: No OFD packet to send [10:05:52]OFD Sender: No OFD packet to send [10:05:57]OFD Sender: No OFD packet to send [10:06:02]OFD Sender: No OFD packet to send [10:06:07]OFD Sender: No OFD packet to send [10:06:12]OFD Sender: No OFD packet to send [10:06:17]OFD Sender: No OFD packet to send [10:06:22]OFD Sender: No OFD packet to send [10:06:27]OFD Sender: No OFD packet to send [10:06:32]OFD Sender: No OFD packet to send [10:06:37]OFD Sender: No OFD packet to send [10:06:42]OFD Sender: No OFD packet to send [10:06:47]OFD Sender: No OFD packet to send [10:06:52]OFD Sender: No OFD packet to send [10:06:57]OFD Sender: No OFD packet to send [10:07:02]OFD Sender: No OFD packet to send [10:07:07]OFD Sender: No OFD packet to send [10:07:12]OFD Sender: No OFD packet to send [10:07:17]OFD Sender: No OFD packet to send [10:07:22]OFD Sender: No OFD packet to send [10:07:27]OFD Sender: No OFD packet to send [10:07:32]OFD Sender: No OFD packet to send [10:07:37]OFD Sender: No OFD packet to send [10:07:42]OFD Sender: No OFD packet to send [10:07:48]OFD Sender: No OFD packet to send [10:07:53]OFD Sender: No OFD packet to send [10:07:58]OFD Sender: No OFD packet to send [10:08:03]OFD Sender: No OFD packet to send [10:08:08]OFD Sender: No OFD packet to send [10:08:13]OFD Sender: No OFD packet to send [10:08:18]OFD Sender: No OFD packet to send [10:08:23]OFD Sender: No OFD packet to send [10:08:28]OFD Sender: No OFD packet to send [10:08:33]OFD Sender: No OFD packet to send [10:08:38]OFD Sender: No OFD packet to send [10:08:43]OFD Sender: No OFD packet to send [10:08:48]OFD Sender: No OFD packet to send [10:08:53]OFD Sender: No OFD packet to send [10:08:58]OFD Sender: No OFD packet to send [10:09:03]OFD Sender: No OFD packet to send [10:09:08]OFD Sender: No OFD packet to send [10:09:13]OFD Sender: No OFD packet to send [10:09:18]OFD Sender: No OFD packet to send [10:09:23]OFD Sender: No OFD packet to send [10:09:28]OFD Sender: No OFD packet to send [10:09:33]OFD Sender: No OFD packet to send [10:09:38]OFD Sender: No OFD packet to send [10:09:43]OFD Sender: No OFD packet to send [10:09:48]OFD Sender: No OFD packet to send [10:09:53]OFD Sender: No OFD packet to send [10:09:58]OFD Sender: No OFD packet to send [10:10:03]OFD Sender: No OFD packet to send [10:10:08]OFD Sender: No OFD packet to send [10:10:13]OFD Sender: No OFD packet to send [10:10:18]OFD Sender: No OFD packet to send [10:10:23]OFD Sender: No OFD packet to send [10:10:28]OFD Sender: No OFD packet to send [10:10:33]OFD Sender: No OFD packet to send [10:10:38]OFD Sender: No OFD packet to send [10:10:43]OFD Sender: No OFD packet to send [10:10:48]OFD Sender: No OFD packet to send [10:10:53]OFD Sender: No OFD packet to send [10:10:58]OFD Sender: No OFD packet to send [10:11:03]OFD Sender: No OFD packet to send [10:11:08]OFD Sender: No OFD packet to send [10:11:13]OFD Sender: No OFD packet to send [10:11:18]OFD Sender: No OFD packet to send [10:11:23]OFD Sender: No OFD packet to send [10:11:28]OFD Sender: No OFD packet to send [10:11:33]OFD Sender: No OFD packet to send [10:11:38]OFD Sender: No OFD packet to send [10:11:43]OFD Sender: No OFD packet to send [10:11:48]OFD Sender: No OFD packet to send [10:11:53]OFD Sender: No OFD packet to send [10:11:58]OFD Sender: No OFD packet to send [10:12:03]OFD Sender: No OFD packet to send [10:12:08]OFD Sender: No OFD packet to send [10:12:13]OFD Sender: No OFD packet to send [10:12:18]OFD Sender: No OFD packet to send [10:12:23]OFD Sender: No OFD packet to send [10:12:28]OFD Sender: No OFD packet to send [10:12:33]OFD Sender: No OFD packet to send [10:12:38]OFD Sender: No OFD packet to send [10:12:43]OFD Sender: No OFD packet to send [10:12:48]OFD Sender: No OFD packet to send [10:12:53]OFD Sender: No OFD packet to send [10:12:58]OFD Sender: No OFD packet to send [10:13:03]OFD Sender: No OFD packet to send [10:13:08]OFD Sender: No OFD packet to send [10:13:13]OFD Sender: No OFD packet to send [10:13:18]OFD Sender: No OFD packet to send [10:13:23]OFD Sender: No OFD packet to send [10:13:28]OFD Sender: No OFD packet to send [10:13:33]OFD Sender: No OFD packet to send [10:13:38]OFD Sender: No OFD packet to send [10:13:43]OFD Sender: No OFD packet to send [10:13:48]OFD Sender: No OFD packet to send [10:13:53]OFD Sender: No OFD packet to send [10:13:58]OFD Sender: No OFD packet to send [10:14:03]OFD Sender: No OFD packet to send [10:14:08]OFD Sender: No OFD packet to send [10:14:13]OFD Sender: No OFD packet to send [10:14:18]OFD Sender: No OFD packet to send [10:14:23]OFD Sender: No OFD packet to send [10:14:28]OFD Sender: No OFD packet to send [10:14:33]OFD Sender: No OFD packet to send [10:14:38]OFD Sender: No OFD packet to send [10:14:43]OFD Sender: No OFD packet to send [10:14:48]OFD Sender: No OFD packet to send [10:14:53]OFD Sender: No OFD packet to send [10:14:58]OFD Sender: No OFD packet to send [10:15:03]OFD Sender: No OFD packet to send [10:15:08]OFD Sender: No OFD packet to send [10:15:13]OFD Sender: No OFD packet to send [10:15:18]OFD Sender: No OFD packet to send [10:15:23]OFD Sender: No OFD packet to send [10:15:28]OFD Sender: No OFD packet to send [10:15:33]OFD Sender: No OFD packet to send [10:15:38]OFD Sender: No OFD packet to send [10:15:43]OFD Sender: No OFD packet to send [10:15:48]OFD Sender: No OFD packet to send [10:15:53]OFD Sender: No OFD packet to send [10:15:58]OFD Sender: No OFD packet to send [10:16:03]OFD Sender: No OFD packet to send [10:16:08]OFD Sender: No OFD packet to send [10:16:13]OFD Sender: No OFD packet to send [10:16:18]OFD Sender: No OFD packet to send [10:16:23]OFD Sender: No OFD packet to send [10:16:28]OFD Sender: No OFD packet to send [10:16:33]OFD Sender: No OFD packet to send [10:16:38]OFD Sender: No OFD packet to send [10:16:43]OFD Sender: No OFD packet to send [10:16:48]OFD Sender: No OFD packet to send [10:16:53]OFD Sender: No OFD packet to send [10:16:58]OFD Sender: No OFD packet to send [10:17:03]OFD Sender: No OFD packet to send [10:17:08]OFD Sender: No OFD packet to send [10:17:13]OFD Sender: No OFD packet to send [10:17:18]OFD Sender: No OFD packet to send [10:17:23]OFD Sender: No OFD packet to send [10:17:28]OFD Sender: No OFD packet to send [10:17:33]OFD Sender: No OFD packet to send [10:17:38]OFD Sender: No OFD packet to send [10:17:43]OFD Sender: No OFD packet to send [10:17:48]OFD Sender: No OFD packet to send [10:17:53]OFD Sender: No OFD packet to send [10:17:58]OFD Sender: No OFD packet to send [10:18:03]OFD Sender: No OFD packet to send [10:18:08]OFD Sender: No OFD packet to send [10:18:13]OFD Sender: No OFD packet to send [10:18:18]OFD Sender: No OFD packet to send [10:18:23]OFD Sender: No OFD packet to send [10:18:28]OFD Sender: No OFD packet to send [10:18:33]OFD Sender: No OFD packet to send [10:18:38]OFD Sender: No OFD packet to send [10:18:43]OFD Sender: No OFD packet to send [10:18:48]OFD Sender: No OFD packet to send [10:18:53]OFD Sender: No OFD packet to send [10:18:58]OFD Sender: No OFD packet to send [10:19:03]OFD Sender: No OFD packet to send [10:19:08]OFD Sender: No OFD packet to send [10:19:13]OFD Sender: No OFD packet to send [10:19:18]OFD Sender: No OFD packet to send [10:19:23]OFD Sender: No OFD packet to send [10:19:28]OFD Sender: No OFD packet to send [10:19:33]OFD Sender: No OFD packet to send [10:19:38]OFD Sender: No OFD packet to send [10:19:43]OFD Sender: No OFD packet to send [10:19:48]OFD Sender: No OFD packet to send [10:19:53]OFD Sender: No OFD packet to send [10:19:58]OFD Sender: No OFD packet to send [10:20:03]OFD Sender: No OFD packet to send [10:20:08]OFD Sender: No OFD packet to send [10:20:13]OFD Sender: No OFD packet to send [10:20:18]OFD Sender: No OFD packet to send [10:20:23]OFD Sender: No OFD packet to send [10:20:28]OFD Sender: No OFD packet to send [10:20:33]OFD Sender: No OFD packet to send [10:20:38]OFD Sender: No OFD packet to send [10:20:43]OFD Sender: No OFD packet to send [10:20:48]OFD Sender: No OFD packet to send [10:20:53]OFD Sender: No OFD packet to send [10:20:58]OFD Sender: No OFD packet to send [10:21:03]OFD Sender: No OFD packet to send [10:21:08]OFD Sender: No OFD packet to send [10:21:13]OFD Sender: No OFD packet to send [10:21:18]OFD Sender: No OFD packet to send [10:21:23]OFD Sender: No OFD packet to send [10:21:28]OFD Sender: No OFD packet to send [10:21:33]OFD Sender: No OFD packet to send [10:21:38]OFD Sender: No OFD packet to send [10:21:43]OFD Sender: No OFD packet to send [10:21:48]OFD Sender: No OFD packet to send [10:21:53]OFD Sender: No OFD packet to send [10:21:58]OFD Sender: No OFD packet to send [10:22:03]OFD Sender: No OFD packet to send [10:22:08]OFD Sender: No OFD packet to send [10:22:13]OFD Sender: No OFD packet to send [10:22:18]OFD Sender: No OFD packet to send [10:22:23]OFD Sender: No OFD packet to send [10:22:28]OFD Sender: No OFD packet to send [10:22:33]OFD Sender: No OFD packet to send [10:22:38]OFD Sender: No OFD packet to send [10:22:43]OFD Sender: No OFD packet to send [10:22:48]OFD Sender: No OFD packet to send [10:22:53]OFD Sender: No OFD packet to send [10:22:58]OFD Sender: No OFD packet to send [10:23:03]OFD Sender: No OFD packet to send [10:23:08]OFD Sender: No OFD packet to send [10:23:13]OFD Sender: No OFD packet to send [10:23:18]OFD Sender: No OFD packet to send [10:23:23]OFD Sender: No OFD packet to send [10:23:28]OFD Sender: No OFD packet to send [10:23:33]OFD Sender: No OFD packet to send [10:23:38]OFD Sender: No OFD packet to send [10:23:43]OFD Sender: No OFD packet to send [10:23:48]OFD Sender: No OFD packet to send [10:23:53]OFD Sender: No OFD packet to send [10:23:58]OFD Sender: No OFD packet to send [10:24:03]OFD Sender: No OFD packet to send [10:24:08]OFD Sender: No OFD packet to send [10:24:13]OFD Sender: No OFD packet to send [10:24:18]OFD Sender: No OFD packet to send [10:24:23]OFD Sender: No OFD packet to send [10:24:28]OFD Sender: No OFD packet to send [10:24:33]OFD Sender: No OFD packet to send [10:24:38]OFD Sender: No OFD packet to send [10:24:43]OFD Sender: No OFD packet to send [10:24:48]OFD Sender: No OFD packet to send [10:24:53]OFD Sender: No OFD packet to send [10:24:58]OFD Sender: No OFD packet to send [10:25:03]OFD Sender: No OFD packet to send [10:25:08]OFD Sender: No OFD packet to send [10:25:13]OFD Sender: No OFD packet to send [10:25:18]OFD Sender: No OFD packet to send [10:25:23]OFD Sender: No OFD packet to send [10:25:28]OFD Sender: No OFD packet to send [10:25:33]OFD Sender: No OFD packet to send [10:25:38]OFD Sender: No OFD packet to send [10:25:43]OFD Sender: No OFD packet to send [10:25:48]OFD Sender: No OFD packet to send [10:25:53]OFD Sender: No OFD packet to send [10:25:58]OFD Sender: No OFD packet to send [10:26:03]OFD Sender: No OFD packet to send [10:26:08]OFD Sender: No OFD packet to send [10:26:13]OFD Sender: No OFD packet to send [10:26:18]OFD Sender: No OFD packet to send [10:26:23]OFD Sender: No OFD packet to send [10:26:26]accept exits with 7 [10:26:26]New connection [10:26:26]New thread 3067166052 created [10:26:26]Thread 3067309412 joined [10:26:26]Waiting for new connection... [10:26:26] Sock 7.Parse request [10:26:26]Sock 7.Check first char [10:26:26]Sock 7.First char is OK [10:26:26]request: POST /json_proto HTTP/1.0 [10:26:26]Method: POST [10:26:26]URL: /json_proto [10:26:26]Method is POST - this is cgi request [10:26:26]url: /json_proto [10:26:26]query_string will be loaded in cgi processing [10:26:26]execute_cgi json_proto POST (null) [10:26:26]execute_cgi path=json_proto method=POST [10:26:26]POST find Content-Length [10:26:26]Host: 172.17.53.196:8080 [10:26:26]Content-Length: 1511 [10:26:26]Content-Type: application/json [10:26:26] [10:26:26]POST finish read [10:26:26]Found Content-Length = 1511 [10:26:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34616", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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": "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": "4700003241276", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041C\u043E\u043B\u043E\u0447\u043D\u044B\u0439 \u0422\u0410\u041D 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 448.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:26:26]execute_script... [10:26: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)34616", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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": "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": "4700003241276", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041C\u043E\u043B\u043E\u0447\u043D\u044B\u0439 \u0422\u0410\u041D 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 448.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:26:26]POST & json_proto [10:26:26]process_json_proto [10:26:26]json parsed OK: [10:26:26]protocol is kg_v1.0 [10:26:26]action value=close_receipt [10:26:26]process_action close_receipt [10:26:26]cmd_close_receipt [10:26:26]MH_GetDate [10:26:26]Write to MH i2c: F0 00 00 FB 04 EE [10:26:26]Write i2c OK [10:26:26]MH_I2C_Read... [10:26:26]Read from MH i2c: F0 [10:26:26]MH_I2C_Read... [10:26:26]Read from MH i2c: F0 09 00 [10:26:26]MH_I2C_Read... [10:26:26]Read from MH i2c: F0 09 00 FB 04 00 D4 DA 14 67 4F CD 9A 65 3B [10:26:26]GetLastDocTimeStamp 1729418176 [10:26:26]current date 1729419988 [10:26:26]FM_GetShiftState [10:26:26]SAM_PROTO_GetShiftState [10:26:26]wFMCommunicate request_size=4 [10:26:26]MH_SAM_APDU [10:26:26]CAPDU: 80 13 01 00 [10:26:26]Write to MH i2c: E2 08 00 FC 04 80 13 01 00 00 00 00 00 7D [10:26:26]Write i2c OK [10:26:26]MH_I2C_Read... [10:26:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:26:26]Read from MH i2c: E2 [10:26:26]MH_I2C_Read... [10:26:26]Read from MH i2c: E2 0E 00 [10:26:26]MH_I2C_Read... [10:26:26]Read from MH i2c: E2 0E 00 FC 04 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 C3 [10:26:26]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [10:26:26]wFMCommunicate OK [10:26:26]SAM_PROTO_GetShiftState done [10:26:26]FM_GetShiftState done [10:26:26]opened in 1729384049 [10:26:26]opened+sec_in_day 1729470449 [10:26:26]quantity*price = 14400 [10:26:26]sum+1 = 14401 [10:26:26]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870022003305 Напиток Gorilla эн нат ж/б 0,5/0,45л 1.000 * 99.00 = 99.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700003010087 Чай хол Lets Go зел чай ябл-гр ПЭТ 1,2л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700003241276 Напиток Молочный ТАН 1л 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 448.00 НСП 1% : 3.96 НДС 12% : 47.57 Наличными: 448.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 14 20.10.2024 10:26 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24856 ФПД: 55116227954378 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T102628&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24856&fm=55116227954378&tin=02508201610067®Number=0000000000098147&sum=44800 0 [10:26:27]StoreToDocumentArchive [10:26:27]shift 455 fd 24856 [10:26:27]save to /storage/0455/doc_00024856 [10:26:27]save last doc name /storage/0455/doc_00024856 to /storage/kkm_last_doc_name [10:26:27]save OK [10:26:27]Clear old archive folders... [10:26:27]ProcessDocumentItem done err = 0, tmpTLVsize=642 [10:26:27]tlvbuf is 00DD82B0 [10:26:27]SAM_PROTO_ClearQueue [10:26:27]wFMCommunicate request_size=4 [10:26:27]MH_SAM_APDU [10:26:27]CAPDU: 80 09 00 00 [10:26:27]Write to MH i2c: E2 08 00 09 05 80 09 00 00 00 00 00 00 80 [10:26:27]Write i2c OK [10:26:27]MH_I2C_Read... [10:26:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:26:27]Read from MH i2c: E2 [10:26:27]MH_I2C_Read... [10:26:27]Read from MH i2c: E2 03 00 [10:26:27]MH_I2C_Read... [10:26:27]Read from MH i2c: E2 03 00 09 05 00 90 00 82 [10:26:27]RAPDU: 90 00 [10:26:27]wFMCommunicate OK [10:26:27]SAM_PROTO_ClearQueue done [10:26:27]KKMCreateOFDPacket [10:26:27]OFDProtocolAddRootSTLVToBuf [10:26:27]FM_MakeSignedData [10:26:27]FM_MakeSignedData [10:26:27]SAM_PROTO_SignData [10:26:27]wFMCommunicate request_size=4 [10:26:27]MH_SAM_APDU [10:26:27]CAPDU: 80 0D 01 02 [10:26:27]Write to MH i2c: E2 08 00 0A 05 80 0D 01 02 00 00 00 00 88 [10:26:27]Write i2c OK [10:26:27]MH_I2C_Read... [10:26:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:26:27]Read from MH i2c: E2 [10:26:27]MH_I2C_Read... [10:26:27]Read from MH i2c: E2 03 00 [10:26:27]MH_I2C_Read... [10:26:27]Read from MH i2c: E2 03 00 0A 05 00 90 00 83 [10:26:27]RAPDU: 90 00 [10:26:27]wFMCommunicate OK [10:26:27]wFMCommunicate request_size=255 [10:26:27]MH_SAM_APDU [10:26:27]CAPDU: 80 0D 02 02 FA 03 00 82 02 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 80 00 8A 04 0D 00 34 37 30 30 30 30 33 [10:26:27]Write to MH i2c: E2 02 01 0B 05 80 0D 02 02 FA 00 03 00 82 02 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 80 00 8A 04 0D 00 34 37 30 30 30 30 33 00 00 9C [10:26:27]Write i2c OK [10:26:27]MH_I2C_Read... [10:26:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:26:27]Read from MH i2c: E2 [10:26:27]MH_I2C_Read... [10:26:27]Read from MH i2c: E2 03 00 [10:26:27]MH_I2C_Read... [10:26:27]Read from MH i2c: E2 03 00 0B 05 00 90 00 84 [10:26:27]RAPDU: 90 00 [10:26:27]wFMCommunicate OK [10:26:27]wFMCommunicate request_size=255 [10:26:27]MH_SAM_APDU [10:26:27]CAPDU: 80 0D 02 02 FA 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 6E 00 8A 04 0D 00 34 37 30 30 30 30 33 32 34 31 32 37 36 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D0 A2 D0 90 D0 9D 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 [10:26:27]Write to MH i2c: E2 02 01 0C 05 80 0D 02 02 FA 00 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 6E 00 8A 04 0D 00 34 37 30 30 30 30 33 32 34 31 32 37 36 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D0 A2 D0 90 D0 9D 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 00 00 48 [10:26:27]Write i2c OK [10:26:27]MH_I2C_Read... [10:26:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:26:28]Read from MH i2c: E2 [10:26:28]MH_I2C_Read... [10:26:28]Read from MH i2c: E2 03 00 [10:26:28]MH_I2C_Read... [10:26:28]Read from MH i2c: E2 03 00 0C 05 00 90 00 85 [10:26:28]RAPDU: 90 00 [10:26:28]wFMCommunicate OK [10:26:28]wFMCommunicate request_size=151 [10:26:28]MH_SAM_APDU [10:26:28]CAPDU: 80 0D 02 02 92 03 01 00 01 F7 03 06 00 8C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 12 00 00 00 00 07 04 06 00 00 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 0E 00 00 00 F4 03 04 00 D4 DA 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 18 61 00 00 35 04 06 00 32 20 BF 30 46 CA [10:26:28]Write to MH i2c: E2 9A 00 0D 05 80 0D 02 02 92 00 03 01 00 01 F7 03 06 00 8C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 12 00 00 00 00 07 04 06 00 00 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 0E 00 00 00 F4 03 04 00 D4 DA 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 18 61 00 00 35 04 06 00 32 20 BF 30 46 CA 00 00 96 [10:26:28]Write i2c OK [10:26:28]MH_I2C_Read... [10:26:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:26:28]Read from MH i2c: E2 [10:26:28]MH_I2C_Read... [10:26:28]Read from MH i2c: E2 03 00 [10:26:28]MH_I2C_Read... [10:26:28]Read from MH i2c: E2 03 00 0D 05 00 90 00 86 [10:26:28]RAPDU: 90 00 [10:26:28]wFMCommunicate OK [10:26:28]wFMCommunicate request_size=4 [10:26:28]MH_SAM_APDU [10:26:28]CAPDU: 80 0D 03 02 [10:26:28]Write to MH i2c: E2 08 00 0E 05 80 0D 03 02 00 00 00 00 8E [10:26:28]Write i2c OK [10:26:28]MH_I2C_Read... [10:26:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:26:28]Read from MH i2c: E2 [10:26:28]MH_I2C_Read... [10:26:28]Read from MH i2c: E2 0B 00 [10:26:28]MH_I2C_Read... [10:26:28]Read from MH i2c: E2 0B 00 0E 05 00 1F 37 BE D6 ED C8 30 B1 90 00 0F [10:26:28]RAPDU: 1F 37 BE D6 ED C8 30 B1 90 00 [10:26:28]wFMCommunicate OK [10:26:28]SAM_PROTO_SignData done [10:26:28]FM_MakeSignedData done [10:26:28]CreateOFDProtocolMessage [10:26:28]wFMCommunicate request_size=4 [10:26:28]MH_SAM_APDU [10:26:28]CAPDU: 80 11 00 00 [10:26:28]Write to MH i2c: E2 08 00 0F 05 80 11 00 00 00 00 00 00 8E [10:26:28]Write i2c OK [10:26:28]MH_I2C_Read... [10:26:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:26:28]Read from MH i2c: E2 [10:26:28]MH_I2C_Read... [10:26:28]Read from MH i2c: E2 17 00 [10:26:28]MH_I2C_Read... [10:26:28]Read from MH i2c: E2 17 00 0F 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 E5 [10:26:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [10:26:28]wFMCommunicate OK [10:26:28]CreateOFDProtocolMessage done [10:26:28]OFDSenderStorePacket 24856 [10:26:28]StoreOFDPacket docnum=24856 [10:26:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 96 02 00 00 DD DF 8E 02 7F 41 5A 03 01 00 03 00 82 02 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 6E 00 8A 04 0D 00 34 37 30 30 30 30 33 32 34 31 32 37 36 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D0 A2 D0 90 D0 9D 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 12 00 00 00 00 07 04 06 00 00 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 0E 00 00 00 F4 03 04 00 D4 DA 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 18 61 00 00 35 04 06 00 32 20 BF 30 46 CA 1F 37 BE D6 ED C8 30 B1 [10:26:28]CheckFolder [10:26:28]dirname=/storage/ofd_packets [10:26:28]CheckFolder done [10:26:28]ProducePacketName [10:26:28]name=ofd_packets/00024856 [10:26:28]NVStorageSaveData ofd_packets/00024856 [10:26:28]File name is /storage/ofd_packets/00024856 [10:26:28]Write 692 bytes [10:26:28]NVStorageSaveData done [10:26:28]OFDSenderStorePacket done [10:26:28]KKMCreateOFDPacket done [10:26:28]NVStorageSaveData kkm_last_timestamp [10:26:28]File name is /storage/kkm_last_timestamp [10:26:28]Write 4 bytes [10:26:28]NVStorageSaveData done [10:26:28]ExternCall_PrintAddStr [10:26:28]wPrintStart [10:26:28]Write to MH i2c: 01 00 00 10 05 15 [10:26:28]Write i2c OK [10:26:28]MH_I2C_Read... [10:26:28]Read from MH i2c: 01 [10:26:28]MH_I2C_Read... [10:26:28]Read from MH i2c: 01 07 00 [10:26:28]MH_I2C_Read... [10:26:28]Read from MH i2c: 01 07 00 10 05 00 00 00 00 00 FF 0F 2A [10:26:28]RasterBufferAndPrint [10:26:28]line Счет N : (3)34616 [10:26:28]line ИНН: 02508201610067 [10:26:28]line Контрольно-Кассовый Чек [10:26:28]line ПРОДАЖА [10:26:28]line Товар: 48743570 [10:26:28]line Сигареты Winston XStyle Blue [10:26:28]line 1.000 * 144.00 [10:26:28]line = 144.00 [10:26:28]line НДС 12% НСП 1% [10:26:28]line > о реализуемом товаре [10:26:28]line Товар: 4870022003305 [10:26:28]line Напиток Gorilla эн нат ж/б 0,5/0,45л [10:26:28]line 1.000 * 99.00 [10:26:28]line = 99.00 [10:26:28]line НДС 12% НСП 1% [10:26:28]line > о реализуемом товаре [10:26:28]line Товар: 4700003010087 [10:26:28]line Чай хол Lets Go зел чай ябл-гр ПЭТ 1,2л [10:26:28]line 1.000 * 95.00 [10:26:28]line = 95.00 [10:26:28]line НДС 12% НСП 1% [10:26:28]line > о реализуемом товаре [10:26:28]line Товар: 4700003241276 [10:26:28]line Напиток Молочный ТАН 1л [10:26:28]line 1.000 * 110.00 [10:26:28]line = 110.00 [10:26:28]line НДС 12% НСП 1% [10:26:28]line > о реализуемом товаре [10:26:28]line ИТОГО: 448.00 [10:26:28]line НСП 1% : 3.96 [10:26:28]line НДС 12% : 47.57 [10:26:28]line Наличными: 448.00 [10:26:28]line Безнал.: 0.00 [10:26:28]line Место: АЗС № 161 "Партнер Нефть" [10:26:28]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [10:26:28]line СНО: Общий режим [10:26:28]line Чек 14 20.10.2024 10:26 [10:26:28]line Смена: 455 ФФД: 1.0 [10:26:28]line ЗНМ: 0300000240 [10:26:28]line РНМ: 0000000000098147 [10:26:28]line Версия ККМ: 001 [10:26:28]line ФМ: 0000000000965376 [10:26:28]line ФД: 24856 [10:26:28]line ФПД: 55116227954378 [10:26:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T102628&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24856&fm=55116227954378&tin=02508201610067®Number=0000000000098147&sum=44800 [10:26:28]OFD Sender: Processing packet 24856 [packets to send 5, broken 4] [10:26:28]ProducePacketName [10:26:28]name=ofd_packets/00024856 [10:26:28]OFD Sender: To server: pG, [10:26:28]CommunicateWithHost lk.salyk.kg:30040 [10:26:28]ConnectInit lk.salyk.kg [10:26:28]line 0 [10:26:28]written 0, free lines is 4095 [10:26:28]Connected sock=10 [10:26:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 96 02 00 00 DD DF 8E 02 7F 41 5A 03 01 00 03 00 82 02 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 6E 00 8A 04 0D 00 34 37 30 30 30 30 33 32 34 31 32 37 36 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D0 A2 D0 90 D0 9D 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 12 00 00 00 00 07 04 06 00 00 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 0E 00 00 00 F4 03 04 00 D4 DA 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 18 61 00 00 35 04 06 00 32 20 BF 30 46 CA 1F 37 BE D6 ED C8 30 B1 [10:26:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 C1 C0 47 00 98 D0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 18 61 00 00 F4 03 04 00 55 83 14 67 B6 04 01 00 00 3D AF 51 3C DD 14 7F C2 [10:26:29]CommunicateWithHost err = 0 [10:26:29]CheckOFDResponse [10:26:29]1017 (14) - 77093643461234 [10:26:29]1041 (16) - 0000000000965376 [10:26:29]1040 (4) - 24856 [10:26:29]1012 (4) - 20.10.2024 04:13 [10:26:29]1206 (1) - 0 [10:26:29]OFD Sender: Remove packet 24856 [10:26:29]ProducePacketName [10:26:29]name=ofd_packets/00024856 [10:26:29]NVStorageDeleteData [10:26:29]Write to MH i2c: 01 00 00 4C 05 51 [10:26:29]Write i2c OK [10:26:29]MH_I2C_Read... [10:26:29]Read from MH i2c: 01 [10:26:29]MH_I2C_Read... [10:26:29]Read from MH i2c: 01 07 00 [10:26:29]MH_I2C_Read... [10:26:29]Read from MH i2c: 01 07 00 4C 05 00 00 00 00 00 86 0B E9 [10:26:29]RasterBufferAndPrint [10:26:29]line [10:26:29]line [10:26:29]line [10:26:29]line [10:26:29]line [10:26:29]written 0, free lines is 2956 [10:26:29]process_action close_receipt done [10:26:29]requested_data is exist [10:26:29]produce_requested_data [10:26:29]requested_item fm.sn is exist - process it [10:26:29]wFMCommunicate request_size=4 [10:26:29]MH_SAM_APDU [10:26:29]CAPDU: 80 11 00 00 [10:26:29]Write to MH i2c: E2 08 00 53 05 80 11 00 00 00 00 00 00 D2 [10:26:29]Write i2c OK [10:26:29]MH_I2C_Read... [10:26:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:26:29]Read from MH i2c: E2 [10:26:29]MH_I2C_Read... [10:26:29]Read from MH i2c: E2 17 00 [10:26:29]MH_I2C_Read... [10:26:29]Read from MH i2c: E2 17 00 53 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 29 [10:26:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [10:26:29]wFMCommunicate OK [10:26:29]requested_item fd.num is exist - process it [10:26:29]SAM_PROTO_GetFieldsCounters [10:26:29]wFMCommunicate request_size=4 [10:26:29]MH_SAM_APDU [10:26:29]CAPDU: 80 13 00 00 [10:26:29]Write to MH i2c: E2 08 00 54 05 80 13 00 00 00 00 00 00 D5 [10:26:29]Write i2c OK [10:26:29]MH_I2C_Read... [10:26:29]OFD Sender: No OFD packet to send [10:26:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:26:29]Read from MH i2c: E2 [10:26:29]MH_I2C_Read... [10:26:29]Read from MH i2c: E2 62 00 [10:26:29]MH_I2C_Read... [10:26:29]Read from MH i2c: E2 62 00 54 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 18 61 00 00 0E 04 04 00 C7 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 69 [10:26:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 18 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:26:29]wFMCommunicate OK [10:26:29]SAM_PROTO_GetFieldsCounters done [10:26:29]requested_item shift.num is exist - process it [10:26:29]requested_item shift.opened is exist - process it [10:26:29]req_shift_opened [10:26:29]FM_GetShiftState [10:26:29]SAM_PROTO_GetShiftState [10:26:29]wFMCommunicate request_size=4 [10:26:29]MH_SAM_APDU [10:26:29]CAPDU: 80 13 01 00 [10:26:29]Write to MH i2c: E2 08 00 55 05 80 13 01 00 00 00 00 00 D7 [10:26:29]Write i2c OK [10:26:29]MH_I2C_Read... [10:26:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:26:29]Read from MH i2c: E2 [10:26:29]MH_I2C_Read... [10:26:29]Read from MH i2c: E2 0E 00 [10:26:29]MH_I2C_Read... [10:26:29]Read from MH i2c: E2 0E 00 55 05 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 1D [10:26:29]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [10:26:29]wFMCommunicate OK [10:26:29]SAM_PROTO_GetShiftState done [10:26:29]FM_GetShiftState done [10:26:29]req_shift_opened done [10:26:29]requested_item shift.open_date is exist - process it [10:26:29]req_shift_open_date [10:26:29]req_shift_open_date done [10:26:29]produce_requested_data done [10:26:29]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24856,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [10:26:29]process_action_free close_receipt [10:26:29]json_value_free [10:26:29]json_value_free done [10:26:29]process_json_proto returns [10:26:29]Send response to host [10:26:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24856,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [10:26:29]free response buf [10:26:29]execute_script done [10:26:29]execute_script returns [10:26:29]free content buf [10:26:29]Sock 7.Close socket [10:26:29]Sock 7.Thread stoped [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:59]OFD Sender: No OFD packet to send [10:30:04]OFD Sender: No OFD packet to send [10:30:09]OFD Sender: No OFD packet to send [10:30:14]OFD Sender: No OFD packet to send [10:30:19]OFD Sender: No OFD packet to send [10:30:24]OFD Sender: No OFD packet to send [10:30:29]accept exits with 9 [10:30:29]New connection [10:30:29]New thread 3067309412 created [10:30:29]Thread 3067166052 joined [10:30:29]Waiting for new connection... [10:30:29] Sock 9.Parse request [10:30:29]Sock 9.Check first char [10:30:29]Sock 9.First char is OK [10:30:29]request: POST /json_proto HTTP/1.0 [10:30:29]Method: POST [10:30:29]URL: /json_proto [10:30:29]Method is POST - this is cgi request [10:30:29]url: /json_proto [10:30:29]query_string will be loaded in cgi processing [10:30:29]execute_cgi json_proto POST (null) [10:30:29]execute_cgi path=json_proto method=POST [10:30:29]POST find Content-Length [10:30:29]Host: 172.17.53.196:8080 [10:30:29]Content-Length: 657 [10:30:29]Content-Type: application/json [10:30:29] [10:30:29]POST finish read [10:30:29]Found Content-Length = 657 [10:30:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34617", "tax_sys" : 0, "items" : [ { "code": "4607084351361", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 4\u0448\u0442", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:30:29]execute_script... [10:30:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34617", "tax_sys" : 0, "items" : [ { "code": "4607084351361", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 4\u0448\u0442", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:30:29]POST & json_proto [10:30:29]process_json_proto [10:30:29]json parsed OK: [10:30:29]protocol is kg_v1.0 [10:30:29]action value=close_receipt [10:30:29]process_action close_receipt [10:30:29]cmd_close_receipt [10:30:29]MH_GetDate [10:30:29]Write to MH i2c: F0 00 00 56 05 4A [10:30:29]Write i2c OK [10:30:29]MH_I2C_Read... [10:30:29]Read from MH i2c: F0 [10:30:29]MH_I2C_Read... [10:30:29]Read from MH i2c: F0 09 00 [10:30:29]MH_I2C_Read... [10:30:29]Read from MH i2c: F0 09 00 56 05 00 C7 DB 14 67 4F CD 9A 65 8B [10:30:29]GetLastDocTimeStamp 1729419988 [10:30:29]current date 1729420231 [10:30:29]FM_GetShiftState [10:30:29]SAM_PROTO_GetShiftState [10:30:29]wFMCommunicate request_size=4 [10:30:29]MH_SAM_APDU [10:30:29]CAPDU: 80 13 01 00 [10:30:29]Write to MH i2c: E2 08 00 57 05 80 13 01 00 00 00 00 00 D9 [10:30:29]Write i2c OK [10:30:29]MH_I2C_Read... [10:30:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:30:29]Read from MH i2c: E2 [10:30:29]MH_I2C_Read... [10:30:29]Read from MH i2c: E2 0E 00 [10:30:29]MH_I2C_Read... [10:30:29]Read from MH i2c: E2 0E 00 57 05 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 1F [10:30:29]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [10:30:29]wFMCommunicate OK [10:30:29]SAM_PROTO_GetShiftState done [10:30:29]FM_GetShiftState done [10:30:29]opened in 1729384049 [10:30:29]opened+sec_in_day 1729470449 [10:30:29]quantity*price = 13000 [10:30:29]sum+1 = 13001 [10:30:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 15 20.10.2024 10:30 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24857 ФПД: 239623830396834 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T103031&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24857&fm=239623830396834&tin=02508201610067®Number=0000000000098147&sum=13000 0 [10:30:30]StoreToDocumentArchive [10:30:30]shift 455 fd 24857 [10:30:30]save to /storage/0455/doc_00024857 [10:30:30]save last doc name /storage/0455/doc_00024857 to /storage/kkm_last_doc_name [10:30:30]save OK [10:30:30]Clear old archive folders... [10:30:30]ProcessDocumentItem done err = 0, tmpTLVsize=278 [10:30:30]tlvbuf is 00DEC3F0 [10:30:30]SAM_PROTO_ClearQueue [10:30:30]wFMCommunicate request_size=4 [10:30:30]MH_SAM_APDU [10:30:30]CAPDU: 80 09 00 00 [10:30:30]Write to MH i2c: E2 08 00 64 05 80 09 00 00 00 00 00 00 DB [10:30:30]Write i2c OK [10:30:30]MH_I2C_Read... [10:30:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:30:30]Read from MH i2c: E2 [10:30:30]MH_I2C_Read... [10:30:30]Read from MH i2c: E2 03 00 [10:30:30]MH_I2C_Read... [10:30:30]Read from MH i2c: E2 03 00 64 05 00 90 00 DD [10:30:30]RAPDU: 90 00 [10:30:30]wFMCommunicate OK [10:30:30]SAM_PROTO_ClearQueue done [10:30:30]KKMCreateOFDPacket [10:30:30]OFDProtocolAddRootSTLVToBuf [10:30:30]FM_MakeSignedData [10:30:30]FM_MakeSignedData [10:30:30]SAM_PROTO_SignData [10:30:30]wFMCommunicate request_size=4 [10:30:30]MH_SAM_APDU [10:30:30]CAPDU: 80 0D 01 02 [10:30:30]Write to MH i2c: E2 08 00 65 05 80 0D 01 02 00 00 00 00 E3 [10:30:30]Write i2c OK [10:30:30]MH_I2C_Read... [10:30:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:30:30]Read from MH i2c: E2 [10:30:30]MH_I2C_Read... [10:30:30]Read from MH i2c: E2 03 00 [10:30:30]MH_I2C_Read... [10:30:30]Read from MH i2c: E2 03 00 65 05 00 90 00 DE [10:30:30]RAPDU: 90 00 [10:30:30]wFMCommunicate OK [10:30:30]wFMCommunicate request_size=255 [10:30:30]MH_SAM_APDU [10:30:30]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 C7 DB 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 [10:30:30]Write to MH i2c: E2 02 01 66 05 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 C7 DB 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 00 00 18 [10:30:30]Write i2c OK [10:30:30]MH_I2C_Read... [10:30:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:30:30]Read from MH i2c: E2 [10:30:30]MH_I2C_Read... [10:30:30]Read from MH i2c: E2 03 00 [10:30:30]MH_I2C_Read... [10:30:30]Read from MH i2c: E2 03 00 66 05 00 90 00 DF [10:30:30]RAPDU: 90 00 [10:30:30]wFMCommunicate OK [10:30:30]wFMCommunicate request_size=37 [10:30:30]MH_SAM_APDU [10:30:30]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 19 61 00 00 35 04 06 00 D9 EF C5 4A 5F A2 [10:30:30]Write to MH i2c: E2 28 00 67 05 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 19 61 00 00 35 04 06 00 D9 EF C5 4A 5F A2 00 00 93 [10:30:30]Write i2c OK [10:30:30]MH_I2C_Read... [10:30:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:30:31]Read from MH i2c: E2 [10:30:31]MH_I2C_Read... [10:30:31]Read from MH i2c: E2 03 00 [10:30:31]MH_I2C_Read... [10:30:31]Read from MH i2c: E2 03 00 67 05 00 90 00 E0 [10:30:31]RAPDU: 90 00 [10:30:31]wFMCommunicate OK [10:30:31]wFMCommunicate request_size=4 [10:30:31]MH_SAM_APDU [10:30:31]CAPDU: 80 0D 03 02 [10:30:31]Write to MH i2c: E2 08 00 68 05 80 0D 03 02 00 00 00 00 E8 [10:30:31]Write i2c OK [10:30:31]MH_I2C_Read... [10:30:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:30:31]Read from MH i2c: E2 [10:30:31]MH_I2C_Read... [10:30:31]Read from MH i2c: E2 0B 00 [10:30:31]MH_I2C_Read... [10:30:31]Read from MH i2c: E2 0B 00 68 05 00 30 5F 7D 10 8E CC 2B 8F 90 00 19 [10:30:31]RAPDU: 30 5F 7D 10 8E CC 2B 8F 90 00 [10:30:31]wFMCommunicate OK [10:30:31]SAM_PROTO_SignData done [10:30:31]FM_MakeSignedData done [10:30:31]CreateOFDProtocolMessage [10:30:31]wFMCommunicate request_size=4 [10:30:31]MH_SAM_APDU [10:30:31]CAPDU: 80 11 00 00 [10:30:31]Write to MH i2c: E2 08 00 69 05 80 11 00 00 00 00 00 00 E8 [10:30:31]Write i2c OK [10:30:31]MH_I2C_Read... [10:30:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:30:31]Read from MH i2c: E2 [10:30:31]MH_I2C_Read... [10:30:31]Read from MH i2c: E2 17 00 [10:30:31]MH_I2C_Read... [10:30:31]Read from MH i2c: E2 17 00 69 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 3F [10:30:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [10:30:31]wFMCommunicate OK [10:30:31]CreateOFDProtocolMessage done [10:30:31]OFDSenderStorePacket 24857 [10:30:31]StoreOFDPacket docnum=24857 [10:30:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2A 01 00 00 94 FD 22 01 B9 9C 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 C7 DB 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 19 61 00 00 35 04 06 00 D9 EF C5 4A 5F A2 30 5F 7D 10 8E CC 2B 8F [10:30:31]CheckFolder [10:30:31]dirname=/storage/ofd_packets [10:30:31]CheckFolder done [10:30:31]ProducePacketName [10:30:31]name=ofd_packets/00024857 [10:30:31]NVStorageSaveData ofd_packets/00024857 [10:30:31]File name is /storage/ofd_packets/00024857 [10:30:31]Write 328 bytes [10:30:31]NVStorageSaveData done [10:30:31]OFDSenderStorePacket done [10:30:31]KKMCreateOFDPacket done [10:30:31]NVStorageSaveData kkm_last_timestamp [10:30:31]File name is /storage/kkm_last_timestamp [10:30:31]Write 4 bytes [10:30:31]NVStorageSaveData done [10:30:31]ExternCall_PrintAddStr [10:30:31]wPrintStart [10:30:31]Write to MH i2c: 01 00 00 6A 05 6F [10:30:31]Write i2c OK [10:30:31]MH_I2C_Read... [10:30:31]Read from MH i2c: 01 [10:30:31]MH_I2C_Read... [10:30:31]Read from MH i2c: 01 07 00 [10:30:31]MH_I2C_Read... [10:30:31]Read from MH i2c: 01 07 00 6A 05 00 00 00 00 00 FF 0F 84 [10:30:31]RasterBufferAndPrint [10:30:31]line Счет N : (3)34617 [10:30:31]line ИНН: 02508201610067 [10:30:31]line Контрольно-Кассовый Чек [10:30:31]line ПРОДАЖА [10:30:31]line Товар: 4607084351361 [10:30:31]line Бисквит Чоко пай 4шт [10:30:31]line 1.000 * 130.00 [10:30:31]line = 130.00 [10:30:31]line НДС 12% НСП 1% [10:30:31]line > о реализуемом товаре [10:30:31]line ИТОГО: 130.00 [10:30:31]line НСП 1% : 1.15 [10:30:31]line НДС 12% : 13.80 [10:30:31]line Наличными: 130.00 [10:30:31]line Безнал.: 0.00 [10:30:31]line Место: АЗС № 161 "Партнер Нефть" [10:30:31]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [10:30:31]line СНО: Общий режим [10:30:31]line Чек 15 20.10.2024 10:30 [10:30:31]line Смена: 455 ФФД: 1.0 [10:30:31]line ЗНМ: 0300000240 [10:30:31]line РНМ: 0000000000098147 [10:30:31]line Версия ККМ: 001 [10:30:31]line ФМ: 0000000000965376 [10:30:31]line ФД: 24857 [10:30:31]line ФПД: 239623830396834 [10:30:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T103031&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24857&fm=239623830396834&tin=02508201610067®Number=0000000000098147&sum=13000 [10:30:31]line 0 [10:30:31]OFD Sender: Processing packet 24857 [packets to send 5, broken 4] [10:30:31]ProducePacketName [10:30:31]name=ofd_packets/00024857 [10:30:31]OFD Sender: To server: pG, [10:30:31]CommunicateWithHost lk.salyk.kg:30040 [10:30:31]ConnectInit lk.salyk.kg [10:30:31]written 0, free lines is 4095 [10:30:31]Connected sock=10 [10:30:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2A 01 00 00 94 FD 22 01 B9 9C 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 C7 DB 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 19 61 00 00 35 04 06 00 D9 EF C5 4A 5F A2 30 5F 7D 10 8E CC 2B 8F [10:30:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 30 3E 47 00 BE E7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 19 61 00 00 F4 03 04 00 48 84 14 67 B6 04 01 00 00 49 F3 DF 2F 75 1E 92 FB [10:30:31]CommunicateWithHost err = 0 [10:30:31]CheckOFDResponse [10:30:31]1017 (14) - 77093643461234 [10:30:31]1041 (16) - 0000000000965376 [10:30:31]1040 (4) - 24857 [10:30:31]1012 (4) - 20.10.2024 04:17 [10:30:31]1206 (1) - 0 [10:30:31]OFD Sender: Remove packet 24857 [10:30:31]ProducePacketName [10:30:31]name=ofd_packets/00024857 [10:30:31]NVStorageDeleteData [10:30:31]Write to MH i2c: 01 00 00 92 05 97 [10:30:31]Write i2c OK [10:30:31]MH_I2C_Read... [10:30:31]Read from MH i2c: 01 [10:30:31]MH_I2C_Read... [10:30:31]Read from MH i2c: 01 07 00 [10:30:31]MH_I2C_Read... [10:30:31]Read from MH i2c: 01 07 00 92 05 00 00 00 00 00 EE 0C 98 [10:30:31]RasterBufferAndPrint [10:30:31]line [10:30:31]line [10:30:31]line [10:30:31]line [10:30:31]line [10:30:31]written 0, free lines is 3317 [10:30:31]process_action close_receipt done [10:30:31]requested_data is exist [10:30:31]produce_requested_data [10:30:31]requested_item fm.sn is exist - process it [10:30:31]wFMCommunicate request_size=4 [10:30:31]MH_SAM_APDU [10:30:31]CAPDU: 80 11 00 00 [10:30:31]Write to MH i2c: E2 08 00 99 05 80 11 00 00 00 00 00 00 18 [10:30:31]Write i2c OK [10:30:31]MH_I2C_Read... [10:30:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:30:31]Read from MH i2c: E2 [10:30:31]MH_I2C_Read... [10:30:31]Read from MH i2c: E2 17 00 [10:30:31]MH_I2C_Read... [10:30:31]Read from MH i2c: E2 17 00 99 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 6F [10:30:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [10:30:31]wFMCommunicate OK [10:30:31]requested_item fd.num is exist - process it [10:30:31]SAM_PROTO_GetFieldsCounters [10:30:31]wFMCommunicate request_size=4 [10:30:31]MH_SAM_APDU [10:30:31]CAPDU: 80 13 00 00 [10:30:31]Write to MH i2c: E2 08 00 9A 05 80 13 00 00 00 00 00 00 1B [10:30:31]Write i2c OK [10:30:31]MH_I2C_Read... [10:30:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:30:32]Read from MH i2c: E2 [10:30:32]MH_I2C_Read... [10:30:32]Read from MH i2c: E2 62 00 [10:30:32]MH_I2C_Read... [10:30:32]Read from MH i2c: E2 62 00 9A 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 19 61 00 00 0E 04 04 00 C7 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 B3 [10:30:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 19 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:30:32]wFMCommunicate OK [10:30:32]SAM_PROTO_GetFieldsCounters done [10:30:32]requested_item shift.num is exist - process it [10:30:32]requested_item shift.opened is exist - process it [10:30:32]req_shift_opened [10:30:32]FM_GetShiftState [10:30:32]SAM_PROTO_GetShiftState [10:30:32]wFMCommunicate request_size=4 [10:30:32]MH_SAM_APDU [10:30:32]CAPDU: 80 13 01 00 [10:30:32]Write to MH i2c: E2 08 00 9B 05 80 13 01 00 00 00 00 00 1D [10:30:32]Write i2c OK [10:30:32]MH_I2C_Read... [10:30:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:30:32]Read from MH i2c: E2 [10:30:32]MH_I2C_Read... [10:30:32]Read from MH i2c: E2 0E 00 [10:30:32]MH_I2C_Read... [10:30:32]Read from MH i2c: E2 0E 00 9B 05 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 63 [10:30:32]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [10:30:32]wFMCommunicate OK [10:30:32]SAM_PROTO_GetShiftState done [10:30:32]FM_GetShiftState done [10:30:32]req_shift_opened done [10:30:32]requested_item shift.open_date is exist - process it [10:30:32]req_shift_open_date [10:30:32]req_shift_open_date done [10:30:32]produce_requested_data done [10:30:32]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24857,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [10:30:32]process_action_free close_receipt [10:30:32]json_value_free [10:30:32]json_value_free done [10:30:32]process_json_proto returns [10:30:32]Send response to host [10:30:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24857,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [10:30:32]free response buf [10:30:32]execute_script done [10:30:32]execute_script returns [10:30:32]free content buf [10:30:32]Sock 9.Close socket [10:30:32]Sock 9.Thread stoped [10:30:32]OFD Sender: No OFD packet to send [10:30:37]OFD Sender: No OFD packet to send [10:30:42]OFD Sender: No OFD packet to send [10:30:47]OFD Sender: No OFD packet to send [10:30:52]OFD Sender: No OFD packet to send [10:30:57]OFD Sender: No OFD packet to send [10:31:02]OFD Sender: No OFD packet to send [10:31:07]OFD Sender: No OFD packet to send [10:31:12]OFD Sender: No OFD packet to send [10:31:17]OFD Sender: No OFD packet to send [10:31:22]OFD Sender: No OFD packet to send [10:31:27]OFD Sender: No OFD packet to send [10:31:32]OFD Sender: No OFD packet to send [10:31:37]OFD Sender: No OFD packet to send [10:31:42]OFD Sender: No OFD packet to send [10:31:47]OFD Sender: No OFD packet to send [10:31:52]OFD Sender: No OFD packet to send [10:31:57]OFD Sender: No OFD packet to send [10:32:02]OFD Sender: No OFD packet to send [10:32:07]OFD Sender: No OFD packet to send [10:32:12]OFD Sender: No OFD packet to send [10:32:17]OFD Sender: No OFD packet to send [10:32:18]accept exits with 7 [10:32:18]New connection [10:32:18]New thread 3067166052 created [10:32:18]Thread 3067309412 joined [10:32:18]Waiting for new connection... [10:32:18] Sock 7.Parse request [10:32:18]Sock 7.Check first char [10:32:18]Sock 7.First char is OK [10:32:18]request: POST /json_proto HTTP/1.0 [10:32:18]Method: POST [10:32:18]URL: /json_proto [10:32:18]Method is POST - this is cgi request [10:32:18]url: /json_proto [10:32:18]query_string will be loaded in cgi processing [10:32:18]execute_cgi json_proto POST (null) [10:32:18]execute_cgi path=json_proto method=POST [10:32:18]POST find Content-Length [10:32:18]Host: 172.17.53.196:8080 [10:32:18]Content-Length: 632 [10:32:18]Content-Type: application/json [10:32:18] [10:32:18]POST finish read [10:32:18]Found Content-Length = 632 [10:32:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34618", "tax_sys" : 0, "items" : [ { "code": "40822938", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:32:18]execute_script... [10:32: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)34618", "tax_sys" : 0, "items" : [ { "code": "40822938", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:32:18]POST & json_proto [10:32:18]process_json_proto [10:32:18]json parsed OK: [10:32:18]protocol is kg_v1.0 [10:32:18]action value=close_receipt [10:32:18]process_action close_receipt [10:32:18]cmd_close_receipt [10:32:18]MH_GetDate [10:32:18]Write to MH i2c: F0 00 00 9C 05 90 [10:32:18]Write i2c OK [10:32:18]MH_I2C_Read... [10:32:18]Read from MH i2c: F0 [10:32:18]MH_I2C_Read... [10:32:18]Read from MH i2c: F0 09 00 [10:32:18]MH_I2C_Read... [10:32:18]Read from MH i2c: F0 09 00 9C 05 00 34 DC 14 67 4F CD 9A 65 3F [10:32:18]GetLastDocTimeStamp 1729420231 [10:32:18]current date 1729420340 [10:32:18]FM_GetShiftState [10:32:18]SAM_PROTO_GetShiftState [10:32:18]wFMCommunicate request_size=4 [10:32:18]MH_SAM_APDU [10:32:18]CAPDU: 80 13 01 00 [10:32:18]Write to MH i2c: E2 08 00 9D 05 80 13 01 00 00 00 00 00 1F [10:32:18]Write i2c OK [10:32:18]MH_I2C_Read... [10:32:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:32:18]Read from MH i2c: E2 [10:32:18]MH_I2C_Read... [10:32:18]Read from MH i2c: E2 0E 00 [10:32:18]MH_I2C_Read... [10:32:18]Read from MH i2c: E2 0E 00 9D 05 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 65 [10:32:18]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [10:32:18]wFMCommunicate OK [10:32:18]SAM_PROTO_GetShiftState done [10:32:18]FM_GetShiftState done [10:32:18]opened in 1729384049 [10:32:18]opened+sec_in_day 1729470449 [10:32:18]quantity*price = 7500 [10:32:18]sum+1 = 7501 [10:32:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 16 20.10.2024 10:32 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24858 ФПД: 245638116857541 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T103220&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24858&fm=245638116857541&tin=02508201610067®Number=0000000000098147&sum=7500 0 [10:32:19]StoreToDocumentArchive [10:32:19]shift 455 fd 24858 [10:32:19]save to /storage/0455/doc_00024858 [10:32:19]save last doc name /storage/0455/doc_00024858 to /storage/kkm_last_doc_name [10:32:19]save OK [10:32:19]Clear old archive folders... [10:32:19]ProcessDocumentItem done err = 0, tmpTLVsize=268 [10:32:19]tlvbuf is 00DDFDD0 [10:32:19]SAM_PROTO_ClearQueue [10:32:19]wFMCommunicate request_size=4 [10:32:19]MH_SAM_APDU [10:32:19]CAPDU: 80 09 00 00 [10:32:19]Write to MH i2c: E2 08 00 AA 05 80 09 00 00 00 00 00 00 21 [10:32:19]Write i2c OK [10:32:19]MH_I2C_Read... [10:32:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:32:19]Read from MH i2c: E2 [10:32:19]MH_I2C_Read... [10:32:19]Read from MH i2c: E2 03 00 [10:32:19]MH_I2C_Read... [10:32:19]Read from MH i2c: E2 03 00 AA 05 00 90 00 23 [10:32:19]RAPDU: 90 00 [10:32:19]wFMCommunicate OK [10:32:19]SAM_PROTO_ClearQueue done [10:32:19]KKMCreateOFDPacket [10:32:19]OFDProtocolAddRootSTLVToBuf [10:32:19]FM_MakeSignedData [10:32:19]FM_MakeSignedData [10:32:19]SAM_PROTO_SignData [10:32:19]wFMCommunicate request_size=4 [10:32:19]MH_SAM_APDU [10:32:19]CAPDU: 80 0D 01 02 [10:32:19]Write to MH i2c: E2 08 00 AB 05 80 0D 01 02 00 00 00 00 29 [10:32:19]Write i2c OK [10:32:19]MH_I2C_Read... [10:32:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:32:19]Read from MH i2c: E2 [10:32:19]MH_I2C_Read... [10:32:19]Read from MH i2c: E2 03 00 [10:32:19]MH_I2C_Read... [10:32:19]Read from MH i2c: E2 03 00 AB 05 00 90 00 24 [10:32:19]RAPDU: 90 00 [10:32:19]wFMCommunicate OK [10:32:19]wFMCommunicate request_size=255 [10:32:19]MH_SAM_APDU [10:32:19]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 34 DC 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 [10:32:19]Write to MH i2c: E2 02 01 AC 05 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 34 DC 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 00 00 EB [10:32:19]Write i2c OK [10:32:19]MH_I2C_Read... [10:32:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:32:19]Read from MH i2c: E2 [10:32:19]MH_I2C_Read... [10:32:19]Read from MH i2c: E2 03 00 [10:32:19]MH_I2C_Read... [10:32:19]Read from MH i2c: E2 03 00 AC 05 00 90 00 25 [10:32:19]RAPDU: 90 00 [10:32:19]wFMCommunicate OK [10:32:19]wFMCommunicate request_size=27 [10:32:19]MH_SAM_APDU [10:32:19]CAPDU: 80 0D 02 02 16 35 33 37 36 10 04 04 00 1A 61 00 00 35 04 06 00 DF 68 14 B2 D6 C5 [10:32:19]Write to MH i2c: E2 1E 00 AD 05 80 0D 02 02 16 00 35 33 37 36 10 04 04 00 1A 61 00 00 35 04 06 00 DF 68 14 B2 D6 C5 00 00 A7 [10:32:19]Write i2c OK [10:32:19]MH_I2C_Read... [10:32:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:32:19]Read from MH i2c: E2 [10:32:19]MH_I2C_Read... [10:32:19]Read from MH i2c: E2 03 00 [10:32:19]MH_I2C_Read... [10:32:19]Read from MH i2c: E2 03 00 AD 05 00 90 00 26 [10:32:19]RAPDU: 90 00 [10:32:19]wFMCommunicate OK [10:32:19]wFMCommunicate request_size=4 [10:32:19]MH_SAM_APDU [10:32:19]CAPDU: 80 0D 03 02 [10:32:19]Write to MH i2c: E2 08 00 AE 05 80 0D 03 02 00 00 00 00 2E [10:32:19]Write i2c OK [10:32:19]MH_I2C_Read... [10:32:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:32:20]Read from MH i2c: E2 [10:32:20]MH_I2C_Read... [10:32:20]Read from MH i2c: E2 0B 00 [10:32:20]MH_I2C_Read... [10:32:20]Read from MH i2c: E2 0B 00 AE 05 00 42 16 9A 08 03 5F 82 EF 90 00 FC [10:32:20]RAPDU: 42 16 9A 08 03 5F 82 EF 90 00 [10:32:20]wFMCommunicate OK [10:32:20]SAM_PROTO_SignData done [10:32:20]FM_MakeSignedData done [10:32:20]CreateOFDProtocolMessage [10:32:20]wFMCommunicate request_size=4 [10:32:20]MH_SAM_APDU [10:32:20]CAPDU: 80 11 00 00 [10:32:20]Write to MH i2c: E2 08 00 AF 05 80 11 00 00 00 00 00 00 2E [10:32:20]Write i2c OK [10:32:20]MH_I2C_Read... [10:32:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:32:20]Read from MH i2c: E2 [10:32:20]MH_I2C_Read... [10:32:20]Read from MH i2c: E2 17 00 [10:32:20]MH_I2C_Read... [10:32:20]Read from MH i2c: E2 17 00 AF 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 85 [10:32:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [10:32:20]wFMCommunicate OK [10:32:20]CreateOFDProtocolMessage done [10:32:20]OFDSenderStorePacket 24858 [10:32:20]StoreOFDPacket docnum=24858 [10:32:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 20 01 00 00 79 C2 18 01 92 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 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 34 DC 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1A 61 00 00 35 04 06 00 DF 68 14 B2 D6 C5 42 16 9A 08 03 5F 82 EF [10:32:20]CheckFolder [10:32:20]dirname=/storage/ofd_packets [10:32:20]CheckFolder done [10:32:20]ProducePacketName [10:32:20]name=ofd_packets/00024858 [10:32:20]NVStorageSaveData ofd_packets/00024858 [10:32:20]File name is /storage/ofd_packets/00024858 [10:32:20]Write 318 bytes [10:32:20]NVStorageSaveData done [10:32:20]OFDSenderStorePacket done [10:32:20]KKMCreateOFDPacket done [10:32:20]NVStorageSaveData kkm_last_timestamp [10:32:20]File name is /storage/kkm_last_timestamp [10:32:20]Write 4 bytes [10:32:20]NVStorageSaveData done [10:32:20]ExternCall_PrintAddStr [10:32:20]wPrintStart [10:32:20]Write to MH i2c: 01 00 00 B0 05 B5 [10:32:20]OFD Sender: Processing packet 24858 [packets to send 5, broken 4] [10:32:20]ProducePacketName [10:32:20]name=ofd_packets/00024858 [10:32:20]OFD Sender: To server: pG, [10:32:20]CommunicateWithHost lk.salyk.kg:30040 [10:32:20]ConnectInit lk.salyk.kg [10:32:20]Write i2c OK [10:32:20]MH_I2C_Read... [10:32:20]Read from MH i2c: 01 [10:32:20]MH_I2C_Read... [10:32:20]Read from MH i2c: 01 07 00 [10:32:20]MH_I2C_Read... [10:32:20]Read from MH i2c: 01 07 00 B0 05 00 00 00 00 00 FF 0F CA [10:32:20]RasterBufferAndPrint [10:32:20]line Счет N : (3)34618 [10:32:20]line ИНН: 02508201610067 [10:32:20]line Контрольно-Кассовый Чек [10:32:20]line ПРОДАЖА [10:32:20]line Товар: 40822938 [10:32:20]line Напиток Фанта 0,5л [10:32:20]line 1.000 * 75.00 [10:32:20]line = 75.00 [10:32:20]line НДС 12% НСП 1% [10:32:20]line > о реализуемом товаре [10:32:20]line ИТОГО: 75.00 [10:32:20]line НСП 1% : 0.66 [10:32:20]line НДС 12% : 7.96 [10:32:20]line Наличными: 75.00 [10:32:20]line Безнал.: 0.00 [10:32:20]line Место: АЗС № 161 "Партнер Нефть" [10:32:20]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [10:32:20]line СНО: Общий режим [10:32:20]line Чек 16 20.10.2024 10:32 [10:32:20]line Смена: 455 ФФД: 1.0 [10:32:20]line ЗНМ: 0300000240 [10:32:20]line РНМ: 0000000000098147 [10:32:20]line Версия ККМ: 001 [10:32:20]line ФМ: 0000000000965376 [10:32:20]line ФД: 24858 [10:32:20]line ФПД: 245638116857541 [10:32:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T103220&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24858&fm=245638116857541&tin=02508201610067®Number=0000000000098147&sum=7500 [10:32:20]Connected sock=10 [10:32: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 33 37 36 20 01 00 00 79 C2 18 01 92 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 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 34 DC 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1A 61 00 00 35 04 06 00 DF 68 14 B2 D6 C5 42 16 9A 08 03 5F 82 EF [10:32:20]line 0 [10:32:20]written 0, free lines is 4095 [10:32:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 EF 5A 47 00 D6 A4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1A 61 00 00 F4 03 04 00 B5 84 14 67 B6 04 01 00 00 92 8D 20 A0 C0 2F A2 9D [10:32:20]CommunicateWithHost err = 0 [10:32:20]CheckOFDResponse [10:32:20]1017 (14) - 77093643461234 [10:32:20]1041 (16) - 0000000000965376 [10:32:20]1040 (4) - 24858 [10:32:20]1012 (4) - 20.10.2024 04:19 [10:32:20]1206 (1) - 0 [10:32:20]OFD Sender: Remove packet 24858 [10:32:20]ProducePacketName [10:32:20]name=ofd_packets/00024858 [10:32:20]NVStorageDeleteData [10:32:20]Write to MH i2c: 01 00 00 D8 05 DD [10:32:20]Write i2c OK [10:32:20]MH_I2C_Read... [10:32:20]Read from MH i2c: 01 [10:32:20]MH_I2C_Read... [10:32:20]Read from MH i2c: 01 07 00 [10:32:20]MH_I2C_Read... [10:32:20]Read from MH i2c: 01 07 00 D8 05 00 00 00 00 00 E4 0C D4 [10:32:20]RasterBufferAndPrint [10:32:20]line [10:32:20]line [10:32:20]line [10:32:20]line [10:32:20]line [10:32:20]written 0, free lines is 3307 [10:32:20]process_action close_receipt done [10:32:20]requested_data is exist [10:32:20]produce_requested_data [10:32:20]requested_item fm.sn is exist - process it [10:32:20]wFMCommunicate request_size=4 [10:32:20]MH_SAM_APDU [10:32:20]CAPDU: 80 11 00 00 [10:32:20]Write to MH i2c: E2 08 00 DF 05 80 11 00 00 00 00 00 00 5E [10:32:20]Write i2c OK [10:32:20]MH_I2C_Read... [10:32:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:32:20]Read from MH i2c: E2 [10:32:20]MH_I2C_Read... [10:32:20]Read from MH i2c: E2 17 00 [10:32:20]MH_I2C_Read... [10:32:20]Read from MH i2c: E2 17 00 DF 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 B5 [10:32:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [10:32:20]wFMCommunicate OK [10:32:20]requested_item fd.num is exist - process it [10:32:20]SAM_PROTO_GetFieldsCounters [10:32:20]wFMCommunicate request_size=4 [10:32:20]MH_SAM_APDU [10:32:20]CAPDU: 80 13 00 00 [10:32:20]Write to MH i2c: E2 08 00 E0 05 80 13 00 00 00 00 00 00 61 [10:32:20]Write i2c OK [10:32:20]MH_I2C_Read... [10:32:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:32:21]Read from MH i2c: E2 [10:32:21]MH_I2C_Read... [10:32:21]Read from MH i2c: E2 62 00 [10:32:21]MH_I2C_Read... [10:32:21]Read from MH i2c: E2 62 00 E0 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 1A 61 00 00 0E 04 04 00 C7 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 FD [10:32:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 1A 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:32:21]wFMCommunicate OK [10:32:21]SAM_PROTO_GetFieldsCounters done [10:32:21]requested_item shift.num is exist - process it [10:32:21]requested_item shift.opened is exist - process it [10:32:21]req_shift_opened [10:32:21]FM_GetShiftState [10:32:21]SAM_PROTO_GetShiftState [10:32:21]wFMCommunicate request_size=4 [10:32:21]MH_SAM_APDU [10:32:21]CAPDU: 80 13 01 00 [10:32:21]Write to MH i2c: E2 08 00 E1 05 80 13 01 00 00 00 00 00 63 [10:32:21]Write i2c OK [10:32:21]MH_I2C_Read... [10:32:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:32:21]Read from MH i2c: E2 [10:32:21]MH_I2C_Read... [10:32:21]Read from MH i2c: E2 0E 00 [10:32:21]MH_I2C_Read... [10:32:21]Read from MH i2c: E2 0E 00 E1 05 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 A9 [10:32:21]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [10:32:21]wFMCommunicate OK [10:32:21]SAM_PROTO_GetShiftState done [10:32:21]FM_GetShiftState done [10:32:21]req_shift_opened done [10:32:21]requested_item shift.open_date is exist - process it [10:32:21]req_shift_open_date [10:32:21]req_shift_open_date done [10:32:21]produce_requested_data done [10:32:21]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24858,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [10:32:21]process_action_free close_receipt [10:32:21]json_value_free [10:32:21]json_value_free done [10:32:21]process_json_proto returns [10:32:21]Send response to host [10:32:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24858,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [10:32:21]free response buf [10:32:21]execute_script done [10:32:21]execute_script returns [10:32:21]free content buf [10:32:21]Sock 7.Close socket [10:32:21]Sock 7.Thread stoped [10:32:21]OFD Sender: No OFD packet to send [10:32:26]OFD Sender: No OFD packet to send [10:32:31]OFD Sender: No OFD packet to send [10:32:36]OFD Sender: No OFD packet to send [10:32:41]OFD Sender: No OFD packet to send [10:32:46]OFD Sender: No OFD packet to send [10:32:51]OFD Sender: No OFD packet to send [10:32:56]OFD Sender: No OFD packet to send [10:33:01]OFD Sender: No OFD packet to send [10:33:06]OFD Sender: No OFD packet to send [10:33:11]OFD Sender: No OFD packet to send [10:33:16]OFD Sender: No OFD packet to send [10:33:21]OFD Sender: No OFD packet to send [10:33:26]OFD Sender: No OFD packet to send [10:33:31]OFD Sender: No OFD packet to send [10:33:36]OFD Sender: No OFD packet to send [10:33:41]OFD Sender: No OFD packet to send [10:33:46]OFD Sender: No OFD packet to send [10:33:51]OFD Sender: No OFD packet to send [10:33:56]OFD Sender: No OFD packet to send [10:34:01]OFD Sender: No OFD packet to send [10:34:06]OFD Sender: No OFD packet to send [10:34:11]OFD Sender: No OFD packet to send [10:34:16]OFD Sender: No OFD packet to send [10:34:21]OFD Sender: No OFD packet to send [10:34:26]OFD Sender: No OFD packet to send [10:34:31]OFD Sender: No OFD packet to send [10:34:33]accept exits with 9 [10:34:33]New connection [10:34:33]New thread 3067309412 created [10:34:33]Thread 3067166052 joined [10:34:33]Waiting for new connection... [10:34:33] Sock 9.Parse request [10:34:33]Sock 9.Check first char [10:34:33]Sock 9.First char is OK [10:34:33]request: POST /json_proto HTTP/1.0 [10:34:33]Method: POST [10:34:33]URL: /json_proto [10:34:33]Method is POST - this is cgi request [10:34:33]url: /json_proto [10:34:33]query_string will be loaded in cgi processing [10:34:33]execute_cgi json_proto POST (null) [10:34:33]execute_cgi path=json_proto method=POST [10:34:33]POST find Content-Length [10:34:33]Host: 172.17.53.196:8080 [10:34:33]Content-Length: 1365 [10:34:33]Content-Type: application/json [10:34:33] [10:34:33]POST finish read [10:34:33]Found Content-Length = 1365 [10:34:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34619", "tax_sys" : 0, "items" : [ { "code": "5449000273673", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 1\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600338001623", "name": "\u0412\u043E\u0434\u0430 \u0424\u0440\u0443\u0442\u043E \u041D\u042F\u041D\u042F \u043D\u0435\u0433\u0430\u0437\u0438\u0440 \u0434/\u0434\u0435\u0442\u0435\u0439 0,33\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159390729", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 \u042D\u043A\u0441\u0442\u0440\u0430 82\u0433", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 344.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:34:33]execute_script... [10:34: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)34619", "tax_sys" : 0, "items" : [ { "code": "5449000273673", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 1\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600338001623", "name": "\u0412\u043E\u0434\u0430 \u0424\u0440\u0443\u0442\u043E \u041D\u042F\u041D\u042F \u043D\u0435\u0433\u0430\u0437\u0438\u0440 \u0434/\u0434\u0435\u0442\u0435\u0439 0,33\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159390729", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 \u042D\u043A\u0441\u0442\u0440\u0430 82\u0433", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 344.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:34:33]POST & json_proto [10:34:33]process_json_proto [10:34:33]json parsed OK: [10:34:33]protocol is kg_v1.0 [10:34:33]action value=close_receipt [10:34:33]process_action close_receipt [10:34:33]cmd_close_receipt [10:34:33]MH_GetDate [10:34:33]Write to MH i2c: F0 00 00 E2 05 D6 [10:34:33]Write i2c OK [10:34:33]MH_I2C_Read... [10:34:33]Read from MH i2c: F0 [10:34:33]MH_I2C_Read... [10:34:33]Read from MH i2c: F0 09 00 [10:34:33]MH_I2C_Read... [10:34:33]Read from MH i2c: F0 09 00 E2 05 00 BC DC 14 67 4F CD 9A 65 0D [10:34:33]GetLastDocTimeStamp 1729420340 [10:34:33]current date 1729420476 [10:34:33]FM_GetShiftState [10:34:33]SAM_PROTO_GetShiftState [10:34:33]wFMCommunicate request_size=4 [10:34:33]MH_SAM_APDU [10:34:33]CAPDU: 80 13 01 00 [10:34:33]Write to MH i2c: E2 08 00 E3 05 80 13 01 00 00 00 00 00 65 [10:34:33]Write i2c OK [10:34:33]MH_I2C_Read... [10:34:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:34:33]Read from MH i2c: E2 [10:34:33]MH_I2C_Read... [10:34:33]Read from MH i2c: E2 0E 00 [10:34:33]MH_I2C_Read... [10:34:33]Read from MH i2c: E2 0E 00 E3 05 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 AB [10:34:33]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [10:34:33]wFMCommunicate OK [10:34:33]SAM_PROTO_GetShiftState done [10:34:33]FM_GetShiftState done [10:34:33]opened in 1729384049 [10:34:33]opened+sec_in_day 1729470449 [10:34:33]quantity*price = 17500 [10:34:33]sum+1 = 17501 [10:34:34]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600338001623 Вода Фруто НЯНЯ негазир д/детей 0,33л 1.000 * 80.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5000159390729 Шок Батончик Твикс Экстра 82г 1.000 * 89.00 = 89.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 344.00 НСП 1% : 3.05 НДС 12% : 36.53 Наличными: 344.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 17 20.10.2024 10:34 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24859 ФПД: 184063110852278 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T103436&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24859&fm=184063110852278&tin=02508201610067®Number=0000000000098147&sum=34400 0 [10:34:34]StoreToDocumentArchive [10:34:34]shift 455 fd 24859 [10:34:34]save to /storage/0455/doc_00024859 [10:34:34]save last doc name /storage/0455/doc_00024859 to /storage/kkm_last_doc_name [10:34:34]save OK [10:34:34]Clear old archive folders... [10:34:34]ProcessDocumentItem done err = 0, tmpTLVsize=562 [10:34:34]tlvbuf is 00DEEC50 [10:34:34]SAM_PROTO_ClearQueue [10:34:34]wFMCommunicate request_size=4 [10:34:34]MH_SAM_APDU [10:34:34]CAPDU: 80 09 00 00 [10:34:34]Write to MH i2c: E2 08 00 F0 05 80 09 00 00 00 00 00 00 67 [10:34:34]Write i2c OK [10:34:34]MH_I2C_Read... [10:34:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:34:35]Read from MH i2c: E2 [10:34:35]MH_I2C_Read... [10:34:35]Read from MH i2c: E2 03 00 [10:34:35]MH_I2C_Read... [10:34:35]Read from MH i2c: E2 03 00 F0 05 00 90 00 69 [10:34:35]RAPDU: 90 00 [10:34:35]wFMCommunicate OK [10:34:35]SAM_PROTO_ClearQueue done [10:34:35]KKMCreateOFDPacket [10:34:35]OFDProtocolAddRootSTLVToBuf [10:34:35]FM_MakeSignedData [10:34:35]FM_MakeSignedData [10:34:35]SAM_PROTO_SignData [10:34:35]wFMCommunicate request_size=4 [10:34:35]MH_SAM_APDU [10:34:35]CAPDU: 80 0D 01 02 [10:34:35]Write to MH i2c: E2 08 00 F1 05 80 0D 01 02 00 00 00 00 6F [10:34:35]Write i2c OK [10:34:35]MH_I2C_Read... [10:34:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:34:35]Read from MH i2c: E2 [10:34:35]MH_I2C_Read... [10:34:35]Read from MH i2c: E2 03 00 [10:34:35]MH_I2C_Read... [10:34:35]Read from MH i2c: E2 03 00 F1 05 00 90 00 6A [10:34:35]RAPDU: 90 00 [10:34:35]wFMCommunicate OK [10:34:35]wFMCommunicate request_size=255 [10:34:35]MH_SAM_APDU [10:34:35]CAPDU: 80 0D 02 02 FA 03 00 32 02 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 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 5C 44 00 00 00 00 13 04 06 00 5C 44 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 34 36 30 30 33 33 38 30 30 31 36 32 33 06 04 40 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 20 D0 B4 2F D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 [10:34:35]Write to MH i2c: E2 02 01 F2 05 80 0D 02 02 FA 00 03 00 32 02 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 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 5C 44 00 00 00 00 13 04 06 00 5C 44 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 34 36 30 30 33 33 38 30 30 31 36 32 33 06 04 40 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 20 D0 B4 2F D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 62 [10:34:35]Write i2c OK [10:34:35]MH_I2C_Read... [10:34:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:34:35]Read from MH i2c: E2 [10:34:35]MH_I2C_Read... [10:34:35]Read from MH i2c: E2 03 00 [10:34:35]MH_I2C_Read... [10:34:35]Read from MH i2c: E2 03 00 F2 05 00 90 00 6B [10:34:35]RAPDU: 90 00 [10:34:35]wFMCommunicate OK [10:34:35]wFMCommunicate request_size=255 [10:34:35]MH_SAM_APDU [10:34:35]CAPDU: 80 0D 02 02 FA 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 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 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 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 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 60 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 45 0E 00 00 00 00 07 04 06 00 60 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 BC DC 14 67 0E 04 04 00 C7 [10:34:35]Write to MH i2c: E2 02 01 F3 05 80 0D 02 02 FA 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 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 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 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 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 60 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 45 0E 00 00 00 00 07 04 06 00 60 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 BC DC 14 67 0E 04 04 00 C7 00 00 FB [10:34:35]Write i2c OK [10:34:35]MH_I2C_Read... [10:34:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:34:35]Read from MH i2c: E2 [10:34:35]MH_I2C_Read... [10:34:35]Read from MH i2c: E2 03 00 [10:34:35]MH_I2C_Read... [10:34:35]Read from MH i2c: E2 03 00 F3 05 00 90 00 6C [10:34:35]RAPDU: 90 00 [10:34:35]wFMCommunicate OK [10:34:35]wFMCommunicate request_size=71 [10:34:35]MH_SAM_APDU [10:34:35]CAPDU: 80 0D 02 02 42 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1B 61 00 00 35 04 06 00 A7 67 88 56 AE B6 [10:34:35]Write to MH i2c: E2 4A 00 F4 05 80 0D 02 02 42 00 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1B 61 00 00 35 04 06 00 A7 67 88 56 AE B6 00 00 61 [10:34:35]Write i2c OK [10:34:35]MH_I2C_Read... [10:34:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:34:36]Read from MH i2c: E2 [10:34:36]MH_I2C_Read... [10:34:36]Read from MH i2c: E2 03 00 [10:34:36]MH_I2C_Read... [10:34:36]Read from MH i2c: E2 03 00 F4 05 00 90 00 6D [10:34:36]RAPDU: 90 00 [10:34:36]wFMCommunicate OK [10:34:36]wFMCommunicate request_size=4 [10:34:36]MH_SAM_APDU [10:34:36]CAPDU: 80 0D 03 02 [10:34:36]Write to MH i2c: E2 08 00 F5 05 80 0D 03 02 00 00 00 00 75 [10:34:36]Write i2c OK [10:34:36]MH_I2C_Read... [10:34:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:34:36]Read from MH i2c: E2 [10:34:36]MH_I2C_Read... [10:34:36]Read from MH i2c: E2 0B 00 [10:34:36]MH_I2C_Read... [10:34:36]Read from MH i2c: E2 0B 00 F5 05 00 4C 4D 83 3D 10 73 D2 FA 90 00 1E [10:34:36]RAPDU: 4C 4D 83 3D 10 73 D2 FA 90 00 [10:34:36]wFMCommunicate OK [10:34:36]SAM_PROTO_SignData done [10:34:36]FM_MakeSignedData done [10:34:36]CreateOFDProtocolMessage [10:34:36]wFMCommunicate request_size=4 [10:34:36]MH_SAM_APDU [10:34:36]CAPDU: 80 11 00 00 [10:34:36]Write to MH i2c: E2 08 00 F6 05 80 11 00 00 00 00 00 00 75 [10:34:36]Write i2c OK [10:34:36]MH_I2C_Read... [10:34:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:34:36]Read from MH i2c: E2 [10:34:36]MH_I2C_Read... [10:34:36]Read from MH i2c: E2 17 00 [10:34:36]MH_I2C_Read... [10:34:36]Read from MH i2c: E2 17 00 F6 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 CC [10:34:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [10:34:36]wFMCommunicate OK [10:34:36]CreateOFDProtocolMessage done [10:34:36]OFDSenderStorePacket 24859 [10:34:36]StoreOFDPacket docnum=24859 [10:34:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 46 02 00 00 16 6E 3E 02 38 A2 5A 03 01 00 03 00 32 02 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 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 5C 44 00 00 00 00 13 04 06 00 5C 44 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 34 36 30 30 33 33 38 30 30 31 36 32 33 06 04 40 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 20 D0 B4 2F D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 33 33 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 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 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 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 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 60 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 45 0E 00 00 00 00 07 04 06 00 60 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 BC DC 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1B 61 00 00 35 04 06 00 A7 67 88 56 AE B6 4C 4D 83 3D 10 73 D2 FA [10:34:36]CheckFolder [10:34:36]dirname=/storage/ofd_packets [10:34:36]CheckFolder done [10:34:36]ProducePacketName [10:34:36]name=ofd_packets/00024859 [10:34:36]NVStorageSaveData ofd_packets/00024859 [10:34:36]File name is /storage/ofd_packets/00024859 [10:34:36]Write 612 bytes [10:34:36]NVStorageSaveData done [10:34:36]OFDSenderStorePacket done [10:34:36]KKMCreateOFDPacket done [10:34:36]NVStorageSaveData kkm_last_timestamp [10:34:36]File name is /storage/kkm_last_timestamp [10:34:36]Write 4 bytes [10:34:36]NVStorageSaveData done [10:34:36]ExternCall_PrintAddStr [10:34:36]wPrintStart [10:34:36]Write to MH i2c: 01 00 00 F7 05 FC [10:34:36]Write i2c OK [10:34:36]MH_I2C_Read... [10:34:36]Read from MH i2c: 01 [10:34:36]MH_I2C_Read... [10:34:36]Read from MH i2c: 01 07 00 [10:34:36]MH_I2C_Read... [10:34:36]Read from MH i2c: 01 07 00 F7 05 00 00 00 00 00 FF 0F 11 [10:34:36]RasterBufferAndPrint [10:34:36]line Счет N : (3)34619 [10:34:36]line ИНН: 02508201610067 [10:34:36]line Контрольно-Кассовый Чек [10:34:36]line ПРОДАЖА [10:34:36]line Товар: 5449000273673 [10:34:36]line Сок Piko Pulpy красный виноград ПЭТ 1л [10:34:36]line 1.000 * 175.00 [10:34:36]line = 175.00 [10:34:36]line НДС 12% НСП 1% [10:34:36]line > о реализуемом товаре [10:34:36]line Товар: 4600338001623 [10:34:36]line Вода Фруто НЯНЯ негазир д/детей 0,33л [10:34:36]line 1.000 * 80.00 [10:34:36]line = 80.00 [10:34:36]line НДС 12% НСП 1% [10:34:36]line > о реализуемом товаре [10:34:36]line Товар: 5000159390729 [10:34:36]line Шок Батончик Твикс Экстра 82г [10:34:36]line 1.000 * 89.00 [10:34:36]line = 89.00 [10:34:36]line НДС 12% НСП 1% [10:34:36]line > о реализуемом товаре [10:34:36]line ИТОГО: 344.00 [10:34:36]line НСП 1% : 3.05 [10:34:36]line НДС 12% : 36.53 [10:34:36]line Наличными: 344.00 [10:34:36]line Безнал.: 0.00 [10:34:36]line Место: АЗС № 161 "Партнер Нефть" [10:34:36]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [10:34:36]line СНО: Общий режим [10:34:36]line Чек 17 20.10.2024 10:34 [10:34:36]line Смена: 455 ФФД: 1.0 [10:34:36]line ЗНМ: 0300000240 [10:34:36]line РНМ: 0000000000098147 [10:34:36]line Версия ККМ: 001 [10:34:36]line ФМ: 0000000000965376 [10:34:36]line ФД: 24859 [10:34:36]line ФПД: 184063110852278 [10:34:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T103436&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24859&fm=184063110852278&tin=02508201610067®Number=0000000000098147&sum=34400 [10:34:36]OFD Sender: Processing packet 24859 [packets to send 5, broken 4] [10:34:36]ProducePacketName [10:34:36]name=ofd_packets/00024859 [10:34:36]OFD Sender: To server: pG, [10:34:36]CommunicateWithHost lk.salyk.kg:30040 [10:34:36]ConnectInit lk.salyk.kg [10:34:36]line 0 [10:34:36]written 0, free lines is 4095 [10:34:36]Connected sock=10 [10:34:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 46 02 00 00 16 6E 3E 02 38 A2 5A 03 01 00 03 00 32 02 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 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 5C 44 00 00 00 00 13 04 06 00 5C 44 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 34 36 30 30 33 33 38 30 30 31 36 32 33 06 04 40 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 20 D0 B4 2F D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 33 33 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 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 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 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 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 60 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 45 0E 00 00 00 00 07 04 06 00 60 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 BC DC 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1B 61 00 00 35 04 06 00 A7 67 88 56 AE B6 4C 4D 83 3D 10 73 D2 FA [10:34:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 ED 5B 47 00 42 16 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1B 61 00 00 F4 03 04 00 3D 85 14 67 B6 04 01 00 00 42 0C 32 20 AC F7 D5 39 [10:34:36]CommunicateWithHost err = 0 [10:34:36]CheckOFDResponse [10:34:36]1017 (14) - 77093643461234 [10:34:36]1041 (16) - 0000000000965376 [10:34:36]1040 (4) - 24859 [10:34:36]1012 (4) - 20.10.2024 04:21 [10:34:36]1206 (1) - 0 [10:34:36]OFD Sender: Remove packet 24859 [10:34:36]ProducePacketName [10:34:36]name=ofd_packets/00024859 [10:34:36]NVStorageDeleteData [10:34:37]Write to MH i2c: 01 00 00 2E 06 34 [10:34:37]Write i2c OK [10:34:37]MH_I2C_Read... [10:34:37]Read from MH i2c: 01 [10:34:37]MH_I2C_Read... [10:34:37]Read from MH i2c: 01 07 00 [10:34:37]MH_I2C_Read... [10:34:37]Read from MH i2c: 01 07 00 2E 06 00 00 00 00 00 F4 0B 3A [10:34:37]RasterBufferAndPrint [10:34:37]line [10:34:37]line [10:34:37]line [10:34:37]line [10:34:37]line [10:34:37]written 0, free lines is 3066 [10:34:37]process_action close_receipt done [10:34:37]requested_data is exist [10:34:37]produce_requested_data [10:34:37]requested_item fm.sn is exist - process it [10:34:37]wFMCommunicate request_size=4 [10:34:37]MH_SAM_APDU [10:34:37]CAPDU: 80 11 00 00 [10:34:37]Write to MH i2c: E2 08 00 35 06 80 11 00 00 00 00 00 00 B5 [10:34:37]Write i2c OK [10:34:37]MH_I2C_Read... [10:34:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:34:37]Read from MH i2c: E2 [10:34:37]MH_I2C_Read... [10:34:37]Read from MH i2c: E2 17 00 [10:34:37]MH_I2C_Read... [10:34:37]Read from MH i2c: E2 17 00 35 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 0C [10:34:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [10:34:37]wFMCommunicate OK [10:34:37]requested_item fd.num is exist - process it [10:34:37]SAM_PROTO_GetFieldsCounters [10:34:37]wFMCommunicate request_size=4 [10:34:37]MH_SAM_APDU [10:34:37]CAPDU: 80 13 00 00 [10:34:37]Write to MH i2c: E2 08 00 36 06 80 13 00 00 00 00 00 00 B8 [10:34:37]Write i2c OK [10:34:37]MH_I2C_Read... [10:34:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:34:37]Read from MH i2c: E2 [10:34:37]MH_I2C_Read... [10:34:37]Read from MH i2c: E2 62 00 [10:34:37]MH_I2C_Read... [10:34:37]Read from MH i2c: E2 62 00 36 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 1B 61 00 00 0E 04 04 00 C7 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 58 [10:34:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 1B 61 00 00 0E 04 04 00 C7 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 [10:34:37]wFMCommunicate OK [10:34:37]SAM_PROTO_GetFieldsCounters done [10:34:37]requested_item shift.num is exist - process it [10:34:37]requested_item shift.opened is exist - process it [10:34:37]req_shift_opened [10:34:37]FM_GetShiftState [10:34:37]SAM_PROTO_GetShiftState [10:34:37]wFMCommunicate request_size=4 [10:34:37]MH_SAM_APDU [10:34:37]CAPDU: 80 13 01 00 [10:34:37]Write to MH i2c: E2 08 00 37 06 80 13 01 00 00 00 00 00 BA [10:34:37]Write i2c OK [10:34:37]MH_I2C_Read... [10:34:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:34:37]Read from MH i2c: E2 [10:34:37]MH_I2C_Read... [10:34:37]Read from MH i2c: E2 0E 00 [10:34:37]MH_I2C_Read... [10:34:37]Read from MH i2c: E2 0E 00 37 06 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 00 [10:34:37]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [10:34:37]wFMCommunicate OK [10:34:37]SAM_PROTO_GetShiftState done [10:34:37]FM_GetShiftState done [10:34:37]req_shift_opened done [10:34:37]requested_item shift.open_date is exist - process it [10:34:37]req_shift_open_date [10:34:37]req_shift_open_date done [10:34:37]produce_requested_data done [10:34:37]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24859,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [10:34:37]process_action_free close_receipt [10:34:37]json_value_free [10:34:37]json_value_free done [10:34:37]process_json_proto returns [10:34:37]Send response to host [10:34:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24859,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [10:34:37]free response buf [10:34:37]execute_script done [10:34:37]execute_script returns [10:34:37]free content buf [10:34:37]Sock 9.Close socket [10:34:37]Sock 9.Thread stoped [10:34:37]OFD Sender: No OFD packet to send [10:34:42]OFD Sender: No OFD packet to send [10:34:47]OFD Sender: No OFD packet to send [10:34:52]OFD Sender: No OFD packet to send [10:34:57]OFD Sender: No OFD packet to send [10:35:02]OFD Sender: No OFD packet to send [10:35:07]OFD Sender: No OFD packet to send [10:35:12]OFD Sender: No OFD packet to send [10:35:17]OFD Sender: No OFD packet to send [10:35:22]OFD Sender: No OFD packet to send [10:35:27]OFD Sender: No OFD packet to send [10:35:32]OFD Sender: No OFD packet to send [10:35:37]OFD Sender: No OFD packet to send [10:35:42]OFD Sender: No OFD packet to send [10:35:47]OFD Sender: No OFD packet to send [10:35:52]OFD Sender: No OFD packet to send [10:35:57]OFD Sender: No OFD packet to send [10:36:02]OFD Sender: No OFD packet to send [10:36:07]OFD Sender: No OFD packet to send [10:36:12]OFD Sender: No OFD packet to send [10:36:17]OFD Sender: No OFD packet to send [10:36:22]OFD Sender: No OFD packet to send [10:36:27]OFD Sender: No OFD packet to send [10:36:32]OFD Sender: No OFD packet to send [10:36:37]OFD Sender: No OFD packet to send [10:36:42]OFD Sender: No OFD packet to send [10:36:47]OFD Sender: No OFD packet to send [10:36:52]OFD Sender: No OFD packet to send [10:36:57]OFD Sender: No OFD packet to send [10:37:02]OFD Sender: No OFD packet to send [10:37:07]OFD Sender: No OFD packet to send [10:37:12]OFD Sender: No OFD packet to send [10:37:17]OFD Sender: No OFD packet to send [10:37:22]OFD Sender: No OFD packet to send [10:37:27]OFD Sender: No OFD packet to send [10:37:32]OFD Sender: No OFD packet to send [10:37:37]OFD Sender: No OFD packet to send [10:37:42]OFD Sender: No OFD packet to send [10:37:47]OFD Sender: No OFD packet to send [10:37:52]OFD Sender: No OFD packet to send [10:37:57]OFD Sender: No OFD packet to send [10:38:02]OFD Sender: No OFD packet to send [10:38:07]OFD Sender: No OFD packet to send [10:38:12]OFD Sender: No OFD packet to send [10:38:17]OFD Sender: No OFD packet to send [10:38:22]OFD Sender: No OFD packet to send [10:38:27]OFD Sender: No OFD packet to send [10:38:32]OFD Sender: No OFD packet to send [10:38:37]OFD Sender: No OFD packet to send [10:38:42]OFD Sender: No OFD packet to send [10:38:47]OFD Sender: No OFD packet to send [10:38:52]OFD Sender: No OFD packet to send [10:38:57]OFD Sender: No OFD packet to send [10:39:02]OFD Sender: No OFD packet to send [10:39:07]OFD Sender: No OFD packet to send [10:39:12]OFD Sender: No OFD packet to send [10:39:17]OFD Sender: No OFD packet to send [10:39:22]OFD Sender: No OFD packet to send [10:39:27]OFD Sender: No OFD packet to send [10:39:32]OFD Sender: No OFD packet to send [10:39:37]OFD Sender: No OFD packet to send [10:39:42]OFD Sender: No OFD packet to send [10:39:47]OFD Sender: No OFD packet to send [10:39:52]OFD Sender: No OFD packet to send [10:39:57]OFD Sender: No OFD packet to send [10:40:02]OFD Sender: No OFD packet to send [10:40:07]OFD Sender: No OFD packet to send [10:40:12]OFD Sender: No OFD packet to send [10:40:17]OFD Sender: No OFD packet to send [10:40:22]OFD Sender: No OFD packet to send [10:40:27]OFD Sender: No OFD packet to send [10:40:32]OFD Sender: No OFD packet to send [10:40:37]OFD Sender: No OFD packet to send [10:40:42]OFD Sender: No OFD packet to send [10:40:47]OFD Sender: No OFD packet to send [10:40:52]OFD Sender: No OFD packet to send [10:40:57]OFD Sender: No OFD packet to send [10:41:02]OFD Sender: No OFD packet to send [10:41:07]OFD Sender: No OFD packet to send [10:41:12]OFD Sender: No OFD packet to send [10:41:17]OFD Sender: No OFD packet to send [10:41:22]OFD Sender: No OFD packet to send [10:41:27]OFD Sender: No OFD packet to send [10:41:32]OFD Sender: No OFD packet to send [10:41:37]OFD Sender: No OFD packet to send [10:41:42]OFD Sender: No OFD packet to send [10:41:47]OFD Sender: No OFD packet to send [10:41:52]OFD Sender: No OFD packet to send [10:41:57]OFD Sender: No OFD packet to send [10:42:02]OFD Sender: No OFD packet to send [10:42:07]OFD Sender: No OFD packet to send [10:42:12]OFD Sender: No OFD packet to send [10:42:17]OFD Sender: No OFD packet to send [10:42:22]OFD Sender: No OFD packet to send [10:42:27]OFD Sender: No OFD packet to send [10:42:32]OFD Sender: No OFD packet to send [10:42:37]OFD Sender: No OFD packet to send [10:42:42]OFD Sender: No OFD packet to send [10:42:47]OFD Sender: No OFD packet to send [10:42:52]OFD Sender: No OFD packet to send [10:42:57]OFD Sender: No OFD packet to send [10:43:02]OFD Sender: No OFD packet to send [10:43:07]OFD Sender: No OFD packet to send [10:43:12]OFD Sender: No OFD packet to send [10:43:17]OFD Sender: No OFD packet to send [10:43:22]OFD Sender: No OFD packet to send [10:43:27]OFD Sender: No OFD packet to send [10:43:32]OFD Sender: No OFD packet to send [10:43:37]OFD Sender: No OFD packet to send [10:43:42]OFD Sender: No OFD packet to send [10:43:47]OFD Sender: No OFD packet to send [10:43:52]OFD Sender: No OFD packet to send [10:43:57]OFD Sender: No OFD packet to send [10:44:02]OFD Sender: No OFD packet to send [10:44:07]OFD Sender: No OFD packet to send [10:44:12]OFD Sender: No OFD packet to send [10:44:17]OFD Sender: No OFD packet to send [10:44:22]OFD Sender: No OFD packet to send [10:44:27]OFD Sender: No OFD packet to send [10:44:32]OFD Sender: No OFD packet to send [10:44:37]OFD Sender: No OFD packet to send [10:44:42]OFD Sender: No OFD packet to send [10:44:47]OFD Sender: No OFD packet to send [10:44:52]OFD Sender: No OFD packet to send [10:44:57]OFD Sender: No OFD packet to send [10:45:02]OFD Sender: No OFD packet to send [10:45:07]OFD Sender: No OFD packet to send [10:45:12]OFD Sender: No OFD packet to send [10:45:17]OFD Sender: No OFD packet to send [10:45:22]OFD Sender: No OFD packet to send [10:45:27]OFD Sender: No OFD packet to send [10:45:32]OFD Sender: No OFD packet to send [10:45:37]OFD Sender: No OFD packet to send [10:45:42]OFD Sender: No OFD packet to send [10:45:47]OFD Sender: No OFD packet to send [10:45:52]OFD Sender: No OFD packet to send [10:45:57]OFD Sender: No OFD packet to send [10:46:02]OFD Sender: No OFD packet to send [10:46:07]OFD Sender: No OFD packet to send [10:46:12]OFD Sender: No OFD packet to send [10:46:17]OFD Sender: No OFD packet to send [10:46:22]OFD Sender: No OFD packet to send [10:46:27]OFD Sender: No OFD packet to send [10:46:32]OFD Sender: No OFD packet to send [10:46:37]OFD Sender: No OFD packet to send [10:46:43]OFD Sender: No OFD packet to send [10:46:48]OFD Sender: No OFD packet to send [10:46:53]OFD Sender: No OFD packet to send [10:46:58]OFD Sender: No OFD packet to send [10:47:03]OFD Sender: No OFD packet to send [10:47:08]OFD Sender: No OFD packet to send [10:47:13]OFD Sender: No OFD packet to send [10:47:18]OFD Sender: No OFD packet to send [10:47:23]OFD Sender: No OFD packet to send [10:47:28]OFD Sender: No OFD packet to send [10:47:33]OFD Sender: No OFD packet to send [10:47:38]OFD Sender: No OFD packet to send [10:47:43]OFD Sender: No OFD packet to send [10:47:48]OFD Sender: No OFD packet to send [10:47:53]OFD Sender: No OFD packet to send [10:47:58]OFD Sender: No OFD packet to send [10:48:03]OFD Sender: No OFD packet to send [10:48:08]OFD Sender: No OFD packet to send [10:48:13]OFD Sender: No OFD packet to send [10:48:18]OFD Sender: No OFD packet to send [10:48:23]OFD Sender: No OFD packet to send [10:48:28]OFD Sender: No OFD packet to send [10:48:33]OFD Sender: No OFD packet to send [10:48:38]OFD Sender: No OFD packet to send [10:48:43]OFD Sender: No OFD packet to send [10:48:48]OFD Sender: No OFD packet to send [10:48:53]OFD Sender: No OFD packet to send [10:48:58]OFD Sender: No OFD packet to send [10:49:03]OFD Sender: No OFD packet to send [10:49:08]OFD Sender: No OFD packet to send [10:49:13]OFD Sender: No OFD packet to send [10:49:18]OFD Sender: No OFD packet to send [10:49:23]OFD Sender: No OFD packet to send [10:49:28]OFD Sender: No OFD packet to send [10:49:33]OFD Sender: No OFD packet to send [10:49:38]OFD Sender: No OFD packet to send [10:49: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:53]OFD Sender: No OFD packet to send [10:54:58]OFD Sender: No OFD packet to send [10:55:03]OFD Sender: No OFD packet to send [10:55:08]OFD Sender: No OFD packet to send [10:55:13]OFD Sender: No OFD packet to send [10:55:18]OFD Sender: No OFD packet to send [10:55:23]OFD Sender: No OFD packet to send [10:55:28]OFD Sender: No OFD packet to send [10:55:33]OFD Sender: No OFD packet to send [10:55:38]OFD Sender: No OFD packet to send [10:55:43]OFD Sender: No OFD packet to send [10:55:48]OFD Sender: No OFD packet to send [10:55:53]OFD Sender: No OFD packet to send [10:55:58]OFD Sender: No OFD packet to send [10:56:03]OFD Sender: No OFD packet to send [10:56:08]OFD Sender: No OFD packet to send [10:56:13]OFD Sender: No OFD packet to send [10:56:18]OFD Sender: No OFD packet to send [10:56:23]OFD Sender: No OFD packet to send [10:56:28]OFD Sender: No OFD packet to send [10:56:33]OFD Sender: No OFD packet to send [10:56:38]OFD Sender: No OFD packet to send [10:56:43]OFD Sender: No OFD packet to send [10:56:48]OFD Sender: No OFD packet to send [10:56:53]OFD Sender: No OFD packet to send [10:56:58]OFD Sender: No OFD packet to send [10:57:03]OFD Sender: No OFD packet to send [10:57:08]OFD Sender: No OFD packet to send [10:57:13]OFD Sender: No OFD packet to send [10:57:18]OFD Sender: No OFD packet to send [10:57:23]OFD Sender: No OFD packet to send [10:57:28]OFD Sender: No OFD packet to send [10:57:33]OFD Sender: No OFD packet to send [10:57:38]OFD Sender: No OFD packet to send [10:57:43]OFD Sender: No OFD packet to send [10:57:48]OFD Sender: No OFD packet to send [10:57:53]OFD Sender: No OFD packet to send [10:57:58]OFD Sender: No OFD packet to send [10:58:03]OFD Sender: No OFD packet to send [10:58:08]OFD Sender: No OFD packet to send [10:58:13]OFD Sender: No OFD packet to send [10:58:18]OFD Sender: No OFD packet to send [10:58:23]OFD Sender: No OFD packet to send [10:58:28]OFD Sender: No OFD packet to send [10:58:33]OFD Sender: No OFD packet to send [10:58:38]OFD Sender: No OFD packet to send [10:58:43]OFD Sender: No OFD packet to send [10:58:48]OFD Sender: No OFD packet to send [10:58:53]OFD Sender: No OFD packet to send [10:58:58]OFD Sender: No OFD packet to send [10:59:03]OFD Sender: No OFD packet to send [10:59:08]OFD Sender: No OFD packet to send [10:59:13]OFD Sender: No OFD packet to send [10:59:18]OFD Sender: No OFD packet to send [10:59:23]OFD Sender: No OFD packet to send [10:59:28]OFD Sender: No OFD packet to send [10:59:33]OFD Sender: No OFD packet to send [10:59:38]OFD Sender: No OFD packet to send [10:59:43]OFD Sender: No OFD packet to send [10:59:48]OFD Sender: No OFD packet to send [10:59:53]OFD Sender: No OFD packet to send [10:59:58]OFD Sender: No OFD packet to send [11:00:03]OFD Sender: No OFD packet to send [11:00:08]OFD Sender: No OFD packet to send [11:00:13]OFD Sender: No OFD packet to send [11:00:18]OFD Sender: No OFD packet to send [11:00:23]OFD Sender: No OFD packet to send [11:00:28]OFD Sender: No OFD packet to send [11:00:33]OFD Sender: No OFD packet to send [11:00:38]OFD Sender: No OFD packet to send [11:00:43]OFD Sender: No OFD packet to send [11:00:48]OFD Sender: No OFD packet to send [11:00:53]OFD Sender: No OFD packet to send [11:00:58]OFD Sender: No OFD packet to send [11:01:03]OFD Sender: No OFD packet to send [11:01:08]OFD Sender: No OFD packet to send [11:01:13]OFD Sender: No OFD packet to send [11:01:18]OFD Sender: No OFD packet to send [11:01:23]OFD Sender: No OFD packet to send [11:01:28]OFD Sender: No OFD packet to send [11:01:33]OFD Sender: No OFD packet to send [11:01:38]OFD Sender: No OFD packet to send [11:01:43]OFD Sender: No OFD packet to send [11:01:48]OFD Sender: No OFD packet to send [11:01:53]OFD Sender: No OFD packet to send [11:01:58]OFD Sender: No OFD packet to send [11:02:03]OFD Sender: No OFD packet to send [11:02:08]OFD Sender: No OFD packet to send [11:02:13]OFD Sender: No OFD packet to send [11:02:18]OFD Sender: No OFD packet to send [11:02:23]OFD Sender: No OFD packet to send [11:02:28]OFD Sender: No OFD packet to send [11:02:33]OFD Sender: No OFD packet to send [11:02:38]OFD Sender: No OFD packet to send [11:02:43]OFD Sender: No OFD packet to send [11:02:48]OFD Sender: No OFD packet to send [11:02:53]OFD Sender: No OFD packet to send [11:02:58]OFD Sender: No OFD packet to send [11:03:03]OFD Sender: No OFD packet to send [11:03:08]OFD Sender: No OFD packet to send [11:03:13]OFD Sender: No OFD packet to send [11:03:18]OFD Sender: No OFD packet to send [11:03:23]OFD Sender: No OFD packet to send [11:03:28]OFD Sender: No OFD packet to send [11:03:33]OFD Sender: No OFD packet to send [11:03:38]OFD Sender: No OFD packet to send [11:03:43]OFD Sender: No OFD packet to send [11:03:48]OFD Sender: No OFD packet to send [11:03:53]OFD Sender: No OFD packet to send [11:03:58]OFD Sender: No OFD packet to send [11:04:03]OFD Sender: No OFD packet to send [11:04:08]OFD Sender: No OFD packet to send [11:04:13]OFD Sender: No OFD packet to send [11:04:18]OFD Sender: No OFD packet to send [11:04:23]OFD Sender: No OFD packet to send [11:04:28]OFD Sender: No OFD packet to send [11:04:33]OFD Sender: No OFD packet to send [11:04:38]OFD Sender: No OFD packet to send [11:04:43]OFD Sender: No OFD packet to send [11:04:48]OFD Sender: No OFD packet to send [11:04:53]OFD Sender: No OFD packet to send [11:04:58]OFD Sender: No OFD packet to send [11:05:03]OFD Sender: No OFD packet to send [11:05:08]OFD Sender: No OFD packet to send [11:05:13]OFD Sender: No OFD packet to send [11:05:18]OFD Sender: No OFD packet to send [11:05:23]OFD Sender: No OFD packet to send [11:05:28]OFD Sender: No OFD packet to send [11:05:33]OFD Sender: No OFD packet to send [11:05:38]OFD Sender: No OFD packet to send [11:05:43]OFD Sender: No OFD packet to send [11:05:48]OFD Sender: No OFD packet to send [11:05:53]OFD Sender: No OFD packet to send [11:05:58]OFD Sender: No OFD packet to send [11:06:03]OFD Sender: No OFD packet to send [11:06:08]OFD Sender: No OFD packet to send [11:06:13]OFD Sender: No OFD packet to send [11:06:18]OFD Sender: No OFD packet to send [11:06:23]OFD Sender: No OFD packet to send [11:06:28]OFD Sender: No OFD packet to send [11:06:33]OFD Sender: No OFD packet to send [11:06:38]OFD Sender: No OFD packet to send [11:06:43]OFD Sender: No OFD packet to send [11:06:48]OFD Sender: No OFD packet to send [11:06:53]OFD Sender: No OFD packet to send [11:06:58]OFD Sender: No OFD packet to send [11:07:03]OFD Sender: No OFD packet to send [11:07:08]OFD Sender: No OFD packet to send [11:07:13]OFD Sender: No OFD packet to send [11:07:18]OFD Sender: No OFD packet to send [11:07:23]OFD Sender: No OFD packet to send [11:07:28]OFD Sender: No OFD packet to send [11:07:33]OFD Sender: No OFD packet to send [11:07:38]OFD Sender: No OFD packet to send [11:07:43]OFD Sender: No OFD packet to send [11:07:48]OFD Sender: No OFD packet to send [11:07:53]OFD Sender: No OFD packet to send [11:07:58]OFD Sender: No OFD packet to send [11:08:03]OFD Sender: No OFD packet to send [11:08:08]OFD Sender: No OFD packet to send [11:08:13]OFD Sender: No OFD packet to send [11:08: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:14]OFD Sender: No OFD packet to send [11:16:19]OFD Sender: No OFD packet to send [11:16:24]OFD Sender: No OFD packet to send [11:16:29]OFD Sender: No OFD packet to send [11:16:34]OFD Sender: No OFD packet to send [11:16:39]OFD Sender: No OFD packet to send [11:16:44]OFD Sender: No OFD packet to send [11:16:49]OFD Sender: No OFD packet to send [11:16:54]OFD Sender: No OFD packet to send [11:16:59]OFD Sender: No OFD packet to send [11:17:04]OFD Sender: No OFD packet to send [11:17:09]OFD Sender: No OFD packet to send [11:17:14]OFD Sender: No OFD packet to send [11:17:19]OFD Sender: No OFD packet to send [11:17:24]OFD Sender: No OFD packet to send [11:17:29]OFD Sender: No OFD packet to send [11:17:34]OFD Sender: No OFD packet to send [11:17:39]OFD Sender: No OFD packet to send [11:17:44]OFD Sender: No OFD packet to send [11:17:49]OFD Sender: No OFD packet to send [11:17:54]OFD Sender: No OFD packet to send [11:17:59]OFD Sender: No OFD packet to send [11:18:04]OFD Sender: No OFD packet to send [11:18:09]OFD Sender: No OFD packet to send [11:18:14]OFD Sender: No OFD packet to send [11:18:19]OFD Sender: No OFD packet to send [11:18:24]OFD Sender: No OFD packet to send [11:18:29]OFD Sender: No OFD packet to send [11:18:34]OFD Sender: No OFD packet to send [11:18:39]OFD Sender: No OFD packet to send [11:18:44]OFD Sender: No OFD packet to send [11:18:49]OFD Sender: No OFD packet to send [11:18:54]OFD Sender: No OFD packet to send [11:18:59]OFD Sender: No OFD packet to send [11:19:04]OFD Sender: No OFD packet to send [11:19:09]OFD Sender: No OFD packet to send [11:19:14]OFD Sender: No OFD packet to send [11:19:19]OFD Sender: No OFD packet to send [11:19:24]OFD Sender: No OFD packet to send [11:19:29]OFD Sender: No OFD packet to send [11:19:34]OFD Sender: No OFD packet to send [11:19:39]OFD Sender: No OFD packet to send [11:19:44]OFD Sender: No OFD packet to send [11:19:49]OFD Sender: No OFD packet to send [11:19:54]OFD Sender: No OFD packet to send [11:19:59]OFD Sender: No OFD packet to send [11:20:04]OFD Sender: No OFD packet to send [11:20:09]OFD Sender: No OFD packet to send [11:20:14]OFD Sender: No OFD packet to send [11:20:19]accept exits with 7 [11:20:19]New connection [11:20:19]New thread 3067166052 created [11:20:19]Thread 3067309412 joined [11:20:19]Waiting for new connection... [11:20:19] Sock 7.Parse request [11:20:19]Sock 7.Check first char [11:20:19]Sock 7.First char is OK [11:20:19]request: POST /json_proto HTTP/1.0 [11:20:19]Method: POST [11:20:19]URL: /json_proto [11:20:19]Method is POST - this is cgi request [11:20:19]url: /json_proto [11:20:19]query_string will be loaded in cgi processing [11:20:19]execute_cgi json_proto POST (null) [11:20:19]execute_cgi path=json_proto method=POST [11:20:19]POST find Content-Length [11:20:19]Host: 172.17.53.196:8080 [11:20:19]Content-Length: 613 [11:20:19]Content-Type: application/json [11:20:19] [11:20:19]POST finish read [11:20:19]Found Content-Length = 613 [11:20:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34620", "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" ] } } [11:20:19]execute_script... [11:20: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)34620", "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" ] } } [11:20:19]POST & json_proto [11:20:19]process_json_proto [11:20:19]json parsed OK: [11:20:19]protocol is kg_v1.0 [11:20:19]action value=close_receipt [11:20:19]process_action close_receipt [11:20:19]cmd_close_receipt [11:20:19]MH_GetDate [11:20:19]Write to MH i2c: F0 00 00 38 06 2D [11:20:19]Write i2c OK [11:20:19]MH_I2C_Read... [11:20:19]Read from MH i2c: F0 [11:20:19]MH_I2C_Read... [11:20:19]Read from MH i2c: F0 09 00 [11:20:19]MH_I2C_Read... [11:20:19]Read from MH i2c: F0 09 00 38 06 00 75 E7 14 67 4F CD 9A 65 28 [11:20:19]GetLastDocTimeStamp 1729420476 [11:20:19]current date 1729423221 [11:20:19]FM_GetShiftState [11:20:19]SAM_PROTO_GetShiftState [11:20:19]wFMCommunicate request_size=4 [11:20:19]MH_SAM_APDU [11:20:19]CAPDU: 80 13 01 00 [11:20:19]Write to MH i2c: E2 08 00 39 06 80 13 01 00 00 00 00 00 BC [11:20:19]Write i2c OK [11:20:19]MH_I2C_Read... [11:20:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:20:19]Read from MH i2c: E2 [11:20:19]MH_I2C_Read... [11:20:19]Read from MH i2c: E2 0E 00 [11:20:19]MH_I2C_Read... [11:20:19]Read from MH i2c: E2 0E 00 39 06 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 02 [11:20:19]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [11:20:19]wFMCommunicate OK [11:20:19]SAM_PROTO_GetShiftState done [11:20:19]FM_GetShiftState done [11:20:19]opened in 1729384049 [11:20:19]opened+sec_in_day 1729470449 [11:20:19]quantity*price = 11900 [11:20:19]sum+1 = 11901 [11:20:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 119.00 НСП 1% : 1.05 НДС 12% : 12.64 Наличными: 119.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 18 20.10.2024 11:20 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24860 ФПД: 114268210133403 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T112021&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24860&fm=114268210133403&tin=02508201610067®Number=0000000000098147&sum=11900 0 [11:20:20]StoreToDocumentArchive [11:20:20]shift 455 fd 24860 [11:20:20]save to /storage/0455/doc_00024860 [11:20:20]save last doc name /storage/0455/doc_00024860 to /storage/kkm_last_doc_name [11:20:20]save OK [11:20:20]Clear old archive folders... [11:20:20]ProcessDocumentItem done err = 0, tmpTLVsize=266 [11:20:20]tlvbuf is 00DF0280 [11:20:20]SAM_PROTO_ClearQueue [11:20:20]wFMCommunicate request_size=4 [11:20:20]MH_SAM_APDU [11:20:20]CAPDU: 80 09 00 00 [11:20:20]Write to MH i2c: E2 08 00 46 06 80 09 00 00 00 00 00 00 BE [11:20:20]Write i2c OK [11:20:20]MH_I2C_Read... [11:20:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:20:20]Read from MH i2c: E2 [11:20:20]MH_I2C_Read... [11:20:20]Read from MH i2c: E2 03 00 [11:20:20]MH_I2C_Read... [11:20:20]Read from MH i2c: E2 03 00 46 06 00 90 00 C0 [11:20:20]RAPDU: 90 00 [11:20:20]wFMCommunicate OK [11:20:20]SAM_PROTO_ClearQueue done [11:20:20]KKMCreateOFDPacket [11:20:20]OFDProtocolAddRootSTLVToBuf [11:20:20]FM_MakeSignedData [11:20:20]FM_MakeSignedData [11:20:20]SAM_PROTO_SignData [11:20:20]wFMCommunicate request_size=4 [11:20:20]MH_SAM_APDU [11:20:20]CAPDU: 80 0D 01 02 [11:20:20]Write to MH i2c: E2 08 00 47 06 80 0D 01 02 00 00 00 00 C6 [11:20:20]Write i2c OK [11:20:20]MH_I2C_Read... [11:20:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:20:20]Read from MH i2c: E2 [11:20:20]MH_I2C_Read... [11:20:20]Read from MH i2c: E2 03 00 [11:20:20]MH_I2C_Read... [11:20:20]Read from MH i2c: E2 03 00 47 06 00 90 00 C1 [11:20:20]RAPDU: 90 00 [11:20:20]wFMCommunicate OK [11:20:20]wFMCommunicate request_size=255 [11:20:20]MH_SAM_APDU [11:20:20]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 12 00 00 00 F4 03 04 00 75 E7 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 [11:20:20]Write to MH i2c: E2 02 01 48 06 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 12 00 00 00 F4 03 04 00 75 E7 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 00 00 79 [11:20:20]Write i2c OK [11:20:20]MH_I2C_Read... [11:20:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:20:20]Read from MH i2c: E2 [11:20:20]MH_I2C_Read... [11:20:20]Read from MH i2c: E2 03 00 [11:20:20]MH_I2C_Read... [11:20:20]Read from MH i2c: E2 03 00 48 06 00 90 00 C2 [11:20:20]RAPDU: 90 00 [11:20:20]wFMCommunicate OK [11:20:20]wFMCommunicate request_size=25 [11:20:20]MH_SAM_APDU [11:20:20]CAPDU: 80 0D 02 02 14 37 36 10 04 04 00 1C 61 00 00 35 04 06 00 67 ED 24 12 F9 9B [11:20:20]Write to MH i2c: E2 1C 00 49 06 80 0D 02 02 14 00 37 36 10 04 04 00 1C 61 00 00 35 04 06 00 67 ED 24 12 F9 9B 00 00 50 [11:20:20]Write i2c OK [11:20:20]MH_I2C_Read... [11:20:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:20:20]Read from MH i2c: E2 [11:20:20]MH_I2C_Read... [11:20:20]Read from MH i2c: E2 03 00 [11:20:20]MH_I2C_Read... [11:20:20]Read from MH i2c: E2 03 00 49 06 00 90 00 C3 [11:20:20]RAPDU: 90 00 [11:20:20]wFMCommunicate OK [11:20:20]wFMCommunicate request_size=4 [11:20:20]MH_SAM_APDU [11:20:20]CAPDU: 80 0D 03 02 [11:20:20]Write to MH i2c: E2 08 00 4A 06 80 0D 03 02 00 00 00 00 CB [11:20:20]Write i2c OK [11:20:20]MH_I2C_Read... [11:20:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:20:20]Read from MH i2c: E2 [11:20:20]MH_I2C_Read... [11:20:20]Read from MH i2c: E2 0B 00 [11:20:20]MH_I2C_Read... [11:20:20]Read from MH i2c: E2 0B 00 4A 06 00 15 92 CA 05 7A 0D C5 38 90 00 C6 [11:20:20]RAPDU: 15 92 CA 05 7A 0D C5 38 90 00 [11:20:20]wFMCommunicate OK [11:20:20]SAM_PROTO_SignData done [11:20:20]FM_MakeSignedData done [11:20:20]CreateOFDProtocolMessage [11:20:20]wFMCommunicate request_size=4 [11:20:20]MH_SAM_APDU [11:20:20]CAPDU: 80 11 00 00 [11:20:20]Write to MH i2c: E2 08 00 4B 06 80 11 00 00 00 00 00 00 CB [11:20:20]Write i2c OK [11:20:20]MH_I2C_Read... [11:20:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:20:20]Read from MH i2c: E2 [11:20:20]MH_I2C_Read... [11:20:20]Read from MH i2c: E2 17 00 [11:20:20]MH_I2C_Read... [11:20:20]Read from MH i2c: E2 17 00 4B 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 22 [11:20:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [11:20:20]wFMCommunicate OK [11:20:20]CreateOFDProtocolMessage done [11:20:20]OFDSenderStorePacket 24860 [11:20:20]StoreOFDPacket docnum=24860 [11:20:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 1E 01 00 00 49 2E 16 01 30 84 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 12 00 00 00 F4 03 04 00 75 E7 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1C 61 00 00 35 04 06 00 67 ED 24 12 F9 9B 15 92 CA 05 7A 0D C5 38 [11:20:20]CheckFolder [11:20:20]dirname=/storage/ofd_packets [11:20:20]CheckFolder done [11:20:20]ProducePacketName [11:20:20]name=ofd_packets/00024860 [11:20:20]NVStorageSaveData ofd_packets/00024860 [11:20:20]File name is /storage/ofd_packets/00024860 [11:20:20]Write 316 bytes [11:20:20]NVStorageSaveData done [11:20:20]OFDSenderStorePacket done [11:20:20]KKMCreateOFDPacket done [11:20:20]NVStorageSaveData kkm_last_timestamp [11:20:20]File name is /storage/kkm_last_timestamp [11:20:20]Write 4 bytes [11:20:20]NVStorageSaveData done [11:20:20]ExternCall_PrintAddStr [11:20:20]wPrintStart [11:20:20]Write to MH i2c: 01 00 00 4C 06 52 [11:20:20]Write i2c OK [11:20:20]MH_I2C_Read... [11:20:20]Read from MH i2c: 01 [11:20:20]MH_I2C_Read... [11:20:20]Read from MH i2c: 01 07 00 [11:20:20]MH_I2C_Read... [11:20:20]Read from MH i2c: 01 07 00 4C 06 00 00 00 00 00 FF 0F 67 [11:20:20]RasterBufferAndPrint [11:20:20]line Счет N : (3)34620 [11:20:20]line ИНН: 02508201610067 [11:20:20]line Контрольно-Кассовый Чек [11:20:20]line ПРОДАЖА [11:20:20]line Товар: 4870001570071 [11:20:20]line Напиток Pepsi 1л [11:20:20]line 1.000 * 119.00 [11:20:20]line = 119.00 [11:20:20]line НДС 12% НСП 1% [11:20:20]line > о реализуемом товаре [11:20:20]line ИТОГО: 119.00 [11:20:20]line НСП 1% : 1.05 [11:20:20]line НДС 12% : 12.64 [11:20:20]line Наличными: 119.00 [11:20:20]line Безнал.: 0.00 [11:20:20]line Место: АЗС № 161 "Партнер Нефть" [11:20:20]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [11:20:20]line СНО: Общий режим [11:20:20]line Чек 18 20.10.2024 11:20 [11:20:20]line Смена: 455 ФФД: 1.0 [11:20:20]line ЗНМ: 0300000240 [11:20:20]line РНМ: 0000000000098147 [11:20:20]line Версия ККМ: 001 [11:20:20]line ФМ: 0000000000965376 [11:20:20]line ФД: 24860 [11:20:20]line ФПД: 114268210133403 [11:20:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T112021&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24860&fm=114268210133403&tin=02508201610067®Number=0000000000098147&sum=11900 [11:20:21]line 0 [11:20:21]OFD Sender: Processing packet 24860 [packets to send 5, broken 4] [11:20:21]ProducePacketName [11:20:21]name=ofd_packets/00024860 [11:20:21]OFD Sender: To server: pG, [11:20:21]CommunicateWithHost lk.salyk.kg:30040 [11:20:21]ConnectInit lk.salyk.kg [11:20:21]written 0, free lines is 4095 [11:20:21]Connected sock=10 [11:20:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 1E 01 00 00 49 2E 16 01 30 84 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 12 00 00 00 F4 03 04 00 75 E7 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1C 61 00 00 35 04 06 00 67 ED 24 12 F9 9B 15 92 CA 05 7A 0D C5 38 [11:20:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 63 B3 47 00 B2 61 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1C 61 00 00 F4 03 04 00 F6 8F 14 67 B6 04 01 00 00 2E 6A D6 A1 7F 68 E4 6C [11:20:21]CommunicateWithHost err = 0 [11:20:21]CheckOFDResponse [11:20:21]1017 (14) - 77093643461234 [11:20:21]1041 (16) - 0000000000965376 [11:20:21]1040 (4) - 24860 [11:20:21]1012 (4) - 20.10.2024 05:07 [11:20:21]1206 (1) - 0 [11:20:21]OFD Sender: Remove packet 24860 [11:20:21]ProducePacketName [11:20:21]name=ofd_packets/00024860 [11:20:21]NVStorageDeleteData [11:20:21]Write to MH i2c: 01 00 00 74 06 7A [11:20:21]Write i2c OK [11:20:21]MH_I2C_Read... [11:20:21]Read from MH i2c: 01 [11:20:21]MH_I2C_Read... [11:20:21]Read from MH i2c: 01 07 00 [11:20:21]MH_I2C_Read... [11:20:21]Read from MH i2c: 01 07 00 74 06 00 00 00 00 00 F4 0C 81 [11:20:21]RasterBufferAndPrint [11:20:21]line [11:20:21]line [11:20:21]line [11:20:21]line [11:20:21]line [11:20:21]written 0, free lines is 3323 [11:20:21]process_action close_receipt done [11:20:21]requested_data is exist [11:20:21]produce_requested_data [11:20:21]requested_item fm.sn is exist - process it [11:20:21]wFMCommunicate request_size=4 [11:20:21]MH_SAM_APDU [11:20:21]CAPDU: 80 11 00 00 [11:20:21]Write to MH i2c: E2 08 00 7B 06 80 11 00 00 00 00 00 00 FB [11:20:21]Write i2c OK [11:20:21]MH_I2C_Read... [11:20:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:20:21]Read from MH i2c: E2 [11:20:21]MH_I2C_Read... [11:20:21]Read from MH i2c: E2 17 00 [11:20:21]MH_I2C_Read... [11:20:21]Read from MH i2c: E2 17 00 7B 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 52 [11:20:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [11:20:21]wFMCommunicate OK [11:20:21]requested_item fd.num is exist - process it [11:20:21]SAM_PROTO_GetFieldsCounters [11:20:21]wFMCommunicate request_size=4 [11:20:21]MH_SAM_APDU [11:20:21]CAPDU: 80 13 00 00 [11:20:21]Write to MH i2c: E2 08 00 7C 06 80 13 00 00 00 00 00 00 FE [11:20:21]Write i2c OK [11:20:21]MH_I2C_Read... [11:20:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:20:21]Read from MH i2c: E2 [11:20:21]MH_I2C_Read... [11:20:21]Read from MH i2c: E2 62 00 [11:20:21]MH_I2C_Read... [11:20:21]Read from MH i2c: E2 62 00 7C 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 1C 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 A2 [11:20:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 1C 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:20:21]wFMCommunicate OK [11:20:21]SAM_PROTO_GetFieldsCounters done [11:20:21]requested_item shift.num is exist - process it [11:20:21]requested_item shift.opened is exist - process it [11:20:21]req_shift_opened [11:20:21]FM_GetShiftState [11:20:21]SAM_PROTO_GetShiftState [11:20:21]wFMCommunicate request_size=4 [11:20:21]MH_SAM_APDU [11:20:21]CAPDU: 80 13 01 00 [11:20:21]Write to MH i2c: E2 08 00 7D 06 80 13 01 00 00 00 00 00 00 [11:20:21]Write i2c OK [11:20:21]MH_I2C_Read... [11:20:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:20:21]Read from MH i2c: E2 [11:20:21]MH_I2C_Read... [11:20:21]Read from MH i2c: E2 0E 00 [11:20:21]MH_I2C_Read... [11:20:21]Read from MH i2c: E2 0E 00 7D 06 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 46 [11:20:21]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [11:20:21]wFMCommunicate OK [11:20:21]SAM_PROTO_GetShiftState done [11:20:21]FM_GetShiftState done [11:20:21]req_shift_opened done [11:20:21]requested_item shift.open_date is exist - process it [11:20:21]req_shift_open_date [11:20:21]req_shift_open_date done [11:20:21]produce_requested_data done [11:20:21]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24860,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [11:20:21]process_action_free close_receipt [11:20:21]json_value_free [11:20:21]json_value_free done [11:20:21]process_json_proto returns [11:20:21]Send response to host [11:20:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24860,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [11:20:21]free response buf [11:20:21]execute_script done [11:20:21]execute_script returns [11:20:21]free content buf [11:20:21]Sock 7.Close socket [11:20:21]Sock 7.Thread stoped [11:20:22]OFD Sender: No OFD packet to send [11:20:27]OFD Sender: No OFD packet to send [11:20:32]OFD Sender: No OFD packet to send [11:20:37]OFD Sender: No OFD packet to send [11:20:42]OFD Sender: No OFD packet to send [11:20:47]OFD Sender: No OFD packet to send [11:20:52]OFD Sender: No OFD packet to send [11:20:57]OFD Sender: No OFD packet to send [11:21:02]OFD Sender: No OFD packet to send [11:21:07]OFD Sender: No OFD packet to send [11:21:12]OFD Sender: No OFD packet to send [11:21:17]OFD Sender: No OFD packet to send [11:21:22]OFD Sender: No OFD packet to send [11:21:27]OFD Sender: No OFD packet to send [11:21:32]OFD Sender: No OFD packet to send [11:21:37]OFD Sender: No OFD packet to send [11:21:42]OFD Sender: No OFD packet to send [11:21:47]OFD Sender: No OFD packet to send [11:21:52]OFD Sender: No OFD packet to send [11:21:57]OFD Sender: No OFD packet to send [11:22:02]OFD Sender: No OFD packet to send [11:22:07]OFD Sender: No OFD packet to send [11:22:12]OFD Sender: No OFD packet to send [11:22:17]OFD Sender: No OFD packet to send [11:22:22]OFD Sender: No OFD packet to send [11:22:27]OFD Sender: No OFD packet to send [11:22:32]OFD Sender: No OFD packet to send [11:22:37]OFD Sender: No OFD packet to send [11:22:42]OFD Sender: No OFD packet to send [11:22:47]OFD Sender: No OFD packet to send [11:22:52]OFD Sender: No OFD packet to send [11:22:57]OFD Sender: No OFD packet to send [11:23:02]OFD Sender: No OFD packet to send [11:23:07]OFD Sender: No OFD packet to send [11:23:12]OFD Sender: No OFD packet to send [11:23:17]OFD Sender: No OFD packet to send [11:23:22]OFD Sender: No OFD packet to send [11:23:27]OFD Sender: No OFD packet to send [11:23:32]OFD Sender: No OFD packet to send [11:23:37]OFD Sender: No OFD packet to send [11:23:42]OFD Sender: No OFD packet to send [11:23:47]OFD Sender: No OFD packet to send [11:23:52]OFD Sender: No OFD packet to send [11:23:57]OFD Sender: No OFD packet to send [11:24:02]OFD Sender: No OFD packet to send [11:24:07]OFD Sender: No OFD packet to send [11:24:12]OFD Sender: No OFD packet to send [11:24:17]OFD Sender: No OFD packet to send [11:24:22]OFD Sender: No OFD packet to send [11:24:27]OFD Sender: No OFD packet to send [11:24:32]OFD Sender: No OFD packet to send [11:24:37]OFD Sender: No OFD packet to send [11:24:42]OFD Sender: No OFD packet to send [11:24:47]OFD Sender: No OFD packet to send [11:24:52]OFD Sender: No OFD packet to send [11:24:57]OFD Sender: No OFD packet to send [11:25:02]OFD Sender: No OFD packet to send [11:25:07]OFD Sender: No OFD packet to send [11:25:12]OFD Sender: No OFD packet to send [11:25:17]OFD Sender: No OFD packet to send [11:25:22]OFD Sender: No OFD packet to send [11:25:27]OFD Sender: No OFD packet to send [11:25:32]OFD Sender: No OFD packet to send [11:25:37]OFD Sender: No OFD packet to send [11:25:42]OFD Sender: No OFD packet to send [11:25:47]OFD Sender: No OFD packet to send [11:25:52]OFD Sender: No OFD packet to send [11:25:57]OFD Sender: No OFD packet to send [11:26:02]OFD Sender: No OFD packet to send [11:26:07]OFD Sender: No OFD packet to send [11:26:12]OFD Sender: No OFD packet to send [11:26:17]OFD Sender: No OFD packet to send [11:26:22]OFD Sender: No OFD packet to send [11:26:27]OFD Sender: No OFD packet to send [11:26:32]OFD Sender: No OFD packet to send [11:26:37]OFD Sender: No OFD packet to send [11:26:42]OFD Sender: No OFD packet to send [11:26:47]OFD Sender: No OFD packet to send [11:26:52]OFD Sender: No OFD packet to send [11:26:57]OFD Sender: No OFD packet to send [11:27:02]OFD Sender: No OFD packet to send [11:27:07]OFD Sender: No OFD packet to send [11:27:12]OFD Sender: No OFD packet to send [11:27:17]OFD Sender: No OFD packet to send [11:27:22]OFD Sender: No OFD packet to send [11:27:27]OFD Sender: No OFD packet to send [11:27:32]OFD Sender: No OFD packet to send [11:27:37]OFD Sender: No OFD packet to send [11:27:42]OFD Sender: No OFD packet to send [11:27:47]OFD Sender: No OFD packet to send [11:27:52]OFD Sender: No OFD packet to send [11:27:57]OFD Sender: No OFD packet to send [11:28:02]OFD Sender: No OFD packet to send [11:28:07]OFD Sender: No OFD packet to send [11:28:12]OFD Sender: No OFD packet to send [11:28:17]OFD Sender: No OFD packet to send [11:28:22]OFD Sender: No OFD packet to send [11:28:27]OFD Sender: No OFD packet to send [11:28:32]OFD Sender: No OFD packet to send [11:28:37]OFD Sender: No OFD packet to send [11:28:42]OFD Sender: No OFD packet to send [11:28:47]OFD Sender: No OFD packet to send [11:28:52]OFD Sender: No OFD packet to send [11:28:57]OFD Sender: No OFD packet to send [11:29:02]OFD Sender: No OFD packet to send [11:29:07]OFD Sender: No OFD packet to send [11:29:12]OFD Sender: No OFD packet to send [11:29:17]OFD Sender: No OFD packet to send [11:29:22]OFD Sender: No OFD packet to send [11:29:27]OFD Sender: No OFD packet to send [11:29:32]OFD Sender: No OFD packet to send [11:29:37]OFD Sender: No OFD packet to send [11:29:42]OFD Sender: No OFD packet to send [11:29:47]OFD Sender: No OFD packet to send [11:29:52]OFD Sender: No OFD packet to send [11:29:57]OFD Sender: No OFD packet to send [11:30:02]OFD Sender: No OFD packet to send [11:30:07]OFD Sender: No OFD packet to send [11:30:12]OFD Sender: No OFD packet to send [11:30:17]OFD Sender: No OFD packet to send [11:30:22]OFD Sender: No OFD packet to send [11:30:27]OFD Sender: No OFD packet to send [11:30:32]OFD Sender: No OFD packet to send [11:30:37]OFD Sender: No OFD packet to send [11:30:42]OFD Sender: No OFD packet to send [11:30:47]OFD Sender: No OFD packet to send [11:30:52]OFD Sender: No OFD packet to send [11:30:57]OFD Sender: No OFD packet to send [11:31:02]OFD Sender: No OFD packet to send [11:31:07]OFD Sender: No OFD packet to send [11:31:12]OFD Sender: No OFD packet to send [11:31:17]OFD Sender: No OFD packet to send [11:31:22]OFD Sender: No OFD packet to send [11:31:27]OFD Sender: No OFD packet to send [11:31:32]OFD Sender: No OFD packet to send [11:31:37]OFD Sender: No OFD packet to send [11:31:42]OFD Sender: No OFD packet to send [11:31:47]OFD Sender: No OFD packet to send [11:31:52]OFD Sender: No OFD packet to send [11:31:57]OFD Sender: No OFD packet to send [11:32:02]OFD Sender: No OFD packet to send [11:32:07]OFD Sender: No OFD packet to send [11:32:12]OFD Sender: No OFD packet to send [11:32:17]OFD Sender: No OFD packet to send [11:32:22]OFD Sender: No OFD packet to send [11:32:27]OFD Sender: No OFD packet to send [11:32:32]OFD Sender: No OFD packet to send [11:32:37]OFD Sender: No OFD packet to send [11:32:42]OFD Sender: No OFD packet to send [11:32:47]OFD Sender: No OFD packet to send [11:32:52]OFD Sender: No OFD packet to send [11:32:57]OFD Sender: No OFD packet to send [11:33:02]OFD Sender: No OFD packet to send [11:33:07]OFD Sender: No OFD packet to send [11:33:12]OFD Sender: No OFD packet to send [11:33:17]OFD Sender: No OFD packet to send [11:33:22]OFD Sender: No OFD packet to send [11:33:27]OFD Sender: No OFD packet to send [11:33:32]OFD Sender: No OFD packet to send [11:33:37]OFD Sender: No OFD packet to send [11:33:42]OFD Sender: No OFD packet to send [11:33:47]OFD Sender: No OFD packet to send [11:33:52]OFD Sender: No OFD packet to send [11:33:57]OFD Sender: No OFD packet to send [11:34:02]OFD Sender: No OFD packet to send [11:34:07]OFD Sender: No OFD packet to send [11:34:12]OFD Sender: No OFD packet to send [11:34:17]OFD Sender: No OFD packet to send [11:34:22]OFD Sender: No OFD packet to send [11:34:27]OFD Sender: No OFD packet to send [11:34:32]OFD Sender: No OFD packet to send [11:34:37]OFD Sender: No OFD packet to send [11:34:42]OFD Sender: No OFD packet to send [11:34:47]OFD Sender: No OFD packet to send [11:34:52]OFD Sender: No OFD packet to send [11:34:57]OFD Sender: No OFD packet to send [11:35:02]OFD Sender: No OFD packet to send [11:35:07]OFD Sender: No OFD packet to send [11:35:12]OFD Sender: No OFD packet to send [11:35:17]OFD Sender: No OFD packet to send [11:35:22]OFD Sender: No OFD packet to send [11:35:27]OFD Sender: No OFD packet to send [11:35:32]OFD Sender: No OFD packet to send [11:35:37]OFD Sender: No OFD packet to send [11:35:42]OFD Sender: No OFD packet to send [11:35:47]OFD Sender: No OFD packet to send [11:35:52]OFD Sender: No OFD packet to send [11:35:57]OFD Sender: No OFD packet to send [11:36:02]OFD Sender: No OFD packet to send [11:36:07]OFD Sender: No OFD packet to send [11:36:12]OFD Sender: No OFD packet to send [11:36:17]OFD Sender: No OFD packet to send [11:36:22]OFD Sender: No OFD packet to send [11:36:27]OFD Sender: No OFD packet to send [11:36:32]OFD Sender: No OFD packet to send [11:36:37]OFD Sender: No OFD packet to send [11:36:42]OFD Sender: No OFD packet to send [11:36:47]OFD Sender: No OFD packet to send [11:36:52]OFD Sender: No OFD packet to send [11:36:57]OFD Sender: No OFD packet to send [11:37:02]OFD Sender: No OFD packet to send [11:37:07]OFD Sender: No OFD packet to send [11:37:12]OFD Sender: No OFD packet to send [11:37:17]OFD Sender: No OFD packet to send [11:37:22]OFD Sender: No OFD packet to send [11:37:27]OFD Sender: No OFD packet to send [11:37:32]OFD Sender: No OFD packet to send [11:37:37]OFD Sender: No OFD packet to send [11:37:42]OFD Sender: No OFD packet to send [11:37:47]OFD Sender: No OFD packet to send [11:37:52]OFD Sender: No OFD packet to send [11:37:57]OFD Sender: No OFD packet to send [11:38:02]OFD Sender: No OFD packet to send [11:38:07]OFD Sender: No OFD packet to send [11:38:12]OFD Sender: No OFD packet to send [11:38:17]OFD Sender: No OFD packet to send [11:38:22]OFD Sender: No OFD packet to send [11:38:27]OFD Sender: No OFD packet to send [11:38:32]OFD Sender: No OFD packet to send [11:38:37]OFD Sender: No OFD packet to send [11:38:42]OFD Sender: No OFD packet to send [11:38:47]OFD Sender: No OFD packet to send [11:38:52]OFD Sender: No OFD packet to send [11:38:57]OFD Sender: No OFD packet to send [11:39:02]OFD Sender: No OFD packet to send [11:39:07]OFD Sender: No OFD packet to send [11:39:12]OFD Sender: No OFD packet to send [11:39:17]OFD Sender: No OFD packet to send [11:39:22]OFD Sender: No OFD packet to send [11:39:27]OFD Sender: No OFD packet to send [11:39:32]OFD Sender: No OFD packet to send [11:39:37]OFD Sender: No OFD packet to send [11:39:42]OFD Sender: No OFD packet to send [11:39:47]OFD Sender: No OFD packet to send [11:39:52]OFD Sender: No OFD packet to send [11:39:57]OFD Sender: No OFD packet to send [11:40:02]OFD Sender: No OFD packet to send [11:40:07]OFD Sender: No OFD packet to send [11:40:12]OFD Sender: No OFD packet to send [11:40:17]OFD Sender: No OFD packet to send [11:40:22]OFD Sender: No OFD packet to send [11:40:27]OFD Sender: No OFD packet to send [11:40:32]OFD Sender: No OFD packet to send [11:40:38]OFD Sender: No OFD packet to send [11:40:43]OFD Sender: No OFD packet to send [11:40:48]OFD Sender: No OFD packet to send [11:40:53]OFD Sender: No OFD packet to send [11:40:58]OFD Sender: No OFD packet to send [11:41:03]OFD Sender: No OFD packet to send [11:41:08]OFD Sender: No OFD packet to send [11:41:13]OFD Sender: No OFD packet to send [11:41:18]OFD Sender: No OFD packet to send [11:41:23]OFD Sender: No OFD packet to send [11:41:28]OFD Sender: No OFD packet to send [11:41:33]OFD Sender: No OFD packet to send [11:41:38]OFD Sender: No OFD packet to send [11:41:43]OFD Sender: No OFD packet to send [11:41:48]OFD Sender: No OFD packet to send [11:41:53]OFD Sender: No OFD packet to send [11:41:58]OFD Sender: No OFD packet to send [11:42:03]OFD Sender: No OFD packet to send [11:42:08]OFD Sender: No OFD packet to send [11:42:13]OFD Sender: No OFD packet to send [11:42:18]OFD Sender: No OFD packet to send [11:42:23]OFD Sender: No OFD packet to send [11:42:28]OFD Sender: No OFD packet to send [11:42:33]OFD Sender: No OFD packet to send [11:42:38]OFD Sender: No OFD packet to send [11:42:43]OFD Sender: No OFD packet to send [11:42:48]OFD Sender: No OFD packet to send [11:42:53]OFD Sender: No OFD packet to send [11:42:58]OFD Sender: No OFD packet to send [11:43:03]OFD Sender: No OFD packet to send [11:43:08]OFD Sender: No OFD packet to send [11:43:13]OFD Sender: No OFD packet to send [11:43:18]OFD Sender: No OFD packet to send [11:43:23]OFD Sender: No OFD packet to send [11:43:28]OFD Sender: No OFD packet to send [11:43:33]OFD Sender: No OFD packet to send [11:43:38]OFD Sender: No OFD packet to send [11:43:43]OFD Sender: No OFD packet to send [11:43:48]OFD Sender: No OFD packet to send [11:43:53]OFD Sender: No OFD packet to send [11:43:58]OFD Sender: No OFD packet to send [11:44:03]OFD Sender: No OFD packet to send [11:44:08]OFD Sender: No OFD packet to send [11:44:13]OFD Sender: No OFD packet to send [11:44:18]OFD Sender: No OFD packet to send [11:44:23]OFD Sender: No OFD packet to send [11:44:28]OFD Sender: No OFD packet to send [11:44:33]OFD Sender: No OFD packet to send [11:44:38]OFD Sender: No OFD packet to send [11:44:43]OFD Sender: No OFD packet to send [11:44:48]OFD Sender: No OFD packet to send [11:44:53]OFD Sender: No OFD packet to send [11:44:58]OFD Sender: No OFD packet to send [11:45:03]OFD Sender: No OFD packet to send [11:45:08]OFD Sender: No OFD packet to send [11:45:13]OFD Sender: No OFD packet to send [11:45:18]OFD Sender: No OFD packet to send [11:45:23]OFD Sender: No OFD packet to send [11:45:28]OFD Sender: No OFD packet to send [11:45:33]OFD Sender: No OFD packet to send [11:45:38]OFD Sender: No OFD packet to send [11:45:43]OFD Sender: No OFD packet to send [11:45:48]OFD Sender: No OFD packet to send [11:45:53]OFD Sender: No OFD packet to send [11:45:58]OFD Sender: No OFD packet to send [11:46:03]OFD Sender: No OFD packet to send [11:46:08]OFD Sender: No OFD packet to send [11:46:13]OFD Sender: No OFD packet to send [11:46:18]OFD Sender: No OFD packet to send [11:46:23]OFD Sender: No OFD packet to send [11:46:28]OFD Sender: No OFD packet to send [11:46:33]OFD Sender: No OFD packet to send [11:46:38]OFD Sender: No OFD packet to send [11:46:43]OFD Sender: No OFD packet to send [11:46:48]OFD Sender: No OFD packet to send [11:46:53]OFD Sender: No OFD packet to send [11:46:58]OFD Sender: No OFD packet to send [11:47:03]OFD Sender: No OFD packet to send [11:47:08]OFD Sender: No OFD packet to send [11:47:13]OFD Sender: No OFD packet to send [11:47:18]OFD Sender: No OFD packet to send [11:47:23]OFD Sender: No OFD packet to send [11:47:28]OFD Sender: No OFD packet to send [11:47:33]OFD Sender: No OFD packet to send [11:47:38]OFD Sender: No OFD packet to send [11:47:43]OFD Sender: No OFD packet to send [11:47:48]OFD Sender: No OFD packet to send [11:47:53]OFD Sender: No OFD packet to send [11:47:58]OFD Sender: No OFD packet to send [11:48:03]OFD Sender: No OFD packet to send [11:48:08]OFD Sender: No OFD packet to send [11:48:13]OFD Sender: No OFD packet to send [11:48:18]OFD Sender: No OFD packet to send [11:48:23]OFD Sender: No OFD packet to send [11:48:25]accept exits with 9 [11:48:25]New connection [11:48:25]New thread 3067309412 created [11:48:25]Thread 3067166052 joined [11:48:25]Waiting for new connection... [11:48:25] Sock 9.Parse request [11:48:25]Sock 9.Check first char [11:48:25]Sock 9.First char is OK [11:48:25]request: POST /json_proto HTTP/1.0 [11:48:25]Method: POST [11:48:25]URL: /json_proto [11:48:25]Method is POST - this is cgi request [11:48:25]url: /json_proto [11:48:25]query_string will be loaded in cgi processing [11:48:25]execute_cgi json_proto POST (null) [11:48:25]execute_cgi path=json_proto method=POST [11:48:25]POST find Content-Length [11:48:25]Host: 172.17.53.196:8080 [11:48:25]Content-Length: 627 [11:48:25]Content-Type: application/json [11:48:25] [11:48:25]POST finish read [11:48:25]Found Content-Length = 627 [11:48:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34621", "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" ] } } [11:48:25]execute_script... [11:48:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34621", "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" ] } } [11:48:25]POST & json_proto [11:48:25]process_json_proto [11:48:25]json parsed OK: [11:48:25]protocol is kg_v1.0 [11:48:25]action value=close_receipt [11:48:25]process_action close_receipt [11:48:25]cmd_close_receipt [11:48:25]MH_GetDate [11:48:25]Write to MH i2c: F0 00 00 7E 06 73 [11:48:25]Write i2c OK [11:48:25]MH_I2C_Read... [11:48:25]Read from MH i2c: F0 [11:48:25]MH_I2C_Read... [11:48:25]Read from MH i2c: F0 09 00 [11:48:25]MH_I2C_Read... [11:48:25]Read from MH i2c: F0 09 00 7E 06 00 0B EE 14 67 4F CD 9A 65 0B [11:48:25]GetLastDocTimeStamp 1729423221 [11:48:25]current date 1729424907 [11:48:25]FM_GetShiftState [11:48:25]SAM_PROTO_GetShiftState [11:48:25]wFMCommunicate request_size=4 [11:48:25]MH_SAM_APDU [11:48:25]CAPDU: 80 13 01 00 [11:48:25]Write to MH i2c: E2 08 00 7F 06 80 13 01 00 00 00 00 00 02 [11:48:25]Write i2c OK [11:48:25]MH_I2C_Read... [11:48:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:48:25]Read from MH i2c: E2 [11:48:25]MH_I2C_Read... [11:48:25]Read from MH i2c: E2 0E 00 [11:48:25]MH_I2C_Read... [11:48:25]Read from MH i2c: E2 0E 00 7F 06 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 48 [11:48:25]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [11:48:25]wFMCommunicate OK [11:48:25]SAM_PROTO_GetShiftState done [11:48:25]FM_GetShiftState done [11:48:25]opened in 1729384049 [11:48:25]opened+sec_in_day 1729470449 [11:48:25]quantity*price = 13900 [11:48:25]sum+1 = 13901 [11:48:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 19 20.10.2024 11:48 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24861 ФПД: 75239222086539 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T114827&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24861&fm=75239222086539&tin=02508201610067®Number=0000000000098147&sum=13900 0 [11:48:26]StoreToDocumentArchive [11:48:26]shift 455 fd 24861 [11:48:26]save to /storage/0455/doc_00024861 [11:48:26]save last doc name /storage/0455/doc_00024861 to /storage/kkm_last_doc_name [11:48:26]save OK [11:48:26]Clear old archive folders... [11:48:26]ProcessDocumentItem done err = 0, tmpTLVsize=280 [11:48:26]tlvbuf is 00E14BA0 [11:48:26]SAM_PROTO_ClearQueue [11:48:26]wFMCommunicate request_size=4 [11:48:26]MH_SAM_APDU [11:48:26]CAPDU: 80 09 00 00 [11:48:26]Write to MH i2c: E2 08 00 8C 06 80 09 00 00 00 00 00 00 04 [11:48:26]Write i2c OK [11:48:26]MH_I2C_Read... [11:48:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:48:26]Read from MH i2c: E2 [11:48:26]MH_I2C_Read... [11:48:26]Read from MH i2c: E2 03 00 [11:48:26]MH_I2C_Read... [11:48:26]Read from MH i2c: E2 03 00 8C 06 00 90 00 06 [11:48:26]RAPDU: 90 00 [11:48:26]wFMCommunicate OK [11:48:26]SAM_PROTO_ClearQueue done [11:48:26]KKMCreateOFDPacket [11:48:26]OFDProtocolAddRootSTLVToBuf [11:48:26]FM_MakeSignedData [11:48:26]FM_MakeSignedData [11:48:26]SAM_PROTO_SignData [11:48:26]wFMCommunicate request_size=4 [11:48:26]MH_SAM_APDU [11:48:26]CAPDU: 80 0D 01 02 [11:48:26]Write to MH i2c: E2 08 00 8D 06 80 0D 01 02 00 00 00 00 0C [11:48:26]Write i2c OK [11:48:26]MH_I2C_Read... [11:48:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:48:26]Read from MH i2c: E2 [11:48:26]MH_I2C_Read... [11:48:26]Read from MH i2c: E2 03 00 [11:48:26]MH_I2C_Read... [11:48:26]Read from MH i2c: E2 03 00 8D 06 00 90 00 07 [11:48:26]RAPDU: 90 00 [11:48:26]wFMCommunicate OK [11:48:26]wFMCommunicate request_size=255 [11:48:26]MH_SAM_APDU [11:48:26]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 13 00 00 00 F4 03 04 00 0B EE 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 [11:48:26]Write to MH i2c: E2 02 01 8E 06 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 13 00 00 00 F4 03 04 00 0B EE 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 00 00 30 [11:48:26]Write i2c OK [11:48:26]MH_I2C_Read... [11:48:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:48:26]Read from MH i2c: E2 [11:48:26]MH_I2C_Read... [11:48:26]Read from MH i2c: E2 03 00 [11:48:26]MH_I2C_Read... [11:48:26]Read from MH i2c: E2 03 00 8E 06 00 90 00 08 [11:48:26]RAPDU: 90 00 [11:48:26]wFMCommunicate OK [11:48:26]wFMCommunicate request_size=39 [11:48:26]MH_SAM_APDU [11:48:26]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1D 61 00 00 35 04 06 00 44 6D FF 1B 0B 8B [11:48:26]Write to MH i2c: E2 2A 00 8F 06 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1D 61 00 00 35 04 06 00 44 6D FF 1B 0B 8B 00 00 AD [11:48:26]Write i2c OK [11:48:26]MH_I2C_Read... [11:48:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:48:26]Read from MH i2c: E2 [11:48:26]MH_I2C_Read... [11:48:26]Read from MH i2c: E2 03 00 [11:48:26]MH_I2C_Read... [11:48:26]Read from MH i2c: E2 03 00 8F 06 00 90 00 09 [11:48:26]RAPDU: 90 00 [11:48:26]wFMCommunicate OK [11:48:26]wFMCommunicate request_size=4 [11:48:26]MH_SAM_APDU [11:48:26]CAPDU: 80 0D 03 02 [11:48:26]Write to MH i2c: E2 08 00 90 06 80 0D 03 02 00 00 00 00 11 [11:48:26]Write i2c OK [11:48:26]MH_I2C_Read... [11:48:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:48:26]Read from MH i2c: E2 [11:48:26]MH_I2C_Read... [11:48:26]Read from MH i2c: E2 0B 00 [11:48:26]MH_I2C_Read... [11:48:26]Read from MH i2c: E2 0B 00 90 06 00 F4 C4 0E 04 3F 6F D5 CB 90 00 2A [11:48:26]RAPDU: F4 C4 0E 04 3F 6F D5 CB 90 00 [11:48:26]wFMCommunicate OK [11:48:26]SAM_PROTO_SignData done [11:48:26]FM_MakeSignedData done [11:48:26]CreateOFDProtocolMessage [11:48:26]wFMCommunicate request_size=4 [11:48:26]MH_SAM_APDU [11:48:26]CAPDU: 80 11 00 00 [11:48:26]Write to MH i2c: E2 08 00 91 06 80 11 00 00 00 00 00 00 11 [11:48:26]Write i2c OK [11:48:26]MH_I2C_Read... [11:48:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:48:26]Read from MH i2c: E2 [11:48:26]MH_I2C_Read... [11:48:26]Read from MH i2c: E2 17 00 [11:48:26]MH_I2C_Read... [11:48:26]Read from MH i2c: E2 17 00 91 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 68 [11:48:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [11:48:26]wFMCommunicate OK [11:48:26]CreateOFDProtocolMessage done [11:48:26]OFDSenderStorePacket 24861 [11:48:26]StoreOFDPacket docnum=24861 [11:48:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2C 01 00 00 97 62 24 01 76 6A 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 13 00 00 00 F4 03 04 00 0B EE 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1D 61 00 00 35 04 06 00 44 6D FF 1B 0B 8B F4 C4 0E 04 3F 6F D5 CB [11:48:26]CheckFolder [11:48:26]dirname=/storage/ofd_packets [11:48:26]CheckFolder done [11:48:26]ProducePacketName [11:48:26]name=ofd_packets/00024861 [11:48:26]NVStorageSaveData ofd_packets/00024861 [11:48:26]File name is /storage/ofd_packets/00024861 [11:48:26]Write 330 bytes [11:48:26]NVStorageSaveData done [11:48:26]OFDSenderStorePacket done [11:48:26]KKMCreateOFDPacket done [11:48:26]NVStorageSaveData kkm_last_timestamp [11:48:26]File name is /storage/kkm_last_timestamp [11:48:26]Write 4 bytes [11:48:26]NVStorageSaveData done [11:48:26]ExternCall_PrintAddStr [11:48:26]wPrintStart [11:48:26]Write to MH i2c: 01 00 00 92 06 98 [11:48:26]Write i2c OK [11:48:26]MH_I2C_Read... [11:48:26]Read from MH i2c: 01 [11:48:26]MH_I2C_Read... [11:48:26]Read from MH i2c: 01 07 00 [11:48:26]MH_I2C_Read... [11:48:26]Read from MH i2c: 01 07 00 92 06 00 00 00 00 00 FF 0F AD [11:48:26]RasterBufferAndPrint [11:48:26]line Счет N : (3)34621 [11:48:26]line ИНН: 02508201610067 [11:48:26]line Контрольно-Кассовый Чек [11:48:26]line ПРОДАЖА [11:48:26]line Товар: 48741231 [11:48:26]line Сигареты Winston Super Slims Silver [11:48:26]line 1.000 * 139.00 [11:48:26]line = 139.00 [11:48:26]line НДС 12% НСП 1% [11:48:26]line > о реализуемом товаре [11:48:26]line ИТОГО: 139.00 [11:48:26]line НСП 1% : 1.23 [11:48:26]line НДС 12% : 14.76 [11:48:26]line Наличными: 139.00 [11:48:26]line Безнал.: 0.00 [11:48:26]line Место: АЗС № 161 "Партнер Нефть" [11:48:26]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [11:48:26]line СНО: Общий режим [11:48:26]line Чек 19 20.10.2024 11:48 [11:48:26]line Смена: 455 ФФД: 1.0 [11:48:26]line ЗНМ: 0300000240 [11:48:26]line РНМ: 0000000000098147 [11:48:26]line Версия ККМ: 001 [11:48:26]line ФМ: 0000000000965376 [11:48:26]line ФД: 24861 [11:48:26]line ФПД: 75239222086539 [11:48:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T114827&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24861&fm=75239222086539&tin=02508201610067®Number=0000000000098147&sum=13900 [11:48:27]line 0 [11:48:27]OFD Sender: Processing packet 24861 [packets to send 5, broken 4] [11:48:27]ProducePacketName [11:48:27]name=ofd_packets/00024861 [11:48:27]OFD Sender: To server: pG, [11:48:27]CommunicateWithHost lk.salyk.kg:30040 [11:48:27]ConnectInit lk.salyk.kg [11:48:27]written 0, free lines is 4095 [11:48:27]Connected sock=10 [11:48:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2C 01 00 00 97 62 24 01 76 6A 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 13 00 00 00 F4 03 04 00 0B EE 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1D 61 00 00 35 04 06 00 44 6D FF 1B 0B 8B F4 C4 0E 04 3F 6F D5 CB [11:48:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 DD C8 47 00 89 ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1D 61 00 00 F4 03 04 00 8C 96 14 67 B6 04 01 00 00 D5 E1 65 9F AD BF 7E E2 [11:48:27]CommunicateWithHost err = 0 [11:48:27]CheckOFDResponse [11:48:27]1017 (14) - 77093643461234 [11:48:27]1041 (16) - 0000000000965376 [11:48:27]1040 (4) - 24861 [11:48:27]1012 (4) - 20.10.2024 05:35 [11:48:27]1206 (1) - 0 [11:48:27]OFD Sender: Remove packet 24861 [11:48:27]ProducePacketName [11:48:27]name=ofd_packets/00024861 [11:48:27]NVStorageDeleteData [11:48:27]Write to MH i2c: 01 00 00 BB 06 C1 [11:48:27]Write i2c OK [11:48:27]MH_I2C_Read... [11:48:27]Read from MH i2c: 01 [11:48:27]MH_I2C_Read... [11:48:27]Read from MH i2c: 01 07 00 [11:48:27]MH_I2C_Read... [11:48:27]Read from MH i2c: 01 07 00 BB 06 00 00 00 00 00 E5 0C B9 [11:48:27]RasterBufferAndPrint [11:48:27]line [11:48:27]line [11:48:27]line [11:48:27]line [11:48:27]line [11:48:27]written 0, free lines is 3306 [11:48:27]process_action close_receipt done [11:48:27]requested_data is exist [11:48:27]produce_requested_data [11:48:27]requested_item fm.sn is exist - process it [11:48:27]wFMCommunicate request_size=4 [11:48:27]MH_SAM_APDU [11:48:27]CAPDU: 80 11 00 00 [11:48:27]Write to MH i2c: E2 08 00 C2 06 80 11 00 00 00 00 00 00 42 [11:48:27]Write i2c OK [11:48:27]MH_I2C_Read... [11:48:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:48:27]Read from MH i2c: E2 [11:48:27]MH_I2C_Read... [11:48:27]Read from MH i2c: E2 17 00 [11:48:27]MH_I2C_Read... [11:48:27]Read from MH i2c: E2 17 00 C2 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 99 [11:48:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [11:48:27]wFMCommunicate OK [11:48:27]requested_item fd.num is exist - process it [11:48:27]SAM_PROTO_GetFieldsCounters [11:48:27]wFMCommunicate request_size=4 [11:48:27]MH_SAM_APDU [11:48:27]CAPDU: 80 13 00 00 [11:48:27]Write to MH i2c: E2 08 00 C3 06 80 13 00 00 00 00 00 00 45 [11:48:27]Write i2c OK [11:48:27]MH_I2C_Read... [11:48:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:48:27]Read from MH i2c: E2 [11:48:27]MH_I2C_Read... [11:48:27]Read from MH i2c: E2 62 00 [11:48:27]MH_I2C_Read... [11:48:27]Read from MH i2c: E2 62 00 C3 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 1D 61 00 00 0E 04 04 00 C7 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 ED [11:48:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 1D 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:48:27]wFMCommunicate OK [11:48:27]SAM_PROTO_GetFieldsCounters done [11:48:27]requested_item shift.num is exist - process it [11:48:27]requested_item shift.opened is exist - process it [11:48:27]req_shift_opened [11:48:27]FM_GetShiftState [11:48:27]SAM_PROTO_GetShiftState [11:48:27]wFMCommunicate request_size=4 [11:48:27]MH_SAM_APDU [11:48:27]CAPDU: 80 13 01 00 [11:48:27]Write to MH i2c: E2 08 00 C4 06 80 13 01 00 00 00 00 00 47 [11:48:27]Write i2c OK [11:48:27]MH_I2C_Read... [11:48:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:48:28]Read from MH i2c: E2 [11:48:28]MH_I2C_Read... [11:48:28]Read from MH i2c: E2 0E 00 [11:48:28]MH_I2C_Read... [11:48:28]Read from MH i2c: E2 0E 00 C4 06 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 8D [11:48:28]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [11:48:28]wFMCommunicate OK [11:48:28]SAM_PROTO_GetShiftState done [11:48:28]FM_GetShiftState done [11:48:28]req_shift_opened done [11:48:28]requested_item shift.open_date is exist - process it [11:48:28]req_shift_open_date [11:48:28]req_shift_open_date done [11:48:28]produce_requested_data done [11:48:28]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24861,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [11:48:28]process_action_free close_receipt [11:48:28]json_value_free [11:48:28]json_value_free done [11:48:28]process_json_proto returns [11:48:28]Send response to host [11:48:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24861,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [11:48:28]free response buf [11:48:28]execute_script done [11:48:28]execute_script returns [11:48:28]free content buf [11:48:28]Sock 9.Close socket [11:48:28]Sock 9.Thread stoped [11:48:28]OFD Sender: No OFD packet to send [11:48:33]OFD Sender: No OFD packet to send [11:48:38]OFD Sender: No OFD packet to send [11:48:43]OFD Sender: No OFD packet to send [11:48:48]OFD Sender: No OFD packet to send [11:48:53]OFD Sender: No OFD packet to send [11:48:58]OFD Sender: No OFD packet to send [11:49:03]OFD Sender: No OFD packet to send [11:49:08]OFD Sender: No OFD packet to send [11:49:13]OFD Sender: No OFD packet to send [11:49:18]OFD Sender: No OFD packet to send [11:49:23]OFD Sender: No OFD packet to send [11:49:28]OFD Sender: No OFD packet to send [11:49:33]OFD Sender: No OFD packet to send [11:49:38]OFD Sender: No OFD packet to send [11:49:43]OFD Sender: No OFD packet to send [11:49:48]OFD Sender: No OFD packet to send [11:49:53]OFD Sender: No OFD packet to send [11:49:58]OFD Sender: No OFD packet to send [11:50:03]OFD Sender: No OFD packet to send [11:50:08]OFD Sender: No OFD packet to send [11:50:13]OFD Sender: No OFD packet to send [11:50:18]OFD Sender: No OFD packet to send [11:50:23]OFD Sender: No OFD packet to send [11:50:28]OFD Sender: No OFD packet to send [11:50:33]OFD Sender: No OFD packet to send [11:50:38]OFD Sender: No OFD packet to send [11:50:43]OFD Sender: No OFD packet to send [11:50:48]OFD Sender: No OFD packet to send [11:50:53]OFD Sender: No OFD packet to send [11:50:58]OFD Sender: No OFD packet to send [11:51:03]OFD Sender: No OFD packet to send [11:51:08]OFD Sender: No OFD packet to send [11:51:13]OFD Sender: No OFD packet to send [11:51:18]OFD Sender: No OFD packet to send [11:51:23]OFD Sender: No OFD packet to send [11:51:28]OFD Sender: No OFD packet to send [11:51:33]OFD Sender: No OFD packet to send [11:51:38]OFD Sender: No OFD packet to send [11:51:43]OFD Sender: No OFD packet to send [11:51:48]OFD Sender: No OFD packet to send [11:51:53]OFD Sender: No OFD packet to send [11:51:58]OFD Sender: No OFD packet to send [11:52:03]OFD Sender: No OFD packet to send [11:52:08]OFD Sender: No OFD packet to send [11:52:13]OFD Sender: No OFD packet to send [11:52:18]OFD Sender: No OFD packet to send [11:52:23]OFD Sender: No OFD packet to send [11:52:28]OFD Sender: No OFD packet to send [11:52:33]OFD Sender: No OFD packet to send [11:52:38]OFD Sender: No OFD packet to send [11:52:43]OFD Sender: No OFD packet to send [11:52:48]OFD Sender: No OFD packet to send [11:52:53]OFD Sender: No OFD packet to send [11:52:58]OFD Sender: No OFD packet to send [11:53:03]OFD Sender: No OFD packet to send [11:53:08]OFD Sender: No OFD packet to send [11:53:13]OFD Sender: No OFD packet to send [11:53:18]OFD Sender: No OFD packet to send [11:53:23]OFD Sender: No OFD packet to send [11:53:28]OFD Sender: No OFD packet to send [11:53:33]OFD Sender: No OFD packet to send [11:53:38]OFD Sender: No OFD packet to send [11:53:43]OFD Sender: No OFD packet to send [11:53:48]OFD Sender: No OFD packet to send [11:53:53]OFD Sender: No OFD packet to send [11:53:58]OFD Sender: No OFD packet to send [11:54:03]OFD Sender: No OFD packet to send [11:54:08]OFD Sender: No OFD packet to send [11:54:13]OFD Sender: No OFD packet to send [11:54:18]OFD Sender: No OFD packet to send [11:54:23]OFD Sender: No OFD packet to send [11:54:28]OFD Sender: No OFD packet to send [11:54:33]OFD Sender: No OFD packet to send [11:54:38]OFD Sender: No OFD packet to send [11:54:43]OFD Sender: No OFD packet to send [11:54:48]OFD Sender: No OFD packet to send [11:54:53]OFD Sender: No OFD packet to send [11:54:58]OFD Sender: No OFD packet to send [11:55:03]OFD Sender: No OFD packet to send [11:55:08]OFD Sender: No OFD packet to send [11:55:13]OFD Sender: No OFD packet to send [11:55:17]accept exits with 7 [11:55:17]New connection [11:55:17]New thread 3067166052 created [11:55:17]Thread 3067309412 joined [11:55:17]Waiting for new connection... [11:55:17] Sock 7.Parse request [11:55:17]Sock 7.Check first char [11:55:17]Sock 7.First char is OK [11:55:17]request: POST /json_proto HTTP/1.0 [11:55:17]Method: POST [11:55:17]URL: /json_proto [11:55:17]Method is POST - this is cgi request [11:55:17]url: /json_proto [11:55:17]query_string will be loaded in cgi processing [11:55:17]execute_cgi json_proto POST (null) [11:55:17]execute_cgi path=json_proto method=POST [11:55:17]POST find Content-Length [11:55:17]Host: 172.17.53.196:8080 [11:55:17]Content-Length: 622 [11:55:17]Content-Type: application/json [11:55:17] [11:55:17]POST finish read [11:55:17]Found Content-Length = 622 [11:55:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34622", "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" ] } } [11:55:17]execute_script... [11:55: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)34622", "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" ] } } [11:55:17]POST & json_proto [11:55:17]process_json_proto [11:55:17]json parsed OK: [11:55:17]protocol is kg_v1.0 [11:55:17]action value=close_receipt [11:55:17]process_action close_receipt [11:55:17]cmd_close_receipt [11:55:17]MH_GetDate [11:55:17]Write to MH i2c: F0 00 00 C5 06 BA [11:55:17]Write i2c OK [11:55:17]MH_I2C_Read... [11:55:17]Read from MH i2c: F0 [11:55:17]MH_I2C_Read... [11:55:17]Read from MH i2c: F0 09 00 [11:55:17]MH_I2C_Read... [11:55:17]Read from MH i2c: F0 09 00 C5 06 00 A7 EF 14 67 4F CD 9A 65 EF [11:55:17]GetLastDocTimeStamp 1729424907 [11:55:17]current date 1729425319 [11:55:17]FM_GetShiftState [11:55:17]SAM_PROTO_GetShiftState [11:55:17]wFMCommunicate request_size=4 [11:55:17]MH_SAM_APDU [11:55:17]CAPDU: 80 13 01 00 [11:55:17]Write to MH i2c: E2 08 00 C6 06 80 13 01 00 00 00 00 00 49 [11:55:17]Write i2c OK [11:55:17]MH_I2C_Read... [11:55:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:55:17]Read from MH i2c: E2 [11:55:17]MH_I2C_Read... [11:55:17]Read from MH i2c: E2 0E 00 [11:55:17]MH_I2C_Read... [11:55:17]Read from MH i2c: E2 0E 00 C6 06 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 8F [11:55:17]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [11:55:17]wFMCommunicate OK [11:55:17]SAM_PROTO_GetShiftState done [11:55:17]FM_GetShiftState done [11:55:17]opened in 1729384049 [11:55:17]opened+sec_in_day 1729470449 [11:55:17]quantity*price = 14400 [11:55:17]sum+1 = 14401 [11:55:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 20 20.10.2024 11:55 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24862 ФПД: 81535463693271 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T115519&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24862&fm=81535463693271&tin=02508201610067®Number=0000000000098147&sum=14400 0 [11:55:18]StoreToDocumentArchive [11:55:18]shift 455 fd 24862 [11:55:18]save to /storage/0455/doc_00024862 [11:55:18]save last doc name /storage/0455/doc_00024862 to /storage/kkm_last_doc_name [11:55:18]save OK [11:55:18]Clear old archive folders... [11:55:18]ProcessDocumentItem done err = 0, tmpTLVsize=275 [11:55:18]tlvbuf is 00DCAC50 [11:55:18]SAM_PROTO_ClearQueue [11:55:18]wFMCommunicate request_size=4 [11:55:18]MH_SAM_APDU [11:55:18]CAPDU: 80 09 00 00 [11:55:18]Write to MH i2c: E2 08 00 D3 06 80 09 00 00 00 00 00 00 4B [11:55:18]Write i2c OK [11:55:18]MH_I2C_Read... [11:55:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:55:18]Read from MH i2c: E2 [11:55:18]MH_I2C_Read... [11:55:18]Read from MH i2c: E2 03 00 [11:55:18]MH_I2C_Read... [11:55:18]Read from MH i2c: E2 03 00 D3 06 00 90 00 4D [11:55:18]RAPDU: 90 00 [11:55:18]wFMCommunicate OK [11:55:18]SAM_PROTO_ClearQueue done [11:55:18]KKMCreateOFDPacket [11:55:18]OFDProtocolAddRootSTLVToBuf [11:55:18]FM_MakeSignedData [11:55:18]FM_MakeSignedData [11:55:18]SAM_PROTO_SignData [11:55:18]wFMCommunicate request_size=4 [11:55:18]MH_SAM_APDU [11:55:18]CAPDU: 80 0D 01 02 [11:55:18]Write to MH i2c: E2 08 00 D4 06 80 0D 01 02 00 00 00 00 53 [11:55:18]Write i2c OK [11:55:18]MH_I2C_Read... [11:55:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:55:18]OFD Sender: No OFD packet to send [11:55:18]Read from MH i2c: E2 [11:55:18]MH_I2C_Read... [11:55:18]Read from MH i2c: E2 03 00 [11:55:18]MH_I2C_Read... [11:55:18]Read from MH i2c: E2 03 00 D4 06 00 90 00 4E [11:55:18]RAPDU: 90 00 [11:55:18]wFMCommunicate OK [11:55:18]wFMCommunicate request_size=255 [11:55:18]MH_SAM_APDU [11:55: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 14 00 00 00 F4 03 04 00 A7 EF 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 [11:55:18]Write to MH i2c: E2 02 01 D5 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 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 14 00 00 00 F4 03 04 00 A7 EF 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 00 00 49 [11:55:18]Write i2c OK [11:55:18]MH_I2C_Read... [11:55:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:55:18]Read from MH i2c: E2 [11:55:18]MH_I2C_Read... [11:55:18]Read from MH i2c: E2 03 00 [11:55:18]MH_I2C_Read... [11:55:18]Read from MH i2c: E2 03 00 D5 06 00 90 00 4F [11:55:18]RAPDU: 90 00 [11:55:18]wFMCommunicate OK [11:55:18]wFMCommunicate request_size=34 [11:55:18]MH_SAM_APDU [11:55:18]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1E 61 00 00 35 04 06 00 4A 27 F4 59 9B D7 [11:55:18]Write to MH i2c: E2 25 00 D6 06 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1E 61 00 00 35 04 06 00 4A 27 F4 59 9B D7 00 00 CA [11:55:18]Write i2c OK [11:55:18]MH_I2C_Read... [11:55:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:55:18]Read from MH i2c: E2 [11:55:18]MH_I2C_Read... [11:55:18]Read from MH i2c: E2 03 00 [11:55:18]MH_I2C_Read... [11:55:18]Read from MH i2c: E2 03 00 D6 06 00 90 00 50 [11:55:18]RAPDU: 90 00 [11:55:18]wFMCommunicate OK [11:55:18]wFMCommunicate request_size=4 [11:55:18]MH_SAM_APDU [11:55:18]CAPDU: 80 0D 03 02 [11:55:18]Write to MH i2c: E2 08 00 D7 06 80 0D 03 02 00 00 00 00 58 [11:55:18]Write i2c OK [11:55:18]MH_I2C_Read... [11:55:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:55:18]Read from MH i2c: E2 [11:55:18]MH_I2C_Read... [11:55:18]Read from MH i2c: E2 0B 00 [11:55:18]MH_I2C_Read... [11:55:18]Read from MH i2c: E2 0B 00 D7 06 00 AC 3E 13 64 41 01 59 FC 90 00 51 [11:55:18]RAPDU: AC 3E 13 64 41 01 59 FC 90 00 [11:55:18]wFMCommunicate OK [11:55:18]SAM_PROTO_SignData done [11:55:18]FM_MakeSignedData done [11:55:18]CreateOFDProtocolMessage [11:55:18]wFMCommunicate request_size=4 [11:55:18]MH_SAM_APDU [11:55:18]CAPDU: 80 11 00 00 [11:55:18]Write to MH i2c: E2 08 00 D8 06 80 11 00 00 00 00 00 00 58 [11:55:18]Write i2c OK [11:55:18]MH_I2C_Read... [11:55:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:55:18]Read from MH i2c: E2 [11:55:18]MH_I2C_Read... [11:55:18]Read from MH i2c: E2 17 00 [11:55:18]MH_I2C_Read... [11:55:18]Read from MH i2c: E2 17 00 D8 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 AF [11:55:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [11:55:18]wFMCommunicate OK [11:55:18]CreateOFDProtocolMessage done [11:55:18]OFDSenderStorePacket 24862 [11:55:18]StoreOFDPacket docnum=24862 [11:55:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 CD 05 1F 01 8A 81 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 14 00 00 00 F4 03 04 00 A7 EF 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1E 61 00 00 35 04 06 00 4A 27 F4 59 9B D7 AC 3E 13 64 41 01 59 FC [11:55:18]CheckFolder [11:55:18]dirname=/storage/ofd_packets [11:55:18]CheckFolder done [11:55:18]ProducePacketName [11:55:18]name=ofd_packets/00024862 [11:55:18]NVStorageSaveData ofd_packets/00024862 [11:55:18]File name is /storage/ofd_packets/00024862 [11:55:18]Write 325 bytes [11:55:18]NVStorageSaveData done [11:55:18]OFDSenderStorePacket done [11:55:18]KKMCreateOFDPacket done [11:55:18]NVStorageSaveData kkm_last_timestamp [11:55:18]File name is /storage/kkm_last_timestamp [11:55:18]Write 4 bytes [11:55:18]NVStorageSaveData done [11:55:18]ExternCall_PrintAddStr [11:55:18]wPrintStart [11:55:18]Write to MH i2c: 01 00 00 D9 06 DF [11:55:18]Write i2c OK [11:55:18]MH_I2C_Read... [11:55:18]Read from MH i2c: 01 [11:55:18]MH_I2C_Read... [11:55:18]Read from MH i2c: 01 07 00 [11:55:18]MH_I2C_Read... [11:55:18]Read from MH i2c: 01 07 00 D9 06 00 00 00 00 00 FF 0F F4 [11:55:18]RasterBufferAndPrint [11:55:18]line Счет N : (3)34622 [11:55:18]line ИНН: 02508201610067 [11:55:18]line Контрольно-Кассовый Чек [11:55:18]line ПРОДАЖА [11:55:18]line Товар: 48743587 [11:55:18]line Сигареты Winston XStyle Silver [11:55:18]line 1.000 * 144.00 [11:55:18]line = 144.00 [11:55:18]line НДС 12% НСП 1% [11:55:18]line > о реализуемом товаре [11:55:18]line ИТОГО: 144.00 [11:55:18]line НСП 1% : 1.27 [11:55:18]line НДС 12% : 15.29 [11:55:18]line Наличными: 144.00 [11:55:18]line Безнал.: 0.00 [11:55:18]line Место: АЗС № 161 "Партнер Нефть" [11:55:18]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [11:55:18]line СНО: Общий режим [11:55:18]line Чек 20 20.10.2024 11:55 [11:55:18]line Смена: 455 ФФД: 1.0 [11:55:18]line ЗНМ: 0300000240 [11:55:18]line РНМ: 0000000000098147 [11:55:18]line Версия ККМ: 001 [11:55:18]line ФМ: 0000000000965376 [11:55:18]line ФД: 24862 [11:55:18]line ФПД: 81535463693271 [11:55:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T115519&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24862&fm=81535463693271&tin=02508201610067®Number=0000000000098147&sum=14400 [11:55:19]line 0 [11:55:19]OFD Sender: Processing packet 24862 [packets to send 5, broken 4] [11:55:19]ProducePacketName [11:55:19]name=ofd_packets/00024862 [11:55:19]OFD Sender: To server: pG, [11:55:19]CommunicateWithHost lk.salyk.kg:30040 [11:55:19]ConnectInit lk.salyk.kg [11:55:19]written 0, free lines is 4095 [11:55:19]Connected sock=10 [11:55:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 CD 05 1F 01 8A 81 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 14 00 00 00 F4 03 04 00 A7 EF 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1E 61 00 00 35 04 06 00 4A 27 F4 59 9B D7 AC 3E 13 64 41 01 59 FC [11:55:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 97 18 47 00 F3 C6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1E 61 00 00 F4 03 04 00 28 98 14 67 B6 04 01 00 00 D8 48 28 AF 1C 69 B7 DC [11:55:19]CommunicateWithHost err = 0 [11:55:19]CheckOFDResponse [11:55:19]1017 (14) - 77093643461234 [11:55:19]1041 (16) - 0000000000965376 [11:55:19]1040 (4) - 24862 [11:55:19]1012 (4) - 20.10.2024 05:42 [11:55:19]1206 (1) - 0 [11:55:19]OFD Sender: Remove packet 24862 [11:55:19]ProducePacketName [11:55:19]name=ofd_packets/00024862 [11:55:19]NVStorageDeleteData [11:55:19]Write to MH i2c: 01 00 00 02 07 09 [11:55:19]Write i2c OK [11:55:19]MH_I2C_Read... [11:55:19]Read from MH i2c: 01 [11:55:19]MH_I2C_Read... [11:55:19]Read from MH i2c: 01 07 00 [11:55:19]MH_I2C_Read... [11:55:19]Read from MH i2c: 01 07 00 02 07 00 00 00 00 00 C3 0C DF [11:55:19]RasterBufferAndPrint [11:55:19]line [11:55:19]line [11:55:19]line [11:55:19]line [11:55:19]line [11:55:19]written 0, free lines is 3272 [11:55:19]process_action close_receipt done [11:55:19]requested_data is exist [11:55:19]produce_requested_data [11:55:19]requested_item fm.sn is exist - process it [11:55:19]wFMCommunicate request_size=4 [11:55:19]MH_SAM_APDU [11:55:19]CAPDU: 80 11 00 00 [11:55:19]Write to MH i2c: E2 08 00 09 07 80 11 00 00 00 00 00 00 8A [11:55:19]Write i2c OK [11:55:19]MH_I2C_Read... [11:55:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:55:19]Read from MH i2c: E2 [11:55:19]MH_I2C_Read... [11:55:19]Read from MH i2c: E2 17 00 [11:55:19]MH_I2C_Read... [11:55:19]Read from MH i2c: E2 17 00 09 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 E1 [11:55:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [11:55:19]wFMCommunicate OK [11:55:19]requested_item fd.num is exist - process it [11:55:19]SAM_PROTO_GetFieldsCounters [11:55:19]wFMCommunicate request_size=4 [11:55:19]MH_SAM_APDU [11:55:19]CAPDU: 80 13 00 00 [11:55:19]Write to MH i2c: E2 08 00 0A 07 80 13 00 00 00 00 00 00 8D [11:55:19]Write i2c OK [11:55:19]MH_I2C_Read... [11:55:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:55:19]Read from MH i2c: E2 [11:55:19]MH_I2C_Read... [11:55:19]Read from MH i2c: E2 62 00 [11:55:19]MH_I2C_Read... [11:55:19]Read from MH i2c: E2 62 00 0A 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 1E 61 00 00 0E 04 04 00 C7 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 39 [11:55:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 1E 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:55:19]wFMCommunicate OK [11:55:19]SAM_PROTO_GetFieldsCounters done [11:55:19]requested_item shift.num is exist - process it [11:55:19]requested_item shift.opened is exist - process it [11:55:19]req_shift_opened [11:55:19]FM_GetShiftState [11:55:19]SAM_PROTO_GetShiftState [11:55:19]wFMCommunicate request_size=4 [11:55:19]MH_SAM_APDU [11:55:19]CAPDU: 80 13 01 00 [11:55:19]Write to MH i2c: E2 08 00 0B 07 80 13 01 00 00 00 00 00 8F [11:55:19]Write i2c OK [11:55:19]MH_I2C_Read... [11:55:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:55:19]Read from MH i2c: E2 [11:55:19]MH_I2C_Read... [11:55:19]Read from MH i2c: E2 0E 00 [11:55:19]MH_I2C_Read... [11:55:19]Read from MH i2c: E2 0E 00 0B 07 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 D5 [11:55:19]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [11:55:19]wFMCommunicate OK [11:55:19]SAM_PROTO_GetShiftState done [11:55:19]FM_GetShiftState done [11:55:19]req_shift_opened done [11:55:19]requested_item shift.open_date is exist - process it [11:55:19]req_shift_open_date [11:55:19]req_shift_open_date done [11:55:19]produce_requested_data done [11:55:19]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24862,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [11:55:19]process_action_free close_receipt [11:55:19]json_value_free [11:55:19]json_value_free done [11:55:19]process_json_proto returns [11:55:19]Send response to host [11:55:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24862,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [11:55:20]free response buf [11:55:20]execute_script done [11:55:20]execute_script returns [11:55:20]free content buf [11:55:20]Sock 7.Close socket [11:55:20]Sock 7.Thread stoped [11:55:20]OFD Sender: No OFD packet to send [11:55:25]OFD Sender: No OFD packet to send [11:55:30]OFD Sender: No OFD packet to send [11:55:35]OFD Sender: No OFD packet to send [11:55:40]OFD Sender: No OFD packet to send [11:55:45]OFD Sender: No OFD packet to send [11:55:50]OFD Sender: No OFD packet to send [11:55:55]OFD Sender: No OFD packet to send [11:56:00]OFD Sender: No OFD packet to send [11:56:05]OFD Sender: No OFD packet to send [11:56:10]OFD Sender: No OFD packet to send [11:56:15]OFD Sender: No OFD packet to send [11:56:20]OFD Sender: No OFD packet to send [11:56:25]OFD Sender: No OFD packet to send [11:56:30]OFD Sender: No OFD packet to send [11:56:35]OFD Sender: No OFD packet to send [11:56:40]OFD Sender: No OFD packet to send [11:56:45]OFD Sender: No OFD packet to send [11:56:50]OFD Sender: No OFD packet to send [11:56:55]OFD Sender: No OFD packet to send [11:57:00]OFD Sender: No OFD packet to send [11:57:05]OFD Sender: No OFD packet to send [11:57:10]OFD Sender: No OFD packet to send [11:57:15]OFD Sender: No OFD packet to send [11:57:20]OFD Sender: No OFD packet to send [11:57:25]OFD Sender: No OFD packet to send [11:57:30]OFD Sender: No OFD packet to send [11:57:35]OFD Sender: No OFD packet to send [11:57:40]OFD Sender: No OFD packet to send [11:57:45]OFD Sender: No OFD packet to send [11:57:50]OFD Sender: No OFD packet to send [11:57:55]OFD Sender: No OFD packet to send [11:58:00]OFD Sender: No OFD packet to send [11:58:05]OFD Sender: No OFD packet to send [11:58:10]OFD Sender: No OFD packet to send [11:58:15]OFD Sender: No OFD packet to send [11:58:20]OFD Sender: No OFD packet to send [11:58:25]OFD Sender: No OFD packet to send [11:58:30]OFD Sender: No OFD packet to send [11:58:35]OFD Sender: No OFD packet to send [11:58:40]OFD Sender: No OFD packet to send [11:58:45]OFD Sender: No OFD packet to send [11:58:50]OFD Sender: No OFD packet to send [11:58:55]OFD Sender: No OFD packet to send [11:59:00]OFD Sender: No OFD packet to send [11:59:05]OFD Sender: No OFD packet to send [11:59:10]OFD Sender: No OFD packet to send [11:59:15]OFD Sender: No OFD packet to send [11:59:20]OFD Sender: No OFD packet to send [11:59:25]OFD Sender: No OFD packet to send [11:59:30]OFD Sender: No OFD packet to send [11:59:35]OFD Sender: No OFD packet to send [11:59:40]OFD Sender: No OFD packet to send [11:59:45]OFD Sender: No OFD packet to send [11:59:50]OFD Sender: No OFD packet to send [11:59:55]OFD Sender: No OFD packet to send [12:00:00]OFD Sender: No OFD packet to send [12:00:05]OFD Sender: No OFD packet to send [12:00:10]OFD Sender: No OFD packet to send [12:00:15]OFD Sender: No OFD packet to send [12:00:20]OFD Sender: No OFD packet to send [12:00:25]OFD Sender: No OFD packet to send [12:00:30]OFD Sender: No OFD packet to send [12:00:35]OFD Sender: No OFD packet to send [12:00:40]OFD Sender: No OFD packet to send [12:00:45]OFD Sender: No OFD packet to send [12:00:50]OFD Sender: No OFD packet to send [12:00:55]OFD Sender: No OFD packet to send [12:01:00]OFD Sender: No OFD packet to send [12:01:05]OFD Sender: No OFD packet to send [12:01:10]OFD Sender: No OFD packet to send [12:01:15]OFD Sender: No OFD packet to send [12:01:20]OFD Sender: No OFD packet to send [12:01:25]OFD Sender: No OFD packet to send [12:01:30]OFD Sender: No OFD packet to send [12:01:35]OFD Sender: No OFD packet to send [12:01:40]OFD Sender: No OFD packet to send [12:01:45]OFD Sender: No OFD packet to send [12:01:50]OFD Sender: No OFD packet to send [12:01:55]OFD Sender: No OFD packet to send [12:02:00]OFD Sender: No OFD packet to send [12:02:05]OFD Sender: No OFD packet to send [12:02:10]OFD Sender: No OFD packet to send [12:02:15]OFD Sender: No OFD packet to send [12:02:20]OFD Sender: No OFD packet to send [12:02:25]OFD Sender: No OFD packet to send [12:02:30]OFD Sender: No OFD packet to send [12:02:33]accept exits with 9 [12:02:33]New connection [12:02:33]New thread 3067309412 created [12:02:33]Thread 3067166052 joined [12:02:33]Waiting for new connection... [12:02:33] Sock 9.Parse request [12:02:33]Sock 9.Check first char [12:02:33]Sock 9.First char is OK [12:02:33]request: POST /json_proto HTTP/1.0 [12:02:33]Method: POST [12:02:33]URL: /json_proto [12:02:33]Method is POST - this is cgi request [12:02:33]url: /json_proto [12:02:33]query_string will be loaded in cgi processing [12:02:33]execute_cgi json_proto POST (null) [12:02:33]execute_cgi path=json_proto method=POST [12:02:33]POST find Content-Length [12:02:33]Host: 172.17.53.196:8080 [12:02:33]Content-Length: 215 [12:02:33]Content-Type: application/json [12:02:33] [12:02:33]POST finish read [12:02:33]Found Content-Length = 215 [12:02:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:02:33]execute_script... [12:02:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:02:33]POST & json_proto [12:02:33]process_json_proto [12:02:33]json parsed OK: [12:02:33]protocol is kg_v1.0 [12:02:33]action value=get_value [12:02:33]process_action get_value [12:02:33]cmd_get_value [12:02:33]process_action get_value done [12:02:33]requested_data is exist [12:02:33]produce_requested_data [12:02:33]requested_item kkm.sn is exist - process it [12:02:33]requested_item kkm.ver is exist - process it [12:02:33]requested_item fm.sn is exist - process it [12:02:33]wFMCommunicate request_size=4 [12:02:33]MH_SAM_APDU [12:02:33]CAPDU: 80 11 00 00 [12:02:33]Write to MH i2c: E2 08 00 0C 07 80 11 00 00 00 00 00 00 8D [12:02:33]Write i2c OK [12:02:33]MH_I2C_Read... [12:02:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:02:33]Read from MH i2c: E2 [12:02:33]MH_I2C_Read... [12:02:33]Read from MH i2c: E2 17 00 [12:02:33]MH_I2C_Read... [12:02:33]Read from MH i2c: E2 17 00 0C 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 E4 [12:02:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [12:02:33]wFMCommunicate OK [12:02:33]requested_item fd.num is exist - process it [12:02:33]SAM_PROTO_GetFieldsCounters [12:02:33]wFMCommunicate request_size=4 [12:02:33]MH_SAM_APDU [12:02:33]CAPDU: 80 13 00 00 [12:02:33]Write to MH i2c: E2 08 00 0D 07 80 13 00 00 00 00 00 00 90 [12:02:33]Write i2c OK [12:02:33]MH_I2C_Read... [12:02:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:02:34]Read from MH i2c: E2 [12:02:34]MH_I2C_Read... [12:02:34]Read from MH i2c: E2 62 00 [12:02:34]MH_I2C_Read... [12:02:34]Read from MH i2c: E2 62 00 0D 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 1E 61 00 00 0E 04 04 00 C7 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 3C [12: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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 1E 61 00 00 0E 04 04 00 C7 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 [12:02:34]wFMCommunicate OK [12:02:34]SAM_PROTO_GetFieldsCounters done [12:02:34]requested_item shift.num is exist - process it [12:02:34]requested_item shift.opened is exist - process it [12:02:34]req_shift_opened [12:02:34]FM_GetShiftState [12:02:34]SAM_PROTO_GetShiftState [12:02:34]wFMCommunicate request_size=4 [12:02:34]MH_SAM_APDU [12:02:34]CAPDU: 80 13 01 00 [12:02:34]Write to MH i2c: E2 08 00 0E 07 80 13 01 00 00 00 00 00 92 [12:02:34]Write i2c OK [12:02:34]MH_I2C_Read... [12:02:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:02:34]Read from MH i2c: E2 [12:02:34]MH_I2C_Read... [12:02:34]Read from MH i2c: E2 0E 00 [12:02:34]MH_I2C_Read... [12:02:34]Read from MH i2c: E2 0E 00 0E 07 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 D8 [12:02:34]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [12:02:34]wFMCommunicate OK [12:02:34]SAM_PROTO_GetShiftState done [12:02:34]FM_GetShiftState done [12:02:34]req_shift_opened done [12:02:34]requested_item shift.open_date is exist - process it [12:02:34]req_shift_open_date [12:02:34]req_shift_open_date done [12:02:34]produce_requested_data done [12:02:34]produce_requested_data return {"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":24862,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [12:02:34]process_action_free get_value [12:02:34]json_value_free [12:02:34]json_value_free done [12:02:34]process_json_proto returns [12:02:34]Send response to host [12:02:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":24862,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [12:02:34]free response buf [12:02:34]execute_script done [12:02:34]execute_script returns [12:02:34]free content buf [12:02:34]Sock 9.Close socket [12:02:34]Sock 9.Thread stoped [12:02:34]accept exits with 7 [12:02:34]New connection [12:02:34]New thread 3067166052 created [12:02:34]Thread 3067309412 joined [12:02:34]Waiting for new connection... [12:02:34] Sock 7.Parse request [12:02:34]Sock 7.Check first char [12:02:34]Sock 7.First char is OK [12:02:34]request: POST /json_proto HTTP/1.0 [12:02:34]Method: POST [12:02:34]URL: /json_proto [12:02:34]Method is POST - this is cgi request [12:02:34]url: /json_proto [12:02:34]query_string will be loaded in cgi processing [12:02:34]execute_cgi json_proto POST (null) [12:02:34]execute_cgi path=json_proto method=POST [12:02:34]POST find Content-Length [12:02:34]Host: 172.17.53.196:8080 [12:02:34]Content-Length: 331 [12:02:34]Content-Type: application/json [12:02:34] [12:02:34]POST finish read [12:02:34]Found Content-Length = 331 [12:02:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [12:02:34]execute_script... [12:02:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [12:02:34]POST & json_proto [12:02:34]process_json_proto [12:02:34]json parsed OK: [12:02:34]protocol is kg_v1.0 [12:02:34]action value=get_value [12:02:34]process_action get_value [12:02:34]cmd_get_value [12:02:34]process_action get_value done [12:02:34]requested_data is exist [12:02:34]produce_requested_data [12:02:34]requested_item fm.sale.total is exist - process it [12:02:34]SAM_PROTO_GetFMData [12:02:34]wFMCommunicate request_size=4 [12:02:34]MH_SAM_APDU [12:02:34]CAPDU: 80 13 03 00 [12:02:34]Write to MH i2c: E2 08 00 0F 07 80 13 03 00 00 00 00 00 95 [12:02:34]Write i2c OK [12:02:34]MH_I2C_Read... [12:02:34]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [12:02:34]Read from MH i2c: E2 [12:02:34]MH_I2C_Read... [12:02:34]Read from MH i2c: E2 FD 00 [12:02:34]MH_I2C_Read... [12:02:34]Read from MH i2c: E2 FD 00 0F 07 00 BF 04 85 04 BB 04 6E 04 04 00 90 5D 00 00 69 04 A0 00 6F 04 04 00 82 5D 00 00 B1 04 04 00 70 DD AC 14 70 04 04 00 7C CD 80 12 72 04 04 00 F4 0F 2C 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B1 0A 32 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB CB 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 AA [12:02:34]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 90 5D 00 00 69 04 A0 00 6F 04 04 00 82 5D 00 00 B1 04 04 00 70 DD AC 14 70 04 04 00 7C CD 80 12 72 04 04 00 F4 0F 2C 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B1 0A 32 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB CB 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 [12:02:34]wFMCommunicate OK [12:02:34]wFMCommunicate request_size=4 [12:02:34]MH_SAM_APDU [12:02:34]CAPDU: 80 17 00 00 [12:02:34]Write to MH i2c: E2 08 00 10 07 80 17 00 00 00 00 00 00 97 [12:02:34]Write i2c OK [12:02:34]MH_I2C_Read... [12:02:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:02:35]Read from MH i2c: E2 [12:02:35]MH_I2C_Read... [12:02:35]Read from MH i2c: E2 FD 00 [12:02:35]MH_I2C_Read... [12:02:35]Read from MH i2c: E2 FD 00 10 07 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 89 [12:02:35]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [12:02:35]wFMCommunicate OK [12:02:35]wFMCommunicate request_size=4 [12:02:35]MH_SAM_APDU [12:02:35]CAPDU: 80 17 00 00 [12:02:35]Write to MH i2c: E2 08 00 11 07 80 17 00 00 00 00 00 00 98 [12:02:35]Write i2c OK [12:02:35]MH_I2C_Read... [12:02:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:02:35]Read from MH i2c: E2 [12:02:35]MH_I2C_Read... [12:02:35]Read from MH i2c: E2 FD 00 [12:02:35]MH_I2C_Read... [12:02:35]Read from MH i2c: E2 FD 00 11 07 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 3C [12:02:35]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [12:02:35]wFMCommunicate OK [12:02:35]wFMCommunicate request_size=4 [12:02:35]MH_SAM_APDU [12:02:35]CAPDU: 80 17 00 00 [12:02:35]Write to MH i2c: E2 08 00 12 07 80 17 00 00 00 00 00 00 99 [12:02:35]Write i2c OK [12:02:35]MH_I2C_Read... [12:02:35]OFD Sender: No OFD packet to send [12:02:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:02:35]Read from MH i2c: E2 [12:02:35]MH_I2C_Read... [12:02:35]Read from MH i2c: E2 FD 00 [12:02:35]MH_I2C_Read... [12:02:35]Read from MH i2c: E2 FD 00 12 07 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 13 [12:02:35]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [12:02:35]wFMCommunicate OK [12:02:35]wFMCommunicate request_size=4 [12:02:35]MH_SAM_APDU [12:02:35]CAPDU: 80 17 00 00 [12:02:35]Write to MH i2c: E2 08 00 13 07 80 17 00 00 00 00 00 00 9A [12:02:35]Write i2c OK [12:02:35]MH_I2C_Read... [12:02:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [12:02:35]Read from MH i2c: E2 [12:02:35]MH_I2C_Read... [12:02:35]Read from MH i2c: E2 DC 00 [12:02:35]MH_I2C_Read... [12:02:35]Read from MH i2c: E2 DC 00 13 07 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7E [12:02:35]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:02:35]wFMCommunicate OK [12:02:35]SAM_PROTO_GetFMData done [12:02:35]requested_item fm.sale_refund.total is exist - process it [12:02:35]requested_item fm.buy.total is exist - process it [12:02:35]requested_item shift.sale.total is exist - process it [12:02:35]SAM_PROTO_GetShiftData [12:02:35]wFMCommunicate request_size=4 [12:02:35]MH_SAM_APDU [12:02:35]CAPDU: 80 13 02 00 [12:02:35]Write to MH i2c: E2 08 00 14 07 80 13 02 00 00 00 00 00 99 [12:02:35]Write i2c OK [12:02:35]MH_I2C_Read... [12:02:36]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:02:36]Read from MH i2c: E2 [12:02:36]MH_I2C_Read... [12:02:36]Read from MH i2c: E2 FD 00 [12:02:36]MH_I2C_Read... [12:02:36]Read from MH i2c: E2 FD 00 14 07 00 AC 04 AA 04 A8 04 6E 04 04 00 14 00 00 00 69 04 99 00 6F 04 04 00 14 00 00 00 B1 04 03 00 58 F7 05 70 04 03 00 04 88 05 72 04 02 00 54 6F 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 2E A2 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 80 0D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 80 [12:02:36]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 14 00 00 00 69 04 99 00 6F 04 04 00 14 00 00 00 B1 04 03 00 58 F7 05 70 04 03 00 04 88 05 72 04 02 00 54 6F 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 2E A2 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 80 0D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [12:02:36]wFMCommunicate OK [12:02:36]wFMCommunicate request_size=4 [12:02:36]MH_SAM_APDU [12:02:36]CAPDU: 80 17 00 00 [12:02:36]Write to MH i2c: E2 08 00 15 07 80 17 00 00 00 00 00 00 9C [12:02:36]Write i2c OK [12:02:36]MH_I2C_Read... [12:02:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:02:36]Read from MH i2c: E2 [12:02:36]MH_I2C_Read... [12:02:36]Read from MH i2c: E2 FD 00 [12:02:36]MH_I2C_Read... [12:02:36]Read from MH i2c: E2 FD 00 15 07 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 B1 [12:02:36]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [12:02:36]wFMCommunicate OK [12:02:36]wFMCommunicate request_size=4 [12:02:36]MH_SAM_APDU [12:02:36]CAPDU: 80 17 00 00 [12:02:36]Write to MH i2c: E2 08 00 16 07 80 17 00 00 00 00 00 00 9D [12:02:36]Write i2c OK [12:02:36]MH_I2C_Read... [12:02:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:02:36]Read from MH i2c: E2 [12:02:36]MH_I2C_Read... [12:02:36]Read from MH i2c: E2 FD 00 [12:02:36]MH_I2C_Read... [12:02:36]Read from MH i2c: E2 FD 00 16 07 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 5E [12:02:36]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [12:02:36]wFMCommunicate OK [12:02:36]wFMCommunicate request_size=4 [12:02:36]MH_SAM_APDU [12:02:36]CAPDU: 80 17 00 00 [12:02:36]Write to MH i2c: E2 08 00 17 07 80 17 00 00 00 00 00 00 9E [12:02:36]Write i2c OK [12:02:36]MH_I2C_Read... [12:02:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:02:37]Read from MH i2c: E2 [12:02:37]MH_I2C_Read... [12:02:37]Read from MH i2c: E2 FD 00 [12:02:37]MH_I2C_Read... [12:02:37]Read from MH i2c: E2 FD 00 17 07 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 13 [12:02:37]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [12:02:37]wFMCommunicate OK [12:02:37]wFMCommunicate request_size=4 [12:02:37]MH_SAM_APDU [12:02:37]CAPDU: 80 17 00 00 [12:02:37]Write to MH i2c: E2 08 00 18 07 80 17 00 00 00 00 00 00 9F [12:02:37]Write i2c OK [12:02:37]MH_I2C_Read... [12:02:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [12:02:37]Read from MH i2c: E2 [12:02:37]MH_I2C_Read... [12:02:37]Read from MH i2c: E2 C9 00 [12:02:37]MH_I2C_Read... [12:02:37]Read from MH i2c: E2 C9 00 18 07 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 83 [12:02:37]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:02:37]wFMCommunicate OK [12:02:37]SAM_PROTO_GetShiftData done [12:02:37]requested_item shift.sale.total_cash is exist - process it [12:02:37]requested_item shift.sale_refund.total is exist - process it [12:02:37]requested_item shift.sale_refund.total_cash is exist - process it [12:02:37]requested_item shift.buy.total is exist - process it [12:02:37]requested_item shift.buy.total_cash is exist - process it [12:02:37]produce_requested_data done [12:02:37]produce_requested_data return {"fm.sale.total":3468732.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":3910.00,"shift.sale.total_cash":3625.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [12:02:37]process_action_free get_value [12:02:37]json_value_free [12:02:37]json_value_free done [12:02:37]process_json_proto returns [12:02:37]Send response to host [12:02:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3468732.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":3910.00,"shift.sale.total_cash":3625.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [12:02:37]free response buf [12:02:37]execute_script done [12:02:37]execute_script returns [12:02:37]free content buf [12:02:37]Sock 7.Close socket [12:02:37]Sock 7.Thread stoped [12:02:40]OFD Sender: No OFD packet to send [12:02:45]OFD Sender: No OFD packet to send [12:02:50]OFD Sender: No OFD packet to send [12:02:55]OFD Sender: No OFD packet to send [12:03:00]OFD Sender: No OFD packet to send [12:03:05]OFD Sender: No OFD packet to send [12:03:10]OFD Sender: No OFD packet to send [12:03:15]OFD Sender: No OFD packet to send [12:03:20]OFD Sender: No OFD packet to send [12:03:25]OFD Sender: No OFD packet to send [12:03:30]OFD Sender: No OFD packet to send [12:03:35]OFD Sender: No OFD packet to send [12:03:40]OFD Sender: No OFD packet to send [12:03:45]OFD Sender: No OFD packet to send [12:03:50]OFD Sender: No OFD packet to send [12:03:55]OFD Sender: No OFD packet to send [12:04:00]OFD Sender: No OFD packet to send [12:04:05]OFD Sender: No OFD packet to send [12:04:10]OFD Sender: No OFD packet to send [12:04:15]OFD Sender: No OFD packet to send [12:04:20]OFD Sender: No OFD packet to send [12:04:25]OFD Sender: No OFD packet to send [12:04:30]OFD Sender: No OFD packet to send [12:04:35]OFD Sender: No OFD packet to send [12:04:40]OFD Sender: No OFD packet to send [12:04:45]OFD Sender: No OFD packet to send [12:04:50]OFD Sender: No OFD packet to send [12:04:55]OFD Sender: No OFD packet to send [12:05:00]OFD Sender: No OFD packet to send [12:05:05]OFD Sender: No OFD packet to send [12:05:10]OFD Sender: No OFD packet to send [12:05:15]OFD Sender: No OFD packet to send [12:05:20]OFD Sender: No OFD packet to send [12:05:25]OFD Sender: No OFD packet to send [12:05:30]OFD Sender: No OFD packet to send [12:05:35]OFD Sender: No OFD packet to send [12:05:40]OFD Sender: No OFD packet to send [12:05:45]OFD Sender: No OFD packet to send [12:05:50]OFD Sender: No OFD packet to send [12:05:55]OFD Sender: No OFD packet to send [12:06:00]OFD Sender: No OFD packet to send [12:06:05]OFD Sender: No OFD packet to send [12:06:10]OFD Sender: No OFD packet to send [12:06:15]OFD Sender: No OFD packet to send [12:06:20]OFD Sender: No OFD packet to send [12:06:25]OFD Sender: No OFD packet to send [12:06:30]OFD Sender: No OFD packet to send [12:06:35]OFD Sender: No OFD packet to send [12:06:40]OFD Sender: No OFD packet to send [12:06:45]OFD Sender: No OFD packet to send [12:06:50]OFD Sender: No OFD packet to send [12:06:55]OFD Sender: No OFD packet to send [12:07:00]OFD Sender: No OFD packet to send [12:07:05]OFD Sender: No OFD packet to send [12:07:10]OFD Sender: No OFD packet to send [12:07:15]OFD Sender: No OFD packet to send [12:07:20]OFD Sender: No OFD packet to send [12:07:25]OFD Sender: No OFD packet to send [12:07:30]OFD Sender: No OFD packet to send [12:07:35]OFD Sender: No OFD packet to send [12:07:40]OFD Sender: No OFD packet to send [12:07:45]OFD Sender: No OFD packet to send [12:07:50]OFD Sender: No OFD packet to send [12:07:55]OFD Sender: No OFD packet to send [12:08:00]OFD Sender: No OFD packet to send [12:08:05]OFD Sender: No OFD packet to send [12:08:10]OFD Sender: No OFD packet to send [12:08:15]OFD Sender: No OFD packet to send [12:08:20]OFD Sender: No OFD packet to send [12:08:25]OFD Sender: No OFD packet to send [12:08:30]OFD Sender: No OFD packet to send [12:08:35]OFD Sender: No OFD packet to send [12:08:40]OFD Sender: No OFD packet to send [12:08:45]OFD Sender: No OFD packet to send [12:08:50]OFD Sender: No OFD packet to send [12:08:55]OFD Sender: No OFD packet to send [12:09:00]OFD Sender: No OFD packet to send [12:09:05]OFD Sender: No OFD packet to send [12:09:10]OFD Sender: No OFD packet to send [12:09:15]OFD Sender: No OFD packet to send [12:09:20]OFD Sender: No OFD packet to send [12:09:25]OFD Sender: No OFD packet to send [12:09:30]OFD Sender: No OFD packet to send [12:09:35]OFD Sender: No OFD packet to send [12:09:40]OFD Sender: No OFD packet to send [12:09:45]OFD Sender: No OFD packet to send [12:09:50]OFD Sender: No OFD packet to send [12:09:55]OFD Sender: No OFD packet to send [12:10:00]OFD Sender: No OFD packet to send [12:10:05]OFD Sender: No OFD packet to send [12:10:10]OFD Sender: No OFD packet to send [12:10:15]OFD Sender: No OFD packet to send [12:10:20]OFD Sender: No OFD packet to send [12:10:25]OFD Sender: No OFD packet to send [12:10:30]OFD Sender: No OFD packet to send [12:10:35]OFD Sender: No OFD packet to send [12:10:40]OFD Sender: No OFD packet to send [12:10:45]OFD Sender: No OFD packet to send [12:10:50]OFD Sender: No OFD packet to send [12:10:55]OFD Sender: No OFD packet to send [12:11:00]OFD Sender: No OFD packet to send [12:11:05]OFD Sender: No OFD packet to send [12:11:10]OFD Sender: No OFD packet to send [12:11:15]OFD Sender: No OFD packet to send [12:11:20]OFD Sender: No OFD packet to send [12:11:25]OFD Sender: No OFD packet to send [12:11:30]OFD Sender: No OFD packet to send [12:11:35]OFD Sender: No OFD packet to send [12:11:40]OFD Sender: No OFD packet to send [12:11:45]OFD Sender: No OFD packet to send [12:11:50]OFD Sender: No OFD packet to send [12:11:55]OFD Sender: No OFD packet to send [12:12:00]OFD Sender: No OFD packet to send [12:12:05]OFD Sender: No OFD packet to send [12:12:10]OFD Sender: No OFD packet to send [12:12:15]OFD Sender: No OFD packet to send [12:12:20]OFD Sender: No OFD packet to send [12:12:25]OFD Sender: No OFD packet to send [12:12:30]OFD Sender: No OFD packet to send [12:12:35]OFD Sender: No OFD packet to send [12:12:40]OFD Sender: No OFD packet to send [12:12:45]OFD Sender: No OFD packet to send [12:12:50]OFD Sender: No OFD packet to send [12:12:55]OFD Sender: No OFD packet to send [12:13:00]OFD Sender: No OFD packet to send [12:13:05]OFD Sender: No OFD packet to send [12:13:11]OFD Sender: No OFD packet to send [12:13:16]OFD Sender: No OFD packet to send [12:13:21]OFD Sender: No OFD packet to send [12:13:26]OFD Sender: No OFD packet to send [12:13:31]OFD Sender: No OFD packet to send [12:13:36]OFD Sender: No OFD packet to send [12:13:41]OFD Sender: No OFD packet to send [12:13:46]OFD Sender: No OFD packet to send [12:13:51]OFD Sender: No OFD packet to send [12:13:56]OFD Sender: No OFD packet to send [12:14:01]OFD Sender: No OFD packet to send [12:14:06]OFD Sender: No OFD packet to send [12:14:11]OFD Sender: No OFD packet to send [12:14:16]OFD Sender: No OFD packet to send [12:14:21]OFD Sender: No OFD packet to send [12:14:26]OFD Sender: No OFD packet to send [12:14:31]OFD Sender: No OFD packet to send [12:14:36]OFD Sender: No OFD packet to send [12:14:40]accept exits with 9 [12:14:40]New connection [12:14:40]New thread 3067309412 created [12:14:40]Thread 3067166052 joined [12:14:40]Waiting for new connection... [12:14:40] Sock 9.Parse request [12:14:40]Sock 9.Check first char [12:14:40]Sock 9.First char is OK [12:14:40]request: POST /json_proto HTTP/1.0 [12:14:40]Method: POST [12:14:40]URL: /json_proto [12:14:40]Method is POST - this is cgi request [12:14:40]url: /json_proto [12:14:40]query_string will be loaded in cgi processing [12:14:40]execute_cgi json_proto POST (null) [12:14:40]execute_cgi path=json_proto method=POST [12:14:40]POST find Content-Length [12:14:40]Host: 172.17.53.196:8080 [12:14:40]Content-Length: 698 [12:14:40]Content-Type: application/json [12:14:40] [12:14:40]POST finish read [12:14:40]Found Content-Length = 698 [12:14:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34623", "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 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:14:40]execute_script... [12:14: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)34623", "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 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:14:40]POST & json_proto [12:14:40]process_json_proto [12:14:40]json parsed OK: [12:14:40]protocol is kg_v1.0 [12:14:40]action value=close_receipt [12:14:40]process_action close_receipt [12:14:40]cmd_close_receipt [12:14:40]MH_GetDate [12:14:40]Write to MH i2c: F0 00 00 19 07 0F [12:14:40]Write i2c OK [12:14:40]MH_I2C_Read... [12:14:40]Read from MH i2c: F0 [12:14:40]MH_I2C_Read... [12:14:40]Read from MH i2c: F0 09 00 [12:14:40]MH_I2C_Read... [12:14:40]Read from MH i2c: F0 09 00 19 07 00 33 F4 14 67 4F CD 9A 65 D5 [12:14:40]GetLastDocTimeStamp 1729425319 [12:14:40]current date 1729426483 [12:14:40]FM_GetShiftState [12:14:40]SAM_PROTO_GetShiftState [12:14:40]wFMCommunicate request_size=4 [12:14:40]MH_SAM_APDU [12:14:40]CAPDU: 80 13 01 00 [12:14:40]Write to MH i2c: E2 08 00 1A 07 80 13 01 00 00 00 00 00 9E [12:14:40]Write i2c OK [12:14:40]MH_I2C_Read... [12:14:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:14:40]Read from MH i2c: E2 [12:14:40]MH_I2C_Read... [12:14:40]Read from MH i2c: E2 0E 00 [12:14:40]MH_I2C_Read... [12:14:40]Read from MH i2c: E2 0E 00 1A 07 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 E4 [12:14:40]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [12:14:40]wFMCommunicate OK [12:14:40]SAM_PROTO_GetShiftState done [12:14:40]FM_GetShiftState done [12:14:40]opened in 1729384049 [12:14:40]opened+sec_in_day 1729470449 [12:14:40]quantity*price = 9500 [12:14:40]sum+1 = 9501 [12:14:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 21 20.10.2024 12:14 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24863 ФПД: 44007839727426 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T121443&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24863&fm=44007839727426&tin=02508201610067®Number=0000000000098147&sum=9500 0 [12:14:41]StoreToDocumentArchive [12:14:41]shift 455 fd 24863 [12:14:41]save to /storage/0455/doc_00024863 [12:14:41]save last doc name /storage/0455/doc_00024863 to /storage/kkm_last_doc_name [12:14:41]save OK [12:14:41]Clear old archive folders... [12:14:41]ProcessDocumentItem done err = 0, tmpTLVsize=302 [12:14:41]tlvbuf is 00DCCA90 [12:14:41]SAM_PROTO_ClearQueue [12:14:41]wFMCommunicate request_size=4 [12:14:41]MH_SAM_APDU [12:14:41]CAPDU: 80 09 00 00 [12:14:41]Write to MH i2c: E2 08 00 27 07 80 09 00 00 00 00 00 00 A0 [12:14:41]Write i2c OK [12:14:41]MH_I2C_Read... [12:14:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:14:41]Read from MH i2c: E2 [12:14:41]MH_I2C_Read... [12:14:41]Read from MH i2c: E2 03 00 [12:14:41]MH_I2C_Read... [12:14:41]Read from MH i2c: E2 03 00 27 07 00 90 00 A2 [12:14:41]RAPDU: 90 00 [12:14:41]wFMCommunicate OK [12:14:41]SAM_PROTO_ClearQueue done [12:14:41]KKMCreateOFDPacket [12:14:41]OFDProtocolAddRootSTLVToBuf [12:14:41]FM_MakeSignedData [12:14:41]FM_MakeSignedData [12:14:41]SAM_PROTO_SignData [12:14:41]wFMCommunicate request_size=4 [12:14:41]MH_SAM_APDU [12:14:41]CAPDU: 80 0D 01 02 [12:14:41]Write to MH i2c: E2 08 00 28 07 80 0D 01 02 00 00 00 00 A8 [12:14:41]Write i2c OK [12:14:41]MH_I2C_Read... [12:14:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:14:41]Read from MH i2c: E2 [12:14:41]MH_I2C_Read... [12:14:41]Read from MH i2c: E2 03 00 [12:14:41]MH_I2C_Read... [12:14:41]Read from MH i2c: E2 03 00 28 07 00 90 00 A3 [12:14:41]RAPDU: 90 00 [12:14:41]wFMCommunicate OK [12:14:41]wFMCommunicate request_size=255 [12:14:41]MH_SAM_APDU [12:14:41]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 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 15 00 00 00 F4 03 04 00 33 F4 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 [12:14:41]Write to MH i2c: E2 02 01 29 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 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 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 15 00 00 00 F4 03 04 00 33 F4 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 00 00 77 [12:14:41]Write i2c OK [12:14:41]MH_I2C_Read... [12:14:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:14:41]Read from MH i2c: E2 [12:14:41]MH_I2C_Read... [12:14:41]Read from MH i2c: E2 03 00 [12:14:41]MH_I2C_Read... [12:14:41]Read from MH i2c: E2 03 00 29 07 00 90 00 A4 [12:14:41]RAPDU: 90 00 [12:14:41]wFMCommunicate OK [12:14:41]wFMCommunicate request_size=61 [12:14:41]MH_SAM_APDU [12:14:41]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1F 61 00 00 35 04 06 00 28 06 5F A7 7F 42 [12:14:41]Write to MH i2c: E2 40 00 2A 07 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1F 61 00 00 35 04 06 00 28 06 5F A7 7F 42 00 00 5D [12:14:41]Write i2c OK [12:14:41]MH_I2C_Read... [12:14:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:14:41]Read from MH i2c: E2 [12:14:41]MH_I2C_Read... [12:14:41]Read from MH i2c: E2 03 00 [12:14:41]MH_I2C_Read... [12:14:41]Read from MH i2c: E2 03 00 2A 07 00 90 00 A5 [12:14:41]RAPDU: 90 00 [12:14:41]wFMCommunicate OK [12:14:41]wFMCommunicate request_size=4 [12:14:41]MH_SAM_APDU [12:14:41]CAPDU: 80 0D 03 02 [12:14:41]Write to MH i2c: E2 08 00 2B 07 80 0D 03 02 00 00 00 00 AD [12:14:41]Write i2c OK [12:14:41]MH_I2C_Read... [12:14:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:14:41]Read from MH i2c: E2 [12:14:41]MH_I2C_Read... [12:14:41]Read from MH i2c: E2 0B 00 [12:14:41]MH_I2C_Read... [12:14:41]Read from MH i2c: E2 0B 00 2B 07 00 63 A5 31 F3 44 A7 85 01 90 00 4B [12:14:41]RAPDU: 63 A5 31 F3 44 A7 85 01 90 00 [12:14:41]wFMCommunicate OK [12:14:41]SAM_PROTO_SignData done [12:14:41]FM_MakeSignedData done [12:14:41]CreateOFDProtocolMessage [12:14:41]wFMCommunicate request_size=4 [12:14:41]MH_SAM_APDU [12:14:41]CAPDU: 80 11 00 00 [12:14:41]Write to MH i2c: E2 08 00 2C 07 80 11 00 00 00 00 00 00 AD [12:14:41]Write i2c OK [12:14:41]MH_I2C_Read... [12:14:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:14:42]Read from MH i2c: E2 [12:14:42]MH_I2C_Read... [12:14:42]Read from MH i2c: E2 17 00 [12:14:42]MH_I2C_Read... [12:14:42]Read from MH i2c: E2 17 00 2C 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 04 [12:14:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [12:14:42]wFMCommunicate OK [12:14:42]CreateOFDProtocolMessage done [12:14:42]OFDSenderStorePacket 24863 [12:14:42]StoreOFDPacket docnum=24863 [12:14:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 42 01 00 00 81 08 3A 01 AD 0C 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 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 15 00 00 00 F4 03 04 00 33 F4 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1F 61 00 00 35 04 06 00 28 06 5F A7 7F 42 63 A5 31 F3 44 A7 85 01 [12:14:42]CheckFolder [12:14:42]dirname=/storage/ofd_packets [12:14:42]CheckFolder done [12:14:42]ProducePacketName [12:14:42]name=ofd_packets/00024863 [12:14:42]NVStorageSaveData ofd_packets/00024863 [12:14:42]File name is /storage/ofd_packets/00024863 [12:14:42]Write 352 bytes [12:14:42]NVStorageSaveData done [12:14:42]OFDSenderStorePacket done [12:14:42]KKMCreateOFDPacket done [12:14:42]NVStorageSaveData kkm_last_timestamp [12:14:42]File name is /storage/kkm_last_timestamp [12:14:42]Write 4 bytes [12:14:42]NVStorageSaveData done [12:14:42]OFD Sender: Processing packet 24863 [packets to send 5, broken 4] [12:14:42]ProducePacketName [12:14:42]name=ofd_packets/00024863 [12:14:42]OFD Sender: To server: pG, [12:14:42]CommunicateWithHost lk.salyk.kg:30040 [12:14:42]ConnectInit lk.salyk.kg [12:14:42]ExternCall_PrintAddStr [12:14:42]wPrintStart [12:14:42]Write to MH i2c: 01 00 00 2D 07 34 [12:14:42]Write i2c OK [12:14:42]MH_I2C_Read... [12:14:42]Read from MH i2c: 01 [12:14:42]MH_I2C_Read... [12:14:42]Read from MH i2c: 01 07 00 [12:14:42]MH_I2C_Read... [12:14:42]Read from MH i2c: 01 07 00 2D 07 00 00 00 00 00 FF 0F 49 [12:14:42]RasterBufferAndPrint [12:14:42]line Счет N : (3)34623 [12:14:42]line ИНН: 02508201610067 [12:14:42]line Контрольно-Кассовый Чек [12:14:42]line ПРОДАЖА [12:14:42]line Товар: 4700003010087 [12:14:42]line Чай хол Lets Go зел чай ябл-гр ПЭТ 1,2л [12:14:42]line 1.000 * 95.00 [12:14:42]line = 95.00 [12:14:42]line НДС 12% НСП 1% [12:14:42]line > о реализуемом товаре [12:14:42]line ИТОГО: 95.00 [12:14:42]line НСП 1% : 0.84 [12:14:42]line НДС 12% : 10.09 [12:14:42]line Наличными: 95.00 [12:14:42]line Безнал.: 0.00 [12:14:42]line Место: АЗС № 161 "Партнер Нефть" [12:14:42]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [12:14:42]line СНО: Общий режим [12:14:42]line Чек 21 20.10.2024 12:14 [12:14:42]line Смена: 455 ФФД: 1.0 [12:14:42]line ЗНМ: 0300000240 [12:14:42]line РНМ: 0000000000098147 [12:14:42]line Версия ККМ: 001 [12:14:42]line ФМ: 0000000000965376 [12:14:42]line ФД: 24863 [12:14:42]line ФПД: 44007839727426 [12:14:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T121443&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24863&fm=44007839727426&tin=02508201610067®Number=0000000000098147&sum=9500 [12:14:42]line 0 [12:14:42]Connected sock=11 [12:14:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 42 01 00 00 81 08 3A 01 AD 0C 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 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 15 00 00 00 F4 03 04 00 33 F4 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1F 61 00 00 35 04 06 00 28 06 5F A7 7F 42 63 A5 31 F3 44 A7 85 01 [12:14:42]written 0, free lines is 4095 [12:14:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 03 91 47 00 E0 0D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 1F 61 00 00 F4 03 04 00 B3 9C 14 67 B6 04 01 00 00 F5 9E 62 20 11 2E 7F AB [12:14:42]CommunicateWithHost err = 0 [12:14:42]CheckOFDResponse [12:14:42]1017 (14) - 77093643461234 [12:14:42]1041 (16) - 0000000000965376 [12:14:42]1040 (4) - 24863 [12:14:42]1012 (4) - 20.10.2024 06:01 [12:14:42]1206 (1) - 0 [12:14:42]OFD Sender: Remove packet 24863 [12:14:42]ProducePacketName [12:14:42]name=ofd_packets/00024863 [12:14:42]NVStorageDeleteData [12:14:42]Write to MH i2c: 01 00 00 56 07 5D [12:14:42]Write i2c OK [12:14:42]MH_I2C_Read... [12:14:42]Read from MH i2c: 01 [12:14:42]MH_I2C_Read... [12:14:42]Read from MH i2c: 01 07 00 [12:14:42]MH_I2C_Read... [12:14:42]Read from MH i2c: 01 07 00 56 07 00 00 00 00 00 CB 0C 3B [12:14:42]RasterBufferAndPrint [12:14:42]line [12:14:42]line [12:14:42]line [12:14:42]line [12:14:42]line [12:14:42]written 0, free lines is 3282 [12:14:42]process_action close_receipt done [12:14:42]requested_data is exist [12:14:42]produce_requested_data [12:14:42]requested_item fm.sn is exist - process it [12:14:42]wFMCommunicate request_size=4 [12:14:42]MH_SAM_APDU [12:14:42]CAPDU: 80 11 00 00 [12:14:42]Write to MH i2c: E2 08 00 5D 07 80 11 00 00 00 00 00 00 DE [12:14:42]Write i2c OK [12:14:42]MH_I2C_Read... [12:14:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:14:42]Read from MH i2c: E2 [12:14:42]MH_I2C_Read... [12:14:42]Read from MH i2c: E2 17 00 [12:14:42]MH_I2C_Read... [12:14:42]Read from MH i2c: E2 17 00 5D 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 35 [12:14:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [12:14:42]wFMCommunicate OK [12:14:42]requested_item fd.num is exist - process it [12:14:42]SAM_PROTO_GetFieldsCounters [12:14:42]wFMCommunicate request_size=4 [12:14:42]MH_SAM_APDU [12:14:42]CAPDU: 80 13 00 00 [12:14:42]Write to MH i2c: E2 08 00 5E 07 80 13 00 00 00 00 00 00 E1 [12:14:42]Write i2c OK [12:14:42]MH_I2C_Read... [12:14:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:14:43]Read from MH i2c: E2 [12:14:43]MH_I2C_Read... [12:14:43]Read from MH i2c: E2 62 00 [12:14:43]MH_I2C_Read... [12:14:43]Read from MH i2c: E2 62 00 5E 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 1F 61 00 00 0E 04 04 00 C7 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 91 [12:14:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 1F 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:14:43]wFMCommunicate OK [12:14:43]SAM_PROTO_GetFieldsCounters done [12:14:43]requested_item shift.num is exist - process it [12:14:43]requested_item shift.opened is exist - process it [12:14:43]req_shift_opened [12:14:43]FM_GetShiftState [12:14:43]SAM_PROTO_GetShiftState [12:14:43]wFMCommunicate request_size=4 [12:14:43]MH_SAM_APDU [12:14:43]CAPDU: 80 13 01 00 [12:14:43]Write to MH i2c: E2 08 00 5F 07 80 13 01 00 00 00 00 00 E3 [12:14:43]Write i2c OK [12:14:43]MH_I2C_Read... [12:14:43]OFD Sender: No OFD packet to send [12:14:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:14:43]Read from MH i2c: E2 [12:14:43]MH_I2C_Read... [12:14:43]Read from MH i2c: E2 0E 00 [12:14:43]MH_I2C_Read... [12:14:43]Read from MH i2c: E2 0E 00 5F 07 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 29 [12:14:43]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [12:14:43]wFMCommunicate OK [12:14:43]SAM_PROTO_GetShiftState done [12:14:43]FM_GetShiftState done [12:14:43]req_shift_opened done [12:14:43]requested_item shift.open_date is exist - process it [12:14:43]req_shift_open_date [12:14:43]req_shift_open_date done [12:14:43]produce_requested_data done [12:14:43]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24863,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [12:14:43]process_action_free close_receipt [12:14:43]json_value_free [12:14:43]json_value_free done [12:14:43]process_json_proto returns [12:14:43]Send response to host [12:14:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24863,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [12:14:43]free response buf [12:14:43]execute_script done [12:14:43]execute_script returns [12:14:43]free content buf [12:14:43]Sock 9.Close socket [12:14:43]Sock 9.Thread stoped [12:14:48]OFD Sender: No OFD packet to send [12:14:53]OFD Sender: No OFD packet to send [12:14:58]OFD Sender: No OFD packet to send [12:15:03]OFD Sender: No OFD packet to send [12:15:08]OFD Sender: No OFD packet to send [12:15:13]OFD Sender: No OFD packet to send [12:15:18]OFD Sender: No OFD packet to send [12:15:23]OFD Sender: No OFD packet to send [12:15:28]OFD Sender: No OFD packet to send [12:15:33]OFD Sender: No OFD packet to send [12:15:38]OFD Sender: No OFD packet to send [12:15:43]OFD Sender: No OFD packet to send [12:15:48]OFD Sender: No OFD packet to send [12:15:53]OFD Sender: No OFD packet to send [12:15:58]OFD Sender: No OFD packet to send [12:16:03]OFD Sender: No OFD packet to send [12:16:08]OFD Sender: No OFD packet to send [12:16:13]OFD Sender: No OFD packet to send [12:16:18]OFD Sender: No OFD packet to send [12:16:23]OFD Sender: No OFD packet to send [12:16:28]OFD Sender: No OFD packet to send [12:16:33]OFD Sender: No OFD packet to send [12:16:38]OFD Sender: No OFD packet to send [12:16:43]OFD Sender: No OFD packet to send [12:16:48]OFD Sender: No OFD packet to send [12:16:53]OFD Sender: No OFD packet to send [12:16:58]OFD Sender: No OFD packet to send [12:17:03]OFD Sender: No OFD packet to send [12:17:08]OFD Sender: No OFD packet to send [12:17:13]OFD Sender: No OFD packet to send [12:17:18]OFD Sender: No OFD packet to send [12:17:23]OFD Sender: No OFD packet to send [12:17:28]OFD Sender: No OFD packet to send [12:17:33]OFD Sender: No OFD packet to send [12:17:38]OFD Sender: No OFD packet to send [12:17:43]OFD Sender: No OFD packet to send [12:17:48]OFD Sender: No OFD packet to send [12:17:53]OFD Sender: No OFD packet to send [12:17:58]OFD Sender: No OFD packet to send [12:18:03]OFD Sender: No OFD packet to send [12:18:08]OFD Sender: No OFD packet to send [12:18:13]OFD Sender: No OFD packet to send [12:18:18]OFD Sender: No OFD packet to send [12:18:23]OFD Sender: No OFD packet to send [12:18:28]OFD Sender: No OFD packet to send [12:18:33]OFD Sender: No OFD packet to send [12:18:38]OFD Sender: No OFD packet to send [12:18:43]OFD Sender: No OFD packet to send [12:18:48]OFD Sender: No OFD packet to send [12:18:53]OFD Sender: No OFD packet to send [12:18:58]OFD Sender: No OFD packet to send [12:19:03]OFD Sender: No OFD packet to send [12:19:08]OFD Sender: No OFD packet to send [12:19:13]OFD Sender: No OFD packet to send [12:19:18]OFD Sender: No OFD packet to send [12:19:23]OFD Sender: No OFD packet to send [12:19:28]OFD Sender: No OFD packet to send [12:19:33]OFD Sender: No OFD packet to send [12:19:38]OFD Sender: No OFD packet to send [12:19:43]OFD Sender: No OFD packet to send [12:19:48]OFD Sender: No OFD packet to send [12:19:53]OFD Sender: No OFD packet to send [12:19:58]OFD Sender: No OFD packet to send [12:20:03]OFD Sender: No OFD packet to send [12:20:08]OFD Sender: No OFD packet to send [12:20:13]OFD Sender: No OFD packet to send [12:20:18]OFD Sender: No OFD packet to send [12:20:23]OFD Sender: No OFD packet to send [12:20:28]OFD Sender: No OFD packet to send [12:20:33]OFD Sender: No OFD packet to send [12:20:38]OFD Sender: No OFD packet to send [12:20:43]OFD Sender: No OFD packet to send [12:20:48]OFD Sender: No OFD packet to send [12:20:53]OFD Sender: No OFD packet to send [12:20:58]OFD Sender: No OFD packet to send [12:21:03]OFD Sender: No OFD packet to send [12:21:08]OFD Sender: No OFD packet to send [12:21:13]OFD Sender: No OFD packet to send [12:21:18]OFD Sender: No OFD packet to send [12:21:23]OFD Sender: No OFD packet to send [12:21:28]OFD Sender: No OFD packet to send [12:21:33]OFD Sender: No OFD packet to send [12:21:38]OFD Sender: No OFD packet to send [12:21:43]OFD Sender: No OFD packet to send [12:21:48]OFD Sender: No OFD packet to send [12:21:53]OFD Sender: No OFD packet to send [12:21:58]OFD Sender: No OFD packet to send [12:22:03]OFD Sender: No OFD packet to send [12:22:08]OFD Sender: No OFD packet to send [12:22:13]OFD Sender: No OFD packet to send [12:22:18]OFD Sender: No OFD packet to send [12:22:23]OFD Sender: No OFD packet to send [12:22:28]OFD Sender: No OFD packet to send [12:22:33]OFD Sender: No OFD packet to send [12:22:38]OFD Sender: No OFD packet to send [12:22:43]OFD Sender: No OFD packet to send [12:22:48]OFD Sender: No OFD packet to send [12:22:53]OFD Sender: No OFD packet to send [12:22:58]OFD Sender: No OFD packet to send [12:23:03]OFD Sender: No OFD packet to send [12:23:08]OFD Sender: No OFD packet to send [12:23:13]OFD Sender: No OFD packet to send [12:23:18]OFD Sender: No OFD packet to send [12:23:23]OFD Sender: No OFD packet to send [12:23:28]OFD Sender: No OFD packet to send [12:23:33]OFD Sender: No OFD packet to send [12:23:38]OFD Sender: No OFD packet to send [12:23:43]OFD Sender: No OFD packet to send [12:23:48]OFD Sender: No OFD packet to send [12:23:53]OFD Sender: No OFD packet to send [12:23:58]OFD Sender: No OFD packet to send [12:24:03]OFD Sender: No OFD packet to send [12:24:08]OFD Sender: No OFD packet to send [12:24:13]OFD Sender: No OFD packet to send [12:24:18]OFD Sender: No OFD packet to send [12:24:23]OFD Sender: No OFD packet to send [12:24:28]OFD Sender: No OFD packet to send [12:24:33]OFD Sender: No OFD packet to send [12:24:38]OFD Sender: No OFD packet to send [12:24:43]OFD Sender: No OFD packet to send [12:24:48]OFD Sender: No OFD packet to send [12:24:53]OFD Sender: No OFD packet to send [12:24:58]OFD Sender: No OFD packet to send [12:25:03]OFD Sender: No OFD packet to send [12:25:08]OFD Sender: No OFD packet to send [12:25:13]OFD Sender: No OFD packet to send [12:25:18]OFD Sender: No OFD packet to send [12:25:23]OFD Sender: No OFD packet to send [12:25:28]OFD Sender: No OFD packet to send [12:25:33]OFD Sender: No OFD packet to send [12:25:38]OFD Sender: No OFD packet to send [12:25:43]OFD Sender: No OFD packet to send [12:25:48]OFD Sender: No OFD packet to send [12:25:53]OFD Sender: No OFD packet to send [12:25:58]OFD Sender: No OFD packet to send [12:26:03]OFD Sender: No OFD packet to send [12:26:08]OFD Sender: No OFD packet to send [12:26:13]OFD Sender: No OFD packet to send [12:26:18]OFD Sender: No OFD packet to send [12:26:23]OFD Sender: No OFD packet to send [12:26:28]OFD Sender: No OFD packet to send [12:26:33]OFD Sender: No OFD packet to send [12:26:38]OFD Sender: No OFD packet to send [12:26:43]OFD Sender: No OFD packet to send [12:26:48]OFD Sender: No OFD packet to send [12:26:53]OFD Sender: No OFD packet to send [12:26:58]OFD Sender: No OFD packet to send [12:27:03]OFD Sender: No OFD packet to send [12:27:08]OFD Sender: No OFD packet to send [12:27:13]OFD Sender: No OFD packet to send [12:27:18]OFD Sender: No OFD packet to send [12:27:23]OFD Sender: No OFD packet to send [12:27:28]OFD Sender: No OFD packet to send [12:27:33]OFD Sender: No OFD packet to send [12:27:38]OFD Sender: No OFD packet to send [12:27:43]OFD Sender: No OFD packet to send [12:27:48]OFD Sender: No OFD packet to send [12:27:53]OFD Sender: No OFD packet to send [12:27:58]OFD Sender: No OFD packet to send [12:28:03]OFD Sender: No OFD packet to send [12:28:08]OFD Sender: No OFD packet to send [12:28:13]OFD Sender: No OFD packet to send [12:28:18]OFD Sender: No OFD packet to send [12:28:23]OFD Sender: No OFD packet to send [12:28:28]OFD Sender: No OFD packet to send [12:28:33]OFD Sender: No OFD packet to send [12:28:38]OFD Sender: No OFD packet to send [12:28:43]OFD Sender: No OFD packet to send [12:28:48]OFD Sender: No OFD packet to send [12:28:53]OFD Sender: No OFD packet to send [12:28:58]OFD Sender: No OFD packet to send [12:29:03]OFD Sender: No OFD packet to send [12:29:08]OFD Sender: No OFD packet to send [12:29:13]OFD Sender: No OFD packet to send [12:29:18]OFD Sender: No OFD packet to send [12:29:23]OFD Sender: No OFD packet to send [12:29:28]OFD Sender: No OFD packet to send [12:29:33]OFD Sender: No OFD packet to send [12:29:38]OFD Sender: No OFD packet to send [12:29:43]OFD Sender: No OFD packet to send [12:29:48]OFD Sender: No OFD packet to send [12:29:53]OFD Sender: No OFD packet to send [12:29:58]OFD Sender: No OFD packet to send [12:30:03]OFD Sender: No OFD packet to send [12:30:08]OFD Sender: No OFD packet to send [12:30:13]OFD Sender: No OFD packet to send [12:30:18]OFD Sender: No OFD packet to send [12:30:23]OFD Sender: No OFD packet to send [12:30:28]OFD Sender: No OFD packet to send [12:30:33]OFD Sender: No OFD packet to send [12:30:38]OFD Sender: No OFD packet to send [12:30:43]OFD Sender: No OFD packet to send [12:30:48]OFD Sender: No OFD packet to send [12:30:53]OFD Sender: No OFD packet to send [12:30:58]OFD Sender: No OFD packet to send [12:31:03]OFD Sender: No OFD packet to send [12:31:08]OFD Sender: No OFD packet to send [12:31:13]OFD Sender: No OFD packet to send [12:31:18]OFD Sender: No OFD packet to send [12:31:23]OFD Sender: No OFD packet to send [12:31:28]OFD Sender: No OFD packet to send [12:31:33]OFD Sender: No OFD packet to send [12:31:38]OFD Sender: No OFD packet to send [12:31:43]OFD Sender: No OFD packet to send [12:31:48]OFD Sender: No OFD packet to send [12:31:53]OFD Sender: No OFD packet to send [12:31:58]OFD Sender: No OFD packet to send [12:32:03]OFD Sender: No OFD packet to send [12:32:08]OFD Sender: No OFD packet to send [12:32:13]OFD Sender: No OFD packet to send [12:32:18]OFD Sender: No OFD packet to send [12:32:23]OFD Sender: No OFD packet to send [12:32:28]OFD Sender: No OFD packet to send [12:32:32]accept exits with 7 [12:32:32]New connection [12:32:32]New thread 3067166052 created [12:32:32]Thread 3067309412 joined [12:32:32]Waiting for new connection... [12:32:32] Sock 7.Parse request [12:32:32]Sock 7.Check first char [12:32:32]Sock 7.First char is OK [12:32:32]request: POST /json_proto HTTP/1.0 [12:32:32]Method: POST [12:32:32]URL: /json_proto [12:32:32]Method is POST - this is cgi request [12:32:32]url: /json_proto [12:32:32]query_string will be loaded in cgi processing [12:32:32]execute_cgi json_proto POST (null) [12:32:32]execute_cgi path=json_proto method=POST [12:32:32]POST find Content-Length [12:32:32]Host: 172.17.53.196:8080 [12:32:32]Content-Length: 882 [12:32:32]Content-Type: application/json [12:32:32] [12:32:32]POST finish read [12:32:32]Found Content-Length = 882 [12:32:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34624", "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": "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" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:32:32]execute_script... [12:32: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)34624", "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": "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" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:32:32]POST & json_proto [12:32:32]process_json_proto [12:32:32]json parsed OK: [12:32:32]protocol is kg_v1.0 [12:32:32]action value=close_receipt [12:32:32]process_action close_receipt [12:32:32]cmd_close_receipt [12:32:32]MH_GetDate [12:32:32]Write to MH i2c: F0 00 00 60 07 56 [12:32:32]Write i2c OK [12:32:32]MH_I2C_Read... [12:32:32]Read from MH i2c: F0 [12:32:32]MH_I2C_Read... [12:32:32]Read from MH i2c: F0 09 00 [12:32:32]MH_I2C_Read... [12:32:32]Read from MH i2c: F0 09 00 60 07 00 63 F8 14 67 4F CD 9A 65 50 [12:32:32]GetLastDocTimeStamp 1729426483 [12:32:32]current date 1729427555 [12:32:32]FM_GetShiftState [12:32:32]SAM_PROTO_GetShiftState [12:32:32]wFMCommunicate request_size=4 [12:32:32]MH_SAM_APDU [12:32:32]CAPDU: 80 13 01 00 [12:32:32]Write to MH i2c: E2 08 00 61 07 80 13 01 00 00 00 00 00 E5 [12:32:32]Write i2c OK [12:32:32]MH_I2C_Read... [12:32:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:32:32]Read from MH i2c: E2 [12:32:32]MH_I2C_Read... [12:32:32]Read from MH i2c: E2 0E 00 [12:32:32]MH_I2C_Read... [12:32:32]Read from MH i2c: E2 0E 00 61 07 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 2B [12:32:32]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [12:32:32]wFMCommunicate OK [12:32:32]SAM_PROTO_GetShiftState done [12:32:32]FM_GetShiftState done [12:32:32]opened in 1729384049 [12:32:32]opened+sec_in_day 1729470449 [12:32:32]quantity*price = 16000 [12:32:32]sum+1 = 16001 [12:32:32]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000310326 Вода Адыгене 1л б/г 1.000 * 35.00 = 35.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 195.00 НСП 1% : 1.73 НДС 12% : 20.71 Наличными: 195.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 22 20.10.2024 12:32 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24864 ФПД: 250738658469063 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123235&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24864&fm=250738658469063&tin=02508201610067®Number=0000000000098147&sum=19500 0 [12:32:33]StoreToDocumentArchive [12:32:33]shift 455 fd 24864 [12:32:33]save to /storage/0455/doc_00024864 [12:32:33]save last doc name /storage/0455/doc_00024864 to /storage/kkm_last_doc_name [12:32:33]save OK [12:32:33]Clear old archive folders... [12:32:33]ProcessDocumentItem done err = 0, tmpTLVsize=379 [12:32:33]tlvbuf is 00DF0CE0 [12:32:33]SAM_PROTO_ClearQueue [12:32:33]wFMCommunicate request_size=4 [12:32:33]MH_SAM_APDU [12:32:33]CAPDU: 80 09 00 00 [12:32:33]Write to MH i2c: E2 08 00 6E 07 80 09 00 00 00 00 00 00 E7 [12:32:33]Write i2c OK [12:32:33]MH_I2C_Read... [12:32:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:32:33]Read from MH i2c: E2 [12:32:33]MH_I2C_Read... [12:32:33]Read from MH i2c: E2 03 00 [12:32:33]MH_I2C_Read... [12:32:33]Read from MH i2c: E2 03 00 6E 07 00 90 00 E9 [12:32:33]RAPDU: 90 00 [12:32:33]wFMCommunicate OK [12:32:33]SAM_PROTO_ClearQueue done [12:32:33]KKMCreateOFDPacket [12:32:33]OFDProtocolAddRootSTLVToBuf [12:32:33]FM_MakeSignedData [12:32:33]FM_MakeSignedData [12:32:33]SAM_PROTO_SignData [12:32:33]wFMCommunicate request_size=4 [12:32:33]MH_SAM_APDU [12:32:33]CAPDU: 80 0D 01 02 [12:32:33]Write to MH i2c: E2 08 00 6F 07 80 0D 01 02 00 00 00 00 EF [12:32:33]Write i2c OK [12:32:33]MH_I2C_Read... [12:32:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:32:33]Read from MH i2c: E2 [12:32:33]MH_I2C_Read... [12:32:33]Read from MH i2c: E2 03 00 [12:32:33]MH_I2C_Read... [12:32:33]Read from MH i2c: E2 03 00 6F 07 00 90 00 EA [12:32:33]RAPDU: 90 00 [12:32:33]wFMCommunicate OK [12:32:33]wFMCommunicate request_size=255 [12:32:33]MH_SAM_APDU [12:32:33]CAPDU: 80 0D 02 02 FA 03 00 7B 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 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 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 [12:32:33]Write to MH i2c: E2 02 01 70 07 80 0D 02 02 FA 00 03 00 7B 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 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 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 00 3A [12:32:33]Write i2c OK [12:32:33]MH_I2C_Read... [12:32:33]OFD Sender: No OFD packet to send [12:32:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:32:33]Read from MH i2c: E2 [12:32:33]MH_I2C_Read... [12:32:33]Read from MH i2c: E2 03 00 [12:32:33]MH_I2C_Read... [12:32:33]Read from MH i2c: E2 03 00 70 07 00 90 00 EB [12:32:33]RAPDU: 90 00 [12:32:33]wFMCommunicate OK [12:32:33]wFMCommunicate request_size=138 [12:32:33]MH_SAM_APDU [12:32:33]CAPDU: 80 0D 02 02 85 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 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 63 F8 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 20 61 00 00 35 04 06 00 E4 0B A4 AB 64 C7 [12:32:34]Write to MH i2c: E2 8D 00 71 07 80 0D 02 02 85 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 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 63 F8 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 20 61 00 00 35 04 06 00 E4 0B A4 AB 64 C7 00 00 66 [12:32:34]Write i2c OK [12:32:34]MH_I2C_Read... [12:32:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:32:34]Read from MH i2c: E2 [12:32:34]MH_I2C_Read... [12:32:34]Read from MH i2c: E2 03 00 [12:32:34]MH_I2C_Read... [12:32:34]Read from MH i2c: E2 03 00 71 07 00 90 00 EC [12:32:34]RAPDU: 90 00 [12:32:34]wFMCommunicate OK [12:32:34]wFMCommunicate request_size=4 [12:32:34]MH_SAM_APDU [12:32:34]CAPDU: 80 0D 03 02 [12:32:34]Write to MH i2c: E2 08 00 72 07 80 0D 03 02 00 00 00 00 F4 [12:32:34]Write i2c OK [12:32:34]MH_I2C_Read... [12:32:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:32:34]Read from MH i2c: E2 [12:32:34]MH_I2C_Read... [12:32:34]Read from MH i2c: E2 0B 00 [12:32:34]MH_I2C_Read... [12:32:34]Read from MH i2c: E2 0B 00 72 07 00 1A 90 3E C8 49 D0 C2 E4 90 00 64 [12:32:34]RAPDU: 1A 90 3E C8 49 D0 C2 E4 90 00 [12:32:34]wFMCommunicate OK [12:32:34]SAM_PROTO_SignData done [12:32:34]FM_MakeSignedData done [12:32:34]CreateOFDProtocolMessage [12:32:34]wFMCommunicate request_size=4 [12:32:34]MH_SAM_APDU [12:32:34]CAPDU: 80 11 00 00 [12:32:34]Write to MH i2c: E2 08 00 73 07 80 11 00 00 00 00 00 00 F4 [12:32:34]Write i2c OK [12:32:34]MH_I2C_Read... [12:32:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:32:34]Read from MH i2c: E2 [12:32:34]MH_I2C_Read... [12:32:34]Read from MH i2c: E2 17 00 [12:32:34]MH_I2C_Read... [12:32:34]Read from MH i2c: E2 17 00 73 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 4B [12:32:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [12:32:34]wFMCommunicate OK [12:32:34]CreateOFDProtocolMessage done [12:32:34]OFDSenderStorePacket 24864 [12:32:34]StoreOFDPacket docnum=24864 [12:32:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 8F 01 00 00 77 B7 87 01 DD F5 5A 03 01 00 03 00 7B 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 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 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 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 63 F8 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 20 61 00 00 35 04 06 00 E4 0B A4 AB 64 C7 1A 90 3E C8 49 D0 C2 E4 [12:32:34]CheckFolder [12:32:34]dirname=/storage/ofd_packets [12:32:34]CheckFolder done [12:32:34]ProducePacketName [12:32:34]name=ofd_packets/00024864 [12:32:34]NVStorageSaveData ofd_packets/00024864 [12:32:34]File name is /storage/ofd_packets/00024864 [12:32:34]Write 429 bytes [12:32:34]NVStorageSaveData done [12:32:34]OFDSenderStorePacket done [12:32:34]KKMCreateOFDPacket done [12:32:34]NVStorageSaveData kkm_last_timestamp [12:32:34]File name is /storage/kkm_last_timestamp [12:32:34]Write 4 bytes [12:32:34]NVStorageSaveData done [12:32:34]ExternCall_PrintAddStr [12:32:34]wPrintStart [12:32:34]Write to MH i2c: 01 00 00 74 07 7B [12:32:34]Write i2c OK [12:32:34]MH_I2C_Read... [12:32:34]Read from MH i2c: 01 [12:32:34]MH_I2C_Read... [12:32:34]Read from MH i2c: 01 07 00 [12:32:34]MH_I2C_Read... [12:32:34]Read from MH i2c: 01 07 00 74 07 00 00 00 00 00 FF 0F 90 [12:32:34]RasterBufferAndPrint [12:32:34]line Счет N : (3)34624 [12:32:34]line ИНН: 02508201610067 [12:32:34]line Контрольно-Кассовый Чек [12:32:34]line ПРОДАЖА [12:32:34]line Товар: 48741958 [12:32:34]line Сигареты Parliament Aqua Blue [12:32:34]line 1.000 * 160.00 [12:32:34]line = 160.00 [12:32:34]line НДС 12% НСП 1% [12:32:34]line > о реализуемом товаре [12:32:34]line Товар: 4700000310326 [12:32:34]line Вода Адыгене 1л б/г [12:32:34]line 1.000 * 35.00 [12:32:34]line = 35.00 [12:32:34]line НДС 12% НСП 1% [12:32:34]line > о реализуемом товаре [12:32:34]line ИТОГО: 195.00 [12:32:34]line НСП 1% : 1.73 [12:32:34]line НДС 12% : 20.71 [12:32:34]line Наличными: 195.00 [12:32:34]line Безнал.: 0.00 [12:32:34]line Место: АЗС № 161 "Партнер Нефть" [12:32:34]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [12:32:34]line СНО: Общий режим [12:32:34]line Чек 22 20.10.2024 12:32 [12:32:34]line Смена: 455 ФФД: 1.0 [12:32:34]line ЗНМ: 0300000240 [12:32:34]line РНМ: 0000000000098147 [12:32:34]line Версия ККМ: 001 [12:32:34]line ФМ: 0000000000965376 [12:32:34]line ФД: 24864 [12:32:34]line ФПД: 250738658469063 [12:32:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123235&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24864&fm=250738658469063&tin=02508201610067®Number=0000000000098147&sum=19500 [12:32:34]line 0 [12:32:34]OFD Sender: Processing packet 24864 [packets to send 5, broken 4] [12:32:34]ProducePacketName [12:32:34]name=ofd_packets/00024864 [12:32:34]OFD Sender: To server: pG, [12:32:34]CommunicateWithHost lk.salyk.kg:30040 [12:32:34]ConnectInit lk.salyk.kg [12:32:34]written 0, free lines is 4095 [12:32:34]Connected sock=10 [12:32:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 8F 01 00 00 77 B7 87 01 DD F5 5A 03 01 00 03 00 7B 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 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 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 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 63 F8 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 20 61 00 00 35 04 06 00 E4 0B A4 AB 64 C7 1A 90 3E C8 49 D0 C2 E4 [12:32:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 61 8E 47 00 34 04 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 20 61 00 00 F4 03 04 00 E3 A0 14 67 B6 04 01 00 00 85 E9 94 50 69 AA 1B E4 [12:32:34]CommunicateWithHost err = 0 [12:32:34]CheckOFDResponse [12:32:34]1017 (14) - 77093643461234 [12:32:34]1041 (16) - 0000000000965376 [12:32:34]1040 (4) - 24864 [12:32:34]1012 (4) - 20.10.2024 06:19 [12:32:34]1206 (1) - 0 [12:32:34]OFD Sender: Remove packet 24864 [12:32:34]ProducePacketName [12:32:34]name=ofd_packets/00024864 [12:32:34]NVStorageDeleteData [12:32:35]Write to MH i2c: 01 00 00 A3 07 AA [12:32:35]Write i2c OK [12:32:35]MH_I2C_Read... [12:32:35]Read from MH i2c: 01 [12:32:35]MH_I2C_Read... [12:32:35]Read from MH i2c: 01 07 00 [12:32:35]MH_I2C_Read... [12:32:35]Read from MH i2c: 01 07 00 A3 07 00 00 00 00 00 6B 0C 28 [12:32:35]RasterBufferAndPrint [12:32:35]line [12:32:35]line [12:32:35]line [12:32:35]line [12:32:35]line [12:32:35]written 0, free lines is 3188 [12:32:35]process_action close_receipt done [12:32:35]requested_data is exist [12:32:35]produce_requested_data [12:32:35]requested_item fm.sn is exist - process it [12:32:35]wFMCommunicate request_size=4 [12:32:35]MH_SAM_APDU [12:32:35]CAPDU: 80 11 00 00 [12:32:35]Write to MH i2c: E2 08 00 AA 07 80 11 00 00 00 00 00 00 2B [12:32:35]Write i2c OK [12:32:35]MH_I2C_Read... [12:32:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:32:35]Read from MH i2c: E2 [12:32:35]MH_I2C_Read... [12:32:35]Read from MH i2c: E2 17 00 [12:32:35]MH_I2C_Read... [12:32:35]Read from MH i2c: E2 17 00 AA 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 82 [12:32:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [12:32:35]wFMCommunicate OK [12:32:35]requested_item fd.num is exist - process it [12:32:35]SAM_PROTO_GetFieldsCounters [12:32:35]wFMCommunicate request_size=4 [12:32:35]MH_SAM_APDU [12:32:35]CAPDU: 80 13 00 00 [12:32:35]Write to MH i2c: E2 08 00 AB 07 80 13 00 00 00 00 00 00 2E [12:32:35]Write i2c OK [12:32:35]MH_I2C_Read... [12:32:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:32:35]Read from MH i2c: E2 [12:32:35]MH_I2C_Read... [12:32:35]Read from MH i2c: E2 62 00 [12:32:35]MH_I2C_Read... [12:32:35]Read from MH i2c: E2 62 00 AB 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 20 61 00 00 0E 04 04 00 C7 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 E2 [12:32:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 20 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:32:35]wFMCommunicate OK [12:32:35]SAM_PROTO_GetFieldsCounters done [12:32:35]requested_item shift.num is exist - process it [12:32:35]requested_item shift.opened is exist - process it [12:32:35]req_shift_opened [12:32:35]FM_GetShiftState [12:32:35]SAM_PROTO_GetShiftState [12:32:35]wFMCommunicate request_size=4 [12:32:35]MH_SAM_APDU [12:32:35]CAPDU: 80 13 01 00 [12:32:35]Write to MH i2c: E2 08 00 AC 07 80 13 01 00 00 00 00 00 30 [12:32:35]Write i2c OK [12:32:35]MH_I2C_Read... [12:32:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:32:35]Read from MH i2c: E2 [12:32:35]MH_I2C_Read... [12:32:35]Read from MH i2c: E2 0E 00 [12:32:35]MH_I2C_Read... [12:32:35]Read from MH i2c: E2 0E 00 AC 07 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 76 [12:32:35]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [12:32:35]wFMCommunicate OK [12:32:35]SAM_PROTO_GetShiftState done [12:32:35]FM_GetShiftState done [12:32:35]req_shift_opened done [12:32:35]requested_item shift.open_date is exist - process it [12:32:35]req_shift_open_date [12:32:35]req_shift_open_date done [12:32:35]produce_requested_data done [12:32:35]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24864,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [12:32:35]process_action_free close_receipt [12:32:35]json_value_free [12:32:35]json_value_free done [12:32:35]process_json_proto returns [12:32:35]Send response to host [12:32:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24864,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [12:32:35]free response buf [12:32:35]execute_script done [12:32:35]execute_script returns [12:32:35]free content buf [12:32:35]Sock 7.Close socket [12:32:35]Sock 7.Thread stoped [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:07]accept exits with 9 [12:34:07]New connection [12:34:07]New thread 3067309412 created [12:34:07]Thread 3067166052 joined [12:34:07]Waiting for new connection... [12:34:07] Sock 9.Parse request [12:34:07]Sock 9.Check first char [12:34:07]Sock 9.First char is OK [12:34:07]request: POST /json_proto HTTP/1.0 [12:34:07]Method: POST [12:34:07]URL: /json_proto [12:34:07]Method is POST - this is cgi request [12:34:07]url: /json_proto [12:34:07]query_string will be loaded in cgi processing [12:34:07]execute_cgi json_proto POST (null) [12:34:07]execute_cgi path=json_proto method=POST [12:34:07]POST find Content-Length [12:34:07]Host: 172.17.53.196:8080 [12:34:07]Content-Length: 671 [12:34:07]Content-Type: application/json [12:34:07] [12:34:07]POST finish read [12:34:07]Found Content-Length = 671 [12:34:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34625", "tax_sys" : 0, "items" : [ { "code": "4000512994909", "name": "\u0440\u0401\u044C\u0445\u044B\u0440\u0444 \u0401\u044E\u044B\u044B\u0448 \u0401\u0443\u0445\u0401 \u0448\u044D\u0448", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 44.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:34:07]execute_script... [12:34: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)34625", "tax_sys" : 0, "items" : [ { "code": "4000512994909", "name": "\u0440\u0401\u044C\u0445\u044B\u0440\u0444 \u0401\u044E\u044B\u044B\u0448 \u0401\u0443\u0445\u0401 \u0448\u044D\u0448", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 44.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:34:07]POST & json_proto [12:34:07]process_json_proto [12:34:07]json parsed OK: [12:34:07]protocol is kg_v1.0 [12:34:07]action value=close_receipt [12:34:07]process_action close_receipt [12:34:07]cmd_close_receipt [12:34:07]MH_GetDate [12:34:07]Write to MH i2c: F0 00 00 AD 07 A3 [12:34:07]Write i2c OK [12:34:07]MH_I2C_Read... [12:34:07]Read from MH i2c: F0 [12:34:07]MH_I2C_Read... [12:34:07]Read from MH i2c: F0 09 00 [12:34:07]MH_I2C_Read... [12:34:07]Read from MH i2c: F0 09 00 AD 07 00 C1 F8 14 67 4F CD 9A 65 FB [12:34:07]GetLastDocTimeStamp 1729427555 [12:34:07]current date 1729427649 [12:34:07]FM_GetShiftState [12:34:07]SAM_PROTO_GetShiftState [12:34:07]wFMCommunicate request_size=4 [12:34:07]MH_SAM_APDU [12:34:07]CAPDU: 80 13 01 00 [12:34:07]Write to MH i2c: E2 08 00 AE 07 80 13 01 00 00 00 00 00 32 [12:34:07]Write i2c OK [12:34:07]MH_I2C_Read... [12:34:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:34:07]Read from MH i2c: E2 [12:34:07]MH_I2C_Read... [12:34:07]Read from MH i2c: E2 0E 00 [12:34:07]MH_I2C_Read... [12:34:07]Read from MH i2c: E2 0E 00 AE 07 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 78 [12:34:07]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [12:34:07]wFMCommunicate OK [12:34:07]SAM_PROTO_GetShiftState done [12:34:07]FM_GetShiftState done [12:34:07]opened in 1729384049 [12:34:07]opened+sec_in_day 1729470449 [12:34:07]quantity*price = 4400 [12:34:07]sum+1 = 4401 [12:34:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 44.00 НСП 1% : 0.39 НДС 12% : 4.67 Наличными: 44.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 23 20.10.2024 12:34 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24865 ФПД: 118617827737816 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123409&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24865&fm=118617827737816&tin=02508201610067®Number=0000000000098147&sum=4400 0 [12:34:08]StoreToDocumentArchive [12:34:08]shift 455 fd 24865 [12:34:08]save to /storage/0455/doc_00024865 [12:34:08]save last doc name /storage/0455/doc_00024865 to /storage/kkm_last_doc_name [12:34:08]save OK [12:34:08]Clear old archive folders... [12:34:08]ProcessDocumentItem done err = 0, tmpTLVsize=283 [12:34:08]tlvbuf is 00DF9DA0 [12:34:08]SAM_PROTO_ClearQueue [12:34:08]wFMCommunicate request_size=4 [12:34:08]MH_SAM_APDU [12:34:08]CAPDU: 80 09 00 00 [12:34:08]Write to MH i2c: E2 08 00 BB 07 80 09 00 00 00 00 00 00 34 [12:34:08]Write i2c OK [12:34:08]MH_I2C_Read... [12:34:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:34:08]Read from MH i2c: E2 [12:34:08]MH_I2C_Read... [12:34:08]Read from MH i2c: E2 03 00 [12:34:08]MH_I2C_Read... [12:34:08]Read from MH i2c: E2 03 00 BB 07 00 90 00 36 [12:34:08]RAPDU: 90 00 [12:34:08]wFMCommunicate OK [12:34:08]SAM_PROTO_ClearQueue done [12:34:08]KKMCreateOFDPacket [12:34:08]OFDProtocolAddRootSTLVToBuf [12:34:08]FM_MakeSignedData [12:34:08]FM_MakeSignedData [12:34:08]SAM_PROTO_SignData [12:34:08]wFMCommunicate request_size=4 [12:34:08]MH_SAM_APDU [12:34:08]CAPDU: 80 0D 01 02 [12:34:08]Write to MH i2c: E2 08 00 BC 07 80 0D 01 02 00 00 00 00 3C [12:34:08]Write i2c OK [12:34:08]MH_I2C_Read... [12:34:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:34:08]Read from MH i2c: E2 [12:34:08]MH_I2C_Read... [12:34:08]Read from MH i2c: E2 03 00 [12:34:08]MH_I2C_Read... [12:34:08]Read from MH i2c: E2 03 00 BC 07 00 90 00 37 [12:34:08]RAPDU: 90 00 [12:34:08]wFMCommunicate OK [12:34:08]wFMCommunicate request_size=255 [12:34:08]MH_SAM_APDU [12:34:08]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 C1 F8 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 [12:34:08]Write to MH i2c: E2 02 01 BD 07 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 C1 F8 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 00 00 27 [12:34:08]Write i2c OK [12:34:08]MH_I2C_Read... [12:34:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:34:08]Read from MH i2c: E2 [12:34:08]MH_I2C_Read... [12:34:08]Read from MH i2c: E2 03 00 [12:34:08]MH_I2C_Read... [12:34:08]Read from MH i2c: E2 03 00 BD 07 00 90 00 38 [12:34:08]RAPDU: 90 00 [12:34:08]wFMCommunicate OK [12:34:08]wFMCommunicate request_size=42 [12:34:08]MH_SAM_APDU [12:34:08]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 21 61 00 00 35 04 06 00 6B E1 DD 7C 80 D8 [12:34:08]Write to MH i2c: E2 2D 00 BE 07 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 21 61 00 00 35 04 06 00 6B E1 DD 7C 80 D8 00 00 97 [12:34:08]Write i2c OK [12:34:08]MH_I2C_Read... [12:34:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:34:08]Read from MH i2c: E2 [12:34:08]MH_I2C_Read... [12:34:08]Read from MH i2c: E2 03 00 [12:34:08]MH_I2C_Read... [12:34:08]Read from MH i2c: E2 03 00 BE 07 00 90 00 39 [12:34:08]RAPDU: 90 00 [12:34:08]wFMCommunicate OK [12:34:08]wFMCommunicate request_size=4 [12:34:08]MH_SAM_APDU [12:34:08]CAPDU: 80 0D 03 02 [12:34:08]Write to MH i2c: E2 08 00 BF 07 80 0D 03 02 00 00 00 00 41 [12:34:08]Write i2c OK [12:34:08]MH_I2C_Read... [12:34:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:34:08]Read from MH i2c: E2 [12:34:08]MH_I2C_Read... [12:34:08]Read from MH i2c: E2 0B 00 [12:34:08]MH_I2C_Read... [12:34:08]Read from MH i2c: E2 0B 00 BF 07 00 AB 39 BB 1D CC F8 A1 53 90 00 B6 [12:34:08]RAPDU: AB 39 BB 1D CC F8 A1 53 90 00 [12:34:08]wFMCommunicate OK [12:34:08]SAM_PROTO_SignData done [12:34:08]FM_MakeSignedData done [12:34:08]CreateOFDProtocolMessage [12:34:08]wFMCommunicate request_size=4 [12:34:08]MH_SAM_APDU [12:34:08]CAPDU: 80 11 00 00 [12:34:08]Write to MH i2c: E2 08 00 C0 07 80 11 00 00 00 00 00 00 41 [12:34:08]Write i2c OK [12:34:08]MH_I2C_Read... [12:34:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:34:08]Read from MH i2c: E2 [12:34:08]MH_I2C_Read... [12:34:08]Read from MH i2c: E2 17 00 [12:34:08]MH_I2C_Read... [12:34:08]Read from MH i2c: E2 17 00 C0 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 98 [12:34:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [12:34:08]wFMCommunicate OK [12:34:08]CreateOFDProtocolMessage done [12:34:08]OFDSenderStorePacket 24865 [12:34:08]StoreOFDPacket docnum=24865 [12:34:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2F 01 00 00 56 8D 27 01 64 87 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 C1 F8 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 21 61 00 00 35 04 06 00 6B E1 DD 7C 80 D8 AB 39 BB 1D CC F8 A1 53 [12:34:08]CheckFolder [12:34:08]dirname=/storage/ofd_packets [12:34:08]CheckFolder done [12:34:08]ProducePacketName [12:34:08]name=ofd_packets/00024865 [12:34:08]NVStorageSaveData ofd_packets/00024865 [12:34:08]File name is /storage/ofd_packets/00024865 [12:34:08]Write 333 bytes [12:34:08]NVStorageSaveData done [12:34:08]OFDSenderStorePacket done [12:34:08]KKMCreateOFDPacket done [12:34:08]NVStorageSaveData kkm_last_timestamp [12:34:08]File name is /storage/kkm_last_timestamp [12:34:08]Write 4 bytes [12:34:08]NVStorageSaveData done [12:34:08]ExternCall_PrintAddStr [12:34:08]wPrintStart [12:34:08]Write to MH i2c: 01 00 00 C1 07 C8 [12:34:08]Write i2c OK [12:34:08]MH_I2C_Read... [12:34:08]Read from MH i2c: 01 [12:34:08]MH_I2C_Read... [12:34:08]Read from MH i2c: 01 07 00 [12:34:08]MH_I2C_Read... [12:34:08]Read from MH i2c: 01 07 00 C1 07 00 00 00 00 00 FF 0F DD [12:34:08]RasterBufferAndPrint [12:34:08]line Счет N : (3)34625 [12:34:08]line ИНН: 02508201610067 [12:34:08]line Контрольно-Кассовый Чек [12:34:08]line ПРОДАЖА [12:34:08]line Товар: 4000512994909 [12:34:08]line рЁьхырф Ёюыыш ЁухЁ шэш [12:34:08]line 1.000 * 44.00 [12:34:08]line = 44.00 [12:34:08]line НДС 12% НСП 1% [12:34:08]line > о реализуемом товаре [12:34:08]line ИТОГО: 44.00 [12:34:08]line НСП 1% : 0.39 [12:34:08]line НДС 12% : 4.67 [12:34:08]line Наличными: 44.00 [12:34:08]line Безнал.: 0.00 [12:34:08]line Место: АЗС № 161 "Партнер Нефть" [12:34:08]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [12:34:08]line СНО: Общий режим [12:34:08]line Чек 23 20.10.2024 12:34 [12:34:08]line Смена: 455 ФФД: 1.0 [12:34:08]line ЗНМ: 0300000240 [12:34:08]line РНМ: 0000000000098147 [12:34:08]line Версия ККМ: 001 [12:34:08]line ФМ: 0000000000965376 [12:34:08]line ФД: 24865 [12:34:08]line ФПД: 118617827737816 [12:34:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123409&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24865&fm=118617827737816&tin=02508201610067®Number=0000000000098147&sum=4400 [12:34:09]line 0 [12:34:09]OFD Sender: Processing packet 24865 [packets to send 5, broken 4] [12:34:09]ProducePacketName [12:34:09]name=ofd_packets/00024865 [12:34:09]OFD Sender: To server: pG, [12:34:09]CommunicateWithHost lk.salyk.kg:30040 [12:34:09]ConnectInit lk.salyk.kg [12:34:09]written 0, free lines is 4095 [12:34:09]Connected sock=10 [12:34:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2F 01 00 00 56 8D 27 01 64 87 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 C1 F8 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 21 61 00 00 35 04 06 00 6B E1 DD 7C 80 D8 AB 39 BB 1D CC F8 A1 53 [12:34:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 21 94 47 00 92 81 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 21 61 00 00 F4 03 04 00 42 A1 14 67 B6 04 01 00 00 CB 05 2F EC BB 34 88 6B [12:34:09]CommunicateWithHost err = 0 [12:34:09]CheckOFDResponse [12:34:09]1017 (14) - 77093643461234 [12:34:09]1041 (16) - 0000000000965376 [12:34:09]1040 (4) - 24865 [12:34:09]1012 (4) - 20.10.2024 06:20 [12:34:09]1206 (1) - 0 [12:34:09]OFD Sender: Remove packet 24865 [12:34:09]ProducePacketName [12:34:09]name=ofd_packets/00024865 [12:34:09]NVStorageDeleteData [12:34:09]Write to MH i2c: 01 00 00 E9 07 F0 [12:34:09]Write i2c OK [12:34:09]MH_I2C_Read... [12:34:09]Read from MH i2c: 01 [12:34:09]MH_I2C_Read... [12:34:09]Read from MH i2c: 01 07 00 [12:34:09]MH_I2C_Read... [12:34:09]Read from MH i2c: 01 07 00 E9 07 00 00 00 00 00 D1 0C D4 [12:34:09]RasterBufferAndPrint [12:34:09]line [12:34:09]line [12:34:09]line [12:34:09]line [12:34:09]line [12:34:09]written 0, free lines is 3287 [12:34:09]process_action close_receipt done [12:34:09]requested_data is exist [12:34:09]produce_requested_data [12:34:09]requested_item fm.sn is exist - process it [12:34:09]wFMCommunicate request_size=4 [12:34:09]MH_SAM_APDU [12:34:09]CAPDU: 80 11 00 00 [12:34:09]Write to MH i2c: E2 08 00 F0 07 80 11 00 00 00 00 00 00 71 [12:34:09]Write i2c OK [12:34:09]MH_I2C_Read... [12:34:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:34:09]Read from MH i2c: E2 [12:34:09]MH_I2C_Read... [12:34:09]Read from MH i2c: E2 17 00 [12:34:09]MH_I2C_Read... [12:34:09]Read from MH i2c: E2 17 00 F0 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 C8 [12:34:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [12:34:09]wFMCommunicate OK [12:34:09]requested_item fd.num is exist - process it [12:34:09]SAM_PROTO_GetFieldsCounters [12:34:09]wFMCommunicate request_size=4 [12:34:09]MH_SAM_APDU [12:34:09]CAPDU: 80 13 00 00 [12:34:09]Write to MH i2c: E2 08 00 F1 07 80 13 00 00 00 00 00 00 74 [12:34:09]Write i2c OK [12:34:09]MH_I2C_Read... [12:34:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:34:09]Read from MH i2c: E2 [12:34:09]MH_I2C_Read... [12:34:09]Read from MH i2c: E2 62 00 [12:34:09]MH_I2C_Read... [12:34:09]Read from MH i2c: E2 62 00 F1 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 21 61 00 00 0E 04 04 00 C7 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 2C [12:34: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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 21 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:34:09]wFMCommunicate OK [12:34:09]SAM_PROTO_GetFieldsCounters done [12:34:09]requested_item shift.num is exist - process it [12:34:09]requested_item shift.opened is exist - process it [12:34:09]req_shift_opened [12:34:09]FM_GetShiftState [12:34:09]SAM_PROTO_GetShiftState [12:34:09]wFMCommunicate request_size=4 [12:34:09]MH_SAM_APDU [12:34:09]CAPDU: 80 13 01 00 [12:34:09]Write to MH i2c: E2 08 00 F2 07 80 13 01 00 00 00 00 00 76 [12:34:09]Write i2c OK [12:34:09]MH_I2C_Read... [12:34:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:34:09]Read from MH i2c: E2 [12:34:09]MH_I2C_Read... [12:34:09]Read from MH i2c: E2 0E 00 [12:34:09]MH_I2C_Read... [12:34:09]Read from MH i2c: E2 0E 00 F2 07 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 BC [12:34:09]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [12:34:09]wFMCommunicate OK [12:34:09]SAM_PROTO_GetShiftState done [12:34:09]FM_GetShiftState done [12:34:09]req_shift_opened done [12:34:09]requested_item shift.open_date is exist - process it [12:34:09]req_shift_open_date [12:34:09]req_shift_open_date done [12:34:09]produce_requested_data done [12:34:09]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24865,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [12:34:09]process_action_free close_receipt [12:34:09]json_value_free [12:34:09]json_value_free done [12:34:09]process_json_proto returns [12:34:09]Send response to host [12:34:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24865,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [12:34:09]free response buf [12:34:09]execute_script done [12:34:09]execute_script returns [12:34:09]free content buf [12:34:09]Sock 9.Close socket [12:34:09]Sock 9.Thread stoped [12:34:09]OFD Sender: No OFD packet to send [12:34:14]OFD Sender: No OFD packet to send [12:34:19]OFD Sender: No OFD packet to send [12:34:24]OFD Sender: No OFD packet to send [12:34:29]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:52]accept exits with 7 [12:39:52]New connection [12:39:52]New thread 3067166052 created [12:39:52]Thread 3067309412 joined [12:39:52]Waiting for new connection... [12:39:52] Sock 7.Parse request [12:39:52]Sock 7.Check first char [12:39:52]Sock 7.First char is OK [12:39:52]request: POST /json_proto HTTP/1.0 [12:39:52]Method: POST [12:39:52]URL: /json_proto [12:39:52]Method is POST - this is cgi request [12:39:52]url: /json_proto [12:39:52]query_string will be loaded in cgi processing [12:39:52]execute_cgi json_proto POST (null) [12:39:52]execute_cgi path=json_proto method=POST [12:39:52]POST find Content-Length [12:39:52]Host: 172.17.53.196:8080 [12:39:52]Content-Length: 669 [12:39:52]Content-Type: application/json [12:39:52] [12:39:52]POST finish read [12:39:52]Found Content-Length = 669 [12:39:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34626", "tax_sys" : 0, "items" : [ { "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \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" ] } } [12:39:52]execute_script... [12:39: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)34626", "tax_sys" : 0, "items" : [ { "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \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" ] } } [12:39:52]POST & json_proto [12:39:52]process_json_proto [12:39:52]json parsed OK: [12:39:52]protocol is kg_v1.0 [12:39:52]action value=close_receipt [12:39:52]process_action close_receipt [12:39:52]cmd_close_receipt [12:39:52]MH_GetDate [12:39:52]Write to MH i2c: F0 00 00 F3 07 E9 [12:39:52]Write i2c OK [12:39:52]MH_I2C_Read... [12:39:52]Read from MH i2c: F0 [12:39:52]MH_I2C_Read... [12:39:52]Read from MH i2c: F0 09 00 [12:39:52]MH_I2C_Read... [12:39:52]Read from MH i2c: F0 09 00 F3 07 00 1A FA 14 67 4F CD 9A 65 9C [12:39:52]GetLastDocTimeStamp 1729427649 [12:39:52]current date 1729427994 [12:39:52]FM_GetShiftState [12:39:52]SAM_PROTO_GetShiftState [12:39:52]wFMCommunicate request_size=4 [12:39:52]MH_SAM_APDU [12:39:52]CAPDU: 80 13 01 00 [12:39:52]Write to MH i2c: E2 08 00 F4 07 80 13 01 00 00 00 00 00 78 [12:39:52]Write i2c OK [12:39:52]MH_I2C_Read... [12:39:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:39:52]Read from MH i2c: E2 [12:39:52]MH_I2C_Read... [12:39:52]Read from MH i2c: E2 0E 00 [12:39:52]MH_I2C_Read... [12:39:52]Read from MH i2c: E2 0E 00 F4 07 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 BE [12:39:52]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [12:39:52]wFMCommunicate OK [12:39:52]SAM_PROTO_GetShiftState done [12:39:52]FM_GetShiftState done [12:39:52]opened in 1729384049 [12:39:52]opened+sec_in_day 1729470449 [12:39:52]quantity*price = 9500 [12:39:52]sum+1 = 9501 [12:39:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 24 20.10.2024 12:39 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24866 ФПД: 93094556051383 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123954&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24866&fm=93094556051383&tin=02508201610067®Number=0000000000098147&sum=9500 0 [12:39:53]StoreToDocumentArchive [12:39:53]shift 455 fd 24866 [12:39:53]save to /storage/0455/doc_00024866 [12:39:53]save last doc name /storage/0455/doc_00024866 to /storage/kkm_last_doc_name [12:39:53]save OK [12:39:53]Clear old archive folders... [12:39:53]ProcessDocumentItem done err = 0, tmpTLVsize=293 [12:39:53]tlvbuf is 00DE4F90 [12:39:53]SAM_PROTO_ClearQueue [12:39:53]wFMCommunicate request_size=4 [12:39:53]MH_SAM_APDU [12:39:53]CAPDU: 80 09 00 00 [12:39:53]Write to MH i2c: E2 08 00 01 08 80 09 00 00 00 00 00 00 7B [12:39:53]Write i2c OK [12:39:53]MH_I2C_Read... [12:39:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:39:53]Read from MH i2c: E2 [12:39:53]MH_I2C_Read... [12:39:53]Read from MH i2c: E2 03 00 [12:39:53]MH_I2C_Read... [12:39:53]Read from MH i2c: E2 03 00 01 08 00 90 00 7D [12:39:53]RAPDU: 90 00 [12:39:53]wFMCommunicate OK [12:39:53]SAM_PROTO_ClearQueue done [12:39:53]KKMCreateOFDPacket [12:39:53]OFDProtocolAddRootSTLVToBuf [12:39:53]FM_MakeSignedData [12:39:53]FM_MakeSignedData [12:39:53]SAM_PROTO_SignData [12:39:53]wFMCommunicate request_size=4 [12:39:53]MH_SAM_APDU [12:39:53]CAPDU: 80 0D 01 02 [12:39:53]Write to MH i2c: E2 08 00 02 08 80 0D 01 02 00 00 00 00 83 [12:39:53]Write i2c OK [12:39:53]MH_I2C_Read... [12:39:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:39:53]Read from MH i2c: E2 [12:39:53]MH_I2C_Read... [12:39:53]Read from MH i2c: E2 03 00 [12:39:53]MH_I2C_Read... [12:39:53]Read from MH i2c: E2 03 00 02 08 00 90 00 7E [12:39:53]RAPDU: 90 00 [12:39:53]wFMCommunicate OK [12:39:53]wFMCommunicate request_size=255 [12:39:53]MH_SAM_APDU [12:39:53]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 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 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 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 18 00 00 00 F4 03 04 00 1A FA 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [12:39:53]Write to MH i2c: E2 02 01 03 08 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 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 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 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 18 00 00 00 F4 03 04 00 1A FA 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 EA [12:39:53]Write i2c OK [12:39:53]MH_I2C_Read... [12:39:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:39:53]Read from MH i2c: E2 [12:39:53]MH_I2C_Read... [12:39:53]Read from MH i2c: E2 03 00 [12:39:53]MH_I2C_Read... [12:39:53]Read from MH i2c: E2 03 00 03 08 00 90 00 7F [12:39:53]RAPDU: 90 00 [12:39:53]wFMCommunicate OK [12:39:53]wFMCommunicate request_size=52 [12:39:53]MH_SAM_APDU [12:39:53]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 22 61 00 00 35 04 06 00 54 AB 43 F1 A7 B7 [12:39:53]Write to MH i2c: E2 37 00 04 08 80 0D 02 02 2F 00 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 22 61 00 00 35 04 06 00 54 AB 43 F1 A7 B7 00 00 65 [12:39:53]Write i2c OK [12:39:53]MH_I2C_Read... [12:39:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:39:53]Read from MH i2c: E2 [12:39:53]MH_I2C_Read... [12:39:53]Read from MH i2c: E2 03 00 [12:39:53]MH_I2C_Read... [12:39:53]Read from MH i2c: E2 03 00 04 08 00 90 00 80 [12:39:53]RAPDU: 90 00 [12:39:53]wFMCommunicate OK [12:39:53]wFMCommunicate request_size=4 [12:39:53]MH_SAM_APDU [12:39:53]CAPDU: 80 0D 03 02 [12:39:53]Write to MH i2c: E2 08 00 05 08 80 0D 03 02 00 00 00 00 88 [12:39:53]Write i2c OK [12:39:53]MH_I2C_Read... [12:39:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:39:53]Read from MH i2c: E2 [12:39:53]MH_I2C_Read... [12:39:53]Read from MH i2c: E2 0B 00 [12:39:53]MH_I2C_Read... [12:39:53]Read from MH i2c: E2 0B 00 05 08 00 66 14 43 08 57 B9 40 9B 90 00 39 [12:39:53]RAPDU: 66 14 43 08 57 B9 40 9B 90 00 [12:39:53]wFMCommunicate OK [12:39:53]SAM_PROTO_SignData done [12:39:53]FM_MakeSignedData done [12:39:53]CreateOFDProtocolMessage [12:39:53]wFMCommunicate request_size=4 [12:39:53]MH_SAM_APDU [12:39:53]CAPDU: 80 11 00 00 [12:39:53]Write to MH i2c: E2 08 00 06 08 80 11 00 00 00 00 00 00 88 [12:39:53]Write i2c OK [12:39:53]MH_I2C_Read... [12:39:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:39:53]Read from MH i2c: E2 [12:39:53]MH_I2C_Read... [12:39:53]Read from MH i2c: E2 17 00 [12:39:53]MH_I2C_Read... [12:39:53]Read from MH i2c: E2 17 00 06 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 DF [12:39:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [12:39:53]wFMCommunicate OK [12:39:53]CreateOFDProtocolMessage done [12:39:53]OFDSenderStorePacket 24866 [12:39:53]StoreOFDPacket docnum=24866 [12:39:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 39 01 00 00 BA 4E 31 01 29 76 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 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 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 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 18 00 00 00 F4 03 04 00 1A FA 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 22 61 00 00 35 04 06 00 54 AB 43 F1 A7 B7 66 14 43 08 57 B9 40 9B [12:39:53]CheckFolder [12:39:53]dirname=/storage/ofd_packets [12:39:53]CheckFolder done [12:39:53]ProducePacketName [12:39:53]name=ofd_packets/00024866 [12:39:53]NVStorageSaveData ofd_packets/00024866 [12:39:53]File name is /storage/ofd_packets/00024866 [12:39:53]Write 343 bytes [12:39:53]NVStorageSaveData done [12:39:53]OFDSenderStorePacket done [12:39:53]KKMCreateOFDPacket done [12:39:53]NVStorageSaveData kkm_last_timestamp [12:39:53]File name is /storage/kkm_last_timestamp [12:39:53]Write 4 bytes [12:39:53]NVStorageSaveData done [12:39:53]ExternCall_PrintAddStr [12:39:53]wPrintStart [12:39:53]Write to MH i2c: 01 00 00 07 08 0F [12:39:53]Write i2c OK [12:39:53]MH_I2C_Read... [12:39:53]Read from MH i2c: 01 [12:39:53]MH_I2C_Read... [12:39:53]Read from MH i2c: 01 07 00 [12:39:53]MH_I2C_Read... [12:39:53]Read from MH i2c: 01 07 00 07 08 00 00 00 00 00 FF 0F 24 [12:39:53]RasterBufferAndPrint [12:39:53]line Счет N : (3)34626 [12:39:53]line ИНН: 02508201610067 [12:39:53]line Контрольно-Кассовый Чек [12:39:53]line ПРОДАЖА [12:39:53]line Товар: 4700003010056 [12:39:53]line Чай хол Let`s Go! зел лим ПЭТ 1,25л [12:39:53]line 1.000 * 95.00 [12:39:53]line = 95.00 [12:39:53]line НДС 12% НСП 1% [12:39:53]line > о реализуемом товаре [12:39:53]line ИТОГО: 95.00 [12:39:53]line НСП 1% : 0.84 [12:39:53]line НДС 12% : 10.09 [12:39:53]line Наличными: 95.00 [12:39:53]line Безнал.: 0.00 [12:39:53]line Место: АЗС № 161 "Партнер Нефть" [12:39:53]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [12:39:53]line СНО: Общий режим [12:39:53]line Чек 24 20.10.2024 12:39 [12:39:53]line Смена: 455 ФФД: 1.0 [12:39:53]line ЗНМ: 0300000240 [12:39:53]line РНМ: 0000000000098147 [12:39:53]line Версия ККМ: 001 [12:39:53]line ФМ: 0000000000965376 [12:39:53]line ФД: 24866 [12:39:53]line ФПД: 93094556051383 [12:39:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123954&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24866&fm=93094556051383&tin=02508201610067®Number=0000000000098147&sum=9500 [12:39:54]line 0 [12:39:54]OFD Sender: Processing packet 24866 [packets to send 5, broken 4] [12:39:54]ProducePacketName [12:39:54]name=ofd_packets/00024866 [12:39:54]OFD Sender: To server: pG, [12:39:54]CommunicateWithHost lk.salyk.kg:30040 [12:39:54]ConnectInit lk.salyk.kg [12:39:54]written 0, free lines is 4095 [12:39:54]Connected sock=10 [12:39:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 39 01 00 00 BA 4E 31 01 29 76 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 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 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 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 18 00 00 00 F4 03 04 00 1A FA 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 22 61 00 00 35 04 06 00 54 AB 43 F1 A7 B7 66 14 43 08 57 B9 40 9B [12:39:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 10 3A 47 00 7B A4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 22 61 00 00 F4 03 04 00 9B A2 14 67 B6 04 01 00 00 5C ED E0 CD 49 92 74 0A [12:39:54]CommunicateWithHost err = 0 [12:39:54]CheckOFDResponse [12:39:54]1017 (14) - 77093643461234 [12:39:54]1041 (16) - 0000000000965376 [12:39:54]1040 (4) - 24866 [12:39:54]1012 (4) - 20.10.2024 06:26 [12:39:54]1206 (1) - 0 [12:39:54]OFD Sender: Remove packet 24866 [12:39:54]ProducePacketName [12:39:54]name=ofd_packets/00024866 [12:39:54]NVStorageDeleteData [12:39:54]Write to MH i2c: 01 00 00 30 08 38 [12:39:54]Write i2c OK [12:39:54]MH_I2C_Read... [12:39:54]Read from MH i2c: 01 [12:39:54]MH_I2C_Read... [12:39:54]Read from MH i2c: 01 07 00 [12:39:54]MH_I2C_Read... [12:39:54]Read from MH i2c: 01 07 00 30 08 00 00 00 00 00 C9 0C 14 [12:39:54]RasterBufferAndPrint [12:39:54]line [12:39:54]line [12:39:54]line [12:39:54]line [12:39:54]line [12:39:54]written 0, free lines is 3280 [12:39:54]process_action close_receipt done [12:39:54]requested_data is exist [12:39:54]produce_requested_data [12:39:54]requested_item fm.sn is exist - process it [12:39:54]wFMCommunicate request_size=4 [12:39:54]MH_SAM_APDU [12:39:54]CAPDU: 80 11 00 00 [12:39:54]Write to MH i2c: E2 08 00 37 08 80 11 00 00 00 00 00 00 B9 [12:39:54]Write i2c OK [12:39:54]MH_I2C_Read... [12:39:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:39:54]Read from MH i2c: E2 [12:39:54]MH_I2C_Read... [12:39:54]Read from MH i2c: E2 17 00 [12:39:54]MH_I2C_Read... [12:39:54]Read from MH i2c: E2 17 00 37 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 10 [12:39:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [12:39:54]wFMCommunicate OK [12:39:54]requested_item fd.num is exist - process it [12:39:54]SAM_PROTO_GetFieldsCounters [12:39:54]wFMCommunicate request_size=4 [12:39:54]MH_SAM_APDU [12:39:54]CAPDU: 80 13 00 00 [12:39:54]Write to MH i2c: E2 08 00 38 08 80 13 00 00 00 00 00 00 BC [12:39:54]Write i2c OK [12:39:54]MH_I2C_Read... [12:39:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:39:54]Read from MH i2c: E2 [12:39:54]MH_I2C_Read... [12:39:54]Read from MH i2c: E2 62 00 [12:39:54]MH_I2C_Read... [12:39:54]Read from MH i2c: E2 62 00 38 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 22 61 00 00 0E 04 04 00 C7 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 78 [12:39: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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 22 61 00 00 0E 04 04 00 C7 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 [12:39:54]wFMCommunicate OK [12:39:54]SAM_PROTO_GetFieldsCounters done [12:39:54]requested_item shift.num is exist - process it [12:39:54]requested_item shift.opened is exist - process it [12:39:54]req_shift_opened [12:39:54]FM_GetShiftState [12:39:54]SAM_PROTO_GetShiftState [12:39:54]wFMCommunicate request_size=4 [12:39:54]MH_SAM_APDU [12:39:54]CAPDU: 80 13 01 00 [12:39:54]Write to MH i2c: E2 08 00 39 08 80 13 01 00 00 00 00 00 BE [12:39:54]Write i2c OK [12:39:54]MH_I2C_Read... [12:39:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:39:54]Read from MH i2c: E2 [12:39:54]MH_I2C_Read... [12:39:54]Read from MH i2c: E2 0E 00 [12:39:54]MH_I2C_Read... [12:39:54]Read from MH i2c: E2 0E 00 39 08 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 04 [12:39:54]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [12:39:54]wFMCommunicate OK [12:39:54]SAM_PROTO_GetShiftState done [12:39:54]FM_GetShiftState done [12:39:54]req_shift_opened done [12:39:54]requested_item shift.open_date is exist - process it [12:39:54]req_shift_open_date [12:39:54]req_shift_open_date done [12:39:54]produce_requested_data done [12:39:54]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24866,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [12:39:54]process_action_free close_receipt [12:39:54]json_value_free [12:39:54]json_value_free done [12:39:54]process_json_proto returns [12:39:54]Send response to host [12:39:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24866,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [12:39:54]free response buf [12:39:54]execute_script done [12:39:54]execute_script returns [12:39:54]free content buf [12:39:54]Sock 7.Close socket [12:39:54]Sock 7.Thread stoped [12:39:54]OFD Sender: No OFD packet to send [12:39:59]OFD Sender: No OFD packet to send [12:40:04]OFD Sender: No OFD packet to send [12:40:09]OFD Sender: No OFD packet to send [12:40:14]OFD Sender: No OFD packet to send [12:40:19]OFD Sender: No OFD packet to send [12:40:24]OFD Sender: No OFD packet to send [12:40:29]OFD Sender: No OFD packet to send [12:40:35]OFD Sender: No OFD packet to send [12:40:40]OFD Sender: No OFD packet to send [12:40:45]OFD Sender: No OFD packet to send [12:40:50]OFD Sender: No OFD packet to send [12:40:55]OFD Sender: No OFD packet to send [12:41:00]OFD Sender: No OFD packet to send [12:41:05]OFD Sender: No OFD packet to send [12:41:10]OFD Sender: No OFD packet to send [12:41:15]OFD Sender: No OFD packet to send [12:41:20]OFD Sender: No OFD packet to send [12:41:25]OFD Sender: No OFD packet to send [12:41:30]OFD Sender: No OFD packet to send [12:41:35]OFD Sender: No OFD packet to send [12:41:40]OFD Sender: No OFD packet to send [12:41:45]OFD Sender: No OFD packet to send [12:41:50]OFD Sender: No OFD packet to send [12:41:55]OFD Sender: No OFD packet to send [12:42:00]OFD Sender: No OFD packet to send [12:42:05]OFD Sender: No OFD packet to send [12:42:10]OFD Sender: No OFD packet to send [12:42:15]OFD Sender: No OFD packet to send [12:42:20]OFD Sender: No OFD packet to send [12:42:25]OFD Sender: No OFD packet to send [12:42:30]OFD Sender: No OFD packet to send [12:42:35]OFD Sender: No OFD packet to send [12:42:40]OFD Sender: No OFD packet to send [12:42:45]OFD Sender: No OFD packet to send [12:42:50]OFD Sender: No OFD packet to send [12:42:55]OFD Sender: No OFD packet to send [12:43:00]OFD Sender: No OFD packet to send [12:43:05]OFD Sender: No OFD packet to send [12:43:10]OFD Sender: No OFD packet to send [12:43:15]OFD Sender: No OFD packet to send [12:43:20]OFD Sender: No OFD packet to send [12:43:25]OFD Sender: No OFD packet to send [12:43:30]OFD Sender: No OFD packet to send [12:43:35]OFD Sender: No OFD packet to send [12:43:40]OFD Sender: No OFD packet to send [12:43:45]OFD Sender: No OFD packet to send [12:43:50]OFD Sender: No OFD packet to send [12:43:55]OFD Sender: No OFD packet to send [12:44:00]OFD Sender: No OFD packet to send [12:44:05]OFD Sender: No OFD packet to send [12:44:10]OFD Sender: No OFD packet to send [12:44:15]OFD Sender: No OFD packet to send [12:44:20]OFD Sender: No OFD packet to send [12:44:25]OFD Sender: No OFD packet to send [12:44:30]OFD Sender: No OFD packet to send [12:44:35]OFD Sender: No OFD packet to send [12:44:40]OFD Sender: No OFD packet to send [12:44:45]OFD Sender: No OFD packet to send [12:44:50]OFD Sender: No OFD packet to send [12:44:55]OFD Sender: No OFD packet to send [12:45:00]OFD Sender: No OFD packet to send [12:45:05]OFD Sender: No OFD packet to send [12:45:10]OFD Sender: No OFD packet to send [12:45:15]OFD Sender: No OFD packet to send [12:45:20]OFD Sender: No OFD packet to send [12:45:25]OFD Sender: No OFD packet to send [12:45:30]OFD Sender: No OFD packet to send [12:45:35]OFD Sender: No OFD packet to send [12:45:40]OFD Sender: No OFD packet to send [12:45:45]OFD Sender: No OFD packet to send [12:45:50]OFD Sender: No OFD packet to send [12:45:55]OFD Sender: No OFD packet to send [12:46:00]OFD Sender: No OFD packet to send [12:46:05]OFD Sender: No OFD packet to send [12:46:10]OFD Sender: No OFD packet to send [12:46:15]OFD Sender: No OFD packet to send [12:46:20]OFD Sender: No OFD packet to send [12:46:25]OFD Sender: No OFD packet to send [12:46:30]OFD Sender: No OFD packet to send [12:46:35]OFD Sender: No OFD packet to send [12:46:40]OFD Sender: No OFD packet to send [12:46:45]OFD Sender: No OFD packet to send [12:46:50]OFD Sender: No OFD packet to send [12:46:55]OFD Sender: No OFD packet to send [12:47:00]OFD Sender: No OFD packet to send [12:47:05]OFD Sender: No OFD packet to send [12:47:10]OFD Sender: No OFD packet to send [12:47:15]OFD Sender: No OFD packet to send [12:47:20]OFD Sender: No OFD packet to send [12:47:25]OFD Sender: No OFD packet to send [12:47:30]OFD Sender: No OFD packet to send [12:47:35]OFD Sender: No OFD packet to send [12:47:40]OFD Sender: No OFD packet to send [12:47:45]OFD Sender: No OFD packet to send [12:47:50]OFD Sender: No OFD packet to send [12:47:55]OFD Sender: No OFD packet to send [12:48:00]OFD Sender: No OFD packet to send [12:48:05]OFD Sender: No OFD packet to send [12:48:10]OFD Sender: No OFD packet to send [12:48:15]OFD Sender: No OFD packet to send [12:48:20]OFD Sender: No OFD packet to send [12:48:25]OFD Sender: No OFD packet to send [12:48:30]OFD Sender: No OFD packet to send [12:48:35]OFD Sender: No OFD packet to send [12:48:40]OFD Sender: No OFD packet to send [12:48:45]OFD Sender: No OFD packet to send [12:48:50]OFD Sender: No OFD packet to send [12:48:55]OFD Sender: No OFD packet to send [12:49:00]OFD Sender: No OFD packet to send [12:49:05]OFD Sender: No OFD packet to send [12:49:10]OFD Sender: No OFD packet to send [12:49:15]OFD Sender: No OFD packet to send [12:49:20]OFD Sender: No OFD packet to send [12:49:25]OFD Sender: No OFD packet to send [12:49:30]OFD Sender: No OFD packet to send [12:49:35]OFD Sender: No OFD packet to send [12:49:40]OFD Sender: No OFD packet to send [12:49:45]OFD Sender: No OFD packet to send [12:49:50]OFD Sender: No OFD packet to send [12:49:55]OFD Sender: No OFD packet to send [12:50:00]OFD Sender: No OFD packet to send [12:50:05]OFD Sender: No OFD packet to send [12:50:10]OFD Sender: No OFD packet to send [12:50:15]OFD Sender: No OFD packet to send [12:50:20]OFD Sender: No OFD packet to send [12:50:25]OFD Sender: No OFD packet to send [12:50:30]OFD Sender: No OFD packet to send [12:50:35]OFD Sender: No OFD packet to send [12:50:40]OFD Sender: No OFD packet to send [12:50:45]OFD Sender: No OFD packet to send [12:50:50]OFD Sender: No OFD packet to send [12:50:55]OFD Sender: No OFD packet to send [12:51:00]OFD Sender: No OFD packet to send [12:51:05]OFD Sender: No OFD packet to send [12:51:10]OFD Sender: No OFD packet to send [12:51:15]OFD Sender: No OFD packet to send [12:51:20]OFD Sender: No OFD packet to send [12:51:25]OFD Sender: No OFD packet to send [12:51:30]OFD Sender: No OFD packet to send [12:51:35]OFD Sender: No OFD packet to send [12:51:40]OFD Sender: No OFD packet to send [12:51:45]OFD Sender: No OFD packet to send [12:51:50]OFD Sender: No OFD packet to send [12:51:55]OFD Sender: No OFD packet to send [12:52:00]OFD Sender: No OFD packet to send [12:52:05]OFD Sender: No OFD packet to send [12:52:10]OFD Sender: No OFD packet to send [12:52:13]accept exits with 9 [12:52:13]New connection [12:52:13]New thread 3067309412 created [12:52:13]Thread 3067166052 joined [12:52:13]Waiting for new connection... [12:52:13] Sock 9.Parse request [12:52:13]Sock 9.Check first char [12:52:13]Sock 9.First char is OK [12:52:13]request: POST /json_proto HTTP/1.0 [12:52:13]Method: POST [12:52:13]URL: /json_proto [12:52:13]Method is POST - this is cgi request [12:52:13]url: /json_proto [12:52:13]query_string will be loaded in cgi processing [12:52:13]execute_cgi json_proto POST (null) [12:52:13]execute_cgi path=json_proto method=POST [12:52:13]POST find Content-Length [12:52:13]Host: 172.17.53.196:8080 [12:52:13]Content-Length: 621 [12:52:13]Content-Type: application/json [12:52:13] [12:52:13]POST finish read [12:52:13]Found Content-Length = 621 [12:52:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34627", "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" ] } } [12:52:13]execute_script... [12:52:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34627", "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" ] } } [12:52:13]POST & json_proto [12:52:13]process_json_proto [12:52:13]json parsed OK: [12:52:13]protocol is kg_v1.0 [12:52:13]action value=close_receipt [12:52:13]process_action close_receipt [12:52:13]cmd_close_receipt [12:52:13]MH_GetDate [12:52:13]Write to MH i2c: F0 00 00 3A 08 31 [12:52:13]Write i2c OK [12:52:13]MH_I2C_Read... [12:52:13]Read from MH i2c: F0 [12:52:13]MH_I2C_Read... [12:52:13]Read from MH i2c: F0 09 00 [12:52:13]MH_I2C_Read... [12:52:13]Read from MH i2c: F0 09 00 3A 08 00 00 FD 14 67 4F CD 9A 65 CD [12:52:13]GetLastDocTimeStamp 1729427994 [12:52:13]current date 1729428736 [12:52:13]FM_GetShiftState [12:52:13]SAM_PROTO_GetShiftState [12:52:13]wFMCommunicate request_size=4 [12:52:13]MH_SAM_APDU [12:52:13]CAPDU: 80 13 01 00 [12:52:13]Write to MH i2c: E2 08 00 3B 08 80 13 01 00 00 00 00 00 C0 [12:52:13]Write i2c OK [12:52:13]MH_I2C_Read... [12:52:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:52:13]Read from MH i2c: E2 [12:52:13]MH_I2C_Read... [12:52:13]Read from MH i2c: E2 0E 00 [12:52:13]MH_I2C_Read... [12:52:13]Read from MH i2c: E2 0E 00 3B 08 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 06 [12:52:13]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [12:52:13]wFMCommunicate OK [12:52:13]SAM_PROTO_GetShiftState done [12:52:13]FM_GetShiftState done [12:52:13]opened in 1729384049 [12:52:13]opened+sec_in_day 1729470449 [12:52:13]quantity*price = 16000 [12:52:13]sum+1 = 16001 [12:52:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.42 НДС 12% : 16.99 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 25 20.10.2024 12:52 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24867 ФПД: 136787225722059 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T125216&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24867&fm=136787225722059&tin=02508201610067®Number=0000000000098147&sum=16000 0 [12:52:14]StoreToDocumentArchive [12:52:14]shift 455 fd 24867 [12:52:14]save to /storage/0455/doc_00024867 [12:52:14]save last doc name /storage/0455/doc_00024867 to /storage/kkm_last_doc_name [12:52:14]save OK [12:52:14]Clear old archive folders... [12:52:14]ProcessDocumentItem done err = 0, tmpTLVsize=274 [12:52:14]tlvbuf is 00DE4E50 [12:52:14]SAM_PROTO_ClearQueue [12:52:14]wFMCommunicate request_size=4 [12:52:14]MH_SAM_APDU [12:52:14]CAPDU: 80 09 00 00 [12:52:14]Write to MH i2c: E2 08 00 48 08 80 09 00 00 00 00 00 00 C2 [12:52:14]Write i2c OK [12:52:14]MH_I2C_Read... [12:52:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:52:14]Read from MH i2c: E2 [12:52:14]MH_I2C_Read... [12:52:14]Read from MH i2c: E2 03 00 [12:52:14]MH_I2C_Read... [12:52:14]Read from MH i2c: E2 03 00 48 08 00 90 00 C4 [12:52:14]RAPDU: 90 00 [12:52:14]wFMCommunicate OK [12:52:14]SAM_PROTO_ClearQueue done [12:52:14]KKMCreateOFDPacket [12:52:14]OFDProtocolAddRootSTLVToBuf [12:52:14]FM_MakeSignedData [12:52:14]FM_MakeSignedData [12:52:14]SAM_PROTO_SignData [12:52:14]wFMCommunicate request_size=4 [12:52:14]MH_SAM_APDU [12:52:14]CAPDU: 80 0D 01 02 [12:52:14]Write to MH i2c: E2 08 00 49 08 80 0D 01 02 00 00 00 00 CA [12:52:14]Write i2c OK [12:52:14]MH_I2C_Read... [12:52:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:52:14]Read from MH i2c: E2 [12:52:14]MH_I2C_Read... [12:52:14]Read from MH i2c: E2 03 00 [12:52:14]MH_I2C_Read... [12:52:14]Read from MH i2c: E2 03 00 49 08 00 90 00 C5 [12:52:14]RAPDU: 90 00 [12:52:14]wFMCommunicate OK [12:52:14]wFMCommunicate request_size=255 [12:52:14]MH_SAM_APDU [12:52:14]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 00 FD 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 [12:52:14]Write to MH i2c: E2 02 01 4A 08 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 19 00 00 00 F4 03 04 00 00 FD 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 00 00 78 [12:52:14]Write i2c OK [12:52:14]MH_I2C_Read... [12:52:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:52:14]Read from MH i2c: E2 [12:52:14]MH_I2C_Read... [12:52:14]Read from MH i2c: E2 03 00 [12:52:14]MH_I2C_Read... [12:52:14]Read from MH i2c: E2 03 00 4A 08 00 90 00 C6 [12:52:14]RAPDU: 90 00 [12:52:14]wFMCommunicate OK [12:52:14]wFMCommunicate request_size=33 [12:52:14]MH_SAM_APDU [12:52:14]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 33 37 36 10 04 04 00 23 61 00 00 35 04 06 00 7C 68 41 FF BC CB [12:52:14]Write to MH i2c: E2 24 00 4B 08 80 0D 02 02 1C 00 30 30 30 30 39 36 35 33 37 36 10 04 04 00 23 61 00 00 35 04 06 00 7C 68 41 FF BC CB 00 00 8F [12:52:14]Write i2c OK [12:52:14]MH_I2C_Read... [12:52:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:52:14]Read from MH i2c: E2 [12:52:14]MH_I2C_Read... [12:52:14]Read from MH i2c: E2 03 00 [12:52:14]MH_I2C_Read... [12:52:14]Read from MH i2c: E2 03 00 4B 08 00 90 00 C7 [12:52:14]RAPDU: 90 00 [12:52:14]wFMCommunicate OK [12:52:14]wFMCommunicate request_size=4 [12:52:14]MH_SAM_APDU [12:52:14]CAPDU: 80 0D 03 02 [12:52:14]Write to MH i2c: E2 08 00 4C 08 80 0D 03 02 00 00 00 00 CF [12:52:14]Write i2c OK [12:52:14]MH_I2C_Read... [12:52:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:52:14]Read from MH i2c: E2 [12:52:14]MH_I2C_Read... [12:52:14]Read from MH i2c: E2 0B 00 [12:52:14]MH_I2C_Read... [12:52:14]Read from MH i2c: E2 0B 00 4C 08 00 D8 08 91 0B 33 CE 09 5E 90 00 B4 [12:52:14]RAPDU: D8 08 91 0B 33 CE 09 5E 90 00 [12:52:14]wFMCommunicate OK [12:52:14]SAM_PROTO_SignData done [12:52:14]FM_MakeSignedData done [12:52:14]CreateOFDProtocolMessage [12:52:14]wFMCommunicate request_size=4 [12:52:14]MH_SAM_APDU [12:52:14]CAPDU: 80 11 00 00 [12:52:14]Write to MH i2c: E2 08 00 4D 08 80 11 00 00 00 00 00 00 CF [12:52:14]Write i2c OK [12:52:14]MH_I2C_Read... [12:52:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:52:14]Read from MH i2c: E2 [12:52:14]MH_I2C_Read... [12:52:14]Read from MH i2c: E2 17 00 [12:52:14]MH_I2C_Read... [12:52:14]Read from MH i2c: E2 17 00 4D 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 26 [12:52:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [12:52:14]wFMCommunicate OK [12:52:14]CreateOFDProtocolMessage done [12:52:14]OFDSenderStorePacket 24867 [12:52:14]StoreOFDPacket docnum=24867 [12:52:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 26 01 00 00 A0 C5 1E 01 8B 17 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 19 00 00 00 F4 03 04 00 00 FD 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 23 61 00 00 35 04 06 00 7C 68 41 FF BC CB D8 08 91 0B 33 CE 09 5E [12:52:14]CheckFolder [12:52:14]dirname=/storage/ofd_packets [12:52:14]CheckFolder done [12:52:14]ProducePacketName [12:52:14]name=ofd_packets/00024867 [12:52:14]NVStorageSaveData ofd_packets/00024867 [12:52:14]File name is /storage/ofd_packets/00024867 [12:52:14]Write 324 bytes [12:52:14]NVStorageSaveData done [12:52:14]OFDSenderStorePacket done [12:52:14]KKMCreateOFDPacket done [12:52:14]NVStorageSaveData kkm_last_timestamp [12:52:14]File name is /storage/kkm_last_timestamp [12:52:14]Write 4 bytes [12:52:14]NVStorageSaveData done [12:52:14]ExternCall_PrintAddStr [12:52:14]wPrintStart [12:52:14]Write to MH i2c: 01 00 00 4E 08 56 [12:52:14]Write i2c OK [12:52:14]MH_I2C_Read... [12:52:14]Read from MH i2c: 01 [12:52:14]MH_I2C_Read... [12:52:14]Read from MH i2c: 01 07 00 [12:52:14]MH_I2C_Read... [12:52:14]Read from MH i2c: 01 07 00 4E 08 00 00 00 00 00 FF 0F 6B [12:52:14]RasterBufferAndPrint [12:52:14]line Счет N : (3)34627 [12:52:14]line ИНН: 02508201610067 [12:52:14]line Контрольно-Кассовый Чек [12:52:14]line ПРОДАЖА [12:52:14]line Товар: 48741958 [12:52:14]line Сигареты Parliament Aqua Blue [12:52:14]line 1.000 * 160.00 [12:52:14]line = 160.00 [12:52:14]line НДС 12% НСП 1% [12:52:14]line > о реализуемом товаре [12:52:14]line ИТОГО: 160.00 [12:52:14]line НСП 1% : 1.42 [12:52:14]line НДС 12% : 16.99 [12:52:14]line Наличными: 160.00 [12:52:14]line Безнал.: 0.00 [12:52:14]line Место: АЗС № 161 "Партнер Нефть" [12:52:14]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [12:52:14]line СНО: Общий режим [12:52:14]line Чек 25 20.10.2024 12:52 [12:52:14]line Смена: 455 ФФД: 1.0 [12:52:14]line ЗНМ: 0300000240 [12:52:14]line РНМ: 0000000000098147 [12:52:14]line Версия ККМ: 001 [12:52:14]line ФМ: 0000000000965376 [12:52:14]line ФД: 24867 [12:52:14]line ФПД: 136787225722059 [12:52:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T125216&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24867&fm=136787225722059&tin=02508201610067®Number=0000000000098147&sum=16000 [12:52:15]OFD Sender: Processing packet 24867 [packets to send 5, broken 4] [12:52:15]ProducePacketName [12:52:15]name=ofd_packets/00024867 [12:52:15]OFD Sender: To server: pG, [12:52:15]CommunicateWithHost lk.salyk.kg:30040 [12:52:15]ConnectInit lk.salyk.kg [12:52:15]line 0 [12:52:15]written 0, free lines is 4095 [12:52:15]Connected sock=10 [12:52:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 26 01 00 00 A0 C5 1E 01 8B 17 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 19 00 00 00 F4 03 04 00 00 FD 14 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 23 61 00 00 35 04 06 00 7C 68 41 FF BC CB D8 08 91 0B 33 CE 09 5E [12:52:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 43 7E 47 00 C0 D2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 23 61 00 00 F4 03 04 00 80 A5 14 67 B6 04 01 00 00 79 53 61 AE 26 E2 0A 4F [12:52:15]CommunicateWithHost err = 0 [12:52:15]CheckOFDResponse [12:52:15]1017 (14) - 77093643461234 [12:52:15]1041 (16) - 0000000000965376 [12:52:15]1040 (4) - 24867 [12:52:15]1012 (4) - 20.10.2024 06:38 [12:52:15]1206 (1) - 0 [12:52:15]OFD Sender: Remove packet 24867 [12:52:15]ProducePacketName [12:52:15]name=ofd_packets/00024867 [12:52:15]NVStorageDeleteData [12:52:15]Write to MH i2c: 01 00 00 77 08 7F [12:52:15]Write i2c OK [12:52:15]MH_I2C_Read... [12:52:15]Read from MH i2c: 01 [12:52:15]MH_I2C_Read... [12:52:15]Read from MH i2c: 01 07 00 [12:52:15]MH_I2C_Read... [12:52:15]Read from MH i2c: 01 07 00 77 08 00 00 00 00 00 CE 0C 60 [12:52:15]RasterBufferAndPrint [12:52:15]line [12:52:15]line [12:52:15]line [12:52:15]line [12:52:15]line [12:52:15]written 0, free lines is 3286 [12:52:15]process_action close_receipt done [12:52:15]requested_data is exist [12:52:15]produce_requested_data [12:52:15]requested_item fm.sn is exist - process it [12:52:15]wFMCommunicate request_size=4 [12:52:15]MH_SAM_APDU [12:52:15]CAPDU: 80 11 00 00 [12:52:15]Write to MH i2c: E2 08 00 7E 08 80 11 00 00 00 00 00 00 00 [12:52:15]Write i2c OK [12:52:15]MH_I2C_Read... [12:52:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:52:15]Read from MH i2c: E2 [12:52:15]MH_I2C_Read... [12:52:15]Read from MH i2c: E2 17 00 [12:52:15]MH_I2C_Read... [12:52:15]Read from MH i2c: E2 17 00 7E 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 57 [12:52:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [12:52:15]wFMCommunicate OK [12:52:15]requested_item fd.num is exist - process it [12:52:15]SAM_PROTO_GetFieldsCounters [12:52:15]wFMCommunicate request_size=4 [12:52:15]MH_SAM_APDU [12:52:15]CAPDU: 80 13 00 00 [12:52:15]Write to MH i2c: E2 08 00 7F 08 80 13 00 00 00 00 00 00 03 [12:52:15]Write i2c OK [12:52:15]MH_I2C_Read... [12:52:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:52:15]Read from MH i2c: E2 [12:52:15]MH_I2C_Read... [12:52:15]Read from MH i2c: E2 62 00 [12:52:15]MH_I2C_Read... [12:52:15]Read from MH i2c: E2 62 00 7F 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 23 61 00 00 0E 04 04 00 C7 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 C3 [12:52:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 23 61 00 00 0E 04 04 00 C7 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:52:15]wFMCommunicate OK [12:52:15]SAM_PROTO_GetFieldsCounters done [12:52:15]requested_item shift.num is exist - process it [12:52:15]requested_item shift.opened is exist - process it [12:52:15]req_shift_opened [12:52:15]FM_GetShiftState [12:52:15]SAM_PROTO_GetShiftState [12:52:15]wFMCommunicate request_size=4 [12:52:15]MH_SAM_APDU [12:52:15]CAPDU: 80 13 01 00 [12:52:15]Write to MH i2c: E2 08 00 80 08 80 13 01 00 00 00 00 00 05 [12:52:15]Write i2c OK [12:52:15]MH_I2C_Read... [12:52:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:52:15]Read from MH i2c: E2 [12:52:15]MH_I2C_Read... [12:52:15]Read from MH i2c: E2 0E 00 [12:52:15]MH_I2C_Read... [12:52:15]Read from MH i2c: E2 0E 00 80 08 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 4B [12:52:15]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [12:52:15]wFMCommunicate OK [12:52:15]SAM_PROTO_GetShiftState done [12:52:15]FM_GetShiftState done [12:52:15]req_shift_opened done [12:52:15]requested_item shift.open_date is exist - process it [12:52:15]req_shift_open_date [12:52:15]req_shift_open_date done [12:52:15]produce_requested_data done [12:52:15]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24867,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [12:52:15]process_action_free close_receipt [12:52:15]json_value_free [12:52:15]json_value_free done [12:52:15]process_json_proto returns [12:52:15]Send response to host [12:52:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24867,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [12:52:15]free response buf [12:52:15]execute_script done [12:52:15]execute_script returns [12:52:15]free content buf [12:52:15]Sock 9.Close socket [12:52:15]Sock 9.Thread stoped [12:52:16]OFD Sender: No OFD packet to send [12:52:21]OFD Sender: No OFD packet to send [12:52:26]OFD Sender: No OFD packet to send [12:52:31]OFD Sender: No OFD packet to send [12:52:36]OFD Sender: No OFD packet to send [12:52:41]OFD Sender: No OFD packet to send [12:52:46]OFD Sender: No OFD packet to send [12:52:51]OFD Sender: No OFD packet to send [12:52:56]OFD Sender: No OFD packet to send [12:53:01]OFD Sender: No OFD packet to send [12:53:06]OFD Sender: No OFD packet to send [12:53:11]OFD Sender: No OFD packet to send [12:53:16]OFD Sender: No OFD packet to send [12:53:21]OFD Sender: No OFD packet to send [12:53:26]OFD Sender: No OFD packet to send [12:53:31]OFD Sender: No OFD packet to send [12:53:36]OFD Sender: No OFD packet to send [12:53:41]OFD Sender: No OFD packet to send [12:53:46]OFD Sender: No OFD packet to send [12:53:51]OFD Sender: No OFD packet to send [12:53:56]OFD Sender: No OFD packet to send [12:54:01]OFD Sender: No OFD packet to send [12:54:06]OFD Sender: No OFD packet to send [12:54:11]OFD Sender: No OFD packet to send [12:54:16]OFD Sender: No OFD packet to send [12:54:21]OFD Sender: No OFD packet to send [12:54:26]OFD Sender: No OFD packet to send [12:54:31]OFD Sender: No OFD packet to send [12:54:36]OFD Sender: No OFD packet to send [12:54:41]OFD Sender: No OFD packet to send [12:54:46]OFD Sender: No OFD packet to send [12:54:51]OFD Sender: No OFD packet to send [12:54:56]OFD Sender: No OFD packet to send [12:55:01]OFD Sender: No OFD packet to send [12:55:06]OFD Sender: No OFD packet to send [12:55:11]OFD Sender: No OFD packet to send [12:55:16]OFD Sender: No OFD packet to send [12:55:21]OFD Sender: No OFD packet to send [12:55:26]OFD Sender: No OFD packet to send [12:55:31]OFD Sender: No OFD packet to send [12:55:36]OFD Sender: No OFD packet to send [12:55:41]OFD Sender: No OFD packet to send [12:55:46]OFD Sender: No OFD packet to send [12:55:51]OFD Sender: No OFD packet to send [12:55:56]OFD Sender: No OFD packet to send [12:56:01]OFD Sender: No OFD packet to send [12:56:06]OFD Sender: No OFD packet to send [12:56:11]OFD Sender: No OFD packet to send [12:56:16]OFD Sender: No OFD packet to send [12:56:21]OFD Sender: No OFD packet to send [12:56:26]OFD Sender: No OFD packet to send [12:56:31]OFD Sender: No OFD packet to send [12:56:36]OFD Sender: No OFD packet to send [12:56:41]OFD Sender: No OFD packet to send [12:56:46]OFD Sender: No OFD packet to send [12:56:51]OFD Sender: No OFD packet to send [12:56:56]OFD Sender: No OFD packet to send [12:57:01]OFD Sender: No OFD packet to send [12:57:06]OFD Sender: No OFD packet to send [12:57:11]OFD Sender: No OFD packet to send [12:57:16]OFD Sender: No OFD packet to send [12:57:21]OFD Sender: No OFD packet to send [12:57:26]OFD Sender: No OFD packet to send [12:57:31]OFD Sender: No OFD packet to send [12:57:36]OFD Sender: No OFD packet to send [12:57:41]OFD Sender: No OFD packet to send [12:57:46]OFD Sender: No OFD packet to send [12:57:51]OFD Sender: No OFD packet to send [12:57:56]OFD Sender: No OFD packet to send [12:58:01]OFD Sender: No OFD packet to send [12:58:06]OFD Sender: No OFD packet to send [12:58:11]OFD Sender: No OFD packet to send [12:58:16]OFD Sender: No OFD packet to send [12:58:21]OFD Sender: No OFD packet to send [12:58:26]OFD Sender: No OFD packet to send [12:58:31]OFD Sender: No OFD packet to send [12:58:36]OFD Sender: No OFD packet to send [12:58:41]OFD Sender: No OFD packet to send [12:58:46]OFD Sender: No OFD packet to send [12:58:51]OFD Sender: No OFD packet to send [12:58:56]OFD Sender: No OFD packet to send [12:59:01]OFD Sender: No OFD packet to send [12:59:06]OFD Sender: No OFD packet to send [12:59:11]OFD Sender: No OFD packet to send [12:59:16]OFD Sender: No OFD packet to send [12:59:21]OFD Sender: No OFD packet to send [12:59:26]OFD Sender: No OFD packet to send [12:59:31]OFD Sender: No OFD packet to send [12:59:36]OFD Sender: No OFD packet to send [12:59:41]OFD Sender: No OFD packet to send [12:59:46]OFD Sender: No OFD packet to send [12:59:51]OFD Sender: No OFD packet to send [12:59:56]OFD Sender: No OFD packet to send [13:00:01]OFD Sender: No OFD packet to send [13:00:06]OFD Sender: No OFD packet to send [13:00:11]OFD Sender: No OFD packet to send [13:00:16]OFD Sender: No OFD packet to send [13:00:21]OFD Sender: No OFD packet to send [13:00:26]OFD Sender: No OFD packet to send [13:00:31]OFD Sender: No OFD packet to send [13:00:36]OFD Sender: No OFD packet to send [13:00:41]OFD Sender: No OFD packet to send [13:00:46]OFD Sender: No OFD packet to send [13:00:51]OFD Sender: No OFD packet to send [13:00:56]OFD Sender: No OFD packet to send [13:01:01]OFD Sender: No OFD packet to send [13:01:06]OFD Sender: No OFD packet to send [13:01:11]OFD Sender: No OFD packet to send [13:01:16]OFD Sender: No OFD packet to send [13:01:21]OFD Sender: No OFD packet to send [13:01:26]OFD Sender: No OFD packet to send [13:01:31]OFD Sender: No OFD packet to send [13:01:36]OFD Sender: No OFD packet to send [13:01:41]OFD Sender: No OFD packet to send [13:01:46]OFD Sender: No OFD packet to send [13:01:51]OFD Sender: No OFD packet to send [13:01:56]OFD Sender: No OFD packet to send [13:02:01]OFD Sender: No OFD packet to send [13:02:06]OFD Sender: No OFD packet to send [13:02:11]OFD Sender: No OFD packet to send [13:02:16]OFD Sender: No OFD packet to send [13:02:21]OFD Sender: No OFD packet to send [13:02:26]OFD Sender: No OFD packet to send [13:02:31]OFD Sender: No OFD packet to send [13:02:36]OFD Sender: No OFD packet to send [13:02:41]OFD Sender: No OFD packet to send [13:02:46]OFD Sender: No OFD packet to send [13:02:51]OFD Sender: No OFD packet to send [13:02:56]OFD Sender: No OFD packet to send [13:03:01]OFD Sender: No OFD packet to send [13:03:06]OFD Sender: No OFD packet to send [13:03:11]OFD Sender: No OFD packet to send [13:03:16]OFD Sender: No OFD packet to send [13:03:21]OFD Sender: No OFD packet to send [13:03:26]OFD Sender: No OFD packet to send [13:03:31]OFD Sender: No OFD packet to send [13:03:36]OFD Sender: No OFD packet to send [13:03:41]OFD Sender: No OFD packet to send [13:03:46]OFD Sender: No OFD packet to send [13:03:51]OFD Sender: No OFD packet to send [13:03:56]OFD Sender: No OFD packet to send [13:04:01]OFD Sender: No OFD packet to send [13:04:06]OFD Sender: No OFD packet to send [13:04:11]OFD Sender: No OFD packet to send [13:04:16]OFD Sender: No OFD packet to send [13:04:21]OFD Sender: No OFD packet to send [13:04:26]OFD Sender: No OFD packet to send [13:04:31]OFD Sender: No OFD packet to send [13:04:36]OFD Sender: No OFD packet to send [13:04:41]OFD Sender: No OFD packet to send [13:04:46]OFD Sender: No OFD packet to send [13:04:51]OFD Sender: No OFD packet to send [13:04:56]OFD Sender: No OFD packet to send [13:05:01]OFD Sender: No OFD packet to send [13:05:06]OFD Sender: No OFD packet to send [13:05:11]OFD Sender: No OFD packet to send [13:05:16]OFD Sender: No OFD packet to send [13:05:21]OFD Sender: No OFD packet to send [13:05:26]OFD Sender: No OFD packet to send [13:05:31]OFD Sender: No OFD packet to send [13:05:36]OFD Sender: No OFD packet to send [13:05:41]OFD Sender: No OFD packet to send [13:05:46]OFD Sender: No OFD packet to send [13:05:51]OFD Sender: No OFD packet to send [13:05:56]OFD Sender: No OFD packet to send [13:06:01]OFD Sender: No OFD packet to send [13:06:06]OFD Sender: No OFD packet to send [13:06:11]OFD Sender: No OFD packet to send [13:06:16]OFD Sender: No OFD packet to send [13:06:21]OFD Sender: No OFD packet to send [13:06:26]OFD Sender: No OFD packet to send [13:06:31]OFD Sender: No OFD packet to send [13:06:36]OFD Sender: No OFD packet to send [13:06:41]OFD Sender: No OFD packet to send [13:06:46]OFD Sender: No OFD packet to send [13:06:51]OFD Sender: No OFD packet to send [13:06:56]OFD Sender: No OFD packet to send [13:07:01]OFD Sender: No OFD packet to send [13:07:06]OFD Sender: No OFD packet to send [13:07:11]OFD Sender: No OFD packet to send [13:07:16]OFD Sender: No OFD packet to send [13:07:21]OFD Sender: No OFD packet to send [13:07:26]OFD Sender: No OFD packet to send [13:07:31]OFD Sender: No OFD packet to send [13:07:36]OFD Sender: No OFD packet to send [13:07:41]OFD Sender: No OFD packet to send [13:07:46]OFD Sender: No OFD packet to send [13:07:51]OFD Sender: No OFD packet to send [13:07:56]OFD Sender: No OFD packet to send [13:08:01]OFD Sender: No OFD packet to send [13:08:06]OFD Sender: No OFD packet to send [13:08:11]OFD Sender: No OFD packet to send [13:08:16]OFD Sender: No OFD packet to send [13:08:21]OFD Sender: No OFD packet to send [13:08:26]OFD Sender: No OFD packet to send [13:08:31]OFD Sender: No OFD packet to send [13:08:36]OFD Sender: No OFD packet to send [13:08:41]OFD Sender: No OFD packet to send [13:08:46]OFD Sender: No OFD packet to send [13:08:51]OFD Sender: No OFD packet to send [13:08:56]OFD Sender: No OFD packet to send [13:09:01]OFD Sender: No OFD packet to send [13:09:05]accept exits with 7 [13:09:05]New connection [13:09:05]New thread 3067166052 created [13:09:05]Thread 3067309412 joined [13:09:05]Waiting for new connection... [13:09:05] Sock 7.Parse request [13:09:05]Sock 7.Check first char [13:09:05]Sock 7.First char is OK [13:09:05]request: POST /json_proto HTTP/1.0 [13:09:05]Method: POST [13:09:05]URL: /json_proto [13:09:05]Method is POST - this is cgi request [13:09:05]url: /json_proto [13:09:05]query_string will be loaded in cgi processing [13:09:05]execute_cgi json_proto POST (null) [13:09:05]execute_cgi path=json_proto method=POST [13:09:05]POST find Content-Length [13:09:05]Host: 172.17.53.196:8080 [13:09:05]Content-Length: 1108 [13:09:05]Content-Type: application/json [13:09:05] [13:09:05]POST finish read [13:09:05]Found Content-Length = 1108 [13:09:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34628", "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 }]} ,{ "code": "4700003010476", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u044F\u0431\u043B\u043E\u043A\u043E \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" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:09:05]execute_script... [13:09: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)34628", "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 }]} ,{ "code": "4700003010476", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u044F\u0431\u043B\u043E\u043A\u043E \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" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:09:05]POST & json_proto [13:09:05]process_json_proto [13:09:05]json parsed OK: [13:09:05]protocol is kg_v1.0 [13:09:05]action value=close_receipt [13:09:05]process_action close_receipt [13:09:05]cmd_close_receipt [13:09:05]MH_GetDate [13:09:05]Write to MH i2c: F0 00 00 81 08 78 [13:09:05]Write i2c OK [13:09:05]MH_I2C_Read... [13:09:05]Read from MH i2c: F0 [13:09:05]MH_I2C_Read... [13:09:05]Read from MH i2c: F0 09 00 [13:09:05]MH_I2C_Read... [13:09:05]Read from MH i2c: F0 09 00 81 08 00 F4 00 15 67 4F CD 9A 65 0C [13:09:05]GetLastDocTimeStamp 1729428736 [13:09:05]current date 1729429748 [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 82 08 80 13 01 00 00 00 00 00 07 [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 82 08 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 4D [13:09:05]RAPDU: 09 00 01 71 4E 14 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]opened in 1729384049 [13:09:05]opened+sec_in_day 1729470449 [13:09:05]quantity*price = 8000 [13:09:05]sum+1 = 8001 [13:09:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700003010476 Напиток Let`s Go! с/с яблоко ПЭТ 1л 1.000 * 80.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.42 НДС 12% : 17.00 Наличными: 0.00 Безнал.: 160.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 26 20.10.2024 13:09 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965376 ФД: 24868 ФПД: 10701999642281 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T130908&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24868&fm=10701999642281&tin=02508201610067®Number=0000000000098147&sum=16000 0 [13:09:06]StoreToDocumentArchive [13:09:06]shift 455 fd 24868 [13:09:06]save to /storage/0455/doc_00024868 [13:09:06]save last doc name /storage/0455/doc_00024868 to /storage/kkm_last_doc_name [13:09:06]save OK [13:09:06]Clear old archive folders... [13:09:06]ProcessDocumentItem done err = 0, tmpTLVsize=420 [13:09:06]tlvbuf is 00DFAC00 [13:09:06]SAM_PROTO_ClearQueue [13:09:06]wFMCommunicate request_size=4 [13:09:06]MH_SAM_APDU [13:09:06]CAPDU: 80 09 00 00 [13:09:06]Write to MH i2c: E2 08 00 8F 08 80 09 00 00 00 00 00 00 09 [13:09:06]Write i2c OK [13:09:06]MH_I2C_Read... [13:09:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:09:06]Read from MH i2c: E2 [13:09:06]MH_I2C_Read... [13:09:06]Read from MH i2c: E2 03 00 [13:09:06]MH_I2C_Read... [13:09:06]Read from MH i2c: E2 03 00 8F 08 00 90 00 0B [13:09:06]RAPDU: 90 00 [13:09:06]wFMCommunicate OK [13:09:06]SAM_PROTO_ClearQueue done [13:09:06]KKMCreateOFDPacket [13:09:06]OFDProtocolAddRootSTLVToBuf [13:09:06]FM_MakeSignedData [13:09:06]FM_MakeSignedData [13:09:06]SAM_PROTO_SignData [13:09:06]wFMCommunicate request_size=4 [13:09:06]MH_SAM_APDU [13:09:06]CAPDU: 80 0D 01 02 [13:09:06]Write to MH i2c: E2 08 00 90 08 80 0D 01 02 00 00 00 00 11 [13:09:06]Write i2c OK [13:09:06]MH_I2C_Read... [13:09:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:09:06]Read from MH i2c: E2 [13:09:06]MH_I2C_Read... [13:09:06]Read from MH i2c: E2 03 00 [13:09:06]MH_I2C_Read... [13:09:06]Read from MH i2c: E2 03 00 90 08 00 90 00 0C [13:09:06]RAPDU: 90 00 [13:09:06]wFMCommunicate OK [13:09:06]wFMCommunicate request_size=255 [13:09:06]MH_SAM_APDU [13:09:06]CAPDU: 80 0D 02 02 FA 03 00 A4 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 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 37 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 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 [13:09:06]Write to MH i2c: E2 02 01 91 08 80 0D 02 02 FA 00 03 00 A4 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 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 37 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 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 00 00 94 [13:09:06]Write i2c OK [13:09:06]MH_I2C_Read... [13:09:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:09:06]Read from MH i2c: E2 [13:09:06]MH_I2C_Read... [13:09:06]Read from MH i2c: E2 03 00 [13:09:06]MH_I2C_Read... [13:09:06]Read from MH i2c: E2 03 00 91 08 00 90 00 0D [13:09:06]RAPDU: 90 00 [13:09:06]wFMCommunicate OK [13:09:06]wFMCommunicate request_size=179 [13:09:06]MH_SAM_APDU [13:09:06]CAPDU: 80 0D 02 02 AE 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 A4 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 1A 00 00 00 F4 03 04 00 F4 00 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 24 61 00 00 35 04 06 00 09 BB C0 E3 16 A9 [13:09:06]Write to MH i2c: E2 B6 00 92 08 80 0D 02 02 AE 00 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 A4 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 1A 00 00 00 F4 03 04 00 F4 00 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 24 61 00 00 35 04 06 00 09 BB C0 E3 16 A9 00 00 32 [13:09:06]Write i2c OK [13:09:06]MH_I2C_Read... [13:09:06]OFD Sender: No OFD packet to send [13:09:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:09:06]Read from MH i2c: E2 [13:09:06]MH_I2C_Read... [13:09:06]Read from MH i2c: E2 03 00 [13:09:06]MH_I2C_Read... [13:09:06]Read from MH i2c: E2 03 00 92 08 00 90 00 0E [13:09:06]RAPDU: 90 00 [13:09:06]wFMCommunicate OK [13:09:06]wFMCommunicate request_size=4 [13:09:06]MH_SAM_APDU [13:09:06]CAPDU: 80 0D 03 02 [13:09:06]Write to MH i2c: E2 08 00 93 08 80 0D 03 02 00 00 00 00 16 [13:09:06]Write i2c OK [13:09:06]MH_I2C_Read... [13:09:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:09:07]Read from MH i2c: E2 [13:09:07]MH_I2C_Read... [13:09:07]Read from MH i2c: E2 0B 00 [13:09:07]MH_I2C_Read... [13:09:07]Read from MH i2c: E2 0B 00 93 08 00 B2 10 6A 54 6E EF 16 5C 90 00 66 [13:09:07]RAPDU: B2 10 6A 54 6E EF 16 5C 90 00 [13:09:07]wFMCommunicate OK [13:09:07]SAM_PROTO_SignData done [13:09:07]FM_MakeSignedData done [13:09:07]CreateOFDProtocolMessage [13:09:07]wFMCommunicate request_size=4 [13:09:07]MH_SAM_APDU [13:09:07]CAPDU: 80 11 00 00 [13:09:07]Write to MH i2c: E2 08 00 94 08 80 11 00 00 00 00 00 00 16 [13:09:07]Write i2c OK [13:09:07]MH_I2C_Read... [13:09:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:09:07]Read from MH i2c: E2 [13:09:07]MH_I2C_Read... [13:09:07]Read from MH i2c: E2 17 00 [13:09:07]MH_I2C_Read... [13:09:07]Read from MH i2c: E2 17 00 94 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 6D [13:09:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [13:09:07]wFMCommunicate OK [13:09:07]CreateOFDProtocolMessage done [13:09:07]OFDSenderStorePacket 24868 [13:09:07]StoreOFDPacket docnum=24868 [13:09:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 B8 01 00 00 F7 63 B0 01 1C BC 5A 03 01 00 03 00 A4 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 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 37 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 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 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 A4 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 1A 00 00 00 F4 03 04 00 F4 00 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 24 61 00 00 35 04 06 00 09 BB C0 E3 16 A9 B2 10 6A 54 6E EF 16 5C [13:09:07]CheckFolder [13:09:07]dirname=/storage/ofd_packets [13:09:07]CheckFolder done [13:09:07]ProducePacketName [13:09:07]name=ofd_packets/00024868 [13:09:07]NVStorageSaveData ofd_packets/00024868 [13:09:07]File name is /storage/ofd_packets/00024868 [13:09:07]Write 470 bytes [13:09:07]NVStorageSaveData done [13:09:07]OFDSenderStorePacket done [13:09:07]KKMCreateOFDPacket done [13:09:07]NVStorageSaveData kkm_last_timestamp [13:09:07]File name is /storage/kkm_last_timestamp [13:09:07]Write 4 bytes [13:09:07]NVStorageSaveData done [13:09:07]ExternCall_PrintAddStr [13:09:07]wPrintStart [13:09:07]Write to MH i2c: 01 00 00 95 08 9D [13:09:07]OFD Sender: Processing packet 24868 [packets to send 5, broken 4] [13:09:07]ProducePacketName [13:09:07]name=ofd_packets/00024868 [13:09:07]OFD Sender: To server: pG, [13:09:07]CommunicateWithHost lk.salyk.kg:30040 [13:09:07]ConnectInit lk.salyk.kg [13:09:07]Write i2c OK [13:09:07]MH_I2C_Read... [13:09:07]Read from MH i2c: 01 [13:09:07]MH_I2C_Read... [13:09:07]Read from MH i2c: 01 07 00 [13:09:07]MH_I2C_Read... [13:09:07]Read from MH i2c: 01 07 00 95 08 00 00 00 00 00 FF 0F B2 [13:09:07]RasterBufferAndPrint [13:09:07]line Счет N : (3)34628 [13:09:07]line ИНН: 02508201610067 [13:09:07]line Контрольно-Кассовый Чек [13:09:07]line ПРОДАЖА [13:09:07]line Товар: 4700003010353 [13:09:07]line Напиток Let`s Go! с/с груша ПЭТ 1л [13:09:07]line 1.000 * 80.00 [13:09:07]line = 80.00 [13:09:07]line НДС 12% НСП 1% [13:09:07]line > о реализуемом товаре [13:09:07]line Товар: 4700003010476 [13:09:07]line Напиток Let`s Go! с/с яблоко ПЭТ 1л [13:09:07]line 1.000 * 80.00 [13:09:07]line = 80.00 [13:09:07]line НДС 12% НСП 1% [13:09:07]line > о реализуемом товаре [13:09:07]line ИТОГО: 160.00 [13:09:07]line НСП 1% : 1.42 [13:09:07]line НДС 12% : 17.00 [13:09:07]line Наличными: 0.00 [13:09:07]line Безнал.: 160.00 [13:09:07]line Место: АЗС № 161 "Партнер Нефть" [13:09:07]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [13:09:07]line СНО: Общий режим [13:09:07]line Чек 26 20.10.2024 13:09 [13:09:07]line Смена: 455 ФФД: 1.0 [13:09:07]line ЗНМ: 0300000240 [13:09:07]line РНМ: 0000000000098147 [13:09:07]line Версия ККМ: 001 [13:09:07]line Платежная система: Mbank [13:09:07]line ФМ: 0000000000965376 [13:09:07]line ФД: 24868 [13:09:07]line ФПД: 10701999642281 [13:09:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T130908&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24868&fm=10701999642281&tin=02508201610067®Number=0000000000098147&sum=16000 [13:09:07]line 0 [13:09:07]written 0, free lines is 4095 [13:09:07]Connected sock=9 [13:09:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 B8 01 00 00 F7 63 B0 01 1C BC 5A 03 01 00 03 00 A4 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 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 37 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 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 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 A4 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 1A 00 00 00 F4 03 04 00 F4 00 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 24 61 00 00 35 04 06 00 09 BB C0 E3 16 A9 B2 10 6A 54 6E EF 16 5C [13:09:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 E0 5F 47 00 9A 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 33 37 36 10 04 04 00 24 61 00 00 F4 03 04 00 74 A9 14 67 B6 04 01 00 00 92 C5 57 A3 41 7C 01 70 [13:09:07]CommunicateWithHost err = 0 [13:09:07]CheckOFDResponse [13:09:07]1017 (14) - 77093643461234 [13:09:07]1041 (16) - 0000000000965376 [13:09:07]1040 (4) - 24868 [13:09:07]1012 (4) - 20.10.2024 06:55 [13:09:07]1206 (1) - 0 [13:09:07]OFD Sender: Remove packet 24868 [13:09:07]ProducePacketName [13:09:07]name=ofd_packets/00024868 [13:09:07]NVStorageDeleteData [13:09:07]Write to MH i2c: 01 00 00 C6 08 CE [13:09:07]Write i2c OK [13:09:07]MH_I2C_Read... [13:09:07]Read from MH i2c: 01 [13:09:07]MH_I2C_Read... [13:09:07]Read from MH i2c: 01 07 00 [13:09:07]MH_I2C_Read... [13:09:07]Read from MH i2c: 01 07 00 C6 08 00 00 00 00 00 48 0C 29 [13:09:07]RasterBufferAndPrint [13:09:07]line [13:09:07]line [13:09:07]line [13:09:07]line [13:09:07]line [13:09:07]written 0, free lines is 3153 [13:09:07]process_action close_receipt done [13:09:07]requested_data is exist [13:09:07]produce_requested_data [13:09:07]requested_item fm.sn is exist - process it [13:09:07]wFMCommunicate request_size=4 [13:09:07]MH_SAM_APDU [13:09:07]CAPDU: 80 11 00 00 [13:09:07]Write to MH i2c: E2 08 00 CD 08 80 11 00 00 00 00 00 00 4F [13:09:07]Write i2c OK [13:09:07]MH_I2C_Read... [13:09:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:09:08]Read from MH i2c: E2 [13:09:08]MH_I2C_Read... [13:09:08]Read from MH i2c: E2 17 00 [13:09:08]MH_I2C_Read... [13:09:08]Read from MH i2c: E2 17 00 CD 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 A6 [13:09:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [13:09:08]wFMCommunicate OK [13:09:08]requested_item fd.num is exist - process it [13:09:08]SAM_PROTO_GetFieldsCounters [13:09:08]wFMCommunicate request_size=4 [13:09:08]MH_SAM_APDU [13:09:08]CAPDU: 80 13 00 00 [13:09:08]Write to MH i2c: E2 08 00 CE 08 80 13 00 00 00 00 00 00 52 [13:09:08]Write i2c OK [13:09:08]MH_I2C_Read... [13:09:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:09:08]Read from MH i2c: E2 [13:09:08]MH_I2C_Read... [13:09:08]Read from MH i2c: E2 62 00 [13:09:08]MH_I2C_Read... [13:09:08]Read from MH i2c: E2 62 00 CE 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 24 61 00 00 0E 04 04 00 C7 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 16 [13:09: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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 24 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:09:08]wFMCommunicate OK [13:09:08]SAM_PROTO_GetFieldsCounters done [13:09:08]requested_item shift.num is exist - process it [13:09:08]requested_item shift.opened is exist - process it [13:09:08]req_shift_opened [13:09:08]FM_GetShiftState [13:09:08]SAM_PROTO_GetShiftState [13:09:08]wFMCommunicate request_size=4 [13:09:08]MH_SAM_APDU [13:09:08]CAPDU: 80 13 01 00 [13:09:08]Write to MH i2c: E2 08 00 CF 08 80 13 01 00 00 00 00 00 54 [13:09:08]Write i2c OK [13:09:08]MH_I2C_Read... [13:09:08]OFD Sender: No OFD packet to send [13:09:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:09:08]Read from MH i2c: E2 [13:09:08]MH_I2C_Read... [13:09:08]Read from MH i2c: E2 0E 00 [13:09:08]MH_I2C_Read... [13:09:08]Read from MH i2c: E2 0E 00 CF 08 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 9A [13:09:08]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [13:09:08]wFMCommunicate OK [13:09:08]SAM_PROTO_GetShiftState done [13:09:08]FM_GetShiftState done [13:09:08]req_shift_opened done [13:09:08]requested_item shift.open_date is exist - process it [13:09:08]req_shift_open_date [13:09:08]req_shift_open_date done [13:09:08]produce_requested_data done [13:09:08]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24868,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [13:09:08]process_action_free close_receipt [13:09:08]json_value_free [13:09:08]json_value_free done [13:09:08]process_json_proto returns [13:09:08]Send response to host [13:09:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24868,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [13:09:08]free response buf [13:09:08]execute_script done [13:09:08]execute_script returns [13:09:08]free content buf [13:09:08]Sock 7.Close socket [13:09:08]Sock 7.Thread stoped [13:09:13]OFD Sender: No OFD packet to send [13:09:18]OFD Sender: No OFD packet to send [13:09:23]OFD Sender: No OFD packet to send [13:09:28]OFD Sender: No OFD packet to send [13:09:33]OFD Sender: No OFD packet to send [13:09:38]OFD Sender: No OFD packet to send [13:09:43]OFD Sender: No OFD packet to send [13:09:45]accept exits with 10 [13:09:45]New connection [13:09:45]New thread 3067309412 created [13:09:45]Thread 3067166052 joined [13:09:45]Waiting for new connection... [13:09:45] Sock 10.Parse request [13:09:45]Sock 10.Check first char [13:09:45]Sock 10.First char is OK [13:09:45]request: POST /json_proto HTTP/1.0 [13:09:45]Method: POST [13:09:45]URL: /json_proto [13:09:45]Method is POST - this is cgi request [13:09:45]url: /json_proto [13:09:45]query_string will be loaded in cgi processing [13:09:45]execute_cgi json_proto POST (null) [13:09:45]execute_cgi path=json_proto method=POST [13:09:45]POST find Content-Length [13:09:45]Host: 172.17.53.196:8080 [13:09:45]Content-Length: 758 [13:09:45]Content-Type: application/json [13:09:45] [13:09:45]POST finish read [13:09:45]Found Content-Length = 758 [13:09:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34629", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:09:45]execute_script... [13:09: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)34629", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:09:45]POST & json_proto [13:09:45]process_json_proto [13:09:45]json parsed OK: [13:09:45]protocol is kg_v1.0 [13:09:45]action value=close_receipt [13:09:45]process_action close_receipt [13:09:45]cmd_close_receipt [13:09:45]MH_GetDate [13:09:45]Write to MH i2c: F0 00 00 D0 08 C7 [13:09:45]Write i2c OK [13:09:45]MH_I2C_Read... [13:09:45]Read from MH i2c: F0 [13:09:45]MH_I2C_Read... [13:09:45]Read from MH i2c: F0 09 00 [13:09:45]MH_I2C_Read... [13:09:45]Read from MH i2c: F0 09 00 D0 08 00 1C 01 15 67 4F CD 9A 65 84 [13:09:45]GetLastDocTimeStamp 1729429748 [13:09:45]current date 1729429788 [13:09:45]FM_GetShiftState [13:09:45]SAM_PROTO_GetShiftState [13:09:45]wFMCommunicate request_size=4 [13:09:45]MH_SAM_APDU [13:09:45]CAPDU: 80 13 01 00 [13:09:45]Write to MH i2c: E2 08 00 D1 08 80 13 01 00 00 00 00 00 56 [13:09:45]Write i2c OK [13:09:45]MH_I2C_Read... [13:09:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:09:46]Read from MH i2c: E2 [13:09:46]MH_I2C_Read... [13:09:46]Read from MH i2c: E2 0E 00 [13:09:46]MH_I2C_Read... [13:09:46]Read from MH i2c: E2 0E 00 D1 08 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 9C [13:09:46]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [13:09:46]wFMCommunicate OK [13:09:46]SAM_PROTO_GetShiftState done [13:09:46]FM_GetShiftState done [13:09:46]opened in 1729384049 [13:09:46]opened+sec_in_day 1729470449 [13:09:46]quantity*price = 6000 [13:09:46]sum+1 = 6001 [13:09:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 0.00 Безнал.: 60.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 27 20.10.2024 13:09 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965376 ФД: 24869 ФПД: 110376740677298 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T130948&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24869&fm=110376740677298&tin=02508201610067®Number=0000000000098147&sum=6000 0 [13:09:47]StoreToDocumentArchive [13:09:47]shift 455 fd 24869 [13:09:47]save to /storage/0455/doc_00024869 [13:09:47]save last doc name /storage/0455/doc_00024869 to /storage/kkm_last_doc_name [13:09:47]save OK [13:09:47]Clear old archive folders... [13:09:47]ProcessDocumentItem done err = 0, tmpTLVsize=271 [13:09:47]tlvbuf is 00DD9100 [13:09:47]SAM_PROTO_ClearQueue [13:09:47]wFMCommunicate request_size=4 [13:09:47]MH_SAM_APDU [13:09:47]CAPDU: 80 09 00 00 [13:09:47]Write to MH i2c: E2 08 00 DE 08 80 09 00 00 00 00 00 00 58 [13:09:47]Write i2c OK [13:09:47]MH_I2C_Read... [13:09:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:09:47]Read from MH i2c: E2 [13:09:47]MH_I2C_Read... [13:09:47]Read from MH i2c: E2 03 00 [13:09:47]MH_I2C_Read... [13:09:47]Read from MH i2c: E2 03 00 DE 08 00 90 00 5A [13:09:47]RAPDU: 90 00 [13:09:47]wFMCommunicate OK [13:09:47]SAM_PROTO_ClearQueue done [13:09:47]KKMCreateOFDPacket [13:09:47]OFDProtocolAddRootSTLVToBuf [13:09:47]FM_MakeSignedData [13:09:47]FM_MakeSignedData [13:09:47]SAM_PROTO_SignData [13:09:47]wFMCommunicate request_size=4 [13:09:47]MH_SAM_APDU [13:09:47]CAPDU: 80 0D 01 02 [13:09:47]Write to MH i2c: E2 08 00 DF 08 80 0D 01 02 00 00 00 00 60 [13:09:47]Write i2c OK [13:09:47]MH_I2C_Read... [13:09:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:09:47]Read from MH i2c: E2 [13:09:47]MH_I2C_Read... [13:09:47]Read from MH i2c: E2 03 00 [13:09:47]MH_I2C_Read... [13:09:47]Read from MH i2c: E2 03 00 DF 08 00 90 00 5B [13:09:47]RAPDU: 90 00 [13:09:47]wFMCommunicate OK [13:09:47]wFMCommunicate request_size=255 [13:09:47]MH_SAM_APDU [13:09:47]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 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 1C 01 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 [13:09:47]Write to MH i2c: E2 02 01 E0 08 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 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 1C 01 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 0F [13:09:47]Write i2c OK [13:09:47]MH_I2C_Read... [13:09:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:09:47]Read from MH i2c: E2 [13:09:47]MH_I2C_Read... [13:09:47]Read from MH i2c: E2 03 00 [13:09:47]MH_I2C_Read... [13:09:47]Read from MH i2c: E2 03 00 E0 08 00 90 00 5C [13:09:47]RAPDU: 90 00 [13:09:47]wFMCommunicate OK [13:09:47]wFMCommunicate request_size=30 [13:09:47]MH_SAM_APDU [13:09:47]CAPDU: 80 0D 02 02 19 30 39 36 35 33 37 36 10 04 04 00 25 61 00 00 35 04 06 00 64 63 16 6B 66 B2 [13:09:47]Write to MH i2c: E2 21 00 E1 08 80 0D 02 02 19 00 30 39 36 35 33 37 36 10 04 04 00 25 61 00 00 35 04 06 00 64 63 16 6B 66 B2 00 00 46 [13:09:47]Write i2c OK [13:09:47]MH_I2C_Read... [13:09:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:09:47]Read from MH i2c: E2 [13:09:47]MH_I2C_Read... [13:09:47]Read from MH i2c: E2 03 00 [13:09:47]MH_I2C_Read... [13:09:47]Read from MH i2c: E2 03 00 E1 08 00 90 00 5D [13:09:47]RAPDU: 90 00 [13:09:47]wFMCommunicate OK [13:09:47]wFMCommunicate request_size=4 [13:09:47]MH_SAM_APDU [13:09:47]CAPDU: 80 0D 03 02 [13:09:47]Write to MH i2c: E2 08 00 E2 08 80 0D 03 02 00 00 00 00 65 [13:09:47]Write i2c OK [13:09:47]MH_I2C_Read... [13:09:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:09:47]Read from MH i2c: E2 [13:09:47]MH_I2C_Read... [13:09:47]Read from MH i2c: E2 0B 00 [13:09:47]MH_I2C_Read... [13:09:47]Read from MH i2c: E2 0B 00 E2 08 00 F1 19 7A 57 B8 14 15 1B 90 00 3D [13:09:47]RAPDU: F1 19 7A 57 B8 14 15 1B 90 00 [13:09:47]wFMCommunicate OK [13:09:47]SAM_PROTO_SignData done [13:09:47]FM_MakeSignedData done [13:09:47]CreateOFDProtocolMessage [13:09:47]wFMCommunicate request_size=4 [13:09:47]MH_SAM_APDU [13:09:47]CAPDU: 80 11 00 00 [13:09:47]Write to MH i2c: E2 08 00 E3 08 80 11 00 00 00 00 00 00 65 [13:09:47]Write i2c OK [13:09:47]MH_I2C_Read... [13:09:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:09:47]Read from MH i2c: E2 [13:09:47]MH_I2C_Read... [13:09:47]Read from MH i2c: E2 17 00 [13:09:47]MH_I2C_Read... [13:09:47]Read from MH i2c: E2 17 00 E3 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 BC [13:09:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [13:09:47]wFMCommunicate OK [13:09:47]CreateOFDProtocolMessage done [13:09:47]OFDSenderStorePacket 24869 [13:09:47]StoreOFDPacket docnum=24869 [13:09:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 23 01 00 00 43 32 1B 01 C6 50 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 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 1C 01 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 25 61 00 00 35 04 06 00 64 63 16 6B 66 B2 F1 19 7A 57 B8 14 15 1B [13:09:47]CheckFolder [13:09:47]dirname=/storage/ofd_packets [13:09:47]CheckFolder done [13:09:47]ProducePacketName [13:09:47]name=ofd_packets/00024869 [13:09:47]NVStorageSaveData ofd_packets/00024869 [13:09:47]File name is /storage/ofd_packets/00024869 [13:09:47]Write 321 bytes [13:09:47]NVStorageSaveData done [13:09:47]OFDSenderStorePacket done [13:09:47]KKMCreateOFDPacket done [13:09:47]NVStorageSaveData kkm_last_timestamp [13:09:47]File name is /storage/kkm_last_timestamp [13:09:47]Write 4 bytes [13:09:47]NVStorageSaveData done [13:09:47]ExternCall_PrintAddStr [13:09:47]wPrintStart [13:09:47]Write to MH i2c: 01 00 00 E4 08 EC [13:09:47]Write i2c OK [13:09:47]MH_I2C_Read... [13:09:47]Read from MH i2c: 01 [13:09:47]MH_I2C_Read... [13:09:47]Read from MH i2c: 01 07 00 [13:09:47]MH_I2C_Read... [13:09:47]Read from MH i2c: 01 07 00 E4 08 00 00 00 00 00 FF 0F 01 [13:09:47]RasterBufferAndPrint [13:09:47]line Счет N : (3)34629 [13:09:47]line ИНН: 02508201610067 [13:09:47]line Контрольно-Кассовый Чек [13:09:47]line ПРОДАЖА [13:09:47]line Товар: 4700000160204 [13:09:47]line Вода Легенда 1,5л [13:09:47]line 1.000 * 60.00 [13:09:47]line = 60.00 [13:09:47]line НДС 12% НСП 1% [13:09:47]line > о реализуемом товаре [13:09:47]line ИТОГО: 60.00 [13:09:47]line НСП 1% : 0.53 [13:09:47]line НДС 12% : 6.37 [13:09:47]line Наличными: 0.00 [13:09:47]line Безнал.: 60.00 [13:09:47]line Место: АЗС № 161 "Партнер Нефть" [13:09:47]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [13:09:47]line СНО: Общий режим [13:09:47]line Чек 27 20.10.2024 13:09 [13:09:47]line Смена: 455 ФФД: 1.0 [13:09:47]line ЗНМ: 0300000240 [13:09:47]line РНМ: 0000000000098147 [13:09:47]line Версия ККМ: 001 [13:09:47]line Платежная система: Mbank [13:09:47]line ФМ: 0000000000965376 [13:09:47]line ФД: 24869 [13:09:47]line ФПД: 110376740677298 [13:09:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T130948&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24869&fm=110376740677298&tin=02508201610067®Number=0000000000098147&sum=6000 [13:09:48]line 0 [13:09:48]OFD Sender: Processing packet 24869 [packets to send 5, broken 4] [13:09:48]ProducePacketName [13:09:48]name=ofd_packets/00024869 [13:09:48]OFD Sender: To server: pG, [13:09:48]CommunicateWithHost lk.salyk.kg:30040 [13:09:48]ConnectInit lk.salyk.kg [13:09:48]written 0, free lines is 4095 [13:09:48]Connected sock=9 [13:09:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 23 01 00 00 43 32 1B 01 C6 50 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 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 1C 01 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 25 61 00 00 35 04 06 00 64 63 16 6B 66 B2 F1 19 7A 57 B8 14 15 1B [13:09:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 6D 84 47 00 56 26 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 25 61 00 00 F4 03 04 00 9D A9 14 67 B6 04 01 00 00 64 D3 0A 6A D0 74 C4 56 [13:09:48]CommunicateWithHost err = 0 [13:09:48]CheckOFDResponse [13:09:48]1017 (14) - 77093643461234 [13:09:48]1041 (16) - 0000000000965376 [13:09:48]1040 (4) - 24869 [13:09:48]1012 (4) - 20.10.2024 06:56 [13:09:48]1206 (1) - 0 [13:09:48]OFD Sender: Remove packet 24869 [13:09:48]ProducePacketName [13:09:48]name=ofd_packets/00024869 [13:09:48]NVStorageDeleteData [13:09:48]Write to MH i2c: 01 00 00 0D 09 16 [13:09:48]Write i2c OK [13:09:48]MH_I2C_Read... [13:09:48]Read from MH i2c: 01 [13:09:48]MH_I2C_Read... [13:09:48]Read from MH i2c: 01 07 00 [13:09:48]MH_I2C_Read... [13:09:48]Read from MH i2c: 01 07 00 0D 09 00 00 00 00 00 DE 0C 07 [13:09:48]RasterBufferAndPrint [13:09:48]line [13:09:48]line [13:09:48]line [13:09:48]line [13:09:48]line [13:09:48]written 0, free lines is 3301 [13:09:48]process_action close_receipt done [13:09:48]requested_data is exist [13:09:48]produce_requested_data [13:09:48]requested_item fm.sn is exist - process it [13:09:48]wFMCommunicate request_size=4 [13:09:48]MH_SAM_APDU [13:09:48]CAPDU: 80 11 00 00 [13:09:48]Write to MH i2c: E2 08 00 14 09 80 11 00 00 00 00 00 00 97 [13:09:48]Write i2c OK [13:09:48]MH_I2C_Read... [13:09:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:09:48]Read from MH i2c: E2 [13:09:48]MH_I2C_Read... [13:09:48]Read from MH i2c: E2 17 00 [13:09:48]MH_I2C_Read... [13:09:48]Read from MH i2c: E2 17 00 14 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 EE [13:09:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [13:09:48]wFMCommunicate OK [13:09:48]requested_item fd.num is exist - process it [13:09:48]SAM_PROTO_GetFieldsCounters [13:09:48]wFMCommunicate request_size=4 [13:09:48]MH_SAM_APDU [13:09:48]CAPDU: 80 13 00 00 [13:09:48]Write to MH i2c: E2 08 00 15 09 80 13 00 00 00 00 00 00 9A [13:09:48]Write i2c OK [13:09:48]MH_I2C_Read... [13:09:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:09:48]Read from MH i2c: E2 [13:09:48]MH_I2C_Read... [13:09:48]Read from MH i2c: E2 62 00 [13:09:48]MH_I2C_Read... [13:09:48]Read from MH i2c: E2 62 00 15 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 25 61 00 00 0E 04 04 00 C7 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 62 [13:09:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 25 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:09:48]wFMCommunicate OK [13:09:48]SAM_PROTO_GetFieldsCounters done [13:09:48]requested_item shift.num is exist - process it [13:09:48]requested_item shift.opened is exist - process it [13:09:48]req_shift_opened [13:09:48]FM_GetShiftState [13:09:48]SAM_PROTO_GetShiftState [13:09:48]wFMCommunicate request_size=4 [13:09:48]MH_SAM_APDU [13:09:48]CAPDU: 80 13 01 00 [13:09:48]Write to MH i2c: E2 08 00 16 09 80 13 01 00 00 00 00 00 9C [13:09:48]Write i2c OK [13:09:48]MH_I2C_Read... [13:09:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:09:48]Read from MH i2c: E2 [13:09:48]MH_I2C_Read... [13:09:48]Read from MH i2c: E2 0E 00 [13:09:48]MH_I2C_Read... [13:09:48]Read from MH i2c: E2 0E 00 16 09 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 E2 [13:09:48]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [13:09:48]wFMCommunicate OK [13:09:48]SAM_PROTO_GetShiftState done [13:09:48]FM_GetShiftState done [13:09:48]req_shift_opened done [13:09:48]requested_item shift.open_date is exist - process it [13:09:48]req_shift_open_date [13:09:48]req_shift_open_date done [13:09:48]produce_requested_data done [13:09:48]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24869,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [13:09:48]process_action_free close_receipt [13:09:48]json_value_free [13:09:48]json_value_free done [13:09:48]process_json_proto returns [13:09:48]Send response to host [13:09:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24869,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [13:09:48]free response buf [13:09:48]execute_script done [13:09:48]execute_script returns [13:09:48]free content buf [13:09:48]Sock 10.Close socket [13:09:48]Sock 10.Thread stoped [13:09:48]OFD Sender: No OFD packet to send [13:09:53]OFD Sender: No OFD packet to send [13:09:58]OFD Sender: No OFD packet to send [13:10:03]OFD Sender: No OFD packet to send [13:10:08]OFD Sender: No OFD packet to send [13:10:13]OFD Sender: No OFD packet to send [13:10:18]OFD Sender: No OFD packet to send [13:10:23]OFD Sender: No OFD packet to send [13:10:28]OFD Sender: No OFD packet to send [13:10:33]OFD Sender: No OFD packet to send [13:10:38]OFD Sender: No OFD packet to send [13:10:43]OFD Sender: No OFD packet to send [13:10:48]OFD Sender: No OFD packet to send [13:10:53]OFD Sender: No OFD packet to send [13:10:58]OFD Sender: No OFD packet to send [13:11:03]OFD Sender: No OFD packet to send [13:11:08]OFD Sender: No OFD packet to send [13:11:13]OFD Sender: No OFD packet to send [13:11:18]OFD Sender: No OFD packet to send [13:11:23]OFD Sender: No OFD packet to send [13:11:28]OFD Sender: No OFD packet to send [13:11:33]OFD Sender: No OFD packet to send [13:11:38]OFD Sender: No OFD packet to send [13:11:43]OFD Sender: No OFD packet to send [13:11:48]OFD Sender: No OFD packet to send [13:11:53]OFD Sender: No OFD packet to send [13:11:58]OFD Sender: No OFD packet to send [13:12:03]OFD Sender: No OFD packet to send [13:12:08]OFD Sender: No OFD packet to send [13:12:13]OFD Sender: No OFD packet to send [13:12:18]OFD Sender: No OFD packet to send [13:12:23]OFD Sender: No OFD packet to send [13:12:28]OFD Sender: No OFD packet to send [13:12:33]OFD Sender: No OFD packet to send [13:12:38]OFD Sender: No OFD packet to send [13:12:43]OFD Sender: No OFD packet to send [13:12:48]OFD Sender: No OFD packet to send [13:12:53]OFD Sender: No OFD packet to send [13:12:58]OFD Sender: No OFD packet to send [13:13:03]OFD Sender: No OFD packet to send [13:13:08]OFD Sender: No OFD packet to send [13:13:13]OFD Sender: No OFD packet to send [13:13:19]OFD Sender: No OFD packet to send [13:13:24]OFD Sender: No OFD packet to send [13:13:29]OFD Sender: No OFD packet to send [13:13:34]OFD Sender: No OFD packet to send [13:13:39]OFD Sender: No OFD packet to send [13:13:44]OFD Sender: No OFD packet to send [13:13:49]OFD Sender: No OFD packet to send [13:13:54]OFD Sender: No OFD packet to send [13:13:59]OFD Sender: No OFD packet to send [13:14:04]OFD Sender: No OFD packet to send [13:14:09]OFD Sender: No OFD packet to send [13:14:14]OFD Sender: No OFD packet to send [13:14:19]OFD Sender: No OFD packet to send [13:14:24]OFD Sender: No OFD packet to send [13:14:29]OFD Sender: No OFD packet to send [13:14:34]OFD Sender: No OFD packet to send [13:14:39]OFD Sender: No OFD packet to send [13:14:44]OFD Sender: No OFD packet to send [13:14:49]OFD Sender: No OFD packet to send [13:14:54]OFD Sender: No OFD packet to send [13:14:59]OFD Sender: No OFD packet to send [13:15:04]OFD Sender: No OFD packet to send [13:15:09]OFD Sender: No OFD packet to send [13:15:14]OFD Sender: No OFD packet to send [13:15:19]OFD Sender: No OFD packet to send [13:15:24]OFD Sender: No OFD packet to send [13:15:29]OFD Sender: No OFD packet to send [13:15:34]OFD Sender: No OFD packet to send [13:15:39]OFD Sender: No OFD packet to send [13:15:44]OFD Sender: No OFD packet to send [13:15:49]OFD Sender: No OFD packet to send [13:15:54]OFD Sender: No OFD packet to send [13:15:59]OFD Sender: No OFD packet to send [13:16:04]OFD Sender: No OFD packet to send [13:16:09]OFD Sender: No OFD packet to send [13:16:14]OFD Sender: No OFD packet to send [13:16:19]OFD Sender: No OFD packet to send [13:16:24]OFD Sender: No OFD packet to send [13:16:29]OFD Sender: No OFD packet to send [13:16:34]OFD Sender: No OFD packet to send [13:16:39]OFD Sender: No OFD packet to send [13:16:44]OFD Sender: No OFD packet to send [13:16:49]OFD Sender: No OFD packet to send [13:16:54]OFD Sender: No OFD packet to send [13:16:59]OFD Sender: No OFD packet to send [13:17:04]OFD Sender: No OFD packet to send [13:17:09]OFD Sender: No OFD packet to send [13:17:14]OFD Sender: No OFD packet to send [13:17:19]OFD Sender: No OFD packet to send [13:17:24]OFD Sender: No OFD packet to send [13:17:29]OFD Sender: No OFD packet to send [13:17:34]OFD Sender: No OFD packet to send [13:17:39]OFD Sender: No OFD packet to send [13:17:44]OFD Sender: No OFD packet to send [13:17:49]OFD Sender: No OFD packet to send [13:17:54]OFD Sender: No OFD packet to send [13:17:59]OFD Sender: No OFD packet to send [13:18:04]OFD Sender: No OFD packet to send [13:18:09]OFD Sender: No OFD packet to send [13:18:14]OFD Sender: No OFD packet to send [13:18:19]OFD Sender: No OFD packet to send [13:18:24]OFD Sender: No OFD packet to send [13:18:29]OFD Sender: No OFD packet to send [13:18:34]OFD Sender: No OFD packet to send [13:18:39]OFD Sender: No OFD packet to send [13:18:44]OFD Sender: No OFD packet to send [13:18:49]OFD Sender: No OFD packet to send [13:18:54]OFD Sender: No OFD packet to send [13:18:59]OFD Sender: No OFD packet to send [13:19:04]OFD Sender: No OFD packet to send [13:19:09]OFD Sender: No OFD packet to send [13:19:14]OFD Sender: No OFD packet to send [13:19:19]OFD Sender: No OFD packet to send [13:19:24]OFD Sender: No OFD packet to send [13:19:29]OFD Sender: No OFD packet to send [13:19:34]OFD Sender: No OFD packet to send [13:19:39]OFD Sender: No OFD packet to send [13:19:44]OFD Sender: No OFD packet to send [13:19:49]OFD Sender: No OFD packet to send [13:19:54]OFD Sender: No OFD packet to send [13:19:59]OFD Sender: No OFD packet to send [13:20:04]OFD Sender: No OFD packet to send [13:20:09]OFD Sender: No OFD packet to send [13:20:14]OFD Sender: No OFD packet to send [13:20:19]OFD Sender: No OFD packet to send [13:20:24]OFD Sender: No OFD packet to send [13:20:29]OFD Sender: No OFD packet to send [13:20:34]OFD Sender: No OFD packet to send [13:20:39]OFD Sender: No OFD packet to send [13:20:44]OFD Sender: No OFD packet to send [13:20:49]OFD Sender: No OFD packet to send [13:20:52]accept exits with 7 [13:20:52]New connection [13:20:52]New thread 3067166052 created [13:20:52]Thread 3067309412 joined [13:20:52]Waiting for new connection... [13:20:52] Sock 7.Parse request [13:20:52]Sock 7.Check first char [13:20:52]Sock 7.First char is OK [13:20:52]request: POST /json_proto HTTP/1.0 [13:20:52]Method: POST [13:20:52]URL: /json_proto [13:20:52]Method is POST - this is cgi request [13:20:52]url: /json_proto [13:20:52]query_string will be loaded in cgi processing [13:20:52]execute_cgi json_proto POST (null) [13:20:52]execute_cgi path=json_proto method=POST [13:20:52]POST find Content-Length [13:20:52]Host: 172.17.53.196:8080 [13:20:52]Content-Length: 620 [13:20:52]Content-Type: application/json [13:20:52] [13:20:52]POST finish read [13:20:52]Found Content-Length = 620 [13:20:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34630", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:20:52]execute_script... [13:20: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)34630", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:20:52]POST & json_proto [13:20:52]process_json_proto [13:20:52]json parsed OK: [13:20:52]protocol is kg_v1.0 [13:20:52]action value=close_receipt [13:20:52]process_action close_receipt [13:20:52]cmd_close_receipt [13:20:52]MH_GetDate [13:20:52]Write to MH i2c: F0 00 00 17 09 0F [13:20:52]Write i2c OK [13:20:52]MH_I2C_Read... [13:20:52]Read from MH i2c: F0 [13:20:52]MH_I2C_Read... [13:20:52]Read from MH i2c: F0 09 00 [13:20:52]MH_I2C_Read... [13:20:52]Read from MH i2c: F0 09 00 17 09 00 B7 03 15 67 4F CD 9A 65 69 [13:20:52]GetLastDocTimeStamp 1729429788 [13:20:52]current date 1729430455 [13:20:52]FM_GetShiftState [13:20:52]SAM_PROTO_GetShiftState [13:20:52]wFMCommunicate request_size=4 [13:20:52]MH_SAM_APDU [13:20:52]CAPDU: 80 13 01 00 [13:20:52]Write to MH i2c: E2 08 00 18 09 80 13 01 00 00 00 00 00 9E [13:20:52]Write i2c OK [13:20:52]MH_I2C_Read... [13:20:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:20:52]Read from MH i2c: E2 [13:20:52]MH_I2C_Read... [13:20:52]Read from MH i2c: E2 0E 00 [13:20:52]MH_I2C_Read... [13:20:52]Read from MH i2c: E2 0E 00 18 09 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 E4 [13:20:52]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [13:20:52]wFMCommunicate OK [13:20:52]SAM_PROTO_GetShiftState done [13:20:52]FM_GetShiftState done [13:20:52]opened in 1729384049 [13:20:52]opened+sec_in_day 1729470449 [13:20:52]quantity*price = 14900 [13:20:52]sum+1 = 14901 [13:20:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 149.00 НСП 1% : 1.32 НДС 12% : 15.82 Наличными: 149.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 28 20.10.2024 13:20 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24870 ФПД: 84360026595551 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T132055&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24870&fm=84360026595551&tin=02508201610067®Number=0000000000098147&sum=14900 0 [13:20:54]StoreToDocumentArchive [13:20:54]shift 455 fd 24870 [13:20:54]save to /storage/0455/doc_00024870 [13:20:54]save last doc name /storage/0455/doc_00024870 to /storage/kkm_last_doc_name [13:20:54]save OK [13:20:54]Clear old archive folders... [13:20:54]ProcessDocumentItem done err = 0, tmpTLVsize=273 [13:20:54]tlvbuf is 00DF9680 [13:20:54]SAM_PROTO_ClearQueue [13:20:54]wFMCommunicate request_size=4 [13:20:54]MH_SAM_APDU [13:20:54]CAPDU: 80 09 00 00 [13:20:54]Write to MH i2c: E2 08 00 25 09 80 09 00 00 00 00 00 00 A0 [13:20:54]Write i2c OK [13:20:54]MH_I2C_Read... [13:20:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:20:54]Read from MH i2c: E2 [13:20:54]MH_I2C_Read... [13:20:54]Read from MH i2c: E2 03 00 [13:20:54]MH_I2C_Read... [13:20:54]Read from MH i2c: E2 03 00 25 09 00 90 00 A2 [13:20:54]RAPDU: 90 00 [13:20:54]wFMCommunicate OK [13:20:54]SAM_PROTO_ClearQueue done [13:20:54]KKMCreateOFDPacket [13:20:54]OFDProtocolAddRootSTLVToBuf [13:20:54]FM_MakeSignedData [13:20:54]FM_MakeSignedData [13:20:54]SAM_PROTO_SignData [13:20:54]wFMCommunicate request_size=4 [13:20:54]MH_SAM_APDU [13:20:54]CAPDU: 80 0D 01 02 [13:20:54]Write to MH i2c: E2 08 00 26 09 80 0D 01 02 00 00 00 00 A8 [13:20:54]Write i2c OK [13:20:54]MH_I2C_Read... [13:20:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:20:54]Read from MH i2c: E2 [13:20:54]MH_I2C_Read... [13:20:54]Read from MH i2c: E2 03 00 [13:20:54]MH_I2C_Read... [13:20:54]Read from MH i2c: E2 03 00 26 09 00 90 00 A3 [13:20:54]RAPDU: 90 00 [13:20:54]wFMCommunicate OK [13:20:54]wFMCommunicate request_size=255 [13:20:54]MH_SAM_APDU [13:20:54]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 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 B7 03 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 [13:20:54]Write to MH i2c: E2 02 01 27 09 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 B7 03 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 00 00 61 [13:20:54]Write i2c OK [13:20:54]MH_I2C_Read... [13:20:54]OFD Sender: No OFD packet to send [13:20:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:20:54]Read from MH i2c: E2 [13:20:54]MH_I2C_Read... [13:20:54]Read from MH i2c: E2 03 00 [13:20:54]MH_I2C_Read... [13:20:54]Read from MH i2c: E2 03 00 27 09 00 90 00 A4 [13:20:54]RAPDU: 90 00 [13:20:54]wFMCommunicate OK [13:20:54]wFMCommunicate request_size=32 [13:20:54]MH_SAM_APDU [13:20:54]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 36 10 04 04 00 26 61 00 00 35 04 06 00 4C B9 99 6B 20 DF [13:20:54]Write to MH i2c: E2 23 00 28 09 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 36 10 04 04 00 26 61 00 00 35 04 06 00 4C B9 99 6B 20 DF 00 00 9B [13:20:54]Write i2c OK [13:20:54]MH_I2C_Read... [13:20:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:20:54]Read from MH i2c: E2 [13:20:54]MH_I2C_Read... [13:20:54]Read from MH i2c: E2 03 00 [13:20:54]MH_I2C_Read... [13:20:54]Read from MH i2c: E2 03 00 28 09 00 90 00 A5 [13:20:54]RAPDU: 90 00 [13:20:54]wFMCommunicate OK [13:20:54]wFMCommunicate request_size=4 [13:20:54]MH_SAM_APDU [13:20:54]CAPDU: 80 0D 03 02 [13:20:54]Write to MH i2c: E2 08 00 29 09 80 0D 03 02 00 00 00 00 AD [13:20:54]Write i2c OK [13:20:54]MH_I2C_Read... [13:20:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:20:54]Read from MH i2c: E2 [13:20:54]MH_I2C_Read... [13:20:54]Read from MH i2c: E2 0B 00 [13:20:54]MH_I2C_Read... [13:20:54]Read from MH i2c: E2 0B 00 29 09 00 5D FC 8F BF 6E CF FE F4 90 00 84 [13:20:54]RAPDU: 5D FC 8F BF 6E CF FE F4 90 00 [13:20:54]wFMCommunicate OK [13:20:54]SAM_PROTO_SignData done [13:20:54]FM_MakeSignedData done [13:20:54]CreateOFDProtocolMessage [13:20:54]wFMCommunicate request_size=4 [13:20:54]MH_SAM_APDU [13:20:54]CAPDU: 80 11 00 00 [13:20:54]Write to MH i2c: E2 08 00 2A 09 80 11 00 00 00 00 00 00 AD [13:20:54]Write i2c OK [13:20:54]MH_I2C_Read... [13:20:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:20:54]Read from MH i2c: E2 [13:20:54]MH_I2C_Read... [13:20:54]Read from MH i2c: E2 17 00 [13:20:54]MH_I2C_Read... [13:20:54]Read from MH i2c: E2 17 00 2A 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 04 [13:20:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [13:20:54]wFMCommunicate OK [13:20:54]CreateOFDProtocolMessage done [13:20:54]OFDSenderStorePacket 24870 [13:20:54]StoreOFDPacket docnum=24870 [13:20:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 F8 8C 1D 01 3F 49 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 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 B7 03 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 26 61 00 00 35 04 06 00 4C B9 99 6B 20 DF 5D FC 8F BF 6E CF FE F4 [13:20:54]CheckFolder [13:20:54]dirname=/storage/ofd_packets [13:20:54]CheckFolder done [13:20:54]ProducePacketName [13:20:54]name=ofd_packets/00024870 [13:20:54]NVStorageSaveData ofd_packets/00024870 [13:20:54]File name is /storage/ofd_packets/00024870 [13:20:54]Write 323 bytes [13:20:54]NVStorageSaveData done [13:20:54]OFDSenderStorePacket done [13:20:54]KKMCreateOFDPacket done [13:20:54]NVStorageSaveData kkm_last_timestamp [13:20:54]File name is /storage/kkm_last_timestamp [13:20:54]Write 4 bytes [13:20:54]NVStorageSaveData done [13:20:54]ExternCall_PrintAddStr [13:20:54]wPrintStart [13:20:54]Write to MH i2c: 01 00 00 2B 09 34 [13:20:54]Write i2c OK [13:20:54]MH_I2C_Read... [13:20:54]Read from MH i2c: 01 [13:20:54]MH_I2C_Read... [13:20:54]Read from MH i2c: 01 07 00 [13:20:54]MH_I2C_Read... [13:20:54]Read from MH i2c: 01 07 00 2B 09 00 00 00 00 00 FF 0F 49 [13:20:54]RasterBufferAndPrint [13:20:54]line Счет N : (3)34630 [13:20:54]line ИНН: 02508201610067 [13:20:54]line Контрольно-Кассовый Чек [13:20:54]line ПРОДАЖА [13:20:54]line Товар: 48744119 [13:20:54]line Сигареты Winston Xstyle Dual [13:20:54]line 1.000 * 149.00 [13:20:54]line = 149.00 [13:20:54]line НДС 12% НСП 1% [13:20:54]line > о реализуемом товаре [13:20:54]line ИТОГО: 149.00 [13:20:54]line НСП 1% : 1.32 [13:20:54]line НДС 12% : 15.82 [13:20:54]line Наличными: 149.00 [13:20:54]line Безнал.: 0.00 [13:20:54]line Место: АЗС № 161 "Партнер Нефть" [13:20:54]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [13:20:54]line СНО: Общий режим [13:20:54]line Чек 28 20.10.2024 13:20 [13:20:54]line Смена: 455 ФФД: 1.0 [13:20:54]line ЗНМ: 0300000240 [13:20:54]line РНМ: 0000000000098147 [13:20:54]line Версия ККМ: 001 [13:20:54]line ФМ: 0000000000965376 [13:20:54]line ФД: 24870 [13:20:54]line ФПД: 84360026595551 [13:20:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T132055&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24870&fm=84360026595551&tin=02508201610067®Number=0000000000098147&sum=14900 [13:20:54]line 0 [13:20:54]OFD Sender: Processing packet 24870 [packets to send 5, broken 4] [13:20:54]ProducePacketName [13:20:54]name=ofd_packets/00024870 [13:20:54]OFD Sender: To server: pG, [13:20:54]CommunicateWithHost lk.salyk.kg:30040 [13:20:54]ConnectInit lk.salyk.kg [13:20:54]written 0, free lines is 4095 [13:20:55]Connected sock=9 [13:20:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 F8 8C 1D 01 3F 49 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 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 B7 03 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 26 61 00 00 35 04 06 00 4C B9 99 6B 20 DF 5D FC 8F BF 6E CF FE F4 [13:20:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 CA 40 47 00 21 4A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 26 61 00 00 F4 03 04 00 38 AC 14 67 B6 04 01 00 00 19 FE B0 E9 BB 39 44 78 [13:20:55]CommunicateWithHost err = 0 [13:20:55]CheckOFDResponse [13:20:55]1017 (14) - 77093643461234 [13:20:55]1041 (16) - 0000000000965376 [13:20:55]1040 (4) - 24870 [13:20:55]1012 (4) - 20.10.2024 07:07 [13:20:55]1206 (1) - 0 [13:20:55]OFD Sender: Remove packet 24870 [13:20:55]ProducePacketName [13:20:55]name=ofd_packets/00024870 [13:20:55]NVStorageDeleteData [13:20:55]Write to MH i2c: 01 00 00 53 09 5C [13:20:55]Write i2c OK [13:20:55]MH_I2C_Read... [13:20:55]Read from MH i2c: 01 [13:20:55]MH_I2C_Read... [13:20:55]Read from MH i2c: 01 07 00 [13:20:55]MH_I2C_Read... [13:20:55]Read from MH i2c: 01 07 00 53 09 00 00 00 00 00 E1 0C 50 [13:20:55]RasterBufferAndPrint [13:20:55]line [13:20:55]line [13:20:55]line [13:20:55]line [13:20:55]line [13:20:55]written 0, free lines is 3303 [13:20:55]process_action close_receipt done [13:20:55]requested_data is exist [13:20:55]produce_requested_data [13:20:55]requested_item fm.sn is exist - process it [13:20:55]wFMCommunicate request_size=4 [13:20:55]MH_SAM_APDU [13:20:55]CAPDU: 80 11 00 00 [13:20:55]Write to MH i2c: E2 08 00 5A 09 80 11 00 00 00 00 00 00 DD [13:20:55]Write i2c OK [13:20:55]MH_I2C_Read... [13:20:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:20:55]Read from MH i2c: E2 [13:20:55]MH_I2C_Read... [13:20:55]Read from MH i2c: E2 17 00 [13:20:55]MH_I2C_Read... [13:20:55]Read from MH i2c: E2 17 00 5A 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 34 [13:20:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [13:20:55]wFMCommunicate OK [13:20:55]requested_item fd.num is exist - process it [13:20:55]SAM_PROTO_GetFieldsCounters [13:20:55]wFMCommunicate request_size=4 [13:20:55]MH_SAM_APDU [13:20:55]CAPDU: 80 13 00 00 [13:20:55]Write to MH i2c: E2 08 00 5B 09 80 13 00 00 00 00 00 00 E0 [13:20:55]Write i2c OK [13:20:55]MH_I2C_Read... [13:20:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:20:55]Read from MH i2c: E2 [13:20:55]MH_I2C_Read... [13:20:55]Read from MH i2c: E2 62 00 [13:20:55]MH_I2C_Read... [13:20:55]Read from MH i2c: E2 62 00 5B 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 26 61 00 00 0E 04 04 00 C7 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 AC [13:20:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 26 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:20:55]wFMCommunicate OK [13:20:55]SAM_PROTO_GetFieldsCounters done [13:20:55]requested_item shift.num is exist - process it [13:20:55]requested_item shift.opened is exist - process it [13:20:55]req_shift_opened [13:20:55]FM_GetShiftState [13:20:55]SAM_PROTO_GetShiftState [13:20:55]wFMCommunicate request_size=4 [13:20:55]MH_SAM_APDU [13:20:55]CAPDU: 80 13 01 00 [13:20:55]Write to MH i2c: E2 08 00 5C 09 80 13 01 00 00 00 00 00 E2 [13:20:55]Write i2c OK [13:20:55]MH_I2C_Read... [13:20:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:20:55]Read from MH i2c: E2 [13:20:55]MH_I2C_Read... [13:20:55]Read from MH i2c: E2 0E 00 [13:20:55]MH_I2C_Read... [13:20:55]Read from MH i2c: E2 0E 00 5C 09 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 28 [13:20:55]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [13:20:55]wFMCommunicate OK [13:20:55]SAM_PROTO_GetShiftState done [13:20:55]FM_GetShiftState done [13:20:55]req_shift_opened done [13:20:55]requested_item shift.open_date is exist - process it [13:20:55]req_shift_open_date [13:20:55]req_shift_open_date done [13:20:55]produce_requested_data done [13:20:55]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24870,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [13:20:55]process_action_free close_receipt [13:20:55]json_value_free [13:20:55]json_value_free done [13:20:55]process_json_proto returns [13:20:55]Send response to host [13:20:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24870,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [13:20:55]free response buf [13:20:55]execute_script done [13:20:55]execute_script returns [13:20:55]free content buf [13:20:55]Sock 7.Close socket [13:20:55]Sock 7.Thread stoped [13:20:55]OFD Sender: No OFD packet to send [13:21:00]OFD Sender: No OFD packet to send [13:21:05]OFD Sender: No OFD packet to send [13:21:10]OFD Sender: No OFD packet to send [13:21:15]OFD Sender: No OFD packet to send [13:21:20]OFD Sender: No OFD packet to send [13:21:25]OFD Sender: No OFD packet to send [13:21:30]OFD Sender: No OFD packet to send [13:21:35]OFD Sender: No OFD packet to send [13:21:40]OFD Sender: No OFD packet to send [13:21:45]OFD Sender: No OFD packet to send [13:21:50]OFD Sender: No OFD packet to send [13:21:55]OFD Sender: No OFD packet to send [13:22:00]OFD Sender: No OFD packet to send [13:22:05]OFD Sender: No OFD packet to send [13:22:10]OFD Sender: No OFD packet to send [13:22:15]OFD Sender: No OFD packet to send [13:22:20]OFD Sender: No OFD packet to send [13:22:25]OFD Sender: No OFD packet to send [13:22:30]OFD Sender: No OFD packet to send [13:22:35]OFD Sender: No OFD packet to send [13:22:40]OFD Sender: No OFD packet to send [13:22:45]OFD Sender: No OFD packet to send [13:22:50]OFD Sender: No OFD packet to send [13:22:55]OFD Sender: No OFD packet to send [13:23:00]OFD Sender: No OFD packet to send [13:23:05]OFD Sender: No OFD packet to send [13:23:10]OFD Sender: No OFD packet to send [13:23:15]OFD Sender: No OFD packet to send [13:23:20]OFD Sender: No OFD packet to send [13:23:25]OFD Sender: No OFD packet to send [13:23:30]OFD Sender: No OFD packet to send [13:23:35]OFD Sender: No OFD packet to send [13:23:40]OFD Sender: No OFD packet to send [13:23:45]OFD Sender: No OFD packet to send [13:23:50]OFD Sender: No OFD packet to send [13:23:56]OFD Sender: No OFD packet to send [13:24:01]OFD Sender: No OFD packet to send [13:24:06]OFD Sender: No OFD packet to send [13:24:11]OFD Sender: No OFD packet to send [13:24:16]OFD Sender: No OFD packet to send [13:24:21]OFD Sender: No OFD packet to send [13:24:26]OFD Sender: No OFD packet to send [13:24:31]OFD Sender: No OFD packet to send [13:24:36]OFD Sender: No OFD packet to send [13:24:41]OFD Sender: No OFD packet to send [13:24:46]OFD Sender: No OFD packet to send [13:24:51]OFD Sender: No OFD packet to send [13:24:56]OFD Sender: No OFD packet to send [13:25:01]OFD Sender: No OFD packet to send [13:25:06]OFD Sender: No OFD packet to send [13:25:11]OFD Sender: No OFD packet to send [13:25:16]OFD Sender: No OFD packet to send [13:25:21]OFD Sender: No OFD packet to send [13:25:26]OFD Sender: No OFD packet to send [13:25:31]OFD Sender: No OFD packet to send [13:25:36]OFD Sender: No OFD packet to send [13:25:41]OFD Sender: No OFD packet to send [13:25:46]OFD Sender: No OFD packet to send [13:25:51]OFD Sender: No OFD packet to send [13:25:56]OFD Sender: No OFD packet to send [13:26:01]OFD Sender: No OFD packet to send [13:26:06]OFD Sender: No OFD packet to send [13:26:11]OFD Sender: No OFD packet to send [13:26:16]OFD Sender: No OFD packet to send [13:26:21]OFD Sender: No OFD packet to send [13:26:26]OFD Sender: No OFD packet to send [13:26:31]OFD Sender: No OFD packet to send [13:26:36]OFD Sender: No OFD packet to send [13:26:41]OFD Sender: No OFD packet to send [13:26:46]OFD Sender: No OFD packet to send [13:26:51]OFD Sender: No OFD packet to send [13:26:56]OFD Sender: No OFD packet to send [13:27:01]OFD Sender: No OFD packet to send [13:27:06]OFD Sender: No OFD packet to send [13:27:11]OFD Sender: No OFD packet to send [13:27:16]OFD Sender: No OFD packet to send [13:27:21]OFD Sender: No OFD packet to send [13:27:26]OFD Sender: No OFD packet to send [13:27:31]OFD Sender: No OFD packet to send [13:27:36]OFD Sender: No OFD packet to send [13:27:41]OFD Sender: No OFD packet to send [13:27:46]OFD Sender: No OFD packet to send [13:27:51]OFD Sender: No OFD packet to send [13:27:56]OFD Sender: No OFD packet to send [13:28:01]OFD Sender: No OFD packet to send [13:28:06]OFD Sender: No OFD packet to send [13:28:11]OFD Sender: No OFD packet to send [13:28:16]OFD Sender: No OFD packet to send [13:28:21]OFD Sender: No OFD packet to send [13:28:26]OFD Sender: No OFD packet to send [13:28:31]OFD Sender: No OFD packet to send [13:28:36]OFD Sender: No OFD packet to send [13:28:41]OFD Sender: No OFD packet to send [13:28:46]OFD Sender: No OFD packet to send [13:28:51]OFD Sender: No OFD packet to send [13:28:56]OFD Sender: No OFD packet to send [13:29:01]OFD Sender: No OFD packet to send [13:29:06]OFD Sender: No OFD packet to send [13:29:11]OFD Sender: No OFD packet to send [13:29:16]OFD Sender: No OFD packet to send [13:29:21]OFD Sender: No OFD packet to send [13:29:26]OFD Sender: No OFD packet to send [13:29:31]OFD Sender: No OFD packet to send [13:29:36]OFD Sender: No OFD packet to send [13:29:41]OFD Sender: No OFD packet to send [13:29:46]OFD Sender: No OFD packet to send [13:29:51]OFD Sender: No OFD packet to send [13:29:56]OFD Sender: No OFD packet to send [13:30:01]OFD Sender: No OFD packet to send [13:30:06]OFD Sender: No OFD packet to send [13:30:11]OFD Sender: No OFD packet to send [13:30:16]OFD Sender: No OFD packet to send [13:30:21]OFD Sender: No OFD packet to send [13:30:26]OFD Sender: No OFD packet to send [13:30:31]OFD Sender: No OFD packet to send [13:30:36]OFD Sender: No OFD packet to send [13:30:41]OFD Sender: No OFD packet to send [13:30:46]OFD Sender: No OFD packet to send [13:30:51]OFD Sender: No OFD packet to send [13:30:56]OFD Sender: No OFD packet to send [13:31:01]OFD Sender: No OFD packet to send [13:31:06]OFD Sender: No OFD packet to send [13:31:11]OFD Sender: No OFD packet to send [13:31:16]OFD Sender: No OFD packet to send [13:31:21]OFD Sender: No OFD packet to send [13:31:26]OFD Sender: No OFD packet to send [13:31:31]OFD Sender: No OFD packet to send [13:31:36]OFD Sender: No OFD packet to send [13:31:41]OFD Sender: No OFD packet to send [13:31:46]OFD Sender: No OFD packet to send [13:31:51]OFD Sender: No OFD packet to send [13:31:56]OFD Sender: No OFD packet to send [13:32:01]OFD Sender: No OFD packet to send [13:32:06]OFD Sender: No OFD packet to send [13:32:11]OFD Sender: No OFD packet to send [13:32:16]OFD Sender: No OFD packet to send [13:32:21]OFD Sender: No OFD packet to send [13:32:26]OFD Sender: No OFD packet to send [13:32:31]OFD Sender: No OFD packet to send [13:32:36]OFD Sender: No OFD packet to send [13:32:41]OFD Sender: No OFD packet to send [13:32:46]OFD Sender: No OFD packet to send [13:32:51]OFD Sender: No OFD packet to send [13:32:56]OFD Sender: No OFD packet to send [13:33:01]OFD Sender: No OFD packet to send [13:33:06]OFD Sender: No OFD packet to send [13:33:11]OFD Sender: No OFD packet to send [13:33:16]OFD Sender: No OFD packet to send [13:33:21]OFD Sender: No OFD packet to send [13:33:26]OFD Sender: No OFD packet to send [13:33:31]OFD Sender: No OFD packet to send [13:33:36]OFD Sender: No OFD packet to send [13:33:41]OFD Sender: No OFD packet to send [13:33:46]OFD Sender: No OFD packet to send [13:33:51]OFD Sender: No OFD packet to send [13:33:56]OFD Sender: No OFD packet to send [13:34:01]OFD Sender: No OFD packet to send [13:34:06]OFD Sender: No OFD packet to send [13:34:11]OFD Sender: No OFD packet to send [13:34:16]OFD Sender: No OFD packet to send [13:34:21]OFD Sender: No OFD packet to send [13:34:26]OFD Sender: No OFD packet to send [13:34:31]OFD Sender: No OFD packet to send [13:34:36]OFD Sender: No OFD packet to send [13:34:41]OFD Sender: No OFD packet to send [13:34:46]OFD Sender: No OFD packet to send [13:34:51]OFD Sender: No OFD packet to send [13:34:56]OFD Sender: No OFD packet to send [13:35:01]OFD Sender: No OFD packet to send [13:35:06]OFD Sender: No OFD packet to send [13:35:11]OFD Sender: No OFD packet to send [13:35:16]OFD Sender: No OFD packet to send [13:35:21]OFD Sender: No OFD packet to send [13:35:26]OFD Sender: No OFD packet to send [13:35:31]OFD Sender: No OFD packet to send [13:35:36]OFD Sender: No OFD packet to send [13:35:41]OFD Sender: No OFD packet to send [13:35:46]OFD Sender: No OFD packet to send [13:35:51]OFD Sender: No OFD packet to send [13:35:56]OFD Sender: No OFD packet to send [13:36:01]OFD Sender: No OFD packet to send [13:36:06]OFD Sender: No OFD packet to send [13:36:11]OFD Sender: No OFD packet to send [13:36:16]OFD Sender: No OFD packet to send [13:36:21]OFD Sender: No OFD packet to send [13:36:26]OFD Sender: No OFD packet to send [13:36:31]OFD Sender: No OFD packet to send [13:36:36]OFD Sender: No OFD packet to send [13:36:41]OFD Sender: No OFD packet to send [13:36:46]OFD Sender: No OFD packet to send [13:36:51]OFD Sender: No OFD packet to send [13:36:56]OFD Sender: No OFD packet to send [13:37:01]OFD Sender: No OFD packet to send [13:37:06]OFD Sender: No OFD packet to send [13:37:11]OFD Sender: No OFD packet to send [13:37:16]OFD Sender: No OFD packet to send [13:37:21]OFD Sender: No OFD packet to send [13:37:26]OFD Sender: No OFD packet to send [13:37:31]OFD Sender: No OFD packet to send [13:37:36]OFD Sender: No OFD packet to send [13:37:41]OFD Sender: No OFD packet to send [13:37:46]OFD Sender: No OFD packet to send [13:37:51]OFD Sender: No OFD packet to send [13:37:56]OFD Sender: No OFD packet to send [13:38:01]OFD Sender: No OFD packet to send [13:38:06]OFD Sender: No OFD packet to send [13:38:11]OFD Sender: No OFD packet to send [13:38:16]OFD Sender: No OFD packet to send [13:38:21]OFD Sender: No OFD packet to send [13:38:26]OFD Sender: No OFD packet to send [13:38:31]OFD Sender: No OFD packet to send [13:38:36]OFD Sender: No OFD packet to send [13:38:41]OFD Sender: No OFD packet to send [13:38:46]OFD Sender: No OFD packet to send [13:38:51]OFD Sender: No OFD packet to send [13:38:56]OFD Sender: No OFD packet to send [13:39:01]OFD Sender: No OFD packet to send [13:39:06]OFD Sender: No OFD packet to send [13:39:11]OFD Sender: No OFD packet to send [13:39:16]OFD Sender: No OFD packet to send [13:39:21]OFD Sender: No OFD packet to send [13:39:26]OFD Sender: No OFD packet to send [13:39:31]OFD Sender: No OFD packet to send [13:39:36]OFD Sender: No OFD packet to send [13:39:41]OFD Sender: No OFD packet to send [13:39:46]OFD Sender: No OFD packet to send [13:39:50]accept exits with 10 [13:39:50]New connection [13:39:50]New thread 3067309412 created [13:39:50]Thread 3067166052 joined [13:39:50]Waiting for new connection... [13:39:50] Sock 10.Parse request [13:39:50]Sock 10.Check first char [13:39:50]Sock 10.First char is OK [13:39:50]request: POST /json_proto HTTP/1.0 [13:39:50]Method: POST [13:39:50]URL: /json_proto [13:39:50]Method is POST - this is cgi request [13:39:50]url: /json_proto [13:39:50]query_string will be loaded in cgi processing [13:39:50]execute_cgi json_proto POST (null) [13:39:50]execute_cgi path=json_proto method=POST [13:39:50]POST find Content-Length [13:39:50]Host: 172.17.53.196:8080 [13:39:50]Content-Length: 657 [13:39:50]Content-Type: application/json [13:39:50] [13:39:50]POST finish read [13:39:50]Found Content-Length = 657 [13:39:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34631", "tax_sys" : 0, "items" : [ { "code": "4607084351361", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 4\u0448\u0442", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:39:50]execute_script... [13:39: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)34631", "tax_sys" : 0, "items" : [ { "code": "4607084351361", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 4\u0448\u0442", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:39:50]POST & json_proto [13:39:50]process_json_proto [13:39:50]json parsed OK: [13:39:50]protocol is kg_v1.0 [13:39:50]action value=close_receipt [13:39:50]process_action close_receipt [13:39:50]cmd_close_receipt [13:39:50]MH_GetDate [13:39:50]Write to MH i2c: F0 00 00 5D 09 55 [13:39:50]Write i2c OK [13:39:50]MH_I2C_Read... [13:39:50]Read from MH i2c: F0 [13:39:50]MH_I2C_Read... [13:39:50]Read from MH i2c: F0 09 00 [13:39:50]MH_I2C_Read... [13:39:50]Read from MH i2c: F0 09 00 5D 09 00 2A 08 15 67 4F CD 9A 65 27 [13:39:50]GetLastDocTimeStamp 1729430455 [13:39:50]current date 1729431594 [13:39:50]FM_GetShiftState [13:39:50]SAM_PROTO_GetShiftState [13:39:50]wFMCommunicate request_size=4 [13:39:50]MH_SAM_APDU [13:39:50]CAPDU: 80 13 01 00 [13:39:50]Write to MH i2c: E2 08 00 5E 09 80 13 01 00 00 00 00 00 E4 [13:39:50]Write i2c OK [13:39:50]MH_I2C_Read... [13:39:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:39:51]Read from MH i2c: E2 [13:39:51]MH_I2C_Read... [13:39:51]Read from MH i2c: E2 0E 00 [13:39:51]MH_I2C_Read... [13:39:51]Read from MH i2c: E2 0E 00 5E 09 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 2A [13:39:51]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [13:39:51]wFMCommunicate OK [13:39:51]SAM_PROTO_GetShiftState done [13:39:51]FM_GetShiftState done [13:39:51]opened in 1729384049 [13:39:51]opened+sec_in_day 1729470449 [13:39:51]quantity*price = 13000 [13:39:51]sum+1 = 13001 [13:39:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 29 20.10.2024 13:39 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24871 ФПД: 226055075116582 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T133954&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24871&fm=226055075116582&tin=02508201610067®Number=0000000000098147&sum=13000 0 [13:39:52]StoreToDocumentArchive [13:39:52]shift 455 fd 24871 [13:39:52]save to /storage/0455/doc_00024871 [13:39:52]save last doc name /storage/0455/doc_00024871 to /storage/kkm_last_doc_name [13:39:52]save OK [13:39:52]Clear old archive folders... [13:39:52]ProcessDocumentItem done err = 0, tmpTLVsize=278 [13:39:52]tlvbuf is 00DD8650 [13:39:52]SAM_PROTO_ClearQueue [13:39:52]wFMCommunicate request_size=4 [13:39:52]MH_SAM_APDU [13:39:52]CAPDU: 80 09 00 00 [13:39:52]Write to MH i2c: E2 08 00 6B 09 80 09 00 00 00 00 00 00 E6 [13:39:52]Write i2c OK [13:39:52]MH_I2C_Read... [13:39:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:39:52]Read from MH i2c: E2 [13:39:52]MH_I2C_Read... [13:39:52]Read from MH i2c: E2 03 00 [13:39:52]MH_I2C_Read... [13:39:52]Read from MH i2c: E2 03 00 6B 09 00 90 00 E8 [13:39:52]RAPDU: 90 00 [13:39:52]wFMCommunicate OK [13:39:52]SAM_PROTO_ClearQueue done [13:39:52]KKMCreateOFDPacket [13:39:52]OFDProtocolAddRootSTLVToBuf [13:39:52]FM_MakeSignedData [13:39:52]FM_MakeSignedData [13:39:52]SAM_PROTO_SignData [13:39:52]wFMCommunicate request_size=4 [13:39:52]MH_SAM_APDU [13:39:52]CAPDU: 80 0D 01 02 [13:39:52]Write to MH i2c: E2 08 00 6C 09 80 0D 01 02 00 00 00 00 EE [13:39:52]Write i2c OK [13:39:52]MH_I2C_Read... [13:39:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:39:52]Read from MH i2c: E2 [13:39:52]MH_I2C_Read... [13:39:52]Read from MH i2c: E2 03 00 [13:39:52]MH_I2C_Read... [13:39:52]Read from MH i2c: E2 03 00 6C 09 00 90 00 E9 [13:39:52]RAPDU: 90 00 [13:39:52]wFMCommunicate OK [13:39:52]wFMCommunicate request_size=255 [13:39:52]MH_SAM_APDU [13:39:52]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 2A 08 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 [13:39:52]Write to MH i2c: E2 02 01 6D 09 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 2A 08 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 00 00 C2 [13:39:52]Write i2c OK [13:39:52]MH_I2C_Read... [13:39:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:39:52]Read from MH i2c: E2 [13:39:52]MH_I2C_Read... [13:39:52]Read from MH i2c: E2 03 00 [13:39:52]MH_I2C_Read... [13:39:52]Read from MH i2c: E2 03 00 6D 09 00 90 00 EA [13:39:52]RAPDU: 90 00 [13:39:52]wFMCommunicate OK [13:39:52]wFMCommunicate request_size=37 [13:39:52]MH_SAM_APDU [13:39:52]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 27 61 00 00 35 04 06 00 CD 98 8C 73 B6 26 [13:39:52]Write to MH i2c: E2 28 00 6E 09 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 27 61 00 00 35 04 06 00 CD 98 8C 73 B6 26 00 00 14 [13:39:52]Write i2c OK [13:39:52]MH_I2C_Read... [13:39:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:39:52]Read from MH i2c: E2 [13:39:52]MH_I2C_Read... [13:39:52]Read from MH i2c: E2 03 00 [13:39:52]MH_I2C_Read... [13:39:52]Read from MH i2c: E2 03 00 6E 09 00 90 00 EB [13:39:52]RAPDU: 90 00 [13:39:52]wFMCommunicate OK [13:39:52]wFMCommunicate request_size=4 [13:39:52]MH_SAM_APDU [13:39:52]CAPDU: 80 0D 03 02 [13:39:52]Write to MH i2c: E2 08 00 6F 09 80 0D 03 02 00 00 00 00 F3 [13:39:52]Write i2c OK [13:39:52]MH_I2C_Read... [13:39:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:39:52]Read from MH i2c: E2 [13:39:52]MH_I2C_Read... [13:39:52]Read from MH i2c: E2 0B 00 [13:39:52]MH_I2C_Read... [13:39:52]Read from MH i2c: E2 0B 00 6F 09 00 CC 64 7C AE 0C EF 18 A9 90 00 0A [13:39:52]RAPDU: CC 64 7C AE 0C EF 18 A9 90 00 [13:39:52]wFMCommunicate OK [13:39:52]SAM_PROTO_SignData done [13:39:52]FM_MakeSignedData done [13:39:52]CreateOFDProtocolMessage [13:39:52]wFMCommunicate request_size=4 [13:39:52]MH_SAM_APDU [13:39:52]CAPDU: 80 11 00 00 [13:39:52]Write to MH i2c: E2 08 00 70 09 80 11 00 00 00 00 00 00 F3 [13:39:52]Write i2c OK [13:39:52]MH_I2C_Read... [13:39:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:39:52]Read from MH i2c: E2 [13:39:52]MH_I2C_Read... [13:39:52]Read from MH i2c: E2 17 00 [13:39:52]MH_I2C_Read... [13:39:52]Read from MH i2c: E2 17 00 70 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 4A [13:39:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [13:39:52]wFMCommunicate OK [13:39:52]CreateOFDProtocolMessage done [13:39:52]OFDSenderStorePacket 24871 [13:39:52]StoreOFDPacket docnum=24871 [13:39:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2A 01 00 00 C0 D7 22 01 1F DC 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 2A 08 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 27 61 00 00 35 04 06 00 CD 98 8C 73 B6 26 CC 64 7C AE 0C EF 18 A9 [13:39:52]CheckFolder [13:39:52]dirname=/storage/ofd_packets [13:39:52]CheckFolder done [13:39:52]ProducePacketName [13:39:52]name=ofd_packets/00024871 [13:39:52]NVStorageSaveData ofd_packets/00024871 [13:39:52]File name is /storage/ofd_packets/00024871 [13:39:52]Write 328 bytes [13:39:52]NVStorageSaveData done [13:39:52]OFDSenderStorePacket done [13:39:52]KKMCreateOFDPacket done [13:39:52]NVStorageSaveData kkm_last_timestamp [13:39:52]File name is /storage/kkm_last_timestamp [13:39:52]Write 4 bytes [13:39:52]NVStorageSaveData done [13:39:52]ExternCall_PrintAddStr [13:39:52]wPrintStart [13:39:52]Write to MH i2c: 01 00 00 71 09 7A [13:39:52]Write i2c OK [13:39:52]MH_I2C_Read... [13:39:52]Read from MH i2c: 01 [13:39:52]MH_I2C_Read... [13:39:52]Read from MH i2c: 01 07 00 [13:39:52]MH_I2C_Read... [13:39:52]Read from MH i2c: 01 07 00 71 09 00 00 00 00 00 FF 0F 8F [13:39:52]RasterBufferAndPrint [13:39:52]line Счет N : (3)34631 [13:39:52]line ИНН: 02508201610067 [13:39:52]line Контрольно-Кассовый Чек [13:39:52]line ПРОДАЖА [13:39:52]line Товар: 4607084351361 [13:39:52]line Бисквит Чоко пай 4шт [13:39:52]line 1.000 * 130.00 [13:39:52]line = 130.00 [13:39:52]line НДС 12% НСП 1% [13:39:52]line > о реализуемом товаре [13:39:52]line ИТОГО: 130.00 [13:39:52]line НСП 1% : 1.15 [13:39:52]line НДС 12% : 13.80 [13:39:52]line Наличными: 130.00 [13:39:52]line Безнал.: 0.00 [13:39:52]line Место: АЗС № 161 "Партнер Нефть" [13:39:52]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [13:39:52]line СНО: Общий режим [13:39:52]line Чек 29 20.10.2024 13:39 [13:39:52]line Смена: 455 ФФД: 1.0 [13:39:52]line ЗНМ: 0300000240 [13:39:52]line РНМ: 0000000000098147 [13:39:52]line Версия ККМ: 001 [13:39:52]line ФМ: 0000000000965376 [13:39:52]line ФД: 24871 [13:39:52]line ФПД: 226055075116582 [13:39:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T133954&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24871&fm=226055075116582&tin=02508201610067®Number=0000000000098147&sum=13000 [13:39:53]OFD Sender: Processing packet 24871 [packets to send 5, broken 4] [13:39:53]ProducePacketName [13:39:53]name=ofd_packets/00024871 [13:39:53]OFD Sender: To server: pG, [13:39:53]CommunicateWithHost lk.salyk.kg:30040 [13:39:53]ConnectInit lk.salyk.kg [13:39:53]line 0 [13:39:53]written 0, free lines is 4095 [13:39:53]Connected sock=9 [13:39: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 33 37 36 2A 01 00 00 C0 D7 22 01 1F DC 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 2A 08 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 27 61 00 00 35 04 06 00 CD 98 8C 73 B6 26 CC 64 7C AE 0C EF 18 A9 [13:39:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 76 FC 47 00 D6 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 33 37 36 10 04 04 00 27 61 00 00 F4 03 04 00 AA B0 14 67 B6 04 01 00 00 74 94 2E 63 98 7B CF 88 [13:39:53]CommunicateWithHost err = 0 [13:39:53]CheckOFDResponse [13:39:53]1017 (14) - 77093643461234 [13:39:53]1041 (16) - 0000000000965376 [13:39:53]1040 (4) - 24871 [13:39:53]1012 (4) - 20.10.2024 07:26 [13:39:53]1206 (1) - 0 [13:39:53]OFD Sender: Remove packet 24871 [13:39:53]ProducePacketName [13:39:53]name=ofd_packets/00024871 [13:39:53]NVStorageDeleteData [13:39:53]Write to MH i2c: 01 00 00 99 09 A2 [13:39:53]Write i2c OK [13:39:53]MH_I2C_Read... [13:39:53]Read from MH i2c: 01 [13:39:53]MH_I2C_Read... [13:39:53]Read from MH i2c: 01 07 00 [13:39:53]MH_I2C_Read... [13:39:53]Read from MH i2c: 01 07 00 99 09 00 00 00 00 00 EA 0C 9F [13:39:53]RasterBufferAndPrint [13:39:53]line [13:39:53]line [13:39:53]line [13:39:53]line [13:39:53]line [13:39:53]written 0, free lines is 3312 [13:39:53]process_action close_receipt done [13:39:53]requested_data is exist [13:39:53]produce_requested_data [13:39:53]requested_item fm.sn is exist - process it [13:39:53]wFMCommunicate request_size=4 [13:39:53]MH_SAM_APDU [13:39:53]CAPDU: 80 11 00 00 [13:39:53]Write to MH i2c: E2 08 00 A0 09 80 11 00 00 00 00 00 00 23 [13:39:53]Write i2c OK [13:39:53]MH_I2C_Read... [13:39:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:39:53]Read from MH i2c: E2 [13:39:53]MH_I2C_Read... [13:39:53]Read from MH i2c: E2 17 00 [13:39:53]MH_I2C_Read... [13:39:53]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 33 37 36 90 00 7A [13:39:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [13:39:53]wFMCommunicate OK [13:39:53]requested_item fd.num is exist - process it [13:39:53]SAM_PROTO_GetFieldsCounters [13:39:53]wFMCommunicate request_size=4 [13:39:53]MH_SAM_APDU [13:39:53]CAPDU: 80 13 00 00 [13:39:53]Write to MH i2c: E2 08 00 A1 09 80 13 00 00 00 00 00 00 26 [13:39:53]Write i2c OK [13:39:53]MH_I2C_Read... [13:39:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:39:53]Read from MH i2c: E2 [13:39:53]MH_I2C_Read... [13:39:53]Read from MH i2c: E2 62 00 [13:39:53]MH_I2C_Read... [13:39:53]Read from MH i2c: E2 62 00 A1 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 27 61 00 00 0E 04 04 00 C7 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 F6 [13:39:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 27 61 00 00 0E 04 04 00 C7 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 [13:39:53]wFMCommunicate OK [13:39:53]SAM_PROTO_GetFieldsCounters done [13:39:53]requested_item shift.num is exist - process it [13:39:53]requested_item shift.opened is exist - process it [13:39:53]req_shift_opened [13:39:53]FM_GetShiftState [13:39:53]SAM_PROTO_GetShiftState [13:39:53]wFMCommunicate request_size=4 [13:39:53]MH_SAM_APDU [13:39:53]CAPDU: 80 13 01 00 [13:39:53]Write to MH i2c: E2 08 00 A2 09 80 13 01 00 00 00 00 00 28 [13:39:53]Write i2c OK [13:39:53]MH_I2C_Read... [13:39:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:39:53]Read from MH i2c: E2 [13:39:53]MH_I2C_Read... [13:39:53]Read from MH i2c: E2 0E 00 [13:39:53]MH_I2C_Read... [13:39:53]Read from MH i2c: E2 0E 00 A2 09 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 6E [13:39:53]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [13:39:53]wFMCommunicate OK [13:39:53]SAM_PROTO_GetShiftState done [13:39:53]FM_GetShiftState done [13:39:53]req_shift_opened done [13:39:53]requested_item shift.open_date is exist - process it [13:39:53]req_shift_open_date [13:39:53]req_shift_open_date done [13:39:53]produce_requested_data done [13:39:53]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24871,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [13:39:53]process_action_free close_receipt [13:39:53]json_value_free [13:39:53]json_value_free done [13:39:53]process_json_proto returns [13:39:53]Send response to host [13:39:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24871,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [13:39:53]free response buf [13:39:53]execute_script done [13:39:53]execute_script returns [13:39:53]free content buf [13:39:53]Sock 10.Close socket [13:39:53]Sock 10.Thread stoped [13:39:53]OFD Sender: No OFD packet to send [13:39:58]OFD Sender: No OFD packet to send [13:40:03]OFD Sender: No OFD packet to send [13:40:08]OFD Sender: No OFD packet to send [13:40:13]OFD Sender: No OFD packet to send [13:40:18]OFD Sender: No OFD packet to send [13:40:23]OFD Sender: No OFD packet to send [13:40:28]OFD Sender: No OFD packet to send [13:40:33]OFD Sender: No OFD packet to send [13:40:38]OFD Sender: No OFD packet to send [13:40:43]OFD Sender: No OFD packet to send [13:40:48]OFD Sender: No OFD packet to send [13:40:53]OFD Sender: No OFD packet to send [13:40:58]OFD Sender: No OFD packet to send [13:41:03]OFD Sender: No OFD packet to send [13:41:08]OFD Sender: No OFD packet to send [13:41:13]OFD Sender: No OFD packet to send [13:41:18]OFD Sender: No OFD packet to send [13:41:23]OFD Sender: No OFD packet to send [13:41:28]OFD Sender: No OFD packet to send [13:41:33]OFD Sender: No OFD packet to send [13:41:38]OFD Sender: No OFD packet to send [13:41:43]OFD Sender: No OFD packet to send [13:41:48]OFD Sender: No OFD packet to send [13:41:53]OFD Sender: No OFD packet to send [13:41:58]OFD Sender: No OFD packet to send [13:42: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:53]accept exits with 7 [13:47:53]New connection [13:47:53]New thread 3067166052 created [13:47:53]Thread 3067309412 joined [13:47:53]Waiting for new connection... [13:47:53] Sock 7.Parse request [13:47:53]Sock 7.Check first char [13:47:53]Sock 7.First char is OK [13:47:53]request: POST /json_proto HTTP/1.0 [13:47:53]Method: POST [13:47:53]URL: /json_proto [13:47:53]Method is POST - this is cgi request [13:47:53]url: /json_proto [13:47:53]query_string will be loaded in cgi processing [13:47:53]execute_cgi json_proto POST (null) [13:47:53]execute_cgi path=json_proto method=POST [13:47:53]POST find Content-Length [13:47:53]Host: 172.17.53.196:8080 [13:47:53]Content-Length: 622 [13:47:53]Content-Type: application/json [13:47:53] [13:47:53]POST finish read [13:47:53]Found Content-Length = 622 [13:47:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34632", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:47:53]execute_script... [13:47:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34632", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:47:53]POST & json_proto [13:47:53]process_json_proto [13:47:53]json parsed OK: [13:47:53]protocol is kg_v1.0 [13:47:53]action value=close_receipt [13:47:53]process_action close_receipt [13:47:53]cmd_close_receipt [13:47:53]MH_GetDate [13:47:53]Write to MH i2c: F0 00 00 A3 09 9B [13:47:53]Write i2c OK [13:47:53]MH_I2C_Read... [13:47:53]Read from MH i2c: F0 [13:47:53]MH_I2C_Read... [13:47:53]Read from MH i2c: F0 09 00 [13:47:53]MH_I2C_Read... [13:47:53]Read from MH i2c: F0 09 00 A3 09 00 0D 0A 15 67 4F CD 9A 65 52 [13:47:53]GetLastDocTimeStamp 1729431594 [13:47:53]current date 1729432077 [13:47:53]FM_GetShiftState [13:47:53]SAM_PROTO_GetShiftState [13:47:53]wFMCommunicate request_size=4 [13:47:53]MH_SAM_APDU [13:47:53]CAPDU: 80 13 01 00 [13:47:53]Write to MH i2c: E2 08 00 A4 09 80 13 01 00 00 00 00 00 2A [13:47:53]Write i2c OK [13:47:53]MH_I2C_Read... [13:47:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:47:53]Read from MH i2c: E2 [13:47:53]MH_I2C_Read... [13:47:53]Read from MH i2c: E2 0E 00 [13:47:53]MH_I2C_Read... [13:47:53]Read from MH i2c: E2 0E 00 A4 09 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 70 [13:47:53]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [13:47:53]wFMCommunicate OK [13:47:53]SAM_PROTO_GetShiftState done [13:47:53]FM_GetShiftState done [13:47:53]opened in 1729384049 [13:47:53]opened+sec_in_day 1729470449 [13:47:53]quantity*price = 14400 [13:47:53]sum+1 = 14401 [13:47:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 30 20.10.2024 13:47 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24872 ФПД: 243719096086917 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T134757&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24872&fm=243719096086917&tin=02508201610067®Number=0000000000098147&sum=14400 0 [13:47:55]StoreToDocumentArchive [13:47:55]shift 455 fd 24872 [13:47:55]save to /storage/0455/doc_00024872 [13:47:55]save last doc name /storage/0455/doc_00024872 to /storage/kkm_last_doc_name [13:47:55]save OK [13:47:55]Clear old archive folders... [13:47:55]ProcessDocumentItem done err = 0, tmpTLVsize=275 [13:47:55]tlvbuf is 00DDE9B0 [13:47:55]SAM_PROTO_ClearQueue [13:47:55]wFMCommunicate request_size=4 [13:47:55]MH_SAM_APDU [13:47:55]CAPDU: 80 09 00 00 [13:47:55]Write to MH i2c: E2 08 00 B1 09 80 09 00 00 00 00 00 00 2C [13:47:55]Write i2c OK [13:47:55]MH_I2C_Read... [13:47:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:47:55]Read from MH i2c: E2 [13:47:55]MH_I2C_Read... [13:47:55]Read from MH i2c: E2 03 00 [13:47:55]MH_I2C_Read... [13:47:55]Read from MH i2c: E2 03 00 B1 09 00 90 00 2E [13:47:55]RAPDU: 90 00 [13:47:55]wFMCommunicate OK [13:47:55]SAM_PROTO_ClearQueue done [13:47:55]KKMCreateOFDPacket [13:47:55]OFDProtocolAddRootSTLVToBuf [13:47:55]FM_MakeSignedData [13:47:55]FM_MakeSignedData [13:47:55]SAM_PROTO_SignData [13:47:55]wFMCommunicate request_size=4 [13:47:55]MH_SAM_APDU [13:47:55]CAPDU: 80 0D 01 02 [13:47:55]Write to MH i2c: E2 08 00 B2 09 80 0D 01 02 00 00 00 00 34 [13:47:55]Write i2c OK [13:47:55]MH_I2C_Read... [13:47:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:47:55]Read from MH i2c: E2 [13:47:55]MH_I2C_Read... [13:47:55]Read from MH i2c: E2 03 00 [13:47:55]MH_I2C_Read... [13:47:55]Read from MH i2c: E2 03 00 B2 09 00 90 00 2F [13:47:55]RAPDU: 90 00 [13:47:55]wFMCommunicate OK [13:47:55]wFMCommunicate request_size=255 [13:47:55]MH_SAM_APDU [13:47:55]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 1E 00 00 00 F4 03 04 00 0D 0A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 [13:47:55]Write to MH i2c: E2 02 01 B3 09 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 1E 00 00 00 F4 03 04 00 0D 0A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 00 00 B6 [13:47:55]Write i2c OK [13:47:55]MH_I2C_Read... [13:47:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:47:55]Read from MH i2c: E2 [13:47:55]MH_I2C_Read... [13:47:55]Read from MH i2c: E2 03 00 [13:47:55]MH_I2C_Read... [13:47:55]Read from MH i2c: E2 03 00 B3 09 00 90 00 30 [13:47:55]RAPDU: 90 00 [13:47:55]wFMCommunicate OK [13:47:55]wFMCommunicate request_size=34 [13:47:55]MH_SAM_APDU [13:47:55]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 28 61 00 00 35 04 06 00 DD A9 46 25 B1 85 [13:47:55]Write to MH i2c: E2 25 00 B4 09 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 28 61 00 00 35 04 06 00 DD A9 46 25 B1 85 00 00 AC [13:47:55]Write i2c OK [13:47:55]MH_I2C_Read... [13:47:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:47:55]Read from MH i2c: E2 [13:47:55]MH_I2C_Read... [13:47:55]Read from MH i2c: E2 03 00 [13:47:55]MH_I2C_Read... [13:47:55]Read from MH i2c: E2 03 00 B4 09 00 90 00 31 [13:47:55]RAPDU: 90 00 [13:47:55]wFMCommunicate OK [13:47:55]wFMCommunicate request_size=4 [13:47:55]MH_SAM_APDU [13:47:55]CAPDU: 80 0D 03 02 [13:47:55]Write to MH i2c: E2 08 00 B5 09 80 0D 03 02 00 00 00 00 39 [13:47:55]Write i2c OK [13:47:55]MH_I2C_Read... [13:47:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:47:55]Read from MH i2c: E2 [13:47:55]MH_I2C_Read... [13:47:55]Read from MH i2c: E2 0B 00 [13:47:55]MH_I2C_Read... [13:47:55]Read from MH i2c: E2 0B 00 B5 09 00 49 3B 19 8F 27 0A 31 76 90 00 3E [13:47:55]RAPDU: 49 3B 19 8F 27 0A 31 76 90 00 [13:47:55]wFMCommunicate OK [13:47:55]SAM_PROTO_SignData done [13:47:55]FM_MakeSignedData done [13:47:55]CreateOFDProtocolMessage [13:47:55]wFMCommunicate request_size=4 [13:47:55]MH_SAM_APDU [13:47:55]CAPDU: 80 11 00 00 [13:47:55]Write to MH i2c: E2 08 00 B6 09 80 11 00 00 00 00 00 00 39 [13:47:55]Write i2c OK [13:47:55]MH_I2C_Read... [13:47:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:47:55]Read from MH i2c: E2 [13:47:55]MH_I2C_Read... [13:47:55]Read from MH i2c: E2 17 00 [13:47:55]MH_I2C_Read... [13:47:55]Read from MH i2c: E2 17 00 B6 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 90 [13:47:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [13:47:55]wFMCommunicate OK [13:47:55]CreateOFDProtocolMessage done [13:47:55]OFDSenderStorePacket 24872 [13:47:55]StoreOFDPacket docnum=24872 [13:47:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 25 F9 1F 01 9D 33 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 1E 00 00 00 F4 03 04 00 0D 0A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 28 61 00 00 35 04 06 00 DD A9 46 25 B1 85 49 3B 19 8F 27 0A 31 76 [13:47:55]CheckFolder [13:47:55]dirname=/storage/ofd_packets [13:47:55]CheckFolder done [13:47:55]ProducePacketName [13:47:55]name=ofd_packets/00024872 [13:47:55]NVStorageSaveData ofd_packets/00024872 [13:47:55]File name is /storage/ofd_packets/00024872 [13:47:55]Write 325 bytes [13:47:55]NVStorageSaveData done [13:47:55]OFDSenderStorePacket done [13:47:55]KKMCreateOFDPacket done [13:47:55]NVStorageSaveData kkm_last_timestamp [13:47:55]File name is /storage/kkm_last_timestamp [13:47:55]Write 4 bytes [13:47:55]NVStorageSaveData done [13:47:55]ExternCall_PrintAddStr [13:47:55]wPrintStart [13:47:55]Write to MH i2c: 01 00 00 B7 09 C0 [13:47:55]Write i2c OK [13:47:55]MH_I2C_Read... [13:47:55]Read from MH i2c: 01 [13:47:55]MH_I2C_Read... [13:47:55]Read from MH i2c: 01 07 00 [13:47:55]MH_I2C_Read... [13:47:55]Read from MH i2c: 01 07 00 B7 09 00 00 00 00 00 FF 0F D5 [13:47:55]RasterBufferAndPrint [13:47:55]line Счет N : (3)34632 [13:47:55]line ИНН: 02508201610067 [13:47:55]line Контрольно-Кассовый Чек [13:47:55]line ПРОДАЖА [13:47:55]line Товар: 48743587 [13:47:55]line Сигареты Winston XStyle Silver [13:47:55]line 1.000 * 144.00 [13:47:55]line = 144.00 [13:47:55]line НДС 12% НСП 1% [13:47:55]line > о реализуемом товаре [13:47:55]line ИТОГО: 144.00 [13:47:55]line НСП 1% : 1.27 [13:47:55]line НДС 12% : 15.29 [13:47:55]line Наличными: 144.00 [13:47:55]line Безнал.: 0.00 [13:47:55]line Место: АЗС № 161 "Партнер Нефть" [13:47:55]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [13:47:55]line СНО: Общий режим [13:47:55]line Чек 30 20.10.2024 13:47 [13:47:55]line Смена: 455 ФФД: 1.0 [13:47:55]line ЗНМ: 0300000240 [13:47:55]line РНМ: 0000000000098147 [13:47:55]line Версия ККМ: 001 [13:47:55]line ФМ: 0000000000965376 [13:47:55]line ФД: 24872 [13:47:55]line ФПД: 243719096086917 [13:47:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T134757&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24872&fm=243719096086917&tin=02508201610067®Number=0000000000098147&sum=14400 [13:47:55]line 0 [13:47:55]OFD Sender: Processing packet 24872 [packets to send 5, broken 4] [13:47:55]ProducePacketName [13:47:55]name=ofd_packets/00024872 [13:47:55]OFD Sender: To server: pG, [13:47:55]CommunicateWithHost lk.salyk.kg:30040 [13:47:55]ConnectInit lk.salyk.kg [13:47:55]written 0, free lines is 4095 [13:47:56]Connected sock=10 [13:47:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 25 F9 1F 01 9D 33 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 1E 00 00 00 F4 03 04 00 0D 0A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 28 61 00 00 35 04 06 00 DD A9 46 25 B1 85 49 3B 19 8F 27 0A 31 76 [13:47:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 AD 56 47 00 3D 03 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 28 61 00 00 F4 03 04 00 8D B2 14 67 B6 04 01 00 00 9A 25 5A CC 82 32 1F 83 [13:47:56]CommunicateWithHost err = 0 [13:47:56]CheckOFDResponse [13:47:56]1017 (14) - 77093643461234 [13:47:56]1041 (16) - 0000000000965376 [13:47:56]1040 (4) - 24872 [13:47:56]1012 (4) - 20.10.2024 07:34 [13:47:56]1206 (1) - 0 [13:47:56]OFD Sender: Remove packet 24872 [13:47:56]ProducePacketName [13:47:56]name=ofd_packets/00024872 [13:47:56]NVStorageDeleteData [13:47:56]Write to MH i2c: 01 00 00 E0 09 E9 [13:47:56]Write i2c OK [13:47:56]MH_I2C_Read... [13:47:56]Read from MH i2c: 01 [13:47:56]MH_I2C_Read... [13:47:56]Read from MH i2c: 01 07 00 [13:47:56]MH_I2C_Read... [13:47:56]Read from MH i2c: 01 07 00 E0 09 00 00 00 00 00 C7 0C C3 [13:47:56]RasterBufferAndPrint [13:47:56]line [13:47:56]line [13:47:56]line [13:47:56]line [13:47:56]line [13:47:56]written 0, free lines is 3276 [13:47:56]process_action close_receipt done [13:47:56]requested_data is exist [13:47:56]produce_requested_data [13:47:56]requested_item fm.sn is exist - process it [13:47:56]wFMCommunicate request_size=4 [13:47:56]MH_SAM_APDU [13:47:56]CAPDU: 80 11 00 00 [13:47:56]Write to MH i2c: E2 08 00 E7 09 80 11 00 00 00 00 00 00 6A [13:47:56]Write i2c OK [13:47:56]MH_I2C_Read... [13:47:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:47:56]Read from MH i2c: E2 [13:47:56]MH_I2C_Read... [13:47:56]Read from MH i2c: E2 17 00 [13:47:56]MH_I2C_Read... [13:47:56]Read from MH i2c: E2 17 00 E7 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 C1 [13:47:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [13:47:56]wFMCommunicate OK [13:47:56]requested_item fd.num is exist - process it [13:47:56]SAM_PROTO_GetFieldsCounters [13:47:56]wFMCommunicate request_size=4 [13:47:56]MH_SAM_APDU [13:47:56]CAPDU: 80 13 00 00 [13:47:56]Write to MH i2c: E2 08 00 E8 09 80 13 00 00 00 00 00 00 6D [13:47:56]Write i2c OK [13:47:56]MH_I2C_Read... [13:47:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:47:56]Read from MH i2c: E2 [13:47:56]MH_I2C_Read... [13:47:56]Read from MH i2c: E2 62 00 [13:47:56]MH_I2C_Read... [13:47:56]Read from MH i2c: E2 62 00 E8 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 28 61 00 00 0E 04 04 00 C7 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 41 [13:47:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 28 61 00 00 0E 04 04 00 C7 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 [13:47:56]wFMCommunicate OK [13:47:56]SAM_PROTO_GetFieldsCounters done [13:47:56]requested_item shift.num is exist - process it [13:47:56]requested_item shift.opened is exist - process it [13:47:56]req_shift_opened [13:47:56]FM_GetShiftState [13:47:56]SAM_PROTO_GetShiftState [13:47:56]wFMCommunicate request_size=4 [13:47:56]MH_SAM_APDU [13:47:56]CAPDU: 80 13 01 00 [13:47:56]Write to MH i2c: E2 08 00 E9 09 80 13 01 00 00 00 00 00 6F [13:47:56]Write i2c OK [13:47:56]MH_I2C_Read... [13:47:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:47:56]Read from MH i2c: E2 [13:47:56]MH_I2C_Read... [13:47:56]Read from MH i2c: E2 0E 00 [13:47:56]MH_I2C_Read... [13:47:56]Read from MH i2c: E2 0E 00 E9 09 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 B5 [13:47:56]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [13:47:56]wFMCommunicate OK [13:47:56]SAM_PROTO_GetShiftState done [13:47:56]FM_GetShiftState done [13:47:56]req_shift_opened done [13:47:56]requested_item shift.open_date is exist - process it [13:47:56]req_shift_open_date [13:47:56]req_shift_open_date done [13:47:56]produce_requested_data done [13:47:56]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24872,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [13:47:56]process_action_free close_receipt [13:47:56]json_value_free [13:47:56]json_value_free done [13:47:56]process_json_proto returns [13:47:56]Send response to host [13:47:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24872,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [13:47:56]free response buf [13:47:56]execute_script done [13:47:56]execute_script returns [13:47:56]free content buf [13:47:56]Sock 7.Close socket [13:47:56]Sock 7.Thread stoped [13:47:56]OFD Sender: No OFD packet to send [13:48:01]OFD Sender: No OFD packet to send [13:48:06]OFD Sender: No OFD packet to send [13:48:11]OFD Sender: No OFD packet to send [13:48:16]OFD Sender: No OFD packet to send [13:48:21]OFD Sender: No OFD packet to send [13:48:26]OFD Sender: No OFD packet to send [13:48:31]OFD Sender: No OFD packet to send [13:48:36]OFD Sender: No OFD packet to send [13:48:41]OFD Sender: No OFD packet to send [13:48:46]OFD Sender: No OFD packet to send [13:48:51]OFD Sender: No OFD packet to send [13:48:56]OFD Sender: No OFD packet to send [13:49:01]OFD Sender: No OFD packet to send [13:49:06]OFD Sender: No OFD packet to send [13:49:10]accept exits with 9 [13:49:10]New connection [13:49:10]New thread 3067309412 created [13:49:10]Thread 3067166052 joined [13:49:10]Waiting for new connection... [13:49:10] Sock 9.Parse request [13:49:10]Sock 9.Check first char [13:49:10]Sock 9.First char is OK [13:49:10]request: POST /json_proto HTTP/1.0 [13:49:10]Method: POST [13:49:10]URL: /json_proto [13:49:10]Method is POST - this is cgi request [13:49:10]url: /json_proto [13:49:10]query_string will be loaded in cgi processing [13:49:10]execute_cgi json_proto POST (null) [13:49:10]execute_cgi path=json_proto method=POST [13:49:10]POST find Content-Length [13:49:10]Host: 172.17.53.196:8080 [13:49:10]Content-Length: 643 [13:49:10]Content-Type: application/json [13:49:10] [13:49:10]POST finish read [13:49:10]Found Content-Length = 643 [13:49:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34633", "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" ] } } [13:49:10]execute_script... [13:49: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)34633", "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" ] } } [13:49:10]POST & json_proto [13:49:10]process_json_proto [13:49:10]json parsed OK: [13:49:10]protocol is kg_v1.0 [13:49:10]action value=close_receipt [13:49:10]process_action close_receipt [13:49:10]cmd_close_receipt [13:49:10]MH_GetDate [13:49:10]Write to MH i2c: F0 00 00 EA 09 E2 [13:49:10]Write i2c OK [13:49:10]MH_I2C_Read... [13:49:10]Read from MH i2c: F0 [13:49:10]MH_I2C_Read... [13:49:10]Read from MH i2c: F0 09 00 [13:49:10]MH_I2C_Read... [13:49:10]Read from MH i2c: F0 09 00 EA 09 00 5A 0A 15 67 4F CD 9A 65 E6 [13:49:10]GetLastDocTimeStamp 1729432077 [13:49:10]current date 1729432154 [13:49:10]FM_GetShiftState [13:49:10]SAM_PROTO_GetShiftState [13:49:10]wFMCommunicate request_size=4 [13:49:10]MH_SAM_APDU [13:49:10]CAPDU: 80 13 01 00 [13:49:10]Write to MH i2c: E2 08 00 EB 09 80 13 01 00 00 00 00 00 71 [13:49:10]Write i2c OK [13:49:10]MH_I2C_Read... [13:49:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:49:11]Read from MH i2c: E2 [13:49:11]MH_I2C_Read... [13:49:11]Read from MH i2c: E2 0E 00 [13:49:11]MH_I2C_Read... [13:49:11]Read from MH i2c: E2 0E 00 EB 09 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 B7 [13:49:11]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [13:49:11]wFMCommunicate OK [13:49:11]SAM_PROTO_GetShiftState done [13:49:11]FM_GetShiftState done [13:49:11]opened in 1729384049 [13:49:11]opened+sec_in_day 1729470449 [13:49:11]quantity*price = 3500 [13:49:11]sum+1 = 3501 [13:49:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 35.00 НСП 1% : 0.31 НДС 12% : 3.72 Наличными: 35.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 31 20.10.2024 13:49 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24873 ФПД: 262478745863302 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T134914&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24873&fm=262478745863302&tin=02508201610067®Number=0000000000098147&sum=3500 0 [13:49:12]StoreToDocumentArchive [13:49:12]shift 455 fd 24873 [13:49:12]save to /storage/0455/doc_00024873 [13:49:12]save last doc name /storage/0455/doc_00024873 to /storage/kkm_last_doc_name [13:49:12]save OK [13:49:12]Clear old archive folders... [13:49:12]ProcessDocumentItem done err = 0, tmpTLVsize=275 [13:49:12]tlvbuf is 00E0E370 [13:49:12]SAM_PROTO_ClearQueue [13:49:12]wFMCommunicate request_size=4 [13:49:12]MH_SAM_APDU [13:49:12]CAPDU: 80 09 00 00 [13:49:12]Write to MH i2c: E2 08 00 F8 09 80 09 00 00 00 00 00 00 73 [13:49:12]Write i2c OK [13:49:12]MH_I2C_Read... [13:49:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:49:12]Read from MH i2c: E2 [13:49:12]MH_I2C_Read... [13:49:12]Read from MH i2c: E2 03 00 [13:49:12]MH_I2C_Read... [13:49:12]Read from MH i2c: E2 03 00 F8 09 00 90 00 75 [13:49:12]RAPDU: 90 00 [13:49:12]wFMCommunicate OK [13:49:12]SAM_PROTO_ClearQueue done [13:49:12]KKMCreateOFDPacket [13:49:12]OFDProtocolAddRootSTLVToBuf [13:49:12]FM_MakeSignedData [13:49:12]FM_MakeSignedData [13:49:12]SAM_PROTO_SignData [13:49:12]wFMCommunicate request_size=4 [13:49:12]MH_SAM_APDU [13:49:12]CAPDU: 80 0D 01 02 [13:49:12]Write to MH i2c: E2 08 00 F9 09 80 0D 01 02 00 00 00 00 7B [13:49:12]Write i2c OK [13:49:12]MH_I2C_Read... [13:49:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:49:12]Read from MH i2c: E2 [13:49:12]MH_I2C_Read... [13:49:12]Read from MH i2c: E2 03 00 [13:49:12]MH_I2C_Read... [13:49:12]Read from MH i2c: E2 03 00 F9 09 00 90 00 76 [13:49:12]RAPDU: 90 00 [13:49:12]wFMCommunicate OK [13:49:12]wFMCommunicate request_size=255 [13:49:12]MH_SAM_APDU [13:49:12]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 1F 00 00 00 F4 03 04 00 5A 0A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 [13:49:12]Write to MH i2c: E2 02 01 FA 09 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 1F 00 00 00 F4 03 04 00 5A 0A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 00 00 2E [13:49:12]Write i2c OK [13:49:12]MH_I2C_Read... [13:49:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:49:12]Read from MH i2c: E2 [13:49:12]MH_I2C_Read... [13:49:12]Read from MH i2c: E2 03 00 [13:49:12]MH_I2C_Read... [13:49:12]Read from MH i2c: E2 03 00 FA 09 00 90 00 77 [13:49:12]RAPDU: 90 00 [13:49:12]wFMCommunicate OK [13:49:12]wFMCommunicate request_size=34 [13:49:12]MH_SAM_APDU [13:49:12]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 29 61 00 00 35 04 06 00 EE B9 18 68 84 86 [13:49:12]Write to MH i2c: E2 25 00 FB 09 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 29 61 00 00 35 04 06 00 EE B9 18 68 84 86 00 00 FE [13:49:12]Write i2c OK [13:49:12]MH_I2C_Read... [13:49:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:49:12]Read from MH i2c: E2 [13:49:12]MH_I2C_Read... [13:49:12]Read from MH i2c: E2 03 00 [13:49:12]MH_I2C_Read... [13:49:12]Read from MH i2c: E2 03 00 FB 09 00 90 00 78 [13:49:12]RAPDU: 90 00 [13:49:12]wFMCommunicate OK [13:49:12]wFMCommunicate request_size=4 [13:49:12]MH_SAM_APDU [13:49:12]CAPDU: 80 0D 03 02 [13:49:12]Write to MH i2c: E2 08 00 FC 09 80 0D 03 02 00 00 00 00 80 [13:49:12]Write i2c OK [13:49:12]MH_I2C_Read... [13:49:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:49:12]Read from MH i2c: E2 [13:49:12]MH_I2C_Read... [13:49:12]Read from MH i2c: E2 0B 00 [13:49:12]MH_I2C_Read... [13:49:12]Read from MH i2c: E2 0B 00 FC 09 00 71 E0 7C B0 A2 E1 A9 B4 90 00 DE [13:49:12]RAPDU: 71 E0 7C B0 A2 E1 A9 B4 90 00 [13:49:12]wFMCommunicate OK [13:49:12]SAM_PROTO_SignData done [13:49:12]FM_MakeSignedData done [13:49:12]CreateOFDProtocolMessage [13:49:12]wFMCommunicate request_size=4 [13:49:12]MH_SAM_APDU [13:49:12]CAPDU: 80 11 00 00 [13:49:12]Write to MH i2c: E2 08 00 FD 09 80 11 00 00 00 00 00 00 80 [13:49:12]Write i2c OK [13:49:12]MH_I2C_Read... [13:49:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:49:12]Read from MH i2c: E2 [13:49:12]MH_I2C_Read... [13:49:12]Read from MH i2c: E2 17 00 [13:49:12]MH_I2C_Read... [13:49:12]Read from MH i2c: E2 17 00 FD 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 D7 [13:49:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [13:49:12]wFMCommunicate OK [13:49:12]CreateOFDProtocolMessage done [13:49:12]OFDSenderStorePacket 24873 [13:49:12]StoreOFDPacket docnum=24873 [13:49:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 DB 19 1F 01 40 70 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 1F 00 00 00 F4 03 04 00 5A 0A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 29 61 00 00 35 04 06 00 EE B9 18 68 84 86 71 E0 7C B0 A2 E1 A9 B4 [13:49:12]CheckFolder [13:49:12]dirname=/storage/ofd_packets [13:49:12]CheckFolder done [13:49:12]ProducePacketName [13:49:12]name=ofd_packets/00024873 [13:49:12]NVStorageSaveData ofd_packets/00024873 [13:49:12]File name is /storage/ofd_packets/00024873 [13:49:12]Write 325 bytes [13:49:12]NVStorageSaveData done [13:49:12]OFDSenderStorePacket done [13:49:12]KKMCreateOFDPacket done [13:49:12]NVStorageSaveData kkm_last_timestamp [13:49:12]File name is /storage/kkm_last_timestamp [13:49:12]Write 4 bytes [13:49:12]NVStorageSaveData done [13:49:12]ExternCall_PrintAddStr [13:49:12]wPrintStart [13:49:12]Write to MH i2c: 01 00 00 FE 09 07 [13:49:12]Write i2c OK [13:49:12]MH_I2C_Read... [13:49:12]Read from MH i2c: 01 [13:49:12]MH_I2C_Read... [13:49:12]Read from MH i2c: 01 07 00 [13:49:12]MH_I2C_Read... [13:49:12]Read from MH i2c: 01 07 00 FE 09 00 00 00 00 00 FF 0F 1C [13:49:12]RasterBufferAndPrint [13:49:12]line Счет N : (3)34633 [13:49:12]line ИНН: 02508201610067 [13:49:12]line Контрольно-Кассовый Чек [13:49:12]line ПРОДАЖА [13:49:12]line Товар: 4700000310326 [13:49:12]line Вода Адыгене 1л б/г [13:49:12]line 1.000 * 35.00 [13:49:12]line = 35.00 [13:49:12]line НДС 12% НСП 1% [13:49:12]line > о реализуемом товаре [13:49:12]line ИТОГО: 35.00 [13:49:12]line НСП 1% : 0.31 [13:49:12]line НДС 12% : 3.72 [13:49:12]line Наличными: 35.00 [13:49:12]line Безнал.: 0.00 [13:49:12]line Место: АЗС № 161 "Партнер Нефть" [13:49:12]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [13:49:12]line СНО: Общий режим [13:49:12]line Чек 31 20.10.2024 13:49 [13:49:12]line Смена: 455 ФФД: 1.0 [13:49:12]line ЗНМ: 0300000240 [13:49:12]line РНМ: 0000000000098147 [13:49:12]line Версия ККМ: 001 [13:49:12]line ФМ: 0000000000965376 [13:49:12]line ФД: 24873 [13:49:12]line ФПД: 262478745863302 [13:49:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T134914&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24873&fm=262478745863302&tin=02508201610067®Number=0000000000098147&sum=3500 [13:49:13]line 0 [13:49:13]OFD Sender: Processing packet 24873 [packets to send 5, broken 4] [13:49:13]ProducePacketName [13:49:13]name=ofd_packets/00024873 [13:49:13]OFD Sender: To server: pG, [13:49:13]CommunicateWithHost lk.salyk.kg:30040 [13:49:13]ConnectInit lk.salyk.kg [13:49:13]written 0, free lines is 4095 [13:49:13]Connected sock=10 [13:49:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 DB 19 1F 01 40 70 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 1F 00 00 00 F4 03 04 00 5A 0A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 29 61 00 00 35 04 06 00 EE B9 18 68 84 86 71 E0 7C B0 A2 E1 A9 B4 [13:49:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 F9 0D 47 00 66 90 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 29 61 00 00 F4 03 04 00 DA B2 14 67 B6 04 01 00 00 2F D8 8A 61 1C 02 34 08 [13:49:13]CommunicateWithHost err = 0 [13:49:13]CheckOFDResponse [13:49:13]1017 (14) - 77093643461234 [13:49:13]1041 (16) - 0000000000965376 [13:49:13]1040 (4) - 24873 [13:49:13]1012 (4) - 20.10.2024 07:35 [13:49:13]1206 (1) - 0 [13:49:13]OFD Sender: Remove packet 24873 [13:49:13]ProducePacketName [13:49:13]name=ofd_packets/00024873 [13:49:13]NVStorageDeleteData [13:49:13]Write to MH i2c: 01 00 00 26 0A 30 [13:49:13]Write i2c OK [13:49:13]MH_I2C_Read... [13:49:13]Read from MH i2c: 01 [13:49:13]MH_I2C_Read... [13:49:13]Read from MH i2c: 01 07 00 [13:49:13]MH_I2C_Read... [13:49:13]Read from MH i2c: 01 07 00 26 0A 00 00 00 00 00 ED 0C 30 [13:49:13]RasterBufferAndPrint [13:49:13]line [13:49:13]line [13:49:13]line [13:49:13]line [13:49:13]line [13:49:13]written 0, free lines is 3315 [13:49:13]process_action close_receipt done [13:49:13]requested_data is exist [13:49:13]produce_requested_data [13:49:13]requested_item fm.sn is exist - process it [13:49:13]wFMCommunicate request_size=4 [13:49:13]MH_SAM_APDU [13:49:13]CAPDU: 80 11 00 00 [13:49:13]Write to MH i2c: E2 08 00 2D 0A 80 11 00 00 00 00 00 00 B1 [13:49:13]Write i2c OK [13:49:13]MH_I2C_Read... [13:49:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:49:13]Read from MH i2c: E2 [13:49:13]MH_I2C_Read... [13:49:13]Read from MH i2c: E2 17 00 [13:49:13]MH_I2C_Read... [13:49:13]Read from MH i2c: E2 17 00 2D 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 08 [13:49:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [13:49:13]wFMCommunicate OK [13:49:13]requested_item fd.num is exist - process it [13:49:13]SAM_PROTO_GetFieldsCounters [13:49:13]wFMCommunicate request_size=4 [13:49:13]MH_SAM_APDU [13:49:13]CAPDU: 80 13 00 00 [13:49:13]Write to MH i2c: E2 08 00 2E 0A 80 13 00 00 00 00 00 00 B4 [13:49:13]Write i2c OK [13:49:13]MH_I2C_Read... [13:49:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:49:13]Read from MH i2c: E2 [13:49:13]MH_I2C_Read... [13:49:13]Read from MH i2c: E2 62 00 [13:49:13]MH_I2C_Read... [13:49:13]Read from MH i2c: E2 62 00 2E 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 29 61 00 00 0E 04 04 00 C7 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 8C [13:49: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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 29 61 00 00 0E 04 04 00 C7 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 [13:49:13]wFMCommunicate OK [13:49:13]SAM_PROTO_GetFieldsCounters done [13:49:13]requested_item shift.num is exist - process it [13:49:13]requested_item shift.opened is exist - process it [13:49:13]req_shift_opened [13:49:13]FM_GetShiftState [13:49:13]SAM_PROTO_GetShiftState [13:49:13]wFMCommunicate request_size=4 [13:49:13]MH_SAM_APDU [13:49:13]CAPDU: 80 13 01 00 [13:49:13]Write to MH i2c: E2 08 00 2F 0A 80 13 01 00 00 00 00 00 B6 [13:49:13]Write i2c OK [13:49:13]MH_I2C_Read... [13:49:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:49:13]Read from MH i2c: E2 [13:49:13]MH_I2C_Read... [13:49:13]Read from MH i2c: E2 0E 00 [13:49:13]MH_I2C_Read... [13:49:13]Read from MH i2c: E2 0E 00 2F 0A 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 FC [13:49:13]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [13:49:13]wFMCommunicate OK [13:49:13]SAM_PROTO_GetShiftState done [13:49:13]FM_GetShiftState done [13:49:13]req_shift_opened done [13:49:13]requested_item shift.open_date is exist - process it [13:49:13]req_shift_open_date [13:49:13]req_shift_open_date done [13:49:13]produce_requested_data done [13:49:13]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24873,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [13:49:13]process_action_free close_receipt [13:49:13]json_value_free [13:49:13]json_value_free done [13:49:13]process_json_proto returns [13:49:13]Send response to host [13:49:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24873,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [13:49:13]free response buf [13:49:13]execute_script done [13:49:13]execute_script returns [13:49:13]free content buf [13:49:13]Sock 9.Close socket [13:49:13]Sock 9.Thread stoped [13:49:13]OFD Sender: No OFD packet to send [13:49:18]OFD Sender: No OFD packet to send [13:49:23]OFD Sender: No OFD packet to send [13:49:28]OFD Sender: No OFD packet to send [13:49:33]OFD Sender: No OFD packet to send [13:49:38]OFD Sender: No OFD packet to send [13:49:43]OFD Sender: No OFD packet to send [13:49:48]OFD Sender: No OFD packet to send [13:49:53]OFD Sender: No OFD packet to send [13:49:58]OFD Sender: No OFD packet to send [13:50:03]OFD Sender: No OFD packet to send [13:50:08]OFD Sender: No OFD packet to send [13:50:13]OFD Sender: No OFD packet to send [13:50:18]OFD Sender: No OFD packet to send [13:50:23]OFD Sender: No OFD packet to send [13:50:28]OFD Sender: No OFD packet to send [13:50:33]OFD Sender: No OFD packet to send [13:50:38]OFD Sender: No OFD packet to send [13:50:43]OFD Sender: No OFD packet to send [13:50:48]OFD Sender: No OFD packet to send [13:50:53]OFD Sender: No OFD packet to send [13:50:58]OFD Sender: No OFD packet to send [13:51:03]OFD Sender: No OFD packet to send [13:51:08]OFD Sender: No OFD packet to send [13:51:13]OFD Sender: No OFD packet to send [13:51:18]OFD Sender: No OFD packet to send [13:51:23]OFD Sender: No OFD packet to send [13:51:28]OFD Sender: No OFD packet to send [13:51:33]OFD Sender: No OFD packet to send [13:51:38]OFD Sender: No OFD packet to send [13:51:43]OFD Sender: No OFD packet to send [13:51:48]OFD Sender: No OFD packet to send [13:51:53]OFD Sender: No OFD packet to send [13:51:58]OFD Sender: No OFD packet to send [13:52:03]OFD Sender: No OFD packet to send [13:52:08]OFD Sender: No OFD packet to send [13:52:13]OFD Sender: No OFD packet to send [13:52:18]OFD Sender: No OFD packet to send [13:52:23]OFD Sender: No OFD packet to send [13:52:29]OFD Sender: No OFD packet to send [13:52:34]OFD Sender: No OFD packet to send [13:52:39]OFD Sender: No OFD packet to send [13:52:44]OFD Sender: No OFD packet to send [13:52:49]OFD Sender: No OFD packet to send [13:52:54]OFD Sender: No OFD packet to send [13:52:59]OFD Sender: No OFD packet to send [13:53:04]OFD Sender: No OFD packet to send [13:53:09]OFD Sender: No OFD packet to send [13:53:14]OFD Sender: No OFD packet to send [13:53:19]OFD Sender: No OFD packet to send [13:53:24]OFD Sender: No OFD packet to send [13:53:29]OFD Sender: No OFD packet to send [13:53:34]OFD Sender: No OFD packet to send [13:53:39]OFD Sender: No OFD packet to send [13:53:44]OFD Sender: No OFD packet to send [13:53:49]OFD Sender: No OFD packet to send [13:53:54]OFD Sender: No OFD packet to send [13:53:59]OFD Sender: No OFD packet to send [13:54:04]OFD Sender: No OFD packet to send [13:54:09]OFD Sender: No OFD packet to send [13:54:14]OFD Sender: No OFD packet to send [13:54:19]OFD Sender: No OFD packet to send [13:54:24]OFD Sender: No OFD packet to send [13:54:29]OFD Sender: No OFD packet to send [13:54:34]OFD Sender: No OFD packet to send [13:54:39]OFD Sender: No OFD packet to send [13:54:44]OFD Sender: No OFD packet to send [13:54:49]OFD Sender: No OFD packet to send [13:54:54]OFD Sender: No OFD packet to send [13:54:59]OFD Sender: No OFD packet to send [13:55:04]OFD Sender: No OFD packet to send [13:55:09]OFD Sender: No OFD packet to send [13:55:14]OFD Sender: No OFD packet to send [13:55:19]OFD Sender: No OFD packet to send [13:55:24]OFD Sender: No OFD packet to send [13:55:29]OFD Sender: No OFD packet to send [13:55:34]OFD Sender: No OFD packet to send [13:55:39]OFD Sender: No OFD packet to send [13:55:44]OFD Sender: No OFD packet to send [13:55:49]OFD Sender: No OFD packet to send [13:55:54]OFD Sender: No OFD packet to send [13:55:59]OFD Sender: No OFD packet to send [13:56:04]OFD Sender: No OFD packet to send [13:56:09]OFD Sender: No OFD packet to send [13:56:14]OFD Sender: No OFD packet to send [13:56:19]OFD Sender: No OFD packet to send [13:56:24]OFD Sender: No OFD packet to send [13:56:29]OFD Sender: No OFD packet to send [13:56:34]OFD Sender: No OFD packet to send [13:56:39]OFD Sender: No OFD packet to send [13:56:44]OFD Sender: No OFD packet to send [13:56:49]OFD Sender: No OFD packet to send [13:56:54]OFD Sender: No OFD packet to send [13:56:59]OFD Sender: No OFD packet to send [13:57:04]OFD Sender: No OFD packet to send [13:57:09]OFD Sender: No OFD packet to send [13:57:14]OFD Sender: No OFD packet to send [13:57:19]OFD Sender: No OFD packet to send [13:57:24]OFD Sender: No OFD packet to send [13:57:29]OFD Sender: No OFD packet to send [13:57:34]OFD Sender: No OFD packet to send [13:57:39]OFD Sender: No OFD packet to send [13:57:44]OFD Sender: No OFD packet to send [13:57:49]OFD Sender: No OFD packet to send [13:57:53]accept exits with 7 [13:57:53]New connection [13:57:53]New thread 3067166052 created [13:57:53]Thread 3067309412 joined [13:57:53]Waiting for new connection... [13:57:53] Sock 7.Parse request [13:57:53]Sock 7.Check first char [13:57:53]Sock 7.First char is OK [13:57:53]request: POST /json_proto HTTP/1.0 [13:57:53]Method: POST [13:57:53]URL: /json_proto [13:57:53]Method is POST - this is cgi request [13:57:53]url: /json_proto [13:57:53]query_string will be loaded in cgi processing [13:57:53]execute_cgi json_proto POST (null) [13:57:53]execute_cgi path=json_proto method=POST [13:57:53]POST find Content-Length [13:57:53]Host: 172.17.53.196:8080 [13:57:53]Content-Length: 621 [13:57:53]Content-Type: application/json [13:57:53] [13:57:53]POST finish read [13:57:53]Found Content-Length = 621 [13:57:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34634", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:57:53]execute_script... [13:57:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34634", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:57:53]POST & json_proto [13:57:53]process_json_proto [13:57:53]json parsed OK: [13:57:53]protocol is kg_v1.0 [13:57:53]action value=close_receipt [13:57:53]process_action close_receipt [13:57:53]cmd_close_receipt [13:57:53]MH_GetDate [13:57:53]Write to MH i2c: F0 00 00 30 0A 29 [13:57:53]Write i2c OK [13:57:53]MH_I2C_Read... [13:57:53]Read from MH i2c: F0 [13:57:53]MH_I2C_Read... [13:57:53]Read from MH i2c: F0 09 00 [13:57:53]MH_I2C_Read... [13:57:53]Read from MH i2c: F0 09 00 30 0A 00 64 0C 15 67 4F CD 9A 65 39 [13:57:53]GetLastDocTimeStamp 1729432154 [13:57:53]current date 1729432676 [13:57:53]FM_GetShiftState [13:57:53]SAM_PROTO_GetShiftState [13:57:53]wFMCommunicate request_size=4 [13:57:53]MH_SAM_APDU [13:57:53]CAPDU: 80 13 01 00 [13:57:53]Write to MH i2c: E2 08 00 31 0A 80 13 01 00 00 00 00 00 B8 [13:57:53]Write i2c OK [13:57:53]MH_I2C_Read... [13:57:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:57:53]Read from MH i2c: E2 [13:57:53]MH_I2C_Read... [13:57:53]Read from MH i2c: E2 0E 00 [13:57:53]MH_I2C_Read... [13:57:53]Read from MH i2c: E2 0E 00 31 0A 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 FE [13:57:53]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [13:57:53]wFMCommunicate OK [13:57:53]SAM_PROTO_GetShiftState done [13:57:53]FM_GetShiftState done [13:57:53]opened in 1729384049 [13:57:53]opened+sec_in_day 1729470449 [13:57:53]quantity*price = 15000 [13:57:53]sum+1 = 15001 [13:57:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 32 20.10.2024 13:57 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24874 ФПД: 266450399217522 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T135757&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24874&fm=266450399217522&tin=02508201610067®Number=0000000000098147&sum=15000 0 [13:57:55]StoreToDocumentArchive [13:57:55]shift 455 fd 24874 [13:57:55]save to /storage/0455/doc_00024874 [13:57:55]save last doc name /storage/0455/doc_00024874 to /storage/kkm_last_doc_name [13:57:55]save OK [13:57:55]Clear old archive folders... [13:57:55]ProcessDocumentItem done err = 0, tmpTLVsize=274 [13:57:55]tlvbuf is 00DE59F0 [13:57:55]SAM_PROTO_ClearQueue [13:57:55]wFMCommunicate request_size=4 [13:57:55]MH_SAM_APDU [13:57:55]CAPDU: 80 09 00 00 [13:57:55]Write to MH i2c: E2 08 00 3E 0A 80 09 00 00 00 00 00 00 BA [13:57:55]Write i2c OK [13:57:55]MH_I2C_Read... [13:57:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:57:55]Read from MH i2c: E2 [13:57:55]MH_I2C_Read... [13:57:55]Read from MH i2c: E2 03 00 [13:57:55]MH_I2C_Read... [13:57:55]Read from MH i2c: E2 03 00 3E 0A 00 90 00 BC [13:57:55]RAPDU: 90 00 [13:57:55]wFMCommunicate OK [13:57:55]SAM_PROTO_ClearQueue done [13:57:55]KKMCreateOFDPacket [13:57:55]OFDProtocolAddRootSTLVToBuf [13:57:55]FM_MakeSignedData [13:57:55]FM_MakeSignedData [13:57:55]SAM_PROTO_SignData [13:57:55]wFMCommunicate request_size=4 [13:57:55]MH_SAM_APDU [13:57:55]CAPDU: 80 0D 01 02 [13:57:55]Write to MH i2c: E2 08 00 3F 0A 80 0D 01 02 00 00 00 00 C2 [13:57:55]Write i2c OK [13:57:55]MH_I2C_Read... [13:57:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:57:55]Read from MH i2c: E2 [13:57:55]MH_I2C_Read... [13:57:55]Read from MH i2c: E2 03 00 [13:57:55]MH_I2C_Read... [13:57:55]Read from MH i2c: E2 03 00 3F 0A 00 90 00 BD [13:57:55]RAPDU: 90 00 [13:57:55]wFMCommunicate OK [13:57:55]wFMCommunicate request_size=255 [13:57:55]MH_SAM_APDU [13:57:55]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 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 20 00 00 00 F4 03 04 00 65 0C 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 [13:57:55]Write to MH i2c: E2 02 01 40 0A 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 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 20 00 00 00 F4 03 04 00 65 0C 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 00 00 38 [13:57:55]Write i2c OK [13:57:55]MH_I2C_Read... [13:57:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:57:55]Read from MH i2c: E2 [13:57:55]MH_I2C_Read... [13:57:55]Read from MH i2c: E2 03 00 [13:57:55]MH_I2C_Read... [13:57:55]Read from MH i2c: E2 03 00 40 0A 00 90 00 BE [13:57:55]RAPDU: 90 00 [13:57:55]wFMCommunicate OK [13:57:55]wFMCommunicate request_size=33 [13:57:55]MH_SAM_APDU [13:57:55]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2A 61 00 00 35 04 06 00 F2 55 D1 65 47 72 [13:57:55]Write to MH i2c: E2 24 00 41 0A 80 0D 02 02 1C 00 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2A 61 00 00 35 04 06 00 F2 55 D1 65 47 72 00 00 19 [13:57:55]Write i2c OK [13:57:55]MH_I2C_Read... [13:57:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:57:55]Read from MH i2c: E2 [13:57:55]MH_I2C_Read... [13:57:55]Read from MH i2c: E2 03 00 [13:57:55]MH_I2C_Read... [13:57:55]Read from MH i2c: E2 03 00 41 0A 00 90 00 BF [13:57:55]RAPDU: 90 00 [13:57:55]wFMCommunicate OK [13:57:55]wFMCommunicate request_size=4 [13:57:55]MH_SAM_APDU [13:57:55]CAPDU: 80 0D 03 02 [13:57:55]Write to MH i2c: E2 08 00 42 0A 80 0D 03 02 00 00 00 00 C7 [13:57:55]Write i2c OK [13:57:55]MH_I2C_Read... [13:57:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:57:55]Read from MH i2c: E2 [13:57:55]MH_I2C_Read... [13:57:55]Read from MH i2c: E2 0B 00 [13:57:55]MH_I2C_Read... [13:57:55]Read from MH i2c: E2 0B 00 42 0A 00 D1 2A 9B 8B 17 9C 15 5F 90 00 10 [13:57:55]RAPDU: D1 2A 9B 8B 17 9C 15 5F 90 00 [13:57:55]wFMCommunicate OK [13:57:55]SAM_PROTO_SignData done [13:57:55]FM_MakeSignedData done [13:57:55]CreateOFDProtocolMessage [13:57:55]wFMCommunicate request_size=4 [13:57:55]MH_SAM_APDU [13:57:55]CAPDU: 80 11 00 00 [13:57:55]Write to MH i2c: E2 08 00 43 0A 80 11 00 00 00 00 00 00 C7 [13:57:55]Write i2c OK [13:57:55]MH_I2C_Read... [13:57:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:57:55]Read from MH i2c: E2 [13:57:55]MH_I2C_Read... [13:57:55]Read from MH i2c: E2 17 00 [13:57:55]MH_I2C_Read... [13:57:55]Read from MH i2c: E2 17 00 43 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 1E [13:57:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [13:57:55]wFMCommunicate OK [13:57:55]CreateOFDProtocolMessage done [13:57:55]OFDSenderStorePacket 24874 [13:57:55]StoreOFDPacket docnum=24874 [13:57:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 26 01 00 00 A3 11 1E 01 69 1B 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 65 0C 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2A 61 00 00 35 04 06 00 F2 55 D1 65 47 72 D1 2A 9B 8B 17 9C 15 5F [13:57:55]CheckFolder [13:57:55]dirname=/storage/ofd_packets [13:57:55]CheckFolder done [13:57:55]ProducePacketName [13:57:55]name=ofd_packets/00024874 [13:57:55]NVStorageSaveData ofd_packets/00024874 [13:57:55]File name is /storage/ofd_packets/00024874 [13:57:55]Write 324 bytes [13:57:55]NVStorageSaveData done [13:57:55]OFDSenderStorePacket done [13:57:55]KKMCreateOFDPacket done [13:57:55]NVStorageSaveData kkm_last_timestamp [13:57:55]File name is /storage/kkm_last_timestamp [13:57:55]Write 4 bytes [13:57:55]NVStorageSaveData done [13:57:55]ExternCall_PrintAddStr [13:57:55]wPrintStart [13:57:55]Write to MH i2c: 01 00 00 44 0A 4E [13:57:55]Write i2c OK [13:57:55]MH_I2C_Read... [13:57:55]Read from MH i2c: 01 [13:57:55]MH_I2C_Read... [13:57:55]Read from MH i2c: 01 07 00 [13:57:55]MH_I2C_Read... [13:57:55]Read from MH i2c: 01 07 00 44 0A 00 00 00 00 00 FF 0F 63 [13:57:55]RasterBufferAndPrint [13:57:55]line Счет N : (3)34634 [13:57:55]line ИНН: 02508201610067 [13:57:55]line Контрольно-Кассовый Чек [13:57:55]line ПРОДАЖА [13:57:55]line Товар: 4640030091645 [13:57:55]line Сигареты ESSE Exchange M [13:57:55]line 1.000 * 150.00 [13:57:55]line = 150.00 [13:57:55]line НДС 12% НСП 1% [13:57:55]line > о реализуемом товаре [13:57:55]line ИТОГО: 150.00 [13:57:55]line НСП 1% : 1.33 [13:57:55]line НДС 12% : 15.93 [13:57:55]line Наличными: 150.00 [13:57:55]line Безнал.: 0.00 [13:57:55]line Место: АЗС № 161 "Партнер Нефть" [13:57:55]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [13:57:55]line СНО: Общий режим [13:57:55]line Чек 32 20.10.2024 13:57 [13:57:55]line Смена: 455 ФФД: 1.0 [13:57:55]line ЗНМ: 0300000240 [13:57:55]line РНМ: 0000000000098147 [13:57:55]line Версия ККМ: 001 [13:57:55]line ФМ: 0000000000965376 [13:57:55]line ФД: 24874 [13:57:55]line ФПД: 266450399217522 [13:57:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T135757&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24874&fm=266450399217522&tin=02508201610067®Number=0000000000098147&sum=15000 [13:57:55]OFD Sender: Processing packet 24874 [packets to send 5, broken 4] [13:57:55]ProducePacketName [13:57:55]name=ofd_packets/00024874 [13:57:55]OFD Sender: To server: pG, [13:57:55]CommunicateWithHost lk.salyk.kg:30040 [13:57:55]ConnectInit lk.salyk.kg [13:57:55]line 0 [13:57:55]written 0, free lines is 4095 [13:57:56]Connected sock=10 [13:57:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 26 01 00 00 A3 11 1E 01 69 1B 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 65 0C 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2A 61 00 00 35 04 06 00 F2 55 D1 65 47 72 D1 2A 9B 8B 17 9C 15 5F [13:57:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 9A 10 47 00 55 4D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2A 61 00 00 F4 03 04 00 E5 B4 14 67 B6 04 01 00 00 E8 61 F1 0C 24 7B 0D F9 [13:57:56]CommunicateWithHost err = 0 [13:57:56]CheckOFDResponse [13:57:56]1017 (14) - 77093643461234 [13:57:56]1041 (16) - 0000000000965376 [13:57:56]1040 (4) - 24874 [13:57:56]1012 (4) - 20.10.2024 07:44 [13:57:56]1206 (1) - 0 [13:57:56]OFD Sender: Remove packet 24874 [13:57:56]ProducePacketName [13:57:56]name=ofd_packets/00024874 [13:57:56]NVStorageDeleteData [13:57:56]Write to MH i2c: 01 00 00 6C 0A 76 [13:57:56]Write i2c OK [13:57:56]MH_I2C_Read... [13:57:56]Read from MH i2c: 01 [13:57:56]MH_I2C_Read... [13:57:56]Read from MH i2c: 01 07 00 [13:57:56]MH_I2C_Read... [13:57:56]Read from MH i2c: 01 07 00 6C 0A 00 00 00 00 00 F3 0C 7C [13:57:56]RasterBufferAndPrint [13:57:56]line [13:57:56]line [13:57:56]line [13:57:56]line [13:57:56]line [13:57:56]written 0, free lines is 3322 [13:57:56]process_action close_receipt done [13:57:56]requested_data is exist [13:57:56]produce_requested_data [13:57:56]requested_item fm.sn is exist - process it [13:57:56]wFMCommunicate request_size=4 [13:57:56]MH_SAM_APDU [13:57:56]CAPDU: 80 11 00 00 [13:57:56]Write to MH i2c: E2 08 00 73 0A 80 11 00 00 00 00 00 00 F7 [13:57:56]Write i2c OK [13:57:56]MH_I2C_Read... [13:57:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:57:56]Read from MH i2c: E2 [13:57:56]MH_I2C_Read... [13:57:56]Read from MH i2c: E2 17 00 [13:57:56]MH_I2C_Read... [13:57:56]Read from MH i2c: E2 17 00 73 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 4E [13:57:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [13:57:56]wFMCommunicate OK [13:57:56]requested_item fd.num is exist - process it [13:57:56]SAM_PROTO_GetFieldsCounters [13:57:56]wFMCommunicate request_size=4 [13:57:56]MH_SAM_APDU [13:57:56]CAPDU: 80 13 00 00 [13:57:56]Write to MH i2c: E2 08 00 74 0A 80 13 00 00 00 00 00 00 FA [13:57:56]Write i2c OK [13:57:56]MH_I2C_Read... [13:57:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:57:56]Read from MH i2c: E2 [13:57:56]MH_I2C_Read... [13:57:56]Read from MH i2c: E2 62 00 [13:57:56]MH_I2C_Read... [13:57:56]Read from MH i2c: E2 62 00 74 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 2A 61 00 00 0E 04 04 00 C7 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 D6 [13:57:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 2A 61 00 00 0E 04 04 00 C7 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 [13:57:56]wFMCommunicate OK [13:57:56]SAM_PROTO_GetFieldsCounters done [13:57:56]requested_item shift.num is exist - process it [13:57:56]requested_item shift.opened is exist - process it [13:57:56]req_shift_opened [13:57:56]FM_GetShiftState [13:57:56]SAM_PROTO_GetShiftState [13:57:56]wFMCommunicate request_size=4 [13:57:56]MH_SAM_APDU [13:57:56]CAPDU: 80 13 01 00 [13:57:56]Write to MH i2c: E2 08 00 75 0A 80 13 01 00 00 00 00 00 FC [13:57:56]Write i2c OK [13:57:56]MH_I2C_Read... [13:57:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:57:56]Read from MH i2c: E2 [13:57:56]MH_I2C_Read... [13:57:56]Read from MH i2c: E2 0E 00 [13:57:56]MH_I2C_Read... [13:57:56]Read from MH i2c: E2 0E 00 75 0A 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 42 [13:57:56]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [13:57:56]wFMCommunicate OK [13:57:56]SAM_PROTO_GetShiftState done [13:57:56]FM_GetShiftState done [13:57:56]req_shift_opened done [13:57:56]requested_item shift.open_date is exist - process it [13:57:56]req_shift_open_date [13:57:56]req_shift_open_date done [13:57:56]produce_requested_data done [13:57:56]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24874,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [13:57:56]process_action_free close_receipt [13:57:56]json_value_free [13:57:56]json_value_free done [13:57:56]process_json_proto returns [13:57:56]Send response to host [13:57:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24874,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [13:57:56]free response buf [13:57:56]execute_script done [13:57:56]execute_script returns [13:57:56]free content buf [13:57:56]Sock 7.Close socket [13:57:56]Sock 7.Thread stoped [13:57:56]OFD Sender: No OFD packet to send [13:58:01]OFD Sender: No OFD packet to send [13:58:06]OFD Sender: No OFD packet to send [13:58:11]OFD Sender: No OFD packet to send [13:58:16]OFD Sender: No OFD packet to send [13:58:21]OFD Sender: No OFD packet to send [13:58:26]OFD Sender: No OFD packet to send [13:58:31]OFD Sender: No OFD packet to send [13:58:36]OFD Sender: No OFD packet to send [13:58:41]OFD Sender: No OFD packet to send [13:58:46]OFD Sender: No OFD packet to send [13:58:51]OFD Sender: No OFD packet to send [13:58:56]OFD Sender: No OFD packet to send [13:59:01]OFD Sender: No OFD packet to send [13:59:06]OFD Sender: No OFD packet to send [13:59:11]OFD Sender: No OFD packet to send [13:59:16]OFD Sender: No OFD packet to send [13:59:21]OFD Sender: No OFD packet to send [13:59:26]OFD Sender: No OFD packet to send [13:59:31]OFD Sender: No OFD packet to send [13:59:36]OFD Sender: No OFD packet to send [13:59:41]OFD Sender: No OFD packet to send [13:59:46]OFD Sender: No OFD packet to send [13:59:51]OFD Sender: No OFD packet to send [13:59:56]OFD Sender: No OFD packet to send [14:00:01]OFD Sender: No OFD packet to send [14:00:06]OFD Sender: No OFD packet to send [14:00:11]OFD Sender: No OFD packet to send [14:00:16]OFD Sender: No OFD packet to send [14:00:21]OFD Sender: No OFD packet to send [14:00:26]OFD Sender: No OFD packet to send [14:00:31]OFD Sender: No OFD packet to send [14:00:36]OFD Sender: No OFD packet to send [14:00:41]OFD Sender: No OFD packet to send [14:00:46]OFD Sender: No OFD packet to send [14:00:51]OFD Sender: No OFD packet to send [14:00:56]OFD Sender: No OFD packet to send [14:01:01]OFD Sender: No OFD packet to send [14:01:06]OFD Sender: No OFD packet to send [14:01:11]OFD Sender: No OFD packet to send [14:01:16]OFD Sender: No OFD packet to send [14:01:21]OFD Sender: No OFD packet to send [14:01:26]OFD Sender: No OFD packet to send [14:01:31]OFD Sender: No OFD packet to send [14:01:36]OFD Sender: No OFD packet to send [14:01:41]OFD Sender: No OFD packet to send [14:01:46]OFD Sender: No OFD packet to send [14:01:51]OFD Sender: No OFD packet to send [14:01:56]OFD Sender: No OFD packet to send [14:02:01]OFD Sender: No OFD packet to send [14:02:06]OFD Sender: No OFD packet to send [14:02:11]OFD Sender: No OFD packet to send [14:02:16]OFD Sender: No OFD packet to send [14:02:21]OFD Sender: No OFD packet to send [14:02:26]OFD Sender: No OFD packet to send [14:02:31]OFD Sender: No OFD packet to send [14:02:36]OFD Sender: No OFD packet to send [14:02:41]OFD Sender: No OFD packet to send [14:02:46]OFD Sender: No OFD packet to send [14:02:51]OFD Sender: No OFD packet to send [14:02:56]OFD Sender: No OFD packet to send [14:03:01]OFD Sender: No OFD packet to send [14:03:06]OFD Sender: No OFD packet to send [14:03:11]OFD Sender: No OFD packet to send [14:03:16]OFD Sender: No OFD packet to send [14:03:21]OFD Sender: No OFD packet to send [14:03:26]OFD Sender: No OFD packet to send [14:03:31]OFD Sender: No OFD packet to send [14:03:36]OFD Sender: No OFD packet to send [14:03:42]OFD Sender: No OFD packet to send [14:03:47]OFD Sender: No OFD packet to send [14:03:52]OFD Sender: No OFD packet to send [14:03:57]OFD Sender: No OFD packet to send [14:04:02]OFD Sender: No OFD packet to send [14:04:07]OFD Sender: No OFD packet to send [14:04:12]OFD Sender: No OFD packet to send [14:04:17]OFD Sender: No OFD packet to send [14:04:22]OFD Sender: No OFD packet to send [14:04:27]OFD Sender: No OFD packet to send [14:04:32]OFD Sender: No OFD packet to send [14:04:37]OFD Sender: No OFD packet to send [14:04:42]OFD Sender: No OFD packet to send [14:04:47]OFD Sender: No OFD packet to send [14:04:52]OFD Sender: No OFD packet to send [14:04:57]OFD Sender: No OFD packet to send [14:05:02]OFD Sender: No OFD packet to send [14:05:07]OFD Sender: No OFD packet to send [14:05:12]OFD Sender: No OFD packet to send [14:05:17]OFD Sender: No OFD packet to send [14:05:22]OFD Sender: No OFD packet to send [14:05:27]OFD Sender: No OFD packet to send [14:05:32]OFD Sender: No OFD packet to send [14:05:37]OFD Sender: No OFD packet to send [14:05:42]OFD Sender: No OFD packet to send [14:05:47]OFD Sender: No OFD packet to send [14:05:52]OFD Sender: No OFD packet to send [14:05:57]OFD Sender: No OFD packet to send [14:06:02]OFD Sender: No OFD packet to send [14:06:07]OFD Sender: No OFD packet to send [14:06:12]OFD Sender: No OFD packet to send [14:06:17]OFD Sender: No OFD packet to send [14:06:22]OFD Sender: No OFD packet to send [14:06:27]OFD Sender: No OFD packet to send [14:06:32]OFD Sender: No OFD packet to send [14:06:37]OFD Sender: No OFD packet to send [14:06:42]OFD Sender: No OFD packet to send [14:06:47]OFD Sender: No OFD packet to send [14:06:52]OFD Sender: No OFD packet to send [14:06:57]OFD Sender: No OFD packet to send [14:07:02]OFD Sender: No OFD packet to send [14:07:07]OFD Sender: No OFD packet to send [14:07:12]OFD Sender: No OFD packet to send [14:07:17]OFD Sender: No OFD packet to send [14:07:22]OFD Sender: No OFD packet to send [14:07:27]OFD Sender: No OFD packet to send [14:07:32]OFD Sender: No OFD packet to send [14:07:37]OFD Sender: No OFD packet to send [14:07:42]OFD Sender: No OFD packet to send [14:07:47]OFD Sender: No OFD packet to send [14:07:52]OFD Sender: No OFD packet to send [14:07:57]OFD Sender: No OFD packet to send [14:08:02]OFD Sender: No OFD packet to send [14:08:07]OFD Sender: No OFD packet to send [14:08:12]OFD Sender: No OFD packet to send [14:08:17]OFD Sender: No OFD packet to send [14:08:22]OFD Sender: No OFD packet to send [14:08:27]OFD Sender: No OFD packet to send [14:08:32]OFD Sender: No OFD packet to send [14:08:37]OFD Sender: No OFD packet to send [14:08:42]OFD Sender: No OFD packet to send [14:08:47]OFD Sender: No OFD packet to send [14:08:52]OFD Sender: No OFD packet to send [14:08:57]OFD Sender: No OFD packet to send [14:09:02]OFD Sender: No OFD packet to send [14:09:07]OFD Sender: No OFD packet to send [14:09:12]OFD Sender: No OFD packet to send [14:09:17]OFD Sender: No OFD packet to send [14:09:22]OFD Sender: No OFD packet to send [14:09:27]OFD Sender: No OFD packet to send [14:09:32]OFD Sender: No OFD packet to send [14:09:37]OFD Sender: No OFD packet to send [14:09:42]OFD Sender: No OFD packet to send [14:09:47]OFD Sender: No OFD packet to send [14:09:52]OFD Sender: No OFD packet to send [14:09:57]OFD Sender: No OFD packet to send [14:10:02]OFD Sender: No OFD packet to send [14:10:07]OFD Sender: No OFD packet to send [14:10:12]OFD Sender: No OFD packet to send [14:10:17]OFD Sender: No OFD packet to send [14:10:22]OFD Sender: No OFD packet to send [14:10:27]OFD Sender: No OFD packet to send [14:10:32]OFD Sender: No OFD packet to send [14:10:37]OFD Sender: No OFD packet to send [14:10:42]OFD Sender: No OFD packet to send [14:10:47]OFD Sender: No OFD packet to send [14:10:52]OFD Sender: No OFD packet to send [14:10:57]OFD Sender: No OFD packet to send [14:11:02]OFD Sender: No OFD packet to send [14:11:07]OFD Sender: No OFD packet to send [14:11:12]OFD Sender: No OFD packet to send [14:11:17]OFD Sender: No OFD packet to send [14:11:22]OFD Sender: No OFD packet to send [14:11:27]OFD Sender: No OFD packet to send [14:11:32]OFD Sender: No OFD packet to send [14:11:37]OFD Sender: No OFD packet to send [14:11:42]OFD Sender: No OFD packet to send [14:11:47]OFD Sender: No OFD packet to send [14:11:52]OFD Sender: No OFD packet to send [14:11:57]OFD Sender: No OFD packet to send [14:12:02]OFD Sender: No OFD packet to send [14:12:07]OFD Sender: No OFD packet to send [14:12:12]OFD Sender: No OFD packet to send [14:12:17]OFD Sender: No OFD packet to send [14:12:22]OFD Sender: No OFD packet to send [14:12:27]OFD Sender: No OFD packet to send [14:12:32]OFD Sender: No OFD packet to send [14:12:37]OFD Sender: No OFD packet to send [14:12:42]OFD Sender: No OFD packet to send [14:12:47]OFD Sender: No OFD packet to send [14:12:52]OFD Sender: No OFD packet to send [14:12:57]OFD Sender: No OFD packet to send [14:13:02]OFD Sender: No OFD packet to send [14:13:07]OFD Sender: No OFD packet to send [14:13:12]OFD Sender: No OFD packet to send [14:13:17]OFD Sender: No OFD packet to send [14:13:22]OFD Sender: No OFD packet to send [14:13:27]OFD Sender: No OFD packet to send [14:13:32]OFD Sender: No OFD packet to send [14:13:37]OFD Sender: No OFD packet to send [14:13:42]OFD Sender: No OFD packet to send [14:13:47]OFD Sender: No OFD packet to send [14:13:52]OFD Sender: No OFD packet to send [14:13:57]OFD Sender: No OFD packet to send [14:14:02]OFD Sender: No OFD packet to send [14:14:07]OFD Sender: No OFD packet to send [14:14:12]OFD Sender: No OFD packet to send [14:14:17]OFD Sender: No OFD packet to send [14:14:22]OFD Sender: No OFD packet to send [14:14:27]OFD Sender: No OFD packet to send [14:14:32]OFD Sender: No OFD packet to send [14:14:37]OFD Sender: No OFD packet to send [14:14:42]OFD Sender: No OFD packet to send [14:14:47]OFD Sender: No OFD packet to send [14:14:52]OFD Sender: No OFD packet to send [14:14:57]OFD Sender: No OFD packet to send [14:15:02]OFD Sender: No OFD packet to send [14:15:07]OFD Sender: No OFD packet to send [14:15:12]OFD Sender: No OFD packet to send [14:15:17]OFD Sender: No OFD packet to send [14:15:22]OFD Sender: No OFD packet to send [14:15:27]OFD Sender: No OFD packet to send [14:15:32]OFD Sender: No OFD packet to send [14:15:37]OFD Sender: No OFD packet to send [14:15:42]OFD Sender: No OFD packet to send [14:15:47]OFD Sender: No OFD packet to send [14:15:52]OFD Sender: No OFD packet to send [14:15:57]OFD Sender: No OFD packet to send [14:16:02]OFD Sender: No OFD packet to send [14:16:07]OFD Sender: No OFD packet to send [14:16:12]OFD Sender: No OFD packet to send [14:16:17]OFD Sender: No OFD packet to send [14:16:22]OFD Sender: No OFD packet to send [14:16:27]OFD Sender: No OFD packet to send [14:16:32]OFD Sender: No OFD packet to send [14:16:37]OFD Sender: No OFD packet to send [14:16:42]OFD Sender: No OFD packet to send [14:16:47]OFD Sender: No OFD packet to send [14:16:52]OFD Sender: No OFD packet to send [14:16:57]OFD Sender: No OFD packet to send [14:17:02]OFD Sender: No OFD packet to send [14:17:07]OFD Sender: No OFD packet to send [14:17:12]OFD Sender: No OFD packet to send [14:17:17]OFD Sender: No OFD packet to send [14:17:22]OFD Sender: No OFD packet to send [14:17:27]OFD Sender: No OFD packet to send [14:17:32]OFD Sender: No OFD packet to send [14:17:37]OFD Sender: No OFD packet to send [14:17:42]OFD Sender: No OFD packet to send [14:17:47]OFD Sender: No OFD packet to send [14:17:52]OFD Sender: No OFD packet to send [14:17:53]accept exits with 9 [14:17:53]New connection [14:17:53]New thread 3067309412 created [14:17:53]Thread 3067166052 joined [14:17:53]Waiting for new connection... [14:17:53] Sock 9.Parse request [14:17:53]Sock 9.Check first char [14:17:53]Sock 9.First char is OK [14:17:53]request: POST /json_proto HTTP/1.0 [14:17:53]Method: POST [14:17:53]URL: /json_proto [14:17:53]Method is POST - this is cgi request [14:17:53]url: /json_proto [14:17:53]query_string will be loaded in cgi processing [14:17:53]execute_cgi json_proto POST (null) [14:17:53]execute_cgi path=json_proto method=POST [14:17:53]POST find Content-Length [14:17:53]Host: 172.17.53.196:8080 [14:17:53]Content-Length: 1161 [14:17:53]Content-Type: application/json [14:17:53] [14:17:53]POST finish read [14:17:53]Found Content-Length = 1161 [14:17:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34635", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\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" : 209.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:17:53]execute_script... [14:17:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34635", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\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" : 209.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:17:53]POST & json_proto [14:17:53]process_json_proto [14:17:53]json parsed OK: [14:17:53]protocol is kg_v1.0 [14:17:53]action value=close_receipt [14:17:53]process_action close_receipt [14:17:53]cmd_close_receipt [14:17:53]MH_GetDate [14:17:53]Write to MH i2c: F0 00 00 76 0A 6F [14:17:53]Write i2c OK [14:17:53]MH_I2C_Read... [14:17:53]Read from MH i2c: F0 [14:17:53]MH_I2C_Read... [14:17:53]Read from MH i2c: F0 09 00 [14:17:53]MH_I2C_Read... [14:17:53]Read from MH i2c: F0 09 00 76 0A 00 14 11 15 67 4F CD 9A 65 34 [14:17:53]GetLastDocTimeStamp 1729432677 [14:17:53]current date 1729433876 [14:17:53]FM_GetShiftState [14:17:53]SAM_PROTO_GetShiftState [14:17:53]wFMCommunicate request_size=4 [14:17:53]MH_SAM_APDU [14:17:53]CAPDU: 80 13 01 00 [14:17:53]Write to MH i2c: E2 08 00 77 0A 80 13 01 00 00 00 00 00 FE [14:17:53]Write i2c OK [14:17:53]MH_I2C_Read... [14:17:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:17:53]Read from MH i2c: E2 [14:17:53]MH_I2C_Read... [14:17:53]Read from MH i2c: E2 0E 00 [14:17:53]MH_I2C_Read... [14:17:53]Read from MH i2c: E2 0E 00 77 0A 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 44 [14:17:53]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [14:17:53]wFMCommunicate OK [14:17:53]SAM_PROTO_GetShiftState done [14:17:53]FM_GetShiftState done [14:17:53]opened in 1729384049 [14:17:53]opened+sec_in_day 1729470449 [14:17:53]quantity*price = 7500 [14:17:53]sum+1 = 7501 [14:17:53]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4011100977952 Шок Батончик Твикс 55г 1.000 * 54.00 = 54.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870001570057 Напиток Pepsi 0,5л 1.000 * 80.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 209.00 НСП 1% : 1.85 НДС 12% : 22.19 Наличными: 209.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 33 20.10.2024 14:17 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24875 ФПД: 106018736086103 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T141756&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24875&fm=106018736086103&tin=02508201610067®Number=0000000000098147&sum=20900 0 [14:17:54]StoreToDocumentArchive [14:17:54]shift 455 fd 24875 [14:17:54]save to /storage/0455/doc_00024875 [14:17:54]save last doc name /storage/0455/doc_00024875 to /storage/kkm_last_doc_name [14:17:54]save OK [14:17:54]Clear old archive folders... [14:17:54]ProcessDocumentItem done err = 0, tmpTLVsize=484 [14:17:54]tlvbuf is 00DA99C0 [14:17:54]SAM_PROTO_ClearQueue [14:17:54]wFMCommunicate request_size=4 [14:17:54]MH_SAM_APDU [14:17:54]CAPDU: 80 09 00 00 [14:17:54]Write to MH i2c: E2 08 00 84 0A 80 09 00 00 00 00 00 00 00 [14:17:54]Write i2c OK [14:17:54]MH_I2C_Read... [14:17:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:17:54]Read from MH i2c: E2 [14:17:54]MH_I2C_Read... [14:17:54]Read from MH i2c: E2 03 00 [14:17:54]MH_I2C_Read... [14:17:54]Read from MH i2c: E2 03 00 84 0A 00 90 00 02 [14:17:54]RAPDU: 90 00 [14:17:54]wFMCommunicate OK [14:17:54]SAM_PROTO_ClearQueue done [14:17:54]KKMCreateOFDPacket [14:17:54]OFDProtocolAddRootSTLVToBuf [14:17:54]FM_MakeSignedData [14:17:54]FM_MakeSignedData [14:17:54]SAM_PROTO_SignData [14:17:54]wFMCommunicate request_size=4 [14:17:54]MH_SAM_APDU [14:17:54]CAPDU: 80 0D 01 02 [14:17:54]Write to MH i2c: E2 08 00 85 0A 80 0D 01 02 00 00 00 00 08 [14:17:54]Write i2c OK [14:17:54]MH_I2C_Read... [14:17:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:17:54]Read from MH i2c: E2 [14:17:54]MH_I2C_Read... [14:17:54]Read from MH i2c: E2 03 00 [14:17:54]MH_I2C_Read... [14:17:54]Read from MH i2c: E2 03 00 85 0A 00 90 00 03 [14:17:54]RAPDU: 90 00 [14:17:54]wFMCommunicate OK [14:17:54]wFMCommunicate request_size=255 [14:17:54]MH_SAM_APDU [14:17:54]CAPDU: 80 0D 02 02 FA 03 00 E4 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 [14:17:54]Write to MH i2c: E2 02 01 86 0A 80 0D 02 02 FA 00 03 00 E4 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 00 00 08 [14:17:54]Write i2c OK [14:17:54]MH_I2C_Read... [14:17:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:17:55]Read from MH i2c: E2 [14:17:55]MH_I2C_Read... [14:17:55]Read from MH i2c: E2 03 00 [14:17:55]MH_I2C_Read... [14:17:55]Read from MH i2c: E2 03 00 86 0A 00 90 00 04 [14:17:55]RAPDU: 90 00 [14:17:55]wFMCommunicate OK [14:17:55]wFMCommunicate request_size=243 [14:17:55]MH_SAM_APDU [14:17:55]CAPDU: 80 0D 02 02 EE D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 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 A4 51 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 08 00 00 00 00 07 04 06 00 A4 51 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 14 11 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2B 61 00 00 35 04 06 00 60 6C 69 1A 9C 57 [14:17:55]Write to MH i2c: E2 F6 00 87 0A 80 0D 02 02 EE 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 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 A4 51 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 08 00 00 00 00 07 04 06 00 A4 51 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 14 11 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2B 61 00 00 35 04 06 00 60 6C 69 1A 9C 57 00 00 73 [14:17:55]Write i2c OK [14:17:55]MH_I2C_Read... [14:17:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:17:55]Read from MH i2c: E2 [14:17:55]MH_I2C_Read... [14:17:55]Read from MH i2c: E2 03 00 [14:17:55]MH_I2C_Read... [14:17:55]Read from MH i2c: E2 03 00 87 0A 00 90 00 05 [14:17:55]RAPDU: 90 00 [14:17:55]wFMCommunicate OK [14:17:55]wFMCommunicate request_size=4 [14:17:55]MH_SAM_APDU [14:17:55]CAPDU: 80 0D 03 02 [14:17:55]Write to MH i2c: E2 08 00 88 0A 80 0D 03 02 00 00 00 00 0D [14:17:55]Write i2c OK [14:17:55]MH_I2C_Read... [14:17:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:17:55]Read from MH i2c: E2 [14:17:55]MH_I2C_Read... [14:17:55]Read from MH i2c: E2 0B 00 [14:17:55]MH_I2C_Read... [14:17:55]Read from MH i2c: E2 0B 00 88 0A 00 AA 14 D1 51 49 77 D3 35 90 00 B6 [14:17:55]RAPDU: AA 14 D1 51 49 77 D3 35 90 00 [14:17:55]wFMCommunicate OK [14:17:55]SAM_PROTO_SignData done [14:17:55]FM_MakeSignedData done [14:17:55]CreateOFDProtocolMessage [14:17:55]wFMCommunicate request_size=4 [14:17:55]MH_SAM_APDU [14:17:55]CAPDU: 80 11 00 00 [14:17:55]Write to MH i2c: E2 08 00 89 0A 80 11 00 00 00 00 00 00 0D [14:17:55]Write i2c OK [14:17:55]MH_I2C_Read... [14:17:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:17:55]Read from MH i2c: E2 [14:17:55]MH_I2C_Read... [14:17:55]Read from MH i2c: E2 17 00 [14:17:55]MH_I2C_Read... [14:17:55]Read from MH i2c: E2 17 00 89 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 64 [14:17:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [14:17:55]wFMCommunicate OK [14:17:55]CreateOFDProtocolMessage done [14:17:55]OFDSenderStorePacket 24875 [14:17:55]StoreOFDPacket docnum=24875 [14:17:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 F8 01 00 00 EA F7 F0 01 8E EB 5A 03 01 00 03 00 E4 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 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 A4 51 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 08 00 00 00 00 07 04 06 00 A4 51 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 14 11 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2B 61 00 00 35 04 06 00 60 6C 69 1A 9C 57 AA 14 D1 51 49 77 D3 35 [14:17:55]CheckFolder [14:17:55]dirname=/storage/ofd_packets [14:17:55]CheckFolder done [14:17:55]ProducePacketName [14:17:55]name=ofd_packets/00024875 [14:17:55]NVStorageSaveData ofd_packets/00024875 [14:17:55]File name is /storage/ofd_packets/00024875 [14:17:55]Write 534 bytes [14:17:55]NVStorageSaveData done [14:17:55]OFDSenderStorePacket done [14:17:55]KKMCreateOFDPacket done [14:17:55]NVStorageSaveData kkm_last_timestamp [14:17:55]File name is /storage/kkm_last_timestamp [14:17:55]Write 4 bytes [14:17:55]NVStorageSaveData done [14:17:55]ExternCall_PrintAddStr [14:17:55]wPrintStart [14:17:55]Write to MH i2c: 01 00 00 8A 0A 94 [14:17:55]OFD Sender: Processing packet 24875 [packets to send 5, broken 4] [14:17:55]ProducePacketName [14:17:55]name=ofd_packets/00024875 [14:17:55]OFD Sender: To server: pG, [14:17:55]CommunicateWithHost lk.salyk.kg:30040 [14:17:55]ConnectInit lk.salyk.kg [14:17:55]Write i2c OK [14:17:55]MH_I2C_Read... [14:17:55]Read from MH i2c: 01 [14:17:55]MH_I2C_Read... [14:17:55]Read from MH i2c: 01 07 00 [14:17:55]MH_I2C_Read... [14:17:55]Read from MH i2c: 01 07 00 8A 0A 00 00 00 00 00 FF 0F A9 [14:17:55]RasterBufferAndPrint [14:17:55]line Счет N : (3)34635 [14:17:55]line ИНН: 02508201610067 [14:17:55]line Контрольно-Кассовый Чек [14:17:55]line ПРОДАЖА [14:17:55]line Товар: 54491472 [14:17:55]line Напиток Кока-Кола 0,5л [14:17:55]line 1.000 * 75.00 [14:17:55]line = 75.00 [14:17:55]line НДС 12% НСП 1% [14:17:55]line > о реализуемом товаре [14:17:55]line Товар: 4011100977952 [14:17:55]line Шок Батончик Твикс 55г [14:17:55]line 1.000 * 54.00 [14:17:55]line = 54.00 [14:17:55]line НДС 12% НСП 1% [14:17:55]line > о реализуемом товаре [14:17:55]line Товар: 4870001570057 [14:17:55]line Напиток Pepsi 0,5л [14:17:55]line 1.000 * 80.00 [14:17:55]line = 80.00 [14:17:55]line НДС 12% НСП 1% [14:17:55]line > о реализуемом товаре [14:17:55]line ИТОГО: 209.00 [14:17:55]line НСП 1% : 1.85 [14:17:55]line НДС 12% : 22.19 [14:17:55]line Наличными: 209.00 [14:17:55]line Безнал.: 0.00 [14:17:55]line Место: АЗС № 161 "Партнер Нефть" [14:17:55]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [14:17:55]line СНО: Общий режим [14:17:55]line Чек 33 20.10.2024 14:17 [14:17:55]line Смена: 455 ФФД: 1.0 [14:17:55]line ЗНМ: 0300000240 [14:17:55]line РНМ: 0000000000098147 [14:17:55]line Версия ККМ: 001 [14:17:55]line ФМ: 0000000000965376 [14:17:55]line ФД: 24875 [14:17:55]line ФПД: 106018736086103 [14:17:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T141756&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24875&fm=106018736086103&tin=02508201610067®Number=0000000000098147&sum=20900 [14:17:55]line 0 [14:17:55]written 0, free lines is 4095 [14:17:55]Connected sock=10 [14:17:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 F8 01 00 00 EA F7 F0 01 8E EB 5A 03 01 00 03 00 E4 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 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 A4 51 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 08 00 00 00 00 07 04 06 00 A4 51 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 14 11 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2B 61 00 00 35 04 06 00 60 6C 69 1A 9C 57 AA 14 D1 51 49 77 D3 35 [14:17:56]Write to MH i2c: 01 00 00 BE 0A C8 [14:17:56]Write i2c OK [14:17:56]MH_I2C_Read... [14:17:56]Read from MH i2c: 01 [14:17:56]MH_I2C_Read... [14:17:56]Read from MH i2c: 01 07 00 [14:17:56]MH_I2C_Read... [14:17:56]Read from MH i2c: 01 07 00 BE 0A 00 00 00 00 00 2F 0C 0A [14:17:56]RasterBufferAndPrint [14:17:56]line [14:17:56]line [14:17:56]line [14:17:56]line [14:17:56]line [14:17:56]written 0, free lines is 3126 [14:17:56]process_action close_receipt done [14:17:56]requested_data is exist [14:17:56]produce_requested_data [14:17:56]requested_item fm.sn is exist - process it [14:17:56]wFMCommunicate request_size=4 [14:17:56]MH_SAM_APDU [14:17:56]CAPDU: 80 11 00 00 [14:17:56]Write to MH i2c: E2 08 00 C5 0A 80 11 00 00 00 00 00 00 49 [14:17:56]Write i2c OK [14:17:56]MH_I2C_Read... [14:17:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 BC 4D 47 00 2D 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 33 37 36 10 04 04 00 2B 61 00 00 F4 03 04 00 95 B9 14 67 B6 04 01 00 00 13 9B D3 FC 08 81 94 F7 [14:17:56]CommunicateWithHost err = 0 [14:17:56]CheckOFDResponse [14:17:56]1017 (14) - 77093643461234 [14:17:56]1041 (16) - 0000000000965376 [14:17:56]1040 (4) - 24875 [14:17:56]1012 (4) - 20.10.2024 08:04 [14:17:56]1206 (1) - 0 [14:17:56]OFD Sender: Remove packet 24875 [14:17:56]ProducePacketName [14:17:56]name=ofd_packets/00024875 [14:17:56]NVStorageDeleteData [14:17:56]Read from MH i2c: E2 [14:17:56]MH_I2C_Read... [14:17:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:17:56]Read from MH i2c: E2 17 00 [14:17:56]MH_I2C_Read... [14:17:56]Read from MH i2c: E2 17 00 C5 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 A0 [14:17:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [14:17:56]wFMCommunicate OK [14:17:56]requested_item fd.num is exist - process it [14:17:56]SAM_PROTO_GetFieldsCounters [14:17:56]wFMCommunicate request_size=4 [14:17:56]MH_SAM_APDU [14:17:56]CAPDU: 80 13 00 00 [14:17:56]Write to MH i2c: E2 08 00 C6 0A 80 13 00 00 00 00 00 00 4C [14:17:56]Write i2c OK [14:17:56]MH_I2C_Read... [14:17:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:17:56]Read from MH i2c: E2 [14:17:56]MH_I2C_Read... [14:17:56]Read from MH i2c: E2 62 00 [14:17:56]MH_I2C_Read... [14:17:56]Read from MH i2c: E2 62 00 C6 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 2B 61 00 00 0E 04 04 00 C7 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 2C [14:17:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 2B 61 00 00 0E 04 04 00 C7 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 [14:17:56]wFMCommunicate OK [14:17:56]SAM_PROTO_GetFieldsCounters done [14:17:56]requested_item shift.num is exist - process it [14:17:56]requested_item shift.opened is exist - process it [14:17:56]req_shift_opened [14:17:56]FM_GetShiftState [14:17:56]SAM_PROTO_GetShiftState [14:17:56]wFMCommunicate request_size=4 [14:17:56]MH_SAM_APDU [14:17:56]CAPDU: 80 13 01 00 [14:17:56]Write to MH i2c: E2 08 00 C7 0A 80 13 01 00 00 00 00 00 4E [14:17:56]Write i2c OK [14:17:56]MH_I2C_Read... [14:17:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:17:56]Read from MH i2c: E2 [14:17:56]MH_I2C_Read... [14:17:56]Read from MH i2c: E2 0E 00 [14:17:56]MH_I2C_Read... [14:17:56]Read from MH i2c: E2 0E 00 C7 0A 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 94 [14:17:56]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [14:17:56]wFMCommunicate OK [14:17:56]SAM_PROTO_GetShiftState done [14:17:56]FM_GetShiftState done [14:17:56]req_shift_opened done [14:17:56]requested_item shift.open_date is exist - process it [14:17:56]req_shift_open_date [14:17:56]req_shift_open_date done [14:17:56]produce_requested_data done [14:17:56]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24875,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [14:17:56]process_action_free close_receipt [14:17:56]json_value_free [14:17:56]json_value_free done [14:17:56]process_json_proto returns [14:17:56]Send response to host [14:17:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24875,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [14:17:56]free response buf [14:17:56]execute_script done [14:17:56]execute_script returns [14:17:56]free content buf [14:17:56]Sock 9.Close socket [14:17:56]Sock 9.Thread stoped [14:17:56]OFD Sender: No OFD packet to send [14:18:01]OFD Sender: No OFD packet to send [14:18:06]OFD Sender: No OFD packet to send [14:18:11]OFD Sender: No OFD packet to send [14:18:16]OFD Sender: No OFD packet to send [14:18:21]OFD Sender: No OFD packet to send [14:18:26]OFD Sender: No OFD packet to send [14:18:31]OFD Sender: No OFD packet to send [14:18:36]OFD Sender: No OFD packet to send [14:18:41]OFD Sender: No OFD packet to send [14:18:46]OFD Sender: No OFD packet to send [14:18:51]OFD Sender: No OFD packet to send [14:18:56]OFD Sender: No OFD packet to send [14:19:01]OFD Sender: No OFD packet to send [14:19:06]OFD Sender: No OFD packet to send [14:19:11]OFD Sender: No OFD packet to send [14:19:16]OFD Sender: No OFD packet to send [14:19:21]OFD Sender: No OFD packet to send [14:19:26]OFD Sender: No OFD packet to send [14:19:31]OFD Sender: No OFD packet to send [14:19:36]OFD Sender: No OFD packet to send [14:19:41]OFD Sender: No OFD packet to send [14:19:46]OFD Sender: No OFD packet to send [14:19:51]OFD Sender: No OFD packet to send [14:19:56]OFD Sender: No OFD packet to send [14:20:01]OFD Sender: No OFD packet to send [14:20:06]OFD Sender: No OFD packet to send [14:20:11]OFD Sender: No OFD packet to send [14:20:16]OFD Sender: No OFD packet to send [14:20:21]OFD Sender: No OFD packet to send [14:20:26]OFD Sender: No OFD packet to send [14:20:31]OFD Sender: No OFD packet to send [14:20:36]OFD Sender: No OFD packet to send [14:20:41]OFD Sender: No OFD packet to send [14:20:46]OFD Sender: No OFD packet to send [14:20:51]OFD Sender: No OFD packet to send [14:20:56]OFD Sender: No OFD packet to send [14:21:01]OFD Sender: No OFD packet to send [14:21:06]OFD Sender: No OFD packet to send [14:21:11]OFD Sender: No OFD packet to send [14:21:16]OFD Sender: No OFD packet to send [14:21:21]OFD Sender: No OFD packet to send [14:21:26]OFD Sender: No OFD packet to send [14:21:31]OFD Sender: No OFD packet to send [14:21:36]OFD Sender: No OFD packet to send [14:21:41]OFD Sender: No OFD packet to send [14:21:46]OFD Sender: No OFD packet to send [14:21:51]OFD Sender: No OFD packet to send [14:21:56]OFD Sender: No OFD packet to send [14:22:01]OFD Sender: No OFD packet to send [14:22:06]OFD Sender: No OFD packet to send [14:22:11]OFD Sender: No OFD packet to send [14:22:16]OFD Sender: No OFD packet to send [14:22:21]OFD Sender: No OFD packet to send [14:22:26]OFD Sender: No OFD packet to send [14:22:31]OFD Sender: No OFD packet to send [14:22:36]OFD Sender: No OFD packet to send [14:22:41]OFD Sender: No OFD packet to send [14:22:46]OFD Sender: No OFD packet to send [14:22:51]OFD Sender: No OFD packet to send [14:22:56]OFD Sender: No OFD packet to send [14:23:01]OFD Sender: No OFD packet to send [14:23:06]OFD Sender: No OFD packet to send [14:23:11]OFD Sender: No OFD packet to send [14:23:16]OFD Sender: No OFD packet to send [14:23:21]OFD Sender: No OFD packet to send [14:23:26]OFD Sender: No OFD packet to send [14:23:31]OFD Sender: No OFD packet to send [14:23:36]OFD Sender: No OFD packet to send [14:23:41]OFD Sender: No OFD packet to send [14:23:46]OFD Sender: No OFD packet to send [14:23:51]OFD Sender: No OFD packet to send [14:23:56]OFD Sender: No OFD packet to send [14:24:01]OFD Sender: No OFD packet to send [14:24:06]OFD Sender: No OFD packet to send [14:24:11]OFD Sender: No OFD packet to send [14:24:16]OFD Sender: No OFD packet to send [14:24:21]OFD Sender: No OFD packet to send [14:24:26]OFD Sender: No OFD packet to send [14:24:31]OFD Sender: No OFD packet to send [14:24:36]OFD Sender: No OFD packet to send [14:24:41]OFD Sender: No OFD packet to send [14:24:46]OFD Sender: No OFD packet to send [14:24:51]OFD Sender: No OFD packet to send [14:24:56]OFD Sender: No OFD packet to send [14:25:02]OFD Sender: No OFD packet to send [14:25:07]OFD Sender: No OFD packet to send [14:25:12]OFD Sender: No OFD packet to send [14:25:17]OFD Sender: No OFD packet to send [14:25:22]OFD Sender: No OFD packet to send [14:25:27]OFD Sender: No OFD packet to send [14:25:32]OFD Sender: No OFD packet to send [14:25:37]OFD Sender: No OFD packet to send [14:25:42]OFD Sender: No OFD packet to send [14:25:47]OFD Sender: No OFD packet to send [14:25:52]OFD Sender: No OFD packet to send [14:25:57]OFD Sender: No OFD packet to send [14:26:02]OFD Sender: No OFD packet to send [14:26:07]OFD Sender: No OFD packet to send [14:26:12]OFD Sender: No OFD packet to send [14:26:17]OFD Sender: No OFD packet to send [14:26:22]OFD Sender: No OFD packet to send [14:26:27]OFD Sender: No OFD packet to send [14:26:32]OFD Sender: No OFD packet to send [14:26:37]OFD Sender: No OFD packet to send [14:26:42]OFD Sender: No OFD packet to send [14:26:47]OFD Sender: No OFD packet to send [14:26:52]OFD Sender: No OFD packet to send [14:26:57]OFD Sender: No OFD packet to send [14:27:02]OFD Sender: No OFD packet to send [14:27:07]OFD Sender: No OFD packet to send [14:27:12]OFD Sender: No OFD packet to send [14:27:17]OFD Sender: No OFD packet to send [14:27:22]OFD Sender: No OFD packet to send [14:27:27]OFD Sender: No OFD packet to send [14:27:32]OFD Sender: No OFD packet to send [14:27:37]OFD Sender: No OFD packet to send [14:27:42]OFD Sender: No OFD packet to send [14:27:47]OFD Sender: No OFD packet to send [14:27:52]OFD Sender: No OFD packet to send [14:27:57]OFD Sender: No OFD packet to send [14:28:02]OFD Sender: No OFD packet to send [14:28:07]OFD Sender: No OFD packet to send [14:28:12]OFD Sender: No OFD packet to send [14:28:17]OFD Sender: No OFD packet to send [14:28:22]OFD Sender: No OFD packet to send [14:28:27]OFD Sender: No OFD packet to send [14:28:32]OFD Sender: No OFD packet to send [14:28:37]OFD Sender: No OFD packet to send [14:28:42]OFD Sender: No OFD packet to send [14:28:47]OFD Sender: No OFD packet to send [14:28:52]OFD Sender: No OFD packet to send [14:28:57]OFD Sender: No OFD packet to send [14:29:02]OFD Sender: No OFD packet to send [14:29:07]OFD Sender: No OFD packet to send [14:29:12]OFD Sender: No OFD packet to send [14:29:17]OFD Sender: No OFD packet to send [14:29:22]OFD Sender: No OFD packet to send [14:29:27]OFD Sender: No OFD packet to send [14:29:32]OFD Sender: No OFD packet to send [14:29:37]OFD Sender: No OFD packet to send [14:29:42]OFD Sender: No OFD packet to send [14:29:47]OFD Sender: No OFD packet to send [14:29:52]OFD Sender: No OFD packet to send [14:29:57]OFD Sender: No OFD packet to send [14:30:02]OFD Sender: No OFD packet to send [14:30:07]OFD Sender: No OFD packet to send [14:30:12]OFD Sender: No OFD packet to send [14:30:17]OFD Sender: No OFD packet to send [14:30:22]OFD Sender: No OFD packet to send [14:30:27]OFD Sender: No OFD packet to send [14:30:32]OFD Sender: No OFD packet to send [14:30:37]OFD Sender: No OFD packet to send [14:30:42]OFD Sender: No OFD packet to send [14:30:47]OFD Sender: No OFD packet to send [14:30:52]OFD Sender: No OFD packet to send [14:30:57]OFD Sender: No OFD packet to send [14:31:02]OFD Sender: No OFD packet to send [14:31:07]OFD Sender: No OFD packet to send [14:31:12]OFD Sender: No OFD packet to send [14:31:17]OFD Sender: No OFD packet to send [14:31:22]OFD Sender: No OFD packet to send [14:31:27]OFD Sender: No OFD packet to send [14:31:32]OFD Sender: No OFD packet to send [14:31:37]OFD Sender: No OFD packet to send [14:31:42]OFD Sender: No OFD packet to send [14:31:47]OFD Sender: No OFD packet to send [14:31:52]OFD Sender: No OFD packet to send [14:31:57]OFD Sender: No OFD packet to send [14:32:02]OFD Sender: No OFD packet to send [14:32:07]OFD Sender: No OFD packet to send [14:32:12]OFD Sender: No OFD packet to send [14:32:17]OFD Sender: No OFD packet to send [14:32:22]OFD Sender: No OFD packet to send [14:32:27]OFD Sender: No OFD packet to send [14:32:32]OFD Sender: No OFD packet to send [14:32:37]OFD Sender: No OFD packet to send [14:32:42]OFD Sender: No OFD packet to send [14:32:47]OFD Sender: No OFD packet to send [14:32:52]OFD Sender: No OFD packet to send [14:32:57]OFD Sender: No OFD packet to send [14:33:02]OFD Sender: No OFD packet to send [14:33:07]OFD Sender: No OFD packet to send [14:33:12]OFD Sender: No OFD packet to send [14:33:17]OFD Sender: No OFD packet to send [14:33:22]OFD Sender: No OFD packet to send [14:33:27]OFD Sender: No OFD packet to send [14:33:32]OFD Sender: No OFD packet to send [14:33:37]OFD Sender: No OFD packet to send [14:33:42]OFD Sender: No OFD packet to send [14:33:47]OFD Sender: No OFD packet to send [14:33:52]OFD Sender: No OFD packet to send [14:33:57]OFD Sender: No OFD packet to send [14:34:02]OFD Sender: No OFD packet to send [14:34:07]OFD Sender: No OFD packet to send [14:34:12]OFD Sender: No OFD packet to send [14:34:17]OFD Sender: No OFD packet to send [14:34:22]OFD Sender: No OFD packet to send [14:34:27]OFD Sender: No OFD packet to send [14:34:32]OFD Sender: No OFD packet to send [14:34:37]OFD Sender: No OFD packet to send [14:34:42]OFD Sender: No OFD packet to send [14:34:47]OFD Sender: No OFD packet to send [14:34:52]OFD Sender: No OFD packet to send [14:34:57]OFD Sender: No OFD packet to send [14:35:02]OFD Sender: No OFD packet to send [14:35:07]OFD Sender: No OFD packet to send [14:35:12]OFD Sender: No OFD packet to send [14:35:17]OFD Sender: No OFD packet to send [14:35:22]OFD Sender: No OFD packet to send [14:35:27]OFD Sender: No OFD packet to send [14:35:32]OFD Sender: No OFD packet to send [14:35:37]OFD Sender: No OFD packet to send [14:35:42]OFD Sender: No OFD packet to send [14:35:47]OFD Sender: No OFD packet to send [14:35:52]OFD Sender: No OFD packet to send [14:35:57]OFD Sender: No OFD packet to send [14:36:02]OFD Sender: No OFD packet to send [14:36:07]OFD Sender: No OFD packet to send [14:36:12]OFD Sender: No OFD packet to send [14:36:17]OFD Sender: No OFD packet to send [14:36:22]OFD Sender: No OFD packet to send [14:36:27]OFD Sender: No OFD packet to send [14:36:32]OFD Sender: No OFD packet to send [14:36:37]OFD Sender: No OFD packet to send [14:36:42]OFD Sender: No OFD packet to send [14:36:47]OFD Sender: No OFD packet to send [14:36:52]OFD Sender: No OFD packet to send [14:36:57]OFD Sender: No OFD packet to send [14:37:02]OFD Sender: No OFD packet to send [14:37:07]OFD Sender: No OFD packet to send [14:37:12]OFD Sender: No OFD packet to send [14:37:17]OFD Sender: No OFD packet to send [14:37:22]OFD Sender: No OFD packet to send [14:37:27]OFD Sender: No OFD packet to send [14:37:32]OFD Sender: No OFD packet to send [14:37:37]OFD Sender: No OFD packet to send [14:37:42]OFD Sender: No OFD packet to send [14:37:47]OFD Sender: No OFD packet to send [14:37:52]OFD Sender: No OFD packet to send [14:37:57]OFD Sender: No OFD packet to send [14:38:02]OFD Sender: No OFD packet to send [14:38:07]OFD Sender: No OFD packet to send [14:38:12]OFD Sender: No OFD packet to send [14:38:17]OFD Sender: No OFD packet to send [14:38:22]OFD Sender: No OFD packet to send [14:38:27]OFD Sender: No OFD packet to send [14:38:32]OFD Sender: No OFD packet to send [14:38:37]OFD Sender: No OFD packet to send [14:38:42]OFD Sender: No OFD packet to send [14:38:47]OFD Sender: No OFD packet to send [14:38:52]OFD Sender: No OFD packet to send [14:38:57]OFD Sender: No OFD packet to send [14:39:02]OFD Sender: No OFD packet to send [14:39:07]OFD Sender: No OFD packet to send [14:39:12]OFD Sender: No OFD packet to send [14:39:17]OFD Sender: No OFD packet to send [14:39:22]OFD Sender: No OFD packet to send [14:39:27]OFD Sender: No OFD packet to send [14:39:32]OFD Sender: No OFD packet to send [14:39:37]OFD Sender: No OFD packet to send [14:39:42]OFD Sender: No OFD packet to send [14:39:47]OFD Sender: No OFD packet to send [14:39:52]OFD Sender: No OFD packet to send [14:39:57]OFD Sender: No OFD packet to send [14:40:02]OFD Sender: No OFD packet to send [14:40:07]OFD Sender: No OFD packet to send [14:40:12]OFD Sender: No OFD packet to send [14:40:17]OFD Sender: No OFD packet to send [14:40:22]OFD Sender: No OFD packet to send [14:40:27]OFD Sender: No OFD packet to send [14:40:32]OFD Sender: No OFD packet to send [14:40:37]OFD Sender: No OFD packet to send [14:40:42]OFD Sender: No OFD packet to send [14:40:47]OFD Sender: No OFD packet to send [14:40:52]OFD Sender: No OFD packet to send [14:40:57]OFD Sender: No OFD packet to send [14:41:02]OFD Sender: No OFD packet to send [14:41:07]OFD Sender: No OFD packet to send [14:41:12]OFD Sender: No OFD packet to send [14:41:17]OFD Sender: No OFD packet to send [14:41:22]OFD Sender: No OFD packet to send [14:41:27]OFD Sender: No OFD packet to send [14:41:32]OFD Sender: No OFD packet to send [14:41:37]OFD Sender: No OFD packet to send [14:41:42]OFD Sender: No OFD packet to send [14:41:47]OFD Sender: No OFD packet to send [14:41:52]OFD Sender: No OFD packet to send [14:41:57]OFD Sender: No OFD packet to send [14:42:02]OFD Sender: No OFD packet to send [14:42:07]OFD Sender: No OFD packet to send [14:42:12]OFD Sender: No OFD packet to send [14:42:17]OFD Sender: No OFD packet to send [14:42:22]OFD Sender: No OFD packet to send [14:42:27]OFD Sender: No OFD packet to send [14:42:32]OFD Sender: No OFD packet to send [14:42:37]OFD Sender: No OFD packet to send [14:42:42]OFD Sender: No OFD packet to send [14:42:47]OFD Sender: No OFD packet to send [14:42:52]OFD Sender: No OFD packet to send [14:42:57]OFD Sender: No OFD packet to send [14:43:02]OFD Sender: No OFD packet to send [14:43:07]OFD Sender: No OFD packet to send [14:43:12]OFD Sender: No OFD packet to send [14:43:17]OFD Sender: No OFD packet to send [14:43:22]OFD Sender: No OFD packet to send [14:43:27]OFD Sender: No OFD packet to send [14:43:32]OFD Sender: No OFD packet to send [14:43:37]OFD Sender: No OFD packet to send [14:43:42]OFD Sender: No OFD packet to send [14:43:47]OFD Sender: No OFD packet to send [14:43:52]OFD Sender: No OFD packet to send [14:43:57]OFD Sender: No OFD packet to send [14:44:02]OFD Sender: No OFD packet to send [14:44:07]OFD Sender: No OFD packet to send [14:44:12]OFD Sender: No OFD packet to send [14:44:17]OFD Sender: No OFD packet to send [14:44:22]OFD Sender: No OFD packet to send [14:44:27]OFD Sender: No OFD packet to send [14:44:32]OFD Sender: No OFD packet to send [14:44:37]OFD Sender: No OFD packet to send [14:44:42]OFD Sender: No OFD packet to send [14:44:47]OFD Sender: No OFD packet to send [14:44:52]OFD Sender: No OFD packet to send [14:44:57]OFD Sender: No OFD packet to send [14:45:02]OFD Sender: No OFD packet to send [14:45:07]OFD Sender: No OFD packet to send [14:45:12]OFD Sender: No OFD packet to send [14:45:17]OFD Sender: No OFD packet to send [14:45:22]OFD Sender: No OFD packet to send [14:45:27]OFD Sender: No OFD packet to send [14:45:32]OFD Sender: No OFD packet to send [14:45:37]OFD Sender: No OFD packet to send [14:45:42]OFD Sender: No OFD packet to send [14:45:47]OFD Sender: No OFD packet to send [14:45:52]OFD Sender: No OFD packet to send [14:45:57]OFD Sender: No OFD packet to send [14:46:02]OFD Sender: No OFD packet to send [14:46:07]OFD Sender: No OFD packet to send [14:46:12]OFD Sender: No OFD packet to send [14:46:17]OFD Sender: No OFD packet to send [14:46:22]OFD Sender: No OFD packet to send [14:46:27]OFD Sender: No OFD packet to send [14:46:32]OFD Sender: No OFD packet to send [14:46:37]OFD Sender: No OFD packet to send [14:46:43]OFD Sender: No OFD packet to send [14:46:48]OFD Sender: No OFD packet to send [14:46:53]OFD Sender: No OFD packet to send [14:46:58]OFD Sender: No OFD packet to send [14:47:03]OFD Sender: No OFD packet to send [14:47:08]OFD Sender: No OFD packet to send [14:47:13]OFD Sender: No OFD packet to send [14:47:18]OFD Sender: No OFD packet to send [14:47:23]OFD Sender: No OFD packet to send [14:47:28]OFD Sender: No OFD packet to send [14:47:33]OFD Sender: No OFD packet to send [14:47:38]OFD Sender: No OFD packet to send [14:47:43]OFD Sender: No OFD packet to send [14:47:48]OFD Sender: No OFD packet to send [14:47:53]OFD Sender: No OFD packet to send [14:47:58]OFD Sender: No OFD packet to send [14:48:03]OFD Sender: No OFD packet to send [14:48:08]OFD Sender: No OFD packet to send [14:48:13]OFD Sender: No OFD packet to send [14:48:18]OFD Sender: No OFD packet to send [14:48:23]OFD Sender: No OFD packet to send [14:48:28]OFD Sender: No OFD packet to send [14:48:33]OFD Sender: No OFD packet to send [14:48:38]OFD Sender: No OFD packet to send [14:48:43]OFD Sender: No OFD packet to send [14:48:48]OFD Sender: No OFD packet to send [14:48:53]OFD Sender: No OFD packet to send [14:48:58]OFD Sender: No OFD packet to send [14:49:03]OFD Sender: No OFD packet to send [14:49:08]OFD Sender: No OFD packet to send [14:49:13]OFD Sender: No OFD packet to send [14:49:18]OFD Sender: No OFD packet to send [14:49:23]OFD Sender: No OFD packet to send [14:49:28]OFD Sender: No OFD packet to send [14:49:33]OFD Sender: No OFD packet to send [14:49:38]OFD Sender: No OFD packet to send [14:49:43]OFD Sender: No OFD packet to send [14:49:48]OFD Sender: No OFD packet to send [14:49:53]OFD Sender: No OFD packet to send [14:49:58]OFD Sender: No OFD packet to send [14:50:03]OFD Sender: No OFD packet to send [14:50:08]OFD Sender: No OFD packet to send [14:50:13]OFD Sender: No OFD packet to send [14:50:18]OFD Sender: No OFD packet to send [14:50:23]OFD Sender: No OFD packet to send [14:50:28]OFD Sender: No OFD packet to send [14:50:33]OFD Sender: No OFD packet to send [14:50:38]OFD Sender: No OFD packet to send [14:50:43]OFD Sender: No OFD packet to send [14:50:48]OFD Sender: No OFD packet to send [14:50:53]OFD Sender: No OFD packet to send [14:50:58]OFD Sender: No OFD packet to send [14:51:03]OFD Sender: No OFD packet to send [14:51:08]OFD Sender: No OFD packet to send [14:51:13]OFD Sender: No OFD packet to send [14:51:18]OFD Sender: No OFD packet to send [14:51:23]OFD Sender: No OFD packet to send [14:51:28]OFD Sender: No OFD packet to send [14:51:33]OFD Sender: No OFD packet to send [14:51:38]OFD Sender: No OFD packet to send [14:51:43]OFD Sender: No OFD packet to send [14:51:48]OFD Sender: No OFD packet to send [14:51:53]OFD Sender: No OFD packet to send [14:51:58]OFD Sender: No OFD packet to send [14:52:03]OFD Sender: No OFD packet to send [14:52:08]OFD Sender: No OFD packet to send [14:52:13]OFD Sender: No OFD packet to send [14:52:18]OFD Sender: No OFD packet to send [14:52:23]OFD Sender: No OFD packet to send [14:52:28]OFD Sender: No OFD packet to send [14:52:33]OFD Sender: No OFD packet to send [14:52:38]OFD Sender: No OFD packet to send [14:52:43]OFD Sender: No OFD packet to send [14:52:48]OFD Sender: No OFD packet to send [14:52:53]OFD Sender: No OFD packet to send [14:52:58]OFD Sender: No OFD packet to send [14:53:03]OFD Sender: No OFD packet to send [14:53:08]OFD Sender: No OFD packet to send [14:53:13]OFD Sender: No OFD packet to send [14:53:18]OFD Sender: No OFD packet to send [14:53:23]OFD Sender: No OFD packet to send [14:53:28]OFD Sender: No OFD packet to send [14:53:33]OFD Sender: No OFD packet to send [14:53:38]OFD Sender: No OFD packet to send [14:53:43]OFD Sender: No OFD packet to send [14:53:48]OFD Sender: No OFD packet to send [14:53:53]OFD Sender: No OFD packet to send [14:53:58]OFD Sender: No OFD packet to send [14:54:03]OFD Sender: No OFD packet to send [14:54:08]OFD Sender: No OFD packet to send [14:54:13]OFD Sender: No OFD packet to send [14:54:16]accept exits with 7 [14:54:16]New connection [14:54:16]New thread 3067166052 created [14:54:16]Thread 3067309412 joined [14:54:16]Waiting for new connection... [14:54:16] Sock 7.Parse request [14:54:16]Sock 7.Check first char [14:54:16]Sock 7.First char is OK [14:54:16]request: POST /json_proto HTTP/1.0 [14:54:16]Method: POST [14:54:16]URL: /json_proto [14:54:16]Method is POST - this is cgi request [14:54:16]url: /json_proto [14:54:16]query_string will be loaded in cgi processing [14:54:16]execute_cgi json_proto POST (null) [14:54:16]execute_cgi path=json_proto method=POST [14:54:16]POST find Content-Length [14:54:16]Host: 172.17.53.196:8080 [14:54:16]Content-Length: 824 [14:54:16]Content-Type: application/json [14:54:16] [14:54:16]POST finish read [14:54:16]Found Content-Length = 824 [14:54:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34636", "tax_sys" : 0, "items" : [ { "code": "4870001571528", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,0 \u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.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" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:54:16]execute_script... [14:54: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)34636", "tax_sys" : 0, "items" : [ { "code": "4870001571528", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,0 \u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.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" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:54:16]POST & json_proto [14:54:16]process_json_proto [14:54:16]json parsed OK: [14:54:16]protocol is kg_v1.0 [14:54:16]action value=close_receipt [14:54:16]process_action close_receipt [14:54:16]cmd_close_receipt [14:54:16]MH_GetDate [14:54:16]Write to MH i2c: F0 00 00 C8 0A C1 [14:54:16]Write i2c OK [14:54:16]MH_I2C_Read... [14:54:16]Read from MH i2c: F0 [14:54:16]MH_I2C_Read... [14:54:16]Read from MH i2c: F0 09 00 [14:54:16]MH_I2C_Read... [14:54:16]Read from MH i2c: F0 09 00 C8 0A 00 9C 19 15 67 4F CD 9A 65 16 [14:54:16]GetLastDocTimeStamp 1729433876 [14:54:16]current date 1729436060 [14:54:16]FM_GetShiftState [14:54:16]SAM_PROTO_GetShiftState [14:54:16]wFMCommunicate request_size=4 [14:54:16]MH_SAM_APDU [14:54:16]CAPDU: 80 13 01 00 [14:54:16]Write to MH i2c: E2 08 00 C9 0A 80 13 01 00 00 00 00 00 50 [14:54:16]Write i2c OK [14:54:16]MH_I2C_Read... [14:54:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:54:16]Read from MH i2c: E2 [14:54:16]MH_I2C_Read... [14:54:16]Read from MH i2c: E2 0E 00 [14:54:16]MH_I2C_Read... [14:54:16]Read from MH i2c: E2 0E 00 C9 0A 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 96 [14:54:16]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [14:54:16]wFMCommunicate OK [14:54:16]SAM_PROTO_GetShiftState done [14:54:16]FM_GetShiftState done [14:54:16]opened in 1729384049 [14:54:16]opened+sec_in_day 1729470449 [14:54:16]quantity*price = 10000 [14:54:16]sum+1 = 10001 [14:54:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 0.00 Безнал.: 100.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 34 20.10.2024 14:54 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965376 ФД: 24876 ФПД: 89449858144882 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T145420&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24876&fm=89449858144882&tin=02508201610067®Number=0000000000098147&sum=10000 0 [14:54:17]StoreToDocumentArchive [14:54:17]shift 455 fd 24876 [14:54:17]save to /storage/0455/doc_00024876 [14:54:17]save last doc name /storage/0455/doc_00024876 to /storage/kkm_last_doc_name [14:54:17]save OK [14:54:17]Clear old archive folders... [14:54:17]ProcessDocumentItem done err = 0, tmpTLVsize=298 [14:54:17]tlvbuf is 00DDF7F0 [14:54:17]SAM_PROTO_ClearQueue [14:54:17]wFMCommunicate request_size=4 [14:54:17]MH_SAM_APDU [14:54:17]CAPDU: 80 09 00 00 [14:54:17]Write to MH i2c: E2 08 00 D6 0A 80 09 00 00 00 00 00 00 52 [14:54:17]Write i2c OK [14:54:17]MH_I2C_Read... [14:54:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:54:18]Read from MH i2c: E2 [14:54:18]MH_I2C_Read... [14:54:18]Read from MH i2c: E2 03 00 [14:54:18]MH_I2C_Read... [14:54:18]Read from MH i2c: E2 03 00 D6 0A 00 90 00 54 [14:54:18]RAPDU: 90 00 [14:54:18]wFMCommunicate OK [14:54:18]SAM_PROTO_ClearQueue done [14:54:18]KKMCreateOFDPacket [14:54:18]OFDProtocolAddRootSTLVToBuf [14:54:18]FM_MakeSignedData [14:54:18]FM_MakeSignedData [14:54:18]SAM_PROTO_SignData [14:54:18]wFMCommunicate request_size=4 [14:54:18]MH_SAM_APDU [14:54:18]CAPDU: 80 0D 01 02 [14:54:18]Write to MH i2c: E2 08 00 D7 0A 80 0D 01 02 00 00 00 00 5A [14:54:18]Write i2c OK [14:54:18]MH_I2C_Read... [14:54:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:54:18]Read from MH i2c: E2 [14:54:18]MH_I2C_Read... [14:54:18]Read from MH i2c: E2 03 00 [14:54:18]MH_I2C_Read... [14:54:18]Read from MH i2c: E2 03 00 D7 0A 00 90 00 55 [14:54:18]RAPDU: 90 00 [14:54:18]wFMCommunicate OK [14:54:18]wFMCommunicate request_size=255 [14:54:18]MH_SAM_APDU [14:54:18]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 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 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 27 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 9C 19 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [14:54:18]Write to MH i2c: E2 02 01 D8 0A 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 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 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 27 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 9C 19 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 DE [14:54:18]Write i2c OK [14:54:18]MH_I2C_Read... [14:54:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:54:18]OFD Sender: No OFD packet to send [14:54:18]Read from MH i2c: E2 [14:54:18]MH_I2C_Read... [14:54:18]Read from MH i2c: E2 03 00 [14:54:18]MH_I2C_Read... [14:54:18]Read from MH i2c: E2 03 00 D8 0A 00 90 00 56 [14:54:18]RAPDU: 90 00 [14:54:18]wFMCommunicate OK [14:54:18]wFMCommunicate request_size=57 [14:54:18]MH_SAM_APDU [14:54:18]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2C 61 00 00 35 04 06 00 51 5A AB 05 1A 72 [14:54:18]Write to MH i2c: E2 3C 00 D9 0A 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2C 61 00 00 35 04 06 00 51 5A AB 05 1A 72 00 00 96 [14:54:18]Write i2c OK [14:54:18]MH_I2C_Read... [14:54:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:54:18]Read from MH i2c: E2 [14:54:18]MH_I2C_Read... [14:54:18]Read from MH i2c: E2 03 00 [14:54:18]MH_I2C_Read... [14:54:18]Read from MH i2c: E2 03 00 D9 0A 00 90 00 57 [14:54:18]RAPDU: 90 00 [14:54:18]wFMCommunicate OK [14:54:18]wFMCommunicate request_size=4 [14:54:18]MH_SAM_APDU [14:54:18]CAPDU: 80 0D 03 02 [14:54:18]Write to MH i2c: E2 08 00 DA 0A 80 0D 03 02 00 00 00 00 5F [14:54:18]Write i2c OK [14:54:18]MH_I2C_Read... [14:54:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:54:18]Read from MH i2c: E2 [14:54:18]MH_I2C_Read... [14:54:18]Read from MH i2c: E2 0B 00 [14:54:18]MH_I2C_Read... [14:54:18]Read from MH i2c: E2 0B 00 DA 0A 00 98 B2 7C 48 BC 2A 45 A2 90 00 3B [14:54:18]RAPDU: 98 B2 7C 48 BC 2A 45 A2 90 00 [14:54:18]wFMCommunicate OK [14:54:18]SAM_PROTO_SignData done [14:54:18]FM_MakeSignedData done [14:54:18]CreateOFDProtocolMessage [14:54:18]wFMCommunicate request_size=4 [14:54:18]MH_SAM_APDU [14:54:18]CAPDU: 80 11 00 00 [14:54:18]Write to MH i2c: E2 08 00 DB 0A 80 11 00 00 00 00 00 00 5F [14:54:18]Write i2c OK [14:54:18]MH_I2C_Read... [14:54:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:54:18]Read from MH i2c: E2 [14:54:18]MH_I2C_Read... [14:54:18]Read from MH i2c: E2 17 00 [14:54:18]MH_I2C_Read... [14:54:18]Read from MH i2c: E2 17 00 DB 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 B6 [14:54:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [14:54:18]wFMCommunicate OK [14:54:18]CreateOFDProtocolMessage done [14:54:18]OFDSenderStorePacket 24876 [14:54:18]StoreOFDPacket docnum=24876 [14:54:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 3E 01 00 00 AA AF 36 01 8C 0B 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 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 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 27 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 9C 19 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2C 61 00 00 35 04 06 00 51 5A AB 05 1A 72 98 B2 7C 48 BC 2A 45 A2 [14:54:18]CheckFolder [14:54:18]dirname=/storage/ofd_packets [14:54:18]CheckFolder done [14:54:18]ProducePacketName [14:54:18]name=ofd_packets/00024876 [14:54:18]NVStorageSaveData ofd_packets/00024876 [14:54:18]File name is /storage/ofd_packets/00024876 [14:54:18]Write 348 bytes [14:54:18]NVStorageSaveData done [14:54:18]OFDSenderStorePacket done [14:54:18]KKMCreateOFDPacket done [14:54:18]NVStorageSaveData kkm_last_timestamp [14:54:18]File name is /storage/kkm_last_timestamp [14:54:18]Write 4 bytes [14:54:18]NVStorageSaveData done [14:54:18]ExternCall_PrintAddStr [14:54:18]wPrintStart [14:54:18]Write to MH i2c: 01 00 00 DC 0A E6 [14:54:18]Write i2c OK [14:54:18]MH_I2C_Read... [14:54:18]Read from MH i2c: 01 [14:54:18]MH_I2C_Read... [14:54:18]Read from MH i2c: 01 07 00 [14:54:18]MH_I2C_Read... [14:54:18]Read from MH i2c: 01 07 00 DC 0A 00 00 00 00 00 FF 0F FB [14:54:18]RasterBufferAndPrint [14:54:18]line Счет N : (3)34636 [14:54:18]line ИНН: 02508201610067 [14:54:18]line Контрольно-Кассовый Чек [14:54:18]line ПРОДАЖА [14:54:18]line Товар: 4870001571528 [14:54:18]line Вода ASU пит н.газ персик ПЭТ 1,0 л [14:54:18]line 1.000 * 100.00 [14:54:18]line = 100.00 [14:54:18]line НДС 12% НСП 1% [14:54:18]line > о реализуемом товаре [14:54:18]line ИТОГО: 100.00 [14:54:18]line НСП 1% : 0.88 [14:54:18]line НДС 12% : 10.62 [14:54:18]line Наличными: 0.00 [14:54:18]line Безнал.: 100.00 [14:54:18]line Место: АЗС № 161 "Партнер Нефть" [14:54:18]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [14:54:18]line СНО: Общий режим [14:54:18]line Чек 34 20.10.2024 14:54 [14:54:18]line Смена: 455 ФФД: 1.0 [14:54:18]line ЗНМ: 0300000240 [14:54:18]line РНМ: 0000000000098147 [14:54:18]line Версия ККМ: 001 [14:54:18]line Платежная система: Mbank [14:54:18]line ФМ: 0000000000965376 [14:54:18]line ФД: 24876 [14:54:18]line ФПД: 89449858144882 [14:54:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T145420&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24876&fm=89449858144882&tin=02508201610067®Number=0000000000098147&sum=10000 [14:54:18]line 0 [14:54:18]OFD Sender: Processing packet 24876 [packets to send 5, broken 4] [14:54:18]ProducePacketName [14:54:18]name=ofd_packets/00024876 [14:54:18]OFD Sender: To server: pG, [14:54:18]CommunicateWithHost lk.salyk.kg:30040 [14:54:18]ConnectInit lk.salyk.kg [14:54:18]written 0, free lines is 4095 [14:54:18]Connected sock=10 [14:54:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 3E 01 00 00 AA AF 36 01 8C 0B 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 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 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 27 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 9C 19 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2C 61 00 00 35 04 06 00 51 5A AB 05 1A 72 98 B2 7C 48 BC 2A 45 A2 [14:54:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 A1 8D 47 00 DE F1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2C 61 00 00 F4 03 04 00 1C C2 14 67 B6 04 01 00 00 59 89 47 CF 12 59 AB 1C [14:54:19]CommunicateWithHost err = 0 [14:54:19]CheckOFDResponse [14:54:19]1017 (14) - 77093643461234 [14:54:19]1041 (16) - 0000000000965376 [14:54:19]1040 (4) - 24876 [14:54:19]1012 (4) - 20.10.2024 08:41 [14:54:19]1206 (1) - 0 [14:54:19]OFD Sender: Remove packet 24876 [14:54:19]ProducePacketName [14:54:19]name=ofd_packets/00024876 [14:54:19]NVStorageDeleteData [14:54:19]Write to MH i2c: 01 00 00 06 0B 11 [14:54:19]Write i2c OK [14:54:19]MH_I2C_Read... [14:54:19]Read from MH i2c: 01 [14:54:19]MH_I2C_Read... [14:54:19]Read from MH i2c: 01 07 00 [14:54:19]MH_I2C_Read... [14:54:19]Read from MH i2c: 01 07 00 06 0B 00 00 00 00 00 D4 0C F8 [14:54:19]RasterBufferAndPrint [14:54:19]line [14:54:19]line [14:54:19]line [14:54:19]line [14:54:19]line [14:54:19]written 0, free lines is 3290 [14:54:19]process_action close_receipt done [14:54:19]requested_data is exist [14:54:19]produce_requested_data [14:54:19]requested_item fm.sn is exist - process it [14:54:19]wFMCommunicate request_size=4 [14:54:19]MH_SAM_APDU [14:54:19]CAPDU: 80 11 00 00 [14:54:19]Write to MH i2c: E2 08 00 0D 0B 80 11 00 00 00 00 00 00 92 [14:54:19]Write i2c OK [14:54:19]MH_I2C_Read... [14:54:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:54:19]Read from MH i2c: E2 [14:54:19]MH_I2C_Read... [14:54:19]Read from MH i2c: E2 17 00 [14:54:19]MH_I2C_Read... [14:54:19]Read from MH i2c: E2 17 00 0D 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 E9 [14:54:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [14:54:19]wFMCommunicate OK [14:54:19]requested_item fd.num is exist - process it [14:54:19]SAM_PROTO_GetFieldsCounters [14:54:19]wFMCommunicate request_size=4 [14:54:19]MH_SAM_APDU [14:54:19]CAPDU: 80 13 00 00 [14:54:19]Write to MH i2c: E2 08 00 0E 0B 80 13 00 00 00 00 00 00 95 [14:54:19]Write i2c OK [14:54:19]MH_I2C_Read... [14:54:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:54:19]Read from MH i2c: E2 [14:54:19]MH_I2C_Read... [14:54:19]Read from MH i2c: E2 62 00 [14:54:19]MH_I2C_Read... [14:54:19]Read from MH i2c: E2 62 00 0E 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 2C 61 00 00 0E 04 04 00 C7 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 79 [14:54:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 2C 61 00 00 0E 04 04 00 C7 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 [14:54:19]wFMCommunicate OK [14:54:19]SAM_PROTO_GetFieldsCounters done [14:54:19]requested_item shift.num is exist - process it [14:54:19]requested_item shift.opened is exist - process it [14:54:19]req_shift_opened [14:54:19]FM_GetShiftState [14:54:19]SAM_PROTO_GetShiftState [14:54:19]wFMCommunicate request_size=4 [14:54:19]MH_SAM_APDU [14:54:19]CAPDU: 80 13 01 00 [14:54:19]Write to MH i2c: E2 08 00 0F 0B 80 13 01 00 00 00 00 00 97 [14:54:19]Write i2c OK [14:54:19]MH_I2C_Read... [14:54:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:54:19]Read from MH i2c: E2 [14:54:19]MH_I2C_Read... [14:54:19]Read from MH i2c: E2 0E 00 [14:54:19]MH_I2C_Read... [14:54:19]Read from MH i2c: E2 0E 00 0F 0B 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 DD [14:54:19]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [14:54:19]wFMCommunicate OK [14:54:19]SAM_PROTO_GetShiftState done [14:54:19]FM_GetShiftState done [14:54:19]req_shift_opened done [14:54:19]requested_item shift.open_date is exist - process it [14:54:19]req_shift_open_date [14:54:19]req_shift_open_date done [14:54:19]produce_requested_data done [14:54:19]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24876,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [14:54:19]process_action_free close_receipt [14:54:19]json_value_free [14:54:19]json_value_free done [14:54:19]process_json_proto returns [14:54:19]Send response to host [14:54:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24876,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [14:54:19]free response buf [14:54:19]execute_script done [14:54:19]execute_script returns [14:54:19]free content buf [14:54:19]Sock 7.Close socket [14:54:19]Sock 7.Thread stoped [14:54:19]OFD Sender: No OFD packet to send [14:54:24]OFD Sender: No OFD packet to send [14:54:29]OFD Sender: No OFD packet to send [14:54:34]OFD Sender: No OFD packet to send [14:54:39]OFD Sender: No OFD packet to send [14:54:44]OFD Sender: No OFD packet to send [14:54:49]OFD Sender: No OFD packet to send [14:54:54]OFD Sender: No OFD packet to send [14:54:59]OFD Sender: No OFD packet to send [14:55:04]OFD Sender: No OFD packet to send [14:55:09]OFD Sender: No OFD packet to send [14:55:14]OFD Sender: No OFD packet to send [14:55:19]OFD Sender: No OFD packet to send [14:55:24]OFD Sender: No OFD packet to send [14:55:29]OFD Sender: No OFD packet to send [14:55:34]OFD Sender: No OFD packet to send [14:55:39]OFD Sender: No OFD packet to send [14:55:44]OFD Sender: No OFD packet to send [14:55:49]OFD Sender: No OFD packet to send [14:55:54]OFD Sender: No OFD packet to send [14:55:59]OFD Sender: No OFD packet to send [14:56:04]OFD Sender: No OFD packet to send [14:56:09]OFD Sender: No OFD packet to send [14:56:14]OFD Sender: No OFD packet to send [14:56:19]OFD Sender: No OFD packet to send [14:56:24]OFD Sender: No OFD packet to send [14:56:29]OFD Sender: No OFD packet to send [14:56:34]OFD Sender: No OFD packet to send [14:56:38]int [14:56:38]Write to MH i2c: 01 00 00 10 0B 1B [14:56:38]*** FLAG_PRN_KEY set [14:56:38]Write i2c OK [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: 01 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: 01 07 00 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: 01 07 00 10 0B 00 08 00 00 00 FF 0F 38 [14:56:38]state=0 [14:56:38]Key pressed [14:56:38]Feed [14:56:38]Write to MH i2c: D8 00 00 11 0B F3 [14:56:38]Write i2c OK [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: D8 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: D8 01 00 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: D8 01 00 11 0B 00 F4 [14:56:38]int [14:56:38]Write to MH i2c: 01 00 00 12 0B 1D [14:56:38]Write i2c OK [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: 01 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: 01 07 00 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: 01 07 00 12 0B 00 48 00 00 00 3D 00 A9 [14:56:38]state=2 [14:56:38]Key pressed [14:56:38]int [14:56:38]Write to MH i2c: 01 00 00 13 0B 1E [14:56:38]*** FLAG_PRN_KEY reset [14:56:38]Write i2c OK [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: 01 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: 01 07 00 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: 01 07 00 13 0B 00 00 00 00 00 F6 0F 2A [14:56:38]state=2 [14:56:38]Stop feed [14:56:38]int [14:56:38]Write to MH i2c: 01 00 00 14 0B 1F [14:56:38]*** FLAG_PRN_KEY set [14:56:38]Write i2c OK [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: 01 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: 01 07 00 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: 01 07 00 14 0B 00 08 00 00 00 FF 0F 3C [14:56:38]state=0 [14:56:38]Key pressed [14:56:38]Feed [14:56:38]Write to MH i2c: D8 00 00 15 0B F7 [14:56:38]Write i2c OK [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: D8 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: D8 01 00 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: D8 01 00 15 0B 00 F8 [14:56:38]int [14:56:38]Write to MH i2c: 01 00 00 16 0B 21 [14:56:38]Write i2c OK [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: 01 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: 01 07 00 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: 01 07 00 16 0B 00 48 00 00 00 3C 00 AC [14:56:38]state=2 [14:56:38]Key pressed [14:56:38]int [14:56:38]Write to MH i2c: 01 00 00 17 0B 22 [14:56:38]*** FLAG_PRN_KEY reset [14:56:38]Write i2c OK [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: 01 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: 01 07 00 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: 01 07 00 17 0B 00 00 00 00 00 F6 0F 2E [14:56:38]state=2 [14:56:38]Stop feed [14:56:39]OFD Sender: No OFD packet to send [14:56:44]OFD Sender: No OFD packet to send [14:56:49]OFD Sender: No OFD packet to send [14:56:54]OFD Sender: No OFD packet to send [14:56:59]OFD Sender: No OFD packet to send [14:57:04]OFD Sender: No OFD packet to send [14:57:09]OFD Sender: No OFD packet to send [14:57:14]OFD Sender: No OFD packet to send [14:57:19]OFD Sender: No OFD packet to send [14:57:24]OFD Sender: No OFD packet to send [14:57:29]OFD Sender: No OFD packet to send [14:57:34]OFD Sender: No OFD packet to send [14:57:39]OFD Sender: No OFD packet to send [14:57:44]OFD Sender: No OFD packet to send [14:57:49]OFD Sender: No OFD packet to send [14:57:54]OFD Sender: No OFD packet to send [14:57:59]OFD Sender: No OFD packet to send [14:58:04]OFD Sender: No OFD packet to send [14:58:09]OFD Sender: No OFD packet to send [14:58:14]OFD Sender: No OFD packet to send [14:58:19]OFD Sender: No OFD packet to send [14:58:24]OFD Sender: No OFD packet to send [14:58:29]OFD Sender: No OFD packet to send [14:58:34]OFD Sender: No OFD packet to send [14:58:39]OFD Sender: No OFD packet to send [14:58:44]OFD Sender: No OFD packet to send [14:58:49]OFD Sender: No OFD packet to send [14:58:54]OFD Sender: No OFD packet to send [14:58:59]OFD Sender: No OFD packet to send [14:59:04]OFD Sender: No OFD packet to send [14:59:09]OFD Sender: No OFD packet to send [14:59:14]OFD Sender: No OFD packet to send [14:59:19]OFD Sender: No OFD packet to send [14:59:24]OFD Sender: No OFD packet to send [14:59:29]OFD Sender: No OFD packet to send [14:59:34]OFD Sender: No OFD packet to send [14:59:39]OFD Sender: No OFD packet to send [14:59:44]OFD Sender: No OFD packet to send [14:59:49]OFD Sender: No OFD packet to send [14:59:54]OFD Sender: No OFD packet to send [14:59:59]OFD Sender: No OFD packet to send [15:00:04]OFD Sender: No OFD packet to send [15:00:09]OFD Sender: No OFD packet to send [15:00:14]OFD Sender: No OFD packet to send [15:00:19]OFD Sender: No OFD packet to send [15:00:24]OFD Sender: No OFD packet to send [15:00:29]OFD Sender: No OFD packet to send [15:00:34]OFD Sender: No OFD packet to send [15:00:39]OFD Sender: No OFD packet to send [15:00:44]OFD Sender: No OFD packet to send [15:00:50]OFD Sender: No OFD packet to send [15:00:55]OFD Sender: No OFD packet to send [15:01:00]OFD Sender: No OFD packet to send [15:01:05]OFD Sender: No OFD packet to send [15:01:10]OFD Sender: No OFD packet to send [15:01:15]OFD Sender: No OFD packet to send [15:01:20]OFD Sender: No OFD packet to send [15:01:25]OFD Sender: No OFD packet to send [15:01:30]OFD Sender: No OFD packet to send [15:01:35]OFD Sender: No OFD packet to send [15:01:40]OFD Sender: No OFD packet to send [15:01:45]OFD Sender: No OFD packet to send [15:01:50]OFD Sender: No OFD packet to send [15:01:55]OFD Sender: No OFD packet to send [15:02:00]OFD Sender: No OFD packet to send [15:02:05]OFD Sender: No OFD packet to send [15:02:10]OFD Sender: No OFD packet to send [15:02:15]OFD Sender: No OFD packet to send [15:02:20]OFD Sender: No OFD packet to send [15:02:25]OFD Sender: No OFD packet to send [15:02:30]OFD Sender: No OFD packet to send [15:02:35]OFD Sender: No OFD packet to send [15:02:40]OFD Sender: No OFD packet to send [15:02:45]OFD Sender: No OFD packet to send [15:02:50]OFD Sender: No OFD packet to send [15:02:55]OFD Sender: No OFD packet to send [15:03:00]OFD Sender: No OFD packet to send [15:03:05]OFD Sender: No OFD packet to send [15:03:10]OFD Sender: No OFD packet to send [15:03:15]OFD Sender: No OFD packet to send [15:03:20]OFD Sender: No OFD packet to send [15:03:25]OFD Sender: No OFD packet to send [15:03:30]OFD Sender: No OFD packet to send [15:03:35]OFD Sender: No OFD packet to send [15:03:40]OFD Sender: No OFD packet to send [15:03:45]OFD Sender: No OFD packet to send [15:03:50]OFD Sender: No OFD packet to send [15:03:55]OFD Sender: No OFD packet to send [15:04:00]OFD Sender: No OFD packet to send [15:04:05]OFD Sender: No OFD packet to send [15:04:10]OFD Sender: No OFD packet to send [15:04:15]OFD Sender: No OFD packet to send [15:04:20]OFD Sender: No OFD packet to send [15:04:25]OFD Sender: No OFD packet to send [15:04:30]OFD Sender: No OFD packet to send [15:04:35]OFD Sender: No OFD packet to send [15:04:40]OFD Sender: No OFD packet to send [15:04:45]OFD Sender: No OFD packet to send [15:04:50]OFD Sender: No OFD packet to send [15:04:55]OFD Sender: No OFD packet to send [15:05:00]OFD Sender: No OFD packet to send [15:05:05]OFD Sender: No OFD packet to send [15:05:10]OFD Sender: No OFD packet to send [15:05:15]OFD Sender: No OFD packet to send [15:05:20]OFD Sender: No OFD packet to send [15:05:25]OFD Sender: No OFD packet to send [15:05:30]OFD Sender: No OFD packet to send [15:05:35]OFD Sender: No OFD packet to send [15:05:40]OFD Sender: No OFD packet to send [15:05:45]OFD Sender: No OFD packet to send [15:05:50]OFD Sender: No OFD packet to send [15:05:55]OFD Sender: No OFD packet to send [15:06:00]OFD Sender: No OFD packet to send [15:06:05]OFD Sender: No OFD packet to send [15:06:10]OFD Sender: No OFD packet to send [15:06:15]OFD Sender: No OFD packet to send [15:06:20]OFD Sender: No OFD packet to send [15:06:25]OFD Sender: No OFD packet to send [15:06:30]OFD Sender: No OFD packet to send [15:06:35]OFD Sender: No OFD packet to send [15:06:40]OFD Sender: No OFD packet to send [15:06:45]OFD Sender: No OFD packet to send [15:06:50]OFD Sender: No OFD packet to send [15:06:55]OFD Sender: No OFD packet to send [15:07:00]OFD Sender: No OFD packet to send [15:07:05]OFD Sender: No OFD packet to send [15:07:10]OFD Sender: No OFD packet to send [15:07:15]OFD Sender: No OFD packet to send [15:07:20]OFD Sender: No OFD packet to send [15:07:25]OFD Sender: No OFD packet to send [15:07:30]OFD Sender: No OFD packet to send [15:07:35]OFD Sender: No OFD packet to send [15:07:40]OFD Sender: No OFD packet to send [15:07:45]OFD Sender: No OFD packet to send [15:07:50]OFD Sender: No OFD packet to send [15:07:55]OFD Sender: No OFD packet to send [15:08:00]OFD Sender: No OFD packet to send [15:08:05]OFD Sender: No OFD packet to send [15:08:10]OFD Sender: No OFD packet to send [15:08:15]OFD Sender: No OFD packet to send [15:08:20]OFD Sender: No OFD packet to send [15:08:25]OFD Sender: No OFD packet to send [15:08:30]OFD Sender: No OFD packet to send [15:08:35]OFD Sender: No OFD packet to send [15:08:40]OFD Sender: No OFD packet to send [15:08:45]OFD Sender: No OFD packet to send [15:08:50]OFD Sender: No OFD packet to send [15:08:55]OFD Sender: No OFD packet to send [15:09:00]OFD Sender: No OFD packet to send [15:09:05]OFD Sender: No OFD packet to send [15:09:10]OFD Sender: No OFD packet to send [15:09:15]OFD Sender: No OFD packet to send [15:09:20]OFD Sender: No OFD packet to send [15:09:25]OFD Sender: No OFD packet to send [15:09:30]OFD Sender: No OFD packet to send [15:09:35]OFD Sender: No OFD packet to send [15:09:40]OFD Sender: No OFD packet to send [15:09:45]OFD Sender: No OFD packet to send [15:09:50]OFD Sender: No OFD packet to send [15:09:55]OFD Sender: No OFD packet to send [15:10:00]OFD Sender: No OFD packet to send [15:10:05]OFD Sender: No OFD packet to send [15:10:10]OFD Sender: No OFD packet to send [15:10:15]OFD Sender: No OFD packet to send [15:10:20]OFD Sender: No OFD packet to send [15:10:25]OFD Sender: No OFD packet to send [15:10:30]OFD Sender: No OFD packet to send [15:10:35]OFD Sender: No OFD packet to send [15:10:40]OFD Sender: No OFD packet to send [15:10:45]OFD Sender: No OFD packet to send [15:10:50]OFD Sender: No OFD packet to send [15:10:55]OFD Sender: No OFD packet to send [15:11:00]OFD Sender: No OFD packet to send [15:11:05]OFD Sender: No OFD packet to send [15:11:10]OFD Sender: No OFD packet to send [15:11:15]OFD Sender: No OFD packet to send [15:11:20]OFD Sender: No OFD packet to send [15:11:25]OFD Sender: No OFD packet to send [15:11:30]OFD Sender: No OFD packet to send [15:11:35]OFD Sender: No OFD packet to send [15:11:40]OFD Sender: No OFD packet to send [15:11:45]OFD Sender: No OFD packet to send [15:11:50]OFD Sender: No OFD packet to send [15:11:55]OFD Sender: No OFD packet to send [15:12:00]OFD Sender: No OFD packet to send [15:12:05]OFD Sender: No OFD packet to send [15:12:10]OFD Sender: No OFD packet to send [15:12:15]OFD Sender: No OFD packet to send [15:12:20]OFD Sender: No OFD packet to send [15:12:25]OFD Sender: No OFD packet to send [15:12:30]OFD Sender: No OFD packet to send [15:12:35]OFD Sender: No OFD packet to send [15:12:40]OFD Sender: No OFD packet to send [15:12:45]OFD Sender: No OFD packet to send [15:12:50]OFD Sender: No OFD packet to send [15:12:55]OFD Sender: No OFD packet to send [15:13:00]OFD Sender: No OFD packet to send [15:13:05]OFD Sender: No OFD packet to send [15:13:10]OFD Sender: No OFD packet to send [15:13:15]OFD Sender: No OFD packet to send [15:13:20]OFD Sender: No OFD packet to send [15:13:25]OFD Sender: No OFD packet to send [15:13:30]OFD Sender: No OFD packet to send [15:13:35]OFD Sender: No OFD packet to send [15:13:40]OFD Sender: No OFD packet to send [15:13:45]OFD Sender: No OFD packet to send [15:13:50]OFD Sender: No OFD packet to send [15:13:55]OFD Sender: No OFD packet to send [15:14:00]OFD Sender: No OFD packet to send [15:14:05]OFD Sender: No OFD packet to send [15:14:10]OFD Sender: No OFD packet to send [15:14:15]OFD Sender: No OFD packet to send [15:14:20]OFD Sender: No OFD packet to send [15:14:25]OFD Sender: No OFD packet to send [15:14:30]OFD Sender: No OFD packet to send [15:14:35]OFD Sender: No OFD packet to send [15:14:40]OFD Sender: No OFD packet to send [15:14:45]OFD Sender: No OFD packet to send [15:14:50]OFD Sender: No OFD packet to send [15:14:55]OFD Sender: No OFD packet to send [15:15:00]OFD Sender: No OFD packet to send [15:15:05]OFD Sender: No OFD packet to send [15:15:10]OFD Sender: No OFD packet to send [15:15:15]OFD Sender: No OFD packet to send [15:15:20]OFD Sender: No OFD packet to send [15:15:25]OFD Sender: No OFD packet to send [15:15:30]OFD Sender: No OFD packet to send [15:15:35]OFD Sender: No OFD packet to send [15:15:40]OFD Sender: No OFD packet to send [15:15:45]OFD Sender: No OFD packet to send [15:15:50]OFD Sender: No OFD packet to send [15:15:55]OFD Sender: No OFD packet to send [15:16:00]OFD Sender: No OFD packet to send [15:16:05]OFD Sender: No OFD packet to send [15:16:10]OFD Sender: No OFD packet to send [15:16:15]OFD Sender: No OFD packet to send [15:16:20]OFD Sender: No OFD packet to send [15:16:25]OFD Sender: No OFD packet to send [15:16:30]OFD Sender: No OFD packet to send [15:16:35]OFD Sender: No OFD packet to send [15:16:40]OFD Sender: No OFD packet to send [15:16:45]OFD Sender: No OFD packet to send [15:16:50]OFD Sender: No OFD packet to send [15:16:55]OFD Sender: No OFD packet to send [15:17:00]OFD Sender: No OFD packet to send [15:17:05]OFD Sender: No OFD packet to send [15:17:10]OFD Sender: No OFD packet to send [15:17:15]OFD Sender: No OFD packet to send [15:17:20]OFD Sender: No OFD packet to send [15:17:25]OFD Sender: No OFD packet to send [15:17:30]OFD Sender: No OFD packet to send [15:17:35]OFD Sender: No OFD packet to send [15:17:40]OFD Sender: No OFD packet to send [15:17:45]OFD Sender: No OFD packet to send [15:17:50]OFD Sender: No OFD packet to send [15:17:55]OFD Sender: No OFD packet to send [15:18:00]OFD Sender: No OFD packet to send [15:18:05]OFD Sender: No OFD packet to send [15:18:10]OFD Sender: No OFD packet to send [15:18:15]OFD Sender: No OFD packet to send [15:18:20]OFD Sender: No OFD packet to send [15:18:25]OFD Sender: No OFD packet to send [15:18:30]OFD Sender: No OFD packet to send [15:18:35]OFD Sender: No OFD packet to send [15:18:40]OFD Sender: No OFD packet to send [15:18:45]OFD Sender: No OFD packet to send [15:18:50]OFD Sender: No OFD packet to send [15:18:55]OFD Sender: No OFD packet to send [15:19:00]OFD Sender: No OFD packet to send [15:19:05]OFD Sender: No OFD packet to send [15:19:10]OFD Sender: No OFD packet to send [15:19:15]OFD Sender: No OFD packet to send [15:19:20]OFD Sender: No OFD packet to send [15:19:25]OFD Sender: No OFD packet to send [15:19:30]OFD Sender: No OFD packet to send [15:19:35]OFD Sender: No OFD packet to send [15:19:40]OFD Sender: No OFD packet to send [15:19:45]OFD Sender: No OFD packet to send [15:19:50]OFD Sender: No OFD packet to send [15:19:55]OFD Sender: No OFD packet to send [15:20:00]OFD Sender: No OFD packet to send [15:20:05]OFD Sender: No OFD packet to send [15:20:10]OFD Sender: No OFD packet to send [15:20:15]OFD Sender: No OFD packet to send [15:20:20]OFD Sender: No OFD packet to send [15:20:25]OFD Sender: No OFD packet to send [15:20:30]OFD Sender: No OFD packet to send [15:20:35]OFD Sender: No OFD packet to send [15:20:40]OFD Sender: No OFD packet to send [15:20:45]OFD Sender: No OFD packet to send [15:20:50]OFD Sender: No OFD packet to send [15:20:55]OFD Sender: No OFD packet to send [15:21:00]OFD Sender: No OFD packet to send [15:21:05]OFD Sender: No OFD packet to send [15:21:10]OFD Sender: No OFD packet to send [15:21:15]OFD Sender: No OFD packet to send [15:21:20]OFD Sender: No OFD packet to send [15:21:25]OFD Sender: No OFD packet to send [15:21:30]OFD Sender: No OFD packet to send [15:21:35]OFD Sender: No OFD packet to send [15:21:40]OFD Sender: No OFD packet to send [15:21:45]OFD Sender: No OFD packet to send [15:21:50]OFD Sender: No OFD packet to send [15:21:55]OFD Sender: No OFD packet to send [15:22:00]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:13]accept exits with 9 [15:22:13]New connection [15:22:13]New thread 3067309412 created [15:22:13]Thread 3067166052 joined [15:22:13]Waiting for new connection... [15:22:13] Sock 9.Parse request [15:22:13]Sock 9.Check first char [15:22:13]Sock 9.First char is OK [15:22:13]request: POST /json_proto HTTP/1.0 [15:22:13]Method: POST [15:22:13]URL: /json_proto [15:22:13]Method is POST - this is cgi request [15:22:13]url: /json_proto [15:22:13]query_string will be loaded in cgi processing [15:22:13]execute_cgi json_proto POST (null) [15:22:13]execute_cgi path=json_proto method=POST [15:22:13]POST find Content-Length [15:22:13]Host: 172.17.53.196:8080 [15:22:13]Content-Length: 584 [15:22:13]Content-Type: application/json [15:22:13] [15:22:13]POST finish read [15:22:13]Found Content-Length = 584 [15:22:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34637", "tax_sys" : 0, "items" : [ { "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:22:13]execute_script... [15:22:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34637", "tax_sys" : 0, "items" : [ { "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:22:13]POST & json_proto [15:22:13]process_json_proto [15:22:13]json parsed OK: [15:22:13]protocol is kg_v1.0 [15:22:13]action value=close_receipt [15:22:13]process_action close_receipt [15:22:13]cmd_close_receipt [15:22:13]MH_GetDate [15:22:13]Write to MH i2c: F0 00 00 18 0B 12 [15:22:13]Write i2c OK [15:22:13]MH_I2C_Read... [15:22:13]Read from MH i2c: F0 [15:22:13]MH_I2C_Read... [15:22:13]Read from MH i2c: F0 09 00 [15:22:13]MH_I2C_Read... [15:22:13]Read from MH i2c: F0 09 00 18 0B 00 29 20 15 67 4F CD 9A 65 FB [15:22:13]GetLastDocTimeStamp 1729436060 [15:22:13]current date 1729437737 [15:22:13]FM_GetShiftState [15:22:13]SAM_PROTO_GetShiftState [15:22:13]wFMCommunicate request_size=4 [15:22:13]MH_SAM_APDU [15:22:13]CAPDU: 80 13 01 00 [15:22:13]Write to MH i2c: E2 08 00 19 0B 80 13 01 00 00 00 00 00 A1 [15:22:13]Write i2c OK [15:22:13]MH_I2C_Read... [15:22:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:22:13]Read from MH i2c: E2 [15:22:13]MH_I2C_Read... [15:22:13]Read from MH i2c: E2 0E 00 [15:22:13]MH_I2C_Read... [15:22:13]Read from MH i2c: E2 0E 00 19 0B 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 E7 [15:22:13]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [15:22:13]wFMCommunicate OK [15:22:13]SAM_PROTO_GetShiftState done [15:22:13]FM_GetShiftState done [15:22:13]opened in 1729384049 [15:22:13]opened+sec_in_day 1729470449 [15:22:13]quantity*price = 4500 [15:22:13]sum+1 = 4501 [15:22:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 35 20.10.2024 15:22 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24877 ФПД: 7473779801088 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T152217&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24877&fm=7473779801088&tin=02508201610067®Number=0000000000098147&sum=4500 0 [15:22:14]StoreToDocumentArchive [15:22:14]shift 455 fd 24877 [15:22:14]save to /storage/0455/doc_00024877 [15:22:14]save last doc name /storage/0455/doc_00024877 to /storage/kkm_last_doc_name [15:22:14]save OK [15:22:14]Clear old archive folders... [15:22:14]ProcessDocumentItem done err = 0, tmpTLVsize=260 [15:22:14]tlvbuf is 00DC5220 [15:22:14]SAM_PROTO_ClearQueue [15:22:14]wFMCommunicate request_size=4 [15:22:14]MH_SAM_APDU [15:22:14]CAPDU: 80 09 00 00 [15:22:14]Write to MH i2c: E2 08 00 26 0B 80 09 00 00 00 00 00 00 A3 [15:22:14]Write i2c OK [15:22:14]MH_I2C_Read... [15:22:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:22:14]Read from MH i2c: E2 [15:22:14]MH_I2C_Read... [15:22:14]Read from MH i2c: E2 03 00 [15:22:14]MH_I2C_Read... [15:22:14]Read from MH i2c: E2 03 00 26 0B 00 90 00 A5 [15:22:14]RAPDU: 90 00 [15:22:14]wFMCommunicate OK [15:22:14]SAM_PROTO_ClearQueue done [15:22:14]KKMCreateOFDPacket [15:22:14]OFDProtocolAddRootSTLVToBuf [15:22:14]FM_MakeSignedData [15:22:14]FM_MakeSignedData [15:22:14]SAM_PROTO_SignData [15:22:14]wFMCommunicate request_size=4 [15:22:14]MH_SAM_APDU [15:22:14]CAPDU: 80 0D 01 02 [15:22:14]Write to MH i2c: E2 08 00 27 0B 80 0D 01 02 00 00 00 00 AB [15:22:14]Write i2c OK [15:22:14]MH_I2C_Read... [15:22:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:22:15]Read from MH i2c: E2 [15:22:15]MH_I2C_Read... [15:22:15]Read from MH i2c: E2 03 00 [15:22:15]MH_I2C_Read... [15:22:15]Read from MH i2c: E2 03 00 27 0B 00 90 00 A6 [15:22:15]RAPDU: 90 00 [15:22:15]wFMCommunicate OK [15:22:15]wFMCommunicate request_size=255 [15:22:15]MH_SAM_APDU [15:22:15]CAPDU: 80 0D 02 02 FA 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 29 20 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 [15:22:15]Write to MH i2c: E2 02 01 28 0B 80 0D 02 02 FA 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 29 20 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 00 00 6F [15:22:15]Write i2c OK [15:22:15]MH_I2C_Read... [15:22:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:22:15]Read from MH i2c: E2 [15:22:15]MH_I2C_Read... [15:22:15]Read from MH i2c: E2 03 00 [15:22:15]MH_I2C_Read... [15:22:15]Read from MH i2c: E2 03 00 28 0B 00 90 00 A7 [15:22:15]RAPDU: 90 00 [15:22:15]wFMCommunicate OK [15:22:15]wFMCommunicate request_size=19 [15:22:15]MH_SAM_APDU [15:22:15]CAPDU: 80 0D 02 02 0E 2D 61 00 00 35 04 06 00 06 CC 1F FD 7C 00 [15:22:15]Write to MH i2c: E2 16 00 29 0B 80 0D 02 02 0E 00 2D 61 00 00 35 04 06 00 06 CC 1F FD 7C 00 00 00 01 [15:22:15]Write i2c OK [15:22:15]MH_I2C_Read... [15:22:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:22:15]Read from MH i2c: E2 [15:22:15]MH_I2C_Read... [15:22:15]Read from MH i2c: E2 03 00 [15:22:15]MH_I2C_Read... [15:22:15]Read from MH i2c: E2 03 00 29 0B 00 90 00 A8 [15:22:15]RAPDU: 90 00 [15:22:15]wFMCommunicate OK [15:22:15]wFMCommunicate request_size=4 [15:22:15]MH_SAM_APDU [15:22:15]CAPDU: 80 0D 03 02 [15:22:15]Write to MH i2c: E2 08 00 2A 0B 80 0D 03 02 00 00 00 00 B0 [15:22:15]Write i2c OK [15:22:15]MH_I2C_Read... [15:22:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:22:15]Read from MH i2c: E2 [15:22:15]MH_I2C_Read... [15:22:15]Read from MH i2c: E2 0B 00 [15:22:15]MH_I2C_Read... [15:22:15]Read from MH i2c: E2 0B 00 2A 0B 00 61 25 E9 D2 FC 05 CE 1B 90 00 DC [15:22:15]RAPDU: 61 25 E9 D2 FC 05 CE 1B 90 00 [15:22:15]wFMCommunicate OK [15:22:15]SAM_PROTO_SignData done [15:22:15]FM_MakeSignedData done [15:22:15]CreateOFDProtocolMessage [15:22:15]wFMCommunicate request_size=4 [15:22:15]MH_SAM_APDU [15:22:15]CAPDU: 80 11 00 00 [15:22:15]Write to MH i2c: E2 08 00 2B 0B 80 11 00 00 00 00 00 00 B0 [15:22:15]Write i2c OK [15:22:15]MH_I2C_Read... [15:22:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:22:15]Read from MH i2c: E2 [15:22:15]MH_I2C_Read... [15:22:15]Read from MH i2c: E2 17 00 [15:22:15]MH_I2C_Read... [15:22:15]Read from MH i2c: E2 17 00 2B 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 07 [15:22:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [15:22:15]wFMCommunicate OK [15:22:15]CreateOFDProtocolMessage done [15:22:15]OFDSenderStorePacket 24877 [15:22:15]StoreOFDPacket docnum=24877 [15:22:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 18 01 00 00 F7 82 10 01 79 4A 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 29 20 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2D 61 00 00 35 04 06 00 06 CC 1F FD 7C 00 61 25 E9 D2 FC 05 CE 1B [15:22:15]CheckFolder [15:22:15]dirname=/storage/ofd_packets [15:22:15]CheckFolder done [15:22:15]ProducePacketName [15:22:15]name=ofd_packets/00024877 [15:22:15]NVStorageSaveData ofd_packets/00024877 [15:22:15]File name is /storage/ofd_packets/00024877 [15:22:15]Write 310 bytes [15:22:15]NVStorageSaveData done [15:22:15]OFDSenderStorePacket done [15:22:15]KKMCreateOFDPacket done [15:22:15]NVStorageSaveData kkm_last_timestamp [15:22:15]File name is /storage/kkm_last_timestamp [15:22:15]Write 4 bytes [15:22:15]NVStorageSaveData done [15:22:15]ExternCall_PrintAddStr [15:22:15]wPrintStart [15:22:15]Write to MH i2c: 01 00 00 2C 0B 37 [15:22:15]OFD Sender: Processing packet 24877 [packets to send 5, broken 4] [15:22:15]ProducePacketName [15:22:15]name=ofd_packets/00024877 [15:22:15]OFD Sender: To server: pG, [15:22:15]CommunicateWithHost lk.salyk.kg:30040 [15:22:15]ConnectInit lk.salyk.kg [15:22:15]Write i2c OK [15:22:15]MH_I2C_Read... [15:22:15]Read from MH i2c: 01 [15:22:15]MH_I2C_Read... [15:22:15]Read from MH i2c: 01 07 00 [15:22:15]MH_I2C_Read... [15:22:15]Read from MH i2c: 01 07 00 2C 0B 00 00 00 00 00 FF 0F 4C [15:22:15]RasterBufferAndPrint [15:22:15]line Счет N : (3)34637 [15:22:15]line ИНН: 02508201610067 [15:22:15]line Контрольно-Кассовый Чек [15:22:15]line ПРОДАЖА [15:22:15]line Товар: 50173808 [15:22:15]line Жев Orbit Sweet Mint [15:22:15]line 1.000 * 45.00 [15:22:15]line = 45.00 [15:22:15]line НДС 12% НСП 1% [15:22:15]line > о реализуемом товаре [15:22:15]line ИТОГО: 45.00 [15:22:15]line НСП 1% : 0.40 [15:22:15]line НДС 12% : 4.78 [15:22:15]line Наличными: 45.00 [15:22:15]line Безнал.: 0.00 [15:22:15]line Место: АЗС № 161 "Партнер Нефть" [15:22:15]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [15:22:15]line СНО: Общий режим [15:22:15]line Чек 35 20.10.2024 15:22 [15:22:15]line Смена: 455 ФФД: 1.0 [15:22:15]line ЗНМ: 0300000240 [15:22:15]line РНМ: 0000000000098147 [15:22:15]line Версия ККМ: 001 [15:22:15]line ФМ: 0000000000965376 [15:22:15]line ФД: 24877 [15:22:15]line ФПД: 7473779801088 [15:22:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T152217&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24877&fm=7473779801088&tin=02508201610067®Number=0000000000098147&sum=4500 [15:22:15]line 0 [15:22:15]Connected sock=10 [15:22:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 18 01 00 00 F7 82 10 01 79 4A 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 29 20 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2D 61 00 00 35 04 06 00 06 CC 1F FD 7C 00 61 25 E9 D2 FC 05 CE 1B [15:22:15]written 0, free lines is 4095 [15:22:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 6F 2C 47 00 8E 99 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2D 61 00 00 F4 03 04 00 A9 C8 14 67 B6 04 01 00 00 8F 6B B2 77 00 52 B7 FB [15:22:16]CommunicateWithHost err = 0 [15:22:16]CheckOFDResponse [15:22:16]1017 (14) - 77093643461234 [15:22:16]1041 (16) - 0000000000965376 [15:22:16]1040 (4) - 24877 [15:22:16]1012 (4) - 20.10.2024 09:08 [15:22:16]1206 (1) - 0 [15:22:16]OFD Sender: Remove packet 24877 [15:22:16]ProducePacketName [15:22:16]name=ofd_packets/00024877 [15:22:16]NVStorageDeleteData [15:22:16]Write to MH i2c: 01 00 00 54 0B 5F [15:22:16]Write i2c OK [15:22:16]MH_I2C_Read... [15:22:16]Read from MH i2c: 01 [15:22:16]MH_I2C_Read... [15:22:16]Read from MH i2c: 01 07 00 [15:22:16]MH_I2C_Read... [15:22:16]Read from MH i2c: 01 07 00 54 0B 00 00 00 00 00 E8 0C 5A [15:22:16]RasterBufferAndPrint [15:22:16]line [15:22:16]line [15:22:16]line [15:22:16]line [15:22:16]line [15:22:16]written 0, free lines is 3313 [15:22:16]process_action close_receipt done [15:22:16]requested_data is exist [15:22:16]produce_requested_data [15:22:16]requested_item fm.sn is exist - process it [15:22:16]wFMCommunicate request_size=4 [15:22:16]MH_SAM_APDU [15:22:16]CAPDU: 80 11 00 00 [15:22:16]Write to MH i2c: E2 08 00 5B 0B 80 11 00 00 00 00 00 00 E0 [15:22:16]Write i2c OK [15:22:16]MH_I2C_Read... [15:22:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:22:16]Read from MH i2c: E2 [15:22:16]MH_I2C_Read... [15:22:16]Read from MH i2c: E2 17 00 [15:22:16]MH_I2C_Read... [15:22:16]Read from MH i2c: E2 17 00 5B 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 37 [15:22:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [15:22:16]wFMCommunicate OK [15:22:16]requested_item fd.num is exist - process it [15:22:16]SAM_PROTO_GetFieldsCounters [15:22:16]wFMCommunicate request_size=4 [15:22:16]MH_SAM_APDU [15:22:16]CAPDU: 80 13 00 00 [15:22:16]Write to MH i2c: E2 08 00 5C 0B 80 13 00 00 00 00 00 00 E3 [15:22:16]Write i2c OK [15:22:16]MH_I2C_Read... [15:22:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:22:16]Read from MH i2c: E2 [15:22:16]MH_I2C_Read... [15:22:16]Read from MH i2c: E2 62 00 [15:22:16]MH_I2C_Read... [15:22:16]Read from MH i2c: E2 62 00 5C 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 2D 61 00 00 0E 04 04 00 C7 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 CB [15:22: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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 2D 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:22:16]wFMCommunicate OK [15:22:16]SAM_PROTO_GetFieldsCounters done [15:22:16]requested_item shift.num is exist - process it [15:22:16]requested_item shift.opened is exist - process it [15:22:16]req_shift_opened [15:22:16]FM_GetShiftState [15:22:16]SAM_PROTO_GetShiftState [15:22:16]wFMCommunicate request_size=4 [15:22:16]MH_SAM_APDU [15:22:16]CAPDU: 80 13 01 00 [15:22:16]Write to MH i2c: E2 08 00 5D 0B 80 13 01 00 00 00 00 00 E5 [15:22:16]Write i2c OK [15:22:16]MH_I2C_Read... [15:22:16]OFD Sender: No OFD packet to send [15:22:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:22:16]Read from MH i2c: E2 [15:22:16]MH_I2C_Read... [15:22:16]Read from MH i2c: E2 0E 00 [15:22:16]MH_I2C_Read... [15:22:16]Read from MH i2c: E2 0E 00 5D 0B 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 2B [15:22:16]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [15:22:16]wFMCommunicate OK [15:22:16]SAM_PROTO_GetShiftState done [15:22:16]FM_GetShiftState done [15:22:16]req_shift_opened done [15:22:16]requested_item shift.open_date is exist - process it [15:22:16]req_shift_open_date [15:22:16]req_shift_open_date done [15:22:16]produce_requested_data done [15:22:16]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24877,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [15:22:16]process_action_free close_receipt [15:22:16]json_value_free [15:22:16]json_value_free done [15:22:16]process_json_proto returns [15:22:16]Send response to host [15:22:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24877,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [15:22:16]free response buf [15:22:16]execute_script done [15:22:16]execute_script returns [15:22:16]free content buf [15:22:16]Sock 9.Close socket [15:22:16]Sock 9.Thread stoped [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:16]accept exits with 7 [15:27:16]New connection [15:27:16]New thread 3067166052 created [15:27:16]Thread 3067309412 joined [15:27:16]Waiting for new connection... [15:27:16] Sock 7.Parse request [15:27:16]Sock 7.Check first char [15:27:16]Sock 7.First char is OK [15:27:16]request: POST /json_proto HTTP/1.0 [15:27:16]Method: POST [15:27:16]URL: /json_proto [15:27:16]Method is POST - this is cgi request [15:27:16]url: /json_proto [15:27:16]query_string will be loaded in cgi processing [15:27:16]execute_cgi json_proto POST (null) [15:27:16]execute_cgi path=json_proto method=POST [15:27:16]POST find Content-Length [15:27:16]Host: 172.17.53.196:8080 [15:27:16]Content-Length: 974 [15:27:16]Content-Type: application/json [15:27:16] [15:27:16]POST finish read [15:27:16]Found Content-Length = 974 [15:27:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34638", "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": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:27:16]execute_script... [15:27: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)34638", "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": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:27:16]POST & json_proto [15:27:16]process_json_proto [15:27:16]json parsed OK: [15:27:16]protocol is kg_v1.0 [15:27:16]action value=close_receipt [15:27:16]process_action close_receipt [15:27:16]cmd_close_receipt [15:27:16]MH_GetDate [15:27:16]Write to MH i2c: F0 00 00 5E 0B 58 [15:27:16]Write i2c OK [15:27:16]MH_I2C_Read... [15:27:16]Read from MH i2c: F0 [15:27:16]MH_I2C_Read... [15:27:16]Read from MH i2c: F0 09 00 [15:27:16]MH_I2C_Read... [15:27:16]Read from MH i2c: F0 09 00 5E 0B 00 58 21 15 67 4F CD 9A 65 71 [15:27:16]GetLastDocTimeStamp 1729437737 [15:27:16]current date 1729438040 [15:27:16]FM_GetShiftState [15:27:16]SAM_PROTO_GetShiftState [15:27:16]wFMCommunicate request_size=4 [15:27:16]MH_SAM_APDU [15:27:16]CAPDU: 80 13 01 00 [15:27:16]Write to MH i2c: E2 08 00 5F 0B 80 13 01 00 00 00 00 00 E7 [15:27:16]Write i2c OK [15:27:16]MH_I2C_Read... [15:27:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:27:16]Read from MH i2c: E2 [15:27:16]MH_I2C_Read... [15:27:16]Read from MH i2c: E2 0E 00 [15:27:16]MH_I2C_Read... [15:27:16]Read from MH i2c: E2 0E 00 5F 0B 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 2D [15:27:17]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [15:27:17]wFMCommunicate OK [15:27:17]SAM_PROTO_GetShiftState done [15:27:17]FM_GetShiftState done [15:27:17]opened in 1729384049 [15:27:17]opened+sec_in_day 1729470449 [15:27:17]quantity*price = 5000 [15:27:17]sum+1 = 5001 [15:27:17]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000027474 Напиток FuzeTea зел чай манго,ромашка 1л 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 36 20.10.2024 15:27 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24878 ФПД: 148851110786950 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T152720&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24878&fm=148851110786950&tin=02508201610067®Number=0000000000098147&sum=17000 0 [15:27:18]StoreToDocumentArchive [15:27:18]shift 455 fd 24878 [15:27:18]save to /storage/0455/doc_00024878 [15:27:18]save last doc name /storage/0455/doc_00024878 to /storage/kkm_last_doc_name [15:27:18]save OK [15:27:18]Clear old archive folders... [15:27:18]ProcessDocumentItem done err = 0, tmpTLVsize=407 [15:27:18]tlvbuf is 00DF9940 [15:27:18]SAM_PROTO_ClearQueue [15:27:18]wFMCommunicate request_size=4 [15:27:18]MH_SAM_APDU [15:27:18]CAPDU: 80 09 00 00 [15:27:18]Write to MH i2c: E2 08 00 6C 0B 80 09 00 00 00 00 00 00 E9 [15:27:18]Write i2c OK [15:27:18]MH_I2C_Read... [15:27:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:27:18]Read from MH i2c: E2 [15:27:18]MH_I2C_Read... [15:27:18]Read from MH i2c: E2 03 00 [15:27:18]MH_I2C_Read... [15:27:18]Read from MH i2c: E2 03 00 6C 0B 00 90 00 EB [15:27:18]RAPDU: 90 00 [15:27:18]wFMCommunicate OK [15:27:18]SAM_PROTO_ClearQueue done [15:27:18]KKMCreateOFDPacket [15:27:18]OFDProtocolAddRootSTLVToBuf [15:27:18]FM_MakeSignedData [15:27:18]FM_MakeSignedData [15:27:18]SAM_PROTO_SignData [15:27:18]wFMCommunicate request_size=4 [15:27:18]MH_SAM_APDU [15:27:18]CAPDU: 80 0D 01 02 [15:27:18]Write to MH i2c: E2 08 00 6D 0B 80 0D 01 02 00 00 00 00 F1 [15:27:18]Write i2c OK [15:27:18]MH_I2C_Read... [15:27:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:27:18]Read from MH i2c: E2 [15:27:18]MH_I2C_Read... [15:27:18]Read from MH i2c: E2 03 00 [15:27:18]MH_I2C_Read... [15:27:18]Read from MH i2c: E2 03 00 6D 0B 00 90 00 EC [15:27:18]RAPDU: 90 00 [15:27:18]wFMCommunicate OK [15:27:18]wFMCommunicate request_size=255 [15:27:18]MH_SAM_APDU [15:27:18]CAPDU: 80 0D 02 02 FA 03 00 97 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 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 [15:27:18]Write to MH i2c: E2 02 01 6E 0B 80 0D 02 02 FA 00 03 00 97 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 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 30 [15:27:18]Write i2c OK [15:27:18]MH_I2C_Read... [15:27:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:27:18]Read from MH i2c: E2 [15:27:18]MH_I2C_Read... [15:27:18]Read from MH i2c: E2 03 00 [15:27:18]MH_I2C_Read... [15:27:18]Read from MH i2c: E2 03 00 6E 0B 00 90 00 ED [15:27:18]RAPDU: 90 00 [15:27:18]wFMCommunicate OK [15:27:18]wFMCommunicate request_size=166 [15:27:18]MH_SAM_APDU [15:27:18]CAPDU: 80 0D 02 02 A1 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 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 58 21 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2E 61 00 00 35 04 06 00 87 61 19 95 37 86 [15:27:18]Write to MH i2c: E2 A9 00 6F 0B 80 0D 02 02 A1 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 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 58 21 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2E 61 00 00 35 04 06 00 87 61 19 95 37 86 00 00 3C [15:27:18]Write i2c OK [15:27:18]MH_I2C_Read... [15:27:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:27:18]Read from MH i2c: E2 [15:27:18]MH_I2C_Read... [15:27:18]Read from MH i2c: E2 03 00 [15:27:18]MH_I2C_Read... [15:27:18]Read from MH i2c: E2 03 00 6F 0B 00 90 00 EE [15:27:18]RAPDU: 90 00 [15:27:18]wFMCommunicate OK [15:27:18]wFMCommunicate request_size=4 [15:27:18]MH_SAM_APDU [15:27:18]CAPDU: 80 0D 03 02 [15:27:18]Write to MH i2c: E2 08 00 70 0B 80 0D 03 02 00 00 00 00 F6 [15:27:18]Write i2c OK [15:27:18]MH_I2C_Read... [15:27:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:27:18]Read from MH i2c: E2 [15:27:18]MH_I2C_Read... [15:27:18]Read from MH i2c: E2 0B 00 [15:27:18]MH_I2C_Read... [15:27:18]Read from MH i2c: E2 0B 00 70 0B 00 69 88 D3 26 FB 8C 7E CD 90 00 B3 [15:27:18]RAPDU: 69 88 D3 26 FB 8C 7E CD 90 00 [15:27:18]wFMCommunicate OK [15:27:18]SAM_PROTO_SignData done [15:27:18]FM_MakeSignedData done [15:27:18]CreateOFDProtocolMessage [15:27:18]wFMCommunicate request_size=4 [15:27:18]MH_SAM_APDU [15:27:18]CAPDU: 80 11 00 00 [15:27:18]Write to MH i2c: E2 08 00 71 0B 80 11 00 00 00 00 00 00 F6 [15:27:18]Write i2c OK [15:27:18]MH_I2C_Read... [15:27:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:27:18]Read from MH i2c: E2 [15:27:18]MH_I2C_Read... [15:27:18]Read from MH i2c: E2 17 00 [15:27:18]MH_I2C_Read... [15:27:18]Read from MH i2c: E2 17 00 71 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 4D [15:27:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [15:27:18]wFMCommunicate OK [15:27:18]CreateOFDProtocolMessage done [15:27:18]OFDSenderStorePacket 24878 [15:27:18]StoreOFDPacket docnum=24878 [15:27:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 AB 01 00 00 83 3D A3 01 93 19 5A 03 01 00 03 00 97 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 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 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 58 21 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2E 61 00 00 35 04 06 00 87 61 19 95 37 86 69 88 D3 26 FB 8C 7E CD [15:27:18]CheckFolder [15:27:18]dirname=/storage/ofd_packets [15:27:18]CheckFolder done [15:27:18]ProducePacketName [15:27:18]name=ofd_packets/00024878 [15:27:18]NVStorageSaveData ofd_packets/00024878 [15:27:18]File name is /storage/ofd_packets/00024878 [15:27:18]Write 457 bytes [15:27:18]NVStorageSaveData done [15:27:18]OFDSenderStorePacket done [15:27:18]KKMCreateOFDPacket done [15:27:18]NVStorageSaveData kkm_last_timestamp [15:27:18]File name is /storage/kkm_last_timestamp [15:27:18]Write 4 bytes [15:27:18]NVStorageSaveData done [15:27:18]ExternCall_PrintAddStr [15:27:18]wPrintStart [15:27:18]Write to MH i2c: 01 00 00 72 0B 7D [15:27:18]Write i2c OK [15:27:18]MH_I2C_Read... [15:27:18]Read from MH i2c: 01 [15:27:18]MH_I2C_Read... [15:27:18]Read from MH i2c: 01 07 00 [15:27:18]MH_I2C_Read... [15:27:18]Read from MH i2c: 01 07 00 72 0B 00 00 00 00 00 FF 0F 92 [15:27:18]RasterBufferAndPrint [15:27:18]line Счет N : (3)34638 [15:27:18]line ИНН: 02508201610067 [15:27:19]line Контрольно-Кассовый Чек [15:27:19]line ПРОДАЖА [15:27:19]line Товар: 4700000160358 [15:27:19]line Вода Легенда 1л [15:27:19]line 1.000 * 50.00 [15:27:19]line = 50.00 [15:27:19]line НДС 12% НСП 1% [15:27:19]line > о реализуемом товаре [15:27:19]line Товар: 5449000027474 [15:27:19]line Напиток FuzeTea зел чай манго,ромашка 1л [15:27:19]line 1.000 * 120.00 [15:27:19]line = 120.00 [15:27:19]line НДС 12% НСП 1% [15:27:19]line > о реализуемом товаре [15:27:19]line ИТОГО: 170.00 [15:27:19]line НСП 1% : 1.50 [15:27:19]line НДС 12% : 18.05 [15:27:19]line Наличными: 170.00 [15:27:19]line Безнал.: 0.00 [15:27:19]line Место: АЗС № 161 "Партнер Нефть" [15:27:19]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [15:27:19]line СНО: Общий режим [15:27:19]line Чек 36 20.10.2024 15:27 [15:27:19]line Смена: 455 ФФД: 1.0 [15:27:19]line ЗНМ: 0300000240 [15:27:19]line РНМ: 0000000000098147 [15:27:19]line Версия ККМ: 001 [15:27:19]line ФМ: 0000000000965376 [15:27:19]line ФД: 24878 [15:27:19]line ФПД: 148851110786950 [15:27:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T152720&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24878&fm=148851110786950&tin=02508201610067®Number=0000000000098147&sum=17000 [15:27:19]line 0 [15:27:19]OFD Sender: Processing packet 24878 [packets to send 5, broken 4] [15:27:19]ProducePacketName [15:27:19]name=ofd_packets/00024878 [15:27:19]OFD Sender: To server: pG, [15:27:19]CommunicateWithHost lk.salyk.kg:30040 [15:27:19]ConnectInit lk.salyk.kg [15:27:19]written 0, free lines is 4095 [15:27:19]Connected sock=10 [15:27:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 AB 01 00 00 83 3D A3 01 93 19 5A 03 01 00 03 00 97 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 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 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 58 21 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2E 61 00 00 35 04 06 00 87 61 19 95 37 86 69 88 D3 26 FB 8C 7E CD [15:27:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 E3 44 47 00 BA CB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2E 61 00 00 F4 03 04 00 D8 C9 14 67 B6 04 01 00 00 A3 BD A9 57 E2 A1 56 5D [15:27:19]CommunicateWithHost err = 0 [15:27:19]CheckOFDResponse [15:27:19]1017 (14) - 77093643461234 [15:27:19]1041 (16) - 0000000000965376 [15:27:19]1040 (4) - 24878 [15:27:19]1012 (4) - 20.10.2024 09:14 [15:27:19]1206 (1) - 0 [15:27:19]OFD Sender: Remove packet 24878 [15:27:19]ProducePacketName [15:27:19]name=ofd_packets/00024878 [15:27:19]NVStorageDeleteData [15:27:19]Write to MH i2c: 01 00 00 A1 0B AC [15:27:19]Write i2c OK [15:27:19]MH_I2C_Read... [15:27:19]Read from MH i2c: 01 [15:27:19]MH_I2C_Read... [15:27:19]Read from MH i2c: 01 07 00 [15:27:19]MH_I2C_Read... [15:27:19]Read from MH i2c: 01 07 00 A1 0B 00 00 00 00 00 77 0C 36 [15:27:19]RasterBufferAndPrint [15:27:19]line [15:27:19]line [15:27:19]line [15:27:19]line [15:27:19]line [15:27:19]written 0, free lines is 3200 [15:27:19]process_action close_receipt done [15:27:19]requested_data is exist [15:27:19]produce_requested_data [15:27:19]requested_item fm.sn is exist - process it [15:27:19]wFMCommunicate request_size=4 [15:27:19]MH_SAM_APDU [15:27:19]CAPDU: 80 11 00 00 [15:27:19]Write to MH i2c: E2 08 00 A8 0B 80 11 00 00 00 00 00 00 2D [15:27:19]Write i2c OK [15:27:19]MH_I2C_Read... [15:27:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:27:19]Read from MH i2c: E2 [15:27:19]MH_I2C_Read... [15:27:19]Read from MH i2c: E2 17 00 [15:27:19]MH_I2C_Read... [15:27:19]Read from MH i2c: E2 17 00 A8 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 84 [15:27:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [15:27:19]wFMCommunicate OK [15:27:19]requested_item fd.num is exist - process it [15:27:19]SAM_PROTO_GetFieldsCounters [15:27:19]wFMCommunicate request_size=4 [15:27:19]MH_SAM_APDU [15:27:19]CAPDU: 80 13 00 00 [15:27:19]Write to MH i2c: E2 08 00 A9 0B 80 13 00 00 00 00 00 00 30 [15:27:19]Write i2c OK [15:27:19]MH_I2C_Read... [15:27:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:27:19]Read from MH i2c: E2 [15:27:19]MH_I2C_Read... [15:27:19]Read from MH i2c: E2 62 00 [15:27:19]MH_I2C_Read... [15:27:19]Read from MH i2c: E2 62 00 A9 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 2E 61 00 00 0E 04 04 00 C7 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 1C [15:27:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 2E 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:27:19]wFMCommunicate OK [15:27:19]SAM_PROTO_GetFieldsCounters done [15:27:19]requested_item shift.num is exist - process it [15:27:19]requested_item shift.opened is exist - process it [15:27:19]req_shift_opened [15:27:19]FM_GetShiftState [15:27:19]SAM_PROTO_GetShiftState [15:27:19]wFMCommunicate request_size=4 [15:27:19]MH_SAM_APDU [15:27:19]CAPDU: 80 13 01 00 [15:27:19]Write to MH i2c: E2 08 00 AA 0B 80 13 01 00 00 00 00 00 32 [15:27:19]Write i2c OK [15:27:19]MH_I2C_Read... [15:27:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:27:19]Read from MH i2c: E2 [15:27:19]MH_I2C_Read... [15:27:19]Read from MH i2c: E2 0E 00 [15:27:19]MH_I2C_Read... [15:27:19]Read from MH i2c: E2 0E 00 AA 0B 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 78 [15:27:19]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [15:27:19]wFMCommunicate OK [15:27:19]SAM_PROTO_GetShiftState done [15:27:19]FM_GetShiftState done [15:27:19]req_shift_opened done [15:27:19]requested_item shift.open_date is exist - process it [15:27:19]req_shift_open_date [15:27:19]req_shift_open_date done [15:27:19]produce_requested_data done [15:27:19]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24878,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [15:27:19]process_action_free close_receipt [15:27:19]json_value_free [15:27:19]json_value_free done [15:27:19]process_json_proto returns [15:27:19]Send response to host [15:27:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24878,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [15:27:19]free response buf [15:27:19]execute_script done [15:27:19]execute_script returns [15:27:19]free content buf [15:27:19]Sock 7.Close socket [15:27:19]Sock 7.Thread stoped [15:27:19]OFD Sender: No OFD packet to send [15:27:24]OFD Sender: No OFD packet to send [15:27:29]OFD Sender: No OFD packet to send [15:27:34]OFD Sender: No OFD packet to send [15:27:39]OFD Sender: No OFD packet to send [15:27:44]OFD Sender: No OFD packet to send [15:27:49]OFD Sender: No OFD packet to send [15:27:54]OFD Sender: No OFD packet to send [15:27:59]OFD Sender: No OFD packet to send [15:28:04]OFD Sender: No OFD packet to send [15:28:09]OFD Sender: No OFD packet to send [15:28:14]OFD Sender: No OFD packet to send [15:28:20]OFD Sender: No OFD packet to send [15:28:25]OFD Sender: No OFD packet to send [15:28:30]OFD Sender: No OFD packet to send [15:28:35]OFD Sender: No OFD packet to send [15:28:40]OFD Sender: No OFD packet to send [15:28:45]OFD Sender: No OFD packet to send [15:28:50]OFD Sender: No OFD packet to send [15:28:55]OFD Sender: No OFD packet to send [15:29:00]OFD Sender: No OFD packet to send [15:29:05]OFD Sender: No OFD packet to send [15:29:10]OFD Sender: No OFD packet to send [15:29:15]OFD Sender: No OFD packet to send [15:29:20]OFD Sender: No OFD packet to send [15:29:25]OFD Sender: No OFD packet to send [15:29:30]OFD Sender: No OFD packet to send [15:29:35]OFD Sender: No OFD packet to send [15:29:40]OFD Sender: No OFD packet to send [15:29:45]OFD Sender: No OFD packet to send [15:29:50]OFD Sender: No OFD packet to send [15:29:55]OFD Sender: No OFD packet to send [15:30:00]OFD Sender: No OFD packet to send [15:30:05]OFD Sender: No OFD packet to send [15:30:07]accept exits with 9 [15:30:07]New connection [15:30:07]New thread 3067309412 created [15:30:07]Thread 3067166052 joined [15:30:07]Waiting for new connection... [15:30:07] Sock 9.Parse request [15:30:07]Sock 9.Check first char [15:30:07]Sock 9.First char is OK [15:30:07]request: POST /json_proto HTTP/1.0 [15:30:07]Method: POST [15:30:07]URL: /json_proto [15:30:07]Method is POST - this is cgi request [15:30:07]url: /json_proto [15:30:07]query_string will be loaded in cgi processing [15:30:07]execute_cgi json_proto POST (null) [15:30:07]execute_cgi path=json_proto method=POST [15:30:07]POST find Content-Length [15:30:07]Host: 172.17.53.196:8080 [15:30:07]Content-Length: 714 [15:30:07]Content-Type: application/json [15:30:07] [15:30:07]POST finish read [15:30:07]Found Content-Length = 714 [15:30:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34639", "tax_sys" : 0, "items" : [ { "code": "4700000481965", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0434\u0438\u043A\u0438\u0435 \u044F\u0433\u043E\u0434\u044B 0,45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:30:07]execute_script... [15:30: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)34639", "tax_sys" : 0, "items" : [ { "code": "4700000481965", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0434\u0438\u043A\u0438\u0435 \u044F\u0433\u043E\u0434\u044B 0,45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:30:07]POST & json_proto [15:30:07]process_json_proto [15:30:07]json parsed OK: [15:30:07]protocol is kg_v1.0 [15:30:07]action value=close_receipt [15:30:07]process_action close_receipt [15:30:07]cmd_close_receipt [15:30:07]MH_GetDate [15:30:07]Write to MH i2c: F0 00 00 AB 0B A5 [15:30:07]Write i2c OK [15:30:07]MH_I2C_Read... [15:30:07]Read from MH i2c: F0 [15:30:07]MH_I2C_Read... [15:30:07]Read from MH i2c: F0 09 00 [15:30:07]MH_I2C_Read... [15:30:07]Read from MH i2c: F0 09 00 AB 0B 00 03 22 15 67 4F CD 9A 65 6A [15:30:07]GetLastDocTimeStamp 1729438040 [15:30:07]current date 1729438211 [15:30:07]FM_GetShiftState [15:30:07]SAM_PROTO_GetShiftState [15:30:07]wFMCommunicate request_size=4 [15:30:07]MH_SAM_APDU [15:30:07]CAPDU: 80 13 01 00 [15:30:07]Write to MH i2c: E2 08 00 AC 0B 80 13 01 00 00 00 00 00 34 [15:30:07]Write i2c OK [15:30:07]MH_I2C_Read... [15:30:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:30:07]Read from MH i2c: E2 [15:30:07]MH_I2C_Read... [15:30:07]Read from MH i2c: E2 0E 00 [15:30:07]MH_I2C_Read... [15:30:07]Read from MH i2c: E2 0E 00 AC 0B 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 7A [15:30:07]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [15:30:07]wFMCommunicate OK [15:30:07]SAM_PROTO_GetShiftState done [15:30:07]FM_GetShiftState done [15:30:07]opened in 1729384049 [15:30:07]opened+sec_in_day 1729470449 [15:30:07]quantity*price = 9500 [15:30:07]sum+1 = 9501 [15:30:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 37 20.10.2024 15:30 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24879 ФПД: 53684501759438 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T153011&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24879&fm=53684501759438&tin=02508201610067®Number=0000000000098147&sum=9500 0 [15:30:08]StoreToDocumentArchive [15:30:08]shift 455 fd 24879 [15:30:08]save to /storage/0455/doc_00024879 [15:30:08]save last doc name /storage/0455/doc_00024879 to /storage/kkm_last_doc_name [15:30:08]save OK [15:30:08]Clear old archive folders... [15:30:08]ProcessDocumentItem done err = 0, tmpTLVsize=306 [15:30:08]tlvbuf is 00DF5A20 [15:30:08]SAM_PROTO_ClearQueue [15:30:08]wFMCommunicate request_size=4 [15:30:08]MH_SAM_APDU [15:30:08]CAPDU: 80 09 00 00 [15:30:08]Write to MH i2c: E2 08 00 B9 0B 80 09 00 00 00 00 00 00 36 [15:30:08]Write i2c OK [15:30:08]MH_I2C_Read... [15:30:08]Read from MH i2c: E2 [15:30:08]MH_I2C_Read... [15:30:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:30:08]Read from MH i2c: E2 03 00 [15:30:08]MH_I2C_Read... [15:30:08]Read from MH i2c: E2 03 00 B9 0B 00 90 00 38 [15:30:08]RAPDU: 90 00 [15:30:08]wFMCommunicate OK [15:30:08]SAM_PROTO_ClearQueue done [15:30:08]KKMCreateOFDPacket [15:30:08]OFDProtocolAddRootSTLVToBuf [15:30:08]FM_MakeSignedData [15:30:08]FM_MakeSignedData [15:30:08]SAM_PROTO_SignData [15:30:08]wFMCommunicate request_size=4 [15:30:08]MH_SAM_APDU [15:30:08]CAPDU: 80 0D 01 02 [15:30:08]Write to MH i2c: E2 08 00 BA 0B 80 0D 01 02 00 00 00 00 3E [15:30:08]Write i2c OK [15:30:08]MH_I2C_Read... [15:30:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:30:08]Read from MH i2c: E2 [15:30:08]MH_I2C_Read... [15:30:08]Read from MH i2c: E2 03 00 [15:30:08]MH_I2C_Read... [15:30:08]Read from MH i2c: E2 03 00 BA 0B 00 90 00 39 [15:30:08]RAPDU: 90 00 [15:30:08]wFMCommunicate OK [15:30:08]wFMCommunicate request_size=255 [15:30:08]MH_SAM_APDU [15:30:08]CAPDU: 80 0D 02 02 FA 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 25 00 00 00 F4 03 04 00 03 22 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 [15:30:08]Write to MH i2c: E2 02 01 BB 0B 80 0D 02 02 FA 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 25 00 00 00 F4 03 04 00 03 22 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 00 78 [15:30:08]Write i2c OK [15:30:08]MH_I2C_Read... [15:30:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:30:09]Read from MH i2c: E2 [15:30:09]MH_I2C_Read... [15:30:09]Read from MH i2c: E2 03 00 [15:30:09]MH_I2C_Read... [15:30:09]Read from MH i2c: E2 03 00 BB 0B 00 90 00 3A [15:30:09]RAPDU: 90 00 [15:30:09]wFMCommunicate OK [15:30:09]wFMCommunicate request_size=65 [15:30:09]MH_SAM_APDU [15:30:09]CAPDU: 80 0D 02 02 3C 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2F 61 00 00 35 04 06 00 30 D3 65 A8 45 CE [15:30:09]Write to MH i2c: E2 44 00 BC 0B 80 0D 02 02 3C 00 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2F 61 00 00 35 04 06 00 30 D3 65 A8 45 CE 00 00 4B [15:30:09]Write i2c OK [15:30:09]MH_I2C_Read... [15:30:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:30:09]Read from MH i2c: E2 [15:30:09]MH_I2C_Read... [15:30:09]Read from MH i2c: E2 03 00 [15:30:09]MH_I2C_Read... [15:30:09]Read from MH i2c: E2 03 00 BC 0B 00 90 00 3B [15:30:09]RAPDU: 90 00 [15:30:09]wFMCommunicate OK [15:30:09]wFMCommunicate request_size=4 [15:30:09]MH_SAM_APDU [15:30:09]CAPDU: 80 0D 03 02 [15:30:09]Write to MH i2c: E2 08 00 BD 0B 80 0D 03 02 00 00 00 00 43 [15:30:09]Write i2c OK [15:30:09]MH_I2C_Read... [15:30:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:30:09]Read from MH i2c: E2 [15:30:09]MH_I2C_Read... [15:30:09]Read from MH i2c: E2 0B 00 [15:30:09]MH_I2C_Read... [15:30:09]Read from MH i2c: E2 0B 00 BD 0B 00 DD 96 59 53 CC A4 F3 38 90 00 FE [15:30:09]RAPDU: DD 96 59 53 CC A4 F3 38 90 00 [15:30:09]wFMCommunicate OK [15:30:09]SAM_PROTO_SignData done [15:30:09]FM_MakeSignedData done [15:30:09]CreateOFDProtocolMessage [15:30:09]wFMCommunicate request_size=4 [15:30:09]MH_SAM_APDU [15:30:09]CAPDU: 80 11 00 00 [15:30:09]Write to MH i2c: E2 08 00 BE 0B 80 11 00 00 00 00 00 00 43 [15:30:09]Write i2c OK [15:30:09]MH_I2C_Read... [15:30:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:30:09]Read from MH i2c: E2 [15:30:09]MH_I2C_Read... [15:30:09]Read from MH i2c: E2 17 00 [15:30:09]MH_I2C_Read... [15:30:09]Read from MH i2c: E2 17 00 BE 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 9A [15:30:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [15:30:09]wFMCommunicate OK [15:30:09]CreateOFDProtocolMessage done [15:30:09]OFDSenderStorePacket 24879 [15:30:09]StoreOFDPacket docnum=24879 [15:30:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 46 01 00 00 0B 0B 3E 01 D3 84 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 25 00 00 00 F4 03 04 00 03 22 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2F 61 00 00 35 04 06 00 30 D3 65 A8 45 CE DD 96 59 53 CC A4 F3 38 [15:30:09]CheckFolder [15:30:09]dirname=/storage/ofd_packets [15:30:09]CheckFolder done [15:30:09]ProducePacketName [15:30:09]name=ofd_packets/00024879 [15:30:09]NVStorageSaveData ofd_packets/00024879 [15:30:09]File name is /storage/ofd_packets/00024879 [15:30:09]Write 356 bytes [15:30:09]NVStorageSaveData done [15:30:09]OFDSenderStorePacket done [15:30:09]KKMCreateOFDPacket done [15:30:09]NVStorageSaveData kkm_last_timestamp [15:30:09]File name is /storage/kkm_last_timestamp [15:30:09]Write 4 bytes [15:30:09]NVStorageSaveData done [15:30:09]ExternCall_PrintAddStr [15:30:09]wPrintStart [15:30:09]Write to MH i2c: 01 00 00 BF 0B CA [15:30:09]Write i2c OK [15:30:09]MH_I2C_Read... [15:30:09]Read from MH i2c: 01 [15:30:09]MH_I2C_Read... [15:30:09]Read from MH i2c: 01 07 00 [15:30:09]MH_I2C_Read... [15:30:09]Read from MH i2c: 01 07 00 BF 0B 00 00 00 00 00 FF 0F DF [15:30:09]RasterBufferAndPrint [15:30:09]line Счет N : (3)34639 [15:30:09]line ИНН: 02508201610067 [15:30:09]line Контрольно-Кассовый Чек [15:30:09]line ПРОДАЖА [15:30:09]line Товар: 4700000481965 [15:30:09]line Напиток энерг Nitro дикие ягоды 0,45 ж/б [15:30:09]line 1.000 * 95.00 [15:30:09]line = 95.00 [15:30:09]line НДС 12% НСП 1% [15:30:09]line > о реализуемом товаре [15:30:09]line ИТОГО: 95.00 [15:30:09]line НСП 1% : 0.84 [15:30:09]line НДС 12% : 10.09 [15:30:09]line Наличными: 95.00 [15:30:09]line Безнал.: 0.00 [15:30:09]line Место: АЗС № 161 "Партнер Нефть" [15:30:09]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [15:30:09]line СНО: Общий режим [15:30:09]line Чек 37 20.10.2024 15:30 [15:30:09]line Смена: 455 ФФД: 1.0 [15:30:09]line ЗНМ: 0300000240 [15:30:09]line РНМ: 0000000000098147 [15:30:09]line Версия ККМ: 001 [15:30:09]line ФМ: 0000000000965376 [15:30:09]line ФД: 24879 [15:30:09]line ФПД: 53684501759438 [15:30:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T153011&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24879&fm=53684501759438&tin=02508201610067®Number=0000000000098147&sum=9500 [15:30:09]line 0 [15:30:09]OFD Sender: Processing packet 24879 [packets to send 5, broken 4] [15:30:09]ProducePacketName [15:30:09]name=ofd_packets/00024879 [15:30:09]OFD Sender: To server: pG, [15:30:09]CommunicateWithHost lk.salyk.kg:30040 [15:30:09]ConnectInit lk.salyk.kg [15:30:09]written 0, free lines is 4095 [15:30:09]Connected sock=10 [15:30:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 46 01 00 00 0B 0B 3E 01 D3 84 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 25 00 00 00 F4 03 04 00 03 22 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2F 61 00 00 35 04 06 00 30 D3 65 A8 45 CE DD 96 59 53 CC A4 F3 38 [15:30:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 D4 BC 47 00 47 18 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 2F 61 00 00 F4 03 04 00 83 CA 14 67 B6 04 01 00 00 8F 80 08 5F FD 82 37 9F [15:30:10]CommunicateWithHost err = 0 [15:30:10]CheckOFDResponse [15:30:10]1017 (14) - 77093643461234 [15:30:10]1041 (16) - 0000000000965376 [15:30:10]1040 (4) - 24879 [15:30:10]1012 (4) - 20.10.2024 09:16 [15:30:10]1206 (1) - 0 [15:30:10]OFD Sender: Remove packet 24879 [15:30:10]ProducePacketName [15:30:10]name=ofd_packets/00024879 [15:30:10]NVStorageDeleteData [15:30:10]Write to MH i2c: 01 00 00 E8 0B F3 [15:30:10]Write i2c OK [15:30:10]MH_I2C_Read... [15:30:10]Read from MH i2c: 01 [15:30:10]MH_I2C_Read... [15:30:10]Read from MH i2c: 01 07 00 [15:30:10]MH_I2C_Read... [15:30:10]Read from MH i2c: 01 07 00 E8 0B 00 00 00 00 00 D4 0C DA [15:30:10]RasterBufferAndPrint [15:30:10]line [15:30:10]line [15:30:10]line [15:30:10]line [15:30:10]line [15:30:10]written 0, free lines is 3290 [15:30:10]process_action close_receipt done [15:30:10]requested_data is exist [15:30:10]produce_requested_data [15:30:10]requested_item fm.sn is exist - process it [15:30:10]wFMCommunicate request_size=4 [15:30:10]MH_SAM_APDU [15:30:10]CAPDU: 80 11 00 00 [15:30:10]Write to MH i2c: E2 08 00 EF 0B 80 11 00 00 00 00 00 00 74 [15:30:10]Write i2c OK [15:30:10]MH_I2C_Read... [15:30:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:30:10]Read from MH i2c: E2 [15:30:10]MH_I2C_Read... [15:30:10]Read from MH i2c: E2 17 00 [15:30:10]MH_I2C_Read... [15:30:10]Read from MH i2c: E2 17 00 EF 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 CB [15:30:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [15:30:10]wFMCommunicate OK [15:30:10]requested_item fd.num is exist - process it [15:30:10]SAM_PROTO_GetFieldsCounters [15:30:10]wFMCommunicate request_size=4 [15:30:10]MH_SAM_APDU [15:30:10]CAPDU: 80 13 00 00 [15:30:10]Write to MH i2c: E2 08 00 F0 0B 80 13 00 00 00 00 00 00 77 [15:30:10]Write i2c OK [15:30:10]MH_I2C_Read... [15:30:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:30:10]Read from MH i2c: E2 [15:30:10]MH_I2C_Read... [15:30:10]Read from MH i2c: E2 62 00 [15:30:10]MH_I2C_Read... [15:30:10]Read from MH i2c: E2 62 00 F0 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 2F 61 00 00 0E 04 04 00 C7 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 67 [15:30:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 2F 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:30:10]wFMCommunicate OK [15:30:10]SAM_PROTO_GetFieldsCounters done [15:30:10]requested_item shift.num is exist - process it [15:30:10]requested_item shift.opened is exist - process it [15:30:10]req_shift_opened [15:30:10]FM_GetShiftState [15:30:10]SAM_PROTO_GetShiftState [15:30:10]wFMCommunicate request_size=4 [15:30:10]MH_SAM_APDU [15:30:10]CAPDU: 80 13 01 00 [15:30:10]Write to MH i2c: E2 08 00 F1 0B 80 13 01 00 00 00 00 00 79 [15:30:10]Write i2c OK [15:30:10]MH_I2C_Read... [15:30:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:30:10]Read from MH i2c: E2 [15:30:10]MH_I2C_Read... [15:30:10]Read from MH i2c: E2 0E 00 [15:30:10]MH_I2C_Read... [15:30:10]Read from MH i2c: E2 0E 00 F1 0B 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 BF [15:30:10]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [15:30:10]wFMCommunicate OK [15:30:10]SAM_PROTO_GetShiftState done [15:30:10]FM_GetShiftState done [15:30:10]req_shift_opened done [15:30:10]requested_item shift.open_date is exist - process it [15:30:10]req_shift_open_date [15:30:10]req_shift_open_date done [15:30:10]produce_requested_data done [15:30:10]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24879,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [15:30:10]process_action_free close_receipt [15:30:10]json_value_free [15:30:10]json_value_free done [15:30:10]process_json_proto returns [15:30:10]Send response to host [15:30:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24879,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [15:30:10]free response buf [15:30:10]execute_script done [15:30:10]execute_script returns [15:30:10]free content buf [15:30:10]Sock 9.Close socket [15:30:10]Sock 9.Thread stoped [15:30:10]OFD Sender: No OFD packet to send [15:30:15]OFD Sender: No OFD packet to send [15:30:20]OFD Sender: No OFD packet to send [15:30:25]OFD Sender: No OFD packet to send [15:30:30]OFD Sender: No OFD packet to send [15:30:35]OFD Sender: No OFD packet to send [15:30:40]OFD Sender: No OFD packet to send [15:30:45]OFD Sender: No OFD packet to send [15:30:50]OFD Sender: No OFD packet to send [15:30:55]OFD Sender: No OFD packet to send [15:31:00]OFD Sender: No OFD packet to send [15:31:05]OFD Sender: No OFD packet to send [15:31:10]OFD Sender: No OFD packet to send [15:31:15]OFD Sender: No OFD packet to send [15:31:20]OFD Sender: No OFD packet to send [15:31:25]OFD Sender: No OFD packet to send [15:31:30]OFD Sender: No OFD packet to send [15:31:35]OFD Sender: No OFD packet to send [15:31:40]OFD Sender: No OFD packet to send [15:31:45]OFD Sender: No OFD packet to send [15:31:50]OFD Sender: No OFD packet to send [15:31:55]OFD Sender: No OFD packet to send [15:32:00]OFD Sender: No OFD packet to send [15:32:05]OFD Sender: No OFD packet to send [15:32:10]OFD Sender: No OFD packet to send [15:32:15]OFD Sender: No OFD packet to send [15:32:20]OFD Sender: No OFD packet to send [15:32:25]OFD Sender: No OFD packet to send [15:32:30]OFD Sender: No OFD packet to send [15:32:35]OFD Sender: No OFD packet to send [15:32:40]OFD Sender: No OFD packet to send [15:32:45]OFD Sender: No OFD packet to send [15:32:50]OFD Sender: No OFD packet to send [15:32:55]OFD Sender: No OFD packet to send [15:33:00]OFD Sender: No OFD packet to send [15:33:05]OFD Sender: No OFD packet to send [15:33:10]OFD Sender: No OFD packet to send [15:33:15]OFD Sender: No OFD packet to send [15:33:20]OFD Sender: No OFD packet to send [15:33:25]OFD Sender: No OFD packet to send [15:33:30]OFD Sender: No OFD packet to send [15:33:35]OFD Sender: No OFD packet to send [15:33:40]OFD Sender: No OFD packet to send [15:33:45]OFD Sender: No OFD packet to send [15:33:50]OFD Sender: No OFD packet to send [15:33:55]OFD Sender: No OFD packet to send [15:34:00]OFD Sender: No OFD packet to send [15:34:05]OFD Sender: No OFD packet to send [15:34:10]OFD Sender: No OFD packet to send [15:34:15]OFD Sender: No OFD packet to send [15:34:20]OFD Sender: No OFD packet to send [15:34:25]OFD Sender: No OFD packet to send [15:34:30]OFD Sender: No OFD packet to send [15:34:35]OFD Sender: No OFD packet to send [15:34:40]OFD Sender: No OFD packet to send [15:34:45]OFD Sender: No OFD packet to send [15:34:50]OFD Sender: No OFD packet to send [15:34:55]OFD Sender: No OFD packet to send [15:35:00]OFD Sender: No OFD packet to send [15:35:05]OFD Sender: No OFD packet to send [15:35:10]OFD Sender: No OFD packet to send [15:35:15]OFD Sender: No OFD packet to send [15:35:20]OFD Sender: No OFD packet to send [15:35:25]OFD Sender: No OFD packet to send [15:35:30]OFD Sender: No OFD packet to send [15:35:35]OFD Sender: No OFD packet to send [15:35:40]OFD Sender: No OFD packet to send [15:35:45]OFD Sender: No OFD packet to send [15:35:50]OFD Sender: No OFD packet to send [15:35:55]OFD Sender: No OFD packet to send [15:36:00]OFD Sender: No OFD packet to send [15:36:05]OFD Sender: No OFD packet to send [15:36:10]OFD Sender: No OFD packet to send [15:36:15]OFD Sender: No OFD packet to send [15:36:20]OFD Sender: No OFD packet to send [15:36:25]OFD Sender: No OFD packet to send [15:36:30]OFD Sender: No OFD packet to send [15:36:35]OFD Sender: No OFD packet to send [15:36:40]OFD Sender: No OFD packet to send [15:36:45]OFD Sender: No OFD packet to send [15:36:50]OFD Sender: No OFD packet to send [15:36:55]OFD Sender: No OFD packet to send [15:37:00]OFD Sender: No OFD packet to send [15:37:05]OFD Sender: No OFD packet to send [15:37:10]OFD Sender: No OFD packet to send [15:37:15]OFD Sender: No OFD packet to send [15:37:20]OFD Sender: No OFD packet to send [15:37:25]OFD Sender: No OFD packet to send [15:37:30]OFD Sender: No OFD packet to send [15:37:35]OFD Sender: No OFD packet to send [15:37:40]OFD Sender: No OFD packet to send [15:37:45]OFD Sender: No OFD packet to send [15:37:50]OFD Sender: No OFD packet to send [15:37:55]OFD Sender: No OFD packet to send [15:38:00]OFD Sender: No OFD packet to send [15:38:05]OFD Sender: No OFD packet to send [15:38:10]OFD Sender: No OFD packet to send [15:38:15]OFD Sender: No OFD packet to send [15:38:20]OFD Sender: No OFD packet to send [15:38:25]OFD Sender: No OFD packet to send [15:38:30]OFD Sender: No OFD packet to send [15:38:35]OFD Sender: No OFD packet to send [15:38:40]OFD Sender: No OFD packet to send [15:38:45]OFD Sender: No OFD packet to send [15:38:50]OFD Sender: No OFD packet to send [15:38:55]OFD Sender: No OFD packet to send [15:39:00]OFD Sender: No OFD packet to send [15:39:05]OFD Sender: No OFD packet to send [15:39:10]OFD Sender: No OFD packet to send [15:39:15]OFD Sender: No OFD packet to send [15:39:20]OFD Sender: No OFD packet to send [15:39:25]OFD Sender: No OFD packet to send [15:39:30]OFD Sender: No OFD packet to send [15:39:36]OFD Sender: No OFD packet to send [15:39:41]OFD Sender: No OFD packet to send [15:39:46]OFD Sender: No OFD packet to send [15:39:51]OFD Sender: No OFD packet to send [15:39:56]OFD Sender: No OFD packet to send [15:40:01]OFD Sender: No OFD packet to send [15:40:06]OFD Sender: No OFD packet to send [15:40:11]OFD Sender: No OFD packet to send [15:40:16]OFD Sender: No OFD packet to send [15:40:21]OFD Sender: No OFD packet to send [15:40:26]OFD Sender: No OFD packet to send [15:40:31]OFD Sender: No OFD packet to send [15:40:36]OFD Sender: No OFD packet to send [15:40:41]OFD Sender: No OFD packet to send [15:40:46]OFD Sender: No OFD packet to send [15:40:51]OFD Sender: No OFD packet to send [15:40:56]OFD Sender: No OFD packet to send [15:41:01]OFD Sender: No OFD packet to send [15:41:06]OFD Sender: No OFD packet to send [15:41:11]OFD Sender: No OFD packet to send [15:41:16]OFD Sender: No OFD packet to send [15:41:21]OFD Sender: No OFD packet to send [15:41:26]OFD Sender: No OFD packet to send [15:41:31]OFD Sender: No OFD packet to send [15:41:36]OFD Sender: No OFD packet to send [15:41:41]OFD Sender: No OFD packet to send [15:41:46]OFD Sender: No OFD packet to send [15:41:51]OFD Sender: No OFD packet to send [15:41:56]OFD Sender: No OFD packet to send [15:42:01]OFD Sender: No OFD packet to send [15:42:06]OFD Sender: No OFD packet to send [15:42:11]OFD Sender: No OFD packet to send [15:42:16]OFD Sender: No OFD packet to send [15:42:21]OFD Sender: No OFD packet to send [15:42:26]OFD Sender: No OFD packet to send [15:42:31]OFD Sender: No OFD packet to send [15:42:36]OFD Sender: No OFD packet to send [15:42:41]OFD Sender: No OFD packet to send [15:42:46]OFD Sender: No OFD packet to send [15:42:51]OFD Sender: No OFD packet to send [15:42:56]OFD Sender: No OFD packet to send [15:43:01]OFD Sender: No OFD packet to send [15:43:06]OFD Sender: No OFD packet to send [15:43:11]OFD Sender: No OFD packet to send [15:43:16]OFD Sender: No OFD packet to send [15:43:21]OFD Sender: No OFD packet to send [15:43:26]OFD Sender: No OFD packet to send [15:43:31]OFD Sender: No OFD packet to send [15:43:36]OFD Sender: No OFD packet to send [15:43:41]OFD Sender: No OFD packet to send [15:43:46]OFD Sender: No OFD packet to send [15:43:51]OFD Sender: No OFD packet to send [15:43:56]OFD Sender: No OFD packet to send [15:44:01]OFD Sender: No OFD packet to send [15:44:06]OFD Sender: No OFD packet to send [15:44:11]OFD Sender: No OFD packet to send [15:44:16]OFD Sender: No OFD packet to send [15:44:21]OFD Sender: No OFD packet to send [15:44:26]OFD Sender: No OFD packet to send [15:44:31]OFD Sender: No OFD packet to send [15:44:36]OFD Sender: No OFD packet to send [15:44:41]OFD Sender: No OFD packet to send [15:44:46]OFD Sender: No OFD packet to send [15:44:51]OFD Sender: No OFD packet to send [15:44:56]OFD Sender: No OFD packet to send [15:45:01]OFD Sender: No OFD packet to send [15:45:06]OFD Sender: No OFD packet to send [15:45:11]OFD Sender: No OFD packet to send [15:45:16]OFD Sender: No OFD packet to send [15:45:21]OFD Sender: No OFD packet to send [15:45:26]OFD Sender: No OFD packet to send [15:45:31]OFD Sender: No OFD packet to send [15:45:36]OFD Sender: No OFD packet to send [15:45:41]OFD Sender: No OFD packet to send [15:45:46]OFD Sender: No OFD packet to send [15:45:51]OFD Sender: No OFD packet to send [15:45:56]OFD Sender: No OFD packet to send [15:46:01]OFD Sender: No OFD packet to send [15:46:06]OFD Sender: No OFD packet to send [15:46:11]OFD Sender: No OFD packet to send [15:46:16]OFD Sender: No OFD packet to send [15:46:21]OFD Sender: No OFD packet to send [15:46:26]OFD Sender: No OFD packet to send [15:46:31]OFD Sender: No OFD packet to send [15:46:36]OFD Sender: No OFD packet to send [15:46:41]OFD Sender: No OFD packet to send [15:46:46]OFD Sender: No OFD packet to send [15:46:51]OFD Sender: No OFD packet to send [15:46:56]OFD Sender: No OFD packet to send [15:47:01]OFD Sender: No OFD packet to send [15:47:06]OFD Sender: No OFD packet to send [15:47:11]OFD Sender: No OFD packet to send [15:47:16]OFD Sender: No OFD packet to send [15:47:21]OFD Sender: No OFD packet to send [15:47:26]OFD Sender: No OFD packet to send [15:47:31]OFD Sender: No OFD packet to send [15:47:36]OFD Sender: No OFD packet to send [15:47:41]OFD Sender: No OFD packet to send [15:47:46]OFD Sender: No OFD packet to send [15:47:51]OFD Sender: No OFD packet to send [15:47:56]OFD Sender: No OFD packet to send [15:48:01]OFD Sender: No OFD packet to send [15:48:06]OFD Sender: No OFD packet to send [15:48:11]OFD Sender: No OFD packet to send [15:48:16]OFD Sender: No OFD packet to send [15:48:21]OFD Sender: No OFD packet to send [15:48:26]OFD Sender: No OFD packet to send [15:48:31]OFD Sender: No OFD packet to send [15:48:36]OFD Sender: No OFD packet to send [15:48:41]OFD Sender: No OFD packet to send [15:48:46]OFD Sender: No OFD packet to send [15:48:51]OFD Sender: No OFD packet to send [15:48:56]OFD Sender: No OFD packet to send [15:49:01]OFD Sender: No OFD packet to send [15:49:06]OFD Sender: No OFD packet to send [15:49:11]OFD Sender: No OFD packet to send [15:49:16]OFD Sender: No OFD packet to send [15:49:21]OFD Sender: No OFD packet to send [15:49:26]OFD Sender: No OFD packet to send [15:49:31]OFD Sender: No OFD packet to send [15:49:36]OFD Sender: No OFD packet to send [15:49:41]OFD Sender: No OFD packet to send [15:49:46]OFD Sender: No OFD packet to send [15:49:51]OFD Sender: No OFD packet to send [15:49:56]OFD Sender: No OFD packet to send [15:50:01]OFD Sender: No OFD packet to send [15:50:06]OFD Sender: No OFD packet to send [15:50:11]OFD Sender: No OFD packet to send [15:50:16]OFD Sender: No OFD packet to send [15:50:21]OFD Sender: No OFD packet to send [15:50:26]OFD Sender: No OFD packet to send [15:50:31]OFD Sender: No OFD packet to send [15:50:36]OFD Sender: No OFD packet to send [15:50:41]OFD Sender: No OFD packet to send [15:50:46]OFD Sender: No OFD packet to send [15:50:51]OFD Sender: No OFD packet to send [15:50:56]OFD Sender: No OFD packet to send [15:51:01]OFD Sender: No OFD packet to send [15:51:06]OFD Sender: No OFD packet to send [15:51:11]OFD Sender: No OFD packet to send [15:51:16]OFD Sender: No OFD packet to send [15:51:21]OFD Sender: No OFD packet to send [15:51:26]OFD Sender: No OFD packet to send [15:51:31]OFD Sender: No OFD packet to send [15:51:36]OFD Sender: No OFD packet to send [15:51:41]OFD Sender: No OFD packet to send [15:51:46]OFD Sender: No OFD packet to send [15:51:51]OFD Sender: No OFD packet to send [15:51:56]OFD Sender: No OFD packet to send [15:52:01]OFD Sender: No OFD packet to send [15:52:06]OFD Sender: No OFD packet to send [15:52:11]OFD Sender: No OFD packet to send [15:52:16]OFD Sender: No OFD packet to send [15:52:21]OFD Sender: No OFD packet to send [15:52:26]OFD Sender: No OFD packet to send [15:52:31]OFD Sender: No OFD packet to send [15:52:32]accept exits with 7 [15:52:32]New connection [15:52:32]New thread 3067166052 created [15:52:32]Thread 3067309412 joined [15:52:32]Waiting for new connection... [15:52:32] Sock 7.Parse request [15:52:32]Sock 7.Check first char [15:52:32]Sock 7.First char is OK [15:52:32]request: POST /json_proto HTTP/1.0 [15:52:32]Method: POST [15:52:32]URL: /json_proto [15:52:32]Method is POST - this is cgi request [15:52:32]url: /json_proto [15:52:32]query_string will be loaded in cgi processing [15:52:32]execute_cgi json_proto POST (null) [15:52:32]execute_cgi path=json_proto method=POST [15:52:32]POST find Content-Length [15:52:32]Host: 172.17.53.196:8080 [15:52:32]Content-Length: 1556 [15:52:32]Content-Type: application/json [15:52:32] [15:52:32]POST finish read [15:52:32]Found Content-Length = 1556 [15:52:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34640", "tax_sys" : 0, "items" : [ { "code": "4870235681383", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u0421\u041C\u0415\u0422\u0410\u041D\u0410/\u0417\u0415\u041B\u0415\u041D\u042C 60\u0413", "price" : 95.00, "quantity" : 1.000, "sum" : 95.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": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 249.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:52:32]execute_script... [15:52: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)34640", "tax_sys" : 0, "items" : [ { "code": "4870235681383", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u0421\u041C\u0415\u0422\u0410\u041D\u0410/\u0417\u0415\u041B\u0415\u041D\u042C 60\u0413", "price" : 95.00, "quantity" : 1.000, "sum" : 95.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": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 249.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:52:32]POST & json_proto [15:52:32]process_json_proto [15:52:32]json parsed OK: [15:52:32]protocol is kg_v1.0 [15:52:32]action value=close_receipt [15:52:32]process_action close_receipt [15:52:32]cmd_close_receipt [15:52:32]MH_GetDate [15:52:32]Write to MH i2c: F0 00 00 F2 0B EC [15:52:32]Write i2c OK [15:52:32]MH_I2C_Read... [15:52:32]Read from MH i2c: F0 [15:52:32]MH_I2C_Read... [15:52:32]Read from MH i2c: F0 09 00 [15:52:32]MH_I2C_Read... [15:52:32]Read from MH i2c: F0 09 00 F2 0B 00 43 27 15 67 4F CD 9A 65 F6 [15:52:32]GetLastDocTimeStamp 1729438211 [15:52:32]current date 1729439555 [15:52:32]FM_GetShiftState [15:52:32]SAM_PROTO_GetShiftState [15:52:32]wFMCommunicate request_size=4 [15:52:32]MH_SAM_APDU [15:52:32]CAPDU: 80 13 01 00 [15:52:32]Write to MH i2c: E2 08 00 F3 0B 80 13 01 00 00 00 00 00 7B [15:52:32]Write i2c OK [15:52:32]MH_I2C_Read... [15:52:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:52:32]Read from MH i2c: E2 [15:52:32]MH_I2C_Read... [15:52:32]Read from MH i2c: E2 0E 00 [15:52:32]MH_I2C_Read... [15:52:32]Read from MH i2c: E2 0E 00 F3 0B 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 C1 [15:52:32]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [15:52:32]wFMCommunicate OK [15:52:32]SAM_PROTO_GetShiftState done [15:52:32]FM_GetShiftState done [15:52:32]opened in 1729384049 [15:52:32]opened+sec_in_day 1729470449 [15:52:32]quantity*price = 9500 [15:52:32]sum+1 = 9501 [15:52:32]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189332 Холодный чай Fuse персик 1л 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46226624 Mentos ПВ Клубника 6*100*2 2.000 * 10.00 = 20.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 2.000 * 7.00 = 14.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 249.00 НСП 1% : 2.20 НДС 12% : 26.44 Наличными: 249.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 38 20.10.2024 15:52 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24880 ФПД: 124473295257133 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T155236&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24880&fm=124473295257133&tin=02508201610067®Number=0000000000098147&sum=24900 0 [15:52:33]StoreToDocumentArchive [15:52:33]shift 455 fd 24880 [15:52:33]save to /storage/0455/doc_00024880 [15:52:33]save last doc name /storage/0455/doc_00024880 to /storage/kkm_last_doc_name [15:52:33]save OK [15:52:33]Clear old archive folders... [15:52:33]ProcessDocumentItem done err = 0, tmpTLVsize=646 [15:52:33]tlvbuf is 00DF5610 [15:52:33]SAM_PROTO_ClearQueue [15:52:33]wFMCommunicate request_size=4 [15:52:33]MH_SAM_APDU [15:52:33]CAPDU: 80 09 00 00 [15:52:33]Write to MH i2c: E2 08 00 00 0C 80 09 00 00 00 00 00 00 7E [15:52:33]Write i2c OK [15:52:33]MH_I2C_Read... [15:52:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:52:33]Read from MH i2c: E2 [15:52:33]MH_I2C_Read... [15:52:33]Read from MH i2c: E2 03 00 [15:52:33]MH_I2C_Read... [15:52:33]Read from MH i2c: E2 03 00 00 0C 00 90 00 80 [15:52:33]RAPDU: 90 00 [15:52:33]wFMCommunicate OK [15:52:33]SAM_PROTO_ClearQueue done [15:52:33]KKMCreateOFDPacket [15:52:33]OFDProtocolAddRootSTLVToBuf [15:52:33]FM_MakeSignedData [15:52:33]FM_MakeSignedData [15:52:33]SAM_PROTO_SignData [15:52:33]wFMCommunicate request_size=4 [15:52:33]MH_SAM_APDU [15:52:33]CAPDU: 80 0D 01 02 [15:52:33]Write to MH i2c: E2 08 00 01 0C 80 0D 01 02 00 00 00 00 86 [15:52:33]Write i2c OK [15:52:33]MH_I2C_Read... [15:52:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:52:33]Read from MH i2c: E2 [15:52:33]MH_I2C_Read... [15:52:33]Read from MH i2c: E2 03 00 [15:52:33]MH_I2C_Read... [15:52:33]Read from MH i2c: E2 03 00 01 0C 00 90 00 81 [15:52:33]RAPDU: 90 00 [15:52:33]wFMCommunicate OK [15:52:33]wFMCommunicate request_size=255 [15:52:33]MH_SAM_APDU [15:52:33]CAPDU: 80 0D 02 02 FA 03 00 86 02 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 38 33 06 04 43 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 9C D0 95 D0 A2 D0 90 D0 9D D0 90 2F D0 97 D0 95 D0 9B D0 95 D0 9D D0 AC 20 36 30 D0 93 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 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 [15:52:33]Write to MH i2c: E2 02 01 02 0C 80 0D 02 02 FA 00 03 00 86 02 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 38 33 06 04 43 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 9C D0 95 D0 A2 D0 90 D0 9D D0 90 2F D0 97 D0 95 D0 9B D0 95 D0 9D D0 AC 20 36 30 D0 93 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 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 00 00 95 [15:52:33]Write i2c OK [15:52:33]MH_I2C_Read... [15:52:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:52:34]Read from MH i2c: E2 [15:52:34]MH_I2C_Read... [15:52:34]Read from MH i2c: E2 03 00 [15:52:34]MH_I2C_Read... [15:52:34]Read from MH i2c: E2 03 00 02 0C 00 90 00 82 [15:52:34]RAPDU: 90 00 [15:52:34]wFMCommunicate OK [15:52:34]wFMCommunicate request_size=255 [15:52:34]MH_SAM_APDU [15:52:34]CAPDU: 80 0D 02 02 FA F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 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 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 44 61 00 00 00 00 EB 03 26 00 EF [15:52:34]Write to MH i2c: E2 02 01 03 0C 80 0D 02 02 FA 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 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 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 44 61 00 00 00 00 EB 03 26 00 EF 00 00 37 [15:52:34]Write i2c OK [15:52:34]MH_I2C_Read... [15:52:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:52:34]Read from MH i2c: E2 [15:52:34]MH_I2C_Read... [15:52:34]Read from MH i2c: E2 03 00 [15:52:34]MH_I2C_Read... [15:52:34]Read from MH i2c: E2 03 00 03 0C 00 90 00 83 [15:52:34]RAPDU: 90 00 [15:52:34]wFMCommunicate OK [15:52:34]wFMCommunicate request_size=155 [15:52:34]MH_SAM_APDU [15:52:34]CAPDU: 80 0D 02 02 96 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 26 00 00 00 F4 03 04 00 44 27 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 30 61 00 00 35 04 06 00 71 35 32 8C 3E 2D [15:52:34]Write to MH i2c: E2 9E 00 04 0C 80 0D 02 02 96 00 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 26 00 00 00 F4 03 04 00 44 27 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 30 61 00 00 35 04 06 00 71 35 32 8C 3E 2D 00 00 0C [15:52:34]Write i2c OK [15:52:34]MH_I2C_Read... [15:52:34]Read from MH i2c: E2 [15:52:34]MH_I2C_Read... [15:52:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:52:34]Read from MH i2c: E2 03 00 [15:52:34]MH_I2C_Read... [15:52:34]Read from MH i2c: E2 03 00 04 0C 00 90 00 84 [15:52:34]RAPDU: 90 00 [15:52:34]wFMCommunicate OK [15:52:34]wFMCommunicate request_size=4 [15:52:34]MH_SAM_APDU [15:52:34]CAPDU: 80 0D 03 02 [15:52:34]Write to MH i2c: E2 08 00 05 0C 80 0D 03 02 00 00 00 00 8C [15:52:34]Write i2c OK [15:52:34]MH_I2C_Read... [15:52:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:52:34]Read from MH i2c: E2 [15:52:34]MH_I2C_Read... [15:52:34]Read from MH i2c: E2 0B 00 [15:52:34]MH_I2C_Read... [15:52:34]Read from MH i2c: E2 0B 00 05 0C 00 E2 87 12 16 FE 92 45 2C 90 00 1F [15:52:34]RAPDU: E2 87 12 16 FE 92 45 2C 90 00 [15:52:34]wFMCommunicate OK [15:52:34]SAM_PROTO_SignData done [15:52:34]FM_MakeSignedData done [15:52:34]CreateOFDProtocolMessage [15:52:34]wFMCommunicate request_size=4 [15:52:34]MH_SAM_APDU [15:52:34]CAPDU: 80 11 00 00 [15:52:34]Write to MH i2c: E2 08 00 06 0C 80 11 00 00 00 00 00 00 8C [15:52:34]Write i2c OK [15:52:34]MH_I2C_Read... [15:52:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:52:34]Read from MH i2c: E2 [15:52:34]MH_I2C_Read... [15:52:34]Read from MH i2c: E2 17 00 [15:52:34]MH_I2C_Read... [15:52:34]Read from MH i2c: E2 17 00 06 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 E3 [15:52:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [15:52:34]wFMCommunicate OK [15:52:34]CreateOFDProtocolMessage done [15:52:34]OFDSenderStorePacket 24880 [15:52:34]StoreOFDPacket docnum=24880 [15:52:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 9A 02 00 00 32 DE 92 02 F7 BF 5A 03 01 00 03 00 86 02 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 38 33 06 04 43 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 9C D0 95 D0 A2 D0 90 D0 9D D0 90 2F D0 97 D0 95 D0 9B D0 95 D0 9D D0 AC 20 36 30 D0 93 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 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 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 26 00 00 00 F4 03 04 00 44 27 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 30 61 00 00 35 04 06 00 71 35 32 8C 3E 2D E2 87 12 16 FE 92 45 2C [15:52:34]CheckFolder [15:52:34]dirname=/storage/ofd_packets [15:52:34]CheckFolder done [15:52:34]ProducePacketName [15:52:34]name=ofd_packets/00024880 [15:52:34]NVStorageSaveData ofd_packets/00024880 [15:52:34]File name is /storage/ofd_packets/00024880 [15:52:34]Write 696 bytes [15:52:34]NVStorageSaveData done [15:52:34]OFDSenderStorePacket done [15:52:34]KKMCreateOFDPacket done [15:52:34]NVStorageSaveData kkm_last_timestamp [15:52:34]File name is /storage/kkm_last_timestamp [15:52:34]Write 4 bytes [15:52:34]NVStorageSaveData done [15:52:34]ExternCall_PrintAddStr [15:52:34]wPrintStart [15:52:34]Write to MH i2c: 01 00 00 07 0C 13 [15:52:34]Write i2c OK [15:52:34]MH_I2C_Read... [15:52:34]Read from MH i2c: 01 [15:52:34]MH_I2C_Read... [15:52:34]Read from MH i2c: 01 07 00 [15:52:34]MH_I2C_Read... [15:52:34]Read from MH i2c: 01 07 00 07 0C 00 00 00 00 00 FF 0F 28 [15:52:34]RasterBufferAndPrint [15:52:34]line Счет N : (3)34640 [15:52:34]line ИНН: 02508201610067 [15:52:34]line Контрольно-Кассовый Чек [15:52:34]line ПРОДАЖА [15:52:34]line Товар: 4870235681383 [15:52:34]line ЧИПСЫ SLANG СО ВКУСОМ СМЕТАНА/ЗЕЛЕНЬ 60Г [15:52:34]line 1.000 * 95.00 [15:52:34]line = 95.00 [15:52:34]line НДС 12% НСП 1% [15:52:34]line > о реализуемом товаре [15:52:34]line Товар: 5449000189332 [15:52:34]line Холодный чай Fuse персик 1л [15:52:34]line 1.000 * 120.00 [15:52:34]line = 120.00 [15:52:34]line НДС 12% НСП 1% [15:52:34]line > о реализуемом товаре [15:52:34]line Товар: 46226624 [15:52:34]line Mentos ПВ Клубника 6*100*2 [15:52:34]line 2.000 * 10.00 [15:52:34]line = 20.00 [15:52:34]line НДС 12% НСП 1% [15:52:34]line > о реализуемом товаре [15:52:34]line Товар: 2000053020015 [15:52:34]line Бумажные стаканы 250мл 1шт [15:52:34]line 2.000 * 7.00 [15:52:34]line = 14.00 [15:52:34]line НДС 12% НСП 1% [15:52:34]line > о реализуемом товаре [15:52:34]line ИТОГО: 249.00 [15:52:34]line НСП 1% : 2.20 [15:52:34]line НДС 12% : 26.44 [15:52:34]line Наличными: 249.00 [15:52:34]line Безнал.: 0.00 [15:52:34]line Место: АЗС № 161 "Партнер Нефть" [15:52:34]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [15:52:34]line СНО: Общий режим [15:52:34]line Чек 38 20.10.2024 15:52 [15:52:34]line Смена: 455 ФФД: 1.0 [15:52:34]line ЗНМ: 0300000240 [15:52:34]line РНМ: 0000000000098147 [15:52:34]line Версия ККМ: 001 [15:52:34]line ФМ: 0000000000965376 [15:52:34]line ФД: 24880 [15:52:34]line ФПД: 124473295257133 [15:52:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T155236&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24880&fm=124473295257133&tin=02508201610067®Number=0000000000098147&sum=24900 [15:52:34]OFD Sender: Processing packet 24880 [packets to send 5, broken 4] [15:52:34]ProducePacketName [15:52:34]name=ofd_packets/00024880 [15:52:34]OFD Sender: To server: pG, [15:52:34]CommunicateWithHost lk.salyk.kg:30040 [15:52:34]ConnectInit lk.salyk.kg [15:52:34]line 0 [15:52:34]written 0, free lines is 4095 [15:52:35]Connected sock=10 [15:52:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 9A 02 00 00 32 DE 92 02 F7 BF 5A 03 01 00 03 00 86 02 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 38 33 06 04 43 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 9C D0 95 D0 A2 D0 90 D0 9D D0 90 2F D0 97 D0 95 D0 9B D0 95 D0 9D D0 AC 20 36 30 D0 93 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 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 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 26 00 00 00 F4 03 04 00 44 27 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 30 61 00 00 35 04 06 00 71 35 32 8C 3E 2D E2 87 12 16 FE 92 45 2C [15:52:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 65 58 47 00 E4 D7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 30 61 00 00 F4 03 04 00 C4 CF 14 67 B6 04 01 00 00 E5 70 C9 85 16 67 07 ED [15:52:35]CommunicateWithHost err = 0 [15:52:35]CheckOFDResponse [15:52:35]1017 (14) - 77093643461234 [15:52:35]1041 (16) - 0000000000965376 [15:52:35]1040 (4) - 24880 [15:52:35]1012 (4) - 20.10.2024 09:39 [15:52:35]1206 (1) - 0 [15:52:35]OFD Sender: Remove packet 24880 [15:52:35]ProducePacketName [15:52:35]name=ofd_packets/00024880 [15:52:35]NVStorageDeleteData [15:52:35]Write to MH i2c: 01 00 00 43 0C 4F [15:52:35]Write i2c OK [15:52:35]MH_I2C_Read... [15:52:35]Read from MH i2c: 01 [15:52:35]MH_I2C_Read... [15:52:35]Read from MH i2c: 01 07 00 [15:52:35]MH_I2C_Read... [15:52:35]Read from MH i2c: 01 07 00 43 0C 00 00 00 00 00 A8 0B 09 [15:52:35]RasterBufferAndPrint [15:52:35]line [15:52:35]line [15:52:35]line [15:52:35]line [15:52:35]line [15:52:35]written 0, free lines is 2994 [15:52:35]process_action close_receipt done [15:52:35]requested_data is exist [15:52:35]produce_requested_data [15:52:35]requested_item fm.sn is exist - process it [15:52:35]wFMCommunicate request_size=4 [15:52:35]MH_SAM_APDU [15:52:35]CAPDU: 80 11 00 00 [15:52:35]Write to MH i2c: E2 08 00 4A 0C 80 11 00 00 00 00 00 00 D0 [15:52:35]Write i2c OK [15:52:35]MH_I2C_Read... [15:52:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:52:35]Read from MH i2c: E2 [15:52:35]MH_I2C_Read... [15:52:35]Read from MH i2c: E2 17 00 [15:52:35]MH_I2C_Read... [15:52:35]Read from MH i2c: E2 17 00 4A 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 27 [15:52:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [15:52:35]wFMCommunicate OK [15:52:35]requested_item fd.num is exist - process it [15:52:35]SAM_PROTO_GetFieldsCounters [15:52:35]wFMCommunicate request_size=4 [15:52:35]MH_SAM_APDU [15:52:35]CAPDU: 80 13 00 00 [15:52:35]Write to MH i2c: E2 08 00 4B 0C 80 13 00 00 00 00 00 00 D3 [15:52:35]Write i2c OK [15:52:35]MH_I2C_Read... [15:52:35]OFD Sender: No OFD packet to send [15:52:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:52:35]Read from MH i2c: E2 [15:52:35]MH_I2C_Read... [15:52:35]Read from MH i2c: E2 62 00 [15:52:35]MH_I2C_Read... [15:52:35]Read from MH i2c: E2 62 00 4B 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 30 61 00 00 0E 04 04 00 C7 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 C7 [15:52:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 30 61 00 00 0E 04 04 00 C7 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 [15:52:35]wFMCommunicate OK [15:52:35]SAM_PROTO_GetFieldsCounters done [15:52:35]requested_item shift.num is exist - process it [15:52:35]requested_item shift.opened is exist - process it [15:52:35]req_shift_opened [15:52:35]FM_GetShiftState [15:52:35]SAM_PROTO_GetShiftState [15:52:35]wFMCommunicate request_size=4 [15:52:35]MH_SAM_APDU [15:52:35]CAPDU: 80 13 01 00 [15:52:35]Write to MH i2c: E2 08 00 4C 0C 80 13 01 00 00 00 00 00 D5 [15:52:35]Write i2c OK [15:52:35]MH_I2C_Read... [15:52:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:52:35]Read from MH i2c: E2 [15:52:35]MH_I2C_Read... [15:52:35]Read from MH i2c: E2 0E 00 [15:52:35]MH_I2C_Read... [15:52:35]Read from MH i2c: E2 0E 00 4C 0C 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 1B [15:52:35]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [15:52:35]wFMCommunicate OK [15:52:35]SAM_PROTO_GetShiftState done [15:52:35]FM_GetShiftState done [15:52:35]req_shift_opened done [15:52:35]requested_item shift.open_date is exist - process it [15:52:35]req_shift_open_date [15:52:35]req_shift_open_date done [15:52:35]produce_requested_data done [15:52:35]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24880,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [15:52:35]process_action_free close_receipt [15:52:35]json_value_free [15:52:35]json_value_free done [15:52:35]process_json_proto returns [15:52:35]Send response to host [15:52:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24880,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [15:52:35]free response buf [15:52:35]execute_script done [15:52:35]execute_script returns [15:52:35]free content buf [15:52:35]Sock 7.Close socket [15:52:35]Sock 7.Thread stoped [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:50]OFD Sender: No OFD packet to send [15:54:55]OFD Sender: No OFD packet to send [15:55:00]OFD Sender: No OFD packet to send [15:55:05]OFD Sender: No OFD packet to send [15:55:10]OFD Sender: No OFD packet to send [15:55:15]OFD Sender: No OFD packet to send [15:55:20]OFD Sender: No OFD packet to send [15:55:25]OFD Sender: No OFD packet to send [15:55:30]OFD Sender: No OFD packet to send [15:55:35]OFD Sender: No OFD packet to send [15:55:40]OFD Sender: No OFD packet to send [15:55:45]OFD Sender: No OFD packet to send [15:55:50]OFD Sender: No OFD packet to send [15:55:55]OFD Sender: No OFD packet to send [15:56:00]OFD Sender: No OFD packet to send [15:56:05]OFD Sender: No OFD packet to send [15:56:10]OFD Sender: No OFD packet to send [15:56:15]OFD Sender: No OFD packet to send [15:56:20]OFD Sender: No OFD packet to send [15:56:25]OFD Sender: No OFD packet to send [15:56:30]OFD Sender: No OFD packet to send [15:56:35]OFD Sender: No OFD packet to send [15:56:40]OFD Sender: No OFD packet to send [15:56:45]OFD Sender: No OFD packet to send [15:56:50]OFD Sender: No OFD packet to send [15:56:55]OFD Sender: No OFD packet to send [15:57:00]OFD Sender: No OFD packet to send [15:57:05]OFD Sender: No OFD packet to send [15:57:10]OFD Sender: No OFD packet to send [15:57:15]OFD Sender: No OFD packet to send [15:57:20]OFD Sender: No OFD packet to send [15:57:25]OFD Sender: No OFD packet to send [15:57:30]OFD Sender: No OFD packet to send [15:57:35]OFD Sender: No OFD packet to send [15:57:40]OFD Sender: No OFD packet to send [15:57:46]OFD Sender: No OFD packet to send [15:57:51]OFD Sender: No OFD packet to send [15:57:56]OFD Sender: No OFD packet to send [15:58:01]OFD Sender: No OFD packet to send [15:58:06]OFD Sender: No OFD packet to send [15:58:11]OFD Sender: No OFD packet to send [15:58:16]OFD Sender: No OFD packet to send [15:58:21]OFD Sender: No OFD packet to send [15:58:26]OFD Sender: No OFD packet to send [15:58:31]OFD Sender: No OFD packet to send [15:58:36]OFD Sender: No OFD packet to send [15:58:41]OFD Sender: No OFD packet to send [15:58:46]OFD Sender: No OFD packet to send [15:58:51]OFD Sender: No OFD packet to send [15:58:56]OFD Sender: No OFD packet to send [15:59:01]OFD Sender: No OFD packet to send [15:59:06]OFD Sender: No OFD packet to send [15:59:11]OFD Sender: No OFD packet to send [15:59:16]OFD Sender: No OFD packet to send [15:59:21]OFD Sender: No OFD packet to send [15:59:26]OFD Sender: No OFD packet to send [15:59:31]OFD Sender: No OFD packet to send [15:59:36]OFD Sender: No OFD packet to send [15:59:41]OFD Sender: No OFD packet to send [15:59:46]OFD Sender: No OFD packet to send [15:59:51]OFD Sender: No OFD packet to send [15:59:56]OFD Sender: No OFD packet to send [16:00:01]OFD Sender: No OFD packet to send [16:00:06]OFD Sender: No OFD packet to send [16:00:11]OFD Sender: No OFD packet to send [16:00:16]OFD Sender: No OFD packet to send [16:00:21]OFD Sender: No OFD packet to send [16:00:26]OFD Sender: No OFD packet to send [16:00:31]OFD Sender: No OFD packet to send [16:00:36]OFD Sender: No OFD packet to send [16:00:41]OFD Sender: No OFD packet to send [16:00:46]OFD Sender: No OFD packet to send [16:00:51]OFD Sender: No OFD packet to send [16:00:56]OFD Sender: No OFD packet to send [16:01:01]OFD Sender: No OFD packet to send [16:01:06]OFD Sender: No OFD packet to send [16:01:11]OFD Sender: No OFD packet to send [16:01:16]OFD Sender: No OFD packet to send [16:01:21]OFD Sender: No OFD packet to send [16:01:26]OFD Sender: No OFD packet to send [16:01:31]OFD Sender: No OFD packet to send [16:01:36]OFD Sender: No OFD packet to send [16:01:41]OFD Sender: No OFD packet to send [16:01:46]OFD Sender: No OFD packet to send [16:01:51]OFD Sender: No OFD packet to send [16:01:56]OFD Sender: No OFD packet to send [16:02:01]OFD Sender: No OFD packet to send [16:02:06]OFD Sender: No OFD packet to send [16:02:11]OFD Sender: No OFD packet to send [16:02:16]OFD Sender: No OFD packet to send [16:02:21]OFD Sender: No OFD packet to send [16:02:26]OFD Sender: No OFD packet to send [16:02:31]OFD Sender: No OFD packet to send [16:02:36]OFD Sender: No OFD packet to send [16:02:41]OFD Sender: No OFD packet to send [16:02:46]OFD Sender: No OFD packet to send [16:02:51]OFD Sender: No OFD packet to send [16:02:56]OFD Sender: No OFD packet to send [16:03:01]OFD Sender: No OFD packet to send [16:03:06]OFD Sender: No OFD packet to send [16:03:11]OFD Sender: No OFD packet to send [16:03:16]OFD Sender: No OFD packet to send [16:03:21]OFD Sender: No OFD packet to send [16:03:26]OFD Sender: No OFD packet to send [16:03:31]OFD Sender: No OFD packet to send [16:03:36]OFD Sender: No OFD packet to send [16:03:41]OFD Sender: No OFD packet to send [16:03:46]OFD Sender: No OFD packet to send [16:03:51]OFD Sender: No OFD packet to send [16:03:56]OFD Sender: No OFD packet to send [16:04:01]OFD Sender: No OFD packet to send [16:04:06]OFD Sender: No OFD packet to send [16:04:11]OFD Sender: No OFD packet to send [16:04:16]OFD Sender: No OFD packet to send [16:04:21]OFD Sender: No OFD packet to send [16:04:26]OFD Sender: No OFD packet to send [16:04:31]OFD Sender: No OFD packet to send [16:04:36]OFD Sender: No OFD packet to send [16:04:41]OFD Sender: No OFD packet to send [16:04:46]OFD Sender: No OFD packet to send [16:04:51]OFD Sender: No OFD packet to send [16:04:56]OFD Sender: No OFD packet to send [16:05:01]OFD Sender: No OFD packet to send [16:05:06]OFD Sender: No OFD packet to send [16:05:11]OFD Sender: No OFD packet to send [16:05:16]OFD Sender: No OFD packet to send [16:05:21]OFD Sender: No OFD packet to send [16:05:26]OFD Sender: No OFD packet to send [16:05:31]OFD Sender: No OFD packet to send [16:05:36]OFD Sender: No OFD packet to send [16:05:41]OFD Sender: No OFD packet to send [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:31]OFD Sender: No OFD packet to send [16:11:36]OFD Sender: No OFD packet to send [16:11:41]OFD Sender: No OFD packet to send [16:11:46]OFD Sender: No OFD packet to send [16:11:51]OFD Sender: No OFD packet to send [16:11:56]OFD Sender: No OFD packet to send [16:12:01]OFD Sender: No OFD packet to send [16:12:06]OFD Sender: No OFD packet to send [16:12:11]OFD Sender: No OFD packet to send [16:12:16]OFD Sender: No OFD packet to send [16:12:21]OFD Sender: No OFD packet to send [16:12:26]OFD Sender: No OFD packet to send [16:12:31]OFD Sender: No OFD packet to send [16:12:36]OFD Sender: No OFD packet to send [16:12:41]OFD Sender: No OFD packet to send [16:12:46]OFD Sender: No OFD packet to send [16:12:51]OFD Sender: No OFD packet to send [16:12:56]OFD Sender: No OFD packet to send [16:13:01]OFD Sender: No OFD packet to send [16:13:06]OFD Sender: No OFD packet to send [16:13:11]OFD Sender: No OFD packet to send [16:13:16]OFD Sender: No OFD packet to send [16:13:21]OFD Sender: No OFD packet to send [16:13:26]OFD Sender: No OFD packet to send [16:13:31]OFD Sender: No OFD packet to send [16:13:36]OFD Sender: No OFD packet to send [16:13:41]OFD Sender: No OFD packet to send [16:13:46]OFD Sender: No OFD packet to send [16:13:51]OFD Sender: No OFD packet to send [16:13:56]OFD Sender: No OFD packet to send [16:14:01]OFD Sender: No OFD packet to send [16:14:06]OFD Sender: No OFD packet to send [16:14:11]OFD Sender: No OFD packet to send [16:14:16]OFD Sender: No OFD packet to send [16:14:21]OFD Sender: No OFD packet to send [16:14:26]OFD Sender: No OFD packet to send [16:14:31]OFD Sender: No OFD packet to send [16:14:36]OFD Sender: No OFD packet to send [16:14:41]OFD Sender: No OFD packet to send [16:14:46]OFD Sender: No OFD packet to send [16:14:51]OFD Sender: No OFD packet to send [16:14:56]OFD Sender: No OFD packet to send [16:15:01]OFD Sender: No OFD packet to send [16:15:06]OFD Sender: No OFD packet to send [16:15:11]OFD Sender: No OFD packet to send [16:15:16]OFD Sender: No OFD packet to send [16:15:21]OFD Sender: No OFD packet to send [16:15:26]OFD Sender: No OFD packet to send [16:15:31]OFD Sender: No OFD packet to send [16:15:36]OFD Sender: No OFD packet to send [16:15:41]OFD Sender: No OFD packet to send [16:15:46]OFD Sender: No OFD packet to send [16:15:51]OFD Sender: No OFD packet to send [16:15:56]OFD Sender: No OFD packet to send [16:16:01]OFD Sender: No OFD packet to send [16:16:06]OFD Sender: No OFD packet to send [16:16:11]OFD Sender: No OFD packet to send [16:16:16]OFD Sender: No OFD packet to send [16:16:21]OFD Sender: No OFD packet to send [16:16:26]OFD Sender: No OFD packet to send [16:16:31]OFD Sender: No OFD packet to send [16:16:36]OFD Sender: No OFD packet to send [16:16:41]OFD Sender: No OFD packet to send [16:16:46]OFD Sender: No OFD packet to send [16:16:51]OFD Sender: No OFD packet to send [16:16:56]OFD Sender: No OFD packet to send [16:17:01]OFD Sender: No OFD packet to send [16:17:06]OFD Sender: No OFD packet to send [16:17:11]OFD Sender: No OFD packet to send [16:17:16]OFD Sender: No OFD packet to send [16:17:21]OFD Sender: No OFD packet to send [16:17:26]OFD Sender: No OFD packet to send [16:17:31]OFD Sender: No OFD packet to send [16:17:36]OFD Sender: No OFD packet to send [16:17:41]OFD Sender: No OFD packet to send [16:17:46]OFD Sender: No OFD packet to send [16:17:51]OFD Sender: No OFD packet to send [16:17:56]OFD Sender: No OFD packet to send [16:18:01]OFD Sender: No OFD packet to send [16:18:06]OFD Sender: No OFD packet to send [16:18:11]OFD Sender: No OFD packet to send [16:18:16]OFD Sender: No OFD packet to send [16:18:21]OFD Sender: No OFD packet to send [16:18:26]OFD Sender: No OFD packet to send [16:18:31]OFD Sender: No OFD packet to send [16:18:36]OFD Sender: No OFD packet to send [16:18:41]OFD Sender: No OFD packet to send [16:18:46]OFD Sender: No OFD packet to send [16:18:51]OFD Sender: No OFD packet to send [16:18:56]OFD Sender: No OFD packet to send [16:19:01]OFD Sender: No OFD packet to send [16:19:06]OFD Sender: No OFD packet to send [16:19:11]OFD Sender: No OFD packet to send [16:19:16]OFD Sender: No OFD packet to send [16:19:21]OFD Sender: No OFD packet to send [16:19: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:07]OFD Sender: No OFD packet to send [16:25:12]OFD Sender: No OFD packet to send [16:25:17]OFD Sender: No OFD packet to send [16:25:22]OFD Sender: No OFD packet to send [16:25:27]OFD Sender: No OFD packet to send [16:25:32]OFD Sender: No OFD packet to send [16:25:37]OFD Sender: No OFD packet to send [16:25:42]OFD Sender: No OFD packet to send [16:25:47]OFD Sender: No OFD packet to send [16:25:52]OFD Sender: No OFD packet to send [16:25:57]OFD Sender: No OFD packet to send [16:26:02]OFD Sender: No OFD packet to send [16:26:07]OFD Sender: No OFD packet to send [16:26:12]OFD Sender: No OFD packet to send [16:26:17]OFD Sender: No OFD packet to send [16:26:22]OFD Sender: No OFD packet to send [16:26:27]OFD Sender: No OFD packet to send [16:26:32]OFD Sender: No OFD packet to send [16:26:37]OFD Sender: No OFD packet to send [16:26:42]OFD Sender: No OFD packet to send [16:26:47]OFD Sender: No OFD packet to send [16:26:52]OFD Sender: No OFD packet to send [16:26:57]OFD Sender: No OFD packet to send [16:27:02]OFD Sender: No OFD packet to send [16:27:07]OFD Sender: No OFD packet to send [16:27:12]OFD Sender: No OFD packet to send [16:27:17]OFD Sender: No OFD packet to send [16:27:22]OFD Sender: No OFD packet to send [16:27:27]OFD Sender: No OFD packet to send [16:27:32]OFD Sender: No OFD packet to send [16:27:37]OFD Sender: No OFD packet to send [16:27:42]OFD Sender: No OFD packet to send [16:27:47]OFD Sender: No OFD packet to send [16:27:52]OFD Sender: No OFD packet to send [16:27:57]OFD Sender: No OFD packet to send [16:28:02]OFD Sender: No OFD packet to send [16:28:07]OFD Sender: No OFD packet to send [16:28:12]OFD Sender: No OFD packet to send [16:28:17]OFD Sender: No OFD packet to send [16:28:22]OFD Sender: No OFD packet to send [16:28:27]OFD Sender: No OFD packet to send [16:28:32]OFD Sender: No OFD packet to send [16:28:37]OFD Sender: No OFD packet to send [16:28:42]OFD Sender: No OFD packet to send [16:28:47]OFD Sender: No OFD packet to send [16:28:52]OFD Sender: No OFD packet to send [16:28:57]OFD Sender: No OFD packet to send [16:29:02]OFD Sender: No OFD packet to send [16:29:07]OFD Sender: No OFD packet to send [16:29:12]OFD Sender: No OFD packet to send [16:29:17]OFD Sender: No OFD packet to send [16:29:22]OFD Sender: No OFD packet to send [16:29:27]OFD Sender: No OFD packet to send [16:29:32]OFD Sender: No OFD packet to send [16:29:37]OFD Sender: No OFD packet to send [16:29:42]OFD Sender: No OFD packet to send [16:29:47]OFD Sender: No OFD packet to send [16:29:52]OFD Sender: No OFD packet to send [16:29:57]OFD Sender: No OFD packet to send [16:30:02]OFD Sender: No OFD packet to send [16:30:07]OFD Sender: No OFD packet to send [16:30:12]OFD Sender: No OFD packet to send [16:30:17]OFD Sender: No OFD packet to send [16:30:22]OFD Sender: No OFD packet to send [16:30:27]OFD Sender: No OFD packet to send [16:30:32]OFD Sender: No OFD packet to send [16:30:37]OFD Sender: No OFD packet to send [16:30:42]OFD Sender: No OFD packet to send [16:30:47]OFD Sender: No OFD packet to send [16:30:52]OFD Sender: No OFD packet to send [16:30:57]OFD Sender: No OFD packet to send [16:31:02]OFD Sender: No OFD packet to send [16:31:07]OFD Sender: No OFD packet to send [16:31:12]OFD Sender: No OFD packet to send [16:31:17]OFD Sender: No OFD packet to send [16:31:22]OFD Sender: No OFD packet to send [16:31:27]OFD Sender: No OFD packet to send [16:31:32]OFD Sender: No OFD packet to send [16:31:37]OFD Sender: No OFD packet to send [16:31:42]OFD Sender: No OFD packet to send [16:31:47]OFD Sender: No OFD packet to send [16:31:52]OFD Sender: No OFD packet to send [16:31:57]OFD Sender: No OFD packet to send [16:32:02]OFD Sender: No OFD packet to send [16:32:07]OFD Sender: No OFD packet to send [16:32:12]OFD Sender: No OFD packet to send [16:32:17]OFD Sender: No OFD packet to send [16:32:22]OFD Sender: No OFD packet to send [16:32:27]OFD Sender: No OFD packet to send [16:32:32]OFD Sender: No OFD packet to send [16:32:37]OFD Sender: No OFD packet to send [16:32:42]OFD Sender: No OFD packet to send [16:32:47]OFD Sender: No OFD packet to send [16:32:52]OFD Sender: No OFD packet to send [16:32:57]OFD Sender: No OFD packet to send [16:33:02]OFD Sender: No OFD packet to send [16:33:07]OFD Sender: No OFD packet to send [16:33:12]OFD Sender: No OFD packet to send [16:33:17]OFD Sender: No OFD packet to send [16:33:22]OFD Sender: No OFD packet to send [16:33:27]OFD Sender: No OFD packet to send [16:33:32]OFD Sender: No OFD packet to send [16:33:37]OFD Sender: No OFD packet to send [16:33:42]OFD Sender: No OFD packet to send [16:33:46]accept exits with 9 [16:33:46]New connection [16:33:46]New thread 3067309412 created [16:33:46]Thread 3067166052 joined [16:33:46]Waiting for new connection... [16:33:46] Sock 9.Parse request [16:33:46]Sock 9.Check first char [16:33:46]Sock 9.First char is OK [16:33:46]request: POST /json_proto HTTP/1.0 [16:33:46]Method: POST [16:33:46]URL: /json_proto [16:33:46]Method is POST - this is cgi request [16:33:46]url: /json_proto [16:33:46]query_string will be loaded in cgi processing [16:33:46]execute_cgi json_proto POST (null) [16:33:46]execute_cgi path=json_proto method=POST [16:33:46]POST find Content-Length [16:33:46]Host: 172.17.53.196:8080 [16:33:46]Content-Length: 748 [16:33:46]Content-Type: application/json [16:33:46] [16:33:46]POST finish read [16:33:46]Found Content-Length = 748 [16:33:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34641", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 154.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:33:46]execute_script... [16:33: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)34641", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 154.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:33:46]POST & json_proto [16:33:46]process_json_proto [16:33:46]json parsed OK: [16:33:46]protocol is kg_v1.0 [16:33:46]action value=close_receipt [16:33:46]process_action close_receipt [16:33:46]cmd_close_receipt [16:33:46]MH_GetDate [16:33:46]Write to MH i2c: F0 00 00 4D 0C 48 [16:33:46]Write i2c OK [16:33:46]MH_I2C_Read... [16:33:46]Read from MH i2c: F0 [16:33:46]MH_I2C_Read... [16:33:46]Read from MH i2c: F0 09 00 [16:33:46]MH_I2C_Read... [16:33:46]Read from MH i2c: F0 09 00 4D 0C 00 EE 30 15 67 4F CD 9A 65 06 [16:33:46]GetLastDocTimeStamp 1729439556 [16:33:46]current date 1729442030 [16:33:46]FM_GetShiftState [16:33:46]SAM_PROTO_GetShiftState [16:33:46]wFMCommunicate request_size=4 [16:33:46]MH_SAM_APDU [16:33:46]CAPDU: 80 13 01 00 [16:33:46]Write to MH i2c: E2 08 00 4E 0C 80 13 01 00 00 00 00 00 D7 [16:33:46]Write i2c OK [16:33:46]MH_I2C_Read... [16:33:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:33:46]Read from MH i2c: E2 [16:33:46]MH_I2C_Read... [16:33:46]Read from MH i2c: E2 0E 00 [16:33:46]MH_I2C_Read... [16:33:46]Read from MH i2c: E2 0E 00 4E 0C 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 1D [16:33:46]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [16:33:46]wFMCommunicate OK [16:33:46]SAM_PROTO_GetShiftState done [16:33:46]FM_GetShiftState done [16:33:46]opened in 1729384049 [16:33:46]opened+sec_in_day 1729470449 [16:33:46]quantity*price = 15400 [16:33:46]sum+1 = 15401 [16:33:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 154.00 НСП 1% : 1.36 НДС 12% : 16.35 Наличными: 0.00 Безнал.: 154.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 39 20.10.2024 16:33 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965376 ФД: 24881 ФПД: 120875491659090 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T163350&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24881&fm=120875491659090&tin=02508201610067®Number=0000000000098147&sum=15400 0 [16:33:47]StoreToDocumentArchive [16:33:47]shift 455 fd 24881 [16:33:47]save to /storage/0455/doc_00024881 [16:33:47]save last doc name /storage/0455/doc_00024881 to /storage/kkm_last_doc_name [16:33:47]save OK [16:33:47]Clear old archive folders... [16:33:47]ProcessDocumentItem done err = 0, tmpTLVsize=274 [16:33:47]tlvbuf is 00DC55E0 [16:33:47]SAM_PROTO_ClearQueue [16:33:47]wFMCommunicate request_size=4 [16:33:47]MH_SAM_APDU [16:33:47]CAPDU: 80 09 00 00 [16:33:47]Write to MH i2c: E2 08 00 5B 0C 80 09 00 00 00 00 00 00 D9 [16:33:47]Write i2c OK [16:33:47]MH_I2C_Read... [16:33:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:33:47]Read from MH i2c: E2 [16:33:47]MH_I2C_Read... [16:33:47]Read from MH i2c: E2 03 00 [16:33:47]MH_I2C_Read... [16:33:47]Read from MH i2c: E2 03 00 5B 0C 00 90 00 DB [16:33:47]RAPDU: 90 00 [16:33:47]wFMCommunicate OK [16:33:47]SAM_PROTO_ClearQueue done [16:33:47]KKMCreateOFDPacket [16:33:47]OFDProtocolAddRootSTLVToBuf [16:33:47]FM_MakeSignedData [16:33:47]FM_MakeSignedData [16:33:47]SAM_PROTO_SignData [16:33:47]wFMCommunicate request_size=4 [16:33:47]MH_SAM_APDU [16:33:47]CAPDU: 80 0D 01 02 [16:33:47]Write to MH i2c: E2 08 00 5C 0C 80 0D 01 02 00 00 00 00 E1 [16:33:47]Write i2c OK [16:33:47]MH_I2C_Read... [16:33:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:33:47]Read from MH i2c: E2 [16:33:47]MH_I2C_Read... [16:33:47]Read from MH i2c: E2 03 00 [16:33:47]MH_I2C_Read... [16:33:47]Read from MH i2c: E2 03 00 5C 0C 00 90 00 DC [16:33:47]RAPDU: 90 00 [16:33:47]wFMCommunicate OK [16:33:47]wFMCommunicate request_size=255 [16:33:47]MH_SAM_APDU [16:33:47]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 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 00 00 00 00 00 00 39 04 06 00 28 3C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 EE 30 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 [16:33:47]Write to MH i2c: E2 02 01 5D 0C 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 00 00 00 00 00 00 39 04 06 00 28 3C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 EE 30 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 00 00 FB [16:33:47]Write i2c OK [16:33:47]MH_I2C_Read... [16:33:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:33:48]Read from MH i2c: E2 [16:33:48]MH_I2C_Read... [16:33:48]Read from MH i2c: E2 03 00 [16:33:48]MH_I2C_Read... [16:33:48]Read from MH i2c: E2 03 00 5D 0C 00 90 00 DD [16:33:48]RAPDU: 90 00 [16:33:48]wFMCommunicate OK [16:33:48]wFMCommunicate request_size=33 [16:33:48]MH_SAM_APDU [16:33:48]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 33 37 36 10 04 04 00 31 61 00 00 35 04 06 00 6D EF 84 BE 0D 52 [16:33:48]Write to MH i2c: E2 24 00 5E 0C 80 0D 02 02 1C 00 30 30 30 30 39 36 35 33 37 36 10 04 04 00 31 61 00 00 35 04 06 00 6D EF 84 BE 0D 52 00 00 06 [16:33:48]Write i2c OK [16:33:48]MH_I2C_Read... [16:33:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:33:48]Read from MH i2c: E2 [16:33:48]MH_I2C_Read... [16:33:48]Read from MH i2c: E2 03 00 [16:33:48]MH_I2C_Read... [16:33:48]Read from MH i2c: E2 03 00 5E 0C 00 90 00 DE [16:33:48]RAPDU: 90 00 [16:33:48]wFMCommunicate OK [16:33:48]wFMCommunicate request_size=4 [16:33:48]MH_SAM_APDU [16:33:48]CAPDU: 80 0D 03 02 [16:33:48]Write to MH i2c: E2 08 00 5F 0C 80 0D 03 02 00 00 00 00 E6 [16:33:48]Write i2c OK [16:33:48]MH_I2C_Read... [16:33:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:33:48]Read from MH i2c: E2 [16:33:48]MH_I2C_Read... [16:33:48]Read from MH i2c: E2 0B 00 [16:33:48]MH_I2C_Read... [16:33:48]Read from MH i2c: E2 0B 00 5F 0C 00 CA A9 D4 21 C1 F0 4F 87 90 00 D6 [16:33:48]RAPDU: CA A9 D4 21 C1 F0 4F 87 90 00 [16:33:48]wFMCommunicate OK [16:33:48]SAM_PROTO_SignData done [16:33:48]FM_MakeSignedData done [16:33:48]CreateOFDProtocolMessage [16:33:48]wFMCommunicate request_size=4 [16:33:48]MH_SAM_APDU [16:33:48]CAPDU: 80 11 00 00 [16:33:48]Write to MH i2c: E2 08 00 60 0C 80 11 00 00 00 00 00 00 E6 [16:33:48]Write i2c OK [16:33:48]MH_I2C_Read... [16:33:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:33:48]Read from MH i2c: E2 [16:33:48]MH_I2C_Read... [16:33:48]Read from MH i2c: E2 17 00 [16:33:48]MH_I2C_Read... [16:33:48]Read from MH i2c: E2 17 00 60 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 3D [16:33:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [16:33:48]wFMCommunicate OK [16:33:48]CreateOFDProtocolMessage done [16:33:48]OFDSenderStorePacket 24881 [16:33:48]StoreOFDPacket docnum=24881 [16:33:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 26 01 00 00 0E B5 1E 01 DC B8 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 00 00 00 00 00 00 39 04 06 00 28 3C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 EE 30 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 31 61 00 00 35 04 06 00 6D EF 84 BE 0D 52 CA A9 D4 21 C1 F0 4F 87 [16:33:48]CheckFolder [16:33:48]dirname=/storage/ofd_packets [16:33:48]CheckFolder done [16:33:48]ProducePacketName [16:33:48]name=ofd_packets/00024881 [16:33:48]NVStorageSaveData ofd_packets/00024881 [16:33:48]File name is /storage/ofd_packets/00024881 [16:33:48]Write 324 bytes [16:33:48]NVStorageSaveData done [16:33:48]OFDSenderStorePacket done [16:33:48]KKMCreateOFDPacket done [16:33:48]NVStorageSaveData kkm_last_timestamp [16:33:48]File name is /storage/kkm_last_timestamp [16:33:48]Write 4 bytes [16:33:48]NVStorageSaveData done [16:33:48]ExternCall_PrintAddStr [16:33:48]wPrintStart [16:33:48]Write to MH i2c: 01 00 00 61 0C 6D [16:33:48]Write i2c OK [16:33:48]MH_I2C_Read... [16:33:48]Read from MH i2c: 01 [16:33:48]MH_I2C_Read... [16:33:48]Read from MH i2c: 01 07 00 [16:33:48]MH_I2C_Read... [16:33:48]Read from MH i2c: 01 07 00 61 0C 00 00 00 00 00 FF 0F 82 [16:33:48]RasterBufferAndPrint [16:33:48]line Счет N : (3)34641 [16:33:48]line ИНН: 02508201610067 [16:33:48]line Контрольно-Кассовый Чек [16:33:48]line ПРОДАЖА [16:33:48]line Товар: 46230614 [16:33:48]line Сигареты Richmond Red Edition [16:33:48]line 1.000 * 154.00 [16:33:48]line = 154.00 [16:33:48]line НДС 12% НСП 1% [16:33:48]line > о реализуемом товаре [16:33:48]line ИТОГО: 154.00 [16:33:48]line НСП 1% : 1.36 [16:33:48]line НДС 12% : 16.35 [16:33:48]line Наличными: 0.00 [16:33:48]line Безнал.: 154.00 [16:33:48]line Место: АЗС № 161 "Партнер Нефть" [16:33:48]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [16:33:48]line СНО: Общий режим [16:33:48]line Чек 39 20.10.2024 16:33 [16:33:48]line Смена: 455 ФФД: 1.0 [16:33:48]line ЗНМ: 0300000240 [16:33:48]line РНМ: 0000000000098147 [16:33:48]line Версия ККМ: 001 [16:33:48]line Платежная система: Mbank [16:33:48]line ФМ: 0000000000965376 [16:33:48]line ФД: 24881 [16:33:48]line ФПД: 120875491659090 [16:33:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T163350&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24881&fm=120875491659090&tin=02508201610067®Number=0000000000098147&sum=15400 [16:33:48]line 0 [16:33:48]OFD Sender: Processing packet 24881 [packets to send 5, broken 4] [16:33:48]ProducePacketName [16:33:48]name=ofd_packets/00024881 [16:33:48]OFD Sender: To server: pG, [16:33:48]CommunicateWithHost lk.salyk.kg:30040 [16:33:48]ConnectInit lk.salyk.kg [16:33:48]written 0, free lines is 4095 [16:33:48]Connected sock=10 [16:33:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 26 01 00 00 0E B5 1E 01 DC B8 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 00 00 00 00 00 00 39 04 06 00 28 3C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 EE 30 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 31 61 00 00 35 04 06 00 6D EF 84 BE 0D 52 CA A9 D4 21 C1 F0 4F 87 [16:33:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 E8 94 47 00 F1 6B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 31 61 00 00 F4 03 04 00 6E D9 14 67 B6 04 01 00 00 88 E2 47 32 D8 FF FD 50 [16:33:48]CommunicateWithHost err = 0 [16:33:48]CheckOFDResponse [16:33:48]1017 (14) - 77093643461234 [16:33:48]1041 (16) - 0000000000965376 [16:33:48]1040 (4) - 24881 [16:33:48]1012 (4) - 20.10.2024 10:20 [16:33:48]1206 (1) - 0 [16:33:48]OFD Sender: Remove packet 24881 [16:33:48]ProducePacketName [16:33:48]name=ofd_packets/00024881 [16:33:48]NVStorageDeleteData [16:33:49]Write to MH i2c: 01 00 00 8B 0C 97 [16:33:49]Write i2c OK [16:33:49]MH_I2C_Read... [16:33:49]Read from MH i2c: 01 [16:33:49]MH_I2C_Read... [16:33:49]Read from MH i2c: 01 07 00 [16:33:49]MH_I2C_Read... [16:33:49]Read from MH i2c: 01 07 00 8B 0C 00 00 00 00 00 C1 0C 6B [16:33:49]RasterBufferAndPrint [16:33:49]line [16:33:49]line [16:33:49]line [16:33:49]line [16:33:49]line [16:33:49]written 0, free lines is 3271 [16:33:49]process_action close_receipt done [16:33:49]requested_data is exist [16:33:49]produce_requested_data [16:33:49]requested_item fm.sn is exist - process it [16:33:49]wFMCommunicate request_size=4 [16:33:49]MH_SAM_APDU [16:33:49]CAPDU: 80 11 00 00 [16:33:49]Write to MH i2c: E2 08 00 92 0C 80 11 00 00 00 00 00 00 18 [16:33:49]Write i2c OK [16:33:49]MH_I2C_Read... [16:33:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:33:49]Read from MH i2c: E2 [16:33:49]MH_I2C_Read... [16:33:49]Read from MH i2c: E2 17 00 [16:33:49]MH_I2C_Read... [16:33:49]Read from MH i2c: E2 17 00 92 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 6F [16:33:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [16:33:49]wFMCommunicate OK [16:33:49]requested_item fd.num is exist - process it [16:33:49]SAM_PROTO_GetFieldsCounters [16:33:49]wFMCommunicate request_size=4 [16:33:49]MH_SAM_APDU [16:33:49]CAPDU: 80 13 00 00 [16:33:49]Write to MH i2c: E2 08 00 93 0C 80 13 00 00 00 00 00 00 1B [16:33:49]Write i2c OK [16:33:49]MH_I2C_Read... [16:33:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:33:49]Read from MH i2c: E2 [16:33:49]MH_I2C_Read... [16:33:49]Read from MH i2c: E2 62 00 [16:33:49]MH_I2C_Read... [16:33:49]Read from MH i2c: E2 62 00 93 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 31 61 00 00 0E 04 04 00 C7 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 [16:33:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 31 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:33:49]wFMCommunicate OK [16:33:49]SAM_PROTO_GetFieldsCounters done [16:33:49]requested_item shift.num is exist - process it [16:33:49]requested_item shift.opened is exist - process it [16:33:49]req_shift_opened [16:33:49]FM_GetShiftState [16:33:49]SAM_PROTO_GetShiftState [16:33:49]wFMCommunicate request_size=4 [16:33:49]MH_SAM_APDU [16:33:49]CAPDU: 80 13 01 00 [16:33:49]Write to MH i2c: E2 08 00 94 0C 80 13 01 00 00 00 00 00 1D [16:33:49]Write i2c OK [16:33:49]MH_I2C_Read... [16:33:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:33:49]Read from MH i2c: E2 [16:33:49]MH_I2C_Read... [16:33:49]Read from MH i2c: E2 0E 00 [16:33:49]MH_I2C_Read... [16:33:49]Read from MH i2c: E2 0E 00 94 0C 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 63 [16:33:49]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [16:33:49]wFMCommunicate OK [16:33:49]SAM_PROTO_GetShiftState done [16:33:49]FM_GetShiftState done [16:33:49]req_shift_opened done [16:33:49]requested_item shift.open_date is exist - process it [16:33:49]req_shift_open_date [16:33:49]req_shift_open_date done [16:33:49]produce_requested_data done [16:33:49]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24881,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [16:33:49]process_action_free close_receipt [16:33:49]json_value_free [16:33:49]json_value_free done [16:33:49]process_json_proto returns [16:33:49]Send response to host [16:33:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24881,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [16:33:49]free response buf [16:33:49]execute_script done [16:33:49]execute_script returns [16:33:49]free content buf [16:33:49]Sock 9.Close socket [16:33:49]Sock 9.Thread stoped [16:33:49]OFD Sender: No OFD packet to send [16:33:54]OFD Sender: No OFD packet to send [16:33:59]OFD Sender: No OFD packet to send [16:34:04]OFD Sender: No OFD packet to send [16:34:09]OFD Sender: No OFD packet to send [16:34:14]OFD Sender: No OFD packet to send [16:34:19]OFD Sender: No OFD packet to send [16:34:24]OFD Sender: No OFD packet to send [16:34:29]OFD Sender: No OFD packet to send [16:34:34]OFD Sender: No OFD packet to send [16:34:39]OFD Sender: No OFD packet to send [16:34:44]OFD Sender: No OFD packet to send [16:34:49]OFD Sender: No OFD packet to send [16:34:54]int [16:34:54]Write to MH i2c: 01 00 00 95 0C A1 [16:34:54]*** FLAG_PRN_KEY set [16:34:54]Write i2c OK [16:34:54]MH_I2C_Read... [16:34:54]Read from MH i2c: 01 [16:34:54]MH_I2C_Read... [16:34:54]Read from MH i2c: 01 07 00 [16:34:54]MH_I2C_Read... [16:34:54]Read from MH i2c: 01 07 00 95 0C 00 08 00 00 00 FF 0F BE [16:34:54]state=0 [16:34:54]Key pressed [16:34:54]Feed [16:34:54]Write to MH i2c: D8 00 00 96 0C 79 [16:34:54]Write i2c OK [16:34:54]MH_I2C_Read... [16:34:54]Read from MH i2c: D8 [16:34:54]MH_I2C_Read... [16:34:54]Read from MH i2c: D8 01 00 [16:34:54]MH_I2C_Read... [16:34:54]Read from MH i2c: D8 01 00 96 0C 00 7A [16:34:54]int [16:34:54]Write to MH i2c: 01 00 00 97 0C A3 [16:34:54]Write i2c OK [16:34:54]MH_I2C_Read... [16:34:54]Read from MH i2c: 01 [16:34:54]MH_I2C_Read... [16:34:54]Read from MH i2c: 01 07 00 [16:34:54]MH_I2C_Read... [16:34:54]Read from MH i2c: 01 07 00 97 0C 00 48 00 00 00 3D 00 2F [16:34:54]state=2 [16:34:54]Key pressed [16:34:54]OFD Sender: No OFD packet to send [16:34:54]int [16:34:54]Write to MH i2c: 01 00 00 98 0C A4 [16:34:54]*** FLAG_PRN_KEY reset [16:34:54]Write i2c OK [16:34:54]MH_I2C_Read... [16:34:54]Read from MH i2c: 01 [16:34:54]MH_I2C_Read... [16:34:54]Read from MH i2c: 01 07 00 [16:34:54]MH_I2C_Read... [16:34:54]Read from MH i2c: 01 07 00 98 0C 00 00 00 00 00 F6 0F B0 [16:34:54]state=2 [16:34:54]Stop feed [16:34:59]OFD Sender: No OFD packet to send [16:35:04]OFD Sender: No OFD packet to send [16:35:09]OFD Sender: No OFD packet to send [16:35:14]OFD Sender: No OFD packet to send [16:35:19]OFD Sender: No OFD packet to send [16:35:24]OFD Sender: No OFD packet to send [16:35:29]OFD Sender: No OFD packet to send [16:35:34]OFD Sender: No OFD packet to send [16:35:39]OFD Sender: No OFD packet to send [16:35:44]OFD Sender: No OFD packet to send [16:35:49]OFD Sender: No OFD packet to send [16:35:54]OFD Sender: No OFD packet to send [16:35:59]OFD Sender: No OFD packet to send [16:36:04]OFD Sender: No OFD packet to send [16:36:09]OFD Sender: No OFD packet to send [16:36:14]OFD Sender: No OFD packet to send [16:36:19]OFD Sender: No OFD packet to send [16:36:24]OFD Sender: No OFD packet to send [16:36:29]OFD Sender: No OFD packet to send [16:36:34]OFD Sender: No OFD packet to send [16:36:39]OFD Sender: No OFD packet to send [16:36:44]OFD Sender: No OFD packet to send [16:36:49]OFD Sender: No OFD packet to send [16:36:54]OFD Sender: No OFD packet to send [16:36:59]OFD Sender: No OFD packet to send [16:37:04]OFD Sender: No OFD packet to send [16:37:09]OFD Sender: No OFD packet to send [16:37:14]OFD Sender: No OFD packet to send [16:37:19]OFD Sender: No OFD packet to send [16:37:24]OFD Sender: No OFD packet to send [16:37:29]OFD Sender: No OFD packet to send [16:37:34]OFD Sender: No OFD packet to send [16:37:39]OFD Sender: No OFD packet to send [16:37:44]OFD Sender: No OFD packet to send [16:37:49]OFD Sender: No OFD packet to send [16:37:54]OFD Sender: No OFD packet to send [16:37:59]OFD Sender: No OFD packet to send [16:38:04]OFD Sender: No OFD packet to send [16:38:09]OFD Sender: No OFD packet to send [16:38:14]OFD Sender: No OFD packet to send [16:38:19]OFD Sender: No OFD packet to send [16:38:24]OFD Sender: No OFD packet to send [16:38:29]OFD Sender: No OFD packet to send [16:38:34]OFD Sender: No OFD packet to send [16:38:39]OFD Sender: No OFD packet to send [16:38:44]OFD Sender: No OFD packet to send [16:38:49]OFD Sender: No OFD packet to send [16:38:54]OFD Sender: No OFD packet to send [16:38:59]OFD Sender: No OFD packet to send [16:39:04]OFD Sender: No OFD packet to send [16:39:09]OFD Sender: No OFD packet to send [16:39:14]OFD Sender: No OFD packet to send [16:39:19]OFD Sender: No OFD packet to send [16:39:24]OFD Sender: No OFD packet to send [16:39:29]OFD Sender: No OFD packet to send [16:39:34]OFD Sender: No OFD packet to send [16:39:39]OFD Sender: No OFD packet to send [16:39:44]OFD Sender: No OFD packet to send [16:39:49]OFD Sender: No OFD packet to send [16:39:54]OFD Sender: No OFD packet to send [16:39:59]OFD Sender: No OFD packet to send [16:40:04]OFD Sender: No OFD packet to send [16:40:09]OFD Sender: No OFD packet to send [16:40:14]OFD Sender: No OFD packet to send [16:40:19]OFD Sender: No OFD packet to send [16:40:24]OFD Sender: No OFD packet to send [16:40:29]OFD Sender: No OFD packet to send [16:40:34]OFD Sender: No OFD packet to send [16:40:39]OFD Sender: No OFD packet to send [16:40:44]OFD Sender: No OFD packet to send [16:40:49]OFD Sender: No OFD packet to send [16:40:54]OFD Sender: No OFD packet to send [16:40:59]OFD Sender: No OFD packet to send [16:41:04]OFD Sender: No OFD packet to send [16:41:09]OFD Sender: No OFD packet to send [16:41:14]OFD Sender: No OFD packet to send [16:41:19]OFD Sender: No OFD packet to send [16:41:24]OFD Sender: No OFD packet to send [16:41:29]OFD Sender: No OFD packet to send [16:41:34]OFD Sender: No OFD packet to send [16:41:39]OFD Sender: No OFD packet to send [16:41:44]OFD Sender: No OFD packet to send [16:41:49]OFD Sender: No OFD packet to send [16:41:54]OFD Sender: No OFD packet to send [16:41:59]OFD Sender: No OFD packet to send [16:42:04]OFD Sender: No OFD packet to send [16:42:09]OFD Sender: No OFD packet to send [16:42:14]OFD Sender: No OFD packet to send [16:42:19]OFD Sender: No OFD packet to send [16:42:24]OFD Sender: No OFD packet to send [16:42:29]OFD Sender: No OFD packet to send [16:42:34]OFD Sender: No OFD packet to send [16:42:39]OFD Sender: No OFD packet to send [16:42:44]OFD Sender: No OFD packet to send [16:42:49]OFD Sender: No OFD packet to send [16:42:54]OFD Sender: No OFD packet to send [16:42:59]OFD Sender: No OFD packet to send [16:43:04]OFD Sender: No OFD packet to send [16:43:09]OFD Sender: No OFD packet to send [16:43:14]OFD Sender: No OFD packet to send [16:43:19]OFD Sender: No OFD packet to send [16:43:24]OFD Sender: No OFD packet to send [16:43:29]OFD Sender: No OFD packet to send [16:43:34]OFD Sender: No OFD packet to send [16:43:39]OFD Sender: No OFD packet to send [16:43:44]OFD Sender: No OFD packet to send [16:43:49]OFD Sender: No OFD packet to send [16:43:54]OFD Sender: No OFD packet to send [16:43:59]OFD Sender: No OFD packet to send [16:44:04]OFD Sender: No OFD packet to send [16:44:09]OFD Sender: No OFD packet to send [16:44:14]OFD Sender: No OFD packet to send [16:44:19]OFD Sender: No OFD packet to send [16:44:24]OFD Sender: No OFD packet to send [16:44:29]OFD Sender: No OFD packet to send [16:44:34]OFD Sender: No OFD packet to send [16:44:39]OFD Sender: No OFD packet to send [16:44:44]OFD Sender: No OFD packet to send [16:44:49]OFD Sender: No OFD packet to send [16:44:54]OFD Sender: No OFD packet to send [16:44:59]OFD Sender: No OFD packet to send [16:45:04]OFD Sender: No OFD packet to send [16:45:09]OFD Sender: No OFD packet to send [16:45:14]OFD Sender: No OFD packet to send [16:45:19]OFD Sender: No OFD packet to send [16:45:24]OFD Sender: No OFD packet to send [16:45:29]OFD Sender: No OFD packet to send [16:45:34]OFD Sender: No OFD packet to send [16:45:39]OFD Sender: No OFD packet to send [16:45:44]OFD Sender: No OFD packet to send [16:45:49]OFD Sender: No OFD packet to send [16:45:54]OFD Sender: No OFD packet to send [16:45:59]OFD Sender: No OFD packet to send [16:46:04]OFD Sender: No OFD packet to send [16:46:09]OFD Sender: No OFD packet to send [16:46:14]OFD Sender: No OFD packet to send [16:46:19]OFD Sender: No OFD packet to send [16:46:24]OFD Sender: No OFD packet to send [16:46:29]OFD Sender: No OFD packet to send [16:46:34]OFD Sender: No OFD packet to send [16:46: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:00]accept exits with 7 [16:52:00]New connection [16:52:00]New thread 3067166052 created [16:52:00]Thread 3067309412 joined [16:52:00]Waiting for new connection... [16:52:00] Sock 7.Parse request [16:52:00]Sock 7.Check first char [16:52:00]Sock 7.First char is OK [16:52:00]request: POST /json_proto HTTP/1.0 [16:52:00]Method: POST [16:52:00]URL: /json_proto [16:52:00]Method is POST - this is cgi request [16:52:00]url: /json_proto [16:52:00]query_string will be loaded in cgi processing [16:52:00]execute_cgi json_proto POST (null) [16:52:00]execute_cgi path=json_proto method=POST [16:52:00]POST find Content-Length [16:52:00]Host: 172.17.53.196:8080 [16:52:00]Content-Length: 622 [16:52:00]Content-Type: application/json [16:52:00] [16:52:00]POST finish read [16:52:00]Found Content-Length = 622 [16:52:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34642", "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" ] } } [16:52:00]execute_script... [16:52:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34642", "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" ] } } [16:52:00]POST & json_proto [16:52:00]process_json_proto [16:52:00]json parsed OK: [16:52:00]protocol is kg_v1.0 [16:52:00]action value=close_receipt [16:52:00]process_action close_receipt [16:52:00]cmd_close_receipt [16:52:00]MH_GetDate [16:52:00]Write to MH i2c: F0 00 00 99 0C 94 [16:52:00]Write i2c OK [16:52:00]MH_I2C_Read... [16:52:00]Read from MH i2c: F0 [16:52:00]MH_I2C_Read... [16:52:00]Read from MH i2c: F0 09 00 [16:52:00]MH_I2C_Read... [16:52:00]Read from MH i2c: F0 09 00 99 0C 00 34 35 15 67 4F CD 9A 65 9D [16:52:00]GetLastDocTimeStamp 1729442030 [16:52:00]current date 1729443124 [16:52:00]FM_GetShiftState [16:52:00]SAM_PROTO_GetShiftState [16:52:00]wFMCommunicate request_size=4 [16:52:00]MH_SAM_APDU [16:52:00]CAPDU: 80 13 01 00 [16:52:00]Write to MH i2c: E2 08 00 9A 0C 80 13 01 00 00 00 00 00 23 [16:52:00]Write i2c OK [16:52:00]MH_I2C_Read... [16:52:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:52:00]Read from MH i2c: E2 [16:52:00]MH_I2C_Read... [16:52:00]Read from MH i2c: E2 0E 00 [16:52:00]MH_I2C_Read... [16:52:00]Read from MH i2c: E2 0E 00 9A 0C 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 69 [16:52:00]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [16:52:00]wFMCommunicate OK [16:52:00]SAM_PROTO_GetShiftState done [16:52:00]FM_GetShiftState done [16:52:00]opened in 1729384049 [16:52:00]opened+sec_in_day 1729470449 [16:52:00]quantity*price = 14400 [16:52:00]sum+1 = 14401 [16:52:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 40 20.10.2024 16:52 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24882 ФПД: 84113182440617 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T165204&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24882&fm=84113182440617&tin=02508201610067®Number=0000000000098147&sum=14400 0 [16:52:01]StoreToDocumentArchive [16:52:01]shift 455 fd 24882 [16:52:01]save to /storage/0455/doc_00024882 [16:52:01]save last doc name /storage/0455/doc_00024882 to /storage/kkm_last_doc_name [16:52:01]save OK [16:52:01]Clear old archive folders... [16:52:01]ProcessDocumentItem done err = 0, tmpTLVsize=275 [16:52:01]tlvbuf is 00DF9970 [16:52:01]SAM_PROTO_ClearQueue [16:52:01]wFMCommunicate request_size=4 [16:52:01]MH_SAM_APDU [16:52:01]CAPDU: 80 09 00 00 [16:52:01]Write to MH i2c: E2 08 00 A7 0C 80 09 00 00 00 00 00 00 25 [16:52:01]Write i2c OK [16:52:01]MH_I2C_Read... [16:52:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:52:01]Read from MH i2c: E2 [16:52:01]MH_I2C_Read... [16:52:01]Read from MH i2c: E2 03 00 [16:52:01]MH_I2C_Read... [16:52:01]Read from MH i2c: E2 03 00 A7 0C 00 90 00 27 [16:52:01]RAPDU: 90 00 [16:52:01]wFMCommunicate OK [16:52:01]SAM_PROTO_ClearQueue done [16:52:01]KKMCreateOFDPacket [16:52:01]OFDProtocolAddRootSTLVToBuf [16:52:01]FM_MakeSignedData [16:52:01]FM_MakeSignedData [16:52:01]SAM_PROTO_SignData [16:52:01]wFMCommunicate request_size=4 [16:52:01]MH_SAM_APDU [16:52:01]CAPDU: 80 0D 01 02 [16:52:01]Write to MH i2c: E2 08 00 A8 0C 80 0D 01 02 00 00 00 00 2D [16:52:01]Write i2c OK [16:52:01]MH_I2C_Read... [16:52:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:52:01]Read from MH i2c: E2 [16:52:01]MH_I2C_Read... [16:52:01]Read from MH i2c: E2 03 00 [16:52:01]MH_I2C_Read... [16:52:01]Read from MH i2c: E2 03 00 A8 0C 00 90 00 28 [16:52:01]RAPDU: 90 00 [16:52:01]wFMCommunicate OK [16:52:01]wFMCommunicate request_size=255 [16:52:01]MH_SAM_APDU [16:52:01]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 28 00 00 00 F4 03 04 00 34 35 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 [16:52:01]Write to MH i2c: E2 02 01 A9 0C 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 28 00 00 00 F4 03 04 00 34 35 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 00 00 0B [16:52:01]Write i2c OK [16:52:01]MH_I2C_Read... [16:52:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:52:01]Read from MH i2c: E2 [16:52:01]MH_I2C_Read... [16:52:01]Read from MH i2c: E2 03 00 [16:52:01]MH_I2C_Read... [16:52:01]Read from MH i2c: E2 03 00 A9 0C 00 90 00 29 [16:52:01]RAPDU: 90 00 [16:52:01]wFMCommunicate OK [16:52:01]wFMCommunicate request_size=34 [16:52:01]MH_SAM_APDU [16:52:01]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 32 61 00 00 35 04 06 00 4C 80 20 5C 3C A9 [16:52:01]Write to MH i2c: E2 25 00 AA 0C 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 32 61 00 00 35 04 06 00 4C 80 20 5C 3C A9 00 00 B5 [16:52:01]Write i2c OK [16:52:01]MH_I2C_Read... [16:52:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:52:01]Read from MH i2c: E2 [16:52:01]MH_I2C_Read... [16:52:01]Read from MH i2c: E2 03 00 [16:52:01]MH_I2C_Read... [16:52:01]Read from MH i2c: E2 03 00 AA 0C 00 90 00 2A [16:52:01]RAPDU: 90 00 [16:52:01]wFMCommunicate OK [16:52:01]wFMCommunicate request_size=4 [16:52:01]MH_SAM_APDU [16:52:01]CAPDU: 80 0D 03 02 [16:52:01]Write to MH i2c: E2 08 00 AB 0C 80 0D 03 02 00 00 00 00 32 [16:52:01]Write i2c OK [16:52:01]MH_I2C_Read... [16:52:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:52:01]Read from MH i2c: E2 [16:52:01]MH_I2C_Read... [16:52:01]Read from MH i2c: E2 0B 00 [16:52:01]MH_I2C_Read... [16:52:01]Read from MH i2c: E2 0B 00 AB 0C 00 F5 C0 34 63 D8 03 65 8A 90 00 49 [16:52:01]RAPDU: F5 C0 34 63 D8 03 65 8A 90 00 [16:52:01]wFMCommunicate OK [16:52:01]SAM_PROTO_SignData done [16:52:01]FM_MakeSignedData done [16:52:01]CreateOFDProtocolMessage [16:52:01]wFMCommunicate request_size=4 [16:52:01]MH_SAM_APDU [16:52:01]CAPDU: 80 11 00 00 [16:52:01]Write to MH i2c: E2 08 00 AC 0C 80 11 00 00 00 00 00 00 32 [16:52:01]Write i2c OK [16:52:01]MH_I2C_Read... [16:52:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:52:01]Read from MH i2c: E2 [16:52:02]MH_I2C_Read... [16:52:02]Read from MH i2c: E2 17 00 [16:52:02]MH_I2C_Read... [16:52:02]Read from MH i2c: E2 17 00 AC 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 89 [16:52:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [16:52:02]wFMCommunicate OK [16:52:02]CreateOFDProtocolMessage done [16:52:02]OFDSenderStorePacket 24882 [16:52:02]StoreOFDPacket docnum=24882 [16:52:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 80 44 1F 01 C7 1A 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 28 00 00 00 F4 03 04 00 34 35 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 32 61 00 00 35 04 06 00 4C 80 20 5C 3C A9 F5 C0 34 63 D8 03 65 8A [16:52:02]CheckFolder [16:52:02]dirname=/storage/ofd_packets [16:52:02]CheckFolder done [16:52:02]ProducePacketName [16:52:02]name=ofd_packets/00024882 [16:52:02]NVStorageSaveData ofd_packets/00024882 [16:52:02]File name is /storage/ofd_packets/00024882 [16:52:02]Write 325 bytes [16:52:02]NVStorageSaveData done [16:52:02]OFDSenderStorePacket done [16:52:02]KKMCreateOFDPacket done [16:52:02]NVStorageSaveData kkm_last_timestamp [16:52:02]File name is /storage/kkm_last_timestamp [16:52:02]Write 4 bytes [16:52:02]NVStorageSaveData done [16:52:02]ExternCall_PrintAddStr [16:52:02]wPrintStart [16:52:02]Write to MH i2c: 01 00 00 AD 0C B9 [16:52:02]Write i2c OK [16:52:02]MH_I2C_Read... [16:52:02]Read from MH i2c: 01 [16:52:02]MH_I2C_Read... [16:52:02]Read from MH i2c: 01 07 00 [16:52:02]MH_I2C_Read... [16:52:02]Read from MH i2c: 01 07 00 AD 0C 00 00 00 00 00 FF 0F CE [16:52:02]RasterBufferAndPrint [16:52:02]line Счет N : (3)34642 [16:52:02]line ИНН: 02508201610067 [16:52:02]line Контрольно-Кассовый Чек [16:52:02]line ПРОДАЖА [16:52:02]line Товар: 48743587 [16:52:02]line Сигареты Winston XStyle Silver [16:52:02]line 1.000 * 144.00 [16:52:02]line = 144.00 [16:52:02]line НДС 12% НСП 1% [16:52:02]line > о реализуемом товаре [16:52:02]line ИТОГО: 144.00 [16:52:02]line НСП 1% : 1.27 [16:52:02]line НДС 12% : 15.29 [16:52:02]line Наличными: 144.00 [16:52:02]line Безнал.: 0.00 [16:52:02]line Место: АЗС № 161 "Партнер Нефть" [16:52:02]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [16:52:02]line СНО: Общий режим [16:52:02]line Чек 40 20.10.2024 16:52 [16:52:02]line Смена: 455 ФФД: 1.0 [16:52:02]line ЗНМ: 0300000240 [16:52:02]line РНМ: 0000000000098147 [16:52:02]line Версия ККМ: 001 [16:52:02]line ФМ: 0000000000965376 [16:52:02]line ФД: 24882 [16:52:02]line ФПД: 84113182440617 [16:52:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T165204&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24882&fm=84113182440617&tin=02508201610067®Number=0000000000098147&sum=14400 [16:52:02]line 0 [16:52:02]OFD Sender: Processing packet 24882 [packets to send 5, broken 4] [16:52:02]ProducePacketName [16:52:02]name=ofd_packets/00024882 [16:52:02]OFD Sender: To server: pG, [16:52:02]CommunicateWithHost lk.salyk.kg:30040 [16:52:02]ConnectInit lk.salyk.kg [16:52:02]written 0, free lines is 4095 [16:52:02]Write to MH i2c: 01 00 00 D6 0C E2 [16:52:02]Write i2c OK [16:52:02]MH_I2C_Read... [16:52:02]Read from MH i2c: 01 [16:52:02]MH_I2C_Read... [16:52:02]Read from MH i2c: 01 07 00 [16:52:02]MH_I2C_Read... [16:52:02]Read from MH i2c: 01 07 00 D6 0C 00 00 00 00 00 BC 0C B1 [16:52:02]RasterBufferAndPrint [16:52:02]line [16:52:02]line [16:52:02]line [16:52:02]line [16:52:02]line [16:52:02]written 0, free lines is 3264 [16:52:02]process_action close_receipt done [16:52:02]requested_data is exist [16:52:02]produce_requested_data [16:52:02]requested_item fm.sn is exist - process it [16:52:02]wFMCommunicate request_size=4 [16:52:02]MH_SAM_APDU [16:52:02]CAPDU: 80 11 00 00 [16:52:02]Write to MH i2c: E2 08 00 DD 0C 80 11 00 00 00 00 00 00 63 [16:52:02]Write i2c OK [16:52:02]MH_I2C_Read... [16:52:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:52:02]Read from MH i2c: E2 [16:52:02]MH_I2C_Read... [16:52:02]Read from MH i2c: E2 17 00 [16:52:02]MH_I2C_Read... [16:52:02]Read from MH i2c: E2 17 00 DD 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 BA [16:52:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [16:52:02]wFMCommunicate OK [16:52:02]requested_item fd.num is exist - process it [16:52:02]SAM_PROTO_GetFieldsCounters [16:52:02]wFMCommunicate request_size=4 [16:52:02]MH_SAM_APDU [16:52:02]CAPDU: 80 13 00 00 [16:52:02]Write to MH i2c: E2 08 00 DE 0C 80 13 00 00 00 00 00 00 66 [16:52:02]Write i2c OK [16:52:02]MH_I2C_Read... [16:52:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:52:02]Read from MH i2c: E2 [16:52:02]MH_I2C_Read... [16:52:02]Read from MH i2c: E2 62 00 [16:52:02]MH_I2C_Read... [16:52:02]Read from MH i2c: E2 62 00 DE 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 32 61 00 00 0E 04 04 00 C7 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 62 [16:52:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 32 61 00 00 0E 04 04 00 C7 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 [16:52:02]wFMCommunicate OK [16:52:02]SAM_PROTO_GetFieldsCounters done [16:52:02]requested_item shift.num is exist - process it [16:52:02]requested_item shift.opened is exist - process it [16:52:02]req_shift_opened [16:52:02]FM_GetShiftState [16:52:02]SAM_PROTO_GetShiftState [16:52:02]wFMCommunicate request_size=4 [16:52:02]MH_SAM_APDU [16:52:02]CAPDU: 80 13 01 00 [16:52:02]Write to MH i2c: E2 08 00 DF 0C 80 13 01 00 00 00 00 00 68 [16:52:02]Write i2c OK [16:52:02]MH_I2C_Read... [16:52:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:52:03]Read from MH i2c: E2 [16:52:03]MH_I2C_Read... [16:52:03]Read from MH i2c: E2 0E 00 [16:52:03]MH_I2C_Read... [16:52:03]Read from MH i2c: E2 0E 00 DF 0C 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 AE [16:52:03]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [16:52:03]wFMCommunicate OK [16:52:03]SAM_PROTO_GetShiftState done [16:52:03]FM_GetShiftState done [16:52:03]req_shift_opened done [16:52:03]requested_item shift.open_date is exist - process it [16:52:03]req_shift_open_date [16:52:03]req_shift_open_date done [16:52:03]produce_requested_data done [16:52:03]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24882,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [16:52:03]process_action_free close_receipt [16:52:03]json_value_free [16:52:03]json_value_free done [16:52:03]process_json_proto returns [16:52:03]Send response to host [16:52:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24882,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [16:52:03]free response buf [16:52:03]execute_script done [16:52:03]execute_script returns [16:52:03]free content buf [16:52:03]Sock 7.Close socket [16:52:03]Sock 7.Thread stoped [16:54:15]ConnectInit Can't connect to host [16:54:15]CommunicateWithHost connect error [16:54:15]CommunicateWithHost err = -1 [16:54:15]OFD Sender: Server communicate error [16:54:20]OFD Sender: Processing packet 24882 [packets to send 5, broken 4] [16:54:20]ProducePacketName [16:54:20]name=ofd_packets/00024882 [16:54:20]OFD Sender: To server: pG, [16:54:20]CommunicateWithHost lk.salyk.kg:30040 [16:54:20]ConnectInit lk.salyk.kg [16:54:20]Connected sock=7 [16:54: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 33 37 36 27 01 00 00 80 44 1F 01 C7 1A 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 28 00 00 00 F4 03 04 00 34 35 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 32 61 00 00 35 04 06 00 4C 80 20 5C 3C A9 F5 C0 34 63 D8 03 65 8A [16:54:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 83 B4 47 00 BE AA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 32 61 00 00 F4 03 04 00 3D DE 14 67 B6 04 01 00 00 05 6A 0C CB 1D 42 23 15 [16:54:20]CommunicateWithHost err = 0 [16:54:20]CheckOFDResponse [16:54:20]1017 (14) - 77093643461234 [16:54:20]1041 (16) - 0000000000965376 [16:54:20]1040 (4) - 24882 [16:54:20]1012 (4) - 20.10.2024 10:41 [16:54:20]1206 (1) - 0 [16:54:20]OFD Sender: Remove packet 24882 [16:54:20]ProducePacketName [16:54:20]name=ofd_packets/00024882 [16:54:20]NVStorageDeleteData [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:19]accept exits with 9 [17:02:19]New connection [17:02:19]New thread 3067309412 created [17:02:19]Thread 3067166052 joined [17:02:19]Waiting for new connection... [17:02:19] Sock 9.Parse request [17:02:19]Sock 9.Check first char [17:02:19]Sock 9.First char is OK [17:02:19]request: POST /json_proto HTTP/1.0 [17:02:19]Method: POST [17:02:19]URL: /json_proto [17:02:19]Method is POST - this is cgi request [17:02:19]url: /json_proto [17:02:19]query_string will be loaded in cgi processing [17:02:19]execute_cgi json_proto POST (null) [17:02:19]execute_cgi path=json_proto method=POST [17:02:19]POST find Content-Length [17:02:19]Host: 172.17.53.196:8080 [17:02:19]Content-Length: 625 [17:02:19]Content-Type: application/json [17:02:19] [17:02:19]POST finish read [17:02:19]Found Content-Length = 625 [17:02:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34643", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 3.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 30.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:02:19]execute_script... [17:02: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)34643", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 3.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 30.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:02:19]POST & json_proto [17:02:19]process_json_proto [17:02:19]json parsed OK: [17:02:19]protocol is kg_v1.0 [17:02:19]action value=close_receipt [17:02:19]process_action close_receipt [17:02:19]cmd_close_receipt [17:02:19]MH_GetDate [17:02:19]Write to MH i2c: F0 00 00 E0 0C DB [17:02:19]Write i2c OK [17:02:19]MH_I2C_Read... [17:02:19]Read from MH i2c: F0 [17:02:19]MH_I2C_Read... [17:02:19]Read from MH i2c: F0 09 00 [17:02:19]MH_I2C_Read... [17:02:19]Read from MH i2c: F0 09 00 E0 0C 00 9F 37 15 67 4F CD 9A 65 51 [17:02:19]GetLastDocTimeStamp 1729443124 [17:02:19]current date 1729443743 [17:02:19]FM_GetShiftState [17:02:19]SAM_PROTO_GetShiftState [17:02:19]wFMCommunicate request_size=4 [17:02:19]MH_SAM_APDU [17:02:19]CAPDU: 80 13 01 00 [17:02:19]Write to MH i2c: E2 08 00 E1 0C 80 13 01 00 00 00 00 00 6A [17:02:19]Write i2c OK [17:02:19]MH_I2C_Read... [17:02:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:02:19]Read from MH i2c: E2 [17:02:19]MH_I2C_Read... [17:02:19]Read from MH i2c: E2 0E 00 [17:02:19]MH_I2C_Read... [17:02:19]Read from MH i2c: E2 0E 00 E1 0C 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 B0 [17:02:19]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [17:02:19]wFMCommunicate OK [17:02:19]SAM_PROTO_GetShiftState done [17:02:19]FM_GetShiftState done [17:02:19]opened in 1729384049 [17:02:19]opened+sec_in_day 1729470449 [17:02:19]quantity*price = 3000 [17:02:19]sum+1 = 3001 [17:02:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 30.00 НСП 1% : 0.26 НДС 12% : 3.19 Наличными: 30.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 41 20.10.2024 17:02 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24883 ФПД: 168752143049236 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T170223&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24883&fm=168752143049236&tin=02508201610067®Number=0000000000098147&sum=3000 0 [17:02:20]StoreToDocumentArchive [17:02:20]shift 455 fd 24883 [17:02:20]save to /storage/0455/doc_00024883 [17:02:20]save last doc name /storage/0455/doc_00024883 to /storage/kkm_last_doc_name [17:02:20]save OK [17:02:20]Clear old archive folders... [17:02:20]ProcessDocumentItem done err = 0, tmpTLVsize=273 [17:02:20]tlvbuf is 00DA8C30 [17:02:20]SAM_PROTO_ClearQueue [17:02:20]wFMCommunicate request_size=4 [17:02:20]MH_SAM_APDU [17:02:20]CAPDU: 80 09 00 00 [17:02:20]Write to MH i2c: E2 08 00 EE 0C 80 09 00 00 00 00 00 00 6C [17:02:20]Write i2c OK [17:02:20]MH_I2C_Read... [17:02:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:02:20]Read from MH i2c: E2 [17:02:20]MH_I2C_Read... [17:02:20]Read from MH i2c: E2 03 00 [17:02:20]MH_I2C_Read... [17:02:20]Read from MH i2c: E2 03 00 EE 0C 00 90 00 6E [17:02:20]RAPDU: 90 00 [17:02:20]wFMCommunicate OK [17:02:20]SAM_PROTO_ClearQueue done [17:02:20]KKMCreateOFDPacket [17:02:20]OFDProtocolAddRootSTLVToBuf [17:02:20]FM_MakeSignedData [17:02:20]FM_MakeSignedData [17:02:20]SAM_PROTO_SignData [17:02:20]wFMCommunicate request_size=4 [17:02:20]MH_SAM_APDU [17:02:20]CAPDU: 80 0D 01 02 [17:02:20]Write to MH i2c: E2 08 00 EF 0C 80 0D 01 02 00 00 00 00 74 [17:02:20]Write i2c OK [17:02:20]MH_I2C_Read... [17:02:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:02:20]Read from MH i2c: E2 [17:02:20]MH_I2C_Read... [17:02:20]Read from MH i2c: E2 03 00 [17:02:20]MH_I2C_Read... [17:02:20]Read from MH i2c: E2 03 00 EF 0C 00 90 00 6F [17:02:20]RAPDU: 90 00 [17:02:20]wFMCommunicate OK [17:02:20]wFMCommunicate request_size=255 [17:02:20]MH_SAM_APDU [17:02: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 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 E8 03 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 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 9F 37 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 [17:02:20]Write to MH i2c: E2 02 01 F0 0C 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 E8 03 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 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 9F 37 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 00 00 41 [17:02:20]Write i2c OK [17:02:20]MH_I2C_Read... [17:02:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:02:20]Read from MH i2c: E2 [17:02:20]MH_I2C_Read... [17:02:20]Read from MH i2c: E2 03 00 [17:02:20]MH_I2C_Read... [17:02:20]Read from MH i2c: E2 03 00 F0 0C 00 90 00 70 [17:02:20]RAPDU: 90 00 [17:02:20]wFMCommunicate OK [17:02:20]wFMCommunicate request_size=32 [17:02:20]MH_SAM_APDU [17:02:20]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 36 10 04 04 00 33 61 00 00 35 04 06 00 99 7A AB 8A A2 14 [17:02:20]Write to MH i2c: E2 23 00 F1 0C 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 36 10 04 04 00 33 61 00 00 35 04 06 00 99 7A AB 8A A2 14 00 00 6A [17:02:20]Write i2c OK [17:02:20]MH_I2C_Read... [17:02:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:02:20]Read from MH i2c: E2 [17:02:20]MH_I2C_Read... [17:02:20]Read from MH i2c: E2 03 00 [17:02:20]MH_I2C_Read... [17:02:20]Read from MH i2c: E2 03 00 F1 0C 00 90 00 71 [17:02:20]RAPDU: 90 00 [17:02:20]wFMCommunicate OK [17:02:20]wFMCommunicate request_size=4 [17:02:20]MH_SAM_APDU [17:02:20]CAPDU: 80 0D 03 02 [17:02:20]Write to MH i2c: E2 08 00 F2 0C 80 0D 03 02 00 00 00 00 79 [17:02:20]Write i2c OK [17:02:20]MH_I2C_Read... [17:02:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:02:21]Read from MH i2c: E2 [17:02:21]MH_I2C_Read... [17:02:21]Read from MH i2c: E2 0B 00 [17:02:21]MH_I2C_Read... [17:02:21]Read from MH i2c: E2 0B 00 F2 0C 00 11 F2 A7 05 83 63 23 C5 90 00 F7 [17:02:21]RAPDU: 11 F2 A7 05 83 63 23 C5 90 00 [17:02:21]wFMCommunicate OK [17:02:21]SAM_PROTO_SignData done [17:02:21]FM_MakeSignedData done [17:02:21]CreateOFDProtocolMessage [17:02:21]wFMCommunicate request_size=4 [17:02:21]MH_SAM_APDU [17:02:21]CAPDU: 80 11 00 00 [17:02:21]Write to MH i2c: E2 08 00 F3 0C 80 11 00 00 00 00 00 00 79 [17:02:21]Write i2c OK [17:02:21]MH_I2C_Read... [17:02:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:02:21]Read from MH i2c: E2 [17:02:21]MH_I2C_Read... [17:02:21]Read from MH i2c: E2 17 00 [17:02:21]MH_I2C_Read... [17:02:21]Read from MH i2c: E2 17 00 F3 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 D0 [17:02:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [17:02:21]wFMCommunicate OK [17:02:21]CreateOFDProtocolMessage done [17:02:21]OFDSenderStorePacket 24883 [17:02:21]StoreOFDPacket docnum=24883 [17:02:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 4B 2E 1D 01 FC 30 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 E8 03 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 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 9F 37 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 33 61 00 00 35 04 06 00 99 7A AB 8A A2 14 11 F2 A7 05 83 63 23 C5 [17:02:21]CheckFolder [17:02:21]dirname=/storage/ofd_packets [17:02:21]CheckFolder done [17:02:21]ProducePacketName [17:02:21]name=ofd_packets/00024883 [17:02:21]NVStorageSaveData ofd_packets/00024883 [17:02:21]File name is /storage/ofd_packets/00024883 [17:02:21]Write 323 bytes [17:02:21]NVStorageSaveData done [17:02:21]OFDSenderStorePacket done [17:02:21]KKMCreateOFDPacket done [17:02:21]NVStorageSaveData kkm_last_timestamp [17:02:21]File name is /storage/kkm_last_timestamp [17:02:21]Write 4 bytes [17:02:21]NVStorageSaveData done [17:02:21]ExternCall_PrintAddStr [17:02:21]wPrintStart [17:02:21]Write to MH i2c: 01 00 00 F4 0C 00 [17:02:21]Write i2c OK [17:02:21]MH_I2C_Read... [17:02:21]Read from MH i2c: 01 [17:02:21]MH_I2C_Read... [17:02:21]Read from MH i2c: 01 07 00 [17:02:21]MH_I2C_Read... [17:02:21]Read from MH i2c: 01 07 00 F4 0C 00 00 00 00 00 FF 0F 15 [17:02:21]RasterBufferAndPrint [17:02:21]line Счет N : (3)34643 [17:02:21]line ИНН: 02508201610067 [17:02:21]line Контрольно-Кассовый Чек [17:02:21]line ПРОДАЖА [17:02:21]line Товар: 46226624 [17:02:21]line Mentos ПВ Клубника 6*100*2 [17:02:21]line 3.000 * 10.00 [17:02:21]line = 30.00 [17:02:21]line НДС 12% НСП 1% [17:02:21]line > о реализуемом товаре [17:02:21]line ИТОГО: 30.00 [17:02:21]line НСП 1% : 0.26 [17:02:21]line НДС 12% : 3.19 [17:02:21]line Наличными: 30.00 [17:02:21]line Безнал.: 0.00 [17:02:21]line Место: АЗС № 161 "Партнер Нефть" [17:02:21]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [17:02:21]line СНО: Общий режим [17:02:21]line Чек 41 20.10.2024 17:02 [17:02:21]line Смена: 455 ФФД: 1.0 [17:02:21]line ЗНМ: 0300000240 [17:02:21]line РНМ: 0000000000098147 [17:02:21]line Версия ККМ: 001 [17:02:21]line ФМ: 0000000000965376 [17:02:21]line ФД: 24883 [17:02:21]line ФПД: 168752143049236 [17:02:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T170223&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24883&fm=168752143049236&tin=02508201610067®Number=0000000000098147&sum=3000 [17:02:21]OFD Sender: Processing packet 24883 [packets to send 5, broken 4] [17:02:21]ProducePacketName [17:02:21]name=ofd_packets/00024883 [17:02:21]OFD Sender: To server: pG, [17:02:21]CommunicateWithHost lk.salyk.kg:30040 [17:02:21]ConnectInit lk.salyk.kg [17:02:21]line 0 [17:02:21]written 0, free lines is 4095 [17:02:21]Connected sock=10 [17:02:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 4B 2E 1D 01 FC 30 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 E8 03 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 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 9F 37 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 33 61 00 00 35 04 06 00 99 7A AB 8A A2 14 11 F2 A7 05 83 63 23 C5 [17:02:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 75 4E 47 00 DF 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 33 37 36 10 04 04 00 33 61 00 00 F4 03 04 00 1E E0 14 67 B6 04 01 00 00 A6 ED 7C 9F 6B 44 80 0D [17:02:21]CommunicateWithHost err = 0 [17:02:21]CheckOFDResponse [17:02:21]1017 (14) - 77093643461234 [17:02:21]1041 (16) - 0000000000965376 [17:02:21]1040 (4) - 24883 [17:02:21]1012 (4) - 20.10.2024 10:49 [17:02:21]1206 (1) - 0 [17:02:21]OFD Sender: Remove packet 24883 [17:02:21]ProducePacketName [17:02:21]name=ofd_packets/00024883 [17:02:21]NVStorageDeleteData [17:02:21]Write to MH i2c: 01 00 00 1C 0D 29 [17:02:21]Write i2c OK [17:02:21]MH_I2C_Read... [17:02:21]Read from MH i2c: 01 [17:02:21]MH_I2C_Read... [17:02:21]Read from MH i2c: 01 07 00 [17:02:21]MH_I2C_Read... [17:02:21]Read from MH i2c: 01 07 00 1C 0D 00 00 00 00 00 D8 0C 14 [17:02:21]RasterBufferAndPrint [17:02:21]line [17:02:21]line [17:02:21]line [17:02:21]line [17:02:21]line [17:02:21]written 0, free lines is 3297 [17:02:21]process_action close_receipt done [17:02:21]requested_data is exist [17:02:21]produce_requested_data [17:02:21]requested_item fm.sn is exist - process it [17:02:21]wFMCommunicate request_size=4 [17:02:21]MH_SAM_APDU [17:02:21]CAPDU: 80 11 00 00 [17:02:21]Write to MH i2c: E2 08 00 23 0D 80 11 00 00 00 00 00 00 AA [17:02:21]Write i2c OK [17:02:21]MH_I2C_Read... [17:02:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:02:21]Read from MH i2c: E2 [17:02:21]MH_I2C_Read... [17:02:21]Read from MH i2c: E2 17 00 [17:02:21]MH_I2C_Read... [17:02:21]Read from MH i2c: E2 17 00 23 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 01 [17:02:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [17:02:21]wFMCommunicate OK [17:02:21]requested_item fd.num is exist - process it [17:02:21]SAM_PROTO_GetFieldsCounters [17:02:21]wFMCommunicate request_size=4 [17:02:21]MH_SAM_APDU [17:02:21]CAPDU: 80 13 00 00 [17:02:21]Write to MH i2c: E2 08 00 24 0D 80 13 00 00 00 00 00 00 AD [17:02:21]Write i2c OK [17:02:21]MH_I2C_Read... [17:02:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:02:22]Read from MH i2c: E2 [17:02:22]MH_I2C_Read... [17:02:22]Read from MH i2c: E2 62 00 [17:02:22]MH_I2C_Read... [17:02:22]Read from MH i2c: E2 62 00 24 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 33 61 00 00 0E 04 04 00 C7 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 AD [17:02:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 33 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:02:22]wFMCommunicate OK [17:02:22]SAM_PROTO_GetFieldsCounters done [17:02:22]requested_item shift.num is exist - process it [17:02:22]requested_item shift.opened is exist - process it [17:02:22]req_shift_opened [17:02:22]FM_GetShiftState [17:02:22]SAM_PROTO_GetShiftState [17:02:22]wFMCommunicate request_size=4 [17:02:22]MH_SAM_APDU [17:02:22]CAPDU: 80 13 01 00 [17:02:22]Write to MH i2c: E2 08 00 25 0D 80 13 01 00 00 00 00 00 AF [17:02:22]Write i2c OK [17:02:22]MH_I2C_Read... [17:02:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:02:22]Read from MH i2c: E2 [17:02:22]MH_I2C_Read... [17:02:22]Read from MH i2c: E2 0E 00 [17:02:22]MH_I2C_Read... [17:02:22]Read from MH i2c: E2 0E 00 25 0D 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 F5 [17:02:22]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [17:02:22]wFMCommunicate OK [17:02:22]SAM_PROTO_GetShiftState done [17:02:22]FM_GetShiftState done [17:02:22]req_shift_opened done [17:02:22]requested_item shift.open_date is exist - process it [17:02:22]req_shift_open_date [17:02:22]req_shift_open_date done [17:02:22]produce_requested_data done [17:02:22]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24883,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [17:02:22]process_action_free close_receipt [17:02:22]json_value_free [17:02:22]json_value_free done [17:02:22]process_json_proto returns [17:02:22]Send response to host [17:02:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24883,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [17:02:22]free response buf [17:02:22]execute_script done [17:02:22]execute_script returns [17:02:22]free content buf [17:02:22]Sock 9.Close socket [17:02:22]Sock 9.Thread stoped [17:02:22]OFD Sender: No OFD packet to send [17:02:27]OFD Sender: No OFD packet to send [17:02:32]OFD Sender: No OFD packet to send [17:02:37]OFD Sender: No OFD packet to send [17:02:42]OFD Sender: No OFD packet to send [17:02:47]OFD Sender: No OFD packet to send [17:02:52]OFD Sender: No OFD packet to send [17:02:57]OFD Sender: No OFD packet to send [17:03:02]OFD Sender: No OFD packet to send [17:03:07]OFD Sender: No OFD packet to send [17:03:12]OFD Sender: No OFD packet to send [17:03:17]OFD Sender: No OFD packet to send [17:03:22]OFD Sender: No OFD packet to send [17:03:27]OFD Sender: No OFD packet to send [17:03:32]OFD Sender: No OFD packet to send [17:03:37]OFD Sender: No OFD packet to send [17:03:42]OFD Sender: No OFD packet to send [17:03:47]OFD Sender: No OFD packet to send [17:03:52]OFD Sender: No OFD packet to send [17:03:57]OFD Sender: No OFD packet to send [17:04:02]OFD Sender: No OFD packet to send [17:04:07]OFD Sender: No OFD packet to send [17:04:12]OFD Sender: No OFD packet to send [17:04:17]OFD Sender: No OFD packet to send [17:04:22]OFD Sender: No OFD packet to send [17:04:27]OFD Sender: No OFD packet to send [17:04:32]OFD Sender: No OFD packet to send [17:04:37]OFD Sender: No OFD packet to send [17:04:42]OFD Sender: No OFD packet to send [17:04:47]OFD Sender: No OFD packet to send [17:04:52]OFD Sender: No OFD packet to send [17:04:57]OFD Sender: No OFD packet to send [17:05:02]OFD Sender: No OFD packet to send [17:05:07]OFD Sender: No OFD packet to send [17:05:12]OFD Sender: No OFD packet to send [17:05:17]OFD Sender: No OFD packet to send [17:05:22]OFD Sender: No OFD packet to send [17:05:27]OFD Sender: No OFD packet to send [17:05:32]OFD Sender: No OFD packet to send [17:05:37]OFD Sender: No OFD packet to send [17:05:42]OFD Sender: No OFD packet to send [17:05:47]OFD Sender: No OFD packet to send [17:05:52]OFD Sender: No OFD packet to send [17:05:57]OFD Sender: No OFD packet to send [17:06:02]OFD Sender: No OFD packet to send [17:06:07]OFD Sender: No OFD packet to send [17:06:12]OFD Sender: No OFD packet to send [17:06:17]OFD Sender: No OFD packet to send [17:06:22]OFD Sender: No OFD packet to send [17:06:27]OFD Sender: No OFD packet to send [17:06:32]OFD Sender: No OFD packet to send [17:06:37]OFD Sender: No OFD packet to send [17:06:42]OFD Sender: No OFD packet to send [17:06:47]OFD Sender: No OFD packet to send [17:06:52]OFD Sender: No OFD packet to send [17:06:57]OFD Sender: No OFD packet to send [17:07:02]OFD Sender: No OFD packet to send [17:07:07]OFD Sender: No OFD packet to send [17:07:12]OFD Sender: No OFD packet to send [17:07:17]OFD Sender: No OFD packet to send [17:07:22]OFD Sender: No OFD packet to send [17:07:27]OFD Sender: No OFD packet to send [17:07:32]OFD Sender: No OFD packet to send [17:07:37]OFD Sender: No OFD packet to send [17:07:42]OFD Sender: No OFD packet to send [17:07:47]OFD Sender: No OFD packet to send [17:07:52]OFD Sender: No OFD packet to send [17:07:57]OFD Sender: No OFD packet to send [17:08:02]OFD Sender: No OFD packet to send [17:08:07]OFD Sender: No OFD packet to send [17:08:12]OFD Sender: No OFD packet to send [17:08:17]OFD Sender: No OFD packet to send [17:08:22]OFD Sender: No OFD packet to send [17:08:27]OFD Sender: No OFD packet to send [17:08:32]OFD Sender: No OFD packet to send [17:08:37]OFD Sender: No OFD packet to send [17:08:42]OFD Sender: No OFD packet to send [17:08:47]OFD Sender: No OFD packet to send [17:08:52]OFD Sender: No OFD packet to send [17:08:57]OFD Sender: No OFD packet to send [17:09:02]OFD Sender: No OFD packet to send [17:09:07]OFD Sender: No OFD packet to send [17:09:12]OFD Sender: No OFD packet to send [17:09:17]OFD Sender: No OFD packet to send [17:09:22]OFD Sender: No OFD packet to send [17:09:27]OFD Sender: No OFD packet to send [17:09:32]OFD Sender: No OFD packet to send [17:09:37]OFD Sender: No OFD packet to send [17:09:42]OFD Sender: No OFD packet to send [17:09:47]OFD Sender: No OFD packet to send [17:09:52]OFD Sender: No OFD packet to send [17:09:57]OFD Sender: No OFD packet to send [17:10:02]OFD Sender: No OFD packet to send [17:10:07]OFD Sender: No OFD packet to send [17:10:12]OFD Sender: No OFD packet to send [17:10:17]OFD Sender: No OFD packet to send [17:10:22]OFD Sender: No OFD packet to send [17:10:27]OFD Sender: No OFD packet to send [17:10:32]OFD Sender: No OFD packet to send [17:10:37]OFD Sender: No OFD packet to send [17:10:42]OFD Sender: No OFD packet to send [17:10:47]OFD Sender: No OFD packet to send [17:10:52]OFD Sender: No OFD packet to send [17:10:57]OFD Sender: No OFD packet to send [17:11:02]OFD Sender: No OFD packet to send [17:11:07]OFD Sender: No OFD packet to send [17:11:12]OFD Sender: No OFD packet to send [17:11:17]OFD Sender: No OFD packet to send [17:11:22]OFD Sender: No OFD packet to send [17:11:27]OFD Sender: No OFD packet to send [17:11:32]OFD Sender: No OFD packet to send [17:11:37]OFD Sender: No OFD packet to send [17:11:42]OFD Sender: No OFD packet to send [17:11:47]OFD Sender: No OFD packet to send [17:11:52]OFD Sender: No OFD packet to send [17:11:57]OFD Sender: No OFD packet to send [17:12:02]OFD Sender: No OFD packet to send [17:12:07]OFD Sender: No OFD packet to send [17:12:12]OFD Sender: No OFD packet to send [17:12:17]OFD Sender: No OFD packet to send [17:12:22]OFD Sender: No OFD packet to send [17:12:27]OFD Sender: No OFD packet to send [17:12:32]OFD Sender: No OFD packet to send [17:12:37]OFD Sender: No OFD packet to send [17:12:42]OFD Sender: No OFD packet to send [17:12:47]OFD Sender: No OFD packet to send [17:12:52]OFD Sender: No OFD packet to send [17:12:57]OFD Sender: No OFD packet to send [17:13:02]OFD Sender: No OFD packet to send [17:13:07]OFD Sender: No OFD packet to send [17:13:12]OFD Sender: No OFD packet to send [17:13:17]OFD Sender: No OFD packet to send [17:13:22]OFD Sender: No OFD packet to send [17:13:27]OFD Sender: No OFD packet to send [17:13:32]OFD Sender: No OFD packet to send [17:13:37]OFD Sender: No OFD packet to send [17:13:42]OFD Sender: No OFD packet to send [17:13:47]OFD Sender: No OFD packet to send [17:13:52]OFD Sender: No OFD packet to send [17:13:57]OFD Sender: No OFD packet to send [17:14:02]OFD Sender: No OFD packet to send [17:14:07]OFD Sender: No OFD packet to send [17:14:12]OFD Sender: No OFD packet to send [17:14:17]OFD Sender: No OFD packet to send [17:14:22]OFD Sender: No OFD packet to send [17:14:27]OFD Sender: No OFD packet to send [17:14:32]OFD Sender: No OFD packet to send [17:14:37]OFD Sender: No OFD packet to send [17:14:42]OFD Sender: No OFD packet to send [17:14:47]OFD Sender: No OFD packet to send [17:14:52]OFD Sender: No OFD packet to send [17:14:57]OFD Sender: No OFD packet to send [17:15:02]OFD Sender: No OFD packet to send [17:15:07]OFD Sender: No OFD packet to send [17:15:12]OFD Sender: No OFD packet to send [17:15:17]OFD Sender: No OFD packet to send [17:15:22]OFD Sender: No OFD packet to send [17:15:27]OFD Sender: No OFD packet to send [17:15:32]OFD Sender: No OFD packet to send [17:15:37]OFD Sender: No OFD packet to send [17:15:42]OFD Sender: No OFD packet to send [17:15:47]OFD Sender: No OFD packet to send [17:15:52]OFD Sender: No OFD packet to send [17:15:57]accept exits with 7 [17:15:57]New connection [17:15:57]New thread 3067166052 created [17:15:57]Thread 3067309412 joined [17:15:57]Waiting for new connection... [17:15:57] Sock 7.Parse request [17:15:57]Sock 7.Check first char [17:15:57]Sock 7.First char is OK [17:15:57]request: POST /json_proto HTTP/1.0 [17:15:57]Method: POST [17:15:57]URL: /json_proto [17:15:57]Method is POST - this is cgi request [17:15:57]url: /json_proto [17:15:57]query_string will be loaded in cgi processing [17:15:57]execute_cgi json_proto POST (null) [17:15:57]execute_cgi path=json_proto method=POST [17:15:57]POST find Content-Length [17:15:57]Host: 172.17.53.196:8080 [17:15:57]Content-Length: 698 [17:15:57]Content-Type: application/json [17:15:57] [17:15:57]POST finish read [17:15:57]Found Content-Length = 698 [17:15:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34644", "tax_sys" : 0, "items" : [ { "code": "5000159390729", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 \u042D\u043A\u0441\u0442\u0440\u0430 82\u0433", "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" ] } } [17:15:57]execute_script... [17:15: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)34644", "tax_sys" : 0, "items" : [ { "code": "5000159390729", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 \u042D\u043A\u0441\u0442\u0440\u0430 82\u0433", "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" ] } } [17:15:57]POST & json_proto [17:15:57]process_json_proto [17:15:57]json parsed OK: [17:15:57]protocol is kg_v1.0 [17:15:57]action value=close_receipt [17:15:57]process_action close_receipt [17:15:57]cmd_close_receipt [17:15:57]MH_GetDate [17:15:57]Write to MH i2c: F0 00 00 26 0D 22 [17:15:57]Write i2c OK [17:15:57]MH_I2C_Read... [17:15:57]Read from MH i2c: F0 [17:15:57]MH_I2C_Read... [17:15:57]Read from MH i2c: F0 09 00 [17:15:57]MH_I2C_Read... [17:15:57]Read from MH i2c: F0 09 00 26 0D 00 D1 3A 15 67 4F CD 9A 65 CD [17:15:57]GetLastDocTimeStamp 1729443743 [17:15:57]current date 1729444561 [17:15:57]FM_GetShiftState [17:15:57]SAM_PROTO_GetShiftState [17:15:57]wFMCommunicate request_size=4 [17:15:57]MH_SAM_APDU [17:15:57]CAPDU: 80 13 01 00 [17:15:57]Write to MH i2c: E2 08 00 27 0D 80 13 01 00 00 00 00 00 B1 [17:15:57]Write i2c OK [17:15:57]MH_I2C_Read... [17:15:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:15:57]Read from MH i2c: E2 [17:15:57]MH_I2C_Read... [17:15:57]Read from MH i2c: E2 0E 00 [17:15:57]MH_I2C_Read... [17:15:57]Read from MH i2c: E2 0E 00 27 0D 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 F7 [17:15:57]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [17:15:57]wFMCommunicate OK [17:15:57]SAM_PROTO_GetShiftState done [17:15:57]FM_GetShiftState done [17:15:57]opened in 1729384049 [17:15:57]opened+sec_in_day 1729470449 [17:15:57]quantity*price = 8900 [17:15:57]sum+1 = 8901 [17:15:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 89.00 НСП 1% : 0.79 НДС 12% : 9.45 Наличными: 89.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 42 20.10.2024 17:16 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24884 ФПД: 133197985969518 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T171601&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24884&fm=133197985969518&tin=02508201610067®Number=0000000000098147&sum=8900 0 [17:15:58]StoreToDocumentArchive [17:15:58]shift 455 fd 24884 [17:15:58]save to /storage/0455/doc_00024884 [17:15:58]save last doc name /storage/0455/doc_00024884 to /storage/kkm_last_doc_name [17:15:58]save OK [17:15:58]Clear old archive folders... [17:15:58]ProcessDocumentItem done err = 0, tmpTLVsize=294 [17:15:58]tlvbuf is 00DDC3D0 [17:15:58]SAM_PROTO_ClearQueue [17:15:58]wFMCommunicate request_size=4 [17:15:58]MH_SAM_APDU [17:15:58]CAPDU: 80 09 00 00 [17:15:58]Write to MH i2c: E2 08 00 34 0D 80 09 00 00 00 00 00 00 B3 [17:15:58]Write i2c OK [17:15:58]MH_I2C_Read... [17:15:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:15:58]Read from MH i2c: E2 [17:15:58]MH_I2C_Read... [17:15:58]Read from MH i2c: E2 03 00 [17:15:58]MH_I2C_Read... [17:15:58]Read from MH i2c: E2 03 00 34 0D 00 90 00 B5 [17:15:58]RAPDU: 90 00 [17:15:58]wFMCommunicate OK [17:15:58]SAM_PROTO_ClearQueue done [17:15:58]KKMCreateOFDPacket [17:15:58]OFDProtocolAddRootSTLVToBuf [17:15:58]FM_MakeSignedData [17:15:58]FM_MakeSignedData [17:15:58]SAM_PROTO_SignData [17:15:58]wFMCommunicate request_size=4 [17:15:58]MH_SAM_APDU [17:15:58]CAPDU: 80 0D 01 02 [17:15:58]Write to MH i2c: E2 08 00 35 0D 80 0D 01 02 00 00 00 00 BB [17:15:58]Write i2c OK [17:15:58]MH_I2C_Read... [17:15:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:15:58]Read from MH i2c: E2 [17:15:58]MH_I2C_Read... [17:15:58]Read from MH i2c: E2 03 00 [17:15:58]MH_I2C_Read... [17:15:58]Read from MH i2c: E2 03 00 35 0D 00 90 00 B6 [17:15:58]RAPDU: 90 00 [17:15:58]wFMCommunicate OK [17:15:58]wFMCommunicate request_size=255 [17:15:58]MH_SAM_APDU [17:15:58]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 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 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 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 2A 00 00 00 F4 03 04 00 D1 3A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [17:15:58]Write to MH i2c: E2 02 01 36 0D 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 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 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 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 2A 00 00 00 F4 03 04 00 D1 3A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 70 [17:15:58]Write i2c OK [17:15:58]MH_I2C_Read... [17:15:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:15:58]Read from MH i2c: E2 [17:15:58]MH_I2C_Read... [17:15:58]Read from MH i2c: E2 03 00 [17:15:58]MH_I2C_Read... [17:15:58]Read from MH i2c: E2 03 00 36 0D 00 90 00 B7 [17:15:58]RAPDU: 90 00 [17:15:58]wFMCommunicate OK [17:15:58]wFMCommunicate request_size=53 [17:15:58]MH_SAM_APDU [17:15:58]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 34 61 00 00 35 04 06 00 79 24 92 A3 75 6E [17:15:58]Write to MH i2c: E2 38 00 37 0D 80 0D 02 02 30 00 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 34 61 00 00 35 04 06 00 79 24 92 A3 75 6E 00 00 05 [17:15:58]Write i2c OK [17:15:58]MH_I2C_Read... [17:15:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:15:59]Read from MH i2c: E2 [17:15:59]MH_I2C_Read... [17:15:59]Read from MH i2c: E2 03 00 [17:15:59]MH_I2C_Read... [17:15:59]Read from MH i2c: E2 03 00 37 0D 00 90 00 B8 [17:15:59]RAPDU: 90 00 [17:15:59]wFMCommunicate OK [17:15:59]wFMCommunicate request_size=4 [17:15:59]MH_SAM_APDU [17:15:59]CAPDU: 80 0D 03 02 [17:15:59]Write to MH i2c: E2 08 00 38 0D 80 0D 03 02 00 00 00 00 C0 [17:15:59]Write i2c OK [17:15:59]MH_I2C_Read... [17:15:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:15:59]Read from MH i2c: E2 [17:15:59]MH_I2C_Read... [17:15:59]Read from MH i2c: E2 0B 00 [17:15:59]MH_I2C_Read... [17:15:59]Read from MH i2c: E2 0B 00 38 0D 00 04 46 CE 83 C3 0E 59 E1 90 00 67 [17:15:59]RAPDU: 04 46 CE 83 C3 0E 59 E1 90 00 [17:15:59]wFMCommunicate OK [17:15:59]SAM_PROTO_SignData done [17:15:59]FM_MakeSignedData done [17:15:59]CreateOFDProtocolMessage [17:15:59]wFMCommunicate request_size=4 [17:15:59]MH_SAM_APDU [17:15:59]CAPDU: 80 11 00 00 [17:15:59]Write to MH i2c: E2 08 00 39 0D 80 11 00 00 00 00 00 00 C0 [17:15:59]Write i2c OK [17:15:59]MH_I2C_Read... [17:15:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:15:59]Read from MH i2c: E2 [17:15:59]MH_I2C_Read... [17:15:59]Read from MH i2c: E2 17 00 [17:15:59]MH_I2C_Read... [17:15:59]Read from MH i2c: E2 17 00 39 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 17 [17:15:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [17:15:59]wFMCommunicate OK [17:15:59]CreateOFDProtocolMessage done [17:15:59]OFDSenderStorePacket 24884 [17:15:59]StoreOFDPacket docnum=24884 [17:15:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 3A 01 00 00 2A 56 32 01 26 AD 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 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 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 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 2A 00 00 00 F4 03 04 00 D1 3A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 34 61 00 00 35 04 06 00 79 24 92 A3 75 6E 04 46 CE 83 C3 0E 59 E1 [17:15:59]CheckFolder [17:15:59]dirname=/storage/ofd_packets [17:15:59]CheckFolder done [17:15:59]ProducePacketName [17:15:59]name=ofd_packets/00024884 [17:15:59]NVStorageSaveData ofd_packets/00024884 [17:15:59]File name is /storage/ofd_packets/00024884 [17:15:59]Write 344 bytes [17:15:59]NVStorageSaveData done [17:15:59]OFDSenderStorePacket done [17:15:59]KKMCreateOFDPacket done [17:15:59]NVStorageSaveData kkm_last_timestamp [17:15:59]File name is /storage/kkm_last_timestamp [17:15:59]Write 4 bytes [17:15:59]NVStorageSaveData done [17:15:59]ExternCall_PrintAddStr [17:15:59]wPrintStart [17:15:59]Write to MH i2c: 01 00 00 3A 0D 47 [17:15:59]Write i2c OK [17:15:59]MH_I2C_Read... [17:15:59]Read from MH i2c: 01 [17:15:59]MH_I2C_Read... [17:15:59]Read from MH i2c: 01 07 00 [17:15:59]MH_I2C_Read... [17:15:59]Read from MH i2c: 01 07 00 3A 0D 00 00 00 00 00 FF 0F 5C [17:15:59]RasterBufferAndPrint [17:15:59]line Счет N : (3)34644 [17:15:59]line ИНН: 02508201610067 [17:15:59]line Контрольно-Кассовый Чек [17:15:59]line ПРОДАЖА [17:15:59]line Товар: 5000159390729 [17:15:59]line Шок Батончик Твикс Экстра 82г [17:15:59]line 1.000 * 89.00 [17:15:59]line = 89.00 [17:15:59]line НДС 12% НСП 1% [17:15:59]line > о реализуемом товаре [17:15:59]line ИТОГО: 89.00 [17:15:59]line НСП 1% : 0.79 [17:15:59]line НДС 12% : 9.45 [17:15:59]line Наличными: 89.00 [17:15:59]line Безнал.: 0.00 [17:15:59]line Место: АЗС № 161 "Партнер Нефть" [17:15:59]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [17:15:59]line СНО: Общий режим [17:15:59]line Чек 42 20.10.2024 17:16 [17:15:59]line Смена: 455 ФФД: 1.0 [17:15:59]line ЗНМ: 0300000240 [17:15:59]line РНМ: 0000000000098147 [17:15:59]line Версия ККМ: 001 [17:15:59]line ФМ: 0000000000965376 [17:15:59]line ФД: 24884 [17:15:59]line ФПД: 133197985969518 [17:15:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T171601&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24884&fm=133197985969518&tin=02508201610067®Number=0000000000098147&sum=8900 [17:15:59]line 0 [17:15:59]OFD Sender: Processing packet 24884 [packets to send 5, broken 4] [17:15:59]ProducePacketName [17:15:59]name=ofd_packets/00024884 [17:15:59]OFD Sender: To server: pG, [17:15:59]CommunicateWithHost lk.salyk.kg:30040 [17:15:59]ConnectInit lk.salyk.kg [17:15:59]written 0, free lines is 4095 [17:15:59]Connected sock=10 [17:15:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 3A 01 00 00 2A 56 32 01 26 AD 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 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 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 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 2A 00 00 00 F4 03 04 00 D1 3A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 34 61 00 00 35 04 06 00 79 24 92 A3 75 6E 04 46 CE 83 C3 0E 59 E1 [17:15:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 DF E2 47 00 B3 9F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 34 61 00 00 F4 03 04 00 51 E3 14 67 B6 04 01 00 00 40 89 50 0C B9 1A C0 2C [17:15:59]CommunicateWithHost err = 0 [17:15:59]CheckOFDResponse [17:15:59]1017 (14) - 77093643461234 [17:15:59]1041 (16) - 0000000000965376 [17:15:59]1040 (4) - 24884 [17:15:59]1012 (4) - 20.10.2024 11:02 [17:15:59]1206 (1) - 0 [17:15:59]OFD Sender: Remove packet 24884 [17:15:59]ProducePacketName [17:15:59]name=ofd_packets/00024884 [17:15:59]NVStorageDeleteData [17:15:59]Write to MH i2c: 01 00 00 63 0D 70 [17:15:59]Write i2c OK [17:15:59]MH_I2C_Read... [17:15:59]Read from MH i2c: 01 [17:15:59]MH_I2C_Read... [17:15:59]Read from MH i2c: 01 07 00 [17:15:59]MH_I2C_Read... [17:15:59]Read from MH i2c: 01 07 00 63 0D 00 00 00 00 00 C8 0C 4B [17:15:59]RasterBufferAndPrint [17:15:59]line [17:15:59]line [17:15:59]line [17:15:59]line [17:15:59]line [17:15:59]written 0, free lines is 3279 [17:15:59]process_action close_receipt done [17:15:59]requested_data is exist [17:15:59]produce_requested_data [17:15:59]requested_item fm.sn is exist - process it [17:15:59]wFMCommunicate request_size=4 [17:15:59]MH_SAM_APDU [17:15:59]CAPDU: 80 11 00 00 [17:15:59]Write to MH i2c: E2 08 00 6A 0D 80 11 00 00 00 00 00 00 F1 [17:15:59]Write i2c OK [17:15:59]MH_I2C_Read... [17:15:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:15:59]Read from MH i2c: E2 [17:15:59]MH_I2C_Read... [17:15:59]Read from MH i2c: E2 17 00 [17:15:59]MH_I2C_Read... [17:15:59]Read from MH i2c: E2 17 00 6A 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 48 [17:15:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [17:15:59]wFMCommunicate OK [17:15:59]requested_item fd.num is exist - process it [17:16:00]SAM_PROTO_GetFieldsCounters [17:16:00]wFMCommunicate request_size=4 [17:16:00]MH_SAM_APDU [17:16:00]CAPDU: 80 13 00 00 [17:16:00]Write to MH i2c: E2 08 00 6B 0D 80 13 00 00 00 00 00 00 F4 [17:16:00]Write i2c OK [17:16:00]MH_I2C_Read... [17:16:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:16:00]Read from MH i2c: E2 [17:16:00]MH_I2C_Read... [17:16:00]Read from MH i2c: E2 62 00 [17:16:00]MH_I2C_Read... [17:16:00]Read from MH i2c: E2 62 00 6B 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 34 61 00 00 0E 04 04 00 C7 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 F8 [17:16:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 34 61 00 00 0E 04 04 00 C7 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 [17:16:00]wFMCommunicate OK [17:16:00]SAM_PROTO_GetFieldsCounters done [17:16:00]requested_item shift.num is exist - process it [17:16:00]requested_item shift.opened is exist - process it [17:16:00]req_shift_opened [17:16:00]FM_GetShiftState [17:16:00]SAM_PROTO_GetShiftState [17:16:00]wFMCommunicate request_size=4 [17:16:00]MH_SAM_APDU [17:16:00]CAPDU: 80 13 01 00 [17:16:00]Write to MH i2c: E2 08 00 6C 0D 80 13 01 00 00 00 00 00 F6 [17:16:00]Write i2c OK [17:16:00]MH_I2C_Read... [17:16:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:16:00]Read from MH i2c: E2 [17:16:00]MH_I2C_Read... [17:16:00]Read from MH i2c: E2 0E 00 [17:16:00]MH_I2C_Read... [17:16:00]Read from MH i2c: E2 0E 00 6C 0D 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 3C [17:16:00]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [17:16:00]wFMCommunicate OK [17:16:00]SAM_PROTO_GetShiftState done [17:16:00]FM_GetShiftState done [17:16:00]req_shift_opened done [17:16:00]requested_item shift.open_date is exist - process it [17:16:00]req_shift_open_date [17:16:00]req_shift_open_date done [17:16:00]produce_requested_data done [17:16:00]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24884,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [17:16:00]process_action_free close_receipt [17:16:00]json_value_free [17:16:00]json_value_free done [17:16:00]process_json_proto returns [17:16:00]Send response to host [17:16:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24884,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [17:16:00]free response buf [17:16:00]execute_script done [17:16:00]execute_script returns [17:16:00]free content buf [17:16:00]Sock 7.Close socket [17:16:00]Sock 7.Thread stoped [17:16:00]OFD Sender: No OFD packet to send [17:16:05]OFD Sender: No OFD packet to send [17:16:10]OFD Sender: No OFD packet to send [17:16:15]OFD Sender: No OFD packet to send [17:16:20]OFD Sender: No OFD packet to send [17:16:25]OFD Sender: No OFD packet to send [17:16:30]OFD Sender: No OFD packet to send [17:16:35]OFD Sender: No OFD packet to send [17:16:40]OFD Sender: No OFD packet to send [17:16:45]OFD Sender: No OFD packet to send [17:16:50]OFD Sender: No OFD packet to send [17:16:55]OFD Sender: No OFD packet to send [17:17:00]OFD Sender: No OFD packet to send [17:17:05]OFD Sender: No OFD packet to send [17:17:10]OFD Sender: No OFD packet to send [17:17:15]OFD Sender: No OFD packet to send [17:17:20]OFD Sender: No OFD packet to send [17:17:25]OFD Sender: No OFD packet to send [17:17:30]OFD Sender: No OFD packet to send [17:17:35]OFD Sender: No OFD packet to send [17:17:40]OFD Sender: No OFD packet to send [17:17:45]OFD Sender: No OFD packet to send [17:17:50]OFD Sender: No OFD packet to send [17:17:55]OFD Sender: No OFD packet to send [17:18:00]OFD Sender: No OFD packet to send [17:18:05]OFD Sender: No OFD packet to send [17:18:10]OFD Sender: No OFD packet to send [17:18:15]OFD Sender: No OFD packet to send [17:18:20]OFD Sender: No OFD packet to send [17:18:25]OFD Sender: No OFD packet to send [17:18:30]OFD Sender: No OFD packet to send [17:18:35]OFD Sender: No OFD packet to send [17:18:40]OFD Sender: No OFD packet to send [17:18:45]OFD Sender: No OFD packet to send [17:18:50]OFD Sender: No OFD packet to send [17:18:55]OFD Sender: No OFD packet to send [17:19:00]OFD Sender: No OFD packet to send [17:19:05]OFD Sender: No OFD packet to send [17:19:10]OFD Sender: No OFD packet to send [17:19:15]OFD Sender: No OFD packet to send [17:19:20]OFD Sender: No OFD packet to send [17:19:25]OFD Sender: No OFD packet to send [17:19:30]OFD Sender: No OFD packet to send [17:19:35]OFD Sender: No OFD packet to send [17:19:40]OFD Sender: No OFD packet to send [17:19:45]OFD Sender: No OFD packet to send [17:19:50]OFD Sender: No OFD packet to send [17:19:55]OFD Sender: No OFD packet to send [17:20:00]OFD Sender: No OFD packet to send [17:20:05]OFD Sender: No OFD packet to send [17:20:10]OFD Sender: No OFD packet to send [17:20:15]OFD Sender: No OFD packet to send [17:20:20]OFD Sender: No OFD packet to send [17:20:25]OFD Sender: No OFD packet to send [17:20:30]OFD Sender: No OFD packet to send [17:20:35]OFD Sender: No OFD packet to send [17:20:40]OFD Sender: No OFD packet to send [17:20:45]OFD Sender: No OFD packet to send [17:20:50]OFD Sender: No OFD packet to send [17:20:55]OFD Sender: No OFD packet to send [17:21:00]OFD Sender: No OFD packet to send [17:21:05]OFD Sender: No OFD packet to send [17:21:10]OFD Sender: No OFD packet to send [17:21:15]OFD Sender: No OFD packet to send [17:21:20]OFD Sender: No OFD packet to send [17:21:25]OFD Sender: No OFD packet to send [17:21:30]OFD Sender: No OFD packet to send [17:21:35]OFD Sender: No OFD packet to send [17:21:40]OFD Sender: No OFD packet to send [17:21:45]OFD Sender: No OFD packet to send [17:21:50]OFD Sender: No OFD packet to send [17:21:55]OFD Sender: No OFD packet to send [17:22:00]OFD Sender: No OFD packet to send [17:22:05]OFD Sender: No OFD packet to send [17:22:10]OFD Sender: No OFD packet to send [17:22:15]OFD Sender: No OFD packet to send [17:22:20]OFD Sender: No OFD packet to send [17:22:25]OFD Sender: No OFD packet to send [17:22:30]OFD Sender: No OFD packet to send [17:22:35]OFD Sender: No OFD packet to send [17:22:40]OFD Sender: No OFD packet to send [17:22:45]OFD Sender: No OFD packet to send [17:22:50]OFD Sender: No OFD packet to send [17:22:55]OFD Sender: No OFD packet to send [17:23:00]OFD Sender: No OFD packet to send [17:23:05]OFD Sender: No OFD packet to send [17:23:10]OFD Sender: No OFD packet to send [17:23:15]OFD Sender: No OFD packet to send [17:23:20]OFD Sender: No OFD packet to send [17:23:25]OFD Sender: No OFD packet to send [17:23:30]OFD Sender: No OFD packet to send [17:23:35]OFD Sender: No OFD packet to send [17:23:40]OFD Sender: No OFD packet to send [17:23:45]OFD Sender: No OFD packet to send [17:23:50]OFD Sender: No OFD packet to send [17:23:55]OFD Sender: No OFD packet to send [17:24:00]OFD Sender: No OFD packet to send [17:24:05]OFD Sender: No OFD packet to send [17:24:10]OFD Sender: No OFD packet to send [17:24:15]OFD Sender: No OFD packet to send [17:24:20]OFD Sender: No OFD packet to send [17:24:25]OFD Sender: No OFD packet to send [17:24:30]OFD Sender: No OFD packet to send [17:24:35]OFD Sender: No OFD packet to send [17:24:40]OFD Sender: No OFD packet to send [17:24:45]OFD Sender: No OFD packet to send [17:24:50]OFD Sender: No OFD packet to send [17:24:55]OFD Sender: No OFD packet to send [17:25:00]OFD Sender: No OFD packet to send [17:25:05]OFD Sender: No OFD packet to send [17:25:10]OFD Sender: No OFD packet to send [17:25:15]OFD Sender: No OFD packet to send [17:25:20]OFD Sender: No OFD packet to send [17:25:25]OFD Sender: No OFD packet to send [17:25:30]OFD Sender: No OFD packet to send [17:25:35]OFD Sender: No OFD packet to send [17:25:40]OFD Sender: No OFD packet to send [17:25:45]OFD Sender: No OFD packet to send [17:25:50]OFD Sender: No OFD packet to send [17:25:55]OFD Sender: No OFD packet to send [17:26:00]OFD Sender: No OFD packet to send [17:26:05]OFD Sender: No OFD packet to send [17:26:10]OFD Sender: No OFD packet to send [17:26:15]OFD Sender: No OFD packet to send [17:26:20]OFD Sender: No OFD packet to send [17:26:25]OFD Sender: No OFD packet to send [17:26:30]OFD Sender: No OFD packet to send [17:26:35]OFD Sender: No OFD packet to send [17:26:40]OFD Sender: No OFD packet to send [17:26:45]OFD Sender: No OFD packet to send [17:26:50]OFD Sender: No OFD packet to send [17:26:54]accept exits with 9 [17:26:54]New connection [17:26:54]New thread 3067309412 created [17:26:54]Thread 3067166052 joined [17:26:54]Waiting for new connection... [17:26:54] Sock 9.Parse request [17:26:54]Sock 9.Check first char [17:26:54]Sock 9.First char is OK [17:26:54]request: POST /json_proto HTTP/1.0 [17:26:54]Method: POST [17:26:54]URL: /json_proto [17:26:54]Method is POST - this is cgi request [17:26:54]url: /json_proto [17:26:54]query_string will be loaded in cgi processing [17:26:54]execute_cgi json_proto POST (null) [17:26:54]execute_cgi path=json_proto method=POST [17:26:54]POST find Content-Length [17:26:54]Host: 172.17.53.196:8080 [17:26:54]Content-Length: 652 [17:26:54]Content-Type: application/json [17:26:54] [17:26:54]POST finish read [17:26:54]Found Content-Length = 652 [17:26:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34645", "tax_sys" : 0, "items" : [ { "code": "5449000325907", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,45\u043B \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" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:26:54]execute_script... [17:26:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34645", "tax_sys" : 0, "items" : [ { "code": "5449000325907", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,45\u043B \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" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:26:54]POST & json_proto [17:26:54]process_json_proto [17:26:54]json parsed OK: [17:26:54]protocol is kg_v1.0 [17:26:54]action value=close_receipt [17:26:54]process_action close_receipt [17:26:54]cmd_close_receipt [17:26:54]MH_GetDate [17:26:54]Write to MH i2c: F0 00 00 6D 0D 69 [17:26:54]Write i2c OK [17:26:54]MH_I2C_Read... [17:26:54]Read from MH i2c: F0 [17:26:54]MH_I2C_Read... [17:26:54]Read from MH i2c: F0 09 00 [17:26:54]MH_I2C_Read... [17:26:54]Read from MH i2c: F0 09 00 6D 0D 00 62 3D 15 67 4F CD 9A 65 A8 [17:26:54]GetLastDocTimeStamp 1729444561 [17:26:54]current date 1729445218 [17:26:54]FM_GetShiftState [17:26:54]SAM_PROTO_GetShiftState [17:26:54]wFMCommunicate request_size=4 [17:26:54]MH_SAM_APDU [17:26:54]CAPDU: 80 13 01 00 [17:26:54]Write to MH i2c: E2 08 00 6E 0D 80 13 01 00 00 00 00 00 F8 [17:26:54]Write i2c OK [17:26:54]MH_I2C_Read... [17:26:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:26:54]Read from MH i2c: E2 [17:26:54]MH_I2C_Read... [17:26:54]Read from MH i2c: E2 0E 00 [17:26:54]MH_I2C_Read... [17:26:54]Read from MH i2c: E2 0E 00 6E 0D 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 3E [17:26:54]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [17:26:54]wFMCommunicate OK [17:26:54]SAM_PROTO_GetShiftState done [17:26:54]FM_GetShiftState done [17:26:54]opened in 1729384049 [17:26:54]opened+sec_in_day 1729470449 [17:26:54]quantity*price = 9000 [17:26:54]sum+1 = 9001 [17:26:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 90.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 43 20.10.2024 17:26 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24885 ФПД: 47251800805928 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T172658&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24885&fm=47251800805928&tin=02508201610067®Number=0000000000098147&sum=9000 0 [17:26:55]StoreToDocumentArchive [17:26:55]shift 455 fd 24885 [17:26:55]save to /storage/0455/doc_00024885 [17:26:55]save last doc name /storage/0455/doc_00024885 to /storage/kkm_last_doc_name [17:26:55]save OK [17:26:55]Clear old archive folders... [17:26:55]ProcessDocumentItem done err = 0, tmpTLVsize=280 [17:26:55]tlvbuf is 00DF08F0 [17:26:55]SAM_PROTO_ClearQueue [17:26:55]wFMCommunicate request_size=4 [17:26:55]MH_SAM_APDU [17:26:55]CAPDU: 80 09 00 00 [17:26:55]Write to MH i2c: E2 08 00 7B 0D 80 09 00 00 00 00 00 00 FA [17:26:55]Write i2c OK [17:26:55]MH_I2C_Read... [17:26:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:26:55]Read from MH i2c: E2 [17:26:55]MH_I2C_Read... [17:26:55]Read from MH i2c: E2 03 00 [17:26:55]MH_I2C_Read... [17:26:55]Read from MH i2c: E2 03 00 7B 0D 00 90 00 FC [17:26:55]RAPDU: 90 00 [17:26:55]wFMCommunicate OK [17:26:55]SAM_PROTO_ClearQueue done [17:26:55]KKMCreateOFDPacket [17:26:55]OFDProtocolAddRootSTLVToBuf [17:26:55]FM_MakeSignedData [17:26:55]FM_MakeSignedData [17:26:55]SAM_PROTO_SignData [17:26:55]wFMCommunicate request_size=4 [17:26:55]MH_SAM_APDU [17:26:55]CAPDU: 80 0D 01 02 [17:26:55]Write to MH i2c: E2 08 00 7C 0D 80 0D 01 02 00 00 00 00 02 [17:26:55]Write i2c OK [17:26:55]MH_I2C_Read... [17:26:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:26:55]Read from MH i2c: E2 [17:26:55]MH_I2C_Read... [17:26:55]Read from MH i2c: E2 03 00 [17:26:55]MH_I2C_Read... [17:26:55]Read from MH i2c: E2 03 00 7C 0D 00 90 00 FD [17:26:55]RAPDU: 90 00 [17:26:55]wFMCommunicate OK [17:26:55]wFMCommunicate request_size=255 [17:26:55]MH_SAM_APDU [17:26:55]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 33 32 35 39 30 37 06 04 26 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 34 35 D0 BB 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 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 62 3D 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 [17:26:55]Write to MH i2c: E2 02 01 7D 0D 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 33 32 35 39 30 37 06 04 26 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 34 35 D0 BB 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 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 62 3D 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 00 00 00 [17:26:55]Write i2c OK [17:26:55]MH_I2C_Read... [17:26:55]OFD Sender: No OFD packet to send [17:26:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:26:55]Read from MH i2c: E2 [17:26:55]MH_I2C_Read... [17:26:55]Read from MH i2c: E2 03 00 [17:26:55]MH_I2C_Read... [17:26:55]Read from MH i2c: E2 03 00 7D 0D 00 90 00 FE [17:26:55]RAPDU: 90 00 [17:26:55]wFMCommunicate OK [17:26:55]wFMCommunicate request_size=39 [17:26:55]MH_SAM_APDU [17:26:55]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 35 61 00 00 35 04 06 00 2A F9 AA CD 52 28 [17:26:55]Write to MH i2c: E2 2A 00 7E 0D 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 35 61 00 00 35 04 06 00 2A F9 AA CD 52 28 00 00 6E [17:26:55]Write i2c OK [17:26:55]MH_I2C_Read... [17:26:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:26:55]Read from MH i2c: E2 [17:26:55]MH_I2C_Read... [17:26:55]Read from MH i2c: E2 03 00 [17:26:55]MH_I2C_Read... [17:26:55]Read from MH i2c: E2 03 00 7E 0D 00 90 00 FF [17:26:55]RAPDU: 90 00 [17:26:55]wFMCommunicate OK [17:26:55]wFMCommunicate request_size=4 [17:26:55]MH_SAM_APDU [17:26:55]CAPDU: 80 0D 03 02 [17:26:55]Write to MH i2c: E2 08 00 7F 0D 80 0D 03 02 00 00 00 00 07 [17:26:55]Write i2c OK [17:26:55]MH_I2C_Read... [17:26:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:26:55]Read from MH i2c: E2 [17:26:55]MH_I2C_Read... [17:26:55]Read from MH i2c: E2 0B 00 [17:26:55]MH_I2C_Read... [17:26:55]Read from MH i2c: E2 0B 00 7F 0D 00 EB E7 8C A8 68 F2 52 36 90 00 F0 [17:26:55]RAPDU: EB E7 8C A8 68 F2 52 36 90 00 [17:26:55]wFMCommunicate OK [17:26:55]SAM_PROTO_SignData done [17:26:55]FM_MakeSignedData done [17:26:55]CreateOFDProtocolMessage [17:26:55]wFMCommunicate request_size=4 [17:26:55]MH_SAM_APDU [17:26:55]CAPDU: 80 11 00 00 [17:26:55]Write to MH i2c: E2 08 00 80 0D 80 11 00 00 00 00 00 00 07 [17:26:55]Write i2c OK [17:26:55]MH_I2C_Read... [17:26:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:26:56]Read from MH i2c: E2 [17:26:56]MH_I2C_Read... [17:26:56]Read from MH i2c: E2 17 00 [17:26:56]MH_I2C_Read... [17:26:56]Read from MH i2c: E2 17 00 80 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 5E [17:26:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [17:26:56]wFMCommunicate OK [17:26:56]CreateOFDProtocolMessage done [17:26:56]OFDSenderStorePacket 24885 [17:26:56]StoreOFDPacket docnum=24885 [17:26:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2C 01 00 00 17 5C 24 01 50 A9 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 33 32 35 39 30 37 06 04 26 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 34 35 D0 BB 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 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 62 3D 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 35 61 00 00 35 04 06 00 2A F9 AA CD 52 28 EB E7 8C A8 68 F2 52 36 [17:26:56]CheckFolder [17:26:56]dirname=/storage/ofd_packets [17:26:56]CheckFolder done [17:26:56]ProducePacketName [17:26:56]name=ofd_packets/00024885 [17:26:56]NVStorageSaveData ofd_packets/00024885 [17:26:56]File name is /storage/ofd_packets/00024885 [17:26:56]Write 330 bytes [17:26:56]NVStorageSaveData done [17:26:56]OFDSenderStorePacket done [17:26:56]KKMCreateOFDPacket done [17:26:56]NVStorageSaveData kkm_last_timestamp [17:26:56]File name is /storage/kkm_last_timestamp [17:26:56]Write 4 bytes [17:26:56]NVStorageSaveData done [17:26:56]ExternCall_PrintAddStr [17:26:56]wPrintStart [17:26:56]Write to MH i2c: 01 00 00 81 0D 8E [17:26:56]Write i2c OK [17:26:56]MH_I2C_Read... [17:26:56]Read from MH i2c: 01 [17:26:56]MH_I2C_Read... [17:26:56]Read from MH i2c: 01 07 00 [17:26:56]MH_I2C_Read... [17:26:56]Read from MH i2c: 01 07 00 81 0D 00 00 00 00 00 FF 0F A3 [17:26:56]RasterBufferAndPrint [17:26:56]line Счет N : (3)34645 [17:26:56]line ИНН: 02508201610067 [17:26:56]line Контрольно-Кассовый Чек [17:26:56]line ПРОДАЖА [17:26:56]line Товар: 5449000325907 [17:26:56]line Напиток Фанта 0,45л ж/б [17:26:56]line 1.000 * 90.00 [17:26:56]line = 90.00 [17:26:56]line НДС 12% НСП 1% [17:26:56]line > о реализуемом товаре [17:26:56]line ИТОГО: 90.00 [17:26:56]line НСП 1% : 0.80 [17:26:56]line НДС 12% : 9.56 [17:26:56]line Наличными: 90.00 [17:26:56]line Безнал.: 0.00 [17:26:56]line Место: АЗС № 161 "Партнер Нефть" [17:26:56]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [17:26:56]line СНО: Общий режим [17:26:56]line Чек 43 20.10.2024 17:26 [17:26:56]line Смена: 455 ФФД: 1.0 [17:26:56]line ЗНМ: 0300000240 [17:26:56]line РНМ: 0000000000098147 [17:26:56]line Версия ККМ: 001 [17:26:56]line ФМ: 0000000000965376 [17:26:56]line ФД: 24885 [17:26:56]line ФПД: 47251800805928 [17:26:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T172658&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24885&fm=47251800805928&tin=02508201610067®Number=0000000000098147&sum=9000 [17:26:56]line 0 [17:26:56]OFD Sender: Processing packet 24885 [packets to send 5, broken 4] [17:26:56]ProducePacketName [17:26:56]name=ofd_packets/00024885 [17:26:56]OFD Sender: To server: pG, [17:26:56]CommunicateWithHost lk.salyk.kg:30040 [17:26:56]ConnectInit lk.salyk.kg [17:26:56]written 0, free lines is 4095 [17:26:56]Connected sock=10 [17:26:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2C 01 00 00 17 5C 24 01 50 A9 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 33 32 35 39 30 37 06 04 26 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 34 35 D0 BB 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 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 62 3D 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 35 61 00 00 35 04 06 00 2A F9 AA CD 52 28 EB E7 8C A8 68 F2 52 36 [17:26:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 FF 7F 47 00 33 16 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 35 61 00 00 F4 03 04 00 E1 E5 14 67 B6 04 01 00 00 8B B3 48 C4 33 69 07 84 [17:26:56]CommunicateWithHost err = 0 [17:26:56]CheckOFDResponse [17:26:56]1017 (14) - 77093643461234 [17:26:56]1041 (16) - 0000000000965376 [17:26:56]1040 (4) - 24885 [17:26:56]1012 (4) - 20.10.2024 11:13 [17:26:56]1206 (1) - 0 [17:26:56]OFD Sender: Remove packet 24885 [17:26:56]ProducePacketName [17:26:56]name=ofd_packets/00024885 [17:26:56]NVStorageDeleteData [17:26:56]Write to MH i2c: 01 00 00 A9 0D B6 [17:26:56]Write i2c OK [17:26:56]MH_I2C_Read... [17:26:56]Read from MH i2c: 01 [17:26:56]MH_I2C_Read... [17:26:56]Read from MH i2c: 01 07 00 [17:26:56]MH_I2C_Read... [17:26:56]Read from MH i2c: 01 07 00 A9 0D 00 00 00 00 00 FA 0C C3 [17:26:56]RasterBufferAndPrint [17:26:56]line [17:26:56]line [17:26:56]line [17:26:56]line [17:26:56]line [17:26:56]written 0, free lines is 3328 [17:26:56]process_action close_receipt done [17:26:56]requested_data is exist [17:26:56]produce_requested_data [17:26:56]requested_item fm.sn is exist - process it [17:26:56]wFMCommunicate request_size=4 [17:26:56]MH_SAM_APDU [17:26:56]CAPDU: 80 11 00 00 [17:26:56]Write to MH i2c: E2 08 00 B0 0D 80 11 00 00 00 00 00 00 37 [17:26:56]Write i2c OK [17:26:56]MH_I2C_Read... [17:26:56]Read from MH i2c: E2 [17:26:56]MH_I2C_Read... [17:26:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:26:56]Read from MH i2c: E2 17 00 [17:26:56]MH_I2C_Read... [17:26:56]Read from MH i2c: E2 17 00 B0 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 8E [17:26:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [17:26:56]wFMCommunicate OK [17:26:56]requested_item fd.num is exist - process it [17:26:56]SAM_PROTO_GetFieldsCounters [17:26:56]wFMCommunicate request_size=4 [17:26:56]MH_SAM_APDU [17:26:56]CAPDU: 80 13 00 00 [17:26:56]Write to MH i2c: E2 08 00 B1 0D 80 13 00 00 00 00 00 00 3A [17:26:56]Write i2c OK [17:26:56]MH_I2C_Read... [17:26:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:26:56]Read from MH i2c: E2 [17:26:56]MH_I2C_Read... [17:26:56]Read from MH i2c: E2 62 00 [17:26:56]MH_I2C_Read... [17:26:56]Read from MH i2c: E2 62 00 B1 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 35 61 00 00 0E 04 04 00 C7 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 42 [17:26:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 35 61 00 00 0E 04 04 00 C7 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 [17:26:56]wFMCommunicate OK [17:26:56]SAM_PROTO_GetFieldsCounters done [17:26:56]requested_item shift.num is exist - process it [17:26:56]requested_item shift.opened is exist - process it [17:26:56]req_shift_opened [17:26:56]FM_GetShiftState [17:26:56]SAM_PROTO_GetShiftState [17:26:56]wFMCommunicate request_size=4 [17:26:56]MH_SAM_APDU [17:26:56]CAPDU: 80 13 01 00 [17:26:56]Write to MH i2c: E2 08 00 B2 0D 80 13 01 00 00 00 00 00 3C [17:26:57]Write i2c OK [17:26:57]MH_I2C_Read... [17:26:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:26:57]Read from MH i2c: E2 [17:26:57]MH_I2C_Read... [17:26:57]Read from MH i2c: E2 0E 00 [17:26:57]MH_I2C_Read... [17:26:57]Read from MH i2c: E2 0E 00 B2 0D 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 82 [17:26:57]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [17:26:57]wFMCommunicate OK [17:26:57]SAM_PROTO_GetShiftState done [17:26:57]FM_GetShiftState done [17:26:57]req_shift_opened done [17:26:57]requested_item shift.open_date is exist - process it [17:26:57]req_shift_open_date [17:26:57]req_shift_open_date done [17:26:57]produce_requested_data done [17:26:57]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24885,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [17:26:57]process_action_free close_receipt [17:26:57]json_value_free [17:26:57]json_value_free done [17:26:57]process_json_proto returns [17:26:57]Send response to host [17:26:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24885,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [17:26:57]free response buf [17:26:57]execute_script done [17:26:57]execute_script returns [17:26:57]free content buf [17:26:57]Sock 9.Close socket [17:26:57]Sock 9.Thread stoped [17:26:57]OFD Sender: No OFD packet to send [17:27:02]OFD Sender: No OFD packet to send [17:27:07]OFD Sender: No OFD packet to send [17:27:12]OFD Sender: No OFD packet to send [17:27:17]OFD Sender: No OFD packet to send [17:27:22]OFD Sender: No OFD packet to send [17:27:27]OFD Sender: No OFD packet to send [17:27:32]OFD Sender: No OFD packet to send [17:27:37]OFD Sender: No OFD packet to send [17:27:42]OFD Sender: No OFD packet to send [17:27:47]OFD Sender: No OFD packet to send [17:27:52]OFD Sender: No OFD packet to send [17:27:57]OFD Sender: No OFD packet to send [17:28:02]OFD Sender: No OFD packet to send [17:28:07]OFD Sender: No OFD packet to send [17:28:12]OFD Sender: No OFD packet to send [17:28:17]OFD Sender: No OFD packet to send [17:28:22]OFD Sender: No OFD packet to send [17:28:27]OFD Sender: No OFD packet to send [17:28:32]OFD Sender: No OFD packet to send [17:28:37]OFD Sender: No OFD packet to send [17:28:42]OFD Sender: No OFD packet to send [17:28:47]OFD Sender: No OFD packet to send [17:28:52]OFD Sender: No OFD packet to send [17:28:57]OFD Sender: No OFD packet to send [17:29:02]OFD Sender: No OFD packet to send [17:29:07]OFD Sender: No OFD packet to send [17:29:12]OFD Sender: No OFD packet to send [17:29:17]OFD Sender: No OFD packet to send [17:29:22]OFD Sender: No OFD packet to send [17:29:27]OFD Sender: No OFD packet to send [17:29:32]OFD Sender: No OFD packet to send [17:29:37]OFD Sender: No OFD packet to send [17:29:42]OFD Sender: No OFD packet to send [17:29:47]OFD Sender: No OFD packet to send [17:29:52]OFD Sender: No OFD packet to send [17:29:57]OFD Sender: No OFD packet to send [17:30:02]OFD Sender: No OFD packet to send [17:30:07]OFD Sender: No OFD packet to send [17:30:12]OFD Sender: No OFD packet to send [17:30:17]OFD Sender: No OFD packet to send [17:30:22]OFD Sender: No OFD packet to send [17:30:27]OFD Sender: No OFD packet to send [17:30:32]OFD Sender: No OFD packet to send [17:30:37]OFD Sender: No OFD packet to send [17:30:42]OFD Sender: No OFD packet to send [17:30:47]OFD Sender: No OFD packet to send [17:30:52]OFD Sender: No OFD packet to send [17:30:57]OFD Sender: No OFD packet to send [17:31:02]OFD Sender: No OFD packet to send [17:31:07]OFD Sender: No OFD packet to send [17:31:12]OFD Sender: No OFD packet to send [17:31:17]OFD Sender: No OFD packet to send [17:31:22]OFD Sender: No OFD packet to send [17:31:27]OFD Sender: No OFD packet to send [17:31:32]OFD Sender: No OFD packet to send [17:31:37]OFD Sender: No OFD packet to send [17:31:42]OFD Sender: No OFD packet to send [17:31:47]OFD Sender: No OFD packet to send [17:31:52]OFD Sender: No OFD packet to send [17:31:57]OFD Sender: No OFD packet to send [17:32:02]OFD Sender: No OFD packet to send [17:32:07]OFD Sender: No OFD packet to send [17:32:12]OFD Sender: No OFD packet to send [17:32:17]OFD Sender: No OFD packet to send [17:32:22]OFD Sender: No OFD packet to send [17:32:27]OFD Sender: No OFD packet to send [17:32:32]OFD Sender: No OFD packet to send [17:32:37]OFD Sender: No OFD packet to send [17:32:42]OFD Sender: No OFD packet to send [17:32:47]OFD Sender: No OFD packet to send [17:32:52]OFD Sender: No OFD packet to send [17:32:57]OFD Sender: No OFD packet to send [17:33:02]OFD Sender: No OFD packet to send [17:33:07]OFD Sender: No OFD packet to send [17:33:12]OFD Sender: No OFD packet to send [17:33:17]OFD Sender: No OFD packet to send [17:33:22]OFD Sender: No OFD packet to send [17:33:27]OFD Sender: No OFD packet to send [17:33:32]OFD Sender: No OFD packet to send [17:33:37]OFD Sender: No OFD packet to send [17:33:42]OFD Sender: No OFD packet to send [17:33:47]OFD Sender: No OFD packet to send [17:33:52]OFD Sender: No OFD packet to send [17:33:57]OFD Sender: No OFD packet to send [17:34:02]OFD Sender: No OFD packet to send [17:34:07]OFD Sender: No OFD packet to send [17:34:12]OFD Sender: No OFD packet to send [17:34:17]OFD Sender: No OFD packet to send [17:34:22]OFD Sender: No OFD packet to send [17:34:27]OFD Sender: No OFD packet to send [17:34:32]OFD Sender: No OFD packet to send [17:34:37]OFD Sender: No OFD packet to send [17:34:42]OFD Sender: No OFD packet to send [17:34:47]OFD Sender: No OFD packet to send [17:34:52]OFD Sender: No OFD packet to send [17:34:57]OFD Sender: No OFD packet to send [17:35:02]OFD Sender: No OFD packet to send [17:35:07]OFD Sender: No OFD packet to send [17:35:12]OFD Sender: No OFD packet to send [17:35:17]OFD Sender: No OFD packet to send [17:35:22]OFD Sender: No OFD packet to send [17:35:27]OFD Sender: No OFD packet to send [17:35:32]OFD Sender: No OFD packet to send [17:35:37]OFD Sender: No OFD packet to send [17:35:42]OFD Sender: No OFD packet to send [17:35:47]OFD Sender: No OFD packet to send [17:35:52]OFD Sender: No OFD packet to send [17:35:57]OFD Sender: No OFD packet to send [17:36:02]OFD Sender: No OFD packet to send [17:36:07]OFD Sender: No OFD packet to send [17:36:12]OFD Sender: No OFD packet to send [17:36:17]OFD Sender: No OFD packet to send [17:36:22]OFD Sender: No OFD packet to send [17:36:26]accept exits with 7 [17:36:26]New connection [17:36:26]New thread 3067166052 created [17:36:26]Thread 3067309412 joined [17:36:26]Waiting for new connection... [17:36:26] Sock 7.Parse request [17:36:26]Sock 7.Check first char [17:36:26]Sock 7.First char is OK [17:36:26]request: POST /json_proto HTTP/1.0 [17:36:26]Method: POST [17:36:26]URL: /json_proto [17:36:26]Method is POST - this is cgi request [17:36:26]url: /json_proto [17:36:26]query_string will be loaded in cgi processing [17:36:26]execute_cgi json_proto POST (null) [17:36:26]execute_cgi path=json_proto method=POST [17:36:26]POST find Content-Length [17:36:26]Host: 172.17.53.196:8080 [17:36:26]Content-Length: 653 [17:36:26]Content-Type: application/json [17:36:26] [17:36:26]POST finish read [17:36:26]Found Content-Length = 653 [17:36:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34646", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:36:26]execute_script... [17:36: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)34646", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:36:26]POST & json_proto [17:36:26]process_json_proto [17:36:26]json parsed OK: [17:36:26]protocol is kg_v1.0 [17:36:26]action value=close_receipt [17:36:26]process_action close_receipt [17:36:26]cmd_close_receipt [17:36:26]MH_GetDate [17:36:26]Write to MH i2c: F0 00 00 B3 0D AF [17:36:26]Write i2c OK [17:36:26]MH_I2C_Read... [17:36:26]Read from MH i2c: F0 [17:36:26]MH_I2C_Read... [17:36:26]Read from MH i2c: F0 09 00 [17:36:26]MH_I2C_Read... [17:36:26]Read from MH i2c: F0 09 00 B3 0D 00 9E 3F 15 67 4F CD 9A 65 2C [17:36:26]GetLastDocTimeStamp 1729445218 [17:36:26]current date 1729445790 [17:36:26]FM_GetShiftState [17:36:26]SAM_PROTO_GetShiftState [17:36:26]wFMCommunicate request_size=4 [17:36:26]MH_SAM_APDU [17:36:26]CAPDU: 80 13 01 00 [17:36:26]Write to MH i2c: E2 08 00 B4 0D 80 13 01 00 00 00 00 00 3E [17:36:26]Write i2c OK [17:36:26]MH_I2C_Read... [17:36:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:36:26]Read from MH i2c: E2 [17:36:26]MH_I2C_Read... [17:36:26]Read from MH i2c: E2 0E 00 [17:36:26]MH_I2C_Read... [17:36:26]Read from MH i2c: E2 0E 00 B4 0D 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 84 [17:36:26]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [17:36:26]wFMCommunicate OK [17:36:26]SAM_PROTO_GetShiftState done [17:36:26]FM_GetShiftState done [17:36:26]opened in 1729384049 [17:36:26]opened+sec_in_day 1729470449 [17:36:26]quantity*price = 15000 [17:36:26]sum+1 = 15001 [17:36:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 44 20.10.2024 17:36 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24886 ФПД: 259904622256795 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T173630&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24886&fm=259904622256795&tin=02508201610067®Number=0000000000098147&sum=15000 0 [17:36:27]StoreToDocumentArchive [17:36:27]shift 455 fd 24886 [17:36:27]save to /storage/0455/doc_00024886 [17:36:27]save last doc name /storage/0455/doc_00024886 to /storage/kkm_last_doc_name [17:36:27]save OK [17:36:27]Clear old archive folders... [17:36:27]ProcessDocumentItem done err = 0, tmpTLVsize=275 [17:36:27]tlvbuf is 00DC4B60 [17:36:27]SAM_PROTO_ClearQueue [17:36:27]wFMCommunicate request_size=4 [17:36:27]MH_SAM_APDU [17:36:27]CAPDU: 80 09 00 00 [17:36:27]Write to MH i2c: E2 08 00 C1 0D 80 09 00 00 00 00 00 00 40 [17:36:27]Write i2c OK [17:36:27]MH_I2C_Read... [17:36:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:36:27]Read from MH i2c: E2 [17:36:27]MH_I2C_Read... [17:36:27]Read from MH i2c: E2 03 00 [17:36:27]MH_I2C_Read... [17:36:27]Read from MH i2c: E2 03 00 C1 0D 00 90 00 42 [17:36:27]RAPDU: 90 00 [17:36:27]wFMCommunicate OK [17:36:27]SAM_PROTO_ClearQueue done [17:36:27]KKMCreateOFDPacket [17:36:27]OFDProtocolAddRootSTLVToBuf [17:36:27]FM_MakeSignedData [17:36:27]FM_MakeSignedData [17:36:27]SAM_PROTO_SignData [17:36:27]wFMCommunicate request_size=4 [17:36:27]MH_SAM_APDU [17:36:27]CAPDU: 80 0D 01 02 [17:36:27]Write to MH i2c: E2 08 00 C2 0D 80 0D 01 02 00 00 00 00 48 [17:36:27]Write i2c OK [17:36:27]MH_I2C_Read... [17:36:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:36:27]Read from MH i2c: E2 [17:36:27]MH_I2C_Read... [17:36:27]Read from MH i2c: E2 03 00 [17:36:27]MH_I2C_Read... [17:36:27]Read from MH i2c: E2 03 00 C2 0D 00 90 00 43 [17:36:27]RAPDU: 90 00 [17:36:27]wFMCommunicate OK [17:36:27]wFMCommunicate request_size=255 [17:36:27]MH_SAM_APDU [17:36:27]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 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 2C 00 00 00 F4 03 04 00 9E 3F 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 [17:36:27]Write to MH i2c: E2 02 01 C3 0D 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 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 2C 00 00 00 F4 03 04 00 9E 3F 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 00 00 12 [17:36:27]Write i2c OK [17:36:27]MH_I2C_Read... [17:36:27]OFD Sender: No OFD packet to send [17:36:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:36:27]Read from MH i2c: E2 [17:36:27]MH_I2C_Read... [17:36:27]Read from MH i2c: E2 03 00 [17:36:27]MH_I2C_Read... [17:36:27]Read from MH i2c: E2 03 00 C3 0D 00 90 00 44 [17:36:27]RAPDU: 90 00 [17:36:27]wFMCommunicate OK [17:36:27]wFMCommunicate request_size=34 [17:36:27]MH_SAM_APDU [17:36:27]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 36 61 00 00 35 04 06 00 EC 61 C2 AF 62 9B [17:36:27]Write to MH i2c: E2 25 00 C4 0D 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 36 61 00 00 35 04 06 00 EC 61 C2 AF 62 9B 00 00 62 [17:36:27]Write i2c OK [17:36:27]MH_I2C_Read... [17:36:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:36:27]Read from MH i2c: E2 [17:36:27]MH_I2C_Read... [17:36:27]Read from MH i2c: E2 03 00 [17:36:27]MH_I2C_Read... [17:36:27]Read from MH i2c: E2 03 00 C4 0D 00 90 00 45 [17:36:27]RAPDU: 90 00 [17:36:27]wFMCommunicate OK [17:36:27]wFMCommunicate request_size=4 [17:36:27]MH_SAM_APDU [17:36:27]CAPDU: 80 0D 03 02 [17:36:27]Write to MH i2c: E2 08 00 C5 0D 80 0D 03 02 00 00 00 00 4D [17:36:27]Write i2c OK [17:36:27]MH_I2C_Read... [17:36:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:36:27]Read from MH i2c: E2 [17:36:27]MH_I2C_Read... [17:36:27]Read from MH i2c: E2 0B 00 [17:36:27]MH_I2C_Read... [17:36:27]Read from MH i2c: E2 0B 00 C5 0D 00 E2 4B BF F0 8D AD AD B5 90 00 C6 [17:36:27]RAPDU: E2 4B BF F0 8D AD AD B5 90 00 [17:36:27]wFMCommunicate OK [17:36:27]SAM_PROTO_SignData done [17:36:27]FM_MakeSignedData done [17:36:27]CreateOFDProtocolMessage [17:36:27]wFMCommunicate request_size=4 [17:36:27]MH_SAM_APDU [17:36:27]CAPDU: 80 11 00 00 [17:36:27]Write to MH i2c: E2 08 00 C6 0D 80 11 00 00 00 00 00 00 4D [17:36:27]Write i2c OK [17:36:27]MH_I2C_Read... [17:36:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:36:27]Read from MH i2c: E2 [17:36:27]MH_I2C_Read... [17:36:27]Read from MH i2c: E2 17 00 [17:36:27]MH_I2C_Read... [17:36:27]Read from MH i2c: E2 17 00 C6 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 A4 [17:36:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [17:36:27]wFMCommunicate OK [17:36:27]CreateOFDProtocolMessage done [17:36:27]OFDSenderStorePacket 24886 [17:36:27]StoreOFDPacket docnum=24886 [17:36:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 4D 1A 1F 01 72 4C 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 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 2C 00 00 00 F4 03 04 00 9E 3F 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 36 61 00 00 35 04 06 00 EC 61 C2 AF 62 9B E2 4B BF F0 8D AD AD B5 [17:36:27]CheckFolder [17:36:27]dirname=/storage/ofd_packets [17:36:27]CheckFolder done [17:36:27]ProducePacketName [17:36:27]name=ofd_packets/00024886 [17:36:27]NVStorageSaveData ofd_packets/00024886 [17:36:27]File name is /storage/ofd_packets/00024886 [17:36:27]Write 325 bytes [17:36:27]NVStorageSaveData done [17:36:27]OFDSenderStorePacket done [17:36:27]KKMCreateOFDPacket done [17:36:27]NVStorageSaveData kkm_last_timestamp [17:36:27]File name is /storage/kkm_last_timestamp [17:36:27]Write 4 bytes [17:36:27]NVStorageSaveData done [17:36:27]ExternCall_PrintAddStr [17:36:27]wPrintStart [17:36:27]Write to MH i2c: 01 00 00 C7 0D D4 [17:36:27]Write i2c OK [17:36:27]MH_I2C_Read... [17:36:27]Read from MH i2c: 01 [17:36:27]MH_I2C_Read... [17:36:27]Read from MH i2c: 01 07 00 [17:36:27]MH_I2C_Read... [17:36:27]Read from MH i2c: 01 07 00 C7 0D 00 00 00 00 00 FF 0F E9 [17:36:27]RasterBufferAndPrint [17:36:27]line Счет N : (3)34646 [17:36:27]line ИНН: 02508201610067 [17:36:27]line Контрольно-Кассовый Чек [17:36:27]line ПРОДАЖА [17:36:27]line Товар: 54491472 [17:36:27]line Напиток Кока-Кола 0,5л [17:36:27]line 2.000 * 75.00 [17:36:27]line = 150.00 [17:36:27]line НДС 12% НСП 1% [17:36:27]line > о реализуемом товаре [17:36:27]line ИТОГО: 150.00 [17:36:27]line НСП 1% : 1.33 [17:36:27]line НДС 12% : 15.93 [17:36:27]line Наличными: 150.00 [17:36:27]line Безнал.: 0.00 [17:36:27]line Место: АЗС № 161 "Партнер Нефть" [17:36:27]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [17:36:27]line СНО: Общий режим [17:36:27]line Чек 44 20.10.2024 17:36 [17:36:27]line Смена: 455 ФФД: 1.0 [17:36:27]line ЗНМ: 0300000240 [17:36:27]line РНМ: 0000000000098147 [17:36:27]line Версия ККМ: 001 [17:36:27]line ФМ: 0000000000965376 [17:36:27]line ФД: 24886 [17:36:27]line ФПД: 259904622256795 [17:36:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T173630&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24886&fm=259904622256795&tin=02508201610067®Number=0000000000098147&sum=15000 [17:36:28]line 0 [17:36:28]OFD Sender: Processing packet 24886 [packets to send 5, broken 4] [17:36:28]ProducePacketName [17:36:28]name=ofd_packets/00024886 [17:36:28]OFD Sender: To server: pG, [17:36:28]CommunicateWithHost lk.salyk.kg:30040 [17:36:28]ConnectInit lk.salyk.kg [17:36:28]written 0, free lines is 4095 [17:36:28]Connected sock=10 [17:36:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 4D 1A 1F 01 72 4C 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 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 2C 00 00 00 F4 03 04 00 9E 3F 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 36 61 00 00 35 04 06 00 EC 61 C2 AF 62 9B E2 4B BF F0 8D AD AD B5 [17:36:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 97 74 47 00 30 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 33 37 36 10 04 04 00 36 61 00 00 F4 03 04 00 1D E8 14 67 B6 04 01 00 00 3C 62 BF 83 BE B3 D8 0E [17:36:28]CommunicateWithHost err = 0 [17:36:28]CheckOFDResponse [17:36:28]1017 (14) - 77093643461234 [17:36:28]1041 (16) - 0000000000965376 [17:36:28]1040 (4) - 24886 [17:36:28]1012 (4) - 20.10.2024 11:23 [17:36:28]1206 (1) - 0 [17:36:28]OFD Sender: Remove packet 24886 [17:36:28]ProducePacketName [17:36:28]name=ofd_packets/00024886 [17:36:28]NVStorageDeleteData [17:36:28]Write to MH i2c: 01 00 00 EF 0D FC [17:36:28]Write i2c OK [17:36:28]MH_I2C_Read... [17:36:28]Read from MH i2c: 01 [17:36:28]MH_I2C_Read... [17:36:28]Read from MH i2c: 01 07 00 [17:36:28]MH_I2C_Read... [17:36:28]Read from MH i2c: 01 07 00 EF 0D 00 00 00 00 00 ED 0C FC [17:36:28]RasterBufferAndPrint [17:36:28]line [17:36:28]line [17:36:28]line [17:36:28]line [17:36:28]line [17:36:28]written 0, free lines is 3315 [17:36:28]process_action close_receipt done [17:36:28]requested_data is exist [17:36:28]produce_requested_data [17:36:28]requested_item fm.sn is exist - process it [17:36:28]wFMCommunicate request_size=4 [17:36:28]MH_SAM_APDU [17:36:28]CAPDU: 80 11 00 00 [17:36:28]Write to MH i2c: E2 08 00 F6 0D 80 11 00 00 00 00 00 00 7D [17:36:28]Write i2c OK [17:36:28]MH_I2C_Read... [17:36:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:36:28]Read from MH i2c: E2 [17:36:28]MH_I2C_Read... [17:36:28]Read from MH i2c: E2 17 00 [17:36:28]MH_I2C_Read... [17:36:28]Read from MH i2c: E2 17 00 F6 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 D4 [17:36:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [17:36:28]wFMCommunicate OK [17:36:28]requested_item fd.num is exist - process it [17:36:28]SAM_PROTO_GetFieldsCounters [17:36:28]wFMCommunicate request_size=4 [17:36:28]MH_SAM_APDU [17:36:28]CAPDU: 80 13 00 00 [17:36:28]Write to MH i2c: E2 08 00 F7 0D 80 13 00 00 00 00 00 00 80 [17:36:28]Write i2c OK [17:36:28]MH_I2C_Read... [17:36:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:36:28]Read from MH i2c: E2 [17:36:28]MH_I2C_Read... [17:36:28]Read from MH i2c: E2 62 00 [17:36:28]MH_I2C_Read... [17:36:28]Read from MH i2c: E2 62 00 F7 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 36 61 00 00 0E 04 04 00 C7 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 8C [17:36:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 36 61 00 00 0E 04 04 00 C7 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 [17:36:28]wFMCommunicate OK [17:36:28]SAM_PROTO_GetFieldsCounters done [17:36:28]requested_item shift.num is exist - process it [17:36:28]requested_item shift.opened is exist - process it [17:36:28]req_shift_opened [17:36:28]FM_GetShiftState [17:36:28]SAM_PROTO_GetShiftState [17:36:28]wFMCommunicate request_size=4 [17:36:28]MH_SAM_APDU [17:36:28]CAPDU: 80 13 01 00 [17:36:28]Write to MH i2c: E2 08 00 F8 0D 80 13 01 00 00 00 00 00 82 [17:36:28]Write i2c OK [17:36:28]MH_I2C_Read... [17:36:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:36:28]Read from MH i2c: E2 [17:36:28]MH_I2C_Read... [17:36:28]Read from MH i2c: E2 0E 00 [17:36:28]MH_I2C_Read... [17:36:28]Read from MH i2c: E2 0E 00 F8 0D 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 C8 [17:36:28]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [17:36:28]wFMCommunicate OK [17:36:28]SAM_PROTO_GetShiftState done [17:36:28]FM_GetShiftState done [17:36:28]req_shift_opened done [17:36:28]requested_item shift.open_date is exist - process it [17:36:28]req_shift_open_date [17:36:28]req_shift_open_date done [17:36:28]produce_requested_data done [17:36:28]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24886,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [17:36:28]process_action_free close_receipt [17:36:28]json_value_free [17:36:28]json_value_free done [17:36:28]process_json_proto returns [17:36:28]Send response to host [17:36:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24886,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [17:36:28]free response buf [17:36:28]execute_script done [17:36:28]execute_script returns [17:36:28]free content buf [17:36:28]Sock 7.Close socket [17:36:28]Sock 7.Thread stoped [17:36:29]OFD Sender: No OFD packet to send [17:36:34]OFD Sender: No OFD packet to send [17:36:39]OFD Sender: No OFD packet to send [17:36:44]OFD Sender: No OFD packet to send [17:36:49]OFD Sender: No OFD packet to send [17:36:54]OFD Sender: No OFD packet to send [17:36:59]OFD Sender: No OFD packet to send [17:37:04]OFD Sender: No OFD packet to send [17:37:09]OFD Sender: No OFD packet to send [17:37:14]OFD Sender: No OFD packet to send [17:37:19]OFD Sender: No OFD packet to send [17:37:24]OFD Sender: No OFD packet to send [17:37:29]OFD Sender: No OFD packet to send [17:37:34]OFD Sender: No OFD packet to send [17:37:39]OFD Sender: No OFD packet to send [17:37:44]OFD Sender: No OFD packet to send [17:37:49]OFD Sender: No OFD packet to send [17:37:54]OFD Sender: No OFD packet to send [17:37:59]OFD Sender: No OFD packet to send [17:38:04]OFD Sender: No OFD packet to send [17:38:09]OFD Sender: No OFD packet to send [17:38:14]OFD Sender: No OFD packet to send [17:38:19]OFD Sender: No OFD packet to send [17:38:24]OFD Sender: No OFD packet to send [17:38:29]OFD Sender: No OFD packet to send [17:38:34]OFD Sender: No OFD packet to send [17:38:39]OFD Sender: No OFD packet to send [17:38:44]OFD Sender: No OFD packet to send [17:38:49]OFD Sender: No OFD packet to send [17:38:54]OFD Sender: No OFD packet to send [17:38:59]OFD Sender: No OFD packet to send [17:39:04]OFD Sender: No OFD packet to send [17:39:09]OFD Sender: No OFD packet to send [17:39:14]OFD Sender: No OFD packet to send [17:39:19]OFD Sender: No OFD packet to send [17:39:24]OFD Sender: No OFD packet to send [17:39:29]OFD Sender: No OFD packet to send [17:39:34]OFD Sender: No OFD packet to send [17:39:39]OFD Sender: No OFD packet to send [17:39:44]OFD Sender: No OFD packet to send [17:39:49]OFD Sender: No OFD packet to send [17:39:54]OFD Sender: No OFD packet to send [17:39:59]OFD Sender: No OFD packet to send [17:40:04]OFD Sender: No OFD packet to send [17:40:09]OFD Sender: No OFD packet to send [17:40:14]OFD Sender: No OFD packet to send [17:40:19]OFD Sender: No OFD packet to send [17:40:24]OFD Sender: No OFD packet to send [17:40:29]OFD Sender: No OFD packet to send [17:40:34]OFD Sender: No OFD packet to send [17:40:39]OFD Sender: No OFD packet to send [17:40:44]OFD Sender: No OFD packet to send [17:40:49]OFD Sender: No OFD packet to send [17:40:54]OFD Sender: No OFD packet to send [17:40:59]OFD Sender: No OFD packet to send [17:41:04]OFD Sender: No OFD packet to send [17:41:09]OFD Sender: No OFD packet to send [17:41:14]OFD Sender: No OFD packet to send [17:41:19]OFD Sender: No OFD packet to send [17:41:24]OFD Sender: No OFD packet to send [17:41:29]OFD Sender: No OFD packet to send [17:41:34]OFD Sender: No OFD packet to send [17:41:39]OFD Sender: No OFD packet to send [17:41:44]OFD Sender: No OFD packet to send [17:41:49]OFD Sender: No OFD packet to send [17:41:54]OFD Sender: No OFD packet to send [17:41:59]OFD Sender: No OFD packet to send [17:42:04]OFD Sender: No OFD packet to send [17:42:09]OFD Sender: No OFD packet to send [17:42:14]OFD Sender: No OFD packet to send [17:42:19]OFD Sender: No OFD packet to send [17:42:24]OFD Sender: No OFD packet to send [17:42:29]OFD Sender: No OFD packet to send [17:42:34]OFD Sender: No OFD packet to send [17:42:39]OFD Sender: No OFD packet to send [17:42:44]OFD Sender: No OFD packet to send [17:42:49]OFD Sender: No OFD packet to send [17:42:54]OFD Sender: No OFD packet to send [17:42:59]OFD Sender: No OFD packet to send [17:43:04]OFD Sender: No OFD packet to send [17:43:09]OFD Sender: No OFD packet to send [17:43:14]OFD Sender: No OFD packet to send [17:43:19]OFD Sender: No OFD packet to send [17:43:24]OFD Sender: No OFD packet to send [17:43:29]OFD Sender: No OFD packet to send [17:43:34]OFD Sender: No OFD packet to send [17:43:39]OFD Sender: No OFD packet to send [17:43:44]OFD Sender: No OFD packet to send [17:43:49]OFD Sender: No OFD packet to send [17:43:54]OFD Sender: No OFD packet to send [17:43:59]OFD Sender: No OFD packet to send [17:44:04]OFD Sender: No OFD packet to send [17:44:09]OFD Sender: No OFD packet to send [17:44:14]OFD Sender: No OFD packet to send [17:44:19]OFD Sender: No OFD packet to send [17:44:24]OFD Sender: No OFD packet to send [17:44:29]OFD Sender: No OFD packet to send [17:44:34]OFD Sender: No OFD packet to send [17:44:39]OFD Sender: No OFD packet to send [17:44:44]OFD Sender: No OFD packet to send [17:44:49]OFD Sender: No OFD packet to send [17:44:54]OFD Sender: No OFD packet to send [17:44:59]OFD Sender: No OFD packet to send [17:45:04]OFD Sender: No OFD packet to send [17:45:09]OFD Sender: No OFD packet to send [17:45:14]OFD Sender: No OFD packet to send [17:45:19]OFD Sender: No OFD packet to send [17:45:24]OFD Sender: No OFD packet to send [17:45:29]OFD Sender: No OFD packet to send [17:45:34]OFD Sender: No OFD packet to send [17:45:39]OFD Sender: No OFD packet to send [17:45:44]OFD Sender: No OFD packet to send [17:45:49]OFD Sender: No OFD packet to send [17:45:54]OFD Sender: No OFD packet to send [17:45:59]OFD Sender: No OFD packet to send [17:46:04]OFD Sender: No OFD packet to send [17:46:09]OFD Sender: No OFD packet to send [17:46:14]OFD Sender: No OFD packet to send [17:46:19]OFD Sender: No OFD packet to send [17:46:24]OFD Sender: No OFD packet to send [17:46:29]OFD Sender: No OFD packet to send [17:46:34]OFD Sender: No OFD packet to send [17:46:39]OFD Sender: No OFD packet to send [17:46:44]OFD Sender: No OFD packet to send [17:46:49]OFD Sender: No OFD packet to send [17:46:54]OFD Sender: No OFD packet to send [17:46:59]OFD Sender: No OFD packet to send [17:47:04]OFD Sender: No OFD packet to send [17:47:09]OFD Sender: No OFD packet to send [17:47:14]OFD Sender: No OFD packet to send [17:47:19]OFD Sender: No OFD packet to send [17:47:24]OFD Sender: No OFD packet to send [17:47:29]OFD Sender: No OFD packet to send [17:47:34]OFD Sender: No OFD packet to send [17:47:39]OFD Sender: No OFD packet to send [17:47:44]OFD Sender: No OFD packet to send [17:47:49]OFD Sender: No OFD packet to send [17:47:54]OFD Sender: No OFD packet to send [17:47:59]OFD Sender: No OFD packet to send [17:48:04]OFD Sender: No OFD packet to send [17:48:09]OFD Sender: No OFD packet to send [17:48:14]OFD Sender: No OFD packet to send [17:48:19]OFD Sender: No OFD packet to send [17:48:24]OFD Sender: No OFD packet to send [17:48:29]OFD Sender: No OFD packet to send [17:48:34]OFD Sender: No OFD packet to send [17:48:39]OFD Sender: No OFD packet to send [17:48:44]OFD Sender: No OFD packet to send [17:48:49]OFD Sender: No OFD packet to send [17:48:54]OFD Sender: No OFD packet to send [17:48:59]OFD Sender: No OFD packet to send [17:49:04]OFD Sender: No OFD packet to send [17:49:09]OFD Sender: No OFD packet to send [17:49:14]OFD Sender: No OFD packet to send [17:49:19]OFD Sender: No OFD packet to send [17:49:24]OFD Sender: No OFD packet to send [17:49:29]OFD Sender: No OFD packet to send [17:49:34]OFD Sender: No OFD packet to send [17:49:39]OFD Sender: No OFD packet to send [17:49:44]OFD Sender: No OFD packet to send [17:49:49]OFD Sender: No OFD packet to send [17:49:54]OFD Sender: No OFD packet to send [17:49:59]OFD Sender: No OFD packet to send [17:50:04]OFD Sender: No OFD packet to send [17:50:09]OFD Sender: No OFD packet to send [17:50:14]OFD Sender: No OFD packet to send [17:50:19]OFD Sender: No OFD packet to send [17:50:24]OFD Sender: No OFD packet to send [17:50:29]OFD Sender: No OFD packet to send [17:50:34]OFD Sender: No OFD packet to send [17:50:39]OFD Sender: No OFD packet to send [17:50:44]OFD Sender: No OFD packet to send [17:50:49]OFD Sender: No OFD packet to send [17:50:54]OFD Sender: No OFD packet to send [17:50:59]OFD Sender: No OFD packet to send [17:51:04]OFD Sender: No OFD packet to send [17:51:09]OFD Sender: No OFD packet to send [17:51:14]OFD Sender: No OFD packet to send [17:51:19]OFD Sender: No OFD packet to send [17:51:24]OFD Sender: No OFD packet to send [17:51:29]OFD Sender: No OFD packet to send [17:51:34]OFD Sender: No OFD packet to send [17:51:39]OFD Sender: No OFD packet to send [17:51:44]OFD Sender: No OFD packet to send [17:51:49]OFD Sender: No OFD packet to send [17:51:54]OFD Sender: No OFD packet to send [17:51:59]OFD Sender: No OFD packet to send [17:52:04]OFD Sender: No OFD packet to send [17:52:09]OFD Sender: No OFD packet to send [17:52:14]OFD Sender: No OFD packet to send [17:52:19]OFD Sender: No OFD packet to send [17:52:24]OFD Sender: No OFD packet to send [17:52:29]OFD Sender: No OFD packet to send [17:52:34]OFD Sender: No OFD packet to send [17:52:39]OFD Sender: No OFD packet to send [17:52:44]OFD Sender: No OFD packet to send [17:52:49]OFD Sender: No OFD packet to send [17:52:54]OFD Sender: No OFD packet to send [17:52:59]OFD Sender: No OFD packet to send [17:53:04]OFD Sender: No OFD packet to send [17:53:09]OFD Sender: No OFD packet to send [17:53:14]OFD Sender: No OFD packet to send [17:53:19]OFD Sender: No OFD packet to send [17:53:24]OFD Sender: No OFD packet to send [17:53:29]OFD Sender: No OFD packet to send [17:53:34]OFD Sender: No OFD packet to send [17:53:39]OFD Sender: No OFD packet to send [17:53:44]OFD Sender: No OFD packet to send [17:53:49]OFD Sender: No OFD packet to send [17:53:54]OFD Sender: No OFD packet to send [17:53:59]OFD Sender: No OFD packet to send [17:54:04]OFD Sender: No OFD packet to send [17:54:09]OFD Sender: No OFD packet to send [17:54:14]OFD Sender: No OFD packet to send [17:54:19]OFD Sender: No OFD packet to send [17:54:24]OFD Sender: No OFD packet to send [17:54:29]OFD Sender: No OFD packet to send [17:54:34]OFD Sender: No OFD packet to send [17:54:39]OFD Sender: No OFD packet to send [17:54:44]OFD Sender: No OFD packet to send [17:54:49]OFD Sender: No OFD packet to send [17:54:54]OFD Sender: No OFD packet to send [17:54:59]OFD Sender: No OFD packet to send [17:55:04]OFD Sender: No OFD packet to send [17:55:09]OFD Sender: No OFD packet to send [17:55:14]OFD Sender: No OFD packet to send [17:55:19]OFD Sender: No OFD packet to send [17:55:24]OFD Sender: No OFD packet to send [17:55:29]OFD Sender: No OFD packet to send [17:55:34]OFD Sender: No OFD packet to send [17:55:40]OFD Sender: No OFD packet to send [17:55:45]OFD Sender: No OFD packet to send [17:55:50]OFD Sender: No OFD packet to send [17:55:55]OFD Sender: No OFD packet to send [17:56:00]OFD Sender: No OFD packet to send [17:56:05]OFD Sender: No OFD packet to send [17:56:10]OFD Sender: No OFD packet to send [17:56:15]OFD Sender: No OFD packet to send [17:56:20]OFD Sender: No OFD packet to send [17:56:25]OFD Sender: No OFD packet to send [17:56:30]OFD Sender: No OFD packet to send [17:56:35]OFD Sender: No OFD packet to send [17:56:40]OFD Sender: No OFD packet to send [17:56:45]OFD Sender: No OFD packet to send [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:02]accept exits with 9 [17:59:02]New connection [17:59:02]New thread 3067309412 created [17:59:02]Thread 3067166052 joined [17:59:02]Waiting for new connection... [17:59:02] Sock 9.Parse request [17:59:02]Sock 9.Check first char [17:59:02]Sock 9.First char is OK [17:59:02]request: POST /json_proto HTTP/1.0 [17:59:02]Method: POST [17:59:02]URL: /json_proto [17:59:02]Method is POST - this is cgi request [17:59:02]url: /json_proto [17:59:02]query_string will be loaded in cgi processing [17:59:02]execute_cgi json_proto POST (null) [17:59:02]execute_cgi path=json_proto method=POST [17:59:02]POST find Content-Length [17:59:02]Host: 172.17.53.196:8080 [17:59:02]Content-Length: 569 [17:59:02]Content-Type: application/json [17:59:02] [17:59:02]POST finish read [17:59:02]Found Content-Length = 569 [17:59:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34647", "tax_sys" : 0, "items" : [ { "code": "48744546", "name": "LD Compact Silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:59:02]execute_script... [17:59: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)34647", "tax_sys" : 0, "items" : [ { "code": "48744546", "name": "LD Compact Silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:59:02]POST & json_proto [17:59:02]process_json_proto [17:59:02]json parsed OK: [17:59:02]protocol is kg_v1.0 [17:59:02]action value=close_receipt [17:59:02]process_action close_receipt [17:59:02]cmd_close_receipt [17:59:02]MH_GetDate [17:59:02]Write to MH i2c: F0 00 00 F9 0D F5 [17:59:02]Write i2c OK [17:59:02]MH_I2C_Read... [17:59:02]Read from MH i2c: F0 [17:59:02]MH_I2C_Read... [17:59:02]Read from MH i2c: F0 09 00 [17:59:02]MH_I2C_Read... [17:59:02]Read from MH i2c: F0 09 00 F9 0D 00 EA 44 15 67 4F CD 9A 65 C3 [17:59:02]GetLastDocTimeStamp 1729445790 [17:59:02]current date 1729447146 [17:59:02]FM_GetShiftState [17:59:02]SAM_PROTO_GetShiftState [17:59:02]wFMCommunicate request_size=4 [17:59:02]MH_SAM_APDU [17:59:02]CAPDU: 80 13 01 00 [17:59:02]Write to MH i2c: E2 08 00 FA 0D 80 13 01 00 00 00 00 00 84 [17:59:02]Write i2c OK [17:59:02]MH_I2C_Read... [17:59:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:59:02]Read from MH i2c: E2 [17:59:02]MH_I2C_Read... [17:59:02]Read from MH i2c: E2 0E 00 [17:59:02]MH_I2C_Read... [17:59:02]Read from MH i2c: E2 0E 00 FA 0D 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 CA [17:59:02]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [17:59:02]wFMCommunicate OK [17:59:02]SAM_PROTO_GetShiftState done [17:59:02]FM_GetShiftState done [17:59:02]opened in 1729384049 [17:59:02]opened+sec_in_day 1729470449 [17:59:02]quantity*price = 13400 [17:59:02]sum+1 = 13401 [17:59:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 НСП 1% : 1.19 НДС 12% : 14.23 Наличными: 134.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 45 20.10.2024 17:59 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24887 ФПД: 118444444046389 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T175906&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24887&fm=118444444046389&tin=02508201610067®Number=0000000000098147&sum=13400 0 [17:59:03]StoreToDocumentArchive [17:59:03]shift 455 fd 24887 [17:59:03]save to /storage/0455/doc_00024887 [17:59:03]save last doc name /storage/0455/doc_00024887 to /storage/kkm_last_doc_name [17:59:03]save OK [17:59:03]Clear old archive folders... [17:59:03]ProcessDocumentItem done err = 0, tmpTLVsize=254 [17:59:03]tlvbuf is 00DEA6D0 [17:59:03]SAM_PROTO_ClearQueue [17:59:03]wFMCommunicate request_size=4 [17:59:03]MH_SAM_APDU [17:59:03]CAPDU: 80 09 00 00 [17:59:03]Write to MH i2c: E2 08 00 07 0E 80 09 00 00 00 00 00 00 87 [17:59:03]Write i2c OK [17:59:03]MH_I2C_Read... [17:59:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:59:03]Read from MH i2c: E2 [17:59:03]MH_I2C_Read... [17:59:03]Read from MH i2c: E2 03 00 [17:59:03]MH_I2C_Read... [17:59:03]Read from MH i2c: E2 03 00 07 0E 00 90 00 89 [17:59:03]RAPDU: 90 00 [17:59:03]wFMCommunicate OK [17:59:03]SAM_PROTO_ClearQueue done [17:59:03]KKMCreateOFDPacket [17:59:03]OFDProtocolAddRootSTLVToBuf [17:59:03]FM_MakeSignedData [17:59:03]FM_MakeSignedData [17:59:03]SAM_PROTO_SignData [17:59:03]wFMCommunicate request_size=4 [17:59:03]MH_SAM_APDU [17:59:03]CAPDU: 80 0D 01 02 [17:59:03]Write to MH i2c: E2 08 00 08 0E 80 0D 01 02 00 00 00 00 8F [17:59:03]Write i2c OK [17:59:03]MH_I2C_Read... [17:59:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:59:03]Read from MH i2c: E2 [17:59:03]MH_I2C_Read... [17:59:03]Read from MH i2c: E2 03 00 [17:59:03]MH_I2C_Read... [17:59:03]Read from MH i2c: E2 03 00 08 0E 00 90 00 8A [17:59:03]RAPDU: 90 00 [17:59:03]wFMCommunicate OK [17:59:03]wFMCommunicate request_size=255 [17:59:03]MH_SAM_APDU [17:59:03]CAPDU: 80 0D 02 02 FA 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 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 2D 00 00 00 F4 03 04 00 EA 44 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 37 61 00 00 35 04 [17:59:03]Write to MH i2c: E2 02 01 09 0E 80 0D 02 02 FA 00 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 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 2D 00 00 00 F4 03 04 00 EA 44 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 37 61 00 00 35 04 00 00 49 [17:59:03]Write i2c OK [17:59:03]MH_I2C_Read... [17:59:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:59:03]Read from MH i2c: E2 [17:59:03]MH_I2C_Read... [17:59:03]Read from MH i2c: E2 03 00 [17:59:03]MH_I2C_Read... [17:59:03]Read from MH i2c: E2 03 00 09 0E 00 90 00 8B [17:59:03]RAPDU: 90 00 [17:59:03]wFMCommunicate OK [17:59:03]wFMCommunicate request_size=13 [17:59:03]MH_SAM_APDU [17:59:03]CAPDU: 80 0D 02 02 08 06 00 6B B9 7F 03 54 35 [17:59:03]Write to MH i2c: E2 10 00 0A 0E 80 0D 02 02 08 00 06 00 6B B9 7F 03 54 35 00 00 D7 [17:59:03]Write i2c OK [17:59:03]MH_I2C_Read... [17:59:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:59:03]Read from MH i2c: E2 [17:59:03]MH_I2C_Read... [17:59:03]Read from MH i2c: E2 03 00 [17:59:03]MH_I2C_Read... [17:59:03]Read from MH i2c: E2 03 00 0A 0E 00 90 00 8C [17:59:03]RAPDU: 90 00 [17:59:03]wFMCommunicate OK [17:59:03]wFMCommunicate request_size=4 [17:59:03]MH_SAM_APDU [17:59:03]CAPDU: 80 0D 03 02 [17:59:03]Write to MH i2c: E2 08 00 0B 0E 80 0D 03 02 00 00 00 00 94 [17:59:03]Write i2c OK [17:59:03]MH_I2C_Read... [17:59:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:59:03]Read from MH i2c: E2 [17:59:03]MH_I2C_Read... [17:59:03]Read from MH i2c: E2 0B 00 [17:59:03]MH_I2C_Read... [17:59:03]Read from MH i2c: E2 0B 00 0B 0E 00 78 90 2A 25 84 FA 79 7B 90 00 5E [17:59:03]RAPDU: 78 90 2A 25 84 FA 79 7B 90 00 [17:59:03]wFMCommunicate OK [17:59:03]SAM_PROTO_SignData done [17:59:03]FM_MakeSignedData done [17:59:03]CreateOFDProtocolMessage [17:59:03]wFMCommunicate request_size=4 [17:59:03]MH_SAM_APDU [17:59:03]CAPDU: 80 11 00 00 [17:59:03]Write to MH i2c: E2 08 00 0C 0E 80 11 00 00 00 00 00 00 94 [17:59:03]Write i2c OK [17:59:03]MH_I2C_Read... [17:59:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:59:03]Read from MH i2c: E2 [17:59:03]MH_I2C_Read... [17:59:03]Read from MH i2c: E2 17 00 [17:59:03]MH_I2C_Read... [17:59:03]Read from MH i2c: E2 17 00 0C 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 EB [17:59:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [17:59:03]wFMCommunicate OK [17:59:03]CreateOFDProtocolMessage done [17:59:03]OFDSenderStorePacket 24887 [17:59:03]StoreOFDPacket docnum=24887 [17:59:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 12 01 00 00 A7 1E 0A 01 F8 C6 5A 03 01 00 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 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 2D 00 00 00 F4 03 04 00 EA 44 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 37 61 00 00 35 04 06 00 6B B9 7F 03 54 35 78 90 2A 25 84 FA 79 7B [17:59:03]CheckFolder [17:59:03]dirname=/storage/ofd_packets [17:59:03]CheckFolder done [17:59:03]ProducePacketName [17:59:03]name=ofd_packets/00024887 [17:59:03]NVStorageSaveData ofd_packets/00024887 [17:59:03]File name is /storage/ofd_packets/00024887 [17:59:03]Write 304 bytes [17:59:03]NVStorageSaveData done [17:59:03]OFDSenderStorePacket done [17:59:03]KKMCreateOFDPacket done [17:59:03]NVStorageSaveData kkm_last_timestamp [17:59:03]File name is /storage/kkm_last_timestamp [17:59:03]Write 4 bytes [17:59:03]NVStorageSaveData done [17:59:03]ExternCall_PrintAddStr [17:59:03]wPrintStart [17:59:03]Write to MH i2c: 01 00 00 0D 0E 1B [17:59:03]Write i2c OK [17:59:03]MH_I2C_Read... [17:59:03]Read from MH i2c: 01 [17:59:03]MH_I2C_Read... [17:59:03]Read from MH i2c: 01 07 00 [17:59:03]MH_I2C_Read... [17:59:03]Read from MH i2c: 01 07 00 0D 0E 00 00 00 00 00 FF 0F 30 [17:59:03]RasterBufferAndPrint [17:59:03]line Счет N : (3)34647 [17:59:03]line ИНН: 02508201610067 [17:59:03]line Контрольно-Кассовый Чек [17:59:03]line ПРОДАЖА [17:59:03]line Товар: 48744546 [17:59:03]line LD Compact Silver [17:59:03]line 1.000 * 134.00 [17:59:03]line = 134.00 [17:59:03]line НДС 12% НСП 1% [17:59:03]line > о реализуемом товаре [17:59:03]line ИТОГО: 134.00 [17:59:03]line НСП 1% : 1.19 [17:59:03]line НДС 12% : 14.23 [17:59:03]line Наличными: 134.00 [17:59:03]line Безнал.: 0.00 [17:59:03]line Место: АЗС № 161 "Партнер Нефть" [17:59:03]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [17:59:03]line СНО: Общий режим [17:59:03]line Чек 45 20.10.2024 17:59 [17:59:03]line Смена: 455 ФФД: 1.0 [17:59:03]line ЗНМ: 0300000240 [17:59:03]line РНМ: 0000000000098147 [17:59:03]line Версия ККМ: 001 [17:59:03]line ФМ: 0000000000965376 [17:59:03]line ФД: 24887 [17:59:03]line ФПД: 118444444046389 [17:59:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T175906&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24887&fm=118444444046389&tin=02508201610067®Number=0000000000098147&sum=13400 [17:59:03]line 0 [17:59:03]written 0, free lines is 4095 [17:59:03]OFD Sender: Processing packet 24887 [packets to send 5, broken 4] [17:59:03]ProducePacketName [17:59:03]name=ofd_packets/00024887 [17:59:03]OFD Sender: To server: pG, [17:59:04]CommunicateWithHost lk.salyk.kg:30040 [17:59:04]ConnectInit lk.salyk.kg [17:59:04]Write to MH i2c: 01 00 00 35 0E 43 [17:59:04]Write i2c OK [17:59:04]MH_I2C_Read... [17:59:04]Read from MH i2c: 01 [17:59:04]MH_I2C_Read... [17:59:04]Read from MH i2c: 01 07 00 [17:59:04]MH_I2C_Read... [17:59:04]Read from MH i2c: 01 07 00 35 0E 00 00 00 00 00 E0 0C 36 [17:59:04]RasterBufferAndPrint [17:59:04]line [17:59:04]line [17:59:04]line [17:59:04]line [17:59:04]line [17:59:04]written 0, free lines is 3302 [17:59:04]Connected sock=10 [17:59:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 12 01 00 00 A7 1E 0A 01 F8 C6 5A 03 01 00 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 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 2D 00 00 00 F4 03 04 00 EA 44 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 37 61 00 00 35 04 06 00 6B B9 7F 03 54 35 78 90 2A 25 84 FA 79 7B [17:59:04]process_action close_receipt done [17:59:04]requested_data is exist [17:59:04]produce_requested_data [17:59:04]requested_item fm.sn is exist - process it [17:59:04]wFMCommunicate request_size=4 [17:59:04]MH_SAM_APDU [17:59:04]CAPDU: 80 11 00 00 [17:59:04]Write to MH i2c: E2 08 00 3C 0E 80 11 00 00 00 00 00 00 C4 [17:59:04]Write i2c OK [17:59:04]MH_I2C_Read... [17:59:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:59:04]Read from MH i2c: E2 [17:59:04]MH_I2C_Read... [17:59:04]Read from MH i2c: E2 17 00 [17:59:04]MH_I2C_Read... [17:59:04]Read from MH i2c: E2 17 00 3C 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 1B [17:59:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [17:59:04]wFMCommunicate OK [17:59:04]requested_item fd.num is exist - process it [17:59:04]SAM_PROTO_GetFieldsCounters [17:59:04]wFMCommunicate request_size=4 [17:59:04]MH_SAM_APDU [17:59:04]CAPDU: 80 13 00 00 [17:59:04]Write to MH i2c: E2 08 00 3D 0E 80 13 00 00 00 00 00 00 C7 [17:59:04]Write i2c OK [17:59:04]MH_I2C_Read... [17:59:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:59:04]Read from MH i2c: E2 [17:59:04]MH_I2C_Read... [17:59:04]Read from MH i2c: E2 62 00 [17:59:04]MH_I2C_Read... [17:59:04]Read from MH i2c: E2 62 00 3D 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 37 61 00 00 0E 04 04 00 C7 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 D7 [17:59:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 37 61 00 00 0E 04 04 00 C7 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 [17:59:04]wFMCommunicate OK [17:59:04]SAM_PROTO_GetFieldsCounters done [17:59:04]requested_item shift.num is exist - process it [17:59:04]requested_item shift.opened is exist - process it [17:59:04]req_shift_opened [17:59:04]FM_GetShiftState [17:59:04]SAM_PROTO_GetShiftState [17:59:04]wFMCommunicate request_size=4 [17:59:04]MH_SAM_APDU [17:59:04]CAPDU: 80 13 01 00 [17:59:04]Write to MH i2c: E2 08 00 3E 0E 80 13 01 00 00 00 00 00 C9 [17:59:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 EF 8B 47 00 57 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 33 37 36 10 04 04 00 37 61 00 00 F4 03 04 00 69 ED 14 67 B6 04 01 00 00 8F AF 12 6A 22 B4 BC F4 [17:59:04]CommunicateWithHost err = 0 [17:59:04]CheckOFDResponse [17:59:04]1017 (14) - 77093643461234 [17:59:04]1041 (16) - 0000000000965376 [17:59:04]1040 (4) - 24887 [17:59:04]1012 (4) - 20.10.2024 11:45 [17:59:04]1206 (1) - 0 [17:59:04]OFD Sender: Remove packet 24887 [17:59:04]ProducePacketName [17:59:04]name=ofd_packets/00024887 [17:59:04]NVStorageDeleteData [17:59:04]Write i2c OK [17:59:04]MH_I2C_Read... [17:59:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:59:04]Read from MH i2c: E2 [17:59:04]MH_I2C_Read... [17:59:04]Read from MH i2c: E2 0E 00 [17:59:04]MH_I2C_Read... [17:59:04]Read from MH i2c: E2 0E 00 3E 0E 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 0F [17:59:04]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [17:59:04]wFMCommunicate OK [17:59:04]SAM_PROTO_GetShiftState done [17:59:04]FM_GetShiftState done [17:59:04]req_shift_opened done [17:59:04]requested_item shift.open_date is exist - process it [17:59:04]req_shift_open_date [17:59:04]req_shift_open_date done [17:59:04]produce_requested_data done [17:59:04]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24887,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [17:59:04]process_action_free close_receipt [17:59:04]json_value_free [17:59:04]json_value_free done [17:59:04]process_json_proto returns [17:59:04]Send response to host [17:59:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24887,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [17:59:04]free response buf [17:59:04]execute_script done [17:59:04]execute_script returns [17:59:04]free content buf [17:59:04]Sock 9.Close socket [17:59:04]Sock 9.Thread stoped [17:59:04]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:25]OFD Sender: No OFD packet to send [17:59:30]OFD Sender: No OFD packet to send [17:59:35]OFD Sender: No OFD packet to send [17:59:40]OFD Sender: No OFD packet to send [17:59:45]OFD Sender: No OFD packet to send [17:59:50]OFD Sender: No OFD packet to send [17:59:55]OFD Sender: No OFD packet to send [18:00:00]OFD Sender: No OFD packet to send [18:00:05]OFD Sender: No OFD packet to send [18:00:10]OFD Sender: No OFD packet to send [18:00:15]OFD Sender: No OFD packet to send [18:00:20]OFD Sender: No OFD packet to send [18:00:25]OFD Sender: No OFD packet to send [18:00:30]OFD Sender: No OFD packet to send [18:00:35]OFD Sender: No OFD packet to send [18:00:40]OFD Sender: No OFD packet to send [18:00:45]OFD Sender: No OFD packet to send [18:00:50]OFD Sender: No OFD packet to send [18:00:55]OFD Sender: No OFD packet to send [18:01:00]OFD Sender: No OFD packet to send [18:01:05]OFD Sender: No OFD packet to send [18:01:10]OFD Sender: No OFD packet to send [18:01:15]OFD Sender: No OFD packet to send [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:25]OFD Sender: No OFD packet to send [18:04:30]OFD Sender: No OFD packet to send [18:04:35]OFD Sender: No OFD packet to send [18:04:40]OFD Sender: No OFD packet to send [18:04:45]OFD Sender: No OFD packet to send [18:04:50]OFD Sender: No OFD packet to send [18:04:55]OFD Sender: No OFD packet to send [18:05:00]OFD Sender: No OFD packet to send [18:05:05]OFD Sender: No OFD packet to send [18:05:10]OFD Sender: No OFD packet to send [18:05:15]OFD Sender: No OFD packet to send [18:05:20]OFD Sender: No OFD packet to send [18:05:25]OFD Sender: No OFD packet to send [18:05:30]OFD Sender: No OFD packet to send [18:05:35]OFD Sender: No OFD packet to send [18:05:40]OFD Sender: No OFD packet to send [18:05:45]OFD Sender: No OFD packet to send [18:05:50]OFD Sender: No OFD packet to send [18:05:55]OFD Sender: No OFD packet to send [18:06:00]OFD Sender: No OFD packet to send [18:06:05]OFD Sender: No OFD packet to send [18:06:10]OFD Sender: No OFD packet to send [18:06:15]OFD Sender: No OFD packet to send [18:06:20]OFD Sender: No OFD packet to send [18:06:25]OFD Sender: No OFD packet to send [18:06:30]OFD Sender: No OFD packet to send [18:06:31]accept exits with 7 [18:06:31]New connection [18:06:31]New thread 3067166052 created [18:06:31]Thread 3067309412 joined [18:06:31]Waiting for new connection... [18:06:31] Sock 7.Parse request [18:06:31]Sock 7.Check first char [18:06:31]Sock 7.First char is OK [18:06:31]request: POST /json_proto HTTP/1.0 [18:06:31]Method: POST [18:06:31]URL: /json_proto [18:06:31]Method is POST - this is cgi request [18:06:31]url: /json_proto [18:06:31]query_string will be loaded in cgi processing [18:06:31]execute_cgi json_proto POST (null) [18:06:31]execute_cgi path=json_proto method=POST [18:06:31]POST find Content-Length [18:06:31]Host: 172.17.53.196:8080 [18:06:31]Content-Length: 641 [18:06:31]Content-Type: application/json [18:06:31] [18:06:31]POST finish read [18:06:31]Found Content-Length = 641 [18:06:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34648", "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" ] } } [18:06:31]execute_script... [18:06: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)34648", "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" ] } } [18:06:31]POST & json_proto [18:06:31]process_json_proto [18:06:31]json parsed OK: [18:06:31]protocol is kg_v1.0 [18:06:31]action value=close_receipt [18:06:31]process_action close_receipt [18:06:31]cmd_close_receipt [18:06:31]MH_GetDate [18:06:31]Write to MH i2c: F0 00 00 3F 0E 3C [18:06:31]Write i2c OK [18:06:31]MH_I2C_Read... [18:06:31]Read from MH i2c: F0 [18:06:31]MH_I2C_Read... [18:06:31]Read from MH i2c: F0 09 00 [18:06:31]MH_I2C_Read... [18:06:31]Read from MH i2c: F0 09 00 3F 0E 00 AB 46 15 67 4F CD 9A 65 CD [18:06:31]GetLastDocTimeStamp 1729447146 [18:06:31]current date 1729447595 [18:06:31]FM_GetShiftState [18:06:31]SAM_PROTO_GetShiftState [18:06:31]wFMCommunicate request_size=4 [18:06:31]MH_SAM_APDU [18:06:31]CAPDU: 80 13 01 00 [18:06:31]Write to MH i2c: E2 08 00 40 0E 80 13 01 00 00 00 00 00 CB [18:06:31]Write i2c OK [18:06:31]MH_I2C_Read... [18:06:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:06:31]Read from MH i2c: E2 [18:06:31]MH_I2C_Read... [18:06:31]Read from MH i2c: E2 0E 00 [18:06:31]MH_I2C_Read... [18:06:31]Read from MH i2c: E2 0E 00 40 0E 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 11 [18:06:31]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [18:06:31]wFMCommunicate OK [18:06:31]SAM_PROTO_GetShiftState done [18:06:31]FM_GetShiftState done [18:06:31]opened in 1729384049 [18:06:31]opened+sec_in_day 1729470449 [18:06:31]quantity*price = 5900 [18:06:31]sum+1 = 5901 [18:06:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 59.00 НСП 1% : 0.52 НДС 12% : 6.26 Наличными: 59.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 46 20.10.2024 18:06 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24888 ФПД: 834720053693 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T180635&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24888&fm=834720053693&tin=02508201610067®Number=0000000000098147&sum=5900 0 [18:06:32]StoreToDocumentArchive [18:06:32]shift 455 fd 24888 [18:06:32]save to /storage/0455/doc_00024888 [18:06:32]save last doc name /storage/0455/doc_00024888 to /storage/kkm_last_doc_name [18:06:32]save OK [18:06:32]Clear old archive folders... [18:06:32]ProcessDocumentItem done err = 0, tmpTLVsize=281 [18:06:32]tlvbuf is 00DEA2F0 [18:06:32]SAM_PROTO_ClearQueue [18:06:32]wFMCommunicate request_size=4 [18:06:32]MH_SAM_APDU [18:06:32]CAPDU: 80 09 00 00 [18:06:32]Write to MH i2c: E2 08 00 4D 0E 80 09 00 00 00 00 00 00 CD [18:06:32]Write i2c OK [18:06:32]MH_I2C_Read... [18:06:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:06:32]Read from MH i2c: E2 [18:06:32]MH_I2C_Read... [18:06:32]Read from MH i2c: E2 03 00 [18:06:32]MH_I2C_Read... [18:06:32]Read from MH i2c: E2 03 00 4D 0E 00 90 00 CF [18:06:32]RAPDU: 90 00 [18:06:32]wFMCommunicate OK [18:06:32]SAM_PROTO_ClearQueue done [18:06:32]KKMCreateOFDPacket [18:06:32]OFDProtocolAddRootSTLVToBuf [18:06:32]FM_MakeSignedData [18:06:32]FM_MakeSignedData [18:06:32]SAM_PROTO_SignData [18:06:32]wFMCommunicate request_size=4 [18:06:32]MH_SAM_APDU [18:06:32]CAPDU: 80 0D 01 02 [18:06:32]Write to MH i2c: E2 08 00 4E 0E 80 0D 01 02 00 00 00 00 D5 [18:06:32]Write i2c OK [18:06:32]MH_I2C_Read... [18:06:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:06:32]Read from MH i2c: E2 [18:06:32]MH_I2C_Read... [18:06:32]Read from MH i2c: E2 03 00 [18:06:32]MH_I2C_Read... [18:06:32]Read from MH i2c: E2 03 00 4E 0E 00 90 00 D0 [18:06:32]RAPDU: 90 00 [18:06:32]wFMCommunicate OK [18:06:32]wFMCommunicate request_size=255 [18:06:32]MH_SAM_APDU [18:06:32]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 2E 00 00 00 F4 03 04 00 AB 46 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 [18:06:32]Write to MH i2c: E2 02 01 4F 0E 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 2E 00 00 00 F4 03 04 00 AB 46 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 00 C9 [18:06:32]Write i2c OK [18:06:32]MH_I2C_Read... [18:06:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:06:32]Read from MH i2c: E2 [18:06:32]MH_I2C_Read... [18:06:32]Read from MH i2c: E2 03 00 [18:06:32]MH_I2C_Read... [18:06:32]Read from MH i2c: E2 03 00 4F 0E 00 90 00 D1 [18:06:32]RAPDU: 90 00 [18:06:32]wFMCommunicate OK [18:06:32]wFMCommunicate request_size=40 [18:06:32]MH_SAM_APDU [18:06:32]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 38 61 00 00 35 04 06 00 00 C2 59 31 39 BD [18:06:32]Write to MH i2c: E2 2B 00 50 0E 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 38 61 00 00 35 04 06 00 00 C2 59 31 39 BD 00 00 74 [18:06:32]Write i2c OK [18:06:32]MH_I2C_Read... [18:06:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:06:32]Read from MH i2c: E2 [18:06:32]MH_I2C_Read... [18:06:32]Read from MH i2c: E2 03 00 [18:06:32]MH_I2C_Read... [18:06:32]Read from MH i2c: E2 03 00 50 0E 00 90 00 D2 [18:06:32]RAPDU: 90 00 [18:06:32]wFMCommunicate OK [18:06:32]wFMCommunicate request_size=4 [18:06:32]MH_SAM_APDU [18:06:32]CAPDU: 80 0D 03 02 [18:06:32]Write to MH i2c: E2 08 00 51 0E 80 0D 03 02 00 00 00 00 DA [18:06:32]Write i2c OK [18:06:32]MH_I2C_Read... [18:06:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:06:32]Read from MH i2c: E2 [18:06:32]MH_I2C_Read... [18:06:32]Read from MH i2c: E2 0B 00 [18:06:32]MH_I2C_Read... [18:06:32]Read from MH i2c: E2 0B 00 51 0E 00 DD 50 04 4F 12 32 4A 46 90 00 2F [18:06:32]RAPDU: DD 50 04 4F 12 32 4A 46 90 00 [18:06:32]wFMCommunicate OK [18:06:32]SAM_PROTO_SignData done [18:06:32]FM_MakeSignedData done [18:06:32]CreateOFDProtocolMessage [18:06:32]wFMCommunicate request_size=4 [18:06:32]MH_SAM_APDU [18:06:32]CAPDU: 80 11 00 00 [18:06:32]Write to MH i2c: E2 08 00 52 0E 80 11 00 00 00 00 00 00 DA [18:06:32]Write i2c OK [18:06:32]MH_I2C_Read... [18:06:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:06:33]Read from MH i2c: E2 [18:06:33]MH_I2C_Read... [18:06:33]Read from MH i2c: E2 17 00 [18:06:33]MH_I2C_Read... [18:06:33]Read from MH i2c: E2 17 00 52 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 31 [18:06:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:06:33]wFMCommunicate OK [18:06:33]CreateOFDProtocolMessage done [18:06:33]OFDSenderStorePacket 24888 [18:06:33]StoreOFDPacket docnum=24888 [18:06:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2D 01 00 00 36 A2 25 01 C0 E5 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 2E 00 00 00 F4 03 04 00 AB 46 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 38 61 00 00 35 04 06 00 00 C2 59 31 39 BD DD 50 04 4F 12 32 4A 46 [18:06:33]CheckFolder [18:06:33]dirname=/storage/ofd_packets [18:06:33]CheckFolder done [18:06:33]ProducePacketName [18:06:33]name=ofd_packets/00024888 [18:06:33]NVStorageSaveData ofd_packets/00024888 [18:06:33]File name is /storage/ofd_packets/00024888 [18:06:33]Write 331 bytes [18:06:33]NVStorageSaveData done [18:06:33]OFDSenderStorePacket done [18:06:33]KKMCreateOFDPacket done [18:06:33]NVStorageSaveData kkm_last_timestamp [18:06:33]File name is /storage/kkm_last_timestamp [18:06:33]Write 4 bytes [18:06:33]NVStorageSaveData done [18:06:33]ExternCall_PrintAddStr [18:06:33]wPrintStart [18:06:33]Write to MH i2c: 01 00 00 53 0E 61 [18:06:33]Write i2c OK [18:06:33]MH_I2C_Read... [18:06:33]Read from MH i2c: 01 [18:06:33]MH_I2C_Read... [18:06:33]Read from MH i2c: 01 07 00 [18:06:33]MH_I2C_Read... [18:06:33]Read from MH i2c: 01 07 00 53 0E 00 00 00 00 00 FF 0F 76 [18:06:33]RasterBufferAndPrint [18:06:33]line Счет N : (3)34648 [18:06:33]line ИНН: 02508201610067 [18:06:33]line Контрольно-Кассовый Чек [18:06:33]line ПРОДАЖА [18:06:33]line Товар: 4607065001445 [18:06:33]line Шок батончик Snickers 50,5г [18:06:33]line 1.000 * 59.00 [18:06:33]line = 59.00 [18:06:33]line НДС 12% НСП 1% [18:06:33]line > о реализуемом товаре [18:06:33]line ИТОГО: 59.00 [18:06:33]line НСП 1% : 0.52 [18:06:33]line НДС 12% : 6.26 [18:06:33]line Наличными: 59.00 [18:06:33]line Безнал.: 0.00 [18:06:33]line Место: АЗС № 161 "Партнер Нефть" [18:06:33]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [18:06:33]line СНО: Общий режим [18:06:33]line Чек 46 20.10.2024 18:06 [18:06:33]line Смена: 455 ФФД: 1.0 [18:06:33]line ЗНМ: 0300000240 [18:06:33]line РНМ: 0000000000098147 [18:06:33]line Версия ККМ: 001 [18:06:33]line ФМ: 0000000000965376 [18:06:33]line ФД: 24888 [18:06:33]line ФПД: 834720053693 [18:06:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T180635&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24888&fm=834720053693&tin=02508201610067®Number=0000000000098147&sum=5900 [18:06:33]line 0 [18:06:33]OFD Sender: Processing packet 24888 [packets to send 5, broken 4] [18:06:33]ProducePacketName [18:06:33]name=ofd_packets/00024888 [18:06:33]OFD Sender: To server: pG, [18:06:33]CommunicateWithHost lk.salyk.kg:30040 [18:06:33]ConnectInit lk.salyk.kg [18:06:33]written 0, free lines is 4095 [18:06:33]Connected sock=10 [18:06:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2D 01 00 00 36 A2 25 01 C0 E5 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 2E 00 00 00 F4 03 04 00 AB 46 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 38 61 00 00 35 04 06 00 00 C2 59 31 39 BD DD 50 04 4F 12 32 4A 46 [18:06:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 66 F1 47 00 0C 61 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 38 61 00 00 F4 03 04 00 2A EF 14 67 B6 04 01 00 00 9F 8F 57 59 4E 1B 0A 6B [18:06:33]CommunicateWithHost err = 0 [18:06:33]CheckOFDResponse [18:06:33]1017 (14) - 77093643461234 [18:06:33]1041 (16) - 0000000000965376 [18:06:33]1040 (4) - 24888 [18:06:33]1012 (4) - 20.10.2024 11:53 [18:06:33]1206 (1) - 0 [18:06:33]OFD Sender: Remove packet 24888 [18:06:33]ProducePacketName [18:06:33]name=ofd_packets/00024888 [18:06:33]NVStorageDeleteData [18:06:33]Write to MH i2c: 01 00 00 7B 0E 89 [18:06:33]Write i2c OK [18:06:33]MH_I2C_Read... [18:06:33]Read from MH i2c: 01 [18:06:33]MH_I2C_Read... [18:06:33]Read from MH i2c: 01 07 00 [18:06:33]MH_I2C_Read... [18:06:33]Read from MH i2c: 01 07 00 7B 0E 00 00 00 00 00 F0 0C 8C [18:06:33]RasterBufferAndPrint [18:06:33]line [18:06:33]line [18:06:33]line [18:06:33]line [18:06:33]line [18:06:33]written 0, free lines is 3318 [18:06:33]process_action close_receipt done [18:06:33]requested_data is exist [18:06:33]produce_requested_data [18:06:33]requested_item fm.sn is exist - process it [18:06:33]wFMCommunicate request_size=4 [18:06:33]MH_SAM_APDU [18:06:33]CAPDU: 80 11 00 00 [18:06:33]Write to MH i2c: E2 08 00 82 0E 80 11 00 00 00 00 00 00 0A [18:06:33]Write i2c OK [18:06:33]MH_I2C_Read... [18:06:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:06:33]Read from MH i2c: E2 [18:06:33]MH_I2C_Read... [18:06:33]Read from MH i2c: E2 17 00 [18:06:33]MH_I2C_Read... [18:06:33]Read from MH i2c: E2 17 00 82 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 61 [18:06:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:06:33]wFMCommunicate OK [18:06:33]requested_item fd.num is exist - process it [18:06:33]SAM_PROTO_GetFieldsCounters [18:06:33]wFMCommunicate request_size=4 [18:06:33]MH_SAM_APDU [18:06:33]CAPDU: 80 13 00 00 [18:06:33]Write to MH i2c: E2 08 00 83 0E 80 13 00 00 00 00 00 00 0D [18:06:33]Write i2c OK [18:06:33]MH_I2C_Read... [18:06:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:06:34]Read from MH i2c: E2 [18:06:34]MH_I2C_Read... [18:06:34]Read from MH i2c: E2 62 00 [18:06:34]MH_I2C_Read... [18:06:34]Read from MH i2c: E2 62 00 83 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 38 61 00 00 0E 04 04 00 C7 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 21 [18:06:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 38 61 00 00 0E 04 04 00 C7 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 [18:06:34]wFMCommunicate OK [18:06:34]SAM_PROTO_GetFieldsCounters done [18:06:34]requested_item shift.num is exist - process it [18:06:34]requested_item shift.opened is exist - process it [18:06:34]req_shift_opened [18:06:34]FM_GetShiftState [18:06:34]SAM_PROTO_GetShiftState [18:06:34]wFMCommunicate request_size=4 [18:06:34]MH_SAM_APDU [18:06:34]CAPDU: 80 13 01 00 [18:06:34]Write to MH i2c: E2 08 00 84 0E 80 13 01 00 00 00 00 00 0F [18:06:34]Write i2c OK [18:06:34]MH_I2C_Read... [18:06:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:06:34]Read from MH i2c: E2 [18:06:34]MH_I2C_Read... [18:06:34]Read from MH i2c: E2 0E 00 [18:06:34]MH_I2C_Read... [18:06:34]Read from MH i2c: E2 0E 00 84 0E 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 55 [18:06:34]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [18:06:34]wFMCommunicate OK [18:06:34]SAM_PROTO_GetShiftState done [18:06:34]FM_GetShiftState done [18:06:34]req_shift_opened done [18:06:34]requested_item shift.open_date is exist - process it [18:06:34]req_shift_open_date [18:06:34]req_shift_open_date done [18:06:34]produce_requested_data done [18:06:34]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24888,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [18:06:34]process_action_free close_receipt [18:06:34]json_value_free [18:06:34]json_value_free done [18:06:34]process_json_proto returns [18:06:34]Send response to host [18:06:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24888,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [18:06:34]free response buf [18:06:34]execute_script done [18:06:34]execute_script returns [18:06:34]free content buf [18:06:34]Sock 7.Close socket [18:06:34]Sock 7.Thread stoped [18:06:34]OFD Sender: No OFD packet to send [18:06:39]OFD Sender: No OFD packet to send [18:06:44]accept exits with 9 [18:06:44]New connection [18:06:44]New thread 3067309412 created [18:06:44]Thread 3067166052 joined [18:06:44]Waiting for new connection... [18:06:44] Sock 9.Parse request [18:06:44]Sock 9.Check first char [18:06:44]Sock 9.First char is OK [18:06:44]request: POST /json_proto HTTP/1.0 [18:06:44]Method: POST [18:06:44]URL: /json_proto [18:06:44]Method is POST - this is cgi request [18:06:44]url: /json_proto [18:06:44]query_string will be loaded in cgi processing [18:06:44]execute_cgi json_proto POST (null) [18:06:44]execute_cgi path=json_proto method=POST [18:06:44]POST find Content-Length [18:06:44]Host: 172.17.53.196:8080 [18:06:44]Content-Length: 622 [18:06:44]Content-Type: application/json [18:06:44] [18:06:44]POST finish read [18:06:44]Found Content-Length = 622 [18:06:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34649", "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" ] } } [18:06:44]execute_script... [18:06:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34649", "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" ] } } [18:06:44]POST & json_proto [18:06:44]process_json_proto [18:06:44]json parsed OK: [18:06:44]protocol is kg_v1.0 [18:06:44]action value=close_receipt [18:06:44]process_action close_receipt [18:06:44]cmd_close_receipt [18:06:44]MH_GetDate [18:06:44]Write to MH i2c: F0 00 00 85 0E 82 [18:06:44]Write i2c OK [18:06:44]MH_I2C_Read... [18:06:44]Read from MH i2c: F0 [18:06:44]MH_I2C_Read... [18:06:44]Read from MH i2c: F0 09 00 [18:06:44]MH_I2C_Read... [18:06:44]Read from MH i2c: F0 09 00 85 0E 00 B8 46 15 67 4F CD 9A 65 20 [18:06:44]GetLastDocTimeStamp 1729447595 [18:06:44]current date 1729447608 [18:06:44]FM_GetShiftState [18:06:44]SAM_PROTO_GetShiftState [18:06:44]wFMCommunicate request_size=4 [18:06:44]MH_SAM_APDU [18:06:44]CAPDU: 80 13 01 00 [18:06:44]Write to MH i2c: E2 08 00 86 0E 80 13 01 00 00 00 00 00 11 [18:06:44]Write i2c OK [18:06:44]MH_I2C_Read... [18:06:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:06:44]Read from MH i2c: E2 [18:06:44]MH_I2C_Read... [18:06:44]Read from MH i2c: E2 0E 00 [18:06:44]MH_I2C_Read... [18:06:44]Read from MH i2c: E2 0E 00 86 0E 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 57 [18:06:44]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [18:06:44]wFMCommunicate OK [18:06:44]SAM_PROTO_GetShiftState done [18:06:44]FM_GetShiftState done [18:06:44]opened in 1729384049 [18:06:44]opened+sec_in_day 1729470449 [18:06:44]quantity*price = 14400 [18:06:44]sum+1 = 14401 [18:06:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 47 20.10.2024 18:06 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24889 ФПД: 233771965223219 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T180648&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24889&fm=233771965223219&tin=02508201610067®Number=0000000000098147&sum=14400 0 [18:06:45]StoreToDocumentArchive [18:06:45]shift 455 fd 24889 [18:06:45]save to /storage/0455/doc_00024889 [18:06:45]save last doc name /storage/0455/doc_00024889 to /storage/kkm_last_doc_name [18:06:45]save OK [18:06:45]Clear old archive folders... [18:06:45]ProcessDocumentItem done err = 0, tmpTLVsize=275 [18:06:45]tlvbuf is 00DC7B00 [18:06:45]SAM_PROTO_ClearQueue [18:06:45]wFMCommunicate request_size=4 [18:06:45]MH_SAM_APDU [18:06:45]CAPDU: 80 09 00 00 [18:06:45]Write to MH i2c: E2 08 00 93 0E 80 09 00 00 00 00 00 00 13 [18:06:45]Write i2c OK [18:06:45]MH_I2C_Read... [18:06:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:06:45]Read from MH i2c: E2 [18:06:45]MH_I2C_Read... [18:06:45]Read from MH i2c: E2 03 00 [18:06:45]MH_I2C_Read... [18:06:45]Read from MH i2c: E2 03 00 93 0E 00 90 00 15 [18:06:45]RAPDU: 90 00 [18:06:45]wFMCommunicate OK [18:06:45]SAM_PROTO_ClearQueue done [18:06:45]KKMCreateOFDPacket [18:06:45]OFDProtocolAddRootSTLVToBuf [18:06:45]FM_MakeSignedData [18:06:45]FM_MakeSignedData [18:06:45]SAM_PROTO_SignData [18:06:45]wFMCommunicate request_size=4 [18:06:45]MH_SAM_APDU [18:06:45]CAPDU: 80 0D 01 02 [18:06:45]Write to MH i2c: E2 08 00 94 0E 80 0D 01 02 00 00 00 00 1B [18:06:45]Write i2c OK [18:06:45]MH_I2C_Read... [18:06:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:06:45]Read from MH i2c: E2 [18:06:45]MH_I2C_Read... [18:06:45]Read from MH i2c: E2 03 00 [18:06:45]MH_I2C_Read... [18:06:45]Read from MH i2c: E2 03 00 94 0E 00 90 00 16 [18:06:45]RAPDU: 90 00 [18:06:45]wFMCommunicate OK [18:06:45]wFMCommunicate request_size=255 [18:06:45]MH_SAM_APDU [18:06:45]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 2F 00 00 00 F4 03 04 00 B8 46 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 [18:06:45]Write to MH i2c: E2 02 01 95 0E 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 2F 00 00 00 F4 03 04 00 B8 46 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 00 00 95 [18:06:45]Write i2c OK [18:06:45]MH_I2C_Read... [18:06:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:06:45]Read from MH i2c: E2 [18:06:45]MH_I2C_Read... [18:06:45]Read from MH i2c: E2 03 00 [18:06:45]MH_I2C_Read... [18:06:45]Read from MH i2c: E2 03 00 95 0E 00 90 00 17 [18:06:45]RAPDU: 90 00 [18:06:45]wFMCommunicate OK [18:06:45]wFMCommunicate request_size=34 [18:06:45]MH_SAM_APDU [18:06:45]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 39 61 00 00 35 04 06 00 D4 9D 46 F2 11 33 [18:06:45]Write to MH i2c: E2 25 00 96 0E 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 39 61 00 00 35 04 06 00 D4 9D 46 F2 11 33 00 00 6A [18:06:45]Write i2c OK [18:06:45]MH_I2C_Read... [18:06:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:06:45]Read from MH i2c: E2 [18:06:45]MH_I2C_Read... [18:06:45]Read from MH i2c: E2 03 00 [18:06:45]MH_I2C_Read... [18:06:45]Read from MH i2c: E2 03 00 96 0E 00 90 00 18 [18:06:45]RAPDU: 90 00 [18:06:45]wFMCommunicate OK [18:06:45]wFMCommunicate request_size=4 [18:06:45]MH_SAM_APDU [18:06:45]CAPDU: 80 0D 03 02 [18:06:45]Write to MH i2c: E2 08 00 97 0E 80 0D 03 02 00 00 00 00 20 [18:06:45]Write i2c OK [18:06:45]MH_I2C_Read... [18:06:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:06:45]Read from MH i2c: E2 [18:06:45]MH_I2C_Read... [18:06:45]Read from MH i2c: E2 0B 00 [18:06:45]MH_I2C_Read... [18:06:45]Read from MH i2c: E2 0B 00 97 0E 00 C6 76 9A 31 CA 3C 37 F5 90 00 5A [18:06:45]RAPDU: C6 76 9A 31 CA 3C 37 F5 90 00 [18:06:45]wFMCommunicate OK [18:06:45]SAM_PROTO_SignData done [18:06:45]FM_MakeSignedData done [18:06:45]CreateOFDProtocolMessage [18:06:45]wFMCommunicate request_size=4 [18:06:45]MH_SAM_APDU [18:06:45]CAPDU: 80 11 00 00 [18:06:45]Write to MH i2c: E2 08 00 98 0E 80 11 00 00 00 00 00 00 20 [18:06:45]Write i2c OK [18:06:45]MH_I2C_Read... [18:06:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:06:45]Read from MH i2c: E2 [18:06:45]MH_I2C_Read... [18:06:45]Read from MH i2c: E2 17 00 [18:06:45]MH_I2C_Read... [18:06:45]Read from MH i2c: E2 17 00 98 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 77 [18:06:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:06:45]wFMCommunicate OK [18:06:45]CreateOFDProtocolMessage done [18:06:45]OFDSenderStorePacket 24889 [18:06:45]StoreOFDPacket docnum=24889 [18:06:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 F9 BA 1F 01 FC 67 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 2F 00 00 00 F4 03 04 00 B8 46 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 39 61 00 00 35 04 06 00 D4 9D 46 F2 11 33 C6 76 9A 31 CA 3C 37 F5 [18:06:45]CheckFolder [18:06:45]dirname=/storage/ofd_packets [18:06:45]CheckFolder done [18:06:45]ProducePacketName [18:06:45]name=ofd_packets/00024889 [18:06:45]NVStorageSaveData ofd_packets/00024889 [18:06:45]File name is /storage/ofd_packets/00024889 [18:06:45]Write 325 bytes [18:06:45]NVStorageSaveData done [18:06:45]OFDSenderStorePacket done [18:06:45]KKMCreateOFDPacket done [18:06:45]NVStorageSaveData kkm_last_timestamp [18:06:45]File name is /storage/kkm_last_timestamp [18:06:45]Write 4 bytes [18:06:45]NVStorageSaveData done [18:06:45]ExternCall_PrintAddStr [18:06:45]wPrintStart [18:06:45]Write to MH i2c: 01 00 00 99 0E A7 [18:06:45]Write i2c OK [18:06:45]MH_I2C_Read... [18:06:45]Read from MH i2c: 01 [18:06:45]MH_I2C_Read... [18:06:45]Read from MH i2c: 01 07 00 [18:06:45]MH_I2C_Read... [18:06:45]Read from MH i2c: 01 07 00 99 0E 00 00 00 00 00 FF 0F BC [18:06:45]RasterBufferAndPrint [18:06:45]line Счет N : (3)34649 [18:06:45]line ИНН: 02508201610067 [18:06:45]line Контрольно-Кассовый Чек [18:06:45]line ПРОДАЖА [18:06:45]line Товар: 48743587 [18:06:45]line Сигареты Winston XStyle Silver [18:06:45]line 1.000 * 144.00 [18:06:45]line = 144.00 [18:06:45]line НДС 12% НСП 1% [18:06:45]line > о реализуемом товаре [18:06:45]line ИТОГО: 144.00 [18:06:45]line НСП 1% : 1.27 [18:06:45]line НДС 12% : 15.29 [18:06:45]line Наличными: 144.00 [18:06:45]line Безнал.: 0.00 [18:06:45]line Место: АЗС № 161 "Партнер Нефть" [18:06:45]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [18:06:45]line СНО: Общий режим [18:06:45]line Чек 47 20.10.2024 18:06 [18:06:45]line Смена: 455 ФФД: 1.0 [18:06:45]line ЗНМ: 0300000240 [18:06:45]line РНМ: 0000000000098147 [18:06:45]line Версия ККМ: 001 [18:06:45]line ФМ: 0000000000965376 [18:06:45]line ФД: 24889 [18:06:45]line ФПД: 233771965223219 [18:06:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T180648&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24889&fm=233771965223219&tin=02508201610067®Number=0000000000098147&sum=14400 [18:06:45]line 0 [18:06:45]written 0, free lines is 4095 [18:06:45]OFD Sender: Processing packet 24889 [packets to send 5, broken 4] [18:06:45]ProducePacketName [18:06:45]name=ofd_packets/00024889 [18:06:45]OFD Sender: To server: pG, [18:06:45]CommunicateWithHost lk.salyk.kg:30040 [18:06:45]ConnectInit lk.salyk.kg [18:06:46]Connected sock=10 [18:06: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 33 37 36 27 01 00 00 F9 BA 1F 01 FC 67 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 2F 00 00 00 F4 03 04 00 B8 46 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 39 61 00 00 35 04 06 00 D4 9D 46 F2 11 33 C6 76 9A 31 CA 3C 37 F5 [18:06:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 B1 26 47 00 E1 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 33 37 36 10 04 04 00 39 61 00 00 F4 03 04 00 37 EF 14 67 B6 04 01 00 00 13 CC B0 73 86 76 9D 50 [18:06:46]CommunicateWithHost err = 0 [18:06:46]CheckOFDResponse [18:06:46]1017 (14) - 77093643461234 [18:06:46]1041 (16) - 0000000000965376 [18:06:46]1040 (4) - 24889 [18:06:46]1012 (4) - 20.10.2024 11:53 [18:06:46]1206 (1) - 0 [18:06:46]OFD Sender: Remove packet 24889 [18:06:46]ProducePacketName [18:06:46]name=ofd_packets/00024889 [18:06:46]NVStorageDeleteData [18:06:46]Write to MH i2c: 01 00 00 C2 0E D0 [18:06:46]Write i2c OK [18:06:46]MH_I2C_Read... [18:06:46]Read from MH i2c: 01 [18:06:46]MH_I2C_Read... [18:06:46]Read from MH i2c: 01 07 00 [18:06:46]MH_I2C_Read... [18:06:46]Read from MH i2c: 01 07 00 C2 0E 00 00 00 00 00 DA 0C BD [18:06:46]RasterBufferAndPrint [18:06:46]line [18:06:46]line [18:06:46]line [18:06:46]line [18:06:46]line [18:06:46]written 0, free lines is 3299 [18:06:46]process_action close_receipt done [18:06:46]requested_data is exist [18:06:46]produce_requested_data [18:06:46]requested_item fm.sn is exist - process it [18:06:46]wFMCommunicate request_size=4 [18:06:46]MH_SAM_APDU [18:06:46]CAPDU: 80 11 00 00 [18:06:46]Write to MH i2c: E2 08 00 C9 0E 80 11 00 00 00 00 00 00 51 [18:06:46]Write i2c OK [18:06:46]MH_I2C_Read... [18:06:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:06:46]Read from MH i2c: E2 [18:06:46]MH_I2C_Read... [18:06:46]Read from MH i2c: E2 17 00 [18:06:46]MH_I2C_Read... [18:06:46]Read from MH i2c: E2 17 00 C9 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 A8 [18:06:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:06:46]wFMCommunicate OK [18:06:46]requested_item fd.num is exist - process it [18:06:46]SAM_PROTO_GetFieldsCounters [18:06:46]wFMCommunicate request_size=4 [18:06:46]MH_SAM_APDU [18:06:46]CAPDU: 80 13 00 00 [18:06:46]Write to MH i2c: E2 08 00 CA 0E 80 13 00 00 00 00 00 00 54 [18:06:46]Write i2c OK [18:06:46]MH_I2C_Read... [18:06:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:06:46]Read from MH i2c: E2 [18:06:46]MH_I2C_Read... [18:06:46]Read from MH i2c: E2 62 00 [18:06:46]MH_I2C_Read... [18:06:46]Read from MH i2c: E2 62 00 CA 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 39 61 00 00 0E 04 04 00 C7 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 6C [18:06:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 39 61 00 00 0E 04 04 00 C7 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 [18:06:46]wFMCommunicate OK [18:06:46]SAM_PROTO_GetFieldsCounters done [18:06:46]requested_item shift.num is exist - process it [18:06:46]requested_item shift.opened is exist - process it [18:06:46]req_shift_opened [18:06:46]FM_GetShiftState [18:06:46]SAM_PROTO_GetShiftState [18:06:46]wFMCommunicate request_size=4 [18:06:46]MH_SAM_APDU [18:06:46]CAPDU: 80 13 01 00 [18:06:46]Write to MH i2c: E2 08 00 CB 0E 80 13 01 00 00 00 00 00 56 [18:06:46]Write i2c OK [18:06:46]MH_I2C_Read... [18:06:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:06:46]Read from MH i2c: E2 [18:06:46]MH_I2C_Read... [18:06:46]Read from MH i2c: E2 0E 00 [18:06:46]MH_I2C_Read... [18:06:46]Read from MH i2c: E2 0E 00 CB 0E 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 9C [18:06:46]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [18:06:46]wFMCommunicate OK [18:06:46]SAM_PROTO_GetShiftState done [18:06:46]FM_GetShiftState done [18:06:46]req_shift_opened done [18:06:46]requested_item shift.open_date is exist - process it [18:06:46]req_shift_open_date [18:06:46]req_shift_open_date done [18:06:46]produce_requested_data done [18:06:46]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24889,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [18:06:46]process_action_free close_receipt [18:06:46]json_value_free [18:06:46]json_value_free done [18:06:46]process_json_proto returns [18:06:46]Send response to host [18:06:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24889,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [18:06:46]free response buf [18:06:46]execute_script done [18:06:46]execute_script returns [18:06:46]free content buf [18:06:46]Sock 9.Close socket [18:06:46]Sock 9.Thread stoped [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:29]accept exits with 7 [18:07:29]New connection [18:07:29]New thread 3067166052 created [18:07:29]Thread 3067309412 joined [18:07:29]Waiting for new connection... [18:07:29] Sock 7.Parse request [18:07:29]Sock 7.Check first char [18:07:29]Sock 7.First char is OK [18:07:29]request: POST /json_proto HTTP/1.0 [18:07:29]Method: POST [18:07:29]URL: /json_proto [18:07:29]Method is POST - this is cgi request [18:07:29]url: /json_proto [18:07:29]query_string will be loaded in cgi processing [18:07:29]execute_cgi json_proto POST (null) [18:07:29]execute_cgi path=json_proto method=POST [18:07:29]POST find Content-Length [18:07:29]Host: 172.17.53.196:8080 [18:07:29]Content-Length: 625 [18:07:29]Content-Type: application/json [18:07:29] [18:07:29]POST finish read [18:07:29]Found Content-Length = 625 [18:07:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34650", "tax_sys" : 0, "items" : [ { "code": "48743389", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B BOND STREET compact blue", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 268.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:07:29]execute_script... [18:07:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34650", "tax_sys" : 0, "items" : [ { "code": "48743389", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B BOND STREET compact blue", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 268.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:07:29]POST & json_proto [18:07:29]process_json_proto [18:07:29]json parsed OK: [18:07:29]protocol is kg_v1.0 [18:07:29]action value=close_receipt [18:07:29]process_action close_receipt [18:07:29]cmd_close_receipt [18:07:29]MH_GetDate [18:07:29]Write to MH i2c: F0 00 00 CC 0E C9 [18:07:29]Write i2c OK [18:07:29]MH_I2C_Read... [18:07:29]Read from MH i2c: F0 [18:07:29]MH_I2C_Read... [18:07:29]Read from MH i2c: F0 09 00 [18:07:29]MH_I2C_Read... [18:07:29]Read from MH i2c: F0 09 00 CC 0E 00 E5 46 15 67 4F CD 9A 65 94 [18:07:29]GetLastDocTimeStamp 1729447608 [18:07:29]current date 1729447653 [18:07:29]FM_GetShiftState [18:07:29]SAM_PROTO_GetShiftState [18:07:29]wFMCommunicate request_size=4 [18:07:29]MH_SAM_APDU [18:07:29]CAPDU: 80 13 01 00 [18:07:29]Write to MH i2c: E2 08 00 CD 0E 80 13 01 00 00 00 00 00 58 [18:07:29]Write i2c OK [18:07:29]MH_I2C_Read... [18:07:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:07:29]Read from MH i2c: E2 [18:07:29]MH_I2C_Read... [18:07:29]Read from MH i2c: E2 0E 00 [18:07:29]MH_I2C_Read... [18:07:29]Read from MH i2c: E2 0E 00 CD 0E 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 9E [18:07:29]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [18:07:29]wFMCommunicate OK [18:07:29]SAM_PROTO_GetShiftState done [18:07:29]FM_GetShiftState done [18:07:29]opened in 1729384049 [18:07:29]opened+sec_in_day 1729470449 [18:07:29]quantity*price = 26800 [18:07:29]sum+1 = 26801 [18:07:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 268.00 НСП 1% : 2.37 НДС 12% : 28.46 Наличными: 268.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 48 20.10.2024 18:07 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24890 ФПД: 150548551846241 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T180733&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24890&fm=150548551846241&tin=02508201610067®Number=0000000000098147&sum=26800 0 [18:07:30]StoreToDocumentArchive [18:07:30]shift 455 fd 24890 [18:07:30]save to /storage/0455/doc_00024890 [18:07:30]save last doc name /storage/0455/doc_00024890 to /storage/kkm_last_doc_name [18:07:30]save OK [18:07:30]Clear old archive folders... [18:07:30]ProcessDocumentItem done err = 0, tmpTLVsize=278 [18:07:30]tlvbuf is 00E28830 [18:07:30]SAM_PROTO_ClearQueue [18:07:30]wFMCommunicate request_size=4 [18:07:30]MH_SAM_APDU [18:07:30]CAPDU: 80 09 00 00 [18:07:30]Write to MH i2c: E2 08 00 DA 0E 80 09 00 00 00 00 00 00 5A [18:07:30]Write i2c OK [18:07:30]MH_I2C_Read... [18:07:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:07:30]Read from MH i2c: E2 [18:07:30]MH_I2C_Read... [18:07:30]Read from MH i2c: E2 03 00 [18:07:30]MH_I2C_Read... [18:07:30]Read from MH i2c: E2 03 00 DA 0E 00 90 00 5C [18:07:30]RAPDU: 90 00 [18:07:30]wFMCommunicate OK [18:07:30]SAM_PROTO_ClearQueue done [18:07:30]KKMCreateOFDPacket [18:07:30]OFDProtocolAddRootSTLVToBuf [18:07:30]FM_MakeSignedData [18:07:30]FM_MakeSignedData [18:07:30]SAM_PROTO_SignData [18:07:30]wFMCommunicate request_size=4 [18:07:30]MH_SAM_APDU [18:07:30]CAPDU: 80 0D 01 02 [18:07:30]Write to MH i2c: E2 08 00 DB 0E 80 0D 01 02 00 00 00 00 62 [18:07:30]Write i2c OK [18:07:30]MH_I2C_Read... [18:07:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:07:30]Read from MH i2c: E2 [18:07:30]MH_I2C_Read... [18:07:30]Read from MH i2c: E2 03 00 [18:07:30]MH_I2C_Read... [18:07:30]Read from MH i2c: E2 03 00 DB 0E 00 90 00 5D [18:07:30]RAPDU: 90 00 [18:07:30]wFMCommunicate OK [18:07:30]wFMCommunicate request_size=255 [18:07:30]MH_SAM_APDU [18:07:30]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 33 33 38 39 06 04 29 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 62 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 E5 46 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 [18:07:30]Write to MH i2c: E2 02 01 DC 0E 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 33 33 38 39 06 04 29 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 62 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 E5 46 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 00 00 D5 [18:07:30]Write i2c OK [18:07:30]MH_I2C_Read... [18:07:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:07:30]Read from MH i2c: E2 [18:07:30]MH_I2C_Read... [18:07:30]Read from MH i2c: E2 03 00 [18:07:30]MH_I2C_Read... [18:07:30]Read from MH i2c: E2 03 00 DC 0E 00 90 00 5E [18:07:30]RAPDU: 90 00 [18:07:30]wFMCommunicate OK [18:07:30]wFMCommunicate request_size=37 [18:07:30]MH_SAM_APDU [18:07:30]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3A 61 00 00 35 04 06 00 88 EC 50 F4 49 61 [18:07:30]Write to MH i2c: E2 28 00 DD 0E 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3A 61 00 00 35 04 06 00 88 EC 50 F4 49 61 00 00 BD [18:07:30]Write i2c OK [18:07:30]MH_I2C_Read... [18:07:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:07:30]Read from MH i2c: E2 [18:07:30]MH_I2C_Read... [18:07:30]Read from MH i2c: E2 03 00 [18:07:30]MH_I2C_Read... [18:07:30]Read from MH i2c: E2 03 00 DD 0E 00 90 00 5F [18:07:30]RAPDU: 90 00 [18:07:30]wFMCommunicate OK [18:07:30]wFMCommunicate request_size=4 [18:07:30]MH_SAM_APDU [18:07:30]CAPDU: 80 0D 03 02 [18:07:30]Write to MH i2c: E2 08 00 DE 0E 80 0D 03 02 00 00 00 00 67 [18:07:30]Write i2c OK [18:07:30]MH_I2C_Read... [18:07:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:07:30]Read from MH i2c: E2 [18:07:30]MH_I2C_Read... [18:07:30]Read from MH i2c: E2 0B 00 [18:07:30]MH_I2C_Read... [18:07:30]Read from MH i2c: E2 0B 00 DE 0E 00 C3 F6 5D 71 CF 41 B5 3E 90 00 F2 [18:07:30]RAPDU: C3 F6 5D 71 CF 41 B5 3E 90 00 [18:07:30]wFMCommunicate OK [18:07:30]SAM_PROTO_SignData done [18:07:30]FM_MakeSignedData done [18:07:30]CreateOFDProtocolMessage [18:07:30]wFMCommunicate request_size=4 [18:07:30]MH_SAM_APDU [18:07:30]CAPDU: 80 11 00 00 [18:07:30]Write to MH i2c: E2 08 00 DF 0E 80 11 00 00 00 00 00 00 67 [18:07:30]Write i2c OK [18:07:30]MH_I2C_Read... [18:07:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:07:30]Read from MH i2c: E2 [18:07:30]MH_I2C_Read... [18:07:30]Read from MH i2c: E2 17 00 [18:07:30]MH_I2C_Read... [18:07:30]Read from MH i2c: E2 17 00 DF 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 BE [18:07:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:07:30]wFMCommunicate OK [18:07:30]CreateOFDProtocolMessage done [18:07:30]OFDSenderStorePacket 24890 [18:07:30]StoreOFDPacket docnum=24890 [18:07:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2A 01 00 00 8F 7F 22 01 51 07 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 33 33 38 39 06 04 29 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 62 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 E5 46 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3A 61 00 00 35 04 06 00 88 EC 50 F4 49 61 C3 F6 5D 71 CF 41 B5 3E [18:07:30]CheckFolder [18:07:30]dirname=/storage/ofd_packets [18:07:30]CheckFolder done [18:07:30]ProducePacketName [18:07:30]name=ofd_packets/00024890 [18:07:30]NVStorageSaveData ofd_packets/00024890 [18:07:30]File name is /storage/ofd_packets/00024890 [18:07:30]Write 328 bytes [18:07:30]NVStorageSaveData done [18:07:30]OFDSenderStorePacket done [18:07:30]KKMCreateOFDPacket done [18:07:30]NVStorageSaveData kkm_last_timestamp [18:07:30]File name is /storage/kkm_last_timestamp [18:07:30]Write 4 bytes [18:07:30]NVStorageSaveData done [18:07:30]ExternCall_PrintAddStr [18:07:30]wPrintStart [18:07:30]Write to MH i2c: 01 00 00 E0 0E EE [18:07:30]Write i2c OK [18:07:30]MH_I2C_Read... [18:07:30]Read from MH i2c: 01 [18:07:30]MH_I2C_Read... [18:07:30]Read from MH i2c: 01 07 00 [18:07:30]MH_I2C_Read... [18:07:30]Read from MH i2c: 01 07 00 E0 0E 00 00 00 00 00 FF 0F 03 [18:07:30]RasterBufferAndPrint [18:07:30]line Счет N : (3)34650 [18:07:30]line ИНН: 02508201610067 [18:07:30]line Контрольно-Кассовый Чек [18:07:30]line ПРОДАЖА [18:07:30]line Товар: 48743389 [18:07:30]line Сигареты BOND STREET compact blue [18:07:30]line 2.000 * 134.00 [18:07:30]line = 268.00 [18:07:30]line НДС 12% НСП 1% [18:07:30]line > о реализуемом товаре [18:07:30]line ИТОГО: 268.00 [18:07:30]line НСП 1% : 2.37 [18:07:30]line НДС 12% : 28.46 [18:07:30]line Наличными: 268.00 [18:07:30]line Безнал.: 0.00 [18:07:30]line Место: АЗС № 161 "Партнер Нефть" [18:07:30]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [18:07:30]line СНО: Общий режим [18:07:30]line Чек 48 20.10.2024 18:07 [18:07:30]line Смена: 455 ФФД: 1.0 [18:07:30]line ЗНМ: 0300000240 [18:07:30]line РНМ: 0000000000098147 [18:07:30]line Версия ККМ: 001 [18:07:30]line ФМ: 0000000000965376 [18:07:30]line ФД: 24890 [18:07:30]line ФПД: 150548551846241 [18:07:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T180733&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24890&fm=150548551846241&tin=02508201610067®Number=0000000000098147&sum=26800 [18:07:31]line 0 [18:07:31]OFD Sender: Processing packet 24890 [packets to send 5, broken 4] [18:07:31]ProducePacketName [18:07:31]name=ofd_packets/00024890 [18:07:31]OFD Sender: To server: pG, [18:07:31]CommunicateWithHost lk.salyk.kg:30040 [18:07:31]ConnectInit lk.salyk.kg [18:07:31]written 0, free lines is 4095 [18:07:31]Connected sock=10 [18:07:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2A 01 00 00 8F 7F 22 01 51 07 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 33 33 38 39 06 04 29 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 62 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 E5 46 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3A 61 00 00 35 04 06 00 88 EC 50 F4 49 61 C3 F6 5D 71 CF 41 B5 3E [18:07:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 C4 8D 47 00 EA 1D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3A 61 00 00 F4 03 04 00 64 EF 14 67 B6 04 01 00 00 F8 98 73 7F 5C 4F 40 93 [18:07:31]CommunicateWithHost err = 0 [18:07:31]CheckOFDResponse [18:07:31]1017 (14) - 77093643461234 [18:07:31]1041 (16) - 0000000000965376 [18:07:31]1040 (4) - 24890 [18:07:31]1012 (4) - 20.10.2024 11:54 [18:07:31]1206 (1) - 0 [18:07:31]OFD Sender: Remove packet 24890 [18:07:31]ProducePacketName [18:07:31]name=ofd_packets/00024890 [18:07:31]NVStorageDeleteData [18:07:31]Write to MH i2c: 01 00 00 09 0F 18 [18:07:31]Write i2c OK [18:07:31]MH_I2C_Read... [18:07:31]Read from MH i2c: 01 [18:07:31]MH_I2C_Read... [18:07:31]Read from MH i2c: 01 07 00 [18:07:31]MH_I2C_Read... [18:07:31]Read from MH i2c: 01 07 00 09 0F 00 00 00 00 00 EC 0C 17 [18:07:31]RasterBufferAndPrint [18:07:31]line [18:07:31]line [18:07:31]line [18:07:31]line [18:07:31]line [18:07:31]written 0, free lines is 3314 [18:07:31]process_action close_receipt done [18:07:31]requested_data is exist [18:07:31]produce_requested_data [18:07:31]requested_item fm.sn is exist - process it [18:07:31]wFMCommunicate request_size=4 [18:07:31]MH_SAM_APDU [18:07:31]CAPDU: 80 11 00 00 [18:07:31]Write to MH i2c: E2 08 00 10 0F 80 11 00 00 00 00 00 00 99 [18:07:31]Write i2c OK [18:07:31]MH_I2C_Read... [18:07:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:07:31]Read from MH i2c: E2 [18:07:31]MH_I2C_Read... [18:07:31]Read from MH i2c: E2 17 00 [18:07:31]MH_I2C_Read... [18:07:31]Read from MH i2c: E2 17 00 10 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 F0 [18:07:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:07:31]wFMCommunicate OK [18:07:31]requested_item fd.num is exist - process it [18:07:31]SAM_PROTO_GetFieldsCounters [18:07:31]wFMCommunicate request_size=4 [18:07:31]MH_SAM_APDU [18:07:31]CAPDU: 80 13 00 00 [18:07:31]Write to MH i2c: E2 08 00 11 0F 80 13 00 00 00 00 00 00 9C [18:07:31]Write i2c OK [18:07:31]MH_I2C_Read... [18:07:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:07:31]Read from MH i2c: E2 [18:07:31]MH_I2C_Read... [18:07:31]Read from MH i2c: E2 62 00 [18:07:31]MH_I2C_Read... [18:07:31]Read from MH i2c: E2 62 00 11 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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 3A 61 00 00 0E 04 04 00 C7 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 B8 [18:07:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 3A 61 00 00 0E 04 04 00 C7 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 [18:07:31]wFMCommunicate OK [18:07:32]SAM_PROTO_GetFieldsCounters done [18:07:32]requested_item shift.num is exist - process it [18:07:32]requested_item shift.opened is exist - process it [18:07:32]req_shift_opened [18:07:32]FM_GetShiftState [18:07:32]SAM_PROTO_GetShiftState [18:07:32]wFMCommunicate request_size=4 [18:07:32]MH_SAM_APDU [18:07:32]CAPDU: 80 13 01 00 [18:07:32]Write to MH i2c: E2 08 00 12 0F 80 13 01 00 00 00 00 00 9E [18:07:32]Write i2c OK [18:07:32]MH_I2C_Read... [18:07:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:07:32]Read from MH i2c: E2 [18:07:32]MH_I2C_Read... [18:07:32]Read from MH i2c: E2 0E 00 [18:07:32]MH_I2C_Read... [18:07:32]Read from MH i2c: E2 0E 00 12 0F 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 E4 [18:07:32]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [18:07:32]wFMCommunicate OK [18:07:32]SAM_PROTO_GetShiftState done [18:07:32]FM_GetShiftState done [18:07:32]req_shift_opened done [18:07:32]requested_item shift.open_date is exist - process it [18:07:32]req_shift_open_date [18:07:32]req_shift_open_date done [18:07:32]produce_requested_data done [18:07:32]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24890,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [18:07:32]process_action_free close_receipt [18:07:32]json_value_free [18:07:32]json_value_free done [18:07:32]process_json_proto returns [18:07:32]Send response to host [18:07:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24890,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [18:07:32]free response buf [18:07:32]execute_script done [18:07:32]execute_script returns [18:07:32]free content buf [18:07:32]Sock 7.Close socket [18:07:32]Sock 7.Thread stoped [18:07:32]OFD Sender: No OFD packet to send [18:07:37]OFD Sender: No OFD packet to send [18:07:42]OFD Sender: No OFD packet to send [18:07:47]OFD Sender: No OFD packet to send [18:07:52]OFD Sender: No OFD packet to send [18:07:57]OFD Sender: No OFD packet to send [18:08:02]OFD Sender: No OFD packet to send [18:08:07]OFD Sender: No OFD packet to send [18:08:12]OFD Sender: No OFD packet to send [18:08:17]OFD Sender: No OFD packet to send [18:08:18]accept exits with 9 [18:08:18]New connection [18:08:18]New thread 3067309412 created [18:08:18]Thread 3067166052 joined [18:08:18]Waiting for new connection... [18:08:18] Sock 9.Parse request [18:08:18]Sock 9.Check first char [18:08:18]Sock 9.First char is OK [18:08:18]request: POST /json_proto HTTP/1.0 [18:08:18]Method: POST [18:08:18]URL: /json_proto [18:08:18]Method is POST - this is cgi request [18:08:18]url: /json_proto [18:08:18]query_string will be loaded in cgi processing [18:08:18]execute_cgi json_proto POST (null) [18:08:18]execute_cgi path=json_proto method=POST [18:08:18]POST find Content-Length [18:08:18]Host: 172.17.53.196:8080 [18:08:18]Content-Length: 674 [18:08:18]Content-Type: application/json [18:08:18] [18:08:18]POST finish read [18:08:18]Found Content-Length = 674 [18:08:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34651", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 89.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:08:18]execute_script... [18:08: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)34651", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 89.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:08:18]POST & json_proto [18:08:18]process_json_proto [18:08:18]json parsed OK: [18:08:18]protocol is kg_v1.0 [18:08:18]action value=close_receipt [18:08:18]process_action close_receipt [18:08:18]cmd_close_receipt [18:08:18]MH_GetDate [18:08:18]Write to MH i2c: F0 00 00 13 0F 11 [18:08:18]Write i2c OK [18:08:18]MH_I2C_Read... [18:08:18]Read from MH i2c: F0 [18:08:18]MH_I2C_Read... [18:08:18]Read from MH i2c: F0 09 00 [18:08:18]MH_I2C_Read... [18:08:18]Read from MH i2c: F0 09 00 13 0F 00 16 47 15 67 4F CD 9A 65 0E [18:08:18]GetLastDocTimeStamp 1729447653 [18:08:18]current date 1729447702 [18:08:18]FM_GetShiftState [18:08:18]SAM_PROTO_GetShiftState [18:08:18]wFMCommunicate request_size=4 [18:08:18]MH_SAM_APDU [18:08:18]CAPDU: 80 13 01 00 [18:08:18]Write to MH i2c: E2 08 00 14 0F 80 13 01 00 00 00 00 00 A0 [18:08:18]Write i2c OK [18:08:18]MH_I2C_Read... [18:08:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:08:18]Read from MH i2c: E2 [18:08:18]MH_I2C_Read... [18:08:18]Read from MH i2c: E2 0E 00 [18:08:18]MH_I2C_Read... [18:08:18]Read from MH i2c: E2 0E 00 14 0F 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 E6 [18:08:18]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [18:08:18]wFMCommunicate OK [18:08:18]SAM_PROTO_GetShiftState done [18:08:18]FM_GetShiftState done [18:08:18]opened in 1729384049 [18:08:18]opened+sec_in_day 1729470449 [18:08:18]quantity*price = 8900 [18:08:18]sum+1 = 8901 [18:08:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 89.00 НСП 1% : 0.79 НДС 12% : 9.45 Наличными: 89.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 49 20.10.2024 18:08 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24891 ФПД: 150540788116008 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T180822&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24891&fm=150540788116008&tin=02508201610067®Number=0000000000098147&sum=8900 0 [18:08:19]StoreToDocumentArchive [18:08:19]shift 455 fd 24891 [18:08:19]save to /storage/0455/doc_00024891 [18:08:19]save last doc name /storage/0455/doc_00024891 to /storage/kkm_last_doc_name [18:08:19]save OK [18:08:19]Clear old archive folders... [18:08:19]ProcessDocumentItem done err = 0, tmpTLVsize=286 [18:08:19]tlvbuf is 00DC8780 [18:08:19]SAM_PROTO_ClearQueue [18:08:19]wFMCommunicate request_size=4 [18:08:19]MH_SAM_APDU [18:08:19]CAPDU: 80 09 00 00 [18:08:19]Write to MH i2c: E2 08 00 21 0F 80 09 00 00 00 00 00 00 A2 [18:08:19]Write i2c OK [18:08:19]MH_I2C_Read... [18:08:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:08:19]Read from MH i2c: E2 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: E2 03 00 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: E2 03 00 21 0F 00 90 00 A4 [18:08:19]RAPDU: 90 00 [18:08:19]wFMCommunicate OK [18:08:19]SAM_PROTO_ClearQueue done [18:08:19]KKMCreateOFDPacket [18:08:19]OFDProtocolAddRootSTLVToBuf [18:08:19]FM_MakeSignedData [18:08:19]FM_MakeSignedData [18:08:19]SAM_PROTO_SignData [18:08:19]wFMCommunicate request_size=4 [18:08:19]MH_SAM_APDU [18:08:19]CAPDU: 80 0D 01 02 [18:08:19]Write to MH i2c: E2 08 00 22 0F 80 0D 01 02 00 00 00 00 AA [18:08:19]Write i2c OK [18:08:19]MH_I2C_Read... [18:08:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:08:19]Read from MH i2c: E2 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: E2 03 00 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: E2 03 00 22 0F 00 90 00 A5 [18:08:19]RAPDU: 90 00 [18:08:19]wFMCommunicate OK [18:08:19]wFMCommunicate request_size=255 [18:08:19]MH_SAM_APDU [18:08:19]CAPDU: 80 0D 02 02 FA 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 31 00 00 00 F4 03 04 00 16 47 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 [18:08:19]Write to MH i2c: E2 02 01 23 0F 80 0D 02 02 FA 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 31 00 00 00 F4 03 04 00 16 47 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 00 00 FF [18:08:19]Write i2c OK [18:08:19]MH_I2C_Read... [18:08:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:08:19]Read from MH i2c: E2 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: E2 03 00 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: E2 03 00 23 0F 00 90 00 A6 [18:08:19]RAPDU: 90 00 [18:08:19]wFMCommunicate OK [18:08:19]wFMCommunicate request_size=45 [18:08:19]MH_SAM_APDU [18:08:19]CAPDU: 80 0D 02 02 28 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3B 61 00 00 35 04 06 00 88 EA 82 33 2A 28 [18:08:19]Write to MH i2c: E2 30 00 24 0F 80 0D 02 02 28 00 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3B 61 00 00 35 04 06 00 88 EA 82 33 2A 28 00 00 1D [18:08:19]Write i2c OK [18:08:19]MH_I2C_Read... [18:08:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:08:19]Read from MH i2c: E2 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: E2 03 00 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: E2 03 00 24 0F 00 90 00 A7 [18:08:19]RAPDU: 90 00 [18:08:19]wFMCommunicate OK [18:08:19]wFMCommunicate request_size=4 [18:08:19]MH_SAM_APDU [18:08:19]CAPDU: 80 0D 03 02 [18:08:19]Write to MH i2c: E2 08 00 25 0F 80 0D 03 02 00 00 00 00 AF [18:08:19]Write i2c OK [18:08:19]MH_I2C_Read... [18:08:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:08:19]Read from MH i2c: E2 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: E2 0B 00 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: E2 0B 00 25 0F 00 6E 89 EC 98 4F E8 85 AE 90 00 95 [18:08:19]RAPDU: 6E 89 EC 98 4F E8 85 AE 90 00 [18:08:19]wFMCommunicate OK [18:08:19]SAM_PROTO_SignData done [18:08:19]FM_MakeSignedData done [18:08:19]CreateOFDProtocolMessage [18:08:19]wFMCommunicate request_size=4 [18:08:19]MH_SAM_APDU [18:08:19]CAPDU: 80 11 00 00 [18:08:19]Write to MH i2c: E2 08 00 26 0F 80 11 00 00 00 00 00 00 AF [18:08:19]Write i2c OK [18:08:19]MH_I2C_Read... [18:08:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:08:19]Read from MH i2c: E2 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: E2 17 00 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: E2 17 00 26 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 06 [18:08:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:08:19]wFMCommunicate OK [18:08:19]CreateOFDProtocolMessage done [18:08:19]OFDSenderStorePacket 24891 [18:08:19]StoreOFDPacket docnum=24891 [18:08:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 32 01 00 00 7E 66 2A 01 D8 FE 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 31 00 00 00 F4 03 04 00 16 47 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3B 61 00 00 35 04 06 00 88 EA 82 33 2A 28 6E 89 EC 98 4F E8 85 AE [18:08:19]CheckFolder [18:08:19]dirname=/storage/ofd_packets [18:08:19]CheckFolder done [18:08:19]ProducePacketName [18:08:19]name=ofd_packets/00024891 [18:08:19]NVStorageSaveData ofd_packets/00024891 [18:08:19]File name is /storage/ofd_packets/00024891 [18:08:19]Write 336 bytes [18:08:19]NVStorageSaveData done [18:08:19]OFDSenderStorePacket done [18:08:19]KKMCreateOFDPacket done [18:08:19]NVStorageSaveData kkm_last_timestamp [18:08:19]File name is /storage/kkm_last_timestamp [18:08:19]Write 4 bytes [18:08:19]NVStorageSaveData done [18:08:19]ExternCall_PrintAddStr [18:08:19]wPrintStart [18:08:19]Write to MH i2c: 01 00 00 27 0F 36 [18:08:19]Write i2c OK [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: 01 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: 01 07 00 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: 01 07 00 27 0F 00 00 00 00 00 FF 0F 4B [18:08:19]RasterBufferAndPrint [18:08:19]line Счет N : (3)34651 [18:08:19]line ИНН: 02508201610067 [18:08:19]line Контрольно-Кассовый Чек [18:08:19]line ПРОДАЖА [18:08:19]line Товар: 4700040114120 [18:08:19]line Султан чай 1л. чер персик [18:08:19]line 1.000 * 89.00 [18:08:19]line = 89.00 [18:08:19]line НДС 12% НСП 1% [18:08:19]line > о реализуемом товаре [18:08:19]line ИТОГО: 89.00 [18:08:19]line НСП 1% : 0.79 [18:08:19]line НДС 12% : 9.45 [18:08:19]line Наличными: 89.00 [18:08:19]line Безнал.: 0.00 [18:08:19]line Место: АЗС № 161 "Партнер Нефть" [18:08:19]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [18:08:19]line СНО: Общий режим [18:08:19]line Чек 49 20.10.2024 18:08 [18:08:19]line Смена: 455 ФФД: 1.0 [18:08:19]line ЗНМ: 0300000240 [18:08:19]line РНМ: 0000000000098147 [18:08:19]line Версия ККМ: 001 [18:08:19]line ФМ: 0000000000965376 [18:08:19]line ФД: 24891 [18:08:19]line ФПД: 150540788116008 [18:08:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T180822&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24891&fm=150540788116008&tin=02508201610067®Number=0000000000098147&sum=8900 [18:08:20]line 0 [18:08:20]OFD Sender: Processing packet 24891 [packets to send 5, broken 4] [18:08:20]ProducePacketName [18:08:20]name=ofd_packets/00024891 [18:08:20]OFD Sender: To server: pG, [18:08:20]CommunicateWithHost lk.salyk.kg:30040 [18:08:20]ConnectInit lk.salyk.kg [18:08:20]written 0, free lines is 4095 [18:08:20]Connected sock=10 [18:08: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 33 37 36 32 01 00 00 7E 66 2A 01 D8 FE 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 31 00 00 00 F4 03 04 00 16 47 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3B 61 00 00 35 04 06 00 88 EA 82 33 2A 28 6E 89 EC 98 4F E8 85 AE [18:08:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 24 92 47 00 B5 71 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3B 61 00 00 F4 03 04 00 95 EF 14 67 B6 04 01 00 00 8F 61 ED 08 13 E6 D9 63 [18:08:20]CommunicateWithHost err = 0 [18:08:20]CheckOFDResponse [18:08:20]1017 (14) - 77093643461234 [18:08:20]1041 (16) - 0000000000965376 [18:08:20]1040 (4) - 24891 [18:08:20]1012 (4) - 20.10.2024 11:55 [18:08:20]1206 (1) - 0 [18:08:20]OFD Sender: Remove packet 24891 [18:08:20]ProducePacketName [18:08:20]name=ofd_packets/00024891 [18:08:20]NVStorageDeleteData [18:08:20]Write to MH i2c: 01 00 00 4F 0F 5E [18:08:20]Write i2c OK [18:08:20]MH_I2C_Read... [18:08:20]Read from MH i2c: 01 [18:08:20]MH_I2C_Read... [18:08:20]Read from MH i2c: 01 07 00 [18:08:20]MH_I2C_Read... [18:08:20]Read from MH i2c: 01 07 00 4F 0F 00 00 00 00 00 F2 0C 63 [18:08:20]RasterBufferAndPrint [18:08:20]line [18:08:20]line [18:08:20]line [18:08:20]line [18:08:20]line [18:08:20]written 0, free lines is 3320 [18:08:20]process_action close_receipt done [18:08:20]requested_data is exist [18:08:20]produce_requested_data [18:08:20]requested_item fm.sn is exist - process it [18:08:20]wFMCommunicate request_size=4 [18:08:20]MH_SAM_APDU [18:08:20]CAPDU: 80 11 00 00 [18:08:20]Write to MH i2c: E2 08 00 56 0F 80 11 00 00 00 00 00 00 DF [18:08:20]Write i2c OK [18:08:20]MH_I2C_Read... [18:08:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:08:20]Read from MH i2c: E2 [18:08:20]MH_I2C_Read... [18:08:20]Read from MH i2c: E2 17 00 [18:08:20]MH_I2C_Read... [18:08:20]Read from MH i2c: E2 17 00 56 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 36 [18:08:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:08:20]wFMCommunicate OK [18:08:20]requested_item fd.num is exist - process it [18:08:20]SAM_PROTO_GetFieldsCounters [18:08:20]wFMCommunicate request_size=4 [18:08:20]MH_SAM_APDU [18:08:20]CAPDU: 80 13 00 00 [18:08:20]Write to MH i2c: E2 08 00 57 0F 80 13 00 00 00 00 00 00 E2 [18:08:20]Write i2c OK [18:08:20]MH_I2C_Read... [18:08:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:08:20]Read from MH i2c: E2 [18:08:20]MH_I2C_Read... [18:08:20]Read from MH i2c: E2 62 00 [18:08:20]MH_I2C_Read... [18:08:20]Read from MH i2c: E2 62 00 57 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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 3B 61 00 00 0E 04 04 00 C7 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 02 [18:08:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 3B 61 00 00 0E 04 04 00 C7 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 [18:08:20]wFMCommunicate OK [18:08:20]SAM_PROTO_GetFieldsCounters done [18:08:20]requested_item shift.num is exist - process it [18:08:20]requested_item shift.opened is exist - process it [18:08:20]req_shift_opened [18:08:20]FM_GetShiftState [18:08:20]SAM_PROTO_GetShiftState [18:08:20]wFMCommunicate request_size=4 [18:08:20]MH_SAM_APDU [18:08:20]CAPDU: 80 13 01 00 [18:08:20]Write to MH i2c: E2 08 00 58 0F 80 13 01 00 00 00 00 00 E4 [18:08:20]Write i2c OK [18:08:20]MH_I2C_Read... [18:08:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:08:20]Read from MH i2c: E2 [18:08:20]MH_I2C_Read... [18:08:20]Read from MH i2c: E2 0E 00 [18:08:20]MH_I2C_Read... [18:08:20]Read from MH i2c: E2 0E 00 58 0F 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 2A [18:08:20]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [18:08:20]wFMCommunicate OK [18:08:20]SAM_PROTO_GetShiftState done [18:08:20]FM_GetShiftState done [18:08:20]req_shift_opened done [18:08:20]requested_item shift.open_date is exist - process it [18:08:20]req_shift_open_date [18:08:20]req_shift_open_date done [18:08:20]produce_requested_data done [18:08:20]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24891,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [18:08:20]process_action_free close_receipt [18:08:20]json_value_free [18:08:20]json_value_free done [18:08:20]process_json_proto returns [18:08:20]Send response to host [18:08:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24891,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [18:08:20]free response buf [18:08:20]execute_script done [18:08:20]execute_script returns [18:08:20]free content buf [18:08:20]Sock 9.Close socket [18:08:20]Sock 9.Thread stoped [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]accept exits with 7 [18:15:06]New connection [18:15:06]New thread 3067166052 created [18:15:06]Thread 3067309412 joined [18:15:06]Waiting for new connection... [18:15:06] Sock 7.Parse request [18:15:06]Sock 7.Check first char [18:15:06]Sock 7.First char is OK [18:15:06]request: POST /json_proto HTTP/1.0 [18:15:06]Method: POST [18:15:06]URL: /json_proto [18:15:06]Method is POST - this is cgi request [18:15:06]url: /json_proto [18:15:06]query_string will be loaded in cgi processing [18:15:06]execute_cgi json_proto POST (null) [18:15:06]execute_cgi path=json_proto method=POST [18:15:06]POST find Content-Length [18:15:06]Host: 172.17.53.196:8080 [18:15:06]Content-Length: 842 [18:15:06]Content-Type: application/json [18:15:06] [18:15:06]POST finish read [18:15:06]Found Content-Length = 842 [18:15:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34652", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173976", "name": "\u0416\u0435\u0432 Orbit Winterfresh \u043F\u043E\u0434", "price" : 34.00, "quantity" : 1.000, "sum" : 34.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 183.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:15:06]execute_script... [18:15:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34652", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173976", "name": "\u0416\u0435\u0432 Orbit Winterfresh \u043F\u043E\u0434", "price" : 34.00, "quantity" : 1.000, "sum" : 34.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 183.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:15:06]POST & json_proto [18:15:06]process_json_proto [18:15:06]json parsed OK: [18:15:06]protocol is kg_v1.0 [18:15:06]action value=close_receipt [18:15:06]process_action close_receipt [18:15:06]cmd_close_receipt [18:15:06]MH_GetDate [18:15:06]Write to MH i2c: F0 00 00 59 0F 57 [18:15:06]Write i2c OK [18:15:06]MH_I2C_Read... [18:15:06]Read from MH i2c: F0 [18:15:06]MH_I2C_Read... [18:15:06]Read from MH i2c: F0 09 00 [18:15:06]MH_I2C_Read... [18:15:06]Read from MH i2c: F0 09 00 59 0F 00 AE 48 15 67 4F CD 9A 65 ED [18:15:06]GetLastDocTimeStamp 1729447702 [18:15:06]current date 1729448110 [18:15:06]FM_GetShiftState [18:15:06]SAM_PROTO_GetShiftState [18:15:06]wFMCommunicate request_size=4 [18:15:06]MH_SAM_APDU [18:15:06]CAPDU: 80 13 01 00 [18:15:06]Write to MH i2c: E2 08 00 5A 0F 80 13 01 00 00 00 00 00 E6 [18:15:06]Write i2c OK [18:15:06]MH_I2C_Read... [18:15:06]OFD Sender: No OFD packet to send [18:15:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:15:06]Read from MH i2c: E2 [18:15:06]MH_I2C_Read... [18:15:06]Read from MH i2c: E2 0E 00 [18:15:06]MH_I2C_Read... [18:15:06]Read from MH i2c: E2 0E 00 5A 0F 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 2C [18:15:06]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [18:15:06]wFMCommunicate OK [18:15:06]SAM_PROTO_GetShiftState done [18:15:06]FM_GetShiftState done [18:15:06]opened in 1729384049 [18:15:06]opened+sec_in_day 1729470449 [18:15:06]quantity*price = 14900 [18:15:06]sum+1 = 14901 [18:15:06]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 50173976 Жев Orbit Winterfresh под 1.000 * 34.00 = 34.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 183.00 НСП 1% : 1.62 НДС 12% : 19.43 Наличными: 183.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 50 20.10.2024 18:15 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24892 ФПД: 221664095319478 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T181510&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24892&fm=221664095319478&tin=02508201610067®Number=0000000000098147&sum=18300 0 [18:15:07]StoreToDocumentArchive [18:15:07]shift 455 fd 24892 [18:15:07]save to /storage/0455/doc_00024892 [18:15:07]save last doc name /storage/0455/doc_00024892 to /storage/kkm_last_doc_name [18:15:07]save OK [18:15:07]Clear old archive folders... [18:15:07]ProcessDocumentItem done err = 0, tmpTLVsize=371 [18:15:07]tlvbuf is 00E28AE0 [18:15:07]SAM_PROTO_ClearQueue [18:15:07]wFMCommunicate request_size=4 [18:15:07]MH_SAM_APDU [18:15:07]CAPDU: 80 09 00 00 [18:15:07]Write to MH i2c: E2 08 00 67 0F 80 09 00 00 00 00 00 00 E8 [18:15:07]Write i2c OK [18:15:07]MH_I2C_Read... [18:15:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:15:07]Read from MH i2c: E2 [18:15:07]MH_I2C_Read... [18:15:07]Read from MH i2c: E2 03 00 [18:15:07]MH_I2C_Read... [18:15:07]Read from MH i2c: E2 03 00 67 0F 00 90 00 EA [18:15:07]RAPDU: 90 00 [18:15:07]wFMCommunicate OK [18:15:07]SAM_PROTO_ClearQueue done [18:15:07]KKMCreateOFDPacket [18:15:07]OFDProtocolAddRootSTLVToBuf [18:15:07]FM_MakeSignedData [18:15:07]FM_MakeSignedData [18:15:07]SAM_PROTO_SignData [18:15:07]wFMCommunicate request_size=4 [18:15:07]MH_SAM_APDU [18:15:07]CAPDU: 80 0D 01 02 [18:15:07]Write to MH i2c: E2 08 00 68 0F 80 0D 01 02 00 00 00 00 F0 [18:15:07]Write i2c OK [18:15:07]MH_I2C_Read... [18:15:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:15:07]Read from MH i2c: E2 [18:15:07]MH_I2C_Read... [18:15:07]Read from MH i2c: E2 03 00 [18:15:07]MH_I2C_Read... [18:15:07]Read from MH i2c: E2 03 00 68 0F 00 90 00 EB [18:15:07]RAPDU: 90 00 [18:15:07]wFMCommunicate OK [18:15:07]wFMCommunicate request_size=255 [18:15:07]MH_SAM_APDU [18:15:07]CAPDU: 80 0D 02 02 FA 03 00 73 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 0D 00 00 00 00 13 04 06 00 48 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 47 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 00 00 00 00 00 EE 03 0F 00 F2 03 01 [18:15:07]Write to MH i2c: E2 02 01 69 0F 80 0D 02 02 FA 00 03 00 73 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 0D 00 00 00 00 13 04 06 00 48 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 47 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 00 4B [18:15:07]Write i2c OK [18:15:07]MH_I2C_Read... [18:15:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:15:07]Read from MH i2c: E2 [18:15:07]MH_I2C_Read... [18:15:07]Read from MH i2c: E2 03 00 [18:15:07]MH_I2C_Read... [18:15:07]Read from MH i2c: E2 03 00 69 0F 00 90 00 EC [18:15:07]RAPDU: 90 00 [18:15:07]wFMCommunicate OK [18:15:07]wFMCommunicate request_size=130 [18:15:07]MH_SAM_APDU [18:15:07]CAPDU: 80 0D 02 02 7D 00 01 F3 03 06 00 97 07 00 00 00 00 07 04 06 00 7C 47 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 AE 48 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3C 61 00 00 35 04 06 00 C9 9A 31 A9 35 B6 [18:15:07]Write to MH i2c: E2 85 00 6A 0F 80 0D 02 02 7D 00 00 01 F3 03 06 00 97 07 00 00 00 00 07 04 06 00 7C 47 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 AE 48 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3C 61 00 00 35 04 06 00 C9 9A 31 A9 35 B6 00 00 BE [18:15:07]Write i2c OK [18:15:07]MH_I2C_Read... [18:15:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:15:08]Read from MH i2c: E2 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: E2 03 00 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: E2 03 00 6A 0F 00 90 00 ED [18:15:08]RAPDU: 90 00 [18:15:08]wFMCommunicate OK [18:15:08]wFMCommunicate request_size=4 [18:15:08]MH_SAM_APDU [18:15:08]CAPDU: 80 0D 03 02 [18:15:08]Write to MH i2c: E2 08 00 6B 0F 80 0D 03 02 00 00 00 00 F5 [18:15:08]Write i2c OK [18:15:08]MH_I2C_Read... [18:15:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:15:08]Read from MH i2c: E2 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: E2 0B 00 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: E2 0B 00 6B 0F 00 C2 85 93 B5 8A 2E 3B 97 90 00 0F [18:15:08]RAPDU: C2 85 93 B5 8A 2E 3B 97 90 00 [18:15:08]wFMCommunicate OK [18:15:08]SAM_PROTO_SignData done [18:15:08]FM_MakeSignedData done [18:15:08]CreateOFDProtocolMessage [18:15:08]wFMCommunicate request_size=4 [18:15:08]MH_SAM_APDU [18:15:08]CAPDU: 80 11 00 00 [18:15:08]Write to MH i2c: E2 08 00 6C 0F 80 11 00 00 00 00 00 00 F5 [18:15:08]Write i2c OK [18:15:08]MH_I2C_Read... [18:15:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:15:08]Read from MH i2c: E2 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: E2 17 00 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: E2 17 00 6C 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 4C [18:15:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:15:08]wFMCommunicate OK [18:15:08]CreateOFDProtocolMessage done [18:15:08]OFDSenderStorePacket 24892 [18:15:08]StoreOFDPacket docnum=24892 [18:15:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 87 01 00 00 BD 49 7F 01 13 88 5A 03 01 00 03 00 73 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 0D 00 00 00 00 13 04 06 00 48 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 47 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 97 07 00 00 00 00 07 04 06 00 7C 47 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 AE 48 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3C 61 00 00 35 04 06 00 C9 9A 31 A9 35 B6 C2 85 93 B5 8A 2E 3B 97 [18:15:08]CheckFolder [18:15:08]dirname=/storage/ofd_packets [18:15:08]CheckFolder done [18:15:08]ProducePacketName [18:15:08]name=ofd_packets/00024892 [18:15:08]NVStorageSaveData ofd_packets/00024892 [18:15:08]File name is /storage/ofd_packets/00024892 [18:15:08]Write 421 bytes [18:15:08]NVStorageSaveData done [18:15:08]OFDSenderStorePacket done [18:15:08]KKMCreateOFDPacket done [18:15:08]NVStorageSaveData kkm_last_timestamp [18:15:08]File name is /storage/kkm_last_timestamp [18:15:08]Write 4 bytes [18:15:08]NVStorageSaveData done [18:15:08]ExternCall_PrintAddStr [18:15:08]wPrintStart [18:15:08]Write to MH i2c: 01 00 00 6D 0F 7C [18:15:08]Write i2c OK [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: 01 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: 01 07 00 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: 01 07 00 6D 0F 00 00 00 00 00 FF 0F 91 [18:15:08]RasterBufferAndPrint [18:15:08]line Счет N : (3)34652 [18:15:08]line ИНН: 02508201610067 [18:15:08]line Контрольно-Кассовый Чек [18:15:08]line ПРОДАЖА [18:15:08]line Товар: 48744119 [18:15:08]line Сигареты Winston Xstyle Dual [18:15:08]line 1.000 * 149.00 [18:15:08]line = 149.00 [18:15:08]line НДС 12% НСП 1% [18:15:08]line > о реализуемом товаре [18:15:08]line Товар: 50173976 [18:15:08]line Жев Orbit Winterfresh под [18:15:08]line 1.000 * 34.00 [18:15:08]line = 34.00 [18:15:08]line НДС 12% НСП 1% [18:15:08]line > о реализуемом товаре [18:15:08]line ИТОГО: 183.00 [18:15:08]line НСП 1% : 1.62 [18:15:08]line НДС 12% : 19.43 [18:15:08]line Наличными: 183.00 [18:15:08]line Безнал.: 0.00 [18:15:08]line Место: АЗС № 161 "Партнер Нефть" [18:15:08]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [18:15:08]line СНО: Общий режим [18:15:08]line Чек 50 20.10.2024 18:15 [18:15:08]line Смена: 455 ФФД: 1.0 [18:15:08]line ЗНМ: 0300000240 [18:15:08]line РНМ: 0000000000098147 [18:15:08]line Версия ККМ: 001 [18:15:08]line ФМ: 0000000000965376 [18:15:08]line ФД: 24892 [18:15:08]line ФПД: 221664095319478 [18:15:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T181510&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24892&fm=221664095319478&tin=02508201610067®Number=0000000000098147&sum=18300 [18:15:08]line 0 [18:15:08]OFD Sender: Processing packet 24892 [packets to send 5, broken 4] [18:15:08]ProducePacketName [18:15:08]name=ofd_packets/00024892 [18:15:08]OFD Sender: To server: pG, [18:15:08]CommunicateWithHost lk.salyk.kg:30040 [18:15:08]ConnectInit lk.salyk.kg [18:15:08]written 0, free lines is 4095 [18:15:08]Connected sock=10 [18:15: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 33 37 36 87 01 00 00 BD 49 7F 01 13 88 5A 03 01 00 03 00 73 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 0D 00 00 00 00 13 04 06 00 48 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 47 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 97 07 00 00 00 00 07 04 06 00 7C 47 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 AE 48 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3C 61 00 00 35 04 06 00 C9 9A 31 A9 35 B6 C2 85 93 B5 8A 2E 3B 97 [18:15:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 C4 ED 47 00 74 67 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3C 61 00 00 F4 03 04 00 2E F1 14 67 B6 04 01 00 00 E2 D5 B6 9C 07 3A 74 D8 [18:15:08]CommunicateWithHost err = 0 [18:15:08]CheckOFDResponse [18:15:08]1017 (14) - 77093643461234 [18:15:08]1041 (16) - 0000000000965376 [18:15:08]1040 (4) - 24892 [18:15:08]1012 (4) - 20.10.2024 12:01 [18:15:08]1206 (1) - 0 [18:15:08]OFD Sender: Remove packet 24892 [18:15:08]ProducePacketName [18:15:08]name=ofd_packets/00024892 [18:15:08]NVStorageDeleteData [18:15:09]Write to MH i2c: 01 00 00 9B 0F AA [18:15:09]Write i2c OK [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: 01 [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: 01 07 00 [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: 01 07 00 9B 0F 00 00 00 00 00 87 0C 44 [18:15:09]RasterBufferAndPrint [18:15:09]line [18:15:09]line [18:15:09]line [18:15:09]line [18:15:09]line [18:15:09]written 0, free lines is 3212 [18:15:09]process_action close_receipt done [18:15:09]requested_data is exist [18:15:09]produce_requested_data [18:15:09]requested_item fm.sn is exist - process it [18:15:09]wFMCommunicate request_size=4 [18:15:09]MH_SAM_APDU [18:15:09]CAPDU: 80 11 00 00 [18:15:09]Write to MH i2c: E2 08 00 A2 0F 80 11 00 00 00 00 00 00 2B [18:15:09]Write i2c OK [18:15:09]MH_I2C_Read... [18:15:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:15:09]Read from MH i2c: E2 [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: E2 17 00 [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: E2 17 00 A2 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 82 [18:15:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:15:09]wFMCommunicate OK [18:15:09]requested_item fd.num is exist - process it [18:15:09]SAM_PROTO_GetFieldsCounters [18:15:09]wFMCommunicate request_size=4 [18:15:09]MH_SAM_APDU [18:15:09]CAPDU: 80 13 00 00 [18:15:09]Write to MH i2c: E2 08 00 A3 0F 80 13 00 00 00 00 00 00 2E [18:15:09]Write i2c OK [18:15:09]MH_I2C_Read... [18:15:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:15:09]Read from MH i2c: E2 [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: E2 62 00 [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: E2 62 00 A3 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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 3C 61 00 00 0E 04 04 00 C7 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 52 [18:15: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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 3C 61 00 00 0E 04 04 00 C7 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 [18:15:09]wFMCommunicate OK [18:15:09]SAM_PROTO_GetFieldsCounters done [18:15:09]requested_item shift.num is exist - process it [18:15:09]requested_item shift.opened is exist - process it [18:15:09]req_shift_opened [18:15:09]FM_GetShiftState [18:15:09]SAM_PROTO_GetShiftState [18:15:09]wFMCommunicate request_size=4 [18:15:09]MH_SAM_APDU [18:15:09]CAPDU: 80 13 01 00 [18:15:09]Write to MH i2c: E2 08 00 A4 0F 80 13 01 00 00 00 00 00 30 [18:15:09]Write i2c OK [18:15:09]MH_I2C_Read... [18:15:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:15:09]Read from MH i2c: E2 [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: E2 0E 00 [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: E2 0E 00 A4 0F 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 76 [18:15:09]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [18:15:09]wFMCommunicate OK [18:15:09]SAM_PROTO_GetShiftState done [18:15:09]FM_GetShiftState done [18:15:09]req_shift_opened done [18:15:09]requested_item shift.open_date is exist - process it [18:15:09]req_shift_open_date [18:15:09]req_shift_open_date done [18:15:09]produce_requested_data done [18:15:09]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24892,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [18:15:09]process_action_free close_receipt [18:15:09]json_value_free [18:15:09]json_value_free done [18:15:09]process_json_proto returns [18:15:09]Send response to host [18:15:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24892,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [18:15:09]free response buf [18:15:09]execute_script done [18:15:09]execute_script returns [18:15:09]free content buf [18:15:09]Sock 7.Close socket [18:15:09]Sock 7.Thread stoped [18:15:09]OFD Sender: No OFD packet to send [18:15:14]OFD Sender: No OFD packet to send [18:15:19]OFD Sender: No OFD packet to send [18:15:24]OFD Sender: No OFD packet to send [18:15:29]OFD Sender: No OFD packet to send [18:15:34]OFD Sender: No OFD packet to send [18:15:39]OFD Sender: No OFD packet to send [18:15:44]OFD Sender: No OFD packet to send [18:15:49]OFD Sender: No OFD packet to send [18:15:54]OFD Sender: No OFD packet to send [18:15:59]OFD Sender: No OFD packet to send [18:16:04]OFD Sender: No OFD packet to send [18:16:09]OFD Sender: No OFD packet to send [18:16:14]OFD Sender: No OFD packet to send [18:16:19]OFD Sender: No OFD packet to send [18:16:24]OFD Sender: No OFD packet to send [18:16:29]OFD Sender: No OFD packet to send [18:16:34]OFD Sender: No OFD packet to send [18:16:39]OFD Sender: No OFD packet to send [18:16:44]OFD Sender: No OFD packet to send [18:16:49]OFD Sender: No OFD packet to send [18:16:54]OFD Sender: No OFD packet to send [18:16:59]OFD Sender: No OFD packet to send [18:17:04]OFD Sender: No OFD packet to send [18:17:09]OFD Sender: No OFD packet to send [18:17:14]OFD Sender: No OFD packet to send [18:17:19]OFD Sender: No OFD packet to send [18:17:24]OFD Sender: No OFD packet to send [18:17:29]OFD Sender: No OFD packet to send [18:17:34]OFD Sender: No OFD packet to send [18:17:39]OFD Sender: No OFD packet to send [18:17:44]OFD Sender: No OFD packet to send [18:17:49]OFD Sender: No OFD packet to send [18:17:54]OFD Sender: No OFD packet to send [18:17:59]OFD Sender: No OFD packet to send [18:18:04]OFD Sender: No OFD packet to send [18:18:09]OFD Sender: No OFD packet to send [18:18:14]OFD Sender: No OFD packet to send [18:18:19]OFD Sender: No OFD packet to send [18:18:24]OFD Sender: No OFD packet to send [18:18:29]OFD Sender: No OFD packet to send [18:18:34]OFD Sender: No OFD packet to send [18:18:39]OFD Sender: No OFD packet to send [18:18:44]OFD Sender: No OFD packet to send [18:18:49]OFD Sender: No OFD packet to send [18:18:54]OFD Sender: No OFD packet to send [18:18:59]OFD Sender: No OFD packet to send [18:19:04]OFD Sender: No OFD packet to send [18:19:09]OFD Sender: No OFD packet to send [18:19:14]OFD Sender: No OFD packet to send [18:19:19]OFD Sender: No OFD packet to send [18:19:24]OFD Sender: No OFD packet to send [18:19:29]OFD Sender: No OFD packet to send [18:19:34]OFD Sender: No OFD packet to send [18:19:39]OFD Sender: No OFD packet to send [18:19:44]OFD Sender: No OFD packet to send [18:19:49]OFD Sender: No OFD packet to send [18:19:54]OFD Sender: No OFD packet to send [18:19:59]OFD Sender: No OFD packet to send [18:20:04]OFD Sender: No OFD packet to send [18:20:09]OFD Sender: No OFD packet to send [18:20:14]OFD Sender: No OFD packet to send [18:20:19]OFD Sender: No OFD packet to send [18:20:24]OFD Sender: No OFD packet to send [18:20:29]OFD Sender: No OFD packet to send [18:20:34]OFD Sender: No OFD packet to send [18:20:39]OFD Sender: No OFD packet to send [18:20:44]OFD Sender: No OFD packet to send [18:20:49]OFD Sender: No OFD packet to send [18:20:54]OFD Sender: No OFD packet to send [18:20:59]OFD Sender: No OFD packet to send [18:21:04]OFD Sender: No OFD packet to send [18:21:09]OFD Sender: No OFD packet to send [18:21:14]OFD Sender: No OFD packet to send [18:21:19]OFD Sender: No OFD packet to send [18:21:24]OFD Sender: No OFD packet to send [18:21:29]OFD Sender: No OFD packet to send [18:21:34]OFD Sender: No OFD packet to send [18:21:39]OFD Sender: No OFD packet to send [18:21:44]OFD Sender: No OFD packet to send [18:21:49]OFD Sender: No OFD packet to send [18:21:54]OFD Sender: No OFD packet to send [18:21:59]OFD Sender: No OFD packet to send [18:22:04]OFD Sender: No OFD packet to send [18:22:09]OFD Sender: No OFD packet to send [18:22:14]OFD Sender: No OFD packet to send [18:22:19]OFD Sender: No OFD packet to send [18:22:24]accept exits with 9 [18:22:24]New connection [18:22:24]New thread 3067309412 created [18:22:24]Thread 3067166052 joined [18:22:24]Waiting for new connection... [18:22:24] Sock 9.Parse request [18:22:24]Sock 9.Check first char [18:22:24]Sock 9.First char is OK [18:22:24]request: POST /json_proto HTTP/1.0 [18:22:24]Method: POST [18:22:24]URL: /json_proto [18:22:24]Method is POST - this is cgi request [18:22:24]url: /json_proto [18:22:24]query_string will be loaded in cgi processing [18:22:24]execute_cgi json_proto POST (null) [18:22:24]execute_cgi path=json_proto method=POST [18:22:24]POST find Content-Length [18:22:24]Host: 172.17.53.196:8080 [18:22:24]Content-Length: 667 [18:22:24]Content-Type: application/json [18:22:24] [18:22:24]POST finish read [18:22:24]Found Content-Length = 667 [18:22:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34653", "tax_sys" : 0, "items" : [ { "code": "4670003190037", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u0416-40 \u0437\u0435\u043B 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:22:24]execute_script... [18:22: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)34653", "tax_sys" : 0, "items" : [ { "code": "4670003190037", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u0416-40 \u0437\u0435\u043B 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:22:24]POST & json_proto [18:22:24]process_json_proto [18:22:24]json parsed OK: [18:22:24]protocol is kg_v1.0 [18:22:24]action value=close_receipt [18:22:24]process_action close_receipt [18:22:24]cmd_close_receipt [18:22:24]MH_GetDate [18:22:24]Write to MH i2c: F0 00 00 A5 0F A3 [18:22:24]Write i2c OK [18:22:24]MH_I2C_Read... [18:22:24]Read from MH i2c: F0 [18:22:24]MH_I2C_Read... [18:22:24]Read from MH i2c: F0 09 00 [18:22:24]MH_I2C_Read... [18:22:24]Read from MH i2c: F0 09 00 A5 0F 00 64 4A 15 67 4F CD 9A 65 F1 [18:22:24]GetLastDocTimeStamp 1729448110 [18:22:24]current date 1729448548 [18:22:24]FM_GetShiftState [18:22:24]SAM_PROTO_GetShiftState [18:22:24]wFMCommunicate request_size=4 [18:22:24]MH_SAM_APDU [18:22:24]CAPDU: 80 13 01 00 [18:22:24]Write to MH i2c: E2 08 00 A6 0F 80 13 01 00 00 00 00 00 32 [18:22:24]Write i2c OK [18:22:24]MH_I2C_Read... [18:22:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:22:24]Read from MH i2c: E2 [18:22:24]MH_I2C_Read... [18:22:24]Read from MH i2c: E2 0E 00 [18:22:24]MH_I2C_Read... [18:22:24]Read from MH i2c: E2 0E 00 A6 0F 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 78 [18:22:24]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [18:22:24]wFMCommunicate OK [18:22:24]SAM_PROTO_GetShiftState done [18:22:24]FM_GetShiftState done [18:22:24]opened in 1729384049 [18:22:24]opened+sec_in_day 1729470449 [18:22:24]quantity*price = 22500 [18:22:24]sum+1 = 22501 [18:22:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.89 Наличными: 225.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 51 20.10.2024 18:22 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24893 ФПД: 134471622765953 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T182228&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24893&fm=134471622765953&tin=02508201610067®Number=0000000000098147&sum=22500 0 [18:22:25]StoreToDocumentArchive [18:22:25]shift 455 fd 24893 [18:22:25]save to /storage/0455/doc_00024893 [18:22:25]save last doc name /storage/0455/doc_00024893 to /storage/kkm_last_doc_name [18:22:25]save OK [18:22:25]Clear old archive folders... [18:22:25]ProcessDocumentItem done err = 0, tmpTLVsize=296 [18:22:25]tlvbuf is 00E281B0 [18:22:25]SAM_PROTO_ClearQueue [18:22:25]wFMCommunicate request_size=4 [18:22:25]MH_SAM_APDU [18:22:25]CAPDU: 80 09 00 00 [18:22:25]Write to MH i2c: E2 08 00 B3 0F 80 09 00 00 00 00 00 00 34 [18:22:25]Write i2c OK [18:22:25]MH_I2C_Read... [18:22:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:22:25]Read from MH i2c: E2 [18:22:25]MH_I2C_Read... [18:22:25]Read from MH i2c: E2 03 00 [18:22:25]MH_I2C_Read... [18:22:25]Read from MH i2c: E2 03 00 B3 0F 00 90 00 36 [18:22:25]RAPDU: 90 00 [18:22:25]wFMCommunicate OK [18:22:25]SAM_PROTO_ClearQueue done [18:22:25]KKMCreateOFDPacket [18:22:25]OFDProtocolAddRootSTLVToBuf [18:22:25]FM_MakeSignedData [18:22:25]FM_MakeSignedData [18:22:25]SAM_PROTO_SignData [18:22:25]wFMCommunicate request_size=4 [18:22:25]MH_SAM_APDU [18:22:25]CAPDU: 80 0D 01 02 [18:22:25]Write to MH i2c: E2 08 00 B4 0F 80 0D 01 02 00 00 00 00 3C [18:22:25]Write i2c OK [18:22:25]MH_I2C_Read... [18:22:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:22:25]Read from MH i2c: E2 [18:22:25]MH_I2C_Read... [18:22:25]Read from MH i2c: E2 03 00 [18:22:25]MH_I2C_Read... [18:22:25]Read from MH i2c: E2 03 00 B4 0F 00 90 00 37 [18:22:25]RAPDU: 90 00 [18:22:25]wFMCommunicate OK [18:22:25]wFMCommunicate request_size=255 [18:22:25]MH_SAM_APDU [18:22:25]CAPDU: 80 0D 02 02 FA 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 33 37 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B7 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 64 4A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [18:22:25]Write to MH i2c: E2 02 01 B5 0F 80 0D 02 02 FA 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 33 37 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B7 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 64 4A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 E9 [18:22:25]Write i2c OK [18:22:25]MH_I2C_Read... [18:22:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:22:25]Read from MH i2c: E2 [18:22:25]MH_I2C_Read... [18:22:25]Read from MH i2c: E2 03 00 [18:22:25]MH_I2C_Read... [18:22:25]Read from MH i2c: E2 03 00 B5 0F 00 90 00 38 [18:22:25]RAPDU: 90 00 [18:22:25]wFMCommunicate OK [18:22:25]wFMCommunicate request_size=55 [18:22:25]MH_SAM_APDU [18:22:25]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3D 61 00 00 35 04 06 00 7A 4D 1D 4E AD 81 [18:22:25]Write to MH i2c: E2 3A 00 B6 0F 80 0D 02 02 32 00 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3D 61 00 00 35 04 06 00 7A 4D 1D 4E AD 81 00 00 9E [18:22:25]Write i2c OK [18:22:25]MH_I2C_Read... [18:22:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:22:25]Read from MH i2c: E2 [18:22:25]MH_I2C_Read... [18:22:25]Read from MH i2c: E2 03 00 [18:22:25]MH_I2C_Read... [18:22:25]Read from MH i2c: E2 03 00 B6 0F 00 90 00 39 [18:22:25]RAPDU: 90 00 [18:22:25]wFMCommunicate OK [18:22:25]wFMCommunicate request_size=4 [18:22:25]MH_SAM_APDU [18:22:25]CAPDU: 80 0D 03 02 [18:22:25]Write to MH i2c: E2 08 00 B7 0F 80 0D 03 02 00 00 00 00 41 [18:22:25]Write i2c OK [18:22:25]MH_I2C_Read... [18:22:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:22:25]Read from MH i2c: E2 [18:22:25]MH_I2C_Read... [18:22:25]Read from MH i2c: E2 0B 00 [18:22:25]MH_I2C_Read... [18:22:25]Read from MH i2c: E2 0B 00 B7 0F 00 FD 80 AB BE 67 14 84 D1 90 00 F8 [18:22:25]RAPDU: FD 80 AB BE 67 14 84 D1 90 00 [18:22:25]wFMCommunicate OK [18:22:25]SAM_PROTO_SignData done [18:22:25]FM_MakeSignedData done [18:22:25]CreateOFDProtocolMessage [18:22:25]wFMCommunicate request_size=4 [18:22:25]MH_SAM_APDU [18:22:25]CAPDU: 80 11 00 00 [18:22:25]Write to MH i2c: E2 08 00 B8 0F 80 11 00 00 00 00 00 00 41 [18:22:25]Write i2c OK [18:22:25]MH_I2C_Read... [18:22:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:22:25]Read from MH i2c: E2 [18:22:25]MH_I2C_Read... [18:22:25]Read from MH i2c: E2 17 00 [18:22:25]MH_I2C_Read... [18:22:25]Read from MH i2c: E2 17 00 B8 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 98 [18:22:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:22:25]wFMCommunicate OK [18:22:25]CreateOFDProtocolMessage done [18:22:25]OFDSenderStorePacket 24893 [18:22:25]StoreOFDPacket docnum=24893 [18:22:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 3C 01 00 00 31 A5 34 01 B7 32 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 33 37 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B7 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 64 4A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3D 61 00 00 35 04 06 00 7A 4D 1D 4E AD 81 FD 80 AB BE 67 14 84 D1 [18:22:25]CheckFolder [18:22:25]dirname=/storage/ofd_packets [18:22:25]CheckFolder done [18:22:25]ProducePacketName [18:22:25]name=ofd_packets/00024893 [18:22:25]NVStorageSaveData ofd_packets/00024893 [18:22:25]File name is /storage/ofd_packets/00024893 [18:22:25]Write 346 bytes [18:22:25]NVStorageSaveData done [18:22:25]OFDSenderStorePacket done [18:22:25]KKMCreateOFDPacket done [18:22:25]NVStorageSaveData kkm_last_timestamp [18:22:25]File name is /storage/kkm_last_timestamp [18:22:25]Write 4 bytes [18:22:25]NVStorageSaveData done [18:22:25]OFD Sender: Processing packet 24893 [packets to send 5, broken 4] [18:22:25]ProducePacketName [18:22:25]name=ofd_packets/00024893 [18:22:25]OFD Sender: To server: pG, [18:22:25]CommunicateWithHost lk.salyk.kg:30040 [18:22:25]ConnectInit lk.salyk.kg [18:22:25]ExternCall_PrintAddStr [18:22:25]wPrintStart [18:22:25]Write to MH i2c: 01 00 00 B9 0F C8 [18:22:25]Write i2c OK [18:22:25]MH_I2C_Read... [18:22:25]Read from MH i2c: 01 [18:22:25]MH_I2C_Read... [18:22:25]Read from MH i2c: 01 07 00 [18:22:25]MH_I2C_Read... [18:22:25]Read from MH i2c: 01 07 00 B9 0F 00 00 00 00 00 FF 0F DD [18:22:25]RasterBufferAndPrint [18:22:25]line Счет N : (3)34653 [18:22:25]line ИНН: 02508201610067 [18:22:25]line Контрольно-Кассовый Чек [18:22:25]line ПРОДАЖА [18:22:25]line Товар: 4670003190037 [18:22:25]line Антифриз SIBIRIA ANTIFREEZE ОЖ-40 зел 1л [18:22:25]line 1.000 * 225.00 [18:22:25]line = 225.00 [18:22:25]line НДС 12% НСП 1% [18:22:25]line > о реализуемом товаре [18:22:25]line ИТОГО: 225.00 [18:22:25]line НСП 1% : 1.99 [18:22:25]line НДС 12% : 23.89 [18:22:25]line Наличными: 225.00 [18:22:25]line Безнал.: 0.00 [18:22:25]line Место: АЗС № 161 "Партнер Нефть" [18:22:25]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [18:22:25]line СНО: Общий режим [18:22:25]line Чек 51 20.10.2024 18:22 [18:22:25]line Смена: 455 ФФД: 1.0 [18:22:25]line ЗНМ: 0300000240 [18:22:25]line РНМ: 0000000000098147 [18:22:25]line Версия ККМ: 001 [18:22:25]line ФМ: 0000000000965376 [18:22:25]line ФД: 24893 [18:22:26]line ФПД: 134471622765953 [18:22:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T182228&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24893&fm=134471622765953&tin=02508201610067®Number=0000000000098147&sum=22500 [18:22:26]line 0 [18:22:26]Connected sock=12 [18:22:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 3C 01 00 00 31 A5 34 01 B7 32 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 33 37 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B7 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 64 4A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3D 61 00 00 35 04 06 00 7A 4D 1D 4E AD 81 FD 80 AB BE 67 14 84 D1 [18:22:26]written 0, free lines is 4095 [18:22:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 3A 76 47 00 80 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 33 37 36 10 04 04 00 3D 61 00 00 F4 03 04 00 E3 F2 14 67 B6 04 01 00 00 96 7E 0B 0E A7 11 2E 1D [18:22:26]CommunicateWithHost err = 0 [18:22:26]CheckOFDResponse [18:22:26]1017 (14) - 77093643461234 [18:22:26]1041 (16) - 0000000000965376 [18:22:26]1040 (4) - 24893 [18:22:26]1012 (4) - 20.10.2024 12:09 [18:22:26]1206 (1) - 0 [18:22:26]OFD Sender: Remove packet 24893 [18:22:26]ProducePacketName [18:22:26]name=ofd_packets/00024893 [18:22:26]NVStorageDeleteData [18:22:26]Write to MH i2c: 01 00 00 E2 0F F1 [18:22:26]Write i2c OK [18:22:26]MH_I2C_Read... [18:22:26]Read from MH i2c: 01 [18:22:26]MH_I2C_Read... [18:22:26]Read from MH i2c: 01 07 00 [18:22:26]MH_I2C_Read... [18:22:26]Read from MH i2c: 01 07 00 E2 0F 00 00 00 00 00 D3 0C D7 [18:22:26]RasterBufferAndPrint [18:22:26]line [18:22:26]line [18:22:26]line [18:22:26]line [18:22:26]line [18:22:26]written 0, free lines is 3289 [18:22:26]process_action close_receipt done [18:22:26]requested_data is exist [18:22:26]produce_requested_data [18:22:26]requested_item fm.sn is exist - process it [18:22:26]wFMCommunicate request_size=4 [18:22:26]MH_SAM_APDU [18:22:26]CAPDU: 80 11 00 00 [18:22:26]Write to MH i2c: E2 08 00 E9 0F 80 11 00 00 00 00 00 00 72 [18:22:26]Write i2c OK [18:22:26]MH_I2C_Read... [18:22:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:22:26]Read from MH i2c: E2 [18:22:26]MH_I2C_Read... [18:22:26]Read from MH i2c: E2 17 00 [18:22:26]MH_I2C_Read... [18:22:26]Read from MH i2c: E2 17 00 E9 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 C9 [18:22:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:22:26]wFMCommunicate OK [18:22:26]requested_item fd.num is exist - process it [18:22:26]SAM_PROTO_GetFieldsCounters [18:22:26]wFMCommunicate request_size=4 [18:22:26]MH_SAM_APDU [18:22:26]CAPDU: 80 13 00 00 [18:22:26]Write to MH i2c: E2 08 00 EA 0F 80 13 00 00 00 00 00 00 75 [18:22:26]Write i2c OK [18:22:26]MH_I2C_Read... [18:22:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:22:26]Read from MH i2c: E2 [18:22:26]MH_I2C_Read... [18:22:26]Read from MH i2c: E2 62 00 [18:22:26]MH_I2C_Read... [18:22:26]Read from MH i2c: E2 62 00 EA 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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 3D 61 00 00 0E 04 04 00 C7 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 9D [18:22:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 3D 61 00 00 0E 04 04 00 C7 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 [18:22:26]wFMCommunicate OK [18:22:26]SAM_PROTO_GetFieldsCounters done [18:22:26]requested_item shift.num is exist - process it [18:22:26]requested_item shift.opened is exist - process it [18:22:26]req_shift_opened [18:22:26]FM_GetShiftState [18:22:26]SAM_PROTO_GetShiftState [18:22:26]wFMCommunicate request_size=4 [18:22:26]MH_SAM_APDU [18:22:26]CAPDU: 80 13 01 00 [18:22:26]Write to MH i2c: E2 08 00 EB 0F 80 13 01 00 00 00 00 00 77 [18:22:26]Write i2c OK [18:22:26]MH_I2C_Read... [18:22:26]OFD Sender: No OFD packet to send [18:22:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:22:26]Read from MH i2c: E2 [18:22:26]MH_I2C_Read... [18:22:26]Read from MH i2c: E2 0E 00 [18:22:26]MH_I2C_Read... [18:22:26]Read from MH i2c: E2 0E 00 EB 0F 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 BD [18:22:26]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [18:22:26]wFMCommunicate OK [18:22:26]SAM_PROTO_GetShiftState done [18:22:26]FM_GetShiftState done [18:22:26]req_shift_opened done [18:22:26]requested_item shift.open_date is exist - process it [18:22:26]req_shift_open_date [18:22:26]req_shift_open_date done [18:22:26]produce_requested_data done [18:22:26]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24893,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [18:22:26]process_action_free close_receipt [18:22:26]json_value_free [18:22:26]json_value_free done [18:22:26]process_json_proto returns [18:22:26]Send response to host [18:22:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24893,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [18:22:26]free response buf [18:22:26]execute_script done [18:22:26]execute_script returns [18:22:26]free content buf [18:22:26]Sock 9.Close socket [18:22:26]Sock 9.Thread stoped [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:03]accept exits with 7 [18:23:03]New connection [18:23:03]New thread 3067166052 created [18:23:03]Thread 3067309412 joined [18:23:03]Waiting for new connection... [18:23:03] Sock 7.Parse request [18:23:03]Sock 7.Check first char [18:23:03]Sock 7.First char is OK [18:23:03]request: POST /json_proto HTTP/1.0 [18:23:03]Method: POST [18:23:03]URL: /json_proto [18:23:03]Method is POST - this is cgi request [18:23:03]url: /json_proto [18:23:03]query_string will be loaded in cgi processing [18:23:03]execute_cgi json_proto POST (null) [18:23:03]execute_cgi path=json_proto method=POST [18:23:03]POST find Content-Length [18:23:03]Host: 172.17.53.196:8080 [18:23:03]Content-Length: 695 [18:23:03]Content-Type: application/json [18:23:03] [18:23:03]POST finish read [18:23:03]Found Content-Length = 695 [18:23:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34654", "tax_sys" : 0, "items" : [ { "code": "4620016303252", "name": "\u0412\u043B\u0430\u0436\u043D\u0430\u044F \u0442\u0443\u0430\u043B\u0435\u0442\u043D\u0430\u044F \u0431\u0443\u043C\u0430\u0433\u0430 20 VOK", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:23:03]execute_script... [18:23: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)34654", "tax_sys" : 0, "items" : [ { "code": "4620016303252", "name": "\u0412\u043B\u0430\u0436\u043D\u0430\u044F \u0442\u0443\u0430\u043B\u0435\u0442\u043D\u0430\u044F \u0431\u0443\u043C\u0430\u0433\u0430 20 VOK", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:23:03]POST & json_proto [18:23:03]process_json_proto [18:23:03]json parsed OK: [18:23:03]protocol is kg_v1.0 [18:23:03]action value=close_receipt [18:23:03]process_action close_receipt [18:23:03]cmd_close_receipt [18:23:03]MH_GetDate [18:23:03]Write to MH i2c: F0 00 00 EC 0F EA [18:23:03]Write i2c OK [18:23:03]MH_I2C_Read... [18:23:03]Read from MH i2c: F0 [18:23:03]MH_I2C_Read... [18:23:03]Read from MH i2c: F0 09 00 [18:23:03]MH_I2C_Read... [18:23:03]Read from MH i2c: F0 09 00 EC 0F 00 8B 4A 15 67 4F CD 9A 65 5F [18:23:03]GetLastDocTimeStamp 1729448548 [18:23:03]current date 1729448587 [18:23:03]FM_GetShiftState [18:23:03]SAM_PROTO_GetShiftState [18:23:03]wFMCommunicate request_size=4 [18:23:03]MH_SAM_APDU [18:23:03]CAPDU: 80 13 01 00 [18:23:03]Write to MH i2c: E2 08 00 ED 0F 80 13 01 00 00 00 00 00 79 [18:23:03]Write i2c OK [18:23:03]MH_I2C_Read... [18:23:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:23:03]Read from MH i2c: E2 [18:23:03]MH_I2C_Read... [18:23:03]Read from MH i2c: E2 0E 00 [18:23:03]MH_I2C_Read... [18:23:03]Read from MH i2c: E2 0E 00 ED 0F 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 BF [18:23:03]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [18:23:03]wFMCommunicate OK [18:23:03]SAM_PROTO_GetShiftState done [18:23:03]FM_GetShiftState done [18:23:03]opened in 1729384049 [18:23:03]opened+sec_in_day 1729470449 [18:23:03]quantity*price = 5000 [18:23:03]sum+1 = 5001 [18:23:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 52 20.10.2024 18:23 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24894 ФПД: 214659877468102 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T182307&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24894&fm=214659877468102&tin=02508201610067®Number=0000000000098147&sum=5000 0 [18:23:04]StoreToDocumentArchive [18:23:04]shift 455 fd 24894 [18:23:04]save to /storage/0455/doc_00024894 [18:23:04]save last doc name /storage/0455/doc_00024894 to /storage/kkm_last_doc_name [18:23:04]save OK [18:23:04]Clear old archive folders... [18:23:04]ProcessDocumentItem done err = 0, tmpTLVsize=295 [18:23:04]tlvbuf is 00DC8820 [18:23:04]SAM_PROTO_ClearQueue [18:23:04]wFMCommunicate request_size=4 [18:23:04]MH_SAM_APDU [18:23:04]CAPDU: 80 09 00 00 [18:23:04]Write to MH i2c: E2 08 00 FA 0F 80 09 00 00 00 00 00 00 7B [18:23:04]Write i2c OK [18:23:04]MH_I2C_Read... [18:23:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:23:04]Read from MH i2c: E2 [18:23:04]MH_I2C_Read... [18:23:04]Read from MH i2c: E2 03 00 [18:23:04]MH_I2C_Read... [18:23:04]Read from MH i2c: E2 03 00 FA 0F 00 90 00 7D [18:23:04]RAPDU: 90 00 [18:23:04]wFMCommunicate OK [18:23:04]SAM_PROTO_ClearQueue done [18:23:04]KKMCreateOFDPacket [18:23:04]OFDProtocolAddRootSTLVToBuf [18:23:04]FM_MakeSignedData [18:23:04]FM_MakeSignedData [18:23:04]SAM_PROTO_SignData [18:23:04]wFMCommunicate request_size=4 [18:23:04]MH_SAM_APDU [18:23:04]CAPDU: 80 0D 01 02 [18:23:04]Write to MH i2c: E2 08 00 FB 0F 80 0D 01 02 00 00 00 00 83 [18:23:04]Write i2c OK [18:23:04]MH_I2C_Read... [18:23:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:23:04]Read from MH i2c: E2 [18:23:04]MH_I2C_Read... [18:23:04]Read from MH i2c: E2 03 00 [18:23:04]MH_I2C_Read... [18:23:04]Read from MH i2c: E2 03 00 FB 0F 00 90 00 7E [18:23:04]RAPDU: 90 00 [18:23:04]wFMCommunicate OK [18:23:04]wFMCommunicate request_size=255 [18:23:04]MH_SAM_APDU [18:23:04]CAPDU: 80 0D 02 02 FA 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 33 32 35 32 06 04 35 00 D0 92 D0 BB D0 B0 D0 B6 D0 BD D0 B0 D1 8F 20 D1 82 D1 83 D0 B0 D0 BB D0 B5 D1 82 D0 BD D0 B0 D1 8F 20 D0 B1 D1 83 D0 BC D0 B0 D0 B3 D0 B0 20 32 30 20 56 4F 4B 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 34 00 00 00 F4 03 04 00 8B 4A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 [18:23:04]Write to MH i2c: E2 02 01 FC 0F 80 0D 02 02 FA 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 33 32 35 32 06 04 35 00 D0 92 D0 BB D0 B0 D0 B6 D0 BD D0 B0 D1 8F 20 D1 82 D1 83 D0 B0 D0 BB D0 B5 D1 82 D0 BD D0 B0 D1 8F 20 D0 B1 D1 83 D0 BC D0 B0 D0 B3 D0 B0 20 32 30 20 56 4F 4B 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 34 00 00 00 F4 03 04 00 8B 4A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 00 00 63 [18:23:04]Write i2c OK [18:23:04]MH_I2C_Read... [18:23:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:23:04]Read from MH i2c: E2 [18:23:04]MH_I2C_Read... [18:23:04]Read from MH i2c: E2 03 00 [18:23:04]MH_I2C_Read... [18:23:04]Read from MH i2c: E2 03 00 FC 0F 00 90 00 7F [18:23:04]RAPDU: 90 00 [18:23:04]wFMCommunicate OK [18:23:04]wFMCommunicate request_size=54 [18:23:04]MH_SAM_APDU [18:23:04]CAPDU: 80 0D 02 02 31 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3E 61 00 00 35 04 06 00 C3 3B 65 BE 77 C6 [18:23:04]Write to MH i2c: E2 39 00 FD 0F 80 0D 02 02 31 00 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3E 61 00 00 35 04 06 00 C3 3B 65 BE 77 C6 00 00 B2 [18:23:04]Write i2c OK [18:23:04]MH_I2C_Read... [18:23:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:23:04]Read from MH i2c: E2 [18:23:04]MH_I2C_Read... [18:23:04]Read from MH i2c: E2 03 00 [18:23:04]MH_I2C_Read... [18:23:04]Read from MH i2c: E2 03 00 FD 0F 00 90 00 80 [18:23:04]RAPDU: 90 00 [18:23:04]wFMCommunicate OK [18:23:04]wFMCommunicate request_size=4 [18:23:04]MH_SAM_APDU [18:23:04]CAPDU: 80 0D 03 02 [18:23:04]Write to MH i2c: E2 08 00 FE 0F 80 0D 03 02 00 00 00 00 88 [18:23:04]Write i2c OK [18:23:04]MH_I2C_Read... [18:23:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:23:04]Read from MH i2c: E2 [18:23:04]MH_I2C_Read... [18:23:04]Read from MH i2c: E2 0B 00 [18:23:04]MH_I2C_Read... [18:23:04]Read from MH i2c: E2 0B 00 FE 0F 00 0E 1D 50 A3 FF EB 2F 22 90 00 E2 [18:23:04]RAPDU: 0E 1D 50 A3 FF EB 2F 22 90 00 [18:23:04]wFMCommunicate OK [18:23:04]SAM_PROTO_SignData done [18:23:04]FM_MakeSignedData done [18:23:04]CreateOFDProtocolMessage [18:23:04]wFMCommunicate request_size=4 [18:23:04]MH_SAM_APDU [18:23:04]CAPDU: 80 11 00 00 [18:23:04]Write to MH i2c: E2 08 00 FF 0F 80 11 00 00 00 00 00 00 88 [18:23:04]Write i2c OK [18:23:04]MH_I2C_Read... [18:23:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:23:05]Read from MH i2c: E2 [18:23:05]MH_I2C_Read... [18:23:05]Read from MH i2c: E2 17 00 [18:23:05]MH_I2C_Read... [18:23:05]Read from MH i2c: E2 17 00 FF 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 DF [18:23:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:23:05]wFMCommunicate OK [18:23:05]CreateOFDProtocolMessage done [18:23:05]OFDSenderStorePacket 24894 [18:23:05]StoreOFDPacket docnum=24894 [18:23:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 3B 01 00 00 F8 AE 33 01 8A E1 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 33 32 35 32 06 04 35 00 D0 92 D0 BB D0 B0 D0 B6 D0 BD D0 B0 D1 8F 20 D1 82 D1 83 D0 B0 D0 BB D0 B5 D1 82 D0 BD D0 B0 D1 8F 20 D0 B1 D1 83 D0 BC D0 B0 D0 B3 D0 B0 20 32 30 20 56 4F 4B 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 34 00 00 00 F4 03 04 00 8B 4A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3E 61 00 00 35 04 06 00 C3 3B 65 BE 77 C6 0E 1D 50 A3 FF EB 2F 22 [18:23:05]CheckFolder [18:23:05]dirname=/storage/ofd_packets [18:23:05]CheckFolder done [18:23:05]ProducePacketName [18:23:05]name=ofd_packets/00024894 [18:23:05]NVStorageSaveData ofd_packets/00024894 [18:23:05]File name is /storage/ofd_packets/00024894 [18:23:05]Write 345 bytes [18:23:05]NVStorageSaveData done [18:23:05]OFDSenderStorePacket done [18:23:05]KKMCreateOFDPacket done [18:23:05]NVStorageSaveData kkm_last_timestamp [18:23:05]File name is /storage/kkm_last_timestamp [18:23:05]Write 4 bytes [18:23:05]NVStorageSaveData done [18:23:05]ExternCall_PrintAddStr [18:23:05]wPrintStart [18:23:05]Write to MH i2c: 01 00 00 00 10 10 [18:23:05]Write i2c OK [18:23:05]MH_I2C_Read... [18:23:05]Read from MH i2c: 01 [18:23:05]MH_I2C_Read... [18:23:05]Read from MH i2c: 01 07 00 [18:23:05]MH_I2C_Read... [18:23:05]Read from MH i2c: 01 07 00 00 10 00 00 00 00 00 FF 0F 25 [18:23:05]RasterBufferAndPrint [18:23:05]line Счет N : (3)34654 [18:23:05]line ИНН: 02508201610067 [18:23:05]line Контрольно-Кассовый Чек [18:23:05]line ПРОДАЖА [18:23:05]line Товар: 4620016303252 [18:23:05]line Влажная туалетная бумага 20 VOK [18:23:05]line 1.000 * 50.00 [18:23:05]line = 50.00 [18:23:05]line НДС 12% НСП 1% [18:23:05]line > о реализуемом товаре [18:23:05]line ИТОГО: 50.00 [18:23:05]line НСП 1% : 0.44 [18:23:05]line НДС 12% : 5.31 [18:23:05]line Наличными: 50.00 [18:23:05]line Безнал.: 0.00 [18:23:05]line Место: АЗС № 161 "Партнер Нефть" [18:23:05]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [18:23:05]line СНО: Общий режим [18:23:05]line Чек 52 20.10.2024 18:23 [18:23:05]line Смена: 455 ФФД: 1.0 [18:23:05]line ЗНМ: 0300000240 [18:23:05]line РНМ: 0000000000098147 [18:23:05]line Версия ККМ: 001 [18:23:05]line ФМ: 0000000000965376 [18:23:05]line ФД: 24894 [18:23:05]line ФПД: 214659877468102 [18:23:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T182307&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24894&fm=214659877468102&tin=02508201610067®Number=0000000000098147&sum=5000 [18:23:05]line 0 [18:23:05]OFD Sender: Processing packet 24894 [packets to send 5, broken 4] [18:23:05]ProducePacketName [18:23:05]name=ofd_packets/00024894 [18:23:05]OFD Sender: To server: pG, [18:23:05]CommunicateWithHost lk.salyk.kg:30040 [18:23:05]ConnectInit lk.salyk.kg [18:23:05]written 0, free lines is 4095 [18:23:05]Connected sock=10 [18:23:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 3B 01 00 00 F8 AE 33 01 8A E1 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 33 32 35 32 06 04 35 00 D0 92 D0 BB D0 B0 D0 B6 D0 BD D0 B0 D1 8F 20 D1 82 D1 83 D0 B0 D0 BB D0 B5 D1 82 D0 BD D0 B0 D1 8F 20 D0 B1 D1 83 D0 BC D0 B0 D0 B3 D0 B0 20 32 30 20 56 4F 4B 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 34 00 00 00 F4 03 04 00 8B 4A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3E 61 00 00 35 04 06 00 C3 3B 65 BE 77 C6 0E 1D 50 A3 FF EB 2F 22 [18:23:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 36 B6 47 00 82 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 33 37 36 10 04 04 00 3E 61 00 00 F4 03 04 00 0A F3 14 67 B6 04 01 00 00 86 BA 47 83 63 AC 0F 80 [18:23:05]CommunicateWithHost err = 0 [18:23:05]CheckOFDResponse [18:23:05]1017 (14) - 77093643461234 [18:23:05]1041 (16) - 0000000000965376 [18:23:05]1040 (4) - 24894 [18:23:05]1012 (4) - 20.10.2024 12:09 [18:23:05]1206 (1) - 0 [18:23:05]OFD Sender: Remove packet 24894 [18:23:05]ProducePacketName [18:23:05]name=ofd_packets/00024894 [18:23:05]NVStorageDeleteData [18:23:05]Write to MH i2c: 01 00 00 29 10 39 [18:23:05]Write i2c OK [18:23:05]MH_I2C_Read... [18:23:05]Read from MH i2c: 01 [18:23:05]MH_I2C_Read... [18:23:05]Read from MH i2c: 01 07 00 [18:23:05]MH_I2C_Read... [18:23:05]Read from MH i2c: 01 07 00 29 10 00 00 00 00 00 DC 0C 28 [18:23:05]RasterBufferAndPrint [18:23:05]line [18:23:05]line [18:23:05]line [18:23:05]line [18:23:05]line [18:23:05]written 0, free lines is 3300 [18:23:05]process_action close_receipt done [18:23:05]requested_data is exist [18:23:05]produce_requested_data [18:23:05]requested_item fm.sn is exist - process it [18:23:05]wFMCommunicate request_size=4 [18:23:05]MH_SAM_APDU [18:23:05]CAPDU: 80 11 00 00 [18:23:05]Write to MH i2c: E2 08 00 30 10 80 11 00 00 00 00 00 00 BA [18:23:05]Write i2c OK [18:23:05]MH_I2C_Read... [18:23:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:23:05]Read from MH i2c: E2 [18:23:05]MH_I2C_Read... [18:23:05]Read from MH i2c: E2 17 00 [18:23:05]MH_I2C_Read... [18:23:05]Read from MH i2c: E2 17 00 30 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 11 [18:23:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:23:05]wFMCommunicate OK [18:23:05]requested_item fd.num is exist - process it [18:23:05]SAM_PROTO_GetFieldsCounters [18:23:05]wFMCommunicate request_size=4 [18:23:05]MH_SAM_APDU [18:23:05]CAPDU: 80 13 00 00 [18:23:05]Write to MH i2c: E2 08 00 31 10 80 13 00 00 00 00 00 00 BD [18:23:05]Write i2c OK [18:23:05]MH_I2C_Read... [18:23:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:23:06]Read from MH i2c: E2 [18:23:06]MH_I2C_Read... [18:23:06]Read from MH i2c: E2 62 00 [18:23:06]MH_I2C_Read... [18:23:06]Read from MH i2c: E2 62 00 31 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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 3E 61 00 00 0E 04 04 00 C7 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 E9 [18:23:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 3E 61 00 00 0E 04 04 00 C7 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 [18:23:06]wFMCommunicate OK [18:23:06]SAM_PROTO_GetFieldsCounters done [18:23:06]requested_item shift.num is exist - process it [18:23:06]requested_item shift.opened is exist - process it [18:23:06]req_shift_opened [18:23:06]FM_GetShiftState [18:23:06]SAM_PROTO_GetShiftState [18:23:06]wFMCommunicate request_size=4 [18:23:06]MH_SAM_APDU [18:23:06]CAPDU: 80 13 01 00 [18:23:06]Write to MH i2c: E2 08 00 32 10 80 13 01 00 00 00 00 00 BF [18:23:06]Write i2c OK [18:23:06]MH_I2C_Read... [18:23:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:23:06]Read from MH i2c: E2 [18:23:06]MH_I2C_Read... [18:23:06]Read from MH i2c: E2 0E 00 [18:23:06]MH_I2C_Read... [18:23:06]Read from MH i2c: E2 0E 00 32 10 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 05 [18:23:06]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [18:23:06]wFMCommunicate OK [18:23:06]SAM_PROTO_GetShiftState done [18:23:06]FM_GetShiftState done [18:23:06]req_shift_opened done [18:23:06]requested_item shift.open_date is exist - process it [18:23:06]req_shift_open_date [18:23:06]req_shift_open_date done [18:23:06]produce_requested_data done [18:23:06]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24894,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [18:23:06]process_action_free close_receipt [18:23:06]json_value_free [18:23:06]json_value_free done [18:23:06]process_json_proto returns [18:23:06]Send response to host [18:23:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24894,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [18:23:06]free response buf [18:23:06]execute_script done [18:23:06]execute_script returns [18:23:06]free content buf [18:23:06]Sock 7.Close socket [18:23:06]Sock 7.Thread stoped [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]accept exits with 9 [18:23:26]New connection [18:23:26]New thread 3067309412 created [18:23:26]Thread 3067166052 joined [18:23:26]Waiting for new connection... [18:23:26] Sock 9.Parse request [18:23:26]Sock 9.Check first char [18:23:26]Sock 9.First char is OK [18:23:26]request: POST /json_proto HTTP/1.0 [18:23:26]Method: POST [18:23:26]URL: /json_proto [18:23:26]Method is POST - this is cgi request [18:23:26]url: /json_proto [18:23:26]query_string will be loaded in cgi processing [18:23:26]execute_cgi json_proto POST (null) [18:23:26]execute_cgi path=json_proto method=POST [18:23:26]POST find Content-Length [18:23:26]Host: 172.17.53.196:8080 [18:23:26]Content-Length: 754 [18:23:26]Content-Type: application/json [18:23:26] [18:23:26]POST finish read [18:23:26]Found Content-Length = 754 [18:23:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34655", "tax_sys" : 0, "items" : [ { "code": "4630007400976", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0436\u0430\u0440\u0435\u043D \u041A\u0430\u0440\u0430\u0432\u0430\u043D \u043E\u0440\u0435\u0445\u043E\u0432 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 90 ", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:23:26]execute_script... [18:23: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)34655", "tax_sys" : 0, "items" : [ { "code": "4630007400976", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0436\u0430\u0440\u0435\u043D \u041A\u0430\u0440\u0430\u0432\u0430\u043D \u043E\u0440\u0435\u0445\u043E\u0432 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 90 ", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:23:26]POST & json_proto [18:23:26]process_json_proto [18:23:26]json parsed OK: [18:23:26]protocol is kg_v1.0 [18:23:26]action value=close_receipt [18:23:26]process_action close_receipt [18:23:26]cmd_close_receipt [18:23:26]MH_GetDate [18:23:26]Write to MH i2c: F0 00 00 33 10 32 [18:23:26]Write i2c OK [18:23:26]MH_I2C_Read... [18:23:26]Read from MH i2c: F0 [18:23:26]MH_I2C_Read... [18:23:26]Read from MH i2c: F0 09 00 [18:23:26]MH_I2C_Read... [18:23:26]Read from MH i2c: F0 09 00 33 10 00 A2 4A 15 67 4F CD 9A 65 BE [18:23:26]GetLastDocTimeStamp 1729448587 [18:23:26]current date 1729448610 [18:23:26]FM_GetShiftState [18:23:26]SAM_PROTO_GetShiftState [18:23:26]wFMCommunicate request_size=4 [18:23:26]MH_SAM_APDU [18:23:26]CAPDU: 80 13 01 00 [18:23:26]Write to MH i2c: E2 08 00 34 10 80 13 01 00 00 00 00 00 C1 [18:23:26]Write i2c OK [18:23:26]MH_I2C_Read... [18:23:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:23:26]Read from MH i2c: E2 [18:23:26]MH_I2C_Read... [18:23:26]Read from MH i2c: E2 0E 00 [18:23:26]MH_I2C_Read... [18:23:26]Read from MH i2c: E2 0E 00 34 10 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 07 [18:23:26]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [18:23:26]wFMCommunicate OK [18:23:26]SAM_PROTO_GetShiftState done [18:23:26]FM_GetShiftState done [18:23:26]opened in 1729384049 [18:23:26]opened+sec_in_day 1729470449 [18:23:26]quantity*price = 7500 [18:23:26]sum+1 = 7501 [18:23:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 53 20.10.2024 18:23 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24895 ФПД: 74984887452552 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T182330&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24895&fm=74984887452552&tin=02508201610067®Number=0000000000098147&sum=7500 0 [18:23:27]StoreToDocumentArchive [18:23:27]shift 455 fd 24895 [18:23:27]save to /storage/0455/doc_00024895 [18:23:27]save last doc name /storage/0455/doc_00024895 to /storage/kkm_last_doc_name [18:23:27]save OK [18:23:27]Clear old archive folders... [18:23:27]ProcessDocumentItem done err = 0, tmpTLVsize=314 [18:23:27]tlvbuf is 00E14C30 [18:23:27]SAM_PROTO_ClearQueue [18:23:27]wFMCommunicate request_size=4 [18:23:27]MH_SAM_APDU [18:23:27]CAPDU: 80 09 00 00 [18:23:27]Write to MH i2c: E2 08 00 41 10 80 09 00 00 00 00 00 00 C3 [18:23:27]Write i2c OK [18:23:27]MH_I2C_Read... [18:23:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:23:27]Read from MH i2c: E2 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: E2 03 00 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: E2 03 00 41 10 00 90 00 C5 [18:23:27]RAPDU: 90 00 [18:23:27]wFMCommunicate OK [18:23:27]SAM_PROTO_ClearQueue done [18:23:27]KKMCreateOFDPacket [18:23:27]OFDProtocolAddRootSTLVToBuf [18:23:27]FM_MakeSignedData [18:23:27]FM_MakeSignedData [18:23:27]SAM_PROTO_SignData [18:23:27]wFMCommunicate request_size=4 [18:23:27]MH_SAM_APDU [18:23:27]CAPDU: 80 0D 01 02 [18:23:27]Write to MH i2c: E2 08 00 42 10 80 0D 01 02 00 00 00 00 CB [18:23:27]Write i2c OK [18:23:27]MH_I2C_Read... [18:23:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:23:27]Read from MH i2c: E2 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: E2 03 00 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: E2 03 00 42 10 00 90 00 C6 [18:23:27]RAPDU: 90 00 [18:23:27]wFMCommunicate OK [18:23:27]wFMCommunicate request_size=255 [18:23:27]MH_SAM_APDU [18:23:27]CAPDU: 80 0D 02 02 FA 03 00 3A 01 1E 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 37 36 06 04 48 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 39 30 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 A2 4A 15 67 0E 04 04 [18:23:27]Write to MH i2c: E2 02 01 43 10 80 0D 02 02 FA 00 03 00 3A 01 1E 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 37 36 06 04 48 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 39 30 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 A2 4A 15 67 0E 04 04 00 00 3B [18:23:27]Write i2c OK [18:23:27]MH_I2C_Read... [18:23:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:23:27]Read from MH i2c: E2 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: E2 03 00 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: E2 03 00 43 10 00 90 00 C7 [18:23:27]RAPDU: 90 00 [18:23:27]wFMCommunicate OK [18:23:27]wFMCommunicate request_size=73 [18:23:27]MH_SAM_APDU [18:23:27]CAPDU: 80 0D 02 02 44 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3F 61 00 00 35 04 06 00 44 32 C7 94 83 88 [18:23:27]Write to MH i2c: E2 4C 00 44 10 80 0D 02 02 44 00 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3F 61 00 00 35 04 06 00 44 32 C7 94 83 88 00 00 37 [18:23:27]Write i2c OK [18:23:27]MH_I2C_Read... [18:23:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:23:27]Read from MH i2c: E2 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: E2 03 00 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: E2 03 00 44 10 00 90 00 C8 [18:23:27]RAPDU: 90 00 [18:23:27]wFMCommunicate OK [18:23:27]wFMCommunicate request_size=4 [18:23:27]MH_SAM_APDU [18:23:27]CAPDU: 80 0D 03 02 [18:23:27]Write to MH i2c: E2 08 00 45 10 80 0D 03 02 00 00 00 00 D0 [18:23:27]Write i2c OK [18:23:27]MH_I2C_Read... [18:23:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:23:27]Read from MH i2c: E2 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: E2 0B 00 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: E2 0B 00 45 10 00 3D 9D FB 44 77 EE 24 A5 90 00 18 [18:23:27]RAPDU: 3D 9D FB 44 77 EE 24 A5 90 00 [18:23:27]wFMCommunicate OK [18:23:27]SAM_PROTO_SignData done [18:23:27]FM_MakeSignedData done [18:23:27]CreateOFDProtocolMessage [18:23:27]wFMCommunicate request_size=4 [18:23:27]MH_SAM_APDU [18:23:27]CAPDU: 80 11 00 00 [18:23:27]Write to MH i2c: E2 08 00 46 10 80 11 00 00 00 00 00 00 D0 [18:23:27]Write i2c OK [18:23:27]MH_I2C_Read... [18:23:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:23:27]Read from MH i2c: E2 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: E2 17 00 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: E2 17 00 46 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 27 [18:23:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:23:27]wFMCommunicate OK [18:23:27]CreateOFDProtocolMessage done [18:23:27]OFDSenderStorePacket 24895 [18:23:27]StoreOFDPacket docnum=24895 [18:23:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4E 01 00 00 C5 43 46 01 35 8C 5A 03 01 00 03 00 3A 01 1E 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 37 36 06 04 48 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 39 30 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 A2 4A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3F 61 00 00 35 04 06 00 44 32 C7 94 83 88 3D 9D FB 44 77 EE 24 A5 [18:23:27]CheckFolder [18:23:27]dirname=/storage/ofd_packets [18:23:27]CheckFolder done [18:23:27]ProducePacketName [18:23:27]name=ofd_packets/00024895 [18:23:27]NVStorageSaveData ofd_packets/00024895 [18:23:27]File name is /storage/ofd_packets/00024895 [18:23:27]Write 364 bytes [18:23:27]NVStorageSaveData done [18:23:27]OFDSenderStorePacket done [18:23:27]KKMCreateOFDPacket done [18:23:27]NVStorageSaveData kkm_last_timestamp [18:23:27]File name is /storage/kkm_last_timestamp [18:23:27]Write 4 bytes [18:23:27]NVStorageSaveData done [18:23:27]ExternCall_PrintAddStr [18:23:27]wPrintStart [18:23:27]Write to MH i2c: 01 00 00 47 10 57 [18:23:27]Write i2c OK [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: 01 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: 01 07 00 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: 01 07 00 47 10 00 00 00 00 00 FF 0F 6C [18:23:27]RasterBufferAndPrint [18:23:27]line Счет N : (3)34655 [18:23:27]line ИНН: 02508201610067 [18:23:27]line Контрольно-Кассовый Чек [18:23:27]line ПРОДАЖА [18:23:27]line Товар: 4630007400976 [18:23:27]line Арахис жарен Караван орехов Стандарт 90 [18:23:27]line 1.000 * 75.00 [18:23:27]line = 75.00 [18:23:27]line НДС 12% НСП 1% [18:23:27]line > о реализуемом товаре [18:23:27]line ИТОГО: 75.00 [18:23:27]line НСП 1% : 0.66 [18:23:27]line НДС 12% : 7.96 [18:23:27]line Наличными: 75.00 [18:23:27]line Безнал.: 0.00 [18:23:27]line Место: АЗС № 161 "Партнер Нефть" [18:23:27]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [18:23:27]line СНО: Общий режим [18:23:27]line Чек 53 20.10.2024 18:23 [18:23:27]line Смена: 455 ФФД: 1.0 [18:23:27]line ЗНМ: 0300000240 [18:23:27]line РНМ: 0000000000098147 [18:23:27]line Версия ККМ: 001 [18:23:27]line ФМ: 0000000000965376 [18:23:27]line ФД: 24895 [18:23:27]line ФПД: 74984887452552 [18:23:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T182330&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24895&fm=74984887452552&tin=02508201610067®Number=0000000000098147&sum=7500 [18:23:28]line 0 [18:23:28]OFD Sender: Processing packet 24895 [packets to send 5, broken 4] [18:23:28]ProducePacketName [18:23:28]name=ofd_packets/00024895 [18:23:28]OFD Sender: To server: pG, [18:23:28]CommunicateWithHost lk.salyk.kg:30040 [18:23:28]ConnectInit lk.salyk.kg [18:23:28]written 0, free lines is 4095 [18:23:28]Connected sock=10 [18:23:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4E 01 00 00 C5 43 46 01 35 8C 5A 03 01 00 03 00 3A 01 1E 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 37 36 06 04 48 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 39 30 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 A2 4A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3F 61 00 00 35 04 06 00 44 32 C7 94 83 88 3D 9D FB 44 77 EE 24 A5 [18:23:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 A7 9F 47 00 15 0D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 3F 61 00 00 F4 03 04 00 21 F3 14 67 B6 04 01 00 00 63 8C 6E DA B5 7F 8D BB [18:23:28]CommunicateWithHost err = 0 [18:23:28]CheckOFDResponse [18:23:28]1017 (14) - 77093643461234 [18:23:28]1041 (16) - 0000000000965376 [18:23:28]1040 (4) - 24895 [18:23:28]1012 (4) - 20.10.2024 12:10 [18:23:28]1206 (1) - 0 [18:23:28]OFD Sender: Remove packet 24895 [18:23:28]ProducePacketName [18:23:28]name=ofd_packets/00024895 [18:23:28]NVStorageDeleteData [18:23:28]Write to MH i2c: 01 00 00 70 10 80 [18:23:28]Write i2c OK [18:23:28]MH_I2C_Read... [18:23:28]Read from MH i2c: 01 [18:23:28]MH_I2C_Read... [18:23:28]Read from MH i2c: 01 07 00 [18:23:28]MH_I2C_Read... [18:23:28]Read from MH i2c: 01 07 00 70 10 00 00 00 00 00 D0 0C 63 [18:23:28]RasterBufferAndPrint [18:23:28]line [18:23:28]line [18:23:28]line [18:23:28]line [18:23:28]line [18:23:28]written 0, free lines is 3286 [18:23:28]process_action close_receipt done [18:23:28]requested_data is exist [18:23:28]produce_requested_data [18:23:28]requested_item fm.sn is exist - process it [18:23:28]wFMCommunicate request_size=4 [18:23:28]MH_SAM_APDU [18:23:28]CAPDU: 80 11 00 00 [18:23:28]Write to MH i2c: E2 08 00 77 10 80 11 00 00 00 00 00 00 01 [18:23:28]Write i2c OK [18:23:28]MH_I2C_Read... [18:23:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:23:28]Read from MH i2c: E2 [18:23:28]MH_I2C_Read... [18:23:28]Read from MH i2c: E2 17 00 [18:23:28]MH_I2C_Read... [18:23:28]Read from MH i2c: E2 17 00 77 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 58 [18:23:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:23:28]wFMCommunicate OK [18:23:28]requested_item fd.num is exist - process it [18:23:28]SAM_PROTO_GetFieldsCounters [18:23:28]wFMCommunicate request_size=4 [18:23:28]MH_SAM_APDU [18:23:28]CAPDU: 80 13 00 00 [18:23:28]Write to MH i2c: E2 08 00 78 10 80 13 00 00 00 00 00 00 04 [18:23:28]Write i2c OK [18:23:28]MH_I2C_Read... [18:23:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:23:28]Read from MH i2c: E2 [18:23:28]MH_I2C_Read... [18:23:28]Read from MH i2c: E2 62 00 [18:23:28]MH_I2C_Read... [18:23:28]Read from MH i2c: E2 62 00 78 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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 3F 61 00 00 0E 04 04 00 C7 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 34 [18:23:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 3F 61 00 00 0E 04 04 00 C7 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 [18:23:28]wFMCommunicate OK [18:23:28]SAM_PROTO_GetFieldsCounters done [18:23:28]requested_item shift.num is exist - process it [18:23:28]requested_item shift.opened is exist - process it [18:23:28]req_shift_opened [18:23:28]FM_GetShiftState [18:23:28]SAM_PROTO_GetShiftState [18:23:28]wFMCommunicate request_size=4 [18:23:28]MH_SAM_APDU [18:23:28]CAPDU: 80 13 01 00 [18:23:28]Write to MH i2c: E2 08 00 79 10 80 13 01 00 00 00 00 00 06 [18:23:28]Write i2c OK [18:23:28]MH_I2C_Read... [18:23:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:23:28]Read from MH i2c: E2 [18:23:28]MH_I2C_Read... [18:23:28]Read from MH i2c: E2 0E 00 [18:23:28]MH_I2C_Read... [18:23:28]Read from MH i2c: E2 0E 00 79 10 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 4C [18:23:28]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [18:23:28]wFMCommunicate OK [18:23:28]SAM_PROTO_GetShiftState done [18:23:28]FM_GetShiftState done [18:23:28]req_shift_opened done [18:23:28]requested_item shift.open_date is exist - process it [18:23:28]req_shift_open_date [18:23:28]req_shift_open_date done [18:23:28]produce_requested_data done [18:23:28]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24895,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [18:23:28]process_action_free close_receipt [18:23:28]json_value_free [18:23:28]json_value_free done [18:23:28]process_json_proto returns [18:23:28]Send response to host [18:23:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24895,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [18:23:28]free response buf [18:23:28]execute_script done [18:23:28]execute_script returns [18:23:28]free content buf [18:23:28]Sock 9.Close socket [18:23:28]Sock 9.Thread stoped [18:23:29]OFD Sender: No OFD packet to send [18:23:34]OFD Sender: No OFD packet to send [18:23:39]OFD Sender: No OFD packet to send [18:23:44]OFD Sender: No OFD packet to send [18:23:49]OFD Sender: No OFD packet to send [18:23:54]OFD Sender: No OFD packet to send [18:23:59]OFD Sender: No OFD packet to send [18:24:04]OFD Sender: No OFD packet to send [18:24:09]OFD Sender: No OFD packet to send [18:24:14]OFD Sender: No OFD packet to send [18:24:19]OFD Sender: No OFD packet to send [18:24:24]OFD Sender: No OFD packet to send [18:24:29]OFD Sender: No OFD packet to send [18:24:34]OFD Sender: No OFD packet to send [18:24:39]OFD Sender: No OFD packet to send [18:24:44]OFD Sender: No OFD packet to send [18:24:49]OFD Sender: No OFD packet to send [18:24:54]OFD Sender: No OFD packet to send [18:24:59]OFD Sender: No OFD packet to send [18:25:04]OFD Sender: No OFD packet to send [18:25:09]OFD Sender: No OFD packet to send [18:25:14]OFD Sender: No OFD packet to send [18:25:19]OFD Sender: No OFD packet to send [18:25:24]OFD Sender: No OFD packet to send [18:25:29]OFD Sender: No OFD packet to send [18:25:34]OFD Sender: No OFD packet to send [18:25:39]OFD Sender: No OFD packet to send [18:25:44]OFD Sender: No OFD packet to send [18:25:49]OFD Sender: No OFD packet to send [18:25:54]OFD Sender: No OFD packet to send [18:25:59]OFD Sender: No OFD packet to send [18:26:04]OFD Sender: No OFD packet to send [18:26:09]OFD Sender: No OFD packet to send [18:26:14]OFD Sender: No OFD packet to send [18:26:19]OFD Sender: No OFD packet to send [18:26:24]OFD Sender: No OFD packet to send [18:26:29]OFD Sender: No OFD packet to send [18:26:34]OFD Sender: No OFD packet to send [18:26:39]OFD Sender: No OFD packet to send [18:26:44]OFD Sender: No OFD packet to send [18:26:49]OFD Sender: No OFD packet to send [18:26:54]OFD Sender: No OFD packet to send [18:26:59]OFD Sender: No OFD packet to send [18:27:04]OFD Sender: No OFD packet to send [18:27:09]OFD Sender: No OFD packet to send [18:27:14]OFD Sender: No OFD packet to send [18:27:19]OFD Sender: No OFD packet to send [18:27:24]OFD Sender: No OFD packet to send [18:27:29]OFD Sender: No OFD packet to send [18:27:34]OFD Sender: No OFD packet to send [18:27:39]OFD Sender: No OFD packet to send [18:27:44]OFD Sender: No OFD packet to send [18:27:49]OFD Sender: No OFD packet to send [18:27:54]OFD Sender: No OFD packet to send [18:27:59]OFD Sender: No OFD packet to send [18:28:04]OFD Sender: No OFD packet to send [18:28:09]OFD Sender: No OFD packet to send [18:28:14]OFD Sender: No OFD packet to send [18:28:19]OFD Sender: No OFD packet to send [18:28:24]OFD Sender: No OFD packet to send [18:28:29]OFD Sender: No OFD packet to send [18:28:34]OFD Sender: No OFD packet to send [18:28:39]OFD Sender: No OFD packet to send [18:28:44]OFD Sender: No OFD packet to send [18:28:49]OFD Sender: No OFD packet to send [18:28:54]OFD Sender: No OFD packet to send [18:28:59]OFD Sender: No OFD packet to send [18:29:04]OFD Sender: No OFD packet to send [18:29:09]OFD Sender: No OFD packet to send [18:29:14]OFD Sender: No OFD packet to send [18:29:19]OFD Sender: No OFD packet to send [18:29:24]OFD Sender: No OFD packet to send [18:29:29]OFD Sender: No OFD packet to send [18:29:34]OFD Sender: No OFD packet to send [18:29:39]OFD Sender: No OFD packet to send [18:29:44]OFD Sender: No OFD packet to send [18:29:49]OFD Sender: No OFD packet to send [18:29:54]OFD Sender: No OFD packet to send [18:29:59]accept exits with 7 [18:29:59]New connection [18:29:59]New thread 3067166052 created [18:29:59]Thread 3067309412 joined [18:29:59]Waiting for new connection... [18:29:59] Sock 7.Parse request [18:29:59]Sock 7.Check first char [18:29:59]Sock 7.First char is OK [18:29:59]request: POST /json_proto HTTP/1.0 [18:29:59]Method: POST [18:29:59]URL: /json_proto [18:29:59]Method is POST - this is cgi request [18:29:59]url: /json_proto [18:29:59]query_string will be loaded in cgi processing [18:29:59]execute_cgi json_proto POST (null) [18:29:59]execute_cgi path=json_proto method=POST [18:29:59]POST find Content-Length [18:29:59]Host: 172.17.53.196:8080 [18:29:59]Content-Length: 641 [18:29:59]Content-Type: application/json [18:29:59] [18:29:59]POST finish read [18:29:59]Found Content-Length = 641 [18:29:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34656", "tax_sys" : 0, "items" : [ { "code": "46116482", "name": "\u0416\u0435\u0432 Orbit \u044F\u0433\u043E\u0434\u043D\u044B\u0439 \u043C\u0438\u043A\u0441", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:29:59]execute_script... [18:29:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34656", "tax_sys" : 0, "items" : [ { "code": "46116482", "name": "\u0416\u0435\u0432 Orbit \u044F\u0433\u043E\u0434\u043D\u044B\u0439 \u043C\u0438\u043A\u0441", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:29:59]POST & json_proto [18:29:59]process_json_proto [18:29:59]json parsed OK: [18:29:59]protocol is kg_v1.0 [18:29:59]action value=close_receipt [18:29:59]process_action close_receipt [18:29:59]cmd_close_receipt [18:29:59]MH_GetDate [18:29:59]Write to MH i2c: F0 00 00 7A 10 79 [18:29:59]Write i2c OK [18:29:59]MH_I2C_Read... [18:29:59]Read from MH i2c: F0 [18:29:59]MH_I2C_Read... [18:29:59]Read from MH i2c: F0 09 00 [18:29:59]MH_I2C_Read... [18:29:59]Read from MH i2c: F0 09 00 7A 10 00 2B 4C 15 67 4F CD 9A 65 90 [18:29:59]GetLastDocTimeStamp 1729448610 [18:29:59]current date 1729449003 [18:29:59]FM_GetShiftState [18:29:59]SAM_PROTO_GetShiftState [18:29:59]wFMCommunicate request_size=4 [18:29:59]MH_SAM_APDU [18:29:59]CAPDU: 80 13 01 00 [18:29:59]Write to MH i2c: E2 08 00 7B 10 80 13 01 00 00 00 00 00 08 [18:29:59]Write i2c OK [18:29:59]MH_I2C_Read... [18:29:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:29:59]Read from MH i2c: E2 [18:29:59]MH_I2C_Read... [18:29:59]Read from MH i2c: E2 0E 00 [18:29:59]MH_I2C_Read... [18:29:59]Read from MH i2c: E2 0E 00 7B 10 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 4E [18:29:59]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [18:29:59]wFMCommunicate OK [18:29:59]SAM_PROTO_GetShiftState done [18:29:59]FM_GetShiftState done [18:29:59]opened in 1729384049 [18:29:59]opened+sec_in_day 1729470449 [18:29:59]quantity*price = 4500 [18:29:59]sum+1 = 4501 [18:29:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 54 20.10.2024 18:30 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24896 ФПД: 50401966065962 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T183003&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24896&fm=50401966065962&tin=02508201610067®Number=0000000000098147&sum=4500 0 [18:30:00]StoreToDocumentArchive [18:30:00]shift 455 fd 24896 [18:30:00]save to /storage/0455/doc_00024896 [18:30:00]save last doc name /storage/0455/doc_00024896 to /storage/kkm_last_doc_name [18:30:00]save OK [18:30:00]Clear old archive folders... [18:30:00]ProcessDocumentItem done err = 0, tmpTLVsize=273 [18:30:00]tlvbuf is B6FAF230 [18:30:00]SAM_PROTO_ClearQueue [18:30:00]wFMCommunicate request_size=4 [18:30:00]MH_SAM_APDU [18:30:00]CAPDU: 80 09 00 00 [18:30:00]Write to MH i2c: E2 08 00 88 10 80 09 00 00 00 00 00 00 0A [18:30:00]Write i2c OK [18:30:00]MH_I2C_Read... [18:30:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:30:00]Read from MH i2c: E2 [18:30:00]MH_I2C_Read... [18:30:00]Read from MH i2c: E2 03 00 [18:30:00]MH_I2C_Read... [18:30:00]Read from MH i2c: E2 03 00 88 10 00 90 00 0C [18:30:00]RAPDU: 90 00 [18:30:00]wFMCommunicate OK [18:30:00]SAM_PROTO_ClearQueue done [18:30:00]KKMCreateOFDPacket [18:30:00]OFDProtocolAddRootSTLVToBuf [18:30:00]FM_MakeSignedData [18:30:00]FM_MakeSignedData [18:30:00]SAM_PROTO_SignData [18:30:00]wFMCommunicate request_size=4 [18:30:00]MH_SAM_APDU [18:30:00]CAPDU: 80 0D 01 02 [18:30:00]Write to MH i2c: E2 08 00 89 10 80 0D 01 02 00 00 00 00 12 [18:30:00]Write i2c OK [18:30:00]MH_I2C_Read... [18:30:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:30:00]Read from MH i2c: E2 [18:30:00]MH_I2C_Read... [18:30:00]Read from MH i2c: E2 03 00 [18:30:00]MH_I2C_Read... [18:30:00]Read from MH i2c: E2 03 00 89 10 00 90 00 0D [18:30:00]RAPDU: 90 00 [18:30:00]wFMCommunicate OK [18:30:00]wFMCommunicate request_size=255 [18:30:00]MH_SAM_APDU [18:30:00]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 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 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 2B 4C 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 [18:30:00]Write to MH i2c: E2 02 01 8A 10 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 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 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 2B 4C 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 00 00 09 [18:30:00]Write i2c OK [18:30:00]MH_I2C_Read... [18:30:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:30:00]Read from MH i2c: E2 [18:30:00]MH_I2C_Read... [18:30:00]Read from MH i2c: E2 03 00 [18:30:00]MH_I2C_Read... [18:30:00]Read from MH i2c: E2 03 00 8A 10 00 90 00 0E [18:30:00]RAPDU: 90 00 [18:30:00]wFMCommunicate OK [18:30:00]wFMCommunicate request_size=32 [18:30:00]MH_SAM_APDU [18:30:00]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 36 10 04 04 00 40 61 00 00 35 04 06 00 2D D7 1F 48 89 2A [18:30:00]Write to MH i2c: E2 23 00 8B 10 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 36 10 04 04 00 40 61 00 00 35 04 06 00 2D D7 1F 48 89 2A 00 00 35 [18:30:00]Write i2c OK [18:30:00]MH_I2C_Read... [18:30:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:30:00]Read from MH i2c: E2 [18:30:00]MH_I2C_Read... [18:30:00]Read from MH i2c: E2 03 00 [18:30:00]MH_I2C_Read... [18:30:00]Read from MH i2c: E2 03 00 8B 10 00 90 00 0F [18:30:00]RAPDU: 90 00 [18:30:00]wFMCommunicate OK [18:30:00]wFMCommunicate request_size=4 [18:30:00]MH_SAM_APDU [18:30:00]CAPDU: 80 0D 03 02 [18:30:00]Write to MH i2c: E2 08 00 8C 10 80 0D 03 02 00 00 00 00 17 [18:30:00]Write i2c OK [18:30:00]MH_I2C_Read... [18:30:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:30:00]Read from MH i2c: E2 [18:30:00]MH_I2C_Read... [18:30:00]Read from MH i2c: E2 0B 00 [18:30:00]MH_I2C_Read... [18:30:00]Read from MH i2c: E2 0B 00 8C 10 00 48 1E 21 B0 D4 59 D3 A6 90 00 F5 [18:30:00]RAPDU: 48 1E 21 B0 D4 59 D3 A6 90 00 [18:30:00]wFMCommunicate OK [18:30:00]SAM_PROTO_SignData done [18:30:00]FM_MakeSignedData done [18:30:00]CreateOFDProtocolMessage [18:30:00]wFMCommunicate request_size=4 [18:30:00]MH_SAM_APDU [18:30:00]CAPDU: 80 11 00 00 [18:30:00]Write to MH i2c: E2 08 00 8D 10 80 11 00 00 00 00 00 00 17 [18:30:00]Write i2c OK [18:30:00]MH_I2C_Read... [18:30:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:30:00]Read from MH i2c: E2 [18:30:00]MH_I2C_Read... [18:30:00]Read from MH i2c: E2 17 00 [18:30:00]MH_I2C_Read... [18:30:00]Read from MH i2c: E2 17 00 8D 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 6E [18:30:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:30:00]wFMCommunicate OK [18:30:00]CreateOFDProtocolMessage done [18:30:00]OFDSenderStorePacket 24896 [18:30:00]StoreOFDPacket docnum=24896 [18:30:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 A4 67 1D 01 F8 3A 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 2B 4C 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 40 61 00 00 35 04 06 00 2D D7 1F 48 89 2A 48 1E 21 B0 D4 59 D3 A6 [18:30:00]CheckFolder [18:30:00]dirname=/storage/ofd_packets [18:30:00]CheckFolder done [18:30:00]ProducePacketName [18:30:00]name=ofd_packets/00024896 [18:30:00]NVStorageSaveData ofd_packets/00024896 [18:30:00]File name is /storage/ofd_packets/00024896 [18:30:00]Write 323 bytes [18:30:00]NVStorageSaveData done [18:30:00]OFDSenderStorePacket done [18:30:00]KKMCreateOFDPacket done [18:30:00]NVStorageSaveData kkm_last_timestamp [18:30:00]File name is /storage/kkm_last_timestamp [18:30:00]Write 4 bytes [18:30:00]NVStorageSaveData done [18:30:00]ExternCall_PrintAddStr [18:30:00]wPrintStart [18:30:00]Write to MH i2c: 01 00 00 8E 10 9E [18:30:00]Write i2c OK [18:30:00]MH_I2C_Read... [18:30:00]Read from MH i2c: 01 [18:30:00]MH_I2C_Read... [18:30:00]Read from MH i2c: 01 07 00 [18:30:00]MH_I2C_Read... [18:30:00]Read from MH i2c: 01 07 00 8E 10 00 00 00 00 00 FF 0F B3 [18:30:00]RasterBufferAndPrint [18:30:00]line Счет N : (3)34656 [18:30:00]line ИНН: 02508201610067 [18:30:00]line Контрольно-Кассовый Чек [18:30:00]line ПРОДАЖА [18:30:00]line Товар: 46116482 [18:30:00]line Жев Orbit ягодный микс [18:30:00]line 1.000 * 45.00 [18:30:00]line = 45.00 [18:30:00]line НДС 12% НСП 1% [18:30:00]line > о реализуемом товаре [18:30:00]line ИТОГО: 45.00 [18:30:00]line НСП 1% : 0.40 [18:30:00]line НДС 12% : 4.78 [18:30:00]line Наличными: 45.00 [18:30:00]line Безнал.: 0.00 [18:30:00]line Место: АЗС № 161 "Партнер Нефть" [18:30:00]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [18:30:00]line СНО: Общий режим [18:30:00]line Чек 54 20.10.2024 18:30 [18:30:00]line Смена: 455 ФФД: 1.0 [18:30:00]line ЗНМ: 0300000240 [18:30:00]line РНМ: 0000000000098147 [18:30:00]line Версия ККМ: 001 [18:30:00]line ФМ: 0000000000965376 [18:30:00]line ФД: 24896 [18:30:00]line ФПД: 50401966065962 [18:30:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T183003&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24896&fm=50401966065962&tin=02508201610067®Number=0000000000098147&sum=4500 [18:30:01]line 0 [18:30:01]OFD Sender: Processing packet 24896 [packets to send 5, broken 4] [18:30:01]ProducePacketName [18:30:01]name=ofd_packets/00024896 [18:30:01]OFD Sender: To server: pG, [18:30:01]CommunicateWithHost lk.salyk.kg:30040 [18:30:01]ConnectInit lk.salyk.kg [18:30:01]written 0, free lines is 4095 [18:30:01]Connected sock=10 [18:30:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 A4 67 1D 01 F8 3A 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 2B 4C 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 40 61 00 00 35 04 06 00 2D D7 1F 48 89 2A 48 1E 21 B0 D4 59 D3 A6 [18:30:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 3B ED 47 00 22 9A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 40 61 00 00 F4 03 04 00 AA F4 14 67 B6 04 01 00 00 7A 69 DB CD 2A 6A 1C BC [18:30:01]CommunicateWithHost err = 0 [18:30:01]CheckOFDResponse [18:30:01]1017 (14) - 77093643461234 [18:30:01]1041 (16) - 0000000000965376 [18:30:01]1040 (4) - 24896 [18:30:01]1012 (4) - 20.10.2024 12:16 [18:30:01]1206 (1) - 0 [18:30:01]OFD Sender: Remove packet 24896 [18:30:01]ProducePacketName [18:30:01]name=ofd_packets/00024896 [18:30:01]NVStorageDeleteData [18:30:01]Write to MH i2c: 01 00 00 B6 10 C6 [18:30:01]Write i2c OK [18:30:01]MH_I2C_Read... [18:30:01]Read from MH i2c: 01 [18:30:01]MH_I2C_Read... [18:30:01]Read from MH i2c: 01 07 00 [18:30:01]MH_I2C_Read... [18:30:01]Read from MH i2c: 01 07 00 B6 10 00 00 00 00 00 F2 0C CB [18:30:01]RasterBufferAndPrint [18:30:01]line [18:30:01]line [18:30:01]line [18:30:01]line [18:30:01]line [18:30:01]written 0, free lines is 3320 [18:30:01]process_action close_receipt done [18:30:01]requested_data is exist [18:30:01]produce_requested_data [18:30:01]requested_item fm.sn is exist - process it [18:30:01]wFMCommunicate request_size=4 [18:30:01]MH_SAM_APDU [18:30:01]CAPDU: 80 11 00 00 [18:30:01]Write to MH i2c: E2 08 00 BD 10 80 11 00 00 00 00 00 00 47 [18:30:01]Write i2c OK [18:30:01]MH_I2C_Read... [18:30:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:30:01]Read from MH i2c: E2 [18:30:01]MH_I2C_Read... [18:30:01]Read from MH i2c: E2 17 00 [18:30:01]MH_I2C_Read... [18:30:01]Read from MH i2c: E2 17 00 BD 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 9E [18:30:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:30:01]wFMCommunicate OK [18:30:01]requested_item fd.num is exist - process it [18:30:01]SAM_PROTO_GetFieldsCounters [18:30:01]wFMCommunicate request_size=4 [18:30:01]MH_SAM_APDU [18:30:01]CAPDU: 80 13 00 00 [18:30:01]Write to MH i2c: E2 08 00 BE 10 80 13 00 00 00 00 00 00 4A [18:30:01]Write i2c OK [18:30:01]MH_I2C_Read... [18:30:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:30:01]Read from MH i2c: E2 [18:30:01]MH_I2C_Read... [18:30:01]Read from MH i2c: E2 62 00 [18:30:01]MH_I2C_Read... [18:30:01]Read from MH i2c: E2 62 00 BE 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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 40 61 00 00 0E 04 04 00 C7 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 7E [18:30:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 40 61 00 00 0E 04 04 00 C7 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 [18:30:01]wFMCommunicate OK [18:30:01]SAM_PROTO_GetFieldsCounters done [18:30:01]requested_item shift.num is exist - process it [18:30:01]requested_item shift.opened is exist - process it [18:30:01]req_shift_opened [18:30:01]FM_GetShiftState [18:30:01]SAM_PROTO_GetShiftState [18:30:01]wFMCommunicate request_size=4 [18:30:01]MH_SAM_APDU [18:30:01]CAPDU: 80 13 01 00 [18:30:01]Write to MH i2c: E2 08 00 BF 10 80 13 01 00 00 00 00 00 4C [18:30:01]Write i2c OK [18:30:01]MH_I2C_Read... [18:30:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:30:01]Read from MH i2c: E2 [18:30:01]MH_I2C_Read... [18:30:01]Read from MH i2c: E2 0E 00 [18:30:01]MH_I2C_Read... [18:30:01]Read from MH i2c: E2 0E 00 BF 10 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 92 [18:30:01]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [18:30:01]wFMCommunicate OK [18:30:01]SAM_PROTO_GetShiftState done [18:30:01]FM_GetShiftState done [18:30:01]req_shift_opened done [18:30:01]requested_item shift.open_date is exist - process it [18:30:01]req_shift_open_date [18:30:01]req_shift_open_date done [18:30:01]produce_requested_data done [18:30:01]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24896,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [18:30:01]process_action_free close_receipt [18:30:01]json_value_free [18:30:01]json_value_free done [18:30:01]process_json_proto returns [18:30:01]Send response to host [18:30:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24896,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [18:30:01]free response buf [18:30:01]execute_script done [18:30:01]execute_script returns [18:30:01]free content buf [18:30:01]Sock 7.Close socket [18:30:01]Sock 7.Thread stoped [18:30:02]OFD Sender: No OFD packet to send [18:30:07]OFD Sender: No OFD packet to send [18:30:12]OFD Sender: No OFD packet to send [18:30:17]OFD Sender: No OFD packet to send [18:30:22]OFD Sender: No OFD packet to send [18:30:27]OFD Sender: No OFD packet to send [18:30:32]OFD Sender: No OFD packet to send [18:30:37]OFD Sender: No OFD packet to send [18:30:42]OFD Sender: No OFD packet to send [18:30:47]OFD Sender: No OFD packet to send [18:30:52]OFD Sender: No OFD packet to send [18:30:57]OFD Sender: No OFD packet to send [18:31:02]OFD Sender: No OFD packet to send [18:31:07]OFD Sender: No OFD packet to send [18:31:12]OFD Sender: No OFD packet to send [18:31:17]OFD Sender: No OFD packet to send [18:31:22]OFD Sender: No OFD packet to send [18:31:27]OFD Sender: No OFD packet to send [18:31:32]OFD Sender: No OFD packet to send [18:31:37]OFD Sender: No OFD packet to send [18:31:42]OFD Sender: No OFD packet to send [18:31:47]OFD Sender: No OFD packet to send [18:31:52]OFD Sender: No OFD packet to send [18:31:57]OFD Sender: No OFD packet to send [18:32:02]OFD Sender: No OFD packet to send [18:32:07]OFD Sender: No OFD packet to send [18:32:12]OFD Sender: No OFD packet to send [18:32:17]OFD Sender: No OFD packet to send [18:32:22]OFD Sender: No OFD packet to send [18:32:27]OFD Sender: No OFD packet to send [18:32:32]OFD Sender: No OFD packet to send [18:32:37]OFD Sender: No OFD packet to send [18:32:42]OFD Sender: No OFD packet to send [18:32:47]OFD Sender: No OFD packet to send [18:32:52]OFD Sender: No OFD packet to send [18:32:57]OFD Sender: No OFD packet to send [18:33:02]OFD Sender: No OFD packet to send [18:33:07]OFD Sender: No OFD packet to send [18:33:12]OFD Sender: No OFD packet to send [18:33:17]OFD Sender: No OFD packet to send [18:33:22]OFD Sender: No OFD packet to send [18:33:27]OFD Sender: No OFD packet to send [18:33:32]OFD Sender: No OFD packet to send [18:33:37]OFD Sender: No OFD packet to send [18:33:42]OFD Sender: No OFD packet to send [18:33:47]OFD Sender: No OFD packet to send [18:33:52]OFD Sender: No OFD packet to send [18:33:57]OFD Sender: No OFD packet to send [18:34:02]OFD Sender: No OFD packet to send [18:34:07]OFD Sender: No OFD packet to send [18:34:12]OFD Sender: No OFD packet to send [18:34:17]OFD Sender: No OFD packet to send [18:34:22]OFD Sender: No OFD packet to send [18:34:27]OFD Sender: No OFD packet to send [18:34:32]OFD Sender: No OFD packet to send [18:34:37]OFD Sender: No OFD packet to send [18:34:42]OFD Sender: No OFD packet to send [18:34:47]OFD Sender: No OFD packet to send [18:34:52]OFD Sender: No OFD packet to send [18:34:57]OFD Sender: No OFD packet to send [18:35:02]OFD Sender: No OFD packet to send [18:35:07]OFD Sender: No OFD packet to send [18:35:12]OFD Sender: No OFD packet to send [18:35:17]OFD Sender: No OFD packet to send [18:35:22]OFD Sender: No OFD packet to send [18:35:27]OFD Sender: No OFD packet to send [18:35:32]OFD Sender: No OFD packet to send [18:35:37]OFD Sender: No OFD packet to send [18:35:42]OFD Sender: No OFD packet to send [18:35:47]OFD Sender: No OFD packet to send [18:35:52]OFD Sender: No OFD packet to send [18:35:57]OFD Sender: No OFD packet to send [18:36:02]OFD Sender: No OFD packet to send [18:36:07]OFD Sender: No OFD packet to send [18:36:12]OFD Sender: No OFD packet to send [18:36:17]OFD Sender: No OFD packet to send [18:36:22]OFD Sender: No OFD packet to send [18:36:27]OFD Sender: No OFD packet to send [18:36:32]OFD Sender: No OFD packet to send [18:36:37]OFD Sender: No OFD packet to send [18:36:42]OFD Sender: No OFD packet to send [18:36:47]OFD Sender: No OFD packet to send [18:36:52]OFD Sender: No OFD packet to send [18:36:57]OFD Sender: No OFD packet to send [18:37:02]OFD Sender: No OFD packet to send [18:37:07]OFD Sender: No OFD packet to send [18:37:12]OFD Sender: No OFD packet to send [18:37:17]OFD Sender: No OFD packet to send [18:37:22]OFD Sender: No OFD packet to send [18:37:27]OFD Sender: No OFD packet to send [18:37:32]OFD Sender: No OFD packet to send [18:37:37]OFD Sender: No OFD packet to send [18:37:42]OFD Sender: No OFD packet to send [18:37:47]OFD Sender: No OFD packet to send [18:37:52]OFD Sender: No OFD packet to send [18:37:57]OFD Sender: No OFD packet to send [18:38:02]OFD Sender: No OFD packet to send [18:38:07]OFD Sender: No OFD packet to send [18:38:12]OFD Sender: No OFD packet to send [18:38:17]OFD Sender: No OFD packet to send [18:38:22]OFD Sender: No OFD packet to send [18:38:27]OFD Sender: No OFD packet to send [18:38:32]OFD Sender: No OFD packet to send [18:38:37]OFD Sender: No OFD packet to send [18:38:42]OFD Sender: No OFD packet to send [18:38:47]OFD Sender: No OFD packet to send [18:38:52]OFD Sender: No OFD packet to send [18:38:57]OFD Sender: No OFD packet to send [18:39:02]OFD Sender: No OFD packet to send [18:39:07]OFD Sender: No OFD packet to send [18:39:12]OFD Sender: No OFD packet to send [18:39:17]OFD Sender: No OFD packet to send [18:39:22]OFD Sender: No OFD packet to send [18:39:27]OFD Sender: No OFD packet to send [18:39:32]OFD Sender: No OFD packet to send [18:39:37]OFD Sender: No OFD packet to send [18:39:42]OFD Sender: No OFD packet to send [18:39:47]OFD Sender: No OFD packet to send [18:39:52]OFD Sender: No OFD packet to send [18:39:57]OFD Sender: No OFD packet to send [18:40:02]OFD Sender: No OFD packet to send [18:40:07]OFD Sender: No OFD packet to send [18:40:12]OFD Sender: No OFD packet to send [18:40:17]OFD Sender: No OFD packet to send [18:40:22]OFD Sender: No OFD packet to send [18:40:27]OFD Sender: No OFD packet to send [18:40:32]OFD Sender: No OFD packet to send [18:40:37]OFD Sender: No OFD packet to send [18:40:42]OFD Sender: No OFD packet to send [18:40:47]OFD Sender: No OFD packet to send [18:40:52]OFD Sender: No OFD packet to send [18:40:57]OFD Sender: No OFD packet to send [18:41:02]OFD Sender: No OFD packet to send [18:41:07]OFD Sender: No OFD packet to send [18:41:12]OFD Sender: No OFD packet to send [18:41:17]OFD Sender: No OFD packet to send [18:41:22]OFD Sender: No OFD packet to send [18:41:27]OFD Sender: No OFD packet to send [18:41:32]OFD Sender: No OFD packet to send [18:41:37]OFD Sender: No OFD packet to send [18:41:42]OFD Sender: No OFD packet to send [18:41:47]OFD Sender: No OFD packet to send [18:41:52]OFD Sender: No OFD packet to send [18:41:57]OFD Sender: No OFD packet to send [18:42:02]OFD Sender: No OFD packet to send [18:42:07]OFD Sender: No OFD packet to send [18:42:12]OFD Sender: No OFD packet to send [18:42:17]OFD Sender: No OFD packet to send [18:42:22]OFD Sender: No OFD packet to send [18:42:27]OFD Sender: No OFD packet to send [18:42:32]OFD Sender: No OFD packet to send [18:42:37]OFD Sender: No OFD packet to send [18:42:42]OFD Sender: No OFD packet to send [18:42:47]OFD Sender: No OFD packet to send [18:42:52]OFD Sender: No OFD packet to send [18:42:57]OFD Sender: No OFD packet to send [18:43:02]OFD Sender: No OFD packet to send [18:43:07]OFD Sender: No OFD packet to send [18:43:12]OFD Sender: No OFD packet to send [18:43:17]OFD Sender: No OFD packet to send [18:43:22]OFD Sender: No OFD packet to send [18:43:27]OFD Sender: No OFD packet to send [18:43:32]OFD Sender: No OFD packet to send [18:43:37]OFD Sender: No OFD packet to send [18:43:42]OFD Sender: No OFD packet to send [18:43:47]OFD Sender: No OFD packet to send [18:43:52]OFD Sender: No OFD packet to send [18:43:57]OFD Sender: No OFD packet to send [18:44:02]OFD Sender: No OFD packet to send [18:44:07]OFD Sender: No OFD packet to send [18:44:12]OFD Sender: No OFD packet to send [18:44:17]OFD Sender: No OFD packet to send [18:44:22]OFD Sender: No OFD packet to send [18:44:27]OFD Sender: No OFD packet to send [18:44:32]OFD Sender: No OFD packet to send [18:44:37]OFD Sender: No OFD packet to send [18:44:42]OFD Sender: No OFD packet to send [18:44:47]OFD Sender: No OFD packet to send [18:44:52]OFD Sender: No OFD packet to send [18:44:57]OFD Sender: No OFD packet to send [18:45:02]OFD Sender: No OFD packet to send [18:45:07]OFD Sender: No OFD packet to send [18:45:12]OFD Sender: No OFD packet to send [18:45:17]OFD Sender: No OFD packet to send [18:45:22]OFD Sender: No OFD packet to send [18:45:27]OFD Sender: No OFD packet to send [18:45:32]OFD Sender: No OFD packet to send [18:45:37]OFD Sender: No OFD packet to send [18:45:42]OFD Sender: No OFD packet to send [18:45:47]OFD Sender: No OFD packet to send [18:45:52]OFD Sender: No OFD packet to send [18:45:57]OFD Sender: No OFD packet to send [18:46:02]OFD Sender: No OFD packet to send [18:46:07]OFD Sender: No OFD packet to send [18:46:12]OFD Sender: No OFD packet to send [18:46:17]OFD Sender: No OFD packet to send [18:46:22]OFD Sender: No OFD packet to send [18:46:27]OFD Sender: No OFD packet to send [18:46:32]OFD Sender: No OFD packet to send [18:46:37]OFD Sender: No OFD packet to send [18:46:42]OFD Sender: No OFD packet to send [18:46:47]OFD Sender: No OFD packet to send [18:46:52]OFD Sender: No OFD packet to send [18:46:57]OFD Sender: No OFD packet to send [18:47:02]OFD Sender: No OFD packet to send [18:47:07]OFD Sender: No OFD packet to send [18:47:12]OFD Sender: No OFD packet to send [18:47:17]OFD Sender: No OFD packet to send [18:47:22]OFD Sender: No OFD packet to send [18:47:27]OFD Sender: No OFD packet to send [18:47:32]OFD Sender: No OFD packet to send [18:47:37]OFD Sender: No OFD packet to send [18:47:42]OFD Sender: No OFD packet to send [18:47:47]OFD Sender: No OFD packet to send [18:47:52]OFD Sender: No OFD packet to send [18:47:57]OFD Sender: No OFD packet to send [18:48:02]OFD Sender: No OFD packet to send [18:48:07]OFD Sender: No OFD packet to send [18:48:12]OFD Sender: No OFD packet to send [18:48:17]OFD Sender: No OFD packet to send [18:48:22]OFD Sender: No OFD packet to send [18:48:27]OFD Sender: No OFD packet to send [18:48:32]OFD Sender: No OFD packet to send [18:48:37]OFD Sender: No OFD packet to send [18:48:42]OFD Sender: No OFD packet to send [18:48:47]OFD Sender: No OFD packet to send [18:48:52]OFD Sender: No OFD packet to send [18:48:57]OFD Sender: No OFD packet to send [18:49:02]OFD Sender: No OFD packet to send [18:49:07]OFD Sender: No OFD packet to send [18:49:12]OFD Sender: No OFD packet to send [18:49:17]OFD Sender: No OFD packet to send [18:49:22]OFD Sender: No OFD packet to send [18:49:27]OFD Sender: No OFD packet to send [18:49:32]OFD Sender: No OFD packet to send [18:49:37]OFD Sender: No OFD packet to send [18:49:42]OFD Sender: No OFD packet to send [18:49:47]OFD Sender: No OFD packet to send [18:49:52]OFD Sender: No OFD packet to send [18:49:57]OFD Sender: No OFD packet to send [18:50:02]OFD Sender: No OFD packet to send [18:50:07]OFD Sender: No OFD packet to send [18:50:12]OFD Sender: No OFD packet to send [18:50:17]OFD Sender: No OFD packet to send [18:50:22]OFD Sender: No OFD packet to send [18:50:27]OFD Sender: No OFD packet to send [18:50:32]OFD Sender: No OFD packet to send [18:50:38]OFD Sender: No OFD packet to send [18:50:43]OFD Sender: No OFD packet to send [18:50:48]OFD Sender: No OFD packet to send [18:50:53]OFD Sender: No OFD packet to send [18:50:58]OFD Sender: No OFD packet to send [18:51:03]OFD Sender: No OFD packet to send [18:51:08]OFD Sender: No OFD packet to send [18:51:13]OFD Sender: No OFD packet to send [18:51:18]OFD Sender: No OFD packet to send [18:51:23]OFD Sender: No OFD packet to send [18:51:28]OFD Sender: No OFD packet to send [18:51:33]OFD Sender: No OFD packet to send [18:51:38]OFD Sender: No OFD packet to send [18:51:43]OFD Sender: No OFD packet to send [18:51:48]OFD Sender: No OFD packet to send [18:51:53]OFD Sender: No OFD packet to send [18:51:58]OFD Sender: No OFD packet to send [18:52:03]OFD Sender: No OFD packet to send [18:52:08]OFD Sender: No OFD packet to send [18:52:13]OFD Sender: No OFD packet to send [18:52:18]OFD Sender: No OFD packet to send [18:52:23]OFD Sender: No OFD packet to send [18:52:28]OFD Sender: No OFD packet to send [18:52:33]OFD Sender: No OFD packet to send [18:52:38]OFD Sender: No OFD packet to send [18:52:43]OFD Sender: No OFD packet to send [18:52:48]OFD Sender: No OFD packet to send [18:52:53]OFD Sender: No OFD packet to send [18:52:58]OFD Sender: No OFD packet to send [18:53:03]OFD Sender: No OFD packet to send [18:53:08]OFD Sender: No OFD packet to send [18:53:13]OFD Sender: No OFD packet to send [18:53:18]OFD Sender: No OFD packet to send [18:53:23]OFD Sender: No OFD packet to send [18:53:28]OFD Sender: No OFD packet to send [18:53:33]OFD Sender: No OFD packet to send [18:53:38]OFD Sender: No OFD packet to send [18:53:43]OFD Sender: No OFD packet to send [18:53:48]OFD Sender: No OFD packet to send [18:53:53]OFD Sender: No OFD packet to send [18:53:58]OFD Sender: No OFD packet to send [18:54:03]OFD Sender: No OFD packet to send [18:54:08]OFD Sender: No OFD packet to send [18:54:13]OFD Sender: No OFD packet to send [18:54:18]OFD Sender: No OFD packet to send [18:54:23]OFD Sender: No OFD packet to send [18:54:28]OFD Sender: No OFD packet to send [18:54:33]OFD Sender: No OFD packet to send [18:54:38]OFD Sender: No OFD packet to send [18:54:43]OFD Sender: No OFD packet to send [18:54:48]OFD Sender: No OFD packet to send [18:54:53]OFD Sender: No OFD packet to send [18:54:58]OFD Sender: No OFD packet to send [18:55:03]OFD Sender: No OFD packet to send [18:55:08]OFD Sender: No OFD packet to send [18:55:13]OFD Sender: No OFD packet to send [18:55:18]OFD Sender: No OFD packet to send [18:55:23]OFD Sender: No OFD packet to send [18:55:28]OFD Sender: No OFD packet to send [18:55:33]OFD Sender: No OFD packet to send [18:55:38]OFD Sender: No OFD packet to send [18:55:43]OFD Sender: No OFD packet to send [18:55:48]OFD Sender: No OFD packet to send [18:55:53]OFD Sender: No OFD packet to send [18:55:58]OFD Sender: No OFD packet to send [18:56:03]OFD Sender: No OFD packet to send [18:56:08]OFD Sender: No OFD packet to send [18:56:13]OFD Sender: No OFD packet to send [18:56:18]OFD Sender: No OFD packet to send [18:56:23]OFD Sender: No OFD packet to send [18:56:28]OFD Sender: No OFD packet to send [18:56:33]OFD Sender: No OFD packet to send [18:56:38]OFD Sender: No OFD packet to send [18:56:43]OFD Sender: No OFD packet to send [18:56:48]OFD Sender: No OFD packet to send [18:56:53]OFD Sender: No OFD packet to send [18:56:58]OFD Sender: No OFD packet to send [18:57:03]OFD Sender: No OFD packet to send [18:57:08]OFD Sender: No OFD packet to send [18:57:13]OFD Sender: No OFD packet to send [18:57:18]OFD Sender: No OFD packet to send [18:57:23]OFD Sender: No OFD packet to send [18:57:28]OFD Sender: No OFD packet to send [18:57:33]OFD Sender: No OFD packet to send [18:57:38]OFD Sender: No OFD packet to send [18:57:43]OFD Sender: No OFD packet to send [18:57:48]OFD Sender: No OFD packet to send [18:57:53]OFD Sender: No OFD packet to send [18:57:58]OFD Sender: No OFD packet to send [18:58:03]OFD Sender: No OFD packet to send [18:58:08]OFD Sender: No OFD packet to send [18:58:13]OFD Sender: No OFD packet to send [18:58:18]OFD Sender: No OFD packet to send [18:58:23]OFD Sender: No OFD packet to send [18:58:28]OFD Sender: No OFD packet to send [18:58:33]OFD Sender: No OFD packet to send [18:58:38]OFD Sender: No OFD packet to send [18:58:43]OFD Sender: No OFD packet to send [18:58:48]OFD Sender: No OFD packet to send [18:58:53]OFD Sender: No OFD packet to send [18:58:58]OFD Sender: No OFD packet to send [18:59:03]OFD Sender: No OFD packet to send [18:59:08]OFD Sender: No OFD packet to send [18:59:13]OFD Sender: No OFD packet to send [18:59:18]OFD Sender: No OFD packet to send [18:59:23]OFD Sender: No OFD packet to send [18:59:28]OFD Sender: No OFD packet to send [18:59:33]OFD Sender: No OFD packet to send [18:59:38]OFD Sender: No OFD packet to send [18:59:43]OFD Sender: No OFD packet to send [18:59:48]OFD Sender: No OFD packet to send [18:59:53]OFD Sender: No OFD packet to send [18:59:58]OFD Sender: No OFD packet to send [19:00:03]OFD Sender: No OFD packet to send [19:00:08]OFD Sender: No OFD packet to send [19:00:13]OFD Sender: No OFD packet to send [19:00:18]OFD Sender: No OFD packet to send [19:00:23]OFD Sender: No OFD packet to send [19:00:28]OFD Sender: No OFD packet to send [19:00:33]OFD Sender: No OFD packet to send [19:00:38]OFD Sender: No OFD packet to send [19:00:43]OFD Sender: No OFD packet to send [19:00:48]OFD Sender: No OFD packet to send [19:00:53]OFD Sender: No OFD packet to send [19:00:58]OFD Sender: No OFD packet to send [19:01:03]OFD Sender: No OFD packet to send [19:01:08]OFD Sender: No OFD packet to send [19:01:13]OFD Sender: No OFD packet to send [19:01:18]OFD Sender: No OFD packet to send [19:01:23]OFD Sender: No OFD packet to send [19:01:28]OFD Sender: No OFD packet to send [19:01:33]OFD Sender: No OFD packet to send [19:01:38]OFD Sender: No OFD packet to send [19:01:43]OFD Sender: No OFD packet to send [19:01:48]OFD Sender: No OFD packet to send [19:01:53]OFD Sender: No OFD packet to send [19:01:58]OFD Sender: No OFD packet to send [19:02:03]OFD Sender: No OFD packet to send [19:02:08]OFD Sender: No OFD packet to send [19:02:13]OFD Sender: No OFD packet to send [19:02:16]accept exits with 9 [19:02:16]New connection [19:02:16]New thread 3067309412 created [19:02:16]Thread 3067166052 joined [19:02:16]Waiting for new connection... [19:02:16] Sock 9.Parse request [19:02:16]Sock 9.Check first char [19:02:16]Sock 9.First char is OK [19:02:16]request: POST /json_proto HTTP/1.0 [19:02:16]Method: POST [19:02:16]URL: /json_proto [19:02:16]Method is POST - this is cgi request [19:02:16]url: /json_proto [19:02:16]query_string will be loaded in cgi processing [19:02:16]execute_cgi json_proto POST (null) [19:02:16]execute_cgi path=json_proto method=POST [19:02:16]POST find Content-Length [19:02:16]Host: 172.17.53.196:8080 [19:02:16]Content-Length: 622 [19:02:16]Content-Type: application/json [19:02:16] [19:02:16]POST finish read [19:02:16]Found Content-Length = 622 [19:02:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34657", "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" ] } } [19:02:16]execute_script... [19:02: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)34657", "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" ] } } [19:02:16]POST & json_proto [19:02:16]process_json_proto [19:02:16]json parsed OK: [19:02:16]protocol is kg_v1.0 [19:02:16]action value=close_receipt [19:02:16]process_action close_receipt [19:02:16]cmd_close_receipt [19:02:16]MH_GetDate [19:02:16]Write to MH i2c: F0 00 00 C0 10 BF [19:02:16]Write i2c OK [19:02:16]MH_I2C_Read... [19:02:16]Read from MH i2c: F0 [19:02:16]MH_I2C_Read... [19:02:16]Read from MH i2c: F0 09 00 [19:02:16]MH_I2C_Read... [19:02:16]Read from MH i2c: F0 09 00 C0 10 00 BC 53 15 67 4F CD 9A 65 6E [19:02:16]GetLastDocTimeStamp 1729449003 [19:02:16]current date 1729450940 [19:02:16]FM_GetShiftState [19:02:16]SAM_PROTO_GetShiftState [19:02:16]wFMCommunicate request_size=4 [19:02:16]MH_SAM_APDU [19:02:16]CAPDU: 80 13 01 00 [19:02:16]Write to MH i2c: E2 08 00 C1 10 80 13 01 00 00 00 00 00 4E [19:02:16]Write i2c OK [19:02:16]MH_I2C_Read... [19:02:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:02:16]Read from MH i2c: E2 [19:02:16]MH_I2C_Read... [19:02:16]Read from MH i2c: E2 0E 00 [19:02:16]MH_I2C_Read... [19:02:16]Read from MH i2c: E2 0E 00 C1 10 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 94 [19:02:16]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [19:02:16]wFMCommunicate OK [19:02:16]SAM_PROTO_GetShiftState done [19:02:16]FM_GetShiftState done [19:02:16]opened in 1729384049 [19:02:16]opened+sec_in_day 1729470449 [19:02:16]quantity*price = 14400 [19:02:16]sum+1 = 14401 [19:02:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 55 20.10.2024 19:02 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24897 ФПД: 59764714906524 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T190220&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24897&fm=59764714906524&tin=02508201610067®Number=0000000000098147&sum=14400 0 [19:02:17]StoreToDocumentArchive [19:02:17]shift 455 fd 24897 [19:02:17]save to /storage/0455/doc_00024897 [19:02:17]save last doc name /storage/0455/doc_00024897 to /storage/kkm_last_doc_name [19:02:17]save OK [19:02:17]Clear old archive folders... [19:02:17]ProcessDocumentItem done err = 0, tmpTLVsize=275 [19:02:17]tlvbuf is 00DC7E20 [19:02:17]SAM_PROTO_ClearQueue [19:02:17]wFMCommunicate request_size=4 [19:02:17]MH_SAM_APDU [19:02:17]CAPDU: 80 09 00 00 [19:02:17]Write to MH i2c: E2 08 00 CE 10 80 09 00 00 00 00 00 00 50 [19:02:17]Write i2c OK [19:02:17]MH_I2C_Read... [19:02:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:02:17]Read from MH i2c: E2 [19:02:17]MH_I2C_Read... [19:02:17]Read from MH i2c: E2 03 00 [19:02:17]MH_I2C_Read... [19:02:17]Read from MH i2c: E2 03 00 CE 10 00 90 00 52 [19:02:17]RAPDU: 90 00 [19:02:17]wFMCommunicate OK [19:02:17]SAM_PROTO_ClearQueue done [19:02:17]KKMCreateOFDPacket [19:02:17]OFDProtocolAddRootSTLVToBuf [19:02:17]FM_MakeSignedData [19:02:17]FM_MakeSignedData [19:02:17]SAM_PROTO_SignData [19:02:17]wFMCommunicate request_size=4 [19:02:17]MH_SAM_APDU [19:02:17]CAPDU: 80 0D 01 02 [19:02:17]Write to MH i2c: E2 08 00 CF 10 80 0D 01 02 00 00 00 00 58 [19:02:17]Write i2c OK [19:02:17]MH_I2C_Read... [19:02:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:02:17]Read from MH i2c: E2 [19:02:17]MH_I2C_Read... [19:02:17]Read from MH i2c: E2 03 00 [19:02:17]MH_I2C_Read... [19:02:17]Read from MH i2c: E2 03 00 CF 10 00 90 00 53 [19:02:17]RAPDU: 90 00 [19:02:17]wFMCommunicate OK [19:02:17]wFMCommunicate request_size=255 [19:02:17]MH_SAM_APDU [19:02:17]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 37 00 00 00 F4 03 04 00 BC 53 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 [19:02:17]Write to MH i2c: E2 02 01 D0 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 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 37 00 00 00 F4 03 04 00 BC 53 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 00 00 EB [19:02:17]Write i2c OK [19:02:17]MH_I2C_Read... [19:02:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:02:17]Read from MH i2c: E2 [19:02:17]MH_I2C_Read... [19:02:17]Read from MH i2c: E2 03 00 [19:02:17]MH_I2C_Read... [19:02:17]Read from MH i2c: E2 03 00 D0 10 00 90 00 54 [19:02:17]RAPDU: 90 00 [19:02:17]wFMCommunicate OK [19:02:17]wFMCommunicate request_size=34 [19:02:17]MH_SAM_APDU [19:02:17]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 41 61 00 00 35 04 06 00 36 5B 0E 9A 23 9C [19:02:17]Write to MH i2c: E2 25 00 D1 10 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 41 61 00 00 35 04 06 00 36 5B 0E 9A 23 9C 00 00 BA [19:02:17]Write i2c OK [19:02:17]MH_I2C_Read... [19:02:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:02:17]Read from MH i2c: E2 [19:02:17]MH_I2C_Read... [19:02:17]Read from MH i2c: E2 03 00 [19:02:17]MH_I2C_Read... [19:02:17]Read from MH i2c: E2 03 00 D1 10 00 90 00 55 [19:02:17]RAPDU: 90 00 [19:02:17]wFMCommunicate OK [19:02:17]wFMCommunicate request_size=4 [19:02:17]MH_SAM_APDU [19:02:17]CAPDU: 80 0D 03 02 [19:02:17]Write to MH i2c: E2 08 00 D2 10 80 0D 03 02 00 00 00 00 5D [19:02:17]Write i2c OK [19:02:17]MH_I2C_Read... [19:02:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:02:17]Read from MH i2c: E2 [19:02:17]MH_I2C_Read... [19:02:17]Read from MH i2c: E2 0B 00 [19:02:17]MH_I2C_Read... [19:02:17]Read from MH i2c: E2 0B 00 D2 10 00 26 92 09 D0 D3 0B 81 9D 90 00 EB [19:02:17]RAPDU: 26 92 09 D0 D3 0B 81 9D 90 00 [19:02:17]wFMCommunicate OK [19:02:17]SAM_PROTO_SignData done [19:02:17]FM_MakeSignedData done [19:02:17]CreateOFDProtocolMessage [19:02:17]wFMCommunicate request_size=4 [19:02:17]MH_SAM_APDU [19:02:17]CAPDU: 80 11 00 00 [19:02:17]Write to MH i2c: E2 08 00 D3 10 80 11 00 00 00 00 00 00 5D [19:02:17]Write i2c OK [19:02:17]MH_I2C_Read... [19:02:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:02:17]Read from MH i2c: E2 [19:02:17]MH_I2C_Read... [19:02:17]Read from MH i2c: E2 17 00 [19:02:17]MH_I2C_Read... [19:02:17]Read from MH i2c: E2 17 00 D3 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 B4 [19:02:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [19:02:17]wFMCommunicate OK [19:02:17]CreateOFDProtocolMessage done [19:02:17]OFDSenderStorePacket 24897 [19:02:17]StoreOFDPacket docnum=24897 [19:02:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 67 12 1F 01 AF 5A 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 37 00 00 00 F4 03 04 00 BC 53 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 41 61 00 00 35 04 06 00 36 5B 0E 9A 23 9C 26 92 09 D0 D3 0B 81 9D [19:02:17]CheckFolder [19:02:17]dirname=/storage/ofd_packets [19:02:17]CheckFolder done [19:02:17]ProducePacketName [19:02:17]name=ofd_packets/00024897 [19:02:17]NVStorageSaveData ofd_packets/00024897 [19:02:17]File name is /storage/ofd_packets/00024897 [19:02:17]Write 325 bytes [19:02:17]NVStorageSaveData done [19:02:17]OFDSenderStorePacket done [19:02:17]KKMCreateOFDPacket done [19:02:17]NVStorageSaveData kkm_last_timestamp [19:02:17]File name is /storage/kkm_last_timestamp [19:02:17]Write 4 bytes [19:02:17]NVStorageSaveData done [19:02:17]ExternCall_PrintAddStr [19:02:17]wPrintStart [19:02:17]Write to MH i2c: 01 00 00 D4 10 E4 [19:02:17]Write i2c OK [19:02:17]MH_I2C_Read... [19:02:17]Read from MH i2c: 01 [19:02:17]MH_I2C_Read... [19:02:17]Read from MH i2c: 01 07 00 [19:02:17]MH_I2C_Read... [19:02:17]Read from MH i2c: 01 07 00 D4 10 00 00 00 00 00 FF 0F F9 [19:02:17]RasterBufferAndPrint [19:02:17]line Счет N : (3)34657 [19:02:17]line ИНН: 02508201610067 [19:02:17]line Контрольно-Кассовый Чек [19:02:17]line ПРОДАЖА [19:02:17]line Товар: 48743587 [19:02:17]line Сигареты Winston XStyle Silver [19:02:17]line 1.000 * 144.00 [19:02:17]line = 144.00 [19:02:17]line НДС 12% НСП 1% [19:02:17]line > о реализуемом товаре [19:02:17]line ИТОГО: 144.00 [19:02:17]line НСП 1% : 1.27 [19:02:17]line НДС 12% : 15.29 [19:02:17]line Наличными: 144.00 [19:02:17]line Безнал.: 0.00 [19:02:17]line Место: АЗС № 161 "Партнер Нефть" [19:02:17]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [19:02:17]line СНО: Общий режим [19:02:17]line Чек 55 20.10.2024 19:02 [19:02:17]line Смена: 455 ФФД: 1.0 [19:02:17]line ЗНМ: 0300000240 [19:02:17]line РНМ: 0000000000098147 [19:02:17]line Версия ККМ: 001 [19:02:17]line ФМ: 0000000000965376 [19:02:17]line ФД: 24897 [19:02:17]line ФПД: 59764714906524 [19:02:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T190220&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24897&fm=59764714906524&tin=02508201610067®Number=0000000000098147&sum=14400 [19:02:17]line 0 [19:02:17]written 0, free lines is 4095 [19:02:17]OFD Sender: Processing packet 24897 [packets to send 5, broken 4] [19:02:17]ProducePacketName [19:02:17]name=ofd_packets/00024897 [19:02:17]OFD Sender: To server: pG, [19:02:17]CommunicateWithHost lk.salyk.kg:30040 [19:02:17]ConnectInit lk.salyk.kg [19:02:17]Connected sock=10 [19:02:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 67 12 1F 01 AF 5A 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 37 00 00 00 F4 03 04 00 BC 53 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 41 61 00 00 35 04 06 00 36 5B 0E 9A 23 9C 26 92 09 D0 D3 0B 81 9D [19:02:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 CA D5 47 00 39 6A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 41 61 00 00 F4 03 04 00 3B FC 14 67 B6 04 01 00 00 43 83 73 1A 6B B3 72 F5 [19:02:18]CommunicateWithHost err = 0 [19:02:18]CheckOFDResponse [19:02:18]1017 (14) - 77093643461234 [19:02:18]1041 (16) - 0000000000965376 [19:02:18]1040 (4) - 24897 [19:02:18]1012 (4) - 20.10.2024 12:48 [19:02:18]1206 (1) - 0 [19:02:18]OFD Sender: Remove packet 24897 [19:02:18]ProducePacketName [19:02:18]name=ofd_packets/00024897 [19:02:18]NVStorageDeleteData [19:02:18]Write to MH i2c: 01 00 00 FD 10 0D [19:02:18]Write i2c OK [19:02:18]MH_I2C_Read... [19:02:18]Read from MH i2c: 01 [19:02:18]MH_I2C_Read... [19:02:18]Read from MH i2c: 01 07 00 [19:02:18]MH_I2C_Read... [19:02:18]Read from MH i2c: 01 07 00 FD 10 00 00 00 00 00 CA 0C EA [19:02:18]RasterBufferAndPrint [19:02:18]line [19:02:18]line [19:02:18]line [19:02:18]line [19:02:18]line [19:02:18]written 0, free lines is 3281 [19:02:18]process_action close_receipt done [19:02:18]requested_data is exist [19:02:18]produce_requested_data [19:02:18]requested_item fm.sn is exist - process it [19:02:18]wFMCommunicate request_size=4 [19:02:18]MH_SAM_APDU [19:02:18]CAPDU: 80 11 00 00 [19:02:18]Write to MH i2c: E2 08 00 04 11 80 11 00 00 00 00 00 00 8F [19:02:18]Write i2c OK [19:02:18]MH_I2C_Read... [19:02:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:02:18]Read from MH i2c: E2 [19:02:18]MH_I2C_Read... [19:02:18]Read from MH i2c: E2 17 00 [19:02:18]MH_I2C_Read... [19:02:18]Read from MH i2c: E2 17 00 04 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 E6 [19:02:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [19:02:18]wFMCommunicate OK [19:02:18]requested_item fd.num is exist - process it [19:02:18]SAM_PROTO_GetFieldsCounters [19:02:18]wFMCommunicate request_size=4 [19:02:18]MH_SAM_APDU [19:02:18]CAPDU: 80 13 00 00 [19:02:18]Write to MH i2c: E2 08 00 05 11 80 13 00 00 00 00 00 00 92 [19:02:18]Write i2c OK [19:02:18]MH_I2C_Read... [19:02:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:02:18]Read from MH i2c: E2 [19:02:18]MH_I2C_Read... [19:02:18]Read from MH i2c: E2 62 00 [19:02:18]MH_I2C_Read... [19:02:18]Read from MH i2c: E2 62 00 05 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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 41 61 00 00 0E 04 04 00 C7 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 CA [19:02:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 41 61 00 00 0E 04 04 00 C7 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 [19:02:18]wFMCommunicate OK [19:02:18]SAM_PROTO_GetFieldsCounters done [19:02:18]requested_item shift.num is exist - process it [19:02:18]requested_item shift.opened is exist - process it [19:02:18]req_shift_opened [19:02:18]FM_GetShiftState [19:02:18]SAM_PROTO_GetShiftState [19:02:18]wFMCommunicate request_size=4 [19:02:18]MH_SAM_APDU [19:02:18]CAPDU: 80 13 01 00 [19:02:18]Write to MH i2c: E2 08 00 06 11 80 13 01 00 00 00 00 00 94 [19:02:18]Write i2c OK [19:02:18]MH_I2C_Read... [19:02:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:02:18]Read from MH i2c: E2 [19:02:18]MH_I2C_Read... [19:02:18]Read from MH i2c: E2 0E 00 [19:02:18]MH_I2C_Read... [19:02:18]Read from MH i2c: E2 0E 00 06 11 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 DA [19:02:18]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [19:02:18]wFMCommunicate OK [19:02:18]SAM_PROTO_GetShiftState done [19:02:18]FM_GetShiftState done [19:02:18]req_shift_opened done [19:02:18]requested_item shift.open_date is exist - process it [19:02:18]req_shift_open_date [19:02:18]req_shift_open_date done [19:02:18]produce_requested_data done [19:02:18]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24897,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [19:02:18]process_action_free close_receipt [19:02:18]json_value_free [19:02:18]json_value_free done [19:02:18]process_json_proto returns [19:02:18]Send response to host [19:02:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24897,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [19:02:18]free response buf [19:02:18]execute_script done [19:02:18]execute_script returns [19:02:18]free content buf [19:02:18]Sock 9.Close socket [19:02:18]Sock 9.Thread stoped [19:02:18]OFD Sender: No OFD packet to send [19:02:23]OFD Sender: No OFD packet to send [19:02:28]OFD Sender: No OFD packet to send [19:02:33]OFD Sender: No OFD packet to send [19:02:38]OFD Sender: No OFD packet to send [19:02:43]OFD Sender: No OFD packet to send [19:02:48]OFD Sender: No OFD packet to send [19:02:53]OFD Sender: No OFD packet to send [19:02:58]OFD Sender: No OFD packet to send [19:03:03]OFD Sender: No OFD packet to send [19:03:08]OFD Sender: No OFD packet to send [19:03:13]OFD Sender: No OFD packet to send [19:03:18]OFD Sender: No OFD packet to send [19:03:23]OFD Sender: No OFD packet to send [19:03:28]OFD Sender: No OFD packet to send [19:03:33]OFD Sender: No OFD packet to send [19:03:38]OFD Sender: No OFD packet to send [19:03:43]OFD Sender: No OFD packet to send [19:03:48]OFD Sender: No OFD packet to send [19:03:53]OFD Sender: No OFD packet to send [19:03:58]OFD Sender: No OFD packet to send [19:04:03]OFD Sender: No OFD packet to send [19:04:08]OFD Sender: No OFD packet to send [19:04:13]OFD Sender: No OFD packet to send [19:04:18]OFD Sender: No OFD packet to send [19:04:23]OFD Sender: No OFD packet to send [19:04:28]OFD Sender: No OFD packet to send [19:04:33]OFD Sender: No OFD packet to send [19:04:38]OFD Sender: No OFD packet to send [19:04:43]OFD Sender: No OFD packet to send [19:04:48]OFD Sender: No OFD packet to send [19:04:53]OFD Sender: No OFD packet to send [19:04:58]OFD Sender: No OFD packet to send [19:05:03]OFD Sender: No OFD packet to send [19:05:08]OFD Sender: No OFD packet to send [19:05:13]OFD Sender: No OFD packet to send [19:05:18]OFD Sender: No OFD packet to send [19:05:23]OFD Sender: No OFD packet to send [19:05:28]OFD Sender: No OFD packet to send [19:05:33]OFD Sender: No OFD packet to send [19:05:38]OFD Sender: No OFD packet to send [19:05:43]OFD Sender: No OFD packet to send [19:05:48]OFD Sender: No OFD packet to send [19:05:53]OFD Sender: No OFD packet to send [19:05:58]accept exits with 7 [19:05:58]New connection [19:05:58]New thread 3067166052 created [19:05:58]Thread 3067309412 joined [19:05:58]Waiting for new connection... [19:05:58] Sock 7.Parse request [19:05:58]Sock 7.Check first char [19:05:58]Sock 7.First char is OK [19:05:58]request: POST /json_proto HTTP/1.0 [19:05:58]Method: POST [19:05:58]URL: /json_proto [19:05:58]Method is POST - this is cgi request [19:05:58]url: /json_proto [19:05:58]query_string will be loaded in cgi processing [19:05:58]execute_cgi json_proto POST (null) [19:05:58]execute_cgi path=json_proto method=POST [19:05:58]POST find Content-Length [19:05:58]Host: 172.17.53.196:8080 [19:05:58]Content-Length: 909 [19:05:58]Content-Type: application/json [19:05:58] [19:05:58]POST finish read [19:05:58]Found Content-Length = 909 [19:05:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34658", "tax_sys" : 0, "items" : [ { "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:05:58]execute_script... [19:05: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)34658", "tax_sys" : 0, "items" : [ { "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:05:58]POST & json_proto [19:05:58]process_json_proto [19:05:58]json parsed OK: [19:05:58]protocol is kg_v1.0 [19:05:58]action value=close_receipt [19:05:58]process_action close_receipt [19:05:58]cmd_close_receipt [19:05:58]MH_GetDate [19:05:58]Write to MH i2c: F0 00 00 07 11 07 [19:05:58]Write i2c OK [19:05:58]MH_I2C_Read... [19:05:58]Read from MH i2c: F0 [19:05:58]MH_I2C_Read... [19:05:58]Read from MH i2c: F0 09 00 [19:05:58]MH_I2C_Read... [19:05:58]Read from MH i2c: F0 09 00 07 11 00 9A 54 15 67 4F CD 9A 65 95 [19:05:58]GetLastDocTimeStamp 1729450940 [19:05:58]current date 1729451162 [19:05:58]FM_GetShiftState [19:05:58]SAM_PROTO_GetShiftState [19:05:58]wFMCommunicate request_size=4 [19:05:58]MH_SAM_APDU [19:05:58]CAPDU: 80 13 01 00 [19:05:58]Write to MH i2c: E2 08 00 08 11 80 13 01 00 00 00 00 00 96 [19:05:58]Write i2c OK [19:05:58]MH_I2C_Read... [19:05:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:05:58]Read from MH i2c: E2 [19:05:58]MH_I2C_Read... [19:05:58]Read from MH i2c: E2 0E 00 [19:05:58]MH_I2C_Read... [19:05:58]Read from MH i2c: E2 0E 00 08 11 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 DC [19:05:58]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [19:05:58]wFMCommunicate OK [19:05:58]SAM_PROTO_GetShiftState done [19:05:58]FM_GetShiftState done [19:05:58]opened in 1729384049 [19:05:58]opened+sec_in_day 1729470449 [19:05:58]quantity*price = 9500 [19:05:58]sum+1 = 9501 [19:05:58]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 145.00 НСП 1% : 1.28 НДС 12% : 15.40 Наличными: 145.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 56 20.10.2024 19:06 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24898 ФПД: 126466349691336 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T190602&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24898&fm=126466349691336&tin=02508201610067®Number=0000000000098147&sum=14500 0 [19:05:59]StoreToDocumentArchive [19:05:59]shift 455 fd 24898 [19:05:59]save to /storage/0455/doc_00024898 [19:05:59]save last doc name /storage/0455/doc_00024898 to /storage/kkm_last_doc_name [19:05:59]save OK [19:05:59]Clear old archive folders... [19:05:59]ProcessDocumentItem done err = 0, tmpTLVsize=388 [19:05:59]tlvbuf is 00E0AD30 [19:05:59]SAM_PROTO_ClearQueue [19:05:59]wFMCommunicate request_size=4 [19:05:59]MH_SAM_APDU [19:05:59]CAPDU: 80 09 00 00 [19:05:59]Write to MH i2c: E2 08 00 15 11 80 09 00 00 00 00 00 00 98 [19:05:59]Write i2c OK [19:05:59]MH_I2C_Read... [19:05:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:05:59]Read from MH i2c: E2 [19:05:59]MH_I2C_Read... [19:05:59]Read from MH i2c: E2 03 00 [19:05:59]MH_I2C_Read... [19:05:59]Read from MH i2c: E2 03 00 15 11 00 90 00 9A [19:05:59]RAPDU: 90 00 [19:05:59]wFMCommunicate OK [19:05:59]SAM_PROTO_ClearQueue done [19:05:59]KKMCreateOFDPacket [19:05:59]OFDProtocolAddRootSTLVToBuf [19:05:59]FM_MakeSignedData [19:05:59]FM_MakeSignedData [19:05:59]SAM_PROTO_SignData [19:05:59]wFMCommunicate request_size=4 [19:05:59]MH_SAM_APDU [19:05:59]CAPDU: 80 0D 01 02 [19:05:59]Write to MH i2c: E2 08 00 16 11 80 0D 01 02 00 00 00 00 A0 [19:05:59]Write i2c OK [19:05:59]MH_I2C_Read... [19:05:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:05:59]Read from MH i2c: E2 [19:05:59]MH_I2C_Read... [19:05:59]Read from MH i2c: E2 03 00 [19:05:59]MH_I2C_Read... [19:05:59]Read from MH i2c: E2 03 00 16 11 00 90 00 9B [19:05:59]RAPDU: 90 00 [19:05:59]wFMCommunicate OK [19:05:59]wFMCommunicate request_size=255 [19:05:59]MH_SAM_APDU [19:05:59]CAPDU: 80 0D 02 02 FA 03 00 84 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 [19:05:59]Write to MH i2c: E2 02 01 17 11 80 0D 02 02 FA 00 03 00 84 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 00 00 8E [19:05:59]Write i2c OK [19:05:59]MH_I2C_Read... [19:05:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:05:59]Read from MH i2c: E2 [19:05:59]MH_I2C_Read... [19:05:59]Read from MH i2c: E2 03 00 [19:05:59]MH_I2C_Read... [19:05:59]Read from MH i2c: E2 03 00 17 11 00 90 00 9C [19:05:59]RAPDU: 90 00 [19:05:59]wFMCommunicate OK [19:05:59]wFMCommunicate request_size=147 [19:05:59]MH_SAM_APDU [19:05:59]CAPDU: 80 0D 02 02 8E F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 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 38 00 00 00 F4 03 04 00 9A 54 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 42 61 00 00 35 04 06 00 73 05 3D D9 71 C8 [19:05:59]Write to MH i2c: E2 96 00 18 11 80 0D 02 02 8E 00 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 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 38 00 00 00 F4 03 04 00 9A 54 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 42 61 00 00 35 04 06 00 73 05 3D D9 71 C8 00 00 2E [19:05:59]Write i2c OK [19:05:59]MH_I2C_Read... [19:06:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:06:00]Read from MH i2c: E2 [19:06:00]MH_I2C_Read... [19:06:00]Read from MH i2c: E2 03 00 [19:06:00]MH_I2C_Read... [19:06:00]Read from MH i2c: E2 03 00 18 11 00 90 00 9D [19:06:00]RAPDU: 90 00 [19:06:00]wFMCommunicate OK [19:06:00]wFMCommunicate request_size=4 [19:06:00]MH_SAM_APDU [19:06:00]CAPDU: 80 0D 03 02 [19:06:00]Write to MH i2c: E2 08 00 19 11 80 0D 03 02 00 00 00 00 A5 [19:06:00]Write i2c OK [19:06:00]MH_I2C_Read... [19:06:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:06:00]Read from MH i2c: E2 [19:06:00]MH_I2C_Read... [19:06:00]Read from MH i2c: E2 0B 00 [19:06:00]MH_I2C_Read... [19:06:00]Read from MH i2c: E2 0B 00 19 11 00 8F F1 7F 7B 98 D6 F0 84 90 00 02 [19:06:00]RAPDU: 8F F1 7F 7B 98 D6 F0 84 90 00 [19:06:00]wFMCommunicate OK [19:06:00]SAM_PROTO_SignData done [19:06:00]FM_MakeSignedData done [19:06:00]CreateOFDProtocolMessage [19:06:00]wFMCommunicate request_size=4 [19:06:00]MH_SAM_APDU [19:06:00]CAPDU: 80 11 00 00 [19:06:00]Write to MH i2c: E2 08 00 1A 11 80 11 00 00 00 00 00 00 A5 [19:06:00]Write i2c OK [19:06:00]MH_I2C_Read... [19:06:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:06:00]Read from MH i2c: E2 [19:06:00]MH_I2C_Read... [19:06:00]Read from MH i2c: E2 17 00 [19:06:00]MH_I2C_Read... [19:06:00]Read from MH i2c: E2 17 00 1A 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 FC [19:06:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [19:06:00]wFMCommunicate OK [19:06:00]CreateOFDProtocolMessage done [19:06:00]OFDSenderStorePacket 24898 [19:06:00]StoreOFDPacket docnum=24898 [19:06:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 98 01 00 00 27 47 90 01 08 17 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 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 38 00 00 00 F4 03 04 00 9A 54 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 42 61 00 00 35 04 06 00 73 05 3D D9 71 C8 8F F1 7F 7B 98 D6 F0 84 [19:06:00]CheckFolder [19:06:00]dirname=/storage/ofd_packets [19:06:00]CheckFolder done [19:06:00]ProducePacketName [19:06:00]name=ofd_packets/00024898 [19:06:00]NVStorageSaveData ofd_packets/00024898 [19:06:00]File name is /storage/ofd_packets/00024898 [19:06:00]Write 438 bytes [19:06:00]NVStorageSaveData done [19:06:00]OFDSenderStorePacket done [19:06:00]KKMCreateOFDPacket done [19:06:00]NVStorageSaveData kkm_last_timestamp [19:06:00]File name is /storage/kkm_last_timestamp [19:06:00]Write 4 bytes [19:06:00]NVStorageSaveData done [19:06:00]ExternCall_PrintAddStr [19:06:00]wPrintStart [19:06:00]Write to MH i2c: 01 00 00 1B 11 2C [19:06:00]Write i2c OK [19:06:00]MH_I2C_Read... [19:06:00]Read from MH i2c: 01 [19:06:00]MH_I2C_Read... [19:06:00]Read from MH i2c: 01 07 00 [19:06:00]MH_I2C_Read... [19:06:00]Read from MH i2c: 01 07 00 1B 11 00 00 00 00 00 FF 0F 41 [19:06:00]RasterBufferAndPrint [19:06:00]line Счет N : (3)34658 [19:06:00]line ИНН: 02508201610067 [19:06:00]line Контрольно-Кассовый Чек [19:06:00]line ПРОДАЖА [19:06:00]line Товар: 5449000176431 [19:06:00]line Сок Piko Pulpy апельсин ПЭТ 0,5л [19:06:00]line 1.000 * 95.00 [19:06:00]line = 95.00 [19:06:00]line НДС 12% НСП 1% [19:06:00]line > о реализуемом товаре [19:06:00]line Товар: 4700000160358 [19:06:00]line Вода Легенда 1л [19:06:00]line 1.000 * 50.00 [19:06:00]line = 50.00 [19:06:00]line НДС 12% НСП 1% [19:06:00]line > о реализуемом товаре [19:06:00]line ИТОГО: 145.00 [19:06:00]line НСП 1% : 1.28 [19:06:00]line НДС 12% : 15.40 [19:06:00]line Наличными: 145.00 [19:06:00]line Безнал.: 0.00 [19:06:00]line Место: АЗС № 161 "Партнер Нефть" [19:06:00]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [19:06:00]line СНО: Общий режим [19:06:00]line Чек 56 20.10.2024 19:06 [19:06:00]line Смена: 455 ФФД: 1.0 [19:06:00]line ЗНМ: 0300000240 [19:06:00]line РНМ: 0000000000098147 [19:06:00]line Версия ККМ: 001 [19:06:00]line ФМ: 0000000000965376 [19:06:00]line ФД: 24898 [19:06:00]line ФПД: 126466349691336 [19:06:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T190602&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24898&fm=126466349691336&tin=02508201610067®Number=0000000000098147&sum=14500 [19:06:00]line 0 [19:06:00]OFD Sender: Processing packet 24898 [packets to send 5, broken 4] [19:06:00]ProducePacketName [19:06:00]name=ofd_packets/00024898 [19:06:00]OFD Sender: To server: pG, [19:06:00]CommunicateWithHost lk.salyk.kg:30040 [19:06:00]ConnectInit lk.salyk.kg [19:06:00]written 0, free lines is 4095 [19:06:00]Write to MH i2c: 01 00 00 4A 11 5B [19:06:00]Write i2c OK [19:06:00]MH_I2C_Read... [19:06:00]Read from MH i2c: 01 [19:06:00]MH_I2C_Read... [19:06:00]Read from MH i2c: 01 07 00 [19:06:00]MH_I2C_Read... [19:06:00]Read from MH i2c: 01 07 00 4A 11 00 00 00 00 00 70 0C DE [19:06:00]RasterBufferAndPrint [19:06:00]line [19:06:00]line [19:06:00]line [19:06:00]line [19:06:00]line [19:06:00]written 0, free lines is 3190 [19:06:00]process_action close_receipt done [19:06:00]requested_data is exist [19:06:00]produce_requested_data [19:06:00]requested_item fm.sn is exist - process it [19:06:00]wFMCommunicate request_size=4 [19:06:00]MH_SAM_APDU [19:06:00]CAPDU: 80 11 00 00 [19:06:00]Write to MH i2c: E2 08 00 51 11 80 11 00 00 00 00 00 00 DC [19:06:00]Write i2c OK [19:06:00]MH_I2C_Read... [19:06:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:06:01]Read from MH i2c: E2 [19:06:01]MH_I2C_Read... [19:06:01]Read from MH i2c: E2 17 00 [19:06:01]MH_I2C_Read... [19:06:01]Read from MH i2c: E2 17 00 51 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 33 [19:06:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [19:06:01]wFMCommunicate OK [19:06:01]requested_item fd.num is exist - process it [19:06:01]SAM_PROTO_GetFieldsCounters [19:06:01]wFMCommunicate request_size=4 [19:06:01]MH_SAM_APDU [19:06:01]CAPDU: 80 13 00 00 [19:06:01]Write to MH i2c: E2 08 00 52 11 80 13 00 00 00 00 00 00 DF [19:06:01]Write i2c OK [19:06:01]MH_I2C_Read... [19:06:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:06:01]Read from MH i2c: E2 [19:06:01]MH_I2C_Read... [19:06:01]Read from MH i2c: E2 62 00 [19:06:01]MH_I2C_Read... [19:06:01]Read from MH i2c: E2 62 00 52 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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 42 61 00 00 0E 04 04 00 C7 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 1B [19:06:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 42 61 00 00 0E 04 04 00 C7 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 [19:06:01]wFMCommunicate OK [19:06:01]SAM_PROTO_GetFieldsCounters done [19:06:01]requested_item shift.num is exist - process it [19:06:01]requested_item shift.opened is exist - process it [19:06:01]req_shift_opened [19:06:01]FM_GetShiftState [19:06:01]SAM_PROTO_GetShiftState [19:06:01]wFMCommunicate request_size=4 [19:06:01]MH_SAM_APDU [19:06:01]CAPDU: 80 13 01 00 [19:06:01]Write to MH i2c: E2 08 00 53 11 80 13 01 00 00 00 00 00 E1 [19:06:01]Write i2c OK [19:06:01]MH_I2C_Read... [19:06:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:06:01]Read from MH i2c: E2 [19:06:01]MH_I2C_Read... [19:06:01]Read from MH i2c: E2 0E 00 [19:06:01]MH_I2C_Read... [19:06:01]Read from MH i2c: E2 0E 00 53 11 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 27 [19:06:01]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [19:06:01]wFMCommunicate OK [19:06:01]SAM_PROTO_GetShiftState done [19:06:01]FM_GetShiftState done [19:06:01]req_shift_opened done [19:06:01]requested_item shift.open_date is exist - process it [19:06:01]req_shift_open_date [19:06:01]req_shift_open_date done [19:06:01]produce_requested_data done [19:06:01]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24898,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [19:06:01]process_action_free close_receipt [19:06:01]json_value_free [19:06:01]json_value_free done [19:06:01]process_json_proto returns [19:06:01]Send response to host [19:06:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24898,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [19:06:01]free response buf [19:06:01]execute_script done [19:06:01]execute_script returns [19:06:01]free content buf [19:06:01]Sock 7.Close socket [19:06:01]Sock 7.Thread stoped [19:08:09]accept exits with 9 [19:08:09]New connection [19:08:09]New thread 3067309412 created [19:08:09]Thread 3067166052 joined [19:08:09]Waiting for new connection... [19:08:09] Sock 9.Parse request [19:08:09]Sock 9.Check first char [19:08:09]Sock 9.First char is OK [19:08:09]request: POST /json_proto HTTP/1.0 [19:08:09]Method: POST [19:08:09]URL: /json_proto [19:08:09]Method is POST - this is cgi request [19:08:09]url: /json_proto [19:08:09]query_string will be loaded in cgi processing [19:08:09]execute_cgi json_proto POST (null) [19:08:09]execute_cgi path=json_proto method=POST [19:08:09]POST find Content-Length [19:08:09]Host: 172.17.53.196:8080 [19:08:09]Content-Length: 620 [19:08:09]Content-Type: application/json [19:08:09] [19:08:09]POST finish read [19:08:09]Found Content-Length = 620 [19:08:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34659", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:08:09]execute_script... [19:08: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)34659", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:08:09]POST & json_proto [19:08:09]process_json_proto [19:08:09]json parsed OK: [19:08:09]protocol is kg_v1.0 [19:08:09]action value=close_receipt [19:08:09]process_action close_receipt [19:08:09]cmd_close_receipt [19:08:09]MH_GetDate [19:08:09]Write to MH i2c: F0 00 00 54 11 54 [19:08:09]Write i2c OK [19:08:09]MH_I2C_Read... [19:08:09]Read from MH i2c: F0 [19:08:09]MH_I2C_Read... [19:08:09]Read from MH i2c: F0 09 00 [19:08:09]MH_I2C_Read... [19:08:09]Read from MH i2c: F0 09 00 54 11 00 1D 55 15 67 4F CD 9A 65 66 [19:08:09]GetLastDocTimeStamp 1729451162 [19:08:09]current date 1729451293 [19:08:09]FM_GetShiftState [19:08:09]SAM_PROTO_GetShiftState [19:08:09]wFMCommunicate request_size=4 [19:08:09]MH_SAM_APDU [19:08:09]CAPDU: 80 13 01 00 [19:08:09]Write to MH i2c: E2 08 00 55 11 80 13 01 00 00 00 00 00 E3 [19:08:09]Write i2c OK [19:08:09]MH_I2C_Read... [19:08:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:08:09]Read from MH i2c: E2 [19:08:09]MH_I2C_Read... [19:08:09]Read from MH i2c: E2 0E 00 [19:08:09]MH_I2C_Read... [19:08:09]Read from MH i2c: E2 0E 00 55 11 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 29 [19:08:09]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [19:08:09]wFMCommunicate OK [19:08:09]SAM_PROTO_GetShiftState done [19:08:09]FM_GetShiftState done [19:08:09]opened in 1729384049 [19:08:09]opened+sec_in_day 1729470449 [19:08:09]quantity*price = 14400 [19:08:09]sum+1 = 14401 [19:08:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 57 20.10.2024 19:08 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24899 ФПД: 248067963955005 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T190813&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24899&fm=248067963955005&tin=02508201610067®Number=0000000000098147&sum=14400 0 [19:08:10]StoreToDocumentArchive [19:08:10]shift 455 fd 24899 [19:08:10]save to /storage/0455/doc_00024899 [19:08:10]save last doc name /storage/0455/doc_00024899 to /storage/kkm_last_doc_name [19:08:10]save OK [19:08:10]Clear old archive folders... [19:08:10]ProcessDocumentItem done err = 0, tmpTLVsize=273 [19:08:10]tlvbuf is 00DDCB80 [19:08:10]SAM_PROTO_ClearQueue [19:08:10]wFMCommunicate request_size=4 [19:08:10]MH_SAM_APDU [19:08:10]CAPDU: 80 09 00 00 [19:08:10]Write to MH i2c: E2 08 00 62 11 80 09 00 00 00 00 00 00 E5 [19:08:10]Write i2c OK [19:08:10]MH_I2C_Read... [19:08:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:08:10]Read from MH i2c: E2 [19:08:10]MH_I2C_Read... [19:08:10]Read from MH i2c: E2 03 00 [19:08:10]MH_I2C_Read... [19:08:10]Read from MH i2c: E2 03 00 62 11 00 90 00 E7 [19:08:10]RAPDU: 90 00 [19:08:10]wFMCommunicate OK [19:08:10]SAM_PROTO_ClearQueue done [19:08:10]KKMCreateOFDPacket [19:08:10]OFDProtocolAddRootSTLVToBuf [19:08:10]FM_MakeSignedData [19:08:10]FM_MakeSignedData [19:08:10]SAM_PROTO_SignData [19:08:10]wFMCommunicate request_size=4 [19:08:10]MH_SAM_APDU [19:08:10]CAPDU: 80 0D 01 02 [19:08:10]Write to MH i2c: E2 08 00 63 11 80 0D 01 02 00 00 00 00 ED [19:08:10]Write i2c OK [19:08:10]MH_I2C_Read... [19:08:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:08:10]Read from MH i2c: E2 [19:08:10]MH_I2C_Read... [19:08:10]Read from MH i2c: E2 03 00 [19:08:10]MH_I2C_Read... [19:08:10]Read from MH i2c: E2 03 00 63 11 00 90 00 E8 [19:08:10]RAPDU: 90 00 [19:08:10]wFMCommunicate OK [19:08:10]wFMCommunicate request_size=255 [19:08:10]MH_SAM_APDU [19:08:10]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 1D 55 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 [19:08:10]Write to MH i2c: E2 02 01 64 11 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 1D 55 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 00 00 36 [19:08:10]Write i2c OK [19:08:10]MH_I2C_Read... [19:08:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:08:10]Read from MH i2c: E2 [19:08:10]MH_I2C_Read... [19:08:10]Read from MH i2c: E2 03 00 [19:08:10]MH_I2C_Read... [19:08:10]Read from MH i2c: E2 03 00 64 11 00 90 00 E9 [19:08:10]RAPDU: 90 00 [19:08:10]wFMCommunicate OK [19:08:10]wFMCommunicate request_size=32 [19:08:10]MH_SAM_APDU [19:08:10]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 36 10 04 04 00 43 61 00 00 35 04 06 00 E1 9D D2 DF 27 3D [19:08:10]Write to MH i2c: E2 23 00 65 11 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 36 10 04 04 00 43 61 00 00 35 04 06 00 E1 9D D2 DF 27 3D 00 00 88 [19:08:10]Write i2c OK [19:08:10]MH_I2C_Read... [19:08:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:08:10]Read from MH i2c: E2 [19:08:10]MH_I2C_Read... [19:08:10]Read from MH i2c: E2 03 00 [19:08:10]MH_I2C_Read... [19:08:10]Read from MH i2c: E2 03 00 65 11 00 90 00 EA [19:08:10]RAPDU: 90 00 [19:08:10]wFMCommunicate OK [19:08:10]wFMCommunicate request_size=4 [19:08:10]MH_SAM_APDU [19:08:10]CAPDU: 80 0D 03 02 [19:08:10]Write to MH i2c: E2 08 00 66 11 80 0D 03 02 00 00 00 00 F2 [19:08:10]Write i2c OK [19:08:10]MH_I2C_Read... [19:08:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:08:10]Read from MH i2c: E2 [19:08:10]MH_I2C_Read... [19:08:10]Read from MH i2c: E2 0B 00 [19:08:10]MH_I2C_Read... [19:08:10]Read from MH i2c: E2 0B 00 66 11 00 B7 58 3A E8 6C 85 79 C4 90 00 52 [19:08:10]RAPDU: B7 58 3A E8 6C 85 79 C4 90 00 [19:08:10]wFMCommunicate OK [19:08:10]SAM_PROTO_SignData done [19:08:10]FM_MakeSignedData done [19:08:10]CreateOFDProtocolMessage [19:08:10]wFMCommunicate request_size=4 [19:08:10]MH_SAM_APDU [19:08:10]CAPDU: 80 11 00 00 [19:08:10]Write to MH i2c: E2 08 00 67 11 80 11 00 00 00 00 00 00 F2 [19:08:10]Write i2c OK [19:08:10]MH_I2C_Read... [19:08:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:08:10]Read from MH i2c: E2 [19:08:10]MH_I2C_Read... [19:08:10]Read from MH i2c: E2 17 00 [19:08:10]MH_I2C_Read... [19:08:10]Read from MH i2c: E2 17 00 67 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 49 [19:08:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [19:08:10]wFMCommunicate OK [19:08:10]CreateOFDProtocolMessage done [19:08:10]OFDSenderStorePacket 24899 [19:08:10]StoreOFDPacket docnum=24899 [19:08:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 CF A3 1D 01 B6 1D 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 1D 55 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 43 61 00 00 35 04 06 00 E1 9D D2 DF 27 3D B7 58 3A E8 6C 85 79 C4 [19:08:10]CheckFolder [19:08:10]dirname=/storage/ofd_packets [19:08:10]CheckFolder done [19:08:10]ProducePacketName [19:08:10]name=ofd_packets/00024899 [19:08:10]NVStorageSaveData ofd_packets/00024899 [19:08:10]File name is /storage/ofd_packets/00024899 [19:08:10]Write 323 bytes [19:08:10]NVStorageSaveData done [19:08:10]OFDSenderStorePacket done [19:08:10]KKMCreateOFDPacket done [19:08:10]NVStorageSaveData kkm_last_timestamp [19:08:10]File name is /storage/kkm_last_timestamp [19:08:10]Write 4 bytes [19:08:10]NVStorageSaveData done [19:08:10]ExternCall_PrintAddStr [19:08:10]wPrintStart [19:08:10]Write to MH i2c: 01 00 00 68 11 79 [19:08:10]Write i2c OK [19:08:10]MH_I2C_Read... [19:08:10]Read from MH i2c: 01 [19:08:10]MH_I2C_Read... [19:08:10]Read from MH i2c: 01 07 00 [19:08:10]MH_I2C_Read... [19:08:10]Read from MH i2c: 01 07 00 68 11 00 00 00 00 00 FF 0F 8E [19:08:10]RasterBufferAndPrint [19:08:10]line Счет N : (3)34659 [19:08:10]line ИНН: 02508201610067 [19:08:10]line Контрольно-Кассовый Чек [19:08:10]line ПРОДАЖА [19:08:10]line Товар: 48747059 [19:08:10]line Сигареты Winston Legend Blue [19:08:10]line 1.000 * 144.00 [19:08:10]line = 144.00 [19:08:10]line НДС 12% НСП 1% [19:08:10]line > о реализуемом товаре [19:08:10]line ИТОГО: 144.00 [19:08:10]line НСП 1% : 1.27 [19:08:10]line НДС 12% : 15.29 [19:08:10]line Наличными: 144.00 [19:08:10]line Безнал.: 0.00 [19:08:10]line Место: АЗС № 161 "Партнер Нефть" [19:08:10]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [19:08:10]line СНО: Общий режим [19:08:10]line Чек 57 20.10.2024 19:08 [19:08:10]line Смена: 455 ФФД: 1.0 [19:08:10]line ЗНМ: 0300000240 [19:08:10]line РНМ: 0000000000098147 [19:08:10]line Версия ККМ: 001 [19:08:10]line ФМ: 0000000000965376 [19:08:10]line ФД: 24899 [19:08:10]line ФПД: 248067963955005 [19:08:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T190813&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24899&fm=248067963955005&tin=02508201610067®Number=0000000000098147&sum=14400 [19:08:11]line 0 [19:08:11]written 0, free lines is 4095 [19:08:11]Write to MH i2c: 01 00 00 91 11 A2 [19:08:11]Write i2c OK [19:08:11]MH_I2C_Read... [19:08:11]Read from MH i2c: 01 [19:08:11]MH_I2C_Read... [19:08:11]Read from MH i2c: 01 07 00 [19:08:11]MH_I2C_Read... [19:08:11]Read from MH i2c: 01 07 00 91 11 00 00 00 00 00 BE 0C 73 [19:08:11]RasterBufferAndPrint [19:08:11]line [19:08:11]line [19:08:11]line [19:08:11]line [19:08:11]line [19:08:11]written 0, free lines is 3268 [19:08:11]process_action close_receipt done [19:08:11]requested_data is exist [19:08:11]produce_requested_data [19:08:11]requested_item fm.sn is exist - process it [19:08:11]wFMCommunicate request_size=4 [19:08:11]MH_SAM_APDU [19:08:11]CAPDU: 80 11 00 00 [19:08:11]Write to MH i2c: E2 08 00 98 11 80 11 00 00 00 00 00 00 23 [19:08:11]Write i2c OK [19:08:11]MH_I2C_Read... [19:08:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:08:11]Read from MH i2c: E2 [19:08:11]MH_I2C_Read... [19:08:11]Read from MH i2c: E2 17 00 [19:08:11]MH_I2C_Read... [19:08:11]Read from MH i2c: E2 17 00 98 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 7A [19:08:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [19:08:11]wFMCommunicate OK [19:08:11]requested_item fd.num is exist - process it [19:08:11]SAM_PROTO_GetFieldsCounters [19:08:11]wFMCommunicate request_size=4 [19:08:11]MH_SAM_APDU [19:08:11]CAPDU: 80 13 00 00 [19:08:11]Write to MH i2c: E2 08 00 99 11 80 13 00 00 00 00 00 00 26 [19:08:11]Write i2c OK [19:08:11]MH_I2C_Read... [19:08:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:08:11]Read from MH i2c: E2 [19:08:11]MH_I2C_Read... [19:08:11]Read from MH i2c: E2 62 00 [19:08:11]MH_I2C_Read... [19:08:11]Read from MH i2c: E2 62 00 99 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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 43 61 00 00 0E 04 04 00 C7 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 66 [19:08:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 43 61 00 00 0E 04 04 00 C7 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 [19:08:11]wFMCommunicate OK [19:08:11]SAM_PROTO_GetFieldsCounters done [19:08:11]requested_item shift.num is exist - process it [19:08:11]requested_item shift.opened is exist - process it [19:08:11]req_shift_opened [19:08:11]FM_GetShiftState [19:08:11]SAM_PROTO_GetShiftState [19:08:11]wFMCommunicate request_size=4 [19:08:11]MH_SAM_APDU [19:08:11]CAPDU: 80 13 01 00 [19:08:11]Write to MH i2c: E2 08 00 9A 11 80 13 01 00 00 00 00 00 28 [19:08:11]Write i2c OK [19:08:11]MH_I2C_Read... [19:08:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:08:11]Read from MH i2c: E2 [19:08:11]MH_I2C_Read... [19:08:11]Read from MH i2c: E2 0E 00 [19:08:11]MH_I2C_Read... [19:08:11]Read from MH i2c: E2 0E 00 9A 11 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 6E [19:08:11]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [19:08:11]wFMCommunicate OK [19:08:11]SAM_PROTO_GetShiftState done [19:08:11]FM_GetShiftState done [19:08:11]req_shift_opened done [19:08:11]requested_item shift.open_date is exist - process it [19:08:11]req_shift_open_date [19:08:11]req_shift_open_date done [19:08:11]produce_requested_data done [19:08:11]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24899,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [19:08:11]process_action_free close_receipt [19:08:11]json_value_free [19:08:11]json_value_free done [19:08:11]process_json_proto returns [19:08:11]Send response to host [19:08:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24899,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [19:08:11]free response buf [19:08:11]execute_script done [19:08:11]execute_script returns [19:08:11]free content buf [19:08:11]Sock 9.Close socket [19:08:11]Sock 9.Thread stoped [19:08:13]ConnectInit Can't connect to host [19:08:13]CommunicateWithHost connect error [19:08:13]CommunicateWithHost err = -1 [19:08:13]OFD Sender: Server communicate error [19:08:13]OFD Sender: Processing packet 24898 [packets to send 6, broken 4] [19:08:13]ProducePacketName [19:08:13]name=ofd_packets/00024898 [19:08:13]OFD Sender: To server: pG, [19:08:13]CommunicateWithHost lk.salyk.kg:30040 [19:08:13]ConnectInit lk.salyk.kg [19:08:13]Connected sock=9 [19:08:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 98 01 00 00 27 47 90 01 08 17 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 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 38 00 00 00 F4 03 04 00 9A 54 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 42 61 00 00 35 04 06 00 73 05 3D D9 71 C8 8F F1 7F 7B 98 D6 F0 84 [19:08:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 10 41 47 00 04 23 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 42 61 00 00 F4 03 04 00 9F FD 14 67 B6 04 01 00 00 66 6E E0 B8 23 E9 AF 0A [19:08:14]CommunicateWithHost err = 0 [19:08:14]CheckOFDResponse [19:08:14]1017 (14) - 77093643461234 [19:08:14]1041 (16) - 0000000000965376 [19:08:14]1040 (4) - 24898 [19:08:14]1012 (4) - 20.10.2024 12:54 [19:08:14]1206 (1) - 0 [19:08:14]OFD Sender: Remove packet 24898 [19:08:14]ProducePacketName [19:08:14]name=ofd_packets/00024898 [19:08:14]NVStorageDeleteData [19:08:14]OFD Sender: Processing packet 24899 [packets to send 5, broken 4] [19:08:14]ProducePacketName [19:08:14]name=ofd_packets/00024899 [19:08:14]OFD Sender: To server: pG, [19:08:14]CommunicateWithHost lk.salyk.kg:30040 [19:08:14]ConnectInit lk.salyk.kg [19:08:14]Connected sock=9 [19:08:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 CF A3 1D 01 B6 1D 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 1D 55 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 43 61 00 00 35 04 06 00 E1 9D D2 DF 27 3D B7 58 3A E8 6C 85 79 C4 [19:08:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 14 A8 47 00 32 87 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 43 61 00 00 F4 03 04 00 A0 FD 14 67 B6 04 01 00 00 64 72 04 22 52 C0 AE F6 [19:08:14]CommunicateWithHost err = 0 [19:08:14]CheckOFDResponse [19:08:14]1017 (14) - 77093643461234 [19:08:14]1041 (16) - 0000000000965376 [19:08:14]1040 (4) - 24899 [19:08:14]1012 (4) - 20.10.2024 12:54 [19:08:14]1206 (1) - 0 [19:08:14]OFD Sender: Remove packet 24899 [19:08:15]ProducePacketName [19:08:15]name=ofd_packets/00024899 [19:08:15]NVStorageDeleteData [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:40]OFD Sender: No OFD packet to send [19:17:45]OFD Sender: No OFD packet to send [19:17:50]OFD Sender: No OFD packet to send [19:17:55]OFD Sender: No OFD packet to send [19:18:00]OFD Sender: No OFD packet to send [19:18:05]OFD Sender: No OFD packet to send [19:18:10]OFD Sender: No OFD packet to send [19:18:15]OFD Sender: No OFD packet to send [19:18:20]OFD Sender: No OFD packet to send [19:18:25]OFD Sender: No OFD packet to send [19:18:30]OFD Sender: No OFD packet to send [19:18:35]OFD Sender: No OFD packet to send [19:18:40]OFD Sender: No OFD packet to send [19:18:45]OFD Sender: No OFD packet to send [19:18:50]OFD Sender: No OFD packet to send [19:18:55]OFD Sender: No OFD packet to send [19:19:00]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:56]OFD Sender: No OFD packet to send [19:34:01]OFD Sender: No OFD packet to send [19:34:06]OFD Sender: No OFD packet to send [19:34:11]OFD Sender: No OFD packet to send [19:34:16]OFD Sender: No OFD packet to send [19:34:21]OFD Sender: No OFD packet to send [19:34:26]OFD Sender: No OFD packet to send [19:34:31]OFD Sender: No OFD packet to send [19:34:36]OFD Sender: No OFD packet to send [19:34:41]OFD Sender: No OFD packet to send [19:34:46]OFD Sender: No OFD packet to send [19:34:51]OFD Sender: No OFD packet to send [19:34:56]OFD Sender: No OFD packet to send [19:35:01]OFD Sender: No OFD packet to send [19:35:06]OFD Sender: No OFD packet to send [19:35:11]OFD Sender: No OFD packet to send [19:35:16]OFD Sender: No OFD packet to send [19:35:21]OFD Sender: No OFD packet to send [19:35:26]OFD Sender: No OFD packet to send [19:35:31]OFD Sender: No OFD packet to send [19:35:36]OFD Sender: No OFD packet to send [19:35:41]OFD Sender: No OFD packet to send [19:35:46]OFD Sender: No OFD packet to send [19:35:51]OFD Sender: No OFD packet to send [19:35:56]OFD Sender: No OFD packet to send [19:36:01]OFD Sender: No OFD packet to send [19:36:06]OFD Sender: No OFD packet to send [19:36:11]OFD Sender: No OFD packet to send [19:36:16]OFD Sender: No OFD packet to send [19:36:21]OFD Sender: No OFD packet to send [19:36:26]OFD Sender: No OFD packet to send [19:36:31]OFD Sender: No OFD packet to send [19:36:36]OFD Sender: No OFD packet to send [19:36:41]OFD Sender: No OFD packet to send [19:36:46]OFD Sender: No OFD packet to send [19:36:51]OFD Sender: No OFD packet to send [19:36:56]OFD Sender: No OFD packet to send [19:37:01]OFD Sender: No OFD packet to send [19:37:06]OFD Sender: No OFD packet to send [19:37:11]OFD Sender: No OFD packet to send [19:37:16]OFD Sender: No OFD packet to send [19:37:21]OFD Sender: No OFD packet to send [19:37:26]OFD Sender: No OFD packet to send [19:37:31]OFD Sender: No OFD packet to send [19:37:36]OFD Sender: No OFD packet to send [19:37:41]OFD Sender: No OFD packet to send [19:37:46]OFD Sender: No OFD packet to send [19:37:51]OFD Sender: No OFD packet to send [19:37:56]OFD Sender: No OFD packet to send [19:38:01]OFD Sender: No OFD packet to send [19:38:06]OFD Sender: No OFD packet to send [19:38:11]OFD Sender: No OFD packet to send [19:38:16]OFD Sender: No OFD packet to send [19:38:21]OFD Sender: No OFD packet to send [19:38:26]OFD Sender: No OFD packet to send [19:38:31]OFD Sender: No OFD packet to send [19:38:36]OFD Sender: No OFD packet to send [19:38:41]OFD Sender: No OFD packet to send [19:38:46]OFD Sender: No OFD packet to send [19:38:51]OFD Sender: No OFD packet to send [19:38:56]OFD Sender: No OFD packet to send [19:39:01]OFD Sender: No OFD packet to send [19:39:06]OFD Sender: No OFD packet to send [19:39:11]OFD Sender: No OFD packet to send [19:39:16]OFD Sender: No OFD packet to send [19:39:21]OFD Sender: No OFD packet to send [19:39:26]OFD Sender: No OFD packet to send [19:39:31]OFD Sender: No OFD packet to send [19:39:36]OFD Sender: No OFD packet to send [19:39:41]OFD Sender: No OFD packet to send [19:39:46]OFD Sender: No OFD packet to send [19:39:51]OFD Sender: No OFD packet to send [19:39:56]OFD Sender: No OFD packet to send [19:40:01]OFD Sender: No OFD packet to send [19:40:06]OFD Sender: No OFD packet to send [19:40:11]OFD Sender: No OFD packet to send [19:40:16]OFD Sender: No OFD packet to send [19:40:21]OFD Sender: No OFD packet to send [19:40:26]OFD Sender: No OFD packet to send [19:40:32]OFD Sender: No OFD packet to send [19:40:37]OFD Sender: No OFD packet to send [19:40:42]OFD Sender: No OFD packet to send [19:40:47]OFD Sender: No OFD packet to send [19:40:52]OFD Sender: No OFD packet to send [19:40:57]OFD Sender: No OFD packet to send [19:41:02]OFD Sender: No OFD packet to send [19:41:07]OFD Sender: No OFD packet to send [19:41:12]OFD Sender: No OFD packet to send [19:41:17]OFD Sender: No OFD packet to send [19:41:22]OFD Sender: No OFD packet to send [19:41:27]OFD Sender: No OFD packet to send [19:41:32]OFD Sender: No OFD packet to send [19:41:37]OFD Sender: No OFD packet to send [19:41:42]OFD Sender: No OFD packet to send [19:41:47]OFD Sender: No OFD packet to send [19:41:52]OFD Sender: No OFD packet to send [19:41:57]OFD Sender: No OFD packet to send [19:42:02]OFD Sender: No OFD packet to send [19:42:07]OFD Sender: No OFD packet to send [19:42:12]OFD Sender: No OFD packet to send [19:42:17]OFD Sender: No OFD packet to send [19:42:22]OFD Sender: No OFD packet to send [19:42:23]accept exits with 7 [19:42:23]New connection [19:42:23]New thread 3067166052 created [19:42:23]Thread 3067309412 joined [19:42:23]Waiting for new connection... [19:42:23] Sock 7.Parse request [19:42:23]Sock 7.Check first char [19:42:23]Sock 7.First char is OK [19:42:23]request: POST /json_proto HTTP/1.0 [19:42:23]Method: POST [19:42:23]URL: /json_proto [19:42:23]Method is POST - this is cgi request [19:42:23]url: /json_proto [19:42:23]query_string will be loaded in cgi processing [19:42:23]execute_cgi json_proto POST (null) [19:42:23]execute_cgi path=json_proto method=POST [19:42:23]POST find Content-Length [19:42:23]Host: 172.17.53.196:8080 [19:42:23]Content-Length: 859 [19:42:23]Content-Type: application/json [19:42:23] [19:42:23]POST finish read [19:42:23]Found Content-Length = 859 [19:42:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34660", "tax_sys" : 0, "items" : [ { "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:42:23]execute_script... [19: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 : (3)34660", "tax_sys" : 0, "items" : [ { "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:42:23]POST & json_proto [19:42:23]process_json_proto [19:42:23]json parsed OK: [19:42:23]protocol is kg_v1.0 [19:42:23]action value=close_receipt [19:42:23]process_action close_receipt [19:42:23]cmd_close_receipt [19:42:23]MH_GetDate [19:42:23]Write to MH i2c: F0 00 00 9B 11 9B [19:42:23]Write i2c OK [19:42:23]MH_I2C_Read... [19:42:23]Read from MH i2c: F0 [19:42:23]MH_I2C_Read... [19:42:23]Read from MH i2c: F0 09 00 [19:42:23]MH_I2C_Read... [19:42:23]Read from MH i2c: F0 09 00 9B 11 00 23 5D 15 67 4F CD 9A 65 BB [19:42:23]GetLastDocTimeStamp 1729451293 [19:42:23]current date 1729453347 [19:42:23]FM_GetShiftState [19:42:23]SAM_PROTO_GetShiftState [19:42:23]wFMCommunicate request_size=4 [19:42:23]MH_SAM_APDU [19:42:23]CAPDU: 80 13 01 00 [19:42:23]Write to MH i2c: E2 08 00 9C 11 80 13 01 00 00 00 00 00 2A [19:42:23]Write i2c OK [19:42:23]MH_I2C_Read... [19:42:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:42:23]Read from MH i2c: E2 [19:42:23]MH_I2C_Read... [19:42:23]Read from MH i2c: E2 0E 00 [19:42:23]MH_I2C_Read... [19:42:23]Read from MH i2c: E2 0E 00 9C 11 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 70 [19:42:23]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [19:42:23]wFMCommunicate OK [19:42:23]SAM_PROTO_GetShiftState done [19:42:23]FM_GetShiftState done [19:42:23]opened in 1729384049 [19:42:23]opened+sec_in_day 1729470449 [19:42:23]quantity*price = 14400 [19:42:23]sum+1 = 14401 [19:42:23]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743587 Сигареты Winston XStyle Silver 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 288.00 НСП 1% : 2.54 НДС 12% : 30.58 Наличными: 288.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 58 20.10.2024 19:42 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24900 ФПД: 520419390422 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T194227&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24900&fm=520419390422&tin=02508201610067®Number=0000000000098147&sum=28800 0 [19:42:24]StoreToDocumentArchive [19:42:24]shift 455 fd 24900 [19:42:24]save to /storage/0455/doc_00024900 [19:42:24]save last doc name /storage/0455/doc_00024900 to /storage/kkm_last_doc_name [19:42:24]save OK [19:42:24]Clear old archive folders... [19:42:24]ProcessDocumentItem done err = 0, tmpTLVsize=378 [19:42:24]tlvbuf is B6F18440 [19:42:24]SAM_PROTO_ClearQueue [19:42:24]wFMCommunicate request_size=4 [19:42:24]MH_SAM_APDU [19:42:24]CAPDU: 80 09 00 00 [19:42:24]Write to MH i2c: E2 08 00 A9 11 80 09 00 00 00 00 00 00 2C [19:42:24]Write i2c OK [19:42:24]MH_I2C_Read... [19:42:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:42:24]Read from MH i2c: E2 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: E2 03 00 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: E2 03 00 A9 11 00 90 00 2E [19:42:24]RAPDU: 90 00 [19:42:24]wFMCommunicate OK [19:42:24]SAM_PROTO_ClearQueue done [19:42:24]KKMCreateOFDPacket [19:42:24]OFDProtocolAddRootSTLVToBuf [19:42:24]FM_MakeSignedData [19:42:24]FM_MakeSignedData [19:42:24]SAM_PROTO_SignData [19:42:24]wFMCommunicate request_size=4 [19:42:24]MH_SAM_APDU [19:42:24]CAPDU: 80 0D 01 02 [19:42:24]Write to MH i2c: E2 08 00 AA 11 80 0D 01 02 00 00 00 00 34 [19:42:24]Write i2c OK [19:42:24]MH_I2C_Read... [19:42:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:42:24]Read from MH i2c: E2 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: E2 03 00 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: E2 03 00 AA 11 00 90 00 2F [19:42:24]RAPDU: 90 00 [19:42:24]wFMCommunicate OK [19:42:24]wFMCommunicate request_size=255 [19:42:24]MH_SAM_APDU [19:42:24]CAPDU: 80 0D 02 02 FA 03 00 7A 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 00 00 00 00 00 [19:42:24]Write to MH i2c: E2 02 01 AB 11 80 0D 02 02 FA 00 03 00 7A 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 00 00 00 00 00 00 00 55 [19:42:24]Write i2c OK [19:42:24]MH_I2C_Read... [19:42:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:42:24]Read from MH i2c: E2 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: E2 03 00 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: E2 03 00 AB 11 00 90 00 30 [19:42:24]RAPDU: 90 00 [19:42:24]wFMCommunicate OK [19:42:24]wFMCommunicate request_size=137 [19:42:24]MH_SAM_APDU [19:42:24]CAPDU: 80 0D 02 02 84 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 23 5D 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 44 61 00 00 35 04 06 00 00 79 2B 69 B3 D6 [19:42:24]Write to MH i2c: E2 8C 00 AC 11 80 0D 02 02 84 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 23 5D 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 44 61 00 00 35 04 06 00 00 79 2B 69 B3 D6 00 00 9A [19:42:24]Write i2c OK [19:42:24]MH_I2C_Read... [19:42:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:42:24]Read from MH i2c: E2 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: E2 03 00 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: E2 03 00 AC 11 00 90 00 31 [19:42:24]RAPDU: 90 00 [19:42:24]wFMCommunicate OK [19:42:24]wFMCommunicate request_size=4 [19:42:24]MH_SAM_APDU [19:42:24]CAPDU: 80 0D 03 02 [19:42:24]Write to MH i2c: E2 08 00 AD 11 80 0D 03 02 00 00 00 00 39 [19:42:24]Write i2c OK [19:42:24]MH_I2C_Read... [19:42:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:42:24]Read from MH i2c: E2 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: E2 0B 00 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: E2 0B 00 AD 11 00 C0 97 E5 B1 B3 34 16 66 90 00 8A [19:42:24]RAPDU: C0 97 E5 B1 B3 34 16 66 90 00 [19:42:24]wFMCommunicate OK [19:42:24]SAM_PROTO_SignData done [19:42:24]FM_MakeSignedData done [19:42:24]CreateOFDProtocolMessage [19:42:24]wFMCommunicate request_size=4 [19:42:24]MH_SAM_APDU [19:42:24]CAPDU: 80 11 00 00 [19:42:24]Write to MH i2c: E2 08 00 AE 11 80 11 00 00 00 00 00 00 39 [19:42:24]Write i2c OK [19:42:24]MH_I2C_Read... [19:42:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:42:24]Read from MH i2c: E2 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: E2 17 00 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: E2 17 00 AE 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 90 [19:42:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [19:42:24]wFMCommunicate OK [19:42:24]CreateOFDProtocolMessage done [19:42:24]OFDSenderStorePacket 24900 [19:42:24]StoreOFDPacket docnum=24900 [19:42:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 8E 01 00 00 7E DC 86 01 68 73 5A 03 01 00 03 00 7A 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 23 5D 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 44 61 00 00 35 04 06 00 00 79 2B 69 B3 D6 C0 97 E5 B1 B3 34 16 66 [19:42:24]CheckFolder [19:42:24]dirname=/storage/ofd_packets [19:42:24]CheckFolder done [19:42:24]ProducePacketName [19:42:24]name=ofd_packets/00024900 [19:42:24]NVStorageSaveData ofd_packets/00024900 [19:42:24]File name is /storage/ofd_packets/00024900 [19:42:24]Write 428 bytes [19:42:24]NVStorageSaveData done [19:42:24]OFDSenderStorePacket done [19:42:24]KKMCreateOFDPacket done [19:42:24]NVStorageSaveData kkm_last_timestamp [19:42:24]File name is /storage/kkm_last_timestamp [19:42:24]Write 4 bytes [19:42:24]NVStorageSaveData done [19:42:24]ExternCall_PrintAddStr [19:42:24]wPrintStart [19:42:24]Write to MH i2c: 01 00 00 AF 11 C0 [19:42:24]Write i2c OK [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: 01 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: 01 07 00 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: 01 07 00 AF 11 00 00 00 00 00 FF 0F D5 [19:42:24]RasterBufferAndPrint [19:42:24]line Счет N : (3)34660 [19:42:24]line ИНН: 02508201610067 [19:42:24]line Контрольно-Кассовый Чек [19:42:24]line ПРОДАЖА [19:42:24]line Товар: 48747066 [19:42:24]line Сигареты Winston True Silver [19:42:24]line 1.000 * 144.00 [19:42:24]line = 144.00 [19:42:24]line НДС 12% НСП 1% [19:42:25]line > о реализуемом товаре [19:42:25]line Товар: 48743587 [19:42:25]line Сигареты Winston XStyle Silver [19:42:25]line 1.000 * 144.00 [19:42:25]line = 144.00 [19:42:25]line НДС 12% НСП 1% [19:42:25]line > о реализуемом товаре [19:42:25]line ИТОГО: 288.00 [19:42:25]line НСП 1% : 2.54 [19:42:25]line НДС 12% : 30.58 [19:42:25]line Наличными: 288.00 [19:42:25]line Безнал.: 0.00 [19:42:25]line Место: АЗС № 161 "Партнер Нефть" [19:42:25]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [19:42:25]line СНО: Общий режим [19:42:25]line Чек 58 20.10.2024 19:42 [19:42:25]line Смена: 455 ФФД: 1.0 [19:42:25]line ЗНМ: 0300000240 [19:42:25]line РНМ: 0000000000098147 [19:42:25]line Версия ККМ: 001 [19:42:25]line ФМ: 0000000000965376 [19:42:25]line ФД: 24900 [19:42:25]line ФПД: 520419390422 [19:42:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T194227&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24900&fm=520419390422&tin=02508201610067®Number=0000000000098147&sum=28800 [19:42:25]line 0 [19:42:25]OFD Sender: Processing packet 24900 [packets to send 5, broken 4] [19:42:25]ProducePacketName [19:42:25]name=ofd_packets/00024900 [19:42:25]OFD Sender: To server: pG, [19:42:25]CommunicateWithHost lk.salyk.kg:30040 [19:42:25]ConnectInit lk.salyk.kg [19:42:25]written 0, free lines is 4095 [19:42:25]Connected sock=10 [19:42:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 8E 01 00 00 7E DC 86 01 68 73 5A 03 01 00 03 00 7A 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 23 5D 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 44 61 00 00 35 04 06 00 00 79 2B 69 B3 D6 C0 97 E5 B1 B3 34 16 66 [19:42:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 EC 9C 47 00 4F D8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 44 61 00 00 F4 03 04 00 A2 05 15 67 B6 04 01 00 00 50 CC D7 3D 56 E8 A9 C4 [19:42:25]CommunicateWithHost err = 0 [19:42:25]CheckOFDResponse [19:42:25]1017 (14) - 77093643461234 [19:42:25]1041 (16) - 0000000000965376 [19:42:25]1040 (4) - 24900 [19:42:25]1012 (4) - 20.10.2024 13:29 [19:42:25]1206 (1) - 0 [19:42:25]OFD Sender: Remove packet 24900 [19:42:25]ProducePacketName [19:42:25]name=ofd_packets/00024900 [19:42:25]NVStorageDeleteData [19:42:25]Write to MH i2c: 01 00 00 DE 11 EF [19:42:25]Write i2c OK [19:42:25]MH_I2C_Read... [19:42:25]Read from MH i2c: 01 [19:42:25]MH_I2C_Read... [19:42:25]Read from MH i2c: 01 07 00 [19:42:25]MH_I2C_Read... [19:42:25]Read from MH i2c: 01 07 00 DE 11 00 00 00 00 00 50 0C 52 [19:42:25]RasterBufferAndPrint [19:42:25]line [19:42:25]line [19:42:25]line [19:42:25]line [19:42:25]line [19:42:25]written 0, free lines is 3158 [19:42:25]process_action close_receipt done [19:42:25]requested_data is exist [19:42:25]produce_requested_data [19:42:25]requested_item fm.sn is exist - process it [19:42:25]wFMCommunicate request_size=4 [19:42:25]MH_SAM_APDU [19:42:25]CAPDU: 80 11 00 00 [19:42:25]Write to MH i2c: E2 08 00 E5 11 80 11 00 00 00 00 00 00 70 [19:42:25]Write i2c OK [19:42:25]MH_I2C_Read... [19:42:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:42:25]Read from MH i2c: E2 [19:42:25]MH_I2C_Read... [19:42:25]Read from MH i2c: E2 17 00 [19:42:25]MH_I2C_Read... [19:42:25]Read from MH i2c: E2 17 00 E5 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 C7 [19:42:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [19:42:25]wFMCommunicate OK [19:42:25]requested_item fd.num is exist - process it [19:42:25]SAM_PROTO_GetFieldsCounters [19:42:25]wFMCommunicate request_size=4 [19:42:25]MH_SAM_APDU [19:42:25]CAPDU: 80 13 00 00 [19:42:25]Write to MH i2c: E2 08 00 E6 11 80 13 00 00 00 00 00 00 73 [19:42:25]Write i2c OK [19:42:25]MH_I2C_Read... [19:42:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:42:25]Read from MH i2c: E2 [19:42:25]MH_I2C_Read... [19:42:25]Read from MH i2c: E2 62 00 [19:42:25]MH_I2C_Read... [19:42:25]Read from MH i2c: E2 62 00 E6 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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 44 61 00 00 0E 04 04 00 C7 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 B7 [19:42:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 44 61 00 00 0E 04 04 00 C7 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 [19:42:25]wFMCommunicate OK [19:42:25]SAM_PROTO_GetFieldsCounters done [19:42:25]requested_item shift.num is exist - process it [19:42:25]requested_item shift.opened is exist - process it [19:42:25]req_shift_opened [19:42:25]FM_GetShiftState [19:42:25]SAM_PROTO_GetShiftState [19:42:25]wFMCommunicate request_size=4 [19:42:25]MH_SAM_APDU [19:42:25]CAPDU: 80 13 01 00 [19:42:25]Write to MH i2c: E2 08 00 E7 11 80 13 01 00 00 00 00 00 75 [19:42:25]Write i2c OK [19:42:25]MH_I2C_Read... [19:42:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:42:25]Read from MH i2c: E2 [19:42:25]MH_I2C_Read... [19:42:25]Read from MH i2c: E2 0E 00 [19:42:25]MH_I2C_Read... [19:42:25]Read from MH i2c: E2 0E 00 E7 11 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 BB [19:42:25]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [19:42:25]wFMCommunicate OK [19:42:25]SAM_PROTO_GetShiftState done [19:42:25]FM_GetShiftState done [19:42:25]req_shift_opened done [19:42:25]requested_item shift.open_date is exist - process it [19:42:25]req_shift_open_date [19:42:25]req_shift_open_date done [19:42:25]produce_requested_data done [19:42:25]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24900,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [19:42:25]process_action_free close_receipt [19:42:25]json_value_free [19:42:25]json_value_free done [19:42:25]process_json_proto returns [19:42:25]Send response to host [19:42:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24900,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [19:42:25]free response buf [19:42:25]execute_script done [19:42:25]execute_script returns [19:42:25]free content buf [19:42:25]Sock 7.Close socket [19:42:25]Sock 7.Thread stoped [19:42:26]OFD Sender: No OFD packet to send [19:42:31]OFD Sender: No OFD packet to send [19:42:36]OFD Sender: No OFD packet to send [19:42:41]OFD Sender: No OFD packet to send [19:42:43]accept exits with 9 [19:42:43]New connection [19:42:43]New thread 3067309412 created [19:42:43]Thread 3067166052 joined [19:42:43]Waiting for new connection... [19:42:43] Sock 9.Parse request [19:42:43]Sock 9.Check first char [19:42:43]Sock 9.First char is OK [19:42:43]request: POST /json_proto HTTP/1.0 [19:42:43]Method: POST [19:42:43]URL: /json_proto [19:42:43]Method is POST - this is cgi request [19:42:43]url: /json_proto [19:42:43]query_string will be loaded in cgi processing [19:42:43]execute_cgi json_proto POST (null) [19:42:43]execute_cgi path=json_proto method=POST [19:42:43]POST find Content-Length [19:42:43]Host: 172.17.53.196:8080 [19:42:43]Content-Length: 616 [19:42:43]Content-Type: application/json [19:42:43] [19:42:43]POST finish read [19:42:43]Found Content-Length = 616 [19:42:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34661", "tax_sys" : 0, "items" : [ { "code": "47803008", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS 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" ] } } [19:42:43]execute_script... [19:42: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)34661", "tax_sys" : 0, "items" : [ { "code": "47803008", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS 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" ] } } [19:42:43]POST & json_proto [19:42:43]process_json_proto [19:42:43]json parsed OK: [19:42:43]protocol is kg_v1.0 [19:42:43]action value=close_receipt [19:42:43]process_action close_receipt [19:42:43]cmd_close_receipt [19:42:43]MH_GetDate [19:42:43]Write to MH i2c: F0 00 00 E8 11 E8 [19:42:43]Write i2c OK [19:42:43]MH_I2C_Read... [19:42:43]Read from MH i2c: F0 [19:42:43]MH_I2C_Read... [19:42:43]Read from MH i2c: F0 09 00 [19:42:43]MH_I2C_Read... [19:42:43]Read from MH i2c: F0 09 00 E8 11 00 37 5D 15 67 4F CD 9A 65 1C [19:42:43]GetLastDocTimeStamp 1729453347 [19:42:43]current date 1729453367 [19:42:43]FM_GetShiftState [19:42:43]SAM_PROTO_GetShiftState [19:42:43]wFMCommunicate request_size=4 [19:42:43]MH_SAM_APDU [19:42:43]CAPDU: 80 13 01 00 [19:42:43]Write to MH i2c: E2 08 00 E9 11 80 13 01 00 00 00 00 00 77 [19:42:43]Write i2c OK [19:42:43]MH_I2C_Read... [19:42:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:42:43]Read from MH i2c: E2 [19:42:43]MH_I2C_Read... [19:42:43]Read from MH i2c: E2 0E 00 [19:42:43]MH_I2C_Read... [19:42:43]Read from MH i2c: E2 0E 00 E9 11 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 BD [19:42:43]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [19:42:43]wFMCommunicate OK [19:42:43]SAM_PROTO_GetShiftState done [19:42:43]FM_GetShiftState done [19:42:43]opened in 1729384049 [19:42:43]opened+sec_in_day 1729470449 [19:42:43]quantity*price = 14400 [19:42:43]sum+1 = 14401 [19:42:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 59 20.10.2024 19:42 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24901 ФПД: 117866450105016 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T194247&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24901&fm=117866450105016&tin=02508201610067®Number=0000000000098147&sum=14400 0 [19:42:44]StoreToDocumentArchive [19:42:44]shift 455 fd 24901 [19:42:44]save to /storage/0455/doc_00024901 [19:42:44]save last doc name /storage/0455/doc_00024901 to /storage/kkm_last_doc_name [19:42:44]save OK [19:42:44]Clear old archive folders... [19:42:44]ProcessDocumentItem done err = 0, tmpTLVsize=269 [19:42:44]tlvbuf is B6FAF8F0 [19:42:44]SAM_PROTO_ClearQueue [19:42:44]wFMCommunicate request_size=4 [19:42:44]MH_SAM_APDU [19:42:44]CAPDU: 80 09 00 00 [19:42:44]Write to MH i2c: E2 08 00 F6 11 80 09 00 00 00 00 00 00 79 [19:42:44]Write i2c OK [19:42:44]MH_I2C_Read... [19:42:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:42:44]Read from MH i2c: E2 [19:42:44]MH_I2C_Read... [19:42:44]Read from MH i2c: E2 03 00 [19:42:44]MH_I2C_Read... [19:42:44]Read from MH i2c: E2 03 00 F6 11 00 90 00 7B [19:42:44]RAPDU: 90 00 [19:42:44]wFMCommunicate OK [19:42:44]SAM_PROTO_ClearQueue done [19:42:44]KKMCreateOFDPacket [19:42:44]OFDProtocolAddRootSTLVToBuf [19:42:44]FM_MakeSignedData [19:42:44]FM_MakeSignedData [19:42:44]SAM_PROTO_SignData [19:42:44]wFMCommunicate request_size=4 [19:42:44]MH_SAM_APDU [19:42:44]CAPDU: 80 0D 01 02 [19:42:44]Write to MH i2c: E2 08 00 F7 11 80 0D 01 02 00 00 00 00 81 [19:42:44]Write i2c OK [19:42:44]MH_I2C_Read... [19:42:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:42:44]Read from MH i2c: E2 [19:42:44]MH_I2C_Read... [19:42:44]Read from MH i2c: E2 03 00 [19:42:44]MH_I2C_Read... [19:42:44]Read from MH i2c: E2 03 00 F7 11 00 90 00 7C [19:42:44]RAPDU: 90 00 [19:42:44]wFMCommunicate OK [19:42:44]wFMCommunicate request_size=255 [19:42:44]MH_SAM_APDU [19:42:44]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 37 5D 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [19:42:44]Write to MH i2c: E2 02 01 F8 11 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 37 5D 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 F9 [19:42:44]Write i2c OK [19:42:44]MH_I2C_Read... [19:42:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:42:44]Read from MH i2c: E2 [19:42:44]MH_I2C_Read... [19:42:44]Read from MH i2c: E2 03 00 [19:42:44]MH_I2C_Read... [19:42:44]Read from MH i2c: E2 03 00 F8 11 00 90 00 7D [19:42:44]RAPDU: 90 00 [19:42:44]wFMCommunicate OK [19:42:44]wFMCommunicate request_size=28 [19:42:44]MH_SAM_APDU [19:42:44]CAPDU: 80 0D 02 02 17 36 35 33 37 36 10 04 04 00 45 61 00 00 35 04 06 00 6B 32 EB E3 B2 B8 [19:42:44]Write to MH i2c: E2 1F 00 F9 11 80 0D 02 02 17 00 36 35 33 37 36 10 04 04 00 45 61 00 00 35 04 06 00 6B 32 EB E3 B2 B8 00 00 8F [19:42:44]Write i2c OK [19:42:44]MH_I2C_Read... [19:42:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:42:44]Read from MH i2c: E2 [19:42:44]MH_I2C_Read... [19:42:44]Read from MH i2c: E2 03 00 [19:42:44]MH_I2C_Read... [19:42:44]Read from MH i2c: E2 03 00 F9 11 00 90 00 7E [19:42:44]RAPDU: 90 00 [19:42:44]wFMCommunicate OK [19:42:44]wFMCommunicate request_size=4 [19:42:44]MH_SAM_APDU [19:42:44]CAPDU: 80 0D 03 02 [19:42:44]Write to MH i2c: E2 08 00 FA 11 80 0D 03 02 00 00 00 00 86 [19:42:44]Write i2c OK [19:42:44]MH_I2C_Read... [19:42:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:42:44]Read from MH i2c: E2 [19:42:44]MH_I2C_Read... [19:42:44]Read from MH i2c: E2 0B 00 [19:42:44]MH_I2C_Read... [19:42:44]Read from MH i2c: E2 0B 00 FA 11 00 D7 6D 2C 7E 0E B5 48 9F 90 00 1F [19:42:44]RAPDU: D7 6D 2C 7E 0E B5 48 9F 90 00 [19:42:44]wFMCommunicate OK [19:42:44]SAM_PROTO_SignData done [19:42:44]FM_MakeSignedData done [19:42:44]CreateOFDProtocolMessage [19:42:44]wFMCommunicate request_size=4 [19:42:44]MH_SAM_APDU [19:42:44]CAPDU: 80 11 00 00 [19:42:44]Write to MH i2c: E2 08 00 FB 11 80 11 00 00 00 00 00 00 86 [19:42:44]Write i2c OK [19:42:44]MH_I2C_Read... [19:42:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:42:44]Read from MH i2c: E2 [19:42:44]MH_I2C_Read... [19:42:44]Read from MH i2c: E2 17 00 [19:42:44]MH_I2C_Read... [19:42:44]Read from MH i2c: E2 17 00 FB 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 DD [19:42:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [19:42:44]wFMCommunicate OK [19:42:44]CreateOFDProtocolMessage done [19:42:44]OFDSenderStorePacket 24901 [19:42:44]StoreOFDPacket docnum=24901 [19:42:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 21 01 00 00 FD 8B 19 01 06 29 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 37 5D 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 45 61 00 00 35 04 06 00 6B 32 EB E3 B2 B8 D7 6D 2C 7E 0E B5 48 9F [19:42:44]CheckFolder [19:42:44]dirname=/storage/ofd_packets [19:42:44]CheckFolder done [19:42:44]ProducePacketName [19:42:44]name=ofd_packets/00024901 [19:42:44]NVStorageSaveData ofd_packets/00024901 [19:42:44]File name is /storage/ofd_packets/00024901 [19:42:44]Write 319 bytes [19:42:44]NVStorageSaveData done [19:42:44]OFDSenderStorePacket done [19:42:44]KKMCreateOFDPacket done [19:42:44]NVStorageSaveData kkm_last_timestamp [19:42:44]File name is /storage/kkm_last_timestamp [19:42:44]Write 4 bytes [19:42:44]NVStorageSaveData done [19:42:44]ExternCall_PrintAddStr [19:42:44]wPrintStart [19:42:44]Write to MH i2c: 01 00 00 FC 11 0D [19:42:44]OFD Sender: Processing packet 24901 [packets to send 5, broken 4] [19:42:44]ProducePacketName [19:42:44]name=ofd_packets/00024901 [19:42:44]OFD Sender: To server: pG, [19:42:44]CommunicateWithHost lk.salyk.kg:30040 [19:42:44]ConnectInit lk.salyk.kg [19:42:44]Write i2c OK [19:42:44]MH_I2C_Read... [19:42:44]Read from MH i2c: 01 [19:42:44]MH_I2C_Read... [19:42:44]Read from MH i2c: 01 07 00 [19:42:44]MH_I2C_Read... [19:42:44]Read from MH i2c: 01 07 00 FC 11 00 00 00 00 00 FF 0F 22 [19:42:44]RasterBufferAndPrint [19:42:44]line Счет N : (3)34661 [19:42:44]line ИНН: 02508201610067 [19:42:44]line Контрольно-Кассовый Чек [19:42:44]line ПРОДАЖА [19:42:44]line Товар: 47803008 [19:42:44]line Сигареты Winston XS Blue [19:42:44]line 1.000 * 144.00 [19:42:44]line = 144.00 [19:42:44]line НДС 12% НСП 1% [19:42:44]line > о реализуемом товаре [19:42:44]line ИТОГО: 144.00 [19:42:44]line НСП 1% : 1.27 [19:42:44]line НДС 12% : 15.29 [19:42:44]line Наличными: 144.00 [19:42:44]line Безнал.: 0.00 [19:42:44]line Место: АЗС № 161 "Партнер Нефть" [19:42:44]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [19:42:44]line СНО: Общий режим [19:42:44]line Чек 59 20.10.2024 19:42 [19:42:44]line Смена: 455 ФФД: 1.0 [19:42:44]line ЗНМ: 0300000240 [19:42:44]line РНМ: 0000000000098147 [19:42:44]line Версия ККМ: 001 [19:42:44]line ФМ: 0000000000965376 [19:42:44]line ФД: 24901 [19:42:44]line ФПД: 117866450105016 [19:42:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T194247&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24901&fm=117866450105016&tin=02508201610067®Number=0000000000098147&sum=14400 [19:42:45]line 0 [19:42:45]Connected sock=10 [19:42:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 21 01 00 00 FD 8B 19 01 06 29 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 37 5D 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 45 61 00 00 35 04 06 00 6B 32 EB E3 B2 B8 D7 6D 2C 7E 0E B5 48 9F [19:42:45]written 0, free lines is 4095 [19:42:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 F8 DD 47 00 B2 CE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 45 61 00 00 F4 03 04 00 B6 05 15 67 B6 04 01 00 00 18 83 12 BB D9 88 80 AA [19:42:45]CommunicateWithHost err = 0 [19:42:45]CheckOFDResponse [19:42:45]1017 (14) - 77093643461234 [19:42:45]1041 (16) - 0000000000965376 [19:42:45]1040 (4) - 24901 [19:42:45]1012 (4) - 20.10.2024 13:29 [19:42:45]1206 (1) - 0 [19:42:45]OFD Sender: Remove packet 24901 [19:42:45]ProducePacketName [19:42:45]name=ofd_packets/00024901 [19:42:45]NVStorageDeleteData [19:42:45]Write to MH i2c: 01 00 00 24 12 36 [19:42:45]Write i2c OK [19:42:45]MH_I2C_Read... [19:42:45]Read from MH i2c: 01 [19:42:45]MH_I2C_Read... [19:42:45]Read from MH i2c: 01 07 00 [19:42:45]MH_I2C_Read... [19:42:45]Read from MH i2c: 01 07 00 24 12 00 00 00 00 00 CE 0C 17 [19:42:45]RasterBufferAndPrint [19:42:45]line [19:42:45]line [19:42:45]line [19:42:45]line [19:42:45]line [19:42:45]written 0, free lines is 3283 [19:42:45]process_action close_receipt done [19:42:45]requested_data is exist [19:42:45]produce_requested_data [19:42:45]requested_item fm.sn is exist - process it [19:42:45]wFMCommunicate request_size=4 [19:42:45]MH_SAM_APDU [19:42:45]CAPDU: 80 11 00 00 [19:42:45]Write to MH i2c: E2 08 00 2B 12 80 11 00 00 00 00 00 00 B7 [19:42:45]Write i2c OK [19:42:45]MH_I2C_Read... [19:42:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:42:45]Read from MH i2c: E2 [19:42:45]MH_I2C_Read... [19:42:45]Read from MH i2c: E2 17 00 [19:42:45]MH_I2C_Read... [19:42:45]Read from MH i2c: E2 17 00 2B 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 0E [19:42:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [19:42:45]wFMCommunicate OK [19:42:45]requested_item fd.num is exist - process it [19:42:45]SAM_PROTO_GetFieldsCounters [19:42:45]wFMCommunicate request_size=4 [19:42:45]MH_SAM_APDU [19:42:45]CAPDU: 80 13 00 00 [19:42:45]Write to MH i2c: E2 08 00 2C 12 80 13 00 00 00 00 00 00 BA [19:42:45]Write i2c OK [19:42:45]MH_I2C_Read... [19:42:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:42:45]Read from MH i2c: E2 [19:42:45]MH_I2C_Read... [19:42:45]Read from MH i2c: E2 62 00 [19:42:45]MH_I2C_Read... [19:42:45]Read from MH i2c: E2 62 00 2C 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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 45 61 00 00 0E 04 04 00 C7 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 02 [19:42:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 45 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:42:45]wFMCommunicate OK [19:42:45]SAM_PROTO_GetFieldsCounters done [19:42:45]requested_item shift.num is exist - process it [19:42:45]requested_item shift.opened is exist - process it [19:42:45]req_shift_opened [19:42:45]FM_GetShiftState [19:42:45]SAM_PROTO_GetShiftState [19:42:45]wFMCommunicate request_size=4 [19:42:45]MH_SAM_APDU [19:42:45]CAPDU: 80 13 01 00 [19:42:45]Write to MH i2c: E2 08 00 2D 12 80 13 01 00 00 00 00 00 BC [19:42:45]Write i2c OK [19:42:45]MH_I2C_Read... [19:42:45]OFD Sender: No OFD packet to send [19:42:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:42:45]Read from MH i2c: E2 [19:42:45]MH_I2C_Read... [19:42:45]Read from MH i2c: E2 0E 00 [19:42:45]MH_I2C_Read... [19:42:45]Read from MH i2c: E2 0E 00 2D 12 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 02 [19:42:45]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [19:42:45]wFMCommunicate OK [19:42:45]SAM_PROTO_GetShiftState done [19:42:45]FM_GetShiftState done [19:42:45]req_shift_opened done [19:42:45]requested_item shift.open_date is exist - process it [19:42:45]req_shift_open_date [19:42:45]req_shift_open_date done [19:42:45]produce_requested_data done [19:42:45]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24901,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [19:42:45]process_action_free close_receipt [19:42:45]json_value_free [19:42:45]json_value_free done [19:42:45]process_json_proto returns [19:42:45]Send response to host [19:42:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24901,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [19:42:45]free response buf [19:42:45]execute_script done [19:42:45]execute_script returns [19:42:45]free content buf [19:42:45]Sock 9.Close socket [19:42:45]Sock 9.Thread stoped [19:42:50]OFD Sender: No OFD packet to send [19:42:55]OFD Sender: No OFD packet to send [19:43:00]OFD Sender: No OFD packet to send [19:43:05]OFD Sender: No OFD packet to send [19:43:10]OFD Sender: No OFD packet to send [19:43:15]OFD Sender: No OFD packet to send [19:43:20]OFD Sender: No OFD packet to send [19:43:25]OFD Sender: No OFD packet to send [19:43:30]OFD Sender: No OFD packet to send [19:43:35]OFD Sender: No OFD packet to send [19:43:40]OFD Sender: No OFD packet to send [19:43:45]OFD Sender: No OFD packet to send [19:43:50]OFD Sender: No OFD packet to send [19:43:55]OFD Sender: No OFD packet to send [19:44:00]OFD Sender: No OFD packet to send [19:44:05]OFD Sender: No OFD packet to send [19:44:10]OFD Sender: No OFD packet to send [19:44:15]OFD Sender: No OFD packet to send [19:44:20]OFD Sender: No OFD packet to send [19:44:25]OFD Sender: No OFD packet to send [19:44:30]OFD Sender: No OFD packet to send [19:44:35]OFD Sender: No OFD packet to send [19:44:40]OFD Sender: No OFD packet to send [19:44:45]OFD Sender: No OFD packet to send [19:44:50]OFD Sender: No OFD packet to send [19:44:55]OFD Sender: No OFD packet to send [19:45:00]OFD Sender: No OFD packet to send [19:45:05]OFD Sender: No OFD packet to send [19:45:10]OFD Sender: No OFD packet to send [19:45:15]OFD Sender: No OFD packet to send [19:45:20]OFD Sender: No OFD packet to send [19:45:25]OFD Sender: No OFD packet to send [19:45:30]OFD Sender: No OFD packet to send [19:45:35]OFD Sender: No OFD packet to send [19:45:40]OFD Sender: No OFD packet to send [19:45:45]OFD Sender: No OFD packet to send [19:45:50]OFD Sender: No OFD packet to send [19:45:55]OFD Sender: No OFD packet to send [19:46:00]OFD Sender: No OFD packet to send [19:46:05]OFD Sender: No OFD packet to send [19:46:10]OFD Sender: No OFD packet to send [19:46:15]OFD Sender: No OFD packet to send [19:46:20]OFD Sender: No OFD packet to send [19:46:25]OFD Sender: No OFD packet to send [19:46:30]OFD Sender: No OFD packet to send [19:46:35]OFD Sender: No OFD packet to send [19:46:40]OFD Sender: No OFD packet to send [19:46:45]OFD Sender: No OFD packet to send [19:46:50]OFD Sender: No OFD packet to send [19:46:55]OFD Sender: No OFD packet to send [19:47:00]OFD Sender: No OFD packet to send [19:47:05]OFD Sender: No OFD packet to send [19:47:10]OFD Sender: No OFD packet to send [19:47:15]OFD Sender: No OFD packet to send [19:47:20]OFD Sender: No OFD packet to send [19:47:25]OFD Sender: No OFD packet to send [19:47:30]OFD Sender: No OFD packet to send [19:47:35]OFD Sender: No OFD packet to send [19:47:40]OFD Sender: No OFD packet to send [19:47:45]OFD Sender: No OFD packet to send [19:47:50]OFD Sender: No OFD packet to send [19:47:55]OFD Sender: No OFD packet to send [19:48:00]OFD Sender: No OFD packet to send [19:48:05]OFD Sender: No OFD packet to send [19:48:10]OFD Sender: No OFD packet to send [19:48:15]OFD Sender: No OFD packet to send [19:48:16]accept exits with 7 [19:48:16]New connection [19:48:16]New thread 3067166052 created [19:48:16]Thread 3067309412 joined [19:48:16]Waiting for new connection... [19:48:16] Sock 7.Parse request [19:48:16]Sock 7.Check first char [19:48:16]Sock 7.First char is OK [19:48:16]request: POST /json_proto HTTP/1.0 [19:48:16]Method: POST [19:48:16]URL: /json_proto [19:48:16]Method is POST - this is cgi request [19:48:16]url: /json_proto [19:48:16]query_string will be loaded in cgi processing [19:48:16]execute_cgi json_proto POST (null) [19:48:16]execute_cgi path=json_proto method=POST [19:48:16]POST find Content-Length [19:48:16]Host: 172.17.53.196:8080 [19:48:16]Content-Length: 671 [19:48:16]Content-Type: application/json [19:48:16] [19:48:16]POST finish read [19:48:16]Found Content-Length = 671 [19:48:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34662", "tax_sys" : 0, "items" : [ { "code": "4000512994909", "name": "\u0440\u0401\u044C\u0445\u044B\u0440\u0444 \u0401\u044E\u044B\u044B\u0448 \u0401\u0443\u0445\u0401 \u0448\u044D\u0448", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 44.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:48:16]execute_script... [19:48: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)34662", "tax_sys" : 0, "items" : [ { "code": "4000512994909", "name": "\u0440\u0401\u044C\u0445\u044B\u0440\u0444 \u0401\u044E\u044B\u044B\u0448 \u0401\u0443\u0445\u0401 \u0448\u044D\u0448", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 44.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:48:16]POST & json_proto [19:48:16]process_json_proto [19:48:16]json parsed OK: [19:48:16]protocol is kg_v1.0 [19:48:16]action value=close_receipt [19:48:16]process_action close_receipt [19:48:16]cmd_close_receipt [19:48:16]MH_GetDate [19:48:16]Write to MH i2c: F0 00 00 2E 12 2F [19:48:16]Write i2c OK [19:48:16]MH_I2C_Read... [19:48:16]Read from MH i2c: F0 [19:48:16]MH_I2C_Read... [19:48:16]Read from MH i2c: F0 09 00 [19:48:16]MH_I2C_Read... [19:48:16]Read from MH i2c: F0 09 00 2E 12 00 85 5E 15 67 4F CD 9A 65 B2 [19:48:16]GetLastDocTimeStamp 1729453367 [19:48:16]current date 1729453701 [19:48:16]FM_GetShiftState [19:48:16]SAM_PROTO_GetShiftState [19:48:16]wFMCommunicate request_size=4 [19:48:16]MH_SAM_APDU [19:48:16]CAPDU: 80 13 01 00 [19:48:16]Write to MH i2c: E2 08 00 2F 12 80 13 01 00 00 00 00 00 BE [19:48:16]Write i2c OK [19:48:16]MH_I2C_Read... [19:48:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:48:16]Read from MH i2c: E2 [19:48:16]MH_I2C_Read... [19:48:16]Read from MH i2c: E2 0E 00 [19:48:16]MH_I2C_Read... [19:48:16]Read from MH i2c: E2 0E 00 2F 12 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 04 [19:48:16]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [19:48:16]wFMCommunicate OK [19:48:16]SAM_PROTO_GetShiftState done [19:48:16]FM_GetShiftState done [19:48:16]opened in 1729384049 [19:48:16]opened+sec_in_day 1729470449 [19:48:16]quantity*price = 4400 [19:48:16]sum+1 = 4401 [19:48:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 44.00 НСП 1% : 0.39 НДС 12% : 4.67 Наличными: 44.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 60 20.10.2024 19:48 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24902 ФПД: 120755219273352 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T194821&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24902&fm=120755219273352&tin=02508201610067®Number=0000000000098147&sum=4400 0 [19:48:18]StoreToDocumentArchive [19:48:18]shift 455 fd 24902 [19:48:18]save to /storage/0455/doc_00024902 [19:48:18]save last doc name /storage/0455/doc_00024902 to /storage/kkm_last_doc_name [19:48:18]save OK [19:48:18]Clear old archive folders... [19:48:18]ProcessDocumentItem done err = 0, tmpTLVsize=283 [19:48:18]tlvbuf is 00DF0680 [19:48:18]SAM_PROTO_ClearQueue [19:48:18]wFMCommunicate request_size=4 [19:48:18]MH_SAM_APDU [19:48:18]CAPDU: 80 09 00 00 [19:48:18]Write to MH i2c: E2 08 00 3C 12 80 09 00 00 00 00 00 00 C0 [19:48:18]Write i2c OK [19:48:18]MH_I2C_Read... [19:48:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:48:18]Read from MH i2c: E2 [19:48:18]MH_I2C_Read... [19:48:18]Read from MH i2c: E2 03 00 [19:48:18]MH_I2C_Read... [19:48:18]Read from MH i2c: E2 03 00 3C 12 00 90 00 C2 [19:48:18]RAPDU: 90 00 [19:48:18]wFMCommunicate OK [19:48:18]SAM_PROTO_ClearQueue done [19:48:18]KKMCreateOFDPacket [19:48:18]OFDProtocolAddRootSTLVToBuf [19:48:18]FM_MakeSignedData [19:48:18]FM_MakeSignedData [19:48:18]SAM_PROTO_SignData [19:48:18]wFMCommunicate request_size=4 [19:48:18]MH_SAM_APDU [19:48:18]CAPDU: 80 0D 01 02 [19:48:18]Write to MH i2c: E2 08 00 3D 12 80 0D 01 02 00 00 00 00 C8 [19:48:18]Write i2c OK [19:48:18]MH_I2C_Read... [19:48:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:48:18]Read from MH i2c: E2 [19:48:18]MH_I2C_Read... [19:48:18]Read from MH i2c: E2 03 00 [19:48:18]MH_I2C_Read... [19:48:18]Read from MH i2c: E2 03 00 3D 12 00 90 00 C3 [19:48:18]RAPDU: 90 00 [19:48:18]wFMCommunicate OK [19:48:18]wFMCommunicate request_size=255 [19:48:18]MH_SAM_APDU [19:48:18]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 85 5E 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 [19:48:18]Write to MH i2c: E2 02 01 3E 12 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 85 5E 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 00 00 03 [19:48:18]Write i2c OK [19:48:18]MH_I2C_Read... [19:48:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:18]Read from MH i2c: E2 [19:48:18]MH_I2C_Read... [19:48:18]Read from MH i2c: E2 03 00 [19:48:18]MH_I2C_Read... [19:48:18]Read from MH i2c: E2 03 00 3E 12 00 90 00 C4 [19:48:18]RAPDU: 90 00 [19:48:18]wFMCommunicate OK [19:48:18]wFMCommunicate request_size=42 [19:48:18]MH_SAM_APDU [19:48:18]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 46 61 00 00 35 04 06 00 6D D3 83 F3 16 88 [19:48:18]Write to MH i2c: E2 2D 00 3F 12 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 46 61 00 00 35 04 06 00 6D D3 83 F3 16 88 00 00 9F [19:48:18]Write i2c OK [19:48:18]MH_I2C_Read... [19:48:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:18]Read from MH i2c: E2 [19:48:18]MH_I2C_Read... [19:48:18]Read from MH i2c: E2 03 00 [19:48:18]MH_I2C_Read... [19:48:18]Read from MH i2c: E2 03 00 3F 12 00 90 00 C5 [19:48:18]RAPDU: 90 00 [19:48:18]wFMCommunicate OK [19:48:18]wFMCommunicate request_size=4 [19:48:18]MH_SAM_APDU [19:48:18]CAPDU: 80 0D 03 02 [19:48:18]Write to MH i2c: E2 08 00 40 12 80 0D 03 02 00 00 00 00 CD [19:48:18]Write i2c OK [19:48:18]MH_I2C_Read... [19:48:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:48:18]Read from MH i2c: E2 [19:48:18]MH_I2C_Read... [19:48:18]Read from MH i2c: E2 0B 00 [19:48:18]MH_I2C_Read... [19:48:18]Read from MH i2c: E2 0B 00 40 12 00 82 44 11 BA 9F B8 52 E2 90 00 EA [19:48:18]RAPDU: 82 44 11 BA 9F B8 52 E2 90 00 [19:48:18]wFMCommunicate OK [19:48:18]SAM_PROTO_SignData done [19:48:18]FM_MakeSignedData done [19:48:18]CreateOFDProtocolMessage [19:48:18]wFMCommunicate request_size=4 [19:48:18]MH_SAM_APDU [19:48:18]CAPDU: 80 11 00 00 [19:48:18]Write to MH i2c: E2 08 00 41 12 80 11 00 00 00 00 00 00 CD [19:48:18]Write i2c OK [19:48:18]MH_I2C_Read... [19:48:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:48:18]Read from MH i2c: E2 [19:48:18]MH_I2C_Read... [19:48:18]Read from MH i2c: E2 17 00 [19:48:18]MH_I2C_Read... [19:48:18]Read from MH i2c: E2 17 00 41 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 24 [19:48:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [19:48:18]wFMCommunicate OK [19:48:18]CreateOFDProtocolMessage done [19:48:18]OFDSenderStorePacket 24902 [19:48:18]StoreOFDPacket docnum=24902 [19:48:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2F 01 00 00 54 2A 27 01 45 B1 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 85 5E 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 46 61 00 00 35 04 06 00 6D D3 83 F3 16 88 82 44 11 BA 9F B8 52 E2 [19:48:18]CheckFolder [19:48:18]dirname=/storage/ofd_packets [19:48:18]CheckFolder done [19:48:18]ProducePacketName [19:48:18]name=ofd_packets/00024902 [19:48:18]NVStorageSaveData ofd_packets/00024902 [19:48:18]File name is /storage/ofd_packets/00024902 [19:48:18]Write 333 bytes [19:48:18]NVStorageSaveData done [19:48:18]OFDSenderStorePacket done [19:48:18]KKMCreateOFDPacket done [19:48:18]NVStorageSaveData kkm_last_timestamp [19:48:18]File name is /storage/kkm_last_timestamp [19:48:18]Write 4 bytes [19:48:18]NVStorageSaveData done [19:48:18]ExternCall_PrintAddStr [19:48:18]wPrintStart [19:48:18]Write to MH i2c: 01 00 00 42 12 54 [19:48:18]Write i2c OK [19:48:18]MH_I2C_Read... [19:48:18]Read from MH i2c: 01 [19:48:18]MH_I2C_Read... [19:48:18]Read from MH i2c: 01 07 00 [19:48:18]MH_I2C_Read... [19:48:18]Read from MH i2c: 01 07 00 42 12 00 00 00 00 00 FF 0F 69 [19:48:18]RasterBufferAndPrint [19:48:18]line Счет N : (3)34662 [19:48:18]line ИНН: 02508201610067 [19:48:18]line Контрольно-Кассовый Чек [19:48:18]line ПРОДАЖА [19:48:18]line Товар: 4000512994909 [19:48:18]line рЁьхырф Ёюыыш ЁухЁ шэш [19:48:18]line 1.000 * 44.00 [19:48:18]line = 44.00 [19:48:18]line НДС 12% НСП 1% [19:48:18]line > о реализуемом товаре [19:48:18]line ИТОГО: 44.00 [19:48:18]line НСП 1% : 0.39 [19:48:18]line НДС 12% : 4.67 [19:48:18]line Наличными: 44.00 [19:48:18]line Безнал.: 0.00 [19:48:18]line Место: АЗС № 161 "Партнер Нефть" [19:48:18]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [19:48:18]line СНО: Общий режим [19:48:18]line Чек 60 20.10.2024 19:48 [19:48:18]line Смена: 455 ФФД: 1.0 [19:48:18]line ЗНМ: 0300000240 [19:48:18]line РНМ: 0000000000098147 [19:48:18]line Версия ККМ: 001 [19:48:18]line ФМ: 0000000000965376 [19:48:18]line ФД: 24902 [19:48:18]line ФПД: 120755219273352 [19:48:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T194821&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24902&fm=120755219273352&tin=02508201610067®Number=0000000000098147&sum=4400 [19:48:18]line 0 [19:48:18]OFD Sender: Processing packet 24902 [packets to send 5, broken 4] [19:48:18]ProducePacketName [19:48:18]name=ofd_packets/00024902 [19:48:18]OFD Sender: To server: pG, [19:48:18]CommunicateWithHost lk.salyk.kg:30040 [19:48:18]ConnectInit lk.salyk.kg [19:48:18]written 0, free lines is 4095 [19:48:19]Connected sock=10 [19:48:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2F 01 00 00 54 2A 27 01 45 B1 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 85 5E 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 46 61 00 00 35 04 06 00 6D D3 83 F3 16 88 82 44 11 BA 9F B8 52 E2 [19:48:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 08 7E 47 00 0B 20 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 46 61 00 00 F4 03 04 00 04 07 15 67 B6 04 01 00 00 3E 18 2C 98 E8 4E 7E EE [19:48:19]CommunicateWithHost err = 0 [19:48:19]CheckOFDResponse [19:48:19]1017 (14) - 77093643461234 [19:48:19]1041 (16) - 0000000000965376 [19:48:19]1040 (4) - 24902 [19:48:19]1012 (4) - 20.10.2024 13:35 [19:48:19]1206 (1) - 0 [19:48:19]OFD Sender: Remove packet 24902 [19:48:19]ProducePacketName [19:48:19]name=ofd_packets/00024902 [19:48:19]NVStorageDeleteData [19:48:19]Write to MH i2c: 01 00 00 6A 12 7C [19:48:19]Write i2c OK [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: 01 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: 01 07 00 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: 01 07 00 6A 12 00 00 00 00 00 C3 0C 52 [19:48:19]RasterBufferAndPrint [19:48:19]line [19:48:19]line [19:48:19]line [19:48:19]line [19:48:19]line [19:48:19]written 0, free lines is 3273 [19:48:19]process_action close_receipt done [19:48:19]requested_data is exist [19:48:19]produce_requested_data [19:48:19]requested_item fm.sn is exist - process it [19:48:19]wFMCommunicate request_size=4 [19:48:19]MH_SAM_APDU [19:48:19]CAPDU: 80 11 00 00 [19:48:19]Write to MH i2c: E2 08 00 71 12 80 11 00 00 00 00 00 00 FD [19:48:19]Write i2c OK [19:48:19]MH_I2C_Read... [19:48:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:48:19]Read from MH i2c: E2 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: E2 17 00 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: E2 17 00 71 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 54 [19:48:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [19:48:19]wFMCommunicate OK [19:48:19]requested_item fd.num is exist - process it [19:48:19]SAM_PROTO_GetFieldsCounters [19:48:19]wFMCommunicate request_size=4 [19:48:19]MH_SAM_APDU [19:48:19]CAPDU: 80 13 00 00 [19:48:19]Write to MH i2c: E2 08 00 72 12 80 13 00 00 00 00 00 00 00 [19:48:19]Write i2c OK [19:48:19]MH_I2C_Read... [19:48:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:48:19]Read from MH i2c: E2 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: E2 62 00 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: E2 62 00 72 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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 46 61 00 00 0E 04 04 00 C7 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 4C [19:48:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 46 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:48:19]wFMCommunicate OK [19:48:19]SAM_PROTO_GetFieldsCounters done [19:48:19]requested_item shift.num is exist - process it [19:48:19]requested_item shift.opened is exist - process it [19:48:19]req_shift_opened [19:48:19]FM_GetShiftState [19:48:19]SAM_PROTO_GetShiftState [19:48:19]wFMCommunicate request_size=4 [19:48:19]MH_SAM_APDU [19:48:19]CAPDU: 80 13 01 00 [19:48:19]Write to MH i2c: E2 08 00 73 12 80 13 01 00 00 00 00 00 02 [19:48:19]Write i2c OK [19:48:19]MH_I2C_Read... [19:48:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:48:19]Read from MH i2c: E2 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: E2 0E 00 [19:48:19]MH_I2C_Read... [19:48:19]Read from MH i2c: E2 0E 00 73 12 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 48 [19:48:19]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [19:48:19]wFMCommunicate OK [19:48:19]SAM_PROTO_GetShiftState done [19:48:19]FM_GetShiftState done [19:48:19]req_shift_opened done [19:48:19]requested_item shift.open_date is exist - process it [19:48:19]req_shift_open_date [19:48:19]req_shift_open_date done [19:48:19]produce_requested_data done [19:48:19]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24902,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [19:48:19]process_action_free close_receipt [19:48:19]json_value_free [19:48:19]json_value_free done [19:48:19]process_json_proto returns [19:48:19]Send response to host [19:48:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24902,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [19:48:19]free response buf [19:48:19]execute_script done [19:48:19]execute_script returns [19:48:19]free content buf [19:48:19]Sock 7.Close socket [19:48:19]Sock 7.Thread stoped [19:48:19]OFD Sender: No OFD packet to send [19:48:24]OFD Sender: No OFD packet to send [19:48:29]OFD Sender: No OFD packet to send [19:48:34]OFD Sender: No OFD packet to send [19:48:39]OFD Sender: No OFD packet to send [19:48:44]OFD Sender: No OFD packet to send [19:48:49]OFD Sender: No OFD packet to send [19:48:54]OFD Sender: No OFD packet to send [19:48:59]OFD Sender: No OFD packet to send [19:49:04]OFD Sender: No OFD packet to send [19:49:09]OFD Sender: No OFD packet to send [19:49:14]OFD Sender: No OFD packet to send [19:49:19]OFD Sender: No OFD packet to send [19:49:24]OFD Sender: No OFD packet to send [19:49:29]OFD Sender: No OFD packet to send [19:49:34]OFD Sender: No OFD packet to send [19:49:39]OFD Sender: No OFD packet to send [19:49:44]OFD Sender: No OFD packet to send [19:49:49]OFD Sender: No OFD packet to send [19:49:54]OFD Sender: No OFD packet to send [19:49:59]OFD Sender: No OFD packet to send [19:50:04]OFD Sender: No OFD packet to send [19:50:09]OFD Sender: No OFD packet to send [19:50:14]OFD Sender: No OFD packet to send [19:50:19]OFD Sender: No OFD packet to send [19:50:24]OFD Sender: No OFD packet to send [19:50:29]OFD Sender: No OFD packet to send [19:50:34]OFD Sender: No OFD packet to send [19:50:39]OFD Sender: No OFD packet to send [19:50:44]OFD Sender: No OFD packet to send [19:50:49]OFD Sender: No OFD packet to send [19:50:54]OFD Sender: No OFD packet to send [19:50:59]OFD Sender: No OFD packet to send [19:51:04]OFD Sender: No OFD packet to send [19:51:09]OFD Sender: No OFD packet to send [19:51:14]OFD Sender: No OFD packet to send [19:51:19]OFD Sender: No OFD packet to send [19:51:24]OFD Sender: No OFD packet to send [19:51:29]OFD Sender: No OFD packet to send [19:51:34]OFD Sender: No OFD packet to send [19:51:39]OFD Sender: No OFD packet to send [19:51:44]OFD Sender: No OFD packet to send [19:51:49]OFD Sender: No OFD packet to send [19:51:54]OFD Sender: No OFD packet to send [19:51:59]OFD Sender: No OFD packet to send [19:52:04]OFD Sender: No OFD packet to send [19:52:09]OFD Sender: No OFD packet to send [19:52:14]OFD Sender: No OFD packet to send [19:52:19]OFD Sender: No OFD packet to send [19:52:24]OFD Sender: No OFD packet to send [19:52:29]OFD Sender: No OFD packet to send [19:52:34]OFD Sender: No OFD packet to send [19:52:39]OFD Sender: No OFD packet to send [19:52:44]OFD Sender: No OFD packet to send [19:52:49]OFD Sender: No OFD packet to send [19:52:54]OFD Sender: No OFD packet to send [19:52:59]OFD Sender: No OFD packet to send [19:53:04]OFD Sender: No OFD packet to send [19:53:09]OFD Sender: No OFD packet to send [19:53:14]OFD Sender: No OFD packet to send [19:53:19]OFD Sender: No OFD packet to send [19:53:24]OFD Sender: No OFD packet to send [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:25]OFD Sender: No OFD packet to send [19:54:30]OFD Sender: No OFD packet to send [19:54:34]accept exits with 9 [19:54:34]New connection [19:54:34]New thread 3067309412 created [19:54:34]Thread 3067166052 joined [19:54:34]Waiting for new connection... [19:54:34] Sock 9.Parse request [19:54:34]Sock 9.Check first char [19:54:34]Sock 9.First char is OK [19:54:34]request: POST /json_proto HTTP/1.0 [19:54:34]Method: POST [19:54:34]URL: /json_proto [19:54:34]Method is POST - this is cgi request [19:54:34]url: /json_proto [19:54:34]query_string will be loaded in cgi processing [19:54:34]execute_cgi json_proto POST (null) [19:54:34]execute_cgi path=json_proto method=POST [19:54:34]POST find Content-Length [19:54:34]Host: 172.17.53.196:8080 [19:54:34]Content-Length: 215 [19:54:34]Content-Type: application/json [19:54:34] [19:54:34]POST finish read [19:54:34]Found Content-Length = 215 [19:54:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:54:34]execute_script... [19:54:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:54:34]POST & json_proto [19:54:34]process_json_proto [19:54:34]json parsed OK: [19:54:34]protocol is kg_v1.0 [19:54:34]action value=get_value [19:54:34]process_action get_value [19:54:34]cmd_get_value [19:54:34]process_action get_value done [19:54:34]requested_data is exist [19:54:34]produce_requested_data [19:54:34]requested_item kkm.sn is exist - process it [19:54:34]requested_item kkm.ver is exist - process it [19:54:34]requested_item fm.sn is exist - process it [19:54:34]wFMCommunicate request_size=4 [19:54:34]MH_SAM_APDU [19:54:34]CAPDU: 80 11 00 00 [19:54:34]Write to MH i2c: E2 08 00 74 12 80 11 00 00 00 00 00 00 00 [19:54:34]Write i2c OK [19:54:34]MH_I2C_Read... [19:54:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:54:34]Read from MH i2c: E2 [19:54:34]MH_I2C_Read... [19:54:34]Read from MH i2c: E2 17 00 [19:54:34]MH_I2C_Read... [19:54:34]Read from MH i2c: E2 17 00 74 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 57 [19:54:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [19:54:34]wFMCommunicate OK [19:54:34]requested_item fd.num is exist - process it [19:54:34]SAM_PROTO_GetFieldsCounters [19:54:34]wFMCommunicate request_size=4 [19:54:34]MH_SAM_APDU [19:54:34]CAPDU: 80 13 00 00 [19:54:34]Write to MH i2c: E2 08 00 75 12 80 13 00 00 00 00 00 00 03 [19:54:34]Write i2c OK [19:54:34]MH_I2C_Read... [19:54:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:54:34]Read from MH i2c: E2 [19:54:34]MH_I2C_Read... [19:54:34]Read from MH i2c: E2 62 00 [19:54:34]MH_I2C_Read... [19:54:34]Read from MH i2c: E2 62 00 75 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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 46 61 00 00 0E 04 04 00 C7 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 4F [19:54:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 46 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:54:34]wFMCommunicate OK [19:54:34]SAM_PROTO_GetFieldsCounters done [19:54:34]requested_item shift.num is exist - process it [19:54:34]requested_item shift.opened is exist - process it [19:54:34]req_shift_opened [19:54:34]FM_GetShiftState [19:54:34]SAM_PROTO_GetShiftState [19:54:34]wFMCommunicate request_size=4 [19:54:34]MH_SAM_APDU [19:54:34]CAPDU: 80 13 01 00 [19:54:34]Write to MH i2c: E2 08 00 76 12 80 13 01 00 00 00 00 00 05 [19:54:34]Write i2c OK [19:54:34]MH_I2C_Read... [19:54:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:54:34]Read from MH i2c: E2 [19:54:34]MH_I2C_Read... [19:54:34]Read from MH i2c: E2 0E 00 [19:54:34]MH_I2C_Read... [19:54:34]Read from MH i2c: E2 0E 00 76 12 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 4B [19:54:34]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [19:54:34]wFMCommunicate OK [19:54:34]SAM_PROTO_GetShiftState done [19:54:34]FM_GetShiftState done [19:54:34]req_shift_opened done [19:54:34]requested_item shift.open_date is exist - process it [19:54:34]req_shift_open_date [19:54:34]req_shift_open_date done [19:54:34]produce_requested_data done [19:54:34]produce_requested_data return {"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":24902,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [19:54:34]process_action_free get_value [19:54:34]json_value_free [19:54:34]json_value_free done [19:54:34]process_json_proto returns [19:54:34]Send response to host [19:54:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":24902,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [19:54:34]free response buf [19:54:34]execute_script done [19:54:34]execute_script returns [19:54:34]free content buf [19:54:34]Sock 9.Close socket [19:54:34]Sock 9.Thread stoped [19:54:34]accept exits with 7 [19:54:34]New connection [19:54:34]New thread 3067166052 created [19:54:34]Thread 3067309412 joined [19:54:34]Waiting for new connection... [19:54:34] Sock 7.Parse request [19:54:34]Sock 7.Check first char [19:54:34]Sock 7.First char is OK [19:54:34]request: POST /json_proto HTTP/1.0 [19:54:34]Method: POST [19:54:34]URL: /json_proto [19:54:34]Method is POST - this is cgi request [19:54:34]url: /json_proto [19:54:34]query_string will be loaded in cgi processing [19:54:34]execute_cgi json_proto POST (null) [19:54:34]execute_cgi path=json_proto method=POST [19:54:34]POST find Content-Length [19:54:34]Host: 172.17.53.196:8080 [19:54:34]Content-Length: 331 [19:54:34]Content-Type: application/json [19:54:34] [19:54:34]POST finish read [19:54:34]Found Content-Length = 331 [19:54:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [19:54:34]execute_script... [19:54:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [19:54:34]POST & json_proto [19:54:34]process_json_proto [19:54:34]json parsed OK: [19:54:34]protocol is kg_v1.0 [19:54:34]action value=get_value [19:54:34]process_action get_value [19:54:34]cmd_get_value [19:54:34]process_action get_value done [19:54:34]requested_data is exist [19:54:34]produce_requested_data [19:54:34]requested_item fm.sale.total is exist - process it [19:54:34]SAM_PROTO_GetFMData [19:54:34]wFMCommunicate request_size=4 [19:54:34]MH_SAM_APDU [19:54:34]CAPDU: 80 13 03 00 [19:54:34]Write to MH i2c: E2 08 00 77 12 80 13 03 00 00 00 00 00 08 [19:54:34]Write i2c OK [19:54:34]MH_I2C_Read... [19:54:35]OFD Sender: No OFD packet to send [19:54:35]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [19:54:35]Read from MH i2c: E2 [19:54:35]MH_I2C_Read... [19:54:35]Read from MH i2c: E2 FD 00 [19:54:35]MH_I2C_Read... [19:54:35]Read from MH i2c: E2 FD 00 77 12 00 BF 04 85 04 BB 04 6E 04 04 00 B8 5D 00 00 69 04 A0 00 6F 04 04 00 AA 5D 00 00 B1 04 04 00 9C AE B4 14 70 04 04 00 80 E5 87 12 72 04 04 00 1C C9 2C 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 31 DF 32 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7D DD 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 90 [19:54:35]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 B8 5D 00 00 69 04 A0 00 6F 04 04 00 AA 5D 00 00 B1 04 04 00 9C AE B4 14 70 04 04 00 80 E5 87 12 72 04 04 00 1C C9 2C 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 31 DF 32 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7D DD 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 [19:54:35]wFMCommunicate OK [19:54:35]wFMCommunicate request_size=4 [19:54:35]MH_SAM_APDU [19:54:35]CAPDU: 80 17 00 00 [19:54:35]Write to MH i2c: E2 08 00 78 12 80 17 00 00 00 00 00 00 0A [19:54:35]Write i2c OK [19:54:35]MH_I2C_Read... [19:54:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:54:35]Read from MH i2c: E2 [19:54:35]MH_I2C_Read... [19:54:35]Read from MH i2c: E2 FD 00 [19:54:35]MH_I2C_Read... [19:54:35]Read from MH i2c: E2 FD 00 78 12 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 FC [19:54:35]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [19:54:35]wFMCommunicate OK [19:54:35]wFMCommunicate request_size=4 [19:54:35]MH_SAM_APDU [19:54:35]CAPDU: 80 17 00 00 [19:54:35]Write to MH i2c: E2 08 00 79 12 80 17 00 00 00 00 00 00 0B [19:54:35]Write i2c OK [19:54:35]MH_I2C_Read... [19:54:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:54:35]Read from MH i2c: E2 [19:54:35]MH_I2C_Read... [19:54:35]Read from MH i2c: E2 FD 00 [19:54:35]MH_I2C_Read... [19:54:35]Read from MH i2c: E2 FD 00 79 12 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 AF [19:54:35]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [19:54:35]wFMCommunicate OK [19:54:35]wFMCommunicate request_size=4 [19:54:35]MH_SAM_APDU [19:54:35]CAPDU: 80 17 00 00 [19:54:35]Write to MH i2c: E2 08 00 7A 12 80 17 00 00 00 00 00 00 0C [19:54:35]Write i2c OK [19:54:35]MH_I2C_Read... [19:54:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:54:36]Read from MH i2c: E2 [19:54:36]MH_I2C_Read... [19:54:36]Read from MH i2c: E2 FD 00 [19:54:36]MH_I2C_Read... [19:54:36]Read from MH i2c: E2 FD 00 7A 12 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 86 [19:54:36]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [19:54:36]wFMCommunicate OK [19:54:36]wFMCommunicate request_size=4 [19:54:36]MH_SAM_APDU [19:54:36]CAPDU: 80 17 00 00 [19:54:36]Write to MH i2c: E2 08 00 7B 12 80 17 00 00 00 00 00 00 0D [19:54:36]Write i2c OK [19:54:36]MH_I2C_Read... [19:54:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [19:54:36]Read from MH i2c: E2 [19:54:36]MH_I2C_Read... [19:54:36]Read from MH i2c: E2 DC 00 [19:54:36]MH_I2C_Read... [19:54:36]Read from MH i2c: E2 DC 00 7B 12 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [19:54:36]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [19:54:36]wFMCommunicate OK [19:54:36]SAM_PROTO_GetFMData done [19:54:36]requested_item fm.sale_refund.total is exist - process it [19:54:36]requested_item fm.buy.total is exist - process it [19:54:36]requested_item shift.sale.total is exist - process it [19:54:36]SAM_PROTO_GetShiftData [19:54:36]wFMCommunicate request_size=4 [19:54:36]MH_SAM_APDU [19:54:36]CAPDU: 80 13 02 00 [19:54:36]Write to MH i2c: E2 08 00 7C 12 80 13 02 00 00 00 00 00 0C [19:54:36]Write i2c OK [19:54:36]MH_I2C_Read... [19:54:36]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:54:36]Read from MH i2c: E2 [19:54:36]MH_I2C_Read... [19:54:36]Read from MH i2c: E2 FD 00 [19:54:36]MH_I2C_Read... [19:54:36]Read from MH i2c: E2 FD 00 7C 12 00 AE 04 AA 04 AA 04 6E 04 04 00 3C 00 00 00 69 04 9B 00 6F 04 04 00 3C 00 00 00 B1 04 03 00 84 C8 0D 70 04 03 00 08 A0 0C 72 04 03 00 7C 28 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AE 76 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 32 1F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 6D [19:54:36]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3C 00 00 00 69 04 9B 00 6F 04 04 00 3C 00 00 00 B1 04 03 00 84 C8 0D 70 04 03 00 08 A0 0C 72 04 03 00 7C 28 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AE 76 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 32 1F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [19:54:36]wFMCommunicate OK [19:54:36]wFMCommunicate request_size=4 [19:54:36]MH_SAM_APDU [19:54:36]CAPDU: 80 17 00 00 [19:54:36]Write to MH i2c: E2 08 00 7D 12 80 17 00 00 00 00 00 00 0F [19:54:36]Write i2c OK [19:54:36]MH_I2C_Read... [19:54:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:54:37]Read from MH i2c: E2 [19:54:37]MH_I2C_Read... [19:54:37]Read from MH i2c: E2 FD 00 [19:54:37]MH_I2C_Read... [19:54:37]Read from MH i2c: E2 FD 00 7D 12 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 31 [19:54:37]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [19:54:37]wFMCommunicate OK [19:54:37]wFMCommunicate request_size=4 [19:54:37]MH_SAM_APDU [19:54:37]CAPDU: 80 17 00 00 [19:54:37]Write to MH i2c: E2 08 00 7E 12 80 17 00 00 00 00 00 00 10 [19:54:37]Write i2c OK [19:54:37]MH_I2C_Read... [19:54:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:54:37]Read from MH i2c: E2 [19:54:37]MH_I2C_Read... [19:54:37]Read from MH i2c: E2 FD 00 [19:54:37]MH_I2C_Read... [19:54:37]Read from MH i2c: E2 FD 00 7E 12 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 C7 [19:54:37]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [19:54:37]wFMCommunicate OK [19:54:37]wFMCommunicate request_size=4 [19:54:37]MH_SAM_APDU [19:54:37]CAPDU: 80 17 00 00 [19:54:37]Write to MH i2c: E2 08 00 7F 12 80 17 00 00 00 00 00 00 11 [19:54:37]Write i2c OK [19:54:37]MH_I2C_Read... [19:54:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:54:37]Read from MH i2c: E2 [19:54:37]MH_I2C_Read... [19:54:37]Read from MH i2c: E2 FD 00 [19:54:37]MH_I2C_Read... [19:54:37]Read from MH i2c: E2 FD 00 7F 12 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 83 [19:54:37]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [19:54:37]wFMCommunicate OK [19:54:37]wFMCommunicate request_size=4 [19:54:37]MH_SAM_APDU [19:54:37]CAPDU: 80 17 00 00 [19:54:37]Write to MH i2c: E2 08 00 80 12 80 17 00 00 00 00 00 00 12 [19:54:37]Write i2c OK [19:54:37]MH_I2C_Read... [19:54:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [19:54:37]Read from MH i2c: E2 [19:54:37]MH_I2C_Read... [19:54:37]Read from MH i2c: E2 CB 00 [19:54:37]MH_I2C_Read... [19:54:37]Read from MH i2c: E2 CB 00 80 12 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 FB [19:54:37]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [19:54:37]wFMCommunicate OK [19:54:37]SAM_PROTO_GetShiftData done [19:54:37]requested_item shift.sale.total_cash is exist - process it [19:54:37]requested_item shift.sale_refund.total is exist - process it [19:54:37]requested_item shift.sale_refund.total_cash is exist - process it [19:54:37]requested_item shift.buy.total is exist - process it [19:54:37]requested_item shift.buy.total_cash is exist - process it [19:54:37]produce_requested_data done [19:54:37]produce_requested_data return {"fm.sale.total":3473855.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":9033.00,"shift.sale.total_cash":8274.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [19:54:37]process_action_free get_value [19:54:37]json_value_free [19:54:37]json_value_free done [19:54:37]process_json_proto returns [19:54:37]Send response to host [19:54:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3473855.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":9033.00,"shift.sale.total_cash":8274.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [19:54:37]free response buf [19:54:37]execute_script done [19:54:37]execute_script returns [19:54:37]free content buf [19:54:37]Sock 7.Close socket [19:54:37]Sock 7.Thread stoped [19:54:40]OFD Sender: No OFD packet to send [19:54:45]OFD Sender: No OFD packet to send [19:54:50]OFD Sender: No OFD packet to send [19:54:55]OFD Sender: No OFD packet to send [19:55:00]OFD Sender: No OFD packet to send [19:55:05]OFD Sender: No OFD packet to send [19:55:10]OFD Sender: No OFD packet to send [19:55:15]OFD Sender: No OFD packet to send [19:55:20]OFD Sender: No OFD packet to send [19:55:25]OFD Sender: No OFD packet to send [19:55:30]OFD Sender: No OFD packet to send [19:55:35]OFD Sender: No OFD packet to send [19:55:40]OFD Sender: No OFD packet to send [19:55:45]OFD Sender: No OFD packet to send [19:55:50]OFD Sender: No OFD packet to send [19:55:55]OFD Sender: No OFD packet to send [19:56:00]OFD Sender: No OFD packet to send [19:56:05]OFD Sender: No OFD packet to send [19:56:10]OFD Sender: No OFD packet to send [19:56:15]OFD Sender: No OFD packet to send [19:56:20]OFD Sender: No OFD packet to send [19:56:25]OFD Sender: No OFD packet to send [19:56:30]OFD Sender: No OFD packet to send [19:56:35]OFD Sender: No OFD packet to send [19:56:40]OFD Sender: No OFD packet to send [19:56:45]OFD Sender: No OFD packet to send [19:56:50]OFD Sender: No OFD packet to send [19:56:55]OFD Sender: No OFD packet to send [19:57:00]OFD Sender: No OFD packet to send [19:57:05]OFD Sender: No OFD packet to send [19:57:10]OFD Sender: No OFD packet to send [19:57:15]OFD Sender: No OFD packet to send [19:57:20]OFD Sender: No OFD packet to send [19:57:25]OFD Sender: No OFD packet to send [19:57:30]OFD Sender: No OFD packet to send [19:57:35]OFD Sender: No OFD packet to send [19:57:40]OFD Sender: No OFD packet to send [19:57:45]OFD Sender: No OFD packet to send [19:57:50]OFD Sender: No OFD packet to send [19:57:55]OFD Sender: No OFD packet to send [19:58:00]OFD Sender: No OFD packet to send [19:58:05]OFD Sender: No OFD packet to send [19:58:10]OFD Sender: No OFD packet to send [19:58:15]OFD Sender: No OFD packet to send [19:58:20]OFD Sender: No OFD packet to send [19:58:25]OFD Sender: No OFD packet to send [19:58:30]OFD Sender: No OFD packet to send [19:58:35]OFD Sender: No OFD packet to send [19:58:40]OFD Sender: No OFD packet to send [19:58:45]OFD Sender: No OFD packet to send [19:58:50]OFD Sender: No OFD packet to send [19:58:55]OFD Sender: No OFD packet to send [19:59:00]OFD Sender: No OFD packet to send [19:59:05]OFD Sender: No OFD packet to send [19:59:10]OFD Sender: No OFD packet to send [19:59:15]OFD Sender: No OFD packet to send [19:59:20]OFD Sender: No OFD packet to send [19:59:25]OFD Sender: No OFD packet to send [19:59:30]OFD Sender: No OFD packet to send [19:59:35]OFD Sender: No OFD packet to send [19:59:40]OFD Sender: No OFD packet to send [19:59:45]OFD Sender: No OFD packet to send [19:59:50]OFD Sender: No OFD packet to send [19:59:55]OFD Sender: No OFD packet to send [20:00:00]OFD Sender: No OFD packet to send [20:00:05]OFD Sender: No OFD packet to send [20:00:10]OFD Sender: No OFD packet to send [20:00:15]OFD Sender: No OFD packet to send [20:00:20]OFD Sender: No OFD packet to send [20:00:25]OFD Sender: No OFD packet to send [20:00:30]OFD Sender: No OFD packet to send [20:00:35]OFD Sender: No OFD packet to send [20:00:40]OFD Sender: No OFD packet to send [20:00:45]OFD Sender: No OFD packet to send [20:00:50]OFD Sender: No OFD packet to send [20:00:55]OFD Sender: No OFD packet to send [20:01:00]OFD Sender: No OFD packet to send [20:01:05]OFD Sender: No OFD packet to send [20:01:10]OFD Sender: No OFD packet to send [20:01:15]OFD Sender: No OFD packet to send [20:01:20]OFD Sender: No OFD packet to send [20:01:25]OFD Sender: No OFD packet to send [20:01:30]OFD Sender: No OFD packet to send [20:01:35]OFD Sender: No OFD packet to send [20:01:40]OFD Sender: No OFD packet to send [20:01:45]OFD Sender: No OFD packet to send [20:01:50]OFD Sender: No OFD packet to send [20:01:55]OFD Sender: No OFD packet to send [20:02:00]OFD Sender: No OFD packet to send [20:02:05]OFD Sender: No OFD packet to send [20:02:10]OFD Sender: No OFD packet to send [20:02:15]OFD Sender: No OFD packet to send [20:02:20]OFD Sender: No OFD packet to send [20:02:25]OFD Sender: No OFD packet to send [20:02:30]OFD Sender: No OFD packet to send [20:02:35]OFD Sender: No OFD packet to send [20:02:40]OFD Sender: No OFD packet to send [20:02:45]OFD Sender: No OFD packet to send [20:02:50]OFD Sender: No OFD packet to send [20:02:55]OFD Sender: No OFD packet to send [20:03:00]OFD Sender: No OFD packet to send [20:03:05]OFD Sender: No OFD packet to send [20:03:10]OFD Sender: No OFD packet to send [20:03:15]OFD Sender: No OFD packet to send [20:03:20]OFD Sender: No OFD packet to send [20:03:25]OFD Sender: No OFD packet to send [20:03:30]OFD Sender: No OFD packet to send [20:03:35]OFD Sender: No OFD packet to send [20:03:40]OFD Sender: No OFD packet to send [20:03:45]OFD Sender: No OFD packet to send [20:03:50]OFD Sender: No OFD packet to send [20:03:55]OFD Sender: No OFD packet to send [20:04:00]OFD Sender: No OFD packet to send [20:04:01]accept exits with 9 [20:04:01]New connection [20:04:01]New thread 3067309412 created [20:04:01]Thread 3067166052 joined [20:04:01]Waiting for new connection... [20:04:01] Sock 9.Parse request [20:04:01]Sock 9.Check first char [20:04:01]Sock 9.First char is OK [20:04:01]request: POST /json_proto HTTP/1.0 [20:04:01]Method: POST [20:04:01]URL: /json_proto [20:04:01]Method is POST - this is cgi request [20:04:01]url: /json_proto [20:04:01]query_string will be loaded in cgi processing [20:04:01]execute_cgi json_proto POST (null) [20:04:01]execute_cgi path=json_proto method=POST [20:04:01]POST find Content-Length [20:04:01]Host: 172.17.53.196:8080 [20:04:01]Content-Length: 653 [20:04:01]Content-Type: application/json [20:04:01] [20:04:01]POST finish read [20:04:01]Found Content-Length = 653 [20:04:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34663", "tax_sys" : 0, "items" : [ { "code": "42203100", "name": "\u0416\u0435\u0432 Orbit \u0431\u0430\u043D\u0430\u043D-\u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:04:01]execute_script... [20:04:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34663", "tax_sys" : 0, "items" : [ { "code": "42203100", "name": "\u0416\u0435\u0432 Orbit \u0431\u0430\u043D\u0430\u043D-\u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:04:01]POST & json_proto [20:04:01]process_json_proto [20:04:01]json parsed OK: [20:04:01]protocol is kg_v1.0 [20:04:01]action value=close_receipt [20:04:01]process_action close_receipt [20:04:01]cmd_close_receipt [20:04:01]MH_GetDate [20:04:01]Write to MH i2c: F0 00 00 81 12 82 [20:04:01]Write i2c OK [20:04:01]MH_I2C_Read... [20:04:01]Read from MH i2c: F0 [20:04:01]MH_I2C_Read... [20:04:01]Read from MH i2c: F0 09 00 [20:04:01]MH_I2C_Read... [20:04:01]Read from MH i2c: F0 09 00 81 12 00 36 62 15 67 4F CD 9A 65 BA [20:04:01]GetLastDocTimeStamp 1729453701 [20:04:01]current date 1729454646 [20:04:01]FM_GetShiftState [20:04:01]SAM_PROTO_GetShiftState [20:04:01]wFMCommunicate request_size=4 [20:04:01]MH_SAM_APDU [20:04:01]CAPDU: 80 13 01 00 [20:04:01]Write to MH i2c: E2 08 00 82 12 80 13 01 00 00 00 00 00 11 [20:04:01]Write i2c OK [20:04:01]MH_I2C_Read... [20:04:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:04:01]Read from MH i2c: E2 [20:04:01]MH_I2C_Read... [20:04:01]Read from MH i2c: E2 0E 00 [20:04:01]MH_I2C_Read... [20:04:01]Read from MH i2c: E2 0E 00 82 12 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 57 [20:04:01]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [20:04:01]wFMCommunicate OK [20:04:01]SAM_PROTO_GetShiftState done [20:04:01]FM_GetShiftState done [20:04:01]opened in 1729384049 [20:04:01]opened+sec_in_day 1729470449 [20:04:01]quantity*price = 4500 [20:04:01]sum+1 = 4501 [20:04:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 61 20.10.2024 20:04 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24903 ФПД: 57541113298432 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T200406&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24903&fm=57541113298432&tin=02508201610067®Number=0000000000098147&sum=4500 0 [20:04:03]StoreToDocumentArchive [20:04:03]shift 455 fd 24903 [20:04:03]save to /storage/0455/doc_00024903 [20:04:03]save last doc name /storage/0455/doc_00024903 to /storage/kkm_last_doc_name [20:04:03]save OK [20:04:03]Clear old archive folders... [20:04:03]ProcessDocumentItem done err = 0, tmpTLVsize=277 [20:04:03]tlvbuf is B6F181F0 [20:04:03]SAM_PROTO_ClearQueue [20:04:03]wFMCommunicate request_size=4 [20:04:03]MH_SAM_APDU [20:04:03]CAPDU: 80 09 00 00 [20:04:03]Write to MH i2c: E2 08 00 8F 12 80 09 00 00 00 00 00 00 13 [20:04:03]Write i2c OK [20:04:03]MH_I2C_Read... [20:04:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:04:03]Read from MH i2c: E2 [20:04:03]MH_I2C_Read... [20:04:03]Read from MH i2c: E2 03 00 [20:04:03]MH_I2C_Read... [20:04:03]Read from MH i2c: E2 03 00 8F 12 00 90 00 15 [20:04:03]RAPDU: 90 00 [20:04:03]wFMCommunicate OK [20:04:03]SAM_PROTO_ClearQueue done [20:04:03]KKMCreateOFDPacket [20:04:03]OFDProtocolAddRootSTLVToBuf [20:04:03]FM_MakeSignedData [20:04:03]FM_MakeSignedData [20:04:03]SAM_PROTO_SignData [20:04:03]wFMCommunicate request_size=4 [20:04:03]MH_SAM_APDU [20:04:03]CAPDU: 80 0D 01 02 [20:04:03]Write to MH i2c: E2 08 00 90 12 80 0D 01 02 00 00 00 00 1B [20:04:03]Write i2c OK [20:04:03]MH_I2C_Read... [20:04:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:04:03]Read from MH i2c: E2 [20:04:03]MH_I2C_Read... [20:04:03]Read from MH i2c: E2 03 00 [20:04:03]MH_I2C_Read... [20:04:03]Read from MH i2c: E2 03 00 90 12 00 90 00 16 [20:04:03]RAPDU: 90 00 [20:04:03]wFMCommunicate OK [20:04:03]wFMCommunicate request_size=255 [20:04:03]MH_SAM_APDU [20:04:03]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 36 62 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 [20:04:03]Write to MH i2c: E2 02 01 91 12 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 36 62 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 00 00 CC [20:04:03]Write i2c OK [20:04:03]MH_I2C_Read... [20:04:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:04:03]Read from MH i2c: E2 [20:04:03]MH_I2C_Read... [20:04:03]Read from MH i2c: E2 03 00 [20:04:03]MH_I2C_Read... [20:04:03]Read from MH i2c: E2 03 00 91 12 00 90 00 17 [20:04:03]RAPDU: 90 00 [20:04:03]wFMCommunicate OK [20:04:03]wFMCommunicate request_size=36 [20:04:03]MH_SAM_APDU [20:04:03]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 47 61 00 00 35 04 06 00 34 55 55 9E 3E 00 [20:04:03]Write to MH i2c: E2 27 00 92 12 80 0D 02 02 1F 00 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 47 61 00 00 35 04 06 00 34 55 55 9E 3E 00 00 00 A9 [20:04:03]Write i2c OK [20:04:03]MH_I2C_Read... [20:04:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:04:03]Read from MH i2c: E2 [20:04:03]MH_I2C_Read... [20:04:03]Read from MH i2c: E2 03 00 [20:04:03]MH_I2C_Read... [20:04:03]Read from MH i2c: E2 03 00 92 12 00 90 00 18 [20:04:03]RAPDU: 90 00 [20:04:03]wFMCommunicate OK [20:04:03]wFMCommunicate request_size=4 [20:04:03]MH_SAM_APDU [20:04:03]CAPDU: 80 0D 03 02 [20:04:03]Write to MH i2c: E2 08 00 93 12 80 0D 03 02 00 00 00 00 20 [20:04:03]Write i2c OK [20:04:03]MH_I2C_Read... [20:04:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:04:03]Read from MH i2c: E2 [20:04:03]MH_I2C_Read... [20:04:03]Read from MH i2c: E2 0B 00 [20:04:03]MH_I2C_Read... [20:04:03]Read from MH i2c: E2 0B 00 93 12 00 36 F4 7E 6A 94 8F 1C CB 90 00 3D [20:04:03]RAPDU: 36 F4 7E 6A 94 8F 1C CB 90 00 [20:04:03]wFMCommunicate OK [20:04:03]SAM_PROTO_SignData done [20:04:03]FM_MakeSignedData done [20:04:03]CreateOFDProtocolMessage [20:04:03]wFMCommunicate request_size=4 [20:04:03]MH_SAM_APDU [20:04:03]CAPDU: 80 11 00 00 [20:04:03]Write to MH i2c: E2 08 00 94 12 80 11 00 00 00 00 00 00 20 [20:04:03]Write i2c OK [20:04:03]MH_I2C_Read... [20:04:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:04:03]Read from MH i2c: E2 [20:04:03]MH_I2C_Read... [20:04:03]Read from MH i2c: E2 17 00 [20:04:03]MH_I2C_Read... [20:04:03]Read from MH i2c: E2 17 00 94 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 77 [20:04:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:04:03]wFMCommunicate OK [20:04:03]CreateOFDProtocolMessage done [20:04:03]OFDSenderStorePacket 24903 [20:04:03]StoreOFDPacket docnum=24903 [20:04:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 29 01 00 00 77 7B 21 01 4D C3 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 36 62 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 47 61 00 00 35 04 06 00 34 55 55 9E 3E 00 36 F4 7E 6A 94 8F 1C CB [20:04:03]CheckFolder [20:04:03]dirname=/storage/ofd_packets [20:04:03]CheckFolder done [20:04:03]ProducePacketName [20:04:03]name=ofd_packets/00024903 [20:04:03]NVStorageSaveData ofd_packets/00024903 [20:04:03]File name is /storage/ofd_packets/00024903 [20:04:03]Write 327 bytes [20:04:03]NVStorageSaveData done [20:04:03]OFDSenderStorePacket done [20:04:03]KKMCreateOFDPacket done [20:04:03]NVStorageSaveData kkm_last_timestamp [20:04:03]File name is /storage/kkm_last_timestamp [20:04:03]Write 4 bytes [20:04:03]NVStorageSaveData done [20:04:03]ExternCall_PrintAddStr [20:04:03]wPrintStart [20:04:03]Write to MH i2c: 01 00 00 95 12 A7 [20:04:03]Write i2c OK [20:04:03]MH_I2C_Read... [20:04:03]Read from MH i2c: 01 [20:04:03]MH_I2C_Read... [20:04:03]Read from MH i2c: 01 07 00 [20:04:03]MH_I2C_Read... [20:04:03]Read from MH i2c: 01 07 00 95 12 00 00 00 00 00 FF 0F BC [20:04:03]RasterBufferAndPrint [20:04:03]line Счет N : (3)34663 [20:04:03]line ИНН: 02508201610067 [20:04:03]line Контрольно-Кассовый Чек [20:04:03]line ПРОДАЖА [20:04:03]line Товар: 42203100 [20:04:03]line Жев Orbit банан-клубника [20:04:03]line 1.000 * 45.00 [20:04:03]line = 45.00 [20:04:03]line НДС 12% НСП 1% [20:04:03]line > о реализуемом товаре [20:04:03]line ИТОГО: 45.00 [20:04:03]line НСП 1% : 0.40 [20:04:03]line НДС 12% : 4.78 [20:04:03]line Наличными: 45.00 [20:04:03]line Безнал.: 0.00 [20:04:03]line Место: АЗС № 161 "Партнер Нефть" [20:04:03]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [20:04:03]line СНО: Общий режим [20:04:03]line Чек 61 20.10.2024 20:04 [20:04:03]line Смена: 455 ФФД: 1.0 [20:04:03]line ЗНМ: 0300000240 [20:04:03]line РНМ: 0000000000098147 [20:04:03]line Версия ККМ: 001 [20:04:03]line ФМ: 0000000000965376 [20:04:03]line ФД: 24903 [20:04:03]line ФПД: 57541113298432 [20:04:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T200406&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24903&fm=57541113298432&tin=02508201610067®Number=0000000000098147&sum=4500 [20:04:03]line 0 [20:04:03]written 0, free lines is 4095 [20:04:03]OFD Sender: Processing packet 24903 [packets to send 5, broken 4] [20:04:03]ProducePacketName [20:04:03]name=ofd_packets/00024903 [20:04:03]OFD Sender: To server: pG, [20:04:03]CommunicateWithHost lk.salyk.kg:30040 [20:04:03]ConnectInit lk.salyk.kg [20:04:03]Connected sock=10 [20:04:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 29 01 00 00 77 7B 21 01 4D C3 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 36 62 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 47 61 00 00 35 04 06 00 34 55 55 9E 3E 00 36 F4 7E 6A 94 8F 1C CB [20:04:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 97 C5 47 00 2F 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 33 37 36 10 04 04 00 47 61 00 00 F4 03 04 00 B5 0A 15 67 B6 04 01 00 00 3B 33 EE 1C 7F CF C1 CC [20:04:03]CommunicateWithHost err = 0 [20:04:03]CheckOFDResponse [20:04:03]1017 (14) - 77093643461234 [20:04:03]1041 (16) - 0000000000965376 [20:04:03]1040 (4) - 24903 [20:04:03]1012 (4) - 20.10.2024 13:50 [20:04:03]1206 (1) - 0 [20:04:03]OFD Sender: Remove packet 24903 [20:04:03]ProducePacketName [20:04:03]name=ofd_packets/00024903 [20:04:03]NVStorageDeleteData [20:04:03]Write to MH i2c: 01 00 00 BD 12 CF [20:04:03]Write i2c OK [20:04:03]MH_I2C_Read... [20:04:03]Read from MH i2c: 01 [20:04:03]MH_I2C_Read... [20:04:03]Read from MH i2c: 01 07 00 [20:04:03]MH_I2C_Read... [20:04:03]Read from MH i2c: 01 07 00 BD 12 00 00 00 00 00 CE 0C B0 [20:04:03]RasterBufferAndPrint [20:04:03]line [20:04:03]line [20:04:04]line [20:04:04]line [20:04:04]line [20:04:04]written 0, free lines is 3284 [20:04:04]process_action close_receipt done [20:04:04]requested_data is exist [20:04:04]produce_requested_data [20:04:04]requested_item fm.sn is exist - process it [20:04:04]wFMCommunicate request_size=4 [20:04:04]MH_SAM_APDU [20:04:04]CAPDU: 80 11 00 00 [20:04:04]Write to MH i2c: E2 08 00 C4 12 80 11 00 00 00 00 00 00 50 [20:04:04]Write i2c OK [20:04:04]MH_I2C_Read... [20:04:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:04:04]Read from MH i2c: E2 [20:04:04]MH_I2C_Read... [20:04:04]Read from MH i2c: E2 17 00 [20:04:04]MH_I2C_Read... [20:04:04]Read from MH i2c: E2 17 00 C4 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 A7 [20:04:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:04:04]wFMCommunicate OK [20:04:04]requested_item fd.num is exist - process it [20:04:04]SAM_PROTO_GetFieldsCounters [20:04:04]wFMCommunicate request_size=4 [20:04:04]MH_SAM_APDU [20:04:04]CAPDU: 80 13 00 00 [20:04:04]Write to MH i2c: E2 08 00 C5 12 80 13 00 00 00 00 00 00 53 [20:04:04]Write i2c OK [20:04:04]MH_I2C_Read... [20:04:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:04:04]Read from MH i2c: E2 [20:04:04]MH_I2C_Read... [20:04:04]Read from MH i2c: E2 62 00 [20:04:04]MH_I2C_Read... [20:04:04]Read from MH i2c: E2 62 00 C5 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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 47 61 00 00 0E 04 04 00 C7 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 A3 [20:04:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 47 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:04:04]wFMCommunicate OK [20:04:04]SAM_PROTO_GetFieldsCounters done [20:04:04]requested_item shift.num is exist - process it [20:04:04]requested_item shift.opened is exist - process it [20:04:04]req_shift_opened [20:04:04]FM_GetShiftState [20:04:04]SAM_PROTO_GetShiftState [20:04:04]wFMCommunicate request_size=4 [20:04:04]MH_SAM_APDU [20:04:04]CAPDU: 80 13 01 00 [20:04:04]Write to MH i2c: E2 08 00 C6 12 80 13 01 00 00 00 00 00 55 [20:04:04]Write i2c OK [20:04:04]MH_I2C_Read... [20:04:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:04:04]Read from MH i2c: E2 [20:04:04]MH_I2C_Read... [20:04:04]Read from MH i2c: E2 0E 00 [20:04:04]MH_I2C_Read... [20:04:04]Read from MH i2c: E2 0E 00 C6 12 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 9B [20:04:04]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [20:04:04]wFMCommunicate OK [20:04:04]SAM_PROTO_GetShiftState done [20:04:04]FM_GetShiftState done [20:04:04]req_shift_opened done [20:04:04]requested_item shift.open_date is exist - process it [20:04:04]req_shift_open_date [20:04:04]req_shift_open_date done [20:04:04]produce_requested_data done [20:04:04]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24903,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [20:04:04]process_action_free close_receipt [20:04:04]json_value_free [20:04:04]json_value_free done [20:04:04]process_json_proto returns [20:04:04]Send response to host [20:04:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24903,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [20:04:04]free response buf [20:04:04]execute_script done [20:04:04]execute_script returns [20:04:04]free content buf [20:04:04]Sock 9.Close socket [20:04:04]Sock 9.Thread stoped [20:04:04]OFD Sender: No OFD packet to send [20:04:09]OFD Sender: No OFD packet to send [20:04:14]OFD Sender: No OFD packet to send [20:04:19]OFD Sender: No OFD packet to send [20:04:24]OFD Sender: No OFD packet to send [20:04:29]OFD Sender: No OFD packet to send [20:04:34]OFD Sender: No OFD packet to send [20:04:39]OFD Sender: No OFD packet to send [20:04:44]OFD Sender: No OFD packet to send [20:04:49]OFD Sender: No OFD packet to send [20:04:54]OFD Sender: No OFD packet to send [20:04:59]OFD Sender: No OFD packet to send [20:05:04]OFD Sender: No OFD packet to send [20:05:09]OFD Sender: No OFD packet to send [20:05:14]OFD Sender: No OFD packet to send [20:05:19]OFD Sender: No OFD packet to send [20:05:24]OFD Sender: No OFD packet to send [20:05:29]OFD Sender: No OFD packet to send [20:05:34]OFD Sender: No OFD packet to send [20:05:39]OFD Sender: No OFD packet to send [20:05:44]OFD Sender: No OFD packet to send [20:05:49]OFD Sender: No OFD packet to send [20:05:54]OFD Sender: No OFD packet to send [20:05:59]OFD Sender: No OFD packet to send [20:06:04]OFD Sender: No OFD packet to send [20:06:06]accept exits with 7 [20:06:06]New connection [20:06:06]New thread 3067166052 created [20:06:06]Thread 3067309412 joined [20:06:06]Waiting for new connection... [20:06:06] Sock 7.Parse request [20:06:06]Sock 7.Check first char [20:06:06]Sock 7.First char is OK [20:06:06]request: POST /json_proto HTTP/1.0 [20:06:06]Method: POST [20:06:06]URL: /json_proto [20:06:06]Method is POST - this is cgi request [20:06:06]url: /json_proto [20:06:06]query_string will be loaded in cgi processing [20:06:06]execute_cgi json_proto POST (null) [20:06:06]execute_cgi path=json_proto method=POST [20:06:06]POST find Content-Length [20:06:06]Host: 172.17.53.196:8080 [20:06:06]Content-Length: 694 [20:06:06]Content-Type: application/json [20:06:06] [20:06:06]POST finish read [20:06:06]Found Content-Length = 694 [20:06:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34664", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 15.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:06:06]execute_script... [20:06: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)34664", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 15.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:06:06]POST & json_proto [20:06:06]process_json_proto [20:06:06]json parsed OK: [20:06:06]protocol is kg_v1.0 [20:06:06]action value=close_receipt [20:06:06]process_action close_receipt [20:06:06]cmd_close_receipt [20:06:06]MH_GetDate [20:06:06]Write to MH i2c: F0 00 00 C7 12 C8 [20:06:06]Write i2c OK [20:06:06]MH_I2C_Read... [20:06:06]Read from MH i2c: F0 [20:06:06]MH_I2C_Read... [20:06:06]Read from MH i2c: F0 09 00 [20:06:06]MH_I2C_Read... [20:06:06]Read from MH i2c: F0 09 00 C7 12 00 B3 62 15 67 4F CD 9A 65 7D [20:06:06]GetLastDocTimeStamp 1729454646 [20:06:06]current date 1729454771 [20:06:06]FM_GetShiftState [20:06:06]SAM_PROTO_GetShiftState [20:06:06]wFMCommunicate request_size=4 [20:06:06]MH_SAM_APDU [20:06:06]CAPDU: 80 13 01 00 [20:06:06]Write to MH i2c: E2 08 00 C8 12 80 13 01 00 00 00 00 00 57 [20:06:06]Write i2c OK [20:06:06]MH_I2C_Read... [20:06:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:06:07]Read from MH i2c: E2 [20:06:07]MH_I2C_Read... [20:06:07]Read from MH i2c: E2 0E 00 [20:06:07]MH_I2C_Read... [20:06:07]Read from MH i2c: E2 0E 00 C8 12 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 9D [20:06:07]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [20:06:07]wFMCommunicate OK [20:06:07]SAM_PROTO_GetShiftState done [20:06:07]FM_GetShiftState done [20:06:07]opened in 1729384049 [20:06:07]opened+sec_in_day 1729470449 [20:06:07]quantity*price = 1500 [20:06:07]sum+1 = 1501 [20:06:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 15.00 НСП 1% : 0.13 НДС 12% : 1.59 Наличными: 15.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 62 20.10.2024 20:06 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24904 ФПД: 182463211215226 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T200611&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24904&fm=182463211215226&tin=02508201610067®Number=0000000000098147&sum=1500 0 [20:06:08]StoreToDocumentArchive [20:06:08]shift 455 fd 24904 [20:06:08]save to /storage/0455/doc_00024904 [20:06:08]save last doc name /storage/0455/doc_00024904 to /storage/kkm_last_doc_name [20:06:08]save OK [20:06:08]Clear old archive folders... [20:06:08]ProcessDocumentItem done err = 0, tmpTLVsize=290 [20:06:08]tlvbuf is 00DDC430 [20:06:08]SAM_PROTO_ClearQueue [20:06:08]wFMCommunicate request_size=4 [20:06:08]MH_SAM_APDU [20:06:08]CAPDU: 80 09 00 00 [20:06:08]Write to MH i2c: E2 08 00 D5 12 80 09 00 00 00 00 00 00 59 [20:06:08]Write i2c OK [20:06:08]MH_I2C_Read... [20:06:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:06:08]Read from MH i2c: E2 [20:06:08]MH_I2C_Read... [20:06:08]Read from MH i2c: E2 03 00 [20:06:08]MH_I2C_Read... [20:06:08]Read from MH i2c: E2 03 00 D5 12 00 90 00 5B [20:06:08]RAPDU: 90 00 [20:06:08]wFMCommunicate OK [20:06:08]SAM_PROTO_ClearQueue done [20:06:08]KKMCreateOFDPacket [20:06:08]OFDProtocolAddRootSTLVToBuf [20:06:08]FM_MakeSignedData [20:06:08]FM_MakeSignedData [20:06:08]SAM_PROTO_SignData [20:06:08]wFMCommunicate request_size=4 [20:06:08]MH_SAM_APDU [20:06:08]CAPDU: 80 0D 01 02 [20:06:08]Write to MH i2c: E2 08 00 D6 12 80 0D 01 02 00 00 00 00 61 [20:06:08]Write i2c OK [20:06:08]MH_I2C_Read... [20:06:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:06:08]Read from MH i2c: E2 [20:06:08]MH_I2C_Read... [20:06:08]Read from MH i2c: E2 03 00 [20:06:08]MH_I2C_Read... [20:06:08]Read from MH i2c: E2 03 00 D6 12 00 90 00 5C [20:06:08]RAPDU: 90 00 [20:06:08]wFMCommunicate OK [20:06:08]wFMCommunicate request_size=255 [20:06:08]MH_SAM_APDU [20:06:08]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 B3 62 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [20:06:08]Write to MH i2c: E2 02 01 D7 12 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 B3 62 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 B6 [20:06:08]Write i2c OK [20:06:08]MH_I2C_Read... [20:06:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:06:08]Read from MH i2c: E2 [20:06:08]MH_I2C_Read... [20:06:08]Read from MH i2c: E2 03 00 [20:06:08]MH_I2C_Read... [20:06:08]Read from MH i2c: E2 03 00 D7 12 00 90 00 5D [20:06:08]RAPDU: 90 00 [20:06:08]wFMCommunicate OK [20:06:08]wFMCommunicate request_size=49 [20:06:08]MH_SAM_APDU [20:06:08]CAPDU: 80 0D 02 02 2C 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 48 61 00 00 35 04 06 00 A5 F3 06 E3 99 7A [20:06:08]Write to MH i2c: E2 34 00 D8 12 80 0D 02 02 2C 00 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 48 61 00 00 35 04 06 00 A5 F3 06 E3 99 7A 00 00 D6 [20:06:08]Write i2c OK [20:06:08]MH_I2C_Read... [20:06:08]Read from MH i2c: E2 [20:06:08]MH_I2C_Read... [20:06:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:06:08]Read from MH i2c: E2 03 00 [20:06:08]MH_I2C_Read... [20:06:08]Read from MH i2c: E2 03 00 D8 12 00 90 00 5E [20:06:08]RAPDU: 90 00 [20:06:08]wFMCommunicate OK [20:06:08]wFMCommunicate request_size=4 [20:06:08]MH_SAM_APDU [20:06:08]CAPDU: 80 0D 03 02 [20:06:08]Write to MH i2c: E2 08 00 D9 12 80 0D 03 02 00 00 00 00 66 [20:06:08]Write i2c OK [20:06:08]MH_I2C_Read... [20:06:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:06:08]Read from MH i2c: E2 [20:06:08]MH_I2C_Read... [20:06:08]Read from MH i2c: E2 0B 00 [20:06:08]MH_I2C_Read... [20:06:08]Read from MH i2c: E2 0B 00 D9 12 00 5B 8C 2E 69 59 0E 79 2E 90 00 F3 [20:06:08]RAPDU: 5B 8C 2E 69 59 0E 79 2E 90 00 [20:06:08]wFMCommunicate OK [20:06:08]SAM_PROTO_SignData done [20:06:08]FM_MakeSignedData done [20:06:08]CreateOFDProtocolMessage [20:06:08]wFMCommunicate request_size=4 [20:06:08]MH_SAM_APDU [20:06:08]CAPDU: 80 11 00 00 [20:06:08]Write to MH i2c: E2 08 00 DA 12 80 11 00 00 00 00 00 00 66 [20:06:08]Write i2c OK [20:06:08]MH_I2C_Read... [20:06:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:06:08]Read from MH i2c: E2 [20:06:08]MH_I2C_Read... [20:06:08]Read from MH i2c: E2 17 00 [20:06:08]MH_I2C_Read... [20:06:08]Read from MH i2c: E2 17 00 DA 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 BD [20:06:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:06:08]wFMCommunicate OK [20:06:08]CreateOFDProtocolMessage done [20:06:08]OFDSenderStorePacket 24904 [20:06:08]StoreOFDPacket docnum=24904 [20:06:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 36 01 00 00 09 9D 2E 01 4B 68 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 B3 62 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 48 61 00 00 35 04 06 00 A5 F3 06 E3 99 7A 5B 8C 2E 69 59 0E 79 2E [20:06:08]CheckFolder [20:06:08]dirname=/storage/ofd_packets [20:06:08]CheckFolder done [20:06:08]ProducePacketName [20:06:08]name=ofd_packets/00024904 [20:06:08]NVStorageSaveData ofd_packets/00024904 [20:06:08]File name is /storage/ofd_packets/00024904 [20:06:08]Write 340 bytes [20:06:08]NVStorageSaveData done [20:06:08]OFDSenderStorePacket done [20:06:08]KKMCreateOFDPacket done [20:06:08]NVStorageSaveData kkm_last_timestamp [20:06:08]File name is /storage/kkm_last_timestamp [20:06:08]Write 4 bytes [20:06:08]NVStorageSaveData done [20:06:08]ExternCall_PrintAddStr [20:06:08]wPrintStart [20:06:08]Write to MH i2c: 01 00 00 DB 12 ED [20:06:08]Write i2c OK [20:06:08]MH_I2C_Read... [20:06:08]Read from MH i2c: 01 [20:06:08]MH_I2C_Read... [20:06:08]Read from MH i2c: 01 07 00 [20:06:08]MH_I2C_Read... [20:06:08]Read from MH i2c: 01 07 00 DB 12 00 00 00 00 00 FF 0F 02 [20:06:08]RasterBufferAndPrint [20:06:08]line Счет N : (3)34664 [20:06:08]line ИНН: 02508201610067 [20:06:08]line Контрольно-Кассовый Чек [20:06:08]line ПРОДАЖА [20:06:08]line Товар: 4700000160013 [20:06:08]line Снек Курут индивидуальный [20:06:08]line 1.000 * 15.00 [20:06:08]line = 15.00 [20:06:08]line НДС 12% НСП 1% [20:06:08]line > о реализуемом товаре [20:06:08]line ИТОГО: 15.00 [20:06:08]line НСП 1% : 0.13 [20:06:08]line НДС 12% : 1.59 [20:06:08]line Наличными: 15.00 [20:06:08]line Безнал.: 0.00 [20:06:08]line Место: АЗС № 161 "Партнер Нефть" [20:06:08]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [20:06:08]line СНО: Общий режим [20:06:08]line Чек 62 20.10.2024 20:06 [20:06:08]line Смена: 455 ФФД: 1.0 [20:06:08]line ЗНМ: 0300000240 [20:06:08]line РНМ: 0000000000098147 [20:06:08]line Версия ККМ: 001 [20:06:08]line ФМ: 0000000000965376 [20:06:09]line ФД: 24904 [20:06:09]line ФПД: 182463211215226 [20:06:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T200611&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24904&fm=182463211215226&tin=02508201610067®Number=0000000000098147&sum=1500 [20:06:09]line 0 [20:06:09]OFD Sender: Processing packet 24904 [packets to send 5, broken 4] [20:06:09]ProducePacketName [20:06:09]name=ofd_packets/00024904 [20:06:09]OFD Sender: To server: pG, [20:06:09]CommunicateWithHost lk.salyk.kg:30040 [20:06:09]ConnectInit lk.salyk.kg [20:06:09]written 0, free lines is 4095 [20:06:09]Connected sock=10 [20:06:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 36 01 00 00 09 9D 2E 01 4B 68 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 B3 62 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 48 61 00 00 35 04 06 00 A5 F3 06 E3 99 7A 5B 8C 2E 69 59 0E 79 2E [20:06:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 5E 03 47 00 37 2B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 48 61 00 00 F4 03 04 00 32 0B 15 67 B6 04 01 00 00 AD 4A A0 3E 92 5F 4B C8 [20:06:09]CommunicateWithHost err = 0 [20:06:09]CheckOFDResponse [20:06:09]1017 (14) - 77093643461234 [20:06:09]1041 (16) - 0000000000965376 [20:06:09]1040 (4) - 24904 [20:06:09]1012 (4) - 20.10.2024 13:52 [20:06:09]1206 (1) - 0 [20:06:09]OFD Sender: Remove packet 24904 [20:06:09]ProducePacketName [20:06:09]name=ofd_packets/00024904 [20:06:09]NVStorageDeleteData [20:06:09]Write to MH i2c: 01 00 00 03 13 16 [20:06:09]Write i2c OK [20:06:09]MH_I2C_Read... [20:06:09]Read from MH i2c: 01 [20:06:09]MH_I2C_Read... [20:06:09]Read from MH i2c: 01 07 00 [20:06:09]MH_I2C_Read... [20:06:09]Read from MH i2c: 01 07 00 03 13 00 00 00 00 00 C9 0C F2 [20:06:09]RasterBufferAndPrint [20:06:09]line [20:06:09]line [20:06:09]line [20:06:09]line [20:06:09]line [20:06:09]written 0, free lines is 3278 [20:06:09]process_action close_receipt done [20:06:09]requested_data is exist [20:06:09]produce_requested_data [20:06:09]requested_item fm.sn is exist - process it [20:06:09]wFMCommunicate request_size=4 [20:06:09]MH_SAM_APDU [20:06:09]CAPDU: 80 11 00 00 [20:06:09]Write to MH i2c: E2 08 00 0A 13 80 11 00 00 00 00 00 00 97 [20:06:09]Write i2c OK [20:06:09]MH_I2C_Read... [20:06:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:06:09]Read from MH i2c: E2 [20:06:09]MH_I2C_Read... [20:06:09]Read from MH i2c: E2 17 00 [20:06:09]MH_I2C_Read... [20:06:09]Read from MH i2c: E2 17 00 0A 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 EE [20:06:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:06:09]wFMCommunicate OK [20:06:09]requested_item fd.num is exist - process it [20:06:09]SAM_PROTO_GetFieldsCounters [20:06:09]wFMCommunicate request_size=4 [20:06:09]MH_SAM_APDU [20:06:09]CAPDU: 80 13 00 00 [20:06:09]Write to MH i2c: E2 08 00 0B 13 80 13 00 00 00 00 00 00 9A [20:06:09]Write i2c OK [20:06:09]MH_I2C_Read... [20:06:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:06:09]Read from MH i2c: E2 [20:06:09]MH_I2C_Read... [20:06:09]Read from MH i2c: E2 62 00 [20:06:09]MH_I2C_Read... [20:06:09]Read from MH i2c: E2 62 00 0B 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 48 61 00 00 0E 04 04 00 C7 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 EE [20:06: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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 48 61 00 00 0E 04 04 00 C7 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 [20:06:09]wFMCommunicate OK [20:06:09]SAM_PROTO_GetFieldsCounters done [20:06:09]requested_item shift.num is exist - process it [20:06:09]requested_item shift.opened is exist - process it [20:06:09]req_shift_opened [20:06:09]FM_GetShiftState [20:06:09]SAM_PROTO_GetShiftState [20:06:09]wFMCommunicate request_size=4 [20:06:09]MH_SAM_APDU [20:06:09]CAPDU: 80 13 01 00 [20:06:09]Write to MH i2c: E2 08 00 0C 13 80 13 01 00 00 00 00 00 9C [20:06:09]Write i2c OK [20:06:09]MH_I2C_Read... [20:06:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:06:09]Read from MH i2c: E2 [20:06:09]MH_I2C_Read... [20:06:09]Read from MH i2c: E2 0E 00 [20:06:09]MH_I2C_Read... [20:06:09]Read from MH i2c: E2 0E 00 0C 13 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 E2 [20:06:09]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [20:06:09]wFMCommunicate OK [20:06:09]SAM_PROTO_GetShiftState done [20:06:09]FM_GetShiftState done [20:06:09]req_shift_opened done [20:06:09]requested_item shift.open_date is exist - process it [20:06:09]req_shift_open_date [20:06:09]req_shift_open_date done [20:06:09]produce_requested_data done [20:06:09]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24904,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [20:06:09]process_action_free close_receipt [20:06:09]json_value_free [20:06:09]json_value_free done [20:06:09]process_json_proto returns [20:06:09]Send response to host [20:06:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24904,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [20:06:09]free response buf [20:06:09]execute_script done [20:06:09]execute_script returns [20:06:09]free content buf [20:06:09]Sock 7.Close socket [20:06:09]Sock 7.Thread stoped [20:06:09]OFD Sender: No OFD packet to send [20:06:14]OFD Sender: No OFD packet to send [20:06:19]OFD Sender: No OFD packet to send [20:06:24]OFD Sender: No OFD packet to send [20:06:29]OFD Sender: No OFD packet to send [20:06:34]OFD Sender: No OFD packet to send [20:06:39]OFD Sender: No OFD packet to send [20:06:44]OFD Sender: No OFD packet to send [20:06:49]OFD Sender: No OFD packet to send [20:06:54]OFD Sender: No OFD packet to send [20:06:56]accept exits with 9 [20:06:56]New connection [20:06:56]New thread 3067309412 created [20:06:56]Thread 3067166052 joined [20:06:56]Waiting for new connection... [20:06:56] Sock 9.Parse request [20:06:56]Sock 9.Check first char [20:06:56]Sock 9.First char is OK [20:06:56]request: POST /json_proto HTTP/1.0 [20:06:56]Method: POST [20:06:56]URL: /json_proto [20:06:56]Method is POST - this is cgi request [20:06:56]url: /json_proto [20:06:56]query_string will be loaded in cgi processing [20:06:56]execute_cgi json_proto POST (null) [20:06:56]execute_cgi path=json_proto method=POST [20:06:56]POST find Content-Length [20:06:56]Host: 172.17.53.196:8080 [20:06:56]Content-Length: 671 [20:06:56]Content-Type: application/json [20:06:56] [20:06:56]POST finish read [20:06:56]Found Content-Length = 671 [20:06:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34665", "tax_sys" : 0, "items" : [ { "code": "4000512994909", "name": "\u0440\u0401\u044C\u0445\u044B\u0440\u0444 \u0401\u044E\u044B\u044B\u0448 \u0401\u0443\u0445\u0401 \u0448\u044D\u0448", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 44.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:06:56]execute_script... [20:06: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)34665", "tax_sys" : 0, "items" : [ { "code": "4000512994909", "name": "\u0440\u0401\u044C\u0445\u044B\u0440\u0444 \u0401\u044E\u044B\u044B\u0448 \u0401\u0443\u0445\u0401 \u0448\u044D\u0448", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 44.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:06:56]POST & json_proto [20:06:56]process_json_proto [20:06:56]json parsed OK: [20:06:56]protocol is kg_v1.0 [20:06:56]action value=close_receipt [20:06:56]process_action close_receipt [20:06:56]cmd_close_receipt [20:06:56]MH_GetDate [20:06:56]Write to MH i2c: F0 00 00 0D 13 0F [20:06:56]Write i2c OK [20:06:56]MH_I2C_Read... [20:06:56]Read from MH i2c: F0 [20:06:56]MH_I2C_Read... [20:06:56]Read from MH i2c: F0 09 00 [20:06:56]MH_I2C_Read... [20:06:56]Read from MH i2c: F0 09 00 0D 13 00 E5 62 15 67 4F CD 9A 65 F6 [20:06:56]GetLastDocTimeStamp 1729454771 [20:06:56]current date 1729454821 [20:06:56]FM_GetShiftState [20:06:56]SAM_PROTO_GetShiftState [20:06:56]wFMCommunicate request_size=4 [20:06:56]MH_SAM_APDU [20:06:56]CAPDU: 80 13 01 00 [20:06:56]Write to MH i2c: E2 08 00 0E 13 80 13 01 00 00 00 00 00 9E [20:06:56]Write i2c OK [20:06:56]MH_I2C_Read... [20:06:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:06:57]Read from MH i2c: E2 [20:06:57]MH_I2C_Read... [20:06:57]Read from MH i2c: E2 0E 00 [20:06:57]MH_I2C_Read... [20:06:57]Read from MH i2c: E2 0E 00 0E 13 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 E4 [20:06:57]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [20:06:57]wFMCommunicate OK [20:06:57]SAM_PROTO_GetShiftState done [20:06:57]FM_GetShiftState done [20:06:57]opened in 1729384049 [20:06:57]opened+sec_in_day 1729470449 [20:06:57]quantity*price = 4400 [20:06:57]sum+1 = 4401 [20:06:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 44.00 НСП 1% : 0.39 НДС 12% : 4.67 Наличными: 44.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 63 20.10.2024 20:07 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24905 ФПД: 70695952729794 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T200701&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24905&fm=70695952729794&tin=02508201610067®Number=0000000000098147&sum=4400 0 [20:06:58]StoreToDocumentArchive [20:06:58]shift 455 fd 24905 [20:06:58]save to /storage/0455/doc_00024905 [20:06:58]save last doc name /storage/0455/doc_00024905 to /storage/kkm_last_doc_name [20:06:58]save OK [20:06:58]Clear old archive folders... [20:06:58]ProcessDocumentItem done err = 0, tmpTLVsize=283 [20:06:58]tlvbuf is 00DDC1D0 [20:06:58]SAM_PROTO_ClearQueue [20:06:58]wFMCommunicate request_size=4 [20:06:58]MH_SAM_APDU [20:06:58]CAPDU: 80 09 00 00 [20:06:58]Write to MH i2c: E2 08 00 1B 13 80 09 00 00 00 00 00 00 A0 [20:06:58]Write i2c OK [20:06:58]MH_I2C_Read... [20:06:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:06:58]Read from MH i2c: E2 [20:06:58]MH_I2C_Read... [20:06:58]Read from MH i2c: E2 03 00 [20:06:58]MH_I2C_Read... [20:06:58]Read from MH i2c: E2 03 00 1B 13 00 90 00 A2 [20:06:58]RAPDU: 90 00 [20:06:58]wFMCommunicate OK [20:06:58]SAM_PROTO_ClearQueue done [20:06:58]KKMCreateOFDPacket [20:06:58]OFDProtocolAddRootSTLVToBuf [20:06:58]FM_MakeSignedData [20:06:58]FM_MakeSignedData [20:06:58]SAM_PROTO_SignData [20:06:58]wFMCommunicate request_size=4 [20:06:58]MH_SAM_APDU [20:06:58]CAPDU: 80 0D 01 02 [20:06:58]Write to MH i2c: E2 08 00 1C 13 80 0D 01 02 00 00 00 00 A8 [20:06:58]Write i2c OK [20:06:58]MH_I2C_Read... [20:06:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:06:58]Read from MH i2c: E2 [20:06:58]MH_I2C_Read... [20:06:58]Read from MH i2c: E2 03 00 [20:06:58]MH_I2C_Read... [20:06:58]Read from MH i2c: E2 03 00 1C 13 00 90 00 A3 [20:06:58]RAPDU: 90 00 [20:06:58]wFMCommunicate OK [20:06:58]wFMCommunicate request_size=255 [20:06:58]MH_SAM_APDU [20:06:58]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 E5 62 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 [20:06:58]Write to MH i2c: E2 02 01 1D 13 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 E5 62 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 00 00 4A [20:06:58]Write i2c OK [20:06:58]MH_I2C_Read... [20:06:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:06:58]Read from MH i2c: E2 [20:06:58]MH_I2C_Read... [20:06:58]Read from MH i2c: E2 03 00 [20:06:58]MH_I2C_Read... [20:06:58]Read from MH i2c: E2 03 00 1D 13 00 90 00 A4 [20:06:58]RAPDU: 90 00 [20:06:58]wFMCommunicate OK [20:06:58]wFMCommunicate request_size=42 [20:06:58]MH_SAM_APDU [20:06:58]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 49 61 00 00 35 04 06 00 40 4C 2F 26 46 C2 [20:06:58]Write to MH i2c: E2 2D 00 1E 13 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 49 61 00 00 35 04 06 00 40 4C 2F 26 46 C2 00 00 17 [20:06:58]Write i2c OK [20:06:58]MH_I2C_Read... [20:06:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:06:58]Read from MH i2c: E2 [20:06:58]MH_I2C_Read... [20:06:58]Read from MH i2c: E2 03 00 [20:06:58]MH_I2C_Read... [20:06:58]Read from MH i2c: E2 03 00 1E 13 00 90 00 A5 [20:06:58]RAPDU: 90 00 [20:06:58]wFMCommunicate OK [20:06:58]wFMCommunicate request_size=4 [20:06:58]MH_SAM_APDU [20:06:58]CAPDU: 80 0D 03 02 [20:06:58]Write to MH i2c: E2 08 00 1F 13 80 0D 03 02 00 00 00 00 AD [20:06:58]Write i2c OK [20:06:58]MH_I2C_Read... [20:06:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:06:58]Read from MH i2c: E2 [20:06:58]MH_I2C_Read... [20:06:58]Read from MH i2c: E2 0B 00 [20:06:58]MH_I2C_Read... [20:06:58]Read from MH i2c: E2 0B 00 1F 13 00 1E 7E 03 67 A4 8C 3B 1B 90 00 3A [20:06:58]RAPDU: 1E 7E 03 67 A4 8C 3B 1B 90 00 [20:06:58]wFMCommunicate OK [20:06:58]SAM_PROTO_SignData done [20:06:58]FM_MakeSignedData done [20:06:58]CreateOFDProtocolMessage [20:06:58]wFMCommunicate request_size=4 [20:06:58]MH_SAM_APDU [20:06:58]CAPDU: 80 11 00 00 [20:06:58]Write to MH i2c: E2 08 00 20 13 80 11 00 00 00 00 00 00 AD [20:06:58]Write i2c OK [20:06:58]MH_I2C_Read... [20:06:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:06:58]Read from MH i2c: E2 [20:06:58]MH_I2C_Read... [20:06:58]Read from MH i2c: E2 17 00 [20:06:58]MH_I2C_Read... [20:06:58]Read from MH i2c: E2 17 00 20 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 04 [20:06:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:06:58]wFMCommunicate OK [20:06:58]CreateOFDProtocolMessage done [20:06:58]OFDSenderStorePacket 24905 [20:06:58]StoreOFDPacket docnum=24905 [20:06:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2F 01 00 00 48 74 27 01 B4 4C 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 E5 62 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 49 61 00 00 35 04 06 00 40 4C 2F 26 46 C2 1E 7E 03 67 A4 8C 3B 1B [20:06:58]CheckFolder [20:06:58]dirname=/storage/ofd_packets [20:06:58]CheckFolder done [20:06:58]ProducePacketName [20:06:58]name=ofd_packets/00024905 [20:06:58]NVStorageSaveData ofd_packets/00024905 [20:06:58]File name is /storage/ofd_packets/00024905 [20:06:58]Write 333 bytes [20:06:58]NVStorageSaveData done [20:06:58]OFDSenderStorePacket done [20:06:58]KKMCreateOFDPacket done [20:06:58]NVStorageSaveData kkm_last_timestamp [20:06:58]File name is /storage/kkm_last_timestamp [20:06:58]Write 4 bytes [20:06:58]NVStorageSaveData done [20:06:58]ExternCall_PrintAddStr [20:06:58]wPrintStart [20:06:58]Write to MH i2c: 01 00 00 21 13 34 [20:06:58]Write i2c OK [20:06:58]MH_I2C_Read... [20:06:58]Read from MH i2c: 01 [20:06:58]MH_I2C_Read... [20:06:58]Read from MH i2c: 01 07 00 [20:06:58]MH_I2C_Read... [20:06:58]Read from MH i2c: 01 07 00 21 13 00 00 00 00 00 FF 0F 49 [20:06:58]RasterBufferAndPrint [20:06:58]line Счет N : (3)34665 [20:06:58]line ИНН: 02508201610067 [20:06:58]line Контрольно-Кассовый Чек [20:06:58]line ПРОДАЖА [20:06:58]line Товар: 4000512994909 [20:06:58]line рЁьхырф Ёюыыш ЁухЁ шэш [20:06:58]line 1.000 * 44.00 [20:06:58]line = 44.00 [20:06:58]line НДС 12% НСП 1% [20:06:58]line > о реализуемом товаре [20:06:58]line ИТОГО: 44.00 [20:06:58]line НСП 1% : 0.39 [20:06:58]line НДС 12% : 4.67 [20:06:58]line Наличными: 44.00 [20:06:58]line Безнал.: 0.00 [20:06:58]line Место: АЗС № 161 "Партнер Нефть" [20:06:58]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [20:06:58]line СНО: Общий режим [20:06:58]line Чек 63 20.10.2024 20:07 [20:06:58]line Смена: 455 ФФД: 1.0 [20:06:58]line ЗНМ: 0300000240 [20:06:58]line РНМ: 0000000000098147 [20:06:58]line Версия ККМ: 001 [20:06:58]line ФМ: 0000000000965376 [20:06:58]line ФД: 24905 [20:06:58]line ФПД: 70695952729794 [20:06:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T200701&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24905&fm=70695952729794&tin=02508201610067®Number=0000000000098147&sum=4400 [20:06:59]line 0 [20:06:59]OFD Sender: Processing packet 24905 [packets to send 5, broken 4] [20:06:59]ProducePacketName [20:06:59]name=ofd_packets/00024905 [20:06:59]OFD Sender: To server: pG, [20:06:59]CommunicateWithHost lk.salyk.kg:30040 [20:06:59]ConnectInit lk.salyk.kg [20:06:59]written 0, free lines is 4095 [20:06:59]Connected sock=10 [20:06:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2F 01 00 00 48 74 27 01 B4 4C 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 E5 62 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 49 61 00 00 35 04 06 00 40 4C 2F 26 46 C2 1E 7E 03 67 A4 8C 3B 1B [20:06:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 35 8A 47 00 72 1D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 49 61 00 00 F4 03 04 00 64 0B 15 67 B6 04 01 00 00 E2 5D 8E 80 B3 8B A7 3E [20:06:59]CommunicateWithHost err = 0 [20:06:59]CheckOFDResponse [20:06:59]1017 (14) - 77093643461234 [20:06:59]1041 (16) - 0000000000965376 [20:06:59]1040 (4) - 24905 [20:06:59]1012 (4) - 20.10.2024 13:53 [20:06:59]1206 (1) - 0 [20:06:59]OFD Sender: Remove packet 24905 [20:06:59]ProducePacketName [20:06:59]name=ofd_packets/00024905 [20:06:59]NVStorageDeleteData [20:06:59]Write to MH i2c: 01 00 00 49 13 5C [20:06:59]Write i2c OK [20:06:59]MH_I2C_Read... [20:06:59]Read from MH i2c: 01 [20:06:59]MH_I2C_Read... [20:06:59]Read from MH i2c: 01 07 00 [20:06:59]MH_I2C_Read... [20:06:59]Read from MH i2c: 01 07 00 49 13 00 00 00 00 00 C7 0C 36 [20:06:59]RasterBufferAndPrint [20:06:59]line [20:06:59]line [20:06:59]line [20:06:59]line [20:06:59]line [20:06:59]written 0, free lines is 3276 [20:06:59]process_action close_receipt done [20:06:59]requested_data is exist [20:06:59]produce_requested_data [20:06:59]requested_item fm.sn is exist - process it [20:06:59]wFMCommunicate request_size=4 [20:06:59]MH_SAM_APDU [20:06:59]CAPDU: 80 11 00 00 [20:06:59]Write to MH i2c: E2 08 00 50 13 80 11 00 00 00 00 00 00 DD [20:06:59]Write i2c OK [20:06:59]MH_I2C_Read... [20:06:59]Read from MH i2c: E2 [20:06:59]MH_I2C_Read... [20:06:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:06:59]Read from MH i2c: E2 17 00 [20:06:59]MH_I2C_Read... [20:06:59]Read from MH i2c: E2 17 00 50 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 34 [20:06:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:06:59]wFMCommunicate OK [20:06:59]requested_item fd.num is exist - process it [20:06:59]SAM_PROTO_GetFieldsCounters [20:06:59]wFMCommunicate request_size=4 [20:06:59]MH_SAM_APDU [20:06:59]CAPDU: 80 13 00 00 [20:06:59]Write to MH i2c: E2 08 00 51 13 80 13 00 00 00 00 00 00 E0 [20:06:59]Write i2c OK [20:06:59]MH_I2C_Read... [20:06:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:06:59]Read from MH i2c: E2 [20:06:59]MH_I2C_Read... [20:06:59]Read from MH i2c: E2 62 00 [20:06:59]MH_I2C_Read... [20:06:59]Read from MH i2c: E2 62 00 51 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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 49 61 00 00 0E 04 04 00 C7 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 38 [20:06:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 49 61 00 00 0E 04 04 00 C7 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 [20:06:59]wFMCommunicate OK [20:06:59]SAM_PROTO_GetFieldsCounters done [20:06:59]requested_item shift.num is exist - process it [20:06:59]requested_item shift.opened is exist - process it [20:06:59]req_shift_opened [20:06:59]FM_GetShiftState [20:06:59]SAM_PROTO_GetShiftState [20:06:59]wFMCommunicate request_size=4 [20:06:59]MH_SAM_APDU [20:06:59]CAPDU: 80 13 01 00 [20:06:59]Write to MH i2c: E2 08 00 52 13 80 13 01 00 00 00 00 00 E2 [20:06:59]Write i2c OK [20:06:59]MH_I2C_Read... [20:06:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:06:59]Read from MH i2c: E2 [20:06:59]MH_I2C_Read... [20:06:59]Read from MH i2c: E2 0E 00 [20:06:59]MH_I2C_Read... [20:06:59]Read from MH i2c: E2 0E 00 52 13 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 28 [20:06:59]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [20:06:59]wFMCommunicate OK [20:06:59]SAM_PROTO_GetShiftState done [20:06:59]FM_GetShiftState done [20:06:59]req_shift_opened done [20:06:59]requested_item shift.open_date is exist - process it [20:06:59]req_shift_open_date [20:06:59]req_shift_open_date done [20:06:59]produce_requested_data done [20:06:59]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24905,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [20:06:59]process_action_free close_receipt [20:06:59]json_value_free [20:06:59]json_value_free done [20:06:59]process_json_proto returns [20:06:59]Send response to host [20:06:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24905,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [20:06:59]free response buf [20:06:59]execute_script done [20:06:59]execute_script returns [20:06:59]free content buf [20:06:59]Sock 9.Close socket [20:06:59]Sock 9.Thread stoped [20:06:59]OFD Sender: No OFD packet to send [20:07:04]OFD Sender: No OFD packet to send [20:07:09]OFD Sender: No OFD packet to send [20:07:14]OFD Sender: No OFD packet to send [20:07:19]OFD Sender: No OFD packet to send [20:07:24]OFD Sender: No OFD packet to send [20:07:29]OFD Sender: No OFD packet to send [20:07:34]OFD Sender: No OFD packet to send [20:07:39]OFD Sender: No OFD packet to send [20:07:44]OFD Sender: No OFD packet to send [20:07:49]OFD Sender: No OFD packet to send [20:07:54]OFD Sender: No OFD packet to send [20:07:59]OFD Sender: No OFD packet to send [20:08:04]OFD Sender: No OFD packet to send [20:08:09]OFD Sender: No OFD packet to send [20:08:14]OFD Sender: No OFD packet to send [20:08:19]OFD Sender: No OFD packet to send [20:08:24]OFD Sender: No OFD packet to send [20:08:29]OFD Sender: No OFD packet to send [20:08:34]OFD Sender: No OFD packet to send [20:08:39]OFD Sender: No OFD packet to send [20:08:44]OFD Sender: No OFD packet to send [20:08:49]OFD Sender: No OFD packet to send [20:08:54]OFD Sender: No OFD packet to send [20:08:59]OFD Sender: No OFD packet to send [20:09:04]OFD Sender: No OFD packet to send [20:09:09]OFD Sender: No OFD packet to send [20:09:14]OFD Sender: No OFD packet to send [20:09:19]OFD Sender: No OFD packet to send [20:09:24]OFD Sender: No OFD packet to send [20:09:29]OFD Sender: No OFD packet to send [20:09:34]OFD Sender: No OFD packet to send [20:09:39]OFD Sender: No OFD packet to send [20:09:44]OFD Sender: No OFD packet to send [20:09:49]OFD Sender: No OFD packet to send [20:09:54]OFD Sender: No OFD packet to send [20:09:59]OFD Sender: No OFD packet to send [20:10:04]OFD Sender: No OFD packet to send [20:10:09]OFD Sender: No OFD packet to send [20:10:14]OFD Sender: No OFD packet to send [20:10:19]OFD Sender: No OFD packet to send [20:10:24]OFD Sender: No OFD packet to send [20:10:29]OFD Sender: No OFD packet to send [20:10:34]OFD Sender: No OFD packet to send [20:10:39]OFD Sender: No OFD packet to send [20:10:45]OFD Sender: No OFD packet to send [20:10:50]OFD Sender: No OFD packet to send [20:10:55]OFD Sender: No OFD packet to send [20:11:00]OFD Sender: No OFD packet to send [20:11:05]OFD Sender: No OFD packet to send [20:11:10]OFD Sender: No OFD packet to send [20:11:15]OFD Sender: No OFD packet to send [20:11:20]OFD Sender: No OFD packet to send [20:11:25]OFD Sender: No OFD packet to send [20:11:30]OFD Sender: No OFD packet to send [20:11:35]OFD Sender: No OFD packet to send [20:11:40]OFD Sender: No OFD packet to send [20:11:45]OFD Sender: No OFD packet to send [20:11:50]OFD Sender: No OFD packet to send [20:11:55]OFD Sender: No OFD packet to send [20:12:00]OFD Sender: No OFD packet to send [20:12:05]OFD Sender: No OFD packet to send [20:12:10]OFD Sender: No OFD packet to send [20:12:15]OFD Sender: No OFD packet to send [20:12:20]OFD Sender: No OFD packet to send [20:12:25]OFD Sender: No OFD packet to send [20:12:30]OFD Sender: No OFD packet to send [20:12:35]OFD Sender: No OFD packet to send [20:12:40]OFD Sender: No OFD packet to send [20:12:45]OFD Sender: No OFD packet to send [20:12:50]OFD Sender: No OFD packet to send [20:12:55]OFD Sender: No OFD packet to send [20:13:00]OFD Sender: No OFD packet to send [20:13:05]OFD Sender: No OFD packet to send [20:13:10]OFD Sender: No OFD packet to send [20:13:15]OFD Sender: No OFD packet to send [20:13:20]OFD Sender: No OFD packet to send [20:13:25]OFD Sender: No OFD packet to send [20:13:30]OFD Sender: No OFD packet to send [20:13:35]OFD Sender: No OFD packet to send [20:13:40]OFD Sender: No OFD packet to send [20:13:45]OFD Sender: No OFD packet to send [20:13:50]OFD Sender: No OFD packet to send [20:13:55]OFD Sender: No OFD packet to send [20:14:00]OFD Sender: No OFD packet to send [20:14:05]OFD Sender: No OFD packet to send [20:14:10]OFD Sender: No OFD packet to send [20:14:15]OFD Sender: No OFD packet to send [20:14:20]OFD Sender: No OFD packet to send [20:14:25]OFD Sender: No OFD packet to send [20:14:30]OFD Sender: No OFD packet to send [20:14:35]OFD Sender: No OFD packet to send [20:14:40]OFD Sender: No OFD packet to send [20:14:45]OFD Sender: No OFD packet to send [20:14:50]OFD Sender: No OFD packet to send [20:14:55]OFD Sender: No OFD packet to send [20:15:00]OFD Sender: No OFD packet to send [20:15:05]OFD Sender: No OFD packet to send [20:15:10]OFD Sender: No OFD packet to send [20:15:15]OFD Sender: No OFD packet to send [20:15:20]OFD Sender: No OFD packet to send [20:15:25]OFD Sender: No OFD packet to send [20:15:30]OFD Sender: No OFD packet to send [20:15:35]OFD Sender: No OFD packet to send [20:15:40]OFD Sender: No OFD packet to send [20:15:45]OFD Sender: No OFD packet to send [20:15:50]OFD Sender: No OFD packet to send [20:15:55]OFD Sender: No OFD packet to send [20:16:00]OFD Sender: No OFD packet to send [20:16:05]OFD Sender: No OFD packet to send [20:16:10]OFD Sender: No OFD packet to send [20:16:15]OFD Sender: No OFD packet to send [20:16:20]OFD Sender: No OFD packet to send [20:16:25]OFD Sender: No OFD packet to send [20:16:30]OFD Sender: No OFD packet to send [20:16:35]OFD Sender: No OFD packet to send [20:16:40]OFD Sender: No OFD packet to send [20:16:45]OFD Sender: No OFD packet to send [20:16:50]OFD Sender: No OFD packet to send [20:16:55]OFD Sender: No OFD packet to send [20:17:00]OFD Sender: No OFD packet to send [20:17:05]OFD Sender: No OFD packet to send [20:17:10]OFD Sender: No OFD packet to send [20:17:15]OFD Sender: No OFD packet to send [20:17:20]OFD Sender: No OFD packet to send [20:17:25]OFD Sender: No OFD packet to send [20:17:30]OFD Sender: No OFD packet to send [20:17:35]OFD Sender: No OFD packet to send [20:17:40]OFD Sender: No OFD packet to send [20:17:45]OFD Sender: No OFD packet to send [20:17:50]OFD Sender: No OFD packet to send [20:17:55]OFD Sender: No OFD packet to send [20:18:00]OFD Sender: No OFD packet to send [20:18:05]OFD Sender: No OFD packet to send [20:18:10]OFD Sender: No OFD packet to send [20:18:15]OFD Sender: No OFD packet to send [20:18:20]OFD Sender: No OFD packet to send [20:18:25]OFD Sender: No OFD packet to send [20:18:30]OFD Sender: No OFD packet to send [20:18:35]OFD Sender: No OFD packet to send [20:18:40]OFD Sender: No OFD packet to send [20:18:45]OFD Sender: No OFD packet to send [20:18:50]OFD Sender: No OFD packet to send [20:18:55]OFD Sender: No OFD packet to send [20:19:00]OFD Sender: No OFD packet to send [20:19:05]OFD Sender: No OFD packet to send [20:19:10]OFD Sender: No OFD packet to send [20:19:15]OFD Sender: No OFD packet to send [20:19:20]OFD Sender: No OFD packet to send [20:19:25]OFD Sender: No OFD packet to send [20:19:30]OFD Sender: No OFD packet to send [20:19:35]OFD Sender: No OFD packet to send [20:19:40]OFD Sender: No OFD packet to send [20:19:45]OFD Sender: No OFD packet to send [20:19:50]OFD Sender: No OFD packet to send [20:19:55]OFD Sender: No OFD packet to send [20:20:00]OFD Sender: No OFD packet to send [20:20:05]OFD Sender: No OFD packet to send [20:20:10]OFD Sender: No OFD packet to send [20:20:15]OFD Sender: No OFD packet to send [20:20:20]OFD Sender: No OFD packet to send [20:20:25]OFD Sender: No OFD packet to send [20:20:30]OFD Sender: No OFD packet to send [20:20:35]OFD Sender: No OFD packet to send [20:20:40]OFD Sender: No OFD packet to send [20:20:45]OFD Sender: No OFD packet to send [20:20:50]OFD Sender: No OFD packet to send [20:20:55]OFD Sender: No OFD packet to send [20:21:00]OFD Sender: No OFD packet to send [20:21:05]OFD Sender: No OFD packet to send [20:21:10]OFD Sender: No OFD packet to send [20:21:15]OFD Sender: No OFD packet to send [20:21:20]OFD Sender: No OFD packet to send [20:21:25]OFD Sender: No OFD packet to send [20:21:30]OFD Sender: No OFD packet to send [20:21:35]OFD Sender: No OFD packet to send [20:21:40]OFD Sender: No OFD packet to send [20:21:45]OFD Sender: No OFD packet to send [20:21:50]OFD Sender: No OFD packet to send [20:21:55]OFD Sender: No OFD packet to send [20:22:00]OFD Sender: No OFD packet to send [20:22:05]OFD Sender: No OFD packet to send [20:22:10]OFD Sender: No OFD packet to send [20:22:15]OFD Sender: No OFD packet to send [20:22:20]OFD Sender: No OFD packet to send [20:22:25]OFD Sender: No OFD packet to send [20:22:30]OFD Sender: No OFD packet to send [20:22:35]OFD Sender: No OFD packet to send [20:22:40]OFD Sender: No OFD packet to send [20:22:45]OFD Sender: No OFD packet to send [20:22:50]OFD Sender: No OFD packet to send [20:22:55]OFD Sender: No OFD packet to send [20:23:00]OFD Sender: No OFD packet to send [20:23:05]OFD Sender: No OFD packet to send [20:23:10]OFD Sender: No OFD packet to send [20:23:15]OFD Sender: No OFD packet to send [20:23:20]OFD Sender: No OFD packet to send [20:23:25]OFD Sender: No OFD packet to send [20:23:30]OFD Sender: No OFD packet to send [20:23:35]OFD Sender: No OFD packet to send [20:23:40]OFD Sender: No OFD packet to send [20:23:45]OFD Sender: No OFD packet to send [20:23:50]OFD Sender: No OFD packet to send [20:23:55]OFD Sender: No OFD packet to send [20:24:00]OFD Sender: No OFD packet to send [20:24:05]OFD Sender: No OFD packet to send [20:24:10]OFD Sender: No OFD packet to send [20:24:15]OFD Sender: No OFD packet to send [20:24:20]OFD Sender: No OFD packet to send [20:24:25]OFD Sender: No OFD packet to send [20:24:30]OFD Sender: No OFD packet to send [20:24:35]OFD Sender: No OFD packet to send [20:24:40]OFD Sender: No OFD packet to send [20:24:45]OFD Sender: No OFD packet to send [20:24:50]OFD Sender: No OFD packet to send [20:24:55]OFD Sender: No OFD packet to send [20:25:00]OFD Sender: No OFD packet to send [20:25:05]OFD Sender: No OFD packet to send [20:25:10]OFD Sender: No OFD packet to send [20:25:15]OFD Sender: No OFD packet to send [20:25:20]OFD Sender: No OFD packet to send [20:25:25]OFD Sender: No OFD packet to send [20:25:30]OFD Sender: No OFD packet to send [20:25:35]OFD Sender: No OFD packet to send [20:25:40]OFD Sender: No OFD packet to send [20:25:45]OFD Sender: No OFD packet to send [20:25:50]OFD Sender: No OFD packet to send [20:25:55]OFD Sender: No OFD packet to send [20:26:00]OFD Sender: No OFD packet to send [20:26:05]OFD Sender: No OFD packet to send [20:26:10]OFD Sender: No OFD packet to send [20:26:15]OFD Sender: No OFD packet to send [20:26:20]OFD Sender: No OFD packet to send [20:26:25]OFD Sender: No OFD packet to send [20:26:30]OFD Sender: No OFD packet to send [20:26:35]OFD Sender: No OFD packet to send [20:26:40]OFD Sender: No OFD packet to send [20:26:45]OFD Sender: No OFD packet to send [20:26:50]OFD Sender: No OFD packet to send [20:26:55]OFD Sender: No OFD packet to send [20:27:00]OFD Sender: No OFD packet to send [20:27:05]OFD Sender: No OFD packet to send [20:27:10]OFD Sender: No OFD packet to send [20:27:15]OFD Sender: No OFD packet to send [20:27:20]OFD Sender: No OFD packet to send [20:27:25]OFD Sender: No OFD packet to send [20:27:30]OFD Sender: No OFD packet to send [20:27:35]OFD Sender: No OFD packet to send [20:27:40]OFD Sender: No OFD packet to send [20:27:45]OFD Sender: No OFD packet to send [20:27:50]OFD Sender: No OFD packet to send [20:27:55]OFD Sender: No OFD packet to send [20:28:00]OFD Sender: No OFD packet to send [20:28:05]OFD Sender: No OFD packet to send [20:28:10]OFD Sender: No OFD packet to send [20:28:15]OFD Sender: No OFD packet to send [20:28:20]OFD Sender: No OFD packet to send [20:28:25]OFD Sender: No OFD packet to send [20:28:30]OFD Sender: No OFD packet to send [20:28:35]OFD Sender: No OFD packet to send [20:28:40]OFD Sender: No OFD packet to send [20:28:45]OFD Sender: No OFD packet to send [20:28:50]OFD Sender: No OFD packet to send [20:28:55]OFD Sender: No OFD packet to send [20:29:00]OFD Sender: No OFD packet to send [20:29:05]OFD Sender: No OFD packet to send [20:29:10]OFD Sender: No OFD packet to send [20:29:15]OFD Sender: No OFD packet to send [20:29:20]OFD Sender: No OFD packet to send [20:29:25]OFD Sender: No OFD packet to send [20:29:30]OFD Sender: No OFD packet to send [20:29:35]OFD Sender: No OFD packet to send [20:29:40]OFD Sender: No OFD packet to send [20:29:45]OFD Sender: No OFD packet to send [20:29:50]OFD Sender: No OFD packet to send [20:29:55]OFD Sender: No OFD packet to send [20:30:00]OFD Sender: No OFD packet to send [20:30:05]OFD Sender: No OFD packet to send [20:30:10]OFD Sender: No OFD packet to send [20:30:15]OFD Sender: No OFD packet to send [20:30:20]OFD Sender: No OFD packet to send [20:30:25]OFD Sender: No OFD packet to send [20:30:30]OFD Sender: No OFD packet to send [20:30:35]OFD Sender: No OFD packet to send [20:30:40]OFD Sender: No OFD packet to send [20:30:45]OFD Sender: No OFD packet to send [20:30:50]OFD Sender: No OFD packet to send [20:30:55]OFD Sender: No OFD packet to send [20:31:00]OFD Sender: No OFD packet to send [20:31:05]OFD Sender: No OFD packet to send [20:31:10]OFD Sender: No OFD packet to send [20:31:15]OFD Sender: No OFD packet to send [20:31:20]OFD Sender: No OFD packet to send [20:31:25]OFD Sender: No OFD packet to send [20:31:30]OFD Sender: No OFD packet to send [20:31:35]OFD Sender: No OFD packet to send [20:31:40]OFD Sender: No OFD packet to send [20:31:45]OFD Sender: No OFD packet to send [20:31:50]OFD Sender: No OFD packet to send [20:31:55]OFD Sender: No OFD packet to send [20:32:00]OFD Sender: No OFD packet to send [20:32:05]OFD Sender: No OFD packet to send [20:32:10]OFD Sender: No OFD packet to send [20:32:15]OFD Sender: No OFD packet to send [20:32:21]OFD Sender: No OFD packet to send [20:32:26]OFD Sender: No OFD packet to send [20:32:31]OFD Sender: No OFD packet to send [20:32:36]OFD Sender: No OFD packet to send [20:32:41]OFD Sender: No OFD packet to send [20:32:46]OFD Sender: No OFD packet to send [20:32:51]OFD Sender: No OFD packet to send [20:32:56]OFD Sender: No OFD packet to send [20:33:01]OFD Sender: No OFD packet to send [20:33:06]OFD Sender: No OFD packet to send [20:33:11]OFD Sender: No OFD packet to send [20:33:16]OFD Sender: No OFD packet to send [20:33:21]OFD Sender: No OFD packet to send [20:33:26]OFD Sender: No OFD packet to send [20:33:31]OFD Sender: No OFD packet to send [20:33:36]OFD Sender: No OFD packet to send [20:33:41]OFD Sender: No OFD packet to send [20:33:46]OFD Sender: No OFD packet to send [20:33:51]OFD Sender: No OFD packet to send [20:33:56]OFD Sender: No OFD packet to send [20:34:01]OFD Sender: No OFD packet to send [20:34:06]OFD Sender: No OFD packet to send [20:34:06]accept exits with 7 [20:34:06]New connection [20:34:06]New thread 3067166052 created [20:34:06]Thread 3067309412 joined [20:34:06]Waiting for new connection... [20:34:06] Sock 7.Parse request [20:34:06]Sock 7.Check first char [20:34:06]Sock 7.First char is OK [20:34:06]request: POST /json_proto HTTP/1.0 [20:34:06]Method: POST [20:34:06]URL: /json_proto [20:34:06]Method is POST - this is cgi request [20:34:06]url: /json_proto [20:34:06]query_string will be loaded in cgi processing [20:34:06]execute_cgi json_proto POST (null) [20:34:06]execute_cgi path=json_proto method=POST [20:34:06]POST find Content-Length [20:34:06]Host: 172.17.53.196:8080 [20:34:06]Content-Length: 620 [20:34:06]Content-Type: application/json [20:34:06] [20:34:06]POST finish read [20:34:06]Found Content-Length = 620 [20:34:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34666", "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" ] } } [20:34:06]execute_script... [20:34:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34666", "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" ] } } [20:34:06]POST & json_proto [20:34:06]process_json_proto [20:34:06]json parsed OK: [20:34:06]protocol is kg_v1.0 [20:34:06]action value=close_receipt [20:34:06]process_action close_receipt [20:34:06]cmd_close_receipt [20:34:06]MH_GetDate [20:34:06]Write to MH i2c: F0 00 00 53 13 55 [20:34:06]Write i2c OK [20:34:06]MH_I2C_Read... [20:34:06]Read from MH i2c: F0 [20:34:06]MH_I2C_Read... [20:34:06]Read from MH i2c: F0 09 00 [20:34:06]MH_I2C_Read... [20:34:06]Read from MH i2c: F0 09 00 53 13 00 43 69 15 67 4F CD 9A 65 A1 [20:34:06]GetLastDocTimeStamp 1729454821 [20:34:06]current date 1729456451 [20:34:06]FM_GetShiftState [20:34:06]SAM_PROTO_GetShiftState [20:34:06]wFMCommunicate request_size=4 [20:34:06]MH_SAM_APDU [20:34:06]CAPDU: 80 13 01 00 [20:34:06]Write to MH i2c: E2 08 00 54 13 80 13 01 00 00 00 00 00 E4 [20:34:06]Write i2c OK [20:34:06]MH_I2C_Read... [20:34:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:34:06]Read from MH i2c: E2 [20:34:06]MH_I2C_Read... [20:34:06]Read from MH i2c: E2 0E 00 [20:34:06]MH_I2C_Read... [20:34:06]Read from MH i2c: E2 0E 00 54 13 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 2A [20:34:06]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [20:34:06]wFMCommunicate OK [20:34:06]SAM_PROTO_GetShiftState done [20:34:06]FM_GetShiftState done [20:34:06]opened in 1729384049 [20:34:06]opened+sec_in_day 1729470449 [20:34:06]quantity*price = 14400 [20:34:06]sum+1 = 14401 [20:34:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 64 20.10.2024 20:34 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24906 ФПД: 124553834640348 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T203411&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24906&fm=124553834640348&tin=02508201610067®Number=0000000000098147&sum=14400 0 [20:34:08]StoreToDocumentArchive [20:34:08]shift 455 fd 24906 [20:34:08]save to /storage/0455/doc_00024906 [20:34:08]save last doc name /storage/0455/doc_00024906 to /storage/kkm_last_doc_name [20:34:08]save OK [20:34:08]Clear old archive folders... [20:34:08]ProcessDocumentItem done err = 0, tmpTLVsize=273 [20:34:08]tlvbuf is 00E14DB0 [20:34:08]SAM_PROTO_ClearQueue [20:34:08]wFMCommunicate request_size=4 [20:34:08]MH_SAM_APDU [20:34:08]CAPDU: 80 09 00 00 [20:34:08]Write to MH i2c: E2 08 00 61 13 80 09 00 00 00 00 00 00 E6 [20:34:08]Write i2c OK [20:34:08]MH_I2C_Read... [20:34:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:34:08]Read from MH i2c: E2 [20:34:08]MH_I2C_Read... [20:34:08]Read from MH i2c: E2 03 00 [20:34:08]MH_I2C_Read... [20:34:08]Read from MH i2c: E2 03 00 61 13 00 90 00 E8 [20:34:08]RAPDU: 90 00 [20:34:08]wFMCommunicate OK [20:34:08]SAM_PROTO_ClearQueue done [20:34:08]KKMCreateOFDPacket [20:34:08]OFDProtocolAddRootSTLVToBuf [20:34:08]FM_MakeSignedData [20:34:08]FM_MakeSignedData [20:34:08]SAM_PROTO_SignData [20:34:08]wFMCommunicate request_size=4 [20:34:08]MH_SAM_APDU [20:34:08]CAPDU: 80 0D 01 02 [20:34:08]Write to MH i2c: E2 08 00 62 13 80 0D 01 02 00 00 00 00 EE [20:34:08]Write i2c OK [20:34:08]MH_I2C_Read... [20:34:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:34:08]Read from MH i2c: E2 [20:34:08]MH_I2C_Read... [20:34:08]Read from MH i2c: E2 03 00 [20:34:08]MH_I2C_Read... [20:34:08]Read from MH i2c: E2 03 00 62 13 00 90 00 E9 [20:34:08]RAPDU: 90 00 [20:34:08]wFMCommunicate OK [20:34:08]wFMCommunicate request_size=255 [20:34:08]MH_SAM_APDU [20:34:08]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 40 00 00 00 F4 03 04 00 43 69 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 [20:34:08]Write to MH i2c: E2 02 01 63 13 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 40 00 00 00 F4 03 04 00 43 69 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 00 00 8C [20:34:08]Write i2c OK [20:34:08]MH_I2C_Read... [20:34:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:34:08]Read from MH i2c: E2 [20:34:08]MH_I2C_Read... [20:34:08]Read from MH i2c: E2 03 00 [20:34:08]MH_I2C_Read... [20:34:08]Read from MH i2c: E2 03 00 63 13 00 90 00 EA [20:34:08]RAPDU: 90 00 [20:34:08]wFMCommunicate OK [20:34:08]wFMCommunicate request_size=32 [20:34:08]MH_SAM_APDU [20:34:08]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 36 10 04 04 00 4A 61 00 00 35 04 06 00 71 47 F3 11 B3 DC [20:34:08]Write to MH i2c: E2 23 00 64 13 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 36 10 04 04 00 4A 61 00 00 35 04 06 00 71 47 F3 11 B3 DC 00 00 48 [20:34:08]Write i2c OK [20:34:08]MH_I2C_Read... [20:34:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:34:08]Read from MH i2c: E2 [20:34:08]MH_I2C_Read... [20:34:08]Read from MH i2c: E2 03 00 [20:34:08]MH_I2C_Read... [20:34:08]Read from MH i2c: E2 03 00 64 13 00 90 00 EB [20:34:08]RAPDU: 90 00 [20:34:08]wFMCommunicate OK [20:34:08]wFMCommunicate request_size=4 [20:34:08]MH_SAM_APDU [20:34:08]CAPDU: 80 0D 03 02 [20:34:08]Write to MH i2c: E2 08 00 65 13 80 0D 03 02 00 00 00 00 F3 [20:34:08]Write i2c OK [20:34:08]MH_I2C_Read... [20:34:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:34:08]Read from MH i2c: E2 [20:34:08]MH_I2C_Read... [20:34:08]Read from MH i2c: E2 0B 00 [20:34:08]MH_I2C_Read... [20:34:08]Read from MH i2c: E2 0B 00 65 13 00 60 2B 14 E1 F9 BC E5 03 90 00 11 [20:34:08]RAPDU: 60 2B 14 E1 F9 BC E5 03 90 00 [20:34:08]wFMCommunicate OK [20:34:08]SAM_PROTO_SignData done [20:34:08]FM_MakeSignedData done [20:34:08]CreateOFDProtocolMessage [20:34:08]wFMCommunicate request_size=4 [20:34:08]MH_SAM_APDU [20:34:08]CAPDU: 80 11 00 00 [20:34:08]Write to MH i2c: E2 08 00 66 13 80 11 00 00 00 00 00 00 F3 [20:34:08]Write i2c OK [20:34:08]MH_I2C_Read... [20:34:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:34:08]Read from MH i2c: E2 [20:34:08]MH_I2C_Read... [20:34:08]Read from MH i2c: E2 17 00 [20:34:08]MH_I2C_Read... [20:34:08]Read from MH i2c: E2 17 00 66 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 4A [20:34:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:34:08]wFMCommunicate OK [20:34:08]CreateOFDProtocolMessage done [20:34:08]OFDSenderStorePacket 24906 [20:34:08]StoreOFDPacket docnum=24906 [20:34:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 ED 22 1D 01 0F 2B 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 40 00 00 00 F4 03 04 00 43 69 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4A 61 00 00 35 04 06 00 71 47 F3 11 B3 DC 60 2B 14 E1 F9 BC E5 03 [20:34:08]CheckFolder [20:34:08]dirname=/storage/ofd_packets [20:34:08]CheckFolder done [20:34:08]ProducePacketName [20:34:08]name=ofd_packets/00024906 [20:34:08]NVStorageSaveData ofd_packets/00024906 [20:34:08]File name is /storage/ofd_packets/00024906 [20:34:08]Write 323 bytes [20:34:08]NVStorageSaveData done [20:34:08]OFDSenderStorePacket done [20:34:08]KKMCreateOFDPacket done [20:34:08]NVStorageSaveData kkm_last_timestamp [20:34:08]File name is /storage/kkm_last_timestamp [20:34:08]Write 4 bytes [20:34:08]NVStorageSaveData done [20:34:08]ExternCall_PrintAddStr [20:34:08]wPrintStart [20:34:08]Write to MH i2c: 01 00 00 67 13 7A [20:34:08]Write i2c OK [20:34:08]MH_I2C_Read... [20:34:08]Read from MH i2c: 01 [20:34:08]MH_I2C_Read... [20:34:08]Read from MH i2c: 01 07 00 [20:34:08]MH_I2C_Read... [20:34:08]Read from MH i2c: 01 07 00 67 13 00 00 00 00 00 FF 0F 8F [20:34:08]RasterBufferAndPrint [20:34:08]line Счет N : (3)34666 [20:34:08]line ИНН: 02508201610067 [20:34:08]line Контрольно-Кассовый Чек [20:34:08]line ПРОДАЖА [20:34:08]line Товар: 48743570 [20:34:08]line Сигареты Winston XStyle Blue [20:34:08]line 1.000 * 144.00 [20:34:08]line = 144.00 [20:34:08]line НДС 12% НСП 1% [20:34:08]line > о реализуемом товаре [20:34:08]line ИТОГО: 144.00 [20:34:08]line НСП 1% : 1.27 [20:34:08]line НДС 12% : 15.29 [20:34:08]line Наличными: 144.00 [20:34:08]line Безнал.: 0.00 [20:34:08]line Место: АЗС № 161 "Партнер Нефть" [20:34:08]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [20:34:08]line СНО: Общий режим [20:34:08]line Чек 64 20.10.2024 20:34 [20:34:08]line Смена: 455 ФФД: 1.0 [20:34:08]line ЗНМ: 0300000240 [20:34:08]line РНМ: 0000000000098147 [20:34:08]line Версия ККМ: 001 [20:34:08]line ФМ: 0000000000965376 [20:34:08]line ФД: 24906 [20:34:08]line ФПД: 124553834640348 [20:34:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T203411&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24906&fm=124553834640348&tin=02508201610067®Number=0000000000098147&sum=14400 [20:34:08]line 0 [20:34:08]OFD Sender: Processing packet 24906 [packets to send 5, broken 4] [20:34:08]ProducePacketName [20:34:08]name=ofd_packets/00024906 [20:34:08]OFD Sender: To server: pG, [20:34:08]CommunicateWithHost lk.salyk.kg:30040 [20:34:08]ConnectInit lk.salyk.kg [20:34:08]written 0, free lines is 4095 [20:34:09]Connected sock=10 [20:34:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 ED 22 1D 01 0F 2B 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 40 00 00 00 F4 03 04 00 43 69 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4A 61 00 00 35 04 06 00 71 47 F3 11 B3 DC 60 2B 14 E1 F9 BC E5 03 [20:34:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 72 F4 47 00 4B 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 33 37 36 10 04 04 00 4A 61 00 00 F4 03 04 00 C2 11 15 67 B6 04 01 00 00 03 B8 38 FC 41 85 0E D9 [20:34:09]CommunicateWithHost err = 0 [20:34:09]CheckOFDResponse [20:34:09]1017 (14) - 77093643461234 [20:34:09]1041 (16) - 0000000000965376 [20:34:09]1040 (4) - 24906 [20:34:09]1012 (4) - 20.10.2024 14:20 [20:34:09]1206 (1) - 0 [20:34:09]OFD Sender: Remove packet 24906 [20:34:09]ProducePacketName [20:34:09]name=ofd_packets/00024906 [20:34:09]NVStorageDeleteData [20:34:09]Write to MH i2c: 01 00 00 8F 13 A2 [20:34:09]Write i2c OK [20:34:09]MH_I2C_Read... [20:34:09]Read from MH i2c: 01 [20:34:09]MH_I2C_Read... [20:34:09]Read from MH i2c: 01 07 00 [20:34:09]MH_I2C_Read... [20:34:09]Read from MH i2c: 01 07 00 8F 13 00 00 00 00 00 C9 0C 7E [20:34:09]RasterBufferAndPrint [20:34:09]line [20:34:09]line [20:34:09]line [20:34:09]line [20:34:09]line [20:34:09]written 0, free lines is 3278 [20:34:09]process_action close_receipt done [20:34:09]requested_data is exist [20:34:09]produce_requested_data [20:34:09]requested_item fm.sn is exist - process it [20:34:09]wFMCommunicate request_size=4 [20:34:09]MH_SAM_APDU [20:34:09]CAPDU: 80 11 00 00 [20:34:09]Write to MH i2c: E2 08 00 96 13 80 11 00 00 00 00 00 00 23 [20:34:09]Write i2c OK [20:34:09]MH_I2C_Read... [20:34:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:34:09]Read from MH i2c: E2 [20:34:09]MH_I2C_Read... [20:34:09]Read from MH i2c: E2 17 00 [20:34:09]MH_I2C_Read... [20:34:09]Read from MH i2c: E2 17 00 96 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 7A [20:34:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:34:09]wFMCommunicate OK [20:34:09]requested_item fd.num is exist - process it [20:34:09]SAM_PROTO_GetFieldsCounters [20:34:09]wFMCommunicate request_size=4 [20:34:09]MH_SAM_APDU [20:34:09]CAPDU: 80 13 00 00 [20:34:09]Write to MH i2c: E2 08 00 97 13 80 13 00 00 00 00 00 00 26 [20:34:09]Write i2c OK [20:34:09]MH_I2C_Read... [20:34:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:34:09]Read from MH i2c: E2 [20:34:09]MH_I2C_Read... [20:34:09]Read from MH i2c: E2 62 00 [20:34:09]MH_I2C_Read... [20:34:09]Read from MH i2c: E2 62 00 97 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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 4A 61 00 00 0E 04 04 00 C7 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 82 [20:34: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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 4A 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:34:09]wFMCommunicate OK [20:34:09]SAM_PROTO_GetFieldsCounters done [20:34:09]requested_item shift.num is exist - process it [20:34:09]requested_item shift.opened is exist - process it [20:34:09]req_shift_opened [20:34:09]FM_GetShiftState [20:34:09]SAM_PROTO_GetShiftState [20:34:09]wFMCommunicate request_size=4 [20:34:09]MH_SAM_APDU [20:34:09]CAPDU: 80 13 01 00 [20:34:09]Write to MH i2c: E2 08 00 98 13 80 13 01 00 00 00 00 00 28 [20:34:09]Write i2c OK [20:34:09]MH_I2C_Read... [20:34:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:34:09]Read from MH i2c: E2 [20:34:09]MH_I2C_Read... [20:34:09]Read from MH i2c: E2 0E 00 [20:34:09]MH_I2C_Read... [20:34:09]Read from MH i2c: E2 0E 00 98 13 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 6E [20:34:09]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [20:34:09]wFMCommunicate OK [20:34:09]SAM_PROTO_GetShiftState done [20:34:09]FM_GetShiftState done [20:34:09]req_shift_opened done [20:34:09]requested_item shift.open_date is exist - process it [20:34:09]req_shift_open_date [20:34:09]req_shift_open_date done [20:34:09]produce_requested_data done [20:34:09]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24906,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [20:34:09]process_action_free close_receipt [20:34:09]json_value_free [20:34:09]json_value_free done [20:34:09]process_json_proto returns [20:34:09]Send response to host [20:34:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24906,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [20:34:09]free response buf [20:34:09]execute_script done [20:34:09]execute_script returns [20:34:09]free content buf [20:34:09]Sock 7.Close socket [20:34:09]Sock 7.Thread stoped [20:34:09]OFD Sender: No OFD packet to send [20:34:14]OFD Sender: No OFD packet to send [20:34:19]OFD Sender: No OFD packet to send [20:34:24]OFD Sender: No OFD packet to send [20:34:29]OFD Sender: No OFD packet to send [20:34:34]OFD Sender: No OFD packet to send [20:34:39]OFD Sender: No OFD packet to send [20:34:44]OFD Sender: No OFD packet to send [20:34:49]OFD Sender: No OFD packet to send [20:34:54]OFD Sender: No OFD packet to send [20:34:59]OFD Sender: No OFD packet to send [20:35:04]OFD Sender: No OFD packet to send [20:35:09]OFD Sender: No OFD packet to send [20:35:14]OFD Sender: No OFD packet to send [20:35:19]OFD Sender: No OFD packet to send [20:35:24]OFD Sender: No OFD packet to send [20:35:29]OFD Sender: No OFD packet to send [20:35:34]OFD Sender: No OFD packet to send [20:35:39]OFD Sender: No OFD packet to send [20:35:44]OFD Sender: No OFD packet to send [20:35:49]OFD Sender: No OFD packet to send [20:35:54]OFD Sender: No OFD packet to send [20:35:59]OFD Sender: No OFD packet to send [20:36:04]OFD Sender: No OFD packet to send [20:36:09]OFD Sender: No OFD packet to send [20:36:14]OFD Sender: No OFD packet to send [20:36:19]OFD Sender: No OFD packet to send [20:36:24]OFD Sender: No OFD packet to send [20:36:29]OFD Sender: No OFD packet to send [20:36:34]OFD Sender: No OFD packet to send [20:36:39]OFD Sender: No OFD packet to send [20:36:44]OFD Sender: No OFD packet to send [20:36:49]OFD Sender: No OFD packet to send [20:36:54]OFD Sender: No OFD packet to send [20:36:59]OFD Sender: No OFD packet to send [20:37:04]OFD Sender: No OFD packet to send [20:37:09]OFD Sender: No OFD packet to send [20:37:14]OFD Sender: No OFD packet to send [20:37:19]OFD Sender: No OFD packet to send [20:37:24]OFD Sender: No OFD packet to send [20:37:29]OFD Sender: No OFD packet to send [20:37:34]OFD Sender: No OFD packet to send [20:37:39]OFD Sender: No OFD packet to send [20:37:44]OFD Sender: No OFD packet to send [20:37:49]OFD Sender: No OFD packet to send [20:37:54]OFD Sender: No OFD packet to send [20:37:59]OFD Sender: No OFD packet to send [20:38:04]OFD Sender: No OFD packet to send [20:38:09]OFD Sender: No OFD packet to send [20:38:14]OFD Sender: No OFD packet to send [20:38:19]OFD Sender: No OFD packet to send [20:38:24]OFD Sender: No OFD packet to send [20:38:29]OFD Sender: No OFD packet to send [20:38:34]OFD Sender: No OFD packet to send [20:38:39]OFD Sender: No OFD packet to send [20:38:44]OFD Sender: No OFD packet to send [20:38:49]OFD Sender: No OFD packet to send [20:38:54]OFD Sender: No OFD packet to send [20:38:59]OFD Sender: No OFD packet to send [20:39:04]OFD Sender: No OFD packet to send [20:39:09]OFD Sender: No OFD packet to send [20:39:14]OFD Sender: No OFD packet to send [20:39:19]OFD Sender: No OFD packet to send [20:39:24]OFD Sender: No OFD packet to send [20:39:29]OFD Sender: No OFD packet to send [20:39:34]OFD Sender: No OFD packet to send [20:39:39]OFD Sender: No OFD packet to send [20:39:44]OFD Sender: No OFD packet to send [20:39:50]OFD Sender: No OFD packet to send [20:39:55]OFD Sender: No OFD packet to send [20:40:00]OFD Sender: No OFD packet to send [20:40:05]OFD Sender: No OFD packet to send [20:40:10]OFD Sender: No OFD packet to send [20:40:15]OFD Sender: No OFD packet to send [20:40:20]OFD Sender: No OFD packet to send [20:40:25]OFD Sender: No OFD packet to send [20:40:30]OFD Sender: No OFD packet to send [20:40:35]OFD Sender: No OFD packet to send [20:40:40]OFD Sender: No OFD packet to send [20:40:45]OFD Sender: No OFD packet to send [20:40:50]OFD Sender: No OFD packet to send [20:40:55]OFD Sender: No OFD packet to send [20:41:00]OFD Sender: No OFD packet to send [20:41:05]OFD Sender: No OFD packet to send [20:41:10]OFD Sender: No OFD packet to send [20:41:15]OFD Sender: No OFD packet to send [20:41:20]OFD Sender: No OFD packet to send [20:41:25]OFD Sender: No OFD packet to send [20:41:30]OFD Sender: No OFD packet to send [20:41:35]OFD Sender: No OFD packet to send [20:41:40]OFD Sender: No OFD packet to send [20:41:45]OFD Sender: No OFD packet to send [20:41:50]OFD Sender: No OFD packet to send [20:41:55]OFD Sender: No OFD packet to send [20:42:00]OFD Sender: No OFD packet to send [20:42:05]OFD Sender: No OFD packet to send [20:42:10]OFD Sender: No OFD packet to send [20:42:15]OFD Sender: No OFD packet to send [20:42:20]OFD Sender: No OFD packet to send [20:42:25]OFD Sender: No OFD packet to send [20:42:29]int [20:42:29]Write to MH i2c: 01 00 00 99 13 AC [20:42:29]*** FLAG_PRN_KEY set [20:42:29]Write i2c OK [20:42:29]MH_I2C_Read... [20:42:29]Read from MH i2c: 01 [20:42:29]MH_I2C_Read... [20:42:29]Read from MH i2c: 01 07 00 [20:42:29]MH_I2C_Read... [20:42:29]Read from MH i2c: 01 07 00 99 13 00 08 00 00 00 FF 0F C9 [20:42:29]state=0 [20:42:29]Key pressed [20:42:29]Feed [20:42:29]Write to MH i2c: D8 00 00 9A 13 84 [20:42:29]Write i2c OK [20:42:29]MH_I2C_Read... [20:42:29]Read from MH i2c: D8 [20:42:29]MH_I2C_Read... [20:42:29]Read from MH i2c: D8 01 00 [20:42:29]MH_I2C_Read... [20:42:29]Read from MH i2c: D8 01 00 9A 13 00 85 [20:42:29]int [20:42:29]Write to MH i2c: 01 00 00 9B 13 AE [20:42:29]Write i2c OK [20:42:29]MH_I2C_Read... [20:42:29]Read from MH i2c: 01 [20:42:29]MH_I2C_Read... [20:42:29]Read from MH i2c: 01 07 00 [20:42:29]MH_I2C_Read... [20:42:29]Read from MH i2c: 01 07 00 9B 13 00 48 00 00 00 3D 00 3A [20:42:29]state=2 [20:42:29]Key pressed [20:42:29]int [20:42:29]Write to MH i2c: 01 00 00 9C 13 AF [20:42:29]*** FLAG_PRN_KEY reset [20:42:29]Write i2c OK [20:42:29]MH_I2C_Read... [20:42:29]Read from MH i2c: 01 [20:42:29]MH_I2C_Read... [20:42:29]Read from MH i2c: 01 07 00 [20:42:29]MH_I2C_Read... [20:42:29]Read from MH i2c: 01 07 00 9C 13 00 00 00 00 00 F6 0F BB [20:42:29]state=2 [20:42:29]Stop feed [20:42:30]int [20:42:30]Write to MH i2c: 01 00 00 9D 13 B0 [20:42:30]*** FLAG_PRN_KEY set [20:42:30]Write i2c OK [20:42:30]MH_I2C_Read... [20:42:30]Read from MH i2c: 01 [20:42:30]MH_I2C_Read... [20:42:30]Read from MH i2c: 01 07 00 [20:42:30]MH_I2C_Read... [20:42:30]Read from MH i2c: 01 07 00 9D 13 00 08 00 00 00 FF 0F CD [20:42:30]state=0 [20:42:30]Key pressed [20:42:30]Feed [20:42:30]Write to MH i2c: D8 00 00 9E 13 88 [20:42:30]OFD Sender: No OFD packet to send [20:42:30]Write i2c OK [20:42:30]MH_I2C_Read... [20:42:30]Read from MH i2c: D8 [20:42:30]MH_I2C_Read... [20:42:30]Read from MH i2c: D8 01 00 [20:42:30]MH_I2C_Read... [20:42:30]Read from MH i2c: D8 01 00 9E 13 00 89 [20:42:30]int [20:42:30]Write to MH i2c: 01 00 00 9F 13 B2 [20:42:30]Write i2c OK [20:42:30]MH_I2C_Read... [20:42:30]Read from MH i2c: 01 [20:42:30]MH_I2C_Read... [20:42:30]Read from MH i2c: 01 07 00 [20:42:30]MH_I2C_Read... [20:42:30]Read from MH i2c: 01 07 00 9F 13 00 48 00 00 00 3C 00 3D [20:42:30]state=2 [20:42:30]Key pressed [20:42:30]int [20:42:30]Write to MH i2c: 01 00 00 A0 13 B3 [20:42:30]*** FLAG_PRN_KEY reset [20:42:30]Write i2c OK [20:42:30]MH_I2C_Read... [20:42:30]Read from MH i2c: 01 [20:42:30]MH_I2C_Read... [20:42:30]Read from MH i2c: 01 07 00 [20:42:30]MH_I2C_Read... [20:42:30]Read from MH i2c: 01 07 00 A0 13 00 00 00 00 00 F6 0F BF [20:42:30]state=2 [20:42:30]Stop feed [20:42:35]OFD Sender: No OFD packet to send [20:42:40]OFD Sender: No OFD packet to send [20:42:45]OFD Sender: No OFD packet to send [20:42:50]OFD Sender: No OFD packet to send [20:42:55]OFD Sender: No OFD packet to send [20:43:00]OFD Sender: No OFD packet to send [20:43:05]OFD Sender: No OFD packet to send [20:43:10]OFD Sender: No OFD packet to send [20:43:15]OFD Sender: No OFD packet to send [20:43:20]OFD Sender: No OFD packet to send [20:43:25]OFD Sender: No OFD packet to send [20:43:30]OFD Sender: No OFD packet to send [20:43:35]OFD Sender: No OFD packet to send [20:43:40]OFD Sender: No OFD packet to send [20:43:45]OFD Sender: No OFD packet to send [20:43:50]OFD Sender: No OFD packet to send [20:43:55]OFD Sender: No OFD packet to send [20:44:00]OFD Sender: No OFD packet to send [20:44:05]OFD Sender: No OFD packet to send [20:44:10]OFD Sender: No OFD packet to send [20:44:15]OFD Sender: No OFD packet to send [20:44:20]OFD Sender: No OFD packet to send [20:44:25]OFD Sender: No OFD packet to send [20:44:30]OFD Sender: No OFD packet to send [20:44:35]OFD Sender: No OFD packet to send [20:44:40]OFD Sender: No OFD packet to send [20:44:45]OFD Sender: No OFD packet to send [20:44:50]OFD Sender: No OFD packet to send [20:44:55]OFD Sender: No OFD packet to send [20:45:00]OFD Sender: No OFD packet to send [20:45:05]OFD Sender: No OFD packet to send [20:45:10]OFD Sender: No OFD packet to send [20:45:15]OFD Sender: No OFD packet to send [20:45:20]OFD Sender: No OFD packet to send [20:45:25]OFD Sender: No OFD packet to send [20:45:30]OFD Sender: No OFD packet to send [20:45:35]OFD Sender: No OFD packet to send [20:45:40]OFD Sender: No OFD packet to send [20:45:45]OFD Sender: No OFD packet to send [20:45:50]OFD Sender: No OFD packet to send [20:45:55]OFD Sender: No OFD packet to send [20:46:00]OFD Sender: No OFD packet to send [20:46:05]OFD Sender: No OFD packet to send [20:46:10]OFD Sender: No OFD packet to send [20:46:15]OFD Sender: No OFD packet to send [20:46:20]OFD Sender: No OFD packet to send [20:46:25]OFD Sender: No OFD packet to send [20:46:30]OFD Sender: No OFD packet to send [20:46:35]OFD Sender: No OFD packet to send [20:46:40]OFD Sender: No OFD packet to send [20:46:45]OFD Sender: No OFD packet to send [20:46:50]OFD Sender: No OFD packet to send [20:46:55]OFD Sender: No OFD packet to send [20:47:00]OFD Sender: No OFD packet to send [20:47:05]OFD Sender: No OFD packet to send [20:47:10]OFD Sender: No OFD packet to send [20:47:15]OFD Sender: No OFD packet to send [20:47:20]OFD Sender: No OFD packet to send [20:47:25]OFD Sender: No OFD packet to send [20:47:30]OFD Sender: No OFD packet to send [20:47:35]OFD Sender: No OFD packet to send [20:47:40]OFD Sender: No OFD packet to send [20:47:45]OFD Sender: No OFD packet to send [20:47:50]OFD Sender: No OFD packet to send [20:47:55]OFD Sender: No OFD packet to send [20:48:00]OFD Sender: No OFD packet to send [20:48:05]OFD Sender: No OFD packet to send [20:48:10]OFD Sender: No OFD packet to send [20:48:15]OFD Sender: No OFD packet to send [20:48:20]OFD Sender: No OFD packet to send [20:48:25]OFD Sender: No OFD packet to send [20:48:30]OFD Sender: No OFD packet to send [20:48:35]OFD Sender: No OFD packet to send [20:48:40]OFD Sender: No OFD packet to send [20:48:45]OFD Sender: No OFD packet to send [20:48:50]OFD Sender: No OFD packet to send [20:48:55]OFD Sender: No OFD packet to send [20:49:00]OFD Sender: No OFD packet to send [20:49:05]OFD Sender: No OFD packet to send [20:49:10]OFD Sender: No OFD packet to send [20:49:15]OFD Sender: No OFD packet to send [20:49:20]OFD Sender: No OFD packet to send [20:49:25]OFD Sender: No OFD packet to send [20:49:30]OFD Sender: No OFD packet to send [20:49:35]OFD Sender: No OFD packet to send [20:49:40]OFD Sender: No OFD packet to send [20:49:45]OFD Sender: No OFD packet to send [20:49:50]OFD Sender: No OFD packet to send [20:49:55]OFD Sender: No OFD packet to send [20:50:00]OFD Sender: No OFD packet to send [20:50:05]OFD Sender: No OFD packet to send [20:50:10]OFD Sender: No OFD packet to send [20:50:15]OFD Sender: No OFD packet to send [20:50:20]OFD Sender: No OFD packet to send [20:50:25]OFD Sender: No OFD packet to send [20:50:30]OFD Sender: No OFD packet to send [20:50:35]OFD Sender: No OFD packet to send [20:50:40]OFD Sender: No OFD packet to send [20:50:45]OFD Sender: No OFD packet to send [20:50:50]OFD Sender: No OFD packet to send [20:50:55]OFD Sender: No OFD packet to send [20:51:00]OFD Sender: No OFD packet to send [20:51:05]OFD Sender: No OFD packet to send [20:51:10]OFD Sender: No OFD packet to send [20:51:15]OFD Sender: No OFD packet to send [20:51:20]OFD Sender: No OFD packet to send [20:51:25]OFD Sender: No OFD packet to send [20:51:30]OFD Sender: No OFD packet to send [20:51:35]OFD Sender: No OFD packet to send [20:51:40]OFD Sender: No OFD packet to send [20:51:45]OFD Sender: No OFD packet to send [20:51:50]OFD Sender: No OFD packet to send [20:51:55]OFD Sender: No OFD packet to send [20:52:00]OFD Sender: No OFD packet to send [20:52:05]OFD Sender: No OFD packet to send [20:52:10]OFD Sender: No OFD packet to send [20:52:15]OFD Sender: No OFD packet to send [20:52:20]OFD Sender: No OFD packet to send [20:52:25]OFD Sender: No OFD packet to send [20:52:30]OFD Sender: No OFD packet to send [20:52:35]OFD Sender: No OFD packet to send [20:52:40]OFD Sender: No OFD packet to send [20:52:45]OFD Sender: No OFD packet to send [20:52:50]OFD Sender: No OFD packet to send [20:52:55]OFD Sender: No OFD packet to send [20:53:00]OFD Sender: No OFD packet to send [20:53:05]OFD Sender: No OFD packet to send [20:53:10]OFD Sender: No OFD packet to send [20:53:15]OFD Sender: No OFD packet to send [20:53:20]OFD Sender: No OFD packet to send [20:53:25]OFD Sender: No OFD packet to send [20:53:30]OFD Sender: No OFD packet to send [20:53:35]OFD Sender: No OFD packet to send [20:53:40]OFD Sender: No OFD packet to send [20:53:45]OFD Sender: No OFD packet to send [20:53:50]OFD Sender: No OFD packet to send [20:53:55]OFD Sender: No OFD packet to send [20:54:00]OFD Sender: No OFD packet to send [20:54:05]OFD Sender: No OFD packet to send [20:54:10]OFD Sender: No OFD packet to send [20:54:15]OFD Sender: No OFD packet to send [20:54:20]OFD Sender: No OFD packet to send [20:54:25]OFD Sender: No OFD packet to send [20:54:30]OFD Sender: No OFD packet to send [20:54:35]OFD Sender: No OFD packet to send [20:54:40]OFD Sender: No OFD packet to send [20:54:45]OFD Sender: No OFD packet to send [20:54:50]OFD Sender: No OFD packet to send [20:54:55]OFD Sender: No OFD packet to send [20:55:00]OFD Sender: No OFD packet to send [20:55:05]OFD Sender: No OFD packet to send [20:55:10]OFD Sender: No OFD packet to send [20:55:15]OFD Sender: No OFD packet to send [20:55:20]OFD Sender: No OFD packet to send [20:55:25]OFD Sender: No OFD packet to send [20:55:30]OFD Sender: No OFD packet to send [20:55:35]OFD Sender: No OFD packet to send [20:55:40]OFD Sender: No OFD packet to send [20:55:45]OFD Sender: No OFD packet to send [20:55:50]OFD Sender: No OFD packet to send [20:55:55]OFD Sender: No OFD packet to send [20:56:00]OFD Sender: No OFD packet to send [20:56:05]OFD Sender: No OFD packet to send [20:56:10]OFD Sender: No OFD packet to send [20:56:15]OFD Sender: No OFD packet to send [20:56:20]OFD Sender: No OFD packet to send [20:56:25]OFD Sender: No OFD packet to send [20:56:30]OFD Sender: No OFD packet to send [20:56:35]OFD Sender: No OFD packet to send [20:56:40]OFD Sender: No OFD packet to send [20:56:45]OFD Sender: No OFD packet to send [20:56:50]OFD Sender: No OFD packet to send [20:56:55]OFD Sender: No OFD packet to send [20:57:00]OFD Sender: No OFD packet to send [20:57:05]OFD Sender: No OFD packet to send [20:57:10]OFD Sender: No OFD packet to send [20:57:15]OFD Sender: No OFD packet to send [20:57:20]OFD Sender: No OFD packet to send [20:57:25]OFD Sender: No OFD packet to send [20:57:30]OFD Sender: No OFD packet to send [20:57:35]OFD Sender: No OFD packet to send [20:57:40]OFD Sender: No OFD packet to send [20:57:45]OFD Sender: No OFD packet to send [20:57:50]OFD Sender: No OFD packet to send [20:57:55]OFD Sender: No OFD packet to send [20:58:00]OFD Sender: No OFD packet to send [20:58:05]OFD Sender: No OFD packet to send [20:58:10]OFD Sender: No OFD packet to send [20:58:15]OFD Sender: No OFD packet to send [20:58:20]OFD Sender: No OFD packet to send [20:58:25]OFD Sender: No OFD packet to send [20:58:30]OFD Sender: No OFD packet to send [20:58:35]OFD Sender: No OFD packet to send [20:58:40]OFD Sender: No OFD packet to send [20:58:45]OFD Sender: No OFD packet to send [20:58:50]OFD Sender: No OFD packet to send [20:58:55]OFD Sender: No OFD packet to send [20:59:00]OFD Sender: No OFD packet to send [20:59:05]OFD Sender: No OFD packet to send [20:59: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:21]OFD Sender: No OFD packet to send [21:01:26]OFD Sender: No OFD packet to send [21:01:31]OFD Sender: No OFD packet to send [21:01:36]OFD Sender: No OFD packet to send [21:01:41]OFD Sender: No OFD packet to send [21:01:46]OFD Sender: No OFD packet to send [21:01:51]OFD Sender: No OFD packet to send [21:01:56]OFD Sender: No OFD packet to send [21:02:01]OFD Sender: No OFD packet to send [21:02:06]OFD Sender: No OFD packet to send [21:02:11]OFD Sender: No OFD packet to send [21:02:16]OFD Sender: No OFD packet to send [21:02:21]OFD Sender: No OFD packet to send [21:02:26]OFD Sender: No OFD packet to send [21:02:31]OFD Sender: No OFD packet to send [21:02:36]OFD Sender: No OFD packet to send [21:02:41]OFD Sender: No OFD packet to send [21:02:46]OFD Sender: No OFD packet to send [21:02:51]OFD Sender: No OFD packet to send [21:02:56]OFD Sender: No OFD packet to send [21:03:01]OFD Sender: No OFD packet to send [21:03:06]OFD Sender: No OFD packet to send [21:03:11]OFD Sender: No OFD packet to send [21:03:16]OFD Sender: No OFD packet to send [21:03:21]OFD Sender: No OFD packet to send [21:03:26]OFD Sender: No OFD packet to send [21:03:31]OFD Sender: No OFD packet to send [21:03:36]OFD Sender: No OFD packet to send [21:03:41]OFD Sender: No OFD packet to send [21:03:46]OFD Sender: No OFD packet to send [21:03:51]OFD Sender: No OFD packet to send [21:03:56]OFD Sender: No OFD packet to send [21:04:01]OFD Sender: No OFD packet to send [21:04:06]OFD Sender: No OFD packet to send [21:04:11]OFD Sender: No OFD packet to send [21:04:16]OFD Sender: No OFD packet to send [21:04:21]OFD Sender: No OFD packet to send [21:04:26]OFD Sender: No OFD packet to send [21:04:31]OFD Sender: No OFD packet to send [21:04:36]OFD Sender: No OFD packet to send [21:04:41]OFD Sender: No OFD packet to send [21:04:46]OFD Sender: No OFD packet to send [21:04:51]OFD Sender: No OFD packet to send [21:04:56]OFD Sender: No OFD packet to send [21:05:01]OFD Sender: No OFD packet to send [21:05:06]OFD Sender: No OFD packet to send [21:05:11]OFD Sender: No OFD packet to send [21:05:16]OFD Sender: No OFD packet to send [21:05:21]OFD Sender: No OFD packet to send [21:05:26]OFD Sender: No OFD packet to send [21:05:31]OFD Sender: No OFD packet to send [21:05:36]OFD Sender: No OFD packet to send [21:05:41]OFD Sender: No OFD packet to send [21:05:46]OFD Sender: No OFD packet to send [21:05:51]OFD Sender: No OFD packet to send [21:05:56]OFD Sender: No OFD packet to send [21:06:01]OFD Sender: No OFD packet to send [21:06:06]OFD Sender: No OFD packet to send [21:06:11]OFD Sender: No OFD packet to send [21:06:16]OFD Sender: No OFD packet to send [21:06:21]OFD Sender: No OFD packet to send [21:06:26]OFD Sender: No OFD packet to send [21:06:31]OFD Sender: No OFD packet to send [21:06:36]OFD Sender: No OFD packet to send [21:06:41]OFD Sender: No OFD packet to send [21:06:46]OFD Sender: No OFD packet to send [21:06:51]OFD Sender: No OFD packet to send [21:06:56]OFD Sender: No OFD packet to send [21:07:01]OFD Sender: No OFD packet to send [21:07:06]OFD Sender: No OFD packet to send [21:07:11]OFD Sender: No OFD packet to send [21:07:16]OFD Sender: No OFD packet to send [21:07:21]OFD Sender: No OFD packet to send [21:07:26]OFD Sender: No OFD packet to send [21:07:31]OFD Sender: No OFD packet to send [21:07:36]OFD Sender: No OFD packet to send [21:07:41]OFD Sender: No OFD packet to send [21:07:46]OFD Sender: No OFD packet to send [21:07:51]OFD Sender: No OFD packet to send [21:07:56]OFD Sender: No OFD packet to send [21:08:01]OFD Sender: No OFD packet to send [21:08:06]OFD Sender: No OFD packet to send [21:08:11]OFD Sender: No OFD packet to send [21:08:16]OFD Sender: No OFD packet to send [21:08:21]OFD Sender: No OFD packet to send [21:08:26]OFD Sender: No OFD packet to send [21:08:31]OFD Sender: No OFD packet to send [21:08:36]OFD Sender: No OFD packet to send [21:08:41]OFD Sender: No OFD packet to send [21:08:46]OFD Sender: No OFD packet to send [21:08:51]OFD Sender: No OFD packet to send [21:08:56]OFD Sender: No OFD packet to send [21:09:01]OFD Sender: No OFD packet to send [21:09:06]OFD Sender: No OFD packet to send [21:09:11]OFD Sender: No OFD packet to send [21:09:16]OFD Sender: No OFD packet to send [21:09:21]OFD Sender: No OFD packet to send [21:09:26]OFD Sender: No OFD packet to send [21:09:31]OFD Sender: No OFD packet to send [21:09:36]OFD Sender: No OFD packet to send [21:09:41]OFD Sender: No OFD packet to send [21:09:46]OFD Sender: No OFD packet to send [21:09:51]OFD Sender: No OFD packet to send [21:09:56]OFD Sender: No OFD packet to send [21:10:01]OFD Sender: No OFD packet to send [21:10:06]OFD Sender: No OFD packet to send [21:10:11]OFD Sender: No OFD packet to send [21:10:16]OFD Sender: No OFD packet to send [21:10:21]OFD Sender: No OFD packet to send [21:10:26]OFD Sender: No OFD packet to send [21:10:31]OFD Sender: No OFD packet to send [21:10:36]OFD Sender: No OFD packet to send [21:10:41]OFD Sender: No OFD packet to send [21:10:46]OFD Sender: No OFD packet to send [21:10:51]OFD Sender: No OFD packet to send [21:10:56]OFD Sender: No OFD packet to send [21:11:01]OFD Sender: No OFD packet to send [21:11:06]OFD Sender: No OFD packet to send [21:11:11]OFD Sender: No OFD packet to send [21:11:16]OFD Sender: No OFD packet to send [21:11:21]OFD Sender: No OFD packet to send [21:11:26]OFD Sender: No OFD packet to send [21:11:31]OFD Sender: No OFD packet to send [21:11:36]OFD Sender: No OFD packet to send [21:11:41]OFD Sender: No OFD packet to send [21:11:46]OFD Sender: No OFD packet to send [21:11:51]OFD Sender: No OFD packet to send [21:11:56]OFD Sender: No OFD packet to send [21:12:01]OFD Sender: No OFD packet to send [21:12:06]OFD Sender: No OFD packet to send [21:12:11]OFD Sender: No OFD packet to send [21:12:16]OFD Sender: No OFD packet to send [21:12:21]OFD Sender: No OFD packet to send [21:12:26]OFD Sender: No OFD packet to send [21:12:31]OFD Sender: No OFD packet to send [21:12:36]OFD Sender: No OFD packet to send [21:12:41]OFD Sender: No OFD packet to send [21:12:46]OFD Sender: No OFD packet to send [21:12:51]OFD Sender: No OFD packet to send [21:12:56]OFD Sender: No OFD packet to send [21:13:01]OFD Sender: No OFD packet to send [21:13:06]OFD Sender: No OFD packet to send [21:13:11]OFD Sender: No OFD packet to send [21:13:16]OFD Sender: No OFD packet to send [21:13:21]OFD Sender: No OFD packet to send [21:13:26]OFD Sender: No OFD packet to send [21:13:31]OFD Sender: No OFD packet to send [21:13:36]OFD Sender: No OFD packet to send [21:13:41]OFD Sender: No OFD packet to send [21:13:46]OFD Sender: No OFD packet to send [21:13:51]OFD Sender: No OFD packet to send [21:13:56]OFD Sender: No OFD packet to send [21:14:01]OFD Sender: No OFD packet to send [21:14:06]OFD Sender: No OFD packet to send [21:14:11]OFD Sender: No OFD packet to send [21:14:16]OFD Sender: No OFD packet to send [21:14:21]OFD Sender: No OFD packet to send [21:14:26]OFD Sender: No OFD packet to send [21:14:31]OFD Sender: No OFD packet to send [21:14:36]OFD Sender: No OFD packet to send [21:14:41]OFD Sender: No OFD packet to send [21:14:46]OFD Sender: No OFD packet to send [21:14:51]OFD Sender: No OFD packet to send [21:14:56]OFD Sender: No OFD packet to send [21:15:01]OFD Sender: No OFD packet to send [21:15:06]OFD Sender: No OFD packet to send [21:15:11]OFD Sender: No OFD packet to send [21:15:16]OFD Sender: No OFD packet to send [21:15:21]OFD Sender: No OFD packet to send [21:15:26]OFD Sender: No OFD packet to send [21:15:31]OFD Sender: No OFD packet to send [21:15:36]OFD Sender: No OFD packet to send [21:15:41]OFD Sender: No OFD packet to send [21:15:46]OFD Sender: No OFD packet to send [21:15:51]OFD Sender: No OFD packet to send [21:15:56]OFD Sender: No OFD packet to send [21:16:01]OFD Sender: No OFD packet to send [21:16:06]OFD Sender: No OFD packet to send [21:16:11]OFD Sender: No OFD packet to send [21:16:16]OFD Sender: No OFD packet to send [21:16:21]OFD Sender: No OFD packet to send [21:16:26]OFD Sender: No OFD packet to send [21:16:31]OFD Sender: No OFD packet to send [21:16:36]OFD Sender: No OFD packet to send [21:16:41]OFD Sender: No OFD packet to send [21:16:46]OFD Sender: No OFD packet to send [21:16:51]OFD Sender: No OFD packet to send [21:16:56]OFD Sender: No OFD packet to send [21:17:01]OFD Sender: No OFD packet to send [21:17:06]OFD Sender: No OFD packet to send [21:17:11]OFD Sender: No OFD packet to send [21:17:16]OFD Sender: No OFD packet to send [21:17:21]OFD Sender: No OFD packet to send [21:17:26]OFD Sender: No OFD packet to send [21:17:31]OFD Sender: No OFD packet to send [21:17:36]OFD Sender: No OFD packet to send [21:17:41]OFD Sender: No OFD packet to send [21:17:46]OFD Sender: No OFD packet to send [21:17:51]OFD Sender: No OFD packet to send [21:17:56]OFD Sender: No OFD packet to send [21:18:01]OFD Sender: No OFD packet to send [21:18:06]OFD Sender: No OFD packet to send [21:18:11]OFD Sender: No OFD packet to send [21:18:16]OFD Sender: No OFD packet to send [21:18:21]OFD Sender: No OFD packet to send [21:18:26]OFD Sender: No OFD packet to send [21:18:31]OFD Sender: No OFD packet to send [21:18:36]OFD Sender: No OFD packet to send [21:18:41]OFD Sender: No OFD packet to send [21:18:46]OFD Sender: No OFD packet to send [21:18:51]OFD Sender: No OFD packet to send [21:18:56]OFD Sender: No OFD packet to send [21:19:01]OFD Sender: No OFD packet to send [21:19:06]OFD Sender: No OFD packet to send [21:19:11]OFD Sender: No OFD packet to send [21:19:16]OFD Sender: No OFD packet to send [21:19:21]OFD Sender: No OFD packet to send [21:19:26]OFD Sender: No OFD packet to send [21:19:31]OFD Sender: No OFD packet to send [21:19:36]OFD Sender: No OFD packet to send [21:19:41]OFD Sender: No OFD packet to send [21:19:46]OFD Sender: No OFD packet to send [21:19:51]OFD Sender: No OFD packet to send [21:19:56]OFD Sender: No OFD packet to send [21:20:01]OFD Sender: No OFD packet to send [21:20:06]OFD Sender: No OFD packet to send [21:20:11]OFD Sender: No OFD packet to send [21:20:16]OFD Sender: No OFD packet to send [21:20:21]OFD Sender: No OFD packet to send [21:20:26]OFD Sender: No OFD packet to send [21:20:31]OFD Sender: No OFD packet to send [21:20:36]OFD Sender: No OFD packet to send [21:20:41]OFD Sender: No OFD packet to send [21:20:46]OFD Sender: No OFD packet to send [21:20:51]OFD Sender: No OFD packet to send [21:20:56]OFD Sender: No OFD packet to send [21:21:01]OFD Sender: No OFD packet to send [21:21:06]OFD Sender: No OFD packet to send [21:21:11]OFD Sender: No OFD packet to send [21:21:16]OFD Sender: No OFD packet to send [21:21:21]OFD Sender: No OFD packet to send [21:21:26]OFD Sender: No OFD packet to send [21:21:31]OFD Sender: No OFD packet to send [21:21:36]OFD Sender: No OFD packet to send [21:21:41]OFD Sender: No OFD packet to send [21:21:46]OFD Sender: No OFD packet to send [21:21:51]OFD Sender: No OFD packet to send [21:21:56]OFD Sender: No OFD packet to send [21:22:01]OFD Sender: No OFD packet to send [21:22:06]OFD Sender: No OFD packet to send [21:22:11]OFD Sender: No OFD packet to send [21:22:16]OFD Sender: No OFD packet to send [21:22:21]OFD Sender: No OFD packet to send [21:22:27]OFD Sender: No OFD packet to send [21:22:32]OFD Sender: No OFD packet to send [21:22:37]OFD Sender: No OFD packet to send [21:22:42]OFD Sender: No OFD packet to send [21:22:47]OFD Sender: No OFD packet to send [21:22:52]OFD Sender: No OFD packet to send [21:22:57]OFD Sender: No OFD packet to send [21:23:02]OFD Sender: No OFD packet to send [21:23:07]OFD Sender: No OFD packet to send [21:23:12]OFD Sender: No OFD packet to send [21:23:17]OFD Sender: No OFD packet to send [21:23:22]OFD Sender: No OFD packet to send [21:23:27]OFD Sender: No OFD packet to send [21:23:32]OFD Sender: No OFD packet to send [21:23:37]OFD Sender: No OFD packet to send [21:23:42]OFD Sender: No OFD packet to send [21:23:47]OFD Sender: No OFD packet to send [21:23:52]OFD Sender: No OFD packet to send [21:23:57]OFD Sender: No OFD packet to send [21:24:02]OFD Sender: No OFD packet to send [21:24:07]OFD Sender: No OFD packet to send [21:24:12]OFD Sender: No OFD packet to send [21:24:17]OFD Sender: No OFD packet to send [21:24:22]OFD Sender: No OFD packet to send [21:24:27]OFD Sender: No OFD packet to send [21:24:32]OFD Sender: No OFD packet to send [21:24:37]OFD Sender: No OFD packet to send [21:24:42]OFD Sender: No OFD packet to send [21:24:47]OFD Sender: No OFD packet to send [21:24:52]OFD Sender: No OFD packet to send [21:24:57]OFD Sender: No OFD packet to send [21:25:02]OFD Sender: No OFD packet to send [21:25:07]OFD Sender: No OFD packet to send [21:25:12]OFD Sender: No OFD packet to send [21:25:17]OFD Sender: No OFD packet to send [21:25:22]OFD Sender: No OFD packet to send [21:25:27]OFD Sender: No OFD packet to send [21:25:32]OFD Sender: No OFD packet to send [21:25:37]OFD Sender: No OFD packet to send [21:25:42]OFD Sender: No OFD packet to send [21:25:47]OFD Sender: No OFD packet to send [21:25:52]OFD Sender: No OFD packet to send [21:25:57]OFD Sender: No OFD packet to send [21:26:02]OFD Sender: No OFD packet to send [21:26:07]OFD Sender: No OFD packet to send [21:26:12]OFD Sender: No OFD packet to send [21:26:17]OFD Sender: No OFD packet to send [21:26:22]OFD Sender: No OFD packet to send [21:26:27]OFD Sender: No OFD packet to send [21:26:32]OFD Sender: No OFD packet to send [21:26:37]OFD Sender: No OFD packet to send [21:26:42]OFD Sender: No OFD packet to send [21:26:47]OFD Sender: No OFD packet to send [21:26:52]OFD Sender: No OFD packet to send [21:26:57]OFD Sender: No OFD packet to send [21:27:02]OFD Sender: No OFD packet to send [21:27:07]OFD Sender: No OFD packet to send [21:27:12]OFD Sender: No OFD packet to send [21:27:17]OFD Sender: No OFD packet to send [21:27:22]OFD Sender: No OFD packet to send [21:27:27]OFD Sender: No OFD packet to send [21:27:32]OFD Sender: No OFD packet to send [21:27:37]OFD Sender: No OFD packet to send [21:27:42]OFD Sender: No OFD packet to send [21:27:47]OFD Sender: No OFD packet to send [21:27:52]OFD Sender: No OFD packet to send [21:27:57]OFD Sender: No OFD packet to send [21:28:02]OFD Sender: No OFD packet to send [21:28:07]OFD Sender: No OFD packet to send [21:28:12]OFD Sender: No OFD packet to send [21:28:17]OFD Sender: No OFD packet to send [21:28:22]OFD Sender: No OFD packet to send [21:28:27]OFD Sender: No OFD packet to send [21:28:32]OFD Sender: No OFD packet to send [21:28:37]OFD Sender: No OFD packet to send [21:28:42]OFD Sender: No OFD packet to send [21:28:47]OFD Sender: No OFD packet to send [21:28:52]OFD Sender: No OFD packet to send [21:28:57]OFD Sender: No OFD packet to send [21:29:02]OFD Sender: No OFD packet to send [21:29:07]OFD Sender: No OFD packet to send [21:29:12]OFD Sender: No OFD packet to send [21:29:17]OFD Sender: No OFD packet to send [21:29:22]OFD Sender: No OFD packet to send [21:29:27]OFD Sender: No OFD packet to send [21:29:32]OFD Sender: No OFD packet to send [21:29:37]OFD Sender: No OFD packet to send [21:29:42]OFD Sender: No OFD packet to send [21:29:47]OFD Sender: No OFD packet to send [21:29:52]OFD Sender: No OFD packet to send [21:29:57]OFD Sender: No OFD packet to send [21:30:02]OFD Sender: No OFD packet to send [21:30:07]OFD Sender: No OFD packet to send [21:30:12]OFD Sender: No OFD packet to send [21:30:17]OFD Sender: No OFD packet to send [21:30:22]OFD Sender: No OFD packet to send [21:30:27]OFD Sender: No OFD packet to send [21:30:32]OFD Sender: No OFD packet to send [21:30:37]OFD Sender: No OFD packet to send [21:30:42]OFD Sender: No OFD packet to send [21:30:47]OFD Sender: No OFD packet to send [21:30:52]OFD Sender: No OFD packet to send [21:30:57]OFD Sender: No OFD packet to send [21:31:02]OFD Sender: No OFD packet to send [21:31:07]OFD Sender: No OFD packet to send [21:31:12]OFD Sender: No OFD packet to send [21:31:17]OFD Sender: No OFD packet to send [21:31:22]OFD Sender: No OFD packet to send [21:31:27]OFD Sender: No OFD packet to send [21:31:32]OFD Sender: No OFD packet to send [21:31:37]OFD Sender: No OFD packet to send [21:31:42]OFD Sender: No OFD packet to send [21:31:47]OFD Sender: No OFD packet to send [21:31:52]OFD Sender: No OFD packet to send [21:31:57]OFD Sender: No OFD packet to send [21:32:02]OFD Sender: No OFD packet to send [21:32:07]OFD Sender: No OFD packet to send [21:32:12]OFD Sender: No OFD packet to send [21:32:17]OFD Sender: No OFD packet to send [21:32:22]OFD Sender: No OFD packet to send [21:32:27]OFD Sender: No OFD packet to send [21:32:32]OFD Sender: No OFD packet to send [21:32:37]OFD Sender: No OFD packet to send [21:32:42]OFD Sender: No OFD packet to send [21:32:47]OFD Sender: No OFD packet to send [21:32:52]OFD Sender: No OFD packet to send [21:32:57]OFD Sender: No OFD packet to send [21:33:02]OFD Sender: No OFD packet to send [21:33:07]OFD Sender: No OFD packet to send [21:33:12]OFD Sender: No OFD packet to send [21:33:17]OFD Sender: No OFD packet to send [21:33:22]OFD Sender: No OFD packet to send [21:33:27]OFD Sender: No OFD packet to send [21:33:32]OFD Sender: No OFD packet to send [21:33:37]OFD Sender: No OFD packet to send [21:33:42]OFD Sender: No OFD packet to send [21:33:47]OFD Sender: No OFD packet to send [21:33:52]OFD Sender: No OFD packet to send [21:33:57]OFD Sender: No OFD packet to send [21:34:02]OFD Sender: No OFD packet to send [21:34:07]OFD Sender: No OFD packet to send [21:34:12]OFD Sender: No OFD packet to send [21:34:17]OFD Sender: No OFD packet to send [21:34:22]OFD Sender: No OFD packet to send [21:34:27]OFD Sender: No OFD packet to send [21:34:32]OFD Sender: No OFD packet to send [21:34:37]OFD Sender: No OFD packet to send [21:34:42]OFD Sender: No OFD packet to send [21:34:47]OFD Sender: No OFD packet to send [21:34:52]OFD Sender: No OFD packet to send [21:34:57]OFD Sender: No OFD packet to send [21:35:02]OFD Sender: No OFD packet to send [21:35:07]OFD Sender: No OFD packet to send [21:35:12]OFD Sender: No OFD packet to send [21:35:17]OFD Sender: No OFD packet to send [21:35:22]OFD Sender: No OFD packet to send [21:35:27]OFD Sender: No OFD packet to send [21:35:32]OFD Sender: No OFD packet to send [21:35:37]OFD Sender: No OFD packet to send [21:35:42]OFD Sender: No OFD packet to send [21:35:47]OFD Sender: No OFD packet to send [21:35:52]OFD Sender: No OFD packet to send [21:35:57]OFD Sender: No OFD packet to send [21:36:02]OFD Sender: No OFD packet to send [21:36:07]OFD Sender: No OFD packet to send [21:36:12]OFD Sender: No OFD packet to send [21:36:17]OFD Sender: No OFD packet to send [21:36:22]OFD Sender: No OFD packet to send [21:36:27]OFD Sender: No OFD packet to send [21:36:32]OFD Sender: No OFD packet to send [21:36:37]OFD Sender: No OFD packet to send [21:36:42]OFD Sender: No OFD packet to send [21:36:47]OFD Sender: No OFD packet to send [21:36:52]OFD Sender: No OFD packet to send [21:36:52]accept exits with 9 [21:36:52]New connection [21:36:52]New thread 3067309412 created [21:36:52]Thread 3067166052 joined [21:36:52]Waiting for new connection... [21:36:52] Sock 9.Parse request [21:36:52]Sock 9.Check first char [21:36:52]Sock 9.First char is OK [21:36:52]request: POST /json_proto HTTP/1.0 [21:36:52]Method: POST [21:36:52]URL: /json_proto [21:36:52]Method is POST - this is cgi request [21:36:52]url: /json_proto [21:36:52]query_string will be loaded in cgi processing [21:36:52]execute_cgi json_proto POST (null) [21:36:52]execute_cgi path=json_proto method=POST [21:36:52]POST find Content-Length [21:36:52]Host: 172.17.53.196:8080 [21:36:52]Content-Length: 901 [21:36:52]Content-Type: application/json [21:36:52] [21:36:52]POST finish read [21:36:52]Found Content-Length = 901 [21:36:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34667", "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": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:36:52]execute_script... [21:36: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)34667", "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": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:36:52]POST & json_proto [21:36:52]process_json_proto [21:36:52]json parsed OK: [21:36:52]protocol is kg_v1.0 [21:36:52]action value=close_receipt [21:36:52]process_action close_receipt [21:36:52]cmd_close_receipt [21:36:52]MH_GetDate [21:36:52]Write to MH i2c: F0 00 00 A1 13 A3 [21:36:52]Write i2c OK [21:36:52]MH_I2C_Read... [21:36:52]Read from MH i2c: F0 [21:36:52]MH_I2C_Read... [21:36:52]Read from MH i2c: F0 09 00 [21:36:52]MH_I2C_Read... [21:36:52]Read from MH i2c: F0 09 00 A1 13 00 F9 77 15 67 4F CD 9A 65 B3 [21:36:52]GetLastDocTimeStamp 1729456451 [21:36:52]current date 1729460217 [21:36:52]FM_GetShiftState [21:36:52]SAM_PROTO_GetShiftState [21:36:52]wFMCommunicate request_size=4 [21:36:52]MH_SAM_APDU [21:36:52]CAPDU: 80 13 01 00 [21:36:52]Write to MH i2c: E2 08 00 A2 13 80 13 01 00 00 00 00 00 32 [21:36:52]Write i2c OK [21:36:52]MH_I2C_Read... [21:36:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:36:53]Read from MH i2c: E2 [21:36:53]MH_I2C_Read... [21:36:53]Read from MH i2c: E2 0E 00 [21:36:53]MH_I2C_Read... [21:36:53]Read from MH i2c: E2 0E 00 A2 13 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 78 [21:36:53]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [21:36:53]wFMCommunicate OK [21:36:53]SAM_PROTO_GetShiftState done [21:36:53]FM_GetShiftState done [21:36:53]opened in 1729384049 [21:36:53]opened+sec_in_day 1729470449 [21:36:53]quantity*price = 9500 [21:36:53]sum+1 = 9501 [21:36:53]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 50173808 Жев Orbit Sweet Mint 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 65 20.10.2024 21:36 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24907 ФПД: 102198098506007 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T213657&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24907&fm=102198098506007&tin=02508201610067®Number=0000000000098147&sum=14000 0 [21:36:54]StoreToDocumentArchive [21:36:54]shift 455 fd 24907 [21:36:54]save to /storage/0455/doc_00024907 [21:36:54]save last doc name /storage/0455/doc_00024907 to /storage/kkm_last_doc_name [21:36:54]save OK [21:36:54]Clear old archive folders... [21:36:54]ProcessDocumentItem done err = 0, tmpTLVsize=392 [21:36:54]tlvbuf is B6EFF090 [21:36:54]SAM_PROTO_ClearQueue [21:36:54]wFMCommunicate request_size=4 [21:36:54]MH_SAM_APDU [21:36:54]CAPDU: 80 09 00 00 [21:36:54]Write to MH i2c: E2 08 00 AF 13 80 09 00 00 00 00 00 00 34 [21:36:54]Write i2c OK [21:36:54]MH_I2C_Read... [21:36:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:36:54]Read from MH i2c: E2 [21:36:54]MH_I2C_Read... [21:36:54]Read from MH i2c: E2 03 00 [21:36:54]MH_I2C_Read... [21:36:54]Read from MH i2c: E2 03 00 AF 13 00 90 00 36 [21:36:54]RAPDU: 90 00 [21:36:54]wFMCommunicate OK [21:36:54]SAM_PROTO_ClearQueue done [21:36:54]KKMCreateOFDPacket [21:36:54]OFDProtocolAddRootSTLVToBuf [21:36:54]FM_MakeSignedData [21:36:54]FM_MakeSignedData [21:36:54]SAM_PROTO_SignData [21:36:54]wFMCommunicate request_size=4 [21:36:54]MH_SAM_APDU [21:36:54]CAPDU: 80 0D 01 02 [21:36:54]Write to MH i2c: E2 08 00 B0 13 80 0D 01 02 00 00 00 00 3C [21:36:54]Write i2c OK [21:36:54]MH_I2C_Read... [21:36:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:36:54]Read from MH i2c: E2 [21:36:54]MH_I2C_Read... [21:36:54]Read from MH i2c: E2 03 00 [21:36:54]MH_I2C_Read... [21:36:54]Read from MH i2c: E2 03 00 B0 13 00 90 00 37 [21:36:54]RAPDU: 90 00 [21:36:54]wFMCommunicate OK [21:36:54]wFMCommunicate request_size=255 [21:36:54]MH_SAM_APDU [21:36:54]CAPDU: 80 0D 02 02 FA 03 00 88 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 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 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 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 [21:36:54]Write to MH i2c: E2 02 01 B1 13 80 0D 02 02 FA 00 03 00 88 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 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 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 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 00 00 2A [21:36:54]Write i2c OK [21:36:54]MH_I2C_Read... [21:36:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:36:54]Read from MH i2c: E2 [21:36:54]MH_I2C_Read... [21:36:54]Read from MH i2c: E2 03 00 [21:36:54]MH_I2C_Read... [21:36:54]Read from MH i2c: E2 03 00 B1 13 00 90 00 38 [21:36:54]RAPDU: 90 00 [21:36:54]wFMCommunicate OK [21:36:54]wFMCommunicate request_size=151 [21:36:54]MH_SAM_APDU [21:36:54]CAPDU: 80 0D 02 02 92 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 F9 77 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4B 61 00 00 35 04 06 00 5C F2 D9 5B B1 17 [21:36:54]Write to MH i2c: E2 9A 00 B2 13 80 0D 02 02 92 00 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 F9 77 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4B 61 00 00 35 04 06 00 5C F2 D9 5B B1 17 00 00 BE [21:36:54]Write i2c OK [21:36:54]MH_I2C_Read... [21:36:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:36:54]Read from MH i2c: E2 [21:36:54]MH_I2C_Read... [21:36:54]Read from MH i2c: E2 03 00 [21:36:54]MH_I2C_Read... [21:36:54]Read from MH i2c: E2 03 00 B2 13 00 90 00 39 [21:36:54]RAPDU: 90 00 [21:36:54]wFMCommunicate OK [21:36:54]wFMCommunicate request_size=4 [21:36:54]MH_SAM_APDU [21:36:54]CAPDU: 80 0D 03 02 [21:36:54]Write to MH i2c: E2 08 00 B3 13 80 0D 03 02 00 00 00 00 41 [21:36:54]Write i2c OK [21:36:54]MH_I2C_Read... [21:36:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:36:54]Read from MH i2c: E2 [21:36:54]MH_I2C_Read... [21:36:54]Read from MH i2c: E2 0B 00 [21:36:54]MH_I2C_Read... [21:36:54]Read from MH i2c: E2 0B 00 B3 13 00 0F 06 8B 06 5F A6 C4 07 90 00 B8 [21:36:54]RAPDU: 0F 06 8B 06 5F A6 C4 07 90 00 [21:36:54]wFMCommunicate OK [21:36:54]SAM_PROTO_SignData done [21:36:54]FM_MakeSignedData done [21:36:54]CreateOFDProtocolMessage [21:36:54]wFMCommunicate request_size=4 [21:36:54]MH_SAM_APDU [21:36:54]CAPDU: 80 11 00 00 [21:36:54]Write to MH i2c: E2 08 00 B4 13 80 11 00 00 00 00 00 00 41 [21:36:54]Write i2c OK [21:36:54]MH_I2C_Read... [21:36:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:36:54]Read from MH i2c: E2 [21:36:54]MH_I2C_Read... [21:36:54]Read from MH i2c: E2 17 00 [21:36:54]MH_I2C_Read... [21:36:54]Read from MH i2c: E2 17 00 B4 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 98 [21:36:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [21:36:54]wFMCommunicate OK [21:36:54]CreateOFDProtocolMessage done [21:36:54]OFDSenderStorePacket 24907 [21:36:54]StoreOFDPacket docnum=24907 [21:36:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 9C 01 00 00 7D 89 94 01 D6 68 5A 03 01 00 03 00 88 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 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 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 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 F9 77 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4B 61 00 00 35 04 06 00 5C F2 D9 5B B1 17 0F 06 8B 06 5F A6 C4 07 [21:36:54]CheckFolder [21:36:54]dirname=/storage/ofd_packets [21:36:54]CheckFolder done [21:36:54]ProducePacketName [21:36:54]name=ofd_packets/00024907 [21:36:54]NVStorageSaveData ofd_packets/00024907 [21:36:54]File name is /storage/ofd_packets/00024907 [21:36:54]Write 442 bytes [21:36:54]NVStorageSaveData done [21:36:54]OFDSenderStorePacket done [21:36:54]KKMCreateOFDPacket done [21:36:54]NVStorageSaveData kkm_last_timestamp [21:36:54]File name is /storage/kkm_last_timestamp [21:36:54]Write 4 bytes [21:36:54]NVStorageSaveData done [21:36:54]ExternCall_PrintAddStr [21:36:54]wPrintStart [21:36:54]Write to MH i2c: 01 00 00 B5 13 C8 [21:36:54]Write i2c OK [21:36:54]MH_I2C_Read... [21:36:54]Read from MH i2c: 01 [21:36:54]MH_I2C_Read... [21:36:54]Read from MH i2c: 01 07 00 [21:36:54]MH_I2C_Read... [21:36:54]Read from MH i2c: 01 07 00 B5 13 00 00 00 00 00 FF 0F DD [21:36:54]RasterBufferAndPrint [21:36:54]line Счет N : (3)34667 [21:36:54]line ИНН: 02508201610067 [21:36:54]line Контрольно-Кассовый Чек [21:36:54]line ПРОДАЖА [21:36:54]line Товар: 4700003010087 [21:36:55]line Чай хол Lets Go зел чай ябл-гр ПЭТ 1,2л [21:36:55]line 1.000 * 95.00 [21:36:55]line = 95.00 [21:36:55]line НДС 12% НСП 1% [21:36:55]line > о реализуемом товаре [21:36:55]line Товар: 50173808 [21:36:55]line Жев Orbit Sweet Mint [21:36:55]line 1.000 * 45.00 [21:36:55]line = 45.00 [21:36:55]line НДС 12% НСП 1% [21:36:55]line > о реализуемом товаре [21:36:55]line ИТОГО: 140.00 [21:36:55]line НСП 1% : 1.24 [21:36:55]line НДС 12% : 14.87 [21:36:55]line Наличными: 140.00 [21:36:55]line Безнал.: 0.00 [21:36:55]line Место: АЗС № 161 "Партнер Нефть" [21:36:55]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [21:36:55]line СНО: Общий режим [21:36:55]line Чек 65 20.10.2024 21:36 [21:36:55]line Смена: 455 ФФД: 1.0 [21:36:55]line ЗНМ: 0300000240 [21:36:55]line РНМ: 0000000000098147 [21:36:55]line Версия ККМ: 001 [21:36:55]line ФМ: 0000000000965376 [21:36:55]line ФД: 24907 [21:36:55]line ФПД: 102198098506007 [21:36:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T213657&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24907&fm=102198098506007&tin=02508201610067®Number=0000000000098147&sum=14000 [21:36:55]line 0 [21:36:55]OFD Sender: Processing packet 24907 [packets to send 5, broken 4] [21:36:55]ProducePacketName [21:36:55]name=ofd_packets/00024907 [21:36:55]OFD Sender: To server: pG, [21:36:55]CommunicateWithHost lk.salyk.kg:30040 [21:36:55]ConnectInit lk.salyk.kg [21:36:55]written 0, free lines is 4095 [21:36:55]Connected sock=11 [21:36:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 9C 01 00 00 7D 89 94 01 D6 68 5A 03 01 00 03 00 88 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 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 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 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 F9 77 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4B 61 00 00 35 04 06 00 5C F2 D9 5B B1 17 0F 06 8B 06 5F A6 C4 07 [21:36:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 5D EE 47 00 65 10 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4B 61 00 00 F4 03 04 00 79 20 15 67 B6 04 01 00 00 23 DE AE D0 B2 82 35 6C [21:36:55]CommunicateWithHost err = 0 [21:36:55]CheckOFDResponse [21:36:55]1017 (14) - 77093643461234 [21:36:55]1041 (16) - 0000000000965376 [21:36:55]1040 (4) - 24907 [21:36:55]1012 (4) - 20.10.2024 15:23 [21:36:55]1206 (1) - 0 [21:36:55]OFD Sender: Remove packet 24907 [21:36:55]ProducePacketName [21:36:55]name=ofd_packets/00024907 [21:36:55]NVStorageDeleteData [21:36:55]Write to MH i2c: 01 00 00 E4 13 F7 [21:36:55]Write i2c OK [21:36:55]MH_I2C_Read... [21:36:55]Read from MH i2c: 01 [21:36:55]MH_I2C_Read... [21:36:55]Read from MH i2c: 01 07 00 [21:36:55]MH_I2C_Read... [21:36:55]Read from MH i2c: 01 07 00 E4 13 00 00 00 00 00 65 0C 6F [21:36:55]RasterBufferAndPrint [21:36:55]line [21:36:55]line [21:36:55]line [21:36:55]line [21:36:55]line [21:36:55]written 0, free lines is 3178 [21:36:55]process_action close_receipt done [21:36:55]requested_data is exist [21:36:55]produce_requested_data [21:36:55]requested_item fm.sn is exist - process it [21:36:55]wFMCommunicate request_size=4 [21:36:55]MH_SAM_APDU [21:36:55]CAPDU: 80 11 00 00 [21:36:55]Write to MH i2c: E2 08 00 EB 13 80 11 00 00 00 00 00 00 78 [21:36:55]Write i2c OK [21:36:55]MH_I2C_Read... [21:36:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:36:55]Read from MH i2c: E2 [21:36:55]MH_I2C_Read... [21:36:55]Read from MH i2c: E2 17 00 [21:36:55]MH_I2C_Read... [21:36:55]Read from MH i2c: E2 17 00 EB 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 CF [21:36:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [21:36:55]wFMCommunicate OK [21:36:55]requested_item fd.num is exist - process it [21:36:55]SAM_PROTO_GetFieldsCounters [21:36:55]wFMCommunicate request_size=4 [21:36:55]MH_SAM_APDU [21:36:55]CAPDU: 80 13 00 00 [21:36:55]Write to MH i2c: E2 08 00 EC 13 80 13 00 00 00 00 00 00 7B [21:36:55]Write i2c OK [21:36:55]MH_I2C_Read... [21:36:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:36:55]Read from MH i2c: E2 [21:36:55]MH_I2C_Read... [21:36:55]Read from MH i2c: E2 62 00 [21:36:55]MH_I2C_Read... [21:36:55]Read from MH i2c: E2 62 00 EC 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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 4B 61 00 00 0E 04 04 00 C7 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 DB [21:36:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 4B 61 00 00 0E 04 04 00 C7 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 [21:36:55]wFMCommunicate OK [21:36:55]SAM_PROTO_GetFieldsCounters done [21:36:55]requested_item shift.num is exist - process it [21:36:55]requested_item shift.opened is exist - process it [21:36:55]req_shift_opened [21:36:55]FM_GetShiftState [21:36:55]SAM_PROTO_GetShiftState [21:36:55]wFMCommunicate request_size=4 [21:36:55]MH_SAM_APDU [21:36:55]CAPDU: 80 13 01 00 [21:36:55]Write to MH i2c: E2 08 00 ED 13 80 13 01 00 00 00 00 00 7D [21:36:55]Write i2c OK [21:36:55]MH_I2C_Read... [21:36:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:36:55]Read from MH i2c: E2 [21:36:55]MH_I2C_Read... [21:36:55]Read from MH i2c: E2 0E 00 [21:36:55]MH_I2C_Read... [21:36:55]Read from MH i2c: E2 0E 00 ED 13 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 C3 [21:36:55]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [21:36:55]wFMCommunicate OK [21:36:55]SAM_PROTO_GetShiftState done [21:36:55]FM_GetShiftState done [21:36:55]req_shift_opened done [21:36:55]requested_item shift.open_date is exist - process it [21:36:55]req_shift_open_date [21:36:55]req_shift_open_date done [21:36:55]produce_requested_data done [21:36:55]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24907,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [21:36:55]process_action_free close_receipt [21:36:55]json_value_free [21:36:55]json_value_free done [21:36:55]process_json_proto returns [21:36:55]Send response to host [21:36:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24907,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [21:36:55]free response buf [21:36:55]execute_script done [21:36:55]execute_script returns [21:36:55]free content buf [21:36:55]Sock 9.Close socket [21:36:55]Sock 9.Thread stoped [21:36:55]OFD Sender: No OFD packet to send [21:37:00]OFD Sender: No OFD packet to send [21:37:05]OFD Sender: No OFD packet to send [21:37: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:00]accept exits with 7 [21:47:00]New connection [21:47:00]New thread 3067166052 created [21:47:00]Thread 3067309412 joined [21:47:00]Waiting for new connection... [21:47:00] Sock 7.Parse request [21:47:00]Sock 7.Check first char [21:47:00]Sock 7.First char is OK [21:47:00]request: POST /json_proto HTTP/1.0 [21:47:00]Method: POST [21:47:00]URL: /json_proto [21:47:00]Method is POST - this is cgi request [21:47:00]url: /json_proto [21:47:00]query_string will be loaded in cgi processing [21:47:00]execute_cgi json_proto POST (null) [21:47:00]execute_cgi path=json_proto method=POST [21:47:00]POST find Content-Length [21:47:00]Host: 172.17.53.196:8080 [21:47:00]Content-Length: 667 [21:47:00]Content-Type: application/json [21:47:00] [21:47:00]POST finish read [21:47:00]Found Content-Length = 667 [21:47:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34668", "tax_sys" : 0, "items" : [ { "code": "4630007400655", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433 \u0441\u0438\u043D\u0438\u0439", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:47:00]execute_script... [21:47:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34668", "tax_sys" : 0, "items" : [ { "code": "4630007400655", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433 \u0441\u0438\u043D\u0438\u0439", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:47:00]POST & json_proto [21:47:00]process_json_proto [21:47:00]json parsed OK: [21:47:00]protocol is kg_v1.0 [21:47:00]action value=close_receipt [21:47:00]process_action close_receipt [21:47:00]cmd_close_receipt [21:47:00]MH_GetDate [21:47:00]Write to MH i2c: F0 00 00 EE 13 F0 [21:47:00]Write i2c OK [21:47:00]MH_I2C_Read... [21:47:00]Read from MH i2c: F0 [21:47:00]MH_I2C_Read... [21:47:00]Read from MH i2c: F0 09 00 [21:47:00]MH_I2C_Read... [21:47:00]Read from MH i2c: F0 09 00 EE 13 00 59 7A 15 67 4F CD 9A 65 63 [21:47:00]GetLastDocTimeStamp 1729460217 [21:47:00]current date 1729460825 [21:47:00]FM_GetShiftState [21:47:00]SAM_PROTO_GetShiftState [21:47:00]wFMCommunicate request_size=4 [21:47:00]MH_SAM_APDU [21:47:00]CAPDU: 80 13 01 00 [21:47:00]Write to MH i2c: E2 08 00 EF 13 80 13 01 00 00 00 00 00 7F [21:47:00]Write i2c OK [21:47:00]MH_I2C_Read... [21:47:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:47:00]Read from MH i2c: E2 [21:47:00]MH_I2C_Read... [21:47:00]Read from MH i2c: E2 0E 00 [21:47:00]MH_I2C_Read... [21:47:00]Read from MH i2c: E2 0E 00 EF 13 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 C5 [21:47:00]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [21:47:00]wFMCommunicate OK [21:47:00]SAM_PROTO_GetShiftState done [21:47:00]FM_GetShiftState done [21:47:00]opened in 1729384049 [21:47:00]opened+sec_in_day 1729470449 [21:47:00]quantity*price = 7000 [21:47:00]sum+1 = 7001 [21:47:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 66 20.10.2024 21:47 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24908 ФПД: 67270808793418 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T214705&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24908&fm=67270808793418&tin=02508201610067®Number=0000000000098147&sum=7000 0 [21:47:01]StoreToDocumentArchive [21:47:01]shift 455 fd 24908 [21:47:01]save to /storage/0455/doc_00024908 [21:47:01]save last doc name /storage/0455/doc_00024908 to /storage/kkm_last_doc_name [21:47:01]save OK [21:47:01]Clear old archive folders... [21:47:01]ProcessDocumentItem done err = 0, tmpTLVsize=283 [21:47:01]tlvbuf is 00E14C30 [21:47:01]SAM_PROTO_ClearQueue [21:47:01]wFMCommunicate request_size=4 [21:47:01]MH_SAM_APDU [21:47:01]CAPDU: 80 09 00 00 [21:47:01]Write to MH i2c: E2 08 00 FC 13 80 09 00 00 00 00 00 00 81 [21:47:01]Write i2c OK [21:47:01]MH_I2C_Read... [21:47:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:47:01]Read from MH i2c: E2 [21:47:01]MH_I2C_Read... [21:47:01]Read from MH i2c: E2 03 00 [21:47:01]MH_I2C_Read... [21:47:01]Read from MH i2c: E2 03 00 FC 13 00 90 00 83 [21:47:01]RAPDU: 90 00 [21:47:01]wFMCommunicate OK [21:47:01]SAM_PROTO_ClearQueue done [21:47:01]KKMCreateOFDPacket [21:47:01]OFDProtocolAddRootSTLVToBuf [21:47:01]FM_MakeSignedData [21:47:01]FM_MakeSignedData [21:47:01]SAM_PROTO_SignData [21:47:01]wFMCommunicate request_size=4 [21:47:01]MH_SAM_APDU [21:47:01]CAPDU: 80 0D 01 02 [21:47:01]Write to MH i2c: E2 08 00 FD 13 80 0D 01 02 00 00 00 00 89 [21:47:01]Write i2c OK [21:47:01]MH_I2C_Read... [21:47:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:47:01]Read from MH i2c: E2 [21:47:01]MH_I2C_Read... [21:47:01]Read from MH i2c: E2 03 00 [21:47:01]MH_I2C_Read... [21:47:01]Read from MH i2c: E2 03 00 FD 13 00 90 00 84 [21:47:01]RAPDU: 90 00 [21:47:01]wFMCommunicate OK [21:47:01]wFMCommunicate request_size=255 [21:47:01]MH_SAM_APDU [21:47:01]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 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 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 59 7A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 [21:47:01]Write to MH i2c: E2 02 01 FE 13 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 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 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 59 7A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 00 00 0D [21:47:01]Write i2c OK [21:47:01]MH_I2C_Read... [21:47:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:47:02]Read from MH i2c: E2 [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: E2 03 00 [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: E2 03 00 FE 13 00 90 00 85 [21:47:02]RAPDU: 90 00 [21:47:02]wFMCommunicate OK [21:47:02]wFMCommunicate request_size=42 [21:47:02]MH_SAM_APDU [21:47:02]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4C 61 00 00 35 04 06 00 3D 2E B4 A9 71 4A [21:47:02]Write to MH i2c: E2 2D 00 FF 13 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4C 61 00 00 35 04 06 00 3D 2E B4 A9 71 4A 00 00 95 [21:47:02]Write i2c OK [21:47:02]MH_I2C_Read... [21:47:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:47:02]Read from MH i2c: E2 [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: E2 03 00 [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: E2 03 00 FF 13 00 90 00 86 [21:47:02]RAPDU: 90 00 [21:47:02]wFMCommunicate OK [21:47:02]wFMCommunicate request_size=4 [21:47:02]MH_SAM_APDU [21:47:02]CAPDU: 80 0D 03 02 [21:47:02]Write to MH i2c: E2 08 00 00 14 80 0D 03 02 00 00 00 00 8F [21:47:02]Write i2c OK [21:47:02]MH_I2C_Read... [21:47:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:47:02]Read from MH i2c: E2 [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: E2 0B 00 [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: E2 0B 00 00 14 00 47 5C 20 88 51 43 B4 EC 90 00 0F [21:47:02]RAPDU: 47 5C 20 88 51 43 B4 EC 90 00 [21:47:02]wFMCommunicate OK [21:47:02]SAM_PROTO_SignData done [21:47:02]FM_MakeSignedData done [21:47:02]CreateOFDProtocolMessage [21:47:02]wFMCommunicate request_size=4 [21:47:02]MH_SAM_APDU [21:47:02]CAPDU: 80 11 00 00 [21:47:02]Write to MH i2c: E2 08 00 01 14 80 11 00 00 00 00 00 00 8F [21:47:02]Write i2c OK [21:47:02]MH_I2C_Read... [21:47:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:47:02]Read from MH i2c: E2 [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: E2 17 00 [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: E2 17 00 01 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 E6 [21:47:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [21:47:02]wFMCommunicate OK [21:47:02]CreateOFDProtocolMessage done [21:47:02]OFDSenderStorePacket 24908 [21:47:02]StoreOFDPacket docnum=24908 [21:47:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2F 01 00 00 5F 2E 27 01 5F 26 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 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 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 59 7A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4C 61 00 00 35 04 06 00 3D 2E B4 A9 71 4A 47 5C 20 88 51 43 B4 EC [21:47:02]CheckFolder [21:47:02]dirname=/storage/ofd_packets [21:47:02]CheckFolder done [21:47:02]ProducePacketName [21:47:02]name=ofd_packets/00024908 [21:47:02]NVStorageSaveData ofd_packets/00024908 [21:47:02]File name is /storage/ofd_packets/00024908 [21:47:02]Write 333 bytes [21:47:02]NVStorageSaveData done [21:47:02]OFDSenderStorePacket done [21:47:02]KKMCreateOFDPacket done [21:47:02]NVStorageSaveData kkm_last_timestamp [21:47:02]File name is /storage/kkm_last_timestamp [21:47:02]Write 4 bytes [21:47:02]OFD Sender: Processing packet 24908 [packets to send 5, broken 4] [21:47:02]ProducePacketName [21:47:02]name=ofd_packets/00024908 [21:47:02]OFD Sender: To server: pG, [21:47:02]CommunicateWithHost lk.salyk.kg:30040 [21:47:02]ConnectInit lk.salyk.kg [21:47:02]NVStorageSaveData done [21:47:02]ExternCall_PrintAddStr [21:47:02]wPrintStart [21:47:02]Write to MH i2c: 01 00 00 02 14 16 [21:47:02]Write i2c OK [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: 01 [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: 01 07 00 [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: 01 07 00 02 14 00 00 00 00 00 FF 0F 2B [21:47:02]RasterBufferAndPrint [21:47:02]line Счет N : (3)34668 [21:47:02]line ИНН: 02508201610067 [21:47:02]line Контрольно-Кассовый Чек [21:47:02]line ПРОДАЖА [21:47:02]line Товар: 4630007400655 [21:47:02]line Семечки ДЖИНН 70г синий [21:47:02]line 1.000 * 70.00 [21:47:02]line = 70.00 [21:47:02]line НДС 12% НСП 1% [21:47:02]line > о реализуемом товаре [21:47:02]line ИТОГО: 70.00 [21:47:02]line НСП 1% : 0.62 [21:47:02]line НДС 12% : 7.43 [21:47:02]line Наличными: 70.00 [21:47:02]line Безнал.: 0.00 [21:47:02]line Место: АЗС № 161 "Партнер Нефть" [21:47:02]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [21:47:02]line СНО: Общий режим [21:47:02]line Чек 66 20.10.2024 21:47 [21:47:02]line Смена: 455 ФФД: 1.0 [21:47:02]line ЗНМ: 0300000240 [21:47:02]line РНМ: 0000000000098147 [21:47:02]line Версия ККМ: 001 [21:47:02]line ФМ: 0000000000965376 [21:47:02]line ФД: 24908 [21:47:02]line ФПД: 67270808793418 [21:47:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T214705&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24908&fm=67270808793418&tin=02508201610067®Number=0000000000098147&sum=7000 [21:47:02]line 0 [21:47:02]Connected sock=11 [21:47:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2F 01 00 00 5F 2E 27 01 5F 26 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 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 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 59 7A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4C 61 00 00 35 04 06 00 3D 2E B4 A9 71 4A 47 5C 20 88 51 43 B4 EC [21:47:02]written 0, free lines is 4095 [21:47:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 AD 9F 47 00 8A F3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4C 61 00 00 F4 03 04 00 D8 22 15 67 B6 04 01 00 00 62 32 35 14 AD 5D 4C 9E [21:47:02]CommunicateWithHost err = 0 [21:47:02]CheckOFDResponse [21:47:02]1017 (14) - 77093643461234 [21:47:02]1041 (16) - 0000000000965376 [21:47:02]1040 (4) - 24908 [21:47:02]1012 (4) - 20.10.2024 15:33 [21:47:02]1206 (1) - 0 [21:47:02]OFD Sender: Remove packet 24908 [21:47:02]ProducePacketName [21:47:02]name=ofd_packets/00024908 [21:47:02]NVStorageDeleteData [21:47:03]Write to MH i2c: 01 00 00 2A 14 3E [21:47:03]Write i2c OK [21:47:03]MH_I2C_Read... [21:47:03]Read from MH i2c: 01 [21:47:03]MH_I2C_Read... [21:47:03]Read from MH i2c: 01 07 00 [21:47:03]MH_I2C_Read... [21:47:03]Read from MH i2c: 01 07 00 2A 14 00 00 00 00 00 D9 0C 2A [21:47:03]RasterBufferAndPrint [21:47:03]line [21:47:03]line [21:47:03]line [21:47:03]line [21:47:03]line [21:47:03]written 0, free lines is 3295 [21:47:03]process_action close_receipt done [21:47:03]requested_data is exist [21:47:03]produce_requested_data [21:47:03]requested_item fm.sn is exist - process it [21:47:03]wFMCommunicate request_size=4 [21:47:03]MH_SAM_APDU [21:47:03]CAPDU: 80 11 00 00 [21:47:03]Write to MH i2c: E2 08 00 31 14 80 11 00 00 00 00 00 00 BF [21:47:03]Write i2c OK [21:47:03]MH_I2C_Read... [21:47:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:47:03]Read from MH i2c: E2 [21:47:03]MH_I2C_Read... [21:47:03]Read from MH i2c: E2 17 00 [21:47:03]MH_I2C_Read... [21:47:03]Read from MH i2c: E2 17 00 31 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 16 [21:47:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [21:47:03]wFMCommunicate OK [21:47:03]requested_item fd.num is exist - process it [21:47:03]SAM_PROTO_GetFieldsCounters [21:47:03]wFMCommunicate request_size=4 [21:47:03]MH_SAM_APDU [21:47:03]CAPDU: 80 13 00 00 [21:47:03]Write to MH i2c: E2 08 00 32 14 80 13 00 00 00 00 00 00 C2 [21:47:03]Write i2c OK [21:47:03]MH_I2C_Read... [21:47:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:47:03]Read from MH i2c: E2 [21:47:03]MH_I2C_Read... [21:47:03]Read from MH i2c: E2 62 00 [21:47:03]MH_I2C_Read... [21:47:03]Read from MH i2c: E2 62 00 32 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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 4C 61 00 00 0E 04 04 00 C7 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 26 [21:47:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 4C 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:47:03]wFMCommunicate OK [21:47:03]SAM_PROTO_GetFieldsCounters done [21:47:03]requested_item shift.num is exist - process it [21:47:03]requested_item shift.opened is exist - process it [21:47:03]req_shift_opened [21:47:03]FM_GetShiftState [21:47:03]SAM_PROTO_GetShiftState [21:47:03]wFMCommunicate request_size=4 [21:47:03]MH_SAM_APDU [21:47:03]CAPDU: 80 13 01 00 [21:47:03]Write to MH i2c: E2 08 00 33 14 80 13 01 00 00 00 00 00 C4 [21:47:03]Write i2c OK [21:47:03]MH_I2C_Read... [21:47:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:47:03]Read from MH i2c: E2 [21:47:03]MH_I2C_Read... [21:47:03]Read from MH i2c: E2 0E 00 [21:47:03]MH_I2C_Read... [21:47:03]Read from MH i2c: E2 0E 00 33 14 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 0A [21:47:03]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [21:47:03]wFMCommunicate OK [21:47:03]SAM_PROTO_GetShiftState done [21:47:03]FM_GetShiftState done [21:47:03]req_shift_opened done [21:47:03]requested_item shift.open_date is exist - process it [21:47:03]req_shift_open_date [21:47:03]req_shift_open_date done [21:47:03]produce_requested_data done [21:47:03]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24908,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [21:47:03]process_action_free close_receipt [21:47:03]json_value_free [21:47:03]json_value_free done [21:47:03]process_json_proto returns [21:47:03]Send response to host [21:47:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24908,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [21:47:03]free response buf [21:47:03]execute_script done [21:47:03]execute_script returns [21:47:03]free content buf [21:47:03]Sock 7.Close socket [21:47:03]Sock 7.Thread stoped [21:47:03]OFD Sender: No OFD packet to send [21:47:08]OFD Sender: No OFD packet to send [21:47:13]OFD Sender: No OFD packet to send [21:47:18]OFD Sender: No OFD packet to send [21:47:23]OFD Sender: No OFD packet to send [21:47:28]OFD Sender: No OFD packet to send [21:47:33]OFD Sender: No OFD packet to send [21:47:38]OFD Sender: No OFD packet to send [21:47:43]OFD Sender: No OFD packet to send [21:47:48]OFD Sender: No OFD packet to send [21:47:53]OFD Sender: No OFD packet to send [21:47:58]OFD Sender: No OFD packet to send [21:48:03]OFD Sender: No OFD packet to send [21:48:08]OFD Sender: No OFD packet to send [21:48:13]OFD Sender: No OFD packet to send [21:48:18]OFD Sender: No OFD packet to send [21:48:22]accept exits with 9 [21:48:22]New connection [21:48:22]New thread 3067309412 created [21:48:22]Thread 3067166052 joined [21:48:22]Waiting for new connection... [21:48:22] Sock 9.Parse request [21:48:22]Sock 9.Check first char [21:48:22]Sock 9.First char is OK [21:48:22]request: POST /json_proto HTTP/1.0 [21:48:22]Method: POST [21:48:22]URL: /json_proto [21:48:22]Method is POST - this is cgi request [21:48:22]url: /json_proto [21:48:22]query_string will be loaded in cgi processing [21:48:22]execute_cgi json_proto POST (null) [21:48:22]execute_cgi path=json_proto method=POST [21:48:22]POST find Content-Length [21:48:22]Host: 172.17.53.196:8080 [21:48:22]Content-Length: 694 [21:48:22]Content-Type: application/json [21:48:22] [21:48:22]POST finish read [21:48:22]Found Content-Length = 694 [21:48:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34669", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 2.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 30.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:48:22]execute_script... [21:48:22]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34669", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 2.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 30.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:48:22]POST & json_proto [21:48:22]process_json_proto [21:48:22]json parsed OK: [21:48:22]protocol is kg_v1.0 [21:48:22]action value=close_receipt [21:48:22]process_action close_receipt [21:48:22]cmd_close_receipt [21:48:22]MH_GetDate [21:48:22]Write to MH i2c: F0 00 00 34 14 37 [21:48:22]Write i2c OK [21:48:22]MH_I2C_Read... [21:48:22]Read from MH i2c: F0 [21:48:22]MH_I2C_Read... [21:48:22]Read from MH i2c: F0 09 00 [21:48:22]MH_I2C_Read... [21:48:22]Read from MH i2c: F0 09 00 34 14 00 AB 7A 15 67 4F CD 9A 65 FC [21:48:22]GetLastDocTimeStamp 1729460825 [21:48:22]current date 1729460907 [21:48:22]FM_GetShiftState [21:48:22]SAM_PROTO_GetShiftState [21:48:22]wFMCommunicate request_size=4 [21:48:22]MH_SAM_APDU [21:48:22]CAPDU: 80 13 01 00 [21:48:22]Write to MH i2c: E2 08 00 35 14 80 13 01 00 00 00 00 00 C6 [21:48:22]Write i2c OK [21:48:22]MH_I2C_Read... [21:48:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:48:22]Read from MH i2c: E2 [21:48:22]MH_I2C_Read... [21:48:22]Read from MH i2c: E2 0E 00 [21:48:22]MH_I2C_Read... [21:48:22]Read from MH i2c: E2 0E 00 35 14 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 0C [21:48:22]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [21:48:22]wFMCommunicate OK [21:48:22]SAM_PROTO_GetShiftState done [21:48:22]FM_GetShiftState done [21:48:22]opened in 1729384049 [21:48:22]opened+sec_in_day 1729470449 [21:48:22]quantity*price = 3000 [21:48:22]sum+1 = 3001 [21:48:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 30.00 НСП 1% : 0.26 НДС 12% : 3.19 Наличными: 30.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 67 20.10.2024 21:48 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24909 ФПД: 165719060817740 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T214827&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24909&fm=165719060817740&tin=02508201610067®Number=0000000000098147&sum=3000 0 [21:48:23]StoreToDocumentArchive [21:48:23]shift 455 fd 24909 [21:48:23]save to /storage/0455/doc_00024909 [21:48:23]save last doc name /storage/0455/doc_00024909 to /storage/kkm_last_doc_name [21:48:23]save OK [21:48:23]Clear old archive folders... [21:48:23]ProcessDocumentItem done err = 0, tmpTLVsize=290 [21:48:23]tlvbuf is B6F18610 [21:48:23]SAM_PROTO_ClearQueue [21:48:23]wFMCommunicate request_size=4 [21:48:23]MH_SAM_APDU [21:48:23]CAPDU: 80 09 00 00 [21:48:23]Write to MH i2c: E2 08 00 42 14 80 09 00 00 00 00 00 00 C8 [21:48:23]Write i2c OK [21:48:23]MH_I2C_Read... [21:48:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:48:23]Read from MH i2c: E2 [21:48:23]MH_I2C_Read... [21:48:23]Read from MH i2c: E2 03 00 [21:48:23]MH_I2C_Read... [21:48:23]Read from MH i2c: E2 03 00 42 14 00 90 00 CA [21:48:23]RAPDU: 90 00 [21:48:23]wFMCommunicate OK [21:48:23]SAM_PROTO_ClearQueue done [21:48:23]KKMCreateOFDPacket [21:48:23]OFDProtocolAddRootSTLVToBuf [21:48:23]FM_MakeSignedData [21:48:23]FM_MakeSignedData [21:48:23]SAM_PROTO_SignData [21:48:23]wFMCommunicate request_size=4 [21:48:23]MH_SAM_APDU [21:48:23]CAPDU: 80 0D 01 02 [21:48:23]Write to MH i2c: E2 08 00 43 14 80 0D 01 02 00 00 00 00 D0 [21:48:23]Write i2c OK [21:48:23]MH_I2C_Read... [21:48:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:48:23]Read from MH i2c: E2 [21:48:23]MH_I2C_Read... [21:48:23]Read from MH i2c: E2 03 00 [21:48:23]MH_I2C_Read... [21:48:23]Read from MH i2c: E2 03 00 43 14 00 90 00 CB [21:48:23]RAPDU: 90 00 [21:48:23]wFMCommunicate OK [21:48:23]wFMCommunicate request_size=255 [21:48:23]MH_SAM_APDU [21:48:23]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 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 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 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 AB 7A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [21:48:23]Write to MH i2c: E2 02 01 44 14 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 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 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 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 AB 7A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 7A [21:48:23]Write i2c OK [21:48:23]MH_I2C_Read... [21:48:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:48:24]Read from MH i2c: E2 [21:48:24]MH_I2C_Read... [21:48:24]Read from MH i2c: E2 03 00 [21:48:24]MH_I2C_Read... [21:48:24]Read from MH i2c: E2 03 00 44 14 00 90 00 CC [21:48:24]RAPDU: 90 00 [21:48:24]wFMCommunicate OK [21:48:24]wFMCommunicate request_size=49 [21:48:24]MH_SAM_APDU [21:48:24]CAPDU: 80 0D 02 02 2C 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4D 61 00 00 35 04 06 00 96 B8 79 C0 A7 4C [21:48:24]Write to MH i2c: E2 34 00 45 14 80 0D 02 02 2C 00 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4D 61 00 00 35 04 06 00 96 B8 79 C0 A7 4C 00 00 30 [21:48:24]Write i2c OK [21:48:24]MH_I2C_Read... [21:48:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:48:24]Read from MH i2c: E2 [21:48:24]MH_I2C_Read... [21:48:24]Read from MH i2c: E2 03 00 [21:48:24]MH_I2C_Read... [21:48:24]Read from MH i2c: E2 03 00 45 14 00 90 00 CD [21:48:24]RAPDU: 90 00 [21:48:24]wFMCommunicate OK [21:48:24]wFMCommunicate request_size=4 [21:48:24]MH_SAM_APDU [21:48:24]CAPDU: 80 0D 03 02 [21:48:24]Write to MH i2c: E2 08 00 46 14 80 0D 03 02 00 00 00 00 D5 [21:48:24]Write i2c OK [21:48:24]MH_I2C_Read... [21:48:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:48:24]Read from MH i2c: E2 [21:48:24]MH_I2C_Read... [21:48:24]Read from MH i2c: E2 0B 00 [21:48:24]MH_I2C_Read... [21:48:24]Read from MH i2c: E2 0B 00 46 14 00 AA 04 F7 C6 C6 0C CB F7 90 00 D5 [21:48:24]RAPDU: AA 04 F7 C6 C6 0C CB F7 90 00 [21:48:24]wFMCommunicate OK [21:48:24]SAM_PROTO_SignData done [21:48:24]FM_MakeSignedData done [21:48:24]CreateOFDProtocolMessage [21:48:24]wFMCommunicate request_size=4 [21:48:24]MH_SAM_APDU [21:48:24]CAPDU: 80 11 00 00 [21:48:24]Write to MH i2c: E2 08 00 47 14 80 11 00 00 00 00 00 00 D5 [21:48:24]Write i2c OK [21:48:24]MH_I2C_Read... [21:48:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:48:24]Read from MH i2c: E2 [21:48:24]MH_I2C_Read... [21:48:24]Read from MH i2c: E2 17 00 [21:48:24]MH_I2C_Read... [21:48:24]Read from MH i2c: E2 17 00 47 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 2C [21:48:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [21:48:24]wFMCommunicate OK [21:48:24]CreateOFDProtocolMessage done [21:48:24]OFDSenderStorePacket 24909 [21:48:24]StoreOFDPacket docnum=24909 [21:48:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 36 01 00 00 E9 FF 2E 01 33 A8 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 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 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 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 AB 7A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4D 61 00 00 35 04 06 00 96 B8 79 C0 A7 4C AA 04 F7 C6 C6 0C CB F7 [21:48:24]CheckFolder [21:48:24]dirname=/storage/ofd_packets [21:48:24]CheckFolder done [21:48:24]ProducePacketName [21:48:24]name=ofd_packets/00024909 [21:48:24]NVStorageSaveData ofd_packets/00024909 [21:48:24]File name is /storage/ofd_packets/00024909 [21:48:24]Write 340 bytes [21:48:24]NVStorageSaveData done [21:48:24]OFDSenderStorePacket done [21:48:24]KKMCreateOFDPacket done [21:48:24]NVStorageSaveData kkm_last_timestamp [21:48:24]File name is /storage/kkm_last_timestamp [21:48:24]Write 4 bytes [21:48:24]NVStorageSaveData done [21:48:24]ExternCall_PrintAddStr [21:48:24]wPrintStart [21:48:24]Write to MH i2c: 01 00 00 48 14 5C [21:48:24]Write i2c OK [21:48:24]MH_I2C_Read... [21:48:24]Read from MH i2c: 01 [21:48:24]MH_I2C_Read... [21:48:24]Read from MH i2c: 01 07 00 [21:48:24]MH_I2C_Read... [21:48:24]Read from MH i2c: 01 07 00 48 14 00 00 00 00 00 FF 0F 71 [21:48:24]RasterBufferAndPrint [21:48:24]line Счет N : (3)34669 [21:48:24]line ИНН: 02508201610067 [21:48:24]line Контрольно-Кассовый Чек [21:48:24]line ПРОДАЖА [21:48:24]line Товар: 4700000160013 [21:48:24]line Снек Курут индивидуальный [21:48:24]line 2.000 * 15.00 [21:48:24]line = 30.00 [21:48:24]line НДС 12% НСП 1% [21:48:24]line > о реализуемом товаре [21:48:24]line ИТОГО: 30.00 [21:48:24]line НСП 1% : 0.26 [21:48:24]line НДС 12% : 3.19 [21:48:24]line Наличными: 30.00 [21:48:24]line Безнал.: 0.00 [21:48:24]line Место: АЗС № 161 "Партнер Нефть" [21:48:24]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [21:48:24]line СНО: Общий режим [21:48:24]line Чек 67 20.10.2024 21:48 [21:48:24]line Смена: 455 ФФД: 1.0 [21:48:24]line ЗНМ: 0300000240 [21:48:24]line РНМ: 0000000000098147 [21:48:24]line Версия ККМ: 001 [21:48:24]line ФМ: 0000000000965376 [21:48:24]line ФД: 24909 [21:48:24]line ФПД: 165719060817740 [21:48:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T214827&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24909&fm=165719060817740&tin=02508201610067®Number=0000000000098147&sum=3000 [21:48:24]line 0 [21:48:24]OFD Sender: Processing packet 24909 [packets to send 5, broken 4] [21:48:24]ProducePacketName [21:48:24]name=ofd_packets/00024909 [21:48:24]OFD Sender: To server: pG, [21:48:24]CommunicateWithHost lk.salyk.kg:30040 [21:48:24]ConnectInit lk.salyk.kg [21:48:24]written 0, free lines is 4095 [21:48:24]Connected sock=10 [21:48: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 33 37 36 36 01 00 00 E9 FF 2E 01 33 A8 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 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 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 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 AB 7A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4D 61 00 00 35 04 06 00 96 B8 79 C0 A7 4C AA 04 F7 C6 C6 0C CB F7 [21:48:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 19 8B 47 00 7C 36 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4D 61 00 00 F4 03 04 00 2A 23 15 67 B6 04 01 00 00 97 E8 BE 72 A3 A9 B8 3C [21:48:24]CommunicateWithHost err = 0 [21:48:24]CheckOFDResponse [21:48:24]1017 (14) - 77093643461234 [21:48:24]1041 (16) - 0000000000965376 [21:48:24]1040 (4) - 24909 [21:48:24]1012 (4) - 20.10.2024 15:35 [21:48:24]1206 (1) - 0 [21:48:24]OFD Sender: Remove packet 24909 [21:48:24]ProducePacketName [21:48:24]name=ofd_packets/00024909 [21:48:24]NVStorageDeleteData [21:48:24]Write to MH i2c: 01 00 00 70 14 84 [21:48:24]Write i2c OK [21:48:24]MH_I2C_Read... [21:48:24]Read from MH i2c: 01 [21:48:24]MH_I2C_Read... [21:48:24]Read from MH i2c: 01 07 00 [21:48:24]MH_I2C_Read... [21:48:24]Read from MH i2c: 01 07 00 70 14 00 00 00 00 00 CB 0C 62 [21:48:24]RasterBufferAndPrint [21:48:24]line [21:48:24]line [21:48:24]line [21:48:24]line [21:48:24]line [21:48:24]written 0, free lines is 3281 [21:48:24]process_action close_receipt done [21:48:24]requested_data is exist [21:48:24]produce_requested_data [21:48:24]requested_item fm.sn is exist - process it [21:48:24]wFMCommunicate request_size=4 [21:48:24]MH_SAM_APDU [21:48:24]CAPDU: 80 11 00 00 [21:48:24]Write to MH i2c: E2 08 00 77 14 80 11 00 00 00 00 00 00 05 [21:48:24]Write i2c OK [21:48:24]MH_I2C_Read... [21:48:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:48:24]Read from MH i2c: E2 [21:48:24]MH_I2C_Read... [21:48:24]Read from MH i2c: E2 17 00 [21:48:24]MH_I2C_Read... [21:48:24]Read from MH i2c: E2 17 00 77 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 5C [21:48:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [21:48:24]wFMCommunicate OK [21:48:24]requested_item fd.num is exist - process it [21:48:24]SAM_PROTO_GetFieldsCounters [21:48:24]wFMCommunicate request_size=4 [21:48:24]MH_SAM_APDU [21:48:24]CAPDU: 80 13 00 00 [21:48:24]Write to MH i2c: E2 08 00 78 14 80 13 00 00 00 00 00 00 08 [21:48:24]Write i2c OK [21:48:24]MH_I2C_Read... [21:48:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:48:25]Read from MH i2c: E2 [21:48:25]MH_I2C_Read... [21:48:25]Read from MH i2c: E2 62 00 [21:48:25]MH_I2C_Read... [21:48:25]Read from MH i2c: E2 62 00 78 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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 4D 61 00 00 0E 04 04 00 C7 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 70 [21:48:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 4D 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:48:25]wFMCommunicate OK [21:48:25]SAM_PROTO_GetFieldsCounters done [21:48:25]requested_item shift.num is exist - process it [21:48:25]requested_item shift.opened is exist - process it [21:48:25]req_shift_opened [21:48:25]FM_GetShiftState [21:48:25]SAM_PROTO_GetShiftState [21:48:25]wFMCommunicate request_size=4 [21:48:25]MH_SAM_APDU [21:48:25]CAPDU: 80 13 01 00 [21:48:25]Write to MH i2c: E2 08 00 79 14 80 13 01 00 00 00 00 00 0A [21:48:25]Write i2c OK [21:48:25]MH_I2C_Read... [21:48:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:48:25]Read from MH i2c: E2 [21:48:25]MH_I2C_Read... [21:48:25]Read from MH i2c: E2 0E 00 [21:48:25]MH_I2C_Read... [21:48:25]Read from MH i2c: E2 0E 00 79 14 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 50 [21:48:25]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [21:48:25]wFMCommunicate OK [21:48:25]SAM_PROTO_GetShiftState done [21:48:25]FM_GetShiftState done [21:48:25]req_shift_opened done [21:48:25]requested_item shift.open_date is exist - process it [21:48:25]req_shift_open_date [21:48:25]req_shift_open_date done [21:48:25]produce_requested_data done [21:48:25]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24909,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [21:48:25]process_action_free close_receipt [21:48:25]json_value_free [21:48:25]json_value_free done [21:48:25]process_json_proto returns [21:48:25]Send response to host [21:48:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24909,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [21:48:25]free response buf [21:48:25]execute_script done [21:48:25]execute_script returns [21:48:25]free content buf [21:48:25]Sock 9.Close socket [21:48:25]Sock 9.Thread stoped [21:48:25]OFD Sender: No OFD packet to send [21:48:30]OFD Sender: No OFD packet to send [21:48:35]OFD Sender: No OFD packet to send [21:48:40]OFD Sender: No OFD packet to send [21:48:45]OFD Sender: No OFD packet to send [21:48:50]OFD Sender: No OFD packet to send [21:48:55]OFD Sender: No OFD packet to send [21:49:00]OFD Sender: No OFD packet to send [21:49:05]OFD Sender: No OFD packet to send [21:49:10]OFD Sender: No OFD packet to send [21:49:15]OFD Sender: No OFD packet to send [21:49:20]OFD Sender: No OFD packet to send [21:49:25]OFD Sender: No OFD packet to send [21:49:30]OFD Sender: No OFD packet to send [21:49:35]OFD Sender: No OFD packet to send [21:49:40]OFD Sender: No OFD packet to send [21:49:45]OFD Sender: No OFD packet to send [21:49:50]OFD Sender: No OFD packet to send [21:49:55]OFD Sender: No OFD packet to send [21:50:00]OFD Sender: No OFD packet to send [21:50:05]OFD Sender: No OFD packet to send [21:50:10]OFD Sender: No OFD packet to send [21:50:15]OFD Sender: No OFD packet to send [21:50:20]OFD Sender: No OFD packet to send [21:50:25]OFD Sender: No OFD packet to send [21:50:30]OFD Sender: No OFD packet to send [21:50:35]OFD Sender: No OFD packet to send [21:50:40]OFD Sender: No OFD packet to send [21:50:45]OFD Sender: No OFD packet to send [21:50:50]OFD Sender: No OFD packet to send [21:50:55]OFD Sender: No OFD packet to send [21:51:00]OFD Sender: No OFD packet to send [21:51:05]OFD Sender: No OFD packet to send [21:51:10]OFD Sender: No OFD packet to send [21:51:15]OFD Sender: No OFD packet to send [21:51:20]OFD Sender: No OFD packet to send [21:51:25]OFD Sender: No OFD packet to send [21:51:30]OFD Sender: No OFD packet to send [21:51:35]OFD Sender: No OFD packet to send [21:51:40]OFD Sender: No OFD packet to send [21:51:45]OFD Sender: No OFD packet to send [21:51:50]OFD Sender: No OFD packet to send [21:51:55]OFD Sender: No OFD packet to send [21:52:00]OFD Sender: No OFD packet to send [21:52:05]OFD Sender: No OFD packet to send [21:52:10]OFD Sender: No OFD packet to send [21:52:15]OFD Sender: No OFD packet to send [21:52:20]OFD Sender: No OFD packet to send [21:52:25]OFD Sender: No OFD packet to send [21:52:30]OFD Sender: No OFD packet to send [21:52:35]OFD Sender: No OFD packet to send [21:52:40]OFD Sender: No OFD packet to send [21:52:45]OFD Sender: No OFD packet to send [21:52:50]OFD Sender: No OFD packet to send [21:52:55]OFD Sender: No OFD packet to send [21:53:00]OFD Sender: No OFD packet to send [21:53:05]OFD Sender: No OFD packet to send [21:53:10]OFD Sender: No OFD packet to send [21:53:15]OFD Sender: No OFD packet to send [21:53:20]OFD Sender: No OFD packet to send [21:53:25]OFD Sender: No OFD packet to send [21:53:30]OFD Sender: No OFD packet to send [21:53:35]OFD Sender: No OFD packet to send [21:53:40]OFD Sender: No OFD packet to send [21:53:45]OFD Sender: No OFD packet to send [21:53:50]OFD Sender: No OFD packet to send [21:53:55]OFD Sender: No OFD packet to send [21:54:00]OFD Sender: No OFD packet to send [21:54:05]OFD Sender: No OFD packet to send [21:54:10]OFD Sender: No OFD packet to send [21:54:15]OFD Sender: No OFD packet to send [21:54:20]OFD Sender: No OFD packet to send [21:54:25]OFD Sender: No OFD packet to send [21:54:30]OFD Sender: No OFD packet to send [21:54:35]OFD Sender: No OFD packet to send [21:54:40]OFD Sender: No OFD packet to send [21:54:45]OFD Sender: No OFD packet to send [21:54:50]OFD Sender: No OFD packet to send [21:54:55]OFD Sender: No OFD packet to send [21:55:00]OFD Sender: No OFD packet to send [21:55:05]OFD Sender: No OFD packet to send [21:55:10]OFD Sender: No OFD packet to send [21:55:15]OFD Sender: No OFD packet to send [21:55:20]OFD Sender: No OFD packet to send [21:55:25]OFD Sender: No OFD packet to send [21:55:30]OFD Sender: No OFD packet to send [21:55:35]OFD Sender: No OFD packet to send [21:55:40]OFD Sender: No OFD packet to send [21:55:45]OFD Sender: No OFD packet to send [21:55:50]OFD Sender: No OFD packet to send [21:55:55]OFD Sender: No OFD packet to send [21:56:00]OFD Sender: No OFD packet to send [21:56:05]OFD Sender: No OFD packet to send [21:56:10]OFD Sender: No OFD packet to send [21:56:15]OFD Sender: No OFD packet to send [21:56:20]OFD Sender: No OFD packet to send [21:56:25]OFD Sender: No OFD packet to send [21:56:30]OFD Sender: No OFD packet to send [21:56:35]OFD Sender: No OFD packet to send [21:56:40]OFD Sender: No OFD packet to send [21:56:45]OFD Sender: No OFD packet to send [21:56:50]OFD Sender: No OFD packet to send [21:56:55]OFD Sender: No OFD packet to send [21:57:00]OFD Sender: No OFD packet to send [21:57:05]OFD Sender: No OFD packet to send [21:57:10]OFD Sender: No OFD packet to send [21:57:15]OFD Sender: No OFD packet to send [21:57:20]OFD Sender: No OFD packet to send [21:57:25]OFD Sender: No OFD packet to send [21:57:30]OFD Sender: No OFD packet to send [21:57:35]OFD Sender: No OFD packet to send [21:57:40]OFD Sender: No OFD packet to send [21:57:45]OFD Sender: No OFD packet to send [21:57:50]OFD Sender: No OFD packet to send [21:57:55]OFD Sender: No OFD packet to send [21:58:00]OFD Sender: No OFD packet to send [21:58:05]OFD Sender: No OFD packet to send [21:58:10]OFD Sender: No OFD packet to send [21:58:15]OFD Sender: No OFD packet to send [21:58:20]OFD Sender: No OFD packet to send [21:58:25]OFD Sender: No OFD packet to send [21:58:30]OFD Sender: No OFD packet to send [21:58:35]OFD Sender: No OFD packet to send [21:58:40]OFD Sender: No OFD packet to send [21:58:45]OFD Sender: No OFD packet to send [21:58:50]OFD Sender: No OFD packet to send [21:58:55]OFD Sender: No OFD packet to send [21:59:00]OFD Sender: No OFD packet to send [21:59:05]OFD Sender: No OFD packet to send [21:59:10]OFD Sender: No OFD packet to send [21:59:15]OFD Sender: No OFD packet to send [21:59:20]OFD Sender: No OFD packet to send [21:59:25]OFD Sender: No OFD packet to send [21:59:30]OFD Sender: No OFD packet to send [21:59:35]OFD Sender: No OFD packet to send [21:59:40]OFD Sender: No OFD packet to send [21:59:45]OFD Sender: No OFD packet to send [21:59:50]OFD Sender: No OFD packet to send [21:59:55]OFD Sender: No OFD packet to send [22:00:00]OFD Sender: No OFD packet to send [22:00:05]OFD Sender: No OFD packet to send [22:00:10]OFD Sender: No OFD packet to send [22:00:15]OFD Sender: No OFD packet to send [22:00:20]OFD Sender: No OFD packet to send [22:00:25]OFD Sender: No OFD packet to send [22:00:30]OFD Sender: No OFD packet to send [22:00:35]OFD Sender: No OFD packet to send [22:00:40]OFD Sender: No OFD packet to send [22:00:45]OFD Sender: No OFD packet to send [22:00:50]OFD Sender: No OFD packet to send [22:00:55]OFD Sender: No OFD packet to send [22:01:00]OFD Sender: No OFD packet to send [22:01:05]OFD Sender: No OFD packet to send [22:01:10]OFD Sender: No OFD packet to send [22:01:15]OFD Sender: No OFD packet to send [22:01:20]OFD Sender: No OFD packet to send [22:01:25]OFD Sender: No OFD packet to send [22:01:30]OFD Sender: No OFD packet to send [22:01:35]OFD Sender: No OFD packet to send [22:01:40]OFD Sender: No OFD packet to send [22:01:45]OFD Sender: No OFD packet to send [22:01:50]OFD Sender: No OFD packet to send [22:01:55]OFD Sender: No OFD packet to send [22:02:00]OFD Sender: No OFD packet to send [22:02:05]OFD Sender: No OFD packet to send [22:02:10]OFD Sender: No OFD packet to send [22:02:15]OFD Sender: No OFD packet to send [22:02:20]OFD Sender: No OFD packet to send [22:02:25]OFD Sender: No OFD packet to send [22:02:30]OFD Sender: No OFD packet to send [22:02:35]OFD Sender: No OFD packet to send [22:02:40]OFD Sender: No OFD packet to send [22:02:45]OFD Sender: No OFD packet to send [22:02:50]OFD Sender: No OFD packet to send [22:02:55]OFD Sender: No OFD packet to send [22:03:00]OFD Sender: No OFD packet to send [22:03:05]OFD Sender: No OFD packet to send [22:03:10]OFD Sender: No OFD packet to send [22:03:15]OFD Sender: No OFD packet to send [22:03:20]OFD Sender: No OFD packet to send [22:03:25]OFD Sender: No OFD packet to send [22:03:30]OFD Sender: No OFD packet to send [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:16]OFD Sender: No OFD packet to send [22:04:21]OFD Sender: No OFD packet to send [22:04:26]OFD Sender: No OFD packet to send [22:04:31]OFD Sender: No OFD packet to send [22:04:36]OFD Sender: No OFD packet to send [22:04:41]OFD Sender: No OFD packet to send [22:04:46]OFD Sender: No OFD packet to send [22:04:51]OFD Sender: No OFD packet to send [22:04:56]OFD Sender: No OFD packet to send [22:05:01]OFD Sender: No OFD packet to send [22:05:06]OFD Sender: No OFD packet to send [22:05:11]OFD Sender: No OFD packet to send [22:05:16]OFD Sender: No OFD packet to send [22:05:21]OFD Sender: No OFD packet to send [22:05:26]OFD Sender: No OFD packet to send [22:05:31]OFD Sender: No OFD packet to send [22:05:36]OFD Sender: No OFD packet to send [22:05:41]OFD Sender: No OFD packet to send [22:05:46]OFD Sender: No OFD packet to send [22:05:51]OFD Sender: No OFD packet to send [22:05:56]OFD Sender: No OFD packet to send [22:06:01]OFD Sender: No OFD packet to send [22:06:06]OFD Sender: No OFD packet to send [22:06:11]OFD Sender: No OFD packet to send [22:06:16]OFD Sender: No OFD packet to send [22:06:21]OFD Sender: No OFD packet to send [22:06:26]OFD Sender: No OFD packet to send [22:06:31]OFD Sender: No OFD packet to send [22:06:36]OFD Sender: No OFD packet to send [22:06:41]OFD Sender: No OFD packet to send [22:06:46]OFD Sender: No OFD packet to send [22:06:51]OFD Sender: No OFD packet to send [22:06:56]OFD Sender: No OFD packet to send [22:07:01]OFD Sender: No OFD packet to send [22:07:06]OFD Sender: No OFD packet to send [22:07:11]OFD Sender: No OFD packet to send [22:07:16]OFD Sender: No OFD packet to send [22:07:21]OFD Sender: No OFD packet to send [22:07:26]OFD Sender: No OFD packet to send [22:07:31]OFD Sender: No OFD packet to send [22:07:36]OFD Sender: No OFD packet to send [22:07:41]OFD Sender: No OFD packet to send [22:07:46]OFD Sender: No OFD packet to send [22:07:51]OFD Sender: No OFD packet to send [22:07:56]OFD Sender: No OFD packet to send [22:08:01]OFD Sender: No OFD packet to send [22:08:06]OFD Sender: No OFD packet to send [22:08:11]OFD Sender: No OFD packet to send [22:08:16]OFD Sender: No OFD packet to send [22:08:21]OFD Sender: No OFD packet to send [22:08:26]OFD Sender: No OFD packet to send [22:08:31]OFD Sender: No OFD packet to send [22:08:36]OFD Sender: No OFD packet to send [22:08:41]OFD Sender: No OFD packet to send [22:08:46]OFD Sender: No OFD packet to send [22:08:51]OFD Sender: No OFD packet to send [22:08:56]OFD Sender: No OFD packet to send [22:09:01]OFD Sender: No OFD packet to send [22:09:06]OFD Sender: No OFD packet to send [22:09:11]OFD Sender: No OFD packet to send [22:09:16]OFD Sender: No OFD packet to send [22:09:21]OFD Sender: No OFD packet to send [22:09:26]OFD Sender: No OFD packet to send [22:09:31]OFD Sender: No OFD packet to send [22:09:36]OFD Sender: No OFD packet to send [22:09:41]OFD Sender: No OFD packet to send [22:09:46]OFD Sender: No OFD packet to send [22:09:51]OFD Sender: No OFD packet to send [22:09:56]OFD Sender: No OFD packet to send [22:10:01]OFD Sender: No OFD packet to send [22:10:06]OFD Sender: No OFD packet to send [22:10:11]OFD Sender: No OFD packet to send [22:10:16]OFD Sender: No OFD packet to send [22:10:21]OFD Sender: No OFD packet to send [22:10:26]OFD Sender: No OFD packet to send [22:10:31]OFD Sender: No OFD packet to send [22:10:36]OFD Sender: No OFD packet to send [22:10:41]OFD Sender: No OFD packet to send [22:10:46]OFD Sender: No OFD packet to send [22:10:51]OFD Sender: No OFD packet to send [22:10:56]OFD Sender: No OFD packet to send [22:11:01]OFD Sender: No OFD packet to send [22:11:06]OFD Sender: No OFD packet to send [22:11:11]OFD Sender: No OFD packet to send [22:11:16]OFD Sender: No OFD packet to send [22:11:21]OFD Sender: No OFD packet to send [22:11:26]OFD Sender: No OFD packet to send [22:11:31]OFD Sender: No OFD packet to send [22:11:36]OFD Sender: No OFD packet to send [22:11:41]OFD Sender: No OFD packet to send [22:11:46]OFD Sender: No OFD packet to send [22:11:51]OFD Sender: No OFD packet to send [22:11:56]OFD Sender: No OFD packet to send [22:12:01]OFD Sender: No OFD packet to send [22:12:06]OFD Sender: No OFD packet to send [22:12:11]OFD Sender: No OFD packet to send [22:12:16]OFD Sender: No OFD packet to send [22:12:21]OFD Sender: No OFD packet to send [22:12:26]OFD Sender: No OFD packet to send [22:12:31]OFD Sender: No OFD packet to send [22:12:36]OFD Sender: No OFD packet to send [22:12:41]OFD Sender: No OFD packet to send [22:12:46]OFD Sender: No OFD packet to send [22:12:51]OFD Sender: No OFD packet to send [22:12:56]OFD Sender: No OFD packet to send [22:13:01]OFD Sender: No OFD packet to send [22:13:06]OFD Sender: No OFD packet to send [22:13:11]OFD Sender: No OFD packet to send [22:13:16]OFD Sender: No OFD packet to send [22:13:21]OFD Sender: No OFD packet to send [22:13:26]OFD Sender: No OFD packet to send [22:13:31]OFD Sender: No OFD packet to send [22:13:36]OFD Sender: No OFD packet to send [22:13:41]OFD Sender: No OFD packet to send [22:13:46]OFD Sender: No OFD packet to send [22:13:51]OFD Sender: No OFD packet to send [22:13:56]OFD Sender: No OFD packet to send [22:14:01]OFD Sender: No OFD packet to send [22:14:06]OFD Sender: No OFD packet to send [22:14:11]OFD Sender: No OFD packet to send [22:14:16]OFD Sender: No OFD packet to send [22:14:21]OFD Sender: No OFD packet to send [22:14:26]OFD Sender: No OFD packet to send [22:14:31]OFD Sender: No OFD packet to send [22:14:36]OFD Sender: No OFD packet to send [22:14:41]OFD Sender: No OFD packet to send [22:14:46]OFD Sender: No OFD packet to send [22:14:51]OFD Sender: No OFD packet to send [22:14:56]OFD Sender: No OFD packet to send [22:15:01]OFD Sender: No OFD packet to send [22:15:06]OFD Sender: No OFD packet to send [22:15:11]OFD Sender: No OFD packet to send [22:15:16]OFD Sender: No OFD packet to send [22:15:21]OFD Sender: No OFD packet to send [22:15:26]OFD Sender: No OFD packet to send [22:15:31]OFD Sender: No OFD packet to send [22:15:36]OFD Sender: No OFD packet to send [22:15:41]OFD Sender: No OFD packet to send [22:15:46]OFD Sender: No OFD packet to send [22:15:51]OFD Sender: No OFD packet to send [22:15:56]OFD Sender: No OFD packet to send [22:16:01]OFD Sender: No OFD packet to send [22:16:06]OFD Sender: No OFD packet to send [22:16:11]OFD Sender: No OFD packet to send [22:16:16]OFD Sender: No OFD packet to send [22:16:21]OFD Sender: No OFD packet to send [22:16:26]OFD Sender: No OFD packet to send [22:16:31]OFD Sender: No OFD packet to send [22:16:36]OFD Sender: No OFD packet to send [22:16:41]OFD Sender: No OFD packet to send [22:16:46]OFD Sender: No OFD packet to send [22:16:51]OFD Sender: No OFD packet to send [22:16:56]OFD Sender: No OFD packet to send [22:17:01]OFD Sender: No OFD packet to send [22:17:06]OFD Sender: No OFD packet to send [22:17:11]OFD Sender: No OFD packet to send [22:17:16]OFD Sender: No OFD packet to send [22:17:21]OFD Sender: No OFD packet to send [22:17:26]OFD Sender: No OFD packet to send [22:17:31]OFD Sender: No OFD packet to send [22:17:36]OFD Sender: No OFD packet to send [22:17:41]OFD Sender: No OFD packet to send [22:17:46]OFD Sender: No OFD packet to send [22:17:51]OFD Sender: No OFD packet to send [22:17:56]OFD Sender: No OFD packet to send [22:18:01]OFD Sender: No OFD packet to send [22:18:06]OFD Sender: No OFD packet to send [22:18:11]OFD Sender: No OFD packet to send [22:18:16]OFD Sender: No OFD packet to send [22:18:21]OFD Sender: No OFD packet to send [22:18:26]OFD Sender: No OFD packet to send [22:18:31]OFD Sender: No OFD packet to send [22:18:36]OFD Sender: No OFD packet to send [22:18:41]OFD Sender: No OFD packet to send [22:18:46]OFD Sender: No OFD packet to send [22:18:51]OFD Sender: No OFD packet to send [22:18:56]OFD Sender: No OFD packet to send [22:19:01]OFD Sender: No OFD packet to send [22:19:06]OFD Sender: No OFD packet to send [22:19:11]OFD Sender: No OFD packet to send [22:19:16]OFD Sender: No OFD packet to send [22:19:21]OFD Sender: No OFD packet to send [22:19:26]OFD Sender: No OFD packet to send [22:19:31]OFD Sender: No OFD packet to send [22:19:36]OFD Sender: No OFD packet to send [22:19:41]OFD Sender: No OFD packet to send [22:19:46]OFD Sender: No OFD packet to send [22:19:51]OFD Sender: No OFD packet to send [22:19:56]OFD Sender: No OFD packet to send [22:20:01]OFD Sender: No OFD packet to send [22:20:06]OFD Sender: No OFD packet to send [22:20:11]OFD Sender: No OFD packet to send [22:20:16]OFD Sender: No OFD packet to send [22:20:21]OFD Sender: No OFD packet to send [22:20:26]OFD Sender: No OFD packet to send [22:20:31]OFD Sender: No OFD packet to send [22:20:36]OFD Sender: No OFD packet to send [22:20:41]OFD Sender: No OFD packet to send [22:20:46]OFD Sender: No OFD packet to send [22:20:51]OFD Sender: No OFD packet to send [22:20:56]OFD Sender: No OFD packet to send [22:21:01]OFD Sender: No OFD packet to send [22:21:06]OFD Sender: No OFD packet to send [22:21:11]OFD Sender: No OFD packet to send [22:21:16]OFD Sender: No OFD packet to send [22:21:21]OFD Sender: No OFD packet to send [22:21:26]OFD Sender: No OFD packet to send [22:21:31]OFD Sender: No OFD packet to send [22:21:36]OFD Sender: No OFD packet to send [22:21:41]OFD Sender: No OFD packet to send [22:21:46]OFD Sender: No OFD packet to send [22:21:51]OFD Sender: No OFD packet to send [22:21:56]OFD Sender: No OFD packet to send [22:22:01]OFD Sender: No OFD packet to send [22:22:06]OFD Sender: No OFD packet to send [22:22:11]OFD Sender: No OFD packet to send [22:22:16]OFD Sender: No OFD packet to send [22:22:21]OFD Sender: No OFD packet to send [22:22:26]OFD Sender: No OFD packet to send [22:22:31]OFD Sender: No OFD packet to send [22:22:36]OFD Sender: No OFD packet to send [22:22:41]OFD Sender: No OFD packet to send [22:22:46]OFD Sender: No OFD packet to send [22:22:51]OFD Sender: No OFD packet to send [22:22:56]OFD Sender: No OFD packet to send [22:23:01]OFD Sender: No OFD packet to send [22:23:05]accept exits with 7 [22:23:05]New connection [22:23:05]New thread 3067166052 created [22:23:05]Thread 3067309412 joined [22:23:05]Waiting for new connection... [22:23:05] Sock 7.Parse request [22:23:05]Sock 7.Check first char [22:23:05]Sock 7.First char is OK [22:23:05]request: POST /json_proto HTTP/1.0 [22:23:05]Method: POST [22:23:05]URL: /json_proto [22:23:05]Method is POST - this is cgi request [22:23:05]url: /json_proto [22:23:05]query_string will be loaded in cgi processing [22:23:05]execute_cgi json_proto POST (null) [22:23:05]execute_cgi path=json_proto method=POST [22:23:05]POST find Content-Length [22:23:05]Host: 172.17.53.196:8080 [22:23:05]Content-Length: 1038 [22:23:05]Content-Type: application/json [22:23:05] [22:23:05]POST finish read [22:23:05]Found Content-Length = 1038 [22:23:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34670", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 153.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:23:05]execute_script... [22:23: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)34670", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 153.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:23:05]POST & json_proto [22:23:05]process_json_proto [22:23:05]json parsed OK: [22:23:05]protocol is kg_v1.0 [22:23:05]action value=close_receipt [22:23:05]process_action close_receipt [22:23:05]cmd_close_receipt [22:23:05]MH_GetDate [22:23:05]Write to MH i2c: F0 00 00 7A 14 7D [22:23:05]Write i2c OK [22:23:05]MH_I2C_Read... [22:23:05]Read from MH i2c: F0 [22:23:05]MH_I2C_Read... [22:23:05]Read from MH i2c: F0 09 00 [22:23:05]MH_I2C_Read... [22:23:05]Read from MH i2c: F0 09 00 7A 14 00 CE 82 15 67 4F CD 9A 65 6D [22:23:05]GetLastDocTimeStamp 1729460907 [22:23:05]current date 1729462990 [22:23:05]FM_GetShiftState [22:23:05]SAM_PROTO_GetShiftState [22:23:05]wFMCommunicate request_size=4 [22:23:05]MH_SAM_APDU [22:23:05]CAPDU: 80 13 01 00 [22:23:05]Write to MH i2c: E2 08 00 7B 14 80 13 01 00 00 00 00 00 0C [22:23:05]Write i2c OK [22:23:05]MH_I2C_Read... [22:23:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:23:05]Read from MH i2c: E2 [22:23:05]MH_I2C_Read... [22:23:05]Read from MH i2c: E2 0E 00 [22:23:05]MH_I2C_Read... [22:23:05]Read from MH i2c: E2 0E 00 7B 14 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 52 [22:23:05]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [22:23:05]wFMCommunicate OK [22:23:05]SAM_PROTO_GetShiftState done [22:23:05]FM_GetShiftState done [22:23:05]opened in 1729384049 [22:23:05]opened+sec_in_day 1729470449 [22:23:05]quantity*price = 13900 [22:23:05]sum+1 = 13901 [22:23:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 2.000 * 7.00 = 14.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 153.00 НСП 1% : 1.35 НДС 12% : 16.25 Наличными: 0.00 Безнал.: 153.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 68 20.10.2024 22:23 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965376 ФД: 24910 ФПД: 148870767079855 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T222310&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24910&fm=148870767079855&tin=02508201610067®Number=0000000000098147&sum=15300 0 [22:23:06]StoreToDocumentArchive [22:23:06]shift 455 fd 24910 [22:23:06]save to /storage/0455/doc_00024910 [22:23:06]save last doc name /storage/0455/doc_00024910 to /storage/kkm_last_doc_name [22:23:06]save OK [22:23:06]Clear old archive folders... [22:23:06]ProcessDocumentItem done err = 0, tmpTLVsize=389 [22:23:06]tlvbuf is B6F18360 [22:23:06]SAM_PROTO_ClearQueue [22:23:06]wFMCommunicate request_size=4 [22:23:06]MH_SAM_APDU [22:23:06]CAPDU: 80 09 00 00 [22:23:06]Write to MH i2c: E2 08 00 88 14 80 09 00 00 00 00 00 00 0E [22:23:06]Write i2c OK [22:23:06]MH_I2C_Read... [22:23:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:23:07]Read from MH i2c: E2 [22:23:07]MH_I2C_Read... [22:23:07]Read from MH i2c: E2 03 00 [22:23:07]MH_I2C_Read... [22:23:07]Read from MH i2c: E2 03 00 88 14 00 90 00 10 [22:23:07]RAPDU: 90 00 [22:23:07]wFMCommunicate OK [22:23:07]SAM_PROTO_ClearQueue done [22:23:07]KKMCreateOFDPacket [22:23:07]OFDProtocolAddRootSTLVToBuf [22:23:07]FM_MakeSignedData [22:23:07]FM_MakeSignedData [22:23:07]SAM_PROTO_SignData [22:23:07]wFMCommunicate request_size=4 [22:23:07]MH_SAM_APDU [22:23:07]CAPDU: 80 0D 01 02 [22:23:07]Write to MH i2c: E2 08 00 89 14 80 0D 01 02 00 00 00 00 16 [22:23:07]Write i2c OK [22:23:07]MH_I2C_Read... [22:23:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:23:07]Read from MH i2c: E2 [22:23:07]MH_I2C_Read... [22:23:07]Read from MH i2c: E2 03 00 [22:23:07]MH_I2C_Read... [22:23:07]Read from MH i2c: E2 03 00 89 14 00 90 00 11 [22:23:07]RAPDU: 90 00 [22:23:07]wFMCommunicate OK [22:23:07]wFMCommunicate request_size=255 [22:23:07]MH_SAM_APDU [22:23:07]CAPDU: 80 0D 02 02 FA 03 00 85 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 C4 3B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 [22:23:07]Write to MH i2c: E2 02 01 8A 14 80 0D 02 02 FA 00 03 00 85 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 C4 3B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 00 11 [22:23:07]Write i2c OK [22:23:07]MH_I2C_Read... [22:23:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:23:07]Read from MH i2c: E2 [22:23:07]MH_I2C_Read... [22:23:07]Read from MH i2c: E2 03 00 [22:23:07]MH_I2C_Read... [22:23:07]Read from MH i2c: E2 03 00 8A 14 00 90 00 12 [22:23:07]RAPDU: 90 00 [22:23:07]wFMCommunicate OK [22:23:07]wFMCommunicate request_size=148 [22:23:07]MH_SAM_APDU [22:23:07]CAPDU: 80 0D 02 02 8F 01 F7 03 06 00 87 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 3B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 CE 82 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4E 61 00 00 35 04 06 00 87 65 AD 30 71 AF [22:23:07]Write to MH i2c: E2 97 00 8B 14 80 0D 02 02 8F 00 01 F7 03 06 00 87 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 3B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 CE 82 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4E 61 00 00 35 04 06 00 87 65 AD 30 71 AF 00 00 C2 [22:23:07]Write i2c OK [22:23:07]MH_I2C_Read... [22:23:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:23:07]Read from MH i2c: E2 [22:23:07]MH_I2C_Read... [22:23:07]Read from MH i2c: E2 03 00 [22:23:07]MH_I2C_Read... [22:23:07]Read from MH i2c: E2 03 00 8B 14 00 90 00 13 [22:23:07]RAPDU: 90 00 [22:23:07]wFMCommunicate OK [22:23:07]wFMCommunicate request_size=4 [22:23:07]MH_SAM_APDU [22:23:07]CAPDU: 80 0D 03 02 [22:23:07]Write to MH i2c: E2 08 00 8C 14 80 0D 03 02 00 00 00 00 1B [22:23:07]Write i2c OK [22:23:07]MH_I2C_Read... [22:23:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:23:07]Read from MH i2c: E2 [22:23:07]MH_I2C_Read... [22:23:07]Read from MH i2c: E2 0B 00 [22:23:07]MH_I2C_Read... [22:23:07]Read from MH i2c: E2 0B 00 8C 14 00 84 F6 9A 64 D9 12 B2 FF 90 00 30 [22:23:07]RAPDU: 84 F6 9A 64 D9 12 B2 FF 90 00 [22:23:07]wFMCommunicate OK [22:23:07]SAM_PROTO_SignData done [22:23:07]FM_MakeSignedData done [22:23:07]CreateOFDProtocolMessage [22:23:07]wFMCommunicate request_size=4 [22:23:07]MH_SAM_APDU [22:23:07]CAPDU: 80 11 00 00 [22:23:07]Write to MH i2c: E2 08 00 8D 14 80 11 00 00 00 00 00 00 1B [22:23:07]Write i2c OK [22:23:07]MH_I2C_Read... [22:23:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:23:07]Read from MH i2c: E2 [22:23:07]MH_I2C_Read... [22:23:07]Read from MH i2c: E2 17 00 [22:23:07]MH_I2C_Read... [22:23:07]Read from MH i2c: E2 17 00 8D 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 72 [22:23:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [22:23:07]wFMCommunicate OK [22:23:07]CreateOFDProtocolMessage done [22:23:07]OFDSenderStorePacket 24910 [22:23:07]StoreOFDPacket docnum=24910 [22:23:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 99 01 00 00 83 0F 91 01 58 4F 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 C4 3B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 87 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 3B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 CE 82 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4E 61 00 00 35 04 06 00 87 65 AD 30 71 AF 84 F6 9A 64 D9 12 B2 FF [22:23:07]CheckFolder [22:23:07]dirname=/storage/ofd_packets [22:23:07]CheckFolder done [22:23:07]ProducePacketName [22:23:07]name=ofd_packets/00024910 [22:23:07]NVStorageSaveData ofd_packets/00024910 [22:23:07]File name is /storage/ofd_packets/00024910 [22:23:07]Write 439 bytes [22:23:07]NVStorageSaveData done [22:23:07]OFDSenderStorePacket done [22:23:07]KKMCreateOFDPacket done [22:23:07]NVStorageSaveData kkm_last_timestamp [22:23:07]File name is /storage/kkm_last_timestamp [22:23:07]Write 4 bytes [22:23:07]NVStorageSaveData done [22:23:07]ExternCall_PrintAddStr [22:23:07]wPrintStart [22:23:07]Write to MH i2c: 01 00 00 8E 14 A2 [22:23:07]Write i2c OK [22:23:07]MH_I2C_Read... [22:23:07]Read from MH i2c: 01 [22:23:07]MH_I2C_Read... [22:23:07]Read from MH i2c: 01 07 00 [22:23:07]MH_I2C_Read... [22:23:07]Read from MH i2c: 01 07 00 8E 14 00 00 00 00 00 FF 0F B7 [22:23:07]RasterBufferAndPrint [22:23:07]line Счет N : (3)34670 [22:23:07]line ИНН: 02508201610067 [22:23:07]line Контрольно-Кассовый Чек [22:23:07]line ПРОДАЖА [22:23:07]line Товар: 48745000 [22:23:07]line Сигареты Winston Purple Mix [22:23:07]line 1.000 * 139.00 [22:23:07]line = 139.00 [22:23:07]line НДС 12% НСП 1% [22:23:07]line > о реализуемом товаре [22:23:07]line Товар: 2000053020015 [22:23:07]line Бумажные стаканы 250мл 1шт [22:23:07]line 2.000 * 7.00 [22:23:07]line = 14.00 [22:23:07]line НДС 12% НСП 1% [22:23:07]line > о реализуемом товаре [22:23:07]line ИТОГО: 153.00 [22:23:07]line НСП 1% : 1.35 [22:23:07]line НДС 12% : 16.25 [22:23:07]line Наличными: 0.00 [22:23:07]line Безнал.: 153.00 [22:23:07]line Место: АЗС № 161 "Партнер Нефть" [22:23:07]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [22:23:07]line СНО: Общий режим [22:23:07]line Чек 68 20.10.2024 22:23 [22:23:07]line Смена: 455 ФФД: 1.0 [22:23:07]line ЗНМ: 0300000240 [22:23:07]line РНМ: 0000000000098147 [22:23:07]line Версия ККМ: 001 [22:23:07]line Платежная система: Mbank [22:23:07]line ФМ: 0000000000965376 [22:23:07]line ФД: 24910 [22:23:07]line ФПД: 148870767079855 [22:23:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T222310&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24910&fm=148870767079855&tin=02508201610067®Number=0000000000098147&sum=15300 [22:23:07]line 0 [22:23:07]OFD Sender: Processing packet 24910 [packets to send 5, broken 4] [22:23:07]ProducePacketName [22:23:07]name=ofd_packets/00024910 [22:23:07]OFD Sender: To server: pG, [22:23:07]CommunicateWithHost lk.salyk.kg:30040 [22:23:07]ConnectInit lk.salyk.kg [22:23:07]written 0, free lines is 4095 [22:23:08]Connected sock=10 [22:23: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 33 37 36 99 01 00 00 83 0F 91 01 58 4F 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 C4 3B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 87 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 3B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 CE 82 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4E 61 00 00 35 04 06 00 87 65 AD 30 71 AF 84 F6 9A 64 D9 12 B2 FF [22:23:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 BA E1 47 00 73 D3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4E 61 00 00 F4 03 04 00 4D 2B 15 67 B6 04 01 00 00 71 DC 33 40 BD 87 12 3A [22:23:08]CommunicateWithHost err = 0 [22:23:08]CheckOFDResponse [22:23:08]1017 (14) - 77093643461234 [22:23:08]1041 (16) - 0000000000965376 [22:23:08]1040 (4) - 24910 [22:23:08]1012 (4) - 20.10.2024 16:09 [22:23:08]1206 (1) - 0 [22:23:08]OFD Sender: Remove packet 24910 [22:23:08]ProducePacketName [22:23:08]name=ofd_packets/00024910 [22:23:08]NVStorageDeleteData [22:23:08]Write to MH i2c: 01 00 00 BE 14 D2 [22:23:08]Write i2c OK [22:23:08]MH_I2C_Read... [22:23:08]Read from MH i2c: 01 [22:23:08]MH_I2C_Read... [22:23:08]Read from MH i2c: 01 07 00 [22:23:08]MH_I2C_Read... [22:23:08]Read from MH i2c: 01 07 00 BE 14 00 00 00 00 00 3D 0C 22 [22:23:08]RasterBufferAndPrint [22:23:08]line [22:23:08]line [22:23:08]line [22:23:08]line [22:23:08]line [22:23:08]written 0, free lines is 3143 [22:23:08]process_action close_receipt done [22:23:08]requested_data is exist [22:23:08]produce_requested_data [22:23:08]requested_item fm.sn is exist - process it [22:23:08]wFMCommunicate request_size=4 [22:23:08]MH_SAM_APDU [22:23:08]CAPDU: 80 11 00 00 [22:23:08]Write to MH i2c: E2 08 00 C5 14 80 11 00 00 00 00 00 00 53 [22:23:08]Write i2c OK [22:23:08]MH_I2C_Read... [22:23:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:23:08]Read from MH i2c: E2 [22:23:08]MH_I2C_Read... [22:23:08]Read from MH i2c: E2 17 00 [22:23:08]MH_I2C_Read... [22:23:08]Read from MH i2c: E2 17 00 C5 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 AA [22:23:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [22:23:08]wFMCommunicate OK [22:23:08]requested_item fd.num is exist - process it [22:23:08]SAM_PROTO_GetFieldsCounters [22:23:08]wFMCommunicate request_size=4 [22:23:08]MH_SAM_APDU [22:23:08]CAPDU: 80 13 00 00 [22:23:08]Write to MH i2c: E2 08 00 C6 14 80 13 00 00 00 00 00 00 56 [22:23:08]Write i2c OK [22:23:08]MH_I2C_Read... [22:23:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:23:08]Read from MH i2c: E2 [22:23:08]MH_I2C_Read... [22:23:08]Read from MH i2c: E2 62 00 [22:23:08]MH_I2C_Read... [22:23:08]Read from MH i2c: E2 62 00 C6 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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 4E 61 00 00 0E 04 04 00 C7 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 C2 [22:23: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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 4E 61 00 00 0E 04 04 00 C7 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 [22:23:08]wFMCommunicate OK [22:23:08]SAM_PROTO_GetFieldsCounters done [22:23:08]requested_item shift.num is exist - process it [22:23:08]requested_item shift.opened is exist - process it [22:23:08]req_shift_opened [22:23:08]FM_GetShiftState [22:23:08]SAM_PROTO_GetShiftState [22:23:08]wFMCommunicate request_size=4 [22:23:08]MH_SAM_APDU [22:23:08]CAPDU: 80 13 01 00 [22:23:08]Write to MH i2c: E2 08 00 C7 14 80 13 01 00 00 00 00 00 58 [22:23:08]Write i2c OK [22:23:08]MH_I2C_Read... [22:23:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:23:08]OFD Sender: No OFD packet to send [22:23:08]Read from MH i2c: E2 [22:23:08]MH_I2C_Read... [22:23:08]Read from MH i2c: E2 0E 00 [22:23:08]MH_I2C_Read... [22:23:08]Read from MH i2c: E2 0E 00 C7 14 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 9E [22:23:08]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [22:23:08]wFMCommunicate OK [22:23:08]SAM_PROTO_GetShiftState done [22:23:08]FM_GetShiftState done [22:23:08]req_shift_opened done [22:23:08]requested_item shift.open_date is exist - process it [22:23:08]req_shift_open_date [22:23:08]req_shift_open_date done [22:23:08]produce_requested_data done [22:23:08]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24910,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [22:23:08]process_action_free close_receipt [22:23:08]json_value_free [22:23:08]json_value_free done [22:23:08]process_json_proto returns [22:23:08]Send response to host [22:23:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24910,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [22:23:08]free response buf [22:23:08]execute_script done [22:23:08]execute_script returns [22:23:08]free content buf [22:23:08]Sock 7.Close socket [22:23:08]Sock 7.Thread stoped [22:23:13]OFD Sender: No OFD packet to send [22:23:18]OFD Sender: No OFD packet to send [22:23:23]OFD Sender: No OFD packet to send [22:23:28]OFD Sender: No OFD packet to send [22:23:33]OFD Sender: No OFD packet to send [22:23:38]OFD Sender: No OFD packet to send [22:23:43]OFD Sender: No OFD packet to send [22:23:48]OFD Sender: No OFD packet to send [22:23:53]OFD Sender: No OFD packet to send [22:23:58]OFD Sender: No OFD packet to send [22:24:03]OFD Sender: No OFD packet to send [22:24:08]OFD Sender: No OFD packet to send [22:24:13]OFD Sender: No OFD packet to send [22:24:18]OFD Sender: No OFD packet to send [22:24:23]OFD Sender: No OFD packet to send [22:24:28]OFD Sender: No OFD packet to send [22:24:33]OFD Sender: No OFD packet to send [22:24:38]OFD Sender: No OFD packet to send [22:24:43]OFD Sender: No OFD packet to send [22:24:48]OFD Sender: No OFD packet to send [22:24:53]OFD Sender: No OFD packet to send [22:24:58]OFD Sender: No OFD packet to send [22:25:03]OFD Sender: No OFD packet to send [22:25:08]OFD Sender: No OFD packet to send [22:25:13]OFD Sender: No OFD packet to send [22:25:18]OFD Sender: No OFD packet to send [22:25:23]OFD Sender: No OFD packet to send [22:25:28]OFD Sender: No OFD packet to send [22:25:33]OFD Sender: No OFD packet to send [22:25:38]OFD Sender: No OFD packet to send [22:25:43]OFD Sender: No OFD packet to send [22:25:48]OFD Sender: No OFD packet to send [22:25:53]OFD Sender: No OFD packet to send [22:25:58]OFD Sender: No OFD packet to send [22:26:03]OFD Sender: No OFD packet to send [22:26:08]OFD Sender: No OFD packet to send [22:26:13]OFD Sender: No OFD packet to send [22:26:18]OFD Sender: No OFD packet to send [22:26:23]OFD Sender: No OFD packet to send [22:26:28]OFD Sender: No OFD packet to send [22:26:33]OFD Sender: No OFD packet to send [22:26:38]OFD Sender: No OFD packet to send [22:26:43]OFD Sender: No OFD packet to send [22:26:48]OFD Sender: No OFD packet to send [22:26:53]OFD Sender: No OFD packet to send [22:26:58]OFD Sender: No OFD packet to send [22:27:03]OFD Sender: No OFD packet to send [22:27:08]OFD Sender: No OFD packet to send [22:27:13]OFD Sender: No OFD packet to send [22:27:18]OFD Sender: No OFD packet to send [22:27:23]OFD Sender: No OFD packet to send [22:27:28]OFD Sender: No OFD packet to send [22:27:33]OFD Sender: No OFD packet to send [22:27:38]OFD Sender: No OFD packet to send [22:27:43]OFD Sender: No OFD packet to send [22:27:48]OFD Sender: No OFD packet to send [22:27:53]OFD Sender: No OFD packet to send [22:27:58]OFD Sender: No OFD packet to send [22:28:03]OFD Sender: No OFD packet to send [22:28:08]OFD Sender: No OFD packet to send [22:28:13]OFD Sender: No OFD packet to send [22:28:18]OFD Sender: No OFD packet to send [22:28:24]OFD Sender: No OFD packet to send [22:28:29]OFD Sender: No OFD packet to send [22:28:34]OFD Sender: No OFD packet to send [22:28:39]OFD Sender: No OFD packet to send [22:28:44]OFD Sender: No OFD packet to send [22:28:49]OFD Sender: No OFD packet to send [22:28:54]OFD Sender: No OFD packet to send [22:28:59]OFD Sender: No OFD packet to send [22:29:04]OFD Sender: No OFD packet to send [22:29:09]OFD Sender: No OFD packet to send [22:29:14]OFD Sender: No OFD packet to send [22:29:19]OFD Sender: No OFD packet to send [22:29:24]OFD Sender: No OFD packet to send [22:29:29]OFD Sender: No OFD packet to send [22:29:34]OFD Sender: No OFD packet to send [22:29:39]OFD Sender: No OFD packet to send [22:29:44]OFD Sender: No OFD packet to send [22:29:49]OFD Sender: No OFD packet to send [22:29:54]OFD Sender: No OFD packet to send [22:29:59]OFD Sender: No OFD packet to send [22:30:04]OFD Sender: No OFD packet to send [22:30:09]OFD Sender: No OFD packet to send [22:30:14]OFD Sender: No OFD packet to send [22:30:19]OFD Sender: No OFD packet to send [22:30:24]OFD Sender: No OFD packet to send [22:30:29]OFD Sender: No OFD packet to send [22:30:34]OFD Sender: No OFD packet to send [22:30:39]OFD Sender: No OFD packet to send [22:30:44]OFD Sender: No OFD packet to send [22:30:49]OFD Sender: No OFD packet to send [22:30:54]OFD Sender: No OFD packet to send [22:30:59]OFD Sender: No OFD packet to send [22:31:04]OFD Sender: No OFD packet to send [22:31:09]OFD Sender: No OFD packet to send [22:31:14]OFD Sender: No OFD packet to send [22:31:19]OFD Sender: No OFD packet to send [22:31:24]OFD Sender: No OFD packet to send [22:31:29]OFD Sender: No OFD packet to send [22:31:34]OFD Sender: No OFD packet to send [22:31:39]OFD Sender: No OFD packet to send [22:31:44]OFD Sender: No OFD packet to send [22:31:49]OFD Sender: No OFD packet to send [22:31:54]OFD Sender: No OFD packet to send [22:31:59]OFD Sender: No OFD packet to send [22:32:04]OFD Sender: No OFD packet to send [22:32:09]OFD Sender: No OFD packet to send [22:32:14]OFD Sender: No OFD packet to send [22:32:19]OFD Sender: No OFD packet to send [22:32:24]OFD Sender: No OFD packet to send [22:32:29]OFD Sender: No OFD packet to send [22:32:34]OFD Sender: No OFD packet to send [22:32:39]OFD Sender: No OFD packet to send [22:32:44]OFD Sender: No OFD packet to send [22:32:49]OFD Sender: No OFD packet to send [22:32:54]OFD Sender: No OFD packet to send [22:32:59]OFD Sender: No OFD packet to send [22:33:04]OFD Sender: No OFD packet to send [22:33:09]OFD Sender: No OFD packet to send [22:33:14]OFD Sender: No OFD packet to send [22:33:19]OFD Sender: No OFD packet to send [22:33:24]OFD Sender: No OFD packet to send [22:33:29]OFD Sender: No OFD packet to send [22:33:34]OFD Sender: No OFD packet to send [22:33:39]OFD Sender: No OFD packet to send [22:33:44]OFD Sender: No OFD packet to send [22:33:49]OFD Sender: No OFD packet to send [22:33:54]OFD Sender: No OFD packet to send [22:33:59]OFD Sender: No OFD packet to send [22:34:04]OFD Sender: No OFD packet to send [22:34:09]OFD Sender: No OFD packet to send [22:34:14]OFD Sender: No OFD packet to send [22:34:19]OFD Sender: No OFD packet to send [22:34:24]OFD Sender: No OFD packet to send [22:34:29]OFD Sender: No OFD packet to send [22:34:34]OFD Sender: No OFD packet to send [22:34:39]OFD Sender: No OFD packet to send [22:34:44]OFD Sender: No OFD packet to send [22:34:49]OFD Sender: No OFD packet to send [22:34:54]OFD Sender: No OFD packet to send [22:34:59]OFD Sender: No OFD packet to send [22:35:04]OFD Sender: No OFD packet to send [22:35:09]OFD Sender: No OFD packet to send [22:35:14]OFD Sender: No OFD packet to send [22:35:19]OFD Sender: No OFD packet to send [22:35:24]OFD Sender: No OFD packet to send [22:35:29]OFD Sender: No OFD packet to send [22:35:34]OFD Sender: No OFD packet to send [22:35:39]OFD Sender: No OFD packet to send [22:35:44]OFD Sender: No OFD packet to send [22:35:49]OFD Sender: No OFD packet to send [22:35:54]OFD Sender: No OFD packet to send [22:35:59]OFD Sender: No OFD packet to send [22:36:04]OFD Sender: No OFD packet to send [22:36:09]OFD Sender: No OFD packet to send [22:36:14]OFD Sender: No OFD packet to send [22:36:19]OFD Sender: No OFD packet to send [22:36:24]OFD Sender: No OFD packet to send [22:36:29]OFD Sender: No OFD packet to send [22:36:34]OFD Sender: No OFD packet to send [22:36:39]OFD Sender: No OFD packet to send [22:36:44]OFD Sender: No OFD packet to send [22:36:49]OFD Sender: No OFD packet to send [22:36:54]OFD Sender: No OFD packet to send [22:36:59]OFD Sender: No OFD packet to send [22:37:04]OFD Sender: No OFD packet to send [22:37:09]OFD Sender: No OFD packet to send [22:37:14]OFD Sender: No OFD packet to send [22:37:19]OFD Sender: No OFD packet to send [22:37:24]OFD Sender: No OFD packet to send [22:37:29]OFD Sender: No OFD packet to send [22:37:34]OFD Sender: No OFD packet to send [22:37:39]OFD Sender: No OFD packet to send [22:37:44]OFD Sender: No OFD packet to send [22:37:49]OFD Sender: No OFD packet to send [22:37:54]OFD Sender: No OFD packet to send [22:37:59]OFD Sender: No OFD packet to send [22:38:04]OFD Sender: No OFD packet to send [22:38:09]OFD Sender: No OFD packet to send [22:38:14]OFD Sender: No OFD packet to send [22:38:19]OFD Sender: No OFD packet to send [22:38:24]OFD Sender: No OFD packet to send [22:38:29]OFD Sender: No OFD packet to send [22:38:34]OFD Sender: No OFD packet to send [22:38:39]OFD Sender: No OFD packet to send [22:38:44]OFD Sender: No OFD packet to send [22:38:49]OFD Sender: No OFD packet to send [22:38:54]OFD Sender: No OFD packet to send [22:38:59]OFD Sender: No OFD packet to send [22:39:04]OFD Sender: No OFD packet to send [22:39:09]OFD Sender: No OFD packet to send [22:39:14]OFD Sender: No OFD packet to send [22:39:19]OFD Sender: No OFD packet to send [22:39:24]OFD Sender: No OFD packet to send [22:39:29]OFD Sender: No OFD packet to send [22:39:34]OFD Sender: No OFD packet to send [22:39:39]OFD Sender: No OFD packet to send [22:39:44]OFD Sender: No OFD packet to send [22:39:49]OFD Sender: No OFD packet to send [22:39:54]OFD Sender: No OFD packet to send [22:39:59]OFD Sender: No OFD packet to send [22:40:04]OFD Sender: No OFD packet to send [22:40:09]OFD Sender: No OFD packet to send [22:40:14]OFD Sender: No OFD packet to send [22:40:19]OFD Sender: No OFD packet to send [22:40:24]OFD Sender: No OFD packet to send [22:40:29]OFD Sender: No OFD packet to send [22:40:34]OFD Sender: No OFD packet to send [22:40:39]OFD Sender: No OFD packet to send [22:40:44]OFD Sender: No OFD packet to send [22:40:49]OFD Sender: No OFD packet to send [22:40:54]OFD Sender: No OFD packet to send [22:40:59]OFD Sender: No OFD packet to send [22:41:04]OFD Sender: No OFD packet to send [22:41:09]OFD Sender: No OFD packet to send [22:41:14]OFD Sender: No OFD packet to send [22:41:19]OFD Sender: No OFD packet to send [22:41:24]OFD Sender: No OFD packet to send [22:41:29]OFD Sender: No OFD packet to send [22:41:34]OFD Sender: No OFD packet to send [22:41:39]OFD Sender: No OFD packet to send [22:41:44]OFD Sender: No OFD packet to send [22:41:49]OFD Sender: No OFD packet to send [22:41:54]OFD Sender: No OFD packet to send [22:41:59]OFD Sender: No OFD packet to send [22:42:04]OFD Sender: No OFD packet to send [22:42:09]OFD Sender: No OFD packet to send [22:42:14]OFD Sender: No OFD packet to send [22:42:19]OFD Sender: No OFD packet to send [22:42:24]OFD Sender: No OFD packet to send [22:42:29]OFD Sender: No OFD packet to send [22:42:34]OFD Sender: No OFD packet to send [22:42:39]OFD Sender: No OFD packet to send [22:42:44]OFD Sender: No OFD packet to send [22:42:49]OFD Sender: No OFD packet to send [22:42:54]OFD Sender: No OFD packet to send [22:42:59]OFD Sender: No OFD packet to send [22:43:04]OFD Sender: No OFD packet to send [22:43:09]OFD Sender: No OFD packet to send [22:43:14]OFD Sender: No OFD packet to send [22:43:19]OFD Sender: No OFD packet to send [22:43:24]OFD Sender: No OFD packet to send [22:43:29]OFD Sender: No OFD packet to send [22:43:34]OFD Sender: No OFD packet to send [22:43:39]OFD Sender: No OFD packet to send [22:43:44]OFD Sender: No OFD packet to send [22:43:49]OFD Sender: No OFD packet to send [22:43:54]OFD Sender: No OFD packet to send [22:43:59]OFD Sender: No OFD packet to send [22:44:04]OFD Sender: No OFD packet to send [22:44:09]OFD Sender: No OFD packet to send [22:44:14]OFD Sender: No OFD packet to send [22:44:19]OFD Sender: No OFD packet to send [22:44:24]OFD Sender: No OFD packet to send [22:44:29]OFD Sender: No OFD packet to send [22:44:34]OFD Sender: No OFD packet to send [22:44:39]OFD Sender: No OFD packet to send [22:44:44]OFD Sender: No OFD packet to send [22:44:49]OFD Sender: No OFD packet to send [22:44:54]OFD Sender: No OFD packet to send [22:44:59]OFD Sender: No OFD packet to send [22:45:04]OFD Sender: No OFD packet to send [22:45:09]OFD Sender: No OFD packet to send [22:45:14]OFD Sender: No OFD packet to send [22:45:19]OFD Sender: No OFD packet to send [22:45:24]OFD Sender: No OFD packet to send [22:45:29]OFD Sender: No OFD packet to send [22:45:34]OFD Sender: No OFD packet to send [22:45:39]OFD Sender: No OFD packet to send [22:45:44]OFD Sender: No OFD packet to send [22:45:49]OFD Sender: No OFD packet to send [22:45:54]OFD Sender: No OFD packet to send [22:45:59]OFD Sender: No OFD packet to send [22:46:04]OFD Sender: No OFD packet to send [22:46:09]OFD Sender: No OFD packet to send [22:46:14]OFD Sender: No OFD packet to send [22:46:19]OFD Sender: No OFD packet to send [22:46:24]OFD Sender: No OFD packet to send [22:46:29]OFD Sender: No OFD packet to send [22:46:34]OFD Sender: No OFD packet to send [22:46:39]OFD Sender: No OFD packet to send [22:46:44]OFD Sender: No OFD packet to send [22:46:49]OFD Sender: No OFD packet to send [22:46:54]OFD Sender: No OFD packet to send [22:46:59]OFD Sender: No OFD packet to send [22:47:04]OFD Sender: No OFD packet to send [22:47:09]OFD Sender: No OFD packet to send [22:47:14]OFD Sender: No OFD packet to send [22:47:19]OFD Sender: No OFD packet to send [22:47:24]OFD Sender: No OFD packet to send [22:47:29]OFD Sender: No OFD packet to send [22:47:34]OFD Sender: No OFD packet to send [22:47:39]OFD Sender: No OFD packet to send [22:47:44]OFD Sender: No OFD packet to send [22:47:49]OFD Sender: No OFD packet to send [22:47:54]OFD Sender: No OFD packet to send [22:47:59]OFD Sender: No OFD packet to send [22:48:04]OFD Sender: No OFD packet to send [22:48:09]OFD Sender: No OFD packet to send [22:48:14]OFD Sender: No OFD packet to send [22:48:19]OFD Sender: No OFD packet to send [22:48:24]OFD Sender: No OFD packet to send [22:48:29]OFD Sender: No OFD packet to send [22:48:34]OFD Sender: No OFD packet to send [22:48:39]OFD Sender: No OFD packet to send [22:48:44]OFD Sender: No OFD packet to send [22:48:49]OFD Sender: No OFD packet to send [22:48:54]OFD Sender: No OFD packet to send [22:48:59]OFD Sender: No OFD packet to send [22:49:04]OFD Sender: No OFD packet to send [22:49:09]OFD Sender: No OFD packet to send [22:49:14]OFD Sender: No OFD packet to send [22:49:19]OFD Sender: No OFD packet to send [22:49:24]OFD Sender: No OFD packet to send [22:49:29]OFD Sender: No OFD packet to send [22:49: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:00]OFD Sender: No OFD packet to send [23:00:05]OFD Sender: No OFD packet to send [23:00:10]OFD Sender: No OFD packet to send [23:00:15]OFD Sender: No OFD packet to send [23:00:20]OFD Sender: No OFD packet to send [23:00:25]OFD Sender: No OFD packet to send [23:00:30]OFD Sender: No OFD packet to send [23:00:35]OFD Sender: No OFD packet to send [23:00:40]OFD Sender: No OFD packet to send [23:00:45]OFD Sender: No OFD packet to send [23:00:50]OFD Sender: No OFD packet to send [23:00:55]OFD Sender: No OFD packet to send [23:01:00]OFD Sender: No OFD packet to send [23:01:05]OFD Sender: No OFD packet to send [23:01:10]OFD Sender: No OFD packet to send [23:01:15]OFD Sender: No OFD packet to send [23:01:20]OFD Sender: No OFD packet to send [23:01:25]OFD Sender: No OFD packet to send [23:01:30]OFD Sender: No OFD packet to send [23:01:35]OFD Sender: No OFD packet to send [23:01:40]OFD Sender: No OFD packet to send [23:01:45]OFD Sender: No OFD packet to send [23:01:50]OFD Sender: No OFD packet to send [23:01:55]OFD Sender: No OFD packet to send [23:02:00]OFD Sender: No OFD packet to send [23:02:05]OFD Sender: No OFD packet to send [23:02:10]OFD Sender: No OFD packet to send [23:02:15]OFD Sender: No OFD packet to send [23:02:20]OFD Sender: No OFD packet to send [23:02:25]OFD Sender: No OFD packet to send [23:02:30]OFD Sender: No OFD packet to send [23:02:35]OFD Sender: No OFD packet to send [23:02:40]OFD Sender: No OFD packet to send [23:02:45]OFD Sender: No OFD packet to send [23:02:50]OFD Sender: No OFD packet to send [23:02:55]OFD Sender: No OFD packet to send [23:03:00]OFD Sender: No OFD packet to send [23:03:05]OFD Sender: No OFD packet to send [23:03:10]OFD Sender: No OFD packet to send [23:03:15]OFD Sender: No OFD packet to send [23:03:20]OFD Sender: No OFD packet to send [23:03:25]OFD Sender: No OFD packet to send [23:03:30]OFD Sender: No OFD packet to send [23:03:35]OFD Sender: No OFD packet to send [23:03:40]OFD Sender: No OFD packet to send [23:03:45]OFD Sender: No OFD packet to send [23:03:50]OFD Sender: No OFD packet to send [23:03:55]OFD Sender: No OFD packet to send [23:04:00]OFD Sender: No OFD packet to send [23:04:05]OFD Sender: No OFD packet to send [23:04:10]OFD Sender: No OFD packet to send [23:04:15]OFD Sender: No OFD packet to send [23:04:20]OFD Sender: No OFD packet to send [23:04:25]OFD Sender: No OFD packet to send [23:04:30]OFD Sender: No OFD packet to send [23:04:35]OFD Sender: No OFD packet to send [23:04:40]OFD Sender: No OFD packet to send [23:04:45]OFD Sender: No OFD packet to send [23:04:50]OFD Sender: No OFD packet to send [23:04:55]OFD Sender: No OFD packet to send [23:05:00]OFD Sender: No OFD packet to send [23:05:05]OFD Sender: No OFD packet to send [23:05:10]OFD Sender: No OFD packet to send [23:05:15]OFD Sender: No OFD packet to send [23:05:20]OFD Sender: No OFD packet to send [23:05:25]OFD Sender: No OFD packet to send [23:05:30]OFD Sender: No OFD packet to send [23:05:35]OFD Sender: No OFD packet to send [23:05:40]OFD Sender: No OFD packet to send [23:05:45]OFD Sender: No OFD packet to send [23:05:50]OFD Sender: No OFD packet to send [23:05:55]OFD Sender: No OFD packet to send [23:06:00]OFD Sender: No OFD packet to send [23:06:05]OFD Sender: No OFD packet to send [23:06:10]OFD Sender: No OFD packet to send [23:06:15]OFD Sender: No OFD packet to send [23:06:20]OFD Sender: No OFD packet to send [23:06:25]OFD Sender: No OFD packet to send [23:06:30]OFD Sender: No OFD packet to send [23:06:35]OFD Sender: No OFD packet to send [23:06:40]OFD Sender: No OFD packet to send [23:06:45]OFD Sender: No OFD packet to send [23:06:50]OFD Sender: No OFD packet to send [23:06:55]OFD Sender: No OFD packet to send [23:07:00]OFD Sender: No OFD packet to send [23:07:05]OFD Sender: No OFD packet to send [23:07:10]OFD Sender: No OFD packet to send [23:07:15]OFD Sender: No OFD packet to send [23:07:20]OFD Sender: No OFD packet to send [23:07:25]OFD Sender: No OFD packet to send [23:07:30]OFD Sender: No OFD packet to send [23:07:35]OFD Sender: No OFD packet to send [23:07:40]OFD Sender: No OFD packet to send [23:07:45]OFD Sender: No OFD packet to send [23:07:50]OFD Sender: No OFD packet to send [23:07:55]OFD Sender: No OFD packet to send [23:08:00]OFD Sender: No OFD packet to send [23:08:05]OFD Sender: No OFD packet to send [23:08:10]OFD Sender: No OFD packet to send [23:08:15]OFD Sender: No OFD packet to send [23:08:20]OFD Sender: No OFD packet to send [23:08:25]OFD Sender: No OFD packet to send [23:08:30]OFD Sender: No OFD packet to send [23:08:35]OFD Sender: No OFD packet to send [23:08:40]OFD Sender: No OFD packet to send [23:08:45]OFD Sender: No OFD packet to send [23:08:50]OFD Sender: No OFD packet to send [23:08:55]OFD Sender: No OFD packet to send [23:09:00]OFD Sender: No OFD packet to send [23:09:05]OFD Sender: No OFD packet to send [23:09:10]OFD Sender: No OFD packet to send [23:09:15]OFD Sender: No OFD packet to send [23:09:20]OFD Sender: No OFD packet to send [23:09:25]OFD Sender: No OFD packet to send [23:09:30]OFD Sender: No OFD packet to send [23:09:35]OFD Sender: No OFD packet to send [23:09:40]OFD Sender: No OFD packet to send [23:09:45]OFD Sender: No OFD packet to send [23:09:50]OFD Sender: No OFD packet to send [23:09:55]OFD Sender: No OFD packet to send [23:10:00]OFD Sender: No OFD packet to send [23:10:05]OFD Sender: No OFD packet to send [23:10:10]OFD Sender: No OFD packet to send [23:10:15]OFD Sender: No OFD packet to send [23:10:20]OFD Sender: No OFD packet to send [23:10:25]OFD Sender: No OFD packet to send [23:10:30]OFD Sender: No OFD packet to send [23:10:35]OFD Sender: No OFD packet to send [23:10:41]OFD Sender: No OFD packet to send [23:10:46]OFD Sender: No OFD packet to send [23:10:51]OFD Sender: No OFD packet to send [23:10:56]OFD Sender: No OFD packet to send [23:11:01]OFD Sender: No OFD packet to send [23:11:06]OFD Sender: No OFD packet to send [23:11:11]OFD Sender: No OFD packet to send [23:11:16]OFD Sender: No OFD packet to send [23:11:21]OFD Sender: No OFD packet to send [23:11:26]OFD Sender: No OFD packet to send [23:11:31]OFD Sender: No OFD packet to send [23:11:36]OFD Sender: No OFD packet to send [23:11:41]OFD Sender: No OFD packet to send [23:11:46]OFD Sender: No OFD packet to send [23:11:51]OFD Sender: No OFD packet to send [23:11:56]OFD Sender: No OFD packet to send [23:12:01]OFD Sender: No OFD packet to send [23:12:06]OFD Sender: No OFD packet to send [23:12:11]OFD Sender: No OFD packet to send [23:12:16]OFD Sender: No OFD packet to send [23:12:21]OFD Sender: No OFD packet to send [23:12:26]OFD Sender: No OFD packet to send [23:12:31]OFD Sender: No OFD packet to send [23:12:36]OFD Sender: No OFD packet to send [23:12:41]OFD Sender: No OFD packet to send [23:12:46]OFD Sender: No OFD packet to send [23:12:51]OFD Sender: No OFD packet to send [23:12:56]OFD Sender: No OFD packet to send [23:13:01]OFD Sender: No OFD packet to send [23:13:06]OFD Sender: No OFD packet to send [23:13:11]OFD Sender: No OFD packet to send [23:13:16]OFD Sender: No OFD packet to send [23:13:21]OFD Sender: No OFD packet to send [23:13:26]OFD Sender: No OFD packet to send [23:13:31]OFD Sender: No OFD packet to send [23:13:36]OFD Sender: No OFD packet to send [23:13:41]OFD Sender: No OFD packet to send [23:13:46]OFD Sender: No OFD packet to send [23:13:51]OFD Sender: No OFD packet to send [23:13:56]OFD Sender: No OFD packet to send [23:14:01]OFD Sender: No OFD packet to send [23:14:06]OFD Sender: No OFD packet to send [23:14:11]OFD Sender: No OFD packet to send [23:14:16]OFD Sender: No OFD packet to send [23:14:21]OFD Sender: No OFD packet to send [23:14:26]OFD Sender: No OFD packet to send [23:14:31]OFD Sender: No OFD packet to send [23:14:36]OFD Sender: No OFD packet to send [23:14:41]OFD Sender: No OFD packet to send [23:14:46]OFD Sender: No OFD packet to send [23:14:51]OFD Sender: No OFD packet to send [23:14:56]OFD Sender: No OFD packet to send [23:15:01]OFD Sender: No OFD packet to send [23:15:06]OFD Sender: No OFD packet to send [23:15:11]OFD Sender: No OFD packet to send [23:15:16]OFD Sender: No OFD packet to send [23:15:21]OFD Sender: No OFD packet to send [23:15:26]OFD Sender: No OFD packet to send [23:15:31]OFD Sender: No OFD packet to send [23:15:36]OFD Sender: No OFD packet to send [23:15:41]OFD Sender: No OFD packet to send [23:15:46]OFD Sender: No OFD packet to send [23:15:51]OFD Sender: No OFD packet to send [23:15:56]OFD Sender: No OFD packet to send [23:16:01]OFD Sender: No OFD packet to send [23:16:06]OFD Sender: No OFD packet to send [23:16:11]OFD Sender: No OFD packet to send [23:16:16]OFD Sender: No OFD packet to send [23:16:21]OFD Sender: No OFD packet to send [23:16:26]OFD Sender: No OFD packet to send [23:16:31]OFD Sender: No OFD packet to send [23:16:36]OFD Sender: No OFD packet to send [23:16:41]OFD Sender: No OFD packet to send [23:16:46]OFD Sender: No OFD packet to send [23:16:51]OFD Sender: No OFD packet to send [23:16:56]OFD Sender: No OFD packet to send [23:17:01]OFD Sender: No OFD packet to send [23:17:06]OFD Sender: No OFD packet to send [23:17:11]OFD Sender: No OFD packet to send [23:17:16]OFD Sender: No OFD packet to send [23:17:21]OFD Sender: No OFD packet to send [23:17:26]OFD Sender: No OFD packet to send [23:17:31]OFD Sender: No OFD packet to send [23:17:36]OFD Sender: No OFD packet to send [23:17:41]OFD Sender: No OFD packet to send [23:17:46]OFD Sender: No OFD packet to send [23:17:51]OFD Sender: No OFD packet to send [23:17:56]OFD Sender: No OFD packet to send [23:18:01]OFD Sender: No OFD packet to send [23:18:06]OFD Sender: No OFD packet to send [23:18:11]OFD Sender: No OFD packet to send [23:18:16]OFD Sender: No OFD packet to send [23:18:21]OFD Sender: No OFD packet to send [23:18:26]OFD Sender: No OFD packet to send [23:18:31]OFD Sender: No OFD packet to send [23:18:36]OFD Sender: No OFD packet to send [23:18:41]OFD Sender: No OFD packet to send [23:18:46]OFD Sender: No OFD packet to send [23:18:51]OFD Sender: No OFD packet to send [23:18:56]OFD Sender: No OFD packet to send [23:19:01]OFD Sender: No OFD packet to send [23:19:06]OFD Sender: No OFD packet to send [23:19:11]OFD Sender: No OFD packet to send [23:19:16]OFD Sender: No OFD packet to send [23:19:21]OFD Sender: No OFD packet to send [23:19:26]OFD Sender: No OFD packet to send [23:19:31]OFD Sender: No OFD packet to send [23:19:36]OFD Sender: No OFD packet to send [23:19:41]OFD Sender: No OFD packet to send [23:19:46]OFD Sender: No OFD packet to send [23:19:51]OFD Sender: No OFD packet to send [23:19:56]OFD Sender: No OFD packet to send [23:20:01]OFD Sender: No OFD packet to send [23:20:06]OFD Sender: No OFD packet to send [23:20:11]OFD Sender: No OFD packet to send [23:20:16]OFD Sender: No OFD packet to send [23:20:21]OFD Sender: No OFD packet to send [23:20:26]OFD Sender: No OFD packet to send [23:20:31]OFD Sender: No OFD packet to send [23:20:36]OFD Sender: No OFD packet to send [23:20:41]OFD Sender: No OFD packet to send [23:20:46]OFD Sender: No OFD packet to send [23:20:51]OFD Sender: No OFD packet to send [23:20:56]OFD Sender: No OFD packet to send [23:21:01]OFD Sender: No OFD packet to send [23:21:06]OFD Sender: No OFD packet to send [23:21:11]OFD Sender: No OFD packet to send [23:21:16]OFD Sender: No OFD packet to send [23:21:21]OFD Sender: No OFD packet to send [23:21:26]OFD Sender: No OFD packet to send [23:21:31]OFD Sender: No OFD packet to send [23:21:36]OFD Sender: No OFD packet to send [23:21:41]OFD Sender: No OFD packet to send [23:21:46]OFD Sender: No OFD packet to send [23:21:51]OFD Sender: No OFD packet to send [23:21:56]OFD Sender: No OFD packet to send [23:22:01]OFD Sender: No OFD packet to send [23:22:06]OFD Sender: No OFD packet to send [23:22:11]OFD Sender: No OFD packet to send [23:22:16]OFD Sender: No OFD packet to send [23:22:21]OFD Sender: No OFD packet to send [23:22:26]OFD Sender: No OFD packet to send [23:22:31]OFD Sender: No OFD packet to send [23:22:36]OFD Sender: No OFD packet to send [23:22:41]OFD Sender: No OFD packet to send [23:22:46]OFD Sender: No OFD packet to send [23:22:51]OFD Sender: No OFD packet to send [23:22:56]OFD Sender: No OFD packet to send [23:23:01]OFD Sender: No OFD packet to send [23:23:06]OFD Sender: No OFD packet to send [23:23:11]OFD Sender: No OFD packet to send [23:23:16]OFD Sender: No OFD packet to send [23:23:21]OFD Sender: No OFD packet to send [23:23:26]OFD Sender: No OFD packet to send [23:23:31]OFD Sender: No OFD packet to send [23:23:36]OFD Sender: No OFD packet to send [23:23:41]OFD Sender: No OFD packet to send [23:23:46]OFD Sender: No OFD packet to send [23:23:51]OFD Sender: No OFD packet to send [23:23:56]OFD Sender: No OFD packet to send [23:24:01]OFD Sender: No OFD packet to send [23:24:06]OFD Sender: No OFD packet to send [23:24:11]OFD Sender: No OFD packet to send [23:24:16]OFD Sender: No OFD packet to send [23:24:21]OFD Sender: No OFD packet to send [23:24:26]OFD Sender: No OFD packet to send [23:24:31]OFD Sender: No OFD packet to send [23:24:36]OFD Sender: No OFD packet to send [23:24:41]OFD Sender: No OFD packet to send [23:24:46]OFD Sender: No OFD packet to send [23:24:51]OFD Sender: No OFD packet to send [23:24:56]OFD Sender: No OFD packet to send [23:25:01]OFD Sender: No OFD packet to send [23:25:06]OFD Sender: No OFD packet to send [23:25:11]OFD Sender: No OFD packet to send [23:25:16]OFD Sender: No OFD packet to send [23:25:21]OFD Sender: No OFD packet to send [23:25:26]OFD Sender: No OFD packet to send [23:25:31]OFD Sender: No OFD packet to send [23:25:36]OFD Sender: No OFD packet to send [23:25:41]OFD Sender: No OFD packet to send [23:25:46]OFD Sender: No OFD packet to send [23:25:51]OFD Sender: No OFD packet to send [23:25:56]OFD Sender: No OFD packet to send [23:26:01]OFD Sender: No OFD packet to send [23:26:06]OFD Sender: No OFD packet to send [23:26:11]OFD Sender: No OFD packet to send [23:26:16]OFD Sender: No OFD packet to send [23:26:21]OFD Sender: No OFD packet to send [23:26:26]OFD Sender: No OFD packet to send [23:26:31]OFD Sender: No OFD packet to send [23:26:36]OFD Sender: No OFD packet to send [23:26:41]OFD Sender: No OFD packet to send [23:26:46]OFD Sender: No OFD packet to send [23:26:51]OFD Sender: No OFD packet to send [23:26:56]OFD Sender: No OFD packet to send [23:27:01]OFD Sender: No OFD packet to send [23:27:06]OFD Sender: No OFD packet to send [23:27:11]OFD Sender: No OFD packet to send [23:27:16]OFD Sender: No OFD packet to send [23:27:21]OFD Sender: No OFD packet to send [23:27:26]OFD Sender: No OFD packet to send [23:27:31]OFD Sender: No OFD packet to send [23:27:36]OFD Sender: No OFD packet to send [23:27:41]OFD Sender: No OFD packet to send [23:27:46]OFD Sender: No OFD packet to send [23:27:51]OFD Sender: No OFD packet to send [23:27:56]OFD Sender: No OFD packet to send [23:28:01]OFD Sender: No OFD packet to send [23:28:06]OFD Sender: No OFD packet to send [23:28:11]OFD Sender: No OFD packet to send [23:28:16]OFD Sender: No OFD packet to send [23:28:21]OFD Sender: No OFD packet to send [23:28:26]OFD Sender: No OFD packet to send [23:28:31]OFD Sender: No OFD packet to send [23:28:36]OFD Sender: No OFD packet to send [23:28:41]OFD Sender: No OFD packet to send [23:28:46]OFD Sender: No OFD packet to send [23:28:51]OFD Sender: No OFD packet to send [23:28:56]OFD Sender: No OFD packet to send [23:29:01]OFD Sender: No OFD packet to send [23:29:06]OFD Sender: No OFD packet to send [23:29:11]OFD Sender: No OFD packet to send [23:29:16]OFD Sender: No OFD packet to send [23:29:21]OFD Sender: No OFD packet to send [23:29:26]OFD Sender: No OFD packet to send [23:29:31]OFD Sender: No OFD packet to send [23:29:36]OFD Sender: No OFD packet to send [23:29:41]OFD Sender: No OFD packet to send [23:29:46]OFD Sender: No OFD packet to send [23:29:51]OFD Sender: No OFD packet to send [23:29:56]OFD Sender: No OFD packet to send [23:30:01]OFD Sender: No OFD packet to send [23:30:06]OFD Sender: No OFD packet to send [23:30:11]OFD Sender: No OFD packet to send [23:30:16]OFD Sender: No OFD packet to send [23:30:21]OFD Sender: No OFD packet to send [23:30:26]OFD Sender: No OFD packet to send [23:30:31]OFD Sender: No OFD packet to send [23:30:36]OFD Sender: No OFD packet to send [23:30:41]OFD Sender: No OFD packet to send [23:30:46]OFD Sender: No OFD packet to send [23:30:51]OFD Sender: No OFD packet to send [23:30:56]OFD Sender: No OFD packet to send [23:31:01]OFD Sender: No OFD packet to send [23:31:06]OFD Sender: No OFD packet to send [23:31:11]OFD Sender: No OFD packet to send [23:31:16]OFD Sender: No OFD packet to send [23:31:21]OFD Sender: No OFD packet to send [23:31:26]OFD Sender: No OFD packet to send [23:31:31]OFD Sender: No OFD packet to send [23:31:36]OFD Sender: No OFD packet to send [23:31:41]OFD Sender: No OFD packet to send [23:31:47]OFD Sender: No OFD packet to send [23:31:52]OFD Sender: No OFD packet to send [23:31:57]OFD Sender: No OFD packet to send [23:32:02]OFD Sender: No OFD packet to send [23:32:07]OFD Sender: No OFD packet to send [23:32:12]OFD Sender: No OFD packet to send [23:32:17]OFD Sender: No OFD packet to send [23:32:22]OFD Sender: No OFD packet to send [23:32:27]OFD Sender: No OFD packet to send [23:32:32]OFD Sender: No OFD packet to send [23:32:37]OFD Sender: No OFD packet to send [23:32:42]OFD Sender: No OFD packet to send [23:32:47]OFD Sender: No OFD packet to send [23:32:52]OFD Sender: No OFD packet to send [23:32:57]OFD Sender: No OFD packet to send [23:33:02]OFD Sender: No OFD packet to send [23:33:07]OFD Sender: No OFD packet to send [23:33:12]OFD Sender: No OFD packet to send [23:33:17]OFD Sender: No OFD packet to send [23:33:22]OFD Sender: No OFD packet to send [23:33:27]OFD Sender: No OFD packet to send [23:33:32]OFD Sender: No OFD packet to send [23:33:37]OFD Sender: No OFD packet to send [23:33:42]OFD Sender: No OFD packet to send [23:33:47]OFD Sender: No OFD packet to send [23:33:52]OFD Sender: No OFD packet to send [23:33:57]OFD Sender: No OFD packet to send [23:34:02]OFD Sender: No OFD packet to send [23:34:07]OFD Sender: No OFD packet to send [23:34:12]OFD Sender: No OFD packet to send [23:34:17]OFD Sender: No OFD packet to send [23:34:22]OFD Sender: No OFD packet to send [23:34:27]OFD Sender: No OFD packet to send [23:34:32]OFD Sender: No OFD packet to send [23:34:37]OFD Sender: No OFD packet to send [23:34:42]OFD Sender: No OFD packet to send [23:34:47]OFD Sender: No OFD packet to send [23:34:52]OFD Sender: No OFD packet to send [23:34:57]OFD Sender: No OFD packet to send [23:35:02]OFD Sender: No OFD packet to send [23:35:07]OFD Sender: No OFD packet to send [23:35:12]OFD Sender: No OFD packet to send [23:35:17]OFD Sender: No OFD packet to send [23:35:22]OFD Sender: No OFD packet to send [23:35:27]OFD Sender: No OFD packet to send [23:35:32]OFD Sender: No OFD packet to send [23:35:37]OFD Sender: No OFD packet to send [23:35:42]OFD Sender: No OFD packet to send [23:35:47]OFD Sender: No OFD packet to send [23:35:52]OFD Sender: No OFD packet to send [23:35:57]OFD Sender: No OFD packet to send [23:36:02]OFD Sender: No OFD packet to send [23:36:07]OFD Sender: No OFD packet to send [23:36:12]OFD Sender: No OFD packet to send [23:36:17]OFD Sender: No OFD packet to send [23:36:22]OFD Sender: No OFD packet to send [23:36:27]OFD Sender: No OFD packet to send [23:36:32]OFD Sender: No OFD packet to send [23:36:37]OFD Sender: No OFD packet to send [23:36:42]OFD Sender: No OFD packet to send [23:36:47]OFD Sender: No OFD packet to send [23:36:52]OFD Sender: No OFD packet to send [23:36:57]OFD Sender: No OFD packet to send [23:37:02]OFD Sender: No OFD packet to send [23:37:07]OFD Sender: No OFD packet to send [23:37:12]OFD Sender: No OFD packet to send [23:37:17]OFD Sender: No OFD packet to send [23:37:22]OFD Sender: No OFD packet to send [23:37:27]OFD Sender: No OFD packet to send [23:37:32]OFD Sender: No OFD packet to send [23:37:37]OFD Sender: No OFD packet to send [23:37:42]OFD Sender: No OFD packet to send [23:37:47]OFD Sender: No OFD packet to send [23:37:52]OFD Sender: No OFD packet to send [23:37:57]OFD Sender: No OFD packet to send [23:38:02]OFD Sender: No OFD packet to send [23:38:07]OFD Sender: No OFD packet to send [23:38:12]OFD Sender: No OFD packet to send [23:38:17]OFD Sender: No OFD packet to send [23:38:22]OFD Sender: No OFD packet to send [23:38:27]OFD Sender: No OFD packet to send [23:38:32]OFD Sender: No OFD packet to send [23:38:37]OFD Sender: No OFD packet to send [23:38:42]OFD Sender: No OFD packet to send [23:38:47]OFD Sender: No OFD packet to send [23:38:52]OFD Sender: No OFD packet to send [23:38:57]OFD Sender: No OFD packet to send [23:39:02]OFD Sender: No OFD packet to send [23:39:07]OFD Sender: No OFD packet to send [23:39:12]OFD Sender: No OFD packet to send [23:39:17]OFD Sender: No OFD packet to send [23:39:22]OFD Sender: No OFD packet to send [23:39:27]OFD Sender: No OFD packet to send [23:39:32]OFD Sender: No OFD packet to send [23:39:37]OFD Sender: No OFD packet to send [23:39:42]OFD Sender: No OFD packet to send [23:39:47]OFD Sender: No OFD packet to send [23:39:52]OFD Sender: No OFD packet to send [23:39:57]OFD Sender: No OFD packet to send [23:40:02]OFD Sender: No OFD packet to send [23:40:07]OFD Sender: No OFD packet to send [23:40:12]OFD Sender: No OFD packet to send [23:40:17]OFD Sender: No OFD packet to send [23:40:22]OFD Sender: No OFD packet to send [23:40:27]OFD Sender: No OFD packet to send [23:40:32]OFD Sender: No OFD packet to send [23:40:37]OFD Sender: No OFD packet to send [23:40:42]OFD Sender: No OFD packet to send [23:40:47]OFD Sender: No OFD packet to send [23:40:52]OFD Sender: No OFD packet to send [23:40:57]OFD Sender: No OFD packet to send [23:41:02]OFD Sender: No OFD packet to send [23:41:07]OFD Sender: No OFD packet to send [23:41:12]OFD Sender: No OFD packet to send [23:41:17]OFD Sender: No OFD packet to send [23:41:22]OFD Sender: No OFD packet to send [23:41:27]OFD Sender: No OFD packet to send [23:41:32]OFD Sender: No OFD packet to send [23:41:37]OFD Sender: No OFD packet to send [23:41:42]OFD Sender: No OFD packet to send [23:41:47]OFD Sender: No OFD packet to send [23:41:52]OFD Sender: No OFD packet to send [23:41:57]OFD Sender: No OFD packet to send [23:42:02]OFD Sender: No OFD packet to send [23:42:07]OFD Sender: No OFD packet to send [23:42:12]OFD Sender: No OFD packet to send [23:42:17]OFD Sender: No OFD packet to send [23:42:22]OFD Sender: No OFD packet to send [23:42:27]OFD Sender: No OFD packet to send [23:42:32]OFD Sender: No OFD packet to send [23:42:37]OFD Sender: No OFD packet to send [23:42:42]OFD Sender: No OFD packet to send [23:42:47]OFD Sender: No OFD packet to send [23:42:52]OFD Sender: No OFD packet to send [23:42:57]OFD Sender: No OFD packet to send [23:43:02]OFD Sender: No OFD packet to send [23:43:07]OFD Sender: No OFD packet to send [23:43:12]OFD Sender: No OFD packet to send [23:43:17]OFD Sender: No OFD packet to send [23:43:22]OFD Sender: No OFD packet to send [23:43:27]OFD Sender: No OFD packet to send [23:43:32]OFD Sender: No OFD packet to send [23:43:37]OFD Sender: No OFD packet to send [23:43:42]OFD Sender: No OFD packet to send [23:43:47]OFD Sender: No OFD packet to send [23:43:52]OFD Sender: No OFD packet to send [23:43:57]OFD Sender: No OFD packet to send [23:44:02]OFD Sender: No OFD packet to send [23:44:07]OFD Sender: No OFD packet to send [23:44:12]OFD Sender: No OFD packet to send [23:44:17]OFD Sender: No OFD packet to send [23:44:22]OFD Sender: No OFD packet to send [23:44:27]OFD Sender: No OFD packet to send [23:44:32]OFD Sender: No OFD packet to send [23:44:37]OFD Sender: No OFD packet to send [23:44:42]OFD Sender: No OFD packet to send [23:44:47]OFD Sender: No OFD packet to send [23:44:52]OFD Sender: No OFD packet to send [23:44:57]OFD Sender: No OFD packet to send [23:45:02]OFD Sender: No OFD packet to send [23:45:07]OFD Sender: No OFD packet to send [23:45:12]OFD Sender: No OFD packet to send [23:45:17]OFD Sender: No OFD packet to send [23:45:22]OFD Sender: No OFD packet to send [23:45:27]OFD Sender: No OFD packet to send [23:45:32]OFD Sender: No OFD packet to send [23:45:37]OFD Sender: No OFD packet to send [23:45:42]OFD Sender: No OFD packet to send [23:45:47]OFD Sender: No OFD packet to send [23:45:52]OFD Sender: No OFD packet to send [23:45:57]OFD Sender: No OFD packet to send [23:46:02]OFD Sender: No OFD packet to send [23:46:07]OFD Sender: No OFD packet to send [23:46:12]OFD Sender: No OFD packet to send [23:46:17]OFD Sender: No OFD packet to send [23:46:22]OFD Sender: No OFD packet to send [23:46:27]OFD Sender: No OFD packet to send [23:46:32]OFD Sender: No OFD packet to send [23:46:37]OFD Sender: No OFD packet to send [23:46:42]OFD Sender: No OFD packet to send [23:46:47]OFD Sender: No OFD packet to send [23:46:52]OFD Sender: No OFD packet to send [23:46:57]OFD Sender: No OFD packet to send [23:47:02]OFD Sender: No OFD packet to send [23:47:05]int [23:47:05]Write to MH i2c: 01 00 00 C8 14 DC [23:47:05]*** FLAG_PRN_KEY set [23:47:05]Write i2c OK [23:47:05]MH_I2C_Read... [23:47:05]Read from MH i2c: 01 [23:47:05]MH_I2C_Read... [23:47:05]Read from MH i2c: 01 07 00 [23:47:05]MH_I2C_Read... [23:47:05]Read from MH i2c: 01 07 00 C8 14 00 08 00 00 00 FF 0F F9 [23:47:05]state=0 [23:47:05]Key pressed [23:47:05]Feed [23:47:05]Write to MH i2c: D8 00 00 C9 14 B4 [23:47:05]Write i2c OK [23:47:05]MH_I2C_Read... [23:47:05]Read from MH i2c: D8 [23:47:05]MH_I2C_Read... [23:47:05]Read from MH i2c: D8 01 00 [23:47:05]MH_I2C_Read... [23:47:05]Read from MH i2c: D8 01 00 C9 14 00 B5 [23:47:05]int [23:47:05]Write to MH i2c: 01 00 00 CA 14 DE [23:47:05]Write i2c OK [23:47:05]MH_I2C_Read... [23:47:05]Read from MH i2c: 01 [23:47:05]MH_I2C_Read... [23:47:05]Read from MH i2c: 01 07 00 [23:47:05]MH_I2C_Read... [23:47:05]Read from MH i2c: 01 07 00 CA 14 00 48 00 00 00 3D 00 6A [23:47:05]state=2 [23:47:05]Key pressed [23:47:05]int [23:47:05]Write to MH i2c: 01 00 00 CB 14 DF [23:47:05]*** FLAG_PRN_KEY reset [23:47:05]Write i2c OK [23:47:05]MH_I2C_Read... [23:47:05]Read from MH i2c: 01 [23:47:05]MH_I2C_Read... [23:47:05]Read from MH i2c: 01 07 00 [23:47:05]MH_I2C_Read... [23:47:05]Read from MH i2c: 01 07 00 CB 14 00 00 00 00 00 F5 0F EA [23:47:05]state=2 [23:47:05]Stop feed [23:47:06]int [23:47:06]Write to MH i2c: 01 00 00 CC 14 E0 [23:47:06]*** FLAG_PRN_KEY set [23:47:06]Write i2c OK [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: 01 [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: 01 07 00 [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: 01 07 00 CC 14 00 08 00 00 00 FF 0F FD [23:47:06]state=0 [23:47:06]Key pressed [23:47:06]Feed [23:47:06]Write to MH i2c: D8 00 00 CD 14 B8 [23:47:06]Write i2c OK [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: D8 [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: D8 01 00 [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: D8 01 00 CD 14 00 B9 [23:47:06]int [23:47:06]Write to MH i2c: 01 00 00 CE 14 E2 [23:47:06]Write i2c OK [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: 01 [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: 01 07 00 [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: 01 07 00 CE 14 00 48 00 00 00 3C 00 6D [23:47:06]state=2 [23:47:06]Key pressed [23:47:06]int [23:47:06]Write to MH i2c: 01 00 00 CF 14 E3 [23:47:06]*** FLAG_PRN_KEY reset [23:47:06]Write i2c OK [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: 01 [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: 01 07 00 [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: 01 07 00 CF 14 00 00 00 00 00 F6 0F EF [23:47:06]state=2 [23:47:06]Stop feed [23:47:07]OFD Sender: No OFD packet to send [23:47:12]OFD Sender: No OFD packet to send [23:47:17]OFD Sender: No OFD packet to send [23:47:22]OFD Sender: No OFD packet to send [23:47:27]OFD Sender: No OFD packet to send [23:47:32]OFD Sender: No OFD packet to send [23:47:37]OFD Sender: No OFD packet to send [23:47:42]OFD Sender: No OFD packet to send [23:47:47]OFD Sender: No OFD packet to send [23:47:52]OFD Sender: No OFD packet to send [23:47:57]OFD Sender: No OFD packet to send [23:48:02]OFD Sender: No OFD packet to send [23:48:07]OFD Sender: No OFD packet to send [23:48:12]OFD Sender: No OFD packet to send [23:48:17]OFD Sender: No OFD packet to send [23:48:22]OFD Sender: No OFD packet to send [23:48:27]OFD Sender: No OFD packet to send [23:48:32]OFD Sender: No OFD packet to send [23:48:37]OFD Sender: No OFD packet to send [23:48:42]OFD Sender: No OFD packet to send [23:48:47]OFD Sender: No OFD packet to send [23:48:52]OFD Sender: No OFD packet to send [23:48:57]OFD Sender: No OFD packet to send [23:49:02]OFD Sender: No OFD packet to send [23:49:07]OFD Sender: No OFD packet to send [23:49:12]OFD Sender: No OFD packet to send [23:49:17]OFD Sender: No OFD packet to send [23:49:22]OFD Sender: No OFD packet to send [23:49:27]OFD Sender: No OFD packet to send [23:49:32]OFD Sender: No OFD packet to send [23:49:37]OFD Sender: No OFD packet to send [23:49:42]OFD Sender: No OFD packet to send [23:49:47]OFD Sender: No OFD packet to send [23:49:52]OFD Sender: No OFD packet to send [23:49:57]OFD Sender: No OFD packet to send [23:50:02]OFD Sender: No OFD packet to send [23:50:07]OFD Sender: No OFD packet to send [23:50:12]OFD Sender: No OFD packet to send [23:50:17]OFD Sender: No OFD packet to send [23:50:22]OFD Sender: No OFD packet to send [23:50:27]OFD Sender: No OFD packet to send [23:50:32]OFD Sender: No OFD packet to send [23:50:37]OFD Sender: No OFD packet to send [23:50:42]OFD Sender: No OFD packet to send [23:50:47]OFD Sender: No OFD packet to send [23:50:52]OFD Sender: No OFD packet to send [23:50:57]OFD Sender: No OFD packet to send [23:51:02]OFD Sender: No OFD packet to send [23:51:07]OFD Sender: No OFD packet to send [23:51:12]OFD Sender: No OFD packet to send [23:51:17]OFD Sender: No OFD packet to send [23:51:22]OFD Sender: No OFD packet to send [23:51:27]OFD Sender: No OFD packet to send [23:51:32]OFD Sender: No OFD packet to send [23:51:37]OFD Sender: No OFD packet to send [23:51:42]OFD Sender: No OFD packet to send [23:51:47]OFD Sender: No OFD packet to send [23:51:52]OFD Sender: No OFD packet to send [23:51:57]OFD Sender: No OFD packet to send [23:52:02]OFD Sender: No OFD packet to send [23:52:07]OFD Sender: No OFD packet to send [23:52:12]OFD Sender: No OFD packet to send [23:52:17]OFD Sender: No OFD packet to send [23:52:22]OFD Sender: No OFD packet to send [23:52:27]OFD Sender: No OFD packet to send [23:52:32]OFD Sender: No OFD packet to send [23:52:37]OFD Sender: No OFD packet to send [23:52:42]OFD Sender: No OFD packet to send [23:52:47]OFD Sender: No OFD packet to send [23:52:52]OFD Sender: No OFD packet to send [23:52:57]OFD Sender: No OFD packet to send [23:53:03]OFD Sender: No OFD packet to send [23:53:08]OFD Sender: No OFD packet to send [23:53:13]OFD Sender: No OFD packet to send [23:53:18]OFD Sender: No OFD packet to send [23:53:23]OFD Sender: No OFD packet to send [23:53:28]OFD Sender: No OFD packet to send [23:53:33]OFD Sender: No OFD packet to send [23:53:38]OFD Sender: No OFD packet to send [23:53:43]OFD Sender: No OFD packet to send [23:53:48]OFD Sender: No OFD packet to send [23:53:53]OFD Sender: No OFD packet to send [23:53:58]OFD Sender: No OFD packet to send [23:54:03]OFD Sender: No OFD packet to send [23:54:08]OFD Sender: No OFD packet to send [23:54:13]OFD Sender: No OFD packet to send [23:54:18]OFD Sender: No OFD packet to send [23:54:23]OFD Sender: No OFD packet to send [23:54:28]OFD Sender: No OFD packet to send [23:54:33]OFD Sender: No OFD packet to send [23:54:38]OFD Sender: No OFD packet to send [23:54:43]OFD Sender: No OFD packet to send [23:54:48]OFD Sender: No OFD packet to send [23:54:53]OFD Sender: No OFD packet to send [23:54:58]OFD Sender: No OFD packet to send [23:55:03]OFD Sender: No OFD packet to send [23:55:08]OFD Sender: No OFD packet to send [23:55:13]OFD Sender: No OFD packet to send [23:55:18]OFD Sender: No OFD packet to send [23:55:23]OFD Sender: No OFD packet to send [23:55:28]OFD Sender: No OFD packet to send [23:55:33]OFD Sender: No OFD packet to send [23:55:38]OFD Sender: No OFD packet to send [23:55:43]OFD Sender: No OFD packet to send [23:55:48]OFD Sender: No OFD packet to send [23:55:53]OFD Sender: No OFD packet to send [23:55:58]OFD Sender: No OFD packet to send [23:56:03]OFD Sender: No OFD packet to send [23:56:08]OFD Sender: No OFD packet to send [23:56:13]OFD Sender: No OFD packet to send [23:56:18]OFD Sender: No OFD packet to send [23:56:23]OFD Sender: No OFD packet to send [23:56:28]OFD Sender: No OFD packet to send [23:56:33]OFD Sender: No OFD packet to send [23:56:38]OFD Sender: No OFD packet to send [23:56:43]OFD Sender: No OFD packet to send [23:56:48]OFD Sender: No OFD packet to send [23:56:53]OFD Sender: No OFD packet to send [23:56:58]OFD Sender: No OFD packet to send [23:56:59]accept exits with 9 [23:56:59]New connection [23:56:59]New thread 3067309412 created [23:56:59]Thread 3067166052 joined [23:56:59]Waiting for new connection... [23:56:59] Sock 9.Parse request [23:56:59]Sock 9.Check first char [23:56:59]Sock 9.First char is OK [23:56:59]request: POST /json_proto HTTP/1.0 [23:56:59]Method: POST [23:56:59]URL: /json_proto [23:56:59]Method is POST - this is cgi request [23:56:59]url: /json_proto [23:56:59]query_string will be loaded in cgi processing [23:56:59]execute_cgi json_proto POST (null) [23:56:59]execute_cgi path=json_proto method=POST [23:56:59]POST find Content-Length [23:56:59]Host: 172.17.53.196:8080 [23:56:59]Content-Length: 618 [23:56:59]Content-Type: application/json [23:56:59] [23:56:59]POST finish read [23:56:59]Found Content-Length = 618 [23:56:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34671", "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" ] } } [23:56:59]execute_script... [23:56:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34671", "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" ] } } [23:56:59]POST & json_proto [23:56:59]process_json_proto [23:56:59]json parsed OK: [23:56:59]protocol is kg_v1.0 [23:56:59]action value=close_receipt [23:56:59]process_action close_receipt [23:56:59]cmd_close_receipt [23:56:59]MH_GetDate [23:56:59]Write to MH i2c: F0 00 00 D0 14 D3 [23:56:59]Write i2c OK [23:56:59]MH_I2C_Read... [23:56:59]Read from MH i2c: F0 [23:56:59]MH_I2C_Read... [23:56:59]Read from MH i2c: F0 09 00 [23:56:59]MH_I2C_Read... [23:56:59]Read from MH i2c: F0 09 00 D0 14 00 D0 98 15 67 4F CD 9A 65 DB [23:56:59]GetLastDocTimeStamp 1729462990 [23:56:59]current date 1729468624 [23:56:59]FM_GetShiftState [23:56:59]SAM_PROTO_GetShiftState [23:56:59]wFMCommunicate request_size=4 [23:56:59]MH_SAM_APDU [23:56:59]CAPDU: 80 13 01 00 [23:56:59]Write to MH i2c: E2 08 00 D1 14 80 13 01 00 00 00 00 00 62 [23:56:59]Write i2c OK [23:56:59]MH_I2C_Read... [23:56:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:56:59]Read from MH i2c: E2 [23:56:59]MH_I2C_Read... [23:56:59]Read from MH i2c: E2 0E 00 [23:56:59]MH_I2C_Read... [23:56:59]Read from MH i2c: E2 0E 00 D1 14 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 A8 [23:56:59]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [23:56:59]wFMCommunicate OK [23:56:59]SAM_PROTO_GetShiftState done [23:56:59]FM_GetShiftState done [23:56:59]opened in 1729384049 [23:56:59]opened+sec_in_day 1729470449 [23:56:59]quantity*price = 14400 [23:56:59]sum+1 = 14401 [23:56:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 69 20.10.2024 23:57 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24911 ФПД: 53148253791907 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T235704&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24911&fm=53148253791907&tin=02508201610067®Number=0000000000098147&sum=14400 0 [23:57:00]StoreToDocumentArchive [23:57:00]shift 455 fd 24911 [23:57:00]save to /storage/0455/doc_00024911 [23:57:00]save last doc name /storage/0455/doc_00024911 to /storage/kkm_last_doc_name [23:57:00]save OK [23:57:00]Clear old archive folders... [23:57:00]ProcessDocumentItem done err = 0, tmpTLVsize=271 [23:57:00]tlvbuf is 00DECAD0 [23:57:00]SAM_PROTO_ClearQueue [23:57:00]wFMCommunicate request_size=4 [23:57:00]MH_SAM_APDU [23:57:00]CAPDU: 80 09 00 00 [23:57:00]Write to MH i2c: E2 08 00 DE 14 80 09 00 00 00 00 00 00 64 [23:57:00]Write i2c OK [23:57:00]MH_I2C_Read... [23:57:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:57:00]Read from MH i2c: E2 [23:57:00]MH_I2C_Read... [23:57:00]Read from MH i2c: E2 03 00 [23:57:00]MH_I2C_Read... [23:57:00]Read from MH i2c: E2 03 00 DE 14 00 90 00 66 [23:57:00]RAPDU: 90 00 [23:57:00]wFMCommunicate OK [23:57:00]SAM_PROTO_ClearQueue done [23:57:00]KKMCreateOFDPacket [23:57:00]OFDProtocolAddRootSTLVToBuf [23:57:00]FM_MakeSignedData [23:57:00]FM_MakeSignedData [23:57:00]SAM_PROTO_SignData [23:57:00]wFMCommunicate request_size=4 [23:57:00]MH_SAM_APDU [23:57:00]CAPDU: 80 0D 01 02 [23:57:00]Write to MH i2c: E2 08 00 DF 14 80 0D 01 02 00 00 00 00 6C [23:57:00]Write i2c OK [23:57:00]MH_I2C_Read... [23:57:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:57:00]Read from MH i2c: E2 [23:57:00]MH_I2C_Read... [23:57:00]Read from MH i2c: E2 03 00 [23:57:00]MH_I2C_Read... [23:57:00]Read from MH i2c: E2 03 00 DF 14 00 90 00 67 [23:57:00]RAPDU: 90 00 [23:57:00]wFMCommunicate OK [23:57:00]wFMCommunicate request_size=255 [23:57:00]MH_SAM_APDU [23:57:00]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 45 00 00 00 F4 03 04 00 D0 98 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 [23:57:00]Write to MH i2c: E2 02 01 E0 14 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 45 00 00 00 F4 03 04 00 D0 98 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 5A [23:57:00]Write i2c OK [23:57:00]MH_I2C_Read... [23:57:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:57:00]Read from MH i2c: E2 [23:57:00]MH_I2C_Read... [23:57:00]Read from MH i2c: E2 03 00 [23:57:00]MH_I2C_Read... [23:57:00]Read from MH i2c: E2 03 00 E0 14 00 90 00 68 [23:57:00]RAPDU: 90 00 [23:57:00]wFMCommunicate OK [23:57:00]wFMCommunicate request_size=30 [23:57:00]MH_SAM_APDU [23:57:00]CAPDU: 80 0D 02 02 19 30 39 36 35 33 37 36 10 04 04 00 4F 61 00 00 35 04 06 00 30 56 8A C9 A6 A3 [23:57:00]Write to MH i2c: E2 21 00 E1 14 80 0D 02 02 19 00 30 39 36 35 33 37 36 10 04 04 00 4F 61 00 00 35 04 06 00 30 56 8A C9 A6 A3 00 00 3E [23:57:00]Write i2c OK [23:57:00]MH_I2C_Read... [23:57:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:57:00]Read from MH i2c: E2 [23:57:00]MH_I2C_Read... [23:57:00]Read from MH i2c: E2 03 00 [23:57:00]MH_I2C_Read... [23:57:00]Read from MH i2c: E2 03 00 E1 14 00 90 00 69 [23:57:00]RAPDU: 90 00 [23:57:00]wFMCommunicate OK [23:57:00]wFMCommunicate request_size=4 [23:57:00]MH_SAM_APDU [23:57:00]CAPDU: 80 0D 03 02 [23:57:00]Write to MH i2c: E2 08 00 E2 14 80 0D 03 02 00 00 00 00 71 [23:57:00]Write i2c OK [23:57:00]MH_I2C_Read... [23:57:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:57:00]Read from MH i2c: E2 [23:57:00]MH_I2C_Read... [23:57:00]Read from MH i2c: E2 0B 00 [23:57:00]MH_I2C_Read... [23:57:00]Read from MH i2c: E2 0B 00 E2 14 00 DD EA 64 C0 AC 1B 3D 97 90 00 F8 [23:57:00]RAPDU: DD EA 64 C0 AC 1B 3D 97 90 00 [23:57:00]wFMCommunicate OK [23:57:00]SAM_PROTO_SignData done [23:57:00]FM_MakeSignedData done [23:57:00]CreateOFDProtocolMessage [23:57:00]wFMCommunicate request_size=4 [23:57:00]MH_SAM_APDU [23:57:00]CAPDU: 80 11 00 00 [23:57:00]Write to MH i2c: E2 08 00 E3 14 80 11 00 00 00 00 00 00 71 [23:57:00]Write i2c OK [23:57:00]MH_I2C_Read... [23:57:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:57:01]Read from MH i2c: E2 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: E2 17 00 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: E2 17 00 E3 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 C8 [23:57:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [23:57:01]wFMCommunicate OK [23:57:01]CreateOFDProtocolMessage done [23:57:01]OFDSenderStorePacket 24911 [23:57:01]StoreOFDPacket docnum=24911 [23:57:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 23 01 00 00 77 E4 1B 01 84 51 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 45 00 00 00 F4 03 04 00 D0 98 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4F 61 00 00 35 04 06 00 30 56 8A C9 A6 A3 DD EA 64 C0 AC 1B 3D 97 [23:57:01]CheckFolder [23:57:01]dirname=/storage/ofd_packets [23:57:01]CheckFolder done [23:57:01]ProducePacketName [23:57:01]name=ofd_packets/00024911 [23:57:01]NVStorageSaveData ofd_packets/00024911 [23:57:01]File name is /storage/ofd_packets/00024911 [23:57:01]Write 321 bytes [23:57:01]NVStorageSaveData done [23:57:01]OFDSenderStorePacket done [23:57:01]KKMCreateOFDPacket done [23:57:01]NVStorageSaveData kkm_last_timestamp [23:57:01]File name is /storage/kkm_last_timestamp [23:57:01]Write 4 bytes [23:57:01]NVStorageSaveData done [23:57:01]ExternCall_PrintAddStr [23:57:01]wPrintStart [23:57:01]Write to MH i2c: 01 00 00 E4 14 F8 [23:57:01]Write i2c OK [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: 01 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: 01 07 00 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: 01 07 00 E4 14 00 00 00 00 00 FF 0F 0D [23:57:01]RasterBufferAndPrint [23:57:01]line Счет N : (3)34671 [23:57:01]line ИНН: 02508201610067 [23:57:01]line Контрольно-Кассовый Чек [23:57:01]line ПРОДАЖА [23:57:01]line Товар: 47802995 [23:57:01]line Сигареты Winston XS Silver [23:57:01]line 1.000 * 144.00 [23:57:01]line = 144.00 [23:57:01]line НДС 12% НСП 1% [23:57:01]line > о реализуемом товаре [23:57:01]line ИТОГО: 144.00 [23:57:01]line НСП 1% : 1.27 [23:57:01]line НДС 12% : 15.29 [23:57:01]line Наличными: 144.00 [23:57:01]line Безнал.: 0.00 [23:57:01]line Место: АЗС № 161 "Партнер Нефть" [23:57:01]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [23:57:01]line СНО: Общий режим [23:57:01]line Чек 69 20.10.2024 23:57 [23:57:01]line Смена: 455 ФФД: 1.0 [23:57:01]line ЗНМ: 0300000240 [23:57:01]line РНМ: 0000000000098147 [23:57:01]line Версия ККМ: 001 [23:57:01]line ФМ: 0000000000965376 [23:57:01]line ФД: 24911 [23:57:01]line ФПД: 53148253791907 [23:57:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T235704&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24911&fm=53148253791907&tin=02508201610067®Number=0000000000098147&sum=14400 [23:57:01]line 0 [23:57:01]OFD Sender: Processing packet 24911 [packets to send 5, broken 4] [23:57:01]ProducePacketName [23:57:01]name=ofd_packets/00024911 [23:57:01]OFD Sender: To server: pG, [23:57:01]CommunicateWithHost lk.salyk.kg:30040 [23:57:01]ConnectInit lk.salyk.kg [23:57:01]written 0, free lines is 4095 [23:57:01]Connected sock=10 [23:57:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 23 01 00 00 77 E4 1B 01 84 51 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 45 00 00 00 F4 03 04 00 D0 98 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4F 61 00 00 35 04 06 00 30 56 8A C9 A6 A3 DD EA 64 C0 AC 1B 3D 97 [23:57:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 5B 7E 47 00 4C 21 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 4F 61 00 00 F4 03 04 00 4F 41 15 67 B6 04 01 00 00 39 2A 54 F1 9B 74 8C F9 [23:57:01]CommunicateWithHost err = 0 [23:57:01]CheckOFDResponse [23:57:01]1017 (14) - 77093643461234 [23:57:01]1041 (16) - 0000000000965376 [23:57:01]1040 (4) - 24911 [23:57:01]1012 (4) - 20.10.2024 17:43 [23:57:01]1206 (1) - 0 [23:57:01]OFD Sender: Remove packet 24911 [23:57:01]ProducePacketName [23:57:01]name=ofd_packets/00024911 [23:57:01]NVStorageDeleteData [23:57:01]Write to MH i2c: 01 00 00 0C 15 21 [23:57:01]Write i2c OK [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: 01 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: 01 07 00 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: 01 07 00 0C 15 00 00 00 00 00 CA 0C FE [23:57:01]RasterBufferAndPrint [23:57:01]line [23:57:01]line [23:57:01]line [23:57:01]line [23:57:01]line [23:57:01]written 0, free lines is 3279 [23:57:01]process_action close_receipt done [23:57:01]requested_data is exist [23:57:01]produce_requested_data [23:57:01]requested_item fm.sn is exist - process it [23:57:01]wFMCommunicate request_size=4 [23:57:01]MH_SAM_APDU [23:57:01]CAPDU: 80 11 00 00 [23:57:01]Write to MH i2c: E2 08 00 13 15 80 11 00 00 00 00 00 00 A2 [23:57:01]Write i2c OK [23:57:01]MH_I2C_Read... [23:57:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:57:01]Read from MH i2c: E2 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: E2 17 00 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: E2 17 00 13 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 F9 [23:57:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [23:57:01]wFMCommunicate OK [23:57:01]requested_item fd.num is exist - process it [23:57:01]SAM_PROTO_GetFieldsCounters [23:57:01]wFMCommunicate request_size=4 [23:57:01]MH_SAM_APDU [23:57:01]CAPDU: 80 13 00 00 [23:57:01]Write to MH i2c: E2 08 00 14 15 80 13 00 00 00 00 00 00 A5 [23:57:01]Write i2c OK [23:57:01]MH_I2C_Read... [23:57:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:57:01]Read from MH i2c: E2 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: E2 62 00 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: E2 62 00 14 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 4F 61 00 00 0E 04 04 00 C7 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 15 [23:57:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 4F 61 00 00 0E 04 04 00 C7 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 [23:57:01]wFMCommunicate OK [23:57:01]SAM_PROTO_GetFieldsCounters done [23:57:01]requested_item shift.num is exist - process it [23:57:01]requested_item shift.opened is exist - process it [23:57:01]req_shift_opened [23:57:01]FM_GetShiftState [23:57:01]SAM_PROTO_GetShiftState [23:57:01]wFMCommunicate request_size=4 [23:57:01]MH_SAM_APDU [23:57:01]CAPDU: 80 13 01 00 [23:57:01]Write to MH i2c: E2 08 00 15 15 80 13 01 00 00 00 00 00 A7 [23:57:01]Write i2c OK [23:57:01]MH_I2C_Read... [23:57:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:57:02]Read from MH i2c: E2 [23:57:02]MH_I2C_Read... [23:57:02]Read from MH i2c: E2 0E 00 [23:57:02]MH_I2C_Read... [23:57:02]Read from MH i2c: E2 0E 00 15 15 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 ED [23:57:02]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [23:57:02]wFMCommunicate OK [23:57:02]SAM_PROTO_GetShiftState done [23:57:02]FM_GetShiftState done [23:57:02]req_shift_opened done [23:57:02]requested_item shift.open_date is exist - process it [23:57:02]req_shift_open_date [23:57:02]req_shift_open_date done [23:57:02]produce_requested_data done [23:57:02]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24911,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [23:57:02]process_action_free close_receipt [23:57:02]json_value_free [23:57:02]json_value_free done [23:57:02]process_json_proto returns [23:57:02]Send response to host [23:57:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24911,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [23:57:02]free response buf [23:57:02]execute_script done [23:57:02]execute_script returns [23:57:02]free content buf [23:57:02]Sock 9.Close socket [23:57:02]Sock 9.Thread stoped [23:57:02]OFD Sender: No OFD packet to send [23:57:07]OFD Sender: No OFD packet to send [23:57:12]OFD Sender: No OFD packet to send [23:57:17]OFD Sender: No OFD packet to send [23:57:22]OFD Sender: No OFD packet to send [23:57:27]OFD Sender: No OFD packet to send [23:57:32]OFD Sender: No OFD packet to send [23:57:37]OFD Sender: No OFD packet to send [23:57:42]OFD Sender: No OFD packet to send [23:57:47]OFD Sender: No OFD packet to send [23:57:52]OFD Sender: No OFD packet to send [23:57:57]OFD Sender: No OFD packet to send [23:58:02]OFD Sender: No OFD packet to send [23:58:07]OFD Sender: No OFD packet to send [23:58:12]OFD Sender: No OFD packet to send [23:58:17]OFD Sender: No OFD packet to send [23:58:22]OFD Sender: No OFD packet to send [23:58:27]OFD Sender: No OFD packet to send [23:58:32]OFD Sender: No OFD packet to send [23:58:37]OFD Sender: No OFD packet to send [23:58:42]OFD Sender: No OFD packet to send [23:58:47]OFD Sender: No OFD packet to send [23:58:52]OFD Sender: No OFD packet to send [23:58:57]OFD Sender: No OFD packet to send [23:59:02]OFD Sender: No OFD packet to send [23:59:07]OFD Sender: No OFD packet to send [23:59:12]OFD Sender: No OFD packet to send [23:59:17]OFD Sender: No OFD packet to send [23:59:22]OFD Sender: No OFD packet to send [23:59:27]OFD Sender: No OFD packet to send [23:59:32]OFD Sender: No OFD packet to send [23:59:37]OFD Sender: No OFD packet to send [23:59:42]OFD Sender: No OFD packet to send [23:59:47]OFD Sender: No OFD packet to send [23:59:52]OFD Sender: No OFD packet to send [23:59:57]OFD Sender: No OFD packet to send [00:00:02]OFD Sender: No OFD packet to send [00:00:07]OFD Sender: No OFD packet to send [00:00:12]OFD Sender: No OFD packet to send [00:00:17]OFD Sender: No OFD packet to send [00:00:22]OFD Sender: No OFD packet to send [00:00:27]OFD Sender: No OFD packet to send [00:00:32]OFD Sender: No OFD packet to send [00:00:37]OFD Sender: No OFD packet to send [00:00:42]OFD Sender: No OFD packet to send [00:00:47]OFD Sender: No OFD packet to send [00:00:52]OFD Sender: No OFD packet to send [00:00:57]OFD Sender: No OFD packet to send [00:01:02]OFD Sender: No OFD packet to send [00:01:07]OFD Sender: No OFD packet to send [00:01:12]OFD Sender: No OFD packet to send [00:01:17]OFD Sender: No OFD packet to send [00:01:22]OFD Sender: No OFD packet to send [00:01:27]OFD Sender: No OFD packet to send [00:01:32]OFD Sender: No OFD packet to send [00:01:37]OFD Sender: No OFD packet to send [00:01:42]OFD Sender: No OFD packet to send [00:01:47]OFD Sender: No OFD packet to send [00:01:52]OFD Sender: No OFD packet to send [00:01:57]OFD Sender: No OFD packet to send [00:02:02]OFD Sender: No OFD packet to send [00:02:07]OFD Sender: No OFD packet to send [00:02:12]OFD Sender: No OFD packet to send [00:02:17]OFD Sender: No OFD packet to send [00:02:22]OFD Sender: No OFD packet to send [00:02:27]OFD Sender: No OFD packet to send [00:02:32]OFD Sender: No OFD packet to send [00:02:37]OFD Sender: No OFD packet to send [00:02:42]OFD Sender: No OFD packet to send [00:02:47]OFD Sender: No OFD packet to send [00:02:52]OFD Sender: No OFD packet to send [00:02:57]OFD Sender: No OFD packet to send [00:03:02]OFD Sender: No OFD packet to send [00:03:07]OFD Sender: No OFD packet to send [00:03:12]OFD Sender: No OFD packet to send [00:03:17]OFD Sender: No OFD packet to send [00:03:22]OFD Sender: No OFD packet to send [00:03:27]OFD Sender: No OFD packet to send [00:03:32]OFD Sender: No OFD packet to send [00:03:35]accept exits with 7 [00:03:35]New connection [00:03:35]New thread 3067166052 created [00:03:35]Thread 3067309412 joined [00:03:35]Waiting for new connection... [00:03:35] Sock 7.Parse request [00:03:35]Sock 7.Check first char [00:03:35]Sock 7.First char is OK [00:03:35]request: POST /json_proto HTTP/1.0 [00:03:35]Method: POST [00:03:35]URL: /json_proto [00:03:35]Method is POST - this is cgi request [00:03:35]url: /json_proto [00:03:35]query_string will be loaded in cgi processing [00:03:35]execute_cgi json_proto POST (null) [00:03:35]execute_cgi path=json_proto method=POST [00:03:35]POST find Content-Length [00:03:35]Host: 172.17.53.196:8080 [00:03:35]Content-Length: 617 [00:03:35]Content-Type: application/json [00:03:35] [00:03:35]POST finish read [00:03:35]Found Content-Length = 617 [00:03:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34672", "tax_sys" : 0, "items" : [ { "code": "48742191", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Bond Street Blue", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 268.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:35]execute_script... [00:03: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)34672", "tax_sys" : 0, "items" : [ { "code": "48742191", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Bond Street Blue", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 268.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:35]POST & json_proto [00:03:35]process_json_proto [00:03:35]json parsed OK: [00:03:35]protocol is kg_v1.0 [00:03:35]action value=close_receipt [00:03:35]process_action close_receipt [00:03:35]cmd_close_receipt [00:03:35]MH_GetDate [00:03:35]Write to MH i2c: F0 00 00 16 15 1A [00:03:35]Write i2c OK [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: F0 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: F0 09 00 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: F0 09 00 16 15 00 5C 9A 15 67 4F CD 9A 65 B0 [00:03:35]GetLastDocTimeStamp 1729468624 [00:03:35]current date 1729469020 [00:03:35]FM_GetShiftState [00:03:35]SAM_PROTO_GetShiftState [00:03:35]wFMCommunicate request_size=4 [00:03:35]MH_SAM_APDU [00:03:35]CAPDU: 80 13 01 00 [00:03:35]Write to MH i2c: E2 08 00 17 15 80 13 01 00 00 00 00 00 A9 [00:03:35]Write i2c OK [00:03:35]MH_I2C_Read... [00:03:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:35]Read from MH i2c: E2 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: E2 0E 00 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: E2 0E 00 17 15 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 EF [00:03:35]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [00:03:35]wFMCommunicate OK [00:03:35]SAM_PROTO_GetShiftState done [00:03:35]FM_GetShiftState done [00:03:35]opened in 1729384049 [00:03:35]opened+sec_in_day 1729470449 [00:03:35]quantity*price = 26800 [00:03:35]sum+1 = 26801 [00:03:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 268.00 НСП 1% : 2.37 НДС 12% : 28.46 Наличными: 268.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 70 21.10.2024 00:03 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24912 ФПД: 255766940850939 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T000340&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24912&fm=255766940850939&tin=02508201610067®Number=0000000000098147&sum=26800 0 [00:03:36]StoreToDocumentArchive [00:03:36]shift 455 fd 24912 [00:03:36]save to /storage/0455/doc_00024912 [00:03:36]save last doc name /storage/0455/doc_00024912 to /storage/kkm_last_doc_name [00:03:36]save OK [00:03:36]Clear old archive folders... [00:03:36]ProcessDocumentItem done err = 0, tmpTLVsize=270 [00:03:36]tlvbuf is 00E0AD70 [00:03:36]SAM_PROTO_ClearQueue [00:03:36]wFMCommunicate request_size=4 [00:03:36]MH_SAM_APDU [00:03:36]CAPDU: 80 09 00 00 [00:03:36]Write to MH i2c: E2 08 00 24 15 80 09 00 00 00 00 00 00 AB [00:03:36]Write i2c OK [00:03:36]MH_I2C_Read... [00:03:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:03:36]Read from MH i2c: E2 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 03 00 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 03 00 24 15 00 90 00 AD [00:03:36]RAPDU: 90 00 [00:03:36]wFMCommunicate OK [00:03:36]SAM_PROTO_ClearQueue done [00:03:36]KKMCreateOFDPacket [00:03:36]OFDProtocolAddRootSTLVToBuf [00:03:36]FM_MakeSignedData [00:03:36]FM_MakeSignedData [00:03:36]SAM_PROTO_SignData [00:03:36]wFMCommunicate request_size=4 [00:03:36]MH_SAM_APDU [00:03:36]CAPDU: 80 0D 01 02 [00:03:36]Write to MH i2c: E2 08 00 25 15 80 0D 01 02 00 00 00 00 B3 [00:03:36]Write i2c OK [00:03:36]MH_I2C_Read... [00:03:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:03:36]Read from MH i2c: E2 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 03 00 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 03 00 25 15 00 90 00 AE [00:03:36]RAPDU: 90 00 [00:03:36]wFMCommunicate OK [00:03:36]wFMCommunicate request_size=255 [00:03:36]MH_SAM_APDU [00:03:36]CAPDU: 80 0D 02 02 FA 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 32 31 39 31 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 6F 6E 64 20 53 74 72 65 65 74 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 5C 9A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 [00:03:36]Write to MH i2c: E2 02 01 26 15 80 0D 02 02 FA 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 32 31 39 31 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 6F 6E 64 20 53 74 72 65 65 74 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 5C 9A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 3E [00:03:36]Write i2c OK [00:03:36]MH_I2C_Read... [00:03:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:03:36]Read from MH i2c: E2 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 03 00 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 03 00 26 15 00 90 00 AF [00:03:36]RAPDU: 90 00 [00:03:36]wFMCommunicate OK [00:03:36]wFMCommunicate request_size=29 [00:03:36]MH_SAM_APDU [00:03:36]CAPDU: 80 0D 02 02 18 39 36 35 33 37 36 10 04 04 00 50 61 00 00 35 04 06 00 E8 9E 61 A7 9A FB [00:03:36]Write to MH i2c: E2 20 00 27 15 80 0D 02 02 18 00 39 36 35 33 37 36 10 04 04 00 50 61 00 00 35 04 06 00 E8 9E 61 A7 9A FB 00 00 55 [00:03:36]Write i2c OK [00:03:36]MH_I2C_Read... [00:03:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:03:36]Read from MH i2c: E2 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 03 00 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 03 00 27 15 00 90 00 B0 [00:03:36]RAPDU: 90 00 [00:03:36]wFMCommunicate OK [00:03:36]wFMCommunicate request_size=4 [00:03:36]MH_SAM_APDU [00:03:36]CAPDU: 80 0D 03 02 [00:03:36]Write to MH i2c: E2 08 00 28 15 80 0D 03 02 00 00 00 00 B8 [00:03:36]Write i2c OK [00:03:36]MH_I2C_Read... [00:03:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:03:36]Read from MH i2c: E2 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 0B 00 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 0B 00 28 15 00 99 38 E0 CB C3 DA 52 6E 90 00 92 [00:03:36]RAPDU: 99 38 E0 CB C3 DA 52 6E 90 00 [00:03:36]wFMCommunicate OK [00:03:36]SAM_PROTO_SignData done [00:03:36]FM_MakeSignedData done [00:03:36]CreateOFDProtocolMessage [00:03:36]wFMCommunicate request_size=4 [00:03:36]MH_SAM_APDU [00:03:36]CAPDU: 80 11 00 00 [00:03:36]Write to MH i2c: E2 08 00 29 15 80 11 00 00 00 00 00 00 B8 [00:03:36]Write i2c OK [00:03:36]MH_I2C_Read... [00:03:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:03:36]Read from MH i2c: E2 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 17 00 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 17 00 29 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 0F [00:03:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:03:36]wFMCommunicate OK [00:03:36]CreateOFDProtocolMessage done [00:03:36]OFDSenderStorePacket 24912 [00:03:36]StoreOFDPacket docnum=24912 [00:03:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 22 01 00 00 60 AE 1A 01 3C 12 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 32 31 39 31 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 6F 6E 64 20 53 74 72 65 65 74 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 5C 9A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 50 61 00 00 35 04 06 00 E8 9E 61 A7 9A FB 99 38 E0 CB C3 DA 52 6E [00:03:36]CheckFolder [00:03:36]dirname=/storage/ofd_packets [00:03:36]CheckFolder done [00:03:36]ProducePacketName [00:03:36]name=ofd_packets/00024912 [00:03:36]NVStorageSaveData ofd_packets/00024912 [00:03:36]File name is /storage/ofd_packets/00024912 [00:03:36]Write 320 bytes [00:03:36]NVStorageSaveData done [00:03:36]OFDSenderStorePacket done [00:03:36]KKMCreateOFDPacket done [00:03:36]NVStorageSaveData kkm_last_timestamp [00:03:36]File name is /storage/kkm_last_timestamp [00:03:36]Write 4 bytes [00:03:36]NVStorageSaveData done [00:03:36]ExternCall_PrintAddStr [00:03:36]wPrintStart [00:03:36]Write to MH i2c: 01 00 00 2A 15 3F [00:03:36]Write i2c OK [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: 01 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: 01 07 00 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: 01 07 00 2A 15 00 00 00 00 00 FF 0F 54 [00:03:36]RasterBufferAndPrint [00:03:36]line Счет N : (3)34672 [00:03:36]line ИНН: 02508201610067 [00:03:36]line Контрольно-Кассовый Чек [00:03:36]line ПРОДАЖА [00:03:36]line Товар: 48742191 [00:03:36]line Сигареты Bond Street Blue [00:03:36]line 2.000 * 134.00 [00:03:36]line = 268.00 [00:03:36]line НДС 12% НСП 1% [00:03:36]line > о реализуемом товаре [00:03:36]line ИТОГО: 268.00 [00:03:36]line НСП 1% : 2.37 [00:03:36]line НДС 12% : 28.46 [00:03:36]line Наличными: 268.00 [00:03:36]line Безнал.: 0.00 [00:03:36]line Место: АЗС № 161 "Партнер Нефть" [00:03:36]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [00:03:36]line СНО: Общий режим [00:03:36]line Чек 70 21.10.2024 00:03 [00:03:36]line Смена: 455 ФФД: 1.0 [00:03:36]line ЗНМ: 0300000240 [00:03:36]line РНМ: 0000000000098147 [00:03:36]line Версия ККМ: 001 [00:03:36]line ФМ: 0000000000965376 [00:03:36]line ФД: 24912 [00:03:36]line ФПД: 255766940850939 [00:03:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T000340&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24912&fm=255766940850939&tin=02508201610067®Number=0000000000098147&sum=26800 [00:03:37]line 0 [00:03:37]OFD Sender: Processing packet 24912 [packets to send 5, broken 4] [00:03:37]ProducePacketName [00:03:37]name=ofd_packets/00024912 [00:03:37]OFD Sender: To server: pG, [00:03:37]CommunicateWithHost lk.salyk.kg:30040 [00:03:37]ConnectInit lk.salyk.kg [00:03:37]written 0, free lines is 4095 [00:03:37]Connected sock=10 [00:03: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 33 37 36 22 01 00 00 60 AE 1A 01 3C 12 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 32 31 39 31 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 6F 6E 64 20 53 74 72 65 65 74 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 5C 9A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 50 61 00 00 35 04 06 00 E8 9E 61 A7 9A FB 99 38 E0 CB C3 DA 52 6E [00:03:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 30 A8 47 00 71 1A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 50 61 00 00 F4 03 04 00 DB 42 15 67 B6 04 01 00 00 E9 BB FF B4 BC D8 B5 6A [00:03:37]CommunicateWithHost err = 0 [00:03:37]CheckOFDResponse [00:03:37]1017 (14) - 77093643461234 [00:03:37]1041 (16) - 0000000000965376 [00:03:37]1040 (4) - 24912 [00:03:37]1012 (4) - 20.10.2024 17:50 [00:03:37]1206 (1) - 0 [00:03:37]OFD Sender: Remove packet 24912 [00:03:37]ProducePacketName [00:03:37]name=ofd_packets/00024912 [00:03:37]NVStorageDeleteData [00:03:37]Write to MH i2c: 01 00 00 52 15 67 [00:03:37]Write i2c OK [00:03:37]MH_I2C_Read... [00:03:37]Read from MH i2c: 01 [00:03:37]MH_I2C_Read... [00:03:37]Read from MH i2c: 01 07 00 [00:03:37]MH_I2C_Read... [00:03:37]Read from MH i2c: 01 07 00 52 15 00 00 00 00 00 DC 0C 56 [00:03:37]RasterBufferAndPrint [00:03:37]line [00:03:37]line [00:03:37]line [00:03:37]line [00:03:37]line [00:03:37]written 0, free lines is 3297 [00:03:37]process_action close_receipt done [00:03:37]requested_data is exist [00:03:37]produce_requested_data [00:03:37]requested_item fm.sn is exist - process it [00:03:37]wFMCommunicate request_size=4 [00:03:37]MH_SAM_APDU [00:03:37]CAPDU: 80 11 00 00 [00:03:37]Write to MH i2c: E2 08 00 59 15 80 11 00 00 00 00 00 00 E8 [00:03:37]Write i2c OK [00:03:37]MH_I2C_Read... [00:03:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:03:37]Read from MH i2c: E2 [00:03:37]MH_I2C_Read... [00:03:37]Read from MH i2c: E2 17 00 [00:03:37]MH_I2C_Read... [00:03:37]Read from MH i2c: E2 17 00 59 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 3F [00:03:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:03:37]wFMCommunicate OK [00:03:37]requested_item fd.num is exist - process it [00:03:37]SAM_PROTO_GetFieldsCounters [00:03:37]wFMCommunicate request_size=4 [00:03:37]MH_SAM_APDU [00:03:37]CAPDU: 80 13 00 00 [00:03:37]Write to MH i2c: E2 08 00 5A 15 80 13 00 00 00 00 00 00 EB [00:03:37]Write i2c OK [00:03:37]MH_I2C_Read... [00:03:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:03:37]Read from MH i2c: E2 [00:03:37]MH_I2C_Read... [00:03:37]Read from MH i2c: E2 62 00 [00:03:37]MH_I2C_Read... [00:03:37]Read from MH i2c: E2 62 00 5A 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 50 61 00 00 0E 04 04 00 C7 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 5F [00:03:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 50 61 00 00 0E 04 04 00 C7 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 [00:03:37]wFMCommunicate OK [00:03:37]SAM_PROTO_GetFieldsCounters done [00:03:37]requested_item shift.num is exist - process it [00:03:37]requested_item shift.opened is exist - process it [00:03:37]req_shift_opened [00:03:37]FM_GetShiftState [00:03:37]SAM_PROTO_GetShiftState [00:03:37]wFMCommunicate request_size=4 [00:03:37]MH_SAM_APDU [00:03:37]CAPDU: 80 13 01 00 [00:03:37]Write to MH i2c: E2 08 00 5B 15 80 13 01 00 00 00 00 00 ED [00:03:37]Write i2c OK [00:03:37]MH_I2C_Read... [00:03:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:37]Read from MH i2c: E2 [00:03:37]MH_I2C_Read... [00:03:37]Read from MH i2c: E2 0E 00 [00:03:37]MH_I2C_Read... [00:03:37]Read from MH i2c: E2 0E 00 5B 15 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 33 [00:03:37]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [00:03:37]wFMCommunicate OK [00:03:37]SAM_PROTO_GetShiftState done [00:03:37]FM_GetShiftState done [00:03:37]req_shift_opened done [00:03:37]requested_item shift.open_date is exist - process it [00:03:37]req_shift_open_date [00:03:37]req_shift_open_date done [00:03:37]produce_requested_data done [00:03:37]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24912,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [00:03:37]process_action_free close_receipt [00:03:37]json_value_free [00:03:37]json_value_free done [00:03:37]process_json_proto returns [00:03:37]Send response to host [00:03:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24912,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [00:03:37]free response buf [00:03:37]execute_script done [00:03:37]execute_script returns [00:03:37]free content buf [00:03:37]Sock 7.Close socket [00:03:37]Sock 7.Thread stoped [00:03:38]OFD Sender: No OFD packet to send [00:03:43]OFD Sender: No OFD packet to send [00:03:48]OFD Sender: No OFD packet to send [00:03:53]OFD Sender: No OFD packet to send [00:03:58]OFD Sender: No OFD packet to send [00:04:03]OFD Sender: No OFD packet to send [00:04:08]OFD Sender: No OFD packet to send [00:04:13]OFD Sender: No OFD packet to send [00:04:18]OFD Sender: No OFD packet to send [00:04:23]OFD Sender: No OFD packet to send [00:04:28]OFD Sender: No OFD packet to send [00:04:33]OFD Sender: No OFD packet to send [00:04:38]OFD Sender: No OFD packet to send [00:04:43]OFD Sender: No OFD packet to send [00:04:48]OFD Sender: No OFD packet to send [00:04:53]OFD Sender: No OFD packet to send [00:04:58]OFD Sender: No OFD packet to send [00:05:03]OFD Sender: No OFD packet to send [00:05:08]OFD Sender: No OFD packet to send [00:05:13]OFD Sender: No OFD packet to send [00:05:18]OFD Sender: No OFD packet to send [00:05:23]OFD Sender: No OFD packet to send [00:05:28]OFD Sender: No OFD packet to send [00:05:33]OFD Sender: No OFD packet to send [00:05:38]OFD Sender: No OFD packet to send [00:05:43]OFD Sender: No OFD packet to send [00:05:48]OFD Sender: No OFD packet to send [00:05:53]OFD Sender: No OFD packet to send [00:05:58]OFD Sender: No OFD packet to send [00:06:03]OFD Sender: No OFD packet to send [00:06:04]accept exits with 9 [00:06:04]New connection [00:06:04]New thread 3067309412 created [00:06:04]Thread 3067166052 joined [00:06:04]Waiting for new connection... [00:06:04] Sock 9.Parse request [00:06:04]Sock 9.Check first char [00:06:04]Sock 9.First char is OK [00:06:04]request: POST /json_proto HTTP/1.0 [00:06:04]Method: POST [00:06:04]URL: /json_proto [00:06:04]Method is POST - this is cgi request [00:06:04]url: /json_proto [00:06:04]query_string will be loaded in cgi processing [00:06:04]execute_cgi json_proto POST (null) [00:06:04]execute_cgi path=json_proto method=POST [00:06:04]POST find Content-Length [00:06:04]Host: 172.17.53.196:8080 [00:06:04]Content-Length: 646 [00:06:04]Content-Type: application/json [00:06:04] [00:06:04]POST finish read [00:06:04]Found Content-Length = 646 [00:06:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34673", "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" : 2.000, "sum" : 530.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 530.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:06:04]execute_script... [00:06: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)34673", "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" : 2.000, "sum" : 530.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 530.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:06:04]POST & json_proto [00:06:04]process_json_proto [00:06:04]json parsed OK: [00:06:04]protocol is kg_v1.0 [00:06:04]action value=close_receipt [00:06:04]process_action close_receipt [00:06:04]cmd_close_receipt [00:06:04]MH_GetDate [00:06:04]Write to MH i2c: F0 00 00 5C 15 60 [00:06:04]Write i2c OK [00:06:04]MH_I2C_Read... [00:06:04]Read from MH i2c: F0 [00:06:04]MH_I2C_Read... [00:06:04]Read from MH i2c: F0 09 00 [00:06:04]MH_I2C_Read... [00:06:04]Read from MH i2c: F0 09 00 5C 15 00 F1 9A 15 67 4F CD 9A 65 8B [00:06:04]GetLastDocTimeStamp 1729469020 [00:06:04]current date 1729469169 [00:06:04]FM_GetShiftState [00:06:04]SAM_PROTO_GetShiftState [00:06:04]wFMCommunicate request_size=4 [00:06:04]MH_SAM_APDU [00:06:04]CAPDU: 80 13 01 00 [00:06:04]Write to MH i2c: E2 08 00 5D 15 80 13 01 00 00 00 00 00 EF [00:06:04]Write i2c OK [00:06:04]MH_I2C_Read... [00:06:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:04]Read from MH i2c: E2 [00:06:04]MH_I2C_Read... [00:06:04]Read from MH i2c: E2 0E 00 [00:06:04]MH_I2C_Read... [00:06:04]Read from MH i2c: E2 0E 00 5D 15 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 35 [00:06:04]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [00:06:04]wFMCommunicate OK [00:06:04]SAM_PROTO_GetShiftState done [00:06:04]FM_GetShiftState done [00:06:04]opened in 1729384049 [00:06:04]opened+sec_in_day 1729470449 [00:06:04]quantity*price = 53000 [00:06:04]sum+1 = 53001 [00:06:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 530.00 НСП 1% : 4.69 НДС 12% : 56.28 Наличными: 530.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 71 21.10.2024 00:06 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24913 ФПД: 162561531033890 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T000609&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24913&fm=162561531033890&tin=02508201610067®Number=0000000000098147&sum=53000 0 [00:06:05]StoreToDocumentArchive [00:06:05]shift 455 fd 24913 [00:06:05]save to /storage/0455/doc_00024913 [00:06:05]save last doc name /storage/0455/doc_00024913 to /storage/kkm_last_doc_name [00:06:05]save OK [00:06:05]Clear old archive folders... [00:06:05]ProcessDocumentItem done err = 0, tmpTLVsize=279 [00:06:05]tlvbuf is 00E14C90 [00:06:05]SAM_PROTO_ClearQueue [00:06:05]wFMCommunicate request_size=4 [00:06:05]MH_SAM_APDU [00:06:05]CAPDU: 80 09 00 00 [00:06:05]Write to MH i2c: E2 08 00 6A 15 80 09 00 00 00 00 00 00 F1 [00:06:05]Write i2c OK [00:06:05]MH_I2C_Read... [00:06:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:06:05]Read from MH i2c: E2 [00:06:05]MH_I2C_Read... [00:06:05]Read from MH i2c: E2 03 00 [00:06:05]MH_I2C_Read... [00:06:05]Read from MH i2c: E2 03 00 6A 15 00 90 00 F3 [00:06:05]RAPDU: 90 00 [00:06:05]wFMCommunicate OK [00:06:05]SAM_PROTO_ClearQueue done [00:06:05]KKMCreateOFDPacket [00:06:05]OFDProtocolAddRootSTLVToBuf [00:06:05]FM_MakeSignedData [00:06:05]FM_MakeSignedData [00:06:05]SAM_PROTO_SignData [00:06:05]wFMCommunicate request_size=4 [00:06:05]MH_SAM_APDU [00:06:05]CAPDU: 80 0D 01 02 [00:06:05]Write to MH i2c: E2 08 00 6B 15 80 0D 01 02 00 00 00 00 F9 [00:06:05]Write i2c OK [00:06:05]MH_I2C_Read... [00:06:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:06:05]Read from MH i2c: E2 [00:06:05]MH_I2C_Read... [00:06:05]Read from MH i2c: E2 03 00 [00:06:05]MH_I2C_Read... [00:06:05]Read from MH i2c: E2 03 00 6B 15 00 90 00 F4 [00:06:05]RAPDU: 90 00 [00:06:05]wFMCommunicate OK [00:06:05]wFMCommunicate request_size=255 [00:06:05]MH_SAM_APDU [00:06:05]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 D0 07 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 08 CF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 CF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 15 00 00 00 00 07 04 06 00 08 CF 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 F1 9A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 [00:06:05]Write to MH i2c: E2 02 01 6C 15 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 D0 07 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 08 CF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 CF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 15 00 00 00 00 07 04 06 00 08 CF 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 F1 9A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 00 00 27 [00:06:05]Write i2c OK [00:06:05]MH_I2C_Read... [00:06:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:06:05]Read from MH i2c: E2 [00:06:05]MH_I2C_Read... [00:06:05]Read from MH i2c: E2 03 00 [00:06:05]MH_I2C_Read... [00:06:05]Read from MH i2c: E2 03 00 6C 15 00 90 00 F5 [00:06:05]RAPDU: 90 00 [00:06:05]wFMCommunicate OK [00:06:05]wFMCommunicate request_size=38 [00:06:05]MH_SAM_APDU [00:06:05]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 51 61 00 00 35 04 06 00 93 D9 4E 4F B9 22 [00:06:05]Write to MH i2c: E2 29 00 6D 15 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 51 61 00 00 35 04 06 00 93 D9 4E 4F B9 22 00 00 1F [00:06:05]Write i2c OK [00:06:05]MH_I2C_Read... [00:06:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:06:05]Read from MH i2c: E2 [00:06:05]MH_I2C_Read... [00:06:05]Read from MH i2c: E2 03 00 [00:06:05]MH_I2C_Read... [00:06:05]Read from MH i2c: E2 03 00 6D 15 00 90 00 F6 [00:06:05]RAPDU: 90 00 [00:06:05]wFMCommunicate OK [00:06:05]wFMCommunicate request_size=4 [00:06:05]MH_SAM_APDU [00:06:05]CAPDU: 80 0D 03 02 [00:06:05]Write to MH i2c: E2 08 00 6E 15 80 0D 03 02 00 00 00 00 FE [00:06:05]Write i2c OK [00:06:05]MH_I2C_Read... [00:06:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:06:05]Read from MH i2c: E2 [00:06:05]MH_I2C_Read... [00:06:05]Read from MH i2c: E2 0B 00 [00:06:05]MH_I2C_Read... [00:06:05]Read from MH i2c: E2 0B 00 6E 15 00 9E 17 2C 20 D5 2E 3F 4B 90 00 8D [00:06:05]RAPDU: 9E 17 2C 20 D5 2E 3F 4B 90 00 [00:06:05]wFMCommunicate OK [00:06:05]SAM_PROTO_SignData done [00:06:05]FM_MakeSignedData done [00:06:05]CreateOFDProtocolMessage [00:06:05]wFMCommunicate request_size=4 [00:06:05]MH_SAM_APDU [00:06:05]CAPDU: 80 11 00 00 [00:06:05]Write to MH i2c: E2 08 00 6F 15 80 11 00 00 00 00 00 00 FE [00:06:05]Write i2c OK [00:06:05]MH_I2C_Read... [00:06:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:06:05]Read from MH i2c: E2 [00:06:05]MH_I2C_Read... [00:06:05]Read from MH i2c: E2 17 00 [00:06:05]MH_I2C_Read... [00:06:05]Read from MH i2c: E2 17 00 6F 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 55 [00:06:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:06:05]wFMCommunicate OK [00:06:05]CreateOFDProtocolMessage done [00:06:05]OFDSenderStorePacket 24913 [00:06:05]StoreOFDPacket docnum=24913 [00:06:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2B 01 00 00 0B 78 23 01 29 15 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 D0 07 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 08 CF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 CF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 15 00 00 00 00 07 04 06 00 08 CF 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 F1 9A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 51 61 00 00 35 04 06 00 93 D9 4E 4F B9 22 9E 17 2C 20 D5 2E 3F 4B [00:06:05]CheckFolder [00:06:05]dirname=/storage/ofd_packets [00:06:05]CheckFolder done [00:06:05]ProducePacketName [00:06:05]name=ofd_packets/00024913 [00:06:05]NVStorageSaveData ofd_packets/00024913 [00:06:05]File name is /storage/ofd_packets/00024913 [00:06:05]Write 329 bytes [00:06:05]NVStorageSaveData done [00:06:05]OFDSenderStorePacket done [00:06:05]KKMCreateOFDPacket done [00:06:05]NVStorageSaveData kkm_last_timestamp [00:06:05]File name is /storage/kkm_last_timestamp [00:06:05]Write 4 bytes [00:06:05]NVStorageSaveData done [00:06:05]ExternCall_PrintAddStr [00:06:05]wPrintStart [00:06:05]Write to MH i2c: 01 00 00 70 15 85 [00:06:05]Write i2c OK [00:06:05]MH_I2C_Read... [00:06:05]Read from MH i2c: 01 [00:06:05]MH_I2C_Read... [00:06:05]Read from MH i2c: 01 07 00 [00:06:05]MH_I2C_Read... [00:06:05]Read from MH i2c: 01 07 00 70 15 00 00 00 00 00 FF 0F 9A [00:06:05]RasterBufferAndPrint [00:06:05]line Счет N : (3)34673 [00:06:05]line ИНН: 02508201610067 [00:06:05]line Контрольно-Кассовый Чек [00:06:05]line ПРОДАЖА [00:06:05]line Товар: 90448300 [00:06:05]line Энерг напиток Red Bull 0,355л [00:06:05]line 2.000 * 265.00 [00:06:05]line = 530.00 [00:06:05]line НДС 12% НСП 1% [00:06:05]line > о реализуемом товаре [00:06:05]line ИТОГО: 530.00 [00:06:05]line НСП 1% : 4.69 [00:06:05]line НДС 12% : 56.28 [00:06:05]line Наличными: 530.00 [00:06:05]line Безнал.: 0.00 [00:06:05]line Место: АЗС № 161 "Партнер Нефть" [00:06:05]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [00:06:05]line СНО: Общий режим [00:06:05]line Чек 71 21.10.2024 00:06 [00:06:05]line Смена: 455 ФФД: 1.0 [00:06:05]line ЗНМ: 0300000240 [00:06:05]line РНМ: 0000000000098147 [00:06:05]line Версия ККМ: 001 [00:06:05]line ФМ: 0000000000965376 [00:06:05]line ФД: 24913 [00:06:05]line ФПД: 162561531033890 [00:06:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T000609&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24913&fm=162561531033890&tin=02508201610067®Number=0000000000098147&sum=53000 [00:06:06]line 0 [00:06:06]OFD Sender: Processing packet 24913 [packets to send 5, broken 4] [00:06:06]ProducePacketName [00:06:06]name=ofd_packets/00024913 [00:06:06]OFD Sender: To server: pG, [00:06:06]CommunicateWithHost lk.salyk.kg:30040 [00:06:06]ConnectInit lk.salyk.kg [00:06:06]written 0, free lines is 4095 [00:06:06]Connected sock=7 [00:06:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2B 01 00 00 0B 78 23 01 29 15 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 D0 07 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 08 CF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 CF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 15 00 00 00 00 07 04 06 00 08 CF 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 F1 9A 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 51 61 00 00 35 04 06 00 93 D9 4E 4F B9 22 9E 17 2C 20 D5 2E 3F 4B [00:06:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 FE E7 47 00 23 52 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 51 61 00 00 F4 03 04 00 70 43 15 67 B6 04 01 00 00 BB EF ED 14 2B 48 A0 A6 [00:06:06]CommunicateWithHost err = 0 [00:06:06]CheckOFDResponse [00:06:06]1017 (14) - 77093643461234 [00:06:06]1041 (16) - 0000000000965376 [00:06:06]1040 (4) - 24913 [00:06:06]1012 (4) - 20.10.2024 17:52 [00:06:06]1206 (1) - 0 [00:06:06]OFD Sender: Remove packet 24913 [00:06:06]ProducePacketName [00:06:06]name=ofd_packets/00024913 [00:06:06]NVStorageDeleteData [00:06:06]Write to MH i2c: 01 00 00 98 15 AD [00:06:06]Write i2c OK [00:06:06]MH_I2C_Read... [00:06:06]Read from MH i2c: 01 [00:06:06]MH_I2C_Read... [00:06:06]Read from MH i2c: 01 07 00 [00:06:06]MH_I2C_Read... [00:06:06]Read from MH i2c: 01 07 00 98 15 00 00 00 00 00 D7 0C 97 [00:06:06]RasterBufferAndPrint [00:06:06]line [00:06:06]line [00:06:06]line [00:06:06]line [00:06:06]line [00:06:06]written 0, free lines is 3295 [00:06:06]process_action close_receipt done [00:06:06]requested_data is exist [00:06:06]produce_requested_data [00:06:06]requested_item fm.sn is exist - process it [00:06:06]wFMCommunicate request_size=4 [00:06:06]MH_SAM_APDU [00:06:06]CAPDU: 80 11 00 00 [00:06:06]Write to MH i2c: E2 08 00 9F 15 80 11 00 00 00 00 00 00 2E [00:06:06]Write i2c OK [00:06:06]MH_I2C_Read... [00:06:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:06:06]Read from MH i2c: E2 [00:06:06]MH_I2C_Read... [00:06:06]Read from MH i2c: E2 17 00 [00:06:06]MH_I2C_Read... [00:06:06]Read from MH i2c: E2 17 00 9F 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 85 [00:06:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:06:06]wFMCommunicate OK [00:06:06]requested_item fd.num is exist - process it [00:06:06]SAM_PROTO_GetFieldsCounters [00:06:06]wFMCommunicate request_size=4 [00:06:06]MH_SAM_APDU [00:06:06]CAPDU: 80 13 00 00 [00:06:06]Write to MH i2c: E2 08 00 A0 15 80 13 00 00 00 00 00 00 31 [00:06:06]Write i2c OK [00:06:06]MH_I2C_Read... [00:06:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:06:06]Read from MH i2c: E2 [00:06:06]MH_I2C_Read... [00:06:06]Read from MH i2c: E2 62 00 [00:06:06]MH_I2C_Read... [00:06:06]Read from MH i2c: E2 62 00 A0 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 51 61 00 00 0E 04 04 00 C7 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 A9 [00:06:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 51 61 00 00 0E 04 04 00 C7 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 [00:06:06]wFMCommunicate OK [00:06:06]SAM_PROTO_GetFieldsCounters done [00:06:06]requested_item shift.num is exist - process it [00:06:06]requested_item shift.opened is exist - process it [00:06:06]req_shift_opened [00:06:06]FM_GetShiftState [00:06:06]SAM_PROTO_GetShiftState [00:06:06]wFMCommunicate request_size=4 [00:06:06]MH_SAM_APDU [00:06:06]CAPDU: 80 13 01 00 [00:06:06]Write to MH i2c: E2 08 00 A1 15 80 13 01 00 00 00 00 00 33 [00:06:06]Write i2c OK [00:06:06]MH_I2C_Read... [00:06:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:07]Read from MH i2c: E2 [00:06:07]MH_I2C_Read... [00:06:07]Read from MH i2c: E2 0E 00 [00:06:07]MH_I2C_Read... [00:06:07]Read from MH i2c: E2 0E 00 A1 15 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 79 [00:06:07]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [00:06:07]wFMCommunicate OK [00:06:07]SAM_PROTO_GetShiftState done [00:06:07]FM_GetShiftState done [00:06:07]req_shift_opened done [00:06:07]requested_item shift.open_date is exist - process it [00:06:07]req_shift_open_date [00:06:07]req_shift_open_date done [00:06:07]produce_requested_data done [00:06:07]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24913,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [00:06:07]process_action_free close_receipt [00:06:07]json_value_free [00:06:07]json_value_free done [00:06:07]process_json_proto returns [00:06:07]Send response to host [00:06:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24913,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [00:06:07]free response buf [00:06:07]execute_script done [00:06:07]execute_script returns [00:06:07]free content buf [00:06:07]Sock 9.Close socket [00:06:07]Sock 9.Thread stoped [00:06:07]OFD Sender: No OFD packet to send [00:06:12]OFD Sender: No OFD packet to send [00:06:17]OFD Sender: No OFD packet to send [00:06:22]OFD Sender: No OFD packet to send [00:06:27]OFD Sender: No OFD packet to send [00:06:32]OFD Sender: No OFD packet to send [00:06:37]OFD Sender: No OFD packet to send [00:06:42]OFD Sender: No OFD packet to send [00:06:47]OFD Sender: No OFD packet to send [00:06:52]OFD Sender: No OFD packet to send [00:06:57]OFD Sender: No OFD packet to send [00:07:02]OFD Sender: No OFD packet to send [00:07:07]OFD Sender: No OFD packet to send [00:07:12]OFD Sender: No OFD packet to send [00:07:17]OFD Sender: No OFD packet to send [00:07:22]OFD Sender: No OFD packet to send [00:07:27]OFD Sender: No OFD packet to send [00:07:32]OFD Sender: No OFD packet to send [00:07:37]OFD Sender: No OFD packet to send [00:07:42]OFD Sender: No OFD packet to send [00:07:47]OFD Sender: No OFD packet to send [00:07:52]OFD Sender: No OFD packet to send [00:07:57]OFD Sender: No OFD packet to send [00:08:02]OFD Sender: No OFD packet to send [00:08:07]OFD Sender: No OFD packet to send [00:08:12]OFD Sender: No OFD packet to send [00:08:17]OFD Sender: No OFD packet to send [00:08:22]OFD Sender: No OFD packet to send [00:08:27]OFD Sender: No OFD packet to send [00:08:32]OFD Sender: No OFD packet to send [00:08:37]OFD Sender: No OFD packet to send [00:08:42]OFD Sender: No OFD packet to send [00:08:47]OFD Sender: No OFD packet to send [00:08:52]OFD Sender: No OFD packet to send [00:08:57]OFD Sender: No OFD packet to send [00:09:02]OFD Sender: No OFD packet to send [00:09:07]OFD Sender: No OFD packet to send [00:09:12]OFD Sender: No OFD packet to send [00:09:17]OFD Sender: No OFD packet to send [00:09:22]OFD Sender: No OFD packet to send [00:09:27]OFD Sender: No OFD packet to send [00:09:32]OFD Sender: No OFD packet to send [00:09:37]OFD Sender: No OFD packet to send [00:09:42]OFD Sender: No OFD packet to send [00:09:47]OFD Sender: No OFD packet to send [00:09:52]OFD Sender: No OFD packet to send [00:09:57]OFD Sender: No OFD packet to send [00:10:02]OFD Sender: No OFD packet to send [00:10:07]OFD Sender: No OFD packet to send [00:10:12]OFD Sender: No OFD packet to send [00:10:17]OFD Sender: No OFD packet to send [00:10:22]OFD Sender: No OFD packet to send [00:10:27]OFD Sender: No OFD packet to send [00:10:32]OFD Sender: No OFD packet to send [00:10:37]OFD Sender: No OFD packet to send [00:10:42]OFD Sender: No OFD packet to send [00:10:47]OFD Sender: No OFD packet to send [00:10:52]OFD Sender: No OFD packet to send [00:10:57]OFD Sender: No OFD packet to send [00:11:02]OFD Sender: No OFD packet to send [00:11:07]OFD Sender: No OFD packet to send [00:11:12]OFD Sender: No OFD packet to send [00:11:17]OFD Sender: No OFD packet to send [00:11:22]OFD Sender: No OFD packet to send [00:11:27]OFD Sender: No OFD packet to send [00:11:32]OFD Sender: No OFD packet to send [00:11:37]OFD Sender: No OFD packet to send [00:11:42]OFD Sender: No OFD packet to send [00:11:47]OFD Sender: No OFD packet to send [00:11:52]OFD Sender: No OFD packet to send [00:11:57]OFD Sender: No OFD packet to send [00:12:02]OFD Sender: No OFD packet to send [00:12:07]OFD Sender: No OFD packet to send [00:12:12]OFD Sender: No OFD packet to send [00:12:17]OFD Sender: No OFD packet to send [00:12:22]OFD Sender: No OFD packet to send [00:12:27]OFD Sender: No OFD packet to send [00:12:32]OFD Sender: No OFD packet to send [00:12:37]OFD Sender: No OFD packet to send [00:12:42]OFD Sender: No OFD packet to send [00:12:47]OFD Sender: No OFD packet to send [00:12:52]OFD Sender: No OFD packet to send [00:12:57]OFD Sender: No OFD packet to send [00:13:02]OFD Sender: No OFD packet to send [00:13:07]OFD Sender: No OFD packet to send [00:13:12]OFD Sender: No OFD packet to send [00:13:17]OFD Sender: No OFD packet to send [00:13:22]OFD Sender: No OFD packet to send [00:13:27]OFD Sender: No OFD packet to send [00:13:32]OFD Sender: No OFD packet to send [00:13:37]OFD Sender: No OFD packet to send [00:13:42]OFD Sender: No OFD packet to send [00:13:47]OFD Sender: No OFD packet to send [00:13:52]OFD Sender: No OFD packet to send [00:13:57]OFD Sender: No OFD packet to send [00:14:02]OFD Sender: No OFD packet to send [00:14:07]OFD Sender: No OFD packet to send [00:14:12]int [00:14:12]Write to MH i2c: 01 00 00 A2 15 B7 [00:14:12]*** FLAG_PRN_KEY set [00:14:12]Write i2c OK [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: 01 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: 01 07 00 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: 01 07 00 A2 15 00 08 00 00 00 FF 0F D4 [00:14:12]state=0 [00:14:12]Key pressed [00:14:12]Feed [00:14:12]Write to MH i2c: D8 00 00 A3 15 8F [00:14:12]Write i2c OK [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: D8 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: D8 01 00 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: D8 01 00 A3 15 00 90 [00:14:12]int [00:14:12]Write to MH i2c: 01 00 00 A4 15 B9 [00:14:12]Write i2c OK [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: 01 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: 01 07 00 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: 01 07 00 A4 15 00 48 00 00 00 3D 00 45 [00:14:12]state=2 [00:14:12]Key pressed [00:14:12]OFD Sender: No OFD packet to send [00:14:12]int [00:14:12]Write to MH i2c: 01 00 00 A5 15 BA [00:14:12]*** FLAG_PRN_KEY reset [00:14:12]Write i2c OK [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: 01 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: 01 07 00 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: 01 07 00 A5 15 00 00 00 00 00 FF 0F CF [00:14:12]state=2 [00:14:12]Stop feed [00:14:17]OFD Sender: No OFD packet to send [00:14:22]OFD Sender: No OFD packet to send [00:14:27]OFD Sender: No OFD packet to send [00:14:32]OFD Sender: No OFD packet to send [00:14:37]OFD Sender: No OFD packet to send [00:14:42]OFD Sender: No OFD packet to send [00:14:47]OFD Sender: No OFD packet to send [00:14:52]OFD Sender: No OFD packet to send [00:00:09] *** EcrCore started. Build 196 *** [00:00:09]/dev/ttyS4 opened [00:00:09]MH_InterfaceInit /dev/i2c-1 [00:00:09]Malloc ok [00:00:09]MH_GetMetrics [00:00:09]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 CE FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 73 [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:10]*** [00:00:10]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:10]*** Waiting for read because exit forced [00:00:10]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** 10 ms more... [00:00:10]*** MH1903S init start (LINUX_LIGHT) [00:00:10]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:10]*** Serial: 3139303353513838 54000000005725CE (1903SQ88T) [00:00:10]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:10]*** step 0: 5000 (2650, 2350 REF) [00:00:10]*** step 1: 4835 (2500, 2335 REF) [00:00:10]*** step 2: 4676 (2440, 2236 REF) [00:00:10]*** step 3: 4523 (2280, 2243 REF) [00:00:10]*** step 4: 4376 (2160, 2216 REF) [00:00:10]*** step 5: 4235 (2050, 2185 REF) [00:00:10]*** step 6: 4098 (1950, 2148 REF) [00:00:10]*** step 7: 3967 (1870, 2097 REF) [00:00:10]*** step 8: 3840 (1828, 2012 REF) [00:00:10]*** step 9: 3719 (1728, 1991 REF) [00:00:10]*** step 10: 3601 (1675, 1926 REF) [00:00:10]*** step 11: 3488 (1635, 1853 REF) [00:00:10]*** step 12: 3379 (1595, 1784 REF) [00:00:10]*** step 13: 3275 (1565, 1710 REF) [00:00:10]*** step 14: 3174 (1543, 1631 REF) [00:00:10]*** step 15: 3077 (1523, 1554 REF) [00:00:10]*** step 16: 2983 (1503, 1480 REF) [00:00:10]*** step 17: 2893 (1486, 1407 REF) [00:00: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: 24825880+1704643919=1729469799 [00:00:10]*** BPK Status Register BPK_RDY = 0x0 [00:00:10]*** SEN State Register SEN_STATE = 0xff [00:00:10]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:10]*** Analog Control Register 0 SEN_ANA0 = 0x33530623 [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 CE FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 74 [00:00:11]Are we in boot? [00:00:11]We are not in boot now [00:00:11]Write to MH i2c: 01 00 00 04 00 04 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:11]Model is 3 [00:00:11]MH firmware is 30620 [00:00:11]MH boot firmware is 3 [00:00:11]MH_SetPrinterDots 448 [00:00:11]HeadWidthInBytes 56 [00:00:11]maxmasksize 7 [00:00:11]Write to MH i2c: D6 06 00 05 00 41 00 38 00 FF FF 57 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:11]Write to MH i2c: D5 00 00 06 00 DA [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]ExternCall_SetCallbacks [00:00:11]NVStorageInit [00:00:11]MH_GetDate [00:00:11]Write to MH i2c: F0 00 00 07 00 F6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 07 00 00 67 9D 15 67 4F CD 9A 65 9A [00:16:39]Current date/time: 21.10.2024 00:16 [00:16:39]FM_Init [00:16:39]wFMConnect [00:16:39]MH_SAM_On [00:16:39]Write to MH i2c: E0 00 00 08 00 E7 [00:16:39]Write i2c OK [00:16:39]MH_I2C_Read... [00:16:39]*** iso7816_init finished! [00:16:39]*** atr: [00:16:39]*** 0F 3B D5 18 FF 81 91 FE [00:16:39]*** 1F C3 80 73 C8 21 10 0A [00:16:39]*** 00 00 00 00 00 00 00 00 [00:16:39]*** 00 00 00 00 00 00 00 00 [00:16:39]*** 00 00 00 00 00 00 00 00 [00:16:39]*** 00 00 00 00 00 00 00 00 [00:16:39]*** 00 00 00 00 00 00 00 00 [00:16:39]*** 00 00 00 00 00 00 00 00 [00:16:39]Read from MH i2c: E0 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E0 10 00 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [00:16:39]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [00:16:39]wFMCommunicate request_size=10 [00:16:39]MH_SAM_APDU [00:16:39]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [00:16:39]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [00:16:39]Write i2c OK [00:16:39]MH_I2C_Read... [00:16:39]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [00:16:39]Read from MH i2c: E2 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 03 00 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [00:16:39]RAPDU: 90 00 [00:16:39]wFMCommunicate OK [00:16:39]wFMCommunicate request_size=4 [00:16:39]MH_SAM_APDU [00:16:39]CAPDU: 80 11 00 00 [00:16:39]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [00:16:39]Write i2c OK [00:16:39]MH_I2C_Read... [00:16:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:16:39]Read from MH i2c: E2 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 17 00 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 DB [00:16:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:16:39]wFMCommunicate OK [00:16:39]Detected FM SN is 0000000000965376 [00:16:39]Stored FM SN is 0000000000965376 [00:16:39]wFMCommunicate request_size=9 [00:16:39]MH_SAM_APDU [00:16:39]CAPDU: 80 16 00 00 04 9B 09 01 00 [00:16:39]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 9B 09 01 00 00 00 37 [00:16:39]Write i2c OK [00:16:39]MH_I2C_Read... [00:16:39]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [00:16:39]Read from MH i2c: E2 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 03 00 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [00:16:39]RAPDU: 90 00 [00:16:39]wFMCommunicate OK [00:16:39]FM PIN OK [00:16:39]wFMCommunicate request_size=8 [00:16:39]MH_SAM_APDU [00:16:39]CAPDU: 80 14 04 00 03 02 00 01 [00:16:39]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [00:16:39]Write i2c OK [00:16:39]MH_I2C_Read... [00:16:39]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [00:16:39]Read from MH i2c: E2 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 03 00 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [00:16:39]RAPDU: 90 00 [00:16:39]wFMCommunicate OK [00:16:39]wFMCommunicate request_size=13 [00:16:39]MH_SAM_APDU [00:16:39]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [00:16:39]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [00:16:39]Write i2c OK [00:16:39]MH_I2C_Read... [00:16:39]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [00:16:39]Read from MH i2c: E2 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 03 00 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [00:16:39]RAPDU: 90 00 [00:16:39]wFMCommunicate OK [00:16:39]wFMCommunicate request_size=4 [00:16:39]MH_SAM_APDU [00:16:39]CAPDU: 80 11 00 00 [00:16:39]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [00:16:39]Write i2c OK [00:16:39]MH_I2C_Read... [00:16:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:16:39]Read from MH i2c: E2 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 17 00 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 DF [00:16:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:16:39]wFMCommunicate OK [00:16:39]DocumentArchiveInit [00:16:39]Start Httpd... [00:16:39]Httpd thread 3067231588 created [00:16:39]Write to MH i2c: 01 00 00 0F 00 0F [00:16:39]Write i2c OK [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: 01 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: 01 07 00 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [00:16:39]MH Int Process started [00:16:39]Allocated Socket 7 [00:16:39]Bind OK [00:16:39]Listen OK [00:16:39]httpd running on port 8080 [00:16:39]Waiting for new connection... [00:16:39]OFD Sender: No OFD packet to send [00:16:44]OFD Sender: No OFD packet to send [00:16:49]OFD Sender: No OFD packet to send [00:16:54]OFD Sender: No OFD packet to send [00:16:59]OFD Sender: No OFD packet to send [00:17:04]OFD Sender: No OFD packet to send [00:17:06]accept exits with 8 [00:17:06]New connection [00:17:06]New thread 3066944868 created [00:17:06]Waiting for new connection... [00:17:06] Sock 8.Parse request [00:17:06]Sock 8.Check first char [00:17:06]Sock 8.First char is OK [00:17:06]request: POST /json_proto HTTP/1.0 [00:17:06]Method: POST [00:17:06]URL: /json_proto [00:17:06]Method is POST - this is cgi request [00:17:06]url: /json_proto [00:17:06]query_string will be loaded in cgi processing [00:17:06]execute_cgi json_proto POST (null) [00:17:06]execute_cgi path=json_proto method=POST [00:17:06]POST find Content-Length [00:17:06]Host: 172.17.53.196:8080 [00:17:06]Content-Length: 215 [00:17:06]Content-Type: application/json [00:17:06] [00:17:06]POST finish read [00:17:06]Found Content-Length = 215 [00:17:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:17:06]execute_script... [00:17:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:17:06]POST & json_proto [00:17:06]process_json_proto [00:17:06]json parsed OK: [00:17:06]protocol is kg_v1.0 [00:17:06]action value=get_value [00:17:06]process_action get_value [00:17:06]cmd_get_value [00:17:06]process_action get_value done [00:17:06]requested_data is exist [00:17:06]produce_requested_data [00:17:06]requested_item kkm.sn is exist - process it [00:17:06]requested_item kkm.ver is exist - process it [00:17:06]requested_item fm.sn is exist - process it [00:17:06]wFMCommunicate request_size=4 [00:17:06]MH_SAM_APDU [00:17:06]CAPDU: 80 11 00 00 [00:17:06]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [00:17:06]Write i2c OK [00:17:06]MH_I2C_Read... [00:17:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:17:06]Read from MH i2c: E2 [00:17:06]MH_I2C_Read... [00:17:06]Read from MH i2c: E2 17 00 [00:17:06]MH_I2C_Read... [00:17:06]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 E1 [00:17:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:17:06]wFMCommunicate OK [00:17:06]requested_item fd.num is exist - process it [00:17:06]SAM_PROTO_GetFieldsCounters [00:17:06]wFMCommunicate request_size=4 [00:17:06]MH_SAM_APDU [00:17:06]CAPDU: 80 13 00 00 [00:17:06]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [00:17:06]Write i2c OK [00:17:06]MH_I2C_Read... [00:17:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:17:06]Read from MH i2c: E2 [00:17:06]MH_I2C_Read... [00:17:06]Read from MH i2c: E2 62 00 [00:17:06]MH_I2C_Read... [00:17:06]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 51 61 00 00 0E 04 04 00 C7 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 05 [00:17:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 51 61 00 00 0E 04 04 00 C7 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 [00:17:06]wFMCommunicate OK [00:17:06]SAM_PROTO_GetFieldsCounters done [00:17:06]requested_item shift.num is exist - process it [00:17:06]requested_item shift.opened is exist - process it [00:17:06]req_shift_opened [00:17:06]FM_GetShiftState [00:17:06]SAM_PROTO_GetShiftState [00:17:06]wFMCommunicate request_size=4 [00:17:06]MH_SAM_APDU [00:17:06]CAPDU: 80 13 01 00 [00:17:06]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [00:17:06]Write i2c OK [00:17:06]MH_I2C_Read... [00:17:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:17:06]Read from MH i2c: E2 [00:17:06]MH_I2C_Read... [00:17:06]Read from MH i2c: E2 0E 00 [00:17:06]MH_I2C_Read... [00:17:06]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 D5 [00:17:06]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [00:17:06]wFMCommunicate OK [00:17:06]SAM_PROTO_GetShiftState done [00:17:06]FM_GetShiftState done [00:17:06]req_shift_opened done [00:17:06]requested_item shift.open_date is exist - process it [00:17:06]req_shift_open_date [00:17:06]req_shift_open_date done [00:17:06]produce_requested_data done [00:17:06]produce_requested_data return {"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":24913,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [00:17:06]process_action_free get_value [00:17:06]json_value_free [00:17:06]json_value_free done [00:17:06]process_json_proto returns [00:17:06]Send response to host [00:17:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":24913,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [00:17:06]free response buf [00:17:06]execute_script done [00:17:06]execute_script returns [00:17:06]free content buf [00:17:06]Sock 8.Close socket [00:17:06]Sock 8.Thread stoped [00:17:06]accept exits with 9 [00:17:06]New connection [00:17:06]New thread 3066801508 created [00:17:06]Thread 3066944868 joined [00:17:06]Waiting for new connection... [00:17:06] Sock 9.Parse request [00:17:06]Sock 9.Check first char [00:17:06]Sock 9.First char is OK [00:17:06]request: POST /json_proto HTTP/1.0 [00:17:06]Method: POST [00:17:06]URL: /json_proto [00:17:06]Method is POST - this is cgi request [00:17:06]url: /json_proto [00:17:06]query_string will be loaded in cgi processing [00:17:06]execute_cgi json_proto POST (null) [00:17:06]execute_cgi path=json_proto method=POST [00:17:06]POST find Content-Length [00:17:06]Host: 172.17.53.196:8080 [00:17:06]Content-Length: 331 [00:17:06]Content-Type: application/json [00:17:06] [00:17:06]POST finish read [00:17:06]Found Content-Length = 331 [00:17:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:17:06]execute_script... [00:17:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:17:07]POST & json_proto [00:17:07]process_json_proto [00:17:07]json parsed OK: [00:17:07]protocol is kg_v1.0 [00:17:07]action value=get_value [00:17:07]process_action get_value [00:17:07]cmd_get_value [00:17:07]process_action get_value done [00:17:07]requested_data is exist [00:17:07]produce_requested_data [00:17:07]requested_item fm.sale.total is exist - process it [00:17:07]SAM_PROTO_GetFMData [00:17:07]wFMCommunicate request_size=4 [00:17:07]MH_SAM_APDU [00:17:07]CAPDU: 80 13 03 00 [00:17:07]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [00:17:07]Write i2c OK [00:17:07]MH_I2C_Read... [00:17:07]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:17:07]Read from MH i2c: E2 [00:17:07]MH_I2C_Read... [00:17:07]Read from MH i2c: E2 FD 00 [00:17:07]MH_I2C_Read... [00:17:07]Read from MH i2c: E2 FD 00 13 00 00 BF 04 85 04 BB 04 6E 04 04 00 C3 5D 00 00 69 04 A0 00 6F 04 04 00 B5 5D 00 00 B1 04 04 00 F8 18 B7 14 70 04 04 00 18 14 8A 12 72 04 04 00 E0 04 2D 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 DB 20 33 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 F4 E2 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 2B [00:17:07]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 C3 5D 00 00 69 04 A0 00 6F 04 04 00 B5 5D 00 00 B1 04 04 00 F8 18 B7 14 70 04 04 00 18 14 8A 12 72 04 04 00 E0 04 2D 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 DB 20 33 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 F4 E2 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 [00:17:07]wFMCommunicate OK [00:17:07]wFMCommunicate request_size=4 [00:17:07]MH_SAM_APDU [00:17:07]CAPDU: 80 17 00 00 [00:17:07]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [00:17:07]Write i2c OK [00:17:07]MH_I2C_Read... [00:17:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:17:07]Read from MH i2c: E2 [00:17:07]MH_I2C_Read... [00:17:07]Read from MH i2c: E2 FD 00 [00:17:07]MH_I2C_Read... [00:17:07]Read from MH i2c: E2 FD 00 14 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 86 [00:17:07]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:17:07]wFMCommunicate OK [00:17:07]wFMCommunicate request_size=4 [00:17:07]MH_SAM_APDU [00:17:07]CAPDU: 80 17 00 00 [00:17:07]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [00:17:07]Write i2c OK [00:17:07]MH_I2C_Read... [00:17:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:17:08]Read from MH i2c: E2 [00:17:08]MH_I2C_Read... [00:17:08]Read from MH i2c: E2 FD 00 [00:17:08]MH_I2C_Read... [00:17:08]Read from MH i2c: E2 FD 00 15 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 39 [00:17:08]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:17:08]wFMCommunicate OK [00:17:08]wFMCommunicate request_size=4 [00:17:08]MH_SAM_APDU [00:17:08]CAPDU: 80 17 00 00 [00:17:08]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [00:17:08]Write i2c OK [00:17:08]MH_I2C_Read... [00:17:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:17:08]Read from MH i2c: E2 [00:17:08]MH_I2C_Read... [00:17:08]Read from MH i2c: E2 FD 00 [00:17:08]MH_I2C_Read... [00:17:08]Read from MH i2c: E2 FD 00 16 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 10 [00:17:08]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:17:08]wFMCommunicate OK [00:17:08]wFMCommunicate request_size=4 [00:17:08]MH_SAM_APDU [00:17:08]CAPDU: 80 17 00 00 [00:17:08]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [00:17:08]Write i2c OK [00:17:08]MH_I2C_Read... [00:17:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:17:08]Read from MH i2c: E2 [00:17:08]MH_I2C_Read... [00:17:08]Read from MH i2c: E2 DC 00 [00:17:08]MH_I2C_Read... [00:17:08]Read from MH i2c: E2 DC 00 17 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7B [00:17:08]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:17:08]wFMCommunicate OK [00:17:08]SAM_PROTO_GetFMData done [00:17:08]requested_item fm.sale_refund.total is exist - process it [00:17:08]requested_item fm.buy.total is exist - process it [00:17:08]requested_item shift.sale.total is exist - process it [00:17:08]SAM_PROTO_GetShiftData [00:17:08]wFMCommunicate request_size=4 [00:17:08]MH_SAM_APDU [00:17:08]CAPDU: 80 13 02 00 [00:17:08]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [00:17:08]Write i2c OK [00:17:08]MH_I2C_Read... [00:17:09]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:17:09]Read from MH i2c: E2 [00:17:09]MH_I2C_Read... [00:17:09]Read from MH i2c: E2 FD 00 [00:17:09]MH_I2C_Read... [00:17:09]Read from MH i2c: E2 FD 00 18 00 00 AE 04 AA 04 AA 04 6E 04 04 00 47 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 E0 32 10 70 04 03 00 A0 CE 0E 72 04 03 00 40 64 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 58 B8 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A9 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 06 [00:17:09]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 47 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 E0 32 10 70 04 03 00 A0 CE 0E 72 04 03 00 40 64 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 58 B8 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A9 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:17:09]wFMCommunicate OK [00:17:09]wFMCommunicate request_size=4 [00:17:09]MH_SAM_APDU [00:17:09]CAPDU: 80 17 00 00 [00:17:09]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [00:17:09]Write i2c OK [00:17:09]MH_I2C_Read... [00:17:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:17:09]Read from MH i2c: E2 [00:17:09]MH_I2C_Read... [00:17:09]Read from MH i2c: E2 FD 00 [00:17:09]MH_I2C_Read... [00:17:09]Read from MH i2c: E2 FD 00 19 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BB [00:17:09]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:17:09]wFMCommunicate OK [00:17:09]wFMCommunicate request_size=4 [00:17:09]MH_SAM_APDU [00:17:09]CAPDU: 80 17 00 00 [00:17:09]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [00:17:09]Write i2c OK [00:17:09]MH_I2C_Read... [00:17:09]OFD Sender: No OFD packet to send [00:17:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:17:09]Read from MH i2c: E2 [00:17:09]MH_I2C_Read... [00:17:09]Read from MH i2c: E2 FD 00 [00:17:09]MH_I2C_Read... [00:17:09]Read from MH i2c: E2 FD 00 1A 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 51 [00:17:09]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:17:09]wFMCommunicate OK [00:17:09]wFMCommunicate request_size=4 [00:17:09]MH_SAM_APDU [00:17:09]CAPDU: 80 17 00 00 [00:17:09]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [00:17:09]Write i2c OK [00:17:09]MH_I2C_Read... [00:17:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:17:09]Read from MH i2c: E2 [00:17:09]MH_I2C_Read... [00:17:09]Read from MH i2c: E2 FD 00 [00:17:09]MH_I2C_Read... [00:17:09]Read from MH i2c: E2 FD 00 1B 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0D [00:17:09]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:17:09]wFMCommunicate OK [00:17:09]wFMCommunicate request_size=4 [00:17:09]MH_SAM_APDU [00:17:09]CAPDU: 80 17 00 00 [00:17:09]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [00:17:09]Write i2c OK [00:17:09]MH_I2C_Read... [00:17:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:17:10]Read from MH i2c: E2 [00:17:10]MH_I2C_Read... [00:17:10]Read from MH i2c: E2 CB 00 [00:17:10]MH_I2C_Read... [00:17:10]Read from MH i2c: E2 CB 00 1C 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [00:17:10]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:17:10]wFMCommunicate OK [00:17:10]SAM_PROTO_GetShiftData done [00:17:10]requested_item shift.sale.total_cash is exist - process it [00:17:10]requested_item shift.sale_refund.total is exist - process it [00:17:10]requested_item shift.sale_refund.total_cash is exist - process it [00:17:10]requested_item shift.buy.total is exist - process it [00:17:10]requested_item shift.buy.total_cash is exist - process it [00:17:10]produce_requested_data done [00:17:10]produce_requested_data return {"fm.sale.total":3475438.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":10616.00,"shift.sale.total_cash":9704.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:17:10]process_action_free get_value [00:17:10]json_value_free [00:17:10]json_value_free done [00:17:10]process_json_proto returns [00:17:10]Send response to host [00:17:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3475438.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":10616.00,"shift.sale.total_cash":9704.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:17:10]free response buf [00:17:10]execute_script done [00:17:10]execute_script returns [00:17:10]free content buf [00:17:10]Sock 9.Close socket [00:17:10]Sock 9.Thread stoped [00:17:11]accept exits with 8 [00:17:11]New connection [00:17:11]New thread 3066944868 created [00:17:11]Thread 3066801508 joined [00:17:11]Waiting for new connection... [00:17:11] Sock 8.Parse request [00:17:11]Sock 8.Check first char [00:17:11]Sock 8.First char is OK [00:17:11]request: POST /json_proto HTTP/1.0 [00:17:11]Method: POST [00:17:11]URL: /json_proto [00:17:11]Method is POST - this is cgi request [00:17:11]url: /json_proto [00:17:11]query_string will be loaded in cgi processing [00:17:11]execute_cgi json_proto POST (null) [00:17:11]execute_cgi path=json_proto method=POST [00:17:11]POST find Content-Length [00:17:11]Host: 172.17.53.196:8080 [00:17:11]Content-Length: 655 [00:17:11]Content-Type: application/json [00:17:11] [00:17:11]POST finish read [00:17:11]Found Content-Length = 655 [00:17:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34674", "tax_sys" : 0, "items" : [ { "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" : 4.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:17:11]execute_script... [00:17:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34674", "tax_sys" : 0, "items" : [ { "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" : 4.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:17:11]POST & json_proto [00:17:11]process_json_proto [00:17:11]json parsed OK: [00:17:11]protocol is kg_v1.0 [00:17:11]action value=close_receipt [00:17:11]process_action close_receipt [00:17:11]cmd_close_receipt [00:17:11]MH_GetDate [00:17:11]Write to MH i2c: F0 00 00 1D 00 0C [00:17:11]Write i2c OK [00:17:11]MH_I2C_Read... [00:17:11]Read from MH i2c: F0 [00:17:11]MH_I2C_Read... [00:17:11]Read from MH i2c: F0 09 00 [00:17:11]MH_I2C_Read... [00:17:11]Read from MH i2c: F0 09 00 1D 00 00 88 9D 15 67 4F CD 9A 65 D1 [00:17:11]GetLastDocTimeStamp 1729469169 [00:17:11]current date 1729469832 [00:17:11]FM_GetShiftState [00:17:11]SAM_PROTO_GetShiftState [00:17:11]wFMCommunicate request_size=4 [00:17:11]MH_SAM_APDU [00:17:11]CAPDU: 80 13 01 00 [00:17:11]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [00:17:11]Write i2c OK [00:17:11]MH_I2C_Read... [00:17:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:17:11]Read from MH i2c: E2 [00:17:11]MH_I2C_Read... [00:17:11]Read from MH i2c: E2 0E 00 [00:17:11]MH_I2C_Read... [00:17:11]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 E1 [00:17:11]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [00:17:11]wFMCommunicate OK [00:17:11]SAM_PROTO_GetShiftState done [00:17:11]FM_GetShiftState done [00:17:11]opened in 1729384049 [00:17:11]opened+sec_in_day 1729470449 [00:17:11]quantity*price = 400 [00:17:11]sum+1 = 401 [00:17:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 4.00 НСП 1% : 0.03 НДС 12% : 0.42 Наличными: 4.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 72 21.10.2024 00:17 Смена: 455 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24914 ФПД: 150858702890151 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T001712&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24914&fm=150858702890151&tin=02508201610067®Number=0000000000098147&sum=400 0 [00:17:12]StoreToDocumentArchive [00:17:12]shift 455 fd 24914 [00:17:12]save to /storage/0455/doc_00024914 [00:17:12]save last doc name /storage/0455/doc_00024914 to /storage/kkm_last_doc_name [00:17:12]save OK [00:17:12]Clear old archive folders... [00:17:12]ProcessDocumentItem done err = 0, tmpTLVsize=278 [00:17:12]tlvbuf is 00D82870 [00:17:12]SAM_PROTO_ClearQueue [00:17:12]wFMCommunicate request_size=4 [00:17:12]MH_SAM_APDU [00:17:12]CAPDU: 80 09 00 00 [00:17:12]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [00:17:12]Write i2c OK [00:17:12]MH_I2C_Read... [00:17:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:17:12]Read from MH i2c: E2 [00:17:12]MH_I2C_Read... [00:17:12]Read from MH i2c: E2 03 00 [00:17:12]MH_I2C_Read... [00:17:12]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [00:17:12]RAPDU: 90 00 [00:17:12]wFMCommunicate OK [00:17:12]SAM_PROTO_ClearQueue done [00:17:12]KKMCreateOFDPacket [00:17:12]OFDProtocolAddRootSTLVToBuf [00:17:12]FM_MakeSignedData [00:17:12]FM_MakeSignedData [00:17:12]SAM_PROTO_SignData [00:17:12]wFMCommunicate request_size=4 [00:17:12]MH_SAM_APDU [00:17:12]CAPDU: 80 0D 01 02 [00:17:12]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [00:17:12]Write i2c OK [00:17:12]MH_I2C_Read... [00:17:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:17:12]Read from MH i2c: E2 [00:17:12]MH_I2C_Read... [00:17:12]Read from MH i2c: E2 03 00 [00:17:12]MH_I2C_Read... [00:17:12]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [00:17:12]RAPDU: 90 00 [00:17:12]wFMCommunicate OK [00:17:12]wFMCommunicate request_size=255 [00:17:12]MH_SAM_APDU [00:17:12]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 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 90 01 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 00 00 00 00 00 07 04 06 00 90 01 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 88 9D 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 [00:17:12]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 16 01 1E 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 90 01 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 00 00 00 00 00 07 04 06 00 90 01 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 88 9D 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 00 00 97 [00:17:12]Write i2c OK [00:17:12]MH_I2C_Read... [00:17:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:17:12]Read from MH i2c: E2 [00:17:12]MH_I2C_Read... [00:17:12]Read from MH i2c: E2 03 00 [00:17:12]MH_I2C_Read... [00:17:12]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [00:17:12]RAPDU: 90 00 [00:17:12]wFMCommunicate OK [00:17:12]wFMCommunicate request_size=37 [00:17:12]MH_SAM_APDU [00:17:12]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 52 61 00 00 35 04 06 00 89 34 87 65 A4 A7 [00:17:12]Write to MH i2c: E2 28 00 2E 00 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 52 61 00 00 35 04 06 00 89 34 87 65 A4 A7 00 00 AA [00:17:12]Write i2c OK [00:17:12]MH_I2C_Read... [00:17:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:17:13]Read from MH i2c: E2 [00:17:13]MH_I2C_Read... [00:17:13]Read from MH i2c: E2 03 00 [00:17:13]MH_I2C_Read... [00:17:13]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [00:17:13]RAPDU: 90 00 [00:17:13]wFMCommunicate OK [00:17:13]wFMCommunicate request_size=4 [00:17:13]MH_SAM_APDU [00:17:13]CAPDU: 80 0D 03 02 [00:17:13]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [00:17:13]Write i2c OK [00:17:13]MH_I2C_Read... [00:17:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:17:13]Read from MH i2c: E2 [00:17:13]MH_I2C_Read... [00:17:13]Read from MH i2c: E2 0B 00 [00:17:13]MH_I2C_Read... [00:17:13]Read from MH i2c: E2 0B 00 2F 00 00 62 A5 6C A3 5D 02 27 8C 90 00 D3 [00:17:13]RAPDU: 62 A5 6C A3 5D 02 27 8C 90 00 [00:17:13]wFMCommunicate OK [00:17:13]SAM_PROTO_SignData done [00:17:13]FM_MakeSignedData done [00:17:13]CreateOFDProtocolMessage [00:17:13]wFMCommunicate request_size=4 [00:17:13]MH_SAM_APDU [00:17:13]CAPDU: 80 11 00 00 [00:17:13]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [00:17:13]Write i2c OK [00:17:13]MH_I2C_Read... [00:17:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:17:13]Read from MH i2c: E2 [00:17:13]MH_I2C_Read... [00:17:13]Read from MH i2c: E2 17 00 [00:17:13]MH_I2C_Read... [00:17:13]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 01 [00:17:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:17:13]wFMCommunicate OK [00:17:13]CreateOFDProtocolMessage done [00:17:13]OFDSenderStorePacket 24914 [00:17:13]StoreOFDPacket docnum=24914 [00:17:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2A 01 00 00 57 61 22 01 96 44 5A 03 01 00 03 00 16 01 1E 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 90 01 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 00 00 00 00 00 07 04 06 00 90 01 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 88 9D 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 52 61 00 00 35 04 06 00 89 34 87 65 A4 A7 62 A5 6C A3 5D 02 27 8C [00:17:13]CheckFolder [00:17:13]dirname=/storage/ofd_packets [00:17:13]CheckFolder done [00:17:13]ProducePacketName [00:17:13]name=ofd_packets/00024914 [00:17:13]NVStorageSaveData ofd_packets/00024914 [00:17:13]File name is /storage/ofd_packets/00024914 [00:17:13]Write 328 bytes [00:17:13]NVStorageSaveData done [00:17:13]OFDSenderStorePacket done [00:17:13]KKMCreateOFDPacket done [00:17:13]NVStorageSaveData kkm_last_timestamp [00:17:13]File name is /storage/kkm_last_timestamp [00:17:13]Write 4 bytes [00:17:13]NVStorageSaveData done [00:17:13]ExternCall_PrintAddStr [00:17:13]wPrintStart [00:17:13]Write to MH i2c: 01 00 00 31 00 31 [00:17:13]Write i2c OK [00:17:13]MH_I2C_Read... [00:17:13]Read from MH i2c: 01 [00:17:13]MH_I2C_Read... [00:17:13]Read from MH i2c: 01 07 00 [00:17:13]MH_I2C_Read... [00:17:13]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [00:17:13]RasterBufferAndPrint [00:17:13]line Счет N : (3)34674 [00:17:13]line ИНН: 02508201610067 [00:17:13]line Контрольно-Кассовый Чек [00:17:13]line ПРОДАЖА [00:17:13]line Товар: 2000031750019 [00:17:13]line Пакет Партнер Нефть [00:17:13]line 1.000 * 4.00 [00:17:13]line = 4.00 [00:17:13]line НДС 12% НСП 1% [00:17:13]line > о реализуемом товаре [00:17:13]line ИТОГО: 4.00 [00:17:13]line НСП 1% : 0.03 [00:17:13]line НДС 12% : 0.42 [00:17:13]line Наличными: 4.00 [00:17:13]line Безнал.: 0.00 [00:17:13]line Место: АЗС № 161 "Партнер Нефть" [00:17:13]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [00:17:13]line СНО: Общий режим [00:17:13]line Чек 72 21.10.2024 00:17 [00:17:13]line Смена: 455 ФФД: 1.0 [00:17:13]line ЗНМ: 0300000240 [00:17:13]line РНМ: 0000000000098147 [00:17:13]line Версия ККМ: 001 [00:17:13]line ФМ: 0000000000965376 [00:17:13]line ФД: 24914 [00:17:13]line ФПД: 150858702890151 [00:17:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T001712&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24914&fm=150858702890151&tin=02508201610067®Number=0000000000098147&sum=400 [00:17:13]OFD Sender: Processing packet 24914 [packets to send 5, broken 4] [00:17:13]ProducePacketName [00:17:13]name=ofd_packets/00024914 [00:17:13]OFD Sender: To server: pG, [00:17:13]CommunicateWithHost lk.salyk.kg:30040 [00:17:13]ConnectInit lk.salyk.kg [00:17:13]line 0 [00:17:13]written 0, free lines is 4095 [00:17:13]Connected sock=10 [00:17:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2A 01 00 00 57 61 22 01 96 44 5A 03 01 00 03 00 16 01 1E 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 90 01 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 00 00 00 00 00 07 04 06 00 90 01 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 88 9D 15 67 0E 04 04 00 C7 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 52 61 00 00 35 04 06 00 89 34 87 65 A4 A7 62 A5 6C A3 5D 02 27 8C [00:17:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 58 0A 47 00 5B D0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 52 61 00 00 F4 03 04 00 07 46 15 67 B6 04 01 00 00 73 10 C3 7B 2A 08 1F A3 [00:17:13]CommunicateWithHost err = 0 [00:17:13]CheckOFDResponse [00:17:13]1017 (14) - 77093643461234 [00:17:13]1041 (16) - 0000000000965376 [00:17:13]1040 (4) - 24914 [00:17:13]1012 (4) - 20.10.2024 18:03 [00:17:13]1206 (1) - 0 [00:17:13]OFD Sender: Remove packet 24914 [00:17:13]ProducePacketName [00:17:13]name=ofd_packets/00024914 [00:17:13]NVStorageDeleteData [00:17:13]Write to MH i2c: 01 00 00 59 00 59 [00:17:13]Write i2c OK [00:17:13]MH_I2C_Read... [00:17:13]Read from MH i2c: 01 [00:17:13]MH_I2C_Read... [00:17:13]Read from MH i2c: 01 07 00 [00:17:13]MH_I2C_Read... [00:17:13]Read from MH i2c: 01 07 00 59 00 00 00 00 00 00 DF 0C 4B [00:17:13]RasterBufferAndPrint [00:17:13]line [00:17:13]line [00:17:13]line [00:17:13]line [00:17:13]line [00:17:13]written 0, free lines is 3316 [00:17:13]process_action close_receipt done [00:17:13]requested_data is exist [00:17:13]produce_requested_data [00:17:13]requested_item fm.sn is exist - process it [00:17:13]wFMCommunicate request_size=4 [00:17:13]MH_SAM_APDU [00:17:13]CAPDU: 80 11 00 00 [00:17:13]Write to MH i2c: E2 08 00 60 00 80 11 00 00 00 00 00 00 DA [00:17:13]Write i2c OK [00:17:13]MH_I2C_Read... [00:17:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:17:13]Read from MH i2c: E2 [00:17:13]MH_I2C_Read... [00:17:13]Read from MH i2c: E2 17 00 [00:17:13]MH_I2C_Read... [00:17:13]Read from MH i2c: E2 17 00 60 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 31 [00:17:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:17:13]wFMCommunicate OK [00:17:13]requested_item fd.num is exist - process it [00:17:13]SAM_PROTO_GetFieldsCounters [00:17:13]wFMCommunicate request_size=4 [00:17:13]MH_SAM_APDU [00:17:13]CAPDU: 80 13 00 00 [00:17:13]Write to MH i2c: E2 08 00 61 00 80 13 00 00 00 00 00 00 DD [00:17:13]Write i2c OK [00:17:13]MH_I2C_Read... [00:17:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:17:13]Read from MH i2c: E2 [00:17:13]MH_I2C_Read... [00:17:13]Read from MH i2c: E2 62 00 [00:17:13]MH_I2C_Read... [00:17:13]Read from MH i2c: E2 62 00 61 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 52 61 00 00 0E 04 04 00 C7 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 59 [00:17: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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 52 61 00 00 0E 04 04 00 C7 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 [00:17:13]wFMCommunicate OK [00:17:13]SAM_PROTO_GetFieldsCounters done [00:17:13]requested_item shift.num is exist - process it [00:17:13]requested_item shift.opened is exist - process it [00:17:13]req_shift_opened [00:17:13]FM_GetShiftState [00:17:13]SAM_PROTO_GetShiftState [00:17:13]wFMCommunicate request_size=4 [00:17:13]MH_SAM_APDU [00:17:13]CAPDU: 80 13 01 00 [00:17:13]Write to MH i2c: E2 08 00 62 00 80 13 01 00 00 00 00 00 DF [00:17:13]Write i2c OK [00:17:13]MH_I2C_Read... [00:17:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:17:14]Read from MH i2c: E2 [00:17:14]MH_I2C_Read... [00:17:14]Read from MH i2c: E2 0E 00 [00:17:14]MH_I2C_Read... [00:17:14]Read from MH i2c: E2 0E 00 62 00 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 25 [00:17:14]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [00:17:14]wFMCommunicate OK [00:17:14]SAM_PROTO_GetShiftState done [00:17:14]FM_GetShiftState done [00:17:14]req_shift_opened done [00:17:14]requested_item shift.open_date is exist - process it [00:17:14]req_shift_open_date [00:17:14]req_shift_open_date done [00:17:14]produce_requested_data done [00:17:14]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24914,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [00:17:14]process_action_free close_receipt [00:17:14]json_value_free [00:17:14]json_value_free done [00:17:14]process_json_proto returns [00:17:14]Send response to host [00:17:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24914,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [00:17:14]free response buf [00:17:14]execute_script done [00:17:14]execute_script returns [00:17:14]free content buf [00:17:14]Sock 8.Close socket [00:17:14]Sock 8.Thread stoped [00:17:14]OFD Sender: No OFD packet to send [00:17:19]OFD Sender: No OFD packet to send [00:17:24]OFD Sender: No OFD packet to send [00:17:29]OFD Sender: No OFD packet to send [00:17:34]OFD Sender: No OFD packet to send [00:17:39]OFD Sender: No OFD packet to send [00:17:44]OFD Sender: No OFD packet to send [00:17:49]OFD Sender: No OFD packet to send [00:17:54]OFD Sender: No OFD packet to send [00:17:57]accept exits with 9 [00:17:57]New connection [00:17:57]New thread 3066801508 created [00:17:57]Thread 3066944868 joined [00:17:57]Waiting for new connection... [00:17:57] Sock 9.Parse request [00:17:57]Sock 9.Check first char [00:17:57]Sock 9.First char is OK [00:17:57]request: POST /json_proto HTTP/1.0 [00:17:57]Method: POST [00:17:57]URL: /json_proto [00:17:57]Method is POST - this is cgi request [00:17:57]url: /json_proto [00:17:57]query_string will be loaded in cgi processing [00:17:57]execute_cgi json_proto POST (null) [00:17:57]execute_cgi path=json_proto method=POST [00:17:57]POST find Content-Length [00:17:57]Host: 172.17.53.196:8080 [00:17:57]Content-Length: 215 [00:17:57]Content-Type: application/json [00:17:57] [00:17:57]POST finish read [00:17:57]Found Content-Length = 215 [00:17:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:17:57]execute_script... [00:17:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:17:57]POST & json_proto [00:17:57]process_json_proto [00:17:57]json parsed OK: [00:17:57]protocol is kg_v1.0 [00:17:57]action value=get_value [00:17:57]process_action get_value [00:17:57]cmd_get_value [00:17:57]process_action get_value done [00:17:57]requested_data is exist [00:17:57]produce_requested_data [00:17:57]requested_item kkm.sn is exist - process it [00:17:57]requested_item kkm.ver is exist - process it [00:17:57]requested_item fm.sn is exist - process it [00:17:57]wFMCommunicate request_size=4 [00:17:57]MH_SAM_APDU [00:17:57]CAPDU: 80 11 00 00 [00:17:57]Write to MH i2c: E2 08 00 63 00 80 11 00 00 00 00 00 00 DD [00:17:57]Write i2c OK [00:17:57]MH_I2C_Read... [00:17:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:17:57]Read from MH i2c: E2 [00:17:57]MH_I2C_Read... [00:17:57]Read from MH i2c: E2 17 00 [00:17:57]MH_I2C_Read... [00:17:57]Read from MH i2c: E2 17 00 63 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 34 [00:17:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:17:57]wFMCommunicate OK [00:17:57]requested_item fd.num is exist - process it [00:17:57]SAM_PROTO_GetFieldsCounters [00:17:57]wFMCommunicate request_size=4 [00:17:57]MH_SAM_APDU [00:17:57]CAPDU: 80 13 00 00 [00:17:57]Write to MH i2c: E2 08 00 64 00 80 13 00 00 00 00 00 00 E0 [00:17:57]Write i2c OK [00:17:57]MH_I2C_Read... [00:17:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:17:57]Read from MH i2c: E2 [00:17:57]MH_I2C_Read... [00:17:57]Read from MH i2c: E2 62 00 [00:17:57]MH_I2C_Read... [00:17:57]Read from MH i2c: E2 62 00 64 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 52 61 00 00 0E 04 04 00 C7 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 5C [00:17:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 52 61 00 00 0E 04 04 00 C7 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 [00:17:57]wFMCommunicate OK [00:17:57]SAM_PROTO_GetFieldsCounters done [00:17:57]requested_item shift.num is exist - process it [00:17:57]requested_item shift.opened is exist - process it [00:17:57]req_shift_opened [00:17:57]FM_GetShiftState [00:17:57]SAM_PROTO_GetShiftState [00:17:57]wFMCommunicate request_size=4 [00:17:57]MH_SAM_APDU [00:17:57]CAPDU: 80 13 01 00 [00:17:57]Write to MH i2c: E2 08 00 65 00 80 13 01 00 00 00 00 00 E2 [00:17:57]Write i2c OK [00:17:57]MH_I2C_Read... [00:17:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:17:57]Read from MH i2c: E2 [00:17:57]MH_I2C_Read... [00:17:57]Read from MH i2c: E2 0E 00 [00:17:57]MH_I2C_Read... [00:17:57]Read from MH i2c: E2 0E 00 65 00 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 28 [00:17:57]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [00:17:57]wFMCommunicate OK [00:17:57]SAM_PROTO_GetShiftState done [00:17:57]FM_GetShiftState done [00:17:57]req_shift_opened done [00:17:57]requested_item shift.open_date is exist - process it [00:17:57]req_shift_open_date [00:17:57]req_shift_open_date done [00:17:57]produce_requested_data done [00:17:57]produce_requested_data return {"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":24914,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [00:17:57]process_action_free get_value [00:17:57]json_value_free [00:17:57]json_value_free done [00:17:57]process_json_proto returns [00:17:57]Send response to host [00:17:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":24914,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [00:17:57]free response buf [00:17:57]execute_script done [00:17:57]execute_script returns [00:17:57]free content buf [00:17:57]Sock 9.Close socket [00:17:57]Sock 9.Thread stoped [00:17:57]accept exits with 8 [00:17:57]New connection [00:17:57]New thread 3066944868 created [00:17:57]Thread 3066801508 joined [00:17:57]Waiting for new connection... [00:17:57] Sock 8.Parse request [00:17:57]Sock 8.Check first char [00:17:57]Sock 8.First char is OK [00:17:57]request: POST /json_proto HTTP/1.0 [00:17:57]Method: POST [00:17:57]URL: /json_proto [00:17:57]Method is POST - this is cgi request [00:17:57]url: /json_proto [00:17:57]query_string will be loaded in cgi processing [00:17:57]execute_cgi json_proto POST (null) [00:17:57]execute_cgi path=json_proto method=POST [00:17:57]POST find Content-Length [00:17:57]Host: 172.17.53.196:8080 [00:17:57]Content-Length: 331 [00:17:57]Content-Type: application/json [00:17:57] [00:17:57]POST finish read [00:17:57]Found Content-Length = 331 [00:17:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:17:57]execute_script... [00:17:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:17:58]POST & json_proto [00:17:58]process_json_proto [00:17:58]json parsed OK: [00:17:58]protocol is kg_v1.0 [00:17:58]action value=get_value [00:17:58]process_action get_value [00:17:58]cmd_get_value [00:17:58]process_action get_value done [00:17:58]requested_data is exist [00:17:58]produce_requested_data [00:17:58]requested_item fm.sale.total is exist - process it [00:17:58]SAM_PROTO_GetFMData [00:17:58]wFMCommunicate request_size=4 [00:17:58]MH_SAM_APDU [00:17:58]CAPDU: 80 13 03 00 [00:17:58]Write to MH i2c: E2 08 00 66 00 80 13 03 00 00 00 00 00 E5 [00:17:58]Write i2c OK [00:17:58]MH_I2C_Read... [00:17:58]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:17:58]Read from MH i2c: E2 [00:17:58]MH_I2C_Read... [00:17:58]Read from MH i2c: E2 FD 00 [00:17:58]MH_I2C_Read... [00:17:58]Read from MH i2c: E2 FD 00 66 00 00 BF 04 85 04 BB 04 6E 04 04 00 C4 5D 00 00 69 04 A0 00 6F 04 04 00 B6 5D 00 00 B1 04 04 00 88 1A B7 14 70 04 04 00 A8 15 8A 12 72 04 04 00 E0 04 2D 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 05 21 33 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 F7 E2 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 D1 [00:17:58]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 C4 5D 00 00 69 04 A0 00 6F 04 04 00 B6 5D 00 00 B1 04 04 00 88 1A B7 14 70 04 04 00 A8 15 8A 12 72 04 04 00 E0 04 2D 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 05 21 33 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 F7 E2 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 [00:17:58]wFMCommunicate OK [00:17:58]wFMCommunicate request_size=4 [00:17:58]MH_SAM_APDU [00:17:58]CAPDU: 80 17 00 00 [00:17:58]Write to MH i2c: E2 08 00 67 00 80 17 00 00 00 00 00 00 E7 [00:17:58]Write i2c OK [00:17:58]MH_I2C_Read... [00:17:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:17:58]Read from MH i2c: E2 [00:17:58]MH_I2C_Read... [00:17:58]Read from MH i2c: E2 FD 00 [00:17:58]MH_I2C_Read... [00:17:58]Read from MH i2c: E2 FD 00 67 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 D9 [00:17:58]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:17:58]wFMCommunicate OK [00:17:58]wFMCommunicate request_size=4 [00:17:58]MH_SAM_APDU [00:17:58]CAPDU: 80 17 00 00 [00:17:58]Write to MH i2c: E2 08 00 68 00 80 17 00 00 00 00 00 00 E8 [00:17:58]Write i2c OK [00:17:58]MH_I2C_Read... [00:17:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:17:58]Read from MH i2c: E2 [00:17:58]MH_I2C_Read... [00:17:58]Read from MH i2c: E2 FD 00 [00:17:58]MH_I2C_Read... [00:17:58]Read from MH i2c: E2 FD 00 68 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 8C [00:17:58]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:17:59]wFMCommunicate OK [00:17:59]wFMCommunicate request_size=4 [00:17:59]MH_SAM_APDU [00:17:59]CAPDU: 80 17 00 00 [00:17:59]Write to MH i2c: E2 08 00 69 00 80 17 00 00 00 00 00 00 E9 [00:17:59]Write i2c OK [00:17:59]MH_I2C_Read... [00:17:59]OFD Sender: No OFD packet to send [00:17:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:17:59]Read from MH i2c: E2 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: E2 FD 00 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: E2 FD 00 69 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 63 [00:17:59]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:17:59]wFMCommunicate OK [00:17:59]wFMCommunicate request_size=4 [00:17:59]MH_SAM_APDU [00:17:59]CAPDU: 80 17 00 00 [00:17:59]Write to MH i2c: E2 08 00 6A 00 80 17 00 00 00 00 00 00 EA [00:17:59]Write i2c OK [00:17:59]MH_I2C_Read... [00:17:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:17:59]Read from MH i2c: E2 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: E2 DC 00 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: E2 DC 00 6A 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 CE [00:17:59]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:17:59]wFMCommunicate OK [00:17:59]SAM_PROTO_GetFMData done [00:17:59]requested_item fm.sale_refund.total is exist - process it [00:17:59]requested_item fm.buy.total is exist - process it [00:17:59]requested_item shift.sale.total is exist - process it [00:17:59]SAM_PROTO_GetShiftData [00:17:59]wFMCommunicate request_size=4 [00:17:59]MH_SAM_APDU [00:17:59]CAPDU: 80 13 02 00 [00:17:59]Write to MH i2c: E2 08 00 6B 00 80 13 02 00 00 00 00 00 E9 [00:17:59]Write i2c OK [00:17:59]MH_I2C_Read... [00:17:59]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:17:59]Read from MH i2c: E2 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: E2 FD 00 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: E2 FD 00 6B 00 00 AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 70 34 10 70 04 03 00 30 D0 0E 72 04 03 00 40 64 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 82 B8 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AC 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 AC [00:17:59]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 70 34 10 70 04 03 00 30 D0 0E 72 04 03 00 40 64 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 82 B8 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AC 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:17:59]wFMCommunicate OK [00:17:59]wFMCommunicate request_size=4 [00:17:59]MH_SAM_APDU [00:17:59]CAPDU: 80 17 00 00 [00:17:59]Write to MH i2c: E2 08 00 6C 00 80 17 00 00 00 00 00 00 EC [00:17:59]Write i2c OK [00:17:59]MH_I2C_Read... [00:18:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:00]Read from MH i2c: E2 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 FD 00 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 FD 00 6C 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 0E [00:18:00]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:18:00]wFMCommunicate OK [00:18:00]wFMCommunicate request_size=4 [00:18:00]MH_SAM_APDU [00:18:00]CAPDU: 80 17 00 00 [00:18:00]Write to MH i2c: E2 08 00 6D 00 80 17 00 00 00 00 00 00 ED [00:18:00]Write i2c OK [00:18:00]MH_I2C_Read... [00:18:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:00]Read from MH i2c: E2 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 FD 00 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 FD 00 6D 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 A4 [00:18:00]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:18:00]wFMCommunicate OK [00:18:00]wFMCommunicate request_size=4 [00:18:00]MH_SAM_APDU [00:18:00]CAPDU: 80 17 00 00 [00:18:00]Write to MH i2c: E2 08 00 6E 00 80 17 00 00 00 00 00 00 EE [00:18:00]Write i2c OK [00:18:00]MH_I2C_Read... [00:18:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:00]Read from MH i2c: E2 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 FD 00 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 FD 00 6E 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 60 [00:18:00]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:18:00]wFMCommunicate OK [00:18:00]wFMCommunicate request_size=4 [00:18:00]MH_SAM_APDU [00:18:00]CAPDU: 80 17 00 00 [00:18:00]Write to MH i2c: E2 08 00 6F 00 80 17 00 00 00 00 00 00 EF [00:18:00]Write i2c OK [00:18:00]MH_I2C_Read... [00:18:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:18:01]Read from MH i2c: E2 [00:18:01]MH_I2C_Read... [00:18:01]Read from MH i2c: E2 CB 00 [00:18:01]MH_I2C_Read... [00:18:01]Read from MH i2c: E2 CB 00 6F 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D8 [00:18:01]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:18:01]wFMCommunicate OK [00:18:01]SAM_PROTO_GetShiftData done [00:18:01]requested_item shift.sale.total_cash is exist - process it [00:18:01]requested_item shift.sale_refund.total is exist - process it [00:18:01]requested_item shift.sale_refund.total_cash is exist - process it [00:18:01]requested_item shift.buy.total is exist - process it [00:18:01]requested_item shift.buy.total_cash is exist - process it [00:18:01]produce_requested_data done [00:18:01]produce_requested_data return {"fm.sale.total":3475442.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":10620.00,"shift.sale.total_cash":9708.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:18:01]process_action_free get_value [00:18:01]json_value_free [00:18:01]json_value_free done [00:18:01]process_json_proto returns [00:18:01]Send response to host [00:18:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3475442.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":10620.00,"shift.sale.total_cash":9708.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:18:01]free response buf [00:18:01]execute_script done [00:18:01]execute_script returns [00:18:01]free content buf [00:18:01]Sock 8.Close socket [00:18:01]Sock 8.Thread stoped [00:18:01]accept exits with 9 [00:18:01]New connection [00:18:01]New thread 3066801508 created [00:18:01]Thread 3066944868 joined [00:18:01]Waiting for new connection... [00:18:01] Sock 9.Parse request [00:18:01]Sock 9.Check first char [00:18:01]Sock 9.First char is OK [00:18:01]request: POST /json_proto HTTP/1.0 [00:18:01]Method: POST [00:18:01]URL: /json_proto [00:18:01]Method is POST - this is cgi request [00:18:01]url: /json_proto [00:18:01]query_string will be loaded in cgi processing [00:18:01]execute_cgi json_proto POST (null) [00:18:01]execute_cgi path=json_proto method=POST [00:18:01]POST find Content-Length [00:18:01]Host: 172.17.53.196:8080 [00:18:01]Content-Length: 331 [00:18:01]Content-Type: application/json [00:18:01] [00:18:01]POST finish read [00:18:01]Found Content-Length = 331 [00:18:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:18:01]execute_script... [00:18:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:18:01]POST & json_proto [00:18:01]process_json_proto [00:18:01]json parsed OK: [00:18:01]protocol is kg_v1.0 [00:18:01]action value=get_value [00:18:01]process_action get_value [00:18:01]cmd_get_value [00:18:01]process_action get_value done [00:18:01]requested_data is exist [00:18:01]produce_requested_data [00:18:01]requested_item fm.sale.total is exist - process it [00:18:01]SAM_PROTO_GetFMData [00:18:01]wFMCommunicate request_size=4 [00:18:01]MH_SAM_APDU [00:18:01]CAPDU: 80 13 03 00 [00:18:01]Write to MH i2c: E2 08 00 70 00 80 13 03 00 00 00 00 00 EF [00:18:01]Write i2c OK [00:18:01]MH_I2C_Read... [00:18:01]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:18:01]Read from MH i2c: E2 [00:18:01]MH_I2C_Read... [00:18:01]Read from MH i2c: E2 FD 00 [00:18:01]MH_I2C_Read... [00:18:01]Read from MH i2c: E2 FD 00 70 00 00 BF 04 85 04 BB 04 6E 04 04 00 C4 5D 00 00 69 04 A0 00 6F 04 04 00 B6 5D 00 00 B1 04 04 00 88 1A B7 14 70 04 04 00 A8 15 8A 12 72 04 04 00 E0 04 2D 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 05 21 33 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 F7 E2 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 DB [00:18:01]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 C4 5D 00 00 69 04 A0 00 6F 04 04 00 B6 5D 00 00 B1 04 04 00 88 1A B7 14 70 04 04 00 A8 15 8A 12 72 04 04 00 E0 04 2D 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 05 21 33 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 F7 E2 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 [00:18:01]wFMCommunicate OK [00:18:01]wFMCommunicate request_size=4 [00:18:01]MH_SAM_APDU [00:18:01]CAPDU: 80 17 00 00 [00:18:01]Write to MH i2c: E2 08 00 71 00 80 17 00 00 00 00 00 00 F1 [00:18:01]Write i2c OK [00:18:01]MH_I2C_Read... [00:18:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:02]Read from MH i2c: E2 [00:18:02]MH_I2C_Read... [00:18:02]Read from MH i2c: E2 FD 00 [00:18:02]MH_I2C_Read... [00:18:02]Read from MH i2c: E2 FD 00 71 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 E3 [00:18:02]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:18:02]wFMCommunicate OK [00:18:02]wFMCommunicate request_size=4 [00:18:02]MH_SAM_APDU [00:18:02]CAPDU: 80 17 00 00 [00:18:02]Write to MH i2c: E2 08 00 72 00 80 17 00 00 00 00 00 00 F2 [00:18:02]Write i2c OK [00:18:02]MH_I2C_Read... [00:18:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:02]Read from MH i2c: E2 [00:18:02]MH_I2C_Read... [00:18:02]Read from MH i2c: E2 FD 00 [00:18:02]MH_I2C_Read... [00:18:02]Read from MH i2c: E2 FD 00 72 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 96 [00:18:02]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:18:02]wFMCommunicate OK [00:18:02]wFMCommunicate request_size=4 [00:18:02]MH_SAM_APDU [00:18:02]CAPDU: 80 17 00 00 [00:18:02]Write to MH i2c: E2 08 00 73 00 80 17 00 00 00 00 00 00 F3 [00:18:02]Write i2c OK [00:18:02]MH_I2C_Read... [00:18:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:02]Read from MH i2c: E2 [00:18:02]MH_I2C_Read... [00:18:02]Read from MH i2c: E2 FD 00 [00:18:02]MH_I2C_Read... [00:18:02]Read from MH i2c: E2 FD 00 73 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 6D [00:18:02]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:18:02]wFMCommunicate OK [00:18:02]wFMCommunicate request_size=4 [00:18:02]MH_SAM_APDU [00:18:02]CAPDU: 80 17 00 00 [00:18:02]Write to MH i2c: E2 08 00 74 00 80 17 00 00 00 00 00 00 F4 [00:18:02]Write i2c OK [00:18:02]MH_I2C_Read... [00:18:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:18:03]Read from MH i2c: E2 [00:18:03]MH_I2C_Read... [00:18:03]Read from MH i2c: E2 DC 00 [00:18:03]MH_I2C_Read... [00:18:03]Read from MH i2c: E2 DC 00 74 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D8 [00:18:03]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:18:03]wFMCommunicate OK [00:18:03]SAM_PROTO_GetFMData done [00:18:03]requested_item fm.sale_refund.total is exist - process it [00:18:03]requested_item fm.buy.total is exist - process it [00:18:03]requested_item shift.sale.total is exist - process it [00:18:03]SAM_PROTO_GetShiftData [00:18:03]wFMCommunicate request_size=4 [00:18:03]MH_SAM_APDU [00:18:03]CAPDU: 80 13 02 00 [00:18:03]Write to MH i2c: E2 08 00 75 00 80 13 02 00 00 00 00 00 F3 [00:18:03]Write i2c OK [00:18:03]MH_I2C_Read... [00:18:03]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:18:03]Read from MH i2c: E2 [00:18:03]MH_I2C_Read... [00:18:03]Read from MH i2c: E2 FD 00 [00:18:03]MH_I2C_Read... [00:18:03]Read from MH i2c: E2 FD 00 75 00 00 AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 70 34 10 70 04 03 00 30 D0 0E 72 04 03 00 40 64 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 82 B8 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AC 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 B6 [00:18:03]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 70 34 10 70 04 03 00 30 D0 0E 72 04 03 00 40 64 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 82 B8 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AC 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:18:03]wFMCommunicate OK [00:18:03]wFMCommunicate request_size=4 [00:18:03]MH_SAM_APDU [00:18:03]CAPDU: 80 17 00 00 [00:18:03]Write to MH i2c: E2 08 00 76 00 80 17 00 00 00 00 00 00 F6 [00:18:03]Write i2c OK [00:18:03]MH_I2C_Read... [00:18:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:04]Read from MH i2c: E2 [00:18:04]MH_I2C_Read... [00:18:04]Read from MH i2c: E2 FD 00 [00:18:04]MH_I2C_Read... [00:18:04]Read from MH i2c: E2 FD 00 76 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 18 [00:18:04]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:18:04]wFMCommunicate OK [00:18:04]wFMCommunicate request_size=4 [00:18:04]MH_SAM_APDU [00:18:04]CAPDU: 80 17 00 00 [00:18:04]Write to MH i2c: E2 08 00 77 00 80 17 00 00 00 00 00 00 F7 [00:18:04]Write i2c OK [00:18:04]MH_I2C_Read... [00:18:04]OFD Sender: No OFD packet to send [00:18:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:04]Read from MH i2c: E2 [00:18:04]MH_I2C_Read... [00:18:04]Read from MH i2c: E2 FD 00 [00:18:04]MH_I2C_Read... [00:18:04]Read from MH i2c: E2 FD 00 77 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 AE [00:18:04]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:18:04]wFMCommunicate OK [00:18:04]wFMCommunicate request_size=4 [00:18:04]MH_SAM_APDU [00:18:04]CAPDU: 80 17 00 00 [00:18:04]Write to MH i2c: E2 08 00 78 00 80 17 00 00 00 00 00 00 F8 [00:18:04]Write i2c OK [00:18:04]MH_I2C_Read... [00:18:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:04]Read from MH i2c: E2 [00:18:04]MH_I2C_Read... [00:18:04]Read from MH i2c: E2 FD 00 [00:18:04]MH_I2C_Read... [00:18:04]Read from MH i2c: E2 FD 00 78 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 6A [00:18:05]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:18:05]wFMCommunicate OK [00:18:05]wFMCommunicate request_size=4 [00:18:05]MH_SAM_APDU [00:18:05]CAPDU: 80 17 00 00 [00:18:05]Write to MH i2c: E2 08 00 79 00 80 17 00 00 00 00 00 00 F9 [00:18:05]Write i2c OK [00:18:05]MH_I2C_Read... [00:18:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:18:05]Read from MH i2c: E2 [00:18:05]MH_I2C_Read... [00:18:05]Read from MH i2c: E2 CB 00 [00:18:05]MH_I2C_Read... [00:18:05]Read from MH i2c: E2 CB 00 79 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 [00:00:09] *** EcrCore started. Build 196 *** [00:00:09]/dev/ttyS4 opened [00:00:09]MH_InterfaceInit /dev/i2c-1 [00:00:09]Malloc ok [00:00:09]MH_GetMetrics [00:00:09]Write to MH i2c: 00 00 00 01 00 00 [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 29 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 CE FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 73 [00:00:09]Are we in boot? [00:00:09]We are in boot - try to switch [00:00:09]Write to MH i2c: A0 00 00 02 00 A1 [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:09]*** [00:00:09]Read from MH i2c: A0 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: A0 01 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:09]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:09]*** Waiting for read because exit forced [00:00:09]*** 10 ms more... [00:00:09]*** MH1903S init start (LINUX_LIGHT) [00:00:09]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:09]*** Serial: 3139303353513838 54000000005725CE (1903SQ88T) [00:00:09]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:09]*** step 0: 5000 (2650, 2350 REF) [00:00:09]*** step 1: 4835 (2500, 2335 REF) [00:00:09]*** step 2: 4676 (2440, 2236 REF) [00:00:09]*** step 3: 4523 (2280, 2243 REF) [00:00:09]*** step 4: 4376 (2160, 2216 REF) [00:00:09]*** step 5: 4235 (2050, 2185 REF) [00:00:09]*** step 6: 4098 (1950, 2148 REF) [00:00:09]*** step 7: 3967 (1870, 2097 REF) [00:00:09]*** step 8: 3840 (1828, 2012 REF) [00:00:09]*** step 9: 3719 (1728, 1991 REF) [00:00:09]*** step 10: 3601 (1675, 1926 REF) [00:00:09]*** step 11: 3488 (1635, 1853 REF) [00:00:09]*** step 12: 3379 (1595, 1784 REF) [00:00:09]*** step 13: 3275 (1565, 1710 REF) [00:00:09]*** step 14: 3174 (1543, 1631 REF) [00:00:09]*** step 15: 3077 (1523, 1554 REF) [00:00:09]*** step 16: 2983 (1503, 1480 REF) [00:00:09]*** 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: 24825999+1704643919=1729469918 [00:00:10]*** BPK Status Register BPK_RDY = 0x0 [00:00:10]*** SEN State Register SEN_STATE = 0xff [00:00:10]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:10]*** Analog Control Register 0 SEN_ANA0 = 0x33530623 [00:00:10]*** Is cutter blocked? [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 03 00 02 [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 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 CE FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 74 [00:00:10]Are we in boot? [00:00:10]We are not in boot now [00:00:10]Write to MH i2c: 01 00 00 04 00 04 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 07 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:10]Model is 3 [00:00:10]MH firmware is 30620 [00:00:10]MH boot firmware is 3 [00:00:10]MH_SetPrinterDots 448 [00:00:10]HeadWidthInBytes 56 [00:00:10]maxmasksize 7 [00:00:10]Write to MH i2c: D6 06 00 05 00 41 00 38 00 FF FF 57 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:10]Write to MH i2c: D5 00 00 06 00 DA [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]ExternCall_SetCallbacks [00:00:10]NVStorageInit [00:00:10]MH_GetDate [00:00:10]Write to MH i2c: F0 00 00 07 00 F6 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: F0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: F0 09 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: F0 09 00 07 00 00 DE 9D 15 67 4F CD 9A 65 11 [00:18:38]Current date/time: 21.10.2024 00:18 [00:18:38]FM_Init [00:18:38]wFMConnect [00:18:38]MH_SAM_On [00:18:38]Write to MH i2c: E0 00 00 08 00 E7 [00:18:38]Write i2c OK [00:18:38]MH_I2C_Read... [00:18:38]*** iso7816_init finished! [00:18:38]*** atr: [00:18:38]*** 0F 3B D5 18 FF 81 91 FE [00:18:38]*** 1F C3 80 73 C8 21 10 0A [00:18:38]*** 00 00 00 00 00 00 00 00 [00:18:38]*** 00 00 00 00 00 00 00 00 [00:18:38]*** 00 00 00 00 00 00 00 00 [00:18:38]*** 00 00 00 00 00 00 00 00 [00:18:38]*** 00 00 00 00 00 00 00 00 [00:18:38]*** 00 00 00 00 00 00 00 00 [00:18:38]Read from MH i2c: E0 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E0 10 00 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [00:18:38]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [00:18:38]wFMCommunicate request_size=10 [00:18:38]MH_SAM_APDU [00:18:38]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [00:18:38]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [00:18:38]Write i2c OK [00:18:38]MH_I2C_Read... [00:18:38]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [00:18:38]Read from MH i2c: E2 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 03 00 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [00:18:38]RAPDU: 90 00 [00:18:38]wFMCommunicate OK [00:18:38]wFMCommunicate request_size=4 [00:18:38]MH_SAM_APDU [00:18:38]CAPDU: 80 11 00 00 [00:18:38]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [00:18:38]Write i2c OK [00:18:38]MH_I2C_Read... [00:18:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:18:38]Read from MH i2c: E2 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 17 00 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 DB [00:18:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:18:38]wFMCommunicate OK [00:18:38]Detected FM SN is 0000000000965376 [00:18:38]Stored FM SN is 0000000000965376 [00:18:38]wFMCommunicate request_size=9 [00:18:38]MH_SAM_APDU [00:18:38]CAPDU: 80 16 00 00 04 9B 09 01 00 [00:18:38]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 9B 09 01 00 00 00 37 [00:18:38]Write i2c OK [00:18:38]MH_I2C_Read... [00:18:38]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [00:18:38]Read from MH i2c: E2 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 03 00 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [00:18:38]RAPDU: 90 00 [00:18:38]wFMCommunicate OK [00:18:38]FM PIN OK [00:18:38]wFMCommunicate request_size=8 [00:18:38]MH_SAM_APDU [00:18:38]CAPDU: 80 14 04 00 03 02 00 01 [00:18:38]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [00:18:38]Write i2c OK [00:18:38]MH_I2C_Read... [00:18:38]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [00:18:38]Read from MH i2c: E2 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 03 00 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [00:18:38]RAPDU: 90 00 [00:18:38]wFMCommunicate OK [00:18:38]wFMCommunicate request_size=13 [00:18:38]MH_SAM_APDU [00:18:38]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [00:18:38]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [00:18:38]Write i2c OK [00:18:38]MH_I2C_Read... [00:18:38]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [00:18:38]Read from MH i2c: E2 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 03 00 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [00:18:38]RAPDU: 90 00 [00:18:38]wFMCommunicate OK [00:18:38]wFMCommunicate request_size=4 [00:18:38]MH_SAM_APDU [00:18:38]CAPDU: 80 11 00 00 [00:18:38]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [00:18:38]Write i2c OK [00:18:38]MH_I2C_Read... [00:18:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:18:38]Read from MH i2c: E2 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 17 00 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 DF [00:18:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:18:38]wFMCommunicate OK [00:18:38]DocumentArchiveInit [00:18:38]Start Httpd... [00:18:38]Httpd thread 3067395428 created [00:18:38]Write to MH i2c: 01 00 00 0F 00 0F [00:18:38]Write i2c OK [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: 01 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: 01 07 00 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [00:18:38]MH Int Process started [00:18:38]Allocated Socket 8 [00:18:38]Bind OK [00:18:38]Listen OK [00:18:38]httpd running on port 8080 [00:18:38]Waiting for new connection... [00:18:38]OFD Sender: No OFD packet to send [00:18:43]OFD Sender: No OFD packet to send [00:18:48]OFD Sender: No OFD packet to send [00:18:53]OFD Sender: No OFD packet to send [00:18:58]OFD Sender: No OFD packet to send [00:18:59]accept exits with 9 [00:18:59]New connection [00:18:59]New thread 3067108708 created [00:18:59]Waiting for new connection... [00:18:59] Sock 9.Parse request [00:18:59]Sock 9.Check first char [00:18:59]Sock 9.First char is OK [00:18:59]request: POST /json_proto HTTP/1.0 [00:18:59]Method: POST [00:18:59]URL: /json_proto [00:18:59]Method is POST - this is cgi request [00:18:59]url: /json_proto [00:18:59]query_string will be loaded in cgi processing [00:18:59]execute_cgi json_proto POST (null) [00:18:59]execute_cgi path=json_proto method=POST [00:18:59]POST find Content-Length [00:18:59]Host: 172.17.53.196:8080 [00:18:59]Content-Length: 215 [00:18:59]Content-Type: application/json [00:18:59] [00:18:59]POST finish read [00:18:59]Found Content-Length = 215 [00:18:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:18:59]execute_script... [00:18:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:18:59]POST & json_proto [00:18:59]process_json_proto [00:18:59]json parsed OK: [00:18:59]protocol is kg_v1.0 [00:18:59]action value=get_value [00:18:59]process_action get_value [00:18:59]cmd_get_value [00:18:59]process_action get_value done [00:18:59]requested_data is exist [00:18:59]produce_requested_data [00:18:59]requested_item kkm.sn is exist - process it [00:18:59]requested_item kkm.ver is exist - process it [00:18:59]requested_item fm.sn is exist - process it [00:18:59]wFMCommunicate request_size=4 [00:18:59]MH_SAM_APDU [00:18:59]CAPDU: 80 11 00 00 [00:18:59]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [00:18:59]Write i2c OK [00:18:59]MH_I2C_Read... [00:18:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:18:59]Read from MH i2c: E2 [00:18:59]MH_I2C_Read... [00:18:59]Read from MH i2c: E2 17 00 [00:18:59]MH_I2C_Read... [00:18:59]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 E1 [00:18:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:18:59]wFMCommunicate OK [00:18:59]requested_item fd.num is exist - process it [00:18:59]SAM_PROTO_GetFieldsCounters [00:18:59]wFMCommunicate request_size=4 [00:18:59]MH_SAM_APDU [00:18:59]CAPDU: 80 13 00 00 [00:18:59]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [00:18:59]Write i2c OK [00:18:59]MH_I2C_Read... [00:19:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:19:00]Read from MH i2c: E2 [00:19:00]MH_I2C_Read... [00:19:00]Read from MH i2c: E2 62 00 [00:19:00]MH_I2C_Read... [00:19:00]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 52 61 00 00 0E 04 04 00 C7 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 09 [00:19:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 52 61 00 00 0E 04 04 00 C7 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 [00:19:00]wFMCommunicate OK [00:19:00]SAM_PROTO_GetFieldsCounters done [00:19:00]requested_item shift.num is exist - process it [00:19:00]requested_item shift.opened is exist - process it [00:19:00]req_shift_opened [00:19:00]FM_GetShiftState [00:19:00]SAM_PROTO_GetShiftState [00:19:00]wFMCommunicate request_size=4 [00:19:00]MH_SAM_APDU [00:19:00]CAPDU: 80 13 01 00 [00:19:00]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [00:19:00]Write i2c OK [00:19:00]MH_I2C_Read... [00:19:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:19:00]Read from MH i2c: E2 [00:19:00]MH_I2C_Read... [00:19:00]Read from MH i2c: E2 0E 00 [00:19:00]MH_I2C_Read... [00:19:00]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 D5 [00:19:00]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [00:19:00]wFMCommunicate OK [00:19:00]SAM_PROTO_GetShiftState done [00:19:00]FM_GetShiftState done [00:19:00]req_shift_opened done [00:19:00]requested_item shift.open_date is exist - process it [00:19:00]req_shift_open_date [00:19:00]req_shift_open_date done [00:19:00]produce_requested_data done [00:19:00]produce_requested_data return {"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":24914,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049} [00:19:00]process_action_free get_value [00:19:00]json_value_free [00:19:00]json_value_free done [00:19:00]process_json_proto returns [00:19:00]Send response to host [00:19:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":24914,"shift.num":455,"shift.opened":1,"shift.open_date":1729384049}}} [00:19:00]free response buf [00:19:00]execute_script done [00:19:00]execute_script returns [00:19:00]free content buf [00:19:00]Sock 9.Close socket [00:19:00]Sock 9.Thread stoped [00:19:00]accept exits with 7 [00:19:00]New connection [00:19:00]New thread 3066965348 created [00:19:00]Thread 3067108708 joined [00:19:00]Waiting for new connection... [00:19:00] Sock 7.Parse request [00:19:00]Sock 7.Check first char [00:19:00]Sock 7.First char is OK [00:19:00]request: POST /json_proto HTTP/1.0 [00:19:00]Method: POST [00:19:00]URL: /json_proto [00:19:00]Method is POST - this is cgi request [00:19:00]url: /json_proto [00:19:00]query_string will be loaded in cgi processing [00:19:00]execute_cgi json_proto POST (null) [00:19:00]execute_cgi path=json_proto method=POST [00:19:00]POST find Content-Length [00:19:00]Host: 172.17.53.196:8080 [00:19:00]Content-Length: 331 [00:19:00]Content-Type: application/json [00:19:00] [00:19:00]POST finish read [00:19:00]Found Content-Length = 331 [00:19:00]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:19:00]execute_script... [00:19:00]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:19:00]POST & json_proto [00:19:00]process_json_proto [00:19:00]json parsed OK: [00:19:00]protocol is kg_v1.0 [00:19:00]action value=get_value [00:19:00]process_action get_value [00:19:00]cmd_get_value [00:19:00]process_action get_value done [00:19:00]requested_data is exist [00:19:00]produce_requested_data [00:19:00]requested_item fm.sale.total is exist - process it [00:19:00]SAM_PROTO_GetFMData [00:19:00]wFMCommunicate request_size=4 [00:19:00]MH_SAM_APDU [00:19:00]CAPDU: 80 13 03 00 [00:19:00]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [00:19:00]Write i2c OK [00:19:00]MH_I2C_Read... [00:19:00]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:19:00]Read from MH i2c: E2 [00:19:00]MH_I2C_Read... [00:19:00]Read from MH i2c: E2 FD 00 [00:19:00]MH_I2C_Read... [00:19:00]Read from MH i2c: E2 FD 00 13 00 00 BF 04 85 04 BB 04 6E 04 04 00 C4 5D 00 00 69 04 A0 00 6F 04 04 00 B6 5D 00 00 B1 04 04 00 88 1A B7 14 70 04 04 00 A8 15 8A 12 72 04 04 00 E0 04 2D 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 05 21 33 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 F7 E2 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 7E [00:19:00]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 C4 5D 00 00 69 04 A0 00 6F 04 04 00 B6 5D 00 00 B1 04 04 00 88 1A B7 14 70 04 04 00 A8 15 8A 12 72 04 04 00 E0 04 2D 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 05 21 33 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 F7 E2 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 [00:19:00]wFMCommunicate OK [00:19:00]wFMCommunicate request_size=4 [00:19:00]MH_SAM_APDU [00:19:00]CAPDU: 80 17 00 00 [00:19:00]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [00:19:00]Write i2c OK [00:19:00]MH_I2C_Read... [00:19:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:01]Read from MH i2c: E2 [00:19:01]MH_I2C_Read... [00:19:01]Read from MH i2c: E2 FD 00 [00:19:01]MH_I2C_Read... [00:19:01]Read from MH i2c: E2 FD 00 14 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 86 [00:19:01]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:19:01]wFMCommunicate OK [00:19:01]wFMCommunicate request_size=4 [00:19:01]MH_SAM_APDU [00:19:01]CAPDU: 80 17 00 00 [00:19:01]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [00:19:01]Write i2c OK [00:19:01]MH_I2C_Read... [00:19:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:01]Read from MH i2c: E2 [00:19:01]MH_I2C_Read... [00:19:01]Read from MH i2c: E2 FD 00 [00:19:01]MH_I2C_Read... [00:19:01]Read from MH i2c: E2 FD 00 15 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 39 [00:19:01]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:19:01]wFMCommunicate OK [00:19:01]wFMCommunicate request_size=4 [00:19:01]MH_SAM_APDU [00:19:01]CAPDU: 80 17 00 00 [00:19:01]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [00:19:01]Write i2c OK [00:19:01]MH_I2C_Read... [00:19:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:01]Read from MH i2c: E2 [00:19:01]MH_I2C_Read... [00:19:01]Read from MH i2c: E2 FD 00 [00:19:01]MH_I2C_Read... [00:19:01]Read from MH i2c: E2 FD 00 16 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 10 [00:19:01]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:19:01]wFMCommunicate OK [00:19:01]wFMCommunicate request_size=4 [00:19:01]MH_SAM_APDU [00:19:01]CAPDU: 80 17 00 00 [00:19:01]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [00:19:01]Write i2c OK [00:19:01]MH_I2C_Read... [00:19:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:19:01]Read from MH i2c: E2 [00:19:01]MH_I2C_Read... [00:19:01]Read from MH i2c: E2 DC 00 [00:19:01]MH_I2C_Read... [00:19:01]Read from MH i2c: E2 DC 00 17 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7B [00:19:01]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:19:01]wFMCommunicate OK [00:19:01]SAM_PROTO_GetFMData done [00:19:01]requested_item fm.sale_refund.total is exist - process it [00:19:01]requested_item fm.buy.total is exist - process it [00:19:01]requested_item shift.sale.total is exist - process it [00:19:01]SAM_PROTO_GetShiftData [00:19:01]wFMCommunicate request_size=4 [00:19:01]MH_SAM_APDU [00:19:01]CAPDU: 80 13 02 00 [00:19:01]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [00:19:01]Write i2c OK [00:19:01]MH_I2C_Read... [00:19:02]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:19:02]Read from MH i2c: E2 [00:19:02]MH_I2C_Read... [00:19:02]Read from MH i2c: E2 FD 00 [00:19:02]MH_I2C_Read... [00:19:02]Read from MH i2c: E2 FD 00 18 00 00 AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 70 34 10 70 04 03 00 30 D0 0E 72 04 03 00 40 64 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 82 B8 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AC 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 59 [00:19:02]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 70 34 10 70 04 03 00 30 D0 0E 72 04 03 00 40 64 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 82 B8 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AC 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:19:02]wFMCommunicate OK [00:19:02]wFMCommunicate request_size=4 [00:19:02]MH_SAM_APDU [00:19:02]CAPDU: 80 17 00 00 [00:19:02]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [00:19:02]Write i2c OK [00:19:02]MH_I2C_Read... [00:19:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:02]Read from MH i2c: E2 [00:19:02]MH_I2C_Read... [00:19:02]Read from MH i2c: E2 FD 00 [00:19:02]MH_I2C_Read... [00:19:02]Read from MH i2c: E2 FD 00 19 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BB [00:19:02]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:19:02]wFMCommunicate OK [00:19:02]wFMCommunicate request_size=4 [00:19:02]MH_SAM_APDU [00:19:02]CAPDU: 80 17 00 00 [00:19:02]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [00:19:02]Write i2c OK [00:19:02]MH_I2C_Read... [00:19:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:02]Read from MH i2c: E2 [00:19:02]MH_I2C_Read... [00:19:02]Read from MH i2c: E2 FD 00 [00:19:02]MH_I2C_Read... [00:19:02]Read from MH i2c: E2 FD 00 1A 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 51 [00:19:02]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:19:02]wFMCommunicate OK [00:19:02]wFMCommunicate request_size=4 [00:19:02]MH_SAM_APDU [00:19:02]CAPDU: 80 17 00 00 [00:19:02]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [00:19:02]Write i2c OK [00:19:02]MH_I2C_Read... [00:19:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:03]Read from MH i2c: E2 [00:19:03]MH_I2C_Read... [00:19:03]Read from MH i2c: E2 FD 00 [00:19:03]MH_I2C_Read... [00:19:03]Read from MH i2c: E2 FD 00 1B 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0D [00:19:03]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:19:03]wFMCommunicate OK [00:19:03]wFMCommunicate request_size=4 [00:19:03]MH_SAM_APDU [00:19:03]CAPDU: 80 17 00 00 [00:19:03]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [00:19:03]Write i2c OK [00:19:03]MH_I2C_Read... [00:19:03]OFD Sender: No OFD packet to send [00:19:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:19:03]Read from MH i2c: E2 [00:19:03]MH_I2C_Read... [00:19:03]Read from MH i2c: E2 CB 00 [00:19:03]MH_I2C_Read... [00:19:03]Read from MH i2c: E2 CB 00 1C 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [00:19:03]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:19:03]wFMCommunicate OK [00:19:03]SAM_PROTO_GetShiftData done [00:19:03]requested_item shift.sale.total_cash is exist - process it [00:19:03]requested_item shift.sale_refund.total is exist - process it [00:19:03]requested_item shift.sale_refund.total_cash is exist - process it [00:19:03]requested_item shift.buy.total is exist - process it [00:19:03]requested_item shift.buy.total_cash is exist - process it [00:19:03]produce_requested_data done [00:19:03]produce_requested_data return {"fm.sale.total":3475442.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":10620.00,"shift.sale.total_cash":9708.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:19:03]process_action_free get_value [00:19:03]json_value_free [00:19:03]json_value_free done [00:19:03]process_json_proto returns [00:19:03]Send response to host [00:19:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3475442.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":10620.00,"shift.sale.total_cash":9708.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:19:03]free response buf [00:19:03]execute_script done [00:19:03]execute_script returns [00:19:03]free content buf [00:19:03]Sock 7.Close socket [00:19:03]Sock 7.Thread stoped [00:19:03]accept exits with 9 [00:19:03]New connection [00:19:03]New thread 3067108708 created [00:19:03]Thread 3066965348 joined [00:19:03]Waiting for new connection... [00:19:03] Sock 9.Parse request [00:19:03]Sock 9.Check first char [00:19:03]Sock 9.First char is OK [00:19:03]request: POST /json_proto HTTP/1.0 [00:19:03]Method: POST [00:19:03]URL: /json_proto [00:19:03]Method is POST - this is cgi request [00:19:03]url: /json_proto [00:19:03]query_string will be loaded in cgi processing [00:19:03]execute_cgi json_proto POST (null) [00:19:03]execute_cgi path=json_proto method=POST [00:19:03]POST find Content-Length [00:19:03]Host: 172.17.53.196:8080 [00:19:03]Content-Length: 331 [00:19:03]Content-Type: application/json [00:19:03] [00:19:03]POST finish read [00:19:03]Found Content-Length = 331 [00:19:03]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:19:03]execute_script... [00:19:03]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:19:03]POST & json_proto [00:19:03]process_json_proto [00:19:03]json parsed OK: [00:19:03]protocol is kg_v1.0 [00:19:03]action value=get_value [00:19:03]process_action get_value [00:19:03]cmd_get_value [00:19:03]process_action get_value done [00:19:03]requested_data is exist [00:19:03]produce_requested_data [00:19:03]requested_item fm.sale.total is exist - process it [00:19:03]SAM_PROTO_GetFMData [00:19:03]wFMCommunicate request_size=4 [00:19:03]MH_SAM_APDU [00:19:03]CAPDU: 80 13 03 00 [00:19:03]Write to MH i2c: E2 08 00 1D 00 80 13 03 00 00 00 00 00 9C [00:19:03]Write i2c OK [00:19:03]MH_I2C_Read... [00:19:04]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:19:04]Read from MH i2c: E2 [00:19:04]MH_I2C_Read... [00:19:04]Read from MH i2c: E2 FD 00 [00:19:04]MH_I2C_Read... [00:19:04]Read from MH i2c: E2 FD 00 1D 00 00 BF 04 85 04 BB 04 6E 04 04 00 C4 5D 00 00 69 04 A0 00 6F 04 04 00 B6 5D 00 00 B1 04 04 00 88 1A B7 14 70 04 04 00 A8 15 8A 12 72 04 04 00 E0 04 2D 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 05 21 33 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 F7 E2 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 88 [00:19:04]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 C4 5D 00 00 69 04 A0 00 6F 04 04 00 B6 5D 00 00 B1 04 04 00 88 1A B7 14 70 04 04 00 A8 15 8A 12 72 04 04 00 E0 04 2D 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 05 21 33 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 F7 E2 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 [00:19:04]wFMCommunicate OK [00:19:04]wFMCommunicate request_size=4 [00:19:04]MH_SAM_APDU [00:19:04]CAPDU: 80 17 00 00 [00:19:04]Write to MH i2c: E2 08 00 1E 00 80 17 00 00 00 00 00 00 9E [00:19:04]Write i2c OK [00:19:04]MH_I2C_Read... [00:19:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:04]Read from MH i2c: E2 [00:19:04]MH_I2C_Read... [00:19:04]Read from MH i2c: E2 FD 00 [00:19:04]MH_I2C_Read... [00:19:04]Read from MH i2c: E2 FD 00 1E 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 90 [00:19:04]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:19:04]wFMCommunicate OK [00:19:04]wFMCommunicate request_size=4 [00:19:04]MH_SAM_APDU [00:19:04]CAPDU: 80 17 00 00 [00:19:04]Write to MH i2c: E2 08 00 1F 00 80 17 00 00 00 00 00 00 9F [00:19:04]Write i2c OK [00:19:04]MH_I2C_Read... [00:19:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:04]Read from MH i2c: E2 [00:19:04]MH_I2C_Read... [00:19:04]Read from MH i2c: E2 FD 00 [00:19:04]MH_I2C_Read... [00:19:04]Read from MH i2c: E2 FD 00 1F 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 43 [00:19:04]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:19:04]wFMCommunicate OK [00:19:04]wFMCommunicate request_size=4 [00:19:04]MH_SAM_APDU [00:19:04]CAPDU: 80 17 00 00 [00:19:04]Write to MH i2c: E2 08 00 20 00 80 17 00 00 00 00 00 00 A0 [00:19:04]Write i2c OK [00:19:04]MH_I2C_Read... [00:19:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:05]Read from MH i2c: E2 [00:19:05]MH_I2C_Read... [00:19:05]Read from MH i2c: E2 FD 00 [00:19:05]MH_I2C_Read... [00:19:05]Read from MH i2c: E2 FD 00 20 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 1A [00:19:05]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:19:05]wFMCommunicate OK [00:19:05]wFMCommunicate request_size=4 [00:19:05]MH_SAM_APDU [00:19:05]CAPDU: 80 17 00 00 [00:19:05]Write to MH i2c: E2 08 00 21 00 80 17 00 00 00 00 00 00 A1 [00:19:05]Write i2c OK [00:19:05]MH_I2C_Read... [00:19:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:19:05]Read from MH i2c: E2 [00:19:05]MH_I2C_Read... [00:19:05]Read from MH i2c: E2 DC 00 [00:19:05]MH_I2C_Read... [00:19:05]Read from MH i2c: E2 DC 00 21 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [00:19:05]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:19:05]wFMCommunicate OK [00:19:05]SAM_PROTO_GetFMData done [00:19:05]requested_item fm.sale_refund.total is exist - process it [00:19:05]requested_item fm.buy.total is exist - process it [00:19:05]requested_item shift.sale.total is exist - process it [00:19:05]SAM_PROTO_GetShiftData [00:19:05]wFMCommunicate request_size=4 [00:19:05]MH_SAM_APDU [00:19:05]CAPDU: 80 13 02 00 [00:19:05]Write to MH i2c: E2 08 00 22 00 80 13 02 00 00 00 00 00 A0 [00:19:05]Write i2c OK [00:19:05]MH_I2C_Read... [00:19:05]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:19:05]Read from MH i2c: E2 [00:19:05]MH_I2C_Read... [00:19:05]Read from MH i2c: E2 FD 00 [00:19:05]MH_I2C_Read... [00:19:05]Read from MH i2c: E2 FD 00 22 00 00 AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 70 34 10 70 04 03 00 30 D0 0E 72 04 03 00 40 64 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 82 B8 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AC 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 63 [00:19:06]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 70 34 10 70 04 03 00 30 D0 0E 72 04 03 00 40 64 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 82 B8 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AC 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:19:06]wFMCommunicate OK [00:19:06]wFMCommunicate request_size=4 [00:19:06]MH_SAM_APDU [00:19:06]CAPDU: 80 17 00 00 [00:19:06]Write to MH i2c: E2 08 00 23 00 80 17 00 00 00 00 00 00 A3 [00:19:06]Write i2c OK [00:19:06]MH_I2C_Read... [00:19:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:06]Read from MH i2c: E2 [00:19:06]MH_I2C_Read... [00:19:06]Read from MH i2c: E2 FD 00 [00:19:06]MH_I2C_Read... [00:19:06]Read from MH i2c: E2 FD 00 23 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 C5 [00:19:06]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:19:06]wFMCommunicate OK [00:19:06]wFMCommunicate request_size=4 [00:19:06]MH_SAM_APDU [00:19:06]CAPDU: 80 17 00 00 [00:19:06]Write to MH i2c: E2 08 00 24 00 80 17 00 00 00 00 00 00 A4 [00:19:06]Write i2c OK [00:19:06]MH_I2C_Read... [00:19:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:06]Read from MH i2c: E2 [00:19:06]MH_I2C_Read... [00:19:06]Read from MH i2c: E2 FD 00 [00:19:06]MH_I2C_Read... [00:19:06]Read from MH i2c: E2 FD 00 24 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 5B [00:19:06]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:19:06]wFMCommunicate OK [00:19:06]wFMCommunicate request_size=4 [00:19:06]MH_SAM_APDU [00:19:06]CAPDU: 80 17 00 00 [00:19:06]Write to MH i2c: E2 08 00 25 00 80 17 00 00 00 00 00 00 A5 [00:19:06]Write i2c OK [00:19:06]MH_I2C_Read... [00:19:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:07]Read from MH i2c: E2 [00:19:07]MH_I2C_Read... [00:19:07]Read from MH i2c: E2 FD 00 [00:19:07]MH_I2C_Read... [00:19:07]Read from MH i2c: E2 FD 00 25 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 17 [00:19:07]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:19:07]wFMCommunicate OK [00:19:07]wFMCommunicate request_size=4 [00:19:07]MH_SAM_APDU [00:19:07]CAPDU: 80 17 00 00 [00:19:07]Write to MH i2c: E2 08 00 26 00 80 17 00 00 00 00 00 00 A6 [00:19:07]Write i2c OK [00:19:07]MH_I2C_Read... [00:19:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:19:07]Read from MH i2c: E2 [00:19:07]MH_I2C_Read... [00:19:07]Read from MH i2c: E2 CB 00 [00:19:07]MH_I2C_Read... [00:19:07]Read from MH i2c: E2 CB 00 26 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 8F [00:19:07]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:19:07]wFMCommunicate OK [00:19:07]SAM_PROTO_GetShiftData done [00:19:07]requested_item shift.sale.total_cash is exist - process it [00:19:07]requested_item shift.sale_refund.total is exist - process it [00:19:07]requested_item shift.sale_refund.total_cash is exist - process it [00:19:07]requested_item shift.buy.total is exist - process it [00:19:07]requested_item shift.buy.total_cash is exist - process it [00:19:07]produce_requested_data done [00:19:07]produce_requested_data return {"fm.sale.total":3475442.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":10620.00,"shift.sale.total_cash":9708.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:19:07]process_action_free get_value [00:19:07]json_value_free [00:19:07]json_value_free done [00:19:07]process_json_proto returns [00:19:07]Send response to host [00:19:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3475442.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":10620.00,"shift.sale.total_cash":9708.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:19:07]free response buf [00:19:07]execute_script done [00:19:07]execute_script returns [00:19:07]free content buf [00:19:07]Sock 9.Close socket [00:19:07]Sock 9.Thread stoped [00:19:07]accept exits with 7 [00:19:07]New connection [00:19:07]New thread 3066965348 created [00:19:07]Thread 3067108708 joined [00:19:07]Waiting for new connection... [00:19:07] Sock 7.Parse request [00:19:07]Sock 7.Check first char [00:19:07]Sock 7.First char is OK [00:19:07]request: POST /json_proto HTTP/1.0 [00:19:07]Method: POST [00:19:07]URL: /json_proto [00:19:07]Method is POST - this is cgi request [00:19:07]url: /json_proto [00:19:07]query_string will be loaded in cgi processing [00:19:07]execute_cgi json_proto POST (null) [00:19:07]execute_cgi path=json_proto method=POST [00:19:07]POST find Content-Length [00:19:07]Host: 172.17.53.196:8080 [00:19:07]Content-Length: 254 [00:19:07]Content-Type: application/json [00:19:07] [00:19:07]POST finish read [00:19:07]Found Content-Length = 254 [00:19:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041C\u0443\u0440\u0437\u0430\u0435\u0432 \u0422. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:19:07]execute_script... [00:19:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041C\u0443\u0440\u0437\u0430\u0435\u0432 \u0422. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:19:07]POST & json_proto [00:19:07]process_json_proto [00:19:07]json parsed OK: [00:19:07]protocol is kg_v1.0 [00:19:07]action value=close_shift [00:19:07]process_action close_shift [00:19:07]cmd_close_shift [00:19:07]MH_GetDate [00:19:07]Write to MH i2c: F0 00 00 27 00 16 [00:19:07]Write i2c OK [00:19:07]MH_I2C_Read... [00:19:07]Read from MH i2c: F0 [00:19:07]MH_I2C_Read... [00:19:07]Read from MH i2c: F0 09 00 [00:19:07]MH_I2C_Read... [00:19:07]Read from MH i2c: F0 09 00 27 00 00 FC 9D 15 67 4F CD 9A 65 4F [00:19:07]GetLastDocTimeStamp 112 [00:19:07]current date 1729469948 [00:19:07]FM_GetShiftState [00:19:07]SAM_PROTO_GetShiftState [00:19:07]wFMCommunicate request_size=4 [00:19:07]MH_SAM_APDU [00:19:07]CAPDU: 80 13 01 00 [00:19:07]Write to MH i2c: E2 08 00 28 00 80 13 01 00 00 00 00 00 A5 [00:19:07]Write i2c OK [00:19:07]MH_I2C_Read... [00:19:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:19:07]Read from MH i2c: E2 [00:19:07]MH_I2C_Read... [00:19:07]Read from MH i2c: E2 0E 00 [00:19:07]MH_I2C_Read... [00:19:07]Read from MH i2c: E2 0E 00 28 00 00 09 00 01 71 4E 14 67 00 00 00 00 90 00 EB [00:19:07]RAPDU: 09 00 01 71 4E 14 67 00 00 00 00 90 00 [00:19:07]wFMCommunicate OK [00:19:07]SAM_PROTO_GetShiftState done [00:19:07]FM_GetShiftState done [00:19:07]KKMCreateCloseShiftDocument [00:19:07]Load OK [00:19:07]Malloc new data [00:19:07]MH_GetDate [00:19:07]Write to MH i2c: F0 00 00 29 00 18 [00:19:07]Write i2c OK [00:19:07]MH_I2C_Read... [00:19:07]Read from MH i2c: F0 [00:19:07]MH_I2C_Read... [00:19:07]Read from MH i2c: F0 09 00 [00:19:07]MH_I2C_Read... [00:19:07]Read from MH i2c: F0 09 00 29 00 00 FC 9D 15 67 4F CD 9A 65 51 [00:19:07]Malloc new data [00:19:07]Malloc new data [00:19:07]Malloc new data [00:19:07]Malloc new data [00:19:07]KKMCreateCloseShiftDocument OK [00:19:07]KKMSetCloseShiftData OK [00:19:07]ProcessDocumentItem done err = 0, tmpTLVsize=69 [00:19:07]tlvbuf is 011CFE70 [00:19:07]KKMLoadAndSignCloseShiftData [00:19:07]SAM_PROTO_ProcessDocument [00:19:07]wFMCommunicate request_size=9 [00:19:07]MH_SAM_APDU [00:19:07]CAPDU: 80 15 01 00 04 05 00 45 00 [00:19:07]Write to MH i2c: E2 0C 00 2A 00 80 15 01 00 04 00 05 00 45 00 00 00 FB [00:19:07]Write i2c OK [00:19:07]MH_I2C_Read... [00:19:07]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:19:07]Read from MH i2c: E2 [00:19:07]MH_I2C_Read... [00:19:07]Read from MH i2c: E2 03 00 [00:19:07]MH_I2C_Read... [00:19:07]Read from MH i2c: E2 03 00 2A 00 00 90 00 9E [00:19:07]RAPDU: 90 00 [00:19:07]wFMCommunicate OK [00:19:07]wFMCommunicate request_size=23 [00:19:07]MH_SAM_APDU [00:19:07]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:19:07]Write to MH i2c: E2 1A 00 2B 00 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 A0 [00:19:07]Write i2c OK [00:19:07]MH_I2C_Read... [00:19:07]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:19:07]Read from MH i2c: E2 [00:19:07]MH_I2C_Read... [00:19:07]Read from MH i2c: E2 03 00 [00:19:07]MH_I2C_Read... [00:19:07]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [00:19:07]RAPDU: 90 00 [00:19:07]wFMCommunicate OK [00:19:07]wFMCommunicate request_size=28 [00:19:07]MH_SAM_APDU [00:19:07]CAPDU: 80 15 02 00 17 FD 03 13 00 D0 9C D1 83 D1 80 D0 B7 D0 B0 D0 B5 D0 B2 20 D0 A2 2E 20 [00:19:07]Write to MH i2c: E2 1F 00 2C 00 80 15 02 00 17 00 FD 03 13 00 D0 9C D1 83 D1 80 D0 B7 D0 B0 D0 B5 D0 B2 20 D0 A2 2E 20 00 00 EC [00:19:08]Write i2c OK [00:19:08]MH_I2C_Read... [00:19:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:19:08]Read from MH i2c: E2 [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 03 00 [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [00:19:08]RAPDU: 90 00 [00:19:08]wFMCommunicate OK [00:19:08]wFMCommunicate request_size=13 [00:19:08]MH_SAM_APDU [00:19:08]CAPDU: 80 15 02 00 08 F4 03 04 00 FC 9D 15 67 [00:19:08]Write to MH i2c: E2 10 00 2D 00 80 15 02 00 08 00 F4 03 04 00 FC 9D 15 67 00 00 CD [00:19:08]Write i2c OK [00:19:08]MH_I2C_Read... [00:19:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:19:08]Read from MH i2c: E2 [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 03 00 [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [00:19:08]RAPDU: 90 00 [00:19:08]wFMCommunicate OK [00:19:08]wFMCommunicate request_size=25 [00:19:08]MH_SAM_APDU [00:19:08]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 [00:19:08]Write to MH i2c: E2 1C 00 2E 00 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 00 00 14 [00:19:08]Write i2c OK [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 [00:19:08]MH_I2C_Read... [00:19:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:19:08]Read from MH i2c: E2 03 00 [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [00:19:08]RAPDU: 90 00 [00:19:08]wFMCommunicate OK [00:19:08]wFMCommunicate request_size=4 [00:19:08]MH_SAM_APDU [00:19:08]CAPDU: 80 15 03 00 [00:19:08]Write to MH i2c: E2 08 00 2F 00 80 15 03 00 00 00 00 00 B0 [00:19:08]Write i2c OK [00:19:08]MH_I2C_Read... [00:19:08]OFD Sender: No OFD packet to send [00:19:08]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:19:08]Read from MH i2c: E2 [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 FD 00 [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 FD 00 2F 00 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 53 61 00 00 0E 04 04 00 C7 01 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 4A 00 00 00 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 70 34 10 70 04 03 00 30 D0 0E 72 04 03 00 40 64 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 82 B8 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AC 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 24 [00:19:08]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 53 61 00 00 0E 04 04 00 C7 01 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 4A 00 00 00 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 70 34 10 70 04 03 00 30 D0 0E 72 04 03 00 40 64 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 82 B8 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AC 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:19:08]wFMCommunicate OK [00:19:08]SAM_PROTO_ProcessDocument answer len = 1265 [00:19:08]SAM_PROTO_ProcessDocument remain to read = 1017 [00:19:08]wFMCommunicate request_size=4 [00:19:08]MH_SAM_APDU [00:19:08]CAPDU: 80 17 00 00 [00:19:08]Write to MH i2c: E2 08 00 30 00 80 17 00 00 00 00 00 00 B0 [00:19:08]Write i2c OK [00:19:08]MH_I2C_Read... [00:19:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:09]Read from MH i2c: E2 [00:19:09]MH_I2C_Read... [00:19:09]Read from MH i2c: E2 FD 00 [00:19:09]MH_I2C_Read... [00:19:09]Read from MH i2c: E2 FD 00 30 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 F9 [00:19:09]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:19:09]wFMCommunicate OK [00:19:09]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:19:09]SAM_PROTO_ProcessDocument remain to read = 767 [00:19:09]wFMCommunicate request_size=4 [00:19:09]MH_SAM_APDU [00:19:09]CAPDU: 80 17 00 00 [00:19:09]Write to MH i2c: E2 08 00 31 00 80 17 00 00 00 00 00 00 B1 [00:19:09]Write i2c OK [00:19:09]MH_I2C_Read... [00:19:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:09]Read from MH i2c: E2 [00:19:09]MH_I2C_Read... [00:19:09]Read from MH i2c: E2 FD 00 [00:19:09]MH_I2C_Read... [00:19:09]Read from MH i2c: E2 FD 00 31 00 00 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 13 [00:19:09]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:19:09]wFMCommunicate OK [00:19:09]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:19:09]SAM_PROTO_ProcessDocument remain to read = 517 [00:19:09]wFMCommunicate request_size=4 [00:19:09]MH_SAM_APDU [00:19:09]CAPDU: 80 17 00 00 [00:19:09]Write to MH i2c: E2 08 00 32 00 80 17 00 00 00 00 00 00 B2 [00:19:09]Write i2c OK [00:19:09]MH_I2C_Read... [00:19:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:10]Read from MH i2c: E2 [00:19:10]MH_I2C_Read... [00:19:10]Read from MH i2c: E2 FD 00 [00:19:10]MH_I2C_Read... [00:19:10]Read from MH i2c: E2 FD 00 32 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 3C [00:19:10]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 [00:19:10]wFMCommunicate OK [00:19:10]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:19:10]SAM_PROTO_ProcessDocument remain to read = 267 [00:19:10]wFMCommunicate request_size=4 [00:19:10]MH_SAM_APDU [00:19:10]CAPDU: 80 17 00 00 [00:19:10]Write to MH i2c: E2 08 00 33 00 80 17 00 00 00 00 00 00 B3 [00:19:10]Write i2c OK [00:19:10]MH_I2C_Read... [00:19:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:10]Read from MH i2c: E2 [00:19:10]MH_I2C_Read... [00:19:10]Read from MH i2c: E2 FD 00 [00:19:10]MH_I2C_Read... [00:19:10]Read from MH i2c: E2 FD 00 33 00 00 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 7B [00:19:10]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:19:10]wFMCommunicate OK [00:19:10]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:19:10]SAM_PROTO_ProcessDocument remain to read = 17 [00:19:10]wFMCommunicate request_size=4 [00:19:10]MH_SAM_APDU [00:19:10]CAPDU: 80 17 00 00 [00:19:10]Write to MH i2c: E2 08 00 34 00 80 17 00 00 00 00 00 00 B4 [00:19:10]Write i2c OK [00:19:10]MH_I2C_Read... [00:19:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [00:19:10]Read from MH i2c: E2 [00:19:10]MH_I2C_Read... [00:19:10]Read from MH i2c: E2 14 00 [00:19:10]MH_I2C_Read... [00:19:10]Read from MH i2c: E2 14 00 34 00 00 01 00 06 F7 03 00 00 35 04 06 00 B7 08 0A F2 E5 F1 90 00 8A [00:19:10]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 B7 08 0A F2 E5 F1 90 00 [00:19:10]wFMCommunicate OK [00:19:10]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [00:19:10]SAM_PROTO_ProcessDocument done [00:19:10]1209 (1) - 1.0 - номер версии ФФД [00:19:10]1041 (16) - 0000000000965376 - номер ФМ [00:19:10]1040 (4) - 24915 - номер ФД [00:19:10]1038 (4) - 455 - номер смены [00:19:10]1118 (4) - 72 - количество кассовых чеков за смену [00:19:10]1111 (4) - 74 - общее количество ФД за смену [00:19:10]1194 (1194) - счетчики итогов смены [00:19:10] 1134 (4) - 72 - количество чеков со всеми признаками расчетов [00:19:10] 1129 (155) - счетчики операций «приход» [00:19:10] 1135 (4) - 72 - количество чеков по признаку расчетов [00:19:10] 1201 (3) - 10620.00 - общая итоговая сумма в чеках [00:19:10] 1136 (3) - 9708.00 - итоговая сумма в чеках наличными [00:19:10] 1138 (3) - 912.00 - итоговая сумма в чеках безналичными [00:19:10] 1024 (122) - суммы налогов [00:19:10] 1006 (9) - суммы НДС [00:19:10] 1010 (1) - 0% - код ставки НДС [00:19:10] 1011 (0) - 0.00 - сумма НДС по ставке [00:19:10] 1006 (12) - суммы НДС [00:19:10] 1010 (1) - 12% - код ставки НДС [00:19:10] 1011 (3) - 1127.70 - сумма НДС по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 0% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1007 (11) - суммы НСП [00:19:10] 1014 (1) - 1% - код ставки НСП [00:19:10] 1015 (2) - 93.88 - сумма НСП по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 2% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 3% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 5% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 0,50% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 1,50% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1130 (141) - счетчики операций «возврат прихода» [00:19:10] 1135 (4) - 0 - количество чеков по признаку расчетов [00:19:10] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:19:10] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:19:10] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:19:10] 1024 (117) - суммы налогов [00:19:10] 1006 (9) - суммы НДС [00:19:10] 1010 (1) - 0% - код ставки НДС [00:19:10] 1011 (0) - 0.00 - сумма НДС по ставке [00:19:10] 1006 (9) - суммы НДС [00:19:10] 1010 (1) - 12% - код ставки НДС [00:19:10] 1011 (0) - 0.00 - сумма НДС по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 0% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 1% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 2% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 3% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 5% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 0,50% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 1,50% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1131 (141) - счетчики операций «расход» [00:19:10] 1135 (4) - 0 - количество чеков по признаку расчетов [00:19:10] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:19:10] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:19:10] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:19:10] 1024 (117) - суммы налогов [00:19:10] 1006 (9) - суммы НДС [00:19:10] 1010 (1) - 0% - код ставки НДС [00:19:10] 1011 (0) - 0.00 - сумма НДС по ставке [00:19:10] 1006 (9) - суммы НДС [00:19:10] 1010 (1) - 12% - код ставки НДС [00:19:10] 1011 (0) - 0.00 - сумма НДС по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 0% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 1% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 2% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 3% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 5% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 0,50% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 1,50% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1132 (141) - счетчики операций «возврат расхода» [00:19:10] 1135 (4) - 0 - количество чеков по признаку расчетов [00:19:10] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:19:10] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:19:10] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:19:10] 1024 (117) - суммы налогов [00:19:10] 1006 (9) - суммы НДС [00:19:10] 1010 (1) - 0% - код ставки НДС [00:19:10] 1011 (0) - 0.00 - сумма НДС по ставке [00:19:10] 1006 (9) - суммы НДС [00:19:10] 1010 (1) - 12% - код ставки НДС [00:19:10] 1011 (0) - 0.00 - сумма НДС по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 0% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 1% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:10] 1007 (9) - суммы НСП [00:19:10] 1014 (1) - 2% - код ставки НСП [00:19:10] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:11] 1007 (9) - суммы НСП [00:19:11] 1014 (1) - 3% - код ставки НСП [00:19:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:11] 1007 (9) - суммы НСП [00:19:11] 1014 (1) - 5% - код ставки НСП [00:19:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:11] 1007 (9) - суммы НСП [00:19:11] 1014 (1) - 0,50% - код ставки НСП [00:19:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:11] 1007 (9) - суммы НСП [00:19:11] 1014 (1) - 1,50% - код ставки НСП [00:19:11] 1015 (0) - 0.00 - сумма НСП по ставке [00:19:11] 1133 (588) - - счетчики коррекции - не используются [00:19:11]1077 (6) - 201245171312113 - ФПД [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1209 (04B9) [00:19:11]Malloc new data [00:19:11]Processing tag 1041 (0411) [00:19:11]Processing tag 1040 (0410) [00:19:11]Malloc new data [00:19:11]Processing tag 1038 (040E) [00:19:11]Malloc new data [00:19:11]Processing tag 1118 (045E) [00:19:11]Malloc new data [00:19:11]Processing tag 1111 (0457) [00:19:11]Malloc new data [00:19:11]Processing tag 1194 (04AA) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1134 (046E) [00:19:11]Malloc new data [00:19:11]Processing tag 1129 (0469) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1135 (046F) [00:19:11]Malloc new data [00:19:11]Processing tag 1201 (04B1) [00:19:11]Malloc new data [00:19:11]Processing tag 1136 (0470) [00:19:11]Malloc new data [00:19:11]Processing tag 1138 (0472) [00:19:11]Malloc new data [00:19:11]Processing tag 1024 (0400) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1006 (03EE) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1010 (03F2) [00:19:11]Malloc new data [00:19:11]Processing tag 1011 (03F3) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1006 (03EE) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1010 (03F2) [00:19:11]Malloc new data [00:19:11]Processing tag 1011 (03F3) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]SetTLVBufToDocument err=0 [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1130 (046A) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1135 (046F) [00:19:11]Malloc new data [00:19:11]Processing tag 1201 (04B1) [00:19:11]Malloc new data [00:19:11]Processing tag 1136 (0470) [00:19:11]Malloc new data [00:19:11]Processing tag 1138 (0472) [00:19:11]Malloc new data [00:19:11]Processing tag 1024 (0400) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1006 (03EE) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1010 (03F2) [00:19:11]Malloc new data [00:19:11]Processing tag 1011 (03F3) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1006 (03EE) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1010 (03F2) [00:19:11]Malloc new data [00:19:11]Processing tag 1011 (03F3) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]SetTLVBufToDocument err=0 [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1131 (046B) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1135 (046F) [00:19:11]Malloc new data [00:19:11]Processing tag 1201 (04B1) [00:19:11]Malloc new data [00:19:11]Processing tag 1136 (0470) [00:19:11]Malloc new data [00:19:11]Processing tag 1138 (0472) [00:19:11]Malloc new data [00:19:11]Processing tag 1024 (0400) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1006 (03EE) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1010 (03F2) [00:19:11]Malloc new data [00:19:11]Processing tag 1011 (03F3) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1006 (03EE) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1010 (03F2) [00:19:11]Malloc new data [00:19:11]Processing tag 1011 (03F3) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]SetTLVBufToDocument err=0 [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1132 (046C) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1135 (046F) [00:19:11]Malloc new data [00:19:11]Processing tag 1201 (04B1) [00:19:11]Malloc new data [00:19:11]Processing tag 1136 (0470) [00:19:11]Malloc new data [00:19:11]Processing tag 1138 (0472) [00:19:11]Malloc new data [00:19:11]Processing tag 1024 (0400) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1006 (03EE) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1010 (03F2) [00:19:11]Malloc new data [00:19:11]Processing tag 1011 (03F3) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1006 (03EE) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1010 (03F2) [00:19:11]Malloc new data [00:19:11]Processing tag 1011 (03F3) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1007 (03EF) [00:19:11]Load OK [00:19:11]SetTLVBufToDocument [00:19:11]Processing tag 1014 (03F6) [00:19:11]Malloc new data [00:19:11]Processing tag 1015 (03F7) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]SetTLVBufToDocument err=0 [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1133 (046D) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Processing tag 1077 (0435) [00:19:11]Malloc new data [00:19:11]SetTLVBufToDocument err=0 [00:19:11]Malloc new data [00:19:11]SAM_PROTO_GetFMData [00:19:11]wFMCommunicate request_size=4 [00:19:11]MH_SAM_APDU [00:19:11]CAPDU: 80 13 03 00 [00:19:11]Write to MH i2c: E2 08 00 35 00 80 13 03 00 00 00 00 00 B4 [00:19:11]Write i2c OK [00:19:11]MH_I2C_Read... [00:19:12]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:19:12]Read from MH i2c: E2 [00:19:12]MH_I2C_Read... [00:19:12]Read from MH i2c: E2 FD 00 [00:19:12]MH_I2C_Read... [00:19:12]Read from MH i2c: E2 FD 00 35 00 00 BF 04 85 04 BB 04 6E 04 04 00 C4 5D 00 00 69 04 A0 00 6F 04 04 00 B6 5D 00 00 B1 04 04 00 88 1A B7 14 70 04 04 00 A8 15 8A 12 72 04 04 00 E0 04 2D 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 05 21 33 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 F7 E2 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 A0 [00:19:12]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 C4 5D 00 00 69 04 A0 00 6F 04 04 00 B6 5D 00 00 B1 04 04 00 88 1A B7 14 70 04 04 00 A8 15 8A 12 72 04 04 00 E0 04 2D 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 05 21 33 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 F7 E2 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 [00:19:12]wFMCommunicate OK [00:19:12]wFMCommunicate request_size=4 [00:19:12]MH_SAM_APDU [00:19:12]CAPDU: 80 17 00 00 [00:19:12]Write to MH i2c: E2 08 00 36 00 80 17 00 00 00 00 00 00 B6 [00:19:12]Write i2c OK [00:19:12]MH_I2C_Read... [00:19:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:12]Read from MH i2c: E2 [00:19:12]MH_I2C_Read... [00:19:12]Read from MH i2c: E2 FD 00 [00:19:12]MH_I2C_Read... [00:19:12]Read from MH i2c: E2 FD 00 36 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 A8 [00:19:12]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:19:13]wFMCommunicate OK [00:19:13]wFMCommunicate request_size=4 [00:19:13]MH_SAM_APDU [00:19:13]CAPDU: 80 17 00 00 [00:19:13]Write to MH i2c: E2 08 00 37 00 80 17 00 00 00 00 00 00 B7 [00:19:13]Write i2c OK [00:19:13]MH_I2C_Read... [00:19:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:13]Read from MH i2c: E2 [00:19:13]MH_I2C_Read... [00:19:13]Read from MH i2c: E2 FD 00 [00:19:13]MH_I2C_Read... [00:19:13]Read from MH i2c: E2 FD 00 37 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 5B [00:19:13]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 OFD Sender: No OFD packet to send [00:19:13]01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:19:13]wFMCommunicate OK [00:19:13]wFMCommunicate request_size=4 [00:19:13]MH_SAM_APDU [00:19:13]CAPDU: 80 17 00 00 [00:19:13]Write to MH i2c: E2 08 00 38 00 80 17 00 00 00 00 00 00 B8 [00:19:13]Write i2c OK [00:19:13]MH_I2C_Read... [00:19:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:14]Read from MH i2c: E2 [00:19:14]MH_I2C_Read... [00:19:14]Read from MH i2c: E2 FD 00 [00:19:14]MH_I2C_Read... [00:19:14]Read from MH i2c: E2 FD 00 38 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 32 [00:19:14]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:19:14]wFMCommunicate OK [00:19:14]wFMCommunicate request_size=4 [00:19:14]MH_SAM_APDU [00:19:14]CAPDU: 80 17 00 00 [00:19:14]Write to MH i2c: E2 08 00 39 00 80 17 00 00 00 00 00 00 B9 [00:19:14]Write i2c OK [00:19:14]MH_I2C_Read... [00:19:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:19:14]Read from MH i2c: E2 [00:19:14]MH_I2C_Read... [00:19:14]Read from MH i2c: E2 DC 00 [00:19:14]MH_I2C_Read... [00:19:14]Read from MH i2c: E2 DC 00 39 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 9D [00:19:14]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:19:14]wFMCommunicate OK [00:19:14]SAM_PROTO_GetFMData done [00:19:14]Malloc new data [00:19:14]Malloc new data [00:19:14]Malloc new data [00:19:14]Malloc new data [00:19:14]KKMLoadAndSignCloseShiftData err=0 [00:19:14]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Мурзаев Т. 21.10.2024 00:19 Смена: 455 РНМ: 0000000000098147 ЗНМ: 0300000240 СНО: Общий режим Чеков за смену: 72 ФД за смену: 74 Всего чеков: 72 ИТОГИ ПРИХОД Чеков: 72 Общий итог: 10620.00 Итого наличными: 9708.00 Итого безнал.: 912.00 НДС 0% : 0.00 НДС 12% : 1127.70 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 93.88 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ РАСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ ВОЗВРАТ РАСХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 Сумма внесений: 0.00 Сумма выплат: 0.00 Нал. в кассе: 9708.00 НС Приход: 3475442.00 НС Возвр.Прихода: 4255.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 24915 ФМ: 0000000000965376 ФПД: 201245171312113 [00:19:14]StoreToDocumentArchive [00:19:14]shift 455 fd 24915 [00:19:14]save to /storage/0455/doc_00024915 [00:19:14]save last doc name /storage/0455/doc_00024915 to /storage/kkm_last_doc_name [00:19:14]save OK [00:19:14]Clear old archive folders... [00:19:14]Remove dir /storage/0266 [00:19:14]opendir ok [00:19:14]file . [00:19:14]file .. [00:19:14]file doc_1729469894 [00:19:14]remove file /storage/0266/doc_1729469894 [00:19:14]remove dir /storage/0266 [00:19:14]NVStorageSaveData kkm_registers [00:19:14]File name is /storage/kkm_registers [00:19:14]Write 24 bytes [00:19:14]NVStorageSaveData done [00:19:14]NVStorageSaveData kkm_registers [00:19:14]File name is /storage/kkm_registers [00:19:14]Write 24 bytes [00:19:14]NVStorageSaveData done [00:19:14]ProcessDocumentItem done err = 0, tmpTLVsize=1377 [00:19:14]tlvbuf is 01136860 [00:19:14]SAM_PROTO_ClearQueue [00:19:14]wFMCommunicate request_size=4 [00:19:14]MH_SAM_APDU [00:19:14]CAPDU: 80 09 00 00 [00:19:14]Write to MH i2c: E2 08 00 3A 00 80 09 00 00 00 00 00 00 AC [00:19:14]Write i2c OK [00:19:14]MH_I2C_Read... [00:19:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:19:14]Read from MH i2c: E2 [00:19:14]MH_I2C_Read... [00:19:14]Read from MH i2c: E2 03 00 [00:19:14]MH_I2C_Read... [00:19:14]Read from MH i2c: E2 03 00 3A 00 00 90 00 AE [00:19:14]RAPDU: 90 00 [00:19:14]wFMCommunicate OK [00:19:14]SAM_PROTO_ClearQueue done [00:19:14]KKMCreateOFDPacket [00:19:14]OFDProtocolAddRootSTLVToBuf [00:19:14]FM_MakeSignedData [00:19:14]FM_MakeSignedData [00:19:14]SAM_PROTO_SignData [00:19:14]wFMCommunicate request_size=4 [00:19:14]MH_SAM_APDU [00:19:14]CAPDU: 80 0D 01 02 [00:19:14]Write to MH i2c: E2 08 00 3B 00 80 0D 01 02 00 00 00 00 B4 [00:19:14]Write i2c OK [00:19:14]MH_I2C_Read... [00:19:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:19:14]Read from MH i2c: E2 [00:19:14]MH_I2C_Read... [00:19:14]Read from MH i2c: E2 03 00 [00:19:14]MH_I2C_Read... [00:19:14]Read from MH i2c: E2 03 00 3B 00 00 90 00 AF [00:19:14]RAPDU: 90 00 [00:19:14]wFMCommunicate OK [00:19:14]wFMCommunicate request_size=255 [00:19:14]MH_SAM_APDU [00:19:14]CAPDU: 80 0D 02 02 FA 05 00 61 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 13 00 D0 9C D1 83 D1 80 D0 B7 D0 B0 D0 B5 D0 B2 20 D0 A2 2E 20 F4 03 04 00 FC 9D 15 67 0E 04 04 00 C7 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 5E 04 04 00 48 00 00 00 57 04 04 00 4A 00 00 00 AA 04 D5 04 6E 04 04 00 48 00 00 00 69 04 A2 00 6F 04 04 00 48 00 00 00 B1 04 03 00 70 34 10 70 04 03 00 30 D0 0E 72 04 03 00 40 64 01 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 82 B8 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 [00:19:15]Write to MH i2c: E2 02 01 3C 00 80 0D 02 02 FA 00 05 00 61 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 13 00 D0 9C D1 83 D1 80 D0 B7 D0 B0 D0 B5 D0 B2 20 D0 A2 2E 20 F4 03 04 00 FC 9D 15 67 0E 04 04 00 C7 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 5E 04 04 00 48 00 00 00 57 04 04 00 4A 00 00 00 AA 04 D5 04 6E 04 04 00 48 00 00 00 69 04 A2 00 6F 04 04 00 48 00 00 00 B1 04 03 00 70 34 10 70 04 03 00 30 D0 0E 72 04 03 00 40 64 01 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 82 B8 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 00 B9 [00:19:15]Write i2c OK [00:19:15]MH_I2C_Read... [00:19:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:19:15]Read from MH i2c: E2 [00:19:15]MH_I2C_Read... [00:19:15]Read from MH i2c: E2 03 00 [00:19:15]MH_I2C_Read... [00:19:15]Read from MH i2c: E2 03 00 3C 00 00 90 00 B0 [00:19:15]RAPDU: 90 00 [00:19:15]wFMCommunicate OK [00:19:15]wFMCommunicate request_size=255 [00:19:15]MH_SAM_APDU [00:19:15]CAPDU: 80 0D 02 02 FA 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AC 24 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 [00:19:15]Write to MH i2c: E2 02 01 3D 00 80 0D 02 02 FA 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AC 24 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 00 00 F2 [00:19:15]Write i2c OK [00:19:15]MH_I2C_Read... [00:19:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:19:15]Read from MH i2c: E2 [00:19:15]MH_I2C_Read... [00:19:15]Read from MH i2c: E2 03 00 [00:19:15]MH_I2C_Read... [00:19:15]Read from MH i2c: E2 03 00 3D 00 00 90 00 B1 [00:19:15]RAPDU: 90 00 [00:19:15]wFMCommunicate OK [00:19:16]wFMCommunicate request_size=255 [00:19:16]MH_SAM_APDU [00:19:16]CAPDU: 80 0D 02 02 FA F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 [00:19:16]Write to MH i2c: E2 02 01 3E 00 80 0D 02 02 FA 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 00 7E [00:19:16]Write i2c OK [00:19:16]MH_I2C_Read... [00:19:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:19:16]Read from MH i2c: E2 [00:19:16]MH_I2C_Read... [00:19:16]Read from MH i2c: E2 03 00 [00:19:16]MH_I2C_Read... [00:19:16]Read from MH i2c: E2 03 00 3E 00 00 90 00 B2 [00:19:16]RAPDU: 90 00 [00:19:16]wFMCommunicate OK [00:19:16]wFMCommunicate request_size=255 [00:19:16]MH_SAM_APDU [00:19:16]CAPDU: 80 0D 02 02 FA 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 [00:19:16]Write to MH i2c: E2 02 01 3F 00 80 0D 02 02 FA 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 00 7E [00:19:16]Write i2c OK [00:19:16]MH_I2C_Read... [00:19:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:19:17]Read from MH i2c: E2 [00:19:17]MH_I2C_Read... [00:19:17]Read from MH i2c: E2 03 00 [00:19:17]MH_I2C_Read... [00:19:17]Read from MH i2c: E2 03 00 3F 00 00 90 00 B3 [00:19:17]RAPDU: 90 00 [00:19:17]wFMCommunicate OK [00:19:17]wFMCommunicate request_size=255 [00:19:17]MH_SAM_APDU [00:19:17]CAPDU: 80 0D 02 02 FA 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 [00:19:17]Write to MH i2c: E2 02 01 40 00 80 0D 02 02 FA 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 40 [00:19:17]Write i2c OK [00:19:17]MH_I2C_Read... [00:19:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:19:17]Read from MH i2c: E2 [00:19:17]MH_I2C_Read... [00:19:17]Read from MH i2c: E2 03 00 [00:19:17]MH_I2C_Read... [00:19:17]Read from MH i2c: E2 03 00 40 00 00 90 00 B4 [00:19:17]RAPDU: 90 00 [00:19:17]wFMCommunicate OK [00:19:17]wFMCommunicate request_size=136 [00:19:17]MH_SAM_APDU [00:19:17]CAPDU: 80 0D 02 02 83 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 53 61 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 35 04 06 00 B7 08 0A F2 E5 F1 [00:19:17]Write to MH i2c: E2 8B 00 41 00 80 0D 02 02 83 00 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 53 61 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 35 04 06 00 B7 08 0A F2 E5 F1 00 00 44 [00:19:17]Write i2c OK [00:19:17]MH_I2C_Read... [00:19:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:19:18]Read from MH i2c: E2 [00:19:18]MH_I2C_Read... [00:19:18]Read from MH i2c: E2 03 00 [00:19:18]MH_I2C_Read... [00:19:18]Read from MH i2c: E2 03 00 41 00 00 90 00 B5 [00:19:18]RAPDU: 90 00 [00:19:18]wFMCommunicate OK [00:19:18]wFMCommunicate request_size=4 [00:19:18]MH_SAM_APDU [00:19:18]CAPDU: 80 0D 03 02 [00:19:18]Write to MH i2c: E2 08 00 42 00 80 0D 03 02 00 00 00 00 BD [00:19:18]Write i2c OK [00:19:18]MH_I2C_Read... [00:19:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:19:18]Read from MH i2c: E2 [00:19:18]MH_I2C_Read... [00:19:18]Read from MH i2c: E2 0B 00 [00:19:18]MH_I2C_Read... [00:19:18]Read from MH i2c: E2 0B 00 42 00 00 69 2F DA 8D 8F DB 56 6C 90 00 E9 [00:19:18]RAPDU: 69 2F DA 8D 8F DB 56 6C 90 00 [00:19:18]wFMCommunicate OK [00:19:18]SAM_PROTO_SignData done [00:19:18]FM_MakeSignedData done [00:19:18]CreateOFDProtocolMessage [00:19:18]wFMCommunicate request_size=4 [00:19:18]MH_SAM_APDU [00:19:18]CAPDU: 80 11 00 00 [00:19:18]Write to MH i2c: E2 08 00 43 00 80 11 00 00 00 00 00 00 BD [00:19:18]Write i2c OK [00:19:18]MH_I2C_Read... [00:19:18]Read from MH i2c: E2 [00:19:18]MH_I2C_Read... [00:19:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:19:18]Read from MH i2c: E2 17 00 [00:19:18]MH_I2C_Read... [00:19:18]Read from MH i2c: E2 17 00 43 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 14 [00:19:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:19:18]wFMCommunicate OK [00:19:18]CreateOFDProtocolMessage done [00:19:18]OFDSenderStorePacket 24915 [00:19:18]StoreOFDPacket docnum=24915 [00:19:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 75 05 00 00 B1 04 6D 05 0A 07 5A 05 01 00 05 00 61 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 13 00 D0 9C D1 83 D1 80 D0 B7 D0 B0 D0 B5 D0 B2 20 D0 A2 2E 20 F4 03 04 00 FC 9D 15 67 0E 04 04 00 C7 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 5E 04 04 00 48 00 00 00 57 04 04 00 4A 00 00 00 AA 04 D5 04 6E 04 04 00 48 00 00 00 69 04 A2 00 6F 04 04 00 48 00 00 00 B1 04 03 00 70 34 10 70 04 03 00 30 D0 0E 72 04 03 00 40 64 01 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 82 B8 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AC 24 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 53 61 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 35 04 06 00 B7 08 0A F2 E5 F1 69 2F DA 8D 8F DB 56 6C [00:19:18]CheckFolder [00:19:18]dirname=/storage/ofd_packets [00:19:18]CheckFolder done [00:19:18]ProducePacketName [00:19:18]name=ofd_packets/00024915 [00:19:18]NVStorageSaveData ofd_packets/00024915 [00:19:18]File name is /storage/ofd_packets/00024915 [00:19:18]Write 1427 bytes [00:19:18]NVStorageSaveData done [00:19:18]OFDSenderStorePacket done [00:19:18]KKMCreateOFDPacket done [00:19:18]NVStorageSaveData kkm_last_timestamp [00:19:18]File name is /storage/kkm_last_timestamp [00:19:18]Write 4 bytes [00:19:18]NVStorageSaveData done [00:19:18]ExternCall_PrintAddStr [00:19:18]wPrintStart [00:19:18]Write to MH i2c: 01 00 00 44 00 44 [00:19:18]Write i2c OK [00:19:18]MH_I2C_Read... [00:19:18]Read from MH i2c: 01 [00:19:18]MH_I2C_Read... [00:19:18]Read from MH i2c: 01 07 00 [00:19:18]MH_I2C_Read... [00:19:18]Read from MH i2c: 01 07 00 44 00 00 00 00 00 00 FF 0F 59 [00:19:18]RasterBufferAndPrint [00:19:18]line Отчет о закрытии смены [00:19:18]line ФФД: 1.0 [00:19:18]line ИНН: 02508201610067 [00:19:18]line Кассир: Мурзаев Т. [00:19:18]line 21.10.2024 00:19 [00:19:18]line Смена: 455 [00:19:18]line РНМ: 0000000000098147 [00:19:18]line ЗНМ: 0300000240 [00:19:18]line СНО: Общий режим [00:19:18]line Чеков за смену: 72 [00:19:18]line ФД за смену: 74 [00:19:18]line Всего чеков: 72 [00:19:18]line ИТОГИ ПРИХОД [00:19:18]line Чеков: 72 [00:19:18]line Общий итог: 10620.00 [00:19:18]line Итого наличными: 9708.00 [00:19:18]line Итого безнал.: 912.00 [00:19:18]line НДС 0% : 0.00 [00:19:18]line НДС 12% : 1127.70 [00:19:18]line НСП 0% : 0.00 [00:19:18]line НСП 1,50% : 0.00 [00:19:18]line НСП 0,50% : 0.00 [00:19:18]line НСП 5% : 0.00 [00:19:18]line НСП 3% : 0.00 [00:19:18]line НСП 2% : 0.00 [00:19:18]OFD Sender: Processing packet 24915 [packets to send 5, broken 4] [00:19:18]ProducePacketName [00:19:18]name=ofd_packets/00024915 [00:19:18]OFD Sender: To server: pG, [00:19:18]CommunicateWithHost lk.salyk.kg:30040 [00:19:18]ConnectInit lk.salyk.kg [00:19:18]line НСП 1% : 93.88 [00:19:18]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:19:18]line Чеков: 0 [00:19:18]line Общий итог: 0.00 [00:19:18]line Итого наличными: 0.00 [00:19:18]line Итого безнал.: 0.00 [00:19:18]line НДС 0% : 0.00 [00:19:18]line НДС 12% : 0.00 [00:19:18]line НСП 0% : 0.00 [00:19:18]line НСП 1,50% : 0.00 [00:19:18]line НСП 0,50% : 0.00 [00:19:18]line НСП 5% : 0.00 [00:19:18]line НСП 3% : 0.00 [00:19:18]line НСП 2% : 0.00 [00:19:18]line НСП 1% : 0.00 [00:19:18]line ИТОГИ РАСХОД [00:19:18]line Чеков: 0 [00:19:18]line Общий итог: 0.00 [00:19:18]line Итого наличными: 0.00 [00:19:18]line Итого безнал.: 0.00 [00:19:18]line НДС 0% : 0.00 [00:19:18]line НДС 12% : 0.00 [00:19:18]line НСП 0% : 0.00 [00:19:18]line НСП 1,50% : 0.00 [00:19:18]line НСП 0,50% : 0.00 [00:19:18]line НСП 5% : 0.00 [00:19:18]line НСП 3% : 0.00 [00:19:18]line НСП 2% : 0.00 [00:19:18]line НСП 1% : 0.00 [00:19:18]line ИТОГИ ВОЗВРАТ РАСХОДА [00:19:18]line Чеков: 0 [00:19:18]line Общий итог: 0.00 [00:19:18]line Итого наличными: 0.00 [00:19:18]line Итого безнал.: 0.00 [00:19:18]line НДС 0% : 0.00 [00:19:18]line НДС 12% : 0.00 [00:19:18]line НСП 0% : 0.00 [00:19:18]line НСП 1,50% : 0.00 [00:19:18]line НСП 0,50% : 0.00 [00:19:18]line НСП 5% : 0.00 [00:19:18]line НСП 3% : 0.00 [00:19:18]line НСП 2% : 0.00 [00:19:18]line НСП 1% : 0.00 [00:19:18]line Сумма внесений: 0.00 [00:19:18]line Сумма выплат: 0.00 [00:19:18]line Нал. в кассе: 9708.00 [00:19:18]line НС Приход: 3475442.00 [00:19:18]line НС Возвр.Прихода: 4255.00 [00:19:18]line НС Расход: 0.00 [00:19:18]line НС Возвр.Расхода: 0.00 [00:19:18]line ФД: 24915 [00:19:18]line ФМ: 0000000000965376 [00:19:18]line ФПД: 201245171312113 [00:19:18]written 0, free lines is 4095 [00:19:18]Connected sock=10 [00:19:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 75 05 00 00 B1 04 6D 05 0A 07 5A 05 01 00 05 00 61 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 13 00 D0 9C D1 83 D1 80 D0 B7 D0 B0 D0 B5 D0 B2 20 D0 A2 2E 20 F4 03 04 00 FC 9D 15 67 0E 04 04 00 C7 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 5E 04 04 00 48 00 00 00 57 04 04 00 4A 00 00 00 AA 04 D5 04 6E 04 04 00 48 00 00 00 69 04 A2 00 6F 04 04 00 48 00 00 00 B1 04 03 00 70 34 10 70 04 03 00 30 D0 0E 72 04 03 00 40 64 01 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 82 B8 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AC 24 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 Write to MH i2c: F2 01 03 00 01 00 00 94 01 00 F3 94 03 [00:19:19]00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 Write i2c OK [00:19:19]03 MH_I2C_Read... [00:19:19]01 Read from MH i2c: 00 01 01 [00:19:19]F7 MH_I2C_Read... [00:19:19]03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 Read from MH i2c: 03 01 01 07 00 00 03 [00:19:19]F7 MH_I2C_Read... [00:19:19]03 Read from MH i2c: 00 01 00 07 EF 00 03 94 00 09 00 00 00 F6 00 03 00 01 00 00 1C 04 0C F7 C3 03 [00:19:19]00 RasterBufferAndPrint [00:19:19]00 line [00:19:19]EF line [00:19:19]03 line [00:19:19]09 line [00:19:19]00 line [00:19:19]F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 written 0, free lines is 3228 [00:19:19]00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 process_action close_shift done [00:19:19]B1 requested_data is exist [00:19:19]04 produce_requested_data [00:19:19]00 requested_item fd.num is exist - process it [00:19:19]00 SAM_PROTO_GetFieldsCounters [00:19:19]70 wFMCommunicate request_size=4 [00:19:19]04 MH_SAM_APDU [00:19:19]00 CAPDU: 00 80 72 13 04 00 00 00 00 [00:19:19]00 Write to MH i2c: 04 E2 75 08 00 00 EE 9B 03 00 09 80 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 13 00 00 01 00 F3 00 03 00 00 00 00 00 EF 17 03 [00:19:19]09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 Write i2c OK [00:19:19]01 MH_I2C_Read... [00:19:19]00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 53 61 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 35 04 06 00 B7 08 0A F2 E5 F1 69 2F DA 8D 8F DB 56 6C [00:19:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:19:20]Read from MH i2c: E2 [00:19:20]MH_I2C_Read... [00:19:20]Read from MH i2c: E2 62 00 [00:19:20]MH_I2C_Read... [00:19:20]Read from MH i2c: E2 62 00 9B 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 53 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 95 [00:19:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 53 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:19:20]wFMCommunicate OK [00:19:20]SAM_PROTO_GetFieldsCounters done [00:19:20]requested_item shift.num is exist - process it [00:19:20]requested_item shift.opened is exist - process it [00:19:20]req_shift_opened [00:19:20]FM_GetShiftState [00:19:20]SAM_PROTO_GetShiftState [00:19:20]wFMCommunicate request_size=4 [00:19:20]MH_SAM_APDU [00:19:20]CAPDU: 80 13 01 00 [00:19:20]Write to MH i2c: E2 08 00 9C 00 80 13 01 00 00 00 00 00 19 [00:19:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 B3 5C 47 00 4C 2C Write i2c OK [00:19:20]A5 MH_I2C_Read... [00:19:20]07 Read from MH i2c: 01 E2 00 [00:19:20]07 MH_I2C_Read... [00:19:20]00 3B 00 F9 Read from MH i2c: E2 03 0E 0E 00 00 [00:19:20]37 MH_I2C_Read... [00:19:20]37 Read from MH i2c: 30 E2 39 0E *** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:19:20]00 33 9C 36 00 34 00 33 09 34 00 36 00 31 00 32 00 33 00 34 00 11 00 04 00 10 00 00 00 30 90 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 00 04 24 00 [00:19:20]53 RAPDU: 61 09 00 00 00 00 F4 00 03 00 04 00 00 00 85 00 46 00 15 00 67 00 B6 90 04 00 01 [00:19:20]00 wFMCommunicate OK [00:19:20]00 SAM_PROTO_GetShiftState done [00:19:20]82 FM_GetShiftState done [00:19:20]D4 req_shift_opened done [00:19:20]0A requested_item shift.open_date is exist - process it [00:19:20]24 req_shift_open_date [00:19:20]11 FM_GetShiftState [00:19:20]7D SAM_PROTO_GetShiftState [00:19:20]17 wFMCommunicate request_size=4 [00:19:20]72 MH_SAM_APDU [00:19:20] [00:19:20]CAPDU: CommunicateWithHost err = 0 [00:19:20]80 CheckOFDResponse [00:19:20]13 1017 (14) - 77093643461234 [00:19:20]01 1041 (16) - 0000000000965376 [00:19:20]1040 (4) - 24915 [00:19:20]1012 (4) - 20.10.2024 18:05 [00:19:20]1206 (1) - 0 [00:19:20]OFD Sender: Remove packet 24915 [00:19:20]ProducePacketName [00:19:20]name=ofd_packets/00024915 [00:19:20]NVStorageDeleteData [00:19:20]00 [00:19:20]Write to MH i2c: E2 08 00 9D 00 80 13 01 00 00 00 00 00 1A [00:19:20]Write i2c OK [00:19:20]MH_I2C_Read... [00:19:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:19:20]Read from MH i2c: E2 [00:19:20]MH_I2C_Read... [00:19:20]Read from MH i2c: E2 0E 00 [00:19:20]MH_I2C_Read... [00:19:20]Read from MH i2c: E2 0E 00 9D 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 25 [00:19:20]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:19:20]wFMCommunicate OK [00:19:20]SAM_PROTO_GetShiftState done [00:19:20]FM_GetShiftState done [00:19:20]req_shift_open_date done [00:19:20]produce_requested_data done [00:19:20]produce_requested_data return {"fd.num":24915,"shift.num":455,"shift.opened":0,"shift.open_date":0} [00:19:20]process_action_free close_shift [00:19:20]json_value_free [00:19:20]json_value_free done [00:19:20]process_json_proto returns [00:19:20]Send response to host [00:19:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":24915,"shift.num":455,"shift.opened":0,"shift.open_date":0}}} [00:19:20]free response buf [00:19:20]execute_script done [00:19:20]execute_script returns [00:19:20]free content buf [00:19:20]Sock 7.Close socket [00:19:20]Sock 7.Thread stoped [00:19:21]OFD Sender: No OFD packet to send [00:19:22]int [00:19:22]Write to MH i2c: 01 00 00 9E 00 9E [00:19:22]*** FLAG_PRN_KEY set [00:19:22]Write i2c OK [00:19:22]MH_I2C_Read... [00:19:22]Read from MH i2c: 01 [00:19:22]MH_I2C_Read... [00:19:22]Read from MH i2c: 01 07 00 [00:19:22]MH_I2C_Read... [00:19:22]Read from MH i2c: 01 07 00 9E 00 00 08 00 00 00 FF 0F BB [00:19:22]state=0 [00:19:22]Key pressed [00:19:22]Feed [00:19:22]Write to MH i2c: D8 00 00 9F 00 76 [00:19:22]Write i2c OK [00:19:22]MH_I2C_Read... [00:19:22]Read from MH i2c: D8 [00:19:22]MH_I2C_Read... [00:19:22]Read from MH i2c: D8 01 00 [00:19:22]MH_I2C_Read... [00:19:22]Read from MH i2c: D8 01 00 9F 00 00 77 [00:19:22]int line is 0 - check status [00:19:22]Write to MH i2c: 01 00 00 A0 00 A0 [00:19:23]Write i2c OK [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 07 00 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 07 00 A0 00 00 48 00 00 00 3C 00 2B [00:19:23]state=2 [00:19:23]Key pressed [00:19:23]int [00:19:23]Write to MH i2c: 01 00 00 A1 00 A1 [00:19:23]Write i2c OK [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 07 00 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 07 00 A1 00 00 48 00 00 00 3C 00 2C [00:19:23]state=2 [00:19:23]Key pressed [00:19:23]int [00:19:23]Write to MH i2c: 01 00 00 A2 00 A2 [00:19:23]*** FLAG_PRN_KEY reset [00:19:23]Write i2c OK [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 07 00 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 07 00 A2 00 00 00 00 00 00 FF 0F B7 [00:19:23]state=2 [00:19:23]Stop feed [00:19:23]int [00:19:23]Write to MH i2c: 01 00 00 A3 00 A3 [00:19:23]*** FLAG_PRN_KEY set [00:19:23]Write i2c OK [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 07 00 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 07 00 A3 00 00 08 00 00 00 FF 0F C0 [00:19:23]state=0 [00:19:23]Key pressed [00:19:23]Feed [00:19:23]Write to MH i2c: D8 00 00 A4 00 7B [00:19:23]Write i2c OK [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: D8 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: D8 01 00 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: D8 01 00 A4 00 00 7C [00:19:23]int line is 0 - check status [00:19:23]Write to MH i2c: 01 00 00 A5 00 A5 [00:19:23]Write i2c OK [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 07 00 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 07 00 A5 00 00 48 00 00 00 3C 00 30 [00:19:23]state=2 [00:19:23]Key pressed [00:19:23]int [00:19:23]Write to MH i2c: 01 00 00 A6 00 A6 [00:19:23]Write i2c OK [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 07 00 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 07 00 A6 00 00 48 00 00 00 3C 00 31 [00:19:23]state=2 [00:19:23]Key pressed [00:19:23]int [00:19:23]Write to MH i2c: 01 00 00 A7 00 A7 [00:19:23]*** FLAG_PRN_KEY reset [00:19:23]Write i2c OK [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 07 00 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 07 00 A7 00 00 00 00 00 00 FE 0F BB [00:19:23]state=2 [00:19:23]Stop feed [00:19:23]int [00:19:23]Write to MH i2c: 01 00 00 A8 00 A8 [00:19:23]*** FLAG_PRN_KEY set [00:19:23]Write i2c OK [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 07 00 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 07 00 A8 00 00 08 00 00 00 FF 0F C5 [00:19:23]state=0 [00:19:23]Key pressed [00:19:23]Feed [00:19:23]Write to MH i2c: D8 00 00 A9 00 80 [00:19:23]Write i2c OK [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: D8 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: D8 01 00 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: D8 01 00 A9 00 00 81 [00:19:23]int line is 0 - check status [00:19:23]Write to MH i2c: 01 00 00 AA 00 AA [00:19:23]Write i2c OK [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 07 00 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 07 00 AA 00 00 48 00 00 00 3C 00 35 [00:19:23]state=2 [00:19:23]Key pressed [00:19:23]int [00:19:23]Write to MH i2c: 01 00 00 AB 00 AB [00:19:23]Write i2c OK [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 07 00 [00:19:23]MH_I2C_Read... [00:19:23]Read from MH i2c: 01 07 00 AB 00 00 48 00 00 00 3C 00 36 [00:19:23]state=2 [00:19:23]Key pressed [00:19:24]int [00:19:24]Write to MH i2c: 01 00 00 AC 00 AC [00:19:24]*** FLAG_PRN_KEY reset [00:19:24]Write i2c OK [00:19:24]MH_I2C_Read... [00:19:24]Read from MH i2c: 01 [00:19:24]MH_I2C_Read... [00:19:24]Read from MH i2c: 01 07 00 [00:19:24]MH_I2C_Read... [00:19:24]Read from MH i2c: 01 07 00 AC 00 00 00 00 00 00 FF 0F C1 [00:19:24]state=2 [00:19:24]Stop feed [00:19:26]OFD Sender: No OFD packet to send [00:19:31]OFD Sender: No OFD packet to send [00:19:36]OFD Sender: No OFD packet to send [00:19:41]OFD Sender: No OFD packet to send [00:19:46]OFD Sender: No OFD packet to send [00:19:51]OFD Sender: No OFD packet to send [00:19:56]OFD Sender: No OFD packet to send [00:20:01]OFD Sender: No OFD packet to send [00:20:06]OFD Sender: No OFD packet to send [00:20:11]OFD Sender: No OFD packet to send [00:20:16]OFD Sender: No OFD packet to send [00:20:21]OFD Sender: No OFD packet to send [00:20:26]OFD Sender: No OFD packet to send [00:20:31]OFD Sender: No OFD packet to send [00:20:36]OFD Sender: No OFD packet to send [00:20:41]OFD Sender: No OFD packet to send [00:20:46]OFD Sender: No OFD packet to send [00:20:51]OFD Sender: No OFD packet to send [00:20:56]OFD Sender: No OFD packet to send [00:21:01]OFD Sender: No OFD packet to send [00:21:06]OFD Sender: No OFD packet to send [00:21:11]OFD Sender: No OFD packet to send [00:21:16]OFD Sender: No OFD packet to send [00:21:21]OFD Sender: No OFD packet to send [00:21:26]OFD Sender: No OFD packet to send [00:21:31]OFD Sender: No OFD packet to send [00:21:36]OFD Sender: No OFD packet to send [00:21:41]OFD Sender: No OFD packet to send [00:21:46]OFD Sender: No OFD packet to send [00:21:51]OFD Sender: No OFD packet to send [00:21:56]OFD Sender: No OFD packet to send [00:22:01]OFD Sender: No OFD packet to send [00:22:06]OFD Sender: No OFD packet to send [00:22:11]OFD Sender: No OFD packet to send [00:22:16]OFD Sender: No OFD packet to send [00:22:21]OFD Sender: No OFD packet to send [00:22:26]OFD Sender: No OFD packet to send [00:22:31]OFD Sender: No OFD packet to send [00:22:36]OFD Sender: No OFD packet to send [00:22:41]OFD Sender: No OFD packet to send [00:22:46]OFD Sender: No OFD packet to send [00:22:51]OFD Sender: No OFD packet to send [00:22:56]OFD Sender: No OFD packet to send [00:23:01]OFD Sender: No OFD packet to send [00:23:06]OFD Sender: No OFD packet to send [00:23:11]OFD Sender: No OFD packet to send [00:23:16]OFD Sender: No OFD packet to send [00:23:21]OFD Sender: No OFD packet to send [00:23:26]OFD Sender: No OFD packet to send [00:23:31]OFD Sender: No OFD packet to send [00:23:36]OFD Sender: No OFD packet to send [00:23:41]OFD Sender: No OFD packet to send [00:23:46]OFD Sender: No OFD packet to send [00:23:51]OFD Sender: No OFD packet to send [00:23:56]OFD Sender: No OFD packet to send [00:24:01]OFD Sender: No OFD packet to send [00:24:06]OFD Sender: No OFD packet to send [00:24:11]OFD Sender: No OFD packet to send [00:24:16]OFD Sender: No OFD packet to send [00:24:21]OFD Sender: No OFD packet to send [00:24:26]OFD Sender: No OFD packet to send [00:24:31]OFD Sender: No OFD packet to send [00:24:36]OFD Sender: No OFD packet to send [00:24:41]OFD Sender: No OFD packet to send [00:24:46]OFD Sender: No OFD packet to send [00:24:51]OFD Sender: No OFD packet to send [00:24:56]OFD Sender: No OFD packet to send [00:25:01]OFD Sender: No OFD packet to send [00:25:06]OFD Sender: No OFD packet to send [00:25:11]OFD Sender: No OFD packet to send [00:25:16]OFD Sender: No OFD packet to send [00:25:21]OFD Sender: No OFD packet to send [00:25:26]OFD Sender: No OFD packet to send [00:25:31]OFD Sender: No OFD packet to send [00:25:36]OFD Sender: No OFD packet to send [00:25:41]OFD Sender: No OFD packet to send [00:25:46]OFD Sender: No OFD packet to send [00:25:51]OFD Sender: No OFD packet to send [00:25:56]OFD Sender: No OFD packet to send [00:26:01]OFD Sender: No OFD packet to send [00:26:06]OFD Sender: No OFD packet to send [00:26:11]OFD Sender: No OFD packet to send [00:26:16]OFD Sender: No OFD packet to send [00:26:21]OFD Sender: No OFD packet to send [00:26:26]OFD Sender: No OFD packet to send [00:26:31]OFD Sender: No OFD packet to send [00:26:36]OFD Sender: No OFD packet to send [00:26:41]OFD Sender: No OFD packet to send [00:26:46]OFD Sender: No OFD packet to send [00:26:51]OFD Sender: No OFD packet to send [00:26:56]OFD Sender: No OFD packet to send [00:27:01]OFD Sender: No OFD packet to send [00:27:06]OFD Sender: No OFD packet to send [00:27:07]accept exits with 9 [00:27:07]New connection [00:27:07]New thread 3067108708 created [00:27:07]Thread 3066965348 joined [00:27:07]Waiting for new connection... [00:27:07] Sock 9.Parse request [00:27:07]Sock 9.Check first char [00:27:07]Sock 9.First char is OK [00:27:07]request: POST /json_proto HTTP/1.0 [00:27:07]Method: POST [00:27:07]URL: /json_proto [00:27:07]Method is POST - this is cgi request [00:27:07]url: /json_proto [00:27:07]query_string will be loaded in cgi processing [00:27:07]execute_cgi json_proto POST (null) [00:27:07]execute_cgi path=json_proto method=POST [00:27:07]POST find Content-Length [00:27:07]Host: 172.17.53.196:8080 [00:27:07]Content-Length: 215 [00:27:07]Content-Type: application/json [00:27:07] [00:27:07]POST finish read [00:27:07]Found Content-Length = 215 [00:27:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:27:07]execute_script... [00:27:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:27:07]POST & json_proto [00:27:07]process_json_proto [00:27:07]json parsed OK: [00:27:07]protocol is kg_v1.0 [00:27:07]action value=get_value [00:27:07]process_action get_value [00:27:07]cmd_get_value [00:27:07]process_action get_value done [00:27:07]requested_data is exist [00:27:07]produce_requested_data [00:27:07]requested_item kkm.sn is exist - process it [00:27:07]requested_item kkm.ver is exist - process it [00:27:07]requested_item fm.sn is exist - process it [00:27:07]wFMCommunicate request_size=4 [00:27:07]MH_SAM_APDU [00:27:07]CAPDU: 80 11 00 00 [00:27:07]Write to MH i2c: E2 08 00 AD 00 80 11 00 00 00 00 00 00 27 [00:27:07]Write i2c OK [00:27:07]MH_I2C_Read... [00:27:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:27:07]Read from MH i2c: E2 [00:27:07]MH_I2C_Read... [00:27:07]Read from MH i2c: E2 17 00 [00:27:07]MH_I2C_Read... [00:27:07]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 33 37 36 90 00 7E [00:27:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:27:07]wFMCommunicate OK [00:27:07]requested_item fd.num is exist - process it [00:27:07]SAM_PROTO_GetFieldsCounters [00:27:07]wFMCommunicate request_size=4 [00:27:07]MH_SAM_APDU [00:27:07]CAPDU: 80 13 00 00 [00:27:07]Write to MH i2c: E2 08 00 AE 00 80 13 00 00 00 00 00 00 2A [00:27:07]Write i2c OK [00:27:07]MH_I2C_Read... [00:27:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:27:07]Read from MH i2c: E2 [00:27:07]MH_I2C_Read... [00:27:07]Read from MH i2c: E2 62 00 [00:27:07]MH_I2C_Read... [00:27:07]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 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 53 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 A8 [00:27:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 53 61 00 00 0E 04 04 00 C7 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:27:07]wFMCommunicate OK [00:27:07]SAM_PROTO_GetFieldsCounters done [00:27:07]requested_item shift.num is exist - process it [00:27:07]requested_item shift.opened is exist - process it [00:27:07]req_shift_opened [00:27:07]FM_GetShiftState [00:27:07]SAM_PROTO_GetShiftState [00:27:07]wFMCommunicate request_size=4 [00:27:07]MH_SAM_APDU [00:27:07]CAPDU: 80 13 01 00 [00:27:07]Write to MH i2c: E2 08 00 AF 00 80 13 01 00 00 00 00 00 2C [00:27:07]Write i2c OK [00:27:07]MH_I2C_Read... [00:27:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:27:07]Read from MH i2c: E2 [00:27:07]MH_I2C_Read... [00:27:07]Read from MH i2c: E2 0E 00 [00:27:07]MH_I2C_Read... [00:27:07]Read from MH i2c: E2 0E 00 AF 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 37 [00:27:07]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:27:07]wFMCommunicate OK [00:27:07]SAM_PROTO_GetShiftState done [00:27:07]FM_GetShiftState done [00:27:07]req_shift_opened done [00:27:07]requested_item shift.open_date is exist - process it [00:27:07]req_shift_open_date [00:27:07]FM_GetShiftState [00:27:07]SAM_PROTO_GetShiftState [00:27:07]wFMCommunicate request_size=4 [00:27:07]MH_SAM_APDU [00:27:07]CAPDU: 80 13 01 00 [00:27:07]Write to MH i2c: E2 08 00 B0 00 80 13 01 00 00 00 00 00 2D [00:27:07]Write i2c OK [00:27:07]MH_I2C_Read... [00:27:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:27:07]Read from MH i2c: E2 [00:27:07]MH_I2C_Read... [00:27:07]Read from MH i2c: E2 0E 00 [00:27:07]MH_I2C_Read... [00:27:07]Read from MH i2c: E2 0E 00 B0 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 38 [00:27:07]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:27:07]wFMCommunicate OK [00:27:07]SAM_PROTO_GetShiftState done [00:27:07]FM_GetShiftState done [00:27:07]req_shift_open_date done [00:27:07]produce_requested_data done [00:27:07]produce_requested_data return {"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":24915,"shift.num":455,"shift.opened":0,"shift.open_date":0} [00:27:07]process_action_free get_value [00:27:07]json_value_free [00:27:07]json_value_free done [00:27:07]process_json_proto returns [00:27:07]Send response to host [00:27:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":24915,"shift.num":455,"shift.opened":0,"shift.open_date":0}}} [00:27:07]free response buf [00:27:07]execute_script done [00:27:07]execute_script returns [00:27:07]free content buf [00:27:07]Sock 9.Close socket [00:27:07]Sock 9.Thread stoped [00:27:07]accept exits with 7 [00:27:07]New connection [00:27:07]New thread 3066965348 created [00:27:07]Thread 3067108708 joined [00:27:07]Waiting for new connection... [00:27:07] Sock 7.Parse request [00:27:07]Sock 7.Check first char [00:27:07]Sock 7.First char is OK [00:27:07]request: POST /json_proto HTTP/1.0 [00:27:07]Method: POST [00:27:07]URL: /json_proto [00:27:07]Method is POST - this is cgi request [00:27:07]url: /json_proto [00:27:07]query_string will be loaded in cgi processing [00:27:07]execute_cgi json_proto POST (null) [00:27:07]execute_cgi path=json_proto method=POST [00:27:07]POST find Content-Length [00:27:07]Host: 172.17.53.196:8080 [00:27:07]Content-Length: 331 [00:27:07]Content-Type: application/json [00:27:07] [00:27:07]POST finish read [00:27:07]Found Content-Length = 331 [00:27:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:27:07]execute_script... [00:27: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:27:08]POST & json_proto [00:27:08]process_json_proto [00:27:08]json parsed OK: [00:27:08]protocol is kg_v1.0 [00:27:08]action value=get_value [00:27:08]process_action get_value [00:27:08]cmd_get_value [00:27:08]process_action get_value done [00:27:08]requested_data is exist [00:27:08]produce_requested_data [00:27:08]requested_item fm.sale.total is exist - process it [00:27:08]SAM_PROTO_GetFMData [00:27:08]wFMCommunicate request_size=4 [00:27:08]MH_SAM_APDU [00:27:08]CAPDU: 80 13 03 00 [00:27:08]Write to MH i2c: E2 08 00 B1 00 80 13 03 00 00 00 00 00 30 [00:27:08]Write i2c OK [00:27:08]MH_I2C_Read... [00:27:08]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:27:08]Read from MH i2c: E2 [00:27:08]MH_I2C_Read... [00:27:08]Read from MH i2c: E2 FD 00 [00:27:08]MH_I2C_Read... [00:27:08]Read from MH i2c: E2 FD 00 B1 00 00 BF 04 85 04 BB 04 6E 04 04 00 C4 5D 00 00 69 04 A0 00 6F 04 04 00 B6 5D 00 00 B1 04 04 00 88 1A B7 14 70 04 04 00 A8 15 8A 12 72 04 04 00 E0 04 2D 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 05 21 33 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 F7 E2 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 1C [00:27:08]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 C4 5D 00 00 69 04 A0 00 6F 04 04 00 B6 5D 00 00 B1 04 04 00 88 1A B7 14 70 04 04 00 A8 15 8A 12 72 04 04 00 E0 04 2D 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 05 21 33 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 F7 E2 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 [00:27:08]wFMCommunicate OK [00:27:08]wFMCommunicate request_size=4 [00:27:08]MH_SAM_APDU [00:27:08]CAPDU: 80 17 00 00 [00:27:08]Write to MH i2c: E2 08 00 B2 00 80 17 00 00 00 00 00 00 32 [00:27:08]Write i2c OK [00:27:08]MH_I2C_Read... [00:27:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:08]Read from MH i2c: E2 [00:27:08]MH_I2C_Read... [00:27:08]Read from MH i2c: E2 FD 00 [00:27:08]MH_I2C_Read... [00:27:08]Read from MH i2c: E2 FD 00 B2 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 24 [00:27:08]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:27:08]wFMCommunicate OK [00:27:08]wFMCommunicate request_size=4 [00:27:08]MH_SAM_APDU [00:27:08]CAPDU: 80 17 00 00 [00:27:08]Write to MH i2c: E2 08 00 B3 00 80 17 00 00 00 00 00 00 33 [00:27:08]Write i2c OK [00:27:08]MH_I2C_Read... [00:27:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:09]Read from MH i2c: E2 [00:27:09]MH_I2C_Read... [00:27:09]Read from MH i2c: E2 FD 00 [00:27:09]MH_I2C_Read... [00:27:09]Read from MH i2c: E2 FD 00 B3 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 D7 [00:27:09]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:27:09]wFMCommunicate OK [00:27:09]wFMCommunicate request_size=4 [00:27:09]MH_SAM_APDU [00:27:09]CAPDU: 80 17 00 00 [00:27:09]Write to MH i2c: E2 08 00 B4 00 80 17 00 00 00 00 00 00 34 [00:27:09]Write i2c OK [00:27:09]MH_I2C_Read... [00:27:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:09]Read from MH i2c: E2 [00:27:09]MH_I2C_Read... [00:27:09]Read from MH i2c: E2 FD 00 [00:27:09]MH_I2C_Read... [00:27:09]Read from MH i2c: E2 FD 00 B4 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 AE [00:27:09]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:27:09]wFMCommunicate OK [00:27:09]wFMCommunicate request_size=4 [00:27:09]MH_SAM_APDU [00:27:09]CAPDU: 80 17 00 00 [00:27:09]Write to MH i2c: E2 08 00 B5 00 80 17 00 00 00 00 00 00 35 [00:27:09]Write i2c OK [00:27:09]MH_I2C_Read... [00:27:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:27:09]Read from MH i2c: E2 [00:27:09]MH_I2C_Read... [00:27:09]Read from MH i2c: E2 DC 00 [00:27:09]MH_I2C_Read... [00:27:09]Read from MH i2c: E2 DC 00 B5 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 19 [00:27:09]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:27:09]wFMCommunicate OK [00:27:09]SAM_PROTO_GetFMData done [00:27:09]requested_item fm.sale_refund.total is exist - process it [00:27:09]requested_item fm.buy.total is exist - process it [00:27:09]requested_item shift.sale.total is exist - process it [00:27:09]SAM_PROTO_GetShiftData [00:27:09]wFMCommunicate request_size=4 [00:27:09]MH_SAM_APDU [00:27:09]CAPDU: 80 13 02 00 [00:27:09]Write to MH i2c: E2 08 00 B6 00 80 13 02 00 00 00 00 00 34 [00:27:09]Write i2c OK [00:27:09]MH_I2C_Read... [00:27:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:27:10]Read from MH i2c: E2 [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: E2 FD 00 [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: E2 FD 00 B6 00 00 AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 70 34 10 70 04 03 00 30 D0 0E 72 04 03 00 40 64 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 82 B8 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AC 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 F7 [00:27:10]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 70 34 10 70 04 03 00 30 D0 0E 72 04 03 00 40 64 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 82 B8 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AC 24 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:27:10]wFMCommunicate OK [00:27:10]wFMCommunicate request_size=4 [00:27:10]MH_SAM_APDU [00:27:10]CAPDU: 80 17 00 00 [00:27:10]Write to MH i2c: E2 08 00 B7 00 80 17 00 00 00 00 00 00 37 [00:27:10]Write i2c OK [00:27:10]MH_I2C_Read... [00:27:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:10]Read from MH i2c: E2 [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: E2 FD 00 [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: E2 FD 00 B7 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 59 [00:27:10]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:27:10]wFMCommunicate OK [00:27:10]wFMCommunicate request_size=4 [00:27:10]MH_SAM_APDU [00:27:10]CAPDU: 80 17 00 00 [00:27:10]Write to MH i2c: E2 08 00 B8 00 80 17 00 00 00 00 00 00 38 [00:27:10]Write i2c OK [00:27:10]MH_I2C_Read... [00:27:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:10]Read from MH i2c: E2 [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: E2 FD 00 [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: E2 FD 00 B8 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 EF [00:27:10]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:27:10]wFMCommunicate OK [00:27:10]wFMCommunicate request_size=4 [00:27:10]MH_SAM_APDU [00:27:10]CAPDU: 80 17 00 00 [00:27:10]Write to MH i2c: E2 08 00 B9 00 80 17 00 00 00 00 00 00 39 [00:27:10]Write i2c OK [00:27:10]MH_I2C_Read... [00:27:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:10]Read from MH i2c: E2 [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: E2 FD 00 [00:27:10]MH_I2C_Read... [00:27:10]Read from MH i2c: E2 FD 00 B9 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 AB [00:27:10]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:27:10]wFMCommunicate OK [00:27:10]wFMCommunicate request_size=4 [00:27:10]MH_SAM_APDU [00:27:10]CAPDU: 80 17 00 00 [00:27:10]Write to MH i2c: E2 08 00 BA 00 80 17 00 00 00 00 00 00 3A [00:27:10]Write i2c OK [00:27:10]MH_I2C_Read... [00:27:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:27:11]Read from MH i2c: E2 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: E2 CB 00 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: E2 CB 00 BA 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 23 [00:27:11]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:27:11]wFMCommunicate OK [00:27:11]SAM_PROTO_GetShiftData done [00:27:11]requested_item shift.sale.total_cash is exist - process it [00:27:11]requested_item shift.sale_refund.total is exist - process it [00:27:11]requested_item shift.sale_refund.total_cash is exist - process it [00:27:11]requested_item shift.buy.total is exist - process it [00:27:11]requested_item shift.buy.total_cash is exist - process it [00:27:11]produce_requested_data done [00:27:11]produce_requested_data return {"fm.sale.total":3475442.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":10620.00,"shift.sale.total_cash":9708.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:27:11]process_action_free get_value [00:27:11]json_value_free [00:27:11]json_value_free done [00:27:11]process_json_proto returns [00:27:11]Send response to host [00:27:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3475442.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":10620.00,"shift.sale.total_cash":9708.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:27:11]free response buf [00:27:11]execute_script done [00:27:11]execute_script returns [00:27:11]free content buf [00:27:11]Sock 7.Close socket [00:27:11]Sock 7.Thread stoped [00:27:11]accept exits with 9 [00:27:11]New connection [00:27:11]New thread 3067108708 created [00:27:11]Thread 3066965348 joined [00:27:11]Waiting for new connection... [00:27:11] Sock 9.Parse request [00:27:11]Sock 9.Check first char [00:27:11]Sock 9.First char is OK [00:27:11]request: POST /json_proto HTTP/1.0 [00:27:11]Method: POST [00:27:11]URL: /json_proto [00:27:11]Method is POST - this is cgi request [00:27:11]url: /json_proto [00:27:11]query_string will be loaded in cgi processing [00:27:11]execute_cgi json_proto POST (null) [00:27:11]execute_cgi path=json_proto method=POST [00:27:11]POST find Content-Length [00:27:11]Host: 172.17.53.196:8080 [00:27:11]Content-Length: 265 [00:27:11]Content-Type: application/json [00:27:11] [00:27:11]POST finish read [00:27:11]Found Content-Length = 265 [00:27:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0410\u043B\u044B\u043A\u0443\u043B\u043E\u0432\u0430 \u041A. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:27:11]execute_script... [00:27:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0410\u043B\u044B\u043A\u0443\u043B\u043E\u0432\u0430 \u041A. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:27:11]POST & json_proto [00:27:11]process_json_proto [00:27:11]json parsed OK: [00:27:11]protocol is kg_v1.0 [00:27:11]action value=open_shift [00:27:11]process_action open_shift [00:27:11]cmd_open_shift [00:27:11]MH_GetDate [00:27:11]Write to MH i2c: F0 00 00 BB 00 AA [00:27:11]Write i2c OK [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: F0 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: F0 09 00 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: F0 09 00 BB 00 00 E0 9F 15 67 4F CD 9A 65 C9 [00:27:11]GetLastDocTimeStamp 1729469948 [00:27:11]current date 1729470432 [00:27:11]FM_GetShiftState [00:27:11]SAM_PROTO_GetShiftState [00:27:11]wFMCommunicate request_size=4 [00:27:11]MH_SAM_APDU [00:27:11]CAPDU: 80 13 01 00 [00:27:11]Write to MH i2c: E2 08 00 BC 00 80 13 01 00 00 00 00 00 39 [00:27:11]Write i2c OK [00:27:11]MH_I2C_Read... [00:27:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:27:11]OFD Sender: No OFD packet to send [00:27:11]Read from MH i2c: E2 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: E2 0E 00 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: E2 0E 00 BC 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 44 [00:27:11]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:27:11]wFMCommunicate OK [00:27:11]SAM_PROTO_GetShiftState done [00:27:11]FM_GetShiftState done [00:27:11]KKMCreateOpenShiftDocument [00:27:11]Load OK [00:27:11]Malloc new data [00:27:11]MH_GetDate [00:27:11]Write to MH i2c: F0 00 00 BD 00 AC [00:27:11]Write i2c OK [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: F0 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: F0 09 00 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: F0 09 00 BD 00 00 E0 9F 15 67 4F CD 9A 65 CB [00:27:11]Malloc new data [00:27:11]KKMCreateOpenShiftDocument OK [00:27:11]KKMSetOpenShiftData OK [00:27:11]ProcessDocumentItem done err = 0, tmpTLVsize=206 [00:27:11]tlvbuf is 01189900 [00:27:11]KKMLoadAndSignOpenShiftData [00:27:11]SAM_PROTO_ProcessDocument [00:27:11]wFMCommunicate request_size=9 [00:27:11]MH_SAM_APDU [00:27:11]CAPDU: 80 15 01 00 04 02 00 CE 00 [00:27:11]Write to MH i2c: E2 0C 00 BE 00 80 15 01 00 04 00 02 00 CE 00 00 00 15 [00:27:11]Write i2c OK [00:27:11]MH_I2C_Read... [00:27:11]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:27:11]Read from MH i2c: E2 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: E2 03 00 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: E2 03 00 BE 00 00 90 00 32 [00:27:11]RAPDU: 90 00 [00:27:11]wFMCommunicate OK [00:27:11]wFMCommunicate request_size=23 [00:27:11]MH_SAM_APDU [00:27:11]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:27:11]Write to MH i2c: E2 1A 00 BF 00 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 34 [00:27:11]Write i2c OK [00:27:11]MH_I2C_Read... [00:27:11]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:27:11]Read from MH i2c: E2 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: E2 03 00 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: E2 03 00 BF 00 00 90 00 33 [00:27:11]RAPDU: 90 00 [00:27:11]wFMCommunicate OK [00:27:11]wFMCommunicate request_size=32 [00:27:11]MH_SAM_APDU [00:27:11]CAPDU: 80 15 02 00 1B FD 03 17 00 D0 90 D0 BB D1 8B D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9A 2E 20 [00:27:11]Write to MH i2c: E2 23 00 C0 00 80 15 02 00 1B 00 FD 03 17 00 D0 90 D0 BB D1 8B D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9A 2E 20 00 00 A5 [00:27:11]Write i2c OK [00:27:11]MH_I2C_Read... [00:27:11]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:27:11]Read from MH i2c: E2 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: E2 03 00 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: E2 03 00 C0 00 00 90 00 34 [00:27:11]RAPDU: 90 00 [00:27:11]wFMCommunicate OK [00:27:11]wFMCommunicate request_size=92 [00:27:11]MH_SAM_APDU [00:27:11]CAPDU: 80 15 02 00 57 F1 03 53 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9C D0 B0 D1 81 D1 8B 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2D D0 9E D1 88 20 35 32 31 20 D0 BA D0 BC 2C 20 34 31 2E 39 32 39 38 33 34 2C 20 37 32 2E 38 38 38 38 35 36 [00:27:11]Write to MH i2c: E2 5F 00 C1 00 80 15 02 00 57 00 F1 03 53 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9C D0 B0 D1 81 D1 8B 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2D D0 9E D1 88 20 35 32 31 20 D0 BA D0 BC 2C 20 34 31 2E 39 32 39 38 33 34 2C 20 37 32 2E 38 38 38 38 35 36 00 00 A7 [00:27:11]Write i2c OK [00:27:11]MH_I2C_Read... [00:27:11]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:27:11]Read from MH i2c: E2 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: E2 03 00 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: E2 03 00 C1 00 00 90 00 35 [00:27:11]RAPDU: 90 00 [00:27:11]wFMCommunicate OK [00:27:11]wFMCommunicate request_size=51 [00:27:11]MH_SAM_APDU [00:27:11]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 31 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [00:27:11]Write to MH i2c: E2 36 00 C2 00 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 31 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 EC [00:27:11]Write i2c OK [00:27:11]MH_I2C_Read... [00:27:11]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:27:11]Read from MH i2c: E2 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: E2 03 00 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: E2 03 00 C2 00 00 90 00 36 [00:27:11]RAPDU: 90 00 [00:27:11]wFMCommunicate OK [00:27:11]wFMCommunicate request_size=13 [00:27:11]MH_SAM_APDU [00:27:11]CAPDU: 80 15 02 00 08 F4 03 04 00 E0 9F 15 67 [00:27:11]Write to MH i2c: E2 10 00 C3 00 80 15 02 00 08 00 F4 03 04 00 E0 9F 15 67 00 00 49 [00:27:11]Write i2c OK [00:27:11]MH_I2C_Read... [00:27:11]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:27:11]Read from MH i2c: E2 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: E2 03 00 [00:27:11]MH_I2C_Read... [00:27:11]Read from MH i2c: E2 03 00 C3 00 00 90 00 37 [00:27:11]RAPDU: 90 00 [00:27:11]wFMCommunicate OK [00:27:11]wFMCommunicate request_size=25 [00:27:11]MH_SAM_APDU [00:27:11]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 [00:27:11]Write to MH i2c: E2 1C 00 C4 00 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 00 00 AA [00:27:12]Write i2c OK [00:27:12]MH_I2C_Read... [00:27:12]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:27:12]Read from MH i2c: E2 [00:27:12]MH_I2C_Read... [00:27:12]Read from MH i2c: E2 03 00 [00:27:12]MH_I2C_Read... [00:27:12]Read from MH i2c: E2 03 00 C4 00 00 90 00 38 [00:27:12]RAPDU: 90 00 [00:27:12]wFMCommunicate OK [00:27:12]wFMCommunicate request_size=4 [00:27:12]MH_SAM_APDU [00:27:12]CAPDU: 80 15 03 00 [00:27:12]Write to MH i2c: E2 08 00 C5 00 80 15 03 00 00 00 00 00 46 [00:27:12]Write i2c OK [00:27:12]MH_I2C_Read... [00:27:12]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:27:12]Read from MH i2c: E2 [00:27:12]MH_I2C_Read... [00:27:12]Read from MH i2c: E2 38 00 [00:27:12]MH_I2C_Read... [00:27:12]Read from MH i2c: E2 38 00 C5 00 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 54 61 00 00 0E 04 04 00 C8 01 00 00 35 04 06 00 51 E2 A9 D7 40 E9 90 00 70 [00:27: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 33 37 36 10 04 04 00 54 61 00 00 0E 04 04 00 C8 01 00 00 35 04 06 00 51 E2 A9 D7 40 E9 90 00 [00:27:12]wFMCommunicate OK [00:27:12]SAM_PROTO_ProcessDocument answer len = 51 [00:27:12]SAM_PROTO_ProcessDocument done [00:27:12]SetTLVBufToDocument [00:27:12]Processing tag 1209 (04B9) [00:27:12]Malloc new data [00:27:12]Processing tag 1041 (0411) [00:27:12]Processing tag 1040 (0410) [00:27:12]Malloc new data [00:27:12]Processing tag 1038 (040E) [00:27:12]Malloc new data [00:27:12]Processing tag 1077 (0435) [00:27:12]Malloc new data [00:27:12]SetTLVBufToDocument err=0 [00:27:12]KKMLoadAndSignOpenShiftData store KKM data [00:27:12]KKMLoadAndSignOpenShiftData err=0 [00:27:12]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Алыкулова К. Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 Место: АЗС № 161 "Партнер Нефть" 21.10.2024 00:27 Смена: 456 РНМ: 0000000000098147 ЗНМ: 0300000240 ФД: 24916 ФМ: 0000000000965376 ФПД: 90033953915113 [00:27:12]StoreToDocumentArchive [00:27:12]shift 456 fd 24916 [00:27:12]Create dir for shift 0456 [00:27:12]save to /storage/0456/doc_00024916 [00:27:12]save last doc name /storage/0456/doc_00024916 to /storage/kkm_last_doc_name [00:27:12]save OK [00:27:12]Clear old archive folders... [00:27:12]Remove dir /storage/0455 [00:27:12]opendir ok [00:27:12]file . [00:27:12]file .. [00:27:12]file doc_00024842 [00:27:12]remove file /storage/0455/doc_00024842 [00:27:12]file doc_00024843 [00:27:12]remove file /storage/0455/doc_00024843 [00:27:12]file doc_00024844 [00:27:12]remove file /storage/0455/doc_00024844 [00:27:12]file doc_00024845 [00:27:12]remove file /storage/0455/doc_00024845 [00:27:12]file doc_00024846 [00:27:12]remove file /storage/0455/doc_00024846 [00:27:12]file doc_00024847 [00:27:12]remove file /storage/0455/doc_00024847 [00:27:12]file doc_00024848 [00:27:12]remove file /storage/0455/doc_00024848 [00:27:12]file doc_00024849 [00:27:12]remove file /storage/0455/doc_00024849 [00:27:12]file doc_00024850 [00:27:12]remove file /storage/0455/doc_00024850 [00:27:12]file doc_00024851 [00:27:12]remove file /storage/0455/doc_00024851 [00:27:12]file doc_00024852 [00:27:12]remove file /storage/0455/doc_00024852 [00:27:12]file doc_00024853 [00:27:12]remove file /storage/0455/doc_00024853 [00:27:12]file doc_00024854 [00:27:12]remove file /storage/0455/doc_00024854 [00:27:12]file doc_00024855 [00:27:12]remove file /storage/0455/doc_00024855 [00:27:12]file doc_00024856 [00:27:12]remove file /storage/0455/doc_00024856 [00:27:12]file doc_00024857 [00:27:12]remove file /storage/0455/doc_00024857 [00:27:12]file doc_00024858 [00:27:12]remove file /storage/0455/doc_00024858 [00:27:12]file doc_00024859 [00:27:12]remove file /storage/0455/doc_00024859 [00:27:12]file doc_00024860 [00:27:12]remove file /storage/0455/doc_00024860 [00:27:12]file doc_00024861 [00:27:12]remove file /storage/0455/doc_00024861 [00:27:12]file doc_00024862 [00:27:12]remove file /storage/0455/doc_00024862 [00:27:12]file doc_00024863 [00:27:12]remove file /storage/0455/doc_00024863 [00:27:12]file doc_00024864 [00:27:12]remove file /storage/0455/doc_00024864 [00:27:12]file doc_00024865 [00:27:12]remove file /storage/0455/doc_00024865 [00:27:12]file doc_00024866 [00:27:12]remove file /storage/0455/doc_00024866 [00:27:12]file doc_00024867 [00:27:12]remove file /storage/0455/doc_00024867 [00:27:12]file doc_00024868 [00:27:12]remove file /storage/0455/doc_00024868 [00:27:12]file doc_00024869 [00:27:12]remove file /storage/0455/doc_00024869 [00:27:12]file doc_00024870 [00:27:12]remove file /storage/0455/doc_00024870 [00:27:12]file doc_00024871 [00:27:12]remove file /storage/0455/doc_00024871 [00:27:12]file doc_00024872 [00:27:12]remove file /storage/0455/doc_00024872 [00:27:12]file doc_00024873 [00:27:12]remove file /storage/0455/doc_00024873 [00:27:12]file doc_00024874 [00:27:12]remove file /storage/0455/doc_00024874 [00:27:12]file doc_00024875 [00:27:12]remove file /storage/0455/doc_00024875 [00:27:12]file doc_00024876 [00:27:12]remove file /storage/0455/doc_00024876 [00:27:12]file doc_00024877 [00:27:12]remove file /storage/0455/doc_00024877 [00:27:12]file doc_00024878 [00:27:12]remove file /storage/0455/doc_00024878 [00:27:12]file doc_00024879 [00:27:12]remove file /storage/0455/doc_00024879 [00:27:12]file doc_00024880 [00:27:12]remove file /storage/0455/doc_00024880 [00:27:12]file doc_00024881 [00:27:12]remove file /storage/0455/doc_00024881 [00:27:12]file doc_00024882 [00:27:12]remove file /storage/0455/doc_00024882 [00:27:12]file doc_00024883 [00:27:12]remove file /storage/0455/doc_00024883 [00:27:12]file doc_00024884 [00:27:12]remove file /storage/0455/doc_00024884 [00:27:12]file doc_00024885 [00:27:12]remove file /storage/0455/doc_00024885 [00:27:12]file doc_00024886 [00:27:12]remove file /storage/0455/doc_00024886 [00:27:12]file doc_00024887 [00:27:12]remove file /storage/0455/doc_00024887 [00:27:12]file doc_00024888 [00:27:12]remove file /storage/0455/doc_00024888 [00:27:12]file doc_00024889 [00:27:12]remove file /storage/0455/doc_00024889 [00:27:12]file doc_00024890 [00:27:12]remove file /storage/0455/doc_00024890 [00:27:12]file doc_00024891 [00:27:12]remove file /storage/0455/doc_00024891 [00:27:12]file doc_00024892 [00:27:12]remove file /storage/0455/doc_00024892 [00:27:12]file doc_00024893 [00:27:12]remove file /storage/0455/doc_00024893 [00:27:12]file doc_00024894 [00:27:12]remove file /storage/0455/doc_00024894 [00:27:12]file doc_00024895 [00:27:12]remove file /storage/0455/doc_00024895 [00:27:12]file doc_00024896 [00:27:12]remove file /storage/0455/doc_00024896 [00:27:12]file doc_00024897 [00:27:12]remove file /storage/0455/doc_00024897 [00:27:12]file doc_00024898 [00:27:12]remove file /storage/0455/doc_00024898 [00:27:12]file doc_00024899 [00:27:12]remove file /storage/0455/doc_00024899 [00:27:12]file doc_00024900 [00:27:12]remove file /storage/0455/doc_00024900 [00:27:12]file doc_00024901 [00:27:12]remove file /storage/0455/doc_00024901 [00:27:12]file doc_00024902 [00:27:12]remove file /storage/0455/doc_00024902 [00:27:12]file doc_00024903 [00:27:12]remove file /storage/0455/doc_00024903 [00:27:12]file doc_00024904 [00:27:12]remove file /storage/0455/doc_00024904 [00:27:12]file doc_00024905 [00:27:12]remove file /storage/0455/doc_00024905 [00:27:12]file doc_00024906 [00:27:12]remove file /storage/0455/doc_00024906 [00:27:12]file doc_00024907 [00:27:12]remove file /storage/0455/doc_00024907 [00:27:12]file doc_00024908 [00:27:12]remove file /storage/0455/doc_00024908 [00:27:12]file doc_00024909 [00:27:12]remove file /storage/0455/doc_00024909 [00:27:12]file doc_00024910 [00:27:12]remove file /storage/0455/doc_00024910 [00:27:12]file doc_00024911 [00:27:12]remove file /storage/0455/doc_00024911 [00:27:12]file doc_00024912 [00:27:12]remove file /storage/0455/doc_00024912 [00:27:12]file doc_00024913 [00:27:12]remove file /storage/0455/doc_00024913 [00:27:12]file doc_00024914 [00:27:12]remove file /storage/0455/doc_00024914 [00:27:12]file doc_00024915 [00:27:12]remove file /storage/0455/doc_00024915 [00:27:12]remove dir /storage/0455 [00:27:12]ProcessDocumentItem done err = 0, tmpTLVsize=257 [00:27:12]tlvbuf is 01226B50 [00:27:12]SAM_PROTO_ClearQueue [00:27:12]wFMCommunicate request_size=4 [00:27:12]MH_SAM_APDU [00:27:12]CAPDU: 80 09 00 00 [00:27:12]Write to MH i2c: E2 08 00 C6 00 80 09 00 00 00 00 00 00 38 [00:27:12]Write i2c OK [00:27:12]MH_I2C_Read... [00:27:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:27:12]Read from MH i2c: E2 [00:27:12]MH_I2C_Read... [00:27:12]Read from MH i2c: E2 03 00 [00:27:12]MH_I2C_Read... [00:27:12]Read from MH i2c: E2 03 00 C6 00 00 90 00 3A [00:27:12]RAPDU: 90 00 [00:27:12]wFMCommunicate OK [00:27:12]SAM_PROTO_ClearQueue done [00:27:12]KKMCreateOFDPacket [00:27:12]OFDProtocolAddRootSTLVToBuf [00:27:12]FM_MakeSignedData [00:27:12]FM_MakeSignedData [00:27:12]SAM_PROTO_SignData [00:27:12]wFMCommunicate request_size=4 [00:27:12]MH_SAM_APDU [00:27:12]CAPDU: 80 0D 01 02 [00:27:12]Write to MH i2c: E2 08 00 C7 00 80 0D 01 02 00 00 00 00 40 [00:27:12]Write i2c OK [00:27:12]MH_I2C_Read... [00:27:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:27:12]Read from MH i2c: E2 [00:27:12]MH_I2C_Read... [00:27:12]Read from MH i2c: E2 03 00 [00:27:12]MH_I2C_Read... [00:27:12]Read from MH i2c: E2 03 00 C7 00 00 90 00 3B [00:27:12]RAPDU: 90 00 [00:27:12]wFMCommunicate OK [00:27:12]wFMCommunicate request_size=255 [00:27:12]MH_SAM_APDU [00:27:12]CAPDU: 80 0D 02 02 FA 02 00 01 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 90 D0 BB D1 8B D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9A 2E 20 F1 03 53 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9C D0 B0 D1 81 D1 8B 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2D D0 9E D1 88 20 35 32 31 20 D0 BA D0 BC 2C 20 34 31 2E 39 32 39 38 33 34 2C 20 37 32 2E 38 38 38 38 35 36 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 31 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 E0 9F 15 67 0E 04 04 00 C8 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 54 61 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 [00:27:13]Write to MH i2c: E2 02 01 C8 00 80 0D 02 02 FA 00 02 00 01 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 90 D0 BB D1 8B D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9A 2E 20 F1 03 53 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9C D0 B0 D1 81 D1 8B 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2D D0 9E D1 88 20 35 32 31 20 D0 BA D0 BC 2C 20 34 31 2E 39 32 39 38 33 34 2C 20 37 32 2E 38 38 38 38 35 36 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 31 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 E0 9F 15 67 0E 04 04 00 C8 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 54 61 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 00 00 F3 [00:27:13]Write i2c OK [00:27:13]MH_I2C_Read... [00:27:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:27:13]Read from MH i2c: E2 [00:27:13]MH_I2C_Read... [00:27:13]Read from MH i2c: E2 03 00 [00:27:13]MH_I2C_Read... [00:27:13]Read from MH i2c: E2 03 00 C8 00 00 90 00 3C [00:27:13]RAPDU: 90 00 [00:27:13]wFMCommunicate OK [00:27:13]wFMCommunicate request_size=16 [00:27:13]MH_SAM_APDU [00:27:13]CAPDU: 80 0D 02 02 0B 36 35 04 06 00 51 E2 A9 D7 40 E9 [00:27:13]Write to MH i2c: E2 13 00 C9 00 80 0D 02 02 0B 00 36 35 04 06 00 51 E2 A9 D7 40 E9 00 00 AA [00:27:13]Write i2c OK [00:27:13]MH_I2C_Read... [00:27:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:27:13]Read from MH i2c: E2 [00:27:13]MH_I2C_Read... [00:27:13]Read from MH i2c: E2 03 00 [00:27:13]MH_I2C_Read... [00:27:13]Read from MH i2c: E2 03 00 C9 00 00 90 00 3D [00:27:13]RAPDU: 90 00 [00:27:13]wFMCommunicate OK [00:27:13]wFMCommunicate request_size=4 [00:27:13]MH_SAM_APDU [00:27:13]CAPDU: 80 0D 03 02 [00:27:13]Write to MH i2c: E2 08 00 CA 00 80 0D 03 02 00 00 00 00 45 [00:27:13]Write i2c OK [00:27:13]MH_I2C_Read... [00:27:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:27:13]Read from MH i2c: E2 [00:27:13]MH_I2C_Read... [00:27:13]Read from MH i2c: E2 0B 00 [00:27:13]MH_I2C_Read... [00:27:13]Read from MH i2c: E2 0B 00 CA 00 00 6E EF 6C 0B 73 97 D1 06 90 00 FB [00:27:13]RAPDU: 6E EF 6C 0B 73 97 D1 06 90 00 [00:27:13]wFMCommunicate OK [00:27:13]SAM_PROTO_SignData done [00:27:13]FM_MakeSignedData done [00:27:13]CreateOFDProtocolMessage [00:27:13]wFMCommunicate request_size=4 [00:27:13]MH_SAM_APDU [00:27:13]CAPDU: 80 11 00 00 [00:27:13]Write to MH i2c: E2 08 00 CB 00 80 11 00 00 00 00 00 00 45 [00:27:13]Write i2c OK [00:27:13]MH_I2C_Read... [00:27:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:27:13]Read from MH i2c: E2 [00:27:13]MH_I2C_Read... [00:27:13]Read from MH i2c: E2 17 00 [00:27:13]MH_I2C_Read... [00:27:13]Read from MH i2c: E2 17 00 CB 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 9C [00:27:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:27:13]wFMCommunicate OK [00:27:13]CreateOFDProtocolMessage done [00:27:13]OFDSenderStorePacket 24916 [00:27:13]StoreOFDPacket docnum=24916 [00:27:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 15 01 00 00 F5 63 0D 01 42 2E 5A 02 01 00 02 00 01 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 90 D0 BB D1 8B D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9A 2E 20 F1 03 53 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9C D0 B0 D1 81 D1 8B 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2D D0 9E D1 88 20 35 32 31 20 D0 BA D0 BC 2C 20 34 31 2E 39 32 39 38 33 34 2C 20 37 32 2E 38 38 38 38 35 36 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 31 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 E0 9F 15 67 0E 04 04 00 C8 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 54 61 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 35 04 06 00 51 E2 A9 D7 40 E9 6E EF 6C 0B 73 97 D1 06 [00:27:13]CheckFolder [00:27:13]dirname=/storage/ofd_packets [00:27:13]CheckFolder done [00:27:13]ProducePacketName [00:27:13]name=ofd_packets/00024916 [00:27:13]NVStorageSaveData ofd_packets/00024916 [00:27:13]File name is /storage/ofd_packets/00024916 [00:27:13]Write 307 bytes [00:27:13]NVStorageSaveData done [00:27:13]OFDSenderStorePacket done [00:27:13]KKMCreateOFDPacket done [00:27:13]NVStorageSaveData kkm_last_timestamp [00:27:13]File name is /storage/kkm_last_timestamp [00:27:13]Write 4 bytes [00:27:13]NVStorageSaveData done [00:27:13]ExternCall_PrintAddStr [00:27:13]wPrintStart [00:27:13]Write to MH i2c: 01 00 00 CC 00 CC [00:27:13]Write i2c OK [00:27:13]MH_I2C_Read... [00:27:13]Read from MH i2c: 01 [00:27:13]MH_I2C_Read... [00:27:13]Read from MH i2c: 01 07 00 [00:27:13]MH_I2C_Read... [00:27:13]Read from MH i2c: 01 07 00 CC 00 00 00 00 00 00 FF 0F E1 [00:27:13]RasterBufferAndPrint [00:27:13]line Отчет об открытии смены [00:27:13]line ФФД: 1.0 [00:27:13]line ИНН: 02508201610067 [00:27:13]line Кассир: Алыкулова К. [00:27:13]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [00:27:13]line Место: АЗС № 161 "Партнер Нефть" [00:27:13]line 21.10.2024 00:27 [00:27:13]line Смена: 456 [00:27:13]line РНМ: 0000000000098147 [00:27:13]line ЗНМ: 0300000240 [00:27:13]line ФД: 24916 [00:27:13]line ФМ: 0000000000965376 [00:27:13]line ФПД: 90033953915113 [00:27:13]written 0, free lines is 4095 [00:27:13]OFD Sender: Processing packet 24916 [packets to send 5, broken 4] [00:27:13]ProducePacketName [00:27:13]name=ofd_packets/00024916 [00:27:13]OFD Sender: To server: pG, [00:27:13]CommunicateWithHost lk.salyk.kg:30040 [00:27:13]ConnectInit lk.salyk.kg [00:27:13]Connected sock=10 [00:27:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 15 01 00 00 F5 63 0D 01 42 2E 5A 02 01 00 02 00 01 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 90 D0 BB D1 8B D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9A 2E 20 F1 03 53 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9C D0 B0 D1 81 D1 8B 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2D D0 9E D1 88 20 35 32 31 20 D0 BA D0 BC 2C 20 34 31 2E 39 32 39 38 33 34 2C 20 37 32 2E 38 38 38 38 35 36 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 31 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 E0 9F 15 67 0E 04 04 00 C8 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 54 61 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 35 04 06 00 51 E2 A9 D7 40 E9 6E EF 6C 0B 73 97 D1 06 [00:27:13]Write to MH i2c: 01 00 00 DE 00 DE [00:27:13]Write i2c OK [00:27:13]MH_I2C_Read... [00:27:13]Read from MH i2c: 01 [00:27:13]MH_I2C_Read... [00:27:13]Read from MH i2c: 01 07 00 [00:27:13]MH_I2C_Read... [00:27:13]Read from MH i2c: 01 07 00 DE 00 00 00 00 00 00 8E 0E 81 [00:27:13]RasterBufferAndPrint [00:27:13]line [00:27:13]line [00:27:13]line [00:27:13]line [00:27:13]line [00:27:13]written 0, free lines is 3741 [00:27:13]process_action open_shift done [00:27:13]requested_data is exist [00:27:13]produce_requested_data [00:27:13]requested_item fd.num is exist - process it [00:27:13]SAM_PROTO_GetFieldsCounters [00:27:13]wFMCommunicate request_size=4 [00:27:13]MH_SAM_APDU [00:27:13]CAPDU: 80 13 00 00 [00:27:13]Write to MH i2c: E2 08 00 E5 00 80 13 00 00 00 00 00 00 61 [00:27:13]Write i2c OK [00:27:13]MH_I2C_Read... [00:27:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:27:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 A2 3F 47 00 D7 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 33 37 36 10 04 04 00 54 61 00 00 F4 03 04 00 5F 48 15 67 B6 04 01 00 00 DD 8B CA 0C 14 DB ED 42 [00:27:14]CommunicateWithHost err = 0 [00:27:14]CheckOFDResponse [00:27:14]1017 (14) - 77093643461234 [00:27:14]1041 (16) - 0000000000965376 [00:27:14]1040 (4) - 24916 [00:27:14]1012 (4) - 20.10.2024 18:13 [00:27:14]1206 (1) - 0 [00:27:14]OFD Sender: Remove packet 24916 [00:27:14]ProducePacketName [00:27:14]name=ofd_packets/00024916 [00:27:14]NVStorageDeleteData [00:27:14]Read from MH i2c: E2 [00:27:14]MH_I2C_Read... [00:27:14]Read from MH i2c: E2 62 00 [00:27:14]MH_I2C_Read... [00:27:14]Read from MH i2c: E2 62 00 E5 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 54 61 00 00 0E 04 04 00 C8 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 08 [00:27:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 54 61 00 00 0E 04 04 00 C8 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:27:14]wFMCommunicate OK [00:27:14]SAM_PROTO_GetFieldsCounters done [00:27:14]requested_item shift.num is exist - process it [00:27:14]requested_item shift.opened is exist - process it [00:27:14]req_shift_opened [00:27:14]FM_GetShiftState [00:27:14]SAM_PROTO_GetShiftState [00:27:14]wFMCommunicate request_size=4 [00:27:14]MH_SAM_APDU [00:27:14]CAPDU: 80 13 01 00 [00:27:14]Write to MH i2c: E2 08 00 E6 00 80 13 01 00 00 00 00 00 63 [00:27:14]Write i2c OK [00:27:14]MH_I2C_Read... [00:27:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:27:14]Read from MH i2c: E2 [00:27:14]MH_I2C_Read... [00:27:14]Read from MH i2c: E2 0E 00 [00:27:14]MH_I2C_Read... [00:27:14]Read from MH i2c: E2 0E 00 E6 00 00 09 00 01 E0 9F 15 67 00 00 00 00 90 00 6A [00:27:14]RAPDU: 09 00 01 E0 9F 15 67 00 00 00 00 90 00 [00:27:14]wFMCommunicate OK [00:27:14]SAM_PROTO_GetShiftState done [00:27:14]FM_GetShiftState done [00:27:14]req_shift_opened done [00:27:14]requested_item shift.open_date is exist - process it [00:27:14]req_shift_open_date [00:27:14]req_shift_open_date done [00:27:14]produce_requested_data done [00:27:14]produce_requested_data return {"fd.num":24916,"shift.num":456,"shift.opened":1,"shift.open_date":1729470432} [00:27:14]process_action_free open_shift [00:27:14]json_value_free [00:27:14]json_value_free done [00:27:14]process_json_proto returns [00:27:14]Send response to host [00:27:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":24916,"shift.num":456,"shift.opened":1,"shift.open_date":1729470432}}} [00:27:14]free response buf [00:27:14]execute_script done [00:27:14]execute_script returns [00:27:14]free content buf [00:27:14]Sock 9.Close socket [00:27:14]Sock 9.Thread stoped [00:27:14]accept exits with 7 [00:27:14]New connection [00:27:14]New thread 3066965348 created [00:27:14]Thread 3067108708 joined [00:27:14]Waiting for new connection... [00:27:14] Sock 7.Parse request [00:27:14]Sock 7.Check first char [00:27:14]Sock 7.First char is OK [00:27:14]request: POST /json_proto HTTP/1.0 [00:27:14]Method: POST [00:27:14]URL: /json_proto [00:27:14]Method is POST - this is cgi request [00:27:14]url: /json_proto [00:27:14]query_string will be loaded in cgi processing [00:27:14]execute_cgi json_proto POST (null) [00:27:14]execute_cgi path=json_proto method=POST [00:27:14]POST find Content-Length [00:27:14]Host: 172.17.53.196:8080 [00:27:14]Content-Length: 331 [00:27:14]Content-Type: application/json [00:27:14] [00:27:14]POST finish read [00:27:14]Found Content-Length = 331 [00:27: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:27:14]execute_script... [00:27:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:27:14]POST & json_proto [00:27:14]process_json_proto [00:27:14]json parsed OK: [00:27:14]protocol is kg_v1.0 [00:27:14]action value=get_value [00:27:14]process_action get_value [00:27:14]cmd_get_value [00:27:14]process_action get_value done [00:27:14]requested_data is exist [00:27:14]produce_requested_data [00:27:14]requested_item fm.sale.total is exist - process it [00:27:14]SAM_PROTO_GetFMData [00:27:14]wFMCommunicate request_size=4 [00:27:14]MH_SAM_APDU [00:27:14]CAPDU: 80 13 03 00 [00:27:14]Write to MH i2c: E2 08 00 E7 00 80 13 03 00 00 00 00 00 66 [00:27:14]Write i2c OK [00:27:14]MH_I2C_Read... [00:27:14]OFD Sender: No OFD packet to send [00:27:14]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:27:14]Read from MH i2c: E2 [00:27:14]MH_I2C_Read... [00:27:14]Read from MH i2c: E2 FD 00 [00:27:14]MH_I2C_Read... [00:27:14]Read from MH i2c: E2 FD 00 E7 00 00 BF 04 85 04 BB 04 6E 04 04 00 C4 5D 00 00 69 04 A0 00 6F 04 04 00 B6 5D 00 00 B1 04 04 00 88 1A B7 14 70 04 04 00 A8 15 8A 12 72 04 04 00 E0 04 2D 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 05 21 33 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 F7 E2 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 52 [00:27:14]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 C4 5D 00 00 69 04 A0 00 6F 04 04 00 B6 5D 00 00 B1 04 04 00 88 1A B7 14 70 04 04 00 A8 15 8A 12 72 04 04 00 E0 04 2D 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 05 21 33 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 F7 E2 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 B0 EF 03 09 00 F6 03 01 00 90 00 [00:27:14]wFMCommunicate OK [00:27:14]wFMCommunicate request_size=4 [00:27:14]MH_SAM_APDU [00:27:14]CAPDU: 80 17 00 00 [00:27:14]Write to MH i2c: E2 08 00 E8 00 80 17 00 00 00 00 00 00 68 [00:27:14]Write i2c OK [00:27:14]MH_I2C_Read... [00:27:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:14]Read from MH i2c: E2 [00:27:14]MH_I2C_Read... [00:27:15]Read from MH i2c: E2 FD 00 [00:27:15]MH_I2C_Read... [00:27:15]Read from MH i2c: E2 FD 00 E8 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 5A [00:27:15]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:27:15]wFMCommunicate OK [00:27:15]wFMCommunicate request_size=4 [00:27:15]MH_SAM_APDU [00:27:15]CAPDU: 80 17 00 00 [00:27:15]Write to MH i2c: E2 08 00 E9 00 80 17 00 00 00 00 00 00 69 [00:27:15]Write i2c OK [00:27:15]MH_I2C_Read... [00:27:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:15]Read from MH i2c: E2 [00:27:15]MH_I2C_Read... [00:27:15]Read from MH i2c: E2 FD 00 [00:27:15]MH_I2C_Read... [00:27:15]Read from MH i2c: E2 FD 00 E9 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 0D [00:27:15]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:27:15]wFMCommunicate OK [00:27:15]wFMCommunicate request_size=4 [00:27:15]MH_SAM_APDU [00:27:15]CAPDU: 80 17 00 00 [00:27:15]Write to MH i2c: E2 08 00 EA 00 80 17 00 00 00 00 00 00 6A [00:27:15]Write i2c OK [00:27:15]MH_I2C_Read... [00:27:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:15]Read from MH i2c: E2 [00:27:15]MH_I2C_Read... [00:27:15]Read from MH i2c: E2 FD 00 [00:27:15]MH_I2C_Read... [00:27:15]Read from MH i2c: E2 FD 00 EA 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 E4 [00:27:15]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:27:15]wFMCommunicate OK [00:27:15]wFMCommunicate request_size=4 [00:27:15]MH_SAM_APDU [00:27:15]CAPDU: 80 17 00 00 [00:27:15]Write to MH i2c: E2 08 00 EB 00 80 17 00 00 00 00 00 00 6B [00:27:15]Write i2c OK [00:27:15]MH_I2C_Read... [00:27:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:27:16]Read from MH i2c: E2 [00:27:16]MH_I2C_Read... [00:27:16]Read from MH i2c: E2 DC 00 [00:27:16]MH_I2C_Read... [00:27:16]Read from MH i2c: E2 DC 00 EB 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 4F [00:27:16]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:27:16]wFMCommunicate OK [00:27:16]SAM_PROTO_GetFMData done [00:27:16]requested_item fm.sale_refund.total is exist - process it [00:27:16]requested_item fm.buy.total is exist - process it [00:27:16]requested_item shift.sale.total is exist - process it [00:27:16]SAM_PROTO_GetShiftData [00:27:16]wFMCommunicate request_size=4 [00:27:16]MH_SAM_APDU [00:27:16]CAPDU: 80 13 02 00 [00:27:16]Write to MH i2c: E2 08 00 EC 00 80 13 02 00 00 00 00 00 6A [00:27:16]Write i2c OK [00:27:16]MH_I2C_Read... [00:27:16]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:27:16]Read from MH i2c: E2 [00:27:16]MH_I2C_Read... [00:27:16]Read from MH i2c: E2 FD 00 [00:27:16]MH_I2C_Read... [00:27:16]Read from MH i2c: E2 FD 00 EC 00 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 DD [00:27:16]RAPDU: A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [00:27:16]wFMCommunicate OK [00:27:16]wFMCommunicate request_size=4 [00:27:16]MH_SAM_APDU [00:27:16]CAPDU: 80 17 00 00 [00:27:16]Write to MH i2c: E2 08 00 ED 00 80 17 00 00 00 00 00 00 6D [00:27:16]Write i2c OK [00:27:16]MH_I2C_Read... [00:27:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:17]Read from MH i2c: E2 [00:27:17]MH_I2C_Read... [00:27:17]Read from MH i2c: E2 FD 00 [00:27:17]MH_I2C_Read... [00:27:17]Read from MH i2c: E2 FD 00 ED 00 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 75 [00:27:17]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 [00:27:17]wFMCommunicate OK [00:27:17]wFMCommunicate request_size=4 [00:27:17]MH_SAM_APDU [00:27:17]CAPDU: 80 17 00 00 [00:27:17]Write to MH i2c: E2 08 00 EE 00 80 17 00 00 00 00 00 00 6E [00:27:17]Write i2c OK [00:27:17]MH_I2C_Read... [00:27:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:17]Read from MH i2c: E2 [00:27:17]MH_I2C_Read... [00:27:17]Read from MH i2c: E2 FD 00 [00:27:17]MH_I2C_Read... [00:27:17]Read from MH i2c: E2 FD 00 EE 00 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 40 [00:27:17]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 [00:27:17]wFMCommunicate OK [00:27:17]wFMCommunicate request_size=4 [00:27:17]MH_SAM_APDU [00:27:17]CAPDU: 80 17 00 00 [00:27:17]Write to MH i2c: E2 08 00 EF 00 80 17 00 00 00 00 00 00 6F [00:27:17]Write i2c OK [00:27:17]MH_I2C_Read... [00:27:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:18]Read from MH i2c: E2 [00:27:18]MH_I2C_Read... [00:27:18]Read from MH i2c: E2 FD 00 [00:27:18]MH_I2C_Read... [00:27:18]Read from MH i2c: E2 FD 00 EF 00 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 E1 [00:27:18]RAPDU: 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 [00:27:18]wFMCommunicate OK [00:27:18]wFMCommunicate request_size=4 [00:27:18]MH_SAM_APDU [00:27:18]CAPDU: 80 17 00 00 [00:27:18]Write to MH i2c: E2 08 00 F0 00 80 17 00 00 00 00 00 00 70 [00:27:18]Write i2c OK [00:27:18]MH_I2C_Read... [00:27:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:27:18]Read from MH i2c: E2 [00:27:18]MH_I2C_Read... [00:27:18]Read from MH i2c: E2 BD 00 [00:27:18]MH_I2C_Read... [00:27:18]Read from MH i2c: E2 BD 00 F0 00 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 56 [00:27:18]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:27:18]wFMCommunicate OK [00:27:18]SAM_PROTO_GetShiftData done [00:27:18]requested_item shift.sale.total_cash is exist - process it [00:27:18]requested_item shift.sale_refund.total is exist - process it [00:27:18]requested_item shift.sale_refund.total_cash is exist - process it [00:27:18]requested_item shift.buy.total is exist - process it [00:27:18]requested_item shift.buy.total_cash is exist - process it [00:27:18]produce_requested_data done [00:27:18]produce_requested_data return {"fm.sale.total":3475442.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:27:18]process_action_free get_value [00:27:18]json_value_free [00:27:18]json_value_free done [00:27:18]process_json_proto returns [00:27:18]Send response to host [00:27:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3475442.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:27:18]free response buf [00:27:18]execute_script done [00:27:18]execute_script returns [00:27:18]free content buf [00:27:18]Sock 7.Close socket [00:27:18]Sock 7.Thread stoped [00:27:19]OFD Sender: No OFD packet to send [00:27:24]OFD Sender: No OFD packet to send [00:27:29]OFD Sender: No OFD packet to send [00:27:34]OFD Sender: No OFD packet to send [00:27:39]OFD Sender: No OFD packet to send [00:27:44]OFD Sender: No OFD packet to send [00:27:49]OFD Sender: No OFD packet to send [00:27:54]OFD Sender: No OFD packet to send [00:27:59]OFD Sender: No OFD packet to send [00:28:04]OFD Sender: No OFD packet to send [00:28:09]OFD Sender: No OFD packet to send [00:28:14]OFD Sender: No OFD packet to send [00:28:19]OFD Sender: No OFD packet to send [00:28:24]OFD Sender: No OFD packet to send [00:28:29]OFD Sender: No OFD packet to send [00:28:34]OFD Sender: No OFD packet to send [00:28:39]OFD Sender: No OFD packet to send [00:28:44]OFD Sender: No OFD packet to send [00:28:49]OFD Sender: No OFD packet to send [00:28:54]OFD Sender: No OFD packet to send [00:28:59]OFD Sender: No OFD packet to send [00:29:04]OFD Sender: No OFD packet to send [00:29:09]OFD Sender: No OFD packet to send [00:29:14]OFD Sender: No OFD packet to send [00:29:19]OFD Sender: No OFD packet to send [00:29:24]OFD Sender: No OFD packet to send [00:29:29]OFD Sender: No OFD packet to send [00:29:34]accept exits with 9 [00:29:34]New connection [00:29:34]New thread 3067108708 created [00:29:34]Thread 3066965348 joined [00:29:34]Waiting for new connection... [00:29:34] Sock 9.Parse request [00:29:34]Sock 9.Check first char [00:29:34]Sock 9.First char is OK [00:29:34]request: POST /json_proto HTTP/1.0 [00:29:34]Method: POST [00:29:34]URL: /json_proto [00:29:34]Method is POST - this is cgi request [00:29:34]url: /json_proto [00:29:34]query_string will be loaded in cgi processing [00:29:34]execute_cgi json_proto POST (null) [00:29:34]execute_cgi path=json_proto method=POST [00:29:34]POST find Content-Length [00:29:34]Host: 172.17.53.196:8080 [00:29:34]Content-Length: 668 [00:29:34]Content-Type: application/json [00:29:34] [00:29:34]POST finish read [00:29:34]Found Content-Length = 668 [00:29:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34676", "tax_sys" : 0, "items" : [ { "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 }]} ], "payments": [ { "type": 0, "sum" : 93.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:29:34]execute_script... [00:29:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34676", "tax_sys" : 0, "items" : [ { "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 }]} ], "payments": [ { "type": 0, "sum" : 93.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:29:34]POST & json_proto [00:29:34]process_json_proto [00:29:34]json parsed OK: [00:29:34]protocol is kg_v1.0 [00:29:34]action value=close_receipt [00:29:34]process_action close_receipt [00:29:34]cmd_close_receipt [00:29:34]MH_GetDate [00:29:34]Write to MH i2c: F0 00 00 F1 00 E0 [00:29:34]Write i2c OK [00:29:34]MH_I2C_Read... [00:29:34]Read from MH i2c: F0 [00:29:34]MH_I2C_Read... [00:29:34]Read from MH i2c: F0 09 00 [00:29:34]MH_I2C_Read... [00:29:34]Read from MH i2c: F0 09 00 F1 00 00 6F A0 15 67 4F CD 9A 65 8F [00:29:34]GetLastDocTimeStamp 1729470432 [00:29:34]current date 1729470575 [00:29:34]FM_GetShiftState [00:29:34]SAM_PROTO_GetShiftState [00:29:34]wFMCommunicate request_size=4 [00:29:34]MH_SAM_APDU [00:29:34]CAPDU: 80 13 01 00 [00:29:34]Write to MH i2c: E2 08 00 F2 00 80 13 01 00 00 00 00 00 6F [00:29:34]Write i2c OK [00:29:34]MH_I2C_Read... [00:29:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:29:34]Read from MH i2c: E2 [00:29:34]MH_I2C_Read... [00:29:34]Read from MH i2c: E2 0E 00 [00:29:34]MH_I2C_Read... [00:29:34]Read from MH i2c: E2 0E 00 F2 00 00 09 00 01 E0 9F 15 67 00 00 00 00 90 00 76 [00:29:34]RAPDU: 09 00 01 E0 9F 15 67 00 00 00 00 90 00 [00:29:34]wFMCommunicate OK [00:29:34]SAM_PROTO_GetShiftState done [00:29:34]FM_GetShiftState done [00:29:34]opened in 1729470432 [00:29:34]opened+sec_in_day 1729556832 [00:29:34]quantity*price = 9300 [00:29:34]sum+1 = 9301 [00:29:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 93.00 НСП 1% : 0.82 НДС 12% : 9.88 Наличными: 93.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 1 21.10.2024 00:29 Смена: 456 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24917 ФПД: 85264229036719 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T002935&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24917&fm=85264229036719&tin=02508201610067®Number=0000000000098147&sum=9300 0 [00:29:35]StoreToDocumentArchive [00:29:35]shift 456 fd 24917 [00:29:35]save to /storage/0456/doc_00024917 [00:29:35]save last doc name /storage/0456/doc_00024917 to /storage/kkm_last_doc_name [00:29:35]save OK [00:29:35]Clear old archive folders... [00:29:35]ProcessDocumentItem done err = 0, tmpTLVsize=288 [00:29:35]tlvbuf is 01160440 [00:29:35]SAM_PROTO_ClearQueue [00:29:35]wFMCommunicate request_size=4 [00:29:35]MH_SAM_APDU [00:29:35]CAPDU: 80 09 00 00 [00:29:35]Write to MH i2c: E2 08 00 FF 00 80 09 00 00 00 00 00 00 71 [00:29:35]Write i2c OK [00:29:35]MH_I2C_Read... [00:29:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:29:35]Read from MH i2c: E2 [00:29:35]MH_I2C_Read... [00:29:35]Read from MH i2c: E2 03 00 [00:29:35]MH_I2C_Read... [00:29:35]Read from MH i2c: E2 03 00 FF 00 00 90 00 73 [00:29:35]RAPDU: 90 00 [00:29:35]wFMCommunicate OK [00:29:35]SAM_PROTO_ClearQueue done [00:29:35]KKMCreateOFDPacket [00:29:35]OFDProtocolAddRootSTLVToBuf [00:29:35]FM_MakeSignedData [00:29:35]FM_MakeSignedData [00:29:35]SAM_PROTO_SignData [00:29:35]wFMCommunicate request_size=4 [00:29:35]MH_SAM_APDU [00:29:35]CAPDU: 80 0D 01 02 [00:29:35]Write to MH i2c: E2 08 00 00 01 80 0D 01 02 00 00 00 00 7A [00:29:35]Write i2c OK [00:29:35]MH_I2C_Read... [00:29:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:29:35]Read from MH i2c: E2 [00:29:35]MH_I2C_Read... [00:29:35]Read from MH i2c: E2 03 00 [00:29:35]MH_I2C_Read... [00:29:35]Read from MH i2c: E2 03 00 00 01 00 90 00 75 [00:29:35]RAPDU: 90 00 [00:29:35]wFMCommunicate OK [00:29:35]wFMCommunicate request_size=255 [00:29:35]MH_SAM_APDU [00:29:35]CAPDU: 80 0D 02 02 FA 03 00 20 01 1E 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 FC 03 06 00 54 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 52 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 03 00 00 00 00 07 04 06 00 54 24 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 6F A0 15 67 0E 04 04 00 C8 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:29:35]Write to MH i2c: E2 02 01 01 01 80 0D 02 02 FA 00 03 00 20 01 1E 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 FC 03 06 00 54 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 52 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 03 00 00 00 00 07 04 06 00 54 24 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 6F A0 15 67 0E 04 04 00 C8 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 E5 [00:29:35]Write i2c OK [00:29:35]MH_I2C_Read... [00:29:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:29:36]Read from MH i2c: E2 [00:29:36]MH_I2C_Read... [00:29:36]Read from MH i2c: E2 03 00 [00:29:36]MH_I2C_Read... [00:29:36]Read from MH i2c: E2 03 00 01 01 00 90 00 76 [00:29:36]RAPDU: 90 00 [00:29:36]wFMCommunicate OK [00:29:36]wFMCommunicate request_size=47 [00:29:36]MH_SAM_APDU [00:29:36]CAPDU: 80 0D 02 02 2A 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 55 61 00 00 35 04 06 00 4D 8C 20 15 72 AF [00:29:36]Write to MH i2c: E2 32 00 02 01 80 0D 02 02 2A 00 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 55 61 00 00 35 04 06 00 4D 8C 20 15 72 AF 00 00 2A [00:29:36]Write i2c OK [00:29:36]MH_I2C_Read... [00:29:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:29:36]Read from MH i2c: E2 [00:29:36]MH_I2C_Read... [00:29:36]Read from MH i2c: E2 03 00 [00:29:36]MH_I2C_Read... [00:29:36]Read from MH i2c: E2 03 00 02 01 00 90 00 77 [00:29:36]RAPDU: 90 00 [00:29:36]wFMCommunicate OK [00:29:36]wFMCommunicate request_size=4 [00:29:36]MH_SAM_APDU [00:29:36]CAPDU: 80 0D 03 02 [00:29:36]Write to MH i2c: E2 08 00 03 01 80 0D 03 02 00 00 00 00 7F [00:29:36]Write i2c OK [00:29:36]MH_I2C_Read... [00:29:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:29:36]Read from MH i2c: E2 [00:29:36]MH_I2C_Read... [00:29:36]Read from MH i2c: E2 0B 00 [00:29:36]MH_I2C_Read... [00:29:36]Read from MH i2c: E2 0B 00 03 01 00 05 B0 87 8D E9 47 C8 83 90 00 C4 [00:29:36]RAPDU: 05 B0 87 8D E9 47 C8 83 90 00 [00:29:36]wFMCommunicate OK [00:29:36]SAM_PROTO_SignData done [00:29:36]FM_MakeSignedData done [00:29:36]CreateOFDProtocolMessage [00:29:36]wFMCommunicate request_size=4 [00:29:36]MH_SAM_APDU [00:29:36]CAPDU: 80 11 00 00 [00:29:36]Write to MH i2c: E2 08 00 04 01 80 11 00 00 00 00 00 00 7F [00:29:36]Write i2c OK [00:29:36]MH_I2C_Read... [00:29:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:29:36]Read from MH i2c: E2 [00:29:36]MH_I2C_Read... [00:29:36]Read from MH i2c: E2 17 00 [00:29:36]MH_I2C_Read... [00:29:36]Read from MH i2c: E2 17 00 04 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 D6 [00:29:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:29:36]wFMCommunicate OK [00:29:36]CreateOFDProtocolMessage done [00:29:36]OFDSenderStorePacket 24917 [00:29:36]StoreOFDPacket docnum=24917 [00:29:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 34 01 00 00 9F 1D 2C 01 E7 05 5A 03 01 00 03 00 20 01 1E 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 FC 03 06 00 54 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 52 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 03 00 00 00 00 07 04 06 00 54 24 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 6F A0 15 67 0E 04 04 00 C8 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 55 61 00 00 35 04 06 00 4D 8C 20 15 72 AF 05 B0 87 8D E9 47 C8 83 [00:29:36]CheckFolder [00:29:36]dirname=/storage/ofd_packets [00:29:36]CheckFolder done [00:29:36]ProducePacketName [00:29:36]name=ofd_packets/00024917 [00:29:36]NVStorageSaveData ofd_packets/00024917 [00:29:36]File name is /storage/ofd_packets/00024917 [00:29:36]Write 338 bytes [00:29:36]NVStorageSaveData done [00:29:36]OFDSenderStorePacket done [00:29:36]KKMCreateOFDPacket done [00:29:36]NVStorageSaveData kkm_last_timestamp [00:29:36]File name is /storage/kkm_last_timestamp [00:29:36]Write 4 bytes [00:29:36]NVStorageSaveData done [00:29:36]ExternCall_PrintAddStr [00:29:36]wPrintStart [00:29:36]Write to MH i2c: 01 00 00 05 01 06 [00:29:36]Write i2c OK [00:29:36]MH_I2C_Read... [00:29:36]Read from MH i2c: 01 [00:29:36]MH_I2C_Read... [00:29:36]Read from MH i2c: 01 07 00 [00:29:36]MH_I2C_Read... [00:29:36]Read from MH i2c: 01 07 00 05 01 00 00 00 00 00 FF 0F 1B [00:29:36]RasterBufferAndPrint [00:29:36]line Счет N : (3)34676 [00:29:36]line ИНН: 02508201610067 [00:29:36]line Контрольно-Кассовый Чек [00:29:36]line ПРОДАЖА [00:29:36]line Товар: 4603290004879 [00:29:36]line Печ.сах.FORSITE Сэнд.кокос.вк [00:29:36]line 1.000 * 93.00 [00:29:36]line = 93.00 [00:29:36]line НДС 12% НСП 1% [00:29:36]line > о реализуемом товаре [00:29:36]line ИТОГО: 93.00 [00:29:36]line НСП 1% : 0.82 [00:29:36]line НДС 12% : 9.88 [00:29:36]line Наличными: 93.00 [00:29:36]line Безнал.: 0.00 [00:29:36]line Место: АЗС № 161 "Партнер Нефть" [00:29:36]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [00:29:36]line СНО: Общий режим [00:29:36]line Чек 1 21.10.2024 00:29 [00:29:36]line Смена: 456 ФФД: 1.0 [00:29:36]line ЗНМ: 0300000240 [00:29:36]line РНМ: 0000000000098147 [00:29:36]line Версия ККМ: 001 [00:29:36]line ФМ: 0000000000965376 [00:29:36]line ФД: 24917 [00:29:36]line ФПД: 85264229036719 [00:29:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T002935&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24917&fm=85264229036719&tin=02508201610067®Number=0000000000098147&sum=9300 [00:29:36]OFD Sender: Processing packet 24917 [packets to send 5, broken 4] [00:29:36]ProducePacketName [00:29:36]name=ofd_packets/00024917 [00:29:36]OFD Sender: To server: pG, [00:29:36]CommunicateWithHost lk.salyk.kg:30040 [00:29:36]ConnectInit lk.salyk.kg [00:29:36]line 0 [00:29:36]written 0, free lines is 4095 [00:29:36]Connected sock=10 [00:29:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 34 01 00 00 9F 1D 2C 01 E7 05 5A 03 01 00 03 00 20 01 1E 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 FC 03 06 00 54 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 52 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 03 00 00 00 00 07 04 06 00 54 24 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 6F A0 15 67 0E 04 04 00 C8 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 55 61 00 00 35 04 06 00 4D 8C 20 15 72 AF 05 B0 87 8D E9 47 C8 83 [00:29:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 A3 DF 47 00 0A 23 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 55 61 00 00 F4 03 04 00 EE 48 15 67 B6 04 01 00 00 A0 64 84 85 88 CE 0C 06 [00:29:36]CommunicateWithHost err = 0 [00:29:36]CheckOFDResponse [00:29:36]1017 (14) - 77093643461234 [00:29:36]1041 (16) - 0000000000965376 [00:29:36]1040 (4) - 24917 [00:29:36]1012 (4) - 20.10.2024 18:16 [00:29:36]1206 (1) - 0 [00:29:36]OFD Sender: Remove packet 24917 [00:29:36]ProducePacketName [00:29:36]name=ofd_packets/00024917 [00:29:36]NVStorageDeleteData [00:29:37]Write to MH i2c: 01 00 00 2D 01 2E [00:29:37]Write i2c OK [00:29:37]MH_I2C_Read... [00:29:37]Read from MH i2c: 01 [00:29:37]MH_I2C_Read... [00:29:37]Read from MH i2c: 01 07 00 [00:29:37]MH_I2C_Read... [00:29:37]Read from MH i2c: 01 07 00 2D 01 00 00 00 00 00 E3 0C 24 [00:29:37]RasterBufferAndPrint [00:29:37]line [00:29:37]line [00:29:37]line [00:29:37]line [00:29:37]line [00:29:37]written 0, free lines is 3305 [00:29:37]process_action close_receipt done [00:29:37]requested_data is exist [00:29:37]produce_requested_data [00:29:37]requested_item fm.sn is exist - process it [00:29:37]wFMCommunicate request_size=4 [00:29:37]MH_SAM_APDU [00:29:37]CAPDU: 80 11 00 00 [00:29:37]Write to MH i2c: E2 08 00 34 01 80 11 00 00 00 00 00 00 AF [00:29:37]Write i2c OK [00:29:37]MH_I2C_Read... [00:29:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:29:37]Read from MH i2c: E2 [00:29:37]MH_I2C_Read... [00:29:37]Read from MH i2c: E2 17 00 [00:29:37]MH_I2C_Read... [00:29:37]Read from MH i2c: E2 17 00 34 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 06 [00:29:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:29:37]wFMCommunicate OK [00:29:37]requested_item fd.num is exist - process it [00:29:37]SAM_PROTO_GetFieldsCounters [00:29:37]wFMCommunicate request_size=4 [00:29:37]MH_SAM_APDU [00:29:37]CAPDU: 80 13 00 00 [00:29:37]Write to MH i2c: E2 08 00 35 01 80 13 00 00 00 00 00 00 B2 [00:29:37]Write i2c OK [00:29:37]MH_I2C_Read... [00:29:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:29:37]Read from MH i2c: E2 [00:29:37]MH_I2C_Read... [00:29:37]Read from MH i2c: E2 62 00 [00:29:37]MH_I2C_Read... [00:29:37]Read from MH i2c: E2 62 00 35 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 55 61 00 00 0E 04 04 00 C8 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 5D [00:29:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 55 61 00 00 0E 04 04 00 C8 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:29:37]wFMCommunicate OK [00:29:37]SAM_PROTO_GetFieldsCounters done [00:29:37]requested_item shift.num is exist - process it [00:29:37]requested_item shift.opened is exist - process it [00:29:37]req_shift_opened [00:29:37]FM_GetShiftState [00:29:37]SAM_PROTO_GetShiftState [00:29:37]wFMCommunicate request_size=4 [00:29:37]MH_SAM_APDU [00:29:37]CAPDU: 80 13 01 00 [00:29:37]Write to MH i2c: E2 08 00 36 01 80 13 01 00 00 00 00 00 B4 [00:29:37]Write i2c OK [00:29:37]MH_I2C_Read... [00:29:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:29:37]Read from MH i2c: E2 [00:29:37]MH_I2C_Read... [00:29:37]Read from MH i2c: E2 0E 00 [00:29:37]MH_I2C_Read... [00:29:37]Read from MH i2c: E2 0E 00 36 01 00 09 00 01 E0 9F 15 67 00 00 00 00 90 00 BB [00:29:37]RAPDU: 09 00 01 E0 9F 15 67 00 00 00 00 90 00 [00:29:37]wFMCommunicate OK [00:29:37]SAM_PROTO_GetShiftState done [00:29:37]FM_GetShiftState done [00:29:37]req_shift_opened done [00:29:37]requested_item shift.open_date is exist - process it [00:29:37]req_shift_open_date [00:29:37]req_shift_open_date done [00:29:37]produce_requested_data done [00:29:37]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24917,"shift.num":456,"shift.opened":1,"shift.open_date":1729470432} [00:29:37]process_action_free close_receipt [00:29:37]json_value_free [00:29:37]json_value_free done [00:29:37]process_json_proto returns [00:29:37]Send response to host [00:29:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24917,"shift.num":456,"shift.opened":1,"shift.open_date":1729470432}}} [00:29:37]free response buf [00:29:37]execute_script done [00:29:37]execute_script returns [00:29:37]free content buf [00:29:37]Sock 9.Close socket [00:29:37]Sock 9.Thread stoped [00:29:37]OFD Sender: No OFD packet to send [00:29:42]OFD Sender: No OFD packet to send [00:29:47]OFD Sender: No OFD packet to send [00:29:52]OFD Sender: No OFD packet to send [00:29:57]OFD Sender: No OFD packet to send [00:30:02]OFD Sender: No OFD packet to send [00:30:07]OFD Sender: No OFD packet to send [00:30:12]OFD Sender: No OFD packet to send [00:30:17]OFD Sender: No OFD packet to send [00:30:22]OFD Sender: No OFD packet to send [00:30:27]OFD Sender: No OFD packet to send [00:30:32]OFD Sender: No OFD packet to send [00:30:37]OFD Sender: No OFD packet to send [00:30:42]OFD Sender: No OFD packet to send [00:30:47]OFD Sender: No OFD packet to send [00:30:52]OFD Sender: No OFD packet to send [00:30:57]OFD Sender: No OFD packet to send [00:31:02]OFD Sender: No OFD packet to send [00:31:07]OFD Sender: No OFD packet to send [00:31:12]OFD Sender: No OFD packet to send [00:31:17]OFD Sender: No OFD packet to send [00:31:22]OFD Sender: No OFD packet to send [00:31:27]OFD Sender: No OFD packet to send [00:31:32]OFD Sender: No OFD packet to send [00:31:37]OFD Sender: No OFD packet to send [00:31:42]OFD Sender: No OFD packet to send [00:31:47]OFD Sender: No OFD packet to send [00:31:52]OFD Sender: No OFD packet to send [00:31:57]OFD Sender: No OFD packet to send [00:32:02]OFD Sender: No OFD packet to send [00:32:07]OFD Sender: No OFD packet to send [00:32:12]OFD Sender: No OFD packet to send [00:32:17]OFD Sender: No OFD packet to send [00:32:22]OFD Sender: No OFD packet to send [00:32:27]OFD Sender: No OFD packet to send [00:32:32]OFD Sender: No OFD packet to send [00:32:37]OFD Sender: No OFD packet to send [00:32:42]OFD Sender: No OFD packet to send [00:32:47]OFD Sender: No OFD packet to send [00:32:52]OFD Sender: No OFD packet to send [00:32:57]OFD Sender: No OFD packet to send [00:33:02]OFD Sender: No OFD packet to send [00:33:07]OFD Sender: No OFD packet to send [00:33:12]OFD Sender: No OFD packet to send [00:33:17]OFD Sender: No OFD packet to send [00:33:22]OFD Sender: No OFD packet to send [00:33:27]OFD Sender: No OFD packet to send [00:33:32]OFD Sender: No OFD packet to send [00:33:37]OFD Sender: No OFD packet to send [00:33:42]OFD Sender: No OFD packet to send [00:33:47]OFD Sender: No OFD packet to send [00:33:52]OFD Sender: No OFD packet to send [00:33:57]OFD Sender: No OFD packet to send [00:34:02]OFD Sender: No OFD packet to send [00:34:07]OFD Sender: No OFD packet to send [00:34:12]OFD Sender: No OFD packet to send [00:34:17]OFD Sender: No OFD packet to send [00:34:22]OFD Sender: No OFD packet to send [00:34:27]OFD Sender: No OFD packet to send [00:34:32]OFD Sender: No OFD packet to send [00:34:37]OFD Sender: No OFD packet to send [00:34:42]OFD Sender: No OFD packet to send [00:34:47]OFD Sender: No OFD packet to send [00:34:52]OFD Sender: No OFD packet to send [00:34:57]OFD Sender: No OFD packet to send [00:35:02]OFD Sender: No OFD packet to send [00:35:07]OFD Sender: No OFD packet to send [00:35:12]OFD Sender: No OFD packet to send [00:35:17]OFD Sender: No OFD packet to send [00:35:22]OFD Sender: No OFD packet to send [00:35:27]OFD Sender: No OFD packet to send [00:35:32]OFD Sender: No OFD packet to send [00:35:37]OFD Sender: No OFD packet to send [00:35:42]OFD Sender: No OFD packet to send [00:35:47]OFD Sender: No OFD packet to send [00:35:52]OFD Sender: No OFD packet to send [00:35:57]OFD Sender: No OFD packet to send [00:36:02]OFD Sender: No OFD packet to send [00:36:07]OFD Sender: No OFD packet to send [00:36:12]OFD Sender: No OFD packet to send [00:36:17]OFD Sender: No OFD packet to send [00:36:22]OFD Sender: No OFD packet to send [00:36:27]OFD Sender: No OFD packet to send [00:36:32]OFD Sender: No OFD packet to send [00:36:37]OFD Sender: No OFD packet to send [00:36:42]OFD Sender: No OFD packet to send [00:36:47]OFD Sender: No OFD packet to send [00:36:52]OFD Sender: No OFD packet to send [00:36:57]OFD Sender: No OFD packet to send [00:37:02]OFD Sender: No OFD packet to send [00:37:07]OFD Sender: No OFD packet to send [00:37:12]OFD Sender: No OFD packet to send [00:37:17]OFD Sender: No OFD packet to send [00:37:22]OFD Sender: No OFD packet to send [00:37:27]OFD Sender: No OFD packet to send [00:37:32]OFD Sender: No OFD packet to send [00:37:37]OFD Sender: No OFD packet to send [00:37:42]OFD Sender: No OFD packet to send [00:37:47]OFD Sender: No OFD packet to send [00:37:52]OFD Sender: No OFD packet to send [00:37:57]OFD Sender: No OFD packet to send [00:38:02]OFD Sender: No OFD packet to send [00:38:07]OFD Sender: No OFD packet to send [00:38:12]OFD Sender: No OFD packet to send [00:38:17]OFD Sender: No OFD packet to send [00:38:22]OFD Sender: No OFD packet to send [00:38:27]OFD Sender: No OFD packet to send [00:38:32]OFD Sender: No OFD packet to send [00:38:37]OFD Sender: No OFD packet to send [00:38:42]OFD Sender: No OFD packet to send [00:38:47]OFD Sender: No OFD packet to send [00:38:52]OFD Sender: No OFD packet to send [00:38:57]OFD Sender: No OFD packet to send [00:39:02]OFD Sender: No OFD packet to send [00:39:07]OFD Sender: No OFD packet to send [00:39:12]OFD Sender: No OFD packet to send [00:39:17]OFD Sender: No OFD packet to send [00:39:22]OFD Sender: No OFD packet to send [00:39:27]OFD Sender: No OFD packet to send [00:39:32]OFD Sender: No OFD packet to send [00:39:37]OFD Sender: No OFD packet to send [00:39:42]OFD Sender: No OFD packet to send [00:39:47]OFD Sender: No OFD packet to send [00:39:52]OFD Sender: No OFD packet to send [00:39:57]OFD Sender: No OFD packet to send [00:40:02]OFD Sender: No OFD packet to send [00:40:07]OFD Sender: No OFD packet to send [00:40:12]OFD Sender: No OFD packet to send [00:40:17]OFD Sender: No OFD packet to send [00:40:22]OFD Sender: No OFD packet to send [00:40:27]OFD Sender: No OFD packet to send [00:40:32]OFD Sender: No OFD packet to send [00:40:37]OFD Sender: No OFD packet to send [00:40:42]OFD Sender: No OFD packet to send [00:40:47]OFD Sender: No OFD packet to send [00:40:52]OFD Sender: No OFD packet to send [00:40:57]OFD Sender: No OFD packet to send [00:41:02]OFD Sender: No OFD packet to send [00:41:07]OFD Sender: No OFD packet to send [00:41:12]OFD Sender: No OFD packet to send [00:41:17]OFD Sender: No OFD packet to send [00:41:22]OFD Sender: No OFD packet to send [00:41:27]OFD Sender: No OFD packet to send [00:41:32]OFD Sender: No OFD packet to send [00:41:37]OFD Sender: No OFD packet to send [00:41:42]OFD Sender: No OFD packet to send [00:41: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:18]OFD Sender: No OFD packet to send [00:59:23]OFD Sender: No OFD packet to send [00:59:28]OFD Sender: No OFD packet to send [00:59:33]OFD Sender: No OFD packet to send [00:59:38]OFD Sender: No OFD packet to send [00:59:43]OFD Sender: No OFD packet to send [00:59:48]OFD Sender: No OFD packet to send [00:59:53]OFD Sender: No OFD packet to send [00:59:58]OFD Sender: No OFD packet to send [01:00:03]OFD Sender: No OFD packet to send [01:00:08]OFD Sender: No OFD packet to send [01:00:13]OFD Sender: No OFD packet to send [01:00:18]OFD Sender: No OFD packet to send [01:00:23]OFD Sender: No OFD packet to send [01:00:28]OFD Sender: No OFD packet to send [01:00:33]OFD Sender: No OFD packet to send [01:00:38]OFD Sender: No OFD packet to send [01:00:43]OFD Sender: No OFD packet to send [01:00:48]OFD Sender: No OFD packet to send [01:00:53]OFD Sender: No OFD packet to send [01:00:58]OFD Sender: No OFD packet to send [01:01:03]OFD Sender: No OFD packet to send [01:01:08]OFD Sender: No OFD packet to send [01:01:13]OFD Sender: No OFD packet to send [01:01:18]OFD Sender: No OFD packet to send [01:01:23]OFD Sender: No OFD packet to send [01:01:28]OFD Sender: No OFD packet to send [01:01:33]OFD Sender: No OFD packet to send [01:01:38]OFD Sender: No OFD packet to send [01:01:43]OFD Sender: No OFD packet to send [01:01:48]OFD Sender: No OFD packet to send [01:01:53]OFD Sender: No OFD packet to send [01:01:58]OFD Sender: No OFD packet to send [01:02:03]OFD Sender: No OFD packet to send [01:02:08]OFD Sender: No OFD packet to send [01:02:13]OFD Sender: No OFD packet to send [01:02:18]OFD Sender: No OFD packet to send [01:02:23]OFD Sender: No OFD packet to send [01:02:28]OFD Sender: No OFD packet to send [01:02:33]OFD Sender: No OFD packet to send [01:02:38]OFD Sender: No OFD packet to send [01:02:43]OFD Sender: No OFD packet to send [01:02:48]OFD Sender: No OFD packet to send [01:02:53]OFD Sender: No OFD packet to send [01:02:58]OFD Sender: No OFD packet to send [01:03:03]OFD Sender: No OFD packet to send [01:03:08]OFD Sender: No OFD packet to send [01:03: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:50]accept exits with 7 [01:09:50]New connection [01:09:50]New thread 3066965348 created [01:09:50]Thread 3067108708 joined [01:09:50]Waiting for new connection... [01:09:50] Sock 7.Parse request [01:09:50]Sock 7.Check first char [01:09:50]Sock 7.First char is OK [01:09:50]request: POST /json_proto HTTP/1.0 [01:09:50]Method: POST [01:09:50]URL: /json_proto [01:09:50]Method is POST - this is cgi request [01:09:50]url: /json_proto [01:09:50]query_string will be loaded in cgi processing [01:09:50]execute_cgi json_proto POST (null) [01:09:50]execute_cgi path=json_proto method=POST [01:09:50]POST find Content-Length [01:09:50]Host: 172.17.53.196:8080 [01:09:50]Content-Length: 671 [01:09:50]Content-Type: application/json [01:09:50] [01:09:50]POST finish read [01:09:50]Found Content-Length = 671 [01:09:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34677", "tax_sys" : 0, "items" : [ { "code": "4630007400662", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 140\u0433 \u0441\u0438\u043D\u0438\u0439", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:09:50]execute_script... [01:09:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34677", "tax_sys" : 0, "items" : [ { "code": "4630007400662", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 140\u0433 \u0441\u0438\u043D\u0438\u0439", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:09:50]POST & json_proto [01:09:50]process_json_proto [01:09:50]json parsed OK: [01:09:50]protocol is kg_v1.0 [01:09:50]action value=close_receipt [01:09:50]process_action close_receipt [01:09:50]cmd_close_receipt [01:09:50]MH_GetDate [01:09:50]Write to MH i2c: F0 00 00 37 01 27 [01:09:50]Write i2c OK [01:09:50]MH_I2C_Read... [01:09:50]Read from MH i2c: F0 [01:09:50]MH_I2C_Read... [01:09:50]Read from MH i2c: F0 09 00 [01:09:50]MH_I2C_Read... [01:09:50]Read from MH i2c: F0 09 00 37 01 00 DF A9 15 67 4F CD 9A 65 4F [01:09:50]GetLastDocTimeStamp 1729470575 [01:09:50]current date 1729472991 [01:09:50]FM_GetShiftState [01:09:50]SAM_PROTO_GetShiftState [01:09:50]wFMCommunicate request_size=4 [01:09:50]MH_SAM_APDU [01:09:50]CAPDU: 80 13 01 00 [01:09:50]Write to MH i2c: E2 08 00 38 01 80 13 01 00 00 00 00 00 B6 [01:09:50]Write i2c OK [01:09:50]MH_I2C_Read... [01:09:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:09:50]Read from MH i2c: E2 [01:09:50]MH_I2C_Read... [01:09:50]Read from MH i2c: E2 0E 00 [01:09:50]MH_I2C_Read... [01:09:50]Read from MH i2c: E2 0E 00 38 01 00 09 00 01 E0 9F 15 67 00 00 00 00 90 00 BD [01:09:50]RAPDU: 09 00 01 E0 9F 15 67 00 00 00 00 90 00 [01:09:50]wFMCommunicate OK [01:09:50]SAM_PROTO_GetShiftState done [01:09:50]FM_GetShiftState done [01:09:50]opened in 1729470432 [01:09:50]opened+sec_in_day 1729556832 [01:09:50]quantity*price = 13000 [01:09:50]sum+1 = 13001 [01:09:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 2 21.10.2024 01:09 Смена: 456 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24918 ФПД: 175568904560006 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T010951&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24918&fm=175568904560006&tin=02508201610067®Number=0000000000098147&sum=13000 0 [01:09:51]StoreToDocumentArchive [01:09:51]shift 456 fd 24918 [01:09:51]save to /storage/0456/doc_00024918 [01:09:51]save last doc name /storage/0456/doc_00024918 to /storage/kkm_last_doc_name [01:09:51]save OK [01:09:51]Clear old archive folders... [01:09:51]ProcessDocumentItem done err = 0, tmpTLVsize=284 [01:09:51]tlvbuf is 0115ED80 [01:09:51]SAM_PROTO_ClearQueue [01:09:51]wFMCommunicate request_size=4 [01:09:51]MH_SAM_APDU [01:09:51]CAPDU: 80 09 00 00 [01:09:51]Write to MH i2c: E2 08 00 45 01 80 09 00 00 00 00 00 00 B8 [01:09:51]Write i2c OK [01:09:51]MH_I2C_Read... [01:09:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:09:51]Read from MH i2c: E2 [01:09:51]MH_I2C_Read... [01:09:51]Read from MH i2c: E2 03 00 [01:09:51]MH_I2C_Read... [01:09:51]Read from MH i2c: E2 03 00 45 01 00 90 00 BA [01:09:51]RAPDU: 90 00 [01:09:51]wFMCommunicate OK [01:09:51]SAM_PROTO_ClearQueue done [01:09:51]KKMCreateOFDPacket [01:09:51]OFDProtocolAddRootSTLVToBuf [01:09:51]FM_MakeSignedData [01:09:51]FM_MakeSignedData [01:09:51]SAM_PROTO_SignData [01:09:51]wFMCommunicate request_size=4 [01:09:51]MH_SAM_APDU [01:09:51]CAPDU: 80 0D 01 02 [01:09:51]Write to MH i2c: E2 08 00 46 01 80 0D 01 02 00 00 00 00 C0 [01:09:51]Write i2c OK [01:09:51]MH_I2C_Read... [01:09:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:09:51]Read from MH i2c: E2 [01:09:51]MH_I2C_Read... [01:09:51]Read from MH i2c: E2 03 00 [01:09:51]MH_I2C_Read... [01:09:51]Read from MH i2c: E2 03 00 46 01 00 90 00 BB [01:09:51]RAPDU: 90 00 [01:09:51]wFMCommunicate OK [01:09:51]wFMCommunicate request_size=255 [01:09:51]MH_SAM_APDU [01:09:51]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 36 32 06 04 2A 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 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 DF A9 15 67 0E 04 04 00 C8 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 [01:09:51]Write to MH i2c: E2 02 01 47 01 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 36 32 06 04 2A 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 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 DF A9 15 67 0E 04 04 00 C8 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 00 00 A9 [01:09:51]Write i2c OK [01:09:51]MH_I2C_Read... [01:09:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:09:51]Read from MH i2c: E2 [01:09:51]MH_I2C_Read... [01:09:51]Read from MH i2c: E2 03 00 [01:09:51]MH_I2C_Read... [01:09:51]Read from MH i2c: E2 03 00 47 01 00 90 00 BC [01:09:51]RAPDU: 90 00 [01:09:51]wFMCommunicate OK [01:09:51]wFMCommunicate request_size=43 [01:09:51]MH_SAM_APDU [01:09:51]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 56 61 00 00 35 04 06 00 9F AD D2 30 9D 86 [01:09:51]Write to MH i2c: E2 2E 00 48 01 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 56 61 00 00 35 04 06 00 9F AD D2 30 9D 86 00 00 D7 [01:09:51]Write i2c OK [01:09:51]MH_I2C_Read... [01:09:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:09:52]Read from MH i2c: E2 [01:09:52]MH_I2C_Read... [01:09:52]Read from MH i2c: E2 03 00 [01:09:52]MH_I2C_Read... [01:09:52]Read from MH i2c: E2 03 00 48 01 00 90 00 BD [01:09:52]RAPDU: 90 00 [01:09:52]wFMCommunicate OK [01:09:52]wFMCommunicate request_size=4 [01:09:52]MH_SAM_APDU [01:09:52]CAPDU: 80 0D 03 02 [01:09:52]Write to MH i2c: E2 08 00 49 01 80 0D 03 02 00 00 00 00 C5 [01:09:52]Write i2c OK [01:09:52]MH_I2C_Read... [01:09:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:09:52]Read from MH i2c: E2 [01:09:52]MH_I2C_Read... [01:09:52]Read from MH i2c: E2 0B 00 [01:09:52]MH_I2C_Read... [01:09:52]Read from MH i2c: E2 0B 00 49 01 00 83 25 FD 65 9C 52 78 79 90 00 AF [01:09:52]RAPDU: 83 25 FD 65 9C 52 78 79 90 00 [01:09:52]wFMCommunicate OK [01:09:52]SAM_PROTO_SignData done [01:09:52]FM_MakeSignedData done [01:09:52]CreateOFDProtocolMessage [01:09:52]wFMCommunicate request_size=4 [01:09:52]MH_SAM_APDU [01:09:52]CAPDU: 80 11 00 00 [01:09:52]Write to MH i2c: E2 08 00 4A 01 80 11 00 00 00 00 00 00 C5 [01:09:52]Write i2c OK [01:09:52]MH_I2C_Read... [01:09:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:09:52]Read from MH i2c: E2 [01:09:52]MH_I2C_Read... [01:09:52]Read from MH i2c: E2 17 00 [01:09:52]MH_I2C_Read... [01:09:52]Read from MH i2c: E2 17 00 4A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 1C [01:09:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [01:09:52]wFMCommunicate OK [01:09:52]CreateOFDProtocolMessage done [01:09:52]OFDSenderStorePacket 24918 [01:09:52]StoreOFDPacket docnum=24918 [01:09:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 30 01 00 00 6B 3A 28 01 62 94 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 36 32 06 04 2A 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 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 DF A9 15 67 0E 04 04 00 C8 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 56 61 00 00 35 04 06 00 9F AD D2 30 9D 86 83 25 FD 65 9C 52 78 79 [01:09:52]CheckFolder [01:09:52]dirname=/storage/ofd_packets [01:09:52]CheckFolder done [01:09:52]ProducePacketName [01:09:52]name=ofd_packets/00024918 [01:09:52]NVStorageSaveData ofd_packets/00024918 [01:09:52]File name is /storage/ofd_packets/00024918 [01:09:52]Write 334 bytes [01:09:52]NVStorageSaveData done [01:09:52]OFDSenderStorePacket done [01:09:52]KKMCreateOFDPacket done [01:09:52]NVStorageSaveData kkm_last_timestamp [01:09:52]File name is /storage/kkm_last_timestamp [01:09:52]Write 4 bytes [01:09:52]NVStorageSaveData done [01:09:52]ExternCall_PrintAddStr [01:09:52]wPrintStart [01:09:52]Write to MH i2c: 01 00 00 4B 01 4C [01:09:52]Write i2c OK [01:09:52]MH_I2C_Read... [01:09:52]Read from MH i2c: 01 [01:09:52]MH_I2C_Read... [01:09:52]Read from MH i2c: 01 07 00 [01:09:52]MH_I2C_Read... [01:09:52]Read from MH i2c: 01 07 00 4B 01 00 00 00 00 00 FF 0F 61 [01:09:52]RasterBufferAndPrint [01:09:52]line Счет N : (3)34677 [01:09:52]line ИНН: 02508201610067 [01:09:52]line Контрольно-Кассовый Чек [01:09:52]line ПРОДАЖА [01:09:52]line Товар: 4630007400662 [01:09:52]line Семечки ДЖИНН 140г синий [01:09:52]line 1.000 * 130.00 [01:09:52]line = 130.00 [01:09:52]line НДС 12% НСП 1% [01:09:52]line > о реализуемом товаре [01:09:52]line ИТОГО: 130.00 [01:09:52]line НСП 1% : 1.15 [01:09:52]line НДС 12% : 13.80 [01:09:52]line Наличными: 130.00 [01:09:52]line Безнал.: 0.00 [01:09:52]line Место: АЗС № 161 "Партнер Нефть" [01:09:52]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [01:09:52]line СНО: Общий режим [01:09:52]line Чек 2 21.10.2024 01:09 [01:09:52]line Смена: 456 ФФД: 1.0 [01:09:52]line ЗНМ: 0300000240 [01:09:52]line РНМ: 0000000000098147 [01:09:52]line Версия ККМ: 001 [01:09:52]line ФМ: 0000000000965376 [01:09:52]line ФД: 24918 [01:09:52]line ФПД: 175568904560006 [01:09:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T010951&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24918&fm=175568904560006&tin=02508201610067®Number=0000000000098147&sum=13000 [01:09:52]line 0 [01:09:52]OFD Sender: Processing packet 24918 [packets to send 5, broken 4] [01:09:52]ProducePacketName [01:09:52]name=ofd_packets/00024918 [01:09:52]OFD Sender: To server: pG, [01:09:52]CommunicateWithHost lk.salyk.kg:30040 [01:09:52]ConnectInit lk.salyk.kg [01:09:52]written 0, free lines is 4095 [01:09:52]Connected sock=10 [01:09:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 30 01 00 00 6B 3A 28 01 62 94 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 36 32 06 04 2A 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 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 DF A9 15 67 0E 04 04 00 C8 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 56 61 00 00 35 04 06 00 9F AD D2 30 9D 86 83 25 FD 65 9C 52 78 79 [01:09:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 FC 40 47 00 37 20 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 56 61 00 00 F4 03 04 00 5E 52 15 67 B6 04 01 00 00 79 8A CB 09 BC 33 28 1D [01:09:52]CommunicateWithHost err = 0 [01:09:52]CheckOFDResponse [01:09:52]1017 (14) - 77093643461234 [01:09:52]1041 (16) - 0000000000965376 [01:09:52]1040 (4) - 24918 [01:09:52]1012 (4) - 20.10.2024 18:56 [01:09:52]1206 (1) - 0 [01:09:52]OFD Sender: Remove packet 24918 [01:09:52]ProducePacketName [01:09:52]name=ofd_packets/00024918 [01:09:52]NVStorageDeleteData [01:09:52]Write to MH i2c: 01 00 00 73 01 74 [01:09:52]Write i2c OK [01:09:52]MH_I2C_Read... [01:09:52]Read from MH i2c: 01 [01:09:52]MH_I2C_Read... [01:09:52]Read from MH i2c: 01 07 00 [01:09:52]MH_I2C_Read... [01:09:52]Read from MH i2c: 01 07 00 73 01 00 00 00 00 00 D9 0C 60 [01:09:52]RasterBufferAndPrint [01:09:52]line [01:09:52]line [01:09:52]line [01:09:52]line [01:09:52]line [01:09:52]written 0, free lines is 3295 [01:09:52]process_action close_receipt done [01:09:52]requested_data is exist [01:09:52]produce_requested_data [01:09:52]requested_item fm.sn is exist - process it [01:09:52]wFMCommunicate request_size=4 [01:09:52]MH_SAM_APDU [01:09:52]CAPDU: 80 11 00 00 [01:09:52]Write to MH i2c: E2 08 00 7A 01 80 11 00 00 00 00 00 00 F5 [01:09:52]Write i2c OK [01:09:52]MH_I2C_Read... [01:09:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:09:52]Read from MH i2c: E2 [01:09:52]MH_I2C_Read... [01:09:52]Read from MH i2c: E2 17 00 [01:09:52]MH_I2C_Read... [01:09:52]Read from MH i2c: E2 17 00 7A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 4C [01:09:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [01:09:52]wFMCommunicate OK [01:09:52]requested_item fd.num is exist - process it [01:09:52]SAM_PROTO_GetFieldsCounters [01:09:52]wFMCommunicate request_size=4 [01:09:52]MH_SAM_APDU [01:09:52]CAPDU: 80 13 00 00 [01:09:52]Write to MH i2c: E2 08 00 7B 01 80 13 00 00 00 00 00 00 F8 [01:09:52]Write i2c OK [01:09:52]MH_I2C_Read... [01:09:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:09:53]Read from MH i2c: E2 [01:09:53]MH_I2C_Read... [01:09:53]Read from MH i2c: E2 62 00 [01:09:53]MH_I2C_Read... [01:09:53]Read from MH i2c: E2 62 00 7B 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 56 61 00 00 0E 04 04 00 C8 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 A7 [01:09:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 56 61 00 00 0E 04 04 00 C8 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:09:53]wFMCommunicate OK [01:09:53]SAM_PROTO_GetFieldsCounters done [01:09:53]requested_item shift.num is exist - process it [01:09:53]requested_item shift.opened is exist - process it [01:09:53]req_shift_opened [01:09:53]FM_GetShiftState [01:09:53]SAM_PROTO_GetShiftState [01:09:53]wFMCommunicate request_size=4 [01:09:53]MH_SAM_APDU [01:09:53]CAPDU: 80 13 01 00 [01:09:53]Write to MH i2c: E2 08 00 7C 01 80 13 01 00 00 00 00 00 FA [01:09:53]Write i2c OK [01:09:53]MH_I2C_Read... [01:09:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:09:53]Read from MH i2c: E2 [01:09:53]MH_I2C_Read... [01:09:53]Read from MH i2c: E2 0E 00 [01:09:53]MH_I2C_Read... [01:09:53]Read from MH i2c: E2 0E 00 7C 01 00 09 00 01 E0 9F 15 67 00 00 00 00 90 00 01 [01:09:53]RAPDU: 09 00 01 E0 9F 15 67 00 00 00 00 90 00 [01:09:53]wFMCommunicate OK [01:09:53]SAM_PROTO_GetShiftState done [01:09:53]FM_GetShiftState done [01:09:53]req_shift_opened done [01:09:53]requested_item shift.open_date is exist - process it [01:09:53]req_shift_open_date [01:09:53]req_shift_open_date done [01:09:53]produce_requested_data done [01:09:53]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24918,"shift.num":456,"shift.opened":1,"shift.open_date":1729470432} [01:09:53]process_action_free close_receipt [01:09:53]json_value_free [01:09:53]json_value_free done [01:09:53]process_json_proto returns [01:09:53]Send response to host [01:09:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24918,"shift.num":456,"shift.opened":1,"shift.open_date":1729470432}}} [01:09:53]free response buf [01:09:53]execute_script done [01:09:53]execute_script returns [01:09:53]free content buf [01:09:53]Sock 7.Close socket [01:09:53]Sock 7.Thread stoped [01:09:53]OFD Sender: No OFD packet to send [01:09:58]OFD Sender: No OFD packet to send [01:10:03]OFD Sender: No OFD packet to send [01:10:08]OFD Sender: No OFD packet to send [01:10:13]OFD Sender: No OFD packet to send [01:10:18]OFD Sender: No OFD packet to send [01:10:23]OFD Sender: No OFD packet to send [01:10:28]OFD Sender: No OFD packet to send [01:10:33]OFD Sender: No OFD packet to send [01:10:38]OFD Sender: No OFD packet to send [01:10:43]OFD Sender: No OFD packet to send [01:10:48]OFD Sender: No OFD packet to send [01:10:53]OFD Sender: No OFD packet to send [01:10:58]OFD Sender: No OFD packet to send [01:11:03]OFD Sender: No OFD packet to send [01:11:08]OFD Sender: No OFD packet to send [01:11:13]OFD Sender: No OFD packet to send [01:11:18]OFD Sender: No OFD packet to send [01:11:23]OFD Sender: No OFD packet to send [01:11:28]OFD Sender: No OFD packet to send [01:11:33]OFD Sender: No OFD packet to send [01:11:38]OFD Sender: No OFD packet to send [01:11:43]OFD Sender: No OFD packet to send [01:11:48]OFD Sender: No OFD packet to send [01:11:53]OFD Sender: No OFD packet to send [01:11:58]OFD Sender: No OFD packet to send [01:12:03]OFD Sender: No OFD packet to send [01:12:08]OFD Sender: No OFD packet to send [01:12:13]OFD Sender: No OFD packet to send [01:12:18]OFD Sender: No OFD packet to send [01:12:23]OFD Sender: No OFD packet to send [01:12:28]OFD Sender: No OFD packet to send [01:12:33]OFD Sender: No OFD packet to send [01:12:38]OFD Sender: No OFD packet to send [01:12:43]OFD Sender: No OFD packet to send [01:12:48]OFD Sender: No OFD packet to send [01:12:53]OFD Sender: No OFD packet to send [01:12:58]OFD Sender: No OFD packet to send [01:13:03]OFD Sender: No OFD packet to send [01:13:08]OFD Sender: No OFD packet to send [01:13:13]OFD Sender: No OFD packet to send [01:13:18]OFD Sender: No OFD packet to send [01:13:23]OFD Sender: No OFD packet to send [01:13:28]OFD Sender: No OFD packet to send [01:13:33]OFD Sender: No OFD packet to send [01:13:38]OFD Sender: No OFD packet to send [01:13:43]OFD Sender: No OFD packet to send [01:13:48]OFD Sender: No OFD packet to send [01:13:53]OFD Sender: No OFD packet to send [01:13:58]OFD Sender: No OFD packet to send [01:14:03]OFD Sender: No OFD packet to send [01:14:08]OFD Sender: No OFD packet to send [01:14:13]OFD Sender: No OFD packet to send [01:14:18]OFD Sender: No OFD packet to send [01:14:23]OFD Sender: No OFD packet to send [01:14:28]OFD Sender: No OFD packet to send [01:14:33]OFD Sender: No OFD packet to send [01:14:38]OFD Sender: No OFD packet to send [01:14:43]OFD Sender: No OFD packet to send [01:14:48]OFD Sender: No OFD packet to send [01:14:53]OFD Sender: No OFD packet to send [01:14:58]OFD Sender: No OFD packet to send [01:15:03]OFD Sender: No OFD packet to send [01:15:08]OFD Sender: No OFD packet to send [01:15:13]OFD Sender: No OFD packet to send [01:15:18]OFD Sender: No OFD packet to send [01:15:23]OFD Sender: No OFD packet to send [01:15:28]OFD Sender: No OFD packet to send [01:15:33]OFD Sender: No OFD packet to send [01:15:38]OFD Sender: No OFD packet to send [01:15:43]OFD Sender: No OFD packet to send [01:15:48]OFD Sender: No OFD packet to send [01:15:53]OFD Sender: No OFD packet to send [01:15:58]OFD Sender: No OFD packet to send [01:16:03]OFD Sender: No OFD packet to send [01:16:08]OFD Sender: No OFD packet to send [01:16:13]OFD Sender: No OFD packet to send [01:16:18]OFD Sender: No OFD packet to send [01:16:23]OFD Sender: No OFD packet to send [01:16:28]OFD Sender: No OFD packet to send [01:16:33]OFD Sender: No OFD packet to send [01:16:38]OFD Sender: No OFD packet to send [01:16:43]OFD Sender: No OFD packet to send [01:16:48]OFD Sender: No OFD packet to send [01:16:53]OFD Sender: No OFD packet to send [01:16:58]OFD Sender: No OFD packet to send [01:17:03]OFD Sender: No OFD packet to send [01:17:08]OFD Sender: No OFD packet to send [01:17:13]OFD Sender: No OFD packet to send [01:17:18]OFD Sender: No OFD packet to send [01:17:23]OFD Sender: No OFD packet to send [01:17:28]OFD Sender: No OFD packet to send [01:17:33]OFD Sender: No OFD packet to send [01:17:38]OFD Sender: No OFD packet to send [01:17:43]OFD Sender: No OFD packet to send [01:17:48]OFD Sender: No OFD packet to send [01:17:53]OFD Sender: No OFD packet to send [01:17:58]OFD Sender: No OFD packet to send [01:18:03]OFD Sender: No OFD packet to send [01:18:08]OFD Sender: No OFD packet to send [01:18:13]OFD Sender: No OFD packet to send [01:18:18]OFD Sender: No OFD packet to send [01:18:23]OFD Sender: No OFD packet to send [01:18:28]OFD Sender: No OFD packet to send [01:18:33]OFD Sender: No OFD packet to send [01:18:38]OFD Sender: No OFD packet to send [01:18:43]OFD Sender: No OFD packet to send [01:18:48]OFD Sender: No OFD packet to send [01:18:53]OFD Sender: No OFD packet to send [01:18:58]OFD Sender: No OFD packet to send [01:19:03]OFD Sender: No OFD packet to send [01:19:08]OFD Sender: No OFD packet to send [01:19:13]OFD Sender: No OFD packet to send [01:19:18]OFD Sender: No OFD packet to send [01:19:23]OFD Sender: No OFD packet to send [01:19:28]OFD Sender: No OFD packet to send [01:19:33]OFD Sender: No OFD packet to send [01:19:38]OFD Sender: No OFD packet to send [01:19:43]OFD Sender: No OFD packet to send [01:19:48]OFD Sender: No OFD packet to send [01:19:53]OFD Sender: No OFD packet to send [01:19:58]OFD Sender: No OFD packet to send [01:20:03]OFD Sender: No OFD packet to send [01:20:08]OFD Sender: No OFD packet to send [01:20:13]OFD Sender: No OFD packet to send [01:20:18]OFD Sender: No OFD packet to send [01:20:23]OFD Sender: No OFD packet to send [01:20:28]OFD Sender: No OFD packet to send [01:20:33]OFD Sender: No OFD packet to send [01:20:38]OFD Sender: No OFD packet to send [01:20:43]OFD Sender: No OFD packet to send [01:20:48]OFD Sender: No OFD packet to send [01:20:53]OFD Sender: No OFD packet to send [01:20:58]OFD Sender: No OFD packet to send [01:21:03]OFD Sender: No OFD packet to send [01:21:08]OFD Sender: No OFD packet to send [01:21:13]OFD Sender: No OFD packet to send [01:21:18]OFD Sender: No OFD packet to send [01:21:23]OFD Sender: No OFD packet to send [01:21:28]OFD Sender: No OFD packet to send [01:21:33]OFD Sender: No OFD packet to send [01:21:38]OFD Sender: No OFD packet to send [01:21:43]OFD Sender: No OFD packet to send [01:21:48]OFD Sender: No OFD packet to send [01:21:53]OFD Sender: No OFD packet to send [01:21:58]OFD Sender: No OFD packet to send [01:22:03]OFD Sender: No OFD packet to send [01:22:08]OFD Sender: No OFD packet to send [01:22:13]OFD Sender: No OFD packet to send [01:22:18]OFD Sender: No OFD packet to send [01:22:23]OFD Sender: No OFD packet to send [01:22:28]OFD Sender: No OFD packet to send [01:22:33]OFD Sender: No OFD packet to send [01:22:38]OFD Sender: No OFD packet to send [01:22:43]OFD Sender: No OFD packet to send [01:22:48]OFD Sender: No OFD packet to send [01:22:53]OFD Sender: No OFD packet to send [01:22:58]OFD Sender: No OFD packet to send [01:23:03]OFD Sender: No OFD packet to send [01:23:08]OFD Sender: No OFD packet to send [01:23:13]OFD Sender: No OFD packet to send [01:23:18]OFD Sender: No OFD packet to send [01:23:23]OFD Sender: No OFD packet to send [01:23:28]OFD Sender: No OFD packet to send [01:23:33]OFD Sender: No OFD packet to send [01:23:38]OFD Sender: No OFD packet to send [01:23:43]OFD Sender: No OFD packet to send [01:23:48]OFD Sender: No OFD packet to send [01:23:53]OFD Sender: No OFD packet to send [01:23:58]OFD Sender: No OFD packet to send [01:24:03]OFD Sender: No OFD packet to send [01:24:08]OFD Sender: No OFD packet to send [01:24:13]OFD Sender: No OFD packet to send [01:24:18]OFD Sender: No OFD packet to send [01:24:23]OFD Sender: No OFD packet to send [01:24:28]OFD Sender: No OFD packet to send [01:24:33]OFD Sender: No OFD packet to send [01:24:38]OFD Sender: No OFD packet to send [01:24:43]OFD Sender: No OFD packet to send [01:24:48]OFD Sender: No OFD packet to send [01:24:53]OFD Sender: No OFD packet to send [01:24:58]OFD Sender: No OFD packet to send [01:25:03]OFD Sender: No OFD packet to send [01:25:08]OFD Sender: No OFD packet to send [01:25:13]OFD Sender: No OFD packet to send [01:25:19]OFD Sender: No OFD packet to send [01:25:24]OFD Sender: No OFD packet to send [01:25:29]OFD Sender: No OFD packet to send [01:25:34]OFD Sender: No OFD packet to send [01:25:39]OFD Sender: No OFD packet to send [01:25:44]OFD Sender: No OFD packet to send [01:25:49]OFD Sender: No OFD packet to send [01:25:54]OFD Sender: No OFD packet to send [01:25:59]OFD Sender: No OFD packet to send [01:26:04]OFD Sender: No OFD packet to send [01:26:09]OFD Sender: No OFD packet to send [01:26:14]OFD Sender: No OFD packet to send [01:26:19]OFD Sender: No OFD packet to send [01:26:24]OFD Sender: No OFD packet to send [01:26:29]OFD Sender: No OFD packet to send [01:26:34]OFD Sender: No OFD packet to send [01:26:39]OFD Sender: No OFD packet to send [01:26:44]OFD Sender: No OFD packet to send [01:26:49]OFD Sender: No OFD packet to send [01:26:54]OFD Sender: No OFD packet to send [01:26:59]OFD Sender: No OFD packet to send [01:27:04]OFD Sender: No OFD packet to send [01:27:09]OFD Sender: No OFD packet to send [01:27:14]OFD Sender: No OFD packet to send [01:27:19]OFD Sender: No OFD packet to send [01:27:24]OFD Sender: No OFD packet to send [01:27:29]OFD Sender: No OFD packet to send [01:27:34]OFD Sender: No OFD packet to send [01:27:39]OFD Sender: No OFD packet to send [01:27:44]OFD Sender: No OFD packet to send [01:27:49]OFD Sender: No OFD packet to send [01:27:54]OFD Sender: No OFD packet to send [01:27:59]OFD Sender: No OFD packet to send [01:28:04]OFD Sender: No OFD packet to send [01:28:09]OFD Sender: No OFD packet to send [01:28:14]OFD Sender: No OFD packet to send [01:28:19]OFD Sender: No OFD packet to send [01:28:24]OFD Sender: No OFD packet to send [01:28:29]OFD Sender: No OFD packet to send [01:28:34]OFD Sender: No OFD packet to send [01:28:39]OFD Sender: No OFD packet to send [01:28:44]OFD Sender: No OFD packet to send [01:28:49]OFD Sender: No OFD packet to send [01:28:54]OFD Sender: No OFD packet to send [01:28:59]OFD Sender: No OFD packet to send [01:29:04]OFD Sender: No OFD packet to send [01:29:09]OFD Sender: No OFD packet to send [01:29:14]OFD Sender: No OFD packet to send [01:29:19]OFD Sender: No OFD packet to send [01:29:24]OFD Sender: No OFD packet to send [01:29:29]OFD Sender: No OFD packet to send [01:29:34]OFD Sender: No OFD packet to send [01:29:39]OFD Sender: No OFD packet to send [01:29:44]OFD Sender: No OFD packet to send [01:29:49]OFD Sender: No OFD packet to send [01:29:54]OFD Sender: No OFD packet to send [01:29:59]OFD Sender: No OFD packet to send [01:30:04]OFD Sender: No OFD packet to send [01:30:09]OFD Sender: No OFD packet to send [01:30:14]OFD Sender: No OFD packet to send [01:30:19]OFD Sender: No OFD packet to send [01:30:24]OFD Sender: No OFD packet to send [01:30:29]OFD Sender: No OFD packet to send [01:30:34]OFD Sender: No OFD packet to send [01:30:39]OFD Sender: No OFD packet to send [01:30:44]OFD Sender: No OFD packet to send [01:30:49]OFD Sender: No OFD packet to send [01:30:54]OFD Sender: No OFD packet to send [01:30:59]OFD Sender: No OFD packet to send [01:31:04]OFD Sender: No OFD packet to send [01:31:09]OFD Sender: No OFD packet to send [01:31:14]OFD Sender: No OFD packet to send [01:31:19]OFD Sender: No OFD packet to send [01:31:24]OFD Sender: No OFD packet to send [01:31:29]OFD Sender: No OFD packet to send [01:31:34]OFD Sender: No OFD packet to send [01:31:39]OFD Sender: No OFD packet to send [01:31:44]OFD Sender: No OFD packet to send [01:31:49]OFD Sender: No OFD packet to send [01:31:54]OFD Sender: No OFD packet to send [01:31:59]OFD Sender: No OFD packet to send [01:32:04]OFD Sender: No OFD packet to send [01:32:09]OFD Sender: No OFD packet to send [01:32:14]OFD Sender: No OFD packet to send [01:32:19]OFD Sender: No OFD packet to send [01:32:24]OFD Sender: No OFD packet to send [01:32:29]OFD Sender: No OFD packet to send [01:32:34]OFD Sender: No OFD packet to send [01:32:39]OFD Sender: No OFD packet to send [01:32:44]OFD Sender: No OFD packet to send [01:32:49]OFD Sender: No OFD packet to send [01:32:54]OFD Sender: No OFD packet to send [01:32:59]OFD Sender: No OFD packet to send [01:33:04]OFD Sender: No OFD packet to send [01:33:09]OFD Sender: No OFD packet to send [01:33:14]OFD Sender: No OFD packet to send [01:33:19]OFD Sender: No OFD packet to send [01:33:24]OFD Sender: No OFD packet to send [01:33:29]OFD Sender: No OFD packet to send [01:33:34]OFD Sender: No OFD packet to send [01:33:39]OFD Sender: No OFD packet to send [01:33:44]OFD Sender: No OFD packet to send [01:33:49]OFD Sender: No OFD packet to send [01:33:54]OFD Sender: No OFD packet to send [01:33:59]OFD Sender: No OFD packet to send [01:34:04]OFD Sender: No OFD packet to send [01:34:09]OFD Sender: No OFD packet to send [01:34:14]OFD Sender: No OFD packet to send [01:34:19]OFD Sender: No OFD packet to send [01:34:24]OFD Sender: No OFD packet to send [01:34:29]OFD Sender: No OFD packet to send [01:34:34]OFD Sender: No OFD packet to send [01:34:39]OFD Sender: No OFD packet to send [01:34:44]OFD Sender: No OFD packet to send [01:34:49]OFD Sender: No OFD packet to send [01:34:54]OFD Sender: No OFD packet to send [01:34:59]OFD Sender: No OFD packet to send [01:35:04]OFD Sender: No OFD packet to send [01:35:09]OFD Sender: No OFD packet to send [01:35:14]OFD Sender: No OFD packet to send [01:35:19]OFD Sender: No OFD packet to send [01:35:24]OFD Sender: No OFD packet to send [01:35:29]OFD Sender: No OFD packet to send [01:35:34]OFD Sender: No OFD packet to send [01:35:39]OFD Sender: No OFD packet to send [01:35:44]OFD Sender: No OFD packet to send [01:35:49]OFD Sender: No OFD packet to send [01:35:54]OFD Sender: No OFD packet to send [01:35:59]OFD Sender: No OFD packet to send [01:36:04]OFD Sender: No OFD packet to send [01:36:09]OFD Sender: No OFD packet to send [01:36:14]OFD Sender: No OFD packet to send [01:36:19]OFD Sender: No OFD packet to send [01:36:24]OFD Sender: No OFD packet to send [01:36:29]OFD Sender: No OFD packet to send [01:36:34]OFD Sender: No OFD packet to send [01:36:39]OFD Sender: No OFD packet to send [01:36:44]OFD Sender: No OFD packet to send [01:36:49]OFD Sender: No OFD packet to send [01:36:54]OFD Sender: No OFD packet to send [01:36:59]OFD Sender: No OFD packet to send [01:37:04]OFD Sender: No OFD packet to send [01:37:09]OFD Sender: No OFD packet to send [01:37:14]OFD Sender: No OFD packet to send [01:37:19]OFD Sender: No OFD packet to send [01:37:24]OFD Sender: No OFD packet to send [01:37:29]OFD Sender: No OFD packet to send [01:37:34]OFD Sender: No OFD packet to send [01:37:39]OFD Sender: No OFD packet to send [01:37:44]OFD Sender: No OFD packet to send [01:37:49]OFD Sender: No OFD packet to send [01:37:54]OFD Sender: No OFD packet to send [01:37:59]OFD Sender: No OFD packet to send [01:38:04]OFD Sender: No OFD packet to send [01:38:09]OFD Sender: No OFD packet to send [01:38:14]OFD Sender: No OFD packet to send [01:38:19]OFD Sender: No OFD packet to send [01:38:24]OFD Sender: No OFD packet to send [01:38:29]OFD Sender: No OFD packet to send [01:38:34]OFD Sender: No OFD packet to send [01:38:39]OFD Sender: No OFD packet to send [01:38:44]OFD Sender: No OFD packet to send [01:38:49]OFD Sender: No OFD packet to send [01:38:54]OFD Sender: No OFD packet to send [01:38:59]OFD Sender: No OFD packet to send [01:39:04]OFD Sender: No OFD packet to send [01:39:09]OFD Sender: No OFD packet to send [01:39:14]OFD Sender: No OFD packet to send [01:39:19]OFD Sender: No OFD packet to send [01:39:24]OFD Sender: No OFD packet to send [01:39:29]OFD Sender: No OFD packet to send [01:39:34]OFD Sender: No OFD packet to send [01:39:39]OFD Sender: No OFD packet to send [01:39:44]OFD Sender: No OFD packet to send [01:39:49]OFD Sender: No OFD packet to send [01:39:54]OFD Sender: No OFD packet to send [01:39:59]OFD Sender: No OFD packet to send [01:40:04]OFD Sender: No OFD packet to send [01:40:09]OFD Sender: No OFD packet to send [01:40:14]OFD Sender: No OFD packet to send [01:40:19]OFD Sender: No OFD packet to send [01:40:24]OFD Sender: No OFD packet to send [01:40:29]OFD Sender: No OFD packet to send [01:40:34]OFD Sender: No OFD packet to send [01:40:39]OFD Sender: No OFD packet to send [01:40:44]OFD Sender: No OFD packet to send [01:40:49]OFD Sender: No OFD packet to send [01:40:54]OFD Sender: No OFD packet to send [01:40:59]OFD Sender: No OFD packet to send [01:41:04]OFD Sender: No OFD packet to send [01:41:09]OFD Sender: No OFD packet to send [01:41:14]OFD Sender: No OFD packet to send [01:41:19]OFD Sender: No OFD packet to send [01:41:24]OFD Sender: No OFD packet to send [01:41:29]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:40]OFD Sender: No OFD packet to send [01:46:45]OFD Sender: No OFD packet to send [01:46:50]OFD Sender: No OFD packet to send [01:46:55]OFD Sender: No OFD packet to send [01:47:00]OFD Sender: No OFD packet to send [01:47:05]OFD Sender: No OFD packet to send [01:47:10]OFD Sender: No OFD packet to send [01:47:15]OFD Sender: No OFD packet to send [01:47:20]OFD Sender: No OFD packet to send [01:47:25]OFD Sender: No OFD packet to send [01:47:30]OFD Sender: No OFD packet to send [01:47:35]OFD Sender: No OFD packet to send [01:47:40]OFD Sender: No OFD packet to send [01:47:45]OFD Sender: No OFD packet to send [01:47:50]OFD Sender: No OFD packet to send [01:47:55]OFD Sender: No OFD packet to send [01:48:00]OFD Sender: No OFD packet to send [01:48:05]OFD Sender: No OFD packet to send [01:48:10]OFD Sender: No OFD packet to send [01:48:15]OFD Sender: No OFD packet to send [01:48:20]OFD Sender: No OFD packet to send [01:48:25]OFD Sender: No OFD packet to send [01:48:30]OFD Sender: No OFD packet to send [01:48:35]OFD Sender: No OFD packet to send [01:48:40]OFD Sender: No OFD packet to send [01:48:45]OFD Sender: No OFD packet to send [01:48:50]OFD Sender: No OFD packet to send [01:48:55]OFD Sender: No OFD packet to send [01:49:00]OFD Sender: No OFD packet to send [01:49:05]OFD Sender: No OFD packet to send [01:49:10]OFD Sender: No OFD packet to send [01:49:15]OFD Sender: No OFD packet to send [01:49:20]OFD Sender: No OFD packet to send [01:49:25]OFD Sender: No OFD packet to send [01:49:30]OFD Sender: No OFD packet to send [01:49:35]OFD Sender: No OFD packet to send [01:49:40]OFD Sender: No OFD packet to send [01:49:45]OFD Sender: No OFD packet to send [01:49:50]OFD Sender: No OFD packet to send [01:49:55]OFD Sender: No OFD packet to send [01:50:00]OFD Sender: No OFD packet to send [01:50:05]OFD Sender: No OFD packet to send [01:50:10]OFD Sender: No OFD packet to send [01:50:15]OFD Sender: No OFD packet to send [01:50:20]OFD Sender: No OFD packet to send [01:50:25]OFD Sender: No OFD packet to send [01:50:30]OFD Sender: No OFD packet to send [01:50:35]OFD Sender: No OFD packet to send [01:50:40]OFD Sender: No OFD packet to send [01:50:45]OFD Sender: No OFD packet to send [01:50:50]OFD Sender: No OFD packet to send [01:50:55]OFD Sender: No OFD packet to send [01:51:00]OFD Sender: No OFD packet to send [01:51:05]OFD Sender: No OFD packet to send [01:51:10]OFD Sender: No OFD packet to send [01:51:15]OFD Sender: No OFD packet to send [01:51:20]OFD Sender: No OFD packet to send [01:51:25]OFD Sender: No OFD packet to send [01:51:30]OFD Sender: No OFD packet to send [01:51:35]OFD Sender: No OFD packet to send [01:51:40]OFD Sender: No OFD packet to send [01:51:45]OFD Sender: No OFD packet to send [01:51:50]OFD Sender: No OFD packet to send [01:51:55]OFD Sender: No OFD packet to send [01:52:00]OFD Sender: No OFD packet to send [01:52:05]OFD Sender: No OFD packet to send [01:52:10]OFD Sender: No OFD packet to send [01:52:15]OFD Sender: No OFD packet to send [01:52:20]OFD Sender: No OFD packet to send [01:52:25]OFD Sender: No OFD packet to send [01:52:30]OFD Sender: No OFD packet to send [01:52:35]OFD Sender: No OFD packet to send [01:52:40]OFD Sender: No OFD packet to send [01:52:45]OFD Sender: No OFD packet to send [01:52:50]OFD Sender: No OFD packet to send [01:52:55]OFD Sender: No OFD packet to send [01:53:00]OFD Sender: No OFD packet to send [01:53:05]OFD Sender: No OFD packet to send [01:53:10]OFD Sender: No OFD packet to send [01:53:15]OFD Sender: No OFD packet to send [01:53:20]OFD Sender: No OFD packet to send [01:53:25]OFD Sender: No OFD packet to send [01:53:30]OFD Sender: No OFD packet to send [01:53:35]OFD Sender: No OFD packet to send [01:53:40]OFD Sender: No OFD packet to send [01:53:45]OFD Sender: No OFD packet to send [01:53:50]OFD Sender: No OFD packet to send [01:53:55]OFD Sender: No OFD packet to send [01:54:00]OFD Sender: No OFD packet to send [01:54:05]OFD Sender: No OFD packet to send [01:54:10]OFD Sender: No OFD packet to send [01:54:15]OFD Sender: No OFD packet to send [01:54:20]OFD Sender: No OFD packet to send [01:54:25]OFD Sender: No OFD packet to send [01:54:30]OFD Sender: No OFD packet to send [01:54:35]OFD Sender: No OFD packet to send [01:54:40]OFD Sender: No OFD packet to send [01:54:45]OFD Sender: No OFD packet to send [01:54:50]OFD Sender: No OFD packet to send [01:54:55]OFD Sender: No OFD packet to send [01:55:00]OFD Sender: No OFD packet to send [01:55:05]OFD Sender: No OFD packet to send [01:55:10]OFD Sender: No OFD packet to send [01:55:15]OFD Sender: No OFD packet to send [01:55:20]OFD Sender: No OFD packet to send [01:55:25]OFD Sender: No OFD packet to send [01:55:30]OFD Sender: No OFD packet to send [01:55:35]OFD Sender: No OFD packet to send [01:55:40]OFD Sender: No OFD packet to send [01:55:45]OFD Sender: No OFD packet to send [01:55:50]OFD Sender: No OFD packet to send [01:55:55]OFD Sender: No OFD packet to send [01:56:00]OFD Sender: No OFD packet to send [01:56:05]OFD Sender: No OFD packet to send [01:56:10]OFD Sender: No OFD packet to send [01:56:15]OFD Sender: No OFD packet to send [01:56:20]OFD Sender: No OFD packet to send [01:56:25]OFD Sender: No OFD packet to send [01:56:30]OFD Sender: No OFD packet to send [01:56:35]OFD Sender: No OFD packet to send [01:56:40]OFD Sender: No OFD packet to send [01:56:45]OFD Sender: No OFD packet to send [01:56:50]OFD Sender: No OFD packet to send [01:56:55]OFD Sender: No OFD packet to send [01:57:00]OFD Sender: No OFD packet to send [01:57:05]OFD Sender: No OFD packet to send [01:57:10]OFD Sender: No OFD packet to send [01:57:15]OFD Sender: No OFD packet to send [01:57:20]OFD Sender: No OFD packet to send [01:57:25]OFD Sender: No OFD packet to send [01:57:30]OFD Sender: No OFD packet to send [01:57:35]OFD Sender: No OFD packet to send [01:57:40]OFD Sender: No OFD packet to send [01:57:45]OFD Sender: No OFD packet to send [01:57:50]OFD Sender: No OFD packet to send [01:57:55]OFD Sender: No OFD packet to send [01:58:00]OFD Sender: No OFD packet to send [01:58:05]OFD Sender: No OFD packet to send [01:58:10]OFD Sender: No OFD packet to send [01:58:15]OFD Sender: No OFD packet to send [01:58:20]OFD Sender: No OFD packet to send [01:58:25]OFD Sender: No OFD packet to send [01:58:30]OFD Sender: No OFD packet to send [01:58:35]OFD Sender: No OFD packet to send [01:58:40]OFD Sender: No OFD packet to send [01:58:45]OFD Sender: No OFD packet to send [01:58:50]OFD Sender: No OFD packet to send [01:58:55]OFD Sender: No OFD packet to send [01:59:00]OFD Sender: No OFD packet to send [01:59:05]OFD Sender: No OFD packet to send [01:59:10]OFD Sender: No OFD packet to send [01:59:15]OFD Sender: No OFD packet to send [01:59:20]OFD Sender: No OFD packet to send [01:59:25]OFD Sender: No OFD packet to send [01:59:30]OFD Sender: No OFD packet to send [01:59:35]OFD Sender: No OFD packet to send [01:59:40]OFD Sender: No OFD packet to send [01:59:45]OFD Sender: No OFD packet to send [01:59:50]OFD Sender: No OFD packet to send [01:59:55]OFD Sender: No OFD packet to send [02:00:00]OFD Sender: No OFD packet to send [02:00:05]OFD Sender: No OFD packet to send [02:00:10]OFD Sender: No OFD packet to send [02:00:15]OFD Sender: No OFD packet to send [02:00:20]OFD Sender: No OFD packet to send [02:00:25]OFD Sender: No OFD packet to send [02:00:30]OFD Sender: No OFD packet to send [02:00:35]OFD Sender: No OFD packet to send [02:00:40]OFD Sender: No OFD packet to send [02:00:45]OFD Sender: No OFD packet to send [02:00:50]OFD Sender: No OFD packet to send [02:00:55]OFD Sender: No OFD packet to send [02:01:00]OFD Sender: No OFD packet to send [02:01:05]OFD Sender: No OFD packet to send [02:01:10]OFD Sender: No OFD packet to send [02:01:15]OFD Sender: No OFD packet to send [02:01:20]OFD Sender: No OFD packet to send [02:01:25]OFD Sender: No OFD packet to send [02:01:30]OFD Sender: No OFD packet to send [02:01:35]OFD Sender: No OFD packet to send [02:01:40]OFD Sender: No OFD packet to send [02:01:45]OFD Sender: No OFD packet to send [02:01:50]OFD Sender: No OFD packet to send [02:01:55]OFD Sender: No OFD packet to send [02:02:00]OFD Sender: No OFD packet to send [02:02:05]OFD Sender: No OFD packet to send [02:02:10]OFD Sender: No OFD packet to send [02:02:15]OFD Sender: No OFD packet to send [02:02:20]OFD Sender: No OFD packet to send [02:02:25]OFD Sender: No OFD packet to send [02:02:30]OFD Sender: No OFD packet to send [02:02:35]OFD Sender: No OFD packet to send [02:02:40]OFD Sender: No OFD packet to send [02:02:45]OFD Sender: No OFD packet to send [02:02:50]OFD Sender: No OFD packet to send [02:02:55]OFD Sender: No OFD packet to send [02:03:00]OFD Sender: No OFD packet to send [02:03:05]OFD Sender: No OFD packet to send [02:03:10]OFD Sender: No OFD packet to send [02:03:15]OFD Sender: No OFD packet to send [02:03:20]OFD Sender: No OFD packet to send [02:03:25]OFD Sender: No OFD packet to send [02:03:30]OFD Sender: No OFD packet to send [02:03:35]OFD Sender: No OFD packet to send [02:03:40]OFD Sender: No OFD packet to send [02:03:45]OFD Sender: No OFD packet to send [02:03:50]OFD Sender: No OFD packet to send [02:03:55]OFD Sender: No OFD packet to send [02:04:00]OFD Sender: No OFD packet to send [02:04:05]OFD Sender: No OFD packet to send [02:04:10]OFD Sender: No OFD packet to send [02:04:15]OFD Sender: No OFD packet to send [02:04:20]OFD Sender: No OFD packet to send [02:04:25]OFD Sender: No OFD packet to send [02:04:30]OFD Sender: No OFD packet to send [02:04:35]OFD Sender: No OFD packet to send [02:04:40]OFD Sender: No OFD packet to send [02:04:45]OFD Sender: No OFD packet to send [02:04:50]OFD Sender: No OFD packet to send [02:04:55]OFD Sender: No OFD packet to send [02:05:00]OFD Sender: No OFD packet to send [02:05:05]OFD Sender: No OFD packet to send [02:05:10]OFD Sender: No OFD packet to send [02:05:15]OFD Sender: No OFD packet to send [02:05:20]OFD Sender: No OFD packet to send [02:05:25]OFD Sender: No OFD packet to send [02:05:30]OFD Sender: No OFD packet to send [02:05:35]OFD Sender: No OFD packet to send [02:05:40]OFD Sender: No OFD packet to send [02:05:45]OFD Sender: No OFD packet to send [02:05:50]OFD Sender: No OFD packet to send [02:05:55]OFD Sender: No OFD packet to send [02:06:00]OFD Sender: No OFD packet to send [02:06:05]OFD Sender: No OFD packet to send [02:06:10]OFD Sender: No OFD packet to send [02:06:15]OFD Sender: No OFD packet to send [02:06:20]OFD Sender: No OFD packet to send [02:06:25]OFD Sender: No OFD packet to send [02:06:30]OFD Sender: No OFD packet to send [02:06:35]OFD Sender: No OFD packet to send [02:06:40]OFD Sender: No OFD packet to send [02:06:45]OFD Sender: No OFD packet to send [02:06:50]OFD Sender: No OFD packet to send [02:06:55]OFD Sender: No OFD packet to send [02:07:00]OFD Sender: No OFD packet to send [02:07:05]OFD Sender: No OFD packet to send [02:07:10]OFD Sender: No OFD packet to send [02:07:15]OFD Sender: No OFD packet to send [02:07:20]OFD Sender: No OFD packet to send [02:07:25]OFD Sender: No OFD packet to send [02:07:30]OFD Sender: No OFD packet to send [02:07:35]OFD Sender: No OFD packet to send [02:07:40]OFD Sender: No OFD packet to send [02:07:46]OFD Sender: No OFD packet to send [02:07:51]OFD Sender: No OFD packet to send [02:07:56]OFD Sender: No OFD packet to send [02:08:01]OFD Sender: No OFD packet to send [02:08:06]OFD Sender: No OFD packet to send [02:08:11]OFD Sender: No OFD packet to send [02:08:16]OFD Sender: No OFD packet to send [02:08:21]OFD Sender: No OFD packet to send [02:08:26]OFD Sender: No OFD packet to send [02:08:31]OFD Sender: No OFD packet to send [02:08:36]OFD Sender: No OFD packet to send [02:08:41]OFD Sender: No OFD packet to send [02:08:46]OFD Sender: No OFD packet to send [02:08:51]OFD Sender: No OFD packet to send [02:08:56]OFD Sender: No OFD packet to send [02:09:01]OFD Sender: No OFD packet to send [02:09:06]OFD Sender: No OFD packet to send [02:09:11]OFD Sender: No OFD packet to send [02:09:16]OFD Sender: No OFD packet to send [02:09:21]OFD Sender: No OFD packet to send [02:09:26]OFD Sender: No OFD packet to send [02:09:31]OFD Sender: No OFD packet to send [02:09:36]OFD Sender: No OFD packet to send [02:09:41]OFD Sender: No OFD packet to send [02:09:46]OFD Sender: No OFD packet to send [02:09:51]OFD Sender: No OFD packet to send [02:09:56]OFD Sender: No OFD packet to send [02:10:01]OFD Sender: No OFD packet to send [02:10:06]OFD Sender: No OFD packet to send [02:10:11]OFD Sender: No OFD packet to send [02:10:16]OFD Sender: No OFD packet to send [02:10:21]OFD Sender: No OFD packet to send [02:10:26]OFD Sender: No OFD packet to send [02:10:31]OFD Sender: No OFD packet to send [02:10:36]OFD Sender: No OFD packet to send [02:10:41]OFD Sender: No OFD packet to send [02:10:46]OFD Sender: No OFD packet to send [02:10:51]OFD Sender: No OFD packet to send [02:10:56]OFD Sender: No OFD packet to send [02:11:01]OFD Sender: No OFD packet to send [02:11:06]OFD Sender: No OFD packet to send [02:11:11]OFD Sender: No OFD packet to send [02:11:16]OFD Sender: No OFD packet to send [02:11:21]OFD Sender: No OFD packet to send [02:11:26]OFD Sender: No OFD packet to send [02:11:31]OFD Sender: No OFD packet to send [02:11:36]OFD Sender: No OFD packet to send [02:11:41]OFD Sender: No OFD packet to send [02:11:46]OFD Sender: No OFD packet to send [02:11:51]OFD Sender: No OFD packet to send [02:11:56]OFD Sender: No OFD packet to send [02:12:01]OFD Sender: No OFD packet to send [02:12:06]OFD Sender: No OFD packet to send [02:12:11]OFD Sender: No OFD packet to send [02:12:16]OFD Sender: No OFD packet to send [02:12:21]OFD Sender: No OFD packet to send [02:12:26]OFD Sender: No OFD packet to send [02:12:31]OFD Sender: No OFD packet to send [02:12:36]OFD Sender: No OFD packet to send [02:12:41]OFD Sender: No OFD packet to send [02:12:46]OFD Sender: No OFD packet to send [02:12:51]OFD Sender: No OFD packet to send [02:12:56]OFD Sender: No OFD packet to send [02:13:01]OFD Sender: No OFD packet to send [02:13:06]OFD Sender: No OFD packet to send [02:13:11]OFD Sender: No OFD packet to send [02:13:16]OFD Sender: No OFD packet to send [02:13:21]OFD Sender: No OFD packet to send [02:13:26]OFD Sender: No OFD packet to send [02:13:31]OFD Sender: No OFD packet to send [02:13:36]OFD Sender: No OFD packet to send [02:13:41]OFD Sender: No OFD packet to send [02:13:46]OFD Sender: No OFD packet to send [02:13:51]OFD Sender: No OFD packet to send [02:13:56]OFD Sender: No OFD packet to send [02:14:01]OFD Sender: No OFD packet to send [02:14:06]OFD Sender: No OFD packet to send [02:14:11]OFD Sender: No OFD packet to send [02:14:16]OFD Sender: No OFD packet to send [02:14:21]OFD Sender: No OFD packet to send [02:14:26]OFD Sender: No OFD packet to send [02:14:31]OFD Sender: No OFD packet to send [02:14:36]OFD Sender: No OFD packet to send [02:14:41]OFD Sender: No OFD packet to send [02:14:46]OFD Sender: No OFD packet to send [02:14:51]OFD Sender: No OFD packet to send [02:14:56]OFD Sender: No OFD packet to send [02:15:01]OFD Sender: No OFD packet to send [02:15:06]OFD Sender: No OFD packet to send [02:15:11]OFD Sender: No OFD packet to send [02:15:16]OFD Sender: No OFD packet to send [02:15:21]OFD Sender: No OFD packet to send [02:15:26]OFD Sender: No OFD packet to send [02:15:31]OFD Sender: No OFD packet to send [02:15:31]accept exits with 9 [02:15:31]New connection [02:15:31]New thread 3067108708 created [02:15:31]Thread 3066965348 joined [02:15:31]Waiting for new connection... [02:15:31] Sock 9.Parse request [02:15:31]Sock 9.Check first char [02:15:31]Sock 9.First char is OK [02:15:31]request: POST /json_proto HTTP/1.0 [02:15:31]Method: POST [02:15:31]URL: /json_proto [02:15:31]Method is POST - this is cgi request [02:15:31]url: /json_proto [02:15:31]query_string will be loaded in cgi processing [02:15:31]execute_cgi json_proto POST (null) [02:15:31]execute_cgi path=json_proto method=POST [02:15:31]POST find Content-Length [02:15:31]Host: 172.17.53.196:8080 [02:15:31]Content-Length: 618 [02:15:31]Content-Type: application/json [02:15:31] [02:15:31]POST finish read [02:15:31]Found Content-Length = 618 [02:15:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34678", "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" ] } } [02:15:31]execute_script... [02:15: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)34678", "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" ] } } [02:15:31]POST & json_proto [02:15:31]process_json_proto [02:15:31]json parsed OK: [02:15:31]protocol is kg_v1.0 [02:15:31]action value=close_receipt [02:15:31]process_action close_receipt [02:15:31]cmd_close_receipt [02:15:31]MH_GetDate [02:15:31]Write to MH i2c: F0 00 00 7D 01 6D [02:15:31]Write i2c OK [02:15:31]MH_I2C_Read... [02:15:31]Read from MH i2c: F0 [02:15:31]MH_I2C_Read... [02:15:31]Read from MH i2c: F0 09 00 [02:15:31]MH_I2C_Read... [02:15:31]Read from MH i2c: F0 09 00 7D 01 00 44 B9 15 67 4F CD 9A 65 0A [02:15:31]GetLastDocTimeStamp 1729472991 [02:15:31]current date 1729476932 [02:15:31]FM_GetShiftState [02:15:31]SAM_PROTO_GetShiftState [02:15:31]wFMCommunicate request_size=4 [02:15:31]MH_SAM_APDU [02:15:31]CAPDU: 80 13 01 00 [02:15:31]Write to MH i2c: E2 08 00 7E 01 80 13 01 00 00 00 00 00 FC [02:15:31]Write i2c OK [02:15:31]MH_I2C_Read... [02:15:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:15:31]Read from MH i2c: E2 [02:15:31]MH_I2C_Read... [02:15:31]Read from MH i2c: E2 0E 00 [02:15:31]MH_I2C_Read... [02:15:31]Read from MH i2c: E2 0E 00 7E 01 00 09 00 01 E0 9F 15 67 00 00 00 00 90 00 03 [02:15:31]RAPDU: 09 00 01 E0 9F 15 67 00 00 00 00 90 00 [02:15:31]wFMCommunicate OK [02:15:31]SAM_PROTO_GetShiftState done [02:15:31]FM_GetShiftState done [02:15:31]opened in 1729470432 [02:15:31]opened+sec_in_day 1729556832 [02:15:31]quantity*price = 14400 [02:15:31]sum+1 = 14401 [02:15:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 3 21.10.2024 02:15 Смена: 456 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24919 ФПД: 178373016135922 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T021532&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24919&fm=178373016135922&tin=02508201610067®Number=0000000000098147&sum=14400 0 [02:15:32]StoreToDocumentArchive [02:15:32]shift 456 fd 24919 [02:15:32]save to /storage/0456/doc_00024919 [02:15:32]save last doc name /storage/0456/doc_00024919 to /storage/kkm_last_doc_name [02:15:32]save OK [02:15:32]Clear old archive folders... [02:15:32]ProcessDocumentItem done err = 0, tmpTLVsize=271 [02:15:32]tlvbuf is 011547C0 [02:15:32]SAM_PROTO_ClearQueue [02:15:32]wFMCommunicate request_size=4 [02:15:32]MH_SAM_APDU [02:15:32]CAPDU: 80 09 00 00 [02:15:32]Write to MH i2c: E2 08 00 8B 01 80 09 00 00 00 00 00 00 FE [02:15:32]Write i2c OK [02:15:32]MH_I2C_Read... [02:15:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:15:32]Read from MH i2c: E2 [02:15:32]MH_I2C_Read... [02:15:32]Read from MH i2c: E2 03 00 [02:15:32]MH_I2C_Read... [02:15:32]Read from MH i2c: E2 03 00 8B 01 00 90 00 00 [02:15:32]RAPDU: 90 00 [02:15:32]wFMCommunicate OK [02:15:32]SAM_PROTO_ClearQueue done [02:15:32]KKMCreateOFDPacket [02:15:32]OFDProtocolAddRootSTLVToBuf [02:15:32]FM_MakeSignedData [02:15:32]FM_MakeSignedData [02:15:32]SAM_PROTO_SignData [02:15:32]wFMCommunicate request_size=4 [02:15:32]MH_SAM_APDU [02:15:32]CAPDU: 80 0D 01 02 [02:15:32]Write to MH i2c: E2 08 00 8C 01 80 0D 01 02 00 00 00 00 06 [02:15:32]Write i2c OK [02:15:32]MH_I2C_Read... [02:15:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:15:32]Read from MH i2c: E2 [02:15:32]MH_I2C_Read... [02:15:32]Read from MH i2c: E2 03 00 [02:15:32]MH_I2C_Read... [02:15:32]Read from MH i2c: E2 03 00 8C 01 00 90 00 01 [02:15:32]RAPDU: 90 00 [02:15:32]wFMCommunicate OK [02:15:32]wFMCommunicate request_size=255 [02:15:32]MH_SAM_APDU [02:15:32]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 03 00 00 00 F4 03 04 00 44 B9 15 67 0E 04 04 00 C8 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 [02:15:32]Write to MH i2c: E2 02 01 8D 01 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 03 00 00 00 F4 03 04 00 44 B9 15 67 0E 04 04 00 C8 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 48 [02:15:32]Write i2c OK [02:15:32]MH_I2C_Read... [02:15:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:15:32]Read from MH i2c: E2 [02:15:32]MH_I2C_Read... [02:15:32]Read from MH i2c: E2 03 00 [02:15:32]MH_I2C_Read... [02:15:32]Read from MH i2c: E2 03 00 8D 01 00 90 00 02 [02:15:32]RAPDU: 90 00 [02:15:32]wFMCommunicate OK [02:15:32]wFMCommunicate request_size=30 [02:15:32]MH_SAM_APDU [02:15:32]CAPDU: 80 0D 02 02 19 30 39 36 35 33 37 36 10 04 04 00 57 61 00 00 35 04 06 00 A2 3A B4 43 A8 F2 [02:15:32]Write to MH i2c: E2 21 00 8E 01 80 0D 02 02 19 00 30 39 36 35 33 37 36 10 04 04 00 57 61 00 00 35 04 06 00 A2 3A B4 43 A8 F2 00 00 2B [02:15:32]Write i2c OK [02:15:32]MH_I2C_Read... [02:15:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:15:33]Read from MH i2c: E2 [02:15:33]MH_I2C_Read... [02:15:33]Read from MH i2c: E2 03 00 [02:15:33]MH_I2C_Read... [02:15:33]Read from MH i2c: E2 03 00 8E 01 00 90 00 03 [02:15:33]RAPDU: 90 00 [02:15:33]wFMCommunicate OK [02:15:33]wFMCommunicate request_size=4 [02:15:33]MH_SAM_APDU [02:15:33]CAPDU: 80 0D 03 02 [02:15:33]Write to MH i2c: E2 08 00 8F 01 80 0D 03 02 00 00 00 00 0B [02:15:33]Write i2c OK [02:15:33]MH_I2C_Read... [02:15:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:15:33]Read from MH i2c: E2 [02:15:33]MH_I2C_Read... [02:15:33]Read from MH i2c: E2 0B 00 [02:15:33]MH_I2C_Read... [02:15:33]Read from MH i2c: E2 0B 00 8F 01 00 16 B8 C3 4D D1 B4 05 8A 90 00 FE [02:15:33]RAPDU: 16 B8 C3 4D D1 B4 05 8A 90 00 [02:15:33]wFMCommunicate OK [02:15:33]SAM_PROTO_SignData done [02:15:33]FM_MakeSignedData done [02:15:33]CreateOFDProtocolMessage [02:15:33]wFMCommunicate request_size=4 [02:15:33]MH_SAM_APDU [02:15:33]CAPDU: 80 11 00 00 [02:15:33]Write to MH i2c: E2 08 00 90 01 80 11 00 00 00 00 00 00 0B [02:15:33]Write i2c OK [02:15:33]MH_I2C_Read... [02:15:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:15:33]Read from MH i2c: E2 [02:15:33]MH_I2C_Read... [02:15:33]Read from MH i2c: E2 17 00 [02:15:33]MH_I2C_Read... [02:15:33]Read from MH i2c: E2 17 00 90 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 62 [02:15:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [02:15:33]wFMCommunicate OK [02:15:33]CreateOFDProtocolMessage done [02:15:33]OFDSenderStorePacket 24919 [02:15:33]StoreOFDPacket docnum=24919 [02:15:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 23 01 00 00 21 99 1B 01 ED D4 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 03 00 00 00 F4 03 04 00 44 B9 15 67 0E 04 04 00 C8 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 57 61 00 00 35 04 06 00 A2 3A B4 43 A8 F2 16 B8 C3 4D D1 B4 05 8A [02:15:33]CheckFolder [02:15:33]dirname=/storage/ofd_packets [02:15:33]CheckFolder done [02:15:33]ProducePacketName [02:15:33]name=ofd_packets/00024919 [02:15:33]NVStorageSaveData ofd_packets/00024919 [02:15:33]File name is /storage/ofd_packets/00024919 [02:15:33]Write 321 bytes [02:15:33]NVStorageSaveData done [02:15:33]OFDSenderStorePacket done [02:15:33]KKMCreateOFDPacket done [02:15:33]NVStorageSaveData kkm_last_timestamp [02:15:33]File name is /storage/kkm_last_timestamp [02:15:33]Write 4 bytes [02:15:33]NVStorageSaveData done [02:15:33]ExternCall_PrintAddStr [02:15:33]wPrintStart [02:15:33]Write to MH i2c: 01 00 00 91 01 92 [02:15:33]Write i2c OK [02:15:33]MH_I2C_Read... [02:15:33]Read from MH i2c: 01 [02:15:33]MH_I2C_Read... [02:15:33]Read from MH i2c: 01 07 00 [02:15:33]MH_I2C_Read... [02:15:33]Read from MH i2c: 01 07 00 91 01 00 00 00 00 00 FF 0F A7 [02:15:33]RasterBufferAndPrint [02:15:33]line Счет N : (3)34678 [02:15:33]line ИНН: 02508201610067 [02:15:33]line Контрольно-Кассовый Чек [02:15:33]line ПРОДАЖА [02:15:33]line Товар: 47802995 [02:15:33]line Сигареты Winston XS Silver [02:15:33]line 1.000 * 144.00 [02:15:33]line = 144.00 [02:15:33]line НДС 12% НСП 1% [02:15:33]line > о реализуемом товаре [02:15:33]line ИТОГО: 144.00 [02:15:33]line НСП 1% : 1.27 [02:15:33]line НДС 12% : 15.29 [02:15:33]line Наличными: 144.00 [02:15:33]line Безнал.: 0.00 [02:15:33]line Место: АЗС № 161 "Партнер Нефть" [02:15:33]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [02:15:33]line СНО: Общий режим [02:15:33]line Чек 3 21.10.2024 02:15 [02:15:33]line Смена: 456 ФФД: 1.0 [02:15:33]line ЗНМ: 0300000240 [02:15:33]line РНМ: 0000000000098147 [02:15:33]line Версия ККМ: 001 [02:15:33]line ФМ: 0000000000965376 [02:15:33]line ФД: 24919 [02:15:33]line ФПД: 178373016135922 [02:15:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T021532&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24919&fm=178373016135922&tin=02508201610067®Number=0000000000098147&sum=14400 [02:15:33]OFD Sender: Processing packet 24919 [packets to send 5, broken 4] [02:15:33]ProducePacketName [02:15:33]name=ofd_packets/00024919 [02:15:33]OFD Sender: To server: pG, [02:15:33]CommunicateWithHost lk.salyk.kg:30040 [02:15:33]ConnectInit lk.salyk.kg [02:15:33]line 0 [02:15:33]written 0, free lines is 4095 [02:15:33]Connected sock=10 [02:15:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 23 01 00 00 21 99 1B 01 ED D4 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 03 00 00 00 F4 03 04 00 44 B9 15 67 0E 04 04 00 C8 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 57 61 00 00 35 04 06 00 A2 3A B4 43 A8 F2 16 B8 C3 4D D1 B4 05 8A [02:15:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 BF AF 47 00 D6 C3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 57 61 00 00 F4 03 04 00 C3 61 15 67 B6 04 01 00 00 54 AB E4 09 25 94 4D 02 [02:15:33]CommunicateWithHost err = 0 [02:15:33]CheckOFDResponse [02:15:33]1017 (14) - 77093643461234 [02:15:33]1041 (16) - 0000000000965376 [02:15:33]1040 (4) - 24919 [02:15:33]1012 (4) - 20.10.2024 20:02 [02:15:33]1206 (1) - 0 [02:15:33]OFD Sender: Remove packet 24919 [02:15:33]ProducePacketName [02:15:33]name=ofd_packets/00024919 [02:15:33]NVStorageDeleteData [02:15:33]Write to MH i2c: 01 00 00 B9 01 BA [02:15:33]Write i2c OK [02:15:33]MH_I2C_Read... [02:15:33]Read from MH i2c: 01 [02:15:33]MH_I2C_Read... [02:15:33]Read from MH i2c: 01 07 00 [02:15:33]MH_I2C_Read... [02:15:33]Read from MH i2c: 01 07 00 B9 01 00 00 00 00 00 BC 0C 89 [02:15:33]RasterBufferAndPrint [02:15:33]line [02:15:33]line [02:15:33]line [02:15:33]line [02:15:33]line [02:15:33]written 0, free lines is 3264 [02:15:33]process_action close_receipt done [02:15:33]requested_data is exist [02:15:33]produce_requested_data [02:15:33]requested_item fm.sn is exist - process it [02:15:33]wFMCommunicate request_size=4 [02:15:33]MH_SAM_APDU [02:15:33]CAPDU: 80 11 00 00 [02:15:33]Write to MH i2c: E2 08 00 C0 01 80 11 00 00 00 00 00 00 3B [02:15:33]Write i2c OK [02:15:33]MH_I2C_Read... [02:15:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:15:33]Read from MH i2c: E2 [02:15:33]MH_I2C_Read... [02:15:33]Read from MH i2c: E2 17 00 [02:15:33]MH_I2C_Read... [02:15:33]Read from MH i2c: E2 17 00 C0 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 92 [02:15:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [02:15:33]wFMCommunicate OK [02:15:33]requested_item fd.num is exist - process it [02:15:33]SAM_PROTO_GetFieldsCounters [02:15:33]wFMCommunicate request_size=4 [02:15:33]MH_SAM_APDU [02:15:33]CAPDU: 80 13 00 00 [02:15:33]Write to MH i2c: E2 08 00 C1 01 80 13 00 00 00 00 00 00 3E [02:15:33]Write i2c OK [02:15:33]MH_I2C_Read... [02:15:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:15:34]Read from MH i2c: E2 [02:15:34]MH_I2C_Read... [02:15:34]Read from MH i2c: E2 62 00 [02:15:34]MH_I2C_Read... [02:15:34]Read from MH i2c: E2 62 00 C1 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 57 61 00 00 0E 04 04 00 C8 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 F1 [02:15:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 57 61 00 00 0E 04 04 00 C8 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:15:34]wFMCommunicate OK [02:15:34]SAM_PROTO_GetFieldsCounters done [02:15:34]requested_item shift.num is exist - process it [02:15:34]requested_item shift.opened is exist - process it [02:15:34]req_shift_opened [02:15:34]FM_GetShiftState [02:15:34]SAM_PROTO_GetShiftState [02:15:34]wFMCommunicate request_size=4 [02:15:34]MH_SAM_APDU [02:15:34]CAPDU: 80 13 01 00 [02:15:34]Write to MH i2c: E2 08 00 C2 01 80 13 01 00 00 00 00 00 40 [02:15:34]Write i2c OK [02:15:34]MH_I2C_Read... [02:15:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:15:34]Read from MH i2c: E2 [02:15:34]MH_I2C_Read... [02:15:34]Read from MH i2c: E2 0E 00 [02:15:34]MH_I2C_Read... [02:15:34]Read from MH i2c: E2 0E 00 C2 01 00 09 00 01 E0 9F 15 67 00 00 00 00 90 00 47 [02:15:34]RAPDU: 09 00 01 E0 9F 15 67 00 00 00 00 90 00 [02:15:34]wFMCommunicate OK [02:15:34]SAM_PROTO_GetShiftState done [02:15:34]FM_GetShiftState done [02:15:34]req_shift_opened done [02:15:34]requested_item shift.open_date is exist - process it [02:15:34]req_shift_open_date [02:15:34]req_shift_open_date done [02:15:34]produce_requested_data done [02:15:34]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24919,"shift.num":456,"shift.opened":1,"shift.open_date":1729470432} [02:15:34]process_action_free close_receipt [02:15:34]json_value_free [02:15:34]json_value_free done [02:15:34]process_json_proto returns [02:15:34]Send response to host [02:15:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24919,"shift.num":456,"shift.opened":1,"shift.open_date":1729470432}}} [02:15:34]free response buf [02:15:34]execute_script done [02:15:34]execute_script returns [02:15:34]free content buf [02:15:34]Sock 9.Close socket [02:15:34]Sock 9.Thread stoped [02:15:34]OFD Sender: No OFD packet to send [02:15:39]OFD Sender: No OFD packet to send [02:15:44]OFD Sender: No OFD packet to send [02:15:49]OFD Sender: No OFD packet to send [02:15:54]OFD Sender: No OFD packet to send [02:15:59]OFD Sender: No OFD packet to send [02:16:04]OFD Sender: No OFD packet to send [02:16:09]OFD Sender: No OFD packet to send [02:16:14]OFD Sender: No OFD packet to send [02:16:19]OFD Sender: No OFD packet to send [02:16:24]OFD Sender: No OFD packet to send [02:16:29]OFD Sender: No OFD packet to send [02:16:34]OFD Sender: No OFD packet to send [02:16:39]OFD Sender: No OFD packet to send [02:16:44]OFD Sender: No OFD packet to send [02:16:49]OFD Sender: No OFD packet to send [02:16:54]OFD Sender: No OFD packet to send [02:16:59]OFD Sender: No OFD packet to send [02:17:04]OFD Sender: No OFD packet to send [02:17:09]OFD Sender: No OFD packet to send [02:17:14]OFD Sender: No OFD packet to send [02:17:19]OFD Sender: No OFD packet to send [02:17:24]OFD Sender: No OFD packet to send [02:17:29]OFD Sender: No OFD packet to send [02:17:34]OFD Sender: No OFD packet to send [02:17:39]OFD Sender: No OFD packet to send [02:17:44]OFD Sender: No OFD packet to send [02:17:49]OFD Sender: No OFD packet to send [02:17:54]OFD Sender: No OFD packet to send [02:17:59]OFD Sender: No OFD packet to send [02:18:04]OFD Sender: No OFD packet to send [02:18:09]OFD Sender: No OFD packet to send [02:18:14]OFD Sender: No OFD packet to send [02:18:19]OFD Sender: No OFD packet to send [02:18:24]OFD Sender: No OFD packet to send [02:18:29]OFD Sender: No OFD packet to send [02:18:34]OFD Sender: No OFD packet to send [02:18:39]OFD Sender: No OFD packet to send [02:18:44]OFD Sender: No OFD packet to send [02:18:49]OFD Sender: No OFD packet to send [02:18:54]OFD Sender: No OFD packet to send [02:18:59]OFD Sender: No OFD packet to send [02:19:04]OFD Sender: No OFD packet to send [02:19:09]OFD Sender: No OFD packet to send [02:19:14]OFD Sender: No OFD packet to send [02:19:19]OFD Sender: No OFD packet to send [02:19:24]OFD Sender: No OFD packet to send [02:19:29]OFD Sender: No OFD packet to send [02:19:34]OFD Sender: No OFD packet to send [02:19:39]OFD Sender: No OFD packet to send [02:19:44]OFD Sender: No OFD packet to send [02:19:49]OFD Sender: No OFD packet to send [02:19:54]OFD Sender: No OFD packet to send [02:19:59]OFD Sender: No OFD packet to send [02:20:04]OFD Sender: No OFD packet to send [02:20:09]OFD Sender: No OFD packet to send [02:20:14]OFD Sender: No OFD packet to send [02:20:19]OFD Sender: No OFD packet to send [02:20:24]OFD Sender: No OFD packet to send [02:20:29]OFD Sender: No OFD packet to send [02:20:34]OFD Sender: No OFD packet to send [02:20:39]OFD Sender: No OFD packet to send [02:20:44]OFD Sender: No OFD packet to send [02:20:49]OFD Sender: No OFD packet to send [02:20:54]OFD Sender: No OFD packet to send [02:20:59]OFD Sender: No OFD packet to send [02:21:04]OFD Sender: No OFD packet to send [02:21:09]OFD Sender: No OFD packet to send [02:21:14]OFD Sender: No OFD packet to send [02:21:19]OFD Sender: No OFD packet to send [02:21:24]OFD Sender: No OFD packet to send [02:21:29]OFD Sender: No OFD packet to send [02:21:34]OFD Sender: No OFD packet to send [02:21:39]OFD Sender: No OFD packet to send [02:21:44]OFD Sender: No OFD packet to send [02:21:49]OFD Sender: No OFD packet to send [02:21:54]OFD Sender: No OFD packet to send [02:21:59]OFD Sender: No OFD packet to send [02:22:04]OFD Sender: No OFD packet to send [02:22:09]OFD Sender: No OFD packet to send [02:22:14]OFD Sender: No OFD packet to send [02:22:19]OFD Sender: No OFD packet to send [02:22:24]OFD Sender: No OFD packet to send [02:22:29]OFD Sender: No OFD packet to send [02:22:34]OFD Sender: No OFD packet to send [02:22:39]OFD Sender: No OFD packet to send [02:22:44]OFD Sender: No OFD packet to send [02:22:49]OFD Sender: No OFD packet to send [02:22:54]OFD Sender: No OFD packet to send [02:22:59]OFD Sender: No OFD packet to send [02:23:04]OFD Sender: No OFD packet to send [02:23:09]OFD Sender: No OFD packet to send [02:23:14]OFD Sender: No OFD packet to send [02:23:19]OFD Sender: No OFD packet to send [02:23:24]OFD Sender: No OFD packet to send [02:23:29]OFD Sender: No OFD packet to send [02:23:34]OFD Sender: No OFD packet to send [02:23:39]OFD Sender: No OFD packet to send [02:23:44]OFD Sender: No OFD packet to send [02:23:49]OFD Sender: No OFD packet to send [02:23:54]OFD Sender: No OFD packet to send [02:23:59]OFD Sender: No OFD packet to send [02:24:04]OFD Sender: No OFD packet to send [02:24:09]OFD Sender: No OFD packet to send [02:24:14]OFD Sender: No OFD packet to send [02:24:19]OFD Sender: No OFD packet to send [02:24:24]OFD Sender: No OFD packet to send [02:24:29]OFD Sender: No OFD packet to send [02:24:34]OFD Sender: No OFD packet to send [02:24:39]OFD Sender: No OFD packet to send [02:24:44]OFD Sender: No OFD packet to send [02:24:49]OFD Sender: No OFD packet to send [02:24:54]OFD Sender: No OFD packet to send [02:24:59]OFD Sender: No OFD packet to send [02:25:04]OFD Sender: No OFD packet to send [02:25:09]OFD Sender: No OFD packet to send [02:25:14]OFD Sender: No OFD packet to send [02:25:19]OFD Sender: No OFD packet to send [02:25:24]OFD Sender: No OFD packet to send [02:25:29]OFD Sender: No OFD packet to send [02:25:34]OFD Sender: No OFD packet to send [02:25:39]OFD Sender: No OFD packet to send [02:25:44]OFD Sender: No OFD packet to send [02:25:49]OFD Sender: No OFD packet to send [02:25:54]OFD Sender: No OFD packet to send [02:25:59]OFD Sender: No OFD packet to send [02:26:04]OFD Sender: No OFD packet to send [02:26:09]OFD Sender: No OFD packet to send [02:26:14]OFD Sender: No OFD packet to send [02:26:19]OFD Sender: No OFD packet to send [02:26:24]OFD Sender: No OFD packet to send [02:26:29]OFD Sender: No OFD packet to send [02:26:34]OFD Sender: No OFD packet to send [02:26:39]OFD Sender: No OFD packet to send [02:26:44]OFD Sender: No OFD packet to send [02:26:49]OFD Sender: No OFD packet to send [02:26:54]OFD Sender: No OFD packet to send [02:26:59]OFD Sender: No OFD packet to send [02:27:04]OFD Sender: No OFD packet to send [02:27:09]OFD Sender: No OFD packet to send [02:27:14]OFD Sender: No OFD packet to send [02:27:19]OFD Sender: No OFD packet to send [02:27:24]OFD Sender: No OFD packet to send [02:27:29]OFD Sender: No OFD packet to send [02:27:34]OFD Sender: No OFD packet to send [02:27:39]OFD Sender: No OFD packet to send [02:27:44]OFD Sender: No OFD packet to send [02:27:49]OFD Sender: No OFD packet to send [02:27:54]OFD Sender: No OFD packet to send [02:27:59]OFD Sender: No OFD packet to send [02:28:04]OFD Sender: No OFD packet to send [02:28:09]OFD Sender: No OFD packet to send [02:28:14]OFD Sender: No OFD packet to send [02:28:19]OFD Sender: No OFD packet to send [02:28:24]OFD Sender: No OFD packet to send [02:28:29]OFD Sender: No OFD packet to send [02:28:34]OFD Sender: No OFD packet to send [02:28:39]OFD Sender: No OFD packet to send [02:28:44]OFD Sender: No OFD packet to send [02:28:49]OFD Sender: No OFD packet to send [02:28:54]OFD Sender: No OFD packet to send [02:28:59]OFD Sender: No OFD packet to send [02:29:04]OFD Sender: No OFD packet to send [02:29:09]OFD Sender: No OFD packet to send [02:29:14]OFD Sender: No OFD packet to send [02:29:19]OFD Sender: No OFD packet to send [02:29:24]OFD Sender: No OFD packet to send [02:29:29]OFD Sender: No OFD packet to send [02:29:34]OFD Sender: No OFD packet to send [02:29:39]OFD Sender: No OFD packet to send [02:29:44]OFD Sender: No OFD packet to send [02:29:49]OFD Sender: No OFD packet to send [02:29:54]OFD Sender: No OFD packet to send [02:29:59]OFD Sender: No OFD packet to send [02:30:04]OFD Sender: No OFD packet to send [02:30:09]OFD Sender: No OFD packet to send [02:30:14]OFD Sender: No OFD packet to send [02:30:19]OFD Sender: No OFD packet to send [02:30:24]OFD Sender: No OFD packet to send [02:30:29]OFD Sender: No OFD packet to send [02:30:34]OFD Sender: No OFD packet to send [02:30:35]accept exits with 7 [02:30:35]New connection [02:30:35]New thread 3066965348 created [02:30:35]Thread 3067108708 joined [02:30:35]Waiting for new connection... [02:30:35] Sock 7.Parse request [02:30:35]Sock 7.Check first char [02:30:35]Sock 7.First char is OK [02:30:35]request: POST /json_proto HTTP/1.0 [02:30:35]Method: POST [02:30:35]URL: /json_proto [02:30:35]Method is POST - this is cgi request [02:30:35]url: /json_proto [02:30:35]query_string will be loaded in cgi processing [02:30:35]execute_cgi json_proto POST (null) [02:30:35]execute_cgi path=json_proto method=POST [02:30:35]POST find Content-Length [02:30:35]Host: 172.17.53.196:8080 [02:30:35]Content-Length: 620 [02:30:35]Content-Type: application/json [02:30:35] [02:30:35]POST finish read [02:30:35]Found Content-Length = 620 [02:30:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34679", "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" ] } } [02:30:35]execute_script... [02:30: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)34679", "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" ] } } [02:30:35]POST & json_proto [02:30:35]process_json_proto [02:30:35]json parsed OK: [02:30:35]protocol is kg_v1.0 [02:30:35]action value=close_receipt [02:30:35]process_action close_receipt [02:30:35]cmd_close_receipt [02:30:35]MH_GetDate [02:30:35]Write to MH i2c: F0 00 00 C3 01 B3 [02:30:35]Write i2c OK [02:30:35]MH_I2C_Read... [02:30:35]Read from MH i2c: F0 [02:30:35]MH_I2C_Read... [02:30:35]Read from MH i2c: F0 09 00 [02:30:35]MH_I2C_Read... [02:30:35]Read from MH i2c: F0 09 00 C3 01 00 CC BC 15 67 4F CD 9A 65 DB [02:30:35]GetLastDocTimeStamp 1729476932 [02:30:35]current date 1729477836 [02:30:35]FM_GetShiftState [02:30:35]SAM_PROTO_GetShiftState [02:30:35]wFMCommunicate request_size=4 [02:30:35]MH_SAM_APDU [02:30:35]CAPDU: 80 13 01 00 [02:30:35]Write to MH i2c: E2 08 00 C4 01 80 13 01 00 00 00 00 00 42 [02:30:35]Write i2c OK [02:30:35]MH_I2C_Read... [02:30:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:30:35]Read from MH i2c: E2 [02:30:35]MH_I2C_Read... [02:30:35]Read from MH i2c: E2 0E 00 [02:30:35]MH_I2C_Read... [02:30:35]Read from MH i2c: E2 0E 00 C4 01 00 09 00 01 E0 9F 15 67 00 00 00 00 90 00 49 [02:30:35]RAPDU: 09 00 01 E0 9F 15 67 00 00 00 00 90 00 [02:30:35]wFMCommunicate OK [02:30:35]SAM_PROTO_GetShiftState done [02:30:35]FM_GetShiftState done [02:30:35]opened in 1729470432 [02:30:35]opened+sec_in_day 1729556832 [02:30:35]quantity*price = 14400 [02:30:35]sum+1 = 14401 [02:30:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 4 21.10.2024 02:30 Смена: 456 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24920 ФПД: 20122251839340 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T023036&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24920&fm=20122251839340&tin=02508201610067®Number=0000000000098147&sum=14400 0 [02:30:36]StoreToDocumentArchive [02:30:36]shift 456 fd 24920 [02:30:36]save to /storage/0456/doc_00024920 [02:30:36]save last doc name /storage/0456/doc_00024920 to /storage/kkm_last_doc_name [02:30:36]save OK [02:30:36]Clear old archive folders... [02:30:36]ProcessDocumentItem done err = 0, tmpTLVsize=273 [02:30:36]tlvbuf is 011546A0 [02:30:36]SAM_PROTO_ClearQueue [02:30:36]wFMCommunicate request_size=4 [02:30:36]MH_SAM_APDU [02:30:36]CAPDU: 80 09 00 00 [02:30:36]Write to MH i2c: E2 08 00 D1 01 80 09 00 00 00 00 00 00 44 [02:30:36]Write i2c OK [02:30:36]MH_I2C_Read... [02:30:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:30:36]Read from MH i2c: E2 [02:30:36]MH_I2C_Read... [02:30:36]Read from MH i2c: E2 03 00 [02:30:36]MH_I2C_Read... [02:30:36]Read from MH i2c: E2 03 00 D1 01 00 90 00 46 [02:30:36]RAPDU: 90 00 [02:30:36]wFMCommunicate OK [02:30:36]SAM_PROTO_ClearQueue done [02:30:36]KKMCreateOFDPacket [02:30:36]OFDProtocolAddRootSTLVToBuf [02:30:36]FM_MakeSignedData [02:30:36]FM_MakeSignedData [02:30:36]SAM_PROTO_SignData [02:30:36]wFMCommunicate request_size=4 [02:30:36]MH_SAM_APDU [02:30:36]CAPDU: 80 0D 01 02 [02:30:36]Write to MH i2c: E2 08 00 D2 01 80 0D 01 02 00 00 00 00 4C [02:30:36]Write i2c OK [02:30:36]MH_I2C_Read... [02:30:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:30:36]Read from MH i2c: E2 [02:30:36]MH_I2C_Read... [02:30:36]Read from MH i2c: E2 03 00 [02:30:36]MH_I2C_Read... [02:30:36]Read from MH i2c: E2 03 00 D2 01 00 90 00 47 [02:30:36]RAPDU: 90 00 [02:30:36]wFMCommunicate OK [02:30:36]wFMCommunicate request_size=255 [02:30:36]MH_SAM_APDU [02:30:36]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 04 00 00 00 F4 03 04 00 CC BC 15 67 0E 04 04 00 C8 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 [02:30:36]Write to MH i2c: E2 02 01 D3 01 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 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 04 00 00 00 F4 03 04 00 CC BC 15 67 0E 04 04 00 C8 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 00 00 8B [02:30:36]Write i2c OK [02:30:36]MH_I2C_Read... [02:30:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:30:36]Read from MH i2c: E2 [02:30:36]MH_I2C_Read... [02:30:36]Read from MH i2c: E2 03 00 [02:30:36]MH_I2C_Read... [02:30:36]Read from MH i2c: E2 03 00 D3 01 00 90 00 48 [02:30:36]RAPDU: 90 00 [02:30:36]wFMCommunicate OK [02:30:36]wFMCommunicate request_size=32 [02:30:36]MH_SAM_APDU [02:30:36]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 36 10 04 04 00 58 61 00 00 35 04 06 00 12 4D 13 AC 47 6C [02:30:36]Write to MH i2c: E2 23 00 D4 01 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 36 10 04 04 00 58 61 00 00 35 04 06 00 12 4D 13 AC 47 6C 00 00 3A [02:30:36]Write i2c OK [02:30:36]MH_I2C_Read... [02:30:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:30:36]Read from MH i2c: E2 [02:30:36]MH_I2C_Read... [02:30:36]Read from MH i2c: E2 03 00 [02:30:36]MH_I2C_Read... [02:30:36]Read from MH i2c: E2 03 00 D4 01 00 90 00 49 [02:30:36]RAPDU: 90 00 [02:30:36]wFMCommunicate OK [02:30:36]wFMCommunicate request_size=4 [02:30:36]MH_SAM_APDU [02:30:36]CAPDU: 80 0D 03 02 [02:30:36]Write to MH i2c: E2 08 00 D5 01 80 0D 03 02 00 00 00 00 51 [02:30:36]Write i2c OK [02:30:36]MH_I2C_Read... [02:30:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:30:36]Read from MH i2c: E2 [02:30:36]MH_I2C_Read... [02:30:36]Read from MH i2c: E2 0B 00 [02:30:36]MH_I2C_Read... [02:30:36]Read from MH i2c: E2 0B 00 D5 01 00 00 58 66 E0 0F 08 04 8C 90 00 97 [02:30:36]RAPDU: 00 58 66 E0 0F 08 04 8C 90 00 [02:30:36]wFMCommunicate OK [02:30:36]SAM_PROTO_SignData done [02:30:36]FM_MakeSignedData done [02:30:36]CreateOFDProtocolMessage [02:30:36]wFMCommunicate request_size=4 [02:30:36]MH_SAM_APDU [02:30:36]CAPDU: 80 11 00 00 [02:30:36]Write to MH i2c: E2 08 00 D6 01 80 11 00 00 00 00 00 00 51 [02:30:36]Write i2c OK [02:30:36]MH_I2C_Read... [02:30:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:30:36]Read from MH i2c: E2 [02:30:36]MH_I2C_Read... [02:30:36]Read from MH i2c: E2 17 00 [02:30:36]MH_I2C_Read... [02:30:36]Read from MH i2c: E2 17 00 D6 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 A8 [02:30:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [02:30:36]wFMCommunicate OK [02:30:36]CreateOFDProtocolMessage done [02:30:36]OFDSenderStorePacket 24920 [02:30:36]StoreOFDPacket docnum=24920 [02:30:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 6B 91 1D 01 1C 57 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 04 00 00 00 F4 03 04 00 CC BC 15 67 0E 04 04 00 C8 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 58 61 00 00 35 04 06 00 12 4D 13 AC 47 6C 00 58 66 E0 0F 08 04 8C [02:30:36]CheckFolder [02:30:36]dirname=/storage/ofd_packets [02:30:36]CheckFolder done [02:30:36]ProducePacketName [02:30:36]name=ofd_packets/00024920 [02:30:36]NVStorageSaveData ofd_packets/00024920 [02:30:36]File name is /storage/ofd_packets/00024920 [02:30:36]Write 323 bytes [02:30:36]NVStorageSaveData done [02:30:36]OFDSenderStorePacket done [02:30:36]KKMCreateOFDPacket done [02:30:36]NVStorageSaveData kkm_last_timestamp [02:30:36]File name is /storage/kkm_last_timestamp [02:30:36]Write 4 bytes [02:30:36]NVStorageSaveData done [02:30:36]ExternCall_PrintAddStr [02:30:36]wPrintStart [02:30:36]Write to MH i2c: 01 00 00 D7 01 D8 [02:30:37]Write i2c OK [02:30:37]MH_I2C_Read... [02:30:37]Read from MH i2c: 01 [02:30:37]MH_I2C_Read... [02:30:37]Read from MH i2c: 01 07 00 [02:30:37]MH_I2C_Read... [02:30:37]Read from MH i2c: 01 07 00 D7 01 00 00 00 00 00 FF 0F ED [02:30:37]RasterBufferAndPrint [02:30:37]line Счет N : (3)34679 [02:30:37]line ИНН: 02508201610067 [02:30:37]line Контрольно-Кассовый Чек [02:30:37]line ПРОДАЖА [02:30:37]line Товар: 48743570 [02:30:37]line Сигареты Winston XStyle Blue [02:30:37]line 1.000 * 144.00 [02:30:37]line = 144.00 [02:30:37]line НДС 12% НСП 1% [02:30:37]line > о реализуемом товаре [02:30:37]line ИТОГО: 144.00 [02:30:37]line НСП 1% : 1.27 [02:30:37]line НДС 12% : 15.29 [02:30:37]line Наличными: 144.00 [02:30:37]line Безнал.: 0.00 [02:30:37]line Место: АЗС № 161 "Партнер Нефть" [02:30:37]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [02:30:37]line СНО: Общий режим [02:30:37]line Чек 4 21.10.2024 02:30 [02:30:37]line Смена: 456 ФФД: 1.0 [02:30:37]line ЗНМ: 0300000240 [02:30:37]line РНМ: 0000000000098147 [02:30:37]line Версия ККМ: 001 [02:30:37]line ФМ: 0000000000965376 [02:30:37]line ФД: 24920 [02:30:37]line ФПД: 20122251839340 [02:30:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T023036&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24920&fm=20122251839340&tin=02508201610067®Number=0000000000098147&sum=14400 [02:30:37]line 0 [02:30:37]written 0, free lines is 4095 [02:30:37]OFD Sender: Processing packet 24920 [packets to send 5, broken 4] [02:30:37]ProducePacketName [02:30:37]name=ofd_packets/00024920 [02:30:37]OFD Sender: To server: pG, [02:30:37]CommunicateWithHost lk.salyk.kg:30040 [02:30:37]ConnectInit lk.salyk.kg [02:30:37]Connected sock=10 [02:30: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 33 37 36 25 01 00 00 6B 91 1D 01 1C 57 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 04 00 00 00 F4 03 04 00 CC BC 15 67 0E 04 04 00 C8 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 58 61 00 00 35 04 06 00 12 4D 13 AC 47 6C 00 58 66 E0 0F 08 04 8C [02:30:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 88 AD 47 00 04 00 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 58 61 00 00 F4 03 04 00 4B 65 15 67 B6 04 01 00 00 AC A2 2F 9C 86 79 42 14 [02:30:37]CommunicateWithHost err = 0 [02:30:37]CheckOFDResponse [02:30:37]1017 (14) - 77093643461234 [02:30:37]1041 (16) - 0000000000965376 [02:30:37]1040 (4) - 24920 [02:30:37]1012 (4) - 20.10.2024 20:17 [02:30:37]1206 (1) - 0 [02:30:37]OFD Sender: Remove packet 24920 [02:30:37]ProducePacketName [02:30:37]name=ofd_packets/00024920 [02:30:37]NVStorageDeleteData [02:30:37]Write to MH i2c: 01 00 00 FF 01 00 [02:30:37]Write i2c OK [02:30:37]MH_I2C_Read... [02:30:37]Read from MH i2c: 01 [02:30:37]MH_I2C_Read... [02:30:37]Read from MH i2c: 01 07 00 [02:30:37]MH_I2C_Read... [02:30:37]Read from MH i2c: 01 07 00 FF 01 00 00 00 00 00 C6 0C D9 [02:30:37]RasterBufferAndPrint [02:30:37]line [02:30:37]line [02:30:37]line [02:30:37]line [02:30:37]line [02:30:37]written 0, free lines is 3274 [02:30:37]process_action close_receipt done [02:30:37]requested_data is exist [02:30:37]produce_requested_data [02:30:37]requested_item fm.sn is exist - process it [02:30:37]wFMCommunicate request_size=4 [02:30:37]MH_SAM_APDU [02:30:37]CAPDU: 80 11 00 00 [02:30:37]Write to MH i2c: E2 08 00 06 02 80 11 00 00 00 00 00 00 82 [02:30:37]Write i2c OK [02:30:37]MH_I2C_Read... [02:30:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:30:37]Read from MH i2c: E2 [02:30:37]MH_I2C_Read... [02:30:37]Read from MH i2c: E2 17 00 [02:30:37]MH_I2C_Read... [02:30:37]Read from MH i2c: E2 17 00 06 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 D9 [02:30:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [02:30:37]wFMCommunicate OK [02:30:37]requested_item fd.num is exist - process it [02:30:37]SAM_PROTO_GetFieldsCounters [02:30:37]wFMCommunicate request_size=4 [02:30:37]MH_SAM_APDU [02:30:37]CAPDU: 80 13 00 00 [02:30:37]Write to MH i2c: E2 08 00 07 02 80 13 00 00 00 00 00 00 85 [02:30:37]Write i2c OK [02:30:37]MH_I2C_Read... [02:30:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:30:37]Read from MH i2c: E2 [02:30:37]MH_I2C_Read... [02:30:37]Read from MH i2c: E2 62 00 [02:30:37]MH_I2C_Read... [02:30:37]Read from MH i2c: E2 62 00 07 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 58 61 00 00 0E 04 04 00 C8 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 3C [02:30:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 58 61 00 00 0E 04 04 00 C8 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:30:37]wFMCommunicate OK [02:30:37]SAM_PROTO_GetFieldsCounters done [02:30:37]requested_item shift.num is exist - process it [02:30:37]requested_item shift.opened is exist - process it [02:30:37]req_shift_opened [02:30:37]FM_GetShiftState [02:30:37]SAM_PROTO_GetShiftState [02:30:37]wFMCommunicate request_size=4 [02:30:37]MH_SAM_APDU [02:30:37]CAPDU: 80 13 01 00 [02:30:37]Write to MH i2c: E2 08 00 08 02 80 13 01 00 00 00 00 00 87 [02:30:37]Write i2c OK [02:30:37]MH_I2C_Read... [02:30:37]Read from MH i2c: E2 [02:30:37]MH_I2C_Read... [02:30:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:30:37]Read from MH i2c: E2 0E 00 [02:30:37]MH_I2C_Read... [02:30:37]Read from MH i2c: E2 0E 00 08 02 00 09 00 01 E0 9F 15 67 00 00 00 00 90 00 8E [02:30:37]RAPDU: 09 00 01 E0 9F 15 67 00 00 00 00 90 00 [02:30:37]wFMCommunicate OK [02:30:37]SAM_PROTO_GetShiftState done [02:30:37]FM_GetShiftState done [02:30:37]req_shift_opened done [02:30:37]requested_item shift.open_date is exist - process it [02:30:37]req_shift_open_date [02:30:37]req_shift_open_date done [02:30:37]produce_requested_data done [02:30:37]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24920,"shift.num":456,"shift.opened":1,"shift.open_date":1729470432} [02:30:37]process_action_free close_receipt [02:30:37]json_value_free [02:30:37]json_value_free done [02:30:37]process_json_proto returns [02:30:37]Send response to host [02:30:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24920,"shift.num":456,"shift.opened":1,"shift.open_date":1729470432}}} [02:30:37]free response buf [02:30:37]execute_script done [02:30:37]execute_script returns [02:30:37]free content buf [02:30:37]Sock 7.Close socket [02:30:37]Sock 7.Thread stoped [02:30:37]OFD Sender: No OFD packet to send [02:30:42]OFD Sender: No OFD packet to send [02:30:47]OFD Sender: No OFD packet to send [02:30:52]OFD Sender: No OFD packet to send [02:30:57]OFD Sender: No OFD packet to send [02:31:02]OFD Sender: No OFD packet to send [02:31:07]OFD Sender: No OFD packet to send [02:31:12]OFD Sender: No OFD packet to send [02:31:17]OFD Sender: No OFD packet to send [02:31:22]OFD Sender: No OFD packet to send [02:31:27]OFD Sender: No OFD packet to send [02:31:32]OFD Sender: No OFD packet to send [02:31:37]OFD Sender: No OFD packet to send [02:31:42]OFD Sender: No OFD packet to send [02:31:47]OFD Sender: No OFD packet to send [02:31:52]OFD Sender: No OFD packet to send [02:31:57]OFD Sender: No OFD packet to send [02:32:02]OFD Sender: No OFD packet to send [02:32:07]OFD Sender: No OFD packet to send [02:32:12]OFD Sender: No OFD packet to send [02:32:17]OFD Sender: No OFD packet to send [02:32:22]OFD Sender: No OFD packet to send [02:32:27]OFD Sender: No OFD packet to send [02:32:32]OFD Sender: No OFD packet to send [02:32:37]OFD Sender: No OFD packet to send [02:32:42]OFD Sender: No OFD packet to send [02:32:47]OFD Sender: No OFD packet to send [02:32:52]OFD Sender: No OFD packet to send [02:32:57]OFD Sender: No OFD packet to send [02:33:02]OFD Sender: No OFD packet to send [02:33:07]OFD Sender: No OFD packet to send [02:33:12]OFD Sender: No OFD packet to send [02:33:17]OFD Sender: No OFD packet to send [02:33:22]OFD Sender: No OFD packet to send [02:33:27]OFD Sender: No OFD packet to send [02:33:32]OFD Sender: No OFD packet to send [02:33:37]OFD Sender: No OFD packet to send [02:33:42]OFD Sender: No OFD packet to send [02:33:47]OFD Sender: No OFD packet to send [02:33:52]OFD Sender: No OFD packet to send [02:33:57]OFD Sender: No OFD packet to send [02:34:02]OFD Sender: No OFD packet to send [02:34:07]OFD Sender: No OFD packet to send [02:34:12]OFD Sender: No OFD packet to send [02:34:17]OFD Sender: No OFD packet to send [02:34:22]OFD Sender: No OFD packet to send [02:34:27]OFD Sender: No OFD packet to send [02:34:33]OFD Sender: No OFD packet to send [02:34:38]OFD Sender: No OFD packet to send [02:34:43]OFD Sender: No OFD packet to send [02:34:48]OFD Sender: No OFD packet to send [02:34:53]OFD Sender: No OFD packet to send [02:34:58]OFD Sender: No OFD packet to send [02:35:03]OFD Sender: No OFD packet to send [02:35:08]OFD Sender: No OFD packet to send [02:35:13]OFD Sender: No OFD packet to send [02:35:18]OFD Sender: No OFD packet to send [02:35:23]OFD Sender: No OFD packet to send [02:35:28]OFD Sender: No OFD packet to send [02:35:33]OFD Sender: No OFD packet to send [02:35:38]OFD Sender: No OFD packet to send [02:35:43]OFD Sender: No OFD packet to send [02:35:48]OFD Sender: No OFD packet to send [02:35:53]OFD Sender: No OFD packet to send [02:35:58]OFD Sender: No OFD packet to send [02:36:03]OFD Sender: No OFD packet to send [02:36:08]OFD Sender: No OFD packet to send [02:36:13]OFD Sender: No OFD packet to send [02:36:18]OFD Sender: No OFD packet to send [02:36:23]OFD Sender: No OFD packet to send [02:36:28]OFD Sender: No OFD packet to send [02:36:33]OFD Sender: No OFD packet to send [02:36:38]OFD Sender: No OFD packet to send [02:36:43]OFD Sender: No OFD packet to send [02:36:48]OFD Sender: No OFD packet to send [02:36:53]OFD Sender: No OFD packet to send [02:36:58]OFD Sender: No OFD packet to send [02:37:03]OFD Sender: No OFD packet to send [02:37:08]OFD Sender: No OFD packet to send [02:37:13]OFD Sender: No OFD packet to send [02:37:18]OFD Sender: No OFD packet to send [02:37:23]OFD Sender: No OFD packet to send [02:37:28]OFD Sender: No OFD packet to send [02:37:33]OFD Sender: No OFD packet to send [02:37:38]OFD Sender: No OFD packet to send [02:37:43]OFD Sender: No OFD packet to send [02:37:48]OFD Sender: No OFD packet to send [02:37:53]OFD Sender: No OFD packet to send [02:37:58]OFD Sender: No OFD packet to send [02:38:03]OFD Sender: No OFD packet to send [02:38:08]OFD Sender: No OFD packet to send [02:38:13]OFD Sender: No OFD packet to send [02:38:18]OFD Sender: No OFD packet to send [02:38:23]OFD Sender: No OFD packet to send [02:38:28]OFD Sender: No OFD packet to send [02:38:33]OFD Sender: No OFD packet to send [02:38:38]OFD Sender: No OFD packet to send [02:38:43]OFD Sender: No OFD packet to send [02:38:48]OFD Sender: No OFD packet to send [02:38:53]OFD Sender: No OFD packet to send [02:38:58]OFD Sender: No OFD packet to send [02:39:03]OFD Sender: No OFD packet to send [02:39:08]OFD Sender: No OFD packet to send [02:39:13]OFD Sender: No OFD packet to send [02:39:18]OFD Sender: No OFD packet to send [02:39:23]OFD Sender: No OFD packet to send [02:39:28]OFD Sender: No OFD packet to send [02:39:33]OFD Sender: No OFD packet to send [02:39:38]OFD Sender: No OFD packet to send [02:39:43]OFD Sender: No OFD packet to send [02:39:48]OFD Sender: No OFD packet to send [02:39:53]OFD Sender: No OFD packet to send [02:39:58]OFD Sender: No OFD packet to send [02:40:03]OFD Sender: No OFD packet to send [02:40:08]OFD Sender: No OFD packet to send [02:40:13]OFD Sender: No OFD packet to send [02:40:18]OFD Sender: No OFD packet to send [02:40:23]OFD Sender: No OFD packet to send [02:40:28]OFD Sender: No OFD packet to send [02:40:33]OFD Sender: No OFD packet to send [02:40:38]OFD Sender: No OFD packet to send [02:40:43]OFD Sender: No OFD packet to send [02:40:48]OFD Sender: No OFD packet to send [02:40:53]OFD Sender: No OFD packet to send [02:40:58]OFD Sender: No OFD packet to send [02:41:03]OFD Sender: No OFD packet to send [02:41:08]OFD Sender: No OFD packet to send [02:41:13]OFD Sender: No OFD packet to send [02:41:18]OFD Sender: No OFD packet to send [02:41:23]OFD Sender: No OFD packet to send [02:41:28]OFD Sender: No OFD packet to send [02:41:33]OFD Sender: No OFD packet to send [02:41:38]OFD Sender: No OFD packet to send [02:41:43]OFD Sender: No OFD packet to send [02:41:48]OFD Sender: No OFD packet to send [02:41:53]OFD Sender: No OFD packet to send [02:41:58]OFD Sender: No OFD packet to send [02:42:03]OFD Sender: No OFD packet to send [02:42:08]OFD Sender: No OFD packet to send [02:42:13]OFD Sender: No OFD packet to send [02:42:18]OFD Sender: No OFD packet to send [02:42:23]OFD Sender: No OFD packet to send [02:42:28]OFD Sender: No OFD packet to send [02:42:33]OFD Sender: No OFD packet to send [02:42:38]OFD Sender: No OFD packet to send [02:42:43]OFD Sender: No OFD packet to send [02:42:48]OFD Sender: No OFD packet to send [02:42:53]OFD Sender: No OFD packet to send [02:42:58]OFD Sender: No OFD packet to send [02:43:03]OFD Sender: No OFD packet to send [02:43:08]OFD Sender: No OFD packet to send [02:43:13]OFD Sender: No OFD packet to send [02:43:18]OFD Sender: No OFD packet to send [02:43:23]OFD Sender: No OFD packet to send [02:43:28]OFD Sender: No OFD packet to send [02:43:33]OFD Sender: No OFD packet to send [02:43:38]OFD Sender: No OFD packet to send [02:43:43]OFD Sender: No OFD packet to send [02:43:48]OFD Sender: No OFD packet to send [02:43:53]OFD Sender: No OFD packet to send [02:43:58]OFD Sender: No OFD packet to send [02:44:03]OFD Sender: No OFD packet to send [02:44:08]OFD Sender: No OFD packet to send [02:44:13]OFD Sender: No OFD packet to send [02:44:18]OFD Sender: No OFD packet to send [02:44:23]OFD Sender: No OFD packet to send [02:44:28]OFD Sender: No OFD packet to send [02:44:33]OFD Sender: No OFD packet to send [02:44:38]OFD Sender: No OFD packet to send [02:44:43]OFD Sender: No OFD packet to send [02:44:48]OFD Sender: No OFD packet to send [02:44:53]OFD Sender: No OFD packet to send [02:44:58]OFD Sender: No OFD packet to send [02:45:03]OFD Sender: No OFD packet to send [02:45:08]OFD Sender: No OFD packet to send [02:45:13]OFD Sender: No OFD packet to send [02:45:18]OFD Sender: No OFD packet to send [02:45:23]OFD Sender: No OFD packet to send [02:45:28]OFD Sender: No OFD packet to send [02:45:33]OFD Sender: No OFD packet to send [02:45:38]OFD Sender: No OFD packet to send [02:45:43]OFD Sender: No OFD packet to send [02:45:48]OFD Sender: No OFD packet to send [02:45:53]OFD Sender: No OFD packet to send [02:45:58]OFD Sender: No OFD packet to send [02:46:03]OFD Sender: No OFD packet to send [02:46:08]OFD Sender: No OFD packet to send [02:46:13]OFD Sender: No OFD packet to send [02:46:18]OFD Sender: No OFD packet to send [02:46:23]OFD Sender: No OFD packet to send [02:46:28]OFD Sender: No OFD packet to send [02:46:33]OFD Sender: No OFD packet to send [02:46:38]OFD Sender: No OFD packet to send [02:46:43]OFD Sender: No OFD packet to send [02:46:48]OFD Sender: No OFD packet to send [02:46:53]OFD Sender: No OFD packet to send [02:46:58]OFD Sender: No OFD packet to send [02:47:03]OFD Sender: No OFD packet to send [02:47:08]OFD Sender: No OFD packet to send [02:47:13]OFD Sender: No OFD packet to send [02:47:18]OFD Sender: No OFD packet to send [02:47:23]OFD Sender: No OFD packet to send [02:47:28]OFD Sender: No OFD packet to send [02:47:33]OFD Sender: No OFD packet to send [02:47:38]OFD Sender: No OFD packet to send [02:47:43]OFD Sender: No OFD packet to send [02:47:48]OFD Sender: No OFD packet to send [02:47:53]OFD Sender: No OFD packet to send [02:47:58]OFD Sender: No OFD packet to send [02:48:03]OFD Sender: No OFD packet to send [02:48:08]OFD Sender: No OFD packet to send [02:48:13]OFD Sender: No OFD packet to send [02:48:18]OFD Sender: No OFD packet to send [02:48:23]OFD Sender: No OFD packet to send [02:48:28]OFD Sender: No OFD packet to send [02:48:33]OFD Sender: No OFD packet to send [02:48:38]OFD Sender: No OFD packet to send [02:48:43]OFD Sender: No OFD packet to send [02:48:48]OFD Sender: No OFD packet to send [02:48:53]OFD Sender: No OFD packet to send [02:48:58]OFD Sender: No OFD packet to send [02:49:03]OFD Sender: No OFD packet to send [02:49:08]OFD Sender: No OFD packet to send [02:49:13]OFD Sender: No OFD packet to send [02:49:18]OFD Sender: No OFD packet to send [02:49:23]OFD Sender: No OFD packet to send [02:49:28]OFD Sender: No OFD packet to send [02:49:33]OFD Sender: No OFD packet to send [02:49:38]OFD Sender: No OFD packet to send [02:49:43]OFD Sender: No OFD packet to send [02:49:48]OFD Sender: No OFD packet to send [02:49:53]OFD Sender: No OFD packet to send [02:49:58]OFD Sender: No OFD packet to send [02:50:03]OFD Sender: No OFD packet to send [02:50:08]OFD Sender: No OFD packet to send [02:50:13]OFD Sender: No OFD packet to send [02:50:18]OFD Sender: No OFD packet to send [02:50:23]OFD Sender: No OFD packet to send [02:50:28]OFD Sender: No OFD packet to send [02:50:33]OFD Sender: No OFD packet to send [02:50:38]OFD Sender: No OFD packet to send [02:50:43]OFD Sender: No OFD packet to send [02:50:48]OFD Sender: No OFD packet to send [02:50:53]OFD Sender: No OFD packet to send [02:50:58]OFD Sender: No OFD packet to send [02:51:03]OFD Sender: No OFD packet to send [02:51:08]OFD Sender: No OFD packet to send [02:51:13]OFD Sender: No OFD packet to send [02:51:18]OFD Sender: No OFD packet to send [02:51:23]OFD Sender: No OFD packet to send [02:51:28]OFD Sender: No OFD packet to send [02:51:33]OFD Sender: No OFD packet to send [02:51:38]OFD Sender: No OFD packet to send [02:51:43]OFD Sender: No OFD packet to send [02:51:48]OFD Sender: No OFD packet to send [02:51:53]OFD Sender: No OFD packet to send [02:51:58]OFD Sender: No OFD packet to send [02:52:03]OFD Sender: No OFD packet to send [02:52:08]OFD Sender: No OFD packet to send [02:52:13]OFD Sender: No OFD packet to send [02:52:18]OFD Sender: No OFD packet to send [02:52:23]OFD Sender: No OFD packet to send [02:52:28]OFD Sender: No OFD packet to send [02:52:33]OFD Sender: No OFD packet to send [02:52:38]OFD Sender: No OFD packet to send [02:52:43]OFD Sender: No OFD packet to send [02:52:48]OFD Sender: No OFD packet to send [02:52:53]OFD Sender: No OFD packet to send [02:52:58]OFD Sender: No OFD packet to send [02:53:03]OFD Sender: No OFD packet to send [02:53:08]OFD Sender: No OFD packet to send [02:53:13]OFD Sender: No OFD packet to send [02:53:18]OFD Sender: No OFD packet to send [02:53:23]OFD Sender: No OFD packet to send [02:53:28]OFD Sender: No OFD packet to send [02:53:33]OFD Sender: No OFD packet to send [02:53:38]OFD Sender: No OFD packet to send [02:53:43]OFD Sender: No OFD packet to send [02:53:48]OFD Sender: No OFD packet to send [02:53:53]OFD Sender: No OFD packet to send [02:53:58]OFD Sender: No OFD packet to send [02:54:03]OFD Sender: No OFD packet to send [02:54:08]OFD Sender: No OFD packet to send [02:54:13]OFD Sender: No OFD packet to send [02:54:18]OFD Sender: No OFD packet to send [02:54:23]OFD Sender: No OFD packet to send [02:54:28]OFD Sender: No OFD packet to send [02:54:33]OFD Sender: No OFD packet to send [02:54:38]OFD Sender: No OFD packet to send [02:54:43]OFD Sender: No OFD packet to send [02:54:48]OFD Sender: No OFD packet to send [02:54:53]OFD Sender: No OFD packet to send [02:54:58]OFD Sender: No OFD packet to send [02:55:03]OFD Sender: No OFD packet to send [02:55:08]OFD Sender: No OFD packet to send [02:55:13]OFD Sender: No OFD packet to send [02:55:18]OFD Sender: No OFD packet to send [02:55:23]OFD Sender: No OFD packet to send [02:55:28]OFD Sender: No OFD packet to send [02:55:33]OFD Sender: No OFD packet to send [02:55:38]OFD Sender: No OFD packet to send [02:55:43]OFD Sender: No OFD packet to send [02:55:48]OFD Sender: No OFD packet to send [02:55:53]OFD Sender: No OFD packet to send [02:55:58]OFD Sender: No OFD packet to send [02:56:03]OFD Sender: No OFD packet to send [02:56:09]OFD Sender: No OFD packet to send [02:56:14]OFD Sender: No OFD packet to send [02:56:19]OFD Sender: No OFD packet to send [02:56:24]OFD Sender: No OFD packet to send [02:56:29]OFD Sender: No OFD packet to send [02:56:34]OFD Sender: No OFD packet to send [02:56:39]OFD Sender: No OFD packet to send [02:56:44]OFD Sender: No OFD packet to send [02:56:49]OFD Sender: No OFD packet to send [02:56:54]OFD Sender: No OFD packet to send [02:56:59]OFD Sender: No OFD packet to send [02:57:04]OFD Sender: No OFD packet to send [02:57:09]OFD Sender: No OFD packet to send [02:57:14]OFD Sender: No OFD packet to send [02:57:19]OFD Sender: No OFD packet to send [02:57:24]OFD Sender: No OFD packet to send [02:57:29]OFD Sender: No OFD packet to send [02:57:34]OFD Sender: No OFD packet to send [02:57:39]OFD Sender: No OFD packet to send [02:57:44]OFD Sender: No OFD packet to send [02:57:49]OFD Sender: No OFD packet to send [02:57:54]OFD Sender: No OFD packet to send [02:57:59]OFD Sender: No OFD packet to send [02:58:04]OFD Sender: No OFD packet to send [02:58:09]OFD Sender: No OFD packet to send [02:58:14]OFD Sender: No OFD packet to send [02:58:19]OFD Sender: No OFD packet to send [02:58:24]OFD Sender: No OFD packet to send [02:58:29]OFD Sender: No OFD packet to send [02:58:34]OFD Sender: No OFD packet to send [02:58:39]OFD Sender: No OFD packet to send [02:58:44]OFD Sender: No OFD packet to send [02:58:49]OFD Sender: No OFD packet to send [02:58:54]OFD Sender: No OFD packet to send [02:58:59]OFD Sender: No OFD packet to send [02:59:04]OFD Sender: No OFD packet to send [02:59:09]OFD Sender: No OFD packet to send [02:59:14]OFD Sender: No OFD packet to send [02:59:19]OFD Sender: No OFD packet to send [02:59:24]OFD Sender: No OFD packet to send [02:59:29]OFD Sender: No OFD packet to send [02:59:34]OFD Sender: No OFD packet to send [02:59:39]OFD Sender: No OFD packet to send [02:59:44]OFD Sender: No OFD packet to send [02:59:49]OFD Sender: No OFD packet to send [02:59:54]OFD Sender: No OFD packet to send [02:59:59]OFD Sender: No OFD packet to send [03:00:04]OFD Sender: No OFD packet to send [03:00:09]OFD Sender: No OFD packet to send [03:00:14]OFD Sender: No OFD packet to send [03:00:19]OFD Sender: No OFD packet to send [03:00:24]OFD Sender: No OFD packet to send [03:00:29]OFD Sender: No OFD packet to send [03:00:34]OFD Sender: No OFD packet to send [03:00:39]OFD Sender: No OFD packet to send [03:00:44]OFD Sender: No OFD packet to send [03:00:49]OFD Sender: No OFD packet to send [03:00:54]OFD Sender: No OFD packet to send [03:00:59]OFD Sender: No OFD packet to send [03:01:04]OFD Sender: No OFD packet to send [03:01:09]OFD Sender: No OFD packet to send [03:01:14]OFD Sender: No OFD packet to send [03:01:19]OFD Sender: No OFD packet to send [03:01:24]OFD Sender: No OFD packet to send [03:01:29]OFD Sender: No OFD packet to send [03:01:34]OFD Sender: No OFD packet to send [03:01:39]OFD Sender: No OFD packet to send [03:01:44]OFD Sender: No OFD packet to send [03:01:49]OFD Sender: No OFD packet to send [03:01:54]OFD Sender: No OFD packet to send [03:01:59]OFD Sender: No OFD packet to send [03:02:04]OFD Sender: No OFD packet to send [03:02:09]OFD Sender: No OFD packet to send [03:02:14]OFD Sender: No OFD packet to send [03:02:19]OFD Sender: No OFD packet to send [03:02:24]OFD Sender: No OFD packet to send [03:02:29]OFD Sender: No OFD packet to send [03:02:34]OFD Sender: No OFD packet to send [03:02:39]OFD Sender: No OFD packet to send [03:02:44]OFD Sender: No OFD packet to send [03:02:49]OFD Sender: No OFD packet to send [03:02:54]OFD Sender: No OFD packet to send [03:02:59]OFD Sender: No OFD packet to send [03:03:04]OFD Sender: No OFD packet to send [03:03:09]OFD Sender: No OFD packet to send [03:03:14]OFD Sender: No OFD packet to send [03:03:19]OFD Sender: No OFD packet to send [03:03:24]OFD Sender: No OFD packet to send [03:03:29]OFD Sender: No OFD packet to send [03:03:34]OFD Sender: No OFD packet to send [03:03:39]OFD Sender: No OFD packet to send [03:03:44]OFD Sender: No OFD packet to send [03:03:49]OFD Sender: No OFD packet to send [03:03:54]OFD Sender: No OFD packet to send [03:03:59]OFD Sender: No OFD packet to send [03:04:04]OFD Sender: No OFD packet to send [03:04:09]OFD Sender: No OFD packet to send [03:04:14]OFD Sender: No OFD packet to send [03:04:19]OFD Sender: No OFD packet to send [03:04:24]OFD Sender: No OFD packet to send [03:04:29]OFD Sender: No OFD packet to send [03:04:34]OFD Sender: No OFD packet to send [03:04:39]OFD Sender: No OFD packet to send [03:04:44]OFD Sender: No OFD packet to send [03:04:49]OFD Sender: No OFD packet to send [03:04:54]OFD Sender: No OFD packet to send [03:04:59]OFD Sender: No OFD packet to send [03:05:04]OFD Sender: No OFD packet to send [03:05:09]OFD Sender: No OFD packet to send [03:05:14]OFD Sender: No OFD packet to send [03:05:19]OFD Sender: No OFD packet to send [03:05:24]OFD Sender: No OFD packet to send [03:05:29]OFD Sender: No OFD packet to send [03:05:34]OFD Sender: No OFD packet to send [03:05:39]OFD Sender: No OFD packet to send [03:05:44]OFD Sender: No OFD packet to send [03:05:49]OFD Sender: No OFD packet to send [03:05:54]OFD Sender: No OFD packet to send [03:05:59]OFD Sender: No OFD packet to send [03:06:04]OFD Sender: No OFD packet to send [03:06:09]OFD Sender: No OFD packet to send [03:06:14]OFD Sender: No OFD packet to send [03:06:19]OFD Sender: No OFD packet to send [03:06:24]OFD Sender: No OFD packet to send [03:06:29]OFD Sender: No OFD packet to send [03:06:34]OFD Sender: No OFD packet to send [03:06:39]OFD Sender: No OFD packet to send [03:06:44]OFD Sender: No OFD packet to send [03:06:49]OFD Sender: No OFD packet to send [03:06:54]OFD Sender: No OFD packet to send [03:06:59]OFD Sender: No OFD packet to send [03:07:04]OFD Sender: No OFD packet to send [03:07:09]OFD Sender: No OFD packet to send [03:07:14]OFD Sender: No OFD packet to send [03:07:19]OFD Sender: No OFD packet to send [03:07:24]OFD Sender: No OFD packet to send [03:07:29]OFD Sender: No OFD packet to send [03:07:34]OFD Sender: No OFD packet to send [03:07:39]OFD Sender: No OFD packet to send [03:07:44]OFD Sender: No OFD packet to send [03:07:49]OFD Sender: No OFD packet to send [03:07:54]OFD Sender: No OFD packet to send [03:07:59]OFD Sender: No OFD packet to send [03:08:04]OFD Sender: No OFD packet to send [03:08:09]OFD Sender: No OFD packet to send [03:08:14]OFD Sender: No OFD packet to send [03:08:19]OFD Sender: No OFD packet to send [03:08:24]OFD Sender: No OFD packet to send [03:08:29]OFD Sender: No OFD packet to send [03:08:34]OFD Sender: No OFD packet to send [03:08:39]OFD Sender: No OFD packet to send [03:08:44]OFD Sender: No OFD packet to send [03:08:49]OFD Sender: No OFD packet to send [03:08:54]OFD Sender: No OFD packet to send [03:08:59]OFD Sender: No OFD packet to send [03:09:04]OFD Sender: No OFD packet to send [03:09:09]OFD Sender: No OFD packet to send [03:09:14]OFD Sender: No OFD packet to send [03:09:19]OFD Sender: No OFD packet to send [03:09:24]OFD Sender: No OFD packet to send [03:09:29]OFD Sender: No OFD packet to send [03:09:34]OFD Sender: No OFD packet to send [03:09:39]OFD Sender: No OFD packet to send [03:09:44]OFD Sender: No OFD packet to send [03:09:49]OFD Sender: No OFD packet to send [03:09:54]OFD Sender: No OFD packet to send [03:09:59]OFD Sender: No OFD packet to send [03:10:04]OFD Sender: No OFD packet to send [03:10:09]OFD Sender: No OFD packet to send [03:10:14]OFD Sender: No OFD packet to send [03:10:19]OFD Sender: No OFD packet to send [03:10:24]OFD Sender: No OFD packet to send [03:10:29]OFD Sender: No OFD packet to send [03:10:34]OFD Sender: No OFD packet to send [03:10:39]OFD Sender: No OFD packet to send [03:10:44]OFD Sender: No OFD packet to send [03:10:49]OFD Sender: No OFD packet to send [03:10:54]OFD Sender: No OFD packet to send [03:10:59]OFD Sender: No OFD packet to send [03:11:04]OFD Sender: No OFD packet to send [03:11:09]OFD Sender: No OFD packet to send [03:11:14]OFD Sender: No OFD packet to send [03:11:19]OFD Sender: No OFD packet to send [03:11:24]OFD Sender: No OFD packet to send [03:11:29]OFD Sender: No OFD packet to send [03:11:34]OFD Sender: No OFD packet to send [03:11:39]OFD Sender: No OFD packet to send [03:11:44]OFD Sender: No OFD packet to send [03:11:49]OFD Sender: No OFD packet to send [03:11:54]OFD Sender: No OFD packet to send [03:11:59]OFD Sender: No OFD packet to send [03:12:04]OFD Sender: No OFD packet to send [03:12:09]OFD Sender: No OFD packet to send [03:12:14]OFD Sender: No OFD packet to send [03:12:19]OFD Sender: No OFD packet to send [03:12:24]OFD Sender: No OFD packet to send [03:12:29]OFD Sender: No OFD packet to send [03:12:34]OFD Sender: No OFD packet to send [03:12:39]OFD Sender: No OFD packet to send [03:12:44]OFD Sender: No OFD packet to send [03:12:49]OFD Sender: No OFD packet to send [03:12:54]OFD Sender: No OFD packet to send [03:12:59]OFD Sender: No OFD packet to send [03:13:04]OFD Sender: No OFD packet to send [03:13:09]OFD Sender: No OFD packet to send [03:13:14]OFD Sender: No OFD packet to send