[03:14:32]OFD Sender: No OFD packet to send [03:14:37]OFD Sender: No OFD packet to send [03:14:42]OFD Sender: No OFD packet to send [03:14:47]OFD Sender: No OFD packet to send [03:14:52]OFD Sender: No OFD packet to send [03:14:57]OFD Sender: No OFD packet to send [03:15:02]OFD Sender: No OFD packet to send [03:15:07]OFD Sender: No OFD packet to send [03:15:12]OFD Sender: No OFD packet to send [03:15:17]OFD Sender: No OFD packet to send [03:15:22]OFD Sender: No OFD packet to send [03:15:27]OFD Sender: No OFD packet to send [03:15:32]OFD Sender: No OFD packet to send [03:15:37]OFD Sender: No OFD packet to send [03:15:42]OFD Sender: No OFD packet to send [03:15:47]OFD Sender: No OFD packet to send [03:15:52]OFD Sender: No OFD packet to send [03:15:57]OFD Sender: No OFD packet to send [03:16:02]OFD Sender: No OFD packet to send [03:16:07]OFD Sender: No OFD packet to send [03:16:12]OFD Sender: No OFD packet to send [03:16:17]OFD Sender: No OFD packet to send [03:16:22]OFD Sender: No OFD packet to send [03:16:27]OFD Sender: No OFD packet to send [03:16:32]OFD Sender: No OFD packet to send [03:16:37]OFD Sender: No OFD packet to send [03:16:42]OFD Sender: No OFD packet to send [03:16:47]OFD Sender: No OFD packet to send [03:16:52]OFD Sender: No OFD packet to send [03:16:57]OFD Sender: No OFD packet to send [03:17:02]OFD Sender: No OFD packet to send [03:17:07]OFD Sender: No OFD packet to send [03:17:12]OFD Sender: No OFD packet to send [03:17:17]OFD Sender: No OFD packet to send [03:17:22]OFD Sender: No OFD packet to send [03:17:27]OFD Sender: No OFD packet to send [03:17:32]OFD Sender: No OFD packet to send [03:17:37]OFD Sender: No OFD packet to send [03:17:42]OFD Sender: No OFD packet to send [03:17:47]OFD Sender: No OFD packet to send [03:17:52]OFD Sender: No OFD packet to send [03:17:57]OFD Sender: No OFD packet to send [03:18:02]OFD Sender: No OFD packet to send [03:18:07]OFD Sender: No OFD packet to send [03:18:12]OFD Sender: No OFD packet to send [03:18:17]OFD Sender: No OFD packet to send [03:18:22]OFD Sender: No OFD packet to send [03:18:27]OFD Sender: No OFD packet to send [03:18:32]OFD Sender: No OFD packet to send [03:18:37]OFD Sender: No OFD packet to send [03:18:42]OFD Sender: No OFD packet to send [03:18:47]OFD Sender: No OFD packet to send [03:18:52]OFD Sender: No OFD packet to send [03:18:57]OFD Sender: No OFD packet to send [03:19:02]OFD Sender: No OFD packet to send [03:19:07]OFD Sender: No OFD packet to send [03:19:12]OFD Sender: No OFD packet to send [03:19:17]OFD Sender: No OFD packet to send [03:19:22]OFD Sender: No OFD packet to send [03:19:27]OFD Sender: No OFD packet to send [03:19:32]OFD Sender: No OFD packet to send [03:19:37]OFD Sender: No OFD packet to send [03:19:42]OFD Sender: No OFD packet to send [03:19:47]OFD Sender: No OFD packet to send [03:19:52]OFD Sender: No OFD packet to send [03:19:57]OFD Sender: No OFD packet to send [03:20:02]OFD Sender: No OFD packet to send [03:20:07]OFD Sender: No OFD packet to send [03:20:12]OFD Sender: No OFD packet to send [03:20:17]OFD Sender: No OFD packet to send [03:20:22]OFD Sender: No OFD packet to send [03:20:27]OFD Sender: No OFD packet to send [03:20:32]OFD Sender: No OFD packet to send [03:20:37]OFD Sender: No OFD packet to send [03:20:42]OFD Sender: No OFD packet to send [03:20:47]OFD Sender: No OFD packet to send [03:20:52]OFD Sender: No OFD packet to send [03:20:57]OFD Sender: No OFD packet to send [03:21:02]OFD Sender: No OFD packet to send [03:21:07]OFD Sender: No OFD packet to send [03:21:12]OFD Sender: No OFD packet to send [03:21:17]OFD Sender: No OFD packet to send [03:21:22]OFD Sender: No OFD packet to send [03:21:27]OFD Sender: No OFD packet to send [03:21:32]OFD Sender: No OFD packet to send [03:21:37]OFD Sender: No OFD packet to send [03:21:42]OFD Sender: No OFD packet to send [03:21:47]OFD Sender: No OFD packet to send [03:21:52]OFD Sender: No OFD packet to send [03:21:57]OFD Sender: No OFD packet to send [03:22:02]OFD Sender: No OFD packet to send [03:22:07]OFD Sender: No OFD packet to send [03:22:12]OFD Sender: No OFD packet to send [03:22:17]OFD Sender: No OFD packet to send [03:22:22]OFD Sender: No OFD packet to send [03:22:27]OFD Sender: No OFD packet to send [03:22:32]OFD Sender: No OFD packet to send [03:22:37]OFD Sender: No OFD packet to send [03:22:42]OFD Sender: No OFD packet to send [03:22:47]OFD Sender: No OFD packet to send [03:22:52]OFD Sender: No OFD packet to send [03:22:57]OFD Sender: No OFD packet to send [03:23:02]OFD Sender: No OFD packet to send [03:23:07]OFD Sender: No OFD packet to send [03:23:12]OFD Sender: No OFD packet to send [03:23:17]OFD Sender: No OFD packet to send [03:23:22]OFD Sender: No OFD packet to send [03:23:27]OFD Sender: No OFD packet to send [03:23:32]OFD Sender: No OFD packet to send [03:23:37]OFD Sender: No OFD packet to send [03:23:42]OFD Sender: No OFD packet to send [03:23:47]OFD Sender: No OFD packet to send [03:23:52]OFD Sender: No OFD packet to send [03:23:57]OFD Sender: No OFD packet to send [03:24:02]OFD Sender: No OFD packet to send [03:24:07]OFD Sender: No OFD packet to send [03:24:12]OFD Sender: No OFD packet to send [03:24:17]OFD Sender: No OFD packet to send [03:24:22]OFD Sender: No OFD packet to send [03:24:27]OFD Sender: No OFD packet to send [03:24:32]OFD Sender: No OFD packet to send [03:24:37]OFD Sender: No OFD packet to send [03:24:42]OFD Sender: No OFD packet to send [03:24:47]OFD Sender: No OFD packet to send [03:24:52]OFD Sender: No OFD packet to send [03:24:57]OFD Sender: No OFD packet to send [03:25:02]OFD Sender: No OFD packet to send [03:25:07]OFD Sender: No OFD packet to send [03:25:12]OFD Sender: No OFD packet to send [03:25:17]OFD Sender: No OFD packet to send [03:25:22]OFD Sender: No OFD packet to send [03:25:27]OFD Sender: No OFD packet to send [03:25:32]OFD Sender: No OFD packet to send [03:25:37]OFD Sender: No OFD packet to send [03:25:42]OFD Sender: No OFD packet to send [03:25:47]OFD Sender: No OFD packet to send [03:25:52]OFD Sender: No OFD packet to send [03:25:57]OFD Sender: No OFD packet to send [03:26:02]OFD Sender: No OFD packet to send [03:26:07]OFD Sender: No OFD packet to send [03:26:12]OFD Sender: No OFD packet to send [03:26:17]OFD Sender: No OFD packet to send [03:26:22]OFD Sender: No OFD packet to send [03:26:27]OFD Sender: No OFD packet to send [03:26:32]OFD Sender: No OFD packet to send [03:26:37]OFD Sender: No OFD packet to send [03:26:42]OFD Sender: No OFD packet to send [03:26:47]OFD Sender: No OFD packet to send [03:26:52]OFD Sender: No OFD packet to send [03:26:57]OFD Sender: No OFD packet to send [03:27:02]OFD Sender: No OFD packet to send [03:27:07]OFD Sender: No OFD packet to send [03:27:12]OFD Sender: No OFD packet to send [03:27:17]OFD Sender: No OFD packet to send [03:27:22]OFD Sender: No OFD packet to send [03:27:27]OFD Sender: No OFD packet to send [03:27:32]OFD Sender: No OFD packet to send [03:27:37]OFD Sender: No OFD packet to send [03:27:42]OFD Sender: No OFD packet to send [03:27:47]OFD Sender: No OFD packet to send [03:27:52]OFD Sender: No OFD packet to send [03:27:57]OFD Sender: No OFD packet to send [03:28:02]OFD Sender: No OFD packet to send [03:28:07]OFD Sender: No OFD packet to send [03:28:12]OFD Sender: No OFD packet to send [03:28:17]OFD Sender: No OFD packet to send [03:28:22]OFD Sender: No OFD packet to send [03:28:27]OFD Sender: No OFD packet to send [03:28:32]OFD Sender: No OFD packet to send [03:28:37]OFD Sender: No OFD packet to send [03:28:42]OFD Sender: No OFD packet to send [03:28:47]OFD Sender: No OFD packet to send [03:28:52]OFD Sender: No OFD packet to send [03:28:57]OFD Sender: No OFD packet to send [03:29:02]OFD Sender: No OFD packet to send [03:29:07]OFD Sender: No OFD packet to send [03:29:12]OFD Sender: No OFD packet to send [03:29:17]OFD Sender: No OFD packet to send [03:29:22]OFD Sender: No OFD packet to send [03:29:27]OFD Sender: No OFD packet to send [03:29:32]OFD Sender: No OFD packet to send [03:29:37]OFD Sender: No OFD packet to send [03:29:42]OFD Sender: No OFD packet to send [03:29:47]OFD Sender: No OFD packet to send [03:29:52]OFD Sender: No OFD packet to send [03:29:57]OFD Sender: No OFD packet to send [03:30:02]OFD Sender: No OFD packet to send [03:30:07]OFD Sender: No OFD packet to send [03:30:12]OFD Sender: No OFD packet to send [03:30:17]OFD Sender: No OFD packet to send [03:30:22]OFD Sender: No OFD packet to send [03:30:27]OFD Sender: No OFD packet to send [03:30:32]OFD Sender: No OFD packet to send [03:30:37]OFD Sender: No OFD packet to send [03:30:42]OFD Sender: No OFD packet to send [03:30:47]OFD Sender: No OFD packet to send [03:30:52]OFD Sender: No OFD packet to send [03:30:58]OFD Sender: No OFD packet to send [03:31:03]OFD Sender: No OFD packet to send [03:31:08]OFD Sender: No OFD packet to send [03:31:13]OFD Sender: No OFD packet to send [03:31:18]OFD Sender: No OFD packet to send [03:31:23]OFD Sender: No OFD packet to send [03:31:28]OFD Sender: No OFD packet to send [03:31:33]OFD Sender: No OFD packet to send [03:31:38]OFD Sender: No OFD packet to send [03:31:43]OFD Sender: No OFD packet to send [03:31:48]OFD Sender: No OFD packet to send [03:31:53]OFD Sender: No OFD packet to send [03:31:58]OFD Sender: No OFD packet to send [03:32:03]OFD Sender: No OFD packet to send [03:32:08]OFD Sender: No OFD packet to send [03:32:13]OFD Sender: No OFD packet to send [03:32:18]OFD Sender: No OFD packet to send [03:32:23]OFD Sender: No OFD packet to send [03:32:28]OFD Sender: No OFD packet to send [03:32:33]OFD Sender: No OFD packet to send [03:32:38]OFD Sender: No OFD packet to send [03:32:43]OFD Sender: No OFD packet to send [03:32:48]OFD Sender: No OFD packet to send [03:32:53]OFD Sender: No OFD packet to send [03:32:58]OFD Sender: No OFD packet to send [03:33:03]OFD Sender: No OFD packet to send [03:33:08]OFD Sender: No OFD packet to send [03:33:13]OFD Sender: No OFD packet to send [03:33:18]OFD Sender: No OFD packet to send [03:33:23]OFD Sender: No OFD packet to send [03:33:28]OFD Sender: No OFD packet to send [03:33:33]OFD Sender: No OFD packet to send [03:33:38]OFD Sender: No OFD packet to send [03:33:43]OFD Sender: No OFD packet to send [03:33:48]OFD Sender: No OFD packet to send [03:33:53]OFD Sender: No OFD packet to send [03:33:58]OFD Sender: No OFD packet to send [03:34:03]OFD Sender: No OFD packet to send [03:34:08]OFD Sender: No OFD packet to send [03:34:13]OFD Sender: No OFD packet to send [03:34:18]OFD Sender: No OFD packet to send [03:34:23]OFD Sender: No OFD packet to send [03:34:28]OFD Sender: No OFD packet to send [03:34:33]OFD Sender: No OFD packet to send [03:34:38]OFD Sender: No OFD packet to send [03:34:43]OFD Sender: No OFD packet to send [03:34:48]OFD Sender: No OFD packet to send [03:34:53]OFD Sender: No OFD packet to send [03:34:58]OFD Sender: No OFD packet to send [03:35:03]OFD Sender: No OFD packet to send [03:35:08]OFD Sender: No OFD packet to send [03:35:13]OFD Sender: No OFD packet to send [03:35:18]OFD Sender: No OFD packet to send [03:35:23]OFD Sender: No OFD packet to send [03:35:28]OFD Sender: No OFD packet to send [03:35:33]OFD Sender: No OFD packet to send [03:35:38]OFD Sender: No OFD packet to send [03:35:43]OFD Sender: No OFD packet to send [03:35:48]OFD Sender: No OFD packet to send [03:35:53]OFD Sender: No OFD packet to send [03:35:58]OFD Sender: No OFD packet to send [03:36:03]OFD Sender: No OFD packet to send [03:36:08]OFD Sender: No OFD packet to send [03:36:13]OFD Sender: No OFD packet to send [03:36:18]OFD Sender: No OFD packet to send [03:36:23]OFD Sender: No OFD packet to send [03:36:28]OFD Sender: No OFD packet to send [03:36:33]OFD Sender: No OFD packet to send [03:36:38]OFD Sender: No OFD packet to send [03:36:43]OFD Sender: No OFD packet to send [03:36:48]OFD Sender: No OFD packet to send [03:36:53]OFD Sender: No OFD packet to send [03:36:58]OFD Sender: No OFD packet to send [03:37:03]OFD Sender: No OFD packet to send [03:37:08]OFD Sender: No OFD packet to send [03:37:13]OFD Sender: No OFD packet to send [03:37:18]OFD Sender: No OFD packet to send [03:37:23]OFD Sender: No OFD packet to send [03:37:28]OFD Sender: No OFD packet to send [03:37:33]OFD Sender: No OFD packet to send [03:37:38]OFD Sender: No OFD packet to send [03:37:43]OFD Sender: No OFD packet to send [03:37:48]OFD Sender: No OFD packet to send [03:37:53]OFD Sender: No OFD packet to send [03:37:58]OFD Sender: No OFD packet to send [03:38:03]OFD Sender: No OFD packet to send [03:38:08]OFD Sender: No OFD packet to send [03:38:13]OFD Sender: No OFD packet to send [03:38:18]OFD Sender: No OFD packet to send [03:38:23]OFD Sender: No OFD packet to send [03:38:28]OFD Sender: No OFD packet to send [03:38:33]OFD Sender: No OFD packet to send [03:38:38]OFD Sender: No OFD packet to send [03:38:43]OFD Sender: No OFD packet to send [03:38:48]OFD Sender: No OFD packet to send [03:38:53]OFD Sender: No OFD packet to send [03:38:58]OFD Sender: No OFD packet to send [03:39:03]OFD Sender: No OFD packet to send [03:39:08]OFD Sender: No OFD packet to send [03:39:13]OFD Sender: No OFD packet to send [03:39:18]OFD Sender: No OFD packet to send [03:39:23]OFD Sender: No OFD packet to send [03:39:28]OFD Sender: No OFD packet to send [03:39:33]OFD Sender: No OFD packet to send [03:39:38]OFD Sender: No OFD packet to send [03:39:43]OFD Sender: No OFD packet to send [03:39:48]OFD Sender: No OFD packet to send [03:39:53]OFD Sender: No OFD packet to send [03:39:58]OFD Sender: No OFD packet to send [03:40:03]OFD Sender: No OFD packet to send [03:40:08]OFD Sender: No OFD packet to send [03:40:13]OFD Sender: No OFD packet to send [03:40:18]OFD Sender: No OFD packet to send [03:40:23]OFD Sender: No OFD packet to send [03:40:28]OFD Sender: No OFD packet to send [03:40:33]OFD Sender: No OFD packet to send [03:40:38]OFD Sender: No OFD packet to send [03:40:43]OFD Sender: No OFD packet to send [03:40:48]OFD Sender: No OFD packet to send [03:40:53]OFD Sender: No OFD packet to send [03:40:58]OFD Sender: No OFD packet to send [03:41:03]OFD Sender: No OFD packet to send [03:41:08]OFD Sender: No OFD packet to send [03:41:13]OFD Sender: No OFD packet to send [03:41:18]OFD Sender: No OFD packet to send [03:41:23]OFD Sender: No OFD packet to send [03:41:28]OFD Sender: No OFD packet to send [03:41:33]OFD Sender: No OFD packet to send [03:41:38]OFD Sender: No OFD packet to send [03:41:43]OFD Sender: No OFD packet to send [03:41:48]OFD Sender: No OFD packet to send [03:41:53]OFD Sender: No OFD packet to send [03:41:58]OFD Sender: No OFD packet to send [03:42:03]OFD Sender: No OFD packet to send [03:42:08]OFD Sender: No OFD packet to send [03:42:13]OFD Sender: No OFD packet to send [03:42:18]OFD Sender: No OFD packet to send [03:42:23]OFD Sender: No OFD packet to send [03:42:28]OFD Sender: No OFD packet to send [03:42:33]OFD Sender: No OFD packet to send [03:42:38]OFD Sender: No OFD packet to send [03:42:43]OFD Sender: No OFD packet to send [03:42:48]OFD Sender: No OFD packet to send [03:42:53]OFD Sender: No OFD packet to send [03:42:58]OFD Sender: No OFD packet to send [03:43:03]OFD Sender: No OFD packet to send [03:43:08]OFD Sender: No OFD packet to send [03:43:13]OFD Sender: No OFD packet to send [03:43:18]OFD Sender: No OFD packet to send [03:43:23]OFD Sender: No OFD packet to send [03:43:28]OFD Sender: No OFD packet to send [03:43:33]OFD Sender: No OFD packet to send [03:43:38]OFD Sender: No OFD packet to send [03:43:43]OFD Sender: No OFD packet to send [03:43:48]OFD Sender: No OFD packet to send [03:43:53]OFD Sender: No OFD packet to send [03:43:58]OFD Sender: No OFD packet to send [03:44:03]OFD Sender: No OFD packet to send [03:44:08]OFD Sender: No OFD packet to send [03:44:13]OFD Sender: No OFD packet to send [03:44:18]OFD Sender: No OFD packet to send [03:44:23]OFD Sender: No OFD packet to send [03:44:28]OFD Sender: No OFD packet to send [03:44:30]accept exits with 8 [03:44:30]New connection [03:44:30]New thread 3067075940 created [03:44:30]Thread 3066932580 joined [03:44:30]Waiting for new connection... [03:44:30] Sock 8.Parse request [03:44:30]Sock 8.Check first char [03:44:30]Sock 8.First char is OK [03:44:30]request: POST /json_proto HTTP/1.0 [03:44:30]Method: POST [03:44:30]URL: /json_proto [03:44:30]Method is POST - this is cgi request [03:44:30]url: /json_proto [03:44:30]query_string will be loaded in cgi processing [03:44:30]execute_cgi json_proto POST (null) [03:44:30]execute_cgi path=json_proto method=POST [03:44:30]POST find Content-Length [03:44:30]Host: 172.17.61.6:8080 [03:44:30]Content-Length: 645 [03:44:30]Content-Type: application/json [03:44:30] [03:44:30]POST finish read [03:44:30]Found Content-Length = 645 [03:44:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58551", "tax_sys" : 0, "items" : [ { "code": "4607161615386", "name": "\u041B\u0443\u043A\u043E\u0439\u043B \u0421\u0443\u043F\u0435\u0440 10W40 SG/CD 1\u043B.", "price" : 405.00, "quantity" : 2.000, "sum" : 810.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 810.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:44:30]execute_script... [03:44:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58551", "tax_sys" : 0, "items" : [ { "code": "4607161615386", "name": "\u041B\u0443\u043A\u043E\u0439\u043B \u0421\u0443\u043F\u0435\u0440 10W40 SG/CD 1\u043B.", "price" : 405.00, "quantity" : 2.000, "sum" : 810.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 810.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:44:30]POST & json_proto [03:44:30]process_json_proto [03:44:30]json parsed OK: [03:44:30]protocol is kg_v1.0 [03:44:30]action value=close_receipt [03:44:30]process_action close_receipt [03:44:30]cmd_close_receipt [03:44:30]MH_GetDate [03:44:30]Write to MH i2c: F0 00 00 F9 04 EC [03:44:30]Write i2c OK [03:44:30]MH_I2C_Read... [03:44:30]Read from MH i2c: F0 [03:44:30]MH_I2C_Read... [03:44:30]Read from MH i2c: F0 09 00 [03:44:30]MH_I2C_Read... [03:44:30]Read from MH i2c: F0 09 00 F9 04 00 9F E6 E7 65 78 7F 6F 64 90 [03:44:30]GetLastDocTimeStamp 1709693083 [03:44:30]current date 1709696671 [03:44:30]FM_GetShiftState [03:44:30]SAM_PROTO_GetShiftState [03:44:30]wFMCommunicate request_size=4 [03:44:30]MH_SAM_APDU [03:44:30]CAPDU: 80 13 01 00 [03:44:30]Write to MH i2c: E2 08 00 FA 04 80 13 01 00 00 00 00 00 7B [03:44:30]Write i2c OK [03:44:30]MH_I2C_Read... [03:44:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:44:30]Read from MH i2c: E2 [03:44:30]MH_I2C_Read... [03:44:30]Read from MH i2c: E2 0E 00 [03:44:30]MH_I2C_Read... [03:44:30]Read from MH i2c: E2 0E 00 FA 04 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 F8 [03:44:30]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [03:44:30]wFMCommunicate OK [03:44:30]SAM_PROTO_GetShiftState done [03:44:30]FM_GetShiftState done [03:44:30]opened in 1709684590 [03:44:30]opened+sec_in_day 1709770990 [03:44:30]quantity*price = 81000 [03:44:30]sum+1 = 81001 [03:44:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 810.00 НСП 1% : 7.17 НДС 12% : 86.02 Наличными: 810.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 12 06.03.2024 03:44 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32396 ФПД: 30220748224724 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T034431&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32396&fm=30220748224724&tin=02508201610067®Number=0000000000092554&sum=81000 0 [03:44:31]StoreToDocumentArchive [03:44:31]shift 284 fd 32396 [03:44:31]save to /storage/0284/doc_00032396 [03:44:31]save last doc name /storage/0284/doc_00032396 to /storage/kkm_last_doc_name [03:44:31]save OK [03:44:31]Clear old archive folders... [03:44:31]ProcessDocumentItem done err = 0, tmpTLVsize=282 [03:44:31]tlvbuf is 0164DA40 [03:44:31]SAM_PROTO_ClearQueue [03:44:31]wFMCommunicate request_size=4 [03:44:31]MH_SAM_APDU [03:44:31]CAPDU: 80 09 00 00 [03:44:31]Write to MH i2c: E2 08 00 07 05 80 09 00 00 00 00 00 00 7E [03:44:31]Write i2c OK [03:44:31]MH_I2C_Read... [03:44:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:44:31]Read from MH i2c: E2 [03:44:31]MH_I2C_Read... [03:44:31]Read from MH i2c: E2 03 00 [03:44:31]MH_I2C_Read... [03:44:31]Read from MH i2c: E2 03 00 07 05 00 90 00 80 [03:44:31]RAPDU: 90 00 [03:44:31]wFMCommunicate OK [03:44:31]SAM_PROTO_ClearQueue done [03:44:31]KKMCreateOFDPacket [03:44:31]OFDProtocolAddRootSTLVToBuf [03:44:31]FM_MakeSignedData [03:44:31]FM_MakeSignedData [03:44:31]SAM_PROTO_SignData [03:44:31]wFMCommunicate request_size=4 [03:44:31]MH_SAM_APDU [03:44:31]CAPDU: 80 0D 01 02 [03:44:31]Write to MH i2c: E2 08 00 08 05 80 0D 01 02 00 00 00 00 86 [03:44:31]Write i2c OK [03:44:31]MH_I2C_Read... [03:44:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:44:31]Read from MH i2c: E2 [03:44:31]MH_I2C_Read... [03:44:31]Read from MH i2c: E2 03 00 [03:44:31]MH_I2C_Read... [03:44:31]Read from MH i2c: E2 03 00 08 05 00 90 00 81 [03:44:31]RAPDU: 90 00 [03:44:31]wFMCommunicate OK [03:44:31]wFMCommunicate request_size=255 [03:44:31]MH_SAM_APDU [03:44:31]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 36 31 36 31 35 33 38 36 06 04 28 00 D0 9B D1 83 D0 BA D0 BE D0 B9 D0 BB 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 20 31 30 57 34 30 20 53 47 2F 43 44 20 31 D0 BB 2E FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 68 3C 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 3C 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CD 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 21 00 00 00 00 07 04 06 00 68 3C 01 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 9F E6 E7 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 [03:44:31]Write to MH i2c: E2 02 01 09 05 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 36 31 36 31 35 33 38 36 06 04 28 00 D0 9B D1 83 D0 BA D0 BE D0 B9 D0 BB 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 20 31 30 57 34 30 20 53 47 2F 43 44 20 31 D0 BB 2E FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 68 3C 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 3C 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CD 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 21 00 00 00 00 07 04 06 00 68 3C 01 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 9F E6 E7 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 00 00 A6 [03:44:31]Write i2c OK [03:44:31]MH_I2C_Read... [03:44:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:44:32]Read from MH i2c: E2 [03:44:32]MH_I2C_Read... [03:44:32]Read from MH i2c: E2 03 00 [03:44:32]MH_I2C_Read... [03:44:32]Read from MH i2c: E2 03 00 09 05 00 90 00 82 [03:44:32]RAPDU: 90 00 [03:44:32]wFMCommunicate OK [03:44:32]wFMCommunicate request_size=41 [03:44:32]MH_SAM_APDU [03:44:32]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 8C 7E 00 00 35 04 06 00 1B 7C 50 F6 78 D4 [03:44:32]Write to MH i2c: E2 2C 00 0A 05 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 8C 7E 00 00 35 04 06 00 1B 7C 50 F6 78 D4 00 00 8D [03:44:32]Write i2c OK [03:44:32]MH_I2C_Read... [03:44:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:44:32]Read from MH i2c: E2 [03:44:32]MH_I2C_Read... [03:44:32]Read from MH i2c: E2 03 00 [03:44:32]MH_I2C_Read... [03:44:32]Read from MH i2c: E2 03 00 0A 05 00 90 00 83 [03:44:32]RAPDU: 90 00 [03:44:32]wFMCommunicate OK [03:44:32]wFMCommunicate request_size=4 [03:44:32]MH_SAM_APDU [03:44:32]CAPDU: 80 0D 03 02 [03:44:32]Write to MH i2c: E2 08 00 0B 05 80 0D 03 02 00 00 00 00 8B [03:44:32]Write i2c OK [03:44:32]MH_I2C_Read... [03:44:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:44:32]Read from MH i2c: E2 [03:44:32]MH_I2C_Read... [03:44:32]Read from MH i2c: E2 0B 00 [03:44:32]MH_I2C_Read... [03:44:32]Read from MH i2c: E2 0B 00 0B 05 00 39 52 44 29 2B 94 FE D2 90 00 13 [03:44:32]RAPDU: 39 52 44 29 2B 94 FE D2 90 00 [03:44:32]wFMCommunicate OK [03:44:32]SAM_PROTO_SignData done [03:44:32]FM_MakeSignedData done [03:44:32]CreateOFDProtocolMessage [03:44:32]wFMCommunicate request_size=4 [03:44:32]MH_SAM_APDU [03:44:32]CAPDU: 80 11 00 00 [03:44:32]Write to MH i2c: E2 08 00 0C 05 80 11 00 00 00 00 00 00 8B [03:44:32]Write i2c OK [03:44:32]MH_I2C_Read... [03:44:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:44:32]Read from MH i2c: E2 [03:44:32]MH_I2C_Read... [03:44:32]Read from MH i2c: E2 17 00 [03:44:32]MH_I2C_Read... [03:44:32]Read from MH i2c: E2 17 00 0C 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 E0 [03:44:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [03:44:32]wFMCommunicate OK [03:44:32]CreateOFDProtocolMessage done [03:44:32]OFDSenderStorePacket 32396 [03:44:32]StoreOFDPacket docnum=32396 [03:44:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 2E 01 00 00 AB CF 26 01 67 66 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 36 31 36 31 35 33 38 36 06 04 28 00 D0 9B D1 83 D0 BA D0 BE D0 B9 D0 BB 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 20 31 30 57 34 30 20 53 47 2F 43 44 20 31 D0 BB 2E FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 68 3C 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 3C 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CD 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 21 00 00 00 00 07 04 06 00 68 3C 01 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 9F E6 E7 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 8C 7E 00 00 35 04 06 00 1B 7C 50 F6 78 D4 39 52 44 29 2B 94 FE D2 [03:44:32]CheckFolder [03:44:32]dirname=/storage/ofd_packets [03:44:32]CheckFolder done [03:44:32]ProducePacketName [03:44:32]name=ofd_packets/00032396 [03:44:32]NVStorageSaveData ofd_packets/00032396 [03:44:32]File name is /storage/ofd_packets/00032396 [03:44:32]Write 332 bytes [03:44:32]NVStorageSaveData done [03:44:32]OFDSenderStorePacket done [03:44:32]KKMCreateOFDPacket done [03:44:32]NVStorageSaveData kkm_last_timestamp [03:44:32]File name is /storage/kkm_last_timestamp [03:44:32]Write 4 bytes [03:44:32]NVStorageSaveData done [03:44:32]ExternCall_PrintAddStr [03:44:32]wPrintStart [03:44:32]Write to MH i2c: 01 00 00 0D 05 12 [03:44:32]Write i2c OK [03:44:32]MH_I2C_Read... [03:44:32]Read from MH i2c: 01 [03:44:32]MH_I2C_Read... [03:44:32]Read from MH i2c: 01 07 00 [03:44:32]MH_I2C_Read... [03:44:32]Read from MH i2c: 01 07 00 0D 05 00 00 00 00 00 FF 0F 27 [03:44:32]RasterBufferAndPrint [03:44:32]line Счет N : (3)58551 [03:44:32]line ИНН: 02508201610067 [03:44:32]line Контрольно-Кассовый Чек [03:44:32]line ПРОДАЖА [03:44:32]line Товар: 4607161615386 [03:44:32]line Лукойл Супер 10W40 SG/CD 1л. [03:44:32]line 2.000 * 405.00 [03:44:32]line = 810.00 [03:44:32]line НДС 12% НСП 1% [03:44:32]line > о реализуемом товаре [03:44:32]line ИТОГО: 810.00 [03:44:32]line НСП 1% : 7.17 [03:44:32]line НДС 12% : 86.02 [03:44:32]line Наличными: 810.00 [03:44:32]line Безнал.: 0.00 [03:44:32]line Место: АЗС № 99 "Партнер Нефть" [03:44:32]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [03:44:32]line СНО: Общий режим [03:44:32]line Чек 12 06.03.2024 03:44 [03:44:32]line Смена: 284 ФФД: 1.0 [03:44:32]line ЗНМ: 0300000074 [03:44:32]line РНМ: 0000000000092554 [03:44:32]line Версия ККМ: 001 [03:44:32]line ФМ: 0000000000871783 [03:44:32]line ФД: 32396 [03:44:32]line ФПД: 30220748224724 [03:44:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T034431&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32396&fm=30220748224724&tin=02508201610067®Number=0000000000092554&sum=81000 [03:44:32]line 0 [03:44:32]OFD Sender: Processing packet 32396 [packets to send 5, broken 4] [03:44:32]ProducePacketName [03:44:32]name=ofd_packets/00032396 [03:44:32]OFD Sender: To server: pG, [03:44:32]CommunicateWithHost lk.salyk.kg:30040 [03:44:32]ConnectInit lk.salyk.kg [03:44:32]written 0, free lines is 4095 [03:44:32]Connected sock=10 [03:44:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 2E 01 00 00 AB CF 26 01 67 66 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 36 31 36 31 35 33 38 36 06 04 28 00 D0 9B D1 83 D0 BA D0 BE D0 B9 D0 BB 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 20 31 30 57 34 30 20 53 47 2F 43 44 20 31 D0 BB 2E FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 68 3C 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 3C 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CD 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 21 00 00 00 00 07 04 06 00 68 3C 01 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 9F E6 E7 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 8C 7E 00 00 35 04 06 00 1B 7C 50 F6 78 D4 39 52 44 29 2B 94 FE D2 [03:44:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 E1 BF 47 00 71 A1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 8C 7E 00 00 F4 03 04 00 D9 8E E7 65 B6 04 01 00 00 34 F8 71 10 4A 5E 08 EB [03:44:32]CommunicateWithHost err = 0 [03:44:32]CheckOFDResponse [03:44:32]1017 (14) - 77093643461234 [03:44:32]1041 (16) - 0000000000871783 [03:44:32]1040 (4) - 32396 [03:44:32]1012 (4) - 05.03.2024 21:30 [03:44:32]1206 (1) - 0 [03:44:32]OFD Sender: Remove packet 32396 [03:44:32]ProducePacketName [03:44:32]name=ofd_packets/00032396 [03:44:32]NVStorageDeleteData [03:44:33]Write to MH i2c: 01 00 00 36 05 3B [03:44:33]Write i2c OK [03:44:33]MH_I2C_Read... [03:44:33]Read from MH i2c: 01 [03:44:33]MH_I2C_Read... [03:44:33]Read from MH i2c: 01 07 00 [03:44:33]MH_I2C_Read... [03:44:33]Read from MH i2c: 01 07 00 36 05 00 00 00 00 00 BE 0C 0C [03:44:33]RasterBufferAndPrint [03:44:33]line [03:44:33]line [03:44:33]line [03:44:33]line [03:44:33]line [03:44:33]written 0, free lines is 3266 [03:44:33]MH_Cut [03:44:33]Write to MH i2c: D1 01 00 3D 05 01 14 [03:44:33]Write i2c OK [03:44:33]MH_I2C_Read... [03:44:33]Read from MH i2c: D1 [03:44:33]MH_I2C_Read... [03:44:33]Read from MH i2c: D1 01 00 [03:44:33]MH_I2C_Read... [03:44:33]Read from MH i2c: D1 01 00 3D 05 00 13 [03:44:33]Write to MH i2c: 01 00 00 3E 05 43 [03:44:33]Write i2c OK [03:44:33]MH_I2C_Read... [03:44:33]OFD Sender: No OFD packet to send [03:44:33]*** Cut start [03:44:33]*** Partial cut [03:44:33]*** CUTSNS_PIN = 1 [03:44:33]*** CUTSNS_PIN = 0 [03:44:34]*** Brake cut motor [03:44:34]Read from MH i2c: 01 [03:44:34]MH_I2C_Read... [03:44:34]*** Stop cut motor [03:44:34]*** Cut end [03:44:34]Read from MH i2c: 01 07 00 [03:44:34]MH_I2C_Read... [03:44:34]Read from MH i2c: 01 07 00 3E 05 00 00 00 00 00 FF 0F 58 [03:44:34]process_action close_receipt done [03:44:34]requested_data is exist [03:44:34]produce_requested_data [03:44:34]requested_item fm.sn is exist - process it [03:44:34]wFMCommunicate request_size=4 [03:44:34]MH_SAM_APDU [03:44:34]CAPDU: 80 11 00 00 [03:44:34]Write to MH i2c: E2 08 00 3F 05 80 11 00 00 00 00 00 00 BE [03:44:34]Write i2c OK [03:44:34]MH_I2C_Read... [03:44:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:44:34]Read from MH i2c: E2 [03:44:34]MH_I2C_Read... [03:44:34]Read from MH i2c: E2 17 00 [03:44:34]MH_I2C_Read... [03:44:34]Read from MH i2c: E2 17 00 3F 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 13 [03:44:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [03:44:34]wFMCommunicate OK [03:44:34]requested_item fd.num is exist - process it [03:44:34]SAM_PROTO_GetFieldsCounters [03:44:34]wFMCommunicate request_size=4 [03:44:34]MH_SAM_APDU [03:44:34]CAPDU: 80 13 00 00 [03:44:34]Write to MH i2c: E2 08 00 40 05 80 13 00 00 00 00 00 00 C1 [03:44:34]Write i2c OK [03:44:34]MH_I2C_Read... [03:44:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:44:34]Read from MH i2c: E2 [03:44:34]MH_I2C_Read... [03:44:34]Read from MH i2c: E2 62 00 [03:44:34]MH_I2C_Read... [03:44:34]Read from MH i2c: E2 62 00 40 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 8C 7E 00 00 0E 04 04 00 1C 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 2F [03:44:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 8C 7E 00 00 0E 04 04 00 1C 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 [03:44:34]wFMCommunicate OK [03:44:34]SAM_PROTO_GetFieldsCounters done [03:44:34]requested_item shift.num is exist - process it [03:44:34]requested_item shift.opened is exist - process it [03:44:34]req_shift_opened [03:44:34]FM_GetShiftState [03:44:34]SAM_PROTO_GetShiftState [03:44:34]wFMCommunicate request_size=4 [03:44:34]MH_SAM_APDU [03:44:34]CAPDU: 80 13 01 00 [03:44:34]Write to MH i2c: E2 08 00 41 05 80 13 01 00 00 00 00 00 C3 [03:44:34]Write i2c OK [03:44:34]MH_I2C_Read... [03:44:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:44:34]Read from MH i2c: E2 [03:44:34]MH_I2C_Read... [03:44:34]Read from MH i2c: E2 0E 00 [03:44:34]MH_I2C_Read... [03:44:34]Read from MH i2c: E2 0E 00 41 05 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 40 [03:44:34]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [03:44:34]wFMCommunicate OK [03:44:34]SAM_PROTO_GetShiftState done [03:44:34]FM_GetShiftState done [03:44:34]req_shift_opened done [03:44:34]requested_item shift.open_date is exist - process it [03:44:34]req_shift_open_date [03:44:34]req_shift_open_date done [03:44:34]produce_requested_data done [03:44:34]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32396,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [03:44:34]process_action_free close_receipt [03:44:34]json_value_free [03:44:34]json_value_free done [03:44:34]process_json_proto returns [03:44:34]Send response to host [03:44:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32396,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [03:44:34]free response buf [03:44:34]execute_script done [03:44:34]execute_script returns [03:44:34]free content buf [03:44:34]Sock 8.Close socket [03:44:34]Sock 8.Thread stoped [03:44:38]OFD Sender: No OFD packet to send [03:44:43]OFD Sender: No OFD packet to send [03:44:48]OFD Sender: No OFD packet to send [03:44:53]OFD Sender: No OFD packet to send [03:44:58]OFD Sender: No OFD packet to send [03:45:03]OFD Sender: No OFD packet to send [03:45:08]OFD Sender: No OFD packet to send [03:45:13]OFD Sender: No OFD packet to send [03:45:18]OFD Sender: No OFD packet to send [03:45:23]OFD Sender: No OFD packet to send [03:45:28]OFD Sender: No OFD packet to send [03:45:33]OFD Sender: No OFD packet to send [03:45:38]OFD Sender: No OFD packet to send [03:45:43]OFD Sender: No OFD packet to send [03:45:48]OFD Sender: No OFD packet to send [03:45:53]OFD Sender: No OFD packet to send [03:45:58]OFD Sender: No OFD packet to send [03:46:03]OFD Sender: No OFD packet to send [03:46:08]OFD Sender: No OFD packet to send [03:46:13]OFD Sender: No OFD packet to send [03:46:18]OFD Sender: No OFD packet to send [03:46:23]OFD Sender: No OFD packet to send [03:46:28]OFD Sender: No OFD packet to send [03:46:33]OFD Sender: No OFD packet to send [03:46:38]OFD Sender: No OFD packet to send [03:46:43]OFD Sender: No OFD packet to send [03:46:48]OFD Sender: No OFD packet to send [03:46:53]OFD Sender: No OFD packet to send [03:46:58]OFD Sender: No OFD packet to send [03:47:03]OFD Sender: No OFD packet to send [03:47:08]OFD Sender: No OFD packet to send [03:47:13]OFD Sender: No OFD packet to send [03:47:18]OFD Sender: No OFD packet to send [03:47:23]OFD Sender: No OFD packet to send [03:47:28]OFD Sender: No OFD packet to send [03:47:33]OFD Sender: No OFD packet to send [03:47:38]OFD Sender: No OFD packet to send [03:47:43]OFD Sender: No OFD packet to send [03:47:48]OFD Sender: No OFD packet to send [03:47:53]OFD Sender: No OFD packet to send [03:47:58]OFD Sender: No OFD packet to send [03:48:03]OFD Sender: No OFD packet to send [03:48:08]OFD Sender: No OFD packet to send [03:48:13]OFD Sender: No OFD packet to send [03:48:18]OFD Sender: No OFD packet to send [03:48:23]OFD Sender: No OFD packet to send [03:48:28]OFD Sender: No OFD packet to send [03:48:33]OFD Sender: No OFD packet to send [03:48:38]OFD Sender: No OFD packet to send [03:48:43]OFD Sender: No OFD packet to send [03:48:48]OFD Sender: No OFD packet to send [03:48:53]OFD Sender: No OFD packet to send [03:48:58]OFD Sender: No OFD packet to send [03:49:03]OFD Sender: No OFD packet to send [03:49:08]OFD Sender: No OFD packet to send [03:49:13]OFD Sender: No OFD packet to send [03:49:18]OFD Sender: No OFD packet to send [03:49:23]OFD Sender: No OFD packet to send [03:49:28]OFD Sender: No OFD packet to send [03:49:33]OFD Sender: No OFD packet to send [03:49:38]OFD Sender: No OFD packet to send [03:49:43]OFD Sender: No OFD packet to send [03:49:48]OFD Sender: No OFD packet to send [03:49:53]OFD Sender: No OFD packet to send [03:49:58]OFD Sender: No OFD packet to send [03:50:03]OFD Sender: No OFD packet to send [03:50:08]OFD Sender: No OFD packet to send [03:50:13]OFD Sender: No OFD packet to send [03:50:18]OFD Sender: No OFD packet to send [03:50:23]OFD Sender: No OFD packet to send [03:50:28]OFD Sender: No OFD packet to send [03:50:33]OFD Sender: No OFD packet to send [03:50:38]OFD Sender: No OFD packet to send [03:50:43]OFD Sender: No OFD packet to send [03:50:48]OFD Sender: No OFD packet to send [03:50:53]OFD Sender: No OFD packet to send [03:50:58]OFD Sender: No OFD packet to send [03:51:03]OFD Sender: No OFD packet to send [03:51:08]OFD Sender: No OFD packet to send [03:51:13]OFD Sender: No OFD packet to send [03:51:18]OFD Sender: No OFD packet to send [03:51:23]OFD Sender: No OFD packet to send [03:51:28]OFD Sender: No OFD packet to send [03:51:33]OFD Sender: No OFD packet to send [03:51:38]OFD Sender: No OFD packet to send [03:51:43]OFD Sender: No OFD packet to send [03:51:48]OFD Sender: No OFD packet to send [03:51:53]OFD Sender: No OFD packet to send [03:51:58]OFD Sender: No OFD packet to send [03:52:03]OFD Sender: No OFD packet to send [03:52:08]OFD Sender: No OFD packet to send [03:52:13]OFD Sender: No OFD packet to send [03:52:18]OFD Sender: No OFD packet to send [03:52:23]OFD Sender: No OFD packet to send [03:52:28]OFD Sender: No OFD packet to send [03:52:33]OFD Sender: No OFD packet to send [03:52:38]OFD Sender: No OFD packet to send [03:52:43]OFD Sender: No OFD packet to send [03:52:48]OFD Sender: No OFD packet to send [03:52:53]OFD Sender: No OFD packet to send [03:52:58]OFD Sender: No OFD packet to send [03:53:03]OFD Sender: No OFD packet to send [03:53:08]OFD Sender: No OFD packet to send [03:53:13]OFD Sender: No OFD packet to send [03:53:18]OFD Sender: No OFD packet to send [03:53:23]OFD Sender: No OFD packet to send [03:53:28]OFD Sender: No OFD packet to send [03:53:33]OFD Sender: No OFD packet to send [03:53:38]OFD Sender: No OFD packet to send [03:53:43]OFD Sender: No OFD packet to send [03:53:48]OFD Sender: No OFD packet to send [03:53:53]OFD Sender: No OFD packet to send [03:53:58]OFD Sender: No OFD packet to send [03:54:03]OFD Sender: No OFD packet to send [03:54:08]OFD Sender: No OFD packet to send [03:54:13]OFD Sender: No OFD packet to send [03:54:18]OFD Sender: No OFD packet to send [03:54:23]OFD Sender: No OFD packet to send [03:54:28]OFD Sender: No OFD packet to send [03:54:33]OFD Sender: No OFD packet to send [03:54:38]OFD Sender: No OFD packet to send [03:54:43]OFD Sender: No OFD packet to send [03:54:48]OFD Sender: No OFD packet to send [03:54:53]OFD Sender: No OFD packet to send [03:54:58]OFD Sender: No OFD packet to send [03:55:03]OFD Sender: No OFD packet to send [03:55:08]OFD Sender: No OFD packet to send [03:55:13]OFD Sender: No OFD packet to send [03:55:18]OFD Sender: No OFD packet to send [03:55:24]OFD Sender: No OFD packet to send [03:55:29]OFD Sender: No OFD packet to send [03:55:34]OFD Sender: No OFD packet to send [03:55:39]OFD Sender: No OFD packet to send [03:55:44]OFD Sender: No OFD packet to send [03:55:49]OFD Sender: No OFD packet to send [03:55:54]OFD Sender: No OFD packet to send [03:55:59]OFD Sender: No OFD packet to send [03:56:04]OFD Sender: No OFD packet to send [03:56:09]OFD Sender: No OFD packet to send [03:56:14]OFD Sender: No OFD packet to send [03:56:19]OFD Sender: No OFD packet to send [03:56:24]OFD Sender: No OFD packet to send [03:56:29]OFD Sender: No OFD packet to send [03:56:34]OFD Sender: No OFD packet to send [03:56:39]OFD Sender: No OFD packet to send [03:56:44]OFD Sender: No OFD packet to send [03:56:49]OFD Sender: No OFD packet to send [03:56:54]OFD Sender: No OFD packet to send [03:56:59]OFD Sender: No OFD packet to send [03:57:04]OFD Sender: No OFD packet to send [03:57:09]OFD Sender: No OFD packet to send [03:57:14]OFD Sender: No OFD packet to send [03:57:19]OFD Sender: No OFD packet to send [03:57:24]OFD Sender: No OFD packet to send [03:57:29]OFD Sender: No OFD packet to send [03:57:34]OFD Sender: No OFD packet to send [03:57:39]OFD Sender: No OFD packet to send [03:57:44]OFD Sender: No OFD packet to send [03:57:49]OFD Sender: No OFD packet to send [03:57:54]OFD Sender: No OFD packet to send [03:57:59]OFD Sender: No OFD packet to send [03:58:04]OFD Sender: No OFD packet to send [03:58:09]OFD Sender: No OFD packet to send [03:58:14]OFD Sender: No OFD packet to send [03:58:19]OFD Sender: No OFD packet to send [03:58:24]OFD Sender: No OFD packet to send [03:58:29]OFD Sender: No OFD packet to send [03:58:34]OFD Sender: No OFD packet to send [03:58:39]OFD Sender: No OFD packet to send [03:58:44]OFD Sender: No OFD packet to send [03:58:49]OFD Sender: No OFD packet to send [03:58:54]OFD Sender: No OFD packet to send [03:58:59]OFD Sender: No OFD packet to send [03:59:04]OFD Sender: No OFD packet to send [03:59:09]OFD Sender: No OFD packet to send [03:59:14]OFD Sender: No OFD packet to send [03:59:19]OFD Sender: No OFD packet to send [03:59:24]OFD Sender: No OFD packet to send [03:59:29]OFD Sender: No OFD packet to send [03:59:34]OFD Sender: No OFD packet to send [03:59:39]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:55]OFD Sender: No OFD packet to send [04:17:00]OFD Sender: No OFD packet to send [04:17:05]OFD Sender: No OFD packet to send [04:17:10]OFD Sender: No OFD packet to send [04:17:15]OFD Sender: No OFD packet to send [04:17:20]OFD Sender: No OFD packet to send [04:17:25]OFD Sender: No OFD packet to send [04:17:30]OFD Sender: No OFD packet to send [04:17:35]OFD Sender: No OFD packet to send [04:17:40]OFD Sender: No OFD packet to send [04:17:45]OFD Sender: No OFD packet to send [04:17:50]OFD Sender: No OFD packet to send [04:17:55]OFD Sender: No OFD packet to send [04:18:00]OFD Sender: No OFD packet to send [04:18:05]OFD Sender: No OFD packet to send [04:18:10]OFD Sender: No OFD packet to send [04:18:15]OFD Sender: No OFD packet to send [04:18:20]OFD Sender: No OFD packet to send [04:18:25]OFD Sender: No OFD packet to send [04:18:30]OFD Sender: No OFD packet to send [04:18:35]OFD Sender: No OFD packet to send [04:18:40]OFD Sender: No OFD packet to send [04:18:45]OFD Sender: No OFD packet to send [04:18:50]OFD Sender: No OFD packet to send [04:18:55]OFD Sender: No OFD packet to send [04:19:00]OFD Sender: No OFD packet to send [04:19:05]OFD Sender: No OFD packet to send [04:19:10]OFD Sender: No OFD packet to send [04:19:15]OFD Sender: No OFD packet to send [04:19:20]OFD Sender: No OFD packet to send [04:19:25]OFD Sender: No OFD packet to send [04:19:30]OFD Sender: No OFD packet to send [04:19:35]OFD Sender: No OFD packet to send [04:19:40]OFD Sender: No OFD packet to send [04:19:45]OFD Sender: No OFD packet to send [04:19:50]OFD Sender: No OFD packet to send [04:19:55]OFD Sender: No OFD packet to send [04:20:00]OFD Sender: No OFD packet to send [04:20:05]OFD Sender: No OFD packet to send [04:20:10]OFD Sender: No OFD packet to send [04:20:15]OFD Sender: No OFD packet to send [04:20:20]OFD Sender: No OFD packet to send [04:20:25]OFD Sender: No OFD packet to send [04:20:30]OFD Sender: No OFD packet to send [04:20:35]OFD Sender: No OFD packet to send [04:20:40]OFD Sender: No OFD packet to send [04:20:45]OFD Sender: No OFD packet to send [04:20:50]OFD Sender: No OFD packet to send [04:20:55]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:21]OFD Sender: No OFD packet to send [04:38:26]OFD Sender: No OFD packet to send [04:38:31]OFD Sender: No OFD packet to send [04:38:36]OFD Sender: No OFD packet to send [04:38:41]OFD Sender: No OFD packet to send [04:38:46]OFD Sender: No OFD packet to send [04:38:51]OFD Sender: No OFD packet to send [04:38:56]OFD Sender: No OFD packet to send [04:39:01]OFD Sender: No OFD packet to send [04:39:06]OFD Sender: No OFD packet to send [04:39:11]OFD Sender: No OFD packet to send [04:39:16]OFD Sender: No OFD packet to send [04:39:21]OFD Sender: No OFD packet to send [04:39:26]OFD Sender: No OFD packet to send [04:39:31]OFD Sender: No OFD packet to send [04:39:36]OFD Sender: No OFD packet to send [04:39:41]OFD Sender: No OFD packet to send [04:39:46]OFD Sender: No OFD packet to send [04:39:51]OFD Sender: No OFD packet to send [04:39:56]OFD Sender: No OFD packet to send [04:40:01]OFD Sender: No OFD packet to send [04:40:06]OFD Sender: No OFD packet to send [04:40:11]OFD Sender: No OFD packet to send [04:40:16]OFD Sender: No OFD packet to send [04:40:21]OFD Sender: No OFD packet to send [04:40:26]OFD Sender: No OFD packet to send [04:40:31]OFD Sender: No OFD packet to send [04:40:36]OFD Sender: No OFD packet to send [04:40:41]OFD Sender: No OFD packet to send [04:40:46]OFD Sender: No OFD packet to send [04:40:51]OFD Sender: No OFD packet to send [04:40:56]OFD Sender: No OFD packet to send [04:41:01]OFD Sender: No OFD packet to send [04:41:06]OFD Sender: No OFD packet to send [04:41:11]OFD Sender: No OFD packet to send [04:41:16]OFD Sender: No OFD packet to send [04:41:21]OFD Sender: No OFD packet to send [04:41:26]OFD Sender: No OFD packet to send [04:41:31]OFD Sender: No OFD packet to send [04:41:36]OFD Sender: No OFD packet to send [04:41:41]OFD Sender: No OFD packet to send [04:41:46]OFD Sender: No OFD packet to send [04:41:51]OFD Sender: No OFD packet to send [04:41:56]OFD Sender: No OFD packet to send [04:42:01]OFD Sender: No OFD packet to send [04:42:06]OFD Sender: No OFD packet to send [04:42:11]OFD Sender: No OFD packet to send [04:42:16]OFD Sender: No OFD packet to send [04:42:21]OFD Sender: No OFD packet to send [04:42:26]OFD Sender: No OFD packet to send [04:42:31]OFD Sender: No OFD packet to send [04:42:36]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:47]OFD Sender: No OFD packet to send [04:59:52]OFD Sender: No OFD packet to send [04:59:57]OFD Sender: No OFD packet to send [05:00:02]OFD Sender: No OFD packet to send [05:00:07]OFD Sender: No OFD packet to send [05:00:12]OFD Sender: No OFD packet to send [05:00:17]OFD Sender: No OFD packet to send [05:00:22]OFD Sender: No OFD packet to send [05:00:27]OFD Sender: No OFD packet to send [05:00:32]OFD Sender: No OFD packet to send [05:00:37]OFD Sender: No OFD packet to send [05:00:42]OFD Sender: No OFD packet to send [05:00:47]OFD Sender: No OFD packet to send [05:00:52]OFD Sender: No OFD packet to send [05:00:57]OFD Sender: No OFD packet to send [05:01:02]OFD Sender: No OFD packet to send [05:01:07]OFD Sender: No OFD packet to send [05:01:12]OFD Sender: No OFD packet to send [05:01:17]OFD Sender: No OFD packet to send [05:01:22]OFD Sender: No OFD packet to send [05:01:27]OFD Sender: No OFD packet to send [05:01:32]OFD Sender: No OFD packet to send [05:01:37]OFD Sender: No OFD packet to send [05:01:42]OFD Sender: No OFD packet to send [05:01:47]OFD Sender: No OFD packet to send [05:01:52]OFD Sender: No OFD packet to send [05:01:57]OFD Sender: No OFD packet to send [05:02:02]OFD Sender: No OFD packet to send [05:02:07]OFD Sender: No OFD packet to send [05:02:12]OFD Sender: No OFD packet to send [05:02:17]OFD Sender: No OFD packet to send [05:02:22]OFD Sender: No OFD packet to send [05:02:27]OFD Sender: No OFD packet to send [05:02:32]OFD Sender: No OFD packet to send [05:02:37]OFD Sender: No OFD packet to send [05:02:42]OFD Sender: No OFD packet to send [05:02:47]OFD Sender: No OFD packet to send [05:02:52]OFD Sender: No OFD packet to send [05:02:57]OFD Sender: No OFD packet to send [05:03:02]OFD Sender: No OFD packet to send [05:03:07]OFD Sender: No OFD packet to send [05:03:12]OFD Sender: No OFD packet to send [05:03:17]OFD Sender: No OFD packet to send [05:03:22]OFD Sender: No OFD packet to send [05:03:27]OFD Sender: No OFD packet to send [05:03:32]OFD Sender: No OFD packet to send [05:03:37]OFD Sender: No OFD packet to send [05:03:42]OFD Sender: No OFD packet to send [05:03:47]OFD Sender: No OFD packet to send [05:03:52]OFD Sender: No OFD packet to send [05:03:57]OFD Sender: No OFD packet to send [05:04:02]OFD Sender: No OFD packet to send [05:04:07]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:13]OFD Sender: No OFD packet to send [05:21:18]OFD Sender: No OFD packet to send [05:21:23]OFD Sender: No OFD packet to send [05:21:28]OFD Sender: No OFD packet to send [05:21:33]OFD Sender: No OFD packet to send [05:21:38]OFD Sender: No OFD packet to send [05:21:43]OFD Sender: No OFD packet to send [05:21:48]OFD Sender: No OFD packet to send [05:21:53]OFD Sender: No OFD packet to send [05:21:58]OFD Sender: No OFD packet to send [05:22:03]OFD Sender: No OFD packet to send [05:22:08]OFD Sender: No OFD packet to send [05:22:13]OFD Sender: No OFD packet to send [05:22:18]OFD Sender: No OFD packet to send [05:22:23]OFD Sender: No OFD packet to send [05:22:28]OFD Sender: No OFD packet to send [05:22:33]OFD Sender: No OFD packet to send [05:22:38]OFD Sender: No OFD packet to send [05:22:43]OFD Sender: No OFD packet to send [05:22:48]OFD Sender: No OFD packet to send [05:22:53]OFD Sender: No OFD packet to send [05:22:58]OFD Sender: No OFD packet to send [05:23:03]OFD Sender: No OFD packet to send [05:23:08]OFD Sender: No OFD packet to send [05:23:13]OFD Sender: No OFD packet to send [05:23:18]OFD Sender: No OFD packet to send [05:23:23]OFD Sender: No OFD packet to send [05:23:28]OFD Sender: No OFD packet to send [05:23:33]OFD Sender: No OFD packet to send [05:23:38]OFD Sender: No OFD packet to send [05:23:43]OFD Sender: No OFD packet to send [05:23:48]OFD Sender: No OFD packet to send [05:23:53]OFD Sender: No OFD packet to send [05:23:58]OFD Sender: No OFD packet to send [05:24:03]OFD Sender: No OFD packet to send [05:24:08]OFD Sender: No OFD packet to send [05:24:13]OFD Sender: No OFD packet to send [05:24:18]OFD Sender: No OFD packet to send [05:24:23]OFD Sender: No OFD packet to send [05:24:28]OFD Sender: No OFD packet to send [05:24:33]OFD Sender: No OFD packet to send [05:24:38]OFD Sender: No OFD packet to send [05:24:43]OFD Sender: No OFD packet to send [05:24:48]OFD Sender: No OFD packet to send [05:24:53]OFD Sender: No OFD packet to send [05:24:58]OFD Sender: No OFD packet to send [05:25:03]OFD Sender: No OFD packet to send [05:25:08]OFD Sender: No OFD packet to send [05:25:13]OFD Sender: No OFD packet to send [05:25:18]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:44]OFD Sender: No OFD packet to send [05:42:49]OFD Sender: No OFD packet to send [05:42:54]OFD Sender: No OFD packet to send [05:42:59]OFD Sender: No OFD packet to send [05:43:04]OFD Sender: No OFD packet to send [05:43:09]OFD Sender: No OFD packet to send [05:43:14]OFD Sender: No OFD packet to send [05:43:19]OFD Sender: No OFD packet to send [05:43:24]OFD Sender: No OFD packet to send [05:43:29]OFD Sender: No OFD packet to send [05:43:34]OFD Sender: No OFD packet to send [05:43:39]OFD Sender: No OFD packet to send [05:43:44]OFD Sender: No OFD packet to send [05:43:49]OFD Sender: No OFD packet to send [05:43:54]OFD Sender: No OFD packet to send [05:43:59]OFD Sender: No OFD packet to send [05:44:04]OFD Sender: No OFD packet to send [05:44:09]OFD Sender: No OFD packet to send [05:44:14]OFD Sender: No OFD packet to send [05:44:19]OFD Sender: No OFD packet to send [05:44:24]OFD Sender: No OFD packet to send [05:44:29]OFD Sender: No OFD packet to send [05:44:34]OFD Sender: No OFD packet to send [05:44:39]OFD Sender: No OFD packet to send [05:44:44]OFD Sender: No OFD packet to send [05:44:49]OFD Sender: No OFD packet to send [05:44:54]OFD Sender: No OFD packet to send [05:44:59]OFD Sender: No OFD packet to send [05:45:04]OFD Sender: No OFD packet to send [05:45:09]OFD Sender: No OFD packet to send [05:45:14]OFD Sender: No OFD packet to send [05:45:19]OFD Sender: No OFD packet to send [05:45:24]OFD Sender: No OFD packet to send [05:45:29]OFD Sender: No OFD packet to send [05:45:34]OFD Sender: No OFD packet to send [05:45:39]OFD Sender: No OFD packet to send [05:45:44]OFD Sender: No OFD packet to send [05:45:49]OFD Sender: No OFD packet to send [05:45:54]OFD Sender: No OFD packet to send [05:45:59]OFD Sender: No OFD packet to send [05:46:04]OFD Sender: No OFD packet to send [05:46:09]OFD Sender: No OFD packet to send [05:46:14]OFD Sender: No OFD packet to send [05:46:19]OFD Sender: No OFD packet to send [05:46:24]OFD Sender: No OFD packet to send [05:46:29]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:33]accept exits with 9 [05:54:33]New connection [05:54:33]New thread 3066932580 created [05:54:33]Thread 3067075940 joined [05:54:33]Waiting for new connection... [05:54:33] Sock 9.Parse request [05:54:33]Sock 9.Check first char [05:54:33]Sock 9.First char is OK [05:54:33]request: POST /json_proto HTTP/1.0 [05:54:33]Method: POST [05:54:33]URL: /json_proto [05:54:33]Method is POST - this is cgi request [05:54:33]url: /json_proto [05:54:33]query_string will be loaded in cgi processing [05:54:33]execute_cgi json_proto POST (null) [05:54:33]execute_cgi path=json_proto method=POST [05:54:33]POST find Content-Length [05:54:33]Host: 172.17.61.6:8080 [05:54:33]Content-Length: 620 [05:54:33]Content-Type: application/json [05:54:33] [05:54:33]POST finish read [05:54:33]Found Content-Length = 620 [05:54:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58552", "tax_sys" : 0, "items" : [ { "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:54:33]execute_script... [05:54: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)58552", "tax_sys" : 0, "items" : [ { "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:54:33]POST & json_proto [05:54:33]process_json_proto [05:54:33]json parsed OK: [05:54:33]protocol is kg_v1.0 [05:54:33]action value=close_receipt [05:54:33]process_action close_receipt [05:54:33]cmd_close_receipt [05:54:33]MH_GetDate [05:54:33]Write to MH i2c: F0 00 00 42 05 36 [05:54:33]Write i2c OK [05:54:33]MH_I2C_Read... [05:54:33]Read from MH i2c: F0 [05:54:33]MH_I2C_Read... [05:54:33]Read from MH i2c: F0 09 00 [05:54:33]MH_I2C_Read... [05:54:33]Read from MH i2c: F0 09 00 42 05 00 1A 05 E8 65 78 7F 6F 64 75 [05:54:33]GetLastDocTimeStamp 1709696671 [05:54:33]current date 1709704474 [05:54:33]FM_GetShiftState [05:54:33]SAM_PROTO_GetShiftState [05:54:33]wFMCommunicate request_size=4 [05:54:33]MH_SAM_APDU [05:54:33]CAPDU: 80 13 01 00 [05:54:33]Write to MH i2c: E2 08 00 43 05 80 13 01 00 00 00 00 00 C5 [05:54:33]Write i2c OK [05:54:33]MH_I2C_Read... [05:54:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:54:33]Read from MH i2c: E2 [05:54:33]MH_I2C_Read... [05:54:33]Read from MH i2c: E2 0E 00 [05:54:33]MH_I2C_Read... [05:54:33]Read from MH i2c: E2 0E 00 43 05 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 42 [05:54:33]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [05:54:33]wFMCommunicate OK [05:54:33]SAM_PROTO_GetShiftState done [05:54:33]FM_GetShiftState done [05:54:33]opened in 1709684590 [05:54:33]opened+sec_in_day 1709770990 [05:54:33]quantity*price = 12500 [05:54:33]sum+1 = 12501 [05:54:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 13 06.03.2024 05:54 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32397 ФПД: 116238378532575 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T055434&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32397&fm=116238378532575&tin=02508201610067®Number=0000000000092554&sum=12500 0 [05:54:34]StoreToDocumentArchive [05:54:34]shift 284 fd 32397 [05:54:34]save to /storage/0284/doc_00032397 [05:54:34]save last doc name /storage/0284/doc_00032397 to /storage/kkm_last_doc_name [05:54:34]save OK [05:54:34]Clear old archive folders... [05:54:34]ProcessDocumentItem done err = 0, tmpTLVsize=273 [05:54:34]tlvbuf is 0167F150 [05:54:34]SAM_PROTO_ClearQueue [05:54:34]wFMCommunicate request_size=4 [05:54:34]MH_SAM_APDU [05:54:34]CAPDU: 80 09 00 00 [05:54:34]Write to MH i2c: E2 08 00 50 05 80 09 00 00 00 00 00 00 C7 [05:54:34]Write i2c OK [05:54:34]MH_I2C_Read... [05:54:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:54:34]Read from MH i2c: E2 [05:54:34]MH_I2C_Read... [05:54:34]Read from MH i2c: E2 03 00 [05:54:34]MH_I2C_Read... [05:54:34]Read from MH i2c: E2 03 00 50 05 00 90 00 C9 [05:54:34]RAPDU: 90 00 [05:54:34]wFMCommunicate OK [05:54:34]SAM_PROTO_ClearQueue done [05:54:34]KKMCreateOFDPacket [05:54:34]OFDProtocolAddRootSTLVToBuf [05:54:34]FM_MakeSignedData [05:54:34]FM_MakeSignedData [05:54:34]SAM_PROTO_SignData [05:54:34]wFMCommunicate request_size=4 [05:54:34]MH_SAM_APDU [05:54:34]CAPDU: 80 0D 01 02 [05:54:34]Write to MH i2c: E2 08 00 51 05 80 0D 01 02 00 00 00 00 CF [05:54:34]Write i2c OK [05:54:34]MH_I2C_Read... [05:54:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:54:34]Read from MH i2c: E2 [05:54:34]MH_I2C_Read... [05:54:34]Read from MH i2c: E2 03 00 [05:54:34]MH_I2C_Read... [05:54:34]Read from MH i2c: E2 03 00 51 05 00 90 00 CA [05:54:34]RAPDU: 90 00 [05:54:34]wFMCommunicate OK [05:54:34]wFMCommunicate request_size=255 [05:54:34]MH_SAM_APDU [05:54:34]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 1A 05 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 [05:54:34]Write to MH i2c: E2 02 01 52 05 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 1A 05 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 00 00 4E [05:54:34]Write i2c OK [05:54:34]MH_I2C_Read... [05:54:34]OFD Sender: No OFD packet to send [05:54:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:54:34]Read from MH i2c: E2 [05:54:34]MH_I2C_Read... [05:54:34]Read from MH i2c: E2 03 00 [05:54:34]MH_I2C_Read... [05:54:34]Read from MH i2c: E2 03 00 52 05 00 90 00 CB [05:54:34]RAPDU: 90 00 [05:54:34]wFMCommunicate OK [05:54:34]wFMCommunicate request_size=32 [05:54:34]MH_SAM_APDU [05:54:34]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 37 38 33 10 04 04 00 8D 7E 00 00 35 04 06 00 69 B7 DB 42 FE DF [05:54:34]Write to MH i2c: E2 23 00 53 05 80 0D 02 02 1B 00 30 30 30 38 37 31 37 38 33 10 04 04 00 8D 7E 00 00 35 04 06 00 69 B7 DB 42 FE DF 00 00 56 [05:54:34]Write i2c OK [05:54:34]MH_I2C_Read... [05:54:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:54:34]Read from MH i2c: E2 [05:54:34]MH_I2C_Read... [05:54:34]Read from MH i2c: E2 03 00 [05:54:34]MH_I2C_Read... [05:54:34]Read from MH i2c: E2 03 00 53 05 00 90 00 CC [05:54:34]RAPDU: 90 00 [05:54:34]wFMCommunicate OK [05:54:34]wFMCommunicate request_size=4 [05:54:34]MH_SAM_APDU [05:54:34]CAPDU: 80 0D 03 02 [05:54:34]Write to MH i2c: E2 08 00 54 05 80 0D 03 02 00 00 00 00 D4 [05:54:34]Write i2c OK [05:54:34]MH_I2C_Read... [05:54:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:54:34]Read from MH i2c: E2 [05:54:34]MH_I2C_Read... [05:54:34]Read from MH i2c: E2 0B 00 [05:54:34]MH_I2C_Read... [05:54:34]Read from MH i2c: E2 0B 00 54 05 00 59 06 22 9F E4 B0 CE 41 90 00 98 [05:54:34]RAPDU: 59 06 22 9F E4 B0 CE 41 90 00 [05:54:34]wFMCommunicate OK [05:54:34]SAM_PROTO_SignData done [05:54:34]FM_MakeSignedData done [05:54:34]CreateOFDProtocolMessage [05:54:34]wFMCommunicate request_size=4 [05:54:34]MH_SAM_APDU [05:54:34]CAPDU: 80 11 00 00 [05:54:34]Write to MH i2c: E2 08 00 55 05 80 11 00 00 00 00 00 00 D4 [05:54:34]Write i2c OK [05:54:34]MH_I2C_Read... [05:54:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:54:34]Read from MH i2c: E2 [05:54:34]MH_I2C_Read... [05:54:34]Read from MH i2c: E2 17 00 [05:54:34]MH_I2C_Read... [05:54:34]Read from MH i2c: E2 17 00 55 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 29 [05:54:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [05:54:34]wFMCommunicate OK [05:54:34]CreateOFDProtocolMessage done [05:54:34]OFDSenderStorePacket 32397 [05:54:34]StoreOFDPacket docnum=32397 [05:54:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 25 01 00 00 A8 68 1D 01 DB 44 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 1A 05 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 8D 7E 00 00 35 04 06 00 69 B7 DB 42 FE DF 59 06 22 9F E4 B0 CE 41 [05:54:34]CheckFolder [05:54:34]dirname=/storage/ofd_packets [05:54:34]CheckFolder done [05:54:34]ProducePacketName [05:54:34]name=ofd_packets/00032397 [05:54:34]NVStorageSaveData ofd_packets/00032397 [05:54:34]File name is /storage/ofd_packets/00032397 [05:54:34]Write 323 bytes [05:54:34]NVStorageSaveData done [05:54:34]OFDSenderStorePacket done [05:54:34]KKMCreateOFDPacket done [05:54:34]NVStorageSaveData kkm_last_timestamp [05:54:34]File name is /storage/kkm_last_timestamp [05:54:34]Write 4 bytes [05:54:34]NVStorageSaveData done [05:54:34]ExternCall_PrintAddStr [05:54:34]wPrintStart [05:54:34]Write to MH i2c: 01 00 00 56 05 5B [05:54:34]Write i2c OK [05:54:34]MH_I2C_Read... [05:54:34]Read from MH i2c: 01 [05:54:34]MH_I2C_Read... [05:54:34]Read from MH i2c: 01 07 00 [05:54:34]MH_I2C_Read... [05:54:34]Read from MH i2c: 01 07 00 56 05 00 00 00 00 00 FF 0F 70 [05:54:34]RasterBufferAndPrint [05:54:34]line Счет N : (3)58552 [05:54:34]line ИНН: 02508201610067 [05:54:34]line Контрольно-Кассовый Чек [05:54:34]line ПРОДАЖА [05:54:34]line Товар: 4780014240406 [05:54:34]line Сигареты Sovereign Blue [05:54:34]line 1.000 * 125.00 [05:54:34]line = 125.00 [05:54:34]line НДС 12% НСП 1% [05:54:34]line > о реализуемом товаре [05:54:34]line ИТОГО: 125.00 [05:54:34]line НСП 1% : 1.11 [05:54:34]line НДС 12% : 13.27 [05:54:34]line Наличными: 125.00 [05:54:34]line Безнал.: 0.00 [05:54:34]line Место: АЗС № 99 "Партнер Нефть" [05:54:34]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [05:54:34]line СНО: Общий режим [05:54:34]line Чек 13 06.03.2024 05:54 [05:54:34]line Смена: 284 ФФД: 1.0 [05:54:34]line ЗНМ: 0300000074 [05:54:35]line РНМ: 0000000000092554 [05:54:35]line Версия ККМ: 001 [05:54:35]line ФМ: 0000000000871783 [05:54:35]line ФД: 32397 [05:54:35]line ФПД: 116238378532575 [05:54:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T055434&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32397&fm=116238378532575&tin=02508201610067®Number=0000000000092554&sum=12500 [05:54:35]line 0 [05:54:35]OFD Sender: Processing packet 32397 [packets to send 5, broken 4] [05:54:35]ProducePacketName [05:54:35]name=ofd_packets/00032397 [05:54:35]OFD Sender: To server: pG, [05:54:35]CommunicateWithHost lk.salyk.kg:30040 [05:54:35]ConnectInit lk.salyk.kg [05:54:35]written 0, free lines is 4095 [05:54:35]Connected sock=10 [05:54:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 25 01 00 00 A8 68 1D 01 DB 44 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 1A 05 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 8D 7E 00 00 35 04 06 00 69 B7 DB 42 FE DF 59 06 22 9F E4 B0 CE 41 [05:54:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 E0 AA 47 00 4F E5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 8D 7E 00 00 F4 03 04 00 53 AD E7 65 B6 04 01 00 00 B0 91 6C 28 83 41 F7 4E [05:54:35]CommunicateWithHost err = 0 [05:54:35]CheckOFDResponse [05:54:35]1017 (14) - 77093643461234 [05:54:35]1041 (16) - 0000000000871783 [05:54:35]1040 (4) - 32397 [05:54:35]1012 (4) - 05.03.2024 23:40 [05:54:35]1206 (1) - 0 [05:54:35]OFD Sender: Remove packet 32397 [05:54:35]ProducePacketName [05:54:35]name=ofd_packets/00032397 [05:54:35]NVStorageDeleteData [05:54:35]Write to MH i2c: 01 00 00 7E 05 83 [05:54:35]Write i2c OK [05:54:35]MH_I2C_Read... [05:54:35]Read from MH i2c: 01 [05:54:35]MH_I2C_Read... [05:54:35]Read from MH i2c: 01 07 00 [05:54:35]MH_I2C_Read... [05:54:35]Read from MH i2c: 01 07 00 7E 05 00 00 00 00 00 D7 0C 6D [05:54:35]RasterBufferAndPrint [05:54:35]line [05:54:35]line [05:54:35]line [05:54:35]line [05:54:35]line [05:54:35]written 0, free lines is 3294 [05:54:35]MH_Cut [05:54:35]Write to MH i2c: D1 01 00 85 05 01 5C [05:54:35]Write i2c OK [05:54:35]MH_I2C_Read... [05:54:35]Read from MH i2c: D1 [05:54:35]MH_I2C_Read... [05:54:35]Read from MH i2c: D1 01 00 [05:54:35]MH_I2C_Read... [05:54:35]Read from MH i2c: D1 01 00 85 05 00 5B [05:54:35]Write to MH i2c: 01 00 00 86 05 8B [05:54:35]Write i2c OK [05:54:35]MH_I2C_Read... [05:54:36]OFD Sender: No OFD packet to send [05:54:36]*** Cut start [05:54:36]*** Partial cut [05:54:36]*** CUTSNS_PIN = 1 [05:54:36]*** CUTSNS_PIN = 0 [05:54:36]*** Brake cut motor [05:54:37]Read from MH i2c: 01 [05:54:37]MH_I2C_Read... [05:54:37]*** Stop cut motor [05:54:37]*** Cut end [05:54:37]Read from MH i2c: 01 07 00 [05:54:37]MH_I2C_Read... [05:54:37]Read from MH i2c: 01 07 00 86 05 00 00 00 00 00 FF 0F A0 [05:54:37]process_action close_receipt done [05:54:37]requested_data is exist [05:54:37]produce_requested_data [05:54:37]requested_item fm.sn is exist - process it [05:54:37]wFMCommunicate request_size=4 [05:54:37]MH_SAM_APDU [05:54:37]CAPDU: 80 11 00 00 [05:54:37]Write to MH i2c: E2 08 00 87 05 80 11 00 00 00 00 00 00 06 [05:54:37]Write i2c OK [05:54:37]MH_I2C_Read... [05:54:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:54:37]Read from MH i2c: E2 [05:54:37]MH_I2C_Read... [05:54:37]Read from MH i2c: E2 17 00 [05:54:37]MH_I2C_Read... [05:54:37]Read from MH i2c: E2 17 00 87 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 5B [05:54:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [05:54:37]wFMCommunicate OK [05:54:37]requested_item fd.num is exist - process it [05:54:37]SAM_PROTO_GetFieldsCounters [05:54:37]wFMCommunicate request_size=4 [05:54:37]MH_SAM_APDU [05:54:37]CAPDU: 80 13 00 00 [05:54:37]Write to MH i2c: E2 08 00 88 05 80 13 00 00 00 00 00 00 09 [05:54:37]Write i2c OK [05:54:37]MH_I2C_Read... [05:54:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:54:37]Read from MH i2c: E2 [05:54:37]MH_I2C_Read... [05:54:37]Read from MH i2c: E2 62 00 [05:54:37]MH_I2C_Read... [05:54:37]Read from MH i2c: E2 62 00 88 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 8D 7E 00 00 0E 04 04 00 1C 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 7B [05:54:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 8D 7E 00 00 0E 04 04 00 1C 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 [05:54:37]wFMCommunicate OK [05:54:37]SAM_PROTO_GetFieldsCounters done [05:54:37]requested_item shift.num is exist - process it [05:54:37]requested_item shift.opened is exist - process it [05:54:37]req_shift_opened [05:54:37]FM_GetShiftState [05:54:37]SAM_PROTO_GetShiftState [05:54:37]wFMCommunicate request_size=4 [05:54:37]MH_SAM_APDU [05:54:37]CAPDU: 80 13 01 00 [05:54:37]Write to MH i2c: E2 08 00 89 05 80 13 01 00 00 00 00 00 0B [05:54:37]Write i2c OK [05:54:37]MH_I2C_Read... [05:54:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:54:37]Read from MH i2c: E2 [05:54:37]MH_I2C_Read... [05:54:37]Read from MH i2c: E2 0E 00 [05:54:37]MH_I2C_Read... [05:54:37]Read from MH i2c: E2 0E 00 89 05 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 88 [05:54:37]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [05:54:37]wFMCommunicate OK [05:54:37]SAM_PROTO_GetShiftState done [05:54:37]FM_GetShiftState done [05:54:37]req_shift_opened done [05:54:37]requested_item shift.open_date is exist - process it [05:54:37]req_shift_open_date [05:54:37]req_shift_open_date done [05:54:37]produce_requested_data done [05:54:37]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32397,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [05:54:37]process_action_free close_receipt [05:54:37]json_value_free [05:54:37]json_value_free done [05:54:37]process_json_proto returns [05:54:37]Send response to host [05:54:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32397,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [05:54:37]free response buf [05:54:37]execute_script done [05:54:37]execute_script returns [05:54:37]free content buf [05:54:37]Sock 9.Close socket [05:54:37]Sock 9.Thread stoped [05:54:41]OFD Sender: No OFD packet to send [05:54:46]OFD Sender: No OFD packet to send [05:54:51]OFD Sender: No OFD packet to send [05:54:56]OFD Sender: No OFD packet to send [05:55:01]OFD Sender: No OFD packet to send [05:55:06]OFD Sender: No OFD packet to send [05:55:11]OFD Sender: No OFD packet to send [05:55:16]OFD Sender: No OFD packet to send [05:55:21]OFD Sender: No OFD packet to send [05:55:26]OFD Sender: No OFD packet to send [05:55:31]OFD Sender: No OFD packet to send [05:55:36]OFD Sender: No OFD packet to send [05:55:41]OFD Sender: No OFD packet to send [05:55:46]OFD Sender: No OFD packet to send [05:55:51]OFD Sender: No OFD packet to send [05:55:56]OFD Sender: No OFD packet to send [05:56:01]OFD Sender: No OFD packet to send [05:56:06]OFD Sender: No OFD packet to send [05:56:11]OFD Sender: No OFD packet to send [05:56:16]OFD Sender: No OFD packet to send [05:56:21]OFD Sender: No OFD packet to send [05:56:26]OFD Sender: No OFD packet to send [05:56:31]OFD Sender: No OFD packet to send [05:56:36]OFD Sender: No OFD packet to send [05:56:41]OFD Sender: No OFD packet to send [05:56:46]OFD Sender: No OFD packet to send [05:56:51]OFD Sender: No OFD packet to send [05:56:56]OFD Sender: No OFD packet to send [05:57:01]OFD Sender: No OFD packet to send [05:57:06]OFD Sender: No OFD packet to send [05:57:11]OFD Sender: No OFD packet to send [05:57:16]OFD Sender: No OFD packet to send [05:57:21]OFD Sender: No OFD packet to send [05:57:26]OFD Sender: No OFD packet to send [05:57:31]OFD Sender: No OFD packet to send [05:57:36]OFD Sender: No OFD packet to send [05:57:41]OFD Sender: No OFD packet to send [05:57:46]OFD Sender: No OFD packet to send [05:57:51]OFD Sender: No OFD packet to send [05:57:56]OFD Sender: No OFD packet to send [05:58:01]OFD Sender: No OFD packet to send [05:58:06]OFD Sender: No OFD packet to send [05:58:11]OFD Sender: No OFD packet to send [05:58:16]OFD Sender: No OFD packet to send [05:58:21]OFD Sender: No OFD packet to send [05:58:26]OFD Sender: No OFD packet to send [05:58:31]OFD Sender: No OFD packet to send [05:58:36]OFD Sender: No OFD packet to send [05:58:41]OFD Sender: No OFD packet to send [05:58:46]OFD Sender: No OFD packet to send [05:58:51]OFD Sender: No OFD packet to send [05:58:56]OFD Sender: No OFD packet to send [05:59:01]OFD Sender: No OFD packet to send [05:59:06]OFD Sender: No OFD packet to send [05:59:11]OFD Sender: No OFD packet to send [05:59:16]OFD Sender: No OFD packet to send [05:59:21]OFD Sender: No OFD packet to send [05:59:26]OFD Sender: No OFD packet to send [05:59:31]OFD Sender: No OFD packet to send [05:59:36]OFD Sender: No OFD packet to send [05:59:41]OFD Sender: No OFD packet to send [05:59:46]OFD Sender: No OFD packet to send [05:59:51]OFD Sender: No OFD packet to send [05:59:56]OFD Sender: No OFD packet to send [06:00:01]OFD Sender: No OFD packet to send [06:00:06]OFD Sender: No OFD packet to send [06:00:11]OFD Sender: No OFD packet to send [06:00:16]OFD Sender: No OFD packet to send [06:00:21]OFD Sender: No OFD packet to send [06:00:26]OFD Sender: No OFD packet to send [06:00:31]OFD Sender: No OFD packet to send [06:00:36]OFD Sender: No OFD packet to send [06:00:41]OFD Sender: No OFD packet to send [06:00:46]OFD Sender: No OFD packet to send [06:00:51]OFD Sender: No OFD packet to send [06:00:56]OFD Sender: No OFD packet to send [06:01:01]OFD Sender: No OFD packet to send [06:01:06]OFD Sender: No OFD packet to send [06:01:11]OFD Sender: No OFD packet to send [06:01:16]OFD Sender: No OFD packet to send [06:01:21]OFD Sender: No OFD packet to send [06:01:26]OFD Sender: No OFD packet to send [06:01:31]OFD Sender: No OFD packet to send [06:01:36]OFD Sender: No OFD packet to send [06:01:41]OFD Sender: No OFD packet to send [06:01:46]OFD Sender: No OFD packet to send [06:01:51]OFD Sender: No OFD packet to send [06:01:56]OFD Sender: No OFD packet to send [06:02:01]OFD Sender: No OFD packet to send [06:02:06]OFD Sender: No OFD packet to send [06:02:11]OFD Sender: No OFD packet to send [06:02:16]OFD Sender: No OFD packet to send [06:02:21]OFD Sender: No OFD packet to send [06:02:26]OFD Sender: No OFD packet to send [06:02:31]OFD Sender: No OFD packet to send [06:02:36]OFD Sender: No OFD packet to send [06:02:41]OFD Sender: No OFD packet to send [06:02:46]OFD Sender: No OFD packet to send [06:02:51]OFD Sender: No OFD packet to send [06:02:56]OFD Sender: No OFD packet to send [06:03:01]OFD Sender: No OFD packet to send [06:03:06]OFD Sender: No OFD packet to send [06:03:11]OFD Sender: No OFD packet to send [06:03:16]OFD Sender: No OFD packet to send [06:03:21]OFD Sender: No OFD packet to send [06:03:26]OFD Sender: No OFD packet to send [06:03:31]OFD Sender: No OFD packet to send [06:03:36]OFD Sender: No OFD packet to send [06:03:41]OFD Sender: No OFD packet to send [06:03:46]OFD Sender: No OFD packet to send [06:03:51]OFD Sender: No OFD packet to send [06:03:56]OFD Sender: No OFD packet to send [06:04:01]OFD Sender: No OFD packet to send [06:04:06]OFD Sender: No OFD packet to send [06:04:11]OFD Sender: No OFD packet to send [06:04:16]OFD Sender: No OFD packet to send [06:04:21]OFD Sender: No OFD packet to send [06:04:26]OFD Sender: No OFD packet to send [06:04:31]OFD Sender: No OFD packet to send [06:04:36]OFD Sender: No OFD packet to send [06:04:41]OFD Sender: No OFD packet to send [06:04:46]OFD Sender: No OFD packet to send [06:04:51]OFD Sender: No OFD packet to send [06:04:56]OFD Sender: No OFD packet to send [06:05:01]OFD Sender: No OFD packet to send [06:05:06]OFD Sender: No OFD packet to send [06:05:11]OFD Sender: No OFD packet to send [06:05:16]OFD Sender: No OFD packet to send [06:05:21]OFD Sender: No OFD packet to send [06:05:26]OFD Sender: No OFD packet to send [06:05:31]OFD Sender: No OFD packet to send [06:05:36]OFD Sender: No OFD packet to send [06:05:41]OFD Sender: No OFD packet to send [06:05:46]OFD Sender: No OFD packet to send [06:05:51]OFD Sender: No OFD packet to send [06:05:56]OFD Sender: No OFD packet to send [06:06:01]OFD Sender: No OFD packet to send [06:06:06]OFD Sender: No OFD packet to send [06:06:11]OFD Sender: No OFD packet to send [06:06:16]OFD Sender: No OFD packet to send [06:06:21]OFD Sender: No OFD packet to send [06:06:26]OFD Sender: No OFD packet to send [06:06:31]OFD Sender: No OFD packet to send [06:06:36]OFD Sender: No OFD packet to send [06:06:41]OFD Sender: No OFD packet to send [06:06:46]OFD Sender: No OFD packet to send [06:06:51]OFD Sender: No OFD packet to send [06:06:56]OFD Sender: No OFD packet to send [06:07:01]OFD Sender: No OFD packet to send [06:07:06]OFD Sender: No OFD packet to send [06:07:11]OFD Sender: No OFD packet to send [06:07:16]OFD Sender: No OFD packet to send [06:07:21]OFD Sender: No OFD packet to send [06:07:26]OFD Sender: No OFD packet to send [06:07:31]OFD Sender: No OFD packet to send [06:07:36]OFD Sender: No OFD packet to send [06:07:41]OFD Sender: No OFD packet to send [06:07:46]OFD Sender: No OFD packet to send [06:07:51]OFD Sender: No OFD packet to send [06:07:56]OFD Sender: No OFD packet to send [06:08:01]OFD Sender: No OFD packet to send [06:08:06]OFD Sender: No OFD packet to send [06:08:11]OFD Sender: No OFD packet to send [06:08:16]OFD Sender: No OFD packet to send [06:08:21]OFD Sender: No OFD packet to send [06:08:26]OFD Sender: No OFD packet to send [06:08:31]OFD Sender: No OFD packet to send [06:08:36]OFD Sender: No OFD packet to send [06:08:41]OFD Sender: No OFD packet to send [06:08:46]OFD Sender: No OFD packet to send [06:08:51]OFD Sender: No OFD packet to send [06:08:56]OFD Sender: No OFD packet to send [06:09:01]OFD Sender: No OFD packet to send [06:09:06]OFD Sender: No OFD packet to send [06:09:11]OFD Sender: No OFD packet to send [06:09:16]OFD Sender: No OFD packet to send [06:09:21]OFD Sender: No OFD packet to send [06:09:26]OFD Sender: No OFD packet to send [06:09:31]OFD Sender: No OFD packet to send [06:09:36]OFD Sender: No OFD packet to send [06:09:41]OFD Sender: No OFD packet to send [06:09:46]OFD Sender: No OFD packet to send [06:09:51]OFD Sender: No OFD packet to send [06:09:56]OFD Sender: No OFD packet to send [06:10:01]OFD Sender: No OFD packet to send [06:10:06]OFD Sender: No OFD packet to send [06:10:11]OFD Sender: No OFD packet to send [06:10:16]OFD Sender: No OFD packet to send [06:10:21]OFD Sender: No OFD packet to send [06:10:26]OFD Sender: No OFD packet to send [06:10:31]OFD Sender: No OFD packet to send [06:10:36]OFD Sender: No OFD packet to send [06:10:41]OFD Sender: No OFD packet to send [06:10:46]OFD Sender: No OFD packet to send [06:10:51]OFD Sender: No OFD packet to send [06:10:56]OFD Sender: No OFD packet to send [06:11:01]OFD Sender: No OFD packet to send [06:11:06]OFD Sender: No OFD packet to send [06:11:11]OFD Sender: No OFD packet to send [06:11:16]OFD Sender: No OFD packet to send [06:11:21]OFD Sender: No OFD packet to send [06:11:26]OFD Sender: No OFD packet to send [06:11:31]OFD Sender: No OFD packet to send [06:11:36]OFD Sender: No OFD packet to send [06:11:41]OFD Sender: No OFD packet to send [06:11:46]OFD Sender: No OFD packet to send [06:11:51]OFD Sender: No OFD packet to send [06:11:56]OFD Sender: No OFD packet to send [06:12:01]OFD Sender: No OFD packet to send [06:12:06]OFD Sender: No OFD packet to send [06:12:11]OFD Sender: No OFD packet to send [06:12:16]OFD Sender: No OFD packet to send [06:12:21]OFD Sender: No OFD packet to send [06:12:26]OFD Sender: No OFD packet to send [06:12:31]OFD Sender: No OFD packet to send [06:12:36]OFD Sender: No OFD packet to send [06:12:41]OFD Sender: No OFD packet to send [06:12:46]OFD Sender: No OFD packet to send [06:12:51]OFD Sender: No OFD packet to send [06:12:56]OFD Sender: No OFD packet to send [06:13:01]OFD Sender: No OFD packet to send [06:13:06]OFD Sender: No OFD packet to send [06:13:11]OFD Sender: No OFD packet to send [06:13:16]OFD Sender: No OFD packet to send [06:13:21]OFD Sender: No OFD packet to send [06:13:26]OFD Sender: No OFD packet to send [06:13:31]OFD Sender: No OFD packet to send [06:13:36]OFD Sender: No OFD packet to send [06:13:41]OFD Sender: No OFD packet to send [06:13:46]OFD Sender: No OFD packet to send [06:13:51]OFD Sender: No OFD packet to send [06:13:56]OFD Sender: No OFD packet to send [06:14:01]OFD Sender: No OFD packet to send [06:14:06]OFD Sender: No OFD packet to send [06:14:11]OFD Sender: No OFD packet to send [06:14:16]OFD Sender: No OFD packet to send [06:14:21]OFD Sender: No OFD packet to send [06:14:26]OFD Sender: No OFD packet to send [06:14:31]OFD Sender: No OFD packet to send [06:14:36]OFD Sender: No OFD packet to send [06:14:41]OFD Sender: No OFD packet to send [06:14:46]OFD Sender: No OFD packet to send [06:14:51]OFD Sender: No OFD packet to send [06:14:56]OFD Sender: No OFD packet to send [06:15:01]OFD Sender: No OFD packet to send [06:15:06]OFD Sender: No OFD packet to send [06:15:11]OFD Sender: No OFD packet to send [06:15:16]OFD Sender: No OFD packet to send [06:15:21]OFD Sender: No OFD packet to send [06:15:26]OFD Sender: No OFD packet to send [06:15:31]OFD Sender: No OFD packet to send [06:15:36]OFD Sender: No OFD packet to send [06:15:41]OFD Sender: No OFD packet to send [06:15:46]OFD Sender: No OFD packet to send [06:15:52]OFD Sender: No OFD packet to send [06:15:57]OFD Sender: No OFD packet to send [06:16:02]OFD Sender: No OFD packet to send [06:16:07]OFD Sender: No OFD packet to send [06:16:12]OFD Sender: No OFD packet to send [06:16:17]OFD Sender: No OFD packet to send [06:16:22]OFD Sender: No OFD packet to send [06:16:27]OFD Sender: No OFD packet to send [06:16:32]OFD Sender: No OFD packet to send [06:16:37]OFD Sender: No OFD packet to send [06:16:42]OFD Sender: No OFD packet to send [06:16:47]OFD Sender: No OFD packet to send [06:16:52]OFD Sender: No OFD packet to send [06:16:57]OFD Sender: No OFD packet to send [06:17:02]OFD Sender: No OFD packet to send [06:17:07]OFD Sender: No OFD packet to send [06:17:12]OFD Sender: No OFD packet to send [06:17:17]OFD Sender: No OFD packet to send [06:17:22]OFD Sender: No OFD packet to send [06:17:27]OFD Sender: No OFD packet to send [06:17:32]OFD Sender: No OFD packet to send [06:17:37]OFD Sender: No OFD packet to send [06:17:42]OFD Sender: No OFD packet to send [06:17:47]OFD Sender: No OFD packet to send [06:17:52]OFD Sender: No OFD packet to send [06:17:57]OFD Sender: No OFD packet to send [06:18:02]OFD Sender: No OFD packet to send [06:18:07]OFD Sender: No OFD packet to send [06:18:12]OFD Sender: No OFD packet to send [06:18:17]OFD Sender: No OFD packet to send [06:18:22]OFD Sender: No OFD packet to send [06:18:27]OFD Sender: No OFD packet to send [06:18:32]OFD Sender: No OFD packet to send [06:18:37]OFD Sender: No OFD packet to send [06:18:42]OFD Sender: No OFD packet to send [06:18:47]OFD Sender: No OFD packet to send [06:18:52]OFD Sender: No OFD packet to send [06:18:57]OFD Sender: No OFD packet to send [06:19:02]OFD Sender: No OFD packet to send [06:19:07]OFD Sender: No OFD packet to send [06:19:12]OFD Sender: No OFD packet to send [06:19:17]OFD Sender: No OFD packet to send [06:19:22]OFD Sender: No OFD packet to send [06:19:27]OFD Sender: No OFD packet to send [06:19:32]OFD Sender: No OFD packet to send [06:19:37]OFD Sender: No OFD packet to send [06:19:42]OFD Sender: No OFD packet to send [06:19:47]OFD Sender: No OFD packet to send [06:19:52]OFD Sender: No OFD packet to send [06:19:57]OFD Sender: No OFD packet to send [06:20:02]OFD Sender: No OFD packet to send [06:20:07]OFD Sender: No OFD packet to send [06:20:12]OFD Sender: No OFD packet to send [06:20:17]OFD Sender: No OFD packet to send [06:20:22]OFD Sender: No OFD packet to send [06:20:27]OFD Sender: No OFD packet to send [06:20:32]OFD Sender: No OFD packet to send [06:20:37]OFD Sender: No OFD packet to send [06:20:42]OFD Sender: No OFD packet to send [06:20:47]OFD Sender: No OFD packet to send [06:20:52]OFD Sender: No OFD packet to send [06:20:57]OFD Sender: No OFD packet to send [06:21:02]OFD Sender: No OFD packet to send [06:21:07]OFD Sender: No OFD packet to send [06:21:12]OFD Sender: No OFD packet to send [06:21:17]OFD Sender: No OFD packet to send [06:21:22]OFD Sender: No OFD packet to send [06:21:27]OFD Sender: No OFD packet to send [06:21:32]OFD Sender: No OFD packet to send [06:21:37]OFD Sender: No OFD packet to send [06:21:42]OFD Sender: No OFD packet to send [06:21:47]OFD Sender: No OFD packet to send [06:21:52]OFD Sender: No OFD packet to send [06:21:57]OFD Sender: No OFD packet to send [06:22:02]OFD Sender: No OFD packet to send [06:22:07]OFD Sender: No OFD packet to send [06:22:12]OFD Sender: No OFD packet to send [06:22:17]OFD Sender: No OFD packet to send [06:22:22]OFD Sender: No OFD packet to send [06:22:27]OFD Sender: No OFD packet to send [06:22:32]OFD Sender: No OFD packet to send [06:22:37]OFD Sender: No OFD packet to send [06:22:42]OFD Sender: No OFD packet to send [06:22:47]OFD Sender: No OFD packet to send [06:22:52]OFD Sender: No OFD packet to send [06:22:57]OFD Sender: No OFD packet to send [06:23:02]OFD Sender: No OFD packet to send [06:23:07]OFD Sender: No OFD packet to send [06:23:12]OFD Sender: No OFD packet to send [06:23:17]OFD Sender: No OFD packet to send [06:23:22]OFD Sender: No OFD packet to send [06:23:27]OFD Sender: No OFD packet to send [06:23:32]OFD Sender: No OFD packet to send [06:23:37]OFD Sender: No OFD packet to send [06:23:42]OFD Sender: No OFD packet to send [06:23:47]OFD Sender: No OFD packet to send [06:23:52]OFD Sender: No OFD packet to send [06:23:57]OFD Sender: No OFD packet to send [06:24:02]OFD Sender: No OFD packet to send [06:24:07]OFD Sender: No OFD packet to send [06:24:12]OFD Sender: No OFD packet to send [06:24:17]OFD Sender: No OFD packet to send [06:24:22]OFD Sender: No OFD packet to send [06:24:27]OFD Sender: No OFD packet to send [06:24:32]OFD Sender: No OFD packet to send [06:24:37]OFD Sender: No OFD packet to send [06:24:42]OFD Sender: No OFD packet to send [06:24:47]OFD Sender: No OFD packet to send [06:24:52]OFD Sender: No OFD packet to send [06:24:57]OFD Sender: No OFD packet to send [06:25:02]OFD Sender: No OFD packet to send [06:25:07]OFD Sender: No OFD packet to send [06:25:12]OFD Sender: No OFD packet to send [06:25:17]OFD Sender: No OFD packet to send [06:25:22]OFD Sender: No OFD packet to send [06:25:27]OFD Sender: No OFD packet to send [06:25:32]OFD Sender: No OFD packet to send [06:25:37]OFD Sender: No OFD packet to send [06:25:42]OFD Sender: No OFD packet to send [06:25:47]OFD Sender: No OFD packet to send [06:25:52]OFD Sender: No OFD packet to send [06:25:57]OFD Sender: No OFD packet to send [06:26:02]OFD Sender: No OFD packet to send [06:26:07]OFD Sender: No OFD packet to send [06:26:12]OFD Sender: No OFD packet to send [06:26:17]OFD Sender: No OFD packet to send [06:26:22]OFD Sender: No OFD packet to send [06:26:27]OFD Sender: No OFD packet to send [06:26:32]OFD Sender: No OFD packet to send [06:26:37]OFD Sender: No OFD packet to send [06:26:42]OFD Sender: No OFD packet to send [06:26:47]OFD Sender: No OFD packet to send [06:26:52]OFD Sender: No OFD packet to send [06:26:57]OFD Sender: No OFD packet to send [06:27:02]OFD Sender: No OFD packet to send [06:27:07]OFD Sender: No OFD packet to send [06:27:12]OFD Sender: No OFD packet to send [06:27:17]OFD Sender: No OFD packet to send [06:27:22]OFD Sender: No OFD packet to send [06:27:27]OFD Sender: No OFD packet to send [06:27:32]OFD Sender: No OFD packet to send [06:27:37]OFD Sender: No OFD packet to send [06:27:42]OFD Sender: No OFD packet to send [06:27:47]OFD Sender: No OFD packet to send [06:27:52]OFD Sender: No OFD packet to send [06:27:57]OFD Sender: No OFD packet to send [06:28:02]OFD Sender: No OFD packet to send [06:28:07]OFD Sender: No OFD packet to send [06:28:12]OFD Sender: No OFD packet to send [06:28:17]OFD Sender: No OFD packet to send [06:28:22]OFD Sender: No OFD packet to send [06:28:27]OFD Sender: No OFD packet to send [06:28:32]OFD Sender: No OFD packet to send [06:28:37]OFD Sender: No OFD packet to send [06:28:42]OFD Sender: No OFD packet to send [06:28:47]OFD Sender: No OFD packet to send [06:28:52]OFD Sender: No OFD packet to send [06:28:57]OFD Sender: No OFD packet to send [06:29:02]OFD Sender: No OFD packet to send [06:29:07]OFD Sender: No OFD packet to send [06:29:12]OFD Sender: No OFD packet to send [06:29:17]OFD Sender: No OFD packet to send [06:29:22]OFD Sender: No OFD packet to send [06:29:27]OFD Sender: No OFD packet to send [06:29:32]OFD Sender: No OFD packet to send [06:29:37]OFD Sender: No OFD packet to send [06:29:42]OFD Sender: No OFD packet to send [06:29:47]OFD Sender: No OFD packet to send [06:29:52]OFD Sender: No OFD packet to send [06:29:57]OFD Sender: No OFD packet to send [06:30:02]OFD Sender: No OFD packet to send [06:30:07]OFD Sender: No OFD packet to send [06:30:12]OFD Sender: No OFD packet to send [06:30:17]OFD Sender: No OFD packet to send [06:30:22]OFD Sender: No OFD packet to send [06:30:27]OFD Sender: No OFD packet to send [06:30:32]OFD Sender: No OFD packet to send [06:30:37]OFD Sender: No OFD packet to send [06:30:42]OFD Sender: No OFD packet to send [06:30:47]OFD Sender: No OFD packet to send [06:30:52]OFD Sender: No OFD packet to send [06:30:57]OFD Sender: No OFD packet to send [06:31:02]OFD Sender: No OFD packet to send [06:31:07]OFD Sender: No OFD packet to send [06:31:12]OFD Sender: No OFD packet to send [06:31:17]OFD Sender: No OFD packet to send [06:31:22]OFD Sender: No OFD packet to send [06:31:27]OFD Sender: No OFD packet to send [06:31:32]OFD Sender: No OFD packet to send [06:31:37]OFD Sender: No OFD packet to send [06:31:42]OFD Sender: No OFD packet to send [06:31:47]OFD Sender: No OFD packet to send [06:31:52]OFD Sender: No OFD packet to send [06:31:57]OFD Sender: No OFD packet to send [06:32:02]OFD Sender: No OFD packet to send [06:32:07]OFD Sender: No OFD packet to send [06:32:12]OFD Sender: No OFD packet to send [06:32:17]OFD Sender: No OFD packet to send [06:32:22]OFD Sender: No OFD packet to send [06:32:27]OFD Sender: No OFD packet to send [06:32:32]OFD Sender: No OFD packet to send [06:32:37]OFD Sender: No OFD packet to send [06:32:42]OFD Sender: No OFD packet to send [06:32:47]OFD Sender: No OFD packet to send [06:32:52]OFD Sender: No OFD packet to send [06:32:57]OFD Sender: No OFD packet to send [06:33:02]OFD Sender: No OFD packet to send [06:33:07]OFD Sender: No OFD packet to send [06:33:12]OFD Sender: No OFD packet to send [06:33:17]OFD Sender: No OFD packet to send [06:33:22]OFD Sender: No OFD packet to send [06:33:27]OFD Sender: No OFD packet to send [06:33:32]OFD Sender: No OFD packet to send [06:33:37]OFD Sender: No OFD packet to send [06:33:42]OFD Sender: No OFD packet to send [06:33:47]OFD Sender: No OFD packet to send [06:33:52]OFD Sender: No OFD packet to send [06:33:57]OFD Sender: No OFD packet to send [06:34:02]OFD Sender: No OFD packet to send [06:34:07]OFD Sender: No OFD packet to send [06:34:12]OFD Sender: No OFD packet to send [06:34:17]OFD Sender: No OFD packet to send [06:34:22]OFD Sender: No OFD packet to send [06:34:27]OFD Sender: No OFD packet to send [06:34:32]OFD Sender: No OFD packet to send [06:34:37]OFD Sender: No OFD packet to send [06:34:42]OFD Sender: No OFD packet to send [06:34:47]OFD Sender: No OFD packet to send [06:34:52]OFD Sender: No OFD packet to send [06:34:57]OFD Sender: No OFD packet to send [06:35:02]OFD Sender: No OFD packet to send [06:35:07]OFD Sender: No OFD packet to send [06:35:12]OFD Sender: No OFD packet to send [06:35:17]OFD Sender: No OFD packet to send [06:35:22]OFD Sender: No OFD packet to send [06:35:27]OFD Sender: No OFD packet to send [06:35:32]OFD Sender: No OFD packet to send [06:35:37]OFD Sender: No OFD packet to send [06:35:42]OFD Sender: No OFD packet to send [06:35:47]OFD Sender: No OFD packet to send [06:35:52]OFD Sender: No OFD packet to send [06:35:57]OFD Sender: No OFD packet to send [06:36:02]OFD Sender: No OFD packet to send [06:36:07]OFD Sender: No OFD packet to send [06:36:12]OFD Sender: No OFD packet to send [06:36:17]OFD Sender: No OFD packet to send [06:36:22]OFD Sender: No OFD packet to send [06:36:27]OFD Sender: No OFD packet to send [06:36:32]OFD Sender: No OFD packet to send [06:36:37]OFD Sender: No OFD packet to send [06:36:42]OFD Sender: No OFD packet to send [06:36:47]OFD Sender: No OFD packet to send [06:36:52]OFD Sender: No OFD packet to send [06:36:57]OFD Sender: No OFD packet to send [06:37:02]OFD Sender: No OFD packet to send [06:37:07]OFD Sender: No OFD packet to send [06:37:12]OFD Sender: No OFD packet to send [06:37:17]OFD Sender: No OFD packet to send [06:37:22]OFD Sender: No OFD packet to send [06:37:28]OFD Sender: No OFD packet to send [06:37:33]OFD Sender: No OFD packet to send [06:37:38]OFD Sender: No OFD packet to send [06:37:43]OFD Sender: No OFD packet to send [06:37:48]OFD Sender: No OFD packet to send [06:37:53]OFD Sender: No OFD packet to send [06:37:58]OFD Sender: No OFD packet to send [06:38:03]OFD Sender: No OFD packet to send [06:38:08]OFD Sender: No OFD packet to send [06:38:13]OFD Sender: No OFD packet to send [06:38:18]OFD Sender: No OFD packet to send [06:38:23]OFD Sender: No OFD packet to send [06:38:28]OFD Sender: No OFD packet to send [06:38:33]OFD Sender: No OFD packet to send [06:38:38]OFD Sender: No OFD packet to send [06:38:43]OFD Sender: No OFD packet to send [06:38:48]OFD Sender: No OFD packet to send [06:38:53]OFD Sender: No OFD packet to send [06:38:58]OFD Sender: No OFD packet to send [06:39:03]OFD Sender: No OFD packet to send [06:39:08]OFD Sender: No OFD packet to send [06:39:13]OFD Sender: No OFD packet to send [06:39:18]OFD Sender: No OFD packet to send [06:39:23]OFD Sender: No OFD packet to send [06:39:28]OFD Sender: No OFD packet to send [06:39:33]OFD Sender: No OFD packet to send [06:39:38]OFD Sender: No OFD packet to send [06:39:43]OFD Sender: No OFD packet to send [06:39:48]OFD Sender: No OFD packet to send [06:39:53]OFD Sender: No OFD packet to send [06:39:58]OFD Sender: No OFD packet to send [06:40:03]OFD Sender: No OFD packet to send [06:40:08]OFD Sender: No OFD packet to send [06:40:13]OFD Sender: No OFD packet to send [06:40:18]OFD Sender: No OFD packet to send [06:40:23]OFD Sender: No OFD packet to send [06:40:28]OFD Sender: No OFD packet to send [06:40:33]OFD Sender: No OFD packet to send [06:40:38]OFD Sender: No OFD packet to send [06:40:43]OFD Sender: No OFD packet to send [06:40:48]OFD Sender: No OFD packet to send [06:40:53]OFD Sender: No OFD packet to send [06:40:58]OFD Sender: No OFD packet to send [06:41:03]OFD Sender: No OFD packet to send [06:41:08]OFD Sender: No OFD packet to send [06:41:13]OFD Sender: No OFD packet to send [06:41:18]OFD Sender: No OFD packet to send [06:41:23]OFD Sender: No OFD packet to send [06:41:28]OFD Sender: No OFD packet to send [06:41:33]OFD Sender: No OFD packet to send [06:41:38]OFD Sender: No OFD packet to send [06:41:43]OFD Sender: No OFD packet to send [06:41:48]OFD Sender: No OFD packet to send [06:41:53]OFD Sender: No OFD packet to send [06:41:58]OFD Sender: No OFD packet to send [06:42:03]OFD Sender: No OFD packet to send [06:42:08]OFD Sender: No OFD packet to send [06:42:13]OFD Sender: No OFD packet to send [06:42:18]OFD Sender: No OFD packet to send [06:42:23]OFD Sender: No OFD packet to send [06:42:28]OFD Sender: No OFD packet to send [06:42:33]OFD Sender: No OFD packet to send [06:42:38]OFD Sender: No OFD packet to send [06:42:43]OFD Sender: No OFD packet to send [06:42:48]OFD Sender: No OFD packet to send [06:42:53]OFD Sender: No OFD packet to send [06:42:58]OFD Sender: No OFD packet to send [06:43:03]OFD Sender: No OFD packet to send [06:43:08]OFD Sender: No OFD packet to send [06:43:13]OFD Sender: No OFD packet to send [06:43:18]OFD Sender: No OFD packet to send [06:43:23]OFD Sender: No OFD packet to send [06:43:28]OFD Sender: No OFD packet to send [06:43:33]OFD Sender: No OFD packet to send [06:43:38]OFD Sender: No OFD packet to send [06:43:43]OFD Sender: No OFD packet to send [06:43:48]OFD Sender: No OFD packet to send [06:43:53]OFD Sender: No OFD packet to send [06:43:58]OFD Sender: No OFD packet to send [06:44:03]OFD Sender: No OFD packet to send [06:44:08]OFD Sender: No OFD packet to send [06:44:13]OFD Sender: No OFD packet to send [06:44:18]OFD Sender: No OFD packet to send [06:44:23]OFD Sender: No OFD packet to send [06:44:28]OFD Sender: No OFD packet to send [06:44:33]OFD Sender: No OFD packet to send [06:44:38]OFD Sender: No OFD packet to send [06:44:43]OFD Sender: No OFD packet to send [06:44:48]OFD Sender: No OFD packet to send [06:44:53]OFD Sender: No OFD packet to send [06:44:58]OFD Sender: No OFD packet to send [06:45:03]OFD Sender: No OFD packet to send [06:45:08]OFD Sender: No OFD packet to send [06:45:13]OFD Sender: No OFD packet to send [06:45:18]OFD Sender: No OFD packet to send [06:45:23]OFD Sender: No OFD packet to send [06:45:28]OFD Sender: No OFD packet to send [06:45:33]OFD Sender: No OFD packet to send [06:45:38]OFD Sender: No OFD packet to send [06:45:43]OFD Sender: No OFD packet to send [06:45:48]OFD Sender: No OFD packet to send [06:45:53]OFD Sender: No OFD packet to send [06:45:58]OFD Sender: No OFD packet to send [06:46:03]OFD Sender: No OFD packet to send [06:46:08]OFD Sender: No OFD packet to send [06:46:13]OFD Sender: No OFD packet to send [06:46:18]OFD Sender: No OFD packet to send [06:46:23]OFD Sender: No OFD packet to send [06:46:28]OFD Sender: No OFD packet to send [06:46:33]OFD Sender: No OFD packet to send [06:46:38]OFD Sender: No OFD packet to send [06:46:43]OFD Sender: No OFD packet to send [06:46:48]OFD Sender: No OFD packet to send [06:46:53]OFD Sender: No OFD packet to send [06:46:58]OFD Sender: No OFD packet to send [06:47:03]OFD Sender: No OFD packet to send [06:47:08]OFD Sender: No OFD packet to send [06:47:13]OFD Sender: No OFD packet to send [06:47:18]OFD Sender: No OFD packet to send [06:47:23]OFD Sender: No OFD packet to send [06:47:28]OFD Sender: No OFD packet to send [06:47:33]OFD Sender: No OFD packet to send [06:47:38]OFD Sender: No OFD packet to send [06:47:43]OFD Sender: No OFD packet to send [06:47:48]OFD Sender: No OFD packet to send [06:47:53]OFD Sender: No OFD packet to send [06:47:58]OFD Sender: No OFD packet to send [06:48:03]OFD Sender: No OFD packet to send [06:48:08]OFD Sender: No OFD packet to send [06:48:13]OFD Sender: No OFD packet to send [06:48:18]OFD Sender: No OFD packet to send [06:48:23]OFD Sender: No OFD packet to send [06:48:28]OFD Sender: No OFD packet to send [06:48:33]OFD Sender: No OFD packet to send [06:48:38]OFD Sender: No OFD packet to send [06:48:43]OFD Sender: No OFD packet to send [06:48:48]OFD Sender: No OFD packet to send [06:48:53]OFD Sender: No OFD packet to send [06:48:58]OFD Sender: No OFD packet to send [06:49:03]OFD Sender: No OFD packet to send [06:49:08]OFD Sender: No OFD packet to send [06:49:13]OFD Sender: No OFD packet to send [06:49:18]OFD Sender: No OFD packet to send [06:49:23]OFD Sender: No OFD packet to send [06:49:28]OFD Sender: No OFD packet to send [06:49:33]OFD Sender: No OFD packet to send [06:49:38]OFD Sender: No OFD packet to send [06:49:43]OFD Sender: No OFD packet to send [06:49:48]OFD Sender: No OFD packet to send [06:49:53]OFD Sender: No OFD packet to send [06:49:58]OFD Sender: No OFD packet to send [06:50:03]OFD Sender: No OFD packet to send [06:50:08]OFD Sender: No OFD packet to send [06:50:13]OFD Sender: No OFD packet to send [06:50:18]OFD Sender: No OFD packet to send [06:50:23]OFD Sender: No OFD packet to send [06:50:28]OFD Sender: No OFD packet to send [06:50:33]OFD Sender: No OFD packet to send [06:50:38]OFD Sender: No OFD packet to send [06:50:43]OFD Sender: No OFD packet to send [06:50:48]OFD Sender: No OFD packet to send [06:50:53]OFD Sender: No OFD packet to send [06:50:58]OFD Sender: No OFD packet to send [06:51:03]OFD Sender: No OFD packet to send [06:51:08]OFD Sender: No OFD packet to send [06:51:13]OFD Sender: No OFD packet to send [06:51:18]OFD Sender: No OFD packet to send [06:51:23]OFD Sender: No OFD packet to send [06:51:28]OFD Sender: No OFD packet to send [06:51:33]OFD Sender: No OFD packet to send [06:51:38]OFD Sender: No OFD packet to send [06:51:43]OFD Sender: No OFD packet to send [06:51:48]OFD Sender: No OFD packet to send [06:51:53]OFD Sender: No OFD packet to send [06:51:58]OFD Sender: No OFD packet to send [06:52:03]OFD Sender: No OFD packet to send [06:52:08]OFD Sender: No OFD packet to send [06:52:13]OFD Sender: No OFD packet to send [06:52:18]OFD Sender: No OFD packet to send [06:52:23]OFD Sender: No OFD packet to send [06:52:28]OFD Sender: No OFD packet to send [06:52:33]OFD Sender: No OFD packet to send [06:52:38]OFD Sender: No OFD packet to send [06:52:43]OFD Sender: No OFD packet to send [06:52:48]OFD Sender: No OFD packet to send [06:52:53]OFD Sender: No OFD packet to send [06:52:58]OFD Sender: No OFD packet to send [06:53:03]OFD Sender: No OFD packet to send [06:53:08]OFD Sender: No OFD packet to send [06:53:13]OFD Sender: No OFD packet to send [06:53:18]OFD Sender: No OFD packet to send [06:53:23]OFD Sender: No OFD packet to send [06:53:28]OFD Sender: No OFD packet to send [06:53:33]OFD Sender: No OFD packet to send [06:53:38]OFD Sender: No OFD packet to send [06:53:43]OFD Sender: No OFD packet to send [06:53:48]OFD Sender: No OFD packet to send [06:53:53]OFD Sender: No OFD packet to send [06:53:58]OFD Sender: No OFD packet to send [06:54:03]OFD Sender: No OFD packet to send [06:54:08]OFD Sender: No OFD packet to send [06:54:13]OFD Sender: No OFD packet to send [06:54:18]OFD Sender: No OFD packet to send [06:54:23]OFD Sender: No OFD packet to send [06:54:28]OFD Sender: No OFD packet to send [06:54:33]OFD Sender: No OFD packet to send [06:54:38]OFD Sender: No OFD packet to send [06:54:43]OFD Sender: No OFD packet to send [06:54:48]OFD Sender: No OFD packet to send [06:54:53]OFD Sender: No OFD packet to send [06:54:58]OFD Sender: No OFD packet to send [06:55:03]OFD Sender: No OFD packet to send [06:55:08]OFD Sender: No OFD packet to send [06:55:13]OFD Sender: No OFD packet to send [06:55:18]OFD Sender: No OFD packet to send [06:55:23]OFD Sender: No OFD packet to send [06:55:28]OFD Sender: No OFD packet to send [06:55:33]OFD Sender: No OFD packet to send [06:55:38]OFD Sender: No OFD packet to send [06:55:43]OFD Sender: No OFD packet to send [06:55:48]OFD Sender: No OFD packet to send [06:55:53]OFD Sender: No OFD packet to send [06:55:58]OFD Sender: No OFD packet to send [06:56:03]OFD Sender: No OFD packet to send [06:56:08]OFD Sender: No OFD packet to send [06:56:13]OFD Sender: No OFD packet to send [06:56:18]OFD Sender: No OFD packet to send [06:56:23]OFD Sender: No OFD packet to send [06:56:28]OFD Sender: No OFD packet to send [06:56:33]OFD Sender: No OFD packet to send [06:56:38]OFD Sender: No OFD packet to send [06:56:43]OFD Sender: No OFD packet to send [06:56:48]OFD Sender: No OFD packet to send [06:56:53]OFD Sender: No OFD packet to send [06:56:58]OFD Sender: No OFD packet to send [06:57:03]OFD Sender: No OFD packet to send [06:57:08]OFD Sender: No OFD packet to send [06:57:13]OFD Sender: No OFD packet to send [06:57:18]OFD Sender: No OFD packet to send [06:57:23]OFD Sender: No OFD packet to send [06:57:28]OFD Sender: No OFD packet to send [06:57:33]OFD Sender: No OFD packet to send [06:57:38]OFD Sender: No OFD packet to send [06:57:43]OFD Sender: No OFD packet to send [06:57:48]OFD Sender: No OFD packet to send [06:57:53]OFD Sender: No OFD packet to send [06:57:58]OFD Sender: No OFD packet to send [06:58:03]OFD Sender: No OFD packet to send [06:58:08]OFD Sender: No OFD packet to send [06:58:13]OFD Sender: No OFD packet to send [06:58:18]OFD Sender: No OFD packet to send [06:58:23]OFD Sender: No OFD packet to send [06:58:28]OFD Sender: No OFD packet to send [06:58:33]OFD Sender: No OFD packet to send [06:58:38]OFD Sender: No OFD packet to send [06:58:43]OFD Sender: No OFD packet to send [06:58:48]OFD Sender: No OFD packet to send [06:58:53]OFD Sender: No OFD packet to send [06:58:58]OFD Sender: No OFD packet to send [06:59:03]OFD Sender: No OFD packet to send [06:59:08]OFD Sender: No OFD packet to send [06:59:13]OFD Sender: No OFD packet to send [06:59:19]OFD Sender: No OFD packet to send [06:59:24]OFD Sender: No OFD packet to send [06:59:29]OFD Sender: No OFD packet to send [06:59:34]OFD Sender: No OFD packet to send [06:59:39]OFD Sender: No OFD packet to send [06:59:44]OFD Sender: No OFD packet to send [06:59:49]OFD Sender: No OFD packet to send [06:59:54]OFD Sender: No OFD packet to send [06:59:59]OFD Sender: No OFD packet to send [07:00:04]OFD Sender: No OFD packet to send [07:00:09]OFD Sender: No OFD packet to send [07:00:14]OFD Sender: No OFD packet to send [07:00:19]OFD Sender: No OFD packet to send [07:00:24]OFD Sender: No OFD packet to send [07:00:29]OFD Sender: No OFD packet to send [07:00:34]OFD Sender: No OFD packet to send [07:00:39]OFD Sender: No OFD packet to send [07:00:44]OFD Sender: No OFD packet to send [07:00:49]OFD Sender: No OFD packet to send [07:00:54]OFD Sender: No OFD packet to send [07:00:59]OFD Sender: No OFD packet to send [07:01:04]OFD Sender: No OFD packet to send [07:01:09]OFD Sender: No OFD packet to send [07:01:14]OFD Sender: No OFD packet to send [07:01:19]OFD Sender: No OFD packet to send [07:01:24]OFD Sender: No OFD packet to send [07:01:29]OFD Sender: No OFD packet to send [07:01:34]OFD Sender: No OFD packet to send [07:01:39]OFD Sender: No OFD packet to send [07:01:44]OFD Sender: No OFD packet to send [07:01:49]OFD Sender: No OFD packet to send [07:01:54]OFD Sender: No OFD packet to send [07:01:59]OFD Sender: No OFD packet to send [07:02:04]OFD Sender: No OFD packet to send [07:02:09]OFD Sender: No OFD packet to send [07:02:14]OFD Sender: No OFD packet to send [07:02:19]OFD Sender: No OFD packet to send [07:02:24]OFD Sender: No OFD packet to send [07:02:29]OFD Sender: No OFD packet to send [07:02:34]OFD Sender: No OFD packet to send [07:02:39]OFD Sender: No OFD packet to send [07:02:44]OFD Sender: No OFD packet to send [07:02:49]OFD Sender: No OFD packet to send [07:02:54]OFD Sender: No OFD packet to send [07:02:59]OFD Sender: No OFD packet to send [07:03:04]OFD Sender: No OFD packet to send [07:03:09]OFD Sender: No OFD packet to send [07:03:14]OFD Sender: No OFD packet to send [07:03:19]OFD Sender: No OFD packet to send [07:03:24]OFD Sender: No OFD packet to send [07:03:29]OFD Sender: No OFD packet to send [07:03:34]OFD Sender: No OFD packet to send [07:03:39]OFD Sender: No OFD packet to send [07:03:44]OFD Sender: No OFD packet to send [07:03:49]OFD Sender: No OFD packet to send [07:03:54]OFD Sender: No OFD packet to send [07:03:59]OFD Sender: No OFD packet to send [07:04:04]OFD Sender: No OFD packet to send [07:04:09]OFD Sender: No OFD packet to send [07:04:14]OFD Sender: No OFD packet to send [07:04:19]OFD Sender: No OFD packet to send [07:04:24]OFD Sender: No OFD packet to send [07:04:29]OFD Sender: No OFD packet to send [07:04:34]OFD Sender: No OFD packet to send [07:04:39]OFD Sender: No OFD packet to send [07:04:44]OFD Sender: No OFD packet to send [07:04:49]OFD Sender: No OFD packet to send [07:04:54]OFD Sender: No OFD packet to send [07:04:59]OFD Sender: No OFD packet to send [07:05:04]OFD Sender: No OFD packet to send [07:05:09]OFD Sender: No OFD packet to send [07:05:14]OFD Sender: No OFD packet to send [07:05:19]OFD Sender: No OFD packet to send [07:05:24]OFD Sender: No OFD packet to send [07:05:29]OFD Sender: No OFD packet to send [07:05:34]OFD Sender: No OFD packet to send [07:05:39]OFD Sender: No OFD packet to send [07:05:44]OFD Sender: No OFD packet to send [07:05:49]OFD Sender: No OFD packet to send [07:05:54]OFD Sender: No OFD packet to send [07:05:59]OFD Sender: No OFD packet to send [07:06:04]OFD Sender: No OFD packet to send [07:06:09]OFD Sender: No OFD packet to send [07:06:14]OFD Sender: No OFD packet to send [07:06:19]OFD Sender: No OFD packet to send [07:06:24]OFD Sender: No OFD packet to send [07:06:29]OFD Sender: No OFD packet to send [07:06:34]OFD Sender: No OFD packet to send [07:06:39]OFD Sender: No OFD packet to send [07:06:44]OFD Sender: No OFD packet to send [07:06:49]OFD Sender: No OFD packet to send [07:06:54]OFD Sender: No OFD packet to send [07:06:59]OFD Sender: No OFD packet to send [07:07:04]OFD Sender: No OFD packet to send [07:07:09]OFD Sender: No OFD packet to send [07:07:14]OFD Sender: No OFD packet to send [07:07:19]OFD Sender: No OFD packet to send [07:07:24]OFD Sender: No OFD packet to send [07:07:29]OFD Sender: No OFD packet to send [07:07:34]OFD Sender: No OFD packet to send [07:07:39]OFD Sender: No OFD packet to send [07:07:44]OFD Sender: No OFD packet to send [07:07:49]OFD Sender: No OFD packet to send [07:07:54]OFD Sender: No OFD packet to send [07:07:59]OFD Sender: No OFD packet to send [07:08:04]OFD Sender: No OFD packet to send [07:08:09]OFD Sender: No OFD packet to send [07:08:14]OFD Sender: No OFD packet to send [07:08:19]OFD Sender: No OFD packet to send [07:08:24]OFD Sender: No OFD packet to send [07:08:29]OFD Sender: No OFD packet to send [07:08:34]OFD Sender: No OFD packet to send [07:08:39]OFD Sender: No OFD packet to send [07:08:44]OFD Sender: No OFD packet to send [07:08:49]OFD Sender: No OFD packet to send [07:08:54]OFD Sender: No OFD packet to send [07:08:59]OFD Sender: No OFD packet to send [07:09:04]OFD Sender: No OFD packet to send [07:09:09]OFD Sender: No OFD packet to send [07:09:14]OFD Sender: No OFD packet to send [07:09:19]OFD Sender: No OFD packet to send [07:09:24]OFD Sender: No OFD packet to send [07:09:29]OFD Sender: No OFD packet to send [07:09:34]OFD Sender: No OFD packet to send [07:09:39]OFD Sender: No OFD packet to send [07:09:44]OFD Sender: No OFD packet to send [07:09:49]OFD Sender: No OFD packet to send [07:09:54]OFD Sender: No OFD packet to send [07:09:59]OFD Sender: No OFD packet to send [07:10:04]OFD Sender: No OFD packet to send [07:10:09]OFD Sender: No OFD packet to send [07:10:14]OFD Sender: No OFD packet to send [07:10:19]OFD Sender: No OFD packet to send [07:10:24]OFD Sender: No OFD packet to send [07:10:29]OFD Sender: No OFD packet to send [07:10:34]OFD Sender: No OFD packet to send [07:10:39]OFD Sender: No OFD packet to send [07:10:44]OFD Sender: No OFD packet to send [07:10:49]OFD Sender: No OFD packet to send [07:10:54]OFD Sender: No OFD packet to send [07:10:59]OFD Sender: No OFD packet to send [07:11:04]OFD Sender: No OFD packet to send [07:11:09]OFD Sender: No OFD packet to send [07:11:14]OFD Sender: No OFD packet to send [07:11:19]OFD Sender: No OFD packet to send [07:11:24]OFD Sender: No OFD packet to send [07:11:29]OFD Sender: No OFD packet to send [07:11:34]OFD Sender: No OFD packet to send [07:11:39]OFD Sender: No OFD packet to send [07:11:44]OFD Sender: No OFD packet to send [07:11:49]OFD Sender: No OFD packet to send [07:11:54]OFD Sender: No OFD packet to send [07:11:59]OFD Sender: No OFD packet to send [07:12:04]OFD Sender: No OFD packet to send [07:12:09]OFD Sender: No OFD packet to send [07:12:14]OFD Sender: No OFD packet to send [07:12:19]OFD Sender: No OFD packet to send [07:12:24]OFD Sender: No OFD packet to send [07:12:29]OFD Sender: No OFD packet to send [07:12:34]OFD Sender: No OFD packet to send [07:12:39]OFD Sender: No OFD packet to send [07:12:44]OFD Sender: No OFD packet to send [07:12:49]OFD Sender: No OFD packet to send [07:12:54]OFD Sender: No OFD packet to send [07:12:59]OFD Sender: No OFD packet to send [07:13:04]OFD Sender: No OFD packet to send [07:13:09]OFD Sender: No OFD packet to send [07:13:14]OFD Sender: No OFD packet to send [07:13:19]OFD Sender: No OFD packet to send [07:13:24]OFD Sender: No OFD packet to send [07:13:29]OFD Sender: No OFD packet to send [07:13:34]OFD Sender: No OFD packet to send [07:13:39]OFD Sender: No OFD packet to send [07:13:44]OFD Sender: No OFD packet to send [07:13:49]OFD Sender: No OFD packet to send [07:13:54]OFD Sender: No OFD packet to send [07:13:59]OFD Sender: No OFD packet to send [07:14:04]OFD Sender: No OFD packet to send [07:14:09]OFD Sender: No OFD packet to send [07:14:14]OFD Sender: No OFD packet to send [07:14:19]OFD Sender: No OFD packet to send [07:14:24]OFD Sender: No OFD packet to send [07:14:29]OFD Sender: No OFD packet to send [07:14:34]OFD Sender: No OFD packet to send [07:14:39]OFD Sender: No OFD packet to send [07:14:44]OFD Sender: No OFD packet to send [07:14:49]OFD Sender: No OFD packet to send [07:14:54]OFD Sender: No OFD packet to send [07:14:59]OFD Sender: No OFD packet to send [07:15:04]OFD Sender: No OFD packet to send [07:15:09]OFD Sender: No OFD packet to send [07:15:14]OFD Sender: No OFD packet to send [07:15:19]OFD Sender: No OFD packet to send [07:15:24]OFD Sender: No OFD packet to send [07:15:29]OFD Sender: No OFD packet to send [07:15:34]OFD Sender: No OFD packet to send [07:15:39]OFD Sender: No OFD packet to send [07:15:44]OFD Sender: No OFD packet to send [07:15:49]OFD Sender: No OFD packet to send [07:15:54]OFD Sender: No OFD packet to send [07:15:59]OFD Sender: No OFD packet to send [07:16:04]OFD Sender: No OFD packet to send [07:16:09]OFD Sender: No OFD packet to send [07:16:14]OFD Sender: No OFD packet to send [07:16:19]OFD Sender: No OFD packet to send [07:16:24]OFD Sender: No OFD packet to send [07:16:29]OFD Sender: No OFD packet to send [07:16:34]OFD Sender: No OFD packet to send [07:16:39]OFD Sender: No OFD packet to send [07:16:44]OFD Sender: No OFD packet to send [07:16:49]OFD Sender: No OFD packet to send [07:16:54]OFD Sender: No OFD packet to send [07:16:59]OFD Sender: No OFD packet to send [07:17:04]OFD Sender: No OFD packet to send [07:17:09]OFD Sender: No OFD packet to send [07:17:14]OFD Sender: No OFD packet to send [07:17:19]OFD Sender: No OFD packet to send [07:17:24]OFD Sender: No OFD packet to send [07:17:29]OFD Sender: No OFD packet to send [07:17:34]OFD Sender: No OFD packet to send [07:17:39]OFD Sender: No OFD packet to send [07:17:44]OFD Sender: No OFD packet to send [07:17:49]OFD Sender: No OFD packet to send [07:17:54]OFD Sender: No OFD packet to send [07:17:59]OFD Sender: No OFD packet to send [07:18:04]OFD Sender: No OFD packet to send [07:18:09]OFD Sender: No OFD packet to send [07:18:14]OFD Sender: No OFD packet to send [07:18:19]OFD Sender: No OFD packet to send [07:18:24]OFD Sender: No OFD packet to send [07:18:29]OFD Sender: No OFD packet to send [07:18:34]OFD Sender: No OFD packet to send [07:18:39]OFD Sender: No OFD packet to send [07:18:44]OFD Sender: No OFD packet to send [07:18:49]OFD Sender: No OFD packet to send [07:18:54]OFD Sender: No OFD packet to send [07:18:59]OFD Sender: No OFD packet to send [07:19:04]OFD Sender: No OFD packet to send [07:19:09]OFD Sender: No OFD packet to send [07:19:14]OFD Sender: No OFD packet to send [07:19:19]OFD Sender: No OFD packet to send [07:19:24]OFD Sender: No OFD packet to send [07:19:29]OFD Sender: No OFD packet to send [07:19:34]OFD Sender: No OFD packet to send [07:19:39]OFD Sender: No OFD packet to send [07:19:44]OFD Sender: No OFD packet to send [07:19:49]OFD Sender: No OFD packet to send [07:19:54]OFD Sender: No OFD packet to send [07:19:59]OFD Sender: No OFD packet to send [07:20:04]OFD Sender: No OFD packet to send [07:20:09]OFD Sender: No OFD packet to send [07:20:14]OFD Sender: No OFD packet to send [07:20:19]OFD Sender: No OFD packet to send [07:20:24]OFD Sender: No OFD packet to send [07:20:29]OFD Sender: No OFD packet to send [07:20:34]OFD Sender: No OFD packet to send [07:20:39]OFD Sender: No OFD packet to send [07:20:44]OFD Sender: No OFD packet to send [07:20:49]OFD Sender: No OFD packet to send [07:20:54]OFD Sender: No OFD packet to send [07:20:59]OFD Sender: No OFD packet to send [07:21:04]OFD Sender: No OFD packet to send [07:21:10]OFD Sender: No OFD packet to send [07:21:15]OFD Sender: No OFD packet to send [07:21:20]OFD Sender: No OFD packet to send [07:21:25]OFD Sender: No OFD packet to send [07:21:30]OFD Sender: No OFD packet to send [07:21:35]OFD Sender: No OFD packet to send [07:21:40]OFD Sender: No OFD packet to send [07:21:45]OFD Sender: No OFD packet to send [07:21:50]OFD Sender: No OFD packet to send [07:21:55]OFD Sender: No OFD packet to send [07:22:00]OFD Sender: No OFD packet to send [07:22:05]OFD Sender: No OFD packet to send [07:22:10]OFD Sender: No OFD packet to send [07:22:15]OFD Sender: No OFD packet to send [07:22:20]OFD Sender: No OFD packet to send [07:22:25]OFD Sender: No OFD packet to send [07:22:30]OFD Sender: No OFD packet to send [07:22:35]OFD Sender: No OFD packet to send [07:22:40]OFD Sender: No OFD packet to send [07:22:45]OFD Sender: No OFD packet to send [07:22:50]OFD Sender: No OFD packet to send [07:22:55]OFD Sender: No OFD packet to send [07:23:00]OFD Sender: No OFD packet to send [07:23:05]OFD Sender: No OFD packet to send [07:23:10]OFD Sender: No OFD packet to send [07:23:15]OFD Sender: No OFD packet to send [07:23:20]OFD Sender: No OFD packet to send [07:23:25]OFD Sender: No OFD packet to send [07:23:30]OFD Sender: No OFD packet to send [07:23:35]OFD Sender: No OFD packet to send [07:23:40]OFD Sender: No OFD packet to send [07:23:45]OFD Sender: No OFD packet to send [07:23:50]OFD Sender: No OFD packet to send [07:23:55]OFD Sender: No OFD packet to send [07:24:00]OFD Sender: No OFD packet to send [07:24:05]OFD Sender: No OFD packet to send [07:24:10]OFD Sender: No OFD packet to send [07:24:15]OFD Sender: No OFD packet to send [07:24:20]OFD Sender: No OFD packet to send [07:24:25]OFD Sender: No OFD packet to send [07:24:30]OFD Sender: No OFD packet to send [07:24:35]OFD Sender: No OFD packet to send [07:24:40]OFD Sender: No OFD packet to send [07:24:45]OFD Sender: No OFD packet to send [07:24:50]OFD Sender: No OFD packet to send [07:24:55]OFD Sender: No OFD packet to send [07:25:00]OFD Sender: No OFD packet to send [07:25:05]OFD Sender: No OFD packet to send [07:25:10]OFD Sender: No OFD packet to send [07:25:15]OFD Sender: No OFD packet to send [07:25:20]OFD Sender: No OFD packet to send [07:25:25]OFD Sender: No OFD packet to send [07:25:30]OFD Sender: No OFD packet to send [07:25:35]OFD Sender: No OFD packet to send [07:25:40]OFD Sender: No OFD packet to send [07:25:45]OFD Sender: No OFD packet to send [07:25:50]OFD Sender: No OFD packet to send [07:25:55]OFD Sender: No OFD packet to send [07:26:00]OFD Sender: No OFD packet to send [07:26:05]OFD Sender: No OFD packet to send [07:26:10]OFD Sender: No OFD packet to send [07:26:15]OFD Sender: No OFD packet to send [07:26:20]OFD Sender: No OFD packet to send [07:26:25]OFD Sender: No OFD packet to send [07:26:30]OFD Sender: No OFD packet to send [07:26:35]OFD Sender: No OFD packet to send [07:26:40]OFD Sender: No OFD packet to send [07:26:45]OFD Sender: No OFD packet to send [07:26:50]OFD Sender: No OFD packet to send [07:26:55]OFD Sender: No OFD packet to send [07:27:00]OFD Sender: No OFD packet to send [07:27:05]OFD Sender: No OFD packet to send [07:27:10]OFD Sender: No OFD packet to send [07:27:15]OFD Sender: No OFD packet to send [07:27:20]OFD Sender: No OFD packet to send [07:27:25]OFD Sender: No OFD packet to send [07:27:30]OFD Sender: No OFD packet to send [07:27:35]OFD Sender: No OFD packet to send [07:27:40]OFD Sender: No OFD packet to send [07:27:45]OFD Sender: No OFD packet to send [07:27:50]OFD Sender: No OFD packet to send [07:27:55]OFD Sender: No OFD packet to send [07:28:00]OFD Sender: No OFD packet to send [07:28:05]OFD Sender: No OFD packet to send [07:28:10]OFD Sender: No OFD packet to send [07:28:15]OFD Sender: No OFD packet to send [07:28:20]OFD Sender: No OFD packet to send [07:28:25]OFD Sender: No OFD packet to send [07:28:30]OFD Sender: No OFD packet to send [07:28:35]OFD Sender: No OFD packet to send [07:28:40]OFD Sender: No OFD packet to send [07:28:45]OFD Sender: No OFD packet to send [07:28:50]OFD Sender: No OFD packet to send [07:28:55]OFD Sender: No OFD packet to send [07:29:00]OFD Sender: No OFD packet to send [07:29:05]OFD Sender: No OFD packet to send [07:29:10]OFD Sender: No OFD packet to send [07:29:15]OFD Sender: No OFD packet to send [07:29:20]OFD Sender: No OFD packet to send [07:29:25]OFD Sender: No OFD packet to send [07:29:30]OFD Sender: No OFD packet to send [07:29:35]OFD Sender: No OFD packet to send [07:29:40]OFD Sender: No OFD packet to send [07:29:45]OFD Sender: No OFD packet to send [07:29:50]OFD Sender: No OFD packet to send [07:29:52]accept exits with 8 [07:29:52]New connection [07:29:52]New thread 3067075940 created [07:29:52]Thread 3066932580 joined [07:29:52]Waiting for new connection... [07:29:52] Sock 8.Parse request [07:29:52]Sock 8.Check first char [07:29:52]Sock 8.First char is OK [07:29:52]request: POST /json_proto HTTP/1.0 [07:29:52]Method: POST [07:29:52]URL: /json_proto [07:29:52]Method is POST - this is cgi request [07:29:52]url: /json_proto [07:29:52]query_string will be loaded in cgi processing [07:29:52]execute_cgi json_proto POST (null) [07:29:52]execute_cgi path=json_proto method=POST [07:29:52]POST find Content-Length [07:29:52]Host: 172.17.61.6:8080 [07:29:52]Content-Length: 619 [07:29:52]Content-Type: application/json [07:29:52] [07:29:52]POST finish read [07:29:52]Found Content-Length = 619 [07:29:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58553", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:29:52]execute_script... [07:29: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)58553", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:29:52]POST & json_proto [07:29:52]process_json_proto [07:29:52]json parsed OK: [07:29:52]protocol is kg_v1.0 [07:29:52]action value=close_receipt [07:29:52]process_action close_receipt [07:29:52]cmd_close_receipt [07:29:52]MH_GetDate [07:29:52]Write to MH i2c: F0 00 00 8A 05 7E [07:29:52]Write i2c OK [07:29:52]MH_I2C_Read... [07:29:52]Read from MH i2c: F0 [07:29:52]MH_I2C_Read... [07:29:52]Read from MH i2c: F0 09 00 [07:29:52]MH_I2C_Read... [07:29:52]Read from MH i2c: F0 09 00 8A 05 00 71 1B E8 65 78 7F 6F 64 2A [07:29:52]GetLastDocTimeStamp 1709704474 [07:29:52]current date 1709710193 [07:29:52]FM_GetShiftState [07:29:52]SAM_PROTO_GetShiftState [07:29:52]wFMCommunicate request_size=4 [07:29:52]MH_SAM_APDU [07:29:52]CAPDU: 80 13 01 00 [07:29:52]Write to MH i2c: E2 08 00 8B 05 80 13 01 00 00 00 00 00 0D [07:29:52]Write i2c OK [07:29:52]MH_I2C_Read... [07:29:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:29:52]Read from MH i2c: E2 [07:29:52]MH_I2C_Read... [07:29:52]Read from MH i2c: E2 0E 00 [07:29:52]MH_I2C_Read... [07:29:52]Read from MH i2c: E2 0E 00 8B 05 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 8A [07:29:52]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [07:29:52]wFMCommunicate OK [07:29:52]SAM_PROTO_GetShiftState done [07:29:52]FM_GetShiftState done [07:29:52]opened in 1709684590 [07:29:52]opened+sec_in_day 1709770990 [07:29:52]quantity*price = 13500 [07:29:52]sum+1 = 13501 [07:29:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 14 06.03.2024 07:29 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32398 ФПД: 188807404467150 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T072954&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32398&fm=188807404467150&tin=02508201610067®Number=0000000000092554&sum=13500 0 [07:29:53]StoreToDocumentArchive [07:29:53]shift 284 fd 32398 [07:29:53]save to /storage/0284/doc_00032398 [07:29:53]save last doc name /storage/0284/doc_00032398 to /storage/kkm_last_doc_name [07:29:53]save OK [07:29:53]Clear old archive folders... [07:29:53]ProcessDocumentItem done err = 0, tmpTLVsize=272 [07:29:53]tlvbuf is B6F73190 [07:29:53]SAM_PROTO_ClearQueue [07:29:53]wFMCommunicate request_size=4 [07:29:53]MH_SAM_APDU [07:29:53]CAPDU: 80 09 00 00 [07:29:53]Write to MH i2c: E2 08 00 98 05 80 09 00 00 00 00 00 00 0F [07:29:53]Write i2c OK [07:29:53]MH_I2C_Read... [07:29:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:29:53]Read from MH i2c: E2 [07:29:53]MH_I2C_Read... [07:29:53]Read from MH i2c: E2 03 00 [07:29:53]MH_I2C_Read... [07:29:53]Read from MH i2c: E2 03 00 98 05 00 90 00 11 [07:29:53]RAPDU: 90 00 [07:29:53]wFMCommunicate OK [07:29:53]SAM_PROTO_ClearQueue done [07:29:53]KKMCreateOFDPacket [07:29:53]OFDProtocolAddRootSTLVToBuf [07:29:53]FM_MakeSignedData [07:29:53]FM_MakeSignedData [07:29:53]SAM_PROTO_SignData [07:29:53]wFMCommunicate request_size=4 [07:29:53]MH_SAM_APDU [07:29:53]CAPDU: 80 0D 01 02 [07:29:53]Write to MH i2c: E2 08 00 99 05 80 0D 01 02 00 00 00 00 17 [07:29:53]Write i2c OK [07:29:53]MH_I2C_Read... [07:29:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:29:53]Read from MH i2c: E2 [07:29:53]MH_I2C_Read... [07:29:53]Read from MH i2c: E2 03 00 [07:29:53]MH_I2C_Read... [07:29:53]Read from MH i2c: E2 03 00 99 05 00 90 00 12 [07:29:53]RAPDU: 90 00 [07:29:53]wFMCommunicate OK [07:29:53]wFMCommunicate request_size=255 [07:29:53]MH_SAM_APDU [07:29:53]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 72 1B E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 [07:29:53]Write to MH i2c: E2 02 01 9A 05 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 72 1B E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 D7 [07:29:53]Write i2c OK [07:29:53]MH_I2C_Read... [07:29:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:29:53]Read from MH i2c: E2 [07:29:53]MH_I2C_Read... [07:29:53]Read from MH i2c: E2 03 00 [07:29:53]MH_I2C_Read... [07:29:53]Read from MH i2c: E2 03 00 9A 05 00 90 00 13 [07:29:53]RAPDU: 90 00 [07:29:53]wFMCommunicate OK [07:29:53]wFMCommunicate request_size=31 [07:29:53]MH_SAM_APDU [07:29:53]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 37 38 33 10 04 04 00 8E 7E 00 00 35 04 06 00 AB B8 26 46 33 CE [07:29:53]Write to MH i2c: E2 22 00 9B 05 80 0D 02 02 1A 00 30 30 38 37 31 37 38 33 10 04 04 00 8E 7E 00 00 35 04 06 00 AB B8 26 46 33 CE 00 00 23 [07:29:53]Write i2c OK [07:29:53]MH_I2C_Read... [07:29:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:29:53]Read from MH i2c: E2 [07:29:53]MH_I2C_Read... [07:29:53]Read from MH i2c: E2 03 00 [07:29:53]MH_I2C_Read... [07:29:53]Read from MH i2c: E2 03 00 9B 05 00 90 00 14 [07:29:53]RAPDU: 90 00 [07:29:53]wFMCommunicate OK [07:29:53]wFMCommunicate request_size=4 [07:29:53]MH_SAM_APDU [07:29:53]CAPDU: 80 0D 03 02 [07:29:53]Write to MH i2c: E2 08 00 9C 05 80 0D 03 02 00 00 00 00 1C [07:29:53]Write i2c OK [07:29:53]MH_I2C_Read... [07:29:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:29:53]Read from MH i2c: E2 [07:29:53]MH_I2C_Read... [07:29:53]Read from MH i2c: E2 0B 00 [07:29:53]MH_I2C_Read... [07:29:53]Read from MH i2c: E2 0B 00 9C 05 00 6C 59 50 C4 3E C9 27 E3 90 00 07 [07:29:53]RAPDU: 6C 59 50 C4 3E C9 27 E3 90 00 [07:29:53]wFMCommunicate OK [07:29:53]SAM_PROTO_SignData done [07:29:53]FM_MakeSignedData done [07:29:53]CreateOFDProtocolMessage [07:29:53]wFMCommunicate request_size=4 [07:29:53]MH_SAM_APDU [07:29:53]CAPDU: 80 11 00 00 [07:29:53]Write to MH i2c: E2 08 00 9D 05 80 11 00 00 00 00 00 00 1C [07:29:53]Write i2c OK [07:29:53]MH_I2C_Read... [07:29:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:29:53]Read from MH i2c: E2 [07:29:53]MH_I2C_Read... [07:29:53]Read from MH i2c: E2 17 00 [07:29:53]MH_I2C_Read... [07:29:53]Read from MH i2c: E2 17 00 9D 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 71 [07:29:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [07:29:53]wFMCommunicate OK [07:29:53]CreateOFDProtocolMessage done [07:29:53]OFDSenderStorePacket 32398 [07:29:53]StoreOFDPacket docnum=32398 [07:29:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 24 01 00 00 58 74 1C 01 A7 A9 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 72 1B E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 8E 7E 00 00 35 04 06 00 AB B8 26 46 33 CE 6C 59 50 C4 3E C9 27 E3 [07:29:53]CheckFolder [07:29:53]dirname=/storage/ofd_packets [07:29:53]CheckFolder done [07:29:53]ProducePacketName [07:29:53]name=ofd_packets/00032398 [07:29:53]NVStorageSaveData ofd_packets/00032398 [07:29:53]File name is /storage/ofd_packets/00032398 [07:29:53]Write 322 bytes [07:29:53]NVStorageSaveData done [07:29:53]OFDSenderStorePacket done [07:29:53]KKMCreateOFDPacket done [07:29:53]NVStorageSaveData kkm_last_timestamp [07:29:53]File name is /storage/kkm_last_timestamp [07:29:53]Write 4 bytes [07:29:53]NVStorageSaveData done [07:29:53]ExternCall_PrintAddStr [07:29:53]wPrintStart [07:29:53]Write to MH i2c: 01 00 00 9E 05 A3 [07:29:53]Write i2c OK [07:29:53]MH_I2C_Read... [07:29:53]Read from MH i2c: 01 [07:29:53]MH_I2C_Read... [07:29:53]Read from MH i2c: 01 07 00 [07:29:53]MH_I2C_Read... [07:29:53]Read from MH i2c: 01 07 00 9E 05 00 00 00 00 00 FF 0F B8 [07:29:53]RasterBufferAndPrint [07:29:53]line Счет N : (3)58553 [07:29:53]line ИНН: 02508201610067 [07:29:53]line Контрольно-Кассовый Чек [07:29:53]line ПРОДАЖА [07:29:53]line Товар: 48745000 [07:29:53]line Сигареты Winston Purple Mix [07:29:53]line 1.000 * 135.00 [07:29:53]line = 135.00 [07:29:53]line НДС 12% НСП 1% [07:29:53]line > о реализуемом товаре [07:29:53]line ИТОГО: 135.00 [07:29:53]line НСП 1% : 1.19 [07:29:53]line НДС 12% : 14.34 [07:29:53]line Наличными: 135.00 [07:29:53]line Безнал.: 0.00 [07:29:53]line Место: АЗС № 99 "Партнер Нефть" [07:29:53]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [07:29:53]line СНО: Общий режим [07:29:53]line Чек 14 06.03.2024 07:29 [07:29:53]line Смена: 284 ФФД: 1.0 [07:29:53]line ЗНМ: 0300000074 [07:29:53]line РНМ: 0000000000092554 [07:29:53]line Версия ККМ: 001 [07:29:53]line ФМ: 0000000000871783 [07:29:53]line ФД: 32398 [07:29:53]line ФПД: 188807404467150 [07:29:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T072954&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32398&fm=188807404467150&tin=02508201610067®Number=0000000000092554&sum=13500 [07:29:54]line 0 [07:29:54]OFD Sender: Processing packet 32398 [packets to send 5, broken 4] [07:29:54]ProducePacketName [07:29:54]name=ofd_packets/00032398 [07:29:54]OFD Sender: To server: pG, [07:29:54]CommunicateWithHost lk.salyk.kg:30040 [07:29:54]ConnectInit lk.salyk.kg [07:29:54]written 0, free lines is 4095 [07:29:54]Connected sock=10 [07:29:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 24 01 00 00 58 74 1C 01 A7 A9 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 72 1B E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 8E 7E 00 00 35 04 06 00 AB B8 26 46 33 CE 6C 59 50 C4 3E C9 27 E3 [07:29:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 17 5E 47 00 D2 F4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 8E 7E 00 00 F4 03 04 00 AB C3 E7 65 B6 04 01 00 00 1E A1 9E 5C 5E 20 86 C5 [07:29:54]CommunicateWithHost err = 0 [07:29:54]CheckOFDResponse [07:29:54]1017 (14) - 77093643461234 [07:29:54]1041 (16) - 0000000000871783 [07:29:54]1040 (4) - 32398 [07:29:54]1012 (4) - 06.03.2024 01:15 [07:29:54]1206 (1) - 0 [07:29:54]OFD Sender: Remove packet 32398 [07:29:54]ProducePacketName [07:29:54]name=ofd_packets/00032398 [07:29:54]NVStorageDeleteData [07:29:54]Write to MH i2c: 01 00 00 C6 05 CB [07:29:54]Write i2c OK [07:29:54]MH_I2C_Read... [07:29:54]Read from MH i2c: 01 [07:29:54]MH_I2C_Read... [07:29:54]Read from MH i2c: 01 07 00 [07:29:54]MH_I2C_Read... [07:29:54]Read from MH i2c: 01 07 00 C6 05 00 00 00 00 00 CA 0C A8 [07:29:54]RasterBufferAndPrint [07:29:54]line [07:29:54]line [07:29:54]line [07:29:54]line [07:29:54]line [07:29:54]written 0, free lines is 3280 [07:29:54]MH_Cut [07:29:54]Write to MH i2c: D1 01 00 CD 05 01 A4 [07:29:54]Write i2c OK [07:29:54]MH_I2C_Read... [07:29:54]Read from MH i2c: D1 [07:29:54]MH_I2C_Read... [07:29:54]Read from MH i2c: D1 01 00 [07:29:54]MH_I2C_Read... [07:29:54]Read from MH i2c: D1 01 00 CD 05 00 A3 [07:29:54]Write to MH i2c: 01 00 00 CE 05 D3 [07:29:54]Write i2c OK [07:29:54]MH_I2C_Read... [07:29:54]OFD Sender: No OFD packet to send [07:29:55]*** Cut start [07:29:55]*** Partial cut [07:29:55]*** CUTSNS_PIN = 1 [07:29:55]*** CUTSNS_PIN = 0 [07:29:55]*** Brake cut motor [07:29:56]Read from MH i2c: 01 [07:29:56]MH_I2C_Read... [07:29:56]*** Stop cut motor [07:29:56]*** Cut end [07:29:56]Read from MH i2c: 01 07 00 [07:29:56]MH_I2C_Read... [07:29:56]Read from MH i2c: 01 07 00 CE 05 00 00 00 00 00 FF 0F E8 [07:29:56]process_action close_receipt done [07:29:56]requested_data is exist [07:29:56]produce_requested_data [07:29:56]requested_item fm.sn is exist - process it [07:29:56]wFMCommunicate request_size=4 [07:29:56]MH_SAM_APDU [07:29:56]CAPDU: 80 11 00 00 [07:29:56]Write to MH i2c: E2 08 00 CF 05 80 11 00 00 00 00 00 00 4E [07:29:56]Write i2c OK [07:29:56]MH_I2C_Read... [07:29:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:29:56]Read from MH i2c: E2 [07:29:56]MH_I2C_Read... [07:29:56]Read from MH i2c: E2 17 00 [07:29:56]MH_I2C_Read... [07:29:56]Read from MH i2c: E2 17 00 CF 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 A3 [07:29:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [07:29:56]wFMCommunicate OK [07:29:56]requested_item fd.num is exist - process it [07:29:56]SAM_PROTO_GetFieldsCounters [07:29:56]wFMCommunicate request_size=4 [07:29:56]MH_SAM_APDU [07:29:56]CAPDU: 80 13 00 00 [07:29:56]Write to MH i2c: E2 08 00 D0 05 80 13 00 00 00 00 00 00 51 [07:29:56]Write i2c OK [07:29:56]MH_I2C_Read... [07:29:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:29:56]Read from MH i2c: E2 [07:29:56]MH_I2C_Read... [07:29:56]Read from MH i2c: E2 62 00 [07:29:56]MH_I2C_Read... [07:29:56]Read from MH i2c: E2 62 00 D0 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 8E 7E 00 00 0E 04 04 00 1C 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 C7 [07:29:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 8E 7E 00 00 0E 04 04 00 1C 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 [07:29:56]wFMCommunicate OK [07:29:56]SAM_PROTO_GetFieldsCounters done [07:29:56]requested_item shift.num is exist - process it [07:29:56]requested_item shift.opened is exist - process it [07:29:56]req_shift_opened [07:29:56]FM_GetShiftState [07:29:56]SAM_PROTO_GetShiftState [07:29:56]wFMCommunicate request_size=4 [07:29:56]MH_SAM_APDU [07:29:56]CAPDU: 80 13 01 00 [07:29:56]Write to MH i2c: E2 08 00 D1 05 80 13 01 00 00 00 00 00 53 [07:29:56]Write i2c OK [07:29:56]MH_I2C_Read... [07:29:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:29:56]Read from MH i2c: E2 [07:29:56]MH_I2C_Read... [07:29:56]Read from MH i2c: E2 0E 00 [07:29:56]MH_I2C_Read... [07:29:56]Read from MH i2c: E2 0E 00 D1 05 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 D0 [07:29:56]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [07:29:56]wFMCommunicate OK [07:29:56]SAM_PROTO_GetShiftState done [07:29:56]FM_GetShiftState done [07:29:56]req_shift_opened done [07:29:56]requested_item shift.open_date is exist - process it [07:29:56]req_shift_open_date [07:29:56]req_shift_open_date done [07:29:56]produce_requested_data done [07:29:56]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32398,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [07:29:56]process_action_free close_receipt [07:29:56]json_value_free [07:29:56]json_value_free done [07:29:56]process_json_proto returns [07:29:56]Send response to host [07:29:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32398,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [07:29:56]free response buf [07:29:56]execute_script done [07:29:56]execute_script returns [07:29:56]free content buf [07:29:56]Sock 8.Close socket [07:29:56]Sock 8.Thread stoped [07:29:59]OFD Sender: No OFD packet to send [07:30:04]OFD Sender: No OFD packet to send [07:30:09]OFD Sender: No OFD packet to send [07:30:14]OFD Sender: No OFD packet to send [07:30:19]OFD Sender: No OFD packet to send [07:30:24]OFD Sender: No OFD packet to send [07:30:30]OFD Sender: No OFD packet to send [07:30:35]OFD Sender: No OFD packet to send [07:30:40]OFD Sender: No OFD packet to send [07:30:45]OFD Sender: No OFD packet to send [07:30:50]OFD Sender: No OFD packet to send [07:30:55]OFD Sender: No OFD packet to send [07:31:00]OFD Sender: No OFD packet to send [07:31:05]OFD Sender: No OFD packet to send [07:31:10]OFD Sender: No OFD packet to send [07:31:15]OFD Sender: No OFD packet to send [07:31:20]OFD Sender: No OFD packet to send [07:31:25]OFD Sender: No OFD packet to send [07:31:30]OFD Sender: No OFD packet to send [07:31:35]OFD Sender: No OFD packet to send [07:31:40]OFD Sender: No OFD packet to send [07:31:45]OFD Sender: No OFD packet to send [07:31:50]OFD Sender: No OFD packet to send [07:31:55]OFD Sender: No OFD packet to send [07:32:00]OFD Sender: No OFD packet to send [07:32:05]OFD Sender: No OFD packet to send [07:32:10]OFD Sender: No OFD packet to send [07:32:15]OFD Sender: No OFD packet to send [07:32:20]OFD Sender: No OFD packet to send [07:32:25]OFD Sender: No OFD packet to send [07:32:30]OFD Sender: No OFD packet to send [07:32:35]OFD Sender: No OFD packet to send [07:32:40]OFD Sender: No OFD packet to send [07:32:45]OFD Sender: No OFD packet to send [07:32:50]OFD Sender: No OFD packet to send [07:32:55]OFD Sender: No OFD packet to send [07:33:00]OFD Sender: No OFD packet to send [07:33:05]OFD Sender: No OFD packet to send [07:33:10]OFD Sender: No OFD packet to send [07:33:15]OFD Sender: No OFD packet to send [07:33:20]OFD Sender: No OFD packet to send [07:33:25]OFD Sender: No OFD packet to send [07:33:30]OFD Sender: No OFD packet to send [07:33:35]OFD Sender: No OFD packet to send [07:33:40]OFD Sender: No OFD packet to send [07:33:45]OFD Sender: No OFD packet to send [07:33:50]OFD Sender: No OFD packet to send [07:33:55]OFD Sender: No OFD packet to send [07:34:00]OFD Sender: No OFD packet to send [07:34:05]OFD Sender: No OFD packet to send [07:34:10]OFD Sender: No OFD packet to send [07:34:15]OFD Sender: No OFD packet to send [07:34:20]OFD Sender: No OFD packet to send [07:34:25]OFD Sender: No OFD packet to send [07:34:30]OFD Sender: No OFD packet to send [07:34:35]OFD Sender: No OFD packet to send [07:34:40]OFD Sender: No OFD packet to send [07:34:45]OFD Sender: No OFD packet to send [07:34:50]OFD Sender: No OFD packet to send [07:34:55]OFD Sender: No OFD packet to send [07:35:00]OFD Sender: No OFD packet to send [07:35:05]OFD Sender: No OFD packet to send [07:35:10]OFD Sender: No OFD packet to send [07:35:15]OFD Sender: No OFD packet to send [07:35:20]OFD Sender: No OFD packet to send [07:35:25]OFD Sender: No OFD packet to send [07:35:30]OFD Sender: No OFD packet to send [07:35:35]OFD Sender: No OFD packet to send [07:35:40]OFD Sender: No OFD packet to send [07:35:45]OFD Sender: No OFD packet to send [07:35:50]OFD Sender: No OFD packet to send [07:35:55]OFD Sender: No OFD packet to send [07:36:00]OFD Sender: No OFD packet to send [07:36:05]OFD Sender: No OFD packet to send [07:36:10]OFD Sender: No OFD packet to send [07:36:15]OFD Sender: No OFD packet to send [07:36:20]OFD Sender: No OFD packet to send [07:36:25]OFD Sender: No OFD packet to send [07:36:30]OFD Sender: No OFD packet to send [07:36:35]OFD Sender: No OFD packet to send [07:36:40]OFD Sender: No OFD packet to send [07:36:45]OFD Sender: No OFD packet to send [07:36:50]OFD Sender: No OFD packet to send [07:36:55]OFD Sender: No OFD packet to send [07:37:00]OFD Sender: No OFD packet to send [07:37:05]OFD Sender: No OFD packet to send [07:37:10]OFD Sender: No OFD packet to send [07:37:15]OFD Sender: No OFD packet to send [07:37:20]OFD Sender: No OFD packet to send [07:37:25]OFD Sender: No OFD packet to send [07:37:30]OFD Sender: No OFD packet to send [07:37:35]OFD Sender: No OFD packet to send [07:37:40]OFD Sender: No OFD packet to send [07:37:45]OFD Sender: No OFD packet to send [07:37:50]OFD Sender: No OFD packet to send [07:37:55]OFD Sender: No OFD packet to send [07:38:00]OFD Sender: No OFD packet to send [07:38:05]OFD Sender: No OFD packet to send [07:38:10]OFD Sender: No OFD packet to send [07:38:15]OFD Sender: No OFD packet to send [07:38:20]OFD Sender: No OFD packet to send [07:38:25]OFD Sender: No OFD packet to send [07:38:30]OFD Sender: No OFD packet to send [07:38:35]OFD Sender: No OFD packet to send [07:38:40]OFD Sender: No OFD packet to send [07:38:45]OFD Sender: No OFD packet to send [07:38:50]OFD Sender: No OFD packet to send [07:38:55]OFD Sender: No OFD packet to send [07:39:00]OFD Sender: No OFD packet to send [07:39:05]OFD Sender: No OFD packet to send [07:39:10]OFD Sender: No OFD packet to send [07:39:15]OFD Sender: No OFD packet to send [07:39:20]OFD Sender: No OFD packet to send [07:39:25]OFD Sender: No OFD packet to send [07:39:30]OFD Sender: No OFD packet to send [07:39:35]OFD Sender: No OFD packet to send [07:39:40]OFD Sender: No OFD packet to send [07:39:45]OFD Sender: No OFD packet to send [07:39:50]OFD Sender: No OFD packet to send [07:39:55]OFD Sender: No OFD packet to send [07:40:00]OFD Sender: No OFD packet to send [07:40:05]OFD Sender: No OFD packet to send [07:40:10]OFD Sender: No OFD packet to send [07:40:15]OFD Sender: No OFD packet to send [07:40:20]OFD Sender: No OFD packet to send [07:40:25]OFD Sender: No OFD packet to send [07:40:30]OFD Sender: No OFD packet to send [07:40:35]OFD Sender: No OFD packet to send [07:40:40]OFD Sender: No OFD packet to send [07:40:45]OFD Sender: No OFD packet to send [07:40:50]OFD Sender: No OFD packet to send [07:40:55]OFD Sender: No OFD packet to send [07:41:00]OFD Sender: No OFD packet to send [07:41:05]OFD Sender: No OFD packet to send [07:41:10]OFD Sender: No OFD packet to send [07:41:15]OFD Sender: No OFD packet to send [07:41:20]OFD Sender: No OFD packet to send [07:41:25]OFD Sender: No OFD packet to send [07:41:30]OFD Sender: No OFD packet to send [07:41:30]accept exits with 9 [07:41:30]New connection [07:41:30]New thread 3066932580 created [07:41:30]Thread 3067075940 joined [07:41:30]Waiting for new connection... [07:41:30] Sock 9.Parse request [07:41:30]Sock 9.Check first char [07:41:30]Sock 9.First char is OK [07:41:30]request: POST /json_proto HTTP/1.0 [07:41:30]Method: POST [07:41:30]URL: /json_proto [07:41:30]Method is POST - this is cgi request [07:41:30]url: /json_proto [07:41:30]query_string will be loaded in cgi processing [07:41:30]execute_cgi json_proto POST (null) [07:41:30]execute_cgi path=json_proto method=POST [07:41:30]POST find Content-Length [07:41:30]Host: 172.17.61.6:8080 [07:41:30]Content-Length: 616 [07:41:30]Content-Type: application/json [07:41:30] [07:41:30]POST finish read [07:41:30]Found Content-Length = 616 [07:41:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58554", "tax_sys" : 0, "items" : [ { "code": "47803008", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:41:30]execute_script... [07:41:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58554", "tax_sys" : 0, "items" : [ { "code": "47803008", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:41:30]POST & json_proto [07:41:30]process_json_proto [07:41:30]json parsed OK: [07:41:30]protocol is kg_v1.0 [07:41:30]action value=close_receipt [07:41:30]process_action close_receipt [07:41:30]cmd_close_receipt [07:41:30]MH_GetDate [07:41:30]Write to MH i2c: F0 00 00 D2 05 C6 [07:41:30]Write i2c OK [07:41:30]MH_I2C_Read... [07:41:30]Read from MH i2c: F0 [07:41:30]MH_I2C_Read... [07:41:30]Read from MH i2c: F0 09 00 [07:41:30]MH_I2C_Read... [07:41:30]Read from MH i2c: F0 09 00 D2 05 00 2C 1E E8 65 78 7F 6F 64 30 [07:41:30]GetLastDocTimeStamp 1709710194 [07:41:30]current date 1709710892 [07:41:30]FM_GetShiftState [07:41:30]SAM_PROTO_GetShiftState [07:41:30]wFMCommunicate request_size=4 [07:41:30]MH_SAM_APDU [07:41:30]CAPDU: 80 13 01 00 [07:41:30]Write to MH i2c: E2 08 00 D3 05 80 13 01 00 00 00 00 00 55 [07:41:30]Write i2c OK [07:41:30]MH_I2C_Read... [07:41:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:41:30]Read from MH i2c: E2 [07:41:30]MH_I2C_Read... [07:41:30]Read from MH i2c: E2 0E 00 [07:41:30]MH_I2C_Read... [07:41:30]Read from MH i2c: E2 0E 00 D3 05 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 D2 [07:41:30]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [07:41:30]wFMCommunicate OK [07:41:30]SAM_PROTO_GetShiftState done [07:41:30]FM_GetShiftState done [07:41:30]opened in 1709684590 [07:41:30]opened+sec_in_day 1709770990 [07:41:30]quantity*price = 13500 [07:41:30]sum+1 = 13501 [07:41:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 15 06.03.2024 07:41 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32399 ФПД: 153289307037541 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T074132&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32399&fm=153289307037541&tin=02508201610067®Number=0000000000092554&sum=13500 0 [07:41:32]StoreToDocumentArchive [07:41:32]shift 284 fd 32399 [07:41:32]save to /storage/0284/doc_00032399 [07:41:32]save last doc name /storage/0284/doc_00032399 to /storage/kkm_last_doc_name [07:41:32]save OK [07:41:32]Clear old archive folders... [07:41:32]ProcessDocumentItem done err = 0, tmpTLVsize=269 [07:41:32]tlvbuf is 016621A0 [07:41:32]SAM_PROTO_ClearQueue [07:41:32]wFMCommunicate request_size=4 [07:41:32]MH_SAM_APDU [07:41:32]CAPDU: 80 09 00 00 [07:41:32]Write to MH i2c: E2 08 00 E0 05 80 09 00 00 00 00 00 00 57 [07:41:32]Write i2c OK [07:41:32]MH_I2C_Read... [07:41:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:41:32]Read from MH i2c: E2 [07:41:32]MH_I2C_Read... [07:41:32]Read from MH i2c: E2 03 00 [07:41:32]MH_I2C_Read... [07:41:32]Read from MH i2c: E2 03 00 E0 05 00 90 00 59 [07:41:32]RAPDU: 90 00 [07:41:32]wFMCommunicate OK [07:41:32]SAM_PROTO_ClearQueue done [07:41:32]KKMCreateOFDPacket [07:41:32]OFDProtocolAddRootSTLVToBuf [07:41:32]FM_MakeSignedData [07:41:32]FM_MakeSignedData [07:41:32]SAM_PROTO_SignData [07:41:32]wFMCommunicate request_size=4 [07:41:32]MH_SAM_APDU [07:41:32]CAPDU: 80 0D 01 02 [07:41:32]Write to MH i2c: E2 08 00 E1 05 80 0D 01 02 00 00 00 00 5F [07:41:32]Write i2c OK [07:41:32]MH_I2C_Read... [07:41:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:41:32]Read from MH i2c: E2 [07:41:32]MH_I2C_Read... [07:41:32]Read from MH i2c: E2 03 00 [07:41:32]MH_I2C_Read... [07:41:32]Read from MH i2c: E2 03 00 E1 05 00 90 00 5A [07:41:32]RAPDU: 90 00 [07:41:32]wFMCommunicate OK [07:41:32]wFMCommunicate request_size=255 [07:41:32]MH_SAM_APDU [07:41:32]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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 2C 1E E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [07:41:32]Write to MH i2c: E2 02 01 E2 05 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 2C 1E E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 FB [07:41:32]Write i2c OK [07:41:32]MH_I2C_Read... [07:41:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:41:32]Read from MH i2c: E2 [07:41:32]MH_I2C_Read... [07:41:32]Read from MH i2c: E2 03 00 [07:41:32]MH_I2C_Read... [07:41:32]Read from MH i2c: E2 03 00 E2 05 00 90 00 5B [07:41:32]RAPDU: 90 00 [07:41:32]wFMCommunicate OK [07:41:32]wFMCommunicate request_size=28 [07:41:32]MH_SAM_APDU [07:41:32]CAPDU: 80 0D 02 02 17 37 31 37 38 33 10 04 04 00 8F 7E 00 00 35 04 06 00 8B 6A 72 B1 9F 65 [07:41:32]Write to MH i2c: E2 1F 00 E3 05 80 0D 02 02 17 00 37 31 37 38 33 10 04 04 00 8F 7E 00 00 35 04 06 00 8B 6A 72 B1 9F 65 00 00 1A [07:41:32]Write i2c OK [07:41:32]MH_I2C_Read... [07:41:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:41:32]Read from MH i2c: E2 [07:41:32]MH_I2C_Read... [07:41:32]Read from MH i2c: E2 03 00 [07:41:32]MH_I2C_Read... [07:41:32]Read from MH i2c: E2 03 00 E3 05 00 90 00 5C [07:41:32]RAPDU: 90 00 [07:41:32]wFMCommunicate OK [07:41:32]wFMCommunicate request_size=4 [07:41:32]MH_SAM_APDU [07:41:32]CAPDU: 80 0D 03 02 [07:41:32]Write to MH i2c: E2 08 00 E4 05 80 0D 03 02 00 00 00 00 64 [07:41:32]Write i2c OK [07:41:32]MH_I2C_Read... [07:41:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:41:32]Read from MH i2c: E2 [07:41:32]MH_I2C_Read... [07:41:32]Read from MH i2c: E2 0B 00 [07:41:32]MH_I2C_Read... [07:41:32]Read from MH i2c: E2 0B 00 E4 05 00 94 7E 43 60 43 8C E9 70 90 00 42 [07:41:32]RAPDU: 94 7E 43 60 43 8C E9 70 90 00 [07:41:32]wFMCommunicate OK [07:41:32]SAM_PROTO_SignData done [07:41:32]FM_MakeSignedData done [07:41:32]CreateOFDProtocolMessage [07:41:32]wFMCommunicate request_size=4 [07:41:32]MH_SAM_APDU [07:41:32]CAPDU: 80 11 00 00 [07:41:32]Write to MH i2c: E2 08 00 E5 05 80 11 00 00 00 00 00 00 64 [07:41:32]Write i2c OK [07:41:32]MH_I2C_Read... [07:41:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:41:32]Read from MH i2c: E2 [07:41:32]MH_I2C_Read... [07:41:32]Read from MH i2c: E2 17 00 [07:41:32]MH_I2C_Read... [07:41:32]Read from MH i2c: E2 17 00 E5 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 B9 [07:41:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [07:41:32]wFMCommunicate OK [07:41:32]CreateOFDProtocolMessage done [07:41:32]OFDSenderStorePacket 32399 [07:41:32]StoreOFDPacket docnum=32399 [07:41:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 21 01 00 00 F1 AC 19 01 F9 D4 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 2C 1E E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 8F 7E 00 00 35 04 06 00 8B 6A 72 B1 9F 65 94 7E 43 60 43 8C E9 70 [07:41:32]CheckFolder [07:41:32]dirname=/storage/ofd_packets [07:41:32]CheckFolder done [07:41:32]ProducePacketName [07:41:32]name=ofd_packets/00032399 [07:41:32]NVStorageSaveData ofd_packets/00032399 [07:41:32]File name is /storage/ofd_packets/00032399 [07:41:32]Write 319 bytes [07:41:32]NVStorageSaveData done [07:41:32]OFDSenderStorePacket done [07:41:32]KKMCreateOFDPacket done [07:41:32]NVStorageSaveData kkm_last_timestamp [07:41:32]File name is /storage/kkm_last_timestamp [07:41:32]Write 4 bytes [07:41:32]NVStorageSaveData done [07:41:32]ExternCall_PrintAddStr [07:41:32]wPrintStart [07:41:32]Write to MH i2c: 01 00 00 E6 05 EB [07:41:32]Write i2c OK [07:41:32]MH_I2C_Read... [07:41:32]Read from MH i2c: 01 [07:41:32]MH_I2C_Read... [07:41:32]Read from MH i2c: 01 07 00 [07:41:32]MH_I2C_Read... [07:41:32]Read from MH i2c: 01 07 00 E6 05 00 00 00 00 00 FF 0F 00 [07:41:32]RasterBufferAndPrint [07:41:32]line Счет N : (3)58554 [07:41:32]line ИНН: 02508201610067 [07:41:32]line Контрольно-Кассовый Чек [07:41:32]line ПРОДАЖА [07:41:32]line Товар: 47803008 [07:41:32]line Сигареты Winston XS Blue [07:41:32]line 1.000 * 135.00 [07:41:32]line = 135.00 [07:41:32]line НДС 12% НСП 1% [07:41:32]line > о реализуемом товаре [07:41:32]line ИТОГО: 135.00 [07:41:32]line НСП 1% : 1.19 [07:41:32]line НДС 12% : 14.34 [07:41:32]line Наличными: 135.00 [07:41:32]line Безнал.: 0.00 [07:41:32]line Место: АЗС № 99 "Партнер Нефть" [07:41:32]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [07:41:32]line СНО: Общий режим [07:41:32]line Чек 15 06.03.2024 07:41 [07:41:32]line Смена: 284 ФФД: 1.0 [07:41:32]line ЗНМ: 0300000074 [07:41:32]line РНМ: 0000000000092554 [07:41:32]line Версия ККМ: 001 [07:41:32]line ФМ: 0000000000871783 [07:41:32]line ФД: 32399 [07:41:32]line ФПД: 153289307037541 [07:41:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T074132&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32399&fm=153289307037541&tin=02508201610067®Number=0000000000092554&sum=13500 [07:41:32]line 0 [07:41:32]OFD Sender: Processing packet 32399 [packets to send 5, broken 4] [07:41:32]ProducePacketName [07:41:32]name=ofd_packets/00032399 [07:41:32]OFD Sender: To server: pG, [07:41:32]CommunicateWithHost lk.salyk.kg:30040 [07:41:32]ConnectInit lk.salyk.kg [07:41:32]written 0, free lines is 4095 [07:41:32]Connected sock=10 [07:41:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 21 01 00 00 F1 AC 19 01 F9 D4 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 2C 1E E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 8F 7E 00 00 35 04 06 00 8B 6A 72 B1 9F 65 94 7E 43 60 43 8C E9 70 [07:41:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 0D 6F 47 00 C3 72 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 8F 7E 00 00 F4 03 04 00 65 C6 E7 65 B6 04 01 00 00 2B 2A F4 7F 0D D4 CB 25 [07:41:33]CommunicateWithHost err = 0 [07:41:33]CheckOFDResponse [07:41:33]1017 (14) - 77093643461234 [07:41:33]1041 (16) - 0000000000871783 [07:41:33]1040 (4) - 32399 [07:41:33]1012 (4) - 06.03.2024 01:27 [07:41:33]1206 (1) - 0 [07:41:33]OFD Sender: Remove packet 32399 [07:41:33]ProducePacketName [07:41:33]name=ofd_packets/00032399 [07:41:33]NVStorageDeleteData [07:41:33]Write to MH i2c: 01 00 00 0E 06 14 [07:41:33]Write i2c OK [07:41:33]MH_I2C_Read... [07:41:33]Read from MH i2c: 01 [07:41:33]MH_I2C_Read... [07:41:33]Read from MH i2c: 01 07 00 [07:41:33]MH_I2C_Read... [07:41:33]Read from MH i2c: 01 07 00 0E 06 00 00 00 00 00 C5 0C EC [07:41:33]RasterBufferAndPrint [07:41:33]line [07:41:33]line [07:41:33]line [07:41:33]line [07:41:33]line [07:41:33]written 0, free lines is 3273 [07:41:33]MH_Cut [07:41:33]Write to MH i2c: D1 01 00 15 06 01 ED [07:41:33]Write i2c OK [07:41:33]MH_I2C_Read... [07:41:33]Read from MH i2c: D1 [07:41:33]MH_I2C_Read... [07:41:33]Read from MH i2c: D1 01 00 [07:41:33]MH_I2C_Read... [07:41:33]Read from MH i2c: D1 01 00 15 06 00 EC [07:41:33]Write to MH i2c: 01 00 00 16 06 1C [07:41:33]Write i2c OK [07:41:33]MH_I2C_Read... [07:41:33]OFD Sender: No OFD packet to send [07:41:34]*** Cut start [07:41:34]*** Partial cut [07:41:34]*** CUTSNS_PIN = 1 [07:41:34]*** CUTSNS_PIN = 0 [07:41:34]*** Brake cut motor [07:41:34]Read from MH i2c: 01 [07:41:34]MH_I2C_Read... [07:41:34]*** Stop cut motor [07:41:34]*** Cut end [07:41:34]Read from MH i2c: 01 07 00 [07:41:34]MH_I2C_Read... [07:41:34]Read from MH i2c: 01 07 00 16 06 00 00 00 00 00 FF 0F 31 [07:41:34]process_action close_receipt done [07:41:34]requested_data is exist [07:41:34]produce_requested_data [07:41:34]requested_item fm.sn is exist - process it [07:41:34]wFMCommunicate request_size=4 [07:41:34]MH_SAM_APDU [07:41:34]CAPDU: 80 11 00 00 [07:41:34]Write to MH i2c: E2 08 00 17 06 80 11 00 00 00 00 00 00 97 [07:41:34]Write i2c OK [07:41:34]MH_I2C_Read... [07:41:34]Read from MH i2c: E2 [07:41:34]MH_I2C_Read... [07:41:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:41:34]Read from MH i2c: E2 17 00 [07:41:34]MH_I2C_Read... [07:41:34]Read from MH i2c: E2 17 00 17 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 EC [07:41:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [07:41:34]wFMCommunicate OK [07:41:34]requested_item fd.num is exist - process it [07:41:34]SAM_PROTO_GetFieldsCounters [07:41:34]wFMCommunicate request_size=4 [07:41:34]MH_SAM_APDU [07:41:34]CAPDU: 80 13 00 00 [07:41:34]Write to MH i2c: E2 08 00 18 06 80 13 00 00 00 00 00 00 9A [07:41:34]Write i2c OK [07:41:34]MH_I2C_Read... [07:41:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:41:34]Read from MH i2c: E2 [07:41:34]MH_I2C_Read... [07:41:34]Read from MH i2c: E2 62 00 [07:41:34]MH_I2C_Read... [07:41:34]Read from MH i2c: E2 62 00 18 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 8F 7E 00 00 0E 04 04 00 1C 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 14 [07:41:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 8F 7E 00 00 0E 04 04 00 1C 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 [07:41:34]wFMCommunicate OK [07:41:34]SAM_PROTO_GetFieldsCounters done [07:41:35]requested_item shift.num is exist - process it [07:41:35]requested_item shift.opened is exist - process it [07:41:35]req_shift_opened [07:41:35]FM_GetShiftState [07:41:35]SAM_PROTO_GetShiftState [07:41:35]wFMCommunicate request_size=4 [07:41:35]MH_SAM_APDU [07:41:35]CAPDU: 80 13 01 00 [07:41:35]Write to MH i2c: E2 08 00 19 06 80 13 01 00 00 00 00 00 9C [07:41:35]Write i2c OK [07:41:35]MH_I2C_Read... [07:41:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:41:35]Read from MH i2c: E2 [07:41:35]MH_I2C_Read... [07:41:35]Read from MH i2c: E2 0E 00 [07:41:35]MH_I2C_Read... [07:41:35]Read from MH i2c: E2 0E 00 19 06 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 19 [07:41:35]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [07:41:35]wFMCommunicate OK [07:41:35]SAM_PROTO_GetShiftState done [07:41:35]FM_GetShiftState done [07:41:35]req_shift_opened done [07:41:35]requested_item shift.open_date is exist - process it [07:41:35]req_shift_open_date [07:41:35]req_shift_open_date done [07:41:35]produce_requested_data done [07:41:35]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32399,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [07:41:35]process_action_free close_receipt [07:41:35]json_value_free [07:41:35]json_value_free done [07:41:35]process_json_proto returns [07:41:35]Send response to host [07:41:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32399,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [07:41:35]free response buf [07:41:35]execute_script done [07:41:35]execute_script returns [07:41:35]free content buf [07:41:35]Sock 9.Close socket [07:41:35]Sock 9.Thread stoped [07:41:38]OFD Sender: No OFD packet to send [07:41:43]OFD Sender: No OFD packet to send [07:41:48]OFD Sender: No OFD packet to send [07:41:53]OFD Sender: No OFD packet to send [07:41:58]OFD Sender: No OFD packet to send [07:42:03]OFD Sender: No OFD packet to send [07:42:08]OFD Sender: No OFD packet to send [07:42:13]OFD Sender: No OFD packet to send [07:42:18]OFD Sender: No OFD packet to send [07:42:23]OFD Sender: No OFD packet to send [07:42:28]OFD Sender: No OFD packet to send [07:42:33]OFD Sender: No OFD packet to send [07:42:38]OFD Sender: No OFD packet to send [07:42:43]OFD Sender: No OFD packet to send [07:42:48]OFD Sender: No OFD packet to send [07:42:53]OFD Sender: No OFD packet to send [07:42:58]OFD Sender: No OFD packet to send [07:43:03]OFD Sender: No OFD packet to send [07:43:08]OFD Sender: No OFD packet to send [07:43:13]OFD Sender: No OFD packet to send [07:43:18]OFD Sender: No OFD packet to send [07:43:23]OFD Sender: No OFD packet to send [07:43:28]OFD Sender: No OFD packet to send [07:43:33]OFD Sender: No OFD packet to send [07:43:38]OFD Sender: No OFD packet to send [07:43:43]OFD Sender: No OFD packet to send [07:43:48]OFD Sender: No OFD packet to send [07:43:53]OFD Sender: No OFD packet to send [07:43:58]OFD Sender: No OFD packet to send [07:44:03]OFD Sender: No OFD packet to send [07:44:08]OFD Sender: No OFD packet to send [07:44:13]OFD Sender: No OFD packet to send [07:44:18]OFD Sender: No OFD packet to send [07:44:23]OFD Sender: No OFD packet to send [07:44:28]OFD Sender: No OFD packet to send [07:44:33]OFD Sender: No OFD packet to send [07:44:38]OFD Sender: No OFD packet to send [07:44:43]OFD Sender: No OFD packet to send [07:44:48]OFD Sender: No OFD packet to send [07:44:53]OFD Sender: No OFD packet to send [07:44:58]OFD Sender: No OFD packet to send [07:45:03]OFD Sender: No OFD packet to send [07:45:08]OFD Sender: No OFD packet to send [07:45:13]OFD Sender: No OFD packet to send [07:45:18]OFD Sender: No OFD packet to send [07:45:23]OFD Sender: No OFD packet to send [07:45:28]OFD Sender: No OFD packet to send [07:45:33]OFD Sender: No OFD packet to send [07:45:38]OFD Sender: No OFD packet to send [07:45:43]OFD Sender: No OFD packet to send [07:45:48]OFD Sender: No OFD packet to send [07:45:53]OFD Sender: No OFD packet to send [07:45:58]OFD Sender: No OFD packet to send [07:46:03]OFD Sender: No OFD packet to send [07:46:08]OFD Sender: No OFD packet to send [07:46:13]OFD Sender: No OFD packet to send [07:46:18]OFD Sender: No OFD packet to send [07:46:23]OFD Sender: No OFD packet to send [07:46:28]OFD Sender: No OFD packet to send [07:46:33]OFD Sender: No OFD packet to send [07:46:38]OFD Sender: No OFD packet to send [07:46:43]OFD Sender: No OFD packet to send [07:46:48]OFD Sender: No OFD packet to send [07:46:53]OFD Sender: No OFD packet to send [07:46:58]OFD Sender: No OFD packet to send [07:47:03]OFD Sender: No OFD packet to send [07:47:08]OFD Sender: No OFD packet to send [07:47:13]OFD Sender: No OFD packet to send [07:47:18]OFD Sender: No OFD packet to send [07:47:23]OFD Sender: No OFD packet to send [07:47:28]OFD Sender: No OFD packet to send [07:47:33]OFD Sender: No OFD packet to send [07:47:38]OFD Sender: No OFD packet to send [07:47:44]OFD Sender: No OFD packet to send [07:47:49]OFD Sender: No OFD packet to send [07:47:54]OFD Sender: No OFD packet to send [07:47:59]OFD Sender: No OFD packet to send [07:48:04]OFD Sender: No OFD packet to send [07:48:09]OFD Sender: No OFD packet to send [07:48:14]OFD Sender: No OFD packet to send [07:48:19]OFD Sender: No OFD packet to send [07:48:24]OFD Sender: No OFD packet to send [07:48:29]OFD Sender: No OFD packet to send [07:48:34]OFD Sender: No OFD packet to send [07:48:39]OFD Sender: No OFD packet to send [07:48:44]OFD Sender: No OFD packet to send [07:48:49]OFD Sender: No OFD packet to send [07:48:54]OFD Sender: No OFD packet to send [07:48:59]OFD Sender: No OFD packet to send [07:49:04]OFD Sender: No OFD packet to send [07:49:09]OFD Sender: No OFD packet to send [07:49:14]OFD Sender: No OFD packet to send [07:49:19]OFD Sender: No OFD packet to send [07:49:24]OFD Sender: No OFD packet to send [07:49:29]OFD Sender: No OFD packet to send [07:49:34]OFD Sender: No OFD packet to send [07:49:39]OFD Sender: No OFD packet to send [07:49:44]OFD Sender: No OFD packet to send [07:49:49]OFD Sender: No OFD packet to send [07:49:54]OFD Sender: No OFD packet to send [07:49:59]OFD Sender: No OFD packet to send [07:50:04]OFD Sender: No OFD packet to send [07:50:09]OFD Sender: No OFD packet to send [07:50:14]OFD Sender: No OFD packet to send [07:50:19]OFD Sender: No OFD packet to send [07:50:24]OFD Sender: No OFD packet to send [07:50:29]OFD Sender: No OFD packet to send [07:50:34]OFD Sender: No OFD packet to send [07:50:39]OFD Sender: No OFD packet to send [07:50:44]OFD Sender: No OFD packet to send [07:50:49]OFD Sender: No OFD packet to send [07:50:54]OFD Sender: No OFD packet to send [07:50:59]OFD Sender: No OFD packet to send [07:51:04]OFD Sender: No OFD packet to send [07:51:09]OFD Sender: No OFD packet to send [07:51:14]OFD Sender: No OFD packet to send [07:51:19]OFD Sender: No OFD packet to send [07:51:24]OFD Sender: No OFD packet to send [07:51:29]OFD Sender: No OFD packet to send [07:51:34]OFD Sender: No OFD packet to send [07:51:39]OFD Sender: No OFD packet to send [07:51:44]OFD Sender: No OFD packet to send [07:51:49]OFD Sender: No OFD packet to send [07:51:54]OFD Sender: No OFD packet to send [07:51:59]OFD Sender: No OFD packet to send [07:52:04]OFD Sender: No OFD packet to send [07:52:09]OFD Sender: No OFD packet to send [07:52:14]OFD Sender: No OFD packet to send [07:52:19]OFD Sender: No OFD packet to send [07:52:24]OFD Sender: No OFD packet to send [07:52:29]OFD Sender: No OFD packet to send [07:52:34]OFD Sender: No OFD packet to send [07:52:39]OFD Sender: No OFD packet to send [07:52:44]OFD Sender: No OFD packet to send [07:52:49]OFD Sender: No OFD packet to send [07:52:54]OFD Sender: No OFD packet to send [07:52:59]OFD Sender: No OFD packet to send [07:53:04]OFD Sender: No OFD packet to send [07:53:09]OFD Sender: No OFD packet to send [07:53:14]OFD Sender: No OFD packet to send [07:53:19]OFD Sender: No OFD packet to send [07:53:24]OFD Sender: No OFD packet to send [07:53:29]OFD Sender: No OFD packet to send [07:53:34]OFD Sender: No OFD packet to send [07:53:39]OFD Sender: No OFD packet to send [07:53:44]OFD Sender: No OFD packet to send [07:53:49]OFD Sender: No OFD packet to send [07:53:54]OFD Sender: No OFD packet to send [07:53:59]OFD Sender: No OFD packet to send [07:54:04]OFD Sender: No OFD packet to send [07:54:09]OFD Sender: No OFD packet to send [07:54:14]OFD Sender: No OFD packet to send [07:54:19]OFD Sender: No OFD packet to send [07:54:24]OFD Sender: No OFD packet to send [07:54:29]OFD Sender: No OFD packet to send [07:54:34]OFD Sender: No OFD packet to send [07:54:39]OFD Sender: No OFD packet to send [07:54:44]OFD Sender: No OFD packet to send [07:54:49]OFD Sender: No OFD packet to send [07:54:54]OFD Sender: No OFD packet to send [07:54:59]OFD Sender: No OFD packet to send [07:55:04]OFD Sender: No OFD packet to send [07:55:09]OFD Sender: No OFD packet to send [07:55:14]OFD Sender: No OFD packet to send [07:55:19]OFD Sender: No OFD packet to send [07:55:24]OFD Sender: No OFD packet to send [07:55:29]OFD Sender: No OFD packet to send [07:55:34]OFD Sender: No OFD packet to send [07:55:39]OFD Sender: No OFD packet to send [07:55:44]OFD Sender: No OFD packet to send [07:55:49]OFD Sender: No OFD packet to send [07:55:54]OFD Sender: No OFD packet to send [07:55:59]OFD Sender: No OFD packet to send [07:56:04]OFD Sender: No OFD packet to send [07:56:09]OFD Sender: No OFD packet to send [07:56:14]OFD Sender: No OFD packet to send [07:56:19]OFD Sender: No OFD packet to send [07:56:24]OFD Sender: No OFD packet to send [07:56:29]OFD Sender: No OFD packet to send [07:56:34]OFD Sender: No OFD packet to send [07:56:34]accept exits with 8 [07:56:34]New connection [07:56:34]New thread 3067075940 created [07:56:34]Thread 3066932580 joined [07:56:34]Waiting for new connection... [07:56:34] Sock 8.Parse request [07:56:34]Sock 8.Check first char [07:56:34]Sock 8.First char is OK [07:56:34]request: POST /json_proto HTTP/1.0 [07:56:34]Method: POST [07:56:34]URL: /json_proto [07:56:34]Method is POST - this is cgi request [07:56:34]url: /json_proto [07:56:34]query_string will be loaded in cgi processing [07:56:34]execute_cgi json_proto POST (null) [07:56:34]execute_cgi path=json_proto method=POST [07:56:34]POST find Content-Length [07:56:34]Host: 172.17.61.6:8080 [07:56:34]Content-Length: 608 [07:56:34]Content-Type: application/json [07:56:34] [07:56:34]POST finish read [07:56:34]Found Content-Length = 608 [07:56:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58555", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:56:34]execute_script... [07:56: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)58555", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:56:34]POST & json_proto [07:56:34]process_json_proto [07:56:34]json parsed OK: [07:56:34]protocol is kg_v1.0 [07:56:34]action value=close_receipt [07:56:34]process_action close_receipt [07:56:34]cmd_close_receipt [07:56:34]MH_GetDate [07:56:34]Write to MH i2c: F0 00 00 1A 06 0F [07:56:34]Write i2c OK [07:56:34]MH_I2C_Read... [07:56:34]Read from MH i2c: F0 [07:56:34]MH_I2C_Read... [07:56:34]Read from MH i2c: F0 09 00 [07:56:34]MH_I2C_Read... [07:56:34]Read from MH i2c: F0 09 00 1A 06 00 B4 21 E8 65 78 7F 6F 64 04 [07:56:34]GetLastDocTimeStamp 1709710892 [07:56:34]current date 1709711796 [07:56:34]FM_GetShiftState [07:56:34]SAM_PROTO_GetShiftState [07:56:34]wFMCommunicate request_size=4 [07:56:34]MH_SAM_APDU [07:56:34]CAPDU: 80 13 01 00 [07:56:34]Write to MH i2c: E2 08 00 1B 06 80 13 01 00 00 00 00 00 9E [07:56:34]Write i2c OK [07:56:34]MH_I2C_Read... [07:56:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:56:34]Read from MH i2c: E2 [07:56:34]MH_I2C_Read... [07:56:34]Read from MH i2c: E2 0E 00 [07:56:34]MH_I2C_Read... [07:56:34]Read from MH i2c: E2 0E 00 1B 06 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 1B [07:56:34]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [07:56:34]wFMCommunicate OK [07:56:34]SAM_PROTO_GetShiftState done [07:56:34]FM_GetShiftState done [07:56:34]opened in 1709684590 [07:56:34]opened+sec_in_day 1709770990 [07:56:34]quantity*price = 12500 [07:56:34]sum+1 = 12501 [07:56:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 16 06.03.2024 07:56 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32400 ФПД: 243423443333019 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T075636&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32400&fm=243423443333019&tin=02508201610067®Number=0000000000092554&sum=12500 0 [07:56:35]StoreToDocumentArchive [07:56:35]shift 284 fd 32400 [07:56:35]save to /storage/0284/doc_00032400 [07:56:35]save last doc name /storage/0284/doc_00032400 to /storage/kkm_last_doc_name [07:56:35]save OK [07:56:35]Clear old archive folders... [07:56:35]ProcessDocumentItem done err = 0, tmpTLVsize=261 [07:56:35]tlvbuf is 01662070 [07:56:35]SAM_PROTO_ClearQueue [07:56:35]wFMCommunicate request_size=4 [07:56:35]MH_SAM_APDU [07:56:35]CAPDU: 80 09 00 00 [07:56:35]Write to MH i2c: E2 08 00 28 06 80 09 00 00 00 00 00 00 A0 [07:56:35]Write i2c OK [07:56:35]MH_I2C_Read... [07:56:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:56:35]Read from MH i2c: E2 [07:56:35]MH_I2C_Read... [07:56:35]Read from MH i2c: E2 03 00 [07:56:35]MH_I2C_Read... [07:56:35]Read from MH i2c: E2 03 00 28 06 00 90 00 A2 [07:56:35]RAPDU: 90 00 [07:56:35]wFMCommunicate OK [07:56:35]SAM_PROTO_ClearQueue done [07:56:35]KKMCreateOFDPacket [07:56:35]OFDProtocolAddRootSTLVToBuf [07:56:35]FM_MakeSignedData [07:56:35]FM_MakeSignedData [07:56:35]SAM_PROTO_SignData [07:56:35]wFMCommunicate request_size=4 [07:56:35]MH_SAM_APDU [07:56:35]CAPDU: 80 0D 01 02 [07:56:35]Write to MH i2c: E2 08 00 29 06 80 0D 01 02 00 00 00 00 A8 [07:56:35]Write i2c OK [07:56:35]MH_I2C_Read... [07:56:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:56:36]Read from MH i2c: E2 [07:56:36]MH_I2C_Read... [07:56:36]Read from MH i2c: E2 03 00 [07:56:36]MH_I2C_Read... [07:56:36]Read from MH i2c: E2 03 00 29 06 00 90 00 A3 [07:56:36]RAPDU: 90 00 [07:56:36]wFMCommunicate OK [07:56:36]wFMCommunicate request_size=255 [07:56:36]MH_SAM_APDU [07:56:36]CAPDU: 80 0D 02 02 FA 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 B4 21 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 [07:56:36]Write to MH i2c: E2 02 01 2A 06 80 0D 02 02 FA 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 B4 21 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 00 90 [07:56:36]Write i2c OK [07:56:36]MH_I2C_Read... [07:56:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:56:36]Read from MH i2c: E2 [07:56:36]MH_I2C_Read... [07:56:36]Read from MH i2c: E2 03 00 [07:56:36]MH_I2C_Read... [07:56:36]Read from MH i2c: E2 03 00 2A 06 00 90 00 A4 [07:56:36]RAPDU: 90 00 [07:56:36]wFMCommunicate OK [07:56:36]wFMCommunicate request_size=20 [07:56:36]MH_SAM_APDU [07:56:36]CAPDU: 80 0D 02 02 0F 00 90 7E 00 00 35 04 06 00 DD 64 6F DE AF 9B [07:56:36]Write to MH i2c: E2 17 00 2B 06 80 0D 02 02 0F 00 00 90 7E 00 00 35 04 06 00 DD 64 6F DE AF 9B 00 00 EE [07:56:36]Write i2c OK [07:56:36]MH_I2C_Read... [07:56:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:56:36]Read from MH i2c: E2 [07:56:36]MH_I2C_Read... [07:56:36]Read from MH i2c: E2 03 00 [07:56:36]MH_I2C_Read... [07:56:36]Read from MH i2c: E2 03 00 2B 06 00 90 00 A5 [07:56:36]RAPDU: 90 00 [07:56:36]wFMCommunicate OK [07:56:36]wFMCommunicate request_size=4 [07:56:36]MH_SAM_APDU [07:56:36]CAPDU: 80 0D 03 02 [07:56:36]Write to MH i2c: E2 08 00 2C 06 80 0D 03 02 00 00 00 00 AD [07:56:36]Write i2c OK [07:56:36]MH_I2C_Read... [07:56:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:56:36]Read from MH i2c: E2 [07:56:36]MH_I2C_Read... [07:56:36]Read from MH i2c: E2 0B 00 [07:56:36]MH_I2C_Read... [07:56:36]Read from MH i2c: E2 0B 00 2C 06 00 BC 8D 2A A3 F6 D4 F5 17 90 00 9A [07:56:36]RAPDU: BC 8D 2A A3 F6 D4 F5 17 90 00 [07:56:36]wFMCommunicate OK [07:56:36]SAM_PROTO_SignData done [07:56:36]FM_MakeSignedData done [07:56:36]CreateOFDProtocolMessage [07:56:36]wFMCommunicate request_size=4 [07:56:36]MH_SAM_APDU [07:56:36]CAPDU: 80 11 00 00 [07:56:36]Write to MH i2c: E2 08 00 2D 06 80 11 00 00 00 00 00 00 AD [07:56:36]Write i2c OK [07:56:36]MH_I2C_Read... [07:56:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:56:36]Read from MH i2c: E2 [07:56:36]MH_I2C_Read... [07:56:36]Read from MH i2c: E2 17 00 [07:56:36]MH_I2C_Read... [07:56:36]Read from MH i2c: E2 17 00 2D 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 02 [07:56:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [07:56:36]wFMCommunicate OK [07:56:36]CreateOFDProtocolMessage done [07:56:36]OFDSenderStorePacket 32400 [07:56:36]StoreOFDPacket docnum=32400 [07:56:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 19 01 00 00 14 55 11 01 4D 38 5A 03 01 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 B4 21 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 90 7E 00 00 35 04 06 00 DD 64 6F DE AF 9B BC 8D 2A A3 F6 D4 F5 17 [07:56:36]CheckFolder [07:56:36]dirname=/storage/ofd_packets [07:56:36]CheckFolder done [07:56:36]ProducePacketName [07:56:36]name=ofd_packets/00032400 [07:56:36]NVStorageSaveData ofd_packets/00032400 [07:56:36]File name is /storage/ofd_packets/00032400 [07:56:36]Write 311 bytes [07:56:36]NVStorageSaveData done [07:56:36]OFDSenderStorePacket done [07:56:36]KKMCreateOFDPacket done [07:56:36]NVStorageSaveData kkm_last_timestamp [07:56:36]File name is /storage/kkm_last_timestamp [07:56:36]Write 4 bytes [07:56:36]NVStorageSaveData done [07:56:36]ExternCall_PrintAddStr [07:56:36]wPrintStart [07:56:36]Write to MH i2c: 01 00 00 2E 06 34 [07:56:36]Write i2c OK [07:56:36]MH_I2C_Read... [07:56:36]Read from MH i2c: 01 [07:56:36]MH_I2C_Read... [07:56:36]Read from MH i2c: 01 07 00 [07:56:36]MH_I2C_Read... [07:56:36]Read from MH i2c: 01 07 00 2E 06 00 00 00 00 00 FF 0F 49 [07:56:36]RasterBufferAndPrint [07:56:36]line Счет N : (3)58555 [07:56:36]line ИНН: 02508201610067 [07:56:36]line Контрольно-Кассовый Чек [07:56:36]line ПРОДАЖА [07:56:36]line Товар: 48741156 [07:56:36]line Сигареты LD Blue [07:56:36]line 1.000 * 125.00 [07:56:36]line = 125.00 [07:56:36]line НДС 12% НСП 1% [07:56:36]line > о реализуемом товаре [07:56:36]line ИТОГО: 125.00 [07:56:36]line НСП 1% : 1.11 [07:56:36]line НДС 12% : 13.27 [07:56:36]line Наличными: 125.00 [07:56:36]line Безнал.: 0.00 [07:56:36]line Место: АЗС № 99 "Партнер Нефть" [07:56:36]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [07:56:36]line СНО: Общий режим [07:56:36]line Чек 16 06.03.2024 07:56 [07:56:36]line Смена: 284 ФФД: 1.0 [07:56:36]line ЗНМ: 0300000074 [07:56:36]line РНМ: 0000000000092554 [07:56:36]line Версия ККМ: 001 [07:56:36]line ФМ: 0000000000871783 [07:56:36]line ФД: 32400 [07:56:36]line ФПД: 243423443333019 [07:56:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T075636&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32400&fm=243423443333019&tin=02508201610067®Number=0000000000092554&sum=12500 [07:56:36]line 0 [07:56:36]OFD Sender: Processing packet 32400 [packets to send 5, broken 4] [07:56:36]ProducePacketName [07:56:36]name=ofd_packets/00032400 [07:56:36]OFD Sender: To server: pG, [07:56:36]CommunicateWithHost lk.salyk.kg:30040 [07:56:36]ConnectInit lk.salyk.kg [07:56:36]written 0, free lines is 4095 [07:56:36]Connected sock=10 [07:56:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 19 01 00 00 14 55 11 01 4D 38 5A 03 01 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 B4 21 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 90 7E 00 00 35 04 06 00 DD 64 6F DE AF 9B BC 8D 2A A3 F6 D4 F5 17 [07:56:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 FE 4D 47 00 AD CD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 90 7E 00 00 F4 03 04 00 ED C9 E7 65 B6 04 01 00 00 8C 6F 92 18 5B B5 89 3F [07:56:37]CommunicateWithHost err = 0 [07:56:37]CheckOFDResponse [07:56:37]1017 (14) - 77093643461234 [07:56:37]1041 (16) - 0000000000871783 [07:56:37]1040 (4) - 32400 [07:56:37]1012 (4) - 06.03.2024 01:42 [07:56:37]1206 (1) - 0 [07:56:37]OFD Sender: Remove packet 32400 [07:56:37]ProducePacketName [07:56:37]name=ofd_packets/00032400 [07:56:37]NVStorageDeleteData [07:56:37]Write to MH i2c: 01 00 00 56 06 5C [07:56:37]Write i2c OK [07:56:37]MH_I2C_Read... [07:56:37]Read from MH i2c: 01 [07:56:37]MH_I2C_Read... [07:56:37]Read from MH i2c: 01 07 00 [07:56:37]MH_I2C_Read... [07:56:37]Read from MH i2c: 01 07 00 56 06 00 00 00 00 00 DB 0C 4A [07:56:37]RasterBufferAndPrint [07:56:37]line [07:56:37]line [07:56:37]line [07:56:37]line [07:56:37]line [07:56:37]written 0, free lines is 3297 [07:56:37]MH_Cut [07:56:37]Write to MH i2c: D1 01 00 5D 06 01 35 [07:56:37]Write i2c OK [07:56:37]MH_I2C_Read... [07:56:37]Read from MH i2c: D1 [07:56:37]MH_I2C_Read... [07:56:37]Read from MH i2c: D1 01 00 [07:56:37]MH_I2C_Read... [07:56:37]Read from MH i2c: D1 01 00 5D 06 00 34 [07:56:37]Write to MH i2c: 01 00 00 5E 06 64 [07:56:37]Write i2c OK [07:56:37]MH_I2C_Read... [07:56:37]OFD Sender: No OFD packet to send [07:56:38]*** Cut start [07:56:38]*** Partial cut [07:56:38]*** CUTSNS_PIN = 1 [07:56:38]*** CUTSNS_PIN = 0 [07:56:38]*** Brake cut motor [07:56:38]Read from MH i2c: 01 [07:56:38]MH_I2C_Read... [07:56:38]*** Stop cut motor [07:56:38]*** Cut end [07:56:38]Read from MH i2c: 01 07 00 [07:56:38]MH_I2C_Read... [07:56:38]Read from MH i2c: 01 07 00 5E 06 00 00 00 00 00 FF 0F 79 [07:56:38]process_action close_receipt done [07:56:38]requested_data is exist [07:56:38]produce_requested_data [07:56:38]requested_item fm.sn is exist - process it [07:56:38]wFMCommunicate request_size=4 [07:56:38]MH_SAM_APDU [07:56:38]CAPDU: 80 11 00 00 [07:56:38]Write to MH i2c: E2 08 00 5F 06 80 11 00 00 00 00 00 00 DF [07:56:38]Write i2c OK [07:56:38]MH_I2C_Read... [07:56:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:56:38]Read from MH i2c: E2 [07:56:38]MH_I2C_Read... [07:56:38]Read from MH i2c: E2 17 00 [07:56:38]MH_I2C_Read... [07:56:38]Read from MH i2c: E2 17 00 5F 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 34 [07:56:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [07:56:38]wFMCommunicate OK [07:56:38]requested_item fd.num is exist - process it [07:56:38]SAM_PROTO_GetFieldsCounters [07:56:38]wFMCommunicate request_size=4 [07:56:38]MH_SAM_APDU [07:56:38]CAPDU: 80 13 00 00 [07:56:38]Write to MH i2c: E2 08 00 60 06 80 13 00 00 00 00 00 00 E2 [07:56:38]Write i2c OK [07:56:38]MH_I2C_Read... [07:56:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:56:38]Read from MH i2c: E2 [07:56:38]MH_I2C_Read... [07:56:38]Read from MH i2c: E2 62 00 [07:56:38]MH_I2C_Read... [07:56:38]Read from MH i2c: E2 62 00 60 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 90 7E 00 00 0E 04 04 00 1C 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 60 [07:56:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 90 7E 00 00 0E 04 04 00 1C 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 [07:56:38]wFMCommunicate OK [07:56:38]SAM_PROTO_GetFieldsCounters done [07:56:38]requested_item shift.num is exist - process it [07:56:38]requested_item shift.opened is exist - process it [07:56:38]req_shift_opened [07:56:38]FM_GetShiftState [07:56:38]SAM_PROTO_GetShiftState [07:56:38]wFMCommunicate request_size=4 [07:56:38]MH_SAM_APDU [07:56:38]CAPDU: 80 13 01 00 [07:56:38]Write to MH i2c: E2 08 00 61 06 80 13 01 00 00 00 00 00 E4 [07:56:38]Write i2c OK [07:56:38]MH_I2C_Read... [07:56:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:56:38]Read from MH i2c: E2 [07:56:38]MH_I2C_Read... [07:56:38]Read from MH i2c: E2 0E 00 [07:56:38]MH_I2C_Read... [07:56:38]Read from MH i2c: E2 0E 00 61 06 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 61 [07:56:38]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [07:56:38]wFMCommunicate OK [07:56:38]SAM_PROTO_GetShiftState done [07:56:38]FM_GetShiftState done [07:56:38]req_shift_opened done [07:56:38]requested_item shift.open_date is exist - process it [07:56:38]req_shift_open_date [07:56:38]req_shift_open_date done [07:56:38]produce_requested_data done [07:56:38]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32400,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [07:56:38]process_action_free close_receipt [07:56:38]json_value_free [07:56:38]json_value_free done [07:56:38]process_json_proto returns [07:56:38]Send response to host [07:56:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32400,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [07:56:38]free response buf [07:56:38]execute_script done [07:56:38]execute_script returns [07:56:38]free content buf [07:56:38]Sock 8.Close socket [07:56:38]Sock 8.Thread stoped [07:56:42]OFD Sender: No OFD packet to send [07:56:47]OFD Sender: No OFD packet to send [07:56:52]OFD Sender: No OFD packet to send [07:56:57]OFD Sender: No OFD packet to send [07:57:02]OFD Sender: No OFD packet to send [07:57:07]OFD Sender: No OFD packet to send [07:57:12]OFD Sender: No OFD packet to send [07:57:17]OFD Sender: No OFD packet to send [07:57:22]OFD Sender: No OFD packet to send [07:57:27]OFD Sender: No OFD packet to send [07:57:32]OFD Sender: No OFD packet to send [07:57:37]OFD Sender: No OFD packet to send [07:57:42]OFD Sender: No OFD packet to send [07:57:47]OFD Sender: No OFD packet to send [07:57:52]OFD Sender: No OFD packet to send [07:57:57]OFD Sender: No OFD packet to send [07:58:02]OFD Sender: No OFD packet to send [07:58:07]OFD Sender: No OFD packet to send [07:58:12]OFD Sender: No OFD packet to send [07:58:17]OFD Sender: No OFD packet to send [07:58:22]OFD Sender: No OFD packet to send [07:58:27]OFD Sender: No OFD packet to send [07:58:32]OFD Sender: No OFD packet to send [07:58:37]OFD Sender: No OFD packet to send [07:58:42]OFD Sender: No OFD packet to send [07:58:47]OFD Sender: No OFD packet to send [07:58:52]OFD Sender: No OFD packet to send [07:58:57]OFD Sender: No OFD packet to send [07:59:02]OFD Sender: No OFD packet to send [07:59:07]OFD Sender: No OFD packet to send [07:59:12]OFD Sender: No OFD packet to send [07:59:17]OFD Sender: No OFD packet to send [07:59:22]OFD Sender: No OFD packet to send [07:59:27]OFD Sender: No OFD packet to send [07:59:32]OFD Sender: No OFD packet to send [07:59:37]OFD Sender: No OFD packet to send [07:59:42]OFD Sender: No OFD packet to send [07:59:47]OFD Sender: No OFD packet to send [07:59:52]OFD Sender: No OFD packet to send [07:59:57]OFD Sender: No OFD packet to send [08:00:02]OFD Sender: No OFD packet to send [08:00:07]OFD Sender: No OFD packet to send [08:00:12]OFD Sender: No OFD packet to send [08:00:17]OFD Sender: No OFD packet to send [08:00:22]OFD Sender: No OFD packet to send [08:00:27]OFD Sender: No OFD packet to send [08:00:32]OFD Sender: No OFD packet to send [08:00:33]accept exits with 9 [08:00:33]New connection [08:00:33]New thread 3066932580 created [08:00:33]Thread 3067075940 joined [08:00:33]Waiting for new connection... [08:00:33] Sock 9.Parse request [08:00:33]Sock 9.Check first char [08:00:33]Sock 9.First char is OK [08:00:33]request: POST /json_proto HTTP/1.0 [08:00:33]Method: POST [08:00:33]URL: /json_proto [08:00:33]Method is POST - this is cgi request [08:00:33]url: /json_proto [08:00:33]query_string will be loaded in cgi processing [08:00:33]execute_cgi json_proto POST (null) [08:00:33]execute_cgi path=json_proto method=POST [08:00:33]POST find Content-Length [08:00:33]Host: 172.17.61.6:8080 [08:00:33]Content-Length: 702 [08:00:33]Content-Type: application/json [08:00:33] [08:00:33]POST finish read [08:00:33]Found Content-Length = 702 [08:00:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58556", "tax_sys" : 0, "items" : [ { "code": "4700001060848", "name": "\u041D\u0430\u0441\u0442\u043E\u0439\u043A\u0430 \u0412\u0438\u0448\u043D\u044F \u043D\u0430 \u043A\u043E\u043D\u044C\u044F\u043A\u0435 0,2\u043B", "price" : 200.00, "quantity" : 2.000, "sum" : 400.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 400.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:00:33]execute_script... [08:00: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)58556", "tax_sys" : 0, "items" : [ { "code": "4700001060848", "name": "\u041D\u0430\u0441\u0442\u043E\u0439\u043A\u0430 \u0412\u0438\u0448\u043D\u044F \u043D\u0430 \u043A\u043E\u043D\u044C\u044F\u043A\u0435 0,2\u043B", "price" : 200.00, "quantity" : 2.000, "sum" : 400.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 400.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:00:33]POST & json_proto [08:00:33]process_json_proto [08:00:33]json parsed OK: [08:00:33]protocol is kg_v1.0 [08:00:33]action value=close_receipt [08:00:33]process_action close_receipt [08:00:33]cmd_close_receipt [08:00:33]MH_GetDate [08:00:33]Write to MH i2c: F0 00 00 62 06 57 [08:00:33]Write i2c OK [08:00:33]MH_I2C_Read... [08:00:33]Read from MH i2c: F0 [08:00:33]MH_I2C_Read... [08:00:33]Read from MH i2c: F0 09 00 [08:00:33]MH_I2C_Read... [08:00:33]Read from MH i2c: F0 09 00 62 06 00 A3 22 E8 65 78 7F 6F 64 3C [08:00:33]GetLastDocTimeStamp 1709711796 [08:00:33]current date 1709712035 [08:00:33]FM_GetShiftState [08:00:33]SAM_PROTO_GetShiftState [08:00:33]wFMCommunicate request_size=4 [08:00:33]MH_SAM_APDU [08:00:33]CAPDU: 80 13 01 00 [08:00:33]Write to MH i2c: E2 08 00 63 06 80 13 01 00 00 00 00 00 E6 [08:00:33]Write i2c OK [08:00:33]MH_I2C_Read... [08:00:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:00:34]Read from MH i2c: E2 [08:00:34]MH_I2C_Read... [08:00:34]Read from MH i2c: E2 0E 00 [08:00:34]MH_I2C_Read... [08:00:34]Read from MH i2c: E2 0E 00 63 06 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 63 [08:00:34]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [08:00:34]wFMCommunicate OK [08:00:34]SAM_PROTO_GetShiftState done [08:00:34]FM_GetShiftState done [08:00:34]opened in 1709684590 [08:00:34]opened+sec_in_day 1709770990 [08:00:34]quantity*price = 40000 [08:00:34]sum+1 = 40001 [08:00:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 400.00 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 17 06.03.2024 08:00 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32401 ФПД: 110068404141021 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T080036&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32401&fm=110068404141021&tin=02508201610067®Number=0000000000092554&sum=40000 0 [08:00:35]StoreToDocumentArchive [08:00:35]shift 284 fd 32401 [08:00:35]save to /storage/0284/doc_00032401 [08:00:35]save last doc name /storage/0284/doc_00032401 to /storage/kkm_last_doc_name [08:00:35]save OK [08:00:35]Clear old archive folders... [08:00:35]ProcessDocumentItem done err = 0, tmpTLVsize=295 [08:00:35]tlvbuf is 01627840 [08:00:35]SAM_PROTO_ClearQueue [08:00:35]wFMCommunicate request_size=4 [08:00:35]MH_SAM_APDU [08:00:35]CAPDU: 80 09 00 00 [08:00:35]Write to MH i2c: E2 08 00 70 06 80 09 00 00 00 00 00 00 E8 [08:00:35]Write i2c OK [08:00:35]MH_I2C_Read... [08:00:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:00:35]Read from MH i2c: E2 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: E2 03 00 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: E2 03 00 70 06 00 90 00 EA [08:00:35]RAPDU: 90 00 [08:00:35]wFMCommunicate OK [08:00:35]SAM_PROTO_ClearQueue done [08:00:35]KKMCreateOFDPacket [08:00:35]OFDProtocolAddRootSTLVToBuf [08:00:35]FM_MakeSignedData [08:00:35]FM_MakeSignedData [08:00:35]SAM_PROTO_SignData [08:00:35]wFMCommunicate request_size=4 [08:00:35]MH_SAM_APDU [08:00:35]CAPDU: 80 0D 01 02 [08:00:35]Write to MH i2c: E2 08 00 71 06 80 0D 01 02 00 00 00 00 F0 [08:00:35]Write i2c OK [08:00:35]MH_I2C_Read... [08:00:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:00:35]Read from MH i2c: E2 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: E2 03 00 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: E2 03 00 71 06 00 90 00 EB [08:00:35]RAPDU: 90 00 [08:00:35]wFMCommunicate OK [08:00:35]wFMCommunicate request_size=255 [08:00:35]MH_SAM_APDU [08:00:35]CAPDU: 80 0D 02 02 FA 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 38 34 38 06 04 35 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 92 D0 B8 D1 88 D0 BD D1 8F 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 32 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 40 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 A4 22 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 [08:00:35]Write to MH i2c: E2 02 01 72 06 80 0D 02 02 FA 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 38 34 38 06 04 35 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 92 D0 B8 D1 88 D0 BD D1 8F 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 32 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 40 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 A4 22 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 00 00 01 [08:00:35]Write i2c OK [08:00:35]MH_I2C_Read... [08:00:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:00:35]Read from MH i2c: E2 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: E2 03 00 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: E2 03 00 72 06 00 90 00 EC [08:00:35]RAPDU: 90 00 [08:00:35]wFMCommunicate OK [08:00:35]wFMCommunicate request_size=54 [08:00:35]MH_SAM_APDU [08:00:35]CAPDU: 80 0D 02 02 31 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 91 7E 00 00 35 04 06 00 64 1B 4C 21 3B DD [08:00:35]Write to MH i2c: E2 39 00 73 06 80 0D 02 02 31 00 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 91 7E 00 00 35 04 06 00 64 1B 4C 21 3B DD 00 00 2F [08:00:35]Write i2c OK [08:00:35]MH_I2C_Read... [08:00:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:00:35]Read from MH i2c: E2 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: E2 03 00 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: E2 03 00 73 06 00 90 00 ED [08:00:35]RAPDU: 90 00 [08:00:35]wFMCommunicate OK [08:00:35]wFMCommunicate request_size=4 [08:00:35]MH_SAM_APDU [08:00:35]CAPDU: 80 0D 03 02 [08:00:35]Write to MH i2c: E2 08 00 74 06 80 0D 03 02 00 00 00 00 F5 [08:00:35]Write i2c OK [08:00:35]MH_I2C_Read... [08:00:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:00:35]Read from MH i2c: E2 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: E2 0B 00 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: E2 0B 00 74 06 00 16 D2 7F 02 98 86 B6 85 90 00 B8 [08:00:35]RAPDU: 16 D2 7F 02 98 86 B6 85 90 00 [08:00:35]wFMCommunicate OK [08:00:35]SAM_PROTO_SignData done [08:00:35]FM_MakeSignedData done [08:00:35]CreateOFDProtocolMessage [08:00:35]wFMCommunicate request_size=4 [08:00:35]MH_SAM_APDU [08:00:35]CAPDU: 80 11 00 00 [08:00:35]Write to MH i2c: E2 08 00 75 06 80 11 00 00 00 00 00 00 F5 [08:00:35]Write i2c OK [08:00:35]MH_I2C_Read... [08:00:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:00:35]Read from MH i2c: E2 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: E2 17 00 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: E2 17 00 75 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 4A [08:00:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [08:00:35]wFMCommunicate OK [08:00:35]CreateOFDProtocolMessage done [08:00:35]OFDSenderStorePacket 32401 [08:00:35]StoreOFDPacket docnum=32401 [08:00:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 3B 01 00 00 FC DE 33 01 1F E2 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 38 34 38 06 04 35 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 92 D0 B8 D1 88 D0 BD D1 8F 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 32 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 40 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 A4 22 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 91 7E 00 00 35 04 06 00 64 1B 4C 21 3B DD 16 D2 7F 02 98 86 B6 85 [08:00:35]CheckFolder [08:00:35]dirname=/storage/ofd_packets [08:00:35]CheckFolder done [08:00:35]ProducePacketName [08:00:35]name=ofd_packets/00032401 [08:00:35]NVStorageSaveData ofd_packets/00032401 [08:00:35]File name is /storage/ofd_packets/00032401 [08:00:35]Write 345 bytes [08:00:35]NVStorageSaveData done [08:00:35]OFDSenderStorePacket done [08:00:35]KKMCreateOFDPacket done [08:00:35]NVStorageSaveData kkm_last_timestamp [08:00:35]File name is /storage/kkm_last_timestamp [08:00:35]Write 4 bytes [08:00:35]NVStorageSaveData done [08:00:35]ExternCall_PrintAddStr [08:00:35]wPrintStart [08:00:35]Write to MH i2c: 01 00 00 76 06 7C [08:00:35]Write i2c OK [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: 01 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: 01 07 00 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: 01 07 00 76 06 00 00 00 00 00 FF 0F 91 [08:00:35]RasterBufferAndPrint [08:00:35]line Счет N : (3)58556 [08:00:35]line ИНН: 02508201610067 [08:00:35]line Контрольно-Кассовый Чек [08:00:35]line ПРОДАЖА [08:00:35]line Товар: 4700001060848 [08:00:35]line Настойка Вишня на коньяке 0,2л [08:00:35]line 2.000 * 200.00 [08:00:35]line = 400.00 [08:00:35]line НДС 12% НСП 1% [08:00:35]line > о реализуемом товаре [08:00:35]line ИТОГО: 400.00 [08:00:35]line НСП 1% : 3.54 [08:00:35]line НДС 12% : 42.48 [08:00:35]line Наличными: 400.00 [08:00:35]line Безнал.: 0.00 [08:00:35]line Место: АЗС № 99 "Партнер Нефть" [08:00:35]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [08:00:35]line СНО: Общий режим [08:00:35]line Чек 17 06.03.2024 08:00 [08:00:35]line Смена: 284 ФФД: 1.0 [08:00:35]line ЗНМ: 0300000074 [08:00:35]line РНМ: 0000000000092554 [08:00:35]line Версия ККМ: 001 [08:00:35]line ФМ: 0000000000871783 [08:00:35]line ФД: 32401 [08:00:35]line ФПД: 110068404141021 [08:00:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T080036&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32401&fm=110068404141021&tin=02508201610067®Number=0000000000092554&sum=40000 [08:00:36]line 0 [08:00:36]OFD Sender: Processing packet 32401 [packets to send 5, broken 4] [08:00:36]ProducePacketName [08:00:36]name=ofd_packets/00032401 [08:00:36]OFD Sender: To server: pG, [08:00:36]CommunicateWithHost lk.salyk.kg:30040 [08:00:36]ConnectInit lk.salyk.kg [08:00:36]written 0, free lines is 4095 [08:00:36]Connected sock=10 [08:00:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 3B 01 00 00 FC DE 33 01 1F E2 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 38 34 38 06 04 35 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 92 D0 B8 D1 88 D0 BD D1 8F 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 32 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 40 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 A4 22 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 91 7E 00 00 35 04 06 00 64 1B 4C 21 3B DD 16 D2 7F 02 98 86 B6 85 [08:00:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 49 E8 47 00 85 9E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 91 7E 00 00 F4 03 04 00 DD CA E7 65 B6 04 01 00 00 21 47 B4 FC 1C B5 F8 CE [08:00:36]CommunicateWithHost err = 0 [08:00:36]CheckOFDResponse [08:00:36]1017 (14) - 77093643461234 [08:00:36]1041 (16) - 0000000000871783 [08:00:36]1040 (4) - 32401 [08:00:36]1012 (4) - 06.03.2024 01:46 [08:00:36]1206 (1) - 0 [08:00:36]OFD Sender: Remove packet 32401 [08:00:36]ProducePacketName [08:00:36]name=ofd_packets/00032401 [08:00:36]NVStorageDeleteData [08:00:36]Write to MH i2c: 01 00 00 9F 06 A5 [08:00:36]Write i2c OK [08:00:36]MH_I2C_Read... [08:00:36]Read from MH i2c: 01 [08:00:36]MH_I2C_Read... [08:00:36]Read from MH i2c: 01 07 00 [08:00:36]MH_I2C_Read... [08:00:36]Read from MH i2c: 01 07 00 9F 06 00 00 00 00 00 B6 0C 6E [08:00:36]RasterBufferAndPrint [08:00:36]line [08:00:36]line [08:00:36]line [08:00:36]line [08:00:36]line [08:00:36]written 0, free lines is 3257 [08:00:36]MH_Cut [08:00:36]Write to MH i2c: D1 01 00 A6 06 01 7E [08:00:36]Write i2c OK [08:00:36]MH_I2C_Read... [08:00:36]Read from MH i2c: D1 [08:00:36]MH_I2C_Read... [08:00:36]Read from MH i2c: D1 01 00 [08:00:36]MH_I2C_Read... [08:00:36]Read from MH i2c: D1 01 00 A6 06 00 7D [08:00:36]Write to MH i2c: 01 00 00 A7 06 AD [08:00:36]Write i2c OK [08:00:36]MH_I2C_Read... [08:00:36]OFD Sender: No OFD packet to send [08:00:37]*** Cut start [08:00:37]*** Partial cut [08:00:37]*** CUTSNS_PIN = 1 [08:00:37]*** CUTSNS_PIN = 0 [08:00:37]*** Brake cut motor [08:00:37]Read from MH i2c: 01 [08:00:37]MH_I2C_Read... [08:00:37]*** Stop cut motor [08:00:37]*** Cut end [08:00:37]Read from MH i2c: 01 07 00 [08:00:37]MH_I2C_Read... [08:00:37]Read from MH i2c: 01 07 00 A7 06 00 00 00 00 00 FF 0F C2 [08:00:37]process_action close_receipt done [08:00:37]requested_data is exist [08:00:37]produce_requested_data [08:00:37]requested_item fm.sn is exist - process it [08:00:37]wFMCommunicate request_size=4 [08:00:37]MH_SAM_APDU [08:00:37]CAPDU: 80 11 00 00 [08:00:37]Write to MH i2c: E2 08 00 A8 06 80 11 00 00 00 00 00 00 28 [08:00:37]Write i2c OK [08:00:37]MH_I2C_Read... [08:00:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:00:38]Read from MH i2c: E2 [08:00:38]MH_I2C_Read... [08:00:38]Read from MH i2c: E2 17 00 [08:00:38]MH_I2C_Read... [08:00:38]Read from MH i2c: E2 17 00 A8 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 7D [08:00:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [08:00:38]wFMCommunicate OK [08:00:38]requested_item fd.num is exist - process it [08:00:38]SAM_PROTO_GetFieldsCounters [08:00:38]wFMCommunicate request_size=4 [08:00:38]MH_SAM_APDU [08:00:38]CAPDU: 80 13 00 00 [08:00:38]Write to MH i2c: E2 08 00 A9 06 80 13 00 00 00 00 00 00 2B [08:00:38]Write i2c OK [08:00:38]MH_I2C_Read... [08:00:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:00:38]Read from MH i2c: E2 [08:00:38]MH_I2C_Read... [08:00:38]Read from MH i2c: E2 62 00 [08:00:38]MH_I2C_Read... [08:00:38]Read from MH i2c: E2 62 00 A9 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 91 7E 00 00 0E 04 04 00 1C 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 AD [08:00:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 91 7E 00 00 0E 04 04 00 1C 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 [08:00:38]wFMCommunicate OK [08:00:38]SAM_PROTO_GetFieldsCounters done [08:00:38]requested_item shift.num is exist - process it [08:00:38]requested_item shift.opened is exist - process it [08:00:38]req_shift_opened [08:00:38]FM_GetShiftState [08:00:38]SAM_PROTO_GetShiftState [08:00:38]wFMCommunicate request_size=4 [08:00:38]MH_SAM_APDU [08:00:38]CAPDU: 80 13 01 00 [08:00:38]Write to MH i2c: E2 08 00 AA 06 80 13 01 00 00 00 00 00 2D [08:00:38]Write i2c OK [08:00:38]MH_I2C_Read... [08:00:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:00:38]Read from MH i2c: E2 [08:00:38]MH_I2C_Read... [08:00:38]Read from MH i2c: E2 0E 00 [08:00:38]MH_I2C_Read... [08:00:38]Read from MH i2c: E2 0E 00 AA 06 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 AA [08:00:38]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [08:00:38]wFMCommunicate OK [08:00:38]SAM_PROTO_GetShiftState done [08:00:38]FM_GetShiftState done [08:00:38]req_shift_opened done [08:00:38]requested_item shift.open_date is exist - process it [08:00:38]req_shift_open_date [08:00:38]req_shift_open_date done [08:00:38]produce_requested_data done [08:00:38]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32401,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [08:00:38]process_action_free close_receipt [08:00:38]json_value_free [08:00:38]json_value_free done [08:00:38]process_json_proto returns [08:00:38]Send response to host [08:00:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32401,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [08:00:38]free response buf [08:00:38]execute_script done [08:00:38]execute_script returns [08:00:38]free content buf [08:00:38]Sock 9.Close socket [08:00:38]Sock 9.Thread stoped [08:00:41]OFD Sender: No OFD packet to send [08:00:46]OFD Sender: No OFD packet to send [08:00:51]OFD Sender: No OFD packet to send [08:00:56]OFD Sender: No OFD packet to send [08:01:01]OFD Sender: No OFD packet to send [08:01:06]OFD Sender: No OFD packet to send [08:01:11]OFD Sender: No OFD packet to send [08:01:16]OFD Sender: No OFD packet to send [08:01:21]OFD Sender: No OFD packet to send [08:01:26]OFD Sender: No OFD packet to send [08:01:31]OFD Sender: No OFD packet to send [08:01:36]OFD Sender: No OFD packet to send [08:01:41]OFD Sender: No OFD packet to send [08:01:46]OFD Sender: No OFD packet to send [08:01:51]OFD Sender: No OFD packet to send [08:01:56]OFD Sender: No OFD packet to send [08:02:01]OFD Sender: No OFD packet to send [08:02:06]OFD Sender: No OFD packet to send [08:02:11]OFD Sender: No OFD packet to send [08:02:16]OFD Sender: No OFD packet to send [08:02:21]OFD Sender: No OFD packet to send [08:02:26]OFD Sender: No OFD packet to send [08:02:31]OFD Sender: No OFD packet to send [08:02:36]OFD Sender: No OFD packet to send [08:02:41]OFD Sender: No OFD packet to send [08:02:47]OFD Sender: No OFD packet to send [08:02:52]OFD Sender: No OFD packet to send [08:02:57]OFD Sender: No OFD packet to send [08:03:02]OFD Sender: No OFD packet to send [08:03:07]OFD Sender: No OFD packet to send [08:03:12]OFD Sender: No OFD packet to send [08:03:17]OFD Sender: No OFD packet to send [08:03:22]OFD Sender: No OFD packet to send [08:03:27]OFD Sender: No OFD packet to send [08:03:32]OFD Sender: No OFD packet to send [08:03:37]OFD Sender: No OFD packet to send [08:03:42]OFD Sender: No OFD packet to send [08:03:47]OFD Sender: No OFD packet to send [08:03:47]accept exits with 8 [08:03:47]New connection [08:03:47]New thread 3067075940 created [08:03:47]Thread 3066932580 joined [08:03:47]Waiting for new connection... [08:03:47] Sock 8.Parse request [08:03:47]Sock 8.Check first char [08:03:47]Sock 8.First char is OK [08:03:47]request: POST /json_proto HTTP/1.0 [08:03:47]Method: POST [08:03:47]URL: /json_proto [08:03:47]Method is POST - this is cgi request [08:03:47]url: /json_proto [08:03:47]query_string will be loaded in cgi processing [08:03:47]execute_cgi json_proto POST (null) [08:03:47]execute_cgi path=json_proto method=POST [08:03:47]POST find Content-Length [08:03:47]Host: 172.17.61.6:8080 [08:03:47]Content-Length: 627 [08:03:47]Content-Type: application/json [08:03:47] [08:03:47]POST finish read [08:03:47]Found Content-Length = 627 [08:03:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58557", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:03:47]execute_script... [08:03:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58557", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:03:47]POST & json_proto [08:03:47]process_json_proto [08:03:47]json parsed OK: [08:03:47]protocol is kg_v1.0 [08:03:47]action value=close_receipt [08:03:47]process_action close_receipt [08:03:47]cmd_close_receipt [08:03:47]MH_GetDate [08:03:47]Write to MH i2c: F0 00 00 AB 06 A0 [08:03:47]Write i2c OK [08:03:47]MH_I2C_Read... [08:03:47]Read from MH i2c: F0 [08:03:47]MH_I2C_Read... [08:03:47]Read from MH i2c: F0 09 00 [08:03:47]MH_I2C_Read... [08:03:47]Read from MH i2c: F0 09 00 AB 06 00 65 23 E8 65 78 7F 6F 64 48 [08:03:47]GetLastDocTimeStamp 1709712036 [08:03:47]current date 1709712229 [08:03:47]FM_GetShiftState [08:03:47]SAM_PROTO_GetShiftState [08:03:47]wFMCommunicate request_size=4 [08:03:47]MH_SAM_APDU [08:03:47]CAPDU: 80 13 01 00 [08:03:47]Write to MH i2c: E2 08 00 AC 06 80 13 01 00 00 00 00 00 2F [08:03:47]Write i2c OK [08:03:47]MH_I2C_Read... [08:03:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:03:47]Read from MH i2c: E2 [08:03:47]MH_I2C_Read... [08:03:47]Read from MH i2c: E2 0E 00 [08:03:47]MH_I2C_Read... [08:03:47]Read from MH i2c: E2 0E 00 AC 06 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 AC [08:03:47]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [08:03:47]wFMCommunicate OK [08:03:47]SAM_PROTO_GetShiftState done [08:03:47]FM_GetShiftState done [08:03:47]opened in 1709684590 [08:03:47]opened+sec_in_day 1709770990 [08:03:47]quantity*price = 13000 [08:03:47]sum+1 = 13001 [08:03:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 18 06.03.2024 08:03 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32402 ФПД: 232538736278248 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T080349&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32402&fm=232538736278248&tin=02508201610067®Number=0000000000092554&sum=13000 0 [08:03:48]StoreToDocumentArchive [08:03:48]shift 284 fd 32402 [08:03:48]save to /storage/0284/doc_00032402 [08:03:48]save last doc name /storage/0284/doc_00032402 to /storage/kkm_last_doc_name [08:03:48]save OK [08:03:48]Clear old archive folders... [08:03:48]ProcessDocumentItem done err = 0, tmpTLVsize=276 [08:03:48]tlvbuf is 01656070 [08:03:48]SAM_PROTO_ClearQueue [08:03:48]wFMCommunicate request_size=4 [08:03:48]MH_SAM_APDU [08:03:48]CAPDU: 80 09 00 00 [08:03:48]Write to MH i2c: E2 08 00 B9 06 80 09 00 00 00 00 00 00 31 [08:03:48]Write i2c OK [08:03:48]MH_I2C_Read... [08:03:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:03:48]Read from MH i2c: E2 [08:03:48]MH_I2C_Read... [08:03:48]Read from MH i2c: E2 03 00 [08:03:48]MH_I2C_Read... [08:03:48]Read from MH i2c: E2 03 00 B9 06 00 90 00 33 [08:03:48]RAPDU: 90 00 [08:03:48]wFMCommunicate OK [08:03:48]SAM_PROTO_ClearQueue done [08:03:48]KKMCreateOFDPacket [08:03:48]OFDProtocolAddRootSTLVToBuf [08:03:48]FM_MakeSignedData [08:03:48]FM_MakeSignedData [08:03:48]SAM_PROTO_SignData [08:03:48]wFMCommunicate request_size=4 [08:03:48]MH_SAM_APDU [08:03:48]CAPDU: 80 0D 01 02 [08:03:48]Write to MH i2c: E2 08 00 BA 06 80 0D 01 02 00 00 00 00 39 [08:03:48]Write i2c OK [08:03:48]MH_I2C_Read... [08:03:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:03:49]Read from MH i2c: E2 [08:03:49]MH_I2C_Read... [08:03:49]Read from MH i2c: E2 03 00 [08:03:49]MH_I2C_Read... [08:03:49]Read from MH i2c: E2 03 00 BA 06 00 90 00 34 [08:03:49]RAPDU: 90 00 [08:03:49]wFMCommunicate OK [08:03:49]wFMCommunicate request_size=255 [08:03:49]MH_SAM_APDU [08:03:49]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 65 23 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 [08:03:49]Write to MH i2c: E2 02 01 BB 06 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 65 23 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 00 00 58 [08:03:49]Write i2c OK [08:03:49]MH_I2C_Read... [08:03:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:03:49]Read from MH i2c: E2 [08:03:49]MH_I2C_Read... [08:03:49]Read from MH i2c: E2 03 00 [08:03:49]MH_I2C_Read... [08:03:49]Read from MH i2c: E2 03 00 BB 06 00 90 00 35 [08:03:49]RAPDU: 90 00 [08:03:49]wFMCommunicate OK [08:03:49]wFMCommunicate request_size=35 [08:03:49]MH_SAM_APDU [08:03:49]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 92 7E 00 00 35 04 06 00 D3 7E 24 C5 BA E8 [08:03:49]Write to MH i2c: E2 26 00 BC 06 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 92 7E 00 00 35 04 06 00 D3 7E 24 C5 BA E8 00 00 1D [08:03:49]Write i2c OK [08:03:49]MH_I2C_Read... [08:03:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:03:49]Read from MH i2c: E2 [08:03:49]MH_I2C_Read... [08:03:49]Read from MH i2c: E2 03 00 [08:03:49]MH_I2C_Read... [08:03:49]Read from MH i2c: E2 03 00 BC 06 00 90 00 36 [08:03:49]RAPDU: 90 00 [08:03:49]wFMCommunicate OK [08:03:49]wFMCommunicate request_size=4 [08:03:49]MH_SAM_APDU [08:03:49]CAPDU: 80 0D 03 02 [08:03:49]Write to MH i2c: E2 08 00 BD 06 80 0D 03 02 00 00 00 00 3E [08:03:49]Write i2c OK [08:03:49]MH_I2C_Read... [08:03:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:03:49]Read from MH i2c: E2 [08:03:49]MH_I2C_Read... [08:03:49]Read from MH i2c: E2 0B 00 [08:03:49]MH_I2C_Read... [08:03:49]Read from MH i2c: E2 0B 00 BD 06 00 F4 B0 0D CA D1 20 CE 4E 90 00 C7 [08:03:49]RAPDU: F4 B0 0D CA D1 20 CE 4E 90 00 [08:03:49]wFMCommunicate OK [08:03:49]SAM_PROTO_SignData done [08:03:49]FM_MakeSignedData done [08:03:49]CreateOFDProtocolMessage [08:03:49]wFMCommunicate request_size=4 [08:03:49]MH_SAM_APDU [08:03:49]CAPDU: 80 11 00 00 [08:03:49]Write to MH i2c: E2 08 00 BE 06 80 11 00 00 00 00 00 00 3E [08:03:49]Write i2c OK [08:03:49]MH_I2C_Read... [08:03:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:03:49]Read from MH i2c: E2 [08:03:49]MH_I2C_Read... [08:03:49]Read from MH i2c: E2 17 00 [08:03:49]MH_I2C_Read... [08:03:49]Read from MH i2c: E2 17 00 BE 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 93 [08:03:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [08:03:49]wFMCommunicate OK [08:03:49]CreateOFDProtocolMessage done [08:03:49]OFDSenderStorePacket 32402 [08:03:49]StoreOFDPacket docnum=32402 [08:03:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 28 01 00 00 29 7D 20 01 9D 09 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 65 23 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 92 7E 00 00 35 04 06 00 D3 7E 24 C5 BA E8 F4 B0 0D CA D1 20 CE 4E [08:03:49]CheckFolder [08:03:49]dirname=/storage/ofd_packets [08:03:49]CheckFolder done [08:03:49]ProducePacketName [08:03:49]name=ofd_packets/00032402 [08:03:49]NVStorageSaveData ofd_packets/00032402 [08:03:49]File name is /storage/ofd_packets/00032402 [08:03:49]Write 326 bytes [08:03:49]NVStorageSaveData done [08:03:49]OFDSenderStorePacket done [08:03:49]KKMCreateOFDPacket done [08:03:49]NVStorageSaveData kkm_last_timestamp [08:03:49]File name is /storage/kkm_last_timestamp [08:03:49]Write 4 bytes [08:03:49]NVStorageSaveData done [08:03:49]ExternCall_PrintAddStr [08:03:49]wPrintStart [08:03:49]Write to MH i2c: 01 00 00 BF 06 C5 [08:03:49]Write i2c OK [08:03:49]MH_I2C_Read... [08:03:49]Read from MH i2c: 01 [08:03:49]MH_I2C_Read... [08:03:49]Read from MH i2c: 01 07 00 [08:03:49]MH_I2C_Read... [08:03:49]Read from MH i2c: 01 07 00 BF 06 00 00 00 00 00 FF 0F DA [08:03:49]RasterBufferAndPrint [08:03:49]line Счет N : (3)58557 [08:03:49]line ИНН: 02508201610067 [08:03:49]line Контрольно-Кассовый Чек [08:03:49]line ПРОДАЖА [08:03:49]line Товар: 2000036230011 [08:03:49]line Кофе Латте XL(GABB TRADE) [08:03:49]line 1.000 * 130.00 [08:03:49]line = 130.00 [08:03:49]line НДС 12% НСП 1% [08:03:49]line > о реализуемом товаре [08:03:49]line ИТОГО: 130.00 [08:03:49]line НСП 1% : 1.15 [08:03:49]line НДС 12% : 13.80 [08:03:49]line Наличными: 130.00 [08:03:49]line Безнал.: 0.00 [08:03:49]line Место: АЗС № 99 "Партнер Нефть" [08:03:49]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [08:03:49]line СНО: Общий режим [08:03:49]line Чек 18 06.03.2024 08:03 [08:03:49]line Смена: 284 ФФД: 1.0 [08:03:49]line ЗНМ: 0300000074 [08:03:49]line РНМ: 0000000000092554 [08:03:49]line Версия ККМ: 001 [08:03:49]line ФМ: 0000000000871783 [08:03:49]line ФД: 32402 [08:03:49]line ФПД: 232538736278248 [08:03:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T080349&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32402&fm=232538736278248&tin=02508201610067®Number=0000000000092554&sum=13000 [08:03:49]line 0 [08:03:49]OFD Sender: Processing packet 32402 [packets to send 5, broken 4] [08:03:49]ProducePacketName [08:03:49]name=ofd_packets/00032402 [08:03:49]OFD Sender: To server: pG, [08:03:49]CommunicateWithHost lk.salyk.kg:30040 [08:03:49]ConnectInit lk.salyk.kg [08:03:49]written 0, free lines is 4095 [08:03:49]Connected sock=10 [08:03:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 28 01 00 00 29 7D 20 01 9D 09 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 65 23 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 92 7E 00 00 35 04 06 00 D3 7E 24 C5 BA E8 F4 B0 0D CA D1 20 CE 4E [08:03:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 6B 50 47 00 D0 D5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 92 7E 00 00 F4 03 04 00 9E CB E7 65 B6 04 01 00 00 93 C7 8C 9A 98 8A 88 1D [08:03:50]CommunicateWithHost err = 0 [08:03:50]CheckOFDResponse [08:03:50]1017 (14) - 77093643461234 [08:03:50]1041 (16) - 0000000000871783 [08:03:50]1040 (4) - 32402 [08:03:50]1012 (4) - 06.03.2024 01:49 [08:03:50]1206 (1) - 0 [08:03:50]OFD Sender: Remove packet 32402 [08:03:50]ProducePacketName [08:03:50]name=ofd_packets/00032402 [08:03:50]NVStorageDeleteData [08:03:50]Write to MH i2c: 01 00 00 E7 06 ED [08:03:50]Write i2c OK [08:03:50]MH_I2C_Read... [08:03:50]Read from MH i2c: 01 [08:03:50]MH_I2C_Read... [08:03:50]Read from MH i2c: 01 07 00 [08:03:50]MH_I2C_Read... [08:03:50]Read from MH i2c: 01 07 00 E7 06 00 00 00 00 00 C7 0C C7 [08:03:50]RasterBufferAndPrint [08:03:50]line [08:03:50]line [08:03:50]line [08:03:50]line [08:03:50]line [08:03:50]written 0, free lines is 3275 [08:03:50]MH_Cut [08:03:50]Write to MH i2c: D1 01 00 EE 06 01 C6 [08:03:50]Write i2c OK [08:03:50]MH_I2C_Read... [08:03:50]Read from MH i2c: D1 [08:03:50]MH_I2C_Read... [08:03:50]Read from MH i2c: D1 01 00 [08:03:50]MH_I2C_Read... [08:03:50]Read from MH i2c: D1 01 00 EE 06 00 C5 [08:03:50]Write to MH i2c: 01 00 00 EF 06 F5 [08:03:50]Write i2c OK [08:03:50]MH_I2C_Read... [08:03:50]OFD Sender: No OFD packet to send [08:03:51]*** Cut start [08:03:51]*** Partial cut [08:03:51]*** CUTSNS_PIN = 1 [08:03:51]*** CUTSNS_PIN = 0 [08:03:51]*** Brake cut motor [08:03:51]Read from MH i2c: 01 [08:03:51]MH_I2C_Read... [08:03:51]*** Stop cut motor [08:03:51]*** Cut end [08:03:51]Read from MH i2c: 01 07 00 [08:03:51]MH_I2C_Read... [08:03:51]Read from MH i2c: 01 07 00 EF 06 00 00 00 00 00 FF 0F 0A [08:03:51]process_action close_receipt done [08:03:51]requested_data is exist [08:03:51]produce_requested_data [08:03:51]requested_item fm.sn is exist - process it [08:03:51]wFMCommunicate request_size=4 [08:03:51]MH_SAM_APDU [08:03:51]CAPDU: 80 11 00 00 [08:03:51]Write to MH i2c: E2 08 00 F0 06 80 11 00 00 00 00 00 00 70 [08:03:51]Write i2c OK [08:03:51]MH_I2C_Read... [08:03:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:03:51]Read from MH i2c: E2 [08:03:51]MH_I2C_Read... [08:03:51]Read from MH i2c: E2 17 00 [08:03:51]MH_I2C_Read... [08:03:51]Read from MH i2c: E2 17 00 F0 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 C5 [08:03:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [08:03:51]wFMCommunicate OK [08:03:51]requested_item fd.num is exist - process it [08:03:51]SAM_PROTO_GetFieldsCounters [08:03:51]wFMCommunicate request_size=4 [08:03:51]MH_SAM_APDU [08:03:51]CAPDU: 80 13 00 00 [08:03:51]Write to MH i2c: E2 08 00 F1 06 80 13 00 00 00 00 00 00 73 [08:03:51]Write i2c OK [08:03:51]MH_I2C_Read... [08:03:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:03:51]Read from MH i2c: E2 [08:03:51]MH_I2C_Read... [08:03:51]Read from MH i2c: E2 62 00 [08:03:51]MH_I2C_Read... [08:03:51]Read from MH i2c: E2 62 00 F1 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 92 7E 00 00 0E 04 04 00 1C 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 F9 [08:03:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 92 7E 00 00 0E 04 04 00 1C 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 [08:03:51]wFMCommunicate OK [08:03:51]SAM_PROTO_GetFieldsCounters done [08:03:51]requested_item shift.num is exist - process it [08:03:51]requested_item shift.opened is exist - process it [08:03:51]req_shift_opened [08:03:51]FM_GetShiftState [08:03:51]SAM_PROTO_GetShiftState [08:03:51]wFMCommunicate request_size=4 [08:03:51]MH_SAM_APDU [08:03:51]CAPDU: 80 13 01 00 [08:03:51]Write to MH i2c: E2 08 00 F2 06 80 13 01 00 00 00 00 00 75 [08:03:51]Write i2c OK [08:03:51]MH_I2C_Read... [08:03:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:03:51]Read from MH i2c: E2 [08:03:51]MH_I2C_Read... [08:03:51]Read from MH i2c: E2 0E 00 [08:03:51]MH_I2C_Read... [08:03:51]Read from MH i2c: E2 0E 00 F2 06 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 F2 [08:03:51]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [08:03:51]wFMCommunicate OK [08:03:51]SAM_PROTO_GetShiftState done [08:03:51]FM_GetShiftState done [08:03:51]req_shift_opened done [08:03:51]requested_item shift.open_date is exist - process it [08:03:51]req_shift_open_date [08:03:51]req_shift_open_date done [08:03:51]produce_requested_data done [08:03:51]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32402,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [08:03:51]process_action_free close_receipt [08:03:51]json_value_free [08:03:51]json_value_free done [08:03:51]process_json_proto returns [08:03:51]Send response to host [08:03:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32402,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [08:03:51]free response buf [08:03:51]execute_script done [08:03:51]execute_script returns [08:03:51]free content buf [08:03:51]Sock 8.Close socket [08:03:51]Sock 8.Thread stoped [08:03:55]OFD Sender: No OFD packet to send [08:04:00]OFD Sender: No OFD packet to send [08:04:05]OFD Sender: No OFD packet to send [08:04:10]OFD Sender: No OFD packet to send [08:04:15]OFD Sender: No OFD packet to send [08:04:20]OFD Sender: No OFD packet to send [08:04:25]OFD Sender: No OFD packet to send [08:04:30]OFD Sender: No OFD packet to send [08:04:35]OFD Sender: No OFD packet to send [08:04:40]OFD Sender: No OFD packet to send [08:04:45]OFD Sender: No OFD packet to send [08:04:50]OFD Sender: No OFD packet to send [08:04:55]OFD Sender: No OFD packet to send [08:05:00]OFD Sender: No OFD packet to send [08:05:05]OFD Sender: No OFD packet to send [08:05:10]OFD Sender: No OFD packet to send [08:05:15]OFD Sender: No OFD packet to send [08:05:20]OFD Sender: No OFD packet to send [08:05:25]OFD Sender: No OFD packet to send [08:05:30]OFD Sender: No OFD packet to send [08:05:35]OFD Sender: No OFD packet to send [08:05:40]OFD Sender: No OFD packet to send [08:05:45]OFD Sender: No OFD packet to send [08:05:50]OFD Sender: No OFD packet to send [08:05:55]OFD Sender: No OFD packet to send [08:06:00]OFD Sender: No OFD packet to send [08:06:05]OFD Sender: No OFD packet to send [08:06:10]OFD Sender: No OFD packet to send [08:06:15]OFD Sender: No OFD packet to send [08:06:20]OFD Sender: No OFD packet to send [08:06:25]OFD Sender: No OFD packet to send [08:06:30]OFD Sender: No OFD packet to send [08:06:35]OFD Sender: No OFD packet to send [08:06:40]OFD Sender: No OFD packet to send [08:06:45]OFD Sender: No OFD packet to send [08:06:50]OFD Sender: No OFD packet to send [08:06:55]OFD Sender: No OFD packet to send [08:07:00]OFD Sender: No OFD packet to send [08:07:05]OFD Sender: No OFD packet to send [08:07:10]OFD Sender: No OFD packet to send [08:07:15]OFD Sender: No OFD packet to send [08:07:20]OFD Sender: No OFD packet to send [08:07:25]OFD Sender: No OFD packet to send [08:07:30]OFD Sender: No OFD packet to send [08:07:35]OFD Sender: No OFD packet to send [08:07:40]OFD Sender: No OFD packet to send [08:07:45]OFD Sender: No OFD packet to send [08:07:50]OFD Sender: No OFD packet to send [08:07:55]OFD Sender: No OFD packet to send [08:08:00]OFD Sender: No OFD packet to send [08:08:05]OFD Sender: No OFD packet to send [08:08:10]OFD Sender: No OFD packet to send [08:08:15]OFD Sender: No OFD packet to send [08:08:20]OFD Sender: No OFD packet to send [08:08:25]OFD Sender: No OFD packet to send [08:08:30]OFD Sender: No OFD packet to send [08:08:35]OFD Sender: No OFD packet to send [08:08:40]OFD Sender: No OFD packet to send [08:08:45]OFD Sender: No OFD packet to send [08:08:50]OFD Sender: No OFD packet to send [08:08:55]OFD Sender: No OFD packet to send [08:09:00]OFD Sender: No OFD packet to send [08:09:05]OFD Sender: No OFD packet to send [08:09:10]OFD Sender: No OFD packet to send [08:09:15]OFD Sender: No OFD packet to send [08:09:20]OFD Sender: No OFD packet to send [08:09:25]OFD Sender: No OFD packet to send [08:09:30]OFD Sender: No OFD packet to send [08:09:35]OFD Sender: No OFD packet to send [08:09:40]OFD Sender: No OFD packet to send [08:09:45]OFD Sender: No OFD packet to send [08:09:50]OFD Sender: No OFD packet to send [08:09:55]OFD Sender: No OFD packet to send [08:10:00]OFD Sender: No OFD packet to send [08:10:05]OFD Sender: No OFD packet to send [08:10:10]OFD Sender: No OFD packet to send [08:10:15]OFD Sender: No OFD packet to send [08:10:20]OFD Sender: No OFD packet to send [08:10:25]OFD Sender: No OFD packet to send [08:10:30]OFD Sender: No OFD packet to send [08:10:35]OFD Sender: No OFD packet to send [08:10:40]OFD Sender: No OFD packet to send [08:10:45]OFD Sender: No OFD packet to send [08:10:50]OFD Sender: No OFD packet to send [08:10:55]OFD Sender: No OFD packet to send [08:11:00]OFD Sender: No OFD packet to send [08:11:05]OFD Sender: No OFD packet to send [08:11:10]OFD Sender: No OFD packet to send [08:11: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:25]accept exits with 9 [08:23:25]New connection [08:23:25]New thread 3066932580 created [08:23:25]Thread 3067075940 joined [08:23:25]Waiting for new connection... [08:23:25] Sock 9.Parse request [08:23:25]Sock 9.Check first char [08:23:25]Sock 9.First char is OK [08:23:25]request: POST /json_proto HTTP/1.0 [08:23:25]Method: POST [08:23:25]URL: /json_proto [08:23:25]Method is POST - this is cgi request [08:23:25]url: /json_proto [08:23:25]query_string will be loaded in cgi processing [08:23:25]execute_cgi json_proto POST (null) [08:23:25]execute_cgi path=json_proto method=POST [08:23:25]POST find Content-Length [08:23:25]Host: 172.17.61.6:8080 [08:23:25]Content-Length: 898 [08:23:25]Content-Type: application/json [08:23:25] [08:23:25]POST finish read [08:23:25]Found Content-Length = 898 [08:23:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58558", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 207.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:23:25]execute_script... [08:23: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)58558", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 207.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:23:25]POST & json_proto [08:23:25]process_json_proto [08:23:25]json parsed OK: [08:23:25]protocol is kg_v1.0 [08:23:25]action value=close_receipt [08:23:25]process_action close_receipt [08:23:25]cmd_close_receipt [08:23:25]MH_GetDate [08:23:25]Write to MH i2c: F0 00 00 F3 06 E8 [08:23:25]Write i2c OK [08:23:25]MH_I2C_Read... [08:23:25]Read from MH i2c: F0 [08:23:25]MH_I2C_Read... [08:23:25]Read from MH i2c: F0 09 00 [08:23:25]MH_I2C_Read... [08:23:25]Read from MH i2c: F0 09 00 F3 06 00 00 28 E8 65 78 7F 6F 64 30 [08:23:25]GetLastDocTimeStamp 1709712229 [08:23:25]current date 1709713408 [08:23:25]FM_GetShiftState [08:23:25]SAM_PROTO_GetShiftState [08:23:25]wFMCommunicate request_size=4 [08:23:25]MH_SAM_APDU [08:23:25]CAPDU: 80 13 01 00 [08:23:25]Write to MH i2c: E2 08 00 F4 06 80 13 01 00 00 00 00 00 77 [08:23:25]Write i2c OK [08:23:25]MH_I2C_Read... [08:23:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:23:26]Read from MH i2c: E2 [08:23:26]MH_I2C_Read... [08:23:26]Read from MH i2c: E2 0E 00 [08:23:26]MH_I2C_Read... [08:23:26]Read from MH i2c: E2 0E 00 F4 06 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 F4 [08:23:26]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [08:23:26]wFMCommunicate OK [08:23:26]SAM_PROTO_GetShiftState done [08:23:26]FM_GetShiftState done [08:23:26]opened in 1709684590 [08:23:26]opened+sec_in_day 1709770990 [08:23:26]quantity*price = 14000 [08:23:26]sum+1 = 14001 [08:23:26]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 6931280300549 Зажигалка Cricket ПН пьезо 1.000 * 67.00 = 67.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 207.00 НСП 1% : 1.83 НДС 12% : 21.98 Наличными: 207.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 19 06.03.2024 08:23 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32403 ФПД: 217350381656377 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T082328&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32403&fm=217350381656377&tin=02508201610067®Number=0000000000092554&sum=20700 0 [08:23:27]StoreToDocumentArchive [08:23:27]shift 284 fd 32403 [08:23:27]save to /storage/0284/doc_00032403 [08:23:27]save last doc name /storage/0284/doc_00032403 to /storage/kkm_last_doc_name [08:23:27]save OK [08:23:27]Clear old archive folders... [08:23:27]ProcessDocumentItem done err = 0, tmpTLVsize=387 [08:23:27]tlvbuf is 01660EE0 [08:23:27]SAM_PROTO_ClearQueue [08:23:27]wFMCommunicate request_size=4 [08:23:27]MH_SAM_APDU [08:23:27]CAPDU: 80 09 00 00 [08:23:27]Write to MH i2c: E2 08 00 01 07 80 09 00 00 00 00 00 00 7A [08:23:27]Write i2c OK [08:23:27]MH_I2C_Read... [08:23:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:23:27]Read from MH i2c: E2 [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: E2 03 00 [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: E2 03 00 01 07 00 90 00 7C [08:23:27]RAPDU: 90 00 [08:23:27]wFMCommunicate OK [08:23:27]SAM_PROTO_ClearQueue done [08:23:27]KKMCreateOFDPacket [08:23:27]OFDProtocolAddRootSTLVToBuf [08:23:27]FM_MakeSignedData [08:23:27]FM_MakeSignedData [08:23:27]SAM_PROTO_SignData [08:23:27]wFMCommunicate request_size=4 [08:23:27]MH_SAM_APDU [08:23:27]CAPDU: 80 0D 01 02 [08:23:27]Write to MH i2c: E2 08 00 02 07 80 0D 01 02 00 00 00 00 82 [08:23:27]Write i2c OK [08:23:27]MH_I2C_Read... [08:23:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:23:27]Read from MH i2c: E2 [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: E2 03 00 [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: E2 03 00 02 07 00 90 00 7D [08:23:27]RAPDU: 90 00 [08:23:27]wFMCommunicate OK [08:23:27]wFMCommunicate request_size=255 [08:23:27]MH_SAM_APDU [08:23:27]CAPDU: 80 0D 02 02 FA 03 00 83 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 B0 36 00 00 00 00 13 04 06 00 B0 36 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 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 [08:23:27]Write to MH i2c: E2 02 01 03 07 80 0D 02 02 FA 00 03 00 83 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 B0 36 00 00 00 00 13 04 06 00 B0 36 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 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 00 00 B8 [08:23:27]Write i2c OK [08:23:27]MH_I2C_Read... [08:23:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:23:27]Read from MH i2c: E2 [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: E2 03 00 [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: E2 03 00 03 07 00 90 00 7E [08:23:27]RAPDU: 90 00 [08:23:27]wFMCommunicate OK [08:23:27]wFMCommunicate request_size=146 [08:23:27]MH_SAM_APDU [08:23:27]CAPDU: 80 0D 02 02 8D 03 06 00 B7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 96 08 00 00 00 00 07 04 06 00 DC 50 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 00 28 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 93 7E 00 00 35 04 06 00 C5 AD D4 4A 59 39 [08:23:27]Write to MH i2c: E2 95 00 04 07 80 0D 02 02 8D 00 03 06 00 B7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 96 08 00 00 00 00 07 04 06 00 DC 50 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 00 28 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 93 7E 00 00 35 04 06 00 C5 AD D4 4A 59 39 00 00 30 [08:23:27]Write i2c OK [08:23:27]MH_I2C_Read... [08:23:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:23:27]Read from MH i2c: E2 [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: E2 03 00 [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: E2 03 00 04 07 00 90 00 7F [08:23:27]RAPDU: 90 00 [08:23:27]wFMCommunicate OK [08:23:27]wFMCommunicate request_size=4 [08:23:27]MH_SAM_APDU [08:23:27]CAPDU: 80 0D 03 02 [08:23:27]Write to MH i2c: E2 08 00 05 07 80 0D 03 02 00 00 00 00 87 [08:23:27]Write i2c OK [08:23:27]MH_I2C_Read... [08:23:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:23:27]Read from MH i2c: E2 [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: E2 0B 00 [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: E2 0B 00 05 07 00 F3 15 B0 4A E4 AC 74 29 90 00 B7 [08:23:27]RAPDU: F3 15 B0 4A E4 AC 74 29 90 00 [08:23:27]wFMCommunicate OK [08:23:27]SAM_PROTO_SignData done [08:23:27]FM_MakeSignedData done [08:23:27]CreateOFDProtocolMessage [08:23:27]wFMCommunicate request_size=4 [08:23:27]MH_SAM_APDU [08:23:27]CAPDU: 80 11 00 00 [08:23:27]Write to MH i2c: E2 08 00 06 07 80 11 00 00 00 00 00 00 87 [08:23:27]Write i2c OK [08:23:27]MH_I2C_Read... [08:23:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:23:27]Read from MH i2c: E2 [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: E2 17 00 [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: E2 17 00 06 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 DC [08:23:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [08:23:27]wFMCommunicate OK [08:23:27]CreateOFDProtocolMessage done [08:23:27]OFDSenderStorePacket 32403 [08:23:27]StoreOFDPacket docnum=32403 [08:23:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 97 01 00 00 C0 82 8F 01 2B 3A 5A 03 01 00 03 00 83 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 B0 36 00 00 00 00 13 04 06 00 B0 36 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 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 96 08 00 00 00 00 07 04 06 00 DC 50 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 00 28 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 93 7E 00 00 35 04 06 00 C5 AD D4 4A 59 39 F3 15 B0 4A E4 AC 74 29 [08:23:27]CheckFolder [08:23:27]dirname=/storage/ofd_packets [08:23:27]CheckFolder done [08:23:27]ProducePacketName [08:23:27]name=ofd_packets/00032403 [08:23:27]NVStorageSaveData ofd_packets/00032403 [08:23:27]File name is /storage/ofd_packets/00032403 [08:23:27]Write 437 bytes [08:23:27]NVStorageSaveData done [08:23:27]OFDSenderStorePacket done [08:23:27]KKMCreateOFDPacket done [08:23:27]NVStorageSaveData kkm_last_timestamp [08:23:27]File name is /storage/kkm_last_timestamp [08:23:27]Write 4 bytes [08:23:27]NVStorageSaveData done [08:23:27]ExternCall_PrintAddStr [08:23:27]wPrintStart [08:23:27]Write to MH i2c: 01 00 00 07 07 0E [08:23:27]Write i2c OK [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: 01 [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: 01 07 00 [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: 01 07 00 07 07 00 00 00 00 00 FF 0F 23 [08:23:28]RasterBufferAndPrint [08:23:28]line Счет N : (3)58558 [08:23:28]line ИНН: 02508201610067 [08:23:28]line Контрольно-Кассовый Чек [08:23:28]line ПРОДАЖА [08:23:28]line Товар: 48744119 [08:23:28]line Сигареты Winston Xstyle Dual [08:23:28]line 1.000 * 140.00 [08:23:28]line = 140.00 [08:23:28]line НДС 12% НСП 1% [08:23:28]line > о реализуемом товаре [08:23:28]line Товар: 6931280300549 [08:23:28]line Зажигалка Cricket ПН пьезо [08:23:28]line 1.000 * 67.00 [08:23:28]line = 67.00 [08:23:28]line НДС 12% НСП 1% [08:23:28]line > о реализуемом товаре [08:23:28]line ИТОГО: 207.00 [08:23:28]line НСП 1% : 1.83 [08:23:28]line НДС 12% : 21.98 [08:23:28]line Наличными: 207.00 [08:23:28]line Безнал.: 0.00 [08:23:28]line Место: АЗС № 99 "Партнер Нефть" [08:23:28]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [08:23:28]line СНО: Общий режим [08:23:28]line Чек 19 06.03.2024 08:23 [08:23:28]line Смена: 284 ФФД: 1.0 [08:23:28]line ЗНМ: 0300000074 [08:23:28]line РНМ: 0000000000092554 [08:23:28]line Версия ККМ: 001 [08:23:28]line ФМ: 0000000000871783 [08:23:28]line ФД: 32403 [08:23:28]line ФПД: 217350381656377 [08:23:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T082328&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32403&fm=217350381656377&tin=02508201610067®Number=0000000000092554&sum=20700 [08:23:28]line 0 [08:23:28]OFD Sender: Processing packet 32403 [packets to send 5, broken 4] [08:23:28]ProducePacketName [08:23:28]name=ofd_packets/00032403 [08:23:28]OFD Sender: To server: pG, [08:23:28]CommunicateWithHost lk.salyk.kg:30040 [08:23:28]ConnectInit lk.salyk.kg [08:23:28]written 0, free lines is 4095 [08:23:28]Connected sock=10 [08:23:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 97 01 00 00 C0 82 8F 01 2B 3A 5A 03 01 00 03 00 83 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 B0 36 00 00 00 00 13 04 06 00 B0 36 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 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 96 08 00 00 00 00 07 04 06 00 DC 50 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 00 28 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 93 7E 00 00 35 04 06 00 C5 AD D4 4A 59 39 F3 15 B0 4A E4 AC 74 29 [08:23:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 F8 30 47 00 72 7C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 93 7E 00 00 F4 03 04 00 39 D0 E7 65 B6 04 01 00 00 90 E2 38 BE 4C 6B 7A CB [08:23:28]CommunicateWithHost err = 0 [08:23:28]CheckOFDResponse [08:23:28]1017 (14) - 77093643461234 [08:23:28]1041 (16) - 0000000000871783 [08:23:28]1040 (4) - 32403 [08:23:28]1012 (4) - 06.03.2024 02:08 [08:23:28]1206 (1) - 0 [08:23:28]OFD Sender: Remove packet 32403 [08:23:28]ProducePacketName [08:23:28]name=ofd_packets/00032403 [08:23:28]NVStorageDeleteData [08:23:28]Write to MH i2c: 01 00 00 35 07 3C [08:23:28]Write i2c OK [08:23:28]MH_I2C_Read... [08:23:28]Read from MH i2c: 01 [08:23:28]MH_I2C_Read... [08:23:28]Read from MH i2c: 01 07 00 [08:23:28]MH_I2C_Read... [08:23:28]Read from MH i2c: 01 07 00 35 07 00 00 00 00 00 5F 0C AE [08:23:28]RasterBufferAndPrint [08:23:28]line [08:23:28]line [08:23:28]line [08:23:28]line [08:23:28]line [08:23:28]written 0, free lines is 3172 [08:23:28]MH_Cut [08:23:28]Write to MH i2c: D1 01 00 3C 07 01 15 [08:23:28]Write i2c OK [08:23:28]MH_I2C_Read... [08:23:28]Read from MH i2c: D1 [08:23:28]MH_I2C_Read... [08:23:28]Read from MH i2c: D1 01 00 [08:23:28]MH_I2C_Read... [08:23:28]Read from MH i2c: D1 01 00 3C 07 00 14 [08:23:28]Write to MH i2c: 01 00 00 3D 07 44 [08:23:28]Write i2c OK [08:23:28]MH_I2C_Read... [08:23:28]OFD Sender: No OFD packet to send [08:23:29]*** Cut start [08:23:29]*** Partial cut [08:23:29]*** CUTSNS_PIN = 1 [08:23:29]*** CUTSNS_PIN = 0 [08:23:29]*** Brake cut motor [08:23:30]Read from MH i2c: 01 [08:23:30]MH_I2C_Read... [08:23:30]*** Stop cut motor [08:23:30]*** Cut end [08:23:30]Read from MH i2c: 01 07 00 [08:23:30]MH_I2C_Read... [08:23:30]Read from MH i2c: 01 07 00 3D 07 00 00 00 00 00 FF 0F 59 [08:23:30]process_action close_receipt done [08:23:30]requested_data is exist [08:23:30]produce_requested_data [08:23:30]requested_item fm.sn is exist - process it [08:23:30]wFMCommunicate request_size=4 [08:23:30]MH_SAM_APDU [08:23:30]CAPDU: 80 11 00 00 [08:23:30]Write to MH i2c: E2 08 00 3E 07 80 11 00 00 00 00 00 00 BF [08:23:30]Write i2c OK [08:23:30]MH_I2C_Read... [08:23:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:23:30]Read from MH i2c: E2 [08:23:30]MH_I2C_Read... [08:23:30]Read from MH i2c: E2 17 00 [08:23:30]MH_I2C_Read... [08:23:30]Read from MH i2c: E2 17 00 3E 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 14 [08:23:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [08:23:30]wFMCommunicate OK [08:23:30]requested_item fd.num is exist - process it [08:23:30]SAM_PROTO_GetFieldsCounters [08:23:30]wFMCommunicate request_size=4 [08:23:30]MH_SAM_APDU [08:23:30]CAPDU: 80 13 00 00 [08:23:30]Write to MH i2c: E2 08 00 3F 07 80 13 00 00 00 00 00 00 C2 [08:23:30]Write i2c OK [08:23:30]MH_I2C_Read... [08:23:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:23:30]Read from MH i2c: E2 [08:23:30]MH_I2C_Read... [08:23:30]Read from MH i2c: E2 62 00 [08:23:30]MH_I2C_Read... [08:23:30]Read from MH i2c: E2 62 00 3F 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 93 7E 00 00 0E 04 04 00 1C 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 4C [08:23:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 93 7E 00 00 0E 04 04 00 1C 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 [08:23:30]wFMCommunicate OK [08:23:30]SAM_PROTO_GetFieldsCounters done [08:23:30]requested_item shift.num is exist - process it [08:23:30]requested_item shift.opened is exist - process it [08:23:30]req_shift_opened [08:23:30]FM_GetShiftState [08:23:30]SAM_PROTO_GetShiftState [08:23:30]wFMCommunicate request_size=4 [08:23:30]MH_SAM_APDU [08:23:30]CAPDU: 80 13 01 00 [08:23:30]Write to MH i2c: E2 08 00 40 07 80 13 01 00 00 00 00 00 C4 [08:23:30]Write i2c OK [08:23:30]MH_I2C_Read... [08:23:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:23:30]Read from MH i2c: E2 [08:23:30]MH_I2C_Read... [08:23:30]Read from MH i2c: E2 0E 00 [08:23:30]MH_I2C_Read... [08:23:30]Read from MH i2c: E2 0E 00 40 07 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 41 [08:23:30]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [08:23:30]wFMCommunicate OK [08:23:30]SAM_PROTO_GetShiftState done [08:23:30]FM_GetShiftState done [08:23:30]req_shift_opened done [08:23:30]requested_item shift.open_date is exist - process it [08:23:30]req_shift_open_date [08:23:30]req_shift_open_date done [08:23:30]produce_requested_data done [08:23:30]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32403,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [08:23:30]process_action_free close_receipt [08:23:30]json_value_free [08:23:30]json_value_free done [08:23:30]process_json_proto returns [08:23:30]Send response to host [08:23:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32403,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [08:23:30]free response buf [08:23:30]execute_script done [08:23:30]execute_script returns [08:23:30]free content buf [08:23:30]Sock 9.Close socket [08:23:30]Sock 9.Thread stoped [08:23:33]OFD Sender: No OFD packet to send [08:23:38]OFD Sender: No OFD packet to send [08:23:43]OFD Sender: No OFD packet to send [08:23:48]OFD Sender: No OFD packet to send [08:23:53]OFD Sender: No OFD packet to send [08:23:58]OFD Sender: No OFD packet to send [08:24:03]OFD Sender: No OFD packet to send [08:24:08]OFD Sender: No OFD packet to send [08:24:13]OFD Sender: No OFD packet to send [08:24:18]OFD Sender: No OFD packet to send [08:24:23]OFD Sender: No OFD packet to send [08:24:28]OFD Sender: No OFD packet to send [08:24:33]OFD Sender: No OFD packet to send [08:24:38]OFD Sender: No OFD packet to send [08:24:43]OFD Sender: No OFD packet to send [08:24:48]OFD Sender: No OFD packet to send [08:24:53]OFD Sender: No OFD packet to send [08:24:58]OFD Sender: No OFD packet to send [08:25:03]OFD Sender: No OFD packet to send [08:25:08]OFD Sender: No OFD packet to send [08:25:13]OFD Sender: No OFD packet to send [08:25:18]OFD Sender: No OFD packet to send [08:25:23]OFD Sender: No OFD packet to send [08:25:29]OFD Sender: No OFD packet to send [08:25:34]OFD Sender: No OFD packet to send [08:25:39]OFD Sender: No OFD packet to send [08:25:44]OFD Sender: No OFD packet to send [08:25:49]OFD Sender: No OFD packet to send [08:25:54]OFD Sender: No OFD packet to send [08:25:59]OFD Sender: No OFD packet to send [08:26:04]OFD Sender: No OFD packet to send [08:26:09]OFD Sender: No OFD packet to send [08:26:14]OFD Sender: No OFD packet to send [08:26:19]OFD Sender: No OFD packet to send [08:26:24]OFD Sender: No OFD packet to send [08:26:29]OFD Sender: No OFD packet to send [08:26:34]OFD Sender: No OFD packet to send [08:26:39]OFD Sender: No OFD packet to send [08:26:44]OFD Sender: No OFD packet to send [08:26:49]OFD Sender: No OFD packet to send [08:26:54]OFD Sender: No OFD packet to send [08:26:59]OFD Sender: No OFD packet to send [08:27:04]OFD Sender: No OFD packet to send [08:27:09]OFD Sender: No OFD packet to send [08:27:14]OFD Sender: No OFD packet to send [08:27:19]OFD Sender: No OFD packet to send [08:27:24]OFD Sender: No OFD packet to send [08:27:29]OFD Sender: No OFD packet to send [08:27:34]OFD Sender: No OFD packet to send [08:27:39]OFD Sender: No OFD packet to send [08:27:44]OFD Sender: No OFD packet to send [08:27:49]OFD Sender: No OFD packet to send [08:27:54]OFD Sender: No OFD packet to send [08:27:59]OFD Sender: No OFD packet to send [08:28:04]OFD Sender: No OFD packet to send [08:28:09]OFD Sender: No OFD packet to send [08:28:14]OFD Sender: No OFD packet to send [08:28:19]OFD Sender: No OFD packet to send [08:28:24]OFD Sender: No OFD packet to send [08:28:29]OFD Sender: No OFD packet to send [08:28:34]OFD Sender: No OFD packet to send [08:28:39]OFD Sender: No OFD packet to send [08:28:44]OFD Sender: No OFD packet to send [08:28:49]OFD Sender: No OFD packet to send [08:28:54]OFD Sender: No OFD packet to send [08:28:59]OFD Sender: No OFD packet to send [08:29:04]OFD Sender: No OFD packet to send [08:29:09]OFD Sender: No OFD packet to send [08:29:14]OFD Sender: No OFD packet to send [08:29:19]OFD Sender: No OFD packet to send [08:29:24]OFD Sender: No OFD packet to send [08:29:29]OFD Sender: No OFD packet to send [08:29:34]OFD Sender: No OFD packet to send [08:29:39]OFD Sender: No OFD packet to send [08:29:44]OFD Sender: No OFD packet to send [08:29:49]OFD Sender: No OFD packet to send [08:29:54]OFD Sender: No OFD packet to send [08:29:59]OFD Sender: No OFD packet to send [08:30:04]OFD Sender: No OFD packet to send [08:30:09]OFD Sender: No OFD packet to send [08:30:14]OFD Sender: No OFD packet to send [08:30:19]OFD Sender: No OFD packet to send [08:30:24]OFD Sender: No OFD packet to send [08:30:29]OFD Sender: No OFD packet to send [08:30:34]OFD Sender: No OFD packet to send [08:30:39]OFD Sender: No OFD packet to send [08:30:44]OFD Sender: No OFD packet to send [08:30:49]OFD Sender: No OFD packet to send [08:30:54]OFD Sender: No OFD packet to send [08:30:59]OFD Sender: No OFD packet to send [08:31:04]OFD Sender: No OFD packet to send [08:31:09]OFD Sender: No OFD packet to send [08:31:14]OFD Sender: No OFD packet to send [08:31:19]OFD Sender: No OFD packet to send [08:31:24]OFD Sender: No OFD packet to send [08:31:29]OFD Sender: No OFD packet to send [08:31:34]OFD Sender: No OFD packet to send [08:31:35]accept exits with 8 [08:31:35]New connection [08:31:35]New thread 3067075940 created [08:31:35]Thread 3066932580 joined [08:31:35]Waiting for new connection... [08:31:35] Sock 8.Parse request [08:31:35]Sock 8.Check first char [08:31:35]Sock 8.First char is OK [08:31:35]request: POST /json_proto HTTP/1.0 [08:31:35]Method: POST [08:31:35]URL: /json_proto [08:31:35]Method is POST - this is cgi request [08:31:35]url: /json_proto [08:31:35]query_string will be loaded in cgi processing [08:31:35]execute_cgi json_proto POST (null) [08:31:35]execute_cgi path=json_proto method=POST [08:31:35]POST find Content-Length [08:31:35]Host: 172.17.61.6:8080 [08:31:35]Content-Length: 666 [08:31:35]Content-Type: application/json [08:31:35] [08:31:35]POST finish read [08:31:35]Found Content-Length = 666 [08:31:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58559", "tax_sys" : 0, "items" : [ { "code": "4800452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL (\u0410\u041A\u0426\u0418\u042F)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:31:35]execute_script... [08:31: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)58559", "tax_sys" : 0, "items" : [ { "code": "4800452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL (\u0410\u041A\u0426\u0418\u042F)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:31:35]POST & json_proto [08:31:35]process_json_proto [08:31:35]json parsed OK: [08:31:35]protocol is kg_v1.0 [08:31:35]action value=close_receipt [08:31:35]process_action close_receipt [08:31:35]cmd_close_receipt [08:31:35]MH_GetDate [08:31:35]Write to MH i2c: F0 00 00 41 07 37 [08:31:35]Write i2c OK [08:31:35]MH_I2C_Read... [08:31:35]Read from MH i2c: F0 [08:31:35]MH_I2C_Read... [08:31:35]Read from MH i2c: F0 09 00 [08:31:35]MH_I2C_Read... [08:31:35]Read from MH i2c: F0 09 00 41 07 00 E9 29 E8 65 78 7F 6F 64 69 [08:31:35]GetLastDocTimeStamp 1709713408 [08:31:35]current date 1709713897 [08:31:35]FM_GetShiftState [08:31:35]SAM_PROTO_GetShiftState [08:31:35]wFMCommunicate request_size=4 [08:31:35]MH_SAM_APDU [08:31:35]CAPDU: 80 13 01 00 [08:31:35]Write to MH i2c: E2 08 00 42 07 80 13 01 00 00 00 00 00 C6 [08:31:35]Write i2c OK [08:31:35]MH_I2C_Read... [08:31:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:31:35]Read from MH i2c: E2 [08:31:35]MH_I2C_Read... [08:31:35]Read from MH i2c: E2 0E 00 [08:31:35]MH_I2C_Read... [08:31:35]Read from MH i2c: E2 0E 00 42 07 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 43 [08:31:35]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [08:31:35]wFMCommunicate OK [08:31:35]SAM_PROTO_GetShiftState done [08:31:35]FM_GetShiftState done [08:31:35]opened in 1709684590 [08:31:35]opened+sec_in_day 1709770990 [08:31:35]quantity*price = 12000 [08:31:35]sum+1 = 12001 [08:31:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 20 06.03.2024 08:31 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32404 ФПД: 28867353935729 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T083137&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32404&fm=28867353935729&tin=02508201610067®Number=0000000000092554&sum=12000 0 [08:31:36]StoreToDocumentArchive [08:31:36]shift 284 fd 32404 [08:31:36]save to /storage/0284/doc_00032404 [08:31:36]save last doc name /storage/0284/doc_00032404 to /storage/kkm_last_doc_name [08:31:36]save OK [08:31:36]Clear old archive folders... [08:31:36]ProcessDocumentItem done err = 0, tmpTLVsize=283 [08:31:36]tlvbuf is 0166B250 [08:31:36]SAM_PROTO_ClearQueue [08:31:36]wFMCommunicate request_size=4 [08:31:36]MH_SAM_APDU [08:31:36]CAPDU: 80 09 00 00 [08:31:36]Write to MH i2c: E2 08 00 4F 07 80 09 00 00 00 00 00 00 C8 [08:31:36]Write i2c OK [08:31:36]MH_I2C_Read... [08:31:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:31:36]Read from MH i2c: E2 [08:31:36]MH_I2C_Read... [08:31:36]Read from MH i2c: E2 03 00 [08:31:36]MH_I2C_Read... [08:31:36]Read from MH i2c: E2 03 00 4F 07 00 90 00 CA [08:31:36]RAPDU: 90 00 [08:31:36]wFMCommunicate OK [08:31:36]SAM_PROTO_ClearQueue done [08:31:36]KKMCreateOFDPacket [08:31:36]OFDProtocolAddRootSTLVToBuf [08:31:36]FM_MakeSignedData [08:31:36]FM_MakeSignedData [08:31:36]SAM_PROTO_SignData [08:31:36]wFMCommunicate request_size=4 [08:31:36]MH_SAM_APDU [08:31:36]CAPDU: 80 0D 01 02 [08:31:36]Write to MH i2c: E2 08 00 50 07 80 0D 01 02 00 00 00 00 D0 [08:31:36]Write i2c OK [08:31:36]MH_I2C_Read... [08:31:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:31:36]Read from MH i2c: E2 [08:31:36]MH_I2C_Read... [08:31:36]Read from MH i2c: E2 03 00 [08:31:36]MH_I2C_Read... [08:31:36]Read from MH i2c: E2 03 00 50 07 00 90 00 CB [08:31:36]RAPDU: 90 00 [08:31:36]wFMCommunicate OK [08:31:36]wFMCommunicate request_size=255 [08:31:36]MH_SAM_APDU [08:31:36]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 E9 29 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 [08:31:36]Write to MH i2c: E2 02 01 51 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 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 E9 29 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 00 00 22 [08:31:36]Write i2c OK [08:31:36]MH_I2C_Read... [08:31:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:31:36]Read from MH i2c: E2 [08:31:36]MH_I2C_Read... [08:31:36]Read from MH i2c: E2 03 00 [08:31:36]MH_I2C_Read... [08:31:36]Read from MH i2c: E2 03 00 51 07 00 90 00 CC [08:31:36]RAPDU: 90 00 [08:31:36]wFMCommunicate OK [08:31:36]wFMCommunicate request_size=42 [08:31:36]MH_SAM_APDU [08:31:36]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 94 7E 00 00 35 04 06 00 1A 41 34 60 7F 71 [08:31:36]Write to MH i2c: E2 2D 00 52 07 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 94 7E 00 00 35 04 06 00 1A 41 34 60 7F 71 00 00 9B [08:31:36]Write i2c OK [08:31:36]MH_I2C_Read... [08:31:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:31:36]Read from MH i2c: E2 [08:31:36]MH_I2C_Read... [08:31:36]Read from MH i2c: E2 03 00 [08:31:36]MH_I2C_Read... [08:31:36]Read from MH i2c: E2 03 00 52 07 00 90 00 CD [08:31:36]RAPDU: 90 00 [08:31:36]wFMCommunicate OK [08:31:36]wFMCommunicate request_size=4 [08:31:36]MH_SAM_APDU [08:31:36]CAPDU: 80 0D 03 02 [08:31:36]Write to MH i2c: E2 08 00 53 07 80 0D 03 02 00 00 00 00 D5 [08:31:36]Write i2c OK [08:31:36]MH_I2C_Read... [08:31:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:31:36]Read from MH i2c: E2 [08:31:36]MH_I2C_Read... [08:31:36]Read from MH i2c: E2 0B 00 [08:31:36]MH_I2C_Read... [08:31:36]Read from MH i2c: E2 0B 00 53 07 00 37 6C B3 CE 64 F1 49 0B 90 00 A3 [08:31:36]RAPDU: 37 6C B3 CE 64 F1 49 0B 90 00 [08:31:36]wFMCommunicate OK [08:31:36]SAM_PROTO_SignData done [08:31:36]FM_MakeSignedData done [08:31:36]CreateOFDProtocolMessage [08:31:36]wFMCommunicate request_size=4 [08:31:36]MH_SAM_APDU [08:31:36]CAPDU: 80 11 00 00 [08:31:36]Write to MH i2c: E2 08 00 54 07 80 11 00 00 00 00 00 00 D5 [08:31:36]Write i2c OK [08:31:36]MH_I2C_Read... [08:31:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:31:36]Read from MH i2c: E2 [08:31:36]MH_I2C_Read... [08:31:36]Read from MH i2c: E2 17 00 [08:31:36]MH_I2C_Read... [08:31:36]Read from MH i2c: E2 17 00 54 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 2A [08:31:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [08:31:36]wFMCommunicate OK [08:31:36]CreateOFDProtocolMessage done [08:31:36]OFDSenderStorePacket 32404 [08:31:36]StoreOFDPacket docnum=32404 [08:31:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 2F 01 00 00 08 CD 27 01 9A F3 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 E9 29 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 94 7E 00 00 35 04 06 00 1A 41 34 60 7F 71 37 6C B3 CE 64 F1 49 0B [08:31:36]CheckFolder [08:31:36]dirname=/storage/ofd_packets [08:31:36]CheckFolder done [08:31:36]ProducePacketName [08:31:36]name=ofd_packets/00032404 [08:31:36]NVStorageSaveData ofd_packets/00032404 [08:31:36]File name is /storage/ofd_packets/00032404 [08:31:36]Write 333 bytes [08:31:36]NVStorageSaveData done [08:31:36]OFDSenderStorePacket done [08:31:36]KKMCreateOFDPacket done [08:31:36]NVStorageSaveData kkm_last_timestamp [08:31:36]File name is /storage/kkm_last_timestamp [08:31:36]Write 4 bytes [08:31:36]NVStorageSaveData done [08:31:36]ExternCall_PrintAddStr [08:31:36]wPrintStart [08:31:36]Write to MH i2c: 01 00 00 55 07 5C [08:31:36]Write i2c OK [08:31:36]MH_I2C_Read... [08:31:36]Read from MH i2c: 01 [08:31:36]MH_I2C_Read... [08:31:36]Read from MH i2c: 01 07 00 [08:31:36]MH_I2C_Read... [08:31:36]Read from MH i2c: 01 07 00 55 07 00 00 00 00 00 FF 0F 71 [08:31:36]RasterBufferAndPrint [08:31:36]line Счет N : (3)58559 [08:31:36]line ИНН: 02508201610067 [08:31:36]line Контрольно-Кассовый Чек [08:31:36]line ПРОДАЖА [08:31:36]line Товар: 4800452010610 [08:31:36]line Кофе капучино XL (АКЦИЯ) [08:31:36]line 1.000 * 120.00 [08:31:36]line = 120.00 [08:31:36]line НДС 12% НСП 1% [08:31:36]line > о реализуемом товаре [08:31:36]line ИТОГО: 120.00 [08:31:36]line НСП 1% : 1.06 [08:31:36]line НДС 12% : 12.74 [08:31:36]line Наличными: 120.00 [08:31:36]line Безнал.: 0.00 [08:31:36]line Место: АЗС № 99 "Партнер Нефть" [08:31:36]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [08:31:36]line СНО: Общий режим [08:31:36]line Чек 20 06.03.2024 08:31 [08:31:36]line Смена: 284 ФФД: 1.0 [08:31:36]line ЗНМ: 0300000074 [08:31:36]line РНМ: 0000000000092554 [08:31:36]line Версия ККМ: 001 [08:31:36]line ФМ: 0000000000871783 [08:31:36]line ФД: 32404 [08:31:36]line ФПД: 28867353935729 [08:31:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T083137&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32404&fm=28867353935729&tin=02508201610067®Number=0000000000092554&sum=12000 [08:31:37]OFD Sender: Processing packet 32404 [packets to send 5, broken 4] [08:31:37]ProducePacketName [08:31:37]name=ofd_packets/00032404 [08:31:37]OFD Sender: To server: pG, [08:31:37]CommunicateWithHost lk.salyk.kg:30040 [08:31:37]ConnectInit lk.salyk.kg [08:31:37]line 0 [08:31:37]written 0, free lines is 4095 [08:31:37]Connected sock=10 [08:31:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 2F 01 00 00 08 CD 27 01 9A F3 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 E9 29 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 94 7E 00 00 35 04 06 00 1A 41 34 60 7F 71 37 6C B3 CE 64 F1 49 0B [08:31:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 65 92 47 00 91 B5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 94 7E 00 00 F4 03 04 00 22 D2 E7 65 B6 04 01 00 00 B9 09 BC E0 DC E9 B9 CF [08:31:37]CommunicateWithHost err = 0 [08:31:37]CheckOFDResponse [08:31:37]1017 (14) - 77093643461234 [08:31:37]1041 (16) - 0000000000871783 [08:31:37]1040 (4) - 32404 [08:31:37]1012 (4) - 06.03.2024 02:17 [08:31:37]1206 (1) - 0 [08:31:37]OFD Sender: Remove packet 32404 [08:31:37]ProducePacketName [08:31:37]name=ofd_packets/00032404 [08:31:37]NVStorageDeleteData [08:31:37]Write to MH i2c: 01 00 00 7D 07 84 [08:31:37]Write i2c OK [08:31:37]MH_I2C_Read... [08:31:37]Read from MH i2c: 01 [08:31:37]MH_I2C_Read... [08:31:37]Read from MH i2c: 01 07 00 [08:31:37]MH_I2C_Read... [08:31:37]Read from MH i2c: 01 07 00 7D 07 00 00 00 00 00 D7 0C 6E [08:31:37]RasterBufferAndPrint [08:31:37]line [08:31:37]line [08:31:37]line [08:31:37]line [08:31:37]line [08:31:37]written 0, free lines is 3295 [08:31:37]MH_Cut [08:31:37]Write to MH i2c: D1 01 00 84 07 01 5D [08:31:37]Write i2c OK [08:31:37]MH_I2C_Read... [08:31:37]Read from MH i2c: D1 [08:31:37]MH_I2C_Read... [08:31:37]Read from MH i2c: D1 01 00 [08:31:37]MH_I2C_Read... [08:31:37]Read from MH i2c: D1 01 00 84 07 00 5C [08:31:37]Write to MH i2c: 01 00 00 85 07 8C [08:31:37]Write i2c OK [08:31:37]MH_I2C_Read... [08:31:38]OFD Sender: No OFD packet to send [08:31:38]*** Cut start [08:31:38]*** Partial cut [08:31:38]*** CUTSNS_PIN = 1 [08:31:38]*** CUTSNS_PIN = 0 [08:31:38]*** Brake cut motor [08:31:39]Read from MH i2c: 01 [08:31:39]MH_I2C_Read... [08:31:39]*** Stop cut motor [08:31:39]*** Cut end [08:31:39]Read from MH i2c: 01 07 00 [08:31:39]MH_I2C_Read... [08:31:39]Read from MH i2c: 01 07 00 85 07 00 00 00 00 00 FF 0F A1 [08:31:39]process_action close_receipt done [08:31:39]requested_data is exist [08:31:39]produce_requested_data [08:31:39]requested_item fm.sn is exist - process it [08:31:39]wFMCommunicate request_size=4 [08:31:39]MH_SAM_APDU [08:31:39]CAPDU: 80 11 00 00 [08:31:39]Write to MH i2c: E2 08 00 86 07 80 11 00 00 00 00 00 00 07 [08:31:39]Write i2c OK [08:31:39]MH_I2C_Read... [08:31:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:31:39]Read from MH i2c: E2 [08:31:39]MH_I2C_Read... [08:31:39]Read from MH i2c: E2 17 00 [08:31:39]MH_I2C_Read... [08:31:39]Read from MH i2c: E2 17 00 86 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 5C [08:31:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [08:31:39]wFMCommunicate OK [08:31:39]requested_item fd.num is exist - process it [08:31:39]SAM_PROTO_GetFieldsCounters [08:31:39]wFMCommunicate request_size=4 [08:31:39]MH_SAM_APDU [08:31:39]CAPDU: 80 13 00 00 [08:31:39]Write to MH i2c: E2 08 00 87 07 80 13 00 00 00 00 00 00 0A [08:31:39]Write i2c OK [08:31:39]MH_I2C_Read... [08:31:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:31:39]Read from MH i2c: E2 [08:31:39]MH_I2C_Read... [08:31:39]Read from MH i2c: E2 62 00 [08:31:39]MH_I2C_Read... [08:31:39]Read from MH i2c: E2 62 00 87 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 94 7E 00 00 0E 04 04 00 1C 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 98 [08:31:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 94 7E 00 00 0E 04 04 00 1C 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 [08:31:39]wFMCommunicate OK [08:31:39]SAM_PROTO_GetFieldsCounters done [08:31:39]requested_item shift.num is exist - process it [08:31:39]requested_item shift.opened is exist - process it [08:31:39]req_shift_opened [08:31:39]FM_GetShiftState [08:31:39]SAM_PROTO_GetShiftState [08:31:39]wFMCommunicate request_size=4 [08:31:39]MH_SAM_APDU [08:31:39]CAPDU: 80 13 01 00 [08:31:39]Write to MH i2c: E2 08 00 88 07 80 13 01 00 00 00 00 00 0C [08:31:39]Write i2c OK [08:31:39]MH_I2C_Read... [08:31:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:31:39]Read from MH i2c: E2 [08:31:39]MH_I2C_Read... [08:31:39]Read from MH i2c: E2 0E 00 [08:31:39]MH_I2C_Read... [08:31:39]Read from MH i2c: E2 0E 00 88 07 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 89 [08:31:39]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [08:31:39]wFMCommunicate OK [08:31:39]SAM_PROTO_GetShiftState done [08:31:39]FM_GetShiftState done [08:31:39]req_shift_opened done [08:31:39]requested_item shift.open_date is exist - process it [08:31:39]req_shift_open_date [08:31:39]req_shift_open_date done [08:31:39]produce_requested_data done [08:31:39]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32404,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [08:31:39]process_action_free close_receipt [08:31:39]json_value_free [08:31:39]json_value_free done [08:31:39]process_json_proto returns [08:31:39]Send response to host [08:31:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32404,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [08:31:39]free response buf [08:31:39]execute_script done [08:31:39]execute_script returns [08:31:39]free content buf [08:31:39]Sock 8.Close socket [08:31:39]Sock 8.Thread stoped [08:31:43]OFD Sender: No OFD packet to send [08:31:48]OFD Sender: No OFD packet to send [08:31:53]OFD Sender: No OFD packet to send [08:31:58]OFD Sender: No OFD packet to send [08:32:03]OFD Sender: No OFD packet to send [08:32:08]OFD Sender: No OFD packet to send [08:32:13]OFD Sender: No OFD packet to send [08:32:18]OFD Sender: No OFD packet to send [08:32:23]OFD Sender: No OFD packet to send [08:32:28]OFD Sender: No OFD packet to send [08:32:33]OFD Sender: No OFD packet to send [08:32:38]OFD Sender: No OFD packet to send [08:32:43]OFD Sender: No OFD packet to send [08:32:48]OFD Sender: No OFD packet to send [08:32:53]OFD Sender: No OFD packet to send [08:32:58]OFD Sender: No OFD packet to send [08:33:03]OFD Sender: No OFD packet to send [08:33:08]OFD Sender: No OFD packet to send [08:33:13]OFD Sender: No OFD packet to send [08:33:18]OFD Sender: No OFD packet to send [08:33:23]OFD Sender: No OFD packet to send [08:33:28]OFD Sender: No OFD packet to send [08:33:33]OFD Sender: No OFD packet to send [08:33:38]OFD Sender: No OFD packet to send [08:33:43]OFD Sender: No OFD packet to send [08:33:48]OFD Sender: No OFD packet to send [08:33:53]OFD Sender: No OFD packet to send [08:33:58]OFD Sender: No OFD packet to send [08:34:03]OFD Sender: No OFD packet to send [08:34:08]OFD Sender: No OFD packet to send [08:34:13]OFD Sender: No OFD packet to send [08:34:18]OFD Sender: No OFD packet to send [08:34:23]OFD Sender: No OFD packet to send [08:34:28]OFD Sender: No OFD packet to send [08:34:33]OFD Sender: No OFD packet to send [08:34:38]OFD Sender: No OFD packet to send [08:34:43]OFD Sender: No OFD packet to send [08:34:48]OFD Sender: No OFD packet to send [08:34:53]OFD Sender: No OFD packet to send [08:34:58]OFD Sender: No OFD packet to send [08:35:03]OFD Sender: No OFD packet to send [08:35:08]OFD Sender: No OFD packet to send [08:35:13]OFD Sender: No OFD packet to send [08:35:18]OFD Sender: No OFD packet to send [08:35:23]OFD Sender: No OFD packet to send [08:35:28]OFD Sender: No OFD packet to send [08:35:33]OFD Sender: No OFD packet to send [08:35:38]OFD Sender: No OFD packet to send [08:35:43]OFD Sender: No OFD packet to send [08:35:48]OFD Sender: No OFD packet to send [08:35:53]OFD Sender: No OFD packet to send [08:35:58]OFD Sender: No OFD packet to send [08:36:03]OFD Sender: No OFD packet to send [08:36:08]OFD Sender: No OFD packet to send [08:36:13]OFD Sender: No OFD packet to send [08:36:18]OFD Sender: No OFD packet to send [08:36:23]OFD Sender: No OFD packet to send [08:36:28]OFD Sender: No OFD packet to send [08:36:33]OFD Sender: No OFD packet to send [08:36:38]OFD Sender: No OFD packet to send [08:36:43]OFD Sender: No OFD packet to send [08:36:48]OFD Sender: No OFD packet to send [08:36:53]OFD Sender: No OFD packet to send [08:36:58]OFD Sender: No OFD packet to send [08:37:03]OFD Sender: No OFD packet to send [08:37:08]OFD Sender: No OFD packet to send [08:37:13]OFD Sender: No OFD packet to send [08:37:18]OFD Sender: No OFD packet to send [08:37:23]OFD Sender: No OFD packet to send [08:37:28]OFD Sender: No OFD packet to send [08:37:33]OFD Sender: No OFD packet to send [08:37:38]OFD Sender: No OFD packet to send [08:37:43]OFD Sender: No OFD packet to send [08:37:48]OFD Sender: No OFD packet to send [08:37:53]OFD Sender: No OFD packet to send [08:37:58]OFD Sender: No OFD packet to send [08:38:03]OFD Sender: No OFD packet to send [08:38:08]OFD Sender: No OFD packet to send [08:38:13]OFD Sender: No OFD packet to send [08:38:18]OFD Sender: No OFD packet to send [08:38:23]OFD Sender: No OFD packet to send [08:38:28]OFD Sender: No OFD packet to send [08:38:33]OFD Sender: No OFD packet to send [08:38:38]OFD Sender: No OFD packet to send [08:38:43]OFD Sender: No OFD packet to send [08:38:48]OFD Sender: No OFD packet to send [08:38:53]OFD Sender: No OFD packet to send [08:38:58]OFD Sender: No OFD packet to send [08:39:03]OFD Sender: No OFD packet to send [08:39:08]OFD Sender: No OFD packet to send [08:39:13]OFD Sender: No OFD packet to send [08:39:18]OFD Sender: No OFD packet to send [08:39:23]OFD Sender: No OFD packet to send [08:39:28]OFD Sender: No OFD packet to send [08:39:33]OFD Sender: No OFD packet to send [08:39:38]OFD Sender: No OFD packet to send [08:39:43]OFD Sender: No OFD packet to send [08:39:48]OFD Sender: No OFD packet to send [08:39:53]OFD Sender: No OFD packet to send [08:39:58]OFD Sender: No OFD packet to send [08:40:03]OFD Sender: No OFD packet to send [08:40:08]OFD Sender: No OFD packet to send [08:40:13]OFD Sender: No OFD packet to send [08:40:18]OFD Sender: No OFD packet to send [08:40:23]OFD Sender: No OFD packet to send [08:40:28]OFD Sender: No OFD packet to send [08:40:33]OFD Sender: No OFD packet to send [08:40:38]OFD Sender: No OFD packet to send [08:40:43]OFD Sender: No OFD packet to send [08:40:48]OFD Sender: No OFD packet to send [08:40:53]OFD Sender: No OFD packet to send [08:40:58]OFD Sender: No OFD packet to send [08:41:03]OFD Sender: No OFD packet to send [08:41:08]OFD Sender: No OFD packet to send [08:41:13]OFD Sender: No OFD packet to send [08:41:18]OFD Sender: No OFD packet to send [08:41:23]OFD Sender: No OFD packet to send [08:41:28]OFD Sender: No OFD packet to send [08:41:33]OFD Sender: No OFD packet to send [08:41:38]OFD Sender: No OFD packet to send [08:41:43]OFD Sender: No OFD packet to send [08:41:48]OFD Sender: No OFD packet to send [08:41:53]OFD Sender: No OFD packet to send [08:41:58]OFD Sender: No OFD packet to send [08:42:03]OFD Sender: No OFD packet to send [08:42:08]OFD Sender: No OFD packet to send [08:42:13]OFD Sender: No OFD packet to send [08:42:18]OFD Sender: No OFD packet to send [08:42:23]OFD Sender: No OFD packet to send [08:42:28]OFD Sender: No OFD packet to send [08:42:33]OFD Sender: No OFD packet to send [08:42:38]OFD Sender: No OFD packet to send [08:42:43]OFD Sender: No OFD packet to send [08:42:48]OFD Sender: No OFD packet to send [08:42:53]OFD Sender: No OFD packet to send [08:42:58]OFD Sender: No OFD packet to send [08:43:03]OFD Sender: No OFD packet to send [08:43:08]OFD Sender: No OFD packet to send [08:43:13]OFD Sender: No OFD packet to send [08:43:18]OFD Sender: No OFD packet to send [08:43:23]OFD Sender: No OFD packet to send [08:43:28]OFD Sender: No OFD packet to send [08:43:33]OFD Sender: No OFD packet to send [08:43:38]OFD Sender: No OFD packet to send [08:43:43]OFD Sender: No OFD packet to send [08:43:48]OFD Sender: No OFD packet to send [08:43:53]OFD Sender: No OFD packet to send [08:43:58]OFD Sender: No OFD packet to send [08:44:03]OFD Sender: No OFD packet to send [08:44:08]OFD Sender: No OFD packet to send [08:44:13]OFD Sender: No OFD packet to send [08:44:18]OFD Sender: No OFD packet to send [08:44:23]OFD Sender: No OFD packet to send [08:44:28]OFD Sender: No OFD packet to send [08:44:33]OFD Sender: No OFD packet to send [08:44:38]OFD Sender: No OFD packet to send [08:44:43]OFD Sender: No OFD packet to send [08:44:48]OFD Sender: No OFD packet to send [08:44:53]OFD Sender: No OFD packet to send [08:44:58]OFD Sender: No OFD packet to send [08:45:03]OFD Sender: No OFD packet to send [08:45:08]OFD Sender: No OFD packet to send [08:45:13]OFD Sender: No OFD packet to send [08:45:18]OFD Sender: No OFD packet to send [08:45:23]OFD Sender: No OFD packet to send [08:45:28]OFD Sender: No OFD packet to send [08:45:33]OFD Sender: No OFD packet to send [08:45:38]OFD Sender: No OFD packet to send [08:45:43]OFD Sender: No OFD packet to send [08:45:48]OFD Sender: No OFD packet to send [08:45:53]OFD Sender: No OFD packet to send [08:45:58]OFD Sender: No OFD packet to send [08:46:03]OFD Sender: No OFD packet to send [08:46:08]OFD Sender: No OFD packet to send [08:46:13]OFD Sender: No OFD packet to send [08:46:18]OFD Sender: No OFD packet to send [08:46:23]OFD Sender: No OFD packet to send [08:46:28]OFD Sender: No OFD packet to send [08:46:33]OFD Sender: No OFD packet to send [08:46:38]OFD Sender: No OFD packet to send [08:46:43]OFD Sender: No OFD packet to send [08:46:48]OFD Sender: No OFD packet to send [08:46:53]OFD Sender: No OFD packet to send [08:46:58]OFD Sender: No OFD packet to send [08:47:03]OFD Sender: No OFD packet to send [08:47:08]OFD Sender: No OFD packet to send [08:47:13]OFD Sender: No OFD packet to send [08:47:18]OFD Sender: No OFD packet to send [08:47:23]OFD Sender: No OFD packet to send [08:47:28]OFD Sender: No OFD packet to send [08:47:29]accept exits with 9 [08:47:29]New connection [08:47:29]New thread 3066932580 created [08:47:29]Thread 3067075940 joined [08:47:29]Waiting for new connection... [08:47:29] Sock 9.Parse request [08:47:29]Sock 9.Check first char [08:47:29]Sock 9.First char is OK [08:47:29]request: POST /json_proto HTTP/1.0 [08:47:29]Method: POST [08:47:29]URL: /json_proto [08:47:29]Method is POST - this is cgi request [08:47:29]url: /json_proto [08:47:29]query_string will be loaded in cgi processing [08:47:29]execute_cgi json_proto POST (null) [08:47:29]execute_cgi path=json_proto method=POST [08:47:29]POST find Content-Length [08:47:29]Host: 172.17.61.6:8080 [08:47:29]Content-Length: 676 [08:47:29]Content-Type: application/json [08:47:29] [08:47:29]POST finish read [08:47:29]Found Content-Length = 676 [08:47:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58560", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F \u0441\u0442\u043E\u043F\u043A\u0430 0,07", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:47:29]execute_script... [08:47: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)58560", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F \u0441\u0442\u043E\u043F\u043A\u0430 0,07", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:47:29]POST & json_proto [08:47:29]process_json_proto [08:47:29]json parsed OK: [08:47:29]protocol is kg_v1.0 [08:47:29]action value=close_receipt [08:47:29]process_action close_receipt [08:47:29]cmd_close_receipt [08:47:29]MH_GetDate [08:47:29]Write to MH i2c: F0 00 00 89 07 7F [08:47:29]Write i2c OK [08:47:29]MH_I2C_Read... [08:47:29]Read from MH i2c: F0 [08:47:29]MH_I2C_Read... [08:47:29]Read from MH i2c: F0 09 00 [08:47:29]MH_I2C_Read... [08:47:29]Read from MH i2c: F0 09 00 89 07 00 A3 2D E8 65 78 7F 6F 64 6F [08:47:29]GetLastDocTimeStamp 1709713897 [08:47:29]current date 1709714851 [08:47:29]FM_GetShiftState [08:47:29]SAM_PROTO_GetShiftState [08:47:29]wFMCommunicate request_size=4 [08:47:29]MH_SAM_APDU [08:47:29]CAPDU: 80 13 01 00 [08:47:29]Write to MH i2c: E2 08 00 8A 07 80 13 01 00 00 00 00 00 0E [08:47:29]Write i2c OK [08:47:29]MH_I2C_Read... [08:47:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:47:29]Read from MH i2c: E2 [08:47:29]MH_I2C_Read... [08:47:29]Read from MH i2c: E2 0E 00 [08:47:29]MH_I2C_Read... [08:47:29]Read from MH i2c: E2 0E 00 8A 07 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 8B [08:47:29]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [08:47:29]wFMCommunicate OK [08:47:29]SAM_PROTO_GetShiftState done [08:47:29]FM_GetShiftState done [08:47:29]opened in 1709684590 [08:47:29]opened+sec_in_day 1709770990 [08:47:29]quantity*price = 6500 [08:47:29]sum+1 = 6501 [08:47:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 21 06.03.2024 08:47 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32405 ФПД: 13964114384095 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T084731&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32405&fm=13964114384095&tin=02508201610067®Number=0000000000092554&sum=6500 0 [08:47:30]StoreToDocumentArchive [08:47:30]shift 284 fd 32405 [08:47:30]save to /storage/0284/doc_00032405 [08:47:30]save last doc name /storage/0284/doc_00032405 to /storage/kkm_last_doc_name [08:47:30]save OK [08:47:30]Clear old archive folders... [08:47:30]ProcessDocumentItem done err = 0, tmpTLVsize=284 [08:47:30]tlvbuf is 0166CA40 [08:47:30]SAM_PROTO_ClearQueue [08:47:30]wFMCommunicate request_size=4 [08:47:30]MH_SAM_APDU [08:47:30]CAPDU: 80 09 00 00 [08:47:30]Write to MH i2c: E2 08 00 97 07 80 09 00 00 00 00 00 00 10 [08:47:30]Write i2c OK [08:47:30]MH_I2C_Read... [08:47:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:47:30]Read from MH i2c: E2 [08:47:30]MH_I2C_Read... [08:47:30]Read from MH i2c: E2 03 00 [08:47:30]MH_I2C_Read... [08:47:30]Read from MH i2c: E2 03 00 97 07 00 90 00 12 [08:47:30]RAPDU: 90 00 [08:47:30]wFMCommunicate OK [08:47:30]SAM_PROTO_ClearQueue done [08:47:30]KKMCreateOFDPacket [08:47:30]OFDProtocolAddRootSTLVToBuf [08:47:30]FM_MakeSignedData [08:47:30]FM_MakeSignedData [08:47:30]SAM_PROTO_SignData [08:47:30]wFMCommunicate request_size=4 [08:47:30]MH_SAM_APDU [08:47:30]CAPDU: 80 0D 01 02 [08:47:30]Write to MH i2c: E2 08 00 98 07 80 0D 01 02 00 00 00 00 18 [08:47:30]Write i2c OK [08:47:30]MH_I2C_Read... [08:47:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:47:30]Read from MH i2c: E2 [08:47:30]MH_I2C_Read... [08:47:30]Read from MH i2c: E2 03 00 [08:47:30]MH_I2C_Read... [08:47:30]Read from MH i2c: E2 03 00 98 07 00 90 00 13 [08:47:30]RAPDU: 90 00 [08:47:30]wFMCommunicate OK [08:47:30]wFMCommunicate request_size=255 [08:47:30]MH_SAM_APDU [08:47:30]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 2F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 D1 81 D1 82 D0 BE D0 BF D0 BA D0 B0 20 30 2C 30 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 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 A3 2D E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 [08:47:30]Write to MH i2c: E2 02 01 99 07 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 2F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 D1 81 D1 82 D0 BE D0 BF D0 BA D0 B0 20 30 2C 30 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 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 A3 2D E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 00 00 C9 [08:47:30]Write i2c OK [08:47:30]MH_I2C_Read... [08:47:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:47:31]Read from MH i2c: E2 [08:47:31]MH_I2C_Read... [08:47:31]Read from MH i2c: E2 03 00 [08:47:31]MH_I2C_Read... [08:47:31]Read from MH i2c: E2 03 00 99 07 00 90 00 14 [08:47:31]RAPDU: 90 00 [08:47:31]wFMCommunicate OK [08:47:31]wFMCommunicate request_size=43 [08:47:31]MH_SAM_APDU [08:47:31]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 95 7E 00 00 35 04 06 00 0C B3 46 13 D4 DF [08:47:31]Write to MH i2c: E2 2E 00 9A 07 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 95 7E 00 00 35 04 06 00 0C B3 46 13 D4 DF 00 00 E3 [08:47:31]Write i2c OK [08:47:31]MH_I2C_Read... [08:47:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:47:31]Read from MH i2c: E2 [08:47:31]MH_I2C_Read... [08:47:31]Read from MH i2c: E2 03 00 [08:47:31]MH_I2C_Read... [08:47:31]Read from MH i2c: E2 03 00 9A 07 00 90 00 15 [08:47:31]RAPDU: 90 00 [08:47:31]wFMCommunicate OK [08:47:31]wFMCommunicate request_size=4 [08:47:31]MH_SAM_APDU [08:47:31]CAPDU: 80 0D 03 02 [08:47:31]Write to MH i2c: E2 08 00 9B 07 80 0D 03 02 00 00 00 00 1D [08:47:31]Write i2c OK [08:47:31]MH_I2C_Read... [08:47:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:47:31]Read from MH i2c: E2 [08:47:31]MH_I2C_Read... [08:47:31]Read from MH i2c: E2 0B 00 [08:47:31]MH_I2C_Read... [08:47:31]Read from MH i2c: E2 0B 00 9B 07 00 CD 0C D8 36 31 F6 5F 44 90 00 CF [08:47:31]RAPDU: CD 0C D8 36 31 F6 5F 44 90 00 [08:47:31]wFMCommunicate OK [08:47:31]SAM_PROTO_SignData done [08:47:31]FM_MakeSignedData done [08:47:31]CreateOFDProtocolMessage [08:47:31]wFMCommunicate request_size=4 [08:47:31]MH_SAM_APDU [08:47:31]CAPDU: 80 11 00 00 [08:47:31]Write to MH i2c: E2 08 00 9C 07 80 11 00 00 00 00 00 00 1D [08:47:31]Write i2c OK [08:47:31]MH_I2C_Read... [08:47:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:47:31]Read from MH i2c: E2 [08:47:31]MH_I2C_Read... [08:47:31]Read from MH i2c: E2 17 00 [08:47:31]MH_I2C_Read... [08:47:31]Read from MH i2c: E2 17 00 9C 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 72 [08:47:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [08:47:31]wFMCommunicate OK [08:47:31]CreateOFDProtocolMessage done [08:47:31]OFDSenderStorePacket 32405 [08:47:31]StoreOFDPacket docnum=32405 [08:47:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 30 01 00 00 D6 7E 28 01 28 12 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 2F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 D1 81 D1 82 D0 BE D0 BF D0 BA D0 B0 20 30 2C 30 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 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 A3 2D E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 95 7E 00 00 35 04 06 00 0C B3 46 13 D4 DF CD 0C D8 36 31 F6 5F 44 [08:47:31]CheckFolder [08:47:31]dirname=/storage/ofd_packets [08:47:31]CheckFolder done [08:47:31]ProducePacketName [08:47:31]name=ofd_packets/00032405 [08:47:31]NVStorageSaveData ofd_packets/00032405 [08:47:31]File name is /storage/ofd_packets/00032405 [08:47:31]Write 334 bytes [08:47:31]NVStorageSaveData done [08:47:31]OFDSenderStorePacket done [08:47:31]KKMCreateOFDPacket done [08:47:31]NVStorageSaveData kkm_last_timestamp [08:47:31]File name is /storage/kkm_last_timestamp [08:47:31]Write 4 bytes [08:47:31]NVStorageSaveData done [08:47:31]ExternCall_PrintAddStr [08:47:31]wPrintStart [08:47:31]Write to MH i2c: 01 00 00 9D 07 A4 [08:47:31]Write i2c OK [08:47:31]MH_I2C_Read... [08:47:31]Read from MH i2c: 01 [08:47:31]MH_I2C_Read... [08:47:31]Read from MH i2c: 01 07 00 [08:47:31]MH_I2C_Read... [08:47:31]Read from MH i2c: 01 07 00 9D 07 00 00 00 00 00 FF 0F B9 [08:47:31]RasterBufferAndPrint [08:47:31]line Счет N : (3)58560 [08:47:31]line ИНН: 02508201610067 [08:47:31]line Контрольно-Кассовый Чек [08:47:31]line ПРОДАЖА [08:47:31]line Товар: 47011656 [08:47:31]line Водка Пшеничная стопка 0,07 [08:47:31]line 1.000 * 65.00 [08:47:31]line = 65.00 [08:47:31]line НДС 12% НСП 1% [08:47:31]line > о реализуемом товаре [08:47:31]line ИТОГО: 65.00 [08:47:31]line НСП 1% : 0.57 [08:47:31]line НДС 12% : 6.90 [08:47:31]line Наличными: 65.00 [08:47:31]line Безнал.: 0.00 [08:47:31]line Место: АЗС № 99 "Партнер Нефть" [08:47:31]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [08:47:31]line СНО: Общий режим [08:47:31]line Чек 21 06.03.2024 08:47 [08:47:31]line Смена: 284 ФФД: 1.0 [08:47:31]line ЗНМ: 0300000074 [08:47:31]line РНМ: 0000000000092554 [08:47:31]line Версия ККМ: 001 [08:47:31]line ФМ: 0000000000871783 [08:47:31]line ФД: 32405 [08:47:31]line ФПД: 13964114384095 [08:47:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T084731&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32405&fm=13964114384095&tin=02508201610067®Number=0000000000092554&sum=6500 [08:47:31]line 0 [08:47:31]OFD Sender: Processing packet 32405 [packets to send 5, broken 4] [08:47:31]ProducePacketName [08:47:31]name=ofd_packets/00032405 [08:47:31]OFD Sender: To server: pG, [08:47:31]CommunicateWithHost lk.salyk.kg:30040 [08:47:31]ConnectInit lk.salyk.kg [08:47:31]written 0, free lines is 4095 [08:47:31]Connected sock=11 [08:47:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 30 01 00 00 D6 7E 28 01 28 12 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 2F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 D1 81 D1 82 D0 BE D0 BF D0 BA D0 B0 20 30 2C 30 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 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 A3 2D E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 95 7E 00 00 35 04 06 00 0C B3 46 13 D4 DF CD 0C D8 36 31 F6 5F 44 [08:47:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 94 24 47 00 73 98 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 95 7E 00 00 F4 03 04 00 DC D5 E7 65 B6 04 01 00 00 D1 20 E2 30 FB 39 DE 3D [08:47:32]CommunicateWithHost err = 0 [08:47:32]CheckOFDResponse [08:47:32]1017 (14) - 77093643461234 [08:47:32]1041 (16) - 0000000000871783 [08:47:32]1040 (4) - 32405 [08:47:32]1012 (4) - 06.03.2024 02:33 [08:47:32]1206 (1) - 0 [08:47:32]OFD Sender: Remove packet 32405 [08:47:32]ProducePacketName [08:47:32]name=ofd_packets/00032405 [08:47:32]NVStorageDeleteData [08:47:32]Write to MH i2c: 01 00 00 C5 07 CC [08:47:32]Write i2c OK [08:47:32]MH_I2C_Read... [08:47:32]Read from MH i2c: 01 [08:47:32]MH_I2C_Read... [08:47:32]Read from MH i2c: 01 07 00 [08:47:32]MH_I2C_Read... [08:47:32]Read from MH i2c: 01 07 00 C5 07 00 00 00 00 00 CA 0C A9 [08:47:32]RasterBufferAndPrint [08:47:32]line [08:47:32]line [08:47:32]line [08:47:32]line [08:47:32]line [08:47:32]written 0, free lines is 3279 [08:47:32]MH_Cut [08:47:32]Write to MH i2c: D1 01 00 CC 07 01 A5 [08:47:32]Write i2c OK [08:47:32]MH_I2C_Read... [08:47:32]Read from MH i2c: D1 [08:47:32]MH_I2C_Read... [08:47:32]Read from MH i2c: D1 01 00 [08:47:32]MH_I2C_Read... [08:47:32]Read from MH i2c: D1 01 00 CC 07 00 A4 [08:47:32]Write to MH i2c: 01 00 00 CD 07 D4 [08:47:32]Write i2c OK [08:47:32]MH_I2C_Read... [08:47:32]OFD Sender: No OFD packet to send [08:47:32]*** Cut start [08:47:32]*** Partial cut [08:47:32]*** CUTSNS_PIN = 1 [08:47:33]*** CUTSNS_PIN = 0 [08:47:33]*** Brake cut motor [08:47:33]Read from MH i2c: 01 [08:47:33]MH_I2C_Read... [08:47:33]*** Stop cut motor [08:47:33]*** Cut end [08:47:33]Read from MH i2c: 01 07 00 [08:47:33]MH_I2C_Read... [08:47:33]Read from MH i2c: 01 07 00 CD 07 00 00 00 00 00 FF 0F E9 [08:47:33]process_action close_receipt done [08:47:33]requested_data is exist [08:47:33]produce_requested_data [08:47:33]requested_item fm.sn is exist - process it [08:47:33]wFMCommunicate request_size=4 [08:47:33]MH_SAM_APDU [08:47:33]CAPDU: 80 11 00 00 [08:47:33]Write to MH i2c: E2 08 00 CE 07 80 11 00 00 00 00 00 00 4F [08:47:33]Write i2c OK [08:47:33]MH_I2C_Read... [08:47:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:47:33]Read from MH i2c: E2 [08:47:33]MH_I2C_Read... [08:47:33]Read from MH i2c: E2 17 00 [08:47:33]MH_I2C_Read... [08:47:33]Read from MH i2c: E2 17 00 CE 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 A4 [08:47:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [08:47:33]wFMCommunicate OK [08:47:33]requested_item fd.num is exist - process it [08:47:33]SAM_PROTO_GetFieldsCounters [08:47:33]wFMCommunicate request_size=4 [08:47:33]MH_SAM_APDU [08:47:33]CAPDU: 80 13 00 00 [08:47:33]Write to MH i2c: E2 08 00 CF 07 80 13 00 00 00 00 00 00 52 [08:47:33]Write i2c OK [08:47:33]MH_I2C_Read... [08:47:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:47:33]Read from MH i2c: E2 [08:47:33]MH_I2C_Read... [08:47:33]Read from MH i2c: E2 62 00 [08:47:33]MH_I2C_Read... [08:47:33]Read from MH i2c: E2 62 00 CF 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 95 7E 00 00 0E 04 04 00 1C 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 E4 [08:47:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 95 7E 00 00 0E 04 04 00 1C 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 [08:47:33]wFMCommunicate OK [08:47:33]SAM_PROTO_GetFieldsCounters done [08:47:33]requested_item shift.num is exist - process it [08:47:33]requested_item shift.opened is exist - process it [08:47:33]req_shift_opened [08:47:33]FM_GetShiftState [08:47:33]SAM_PROTO_GetShiftState [08:47:33]wFMCommunicate request_size=4 [08:47:33]MH_SAM_APDU [08:47:33]CAPDU: 80 13 01 00 [08:47:33]Write to MH i2c: E2 08 00 D0 07 80 13 01 00 00 00 00 00 54 [08:47:33]Write i2c OK [08:47:33]MH_I2C_Read... [08:47:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:47:33]Read from MH i2c: E2 [08:47:33]MH_I2C_Read... [08:47:33]Read from MH i2c: E2 0E 00 [08:47:33]MH_I2C_Read... [08:47:33]Read from MH i2c: E2 0E 00 D0 07 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 D1 [08:47:33]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [08:47:33]wFMCommunicate OK [08:47:33]SAM_PROTO_GetShiftState done [08:47:33]FM_GetShiftState done [08:47:33]req_shift_opened done [08:47:33]requested_item shift.open_date is exist - process it [08:47:33]req_shift_open_date [08:47:33]req_shift_open_date done [08:47:33]produce_requested_data done [08:47:33]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32405,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [08:47:33]process_action_free close_receipt [08:47:33]json_value_free [08:47:33]json_value_free done [08:47:33]process_json_proto returns [08:47:33]Send response to host [08:47:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32405,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [08:47:33]free response buf [08:47:33]execute_script done [08:47:33]execute_script returns [08:47:33]free content buf [08:47:33]Sock 9.Close socket [08:47:33]Sock 9.Thread stoped [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:44]accept exits with 8 [08:48:44]New connection [08:48:44]New thread 3067075940 created [08:48:44]Thread 3066932580 joined [08:48:44]Waiting for new connection... [08:48:44] Sock 8.Parse request [08:48:44]Sock 8.Check first char [08:48:44]Sock 8.First char is OK [08:48:44]request: POST /json_proto HTTP/1.0 [08:48:44]Method: POST [08:48:44]URL: /json_proto [08:48:44]Method is POST - this is cgi request [08:48:44]url: /json_proto [08:48:44]query_string will be loaded in cgi processing [08:48:44]execute_cgi json_proto POST (null) [08:48:44]execute_cgi path=json_proto method=POST [08:48:44]POST find Content-Length [08:48:44]Host: 172.17.61.6:8080 [08:48:44]Content-Length: 621 [08:48:44]Content-Type: application/json [08:48:44] [08:48:44]POST finish read [08:48:44]Found Content-Length = 621 [08:48:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58561", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:48:44]execute_script... [08:48: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)58561", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:48:44]POST & json_proto [08:48:44]process_json_proto [08:48:44]json parsed OK: [08:48:44]protocol is kg_v1.0 [08:48:44]action value=close_receipt [08:48:44]process_action close_receipt [08:48:44]cmd_close_receipt [08:48:44]MH_GetDate [08:48:44]Write to MH i2c: F0 00 00 D1 07 C7 [08:48:44]Write i2c OK [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: F0 [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: F0 09 00 [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: F0 09 00 D1 07 00 EE 2D E8 65 78 7F 6F 64 02 [08:48:44]GetLastDocTimeStamp 1709714851 [08:48:44]current date 1709714926 [08:48:44]FM_GetShiftState [08:48:44]SAM_PROTO_GetShiftState [08:48:44]wFMCommunicate request_size=4 [08:48:44]MH_SAM_APDU [08:48:44]CAPDU: 80 13 01 00 [08:48:44]Write to MH i2c: E2 08 00 D2 07 80 13 01 00 00 00 00 00 56 [08:48:44]Write i2c OK [08:48:44]MH_I2C_Read... [08:48:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:48:44]Read from MH i2c: E2 [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: E2 0E 00 [08:48:44]MH_I2C_Read... [08:48:44]Read from MH i2c: E2 0E 00 D2 07 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 D3 [08:48:44]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [08:48:44]wFMCommunicate OK [08:48:44]SAM_PROTO_GetShiftState done [08:48:44]FM_GetShiftState done [08:48:44]opened in 1709684590 [08:48:44]opened+sec_in_day 1709770990 [08:48:44]quantity*price = 14400 [08:48:44]sum+1 = 14401 [08:48:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 22 06.03.2024 08:48 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32406 ФПД: 136552140029482 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T084846&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32406&fm=136552140029482&tin=02508201610067®Number=0000000000092554&sum=14400 0 [08:48:45]StoreToDocumentArchive [08:48:45]shift 284 fd 32406 [08:48:45]save to /storage/0284/doc_00032406 [08:48:45]save last doc name /storage/0284/doc_00032406 to /storage/kkm_last_doc_name [08:48:45]save OK [08:48:45]Clear old archive folders... [08:48:45]ProcessDocumentItem done err = 0, tmpTLVsize=274 [08:48:45]tlvbuf is 0166CBB0 [08:48:45]SAM_PROTO_ClearQueue [08:48:45]wFMCommunicate request_size=4 [08:48:45]MH_SAM_APDU [08:48:45]CAPDU: 80 09 00 00 [08:48:45]Write to MH i2c: E2 08 00 DF 07 80 09 00 00 00 00 00 00 58 [08:48:45]Write i2c OK [08:48:45]MH_I2C_Read... [08:48:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:48:45]Read from MH i2c: E2 [08:48:45]MH_I2C_Read... [08:48:45]Read from MH i2c: E2 03 00 [08:48:45]MH_I2C_Read... [08:48:45]Read from MH i2c: E2 03 00 DF 07 00 90 00 5A [08:48:45]RAPDU: 90 00 [08:48:45]wFMCommunicate OK [08:48:45]SAM_PROTO_ClearQueue done [08:48:45]KKMCreateOFDPacket [08:48:45]OFDProtocolAddRootSTLVToBuf [08:48:45]FM_MakeSignedData [08:48:45]FM_MakeSignedData [08:48:45]SAM_PROTO_SignData [08:48:45]wFMCommunicate request_size=4 [08:48:45]MH_SAM_APDU [08:48:45]CAPDU: 80 0D 01 02 [08:48:45]Write to MH i2c: E2 08 00 E0 07 80 0D 01 02 00 00 00 00 60 [08:48:45]Write i2c OK [08:48:45]MH_I2C_Read... [08:48:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:48:45]Read from MH i2c: E2 [08:48:45]MH_I2C_Read... [08:48:45]Read from MH i2c: E2 03 00 [08:48:45]MH_I2C_Read... [08:48:45]Read from MH i2c: E2 03 00 E0 07 00 90 00 5B [08:48:45]RAPDU: 90 00 [08:48:45]wFMCommunicate OK [08:48:45]wFMCommunicate request_size=255 [08:48:45]MH_SAM_APDU [08:48:45]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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 EE 2D E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 [08:48:45]Write to MH i2c: E2 02 01 E1 07 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 EE 2D E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 00 00 7A [08:48:45]Write i2c OK [08:48:45]MH_I2C_Read... [08:48:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:48:46]Read from MH i2c: E2 [08:48:46]MH_I2C_Read... [08:48:46]Read from MH i2c: E2 03 00 [08:48:46]MH_I2C_Read... [08:48:46]Read from MH i2c: E2 03 00 E1 07 00 90 00 5C [08:48:46]RAPDU: 90 00 [08:48:46]wFMCommunicate OK [08:48:46]wFMCommunicate request_size=33 [08:48:46]MH_SAM_APDU [08:48:46]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 37 38 33 10 04 04 00 96 7E 00 00 35 04 06 00 7C 31 85 CC BE 2A [08:48:46]Write to MH i2c: E2 24 00 E2 07 80 0D 02 02 1C 00 30 30 30 30 38 37 31 37 38 33 10 04 04 00 96 7E 00 00 35 04 06 00 7C 31 85 CC BE 2A 00 00 EE [08:48:46]Write i2c OK [08:48:46]MH_I2C_Read... [08:48:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:48:46]Read from MH i2c: E2 [08:48:46]MH_I2C_Read... [08:48:46]Read from MH i2c: E2 03 00 [08:48:46]MH_I2C_Read... [08:48:46]Read from MH i2c: E2 03 00 E2 07 00 90 00 5D [08:48:46]RAPDU: 90 00 [08:48:46]wFMCommunicate OK [08:48:46]wFMCommunicate request_size=4 [08:48:46]MH_SAM_APDU [08:48:46]CAPDU: 80 0D 03 02 [08:48:46]Write to MH i2c: E2 08 00 E3 07 80 0D 03 02 00 00 00 00 65 [08:48:46]Write i2c OK [08:48:46]MH_I2C_Read... [08:48:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:48:46]Read from MH i2c: E2 [08:48:46]MH_I2C_Read... [08:48:46]Read from MH i2c: E2 0B 00 [08:48:46]MH_I2C_Read... [08:48:46]Read from MH i2c: E2 0B 00 E3 07 00 A4 94 C3 1E A2 C9 68 59 90 00 AB [08:48:46]RAPDU: A4 94 C3 1E A2 C9 68 59 90 00 [08:48:46]wFMCommunicate OK [08:48:46]SAM_PROTO_SignData done [08:48:46]FM_MakeSignedData done [08:48:46]CreateOFDProtocolMessage [08:48:46]wFMCommunicate request_size=4 [08:48:46]MH_SAM_APDU [08:48:46]CAPDU: 80 11 00 00 [08:48:46]Write to MH i2c: E2 08 00 E4 07 80 11 00 00 00 00 00 00 65 [08:48:46]Write i2c OK [08:48:46]MH_I2C_Read... [08:48:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:48:46]Read from MH i2c: E2 [08:48:46]MH_I2C_Read... [08:48:46]Read from MH i2c: E2 17 00 [08:48:46]MH_I2C_Read... [08:48:46]Read from MH i2c: E2 17 00 E4 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 BA [08:48:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [08:48:46]wFMCommunicate OK [08:48:46]CreateOFDProtocolMessage done [08:48:46]OFDSenderStorePacket 32406 [08:48:46]StoreOFDPacket docnum=32406 [08:48:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 26 01 00 00 E2 8E 1E 01 8E B2 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 EE 2D E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 96 7E 00 00 35 04 06 00 7C 31 85 CC BE 2A A4 94 C3 1E A2 C9 68 59 [08:48:46]CheckFolder [08:48:46]dirname=/storage/ofd_packets [08:48:46]CheckFolder done [08:48:46]ProducePacketName [08:48:46]name=ofd_packets/00032406 [08:48:46]NVStorageSaveData ofd_packets/00032406 [08:48:46]File name is /storage/ofd_packets/00032406 [08:48:46]Write 324 bytes [08:48:46]NVStorageSaveData done [08:48:46]OFDSenderStorePacket done [08:48:46]KKMCreateOFDPacket done [08:48:46]NVStorageSaveData kkm_last_timestamp [08:48:46]File name is /storage/kkm_last_timestamp [08:48:46]Write 4 bytes [08:48:46]NVStorageSaveData done [08:48:46]ExternCall_PrintAddStr [08:48:46]wPrintStart [08:48:46]Write to MH i2c: 01 00 00 E5 07 EC [08:48:46]Write i2c OK [08:48:46]MH_I2C_Read... [08:48:46]Read from MH i2c: 01 [08:48:46]MH_I2C_Read... [08:48:46]Read from MH i2c: 01 07 00 [08:48:46]MH_I2C_Read... [08:48:46]Read from MH i2c: 01 07 00 E5 07 00 00 00 00 00 FF 0F 01 [08:48:46]RasterBufferAndPrint [08:48:46]line Счет N : (3)58561 [08:48:46]line ИНН: 02508201610067 [08:48:46]line Контрольно-Кассовый Чек [08:48:46]line ПРОДАЖА [08:48:46]line Товар: 48741958 [08:48:46]line Сигареты Parliament Aqua Blue [08:48:46]line 1.000 * 144.00 [08:48:46]line = 144.00 [08:48:46]line НДС 12% НСП 1% [08:48:46]line > о реализуемом товаре [08:48:46]line ИТОГО: 144.00 [08:48:46]line НСП 1% : 1.27 [08:48:46]line НДС 12% : 15.29 [08:48:46]line Наличными: 144.00 [08:48:46]line Безнал.: 0.00 [08:48:46]line Место: АЗС № 99 "Партнер Нефть" [08:48:46]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [08:48:46]line СНО: Общий режим [08:48:46]line Чек 22 06.03.2024 08:48 [08:48:46]line Смена: 284 ФФД: 1.0 [08:48:46]line ЗНМ: 0300000074 [08:48:46]line РНМ: 0000000000092554 [08:48:46]line Версия ККМ: 001 [08:48:46]line ФМ: 0000000000871783 [08:48:46]line ФД: 32406 [08:48:46]line ФПД: 136552140029482 [08:48:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T084846&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32406&fm=136552140029482&tin=02508201610067®Number=0000000000092554&sum=14400 [08:48:46]line 0 [08:48:46]OFD Sender: Processing packet 32406 [packets to send 5, broken 4] [08:48:46]ProducePacketName [08:48:46]name=ofd_packets/00032406 [08:48:46]OFD Sender: To server: pG, [08:48:46]CommunicateWithHost lk.salyk.kg:30040 [08:48:46]ConnectInit lk.salyk.kg [08:48:46]written 0, free lines is 4095 [08:48:46]Connected sock=10 [08:48:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 26 01 00 00 E2 8E 1E 01 8E B2 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 EE 2D E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 96 7E 00 00 35 04 06 00 7C 31 85 CC BE 2A A4 94 C3 1E A2 C9 68 59 [08:48:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 4D F4 47 00 50 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 38 37 31 37 38 33 10 04 04 00 96 7E 00 00 F4 03 04 00 27 D6 E7 65 B6 04 01 00 00 C4 44 CE 79 8C 34 4A 39 [08:48:47]CommunicateWithHost err = 0 [08:48:47]CheckOFDResponse [08:48:47]1017 (14) - 77093643461234 [08:48:47]1041 (16) - 0000000000871783 [08:48:47]1040 (4) - 32406 [08:48:47]1012 (4) - 06.03.2024 02:34 [08:48:47]1206 (1) - 0 [08:48:47]OFD Sender: Remove packet 32406 [08:48:47]ProducePacketName [08:48:47]name=ofd_packets/00032406 [08:48:47]NVStorageDeleteData [08:48:47]Write to MH i2c: 01 00 00 0E 08 16 [08:48:47]Write i2c OK [08:48:47]MH_I2C_Read... [08:48:47]Read from MH i2c: 01 [08:48:47]MH_I2C_Read... [08:48:47]Read from MH i2c: 01 07 00 [08:48:47]MH_I2C_Read... [08:48:47]Read from MH i2c: 01 07 00 0E 08 00 00 00 00 00 B6 0C DF [08:48:47]RasterBufferAndPrint [08:48:47]line [08:48:47]line [08:48:47]line [08:48:47]line [08:48:47]line [08:48:47]written 0, free lines is 3257 [08:48:47]MH_Cut [08:48:47]Write to MH i2c: D1 01 00 15 08 01 EF [08:48:47]Write i2c OK [08:48:47]MH_I2C_Read... [08:48:47]Read from MH i2c: D1 [08:48:47]MH_I2C_Read... [08:48:47]Read from MH i2c: D1 01 00 [08:48:47]MH_I2C_Read... [08:48:47]Read from MH i2c: D1 01 00 15 08 00 EE [08:48:47]Write to MH i2c: 01 00 00 16 08 1E [08:48:47]Write i2c OK [08:48:47]MH_I2C_Read... [08:48:47]OFD Sender: No OFD packet to send [08:48:48]*** Cut start [08:48:48]*** Partial cut [08:48:48]*** CUTSNS_PIN = 1 [08:48:48]*** CUTSNS_PIN = 0 [08:48:48]*** Brake cut motor [08:48:48]Read from MH i2c: 01 [08:48:48]MH_I2C_Read... [08:48:48]*** Stop cut motor [08:48:48]*** Cut end [08:48:48]Read from MH i2c: 01 07 00 [08:48:48]MH_I2C_Read... [08:48:48]Read from MH i2c: 01 07 00 16 08 00 00 00 00 00 FF 0F 33 [08:48:48]process_action close_receipt done [08:48:48]requested_data is exist [08:48:48]produce_requested_data [08:48:48]requested_item fm.sn is exist - process it [08:48:48]wFMCommunicate request_size=4 [08:48:48]MH_SAM_APDU [08:48:48]CAPDU: 80 11 00 00 [08:48:48]Write to MH i2c: E2 08 00 17 08 80 11 00 00 00 00 00 00 99 [08:48:48]Write i2c OK [08:48:48]MH_I2C_Read... [08:48:48]Read from MH i2c: E2 [08:48:48]MH_I2C_Read... [08:48:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:48:48]Read from MH i2c: E2 17 00 [08:48:48]MH_I2C_Read... [08:48:48]Read from MH i2c: E2 17 00 17 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 EE [08:48:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [08:48:48]wFMCommunicate OK [08:48:48]requested_item fd.num is exist - process it [08:48:48]SAM_PROTO_GetFieldsCounters [08:48:48]wFMCommunicate request_size=4 [08:48:48]MH_SAM_APDU [08:48:48]CAPDU: 80 13 00 00 [08:48:48]Write to MH i2c: E2 08 00 18 08 80 13 00 00 00 00 00 00 9C [08:48:48]Write i2c OK [08:48:48]MH_I2C_Read... [08:48:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:48:48]Read from MH i2c: E2 [08:48:48]MH_I2C_Read... [08:48:48]Read from MH i2c: E2 62 00 [08:48:48]MH_I2C_Read... [08:48:48]Read from MH i2c: E2 62 00 18 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 96 7E 00 00 0E 04 04 00 1C 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 32 [08:48:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 96 7E 00 00 0E 04 04 00 1C 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 [08:48:48]wFMCommunicate OK [08:48:48]SAM_PROTO_GetFieldsCounters done [08:48:48]requested_item shift.num is exist - process it [08:48:48]requested_item shift.opened is exist - process it [08:48:48]req_shift_opened [08:48:48]FM_GetShiftState [08:48:48]SAM_PROTO_GetShiftState [08:48:48]wFMCommunicate request_size=4 [08:48:48]MH_SAM_APDU [08:48:48]CAPDU: 80 13 01 00 [08:48:48]Write to MH i2c: E2 08 00 19 08 80 13 01 00 00 00 00 00 9E [08:48:48]Write i2c OK [08:48:48]MH_I2C_Read... [08:48:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:48:48]Read from MH i2c: E2 [08:48:48]MH_I2C_Read... [08:48:48]Read from MH i2c: E2 0E 00 [08:48:48]MH_I2C_Read... [08:48:48]Read from MH i2c: E2 0E 00 19 08 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 1B [08:48:48]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [08:48:48]wFMCommunicate OK [08:48:48]SAM_PROTO_GetShiftState done [08:48:48]FM_GetShiftState done [08:48:48]req_shift_opened done [08:48:48]requested_item shift.open_date is exist - process it [08:48:48]req_shift_open_date [08:48:48]req_shift_open_date done [08:48:48]produce_requested_data done [08:48:48]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32406,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [08:48:48]process_action_free close_receipt [08:48:48]json_value_free [08:48:48]json_value_free done [08:48:48]process_json_proto returns [08:48:48]Send response to host [08:48:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32406,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [08:48:48]free response buf [08:48:48]execute_script done [08:48:48]execute_script returns [08:48:48]free content buf [08:48:48]Sock 8.Close socket [08:48:48]Sock 8.Thread stoped [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:52]OFD Sender: No OFD packet to send [08:53:57]OFD Sender: No OFD packet to send [08:54:02]OFD Sender: No OFD packet to send [08:54:07]OFD Sender: No OFD packet to send [08:54:12]OFD Sender: No OFD packet to send [08:54:17]OFD Sender: No OFD packet to send [08:54:22]OFD Sender: No OFD packet to send [08:54:27]OFD Sender: No OFD packet to send [08:54:32]OFD Sender: No OFD packet to send [08:54:37]OFD Sender: No OFD packet to send [08:54:42]OFD Sender: No OFD packet to send [08:54:47]OFD Sender: No OFD packet to send [08:54:52]OFD Sender: No OFD packet to send [08:54:57]OFD Sender: No OFD packet to send [08:55:02]OFD Sender: No OFD packet to send [08:55:07]OFD Sender: No OFD packet to send [08:55:12]OFD Sender: No OFD packet to send [08:55:17]OFD Sender: No OFD packet to send [08:55:22]OFD Sender: No OFD packet to send [08:55:27]OFD Sender: No OFD packet to send [08:55:32]OFD Sender: No OFD packet to send [08:55:37]OFD Sender: No OFD packet to send [08:55:42]OFD Sender: No OFD packet to send [08:55:47]OFD Sender: No OFD packet to send [08:55:52]OFD Sender: No OFD packet to send [08:55:57]OFD Sender: No OFD packet to send [08:56:02]OFD Sender: No OFD packet to send [08:56:07]OFD Sender: No OFD packet to send [08:56:12]OFD Sender: No OFD packet to send [08:56:17]OFD Sender: No OFD packet to send [08:56:22]OFD Sender: No OFD packet to send [08:56:27]OFD Sender: No OFD packet to send [08:56:32]OFD Sender: No OFD packet to send [08:56:37]OFD Sender: No OFD packet to send [08:56:42]OFD Sender: No OFD packet to send [08:56:47]OFD Sender: No OFD packet to send [08:56:52]OFD Sender: No OFD packet to send [08:56:57]OFD Sender: No OFD packet to send [08:57:02]OFD Sender: No OFD packet to send [08:57:07]OFD Sender: No OFD packet to send [08:57:12]OFD Sender: No OFD packet to send [08:57:17]OFD Sender: No OFD packet to send [08:57:22]OFD Sender: No OFD packet to send [08:57:27]OFD Sender: No OFD packet to send [08:57:32]OFD Sender: No OFD packet to send [08:57:37]OFD Sender: No OFD packet to send [08:57:42]OFD Sender: No OFD packet to send [08:57:47]OFD Sender: No OFD packet to send [08:57:52]OFD Sender: No OFD packet to send [08:57:57]OFD Sender: No OFD packet to send [08:58:02]OFD Sender: No OFD packet to send [08:58:07]OFD Sender: No OFD packet to send [08:58:12]OFD Sender: No OFD packet to send [08:58:17]OFD Sender: No OFD packet to send [08:58:22]OFD Sender: No OFD packet to send [08:58:27]OFD Sender: No OFD packet to send [08:58:32]OFD Sender: No OFD packet to send [08:58:37]OFD Sender: No OFD packet to send [08:58:42]OFD Sender: No OFD packet to send [08:58:47]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:29]accept exits with 9 [09:10:29]New connection [09:10:29]New thread 3066932580 created [09:10:29]Thread 3067075940 joined [09:10:29]Waiting for new connection... [09:10:29] Sock 9.Parse request [09:10:29]Sock 9.Check first char [09:10:29]Sock 9.First char is OK [09:10:29]request: POST /json_proto HTTP/1.0 [09:10:29]Method: POST [09:10:29]URL: /json_proto [09:10:29]Method is POST - this is cgi request [09:10:29]url: /json_proto [09:10:29]query_string will be loaded in cgi processing [09:10:29]execute_cgi json_proto POST (null) [09:10:29]execute_cgi path=json_proto method=POST [09:10:29]POST find Content-Length [09:10:29]Host: 172.17.61.6:8080 [09:10:29]Content-Length: 712 [09:10:29]Content-Type: application/json [09:10:29] [09:10:29]POST finish read [09:10:29]Found Content-Length = 712 [09:10:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58562", "tax_sys" : 0, "items" : [ { "code": "4870001571023", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:10:29]execute_script... [09:10: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)58562", "tax_sys" : 0, "items" : [ { "code": "4870001571023", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:10:29]POST & json_proto [09:10:29]process_json_proto [09:10:29]json parsed OK: [09:10:29]protocol is kg_v1.0 [09:10:29]action value=close_receipt [09:10:29]process_action close_receipt [09:10:29]cmd_close_receipt [09:10:29]MH_GetDate [09:10:29]Write to MH i2c: F0 00 00 1A 08 11 [09:10:29]Write i2c OK [09:10:29]MH_I2C_Read... [09:10:29]Read from MH i2c: F0 [09:10:29]MH_I2C_Read... [09:10:29]Read from MH i2c: F0 09 00 [09:10:29]MH_I2C_Read... [09:10:29]Read from MH i2c: F0 09 00 1A 08 00 07 33 E8 65 78 7F 6F 64 6B [09:10:29]GetLastDocTimeStamp 1709714926 [09:10:29]current date 1709716231 [09:10:29]FM_GetShiftState [09:10:29]SAM_PROTO_GetShiftState [09:10:29]wFMCommunicate request_size=4 [09:10:29]MH_SAM_APDU [09:10:29]CAPDU: 80 13 01 00 [09:10:29]Write to MH i2c: E2 08 00 1B 08 80 13 01 00 00 00 00 00 A0 [09:10:29]Write i2c OK [09:10:29]MH_I2C_Read... [09:10:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:10:29]Read from MH i2c: E2 [09:10:29]MH_I2C_Read... [09:10:29]Read from MH i2c: E2 0E 00 [09:10:29]MH_I2C_Read... [09:10:29]Read from MH i2c: E2 0E 00 1B 08 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 1D [09:10:29]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [09:10:29]wFMCommunicate OK [09:10:29]SAM_PROTO_GetShiftState done [09:10:29]FM_GetShiftState done [09:10:29]opened in 1709684590 [09:10:29]opened+sec_in_day 1709770990 [09:10:29]quantity*price = 6500 [09:10:29]sum+1 = 6501 [09:10:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 23 06.03.2024 09:10 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32407 ФПД: 123628745331534 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T091031&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32407&fm=123628745331534&tin=02508201610067®Number=0000000000092554&sum=6500 0 [09:10:30]StoreToDocumentArchive [09:10:30]shift 284 fd 32407 [09:10:30]save to /storage/0284/doc_00032407 [09:10:30]save last doc name /storage/0284/doc_00032407 to /storage/kkm_last_doc_name [09:10:30]save OK [09:10:30]Clear old archive folders... [09:10:30]ProcessDocumentItem done err = 0, tmpTLVsize=304 [09:10:30]tlvbuf is 0166C930 [09:10:30]SAM_PROTO_ClearQueue [09:10:30]wFMCommunicate request_size=4 [09:10:30]MH_SAM_APDU [09:10:30]CAPDU: 80 09 00 00 [09:10:30]Write to MH i2c: E2 08 00 28 08 80 09 00 00 00 00 00 00 A2 [09:10:30]Write i2c OK [09:10:30]MH_I2C_Read... [09:10:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:10:30]Read from MH i2c: E2 [09:10:30]MH_I2C_Read... [09:10:30]Read from MH i2c: E2 03 00 [09:10:30]MH_I2C_Read... [09:10:30]Read from MH i2c: E2 03 00 28 08 00 90 00 A4 [09:10:30]RAPDU: 90 00 [09:10:30]wFMCommunicate OK [09:10:30]SAM_PROTO_ClearQueue done [09:10:30]KKMCreateOFDPacket [09:10:30]OFDProtocolAddRootSTLVToBuf [09:10:30]FM_MakeSignedData [09:10:30]FM_MakeSignedData [09:10:30]SAM_PROTO_SignData [09:10:30]wFMCommunicate request_size=4 [09:10:30]MH_SAM_APDU [09:10:30]CAPDU: 80 0D 01 02 [09:10:30]Write to MH i2c: E2 08 00 29 08 80 0D 01 02 00 00 00 00 AA [09:10:30]Write i2c OK [09:10:30]MH_I2C_Read... [09:10:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:10:30]Read from MH i2c: E2 [09:10:30]MH_I2C_Read... [09:10:30]Read from MH i2c: E2 03 00 [09:10:30]MH_I2C_Read... [09:10:30]Read from MH i2c: E2 03 00 29 08 00 90 00 A5 [09:10:30]RAPDU: 90 00 [09:10:30]wFMCommunicate OK [09:10:30]wFMCommunicate request_size=255 [09:10:30]MH_SAM_APDU [09:10:30]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 32 33 06 04 3E 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 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 07 33 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 [09:10:30]Write to MH i2c: E2 02 01 2A 08 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 32 33 06 04 3E 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 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 07 33 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 00 00 B2 [09:10:30]Write i2c OK [09:10:30]MH_I2C_Read... [09:10:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:10:31]Read from MH i2c: E2 [09:10:31]MH_I2C_Read... [09:10:31]Read from MH i2c: E2 03 00 [09:10:31]MH_I2C_Read... [09:10:31]Read from MH i2c: E2 03 00 2A 08 00 90 00 A6 [09:10:31]RAPDU: 90 00 [09:10:31]wFMCommunicate OK [09:10:31]wFMCommunicate request_size=63 [09:10:31]MH_SAM_APDU [09:10:31]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 97 7E 00 00 35 04 06 00 70 70 8F 73 13 4E [09:10:31]Write to MH i2c: E2 42 00 2B 08 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 97 7E 00 00 35 04 06 00 70 70 8F 73 13 4E 00 00 51 [09:10:31]Write i2c OK [09:10:31]MH_I2C_Read... [09:10:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:10:31]Read from MH i2c: E2 [09:10:31]MH_I2C_Read... [09:10:31]Read from MH i2c: E2 03 00 [09:10:31]MH_I2C_Read... [09:10:31]Read from MH i2c: E2 03 00 2B 08 00 90 00 A7 [09:10:31]RAPDU: 90 00 [09:10:31]wFMCommunicate OK [09:10:31]wFMCommunicate request_size=4 [09:10:31]MH_SAM_APDU [09:10:31]CAPDU: 80 0D 03 02 [09:10:31]Write to MH i2c: E2 08 00 2C 08 80 0D 03 02 00 00 00 00 AF [09:10:31]Write i2c OK [09:10:31]MH_I2C_Read... [09:10:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:10:31]Read from MH i2c: E2 [09:10:31]MH_I2C_Read... [09:10:31]Read from MH i2c: E2 0B 00 [09:10:31]MH_I2C_Read... [09:10:31]Read from MH i2c: E2 0B 00 2C 08 00 99 A6 21 A4 88 FB C7 33 90 00 31 [09:10:31]RAPDU: 99 A6 21 A4 88 FB C7 33 90 00 [09:10:31]wFMCommunicate OK [09:10:31]SAM_PROTO_SignData done [09:10:31]FM_MakeSignedData done [09:10:31]CreateOFDProtocolMessage [09:10:31]wFMCommunicate request_size=4 [09:10:31]MH_SAM_APDU [09:10:31]CAPDU: 80 11 00 00 [09:10:31]Write to MH i2c: E2 08 00 2D 08 80 11 00 00 00 00 00 00 AF [09:10:31]Write i2c OK [09:10:31]MH_I2C_Read... [09:10:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:10:31]Read from MH i2c: E2 [09:10:31]MH_I2C_Read... [09:10:31]Read from MH i2c: E2 17 00 [09:10:31]MH_I2C_Read... [09:10:31]Read from MH i2c: E2 17 00 2D 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 04 [09:10:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [09:10:31]wFMCommunicate OK [09:10:31]CreateOFDProtocolMessage done [09:10:31]OFDSenderStorePacket 32407 [09:10:31]StoreOFDPacket docnum=32407 [09:10:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 44 01 00 00 16 1D 3C 01 41 67 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 32 33 06 04 3E 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 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 07 33 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 97 7E 00 00 35 04 06 00 70 70 8F 73 13 4E 99 A6 21 A4 88 FB C7 33 [09:10:31]CheckFolder [09:10:31]dirname=/storage/ofd_packets [09:10:31]CheckFolder done [09:10:31]ProducePacketName [09:10:31]name=ofd_packets/00032407 [09:10:31]NVStorageSaveData ofd_packets/00032407 [09:10:31]File name is /storage/ofd_packets/00032407 [09:10:31]Write 354 bytes [09:10:31]NVStorageSaveData done [09:10:31]OFDSenderStorePacket done [09:10:31]KKMCreateOFDPacket done [09:10:31]NVStorageSaveData kkm_last_timestamp [09:10:31]File name is /storage/kkm_last_timestamp [09:10:31]Write 4 bytes [09:10:31]NVStorageSaveData done [09:10:31]ExternCall_PrintAddStr [09:10:31]wPrintStart [09:10:31]Write to MH i2c: 01 00 00 2E 08 36 [09:10:31]Write i2c OK [09:10:31]MH_I2C_Read... [09:10:31]Read from MH i2c: 01 [09:10:31]MH_I2C_Read... [09:10:31]Read from MH i2c: 01 07 00 [09:10:31]MH_I2C_Read... [09:10:31]Read from MH i2c: 01 07 00 2E 08 00 00 00 00 00 FF 0F 4B [09:10:31]RasterBufferAndPrint [09:10:31]line Счет N : (3)58562 [09:10:31]line ИНН: 02508201610067 [09:10:31]line Контрольно-Кассовый Чек [09:10:31]line ПРОДАЖА [09:10:31]line Товар: 4870001571023 [09:10:31]line Вода ASU пит н.газ клубн,киви ПЭТ 0,5л [09:10:31]line 1.000 * 65.00 [09:10:31]line = 65.00 [09:10:31]line НДС 12% НСП 1% [09:10:31]line > о реализуемом товаре [09:10:31]line ИТОГО: 65.00 [09:10:31]line НСП 1% : 0.57 [09:10:31]line НДС 12% : 6.90 [09:10:31]line Наличными: 65.00 [09:10:31]line Безнал.: 0.00 [09:10:31]line Место: АЗС № 99 "Партнер Нефть" [09:10:31]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [09:10:31]line СНО: Общий режим [09:10:31]line Чек 23 06.03.2024 09:10 [09:10:31]line Смена: 284 ФФД: 1.0 [09:10:31]line ЗНМ: 0300000074 [09:10:31]line РНМ: 0000000000092554 [09:10:31]line Версия ККМ: 001 [09:10:31]line ФМ: 0000000000871783 [09:10:31]line ФД: 32407 [09:10:31]line ФПД: 123628745331534 [09:10:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T091031&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32407&fm=123628745331534&tin=02508201610067®Number=0000000000092554&sum=6500 [09:10:31]line 0 [09:10:31]OFD Sender: Processing packet 32407 [packets to send 5, broken 4] [09:10:31]ProducePacketName [09:10:31]name=ofd_packets/00032407 [09:10:31]OFD Sender: To server: pG, [09:10:31]CommunicateWithHost lk.salyk.kg:30040 [09:10:31]ConnectInit lk.salyk.kg [09:10:31]written 0, free lines is 4095 [09:10:31]Connected sock=10 [09:10:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 44 01 00 00 16 1D 3C 01 41 67 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 32 33 06 04 3E 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 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 07 33 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 97 7E 00 00 35 04 06 00 70 70 8F 73 13 4E 99 A6 21 A4 88 FB C7 33 [09:10:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 F3 FB 47 00 FB 5C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 97 7E 00 00 F4 03 04 00 40 DB E7 65 B6 04 01 00 00 CB 48 C9 33 56 EF 9F 69 [09:10:31]CommunicateWithHost err = 0 [09:10:31]CheckOFDResponse [09:10:31]1017 (14) - 77093643461234 [09:10:31]1041 (16) - 0000000000871783 [09:10:31]1040 (4) - 32407 [09:10:31]1012 (4) - 06.03.2024 02:56 [09:10:31]1206 (1) - 0 [09:10:31]OFD Sender: Remove packet 32407 [09:10:31]ProducePacketName [09:10:31]name=ofd_packets/00032407 [09:10:31]NVStorageDeleteData [09:10:31]Write to MH i2c: 01 00 00 57 08 5F [09:10:31]Write i2c OK [09:10:31]MH_I2C_Read... [09:10:31]Read from MH i2c: 01 [09:10:31]MH_I2C_Read... [09:10:31]Read from MH i2c: 01 07 00 [09:10:31]MH_I2C_Read... [09:10:31]Read from MH i2c: 01 07 00 57 08 00 00 00 00 00 BC 0C 2E [09:10:31]RasterBufferAndPrint [09:10:31]line [09:10:31]line [09:10:31]line [09:10:31]line [09:10:31]line [09:10:31]written 0, free lines is 3266 [09:10:31]MH_Cut [09:10:31]Write to MH i2c: D1 01 00 5E 08 01 38 [09:10:31]Write i2c OK [09:10:31]MH_I2C_Read... [09:10:31]Read from MH i2c: D1 [09:10:31]MH_I2C_Read... [09:10:31]Read from MH i2c: D1 01 00 [09:10:31]MH_I2C_Read... [09:10:31]Read from MH i2c: D1 01 00 5E 08 00 37 [09:10:31]Write to MH i2c: 01 00 00 5F 08 67 [09:10:31]Write i2c OK [09:10:31]MH_I2C_Read... [09:10:32]OFD Sender: No OFD packet to send [09:10:32]*** Cut start [09:10:32]*** Partial cut [09:10:32]*** CUTSNS_PIN = 1 [09:10:32]*** CUTSNS_PIN = 0 [09:10:33]*** Brake cut motor [09:10:33]Read from MH i2c: 01 [09:10:33]MH_I2C_Read... [09:10:33]*** Stop cut motor [09:10:33]*** Cut end [09:10:33]Read from MH i2c: 01 07 00 [09:10:33]MH_I2C_Read... [09:10:33]Read from MH i2c: 01 07 00 5F 08 00 00 00 00 00 FF 0F 7C [09:10:33]process_action close_receipt done [09:10:33]requested_data is exist [09:10:33]produce_requested_data [09:10:33]requested_item fm.sn is exist - process it [09:10:33]wFMCommunicate request_size=4 [09:10:33]MH_SAM_APDU [09:10:33]CAPDU: 80 11 00 00 [09:10:33]Write to MH i2c: E2 08 00 60 08 80 11 00 00 00 00 00 00 E2 [09:10:33]Write i2c OK [09:10:33]MH_I2C_Read... [09:10:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:10:33]Read from MH i2c: E2 [09:10:33]MH_I2C_Read... [09:10:33]Read from MH i2c: E2 17 00 [09:10:33]MH_I2C_Read... [09:10:33]Read from MH i2c: E2 17 00 60 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 37 [09:10:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [09:10:33]wFMCommunicate OK [09:10:33]requested_item fd.num is exist - process it [09:10:33]SAM_PROTO_GetFieldsCounters [09:10:33]wFMCommunicate request_size=4 [09:10:33]MH_SAM_APDU [09:10:33]CAPDU: 80 13 00 00 [09:10:33]Write to MH i2c: E2 08 00 61 08 80 13 00 00 00 00 00 00 E5 [09:10:33]Write i2c OK [09:10:33]MH_I2C_Read... [09:10:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:10:33]Read from MH i2c: E2 [09:10:33]MH_I2C_Read... [09:10:33]Read from MH i2c: E2 62 00 [09:10:33]MH_I2C_Read... [09:10:33]Read from MH i2c: E2 62 00 61 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 97 7E 00 00 0E 04 04 00 1C 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 7F [09:10:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 97 7E 00 00 0E 04 04 00 1C 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:10:33]wFMCommunicate OK [09:10:33]SAM_PROTO_GetFieldsCounters done [09:10:33]requested_item shift.num is exist - process it [09:10:33]requested_item shift.opened is exist - process it [09:10:33]req_shift_opened [09:10:33]FM_GetShiftState [09:10:33]SAM_PROTO_GetShiftState [09:10:33]wFMCommunicate request_size=4 [09:10:33]MH_SAM_APDU [09:10:33]CAPDU: 80 13 01 00 [09:10:33]Write to MH i2c: E2 08 00 62 08 80 13 01 00 00 00 00 00 E7 [09:10:33]Write i2c OK [09:10:33]MH_I2C_Read... [09:10:33]Read from MH i2c: E2 [09:10:33]MH_I2C_Read... [09:10:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:10:33]Read from MH i2c: E2 0E 00 [09:10:33]MH_I2C_Read... [09:10:33]Read from MH i2c: E2 0E 00 62 08 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 64 [09:10:33]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [09:10:33]wFMCommunicate OK [09:10:33]SAM_PROTO_GetShiftState done [09:10:33]FM_GetShiftState done [09:10:33]req_shift_opened done [09:10:33]requested_item shift.open_date is exist - process it [09:10:33]req_shift_open_date [09:10:33]req_shift_open_date done [09:10:33]produce_requested_data done [09:10:33]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32407,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [09:10:33]process_action_free close_receipt [09:10:33]json_value_free [09:10:33]json_value_free done [09:10:33]process_json_proto returns [09:10:33]Send response to host [09:10:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32407,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [09:10:33]free response buf [09:10:33]execute_script done [09:10:33]execute_script returns [09:10:33]free content buf [09:10:33]Sock 9.Close socket [09:10:33]Sock 9.Thread stoped [09:10:37]OFD Sender: No OFD packet to send [09:10:42]OFD Sender: No OFD packet to send [09:10:47]OFD Sender: No OFD packet to send [09:10:52]OFD Sender: No OFD packet to send [09:10:57]OFD Sender: No OFD packet to send [09:11:02]OFD Sender: No OFD packet to send [09:11:07]OFD Sender: No OFD packet to send [09:11:12]OFD Sender: No OFD packet to send [09:11:17]OFD Sender: No OFD packet to send [09:11:22]OFD Sender: No OFD packet to send [09:11:27]OFD Sender: No OFD packet to send [09:11:32]OFD Sender: No OFD packet to send [09:11:37]OFD Sender: No OFD packet to send [09:11:42]OFD Sender: No OFD packet to send [09:11:47]OFD Sender: No OFD packet to send [09:11:52]OFD Sender: No OFD packet to send [09:11:57]OFD Sender: No OFD packet to send [09:12:02]OFD Sender: No OFD packet to send [09:12:07]OFD Sender: No OFD packet to send [09:12:12]OFD Sender: No OFD packet to send [09:12:17]OFD Sender: No OFD packet to send [09:12:22]OFD Sender: No OFD packet to send [09:12:27]OFD Sender: No OFD packet to send [09:12:32]OFD Sender: No OFD packet to send [09:12:37]OFD Sender: No OFD packet to send [09:12:42]OFD Sender: No OFD packet to send [09:12:47]OFD Sender: No OFD packet to send [09:12:52]OFD Sender: No OFD packet to send [09:12:57]OFD Sender: No OFD packet to send [09:13:02]OFD Sender: No OFD packet to send [09:13:07]OFD Sender: No OFD packet to send [09:13:12]OFD Sender: No OFD packet to send [09:13:17]OFD Sender: No OFD packet to send [09:13:22]OFD Sender: No OFD packet to send [09:13:27]OFD Sender: No OFD packet to send [09:13:32]OFD Sender: No OFD packet to send [09:13:37]OFD Sender: No OFD packet to send [09:13:42]OFD Sender: No OFD packet to send [09:13:47]OFD Sender: No OFD packet to send [09:13:52]OFD Sender: No OFD packet to send [09:13:57]OFD Sender: No OFD packet to send [09:14:02]OFD Sender: No OFD packet to send [09:14:07]OFD Sender: No OFD packet to send [09:14:12]OFD Sender: No OFD packet to send [09:14:17]OFD Sender: No OFD packet to send [09:14:22]OFD Sender: No OFD packet to send [09:14:27]OFD Sender: No OFD packet to send [09:14:32]OFD Sender: No OFD packet to send [09:14:37]OFD Sender: No OFD packet to send [09:14:42]OFD Sender: No OFD packet to send [09:14:47]OFD Sender: No OFD packet to send [09:14:52]OFD Sender: No OFD packet to send [09:14:57]OFD Sender: No OFD packet to send [09:15:02]OFD Sender: No OFD packet to send [09:15:07]OFD Sender: No OFD packet to send [09:15:12]OFD Sender: No OFD packet to send [09:15:17]OFD Sender: No OFD packet to send [09:15:22]OFD Sender: No OFD packet to send [09:15:27]OFD Sender: No OFD packet to send [09:15:32]OFD Sender: No OFD packet to send [09:15:37]OFD Sender: No OFD packet to send [09:15:42]OFD Sender: No OFD packet to send [09:15:47]OFD Sender: No OFD packet to send [09:15:52]OFD Sender: No OFD packet to send [09:15:57]OFD Sender: No OFD packet to send [09:16:02]OFD Sender: No OFD packet to send [09:16:07]OFD Sender: No OFD packet to send [09:16:17]OFD Sender: No OFD packet to send [09:16:20]ConnectInit Can't connect to host [09:16:22]OFD Sender: No OFD packet to send [09:16:24]accept exits with 8 [09:16:24]New connection [09:16:24]New thread 3067075940 created [09:16:24]Thread 3066932580 joined [09:16:24]Waiting for new connection... [09:16:24] Sock 8.Parse request [09:16:24]Sock 8.Check first char [09:16:24]Sock 8.First char is OK [09:16:24]request: POST /json_proto HTTP/1.0 [09:16:24]Method: POST [09:16:24]URL: /json_proto [09:16:24]Method is POST - this is cgi request [09:16:24]url: /json_proto [09:16:24]query_string will be loaded in cgi processing [09:16:24]execute_cgi json_proto POST (null) [09:16:24]execute_cgi path=json_proto method=POST [09:16:24]POST find Content-Length [09:16:24]Host: 172.17.61.6:8080 [09:16:24]Content-Length: 1012 [09:16:24]Content-Type: application/json [09:16:24] [09:16:24]POST finish read [09:16:24]Found Content-Length = 1012 [09:16:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58563", "tax_sys" : 0, "items" : [ { "code": "4700001060879", "name": "\u041D\u0430\u0441\u0442\u043E\u0439\u043A\u0430 \u0428\u043E\u043A\u043E\u043B\u0430\u0434 \u043D\u0430 \u043A\u043E\u043D\u044C\u044F\u043A\u0435 0,2\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100091993", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u041C\u0438\u043B\u043A\u0438 \u0412\u0435\u0439 26\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" : 235.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:16:24]execute_script... [09:16: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)58563", "tax_sys" : 0, "items" : [ { "code": "4700001060879", "name": "\u041D\u0430\u0441\u0442\u043E\u0439\u043A\u0430 \u0428\u043E\u043A\u043E\u043B\u0430\u0434 \u043D\u0430 \u043A\u043E\u043D\u044C\u044F\u043A\u0435 0,2\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100091993", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u041C\u0438\u043B\u043A\u0438 \u0412\u0435\u0439 26\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" : 235.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:16:24]POST & json_proto [09:16:24]process_json_proto [09:16:24]json parsed OK: [09:16:24]protocol is kg_v1.0 [09:16:24]action value=close_receipt [09:16:24]process_action close_receipt [09:16:24]cmd_close_receipt [09:16:24]MH_GetDate [09:16:24]Write to MH i2c: F0 00 00 63 08 5A [09:16:24]Write i2c OK [09:16:24]MH_I2C_Read... [09:16:24]Read from MH i2c: F0 [09:16:24]MH_I2C_Read... [09:16:24]Read from MH i2c: F0 09 00 [09:16:24]MH_I2C_Read... [09:16:24]Read from MH i2c: F0 09 00 63 08 00 6B 34 E8 65 78 7F 6F 64 19 [09:16:24]GetLastDocTimeStamp 1709716231 [09:16:24]current date 1709716587 [09:16:24]FM_GetShiftState [09:16:24]SAM_PROTO_GetShiftState [09:16:24]wFMCommunicate request_size=4 [09:16:24]MH_SAM_APDU [09:16:24]CAPDU: 80 13 01 00 [09:16:24]Write to MH i2c: E2 08 00 64 08 80 13 01 00 00 00 00 00 E9 [09:16:24]Write i2c OK [09:16:24]MH_I2C_Read... [09:16:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:16:24]Read from MH i2c: E2 [09:16:24]MH_I2C_Read... [09:16:24]Read from MH i2c: E2 0E 00 [09:16:24]MH_I2C_Read... [09:16:24]Read from MH i2c: E2 0E 00 64 08 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 66 [09:16:24]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [09:16:24]wFMCommunicate OK [09:16:24]SAM_PROTO_GetShiftState done [09:16:24]FM_GetShiftState done [09:16:24]opened in 1709684590 [09:16:24]opened+sec_in_day 1709770990 [09:16:24]quantity*price = 20000 [09:16:24]sum+1 = 20001 [09:16:24]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4011100091993 Шок Батончик Милки Вей 26г 1.000 * 35.00 = 35.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 235.00 НСП 1% : 2.08 НДС 12% : 24.96 Наличными: 235.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 24 06.03.2024 09:16 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32408 ФПД: 14098515456528 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T091627&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32408&fm=14098515456528&tin=02508201610067®Number=0000000000092554&sum=23500 0 [09:16:26]StoreToDocumentArchive [09:16:26]shift 284 fd 32408 [09:16:26]save to /storage/0284/doc_00032408 [09:16:26]save last doc name /storage/0284/doc_00032408 to /storage/kkm_last_doc_name [09:16:26]save OK [09:16:26]Clear old archive folders... [09:16:26]ProcessDocumentItem done err = 0, tmpTLVsize=417 [09:16:26]tlvbuf is 01654580 [09:16:26]SAM_PROTO_ClearQueue [09:16:26]wFMCommunicate request_size=4 [09:16:26]MH_SAM_APDU [09:16:26]CAPDU: 80 09 00 00 [09:16:26]Write to MH i2c: E2 08 00 71 08 80 09 00 00 00 00 00 00 EB [09:16:26]Write i2c OK [09:16:26]MH_I2C_Read... [09:16:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:16:26]Read from MH i2c: E2 [09:16:26]MH_I2C_Read... [09:16:26]Read from MH i2c: E2 03 00 [09:16:26]MH_I2C_Read... [09:16:26]Read from MH i2c: E2 03 00 71 08 00 90 00 ED [09:16:26]RAPDU: 90 00 [09:16:26]wFMCommunicate OK [09:16:26]SAM_PROTO_ClearQueue done [09:16:26]KKMCreateOFDPacket [09:16:26]OFDProtocolAddRootSTLVToBuf [09:16:26]FM_MakeSignedData [09:16:26]FM_MakeSignedData [09:16:26]SAM_PROTO_SignData [09:16:26]wFMCommunicate request_size=4 [09:16:26]MH_SAM_APDU [09:16:26]CAPDU: 80 0D 01 02 [09:16:26]Write to MH i2c: E2 08 00 72 08 80 0D 01 02 00 00 00 00 F3 [09:16:26]Write i2c OK [09:16:26]MH_I2C_Read... [09:16:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:16:26]Read from MH i2c: E2 [09:16:26]MH_I2C_Read... [09:16:26]Read from MH i2c: E2 03 00 [09:16:26]MH_I2C_Read... [09:16:26]Read from MH i2c: E2 03 00 72 08 00 90 00 EE [09:16:26]RAPDU: 90 00 [09:16:26]wFMCommunicate OK [09:16:26]wFMCommunicate request_size=255 [09:16:26]MH_SAM_APDU [09:16:26]CAPDU: 80 0D 02 02 FA 03 00 A1 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 38 37 39 06 04 39 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 39 39 33 06 04 2E 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 9C D0 B8 D0 BB D0 BA D0 B8 20 D0 92 D0 B5 D0 B9 20 32 36 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 [09:16:26]Write to MH i2c: E2 02 01 73 08 80 0D 02 02 FA 00 03 00 A1 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 38 37 39 06 04 39 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 39 39 33 06 04 2E 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 9C D0 B8 D0 BB D0 BA D0 B8 20 D0 92 D0 B5 D0 B9 20 32 36 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 00 00 9C [09:16:26]Write i2c OK [09:16:26]MH_I2C_Read... [09:16:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:16:26]Read from MH i2c: E2 [09:16:26]MH_I2C_Read... [09:16:26]Read from MH i2c: E2 03 00 [09:16:26]MH_I2C_Read... [09:16:26]Read from MH i2c: E2 03 00 73 08 00 90 00 EF [09:16:26]RAPDU: 90 00 [09:16:26]wFMCommunicate OK [09:16:26]wFMCommunicate request_size=176 [09:16:26]MH_SAM_APDU [09:16:26]CAPDU: 80 0D 02 02 AB 01 BC 04 01 00 01 FC 03 06 00 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 09 00 00 00 00 07 04 06 00 CC 5B 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 6B 34 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 98 7E 00 00 35 04 06 00 0C D2 91 01 72 10 [09:16:26]Write to MH i2c: E2 B3 00 74 08 80 0D 02 02 AB 00 01 BC 04 01 00 01 FC 03 06 00 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 09 00 00 00 00 07 04 06 00 CC 5B 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 6B 34 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 98 7E 00 00 35 04 06 00 0C D2 91 01 72 10 00 00 63 [09:16:26]Write i2c OK [09:16:26]MH_I2C_Read... [09:16:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:16:26]Read from MH i2c: E2 [09:16:26]MH_I2C_Read... [09:16:26]Read from MH i2c: E2 03 00 [09:16:26]MH_I2C_Read... [09:16:26]Read from MH i2c: E2 03 00 74 08 00 90 00 F0 [09:16:26]RAPDU: 90 00 [09:16:26]wFMCommunicate OK [09:16:26]wFMCommunicate request_size=4 [09:16:26]MH_SAM_APDU [09:16:26]CAPDU: 80 0D 03 02 [09:16:26]Write to MH i2c: E2 08 00 75 08 80 0D 03 02 00 00 00 00 F8 [09:16:26]Write i2c OK [09:16:26]MH_I2C_Read... [09:16:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:16:26]Read from MH i2c: E2 [09:16:26]MH_I2C_Read... [09:16:26]Read from MH i2c: E2 0B 00 [09:16:26]MH_I2C_Read... [09:16:26]Read from MH i2c: E2 0B 00 75 08 00 71 71 D2 40 1C DE 86 3B 90 00 A8 [09:16:26]RAPDU: 71 71 D2 40 1C DE 86 3B 90 00 [09:16:26]wFMCommunicate OK [09:16:26]SAM_PROTO_SignData done [09:16:26]FM_MakeSignedData done [09:16:26]CreateOFDProtocolMessage [09:16:26]wFMCommunicate request_size=4 [09:16:26]MH_SAM_APDU [09:16:26]CAPDU: 80 11 00 00 [09:16:26]Write to MH i2c: E2 08 00 76 08 80 11 00 00 00 00 00 00 F8 [09:16:26]Write i2c OK [09:16:26]MH_I2C_Read... [09:16:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:16:26]Read from MH i2c: E2 [09:16:26]MH_I2C_Read... [09:16:26]Read from MH i2c: E2 17 00 [09:16:26]MH_I2C_Read... [09:16:26]Read from MH i2c: E2 17 00 76 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 4D [09:16:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [09:16:26]wFMCommunicate OK [09:16:26]CreateOFDProtocolMessage done [09:16:26]OFDSenderStorePacket 32408 [09:16:26]StoreOFDPacket docnum=32408 [09:16:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 B5 01 00 00 07 80 AD 01 1F CF 5A 03 01 00 03 00 A1 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 38 37 39 06 04 39 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 39 39 33 06 04 2E 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 9C D0 B8 D0 BB D0 BA D0 B8 20 D0 92 D0 B5 D0 B9 20 32 36 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 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 09 00 00 00 00 07 04 06 00 CC 5B 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 6B 34 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 98 7E 00 00 35 04 06 00 0C D2 91 01 72 10 71 71 D2 40 1C DE 86 3B [09:16:26]CheckFolder [09:16:26]dirname=/storage/ofd_packets [09:16:26]CheckFolder done [09:16:26]ProducePacketName [09:16:26]name=ofd_packets/00032408 [09:16:26]NVStorageSaveData ofd_packets/00032408 [09:16:26]File name is /storage/ofd_packets/00032408 [09:16:26]Write 467 bytes [09:16:26]NVStorageSaveData done [09:16:26]OFDSenderStorePacket done [09:16:26]KKMCreateOFDPacket done [09:16:26]NVStorageSaveData kkm_last_timestamp [09:16:26]File name is /storage/kkm_last_timestamp [09:16:26]Write 4 bytes [09:16:26]NVStorageSaveData done [09:16:26]ExternCall_PrintAddStr [09:16:26]wPrintStart [09:16:26]Write to MH i2c: 01 00 00 77 08 7F [09:16:27]OFD Sender: Processing packet 32408 [packets to send 5, broken 4] [09:16:27]ProducePacketName [09:16:27]name=ofd_packets/00032408 [09:16:27]OFD Sender: To server: pG, [09:16:27]CommunicateWithHost lk.salyk.kg:30040 [09:16:27]ConnectInit lk.salyk.kg [09:16:27]Write i2c OK [09:16:27]MH_I2C_Read... [09:16:27]Read from MH i2c: 01 [09:16:27]MH_I2C_Read... [09:16:27]Read from MH i2c: 01 07 00 [09:16:27]MH_I2C_Read... [09:16:27]Read from MH i2c: 01 07 00 77 08 00 00 00 00 00 FF 0F 94 [09:16:27]RasterBufferAndPrint [09:16:27]line Счет N : (3)58563 [09:16:27]line ИНН: 02508201610067 [09:16:27]line Контрольно-Кассовый Чек [09:16:27]line ПРОДАЖА [09:16:27]line Товар: 4700001060879 [09:16:27]line Настойка Шоколад на коньяке 0,2л [09:16:27]line 1.000 * 200.00 [09:16:27]line = 200.00 [09:16:27]line НДС 12% НСП 1% [09:16:27]line > о реализуемом товаре [09:16:27]line Товар: 4011100091993 [09:16:27]line Шок Батончик Милки Вей 26г [09:16:27]line 1.000 * 35.00 [09:16:27]line = 35.00 [09:16:27]line НДС 12% НСП 1% [09:16:27]line > о реализуемом товаре [09:16:27]line ИТОГО: 235.00 [09:16:27]line НСП 1% : 2.08 [09:16:27]line НДС 12% : 24.96 [09:16:27]line Наличными: 235.00 [09:16:27]line Безнал.: 0.00 [09:16:27]line Место: АЗС № 99 "Партнер Нефть" [09:16:27]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [09:16:27]line СНО: Общий режим [09:16:27]line Чек 24 06.03.2024 09:16 [09:16:27]line Смена: 284 ФФД: 1.0 [09:16:27]line ЗНМ: 0300000074 [09:16:27]line РНМ: 0000000000092554 [09:16:27]line Версия ККМ: 001 [09:16:27]line ФМ: 0000000000871783 [09:16:27]line ФД: 32408 [09:16:27]line ФПД: 14098515456528 [09:16:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T091627&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32408&fm=14098515456528&tin=02508201610067®Number=0000000000092554&sum=23500 [09:16:27]line 0 [09:16:27]written 0, free lines is 4095 [09:16:27]Connected sock=10 [09:16:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 B5 01 00 00 07 80 AD 01 1F CF 5A 03 01 00 03 00 A1 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 38 37 39 06 04 39 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 39 39 33 06 04 2E 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 9C D0 B8 D0 BB D0 BA D0 B8 20 D0 92 D0 B5 D0 B9 20 32 36 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 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 09 00 00 00 00 07 04 06 00 CC 5B 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 6B 34 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 98 7E 00 00 35 04 06 00 0C D2 91 01 72 10 71 71 D2 40 1C DE 86 3B [09:16:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 C9 DA 47 00 21 D4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 98 7E 00 00 F4 03 04 00 A4 DC E7 65 B6 04 01 00 00 30 31 78 C3 28 4B A7 3A [09:16:27]CommunicateWithHost err = 0 [09:16:27]CheckOFDResponse [09:16:27]1017 (14) - 77093643461234 [09:16:27]1041 (16) - 0000000000871783 [09:16:27]1040 (4) - 32408 [09:16:27]1012 (4) - 06.03.2024 03:01 [09:16:27]1206 (1) - 0 [09:16:27]OFD Sender: Remove packet 32408 [09:16:27]ProducePacketName [09:16:27]name=ofd_packets/00032408 [09:16:27]NVStorageDeleteData [09:16:27]Write to MH i2c: 01 00 00 A6 08 AE [09:16:27]Write i2c OK [09:16:27]MH_I2C_Read... [09:16:27]Read from MH i2c: 01 [09:16:27]MH_I2C_Read... [09:16:27]Read from MH i2c: 01 07 00 [09:16:27]MH_I2C_Read... [09:16:27]Read from MH i2c: 01 07 00 A6 08 00 00 00 00 00 5D 0C 1E [09:16:27]RasterBufferAndPrint [09:16:27]line [09:16:27]line [09:16:27]line [09:16:27]line [09:16:27]line [09:16:27]written 0, free lines is 3169 [09:16:27]MH_Cut [09:16:27]Write to MH i2c: D1 01 00 AD 08 01 87 [09:16:27]Write i2c OK [09:16:27]MH_I2C_Read... [09:16:27]Read from MH i2c: D1 [09:16:27]MH_I2C_Read... [09:16:27]Read from MH i2c: D1 01 00 [09:16:27]MH_I2C_Read... [09:16:27]Read from MH i2c: D1 01 00 AD 08 00 86 [09:16:27]Write to MH i2c: 01 00 00 AE 08 B6 [09:16:27]Write i2c OK [09:16:27]MH_I2C_Read... [09:16:27]OFD Sender: No OFD packet to send [09:16:28]*** Cut start [09:16:28]*** Partial cut [09:16:28]*** CUTSNS_PIN = 1 [09:16:28]*** CUTSNS_PIN = 0 [09:16:28]*** Brake cut motor [09:16:29]Read from MH i2c: 01 [09:16:29]MH_I2C_Read... [09:16:29]*** Stop cut motor [09:16:29]*** Cut end [09:16:29]Read from MH i2c: 01 07 00 [09:16:29]MH_I2C_Read... [09:16:29]Read from MH i2c: 01 07 00 AE 08 00 00 00 00 00 FF 0F CB [09:16:29]process_action close_receipt done [09:16:29]requested_data is exist [09:16:29]produce_requested_data [09:16:29]requested_item fm.sn is exist - process it [09:16:29]wFMCommunicate request_size=4 [09:16:29]MH_SAM_APDU [09:16:29]CAPDU: 80 11 00 00 [09:16:29]Write to MH i2c: E2 08 00 AF 08 80 11 00 00 00 00 00 00 31 [09:16:29]Write i2c OK [09:16:29]MH_I2C_Read... [09:16:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:16:29]Read from MH i2c: E2 [09:16:29]MH_I2C_Read... [09:16:29]Read from MH i2c: E2 17 00 [09:16:29]MH_I2C_Read... [09:16:29]Read from MH i2c: E2 17 00 AF 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 86 [09:16:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [09:16:29]wFMCommunicate OK [09:16:29]requested_item fd.num is exist - process it [09:16:29]SAM_PROTO_GetFieldsCounters [09:16:29]wFMCommunicate request_size=4 [09:16:29]MH_SAM_APDU [09:16:29]CAPDU: 80 13 00 00 [09:16:29]Write to MH i2c: E2 08 00 B0 08 80 13 00 00 00 00 00 00 34 [09:16:29]Write i2c OK [09:16:29]MH_I2C_Read... [09:16:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:16:29]Read from MH i2c: E2 [09:16:29]MH_I2C_Read... [09:16:29]Read from MH i2c: E2 62 00 [09:16:29]MH_I2C_Read... [09:16:29]Read from MH i2c: E2 62 00 B0 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 98 7E 00 00 0E 04 04 00 1C 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 D2 [09:16:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 98 7E 00 00 0E 04 04 00 1C 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:16:29]wFMCommunicate OK [09:16:29]SAM_PROTO_GetFieldsCounters done [09:16:29]requested_item shift.num is exist - process it [09:16:29]requested_item shift.opened is exist - process it [09:16:29]req_shift_opened [09:16:29]FM_GetShiftState [09:16:29]SAM_PROTO_GetShiftState [09:16:29]wFMCommunicate request_size=4 [09:16:29]MH_SAM_APDU [09:16:29]CAPDU: 80 13 01 00 [09:16:29]Write to MH i2c: E2 08 00 B1 08 80 13 01 00 00 00 00 00 36 [09:16:29]Write i2c OK [09:16:29]MH_I2C_Read... [09:16:29]Read from MH i2c: E2 [09:16:29]MH_I2C_Read... [09:16:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:16:29]Read from MH i2c: E2 0E 00 [09:16:29]MH_I2C_Read... [09:16:29]Read from MH i2c: E2 0E 00 B1 08 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 B3 [09:16:29]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [09:16:29]wFMCommunicate OK [09:16:29]SAM_PROTO_GetShiftState done [09:16:29]FM_GetShiftState done [09:16:29]req_shift_opened done [09:16:29]requested_item shift.open_date is exist - process it [09:16:29]req_shift_open_date [09:16:29]req_shift_open_date done [09:16:29]produce_requested_data done [09:16:29]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32408,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [09:16:29]process_action_free close_receipt [09:16:29]json_value_free [09:16:29]json_value_free done [09:16:29]process_json_proto returns [09:16:29]Send response to host [09:16:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32408,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [09:16:29]free response buf [09:16:29]execute_script done [09:16:29]execute_script returns [09:16:29]free content buf [09:16:29]Sock 8.Close socket [09:16:29]Sock 8.Thread stoped [09:16:32]OFD Sender: No OFD packet to send [09:16:37]OFD Sender: No OFD packet to send [09:16:42]OFD Sender: No OFD packet to send [09:16:47]OFD Sender: No OFD packet to send [09:16:52]OFD Sender: No OFD packet to send [09:16:57]OFD Sender: No OFD packet to send [09:17:02]OFD Sender: No OFD packet to send [09:17:07]OFD Sender: No OFD packet to send [09:17:12]OFD Sender: No OFD packet to send [09:17:17]OFD Sender: No OFD packet to send [09:17:22]OFD Sender: No OFD packet to send [09:17:27]OFD Sender: No OFD packet to send [09:17:32]OFD Sender: No OFD packet to send [09:17:37]OFD Sender: No OFD packet to send [09:17:42]OFD Sender: No OFD packet to send [09:17:47]OFD Sender: No OFD packet to send [09:17:52]OFD Sender: No OFD packet to send [09:17:57]OFD Sender: No OFD packet to send [09:18:02]OFD Sender: No OFD packet to send [09:18:07]OFD Sender: No OFD packet to send [09:18:12]OFD Sender: No OFD packet to send [09:18:17]OFD Sender: No OFD packet to send [09:18:22]OFD Sender: No OFD packet to send [09:18:27]OFD Sender: No OFD packet to send [09:18:32]OFD Sender: No OFD packet to send [09:18:37]OFD Sender: No OFD packet to send [09:18:42]OFD Sender: No OFD packet to send [09:18:47]OFD Sender: No OFD packet to send [09:18:52]OFD Sender: No OFD packet to send [09:18:57]OFD Sender: No OFD packet to send [09:19:02]OFD Sender: No OFD packet to send [09:19:08]OFD Sender: No OFD packet to send [09:19:13]OFD Sender: No OFD packet to send [09:19:18]OFD Sender: No OFD packet to send [09:19:23]OFD Sender: No OFD packet to send [09:19:28]OFD Sender: No OFD packet to send [09:19:33]OFD Sender: No OFD packet to send [09:19:38]OFD Sender: No OFD packet to send [09:19:43]OFD Sender: No OFD packet to send [09:19:48]OFD Sender: No OFD packet to send [09:19:53]OFD Sender: No OFD packet to send [09:19:58]OFD Sender: No OFD packet to send [09:20:03]OFD Sender: No OFD packet to send [09:20:08]OFD Sender: No OFD packet to send [09:20:13]OFD Sender: No OFD packet to send [09:20:18]OFD Sender: No OFD packet to send [09:20:23]OFD Sender: No OFD packet to send [09:20:28]OFD Sender: No OFD packet to send [09:20:33]OFD Sender: No OFD packet to send [09:20:38]OFD Sender: No OFD packet to send [09:20:43]OFD Sender: No OFD packet to send [09:20:48]OFD Sender: No OFD packet to send [09:20:53]OFD Sender: No OFD packet to send [09:20:58]OFD Sender: No OFD packet to send [09:21:03]OFD Sender: No OFD packet to send [09:21:08]OFD Sender: No OFD packet to send [09:21:13]OFD Sender: No OFD packet to send [09:21:18]OFD Sender: No OFD packet to send [09:21:23]OFD Sender: No OFD packet to send [09:21:28]OFD Sender: No OFD packet to send [09:21:33]OFD Sender: No OFD packet to send [09:21:38]OFD Sender: No OFD packet to send [09:21:43]OFD Sender: No OFD packet to send [09:21:48]OFD Sender: No OFD packet to send [09:21:53]OFD Sender: No OFD packet to send [09:21:58]OFD Sender: No OFD packet to send [09:22:03]OFD Sender: No OFD packet to send [09:22:08]OFD Sender: No OFD packet to send [09:22:13]OFD Sender: No OFD packet to send [09:22:18]OFD Sender: No OFD packet to send [09:22:23]OFD Sender: No OFD packet to send [09:22:28]OFD Sender: No OFD packet to send [09:22:33]OFD Sender: No OFD packet to send [09:22:38]OFD Sender: No OFD packet to send [09:22:43]OFD Sender: No OFD packet to send [09:22:48]OFD Sender: No OFD packet to send [09:22:53]OFD Sender: No OFD packet to send [09:22:58]OFD Sender: No OFD packet to send [09:23:03]OFD Sender: No OFD packet to send [09:23:08]OFD Sender: No OFD packet to send [09:23:13]OFD Sender: No OFD packet to send [09:23:18]OFD Sender: No OFD packet to send [09:23:23]OFD Sender: No OFD packet to send [09:23:28]OFD Sender: No OFD packet to send [09:23:33]OFD Sender: No OFD packet to send [09:23:38]OFD Sender: No OFD packet to send [09:23:43]OFD Sender: No OFD packet to send [09:23:48]OFD Sender: No OFD packet to send [09:23:53]OFD Sender: No OFD packet to send [09:23:58]OFD Sender: No OFD packet to send [09:24:03]OFD Sender: No OFD packet to send [09:24:08]OFD Sender: No OFD packet to send [09:24:13]OFD Sender: No OFD packet to send [09:24:18]OFD Sender: No OFD packet to send [09:24:23]OFD Sender: No OFD packet to send [09:24:28]OFD Sender: No OFD packet to send [09:24:33]OFD Sender: No OFD packet to send [09:24:38]OFD Sender: No OFD packet to send [09:24:43]OFD Sender: No OFD packet to send [09:24:48]OFD Sender: No OFD packet to send [09:24:53]OFD Sender: No OFD packet to send [09:24:58]OFD Sender: No OFD packet to send [09:25:03]OFD Sender: No OFD packet to send [09:25:08]OFD Sender: No OFD packet to send [09:25:13]OFD Sender: No OFD packet to send [09:25:18]OFD Sender: No OFD packet to send [09:25:23]OFD Sender: No OFD packet to send [09:25:28]OFD Sender: No OFD packet to send [09:25:33]OFD Sender: No OFD packet to send [09:25:38]OFD Sender: No OFD packet to send [09:25:43]OFD Sender: No OFD packet to send [09:25:48]OFD Sender: No OFD packet to send [09:25:53]OFD Sender: No OFD packet to send [09:25:58]OFD Sender: No OFD packet to send [09:26:03]OFD Sender: No OFD packet to send [09:26:08]OFD Sender: No OFD packet to send [09:26:13]OFD Sender: No OFD packet to send [09:26:18]OFD Sender: No OFD packet to send [09:26:23]OFD Sender: No OFD packet to send [09:26:28]OFD Sender: No OFD packet to send [09:26:33]OFD Sender: No OFD packet to send [09:26:38]OFD Sender: No OFD packet to send [09:26:43]OFD Sender: No OFD packet to send [09:26:48]OFD Sender: No OFD packet to send [09:26:53]OFD Sender: No OFD packet to send [09:26:58]OFD Sender: No OFD packet to send [09:27:03]OFD Sender: No OFD packet to send [09:27:08]OFD Sender: No OFD packet to send [09:27:13]OFD Sender: No OFD packet to send [09:27:18]OFD Sender: No OFD packet to send [09:27:23]OFD Sender: No OFD packet to send [09:27:28]OFD Sender: No OFD packet to send [09:27:33]OFD Sender: No OFD packet to send [09:27:38]OFD Sender: No OFD packet to send [09:27:43]OFD Sender: No OFD packet to send [09:27:48]OFD Sender: No OFD packet to send [09:27:53]OFD Sender: No OFD packet to send [09:27:58]OFD Sender: No OFD packet to send [09:28:03]OFD Sender: No OFD packet to send [09:28:08]OFD Sender: No OFD packet to send [09:28:13]OFD Sender: No OFD packet to send [09:28:18]OFD Sender: No OFD packet to send [09:28:23]OFD Sender: No OFD packet to send [09:28:28]OFD Sender: No OFD packet to send [09:28:33]OFD Sender: No OFD packet to send [09:28:38]OFD Sender: No OFD packet to send [09:28:43]OFD Sender: No OFD packet to send [09:28:48]OFD Sender: No OFD packet to send [09:28:53]OFD Sender: No OFD packet to send [09:28:58]OFD Sender: No OFD packet to send [09:29:03]OFD Sender: No OFD packet to send [09:29:08]OFD Sender: No OFD packet to send [09:29:13]OFD Sender: No OFD packet to send [09:29:18]OFD Sender: No OFD packet to send [09:29:19]accept exits with 9 [09:29:19]New connection [09:29:19]New thread 3066932580 created [09:29:19]Thread 3067075940 joined [09:29:19]Waiting for new connection... [09:29:19] Sock 9.Parse request [09:29:19]Sock 9.Check first char [09:29:19]Sock 9.First char is OK [09:29:19]request: POST /json_proto HTTP/1.0 [09:29:19]Method: POST [09:29:19]URL: /json_proto [09:29:19]Method is POST - this is cgi request [09:29:19]url: /json_proto [09:29:19]query_string will be loaded in cgi processing [09:29:19]execute_cgi json_proto POST (null) [09:29:19]execute_cgi path=json_proto method=POST [09:29:19]POST find Content-Length [09:29:19]Host: 172.17.61.6:8080 [09:29:19]Content-Length: 666 [09:29:19]Content-Type: application/json [09:29:19] [09:29:19]POST finish read [09:29:19]Found Content-Length = 666 [09:29:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58564", "tax_sys" : 0, "items" : [ { "code": "4800452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL (\u0410\u041A\u0426\u0418\u042F)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:29:19]execute_script... [09:29: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)58564", "tax_sys" : 0, "items" : [ { "code": "4800452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL (\u0410\u041A\u0426\u0418\u042F)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:29:19]POST & json_proto [09:29:19]process_json_proto [09:29:19]json parsed OK: [09:29:19]protocol is kg_v1.0 [09:29:19]action value=close_receipt [09:29:19]process_action close_receipt [09:29:19]cmd_close_receipt [09:29:19]MH_GetDate [09:29:19]Write to MH i2c: F0 00 00 B2 08 A9 [09:29:19]Write i2c OK [09:29:19]MH_I2C_Read... [09:29:19]Read from MH i2c: F0 [09:29:19]MH_I2C_Read... [09:29:19]Read from MH i2c: F0 09 00 [09:29:19]MH_I2C_Read... [09:29:19]Read from MH i2c: F0 09 00 B2 08 00 72 37 E8 65 78 7F 6F 64 72 [09:29:19]GetLastDocTimeStamp 1709716587 [09:29:19]current date 1709717362 [09:29:19]FM_GetShiftState [09:29:19]SAM_PROTO_GetShiftState [09:29:19]wFMCommunicate request_size=4 [09:29:19]MH_SAM_APDU [09:29:19]CAPDU: 80 13 01 00 [09:29:19]Write to MH i2c: E2 08 00 B3 08 80 13 01 00 00 00 00 00 38 [09:29:19]Write i2c OK [09:29:19]MH_I2C_Read... [09:29:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:29:19]Read from MH i2c: E2 [09:29:19]MH_I2C_Read... [09:29:19]Read from MH i2c: E2 0E 00 [09:29:19]MH_I2C_Read... [09:29:19]Read from MH i2c: E2 0E 00 B3 08 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 B5 [09:29:19]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [09:29:19]wFMCommunicate OK [09:29:19]SAM_PROTO_GetShiftState done [09:29:19]FM_GetShiftState done [09:29:19]opened in 1709684590 [09:29:19]opened+sec_in_day 1709770990 [09:29:19]quantity*price = 12000 [09:29:19]sum+1 = 12001 [09:29:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 25 06.03.2024 09:29 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32409 ФПД: 131899235731700 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T092922&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32409&fm=131899235731700&tin=02508201610067®Number=0000000000092554&sum=12000 0 [09:29:20]StoreToDocumentArchive [09:29:20]shift 284 fd 32409 [09:29:20]save to /storage/0284/doc_00032409 [09:29:20]save last doc name /storage/0284/doc_00032409 to /storage/kkm_last_doc_name [09:29:20]save OK [09:29:20]Clear old archive folders... [09:29:20]ProcessDocumentItem done err = 0, tmpTLVsize=283 [09:29:20]tlvbuf is 01627950 [09:29:20]SAM_PROTO_ClearQueue [09:29:20]wFMCommunicate request_size=4 [09:29:20]MH_SAM_APDU [09:29:20]CAPDU: 80 09 00 00 [09:29:20]Write to MH i2c: E2 08 00 C0 08 80 09 00 00 00 00 00 00 3A [09:29:20]Write i2c OK [09:29:20]MH_I2C_Read... [09:29:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:29:20]Read from MH i2c: E2 [09:29:20]MH_I2C_Read... [09:29:20]Read from MH i2c: E2 03 00 [09:29:20]MH_I2C_Read... [09:29:20]Read from MH i2c: E2 03 00 C0 08 00 90 00 3C [09:29:20]RAPDU: 90 00 [09:29:20]wFMCommunicate OK [09:29:20]SAM_PROTO_ClearQueue done [09:29:20]KKMCreateOFDPacket [09:29:20]OFDProtocolAddRootSTLVToBuf [09:29:20]FM_MakeSignedData [09:29:20]FM_MakeSignedData [09:29:20]SAM_PROTO_SignData [09:29:20]wFMCommunicate request_size=4 [09:29:20]MH_SAM_APDU [09:29:20]CAPDU: 80 0D 01 02 [09:29:20]Write to MH i2c: E2 08 00 C1 08 80 0D 01 02 00 00 00 00 42 [09:29:20]Write i2c OK [09:29:20]MH_I2C_Read... [09:29:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:29:20]Read from MH i2c: E2 [09:29:20]MH_I2C_Read... [09:29:20]Read from MH i2c: E2 03 00 [09:29:20]MH_I2C_Read... [09:29:20]Read from MH i2c: E2 03 00 C1 08 00 90 00 3D [09:29:20]RAPDU: 90 00 [09:29:20]wFMCommunicate OK [09:29:20]wFMCommunicate request_size=255 [09:29:20]MH_SAM_APDU [09:29:20]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 72 37 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 [09:29:20]Write to MH i2c: E2 02 01 C2 08 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 72 37 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 00 00 30 [09:29:20]Write i2c OK [09:29:20]MH_I2C_Read... [09:29:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:29:21]Read from MH i2c: E2 [09:29:21]MH_I2C_Read... [09:29:21]Read from MH i2c: E2 03 00 [09:29:21]MH_I2C_Read... [09:29:21]Read from MH i2c: E2 03 00 C2 08 00 90 00 3E [09:29:21]RAPDU: 90 00 [09:29:21]wFMCommunicate OK [09:29:21]wFMCommunicate request_size=42 [09:29:21]MH_SAM_APDU [09:29:21]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 99 7E 00 00 35 04 06 00 77 F6 2F 17 88 F4 [09:29:21]Write to MH i2c: E2 2D 00 C3 08 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 99 7E 00 00 35 04 06 00 77 F6 2F 17 88 F4 00 00 62 [09:29:21]Write i2c OK [09:29:21]MH_I2C_Read... [09:29:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:29:21]Read from MH i2c: E2 [09:29:21]MH_I2C_Read... [09:29:21]Read from MH i2c: E2 03 00 [09:29:21]MH_I2C_Read... [09:29:21]Read from MH i2c: E2 03 00 C3 08 00 90 00 3F [09:29:21]RAPDU: 90 00 [09:29:21]wFMCommunicate OK [09:29:21]wFMCommunicate request_size=4 [09:29:21]MH_SAM_APDU [09:29:21]CAPDU: 80 0D 03 02 [09:29:21]Write to MH i2c: E2 08 00 C4 08 80 0D 03 02 00 00 00 00 47 [09:29:21]Write i2c OK [09:29:21]MH_I2C_Read... [09:29:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:29:21]Read from MH i2c: E2 [09:29:21]MH_I2C_Read... [09:29:21]Read from MH i2c: E2 0B 00 [09:29:21]MH_I2C_Read... [09:29:21]Read from MH i2c: E2 0B 00 C4 08 00 F9 24 2E AA 6D 4F 49 B5 90 00 F7 [09:29:21]RAPDU: F9 24 2E AA 6D 4F 49 B5 90 00 [09:29:21]wFMCommunicate OK [09:29:21]SAM_PROTO_SignData done [09:29:21]FM_MakeSignedData done [09:29:21]CreateOFDProtocolMessage [09:29:21]wFMCommunicate request_size=4 [09:29:21]MH_SAM_APDU [09:29:21]CAPDU: 80 11 00 00 [09:29:21]Write to MH i2c: E2 08 00 C5 08 80 11 00 00 00 00 00 00 47 [09:29:21]Write i2c OK [09:29:21]MH_I2C_Read... [09:29:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:29:21]Read from MH i2c: E2 [09:29:21]MH_I2C_Read... [09:29:21]Read from MH i2c: E2 17 00 [09:29:21]MH_I2C_Read... [09:29:21]Read from MH i2c: E2 17 00 C5 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 9C [09:29:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [09:29:21]wFMCommunicate OK [09:29:21]CreateOFDProtocolMessage done [09:29:21]OFDSenderStorePacket 32409 [09:29:21]StoreOFDPacket docnum=32409 [09:29:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 2F 01 00 00 9F 06 27 01 36 57 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 72 37 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 99 7E 00 00 35 04 06 00 77 F6 2F 17 88 F4 F9 24 2E AA 6D 4F 49 B5 [09:29:21]CheckFolder [09:29:21]dirname=/storage/ofd_packets [09:29:21]CheckFolder done [09:29:21]ProducePacketName [09:29:21]name=ofd_packets/00032409 [09:29:21]NVStorageSaveData ofd_packets/00032409 [09:29:21]File name is /storage/ofd_packets/00032409 [09:29:21]Write 333 bytes [09:29:21]NVStorageSaveData done [09:29:21]OFDSenderStorePacket done [09:29:21]KKMCreateOFDPacket done [09:29:21]NVStorageSaveData kkm_last_timestamp [09:29:21]File name is /storage/kkm_last_timestamp [09:29:21]Write 4 bytes [09:29:21]NVStorageSaveData done [09:29:21]ExternCall_PrintAddStr [09:29:21]wPrintStart [09:29:21]Write to MH i2c: 01 00 00 C6 08 CE [09:29:21]Write i2c OK [09:29:21]MH_I2C_Read... [09:29:21]Read from MH i2c: 01 [09:29:21]MH_I2C_Read... [09:29:21]Read from MH i2c: 01 07 00 [09:29:21]MH_I2C_Read... [09:29:21]Read from MH i2c: 01 07 00 C6 08 00 00 00 00 00 FF 0F E3 [09:29:21]RasterBufferAndPrint [09:29:21]line Счет N : (3)58564 [09:29:21]line ИНН: 02508201610067 [09:29:21]line Контрольно-Кассовый Чек [09:29:21]line ПРОДАЖА [09:29:21]line Товар: 4800452010610 [09:29:21]line Кофе капучино XL (АКЦИЯ) [09:29:21]line 1.000 * 120.00 [09:29:21]line = 120.00 [09:29:21]line НДС 12% НСП 1% [09:29:21]line > о реализуемом товаре [09:29:21]line ИТОГО: 120.00 [09:29:21]line НСП 1% : 1.06 [09:29:21]line НДС 12% : 12.74 [09:29:21]line Наличными: 120.00 [09:29:21]line Безнал.: 0.00 [09:29:21]line Место: АЗС № 99 "Партнер Нефть" [09:29:21]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [09:29:21]line СНО: Общий режим [09:29:21]line Чек 25 06.03.2024 09:29 [09:29:21]line Смена: 284 ФФД: 1.0 [09:29:21]line ЗНМ: 0300000074 [09:29:21]line РНМ: 0000000000092554 [09:29:21]line Версия ККМ: 001 [09:29:21]line ФМ: 0000000000871783 [09:29:21]line ФД: 32409 [09:29:21]line ФПД: 131899235731700 [09:29:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T092922&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32409&fm=131899235731700&tin=02508201610067®Number=0000000000092554&sum=12000 [09:29:21]line 0 [09:29:21]OFD Sender: Processing packet 32409 [packets to send 5, broken 4] [09:29:21]ProducePacketName [09:29:21]name=ofd_packets/00032409 [09:29:21]OFD Sender: To server: pG, [09:29:21]CommunicateWithHost lk.salyk.kg:30040 [09:29:21]ConnectInit lk.salyk.kg [09:29:21]written 0, free lines is 4095 [09:29:21]Connected sock=10 [09:29:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 2F 01 00 00 9F 06 27 01 36 57 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 72 37 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 99 7E 00 00 35 04 06 00 77 F6 2F 17 88 F4 F9 24 2E AA 6D 4F 49 B5 [09:29:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 36 58 47 00 D3 1E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 99 7E 00 00 F4 03 04 00 AA DF E7 65 B6 04 01 00 00 49 71 A9 68 31 F3 D5 3E [09:29:22]CommunicateWithHost err = 0 [09:29:22]CheckOFDResponse [09:29:22]1017 (14) - 77093643461234 [09:29:22]1041 (16) - 0000000000871783 [09:29:22]1040 (4) - 32409 [09:29:22]1012 (4) - 06.03.2024 03:14 [09:29:22]1206 (1) - 0 [09:29:22]OFD Sender: Remove packet 32409 [09:29:22]ProducePacketName [09:29:22]name=ofd_packets/00032409 [09:29:22]NVStorageDeleteData [09:29:22]Write to MH i2c: 01 00 00 EE 08 F6 [09:29:22]Write i2c OK [09:29:22]MH_I2C_Read... [09:29:22]Read from MH i2c: 01 [09:29:22]MH_I2C_Read... [09:29:22]Read from MH i2c: 01 07 00 [09:29:22]MH_I2C_Read... [09:29:22]Read from MH i2c: 01 07 00 EE 08 00 00 00 00 00 D2 0C DB [09:29:22]RasterBufferAndPrint [09:29:22]line [09:29:22]line [09:29:22]line [09:29:22]line [09:29:22]line [09:29:22]written 0, free lines is 3288 [09:29:22]MH_Cut [09:29:22]Write to MH i2c: D1 01 00 F5 08 01 CF [09:29:22]Write i2c OK [09:29:22]MH_I2C_Read... [09:29:22]Read from MH i2c: D1 [09:29:22]MH_I2C_Read... [09:29:22]Read from MH i2c: D1 01 00 [09:29:22]MH_I2C_Read... [09:29:22]Read from MH i2c: D1 01 00 F5 08 00 CE [09:29:22]Write to MH i2c: 01 00 00 F6 08 FE [09:29:22]Write i2c OK [09:29:22]MH_I2C_Read... [09:29:22]OFD Sender: No OFD packet to send [09:29:22]*** Cut start [09:29:22]*** Partial cut [09:29:22]*** CUTSNS_PIN = 1 [09:29:23]*** CUTSNS_PIN = 0 [09:29:23]*** Brake cut motor [09:29:23]Read from MH i2c: 01 [09:29:23]MH_I2C_Read... [09:29:23]*** Stop cut motor [09:29:23]*** Cut end [09:29:23]Read from MH i2c: 01 07 00 [09:29:23]MH_I2C_Read... [09:29:23]Read from MH i2c: 01 07 00 F6 08 00 00 00 00 00 FF 0F 13 [09:29:23]process_action close_receipt done [09:29:23]requested_data is exist [09:29:23]produce_requested_data [09:29:23]requested_item fm.sn is exist - process it [09:29:23]wFMCommunicate request_size=4 [09:29:23]MH_SAM_APDU [09:29:23]CAPDU: 80 11 00 00 [09:29:23]Write to MH i2c: E2 08 00 F7 08 80 11 00 00 00 00 00 00 79 [09:29:23]Write i2c OK [09:29:23]MH_I2C_Read... [09:29:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:29:23]Read from MH i2c: E2 [09:29:23]MH_I2C_Read... [09:29:23]Read from MH i2c: E2 17 00 [09:29:23]MH_I2C_Read... [09:29:23]Read from MH i2c: E2 17 00 F7 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 CE [09:29:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [09:29:23]wFMCommunicate OK [09:29:23]requested_item fd.num is exist - process it [09:29:23]SAM_PROTO_GetFieldsCounters [09:29:23]wFMCommunicate request_size=4 [09:29:23]MH_SAM_APDU [09:29:23]CAPDU: 80 13 00 00 [09:29:23]Write to MH i2c: E2 08 00 F8 08 80 13 00 00 00 00 00 00 7C [09:29:23]Write i2c OK [09:29:23]MH_I2C_Read... [09:29:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:29:23]Read from MH i2c: E2 [09:29:23]MH_I2C_Read... [09:29:23]Read from MH i2c: E2 62 00 [09:29:23]MH_I2C_Read... [09:29:23]Read from MH i2c: E2 62 00 F8 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 99 7E 00 00 0E 04 04 00 1C 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 1E [09:29:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 99 7E 00 00 0E 04 04 00 1C 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 [09:29:23]wFMCommunicate OK [09:29:23]SAM_PROTO_GetFieldsCounters done [09:29:23]requested_item shift.num is exist - process it [09:29:23]requested_item shift.opened is exist - process it [09:29:23]req_shift_opened [09:29:23]FM_GetShiftState [09:29:23]SAM_PROTO_GetShiftState [09:29:23]wFMCommunicate request_size=4 [09:29:23]MH_SAM_APDU [09:29:23]CAPDU: 80 13 01 00 [09:29:23]Write to MH i2c: E2 08 00 F9 08 80 13 01 00 00 00 00 00 7E [09:29:23]Write i2c OK [09:29:23]MH_I2C_Read... [09:29:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:29:23]Read from MH i2c: E2 [09:29:23]MH_I2C_Read... [09:29:23]Read from MH i2c: E2 0E 00 [09:29:23]MH_I2C_Read... [09:29:23]Read from MH i2c: E2 0E 00 F9 08 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 FB [09:29:23]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [09:29:23]wFMCommunicate OK [09:29:23]SAM_PROTO_GetShiftState done [09:29:23]FM_GetShiftState done [09:29:23]req_shift_opened done [09:29:23]requested_item shift.open_date is exist - process it [09:29:23]req_shift_open_date [09:29:23]req_shift_open_date done [09:29:23]produce_requested_data done [09:29:23]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32409,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [09:29:23]process_action_free close_receipt [09:29:23]json_value_free [09:29:23]json_value_free done [09:29:23]process_json_proto returns [09:29:23]Send response to host [09:29:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32409,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [09:29:23]free response buf [09:29:23]execute_script done [09:29:23]execute_script returns [09:29:23]free content buf [09:29:23]Sock 9.Close socket [09:29:23]Sock 9.Thread stoped [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:32]OFD Sender: No OFD packet to send [09:35:37]OFD Sender: No OFD packet to send [09:35:42]OFD Sender: No OFD packet to send [09:35:47]OFD Sender: No OFD packet to send [09:35:52]OFD Sender: No OFD packet to send [09:35:57]OFD Sender: No OFD packet to send [09:36:02]OFD Sender: No OFD packet to send [09:36:07]OFD Sender: No OFD packet to send [09:36:12]OFD Sender: No OFD packet to send [09:36:17]OFD Sender: No OFD packet to send [09:36:22]OFD Sender: No OFD packet to send [09:36:27]OFD Sender: No OFD packet to send [09:36:32]OFD Sender: No OFD packet to send [09:36:37]OFD Sender: No OFD packet to send [09:36:42]OFD Sender: No OFD packet to send [09:36:47]OFD Sender: No OFD packet to send [09:36:52]OFD Sender: No OFD packet to send [09:36:57]OFD Sender: No OFD packet to send [09:37:02]OFD Sender: No OFD packet to send [09:37:07]OFD Sender: No OFD packet to send [09:37:12]OFD Sender: No OFD packet to send [09:37:17]OFD Sender: No OFD packet to send [09:37:22]OFD Sender: No OFD packet to send [09:37:27]OFD Sender: No OFD packet to send [09:37:32]OFD Sender: No OFD packet to send [09:37:37]OFD Sender: No OFD packet to send [09:37:42]OFD Sender: No OFD packet to send [09:37:47]OFD Sender: No OFD packet to send [09:37:52]OFD Sender: No OFD packet to send [09:37:57]OFD Sender: No OFD packet to send [09:38:02]OFD Sender: No OFD packet to send [09:38:07]OFD Sender: No OFD packet to send [09:38:12]OFD Sender: No OFD packet to send [09:38:17]OFD Sender: No OFD packet to send [09:38:22]OFD Sender: No OFD packet to send [09:38:27]OFD Sender: No OFD packet to send [09:38:32]OFD Sender: No OFD packet to send [09:38:37]OFD Sender: No OFD packet to send [09:38:42]OFD Sender: No OFD packet to send [09:38:47]OFD Sender: No OFD packet to send [09:38:52]OFD Sender: No OFD packet to send [09:38:58]OFD Sender: No OFD packet to send [09:39:03]OFD Sender: No OFD packet to send [09:39:08]OFD Sender: No OFD packet to send [09:39:13]OFD Sender: No OFD packet to send [09:39:18]OFD Sender: No OFD packet to send [09:39:23]OFD Sender: No OFD packet to send [09:39:28]OFD Sender: No OFD packet to send [09:39:33]OFD Sender: No OFD packet to send [09:39:38]OFD Sender: No OFD packet to send [09:39:43]OFD Sender: No OFD packet to send [09:39:48]OFD Sender: No OFD packet to send [09:39:53]OFD Sender: No OFD packet to send [09:39:58]OFD Sender: No OFD packet to send [09:40:03]OFD Sender: No OFD packet to send [09:40:08]OFD Sender: No OFD packet to send [09:40:13]OFD Sender: No OFD packet to send [09:40:18]OFD Sender: No OFD packet to send [09:40:23]OFD Sender: No OFD packet to send [09:40:28]OFD Sender: No OFD packet to send [09:40:33]OFD Sender: No OFD packet to send [09:40:38]OFD Sender: No OFD packet to send [09:40:43]OFD Sender: No OFD packet to send [09:40:48]OFD Sender: No OFD packet to send [09:40:53]OFD Sender: No OFD packet to send [09:40:58]OFD Sender: No OFD packet to send [09:41:03]OFD Sender: No OFD packet to send [09:41:08]OFD Sender: No OFD packet to send [09:41:13]OFD Sender: No OFD packet to send [09:41:18]OFD Sender: No OFD packet to send [09:41:19]accept exits with 8 [09:41:19]New connection [09:41:19]New thread 3067075940 created [09:41:19]Thread 3066932580 joined [09:41:19]Waiting for new connection... [09:41:19] Sock 8.Parse request [09:41:19]Sock 8.Check first char [09:41:19]Sock 8.First char is OK [09:41:19]request: POST /json_proto HTTP/1.0 [09:41:19]Method: POST [09:41:19]URL: /json_proto [09:41:19]Method is POST - this is cgi request [09:41:19]url: /json_proto [09:41:19]query_string will be loaded in cgi processing [09:41:19]execute_cgi json_proto POST (null) [09:41:19]execute_cgi path=json_proto method=POST [09:41:19]POST find Content-Length [09:41:19]Host: 172.17.61.6:8080 [09:41:19]Content-Length: 1385 [09:41:19]Content-Type: application/json [09:41:19] [09:41:19]POST finish read [09:41:19]Found Content-Length = 1385 [09:41:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58565", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.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:41:19]execute_script... [09:41: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)58565", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.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:41:19]POST & json_proto [09:41:19]process_json_proto [09:41:19]json parsed OK: [09:41:19]protocol is kg_v1.0 [09:41:19]action value=close_receipt [09:41:19]process_action close_receipt [09:41:19]cmd_close_receipt [09:41:19]MH_GetDate [09:41:19]Write to MH i2c: F0 00 00 FA 08 F1 [09:41:19]Write i2c OK [09:41:19]MH_I2C_Read... [09:41:19]Read from MH i2c: F0 [09:41:19]MH_I2C_Read... [09:41:19]Read from MH i2c: F0 09 00 [09:41:19]MH_I2C_Read... [09:41:19]Read from MH i2c: F0 09 00 FA 08 00 41 3A E8 65 78 7F 6F 64 8C [09:41:19]GetLastDocTimeStamp 1709717362 [09:41:19]current date 1709718081 [09:41:19]FM_GetShiftState [09:41:19]SAM_PROTO_GetShiftState [09:41:19]wFMCommunicate request_size=4 [09:41:19]MH_SAM_APDU [09:41:19]CAPDU: 80 13 01 00 [09:41:19]Write to MH i2c: E2 08 00 FB 08 80 13 01 00 00 00 00 00 80 [09:41:19]Write i2c OK [09:41:19]MH_I2C_Read... [09:41:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:41:19]Read from MH i2c: E2 [09:41:19]MH_I2C_Read... [09:41:19]Read from MH i2c: E2 0E 00 [09:41:19]MH_I2C_Read... [09:41:19]Read from MH i2c: E2 0E 00 FB 08 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 FD [09:41:19]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [09:41:19]wFMCommunicate OK [09:41:19]SAM_PROTO_GetShiftState done [09:41:19]FM_GetShiftState done [09:41:19]opened in 1709684590 [09:41:19]opened+sec_in_day 1709770990 [09:41:19]quantity*price = 8500 [09:41:19]sum+1 = 8501 [09:41:19]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48741224 Сигареты Winston Super Slims Blue 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46231529 Mentos ПФ Арбуз 6*100*2 1.000 * 10.00 = 10.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 90448300 Энерг напиток Red Bull 0,355л 1.000 * 200.00 = 200.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 425.00 НСП 1% : 3.76 НДС 12% : 45.13 Наличными: 425.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 26 06.03.2024 09:41 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32410 ФПД: 263680733998039 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T094122&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32410&fm=263680733998039&tin=02508201610067®Number=0000000000092554&sum=42500 0 [09:41:20]StoreToDocumentArchive [09:41:20]shift 284 fd 32410 [09:41:20]save to /storage/0284/doc_00032410 [09:41:20]save last doc name /storage/0284/doc_00032410 to /storage/kkm_last_doc_name [09:41:20]save OK [09:41:20]Clear old archive folders... [09:41:20]ProcessDocumentItem done err = 0, tmpTLVsize=608 [09:41:20]tlvbuf is 0164B8A0 [09:41:20]SAM_PROTO_ClearQueue [09:41:20]wFMCommunicate request_size=4 [09:41:20]MH_SAM_APDU [09:41:20]CAPDU: 80 09 00 00 [09:41:20]Write to MH i2c: E2 08 00 08 09 80 09 00 00 00 00 00 00 83 [09:41:20]Write i2c OK [09:41:20]MH_I2C_Read... [09:41:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:41:20]Read from MH i2c: E2 [09:41:20]MH_I2C_Read... [09:41:20]Read from MH i2c: E2 03 00 [09:41:20]MH_I2C_Read... [09:41:20]Read from MH i2c: E2 03 00 08 09 00 90 00 85 [09:41:20]RAPDU: 90 00 [09:41:20]wFMCommunicate OK [09:41:20]SAM_PROTO_ClearQueue done [09:41:20]KKMCreateOFDPacket [09:41:20]OFDProtocolAddRootSTLVToBuf [09:41:20]FM_MakeSignedData [09:41:20]FM_MakeSignedData [09:41:20]SAM_PROTO_SignData [09:41:20]wFMCommunicate request_size=4 [09:41:20]MH_SAM_APDU [09:41:20]CAPDU: 80 0D 01 02 [09:41:20]Write to MH i2c: E2 08 00 09 09 80 0D 01 02 00 00 00 00 8B [09:41:20]Write i2c OK [09:41:20]MH_I2C_Read... [09:41:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:41:20]Read from MH i2c: E2 [09:41:20]MH_I2C_Read... [09:41:20]Read from MH i2c: E2 03 00 [09:41:20]MH_I2C_Read... [09:41:20]Read from MH i2c: E2 03 00 09 09 00 90 00 86 [09:41:20]RAPDU: 90 00 [09:41:20]wFMCommunicate OK [09:41:20]wFMCommunicate request_size=255 [09:41:20]MH_SAM_APDU [09:41:20]CAPDU: 80 0D 02 02 FA 03 00 60 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5D 00 8A 04 08 00 34 [09:41:20]Write to MH i2c: E2 02 01 0A 09 80 0D 02 02 FA 00 03 00 60 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5D 00 8A 04 08 00 34 00 00 54 [09:41:20]Write i2c OK [09:41:20]MH_I2C_Read... [09:41:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:41:21]Read from MH i2c: E2 [09:41:21]MH_I2C_Read... [09:41:21]Read from MH i2c: E2 03 00 [09:41:21]MH_I2C_Read... [09:41:21]Read from MH i2c: E2 03 00 0A 09 00 90 00 87 [09:41:21]RAPDU: 90 00 [09:41:21]wFMCommunicate OK [09:41:21]wFMCommunicate request_size=255 [09:41:21]MH_SAM_APDU [09:41:21]CAPDU: 80 0D 02 02 FA 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 [09:41:21]Write to MH i2c: E2 02 01 0B 09 80 0D 02 02 FA 00 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 6A [09:41:21]Write i2c OK [09:41:21]MH_I2C_Read... [09:41:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:41:21]Read from MH i2c: E2 [09:41:21]MH_I2C_Read... [09:41:21]Read from MH i2c: E2 03 00 [09:41:21]MH_I2C_Read... [09:41:21]Read from MH i2c: E2 03 00 0B 09 00 90 00 88 [09:41:21]RAPDU: 90 00 [09:41:21]wFMCommunicate OK [09:41:21]wFMCommunicate request_size=117 [09:41:21]MH_SAM_APDU [09:41:21]CAPDU: 80 0D 02 02 70 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 1A 00 00 00 F4 03 04 00 42 3A E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9A 7E 00 00 35 04 06 00 EF D0 F4 7B EB D7 [09:41:21]Write to MH i2c: E2 78 00 0C 09 80 0D 02 02 70 00 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 1A 00 00 00 F4 03 04 00 42 3A E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9A 7E 00 00 35 04 06 00 EF D0 F4 7B EB D7 00 00 56 [09:41:21]Write i2c OK [09:41:21]MH_I2C_Read... [09:41:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:41:21]Read from MH i2c: E2 [09:41:21]MH_I2C_Read... [09:41:21]Read from MH i2c: E2 03 00 [09:41:21]MH_I2C_Read... [09:41:21]Read from MH i2c: E2 03 00 0C 09 00 90 00 89 [09:41:21]RAPDU: 90 00 [09:41:21]wFMCommunicate OK [09:41:21]wFMCommunicate request_size=4 [09:41:21]MH_SAM_APDU [09:41:21]CAPDU: 80 0D 03 02 [09:41:21]Write to MH i2c: E2 08 00 0D 09 80 0D 03 02 00 00 00 00 91 [09:41:21]Write i2c OK [09:41:21]MH_I2C_Read... [09:41:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:41:21]Read from MH i2c: E2 [09:41:21]MH_I2C_Read... [09:41:21]Read from MH i2c: E2 0B 00 [09:41:21]MH_I2C_Read... [09:41:21]Read from MH i2c: E2 0B 00 0D 09 00 B6 9A 07 63 73 A5 CA 38 90 00 66 [09:41:21]RAPDU: B6 9A 07 63 73 A5 CA 38 90 00 [09:41:21]wFMCommunicate OK [09:41:21]SAM_PROTO_SignData done [09:41:21]FM_MakeSignedData done [09:41:21]CreateOFDProtocolMessage [09:41:21]wFMCommunicate request_size=4 [09:41:21]MH_SAM_APDU [09:41:21]CAPDU: 80 11 00 00 [09:41:21]Write to MH i2c: E2 08 00 0E 09 80 11 00 00 00 00 00 00 91 [09:41:21]Write i2c OK [09:41:21]MH_I2C_Read... [09:41:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:41:21]Read from MH i2c: E2 [09:41:21]MH_I2C_Read... [09:41:21]Read from MH i2c: E2 17 00 [09:41:21]MH_I2C_Read... [09:41:21]Read from MH i2c: E2 17 00 0E 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 E6 [09:41:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [09:41:21]wFMCommunicate OK [09:41:21]CreateOFDProtocolMessage done [09:41:21]OFDSenderStorePacket 32410 [09:41:21]StoreOFDPacket docnum=32410 [09:41:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 74 02 00 00 C3 DA 6C 02 E0 36 5A 03 01 00 03 00 60 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 1A 00 00 00 F4 03 04 00 42 3A E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9A 7E 00 00 35 04 06 00 EF D0 F4 7B EB D7 B6 9A 07 63 73 A5 CA 38 [09:41:21]CheckFolder [09:41:21]dirname=/storage/ofd_packets [09:41:21]CheckFolder done [09:41:21]ProducePacketName [09:41:21]name=ofd_packets/00032410 [09:41:21]NVStorageSaveData ofd_packets/00032410 [09:41:21]File name is /storage/ofd_packets/00032410 [09:41:21]Write 658 bytes [09:41:21]NVStorageSaveData done [09:41:21]OFDSenderStorePacket done [09:41:21]KKMCreateOFDPacket done [09:41:21]NVStorageSaveData kkm_last_timestamp [09:41:21]File name is /storage/kkm_last_timestamp [09:41:21]Write 4 bytes [09:41:21]NVStorageSaveData done [09:41:21]ExternCall_PrintAddStr [09:41:21]wPrintStart [09:41:21]Write to MH i2c: 01 00 00 0F 09 18 [09:41:21]Write i2c OK [09:41:21]MH_I2C_Read... [09:41:21]Read from MH i2c: 01 [09:41:21]MH_I2C_Read... [09:41:21]Read from MH i2c: 01 07 00 [09:41:21]MH_I2C_Read... [09:41:21]Read from MH i2c: 01 07 00 0F 09 00 00 00 00 00 FF 0F 2D [09:41:21]RasterBufferAndPrint [09:41:21]line Счет N : (3)58565 [09:41:21]line ИНН: 02508201610067 [09:41:21]line Контрольно-Кассовый Чек [09:41:21]line ПРОДАЖА [09:41:21]line Товар: 4600682557456 [09:41:21]line Напиток FLash up energy эн ж/б 0,5/0,45л [09:41:21]line 1.000 * 85.00 [09:41:21]line = 85.00 [09:41:21]line НДС 12% НСП 1% [09:41:21]line > о реализуемом товаре [09:41:21]line Товар: 48741224 [09:41:22]line Сигареты Winston Super Slims Blue [09:41:22]line 1.000 * 130.00 [09:41:22]line = 130.00 [09:41:22]line НДС 12% НСП 1% [09:41:22]line > о реализуемом товаре [09:41:22]line Товар: 46231529 [09:41:22]line Mentos ПФ Арбуз 6*100*2 [09:41:22]line 1.000 * 10.00 [09:41:22]line = 10.00 [09:41:22]line НДС 12% НСП 1% [09:41:22]line > о реализуемом товаре [09:41:22]line Товар: 90448300 [09:41:22]line Энерг напиток Red Bull 0,355л [09:41:22]line 1.000 * 200.00 [09:41:22]line = 200.00 [09:41:22]line НДС 12% НСП 1% [09:41:22]line > о реализуемом товаре [09:41:22]line ИТОГО: 425.00 [09:41:22]line НСП 1% : 3.76 [09:41:22]line НДС 12% : 45.13 [09:41:22]line Наличными: 425.00 [09:41:22]line Безнал.: 0.00 [09:41:22]line Место: АЗС № 99 "Партнер Нефть" [09:41:22]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [09:41:22]line СНО: Общий режим [09:41:22]line Чек 26 06.03.2024 09:41 [09:41:22]line Смена: 284 ФФД: 1.0 [09:41:22]line ЗНМ: 0300000074 [09:41:22]line РНМ: 0000000000092554 [09:41:22]line Версия ККМ: 001 [09:41:22]line ФМ: 0000000000871783 [09:41:22]line ФД: 32410 [09:41:22]line ФПД: 263680733998039 [09:41:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T094122&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32410&fm=263680733998039&tin=02508201610067®Number=0000000000092554&sum=42500 [09:41:22]OFD Sender: Processing packet 32410 [packets to send 5, broken 4] [09:41:22]ProducePacketName [09:41:22]name=ofd_packets/00032410 [09:41:22]OFD Sender: To server: pG, [09:41:22]CommunicateWithHost lk.salyk.kg:30040 [09:41:22]ConnectInit lk.salyk.kg [09:41:22]line 0 [09:41:22]written 0, free lines is 4095 [09:41:22]Connected sock=10 [09:41:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 74 02 00 00 C3 DA 6C 02 E0 36 5A 03 01 00 03 00 60 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 1A 00 00 00 F4 03 04 00 42 3A E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9A 7E 00 00 35 04 06 00 EF D0 F4 7B EB D7 B6 9A 07 63 73 A5 CA 38 [09:41:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 8F F5 47 00 BF 87 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9A 7E 00 00 F4 03 04 00 7B E2 E7 65 B6 04 01 00 00 3D 65 18 88 58 E4 20 32 [09:41:22]CommunicateWithHost err = 0 [09:41:22]CheckOFDResponse [09:41:22]1017 (14) - 77093643461234 [09:41:22]1041 (16) - 0000000000871783 [09:41:22]1040 (4) - 32410 [09:41:22]1012 (4) - 06.03.2024 03:26 [09:41:22]1206 (1) - 0 [09:41:22]OFD Sender: Remove packet 32410 [09:41:22]ProducePacketName [09:41:22]name=ofd_packets/00032410 [09:41:22]NVStorageDeleteData [09:41:22]Write to MH i2c: 01 00 00 4B 09 54 [09:41:22]Write i2c OK [09:41:22]MH_I2C_Read... [09:41:22]Read from MH i2c: 01 [09:41:22]MH_I2C_Read... [09:41:22]Read from MH i2c: 01 07 00 [09:41:22]MH_I2C_Read... [09:41:22]Read from MH i2c: 01 07 00 4B 09 00 00 00 00 00 82 0B E8 [09:41:22]RasterBufferAndPrint [09:41:22]line [09:41:22]line [09:41:22]line [09:41:22]line [09:41:22]line [09:41:22]written 0, free lines is 2953 [09:41:22]MH_Cut [09:41:22]Write to MH i2c: D1 01 00 52 09 01 2D [09:41:22]Write i2c OK [09:41:22]MH_I2C_Read... [09:41:22]Read from MH i2c: D1 [09:41:22]MH_I2C_Read... [09:41:22]Read from MH i2c: D1 01 00 [09:41:22]MH_I2C_Read... [09:41:22]Read from MH i2c: D1 01 00 52 09 00 2C [09:41:22]Write to MH i2c: 01 00 00 53 09 5C [09:41:22]Write i2c OK [09:41:22]MH_I2C_Read... [09:41:22]OFD Sender: No OFD packet to send [09:41:23]*** Cut start [09:41:23]*** Partial cut [09:41:23]*** CUTSNS_PIN = 1 [09:41:23]*** CUTSNS_PIN = 0 [09:41:24]*** Brake cut motor [09:41:24]Read from MH i2c: 01 [09:41:24]MH_I2C_Read... [09:41:24]*** Stop cut motor [09:41:24]*** Cut end [09:41:24]Read from MH i2c: 01 07 00 [09:41:24]MH_I2C_Read... [09:41:24]Read from MH i2c: 01 07 00 53 09 00 00 00 00 00 FF 0F 71 [09:41:24]process_action close_receipt done [09:41:24]requested_data is exist [09:41:24]produce_requested_data [09:41:24]requested_item fm.sn is exist - process it [09:41:24]wFMCommunicate request_size=4 [09:41:24]MH_SAM_APDU [09:41:24]CAPDU: 80 11 00 00 [09:41:24]Write to MH i2c: E2 08 00 54 09 80 11 00 00 00 00 00 00 D7 [09:41:24]Write i2c OK [09:41:24]MH_I2C_Read... [09:41:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:41:24]Read from MH i2c: E2 [09:41:24]MH_I2C_Read... [09:41:24]Read from MH i2c: E2 17 00 [09:41:24]MH_I2C_Read... [09:41:24]Read from MH i2c: E2 17 00 54 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 2C [09:41:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [09:41:24]wFMCommunicate OK [09:41:24]requested_item fd.num is exist - process it [09:41:24]SAM_PROTO_GetFieldsCounters [09:41:24]wFMCommunicate request_size=4 [09:41:24]MH_SAM_APDU [09:41:24]CAPDU: 80 13 00 00 [09:41:24]Write to MH i2c: E2 08 00 55 09 80 13 00 00 00 00 00 00 DA [09:41:24]Write i2c OK [09:41:24]MH_I2C_Read... [09:41:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:41:24]Read from MH i2c: E2 [09:41:24]MH_I2C_Read... [09:41:24]Read from MH i2c: E2 62 00 [09:41:24]MH_I2C_Read... [09:41:24]Read from MH i2c: E2 62 00 55 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 9A 7E 00 00 0E 04 04 00 1C 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 80 [09:41:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 9A 7E 00 00 0E 04 04 00 1C 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 [09:41:24]wFMCommunicate OK [09:41:24]SAM_PROTO_GetFieldsCounters done [09:41:24]requested_item shift.num is exist - process it [09:41:24]requested_item shift.opened is exist - process it [09:41:24]req_shift_opened [09:41:24]FM_GetShiftState [09:41:24]SAM_PROTO_GetShiftState [09:41:24]wFMCommunicate request_size=4 [09:41:24]MH_SAM_APDU [09:41:24]CAPDU: 80 13 01 00 [09:41:24]Write to MH i2c: E2 08 00 56 09 80 13 01 00 00 00 00 00 DC [09:41:24]Write i2c OK [09:41:24]MH_I2C_Read... [09:41:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:41:24]Read from MH i2c: E2 [09:41:24]MH_I2C_Read... [09:41:24]Read from MH i2c: E2 0E 00 [09:41:24]MH_I2C_Read... [09:41:24]Read from MH i2c: E2 0E 00 56 09 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 59 [09:41:24]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [09:41:24]wFMCommunicate OK [09:41:24]SAM_PROTO_GetShiftState done [09:41:24]FM_GetShiftState done [09:41:24]req_shift_opened done [09:41:24]requested_item shift.open_date is exist - process it [09:41:24]req_shift_open_date [09:41:24]req_shift_open_date done [09:41:24]produce_requested_data done [09:41:24]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32410,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [09:41:24]process_action_free close_receipt [09:41:24]json_value_free [09:41:24]json_value_free done [09:41:24]process_json_proto returns [09:41:24]Send response to host [09:41:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32410,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [09:41:24]free response buf [09:41:24]execute_script done [09:41:24]execute_script returns [09:41:24]free content buf [09:41:24]Sock 8.Close socket [09:41:24]Sock 8.Thread stoped [09:41:27]OFD Sender: No OFD packet to send [09:41:32]OFD Sender: No OFD packet to send [09:41:37]OFD Sender: No OFD packet to send [09:41:42]OFD Sender: No OFD packet to send [09:41:47]OFD Sender: No OFD packet to send [09:41:52]OFD Sender: No OFD packet to send [09:41:57]OFD Sender: No OFD packet to send [09:42:02]OFD Sender: No OFD packet to send [09:42:05]accept exits with 9 [09:42:05]New connection [09:42:05]New thread 3066932580 created [09:42:05]Thread 3067075940 joined [09:42:05]Waiting for new connection... [09:42:05] Sock 9.Parse request [09:42:05]Sock 9.Check first char [09:42:05]Sock 9.First char is OK [09:42:05]request: POST /json_proto HTTP/1.0 [09:42:05]Method: POST [09:42:05]URL: /json_proto [09:42:05]Method is POST - this is cgi request [09:42:05]url: /json_proto [09:42:05]query_string will be loaded in cgi processing [09:42:05]execute_cgi json_proto POST (null) [09:42:05]execute_cgi path=json_proto method=POST [09:42:05]POST find Content-Length [09:42:05]Host: 172.17.61.6:8080 [09:42:05]Content-Length: 714 [09:42:05]Content-Type: application/json [09:42:05] [09:42:05]POST finish read [09:42:05]Found Content-Length = 714 [09:42:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58566", "tax_sys" : 0, "items" : [ { "code": "4870202522688", "name": "Garden \u043D\u0430\u043F\u0438\u0442\u043E\u043A \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u0433\u0440\u0430\u043D\u0430\u0442\u0430 0,45 \u041F\u042D", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:42:05]execute_script... [09:42: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)58566", "tax_sys" : 0, "items" : [ { "code": "4870202522688", "name": "Garden \u043D\u0430\u043F\u0438\u0442\u043E\u043A \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u0433\u0440\u0430\u043D\u0430\u0442\u0430 0,45 \u041F\u042D", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:42:05]POST & json_proto [09:42:05]process_json_proto [09:42:05]json parsed OK: [09:42:05]protocol is kg_v1.0 [09:42:05]action value=close_receipt [09:42:05]process_action close_receipt [09:42:05]cmd_close_receipt [09:42:05]MH_GetDate [09:42:05]Write to MH i2c: F0 00 00 57 09 4F [09:42:05]Write i2c OK [09:42:05]MH_I2C_Read... [09:42:05]Read from MH i2c: F0 [09:42:05]MH_I2C_Read... [09:42:05]Read from MH i2c: F0 09 00 [09:42:05]MH_I2C_Read... [09:42:05]Read from MH i2c: F0 09 00 57 09 00 6F 3A E8 65 78 7F 6F 64 18 [09:42:05]GetLastDocTimeStamp 1709718082 [09:42:05]current date 1709718127 [09:42:05]FM_GetShiftState [09:42:05]SAM_PROTO_GetShiftState [09:42:05]wFMCommunicate request_size=4 [09:42:05]MH_SAM_APDU [09:42:05]CAPDU: 80 13 01 00 [09:42:05]Write to MH i2c: E2 08 00 58 09 80 13 01 00 00 00 00 00 DE [09:42:05]Write i2c OK [09:42:05]MH_I2C_Read... [09:42:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:42:05]Read from MH i2c: E2 [09:42:05]MH_I2C_Read... [09:42:05]Read from MH i2c: E2 0E 00 [09:42:05]MH_I2C_Read... [09:42:05]Read from MH i2c: E2 0E 00 58 09 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 5B [09:42:05]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [09:42:05]wFMCommunicate OK [09:42:05]SAM_PROTO_GetShiftState done [09:42:05]FM_GetShiftState done [09:42:05]opened in 1709684590 [09:42:05]opened+sec_in_day 1709770990 [09:42:05]quantity*price = 7000 [09:42:05]sum+1 = 7001 [09:42:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 27 06.03.2024 09:42 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32411 ФПД: 109810488803230 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T094207&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32411&fm=109810488803230&tin=02508201610067®Number=0000000000092554&sum=7000 0 [09:42:06]StoreToDocumentArchive [09:42:06]shift 284 fd 32411 [09:42:06]save to /storage/0284/doc_00032411 [09:42:06]save last doc name /storage/0284/doc_00032411 to /storage/kkm_last_doc_name [09:42:06]save OK [09:42:06]Clear old archive folders... [09:42:06]ProcessDocumentItem done err = 0, tmpTLVsize=306 [09:42:06]tlvbuf is 01628A20 [09:42:06]SAM_PROTO_ClearQueue [09:42:06]wFMCommunicate request_size=4 [09:42:06]MH_SAM_APDU [09:42:06]CAPDU: 80 09 00 00 [09:42:06]Write to MH i2c: E2 08 00 65 09 80 09 00 00 00 00 00 00 E0 [09:42:06]Write i2c OK [09:42:06]MH_I2C_Read... [09:42:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:42:06]Read from MH i2c: E2 [09:42:06]MH_I2C_Read... [09:42:06]Read from MH i2c: E2 03 00 [09:42:06]MH_I2C_Read... [09:42:06]Read from MH i2c: E2 03 00 65 09 00 90 00 E2 [09:42:06]RAPDU: 90 00 [09:42:06]wFMCommunicate OK [09:42:06]SAM_PROTO_ClearQueue done [09:42:06]KKMCreateOFDPacket [09:42:06]OFDProtocolAddRootSTLVToBuf [09:42:06]FM_MakeSignedData [09:42:06]FM_MakeSignedData [09:42:06]SAM_PROTO_SignData [09:42:06]wFMCommunicate request_size=4 [09:42:06]MH_SAM_APDU [09:42:06]CAPDU: 80 0D 01 02 [09:42:06]Write to MH i2c: E2 08 00 66 09 80 0D 01 02 00 00 00 00 E8 [09:42:06]Write i2c OK [09:42:06]MH_I2C_Read... [09:42:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:42:06]Read from MH i2c: E2 [09:42:06]MH_I2C_Read... [09:42:06]Read from MH i2c: E2 03 00 [09:42:06]MH_I2C_Read... [09:42:06]Read from MH i2c: E2 03 00 66 09 00 90 00 E3 [09:42:06]RAPDU: 90 00 [09:42:06]wFMCommunicate OK [09:42:06]wFMCommunicate request_size=255 [09:42:06]MH_SAM_APDU [09:42:06]CAPDU: 80 0D 02 02 FA 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 38 38 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 30 2C 34 35 20 D0 9F D0 AD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 1B 00 00 00 F4 03 04 00 6F 3A E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 [09:42:06]Write to MH i2c: E2 02 01 67 09 80 0D 02 02 FA 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 38 38 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 30 2C 34 35 20 D0 9F D0 AD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 1B 00 00 00 F4 03 04 00 6F 3A E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 00 36 [09:42:06]Write i2c OK [09:42:06]MH_I2C_Read... [09:42:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:42:07]Read from MH i2c: E2 [09:42:07]MH_I2C_Read... [09:42:07]Read from MH i2c: E2 03 00 [09:42:07]MH_I2C_Read... [09:42:07]Read from MH i2c: E2 03 00 67 09 00 90 00 E4 [09:42:07]RAPDU: 90 00 [09:42:07]wFMCommunicate OK [09:42:07]wFMCommunicate request_size=65 [09:42:07]MH_SAM_APDU [09:42:07]CAPDU: 80 0D 02 02 3C 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9B 7E 00 00 35 04 06 00 63 DF 3F 2D 7F 9E [09:42:07]Write to MH i2c: E2 44 00 68 09 80 0D 02 02 3C 00 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9B 7E 00 00 35 04 06 00 63 DF 3F 2D 7F 9E 00 00 20 [09:42:07]Write i2c OK [09:42:07]MH_I2C_Read... [09:42:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:42:07]Read from MH i2c: E2 [09:42:07]MH_I2C_Read... [09:42:07]Read from MH i2c: E2 03 00 [09:42:07]MH_I2C_Read... [09:42:07]Read from MH i2c: E2 03 00 68 09 00 90 00 E5 [09:42:07]RAPDU: 90 00 [09:42:07]wFMCommunicate OK [09:42:07]wFMCommunicate request_size=4 [09:42:07]MH_SAM_APDU [09:42:07]CAPDU: 80 0D 03 02 [09:42:07]Write to MH i2c: E2 08 00 69 09 80 0D 03 02 00 00 00 00 ED [09:42:07]Write i2c OK [09:42:07]MH_I2C_Read... [09:42:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:42:07]Read from MH i2c: E2 [09:42:07]MH_I2C_Read... [09:42:07]Read from MH i2c: E2 0B 00 [09:42:07]MH_I2C_Read... [09:42:07]Read from MH i2c: E2 0B 00 69 09 00 FC 87 39 14 62 61 17 B5 90 00 4D [09:42:07]RAPDU: FC 87 39 14 62 61 17 B5 90 00 [09:42:07]wFMCommunicate OK [09:42:07]SAM_PROTO_SignData done [09:42:07]FM_MakeSignedData done [09:42:07]CreateOFDProtocolMessage [09:42:07]wFMCommunicate request_size=4 [09:42:07]MH_SAM_APDU [09:42:07]CAPDU: 80 11 00 00 [09:42:07]Write to MH i2c: E2 08 00 6A 09 80 11 00 00 00 00 00 00 ED [09:42:07]Write i2c OK [09:42:07]MH_I2C_Read... [09:42:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:42:07]Read from MH i2c: E2 [09:42:07]MH_I2C_Read... [09:42:07]Read from MH i2c: E2 17 00 [09:42:07]MH_I2C_Read... [09:42:07]Read from MH i2c: E2 17 00 6A 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 42 [09:42:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [09:42:07]wFMCommunicate OK [09:42:07]CreateOFDProtocolMessage done [09:42:07]OFDSenderStorePacket 32411 [09:42:07]StoreOFDPacket docnum=32411 [09:42:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 46 01 00 00 1C 25 3E 01 08 A2 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 38 38 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 30 2C 34 35 20 D0 9F D0 AD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 1B 00 00 00 F4 03 04 00 6F 3A E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9B 7E 00 00 35 04 06 00 63 DF 3F 2D 7F 9E FC 87 39 14 62 61 17 B5 [09:42:07]CheckFolder [09:42:07]dirname=/storage/ofd_packets [09:42:07]CheckFolder done [09:42:07]ProducePacketName [09:42:07]name=ofd_packets/00032411 [09:42:07]NVStorageSaveData ofd_packets/00032411 [09:42:07]File name is /storage/ofd_packets/00032411 [09:42:07]Write 356 bytes [09:42:07]NVStorageSaveData done [09:42:07]OFDSenderStorePacket done [09:42:07]KKMCreateOFDPacket done [09:42:07]NVStorageSaveData kkm_last_timestamp [09:42:07]File name is /storage/kkm_last_timestamp [09:42:07]Write 4 bytes [09:42:07]NVStorageSaveData done [09:42:07]ExternCall_PrintAddStr [09:42:07]wPrintStart [09:42:07]Write to MH i2c: 01 00 00 6B 09 74 [09:42:07]Write i2c OK [09:42:07]MH_I2C_Read... [09:42:07]Read from MH i2c: 01 [09:42:07]MH_I2C_Read... [09:42:07]Read from MH i2c: 01 07 00 [09:42:07]MH_I2C_Read... [09:42:07]Read from MH i2c: 01 07 00 6B 09 00 00 00 00 00 FF 0F 89 [09:42:07]RasterBufferAndPrint [09:42:07]line Счет N : (3)58566 [09:42:07]line ИНН: 02508201610067 [09:42:07]line Контрольно-Кассовый Чек [09:42:07]line ПРОДАЖА [09:42:07]line Товар: 4870202522688 [09:42:07]line Garden напиток со вкусом граната 0,45 ПЭ [09:42:07]line 1.000 * 70.00 [09:42:07]line = 70.00 [09:42:07]line НДС 12% НСП 1% [09:42:07]line > о реализуемом товаре [09:42:07]line ИТОГО: 70.00 [09:42:07]line НСП 1% : 0.62 [09:42:07]line НДС 12% : 7.43 [09:42:07]line Наличными: 70.00 [09:42:07]line Безнал.: 0.00 [09:42:07]line Место: АЗС № 99 "Партнер Нефть" [09:42:07]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [09:42:07]line СНО: Общий режим [09:42:07]line Чек 27 06.03.2024 09:42 [09:42:07]line Смена: 284 ФФД: 1.0 [09:42:07]line ЗНМ: 0300000074 [09:42:07]line РНМ: 0000000000092554 [09:42:07]line Версия ККМ: 001 [09:42:07]line ФМ: 0000000000871783 [09:42:07]line ФД: 32411 [09:42:07]line ФПД: 109810488803230 [09:42:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T094207&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32411&fm=109810488803230&tin=02508201610067®Number=0000000000092554&sum=7000 [09:42:07]line 0 [09:42:07]OFD Sender: Processing packet 32411 [packets to send 5, broken 4] [09:42:07]ProducePacketName [09:42:07]name=ofd_packets/00032411 [09:42:07]OFD Sender: To server: pG, [09:42:07]CommunicateWithHost lk.salyk.kg:30040 [09:42:07]ConnectInit lk.salyk.kg [09:42:07]written 0, free lines is 4095 [09:42:07]Connected sock=10 [09:42:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 46 01 00 00 1C 25 3E 01 08 A2 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 38 38 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 30 2C 34 35 20 D0 9F D0 AD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 1B 00 00 00 F4 03 04 00 6F 3A E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9B 7E 00 00 35 04 06 00 63 DF 3F 2D 7F 9E FC 87 39 14 62 61 17 B5 [09:42:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 DD 80 47 00 1E 42 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9B 7E 00 00 F4 03 04 00 A8 E2 E7 65 B6 04 01 00 00 9D AC A5 3A 83 8D E3 2E [09:42:08]CommunicateWithHost err = 0 [09:42:08]CheckOFDResponse [09:42:08]1017 (14) - 77093643461234 [09:42:08]1041 (16) - 0000000000871783 [09:42:08]1040 (4) - 32411 [09:42:08]1012 (4) - 06.03.2024 03:27 [09:42:08]1206 (1) - 0 [09:42:08]OFD Sender: Remove packet 32411 [09:42:08]ProducePacketName [09:42:08]name=ofd_packets/00032411 [09:42:08]NVStorageDeleteData [09:42:08]Write to MH i2c: 01 00 00 94 09 9D [09:42:08]Write i2c OK [09:42:08]MH_I2C_Read... [09:42:08]Read from MH i2c: 01 [09:42:08]MH_I2C_Read... [09:42:08]Read from MH i2c: 01 07 00 [09:42:08]MH_I2C_Read... [09:42:08]Read from MH i2c: 01 07 00 94 09 00 00 00 00 00 B7 0C 67 [09:42:08]RasterBufferAndPrint [09:42:08]line [09:42:08]line [09:42:08]line [09:42:08]line [09:42:08]line [09:42:08]written 0, free lines is 3260 [09:42:08]MH_Cut [09:42:08]Write to MH i2c: D1 01 00 9B 09 01 76 [09:42:08]Write i2c OK [09:42:08]MH_I2C_Read... [09:42:08]Read from MH i2c: D1 [09:42:08]MH_I2C_Read... [09:42:08]Read from MH i2c: D1 01 00 [09:42:08]MH_I2C_Read... [09:42:08]Read from MH i2c: D1 01 00 9B 09 00 75 [09:42:08]Write to MH i2c: 01 00 00 9C 09 A5 [09:42:08]Write i2c OK [09:42:08]MH_I2C_Read... [09:42:08]OFD Sender: No OFD packet to send [09:42:08]*** Cut start [09:42:08]*** Partial cut [09:42:08]*** CUTSNS_PIN = 1 [09:42:08]*** CUTSNS_PIN = 0 [09:42:09]*** Brake cut motor [09:42:09]Read from MH i2c: 01 [09:42:09]MH_I2C_Read... [09:42:09]*** Stop cut motor [09:42:09]*** Cut end [09:42:09]Read from MH i2c: 01 07 00 [09:42:09]MH_I2C_Read... [09:42:09]Read from MH i2c: 01 07 00 9C 09 00 00 00 00 00 FF 0F BA [09:42:09]process_action close_receipt done [09:42:09]requested_data is exist [09:42:09]produce_requested_data [09:42:09]requested_item fm.sn is exist - process it [09:42:09]wFMCommunicate request_size=4 [09:42:09]MH_SAM_APDU [09:42:09]CAPDU: 80 11 00 00 [09:42:09]Write to MH i2c: E2 08 00 9D 09 80 11 00 00 00 00 00 00 20 [09:42:09]Write i2c OK [09:42:09]MH_I2C_Read... [09:42:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:42:09]Read from MH i2c: E2 [09:42:09]MH_I2C_Read... [09:42:09]Read from MH i2c: E2 17 00 [09:42:09]MH_I2C_Read... [09:42:09]Read from MH i2c: E2 17 00 9D 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 75 [09:42:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [09:42:09]wFMCommunicate OK [09:42:09]requested_item fd.num is exist - process it [09:42:09]SAM_PROTO_GetFieldsCounters [09:42:09]wFMCommunicate request_size=4 [09:42:09]MH_SAM_APDU [09:42:09]CAPDU: 80 13 00 00 [09:42:09]Write to MH i2c: E2 08 00 9E 09 80 13 00 00 00 00 00 00 23 [09:42:09]Write i2c OK [09:42:09]MH_I2C_Read... [09:42:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:42:09]Read from MH i2c: E2 [09:42:09]MH_I2C_Read... [09:42:09]Read from MH i2c: E2 62 00 [09:42:09]MH_I2C_Read... [09:42:09]Read from MH i2c: E2 62 00 9E 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 9B 7E 00 00 0E 04 04 00 1C 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 CD [09:42:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 9B 7E 00 00 0E 04 04 00 1C 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 [09:42:09]wFMCommunicate OK [09:42:09]SAM_PROTO_GetFieldsCounters done [09:42:09]requested_item shift.num is exist - process it [09:42:09]requested_item shift.opened is exist - process it [09:42:09]req_shift_opened [09:42:09]FM_GetShiftState [09:42:09]SAM_PROTO_GetShiftState [09:42:09]wFMCommunicate request_size=4 [09:42:09]MH_SAM_APDU [09:42:09]CAPDU: 80 13 01 00 [09:42:09]Write to MH i2c: E2 08 00 9F 09 80 13 01 00 00 00 00 00 25 [09:42:09]Write i2c OK [09:42:09]MH_I2C_Read... [09:42:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:42:09]Read from MH i2c: E2 [09:42:09]MH_I2C_Read... [09:42:09]Read from MH i2c: E2 0E 00 [09:42:09]MH_I2C_Read... [09:42:09]Read from MH i2c: E2 0E 00 9F 09 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 A2 [09:42:09]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [09:42:09]wFMCommunicate OK [09:42:09]SAM_PROTO_GetShiftState done [09:42:09]FM_GetShiftState done [09:42:09]req_shift_opened done [09:42:09]requested_item shift.open_date is exist - process it [09:42:09]req_shift_open_date [09:42:09]req_shift_open_date done [09:42:09]produce_requested_data done [09:42:09]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32411,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [09:42:09]process_action_free close_receipt [09:42:09]json_value_free [09:42:09]json_value_free done [09:42:09]process_json_proto returns [09:42:09]Send response to host [09:42:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32411,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [09:42:09]free response buf [09:42:09]execute_script done [09:42:09]execute_script returns [09:42:09]free content buf [09:42:09]Sock 9.Close socket [09:42:09]Sock 9.Thread stoped [09:42:13]OFD Sender: No OFD packet to send [09:42:18]OFD Sender: No OFD packet to send [09:42:23]OFD Sender: No OFD packet to send [09:42:28]OFD Sender: No OFD packet to send [09:42:33]OFD Sender: No OFD packet to send [09:42:38]OFD Sender: No OFD packet to send [09:42:43]OFD Sender: No OFD packet to send [09:42:48]OFD Sender: No OFD packet to send [09:42:53]OFD Sender: No OFD packet to send [09:42:58]OFD Sender: No OFD packet to send [09:43:03]OFD Sender: No OFD packet to send [09:43:08]OFD Sender: No OFD packet to send [09:43:13]OFD Sender: No OFD packet to send [09:43:18]OFD Sender: No OFD packet to send [09:43:23]OFD Sender: No OFD packet to send [09:43:28]OFD Sender: No OFD packet to send [09:43:33]OFD Sender: No OFD packet to send [09:43:38]OFD Sender: No OFD packet to send [09:43:43]OFD Sender: No OFD packet to send [09:43:48]OFD Sender: No OFD packet to send [09:43:50]accept exits with 8 [09:43:50]New connection [09:43:50]New thread 3067075940 created [09:43:50]Thread 3066932580 joined [09:43:50]Waiting for new connection... [09:43:50] Sock 8.Parse request [09:43:50]Sock 8.Check first char [09:43:50]Sock 8.First char is OK [09:43:50]request: POST /json_proto HTTP/1.0 [09:43:50]Method: POST [09:43:50]URL: /json_proto [09:43:50]Method is POST - this is cgi request [09:43:50]url: /json_proto [09:43:50]query_string will be loaded in cgi processing [09:43:50]execute_cgi json_proto POST (null) [09:43:50]execute_cgi path=json_proto method=POST [09:43:50]POST find Content-Length [09:43:50]Host: 172.17.61.6:8080 [09:43:50]Content-Length: 1277 [09:43:50]Content-Type: application/json [09:43:50] [09:43:50]POST finish read [09:43:50]Found Content-Length = 1277 [09:43:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58567", "tax_sys" : 0, "items" : [ { "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032710015", "name": "\u0421\u043E\u0447\u043D\u0438\u043A DC \u0442\u0432\u043E\u0440\u043E\u0433 75\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.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" : 138.00, "quantity" : 1.000, "sum" : 138.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" : 293.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:43:50]execute_script... [09:43: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)58567", "tax_sys" : 0, "items" : [ { "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032710015", "name": "\u0421\u043E\u0447\u043D\u0438\u043A DC \u0442\u0432\u043E\u0440\u043E\u0433 75\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.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" : 138.00, "quantity" : 1.000, "sum" : 138.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" : 293.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:43:50]POST & json_proto [09:43:50]process_json_proto [09:43:50]json parsed OK: [09:43:50]protocol is kg_v1.0 [09:43:50]action value=close_receipt [09:43:50]process_action close_receipt [09:43:50]cmd_close_receipt [09:43:50]MH_GetDate [09:43:50]Write to MH i2c: F0 00 00 A0 09 98 [09:43:50]Write i2c OK [09:43:50]MH_I2C_Read... [09:43:50]Read from MH i2c: F0 [09:43:50]MH_I2C_Read... [09:43:50]Read from MH i2c: F0 09 00 [09:43:50]MH_I2C_Read... [09:43:50]Read from MH i2c: F0 09 00 A0 09 00 D8 3A E8 65 78 7F 6F 64 CA [09:43:50]GetLastDocTimeStamp 1709718127 [09:43:50]current date 1709718232 [09:43:50]FM_GetShiftState [09:43:50]SAM_PROTO_GetShiftState [09:43:50]wFMCommunicate request_size=4 [09:43:50]MH_SAM_APDU [09:43:50]CAPDU: 80 13 01 00 [09:43:50]Write to MH i2c: E2 08 00 A1 09 80 13 01 00 00 00 00 00 27 [09:43:50]Write i2c OK [09:43:50]MH_I2C_Read... [09:43:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:43:50]Read from MH i2c: E2 [09:43:50]MH_I2C_Read... [09:43:50]Read from MH i2c: E2 0E 00 [09:43:50]MH_I2C_Read... [09:43:50]Read from MH i2c: E2 0E 00 A1 09 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 A4 [09:43:50]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [09:43:50]wFMCommunicate OK [09:43:50]SAM_PROTO_GetShiftState done [09:43:50]FM_GetShiftState done [09:43:50]opened in 1709684590 [09:43:50]opened+sec_in_day 1709770990 [09:43:50]quantity*price = 12000 [09:43:50]sum+1 = 12001 [09:43:50]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000032710015 Сочник DC творог 75г 1.000 * 35.00 = 35.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4640030091645 Сигареты ESSE Exchange M 1.000 * 138.00 = 138.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 293.00 НСП 1% : 2.59 НДС 12% : 31.11 Наличными: 0.00 Безнал.: 293.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 28 06.03.2024 09:43 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871783 ФД: 32412 ФПД: 25411922605921 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T094352&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32412&fm=25411922605921&tin=02508201610067®Number=0000000000092554&sum=29300 0 [09:43:51]StoreToDocumentArchive [09:43:51]shift 284 fd 32412 [09:43:51]save to /storage/0284/doc_00032412 [09:43:51]save last doc name /storage/0284/doc_00032412 to /storage/kkm_last_doc_name [09:43:51]save OK [09:43:51]Clear old archive folders... [09:43:51]ProcessDocumentItem done err = 0, tmpTLVsize=493 [09:43:51]tlvbuf is 01661D50 [09:43:51]SAM_PROTO_ClearQueue [09:43:51]wFMCommunicate request_size=4 [09:43:51]MH_SAM_APDU [09:43:51]CAPDU: 80 09 00 00 [09:43:51]Write to MH i2c: E2 08 00 AE 09 80 09 00 00 00 00 00 00 29 [09:43:51]Write i2c OK [09:43:51]MH_I2C_Read... [09:43:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:43:51]Read from MH i2c: E2 [09:43:51]MH_I2C_Read... [09:43:51]Read from MH i2c: E2 03 00 [09:43:51]MH_I2C_Read... [09:43:51]Read from MH i2c: E2 03 00 AE 09 00 90 00 2B [09:43:51]RAPDU: 90 00 [09:43:51]wFMCommunicate OK [09:43:51]SAM_PROTO_ClearQueue done [09:43:51]KKMCreateOFDPacket [09:43:51]OFDProtocolAddRootSTLVToBuf [09:43:51]FM_MakeSignedData [09:43:51]FM_MakeSignedData [09:43:51]SAM_PROTO_SignData [09:43:51]wFMCommunicate request_size=4 [09:43:51]MH_SAM_APDU [09:43:51]CAPDU: 80 0D 01 02 [09:43:51]Write to MH i2c: E2 08 00 AF 09 80 0D 01 02 00 00 00 00 31 [09:43:51]Write i2c OK [09:43:51]MH_I2C_Read... [09:43:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:43:51]Read from MH i2c: E2 [09:43:51]MH_I2C_Read... [09:43:51]Read from MH i2c: E2 03 00 [09:43:51]MH_I2C_Read... [09:43:51]Read from MH i2c: E2 03 00 AF 09 00 90 00 2C [09:43:51]RAPDU: 90 00 [09:43:51]wFMCommunicate OK [09:43:51]wFMCommunicate request_size=255 [09:43:51]MH_SAM_APDU [09:43:51]CAPDU: 80 0D 02 02 FA 03 00 ED 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 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 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 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 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 [09:43:51]Write to MH i2c: E2 02 01 B0 09 80 0D 02 02 FA 00 03 00 ED 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 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 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 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 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 00 00 59 [09:43:51]Write i2c OK [09:43:51]MH_I2C_Read... [09:43:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:43:51]Read from MH i2c: E2 [09:43:51]MH_I2C_Read... [09:43:51]Read from MH i2c: E2 03 00 [09:43:51]MH_I2C_Read... [09:43:51]Read from MH i2c: E2 03 00 B0 09 00 90 00 2D [09:43:51]RAPDU: 90 00 [09:43:51]wFMCommunicate OK [09:43:51]wFMCommunicate request_size=252 [09:43:51]MH_SAM_APDU [09:43:51]CAPDU: 80 0D 02 02 F7 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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 72 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 27 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 72 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 D8 3A E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9C 7E 00 00 35 04 06 00 17 1C AC 9E B7 61 [09:43:51]Write to MH i2c: E2 FF 00 B1 09 80 0D 02 02 F7 00 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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 72 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 27 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 72 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 D8 3A E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9C 7E 00 00 35 04 06 00 17 1C AC 9E B7 61 00 00 99 [09:43:51]Write i2c OK [09:43:51]MH_I2C_Read... [09:43:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:43:52]Read from MH i2c: E2 [09:43:52]MH_I2C_Read... [09:43:52]Read from MH i2c: E2 03 00 [09:43:52]MH_I2C_Read... [09:43:52]Read from MH i2c: E2 03 00 B1 09 00 90 00 2E [09:43:52]RAPDU: 90 00 [09:43:52]wFMCommunicate OK [09:43:52]wFMCommunicate request_size=4 [09:43:52]MH_SAM_APDU [09:43:52]CAPDU: 80 0D 03 02 [09:43:52]Write to MH i2c: E2 08 00 B2 09 80 0D 03 02 00 00 00 00 36 [09:43:52]Write i2c OK [09:43:52]MH_I2C_Read... [09:43:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:43:52]Read from MH i2c: E2 [09:43:52]MH_I2C_Read... [09:43:52]Read from MH i2c: E2 0B 00 [09:43:52]MH_I2C_Read... [09:43:52]Read from MH i2c: E2 0B 00 B2 09 00 B0 E6 59 39 DF 90 BE 92 90 00 1E [09:43:52]RAPDU: B0 E6 59 39 DF 90 BE 92 90 00 [09:43:52]wFMCommunicate OK [09:43:52]SAM_PROTO_SignData done [09:43:52]FM_MakeSignedData done [09:43:52]CreateOFDProtocolMessage [09:43:52]wFMCommunicate request_size=4 [09:43:52]MH_SAM_APDU [09:43:52]CAPDU: 80 11 00 00 [09:43:52]Write to MH i2c: E2 08 00 B3 09 80 11 00 00 00 00 00 00 36 [09:43:52]Write i2c OK [09:43:52]MH_I2C_Read... [09:43:52]Read from MH i2c: E2 [09:43:52]MH_I2C_Read... [09:43:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:43:52]Read from MH i2c: E2 17 00 [09:43:52]MH_I2C_Read... [09:43:52]Read from MH i2c: E2 17 00 B3 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 8B [09:43:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [09:43:52]wFMCommunicate OK [09:43:52]CreateOFDProtocolMessage done [09:43:52]OFDSenderStorePacket 32412 [09:43:52]StoreOFDPacket docnum=32412 [09:43:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 01 02 00 00 37 67 F9 01 38 6E 5A 03 01 00 03 00 ED 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 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 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 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 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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 72 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 27 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 72 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 D8 3A E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9C 7E 00 00 35 04 06 00 17 1C AC 9E B7 61 B0 E6 59 39 DF 90 BE 92 [09:43:52]CheckFolder [09:43:52]dirname=/storage/ofd_packets [09:43:52]CheckFolder done [09:43:52]ProducePacketName [09:43:52]name=ofd_packets/00032412 [09:43:52]NVStorageSaveData ofd_packets/00032412 [09:43:52]File name is /storage/ofd_packets/00032412 [09:43:52]Write 543 bytes [09:43:52]NVStorageSaveData done [09:43:52]OFDSenderStorePacket done [09:43:52]KKMCreateOFDPacket done [09:43:52]NVStorageSaveData kkm_last_timestamp [09:43:52]File name is /storage/kkm_last_timestamp [09:43:52]Write 4 bytes [09:43:52]NVStorageSaveData done [09:43:52]ExternCall_PrintAddStr [09:43:52]wPrintStart [09:43:52]Write to MH i2c: 01 00 00 B4 09 BD [09:43:52]Write i2c OK [09:43:52]MH_I2C_Read... [09:43:52]Read from MH i2c: 01 [09:43:52]MH_I2C_Read... [09:43:52]Read from MH i2c: 01 07 00 [09:43:52]MH_I2C_Read... [09:43:52]Read from MH i2c: 01 07 00 B4 09 00 00 00 00 00 FF 0F D2 [09:43:52]RasterBufferAndPrint [09:43:52]line Счет N : (3)58567 [09:43:52]line ИНН: 02508201610067 [09:43:52]line Контрольно-Кассовый Чек [09:43:52]line ПРОДАЖА [09:43:52]line Товар: 2000034250011 [09:43:52]line Горячий шоколад (GABB trade) [09:43:52]line 1.000 * 120.00 [09:43:52]line = 120.00 [09:43:52]line НДС 12% НСП 1% [09:43:52]line > о реализуемом товаре [09:43:52]line Товар: 2000032710015 [09:43:52]line Сочник DC творог 75г [09:43:52]line 1.000 * 35.00 [09:43:52]line = 35.00 [09:43:52]line НДС 12% НСП 1% [09:43:52]line > о реализуемом товаре [09:43:52]line Товар: 4640030091645 [09:43:52]line Сигареты ESSE Exchange M [09:43:52]line 1.000 * 138.00 [09:43:52]line = 138.00 [09:43:52]line НДС 12% НСП 1% [09:43:52]line > о реализуемом товаре [09:43:52]line ИТОГО: 293.00 [09:43:52]line НСП 1% : 2.59 [09:43:52]line НДС 12% : 31.11 [09:43:52]line Наличными: 0.00 [09:43:52]line Безнал.: 293.00 [09:43:52]line Место: АЗС № 99 "Партнер Нефть" [09:43:52]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [09:43:52]line СНО: Общий режим [09:43:52]line Чек 28 06.03.2024 09:43 [09:43:52]line Смена: 284 ФФД: 1.0 [09:43:52]line ЗНМ: 0300000074 [09:43:52]line РНМ: 0000000000092554 [09:43:52]line Версия ККМ: 001 [09:43:52]line Платежная система: Mbank [09:43:52]line ФМ: 0000000000871783 [09:43:52]line ФД: 32412 [09:43:52]line ФПД: 25411922605921 [09:43:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T094352&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32412&fm=25411922605921&tin=02508201610067®Number=0000000000092554&sum=29300 [09:43:52]line 0 [09:43:52]OFD Sender: Processing packet 32412 [packets to send 5, broken 4] [09:43:52]ProducePacketName [09:43:52]name=ofd_packets/00032412 [09:43:52]OFD Sender: To server: pG, [09:43:52]CommunicateWithHost lk.salyk.kg:30040 [09:43:52]ConnectInit lk.salyk.kg [09:43:52]written 0, free lines is 4095 [09:43:52]Connected sock=10 [09:43:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 01 02 00 00 37 67 F9 01 38 6E 5A 03 01 00 03 00 ED 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 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 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 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 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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 72 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 27 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 72 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 D8 3A E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9C 7E 00 00 35 04 06 00 17 1C AC 9E B7 61 B0 E6 59 39 DF 90 BE 92 [09:43:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 C8 0A 47 00 D6 F7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9C 7E 00 00 F4 03 04 00 11 E3 E7 65 B6 04 01 00 00 98 82 12 5D B0 69 CC 0D [09:43:53]CommunicateWithHost err = 0 [09:43:53]CheckOFDResponse [09:43:53]1017 (14) - 77093643461234 [09:43:53]1041 (16) - 0000000000871783 [09:43:53]1040 (4) - 32412 [09:43:53]1012 (4) - 06.03.2024 03:29 [09:43:53]1206 (1) - 0 [09:43:53]OFD Sender: Remove packet 32412 [09:43:53]ProducePacketName [09:43:53]name=ofd_packets/00032412 [09:43:53]NVStorageDeleteData [09:43:53]Write to MH i2c: 01 00 00 EA 09 F3 [09:43:53]Write i2c OK [09:43:53]MH_I2C_Read... [09:43:53]Read from MH i2c: 01 [09:43:53]MH_I2C_Read... [09:43:53]Read from MH i2c: 01 07 00 [09:43:53]MH_I2C_Read... [09:43:53]Read from MH i2c: 01 07 00 EA 09 00 00 00 00 00 0B 0C 11 [09:43:53]RasterBufferAndPrint [09:43:53]line [09:43:53]line [09:43:53]line [09:43:53]line [09:43:53]line [09:43:53]written 0, free lines is 3089 [09:43:53]MH_Cut [09:43:53]Write to MH i2c: D1 01 00 F1 09 01 CC [09:43:53]Write i2c OK [09:43:53]MH_I2C_Read... [09:43:53]Read from MH i2c: D1 [09:43:53]MH_I2C_Read... [09:43:53]Read from MH i2c: D1 01 00 [09:43:53]MH_I2C_Read... [09:43:53]Read from MH i2c: D1 01 00 F1 09 00 CB [09:43:53]Write to MH i2c: 01 00 00 F2 09 FB [09:43:53]Write i2c OK [09:43:53]MH_I2C_Read... [09:43:53]OFD Sender: No OFD packet to send [09:43:54]*** Cut start [09:43:54]*** Partial cut [09:43:54]*** CUTSNS_PIN = 1 [09:43:54]*** CUTSNS_PIN = 0 [09:43:54]*** Brake cut motor [09:43:54]Read from MH i2c: 01 [09:43:54]MH_I2C_Read... [09:43:54]*** Stop cut motor [09:43:54]*** Cut end [09:43:54]Read from MH i2c: 01 07 00 [09:43:54]MH_I2C_Read... [09:43:54]Read from MH i2c: 01 07 00 F2 09 00 00 00 00 00 FF 0F 10 [09:43:54]process_action close_receipt done [09:43:54]requested_data is exist [09:43:54]produce_requested_data [09:43:54]requested_item fm.sn is exist - process it [09:43:54]wFMCommunicate request_size=4 [09:43:54]MH_SAM_APDU [09:43:54]CAPDU: 80 11 00 00 [09:43:54]Write to MH i2c: E2 08 00 F3 09 80 11 00 00 00 00 00 00 76 [09:43:54]Write i2c OK [09:43:54]MH_I2C_Read... [09:43:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:43:54]Read from MH i2c: E2 [09:43:54]MH_I2C_Read... [09:43:54]Read from MH i2c: E2 17 00 [09:43:54]MH_I2C_Read... [09:43:54]Read from MH i2c: E2 17 00 F3 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 CB [09:43:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [09:43:54]wFMCommunicate OK [09:43:54]requested_item fd.num is exist - process it [09:43:54]SAM_PROTO_GetFieldsCounters [09:43:54]wFMCommunicate request_size=4 [09:43:54]MH_SAM_APDU [09:43:54]CAPDU: 80 13 00 00 [09:43:54]Write to MH i2c: E2 08 00 F4 09 80 13 00 00 00 00 00 00 79 [09:43:54]Write i2c OK [09:43:54]MH_I2C_Read... [09:43:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:43:55]Read from MH i2c: E2 [09:43:55]MH_I2C_Read... [09:43:55]Read from MH i2c: E2 62 00 [09:43:55]MH_I2C_Read... [09:43:55]Read from MH i2c: E2 62 00 F4 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 9C 7E 00 00 0E 04 04 00 1C 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 27 [09:43:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 9C 7E 00 00 0E 04 04 00 1C 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 [09:43:55]wFMCommunicate OK [09:43:55]SAM_PROTO_GetFieldsCounters done [09:43:55]requested_item shift.num is exist - process it [09:43:55]requested_item shift.opened is exist - process it [09:43:55]req_shift_opened [09:43:55]FM_GetShiftState [09:43:55]SAM_PROTO_GetShiftState [09:43:55]wFMCommunicate request_size=4 [09:43:55]MH_SAM_APDU [09:43:55]CAPDU: 80 13 01 00 [09:43:55]Write to MH i2c: E2 08 00 F5 09 80 13 01 00 00 00 00 00 7B [09:43:55]Write i2c OK [09:43:55]MH_I2C_Read... [09:43:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:43:55]Read from MH i2c: E2 [09:43:55]MH_I2C_Read... [09:43:55]Read from MH i2c: E2 0E 00 [09:43:55]MH_I2C_Read... [09:43:55]Read from MH i2c: E2 0E 00 F5 09 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 F8 [09:43:55]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [09:43:55]wFMCommunicate OK [09:43:55]SAM_PROTO_GetShiftState done [09:43:55]FM_GetShiftState done [09:43:55]req_shift_opened done [09:43:55]requested_item shift.open_date is exist - process it [09:43:55]req_shift_open_date [09:43:55]req_shift_open_date done [09:43:55]produce_requested_data done [09:43:55]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32412,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [09:43:55]process_action_free close_receipt [09:43:55]json_value_free [09:43:55]json_value_free done [09:43:55]process_json_proto returns [09:43:55]Send response to host [09:43:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32412,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [09:43:55]free response buf [09:43:55]execute_script done [09:43:55]execute_script returns [09:43:55]free content buf [09:43:55]Sock 8.Close socket [09:43:55]Sock 8.Thread stoped [09:43:58]OFD Sender: No OFD packet to send [09:44:03]OFD Sender: No OFD packet to send [09:44:08]OFD Sender: No OFD packet to send [09:44:13]OFD Sender: No OFD packet to send [09:44:18]OFD Sender: No OFD packet to send [09:44:23]OFD Sender: No OFD packet to send [09:44:28]OFD Sender: No OFD packet to send [09:44:33]OFD Sender: No OFD packet to send [09:44:38]OFD Sender: No OFD packet to send [09:44:43]OFD Sender: No OFD packet to send [09:44:48]OFD Sender: No OFD packet to send [09:44:53]OFD Sender: No OFD packet to send [09:44:58]OFD Sender: No OFD packet to send [09:45:03]OFD Sender: No OFD packet to send [09:45:08]OFD Sender: No OFD packet to send [09:45:13]OFD Sender: No OFD packet to send [09:45:18]OFD Sender: No OFD packet to send [09:45:23]OFD Sender: No OFD packet to send [09:45:28]OFD Sender: No OFD packet to send [09:45:33]OFD Sender: No OFD packet to send [09:45:38]OFD Sender: No OFD packet to send [09:45:43]OFD Sender: No OFD packet to send [09:45:48]OFD Sender: No OFD packet to send [09:45:53]OFD Sender: No OFD packet to send [09:45:58]OFD Sender: No OFD packet to send [09:46:03]OFD Sender: No OFD packet to send [09:46:08]OFD Sender: No OFD packet to send [09:46:13]OFD Sender: No OFD packet to send [09:46:18]OFD Sender: No OFD packet to send [09:46:23]OFD Sender: No OFD packet to send [09:46:28]OFD Sender: No OFD packet to send [09:46:33]OFD Sender: No OFD packet to send [09:46:38]OFD Sender: No OFD packet to send [09:46:43]OFD Sender: No OFD packet to send [09:46:48]OFD Sender: No OFD packet to send [09:46:53]OFD Sender: No OFD packet to send [09:46:58]OFD Sender: No OFD packet to send [09:47:03]OFD Sender: No OFD packet to send [09:47:08]OFD Sender: No OFD packet to send [09:47:13]OFD Sender: No OFD packet to send [09:47:18]OFD Sender: No OFD packet to send [09:47:23]OFD Sender: No OFD packet to send [09:47:28]OFD Sender: No OFD packet to send [09:47:33]OFD Sender: No OFD packet to send [09:47:38]OFD Sender: No OFD packet to send [09:47:43]OFD Sender: No OFD packet to send [09:47:48]OFD Sender: No OFD packet to send [09:47:53]OFD Sender: No OFD packet to send [09:47:58]OFD Sender: No OFD packet to send [09:48:03]OFD Sender: No OFD packet to send [09:48:08]OFD Sender: No OFD packet to send [09:48:13]OFD Sender: No OFD packet to send [09:48:18]OFD Sender: No OFD packet to send [09:48:23]OFD Sender: No OFD packet to send [09:48:28]OFD Sender: No OFD packet to send [09:48:33]OFD Sender: No OFD packet to send [09:48:38]OFD Sender: No OFD packet to send [09:48:43]OFD Sender: No OFD packet to send [09:48:48]OFD Sender: No OFD packet to send [09:48:53]OFD Sender: No OFD packet to send [09:48:58]OFD Sender: No OFD packet to send [09:49:03]OFD Sender: No OFD packet to send [09:49:08]OFD Sender: No OFD packet to send [09:49:13]OFD Sender: No OFD packet to send [09:49:18]OFD Sender: No OFD packet to send [09:49:23]OFD Sender: No OFD packet to send [09:49:28]OFD Sender: No OFD packet to send [09:49:33]OFD Sender: No OFD packet to send [09:49:38]OFD Sender: No OFD packet to send [09:49:43]OFD Sender: No OFD packet to send [09:49:48]OFD Sender: No OFD packet to send [09:49:53]OFD Sender: No OFD packet to send [09:49:58]OFD Sender: No OFD packet to send [09:50:03]OFD Sender: No OFD packet to send [09:50:08]OFD Sender: No OFD packet to send [09:50:13]OFD Sender: No OFD packet to send [09:50:18]OFD Sender: No OFD packet to send [09:50:23]OFD Sender: No OFD packet to send [09:50:27]accept exits with 9 [09:50:27]New connection [09:50:27]New thread 3066932580 created [09:50:27]Thread 3067075940 joined [09:50:27]Waiting for new connection... [09:50:27] Sock 9.Parse request [09:50:27]Sock 9.Check first char [09:50:27]Sock 9.First char is OK [09:50:27]request: POST /json_proto HTTP/1.0 [09:50:27]Method: POST [09:50:27]URL: /json_proto [09:50:27]Method is POST - this is cgi request [09:50:27]url: /json_proto [09:50:27]query_string will be loaded in cgi processing [09:50:27]execute_cgi json_proto POST (null) [09:50:27]execute_cgi path=json_proto method=POST [09:50:27]POST find Content-Length [09:50:27]Host: 172.17.61.6:8080 [09:50:27]Content-Length: 666 [09:50:27]Content-Type: application/json [09:50:27] [09:50:27]POST finish read [09:50:27]Found Content-Length = 666 [09:50:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58568", "tax_sys" : 0, "items" : [ { "code": "4800452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL (\u0410\u041A\u0426\u0418\u042F)", "price" : 120.00, "quantity" : 2.000, "sum" : 240.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 240.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:50:27]execute_script... [09:50:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58568", "tax_sys" : 0, "items" : [ { "code": "4800452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL (\u0410\u041A\u0426\u0418\u042F)", "price" : 120.00, "quantity" : 2.000, "sum" : 240.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 240.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:50:27]POST & json_proto [09:50:27]process_json_proto [09:50:27]json parsed OK: [09:50:27]protocol is kg_v1.0 [09:50:27]action value=close_receipt [09:50:27]process_action close_receipt [09:50:27]cmd_close_receipt [09:50:27]MH_GetDate [09:50:27]Write to MH i2c: F0 00 00 F6 09 EE [09:50:27]Write i2c OK [09:50:27]MH_I2C_Read... [09:50:27]Read from MH i2c: F0 [09:50:27]MH_I2C_Read... [09:50:27]Read from MH i2c: F0 09 00 [09:50:27]MH_I2C_Read... [09:50:27]Read from MH i2c: F0 09 00 F6 09 00 65 3C E8 65 78 7F 6F 64 AF [09:50:27]GetLastDocTimeStamp 1709718232 [09:50:27]current date 1709718629 [09:50:27]FM_GetShiftState [09:50:27]SAM_PROTO_GetShiftState [09:50:27]wFMCommunicate request_size=4 [09:50:27]MH_SAM_APDU [09:50:27]CAPDU: 80 13 01 00 [09:50:27]Write to MH i2c: E2 08 00 F7 09 80 13 01 00 00 00 00 00 7D [09:50:27]Write i2c OK [09:50:27]MH_I2C_Read... [09:50:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:50:27]Read from MH i2c: E2 [09:50:27]MH_I2C_Read... [09:50:27]Read from MH i2c: E2 0E 00 [09:50:27]MH_I2C_Read... [09:50:27]Read from MH i2c: E2 0E 00 F7 09 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 FA [09:50:27]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [09:50:27]wFMCommunicate OK [09:50:27]SAM_PROTO_GetShiftState done [09:50:27]FM_GetShiftState done [09:50:27]opened in 1709684590 [09:50:27]opened+sec_in_day 1709770990 [09:50:27]quantity*price = 24000 [09:50:27]sum+1 = 24001 [09:50:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 240.00 НСП 1% : 2.12 НДС 12% : 25.49 Наличными: 240.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 29 06.03.2024 09:50 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32413 ФПД: 240774101739385 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T095030&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32413&fm=240774101739385&tin=02508201610067®Number=0000000000092554&sum=24000 0 [09:50:28]StoreToDocumentArchive [09:50:28]shift 284 fd 32413 [09:50:28]save to /storage/0284/doc_00032413 [09:50:28]save last doc name /storage/0284/doc_00032413 to /storage/kkm_last_doc_name [09:50:28]save OK [09:50:28]Clear old archive folders... [09:50:28]ProcessDocumentItem done err = 0, tmpTLVsize=283 [09:50:28]tlvbuf is 01658BD0 [09:50:28]SAM_PROTO_ClearQueue [09:50:28]wFMCommunicate request_size=4 [09:50:28]MH_SAM_APDU [09:50:28]CAPDU: 80 09 00 00 [09:50:28]Write to MH i2c: E2 08 00 04 0A 80 09 00 00 00 00 00 00 80 [09:50:28]Write i2c OK [09:50:28]MH_I2C_Read... [09:50:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:50:28]Read from MH i2c: E2 [09:50:28]MH_I2C_Read... [09:50:28]Read from MH i2c: E2 03 00 [09:50:28]MH_I2C_Read... [09:50:28]Read from MH i2c: E2 03 00 04 0A 00 90 00 82 [09:50:28]RAPDU: 90 00 [09:50:28]wFMCommunicate OK [09:50:28]SAM_PROTO_ClearQueue done [09:50:28]KKMCreateOFDPacket [09:50:28]OFDProtocolAddRootSTLVToBuf [09:50:28]FM_MakeSignedData [09:50:28]FM_MakeSignedData [09:50:28]SAM_PROTO_SignData [09:50:28]wFMCommunicate request_size=4 [09:50:28]MH_SAM_APDU [09:50:28]CAPDU: 80 0D 01 02 [09:50:28]Write to MH i2c: E2 08 00 05 0A 80 0D 01 02 00 00 00 00 88 [09:50:28]Write i2c OK [09:50:28]MH_I2C_Read... [09:50:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:50:28]Read from MH i2c: E2 [09:50:28]MH_I2C_Read... [09:50:28]Read from MH i2c: E2 03 00 [09:50:28]MH_I2C_Read... [09:50:28]Read from MH i2c: E2 03 00 05 0A 00 90 00 83 [09:50:28]RAPDU: 90 00 [09:50:28]wFMCommunicate OK [09:50:28]wFMCommunicate request_size=255 [09:50:28]MH_SAM_APDU [09:50:28]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 09 00 00 00 00 07 04 06 00 C0 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 66 3C E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 [09:50:28]Write to MH i2c: E2 02 01 06 0A 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 09 00 00 00 00 07 04 06 00 C0 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 66 3C E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 00 00 F6 [09:50:28]Write i2c OK [09:50:28]MH_I2C_Read... [09:50:28]OFD Sender: No OFD packet to send [09:50:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:50:29]Read from MH i2c: E2 [09:50:29]MH_I2C_Read... [09:50:29]Read from MH i2c: E2 03 00 [09:50:29]MH_I2C_Read... [09:50:29]Read from MH i2c: E2 03 00 06 0A 00 90 00 84 [09:50:29]RAPDU: 90 00 [09:50:29]wFMCommunicate OK [09:50:29]wFMCommunicate request_size=42 [09:50:29]MH_SAM_APDU [09:50:29]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9D 7E 00 00 35 04 06 00 DA FB 96 CE 27 79 [09:50:29]Write to MH i2c: E2 2D 00 07 0A 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9D 7E 00 00 35 04 06 00 DA FB 96 CE 27 79 00 00 56 [09:50:29]Write i2c OK [09:50:29]MH_I2C_Read... [09:50:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:50:29]Read from MH i2c: E2 [09:50:29]MH_I2C_Read... [09:50:29]Read from MH i2c: E2 03 00 [09:50:29]MH_I2C_Read... [09:50:29]Read from MH i2c: E2 03 00 07 0A 00 90 00 85 [09:50:29]RAPDU: 90 00 [09:50:29]wFMCommunicate OK [09:50:29]wFMCommunicate request_size=4 [09:50:29]MH_SAM_APDU [09:50:29]CAPDU: 80 0D 03 02 [09:50:29]Write to MH i2c: E2 08 00 08 0A 80 0D 03 02 00 00 00 00 8D [09:50:29]Write i2c OK [09:50:29]MH_I2C_Read... [09:50:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:50:29]Read from MH i2c: E2 [09:50:29]MH_I2C_Read... [09:50:29]Read from MH i2c: E2 0B 00 [09:50:29]MH_I2C_Read... [09:50:29]Read from MH i2c: E2 0B 00 08 0A 00 9B BD F0 19 BF 2A D6 EE 90 00 9C [09:50:29]RAPDU: 9B BD F0 19 BF 2A D6 EE 90 00 [09:50:29]wFMCommunicate OK [09:50:29]SAM_PROTO_SignData done [09:50:29]FM_MakeSignedData done [09:50:29]CreateOFDProtocolMessage [09:50:29]wFMCommunicate request_size=4 [09:50:29]MH_SAM_APDU [09:50:29]CAPDU: 80 11 00 00 [09:50:29]Write to MH i2c: E2 08 00 09 0A 80 11 00 00 00 00 00 00 8D [09:50:29]Write i2c OK [09:50:29]MH_I2C_Read... [09:50:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:50:29]Read from MH i2c: E2 [09:50:29]MH_I2C_Read... [09:50:29]Read from MH i2c: E2 17 00 [09:50:29]MH_I2C_Read... [09:50:29]Read from MH i2c: E2 17 00 09 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 E2 [09:50:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [09:50:29]wFMCommunicate OK [09:50:29]CreateOFDProtocolMessage done [09:50:29]OFDSenderStorePacket 32413 [09:50:29]StoreOFDPacket docnum=32413 [09:50:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 2F 01 00 00 9D C4 27 01 8E 93 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 09 00 00 00 00 07 04 06 00 C0 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 66 3C E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9D 7E 00 00 35 04 06 00 DA FB 96 CE 27 79 9B BD F0 19 BF 2A D6 EE [09:50:29]CheckFolder [09:50:29]dirname=/storage/ofd_packets [09:50:29]CheckFolder done [09:50:29]ProducePacketName [09:50:29]name=ofd_packets/00032413 [09:50:29]NVStorageSaveData ofd_packets/00032413 [09:50:29]File name is /storage/ofd_packets/00032413 [09:50:29]Write 333 bytes [09:50:29]NVStorageSaveData done [09:50:29]OFDSenderStorePacket done [09:50:29]KKMCreateOFDPacket done [09:50:29]NVStorageSaveData kkm_last_timestamp [09:50:29]File name is /storage/kkm_last_timestamp [09:50:29]Write 4 bytes [09:50:29]NVStorageSaveData done [09:50:29]ExternCall_PrintAddStr [09:50:29]wPrintStart [09:50:29]Write to MH i2c: 01 00 00 0A 0A 14 [09:50:29]Write i2c OK [09:50:29]MH_I2C_Read... [09:50:29]Read from MH i2c: 01 [09:50:29]MH_I2C_Read... [09:50:29]Read from MH i2c: 01 07 00 [09:50:29]MH_I2C_Read... [09:50:29]Read from MH i2c: 01 07 00 0A 0A 00 00 00 00 00 FF 0F 29 [09:50:29]RasterBufferAndPrint [09:50:29]line Счет N : (3)58568 [09:50:29]line ИНН: 02508201610067 [09:50:29]line Контрольно-Кассовый Чек [09:50:29]line ПРОДАЖА [09:50:29]line Товар: 4800452010610 [09:50:29]line Кофе капучино XL (АКЦИЯ) [09:50:29]line 2.000 * 120.00 [09:50:29]line = 240.00 [09:50:29]line НДС 12% НСП 1% [09:50:29]line > о реализуемом товаре [09:50:29]line ИТОГО: 240.00 [09:50:29]line НСП 1% : 2.12 [09:50:29]line НДС 12% : 25.49 [09:50:29]line Наличными: 240.00 [09:50:29]line Безнал.: 0.00 [09:50:29]line Место: АЗС № 99 "Партнер Нефть" [09:50:29]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [09:50:29]line СНО: Общий режим [09:50:29]line Чек 29 06.03.2024 09:50 [09:50:29]line Смена: 284 ФФД: 1.0 [09:50:29]line ЗНМ: 0300000074 [09:50:29]line РНМ: 0000000000092554 [09:50:29]line Версия ККМ: 001 [09:50:29]line ФМ: 0000000000871783 [09:50:29]line ФД: 32413 [09:50:29]line ФПД: 240774101739385 [09:50:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T095030&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32413&fm=240774101739385&tin=02508201610067®Number=0000000000092554&sum=24000 [09:50:29]line 0 [09:50:29]OFD Sender: Processing packet 32413 [packets to send 5, broken 4] [09:50:29]ProducePacketName [09:50:29]name=ofd_packets/00032413 [09:50:29]OFD Sender: To server: pG, [09:50:29]CommunicateWithHost lk.salyk.kg:30040 [09:50:29]ConnectInit lk.salyk.kg [09:50:29]written 0, free lines is 4095 [09:50:29]Connected sock=10 [09:50:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 2F 01 00 00 9D C4 27 01 8E 93 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 09 00 00 00 00 07 04 06 00 C0 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 66 3C E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9D 7E 00 00 35 04 06 00 DA FB 96 CE 27 79 9B BD F0 19 BF 2A D6 EE [09:50:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 C7 30 47 00 19 A9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9D 7E 00 00 F4 03 04 00 9E E4 E7 65 B6 04 01 00 00 4F 0B 56 C4 12 34 41 9C [09:50:29]CommunicateWithHost err = 0 [09:50:29]CheckOFDResponse [09:50:29]1017 (14) - 77093643461234 [09:50:29]1041 (16) - 0000000000871783 [09:50:29]1040 (4) - 32413 [09:50:29]1012 (4) - 06.03.2024 03:35 [09:50:29]1206 (1) - 0 [09:50:29]OFD Sender: Remove packet 32413 [09:50:29]ProducePacketName [09:50:29]name=ofd_packets/00032413 [09:50:29]NVStorageDeleteData [09:50:30]Write to MH i2c: 01 00 00 32 0A 3C [09:50:30]Write i2c OK [09:50:30]MH_I2C_Read... [09:50:30]Read from MH i2c: 01 [09:50:30]MH_I2C_Read... [09:50:30]Read from MH i2c: 01 07 00 [09:50:30]MH_I2C_Read... [09:50:30]Read from MH i2c: 01 07 00 32 0A 00 00 00 00 00 E0 0C 2F [09:50:30]RasterBufferAndPrint [09:50:30]line [09:50:30]line [09:50:30]line [09:50:30]line [09:50:30]line [09:50:30]written 0, free lines is 3302 [09:50:30]MH_Cut [09:50:30]Write to MH i2c: D1 01 00 39 0A 01 15 [09:50:30]Write i2c OK [09:50:30]MH_I2C_Read... [09:50:30]Read from MH i2c: D1 [09:50:30]MH_I2C_Read... [09:50:30]Read from MH i2c: D1 01 00 [09:50:30]MH_I2C_Read... [09:50:30]Read from MH i2c: D1 01 00 39 0A 00 14 [09:50:30]Write to MH i2c: 01 00 00 3A 0A 44 [09:50:30]Write i2c OK [09:50:30]MH_I2C_Read... [09:50:30]OFD Sender: No OFD packet to send [09:50:30]*** Cut start [09:50:30]*** Partial cut [09:50:30]*** CUTSNS_PIN = 1 [09:50:30]*** CUTSNS_PIN = 0 [09:50:31]*** Brake cut motor [09:50:31]Read from MH i2c: 01 [09:50:31]MH_I2C_Read... [09:50:31]*** Stop cut motor [09:50:31]*** Cut end [09:50:31]Read from MH i2c: 01 07 00 [09:50:31]MH_I2C_Read... [09:50:31]Read from MH i2c: 01 07 00 3A 0A 00 00 00 00 00 FF 0F 59 [09:50:31]process_action close_receipt done [09:50:31]requested_data is exist [09:50:31]produce_requested_data [09:50:31]requested_item fm.sn is exist - process it [09:50:31]wFMCommunicate request_size=4 [09:50:31]MH_SAM_APDU [09:50:31]CAPDU: 80 11 00 00 [09:50:31]Write to MH i2c: E2 08 00 3B 0A 80 11 00 00 00 00 00 00 BF [09:50:31]Write i2c OK [09:50:31]MH_I2C_Read... [09:50:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:50:31]Read from MH i2c: E2 [09:50:31]MH_I2C_Read... [09:50:31]Read from MH i2c: E2 17 00 [09:50:31]MH_I2C_Read... [09:50:31]Read from MH i2c: E2 17 00 3B 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 14 [09:50:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [09:50:31]wFMCommunicate OK [09:50:31]requested_item fd.num is exist - process it [09:50:31]SAM_PROTO_GetFieldsCounters [09:50:31]wFMCommunicate request_size=4 [09:50:31]MH_SAM_APDU [09:50:31]CAPDU: 80 13 00 00 [09:50:31]Write to MH i2c: E2 08 00 3C 0A 80 13 00 00 00 00 00 00 C2 [09:50:31]Write i2c OK [09:50:31]MH_I2C_Read... [09:50:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:50:31]Read from MH i2c: E2 [09:50:31]MH_I2C_Read... [09:50:31]Read from MH i2c: E2 62 00 [09:50:31]MH_I2C_Read... [09:50:31]Read from MH i2c: E2 62 00 3C 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 9D 7E 00 00 0E 04 04 00 1C 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 74 [09:50:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 9D 7E 00 00 0E 04 04 00 1C 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 [09:50:31]wFMCommunicate OK [09:50:31]SAM_PROTO_GetFieldsCounters done [09:50:31]requested_item shift.num is exist - process it [09:50:31]requested_item shift.opened is exist - process it [09:50:31]req_shift_opened [09:50:31]FM_GetShiftState [09:50:31]SAM_PROTO_GetShiftState [09:50:31]wFMCommunicate request_size=4 [09:50:31]MH_SAM_APDU [09:50:31]CAPDU: 80 13 01 00 [09:50:31]Write to MH i2c: E2 08 00 3D 0A 80 13 01 00 00 00 00 00 C4 [09:50:31]Write i2c OK [09:50:31]MH_I2C_Read... [09:50:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:50:31]Read from MH i2c: E2 [09:50:31]MH_I2C_Read... [09:50:31]Read from MH i2c: E2 0E 00 [09:50:31]MH_I2C_Read... [09:50:31]Read from MH i2c: E2 0E 00 3D 0A 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 41 [09:50:31]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [09:50:31]wFMCommunicate OK [09:50:31]SAM_PROTO_GetShiftState done [09:50:31]FM_GetShiftState done [09:50:31]req_shift_opened done [09:50:31]requested_item shift.open_date is exist - process it [09:50:31]req_shift_open_date [09:50:31]req_shift_open_date done [09:50:31]produce_requested_data done [09:50:31]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32413,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [09:50:31]process_action_free close_receipt [09:50:31]json_value_free [09:50:31]json_value_free done [09:50:31]process_json_proto returns [09:50:31]Send response to host [09:50:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32413,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [09:50:31]free response buf [09:50:31]execute_script done [09:50:31]execute_script returns [09:50:31]free content buf [09:50:31]Sock 9.Close socket [09:50:31]Sock 9.Thread stoped [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:15]OFD Sender: No OFD packet to send [09:51:20]OFD Sender: No OFD packet to send [09:51:25]OFD Sender: No OFD packet to send [09:51:30]OFD Sender: No OFD packet to send [09:51:35]OFD Sender: No OFD packet to send [09:51:40]OFD Sender: No OFD packet to send [09:51:45]OFD Sender: No OFD packet to send [09:51:50]OFD Sender: No OFD packet to send [09:51:55]OFD Sender: No OFD packet to send [09:52:00]OFD Sender: No OFD packet to send [09:52:05]OFD Sender: No OFD packet to send [09:52:10]OFD Sender: No OFD packet to send [09:52:15]OFD Sender: No OFD packet to send [09:52:20]OFD Sender: No OFD packet to send [09:52:25]OFD Sender: No OFD packet to send [09:52:30]OFD Sender: No OFD packet to send [09:52:35]OFD Sender: No OFD packet to send [09:52:40]OFD Sender: No OFD packet to send [09:52:45]OFD Sender: No OFD packet to send [09:52:50]OFD Sender: No OFD packet to send [09:52:55]OFD Sender: No OFD packet to send [09:53:00]OFD Sender: No OFD packet to send [09:53:05]OFD Sender: No OFD packet to send [09:53:10]OFD Sender: No OFD packet to send [09:53:15]OFD Sender: No OFD packet to send [09:53:20]OFD Sender: No OFD packet to send [09:53:25]OFD Sender: No OFD packet to send [09:53:30]OFD Sender: No OFD packet to send [09:53:35]OFD Sender: No OFD packet to send [09:53:40]OFD Sender: No OFD packet to send [09:53:45]OFD Sender: No OFD packet to send [09:53:50]OFD Sender: No OFD packet to send [09:53:55]OFD Sender: No OFD packet to send [09:54:00]OFD Sender: No OFD packet to send [09:54:05]OFD Sender: No OFD packet to send [09:54:10]OFD Sender: No OFD packet to send [09:54:15]OFD Sender: No OFD packet to send [09:54:20]OFD Sender: No OFD packet to send [09:54:25]OFD Sender: No OFD packet to send [09:54:30]OFD Sender: No OFD packet to send [09:54:35]OFD Sender: No OFD packet to send [09:54:40]OFD Sender: No OFD packet to send [09:54:45]OFD Sender: No OFD packet to send [09:54:50]OFD Sender: No OFD packet to send [09:54:55]OFD Sender: No OFD packet to send [09:55:00]OFD Sender: No OFD packet to send [09:55:05]OFD Sender: No OFD packet to send [09:55:10]OFD Sender: No OFD packet to send [09:55:15]OFD Sender: No OFD packet to send [09:55:20]OFD Sender: No OFD packet to send [09:55:25]OFD Sender: No OFD packet to send [09:55:30]OFD Sender: No OFD packet to send [09:55:35]OFD Sender: No OFD packet to send [09:55:40]OFD Sender: No OFD packet to send [09:55:45]OFD Sender: No OFD packet to send [09:55:50]OFD Sender: No OFD packet to send [09:55:55]OFD Sender: No OFD packet to send [09:56:00]OFD Sender: No OFD packet to send [09:56:05]OFD Sender: No OFD packet to send [09:56:10]OFD Sender: No OFD packet to send [09:56:15]OFD Sender: No OFD packet to send [09:56:20]OFD Sender: No OFD packet to send [09:56:25]OFD Sender: No OFD packet to send [09:56:30]OFD Sender: No OFD packet to send [09:56:35]OFD Sender: No OFD packet to send [09:56:40]OFD Sender: No OFD packet to send [09:56:45]OFD Sender: No OFD packet to send [09:56:50]OFD Sender: No OFD packet to send [09:56:55]OFD Sender: No OFD packet to send [09:57:00]OFD Sender: No OFD packet to send [09:57:05]OFD Sender: No OFD packet to send [09:57:10]OFD Sender: No OFD packet to send [09:57:15]OFD Sender: No OFD packet to send [09:57:20]OFD Sender: No OFD packet to send [09:57:25]OFD Sender: No OFD packet to send [09:57:30]OFD Sender: No OFD packet to send [09:57:35]OFD Sender: No OFD packet to send [09:57:40]OFD Sender: No OFD packet to send [09:57:45]OFD Sender: No OFD packet to send [09:57:50]OFD Sender: No OFD packet to send [09:57:55]OFD Sender: No OFD packet to send [09:58:00]OFD Sender: No OFD packet to send [09:58:05]OFD Sender: No OFD packet to send [09:58:10]OFD Sender: No OFD packet to send [09:58:15]OFD Sender: No OFD packet to send [09:58:20]OFD Sender: No OFD packet to send [09:58:25]OFD Sender: No OFD packet to send [09:58:30]OFD Sender: No OFD packet to send [09:58:35]OFD Sender: No OFD packet to send [09:58:40]OFD Sender: No OFD packet to send [09:58:45]OFD Sender: No OFD packet to send [09:58:50]OFD Sender: No OFD packet to send [09:58:55]OFD Sender: No OFD packet to send [09:59:00]OFD Sender: No OFD packet to send [09:59:05]OFD Sender: No OFD packet to send [09:59:10]OFD Sender: No OFD packet to send [09:59:15]OFD Sender: No OFD packet to send [09:59:20]OFD Sender: No OFD packet to send [09:59:25]OFD Sender: No OFD packet to send [09:59:30]OFD Sender: No OFD packet to send [09:59:35]OFD Sender: No OFD packet to send [09:59:40]OFD Sender: No OFD packet to send [09:59:45]OFD Sender: No OFD packet to send [09:59:50]OFD Sender: No OFD packet to send [09:59:55]OFD Sender: No OFD packet to send [10:00:00]OFD Sender: No OFD packet to send [10:00:05]OFD Sender: No OFD packet to send [10:00:10]OFD Sender: No OFD packet to send [10:00:15]OFD Sender: No OFD packet to send [10:00:20]OFD Sender: No OFD packet to send [10:00:25]OFD Sender: No OFD packet to send [10:00:30]OFD Sender: No OFD packet to send [10:00:35]OFD Sender: No OFD packet to send [10:00:40]OFD Sender: No OFD packet to send [10:00:45]OFD Sender: No OFD packet to send [10:00:50]OFD Sender: No OFD packet to send [10:00:55]OFD Sender: No OFD packet to send [10:01:00]OFD Sender: No OFD packet to send [10:01:05]OFD Sender: No OFD packet to send [10:01:10]OFD Sender: No OFD packet to send [10:01:15]OFD Sender: No OFD packet to send [10:01:20]OFD Sender: No OFD packet to send [10:01:25]OFD Sender: No OFD packet to send [10:01:30]OFD Sender: No OFD packet to send [10:01:35]OFD Sender: No OFD packet to send [10:01:40]OFD Sender: No OFD packet to send [10:01:45]OFD Sender: No OFD packet to send [10:01:50]OFD Sender: No OFD packet to send [10:01:55]OFD Sender: No OFD packet to send [10:02:00]OFD Sender: No OFD packet to send [10:02:05]OFD Sender: No OFD packet to send [10:02:10]OFD Sender: No OFD packet to send [10:02:15]OFD Sender: No OFD packet to send [10:02:20]OFD Sender: No OFD packet to send [10:02:25]OFD Sender: No OFD packet to send [10:02:30]OFD Sender: No OFD packet to send [10:02:35]OFD Sender: No OFD packet to send [10:02:41]OFD Sender: No OFD packet to send [10:02:46]OFD Sender: No OFD packet to send [10:02:51]OFD Sender: No OFD packet to send [10:02:56]OFD Sender: No OFD packet to send [10:03:01]OFD Sender: No OFD packet to send [10:03:06]OFD Sender: No OFD packet to send [10:03:11]OFD Sender: No OFD packet to send [10:03:16]OFD Sender: No OFD packet to send [10:03:21]OFD Sender: No OFD packet to send [10:03:26]OFD Sender: No OFD packet to send [10:03:31]OFD Sender: No OFD packet to send [10:03:36]OFD Sender: No OFD packet to send [10:03:41]OFD Sender: No OFD packet to send [10:03:46]OFD Sender: No OFD packet to send [10:03:51]OFD Sender: No OFD packet to send [10:03:56]OFD Sender: No OFD packet to send [10:04:01]OFD Sender: No OFD packet to send [10:04:06]OFD Sender: No OFD packet to send [10:04:11]OFD Sender: No OFD packet to send [10:04:16]OFD Sender: No OFD packet to send [10:04:21]OFD Sender: No OFD packet to send [10:04:26]OFD Sender: No OFD packet to send [10:04:31]OFD Sender: No OFD packet to send [10:04:36]OFD Sender: No OFD packet to send [10:04:41]OFD Sender: No OFD packet to send [10:04:46]OFD Sender: No OFD packet to send [10:04:51]OFD Sender: No OFD packet to send [10:04:56]OFD Sender: No OFD packet to send [10:05:01]OFD Sender: No OFD packet to send [10:05:06]OFD Sender: No OFD packet to send [10:05:11]OFD Sender: No OFD packet to send [10:05:16]OFD Sender: No OFD packet to send [10:05:21]OFD Sender: No OFD packet to send [10:05:26]OFD Sender: No OFD packet to send [10:05:31]OFD Sender: No OFD packet to send [10:05:36]OFD Sender: No OFD packet to send [10:05:41]OFD Sender: No OFD packet to send [10:05:46]OFD Sender: No OFD packet to send [10:05:51]OFD Sender: No OFD packet to send [10:05:56]OFD Sender: No OFD packet to send [10:06:01]OFD Sender: No OFD packet to send [10:06:06]OFD Sender: No OFD packet to send [10:06:11]OFD Sender: No OFD packet to send [10:06:16]OFD Sender: No OFD packet to send [10:06:21]OFD Sender: No OFD packet to send [10:06:26]OFD Sender: No OFD packet to send [10:06:31]OFD Sender: No OFD packet to send [10:06:36]OFD Sender: No OFD packet to send [10:06:41]OFD Sender: No OFD packet to send [10:06:46]OFD Sender: No OFD packet to send [10:06:51]OFD Sender: No OFD packet to send [10:06:56]OFD Sender: No OFD packet to send [10:07:01]OFD Sender: No OFD packet to send [10:07:06]OFD Sender: No OFD packet to send [10:07:11]OFD Sender: No OFD packet to send [10:07:16]OFD Sender: No OFD packet to send [10:07:21]OFD Sender: No OFD packet to send [10:07:26]OFD Sender: No OFD packet to send [10:07:31]OFD Sender: No OFD packet to send [10:07:36]OFD Sender: No OFD packet to send [10:07:41]OFD Sender: No OFD packet to send [10:07:46]OFD Sender: No OFD packet to send [10:07:51]OFD Sender: No OFD packet to send [10:07:56]OFD Sender: No OFD packet to send [10:08:01]OFD Sender: No OFD packet to send [10:08:06]OFD Sender: No OFD packet to send [10:08:11]OFD Sender: No OFD packet to send [10:08:16]OFD Sender: No OFD packet to send [10:08:21]OFD Sender: No OFD packet to send [10:08:26]OFD Sender: No OFD packet to send [10:08:31]OFD Sender: No OFD packet to send [10:08:36]OFD Sender: No OFD packet to send [10:08:41]OFD Sender: No OFD packet to send [10:08:46]OFD Sender: No OFD packet to send [10:08:51]OFD Sender: No OFD packet to send [10:08:56]OFD Sender: No OFD packet to send [10:09:01]OFD Sender: No OFD packet to send [10:09:06]OFD Sender: No OFD packet to send [10:09:11]OFD Sender: No OFD packet to send [10:09:16]OFD Sender: No OFD packet to send [10:09:21]OFD Sender: No OFD packet to send [10:09:26]OFD Sender: No OFD packet to send [10:09:31]OFD Sender: No OFD packet to send [10:09:36]OFD Sender: No OFD packet to send [10:09:41]OFD Sender: No OFD packet to send [10:09:46]OFD Sender: No OFD packet to send [10:09:51]OFD Sender: No OFD packet to send [10:09:56]OFD Sender: No OFD packet to send [10:10:01]OFD Sender: No OFD packet to send [10:10:06]OFD Sender: No OFD packet to send [10:10:11]OFD Sender: No OFD packet to send [10:10:16]OFD Sender: No OFD packet to send [10:10:21]OFD Sender: No OFD packet to send [10:10:26]OFD Sender: No OFD packet to send [10:10:30]accept exits with 8 [10:10:30]New connection [10:10:30]New thread 3067075940 created [10:10:30]Thread 3066932580 joined [10:10:30]Waiting for new connection... [10:10:30] Sock 8.Parse request [10:10:30]Sock 8.Check first char [10:10:30]Sock 8.First char is OK [10:10:30]request: POST /json_proto HTTP/1.0 [10:10:30]Method: POST [10:10:30]URL: /json_proto [10:10:30]Method is POST - this is cgi request [10:10:30]url: /json_proto [10:10:30]query_string will be loaded in cgi processing [10:10:30]execute_cgi json_proto POST (null) [10:10:30]execute_cgi path=json_proto method=POST [10:10:30]POST find Content-Length [10:10:30]Host: 172.17.61.6:8080 [10:10:30]Content-Length: 623 [10:10:30]Content-Type: application/json [10:10:30] [10:10:30]POST finish read [10:10:30]Found Content-Length = 623 [10:10:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58569", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:10:30]execute_script... [10:10:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58569", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:10:30]POST & json_proto [10:10:30]process_json_proto [10:10:30]json parsed OK: [10:10:30]protocol is kg_v1.0 [10:10:30]action value=close_receipt [10:10:30]process_action close_receipt [10:10:30]cmd_close_receipt [10:10:30]MH_GetDate [10:10:30]Write to MH i2c: F0 00 00 3E 0A 37 [10:10:30]Write i2c OK [10:10:30]MH_I2C_Read... [10:10:30]Read from MH i2c: F0 [10:10:30]MH_I2C_Read... [10:10:30]Read from MH i2c: F0 09 00 [10:10:30]MH_I2C_Read... [10:10:30]Read from MH i2c: F0 09 00 3E 0A 00 19 41 E8 65 78 7F 6F 64 B1 [10:10:30]GetLastDocTimeStamp 1709718630 [10:10:30]current date 1709719833 [10:10:30]FM_GetShiftState [10:10:30]SAM_PROTO_GetShiftState [10:10:30]wFMCommunicate request_size=4 [10:10:30]MH_SAM_APDU [10:10:30]CAPDU: 80 13 01 00 [10:10:30]Write to MH i2c: E2 08 00 3F 0A 80 13 01 00 00 00 00 00 C6 [10:10:30]Write i2c OK [10:10:30]MH_I2C_Read... [10:10:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:10:30]Read from MH i2c: E2 [10:10:30]MH_I2C_Read... [10:10:30]Read from MH i2c: E2 0E 00 [10:10:30]MH_I2C_Read... [10:10:30]Read from MH i2c: E2 0E 00 3F 0A 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 43 [10:10:30]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [10:10:30]wFMCommunicate OK [10:10:30]SAM_PROTO_GetShiftState done [10:10:30]FM_GetShiftState done [10:10:30]opened in 1709684590 [10:10:30]opened+sec_in_day 1709770990 [10:10:30]quantity*price = 13800 [10:10:30]sum+1 = 13801 [10:10:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 30 06.03.2024 10:10 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32414 ФПД: 129436478551091 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T101033&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32414&fm=129436478551091&tin=02508201610067®Number=0000000000092554&sum=13800 0 [10:10:31]StoreToDocumentArchive [10:10:31]shift 284 fd 32414 [10:10:31]save to /storage/0284/doc_00032414 [10:10:31]save last doc name /storage/0284/doc_00032414 to /storage/kkm_last_doc_name [10:10:31]save OK [10:10:31]Clear old archive folders... [10:10:31]ProcessDocumentItem done err = 0, tmpTLVsize=276 [10:10:31]tlvbuf is 01658AB0 [10:10:31]SAM_PROTO_ClearQueue [10:10:31]wFMCommunicate request_size=4 [10:10:31]MH_SAM_APDU [10:10:31]CAPDU: 80 09 00 00 [10:10:31]Write to MH i2c: E2 08 00 4C 0A 80 09 00 00 00 00 00 00 C8 [10:10:31]Write i2c OK [10:10:31]MH_I2C_Read... [10:10:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:10:31]Read from MH i2c: E2 [10:10:31]MH_I2C_Read... [10:10:31]Read from MH i2c: E2 03 00 [10:10:31]MH_I2C_Read... [10:10:31]Read from MH i2c: E2 03 00 4C 0A 00 90 00 CA [10:10:31]RAPDU: 90 00 [10:10:31]wFMCommunicate OK [10:10:31]SAM_PROTO_ClearQueue done [10:10:31]KKMCreateOFDPacket [10:10:31]OFDProtocolAddRootSTLVToBuf [10:10:31]FM_MakeSignedData [10:10:31]FM_MakeSignedData [10:10:31]SAM_PROTO_SignData [10:10:31]wFMCommunicate request_size=4 [10:10:31]MH_SAM_APDU [10:10:31]CAPDU: 80 0D 01 02 [10:10:31]Write to MH i2c: E2 08 00 4D 0A 80 0D 01 02 00 00 00 00 D0 [10:10:31]Write i2c OK [10:10:31]MH_I2C_Read... [10:10:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:10:31]Read from MH i2c: E2 [10:10:31]MH_I2C_Read... [10:10:31]Read from MH i2c: E2 03 00 [10:10:31]MH_I2C_Read... [10:10:31]Read from MH i2c: E2 03 00 4D 0A 00 90 00 CB [10:10:31]RAPDU: 90 00 [10:10:31]wFMCommunicate OK [10:10:31]wFMCommunicate request_size=255 [10:10:31]MH_SAM_APDU [10:10:31]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 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 19 41 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 [10:10:31]Write to MH i2c: E2 02 01 4E 0A 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 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 19 41 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 00 00 EF [10:10:31]Write i2c OK [10:10:31]MH_I2C_Read... [10:10:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:10:32]Read from MH i2c: E2 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: E2 03 00 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: E2 03 00 4E 0A 00 90 00 CC [10:10:32]RAPDU: 90 00 [10:10:32]wFMCommunicate OK [10:10:32]wFMCommunicate request_size=35 [10:10:32]MH_SAM_APDU [10:10:32]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9E 7E 00 00 35 04 06 00 75 B8 C7 53 34 33 [10:10:32]Write to MH i2c: E2 26 00 4F 0A 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9E 7E 00 00 35 04 06 00 75 B8 C7 53 34 33 00 00 92 [10:10:32]Write i2c OK [10:10:32]MH_I2C_Read... [10:10:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:10:32]Read from MH i2c: E2 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: E2 03 00 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: E2 03 00 4F 0A 00 90 00 CD [10:10:32]RAPDU: 90 00 [10:10:32]wFMCommunicate OK [10:10:32]wFMCommunicate request_size=4 [10:10:32]MH_SAM_APDU [10:10:32]CAPDU: 80 0D 03 02 [10:10:32]Write to MH i2c: E2 08 00 50 0A 80 0D 03 02 00 00 00 00 D5 [10:10:32]Write i2c OK [10:10:32]MH_I2C_Read... [10:10:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:10:32]Read from MH i2c: E2 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: E2 0B 00 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: E2 0B 00 50 0A 00 9B 66 D6 4D DA 66 88 B7 90 00 79 [10:10:32]RAPDU: 9B 66 D6 4D DA 66 88 B7 90 00 [10:10:32]wFMCommunicate OK [10:10:32]SAM_PROTO_SignData done [10:10:32]FM_MakeSignedData done [10:10:32]CreateOFDProtocolMessage [10:10:32]wFMCommunicate request_size=4 [10:10:32]MH_SAM_APDU [10:10:32]CAPDU: 80 11 00 00 [10:10:32]Write to MH i2c: E2 08 00 51 0A 80 11 00 00 00 00 00 00 D5 [10:10:32]Write i2c OK [10:10:32]MH_I2C_Read... [10:10:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:10:32]Read from MH i2c: E2 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: E2 17 00 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: E2 17 00 51 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 2A [10:10:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [10:10:32]wFMCommunicate OK [10:10:32]CreateOFDProtocolMessage done [10:10:32]OFDSenderStorePacket 32414 [10:10:32]StoreOFDPacket docnum=32414 [10:10:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 28 01 00 00 77 0B 20 01 BE E3 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 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 19 41 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9E 7E 00 00 35 04 06 00 75 B8 C7 53 34 33 9B 66 D6 4D DA 66 88 B7 [10:10:32]CheckFolder [10:10:32]dirname=/storage/ofd_packets [10:10:32]CheckFolder done [10:10:32]ProducePacketName [10:10:32]name=ofd_packets/00032414 [10:10:32]NVStorageSaveData ofd_packets/00032414 [10:10:32]File name is /storage/ofd_packets/00032414 [10:10:32]Write 326 bytes [10:10:32]NVStorageSaveData done [10:10:32]OFDSenderStorePacket done [10:10:32]KKMCreateOFDPacket done [10:10:32]NVStorageSaveData kkm_last_timestamp [10:10:32]File name is /storage/kkm_last_timestamp [10:10:32]Write 4 bytes [10:10:32]NVStorageSaveData done [10:10:32]ExternCall_PrintAddStr [10:10:32]wPrintStart [10:10:32]Write to MH i2c: 01 00 00 52 0A 5C [10:10:32]Write i2c OK [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: 01 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: 01 07 00 [10:10:32]MH_I2C_Read... [10:10:32]Read from MH i2c: 01 07 00 52 0A 00 00 00 00 00 FF 0F 71 [10:10:32]RasterBufferAndPrint [10:10:32]line Счет N : (3)58569 [10:10:32]line ИНН: 02508201610067 [10:10:32]line Контрольно-Кассовый Чек [10:10:32]line ПРОДАЖА [10:10:32]line Товар: 48744683 [10:10:32]line Сигареты Winston XStyle Caster+ [10:10:32]line 1.000 * 138.00 [10:10:32]line = 138.00 [10:10:32]line НДС 12% НСП 1% [10:10:32]line > о реализуемом товаре [10:10:32]line ИТОГО: 138.00 [10:10:32]line НСП 1% : 1.22 [10:10:32]line НДС 12% : 14.65 [10:10:32]line Наличными: 138.00 [10:10:32]line Безнал.: 0.00 [10:10:32]line Место: АЗС № 99 "Партнер Нефть" [10:10:32]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [10:10:32]line СНО: Общий режим [10:10:32]line Чек 30 06.03.2024 10:10 [10:10:32]line Смена: 284 ФФД: 1.0 [10:10:32]line ЗНМ: 0300000074 [10:10:32]line РНМ: 0000000000092554 [10:10:32]line Версия ККМ: 001 [10:10:32]line ФМ: 0000000000871783 [10:10:32]line ФД: 32414 [10:10:32]line ФПД: 129436478551091 [10:10:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T101033&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32414&fm=129436478551091&tin=02508201610067®Number=0000000000092554&sum=13800 [10:10:32]line 0 [10:10:32]OFD Sender: Processing packet 32414 [packets to send 5, broken 4] [10:10:32]ProducePacketName [10:10:32]name=ofd_packets/00032414 [10:10:32]OFD Sender: To server: pG, [10:10:32]CommunicateWithHost lk.salyk.kg:30040 [10:10:32]ConnectInit lk.salyk.kg [10:10:32]written 0, free lines is 4095 [10:10:32]Connected sock=10 [10:10:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 28 01 00 00 77 0B 20 01 BE E3 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 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 19 41 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9E 7E 00 00 35 04 06 00 75 B8 C7 53 34 33 9B 66 D6 4D DA 66 88 B7 [10:10:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 17 49 47 00 6E 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 38 37 31 37 38 33 10 04 04 00 9E 7E 00 00 F4 03 04 00 51 E9 E7 65 B6 04 01 00 00 06 0C BE 61 69 39 9F 91 [10:10:32]CommunicateWithHost err = 0 [10:10:32]CheckOFDResponse [10:10:32]1017 (14) - 77093643461234 [10:10:32]1041 (16) - 0000000000871783 [10:10:32]1040 (4) - 32414 [10:10:32]1012 (4) - 06.03.2024 03:56 [10:10:32]1206 (1) - 0 [10:10:32]OFD Sender: Remove packet 32414 [10:10:32]ProducePacketName [10:10:32]name=ofd_packets/00032414 [10:10:32]NVStorageDeleteData [10:10:33]Write to MH i2c: 01 00 00 7B 0A 85 [10:10:33]Write i2c OK [10:10:33]MH_I2C_Read... [10:10:33]Read from MH i2c: 01 [10:10:33]MH_I2C_Read... [10:10:33]Read from MH i2c: 01 07 00 [10:10:33]MH_I2C_Read... [10:10:33]Read from MH i2c: 01 07 00 7B 0A 00 00 00 00 00 C0 0C 58 [10:10:33]RasterBufferAndPrint [10:10:33]line [10:10:33]line [10:10:33]line [10:10:33]line [10:10:33]line [10:10:33]written 0, free lines is 3268 [10:10:33]MH_Cut [10:10:33]Write to MH i2c: D1 01 00 82 0A 01 5E [10:10:33]Write i2c OK [10:10:33]MH_I2C_Read... [10:10:33]Read from MH i2c: D1 [10:10:33]MH_I2C_Read... [10:10:33]Read from MH i2c: D1 01 00 [10:10:33]MH_I2C_Read... [10:10:33]Read from MH i2c: D1 01 00 82 0A 00 5D [10:10:33]Write to MH i2c: 01 00 00 83 0A 8D [10:10:33]Write i2c OK [10:10:33]MH_I2C_Read... [10:10:33]OFD Sender: No OFD packet to send [10:10:33]*** Cut start [10:10:33]*** Partial cut [10:10:33]*** CUTSNS_PIN = 1 [10:10:33]*** CUTSNS_PIN = 0 [10:10:34]*** Brake cut motor [10:10:34]Read from MH i2c: 01 [10:10:34]MH_I2C_Read... [10:10:34]*** Stop cut motor [10:10:34]*** Cut end [10:10:34]Read from MH i2c: 01 07 00 [10:10:34]MH_I2C_Read... [10:10:34]Read from MH i2c: 01 07 00 83 0A 00 00 00 00 00 FF 0F A2 [10:10:34]process_action close_receipt done [10:10:34]requested_data is exist [10:10:34]produce_requested_data [10:10:34]requested_item fm.sn is exist - process it [10:10:34]wFMCommunicate request_size=4 [10:10:34]MH_SAM_APDU [10:10:34]CAPDU: 80 11 00 00 [10:10:34]Write to MH i2c: E2 08 00 84 0A 80 11 00 00 00 00 00 00 08 [10:10:34]Write i2c OK [10:10:34]MH_I2C_Read... [10:10:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:10:34]Read from MH i2c: E2 [10:10:34]MH_I2C_Read... [10:10:34]Read from MH i2c: E2 17 00 [10:10:34]MH_I2C_Read... [10:10:34]Read from MH i2c: E2 17 00 84 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 5D [10:10:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [10:10:34]wFMCommunicate OK [10:10:34]requested_item fd.num is exist - process it [10:10:34]SAM_PROTO_GetFieldsCounters [10:10:34]wFMCommunicate request_size=4 [10:10:34]MH_SAM_APDU [10:10:34]CAPDU: 80 13 00 00 [10:10:34]Write to MH i2c: E2 08 00 85 0A 80 13 00 00 00 00 00 00 0B [10:10:34]Write i2c OK [10:10:34]MH_I2C_Read... [10:10:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:10:34]Read from MH i2c: E2 [10:10:34]MH_I2C_Read... [10:10:34]Read from MH i2c: E2 62 00 [10:10:34]MH_I2C_Read... [10:10:34]Read from MH i2c: E2 62 00 85 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 9E 7E 00 00 0E 04 04 00 1C 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 C1 [10:10:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 9E 7E 00 00 0E 04 04 00 1C 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:10:34]wFMCommunicate OK [10:10:34]SAM_PROTO_GetFieldsCounters done [10:10:34]requested_item shift.num is exist - process it [10:10:34]requested_item shift.opened is exist - process it [10:10:34]req_shift_opened [10:10:34]FM_GetShiftState [10:10:34]SAM_PROTO_GetShiftState [10:10:34]wFMCommunicate request_size=4 [10:10:34]MH_SAM_APDU [10:10:34]CAPDU: 80 13 01 00 [10:10:34]Write to MH i2c: E2 08 00 86 0A 80 13 01 00 00 00 00 00 0D [10:10:34]Write i2c OK [10:10:34]MH_I2C_Read... [10:10:34]Read from MH i2c: E2 [10:10:34]MH_I2C_Read... [10:10:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:10:34]Read from MH i2c: E2 0E 00 [10:10:34]MH_I2C_Read... [10:10:34]Read from MH i2c: E2 0E 00 86 0A 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 8A [10:10:34]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [10:10:34]wFMCommunicate OK [10:10:34]SAM_PROTO_GetShiftState done [10:10:34]FM_GetShiftState done [10:10:34]req_shift_opened done [10:10:34]requested_item shift.open_date is exist - process it [10:10:34]req_shift_open_date [10:10:34]req_shift_open_date done [10:10:34]produce_requested_data done [10:10:34]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32414,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [10:10:34]process_action_free close_receipt [10:10:34]json_value_free [10:10:34]json_value_free done [10:10:34]process_json_proto returns [10:10:34]Send response to host [10:10:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32414,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [10:10:34]free response buf [10:10:34]execute_script done [10:10:34]execute_script returns [10:10:34]free content buf [10:10:34]Sock 8.Close socket [10:10:34]Sock 8.Thread stoped [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:59]OFD Sender: No OFD packet to send [10:24:04]OFD Sender: No OFD packet to send [10:24:09]OFD Sender: No OFD packet to send [10:24:14]OFD Sender: No OFD packet to send [10:24:19]OFD Sender: No OFD packet to send [10:24:24]OFD Sender: No OFD packet to send [10:24:29]OFD Sender: No OFD packet to send [10:24:34]OFD Sender: No OFD packet to send [10:24:39]OFD Sender: No OFD packet to send [10:24:44]OFD Sender: No OFD packet to send [10:24:49]OFD Sender: No OFD packet to send [10:24:54]OFD Sender: No OFD packet to send [10:24:59]OFD Sender: No OFD packet to send [10:25:04]OFD Sender: No OFD packet to send [10:25:09]OFD Sender: No OFD packet to send [10:25:14]OFD Sender: No OFD packet to send [10:25:19]OFD Sender: No OFD packet to send [10:25:24]OFD Sender: No OFD packet to send [10:25:29]OFD Sender: No OFD packet to send [10:25:34]OFD Sender: No OFD packet to send [10:25:39]OFD Sender: No OFD packet to send [10:25:44]OFD Sender: No OFD packet to send [10:25:49]OFD Sender: No OFD packet to send [10:25:54]OFD Sender: No OFD packet to send [10:25:59]OFD Sender: No OFD packet to send [10:26:04]OFD Sender: No OFD packet to send [10:26:09]OFD Sender: No OFD packet to send [10:26:14]OFD Sender: No OFD packet to send [10:26:19]OFD Sender: No OFD packet to send [10:26:24]OFD Sender: No OFD packet to send [10:26:29]OFD Sender: No OFD packet to send [10:26:34]OFD Sender: No OFD packet to send [10:26:39]OFD Sender: No OFD packet to send [10:26:44]OFD Sender: No OFD packet to send [10:26:49]OFD Sender: No OFD packet to send [10:26:54]OFD Sender: No OFD packet to send [10:26:59]OFD Sender: No OFD packet to send [10:27:04]OFD Sender: No OFD packet to send [10:27:09]OFD Sender: No OFD packet to send [10:27:14]OFD Sender: No OFD packet to send [10:27:19]OFD Sender: No OFD packet to send [10:27:24]OFD Sender: No OFD packet to send [10:27:29]OFD Sender: No OFD packet to send [10:27:34]OFD Sender: No OFD packet to send [10:27:39]OFD Sender: No OFD packet to send [10:27:44]OFD Sender: No OFD packet to send [10:27:49]OFD Sender: No OFD packet to send [10:27:54]OFD Sender: No OFD packet to send [10:27:59]OFD Sender: No OFD packet to send [10:28:04]OFD Sender: No OFD packet to send [10:28:09]OFD Sender: No OFD packet to send [10:28:14]OFD Sender: No OFD packet to send [10:28:19]OFD Sender: No OFD packet to send [10:28:24]OFD Sender: No OFD packet to send [10:28:29]OFD Sender: No OFD packet to send [10:28:34]OFD Sender: No OFD packet to send [10:28:39]OFD Sender: No OFD packet to send [10:28:44]OFD Sender: No OFD packet to send [10:28:49]OFD Sender: No OFD packet to send [10:28:54]OFD Sender: No OFD packet to send [10:28:59]OFD Sender: No OFD packet to send [10:29:04]OFD Sender: No OFD packet to send [10:29:09]OFD Sender: No OFD packet to send [10:29:14]OFD Sender: No OFD packet to send [10:29:19]OFD Sender: No OFD packet to send [10:29:24]OFD Sender: No OFD packet to send [10:29:29]OFD Sender: No OFD packet to send [10:29:34]OFD Sender: No OFD packet to send [10:29:39]OFD Sender: No OFD packet to send [10:29:44]OFD Sender: No OFD packet to send [10:29:49]OFD Sender: No OFD packet to send [10:29:54]OFD Sender: No OFD packet to send [10:29: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]OFD Sender: No OFD packet to send [10:30:34]OFD Sender: No OFD packet to send [10:30:39]OFD Sender: No OFD packet to send [10:30:44]OFD Sender: No OFD packet to send [10:30:49]OFD Sender: No OFD packet to send [10:30:54]OFD Sender: No OFD packet to send [10:30:59]OFD Sender: No OFD packet to send [10:31:04]OFD Sender: No OFD packet to send [10:31:09]OFD Sender: No OFD packet to send [10:31:14]OFD Sender: No OFD packet to send [10:31:19]OFD Sender: No OFD packet to send [10:31:24]OFD Sender: No OFD packet to send [10:31:29]OFD Sender: No OFD packet to send [10:31:34]OFD Sender: No OFD packet to send [10:31:39]OFD Sender: No OFD packet to send [10:31:44]OFD Sender: No OFD packet to send [10:31:49]OFD Sender: No OFD packet to send [10:31:54]OFD Sender: No OFD packet to send [10:31:59]OFD Sender: No OFD packet to send [10:32:04]OFD Sender: No OFD packet to send [10:32:09]OFD Sender: No OFD packet to send [10:32:14]OFD Sender: No OFD packet to send [10:32:19]OFD Sender: No OFD packet to send [10:32:24]OFD Sender: No OFD packet to send [10:32:29]OFD Sender: No OFD packet to send [10:32:34]OFD Sender: No OFD packet to send [10:32:39]OFD Sender: No OFD packet to send [10:32:44]OFD Sender: No OFD packet to send [10:32:49]OFD Sender: No OFD packet to send [10:32:54]OFD Sender: No OFD packet to send [10:32:59]OFD Sender: No OFD packet to send [10:33:04]OFD Sender: No OFD packet to send [10:33:09]OFD Sender: No OFD packet to send [10:33:14]OFD Sender: No OFD packet to send [10:33:19]accept exits with 9 [10:33:19]New connection [10:33:19]New thread 3066932580 created [10:33:19]Thread 3067075940 joined [10:33:19]Waiting for new connection... [10:33:19] Sock 9.Parse request [10:33:19]Sock 9.Check first char [10:33:19]Sock 9.First char is OK [10:33:19]request: POST /json_proto HTTP/1.0 [10:33:19]Method: POST [10:33:19]URL: /json_proto [10:33:19]Method is POST - this is cgi request [10:33:19]url: /json_proto [10:33:19]query_string will be loaded in cgi processing [10:33:19]execute_cgi json_proto POST (null) [10:33:19]execute_cgi path=json_proto method=POST [10:33:19]POST find Content-Length [10:33:19]Host: 172.17.61.6:8080 [10:33:19]Content-Length: 620 [10:33:19]Content-Type: application/json [10:33:19] [10:33:19]POST finish read [10:33:19]Found Content-Length = 620 [10:33:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58570", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:33:19]execute_script... [10:33: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)58570", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:33:19]POST & json_proto [10:33:19]process_json_proto [10:33:19]json parsed OK: [10:33:19]protocol is kg_v1.0 [10:33:19]action value=close_receipt [10:33:19]process_action close_receipt [10:33:19]cmd_close_receipt [10:33:19]MH_GetDate [10:33:19]Write to MH i2c: F0 00 00 87 0A 80 [10:33:19]Write i2c OK [10:33:19]MH_I2C_Read... [10:33:19]Read from MH i2c: F0 [10:33:19]MH_I2C_Read... [10:33:19]Read from MH i2c: F0 09 00 [10:33:19]MH_I2C_Read... [10:33:19]Read from MH i2c: F0 09 00 87 0A 00 71 46 E8 65 78 7F 6F 64 57 [10:33:19]GetLastDocTimeStamp 1709719833 [10:33:19]current date 1709721201 [10:33:19]FM_GetShiftState [10:33:19]SAM_PROTO_GetShiftState [10:33:19]wFMCommunicate request_size=4 [10:33:19]MH_SAM_APDU [10:33:19]CAPDU: 80 13 01 00 [10:33:19]Write to MH i2c: E2 08 00 88 0A 80 13 01 00 00 00 00 00 0F [10:33:19]Write i2c OK [10:33:19]MH_I2C_Read... [10:33:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:33:19]Read from MH i2c: E2 [10:33:19]MH_I2C_Read... [10:33:19]Read from MH i2c: E2 0E 00 [10:33:19]MH_I2C_Read... [10:33:19]Read from MH i2c: E2 0E 00 88 0A 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 8C [10:33:19]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [10:33:19]wFMCommunicate OK [10:33:19]SAM_PROTO_GetShiftState done [10:33:19]FM_GetShiftState done [10:33:19]opened in 1709684590 [10:33:19]opened+sec_in_day 1709770990 [10:33:19]quantity*price = 13500 [10:33:19]sum+1 = 13501 [10:33:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 31 06.03.2024 10:33 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32415 ФПД: 187616078227704 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T103321&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32415&fm=187616078227704&tin=02508201610067®Number=0000000000092554&sum=13500 0 [10:33:20]StoreToDocumentArchive [10:33:20]shift 284 fd 32415 [10:33:20]save to /storage/0284/doc_00032415 [10:33:20]save last doc name /storage/0284/doc_00032415 to /storage/kkm_last_doc_name [10:33:20]save OK [10:33:20]Clear old archive folders... [10:33:20]ProcessDocumentItem done err = 0, tmpTLVsize=273 [10:33:20]tlvbuf is 01681970 [10:33:20]SAM_PROTO_ClearQueue [10:33:20]wFMCommunicate request_size=4 [10:33:20]MH_SAM_APDU [10:33:20]CAPDU: 80 09 00 00 [10:33:20]Write to MH i2c: E2 08 00 95 0A 80 09 00 00 00 00 00 00 11 [10:33:20]Write i2c OK [10:33:20]MH_I2C_Read... [10:33:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:33:20]Read from MH i2c: E2 [10:33:20]MH_I2C_Read... [10:33:20]Read from MH i2c: E2 03 00 [10:33:20]MH_I2C_Read... [10:33:20]Read from MH i2c: E2 03 00 95 0A 00 90 00 13 [10:33:20]RAPDU: 90 00 [10:33:20]wFMCommunicate OK [10:33:20]SAM_PROTO_ClearQueue done [10:33:20]KKMCreateOFDPacket [10:33:20]OFDProtocolAddRootSTLVToBuf [10:33:20]FM_MakeSignedData [10:33:20]FM_MakeSignedData [10:33:20]SAM_PROTO_SignData [10:33:20]wFMCommunicate request_size=4 [10:33:20]MH_SAM_APDU [10:33:20]CAPDU: 80 0D 01 02 [10:33:20]Write to MH i2c: E2 08 00 96 0A 80 0D 01 02 00 00 00 00 19 [10:33:20]Write i2c OK [10:33:20]MH_I2C_Read... [10:33:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:33:20]Read from MH i2c: E2 [10:33:20]MH_I2C_Read... [10:33:20]Read from MH i2c: E2 03 00 [10:33:20]MH_I2C_Read... [10:33:20]Read from MH i2c: E2 03 00 96 0A 00 90 00 14 [10:33:20]RAPDU: 90 00 [10:33:20]wFMCommunicate OK [10:33:20]wFMCommunicate request_size=255 [10:33:20]MH_SAM_APDU [10:33:20]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 71 46 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 [10:33:20]Write to MH i2c: E2 02 01 97 0A 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 71 46 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 00 00 28 [10:33:20]Write i2c OK [10:33:20]MH_I2C_Read... [10:33:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:33:20]Read from MH i2c: E2 [10:33:20]MH_I2C_Read... [10:33:20]Read from MH i2c: E2 03 00 [10:33:20]MH_I2C_Read... [10:33:20]Read from MH i2c: E2 03 00 97 0A 00 90 00 15 [10:33:20]RAPDU: 90 00 [10:33:20]wFMCommunicate OK [10:33:20]wFMCommunicate request_size=32 [10:33:20]MH_SAM_APDU [10:33:20]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 37 38 33 10 04 04 00 9F 7E 00 00 35 04 06 00 AA A2 C5 B2 68 F8 [10:33:20]Write to MH i2c: E2 23 00 98 0A 80 0D 02 02 1B 00 30 30 30 38 37 31 37 38 33 10 04 04 00 9F 7E 00 00 35 04 06 00 AA A2 C5 B2 68 F8 00 00 BB [10:33:20]Write i2c OK [10:33:20]MH_I2C_Read... [10:33:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:33:20]Read from MH i2c: E2 [10:33:20]MH_I2C_Read... [10:33:20]Read from MH i2c: E2 03 00 [10:33:20]MH_I2C_Read... [10:33:20]Read from MH i2c: E2 03 00 98 0A 00 90 00 16 [10:33:20]RAPDU: 90 00 [10:33:20]wFMCommunicate OK [10:33:20]wFMCommunicate request_size=4 [10:33:20]MH_SAM_APDU [10:33:20]CAPDU: 80 0D 03 02 [10:33:20]Write to MH i2c: E2 08 00 99 0A 80 0D 03 02 00 00 00 00 1E [10:33:20]Write i2c OK [10:33:20]MH_I2C_Read... [10:33:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:33:21]Read from MH i2c: E2 [10:33:21]MH_I2C_Read... [10:33:21]Read from MH i2c: E2 0B 00 [10:33:21]MH_I2C_Read... [10:33:21]Read from MH i2c: E2 0B 00 99 0A 00 35 1F 81 03 9A 3A F8 1C 90 00 DF [10:33:21]RAPDU: 35 1F 81 03 9A 3A F8 1C 90 00 [10:33:21]wFMCommunicate OK [10:33:21]SAM_PROTO_SignData done [10:33:21]FM_MakeSignedData done [10:33:21]CreateOFDProtocolMessage [10:33:21]wFMCommunicate request_size=4 [10:33:21]MH_SAM_APDU [10:33:21]CAPDU: 80 11 00 00 [10:33:21]Write to MH i2c: E2 08 00 9A 0A 80 11 00 00 00 00 00 00 1E [10:33:21]Write i2c OK [10:33:21]MH_I2C_Read... [10:33:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:33:21]Read from MH i2c: E2 [10:33:21]MH_I2C_Read... [10:33:21]Read from MH i2c: E2 17 00 [10:33:21]MH_I2C_Read... [10:33:21]Read from MH i2c: E2 17 00 9A 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 73 [10:33:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [10:33:21]wFMCommunicate OK [10:33:21]CreateOFDProtocolMessage done [10:33:21]OFDSenderStorePacket 32415 [10:33:21]StoreOFDPacket docnum=32415 [10:33:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 25 01 00 00 16 80 1D 01 76 0C 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 71 46 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9F 7E 00 00 35 04 06 00 AA A2 C5 B2 68 F8 35 1F 81 03 9A 3A F8 1C [10:33:21]CheckFolder [10:33:21]dirname=/storage/ofd_packets [10:33:21]CheckFolder done [10:33:21]ProducePacketName [10:33:21]name=ofd_packets/00032415 [10:33:21]NVStorageSaveData ofd_packets/00032415 [10:33:21]File name is /storage/ofd_packets/00032415 [10:33:21]Write 323 bytes [10:33:21]NVStorageSaveData done [10:33:21]OFDSenderStorePacket done [10:33:21]KKMCreateOFDPacket done [10:33:21]NVStorageSaveData kkm_last_timestamp [10:33:21]File name is /storage/kkm_last_timestamp [10:33:21]Write 4 bytes [10:33:21]NVStorageSaveData done [10:33:21]ExternCall_PrintAddStr [10:33:21]wPrintStart [10:33:21]Write to MH i2c: 01 00 00 9B 0A A5 [10:33:21]Write i2c OK [10:33:21]MH_I2C_Read... [10:33:21]Read from MH i2c: 01 [10:33:21]MH_I2C_Read... [10:33:21]Read from MH i2c: 01 07 00 [10:33:21]MH_I2C_Read... [10:33:21]Read from MH i2c: 01 07 00 9B 0A 00 00 00 00 00 FF 0F BA [10:33:21]RasterBufferAndPrint [10:33:21]line Счет N : (3)58570 [10:33:21]line ИНН: 02508201610067 [10:33:21]line Контрольно-Кассовый Чек [10:33:21]line ПРОДАЖА [10:33:21]line Товар: 48747059 [10:33:21]line Сигареты Winston Legend Blue [10:33:21]line 1.000 * 135.00 [10:33:21]line = 135.00 [10:33:21]line НДС 12% НСП 1% [10:33:21]line > о реализуемом товаре [10:33:21]line ИТОГО: 135.00 [10:33:21]line НСП 1% : 1.19 [10:33:21]line НДС 12% : 14.34 [10:33:21]line Наличными: 135.00 [10:33:21]line Безнал.: 0.00 [10:33:21]line Место: АЗС № 99 "Партнер Нефть" [10:33:21]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [10:33:21]line СНО: Общий режим [10:33:21]line Чек 31 06.03.2024 10:33 [10:33:21]line Смена: 284 ФФД: 1.0 [10:33:21]line ЗНМ: 0300000074 [10:33:21]line РНМ: 0000000000092554 [10:33:21]line Версия ККМ: 001 [10:33:21]line ФМ: 0000000000871783 [10:33:21]line ФД: 32415 [10:33:21]line ФПД: 187616078227704 [10:33:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T103321&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32415&fm=187616078227704&tin=02508201610067®Number=0000000000092554&sum=13500 [10:33:21]line 0 [10:33:21]OFD Sender: Processing packet 32415 [packets to send 5, broken 4] [10:33:21]ProducePacketName [10:33:21]name=ofd_packets/00032415 [10:33:21]OFD Sender: To server: pG, [10:33:21]CommunicateWithHost lk.salyk.kg:30040 [10:33:21]ConnectInit lk.salyk.kg [10:33:21]written 0, free lines is 4095 [10:33:21]Connected sock=10 [10:33:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 25 01 00 00 16 80 1D 01 76 0C 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 71 46 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 9F 7E 00 00 35 04 06 00 AA A2 C5 B2 68 F8 35 1F 81 03 9A 3A F8 1C [10:33:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 07 3C 47 00 79 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 38 37 31 37 38 33 10 04 04 00 9F 7E 00 00 F4 03 04 00 AA EE E7 65 B6 04 01 00 00 0A 05 1B EB BD 2A 35 63 [10:33:21]CommunicateWithHost err = 0 [10:33:21]CheckOFDResponse [10:33:21]1017 (14) - 77093643461234 [10:33:21]1041 (16) - 0000000000871783 [10:33:21]1040 (4) - 32415 [10:33:21]1012 (4) - 06.03.2024 04:18 [10:33:21]1206 (1) - 0 [10:33:21]OFD Sender: Remove packet 32415 [10:33:21]ProducePacketName [10:33:21]name=ofd_packets/00032415 [10:33:21]NVStorageDeleteData [10:33:21]Write to MH i2c: 01 00 00 C4 0A CE [10:33:21]Write i2c OK [10:33:21]MH_I2C_Read... [10:33:21]Read from MH i2c: 01 [10:33:21]MH_I2C_Read... [10:33:21]Read from MH i2c: 01 07 00 [10:33:21]MH_I2C_Read... [10:33:21]Read from MH i2c: 01 07 00 C4 0A 00 00 00 00 00 B5 0C 96 [10:33:21]RasterBufferAndPrint [10:33:21]line [10:33:21]line [10:33:21]line [10:33:21]line [10:33:21]line [10:33:21]written 0, free lines is 3257 [10:33:21]MH_Cut [10:33:21]Write to MH i2c: D1 01 00 CB 0A 01 A7 [10:33:21]Write i2c OK [10:33:21]MH_I2C_Read... [10:33:21]Read from MH i2c: D1 [10:33:21]MH_I2C_Read... [10:33:21]Read from MH i2c: D1 01 00 [10:33:21]MH_I2C_Read... [10:33:21]Read from MH i2c: D1 01 00 CB 0A 00 A6 [10:33:21]Write to MH i2c: 01 00 00 CC 0A D6 [10:33:21]Write i2c OK [10:33:21]MH_I2C_Read... [10:33:22]OFD Sender: No OFD packet to send [10:33:22]*** Cut start [10:33:22]*** Partial cut [10:33:22]*** CUTSNS_PIN = 1 [10:33:22]*** CUTSNS_PIN = 0 [10:33:22]*** Brake cut motor [10:33:23]Read from MH i2c: 01 [10:33:23]MH_I2C_Read... [10:33:23]*** Stop cut motor [10:33:23]*** Cut end [10:33:23]Read from MH i2c: 01 07 00 [10:33:23]MH_I2C_Read... [10:33:23]Read from MH i2c: 01 07 00 CC 0A 00 00 00 00 00 FF 0F EB [10:33:23]process_action close_receipt done [10:33:23]requested_data is exist [10:33:23]produce_requested_data [10:33:23]requested_item fm.sn is exist - process it [10:33:23]wFMCommunicate request_size=4 [10:33:23]MH_SAM_APDU [10:33:23]CAPDU: 80 11 00 00 [10:33:23]Write to MH i2c: E2 08 00 CD 0A 80 11 00 00 00 00 00 00 51 [10:33:23]Write i2c OK [10:33:23]MH_I2C_Read... [10:33:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:33:23]Read from MH i2c: E2 [10:33:23]MH_I2C_Read... [10:33:23]Read from MH i2c: E2 17 00 [10:33:23]MH_I2C_Read... [10:33:23]Read from MH i2c: E2 17 00 CD 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 A6 [10:33:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [10:33:23]wFMCommunicate OK [10:33:23]requested_item fd.num is exist - process it [10:33:23]SAM_PROTO_GetFieldsCounters [10:33:23]wFMCommunicate request_size=4 [10:33:23]MH_SAM_APDU [10:33:23]CAPDU: 80 13 00 00 [10:33:23]Write to MH i2c: E2 08 00 CE 0A 80 13 00 00 00 00 00 00 54 [10:33:23]Write i2c OK [10:33:23]MH_I2C_Read... [10:33:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:33:23]Read from MH i2c: E2 [10:33:23]MH_I2C_Read... [10:33:23]Read from MH i2c: E2 62 00 [10:33:23]MH_I2C_Read... [10:33:23]Read from MH i2c: E2 62 00 CE 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 9F 7E 00 00 0E 04 04 00 1C 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 0E [10:33:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 9F 7E 00 00 0E 04 04 00 1C 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:33:23]wFMCommunicate OK [10:33:23]SAM_PROTO_GetFieldsCounters done [10:33:23]requested_item shift.num is exist - process it [10:33:23]requested_item shift.opened is exist - process it [10:33:23]req_shift_opened [10:33:23]FM_GetShiftState [10:33:23]SAM_PROTO_GetShiftState [10:33:23]wFMCommunicate request_size=4 [10:33:23]MH_SAM_APDU [10:33:23]CAPDU: 80 13 01 00 [10:33:23]Write to MH i2c: E2 08 00 CF 0A 80 13 01 00 00 00 00 00 56 [10:33:23]Write i2c OK [10:33:23]MH_I2C_Read... [10:33:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:33:23]Read from MH i2c: E2 [10:33:23]MH_I2C_Read... [10:33:23]Read from MH i2c: E2 0E 00 [10:33:23]MH_I2C_Read... [10:33:23]Read from MH i2c: E2 0E 00 CF 0A 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 D3 [10:33:23]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [10:33:23]wFMCommunicate OK [10:33:23]SAM_PROTO_GetShiftState done [10:33:23]FM_GetShiftState done [10:33:23]req_shift_opened done [10:33:23]requested_item shift.open_date is exist - process it [10:33:23]req_shift_open_date [10:33:23]req_shift_open_date done [10:33:23]produce_requested_data done [10:33:23]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32415,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [10:33:23]process_action_free close_receipt [10:33:23]json_value_free [10:33:23]json_value_free done [10:33:23]process_json_proto returns [10:33:23]Send response to host [10:33:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32415,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [10:33:23]free response buf [10:33:23]execute_script done [10:33:23]execute_script returns [10:33:23]free content buf [10:33:23]Sock 9.Close socket [10:33:23]Sock 9.Thread stoped [10:33:27]OFD Sender: No OFD packet to send [10:33:32]OFD Sender: No OFD packet to send [10:33:37]OFD Sender: No OFD packet to send [10:33:42]OFD Sender: No OFD packet to send [10:33:47]OFD Sender: No OFD packet to send [10:33:52]OFD Sender: No OFD packet to send [10:33:57]OFD Sender: No OFD packet to send [10:34:02]OFD Sender: No OFD packet to send [10:34:06]accept exits with 8 [10:34:06]New connection [10:34:06]New thread 3067075940 created [10:34:06]Thread 3066932580 joined [10:34:06]Waiting for new connection... [10:34:06] Sock 8.Parse request [10:34:06]Sock 8.Check first char [10:34:06]Sock 8.First char is OK [10:34:06]request: POST /json_proto HTTP/1.0 [10:34:06]Method: POST [10:34:06]URL: /json_proto [10:34:06]Method is POST - this is cgi request [10:34:06]url: /json_proto [10:34:06]query_string will be loaded in cgi processing [10:34:06]execute_cgi json_proto POST (null) [10:34:06]execute_cgi path=json_proto method=POST [10:34:06]POST find Content-Length [10:34:06]Host: 172.17.61.6:8080 [10:34:06]Content-Length: 627 [10:34:06]Content-Type: application/json [10:34:06] [10:34:06]POST finish read [10:34:06]Found Content-Length = 627 [10:34:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58571", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:34:06]execute_script... [10: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)58571", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:34:06]POST & json_proto [10:34:06]process_json_proto [10:34:06]json parsed OK: [10:34:06]protocol is kg_v1.0 [10:34:06]action value=close_receipt [10:34:06]process_action close_receipt [10:34:06]cmd_close_receipt [10:34:06]MH_GetDate [10:34:06]Write to MH i2c: F0 00 00 D0 0A C9 [10:34:06]Write i2c OK [10:34:06]MH_I2C_Read... [10:34:06]Read from MH i2c: F0 [10:34:06]MH_I2C_Read... [10:34:06]Read from MH i2c: F0 09 00 [10:34:06]MH_I2C_Read... [10:34:06]Read from MH i2c: F0 09 00 D0 0A 00 A0 46 E8 65 78 7F 6F 64 CF [10:34:06]GetLastDocTimeStamp 1709721201 [10:34:06]current date 1709721248 [10:34:06]FM_GetShiftState [10:34:06]SAM_PROTO_GetShiftState [10:34:06]wFMCommunicate request_size=4 [10:34:06]MH_SAM_APDU [10:34:06]CAPDU: 80 13 01 00 [10:34:06]Write to MH i2c: E2 08 00 D1 0A 80 13 01 00 00 00 00 00 58 [10:34:06]Write i2c OK [10:34:06]MH_I2C_Read... [10:34:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:34:06]Read from MH i2c: E2 [10:34:06]MH_I2C_Read... [10:34:06]Read from MH i2c: E2 0E 00 [10:34:06]MH_I2C_Read... [10:34:06]Read from MH i2c: E2 0E 00 D1 0A 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 D5 [10:34:06]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [10:34:06]wFMCommunicate OK [10:34:06]SAM_PROTO_GetShiftState done [10:34:06]FM_GetShiftState done [10:34:06]opened in 1709684590 [10:34:06]opened+sec_in_day 1709770990 [10:34:06]quantity*price = 13000 [10:34:06]sum+1 = 13001 [10:34:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 32 06.03.2024 10:34 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32416 ФПД: 220915014612301 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T103409&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32416&fm=220915014612301&tin=02508201610067®Number=0000000000092554&sum=13000 0 [10:34:07]StoreToDocumentArchive [10:34:07]shift 284 fd 32416 [10:34:07]save to /storage/0284/doc_00032416 [10:34:07]save last doc name /storage/0284/doc_00032416 to /storage/kkm_last_doc_name [10:34:07]save OK [10:34:07]Clear old archive folders... [10:34:07]ProcessDocumentItem done err = 0, tmpTLVsize=276 [10:34:07]tlvbuf is 01664E40 [10:34:07]SAM_PROTO_ClearQueue [10:34:07]wFMCommunicate request_size=4 [10:34:07]MH_SAM_APDU [10:34:07]CAPDU: 80 09 00 00 [10:34:07]Write to MH i2c: E2 08 00 DE 0A 80 09 00 00 00 00 00 00 5A [10:34:07]Write i2c OK [10:34:07]MH_I2C_Read... [10:34:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:34:07]Read from MH i2c: E2 [10:34:07]MH_I2C_Read... [10:34:07]Read from MH i2c: E2 03 00 [10:34:07]MH_I2C_Read... [10:34:07]Read from MH i2c: E2 03 00 DE 0A 00 90 00 5C [10:34:07]RAPDU: 90 00 [10:34:07]wFMCommunicate OK [10:34:07]SAM_PROTO_ClearQueue done [10:34:07]KKMCreateOFDPacket [10:34:07]OFDProtocolAddRootSTLVToBuf [10:34:07]FM_MakeSignedData [10:34:07]FM_MakeSignedData [10:34:07]SAM_PROTO_SignData [10:34:07]wFMCommunicate request_size=4 [10:34:07]MH_SAM_APDU [10:34:07]CAPDU: 80 0D 01 02 [10:34:07]Write to MH i2c: E2 08 00 DF 0A 80 0D 01 02 00 00 00 00 62 [10:34:07]Write i2c OK [10:34:07]MH_I2C_Read... [10:34:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:34:07]Read from MH i2c: E2 [10:34:07]MH_I2C_Read... [10:34:07]Read from MH i2c: E2 03 00 [10:34:07]MH_I2C_Read... [10:34:07]Read from MH i2c: E2 03 00 DF 0A 00 90 00 5D [10:34:07]RAPDU: 90 00 [10:34:07]wFMCommunicate OK [10:34:07]wFMCommunicate request_size=255 [10:34:07]MH_SAM_APDU [10:34:07]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 A1 46 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 [10:34:07]Write to MH i2c: E2 02 01 E0 0A 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 A1 46 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 00 00 EE [10:34:07]Write i2c OK [10:34:07]MH_I2C_Read... [10:34:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:34:07]Read from MH i2c: E2 [10:34:07]MH_I2C_Read... [10:34:07]Read from MH i2c: E2 03 00 [10:34:07]MH_I2C_Read... [10:34:07]Read from MH i2c: E2 03 00 E0 0A 00 90 00 5E [10:34:07]RAPDU: 90 00 [10:34:07]wFMCommunicate OK [10:34:07]wFMCommunicate request_size=35 [10:34:07]MH_SAM_APDU [10:34:07]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A0 7E 00 00 35 04 06 00 C8 EB C8 F8 B5 4D [10:34:07]Write to MH i2c: E2 26 00 E1 0A 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A0 7E 00 00 35 04 06 00 C8 EB C8 F8 B5 4D 00 00 ED [10:34:07]Write i2c OK [10:34:07]MH_I2C_Read... [10:34:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:34:08]Read from MH i2c: E2 [10:34:08]MH_I2C_Read... [10:34:08]Read from MH i2c: E2 03 00 [10:34:08]MH_I2C_Read... [10:34:08]Read from MH i2c: E2 03 00 E1 0A 00 90 00 5F [10:34:08]RAPDU: 90 00 [10:34:08]wFMCommunicate OK [10:34:08]wFMCommunicate request_size=4 [10:34:08]MH_SAM_APDU [10:34:08]CAPDU: 80 0D 03 02 [10:34:08]Write to MH i2c: E2 08 00 E2 0A 80 0D 03 02 00 00 00 00 67 [10:34:08]Write i2c OK [10:34:08]MH_I2C_Read... [10:34:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:34:08]Read from MH i2c: E2 [10:34:08]MH_I2C_Read... [10:34:08]Read from MH i2c: E2 0B 00 [10:34:08]MH_I2C_Read... [10:34:08]Read from MH i2c: E2 0B 00 E2 0A 00 01 C7 E4 AE 63 94 A6 33 90 00 92 [10:34:08]RAPDU: 01 C7 E4 AE 63 94 A6 33 90 00 [10:34:08]wFMCommunicate OK [10:34:08]SAM_PROTO_SignData done [10:34:08]FM_MakeSignedData done [10:34:08]CreateOFDProtocolMessage [10:34:08]wFMCommunicate request_size=4 [10:34:08]MH_SAM_APDU [10:34:08]CAPDU: 80 11 00 00 [10:34:08]Write to MH i2c: E2 08 00 E3 0A 80 11 00 00 00 00 00 00 67 [10:34:08]Write i2c OK [10:34:08]MH_I2C_Read... [10:34:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:34:08]Read from MH i2c: E2 [10:34:08]MH_I2C_Read... [10:34:08]Read from MH i2c: E2 17 00 [10:34:08]MH_I2C_Read... [10:34:08]Read from MH i2c: E2 17 00 E3 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 BC [10:34:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [10:34:08]wFMCommunicate OK [10:34:08]CreateOFDProtocolMessage done [10:34:08]OFDSenderStorePacket 32416 [10:34:08]StoreOFDPacket docnum=32416 [10:34:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 28 01 00 00 C7 90 20 01 13 B4 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 A1 46 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A0 7E 00 00 35 04 06 00 C8 EB C8 F8 B5 4D 01 C7 E4 AE 63 94 A6 33 [10:34:08]CheckFolder [10:34:08]dirname=/storage/ofd_packets [10:34:08]CheckFolder done [10:34:08]ProducePacketName [10:34:08]name=ofd_packets/00032416 [10:34:08]NVStorageSaveData ofd_packets/00032416 [10:34:08]File name is /storage/ofd_packets/00032416 [10:34:08]Write 326 bytes [10:34:08]NVStorageSaveData done [10:34:08]OFDSenderStorePacket done [10:34:08]KKMCreateOFDPacket done [10:34:08]NVStorageSaveData kkm_last_timestamp [10:34:08]File name is /storage/kkm_last_timestamp [10:34:08]Write 4 bytes [10:34:08]NVStorageSaveData done [10:34:08]ExternCall_PrintAddStr [10:34:08]wPrintStart [10:34:08]Write to MH i2c: 01 00 00 E4 0A EE [10:34:08]Write i2c OK [10:34:08]MH_I2C_Read... [10:34:08]Read from MH i2c: 01 [10:34:08]MH_I2C_Read... [10:34:08]Read from MH i2c: 01 07 00 [10:34:08]MH_I2C_Read... [10:34:08]Read from MH i2c: 01 07 00 E4 0A 00 00 00 00 00 FF 0F 03 [10:34:08]RasterBufferAndPrint [10:34:08]line Счет N : (3)58571 [10:34:08]line ИНН: 02508201610067 [10:34:08]line Контрольно-Кассовый Чек [10:34:08]line ПРОДАЖА [10:34:08]line Товар: 2000036230011 [10:34:08]line Кофе Латте XL(GABB TRADE) [10:34:08]line 1.000 * 130.00 [10:34:08]line = 130.00 [10:34:08]line НДС 12% НСП 1% [10:34:08]line > о реализуемом товаре [10:34:08]line ИТОГО: 130.00 [10:34:08]line НСП 1% : 1.15 [10:34:08]line НДС 12% : 13.80 [10:34:08]line Наличными: 130.00 [10:34:08]line Безнал.: 0.00 [10:34:08]line Место: АЗС № 99 "Партнер Нефть" [10:34:08]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [10:34:08]line СНО: Общий режим [10:34:08]line Чек 32 06.03.2024 10:34 [10:34:08]line Смена: 284 ФФД: 1.0 [10:34:08]line ЗНМ: 0300000074 [10:34:08]line РНМ: 0000000000092554 [10:34:08]line Версия ККМ: 001 [10:34:08]line ФМ: 0000000000871783 [10:34:08]line ФД: 32416 [10:34:08]line ФПД: 220915014612301 [10:34:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T103409&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32416&fm=220915014612301&tin=02508201610067®Number=0000000000092554&sum=13000 [10:34:08]line 0 [10:34:08]OFD Sender: Processing packet 32416 [packets to send 5, broken 4] [10:34:08]ProducePacketName [10:34:08]name=ofd_packets/00032416 [10:34:08]OFD Sender: To server: pG, [10:34:08]CommunicateWithHost lk.salyk.kg:30040 [10:34:08]ConnectInit lk.salyk.kg [10:34:08]written 0, free lines is 4095 [10:34:08]Connected sock=11 [10:34:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 28 01 00 00 C7 90 20 01 13 B4 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 A1 46 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A0 7E 00 00 35 04 06 00 C8 EB C8 F8 B5 4D 01 C7 E4 AE 63 94 A6 33 [10:34:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 16 C9 47 00 0E 7D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A0 7E 00 00 F4 03 04 00 D9 EE E7 65 B6 04 01 00 00 3A 97 49 E4 1F 02 90 31 [10:34:08]CommunicateWithHost err = 0 [10:34:08]CheckOFDResponse [10:34:08]1017 (14) - 77093643461234 [10:34:08]1041 (16) - 0000000000871783 [10:34:08]1040 (4) - 32416 [10:34:08]1012 (4) - 06.03.2024 04:19 [10:34:08]1206 (1) - 0 [10:34:08]OFD Sender: Remove packet 32416 [10:34:08]ProducePacketName [10:34:08]name=ofd_packets/00032416 [10:34:08]NVStorageDeleteData [10:34:08]Write to MH i2c: 01 00 00 0C 0B 17 [10:34:08]Write i2c OK [10:34:08]MH_I2C_Read... [10:34:08]Read from MH i2c: 01 [10:34:08]MH_I2C_Read... [10:34:08]Read from MH i2c: 01 07 00 [10:34:08]MH_I2C_Read... [10:34:08]Read from MH i2c: 01 07 00 0C 0B 00 00 00 00 00 CD 0C F7 [10:34:08]RasterBufferAndPrint [10:34:08]line [10:34:08]line [10:34:08]line [10:34:08]line [10:34:08]line [10:34:08]written 0, free lines is 3281 [10:34:08]MH_Cut [10:34:08]Write to MH i2c: D1 01 00 13 0B 01 F0 [10:34:08]Write i2c OK [10:34:08]MH_I2C_Read... [10:34:08]Read from MH i2c: D1 [10:34:08]MH_I2C_Read... [10:34:08]Read from MH i2c: D1 01 00 [10:34:08]MH_I2C_Read... [10:34:08]Read from MH i2c: D1 01 00 13 0B 00 EF [10:34:08]Write to MH i2c: 01 00 00 14 0B 1F [10:34:08]Write i2c OK [10:34:08]MH_I2C_Read... [10:34:09]OFD Sender: No OFD packet to send [10:34:09]*** Cut start [10:34:09]*** Partial cut [10:34:09]*** CUTSNS_PIN = 1 [10:34:09]*** CUTSNS_PIN = 0 [10:34:10]*** Brake cut motor [10:34:10]Read from MH i2c: 01 [10:34:10]MH_I2C_Read... [10:34:10]*** Stop cut motor [10:34:10]*** Cut end [10:34:10]Read from MH i2c: 01 07 00 [10:34:10]MH_I2C_Read... [10:34:10]Read from MH i2c: 01 07 00 14 0B 00 00 00 00 00 FF 0F 34 [10:34:10]process_action close_receipt done [10:34:10]requested_data is exist [10:34:10]produce_requested_data [10:34:10]requested_item fm.sn is exist - process it [10:34:10]wFMCommunicate request_size=4 [10:34:10]MH_SAM_APDU [10:34:10]CAPDU: 80 11 00 00 [10:34:10]Write to MH i2c: E2 08 00 15 0B 80 11 00 00 00 00 00 00 9A [10:34:10]Write i2c OK [10:34:10]MH_I2C_Read... [10:34:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:34:10]Read from MH i2c: E2 [10:34:10]MH_I2C_Read... [10:34:10]Read from MH i2c: E2 17 00 [10:34:10]MH_I2C_Read... [10:34:10]Read from MH i2c: E2 17 00 15 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 EF [10:34:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [10:34:10]wFMCommunicate OK [10:34:10]requested_item fd.num is exist - process it [10:34:10]SAM_PROTO_GetFieldsCounters [10:34:10]wFMCommunicate request_size=4 [10:34:10]MH_SAM_APDU [10:34:10]CAPDU: 80 13 00 00 [10:34:10]Write to MH i2c: E2 08 00 16 0B 80 13 00 00 00 00 00 00 9D [10:34:10]Write i2c OK [10:34:10]MH_I2C_Read... [10:34:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:34:10]Read from MH i2c: E2 [10:34:10]MH_I2C_Read... [10:34:10]Read from MH i2c: E2 62 00 [10:34:10]MH_I2C_Read... [10:34:10]Read from MH i2c: E2 62 00 16 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 A0 7E 00 00 0E 04 04 00 1C 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 5B [10:34:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 A0 7E 00 00 0E 04 04 00 1C 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:34:10]wFMCommunicate OK [10:34:10]SAM_PROTO_GetFieldsCounters done [10:34:10]requested_item shift.num is exist - process it [10:34:10]requested_item shift.opened is exist - process it [10:34:10]req_shift_opened [10:34:10]FM_GetShiftState [10:34:10]SAM_PROTO_GetShiftState [10:34:10]wFMCommunicate request_size=4 [10:34:10]MH_SAM_APDU [10:34:10]CAPDU: 80 13 01 00 [10:34:10]Write to MH i2c: E2 08 00 17 0B 80 13 01 00 00 00 00 00 9F [10:34:10]Write i2c OK [10:34:10]MH_I2C_Read... [10:34:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:34:10]Read from MH i2c: E2 [10:34:10]MH_I2C_Read... [10:34:10]Read from MH i2c: E2 0E 00 [10:34:10]MH_I2C_Read... [10:34:10]Read from MH i2c: E2 0E 00 17 0B 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 1C [10:34:10]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [10:34:10]wFMCommunicate OK [10:34:10]SAM_PROTO_GetShiftState done [10:34:10]FM_GetShiftState done [10:34:10]req_shift_opened done [10:34:10]requested_item shift.open_date is exist - process it [10:34:10]req_shift_open_date [10:34:10]req_shift_open_date done [10:34:10]produce_requested_data done [10:34:10]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32416,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [10:34:10]process_action_free close_receipt [10:34:10]json_value_free [10:34:10]json_value_free done [10:34:10]process_json_proto returns [10:34:10]Send response to host [10:34:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32416,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [10:34:10]free response buf [10:34:10]execute_script done [10:34:10]execute_script returns [10:34:10]free content buf [10:34:10]Sock 8.Close socket [10:34:10]Sock 8.Thread stoped [10:34:14]OFD Sender: No OFD packet to send [10:34:19]OFD Sender: No OFD packet to send [10:34:24]OFD Sender: No OFD packet to send [10:34:29]OFD Sender: No OFD packet to send [10:34:34]OFD Sender: No OFD packet to send [10:34:39]OFD Sender: No OFD packet to send [10:34:44]OFD Sender: No OFD packet to send [10:34:49]OFD Sender: No OFD packet to send [10:34:54]OFD Sender: No OFD packet to send [10:34:59]OFD Sender: No OFD packet to send [10:35:04]OFD Sender: No OFD packet to send [10:35:09]OFD Sender: No OFD packet to send [10:35:14]OFD Sender: No OFD packet to send [10:35:19]OFD Sender: No OFD packet to send [10:35:24]OFD Sender: No OFD packet to send [10:35:29]OFD Sender: No OFD packet to send [10:35:34]OFD Sender: No OFD packet to send [10:35:39]OFD Sender: No OFD packet to send [10:35:44]OFD Sender: No OFD packet to send [10:35:49]OFD Sender: No OFD packet to send [10:35:54]OFD Sender: No OFD packet to send [10:35:59]OFD Sender: No OFD packet to send [10:36:04]OFD Sender: No OFD packet to send [10:36:09]OFD Sender: No OFD packet to send [10:36:14]OFD Sender: No OFD packet to send [10:36:19]OFD Sender: No OFD packet to send [10:36:24]OFD Sender: No OFD packet to send [10:36:29]OFD Sender: No OFD packet to send [10:36:34]OFD Sender: No OFD packet to send [10:36:39]OFD Sender: No OFD packet to send [10:36:44]OFD Sender: No OFD packet to send [10:36:49]OFD Sender: No OFD packet to send [10:36:54]OFD Sender: No OFD packet to send [10:36:59]OFD Sender: No OFD packet to send [10:37:04]OFD Sender: No OFD packet to send [10:37:09]OFD Sender: No OFD packet to send [10:37:14]OFD Sender: No OFD packet to send [10:37:19]OFD Sender: No OFD packet to send [10:37:24]OFD Sender: No OFD packet to send [10:37:29]OFD Sender: No OFD packet to send [10:37:34]OFD Sender: No OFD packet to send [10:37:39]OFD Sender: No OFD packet to send [10:37:44]OFD Sender: No OFD packet to send [10:37:49]OFD Sender: No OFD packet to send [10:37:54]OFD Sender: No OFD packet to send [10:37:59]OFD Sender: No OFD packet to send [10:38:04]OFD Sender: No OFD packet to send [10:38:09]OFD Sender: No OFD packet to send [10:38:14]OFD Sender: No OFD packet to send [10:38:19]OFD Sender: No OFD packet to send [10:38:24]OFD Sender: No OFD packet to send [10:38:29]OFD Sender: No OFD packet to send [10:38:34]OFD Sender: No OFD packet to send [10:38:39]OFD Sender: No OFD packet to send [10:38:44]OFD Sender: No OFD packet to send [10:38:49]OFD Sender: No OFD packet to send [10:38:54]OFD Sender: No OFD packet to send [10:38:59]OFD Sender: No OFD packet to send [10:39:04]OFD Sender: No OFD packet to send [10:39:09]OFD Sender: No OFD packet to send [10:39:14]OFD Sender: No OFD packet to send [10:39:19]OFD Sender: No OFD packet to send [10:39:24]OFD Sender: No OFD packet to send [10:39:29]OFD Sender: No OFD packet to send [10:39:34]OFD Sender: No OFD packet to send [10:39:39]OFD Sender: No OFD packet to send [10:39:44]OFD Sender: No OFD packet to send [10:39:49]OFD Sender: No OFD packet to send [10:39:54]OFD Sender: No OFD packet to send [10:39:59]OFD Sender: No OFD packet to send [10:40:04]OFD Sender: No OFD packet to send [10:40:09]OFD Sender: No OFD packet to send [10:40:14]OFD Sender: No OFD packet to send [10:40:19]OFD Sender: No OFD packet to send [10:40:24]OFD Sender: No OFD packet to send [10:40:29]OFD Sender: No OFD packet to send [10:40:34]OFD Sender: No OFD packet to send [10:40:39]OFD Sender: No OFD packet to send [10:40:44]OFD Sender: No OFD packet to send [10:40:49]OFD Sender: No OFD packet to send [10:40:54]OFD Sender: No OFD packet to send [10:40:59]OFD Sender: No OFD packet to send [10:41:04]OFD Sender: No OFD packet to send [10:41:09]OFD Sender: No OFD packet to send [10:41:14]OFD Sender: No OFD packet to send [10:41:19]OFD Sender: No OFD packet to send [10:41:24]OFD Sender: No OFD packet to send [10:41:29]OFD Sender: No OFD packet to send [10:41:34]OFD Sender: No OFD packet to send [10:41:39]OFD Sender: No OFD packet to send [10:41:44]OFD Sender: No OFD packet to send [10:41:49]OFD Sender: No OFD packet to send [10:41:54]OFD Sender: No OFD packet to send [10:41:59]OFD Sender: No OFD packet to send [10:42:04]OFD Sender: No OFD packet to send [10:42:09]OFD Sender: No OFD packet to send [10:42:14]OFD Sender: No OFD packet to send [10:42:19]OFD Sender: No OFD packet to send [10:42:24]OFD Sender: No OFD packet to send [10:42:29]OFD Sender: No OFD packet to send [10:42:34]OFD Sender: No OFD packet to send [10:42:35]accept exits with 9 [10:42:35]New connection [10:42:35]New thread 3066932580 created [10:42:35]Thread 3067075940 joined [10:42:35]Waiting for new connection... [10:42:35] Sock 9.Parse request [10:42:35]Sock 9.Check first char [10:42:35]Sock 9.First char is OK [10:42:35]request: POST /json_proto HTTP/1.0 [10:42:35]Method: POST [10:42:35]URL: /json_proto [10:42:35]Method is POST - this is cgi request [10:42:35]url: /json_proto [10:42:35]query_string will be loaded in cgi processing [10:42:35]execute_cgi json_proto POST (null) [10:42:35]execute_cgi path=json_proto method=POST [10:42:35]POST find Content-Length [10:42:35]Host: 172.17.61.6:8080 [10:42:35]Content-Length: 1258 [10:42:35]Content-Type: application/json [10:42:35] [10:42:35]POST finish read [10:42:35]Found Content-Length = 1258 [10:42:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58572", "tax_sys" : 0, "items" : [ { "code": "4600338000183", "name": "\u0421\u043E\u043A \u0424\u0440\u0443\u0442\u043E \u041D\u042F\u041D\u042F \u044F\u0431\u043B\u043E\u043A\u043E \u043E\u0441\u0432\u0435\u0442 0,2\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4800452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL (\u0410\u041A\u0426\u0418\u042F)", "price" : 120.00, "quantity" : 3.000, "sum" : 360.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 550.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:42:35]execute_script... [10:42:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58572", "tax_sys" : 0, "items" : [ { "code": "4600338000183", "name": "\u0421\u043E\u043A \u0424\u0440\u0443\u0442\u043E \u041D\u042F\u041D\u042F \u044F\u0431\u043B\u043E\u043A\u043E \u043E\u0441\u0432\u0435\u0442 0,2\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4800452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL (\u0410\u041A\u0426\u0418\u042F)", "price" : 120.00, "quantity" : 3.000, "sum" : 360.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 550.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:42:35]POST & json_proto [10:42:35]process_json_proto [10:42:35]json parsed OK: [10:42:35]protocol is kg_v1.0 [10:42:35]action value=close_receipt [10:42:35]process_action close_receipt [10:42:35]cmd_close_receipt [10:42:35]MH_GetDate [10:42:35]Write to MH i2c: F0 00 00 18 0B 12 [10:42:35]Write i2c OK [10:42:35]MH_I2C_Read... [10:42:35]Read from MH i2c: F0 [10:42:35]MH_I2C_Read... [10:42:35]Read from MH i2c: F0 09 00 [10:42:35]MH_I2C_Read... [10:42:35]Read from MH i2c: F0 09 00 18 0B 00 9E 48 E8 65 78 7F 6F 64 18 [10:42:35]GetLastDocTimeStamp 1709721249 [10:42:35]current date 1709721758 [10:42:35]FM_GetShiftState [10:42:35]SAM_PROTO_GetShiftState [10:42:35]wFMCommunicate request_size=4 [10:42:35]MH_SAM_APDU [10:42:35]CAPDU: 80 13 01 00 [10:42:35]Write to MH i2c: E2 08 00 19 0B 80 13 01 00 00 00 00 00 A1 [10:42:35]Write i2c OK [10:42:35]MH_I2C_Read... [10:42:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:42:35]Read from MH i2c: E2 [10:42:35]MH_I2C_Read... [10:42:35]Read from MH i2c: E2 0E 00 [10:42:35]MH_I2C_Read... [10:42:35]Read from MH i2c: E2 0E 00 19 0B 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 1E [10:42:35]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [10:42:35]wFMCommunicate OK [10:42:35]SAM_PROTO_GetShiftState done [10:42:35]FM_GetShiftState done [10:42:35]opened in 1709684590 [10:42:35]opened+sec_in_day 1709770990 [10:42:35]quantity*price = 6500 [10:42:35]sum+1 = 6501 [10:42:35]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4800452010610 Кофе капучино XL (АКЦИЯ) 3.000 * 120.00 = 360.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036190018 Кофе Американо XL(GABB TRADE) 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 550.00 НСП 1% : 4.87 НДС 12% : 58.40 Наличными: 550.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 33 06.03.2024 10:42 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32417 ФПД: 57077124839535 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T104238&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32417&fm=57077124839535&tin=02508201610067®Number=0000000000092554&sum=55000 0 [10:42:36]StoreToDocumentArchive [10:42:36]shift 284 fd 32417 [10:42:36]save to /storage/0284/doc_00032417 [10:42:36]save last doc name /storage/0284/doc_00032417 to /storage/kkm_last_doc_name [10:42:36]save OK [10:42:36]Clear old archive folders... [10:42:36]ProcessDocumentItem done err = 0, tmpTLVsize=525 [10:42:36]tlvbuf is 01672870 [10:42:36]SAM_PROTO_ClearQueue [10:42:36]wFMCommunicate request_size=4 [10:42:36]MH_SAM_APDU [10:42:36]CAPDU: 80 09 00 00 [10:42:36]Write to MH i2c: E2 08 00 26 0B 80 09 00 00 00 00 00 00 A3 [10:42:36]Write i2c OK [10:42:36]MH_I2C_Read... [10:42:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:42:37]Read from MH i2c: E2 [10:42:37]MH_I2C_Read... [10:42:37]Read from MH i2c: E2 03 00 [10:42:37]MH_I2C_Read... [10:42:37]Read from MH i2c: E2 03 00 26 0B 00 90 00 A5 [10:42:37]RAPDU: 90 00 [10:42:37]wFMCommunicate OK [10:42:37]SAM_PROTO_ClearQueue done [10:42:37]KKMCreateOFDPacket [10:42:37]OFDProtocolAddRootSTLVToBuf [10:42:37]FM_MakeSignedData [10:42:37]FM_MakeSignedData [10:42:37]SAM_PROTO_SignData [10:42:37]wFMCommunicate request_size=4 [10:42:37]MH_SAM_APDU [10:42:37]CAPDU: 80 0D 01 02 [10:42:37]Write to MH i2c: E2 08 00 27 0B 80 0D 01 02 00 00 00 00 AB [10:42:37]Write i2c OK [10:42:37]MH_I2C_Read... [10:42:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:42:37]Read from MH i2c: E2 [10:42:37]MH_I2C_Read... [10:42:37]Read from MH i2c: E2 03 00 [10:42:37]MH_I2C_Read... [10:42:37]Read from MH i2c: E2 03 00 27 0B 00 90 00 A6 [10:42:37]RAPDU: 90 00 [10:42:37]wFMCommunicate OK [10:42:37]wFMCommunicate request_size=255 [10:42:37]MH_SAM_APDU [10:42:37]CAPDU: 80 0D 02 02 FA 03 00 0D 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 30 31 38 33 06 04 38 00 D0 A1 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 BE D1 81 D0 B2 D0 B5 D1 82 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 A0 8C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 [10:42:37]Write to MH i2c: E2 02 01 28 0B 80 0D 02 02 FA 00 03 00 0D 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 30 31 38 33 06 04 38 00 D0 A1 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 BE D1 81 D0 B2 D0 B5 D1 82 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 A0 8C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 00 00 93 [10:42:37]Write i2c OK [10:42:37]MH_I2C_Read... [10:42:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:42:37]Read from MH i2c: E2 [10:42:37]MH_I2C_Read... [10:42:37]Read from MH i2c: E2 03 00 [10:42:37]MH_I2C_Read... [10:42:37]Read from MH i2c: E2 03 00 28 0B 00 90 00 A7 [10:42:37]RAPDU: 90 00 [10:42:37]wFMCommunicate OK [10:42:37]wFMCommunicate request_size=255 [10:42:37]MH_SAM_APDU [10:42:37]CAPDU: 80 0D 02 02 FA 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D0 16 00 00 00 00 07 04 06 00 D8 D6 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 9E 48 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 [10:42:37]Write to MH i2c: E2 02 01 29 0B 80 0D 02 02 FA 00 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D0 16 00 00 00 00 07 04 06 00 D8 D6 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 9E 48 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 00 00 0F [10:42:37]Write i2c OK [10:42:37]MH_I2C_Read... [10:42:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:42:37]Read from MH i2c: E2 [10:42:37]MH_I2C_Read... [10:42:37]Read from MH i2c: E2 03 00 [10:42:37]MH_I2C_Read... [10:42:37]Read from MH i2c: E2 03 00 29 0B 00 90 00 A8 [10:42:37]RAPDU: 90 00 [10:42:37]wFMCommunicate OK [10:42:37]wFMCommunicate request_size=34 [10:42:37]MH_SAM_APDU [10:42:37]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A1 7E 00 00 35 04 06 00 33 E9 4D C0 38 6F [10:42:37]Write to MH i2c: E2 25 00 2A 0B 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A1 7E 00 00 35 04 06 00 33 E9 4D C0 38 6F 00 00 61 [10:42:37]Write i2c OK [10:42:37]MH_I2C_Read... [10:42:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:42:38]Read from MH i2c: E2 [10:42:38]MH_I2C_Read... [10:42:38]Read from MH i2c: E2 03 00 [10:42:38]MH_I2C_Read... [10:42:38]Read from MH i2c: E2 03 00 2A 0B 00 90 00 A9 [10:42:38]RAPDU: 90 00 [10:42:38]wFMCommunicate OK [10:42:38]wFMCommunicate request_size=4 [10:42:38]MH_SAM_APDU [10:42:38]CAPDU: 80 0D 03 02 [10:42:38]Write to MH i2c: E2 08 00 2B 0B 80 0D 03 02 00 00 00 00 B1 [10:42:38]Write i2c OK [10:42:38]MH_I2C_Read... [10:42:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:42:38]Read from MH i2c: E2 [10:42:38]MH_I2C_Read... [10:42:38]Read from MH i2c: E2 0B 00 [10:42:38]MH_I2C_Read... [10:42:38]Read from MH i2c: E2 0B 00 2B 0B 00 69 A9 9C 15 93 41 42 58 90 00 E3 [10:42:38]RAPDU: 69 A9 9C 15 93 41 42 58 90 00 [10:42:38]wFMCommunicate OK [10:42:38]SAM_PROTO_SignData done [10:42:38]FM_MakeSignedData done [10:42:38]CreateOFDProtocolMessage [10:42:38]wFMCommunicate request_size=4 [10:42:38]MH_SAM_APDU [10:42:38]CAPDU: 80 11 00 00 [10:42:38]Write to MH i2c: E2 08 00 2C 0B 80 11 00 00 00 00 00 00 B1 [10:42:38]Write i2c OK [10:42:38]MH_I2C_Read... [10:42:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:42:38]Read from MH i2c: E2 [10:42:38]MH_I2C_Read... [10:42:38]Read from MH i2c: E2 17 00 [10:42:38]MH_I2C_Read... [10:42:38]Read from MH i2c: E2 17 00 2C 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 06 [10:42:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [10:42:38]wFMCommunicate OK [10:42:38]CreateOFDProtocolMessage done [10:42:38]OFDSenderStorePacket 32417 [10:42:38]StoreOFDPacket docnum=32417 [10:42:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 21 02 00 00 3B 6F 19 02 7B 98 5A 03 01 00 03 00 0D 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 30 31 38 33 06 04 38 00 D0 A1 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 BE D1 81 D0 B2 D0 B5 D1 82 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 A0 8C 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 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D0 16 00 00 00 00 07 04 06 00 D8 D6 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 9E 48 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A1 7E 00 00 35 04 06 00 33 E9 4D C0 38 6F 69 A9 9C 15 93 41 42 58 [10:42:38]CheckFolder [10:42:38]dirname=/storage/ofd_packets [10:42:38]CheckFolder done [10:42:38]ProducePacketName [10:42:38]name=ofd_packets/00032417 [10:42:38]NVStorageSaveData ofd_packets/00032417 [10:42:38]File name is /storage/ofd_packets/00032417 [10:42:38]Write 575 bytes [10:42:38]NVStorageSaveData done [10:42:38]OFDSenderStorePacket done [10:42:38]KKMCreateOFDPacket done [10:42:38]NVStorageSaveData kkm_last_timestamp [10:42:38]File name is /storage/kkm_last_timestamp [10:42:38]Write 4 bytes [10:42:38]NVStorageSaveData done [10:42:38]ExternCall_PrintAddStr [10:42:38]wPrintStart [10:42:38]Write to MH i2c: 01 00 00 2D 0B 38 [10:42:38]Write i2c OK [10:42:38]MH_I2C_Read... [10:42:38]Read from MH i2c: 01 [10:42:38]MH_I2C_Read... [10:42:38]Read from MH i2c: 01 07 00 [10:42:38]MH_I2C_Read... [10:42:38]Read from MH i2c: 01 07 00 2D 0B 00 00 00 00 00 FF 0F 4D [10:42:38]RasterBufferAndPrint [10:42:38]line Счет N : (3)58572 [10:42:38]line ИНН: 02508201610067 [10:42:38]line Контрольно-Кассовый Чек [10:42:38]line ПРОДАЖА [10:42:38]line Товар: 4600338000183 [10:42:38]line Сок Фруто НЯНЯ яблоко освет 0,2л [10:42:38]line 1.000 * 65.00 [10:42:38]line = 65.00 [10:42:38]line НДС 12% НСП 1% [10:42:38]line > о реализуемом товаре [10:42:38]line Товар: 4800452010610 [10:42:38]line Кофе капучино XL (АКЦИЯ) [10:42:38]line 3.000 * 120.00 [10:42:38]line = 360.00 [10:42:38]line НДС 12% НСП 1% [10:42:38]line > о реализуемом товаре [10:42:38]line Товар: 2000036190018 [10:42:38]line Кофе Американо XL(GABB TRADE) [10:42:38]line 1.000 * 125.00 [10:42:38]line = 125.00 [10:42:38]line НДС 12% НСП 1% [10:42:38]line > о реализуемом товаре [10:42:38]line ИТОГО: 550.00 [10:42:38]line НСП 1% : 4.87 [10:42:38]line НДС 12% : 58.40 [10:42:38]line Наличными: 550.00 [10:42:38]line Безнал.: 0.00 [10:42:38]line Место: АЗС № 99 "Партнер Нефть" [10:42:38]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [10:42:38]line СНО: Общий режим [10:42:38]line Чек 33 06.03.2024 10:42 [10:42:38]line Смена: 284 ФФД: 1.0 [10:42:38]line ЗНМ: 0300000074 [10:42:38]line РНМ: 0000000000092554 [10:42:38]line Версия ККМ: 001 [10:42:38]line ФМ: 0000000000871783 [10:42:38]line ФД: 32417 [10:42:38]line ФПД: 57077124839535 [10:42:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T104238&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32417&fm=57077124839535&tin=02508201610067®Number=0000000000092554&sum=55000 [10:42:38]line 0 [10:42:38]written 0, free lines is 4095 [10:42:38]OFD Sender: Processing packet 32417 [packets to send 5, broken 4] [10:42:38]ProducePacketName [10:42:38]name=ofd_packets/00032417 [10:42:38]OFD Sender: To server: pG, [10:42:38]CommunicateWithHost lk.salyk.kg:30040 [10:42:38]ConnectInit lk.salyk.kg [10:42:38]Connected sock=10 [10:42:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 21 02 00 00 3B 6F 19 02 7B 98 5A 03 01 00 03 00 0D 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 30 31 38 33 06 04 38 00 D0 A1 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 BE D1 81 D0 B2 D0 B5 D1 82 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 A0 8C 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 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D0 16 00 00 00 00 07 04 06 00 D8 D6 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 9E 48 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A1 7E 00 00 35 04 06 00 33 E9 4D C0 38 6F 69 A9 9C 15 93 41 42 58 [10:42:38]Write to MH i2c: 01 00 00 63 0B 6E [10:42:38]Write i2c OK [10:42:38]MH_I2C_Read... [10:42:38]Read from MH i2c: 01 [10:42:38]MH_I2C_Read... [10:42:38]Read from MH i2c: 01 07 00 [10:42:38]MH_I2C_Read... [10:42:38]Read from MH i2c: 01 07 00 63 0B 00 00 00 00 00 04 0C 85 [10:42:38]RasterBufferAndPrint [10:42:38]line [10:42:38]line [10:42:38]line [10:42:38]line [10:42:38]line [10:42:38]written 0, free lines is 3084 [10:42:38]MH_Cut [10:42:38]Write to MH i2c: D1 01 00 6A 0B 01 47 [10:42:38]Write i2c OK [10:42:38]MH_I2C_Read... [10:42:38]Read from MH i2c: D1 [10:42:38]MH_I2C_Read... [10:42:38]Read from MH i2c: D1 01 00 [10:42:38]MH_I2C_Read... [10:42:38]Read from MH i2c: D1 01 00 6A 0B 00 46 [10:42:38]Write to MH i2c: 01 00 00 6B 0B 76 [10:42:38]Write i2c OK [10:42:38]MH_I2C_Read... [10:42:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 A9 79 47 00 00 52 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A1 7E 00 00 F4 03 04 00 D7 F0 E7 65 B6 04 01 00 00 9E 2B A7 18 25 96 EE 33 [10:42:38]CommunicateWithHost err = 0 [10:42:38]CheckOFDResponse [10:42:38]1017 (14) - 77093643461234 [10:42:38]1041 (16) - 0000000000871783 [10:42:38]1040 (4) - 32417 [10:42:38]1012 (4) - 06.03.2024 04:28 [10:42:38]1206 (1) - 0 [10:42:38]OFD Sender: Remove packet 32417 [10:42:38]ProducePacketName [10:42:38]name=ofd_packets/00032417 [10:42:38]NVStorageDeleteData [10:42:39]OFD Sender: No OFD packet to send [10:42:39]*** Cut start [10:42:39]*** Partial cut [10:42:39]*** CUTSNS_PIN = 1 [10:42:39]*** CUTSNS_PIN = 0 [10:42:40]*** Brake cut motor [10:42:40]Read from MH i2c: 01 [10:42:40]MH_I2C_Read... [10:42:40]*** Stop cut motor [10:42:40]*** Cut end [10:42:40]Read from MH i2c: 01 07 00 [10:42:40]MH_I2C_Read... [10:42:40]Read from MH i2c: 01 07 00 6B 0B 00 00 00 00 00 FF 0F 8B [10:42:40]process_action close_receipt done [10:42:40]requested_data is exist [10:42:40]produce_requested_data [10:42:40]requested_item fm.sn is exist - process it [10:42:40]wFMCommunicate request_size=4 [10:42:40]MH_SAM_APDU [10:42:40]CAPDU: 80 11 00 00 [10:42:40]Write to MH i2c: E2 08 00 6C 0B 80 11 00 00 00 00 00 00 F1 [10:42:40]Write i2c OK [10:42:40]MH_I2C_Read... [10:42:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:42:40]Read from MH i2c: E2 [10:42:40]MH_I2C_Read... [10:42:40]Read from MH i2c: E2 17 00 [10:42:40]MH_I2C_Read... [10:42:40]Read from MH i2c: E2 17 00 6C 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 46 [10:42:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [10:42:40]wFMCommunicate OK [10:42:40]requested_item fd.num is exist - process it [10:42:40]SAM_PROTO_GetFieldsCounters [10:42:40]wFMCommunicate request_size=4 [10:42:40]MH_SAM_APDU [10:42:40]CAPDU: 80 13 00 00 [10:42:40]Write to MH i2c: E2 08 00 6D 0B 80 13 00 00 00 00 00 00 F4 [10:42:40]Write i2c OK [10:42:40]MH_I2C_Read... [10:42:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:42:40]Read from MH i2c: E2 [10:42:40]MH_I2C_Read... [10:42:40]Read from MH i2c: E2 62 00 [10:42:40]MH_I2C_Read... [10:42:40]Read from MH i2c: E2 62 00 6D 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 A1 7E 00 00 0E 04 04 00 1C 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 B6 [10:42:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 A1 7E 00 00 0E 04 04 00 1C 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 [10:42:40]wFMCommunicate OK [10:42:40]SAM_PROTO_GetFieldsCounters done [10:42:40]requested_item shift.num is exist - process it [10:42:40]requested_item shift.opened is exist - process it [10:42:40]req_shift_opened [10:42:40]FM_GetShiftState [10:42:40]SAM_PROTO_GetShiftState [10:42:40]wFMCommunicate request_size=4 [10:42:40]MH_SAM_APDU [10:42:40]CAPDU: 80 13 01 00 [10:42:40]Write to MH i2c: E2 08 00 6E 0B 80 13 01 00 00 00 00 00 F6 [10:42:40]Write i2c OK [10:42:40]MH_I2C_Read... [10:42:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:42:40]Read from MH i2c: E2 [10:42:40]MH_I2C_Read... [10:42:40]Read from MH i2c: E2 0E 00 [10:42:40]MH_I2C_Read... [10:42:40]Read from MH i2c: E2 0E 00 6E 0B 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 73 [10:42:40]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [10:42:40]wFMCommunicate OK [10:42:40]SAM_PROTO_GetShiftState done [10:42:40]FM_GetShiftState done [10:42:40]req_shift_opened done [10:42:40]requested_item shift.open_date is exist - process it [10:42:40]req_shift_open_date [10:42:40]req_shift_open_date done [10:42:40]produce_requested_data done [10:42:40]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32417,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [10:42:40]process_action_free close_receipt [10:42:40]json_value_free [10:42:40]json_value_free done [10:42:40]process_json_proto returns [10:42:40]Send response to host [10:42:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32417,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [10:42:40]free response buf [10:42:40]execute_script done [10:42:40]execute_script returns [10:42:40]free content buf [10:42:40]Sock 9.Close socket [10:42:40]Sock 9.Thread stoped [10:42:44]OFD Sender: No OFD packet to send [10:42:49]OFD Sender: No OFD packet to send [10:42:54]OFD Sender: No OFD packet to send [10:42:59]OFD Sender: No OFD packet to send [10:43:02]accept exits with 8 [10:43:02]New connection [10:43:02]New thread 3067075940 created [10:43:02]Thread 3066932580 joined [10:43:02]Waiting for new connection... [10:43:02] Sock 8.Parse request [10:43:02]Sock 8.Check first char [10:43:02]Sock 8.First char is OK [10:43:02]request: POST /json_proto HTTP/1.0 [10:43:02]Method: POST [10:43:02]URL: /json_proto [10:43:02]Method is POST - this is cgi request [10:43:02]url: /json_proto [10:43:02]query_string will be loaded in cgi processing [10:43:02]execute_cgi json_proto POST (null) [10:43:02]execute_cgi path=json_proto method=POST [10:43:02]POST find Content-Length [10:43:02]Host: 172.17.61.6:8080 [10:43:02]Content-Length: 621 [10:43:02]Content-Type: application/json [10:43:02] [10:43:02]POST finish read [10:43:02]Found Content-Length = 621 [10:43:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58573", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:43:02]execute_script... [10:43: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)58573", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:43:02]POST & json_proto [10:43:02]process_json_proto [10:43:02]json parsed OK: [10:43:02]protocol is kg_v1.0 [10:43:02]action value=close_receipt [10:43:02]process_action close_receipt [10:43:02]cmd_close_receipt [10:43:02]MH_GetDate [10:43:02]Write to MH i2c: F0 00 00 6F 0B 69 [10:43:02]Write i2c OK [10:43:02]MH_I2C_Read... [10:43:02]Read from MH i2c: F0 [10:43:02]MH_I2C_Read... [10:43:02]Read from MH i2c: F0 09 00 [10:43:02]MH_I2C_Read... [10:43:02]Read from MH i2c: F0 09 00 6F 0B 00 B9 48 E8 65 78 7F 6F 64 8A [10:43:02]GetLastDocTimeStamp 1709721758 [10:43:02]current date 1709721785 [10:43:02]FM_GetShiftState [10:43:02]SAM_PROTO_GetShiftState [10:43:02]wFMCommunicate request_size=4 [10:43:02]MH_SAM_APDU [10:43:02]CAPDU: 80 13 01 00 [10:43:02]Write to MH i2c: E2 08 00 70 0B 80 13 01 00 00 00 00 00 F8 [10:43:02]Write i2c OK [10:43:02]MH_I2C_Read... [10:43:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:43:02]Read from MH i2c: E2 [10:43:02]MH_I2C_Read... [10:43:02]Read from MH i2c: E2 0E 00 [10:43:02]MH_I2C_Read... [10:43:02]Read from MH i2c: E2 0E 00 70 0B 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 75 [10:43:02]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [10:43:02]wFMCommunicate OK [10:43:02]SAM_PROTO_GetShiftState done [10:43:02]FM_GetShiftState done [10:43:02]opened in 1709684590 [10:43:02]opened+sec_in_day 1709770990 [10:43:02]quantity*price = 14400 [10:43:02]sum+1 = 14401 [10:43:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 34 06.03.2024 10:43 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32418 ФПД: 187679216329295 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T104305&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32418&fm=187679216329295&tin=02508201610067®Number=0000000000092554&sum=14400 0 [10:43:03]StoreToDocumentArchive [10:43:03]shift 284 fd 32418 [10:43:03]save to /storage/0284/doc_00032418 [10:43:03]save last doc name /storage/0284/doc_00032418 to /storage/kkm_last_doc_name [10:43:03]save OK [10:43:03]Clear old archive folders... [10:43:03]ProcessDocumentItem done err = 0, tmpTLVsize=274 [10:43:03]tlvbuf is 0166C900 [10:43:03]SAM_PROTO_ClearQueue [10:43:03]wFMCommunicate request_size=4 [10:43:03]MH_SAM_APDU [10:43:03]CAPDU: 80 09 00 00 [10:43:03]Write to MH i2c: E2 08 00 7D 0B 80 09 00 00 00 00 00 00 FA [10:43:03]Write i2c OK [10:43:03]MH_I2C_Read... [10:43:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:43:03]Read from MH i2c: E2 [10:43:03]MH_I2C_Read... [10:43:03]Read from MH i2c: E2 03 00 [10:43:03]MH_I2C_Read... [10:43:03]Read from MH i2c: E2 03 00 7D 0B 00 90 00 FC [10:43:03]RAPDU: 90 00 [10:43:03]wFMCommunicate OK [10:43:03]SAM_PROTO_ClearQueue done [10:43:03]KKMCreateOFDPacket [10:43:03]OFDProtocolAddRootSTLVToBuf [10:43:03]FM_MakeSignedData [10:43:03]FM_MakeSignedData [10:43:03]SAM_PROTO_SignData [10:43:03]wFMCommunicate request_size=4 [10:43:03]MH_SAM_APDU [10:43:03]CAPDU: 80 0D 01 02 [10:43:03]Write to MH i2c: E2 08 00 7E 0B 80 0D 01 02 00 00 00 00 02 [10:43:03]Write i2c OK [10:43:03]MH_I2C_Read... [10:43:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:43:03]Read from MH i2c: E2 [10:43:03]MH_I2C_Read... [10:43:03]Read from MH i2c: E2 03 00 [10:43:03]MH_I2C_Read... [10:43:03]Read from MH i2c: E2 03 00 7E 0B 00 90 00 FD [10:43:03]RAPDU: 90 00 [10:43:03]wFMCommunicate OK [10:43:03]wFMCommunicate request_size=255 [10:43:03]MH_SAM_APDU [10:43:03]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 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 22 00 00 00 F4 03 04 00 B9 48 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 [10:43:03]Write to MH i2c: E2 02 01 7F 0B 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 22 00 00 00 F4 03 04 00 B9 48 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 00 00 0E [10:43:03]Write i2c OK [10:43:03]MH_I2C_Read... [10:43:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:43:04]Read from MH i2c: E2 [10:43:04]MH_I2C_Read... [10:43:04]Read from MH i2c: E2 03 00 [10:43:04]MH_I2C_Read... [10:43:04]Read from MH i2c: E2 03 00 7F 0B 00 90 00 FE [10:43:04]RAPDU: 90 00 [10:43:04]wFMCommunicate OK [10:43:04]wFMCommunicate request_size=33 [10:43:04]MH_SAM_APDU [10:43:04]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A2 7E 00 00 35 04 06 00 AA B1 79 05 62 4F [10:43:04]Write to MH i2c: E2 24 00 80 0B 80 0D 02 02 1C 00 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A2 7E 00 00 35 04 06 00 AA B1 79 05 62 4F 00 00 40 [10:43:04]Write i2c OK [10:43:04]MH_I2C_Read... [10:43:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:43:04]Read from MH i2c: E2 [10:43:04]MH_I2C_Read... [10:43:04]Read from MH i2c: E2 03 00 [10:43:04]MH_I2C_Read... [10:43:04]Read from MH i2c: E2 03 00 80 0B 00 90 00 FF [10:43:04]RAPDU: 90 00 [10:43:04]wFMCommunicate OK [10:43:04]wFMCommunicate request_size=4 [10:43:04]MH_SAM_APDU [10:43:04]CAPDU: 80 0D 03 02 [10:43:04]Write to MH i2c: E2 08 00 81 0B 80 0D 03 02 00 00 00 00 07 [10:43:04]Write i2c OK [10:43:04]MH_I2C_Read... [10:43:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:43:04]Read from MH i2c: E2 [10:43:04]MH_I2C_Read... [10:43:04]Read from MH i2c: E2 0B 00 [10:43:04]MH_I2C_Read... [10:43:04]Read from MH i2c: E2 0B 00 81 0B 00 16 2A 6F 9B 9A 54 71 FB 90 00 AC [10:43:04]RAPDU: 16 2A 6F 9B 9A 54 71 FB 90 00 [10:43:04]wFMCommunicate OK [10:43:04]SAM_PROTO_SignData done [10:43:04]FM_MakeSignedData done [10:43:04]CreateOFDProtocolMessage [10:43:04]wFMCommunicate request_size=4 [10:43:04]MH_SAM_APDU [10:43:04]CAPDU: 80 11 00 00 [10:43:04]Write to MH i2c: E2 08 00 82 0B 80 11 00 00 00 00 00 00 07 [10:43:04]Write i2c OK [10:43:04]MH_I2C_Read... [10:43:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:43:04]Read from MH i2c: E2 [10:43:04]MH_I2C_Read... [10:43:04]Read from MH i2c: E2 17 00 [10:43:04]MH_I2C_Read... [10:43:04]Read from MH i2c: E2 17 00 82 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 5C [10:43:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [10:43:04]wFMCommunicate OK [10:43:04]CreateOFDProtocolMessage done [10:43:04]OFDSenderStorePacket 32418 [10:43:04]StoreOFDPacket docnum=32418 [10:43:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 26 01 00 00 F2 26 1E 01 E1 EF 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 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 22 00 00 00 F4 03 04 00 B9 48 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A2 7E 00 00 35 04 06 00 AA B1 79 05 62 4F 16 2A 6F 9B 9A 54 71 FB [10:43:04]CheckFolder [10:43:04]dirname=/storage/ofd_packets [10:43:04]CheckFolder done [10:43:04]ProducePacketName [10:43:04]name=ofd_packets/00032418 [10:43:04]NVStorageSaveData ofd_packets/00032418 [10:43:04]File name is /storage/ofd_packets/00032418 [10:43:04]Write 324 bytes [10:43:04]NVStorageSaveData done [10:43:04]OFDSenderStorePacket done [10:43:04]KKMCreateOFDPacket done [10:43:04]NVStorageSaveData kkm_last_timestamp [10:43:04]File name is /storage/kkm_last_timestamp [10:43:04]Write 4 bytes [10:43:04]NVStorageSaveData done [10:43:04]ExternCall_PrintAddStr [10:43:04]wPrintStart [10:43:04]Write to MH i2c: 01 00 00 83 0B 8E [10:43:04]Write i2c OK [10:43:04]MH_I2C_Read... [10:43:04]Read from MH i2c: 01 [10:43:04]MH_I2C_Read... [10:43:04]Read from MH i2c: 01 07 00 [10:43:04]MH_I2C_Read... [10:43:04]Read from MH i2c: 01 07 00 83 0B 00 00 00 00 00 FF 0F A3 [10:43:04]RasterBufferAndPrint [10:43:04]line Счет N : (3)58573 [10:43:04]line ИНН: 02508201610067 [10:43:04]line Контрольно-Кассовый Чек [10:43:04]line ПРОДАЖА [10:43:04]line Товар: 48741958 [10:43:04]line Сигареты Parliament Aqua Blue [10:43:04]line 1.000 * 144.00 [10:43:04]line = 144.00 [10:43:04]line НДС 12% НСП 1% [10:43:04]line > о реализуемом товаре [10:43:04]line ИТОГО: 144.00 [10:43:04]line НСП 1% : 1.27 [10:43:04]line НДС 12% : 15.29 [10:43:04]line Наличными: 144.00 [10:43:04]line Безнал.: 0.00 [10:43:04]line Место: АЗС № 99 "Партнер Нефть" [10:43:04]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [10:43:04]line СНО: Общий режим [10:43:04]line Чек 34 06.03.2024 10:43 [10:43:04]line Смена: 284 ФФД: 1.0 [10:43:04]line ЗНМ: 0300000074 [10:43:04]line РНМ: 0000000000092554 [10:43:04]line Версия ККМ: 001 [10:43:04]line ФМ: 0000000000871783 [10:43:04]line ФД: 32418 [10:43:04]line ФПД: 187679216329295 [10:43:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T104305&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32418&fm=187679216329295&tin=02508201610067®Number=0000000000092554&sum=14400 [10:43:04]line 0 [10:43:04]OFD Sender: Processing packet 32418 [packets to send 5, broken 4] [10:43:04]ProducePacketName [10:43:04]name=ofd_packets/00032418 [10:43:04]OFD Sender: To server: pG, [10:43:04]CommunicateWithHost lk.salyk.kg:30040 [10:43:04]ConnectInit lk.salyk.kg [10:43:04]written 0, free lines is 4095 [10:43:04]Connected sock=10 [10:43:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 26 01 00 00 F2 26 1E 01 E1 EF 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 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 22 00 00 00 F4 03 04 00 B9 48 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A2 7E 00 00 35 04 06 00 AA B1 79 05 62 4F 16 2A 6F 9B 9A 54 71 FB [10:43:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 13 5A 47 00 12 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 38 37 31 37 38 33 10 04 04 00 A2 7E 00 00 F4 03 04 00 F1 F0 E7 65 B6 04 01 00 00 92 17 0C DF ED 65 33 3A [10:43:04]CommunicateWithHost err = 0 [10:43:04]CheckOFDResponse [10:43:04]1017 (14) - 77093643461234 [10:43:04]1041 (16) - 0000000000871783 [10:43:04]1040 (4) - 32418 [10:43:04]1012 (4) - 06.03.2024 04:28 [10:43:04]1206 (1) - 0 [10:43:04]OFD Sender: Remove packet 32418 [10:43:04]ProducePacketName [10:43:04]name=ofd_packets/00032418 [10:43:04]NVStorageDeleteData [10:43:04]Write to MH i2c: 01 00 00 AC 0B B7 [10:43:04]Write i2c OK [10:43:04]MH_I2C_Read... [10:43:04]Read from MH i2c: 01 [10:43:04]MH_I2C_Read... [10:43:04]Read from MH i2c: 01 07 00 [10:43:04]MH_I2C_Read... [10:43:04]Read from MH i2c: 01 07 00 AC 0B 00 00 00 00 00 B8 0C 82 [10:43:04]RasterBufferAndPrint [10:43:04]line [10:43:04]line [10:43:04]line [10:43:04]line [10:43:04]line [10:43:04]written 0, free lines is 3260 [10:43:04]MH_Cut [10:43:04]Write to MH i2c: D1 01 00 B3 0B 01 90 [10:43:04]Write i2c OK [10:43:04]MH_I2C_Read... [10:43:04]Read from MH i2c: D1 [10:43:04]MH_I2C_Read... [10:43:04]Read from MH i2c: D1 01 00 [10:43:04]MH_I2C_Read... [10:43:04]Read from MH i2c: D1 01 00 B3 0B 00 8F [10:43:04]Write to MH i2c: 01 00 00 B4 0B BF [10:43:04]Write i2c OK [10:43:04]MH_I2C_Read... [10:43:05]OFD Sender: No OFD packet to send [10:43:05]*** Cut start [10:43:05]*** Partial cut [10:43:05]*** CUTSNS_PIN = 1 [10:43:05]*** CUTSNS_PIN = 0 [10:43:06]*** Brake cut motor [10:43:06]Read from MH i2c: 01 [10:43:06]MH_I2C_Read... [10:43:06]*** Stop cut motor [10:43:06]*** Cut end [10:43:06]Read from MH i2c: 01 07 00 [10:43:06]MH_I2C_Read... [10:43:06]Read from MH i2c: 01 07 00 B4 0B 00 00 00 00 00 FF 0F D4 [10:43:06]process_action close_receipt done [10:43:06]requested_data is exist [10:43:06]produce_requested_data [10:43:06]requested_item fm.sn is exist - process it [10:43:06]wFMCommunicate request_size=4 [10:43:06]MH_SAM_APDU [10:43:06]CAPDU: 80 11 00 00 [10:43:06]Write to MH i2c: E2 08 00 B5 0B 80 11 00 00 00 00 00 00 3A [10:43:06]Write i2c OK [10:43:06]MH_I2C_Read... [10:43:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:43:06]Read from MH i2c: E2 [10:43:06]MH_I2C_Read... [10:43:06]Read from MH i2c: E2 17 00 [10:43:06]MH_I2C_Read... [10:43:06]Read from MH i2c: E2 17 00 B5 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 8F [10:43:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [10:43:06]wFMCommunicate OK [10:43:06]requested_item fd.num is exist - process it [10:43:06]SAM_PROTO_GetFieldsCounters [10:43:06]wFMCommunicate request_size=4 [10:43:06]MH_SAM_APDU [10:43:06]CAPDU: 80 13 00 00 [10:43:06]Write to MH i2c: E2 08 00 B6 0B 80 13 00 00 00 00 00 00 3D [10:43:06]Write i2c OK [10:43:06]MH_I2C_Read... [10:43:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:43:06]Read from MH i2c: E2 [10:43:06]MH_I2C_Read... [10:43:06]Read from MH i2c: E2 62 00 [10:43:06]MH_I2C_Read... [10:43:06]Read from MH i2c: E2 62 00 B6 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 A2 7E 00 00 0E 04 04 00 1C 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 03 [10:43:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 A2 7E 00 00 0E 04 04 00 1C 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 [10:43:06]wFMCommunicate OK [10:43:06]SAM_PROTO_GetFieldsCounters done [10:43:06]requested_item shift.num is exist - process it [10:43:06]requested_item shift.opened is exist - process it [10:43:06]req_shift_opened [10:43:06]FM_GetShiftState [10:43:06]SAM_PROTO_GetShiftState [10:43:06]wFMCommunicate request_size=4 [10:43:06]MH_SAM_APDU [10:43:06]CAPDU: 80 13 01 00 [10:43:06]Write to MH i2c: E2 08 00 B7 0B 80 13 01 00 00 00 00 00 3F [10:43:06]Write i2c OK [10:43:06]MH_I2C_Read... [10:43:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:43:06]Read from MH i2c: E2 [10:43:06]MH_I2C_Read... [10:43:06]Read from MH i2c: E2 0E 00 [10:43:06]MH_I2C_Read... [10:43:06]Read from MH i2c: E2 0E 00 B7 0B 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 BC [10:43:06]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [10:43:06]wFMCommunicate OK [10:43:06]SAM_PROTO_GetShiftState done [10:43:06]FM_GetShiftState done [10:43:06]req_shift_opened done [10:43:06]requested_item shift.open_date is exist - process it [10:43:06]req_shift_open_date [10:43:06]req_shift_open_date done [10:43:06]produce_requested_data done [10:43:06]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32418,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [10:43:06]process_action_free close_receipt [10:43:06]json_value_free [10:43:06]json_value_free done [10:43:06]process_json_proto returns [10:43:06]Send response to host [10:43:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32418,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [10:43:06]free response buf [10:43:06]execute_script done [10:43:06]execute_script returns [10:43:06]free content buf [10:43:06]Sock 8.Close socket [10:43:06]Sock 8.Thread stoped [10:43:10]OFD Sender: No OFD packet to send [10:43:15]OFD Sender: No OFD packet to send [10:43:20]OFD Sender: No OFD packet to send [10:43:25]OFD Sender: No OFD packet to send [10:43:30]OFD Sender: No OFD packet to send [10:43:35]OFD Sender: No OFD packet to send [10:43:40]OFD Sender: No OFD packet to send [10:43:45]OFD Sender: No OFD packet to send [10:43:50]OFD Sender: No OFD packet to send [10:43:55]OFD Sender: No OFD packet to send [10:44:00]OFD Sender: No OFD packet to send [10:44:05]OFD Sender: No OFD packet to send [10:44:10]OFD Sender: No OFD packet to send [10:44:15]OFD Sender: No OFD packet to send [10:44:20]OFD Sender: No OFD packet to send [10:44:25]OFD Sender: No OFD packet to send [10:44:30]OFD Sender: No OFD packet to send [10:44:35]OFD Sender: No OFD packet to send [10:44:40]OFD Sender: No OFD packet to send [10:44:45]OFD Sender: No OFD packet to send [10:44:50]OFD Sender: No OFD packet to send [10:44:55]OFD Sender: No OFD packet to send [10:45:00]OFD Sender: No OFD packet to send [10:45:05]OFD Sender: No OFD packet to send [10:45:10]OFD Sender: No OFD packet to send [10:45:15]OFD Sender: No OFD packet to send [10:45:20]OFD Sender: No OFD packet to send [10:45:25]OFD Sender: No OFD packet to send [10:45:30]OFD Sender: No OFD packet to send [10:45:35]OFD Sender: No OFD packet to send [10:45:40]OFD Sender: No OFD packet to send [10:45:45]OFD Sender: No OFD packet to send [10:45:50]OFD Sender: No OFD packet to send [10:45:55]OFD Sender: No OFD packet to send [10:46:00]OFD Sender: No OFD packet to send [10:46:05]OFD Sender: No OFD packet to send [10:46:10]OFD Sender: No OFD packet to send [10:46:15]OFD Sender: No OFD packet to send [10:46:20]OFD Sender: No OFD packet to send [10:46:25]OFD Sender: No OFD packet to send [10:46:30]OFD Sender: No OFD packet to send [10:46:35]OFD Sender: No OFD packet to send [10:46:40]OFD Sender: No OFD packet to send [10:46:45]OFD Sender: No OFD packet to send [10:46:50]OFD Sender: No OFD packet to send [10:46:55]OFD Sender: No OFD packet to send [10:47:00]OFD Sender: No OFD packet to send [10:47:05]OFD Sender: No OFD packet to send [10:47:10]OFD Sender: No OFD packet to send [10:47:15]OFD Sender: No OFD packet to send [10:47:20]OFD Sender: No OFD packet to send [10:47:25]OFD Sender: No OFD packet to send [10:47:30]OFD Sender: No OFD packet to send [10:47:35]OFD Sender: No OFD packet to send [10:47:40]OFD Sender: No OFD packet to send [10:47:45]OFD Sender: No OFD packet to send [10:47:50]OFD Sender: No OFD packet to send [10:47:55]OFD Sender: No OFD packet to send [10:48:00]OFD Sender: No OFD packet to send [10:48:05]OFD Sender: No OFD packet to send [10:48:10]OFD Sender: No OFD packet to send [10:48:15]OFD Sender: No OFD packet to send [10:48:20]OFD Sender: No OFD packet to send [10:48:25]OFD Sender: No OFD packet to send [10:48:30]OFD Sender: No OFD packet to send [10:48:35]OFD Sender: No OFD packet to send [10:48:40]OFD Sender: No OFD packet to send [10:48:45]OFD Sender: No OFD packet to send [10:48:50]OFD Sender: No OFD packet to send [10:48:55]OFD Sender: No OFD packet to send [10:49:00]OFD Sender: No OFD packet to send [10:49:05]OFD Sender: No OFD packet to send [10:49:10]OFD Sender: No OFD packet to send [10:49:15]OFD Sender: No OFD packet to send [10:49:20]OFD Sender: No OFD packet to send [10:49:25]OFD Sender: No OFD packet to send [10:49:30]OFD Sender: No OFD packet to send [10:49:35]OFD Sender: No OFD packet to send [10:49:40]OFD Sender: No OFD packet to send [10:49:45]OFD Sender: No OFD packet to send [10:49:50]OFD Sender: No OFD packet to send [10:49:55]OFD Sender: No OFD packet to send [10:50:00]OFD Sender: No OFD packet to send [10:50:05]OFD Sender: No OFD packet to send [10:50:10]OFD Sender: No OFD packet to send [10:50:15]OFD Sender: No OFD packet to send [10:50:20]OFD Sender: No OFD packet to send [10:50:25]OFD Sender: No OFD packet to send [10:50:30]OFD Sender: No OFD packet to send [10:50:35]OFD Sender: No OFD packet to send [10:50:40]OFD Sender: No OFD packet to send [10:50:45]OFD Sender: No OFD packet to send [10:50:50]OFD Sender: No OFD packet to send [10:50:55]OFD Sender: No OFD packet to send [10:51:00]OFD Sender: No OFD packet to send [10:51:05]OFD Sender: No OFD packet to send [10:51:10]OFD Sender: No OFD packet to send [10:51:15]OFD Sender: No OFD packet to send [10:51:20]OFD Sender: No OFD packet to send [10:51:25]OFD Sender: No OFD packet to send [10:51:30]OFD Sender: No OFD packet to send [10:51:35]OFD Sender: No OFD packet to send [10:51:40]OFD Sender: No OFD packet to send [10:51:45]OFD Sender: No OFD packet to send [10:51:50]OFD Sender: No OFD packet to send [10:51:55]OFD Sender: No OFD packet to send [10:52:00]OFD Sender: No OFD packet to send [10:52:05]OFD Sender: No OFD packet to send [10:52:10]OFD Sender: No OFD packet to send [10:52:15]OFD Sender: No OFD packet to send [10:52:20]OFD Sender: No OFD packet to send [10:52:25]OFD Sender: No OFD packet to send [10:52:26]accept exits with 9 [10:52:26]New connection [10:52:26]New thread 3066932580 created [10:52:26]Thread 3067075940 joined [10:52:26]Waiting for new connection... [10:52:26] Sock 9.Parse request [10:52:26]Sock 9.Check first char [10:52:26]Sock 9.First char is OK [10:52:26]request: POST /json_proto HTTP/1.0 [10:52:26]Method: POST [10:52:26]URL: /json_proto [10:52:26]Method is POST - this is cgi request [10:52:26]url: /json_proto [10:52:26]query_string will be loaded in cgi processing [10:52:26]execute_cgi json_proto POST (null) [10:52:26]execute_cgi path=json_proto method=POST [10:52:26]POST find Content-Length [10:52:26]Host: 172.17.61.6:8080 [10:52:26]Content-Length: 746 [10:52:26]Content-Type: application/json [10:52:26] [10:52:26]POST finish read [10:52:26]Found Content-Length = 746 [10:52:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58574", "tax_sys" : 0, "items" : [ { "code": "2000028410025", "name": "\u041E\u0447\u043A\u0438 \u0441\u043E\u043B\u043D\u0446\u0435\u0437\u0430\u0449\u0438\u0442\u043D\u044B\u0435 \u0432 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442\u0435", "price" : 590.00, "quantity" : 1.000, "sum" : 590.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 590.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:52:26]execute_script... [10:52: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)58574", "tax_sys" : 0, "items" : [ { "code": "2000028410025", "name": "\u041E\u0447\u043A\u0438 \u0441\u043E\u043B\u043D\u0446\u0435\u0437\u0430\u0449\u0438\u0442\u043D\u044B\u0435 \u0432 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442\u0435", "price" : 590.00, "quantity" : 1.000, "sum" : 590.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 590.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:52:26]POST & json_proto [10:52:26]process_json_proto [10:52:26]json parsed OK: [10:52:26]protocol is kg_v1.0 [10:52:26]action value=close_receipt [10:52:26]process_action close_receipt [10:52:26]cmd_close_receipt [10:52:26]MH_GetDate [10:52:26]Write to MH i2c: F0 00 00 B8 0B B2 [10:52:26]Write i2c OK [10:52:26]MH_I2C_Read... [10:52:26]Read from MH i2c: F0 [10:52:26]MH_I2C_Read... [10:52:26]Read from MH i2c: F0 09 00 [10:52:26]MH_I2C_Read... [10:52:26]Read from MH i2c: F0 09 00 B8 0B 00 EC 4A E8 65 78 7F 6F 64 08 [10:52:26]GetLastDocTimeStamp 1709721785 [10:52:26]current date 1709722348 [10:52:26]FM_GetShiftState [10:52:26]SAM_PROTO_GetShiftState [10:52:26]wFMCommunicate request_size=4 [10:52:26]MH_SAM_APDU [10:52:26]CAPDU: 80 13 01 00 [10:52:26]Write to MH i2c: E2 08 00 B9 0B 80 13 01 00 00 00 00 00 41 [10:52:26]Write i2c OK [10:52:26]MH_I2C_Read... [10:52:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:52:26]Read from MH i2c: E2 [10:52:26]MH_I2C_Read... [10:52:26]Read from MH i2c: E2 0E 00 [10:52:26]MH_I2C_Read... [10:52:26]Read from MH i2c: E2 0E 00 B9 0B 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 BE [10:52:26]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [10:52:26]wFMCommunicate OK [10:52:26]SAM_PROTO_GetShiftState done [10:52:26]FM_GetShiftState done [10:52:26]opened in 1709684590 [10:52:26]opened+sec_in_day 1709770990 [10:52:26]quantity*price = 59000 [10:52:26]sum+1 = 59001 [10:52:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 590.00 НСП 1% : 5.22 НДС 12% : 62.65 Наличными: 590.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 35 06.03.2024 10:52 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32419 ФПД: 56004485882830 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T105228&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32419&fm=56004485882830&tin=02508201610067®Number=0000000000092554&sum=59000 0 [10:52:27]StoreToDocumentArchive [10:52:27]shift 284 fd 32419 [10:52:27]save to /storage/0284/doc_00032419 [10:52:27]save last doc name /storage/0284/doc_00032419 to /storage/kkm_last_doc_name [10:52:27]save OK [10:52:27]Clear old archive folders... [10:52:27]ProcessDocumentItem done err = 0, tmpTLVsize=307 [10:52:27]tlvbuf is 016823F0 [10:52:27]SAM_PROTO_ClearQueue [10:52:27]wFMCommunicate request_size=4 [10:52:27]MH_SAM_APDU [10:52:27]CAPDU: 80 09 00 00 [10:52:27]Write to MH i2c: E2 08 00 C6 0B 80 09 00 00 00 00 00 00 43 [10:52:27]Write i2c OK [10:52:27]MH_I2C_Read... [10:52:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:52:27]Read from MH i2c: E2 [10:52:27]MH_I2C_Read... [10:52:27]Read from MH i2c: E2 03 00 [10:52:27]MH_I2C_Read... [10:52:27]Read from MH i2c: E2 03 00 C6 0B 00 90 00 45 [10:52:27]RAPDU: 90 00 [10:52:27]wFMCommunicate OK [10:52:27]SAM_PROTO_ClearQueue done [10:52:27]KKMCreateOFDPacket [10:52:27]OFDProtocolAddRootSTLVToBuf [10:52:27]FM_MakeSignedData [10:52:27]FM_MakeSignedData [10:52:27]SAM_PROTO_SignData [10:52:27]wFMCommunicate request_size=4 [10:52:27]MH_SAM_APDU [10:52:27]CAPDU: 80 0D 01 02 [10:52:27]Write to MH i2c: E2 08 00 C7 0B 80 0D 01 02 00 00 00 00 4B [10:52:27]Write i2c OK [10:52:27]MH_I2C_Read... [10:52:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:52:27]Read from MH i2c: E2 [10:52:27]MH_I2C_Read... [10:52:27]Read from MH i2c: E2 03 00 [10:52:27]MH_I2C_Read... [10:52:27]Read from MH i2c: E2 03 00 C7 0B 00 90 00 46 [10:52:27]RAPDU: 90 00 [10:52:27]wFMCommunicate OK [10:52:27]wFMCommunicate request_size=255 [10:52:27]MH_SAM_APDU [10:52:27]CAPDU: 80 0D 02 02 FA 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 38 34 31 30 30 32 35 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 E6 00 00 00 00 13 04 06 00 78 E6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 78 E6 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 EC 4A E8 65 0E 04 04 00 1C 01 00 00 B9 04 [10:52:27]Write to MH i2c: E2 02 01 C8 0B 80 0D 02 02 FA 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 38 34 31 30 30 32 35 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 E6 00 00 00 00 13 04 06 00 78 E6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 78 E6 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 EC 4A E8 65 0E 04 04 00 1C 01 00 00 B9 04 00 00 8F [10:52:27]Write i2c OK [10:52:27]MH_I2C_Read... [10:52:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:52:27]Read from MH i2c: E2 [10:52:27]MH_I2C_Read... [10:52:27]Read from MH i2c: E2 03 00 [10:52:27]MH_I2C_Read... [10:52:27]Read from MH i2c: E2 03 00 C8 0B 00 90 00 47 [10:52:27]RAPDU: 90 00 [10:52:27]wFMCommunicate OK [10:52:27]wFMCommunicate request_size=66 [10:52:27]MH_SAM_APDU [10:52:27]CAPDU: 80 0D 02 02 3D 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A3 7E 00 00 35 04 06 00 32 EF 8F 7C A3 CE [10:52:27]Write to MH i2c: E2 45 00 C9 0B 80 0D 02 02 3D 00 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A3 7E 00 00 35 04 06 00 32 EF 8F 7C A3 CE 00 00 60 [10:52:27]Write i2c OK [10:52:27]MH_I2C_Read... [10:52:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:52:27]Read from MH i2c: E2 [10:52:27]MH_I2C_Read... [10:52:27]Read from MH i2c: E2 03 00 [10:52:27]MH_I2C_Read... [10:52:27]Read from MH i2c: E2 03 00 C9 0B 00 90 00 48 [10:52:27]RAPDU: 90 00 [10:52:27]wFMCommunicate OK [10:52:27]wFMCommunicate request_size=4 [10:52:27]MH_SAM_APDU [10:52:27]CAPDU: 80 0D 03 02 [10:52:27]Write to MH i2c: E2 08 00 CA 0B 80 0D 03 02 00 00 00 00 50 [10:52:27]Write i2c OK [10:52:27]MH_I2C_Read... [10:52:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:52:27]Read from MH i2c: E2 [10:52:27]MH_I2C_Read... [10:52:27]Read from MH i2c: E2 0B 00 [10:52:27]MH_I2C_Read... [10:52:27]Read from MH i2c: E2 0B 00 CA 0B 00 AB D5 DA 8D 6B 1C A6 36 90 00 9B [10:52:27]RAPDU: AB D5 DA 8D 6B 1C A6 36 90 00 [10:52:27]wFMCommunicate OK [10:52:27]SAM_PROTO_SignData done [10:52:27]FM_MakeSignedData done [10:52:27]CreateOFDProtocolMessage [10:52:27]wFMCommunicate request_size=4 [10:52:27]MH_SAM_APDU [10:52:27]CAPDU: 80 11 00 00 [10:52:27]Write to MH i2c: E2 08 00 CB 0B 80 11 00 00 00 00 00 00 50 [10:52:27]Write i2c OK [10:52:27]MH_I2C_Read... [10:52:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:52:27]Read from MH i2c: E2 [10:52:27]MH_I2C_Read... [10:52:27]Read from MH i2c: E2 17 00 [10:52:27]MH_I2C_Read... [10:52:27]Read from MH i2c: E2 17 00 CB 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 A5 [10:52:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [10:52:27]wFMCommunicate OK [10:52:27]CreateOFDProtocolMessage done [10:52:27]OFDSenderStorePacket 32419 [10:52:27]StoreOFDPacket docnum=32419 [10:52:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 47 01 00 00 63 2F 3F 01 9B 0C 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 38 34 31 30 30 32 35 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 E6 00 00 00 00 13 04 06 00 78 E6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 78 E6 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 EC 4A E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A3 7E 00 00 35 04 06 00 32 EF 8F 7C A3 CE AB D5 DA 8D 6B 1C A6 36 [10:52:27]CheckFolder [10:52:27]dirname=/storage/ofd_packets [10:52:27]CheckFolder done [10:52:27]ProducePacketName [10:52:27]name=ofd_packets/00032419 [10:52:27]NVStorageSaveData ofd_packets/00032419 [10:52:27]File name is /storage/ofd_packets/00032419 [10:52:27]Write 357 bytes [10:52:27]NVStorageSaveData done [10:52:27]OFDSenderStorePacket done [10:52:27]KKMCreateOFDPacket done [10:52:27]NVStorageSaveData kkm_last_timestamp [10:52:27]File name is /storage/kkm_last_timestamp [10:52:27]Write 4 bytes [10:52:27]NVStorageSaveData done [10:52:28]ExternCall_PrintAddStr [10:52:28]wPrintStart [10:52:28]Write to MH i2c: 01 00 00 CC 0B D7 [10:52:28]OFD Sender: Processing packet 32419 [packets to send 5, broken 4] [10:52:28]ProducePacketName [10:52:28]name=ofd_packets/00032419 [10:52:28]OFD Sender: To server: pG, [10:52:28]CommunicateWithHost lk.salyk.kg:30040 [10:52:28]ConnectInit lk.salyk.kg [10:52:28]Write i2c OK [10:52:28]MH_I2C_Read... [10:52:28]Read from MH i2c: 01 [10:52:28]MH_I2C_Read... [10:52:28]Read from MH i2c: 01 07 00 [10:52:28]MH_I2C_Read... [10:52:28]Read from MH i2c: 01 07 00 CC 0B 00 00 00 00 00 FF 0F EC [10:52:28]RasterBufferAndPrint [10:52:28]line Счет N : (3)58574 [10:52:28]line ИНН: 02508201610067 [10:52:28]line Контрольно-Кассовый Чек [10:52:28]line ПРОДАЖА [10:52:28]line Товар: 2000028410025 [10:52:28]line Очки солнцезащитные в ассортименте [10:52:28]line 1.000 * 590.00 [10:52:28]line = 590.00 [10:52:28]line НДС 12% НСП 1% [10:52:28]line > о реализуемом товаре [10:52:28]line ИТОГО: 590.00 [10:52:28]line НСП 1% : 5.22 [10:52:28]line НДС 12% : 62.65 [10:52:28]line Наличными: 590.00 [10:52:28]line Безнал.: 0.00 [10:52:28]line Место: АЗС № 99 "Партнер Нефть" [10:52:28]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [10:52:28]line СНО: Общий режим [10:52:28]line Чек 35 06.03.2024 10:52 [10:52:28]line Смена: 284 ФФД: 1.0 [10:52:28]line ЗНМ: 0300000074 [10:52:28]line РНМ: 0000000000092554 [10:52:28]line Версия ККМ: 001 [10:52:28]line ФМ: 0000000000871783 [10:52:28]line ФД: 32419 [10:52:28]line ФПД: 56004485882830 [10:52:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T105228&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32419&fm=56004485882830&tin=02508201610067®Number=0000000000092554&sum=59000 [10:52:28]line 0 [10:52:28]Connected sock=10 [10:52:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 47 01 00 00 63 2F 3F 01 9B 0C 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 38 34 31 30 30 32 35 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 E6 00 00 00 00 13 04 06 00 78 E6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 78 E6 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 EC 4A E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A3 7E 00 00 35 04 06 00 32 EF 8F 7C A3 CE AB D5 DA 8D 6B 1C A6 36 [10:52:28]written 0, free lines is 4095 [10:52:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 93 5B 47 00 0D 07 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A3 7E 00 00 F4 03 04 00 25 F3 E7 65 B6 04 01 00 00 A2 9A A6 3F C3 F4 F3 7D [10:52:28]CommunicateWithHost err = 0 [10:52:28]CheckOFDResponse [10:52:28]1017 (14) - 77093643461234 [10:52:28]1041 (16) - 0000000000871783 [10:52:28]1040 (4) - 32419 [10:52:28]1012 (4) - 06.03.2024 04:37 [10:52:28]1206 (1) - 0 [10:52:28]OFD Sender: Remove packet 32419 [10:52:28]ProducePacketName [10:52:28]name=ofd_packets/00032419 [10:52:28]NVStorageDeleteData [10:52:28]Write to MH i2c: 01 00 00 F5 0B 00 [10:52:28]Write i2c OK [10:52:28]MH_I2C_Read... [10:52:28]Read from MH i2c: 01 [10:52:28]MH_I2C_Read... [10:52:28]Read from MH i2c: 01 07 00 [10:52:28]MH_I2C_Read... [10:52:28]Read from MH i2c: 01 07 00 F5 0B 00 00 00 00 00 C7 0C DA [10:52:28]RasterBufferAndPrint [10:52:28]line [10:52:28]line [10:52:28]line [10:52:28]line [10:52:28]line [10:52:28]written 0, free lines is 3278 [10:52:28]MH_Cut [10:52:28]Write to MH i2c: D1 01 00 FC 0B 01 D9 [10:52:28]Write i2c OK [10:52:28]MH_I2C_Read... [10:52:28]Read from MH i2c: D1 [10:52:28]MH_I2C_Read... [10:52:28]Read from MH i2c: D1 01 00 [10:52:28]MH_I2C_Read... [10:52:28]Read from MH i2c: D1 01 00 FC 0B 00 D8 [10:52:28]Write to MH i2c: 01 00 00 FD 0B 08 [10:52:28]Write i2c OK [10:52:28]MH_I2C_Read... [10:52:29]OFD Sender: No OFD packet to send [10:52:29]*** Cut start [10:52:29]*** Partial cut [10:52:29]*** CUTSNS_PIN = 1 [10:52:29]*** CUTSNS_PIN = 0 [10:52:29]*** Brake cut motor [10:52:30]Read from MH i2c: 01 [10:52:30]MH_I2C_Read... [10:52:30]*** Stop cut motor [10:52:30]*** Cut end [10:52:30]Read from MH i2c: 01 07 00 [10:52:30]MH_I2C_Read... [10:52:30]Read from MH i2c: 01 07 00 FD 0B 00 00 00 00 00 FF 0F 1D [10:52:30]process_action close_receipt done [10:52:30]requested_data is exist [10:52:30]produce_requested_data [10:52:30]requested_item fm.sn is exist - process it [10:52:30]wFMCommunicate request_size=4 [10:52:30]MH_SAM_APDU [10:52:30]CAPDU: 80 11 00 00 [10:52:30]Write to MH i2c: E2 08 00 FE 0B 80 11 00 00 00 00 00 00 83 [10:52:30]Write i2c OK [10:52:30]MH_I2C_Read... [10:52:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:52:30]Read from MH i2c: E2 [10:52:30]MH_I2C_Read... [10:52:30]Read from MH i2c: E2 17 00 [10:52:30]MH_I2C_Read... [10:52:30]Read from MH i2c: E2 17 00 FE 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 D8 [10:52:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [10:52:30]wFMCommunicate OK [10:52:30]requested_item fd.num is exist - process it [10:52:30]SAM_PROTO_GetFieldsCounters [10:52:30]wFMCommunicate request_size=4 [10:52:30]MH_SAM_APDU [10:52:30]CAPDU: 80 13 00 00 [10:52:30]Write to MH i2c: E2 08 00 FF 0B 80 13 00 00 00 00 00 00 86 [10:52:30]Write i2c OK [10:52:30]MH_I2C_Read... [10:52:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:52:30]Read from MH i2c: E2 [10:52:30]MH_I2C_Read... [10:52:30]Read from MH i2c: E2 62 00 [10:52:30]MH_I2C_Read... [10:52:30]Read from MH i2c: E2 62 00 FF 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 A3 7E 00 00 0E 04 04 00 1C 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 50 [10:52:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 A3 7E 00 00 0E 04 04 00 1C 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 [10:52:30]wFMCommunicate OK [10:52:30]SAM_PROTO_GetFieldsCounters done [10:52:30]requested_item shift.num is exist - process it [10:52:30]requested_item shift.opened is exist - process it [10:52:30]req_shift_opened [10:52:30]FM_GetShiftState [10:52:30]SAM_PROTO_GetShiftState [10:52:30]wFMCommunicate request_size=4 [10:52:30]MH_SAM_APDU [10:52:30]CAPDU: 80 13 01 00 [10:52:30]Write to MH i2c: E2 08 00 00 0C 80 13 01 00 00 00 00 00 89 [10:52:30]Write i2c OK [10:52:30]MH_I2C_Read... [10:52:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:52:30]Read from MH i2c: E2 [10:52:30]MH_I2C_Read... [10:52:30]Read from MH i2c: E2 0E 00 [10:52:30]MH_I2C_Read... [10:52:30]Read from MH i2c: E2 0E 00 00 0C 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 06 [10:52:30]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [10:52:30]wFMCommunicate OK [10:52:30]SAM_PROTO_GetShiftState done [10:52:30]FM_GetShiftState done [10:52:30]req_shift_opened done [10:52:30]requested_item shift.open_date is exist - process it [10:52:30]req_shift_open_date [10:52:30]req_shift_open_date done [10:52:30]produce_requested_data done [10:52:30]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32419,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [10:52:30]process_action_free close_receipt [10:52:30]json_value_free [10:52:30]json_value_free done [10:52:30]process_json_proto returns [10:52:30]Send response to host [10:52:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32419,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [10:52:30]free response buf [10:52:30]execute_script done [10:52:30]execute_script returns [10:52:30]free content buf [10:52:30]Sock 9.Close socket [10:52:30]Sock 9.Thread stoped [10:52:34]OFD Sender: No OFD packet to send [10:52:39]OFD Sender: No OFD packet to send [10:52:44]OFD Sender: No OFD packet to send [10:52:49]OFD Sender: No OFD packet to send [10:52:54]OFD Sender: No OFD packet to send [10:52:59]OFD Sender: No OFD packet to send [10:53:04]OFD Sender: No OFD packet to send [10:53:09]OFD Sender: No OFD packet to send [10:53:14]OFD Sender: No OFD packet to send [10:53:19]OFD Sender: No OFD packet to send [10:53:24]OFD Sender: No OFD packet to send [10:53:29]OFD Sender: No OFD packet to send [10:53:34]OFD Sender: No OFD packet to send [10:53:39]OFD Sender: No OFD packet to send [10:53:44]OFD Sender: No OFD packet to send [10:53:49]OFD Sender: No OFD packet to send [10:53:54]OFD Sender: No OFD packet to send [10:53:59]OFD Sender: No OFD packet to send [10:54:04]OFD Sender: No OFD packet to send [10:54:09]OFD Sender: No OFD packet to send [10:54:14]OFD Sender: No OFD packet to send [10:54:19]OFD Sender: No OFD packet to send [10:54:24]OFD Sender: No OFD packet to send [10:54:24]accept exits with 8 [10:54:24]New connection [10:54:24]New thread 3067075940 created [10:54:24]Thread 3066932580 joined [10:54:24]Waiting for new connection... [10:54:24] Sock 8.Parse request [10:54:24]Sock 8.Check first char [10:54:24]Sock 8.First char is OK [10:54:24]request: POST /json_proto HTTP/1.0 [10:54:24]Method: POST [10:54:24]URL: /json_proto [10:54:24]Method is POST - this is cgi request [10:54:24]url: /json_proto [10:54:24]query_string will be loaded in cgi processing [10:54:24]execute_cgi json_proto POST (null) [10:54:24]execute_cgi path=json_proto method=POST [10:54:24]POST find Content-Length [10:54:24]Host: 172.17.61.6:8080 [10:54:24]Content-Length: 623 [10:54:24]Content-Type: application/json [10:54:24] [10:54:24]POST finish read [10:54:24]Found Content-Length = 623 [10:54:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58575", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:54:24]execute_script... [10:54: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)58575", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:54:24]POST & json_proto [10:54:24]process_json_proto [10:54:24]json parsed OK: [10:54:24]protocol is kg_v1.0 [10:54:24]action value=close_receipt [10:54:24]process_action close_receipt [10:54:24]cmd_close_receipt [10:54:24]MH_GetDate [10:54:24]Write to MH i2c: F0 00 00 01 0C FC [10:54:24]Write i2c OK [10:54:24]MH_I2C_Read... [10:54:24]Read from MH i2c: F0 [10:54:24]MH_I2C_Read... [10:54:24]Read from MH i2c: F0 09 00 [10:54:24]MH_I2C_Read... [10:54:24]Read from MH i2c: F0 09 00 01 0C 00 62 4B E8 65 78 7F 6F 64 C9 [10:54:24]GetLastDocTimeStamp 1709722348 [10:54:24]current date 1709722466 [10:54:24]FM_GetShiftState [10:54:24]SAM_PROTO_GetShiftState [10:54:24]wFMCommunicate request_size=4 [10:54:24]MH_SAM_APDU [10:54:24]CAPDU: 80 13 01 00 [10:54:24]Write to MH i2c: E2 08 00 02 0C 80 13 01 00 00 00 00 00 8B [10:54:24]Write i2c OK [10:54:24]MH_I2C_Read... [10:54:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:54:24]Read from MH i2c: E2 [10:54:24]MH_I2C_Read... [10:54:24]Read from MH i2c: E2 0E 00 [10:54:24]MH_I2C_Read... [10:54:24]Read from MH i2c: E2 0E 00 02 0C 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 08 [10:54:24]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [10:54:24]wFMCommunicate OK [10:54:24]SAM_PROTO_GetShiftState done [10:54:24]FM_GetShiftState done [10:54:24]opened in 1709684590 [10:54:24]opened+sec_in_day 1709770990 [10:54:24]quantity*price = 13800 [10:54:24]sum+1 = 13801 [10:54:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 36 06.03.2024 10:54 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32420 ФПД: 172885754614421 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T105426&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32420&fm=172885754614421&tin=02508201610067®Number=0000000000092554&sum=13800 0 [10:54:25]StoreToDocumentArchive [10:54:25]shift 284 fd 32420 [10:54:25]save to /storage/0284/doc_00032420 [10:54:25]save last doc name /storage/0284/doc_00032420 to /storage/kkm_last_doc_name [10:54:25]save OK [10:54:25]Clear old archive folders... [10:54:25]ProcessDocumentItem done err = 0, tmpTLVsize=276 [10:54:25]tlvbuf is 01653830 [10:54:25]SAM_PROTO_ClearQueue [10:54:25]wFMCommunicate request_size=4 [10:54:25]MH_SAM_APDU [10:54:25]CAPDU: 80 09 00 00 [10:54:25]Write to MH i2c: E2 08 00 0F 0C 80 09 00 00 00 00 00 00 8D [10:54:25]Write i2c OK [10:54:25]MH_I2C_Read... [10:54:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:54:25]Read from MH i2c: E2 [10:54:25]MH_I2C_Read... [10:54:25]Read from MH i2c: E2 03 00 [10:54:25]MH_I2C_Read... [10:54:25]Read from MH i2c: E2 03 00 0F 0C 00 90 00 8F [10:54:25]RAPDU: 90 00 [10:54:25]wFMCommunicate OK [10:54:25]SAM_PROTO_ClearQueue done [10:54:25]KKMCreateOFDPacket [10:54:25]OFDProtocolAddRootSTLVToBuf [10:54:25]FM_MakeSignedData [10:54:25]FM_MakeSignedData [10:54:25]SAM_PROTO_SignData [10:54:25]wFMCommunicate request_size=4 [10:54:25]MH_SAM_APDU [10:54:25]CAPDU: 80 0D 01 02 [10:54:25]Write to MH i2c: E2 08 00 10 0C 80 0D 01 02 00 00 00 00 95 [10:54:25]Write i2c OK [10:54:25]MH_I2C_Read... [10:54:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:54:25]Read from MH i2c: E2 [10:54:25]MH_I2C_Read... [10:54:25]Read from MH i2c: E2 03 00 [10:54:25]MH_I2C_Read... [10:54:25]Read from MH i2c: E2 03 00 10 0C 00 90 00 90 [10:54:25]RAPDU: 90 00 [10:54:25]wFMCommunicate OK [10:54:25]wFMCommunicate request_size=255 [10:54:25]MH_SAM_APDU [10:54:25]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 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 62 4B E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 [10:54:25]Write to MH i2c: E2 02 01 11 0C 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 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 62 4B E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 00 00 0D [10:54:25]Write i2c OK [10:54:25]MH_I2C_Read... [10:54:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:54:25]Read from MH i2c: E2 [10:54:25]MH_I2C_Read... [10:54:25]Read from MH i2c: E2 03 00 [10:54:25]MH_I2C_Read... [10:54:25]Read from MH i2c: E2 03 00 11 0C 00 90 00 91 [10:54:25]RAPDU: 90 00 [10:54:25]wFMCommunicate OK [10:54:25]wFMCommunicate request_size=35 [10:54:25]MH_SAM_APDU [10:54:25]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A4 7E 00 00 35 04 06 00 9D 3D 19 FD 92 95 [10:54:25]Write to MH i2c: E2 26 00 12 0C 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A4 7E 00 00 35 04 06 00 9D 3D 19 FD 92 95 00 00 C6 [10:54:25]Write i2c OK [10:54:25]MH_I2C_Read... [10:54:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:54:25]Read from MH i2c: E2 [10:54:25]MH_I2C_Read... [10:54:25]Read from MH i2c: E2 03 00 [10:54:25]MH_I2C_Read... [10:54:25]Read from MH i2c: E2 03 00 12 0C 00 90 00 92 [10:54:25]RAPDU: 90 00 [10:54:25]wFMCommunicate OK [10:54:25]wFMCommunicate request_size=4 [10:54:25]MH_SAM_APDU [10:54:25]CAPDU: 80 0D 03 02 [10:54:25]Write to MH i2c: E2 08 00 13 0C 80 0D 03 02 00 00 00 00 9A [10:54:25]Write i2c OK [10:54:25]MH_I2C_Read... [10:54:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:54:25]Read from MH i2c: E2 [10:54:25]MH_I2C_Read... [10:54:25]Read from MH i2c: E2 0B 00 [10:54:25]MH_I2C_Read... [10:54:25]Read from MH i2c: E2 0B 00 13 0C 00 71 DB CE ED 48 FD 5D 43 90 00 87 [10:54:25]RAPDU: 71 DB CE ED 48 FD 5D 43 90 00 [10:54:25]wFMCommunicate OK [10:54:25]SAM_PROTO_SignData done [10:54:25]FM_MakeSignedData done [10:54:25]CreateOFDProtocolMessage [10:54:25]wFMCommunicate request_size=4 [10:54:25]MH_SAM_APDU [10:54:25]CAPDU: 80 11 00 00 [10:54:25]Write to MH i2c: E2 08 00 14 0C 80 11 00 00 00 00 00 00 9A [10:54:25]Write i2c OK [10:54:25]MH_I2C_Read... [10:54:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:54:25]Read from MH i2c: E2 [10:54:25]MH_I2C_Read... [10:54:25]Read from MH i2c: E2 17 00 [10:54:25]MH_I2C_Read... [10:54:25]Read from MH i2c: E2 17 00 14 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 EF [10:54:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [10:54:25]wFMCommunicate OK [10:54:25]CreateOFDProtocolMessage done [10:54:25]OFDSenderStorePacket 32420 [10:54:25]StoreOFDPacket docnum=32420 [10:54:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 28 01 00 00 EC D7 20 01 1E 59 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 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 62 4B E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A4 7E 00 00 35 04 06 00 9D 3D 19 FD 92 95 71 DB CE ED 48 FD 5D 43 [10:54:26]CheckFolder [10:54:26]dirname=/storage/ofd_packets [10:54:26]CheckFolder done [10:54:26]ProducePacketName [10:54:26]name=ofd_packets/00032420 [10:54:26]NVStorageSaveData ofd_packets/00032420 [10:54:26]File name is /storage/ofd_packets/00032420 [10:54:26]Write 326 bytes [10:54:26]NVStorageSaveData done [10:54:26]OFDSenderStorePacket done [10:54:26]KKMCreateOFDPacket done [10:54:26]NVStorageSaveData kkm_last_timestamp [10:54:26]File name is /storage/kkm_last_timestamp [10:54:26]Write 4 bytes [10:54:26]NVStorageSaveData done [10:54:26]ExternCall_PrintAddStr [10:54:26]wPrintStart [10:54:26]Write to MH i2c: 01 00 00 15 0C 21 [10:54:26]Write i2c OK [10:54:26]MH_I2C_Read... [10:54:26]Read from MH i2c: 01 [10:54:26]MH_I2C_Read... [10:54:26]Read from MH i2c: 01 07 00 [10:54:26]MH_I2C_Read... [10:54:26]Read from MH i2c: 01 07 00 15 0C 00 00 00 00 00 FF 0F 36 [10:54:26]RasterBufferAndPrint [10:54:26]line Счет N : (3)58575 [10:54:26]line ИНН: 02508201610067 [10:54:26]line Контрольно-Кассовый Чек [10:54:26]line ПРОДАЖА [10:54:26]line Товар: 48744683 [10:54:26]line Сигареты Winston XStyle Caster+ [10:54:26]line 1.000 * 138.00 [10:54:26]line = 138.00 [10:54:26]line НДС 12% НСП 1% [10:54:26]line > о реализуемом товаре [10:54:26]line ИТОГО: 138.00 [10:54:26]line НСП 1% : 1.22 [10:54:26]line НДС 12% : 14.65 [10:54:26]line Наличными: 138.00 [10:54:26]line Безнал.: 0.00 [10:54:26]line Место: АЗС № 99 "Партнер Нефть" [10:54:26]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [10:54:26]line СНО: Общий режим [10:54:26]line Чек 36 06.03.2024 10:54 [10:54:26]line Смена: 284 ФФД: 1.0 [10:54:26]line ЗНМ: 0300000074 [10:54:26]line РНМ: 0000000000092554 [10:54:26]line Версия ККМ: 001 [10:54:26]line ФМ: 0000000000871783 [10:54:26]line ФД: 32420 [10:54:26]line ФПД: 172885754614421 [10:54:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T105426&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32420&fm=172885754614421&tin=02508201610067®Number=0000000000092554&sum=13800 [10:54:26]line 0 [10:54:26]OFD Sender: Processing packet 32420 [packets to send 5, broken 4] [10:54:26]ProducePacketName [10:54:26]name=ofd_packets/00032420 [10:54:26]OFD Sender: To server: pG, [10:54:26]CommunicateWithHost lk.salyk.kg:30040 [10:54:26]ConnectInit lk.salyk.kg [10:54:26]written 0, free lines is 4095 [10:54:26]Connected sock=10 [10:54:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 28 01 00 00 EC D7 20 01 1E 59 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 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 62 4B E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A4 7E 00 00 35 04 06 00 9D 3D 19 FD 92 95 71 DB CE ED 48 FD 5D 43 [10:54:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 9B 59 47 00 F2 EB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A4 7E 00 00 F4 03 04 00 9B F3 E7 65 B6 04 01 00 00 F9 CB 64 6E 48 61 71 27 [10:54:26]CommunicateWithHost err = 0 [10:54:26]CheckOFDResponse [10:54:26]1017 (14) - 77093643461234 [10:54:26]1041 (16) - 0000000000871783 [10:54:26]1040 (4) - 32420 [10:54:26]1012 (4) - 06.03.2024 04:39 [10:54:26]1206 (1) - 0 [10:54:26]OFD Sender: Remove packet 32420 [10:54:26]ProducePacketName [10:54:26]name=ofd_packets/00032420 [10:54:26]NVStorageDeleteData [10:54:26]Write to MH i2c: 01 00 00 3E 0C 4A [10:54:26]Write i2c OK [10:54:26]MH_I2C_Read... [10:54:26]Read from MH i2c: 01 [10:54:26]MH_I2C_Read... [10:54:26]Read from MH i2c: 01 07 00 [10:54:26]MH_I2C_Read... [10:54:26]Read from MH i2c: 01 07 00 3E 0C 00 00 00 00 00 C5 0C 22 [10:54:26]RasterBufferAndPrint [10:54:26]line [10:54:26]line [10:54:26]line [10:54:26]line [10:54:26]line [10:54:26]written 0, free lines is 3273 [10:54:26]MH_Cut [10:54:26]Write to MH i2c: D1 01 00 45 0C 01 23 [10:54:26]Write i2c OK [10:54:26]MH_I2C_Read... [10:54:26]Read from MH i2c: D1 [10:54:26]MH_I2C_Read... [10:54:26]Read from MH i2c: D1 01 00 [10:54:26]MH_I2C_Read... [10:54:26]Read from MH i2c: D1 01 00 45 0C 00 22 [10:54:26]Write to MH i2c: 01 00 00 46 0C 52 [10:54:26]Write i2c OK [10:54:26]MH_I2C_Read... [10:54:27]OFD Sender: No OFD packet to send [10:54:27]*** Cut start [10:54:27]*** Partial cut [10:54:27]*** CUTSNS_PIN = 1 [10:54:27]*** CUTSNS_PIN = 0 [10:54:27]*** Brake cut motor [10:54:28]Read from MH i2c: 01 [10:54:28]MH_I2C_Read... [10:54:28]*** Stop cut motor [10:54:28]*** Cut end [10:54:28]Read from MH i2c: 01 07 00 [10:54:28]MH_I2C_Read... [10:54:28]Read from MH i2c: 01 07 00 46 0C 00 00 00 00 00 FF 0F 67 [10:54:28]process_action close_receipt done [10:54:28]requested_data is exist [10:54:28]produce_requested_data [10:54:28]requested_item fm.sn is exist - process it [10:54:28]wFMCommunicate request_size=4 [10:54:28]MH_SAM_APDU [10:54:28]CAPDU: 80 11 00 00 [10:54:28]Write to MH i2c: E2 08 00 47 0C 80 11 00 00 00 00 00 00 CD [10:54:28]Write i2c OK [10:54:28]MH_I2C_Read... [10:54:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:54:28]Read from MH i2c: E2 [10:54:28]MH_I2C_Read... [10:54:28]Read from MH i2c: E2 17 00 [10:54:28]MH_I2C_Read... [10:54:28]Read from MH i2c: E2 17 00 47 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 22 [10:54:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [10:54:28]wFMCommunicate OK [10:54:28]requested_item fd.num is exist - process it [10:54:28]SAM_PROTO_GetFieldsCounters [10:54:28]wFMCommunicate request_size=4 [10:54:28]MH_SAM_APDU [10:54:28]CAPDU: 80 13 00 00 [10:54:28]Write to MH i2c: E2 08 00 48 0C 80 13 00 00 00 00 00 00 D0 [10:54:28]Write i2c OK [10:54:28]MH_I2C_Read... [10:54:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:54:28]Read from MH i2c: E2 [10:54:28]MH_I2C_Read... [10:54:28]Read from MH i2c: E2 62 00 [10:54:28]MH_I2C_Read... [10:54:28]Read from MH i2c: E2 62 00 48 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 A4 7E 00 00 0E 04 04 00 1C 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 9E [10:54:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 A4 7E 00 00 0E 04 04 00 1C 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 [10:54:28]wFMCommunicate OK [10:54:28]SAM_PROTO_GetFieldsCounters done [10:54:28]requested_item shift.num is exist - process it [10:54:28]requested_item shift.opened is exist - process it [10:54:28]req_shift_opened [10:54:28]FM_GetShiftState [10:54:28]SAM_PROTO_GetShiftState [10:54:28]wFMCommunicate request_size=4 [10:54:28]MH_SAM_APDU [10:54:28]CAPDU: 80 13 01 00 [10:54:28]Write to MH i2c: E2 08 00 49 0C 80 13 01 00 00 00 00 00 D2 [10:54:28]Write i2c OK [10:54:28]MH_I2C_Read... [10:54:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:54:28]Read from MH i2c: E2 [10:54:28]MH_I2C_Read... [10:54:28]Read from MH i2c: E2 0E 00 [10:54:28]MH_I2C_Read... [10:54:28]Read from MH i2c: E2 0E 00 49 0C 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 4F [10:54:28]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [10:54:28]wFMCommunicate OK [10:54:28]SAM_PROTO_GetShiftState done [10:54:28]FM_GetShiftState done [10:54:28]req_shift_opened done [10:54:28]requested_item shift.open_date is exist - process it [10:54:28]req_shift_open_date [10:54:28]req_shift_open_date done [10:54:28]produce_requested_data done [10:54:28]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32420,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [10:54:28]process_action_free close_receipt [10:54:28]json_value_free [10:54:28]json_value_free done [10:54:28]process_json_proto returns [10:54:28]Send response to host [10:54:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32420,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [10:54:28]free response buf [10:54:28]execute_script done [10:54:28]execute_script returns [10:54:28]free content buf [10:54:28]Sock 8.Close socket [10:54:28]Sock 8.Thread stoped [10:54:32]OFD Sender: No OFD packet to send [10:54:37]OFD Sender: No OFD packet to send [10:54:42]OFD Sender: No OFD packet to send [10:54:47]OFD Sender: No OFD packet to send [10:54:52]OFD Sender: No OFD packet to send [10:54:57]OFD Sender: No OFD packet to send [10:55:02]OFD Sender: No OFD packet to send [10:55:07]OFD Sender: No OFD packet to send [10:55:12]OFD Sender: No OFD packet to send [10:55:17]OFD Sender: No OFD packet to send [10:55:22]OFD Sender: No OFD packet to send [10:55:27]OFD Sender: No OFD packet to send [10:55:32]OFD Sender: No OFD packet to send [10:55:37]OFD Sender: No OFD packet to send [10:55:42]OFD Sender: No OFD packet to send [10:55:47]OFD Sender: No OFD packet to send [10:55:52]OFD Sender: No OFD packet to send [10:55:57]OFD Sender: No OFD packet to send [10:56:02]OFD Sender: No OFD packet to send [10:56:07]OFD Sender: No OFD packet to send [10:56:12]OFD Sender: No OFD packet to send [10:56:17]OFD Sender: No OFD packet to send [10:56:22]OFD Sender: No OFD packet to send [10:56:27]OFD Sender: No OFD packet to send [10:56:32]OFD Sender: No OFD packet to send [10:56:37]OFD Sender: No OFD packet to send [10:56:42]OFD Sender: No OFD packet to send [10:56:47]OFD Sender: No OFD packet to send [10:56:52]OFD Sender: No OFD packet to send [10:56:57]OFD Sender: No OFD packet to send [10:57:02]OFD Sender: No OFD packet to send [10:57:07]OFD Sender: No OFD packet to send [10:57:12]OFD Sender: No OFD packet to send [10:57:17]OFD Sender: No OFD packet to send [10:57:22]OFD Sender: No OFD packet to send [10:57:27]OFD Sender: No OFD packet to send [10:57:32]OFD Sender: No OFD packet to send [10:57:37]OFD Sender: No OFD packet to send [10:57:42]OFD Sender: No OFD packet to send [10:57:47]OFD Sender: No OFD packet to send [10:57:52]OFD Sender: No OFD packet to send [10:57:57]OFD Sender: No OFD packet to send [10:58:02]OFD Sender: No OFD packet to send [10:58:07]OFD Sender: No OFD packet to send [10:58:12]OFD Sender: No OFD packet to send [10:58:17]OFD Sender: No OFD packet to send [10:58:22]OFD Sender: No OFD packet to send [10:58:27]OFD Sender: No OFD packet to send [10:58:32]OFD Sender: No OFD packet to send [10:58:37]OFD Sender: No OFD packet to send [10:58:42]OFD Sender: No OFD packet to send [10:58:47]OFD Sender: No OFD packet to send [10:58:52]OFD Sender: No OFD packet to send [10:58:57]OFD Sender: No OFD packet to send [10:59:02]OFD Sender: No OFD packet to send [10:59:07]OFD Sender: No OFD packet to send [10:59:12]OFD Sender: No OFD packet to send [10:59:17]OFD Sender: No OFD packet to send [10:59:22]OFD Sender: No OFD packet to send [10:59:27]OFD Sender: No OFD packet to send [10:59:32]OFD Sender: No OFD packet to send [10:59:37]OFD Sender: No OFD packet to send [10:59:42]OFD Sender: No OFD packet to send [10:59:47]OFD Sender: No OFD packet to send [10:59:52]OFD Sender: No OFD packet to send [10:59:57]OFD Sender: No OFD packet to send [11:00:02]OFD Sender: No OFD packet to send [11:00:07]OFD Sender: No OFD packet to send [11:00:12]OFD Sender: No OFD packet to send [11:00:17]OFD Sender: No OFD packet to send [11:00:22]OFD Sender: No OFD packet to send [11:00:27]OFD Sender: No OFD packet to send [11:00:32]OFD Sender: No OFD packet to send [11:00:37]OFD Sender: No OFD packet to send [11:00:42]OFD Sender: No OFD packet to send [11:00:47]OFD Sender: No OFD packet to send [11:00:52]OFD Sender: No OFD packet to send [11:00:57]OFD Sender: No OFD packet to send [11:01:02]OFD Sender: No OFD packet to send [11:01:07]OFD Sender: No OFD packet to send [11:01:12]OFD Sender: No OFD packet to send [11:01:17]OFD Sender: No OFD packet to send [11:01:22]OFD Sender: No OFD packet to send [11:01:27]OFD Sender: No OFD packet to send [11:01:32]OFD Sender: No OFD packet to send [11:01:37]OFD Sender: No OFD packet to send [11:01:42]OFD Sender: No OFD packet to send [11:01:47]OFD Sender: No OFD packet to send [11:01:52]OFD Sender: No OFD packet to send [11:01:57]OFD Sender: No OFD packet to send [11:02:02]OFD Sender: No OFD packet to send [11:02:07]OFD Sender: No OFD packet to send [11:02:12]OFD Sender: No OFD packet to send [11:02:17]OFD Sender: No OFD packet to send [11:02:22]OFD Sender: No OFD packet to send [11:02:27]OFD Sender: No OFD packet to send [11:02:32]OFD Sender: No OFD packet to send [11:02:37]OFD Sender: No OFD packet to send [11:02:42]OFD Sender: No OFD packet to send [11:02:47]OFD Sender: No OFD packet to send [11:02:47]accept exits with 9 [11:02:47]New connection [11:02:47]New thread 3066932580 created [11:02:47]Thread 3067075940 joined [11:02:47]Waiting for new connection... [11:02:47] Sock 9.Parse request [11:02:47]Sock 9.Check first char [11:02:47]Sock 9.First char is OK [11:02:47]request: POST /json_proto HTTP/1.0 [11:02:47]Method: POST [11:02:47]URL: /json_proto [11:02:47]Method is POST - this is cgi request [11:02:47]url: /json_proto [11:02:47]query_string will be loaded in cgi processing [11:02:47]execute_cgi json_proto POST (null) [11:02:47]execute_cgi path=json_proto method=POST [11:02:47]POST find Content-Length [11:02:47]Host: 172.17.61.6:8080 [11:02:47]Content-Length: 923 [11:02:47]Content-Type: application/json [11:02:47] [11:02:47]POST finish read [11:02:47]Found Content-Length = 923 [11:02:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58576", "tax_sys" : 0, "items" : [ { "code": "4700002952807", "name": "\u0412\u043E\u0434\u043A\u0430 Organic 40% 0,48\u043B", "price" : 530.00, "quantity" : 1.000, "sum" : 530.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000027340020", "name": "\u041F\u0430\u043A\u0435\u0442 \u0431\u0443\u043C\u0430\u0436\u043D\u044B\u0439 \u0432\u0438\u0442\u0430\u044F \u0440\u0443\u0447\u043A\u0430", "price" : 25.00, "quantity" : 1.000, "sum" : 25.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 555.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:02:47]execute_script... [11:02:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58576", "tax_sys" : 0, "items" : [ { "code": "4700002952807", "name": "\u0412\u043E\u0434\u043A\u0430 Organic 40% 0,48\u043B", "price" : 530.00, "quantity" : 1.000, "sum" : 530.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000027340020", "name": "\u041F\u0430\u043A\u0435\u0442 \u0431\u0443\u043C\u0430\u0436\u043D\u044B\u0439 \u0432\u0438\u0442\u0430\u044F \u0440\u0443\u0447\u043A\u0430", "price" : 25.00, "quantity" : 1.000, "sum" : 25.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 555.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:02:47]POST & json_proto [11:02:47]process_json_proto [11:02:47]json parsed OK: [11:02:47]protocol is kg_v1.0 [11:02:47]action value=close_receipt [11:02:47]process_action close_receipt [11:02:47]cmd_close_receipt [11:02:47]MH_GetDate [11:02:47]Write to MH i2c: F0 00 00 4A 0C 45 [11:02:47]Write i2c OK [11:02:47]MH_I2C_Read... [11:02:47]Read from MH i2c: F0 [11:02:47]MH_I2C_Read... [11:02:47]Read from MH i2c: F0 09 00 [11:02:47]MH_I2C_Read... [11:02:47]Read from MH i2c: F0 09 00 4A 0C 00 5A 4D E8 65 78 7F 6F 64 0C [11:02:47]GetLastDocTimeStamp 1709722466 [11:02:47]current date 1709722970 [11:02:47]FM_GetShiftState [11:02:47]SAM_PROTO_GetShiftState [11:02:47]wFMCommunicate request_size=4 [11:02:47]MH_SAM_APDU [11:02:47]CAPDU: 80 13 01 00 [11:02:47]Write to MH i2c: E2 08 00 4B 0C 80 13 01 00 00 00 00 00 D4 [11:02:47]Write i2c OK [11:02:47]MH_I2C_Read... [11:02:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:02:47]Read from MH i2c: E2 [11:02:47]MH_I2C_Read... [11:02:47]Read from MH i2c: E2 0E 00 [11:02:47]MH_I2C_Read... [11:02:47]Read from MH i2c: E2 0E 00 4B 0C 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 51 [11:02:47]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [11:02:47]wFMCommunicate OK [11:02:47]SAM_PROTO_GetShiftState done [11:02:47]FM_GetShiftState done [11:02:47]opened in 1709684590 [11:02:47]opened+sec_in_day 1709770990 [11:02:47]quantity*price = 53000 [11:02:47]sum+1 = 53001 [11:02:47]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000027340020 Пакет бумажный витая ручка 1.000 * 25.00 = 25.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 555.00 НСП 1% : 4.91 НДС 12% : 58.93 Наличными: 555.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 37 06.03.2024 11:02 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32421 ФПД: 47802866076468 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T110250&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32421&fm=47802866076468&tin=02508201610067®Number=0000000000092554&sum=55500 0 [11:02:48]StoreToDocumentArchive [11:02:48]shift 284 fd 32421 [11:02:48]save to /storage/0284/doc_00032421 [11:02:48]save last doc name /storage/0284/doc_00032421 to /storage/kkm_last_doc_name [11:02:48]save OK [11:02:48]Clear old archive folders... [11:02:48]ProcessDocumentItem done err = 0, tmpTLVsize=392 [11:02:48]tlvbuf is 01682140 [11:02:48]SAM_PROTO_ClearQueue [11:02:48]wFMCommunicate request_size=4 [11:02:48]MH_SAM_APDU [11:02:48]CAPDU: 80 09 00 00 [11:02:48]Write to MH i2c: E2 08 00 58 0C 80 09 00 00 00 00 00 00 D6 [11:02:48]Write i2c OK [11:02:48]MH_I2C_Read... [11:02:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:02:48]Read from MH i2c: E2 [11:02:48]MH_I2C_Read... [11:02:48]Read from MH i2c: E2 03 00 [11:02:48]MH_I2C_Read... [11:02:48]Read from MH i2c: E2 03 00 58 0C 00 90 00 D8 [11:02:48]RAPDU: 90 00 [11:02:48]wFMCommunicate OK [11:02:48]SAM_PROTO_ClearQueue done [11:02:48]KKMCreateOFDPacket [11:02:48]OFDProtocolAddRootSTLVToBuf [11:02:48]FM_MakeSignedData [11:02:48]FM_MakeSignedData [11:02:48]SAM_PROTO_SignData [11:02:48]wFMCommunicate request_size=4 [11:02:48]MH_SAM_APDU [11:02:48]CAPDU: 80 0D 01 02 [11:02:48]Write to MH i2c: E2 08 00 59 0C 80 0D 01 02 00 00 00 00 DE [11:02:48]Write i2c OK [11:02:48]MH_I2C_Read... [11:02:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:02:48]Read from MH i2c: E2 [11:02:48]MH_I2C_Read... [11:02:48]Read from MH i2c: E2 03 00 [11:02:48]MH_I2C_Read... [11:02:48]Read from MH i2c: E2 03 00 59 0C 00 90 00 D9 [11:02:48]RAPDU: 90 00 [11:02:48]wFMCommunicate OK [11:02:48]wFMCommunicate request_size=255 [11:02:48]MH_SAM_APDU [11:02:48]CAPDU: 80 0D 02 02 FA 03 00 88 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 32 39 35 32 38 30 37 06 04 1D 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 CF 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 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC D8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 [11:02:48]Write to MH i2c: E2 02 01 5A 0C 80 0D 02 02 FA 00 03 00 88 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 32 39 35 32 38 30 37 06 04 1D 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 CF 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 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC D8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 00 00 BC [11:02:48]Write i2c OK [11:02:48]MH_I2C_Read... [11:02:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:02:49]Read from MH i2c: E2 [11:02:49]MH_I2C_Read... [11:02:49]Read from MH i2c: E2 03 00 [11:02:49]MH_I2C_Read... [11:02:49]Read from MH i2c: E2 03 00 5A 0C 00 90 00 DA [11:02:49]RAPDU: 90 00 [11:02:49]wFMCommunicate OK [11:02:49]wFMCommunicate request_size=151 [11:02:49]MH_SAM_APDU [11:02:49]CAPDU: 80 0D 02 02 92 03 01 00 01 F7 03 06 00 EB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 05 17 00 00 00 00 07 04 06 00 CC D8 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 5A 4D E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A5 7E 00 00 35 04 06 00 2B 79 F8 DA 0B 34 [11:02:49]Write to MH i2c: E2 9A 00 5B 0C 80 0D 02 02 92 00 03 01 00 01 F7 03 06 00 EB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 05 17 00 00 00 00 07 04 06 00 CC D8 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 5A 4D E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A5 7E 00 00 35 04 06 00 2B 79 F8 DA 0B 34 00 00 F3 [11:02:49]Write i2c OK [11:02:49]MH_I2C_Read... [11:02:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:02:49]Read from MH i2c: E2 [11:02:49]MH_I2C_Read... [11:02:49]Read from MH i2c: E2 03 00 [11:02:49]MH_I2C_Read... [11:02:49]Read from MH i2c: E2 03 00 5B 0C 00 90 00 DB [11:02:49]RAPDU: 90 00 [11:02:49]wFMCommunicate OK [11:02:49]wFMCommunicate request_size=4 [11:02:49]MH_SAM_APDU [11:02:49]CAPDU: 80 0D 03 02 [11:02:49]Write to MH i2c: E2 08 00 5C 0C 80 0D 03 02 00 00 00 00 E3 [11:02:49]Write i2c OK [11:02:49]MH_I2C_Read... [11:02:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:02:49]Read from MH i2c: E2 [11:02:49]MH_I2C_Read... [11:02:49]Read from MH i2c: E2 0B 00 [11:02:49]MH_I2C_Read... [11:02:49]Read from MH i2c: E2 0B 00 5C 0C 00 65 0D FA 2A 85 F1 73 3E 90 00 A1 [11:02:49]RAPDU: 65 0D FA 2A 85 F1 73 3E 90 00 [11:02:49]wFMCommunicate OK [11:02:49]SAM_PROTO_SignData done [11:02:49]FM_MakeSignedData done [11:02:49]CreateOFDProtocolMessage [11:02:49]wFMCommunicate request_size=4 [11:02:49]MH_SAM_APDU [11:02:49]CAPDU: 80 11 00 00 [11:02:49]Write to MH i2c: E2 08 00 5D 0C 80 11 00 00 00 00 00 00 E3 [11:02:49]Write i2c OK [11:02:49]MH_I2C_Read... [11:02:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:02:49]Read from MH i2c: E2 [11:02:49]MH_I2C_Read... [11:02:49]Read from MH i2c: E2 17 00 [11:02:49]MH_I2C_Read... [11:02:49]Read from MH i2c: E2 17 00 5D 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 38 [11:02:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [11:02:49]wFMCommunicate OK [11:02:49]CreateOFDProtocolMessage done [11:02:49]OFDSenderStorePacket 32421 [11:02:49]StoreOFDPacket docnum=32421 [11:02:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 9C 01 00 00 0F 37 94 01 63 A7 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 32 39 35 32 38 30 37 06 04 1D 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 CF 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 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC D8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 05 17 00 00 00 00 07 04 06 00 CC D8 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 5A 4D E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A5 7E 00 00 35 04 06 00 2B 79 F8 DA 0B 34 65 0D FA 2A 85 F1 73 3E [11:02:49]CheckFolder [11:02:49]dirname=/storage/ofd_packets [11:02:49]CheckFolder done [11:02:49]ProducePacketName [11:02:49]name=ofd_packets/00032421 [11:02:49]NVStorageSaveData ofd_packets/00032421 [11:02:49]File name is /storage/ofd_packets/00032421 [11:02:49]Write 442 bytes [11:02:49]NVStorageSaveData done [11:02:49]OFDSenderStorePacket done [11:02:49]KKMCreateOFDPacket done [11:02:49]NVStorageSaveData kkm_last_timestamp [11:02:49]File name is /storage/kkm_last_timestamp [11:02:49]Write 4 bytes [11:02:49]NVStorageSaveData done [11:02:49]ExternCall_PrintAddStr [11:02:49]wPrintStart [11:02:49]Write to MH i2c: 01 00 00 5E 0C 6A [11:02:49]Write i2c OK [11:02:49]MH_I2C_Read... [11:02:49]Read from MH i2c: 01 [11:02:49]MH_I2C_Read... [11:02:49]Read from MH i2c: 01 07 00 [11:02:49]MH_I2C_Read... [11:02:49]Read from MH i2c: 01 07 00 5E 0C 00 00 00 00 00 FF 0F 7F [11:02:49]RasterBufferAndPrint [11:02:49]line Счет N : (3)58576 [11:02:49]line ИНН: 02508201610067 [11:02:49]line Контрольно-Кассовый Чек [11:02:49]line ПРОДАЖА [11:02:49]line Товар: 4700002952807 [11:02:49]line Водка Organic 40% 0,48л [11:02:49]line 1.000 * 530.00 [11:02:49]line = 530.00 [11:02:49]line НДС 12% НСП 1% [11:02:49]line > о реализуемом товаре [11:02:49]line Товар: 2000027340020 [11:02:49]line Пакет бумажный витая ручка [11:02:49]line 1.000 * 25.00 [11:02:49]line = 25.00 [11:02:49]line НДС 12% НСП 1% [11:02:49]line > о реализуемом товаре [11:02:49]line ИТОГО: 555.00 [11:02:49]line НСП 1% : 4.91 [11:02:49]line НДС 12% : 58.93 [11:02:49]line Наличными: 555.00 [11:02:49]line Безнал.: 0.00 [11:02:49]line Место: АЗС № 99 "Партнер Нефть" [11:02:49]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [11:02:49]line СНО: Общий режим [11:02:49]line Чек 37 06.03.2024 11:02 [11:02:49]line Смена: 284 ФФД: 1.0 [11:02:49]line ЗНМ: 0300000074 [11:02:49]line РНМ: 0000000000092554 [11:02:49]line Версия ККМ: 001 [11:02:49]line ФМ: 0000000000871783 [11:02:49]line ФД: 32421 [11:02:49]line ФПД: 47802866076468 [11:02:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T110250&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32421&fm=47802866076468&tin=02508201610067®Number=0000000000092554&sum=55500 [11:02:49]line 0 [11:02:49]written 0, free lines is 4095 [11:02:49]OFD Sender: Processing packet 32421 [packets to send 5, broken 4] [11:02:49]ProducePacketName [11:02:49]name=ofd_packets/00032421 [11:02:49]OFD Sender: To server: pG, [11:02:49]CommunicateWithHost lk.salyk.kg:30040 [11:02:49]ConnectInit lk.salyk.kg [11:02:49]Connected sock=10 [11:02:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 9C 01 00 00 0F 37 94 01 63 A7 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 32 39 35 32 38 30 37 06 04 1D 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 CF 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 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC D8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 05 17 00 00 00 00 07 04 06 00 CC D8 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 5A 4D E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A5 7E 00 00 35 04 06 00 2B 79 F8 DA 0B 34 65 0D FA 2A 85 F1 73 3E [11:02:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 AD 06 47 00 DA 76 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A5 7E 00 00 F4 03 04 00 92 F5 E7 65 B6 04 01 00 00 BF E7 0F F1 DD A2 F6 C1 [11:02:49]CommunicateWithHost err = 0 [11:02:49]CheckOFDResponse [11:02:49]1017 (14) - 77093643461234 [11:02:49]1041 (16) - 0000000000871783 [11:02:49]1040 (4) - 32421 [11:02:49]1012 (4) - 06.03.2024 04:48 [11:02:49]1206 (1) - 0 [11:02:49]OFD Sender: Remove packet 32421 [11:02:49]ProducePacketName [11:02:49]name=ofd_packets/00032421 [11:02:49]NVStorageDeleteData [11:02:49]Write to MH i2c: 01 00 00 8C 0C 98 [11:02:49]Write i2c OK [11:02:49]MH_I2C_Read... [11:02:49]Read from MH i2c: 01 [11:02:49]MH_I2C_Read... [11:02:49]Read from MH i2c: 01 07 00 [11:02:49]MH_I2C_Read... [11:02:49]Read from MH i2c: 01 07 00 8C 0C 00 00 00 00 00 84 0C 2F [11:02:49]RasterBufferAndPrint [11:02:49]line [11:02:49]line [11:02:49]line [11:02:49]line [11:02:49]line [11:02:49]written 0, free lines is 3210 [11:02:49]MH_Cut [11:02:49]Write to MH i2c: D1 01 00 93 0C 01 71 [11:02:49]Write i2c OK [11:02:49]MH_I2C_Read... [11:02:49]Read from MH i2c: D1 [11:02:49]MH_I2C_Read... [11:02:49]Read from MH i2c: D1 01 00 [11:02:49]MH_I2C_Read... [11:02:49]Read from MH i2c: D1 01 00 93 0C 00 70 [11:02:49]Write to MH i2c: 01 00 00 94 0C A0 [11:02:49]Write i2c OK [11:02:49]MH_I2C_Read... [11:02:50]OFD Sender: No OFD packet to send [11:02:50]*** Cut start [11:02:50]*** Partial cut [11:02:50]*** CUTSNS_PIN = 1 [11:02:50]*** CUTSNS_PIN = 0 [11:02:51]*** Brake cut motor [11:02:51]Read from MH i2c: 01 [11:02:51]MH_I2C_Read... [11:02:51]*** Stop cut motor [11:02:51]*** Cut end [11:02:51]Read from MH i2c: 01 07 00 [11:02:51]MH_I2C_Read... [11:02:51]Read from MH i2c: 01 07 00 94 0C 00 00 00 00 00 FF 0F B5 [11:02:51]process_action close_receipt done [11:02:51]requested_data is exist [11:02:51]produce_requested_data [11:02:51]requested_item fm.sn is exist - process it [11:02:51]wFMCommunicate request_size=4 [11:02:51]MH_SAM_APDU [11:02:51]CAPDU: 80 11 00 00 [11:02:51]Write to MH i2c: E2 08 00 95 0C 80 11 00 00 00 00 00 00 1B [11:02:51]Write i2c OK [11:02:51]MH_I2C_Read... [11:02:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:02:51]Read from MH i2c: E2 [11:02:51]MH_I2C_Read... [11:02:51]Read from MH i2c: E2 17 00 [11:02:51]MH_I2C_Read... [11:02:51]Read from MH i2c: E2 17 00 95 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 70 [11:02:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [11:02:51]wFMCommunicate OK [11:02:51]requested_item fd.num is exist - process it [11:02:51]SAM_PROTO_GetFieldsCounters [11:02:51]wFMCommunicate request_size=4 [11:02:51]MH_SAM_APDU [11:02:51]CAPDU: 80 13 00 00 [11:02:51]Write to MH i2c: E2 08 00 96 0C 80 13 00 00 00 00 00 00 1E [11:02:51]Write i2c OK [11:02:51]MH_I2C_Read... [11:02:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:02:51]Read from MH i2c: E2 [11:02:51]MH_I2C_Read... [11:02:51]Read from MH i2c: E2 62 00 [11:02:51]MH_I2C_Read... [11:02:51]Read from MH i2c: E2 62 00 96 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 A5 7E 00 00 0E 04 04 00 1C 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 F0 [11:02:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 A5 7E 00 00 0E 04 04 00 1C 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 [11:02:51]wFMCommunicate OK [11:02:51]SAM_PROTO_GetFieldsCounters done [11:02:51]requested_item shift.num is exist - process it [11:02:51]requested_item shift.opened is exist - process it [11:02:51]req_shift_opened [11:02:51]FM_GetShiftState [11:02:51]SAM_PROTO_GetShiftState [11:02:51]wFMCommunicate request_size=4 [11:02:51]MH_SAM_APDU [11:02:51]CAPDU: 80 13 01 00 [11:02:51]Write to MH i2c: E2 08 00 97 0C 80 13 01 00 00 00 00 00 20 [11:02:51]Write i2c OK [11:02:51]MH_I2C_Read... [11:02:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:02:51]Read from MH i2c: E2 [11:02:51]MH_I2C_Read... [11:02:51]Read from MH i2c: E2 0E 00 [11:02:51]MH_I2C_Read... [11:02:51]Read from MH i2c: E2 0E 00 97 0C 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 9D [11:02:51]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [11:02:51]wFMCommunicate OK [11:02:51]SAM_PROTO_GetShiftState done [11:02:51]FM_GetShiftState done [11:02:51]req_shift_opened done [11:02:51]requested_item shift.open_date is exist - process it [11:02:51]req_shift_open_date [11:02:51]req_shift_open_date done [11:02:51]produce_requested_data done [11:02:51]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32421,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [11:02:51]process_action_free close_receipt [11:02:51]json_value_free [11:02:51]json_value_free done [11:02:51]process_json_proto returns [11:02:51]Send response to host [11:02:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32421,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [11:02:51]free response buf [11:02:51]execute_script done [11:02:51]execute_script returns [11:02:51]free content buf [11:02:51]Sock 9.Close socket [11:02:51]Sock 9.Thread stoped [11:02:55]OFD Sender: No OFD packet to send [11:03:00]OFD Sender: No OFD packet to send [11:03:05]OFD Sender: No OFD packet to send [11:03:10]OFD Sender: No OFD packet to send [11:03:15]OFD Sender: No OFD packet to send [11:03:20]OFD Sender: No OFD packet to send [11:03:25]OFD Sender: No OFD packet to send [11:03:30]OFD Sender: No OFD packet to send [11:03:35]OFD Sender: No OFD packet to send [11:03:40]OFD Sender: No OFD packet to send [11:03:45]OFD Sender: No OFD packet to send [11:03:50]OFD Sender: No OFD packet to send [11:03:55]OFD Sender: No OFD packet to send [11:04:00]OFD Sender: No OFD packet to send [11:04:05]OFD Sender: No OFD packet to send [11:04:10]OFD Sender: No OFD packet to send [11:04:15]OFD Sender: No OFD packet to send [11:04:20]OFD Sender: No OFD packet to send [11:04:25]OFD Sender: No OFD packet to send [11:04:30]OFD Sender: No OFD packet to send [11:04:35]OFD Sender: No OFD packet to send [11:04:40]OFD Sender: No OFD packet to send [11:04:45]OFD Sender: No OFD packet to send [11:04:50]OFD Sender: No OFD packet to send [11:04:55]OFD Sender: No OFD packet to send [11:05:00]OFD Sender: No OFD packet to send [11:05:05]OFD Sender: No OFD packet to send [11:05:10]OFD Sender: No OFD packet to send [11:05:15]OFD Sender: No OFD packet to send [11:05:20]OFD Sender: No OFD packet to send [11:05:25]OFD Sender: No OFD packet to send [11:05:30]OFD Sender: No OFD packet to send [11:05:35]OFD Sender: No OFD packet to send [11:05:40]OFD Sender: No OFD packet to send [11:05:45]OFD Sender: No OFD packet to send [11:05:50]OFD Sender: No OFD packet to send [11:05:55]OFD Sender: No OFD packet to send [11:06:00]OFD Sender: No OFD packet to send [11:06:05]OFD Sender: No OFD packet to send [11:06:10]OFD Sender: No OFD packet to send [11:06:15]OFD Sender: No OFD packet to send [11:06:20]OFD Sender: No OFD packet to send [11:06:25]OFD Sender: No OFD packet to send [11:06:30]OFD Sender: No OFD packet to send [11:06:35]OFD Sender: No OFD packet to send [11:06:40]OFD Sender: No OFD packet to send [11:06:45]OFD Sender: No OFD packet to send [11:06:50]OFD Sender: No OFD packet to send [11:06:55]OFD Sender: No OFD packet to send [11:07:00]OFD Sender: No OFD packet to send [11:07:05]OFD Sender: No OFD packet to send [11:07:10]OFD Sender: No OFD packet to send [11:07:15]OFD Sender: No OFD packet to send [11:07:20]OFD Sender: No OFD packet to send [11:07:25]OFD Sender: No OFD packet to send [11:07:30]OFD Sender: No OFD packet to send [11:07:35]OFD Sender: No OFD packet to send [11:07:40]OFD Sender: No OFD packet to send [11:07:45]OFD Sender: No OFD packet to send [11:07:50]OFD Sender: No OFD packet to send [11:07:55]OFD Sender: No OFD packet to send [11:08:00]OFD Sender: No OFD packet to send [11:08:05]OFD Sender: No OFD packet to send [11:08:10]OFD Sender: No OFD packet to send [11:08:15]OFD Sender: No OFD packet to send [11:08:20]OFD Sender: No OFD packet to send [11:08:25]OFD Sender: No OFD packet to send [11:08:30]OFD Sender: No OFD packet to send [11:08:35]OFD Sender: No OFD packet to send [11:08:40]OFD Sender: No OFD packet to send [11:08:45]OFD Sender: No OFD packet to send [11:08:50]OFD Sender: No OFD packet to send [11:08:55]OFD Sender: No OFD packet to send [11:09:00]OFD Sender: No OFD packet to send [11:09:05]OFD Sender: No OFD packet to send [11:09:10]OFD Sender: No OFD packet to send [11:09:15]OFD Sender: No OFD packet to send [11:09:20]OFD Sender: No OFD packet to send [11:09:25]OFD Sender: No OFD packet to send [11:09:30]OFD Sender: No OFD packet to send [11:09:35]OFD Sender: No OFD packet to send [11:09:40]OFD Sender: No OFD packet to send [11:09:45]OFD Sender: No OFD packet to send [11:09:50]OFD Sender: No OFD packet to send [11:09:55]OFD Sender: No OFD packet to send [11:10:00]OFD Sender: No OFD packet to send [11:10:05]OFD Sender: No OFD packet to send [11:10:10]OFD Sender: No OFD packet to send [11:10:15]OFD Sender: No OFD packet to send [11:10:20]OFD Sender: No OFD packet to send [11:10:25]OFD Sender: No OFD packet to send [11:10:30]OFD Sender: No OFD packet to send [11:10:35]OFD Sender: No OFD packet to send [11:10:40]OFD Sender: No OFD packet to send [11:10:45]OFD Sender: No OFD packet to send [11:10:50]OFD Sender: No OFD packet to send [11:10:55]OFD Sender: No OFD packet to send [11:11:00]OFD Sender: No OFD packet to send [11:11:03]accept exits with 8 [11:11:03]New connection [11:11:03]New thread 3067075940 created [11:11:03]Thread 3066932580 joined [11:11:03]Waiting for new connection... [11:11:03] Sock 8.Parse request [11:11:03]Sock 8.Check first char [11:11:03]Sock 8.First char is OK [11:11:03]request: POST /json_proto HTTP/1.0 [11:11:03]Method: POST [11:11:03]URL: /json_proto [11:11:03]Method is POST - this is cgi request [11:11:03]url: /json_proto [11:11:03]query_string will be loaded in cgi processing [11:11:03]execute_cgi json_proto POST (null) [11:11:03]execute_cgi path=json_proto method=POST [11:11:03]POST find Content-Length [11:11:03]Host: 172.17.61.6:8080 [11:11:03]Content-Length: 666 [11:11:03]Content-Type: application/json [11:11:03] [11:11:03]POST finish read [11:11:03]Found Content-Length = 666 [11:11:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58577", "tax_sys" : 0, "items" : [ { "code": "4800452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL (\u0410\u041A\u0426\u0418\u042F)", "price" : 120.00, "quantity" : 2.000, "sum" : 240.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 240.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:11:03]execute_script... [11:11: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)58577", "tax_sys" : 0, "items" : [ { "code": "4800452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL (\u0410\u041A\u0426\u0418\u042F)", "price" : 120.00, "quantity" : 2.000, "sum" : 240.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 240.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:11:03]POST & json_proto [11:11:03]process_json_proto [11:11:03]json parsed OK: [11:11:03]protocol is kg_v1.0 [11:11:03]action value=close_receipt [11:11:03]process_action close_receipt [11:11:03]cmd_close_receipt [11:11:03]MH_GetDate [11:11:03]Write to MH i2c: F0 00 00 98 0C 93 [11:11:03]Write i2c OK [11:11:03]MH_I2C_Read... [11:11:03]Read from MH i2c: F0 [11:11:03]MH_I2C_Read... [11:11:03]Read from MH i2c: F0 09 00 [11:11:03]MH_I2C_Read... [11:11:03]Read from MH i2c: F0 09 00 98 0C 00 4A 4F E8 65 78 7F 6F 64 4C [11:11:03]GetLastDocTimeStamp 1709722970 [11:11:03]current date 1709723466 [11:11:03]FM_GetShiftState [11:11:03]SAM_PROTO_GetShiftState [11:11:03]wFMCommunicate request_size=4 [11:11:03]MH_SAM_APDU [11:11:03]CAPDU: 80 13 01 00 [11:11:03]Write to MH i2c: E2 08 00 99 0C 80 13 01 00 00 00 00 00 22 [11:11:03]Write i2c OK [11:11:03]MH_I2C_Read... [11:11:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:11:03]Read from MH i2c: E2 [11:11:03]MH_I2C_Read... [11:11:03]Read from MH i2c: E2 0E 00 [11:11:03]MH_I2C_Read... [11:11:03]Read from MH i2c: E2 0E 00 99 0C 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 9F [11:11:03]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [11:11:03]wFMCommunicate OK [11:11:03]SAM_PROTO_GetShiftState done [11:11:03]FM_GetShiftState done [11:11:03]opened in 1709684590 [11:11:03]opened+sec_in_day 1709770990 [11:11:03]quantity*price = 24000 [11:11:03]sum+1 = 24001 [11:11:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 240.00 НСП 1% : 2.12 НДС 12% : 25.49 Наличными: 240.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 38 06.03.2024 11:11 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32422 ФПД: 80159671978564 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T111106&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32422&fm=80159671978564&tin=02508201610067®Number=0000000000092554&sum=24000 0 [11:11:04]StoreToDocumentArchive [11:11:04]shift 284 fd 32422 [11:11:04]save to /storage/0284/doc_00032422 [11:11:04]save last doc name /storage/0284/doc_00032422 to /storage/kkm_last_doc_name [11:11:04]save OK [11:11:04]Clear old archive folders... [11:11:04]ProcessDocumentItem done err = 0, tmpTLVsize=283 [11:11:04]tlvbuf is 016584B0 [11:11:04]SAM_PROTO_ClearQueue [11:11:04]wFMCommunicate request_size=4 [11:11:04]MH_SAM_APDU [11:11:04]CAPDU: 80 09 00 00 [11:11:04]Write to MH i2c: E2 08 00 A6 0C 80 09 00 00 00 00 00 00 24 [11:11:04]Write i2c OK [11:11:04]MH_I2C_Read... [11:11:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:11:04]Read from MH i2c: E2 [11:11:04]MH_I2C_Read... [11:11:04]Read from MH i2c: E2 03 00 [11:11:04]MH_I2C_Read... [11:11:04]Read from MH i2c: E2 03 00 A6 0C 00 90 00 26 [11:11:04]RAPDU: 90 00 [11:11:04]wFMCommunicate OK [11:11:04]SAM_PROTO_ClearQueue done [11:11:04]KKMCreateOFDPacket [11:11:04]OFDProtocolAddRootSTLVToBuf [11:11:04]FM_MakeSignedData [11:11:04]FM_MakeSignedData [11:11:04]SAM_PROTO_SignData [11:11:04]wFMCommunicate request_size=4 [11:11:04]MH_SAM_APDU [11:11:04]CAPDU: 80 0D 01 02 [11:11:04]Write to MH i2c: E2 08 00 A7 0C 80 0D 01 02 00 00 00 00 2C [11:11:04]Write i2c OK [11:11:04]MH_I2C_Read... [11:11:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:11:04]Read from MH i2c: E2 [11:11:04]MH_I2C_Read... [11:11:04]Read from MH i2c: E2 03 00 [11:11:04]MH_I2C_Read... [11:11:04]Read from MH i2c: E2 03 00 A7 0C 00 90 00 27 [11:11:04]RAPDU: 90 00 [11:11:04]wFMCommunicate OK [11:11:04]wFMCommunicate request_size=255 [11:11:04]MH_SAM_APDU [11:11:04]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 09 00 00 00 00 07 04 06 00 C0 5D 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 4A 4F E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 [11:11:04]Write to MH i2c: E2 02 01 A8 0C 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 09 00 00 00 00 07 04 06 00 C0 5D 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 4A 4F E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 00 00 9A [11:11:04]Write i2c OK [11:11:04]MH_I2C_Read... [11:11:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:11:04]Read from MH i2c: E2 [11:11:04]MH_I2C_Read... [11:11:04]Read from MH i2c: E2 03 00 [11:11:04]MH_I2C_Read... [11:11:04]Read from MH i2c: E2 03 00 A8 0C 00 90 00 28 [11:11:04]RAPDU: 90 00 [11:11:04]wFMCommunicate OK [11:11:04]wFMCommunicate request_size=42 [11:11:04]MH_SAM_APDU [11:11:04]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A6 7E 00 00 35 04 06 00 48 E7 A0 C6 0A 44 [11:11:04]Write to MH i2c: E2 2D 00 A9 0C 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A6 7E 00 00 35 04 06 00 48 E7 A0 C6 0A 44 00 00 0D [11:11:04]Write i2c OK [11:11:04]MH_I2C_Read... [11:11:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:11:04]Read from MH i2c: E2 [11:11:04]MH_I2C_Read... [11:11:04]Read from MH i2c: E2 03 00 [11:11:04]MH_I2C_Read... [11:11:04]Read from MH i2c: E2 03 00 A9 0C 00 90 00 29 [11:11:04]RAPDU: 90 00 [11:11:04]wFMCommunicate OK [11:11:04]wFMCommunicate request_size=4 [11:11:04]MH_SAM_APDU [11:11:04]CAPDU: 80 0D 03 02 [11:11:04]Write to MH i2c: E2 08 00 AA 0C 80 0D 03 02 00 00 00 00 31 [11:11:04]Write i2c OK [11:11:04]MH_I2C_Read... [11:11:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:11:05]Read from MH i2c: E2 [11:11:05]MH_I2C_Read... [11:11:05]Read from MH i2c: E2 0B 00 [11:11:05]MH_I2C_Read... [11:11:05]Read from MH i2c: E2 0B 00 AA 0C 00 5C 10 47 72 98 22 1E AC 90 00 DB [11:11:05]RAPDU: 5C 10 47 72 98 22 1E AC 90 00 [11:11:05]wFMCommunicate OK [11:11:05]SAM_PROTO_SignData done [11:11:05]FM_MakeSignedData done [11:11:05]CreateOFDProtocolMessage [11:11:05]wFMCommunicate request_size=4 [11:11:05]MH_SAM_APDU [11:11:05]CAPDU: 80 11 00 00 [11:11:05]Write to MH i2c: E2 08 00 AB 0C 80 11 00 00 00 00 00 00 31 [11:11:05]Write i2c OK [11:11:05]MH_I2C_Read... [11:11:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:11:05]Read from MH i2c: E2 [11:11:05]MH_I2C_Read... [11:11:05]Read from MH i2c: E2 17 00 [11:11:05]MH_I2C_Read... [11:11:05]Read from MH i2c: E2 17 00 AB 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 86 [11:11:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [11:11:05]wFMCommunicate OK [11:11:05]CreateOFDProtocolMessage done [11:11:05]OFDSenderStorePacket 32422 [11:11:05]StoreOFDPacket docnum=32422 [11:11:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 2F 01 00 00 A7 3D 27 01 90 CB 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 09 00 00 00 00 07 04 06 00 C0 5D 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 4A 4F E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A6 7E 00 00 35 04 06 00 48 E7 A0 C6 0A 44 5C 10 47 72 98 22 1E AC [11:11:05]CheckFolder [11:11:05]dirname=/storage/ofd_packets [11:11:05]CheckFolder done [11:11:05]ProducePacketName [11:11:05]name=ofd_packets/00032422 [11:11:05]NVStorageSaveData ofd_packets/00032422 [11:11:05]File name is /storage/ofd_packets/00032422 [11:11:05]Write 333 bytes [11:11:05]NVStorageSaveData done [11:11:05]OFDSenderStorePacket done [11:11:05]KKMCreateOFDPacket done [11:11:05]NVStorageSaveData kkm_last_timestamp [11:11:05]File name is /storage/kkm_last_timestamp [11:11:05]Write 4 bytes [11:11:05]NVStorageSaveData done [11:11:05]ExternCall_PrintAddStr [11:11:05]wPrintStart [11:11:05]Write to MH i2c: 01 00 00 AC 0C B8 [11:11:05]Write i2c OK [11:11:05]MH_I2C_Read... [11:11:05]Read from MH i2c: 01 [11:11:05]MH_I2C_Read... [11:11:05]Read from MH i2c: 01 07 00 [11:11:05]MH_I2C_Read... [11:11:05]Read from MH i2c: 01 07 00 AC 0C 00 00 00 00 00 FF 0F CD [11:11:05]RasterBufferAndPrint [11:11:05]line Счет N : (3)58577 [11:11:05]line ИНН: 02508201610067 [11:11:05]line Контрольно-Кассовый Чек [11:11:05]line ПРОДАЖА [11:11:05]line Товар: 4800452010610 [11:11:05]line Кофе капучино XL (АКЦИЯ) [11:11:05]line 2.000 * 120.00 [11:11:05]line = 240.00 [11:11:05]line НДС 12% НСП 1% [11:11:05]line > о реализуемом товаре [11:11:05]line ИТОГО: 240.00 [11:11:05]line НСП 1% : 2.12 [11:11:05]line НДС 12% : 25.49 [11:11:05]line Наличными: 240.00 [11:11:05]line Безнал.: 0.00 [11:11:05]line Место: АЗС № 99 "Партнер Нефть" [11:11:05]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [11:11:05]line СНО: Общий режим [11:11:05]line Чек 38 06.03.2024 11:11 [11:11:05]line Смена: 284 ФФД: 1.0 [11:11:05]line ЗНМ: 0300000074 [11:11:05]line РНМ: 0000000000092554 [11:11:05]line Версия ККМ: 001 [11:11:05]line ФМ: 0000000000871783 [11:11:05]line ФД: 32422 [11:11:05]line ФПД: 80159671978564 [11:11:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T111106&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32422&fm=80159671978564&tin=02508201610067®Number=0000000000092554&sum=24000 [11:11:05]line 0 [11:11:05]OFD Sender: Processing packet 32422 [packets to send 5, broken 4] [11:11:05]ProducePacketName [11:11:05]name=ofd_packets/00032422 [11:11:05]OFD Sender: To server: pG, [11:11:05]CommunicateWithHost lk.salyk.kg:30040 [11:11:05]ConnectInit lk.salyk.kg [11:11:05]written 0, free lines is 4095 [11:11:05]Connected sock=10 [11:11:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 2F 01 00 00 A7 3D 27 01 90 CB 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 09 00 00 00 00 07 04 06 00 C0 5D 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 4A 4F E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A6 7E 00 00 35 04 06 00 48 E7 A0 C6 0A 44 5C 10 47 72 98 22 1E AC [11:11:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 39 3D 47 00 64 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 38 37 31 37 38 33 10 04 04 00 A6 7E 00 00 F4 03 04 00 82 F7 E7 65 B6 04 01 00 00 74 BB 8B BF C4 48 A7 C6 [11:11:05]CommunicateWithHost err = 0 [11:11:05]CheckOFDResponse [11:11:05]1017 (14) - 77093643461234 [11:11:05]1041 (16) - 0000000000871783 [11:11:05]1040 (4) - 32422 [11:11:05]1012 (4) - 06.03.2024 04:56 [11:11:05]1206 (1) - 0 [11:11:05]OFD Sender: Remove packet 32422 [11:11:05]ProducePacketName [11:11:05]name=ofd_packets/00032422 [11:11:05]NVStorageDeleteData [11:11:05]Write to MH i2c: 01 00 00 D4 0C E0 [11:11:05]Write i2c OK [11:11:05]MH_I2C_Read... [11:11:05]Read from MH i2c: 01 [11:11:05]MH_I2C_Read... [11:11:05]Read from MH i2c: 01 07 00 [11:11:05]MH_I2C_Read... [11:11:05]Read from MH i2c: 01 07 00 D4 0C 00 00 00 00 00 E8 0C DB [11:11:05]RasterBufferAndPrint [11:11:05]line [11:11:05]line [11:11:05]line [11:11:05]line [11:11:05]line [11:11:05]written 0, free lines is 3310 [11:11:05]MH_Cut [11:11:05]Write to MH i2c: D1 01 00 DB 0C 01 B9 [11:11:05]Write i2c OK [11:11:05]MH_I2C_Read... [11:11:05]Read from MH i2c: D1 [11:11:05]MH_I2C_Read... [11:11:05]Read from MH i2c: D1 01 00 [11:11:05]MH_I2C_Read... [11:11:05]Read from MH i2c: D1 01 00 DB 0C 00 B8 [11:11:05]Write to MH i2c: 01 00 00 DC 0C E8 [11:11:05]Write i2c OK [11:11:05]MH_I2C_Read... [11:11:06]OFD Sender: No OFD packet to send [11:11:06]*** Cut start [11:11:06]*** Partial cut [11:11:06]*** CUTSNS_PIN = 1 [11:11:06]*** CUTSNS_PIN = 0 [11:11:06]*** Brake cut motor [11:11:07]Read from MH i2c: 01 [11:11:07]MH_I2C_Read... [11:11:07]*** Stop cut motor [11:11:07]*** Cut end [11:11:07]Read from MH i2c: 01 07 00 [11:11:07]MH_I2C_Read... [11:11:07]Read from MH i2c: 01 07 00 DC 0C 00 00 00 00 00 FF 0F FD [11:11:07]process_action close_receipt done [11:11:07]requested_data is exist [11:11:07]produce_requested_data [11:11:07]requested_item fm.sn is exist - process it [11:11:07]wFMCommunicate request_size=4 [11:11:07]MH_SAM_APDU [11:11:07]CAPDU: 80 11 00 00 [11:11:07]Write to MH i2c: E2 08 00 DD 0C 80 11 00 00 00 00 00 00 63 [11:11:07]Write i2c OK [11:11:07]MH_I2C_Read... [11:11:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:11:07]Read from MH i2c: E2 [11:11:07]MH_I2C_Read... [11:11:07]Read from MH i2c: E2 17 00 [11:11:07]MH_I2C_Read... [11:11:07]Read from MH i2c: E2 17 00 DD 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 B8 [11:11:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [11:11:07]wFMCommunicate OK [11:11:07]requested_item fd.num is exist - process it [11:11:07]SAM_PROTO_GetFieldsCounters [11:11:07]wFMCommunicate request_size=4 [11:11:07]MH_SAM_APDU [11:11:07]CAPDU: 80 13 00 00 [11:11:07]Write to MH i2c: E2 08 00 DE 0C 80 13 00 00 00 00 00 00 66 [11:11:07]Write i2c OK [11:11:07]MH_I2C_Read... [11:11:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:11:07]Read from MH i2c: E2 [11:11:07]MH_I2C_Read... [11:11:07]Read from MH i2c: E2 62 00 [11:11:07]MH_I2C_Read... [11:11:07]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 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 A6 7E 00 00 0E 04 04 00 1C 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 3C [11:11:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 A6 7E 00 00 0E 04 04 00 1C 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 [11:11:07]wFMCommunicate OK [11:11:07]SAM_PROTO_GetFieldsCounters done [11:11:07]requested_item shift.num is exist - process it [11:11:07]requested_item shift.opened is exist - process it [11:11:07]req_shift_opened [11:11:07]FM_GetShiftState [11:11:07]SAM_PROTO_GetShiftState [11:11:07]wFMCommunicate request_size=4 [11:11:07]MH_SAM_APDU [11:11:07]CAPDU: 80 13 01 00 [11:11:07]Write to MH i2c: E2 08 00 DF 0C 80 13 01 00 00 00 00 00 68 [11:11:07]Write i2c OK [11:11:07]MH_I2C_Read... [11:11:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:11:07]Read from MH i2c: E2 [11:11:07]MH_I2C_Read... [11:11:07]Read from MH i2c: E2 0E 00 [11:11:07]MH_I2C_Read... [11:11:07]Read from MH i2c: E2 0E 00 DF 0C 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 E5 [11:11:07]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [11:11:07]wFMCommunicate OK [11:11:07]SAM_PROTO_GetShiftState done [11:11:07]FM_GetShiftState done [11:11:07]req_shift_opened done [11:11:07]requested_item shift.open_date is exist - process it [11:11:07]req_shift_open_date [11:11:07]req_shift_open_date done [11:11:07]produce_requested_data done [11:11:07]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32422,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [11:11:07]process_action_free close_receipt [11:11:07]json_value_free [11:11:07]json_value_free done [11:11:07]process_json_proto returns [11:11:07]Send response to host [11:11:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32422,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [11:11:07]free response buf [11:11:07]execute_script done [11:11:07]execute_script returns [11:11:07]free content buf [11:11:07]Sock 8.Close socket [11:11:07]Sock 8.Thread stoped [11:11:11]OFD Sender: No OFD packet to send [11:11:16]OFD Sender: No OFD packet to send [11:11:21]OFD Sender: No OFD packet to send [11:11:26]OFD Sender: No OFD packet to send [11:11:31]OFD Sender: No OFD packet to send [11:11:36]OFD Sender: No OFD packet to send [11:11:41]OFD Sender: No OFD packet to send [11:11:46]OFD Sender: No OFD packet to send [11:11:51]OFD Sender: No OFD packet to send [11:11:56]OFD Sender: No OFD packet to send [11:12:01]OFD Sender: No OFD packet to send [11:12:06]OFD Sender: No OFD packet to send [11:12:11]OFD Sender: No OFD packet to send [11:12:16]OFD Sender: No OFD packet to send [11:12:21]OFD Sender: No OFD packet to send [11:12:26]OFD Sender: No OFD packet to send [11:12:31]OFD Sender: No OFD packet to send [11:12:36]OFD Sender: No OFD packet to send [11:12:41]OFD Sender: No OFD packet to send [11:12:46]OFD Sender: No OFD packet to send [11:12:51]OFD Sender: No OFD packet to send [11:12:56]OFD Sender: No OFD packet to send [11:13:01]OFD Sender: No OFD packet to send [11:13:06]OFD Sender: No OFD packet to send [11:13:11]OFD Sender: No OFD packet to send [11:13:16]OFD Sender: No OFD packet to send [11:13:21]OFD Sender: No OFD packet to send [11:13:26]OFD Sender: No OFD packet to send [11:13:31]OFD Sender: No OFD packet to send [11:13:36]OFD Sender: No OFD packet to send [11:13:41]OFD Sender: No OFD packet to send [11:13:46]OFD Sender: No OFD packet to send [11:13:51]OFD Sender: No OFD packet to send [11:13:56]OFD Sender: No OFD packet to send [11:14:01]OFD Sender: No OFD packet to send [11:14:06]OFD Sender: No OFD packet to send [11:14:11]OFD Sender: No OFD packet to send [11:14:16]OFD Sender: No OFD packet to send [11:14:21]OFD Sender: No OFD packet to send [11:14:26]OFD Sender: No OFD packet to send [11:14:31]OFD Sender: No OFD packet to send [11:14:36]OFD Sender: No OFD packet to send [11:14:41]OFD Sender: No OFD packet to send [11:14:46]OFD Sender: No OFD packet to send [11:14:51]OFD Sender: No OFD packet to send [11:14:56]OFD Sender: No OFD packet to send [11:15:01]OFD Sender: No OFD packet to send [11:15:06]OFD Sender: No OFD packet to send [11:15:11]OFD Sender: No OFD packet to send [11:15:16]OFD Sender: No OFD packet to send [11:15:21]OFD Sender: No OFD packet to send [11:15:26]OFD Sender: No OFD packet to send [11:15:31]OFD Sender: No OFD packet to send [11:15:36]OFD Sender: No OFD packet to send [11:15:41]OFD Sender: No OFD packet to send [11:15:46]OFD Sender: No OFD packet to send [11:15:51]OFD Sender: No OFD packet to send [11:15:56]OFD Sender: No OFD packet to send [11:16:01]OFD Sender: No OFD packet to send [11:16:06]OFD Sender: No OFD packet to send [11:16:11]OFD Sender: No OFD packet to send [11:16:16]OFD Sender: No OFD packet to send [11:16:21]OFD Sender: No OFD packet to send [11:16:26]OFD Sender: No OFD packet to send [11:16:31]OFD Sender: No OFD packet to send [11:16:36]OFD Sender: No OFD packet to send [11:16:41]OFD Sender: No OFD packet to send [11:16:46]OFD Sender: No OFD packet to send [11:16:51]OFD Sender: No OFD packet to send [11:16:56]OFD Sender: No OFD packet to send [11:17:01]OFD Sender: No OFD packet to send [11:17:06]OFD Sender: No OFD packet to send [11:17:11]OFD Sender: No OFD packet to send [11:17:16]OFD Sender: No OFD packet to send [11:17:21]OFD Sender: No OFD packet to send [11:17:26]OFD Sender: No OFD packet to send [11:17:31]OFD Sender: No OFD packet to send [11:17:36]OFD Sender: No OFD packet to send [11:17:41]OFD Sender: No OFD packet to send [11:17:46]OFD Sender: No OFD packet to send [11:17:51]OFD Sender: No OFD packet to send [11:17:56]OFD Sender: No OFD packet to send [11:18:01]OFD Sender: No OFD packet to send [11:18:06]OFD Sender: No OFD packet to send [11:18:11]OFD Sender: No OFD packet to send [11:18:16]OFD Sender: No OFD packet to send [11:18:21]OFD Sender: No OFD packet to send [11:18:26]OFD Sender: No OFD packet to send [11:18:31]OFD Sender: No OFD packet to send [11:18:36]OFD Sender: No OFD packet to send [11:18:41]OFD Sender: No OFD packet to send [11:18:46]OFD Sender: No OFD packet to send [11:18:51]OFD Sender: No OFD packet to send [11:18:56]OFD Sender: No OFD packet to send [11:19:01]OFD Sender: No OFD packet to send [11:19:06]OFD Sender: No OFD packet to send [11:19:11]OFD Sender: No OFD packet to send [11:19:16]OFD Sender: No OFD packet to send [11:19:21]OFD Sender: No OFD packet to send [11:19:26]OFD Sender: No OFD packet to send [11:19:31]OFD Sender: No OFD packet to send [11:19:36]OFD Sender: No OFD packet to send [11:19:41]OFD Sender: No OFD packet to send [11:19:46]OFD Sender: No OFD packet to send [11:19:51]OFD Sender: No OFD packet to send [11:19:56]OFD Sender: No OFD packet to send [11:20:01]OFD Sender: No OFD packet to send [11:20:06]OFD Sender: No OFD packet to send [11:20:11]OFD Sender: No OFD packet to send [11:20:16]OFD Sender: No OFD packet to send [11:20:21]OFD Sender: No OFD packet to send [11:20:26]OFD Sender: No OFD packet to send [11:20:31]OFD Sender: No OFD packet to send [11:20:36]OFD Sender: No OFD packet to send [11:20:41]OFD Sender: No OFD packet to send [11:20:46]OFD Sender: No OFD packet to send [11:20:51]OFD Sender: No OFD packet to send [11:20:56]OFD Sender: No OFD packet to send [11:20:58]recv_with_timeout no data received [11:21:01]OFD Sender: No OFD packet to send [11:21:06]OFD Sender: No OFD packet to send [11:21:11]OFD Sender: No OFD packet to send [11:21:16]OFD Sender: No OFD packet to send [11:21:21]OFD Sender: No OFD packet to send [11:21:26]OFD Sender: No OFD packet to send [11:21:31]OFD Sender: No OFD packet to send [11:21:36]OFD Sender: No OFD packet to send [11:21:41]OFD Sender: No OFD packet to send [11:21:46]OFD Sender: No OFD packet to send [11:21:51]OFD Sender: No OFD packet to send [11:21:56]OFD Sender: No OFD packet to send [11:22:01]OFD Sender: No OFD packet to send [11:22:06]OFD Sender: No OFD packet to send [11:22:11]OFD Sender: No OFD packet to send [11:22:16]OFD Sender: No OFD packet to send [11:22:21]OFD Sender: No OFD packet to send [11:22:26]OFD Sender: No OFD packet to send [11:22:31]OFD Sender: No OFD packet to send [11:22:36]OFD Sender: No OFD packet to send [11:22:41]OFD Sender: No OFD packet to send [11:22:46]OFD Sender: No OFD packet to send [11:22:51]OFD Sender: No OFD packet to send [11:22:56]OFD Sender: No OFD packet to send [11:23:01]OFD Sender: No OFD packet to send [11:23:06]OFD Sender: No OFD packet to send [11:23:11]OFD Sender: No OFD packet to send [11:23:16]OFD Sender: No OFD packet to send [11:23:21]OFD Sender: No OFD packet to send [11:23:26]OFD Sender: No OFD packet to send [11:23:31]OFD Sender: No OFD packet to send [11:23:36]OFD Sender: No OFD packet to send [11:23:41]OFD Sender: No OFD packet to send [11:23:46]OFD Sender: No OFD packet to send [11:23:51]OFD Sender: No OFD packet to send [11:23:56]OFD Sender: No OFD packet to send [11:24:01]OFD Sender: No OFD packet to send [11:24:06]OFD Sender: No OFD packet to send [11:24:11]OFD Sender: No OFD packet to send [11:24:16]OFD Sender: No OFD packet to send [11:24:21]OFD Sender: No OFD packet to send [11:24:26]OFD Sender: No OFD packet to send [11:24:31]OFD Sender: No OFD packet to send [11:24:36]OFD Sender: No OFD packet to send [11:24:41]OFD Sender: No OFD packet to send [11:24:46]OFD Sender: No OFD packet to send [11:24:51]OFD Sender: No OFD packet to send [11:24:56]OFD Sender: No OFD packet to send [11:25:01]OFD Sender: No OFD packet to send [11:25:06]OFD Sender: No OFD packet to send [11:25:11]OFD Sender: No OFD packet to send [11:25:16]OFD Sender: No OFD packet to send [11:25:21]OFD Sender: No OFD packet to send [11:25:26]OFD Sender: No OFD packet to send [11:25:31]OFD Sender: No OFD packet to send [11:25:36]OFD Sender: No OFD packet to send [11:25:41]OFD Sender: No OFD packet to send [11:25:46]OFD Sender: No OFD packet to send [11:25:51]OFD Sender: No OFD packet to send [11:25:56]OFD Sender: No OFD packet to send [11:26:01]OFD Sender: No OFD packet to send [11:26:06]OFD Sender: No OFD packet to send [11:26:11]OFD Sender: No OFD packet to send [11:26:16]OFD Sender: No OFD packet to send [11:26:21]OFD Sender: No OFD packet to send [11:26:26]OFD Sender: No OFD packet to send [11:26:31]OFD Sender: No OFD packet to send [11:26:36]OFD Sender: No OFD packet to send [11:26:41]OFD Sender: No OFD packet to send [11:26:46]OFD Sender: No OFD packet to send [11:26:51]OFD Sender: No OFD packet to send [11:26:56]OFD Sender: No OFD packet to send [11:27:01]OFD Sender: No OFD packet to send [11:27:06]OFD Sender: No OFD packet to send [11:27:11]OFD Sender: No OFD packet to send [11:27:16]OFD Sender: No OFD packet to send [11:27:21]OFD Sender: No OFD packet to send [11:27:26]OFD Sender: No OFD packet to send [11:27: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:21]accept exits with 9 [11:29:21]New connection [11:29:21]New thread 3066932580 created [11:29:21]Thread 3067075940 joined [11:29:21]Waiting for new connection... [11:29:21] Sock 9.Parse request [11:29:21]Sock 9.Check first char [11:29:21]Sock 9.First char is OK [11:29:21]request: POST /json_proto HTTP/1.0 [11:29:21]Method: POST [11:29:21]URL: /json_proto [11:29:21]Method is POST - this is cgi request [11:29:21]url: /json_proto [11:29:21]query_string will be loaded in cgi processing [11:29:21]execute_cgi json_proto POST (null) [11:29:21]execute_cgi path=json_proto method=POST [11:29:21]POST find Content-Length [11:29:21]Host: 172.17.61.6:8080 [11:29:21]Content-Length: 1109 [11:29:21]Content-Type: application/json [11:29:21] [11:29:21]POST finish read [11:29:21]Found Content-Length = 1109 [11:29:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58578", "tax_sys" : 0, "items" : [ { "code": "4800452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL (\u0410\u041A\u0426\u0418\u042F)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 209.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:29:21]execute_script... [11:29:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58578", "tax_sys" : 0, "items" : [ { "code": "4800452010610", "name": "\u041A\u043E\u0444\u0435 \u043A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL (\u0410\u041A\u0426\u0418\u042F)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 209.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:29:21]POST & json_proto [11:29:21]process_json_proto [11:29:21]json parsed OK: [11:29:21]protocol is kg_v1.0 [11:29:21]action value=close_receipt [11:29:21]process_action close_receipt [11:29:21]cmd_close_receipt [11:29:21]MH_GetDate [11:29:21]Write to MH i2c: F0 00 00 E0 0C DB [11:29:21]Write i2c OK [11:29:21]MH_I2C_Read... [11:29:21]Read from MH i2c: F0 [11:29:21]MH_I2C_Read... [11:29:21]Read from MH i2c: F0 09 00 [11:29:21]MH_I2C_Read... [11:29:21]Read from MH i2c: F0 09 00 E0 0C 00 94 53 E8 65 78 7F 6F 64 E2 [11:29:21]GetLastDocTimeStamp 1709723466 [11:29:21]current date 1709724564 [11:29:21]FM_GetShiftState [11:29:21]SAM_PROTO_GetShiftState [11:29:21]wFMCommunicate request_size=4 [11:29:21]MH_SAM_APDU [11:29:21]CAPDU: 80 13 01 00 [11:29:21]Write to MH i2c: E2 08 00 E1 0C 80 13 01 00 00 00 00 00 6A [11:29:21]Write i2c OK [11:29:21]MH_I2C_Read... [11:29:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:29:21]Read from MH i2c: E2 [11:29:21]MH_I2C_Read... [11:29:21]Read from MH i2c: E2 0E 00 [11:29:21]MH_I2C_Read... [11:29:21]Read from MH i2c: E2 0E 00 E1 0C 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 E7 [11:29:21]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [11:29:21]wFMCommunicate OK [11:29:21]SAM_PROTO_GetShiftState done [11:29:21]FM_GetShiftState done [11:29:21]opened in 1709684590 [11:29:21]opened+sec_in_day 1709770990 [11:29:21]quantity*price = 12000 [11:29:21]sum+1 = 12001 [11:29:21]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5000159390729 Шок Батончик Твикс Экстра 82г 1.000 * 89.00 = 89.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 209.00 НСП 1% : 1.85 НДС 12% : 22.19 Наличными: 0.00 Безнал.: 209.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 39 06.03.2024 11:29 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871783 ФД: 32423 ФПД: 222848042581220 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T112924&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32423&fm=222848042581220&tin=02508201610067®Number=0000000000092554&sum=20900 0 [11:29:22]StoreToDocumentArchive [11:29:22]shift 284 fd 32423 [11:29:22]save to /storage/0284/doc_00032423 [11:29:22]save last doc name /storage/0284/doc_00032423 to /storage/kkm_last_doc_name [11:29:22]save OK [11:29:22]Clear old archive folders... [11:29:22]ProcessDocumentItem done err = 0, tmpTLVsize=407 [11:29:22]tlvbuf is 01682430 [11:29:22]SAM_PROTO_ClearQueue [11:29:22]wFMCommunicate request_size=4 [11:29:22]MH_SAM_APDU [11:29:22]CAPDU: 80 09 00 00 [11:29:22]Write to MH i2c: E2 08 00 EE 0C 80 09 00 00 00 00 00 00 6C [11:29:22]Write i2c OK [11:29:22]MH_I2C_Read... [11:29:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:29:22]Read from MH i2c: E2 [11:29:22]MH_I2C_Read... [11:29:22]Read from MH i2c: E2 03 00 [11:29:22]MH_I2C_Read... [11:29:22]Read from MH i2c: E2 03 00 EE 0C 00 90 00 6E [11:29:22]RAPDU: 90 00 [11:29:22]wFMCommunicate OK [11:29:22]SAM_PROTO_ClearQueue done [11:29:22]KKMCreateOFDPacket [11:29:22]OFDProtocolAddRootSTLVToBuf [11:29:22]FM_MakeSignedData [11:29:22]FM_MakeSignedData [11:29:22]SAM_PROTO_SignData [11:29:22]wFMCommunicate request_size=4 [11:29:22]MH_SAM_APDU [11:29:22]CAPDU: 80 0D 01 02 [11:29:22]Write to MH i2c: E2 08 00 EF 0C 80 0D 01 02 00 00 00 00 74 [11:29:22]Write i2c OK [11:29:22]MH_I2C_Read... [11:29:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:29:22]Read from MH i2c: E2 [11:29:22]MH_I2C_Read... [11:29:22]Read from MH i2c: E2 03 00 [11:29:22]MH_I2C_Read... [11:29:22]Read from MH i2c: E2 03 00 EF 0C 00 90 00 6F [11:29:22]RAPDU: 90 00 [11:29:22]wFMCommunicate OK [11:29:22]wFMCommunicate request_size=255 [11:29:22]MH_SAM_APDU [11:29:22]CAPDU: 80 0D 02 02 FA 03 00 97 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 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 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 [11:29:22]Write to MH i2c: E2 02 01 F0 0C 80 0D 02 02 FA 00 03 00 97 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 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 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 00 00 F7 [11:29:22]Write i2c OK [11:29:22]MH_I2C_Read... [11:29:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:29:23]Read from MH i2c: E2 [11:29:23]MH_I2C_Read... [11:29:23]Read from MH i2c: E2 03 00 [11:29:23]MH_I2C_Read... [11:29:23]Read from MH i2c: E2 03 00 F0 0C 00 90 00 70 [11:29:23]RAPDU: 90 00 [11:29:23]wFMCommunicate OK [11:29:23]wFMCommunicate request_size=166 [11:29:23]MH_SAM_APDU [11:29:23]CAPDU: 80 0D 02 02 A1 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 00 00 00 00 00 00 39 04 06 00 A4 51 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 94 53 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A7 7E 00 00 35 04 06 00 CA AD DA 6A BC E4 [11:29:23]Write to MH i2c: E2 A9 00 F1 0C 80 0D 02 02 A1 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 00 00 00 00 00 00 39 04 06 00 A4 51 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 94 53 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A7 7E 00 00 35 04 06 00 CA AD DA 6A BC E4 00 00 46 [11:29:23]Write i2c OK [11:29:23]MH_I2C_Read... [11:29:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:29:23]Read from MH i2c: E2 [11:29:23]MH_I2C_Read... [11:29:23]Read from MH i2c: E2 03 00 [11:29:23]MH_I2C_Read... [11:29:23]Read from MH i2c: E2 03 00 F1 0C 00 90 00 71 [11:29:23]RAPDU: 90 00 [11:29:23]wFMCommunicate OK [11:29:23]wFMCommunicate request_size=4 [11:29:23]MH_SAM_APDU [11:29:23]CAPDU: 80 0D 03 02 [11:29:23]Write to MH i2c: E2 08 00 F2 0C 80 0D 03 02 00 00 00 00 79 [11:29:23]Write i2c OK [11:29:23]MH_I2C_Read... [11:29:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:29:23]Read from MH i2c: E2 [11:29:23]MH_I2C_Read... [11:29:23]Read from MH i2c: E2 0B 00 [11:29:23]MH_I2C_Read... [11:29:23]Read from MH i2c: E2 0B 00 F2 0C 00 40 6C ED 73 1F 49 21 B6 90 00 C5 [11:29:23]RAPDU: 40 6C ED 73 1F 49 21 B6 90 00 [11:29:23]wFMCommunicate OK [11:29:23]SAM_PROTO_SignData done [11:29:23]FM_MakeSignedData done [11:29:23]CreateOFDProtocolMessage [11:29:23]wFMCommunicate request_size=4 [11:29:23]MH_SAM_APDU [11:29:23]CAPDU: 80 11 00 00 [11:29:23]Write to MH i2c: E2 08 00 F3 0C 80 11 00 00 00 00 00 00 79 [11:29:23]Write i2c OK [11:29:23]MH_I2C_Read... [11:29:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:29:23]Read from MH i2c: E2 [11:29:23]MH_I2C_Read... [11:29:23]Read from MH i2c: E2 17 00 [11:29:23]MH_I2C_Read... [11:29:23]Read from MH i2c: E2 17 00 F3 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 CE [11:29:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [11:29:23]wFMCommunicate OK [11:29:23]CreateOFDProtocolMessage done [11:29:23]OFDSenderStorePacket 32423 [11:29:23]StoreOFDPacket docnum=32423 [11:29:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 AB 01 00 00 13 5E A3 01 59 0B 5A 03 01 00 03 00 97 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 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 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 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 00 00 00 00 00 00 39 04 06 00 A4 51 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 94 53 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A7 7E 00 00 35 04 06 00 CA AD DA 6A BC E4 40 6C ED 73 1F 49 21 B6 [11:29:23]CheckFolder [11:29:23]dirname=/storage/ofd_packets [11:29:23]CheckFolder done [11:29:23]ProducePacketName [11:29:23]name=ofd_packets/00032423 [11:29:23]NVStorageSaveData ofd_packets/00032423 [11:29:23]File name is /storage/ofd_packets/00032423 [11:29:23]Write 457 bytes [11:29:23]NVStorageSaveData done [11:29:23]OFDSenderStorePacket done [11:29:23]KKMCreateOFDPacket done [11:29:23]NVStorageSaveData kkm_last_timestamp [11:29:23]File name is /storage/kkm_last_timestamp [11:29:23]Write 4 bytes [11:29:23]NVStorageSaveData done [11:29:23]ExternCall_PrintAddStr [11:29:23]wPrintStart [11:29:23]Write to MH i2c: 01 00 00 F4 0C 00 [11:29:23]Write i2c OK [11:29:23]MH_I2C_Read... [11:29:23]Read from MH i2c: 01 [11:29:23]MH_I2C_Read... [11:29:23]Read from MH i2c: 01 07 00 [11:29:23]MH_I2C_Read... [11:29:23]Read from MH i2c: 01 07 00 F4 0C 00 00 00 00 00 FF 0F 15 [11:29:23]RasterBufferAndPrint [11:29:23]line Счет N : (3)58578 [11:29:23]line ИНН: 02508201610067 [11:29:23]line Контрольно-Кассовый Чек [11:29:23]line ПРОДАЖА [11:29:23]line Товар: 4800452010610 [11:29:23]line Кофе капучино XL (АКЦИЯ) [11:29:23]line 1.000 * 120.00 [11:29:23]line = 120.00 [11:29:23]line НДС 12% НСП 1% [11:29:23]line > о реализуемом товаре [11:29:23]line Товар: 5000159390729 [11:29:23]line Шок Батончик Твикс Экстра 82г [11:29:23]line 1.000 * 89.00 [11:29:23]line = 89.00 [11:29:23]line НДС 12% НСП 1% [11:29:23]line > о реализуемом товаре [11:29:23]line ИТОГО: 209.00 [11:29:23]line НСП 1% : 1.85 [11:29:23]line НДС 12% : 22.19 [11:29:23]line Наличными: 0.00 [11:29:23]line Безнал.: 209.00 [11:29:23]line Место: АЗС № 99 "Партнер Нефть" [11:29:23]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [11:29:23]line СНО: Общий режим [11:29:23]line Чек 39 06.03.2024 11:29 [11:29:23]line Смена: 284 ФФД: 1.0 [11:29:23]line ЗНМ: 0300000074 [11:29:23]line РНМ: 0000000000092554 [11:29:23]line Версия ККМ: 001 [11:29:23]line Платежная система: Mbank [11:29:23]line ФМ: 0000000000871783 [11:29:23]line ФД: 32423 [11:29:23]line ФПД: 222848042581220 [11:29:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T112924&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32423&fm=222848042581220&tin=02508201610067®Number=0000000000092554&sum=20900 [11:29:23]line 0 [11:29:23]written 0, free lines is 4095 [11:29:23]OFD Sender: Processing packet 32423 [packets to send 5, broken 4] [11:29:23]ProducePacketName [11:29:23]name=ofd_packets/00032423 [11:29:23]OFD Sender: To server: pG, [11:29:23]CommunicateWithHost lk.salyk.kg:30040 [11:29:23]ConnectInit lk.salyk.kg [11:29:23]Connected sock=10 [11:29:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 AB 01 00 00 13 5E A3 01 59 0B 5A 03 01 00 03 00 97 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 38 30 30 34 35 32 30 31 30 36 31 30 06 04 29 00 D0 9A D0 BE D1 84 D0 B5 20 D0 BA D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 20 28 D0 90 D0 9A D0 A6 D0 98 D0 AF 29 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 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 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 00 00 00 00 00 00 39 04 06 00 A4 51 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 94 53 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A7 7E 00 00 35 04 06 00 CA AD DA 6A BC E4 40 6C ED 73 1F 49 21 B6 [11:29:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 3A 31 47 00 BE 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 38 37 31 37 38 33 10 04 04 00 A7 7E 00 00 F4 03 04 00 CD FB E7 65 B6 04 01 00 00 12 73 F8 D3 36 8A 81 D6 [11:29:24]CommunicateWithHost err = 0 [11:29:24]CheckOFDResponse [11:29:24]1017 (14) - 77093643461234 [11:29:24]1041 (16) - 0000000000871783 [11:29:24]1040 (4) - 32423 [11:29:24]1012 (4) - 06.03.2024 05:14 [11:29:24]1206 (1) - 0 [11:29:24]OFD Sender: Remove packet 32423 [11:29:24]ProducePacketName [11:29:24]name=ofd_packets/00032423 [11:29:24]NVStorageDeleteData [11:29:24]Write to MH i2c: 01 00 00 24 0D 31 [11:29:24]Write i2c OK [11:29:24]MH_I2C_Read... [11:29:24]Read from MH i2c: 01 [11:29:24]MH_I2C_Read... [11:29:24]Read from MH i2c: 01 07 00 [11:29:24]MH_I2C_Read... [11:29:24]Read from MH i2c: 01 07 00 24 0D 00 00 00 00 00 71 0C B5 [11:29:24]RasterBufferAndPrint [11:29:24]line [11:29:24]line [11:29:24]line [11:29:24]line [11:29:24]line [11:29:24]written 0, free lines is 3192 [11:29:24]MH_Cut [11:29:24]Write to MH i2c: D1 01 00 2B 0D 01 0A [11:29:24]Write i2c OK [11:29:24]MH_I2C_Read... [11:29:24]Read from MH i2c: D1 [11:29:24]MH_I2C_Read... [11:29:24]Read from MH i2c: D1 01 00 [11:29:24]MH_I2C_Read... [11:29:24]Read from MH i2c: D1 01 00 2B 0D 00 09 [11:29:24]Write to MH i2c: 01 00 00 2C 0D 39 [11:29:24]Write i2c OK [11:29:24]MH_I2C_Read... [11:29:24]OFD Sender: No OFD packet to send [11:29:25]*** Cut start [11:29:25]*** Partial cut [11:29:25]*** CUTSNS_PIN = 1 [11:29:25]*** CUTSNS_PIN = 0 [11:29:25]*** Brake cut motor [11:29:25]Read from MH i2c: 01 [11:29:25]MH_I2C_Read... [11:29:25]*** Stop cut motor [11:29:25]*** Cut end [11:29:25]Read from MH i2c: 01 07 00 [11:29:25]MH_I2C_Read... [11:29:25]Read from MH i2c: 01 07 00 2C 0D 00 00 00 00 00 FF 0F 4E [11:29:25]process_action close_receipt done [11:29:25]requested_data is exist [11:29:25]produce_requested_data [11:29:25]requested_item fm.sn is exist - process it [11:29:25]wFMCommunicate request_size=4 [11:29:25]MH_SAM_APDU [11:29:25]CAPDU: 80 11 00 00 [11:29:25]Write to MH i2c: E2 08 00 2D 0D 80 11 00 00 00 00 00 00 B4 [11:29:25]Write i2c OK [11:29:25]MH_I2C_Read... [11:29:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:29:25]Read from MH i2c: E2 [11:29:25]MH_I2C_Read... [11:29:25]Read from MH i2c: E2 17 00 [11:29:25]MH_I2C_Read... [11:29:25]Read from MH i2c: E2 17 00 2D 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 09 [11:29:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [11:29:25]wFMCommunicate OK [11:29:25]requested_item fd.num is exist - process it [11:29:25]SAM_PROTO_GetFieldsCounters [11:29:25]wFMCommunicate request_size=4 [11:29:25]MH_SAM_APDU [11:29:25]CAPDU: 80 13 00 00 [11:29:25]Write to MH i2c: E2 08 00 2E 0D 80 13 00 00 00 00 00 00 B7 [11:29:25]Write i2c OK [11:29:25]MH_I2C_Read... [11:29:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:29:25]Read from MH i2c: E2 [11:29:25]MH_I2C_Read... [11:29:25]Read from MH i2c: E2 62 00 [11:29:25]MH_I2C_Read... [11:29:26]Read from MH i2c: E2 62 00 2E 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 A7 7E 00 00 0E 04 04 00 1C 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 91 [11:29:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 A7 7E 00 00 0E 04 04 00 1C 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 [11:29:26]wFMCommunicate OK [11:29:26]SAM_PROTO_GetFieldsCounters done [11:29:26]requested_item shift.num is exist - process it [11:29:26]requested_item shift.opened is exist - process it [11:29:26]req_shift_opened [11:29:26]FM_GetShiftState [11:29:26]SAM_PROTO_GetShiftState [11:29:26]wFMCommunicate request_size=4 [11:29:26]MH_SAM_APDU [11:29:26]CAPDU: 80 13 01 00 [11:29:26]Write to MH i2c: E2 08 00 2F 0D 80 13 01 00 00 00 00 00 B9 [11:29:26]Write i2c OK [11:29:26]MH_I2C_Read... [11:29:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:29:26]Read from MH i2c: E2 [11:29:26]MH_I2C_Read... [11:29:26]Read from MH i2c: E2 0E 00 [11:29:26]MH_I2C_Read... [11:29:26]Read from MH i2c: E2 0E 00 2F 0D 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 36 [11:29:26]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [11:29:26]wFMCommunicate OK [11:29:26]SAM_PROTO_GetShiftState done [11:29:26]FM_GetShiftState done [11:29:26]req_shift_opened done [11:29:26]requested_item shift.open_date is exist - process it [11:29:26]req_shift_open_date [11:29:26]req_shift_open_date done [11:29:26]produce_requested_data done [11:29:26]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32423,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [11:29:26]process_action_free close_receipt [11:29:26]json_value_free [11:29:26]json_value_free done [11:29:26]process_json_proto returns [11:29:26]Send response to host [11:29:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32423,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [11:29:26]free response buf [11:29:26]execute_script done [11:29:26]execute_script returns [11:29:26]free content buf [11:29:26]Sock 9.Close socket [11:29:26]Sock 9.Thread stoped [11:29:29]OFD Sender: No OFD packet to send [11:29:34]OFD Sender: No OFD packet to send [11:29:39]OFD Sender: No OFD packet to send [11:29:44]OFD Sender: No OFD packet to send [11:29:49]OFD Sender: No OFD packet to send [11:29:54]OFD Sender: No OFD packet to send [11:29:59]OFD Sender: No OFD packet to send [11:30:04]OFD Sender: No OFD packet to send [11:30:09]OFD Sender: No OFD packet to send [11:30:14]OFD Sender: No OFD packet to send [11:30:19]OFD Sender: No OFD packet to send [11:30:24]OFD Sender: No OFD packet to send [11:30:29]OFD Sender: No OFD packet to send [11:30:34]OFD Sender: No OFD packet to send [11:30:39]OFD Sender: No OFD packet to send [11:30:44]OFD Sender: No OFD packet to send [11:30:49]OFD Sender: No OFD packet to send [11:30:54]OFD Sender: No OFD packet to send [11:30:59]OFD Sender: No OFD packet to send [11:31:04]OFD Sender: No OFD packet to send [11:31:09]OFD Sender: No OFD packet to send [11:31:14]OFD Sender: No OFD packet to send [11:31:19]OFD Sender: No OFD packet to send [11:31:24]OFD Sender: No OFD packet to send [11:31:29]OFD Sender: No OFD packet to send [11:31:34]OFD Sender: No OFD packet to send [11:31:39]OFD Sender: No OFD packet to send [11:31:44]OFD Sender: No OFD packet to send [11:31:49]OFD Sender: No OFD packet to send [11:31:54]OFD Sender: No OFD packet to send [11:31:59]OFD Sender: No OFD packet to send [11:32:04]OFD Sender: No OFD packet to send [11:32:09]OFD Sender: No OFD packet to send [11:32:14]OFD Sender: No OFD packet to send [11:32:19]OFD Sender: No OFD packet to send [11:32:24]OFD Sender: No OFD packet to send [11:32:29]OFD Sender: No OFD packet to send [11:32:34]OFD Sender: No OFD packet to send [11:32:39]OFD Sender: No OFD packet to send [11:32:44]OFD Sender: No OFD packet to send [11:32:49]OFD Sender: No OFD packet to send [11:32:54]OFD Sender: No OFD packet to send [11:32:59]OFD Sender: No OFD packet to send [11:33:04]OFD Sender: No OFD packet to send [11:33:09]OFD Sender: No OFD packet to send [11:33:14]OFD Sender: No OFD packet to send [11:33:19]OFD Sender: No OFD packet to send [11:33:24]OFD Sender: No OFD packet to send [11:33:29]OFD Sender: No OFD packet to send [11:33:34]OFD Sender: No OFD packet to send [11:33:39]OFD Sender: No OFD packet to send [11:33:44]OFD Sender: No OFD packet to send [11:33:49]OFD Sender: No OFD packet to send [11:33:54]OFD Sender: No OFD packet to send [11:33:59]OFD Sender: No OFD packet to send [11:34:04]OFD Sender: No OFD packet to send [11:34:09]OFD Sender: No OFD packet to send [11:34:14]OFD Sender: No OFD packet to send [11:34:19]OFD Sender: No OFD packet to send [11:34:24]OFD Sender: No OFD packet to send [11:34:29]OFD Sender: No OFD packet to send [11:34:34]OFD Sender: No OFD packet to send [11:34:39]OFD Sender: No OFD packet to send [11:34:44]OFD Sender: No OFD packet to send [11:34:49]OFD Sender: No OFD packet to send [11:34:54]OFD Sender: No OFD packet to send [11:34:59]OFD Sender: No OFD packet to send [11:35:04]OFD Sender: No OFD packet to send [11:35:09]OFD Sender: No OFD packet to send [11:35:14]OFD Sender: No OFD packet to send [11:35:19]OFD Sender: No OFD packet to send [11:35:24]OFD Sender: No OFD packet to send [11:35:29]OFD Sender: No OFD packet to send [11:35:34]OFD Sender: No OFD packet to send [11:35:39]OFD Sender: No OFD packet to send [11:35:44]OFD Sender: No OFD packet to send [11:35:49]OFD Sender: No OFD packet to send [11:35:54]OFD Sender: No OFD packet to send [11:35:59]OFD Sender: No OFD packet to send [11:36:04]OFD Sender: No OFD packet to send [11:36:09]OFD Sender: No OFD packet to send [11:36:14]OFD Sender: No OFD packet to send [11:36:19]OFD Sender: No OFD packet to send [11:36:24]OFD Sender: No OFD packet to send [11:36:29]OFD Sender: No OFD packet to send [11:36:34]OFD Sender: No OFD packet to send [11:36:39]OFD Sender: No OFD packet to send [11:36:44]OFD Sender: No OFD packet to send [11:36:49]OFD Sender: No OFD packet to send [11:36:54]OFD Sender: No OFD packet to send [11:36:59]OFD Sender: No OFD packet to send [11:37:04]OFD Sender: No OFD packet to send [11:37:09]OFD Sender: No OFD packet to send [11:37:14]OFD Sender: No OFD packet to send [11:37:19]OFD Sender: No OFD packet to send [11:37:24]OFD Sender: No OFD packet to send [11:37:30]OFD Sender: No OFD packet to send [11:37:35]OFD Sender: No OFD packet to send [11:37:40]OFD Sender: No OFD packet to send [11:37:45]OFD Sender: No OFD packet to send [11:37:50]OFD Sender: No OFD packet to send [11:37:55]OFD Sender: No OFD packet to send [11:38:00]OFD Sender: No OFD packet to send [11:38:05]OFD Sender: No OFD packet to send [11:38:10]OFD Sender: No OFD packet to send [11:38:15]OFD Sender: No OFD packet to send [11:38:20]OFD Sender: No OFD packet to send [11:38:25]OFD Sender: No OFD packet to send [11:38:30]OFD Sender: No OFD packet to send [11:38:35]OFD Sender: No OFD packet to send [11:38:40]OFD Sender: No OFD packet to send [11:38:45]OFD Sender: No OFD packet to send [11:38:50]OFD Sender: No OFD packet to send [11:38:55]OFD Sender: No OFD packet to send [11:39:00]OFD Sender: No OFD packet to send [11:39:05]OFD Sender: No OFD packet to send [11:39:10]OFD Sender: No OFD packet to send [11:39:15]OFD Sender: No OFD packet to send [11:39:20]OFD Sender: No OFD packet to send [11:39:25]OFD Sender: No OFD packet to send [11:39:30]OFD Sender: No OFD packet to send [11:39:35]OFD Sender: No OFD packet to send [11:39:40]OFD Sender: No OFD packet to send [11:39:45]OFD Sender: No OFD packet to send [11:39:50]OFD Sender: No OFD packet to send [11:39:55]OFD Sender: No OFD packet to send [11:40:00]OFD Sender: No OFD packet to send [11:40:05]OFD Sender: No OFD packet to send [11:40:10]OFD Sender: No OFD packet to send [11:40:15]OFD Sender: No OFD packet to send [11:40:20]OFD Sender: No OFD packet to send [11:40:25]OFD Sender: No OFD packet to send [11:40:30]OFD Sender: No OFD packet to send [11:40:35]OFD Sender: No OFD packet to send [11:40:40]OFD Sender: No OFD packet to send [11:40:45]OFD Sender: No OFD packet to send [11:40:50]OFD Sender: No OFD packet to send [11:40:55]OFD Sender: No OFD packet to send [11:41:00]OFD Sender: No OFD packet to send [11:41:05]OFD Sender: No OFD packet to send [11:41:10]OFD Sender: No OFD packet to send [11:41:15]OFD Sender: No OFD packet to send [11:41:20]OFD Sender: No OFD packet to send [11:41:25]OFD Sender: No OFD packet to send [11:41:30]OFD Sender: No OFD packet to send [11:41:35]OFD Sender: No OFD packet to send [11:41:40]OFD Sender: No OFD packet to send [11:41:45]OFD Sender: No OFD packet to send [11:41:50]OFD Sender: No OFD packet to send [11:41:55]OFD Sender: No OFD packet to send [11:42:00]OFD Sender: No OFD packet to send [11:42:05]OFD Sender: No OFD packet to send [11:42:10]OFD Sender: No OFD packet to send [11:42:15]OFD Sender: No OFD packet to send [11:42:20]OFD Sender: No OFD packet to send [11:42:25]OFD Sender: No OFD packet to send [11:42:30]OFD Sender: No OFD packet to send [11:42:35]OFD Sender: No OFD packet to send [11:42:40]OFD Sender: No OFD packet to send [11:42:45]OFD Sender: No OFD packet to send [11:42:50]OFD Sender: No OFD packet to send [11:42:55]OFD Sender: No OFD packet to send [11:43:00]OFD Sender: No OFD packet to send [11:43:05]OFD Sender: No OFD packet to send [11:43:10]OFD Sender: No OFD packet to send [11:43:15]OFD Sender: No OFD packet to send [11:43:20]OFD Sender: No OFD packet to send [11:43:25]OFD Sender: No OFD packet to send [11:43:30]OFD Sender: No OFD packet to send [11:43:35]OFD Sender: No OFD packet to send [11:43:40]OFD Sender: No OFD packet to send [11:43:45]OFD Sender: No OFD packet to send [11:43:50]OFD Sender: No OFD packet to send [11:43:55]OFD Sender: No OFD packet to send [11:44:00]OFD Sender: No OFD packet to send [11:44:05]OFD Sender: No OFD packet to send [11:44:10]OFD Sender: No OFD packet to send [11:44:15]OFD Sender: No OFD packet to send [11:44:20]OFD Sender: No OFD packet to send [11:44:25]OFD Sender: No OFD packet to send [11:44:30]OFD Sender: No OFD packet to send [11:44:35]OFD Sender: No OFD packet to send [11:44:40]OFD Sender: No OFD packet to send [11:44:45]OFD Sender: No OFD packet to send [11:44:50]OFD Sender: No OFD packet to send [11:44:55]OFD Sender: No OFD packet to send [11:45:00]OFD Sender: No OFD packet to send [11:45:05]OFD Sender: No OFD packet to send [11:45:10]OFD Sender: No OFD packet to send [11:45:15]OFD Sender: No OFD packet to send [11:45:20]OFD Sender: No OFD packet to send [11:45:25]OFD Sender: No OFD packet to send [11:45:30]OFD Sender: No OFD packet to send [11:45:35]OFD Sender: No OFD packet to send [11:45:40]OFD Sender: No OFD packet to send [11:45:45]OFD Sender: No OFD packet to send [11:45:50]OFD Sender: No OFD packet to send [11:45:55]OFD Sender: No OFD packet to send [11:46:00]OFD Sender: No OFD packet to send [11:46:05]OFD Sender: No OFD packet to send [11:46:10]OFD Sender: No OFD packet to send [11:46:15]OFD Sender: No OFD packet to send [11:46:20]OFD Sender: No OFD packet to send [11:46:25]OFD Sender: No OFD packet to send [11:46:30]OFD Sender: No OFD packet to send [11:46:35]OFD Sender: No OFD packet to send [11:46:40]OFD Sender: No OFD packet to send [11:46:45]OFD Sender: No OFD packet to send [11:46:50]OFD Sender: No OFD packet to send [11:46:55]OFD Sender: No OFD packet to send [11:47:00]OFD Sender: No OFD packet to send [11:47:05]OFD Sender: No OFD packet to send [11:47:10]OFD Sender: No OFD packet to send [11:47:15]OFD Sender: No OFD packet to send [11:47:20]OFD Sender: No OFD packet to send [11:47:25]OFD Sender: No OFD packet to send [11:47:30]OFD Sender: No OFD packet to send [11:47:35]OFD Sender: No OFD packet to send [11:47:40]OFD Sender: No OFD packet to send [11:47:45]OFD Sender: No OFD packet to send [11:47:50]OFD Sender: No OFD packet to send [11:47:55]OFD Sender: No OFD packet to send [11:48:00]OFD Sender: No OFD packet to send [11:48:05]OFD Sender: No OFD packet to send [11:48:10]OFD Sender: No OFD packet to send [11:48:15]OFD Sender: No OFD packet to send [11:48:20]OFD Sender: No OFD packet to send [11:48:25]OFD Sender: No OFD packet to send [11:48:30]OFD Sender: No OFD packet to send [11:48:35]OFD Sender: No OFD packet to send [11:48:40]OFD Sender: No OFD packet to send [11:48:45]OFD Sender: No OFD packet to send [11:48:50]OFD Sender: No OFD packet to send [11:48:55]OFD Sender: No OFD packet to send [11:49:00]OFD Sender: No OFD packet to send [11:49:05]OFD Sender: No OFD packet to send [11:49:10]OFD Sender: No OFD packet to send [11:49:15]OFD Sender: No OFD packet to send [11:49:20]OFD Sender: No OFD packet to send [11:49:25]OFD Sender: No OFD packet to send [11:49:30]OFD Sender: No OFD packet to send [11:49:35]OFD Sender: No OFD packet to send [11:49:40]OFD Sender: No OFD packet to send [11:49:45]OFD Sender: No OFD packet to send [11:49:50]OFD Sender: No OFD packet to send [11:49:55]OFD Sender: No OFD packet to send [11:50:00]OFD Sender: No OFD packet to send [11:50:05]OFD Sender: No OFD packet to send [11:50:10]OFD Sender: No OFD packet to send [11:50:15]OFD Sender: No OFD packet to send [11:50:20]OFD Sender: No OFD packet to send [11:50:25]OFD Sender: No OFD packet to send [11:50:30]OFD Sender: No OFD packet to send [11:50:35]OFD Sender: No OFD packet to send [11:50:40]OFD Sender: No OFD packet to send [11:50:45]OFD Sender: No OFD packet to send [11:50:50]OFD Sender: No OFD packet to send [11:50:55]OFD Sender: No OFD packet to send [11:51:00]OFD Sender: No OFD packet to send [11:51:05]OFD Sender: No OFD packet to send [11:51:10]OFD Sender: No OFD packet to send [11:51:15]OFD Sender: No OFD packet to send [11:51:20]OFD Sender: No OFD packet to send [11:51:25]OFD Sender: No OFD packet to send [11:51:30]OFD Sender: No OFD packet to send [11:51:35]OFD Sender: No OFD packet to send [11:51:40]OFD Sender: No OFD packet to send [11:51:45]OFD Sender: No OFD packet to send [11:51:50]OFD Sender: No OFD packet to send [11:51:55]OFD Sender: No OFD packet to send [11:52:00]OFD Sender: No OFD packet to send [11:52:05]OFD Sender: No OFD packet to send [11:52:10]OFD Sender: No OFD packet to send [11:52:15]OFD Sender: No OFD packet to send [11:52:20]OFD Sender: No OFD packet to send [11:52:25]OFD Sender: No OFD packet to send [11:52:30]OFD Sender: No OFD packet to send [11:52:35]OFD Sender: No OFD packet to send [11:52:40]OFD Sender: No OFD packet to send [11:52:45]OFD Sender: No OFD packet to send [11:52:50]OFD Sender: No OFD packet to send [11:52:55]OFD Sender: No OFD packet to send [11:53:00]OFD Sender: No OFD packet to send [11:53:05]OFD Sender: No OFD packet to send [11:53:10]OFD Sender: No OFD packet to send [11:53:15]OFD Sender: No OFD packet to send [11:53:20]OFD Sender: No OFD packet to send [11:53:25]OFD Sender: No OFD packet to send [11:53:30]OFD Sender: No OFD packet to send [11:53:35]OFD Sender: No OFD packet to send [11:53:40]OFD Sender: No OFD packet to send [11:53:45]OFD Sender: No OFD packet to send [11:53:50]OFD Sender: No OFD packet to send [11:53:55]OFD Sender: No OFD packet to send [11:54:00]OFD Sender: No OFD packet to send [11:54:05]OFD Sender: No OFD packet to send [11:54:10]OFD Sender: No OFD packet to send [11:54:15]OFD Sender: No OFD packet to send [11:54:20]OFD Sender: No OFD packet to send [11:54:25]OFD Sender: No OFD packet to send [11:54:30]OFD Sender: No OFD packet to send [11:54:35]OFD Sender: No OFD packet to send [11:54:40]OFD Sender: No OFD packet to send [11:54:45]OFD Sender: No OFD packet to send [11:54:50]OFD Sender: No OFD packet to send [11:54:55]OFD Sender: No OFD packet to send [11:55:00]OFD Sender: No OFD packet to send [11:55:05]OFD Sender: No OFD packet to send [11:55:10]OFD Sender: No OFD packet to send [11:55:15]OFD Sender: No OFD packet to send [11:55:20]OFD Sender: No OFD packet to send [11:55:25]OFD Sender: No OFD packet to send [11:55:30]OFD Sender: No OFD packet to send [11:55:35]OFD Sender: No OFD packet to send [11:55:40]OFD Sender: No OFD packet to send [11:55:45]OFD Sender: No OFD packet to send [11:55:50]OFD Sender: No OFD packet to send [11:55:55]OFD Sender: No OFD packet to send [11:56:00]OFD Sender: No OFD packet to send [11:56:05]OFD Sender: No OFD packet to send [11:56:10]OFD Sender: No OFD packet to send [11:56:15]OFD Sender: No OFD packet to send [11:56:20]OFD Sender: No OFD packet to send [11:56:25]OFD Sender: No OFD packet to send [11:56:30]OFD Sender: No OFD packet to send [11:56:35]OFD Sender: No OFD packet to send [11:56:40]OFD Sender: No OFD packet to send [11:56:45]OFD Sender: No OFD packet to send [11:56:50]OFD Sender: No OFD packet to send [11:56:55]OFD Sender: No OFD packet to send [11:57:00]OFD Sender: No OFD packet to send [11:57:05]OFD Sender: No OFD packet to send [11:57:10]OFD Sender: No OFD packet to send [11:57:15]OFD Sender: No OFD packet to send [11:57:20]OFD Sender: No OFD packet to send [11:57:25]OFD Sender: No OFD packet to send [11:57: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:01]OFD Sender: No OFD packet to send [11:59:06]OFD Sender: No OFD packet to send [11:59:11]OFD Sender: No OFD packet to send [11:59:16]OFD Sender: No OFD packet to send [11:59:21]OFD Sender: No OFD packet to send [11:59:26]OFD Sender: No OFD packet to send [11:59:31]OFD Sender: No OFD packet to send [11:59:36]OFD Sender: No OFD packet to send [11:59:41]OFD Sender: No OFD packet to send [11:59:46]OFD Sender: No OFD packet to send [11:59:51]OFD Sender: No OFD packet to send [11:59:56]OFD Sender: No OFD packet to send [12:00:01]OFD Sender: No OFD packet to send [12:00:06]OFD Sender: No OFD packet to send [12:00:11]OFD Sender: No OFD packet to send [12:00:16]OFD Sender: No OFD packet to send [12:00:21]OFD Sender: No OFD packet to send [12:00:26]OFD Sender: No OFD packet to send [12:00:31]OFD Sender: No OFD packet to send [12:00:36]OFD Sender: No OFD packet to send [12:00:41]OFD Sender: No OFD packet to send [12:00:46]OFD Sender: No OFD packet to send [12:00:51]OFD Sender: No OFD packet to send [12:00:56]OFD Sender: No OFD packet to send [12:01:01]OFD Sender: No OFD packet to send [12:01:06]OFD Sender: No OFD packet to send [12:01:11]OFD Sender: No OFD packet to send [12:01:16]OFD Sender: No OFD packet to send [12:01:21]OFD Sender: No OFD packet to send [12:01:26]OFD Sender: No OFD packet to send [12:01:31]OFD Sender: No OFD packet to send [12:01:36]OFD Sender: No OFD packet to send [12:01:41]OFD Sender: No OFD packet to send [12:01:46]OFD Sender: No OFD packet to send [12:01:46]accept exits with 8 [12:01:46]New connection [12:01:46]New thread 3067075940 created [12:01:46]Thread 3066932580 joined [12:01:46]Waiting for new connection... [12:01:46] Sock 8.Parse request [12:01:46]Sock 8.Check first char [12:01:46]Sock 8.First char is OK [12:01:46]request: POST /json_proto HTTP/1.0 [12:01:46]Method: POST [12:01:46]URL: /json_proto [12:01:46]Method is POST - this is cgi request [12:01:46]url: /json_proto [12:01:46]query_string will be loaded in cgi processing [12:01:46]execute_cgi json_proto POST (null) [12:01:46]execute_cgi path=json_proto method=POST [12:01:46]POST find Content-Length [12:01:46]Host: 172.17.61.6:8080 [12:01:46]Content-Length: 623 [12:01:46]Content-Type: application/json [12:01:46] [12:01:46]POST finish read [12:01:46]Found Content-Length = 623 [12:01:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58579", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver 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" ] } } [12:01:46]execute_script... [12:01: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)58579", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver 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" ] } } [12:01:46]POST & json_proto [12:01:46]process_json_proto [12:01:46]json parsed OK: [12:01:46]protocol is kg_v1.0 [12:01:46]action value=close_receipt [12:01:46]process_action close_receipt [12:01:46]cmd_close_receipt [12:01:46]MH_GetDate [12:01:46]Write to MH i2c: F0 00 00 30 0D 2C [12:01:46]Write i2c OK [12:01:46]MH_I2C_Read... [12:01:46]Read from MH i2c: F0 [12:01:46]MH_I2C_Read... [12:01:46]Read from MH i2c: F0 09 00 [12:01:46]MH_I2C_Read... [12:01:46]Read from MH i2c: F0 09 00 30 0D 00 2D 5B E8 65 78 7F 6F 64 D4 [12:01:46]GetLastDocTimeStamp 1709724564 [12:01:46]current date 1709726509 [12:01:46]FM_GetShiftState [12:01:46]SAM_PROTO_GetShiftState [12:01:46]wFMCommunicate request_size=4 [12:01:46]MH_SAM_APDU [12:01:46]CAPDU: 80 13 01 00 [12:01:46]Write to MH i2c: E2 08 00 31 0D 80 13 01 00 00 00 00 00 BB [12:01:46]Write i2c OK [12:01:46]MH_I2C_Read... [12:01:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:01:46]Read from MH i2c: E2 [12:01:46]MH_I2C_Read... [12:01:46]Read from MH i2c: E2 0E 00 [12:01:46]MH_I2C_Read... [12:01:46]Read from MH i2c: E2 0E 00 31 0D 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 38 [12:01:46]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [12:01:46]wFMCommunicate OK [12:01:46]SAM_PROTO_GetShiftState done [12:01:46]FM_GetShiftState done [12:01:46]opened in 1709684590 [12:01:46]opened+sec_in_day 1709770990 [12:01:46]quantity*price = 14400 [12:01:46]sum+1 = 14401 [12:01:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 40 06.03.2024 12:01 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32424 ФПД: 147952383782856 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T120149&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32424&fm=147952383782856&tin=02508201610067®Number=0000000000092554&sum=14400 0 [12:01:47]StoreToDocumentArchive [12:01:47]shift 284 fd 32424 [12:01:47]save to /storage/0284/doc_00032424 [12:01:47]save last doc name /storage/0284/doc_00032424 to /storage/kkm_last_doc_name [12:01:47]save OK [12:01:47]Clear old archive folders... [12:01:47]ProcessDocumentItem done err = 0, tmpTLVsize=276 [12:01:47]tlvbuf is 01659330 [12:01:47]SAM_PROTO_ClearQueue [12:01:47]wFMCommunicate request_size=4 [12:01:47]MH_SAM_APDU [12:01:47]CAPDU: 80 09 00 00 [12:01:47]Write to MH i2c: E2 08 00 3E 0D 80 09 00 00 00 00 00 00 BD [12:01:47]Write i2c OK [12:01:47]MH_I2C_Read... [12:01:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:01:47]Read from MH i2c: E2 [12:01:47]MH_I2C_Read... [12:01:47]Read from MH i2c: E2 03 00 [12:01:47]MH_I2C_Read... [12:01:47]Read from MH i2c: E2 03 00 3E 0D 00 90 00 BF [12:01:47]RAPDU: 90 00 [12:01:47]wFMCommunicate OK [12:01:47]SAM_PROTO_ClearQueue done [12:01:47]KKMCreateOFDPacket [12:01:47]OFDProtocolAddRootSTLVToBuf [12:01:47]FM_MakeSignedData [12:01:47]FM_MakeSignedData [12:01:47]SAM_PROTO_SignData [12:01:47]wFMCommunicate request_size=4 [12:01:47]MH_SAM_APDU [12:01:47]CAPDU: 80 0D 01 02 [12:01:47]Write to MH i2c: E2 08 00 3F 0D 80 0D 01 02 00 00 00 00 C5 [12:01:47]Write i2c OK [12:01:47]MH_I2C_Read... [12:01:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:01:47]Read from MH i2c: E2 [12:01:47]MH_I2C_Read... [12:01:47]Read from MH i2c: E2 03 00 [12:01:47]MH_I2C_Read... [12:01:47]Read from MH i2c: E2 03 00 3F 0D 00 90 00 C0 [12:01:47]RAPDU: 90 00 [12:01:47]wFMCommunicate OK [12:01:47]wFMCommunicate request_size=255 [12:01:47]MH_SAM_APDU [12:01:47]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2D 5B E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 [12:01:47]Write to MH i2c: E2 02 01 40 0D 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2D 5B E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 00 00 E7 [12:01:47]Write i2c OK [12:01:47]MH_I2C_Read... [12:01:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:01:47]Read from MH i2c: E2 [12:01:47]MH_I2C_Read... [12:01:47]Read from MH i2c: E2 03 00 [12:01:47]MH_I2C_Read... [12:01:47]Read from MH i2c: E2 03 00 40 0D 00 90 00 C1 [12:01:47]RAPDU: 90 00 [12:01:47]wFMCommunicate OK [12:01:47]wFMCommunicate request_size=35 [12:01:47]MH_SAM_APDU [12:01:47]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A8 7E 00 00 35 04 06 00 86 8F D9 47 6F C8 [12:01:47]Write to MH i2c: E2 26 00 41 0D 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A8 7E 00 00 35 04 06 00 86 8F D9 47 6F C8 00 00 4F [12:01:47]Write i2c OK [12:01:47]MH_I2C_Read... [12:01:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:01:47]Read from MH i2c: E2 [12:01:47]MH_I2C_Read... [12:01:47]Read from MH i2c: E2 03 00 [12:01:47]MH_I2C_Read... [12:01:47]Read from MH i2c: E2 03 00 41 0D 00 90 00 C2 [12:01:47]RAPDU: 90 00 [12:01:47]wFMCommunicate OK [12:01:47]wFMCommunicate request_size=4 [12:01:47]MH_SAM_APDU [12:01:47]CAPDU: 80 0D 03 02 [12:01:47]Write to MH i2c: E2 08 00 42 0D 80 0D 03 02 00 00 00 00 CA [12:01:47]Write i2c OK [12:01:47]MH_I2C_Read... [12:01:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:01:47]Read from MH i2c: E2 [12:01:47]MH_I2C_Read... [12:01:47]Read from MH i2c: E2 0B 00 [12:01:47]MH_I2C_Read... [12:01:47]Read from MH i2c: E2 0B 00 42 0D 00 6C 85 57 C2 A3 BB 56 1F 90 00 A8 [12:01:47]RAPDU: 6C 85 57 C2 A3 BB 56 1F 90 00 [12:01:47]wFMCommunicate OK [12:01:47]SAM_PROTO_SignData done [12:01:47]FM_MakeSignedData done [12:01:47]CreateOFDProtocolMessage [12:01:47]wFMCommunicate request_size=4 [12:01:47]MH_SAM_APDU [12:01:47]CAPDU: 80 11 00 00 [12:01:47]Write to MH i2c: E2 08 00 43 0D 80 11 00 00 00 00 00 00 CA [12:01:47]Write i2c OK [12:01:47]MH_I2C_Read... [12:01:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:01:47]Read from MH i2c: E2 [12:01:47]MH_I2C_Read... [12:01:47]Read from MH i2c: E2 17 00 [12:01:47]MH_I2C_Read... [12:01:47]Read from MH i2c: E2 17 00 43 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 1F [12:01:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [12:01:47]wFMCommunicate OK [12:01:47]CreateOFDProtocolMessage done [12:01:47]OFDSenderStorePacket 32424 [12:01:47]StoreOFDPacket docnum=32424 [12:01:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 28 01 00 00 79 C6 20 01 F3 50 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2D 5B E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A8 7E 00 00 35 04 06 00 86 8F D9 47 6F C8 6C 85 57 C2 A3 BB 56 1F [12:01:47]CheckFolder [12:01:47]dirname=/storage/ofd_packets [12:01:47]CheckFolder done [12:01:47]ProducePacketName [12:01:47]name=ofd_packets/00032424 [12:01:47]NVStorageSaveData ofd_packets/00032424 [12:01:47]File name is /storage/ofd_packets/00032424 [12:01:47]Write 326 bytes [12:01:47]NVStorageSaveData done [12:01:47]OFDSenderStorePacket done [12:01:47]KKMCreateOFDPacket done [12:01:47]NVStorageSaveData kkm_last_timestamp [12:01:47]File name is /storage/kkm_last_timestamp [12:01:47]Write 4 bytes [12:01:47]NVStorageSaveData done [12:01:47]ExternCall_PrintAddStr [12:01:47]wPrintStart [12:01:47]Write to MH i2c: 01 00 00 44 0D 51 [12:01:47]Write i2c OK [12:01:47]MH_I2C_Read... [12:01:47]Read from MH i2c: 01 [12:01:47]MH_I2C_Read... [12:01:47]Read from MH i2c: 01 07 00 [12:01:47]MH_I2C_Read... [12:01:47]Read from MH i2c: 01 07 00 44 0D 00 00 00 00 00 FF 0F 66 [12:01:47]RasterBufferAndPrint [12:01:47]line Счет N : (3)58579 [12:01:47]line ИНН: 02508201610067 [12:01:47]line Контрольно-Кассовый Чек [12:01:47]line ПРОДАЖА [12:01:47]line Товар: 48742245 [12:01:47]line Сигареты Parliament Silver Blue [12:01:47]line 1.000 * 144.00 [12:01:47]line = 144.00 [12:01:47]line НДС 12% НСП 1% [12:01:47]line > о реализуемом товаре [12:01:47]line ИТОГО: 144.00 [12:01:47]line НСП 1% : 1.27 [12:01:47]line НДС 12% : 15.29 [12:01:47]line Наличными: 144.00 [12:01:47]line Безнал.: 0.00 [12:01:47]line Место: АЗС № 99 "Партнер Нефть" [12:01:47]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [12:01:47]line СНО: Общий режим [12:01:47]line Чек 40 06.03.2024 12:01 [12:01:47]line Смена: 284 ФФД: 1.0 [12:01:47]line ЗНМ: 0300000074 [12:01:47]line РНМ: 0000000000092554 [12:01:47]line Версия ККМ: 001 [12:01:47]line ФМ: 0000000000871783 [12:01:47]line ФД: 32424 [12:01:47]line ФПД: 147952383782856 [12:01:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T120149&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32424&fm=147952383782856&tin=02508201610067®Number=0000000000092554&sum=14400 [12:01:48]line 0 [12:01:48]OFD Sender: Processing packet 32424 [packets to send 5, broken 4] [12:01:48]ProducePacketName [12:01:48]name=ofd_packets/00032424 [12:01:48]OFD Sender: To server: pG, [12:01:48]CommunicateWithHost lk.salyk.kg:30040 [12:01:48]ConnectInit lk.salyk.kg [12:01:48]written 0, free lines is 4095 [12:01:48]Connected sock=10 [12:01:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 28 01 00 00 79 C6 20 01 F3 50 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2D 5B E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A8 7E 00 00 35 04 06 00 86 8F D9 47 6F C8 6C 85 57 C2 A3 BB 56 1F [12:01:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 70 0C 47 00 74 30 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A8 7E 00 00 F4 03 04 00 65 03 E8 65 B6 04 01 00 00 5E 92 AE 37 22 90 1D D1 [12:01:48]CommunicateWithHost err = 0 [12:01:48]CheckOFDResponse [12:01:48]1017 (14) - 77093643461234 [12:01:48]1041 (16) - 0000000000871783 [12:01:48]1040 (4) - 32424 [12:01:48]1012 (4) - 06.03.2024 05:47 [12:01:48]1206 (1) - 0 [12:01:48]OFD Sender: Remove packet 32424 [12:01:48]ProducePacketName [12:01:48]name=ofd_packets/00032424 [12:01:48]NVStorageDeleteData [12:01:48]Write to MH i2c: 01 00 00 6D 0D 7A [12:01:48]Write i2c OK [12:01:48]MH_I2C_Read... [12:01:48]Read from MH i2c: 01 [12:01:48]MH_I2C_Read... [12:01:48]Read from MH i2c: 01 07 00 [12:01:48]MH_I2C_Read... [12:01:48]Read from MH i2c: 01 07 00 6D 0D 00 00 00 00 00 BA 0C 47 [12:01:48]RasterBufferAndPrint [12:01:48]line [12:01:48]line [12:01:48]line [12:01:48]line [12:01:48]line [12:01:48]written 0, free lines is 3264 [12:01:48]MH_Cut [12:01:48]Write to MH i2c: D1 01 00 74 0D 01 53 [12:01:48]Write i2c OK [12:01:48]MH_I2C_Read... [12:01:48]Read from MH i2c: D1 [12:01:48]MH_I2C_Read... [12:01:48]Read from MH i2c: D1 01 00 [12:01:48]MH_I2C_Read... [12:01:48]Read from MH i2c: D1 01 00 74 0D 00 52 [12:01:48]Write to MH i2c: 01 00 00 75 0D 82 [12:01:48]Write i2c OK [12:01:48]MH_I2C_Read... [12:01:48]OFD Sender: No OFD packet to send [12:01:49]*** Cut start [12:01:49]*** Partial cut [12:01:49]*** CUTSNS_PIN = 1 [12:01:49]*** CUTSNS_PIN = 0 [12:01:49]*** Brake cut motor [12:01:50]Read from MH i2c: 01 [12:01:50]MH_I2C_Read... [12:01:50]*** Stop cut motor [12:01:50]*** Cut end [12:01:50]Read from MH i2c: 01 07 00 [12:01:50]MH_I2C_Read... [12:01:50]Read from MH i2c: 01 07 00 75 0D 00 00 00 00 00 FF 0F 97 [12:01:50]process_action close_receipt done [12:01:50]requested_data is exist [12:01:50]produce_requested_data [12:01:50]requested_item fm.sn is exist - process it [12:01:50]wFMCommunicate request_size=4 [12:01:50]MH_SAM_APDU [12:01:50]CAPDU: 80 11 00 00 [12:01:50]Write to MH i2c: E2 08 00 76 0D 80 11 00 00 00 00 00 00 FD [12:01:50]Write i2c OK [12:01:50]MH_I2C_Read... [12:01:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:01:50]Read from MH i2c: E2 [12:01:50]MH_I2C_Read... [12:01:50]Read from MH i2c: E2 17 00 [12:01:50]MH_I2C_Read... [12:01:50]Read from MH i2c: E2 17 00 76 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 52 [12:01:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [12:01:50]wFMCommunicate OK [12:01:50]requested_item fd.num is exist - process it [12:01:50]SAM_PROTO_GetFieldsCounters [12:01:50]wFMCommunicate request_size=4 [12:01:50]MH_SAM_APDU [12:01:50]CAPDU: 80 13 00 00 [12:01:50]Write to MH i2c: E2 08 00 77 0D 80 13 00 00 00 00 00 00 00 [12:01:50]Write i2c OK [12:01:50]MH_I2C_Read... [12:01:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:01:50]Read from MH i2c: E2 [12:01:50]MH_I2C_Read... [12:01:50]Read from MH i2c: E2 62 00 [12:01:50]MH_I2C_Read... [12:01:50]Read from MH i2c: E2 62 00 77 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 A8 7E 00 00 0E 04 04 00 1C 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 DE [12:01:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 A8 7E 00 00 0E 04 04 00 1C 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 [12:01:50]wFMCommunicate OK [12:01:50]SAM_PROTO_GetFieldsCounters done [12:01:50]requested_item shift.num is exist - process it [12:01:50]requested_item shift.opened is exist - process it [12:01:50]req_shift_opened [12:01:50]FM_GetShiftState [12:01:50]SAM_PROTO_GetShiftState [12:01:50]wFMCommunicate request_size=4 [12:01:50]MH_SAM_APDU [12:01:50]CAPDU: 80 13 01 00 [12:01:50]Write to MH i2c: E2 08 00 78 0D 80 13 01 00 00 00 00 00 02 [12:01:50]Write i2c OK [12:01:50]MH_I2C_Read... [12:01:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:01:50]Read from MH i2c: E2 [12:01:50]MH_I2C_Read... [12:01:50]Read from MH i2c: E2 0E 00 [12:01:50]MH_I2C_Read... [12:01:50]Read from MH i2c: E2 0E 00 78 0D 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 7F [12:01:50]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [12:01:50]wFMCommunicate OK [12:01:50]SAM_PROTO_GetShiftState done [12:01:50]FM_GetShiftState done [12:01:50]req_shift_opened done [12:01:50]requested_item shift.open_date is exist - process it [12:01:50]req_shift_open_date [12:01:50]req_shift_open_date done [12:01:50]produce_requested_data done [12:01:50]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32424,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [12:01:50]process_action_free close_receipt [12:01:50]json_value_free [12:01:50]json_value_free done [12:01:50]process_json_proto returns [12:01:50]Send response to host [12:01:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32424,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [12:01:50]free response buf [12:01:50]execute_script done [12:01:50]execute_script returns [12:01:50]free content buf [12:01:50]Sock 8.Close socket [12:01:50]Sock 8.Thread stoped [12:01:53]OFD Sender: No OFD packet to send [12:01:58]OFD Sender: No OFD packet to send [12:02:04]OFD Sender: No OFD packet to send [12:02:09]OFD Sender: No OFD packet to send [12:02:14]OFD Sender: No OFD packet to send [12:02:19]OFD Sender: No OFD packet to send [12:02:24]OFD Sender: No OFD packet to send [12:02:29]OFD Sender: No OFD packet to send [12:02:34]OFD Sender: No OFD packet to send [12:02:39]OFD Sender: No OFD packet to send [12:02:44]OFD Sender: No OFD packet to send [12:02:49]OFD Sender: No OFD packet to send [12:02:54]OFD Sender: No OFD packet to send [12:02:59]OFD Sender: No OFD packet to send [12:03:04]OFD Sender: No OFD packet to send [12:03:09]OFD Sender: No OFD packet to send [12:03:14]OFD Sender: No OFD packet to send [12:03:19]OFD Sender: No OFD packet to send [12:03:24]OFD Sender: No OFD packet to send [12:03:29]OFD Sender: No OFD packet to send [12:03:34]OFD Sender: No OFD packet to send [12:03:39]OFD Sender: No OFD packet to send [12:03:44]OFD Sender: No OFD packet to send [12:03:49]OFD Sender: No OFD packet to send [12:03:54]OFD Sender: No OFD packet to send [12:03:59]OFD Sender: No OFD packet to send [12:04:04]OFD Sender: No OFD packet to send [12:04:09]OFD Sender: No OFD packet to send [12:04:14]OFD Sender: No OFD packet to send [12:04:19]OFD Sender: No OFD packet to send [12:04:24]OFD Sender: No OFD packet to send [12:04:29]OFD Sender: No OFD packet to send [12:04:34]OFD Sender: No OFD packet to send [12:04:39]OFD Sender: No OFD packet to send [12:04:44]OFD Sender: No OFD packet to send [12:04:49]OFD Sender: No OFD packet to send [12:04:54]OFD Sender: No OFD packet to send [12:04:59]OFD Sender: No OFD packet to send [12:05:04]OFD Sender: No OFD packet to send [12:05:09]OFD Sender: No OFD packet to send [12:05:14]OFD Sender: No OFD packet to send [12:05:19]OFD Sender: No OFD packet to send [12:05:24]OFD Sender: No OFD packet to send [12:05:29]OFD Sender: No OFD packet to send [12:05:34]OFD Sender: No OFD packet to send [12:05:39]OFD Sender: No OFD packet to send [12:05:44]OFD Sender: No OFD packet to send [12:05:49]OFD Sender: No OFD packet to send [12:05:54]OFD Sender: No OFD packet to send [12:05:59]OFD Sender: No OFD packet to send [12:06:04]OFD Sender: No OFD packet to send [12:06:09]OFD Sender: No OFD packet to send [12:06:14]OFD Sender: No OFD packet to send [12:06:19]OFD Sender: No OFD packet to send [12:06:24]OFD Sender: No OFD packet to send [12:06:29]OFD Sender: No OFD packet to send [12:06:34]OFD Sender: No OFD packet to send [12:06:39]OFD Sender: No OFD packet to send [12:06:44]OFD Sender: No OFD packet to send [12:06:49]OFD Sender: No OFD packet to send [12:06:54]OFD Sender: No OFD packet to send [12:06:59]OFD Sender: No OFD packet to send [12:07:04]OFD Sender: No OFD packet to send [12:07:09]OFD Sender: No OFD packet to send [12:07:14]OFD Sender: No OFD packet to send [12:07:19]OFD Sender: No OFD packet to send [12:07:24]OFD Sender: No OFD packet to send [12:07:29]OFD Sender: No OFD packet to send [12:07:34]OFD Sender: No OFD packet to send [12:07:39]OFD Sender: No OFD packet to send [12:07:44]OFD Sender: No OFD packet to send [12:07:49]OFD Sender: No OFD packet to send [12:07:54]OFD Sender: No OFD packet to send [12:07:59]OFD Sender: No OFD packet to send [12:08:04]OFD Sender: No OFD packet to send [12:08:09]OFD Sender: No OFD packet to send [12:08:14]OFD Sender: No OFD packet to send [12:08:19]OFD Sender: No OFD packet to send [12:08:24]OFD Sender: No OFD packet to send [12:08:29]OFD Sender: No OFD packet to send [12:08:34]OFD Sender: No OFD packet to send [12:08:39]OFD Sender: No OFD packet to send [12:08:44]OFD Sender: No OFD packet to send [12:08:49]OFD Sender: No OFD packet to send [12:08:54]OFD Sender: No OFD packet to send [12:08:59]OFD Sender: No OFD packet to send [12:09:04]OFD Sender: No OFD packet to send [12:09:09]OFD Sender: No OFD packet to send [12:09:14]OFD Sender: No OFD packet to send [12:09:19]OFD Sender: No OFD packet to send [12:09:24]OFD Sender: No OFD packet to send [12:09:29]OFD Sender: No OFD packet to send [12:09:34]OFD Sender: No OFD packet to send [12:09:39]OFD Sender: No OFD packet to send [12:09:44]OFD Sender: No OFD packet to send [12:09:49]OFD Sender: No OFD packet to send [12:09:54]OFD Sender: No OFD packet to send [12:09:59]OFD Sender: No OFD packet to send [12:10:04]OFD Sender: No OFD packet to send [12:10:09]OFD Sender: No OFD packet to send [12:10:14]OFD Sender: No OFD packet to send [12:10:19]OFD Sender: No OFD packet to send [12:10:24]OFD Sender: No OFD packet to send [12:10:29]OFD Sender: No OFD packet to send [12:10:34]OFD Sender: No OFD packet to send [12:10:39]OFD Sender: No OFD packet to send [12:10:44]OFD Sender: No OFD packet to send [12:10:49]OFD Sender: No OFD packet to send [12:10:54]OFD Sender: No OFD packet to send [12:10:59]OFD Sender: No OFD packet to send [12:11:04]OFD Sender: No OFD packet to send [12:11:09]OFD Sender: No OFD packet to send [12:11:14]OFD Sender: No OFD packet to send [12:11:19]OFD Sender: No OFD packet to send [12:11:24]OFD Sender: No OFD packet to send [12:11:29]OFD Sender: No OFD packet to send [12:11:34]OFD Sender: No OFD packet to send [12:11:39]OFD Sender: No OFD packet to send [12:11:44]OFD Sender: No OFD packet to send [12:11:49]OFD Sender: No OFD packet to send [12:11:54]OFD Sender: No OFD packet to send [12:11:59]OFD Sender: No OFD packet to send [12:12:04]OFD Sender: No OFD packet to send [12:12:09]OFD Sender: No OFD packet to send [12:12:14]OFD Sender: No OFD packet to send [12:12:19]OFD Sender: No OFD packet to send [12:12:24]OFD Sender: No OFD packet to send [12:12:29]OFD Sender: No OFD packet to send [12:12:34]OFD Sender: No OFD packet to send [12:12:39]OFD Sender: No OFD packet to send [12:12:44]OFD Sender: No OFD packet to send [12:12:49]OFD Sender: No OFD packet to send [12:12:54]OFD Sender: No OFD packet to send [12:12:59]OFD Sender: No OFD packet to send [12:13:04]OFD Sender: No OFD packet to send [12:13:09]OFD Sender: No OFD packet to send [12:13:14]OFD Sender: No OFD packet to send [12:13:19]OFD Sender: No OFD packet to send [12:13:24]OFD Sender: No OFD packet to send [12:13:29]OFD Sender: No OFD packet to send [12:13:34]OFD Sender: No OFD packet to send [12:13:39]OFD Sender: No OFD packet to send [12:13:44]OFD Sender: No OFD packet to send [12:13:49]OFD Sender: No OFD packet to send [12:13:54]OFD Sender: No OFD packet to send [12:13:59]OFD Sender: No OFD packet to send [12:14:04]OFD Sender: No OFD packet to send [12:14:09]OFD Sender: No OFD packet to send [12:14:14]OFD Sender: No OFD packet to send [12:14:19]OFD Sender: No OFD packet to send [12:14:24]OFD Sender: No OFD packet to send [12:14:29]OFD Sender: No OFD packet to send [12:14:34]OFD Sender: No OFD packet to send [12:14:39]OFD Sender: No OFD packet to send [12:14:44]OFD Sender: No OFD packet to send [12:14:49]OFD Sender: No OFD packet to send [12:14:54]OFD Sender: No OFD packet to send [12:14:59]OFD Sender: No OFD packet to send [12:15:04]OFD Sender: No OFD packet to send [12:15:09]OFD Sender: No OFD packet to send [12:15:14]OFD Sender: No OFD packet to send [12:15:19]OFD Sender: No OFD packet to send [12:15:24]OFD Sender: No OFD packet to send [12:15:29]OFD Sender: No OFD packet to send [12:15:34]OFD Sender: No OFD packet to send [12:15:39]OFD Sender: No OFD packet to send [12:15:44]OFD Sender: No OFD packet to send [12:15:49]OFD Sender: No OFD packet to send [12:15:54]OFD Sender: No OFD packet to send [12:15:59]OFD Sender: No OFD packet to send [12:16:04]OFD Sender: No OFD packet to send [12:16:09]OFD Sender: No OFD packet to send [12:16:14]OFD Sender: No OFD packet to send [12:16:19]OFD Sender: No OFD packet to send [12:16:24]OFD Sender: No OFD packet to send [12:16:29]OFD Sender: No OFD packet to send [12:16:32]accept exits with 9 [12:16:32]New connection [12:16:32]New thread 3066932580 created [12:16:32]Thread 3067075940 joined [12:16:32]Waiting for new connection... [12:16:32] Sock 9.Parse request [12:16:32]Sock 9.Check first char [12:16:32]Sock 9.First char is OK [12:16:32]request: POST /json_proto HTTP/1.0 [12:16:32]Method: POST [12:16:32]URL: /json_proto [12:16:32]Method is POST - this is cgi request [12:16:32]url: /json_proto [12:16:32]query_string will be loaded in cgi processing [12:16:32]execute_cgi json_proto POST (null) [12:16:32]execute_cgi path=json_proto method=POST [12:16:32]POST find Content-Length [12:16:32]Host: 172.17.61.6:8080 [12:16:32]Content-Length: 607 [12:16:32]Content-Type: application/json [12:16:32] [12:16:32]POST finish read [12:16:32]Found Content-Length = 607 [12:16:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58580", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 20.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:16:32]execute_script... [12:16: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)58580", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 20.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:16:32]POST & json_proto [12:16:32]process_json_proto [12:16:32]json parsed OK: [12:16:32]protocol is kg_v1.0 [12:16:32]action value=close_receipt [12:16:32]process_action close_receipt [12:16:32]cmd_close_receipt [12:16:32]MH_GetDate [12:16:32]Write to MH i2c: F0 00 00 79 0D 75 [12:16:32]Write i2c OK [12:16:32]MH_I2C_Read... [12:16:32]Read from MH i2c: F0 [12:16:32]MH_I2C_Read... [12:16:32]Read from MH i2c: F0 09 00 [12:16:32]MH_I2C_Read... [12:16:32]Read from MH i2c: F0 09 00 79 0D 00 A2 5E E8 65 78 7F 6F 64 95 [12:16:32]GetLastDocTimeStamp 1709726509 [12:16:32]current date 1709727394 [12:16:32]FM_GetShiftState [12:16:32]SAM_PROTO_GetShiftState [12:16:32]wFMCommunicate request_size=4 [12:16:32]MH_SAM_APDU [12:16:32]CAPDU: 80 13 01 00 [12:16:32]Write to MH i2c: E2 08 00 7A 0D 80 13 01 00 00 00 00 00 04 [12:16:32]Write i2c OK [12:16:32]MH_I2C_Read... [12:16:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:16:32]Read from MH i2c: E2 [12:16:32]MH_I2C_Read... [12:16:32]Read from MH i2c: E2 0E 00 [12:16:32]MH_I2C_Read... [12:16:32]Read from MH i2c: E2 0E 00 7A 0D 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 81 [12:16:32]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [12:16:32]wFMCommunicate OK [12:16:32]SAM_PROTO_GetShiftState done [12:16:32]FM_GetShiftState done [12:16:32]opened in 1709684590 [12:16:32]opened+sec_in_day 1709770990 [12:16:32]quantity*price = 2000 [12:16:32]sum+1 = 2001 [12:16:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 20.00 НСП 1% : 0.18 НДС 12% : 2.12 Наличными: 20.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 41 06.03.2024 12:16 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32425 ФПД: 91675301614977 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T121635&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32425&fm=91675301614977&tin=02508201610067®Number=0000000000092554&sum=2000 0 [12:16:33]StoreToDocumentArchive [12:16:33]shift 284 fd 32425 [12:16:33]save to /storage/0284/doc_00032425 [12:16:33]save last doc name /storage/0284/doc_00032425 to /storage/kkm_last_doc_name [12:16:33]save OK [12:16:33]Clear old archive folders... [12:16:33]ProcessDocumentItem done err = 0, tmpTLVsize=267 [12:16:33]tlvbuf is 016684C0 [12:16:33]SAM_PROTO_ClearQueue [12:16:33]wFMCommunicate request_size=4 [12:16:33]MH_SAM_APDU [12:16:33]CAPDU: 80 09 00 00 [12:16:33]Write to MH i2c: E2 08 00 87 0D 80 09 00 00 00 00 00 00 06 [12:16:33]Write i2c OK [12:16:33]MH_I2C_Read... [12:16:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:16:33]Read from MH i2c: E2 [12:16:33]MH_I2C_Read... [12:16:33]Read from MH i2c: E2 03 00 [12:16:33]MH_I2C_Read... [12:16:33]Read from MH i2c: E2 03 00 87 0D 00 90 00 08 [12:16:33]RAPDU: 90 00 [12:16:33]wFMCommunicate OK [12:16:33]SAM_PROTO_ClearQueue done [12:16:33]KKMCreateOFDPacket [12:16:33]OFDProtocolAddRootSTLVToBuf [12:16:33]FM_MakeSignedData [12:16:33]FM_MakeSignedData [12:16:33]SAM_PROTO_SignData [12:16:33]wFMCommunicate request_size=4 [12:16:33]MH_SAM_APDU [12:16:33]CAPDU: 80 0D 01 02 [12:16:33]Write to MH i2c: E2 08 00 88 0D 80 0D 01 02 00 00 00 00 0E [12:16:33]Write i2c OK [12:16:33]MH_I2C_Read... [12:16:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:16:33]Read from MH i2c: E2 [12:16:33]MH_I2C_Read... [12:16:33]Read from MH i2c: E2 03 00 [12:16:33]MH_I2C_Read... [12:16:33]Read from MH i2c: E2 03 00 88 0D 00 90 00 09 [12:16:33]RAPDU: 90 00 [12:16:33]wFMCommunicate OK [12:16:33]wFMCommunicate request_size=255 [12:16:33]MH_SAM_APDU [12:16:33]CAPDU: 80 0D 02 02 FA 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 A3 5E E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 [12:16:33]Write to MH i2c: E2 02 01 89 0D 80 0D 02 02 FA 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 A3 5E E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 00 00 58 [12:16:33]Write i2c OK [12:16:33]MH_I2C_Read... [12:16:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:16:33]Read from MH i2c: E2 [12:16:33]MH_I2C_Read... [12:16:33]Read from MH i2c: E2 03 00 [12:16:33]MH_I2C_Read... [12:16:33]Read from MH i2c: E2 03 00 89 0D 00 90 00 0A [12:16:33]RAPDU: 90 00 [12:16:33]wFMCommunicate OK [12:16:33]wFMCommunicate request_size=26 [12:16:33]MH_SAM_APDU [12:16:33]CAPDU: 80 0D 02 02 15 37 38 33 10 04 04 00 A9 7E 00 00 35 04 06 00 53 60 D1 C9 95 81 [12:16:33]Write to MH i2c: E2 1D 00 8A 0D 80 0D 02 02 15 00 37 38 33 10 04 04 00 A9 7E 00 00 35 04 06 00 53 60 D1 C9 95 81 00 00 BE [12:16:33]Write i2c OK [12:16:33]MH_I2C_Read... [12:16:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:16:33]Read from MH i2c: E2 [12:16:33]MH_I2C_Read... [12:16:33]Read from MH i2c: E2 03 00 [12:16:33]MH_I2C_Read... [12:16:33]Read from MH i2c: E2 03 00 8A 0D 00 90 00 0B [12:16:33]RAPDU: 90 00 [12:16:33]wFMCommunicate OK [12:16:33]wFMCommunicate request_size=4 [12:16:33]MH_SAM_APDU [12:16:33]CAPDU: 80 0D 03 02 [12:16:33]Write to MH i2c: E2 08 00 8B 0D 80 0D 03 02 00 00 00 00 13 [12:16:33]Write i2c OK [12:16:33]MH_I2C_Read... [12:16:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:16:33]Read from MH i2c: E2 [12:16:33]MH_I2C_Read... [12:16:33]Read from MH i2c: E2 0B 00 [12:16:33]MH_I2C_Read... [12:16:33]Read from MH i2c: E2 0B 00 8B 0D 00 00 48 DC BF 8C B0 BE 69 90 00 5A [12:16:33]RAPDU: 00 48 DC BF 8C B0 BE 69 90 00 [12:16:33]wFMCommunicate OK [12:16:33]SAM_PROTO_SignData done [12:16:33]FM_MakeSignedData done [12:16:33]CreateOFDProtocolMessage [12:16:33]wFMCommunicate request_size=4 [12:16:33]MH_SAM_APDU [12:16:33]CAPDU: 80 11 00 00 [12:16:33]Write to MH i2c: E2 08 00 8C 0D 80 11 00 00 00 00 00 00 13 [12:16:33]Write i2c OK [12:16:33]MH_I2C_Read... [12:16:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:16:33]Read from MH i2c: E2 [12:16:33]MH_I2C_Read... [12:16:33]Read from MH i2c: E2 17 00 [12:16:33]MH_I2C_Read... [12:16:33]Read from MH i2c: E2 17 00 8C 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 68 [12:16:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [12:16:33]wFMCommunicate OK [12:16:33]CreateOFDProtocolMessage done [12:16:33]OFDSenderStorePacket 32425 [12:16:33]StoreOFDPacket docnum=32425 [12:16:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 1F 01 00 00 6B BA 17 01 72 0B 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 A3 5E E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A9 7E 00 00 35 04 06 00 53 60 D1 C9 95 81 00 48 DC BF 8C B0 BE 69 [12:16:33]CheckFolder [12:16:33]dirname=/storage/ofd_packets [12:16:33]CheckFolder done [12:16:33]ProducePacketName [12:16:33]name=ofd_packets/00032425 [12:16:33]NVStorageSaveData ofd_packets/00032425 [12:16:33]File name is /storage/ofd_packets/00032425 [12:16:33]Write 317 bytes [12:16:33]NVStorageSaveData done [12:16:33]OFDSenderStorePacket done [12:16:33]KKMCreateOFDPacket done [12:16:33]NVStorageSaveData kkm_last_timestamp [12:16:33]File name is /storage/kkm_last_timestamp [12:16:33]Write 4 bytes [12:16:33]NVStorageSaveData done [12:16:33]ExternCall_PrintAddStr [12:16:33]wPrintStart [12:16:33]Write to MH i2c: 01 00 00 8D 0D 9A [12:16:33]Write i2c OK [12:16:33]MH_I2C_Read... [12:16:33]Read from MH i2c: 01 [12:16:33]MH_I2C_Read... [12:16:33]Read from MH i2c: 01 07 00 [12:16:33]MH_I2C_Read... [12:16:33]Read from MH i2c: 01 07 00 8D 0D 00 00 00 00 00 FF 0F AF [12:16:33]RasterBufferAndPrint [12:16:33]line Счет N : (3)58580 [12:16:33]line ИНН: 02508201610067 [12:16:33]line Контрольно-Кассовый Чек [12:16:33]line ПРОДАЖА [12:16:33]line Товар: 46231529 [12:16:33]line Mentos ПФ Арбуз 6*100*2 [12:16:33]line 2.000 * 10.00 [12:16:33]line = 20.00 [12:16:33]line НДС 12% НСП 1% [12:16:33]line > о реализуемом товаре [12:16:33]line ИТОГО: 20.00 [12:16:33]line НСП 1% : 0.18 [12:16:33]line НДС 12% : 2.12 [12:16:33]line Наличными: 20.00 [12:16:33]line Безнал.: 0.00 [12:16:33]line Место: АЗС № 99 "Партнер Нефть" [12:16:33]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [12:16:33]line СНО: Общий режим [12:16:33]line Чек 41 06.03.2024 12:16 [12:16:33]line Смена: 284 ФФД: 1.0 [12:16:33]line ЗНМ: 0300000074 [12:16:33]line РНМ: 0000000000092554 [12:16:33]line Версия ККМ: 001 [12:16:33]line ФМ: 0000000000871783 [12:16:33]line ФД: 32425 [12:16:33]line ФПД: 91675301614977 [12:16:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T121635&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32425&fm=91675301614977&tin=02508201610067®Number=0000000000092554&sum=2000 [12:16:34]line 0 [12:16:34]OFD Sender: Processing packet 32425 [packets to send 5, broken 4] [12:16:34]ProducePacketName [12:16:34]name=ofd_packets/00032425 [12:16:34]OFD Sender: To server: pG, [12:16:34]CommunicateWithHost lk.salyk.kg:30040 [12:16:34]ConnectInit lk.salyk.kg [12:16:34]written 0, free lines is 4095 [12:16:34]Connected sock=10 [12:16:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 1F 01 00 00 6B BA 17 01 72 0B 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 A3 5E E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A9 7E 00 00 35 04 06 00 53 60 D1 C9 95 81 00 48 DC BF 8C B0 BE 69 [12:16:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 50 1C 47 00 F9 C4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 A9 7E 00 00 F4 03 04 00 DB 06 E8 65 B6 04 01 00 00 12 BD 46 50 E9 25 A7 3F [12:16:34]CommunicateWithHost err = 0 [12:16:34]CheckOFDResponse [12:16:34]1017 (14) - 77093643461234 [12:16:34]1041 (16) - 0000000000871783 [12:16:34]1040 (4) - 32425 [12:16:34]1012 (4) - 06.03.2024 06:02 [12:16:34]1206 (1) - 0 [12:16:34]OFD Sender: Remove packet 32425 [12:16:34]ProducePacketName [12:16:34]name=ofd_packets/00032425 [12:16:34]NVStorageDeleteData [12:16:34]Write to MH i2c: 01 00 00 B5 0D C2 [12:16:34]Write i2c OK [12:16:34]MH_I2C_Read... [12:16:34]Read from MH i2c: 01 [12:16:34]MH_I2C_Read... [12:16:34]Read from MH i2c: 01 07 00 [12:16:34]MH_I2C_Read... [12:16:34]Read from MH i2c: 01 07 00 B5 0D 00 00 00 00 00 E6 0C BB [12:16:34]RasterBufferAndPrint [12:16:34]line [12:16:34]line [12:16:34]line [12:16:34]line [12:16:34]line [12:16:34]written 0, free lines is 3308 [12:16:34]MH_Cut [12:16:34]Write to MH i2c: D1 01 00 BC 0D 01 9B [12:16:34]Write i2c OK [12:16:34]MH_I2C_Read... [12:16:34]Read from MH i2c: D1 [12:16:34]MH_I2C_Read... [12:16:34]Read from MH i2c: D1 01 00 [12:16:34]MH_I2C_Read... [12:16:34]Read from MH i2c: D1 01 00 BC 0D 00 9A [12:16:34]Write to MH i2c: 01 00 00 BD 0D CA [12:16:34]Write i2c OK [12:16:34]MH_I2C_Read... [12:16:34]OFD Sender: No OFD packet to send [12:16:35]*** Cut start [12:16:35]*** Partial cut [12:16:35]*** CUTSNS_PIN = 1 [12:16:35]*** CUTSNS_PIN = 0 [12:16:35]*** Brake cut motor [12:16:35]Read from MH i2c: 01 [12:16:35]MH_I2C_Read... [12:16:35]*** Stop cut motor [12:16:35]*** Cut end [12:16:35]Read from MH i2c: 01 07 00 [12:16:35]MH_I2C_Read... [12:16:35]Read from MH i2c: 01 07 00 BD 0D 00 00 00 00 00 FF 0F DF [12:16:35]process_action close_receipt done [12:16:35]requested_data is exist [12:16:35]produce_requested_data [12:16:35]requested_item fm.sn is exist - process it [12:16:35]wFMCommunicate request_size=4 [12:16:35]MH_SAM_APDU [12:16:35]CAPDU: 80 11 00 00 [12:16:35]Write to MH i2c: E2 08 00 BE 0D 80 11 00 00 00 00 00 00 45 [12:16:35]Write i2c OK [12:16:35]MH_I2C_Read... [12:16:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:16:36]Read from MH i2c: E2 [12:16:36]MH_I2C_Read... [12:16:36]Read from MH i2c: E2 17 00 [12:16:36]MH_I2C_Read... [12:16:36]Read from MH i2c: E2 17 00 BE 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 9A [12:16:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [12:16:36]wFMCommunicate OK [12:16:36]requested_item fd.num is exist - process it [12:16:36]SAM_PROTO_GetFieldsCounters [12:16:36]wFMCommunicate request_size=4 [12:16:36]MH_SAM_APDU [12:16:36]CAPDU: 80 13 00 00 [12:16:36]Write to MH i2c: E2 08 00 BF 0D 80 13 00 00 00 00 00 00 48 [12:16:36]Write i2c OK [12:16:36]MH_I2C_Read... [12:16:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:16:36]Read from MH i2c: E2 [12:16:36]MH_I2C_Read... [12:16:36]Read from MH i2c: E2 62 00 [12:16:36]MH_I2C_Read... [12:16:36]Read from MH i2c: E2 62 00 BF 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 A9 7E 00 00 0E 04 04 00 1C 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 2A [12:16:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 A9 7E 00 00 0E 04 04 00 1C 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 [12:16:36]wFMCommunicate OK [12:16:36]SAM_PROTO_GetFieldsCounters done [12:16:36]requested_item shift.num is exist - process it [12:16:36]requested_item shift.opened is exist - process it [12:16:36]req_shift_opened [12:16:36]FM_GetShiftState [12:16:36]SAM_PROTO_GetShiftState [12:16:36]wFMCommunicate request_size=4 [12:16:36]MH_SAM_APDU [12:16:36]CAPDU: 80 13 01 00 [12:16:36]Write to MH i2c: E2 08 00 C0 0D 80 13 01 00 00 00 00 00 4A [12:16:36]Write i2c OK [12:16:36]MH_I2C_Read... [12:16:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:16:36]Read from MH i2c: E2 [12:16:36]MH_I2C_Read... [12:16:36]Read from MH i2c: E2 0E 00 [12:16:36]MH_I2C_Read... [12:16:36]Read from MH i2c: E2 0E 00 C0 0D 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 C7 [12:16:36]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [12:16:36]wFMCommunicate OK [12:16:36]SAM_PROTO_GetShiftState done [12:16:36]FM_GetShiftState done [12:16:36]req_shift_opened done [12:16:36]requested_item shift.open_date is exist - process it [12:16:36]req_shift_open_date [12:16:36]req_shift_open_date done [12:16:36]produce_requested_data done [12:16:36]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32425,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [12:16:36]process_action_free close_receipt [12:16:36]json_value_free [12:16:36]json_value_free done [12:16:36]process_json_proto returns [12:16:36]Send response to host [12:16:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32425,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [12:16:36]free response buf [12:16:36]execute_script done [12:16:36]execute_script returns [12:16:36]free content buf [12:16:36]Sock 9.Close socket [12:16:36]Sock 9.Thread stoped [12:16:39]OFD Sender: No OFD packet to send [12:16:44]OFD Sender: No OFD packet to send [12:16:49]OFD Sender: No OFD packet to send [12:16:54]OFD Sender: No OFD packet to send [12:16:59]OFD Sender: No OFD packet to send [12:17:04]OFD Sender: No OFD packet to send [12:17:09]OFD Sender: No OFD packet to send [12:17:14]OFD Sender: No OFD packet to send [12:17:19]OFD Sender: No OFD packet to send [12:17:24]OFD Sender: No OFD packet to send [12:17:29]OFD Sender: No OFD packet to send [12:17:34]OFD Sender: No OFD packet to send [12:17:39]OFD Sender: No OFD packet to send [12:17:44]OFD Sender: No OFD packet to send [12:17:49]OFD Sender: No OFD packet to send [12:17:54]OFD Sender: No OFD packet to send [12:17:59]OFD Sender: No OFD packet to send [12:18:04]OFD Sender: No OFD packet to send [12:18:09]OFD Sender: No OFD packet to send [12:18:14]OFD Sender: No OFD packet to send [12:18:19]OFD Sender: No OFD packet to send [12:18:24]OFD Sender: No OFD packet to send [12:18:29]OFD Sender: No OFD packet to send [12:18:34]OFD Sender: No OFD packet to send [12:18:39]OFD Sender: No OFD packet to send [12:18:44]OFD Sender: No OFD packet to send [12:18:49]OFD Sender: No OFD packet to send [12:18:54]OFD Sender: No OFD packet to send [12:18:59]OFD Sender: No OFD packet to send [12:19:04]OFD Sender: No OFD packet to send [12:19:09]OFD Sender: No OFD packet to send [12:19:14]OFD Sender: No OFD packet to send [12:19:20]OFD Sender: No OFD packet to send [12:19:25]OFD Sender: No OFD packet to send [12:19:30]OFD Sender: No OFD packet to send [12:19:35]OFD Sender: No OFD packet to send [12:19:40]OFD Sender: No OFD packet to send [12:19:45]OFD Sender: No OFD packet to send [12:19:50]OFD Sender: No OFD packet to send [12:19:55]OFD Sender: No OFD packet to send [12:20:00]OFD Sender: No OFD packet to send [12:20:05]OFD Sender: No OFD packet to send [12:20:10]OFD Sender: No OFD packet to send [12:20:15]OFD Sender: No OFD packet to send [12:20:20]OFD Sender: No OFD packet to send [12:20:25]OFD Sender: No OFD packet to send [12:20:30]OFD Sender: No OFD packet to send [12:20:35]OFD Sender: No OFD packet to send [12:20:40]OFD Sender: No OFD packet to send [12:20:45]OFD Sender: No OFD packet to send [12:20:50]OFD Sender: No OFD packet to send [12:20:55]OFD Sender: No OFD packet to send [12:21:00]OFD Sender: No OFD packet to send [12:21:05]OFD Sender: No OFD packet to send [12:21:10]OFD Sender: No OFD packet to send [12:21:15]OFD Sender: No OFD packet to send [12:21:20]OFD Sender: No OFD packet to send [12:21:25]OFD Sender: No OFD packet to send [12:21:30]OFD Sender: No OFD packet to send [12:21:35]OFD Sender: No OFD packet to send [12:21:40]OFD Sender: No OFD packet to send [12:21:45]OFD Sender: No OFD packet to send [12:21:50]OFD Sender: No OFD packet to send [12:21:55]OFD Sender: No OFD packet to send [12:22:00]OFD Sender: No OFD packet to send [12:22:05]OFD Sender: No OFD packet to send [12:22:10]OFD Sender: No OFD packet to send [12:22:15]OFD Sender: No OFD packet to send [12:22:20]OFD Sender: No OFD packet to send [12:22:25]OFD Sender: No OFD packet to send [12:22:30]OFD Sender: No OFD packet to send [12:22:35]OFD Sender: No OFD packet to send [12:22:40]OFD Sender: No OFD packet to send [12:22:45]OFD Sender: No OFD packet to send [12:22:50]OFD Sender: No OFD packet to send [12:22:55]OFD Sender: No OFD packet to send [12:23:00]OFD Sender: No OFD packet to send [12:23:05]OFD Sender: No OFD packet to send [12:23:10]OFD Sender: No OFD packet to send [12:23:15]OFD Sender: No OFD packet to send [12:23:20]OFD Sender: No OFD packet to send [12:23:25]OFD Sender: No OFD packet to send [12:23:30]OFD Sender: No OFD packet to send [12:23:35]OFD Sender: No OFD packet to send [12:23:40]OFD Sender: No OFD packet to send [12:23:45]OFD Sender: No OFD packet to send [12:23:50]OFD Sender: No OFD packet to send [12:23:55]OFD Sender: No OFD packet to send [12:24:00]OFD Sender: No OFD packet to send [12:24:05]OFD Sender: No OFD packet to send [12:24:10]OFD Sender: No OFD packet to send [12:24:15]OFD Sender: No OFD packet to send [12:24:20]OFD Sender: No OFD packet to send [12:24:25]OFD Sender: No OFD packet to send [12:24:30]OFD Sender: No OFD packet to send [12:24:35]OFD Sender: No OFD packet to send [12:24:40]OFD Sender: No OFD packet to send [12:24:45]OFD Sender: No OFD packet to send [12:24:50]OFD Sender: No OFD packet to send [12:24:55]OFD Sender: No OFD packet to send [12:25:00]OFD Sender: No OFD packet to send [12:25:05]OFD Sender: No OFD packet to send [12:25:10]OFD Sender: No OFD packet to send [12:25:15]OFD Sender: No OFD packet to send [12:25:20]OFD Sender: No OFD packet to send [12:25:25]OFD Sender: No OFD packet to send [12:25:30]OFD Sender: No OFD packet to send [12:25:35]OFD Sender: No OFD packet to send [12:25:40]OFD Sender: No OFD packet to send [12:25:45]OFD Sender: No OFD packet to send [12:25:50]OFD Sender: No OFD packet to send [12:25:55]OFD Sender: No OFD packet to send [12:26:00]OFD Sender: No OFD packet to send [12:26:05]OFD Sender: No OFD packet to send [12:26:10]OFD Sender: No OFD packet to send [12:26:15]OFD Sender: No OFD packet to send [12:26:20]OFD Sender: No OFD packet to send [12:26:25]OFD Sender: No OFD packet to send [12:26:30]OFD Sender: No OFD packet to send [12:26:35]OFD Sender: No OFD packet to send [12:26:40]OFD Sender: No OFD packet to send [12:26:45]OFD Sender: No OFD packet to send [12:26:50]OFD Sender: No OFD packet to send [12:26:55]OFD Sender: No OFD packet to send [12:27:00]OFD Sender: No OFD packet to send [12:27:05]OFD Sender: No OFD packet to send [12:27:10]OFD Sender: No OFD packet to send [12:27:15]OFD Sender: No OFD packet to send [12:27:20]OFD Sender: No OFD packet to send [12:27:25]OFD Sender: No OFD packet to send [12:27:30]OFD Sender: No OFD packet to send [12:27:35]OFD Sender: No OFD packet to send [12:27:40]OFD Sender: No OFD packet to send [12:27:45]OFD Sender: No OFD packet to send [12:27:50]OFD Sender: No OFD packet to send [12:27:55]OFD Sender: No OFD packet to send [12:28:00]OFD Sender: No OFD packet to send [12:28:05]OFD Sender: No OFD packet to send [12:28:10]OFD Sender: No OFD packet to send [12:28:15]OFD Sender: No OFD packet to send [12:28:20]OFD Sender: No OFD packet to send [12:28:25]OFD Sender: No OFD packet to send [12:28:30]OFD Sender: No OFD packet to send [12:28:35]OFD Sender: No OFD packet to send [12:28:40]OFD Sender: No OFD packet to send [12:28:45]OFD Sender: No OFD packet to send [12:28:50]OFD Sender: No OFD packet to send [12:28:55]OFD Sender: No OFD packet to send [12:29:00]OFD Sender: No OFD packet to send [12:29:05]OFD Sender: No OFD packet to send [12:29:10]OFD Sender: No OFD packet to send [12:29:15]OFD Sender: No OFD packet to send [12:29:20]OFD Sender: No OFD packet to send [12:29:25]OFD Sender: No OFD packet to send [12:29:30]OFD Sender: No OFD packet to send [12:29:35]OFD Sender: No OFD packet to send [12:29:40]OFD Sender: No OFD packet to send [12:29:45]OFD Sender: No OFD packet to send [12:29:50]OFD Sender: No OFD packet to send [12:29:55]OFD Sender: No OFD packet to send [12:30:00]OFD Sender: No OFD packet to send [12:30:05]OFD Sender: No OFD packet to send [12:30:10]OFD Sender: No OFD packet to send [12:30:15]OFD Sender: No OFD packet to send [12:30:20]OFD Sender: No OFD packet to send [12:30:25]OFD Sender: No OFD packet to send [12:30:30]OFD Sender: No OFD packet to send [12:30:35]OFD Sender: No OFD packet to send [12:30:40]OFD Sender: No OFD packet to send [12:30:45]OFD Sender: No OFD packet to send [12:30:50]OFD Sender: No OFD packet to send [12:30:55]OFD Sender: No OFD packet to send [12:31:00]OFD Sender: No OFD packet to send [12:31:05]OFD Sender: No OFD packet to send [12:31:10]OFD Sender: No OFD packet to send [12:31:15]OFD Sender: No OFD packet to send [12:31:20]OFD Sender: No OFD packet to send [12:31:25]OFD Sender: No OFD packet to send [12:31:30]OFD Sender: No OFD packet to send [12:31:35]OFD Sender: No OFD packet to send [12:31:40]OFD Sender: No OFD packet to send [12:31:45]OFD Sender: No OFD packet to send [12:31:50]OFD Sender: No OFD packet to send [12:31:55]OFD Sender: No OFD packet to send [12:32:00]OFD Sender: No OFD packet to send [12:32:05]OFD Sender: No OFD packet to send [12:32:10]OFD Sender: No OFD packet to send [12:32:15]OFD Sender: No OFD packet to send [12:32:20]OFD Sender: No OFD packet to send [12:32:25]OFD Sender: No OFD packet to send [12:32:30]OFD Sender: No OFD packet to send [12:32:35]OFD Sender: No OFD packet to send [12:32:40]OFD Sender: No OFD packet to send [12:32:45]OFD Sender: No OFD packet to send [12:32:50]OFD Sender: No OFD packet to send [12:32:55]OFD Sender: No OFD packet to send [12:33:00]OFD Sender: No OFD packet to send [12:33:05]OFD Sender: No OFD packet to send [12:33:10]OFD Sender: No OFD packet to send [12:33:15]OFD Sender: No OFD packet to send [12:33:20]OFD Sender: No OFD packet to send [12:33:25]OFD Sender: No OFD packet to send [12:33:30]OFD Sender: No OFD packet to send [12:33:35]OFD Sender: No OFD packet to send [12:33:40]OFD Sender: No OFD packet to send [12:33:45]OFD Sender: No OFD packet to send [12:33:50]OFD Sender: No OFD packet to send [12:33:55]OFD Sender: No OFD packet to send [12:34:00]OFD Sender: No OFD packet to send [12:34:05]OFD Sender: No OFD packet to send [12:34:10]OFD Sender: No OFD packet to send [12:34:15]OFD Sender: No OFD packet to send [12:34:20]OFD Sender: No OFD packet to send [12:34:25]OFD Sender: No OFD packet to send [12:34:30]OFD Sender: No OFD packet to send [12:34:35]OFD Sender: No OFD packet to send [12:34:40]OFD Sender: No OFD packet to send [12:34:45]OFD Sender: No OFD packet to send [12:34:50]OFD Sender: No OFD packet to send [12:34:55]OFD Sender: No OFD packet to send [12:35:00]OFD Sender: No OFD packet to send [12:35:05]OFD Sender: No OFD packet to send [12:35:10]OFD Sender: No OFD packet to send [12:35:15]OFD Sender: No OFD packet to send [12:35:20]OFD Sender: No OFD packet to send [12:35:25]OFD Sender: No OFD packet to send [12:35:30]OFD Sender: No OFD packet to send [12:35:35]OFD Sender: No OFD packet to send [12:35:40]OFD Sender: No OFD packet to send [12:35:45]OFD Sender: No OFD packet to send [12:35:50]OFD Sender: No OFD packet to send [12:35:55]OFD Sender: No OFD packet to send [12:36:00]OFD Sender: No OFD packet to send [12:36:05]OFD Sender: No OFD packet to send [12:36:10]OFD Sender: No OFD packet to send [12:36:15]OFD Sender: No OFD packet to send [12:36:20]OFD Sender: No OFD packet to send [12:36:25]OFD Sender: No OFD packet to send [12:36:30]OFD Sender: No OFD packet to send [12:36:35]OFD Sender: No OFD packet to send [12:36:40]OFD Sender: No OFD packet to send [12:36:45]OFD Sender: No OFD packet to send [12:36:50]OFD Sender: No OFD packet to send [12:36:55]OFD Sender: No OFD packet to send [12:37:00]OFD Sender: No OFD packet to send [12:37:05]OFD Sender: No OFD packet to send [12:37:10]OFD Sender: No OFD packet to send [12:37:15]OFD Sender: No OFD packet to send [12:37:20]OFD Sender: No OFD packet to send [12:37:25]OFD Sender: No OFD packet to send [12:37:30]OFD Sender: No OFD packet to send [12:37:35]OFD Sender: No OFD packet to send [12:37:40]OFD Sender: No OFD packet to send [12:37:45]OFD Sender: No OFD packet to send [12:37:50]OFD Sender: No OFD packet to send [12:37:55]OFD Sender: No OFD packet to send [12:38:00]OFD Sender: No OFD packet to send [12:38:05]OFD Sender: No OFD packet to send [12:38:10]OFD Sender: No OFD packet to send [12:38:15]OFD Sender: No OFD packet to send [12:38:20]OFD Sender: No OFD packet to send [12:38:25]OFD Sender: No OFD packet to send [12:38:30]OFD Sender: No OFD packet to send [12:38:35]OFD Sender: No OFD packet to send [12:38:40]OFD Sender: No OFD packet to send [12:38:45]OFD Sender: No OFD packet to send [12:38:50]OFD Sender: No OFD packet to send [12:38:55]OFD Sender: No OFD packet to send [12:39:00]OFD Sender: No OFD packet to send [12:39:05]OFD Sender: No OFD packet to send [12:39:10]OFD Sender: No OFD packet to send [12:39:15]OFD Sender: No OFD packet to send [12:39:20]OFD Sender: No OFD packet to send [12:39:25]OFD Sender: No OFD packet to send [12:39:30]OFD Sender: No OFD packet to send [12:39:35]OFD Sender: No OFD packet to send [12:39:40]OFD Sender: No OFD packet to send [12:39:45]OFD Sender: No OFD packet to send [12:39:50]OFD Sender: No OFD packet to send [12:39:55]OFD Sender: No OFD packet to send [12:40:00]OFD Sender: No OFD packet to send [12:40:05]OFD Sender: No OFD packet to send [12:40:10]OFD Sender: No OFD packet to send [12:40:15]OFD Sender: No OFD packet to send [12:40:20]OFD Sender: No OFD packet to send [12:40:25]OFD Sender: No OFD packet to send [12:40:30]OFD Sender: No OFD packet to send [12:40:35]OFD Sender: No OFD packet to send [12:40:40]OFD Sender: No OFD packet to send [12:40:45]OFD Sender: No OFD packet to send [12:40:50]OFD Sender: No OFD packet to send [12:40:55]OFD Sender: No OFD packet to send [12:41:00]OFD Sender: No OFD packet to send [12:41:05]OFD Sender: No OFD packet to send [12:41:11]OFD Sender: No OFD packet to send [12:41:16]OFD Sender: No OFD packet to send [12:41:21]OFD Sender: No OFD packet to send [12:41:26]OFD Sender: No OFD packet to send [12:41:31]OFD Sender: No OFD packet to send [12:41:36]OFD Sender: No OFD packet to send [12:41:41]OFD Sender: No OFD packet to send [12:41:46]OFD Sender: No OFD packet to send [12:41:51]OFD Sender: No OFD packet to send [12:41:56]OFD Sender: No OFD packet to send [12:42:01]OFD Sender: No OFD packet to send [12:42:06]OFD Sender: No OFD packet to send [12:42:11]OFD Sender: No OFD packet to send [12:42:16]OFD Sender: No OFD packet to send [12:42:21]OFD Sender: No OFD packet to send [12:42:26]OFD Sender: No OFD packet to send [12:42:31]OFD Sender: No OFD packet to send [12:42:36]OFD Sender: No OFD packet to send [12:42:41]OFD Sender: No OFD packet to send [12:42:46]OFD Sender: No OFD packet to send [12:42:51]OFD Sender: No OFD packet to send [12:42:56]OFD Sender: No OFD packet to send [12:43:01]OFD Sender: No OFD packet to send [12:43:06]OFD Sender: No OFD packet to send [12:43:11]OFD Sender: No OFD packet to send [12:43:16]OFD Sender: No OFD packet to send [12:43:21]OFD Sender: No OFD packet to send [12:43:26]OFD Sender: No OFD packet to send [12:43:31]OFD Sender: No OFD packet to send [12:43:36]OFD Sender: No OFD packet to send [12:43:41]OFD Sender: No OFD packet to send [12:43:46]OFD Sender: No OFD packet to send [12:43:51]OFD Sender: No OFD packet to send [12:43:56]OFD Sender: No OFD packet to send [12:44:01]OFD Sender: No OFD packet to send [12:44:06]OFD Sender: No OFD packet to send [12:44:11]OFD Sender: No OFD packet to send [12:44:16]OFD Sender: No OFD packet to send [12:44:21]OFD Sender: No OFD packet to send [12:44:26]OFD Sender: No OFD packet to send [12:44:31]OFD Sender: No OFD packet to send [12:44:36]OFD Sender: No OFD packet to send [12:44:41]OFD Sender: No OFD packet to send [12:44:46]OFD Sender: No OFD packet to send [12:44:51]OFD Sender: No OFD packet to send [12:44:56]OFD Sender: No OFD packet to send [12:45:01]OFD Sender: No OFD packet to send [12:45:06]OFD Sender: No OFD packet to send [12:45:11]OFD Sender: No OFD packet to send [12:45:16]OFD Sender: No OFD packet to send [12:45:18]accept exits with 8 [12:45:18]New connection [12:45:18]New thread 3067075940 created [12:45:18]Thread 3066932580 joined [12:45:18]Waiting for new connection... [12:45:18] Sock 8.Parse request [12:45:18]Sock 8.Check first char [12:45:18]Sock 8.First char is OK [12:45:18]request: POST /json_proto HTTP/1.0 [12:45:18]Method: POST [12:45:18]URL: /json_proto [12:45:18]Method is POST - this is cgi request [12:45:18]url: /json_proto [12:45:18]query_string will be loaded in cgi processing [12:45:18]execute_cgi json_proto POST (null) [12:45:18]execute_cgi path=json_proto method=POST [12:45:18]POST find Content-Length [12:45:18]Host: 172.17.61.6:8080 [12:45:18]Content-Length: 622 [12:45:18]Content-Type: application/json [12:45:18] [12:45:18]POST finish read [12:45:18]Found Content-Length = 622 [12:45:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58581", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:45:18]execute_script... [12:45: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)58581", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:45:18]POST & json_proto [12:45:18]process_json_proto [12:45:18]json parsed OK: [12:45:18]protocol is kg_v1.0 [12:45:18]action value=close_receipt [12:45:18]process_action close_receipt [12:45:18]cmd_close_receipt [12:45:18]MH_GetDate [12:45:18]Write to MH i2c: F0 00 00 C1 0D BD [12:45:18]Write i2c OK [12:45:18]MH_I2C_Read... [12:45:18]Read from MH i2c: F0 [12:45:18]MH_I2C_Read... [12:45:18]Read from MH i2c: F0 09 00 [12:45:18]MH_I2C_Read... [12:45:18]Read from MH i2c: F0 09 00 C1 0D 00 61 65 E8 65 78 7F 6F 64 A3 [12:45:18]GetLastDocTimeStamp 1709727395 [12:45:18]current date 1709729121 [12:45:18]FM_GetShiftState [12:45:18]SAM_PROTO_GetShiftState [12:45:18]wFMCommunicate request_size=4 [12:45:18]MH_SAM_APDU [12:45:18]CAPDU: 80 13 01 00 [12:45:18]Write to MH i2c: E2 08 00 C2 0D 80 13 01 00 00 00 00 00 4C [12:45:18]Write i2c OK [12:45:18]MH_I2C_Read... [12:45:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:45:18]Read from MH i2c: E2 [12:45:18]MH_I2C_Read... [12:45:18]Read from MH i2c: E2 0E 00 [12:45:18]MH_I2C_Read... [12:45:18]Read from MH i2c: E2 0E 00 C2 0D 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 C9 [12:45:18]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [12:45:18]wFMCommunicate OK [12:45:18]SAM_PROTO_GetShiftState done [12:45:18]FM_GetShiftState done [12:45:18]opened in 1709684590 [12:45:18]opened+sec_in_day 1709770990 [12:45:18]quantity*price = 13500 [12:45:18]sum+1 = 13501 [12:45:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 42 06.03.2024 12:45 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32426 ФПД: 39188460151235 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T124521&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32426&fm=39188460151235&tin=02508201610067®Number=0000000000092554&sum=13500 0 [12:45:19]StoreToDocumentArchive [12:45:19]shift 284 fd 32426 [12:45:19]save to /storage/0284/doc_00032426 [12:45:19]save last doc name /storage/0284/doc_00032426 to /storage/kkm_last_doc_name [12:45:19]save OK [12:45:19]Clear old archive folders... [12:45:19]ProcessDocumentItem done err = 0, tmpTLVsize=275 [12:45:19]tlvbuf is 01661DF0 [12:45:19]SAM_PROTO_ClearQueue [12:45:19]wFMCommunicate request_size=4 [12:45:19]MH_SAM_APDU [12:45:19]CAPDU: 80 09 00 00 [12:45:19]Write to MH i2c: E2 08 00 CF 0D 80 09 00 00 00 00 00 00 4E [12:45:19]Write i2c OK [12:45:19]MH_I2C_Read... [12:45:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:45:19]Read from MH i2c: E2 [12:45:19]MH_I2C_Read... [12:45:19]Read from MH i2c: E2 03 00 [12:45:19]MH_I2C_Read... [12:45:19]Read from MH i2c: E2 03 00 CF 0D 00 90 00 50 [12:45:19]RAPDU: 90 00 [12:45:19]wFMCommunicate OK [12:45:19]SAM_PROTO_ClearQueue done [12:45:19]KKMCreateOFDPacket [12:45:19]OFDProtocolAddRootSTLVToBuf [12:45:19]FM_MakeSignedData [12:45:19]FM_MakeSignedData [12:45:19]SAM_PROTO_SignData [12:45:19]wFMCommunicate request_size=4 [12:45:19]MH_SAM_APDU [12:45:19]CAPDU: 80 0D 01 02 [12:45:19]Write to MH i2c: E2 08 00 D0 0D 80 0D 01 02 00 00 00 00 56 [12:45:19]Write i2c OK [12:45:19]MH_I2C_Read... [12:45:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:45:19]Read from MH i2c: E2 [12:45:19]MH_I2C_Read... [12:45:19]Read from MH i2c: E2 03 00 [12:45:19]MH_I2C_Read... [12:45:19]Read from MH i2c: E2 03 00 D0 0D 00 90 00 51 [12:45:19]RAPDU: 90 00 [12:45:19]wFMCommunicate OK [12:45:19]wFMCommunicate request_size=255 [12:45:19]MH_SAM_APDU [12:45:19]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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 61 65 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 [12:45:19]Write to MH i2c: E2 02 01 D1 0D 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 61 65 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 00 00 2E [12:45:19]Write i2c OK [12:45:19]MH_I2C_Read... [12:45:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:45:19]Read from MH i2c: E2 [12:45:19]MH_I2C_Read... [12:45:19]Read from MH i2c: E2 03 00 [12:45:19]MH_I2C_Read... [12:45:19]Read from MH i2c: E2 03 00 D1 0D 00 90 00 52 [12:45:19]RAPDU: 90 00 [12:45:19]wFMCommunicate OK [12:45:19]wFMCommunicate request_size=34 [12:45:19]MH_SAM_APDU [12:45:19]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 AA 7E 00 00 35 04 06 00 23 A4 46 3F 21 C3 [12:45:19]Write to MH i2c: E2 25 00 D2 0D 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 AA 7E 00 00 35 04 06 00 23 A4 46 3F 21 C3 00 00 74 [12:45:19]Write i2c OK [12:45:19]MH_I2C_Read... [12:45:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:45:19]Read from MH i2c: E2 [12:45:19]MH_I2C_Read... [12:45:19]Read from MH i2c: E2 03 00 [12:45:19]MH_I2C_Read... [12:45:19]Read from MH i2c: E2 03 00 D2 0D 00 90 00 53 [12:45:19]RAPDU: 90 00 [12:45:19]wFMCommunicate OK [12:45:19]wFMCommunicate request_size=4 [12:45:19]MH_SAM_APDU [12:45:19]CAPDU: 80 0D 03 02 [12:45:19]Write to MH i2c: E2 08 00 D3 0D 80 0D 03 02 00 00 00 00 5B [12:45:19]Write i2c OK [12:45:19]MH_I2C_Read... [12:45:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:45:19]Read from MH i2c: E2 [12:45:19]MH_I2C_Read... [12:45:19]Read from MH i2c: E2 0B 00 [12:45:19]MH_I2C_Read... [12:45:19]Read from MH i2c: E2 0B 00 D3 0D 00 98 4B 43 ED 26 83 01 D7 90 00 F0 [12:45:19]RAPDU: 98 4B 43 ED 26 83 01 D7 90 00 [12:45:19]wFMCommunicate OK [12:45:19]SAM_PROTO_SignData done [12:45:19]FM_MakeSignedData done [12:45:19]CreateOFDProtocolMessage [12:45:19]wFMCommunicate request_size=4 [12:45:19]MH_SAM_APDU [12:45:19]CAPDU: 80 11 00 00 [12:45:19]Write to MH i2c: E2 08 00 D4 0D 80 11 00 00 00 00 00 00 5B [12:45:19]Write i2c OK [12:45:19]MH_I2C_Read... [12:45:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:45:19]Read from MH i2c: E2 [12:45:19]MH_I2C_Read... [12:45:19]Read from MH i2c: E2 17 00 [12:45:19]MH_I2C_Read... [12:45:19]Read from MH i2c: E2 17 00 D4 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 B0 [12:45:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [12:45:19]wFMCommunicate OK [12:45:19]CreateOFDProtocolMessage done [12:45:19]OFDSenderStorePacket 32426 [12:45:19]StoreOFDPacket docnum=32426 [12:45:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 27 01 00 00 22 BA 1F 01 4B 02 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 61 65 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 AA 7E 00 00 35 04 06 00 23 A4 46 3F 21 C3 98 4B 43 ED 26 83 01 D7 [12:45:19]CheckFolder [12:45:19]dirname=/storage/ofd_packets [12:45:19]CheckFolder done [12:45:19]ProducePacketName [12:45:19]name=ofd_packets/00032426 [12:45:19]NVStorageSaveData ofd_packets/00032426 [12:45:19]File name is /storage/ofd_packets/00032426 [12:45:19]Write 325 bytes [12:45:19]NVStorageSaveData done [12:45:19]OFDSenderStorePacket done [12:45:19]KKMCreateOFDPacket done [12:45:19]NVStorageSaveData kkm_last_timestamp [12:45:19]File name is /storage/kkm_last_timestamp [12:45:19]Write 4 bytes [12:45:19]NVStorageSaveData done [12:45:19]ExternCall_PrintAddStr [12:45:19]wPrintStart [12:45:19]Write to MH i2c: 01 00 00 D5 0D E2 [12:45:19]Write i2c OK [12:45:19]MH_I2C_Read... [12:45:19]Read from MH i2c: 01 [12:45:19]MH_I2C_Read... [12:45:19]Read from MH i2c: 01 07 00 [12:45:19]MH_I2C_Read... [12:45:19]Read from MH i2c: 01 07 00 D5 0D 00 00 00 00 00 FF 0F F7 [12:45:19]RasterBufferAndPrint [12:45:19]line Счет N : (3)58581 [12:45:19]line ИНН: 02508201610067 [12:45:19]line Контрольно-Кассовый Чек [12:45:19]line ПРОДАЖА [12:45:19]line Товар: 48743587 [12:45:19]line Сигареты Winston XStyle Silver [12:45:19]line 1.000 * 135.00 [12:45:19]line = 135.00 [12:45:19]line НДС 12% НСП 1% [12:45:19]line > о реализуемом товаре [12:45:19]line ИТОГО: 135.00 [12:45:19]line НСП 1% : 1.19 [12:45:19]line НДС 12% : 14.34 [12:45:19]line Наличными: 135.00 [12:45:19]line Безнал.: 0.00 [12:45:19]line Место: АЗС № 99 "Партнер Нефть" [12:45:19]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [12:45:19]line СНО: Общий режим [12:45:19]line Чек 42 06.03.2024 12:45 [12:45:19]line Смена: 284 ФФД: 1.0 [12:45:19]line ЗНМ: 0300000074 [12:45:19]line РНМ: 0000000000092554 [12:45:19]line Версия ККМ: 001 [12:45:19]line ФМ: 0000000000871783 [12:45:19]line ФД: 32426 [12:45:19]line ФПД: 39188460151235 [12:45:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T124521&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32426&fm=39188460151235&tin=02508201610067®Number=0000000000092554&sum=13500 [12:45:20]line 0 [12:45:20]OFD Sender: Processing packet 32426 [packets to send 5, broken 4] [12:45:20]ProducePacketName [12:45:20]name=ofd_packets/00032426 [12:45:20]OFD Sender: To server: pG, [12:45:20]CommunicateWithHost lk.salyk.kg:30040 [12:45:20]ConnectInit lk.salyk.kg [12:45:20]written 0, free lines is 4095 [12:45:20]Connected sock=10 [12:45:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 27 01 00 00 22 BA 1F 01 4B 02 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 61 65 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 AA 7E 00 00 35 04 06 00 23 A4 46 3F 21 C3 98 4B 43 ED 26 83 01 D7 [12:45:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 73 95 47 00 D3 BB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 AA 7E 00 00 F4 03 04 00 99 0D E8 65 B6 04 01 00 00 F7 6B 7D 22 97 B3 EC 8D [12:45:20]CommunicateWithHost err = 0 [12:45:20]CheckOFDResponse [12:45:20]1017 (14) - 77093643461234 [12:45:20]1041 (16) - 0000000000871783 [12:45:20]1040 (4) - 32426 [12:45:20]1012 (4) - 06.03.2024 06:30 [12:45:20]1206 (1) - 0 [12:45:20]OFD Sender: Remove packet 32426 [12:45:20]ProducePacketName [12:45:20]name=ofd_packets/00032426 [12:45:20]NVStorageDeleteData [12:45:20]Write to MH i2c: 01 00 00 FE 0D 0B [12:45:20]Write i2c OK [12:45:20]MH_I2C_Read... [12:45:20]Read from MH i2c: 01 [12:45:20]MH_I2C_Read... [12:45:20]Read from MH i2c: 01 07 00 [12:45:20]MH_I2C_Read... [12:45:20]Read from MH i2c: 01 07 00 FE 0D 00 00 00 00 00 C3 0C E1 [12:45:20]RasterBufferAndPrint [12:45:20]line [12:45:20]line [12:45:20]line [12:45:20]line [12:45:20]line [12:45:20]written 0, free lines is 3271 [12:45:20]MH_Cut [12:45:20]Write to MH i2c: D1 01 00 05 0E 01 E5 [12:45:20]Write i2c OK [12:45:20]MH_I2C_Read... [12:45:20]Read from MH i2c: D1 [12:45:20]MH_I2C_Read... [12:45:20]Read from MH i2c: D1 01 00 [12:45:20]MH_I2C_Read... [12:45:20]Read from MH i2c: D1 01 00 05 0E 00 E4 [12:45:20]Write to MH i2c: 01 00 00 06 0E 14 [12:45:20]Write i2c OK [12:45:20]MH_I2C_Read... [12:45:20]OFD Sender: No OFD packet to send [12:45:21]*** Cut start [12:45:21]*** Partial cut [12:45:21]*** CUTSNS_PIN = 1 [12:45:21]*** CUTSNS_PIN = 0 [12:45:21]*** Brake cut motor [12:45:21]Read from MH i2c: 01 [12:45:21]MH_I2C_Read... [12:45:21]Read from MH i2c: 01 07 00 [12:45:21]MH_I2C_Read... [12:45:21]*** Stop cut motor [12:45:21]*** Cut end [12:45:21]Read from MH i2c: 01 07 00 06 0E 00 00 00 00 00 FF 0F 29 [12:45:21]process_action close_receipt done [12:45:21]requested_data is exist [12:45:21]produce_requested_data [12:45:21]requested_item fm.sn is exist - process it [12:45:21]wFMCommunicate request_size=4 [12:45:21]MH_SAM_APDU [12:45:21]CAPDU: 80 11 00 00 [12:45:21]Write to MH i2c: E2 08 00 07 0E 80 11 00 00 00 00 00 00 8F [12:45:21]Write i2c OK [12:45:21]MH_I2C_Read... [12:45:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:45:22]Read from MH i2c: E2 [12:45:22]MH_I2C_Read... [12:45:22]Read from MH i2c: E2 17 00 [12:45:22]MH_I2C_Read... [12:45:22]Read from MH i2c: E2 17 00 07 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 E4 [12:45:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [12:45:22]wFMCommunicate OK [12:45:22]requested_item fd.num is exist - process it [12:45:22]SAM_PROTO_GetFieldsCounters [12:45:22]wFMCommunicate request_size=4 [12:45:22]MH_SAM_APDU [12:45:22]CAPDU: 80 13 00 00 [12:45:22]Write to MH i2c: E2 08 00 08 0E 80 13 00 00 00 00 00 00 92 [12:45:22]Write i2c OK [12:45:22]MH_I2C_Read... [12:45:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:45:22]Read from MH i2c: E2 [12:45:22]MH_I2C_Read... [12:45:22]Read from MH i2c: E2 62 00 [12:45:22]MH_I2C_Read... [12:45:22]Read from MH i2c: E2 62 00 08 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 AA 7E 00 00 0E 04 04 00 1C 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 78 [12:45:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 AA 7E 00 00 0E 04 04 00 1C 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 [12:45:22]wFMCommunicate OK [12:45:22]SAM_PROTO_GetFieldsCounters done [12:45:22]requested_item shift.num is exist - process it [12:45:22]requested_item shift.opened is exist - process it [12:45:22]req_shift_opened [12:45:22]FM_GetShiftState [12:45:22]SAM_PROTO_GetShiftState [12:45:22]wFMCommunicate request_size=4 [12:45:22]MH_SAM_APDU [12:45:22]CAPDU: 80 13 01 00 [12:45:22]Write to MH i2c: E2 08 00 09 0E 80 13 01 00 00 00 00 00 94 [12:45:22]Write i2c OK [12:45:22]MH_I2C_Read... [12:45:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:45:22]Read from MH i2c: E2 [12:45:22]MH_I2C_Read... [12:45:22]Read from MH i2c: E2 0E 00 [12:45:22]MH_I2C_Read... [12:45:22]Read from MH i2c: E2 0E 00 09 0E 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 11 [12:45:22]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [12:45:22]wFMCommunicate OK [12:45:22]SAM_PROTO_GetShiftState done [12:45:22]FM_GetShiftState done [12:45:22]req_shift_opened done [12:45:22]requested_item shift.open_date is exist - process it [12:45:22]req_shift_open_date [12:45:22]req_shift_open_date done [12:45:22]produce_requested_data done [12:45:22]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32426,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [12:45:22]process_action_free close_receipt [12:45:22]json_value_free [12:45:22]json_value_free done [12:45:22]process_json_proto returns [12:45:22]Send response to host [12:45:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32426,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [12:45:22]free response buf [12:45:22]execute_script done [12:45:22]execute_script returns [12:45:22]free content buf [12:45:22]Sock 8.Close socket [12:45:22]Sock 8.Thread stoped [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:36]OFD Sender: No OFD packet to send [12:47:41]OFD Sender: No OFD packet to send [12:47:46]OFD Sender: No OFD packet to send [12:47:51]OFD Sender: No OFD packet to send [12:47:56]OFD Sender: No OFD packet to send [12:48:01]OFD Sender: No OFD packet to send [12:48:06]OFD Sender: No OFD packet to send [12:48:11]OFD Sender: No OFD packet to send [12:48:16]OFD Sender: No OFD packet to send [12:48:21]OFD Sender: No OFD packet to send [12:48:26]OFD Sender: No OFD packet to send [12:48:31]OFD Sender: No OFD packet to send [12:48:36]OFD Sender: No OFD packet to send [12:48:41]OFD Sender: No OFD packet to send [12:48:45]accept exits with 9 [12:48:45]New connection [12:48:45]New thread 3066932580 created [12:48:45]Thread 3067075940 joined [12:48:45]Waiting for new connection... [12:48:45] Sock 9.Parse request [12:48:45]Sock 9.Check first char [12:48:45]Sock 9.First char is OK [12:48:45]request: POST /json_proto HTTP/1.0 [12:48:45]Method: POST [12:48:45]URL: /json_proto [12:48:45]Method is POST - this is cgi request [12:48:45]url: /json_proto [12:48:45]query_string will be loaded in cgi processing [12:48:45]execute_cgi json_proto POST (null) [12:48:45]execute_cgi path=json_proto method=POST [12:48:45]POST find Content-Length [12:48:45]Host: 172.17.61.6:8080 [12:48:45]Content-Length: 620 [12:48:45]Content-Type: application/json [12:48:45] [12:48:45]POST finish read [12:48:45]Found Content-Length = 620 [12:48:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58582", "tax_sys" : 0, "items" : [ { "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:48:45]execute_script... [12:48: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)58582", "tax_sys" : 0, "items" : [ { "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:48:45]POST & json_proto [12:48:45]process_json_proto [12:48:45]json parsed OK: [12:48:45]protocol is kg_v1.0 [12:48:45]action value=close_receipt [12:48:45]process_action close_receipt [12:48:45]cmd_close_receipt [12:48:45]MH_GetDate [12:48:45]Write to MH i2c: F0 00 00 0A 0E 07 [12:48:45]Write i2c OK [12:48:45]MH_I2C_Read... [12:48:45]Read from MH i2c: F0 [12:48:45]MH_I2C_Read... [12:48:45]Read from MH i2c: F0 09 00 [12:48:45]MH_I2C_Read... [12:48:45]Read from MH i2c: F0 09 00 0A 0E 00 30 66 E8 65 78 7F 6F 64 BD [12:48:45]GetLastDocTimeStamp 1709729121 [12:48:45]current date 1709729328 [12:48:45]FM_GetShiftState [12:48:45]SAM_PROTO_GetShiftState [12:48:45]wFMCommunicate request_size=4 [12:48:45]MH_SAM_APDU [12:48:45]CAPDU: 80 13 01 00 [12:48:45]Write to MH i2c: E2 08 00 0B 0E 80 13 01 00 00 00 00 00 96 [12:48:45]Write i2c OK [12:48:45]MH_I2C_Read... [12:48:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:48:45]Read from MH i2c: E2 [12:48:45]MH_I2C_Read... [12:48:45]Read from MH i2c: E2 0E 00 [12:48:45]MH_I2C_Read... [12:48:45]Read from MH i2c: E2 0E 00 0B 0E 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 13 [12:48:45]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [12:48:45]wFMCommunicate OK [12:48:45]SAM_PROTO_GetShiftState done [12:48:45]FM_GetShiftState done [12:48:45]opened in 1709684590 [12:48:45]opened+sec_in_day 1709770990 [12:48:45]quantity*price = 12500 [12:48:45]sum+1 = 12501 [12:48:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 43 06.03.2024 12:48 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32427 ФПД: 184540966199657 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T124849&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32427&fm=184540966199657&tin=02508201610067®Number=0000000000092554&sum=12500 0 [12:48:47]StoreToDocumentArchive [12:48:47]shift 284 fd 32427 [12:48:47]save to /storage/0284/doc_00032427 [12:48:47]save last doc name /storage/0284/doc_00032427 to /storage/kkm_last_doc_name [12:48:47]save OK [12:48:47]Clear old archive folders... [12:48:47]ProcessDocumentItem done err = 0, tmpTLVsize=273 [12:48:47]tlvbuf is 0169D850 [12:48:47]SAM_PROTO_ClearQueue [12:48:47]wFMCommunicate request_size=4 [12:48:47]MH_SAM_APDU [12:48:47]CAPDU: 80 09 00 00 [12:48:47]Write to MH i2c: E2 08 00 18 0E 80 09 00 00 00 00 00 00 98 [12:48:47]Write i2c OK [12:48:47]MH_I2C_Read... [12:48:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:48:47]Read from MH i2c: E2 [12:48:47]MH_I2C_Read... [12:48:47]Read from MH i2c: E2 03 00 [12:48:47]MH_I2C_Read... [12:48:47]Read from MH i2c: E2 03 00 18 0E 00 90 00 9A [12:48:47]RAPDU: 90 00 [12:48:47]wFMCommunicate OK [12:48:47]SAM_PROTO_ClearQueue done [12:48:47]KKMCreateOFDPacket [12:48:47]OFDProtocolAddRootSTLVToBuf [12:48:47]FM_MakeSignedData [12:48:47]FM_MakeSignedData [12:48:47]SAM_PROTO_SignData [12:48:47]wFMCommunicate request_size=4 [12:48:47]MH_SAM_APDU [12:48:47]CAPDU: 80 0D 01 02 [12:48:47]Write to MH i2c: E2 08 00 19 0E 80 0D 01 02 00 00 00 00 A0 [12:48:47]Write i2c OK [12:48:47]MH_I2C_Read... [12:48:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:48:47]Read from MH i2c: E2 [12:48:47]MH_I2C_Read... [12:48:47]Read from MH i2c: E2 03 00 [12:48:47]MH_I2C_Read... [12:48:47]Read from MH i2c: E2 03 00 19 0E 00 90 00 9B [12:48:47]RAPDU: 90 00 [12:48:47]wFMCommunicate OK [12:48:47]wFMCommunicate request_size=255 [12:48:47]MH_SAM_APDU [12:48:47]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 31 66 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 [12:48:47]Write to MH i2c: E2 02 01 1A 0E 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 31 66 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 00 00 B5 [12:48:47]Write i2c OK [12:48:47]MH_I2C_Read... [12:48:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:48:47]Read from MH i2c: E2 [12:48:47]MH_I2C_Read... [12:48:47]Read from MH i2c: E2 03 00 [12:48:47]MH_I2C_Read... [12:48:47]Read from MH i2c: E2 03 00 1A 0E 00 90 00 9C [12:48:47]RAPDU: 90 00 [12:48:47]wFMCommunicate OK [12:48:47]wFMCommunicate request_size=32 [12:48:47]MH_SAM_APDU [12:48:47]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 37 38 33 10 04 04 00 AB 7E 00 00 35 04 06 00 A7 D6 CA BC A1 69 [12:48:47]Write to MH i2c: E2 23 00 1B 0E 80 0D 02 02 1B 00 30 30 30 38 37 31 37 38 33 10 04 04 00 AB 7E 00 00 35 04 06 00 A7 D6 CA BC A1 69 00 00 38 [12:48:47]Write i2c OK [12:48:47]MH_I2C_Read... [12:48:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:48:47]Read from MH i2c: E2 [12:48:47]MH_I2C_Read... [12:48:47]Read from MH i2c: E2 03 00 [12:48:47]MH_I2C_Read... [12:48:47]Read from MH i2c: E2 03 00 1B 0E 00 90 00 9D [12:48:47]RAPDU: 90 00 [12:48:47]wFMCommunicate OK [12:48:47]wFMCommunicate request_size=4 [12:48:47]MH_SAM_APDU [12:48:47]CAPDU: 80 0D 03 02 [12:48:47]Write to MH i2c: E2 08 00 1C 0E 80 0D 03 02 00 00 00 00 A5 [12:48:47]Write i2c OK [12:48:47]MH_I2C_Read... [12:48:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:48:47]Read from MH i2c: E2 [12:48:47]MH_I2C_Read... [12:48:47]Read from MH i2c: E2 0B 00 [12:48:47]MH_I2C_Read... [12:48:47]Read from MH i2c: E2 0B 00 1C 0E 00 DC 54 78 E3 27 C7 28 9C 90 00 E3 [12:48:47]RAPDU: DC 54 78 E3 27 C7 28 9C 90 00 [12:48:47]wFMCommunicate OK [12:48:47]SAM_PROTO_SignData done [12:48:47]FM_MakeSignedData done [12:48:47]CreateOFDProtocolMessage [12:48:47]wFMCommunicate request_size=4 [12:48:47]MH_SAM_APDU [12:48:47]CAPDU: 80 11 00 00 [12:48:47]Write to MH i2c: E2 08 00 1D 0E 80 11 00 00 00 00 00 00 A5 [12:48:47]Write i2c OK [12:48:47]MH_I2C_Read... [12:48:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:48:47]Read from MH i2c: E2 [12:48:47]MH_I2C_Read... [12:48:47]Read from MH i2c: E2 17 00 [12:48:47]MH_I2C_Read... [12:48:47]Read from MH i2c: E2 17 00 1D 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 FA [12:48:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [12:48:47]wFMCommunicate OK [12:48:47]CreateOFDProtocolMessage done [12:48:47]OFDSenderStorePacket 32427 [12:48:47]StoreOFDPacket docnum=32427 [12:48:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 25 01 00 00 29 A8 1D 01 E8 44 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 31 66 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 AB 7E 00 00 35 04 06 00 A7 D6 CA BC A1 69 DC 54 78 E3 27 C7 28 9C [12:48:47]CheckFolder [12:48:47]dirname=/storage/ofd_packets [12:48:47]CheckFolder done [12:48:47]ProducePacketName [12:48:47]name=ofd_packets/00032427 [12:48:47]NVStorageSaveData ofd_packets/00032427 [12:48:47]File name is /storage/ofd_packets/00032427 [12:48:47]Write 323 bytes [12:48:47]NVStorageSaveData done [12:48:47]OFDSenderStorePacket done [12:48:47]KKMCreateOFDPacket done [12:48:47]NVStorageSaveData kkm_last_timestamp [12:48:47]File name is /storage/kkm_last_timestamp [12:48:47]Write 4 bytes [12:48:47]NVStorageSaveData done [12:48:47]ExternCall_PrintAddStr [12:48:47]wPrintStart [12:48:47]Write to MH i2c: 01 00 00 1E 0E 2C [12:48:47]Write i2c OK [12:48:47]MH_I2C_Read... [12:48:47]Read from MH i2c: 01 [12:48:47]MH_I2C_Read... [12:48:47]Read from MH i2c: 01 07 00 [12:48:47]MH_I2C_Read... [12:48:47]Read from MH i2c: 01 07 00 1E 0E 00 00 00 00 00 FF 0F 41 [12:48:47]RasterBufferAndPrint [12:48:47]line Счет N : (3)58582 [12:48:47]line ИНН: 02508201610067 [12:48:47]line Контрольно-Кассовый Чек [12:48:47]line ПРОДАЖА [12:48:47]line Товар: 4780014240406 [12:48:47]line Сигареты Sovereign Blue [12:48:47]line 1.000 * 125.00 [12:48:47]line = 125.00 [12:48:47]line НДС 12% НСП 1% [12:48:47]line > о реализуемом товаре [12:48:47]line ИТОГО: 125.00 [12:48:47]line НСП 1% : 1.11 [12:48:47]line НДС 12% : 13.27 [12:48:47]line Наличными: 125.00 [12:48:47]line Безнал.: 0.00 [12:48:47]line Место: АЗС № 99 "Партнер Нефть" [12:48:47]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [12:48:47]line СНО: Общий режим [12:48:47]line Чек 43 06.03.2024 12:48 [12:48:47]line Смена: 284 ФФД: 1.0 [12:48:47]line ЗНМ: 0300000074 [12:48:47]line РНМ: 0000000000092554 [12:48:47]line Версия ККМ: 001 [12:48:47]line ФМ: 0000000000871783 [12:48:47]line ФД: 32427 [12:48:47]line ФПД: 184540966199657 [12:48:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T124849&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32427&fm=184540966199657&tin=02508201610067®Number=0000000000092554&sum=12500 [12:48:47]line 0 [12:48:47]OFD Sender: Processing packet 32427 [packets to send 5, broken 4] [12:48:47]ProducePacketName [12:48:47]name=ofd_packets/00032427 [12:48:47]OFD Sender: To server: pG, [12:48:47]CommunicateWithHost lk.salyk.kg:30040 [12:48:47]ConnectInit lk.salyk.kg [12:48:47]written 0, free lines is 4095 [12:48:48]Connected sock=10 [12:48:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 25 01 00 00 29 A8 1D 01 E8 44 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 31 66 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 AB 7E 00 00 35 04 06 00 A7 D6 CA BC A1 69 DC 54 78 E3 27 C7 28 9C [12:48:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 38 C5 47 00 8F F4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 AB 7E 00 00 F4 03 04 00 69 0E E8 65 B6 04 01 00 00 8A 27 F1 D2 3A 71 CE DB [12:48:48]CommunicateWithHost err = 0 [12:48:48]CheckOFDResponse [12:48:48]1017 (14) - 77093643461234 [12:48:48]1041 (16) - 0000000000871783 [12:48:48]1040 (4) - 32427 [12:48:48]1012 (4) - 06.03.2024 06:34 [12:48:48]1206 (1) - 0 [12:48:48]OFD Sender: Remove packet 32427 [12:48:48]ProducePacketName [12:48:48]name=ofd_packets/00032427 [12:48:48]NVStorageDeleteData [12:48:48]Write to MH i2c: 01 00 00 46 0E 54 [12:48:48]Write i2c OK [12:48:48]MH_I2C_Read... [12:48:48]Read from MH i2c: 01 [12:48:48]MH_I2C_Read... [12:48:48]Read from MH i2c: 01 07 00 [12:48:48]MH_I2C_Read... [12:48:48]Read from MH i2c: 01 07 00 46 0E 00 00 00 00 00 D2 0C 39 [12:48:48]RasterBufferAndPrint [12:48:48]line [12:48:48]line [12:48:48]line [12:48:48]line [12:48:48]line [12:48:48]written 0, free lines is 3289 [12:48:48]MH_Cut [12:48:48]Write to MH i2c: D1 01 00 4D 0E 01 2D [12:48:48]Write i2c OK [12:48:48]MH_I2C_Read... [12:48:48]Read from MH i2c: D1 [12:48:48]MH_I2C_Read... [12:48:48]Read from MH i2c: D1 01 00 [12:48:48]MH_I2C_Read... [12:48:48]Read from MH i2c: D1 01 00 4D 0E 00 2C [12:48:48]Write to MH i2c: 01 00 00 4E 0E 5C [12:48:48]Write i2c OK [12:48:48]MH_I2C_Read... [12:48:48]OFD Sender: No OFD packet to send [12:48:49]*** Cut start [12:48:49]*** Partial cut [12:48:49]*** CUTSNS_PIN = 1 [12:48:49]*** CUTSNS_PIN = 0 [12:48:49]*** Brake cut motor [12:48:49]Read from MH i2c: 01 [12:48:49]MH_I2C_Read... [12:48:49]*** Stop cut motor [12:48:49]*** Cut end [12:48:49]Read from MH i2c: 01 07 00 [12:48:49]MH_I2C_Read... [12:48:49]Read from MH i2c: 01 07 00 4E 0E 00 00 00 00 00 FF 0F 71 [12:48:49]process_action close_receipt done [12:48:49]requested_data is exist [12:48:49]produce_requested_data [12:48:49]requested_item fm.sn is exist - process it [12:48:49]wFMCommunicate request_size=4 [12:48:49]MH_SAM_APDU [12:48:49]CAPDU: 80 11 00 00 [12:48:49]Write to MH i2c: E2 08 00 4F 0E 80 11 00 00 00 00 00 00 D7 [12:48:49]Write i2c OK [12:48:49]MH_I2C_Read... [12:48:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:48:49]Read from MH i2c: E2 [12:48:49]MH_I2C_Read... [12:48:49]Read from MH i2c: E2 17 00 [12:48:49]MH_I2C_Read... [12:48:49]Read from MH i2c: E2 17 00 4F 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 2C [12:48:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [12:48:49]wFMCommunicate OK [12:48:49]requested_item fd.num is exist - process it [12:48:49]SAM_PROTO_GetFieldsCounters [12:48:49]wFMCommunicate request_size=4 [12:48:49]MH_SAM_APDU [12:48:49]CAPDU: 80 13 00 00 [12:48:49]Write to MH i2c: E2 08 00 50 0E 80 13 00 00 00 00 00 00 DA [12:48:49]Write i2c OK [12:48:49]MH_I2C_Read... [12:48:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:48:50]Read from MH i2c: E2 [12:48:50]MH_I2C_Read... [12:48:50]Read from MH i2c: E2 62 00 [12:48:50]MH_I2C_Read... [12:48:50]Read from MH i2c: E2 62 00 50 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 AB 7E 00 00 0E 04 04 00 1C 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 C4 [12:48:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 AB 7E 00 00 0E 04 04 00 1C 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 [12:48:50]wFMCommunicate OK [12:48:50]SAM_PROTO_GetFieldsCounters done [12:48:50]requested_item shift.num is exist - process it [12:48:50]requested_item shift.opened is exist - process it [12:48:50]req_shift_opened [12:48:50]FM_GetShiftState [12:48:50]SAM_PROTO_GetShiftState [12:48:50]wFMCommunicate request_size=4 [12:48:50]MH_SAM_APDU [12:48:50]CAPDU: 80 13 01 00 [12:48:50]Write to MH i2c: E2 08 00 51 0E 80 13 01 00 00 00 00 00 DC [12:48:50]Write i2c OK [12:48:50]MH_I2C_Read... [12:48:50]Read from MH i2c: E2 [12:48:50]MH_I2C_Read... [12:48:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:48:50]Read from MH i2c: E2 0E 00 [12:48:50]MH_I2C_Read... [12:48:50]Read from MH i2c: E2 0E 00 51 0E 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 59 [12:48:50]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [12:48:50]wFMCommunicate OK [12:48:50]SAM_PROTO_GetShiftState done [12:48:50]FM_GetShiftState done [12:48:50]req_shift_opened done [12:48:50]requested_item shift.open_date is exist - process it [12:48:50]req_shift_open_date [12:48:50]req_shift_open_date done [12:48:50]produce_requested_data done [12:48:50]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32427,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [12:48:50]process_action_free close_receipt [12:48:50]json_value_free [12:48:50]json_value_free done [12:48:50]process_json_proto returns [12:48:50]Send response to host [12:48:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32427,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [12:48:50]free response buf [12:48:50]execute_script done [12:48:50]execute_script returns [12:48:50]free content buf [12:48:50]Sock 9.Close socket [12:48:50]Sock 9.Thread stoped [12:48:53]OFD Sender: No OFD packet to send [12:48:58]OFD Sender: No OFD packet to send [12:49:03]OFD Sender: No OFD packet to send [12:49:08]OFD Sender: No OFD packet to send [12:49:13]OFD Sender: No OFD packet to send [12:49:18]OFD Sender: No OFD packet to send [12:49:23]OFD Sender: No OFD packet to send [12:49:28]OFD Sender: No OFD packet to send [12:49:33]OFD Sender: No OFD packet to send [12:49:38]OFD Sender: No OFD packet to send [12:49:43]OFD Sender: No OFD packet to send [12:49:48]OFD Sender: No OFD packet to send [12:49:53]OFD Sender: No OFD packet to send [12:49:58]OFD Sender: No OFD packet to send [12:50:03]OFD Sender: No OFD packet to send [12:50:08]OFD Sender: No OFD packet to send [12:50:13]OFD Sender: No OFD packet to send [12:50:18]OFD Sender: No OFD packet to send [12:50:23]OFD Sender: No OFD packet to send [12:50:28]OFD Sender: No OFD packet to send [12:50:33]OFD Sender: No OFD packet to send [12:50:38]OFD Sender: No OFD packet to send [12:50:43]OFD Sender: No OFD packet to send [12:50:48]OFD Sender: No OFD packet to send [12:50:53]OFD Sender: No OFD packet to send [12:50:58]OFD Sender: No OFD packet to send [12:51:03]OFD Sender: No OFD packet to send [12:51:08]OFD Sender: No OFD packet to send [12:51:13]OFD Sender: No OFD packet to send [12:51:18]OFD Sender: No OFD packet to send [12:51:23]OFD Sender: No OFD packet to send [12:51:28]OFD Sender: No OFD packet to send [12:51:33]OFD Sender: No OFD packet to send [12:51:38]OFD Sender: No OFD packet to send [12:51:43]OFD Sender: No OFD packet to send [12:51:48]OFD Sender: No OFD packet to send [12:51:53]OFD Sender: No OFD packet to send [12:51:58]OFD Sender: No OFD packet to send [12:52:03]OFD Sender: No OFD packet to send [12:52:08]OFD Sender: No OFD packet to send [12:52:13]OFD Sender: No OFD packet to send [12:52:18]OFD Sender: No OFD packet to send [12:52:23]OFD Sender: No OFD packet to send [12:52:28]OFD Sender: No OFD packet to send [12:52:33]OFD Sender: No OFD packet to send [12:52:38]OFD Sender: No OFD packet to send [12:52:43]OFD Sender: No OFD packet to send [12:52:48]OFD Sender: No OFD packet to send [12:52:53]OFD Sender: No OFD packet to send [12:52:58]OFD Sender: No OFD packet to send [12:53:03]OFD Sender: No OFD packet to send [12:53:08]OFD Sender: No OFD packet to send [12:53:13]OFD Sender: No OFD packet to send [12:53:18]OFD Sender: No OFD packet to send [12:53:23]OFD Sender: No OFD packet to send [12:53:28]OFD Sender: No OFD packet to send [12:53:33]OFD Sender: No OFD packet to send [12:53:38]OFD Sender: No OFD packet to send [12:53:43]OFD Sender: No OFD packet to send [12:53:49]OFD Sender: No OFD packet to send [12:53:54]OFD Sender: No OFD packet to send [12:53:59]OFD Sender: No OFD packet to send [12:54:04]OFD Sender: No OFD packet to send [12:54:09]OFD Sender: No OFD packet to send [12:54:14]OFD Sender: No OFD packet to send [12:54:19]OFD Sender: No OFD packet to send [12:54:24]OFD Sender: No OFD packet to send [12:54:29]OFD Sender: No OFD packet to send [12:54:34]OFD Sender: No OFD packet to send [12:54:39]OFD Sender: No OFD packet to send [12:54:44]OFD Sender: No OFD packet to send [12:54:49]OFD Sender: No OFD packet to send [12:54:54]OFD Sender: No OFD packet to send [12:54:59]OFD Sender: No OFD packet to send [12:55:04]OFD Sender: No OFD packet to send [12:55:09]OFD Sender: No OFD packet to send [12:55:14]OFD Sender: No OFD packet to send [12:55:19]OFD Sender: No OFD packet to send [12:55:24]OFD Sender: No OFD packet to send [12:55:29]OFD Sender: No OFD packet to send [12:55:34]OFD Sender: No OFD packet to send [12:55:39]OFD Sender: No OFD packet to send [12:55:44]OFD Sender: No OFD packet to send [12:55:49]OFD Sender: No OFD packet to send [12:55:54]OFD Sender: No OFD packet to send [12:55:59]OFD Sender: No OFD packet to send [12:56:04]OFD Sender: No OFD packet to send [12:56:09]OFD Sender: No OFD packet to send [12:56:14]OFD Sender: No OFD packet to send [12:56:19]OFD Sender: No OFD packet to send [12:56:24]OFD Sender: No OFD packet to send [12:56:29]OFD Sender: No OFD packet to send [12:56:34]OFD Sender: No OFD packet to send [12:56:39]OFD Sender: No OFD packet to send [12:56:44]OFD Sender: No OFD packet to send [12:56:49]OFD Sender: No OFD packet to send [12:56:54]OFD Sender: No OFD packet to send [12:56:59]OFD Sender: No OFD packet to send [12:57:04]OFD Sender: No OFD packet to send [12:57:09]OFD Sender: No OFD packet to send [12:57:14]OFD Sender: No OFD packet to send [12:57:19]OFD Sender: No OFD packet to send [12:57:24]OFD Sender: No OFD packet to send [12:57:29]OFD Sender: No OFD packet to send [12:57:34]OFD Sender: No OFD packet to send [12:57:39]OFD Sender: No OFD packet to send [12:57:44]OFD Sender: No OFD packet to send [12:57:49]OFD Sender: No OFD packet to send [12:57:54]OFD Sender: No OFD packet to send [12:57:59]OFD Sender: No OFD packet to send [12:58:04]OFD Sender: No OFD packet to send [12:58:09]OFD Sender: No OFD packet to send [12:58:14]OFD Sender: No OFD packet to send [12:58:19]OFD Sender: No OFD packet to send [12:58:24]OFD Sender: No OFD packet to send [12:58:29]OFD Sender: No OFD packet to send [12:58:34]OFD Sender: No OFD packet to send [12:58:39]OFD Sender: No OFD packet to send [12:58:44]OFD Sender: No OFD packet to send [12:58:49]OFD Sender: No OFD packet to send [12:58:54]OFD Sender: No OFD packet to send [12:58:59]OFD Sender: No OFD packet to send [12:59:04]OFD Sender: No OFD packet to send [12:59:09]OFD Sender: No OFD packet to send [12:59:14]OFD Sender: No OFD packet to send [12:59:19]OFD Sender: No OFD packet to send [12:59:24]OFD Sender: No OFD packet to send [12:59:29]OFD Sender: No OFD packet to send [12:59:34]OFD Sender: No OFD packet to send [12:59:39]OFD Sender: No OFD packet to send [12:59:44]OFD Sender: No OFD packet to send [12:59:49]OFD Sender: No OFD packet to send [12:59:54]OFD Sender: No OFD packet to send [12:59:58]accept exits with 8 [12:59:58]New connection [12:59:58]New thread 3067075940 created [12:59:58]Thread 3066932580 joined [12:59:58]Waiting for new connection... [12:59:58] Sock 8.Parse request [12:59:58]Sock 8.Check first char [12:59:58]Sock 8.First char is OK [12:59:58]request: POST /json_proto HTTP/1.0 [12:59:58]Method: POST [12:59:58]URL: /json_proto [12:59:58]Method is POST - this is cgi request [12:59:58]url: /json_proto [12:59:58]query_string will be loaded in cgi processing [12:59:58]execute_cgi json_proto POST (null) [12:59:58]execute_cgi path=json_proto method=POST [12:59:58]POST find Content-Length [12:59:58]Host: 172.17.61.6:8080 [12:59:58]Content-Length: 1174 [12:59:58]Content-Type: application/json [12:59:58] [12:59:58]POST finish read [12:59:58]Found Content-Length = 1174 [12:59:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58583", "tax_sys" : 0, "items" : [ { "code": "4700003010018", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.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" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5903111735524", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 WIND FRESH ( vanilla)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 300.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:59:58]execute_script... [12:59: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)58583", "tax_sys" : 0, "items" : [ { "code": "4700003010018", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.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" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5903111735524", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 WIND FRESH ( vanilla)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 300.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:59:58]POST & json_proto [12:59:58]process_json_proto [12:59:58]json parsed OK: [12:59:58]protocol is kg_v1.0 [12:59:58]action value=close_receipt [12:59:58]process_action close_receipt [12:59:58]cmd_close_receipt [12:59:58]MH_GetDate [12:59:58]Write to MH i2c: F0 00 00 52 0E 4F [12:59:58]Write i2c OK [12:59:58]MH_I2C_Read... [12:59:58]Read from MH i2c: F0 [12:59:58]MH_I2C_Read... [12:59:58]Read from MH i2c: F0 09 00 [12:59:58]MH_I2C_Read... [12:59:58]Read from MH i2c: F0 09 00 52 0E 00 D1 68 E8 65 78 7F 6F 64 A8 [12:59:58]GetLastDocTimeStamp 1709729329 [12:59:58]current date 1709730001 [12:59:58]FM_GetShiftState [12:59:58]SAM_PROTO_GetShiftState [12:59:58]wFMCommunicate request_size=4 [12:59:58]MH_SAM_APDU [12:59:58]CAPDU: 80 13 01 00 [12:59:58]Write to MH i2c: E2 08 00 53 0E 80 13 01 00 00 00 00 00 DE [12:59:58]Write i2c OK [12:59:58]MH_I2C_Read... [12:59:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:59:58]Read from MH i2c: E2 [12:59:58]MH_I2C_Read... [12:59:58]Read from MH i2c: E2 0E 00 [12:59:58]MH_I2C_Read... [12:59:58]Read from MH i2c: E2 0E 00 53 0E 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 5B [12:59:58]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [12:59:58]wFMCommunicate OK [12:59:58]SAM_PROTO_GetShiftState done [12:59:58]FM_GetShiftState done [12:59:58]opened in 1709684590 [12:59:58]opened+sec_in_day 1709770990 [12:59:58]quantity*price = 5000 [12:59:58]sum+1 = 5001 [12:59:58]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 135.00 = 135.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5903111735524 Ароматизатор WIND FRESH ( vanilla) 1.000 * 115.00 = 115.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 300.00 НСП 1% : 2.65 НДС 12% : 31.86 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 44 06.03.2024 13:00 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32428 ФПД: 223174609412069 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T130001&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32428&fm=223174609412069&tin=02508201610067®Number=0000000000092554&sum=30000 0 [12:59:59]StoreToDocumentArchive [12:59:59]shift 284 fd 32428 [12:59:59]save to /storage/0284/doc_00032428 [12:59:59]save last doc name /storage/0284/doc_00032428 to /storage/kkm_last_doc_name [12:59:59]save OK [12:59:59]Clear old archive folders... [12:59:59]ProcessDocumentItem done err = 0, tmpTLVsize=513 [12:59:59]tlvbuf is 01667B80 [12:59:59]SAM_PROTO_ClearQueue [12:59:59]wFMCommunicate request_size=4 [12:59:59]MH_SAM_APDU [12:59:59]CAPDU: 80 09 00 00 [12:59:59]Write to MH i2c: E2 08 00 60 0E 80 09 00 00 00 00 00 00 E0 [12:59:59]Write i2c OK [12:59:59]MH_I2C_Read... [12:59:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:59:59]Read from MH i2c: E2 [12:59:59]MH_I2C_Read... [12:59:59]Read from MH i2c: E2 03 00 [12:59:59]MH_I2C_Read... [12:59:59]Read from MH i2c: E2 03 00 60 0E 00 90 00 E2 [12:59:59]RAPDU: 90 00 [12:59:59]wFMCommunicate OK [12:59:59]SAM_PROTO_ClearQueue done [12:59:59]KKMCreateOFDPacket [12:59:59]OFDProtocolAddRootSTLVToBuf [12:59:59]FM_MakeSignedData [12:59:59]FM_MakeSignedData [12:59:59]SAM_PROTO_SignData [12:59:59]wFMCommunicate request_size=4 [12:59:59]MH_SAM_APDU [12:59:59]CAPDU: 80 0D 01 02 [12:59:59]Write to MH i2c: E2 08 00 61 0E 80 0D 01 02 00 00 00 00 E8 [12:59:59]Write i2c OK [12:59:59]MH_I2C_Read... [12:59:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:59:59]Read from MH i2c: E2 [12:59:59]MH_I2C_Read... [12:59:59]Read from MH i2c: E2 03 00 [12:59:59]MH_I2C_Read... [12:59:59]Read from MH i2c: E2 03 00 61 0E 00 90 00 E3 [12:59:59]RAPDU: 90 00 [12:59:59]wFMCommunicate OK [12:59:59]wFMCommunicate request_size=255 [12:59:59]MH_SAM_APDU [12:59:59]CAPDU: 80 0D 02 02 FA 03 00 01 02 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 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 30 2C 35 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 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 35 39 30 33 31 31 31 37 [13:00:00]Write to MH i2c: E2 02 01 62 0E 80 0D 02 02 FA 00 03 00 01 02 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 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 30 2C 35 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 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 35 39 30 33 31 31 31 37 00 00 04 [13:00:00]Write i2c OK [13:00:00]MH_I2C_Read... [13:00:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:00:00]Read from MH i2c: E2 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 03 00 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 03 00 62 0E 00 90 00 E4 [13:00:00]RAPDU: 90 00 [13:00:00]wFMCommunicate OK [13:00:00]wFMCommunicate request_size=255 [13:00:00]MH_SAM_APDU [13:00:00]CAPDU: 80 0D 02 02 FA 33 35 35 32 34 06 04 2E 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 57 49 4E 44 20 46 52 45 53 48 20 28 20 76 61 6E 69 6C 6C 61 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 D1 68 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 [13:00:00]Write to MH i2c: E2 02 01 63 0E 80 0D 02 02 FA 00 33 35 35 32 34 06 04 2E 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 57 49 4E 44 20 46 52 45 53 48 20 28 20 76 61 6E 69 6C 6C 61 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 D1 68 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 00 00 B4 [13:00:00]Write i2c OK [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 [13:00:00]MH_I2C_Read... [13:00:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:00:00]Read from MH i2c: E2 03 00 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 03 00 63 0E 00 90 00 E5 [13:00:00]RAPDU: 90 00 [13:00:00]wFMCommunicate OK [13:00:00]wFMCommunicate request_size=22 [13:00:00]MH_SAM_APDU [13:00:00]CAPDU: 80 0D 02 02 11 04 04 00 AC 7E 00 00 35 04 06 00 CA F9 E3 51 1F E5 [13:00:00]Write to MH i2c: E2 19 00 64 0E 80 0D 02 02 11 00 04 04 00 AC 7E 00 00 35 04 06 00 CA F9 E3 51 1F E5 00 00 7A [13:00:00]Write i2c OK [13:00:00]MH_I2C_Read... [13:00:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:00:00]Read from MH i2c: E2 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 03 00 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 03 00 64 0E 00 90 00 E6 [13:00:00]RAPDU: 90 00 [13:00:00]wFMCommunicate OK [13:00:00]wFMCommunicate request_size=4 [13:00:00]MH_SAM_APDU [13:00:00]CAPDU: 80 0D 03 02 [13:00:00]Write to MH i2c: E2 08 00 65 0E 80 0D 03 02 00 00 00 00 EE [13:00:00]Write i2c OK [13:00:00]MH_I2C_Read... [13:00:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:00:00]Read from MH i2c: E2 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 0B 00 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 0B 00 65 0E 00 C6 54 C5 1F 7B 3A 5C AB 90 00 A9 [13:00:00]RAPDU: C6 54 C5 1F 7B 3A 5C AB 90 00 [13:00:00]wFMCommunicate OK [13:00:00]SAM_PROTO_SignData done [13:00:00]FM_MakeSignedData done [13:00:00]CreateOFDProtocolMessage [13:00:00]wFMCommunicate request_size=4 [13:00:00]MH_SAM_APDU [13:00:00]CAPDU: 80 11 00 00 [13:00:00]Write to MH i2c: E2 08 00 66 0E 80 11 00 00 00 00 00 00 EE [13:00:00]Write i2c OK [13:00:00]MH_I2C_Read... [13:00:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:00:00]Read from MH i2c: E2 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 17 00 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 17 00 66 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 43 [13:00:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [13:00:00]wFMCommunicate OK [13:00:00]CreateOFDProtocolMessage done [13:00:00]OFDSenderStorePacket 32428 [13:00:00]StoreOFDPacket docnum=32428 [13:00:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 15 02 00 00 E1 F6 0D 02 D6 E9 5A 03 01 00 03 00 01 02 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 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 30 2C 35 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 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 35 39 30 33 31 31 31 37 33 35 35 32 34 06 04 2E 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 57 49 4E 44 20 46 52 45 53 48 20 28 20 76 61 6E 69 6C 6C 61 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 D1 68 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 AC 7E 00 00 35 04 06 00 CA F9 E3 51 1F E5 C6 54 C5 1F 7B 3A 5C AB [13:00:00]CheckFolder [13:00:00]dirname=/storage/ofd_packets [13:00:00]CheckFolder done [13:00:00]ProducePacketName [13:00:00]name=ofd_packets/00032428 [13:00:00]NVStorageSaveData ofd_packets/00032428 [13:00:00]File name is /storage/ofd_packets/00032428 [13:00:00]Write 563 bytes [13:00:00]NVStorageSaveData done [13:00:00]OFDSenderStorePacket done [13:00:00]KKMCreateOFDPacket done [13:00:00]NVStorageSaveData kkm_last_timestamp [13:00:00]File name is /storage/kkm_last_timestamp [13:00:00]Write 4 bytes [13:00:00]NVStorageSaveData done [13:00:00]ExternCall_PrintAddStr [13:00:00]wPrintStart [13:00:00]Write to MH i2c: 01 00 00 67 0E 75 [13:00:00]Write i2c OK [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: 01 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: 01 07 00 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: 01 07 00 67 0E 00 00 00 00 00 FF 0F 8A [13:00:00]RasterBufferAndPrint [13:00:00]line Счет N : (3)58583 [13:00:00]line ИНН: 02508201610067 [13:00:00]line Контрольно-Кассовый Чек [13:00:00]line ПРОДАЖА [13:00:00]line Товар: 4700003010018 [13:00:00]line Чай хол Let`s Go! зел лим ПЭТ 0,5л [13:00:00]line 1.000 * 50.00 [13:00:00]line = 50.00 [13:00:00]line НДС 12% НСП 1% [13:00:00]line > о реализуемом товаре [13:00:00]line Товар: 48743570 [13:00:00]line Сигареты Winston XStyle Blue [13:00:00]line 1.000 * 135.00 [13:00:00]line = 135.00 [13:00:00]line НДС 12% НСП 1% [13:00:00]line > о реализуемом товаре [13:00:00]line Товар: 5903111735524 [13:00:00]line Ароматизатор WIND FRESH ( vanilla) [13:00:00]line 1.000 * 115.00 [13:00:00]line = 115.00 [13:00:00]line НДС 12% НСП 1% [13:00:00]line > о реализуемом товаре [13:00:00]line ИТОГО: 300.00 [13:00:00]line НСП 1% : 2.65 [13:00:00]line НДС 12% : 31.86 [13:00:00]line Наличными: 300.00 [13:00:00]line Безнал.: 0.00 [13:00:00]line Место: АЗС № 99 "Партнер Нефть" [13:00:00]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [13:00:00]line СНО: Общий режим [13:00:00]line Чек 44 06.03.2024 13:00 [13:00:00]line Смена: 284 ФФД: 1.0 [13:00:00]line ЗНМ: 0300000074 [13:00:00]line РНМ: 0000000000092554 [13:00:00]line Версия ККМ: 001 [13:00:00]line ФМ: 0000000000871783 [13:00:00]line ФД: 32428 [13:00:00]line ФПД: 223174609412069 [13:00:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T130001&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32428&fm=223174609412069&tin=02508201610067®Number=0000000000092554&sum=30000 [13:00:01]line 0 [13:00:01]OFD Sender: Processing packet 32428 [packets to send 5, broken 4] [13:00:01]ProducePacketName [13:00:01]name=ofd_packets/00032428 [13:00:01]OFD Sender: To server: pG, [13:00:01]CommunicateWithHost lk.salyk.kg:30040 [13:00:01]ConnectInit lk.salyk.kg [13:00:01]written 0, free lines is 4095 [13:00:01]Connected sock=10 [13:00:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 15 02 00 00 E1 F6 0D 02 D6 E9 5A 03 01 00 03 00 01 02 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 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 30 2C 35 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 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 35 39 30 33 31 31 31 37 33 35 35 32 34 06 04 2E 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 57 49 4E 44 20 46 52 45 53 48 20 28 20 76 61 6E 69 6C 6C 61 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 D1 68 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 AC 7E 00 00 35 04 06 00 CA F9 E3 51 1F E5 C6 54 C5 1F 7B 3A 5C AB [13:00:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 8C 0F 47 00 17 51 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 AC 7E 00 00 F4 03 04 00 0A 11 E8 65 B6 04 01 00 00 F5 52 06 D5 AE C8 02 E5 [13:00:01]CommunicateWithHost err = 0 [13:00:01]CheckOFDResponse [13:00:01]1017 (14) - 77093643461234 [13:00:01]1041 (16) - 0000000000871783 [13:00:01]1040 (4) - 32428 [13:00:01]1012 (4) - 06.03.2024 06:45 [13:00:01]1206 (1) - 0 [13:00:01]OFD Sender: Remove packet 32428 [13:00:01]ProducePacketName [13:00:01]name=ofd_packets/00032428 [13:00:01]NVStorageDeleteData [13:00:01]Write to MH i2c: 01 00 00 9D 0E AB [13:00:01]Write i2c OK [13:00:01]MH_I2C_Read... [13:00:01]Read from MH i2c: 01 [13:00:01]MH_I2C_Read... [13:00:01]Read from MH i2c: 01 07 00 [13:00:01]MH_I2C_Read... [13:00:01]Read from MH i2c: 01 07 00 9D 0E 00 00 00 00 00 D9 0B 96 [13:00:01]RasterBufferAndPrint [13:00:01]line [13:00:01]line [13:00:01]line [13:00:01]line [13:00:01]line [13:00:01]written 0, free lines is 3037 [13:00:01]MH_Cut [13:00:01]Write to MH i2c: D1 01 00 A4 0E 01 84 [13:00:01]Write i2c OK [13:00:01]MH_I2C_Read... [13:00:01]Read from MH i2c: D1 [13:00:01]MH_I2C_Read... [13:00:01]Read from MH i2c: D1 01 00 [13:00:01]MH_I2C_Read... [13:00:01]Read from MH i2c: D1 01 00 A4 0E 00 83 [13:00:01]Write to MH i2c: 01 00 00 A5 0E B3 [13:00:01]Write i2c OK [13:00:01]MH_I2C_Read... [13:00:01]OFD Sender: No OFD packet to send [13:00:02]*** Cut start [13:00:02]*** Partial cut [13:00:02]*** CUTSNS_PIN = 1 [13:00:02]*** CUTSNS_PIN = 0 [13:00:02]*** Brake cut motor [13:00:03]Read from MH i2c: 01 [13:00:03]MH_I2C_Read... [13:00:03]*** Stop cut motor [13:00:03]*** Cut end [13:00:03]Read from MH i2c: 01 07 00 [13:00:03]MH_I2C_Read... [13:00:03]Read from MH i2c: 01 07 00 A5 0E 00 00 00 00 00 FF 0F C8 [13:00:03]process_action close_receipt done [13:00:03]requested_data is exist [13:00:03]produce_requested_data [13:00:03]requested_item fm.sn is exist - process it [13:00:03]wFMCommunicate request_size=4 [13:00:03]MH_SAM_APDU [13:00:03]CAPDU: 80 11 00 00 [13:00:03]Write to MH i2c: E2 08 00 A6 0E 80 11 00 00 00 00 00 00 2E [13:00:03]Write i2c OK [13:00:03]MH_I2C_Read... [13:00:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:00:03]Read from MH i2c: E2 [13:00:03]MH_I2C_Read... [13:00:03]Read from MH i2c: E2 17 00 [13:00:03]MH_I2C_Read... [13:00:03]Read from MH i2c: E2 17 00 A6 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 83 [13:00:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [13:00:03]wFMCommunicate OK [13:00:03]requested_item fd.num is exist - process it [13:00:03]SAM_PROTO_GetFieldsCounters [13:00:03]wFMCommunicate request_size=4 [13:00:03]MH_SAM_APDU [13:00:03]CAPDU: 80 13 00 00 [13:00:03]Write to MH i2c: E2 08 00 A7 0E 80 13 00 00 00 00 00 00 31 [13:00:03]Write i2c OK [13:00:03]MH_I2C_Read... [13:00:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:00:03]Read from MH i2c: E2 [13:00:03]MH_I2C_Read... [13:00:03]Read from MH i2c: E2 62 00 [13:00:03]MH_I2C_Read... [13:00:03]Read from MH i2c: E2 62 00 A7 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 AC 7E 00 00 0E 04 04 00 1C 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 1F [13:00:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 AC 7E 00 00 0E 04 04 00 1C 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 [13:00:03]wFMCommunicate OK [13:00:03]SAM_PROTO_GetFieldsCounters done [13:00:03]requested_item shift.num is exist - process it [13:00:03]requested_item shift.opened is exist - process it [13:00:03]req_shift_opened [13:00:03]FM_GetShiftState [13:00:03]SAM_PROTO_GetShiftState [13:00:03]wFMCommunicate request_size=4 [13:00:03]MH_SAM_APDU [13:00:03]CAPDU: 80 13 01 00 [13:00:03]Write to MH i2c: E2 08 00 A8 0E 80 13 01 00 00 00 00 00 33 [13:00:03]Write i2c OK [13:00:03]MH_I2C_Read... [13:00:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:00:03]Read from MH i2c: E2 [13:00:03]MH_I2C_Read... [13:00:03]Read from MH i2c: E2 0E 00 [13:00:03]MH_I2C_Read... [13:00:03]Read from MH i2c: E2 0E 00 A8 0E 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 B0 [13:00:03]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [13:00:03]wFMCommunicate OK [13:00:03]SAM_PROTO_GetShiftState done [13:00:03]FM_GetShiftState done [13:00:03]req_shift_opened done [13:00:03]requested_item shift.open_date is exist - process it [13:00:03]req_shift_open_date [13:00:03]req_shift_open_date done [13:00:03]produce_requested_data done [13:00:03]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32428,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [13:00:03]process_action_free close_receipt [13:00:03]json_value_free [13:00:03]json_value_free done [13:00:03]process_json_proto returns [13:00:03]Send response to host [13:00:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32428,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [13:00:03]free response buf [13:00:03]execute_script done [13:00:03]execute_script returns [13:00:03]free content buf [13:00:03]Sock 8.Close socket [13:00:03]Sock 8.Thread stoped [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:47]OFD Sender: No OFD packet to send [13:01:52]OFD Sender: No OFD packet to send [13:01:57]OFD Sender: No OFD packet to send [13:02:02]OFD Sender: No OFD packet to send [13:02:07]OFD Sender: No OFD packet to send [13:02:12]OFD Sender: No OFD packet to send [13:02:17]OFD Sender: No OFD packet to send [13:02:22]OFD Sender: No OFD packet to send [13:02:27]OFD Sender: No OFD packet to send [13:02:32]OFD Sender: No OFD packet to send [13:02:37]OFD Sender: No OFD packet to send [13:02:42]OFD Sender: No OFD packet to send [13:02:47]OFD Sender: No OFD packet to send [13:02:52]OFD Sender: No OFD packet to send [13:02:57]OFD Sender: No OFD packet to send [13:03:02]OFD Sender: No OFD packet to send [13:03:07]OFD Sender: No OFD packet to send [13:03:12]OFD Sender: No OFD packet to send [13:03:17]OFD Sender: No OFD packet to send [13:03:22]OFD Sender: No OFD packet to send [13:03:27]OFD Sender: No OFD packet to send [13:03:32]OFD Sender: No OFD packet to send [13:03:37]OFD Sender: No OFD packet to send [13:03:42]OFD Sender: No OFD packet to send [13:03:47]OFD Sender: No OFD packet to send [13:03:52]OFD Sender: No OFD packet to send [13:03:57]OFD Sender: No OFD packet to send [13:04:02]OFD Sender: No OFD packet to send [13:04:07]OFD Sender: No OFD packet to send [13:04:12]OFD Sender: No OFD packet to send [13:04:17]OFD Sender: No OFD packet to send [13:04:22]OFD Sender: No OFD packet to send [13:04:27]OFD Sender: No OFD packet to send [13:04:32]OFD Sender: No OFD packet to send [13:04:37]OFD Sender: No OFD packet to send [13:04:42]OFD Sender: No OFD packet to send [13:04:47]OFD Sender: No OFD packet to send [13:04:52]OFD Sender: No OFD packet to send [13:04:57]OFD Sender: No OFD packet to send [13:05:02]OFD Sender: No OFD packet to send [13:05:07]OFD Sender: No OFD packet to send [13:05:12]OFD Sender: No OFD packet to send [13:05:17]OFD Sender: No OFD packet to send [13:05:22]OFD Sender: No OFD packet to send [13:05:27]OFD Sender: No OFD packet to send [13:05:32]OFD Sender: No OFD packet to send [13:05:37]OFD Sender: No OFD packet to send [13:05:42]OFD Sender: No OFD packet to send [13:05:47]OFD Sender: No OFD packet to send [13:05:52]OFD Sender: No OFD packet to send [13:05:57]OFD Sender: No OFD packet to send [13:06:02]OFD Sender: No OFD packet to send [13:06:07]OFD Sender: No OFD packet to send [13:06:12]OFD Sender: No OFD packet to send [13:06:17]OFD Sender: No OFD packet to send [13:06:22]OFD Sender: No OFD packet to send [13:06:27]OFD Sender: No OFD packet to send [13:06:32]OFD Sender: No OFD packet to send [13:06:37]OFD Sender: No OFD packet to send [13:06:42]OFD Sender: No OFD packet to send [13:06:47]OFD Sender: No OFD packet to send [13:06:52]OFD Sender: No OFD packet to send [13:06:57]OFD Sender: No OFD packet to send [13:07:02]OFD Sender: No OFD packet to send [13:07:07]OFD Sender: No OFD packet to send [13:07:12]OFD Sender: No OFD packet to send [13:07:17]OFD Sender: No OFD packet to send [13:07:22]OFD Sender: No OFD packet to send [13:07:27]OFD Sender: No OFD packet to send [13:07:32]OFD Sender: No OFD packet to send [13:07:37]OFD Sender: No OFD packet to send [13:07:42]OFD Sender: No OFD packet to send [13:07:47]OFD Sender: No OFD packet to send [13:07:52]OFD Sender: No OFD packet to send [13:07:57]OFD Sender: No OFD packet to send [13:08:02]OFD Sender: No OFD packet to send [13:08:07]OFD Sender: No OFD packet to send [13:08:12]OFD Sender: No OFD packet to send [13:08:17]OFD Sender: No OFD packet to send [13:08:22]OFD Sender: No OFD packet to send [13:08:27]OFD Sender: No OFD packet to send [13:08:32]OFD Sender: No OFD packet to send [13:08:37]OFD Sender: No OFD packet to send [13:08:42]OFD Sender: No OFD packet to send [13:08:47]OFD Sender: No OFD packet to send [13:08:52]OFD Sender: No OFD packet to send [13:08:57]OFD Sender: No OFD packet to send [13:09:02]OFD Sender: No OFD packet to send [13:09:07]OFD Sender: No OFD packet to send [13:09:12]OFD Sender: No OFD packet to send [13:09:17]OFD Sender: No OFD packet to send [13:09:22]OFD Sender: No OFD packet to send [13:09:27]OFD Sender: No OFD packet to send [13:09:32]OFD Sender: No OFD packet to send [13:09:37]OFD Sender: No OFD packet to send [13:09:42]OFD Sender: No OFD packet to send [13:09:47]OFD Sender: No OFD packet to send [13:09:52]OFD Sender: No OFD packet to send [13:09:57]OFD Sender: No OFD packet to send [13:10:02]OFD Sender: No OFD packet to send [13:10:07]OFD Sender: No OFD packet to send [13:10:12]OFD Sender: No OFD packet to send [13:10:17]OFD Sender: No OFD packet to send [13:10:22]OFD Sender: No OFD packet to send [13:10:27]OFD Sender: No OFD packet to send [13:10:32]OFD Sender: No OFD packet to send [13:10:37]OFD Sender: No OFD packet to send [13:10:42]OFD Sender: No OFD packet to send [13:10:47]OFD Sender: No OFD packet to send [13:10:52]OFD Sender: No OFD packet to send [13:10:57]OFD Sender: No OFD packet to send [13:11:02]OFD Sender: No OFD packet to send [13:11:07]OFD Sender: No OFD packet to send [13:11:12]OFD Sender: No OFD packet to send [13:11:17]OFD Sender: No OFD packet to send [13:11:22]OFD Sender: No OFD packet to send [13:11:27]OFD Sender: No OFD packet to send [13:11:32]OFD Sender: No OFD packet to send [13:11:37]OFD Sender: No OFD packet to send [13:11:42]OFD Sender: No OFD packet to send [13:11:47]OFD Sender: No OFD packet to send [13:11:52]OFD Sender: No OFD packet to send [13:11:57]OFD Sender: No OFD packet to send [13:12:02]OFD Sender: No OFD packet to send [13:12:07]OFD Sender: No OFD packet to send [13:12:12]OFD Sender: No OFD packet to send [13:12:17]OFD Sender: No OFD packet to send [13:12:22]OFD Sender: No OFD packet to send [13:12:27]OFD Sender: No OFD packet to send [13:12:32]OFD Sender: No OFD packet to send [13:12:37]OFD Sender: No OFD packet to send [13:12:42]OFD Sender: No OFD packet to send [13:12:47]OFD Sender: No OFD packet to send [13:12:52]OFD Sender: No OFD packet to send [13:12:57]OFD Sender: No OFD packet to send [13:13:02]OFD Sender: No OFD packet to send [13:13:07]OFD Sender: No OFD packet to send [13:13:12]OFD Sender: No OFD packet to send [13:13:17]OFD Sender: No OFD packet to send [13:13:22]OFD Sender: No OFD packet to send [13:13:27]OFD Sender: No OFD packet to send [13:13:32]OFD Sender: No OFD packet to send [13:13:37]OFD Sender: No OFD packet to send [13:13:42]OFD Sender: No OFD packet to send [13:13:47]OFD Sender: No OFD packet to send [13:13:52]OFD Sender: No OFD packet to send [13:13:57]OFD Sender: No OFD packet to send [13:14:02]OFD Sender: No OFD packet to send [13:14:07]OFD Sender: No OFD packet to send [13:14:12]OFD Sender: No OFD packet to send [13:14:17]OFD Sender: No OFD packet to send [13:14:22]OFD Sender: No OFD packet to send [13:14:27]OFD Sender: No OFD packet to send [13:14:32]OFD Sender: No OFD packet to send [13:14:37]OFD Sender: No OFD packet to send [13:14:42]OFD Sender: No OFD packet to send [13:14:47]OFD Sender: No OFD packet to send [13:14:52]OFD Sender: No OFD packet to send [13:14:57]OFD Sender: No OFD packet to send [13:15:02]OFD Sender: No OFD packet to send [13:15:07]OFD Sender: No OFD packet to send [13:15:12]OFD Sender: No OFD packet to send [13:15:17]OFD Sender: No OFD packet to send [13:15:22]OFD Sender: No OFD packet to send [13:15:27]OFD Sender: No OFD packet to send [13:15:32]OFD Sender: No OFD packet to send [13:15:37]OFD Sender: No OFD packet to send [13:15:42]OFD Sender: No OFD packet to send [13:15:47]OFD Sender: No OFD packet to send [13:15:52]OFD Sender: No OFD packet to send [13:15:57]OFD Sender: No OFD packet to send [13:16:02]OFD Sender: No OFD packet to send [13:16:07]OFD Sender: No OFD packet to send [13:16:12]OFD Sender: No OFD packet to send [13:16:17]OFD Sender: No OFD packet to send [13:16:22]OFD Sender: No OFD packet to send [13:16:27]OFD Sender: No OFD packet to send [13:16:32]OFD Sender: No OFD packet to send [13:16:37]OFD Sender: No OFD packet to send [13:16:42]OFD Sender: No OFD packet to send [13:16:47]OFD Sender: No OFD packet to send [13:16:52]OFD Sender: No OFD packet to send [13:16:57]OFD Sender: No OFD packet to send [13:17:02]OFD Sender: No OFD packet to send [13:17:07]OFD Sender: No OFD packet to send [13:17:12]OFD Sender: No OFD packet to send [13:17:17]OFD Sender: No OFD packet to send [13:17:22]OFD Sender: No OFD packet to send [13:17:27]OFD Sender: No OFD packet to send [13:17:32]OFD Sender: No OFD packet to send [13:17:37]OFD Sender: No OFD packet to send [13:17:42]OFD Sender: No OFD packet to send [13:17:47]OFD Sender: No OFD packet to send [13:17:52]OFD Sender: No OFD packet to send [13:17:57]OFD Sender: No OFD packet to send [13:18:02]OFD Sender: No OFD packet to send [13:18:07]OFD Sender: No OFD packet to send [13:18:12]OFD Sender: No OFD packet to send [13:18:17]OFD Sender: No OFD packet to send [13:18:22]OFD Sender: No OFD packet to send [13:18:27]OFD Sender: No OFD packet to send [13:18:32]OFD Sender: No OFD packet to send [13:18:37]OFD Sender: No OFD packet to send [13:18:42]OFD Sender: No OFD packet to send [13:18:47]OFD Sender: No OFD packet to send [13:18:52]OFD Sender: No OFD packet to send [13:18:57]OFD Sender: No OFD packet to send [13:19:02]OFD Sender: No OFD packet to send [13:19:07]OFD Sender: No OFD packet to send [13:19:12]OFD Sender: No OFD packet to send [13:19:17]OFD Sender: No OFD packet to send [13:19:22]OFD Sender: No OFD packet to send [13:19:27]OFD Sender: No OFD packet to send [13:19:32]OFD Sender: No OFD packet to send [13:19:37]OFD Sender: No OFD packet to send [13:19:42]OFD Sender: No OFD packet to send [13:19:47]OFD Sender: No OFD packet to send [13:19:52]OFD Sender: No OFD packet to send [13:19:57]OFD Sender: No OFD packet to send [13:20:02]OFD Sender: No OFD packet to send [13:20:07]OFD Sender: No OFD packet to send [13:20:12]OFD Sender: No OFD packet to send [13:20:17]OFD Sender: No OFD packet to send [13:20:22]OFD Sender: No OFD packet to send [13:20:27]OFD Sender: No OFD packet to send [13:20:32]OFD Sender: No OFD packet to send [13:20:37]OFD Sender: No OFD packet to send [13:20:42]OFD Sender: No OFD packet to send [13:20:47]OFD Sender: No OFD packet to send [13:20:52]OFD Sender: No OFD packet to send [13:20:57]OFD Sender: No OFD packet to send [13:21:02]OFD Sender: No OFD packet to send [13:21:07]OFD Sender: No OFD packet to send [13:21:12]OFD Sender: No OFD packet to send [13:21:17]OFD Sender: No OFD packet to send [13:21:22]OFD Sender: No OFD packet to send [13:21:27]OFD Sender: No OFD packet to send [13:21:32]OFD Sender: No OFD packet to send [13:21:37]OFD Sender: No OFD packet to send [13:21:42]OFD Sender: No OFD packet to send [13:21:47]OFD Sender: No OFD packet to send [13:21:52]OFD Sender: No OFD packet to send [13:21:57]OFD Sender: No OFD packet to send [13:22:02]OFD Sender: No OFD packet to send [13:22:07]OFD Sender: No OFD packet to send [13:22:12]OFD Sender: No OFD packet to send [13:22:17]OFD Sender: No OFD packet to send [13:22:22]OFD Sender: No OFD packet to send [13:22:27]OFD Sender: No OFD packet to send [13:22:32]OFD Sender: No OFD packet to send [13:22:37]OFD Sender: No OFD packet to send [13:22:42]OFD Sender: No OFD packet to send [13:22:47]OFD Sender: No OFD packet to send [13:22:52]OFD Sender: No OFD packet to send [13:22:57]OFD Sender: No OFD packet to send [13:23:02]OFD Sender: No OFD packet to send [13:23:07]OFD Sender: No OFD packet to send [13:23:12]OFD Sender: No OFD packet to send [13:23:17]OFD Sender: No OFD packet to send [13:23:22]OFD Sender: No OFD packet to send [13:23:27]OFD Sender: No OFD packet to send [13:23:33]OFD Sender: No OFD packet to send [13:23:38]OFD Sender: No OFD packet to send [13:23:43]OFD Sender: No OFD packet to send [13:23:48]OFD Sender: No OFD packet to send [13:23:53]OFD Sender: No OFD packet to send [13:23:58]OFD Sender: No OFD packet to send [13:24:03]OFD Sender: No OFD packet to send [13:24:08]OFD Sender: No OFD packet to send [13:24:13]OFD Sender: No OFD packet to send [13:24:18]OFD Sender: No OFD packet to send [13:24:23]OFD Sender: No OFD packet to send [13:24:28]OFD Sender: No OFD packet to send [13:24:33]OFD Sender: No OFD packet to send [13:24:38]OFD Sender: No OFD packet to send [13:24:43]OFD Sender: No OFD packet to send [13:24:48]OFD Sender: No OFD packet to send [13:24:53]OFD Sender: No OFD packet to send [13:24:58]OFD Sender: No OFD packet to send [13:25:03]OFD Sender: No OFD packet to send [13:25:08]OFD Sender: No OFD packet to send [13:25:13]OFD Sender: No OFD packet to send [13:25:18]OFD Sender: No OFD packet to send [13:25:23]OFD Sender: No OFD packet to send [13:25:28]OFD Sender: No OFD packet to send [13:25:33]OFD Sender: No OFD packet to send [13:25:38]OFD Sender: No OFD packet to send [13:25:43]OFD Sender: No OFD packet to send [13:25:48]OFD Sender: No OFD packet to send [13:25:53]OFD Sender: No OFD packet to send [13:25:58]OFD Sender: No OFD packet to send [13:26:03]OFD Sender: No OFD packet to send [13:26:08]OFD Sender: No OFD packet to send [13:26:13]OFD Sender: No OFD packet to send [13:26:18]OFD Sender: No OFD packet to send [13:26:23]OFD Sender: No OFD packet to send [13:26:28]OFD Sender: No OFD packet to send [13:26:33]OFD Sender: No OFD packet to send [13:26:38]OFD Sender: No OFD packet to send [13:26:43]OFD Sender: No OFD packet to send [13:26:48]OFD Sender: No OFD packet to send [13:26:53]OFD Sender: No OFD packet to send [13:26:58]OFD Sender: No OFD packet to send [13:27:03]OFD Sender: No OFD packet to send [13:27:08]OFD Sender: No OFD packet to send [13:27:13]OFD Sender: No OFD packet to send [13:27:18]OFD Sender: No OFD packet to send [13:27:23]OFD Sender: No OFD packet to send [13:27:28]OFD Sender: No OFD packet to send [13:27:33]OFD Sender: No OFD packet to send [13:27:38]OFD Sender: No OFD packet to send [13:27:43]OFD Sender: No OFD packet to send [13:27:48]OFD Sender: No OFD packet to send [13:27:53]OFD Sender: No OFD packet to send [13:27:58]OFD Sender: No OFD packet to send [13:28:03]OFD Sender: No OFD packet to send [13:28:08]OFD Sender: No OFD packet to send [13:28:13]OFD Sender: No OFD packet to send [13:28:18]OFD Sender: No OFD packet to send [13:28:23]OFD Sender: No OFD packet to send [13:28:28]OFD Sender: No OFD packet to send [13:28:33]OFD Sender: No OFD packet to send [13:28:38]OFD Sender: No OFD packet to send [13:28:43]OFD Sender: No OFD packet to send [13:28:48]OFD Sender: No OFD packet to send [13:28:53]OFD Sender: No OFD packet to send [13:28:58]OFD Sender: No OFD packet to send [13:29:03]OFD Sender: No OFD packet to send [13:29:08]OFD Sender: No OFD packet to send [13:29:13]OFD Sender: No OFD packet to send [13:29:18]OFD Sender: No OFD packet to send [13:29:23]OFD Sender: No OFD packet to send [13:29:28]OFD Sender: No OFD packet to send [13:29:33]OFD Sender: No OFD packet to send [13:29:38]OFD Sender: No OFD packet to send [13:29:43]OFD Sender: No OFD packet to send [13:29:48]OFD Sender: No OFD packet to send [13:29:53]OFD Sender: No OFD packet to send [13:29:58]OFD Sender: No OFD packet to send [13:30:03]OFD Sender: No OFD packet to send [13:30:08]OFD Sender: No OFD packet to send [13:30:13]OFD Sender: No OFD packet to send [13:30:18]OFD Sender: No OFD packet to send [13:30:23]OFD Sender: No OFD packet to send [13:30:28]OFD Sender: No OFD packet to send [13:30:33]OFD Sender: No OFD packet to send [13:30:38]OFD Sender: No OFD packet to send [13:30:43]OFD Sender: No OFD packet to send [13:30:48]OFD Sender: No OFD packet to send [13:30:53]OFD Sender: No OFD packet to send [13:30:58]OFD Sender: No OFD packet to send [13:31:03]OFD Sender: No OFD packet to send [13:31:08]OFD Sender: No OFD packet to send [13:31:13]OFD Sender: No OFD packet to send [13:31:18]OFD Sender: No OFD packet to send [13:31:23]OFD Sender: No OFD packet to send [13:31:28]OFD Sender: No OFD packet to send [13:31:33]OFD Sender: No OFD packet to send [13:31:38]OFD Sender: No OFD packet to send [13:31:43]OFD Sender: No OFD packet to send [13:31:48]OFD Sender: No OFD packet to send [13:31:53]OFD Sender: No OFD packet to send [13:31:58]OFD Sender: No OFD packet to send [13:32:03]OFD Sender: No OFD packet to send [13:32:08]OFD Sender: No OFD packet to send [13:32:13]OFD Sender: No OFD packet to send [13:32:18]OFD Sender: No OFD packet to send [13:32:23]OFD Sender: No OFD packet to send [13:32:28]OFD Sender: No OFD packet to send [13:32:33]OFD Sender: No OFD packet to send [13:32:38]OFD Sender: No OFD packet to send [13:32:43]OFD Sender: No OFD packet to send [13:32:48]OFD Sender: No OFD packet to send [13:32:53]OFD Sender: No OFD packet to send [13:32:58]OFD Sender: No OFD packet to send [13:33:03]OFD Sender: No OFD packet to send [13:33:08]OFD Sender: No OFD packet to send [13:33:13]OFD Sender: No OFD packet to send [13:33:18]OFD Sender: No OFD packet to send [13:33:23]OFD Sender: No OFD packet to send [13:33:28]OFD Sender: No OFD packet to send [13:33:33]OFD Sender: No OFD packet to send [13:33:38]OFD Sender: No OFD packet to send [13:33:43]OFD Sender: No OFD packet to send [13:33:48]OFD Sender: No OFD packet to send [13:33:53]OFD Sender: No OFD packet to send [13:33:58]OFD Sender: No OFD packet to send [13:34:03]OFD Sender: No OFD packet to send [13:34:08]OFD Sender: No OFD packet to send [13:34:13]OFD Sender: No OFD packet to send [13:34:18]OFD Sender: No OFD packet to send [13:34:23]OFD Sender: No OFD packet to send [13:34:28]OFD Sender: No OFD packet to send [13:34:33]OFD Sender: No OFD packet to send [13:34:38]OFD Sender: No OFD packet to send [13:34:43]OFD Sender: No OFD packet to send [13:34:48]OFD Sender: No OFD packet to send [13:34:53]OFD Sender: No OFD packet to send [13:34:58]OFD Sender: No OFD packet to send [13:35:03]OFD Sender: No OFD packet to send [13:35:08]OFD Sender: No OFD packet to send [13:35:13]OFD Sender: No OFD packet to send [13:35:18]OFD Sender: No OFD packet to send [13:35:23]OFD Sender: No OFD packet to send [13:35:28]OFD Sender: No OFD packet to send [13:35:33]OFD Sender: No OFD packet to send [13:35:38]OFD Sender: No OFD packet to send [13:35:43]OFD Sender: No OFD packet to send [13:35:48]OFD Sender: No OFD packet to send [13:35:53]OFD Sender: No OFD packet to send [13:35:58]OFD Sender: No OFD packet to send [13:36:03]OFD Sender: No OFD packet to send [13:36:08]OFD Sender: No OFD packet to send [13:36:13]OFD Sender: No OFD packet to send [13:36:18]OFD Sender: No OFD packet to send [13:36:23]OFD Sender: No OFD packet to send [13:36:28]OFD Sender: No OFD packet to send [13:36:33]OFD Sender: No OFD packet to send [13:36:38]OFD Sender: No OFD packet to send [13:36:43]OFD Sender: No OFD packet to send [13:36:48]OFD Sender: No OFD packet to send [13:36:53]OFD Sender: No OFD packet to send [13:36:58]OFD Sender: No OFD packet to send [13:37:03]OFD Sender: No OFD packet to send [13:37:08]OFD Sender: No OFD packet to send [13:37:13]OFD Sender: No OFD packet to send [13:37:18]OFD Sender: No OFD packet to send [13:37:23]OFD Sender: No OFD packet to send [13:37:28]OFD Sender: No OFD packet to send [13:37:33]OFD Sender: No OFD packet to send [13:37:38]OFD Sender: No OFD packet to send [13:37:43]OFD Sender: No OFD packet to send [13:37:48]OFD Sender: No OFD packet to send [13:37:53]OFD Sender: No OFD packet to send [13:37:58]OFD Sender: No OFD packet to send [13:38:03]OFD Sender: No OFD packet to send [13:38:08]OFD Sender: No OFD packet to send [13:38:13]OFD Sender: No OFD packet to send [13:38:18]OFD Sender: No OFD packet to send [13:38:23]OFD Sender: No OFD packet to send [13:38:28]OFD Sender: No OFD packet to send [13:38:33]OFD Sender: No OFD packet to send [13:38:38]OFD Sender: No OFD packet to send [13:38:43]OFD Sender: No OFD packet to send [13:38:48]OFD Sender: No OFD packet to send [13:38:53]OFD Sender: No OFD packet to send [13:38:58]OFD Sender: No OFD packet to send [13:39:03]OFD Sender: No OFD packet to send [13:39:08]OFD Sender: No OFD packet to send [13:39:13]OFD Sender: No OFD packet to send [13:39:18]OFD Sender: No OFD packet to send [13:39:23]OFD Sender: No OFD packet to send [13:39:28]OFD Sender: No OFD packet to send [13:39:33]OFD Sender: No OFD packet to send [13:39:38]OFD Sender: No OFD packet to send [13:39:43]OFD Sender: No OFD packet to send [13:39:48]OFD Sender: No OFD packet to send [13:39:53]OFD Sender: No OFD packet to send [13:39:58]OFD Sender: No OFD packet to send [13:40:03]OFD Sender: No OFD packet to send [13:40:08]OFD Sender: No OFD packet to send [13:40:13]OFD Sender: No OFD packet to send [13:40:18]OFD Sender: No OFD packet to send [13:40:23]OFD Sender: No OFD packet to send [13:40:28]OFD Sender: No OFD packet to send [13:40:33]OFD Sender: No OFD packet to send [13:40:38]OFD Sender: No OFD packet to send [13:40:43]OFD Sender: No OFD packet to send [13:40:48]OFD Sender: No OFD packet to send [13:40:53]OFD Sender: No OFD packet to send [13:40:58]OFD Sender: No OFD packet to send [13:41:03]OFD Sender: No OFD packet to send [13:41:08]OFD Sender: No OFD packet to send [13:41:13]OFD Sender: No OFD packet to send [13:41:18]OFD Sender: No OFD packet to send [13:41:23]OFD Sender: No OFD packet to send [13:41:28]OFD Sender: No OFD packet to send [13:41:33]OFD Sender: No OFD packet to send [13:41:38]OFD Sender: No OFD packet to send [13:41:43]OFD Sender: No OFD packet to send [13:41:48]OFD Sender: No OFD packet to send [13:41:53]OFD Sender: No OFD packet to send [13:41:58]OFD Sender: No OFD packet to send [13:42:03]OFD Sender: No OFD packet to send [13:42:08]OFD Sender: No OFD packet to send [13:42:13]OFD Sender: No OFD packet to send [13:42:18]OFD Sender: No OFD packet to send [13:42:23]OFD Sender: No OFD packet to send [13:42:28]OFD Sender: No OFD packet to send [13:42:33]OFD Sender: No OFD packet to send [13:42:38]OFD Sender: No OFD packet to send [13:42:43]OFD Sender: No OFD packet to send [13:42:48]OFD Sender: No OFD packet to send [13:42:53]OFD Sender: No OFD packet to send [13:42:58]OFD Sender: No OFD packet to send [13:43:03]OFD Sender: No OFD packet to send [13:43:08]OFD Sender: No OFD packet to send [13:43:13]OFD Sender: No OFD packet to send [13:43:18]OFD Sender: No OFD packet to send [13:43:23]OFD Sender: No OFD packet to send [13:43:28]OFD Sender: No OFD packet to send [13:43:33]OFD Sender: No OFD packet to send [13:43:38]OFD Sender: No OFD packet to send [13:43:43]OFD Sender: No OFD packet to send [13:43:48]OFD Sender: No OFD packet to send [13:43:53]OFD Sender: No OFD packet to send [13:43:58]OFD Sender: No OFD packet to send [13:44:03]OFD Sender: No OFD packet to send [13:44:08]OFD Sender: No OFD packet to send [13:44:13]OFD Sender: No OFD packet to send [13:44:18]OFD Sender: No OFD packet to send [13:44:23]OFD Sender: No OFD packet to send [13:44:28]OFD Sender: No OFD packet to send [13:44:33]OFD Sender: No OFD packet to send [13:44:38]OFD Sender: No OFD packet to send [13:44:43]OFD Sender: No OFD packet to send [13:44:48]OFD Sender: No OFD packet to send [13:44:53]OFD Sender: No OFD packet to send [13:44:58]OFD Sender: No OFD packet to send [13:45:03]OFD Sender: No OFD packet to send [13:45:09]OFD Sender: No OFD packet to send [13:45:14]OFD Sender: No OFD packet to send [13:45:19]OFD Sender: No OFD packet to send [13:45:24]OFD Sender: No OFD packet to send [13:45:29]OFD Sender: No OFD packet to send [13:45:34]OFD Sender: No OFD packet to send [13:45:39]OFD Sender: No OFD packet to send [13:45:44]OFD Sender: No OFD packet to send [13:45:49]OFD Sender: No OFD packet to send [13:45:54]OFD Sender: No OFD packet to send [13:45:59]OFD Sender: No OFD packet to send [13:46:04]OFD Sender: No OFD packet to send [13:46:09]OFD Sender: No OFD packet to send [13:46:14]OFD Sender: No OFD packet to send [13:46:19]OFD Sender: No OFD packet to send [13:46:24]OFD Sender: No OFD packet to send [13:46:29]OFD Sender: No OFD packet to send [13:46:34]OFD Sender: No OFD packet to send [13:46:39]OFD Sender: No OFD packet to send [13:46:44]OFD Sender: No OFD packet to send [13:46:49]OFD Sender: No OFD packet to send [13:46:54]OFD Sender: No OFD packet to send [13:46:59]OFD Sender: No OFD packet to send [13:47:04]OFD Sender: No OFD packet to send [13:47:09]OFD Sender: No OFD packet to send [13:47:14]OFD Sender: No OFD packet to send [13:47:19]OFD Sender: No OFD packet to send [13:47:24]OFD Sender: No OFD packet to send [13:47:29]OFD Sender: No OFD packet to send [13:47:34]OFD Sender: No OFD packet to send [13:47:39]OFD Sender: No OFD packet to send [13:47:44]OFD Sender: No OFD packet to send [13:47:49]OFD Sender: No OFD packet to send [13:47:54]OFD Sender: No OFD packet to send [13:47:59]OFD Sender: No OFD packet to send [13:48:04]OFD Sender: No OFD packet to send [13:48:09]OFD Sender: No OFD packet to send [13:48:14]OFD Sender: No OFD packet to send [13:48:19]OFD Sender: No OFD packet to send [13:48:24]OFD Sender: No OFD packet to send [13:48:29]OFD Sender: No OFD packet to send [13:48:34]OFD Sender: No OFD packet to send [13:48:39]OFD Sender: No OFD packet to send [13:48:44]OFD Sender: No OFD packet to send [13:48:49]OFD Sender: No OFD packet to send [13:48:54]OFD Sender: No OFD packet to send [13:48:59]OFD Sender: No OFD packet to send [13:49:04]OFD Sender: No OFD packet to send [13:49:09]OFD Sender: No OFD packet to send [13:49:14]OFD Sender: No OFD packet to send [13:49:19]OFD Sender: No OFD packet to send [13:49:24]OFD Sender: No OFD packet to send [13:49:29]OFD Sender: No OFD packet to send [13:49:34]OFD Sender: No OFD packet to send [13:49:39]OFD Sender: No OFD packet to send [13:49:44]OFD Sender: No OFD packet to send [13:49:49]OFD Sender: No OFD packet to send [13:49:54]OFD Sender: No OFD packet to send [13:49:59]OFD Sender: No OFD packet to send [13:50:04]OFD Sender: No OFD packet to send [13:50:09]OFD Sender: No OFD packet to send [13:50:14]OFD Sender: No OFD packet to send [13:50:19]OFD Sender: No OFD packet to send [13:50:24]OFD Sender: No OFD packet to send [13:50:29]OFD Sender: No OFD packet to send [13:50:34]OFD Sender: No OFD packet to send [13:50:39]OFD Sender: No OFD packet to send [13:50:44]OFD Sender: No OFD packet to send [13:50:49]OFD Sender: No OFD packet to send [13:50:54]OFD Sender: No OFD packet to send [13:50:59]OFD Sender: No OFD packet to send [13:51:04]OFD Sender: No OFD packet to send [13:51:09]OFD Sender: No OFD packet to send [13:51:14]OFD Sender: No OFD packet to send [13:51:19]OFD Sender: No OFD packet to send [13:51:24]OFD Sender: No OFD packet to send [13:51:29]OFD Sender: No OFD packet to send [13:51:34]OFD Sender: No OFD packet to send [13:51:39]OFD Sender: No OFD packet to send [13:51:44]OFD Sender: No OFD packet to send [13:51:49]OFD Sender: No OFD packet to send [13:51:54]OFD Sender: No OFD packet to send [13:51:59]OFD Sender: No OFD packet to send [13:52:04]OFD Sender: No OFD packet to send [13:52:09]OFD Sender: No OFD packet to send [13:52:14]OFD Sender: No OFD packet to send [13:52:19]OFD Sender: No OFD packet to send [13:52:24]OFD Sender: No OFD packet to send [13:52:29]OFD Sender: No OFD packet to send [13:52:34]OFD Sender: No OFD packet to send [13:52:39]OFD Sender: No OFD packet to send [13:52:44]OFD Sender: No OFD packet to send [13:52:49]OFD Sender: No OFD packet to send [13:52:54]OFD Sender: No OFD packet to send [13:52:59]OFD Sender: No OFD packet to send [13:53:04]OFD Sender: No OFD packet to send [13:53:09]OFD Sender: No OFD packet to send [13:53:14]OFD Sender: No OFD packet to send [13:53:19]OFD Sender: No OFD packet to send [13:53:24]OFD Sender: No OFD packet to send [13:53:29]OFD Sender: No OFD packet to send [13:53:34]OFD Sender: No OFD packet to send [13:53:39]OFD Sender: No OFD packet to send [13:53:44]OFD Sender: No OFD packet to send [13:53:49]OFD Sender: No OFD packet to send [13:53:54]OFD Sender: No OFD packet to send [13:53:59]OFD Sender: No OFD packet to send [13:54:04]OFD Sender: No OFD packet to send [13:54:09]OFD Sender: No OFD packet to send [13:54:14]OFD Sender: No OFD packet to send [13:54:19]OFD Sender: No OFD packet to send [13:54:21]accept exits with 9 [13:54:21]New connection [13:54:21]New thread 3066932580 created [13:54:21]Thread 3067075940 joined [13:54:21]Waiting for new connection... [13:54:21] Sock 9.Parse request [13:54:21]Sock 9.Check first char [13:54:21]Sock 9.First char is OK [13:54:21]request: POST /json_proto HTTP/1.0 [13:54:21]Method: POST [13:54:21]URL: /json_proto [13:54:21]Method is POST - this is cgi request [13:54:21]url: /json_proto [13:54:21]query_string will be loaded in cgi processing [13:54:21]execute_cgi json_proto POST (null) [13:54:21]execute_cgi path=json_proto method=POST [13:54:21]POST find Content-Length [13:54:21]Host: 172.17.61.6:8080 [13:54:21]Content-Length: 864 [13:54:21]Content-Type: application/json [13:54:21] [13:54:21]POST finish read [13:54:21]Found Content-Length = 864 [13:54:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58584", "tax_sys" : 0, "items" : [ { "code": "48745536", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston SS Caster+", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745307", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Soho Compact Mix", "price" : 128.00, "quantity" : 1.000, "sum" : 128.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 266.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:54:21]execute_script... [13:54:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58584", "tax_sys" : 0, "items" : [ { "code": "48745536", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston SS Caster+", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745307", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Soho Compact Mix", "price" : 128.00, "quantity" : 1.000, "sum" : 128.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 266.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:54:21]POST & json_proto [13:54:21]process_json_proto [13:54:21]json parsed OK: [13:54:21]protocol is kg_v1.0 [13:54:21]action value=close_receipt [13:54:21]process_action close_receipt [13:54:21]cmd_close_receipt [13:54:21]MH_GetDate [13:54:21]Write to MH i2c: F0 00 00 A9 0E A6 [13:54:21]Write i2c OK [13:54:21]MH_I2C_Read... [13:54:21]Read from MH i2c: F0 [13:54:21]MH_I2C_Read... [13:54:21]Read from MH i2c: F0 09 00 [13:54:21]MH_I2C_Read... [13:54:21]Read from MH i2c: F0 09 00 A9 0E 00 91 75 E8 65 78 7F 6F 64 CC [13:54:21]GetLastDocTimeStamp 1709730001 [13:54:21]current date 1709733265 [13:54:21]FM_GetShiftState [13:54:21]SAM_PROTO_GetShiftState [13:54:21]wFMCommunicate request_size=4 [13:54:21]MH_SAM_APDU [13:54:21]CAPDU: 80 13 01 00 [13:54:21]Write to MH i2c: E2 08 00 AA 0E 80 13 01 00 00 00 00 00 35 [13:54:21]Write i2c OK [13:54:21]MH_I2C_Read... [13:54:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:54:21]Read from MH i2c: E2 [13:54:21]MH_I2C_Read... [13:54:21]Read from MH i2c: E2 0E 00 [13:54:21]MH_I2C_Read... [13:54:21]Read from MH i2c: E2 0E 00 AA 0E 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 B2 [13:54:21]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [13:54:21]wFMCommunicate OK [13:54:21]SAM_PROTO_GetShiftState done [13:54:21]FM_GetShiftState done [13:54:21]opened in 1709684590 [13:54:21]opened+sec_in_day 1709770990 [13:54:21]quantity*price = 13800 [13:54:21]sum+1 = 13801 [13:54:21]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 46 06.03.2024 14:20 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32430 ФПД: 185437981584926 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T142005&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32430&fm=185437981584926&tin=02508201610067®Number=0000000000092554&sum=12000 0 [14:20:06]StoreToDocumentArchive [14:20:06]shift 284 fd 32430 [14:20:06]save to /storage/0284/doc_00032430 [14:20:06]save last doc name /storage/0284/doc_00032430 to /storage/kkm_last_doc_name [14:20:06]save OK [14:20:06]Clear old archive folders... [14:20:06]ProcessDocumentItem done err = 0, tmpTLVsize=308 [14:20:06]tlvbuf is 0171C8A0 [14:20:06]SAM_PROTO_ClearQueue [14:20:06]wFMCommunicate request_size=4 [14:20:06]MH_SAM_APDU [14:20:06]CAPDU: 80 09 00 00 [14:20:06]Write to MH i2c: E2 08 00 38 00 80 09 00 00 00 00 00 00 AA [14:20:06]Write i2c OK [14:20:06]MH_I2C_Read... [14:20:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:20:06]Read from MH i2c: E2 [14:20:06]MH_I2C_Read... [14:20:06]Read from MH i2c: E2 03 00 [14:20:06]MH_I2C_Read... [14:20:06]Read from MH i2c: E2 03 00 38 00 00 90 00 AC [14:20:06]RAPDU: 90 00 [14:20:06]wFMCommunicate OK [14:20:06]SAM_PROTO_ClearQueue done [14:20:06]KKMCreateOFDPacket [14:20:06]OFDProtocolAddRootSTLVToBuf [14:20:06]FM_MakeSignedData [14:20:06]FM_MakeSignedData [14:20:06]SAM_PROTO_SignData [14:20:06]wFMCommunicate request_size=4 [14:20:06]MH_SAM_APDU [14:20:06]CAPDU: 80 0D 01 02 [14:20:06]Write to MH i2c: E2 08 00 39 00 80 0D 01 02 00 00 00 00 B2 [14:20:06]Write i2c OK [14:20:06]MH_I2C_Read... [14:20:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:20:06]Read from MH i2c: E2 [14:20:06]MH_I2C_Read... [14:20:06]Read from MH i2c: E2 03 00 [14:20:06]MH_I2C_Read... [14:20:06]Read from MH i2c: E2 03 00 39 00 00 90 00 AD [14:20:06]RAPDU: 90 00 [14:20:06]wFMCommunicate OK [14:20:06]wFMCommunicate request_size=255 [14:20:06]MH_SAM_APDU [14:20:06]CAPDU: 80 0D 02 02 FA 03 00 34 01 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 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 95 7B E8 65 0E 04 04 00 1C 01 00 00 B9 [14:20:06]Write to MH i2c: E2 02 01 3A 00 80 0D 02 02 FA 00 03 00 34 01 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 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 95 7B E8 65 0E 04 04 00 1C 01 00 00 B9 00 00 8A [14:20:06]Write i2c OK [14:20:06]MH_I2C_Read... [14:20:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:20:06]Read from MH i2c: E2 [14:20:06]MH_I2C_Read... [14:20:06]Read from MH i2c: E2 03 00 [14:20:06]MH_I2C_Read... [14:20:06]Read from MH i2c: E2 03 00 3A 00 00 90 00 AE [14:20:06]RAPDU: 90 00 [14:20:06]wFMCommunicate OK [14:20:06]wFMCommunicate request_size=67 [14:20:06]MH_SAM_APDU [14:20:06]CAPDU: 80 0D 02 02 3E 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 AE 7E 00 00 35 04 06 00 A8 A7 A5 05 2E 1E [14:20:06]Write to MH i2c: E2 46 00 3B 00 80 0D 02 02 3E 00 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 AE 7E 00 00 35 04 06 00 A8 A7 A5 05 2E 1E 00 00 80 [14:20:06]Write i2c OK [14:20:06]MH_I2C_Read... [14:20:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:20:06]Read from MH i2c: E2 [14:20:06]MH_I2C_Read... [14:20:06]Read from MH i2c: E2 03 00 [14:20:06]MH_I2C_Read... [14:20:06]Read from MH i2c: E2 03 00 3B 00 00 90 00 AF [14:20:06]RAPDU: 90 00 [14:20:06]wFMCommunicate OK [14:20:06]wFMCommunicate request_size=4 [14:20:06]MH_SAM_APDU [14:20:06]CAPDU: 80 0D 03 02 [14:20:06]Write to MH i2c: E2 08 00 3C 00 80 0D 03 02 00 00 00 00 B7 [14:20:06]Write i2c OK [14:20:06]MH_I2C_Read... [14:20:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:20:06]Read from MH i2c: E2 [14:20:06]MH_I2C_Read... [14:20:06]Read from MH i2c: E2 0B 00 [14:20:06]MH_I2C_Read... [14:20:06]Read from MH i2c: E2 0B 00 3C 00 00 E1 9D FE A4 60 CD 8D 08 90 00 9A [14:20:06]RAPDU: E1 9D FE A4 60 CD 8D 08 90 00 [14:20:06]wFMCommunicate OK [14:20:06]SAM_PROTO_SignData done [14:20:06]FM_MakeSignedData done [14:20:06]CreateOFDProtocolMessage [14:20:06]wFMCommunicate request_size=4 [14:20:06]MH_SAM_APDU [14:20:06]CAPDU: 80 11 00 00 [14:20:06]Write to MH i2c: E2 08 00 3D 00 80 11 00 00 00 00 00 00 B7 [14:20:06]Write i2c OK [14:20:06]MH_I2C_Read... [14:20:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:20:06]Read from MH i2c: E2 [14:20:06]MH_I2C_Read... [14:20:06]Read from MH i2c: E2 17 00 [14:20:06]MH_I2C_Read... [14:20:06]Read from MH i2c: E2 17 00 3D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 0C [14:20:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [14:20:06]wFMCommunicate OK [14:20:06]CreateOFDProtocolMessage done [14:20:06]OFDSenderStorePacket 32430 [14:20:06]StoreOFDPacket docnum=32430 [14:20:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 48 01 00 00 AD 11 40 01 23 9B 5A 03 01 00 03 00 34 01 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 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 95 7B E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 AE 7E 00 00 35 04 06 00 A8 A7 A5 05 2E 1E E1 9D FE A4 60 CD 8D 08 [14:20:06]CheckFolder [14:20:06]dirname=/storage/ofd_packets [14:20:06]CheckFolder done [14:20:06]ProducePacketName [14:20:06]name=ofd_packets/00032430 [14:20:06]NVStorageSaveData ofd_packets/00032430 [14:20:06]File name is /storage/ofd_packets/00032430 [14:20:06]Write 358 bytes [14:20:06]NVStorageSaveData done [14:20:06]OFDSenderStorePacket done [14:20:06]KKMCreateOFDPacket done [14:20:06]NVStorageSaveData kkm_last_timestamp [14:20:06]File name is /storage/kkm_last_timestamp [14:20:06]Write 4 bytes [14:20:06]NVStorageSaveData done [14:20:06]ExternCall_PrintAddStr [14:20:06]wPrintStart [14:20:06]Write to MH i2c: 01 00 00 3E 00 3E [14:20:06]Write i2c OK [14:20:06]MH_I2C_Read... [14:20:06]Read from MH i2c: 01 [14:20:06]MH_I2C_Read... [14:20:06]Read from MH i2c: 01 07 00 [14:20:06]MH_I2C_Read... [14:20:06]Read from MH i2c: 01 07 00 3E 00 00 00 00 00 00 FF 0F 53 [14:20:06]RasterBufferAndPrint [14:20:06]line Счет N : (3)58585 [14:20:06]line ИНН: 02508201610067 [14:20:06]line Контрольно-Кассовый Чек [14:20:06]line ПРОДАЖА [14:20:06]line Товар: 5449000027474 [14:20:06]line Напиток FuzeTea зел чай манго,ромашка 1л [14:20:06]line 1.000 * 120.00 [14:20:06]line = 120.00 [14:20:06]line НДС 12% НСП 1% [14:20:06]line > о реализуемом товаре [14:20:06]line ИТОГО: 120.00 [14:20:06]line НСП 1% : 1.06 [14:20:06]line НДС 12% : 12.74 [14:20:06]line Наличными: 120.00 [14:20:06]line Безнал.: 0.00 [14:20:06]line Место: АЗС № 99 "Партнер Нефть" [14:20:06]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [14:20:06]line СНО: Общий режим [14:20:06]line Чек 46 06.03.2024 14:20 [14:20:06]line Смена: 284 ФФД: 1.0 [14:20:06]line ЗНМ: 0300000074 [14:20:06]line РНМ: 0000000000092554 [14:20:06]line Версия ККМ: 001 [14:20:06]line ФМ: 0000000000871783 [14:20:06]line ФД: 32430 [14:20:06]line ФПД: 185437981584926 [14:20:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T142005&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32430&fm=185437981584926&tin=02508201610067®Number=0000000000092554&sum=12000 [14:20:06]OFD Sender: Processing packet 32430 [packets to send 5, broken 4] [14:20:06]ProducePacketName [14:20:06]name=ofd_packets/00032430 [14:20:06]OFD Sender: To server: pG, [14:20:06]CommunicateWithHost lk.salyk.kg:30040 [14:20:06]ConnectInit lk.salyk.kg [14:20:06]line 0 [14:20:06]written 0, free lines is 4095 [14:20:07]Connected sock=10 [14:20:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 48 01 00 00 AD 11 40 01 23 9B 5A 03 01 00 03 00 34 01 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 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 95 7B E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 AE 7E 00 00 35 04 06 00 A8 A7 A5 05 2E 1E E1 9D FE A4 60 CD 8D 08 [14:20:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 ED AD 47 00 63 59 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 AE 7E 00 00 F4 03 04 00 CD 23 E8 65 B6 04 01 00 00 41 47 F6 F7 CF ED 1D 3B [14:20:07]CommunicateWithHost err = 0 [14:20:07]CheckOFDResponse [14:20:07]1017 (14) - 77093643461234 [14:20:07]1041 (16) - 0000000000871783 [14:20:07]1040 (4) - 32430 [14:20:07]1012 (4) - 06.03.2024 08:05 [14:20:07]1206 (1) - 0 [14:20:07]OFD Sender: Remove packet 32430 [14:20:07]ProducePacketName [14:20:07]name=ofd_packets/00032430 [14:20:07]NVStorageDeleteData [14:20:07]Write to MH i2c: 01 00 00 67 00 67 [14:20:07]Write i2c OK [14:20:07]MH_I2C_Read... [14:20:07]Read from MH i2c: 01 [14:20:07]MH_I2C_Read... [14:20:07]Read from MH i2c: 01 07 00 [14:20:07]MH_I2C_Read... [14:20:07]Read from MH i2c: 01 07 00 67 00 00 00 00 00 00 D0 0C 4A [14:20:07]RasterBufferAndPrint [14:20:07]line [14:20:07]line [14:20:07]line [14:20:07]line [14:20:07]line [14:20:07]written 0, free lines is 3284 [14:20:07]MH_Cut [14:20:07]Write to MH i2c: D1 01 00 6E 00 01 40 [14:20:07]Write i2c OK [14:20:07]MH_I2C_Read... [14:20:07]Read from MH i2c: D1 [14:20:07]MH_I2C_Read... [14:20:07]Read from MH i2c: D1 01 00 [14:20:07]MH_I2C_Read... [14:20:07]Read from MH i2c: D1 01 00 6E 00 00 3F [14:20:07]Write to MH i2c: 01 00 00 6F 00 6F [14:20:07]Write i2c OK [14:20:07]MH_I2C_Read... [14:20:07]OFD Sender: No OFD packet to send [14:20:08]*** Cut start [14:20:08]*** Partial cut [14:20:08]*** CUTSNS_PIN = 1 [14:20:08]*** CUTSNS_PIN = 0 [14:20:08]*** Brake cut motor [14:20:08]Read from MH i2c: 01 [14:20:08]MH_I2C_Read... [14:20:08]*** Stop cut motor [14:20:08]*** Cut end [14:20:08]Read from MH i2c: 01 07 00 [14:20:08]MH_I2C_Read... [14:20:08]Read from MH i2c: 01 07 00 6F 00 00 00 00 00 00 FF 0F 84 [14:20:08]process_action close_receipt done [14:20:08]requested_data is exist [14:20:08]produce_requested_data [14:20:08]requested_item fm.sn is exist - process it [14:20:08]wFMCommunicate request_size=4 [14:20:08]MH_SAM_APDU [14:20:08]CAPDU: 80 11 00 00 [14:20:08]Write to MH i2c: E2 08 00 70 00 80 11 00 00 00 00 00 00 EA [14:20:08]Write i2c OK [14:20:08]MH_I2C_Read... [14:20:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:20:08]Read from MH i2c: E2 [14:20:08]MH_I2C_Read... [14:20:08]Read from MH i2c: E2 17 00 [14:20:08]MH_I2C_Read... [14:20:08]Read from MH i2c: E2 17 00 70 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 3F [14:20:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [14:20:08]wFMCommunicate OK [14:20:08]requested_item fd.num is exist - process it [14:20:08]SAM_PROTO_GetFieldsCounters [14:20:08]wFMCommunicate request_size=4 [14:20:08]MH_SAM_APDU [14:20:08]CAPDU: 80 13 00 00 [14:20:08]Write to MH i2c: E2 08 00 71 00 80 13 00 00 00 00 00 00 ED [14:20:08]Write i2c OK [14:20:08]MH_I2C_Read... [14:20:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:20:09]Read from MH i2c: E2 [14:20:09]MH_I2C_Read... [14:20:09]Read from MH i2c: E2 62 00 [14:20:09]MH_I2C_Read... [14:20:09]Read from MH i2c: E2 62 00 71 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 AE 7E 00 00 0E 04 04 00 1C 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 E3 [14:20:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 AE 7E 00 00 0E 04 04 00 1C 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 [14:20:09]wFMCommunicate OK [14:20:09]SAM_PROTO_GetFieldsCounters done [14:20:09]requested_item shift.num is exist - process it [14:20:09]requested_item shift.opened is exist - process it [14:20:09]req_shift_opened [14:20:09]FM_GetShiftState [14:20:09]SAM_PROTO_GetShiftState [14:20:09]wFMCommunicate request_size=4 [14:20:09]MH_SAM_APDU [14:20:09]CAPDU: 80 13 01 00 [14:20:09]Write to MH i2c: E2 08 00 72 00 80 13 01 00 00 00 00 00 EF [14:20:09]Write i2c OK [14:20:09]MH_I2C_Read... [14:20:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:20:09]Read from MH i2c: E2 [14:20:09]MH_I2C_Read... [14:20:09]Read from MH i2c: E2 0E 00 [14:20:09]MH_I2C_Read... [14:20:09]Read from MH i2c: E2 0E 00 72 00 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 6C [14:20:09]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [14:20:09]wFMCommunicate OK [14:20:09]SAM_PROTO_GetShiftState done [14:20:09]FM_GetShiftState done [14:20:09]req_shift_opened done [14:20:09]requested_item shift.open_date is exist - process it [14:20:09]req_shift_open_date [14:20:09]req_shift_open_date done [14:20:09]produce_requested_data done [14:20:09]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32430,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [14:20:09]process_action_free close_receipt [14:20:09]json_value_free [14:20:09]json_value_free done [14:20:09]process_json_proto returns [14:20:09]Send response to host [14:20:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32430,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [14:20:09]free response buf [14:20:09]execute_script done [14:20:09]execute_script returns [14:20:09]free content buf [14:20:09]Sock 7.Close socket [14:20:09]Sock 7.Thread stoped [14:20:12]OFD Sender: No OFD packet to send [14:20:17]OFD Sender: No OFD packet to send [14:20:22]OFD Sender: No OFD packet to send [14:20:27]OFD Sender: No OFD packet to send [14:20:32]OFD Sender: No OFD packet to send [14:20:37]OFD Sender: No OFD packet to send [14:20:42]OFD Sender: No OFD packet to send [14:20:47]OFD Sender: No OFD packet to send [14:20:50]accept exits with 9 [14:20:50]New connection [14:20:50]New thread 3066625380 created [14:20:50]Thread 3066768740 joined [14:20:50]Waiting for new connection... [14:20:50] Sock 9.Parse request [14:20:50]Sock 9.Check first char [14:20:50]Sock 9.First char is OK [14:20:50]request: POST /json_proto HTTP/1.0 [14:20:50]Method: POST [14:20:50]URL: /json_proto [14:20:50]Method is POST - this is cgi request [14:20:50]url: /json_proto [14:20:50]query_string will be loaded in cgi processing [14:20:50]execute_cgi json_proto POST (null) [14:20:50]execute_cgi path=json_proto method=POST [14:20:50]POST find Content-Length [14:20:50]Host: 172.17.61.6:8080 [14:20:50]Content-Length: 676 [14:20:50]Content-Type: application/json [14:20:50] [14:20:50]POST finish read [14:20:50]Found Content-Length = 676 [14:20:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58586", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F \u0441\u0442\u043E\u043F\u043A\u0430 0,07", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:20:50]execute_script... [14:20: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)58586", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F \u0441\u0442\u043E\u043F\u043A\u0430 0,07", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:20:50]POST & json_proto [14:20:50]process_json_proto [14:20:50]json parsed OK: [14:20:50]protocol is kg_v1.0 [14:20:50]action value=close_receipt [14:20:50]process_action close_receipt [14:20:50]cmd_close_receipt [14:20:50]MH_GetDate [14:20:50]Write to MH i2c: F0 00 00 73 00 62 [14:20:50]Write i2c OK [14:20:50]MH_I2C_Read... [14:20:50]Read from MH i2c: F0 [14:20:50]MH_I2C_Read... [14:20:50]Read from MH i2c: F0 09 00 [14:20:50]MH_I2C_Read... [14:20:50]Read from MH i2c: F0 09 00 73 00 00 C3 7B E8 65 78 7F 6F 64 C0 [14:20:50]GetLastDocTimeStamp 1709734805 [14:20:50]current date 1709734851 [14:20:50]FM_GetShiftState [14:20:50]SAM_PROTO_GetShiftState [14:20:50]wFMCommunicate request_size=4 [14:20:50]MH_SAM_APDU [14:20:50]CAPDU: 80 13 01 00 [14:20:50]Write to MH i2c: E2 08 00 74 00 80 13 01 00 00 00 00 00 F1 [14:20:50]Write i2c OK [14:20:50]MH_I2C_Read... [14:20:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:20:50]Read from MH i2c: E2 [14:20:50]MH_I2C_Read... [14:20:50]Read from MH i2c: E2 0E 00 [14:20:50]MH_I2C_Read... [14:20:50]Read from MH i2c: E2 0E 00 74 00 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 6E [14:20:50]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [14:20:50]wFMCommunicate OK [14:20:50]SAM_PROTO_GetShiftState done [14:20:50]FM_GetShiftState done [14:20:50]opened in 1709684590 [14:20:50]opened+sec_in_day 1709770990 [14:20:50]quantity*price = 6500 [14:20:50]sum+1 = 6501 [14:20:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 47 06.03.2024 14:20 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32431 ФПД: 250818218211063 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T142051&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32431&fm=250818218211063&tin=02508201610067®Number=0000000000092554&sum=6500 0 [14:20:51]StoreToDocumentArchive [14:20:51]shift 284 fd 32431 [14:20:51]save to /storage/0284/doc_00032431 [14:20:51]save last doc name /storage/0284/doc_00032431 to /storage/kkm_last_doc_name [14:20:51]save OK [14:20:51]Clear old archive folders... [14:20:51]ProcessDocumentItem done err = 0, tmpTLVsize=284 [14:20:51]tlvbuf is 0171E480 [14:20:51]SAM_PROTO_ClearQueue [14:20:51]wFMCommunicate request_size=4 [14:20:51]MH_SAM_APDU [14:20:51]CAPDU: 80 09 00 00 [14:20:51]Write to MH i2c: E2 08 00 81 00 80 09 00 00 00 00 00 00 F3 [14:20:51]Write i2c OK [14:20:51]MH_I2C_Read... [14:20:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:20:52]Read from MH i2c: E2 [14:20:52]MH_I2C_Read... [14:20:52]Read from MH i2c: E2 03 00 [14:20:52]MH_I2C_Read... [14:20:52]Read from MH i2c: E2 03 00 81 00 00 90 00 F5 [14:20:52]RAPDU: 90 00 [14:20:52]wFMCommunicate OK [14:20:52]SAM_PROTO_ClearQueue done [14:20:52]KKMCreateOFDPacket [14:20:52]OFDProtocolAddRootSTLVToBuf [14:20:52]FM_MakeSignedData [14:20:52]FM_MakeSignedData [14:20:52]SAM_PROTO_SignData [14:20:52]wFMCommunicate request_size=4 [14:20:52]MH_SAM_APDU [14:20:52]CAPDU: 80 0D 01 02 [14:20:52]Write to MH i2c: E2 08 00 82 00 80 0D 01 02 00 00 00 00 FB [14:20:52]Write i2c OK [14:20:52]MH_I2C_Read... [14:20:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:20:52]Read from MH i2c: E2 [14:20:52]MH_I2C_Read... [14:20:52]Read from MH i2c: E2 03 00 [14:20:52]MH_I2C_Read... [14:20:52]Read from MH i2c: E2 03 00 82 00 00 90 00 F6 [14:20:52]RAPDU: 90 00 [14:20:52]wFMCommunicate OK [14:20:52]wFMCommunicate request_size=255 [14:20:52]MH_SAM_APDU [14:20:52]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 2F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 D1 81 D1 82 D0 BE D0 BF D0 BA D0 B0 20 30 2C 30 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 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 C3 7B E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 [14:20:52]Write to MH i2c: E2 02 01 83 00 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 2F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 D1 81 D1 82 D0 BE D0 BF D0 BA D0 B0 20 30 2C 30 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 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 C3 7B E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 00 00 34 [14:20:52]Write i2c OK [14:20:52]MH_I2C_Read... [14:20:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:20:52]Read from MH i2c: E2 [14:20:52]MH_I2C_Read... [14:20:52]Read from MH i2c: E2 03 00 [14:20:52]MH_I2C_Read... [14:20:52]Read from MH i2c: E2 03 00 83 00 00 90 00 F7 [14:20:52]RAPDU: 90 00 [14:20:52]wFMCommunicate OK [14:20:52]wFMCommunicate request_size=43 [14:20:52]MH_SAM_APDU [14:20:52]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 AF 7E 00 00 35 04 06 00 E4 1E 2A CC B6 F7 [14:20:52]Write to MH i2c: E2 2E 00 84 00 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 AF 7E 00 00 35 04 06 00 E4 1E 2A CC B6 F7 00 00 BA [14:20:52]Write i2c OK [14:20:52]MH_I2C_Read... [14:20:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:20:52]Read from MH i2c: E2 [14:20:52]MH_I2C_Read... [14:20:52]Read from MH i2c: E2 03 00 [14:20:52]MH_I2C_Read... [14:20:52]Read from MH i2c: E2 03 00 84 00 00 90 00 F8 [14:20:52]RAPDU: 90 00 [14:20:52]wFMCommunicate OK [14:20:52]wFMCommunicate request_size=4 [14:20:52]MH_SAM_APDU [14:20:52]CAPDU: 80 0D 03 02 [14:20:52]Write to MH i2c: E2 08 00 85 00 80 0D 03 02 00 00 00 00 00 [14:20:52]Write i2c OK [14:20:52]MH_I2C_Read... [14:20:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:20:52]Read from MH i2c: E2 [14:20:52]MH_I2C_Read... [14:20:52]Read from MH i2c: E2 0B 00 [14:20:52]MH_I2C_Read... [14:20:52]Read from MH i2c: E2 0B 00 85 00 00 6A 83 CD 3C AA 4C 8C C9 90 00 42 [14:20:52]RAPDU: 6A 83 CD 3C AA 4C 8C C9 90 00 [14:20:52]wFMCommunicate OK [14:20:52]SAM_PROTO_SignData done [14:20:52]FM_MakeSignedData done [14:20:52]CreateOFDProtocolMessage [14:20:52]wFMCommunicate request_size=4 [14:20:52]MH_SAM_APDU [14:20:52]CAPDU: 80 11 00 00 [14:20:52]Write to MH i2c: E2 08 00 86 00 80 11 00 00 00 00 00 00 00 [14:20:52]Write i2c OK [14:20:52]MH_I2C_Read... [14:20:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:20:52]Read from MH i2c: E2 [14:20:52]MH_I2C_Read... [14:20:52]Read from MH i2c: E2 17 00 [14:20:52]MH_I2C_Read... [14:20:52]Read from MH i2c: E2 17 00 86 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 55 [14:20:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [14:20:52]wFMCommunicate OK [14:20:52]CreateOFDProtocolMessage done [14:20:52]OFDSenderStorePacket 32431 [14:20:52]StoreOFDPacket docnum=32431 [14:20:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 30 01 00 00 35 E9 28 01 A4 44 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 2F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 D1 81 D1 82 D0 BE D0 BF D0 BA D0 B0 20 30 2C 30 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 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 C3 7B E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 AF 7E 00 00 35 04 06 00 E4 1E 2A CC B6 F7 6A 83 CD 3C AA 4C 8C C9 [14:20:52]CheckFolder [14:20:52]dirname=/storage/ofd_packets [14:20:52]CheckFolder done [14:20:52]ProducePacketName [14:20:52]name=ofd_packets/00032431 [14:20:52]NVStorageSaveData ofd_packets/00032431 [14:20:52]File name is /storage/ofd_packets/00032431 [14:20:52]Write 334 bytes [14:20:52]NVStorageSaveData done [14:20:52]OFDSenderStorePacket done [14:20:52]KKMCreateOFDPacket done [14:20:52]NVStorageSaveData kkm_last_timestamp [14:20:52]File name is /storage/kkm_last_timestamp [14:20:52]Write 4 bytes [14:20:52]NVStorageSaveData done [14:20:52]ExternCall_PrintAddStr [14:20:52]wPrintStart [14:20:52]Write to MH i2c: 01 00 00 87 00 87 [14:20:52]Write i2c OK [14:20:52]MH_I2C_Read... [14:20:52]Read from MH i2c: 01 [14:20:52]MH_I2C_Read... [14:20:52]Read from MH i2c: 01 07 00 [14:20:52]MH_I2C_Read... [14:20:52]Read from MH i2c: 01 07 00 87 00 00 00 00 00 00 FF 0F 9C [14:20:52]RasterBufferAndPrint [14:20:52]line Счет N : (3)58586 [14:20:52]line ИНН: 02508201610067 [14:20:52]line Контрольно-Кассовый Чек [14:20:52]line ПРОДАЖА [14:20:52]line Товар: 47011656 [14:20:52]line Водка Пшеничная стопка 0,07 [14:20:52]line 1.000 * 65.00 [14:20:52]line = 65.00 [14:20:52]line НДС 12% НСП 1% [14:20:52]line > о реализуемом товаре [14:20:52]line ИТОГО: 65.00 [14:20:52]line НСП 1% : 0.57 [14:20:52]line НДС 12% : 6.90 [14:20:52]line Наличными: 65.00 [14:20:52]line Безнал.: 0.00 [14:20:52]line Место: АЗС № 99 "Партнер Нефть" [14:20:52]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [14:20:52]line СНО: Общий режим [14:20:52]line Чек 47 06.03.2024 14:20 [14:20:52]line Смена: 284 ФФД: 1.0 [14:20:52]line ЗНМ: 0300000074 [14:20:52]line РНМ: 0000000000092554 [14:20:52]line Версия ККМ: 001 [14:20:52]line ФМ: 0000000000871783 [14:20:52]line ФД: 32431 [14:20:52]line ФПД: 250818218211063 [14:20:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T142051&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32431&fm=250818218211063&tin=02508201610067®Number=0000000000092554&sum=6500 [14:20:52]line 0 [14:20:52]OFD Sender: Processing packet 32431 [packets to send 5, broken 4] [14:20:52]ProducePacketName [14:20:52]name=ofd_packets/00032431 [14:20:52]OFD Sender: To server: pG, [14:20:52]CommunicateWithHost lk.salyk.kg:30040 [14:20:52]ConnectInit lk.salyk.kg [14:20:52]written 0, free lines is 4095 [14:20:52]Connected sock=10 [14:20:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 30 01 00 00 35 E9 28 01 A4 44 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 2F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 D1 81 D1 82 D0 BE D0 BF D0 BA D0 B0 20 30 2C 30 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 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 C3 7B E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 AF 7E 00 00 35 04 06 00 E4 1E 2A CC B6 F7 6A 83 CD 3C AA 4C 8C C9 [14:20:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 DD 8F 47 00 B7 08 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 AF 7E 00 00 F4 03 04 00 FB 23 E8 65 B6 04 01 00 00 41 9E E5 DD 46 99 C0 DA [14:20:53]CommunicateWithHost err = 0 [14:20:53]CheckOFDResponse [14:20:53]1017 (14) - 77093643461234 [14:20:53]1041 (16) - 0000000000871783 [14:20:53]1040 (4) - 32431 [14:20:53]1012 (4) - 06.03.2024 08:06 [14:20:53]1206 (1) - 0 [14:20:53]OFD Sender: Remove packet 32431 [14:20:53]ProducePacketName [14:20:53]name=ofd_packets/00032431 [14:20:53]NVStorageDeleteData [14:20:53]Write to MH i2c: 01 00 00 AF 00 AF [14:20:53]Write i2c OK [14:20:53]MH_I2C_Read... [14:20:53]Read from MH i2c: 01 [14:20:53]MH_I2C_Read... [14:20:53]Read from MH i2c: 01 07 00 [14:20:53]MH_I2C_Read... [14:20:53]Read from MH i2c: 01 07 00 AF 00 00 00 00 00 00 C3 0C 85 [14:20:53]RasterBufferAndPrint [14:20:53]line [14:20:53]line [14:20:53]line [14:20:53]line [14:20:53]line [14:20:53]written 0, free lines is 3271 [14:20:53]MH_Cut [14:20:53]Write to MH i2c: D1 01 00 B6 00 01 88 [14:20:53]Write i2c OK [14:20:53]MH_I2C_Read... [14:20:53]Read from MH i2c: D1 [14:20:53]MH_I2C_Read... [14:20:53]Read from MH i2c: D1 01 00 [14:20:53]MH_I2C_Read... [14:20:53]Read from MH i2c: D1 01 00 B6 00 00 87 [14:20:53]Write to MH i2c: 01 00 00 B7 00 B7 [14:20:53]Write i2c OK [14:20:53]MH_I2C_Read... [14:20:53]OFD Sender: No OFD packet to send [14:20:54]*** Cut start [14:20:54]*** Partial cut [14:20:54]*** CUTSNS_PIN = 1 [14:20:54]*** CUTSNS_PIN = 0 [14:20:54]*** Brake cut motor [14:20:54]Read from MH i2c: 01 [14:20:54]MH_I2C_Read... [14:20:54]*** Stop cut motor [14:20:54]*** Cut end [14:20:54]Read from MH i2c: 01 07 00 [14:20:54]MH_I2C_Read... [14:20:54]Read from MH i2c: 01 07 00 B7 00 00 00 00 00 00 FF 0F CC [14:20:54]process_action close_receipt done [14:20:54]requested_data is exist [14:20:54]produce_requested_data [14:20:54]requested_item fm.sn is exist - process it [14:20:54]wFMCommunicate request_size=4 [14:20:54]MH_SAM_APDU [14:20:54]CAPDU: 80 11 00 00 [14:20:54]Write to MH i2c: E2 08 00 B8 00 80 11 00 00 00 00 00 00 32 [14:20:54]Write i2c OK [14:20:54]MH_I2C_Read... [14:20:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:20:54]Read from MH i2c: E2 [14:20:54]MH_I2C_Read... [14:20:54]Read from MH i2c: E2 17 00 [14:20:54]MH_I2C_Read... [14:20:54]Read from MH i2c: E2 17 00 B8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 87 [14:20:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [14:20:54]wFMCommunicate OK [14:20:54]requested_item fd.num is exist - process it [14:20:54]SAM_PROTO_GetFieldsCounters [14:20:54]wFMCommunicate request_size=4 [14:20:54]MH_SAM_APDU [14:20:54]CAPDU: 80 13 00 00 [14:20:54]Write to MH i2c: E2 08 00 B9 00 80 13 00 00 00 00 00 00 35 [14:20:54]Write i2c OK [14:20:54]MH_I2C_Read... [14:20:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:20:54]Read from MH i2c: E2 [14:20:54]MH_I2C_Read... [14:20:54]Read from MH i2c: E2 62 00 [14:20:54]MH_I2C_Read... [14:20:54]Read from MH i2c: E2 62 00 B9 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 AF 7E 00 00 0E 04 04 00 1C 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 2F [14:20:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 AF 7E 00 00 0E 04 04 00 1C 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 [14:20:54]wFMCommunicate OK [14:20:54]SAM_PROTO_GetFieldsCounters done [14:20:54]requested_item shift.num is exist - process it [14:20:54]requested_item shift.opened is exist - process it [14:20:54]req_shift_opened [14:20:54]FM_GetShiftState [14:20:54]SAM_PROTO_GetShiftState [14:20:54]wFMCommunicate request_size=4 [14:20:54]MH_SAM_APDU [14:20:54]CAPDU: 80 13 01 00 [14:20:54]Write to MH i2c: E2 08 00 BA 00 80 13 01 00 00 00 00 00 37 [14:20:54]Write i2c OK [14:20:54]MH_I2C_Read... [14:20:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:20:55]Read from MH i2c: E2 [14:20:55]MH_I2C_Read... [14:20:55]Read from MH i2c: E2 0E 00 [14:20:55]MH_I2C_Read... [14:20:55]Read from MH i2c: E2 0E 00 BA 00 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 B4 [14:20:55]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [14:20:55]wFMCommunicate OK [14:20:55]SAM_PROTO_GetShiftState done [14:20:55]FM_GetShiftState done [14:20:55]req_shift_opened done [14:20:55]requested_item shift.open_date is exist - process it [14:20:55]req_shift_open_date [14:20:55]req_shift_open_date done [14:20:55]produce_requested_data done [14:20:55]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32431,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [14:20:55]process_action_free close_receipt [14:20:55]json_value_free [14:20:55]json_value_free done [14:20:55]process_json_proto returns [14:20:55]Send response to host [14:20:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32431,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [14:20:55]free response buf [14:20:55]execute_script done [14:20:55]execute_script returns [14:20:55]free content buf [14:20:55]Sock 9.Close socket [14:20:55]Sock 9.Thread stoped [14:20:58]OFD Sender: No OFD packet to send [14:21:03]OFD Sender: No OFD packet to send [14:21:08]OFD Sender: No OFD packet to send [14:21:13]OFD Sender: No OFD packet to send [14:21:18]OFD Sender: No OFD packet to send [14:21:23]OFD Sender: No OFD packet to send [14:21:28]OFD Sender: No OFD packet to send [14:21:33]OFD Sender: No OFD packet to send [14:21:38]OFD Sender: No OFD packet to send [14:21:43]OFD Sender: No OFD packet to send [14:21:48]OFD Sender: No OFD packet to send [14:21:53]OFD Sender: No OFD packet to send [14:21:58]OFD Sender: No OFD packet to send [14:22:03]OFD Sender: No OFD packet to send [14:22:08]OFD Sender: No OFD packet to send [14:22:13]OFD Sender: No OFD packet to send [14:22:18]OFD Sender: No OFD packet to send [14:22:23]OFD Sender: No OFD packet to send [14:22:28]OFD Sender: No OFD packet to send [14:22:33]OFD Sender: No OFD packet to send [14:22:38]OFD Sender: No OFD packet to send [14:22:43]OFD Sender: No OFD packet to send [14:22:48]OFD Sender: No OFD packet to send [14:22:53]OFD Sender: No OFD packet to send [14:22:58]OFD Sender: No OFD packet to send [14:23:03]OFD Sender: No OFD packet to send [14:23:08]OFD Sender: No OFD packet to send [14:23:13]OFD Sender: No OFD packet to send [14:23:18]OFD Sender: No OFD packet to send [14:23:23]OFD Sender: No OFD packet to send [14:23:28]OFD Sender: No OFD packet to send [14:23:33]OFD Sender: No OFD packet to send [14:23:38]OFD Sender: No OFD packet to send [14:23:43]OFD Sender: No OFD packet to send [14:23:48]OFD Sender: No OFD packet to send [14:23:53]OFD Sender: No OFD packet to send [14:23:58]OFD Sender: No OFD packet to send [14:24:03]OFD Sender: No OFD packet to send [14:24:08]OFD Sender: No OFD packet to send [14:24:13]OFD Sender: No OFD packet to send [14:24:18]OFD Sender: No OFD packet to send [14:24:23]OFD Sender: No OFD packet to send [14:24:28]OFD Sender: No OFD packet to send [14:24:33]OFD Sender: No OFD packet to send [14:24:38]OFD Sender: No OFD packet to send [14:24:43]OFD Sender: No OFD packet to send [14:24:48]OFD Sender: No OFD packet to send [14:24:53]OFD Sender: No OFD packet to send [14:24:58]OFD Sender: No OFD packet to send [14:25:03]OFD Sender: No OFD packet to send [14:25:08]OFD Sender: No OFD packet to send [14:25:13]OFD Sender: No OFD packet to send [14:25:18]OFD Sender: No OFD packet to send [14:25:23]OFD Sender: No OFD packet to send [14:25:28]OFD Sender: No OFD packet to send [14:25:33]OFD Sender: No OFD packet to send [14:25:38]OFD Sender: No OFD packet to send [14:25:43]OFD Sender: No OFD packet to send [14:25:48]OFD Sender: No OFD packet to send [14:25:53]OFD Sender: No OFD packet to send [14:25:58]OFD Sender: No OFD packet to send [14:26:03]OFD Sender: No OFD packet to send [14:26:08]OFD Sender: No OFD packet to send [14:26:13]OFD Sender: No OFD packet to send [14:26:18]OFD Sender: No OFD packet to send [14:26:23]OFD Sender: No OFD packet to send [14:26:28]OFD Sender: No OFD packet to send [14:26:33]OFD Sender: No OFD packet to send [14:26:38]OFD Sender: No OFD packet to send [14:26:43]OFD Sender: No OFD packet to send [14:26:48]OFD Sender: No OFD packet to send [14:26:53]OFD Sender: No OFD packet to send [14:26:58]OFD Sender: No OFD packet to send [14:27:03]OFD Sender: No OFD packet to send [14:27:08]OFD Sender: No OFD packet to send [14:27:13]OFD Sender: No OFD packet to send [14:27:18]OFD Sender: No OFD packet to send [14:27:23]OFD Sender: No OFD packet to send [14:27:28]OFD Sender: No OFD packet to send [14:27:33]OFD Sender: No OFD packet to send [14:27:38]OFD Sender: No OFD packet to send [14:27:43]OFD Sender: No OFD packet to send [14:27:48]OFD Sender: No OFD packet to send [14:27:53]OFD Sender: No OFD packet to send [14:27:58]OFD Sender: No OFD packet to send [14:28:04]OFD Sender: No OFD packet to send [14:28:09]OFD Sender: No OFD packet to send [14:28:14]OFD Sender: No OFD packet to send [14:28:19]OFD Sender: No OFD packet to send [14:28:24]OFD Sender: No OFD packet to send [14:28:29]OFD Sender: No OFD packet to send [14:28:34]OFD Sender: No OFD packet to send [14:28:39]OFD Sender: No OFD packet to send [14:28:44]OFD Sender: No OFD packet to send [14:28:49]OFD Sender: No OFD packet to send [14:28:54]OFD Sender: No OFD packet to send [14:28:59]OFD Sender: No OFD packet to send [14:29:04]OFD Sender: No OFD packet to send [14:29:09]OFD Sender: No OFD packet to send [14:29:14]OFD Sender: No OFD packet to send [14:29:19]OFD Sender: No OFD packet to send [14:29:24]OFD Sender: No OFD packet to send [14:29:29]OFD Sender: No OFD packet to send [14:29:34]OFD Sender: No OFD packet to send [14:29:39]OFD Sender: No OFD packet to send [14:29:44]OFD Sender: No OFD packet to send [14:29:49]OFD Sender: No OFD packet to send [14:29:54]OFD Sender: No OFD packet to send [14:29:59]OFD Sender: No OFD packet to send [14:30:04]OFD Sender: No OFD packet to send [14:30:09]OFD Sender: No OFD packet to send [14:30:14]OFD Sender: No OFD packet to send [14:30:19]OFD Sender: No OFD packet to send [14:30:24]OFD Sender: No OFD packet to send [14:30:29]OFD Sender: No OFD packet to send [14:30:34]OFD Sender: No OFD packet to send [14:30:39]OFD Sender: No OFD packet to send [14:30:44]OFD Sender: No OFD packet to send [14:30:45]int [14:30:45]Write to MH i2c: 01 00 00 BB 00 BB [14:30:45]Write i2c OK [14:30:45]MH_I2C_Read... [14:30:45]Read from MH i2c: 01 [14:30:45]MH_I2C_Read... [14:30:45]Read from MH i2c: 01 07 00 [14:30:45]MH_I2C_Read... [14:30:45]Read from MH i2c: 01 07 00 BB 00 00 04 00 00 00 FF 0F D4 [14:30:45]state=0 [14:30:49]OFD Sender: No OFD packet to send [14:30:54]OFD Sender: No OFD packet to send [14:30:59]OFD Sender: No OFD packet to send [14:31:04]OFD Sender: No OFD packet to send [14:31:09]OFD Sender: No OFD packet to send [14:31:14]OFD Sender: No OFD packet to send [14:31:19]OFD Sender: No OFD packet to send [14:31:24]OFD Sender: No OFD packet to send [14:31:29]OFD Sender: No OFD packet to send [14:31:34]OFD Sender: No OFD packet to send [14:31:39]OFD Sender: No OFD packet to send [14:31:44]OFD Sender: No OFD packet to send [14:31:49]OFD Sender: No OFD packet to send [14:31:54]OFD Sender: No OFD packet to send [14:31:59]OFD Sender: No OFD packet to send [14:32:04]OFD Sender: No OFD packet to send [14:32:06]accept exits with 7 [14:32:06]New connection [14:32:06]New thread 3066768740 created [14:32:06]Thread 3066625380 joined [14:32:06]Waiting for new connection... [14:32:06] Sock 7.Parse request [14:32:06]Sock 7.Check first char [14:32:06]Sock 7.First char is OK [14:32:06]request: POST /json_proto HTTP/1.0 [14:32:06]Method: POST [14:32:06]URL: /json_proto [14:32:06]Method is POST - this is cgi request [14:32:06]url: /json_proto [14:32:06]query_string will be loaded in cgi processing [14:32:06]execute_cgi json_proto POST (null) [14:32:06]execute_cgi path=json_proto method=POST [14:32:06]POST find Content-Length [14:32:06]Host: 172.17.61.6:8080 [14:32:06]Content-Length: 620 [14:32:06]Content-Type: application/json [14:32:06] [14:32:06]POST finish read [14:32:06]Found Content-Length = 620 [14:32:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58587", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:32:06]execute_script... [14:32: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)58587", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:32:06]POST & json_proto [14:32:06]process_json_proto [14:32:06]json parsed OK: [14:32:06]protocol is kg_v1.0 [14:32:06]action value=close_receipt [14:32:06]process_action close_receipt [14:32:06]cmd_close_receipt [14:32:06]MH_GetDate [14:32:06]Write to MH i2c: F0 00 00 BC 00 AB [14:32:06]Write i2c OK [14:32:06]MH_I2C_Read... [14:32:06]Read from MH i2c: F0 [14:32:06]MH_I2C_Read... [14:32:06]Read from MH i2c: F0 09 00 [14:32:06]MH_I2C_Read... [14:32:06]Read from MH i2c: F0 09 00 BC 00 00 67 7E E8 65 78 7F 6F 64 B0 [14:32:06]GetLastDocTimeStamp 1709734851 [14:32:06]current date 1709735527 [14:32:06]FM_GetShiftState [14:32:06]SAM_PROTO_GetShiftState [14:32:06]wFMCommunicate request_size=4 [14:32:06]MH_SAM_APDU [14:32:06]CAPDU: 80 13 01 00 [14:32:06]Write to MH i2c: E2 08 00 BD 00 80 13 01 00 00 00 00 00 3A [14:32:06]Write i2c OK [14:32:06]MH_I2C_Read... [14:32:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:32:06]Read from MH i2c: E2 [14:32:06]MH_I2C_Read... [14:32:06]Read from MH i2c: E2 0E 00 [14:32:06]MH_I2C_Read... [14:32:06]Read from MH i2c: E2 0E 00 BD 00 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 B7 [14:32:06]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [14:32:06]wFMCommunicate OK [14:32:06]SAM_PROTO_GetShiftState done [14:32:06]FM_GetShiftState done [14:32:06]opened in 1709684590 [14:32:06]opened+sec_in_day 1709770990 [14:32:06]quantity*price = 13500 [14:32:06]sum+1 = 13501 [14:32:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 48 06.03.2024 14:32 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32432 ФПД: 152473453271217 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T143207&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32432&fm=152473453271217&tin=02508201610067®Number=0000000000092554&sum=13500 0 [14:32:07]StoreToDocumentArchive [14:32:07]shift 284 fd 32432 [14:32:07]save to /storage/0284/doc_00032432 [14:32:07]save last doc name /storage/0284/doc_00032432 to /storage/kkm_last_doc_name [14:32:07]save OK [14:32:07]Clear old archive folders... [14:32:07]ProcessDocumentItem done err = 0, tmpTLVsize=273 [14:32:07]tlvbuf is 0171E0F0 [14:32:07]SAM_PROTO_ClearQueue [14:32:07]wFMCommunicate request_size=4 [14:32:07]MH_SAM_APDU [14:32:07]CAPDU: 80 09 00 00 [14:32:07]Write to MH i2c: E2 08 00 CA 00 80 09 00 00 00 00 00 00 3C [14:32:07]Write i2c OK [14:32:07]MH_I2C_Read... [14:32:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:32:07]Read from MH i2c: E2 [14:32:07]MH_I2C_Read... [14:32:07]Read from MH i2c: E2 03 00 [14:32:07]MH_I2C_Read... [14:32:07]Read from MH i2c: E2 03 00 CA 00 00 90 00 3E [14:32:07]RAPDU: 90 00 [14:32:07]wFMCommunicate OK [14:32:07]SAM_PROTO_ClearQueue done [14:32:07]KKMCreateOFDPacket [14:32:07]OFDProtocolAddRootSTLVToBuf [14:32:07]FM_MakeSignedData [14:32:07]FM_MakeSignedData [14:32:07]SAM_PROTO_SignData [14:32:07]wFMCommunicate request_size=4 [14:32:07]MH_SAM_APDU [14:32:07]CAPDU: 80 0D 01 02 [14:32:07]Write to MH i2c: E2 08 00 CB 00 80 0D 01 02 00 00 00 00 44 [14:32:07]Write i2c OK [14:32:07]MH_I2C_Read... [14:32:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:32:07]Read from MH i2c: E2 [14:32:07]MH_I2C_Read... [14:32:07]Read from MH i2c: E2 03 00 [14:32:07]MH_I2C_Read... [14:32:07]Read from MH i2c: E2 03 00 CB 00 00 90 00 3F [14:32:07]RAPDU: 90 00 [14:32:07]wFMCommunicate OK [14:32:07]wFMCommunicate request_size=255 [14:32:07]MH_SAM_APDU [14:32:07]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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 67 7E E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 [14:32:07]Write to MH i2c: E2 02 01 CC 00 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 67 7E E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 00 00 A6 [14:32:07]Write i2c OK [14:32:07]MH_I2C_Read... [14:32:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:32:08]Read from MH i2c: E2 [14:32:08]MH_I2C_Read... [14:32:08]Read from MH i2c: E2 03 00 [14:32:08]MH_I2C_Read... [14:32:08]Read from MH i2c: E2 03 00 CC 00 00 90 00 40 [14:32:08]RAPDU: 90 00 [14:32:08]wFMCommunicate OK [14:32:08]wFMCommunicate request_size=32 [14:32:08]MH_SAM_APDU [14:32:08]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 37 38 33 10 04 04 00 B0 7E 00 00 35 04 06 00 8A AC 7E 05 18 B1 [14:32:08]Write to MH i2c: E2 23 00 CD 00 80 0D 02 02 1B 00 30 30 30 38 37 31 37 38 33 10 04 04 00 B0 7E 00 00 35 04 06 00 8A AC 7E 05 18 B1 00 00 56 [14:32:08]Write i2c OK [14:32:08]MH_I2C_Read... [14:32:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:32:08]Read from MH i2c: E2 [14:32:08]MH_I2C_Read... [14:32:08]Read from MH i2c: E2 03 00 [14:32:08]MH_I2C_Read... [14:32:08]Read from MH i2c: E2 03 00 CD 00 00 90 00 41 [14:32:08]RAPDU: 90 00 [14:32:08]wFMCommunicate OK [14:32:08]wFMCommunicate request_size=4 [14:32:08]MH_SAM_APDU [14:32:08]CAPDU: 80 0D 03 02 [14:32:08]Write to MH i2c: E2 08 00 CE 00 80 0D 03 02 00 00 00 00 49 [14:32:08]Write i2c OK [14:32:08]MH_I2C_Read... [14:32:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:32:08]Read from MH i2c: E2 [14:32:08]MH_I2C_Read... [14:32:08]Read from MH i2c: E2 0B 00 [14:32:08]MH_I2C_Read... [14:32:08]Read from MH i2c: E2 0B 00 CE 00 00 7E BF 61 D8 D0 27 FA 62 90 00 13 [14:32:08]RAPDU: 7E BF 61 D8 D0 27 FA 62 90 00 [14:32:08]wFMCommunicate OK [14:32:08]SAM_PROTO_SignData done [14:32:08]FM_MakeSignedData done [14:32:08]CreateOFDProtocolMessage [14:32:08]wFMCommunicate request_size=4 [14:32:08]MH_SAM_APDU [14:32:08]CAPDU: 80 11 00 00 [14:32:08]Write to MH i2c: E2 08 00 CF 00 80 11 00 00 00 00 00 00 49 [14:32:08]Write i2c OK [14:32:08]MH_I2C_Read... [14:32:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:32:08]Read from MH i2c: E2 [14:32:08]MH_I2C_Read... [14:32:08]Read from MH i2c: E2 17 00 [14:32:08]MH_I2C_Read... [14:32:08]Read from MH i2c: E2 17 00 CF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 9E [14:32:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [14:32:08]wFMCommunicate OK [14:32:08]CreateOFDProtocolMessage done [14:32:08]OFDSenderStorePacket 32432 [14:32:08]StoreOFDPacket docnum=32432 [14:32:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 25 01 00 00 95 C6 1D 01 AA E2 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 67 7E E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 B0 7E 00 00 35 04 06 00 8A AC 7E 05 18 B1 7E BF 61 D8 D0 27 FA 62 [14:32:08]CheckFolder [14:32:08]dirname=/storage/ofd_packets [14:32:08]CheckFolder done [14:32:08]ProducePacketName [14:32:08]name=ofd_packets/00032432 [14:32:08]NVStorageSaveData ofd_packets/00032432 [14:32:08]File name is /storage/ofd_packets/00032432 [14:32:08]Write 323 bytes [14:32:08]NVStorageSaveData done [14:32:08]OFDSenderStorePacket done [14:32:08]KKMCreateOFDPacket done [14:32:08]NVStorageSaveData kkm_last_timestamp [14:32:08]File name is /storage/kkm_last_timestamp [14:32:08]Write 4 bytes [14:32:08]NVStorageSaveData done [14:32:08]ExternCall_PrintAddStr [14:32:08]wPrintStart [14:32:08]Write to MH i2c: 01 00 00 D0 00 D0 [14:32:08]Write i2c OK [14:32:08]MH_I2C_Read... [14:32:08]Read from MH i2c: 01 [14:32:08]MH_I2C_Read... [14:32:08]Read from MH i2c: 01 07 00 [14:32:08]MH_I2C_Read... [14:32:08]Read from MH i2c: 01 07 00 D0 00 00 04 00 00 00 FF 0F E9 [14:32:08]RasterBufferAndPrint [14:32:08]line Счет N : (3)58587 [14:32:08]line ИНН: 02508201610067 [14:32:08]line Контрольно-Кассовый Чек [14:32:08]line ПРОДАЖА [14:32:08]line Товар: 48743570 [14:32:08]line Сигареты Winston XStyle Blue [14:32:08]line 1.000 * 135.00 [14:32:08]line = 135.00 [14:32:08]line НДС 12% НСП 1% [14:32:08]line > о реализуемом товаре [14:32:08]line ИТОГО: 135.00 [14:32:08]line НСП 1% : 1.19 [14:32:08]line НДС 12% : 14.34 [14:32:08]line Наличными: 135.00 [14:32:08]line Безнал.: 0.00 [14:32:08]line Место: АЗС № 99 "Партнер Нефть" [14:32:08]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [14:32:08]line СНО: Общий режим [14:32:08]line Чек 48 06.03.2024 14:32 [14:32:08]line Смена: 284 ФФД: 1.0 [14:32:08]line ЗНМ: 0300000074 [14:32:08]line РНМ: 0000000000092554 [14:32:08]line Версия ККМ: 001 [14:32:08]line ФМ: 0000000000871783 [14:32:08]line ФД: 32432 [14:32:08]line ФПД: 152473453271217 [14:32:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T143207&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32432&fm=152473453271217&tin=02508201610067®Number=0000000000092554&sum=13500 [14:32:08]line 0 [14:32:08]OFD Sender: Processing packet 32432 [packets to send 5, broken 4] [14:32:08]ProducePacketName [14:32:08]name=ofd_packets/00032432 [14:32:08]OFD Sender: To server: pG, [14:32:08]CommunicateWithHost lk.salyk.kg:30040 [14:32:08]ConnectInit lk.salyk.kg [14:32:08]written 0, free lines is 4095 [14:32:08]Connected sock=10 [14:32:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 25 01 00 00 95 C6 1D 01 AA E2 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 67 7E E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 B0 7E 00 00 35 04 06 00 8A AC 7E 05 18 B1 7E BF 61 D8 D0 27 FA 62 [14:32:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 ED 91 47 00 71 8E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 B0 7E 00 00 F4 03 04 00 9F 26 E8 65 B6 04 01 00 00 39 A3 48 3B D4 38 32 E7 [14:32:09]CommunicateWithHost err = 0 [14:32:09]CheckOFDResponse [14:32:09]1017 (14) - 77093643461234 [14:32:09]1041 (16) - 0000000000871783 [14:32:09]1040 (4) - 32432 [14:32:09]1012 (4) - 06.03.2024 08:17 [14:32:09]1206 (1) - 0 [14:32:09]OFD Sender: Remove packet 32432 [14:32:09]ProducePacketName [14:32:09]name=ofd_packets/00032432 [14:32:09]NVStorageDeleteData [14:32:09]Write to MH i2c: 01 00 00 F8 00 F8 [14:32:09]Write i2c OK [14:32:09]MH_I2C_Read... [14:32:09]Read from MH i2c: 01 [14:32:09]MH_I2C_Read... [14:32:09]Read from MH i2c: 01 07 00 [14:32:09]MH_I2C_Read... [14:32:09]Read from MH i2c: 01 07 00 F8 00 00 04 00 00 00 CB 0C DA [14:32:09]RasterBufferAndPrint [14:32:09]line [14:32:09]line [14:32:09]line [14:32:09]line [14:32:09]line [14:32:09]written 0, free lines is 3280 [14:32:09]MH_Cut [14:32:09]Write to MH i2c: D1 01 00 FF 00 01 D1 [14:32:09]Write i2c OK [14:32:09]MH_I2C_Read... [14:32:09]Read from MH i2c: D1 [14:32:09]MH_I2C_Read... [14:32:09]Read from MH i2c: D1 01 00 [14:32:09]MH_I2C_Read... [14:32:09]Read from MH i2c: D1 01 00 FF 00 00 D0 [14:32:09]Write to MH i2c: 01 00 00 00 01 01 [14:32:09]Write i2c OK [14:32:09]MH_I2C_Read... [14:32:09]OFD Sender: No OFD packet to send [14:32:10]*** Cut start [14:32:10]*** Partial cut [14:32:10]*** CUTSNS_PIN = 1 [14:32:10]*** CUTSNS_PIN = 0 [14:32:10]*** Brake cut motor [14:32:10]Read from MH i2c: 01 [14:32:10]MH_I2C_Read... [14:32:10]*** Stop cut motor [14:32:10]*** Cut end [14:32:10]Read from MH i2c: 01 07 00 [14:32:10]MH_I2C_Read... [14:32:10]Read from MH i2c: 01 07 00 00 01 00 04 00 00 00 FF 0F 1A [14:32:10]process_action close_receipt done [14:32:10]requested_data is exist [14:32:10]produce_requested_data [14:32:10]requested_item fm.sn is exist - process it [14:32:10]wFMCommunicate request_size=4 [14:32:10]MH_SAM_APDU [14:32:10]CAPDU: 80 11 00 00 [14:32:10]Write to MH i2c: E2 08 00 01 01 80 11 00 00 00 00 00 00 7C [14:32:10]Write i2c OK [14:32:10]MH_I2C_Read... [14:32:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:32:10]Read from MH i2c: E2 [14:32:10]MH_I2C_Read... [14:32:10]Read from MH i2c: E2 17 00 [14:32:10]MH_I2C_Read... [14:32:10]Read from MH i2c: E2 17 00 01 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 D1 [14:32:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [14:32:10]wFMCommunicate OK [14:32:10]requested_item fd.num is exist - process it [14:32:10]SAM_PROTO_GetFieldsCounters [14:32:10]wFMCommunicate request_size=4 [14:32:10]MH_SAM_APDU [14:32:10]CAPDU: 80 13 00 00 [14:32:10]Write to MH i2c: E2 08 00 02 01 80 13 00 00 00 00 00 00 7F [14:32:10]Write i2c OK [14:32:10]MH_I2C_Read... [14:32:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:32:10]Read from MH i2c: E2 [14:32:10]MH_I2C_Read... [14:32:10]Read from MH i2c: E2 62 00 [14:32:10]MH_I2C_Read... [14:32:10]Read from MH i2c: E2 62 00 02 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 B0 7E 00 00 0E 04 04 00 1C 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 7D [14:32:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 B0 7E 00 00 0E 04 04 00 1C 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 [14:32:10]wFMCommunicate OK [14:32:10]SAM_PROTO_GetFieldsCounters done [14:32:10]requested_item shift.num is exist - process it [14:32:10]requested_item shift.opened is exist - process it [14:32:10]req_shift_opened [14:32:10]FM_GetShiftState [14:32:10]SAM_PROTO_GetShiftState [14:32:10]wFMCommunicate request_size=4 [14:32:10]MH_SAM_APDU [14:32:10]CAPDU: 80 13 01 00 [14:32:10]Write to MH i2c: E2 08 00 03 01 80 13 01 00 00 00 00 00 81 [14:32:10]Write i2c OK [14:32:10]MH_I2C_Read... [14:32:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:32:10]Read from MH i2c: E2 [14:32:10]MH_I2C_Read... [14:32:10]Read from MH i2c: E2 0E 00 [14:32:10]MH_I2C_Read... [14:32:10]Read from MH i2c: E2 0E 00 03 01 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 FE [14:32:10]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [14:32:10]wFMCommunicate OK [14:32:10]SAM_PROTO_GetShiftState done [14:32:10]FM_GetShiftState done [14:32:10]req_shift_opened done [14:32:10]requested_item shift.open_date is exist - process it [14:32:10]req_shift_open_date [14:32:10]req_shift_open_date done [14:32:10]produce_requested_data done [14:32:10]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32432,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [14:32:10]process_action_free close_receipt [14:32:10]json_value_free [14:32:10]json_value_free done [14:32:10]process_json_proto returns [14:32:10]Send response to host [14:32:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32432,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [14:32:10]free response buf [14:32:10]execute_script done [14:32:10]execute_script returns [14:32:10]free content buf [14:32:10]Sock 7.Close socket [14:32:10]Sock 7.Thread stoped [14:32:14]OFD Sender: No OFD packet to send [14:32:19]OFD Sender: No OFD packet to send [14:32:24]OFD Sender: No OFD packet to send [14:32:29]OFD Sender: No OFD packet to send [14:32:34]OFD Sender: No OFD packet to send [14:32:39]OFD Sender: No OFD packet to send [14:32:44]OFD Sender: No OFD packet to send [14:32:49]OFD Sender: No OFD packet to send [14:32:54]OFD Sender: No OFD packet to send [14:32:59]OFD Sender: No OFD packet to send [14:33:04]OFD Sender: No OFD packet to send [14:33:09]OFD Sender: No OFD packet to send [14:33:14]OFD Sender: No OFD packet to send [14:33:19]OFD Sender: No OFD packet to send [14:33:24]OFD Sender: No OFD packet to send [14:33:29]OFD Sender: No OFD packet to send [14:33:34]OFD Sender: No OFD packet to send [14:33:39]OFD Sender: No OFD packet to send [14:33:44]OFD Sender: No OFD packet to send [14:33:49]OFD Sender: No OFD packet to send [14:33:54]OFD Sender: No OFD packet to send [14:33:59]OFD Sender: No OFD packet to send [14:34:04]OFD Sender: No OFD packet to send [14:34:09]OFD Sender: No OFD packet to send [14:34:14]OFD Sender: No OFD packet to send [14:34:19]OFD Sender: No OFD packet to send [14:34:24]OFD Sender: No OFD packet to send [14:34:29]OFD Sender: No OFD packet to send [14:34:34]OFD Sender: No OFD packet to send [14:34:39]OFD Sender: No OFD packet to send [14:34:44]OFD Sender: No OFD packet to send [14:34:49]OFD Sender: No OFD packet to send [14:34:50]int [14:34:50]Write to MH i2c: 01 00 00 04 01 05 [14:34:50]Write i2c OK [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 07 00 [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 07 00 04 01 00 04 00 00 00 FF 0F 1E [14:34:50]state=0 [14:34:50]int [14:34:50]Write to MH i2c: 01 00 00 05 01 06 [14:34:50]Write i2c OK [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 07 00 [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 07 00 05 01 00 00 00 00 00 FF 0F 1B [14:34:50]state=0 [14:34:50]int [14:34:50]Write to MH i2c: 01 00 00 06 01 07 [14:34:50]Write i2c OK [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 07 00 [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 07 00 06 01 00 04 00 00 00 FF 0F 20 [14:34:50]state=0 [14:34:50]int [14:34:50]Write to MH i2c: 01 00 00 07 01 08 [14:34:50]Write i2c OK [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 07 00 [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 07 00 07 01 00 00 00 00 00 FF 0F 1D [14:34:50]state=0 [14:34:50]int [14:34:50]Write to MH i2c: 01 00 00 08 01 09 [14:34:50]Write i2c OK [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 07 00 [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 07 00 08 01 00 04 00 00 00 FF 0F 22 [14:34:50]state=0 [14:34:50]int [14:34:50]Write to MH i2c: 01 00 00 09 01 0A [14:34:50]Write i2c OK [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 07 00 [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 07 00 09 01 00 00 00 00 00 FF 0F 1F [14:34:50]state=0 [14:34:50]int [14:34:50]Write to MH i2c: 01 00 00 0A 01 0B [14:34:50]Write i2c OK [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 07 00 [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 07 00 0A 01 00 04 00 00 00 FF 0F 24 [14:34:50]state=0 [14:34:50]int [14:34:50]Write to MH i2c: 01 00 00 0B 01 0C [14:34:50]Write i2c OK [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 07 00 [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 07 00 0B 01 00 00 00 00 00 FF 0F 21 [14:34:50]state=0 [14:34:50]int [14:34:50]Write to MH i2c: 01 00 00 0C 01 0D [14:34:50]Write i2c OK [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 07 00 [14:34:50]MH_I2C_Read... [14:34:50]Read from MH i2c: 01 07 00 0C 01 00 04 00 00 00 FF 0F 26 [14:34:50]state=0 [14:34:51]int [14:34:51]Write to MH i2c: 01 00 00 0D 01 0E [14:34:51]Write i2c OK [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 0D 01 00 00 00 00 00 FF 0F 23 [14:34:51]state=0 [14:34:51]int [14:34:51]Write to MH i2c: 01 00 00 0E 01 0F [14:34:51]Write i2c OK [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 0E 01 00 04 00 00 00 FF 0F 28 [14:34:51]state=0 [14:34:51]int [14:34:51]Write to MH i2c: 01 00 00 0F 01 10 [14:34:51]Write i2c OK [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 0F 01 00 00 00 00 00 FF 0F 25 [14:34:51]state=0 [14:34:51]int [14:34:51]Write to MH i2c: 01 00 00 10 01 11 [14:34:51]Write i2c OK [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 10 01 00 04 00 00 00 FF 0F 2A [14:34:51]state=0 [14:34:51]int [14:34:51]Write to MH i2c: 01 00 00 11 01 12 [14:34:51]Write i2c OK [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 11 01 00 00 00 00 00 FF 0F 27 [14:34:51]state=0 [14:34:51]int [14:34:51]Write to MH i2c: 01 00 00 12 01 13 [14:34:51]Write i2c OK [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 12 01 00 04 00 00 00 FF 0F 2C [14:34:51]state=0 [14:34:51]int [14:34:51]Write to MH i2c: 01 00 00 13 01 14 [14:34:51]Write i2c OK [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 13 01 00 00 00 00 00 FF 0F 29 [14:34:51]state=0 [14:34:51]int [14:34:51]Write to MH i2c: 01 00 00 14 01 15 [14:34:51]Write i2c OK [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 14 01 00 04 00 00 00 FF 0F 2E [14:34:51]state=0 [14:34:51]int [14:34:51]Write to MH i2c: 01 00 00 15 01 16 [14:34:51]Write i2c OK [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 15 01 00 00 00 00 00 FF 0F 2B [14:34:51]state=0 [14:34:51]int [14:34:51]Write to MH i2c: 01 00 00 16 01 17 [14:34:51]Write i2c OK [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 16 01 00 04 00 00 00 FF 0F 30 [14:34:51]state=0 [14:34:51]int [14:34:51]Write to MH i2c: 01 00 00 17 01 18 [14:34:51]Write i2c OK [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 17 01 00 00 00 00 00 FF 0F 2D [14:34:51]state=0 [14:34:51]int [14:34:51]Write to MH i2c: 01 00 00 18 01 19 [14:34:51]Write i2c OK [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 [14:34:51]MH_I2C_Read... [14:34:51]Read from MH i2c: 01 07 00 18 01 00 04 00 00 00 FF 0F 32 [14:34:51]state=0 [14:34:52]int [14:34:52]Write to MH i2c: 01 00 00 19 01 1A [14:34:52]Write i2c OK [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 07 00 [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 07 00 19 01 00 00 00 00 00 FF 0F 2F [14:34:52]state=0 [14:34:52]int line is 0 - check status [14:34:52]Write to MH i2c: 01 00 00 1A 01 1B [14:34:52]Write i2c OK [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 07 00 [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 07 00 1A 01 00 00 00 00 00 FF 0F 30 [14:34:52]state=0 [14:34:52]int [14:34:52]Write to MH i2c: 01 00 00 1B 01 1C [14:34:52]Write i2c OK [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 07 00 [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 07 00 1B 01 00 00 00 00 00 FF 0F 31 [14:34:52]state=0 [14:34:52]int [14:34:52]Write to MH i2c: 01 00 00 1C 01 1D [14:34:52]Write i2c OK [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 07 00 [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 07 00 1C 01 00 04 00 00 00 FF 0F 36 [14:34:52]state=0 [14:34:52]int line is 0 - check status [14:34:52]Write to MH i2c: 01 00 00 1D 01 1E [14:34:52]Write i2c OK [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 07 00 [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 07 00 1D 01 00 00 00 00 00 FF 0F 33 [14:34:52]state=0 [14:34:52]int line is 0 - check status [14:34:52]Write to MH i2c: 01 00 00 1E 01 1F [14:34:52]Write i2c OK [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 07 00 [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 07 00 1E 01 00 00 00 00 00 FF 0F 34 [14:34:52]state=0 [14:34:52]int [14:34:52]Write to MH i2c: 01 00 00 1F 01 20 [14:34:52]Write i2c OK [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 07 00 [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 07 00 1F 01 00 00 00 00 00 FF 0F 35 [14:34:52]state=0 [14:34:52]int [14:34:52]Write to MH i2c: 01 00 00 20 01 21 [14:34:52]Write i2c OK [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 07 00 [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 07 00 20 01 00 04 00 00 00 FF 0F 3A [14:34:52]state=0 [14:34:52]int [14:34:52]Write to MH i2c: 01 00 00 21 01 22 [14:34:52]Write i2c OK [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 07 00 [14:34:52]MH_I2C_Read... [14:34:52]Read from MH i2c: 01 07 00 21 01 00 00 00 00 00 FF 0F 37 [14:34:52]state=0 [14:34:54]OFD Sender: No OFD packet to send [14:34:59]OFD Sender: No OFD packet to send [14:35:04]OFD Sender: No OFD packet to send [14:35:09]OFD Sender: No OFD packet to send [14:35:14]OFD Sender: No OFD packet to send [14:35:19]OFD Sender: No OFD packet to send [14:35:24]OFD Sender: No OFD packet to send [14:35:29]OFD Sender: No OFD packet to send [14:35:34]OFD Sender: No OFD packet to send [14:35:39]OFD Sender: No OFD packet to send [14:35:44]OFD Sender: No OFD packet to send [14:35:49]OFD Sender: No OFD packet to send [14:35:54]OFD Sender: No OFD packet to send [14:35:59]OFD Sender: No OFD packet to send [14:36:04]OFD Sender: No OFD packet to send [14:36:09]OFD Sender: No OFD packet to send [14:36:14]OFD Sender: No OFD packet to send [14:36:19]OFD Sender: No OFD packet to send [14:36:24]OFD Sender: No OFD packet to send [14:36:29]OFD Sender: No OFD packet to send [14:36:34]OFD Sender: No OFD packet to send [14:36:39]OFD Sender: No OFD packet to send [14:36:44]OFD Sender: No OFD packet to send [14:36:49]OFD Sender: No OFD packet to send [14:36:54]OFD Sender: No OFD packet to send [14:36:59]OFD Sender: No OFD packet to send [14:37:04]OFD Sender: No OFD packet to send [14:37:09]OFD Sender: No OFD packet to send [14:37:14]OFD Sender: No OFD packet to send [14:37:19]OFD Sender: No OFD packet to send [14:37:24]OFD Sender: No OFD packet to send [14:37:29]OFD Sender: No OFD packet to send [14:37:34]OFD Sender: No OFD packet to send [14:37:39]OFD Sender: No OFD packet to send [14:37:44]OFD Sender: No OFD packet to send [14:37:49]OFD Sender: No OFD packet to send [14:37:54]OFD Sender: No OFD packet to send [14:37:59]OFD Sender: No OFD packet to send [14:38:04]OFD Sender: No OFD packet to send [14:38:09]OFD Sender: No OFD packet to send [14:38:14]OFD Sender: No OFD packet to send [14:38:19]OFD Sender: No OFD packet to send [14:38:24]OFD Sender: No OFD packet to send [14:38:29]OFD Sender: No OFD packet to send [14:38:34]OFD Sender: No OFD packet to send [14:38:39]OFD Sender: No OFD packet to send [14:38:44]OFD Sender: No OFD packet to send [14:38:49]OFD Sender: No OFD packet to send [14:38:54]OFD Sender: No OFD packet to send [14:38:59]OFD Sender: No OFD packet to send [14:39:04]OFD Sender: No OFD packet to send [14:39:09]OFD Sender: No OFD packet to send [14:39:14]OFD Sender: No OFD packet to send [14:39:19]OFD Sender: No OFD packet to send [14:39:24]OFD Sender: No OFD packet to send [14:39:29]OFD Sender: No OFD packet to send [14:39:34]OFD Sender: No OFD packet to send [14:39:39]OFD Sender: No OFD packet to send [14:39:44]OFD Sender: No OFD packet to send [14:39:49]OFD Sender: No OFD packet to send [14:39:54]OFD Sender: No OFD packet to send [14:39:59]OFD Sender: No OFD packet to send [14:40:04]OFD Sender: No OFD packet to send [14:40:09]OFD Sender: No OFD packet to send [14:40:14]OFD Sender: No OFD packet to send [14:40:19]OFD Sender: No OFD packet to send [14:40:24]OFD Sender: No OFD packet to send [14:40:29]OFD Sender: No OFD packet to send [14:40:34]OFD Sender: No OFD packet to send [14:40:39]OFD Sender: No OFD packet to send [14:40:44]OFD Sender: No OFD packet to send [14:40:49]OFD Sender: No OFD packet to send [14:40:54]OFD Sender: No OFD packet to send [14:40:59]OFD Sender: No OFD packet to send [14:41:04]OFD Sender: No OFD packet to send [14:41:09]OFD Sender: No OFD packet to send [14:41:14]OFD Sender: No OFD packet to send [14:41:19]OFD Sender: No OFD packet to send [14:41:24]OFD Sender: No OFD packet to send [14:41:29]OFD Sender: No OFD packet to send [14:41:34]OFD Sender: No OFD packet to send [14:41:39]OFD Sender: No OFD packet to send [14:41:44]OFD Sender: No OFD packet to send [14:41:49]OFD Sender: No OFD packet to send [14:41:54]OFD Sender: No OFD packet to send [14:41:59]OFD Sender: No OFD packet to send [14:42:04]OFD Sender: No OFD packet to send [14:42:09]OFD Sender: No OFD packet to send [14:42:15]OFD Sender: No OFD packet to send [14:42:20]OFD Sender: No OFD packet to send [14:42:25]OFD Sender: No OFD packet to send [14:42:30]OFD Sender: No OFD packet to send [14:42:35]OFD Sender: No OFD packet to send [14:42:40]OFD Sender: No OFD packet to send [14:42:45]OFD Sender: No OFD packet to send [14:42:50]OFD Sender: No OFD packet to send [14:42:55]OFD Sender: No OFD packet to send [14:43:00]OFD Sender: No OFD packet to send [14:43:05]OFD Sender: No OFD packet to send [14:43:10]OFD Sender: No OFD packet to send [14:43:15]OFD Sender: No OFD packet to send [14:43:20]OFD Sender: No OFD packet to send [14:43:25]OFD Sender: No OFD packet to send [14:43:30]OFD Sender: No OFD packet to send [14:43:35]OFD Sender: No OFD packet to send [00:00:08] *** EcrCore started. Build 196 *** [00:00:08]/dev/ttyS4 opened [00:00:08]MH_InterfaceInit /dev/i2c-1 [00:00:08]Malloc ok [00:00:08]MH_GetMetrics [00:00:08]Write to MH i2c: 00 00 00 01 00 00 [00:00:08]Write i2c OK [00:00:08]MH_I2C_Read... [00:00:08]Read from MH i2c: 00 [00:00:08]MH_I2C_Read... [00:00:08]Read from MH i2c: 00 29 00 [00:00:08]MH_I2C_Read... [00:00:08]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 10 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 B5 [00:00:08]Are we in boot? [00:00:08]We are in boot - try to switch [00:00:08]Write to MH i2c: A0 00 00 02 00 A1 [00:00:08]Write i2c OK [00:00:08]MH_I2C_Read... [00:00:08]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:08]*** [00:00:08]Read from MH i2c: A0 [00:00:08]MH_I2C_Read... [00:00:08]Read from MH i2c: A0 01 00 [00:00:08]MH_I2C_Read... [00:00:08]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:08]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:08]*** Waiting for read because exit forced [00:00:08]*** 10 ms more... [00:00:08]*** MH1903S init start (LINUX_LIGHT) [00:00:08]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:08]*** Serial: 3139303353513838 5400000000572510 (1903SQ88T) [00:00:08]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:08]*** step 0: 5000 (2650, 2350 REF) [00:00:08]*** step 1: 4835 (2500, 2335 REF) [00:00:08]*** step 2: 4676 (2440, 2236 REF) [00:00:08]*** step 3: 4523 (2280, 2243 REF) [00:00:08]*** step 4: 4376 (2160, 2216 REF) [00:00:08]*** step 5: 4235 (2050, 2185 REF) [00:00:08]*** step 6: 4098 (1950, 2148 REF) [00:00:08]*** step 7: 3967 (1870, 2097 REF) [00:00:08]*** step 8: 3840 (1828, 2012 REF) [00:00:08]*** 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:09]*** step 18: 2806 (1466, 1340 REF) [00:00:09]*** step 19: 2723 (1426, 1297 REF) [00:00:09]*** step 20: 2642 (1406, 1236 REF) [00:00:09]*** step 21: 2565 (1384, 1181 REF) [00:00:09]*** step 22: 2490 (1364, 1126 REF) [00:00:09]*** step 23: 2418 (1344, 1074 REF) [00:00:09]*** step 24: 2349 (1322, 1027 REF) [00:00:09]*** step 25: 2283 (1302, 981 REF) [00:00:09]*** step 26: 2218 (1282, 936 REF) [00:00:09]*** step 27: 2157 (1262, 895 REF) [00:00:09]*** step 28: 2097 (1242, 855 REF) [00:00:09]*** step 29: 2040 (1222, 818 REF) [00:00:09]*** step 30: 1985 (1202, 783 REF) [00:00:09]*** step 31: 1932 (1191, 741 REF) [00:00:09]*** step 32: 1880 (1181, 699 REF) [00:00:09]*** step 33: 1831 (1171, 660 REF) [00:00:09]*** step 34: 1784 (1161, 623 REF) [00:00:09]*** step 35: 1738 (1151, 587 REF) [00:00:09]*** step 36: 1694 (1141, 553 REF) [00:00:09]*** step 37: 1652 (1131, 521 REF) [00:00:09]*** step 38: 1611 (1121, 490 REF) [00:00:09]*** step 39: 1572 (1111, 461 REF) [00:00:09]*** step 40: 1534 (1103, 431 REF) [00:00:09]*** step 41: 1497 (1093, 404 REF) [00:00:09]*** step 42: 1462 (1083, 379 REF) [00:00:09]*** step 43: 1428 (1073, 355 REF) [00:00:09]*** step 44: 1396 (1063, 333 REF) [00:00:09]*** step 45: 1365 (1053, 312 REF) [00:00:09]*** step 46: 1334 (1043, 291 REF) [00:00:09]*** step 47: 1305 (1033, 272 REF) [00:00:09]*** step 48: 1277 (1023, 254 REF) [00:00:09]*** step 49: 1250 (1013, 237 REF) [00:00:09]*** step 50: 1224 (990, 234 REF) [00:00:09]*** step 51: 1199 (980, 219 REF) [00:00:09]*** step 52: 1175 (970, 205 REF) [00:00:09]*** step 53: 1152 (960, 192 REF) [00:00:09]*** step 54: 1130 (950, 180 REF) [00:00:09]*** step 55: 1108 (940, 168 REF) [00:00:09]*** step 56: 1088 (930, 158 REF) [00:00:09]*** step 57: 1068 (920, 148 REF) [00:00:09]*** step 58: 1049 (910, 139 REF) [00:00:09]*** step 59: 1030 (900, 130 REF) [00:00:09]*** step 60: 1012 (890, 122 REF) [00:00:09]*** step 61: 995 (880, 115 REF) [00:00:09]*** step 62: 979 (870, 109 REF) [00:00:09]*** step 63: 963 (860, 103 REF) [00:00:09]*** step 64: 948 (850, 98 REF) [00:00:09]*** step 65: 933 (840, 93 REF) [00:00:09]*** step 66: 919 (830, 89 REF) [00:00:09]*** step 67: 905 (820, 85 REF) [00:00:09]*** step 68: 892 (810, 82 REF) [00:00:09]*** step 69: 879 (800, 79 REF) [00:00:09]*** step 70: 867 (790, 77 REF) [00:00:09]*** step 71: 855 (780, 75 REF) [00:00:09]*** step 72: 844 (770, 74 REF) [00:00:09]*** step 73: 833 (760, 73 REF) [00:00:09]*** step 74: 822 (750, 72 REF) [00:00:09]*** step 75: 812 (740, 72 REF) [00:00:09]*** step 76: 803 (730, 73 REF) [00:00:09]*** step 77: 793 (720, 73 REF) [00:00:09]*** step 78: 784 (710, 74 REF) [00:00:09]*** step 79: 776 (700, 76 REF) [00:00:09]*** step 80: 767 (690, 77 REF) [00:00:09]*** step 81: 759 (680, 79 REF) [00:00:09]*** step 82: 751 (670, 81 REF) [00:00:09]*** step 83: 744 (660, 84 REF) [00:00:09]*** step 84: 737 (650, 87 REF) [00:00:09]*** step 85: 730 (640, 90 REF) [00:00:09]*** step 86: 723 (630, 93 REF) [00:00:09]*** step 87: 717 (620, 97 REF) [00:00:09]*** step 88: 710 (610, 100 REF) [00:00:09]*** step 89: 705 (600, 105 REF) [00:00:09]*** step 90: 699 [00:00:09]*** step 91: 693 [00:00:09]*** step 92: 688 [00:00:09]*** step 93: 683 [00:00:09]*** step 94: 678 [00:00:09]*** step 95: 673 [00:00:09]*** step 96: 669 [00:00:09]*** step 97: 664 [00:00:09]*** step 98: 660 [00:00:09]*** step 99: 656 [00:00:09]*** step 100: 652 [00:00:09]*** step 101: 648 [00:00:09]*** step 102: 644 [00:00:09]*** step 103: 641 [00:00:09]*** step 104: 638 [00:00:09]*** step 105: 634 [00:00:09]*** step 106: 631 [00:00:09]*** step 107: 628 [00:00:09]*** step 108: 625 [00:00:09]*** step 109: 622 [00:00:09]*** step 110: 620 [00:00:09]*** step 111: 617 [00:00:09]*** step 112: 615 [00:00:09]*** step 113: 612 [00:00:09]*** step 114: 610 [00:00:09]*** step 115: 608 [00:00:09]*** step 116: 605 [00:00:09]*** step 117: 603 [00:00:09]*** step 118: 601 [00:00:09]*** step 119: 599 [00:00:09]*** printer: Printer HW initialized [00:00:09]*** initSamCard finished [00:00:09]*** RTC: 24707502+1685028728=1709736230 [00:00:09]*** BPK Status Register BPK_RDY = 0x0 [00:00:09]*** SEN State Register SEN_STATE = 0x200ff [00:00:09]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:09]*** Analog Control Register 0 SEN_ANA0 = 0x33570624 [00:00:09]*** Is cutter blocked? [00:00:09]MH_GetMetrics [00:00:09]Write to MH i2c: 00 00 00 03 00 02 [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 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 10 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 B6 [00:00:09]Are we in boot? [00:00:09]We are not in boot now [00:00:09]Write to MH i2c: 01 00 00 04 00 04 [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 01 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 01 07 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:09]Model is 3 [00:00:09]MH firmware is 30620 [00:00:09]MH boot firmware is 3 [00:00:09]MH_SetPrinterDots 448 [00:00:09]HeadWidthInBytes 56 [00:00:09]maxmasksize 7 [00:00:09]Write to MH i2c: D6 06 00 05 00 41 00 38 00 FF FF 57 [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: D6 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: D6 01 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:09]Write to MH i2c: D5 00 00 06 00 DA [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: D5 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: D5 01 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:09]Load OK [00:00:09]LoadDictionaryFromArray [00:00:09]Load OK [00:00:09]LoadDictionaryFromArray [00:00:09]Load OK [00:00:09]LoadDictionaryFromArray [00:00:09]Load OK [00:00:09]LoadDictionaryFromArray [00:00:09]Load OK [00:00:09]LoadDictionaryFromArray [00:00:09]Load OK [00:00:09]LoadDictionaryFromArray [00:00:09]Load OK [00:00:09]LoadDictionaryFromArray [00:00:09]Load OK [00:00:09]LoadDictionaryFromArray [00:00:09]Load OK [00:00:09]LoadDictionaryFromArray [00:00:09]Load OK [00:00:09]LoadDictionaryFromArray [00:00:09]Load OK [00:00:09]LoadDictionaryFromArray [00:00:09]Load OK [00:00:09]LoadDictionaryFromArray [00:00:09]Load OK [00:00:09]ExternCall_SetCallbacks [00:00:09]NVStorageInit [00:00:09]MH_GetDate [00:00:09]Write to MH i2c: F0 00 00 07 00 F6 [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: F0 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: F0 09 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: F0 09 00 07 00 00 27 81 E8 65 78 7F 6F 64 BE [14:43:51]Current date/time: 06.03.2024 14:43 [14:43:51]FM_Init [14:43:51]wFMConnect [14:43:51]MH_SAM_On [14:43:51]Write to MH i2c: E0 00 00 08 00 E7 [14:43:51]Write i2c OK [14:43:51]MH_I2C_Read... [14:43:51]*** iso7816_init finished! [14:43:51]*** atr: [14:43:51]*** 0F 3B D5 18 FF 81 91 FE [14:43:51]*** 1F C3 80 73 C8 21 10 0A [14:43:51]*** 00 00 00 00 00 00 00 00 [14:43:51]*** 00 00 00 00 00 00 00 00 [14:43:51]*** 00 00 00 00 00 00 00 00 [14:43:51]*** 00 00 00 00 00 00 00 00 [14:43:51]*** 00 00 00 00 00 00 00 00 [14:43:51]*** 00 00 00 00 00 00 00 00 [14:43:51]Read from MH i2c: E0 [14:43:51]MH_I2C_Read... [14:43:51]Read from MH i2c: E0 10 00 [14:43:51]MH_I2C_Read... [14:43:51]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 [14:43:51]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [14:43:51]wFMCommunicate request_size=10 [14:43:51]MH_SAM_APDU [14:43:51]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [14:43:51]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [14:43:51]Write i2c OK [14:43:51]MH_I2C_Read... [14:43:51]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [14:43:51]Read from MH i2c: E2 [14:43:51]MH_I2C_Read... [14:43:51]Read from MH i2c: E2 03 00 [14:43:51]MH_I2C_Read... [14:43:51]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [14:43:51]RAPDU: 90 00 [14:43:51]wFMCommunicate OK [14:43:51]wFMCommunicate request_size=4 [14:43:51]MH_SAM_APDU [14:43:51]CAPDU: 80 11 00 00 [14:43:51]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [14:43:51]Write i2c OK [14:43:51]MH_I2C_Read... [14:43:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:43:51]Read from MH i2c: E2 [14:43:51]MH_I2C_Read... [14:43:51]Read from MH i2c: E2 17 00 [14:43:51]MH_I2C_Read... [14:43:51]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 D9 [14:43:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [14:43:51]wFMCommunicate OK [14:43:51]Detected FM SN is 0000000000871783 [14:43:51]Stored FM SN is 0000000000871783 [14:43:51]wFMCommunicate request_size=9 [14:43:51]MH_SAM_APDU [14:43:51]CAPDU: 80 16 00 00 04 FA 26 00 00 [14:43:51]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 FA 26 00 00 00 00 B2 [14:43:51]Write i2c OK [14:43:51]MH_I2C_Read... [14:43:51]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [14:43:51]Read from MH i2c: E2 [14:43:51]MH_I2C_Read... [14:43:51]Read from MH i2c: E2 03 00 [14:43:51]MH_I2C_Read... [14:43:51]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [14:43:51]RAPDU: 90 00 [14:43:51]wFMCommunicate OK [14:43:51]FM PIN OK [14:43:51]wFMCommunicate request_size=8 [14:43:51]MH_SAM_APDU [14:43:51]CAPDU: 80 14 04 00 03 02 00 01 [14:43:51]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [14:43:51]Write i2c OK [14:43:51]MH_I2C_Read... [14:43:51]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [14:43:51]Read from MH i2c: E2 [14:43:51]MH_I2C_Read... [14:43:51]Read from MH i2c: E2 03 00 [14:43:51]MH_I2C_Read... [14:43:51]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [14:43:51]RAPDU: 90 00 [14:43:51]wFMCommunicate OK [14:43:51]wFMCommunicate request_size=13 [14:43:51]MH_SAM_APDU [14:43:51]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [14:43:51]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 [14:43:51]Write i2c OK [14:43:51]MH_I2C_Read... [14:43:51]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [14:43:51]Read from MH i2c: E2 [14:43:51]MH_I2C_Read... [14:43:51]Read from MH i2c: E2 03 00 [14:43:51]MH_I2C_Read... [14:43:51]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [14:43:51]RAPDU: 90 00 [14:43:51]wFMCommunicate OK [14:43:51]wFMCommunicate request_size=4 [14:43:51]MH_SAM_APDU [14:43:51]CAPDU: 80 11 00 00 [14:43:51]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [14:43:51]Write i2c OK [14:43:51]MH_I2C_Read... [14:43:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:43:51]Read from MH i2c: E2 [14:43:51]MH_I2C_Read... [14:43:51]Read from MH i2c: E2 17 00 [14:43:51]MH_I2C_Read... [14:43:51]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 DD [14:43:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [14:43:51]wFMCommunicate OK [14:43:51]DocumentArchiveInit [14:43:51]Start Httpd... [14:43:51]Httpd thread 3067878756 created [14:43:51]Write to MH i2c: 01 00 00 0F 00 0F [14:43:51]Write i2c OK [14:43:51]MH_I2C_Read... [14:43:51]Read from MH i2c: 01 [14:43:51]MH_I2C_Read... [14:43:51]Read from MH i2c: 01 07 00 [14:43:51]MH_I2C_Read... [14:43:51]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [14:43:51]MH Int Process started [14:43:51]Allocated Socket 8 [14:43:51]Bind OK [14:43:51]Listen OK [14:43:51]httpd running on port 8080 [14:43:51]Waiting for new connection... [14:43:51]OFD Sender: No OFD packet to send [14:43:56]OFD Sender: No OFD packet to send [14:44:01]OFD Sender: No OFD packet to send [14:44:06]OFD Sender: No OFD packet to send [14:44:11]OFD Sender: No OFD packet to send [14:44:16]OFD Sender: No OFD packet to send [14:44:21]OFD Sender: No OFD packet to send [14:44:26]OFD Sender: No OFD packet to send [14:44:31]OFD Sender: No OFD packet to send [14:44:36]OFD Sender: No OFD packet to send [14:44:41]OFD Sender: No OFD packet to send [14:44:46]OFD Sender: No OFD packet to send [14:44:51]OFD Sender: No OFD packet to send [14:44:56]OFD Sender: No OFD packet to send [14:45:01]OFD Sender: No OFD packet to send [14:45:06]OFD Sender: No OFD packet to send [14:45:11]OFD Sender: No OFD packet to send [14:45:16]OFD Sender: No OFD packet to send [14:45:21]OFD Sender: No OFD packet to send [14:45:26]OFD Sender: No OFD packet to send [14:45:31]OFD Sender: No OFD packet to send [14:45:36]OFD Sender: No OFD packet to send [14:45:41]OFD Sender: No OFD packet to send [14:45:46]OFD Sender: No OFD packet to send [14:45:51]OFD Sender: No OFD packet to send [14:45:56]OFD Sender: No OFD packet to send [14:46:01]OFD Sender: No OFD packet to send [14:46:06]OFD Sender: No OFD packet to send [14:46:11]OFD Sender: No OFD packet to send [14:46:16]OFD Sender: No OFD packet to send [14:46:21]OFD Sender: No OFD packet to send [14:46:26]OFD Sender: No OFD packet to send [14:46:31]OFD Sender: No OFD packet to send [14:46:36]OFD Sender: No OFD packet to send [14:46:41]OFD Sender: No OFD packet to send [14:46:46]OFD Sender: No OFD packet to send [14:46:51]OFD Sender: No OFD packet to send [14:46:56]OFD Sender: No OFD packet to send [14:47:01]OFD Sender: No OFD packet to send [14:47:06]OFD Sender: No OFD packet to send [14:47:11]OFD Sender: No OFD packet to send [14:47:16]OFD Sender: No OFD packet to send [14:47:21]OFD Sender: No OFD packet to send [14:47:26]OFD Sender: No OFD packet to send [14:47:31]OFD Sender: No OFD packet to send [14:47:36]OFD Sender: No OFD packet to send [14:47:41]OFD Sender: No OFD packet to send [14:47:46]OFD Sender: No OFD packet to send [14:47:51]OFD Sender: No OFD packet to send [14:47:56]OFD Sender: No OFD packet to send [14:48:01]OFD Sender: No OFD packet to send [14:48:06]accept exits with 9 [14:48:06]New connection [14:48:06]New thread 3067592036 created [14:48:06]Waiting for new connection... [14:48:06] Sock 9.Parse request [14:48:06]Sock 9.Check first char [14:48:06]Sock 9.First char is OK [14:48:06]request: POST /json_proto HTTP/1.0 [14:48:06]Method: POST [14:48:06]URL: /json_proto [14:48:06]Method is POST - this is cgi request [14:48:06]url: /json_proto [14:48:06]query_string will be loaded in cgi processing [14:48:06]execute_cgi json_proto POST (null) [14:48:06]execute_cgi path=json_proto method=POST [14:48:06]POST find Content-Length [14:48:06]Host: 172.17.61.6:8080 [14:48:06]Content-Length: 912 [14:48:06]Content-Type: application/json [14:48:06] [14:48:06]POST finish read [14:48:06]Found Content-Length = 912 [14:48:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58588", "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" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42113164", "name": "\u0416\u0435\u0432 Orbit White Spearmint", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:48:06]execute_script... [14:48: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)58588", "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" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42113164", "name": "\u0416\u0435\u0432 Orbit White Spearmint", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:48:06]POST & json_proto [14:48:06]process_json_proto [14:48:06]json parsed OK: [14:48:06]protocol is kg_v1.0 [14:48:06]action value=close_receipt [14:48:06]process_action close_receipt [14:48:06]cmd_close_receipt [14:48:06]MH_GetDate [14:48:06]Write to MH i2c: F0 00 00 10 00 FF [14:48:06]Write i2c OK [14:48:06]MH_I2C_Read... [14:48:06]Read from MH i2c: F0 [14:48:06]MH_I2C_Read... [14:48:06]Read from MH i2c: F0 09 00 [14:48:06]MH_I2C_Read... [14:48:06]Read from MH i2c: F0 09 00 10 00 00 26 82 E8 65 78 7F 6F 64 C7 [14:48:06]GetLastDocTimeStamp 1709735527 [14:48:06]current date 1709736486 [14:48:06]FM_GetShiftState [14:48:06]SAM_PROTO_GetShiftState [14:48:06]wFMCommunicate request_size=4 [14:48:06]MH_SAM_APDU [14:48:06]CAPDU: 80 13 01 00 [14:48:06]Write to MH i2c: E2 08 00 11 00 80 13 01 00 00 00 00 00 8E [14:48:06]Write i2c OK [14:48:06]MH_I2C_Read... [14:48:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:48:06]Read from MH i2c: E2 [14:48:06]MH_I2C_Read... [14:48:06]Read from MH i2c: E2 0E 00 [14:48:06]MH_I2C_Read... [14:48:06]Read from MH i2c: E2 0E 00 11 00 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 0B [14:48:06]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [14:48:06]wFMCommunicate OK [14:48:06]SAM_PROTO_GetShiftState done [14:48:06]FM_GetShiftState done [14:48:06]opened in 1709684590 [14:48:06]opened+sec_in_day 1709770990 [14:48:06]quantity*price = 18000 [14:48:06]sum+1 = 18001 [14:48:06]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 42113164 Жев Orbit White Spearmint 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 220.00 НСП 1% : 1.94 НДС 12% : 23.36 Наличными: 220.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 49 06.03.2024 14:48 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32433 ФПД: 181334648331517 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T144806&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32433&fm=181334648331517&tin=02508201610067®Number=0000000000092554&sum=22000 0 [14:48:07]StoreToDocumentArchive [14:48:07]shift 284 fd 32433 [14:48:07]save to /storage/0284/doc_00032433 [14:48:07]save last doc name /storage/0284/doc_00032433 to /storage/kkm_last_doc_name [14:48:07]save OK [14:48:07]Clear old archive folders... [14:48:07]ProcessDocumentItem done err = 0, tmpTLVsize=397 [14:48:07]tlvbuf is 0081C050 [14:48:07]SAM_PROTO_ClearQueue [14:48:07]wFMCommunicate request_size=4 [14:48:07]MH_SAM_APDU [14:48:07]CAPDU: 80 09 00 00 [14:48:07]Write to MH i2c: E2 08 00 1E 00 80 09 00 00 00 00 00 00 90 [14:48:07]Write i2c OK [14:48:07]MH_I2C_Read... [14:48:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:48:07]Read from MH i2c: E2 [14:48:07]MH_I2C_Read... [14:48:07]Read from MH i2c: E2 03 00 [14:48:07]MH_I2C_Read... [14:48:07]Read from MH i2c: E2 03 00 1E 00 00 90 00 92 [14:48:07]RAPDU: 90 00 [14:48:07]wFMCommunicate OK [14:48:07]SAM_PROTO_ClearQueue done [14:48:07]KKMCreateOFDPacket [14:48:07]OFDProtocolAddRootSTLVToBuf [14:48:07]FM_MakeSignedData [14:48:07]FM_MakeSignedData [14:48:07]SAM_PROTO_SignData [14:48:07]wFMCommunicate request_size=4 [14:48:07]MH_SAM_APDU [14:48:07]CAPDU: 80 0D 01 02 [14:48:07]Write to MH i2c: E2 08 00 1F 00 80 0D 01 02 00 00 00 00 98 [14:48:07]Write i2c OK [14:48:07]MH_I2C_Read... [14:48:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:48:07]Read from MH i2c: E2 [14:48:07]MH_I2C_Read... [14:48:07]Read from MH i2c: E2 03 00 [14:48:07]MH_I2C_Read... [14:48:07]Read from MH i2c: E2 03 00 1F 00 00 90 00 93 [14:48:07]RAPDU: 90 00 [14:48:07]wFMCommunicate OK [14:48:07]wFMCommunicate request_size=255 [14:48:07]MH_SAM_APDU [14:48:07]CAPDU: 80 0D 02 02 FA 03 00 8D 01 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 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 [14:48:07]Write to MH i2c: E2 02 01 20 00 80 0D 02 02 FA 00 03 00 8D 01 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 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 00 00 EB [14:48:07]Write i2c OK [14:48:07]MH_I2C_Read... [14:48:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:48:07]Read from MH i2c: E2 [14:48:07]MH_I2C_Read... [14:48:07]Read from MH i2c: E2 03 00 [14:48:07]MH_I2C_Read... [14:48:07]Read from MH i2c: E2 03 00 20 00 00 90 00 94 [14:48:07]RAPDU: 90 00 [14:48:07]wFMCommunicate OK [14:48:07]wFMCommunicate request_size=156 [14:48:07]MH_SAM_APDU [14:48:07]CAPDU: 80 0D 02 02 97 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 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 26 82 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 B1 7E 00 00 35 04 06 00 A4 EC 43 4C 9C FD [14:48:07]Write to MH i2c: E2 9F 00 21 00 80 0D 02 02 97 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 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 26 82 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 B1 7E 00 00 35 04 06 00 A4 EC 43 4C 9C FD 00 00 4E [14:48:07]Write i2c OK [14:48:07]MH_I2C_Read... [14:48:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:48:07]Read from MH i2c: E2 [14:48:07]MH_I2C_Read... [14:48:07]Read from MH i2c: E2 03 00 [14:48:07]MH_I2C_Read... [14:48:07]Read from MH i2c: E2 03 00 21 00 00 90 00 95 [14:48:07]RAPDU: 90 00 [14:48:07]wFMCommunicate OK [14:48:07]wFMCommunicate request_size=4 [14:48:07]MH_SAM_APDU [14:48:07]CAPDU: 80 0D 03 02 [14:48:07]Write to MH i2c: E2 08 00 22 00 80 0D 03 02 00 00 00 00 9D [14:48:07]Write i2c OK [14:48:07]MH_I2C_Read... [14:48:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:48:07]Read from MH i2c: E2 [14:48:07]MH_I2C_Read... [14:48:07]Read from MH i2c: E2 0B 00 [14:48:07]MH_I2C_Read... [14:48:07]Read from MH i2c: E2 0B 00 22 00 00 65 29 87 44 42 A4 CE 69 90 00 14 [14:48:07]RAPDU: 65 29 87 44 42 A4 CE 69 90 00 [14:48:07]wFMCommunicate OK [14:48:07]SAM_PROTO_SignData done [14:48:07]FM_MakeSignedData done [14:48:07]CreateOFDProtocolMessage [14:48:07]wFMCommunicate request_size=4 [14:48:07]MH_SAM_APDU [14:48:07]CAPDU: 80 11 00 00 [14:48:07]Write to MH i2c: E2 08 00 23 00 80 11 00 00 00 00 00 00 9D [14:48:07]Write i2c OK [14:48:07]MH_I2C_Read... [14:48:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:48:07]Read from MH i2c: E2 [14:48:07]MH_I2C_Read... [14:48:07]Read from MH i2c: E2 17 00 [14:48:07]MH_I2C_Read... [14:48:07]Read from MH i2c: E2 17 00 23 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 F2 [14:48:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [14:48:07]wFMCommunicate OK [14:48:07]CreateOFDProtocolMessage done [14:48:07]OFDSenderStorePacket 32433 [14:48:07]StoreOFDPacket docnum=32433 [14:48:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 A1 01 00 00 62 C1 99 01 A1 50 5A 03 01 00 03 00 8D 01 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 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 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 26 82 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 B1 7E 00 00 35 04 06 00 A4 EC 43 4C 9C FD 65 29 87 44 42 A4 CE 69 [14:48:07]CheckFolder [14:48:07]dirname=/storage/ofd_packets [14:48:07]CheckFolder done [14:48:07]ProducePacketName [14:48:07]name=ofd_packets/00032433 [14:48:07]NVStorageSaveData ofd_packets/00032433 [14:48:07]File name is /storage/ofd_packets/00032433 [14:48:07]Write 447 bytes [14:48:07]NVStorageSaveData done [14:48:07]OFDSenderStorePacket done [14:48:07]KKMCreateOFDPacket done [14:48:07]NVStorageSaveData kkm_last_timestamp [14:48:07]File name is /storage/kkm_last_timestamp [14:48:07]Write 4 bytes [14:48:07]NVStorageSaveData done [14:48:07]ExternCall_PrintAddStr [14:48:07]wPrintStart [14:48:07]Write to MH i2c: 01 00 00 24 00 24 [14:48:07]Write i2c OK [14:48:07]MH_I2C_Read... [14:48:07]Read from MH i2c: 01 [14:48:07]MH_I2C_Read... [14:48:07]Read from MH i2c: 01 07 00 [14:48:07]MH_I2C_Read... [14:48:07]Read from MH i2c: 01 07 00 24 00 00 00 00 00 00 FF 0F 39 [14:48:07]RasterBufferAndPrint [14:48:07]line Счет N : (3)58588 [14:48:07]line ИНН: 02508201610067 [14:48:07]line Контрольно-Кассовый Чек [14:48:07]line ПРОДАЖА [14:48:07]line Товар: 5449000273673 [14:48:07]line Сок Piko Pulpy красный виноград ПЭТ 1л [14:48:07]line 1.000 * 180.00 [14:48:07]line = 180.00 [14:48:07]line НДС 12% НСП 1% [14:48:07]line > о реализуемом товаре [14:48:07]line Товар: 42113164 [14:48:07]line Жев Orbit White Spearmint [14:48:07]line 1.000 * 40.00 [14:48:07]line = 40.00 [14:48:07]line НДС 12% НСП 1% [14:48:07]line > о реализуемом товаре [14:48:07]line ИТОГО: 220.00 [14:48:07]line НСП 1% : 1.94 [14:48:07]line НДС 12% : 23.36 [14:48:07]line Наличными: 220.00 [14:48:08]line Безнал.: 0.00 [14:48:08]line Место: АЗС № 99 "Партнер Нефть" [14:48:08]OFD Sender: Processing packet 32433 [packets to send 5, broken 4] [14:48:08]ProducePacketName [14:48:08]name=ofd_packets/00032433 [14:48:08]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [14:48:08]line СНО: Общий режим [14:48:08]line Чек 49 06.03.2024 14:48 [14:48:08]line Смена: 284 ФФД: 1.0 [14:48:08]line ЗНМ: 0300000074 [14:48:08]line РНМ: 0000000000092554 [14:48:08]line Версия ККМ: 001 [14:48:08]line ФМ: 0000000000871783 [14:48:08]line ФД: 32433 [14:48:08]line ФПД: 181334648331517 [14:48:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T144806&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32433&fm=181334648331517&tin=02508201610067®Number=0000000000092554&sum=22000 [14:48:08]OFD Sender: To server: pG, [14:48:08]CommunicateWithHost lk.salyk.kg:30040 [14:48:08]ConnectInit lk.salyk.kg [14:48:08]line 0 [14:48:08]written 0, free lines is 4095 [14:48:08]Connected sock=10 [14:48:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 A1 01 00 00 62 C1 99 01 A1 50 5A 03 01 00 03 00 8D 01 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 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 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 26 82 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 B1 7E 00 00 35 04 06 00 A4 EC 43 4C 9C FD 65 29 87 44 42 A4 CE 69 [14:48:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 F1 C9 47 00 F7 0E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 B1 7E 00 00 F4 03 04 00 5E 2A E8 65 B6 04 01 00 00 FB ED B9 D7 3F 89 DB B1 [14:48:08]CommunicateWithHost err = 0 [14:48:08]CheckOFDResponse [14:48:08]1017 (14) - 77093643461234 [14:48:08]1041 (16) - 0000000000871783 [14:48:08]1040 (4) - 32433 [14:48:08]1012 (4) - 06.03.2024 08:33 [14:48:08]1206 (1) - 0 [14:48:08]OFD Sender: Remove packet 32433 [14:48:08]ProducePacketName [14:48:08]name=ofd_packets/00032433 [14:48:08]NVStorageDeleteData [14:48:08]Write to MH i2c: 01 00 00 53 00 53 [14:48:08]Write i2c OK [14:48:08]MH_I2C_Read... [14:48:08]Read from MH i2c: 01 [14:48:08]MH_I2C_Read... [14:48:08]Read from MH i2c: 01 07 00 [14:48:08]MH_I2C_Read... [14:48:08]Read from MH i2c: 01 07 00 53 00 00 00 00 00 00 57 0C BD [14:48:08]RasterBufferAndPrint [14:48:08]line [14:48:08]line [14:48:08]line [14:48:08]line [14:48:08]line [14:48:08]written 0, free lines is 3165 [14:48:08]MH_Cut [14:48:08]Write to MH i2c: D1 01 00 5A 00 01 2C [14:48:08]Write i2c OK [14:48:08]MH_I2C_Read... [14:48:08]Read from MH i2c: D1 [14:48:08]MH_I2C_Read... [14:48:08]Read from MH i2c: D1 01 00 [14:48:08]MH_I2C_Read... [14:48:08]Read from MH i2c: D1 01 00 5A 00 00 2B [14:48:08]Write to MH i2c: 01 00 00 5B 00 5B [14:48:08]Write i2c OK [14:48:08]MH_I2C_Read... [14:48:09]OFD Sender: No OFD packet to send [14:48:09]*** Cut start [14:48:09]*** Partial cut [14:48:09]*** CUTSNS_PIN = 1 [14:48:09]*** CUTSNS_PIN = 0 [14:48:09]*** Brake cut motor [14:48:10]Read from MH i2c: 01 [14:48:10]MH_I2C_Read... [14:48:10]*** Stop cut motor [14:48:10]*** Cut end [14:48:10]Read from MH i2c: 01 07 00 [14:48:10]MH_I2C_Read... [14:48:10]Read from MH i2c: 01 07 00 5B 00 00 00 00 00 00 FF 0F 70 [14:48:10]process_action close_receipt done [14:48:10]requested_data is exist [14:48:10]produce_requested_data [14:48:10]requested_item fm.sn is exist - process it [14:48:10]wFMCommunicate request_size=4 [14:48:10]MH_SAM_APDU [14:48:10]CAPDU: 80 11 00 00 [14:48:10]Write to MH i2c: E2 08 00 5C 00 80 11 00 00 00 00 00 00 D6 [14:48:10]Write i2c OK [14:48:10]MH_I2C_Read... [14:48:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:48:10]Read from MH i2c: E2 [14:48:10]MH_I2C_Read... [14:48:10]Read from MH i2c: E2 17 00 [14:48:10]MH_I2C_Read... [14:48:10]Read from MH i2c: E2 17 00 5C 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 2B [14:48:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [14:48:10]wFMCommunicate OK [14:48:10]requested_item fd.num is exist - process it [14:48:10]SAM_PROTO_GetFieldsCounters [14:48:10]wFMCommunicate request_size=4 [14:48:10]MH_SAM_APDU [14:48:10]CAPDU: 80 13 00 00 [14:48:10]Write to MH i2c: E2 08 00 5D 00 80 13 00 00 00 00 00 00 D9 [14:48:10]Write i2c OK [14:48:10]MH_I2C_Read... [14:48:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:48:10]Read from MH i2c: E2 [14:48:10]MH_I2C_Read... [14:48:10]Read from MH i2c: E2 62 00 [14:48:10]MH_I2C_Read... [14:48:10]Read from MH i2c: E2 62 00 5D 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 B1 7E 00 00 0E 04 04 00 1C 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 DB [14:48:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 B1 7E 00 00 0E 04 04 00 1C 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 [14:48:10]wFMCommunicate OK [14:48:10]SAM_PROTO_GetFieldsCounters done [14:48:10]requested_item shift.num is exist - process it [14:48:10]requested_item shift.opened is exist - process it [14:48:10]req_shift_opened [14:48:10]FM_GetShiftState [14:48:10]SAM_PROTO_GetShiftState [14:48:10]wFMCommunicate request_size=4 [14:48:10]MH_SAM_APDU [14:48:10]CAPDU: 80 13 01 00 [14:48:10]Write to MH i2c: E2 08 00 5E 00 80 13 01 00 00 00 00 00 DB [14:48:10]Write i2c OK [14:48:10]MH_I2C_Read... [14:48:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:48:10]Read from MH i2c: E2 [14:48:10]MH_I2C_Read... [14:48:10]Read from MH i2c: E2 0E 00 [14:48:10]MH_I2C_Read... [14:48:10]Read from MH i2c: E2 0E 00 5E 00 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 58 [14:48:10]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [14:48:10]wFMCommunicate OK [14:48:10]SAM_PROTO_GetShiftState done [14:48:10]FM_GetShiftState done [14:48:10]req_shift_opened done [14:48:10]requested_item shift.open_date is exist - process it [14:48:10]req_shift_open_date [14:48:10]req_shift_open_date done [14:48:10]produce_requested_data done [14:48:10]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32433,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [14:48:10]process_action_free close_receipt [14:48:10]json_value_free [14:48:10]json_value_free done [14:48:10]process_json_proto returns [14:48:10]Send response to host [14:48:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32433,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [14:48:10]free response buf [14:48:10]execute_script done [14:48:10]execute_script returns [14:48:10]free content buf [14:48:10]Sock 9.Close socket [14:48:10]Sock 9.Thread stoped [14:48:14]OFD Sender: No OFD packet to send [14:48:19]OFD Sender: No OFD packet to send [14:48:24]OFD Sender: No OFD packet to send [14:48:29]OFD Sender: No OFD packet to send [14:48:34]OFD Sender: No OFD packet to send [14:48:39]OFD Sender: No OFD packet to send [14:48:44]OFD Sender: No OFD packet to send [14:48:49]OFD Sender: No OFD packet to send [14:48:54]OFD Sender: No OFD packet to send [14:48:59]OFD Sender: No OFD packet to send [14:49:04]OFD Sender: No OFD packet to send [14:49:09]OFD Sender: No OFD packet to send [14:49:14]OFD Sender: No OFD packet to send [14:49:19]OFD Sender: No OFD packet to send [14:49:24]OFD Sender: No OFD packet to send [14:49:29]OFD Sender: No OFD packet to send [14:49:34]OFD Sender: No OFD packet to send [14:49:39]OFD Sender: No OFD packet to send [14:49:44]OFD Sender: No OFD packet to send [14:49:49]OFD Sender: No OFD packet to send [14:49:54]OFD Sender: No OFD packet to send [14:49:59]OFD Sender: No OFD packet to send [14:50:04]OFD Sender: No OFD packet to send [14:50:09]OFD Sender: No OFD packet to send [14:50:14]OFD Sender: No OFD packet to send [14:50:19]OFD Sender: No OFD packet to send [14:50:24]OFD Sender: No OFD packet to send [14:50:29]OFD Sender: No OFD packet to send [14:50:34]OFD Sender: No OFD packet to send [14:50:39]OFD Sender: No OFD packet to send [14:50:44]OFD Sender: No OFD packet to send [14:50:49]OFD Sender: No OFD packet to send [14:50:54]OFD Sender: No OFD packet to send [14:50:59]OFD Sender: No OFD packet to send [14:51:04]OFD Sender: No OFD packet to send [14:51:09]OFD Sender: No OFD packet to send [14:51:14]OFD Sender: No OFD packet to send [14:51:19]OFD Sender: No OFD packet to send [14:51:24]OFD Sender: No OFD packet to send [14:51:29]OFD Sender: No OFD packet to send [14:51:34]OFD Sender: No OFD packet to send [14:51:39]OFD Sender: No OFD packet to send [14:51:44]OFD Sender: No OFD packet to send [14:51:49]OFD Sender: No OFD packet to send [14:51:54]OFD Sender: No OFD packet to send [14:51:59]OFD Sender: No OFD packet to send [14:52:04]OFD Sender: No OFD packet to send [14:52:09]OFD Sender: No OFD packet to send [14:52:14]OFD Sender: No OFD packet to send [14:52:19]OFD Sender: No OFD packet to send [14:52:24]OFD Sender: No OFD packet to send [14:52:29]OFD Sender: No OFD packet to send [14:52:34]OFD Sender: No OFD packet to send [14:52:39]OFD Sender: No OFD packet to send [14:52:44]OFD Sender: No OFD packet to send [14:52:49]OFD Sender: No OFD packet to send [14:52:54]OFD Sender: No OFD packet to send [14:52:59]OFD Sender: No OFD packet to send [14:53:04]OFD Sender: No OFD packet to send [14:53:09]OFD Sender: No OFD packet to send [14:53:14]OFD Sender: No OFD packet to send [14:53:19]OFD Sender: No OFD packet to send [14:53:24]OFD Sender: No OFD packet to send [14:53:29]OFD Sender: No OFD packet to send [14:53:34]OFD Sender: No OFD packet to send [14:53:39]OFD Sender: No OFD packet to send [14:53:44]OFD Sender: No OFD packet to send [14:53:49]OFD Sender: No OFD packet to send [14:53:54]OFD Sender: No OFD packet to send [14:53:59]OFD Sender: No OFD packet to send [14:54:04]OFD Sender: No OFD packet to send [14:54:09]OFD Sender: No OFD packet to send [14:54:14]OFD Sender: No OFD packet to send [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: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:26]accept exits with 7 [15:00:26]New connection [15:00:26]New thread 3067448676 created [15:00:26]Thread 3067592036 joined [15:00:26]Waiting for new connection... [15:00:26] Sock 7.Parse request [15:00:26]Sock 7.Check first char [15:00:26]Sock 7.First char is OK [15:00:26]request: POST /json_proto HTTP/1.0 [15:00:26]Method: POST [15:00:26]URL: /json_proto [15:00:26]Method is POST - this is cgi request [15:00:26]url: /json_proto [15:00:26]query_string will be loaded in cgi processing [15:00:26]execute_cgi json_proto POST (null) [15:00:26]execute_cgi path=json_proto method=POST [15:00:26]POST find Content-Length [15:00:26]Host: 172.17.61.6:8080 [15:00:26]Content-Length: 905 [15:00:26]Content-Type: application/json [15:00:26] [15:00:26]POST finish read [15:00:26]Found Content-Length = 905 [15:00:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58589", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 130.00, "quantity" : 1.000, "sum" : 130.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" : 3.000, "sum" : 21.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:00:26]execute_script... [15:00: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)58589", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 130.00, "quantity" : 1.000, "sum" : 130.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" : 3.000, "sum" : 21.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:00:26]POST & json_proto [15:00:26]process_json_proto [15:00:26]json parsed OK: [15:00:26]protocol is kg_v1.0 [15:00:26]action value=close_receipt [15:00:26]process_action close_receipt [15:00:26]cmd_close_receipt [15:00:26]MH_GetDate [15:00:26]Write to MH i2c: F0 00 00 5F 00 4E [15:00:26]Write i2c OK [15:00:26]MH_I2C_Read... [15:00:26]Read from MH i2c: F0 [15:00:26]MH_I2C_Read... [15:00:26]Read from MH i2c: F0 09 00 [15:00:26]MH_I2C_Read... [15:00:26]Read from MH i2c: F0 09 00 5F 00 00 0A 85 E8 65 78 7F 6F 64 FD [15:00:26]GetLastDocTimeStamp 1709736486 [15:00:26]current date 1709737226 [15:00:26]FM_GetShiftState [15:00:26]SAM_PROTO_GetShiftState [15:00:26]wFMCommunicate request_size=4 [15:00:26]MH_SAM_APDU [15:00:26]CAPDU: 80 13 01 00 [15:00:26]Write to MH i2c: E2 08 00 60 00 80 13 01 00 00 00 00 00 DD [15:00:26]Write i2c OK [15:00:26]MH_I2C_Read... [15:00:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:00:26]Read from MH i2c: E2 [15:00:26]MH_I2C_Read... [15:00:26]Read from MH i2c: E2 0E 00 [15:00:26]MH_I2C_Read... [15:00:26]Read from MH i2c: E2 0E 00 60 00 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 5A [15:00:26]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [15:00:26]wFMCommunicate OK [15:00:26]SAM_PROTO_GetShiftState done [15:00:26]FM_GetShiftState done [15:00:26]opened in 1709684590 [15:00:26]opened+sec_in_day 1709770990 [15:00:26]quantity*price = 13000 [15:00:26]sum+1 = 13001 [15:00:26]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 3.000 * 7.00 = 21.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 151.00 НСП 1% : 1.34 НДС 12% : 16.03 Наличными: 151.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 50 06.03.2024 15:00 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32434 ФПД: 6582369092589 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T150026&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32434&fm=6582369092589&tin=02508201610067®Number=0000000000092554&sum=15100 0 [15:00:27]StoreToDocumentArchive [15:00:27]shift 284 fd 32434 [15:00:27]save to /storage/0284/doc_00032434 [15:00:27]save last doc name /storage/0284/doc_00032434 to /storage/kkm_last_doc_name [15:00:27]save OK [15:00:27]Clear old archive folders... [15:00:27]ProcessDocumentItem done err = 0, tmpTLVsize=383 [15:00:27]tlvbuf is 00807A80 [15:00:27]SAM_PROTO_ClearQueue [15:00:27]wFMCommunicate request_size=4 [15:00:27]MH_SAM_APDU [15:00:27]CAPDU: 80 09 00 00 [15:00:27]Write to MH i2c: E2 08 00 6D 00 80 09 00 00 00 00 00 00 DF [15:00:27]Write i2c OK [15:00:27]MH_I2C_Read... [15:00:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:00:27]Read from MH i2c: E2 [15:00:27]MH_I2C_Read... [15:00:27]Read from MH i2c: E2 03 00 [15:00:27]MH_I2C_Read... [15:00:27]Read from MH i2c: E2 03 00 6D 00 00 90 00 E1 [15:00:27]RAPDU: 90 00 [15:00:27]wFMCommunicate OK [15:00:27]SAM_PROTO_ClearQueue done [15:00:27]KKMCreateOFDPacket [15:00:27]OFDProtocolAddRootSTLVToBuf [15:00:27]FM_MakeSignedData [15:00:27]FM_MakeSignedData [15:00:27]SAM_PROTO_SignData [15:00:27]wFMCommunicate request_size=4 [15:00:27]MH_SAM_APDU [15:00:27]CAPDU: 80 0D 01 02 [15:00:27]Write to MH i2c: E2 08 00 6E 00 80 0D 01 02 00 00 00 00 E7 [15:00:27]Write i2c OK [15:00:27]MH_I2C_Read... [15:00:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:00:27]Read from MH i2c: E2 [15:00:27]MH_I2C_Read... [15:00:27]Read from MH i2c: E2 03 00 [15:00:27]MH_I2C_Read... [15:00:27]Read from MH i2c: E2 03 00 6E 00 00 90 00 E2 [15:00:27]RAPDU: 90 00 [15:00:27]wFMCommunicate OK [15:00:27]wFMCommunicate request_size=255 [15:00:27]MH_SAM_APDU [15:00:27]CAPDU: 80 0D 02 02 FA 03 00 7F 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 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 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 B8 0B 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 [15:00:27]Write to MH i2c: E2 02 01 6F 00 80 0D 02 02 FA 00 03 00 7F 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 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 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 B8 0B 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 18 [15:00:27]Write i2c OK [15:00:27]MH_I2C_Read... [15:00:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:00:27]Read from MH i2c: E2 [15:00:27]MH_I2C_Read... [15:00:27]Read from MH i2c: E2 03 00 [15:00:27]MH_I2C_Read... [15:00:27]Read from MH i2c: E2 03 00 6F 00 00 90 00 E3 [15:00:27]RAPDU: 90 00 [15:00:27]wFMCommunicate OK [15:00:27]wFMCommunicate request_size=142 [15:00:27]MH_SAM_APDU [15:00:27]CAPDU: 80 0D 02 02 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 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 32 00 00 00 F4 03 04 00 0A 85 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 B2 7E 00 00 35 04 06 00 05 FC 93 C5 83 ED [15:00:27]Write to MH i2c: E2 91 00 70 00 80 0D 02 02 89 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 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 32 00 00 00 F4 03 04 00 0A 85 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 B2 7E 00 00 35 04 06 00 05 FC 93 C5 83 ED 00 00 CE [15:00:27]Write i2c OK [15:00:27]MH_I2C_Read... [15:00:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:00:27]Read from MH i2c: E2 [15:00:27]MH_I2C_Read... [15:00:27]Read from MH i2c: E2 03 00 [15:00:27]MH_I2C_Read... [15:00:27]Read from MH i2c: E2 03 00 70 00 00 90 00 E4 [15:00:27]RAPDU: 90 00 [15:00:27]wFMCommunicate OK [15:00:27]wFMCommunicate request_size=4 [15:00:27]MH_SAM_APDU [15:00:27]CAPDU: 80 0D 03 02 [15:00:27]Write to MH i2c: E2 08 00 71 00 80 0D 03 02 00 00 00 00 EC [15:00:27]Write i2c OK [15:00:27]MH_I2C_Read... [15:00:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:00:27]Read from MH i2c: E2 [15:00:27]MH_I2C_Read... [15:00:27]Read from MH i2c: E2 0B 00 [15:00:27]MH_I2C_Read... [15:00:27]Read from MH i2c: E2 0B 00 71 00 00 59 C8 8F 14 E6 68 A7 1E 90 00 C4 [15:00:27]RAPDU: 59 C8 8F 14 E6 68 A7 1E 90 00 [15:00:27]wFMCommunicate OK [15:00:27]SAM_PROTO_SignData done [15:00:27]FM_MakeSignedData done [15:00:27]CreateOFDProtocolMessage [15:00:27]wFMCommunicate request_size=4 [15:00:27]MH_SAM_APDU [15:00:27]CAPDU: 80 11 00 00 [15:00:27]Write to MH i2c: E2 08 00 72 00 80 11 00 00 00 00 00 00 EC [15:00:27]Write i2c OK [15:00:27]MH_I2C_Read... [15:00:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:00:27]Read from MH i2c: E2 [15:00:27]MH_I2C_Read... [15:00:27]Read from MH i2c: E2 17 00 [15:00:27]MH_I2C_Read... [15:00:27]Read from MH i2c: E2 17 00 72 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 41 [15:00:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [15:00:27]wFMCommunicate OK [15:00:27]CreateOFDProtocolMessage done [15:00:27]OFDSenderStorePacket 32434 [15:00:27]StoreOFDPacket docnum=32434 [15:00:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 93 01 00 00 E8 8A 8B 01 3D A9 5A 03 01 00 03 00 7F 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 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 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 B8 0B 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 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 32 00 00 00 F4 03 04 00 0A 85 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 B2 7E 00 00 35 04 06 00 05 FC 93 C5 83 ED 59 C8 8F 14 E6 68 A7 1E [15:00:27]CheckFolder [15:00:27]dirname=/storage/ofd_packets [15:00:27]CheckFolder done [15:00:27]ProducePacketName [15:00:27]name=ofd_packets/00032434 [15:00:27]NVStorageSaveData ofd_packets/00032434 [15:00:27]File name is /storage/ofd_packets/00032434 [15:00:27]Write 433 bytes [15:00:27]NVStorageSaveData done [15:00:27]OFDSenderStorePacket done [15:00:27]KKMCreateOFDPacket done [15:00:27]NVStorageSaveData kkm_last_timestamp [15:00:27]File name is /storage/kkm_last_timestamp [15:00:27]Write 4 bytes [15:00:27]NVStorageSaveData done [15:00:27]ExternCall_PrintAddStr [15:00:27]wPrintStart [15:00:27]Write to MH i2c: 01 00 00 73 00 73 [15:00:27]Write i2c OK [15:00:27]MH_I2C_Read... [15:00:27]Read from MH i2c: 01 [15:00:27]MH_I2C_Read... [15:00:27]Read from MH i2c: 01 07 00 [15:00:27]MH_I2C_Read... [15:00:27]Read from MH i2c: 01 07 00 73 00 00 00 00 00 00 FF 0F 88 [15:00:27]RasterBufferAndPrint [15:00:27]line Счет N : (3)58589 [15:00:28]line ИНН: 02508201610067 [15:00:28]line Контрольно-Кассовый Чек [15:00:28]line ПРОДАЖА [15:00:28]line Товар: 4870001570071 [15:00:28]line Напиток Pepsi 1л [15:00:28]line 1.000 * 130.00 [15:00:28]line = 130.00 [15:00:28]line НДС 12% НСП 1% [15:00:28]line > о реализуемом товаре [15:00:28]line Товар: 2000053020015 [15:00:28]line Бумажные стаканы 250мл 1шт [15:00:28]line 3.000 * 7.00 [15:00:28]line = 21.00 [15:00:28]line НДС 12% НСП 1% [15:00:28]line > о реализуемом товаре [15:00:28]line ИТОГО: 151.00 [15:00:28]line НСП 1% : 1.34 [15:00:28]line НДС 12% : 16.03 [15:00:28]line Наличными: 151.00 [15:00:28]line Безнал.: 0.00 [15:00:28]line Место: АЗС № 99 "Партнер Нефть" [15:00:28]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [15:00:28]line СНО: Общий режим [15:00:28]line Чек 50 06.03.2024 15:00 [15:00:28]line Смена: 284 ФФД: 1.0 [15:00:28]line ЗНМ: 0300000074 [15:00:28]line РНМ: 0000000000092554 [15:00:28]line Версия ККМ: 001 [15:00:28]line ФМ: 0000000000871783 [15:00:28]line ФД: 32434 [15:00:28]line ФПД: 6582369092589 [15:00:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T150026&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32434&fm=6582369092589&tin=02508201610067®Number=0000000000092554&sum=15100 [15:00:28]line 0 [15:00:28]OFD Sender: Processing packet 32434 [packets to send 5, broken 4] [15:00:28]ProducePacketName [15:00:28]name=ofd_packets/00032434 [15:00:28]OFD Sender: To server: pG, [15:00:28]CommunicateWithHost lk.salyk.kg:30040 [15:00:28]ConnectInit lk.salyk.kg [15:00:28]written 0, free lines is 4095 [15:00:28]Connected sock=10 [15:00:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 93 01 00 00 E8 8A 8B 01 3D A9 5A 03 01 00 03 00 7F 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 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 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 B8 0B 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 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 32 00 00 00 F4 03 04 00 0A 85 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 B2 7E 00 00 35 04 06 00 05 FC 93 C5 83 ED 59 C8 8F 14 E6 68 A7 1E [15:00:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 3D CC 47 00 47 B4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 B2 7E 00 00 F4 03 04 00 42 2D E8 65 B6 04 01 00 00 A9 6F EE D7 62 70 67 ED [15:00:28]CommunicateWithHost err = 0 [15:00:28]CheckOFDResponse [15:00:28]1017 (14) - 77093643461234 [15:00:28]1041 (16) - 0000000000871783 [15:00:28]1040 (4) - 32434 [15:00:28]1012 (4) - 06.03.2024 08:45 [15:00:28]1206 (1) - 0 [15:00:28]OFD Sender: Remove packet 32434 [15:00:28]ProducePacketName [15:00:28]name=ofd_packets/00032434 [15:00:28]NVStorageDeleteData [15:00:28]Write to MH i2c: 01 00 00 A2 00 A2 [15:00:28]Write i2c OK [15:00:28]MH_I2C_Read... [15:00:28]Read from MH i2c: 01 [15:00:28]MH_I2C_Read... [15:00:28]Read from MH i2c: 01 07 00 [15:00:28]MH_I2C_Read... [15:00:28]Read from MH i2c: 01 07 00 A2 00 00 00 00 00 00 57 0C 0C [15:00:28]RasterBufferAndPrint [15:00:28]line [15:00:28]line [15:00:28]line [15:00:28]line [15:00:28]line [15:00:28]written 0, free lines is 3165 [15:00:28]MH_Cut [15:00:28]Write to MH i2c: D1 01 00 A9 00 01 7B [15:00:28]Write i2c OK [15:00:28]MH_I2C_Read... [15:00:28]Read from MH i2c: D1 [15:00:28]MH_I2C_Read... [15:00:28]Read from MH i2c: D1 01 00 [15:00:28]MH_I2C_Read... [15:00:28]Read from MH i2c: D1 01 00 A9 00 00 7A [15:00:28]Write to MH i2c: 01 00 00 AA 00 AA [15:00:28]Write i2c OK [15:00:28]MH_I2C_Read... [15:00:29]OFD Sender: No OFD packet to send [15:00:29]*** Cut start [15:00:29]*** Partial cut [15:00:29]*** CUTSNS_PIN = 1 [15:00:29]*** CUTSNS_PIN = 0 [15:00:29]*** Brake cut motor [15:00:30]Read from MH i2c: 01 [15:00:30]MH_I2C_Read... [15:00:30]*** Stop cut motor [15:00:30]*** Cut end [15:00:30]Read from MH i2c: 01 07 00 [15:00:30]MH_I2C_Read... [15:00:30]Read from MH i2c: 01 07 00 AA 00 00 00 00 00 00 FF 0F BF [15:00:30]process_action close_receipt done [15:00:30]requested_data is exist [15:00:30]produce_requested_data [15:00:30]requested_item fm.sn is exist - process it [15:00:30]wFMCommunicate request_size=4 [15:00:30]MH_SAM_APDU [15:00:30]CAPDU: 80 11 00 00 [15:00:30]Write to MH i2c: E2 08 00 AB 00 80 11 00 00 00 00 00 00 25 [15:00:30]Write i2c OK [15:00:30]MH_I2C_Read... [15:00:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:00:30]Read from MH i2c: E2 [15:00:30]MH_I2C_Read... [15:00:30]Read from MH i2c: E2 17 00 [15:00:30]MH_I2C_Read... [15:00:30]Read from MH i2c: E2 17 00 AB 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 7A [15:00:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [15:00:30]wFMCommunicate OK [15:00:30]requested_item fd.num is exist - process it [15:00:30]SAM_PROTO_GetFieldsCounters [15:00:30]wFMCommunicate request_size=4 [15:00:30]MH_SAM_APDU [15:00:30]CAPDU: 80 13 00 00 [15:00:30]Write to MH i2c: E2 08 00 AC 00 80 13 00 00 00 00 00 00 28 [15:00:30]Write i2c OK [15:00:30]MH_I2C_Read... [15:00:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:00:30]Read from MH i2c: E2 [15:00:30]MH_I2C_Read... [15:00:30]Read from MH i2c: E2 62 00 [15:00:30]MH_I2C_Read... [15:00:30]Read from MH i2c: E2 62 00 AC 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 B2 7E 00 00 0E 04 04 00 1C 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 2E [15:00:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 B2 7E 00 00 0E 04 04 00 1C 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 [15:00:30]wFMCommunicate OK [15:00:30]SAM_PROTO_GetFieldsCounters done [15:00:30]requested_item shift.num is exist - process it [15:00:30]requested_item shift.opened is exist - process it [15:00:30]req_shift_opened [15:00:30]FM_GetShiftState [15:00:30]SAM_PROTO_GetShiftState [15:00:30]wFMCommunicate request_size=4 [15:00:30]MH_SAM_APDU [15:00:30]CAPDU: 80 13 01 00 [15:00:30]Write to MH i2c: E2 08 00 AD 00 80 13 01 00 00 00 00 00 2A [15:00:30]Write i2c OK [15:00:30]MH_I2C_Read... [15:00:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:00:30]Read from MH i2c: E2 [15:00:30]MH_I2C_Read... [15:00:30]Read from MH i2c: E2 0E 00 [15:00:30]MH_I2C_Read... [15:00:30]Read from MH i2c: E2 0E 00 AD 00 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 A7 [15:00:30]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [15:00:30]wFMCommunicate OK [15:00:30]SAM_PROTO_GetShiftState done [15:00:30]FM_GetShiftState done [15:00:30]req_shift_opened done [15:00:30]requested_item shift.open_date is exist - process it [15:00:30]req_shift_open_date [15:00:30]req_shift_open_date done [15:00:30]produce_requested_data done [15:00:30]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32434,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [15:00:30]process_action_free close_receipt [15:00:30]json_value_free [15:00:30]json_value_free done [15:00:30]process_json_proto returns [15:00:30]Send response to host [15:00:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32434,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [15:00:30]free response buf [15:00:30]execute_script done [15:00:30]execute_script returns [15:00:30]free content buf [15:00:30]Sock 7.Close socket [15:00:30]Sock 7.Thread stoped [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:49]OFD Sender: No OFD packet to send [15:00:54]OFD Sender: No OFD packet to send [15:00:59]OFD Sender: No OFD packet to send [15:01:04]OFD Sender: No OFD packet to send [15:01:09]OFD Sender: No OFD packet to send [15:01:14]OFD Sender: No OFD packet to send [15:01:19]OFD Sender: No OFD packet to send [15:01:24]OFD Sender: No OFD packet to send [15:01:29]OFD Sender: No OFD packet to send [15:01:34]OFD Sender: No OFD packet to send [15:01:39]OFD Sender: No OFD packet to send [15:01:44]OFD Sender: No OFD packet to send [15:01:49]OFD Sender: No OFD packet to send [15:01:54]OFD Sender: No OFD packet to send [15:01:59]OFD Sender: No OFD packet to send [15:02:04]OFD Sender: No OFD packet to send [15:02:09]OFD Sender: No OFD packet to send [15:02:14]OFD Sender: No OFD packet to send [15:02:19]OFD Sender: No OFD packet to send [15:02:24]OFD Sender: No OFD packet to send [15:02:29]OFD Sender: No OFD packet to send [15:02:34]OFD Sender: No OFD packet to send [15:02:39]OFD Sender: No OFD packet to send [15:02:44]OFD Sender: No OFD packet to send [15:02:49]OFD Sender: No OFD packet to send [15:02:54]OFD Sender: No OFD packet to send [15:02:59]OFD Sender: No OFD packet to send [15:03:04]OFD Sender: No OFD packet to send [15:03:09]OFD Sender: No OFD packet to send [15:03:14]OFD Sender: No OFD packet to send [15:03:19]OFD Sender: No OFD packet to send [15:03:24]OFD Sender: No OFD packet to send [15:03:29]OFD Sender: No OFD packet to send [15:03:34]OFD Sender: No OFD packet to send [15:03:39]OFD Sender: No OFD packet to send [15:03:44]OFD Sender: No OFD packet to send [15:03:49]OFD Sender: No OFD packet to send [15:03:54]OFD Sender: No OFD packet to send [15:03:59]OFD Sender: No OFD packet to send [15:04:04]OFD Sender: No OFD packet to send [15:04:09]OFD Sender: No OFD packet to send [15:04:14]OFD Sender: No OFD packet to send [15:04:19]OFD Sender: No OFD packet to send [15:04:24]OFD Sender: No OFD packet to send [15:04:29]OFD Sender: No OFD packet to send [15:04:34]OFD Sender: No OFD packet to send [15:04:39]OFD Sender: No OFD packet to send [15:04:44]OFD Sender: No OFD packet to send [15:04:49]OFD Sender: No OFD packet to send [15:04:54]OFD Sender: No OFD packet to send [15:04:59]OFD Sender: No OFD packet to send [15:05:04]OFD Sender: No OFD packet to send [15:05:09]OFD Sender: No OFD packet to send [15:05:14]OFD Sender: No OFD packet to send [15:05:19]OFD Sender: No OFD packet to send [15:05:24]OFD Sender: No OFD packet to send [15:05:29]OFD Sender: No OFD packet to send [15:05:34]OFD Sender: No OFD packet to send [15:05:39]OFD Sender: No OFD packet to send [15:05:44]OFD Sender: No OFD packet to send [15:05:49]OFD Sender: No OFD packet to send [15:05:54]OFD Sender: No OFD packet to send [15:05:59]OFD Sender: No OFD packet to send [15:06:04]OFD Sender: No OFD packet to send [15:06:09]OFD Sender: No OFD packet to send [15:06:14]OFD Sender: No OFD packet to send [15:06:19]OFD Sender: No OFD packet to send [15:06:24]OFD Sender: No OFD packet to send [15:06:29]OFD Sender: No OFD packet to send [15:06:34]OFD Sender: No OFD packet to send [15:06:39]OFD Sender: No OFD packet to send [15:06:44]OFD Sender: No OFD packet to send [15:06:49]OFD Sender: No OFD packet to send [15:06:54]OFD Sender: No OFD packet to send [15:06:59]OFD Sender: No OFD packet to send [15:07:04]OFD Sender: No OFD packet to send [15:07:09]OFD Sender: No OFD packet to send [15:07:14]OFD Sender: No OFD packet to send [15:07:19]OFD Sender: No OFD packet to send [15:07:24]OFD Sender: No OFD packet to send [15:07:29]OFD Sender: No OFD packet to send [15:07:34]OFD Sender: No OFD packet to send [15:07:39]OFD Sender: No OFD packet to send [15:07:43]accept exits with 9 [15:07:43]New connection [15:07:43]New thread 3067592036 created [15:07:43]Thread 3067448676 joined [15:07:43]Waiting for new connection... [15:07:43] Sock 9.Parse request [15:07:43]Sock 9.Check first char [15:07:43]Sock 9.First char is OK [15:07:43]request: POST /json_proto HTTP/1.0 [15:07:43]Method: POST [15:07:43]URL: /json_proto [15:07:43]Method is POST - this is cgi request [15:07:43]url: /json_proto [15:07:43]query_string will be loaded in cgi processing [15:07:43]execute_cgi json_proto POST (null) [15:07:43]execute_cgi path=json_proto method=POST [15:07:43]POST find Content-Length [15:07:43]Host: 172.17.61.6:8080 [15:07:43]Content-Length: 833 [15:07:43]Content-Type: application/json [15:07:43] [15:07:43]POST finish read [15:07:43]Found Content-Length = 833 [15:07:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)58590", "tax_sys" : 0, "items" : [ { "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:07:43]execute_script... [15:07: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)58590", "tax_sys" : 0, "items" : [ { "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:07:43]POST & json_proto [15:07:43]process_json_proto [15:07:43]json parsed OK: [15:07:43]protocol is kg_v1.0 [15:07:43]action value=close_receipt [15:07:43]process_action close_receipt [15:07:43]cmd_close_receipt [15:07:43]MH_GetDate [15:07:43]Write to MH i2c: F0 00 00 AE 00 9D [15:07:43]Write i2c OK [15:07:43]MH_I2C_Read... [15:07:43]Read from MH i2c: F0 [15:07:43]MH_I2C_Read... [15:07:43]Read from MH i2c: F0 09 00 [15:07:43]MH_I2C_Read... [15:07:43]Read from MH i2c: F0 09 00 AE 00 00 BF 86 E8 65 78 7F 6F 64 02 [15:07:43]GetLastDocTimeStamp 1709737226 [15:07:43]current date 1709737663 [15:07:43]FM_GetShiftState [15:07:43]SAM_PROTO_GetShiftState [15:07:43]wFMCommunicate request_size=4 [15:07:43]MH_SAM_APDU [15:07:43]CAPDU: 80 13 01 00 [15:07:43]Write to MH i2c: E2 08 00 AF 00 80 13 01 00 00 00 00 00 2C [15:07:43]Write i2c OK [15:07:43]MH_I2C_Read... [15:07:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:07:43]Read from MH i2c: E2 [15:07:43]MH_I2C_Read... [15:07:43]Read from MH i2c: E2 0E 00 [15:07:43]MH_I2C_Read... [15:07:43]Read from MH i2c: E2 0E 00 AF 00 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 A9 [15:07:43]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [15:07:43]wFMCommunicate OK [15:07:43]SAM_PROTO_GetShiftState done [15:07:43]FM_GetShiftState done [15:07:43]opened in 1709684590 [15:07:43]opened+sec_in_day 1709770990 [15:07:43]quantity*price = 4000 [15:07:43]sum+1 = 4001 [15:07:43]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.70 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 99 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 СНО: Общий режим Чек 51 06.03.2024 15:07 Смена: 284 ФФД: 1.0 ЗНМ: 0300000074 РНМ: 0000000000092554 Версия ККМ: 001 ФМ: 0000000000871783 ФД: 32435 ФПД: 166788559907151 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T150743&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32435&fm=166788559907151&tin=02508201610067®Number=0000000000092554&sum=8000 0 [15:07:44]StoreToDocumentArchive [15:07:44]shift 284 fd 32435 [15:07:44]save to /storage/0284/doc_00032435 [15:07:44]save last doc name /storage/0284/doc_00032435 to /storage/kkm_last_doc_name [15:07:44]save OK [15:07:44]Clear old archive folders... [15:07:44]ProcessDocumentItem done err = 0, tmpTLVsize=361 [15:07:44]tlvbuf is 00807600 [15:07:44]SAM_PROTO_ClearQueue [15:07:44]wFMCommunicate request_size=4 [15:07:44]MH_SAM_APDU [15:07:44]CAPDU: 80 09 00 00 [15:07:44]Write to MH i2c: E2 08 00 BC 00 80 09 00 00 00 00 00 00 2E [15:07:44]Write i2c OK [15:07:44]MH_I2C_Read... [15:07:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:07:44]Read from MH i2c: E2 [15:07:44]MH_I2C_Read... [15:07:44]Read from MH i2c: E2 03 00 [15:07:44]MH_I2C_Read... [15:07:44]Read from MH i2c: E2 03 00 BC 00 00 90 00 30 [15:07:44]RAPDU: 90 00 [15:07:44]wFMCommunicate OK [15:07:44]SAM_PROTO_ClearQueue done [15:07:44]KKMCreateOFDPacket [15:07:44]OFDProtocolAddRootSTLVToBuf [15:07:44]FM_MakeSignedData [15:07:44]FM_MakeSignedData [15:07:44]SAM_PROTO_SignData [15:07:44]wFMCommunicate request_size=4 [15:07:44]MH_SAM_APDU [15:07:44]CAPDU: 80 0D 01 02 [15:07:44]Write to MH i2c: E2 08 00 BD 00 80 0D 01 02 00 00 00 00 36 [15:07:44]Write i2c OK [15:07:44]MH_I2C_Read... [15:07:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:07:44]Read from MH i2c: E2 [15:07:44]MH_I2C_Read... [15:07:44]Read from MH i2c: E2 03 00 [15:07:44]MH_I2C_Read... [15:07:44]Read from MH i2c: E2 03 00 BD 00 00 90 00 31 [15:07:44]RAPDU: 90 00 [15:07:44]wFMCommunicate OK [15:07:44]wFMCommunicate request_size=255 [15:07:44]MH_SAM_APDU [15:07:44]CAPDU: 80 0D 02 02 FA 03 00 69 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 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 [15:07:44]Write to MH i2c: E2 02 01 BE 00 80 0D 02 02 FA 00 03 00 69 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 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 7A [15:07:44]Write i2c OK [15:07:44]MH_I2C_Read... [15:07:44]OFD Sender: No OFD packet to send [15:07:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:07:44]Read from MH i2c: E2 [15:07:44]MH_I2C_Read... [15:07:44]Read from MH i2c: E2 03 00 [15:07:44]MH_I2C_Read... [15:07:44]Read from MH i2c: E2 03 00 BE 00 00 90 00 32 [15:07:44]RAPDU: 90 00 [15:07:44]wFMCommunicate OK [15:07:44]wFMCommunicate request_size=120 [15:07:44]MH_SAM_APDU [15:07:44]CAPDU: 80 0D 02 02 73 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 BF 86 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 B3 7E 00 00 35 04 06 00 97 B1 7C DD A9 4F [15:07:44]Write to MH i2c: E2 7B 00 BF 00 80 0D 02 02 73 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 BF 86 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 B3 7E 00 00 35 04 06 00 97 B1 7C DD A9 4F 00 00 66 [15:07:44]Write i2c OK [15:07:44]MH_I2C_Read... [15:07:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:07:44]Read from MH i2c: E2 [15:07:44]MH_I2C_Read... [15:07:44]Read from MH i2c: E2 03 00 [15:07:44]MH_I2C_Read... [15:07:44]Read from MH i2c: E2 03 00 BF 00 00 90 00 33 [15:07:44]RAPDU: 90 00 [15:07:44]wFMCommunicate OK [15:07:44]wFMCommunicate request_size=4 [15:07:44]MH_SAM_APDU [15:07:44]CAPDU: 80 0D 03 02 [15:07:44]Write to MH i2c: E2 08 00 C0 00 80 0D 03 02 00 00 00 00 3B [15:07:44]Write i2c OK [15:07:44]MH_I2C_Read... [15:07:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:07:44]Read from MH i2c: E2 [15:07:44]MH_I2C_Read... [15:07:44]Read from MH i2c: E2 0B 00 [15:07:44]MH_I2C_Read... [15:07:44]Read from MH i2c: E2 0B 00 C0 00 00 1A CD 07 EF 4C 89 AB 65 90 00 FE [15:07:44]RAPDU: 1A CD 07 EF 4C 89 AB 65 90 00 [15:07:44]wFMCommunicate OK [15:07:44]SAM_PROTO_SignData done [15:07:44]FM_MakeSignedData done [15:07:44]CreateOFDProtocolMessage [15:07:44]wFMCommunicate request_size=4 [15:07:44]MH_SAM_APDU [15:07:44]CAPDU: 80 11 00 00 [15:07:44]Write to MH i2c: E2 08 00 C1 00 80 11 00 00 00 00 00 00 3B [15:07:44]Write i2c OK [15:07:44]MH_I2C_Read... [15:07:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:07:44]Read from MH i2c: E2 [15:07:44]MH_I2C_Read... [15:07:44]Read from MH i2c: E2 17 00 [15:07:44]MH_I2C_Read... [15:07:44]Read from MH i2c: E2 17 00 C1 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 90 [15:07:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [15:07:44]wFMCommunicate OK [15:07:44]CreateOFDProtocolMessage done [15:07:44]OFDSenderStorePacket 32435 [15:07:44]StoreOFDPacket docnum=32435 [15:07:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 7D 01 00 00 24 49 75 01 97 59 5A 03 01 00 03 00 69 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 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 BF 86 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 B3 7E 00 00 35 04 06 00 97 B1 7C DD A9 4F 1A CD 07 EF 4C 89 AB 65 [15:07:44]CheckFolder [15:07:44]dirname=/storage/ofd_packets [15:07:44]CheckFolder done [15:07:44]ProducePacketName [15:07:44]name=ofd_packets/00032435 [15:07:44]NVStorageSaveData ofd_packets/00032435 [15:07:44]File name is /storage/ofd_packets/00032435 [15:07:44]Write 411 bytes [15:07:44]NVStorageSaveData done [15:07:44]OFDSenderStorePacket done [15:07:44]KKMCreateOFDPacket done [15:07:44]NVStorageSaveData kkm_last_timestamp [15:07:44]File name is /storage/kkm_last_timestamp [15:07:44]Write 4 bytes [15:07:44]NVStorageSaveData done [15:07:44]ExternCall_PrintAddStr [15:07:44]wPrintStart [15:07:44]Write to MH i2c: 01 00 00 C2 00 C2 [15:07:44]Write i2c OK [15:07:44]MH_I2C_Read... [15:07:44]Read from MH i2c: 01 [15:07:44]MH_I2C_Read... [15:07:44]Read from MH i2c: 01 07 00 [15:07:44]MH_I2C_Read... [15:07:44]Read from MH i2c: 01 07 00 C2 00 00 00 00 00 00 FF 0F D7 [15:07:44]RasterBufferAndPrint [15:07:44]line Счет N : (3)58590 [15:07:44]line ИНН: 02508201610067 [15:07:44]line Контрольно-Кассовый Чек [15:07:44]line ПРОДАЖА [15:07:44]line Товар: 50173808 [15:07:44]line Жев Orbit Sweet Mint [15:07:44]line 1.000 * 40.00 [15:07:44]line = 40.00 [15:07:44]line НДС 12% НСП 1% [15:07:44]line > о реализуемом товаре [15:07:44]line Товар: 4700000160211 [15:07:44]line Вода Легенда 0,5л [15:07:45]line 1.000 * 40.00 [15:07:45]line = 40.00 [15:07:45]line НДС 12% НСП 1% [15:07:45]line > о реализуемом товаре [15:07:45]line ИТОГО: 80.00 [15:07:45]line НСП 1% : 0.70 [15:07:45]line НДС 12% : 8.50 [15:07:45]line Наличными: 80.00 [15:07:45]line Безнал.: 0.00 [15:07:45]line Место: АЗС № 99 "Партнер Нефть" [15:07:45]line Адрес: 720001, г. Ош, ул. Курманжан Датка 304, 40.537563, 72.792394 [15:07:45]line СНО: Общий режим [15:07:45]line Чек 51 06.03.2024 15:07 [15:07:45]line Смена: 284 ФФД: 1.0 [15:07:45]line ЗНМ: 0300000074 [15:07:45]line РНМ: 0000000000092554 [15:07:45]line Версия ККМ: 001 [15:07:45]line ФМ: 0000000000871783 [15:07:45]line ФД: 32435 [15:07:45]line ФПД: 166788559907151 [15:07:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240306T150743&type=1&operation_type=1&fn_number=0000000000871783&fd_number=32435&fm=166788559907151&tin=02508201610067®Number=0000000000092554&sum=8000 [15:07:45]line 0 [15:07:45]OFD Sender: Processing packet 32435 [packets to send 5, broken 4] [15:07:45]ProducePacketName [15:07:45]name=ofd_packets/00032435 [15:07:45]OFD Sender: To server: pG, [15:07:45]CommunicateWithHost lk.salyk.kg:30040 [15:07:45]ConnectInit lk.salyk.kg [15:07:45]written 0, free lines is 4095 [15:07:45]Connected sock=10 [15:07:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 7D 01 00 00 24 49 75 01 97 59 5A 03 01 00 03 00 69 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 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 BF 86 E8 65 0E 04 04 00 1C 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 B3 7E 00 00 35 04 06 00 97 B1 7C DD A9 4F 1A CD 07 EF 4C 89 AB 65 [15:07:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 4F 00 00 00 B4 64 47 00 69 D1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 10 04 04 00 B3 7E 00 00 F4 03 04 00 F7 2E E8 65 B6 04 01 00 00 E6 DD 9E 38 DF E0 4C C7 [15:07:45]CommunicateWithHost err = 0 [15:07:45]CheckOFDResponse [15:07:45]1017 (14) - 77093643461234 [15:07:45]1041 (16) - 0000000000871783 [15:07:45]1040 (4) - 32435 [15:07:45]1012 (4) - 06.03.2024 08:53 [15:07:45]1206 (1) - 0 [15:07:45]OFD Sender: Remove packet 32435 [15:07:45]ProducePacketName [15:07:45]name=ofd_packets/00032435 [15:07:45]NVStorageDeleteData [15:07:45]Write to MH i2c: 01 00 00 F0 00 F0 [15:07:45]Write i2c OK [15:07:45]MH_I2C_Read... [15:07:45]Read from MH i2c: 01 [15:07:45]MH_I2C_Read... [15:07:45]Read from MH i2c: 01 07 00 [15:07:45]MH_I2C_Read... [15:07:45]Read from MH i2c: 01 07 00 F0 00 00 00 00 00 00 72 0C 75 [15:07:45]RasterBufferAndPrint [15:07:45]line [15:07:45]line [15:07:45]line [15:07:45]line [15:07:45]line [15:07:45]written 0, free lines is 3193 [15:07:45]MH_Cut [15:07:45]Write to MH i2c: D1 01 00 F7 00 01 C9 [15:07:45]Write i2c OK [15:07:45]MH_I2C_Read... [15:07:45]Read from MH i2c: D1 [15:07:45]MH_I2C_Read... [15:07:45]Read from MH i2c: D1 01 00 [15:07:45]MH_I2C_Read... [15:07:45]Read from MH i2c: D1 01 00 F7 00 00 C8 [15:07:45]Write to MH i2c: 01 00 00 F8 00 F8 [15:07:45]Write i2c OK [15:07:45]MH_I2C_Read... [15:07:45]OFD Sender: No OFD packet to send [15:07:46]*** Cut start [15:07:46]*** Partial cut [15:07:46]*** CUTSNS_PIN = 1 [15:07:46]*** CUTSNS_PIN = 0 [15:07:46]*** Brake cut motor [15:07:47]Read from MH i2c: 01 [15:07:47]MH_I2C_Read... [15:07:47]*** Stop cut motor [15:07:47]*** Cut end [15:07:47]Read from MH i2c: 01 07 00 [15:07:47]MH_I2C_Read... [15:07:47]Read from MH i2c: 01 07 00 F8 00 00 00 00 00 00 FF 0F 0D [15:07:47]process_action close_receipt done [15:07:47]requested_data is exist [15:07:47]produce_requested_data [15:07:47]requested_item fm.sn is exist - process it [15:07:47]wFMCommunicate request_size=4 [15:07:47]MH_SAM_APDU [15:07:47]CAPDU: 80 11 00 00 [15:07:47]Write to MH i2c: E2 08 00 F9 00 80 11 00 00 00 00 00 00 73 [15:07:47]Write i2c OK [15:07:47]MH_I2C_Read... [15:07:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:07:47]Read from MH i2c: E2 [15:07:47]MH_I2C_Read... [15:07:47]Read from MH i2c: E2 17 00 [15:07:47]MH_I2C_Read... [15:07:47]Read from MH i2c: E2 17 00 F9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 C8 [15:07:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [15:07:47]wFMCommunicate OK [15:07:47]requested_item fd.num is exist - process it [15:07:47]SAM_PROTO_GetFieldsCounters [15:07:47]wFMCommunicate request_size=4 [15:07:47]MH_SAM_APDU [15:07:47]CAPDU: 80 13 00 00 [15:07:47]Write to MH i2c: E2 08 00 FA 00 80 13 00 00 00 00 00 00 76 [15:07:47]Write i2c OK [15:07:47]MH_I2C_Read... [15:07:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:07:47]Read from MH i2c: E2 [15:07:47]MH_I2C_Read... [15:07:47]Read from MH i2c: E2 62 00 [15:07:47]MH_I2C_Read... [15:07:47]Read from MH i2c: E2 62 00 FA 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 B3 7E 00 00 0E 04 04 00 1C 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 80 [15:07:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 35 35 34 10 04 04 00 B3 7E 00 00 0E 04 04 00 1C 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 [15:07:47]wFMCommunicate OK [15:07:47]SAM_PROTO_GetFieldsCounters done [15:07:47]requested_item shift.num is exist - process it [15:07:47]requested_item shift.opened is exist - process it [15:07:47]req_shift_opened [15:07:47]FM_GetShiftState [15:07:47]SAM_PROTO_GetShiftState [15:07:47]wFMCommunicate request_size=4 [15:07:47]MH_SAM_APDU [15:07:47]CAPDU: 80 13 01 00 [15:07:47]Write to MH i2c: E2 08 00 FB 00 80 13 01 00 00 00 00 00 78 [15:07:47]Write i2c OK [15:07:47]MH_I2C_Read... [15:07:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:07:47]Read from MH i2c: E2 [15:07:47]MH_I2C_Read... [15:07:47]Read from MH i2c: E2 0E 00 [15:07:47]MH_I2C_Read... [15:07:47]Read from MH i2c: E2 0E 00 FB 00 00 09 00 01 6E B7 E7 65 00 00 00 00 90 00 F5 [15:07:47]RAPDU: 09 00 01 6E B7 E7 65 00 00 00 00 90 00 [15:07:47]wFMCommunicate OK [15:07:47]SAM_PROTO_GetShiftState done [15:07:47]FM_GetShiftState done [15:07:47]req_shift_opened done [15:07:47]requested_item shift.open_date is exist - process it [15:07:47]req_shift_open_date [15:07:47]req_shift_open_date done [15:07:47]produce_requested_data done [15:07:47]produce_requested_data return {"fm.sn":"0000000000871783","fd.num":32435,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590} [15:07:47]process_action_free close_receipt [15:07:47]json_value_free [15:07:47]json_value_free done [15:07:47]process_json_proto returns [15:07:47]Send response to host [15:07:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871783","fd.num":32435,"shift.num":284,"shift.opened":1,"shift.open_date":1709684590}}} [15:07:47]free response buf [15:07:47]execute_script done [15:07:47]execute_script returns [15:07:47]free content buf [15:07:47]Sock 9.Close socket [15:07:47]Sock 9.Thread stoped [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:56]OFD Sender: No OFD packet to send [15:09:01]OFD Sender: No OFD packet to send [15:09:06]OFD Sender: No OFD packet to send [15:09:11]OFD Sender: No OFD packet to send [15:09:16]OFD Sender: No OFD packet to send [15:09:21]OFD Sender: No OFD packet to send [15:09:26]OFD Sender: No OFD packet to send [15:09:31]OFD Sender: No OFD packet to send [15:09:36]OFD Sender: No OFD packet to send [15:09:41]OFD Sender: No OFD packet to send [15:09:46]OFD Sender: No OFD packet to send [15:09:51]OFD Sender: No OFD packet to send [15:09:56]OFD Sender: No OFD packet to send [15:10:01]OFD Sender: No OFD packet to send [15:10:06]OFD Sender: No OFD packet to send [15:10:11]OFD Sender: No OFD packet to send [15:10:16]OFD Sender: No OFD packet to send [15:10:21]OFD Sender: No OFD packet to send [15:10:26]OFD Sender: No OFD packet to send [15:10:31]OFD Sender: No OFD packet to send [15:10:36]OFD Sender: No OFD packet to send [15:10:41]OFD Sender: No OFD packet to send [15:10:46]OFD Sender: No OFD packet to send [15:10:51]OFD Sender: No OFD packet to send [15:10:56]OFD Sender: No OFD packet to send [15:11:01]OFD Sender: No OFD packet to send [15:11:06]OFD Sender: No OFD packet to send [15:11:11]OFD Sender: No OFD packet to send [15:11:16]OFD Sender: No OFD packet to send [15:11:21]OFD Sender: No OFD packet to send [15:11:26]OFD Sender: No OFD packet to send [15:11:31]OFD Sender: No OFD packet to send [15:11:36]OFD Sender: No OFD packet to send [15:11:41]OFD Sender: No OFD packet to send [15:11:46]OFD Sender: No OFD packet to send [15:11:51]OFD Sender: No OFD packet to send [15:11:56]OFD Sender: No OFD packet to send [15:12:01]OFD Sender: No OFD packet to send [15:12:06]OFD Sender: No OFD packet to send [15:12:11]OFD Sender: No OFD packet to send [15:12:16]OFD Sender: No OFD packet to send [15:12:21]OFD Sender: No OFD packet to send [15:12:26]OFD Sender: No OFD packet to send [15:12:31]OFD Sender: No OFD packet to send [15:12:36]OFD Sender: No OFD packet to send [15:12:41]OFD Sender: No OFD packet to send [15:12:46]OFD Sender: No OFD packet to send [15:12:51]OFD Sender: No OFD packet to send [15:12:56]OFD Sender: No OFD packet to send [15:13:01]OFD Sender: No OFD packet to send [15:13:06]OFD Sender: No OFD packet to send [15:13:11]OFD Sender: No OFD packet to send [15:13:16]OFD Sender: No OFD packet to send [15:13:21]OFD Sender: No OFD packet to send [15:13:26]OFD Sender: No OFD packet to send [15:13:31]OFD Sender: No OFD packet to send [15:13:36]OFD Sender: No OFD packet to send [15:13:41]OFD Sender: No OFD packet to send [15:13:46]OFD Sender: No OFD packet to send [15:13:51]OFD Sender: No OFD packet to send [15:13:56]OFD Sender: No OFD packet to send [15:14:01]OFD Sender: No OFD packet to send [15:14:06]OFD Sender: No OFD packet to send [15:14:11]OFD Sender: No OFD packet to send [15:14:16]OFD Sender: No OFD packet to send [15:14:21]OFD Sender: No OFD packet to send [15:14:26]OFD Sender: No OFD packet to send [15:14:31]OFD Sender: No OFD packet to send [15:14:36]OFD Sender: No OFD packet to send [15:14:41]OFD Sender: No OFD packet to send [15:14:46]OFD Sender: No OFD packet to send [15:14:51]OFD Sender: No OFD packet to send [15:14:56]OFD Sender: No OFD packet to send [15:15:01]OFD Sender: No OFD packet to send [15:15:06]OFD Sender: No OFD packet to send [15:15:11]OFD Sender: No OFD packet to send [15:15:16]OFD Sender: No OFD packet to send [15:15:21]OFD Sender: No OFD packet to send [15:15:26]OFD Sender: No OFD packet to send [15:15:31]OFD Sender: No OFD packet to send [15:15:36]OFD Sender: No OFD packet to send [15:15:41]OFD Sender: No OFD packet to send [15:15:46]OFD Sender: No OFD packet to send [15:15:51]OFD Sender: No OFD packet to send [15:15:56]OFD Sender: No OFD packet to send [15:16:01]OFD Sender: No OFD packet to send [15:16:06]OFD Sender: No OFD packet to send [15:16:11]OFD Sender: No OFD packet to send [15:16:16]OFD Sender: No OFD packet to send [15:16:21]OFD Sender: No OFD packet to send [15:16:26]OFD Sender: No OFD packet to send [15:16:31]OFD Sender: No OFD packet to send [15:16:36]OFD Sender: No OFD packet to send [15:16:41]OFD Sender: No OFD packet to send [15:16:46]OFD Sender: No OFD packet to send [15:16:51]OFD Sender: No OFD packet to send [15:16:56]OFD Sender: No OFD packet to send [15:17:01]OFD Sender: No OFD packet to send [15:17:06]OFD Sender: No OFD packet to send [15:17:11]OFD Sender: No OFD packet to send [15:17:16]OFD Sender: No OFD packet to send [15:17:21]OFD Sender: No OFD packet to send [15:17:26]OFD Sender: No OFD packet to send [15:17:31]OFD Sender: No OFD packet to send [15:17:36]OFD Sender: No OFD packet to send [15:17:41]OFD Sender: No OFD packet to send [15:17:46]OFD Sender: No OFD packet to send [00:29:19] *** EcrCore started. Build 196 *** [00:29:19]/dev/ttyS4 opened [00:29:19]MH_InterfaceInit /dev/i2c-1 [00:29:19]Malloc ok [00:29:19]MH_GetMetrics [00:29:19]Write to MH i2c: 00 00 00 01 00 00 [00:29:19]Write i2c OK [00:29:19]MH_I2C_Read... [00:29:19]Read from MH i2c: 00 [00:29:19]MH_I2C_Read... [00:29:19]Read from MH i2c: 00 29 00 [00:29:19]MH_I2C_Read... [00:29:19]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 10 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 B5 [00:29:19]Are we in boot? [00:29:19]We are in boot - try to switch [00:29:19]Write to MH i2c: A0 00 00 02 00 A1 [00:29:19]Write i2c OK [00:29:19]MH_I2C_Read... [00:29:20]Read from MH i2c: A0 [00:29:20]MH_I2C_Read... [00:29:20]Read from MH i2c: A0 01 00 [00:29:20]MH_I2C_Read... [00:29:20]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:29:20]Read from MH i2c: *** [00:29:20]A0 01 00 02 00 00 A2 [00:29:20]*** Starting fw at address 01020100 (2007E328 010249C5) [00:29:20]*** Waiting for read because exit forced [00:29:20]*** 10 ms more... [00:29:20]*** MH1903S init start (LINUX_LIGHT) [00:29:20]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:29:20]*** Serial: 3139303353513838 5400000000572510 (1903SQ88T) [00:29:20]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:29:20]*** step 0: 5000 (2650, 2350 REF) [00:29:20]*** step 1: 4835 (2500, 2335 REF) [00:29:20]*** step 2: 4676 (2440, 2236 REF) [00:29:20]*** step 3: 4523 (2280, 2243 REF) [00:29:20]*** step 4: 4376 (2160, 2216 REF) [00:29:20]*** step 5: 4235 (2050, 2185 REF) [00:29:20]*** step 6: 4098 (1950, 2148 REF) [00:29:20]*** step 7: 3967 (1870, 2097 REF) [00:29:20]*** step 8: 3840 (1828, 2012 REF) [00:29:20]*** step 9: 3719 (1728, 1991 REF) [00:29:20]*** step 10: 3601 (1675, 1926 REF) [00:29:20]*** step 11: 3488 (1635, 1853 REF) [00:29:20]*** step 12: 3379 (1595, 1784 REF) [00:29:20]*** step 13: 3275 (1565, 1710 REF) [00:29:20]*** step 14: 3174 (1543, 1631 REF) [00:29:20]*** step 15: 3077 (1523, 1554 REF) [00:29:20]*** step 16: 2983 (1503, 1480 REF) [00:29:20]*** step 17: 2893 (1486, 1407 REF) [00:29:20]*** step 18: 2806 (1466, 1340 REF) [00:29:20]*** step 19: 2723 (1426, 1297 REF) [00:29:20]*** step 20: 2642 (1406, 1236 REF) [00:29:20]*** step 21: 2565 (1384, 1181 REF) [00:29:20]*** step 22: 2490 (1364, 1126 REF) [00:29:20]*** step 23: 2418 (1344, 1074 REF) [00:29:20]*** step 24: 2349 (1322, 1027 REF) [00:29:20]*** step 25: 2283 (1302, 981 REF) [00:29:20]*** step 26: 2218 (1282, 936 REF) [00:29:20]*** step 27: 2157 (1262, 895 REF) [00:29:20]*** step 28: 2097 (1242, 855 REF) [00:29:20]*** step 29: 2040 (1222, 818 REF) [00:29:20]*** step 30: 1985 (1202, 783 REF) [00:29:20]*** step 31: 1932 (1191, 741 REF) [00:29:20]*** step 32: 1880 (1181, 699 REF) [00:29:20]*** step 33: 1831 (1171, 660 REF) [00:29:20]*** step 34: 1784 (1161, 623 REF) [00:29:20]*** step 35: 1738 (1151, 587 REF) [00:29:20]*** step 36: 1694 (1141, 553 REF) [00:29:20]*** step 37: 1652 (1131, 521 REF) [00:29:20]*** step 38: 1611 (1121, 490 REF) [00:29:20]*** step 39: 1572 (1111, 461 REF) [00:29:20]*** step 40: 1534 (1103, 431 REF) [00:29:20]*** step 41: 1497 (1093, 404 REF) [00:29:20]*** step 42: 1462 (1083, 379 REF) [00:29:20]*** step 43: 1428 (1073, 355 REF) [00:29:20]*** step 44: 1396 (1063, 333 REF) [00:29:20]*** step 45: 1365 (1053, 312 REF) [00:29:20]*** step 46: 1334 (1043, 291 REF) [00:29:20]*** step 47: 1305 (1033, 272 REF) [00:29:20]*** step 48: 1277 (1023, 254 REF) [00:29:20]*** step 49: 1250 (1013, 237 REF) [00:29:20]*** step 50: 1224 (990, 234 REF) [00:29:20]*** step 51: 1199 (980, 219 REF) [00:29:20]*** step 52: 1175 (970, 205 REF) [00:29:20]*** step 53: 1152 (960, 192 REF) [00:29:20]*** step 54: 1130 (950, 180 REF) [00:29:20]*** step 55: 1108 (940, 168 REF) [00:29:20]*** step 56: 1088 (930, 158 REF) [00:29:20]*** step 57: 1068 (920, 148 REF) [00:29:20]*** step 58: 1049 (910, 139 REF) [00:29:20]*** step 59: 1030 (900, 130 REF) [00:29:20]*** step 60: 1012 (890, 122 REF) [00:29:20]*** step 61: 995 (880, 115 REF) [00:29:20]*** step 62: 979 (870, 109 REF) [00:29:20]*** step 63: 963 (860, 103 REF) [00:29:20]*** step 64: 948 (850, 98 REF) [00:29:20]*** step 65: 933 (840, 93 REF) [00:29:20]*** step 66: 919 (830, 89 REF) [00:29:20]*** step 67: 905 (820, 85 REF) [00:29:20]*** step 68: 892 (810, 82 REF) [00:29:20]*** step 69: 879 (800, 79 REF) [00:29:20]*** step 70: 867 (790, 77 REF) [00:29:20]*** step 71: 855 (780, 75 REF) [00:29:20]*** step 72: 844 (770, 74 REF) [00:29:20]*** step 73: 833 (760, 73 REF) [00:29:20]*** step 74: 822 (750, 72 REF) [00:29:20]*** step 75: 812 (740, 72 REF) [00:29:20]*** step 76: 803 (730, 73 REF) [00:29:20]*** step 77: 793 (720, 73 REF) [00:29:20]*** step 78: 784 (710, 74 REF) [00:29:20]*** step 79: 776 (700, 76 REF) [00:29:20]*** step 80: 767 (690, 77 REF) [00:29:20]*** step 81: 759 (680, 79 REF) [00:29:20]*** step 82: 751 (670, 81 REF) [00:29:20]*** step 83: 744 (660, 84 REF) [00:29:20]*** step 84: 737 (650, 87 REF) [00:29:20]*** step 85: 730 (640, 90 REF) [00:29:20]*** step 86: 723 (630, 93 REF) [00:29:20]*** step 87: 717 (620, 97 REF) [00:29:20]*** step 88: 710 (610, 100 REF) [00:29:20]*** step 89: 705 (600, 105 REF) [00:29:20]*** step 90: 699 [00:29:20]*** step 91: 693 [00:29:20]*** step 92: 688 [00:29:20]*** step 93: 683 [00:29:20]*** step 94: 678 [00:29:20]*** step 95: 673 [00:29:20]*** step 96: 669 [00:29:20]*** step 97: 664 [00:29:20]*** step 98: 660 [00:29:20]*** step 99: 656 [00:29:20]*** step 100: 652 [00:29:20]*** step 101: 648 [00:29:20]*** step 102: 644 [00:29:20]*** step 103: 641 [00:29:20]*** step 104: 638 [00:29:20]*** step 105: 634 [00:29:20]*** step 106: 631 [00:29:20]*** step 107: 628 [00:29:20]*** step 108: 625 [00:29:20]*** step 109: 622 [00:29:20]*** step 110: 620 [00:29:20]*** step 111: 617 [00:29:20]*** step 112: 615 [00:29:20]*** step 113: 612 [00:29:20]*** step 114: 610 [00:29:20]*** step 115: 608 [00:29:20]*** step 116: 605 [00:29:20]*** step 117: 603 [00:29:20]*** step 118: 601 [00:29:20]*** step 119: 599 [00:29:20]*** printer: Printer HW initialized [00:29:20]*** initSamCard finished [00:29:20]*** RTC: 24709558+1685028728=1709738286 [00:29:20]*** BPK Status Register BPK_RDY = 0x0 [00:29:20]*** SEN State Register SEN_STATE = 0x200ff [00:29:20]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:29:20]*** Analog Control Register 0 SEN_ANA0 = 0x33570624 [00:29:20]*** Is cutter blocked? [00:29:21]MH_GetMetrics [00:29:21]Write to MH i2c: 00 00 00 03 00 02 [00:29:21]Write i2c OK [00:29:21]MH_I2C_Read... [00:29:21]Read from MH i2c: 00 [00:29:21]MH_I2C_Read... [00:29:21]Read from MH i2c: 00 29 00 [00:29:21]MH_I2C_Read... [00:29:21]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 10 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 B6 [00:29:21]Are we in boot? [00:29:21]We are not in boot now [00:29:21]Write to MH i2c: 01 00 00 04 00 04 [00:29:21]Write i2c OK [00:29:21]MH_I2C_Read... [00:29:21]Read from MH i2c: 01 [00:29:21]MH_I2C_Read... [00:29:21]Read from MH i2c: 01 07 00 [00:29:21]MH_I2C_Read... [00:29:21]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:29:21]Model is 3 [00:29:21]MH firmware is 30620 [00:29:21]MH boot firmware is 3 [00:29:21]MH_SetPrinterDots 448 [00:29:21]HeadWidthInBytes 56 [00:29:21]maxmasksize 7 [00:29:21]Write to MH i2c: D6 06 00 05 00 41 00 38 00 FF FF 57 [00:29:21]Write i2c OK [00:29:21]MH_I2C_Read... [00:29:21]Read from MH i2c: D6 [00:29:21]MH_I2C_Read... [00:29:21]Read from MH i2c: D6 01 00 [00:29:21]MH_I2C_Read... [00:29:21]Read from MH i2c: D6 01 00 05 00 00 DB [00:29:21]Write to MH i2c: D5 00 00 06 00 DA [00:29:21]Write i2c OK [00:29:21]MH_I2C_Read... [00:29:21]Read from MH i2c: D5 [00:29:21]MH_I2C_Read... [00:29:21]Read from MH i2c: D5 01 00 [00:29:21]MH_I2C_Read... [00:29:21]Read from MH i2c: D5 01 00 06 00 00 DB [00:29:21]Load OK [00:29:21]LoadDictionaryFromArray [00:29:21]Load OK [00:29:21]LoadDictionaryFromArray [00:29:21]Load OK [00:29:21]LoadDictionaryFromArray [00:29:21]Load OK [00:29:21]LoadDictionaryFromArray [00:29:21]Load OK [00:29:21]LoadDictionaryFromArray [00:29:21]Load OK [00:29:21]LoadDictionaryFromArray [00:29:21]Load OK [00:29:21]LoadDictionaryFromArray [00:29:21]Load OK [00:29:21]LoadDictionaryFromArray [00:29:21]Load OK [00:29:21]LoadDictionaryFromArray [00:29:21]Load OK [00:29:21]LoadDictionaryFromArray [00:29:21]Load OK [00:29:21]LoadDictionaryFromArray [00:29:21]Load OK [00:29:21]LoadDictionaryFromArray [00:29:21]Load OK [00:29:21]ExternCall_SetCallbacks [00:29:21]NVStorageInit [00:29:21]MH_GetDate [00:29:21]Write to MH i2c: F0 00 00 07 00 F6 [00:29:21]Write i2c OK [00:29:21]MH_I2C_Read... [00:29:21]Read from MH i2c: F0 [00:29:21]MH_I2C_Read... [00:29:21]Read from MH i2c: F0 09 00 [00:29:21]MH_I2C_Read... [00:29:21]Read from MH i2c: F0 09 00 07 00 00 2F 89 E8 65 78 7F 6F 64 CE [15:18:07]Current date/time: 06.03.2024 15:18 [15:18:07]FM_Init [15:18:07]wFMConnect [15:18:07]MH_SAM_On [15:18:07]Write to MH i2c: E0 00 00 08 00 E7 [15:18:07]Write i2c OK [15:18:07]MH_I2C_Read... [15:18:07]*** iso7816_init finished! [15:18:07]*** atr: [15:18:07]*** 0F 3B D5 18 FF 81 91 FE [15:18:07]*** 1F C3 80 73 C8 21 10 0A [15:18:07]*** 00 00 00 00 00 00 00 00 [15:18:07]*** 00 00 00 00 00 00 00 00 [15:18:07]*** 00 00 00 00 00 00 00 00 [15:18:07]*** 00 00 00 00 00 00 00 00 [15:18:07]*** 00 00 00 00 00 00 00 00 [15:18:07]*** 00 00 00 00 00 00 00 00 [15:18:07]Read from MH i2c: E0 [15:18:07]MH_I2C_Read... [15:18:07]Read from MH i2c: E0 10 00 [15:18:07]MH_I2C_Read... [15:18:07]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 [15:18:07]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [15:18:07]wFMCommunicate request_size=10 [15:18:07]MH_SAM_APDU [15:18:07]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [15:18:07]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [15:18:07]Write i2c OK [15:18:07]MH_I2C_Read... [15:18:07]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [15:18:07]Read from MH i2c: E2 [15:18:07]MH_I2C_Read... [15:18:07]Read from MH i2c: E2 03 00 [15:18:07]MH_I2C_Read... [15:18:07]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [15:18:07]RAPDU: 90 00 [15:18:07]wFMCommunicate OK [15:18:07]wFMCommunicate request_size=4 [15:18:07]MH_SAM_APDU [15:18:07]CAPDU: 80 11 00 00 [15:18:07]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [15:18:07]Write i2c OK [15:18:07]MH_I2C_Read... [15:18:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:18:07]Read from MH i2c: E2 [15:18:07]MH_I2C_Read... [15:18:07]Read from MH i2c: E2 17 00 [15:18:07]MH_I2C_Read... [15:18:07]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 D9 [15:18:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [15:18:07]wFMCommunicate OK [15:18:07]Detected FM SN is 0000000000871783 [15:18:07]Stored FM SN is 0000000000871783 [15:18:07]wFMCommunicate request_size=9 [15:18:07]MH_SAM_APDU [15:18:07]CAPDU: 80 16 00 00 04 FA 26 00 00 [15:18:07]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 FA 26 00 00 00 00 B2 [15:18:07]Write i2c OK [15:18:07]MH_I2C_Read... [15:18:07]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [15:18:07]Read from MH i2c: E2 [15:18:07]MH_I2C_Read... [15:18:07]Read from MH i2c: E2 03 00 [15:18:07]MH_I2C_Read... [15:18:07]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [15:18:07]RAPDU: 90 00 [15:18:07]wFMCommunicate OK [15:18:07]FM PIN OK [15:18:07]wFMCommunicate request_size=8 [15:18:07]MH_SAM_APDU [15:18:07]CAPDU: 80 14 04 00 03 02 00 01 [15:18:07]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [15:18:07]Write i2c OK [15:18:07]MH_I2C_Read... [15:18:07]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [15:18:07]Read from MH i2c: E2 [15:18:07]MH_I2C_Read... [15:18:07]Read from MH i2c: E2 03 00 [15:18:07]MH_I2C_Read... [15:18:07]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [15:18:07]RAPDU: 90 00 [15:18:07]wFMCommunicate OK [15:18:07]wFMCommunicate request_size=13 [15:18:07]MH_SAM_APDU [15:18:07]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [15:18:07]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 [15:18:07]Write i2c OK [15:18:07]MH_I2C_Read... [15:18:07]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [15:18:07]Read from MH i2c: E2 [15:18:07]MH_I2C_Read... [15:18:07]Read from MH i2c: E2 03 00 [15:18:07]MH_I2C_Read... [15:18:07]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [15:18:07]RAPDU: 90 00 [15:18:07]wFMCommunicate OK [15:18:07]wFMCommunicate request_size=4 [15:18:07]MH_SAM_APDU [15:18:07]CAPDU: 80 11 00 00 [15:18:07]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [15:18:07]Write i2c OK [15:18:07]MH_I2C_Read... [15:18:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:18:07]Read from MH i2c: E2 [15:18:07]MH_I2C_Read... [15:18:07]Read from MH i2c: E2 17 00 [15:18:07]MH_I2C_Read... [15:18:07]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 DD [15:18:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 38 33 90 00 [15:18:07]wFMCommunicate OK [15:18:07]DocumentArchiveInit [15:18:07]Start Httpd... [15:18:07]Httpd thread 3067473252 created [15:18:07]Write to MH i2c: 01 00 00 0F 00 0F [15:18:07]Write i2c OK [15:18:07]MH_I2C_Read... [15:18:07]Read from MH i2c: 01 [15:18:07]MH_I2C_Read... [15:18:07]Read from MH i2c: 01 07 00 [15:18:07]MH_I2C_Read... [15:18:07]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [15:18:07]MH Int Process started [15:18:07]Allocated Socket 8 [15:18:07]Bind OK [15:18:07]Listen OK [15:18:07]httpd running on port 8080 [15:18:07]Waiting for new connection... [15:18:07]OFD Sender: No OFD packet to send [15:18:12]OFD Sender: No OFD packet to send [15:18:17]OFD Sender: No OFD packet to send [15:18:22]OFD Sender: No OFD packet to send [15:18:27]OFD Sender: No OFD packet to send [15:18:32]OFD Sender: No OFD packet to send [15:18:37]OFD Sender: No OFD packet to send [15:18:42]OFD Sender: No OFD packet to send [15:18:47]OFD Sender: No OFD packet to send [15:18:52]OFD Sender: No OFD packet to send [15:18:57]OFD Sender: No OFD packet to send [15:19:02]OFD Sender: No OFD packet to send [15:19:07]OFD Sender: No OFD packet to send [15:19:12]OFD Sender: No OFD packet to send [15:19:17]OFD Sender: No OFD packet to send [15:19:22]OFD Sender: No OFD packet to send [15:19:27]OFD Sender: No OFD packet to send [15:19:32]OFD Sender: No OFD packet to send [15:19:37]OFD Sender: No OFD packet to send [15:19:42]OFD Sender: No OFD packet to send [15:19:47]OFD Sender: No OFD packet to send [15:19:52]OFD Sender: No OFD packet to send [15:19:57]OFD Sender: No OFD packet to send [15:20:02]OFD Sender: No OFD packet to send [15:20:07]OFD Sender: No OFD packet to send [15:20:12]OFD Sender: No OFD packet to send [15:20:17]OFD Sender: No OFD packet to send [15:20:22]OFD Sender: No OFD packet to send [15:20:27]OFD Sender: No OFD packet to send [15:20:32]OFD Sender: No OFD packet to send [15:20:37]OFD Sender: No OFD packet to send [15:20:42]OFD Sender: No OFD packet to send [15:20:47]OFD Sender: No OFD packet to send [15:20:52]OFD Sender: No OFD packet to send [15:20:57]OFD Sender: No OFD packet to send [15:21:02]OFD Sender: No OFD packet to send [15:21:07]OFD Sender: No OFD packet to send [15:21:12]OFD Sender: No OFD packet to send [15:21:17]OFD Sender: No OFD packet to send [15:21:22]OFD Sender: No OFD packet to send [15:21:27]OFD Sender: No OFD packet to send [15:21:32]OFD Sender: No OFD packet to send [15:21:37]OFD Sender: No OFD packet to send [15:21:42]OFD Sender: No OFD packet to send [15:21:47]OFD Sender: No OFD packet to send [15:21:52]OFD Sender: No OFD packet to send [15:21:57]OFD Sender: No OFD packet to send [15:22:02]OFD Sender: No OFD packet to send [15:22:07]OFD Sender: No OFD packet to send [15:22:12]OFD Sender: No OFD packet to send [15:22:17]OFD Sender: No OFD packet to send [15:22:22]OFD Sender: No OFD packet to send [15:22:27]OFD Sender: No OFD packet to send [15:22:32]OFD Sender: No OFD packet to send [15:22:37]OFD Sender: No OFD packet to send [15:22:42]OFD Sender: No OFD packet to send [15:22:47]OFD Sender: No OFD packet to send [15:22:52]OFD Sender: No OFD packet to send [15:22:57]OFD Sender: No OFD packet to send [15:23:02]OFD Sender: No OFD packet to send [15:23:07]OFD Sender: No OFD packet to send [15:23:12]OFD Sender: No OFD packet to send [15:23:17]OFD Sender: No OFD packet to send [15:23:22]OFD Sender: No OFD packet to send [15:23:27]OFD Sender: No OFD packet to send [15:23:32]OFD Sender: No OFD packet to send [15:23:37]OFD Sender: No OFD packet to send [15:23:42]OFD Sender: No OFD packet to send [15:23:47]OFD Sender: No OFD packet to send [15:23:52]OFD Sender: No OFD packet to send [15:23:57]OFD Sender: No OFD packet to send [15:24:02]OFD Sender: No OFD packet to send [15:24:07]OFD Sender: No OFD packet to send [15:24:12]OFD Sender: No OFD packet to send [15:24:17]OFD Sender: No OFD packet to send [15:24:22]OFD Sender: No OFD packet to send [15:24:27]OFD Sender: No OFD packet to send [15:24:32]OFD Sender: No OFD packet to send [15:24:37]OFD Sender: No OFD packet to send [15:24:42]OFD Sender: No OFD packet to send [15:24:47]OFD Sender: No OFD packet to send [15:24:52]OFD Sender: No OFD packet to send [15:24:57]OFD Sender: No OFD packet to send [15:25:02]OFD Sender: No OFD packet to send [15:25:07]OFD Sender: No OFD packet to send [15:25:12]OFD Sender: No OFD packet to send [15:25:17]OFD Sender: No OFD packet to send [15:25:22]OFD Sender: No OFD packet to send [15:25:27]OFD Sender: No OFD packet to send [15:25:32]OFD Sender: No OFD packet to send [15:25:37]OFD Sender: No OFD packet to send [15:25:42]OFD Sender: No OFD packet to send [15:25:47]OFD Sender: No OFD packet to send [15:25:52]OFD Sender: No OFD packet to send [15:25:57]OFD Sender: No OFD packet to send [15:26:02]OFD Sender: No OFD packet to send [15:26:07]OFD Sender: No OFD packet to send [15:26:12]OFD Sender: No OFD packet to send [15:26:17]OFD Sender: No OFD packet to send [15:26:22]OFD Sender: No OFD packet to send [15:26:27]OFD Sender: No OFD packet to send [15:26:32]OFD Sender: No OFD packet to send [15:26:37]OFD Sender: No OFD packet to send [15:26:42]OFD Sender: No OFD packet to send [15:26:47]OFD Sender: No OFD packet to send [15:26:52]OFD Sender: No OFD packet to send [15:26:57]OFD Sender: No OFD packet to send [15:27:02]OFD Sender: No OFD packet to send [15:27:07]OFD Sender: No OFD packet to send [15:27:12]OFD Sender: No OFD packet to send [15:27:17]OFD Sender: No OFD packet to send [15:27:22]OFD Sender: No OFD packet to send [15:27:27]OFD Sender: No OFD packet to send [15:27:32]OFD Sender: No OFD packet to send [15:27:37]OFD Sender: No OFD packet to send [15:27:42]OFD Sender: No OFD packet to send [15:27:47]OFD Sender: No OFD packet to send [15:27:52]OFD Sender: No OFD packet to send [15:27:57]OFD Sender: No OFD packet to send [15:28:02]OFD Sender: No OFD packet to send [15:28:07]OFD Sender: No OFD packet to send [15:28:12]OFD Sender: No OFD packet to send [15:28:17]OFD Sender: No OFD packet to send [15:28:22]OFD Sender: No OFD packet to send [15:28:27]OFD Sender: No OFD packet to send [15:28:32]OFD Sender: No OFD packet to send [15:28:37]OFD Sender: No OFD packet to send [15:28:42]OFD Sender: No OFD packet to send [15:28:47]OFD Sender: No OFD packet to send [15:28:52]OFD Sender: No OFD packet to send [15:28:57]OFD Sender: No OFD packet to send [15:29:02]OFD Sender: No OFD packet to send [15:29:07]OFD Sender: No OFD packet to send [15:29:12]OFD Sender: No OFD packet to send [15:29:17]OFD Sender: No OFD packet to send [15:29:22]OFD Sender: No OFD packet to send [15:29:27]OFD Sender: No OFD packet to send [15:29:32]OFD Sender: No OFD packet to send [15:29:37]OFD Sender: No OFD packet to send [15:29:42]OFD Sender: No OFD packet to send [15:29:47]OFD Sender: No OFD packet to send [15:29:52]OFD Sender: No OFD packet to send [15:29:57]OFD Sender: No OFD packet to send [15:30:02]OFD Sender: No OFD packet to send [15:30:07]OFD Sender: No OFD packet to send [15:30:12]OFD Sender: No OFD packet to send [15:30:17]OFD Sender: No OFD packet to send [15:30:22]OFD Sender: No OFD packet to send [15:30:27]OFD Sender: No OFD packet to send [15:30:32]OFD Sender: No OFD packet to send [15:30:37]OFD Sender: No OFD packet to send [15:30:42]OFD Sender: No OFD packet to send [15:30:47]OFD Sender: No OFD packet to send [15:30:52]OFD Sender: No OFD packet to send