[03:02:47]OFD Sender: No OFD packet to send [03:02:52]OFD Sender: No OFD packet to send [03:02:57]OFD Sender: No OFD packet to send [03:03:02]OFD Sender: No OFD packet to send [03:03:07]OFD Sender: No OFD packet to send [03:03:12]OFD Sender: No OFD packet to send [03:03:17]OFD Sender: No OFD packet to send [03:03:22]OFD Sender: No OFD packet to send [03:03:27]OFD Sender: No OFD packet to send [03:03:32]OFD Sender: No OFD packet to send [03:12:06]ConnectInit Can't connect to host [03:12:07]OFD Sender: No OFD packet to send [03:12:12]OFD Sender: No OFD packet to send [03:12:17]OFD Sender: No OFD packet to send [03:12:22]OFD Sender: No OFD packet to send [03:12:27]OFD Sender: No OFD packet to send [03:12:32]OFD Sender: No OFD packet to send [03:12:37]OFD Sender: No OFD packet to send [03:12:42]OFD Sender: No OFD packet to send [03:12:47]OFD Sender: No OFD packet to send [03:12:52]OFD Sender: No OFD packet to send [03:12:57]OFD Sender: No OFD packet to send [03:13:02]OFD Sender: No OFD packet to send [03:13:07]OFD Sender: No OFD packet to send [03:13:12]OFD Sender: No OFD packet to send [03:13:17]OFD Sender: No OFD packet to send [03:13:22]OFD Sender: No OFD packet to send [03:13:27]OFD Sender: No OFD packet to send [03:13:32]OFD Sender: No OFD packet to send [03:13:37]OFD Sender: No OFD packet to send [03:13:42]OFD Sender: No OFD packet to send [03:13:47]OFD Sender: No OFD packet to send [03:13:52]OFD Sender: No OFD packet to send [03:13:57]OFD Sender: No OFD packet to send [03:14:02]OFD Sender: No OFD packet to send [03:14:07]OFD Sender: No OFD packet to send [03:14:12]OFD Sender: No OFD packet to send [03:14:17]OFD Sender: No OFD packet to send [03:14:22]OFD Sender: No OFD packet to send [03:14:27]OFD Sender: No OFD packet to send [03:14:33]OFD Sender: No OFD packet to send [03:14:38]OFD Sender: No OFD packet to send [03:14:43]OFD Sender: No OFD packet to send [03:14:48]OFD Sender: No OFD packet to send [03:14:53]OFD Sender: No OFD packet to send [03:14:58]OFD Sender: No OFD packet to send [03:15:03]OFD Sender: No OFD packet to send [03:15:08]OFD Sender: No OFD packet to send [03:15:13]OFD Sender: No OFD packet to send [03:15:18]OFD Sender: No OFD packet to send [03:15:23]OFD Sender: No OFD packet to send [03:15:28]OFD Sender: No OFD packet to send [03:15:33]OFD Sender: No OFD packet to send [03:15:38]OFD Sender: No OFD packet to send [03:15:43]OFD Sender: No OFD packet to send [03:15:48]OFD Sender: No OFD packet to send [03:15:53]OFD Sender: No OFD packet to send [03:15:58]OFD Sender: No OFD packet to send [03:16:03]OFD Sender: No OFD packet to send [03:16:08]OFD Sender: No OFD packet to send [03:16:13]OFD Sender: No OFD packet to send [03:16:18]OFD Sender: No OFD packet to send [03:16:23]OFD Sender: No OFD packet to send [03:16:28]OFD Sender: No OFD packet to send [03:16:33]OFD Sender: No OFD packet to send [03:16:38]OFD Sender: No OFD packet to send [03:16:43]OFD Sender: No OFD packet to send [03:16:48]OFD Sender: No OFD packet to send [03:16:53]OFD Sender: No OFD packet to send [03:16:58]OFD Sender: No OFD packet to send [03:17:03]OFD Sender: No OFD packet to send [03:17:08]OFD Sender: No OFD packet to send [03:17:13]OFD Sender: No OFD packet to send [03:17:18]OFD Sender: No OFD packet to send [03:17:23]OFD Sender: No OFD packet to send [03:17:28]OFD Sender: No OFD packet to send [03:17:33]OFD Sender: No OFD packet to send [03:17:38]OFD Sender: No OFD packet to send [03:17:43]OFD Sender: No OFD packet to send [03:17:48]OFD Sender: No OFD packet to send [03:17:53]OFD Sender: No OFD packet to send [03:17:58]OFD Sender: No OFD packet to send [03:18:03]OFD Sender: No OFD packet to send [03:18:08]OFD Sender: No OFD packet to send [03:18:13]OFD Sender: No OFD packet to send [03:18:18]OFD Sender: No OFD packet to send [03:18:23]OFD Sender: No OFD packet to send [03:18:28]OFD Sender: No OFD packet to send [03:18:33]OFD Sender: No OFD packet to send [03:18:38]OFD Sender: No OFD packet to send [03:18:43]OFD Sender: No OFD packet to send [03:18:48]OFD Sender: No OFD packet to send [03:18:53]OFD Sender: No OFD packet to send [03:18:58]OFD Sender: No OFD packet to send [03:19:03]OFD Sender: No OFD packet to send [03:19:08]OFD Sender: No OFD packet to send [03:19:13]OFD Sender: No OFD packet to send [03:19:18]OFD Sender: No OFD packet to send [03:19:23]OFD Sender: No OFD packet to send [03:19:28]OFD Sender: No OFD packet to send [03:19:33]OFD Sender: No OFD packet to send [03:19:38]OFD Sender: No OFD packet to send [03:19:43]OFD Sender: No OFD packet to send [03:19:48]OFD Sender: No OFD packet to send [03:19:53]OFD Sender: No OFD packet to send [03:19:58]OFD Sender: No OFD packet to send [03:20:03]OFD Sender: No OFD packet to send [03:20:08]OFD Sender: No OFD packet to send [03:20:13]OFD Sender: No OFD packet to send [03:20:18]OFD Sender: No OFD packet to send [03:20:23]OFD Sender: No OFD packet to send [03:20:28]OFD Sender: No OFD packet to send [03:20:33]OFD Sender: No OFD packet to send [03:20:38]OFD Sender: No OFD packet to send [03:20:43]OFD Sender: No OFD packet to send [03:20:48]OFD Sender: No OFD packet to send [03:20:53]OFD Sender: No OFD packet to send [03:20:58]OFD Sender: No OFD packet to send [03:21:03]OFD Sender: No OFD packet to send [03:21:08]OFD Sender: No OFD packet to send [03:21:13]OFD Sender: No OFD packet to send [03:21:18]OFD Sender: No OFD packet to send [03:21:23]OFD Sender: No OFD packet to send [03:21:28]OFD Sender: No OFD packet to send [03:21:33]OFD Sender: No OFD packet to send [03:21:38]OFD Sender: No OFD packet to send [03:21:43]OFD Sender: No OFD packet to send [03:21:48]OFD Sender: No OFD packet to send [03:21:53]OFD Sender: No OFD packet to send [03:21:58]OFD Sender: No OFD packet to send [03:22:03]OFD Sender: No OFD packet to send [03:22:08]OFD Sender: No OFD packet to send [03:22:13]OFD Sender: No OFD packet to send [03:22:18]OFD Sender: No OFD packet to send [03:22:23]OFD Sender: No OFD packet to send [03:22:28]OFD Sender: No OFD packet to send [03:22:33]OFD Sender: No OFD packet to send [03:22:38]OFD Sender: No OFD packet to send [03:22:43]OFD Sender: No OFD packet to send [03:22:48]OFD Sender: No OFD packet to send [03:22:53]OFD Sender: No OFD packet to send [03:22:58]OFD Sender: No OFD packet to send [03:23:03]OFD Sender: No OFD packet to send [03:23:08]OFD Sender: No OFD packet to send [03:23:13]OFD Sender: No OFD packet to send [03:23:18]OFD Sender: No OFD packet to send [03:23:23]OFD Sender: No OFD packet to send [03:23:28]OFD Sender: No OFD packet to send [03:23:33]OFD Sender: No OFD packet to send [03:23:38]OFD Sender: No OFD packet to send [03:23:43]OFD Sender: No OFD packet to send [03:23:48]OFD Sender: No OFD packet to send [03:23:53]OFD Sender: No OFD packet to send [03:23:58]OFD Sender: No OFD packet to send [03:24:03]OFD Sender: No OFD packet to send [03:24:08]OFD Sender: No OFD packet to send [03:24:13]OFD Sender: No OFD packet to send [03:24:18]OFD Sender: No OFD packet to send [03:24:23]OFD Sender: No OFD packet to send [03:24:28]OFD Sender: No OFD packet to send [03:24:33]OFD Sender: No OFD packet to send [03:24:38]OFD Sender: No OFD packet to send [03:24:43]OFD Sender: No OFD packet to send [03:24:48]OFD Sender: No OFD packet to send [03:24:53]OFD Sender: No OFD packet to send [03:24:58]OFD Sender: No OFD packet to send [03:25:03]OFD Sender: No OFD packet to send [03:25:08]OFD Sender: No OFD packet to send [03:25:13]OFD Sender: No OFD packet to send [03:25:18]OFD Sender: No OFD packet to send [03:25:23]OFD Sender: No OFD packet to send [03:25:28]OFD Sender: No OFD packet to send [03:25:33]OFD Sender: No OFD packet to send [03:25:38]OFD Sender: No OFD packet to send [03:25:43]OFD Sender: No OFD packet to send [03:25:48]OFD Sender: No OFD packet to send [03:25:53]OFD Sender: No OFD packet to send [03:25:58]OFD Sender: No OFD packet to send [03:26:03]OFD Sender: No OFD packet to send [03:26:08]OFD Sender: No OFD packet to send [03:26:13]OFD Sender: No OFD packet to send [03:26:18]OFD Sender: No OFD packet to send [03:26:23]OFD Sender: No OFD packet to send [03:26:28]OFD Sender: No OFD packet to send [03:26:33]OFD Sender: No OFD packet to send [03:26:38]OFD Sender: No OFD packet to send [03:26:43]OFD Sender: No OFD packet to send [03:26:48]OFD Sender: No OFD packet to send [03:26:53]OFD Sender: No OFD packet to send [03:26:58]OFD Sender: No OFD packet to send [03:27:03]OFD Sender: No OFD packet to send [03:27:08]OFD Sender: No OFD packet to send [03:27:13]OFD Sender: No OFD packet to send [03:27:18]OFD Sender: No OFD packet to send [03:27:23]OFD Sender: No OFD packet to send [03:27:28]OFD Sender: No OFD packet to send [03:27:33]OFD Sender: No OFD packet to send [03:27:38]OFD Sender: No OFD packet to send [03:27:43]OFD Sender: No OFD packet to send [03:27:48]OFD Sender: No OFD packet to send [03:27:53]OFD Sender: No OFD packet to send [03:27:58]OFD Sender: No OFD packet to send [03:28:03]OFD Sender: No OFD packet to send [03:28:08]OFD Sender: No OFD packet to send [03:28:13]OFD Sender: No OFD packet to send [03:28:18]OFD Sender: No OFD packet to send [03:28:23]OFD Sender: No OFD packet to send [03:28:28]OFD Sender: No OFD packet to send [03:28:33]OFD Sender: No OFD packet to send [03:28:38]OFD Sender: No OFD packet to send [03:28:43]OFD Sender: No OFD packet to send [03:28:48]OFD Sender: No OFD packet to send [03:28:53]OFD Sender: No OFD packet to send [03:28:58]OFD Sender: No OFD packet to send [03:29:03]OFD Sender: No OFD packet to send [03:29:08]OFD Sender: No OFD packet to send [03:29:13]OFD Sender: No OFD packet to send [03:29:18]OFD Sender: No OFD packet to send [03:29:23]OFD Sender: No OFD packet to send [03:29:28]OFD Sender: No OFD packet to send [03:29:33]OFD Sender: No OFD packet to send [03:29:38]OFD Sender: No OFD packet to send [03:29:43]OFD Sender: No OFD packet to send [03:29:48]OFD Sender: No OFD packet to send [03:29:53]OFD Sender: No OFD packet to send [03:29:58]OFD Sender: No OFD packet to send [03:30:03]OFD Sender: No OFD packet to send [03:30:08]OFD Sender: No OFD packet to send [03:30:13]OFD Sender: No OFD packet to send [03:30:18]OFD Sender: No OFD packet to send [03:30:23]OFD Sender: No OFD packet to send [03:30:28]OFD Sender: No OFD packet to send [03:30:33]OFD Sender: No OFD packet to send [03:30:38]OFD Sender: No OFD packet to send [03:30:43]OFD Sender: No OFD packet to send [03:30:48]OFD Sender: No OFD packet to send [03:30:53]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:35:21]ConnectInit Can't connect to host [03:35:24]OFD Sender: No OFD packet to send [03:35:29]OFD Sender: No OFD packet to send [03:35:34]OFD Sender: No OFD packet to send [03:35:39]OFD Sender: No OFD packet to send [03:35:44]OFD Sender: No OFD packet to send [03:35:49]OFD Sender: No OFD packet to send [03:35:54]OFD Sender: No OFD packet to send [03:35:59]OFD Sender: No OFD packet to send [03:36:04]OFD Sender: No OFD packet to send [03:36:09]OFD Sender: No OFD packet to send [03:36:14]OFD Sender: No OFD packet to send [03:36:19]OFD Sender: No OFD packet to send [03:36:24]OFD Sender: No OFD packet to send [03:36:29]OFD Sender: No OFD packet to send [03:36:34]OFD Sender: No OFD packet to send [03:36:39]OFD Sender: No OFD packet to send [03:36:44]OFD Sender: No OFD packet to send [03:36:49]OFD Sender: No OFD packet to send [03:36:54]OFD Sender: No OFD packet to send [03:36:59]OFD Sender: No OFD packet to send [03:37:04]OFD Sender: No OFD packet to send [03:37:09]OFD Sender: No OFD packet to send [03:37:14]OFD Sender: No OFD packet to send [03:37:19]OFD Sender: No OFD packet to send [03:37:24]OFD Sender: No OFD packet to send [03:37:29]OFD Sender: No OFD packet to send [03:37:34]OFD Sender: No OFD packet to send [03:37:39]OFD Sender: No OFD packet to send [03:37:44]OFD Sender: No OFD packet to send [03:37:49]OFD Sender: No OFD packet to send [03:37:54]OFD Sender: No OFD packet to send [03:37:59]OFD Sender: No OFD packet to send [03:38:04]OFD Sender: No OFD packet to send [03:38:09]OFD Sender: No OFD packet to send [03:38:14]OFD Sender: No OFD packet to send [03:38:19]OFD Sender: No OFD packet to send [03:38:24]OFD Sender: No OFD packet to send [03:38:29]OFD Sender: No OFD packet to send [03:38:34]OFD Sender: No OFD packet to send [03:38:39]OFD Sender: No OFD packet to send [03:38:44]OFD Sender: No OFD packet to send [03:38:49]OFD Sender: No OFD packet to send [03:38:54]OFD Sender: No OFD packet to send [03:38:59]OFD Sender: No OFD packet to send [03:39:04]OFD Sender: No OFD packet to send [03:39:09]OFD Sender: No OFD packet to send [03:39:14]OFD Sender: No OFD packet to send [03:39:19]OFD Sender: No OFD packet to send [03:39:24]OFD Sender: No OFD packet to send [03:39:29]OFD Sender: No OFD packet to send [03:39:34]OFD Sender: No OFD packet to send [03:39:39]OFD Sender: No OFD packet to send [03:39:44]OFD Sender: No OFD packet to send [03:39:49]OFD Sender: No OFD packet to send [03:39:54]OFD Sender: No OFD packet to send [03:39:59]OFD Sender: No OFD packet to send [03:40:04]OFD Sender: No OFD packet to send [03:40:09]OFD Sender: No OFD packet to send [03:40:14]OFD Sender: No OFD packet to send [03:40:19]OFD Sender: No OFD packet to send [03:40:24]OFD Sender: No OFD packet to send [03:40:29]OFD Sender: No OFD packet to send [03:40:34]OFD Sender: No OFD packet to send [03:40:39]OFD Sender: No OFD packet to send [03:40:44]OFD Sender: No OFD packet to send [03:40:49]OFD Sender: No OFD packet to send [03:40:54]OFD Sender: No OFD packet to send [03:40:59]OFD Sender: No OFD packet to send [03:41:04]OFD Sender: No OFD packet to send [03:41:09]OFD Sender: No OFD packet to send [03:41:14]OFD Sender: No OFD packet to send [03:41:19]OFD Sender: No OFD packet to send [03:41:24]OFD Sender: No OFD packet to send [03:41:29]OFD Sender: No OFD packet to send [03:41:34]OFD Sender: No OFD packet to send [03:41:39]OFD Sender: No OFD packet to send [03:41:44]OFD Sender: No OFD packet to send [03:41:49]OFD Sender: No OFD packet to send [03:41:54]OFD Sender: No OFD packet to send [03:41:59]OFD Sender: No OFD packet to send [03:42:04]OFD Sender: No OFD packet to send [03:42:09]OFD Sender: No OFD packet to send [03:42:14]OFD Sender: No OFD packet to send [03:42:19]OFD Sender: No OFD packet to send [03:42:24]OFD Sender: No OFD packet to send [03:42:29]OFD Sender: No OFD packet to send [03:42:34]OFD Sender: No OFD packet to send [03:42:39]OFD Sender: No OFD packet to send [03:42:44]OFD Sender: No OFD packet to send [03:42:49]OFD Sender: No OFD packet to send [03:42:54]OFD Sender: No OFD packet to send [03:42:59]OFD Sender: No OFD packet to send [03:43:04]OFD Sender: No OFD packet to send [03:43:09]OFD Sender: No OFD packet to send [03:43:14]OFD Sender: No OFD packet to send [03:43:19]OFD Sender: No OFD packet to send [03:43:24]OFD Sender: No OFD packet to send [03:43:29]OFD Sender: No OFD packet to send [03:43:34]OFD Sender: No OFD packet to send [03:43:39]OFD Sender: No OFD packet to send [03:43:44]OFD Sender: No OFD packet to send [03:43:49]OFD Sender: No OFD packet to send [03:43:54]OFD Sender: No OFD packet to send [03:43:59]OFD Sender: No OFD packet to send [03:44:04]OFD Sender: No OFD packet to send [03:44:09]OFD Sender: No OFD packet to send [03:44:14]OFD Sender: No OFD packet to send [03:44:19]OFD Sender: No OFD packet to send [03:44:24]OFD Sender: No OFD packet to send [03:44:29]OFD Sender: No OFD packet to send [03:44:34]OFD Sender: No OFD packet to send [03:44:39]OFD Sender: No OFD packet to send [03:44:44]OFD Sender: No OFD packet to send [03:44:49]OFD Sender: No OFD packet to send [03:44:54]OFD Sender: No OFD packet to send [03:44:59]OFD Sender: No OFD packet to send [03:45:04]OFD Sender: No OFD packet to send [03:45:09]OFD Sender: No OFD packet to send [03:45:14]OFD Sender: No OFD packet to send [03:45:19]OFD Sender: No OFD packet to send [03:45:24]OFD Sender: No OFD packet to send [03:45:29]OFD Sender: No OFD packet to send [03:45:29]accept exits with 7 [03:45:29]New connection [03:45:29]New thread 3067440484 created [03:45:29]Thread 3067297124 joined [03:45:29]Waiting for new connection... [03:45:29] Sock 7.Parse request [03:45:29]Sock 7.Check first char [03:45:29]Sock 7.First char is OK [03:45:29]request: POST /json_proto HTTP/1.0 [03:45:29]Method: POST [03:45:29]URL: /json_proto [03:45:29]Method is POST - this is cgi request [03:45:29]url: /json_proto [03:45:29]query_string will be loaded in cgi processing [03:45:29]execute_cgi json_proto POST (null) [03:45:29]execute_cgi path=json_proto method=POST [03:45:29]POST find Content-Length [03:45:29]Host: 172.17.40.196:8080 [03:45:29]Content-Length: 623 [03:45:29]Content-Type: application/json [03:45:29] [03:45:29]POST finish read [03:45:29]Found Content-Length = 623 [03:45:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35060", "tax_sys" : 0, "items" : [ { "code": "46177872", "name": "\u0416\u0435\u0432 Orbit \u043F\u043E\u0434\u0443\u0448\u043A\u0438 Citrus", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:45:29]execute_script... [03:45: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)35060", "tax_sys" : 0, "items" : [ { "code": "46177872", "name": "\u0416\u0435\u0432 Orbit \u043F\u043E\u0434\u0443\u0448\u043A\u0438 Citrus", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:45:29]POST & json_proto [03:45:29]process_json_proto [03:45:29]json parsed OK: [03:45:29]protocol is kg_v1.0 [03:45:29]action value=close_receipt [03:45:29]process_action close_receipt [03:45:29]cmd_close_receipt [03:45:29]MH_GetDate [03:45:29]Write to MH i2c: F0 00 00 4A 18 51 [03:45:29]Write i2c OK [03:45:29]MH_I2C_Read... [03:45:29]Read from MH i2c: F0 [03:45:29]MH_I2C_Read... [03:45:29]Read from MH i2c: F0 09 00 [03:45:29]MH_I2C_Read... [03:45:29]Read from MH i2c: F0 09 00 4A 18 00 DF 08 1F 67 5B 68 A1 66 91 [03:45:29]GetLastDocTimeStamp 1730080601 [03:45:29]current date 1730087135 [03:45:29]FM_GetShiftState [03:45:29]SAM_PROTO_GetShiftState [03:45:29]wFMCommunicate request_size=4 [03:45:29]MH_SAM_APDU [03:45:29]CAPDU: 80 13 01 00 [03:45:29]Write to MH i2c: E2 08 00 4B 18 80 13 01 00 00 00 00 00 E0 [03:45:29]Write i2c OK [03:45:29]MH_I2C_Read... [03:45:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:45:29]Read from MH i2c: E2 [03:45:29]MH_I2C_Read... [03:45:29]Read from MH i2c: E2 0E 00 [03:45:29]MH_I2C_Read... [03:45:29]Read from MH i2c: E2 0E 00 4B 18 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 62 [03:45:29]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [03:45:29]wFMCommunicate OK [03:45:29]SAM_PROTO_GetShiftState done [03:45:29]FM_GetShiftState done [03:45:29]opened in 1730073884 [03:45:29]opened+sec_in_day 1730160284 [03:45:29]quantity*price = 4000 [03:45:29]sum+1 = 4001 [03:45:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 6 28.10.2024 03:45 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37763 ФПД: 271921198413863 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T034535&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37763&fm=271921198413863&tin=02508201610067®Number=0000000000091684&sum=4000 0 [03:45:30]StoreToDocumentArchive [03:45:30]shift 551 fd 37763 [03:45:30]save to /storage/0551/doc_00037763 [03:45:30]save last doc name /storage/0551/doc_00037763 to /storage/kkm_last_doc_name [03:45:30]save OK [03:45:30]Clear old archive folders... [03:45:31]ProcessDocumentItem done err = 0, tmpTLVsize=271 [03:45:31]tlvbuf is B6E1FB30 [03:45:31]SAM_PROTO_ClearQueue [03:45:31]wFMCommunicate request_size=4 [03:45:31]MH_SAM_APDU [03:45:31]CAPDU: 80 09 00 00 [03:45:31]Write to MH i2c: E2 08 00 58 18 80 09 00 00 00 00 00 00 E2 [03:45:31]Write i2c OK [03:45:31]MH_I2C_Read... [03:45:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:45:31]Read from MH i2c: E2 [03:45:31]MH_I2C_Read... [03:45:31]Read from MH i2c: E2 03 00 [03:45:31]MH_I2C_Read... [03:45:31]Read from MH i2c: E2 03 00 58 18 00 90 00 E4 [03:45:31]RAPDU: 90 00 [03:45:31]wFMCommunicate OK [03:45:31]SAM_PROTO_ClearQueue done [03:45:31]KKMCreateOFDPacket [03:45:31]OFDProtocolAddRootSTLVToBuf [03:45:31]FM_MakeSignedData [03:45:31]FM_MakeSignedData [03:45:31]SAM_PROTO_SignData [03:45:31]wFMCommunicate request_size=4 [03:45:31]MH_SAM_APDU [03:45:31]CAPDU: 80 0D 01 02 [03:45:31]Write to MH i2c: E2 08 00 59 18 80 0D 01 02 00 00 00 00 EA [03:45:31]Write i2c OK [03:45:31]MH_I2C_Read... [03:45:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:45:31]Read from MH i2c: E2 [03:45:31]MH_I2C_Read... [03:45:31]Read from MH i2c: E2 03 00 [03:45:31]MH_I2C_Read... [03:45:31]Read from MH i2c: E2 03 00 59 18 00 90 00 E5 [03:45:31]RAPDU: 90 00 [03:45:31]wFMCommunicate OK [03:45:31]wFMCommunicate request_size=255 [03:45:31]MH_SAM_APDU [03:45:31]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 75 73 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 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 DF 08 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 [03:45:31]Write to MH i2c: E2 02 01 5A 18 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 75 73 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 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 DF 08 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 60 [03:45:31]Write i2c OK [03:45:31]MH_I2C_Read... [03:45:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:45:31]Read from MH i2c: E2 [03:45:31]MH_I2C_Read... [03:45:31]Read from MH i2c: E2 03 00 [03:45:31]MH_I2C_Read... [03:45:31]Read from MH i2c: E2 03 00 5A 18 00 90 00 E6 [03:45:31]RAPDU: 90 00 [03:45:31]wFMCommunicate OK [03:45:31]wFMCommunicate request_size=30 [03:45:31]MH_SAM_APDU [03:45:31]CAPDU: 80 0D 02 02 19 30 38 37 31 38 34 31 10 04 04 00 83 93 00 00 35 04 06 00 F7 4F 96 70 38 27 [03:45:31]Write to MH i2c: E2 21 00 5B 18 80 0D 02 02 19 00 30 38 37 31 38 34 31 10 04 04 00 83 93 00 00 35 04 06 00 F7 4F 96 70 38 27 00 00 A4 [03:45:31]Write i2c OK [03:45:31]MH_I2C_Read... [03:45:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:45:31]Read from MH i2c: E2 [03:45:31]MH_I2C_Read... [03:45:31]Read from MH i2c: E2 03 00 [03:45:31]MH_I2C_Read... [03:45:31]Read from MH i2c: E2 03 00 5B 18 00 90 00 E7 [03:45:31]RAPDU: 90 00 [03:45:31]wFMCommunicate OK [03:45:31]wFMCommunicate request_size=4 [03:45:31]MH_SAM_APDU [03:45:31]CAPDU: 80 0D 03 02 [03:45:31]Write to MH i2c: E2 08 00 5C 18 80 0D 03 02 00 00 00 00 EF [03:45:31]Write i2c OK [03:45:31]MH_I2C_Read... [03:45:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:45:31]Read from MH i2c: E2 [03:45:31]MH_I2C_Read... [03:45:31]Read from MH i2c: E2 0B 00 [03:45:31]MH_I2C_Read... [03:45:31]Read from MH i2c: E2 0B 00 5C 18 00 15 F9 AA A4 9A 2A C9 9F 90 00 78 [03:45:31]RAPDU: 15 F9 AA A4 9A 2A C9 9F 90 00 [03:45:31]wFMCommunicate OK [03:45:31]SAM_PROTO_SignData done [03:45:31]FM_MakeSignedData done [03:45:31]CreateOFDProtocolMessage [03:45:31]wFMCommunicate request_size=4 [03:45:31]MH_SAM_APDU [03:45:31]CAPDU: 80 11 00 00 [03:45:31]Write to MH i2c: E2 08 00 5D 18 80 11 00 00 00 00 00 00 EF [03:45:31]Write i2c OK [03:45:31]MH_I2C_Read... [03:45:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:45:31]Read from MH i2c: E2 [03:45:31]MH_I2C_Read... [03:45:31]Read from MH i2c: E2 17 00 [03:45:31]MH_I2C_Read... [03:45:31]Read from MH i2c: E2 17 00 5D 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 3F [03:45:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [03:45:31]wFMCommunicate OK [03:45:31]CreateOFDProtocolMessage done [03:45:31]OFDSenderStorePacket 37763 [03:45:31]StoreOFDPacket docnum=37763 [03:45:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 23 01 00 00 E8 07 1B 01 B0 BE 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 75 73 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 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 DF 08 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 83 93 00 00 35 04 06 00 F7 4F 96 70 38 27 15 F9 AA A4 9A 2A C9 9F [03:45:31]CheckFolder [03:45:31]dirname=/storage/ofd_packets [03:45:31]CheckFolder done [03:45:31]ProducePacketName [03:45:31]name=ofd_packets/00037763 [03:45:31]NVStorageSaveData ofd_packets/00037763 [03:45:31]File name is /storage/ofd_packets/00037763 [03:45:31]Write 321 bytes [03:45:31]NVStorageSaveData done [03:45:31]OFDSenderStorePacket done [03:45:31]KKMCreateOFDPacket done [03:45:31]NVStorageSaveData kkm_last_timestamp [03:45:31]File name is /storage/kkm_last_timestamp [03:45:31]Write 4 bytes [03:45:31]NVStorageSaveData done [03:45:31]ExternCall_PrintAddStr [03:45:31]wPrintStart [03:45:31]Write to MH i2c: 01 00 00 5E 18 76 [03:45:31]Write i2c OK [03:45:31]MH_I2C_Read... [03:45:31]Read from MH i2c: 01 [03:45:31]MH_I2C_Read... [03:45:31]Read from MH i2c: 01 07 00 [03:45:31]MH_I2C_Read... [03:45:31]Read from MH i2c: 01 07 00 5E 18 00 00 00 00 00 FF 0F 8B [03:45:31]RasterBufferAndPrint [03:45:31]line Счет N : (3)35060 [03:45:31]line ИНН: 02508201610067 [03:45:31]line Контрольно-Кассовый Чек [03:45:31]line ПРОДАЖА [03:45:31]line Товар: 46177872 [03:45:31]line Жев Orbit подушки Citrus [03:45:31]line 1.000 * 40.00 [03:45:31]line = 40.00 [03:45:31]line НДС 12% НСП 1% [03:45:31]line > о реализуемом товаре [03:45:31]line ИТОГО: 40.00 [03:45:31]line НСП 1% : 0.35 [03:45:31]line НДС 12% : 4.25 [03:45:31]line Наличными: 40.00 [03:45:31]line Безнал.: 0.00 [03:45:31]line Место: АЗС № 126 "Партнер Нефть" [03:45:31]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [03:45:31]line СНО: Общий режим [03:45:31]line Чек 6 28.10.2024 03:45 [03:45:31]line Смена: 551 ФФД: 1.0 [03:45:31]line ЗНМ: 0300000092 [03:45:31]line РНМ: 0000000000091684 [03:45:31]line Версия ККМ: 001 [03:45:31]line ФМ: 0000000000871841 [03:45:31]line ФД: 37763 [03:45:31]line ФПД: 271921198413863 [03:45:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T034535&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37763&fm=271921198413863&tin=02508201610067®Number=0000000000091684&sum=4000 [03:45:31]line 0 [03:45:31]written 0, free lines is 4095 [03:45:31]OFD Sender: Processing packet 37763 [packets to send 42, broken 41] [03:45:31]ProducePacketName [03:45:31]name=ofd_packets/00037763 [03:45:31]OFD Sender: To server: pG, [03:45:31]CommunicateWithHost lk.salyk.kg:30040 [03:45:31]ConnectInit lk.salyk.kg [03:45:32]Connected sock=10 [03:45: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 38 34 31 23 01 00 00 E8 07 1B 01 B0 BE 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 75 73 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 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 DF 08 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 83 93 00 00 35 04 06 00 F7 4F 96 70 38 27 15 F9 AA A4 9A 2A C9 9F [03:45:32]Write to MH i2c: 01 00 00 86 18 9E [03:45:32]Write i2c OK [03:45:32]MH_I2C_Read... [03:45:32]Read from MH i2c: 01 [03:45:32]MH_I2C_Read... [03:45:32]Read from MH i2c: 01 07 00 [03:45:32]MH_I2C_Read... [03:45:32]Read from MH i2c: 01 07 00 86 18 00 00 00 00 00 BC 0C 6D [03:45:32]RasterBufferAndPrint [03:45:32]line [03:45:32]line [03:45:32]line [03:45:32]line [03:45:32]line [03:45:32]written 0, free lines is 3266 [03:45:32]MH_Cut [03:45:32]Write to MH i2c: D1 01 00 8D 18 01 77 [03:45:32]Write i2c OK [03:45:32]MH_I2C_Read... [03:45:32]Read from MH i2c: D1 [03:45:32]MH_I2C_Read... [03:45:32]Read from MH i2c: D1 01 00 [03:45:32]MH_I2C_Read... [03:45:32]Read from MH i2c: D1 01 00 8D 18 00 76 [03:45:32]Write to MH i2c: 01 00 00 8E 18 A6 [03:45:32]Write i2c OK [03:45:32]MH_I2C_Read... [03:45:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 F0 41 47 00 85 D3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 83 93 00 00 F4 03 04 00 D5 B3 1E 67 B6 04 01 00 00 2F 0C 07 46 F8 48 DD EE [03:45:32]CommunicateWithHost err = 0 [03:45:32]CheckOFDResponse [03:45:32]1017 (14) - 77093643461234 [03:45:32]1041 (16) - 0000000000871841 [03:45:32]1040 (4) - 37763 [03:45:32]1012 (4) - 27.10.2024 21:42 [03:45:32]1206 (1) - 0 [03:45:32]OFD Sender: Remove packet 37763 [03:45:32]ProducePacketName [03:45:32]name=ofd_packets/00037763 [03:45:32]NVStorageDeleteData [03:45:32]OFD Sender: No OFD packet to send [03:45:33]*** Cut start [03:45:33]*** Partial cut [03:45:33]*** CUTSNS_PIN = 1 [03:45:33]*** CUTSNS_PIN = 0 [03:45:33]*** Brake cut motor [03:45:33]Read from MH i2c: 01 [03:45:33]MH_I2C_Read... [03:45:33]*** Stop cut motor [03:45:33]*** Cut end [03:45:33]Read from MH i2c: 01 07 00 [03:45:33]MH_I2C_Read... [03:45:33]Read from MH i2c: 01 07 00 8E 18 00 00 00 00 00 FF 0F BB [03:45:33]process_action close_receipt done [03:45:33]requested_data is exist [03:45:33]produce_requested_data [03:45:33]requested_item fm.sn is exist - process it [03:45:33]wFMCommunicate request_size=4 [03:45:33]MH_SAM_APDU [03:45:33]CAPDU: 80 11 00 00 [03:45:33]Write to MH i2c: E2 08 00 8F 18 80 11 00 00 00 00 00 00 21 [03:45:33]Write i2c OK [03:45:33]MH_I2C_Read... [03:45:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:45:33]Read from MH i2c: E2 [03:45:33]MH_I2C_Read... [03:45:33]Read from MH i2c: E2 17 00 [03:45:33]MH_I2C_Read... [03:45:33]Read from MH i2c: E2 17 00 8F 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 71 [03:45:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [03:45:33]wFMCommunicate OK [03:45:33]requested_item fd.num is exist - process it [03:45:33]SAM_PROTO_GetFieldsCounters [03:45:33]wFMCommunicate request_size=4 [03:45:33]MH_SAM_APDU [03:45:33]CAPDU: 80 13 00 00 [03:45:33]Write to MH i2c: E2 08 00 90 18 80 13 00 00 00 00 00 00 24 [03:45:33]Write i2c OK [03:45:33]MH_I2C_Read... [03:45:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:45:33]Read from MH i2c: E2 [03:45:33]MH_I2C_Read... [03:45:33]Read from MH i2c: E2 62 00 [03:45:33]MH_I2C_Read... [03:45:33]Read from MH i2c: E2 62 00 90 18 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 83 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 96 [03:45: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 83 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:45:33]wFMCommunicate OK [03:45:33]SAM_PROTO_GetFieldsCounters done [03:45:33]requested_item shift.num is exist - process it [03:45:33]requested_item shift.opened is exist - process it [03:45:33]req_shift_opened [03:45:33]FM_GetShiftState [03:45:33]SAM_PROTO_GetShiftState [03:45:33]wFMCommunicate request_size=4 [03:45:33]MH_SAM_APDU [03:45:33]CAPDU: 80 13 01 00 [03:45:33]Write to MH i2c: E2 08 00 91 18 80 13 01 00 00 00 00 00 26 [03:45:33]Write i2c OK [03:45:33]MH_I2C_Read... [03:45:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:45:34]Read from MH i2c: E2 [03:45:34]MH_I2C_Read... [03:45:34]Read from MH i2c: E2 0E 00 [03:45:34]MH_I2C_Read... [03:45:34]Read from MH i2c: E2 0E 00 91 18 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 A8 [03:45:34]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [03:45:34]wFMCommunicate OK [03:45:34]SAM_PROTO_GetShiftState done [03:45:34]FM_GetShiftState done [03:45:34]req_shift_opened done [03:45:34]requested_item shift.open_date is exist - process it [03:45:34]req_shift_open_date [03:45:34]req_shift_open_date done [03:45:34]produce_requested_data done [03:45:34]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37763,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [03:45:34]process_action_free close_receipt [03:45:34]json_value_free [03:45:34]json_value_free done [03:45:34]process_json_proto returns [03:45:34]Send response to host [03:45:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37763,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [03:45:34]free response buf [03:45:34]execute_script done [03:45:34]execute_script returns [03:45:34]free content buf [03:45:34]Sock 7.Close socket [03:45:34]Sock 7.Thread stoped [03:45:37]OFD Sender: No OFD packet to send [03:45:42]OFD Sender: No OFD packet to send [03:45:47]OFD Sender: No OFD packet to send [03:45:52]OFD Sender: No OFD packet to send [03:45:57]OFD Sender: No OFD packet to send [03:46:02]OFD Sender: No OFD packet to send [03:46:07]OFD Sender: No OFD packet to send [03:46:12]OFD Sender: No OFD packet to send [03:46:17]OFD Sender: No OFD packet to send [03:46:22]OFD Sender: No OFD packet to send [03:46:27]OFD Sender: No OFD packet to send [03:46:32]OFD Sender: No OFD packet to send [03:46:37]OFD Sender: No OFD packet to send [03:46:42]OFD Sender: No OFD packet to send [03:46:47]OFD Sender: No OFD packet to send [03:46: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:41]accept exits with 9 [03:47:41]New connection [03:47:41]New thread 3067297124 created [03:47:41]Thread 3067440484 joined [03:47:41]Waiting for new connection... [03:47:41] Sock 9.Parse request [03:47:41]Sock 9.Check first char [03:47:41]Sock 9.First char is OK [03:47:41]request: POST /json_proto HTTP/1.0 [03:47:41]Method: POST [03:47:41]URL: /json_proto [03:47:41]Method is POST - this is cgi request [03:47:41]url: /json_proto [03:47:41]query_string will be loaded in cgi processing [03:47:41]execute_cgi json_proto POST (null) [03:47:41]execute_cgi path=json_proto method=POST [03:47:41]POST find Content-Length [03:47:41]Host: 172.17.40.196:8080 [03:47:41]Content-Length: 215 [03:47:41]Content-Type: application/json [03:47:41] [03:47:41]POST finish read [03:47:41]Found Content-Length = 215 [03:47:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:47:41]execute_script... [03:47:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:47:41]POST & json_proto [03:47:41]process_json_proto [03:47:41]json parsed OK: [03:47:41]protocol is kg_v1.0 [03:47:41]action value=get_value [03:47:41]process_action get_value [03:47:41]cmd_get_value [03:47:41]process_action get_value done [03:47:41]requested_data is exist [03:47:41]produce_requested_data [03:47:41]requested_item kkm.sn is exist - process it [03:47:41]requested_item kkm.ver is exist - process it [03:47:41]requested_item fm.sn is exist - process it [03:47:41]wFMCommunicate request_size=4 [03:47:41]MH_SAM_APDU [03:47:41]CAPDU: 80 11 00 00 [03:47:41]Write to MH i2c: E2 08 00 92 18 80 11 00 00 00 00 00 00 24 [03:47:41]Write i2c OK [03:47:41]MH_I2C_Read... [03:47:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:47:41]Read from MH i2c: E2 [03:47:41]MH_I2C_Read... [03:47:41]Read from MH i2c: E2 17 00 [03:47:41]MH_I2C_Read... [03:47:41]Read from MH i2c: E2 17 00 92 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 74 [03:47:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [03:47:41]wFMCommunicate OK [03:47:41]requested_item fd.num is exist - process it [03:47:41]SAM_PROTO_GetFieldsCounters [03:47:41]wFMCommunicate request_size=4 [03:47:41]MH_SAM_APDU [03:47:41]CAPDU: 80 13 00 00 [03:47:41]Write to MH i2c: E2 08 00 93 18 80 13 00 00 00 00 00 00 27 [03:47:41]Write i2c OK [03:47:41]MH_I2C_Read... [03:47:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:47:41]Read from MH i2c: E2 [03:47:41]MH_I2C_Read... [03:47:41]Read from MH i2c: E2 62 00 [03:47:41]MH_I2C_Read... [03:47:41]Read from MH i2c: E2 62 00 93 18 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 83 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 99 [03:47:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 83 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:47:41]wFMCommunicate OK [03:47:41]SAM_PROTO_GetFieldsCounters done [03:47:41]requested_item shift.num is exist - process it [03:47:41]requested_item shift.opened is exist - process it [03:47:41]req_shift_opened [03:47:41]FM_GetShiftState [03:47:41]SAM_PROTO_GetShiftState [03:47:41]wFMCommunicate request_size=4 [03:47:41]MH_SAM_APDU [03:47:41]CAPDU: 80 13 01 00 [03:47:41]Write to MH i2c: E2 08 00 94 18 80 13 01 00 00 00 00 00 29 [03:47:41]Write i2c OK [03:47:41]MH_I2C_Read... [03:47:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:47:41]Read from MH i2c: E2 [03:47:41]MH_I2C_Read... [03:47:41]Read from MH i2c: E2 0E 00 [03:47:41]MH_I2C_Read... [03:47:41]Read from MH i2c: E2 0E 00 94 18 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 AB [03:47:41]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [03:47:41]wFMCommunicate OK [03:47:41]SAM_PROTO_GetShiftState done [03:47:41]FM_GetShiftState done [03:47:41]req_shift_opened done [03:47:41]requested_item shift.open_date is exist - process it [03:47:41]req_shift_open_date [03:47:41]req_shift_open_date done [03:47:41]produce_requested_data done [03:47:41]produce_requested_data return {"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37763,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [03:47:41]process_action_free get_value [03:47:41]json_value_free [03:47:41]json_value_free done [03:47:41]process_json_proto returns [03:47:41]Send response to host [03:47:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37763,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [03:47:41]free response buf [03:47:41]execute_script done [03:47:41]execute_script returns [03:47:41]free content buf [03:47:41]Sock 9.Close socket [03:47:41]Sock 9.Thread stoped [03:47:41]accept exits with 7 [03:47:41]New connection [03:47:41]New thread 3067440484 created [03:47:41]Thread 3067297124 joined [03:47:41]Waiting for new connection... [03:47:41] Sock 7.Parse request [03:47:41]Sock 7.Check first char [03:47:41]Sock 7.First char is OK [03:47:41]request: POST /json_proto HTTP/1.0 [03:47:41]Method: POST [03:47:41]URL: /json_proto [03:47:41]Method is POST - this is cgi request [03:47:41]url: /json_proto [03:47:41]query_string will be loaded in cgi processing [03:47:41]execute_cgi json_proto POST (null) [03:47:41]execute_cgi path=json_proto method=POST [03:47:41]POST find Content-Length [03:47:41]Host: 172.17.40.196:8080 [03:47:41]Content-Length: 331 [03:47:41]Content-Type: application/json [03:47:41] [03:47:41]POST finish read [03:47:41]Found Content-Length = 331 [03:47:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [03:47:41]execute_script... [03:47:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [03:47:41]POST & json_proto [03:47:41]process_json_proto [03:47:41]json parsed OK: [03:47:41]protocol is kg_v1.0 [03:47:41]action value=get_value [03:47:41]process_action get_value [03:47:41]cmd_get_value [03:47:41]process_action get_value done [03:47:41]requested_data is exist [03:47:41]produce_requested_data [03:47:41]requested_item fm.sale.total is exist - process it [03:47:41]SAM_PROTO_GetFMData [03:47:41]wFMCommunicate request_size=4 [03:47:41]MH_SAM_APDU [03:47:41]CAPDU: 80 13 03 00 [03:47:41]Write to MH i2c: E2 08 00 95 18 80 13 03 00 00 00 00 00 2C [03:47:41]Write i2c OK [03:47:41]MH_I2C_Read... [03:47:42]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [03:47:42]Read from MH i2c: E2 [03:47:42]MH_I2C_Read... [03:47:42]Read from MH i2c: E2 FD 00 [03:47:42]MH_I2C_Read... [03:47:42]Read from MH i2c: E2 FD 00 95 18 00 C0 04 85 04 BC 04 6E 04 04 00 35 8F 00 00 69 04 A0 00 6F 04 04 00 30 8F 00 00 B1 04 04 00 26 CA 1D 34 70 04 04 00 94 EC 4B 2E 72 04 04 00 92 DD D1 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E4 E2 88 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 00 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 23 [03:47:42]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 35 8F 00 00 69 04 A0 00 6F 04 04 00 30 8F 00 00 B1 04 04 00 26 CA 1D 34 70 04 04 00 94 EC 4B 2E 72 04 04 00 92 DD D1 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E4 E2 88 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 00 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 [03:47:42]wFMCommunicate OK [03:47:42]wFMCommunicate request_size=4 [03:47:42]MH_SAM_APDU [03:47:42]CAPDU: 80 17 00 00 [03:47:42]Write to MH i2c: E2 08 00 96 18 80 17 00 00 00 00 00 00 2E [03:47:42]Write i2c OK [03:47:42]MH_I2C_Read... [03:47:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:47:42]Read from MH i2c: E2 [03:47:42]MH_I2C_Read... [03:47:42]Read from MH i2c: E2 FD 00 [03:47:42]MH_I2C_Read... [03:47:42]Read from MH i2c: E2 FD 00 96 18 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 29 [03:47:42]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [03:47:42]wFMCommunicate OK [03:47:42]wFMCommunicate request_size=4 [03:47:42]MH_SAM_APDU [03:47:42]CAPDU: 80 17 00 00 [03:47:42]Write to MH i2c: E2 08 00 97 18 80 17 00 00 00 00 00 00 2F [03:47:42]Write i2c OK [03:47:42]MH_I2C_Read... [03:47:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:47:42]Read from MH i2c: E2 [03:47:42]MH_I2C_Read... [03:47:42]Read from MH i2c: E2 FD 00 [03:47:42]MH_I2C_Read... [03:47:42]Read from MH i2c: E2 FD 00 97 18 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 D2 [03:47:42]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [03:47:42]wFMCommunicate OK [03:47:42]wFMCommunicate request_size=4 [03:47:42]MH_SAM_APDU [03:47:42]CAPDU: 80 17 00 00 [03:47:42]Write to MH i2c: E2 08 00 98 18 80 17 00 00 00 00 00 00 30 [03:47:42]Write i2c OK [03:47:42]MH_I2C_Read... [03:47:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:47:43]Read from MH i2c: E2 [03:47:43]MH_I2C_Read... [03:47:43]Read from MH i2c: E2 FD 00 [03:47:43]MH_I2C_Read... [03:47:43]Read from MH i2c: E2 FD 00 98 18 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 A8 [03:47:43]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [03:47:43]wFMCommunicate OK [03:47:43]wFMCommunicate request_size=4 [03:47:43]MH_SAM_APDU [03:47:43]CAPDU: 80 17 00 00 [03:47:43]Write to MH i2c: E2 08 00 99 18 80 17 00 00 00 00 00 00 31 [03:47:43]Write i2c OK [03:47:43]MH_I2C_Read... [03:47:43]OFD Sender: No OFD packet to send [03:47:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [03:47:43]Read from MH i2c: E2 [03:47:43]MH_I2C_Read... [03:47:43]Read from MH i2c: E2 DD 00 [03:47:43]MH_I2C_Read... [03:47:43]Read from MH i2c: E2 DD 00 99 18 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 19 [03:47:43]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [03:47:43]wFMCommunicate OK [03:47:43]SAM_PROTO_GetFMData done [03:47:43]requested_item fm.sale_refund.total is exist - process it [03:47:43]requested_item fm.buy.total is exist - process it [03:47:43]requested_item shift.sale.total is exist - process it [03:47:43]SAM_PROTO_GetShiftData [03:47:43]wFMCommunicate request_size=4 [03:47:43]MH_SAM_APDU [03:47:43]CAPDU: 80 13 02 00 [03:47:43]Write to MH i2c: E2 08 00 9A 18 80 13 02 00 00 00 00 00 30 [03:47:43]Write i2c OK [03:47:43]MH_I2C_Read... [03:47:43]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [03:47:43]Read from MH i2c: E2 [03:47:43]MH_I2C_Read... [03:47:43]Read from MH i2c: E2 FD 00 [03:47:43]MH_I2C_Read... [03:47:43]Read from MH i2c: E2 FD 00 9A 18 00 AC 04 AA 04 A8 04 6E 04 04 00 06 00 00 00 69 04 99 00 6F 04 04 00 06 00 00 00 B1 04 03 00 98 E3 01 70 04 03 00 48 39 01 72 04 02 00 50 AA 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 5B 33 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 47 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 C7 [03:47:43]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 06 00 00 00 69 04 99 00 6F 04 04 00 06 00 00 00 B1 04 03 00 98 E3 01 70 04 03 00 48 39 01 72 04 02 00 50 AA 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 5B 33 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 47 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [03:47:43]wFMCommunicate OK [03:47:43]wFMCommunicate request_size=4 [03:47:43]MH_SAM_APDU [03:47:43]CAPDU: 80 17 00 00 [03:47:43]Write to MH i2c: E2 08 00 9B 18 80 17 00 00 00 00 00 00 33 [03:47:43]Write i2c OK [03:47:43]MH_I2C_Read... [03:47:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:47:44]Read from MH i2c: E2 [03:47:44]MH_I2C_Read... [03:47:44]Read from MH i2c: E2 FD 00 [03:47:44]MH_I2C_Read... [03:47:44]Read from MH i2c: E2 FD 00 9B 18 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 48 [03:47:44]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [03:47:44]wFMCommunicate OK [03:47:44]wFMCommunicate request_size=4 [03:47:44]MH_SAM_APDU [03:47:44]CAPDU: 80 17 00 00 [03:47:44]Write to MH i2c: E2 08 00 9C 18 80 17 00 00 00 00 00 00 34 [03:47:44]Write i2c OK [03:47:44]MH_I2C_Read... [03:47:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:47:44]Read from MH i2c: E2 [03:47:44]MH_I2C_Read... [03:47:44]Read from MH i2c: E2 FD 00 [03:47:44]MH_I2C_Read... [03:47:44]Read from MH i2c: E2 FD 00 9C 18 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 F5 [03:47:44]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [03:47:44]wFMCommunicate OK [03:47:44]wFMCommunicate request_size=4 [03:47:44]MH_SAM_APDU [03:47:44]CAPDU: 80 17 00 00 [03:47:44]Write to MH i2c: E2 08 00 9D 18 80 17 00 00 00 00 00 00 35 [03:47:44]Write i2c OK [03:47:44]MH_I2C_Read... [03:47:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:47:44]Read from MH i2c: E2 [03:47:44]MH_I2C_Read... [03:47:44]Read from MH i2c: E2 FD 00 [03:47:44]MH_I2C_Read... [03:47:44]Read from MH i2c: E2 FD 00 9D 18 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 AA [03:47:44]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [03:47:44]wFMCommunicate OK [03:47:44]wFMCommunicate request_size=4 [03:47:44]MH_SAM_APDU [03:47:44]CAPDU: 80 17 00 00 [03:47:44]Write to MH i2c: E2 08 00 9E 18 80 17 00 00 00 00 00 00 36 [03:47:44]Write i2c OK [03:47:44]MH_I2C_Read... [03:47:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [03:47:44]Read from MH i2c: E2 [03:47:44]MH_I2C_Read... [03:47:44]Read from MH i2c: E2 C9 00 [03:47:44]MH_I2C_Read... [03:47:44]Read from MH i2c: E2 C9 00 9E 18 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 1A [03:47:44]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [03:47:44]wFMCommunicate OK [03:47:44]SAM_PROTO_GetShiftData done [03:47:44]requested_item shift.sale.total_cash is exist - process it [03:47:44]requested_item shift.sale_refund.total is exist - process it [03:47:44]requested_item shift.sale_refund.total_cash is exist - process it [03:47:44]requested_item shift.buy.total is exist - process it [03:47:44]requested_item shift.buy.total_cash is exist - process it [03:47:44]produce_requested_data done [03:47:44]produce_requested_data return {"fm.sale.total":8743675.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":1238.00,"shift.sale.total_cash":802.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [03:47:44]process_action_free get_value [03:47:44]json_value_free [03:47:44]json_value_free done [03:47:44]process_json_proto returns [03:47:44]Send response to host [03:47:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8743675.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":1238.00,"shift.sale.total_cash":802.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [03:47:44]free response buf [03:47:44]execute_script done [03:47:44]execute_script returns [03:47:44]free content buf [03:47:44]Sock 7.Close socket [03:47:44]Sock 7.Thread stoped [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:23]OFD Sender: No OFD packet to send [03:55:28]OFD Sender: No OFD packet to send [03:55:33]OFD Sender: No OFD packet to send [03:55:38]OFD Sender: No OFD packet to send [03:55:43]OFD Sender: No OFD packet to send [03:55:48]OFD Sender: No OFD packet to send [03:55:53]OFD Sender: No OFD packet to send [03:55:58]OFD Sender: No OFD packet to send [03:56:03]OFD Sender: No OFD packet to send [03:56:08]OFD Sender: No OFD packet to send [03:56:13]OFD Sender: No OFD packet to send [03:56:18]OFD Sender: No OFD packet to send [03:56:23]OFD Sender: No OFD packet to send [03:56:28]OFD Sender: No OFD packet to send [03:56:33]OFD Sender: No OFD packet to send [03:56:38]OFD Sender: No OFD packet to send [03:56:43]OFD Sender: No OFD packet to send [03:56:48]OFD Sender: No OFD packet to send [03:56:53]OFD Sender: No OFD packet to send [03:56:58]OFD Sender: No OFD packet to send [03:57:03]OFD Sender: No OFD packet to send [03:57:08]OFD Sender: No OFD packet to send [03:57:13]OFD Sender: No OFD packet to send [03:57:18]OFD Sender: No OFD packet to send [03:57:23]OFD Sender: No OFD packet to send [03:57:28]OFD Sender: No OFD packet to send [03:57:33]OFD Sender: No OFD packet to send [03:57:38]OFD Sender: No OFD packet to send [03:57:43]OFD Sender: No OFD packet to send [03:57:48]OFD Sender: No OFD packet to send [03:57:53]OFD Sender: No OFD packet to send [03:57:58]OFD Sender: No OFD packet to send [03:58:03]OFD Sender: No OFD packet to send [03:58:08]OFD Sender: No OFD packet to send [03:58:13]OFD Sender: No OFD packet to send [03:58:18]OFD Sender: No OFD packet to send [03:58:23]OFD Sender: No OFD packet to send [03:58:28]OFD Sender: No OFD packet to send [03:58:33]OFD Sender: No OFD packet to send [03:58:38]OFD Sender: No OFD packet to send [03:58:43]OFD Sender: No OFD packet to send [03:58:48]OFD Sender: No OFD packet to send [03:58:53]OFD Sender: No OFD packet to send [03:58:58]OFD Sender: No OFD packet to send [03:59:03]OFD Sender: No OFD packet to send [03:59:08]OFD Sender: No OFD packet to send [03:59:13]OFD Sender: No OFD packet to send [03:59:18]OFD Sender: No OFD packet to send [03:59:23]OFD Sender: No OFD packet to send [03:59:28]OFD Sender: No OFD packet to send [03:59:33]OFD Sender: No OFD packet to send [03:59:38]OFD Sender: No OFD packet to send [03:59:43]OFD Sender: No OFD packet to send [03:59:48]OFD Sender: No OFD packet to send [03:59:53]OFD Sender: No OFD packet to send [03:59:58]OFD Sender: No OFD packet to send [04:00:03]OFD Sender: No OFD packet to send [04:00:08]OFD Sender: No OFD packet to send [04:00:13]OFD Sender: No OFD packet to send [04:00:18]OFD Sender: No OFD packet to send [04:00:23]OFD Sender: No OFD packet to send [04:00:28]OFD Sender: No OFD packet to send [04:00:33]OFD Sender: No OFD packet to send [04:00:38]OFD Sender: No OFD packet to send [04:00:43]OFD Sender: No OFD packet to send [04:00:48]OFD Sender: No OFD packet to send [04:00:53]OFD Sender: No OFD packet to send [04:00:58]OFD Sender: No OFD packet to send [04:01:03]OFD Sender: No OFD packet to send [04:01:08]OFD Sender: No OFD packet to send [04:02:28]OFD Sender: No OFD packet to send [04:02:33]OFD Sender: No OFD packet to send [04:02:38]OFD Sender: No OFD packet to send [04:02:43]OFD Sender: No OFD packet to send [04:02:48]OFD Sender: No OFD packet to send [04:02:53]OFD Sender: No OFD packet to send [04:02:58]OFD Sender: No OFD packet to send [04:03:03]OFD Sender: No OFD packet to send [04:03:08]OFD Sender: No OFD packet to send [04:03:13]OFD Sender: No OFD packet to send [04:03:18]OFD Sender: No OFD packet to send [04:03:23]OFD Sender: No OFD packet to send [04:03:28]OFD Sender: No OFD packet to send [04:03:33]OFD Sender: No OFD packet to send [04:03:38]OFD Sender: No OFD packet to send [04:03:43]OFD Sender: No OFD packet to send [04:03:48]OFD Sender: No OFD packet to send [04:03:53]OFD Sender: No OFD packet to send [04:03:58]OFD Sender: No OFD packet to send [04:04:03]OFD Sender: No OFD packet to send [04:04:08]OFD Sender: No OFD packet to send [04:04: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:33]ConnectInit Can't connect to host [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:12:22]ConnectInit Can't connect to host [04:12:24]OFD Sender: No OFD packet to send [04:12:29]OFD Sender: No OFD packet to send [04:12:34]OFD Sender: No OFD packet to send [04:12:39]OFD Sender: No OFD packet to send [04:12:44]OFD Sender: No OFD packet to send [04:12:49]OFD Sender: No OFD packet to send [04:12:54]OFD Sender: No OFD packet to send [04:12:59]OFD Sender: No OFD packet to send [04:13:04]OFD Sender: No OFD packet to send [04:13:09]OFD Sender: No OFD packet to send [04:13:14]OFD Sender: No OFD packet to send [04:13:19]OFD Sender: No OFD packet to send [04:13:24]OFD Sender: No OFD packet to send [04:13:29]OFD Sender: No OFD packet to send [04:13:34]OFD Sender: No OFD packet to send [04:13:39]OFD Sender: No OFD packet to send [04:13:44]OFD Sender: No OFD packet to send [04:13:49]OFD Sender: No OFD packet to send [04:13:54]OFD Sender: No OFD packet to send [04:13:59]OFD Sender: No OFD packet to send [04:14:04]OFD Sender: No OFD packet to send [04:14:09]OFD Sender: No OFD packet to send [04:14:14]OFD Sender: No OFD packet to send [04:14:19]OFD Sender: No OFD packet to send [04:14:24]OFD Sender: No OFD packet to send [04:14:29]OFD Sender: No OFD packet to send [04:14:34]OFD Sender: No OFD packet to send [04:14:39]OFD Sender: No OFD packet to send [04:14:44]OFD Sender: No OFD packet to send [04:14:49]OFD Sender: No OFD packet to send [04:14:54]OFD Sender: No OFD packet to send [04:14:59]OFD Sender: No OFD packet to send [04:15:04]OFD Sender: No OFD packet to send [04:15:09]OFD Sender: No OFD packet to send [04:15:14]OFD Sender: No OFD packet to send [04:15:19]OFD Sender: No OFD packet to send [04:15:24]OFD Sender: No OFD packet to send [04:15:29]OFD Sender: No OFD packet to send [04:15:34]OFD Sender: No OFD packet to send [04:15:39]OFD Sender: No OFD packet to send [04:15:44]OFD Sender: No OFD packet to send [04:15:49]OFD Sender: No OFD packet to send [04:15:54]OFD Sender: No OFD packet to send [04:15:59]OFD Sender: No OFD packet to send [04:16:04]OFD Sender: No OFD packet to send [04:16:09]OFD Sender: No OFD packet to send [04:16:14]OFD Sender: No OFD packet to send [04:16:19]OFD Sender: No OFD packet to send [04:16:24]OFD Sender: No OFD packet to send [04:16:29]OFD Sender: No OFD packet to send [04:16:34]OFD Sender: No OFD packet to send [04:16:39]OFD Sender: No OFD packet to send [04:16:44]OFD Sender: No OFD packet to send [04:16:49]OFD Sender: No OFD packet to send [04:16:54]OFD Sender: No OFD packet to send [04:16:59]OFD Sender: No OFD packet to send [04:17:04]OFD Sender: No OFD packet to send [04:17:09]OFD Sender: No OFD packet to send [04:17:14]OFD Sender: No OFD packet to send [04:17:19]OFD Sender: No OFD packet to send [04:17:24]OFD Sender: No OFD packet to send [04:17:29]OFD Sender: No OFD packet to send [04:17:34]OFD Sender: No OFD packet to send [04:17:39]OFD Sender: No OFD packet to send [04:17:44]OFD Sender: No OFD packet to send [04:17:49]OFD Sender: No OFD packet to send [04:17:54]OFD Sender: No OFD packet to send [04:17:59]OFD Sender: No OFD packet to send [04:18:04]OFD Sender: No OFD packet to send [04:18:09]OFD Sender: No OFD packet to send [04:18:14]OFD Sender: No OFD packet to send [04:18:19]OFD Sender: No OFD packet to send [04:18:24]OFD Sender: No OFD packet to send [04:18:29]OFD Sender: No OFD packet to send [04:18:34]OFD Sender: No OFD packet to send [04:18:39]OFD Sender: No OFD packet to send [04:18:44]OFD Sender: No OFD packet to send [04:18:49]OFD Sender: No OFD packet to send [04:18:54]OFD Sender: No OFD packet to send [04:18:59]OFD Sender: No OFD packet to send [04:19:04]OFD Sender: No OFD packet to send [04:19:09]OFD Sender: No OFD packet to send [04:19:14]OFD Sender: No OFD packet to send [04:19:19]OFD Sender: No OFD packet to send [04:19:24]OFD Sender: No OFD packet to send [04:19:29]OFD Sender: No OFD packet to send [04:19:34]OFD Sender: No OFD packet to send [04:19:39]OFD Sender: No OFD packet to send [04:19:44]OFD Sender: No OFD packet to send [04:19:49]OFD Sender: No OFD packet to send [04:19:54]OFD Sender: No OFD packet to send [04:19:59]OFD Sender: No OFD packet to send [04:20:04]OFD Sender: No OFD packet to send [04:20:09]OFD Sender: No OFD packet to send [04:20:14]OFD Sender: No OFD packet to send [04:20:19]OFD Sender: No OFD packet to send [04:20:24]OFD Sender: No OFD packet to send [04:20:29]OFD Sender: No OFD packet to send [04:20:34]OFD Sender: No OFD packet to send [04:20:39]OFD Sender: No OFD packet to send [04:20:44]OFD Sender: No OFD packet to send [04:20:49]OFD Sender: No OFD packet to send [04:20:54]OFD Sender: No OFD packet to send [04:20:59]OFD Sender: No OFD packet to send [04:21:04]OFD Sender: No OFD packet to send [04:21:09]OFD Sender: No OFD packet to send [04:21:14]OFD Sender: No OFD packet to send [04:21:19]OFD Sender: No OFD packet to send [04:21:24]OFD Sender: No OFD packet to send [04:21:29]OFD Sender: No OFD packet to send [04:21:34]OFD Sender: No OFD packet to send [04:21:39]OFD Sender: No OFD packet to send [04:21:44]OFD Sender: No OFD packet to send [04:21:49]OFD Sender: No OFD packet to send [04:21:54]OFD Sender: No OFD packet to send [04:21:59]OFD Sender: No OFD packet to send [04:22:04]OFD Sender: No OFD packet to send [04:22:09]OFD Sender: No OFD packet to send [04:22:14]OFD Sender: No OFD packet to send [04:22:19]OFD Sender: No OFD packet to send [04:22:24]OFD Sender: No OFD packet to send [04:22:29]OFD Sender: No OFD packet to send [04:22:34]OFD Sender: No OFD packet to send [04:22:39]OFD Sender: No OFD packet to send [04:22:44]OFD Sender: No OFD packet to send [04:22:49]OFD Sender: No OFD packet to send [04:22:54]OFD Sender: No OFD packet to send [04:22:59]OFD Sender: No OFD packet to send [04:23:04]OFD Sender: No OFD packet to send [04:23:10]OFD Sender: No OFD packet to send [04:23:15]OFD Sender: No OFD packet to send [04:23:20]OFD Sender: No OFD packet to send [04:23:25]OFD Sender: No OFD packet to send [04:23:30]OFD Sender: No OFD packet to send [04:23:35]OFD Sender: No OFD packet to send [04:23:40]OFD Sender: No OFD packet to send [04:23:45]OFD Sender: No OFD packet to send [04:23:50]OFD Sender: No OFD packet to send [04:23:55]OFD Sender: No OFD packet to send [04:24:00]OFD Sender: No OFD packet to send [04:24:05]OFD Sender: No OFD packet to send [04:24:10]OFD Sender: No OFD packet to send [04:24:15]OFD Sender: No OFD packet to send [04:24:20]OFD Sender: No OFD packet to send [04:24:25]OFD Sender: No OFD packet to send [04:24:30]OFD Sender: No OFD packet to send [04:24:35]OFD Sender: No OFD packet to send [04:24:40]OFD Sender: No OFD packet to send [04:24:45]OFD Sender: No OFD packet to send [04:24:50]OFD Sender: No OFD packet to send [04:24:55]OFD Sender: No OFD packet to send [04:25:00]OFD Sender: No OFD packet to send [04:25:05]OFD Sender: No OFD packet to send [04:25:10]OFD Sender: No OFD packet to send [04:25:15]OFD Sender: No OFD packet to send [04:25:20]OFD Sender: No OFD packet to send [04:25:25]OFD Sender: No OFD packet to send [04:25:30]OFD Sender: No OFD packet to send [04:25:35]OFD Sender: No OFD packet to send [04:25:40]OFD Sender: No OFD packet to send [04:25:45]OFD Sender: No OFD packet to send [04:25:50]OFD Sender: No OFD packet to send [04:25:55]OFD Sender: No OFD packet to send [04:26:00]OFD Sender: No OFD packet to send [04:26:05]OFD Sender: No OFD packet to send [04:26:10]OFD Sender: No OFD packet to send [04:26:15]OFD Sender: No OFD packet to send [04:26:20]OFD Sender: No OFD packet to send [04:26:25]OFD Sender: No OFD packet to send [04:26:30]OFD Sender: No OFD packet to send [04:26:35]OFD Sender: No OFD packet to send [04:26:40]OFD Sender: No OFD packet to send [04:26:45]OFD Sender: No OFD packet to send [04:26:50]OFD Sender: No OFD packet to send [04:26:55]OFD Sender: No OFD packet to send [04:27:00]OFD Sender: No OFD packet to send [04:27:05]OFD Sender: No OFD packet to send [04:27:10]OFD Sender: No OFD packet to send [04:27:15]OFD Sender: No OFD packet to send [04:27:20]OFD Sender: No OFD packet to send [04:27:25]OFD Sender: No OFD packet to send [04:27:30]OFD Sender: No OFD packet to send [04:27:35]OFD Sender: No OFD packet to send [04:27:40]OFD Sender: No OFD packet to send [04:27:45]OFD Sender: No OFD packet to send [04:27:50]OFD Sender: No OFD packet to send [04:27:55]OFD Sender: No OFD packet to send [04:28:00]OFD Sender: No OFD packet to send [04:28:05]OFD Sender: No OFD packet to send [04:28:10]OFD Sender: No OFD packet to send [04:28:15]OFD Sender: No OFD packet to send [04:28:20]OFD Sender: No OFD packet to send [04:28:25]OFD Sender: No OFD packet to send [04:28:30]OFD Sender: No OFD packet to send [04:28:35]OFD Sender: No OFD packet to send [04:28:40]OFD Sender: No OFD packet to send [04:28:45]OFD Sender: No OFD packet to send [04:28:50]OFD Sender: No OFD packet to send [04:28:55]OFD Sender: No OFD packet to send [04:29:00]OFD Sender: No OFD packet to send [04:29:05]OFD Sender: No OFD packet to send [04:29:10]OFD Sender: No OFD packet to send [04:29:15]OFD Sender: No OFD packet to send [04:29:20]OFD Sender: No OFD packet to send [04:29:25]OFD Sender: No OFD packet to send [04:29:30]OFD Sender: No OFD packet to send [04:29:35]OFD Sender: No OFD packet to send [04:29:40]OFD Sender: No OFD packet to send [04:29:45]OFD Sender: No OFD packet to send [04:29:50]OFD Sender: No OFD packet to send [04:29:55]OFD Sender: No OFD packet to send [04:30:00]OFD Sender: No OFD packet to send [04:30:05]OFD Sender: No OFD packet to send [04:30:10]OFD Sender: No OFD packet to send [04:30:15]OFD Sender: No OFD packet to send [04:30:20]OFD Sender: No OFD packet to send [04:30:25]OFD Sender: No OFD packet to send [04:30:30]OFD Sender: No OFD packet to send [04:30:35]OFD Sender: No OFD packet to send [04:30:40]OFD Sender: No OFD packet to send [04:30:45]OFD Sender: No OFD packet to send [04:30:50]OFD Sender: No OFD packet to send [04:30:55]OFD Sender: No OFD packet to send [04:31:00]OFD Sender: No OFD packet to send [04:31:05]OFD Sender: No OFD packet to send [04:31:10]OFD Sender: No OFD packet to send [04:31:15]OFD Sender: No OFD packet to send [04:31:20]OFD Sender: No OFD packet to send [04:31:25]OFD Sender: No OFD packet to send [04:31:30]OFD Sender: No OFD packet to send [04:31:35]OFD Sender: No OFD packet to send [04:31:40]OFD Sender: No OFD packet to send [04:31:45]OFD Sender: No OFD packet to send [04:31:50]OFD Sender: No OFD packet to send [04:31:55]OFD Sender: No OFD packet to send [04:32:00]OFD Sender: No OFD packet to send [04:32:05]OFD Sender: No OFD packet to send [04:32:10]OFD Sender: No OFD packet to send [04:32:15]OFD Sender: No OFD packet to send [04:32:20]OFD Sender: No OFD packet to send [04:32:25]OFD Sender: No OFD packet to send [04:32:30]OFD Sender: No OFD packet to send [04:32:35]OFD Sender: No OFD packet to send [04:32:40]OFD Sender: No OFD packet to send [04:32:45]OFD Sender: No OFD packet to send [04:32:50]OFD Sender: No OFD packet to send [04:32:55]OFD Sender: No OFD packet to send [04:33:00]OFD Sender: No OFD packet to send [04:33:05]OFD Sender: No OFD packet to send [04:33:10]OFD Sender: No OFD packet to send [04:33:15]OFD Sender: No OFD packet to send [04:33:20]OFD Sender: No OFD packet to send [04:33:25]OFD Sender: No OFD packet to send [04:33:30]OFD Sender: No OFD packet to send [04:33:35]OFD Sender: No OFD packet to send [04:33:40]OFD Sender: No OFD packet to send [04:33:45]OFD Sender: No OFD packet to send [04:33:50]OFD Sender: No OFD packet to send [04:33:55]OFD Sender: No OFD packet to send [04:34:00]OFD Sender: No OFD packet to send [04:34:05]OFD Sender: No OFD packet to send [04:34:10]OFD Sender: No OFD packet to send [04:34:15]OFD Sender: No OFD packet to send [04:34:20]OFD Sender: No OFD packet to send [04:34:25]OFD Sender: No OFD packet to send [04:34:30]OFD Sender: No OFD packet to send [04:34:35]OFD Sender: No OFD packet to send [04:34:40]OFD Sender: No OFD packet to send [04:34:45]OFD Sender: No OFD packet to send [04:34:50]OFD Sender: No OFD packet to send [04:34:55]OFD Sender: No OFD packet to send [04:35:00]OFD Sender: No OFD packet to send [04:35:05]OFD Sender: No OFD packet to send [04:35:10]OFD Sender: No OFD packet to send [04:35:15]OFD Sender: No OFD packet to send [04:35:20]OFD Sender: No OFD packet to send [04:35:25]OFD Sender: No OFD packet to send [04:35:30]OFD Sender: No OFD packet to send [04:35:35]OFD Sender: No OFD packet to send [04:35:40]OFD Sender: No OFD packet to send [04:35:45]OFD Sender: No OFD packet to send [04:35:50]OFD Sender: No OFD packet to send [04:35:55]OFD Sender: No OFD packet to send [04:36:00]OFD Sender: No OFD packet to send [04:36:05]OFD Sender: No OFD packet to send [04:36:10]OFD Sender: No OFD packet to send [04:36:15]OFD Sender: No OFD packet to send [04:36:20]OFD Sender: No OFD packet to send [04:36:25]OFD Sender: No OFD packet to send [04:36:30]OFD Sender: No OFD packet to send [04:36:35]OFD Sender: No OFD packet to send [04:36:40]OFD Sender: No OFD packet to send [04:36:45]OFD Sender: No OFD packet to send [04:36:50]OFD Sender: No OFD packet to send [04:36:55]OFD Sender: No OFD packet to send [04:37:00]OFD Sender: No OFD packet to send [04:37:05]OFD Sender: No OFD packet to send [04:37:10]OFD Sender: No OFD packet to send [04:37:15]OFD Sender: No OFD packet to send [04:37:20]OFD Sender: No OFD packet to send [04:37:25]OFD Sender: No OFD packet to send [04:37:30]OFD Sender: No OFD packet to send [04:37:35]OFD Sender: No OFD packet to send [04:37:40]OFD Sender: No OFD packet to send [04:37:45]OFD Sender: No OFD packet to send [04:37:50]OFD Sender: No OFD packet to send [04:37:55]OFD Sender: No OFD packet to send [04:38:00]OFD Sender: No OFD packet to send [04:38:05]OFD Sender: No OFD packet to send [04:38:10]OFD Sender: No OFD packet to send [04:38:15]OFD Sender: No OFD packet to send [04:38:20]OFD Sender: No OFD packet to send [04:38:25]OFD Sender: No OFD packet to send [04:38:30]OFD Sender: No OFD packet to send [04:38:35]OFD Sender: No OFD packet to send [04:38:40]OFD Sender: No OFD packet to send [04:38:45]OFD Sender: No OFD packet to send [04:38:50]OFD Sender: No OFD packet to send [04:38:55]OFD Sender: No OFD packet to send [04:39:00]OFD Sender: No OFD packet to send [04:39:05]OFD Sender: No OFD packet to send [04:39:10]OFD Sender: No OFD packet to send [04:39:15]OFD Sender: No OFD packet to send [04:39:20]OFD Sender: No OFD packet to send [04:39:25]OFD Sender: No OFD packet to send [04:39:30]OFD Sender: No OFD packet to send [04:39:35]OFD Sender: No OFD packet to send [04:39:40]OFD Sender: No OFD packet to send [04:39:45]OFD Sender: No OFD packet to send [04:39:50]OFD Sender: No OFD packet to send [04:39:55]OFD Sender: No OFD packet to send [04:40:00]OFD Sender: No OFD packet to send [04:40:05]OFD Sender: No OFD packet to send [04:40:10]OFD Sender: No OFD packet to send [04:40:15]OFD Sender: No OFD packet to send [04:40:20]OFD Sender: No OFD packet to send [04:40:25]OFD Sender: No OFD packet to send [04:40:30]OFD Sender: No OFD packet to send [04:40:35]OFD Sender: No OFD packet to send [04:40:40]OFD Sender: No OFD packet to send [04:40:45]OFD Sender: No OFD packet to send [04:40:50]OFD Sender: No OFD packet to send [04:40:55]OFD Sender: No OFD packet to send [04:41:00]OFD Sender: No OFD packet to send [04:41:05]OFD Sender: No OFD packet to send [04:41:10]OFD Sender: No OFD packet to send [04:41:15]OFD Sender: No OFD packet to send [04:41:20]OFD Sender: No OFD packet to send [04:41:25]OFD Sender: No OFD packet to send [04:41:30]OFD Sender: No OFD packet to send [04:41:35]OFD Sender: No OFD packet to send [04:41:40]OFD Sender: No OFD packet to send [04:41:45]OFD Sender: No OFD packet to send [04:41:50]OFD Sender: No OFD packet to send [04:41:55]OFD Sender: No OFD packet to send [04:42: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:46]OFD Sender: No OFD packet to send [04:59:51]OFD Sender: No OFD packet to send [04:59:56]OFD Sender: No OFD packet to send [05:00:01]OFD Sender: No OFD packet to send [05:00:06]OFD Sender: No OFD packet to send [05:00:11]OFD Sender: No OFD packet to send [05:00:16]OFD Sender: No OFD packet to send [05:00:21]OFD Sender: No OFD packet to send [05:00:26]OFD Sender: No OFD packet to send [05:00:31]OFD Sender: No OFD packet to send [05:00:36]OFD Sender: No OFD packet to send [05:00:41]OFD Sender: No OFD packet to send [05:00: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:28]OFD Sender: No OFD packet to send [05:19:33]OFD Sender: No OFD packet to send [05:19:38]OFD Sender: No OFD packet to send [05:19:43]OFD Sender: No OFD packet to send [05:19:48]OFD Sender: No OFD packet to send [05:19:53]OFD Sender: No OFD packet to send [05:19:58]OFD Sender: No OFD packet to send [05:20:03]OFD Sender: No OFD packet to send [05:20:08]OFD Sender: No OFD packet to send [05:20:13]OFD Sender: No OFD packet to send [05:20:18]OFD Sender: No OFD packet to send [05:20:23]OFD Sender: No OFD packet to send [05:20:28]OFD Sender: No OFD packet to send [05:20:33]OFD Sender: No OFD packet to send [05:20:38]OFD Sender: No OFD packet to send [05:20:43]OFD Sender: No OFD packet to send [05:20:48]OFD Sender: No OFD packet to send [05:20:53]OFD Sender: No OFD packet to send [05:20:58]OFD Sender: No OFD packet to send [05:21:03]OFD Sender: No OFD packet to send [05:21:08]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:09]OFD Sender: No OFD packet to send [05:38:14]OFD Sender: No OFD packet to send [05:38:19]OFD Sender: No OFD packet to send [05:38:24]OFD Sender: No OFD packet to send [05:38:29]OFD Sender: No OFD packet to send [05:38:34]OFD Sender: No OFD packet to send [05:38:39]OFD Sender: No OFD packet to send [05:38:44]OFD Sender: No OFD packet to send [05:38:49]OFD Sender: No OFD packet to send [05:38:54]OFD Sender: No OFD packet to send [05:38:59]OFD Sender: No OFD packet to send [05:39:04]OFD Sender: No OFD packet to send [05:39:09]OFD Sender: No OFD packet to send [05:39:14]OFD Sender: No OFD packet to send [05:39:19]OFD Sender: No OFD packet to send [05:39:24]OFD Sender: No OFD packet to send [05:39:29]OFD Sender: No OFD packet to send [05:39:34]OFD Sender: No OFD packet to send [05:39:39]OFD Sender: No OFD packet to send [05:39:44]OFD Sender: No OFD packet to send [05:39:49]OFD Sender: No OFD packet to send [05:39:54]OFD Sender: No OFD packet to send [05:39:59]OFD Sender: No OFD packet to send [05:40:04]OFD Sender: No OFD packet to send [05:40:09]OFD Sender: No OFD packet to send [05:40:14]OFD Sender: No OFD packet to send [05:40:19]OFD Sender: No OFD packet to send [05:40:24]OFD Sender: No OFD packet to send [05:40:29]OFD Sender: No OFD packet to send [05:40:34]OFD Sender: No OFD packet to send [05:40:39]OFD Sender: No OFD packet to send [05:40:44]OFD Sender: No OFD packet to send [05:40:49]OFD Sender: No OFD packet to send [05:40:54]OFD Sender: No OFD packet to send [05:40:59]OFD Sender: No OFD packet to send [05:41:04]OFD Sender: No OFD packet to send [05:41:09]OFD Sender: No OFD packet to send [05:41:14]OFD Sender: No OFD packet to send [05:41:19]OFD Sender: No OFD packet to send [05:41:24]OFD Sender: No OFD packet to send [05:41:29]OFD Sender: No OFD packet to send [05:41:34]OFD Sender: No OFD packet to send [05:41:39]OFD Sender: No OFD packet to send [05:41:44]OFD Sender: No OFD packet to send [05:41:46]accept exits with 9 [05:41:46]New connection [05:41:46]New thread 3067297124 created [05:41:46]Thread 3067440484 joined [05:41:46]Waiting for new connection... [05:41:46] Sock 9.Parse request [05:41:46]Sock 9.Check first char [05:41:46]Sock 9.First char is OK [05:41:46]request: POST /json_proto HTTP/1.0 [05:41:46]Method: POST [05:41:46]URL: /json_proto [05:41:46]Method is POST - this is cgi request [05:41:46]url: /json_proto [05:41:46]query_string will be loaded in cgi processing [05:41:46]execute_cgi json_proto POST (null) [05:41:46]execute_cgi path=json_proto method=POST [05:41:46]POST find Content-Length [05:41:46]Host: 172.17.40.196:8080 [05:41:46]Content-Length: 751 [05:41:46]Content-Type: application/json [05:41:46] [05:41:46]POST finish read [05:41:46]Found Content-Length = 751 [05:41:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35061", "tax_sys" : 0, "items" : [ { "code": "4607015235333", "name": "\u041F\u0440\u044F\u043D\u0438\u043A\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0432\u0430\u0440\u0435\u043D\u043E\u0439 \u0441\u0433\u0443\u0449\u0435\u043D\u043A\u043E\u0439 350\u0433", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:41:46]execute_script... [05:41: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)35061", "tax_sys" : 0, "items" : [ { "code": "4607015235333", "name": "\u041F\u0440\u044F\u043D\u0438\u043A\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0432\u0430\u0440\u0435\u043D\u043E\u0439 \u0441\u0433\u0443\u0449\u0435\u043D\u043A\u043E\u0439 350\u0433", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:41:46]POST & json_proto [05:41:46]process_json_proto [05:41:46]json parsed OK: [05:41:46]protocol is kg_v1.0 [05:41:46]action value=close_receipt [05:41:46]process_action close_receipt [05:41:46]cmd_close_receipt [05:41:46]MH_GetDate [05:41:46]Write to MH i2c: F0 00 00 9F 18 A6 [05:41:46]Write i2c OK [05:41:46]MH_I2C_Read... [05:41:46]Read from MH i2c: F0 [05:41:46]MH_I2C_Read... [05:41:46]Read from MH i2c: F0 09 00 [05:41:46]MH_I2C_Read... [05:41:46]Read from MH i2c: F0 09 00 9F 18 00 20 24 1F 67 5B 68 A1 66 43 [05:41:46]GetLastDocTimeStamp 1730087135 [05:41:46]current date 1730094112 [05:41:46]FM_GetShiftState [05:41:46]SAM_PROTO_GetShiftState [05:41:46]wFMCommunicate request_size=4 [05:41:46]MH_SAM_APDU [05:41:46]CAPDU: 80 13 01 00 [05:41:46]Write to MH i2c: E2 08 00 A0 18 80 13 01 00 00 00 00 00 35 [05:41:46]Write i2c OK [05:41:46]MH_I2C_Read... [05:41:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:41:46]Read from MH i2c: E2 [05:41:46]MH_I2C_Read... [05:41:46]Read from MH i2c: E2 0E 00 [05:41:46]MH_I2C_Read... [05:41:46]Read from MH i2c: E2 0E 00 A0 18 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 B7 [05:41:46]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [05:41:46]wFMCommunicate OK [05:41:46]SAM_PROTO_GetShiftState done [05:41:46]FM_GetShiftState done [05:41:46]opened in 1730073884 [05:41:46]opened+sec_in_day 1730160284 [05:41:46]quantity*price = 14900 [05:41:46]sum+1 = 14901 [05:41:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 149.00 НСП 1% : 1.32 НДС 12% : 15.82 Наличными: 149.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 7 28.10.2024 05:41 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37764 ФПД: 124109951069606 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T054152&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37764&fm=124109951069606&tin=02508201610067®Number=0000000000091684&sum=14900 0 [05:41:47]StoreToDocumentArchive [05:41:47]shift 551 fd 37764 [05:41:47]save to /storage/0551/doc_00037764 [05:41:47]save last doc name /storage/0551/doc_00037764 to /storage/kkm_last_doc_name [05:41:47]save OK [05:41:47]Clear old archive folders... [05:41:47]ProcessDocumentItem done err = 0, tmpTLVsize=312 [05:41:47]tlvbuf is 00262900 [05:41:47]SAM_PROTO_ClearQueue [05:41:47]wFMCommunicate request_size=4 [05:41:47]MH_SAM_APDU [05:41:47]CAPDU: 80 09 00 00 [05:41:47]Write to MH i2c: E2 08 00 AD 18 80 09 00 00 00 00 00 00 37 [05:41:47]Write i2c OK [05:41:47]MH_I2C_Read... [05:41:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:41:47]Read from MH i2c: E2 [05:41:47]MH_I2C_Read... [05:41:47]Read from MH i2c: E2 03 00 [05:41:47]MH_I2C_Read... [05:41:47]Read from MH i2c: E2 03 00 AD 18 00 90 00 39 [05:41:47]RAPDU: 90 00 [05:41:47]wFMCommunicate OK [05:41:47]SAM_PROTO_ClearQueue done [05:41:47]KKMCreateOFDPacket [05:41:47]OFDProtocolAddRootSTLVToBuf [05:41:47]FM_MakeSignedData [05:41:47]FM_MakeSignedData [05:41:47]SAM_PROTO_SignData [05:41:47]wFMCommunicate request_size=4 [05:41:47]MH_SAM_APDU [05:41:47]CAPDU: 80 0D 01 02 [05:41:47]Write to MH i2c: E2 08 00 AE 18 80 0D 01 02 00 00 00 00 3F [05:41:47]Write i2c OK [05:41:47]MH_I2C_Read... [05:41:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:41:47]Read from MH i2c: E2 [05:41:47]MH_I2C_Read... [05:41:47]Read from MH i2c: E2 03 00 [05:41:47]MH_I2C_Read... [05:41:47]Read from MH i2c: E2 03 00 AE 18 00 90 00 3A [05:41:47]RAPDU: 90 00 [05:41:47]wFMCommunicate OK [05:41:47]wFMCommunicate request_size=255 [05:41:47]MH_SAM_APDU [05:41:47]CAPDU: 80 0D 02 02 FA 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 33 33 33 06 04 46 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 20 24 1F 67 0E 04 04 00 27 [05:41:47]Write to MH i2c: E2 02 01 AF 18 80 0D 02 02 FA 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 33 33 33 06 04 46 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 20 24 1F 67 0E 04 04 00 27 00 00 F6 [05:41:47]Write i2c OK [05:41:47]MH_I2C_Read... [05:41:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:41:48]Read from MH i2c: E2 [05:41:48]MH_I2C_Read... [05:41:48]Read from MH i2c: E2 03 00 [05:41:48]MH_I2C_Read... [05:41:48]Read from MH i2c: E2 03 00 AF 18 00 90 00 3B [05:41:48]RAPDU: 90 00 [05:41:48]wFMCommunicate OK [05:41:48]wFMCommunicate request_size=71 [05:41:48]MH_SAM_APDU [05:41:48]CAPDU: 80 0D 02 02 42 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 84 93 00 00 35 04 06 00 70 E0 99 8B ED A6 [05:41:48]Write to MH i2c: E2 4A 00 B0 18 80 0D 02 02 42 00 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 84 93 00 00 35 04 06 00 70 E0 99 8B ED A6 00 00 7B [05:41:48]Write i2c OK [05:41:48]MH_I2C_Read... [05:41:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:41:48]Read from MH i2c: E2 [05:41:48]MH_I2C_Read... [05:41:48]Read from MH i2c: E2 03 00 [05:41:48]MH_I2C_Read... [05:41:48]Read from MH i2c: E2 03 00 B0 18 00 90 00 3C [05:41:48]RAPDU: 90 00 [05:41:48]wFMCommunicate OK [05:41:48]wFMCommunicate request_size=4 [05:41:48]MH_SAM_APDU [05:41:48]CAPDU: 80 0D 03 02 [05:41:48]Write to MH i2c: E2 08 00 B1 18 80 0D 03 02 00 00 00 00 44 [05:41:48]Write i2c OK [05:41:48]MH_I2C_Read... [05:41:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:41:48]Read from MH i2c: E2 [05:41:48]MH_I2C_Read... [05:41:48]Read from MH i2c: E2 0B 00 [05:41:48]MH_I2C_Read... [05:41:48]Read from MH i2c: E2 0B 00 B1 18 00 7C 07 09 4E C8 5D DE 4D 90 00 6F [05:41:48]RAPDU: 7C 07 09 4E C8 5D DE 4D 90 00 [05:41:48]wFMCommunicate OK [05:41:48]SAM_PROTO_SignData done [05:41:48]FM_MakeSignedData done [05:41:48]CreateOFDProtocolMessage [05:41:48]wFMCommunicate request_size=4 [05:41:48]MH_SAM_APDU [05:41:48]CAPDU: 80 11 00 00 [05:41:48]Write to MH i2c: E2 08 00 B2 18 80 11 00 00 00 00 00 00 44 [05:41:48]Write i2c OK [05:41:48]MH_I2C_Read... [05:41:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:41:48]Read from MH i2c: E2 [05:41:48]MH_I2C_Read... [05:41:48]Read from MH i2c: E2 17 00 [05:41:48]MH_I2C_Read... [05:41:48]Read from MH i2c: E2 17 00 B2 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 94 [05:41:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [05:41:48]wFMCommunicate OK [05:41:48]CreateOFDProtocolMessage done [05:41:48]OFDSenderStorePacket 37764 [05:41:48]StoreOFDPacket docnum=37764 [05:41:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4C 01 00 00 45 36 44 01 8E 98 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 33 33 33 06 04 46 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 20 24 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 84 93 00 00 35 04 06 00 70 E0 99 8B ED A6 7C 07 09 4E C8 5D DE 4D [05:41:48]CheckFolder [05:41:48]dirname=/storage/ofd_packets [05:41:48]CheckFolder done [05:41:48]ProducePacketName [05:41:48]name=ofd_packets/00037764 [05:41:48]NVStorageSaveData ofd_packets/00037764 [05:41:48]File name is /storage/ofd_packets/00037764 [05:41:48]Write 362 bytes [05:41:48]NVStorageSaveData done [05:41:48]OFDSenderStorePacket done [05:41:48]KKMCreateOFDPacket done [05:41:48]NVStorageSaveData kkm_last_timestamp [05:41:48]File name is /storage/kkm_last_timestamp [05:41:48]Write 4 bytes [05:41:48]NVStorageSaveData done [05:41:48]ExternCall_PrintAddStr [05:41:48]wPrintStart [05:41:48]Write to MH i2c: 01 00 00 B3 18 CB [05:41:48]Write i2c OK [05:41:48]MH_I2C_Read... [05:41:48]Read from MH i2c: 01 [05:41:48]MH_I2C_Read... [05:41:48]Read from MH i2c: 01 07 00 [05:41:48]MH_I2C_Read... [05:41:48]Read from MH i2c: 01 07 00 B3 18 00 00 00 00 00 FF 0F E0 [05:41:48]RasterBufferAndPrint [05:41:48]line Счет N : (3)35061 [05:41:48]line ИНН: 02508201610067 [05:41:48]line Контрольно-Кассовый Чек [05:41:48]line ПРОДАЖА [05:41:48]line Товар: 4607015235333 [05:41:48]line Пряники Яшкино с вареной сгущенкой 350г [05:41:48]line 1.000 * 149.00 [05:41:48]line = 149.00 [05:41:48]line НДС 12% НСП 1% [05:41:48]line > о реализуемом товаре [05:41:48]line ИТОГО: 149.00 [05:41:48]line НСП 1% : 1.32 [05:41:48]line НДС 12% : 15.82 [05:41:48]line Наличными: 149.00 [05:41:48]line Безнал.: 0.00 [05:41:48]line Место: АЗС № 126 "Партнер Нефть" [05:41:48]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [05:41:48]line СНО: Общий режим [05:41:48]line Чек 7 28.10.2024 05:41 [05:41:48]line Смена: 551 ФФД: 1.0 [05:41:48]line ЗНМ: 0300000092 [05:41:48]line РНМ: 0000000000091684 [05:41:48]line Версия ККМ: 001 [05:41:48]line ФМ: 0000000000871841 [05:41:48]line ФД: 37764 [05:41:48]line ФПД: 124109951069606 [05:41:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T054152&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37764&fm=124109951069606&tin=02508201610067®Number=0000000000091684&sum=14900 [05:41:48]line 0 [05:41:48]OFD Sender: Processing packet 37764 [packets to send 42, broken 41] [05:41:48]ProducePacketName [05:41:48]name=ofd_packets/00037764 [05:41:48]OFD Sender: To server: pG, [05:41:48]CommunicateWithHost lk.salyk.kg:30040 [05:41:48]ConnectInit lk.salyk.kg [05:41:48]written 0, free lines is 4095 [05:41:49]Connected sock=11 [05:41: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 38 34 31 4C 01 00 00 45 36 44 01 8E 98 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 33 33 33 06 04 46 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 20 24 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 84 93 00 00 35 04 06 00 70 E0 99 8B ED A6 7C 07 09 4E C8 5D DE 4D [05:41:49]Write to MH i2c: 01 00 00 DC 18 F4 [05:41:49]Write i2c OK [05:41:49]MH_I2C_Read... [05:41:49]Read from MH i2c: 01 [05:41:49]MH_I2C_Read... [05:41:49]Read from MH i2c: 01 07 00 [05:41:49]MH_I2C_Read... [05:41:49]Read from MH i2c: 01 07 00 DC 18 00 00 00 00 00 B6 0C BD [05:41:49]RasterBufferAndPrint [05:41:49]line [05:41:49]line [05:41:49]line [05:41:49]line [05:41:49]line [05:41:49]written 0, free lines is 3258 [05:41:49]MH_Cut [05:41:49]Write to MH i2c: D1 01 00 E3 18 01 CD [05:41:49]Write i2c OK [05:41:49]MH_I2C_Read... [05:41:49]Read from MH i2c: D1 [05:41:49]MH_I2C_Read... [05:41:49]Read from MH i2c: D1 01 00 [05:41:49]MH_I2C_Read... [05:41:49]Read from MH i2c: D1 01 00 E3 18 00 CC [05:41:49]Write to MH i2c: 01 00 00 E4 18 FC [05:41:49]Write i2c OK [05:41:49]MH_I2C_Read... [05:41:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 E9 B6 47 00 0D 29 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 84 93 00 00 F4 03 04 00 16 CF 1E 67 B6 04 01 00 00 70 B4 5A EB 05 4B 79 B2 [05:41:49]CommunicateWithHost err = 0 [05:41:49]CheckOFDResponse [05:41:49]1017 (14) - 77093643461234 [05:41:49]1041 (16) - 0000000000871841 [05:41:49]1040 (4) - 37764 [05:41:49]1012 (4) - 27.10.2024 23:39 [05:41:49]1206 (1) - 0 [05:41:49]OFD Sender: Remove packet 37764 [05:41:49]ProducePacketName [05:41:49]name=ofd_packets/00037764 [05:41:49]NVStorageDeleteData [05:41:49]OFD Sender: No OFD packet to send [05:41:49]*** Cut start [05:41:49]*** Partial cut [05:41:49]*** CUTSNS_PIN = 1 [05:41:49]*** CUTSNS_PIN = 0 [05:41:50]*** Brake cut motor [05:41:50]Read from MH i2c: 01 [05:41:50]MH_I2C_Read... [05:41:50]*** Stop cut motor [05:41:50]*** Cut end [05:41:50]Read from MH i2c: 01 07 00 [05:41:50]MH_I2C_Read... [05:41:50]Read from MH i2c: 01 07 00 E4 18 00 00 00 00 00 FF 0F 11 [05:41:50]process_action close_receipt done [05:41:50]requested_data is exist [05:41:50]produce_requested_data [05:41:50]requested_item fm.sn is exist - process it [05:41:50]wFMCommunicate request_size=4 [05:41:50]MH_SAM_APDU [05:41:50]CAPDU: 80 11 00 00 [05:41:50]Write to MH i2c: E2 08 00 E5 18 80 11 00 00 00 00 00 00 77 [05:41:50]Write i2c OK [05:41:50]MH_I2C_Read... [05:41:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:41:50]Read from MH i2c: E2 [05:41:50]MH_I2C_Read... [05:41:50]Read from MH i2c: E2 17 00 [05:41:50]MH_I2C_Read... [05:41:50]Read from MH i2c: E2 17 00 E5 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 C7 [05:41:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [05:41:50]wFMCommunicate OK [05:41:50]requested_item fd.num is exist - process it [05:41:50]SAM_PROTO_GetFieldsCounters [05:41:50]wFMCommunicate request_size=4 [05:41:50]MH_SAM_APDU [05:41:50]CAPDU: 80 13 00 00 [05:41:50]Write to MH i2c: E2 08 00 E6 18 80 13 00 00 00 00 00 00 7A [05:41:50]Write i2c OK [05:41:50]MH_I2C_Read... [05:41:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:41:50]Read from MH i2c: E2 [05:41:50]MH_I2C_Read... [05:41:50]Read from MH i2c: E2 62 00 [05:41:50]MH_I2C_Read... [05:41:50]Read from MH i2c: E2 62 00 E6 18 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 84 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 F0 [05:41: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 84 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [05:41:50]wFMCommunicate OK [05:41:50]SAM_PROTO_GetFieldsCounters done [05:41:50]requested_item shift.num is exist - process it [05:41:50]requested_item shift.opened is exist - process it [05:41:50]req_shift_opened [05:41:50]FM_GetShiftState [05:41:50]SAM_PROTO_GetShiftState [05:41:50]wFMCommunicate request_size=4 [05:41:50]MH_SAM_APDU [05:41:50]CAPDU: 80 13 01 00 [05:41:50]Write to MH i2c: E2 08 00 E7 18 80 13 01 00 00 00 00 00 7C [05:41:50]Write i2c OK [05:41:50]MH_I2C_Read... [05:41:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:41:50]Read from MH i2c: E2 [05:41:50]MH_I2C_Read... [05:41:50]Read from MH i2c: E2 0E 00 [05:41:50]MH_I2C_Read... [05:41:50]Read from MH i2c: E2 0E 00 E7 18 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 FE [05:41:50]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [05:41:50]wFMCommunicate OK [05:41:50]SAM_PROTO_GetShiftState done [05:41:50]FM_GetShiftState done [05:41:50]req_shift_opened done [05:41:50]requested_item shift.open_date is exist - process it [05:41:50]req_shift_open_date [05:41:50]req_shift_open_date done [05:41:50]produce_requested_data done [05:41:50]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37764,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [05:41:50]process_action_free close_receipt [05:41:50]json_value_free [05:41:50]json_value_free done [05:41:50]process_json_proto returns [05:41:50]Send response to host [05:41:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37764,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [05:41:50]free response buf [05:41:50]execute_script done [05:41:50]execute_script returns [05:41:50]free content buf [05:41:50]Sock 9.Close socket [05:41:50]Sock 9.Thread stoped [05:41:54]OFD Sender: No OFD packet to send [05:41:59]OFD Sender: No OFD packet to send [05:42:04]OFD Sender: No OFD packet to send [05:42:09]OFD Sender: No OFD packet to send [05:42:14]OFD Sender: No OFD packet to send [05:42:19]OFD Sender: No OFD packet to send [05:42:24]OFD Sender: No OFD packet to send [05:42:29]OFD Sender: No OFD packet to send [05:42:34]OFD Sender: No OFD packet to send [05:42:39]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:20]OFD Sender: No OFD packet to send [05:43:25]OFD Sender: No OFD packet to send [05:43:30]OFD Sender: No OFD packet to send [05:43:35]OFD Sender: No OFD packet to send [05:43:40]OFD Sender: No OFD packet to send [05:43:45]OFD Sender: No OFD packet to send [05:43:50]OFD Sender: No OFD packet to send [05:43:55]OFD Sender: No OFD packet to send [05:44:00]OFD Sender: No OFD packet to send [05:44:05]OFD Sender: No OFD packet to send [05:44:10]OFD Sender: No OFD packet to send [05:44:15]OFD Sender: No OFD packet to send [05:44:20]OFD Sender: No OFD packet to send [05:44:25]OFD Sender: No OFD packet to send [05:44:30]OFD Sender: No OFD packet to send [05:44:35]OFD Sender: No OFD packet to send [05:44:40]OFD Sender: No OFD packet to send [05:44:45]OFD Sender: No OFD packet to send [05:44:50]OFD Sender: No OFD packet to send [05:44:55]OFD Sender: No OFD packet to send [05:45:00]OFD Sender: No OFD packet to send [05:45:05]OFD Sender: No OFD packet to send [05:45:10]OFD Sender: No OFD packet to send [05:45:15]OFD Sender: No OFD packet to send [05:45:20]OFD Sender: No OFD packet to send [05:45:25]OFD Sender: No OFD packet to send [05:45:30]OFD Sender: No OFD packet to send [05:45:35]OFD Sender: No OFD packet to send [05:45:40]OFD Sender: No OFD packet to send [05:45:45]OFD Sender: No OFD packet to send [05:45:50]OFD Sender: No OFD packet to send [05:45:55]OFD Sender: No OFD packet to send [05:46:00]OFD Sender: No OFD packet to send [05:46:05]OFD Sender: No OFD packet to send [05:46:10]OFD Sender: No OFD packet to send [05:46:15]OFD Sender: No OFD packet to send [05:46:20]OFD Sender: No OFD packet to send [05:46:25]OFD Sender: No OFD packet to send [05:46:30]OFD Sender: No OFD packet to send [05:46:35]OFD Sender: No OFD packet to send [05:46:40]OFD Sender: No OFD packet to send [05:46:45]OFD Sender: No OFD packet to send [05:46:50]OFD Sender: No OFD packet to send [05:46:55]OFD Sender: No OFD packet to send [05:47:00]OFD Sender: No OFD packet to send [05:47:05]OFD Sender: No OFD packet to send [05:47:10]OFD Sender: No OFD packet to send [05:47:15]OFD Sender: No OFD packet to send [05:47:20]OFD Sender: No OFD packet to send [05:47:25]OFD Sender: No OFD packet to send [05:47:30]OFD Sender: No OFD packet to send [05:47:35]OFD Sender: No OFD packet to send [05:47:40]OFD Sender: No OFD packet to send [05:47:45]OFD Sender: No OFD packet to send [05:47:50]OFD Sender: No OFD packet to send [05:47:55]OFD Sender: No OFD packet to send [05:48:00]OFD Sender: No OFD packet to send [05:48:05]OFD Sender: No OFD packet to send [05:48:10]OFD Sender: No OFD packet to send [05:48:15]OFD Sender: No OFD packet to send [05:48:20]OFD Sender: No OFD packet to send [05:48:25]OFD Sender: No OFD packet to send [05:48:30]OFD Sender: No OFD packet to send [05:48:35]OFD Sender: No OFD packet to send [05:48:40]OFD Sender: No OFD packet to send [05:48:45]OFD Sender: No OFD packet to send [05:48:50]OFD Sender: No OFD packet to send [05:48:55]OFD Sender: No OFD packet to send [05:49:00]OFD Sender: No OFD packet to send [05:49:05]OFD Sender: No OFD packet to send [05:49:10]OFD Sender: No OFD packet to send [05:49:15]OFD Sender: No OFD packet to send [05:49:20]OFD Sender: No OFD packet to send [05:49:25]OFD Sender: No OFD packet to send [05:49:30]OFD Sender: No OFD packet to send [05:49:35]OFD Sender: No OFD packet to send [05:49:40]OFD Sender: No OFD packet to send [05:49:45]OFD Sender: No OFD packet to send [05:49:50]OFD Sender: No OFD packet to send [05:49:55]OFD Sender: No OFD packet to send [05:50:00]OFD Sender: No OFD packet to send [05:50:05]OFD Sender: No OFD packet to send [05:50:10]OFD Sender: No OFD packet to send [05:50:15]OFD Sender: No OFD packet to send [05:50:20]OFD Sender: No OFD packet to send [05:50:25]OFD Sender: No OFD packet to send [05:50:30]OFD Sender: No OFD packet to send [05:50:35]OFD Sender: No OFD packet to send [05:50:40]OFD Sender: No OFD packet to send [05:50:45]OFD Sender: No OFD packet to send [05:50:50]OFD Sender: No OFD packet to send [05:50:55]OFD Sender: No OFD packet to send [05:51:00]OFD Sender: No OFD packet to send [05:51:05]OFD Sender: No OFD packet to send [05:51:10]OFD Sender: No OFD packet to send [05:51:15]OFD Sender: No OFD packet to send [05:51:20]OFD Sender: No OFD packet to send [05:51:25]OFD Sender: No OFD packet to send [05:51:30]OFD Sender: No OFD packet to send [05:51:35]OFD Sender: No OFD packet to send [05:51:40]OFD Sender: No OFD packet to send [05:51:45]OFD Sender: No OFD packet to send [05:51:50]OFD Sender: No OFD packet to send [05:51:55]OFD Sender: No OFD packet to send [05:52:00]OFD Sender: No OFD packet to send [05:52:05]OFD Sender: No OFD packet to send [05:52:10]OFD Sender: No OFD packet to send [05:52:15]OFD Sender: No OFD packet to send [05:52:20]OFD Sender: No OFD packet to send [05:52:25]OFD Sender: No OFD packet to send [05:52:30]OFD Sender: No OFD packet to send [05:52:35]OFD Sender: No OFD packet to send [05:52:40]OFD Sender: No OFD packet to send [05:52:45]OFD Sender: No OFD packet to send [05:52:50]OFD Sender: No OFD packet to send [05:52:55]OFD Sender: No OFD packet to send [05:53:00]OFD Sender: No OFD packet to send [05:53:05]OFD Sender: No OFD packet to send [05:53:10]OFD Sender: No OFD packet to send [05:53:15]OFD Sender: No OFD packet to send [05:53:20]OFD Sender: No OFD packet to send [05:53:25]OFD Sender: No OFD packet to send [05:53:30]OFD Sender: No OFD packet to send [05:53:35]OFD Sender: No OFD packet to send [05:53:40]OFD Sender: No OFD packet to send [05:53:45]OFD Sender: No OFD packet to send [05:53:50]OFD Sender: No OFD packet to send [05:53:55]OFD Sender: No OFD packet to send [05:54:00]OFD Sender: No OFD packet to send [05:54:05]OFD Sender: No OFD packet to send [05:54:10]OFD Sender: No OFD packet to send [05:54:15]OFD Sender: No OFD packet to send [05:54:20]OFD Sender: No OFD packet to send [05:54:25]OFD Sender: No OFD packet to send [05:54:30]OFD Sender: No OFD packet to send [05:54:35]OFD Sender: No OFD packet to send [05:54:40]OFD Sender: No OFD packet to send [05:54:45]OFD Sender: No OFD packet to send [05:54:50]OFD Sender: No OFD packet to send [05:54:55]OFD Sender: No OFD packet to send [05:55:00]OFD Sender: No OFD packet to send [05:55:05]OFD Sender: No OFD packet to send [05:55:10]OFD Sender: No OFD packet to send [05:55:15]OFD Sender: No OFD packet to send [05:55:20]OFD Sender: No OFD packet to send [05:55:25]OFD Sender: No OFD packet to send [05:55:30]OFD Sender: No OFD packet to send [05:55:35]OFD Sender: No OFD packet to send [05:55:40]OFD Sender: No OFD packet to send [05:55:45]OFD Sender: No OFD packet to send [05:55:50]OFD Sender: No OFD packet to send [05:55:55]OFD Sender: No OFD packet to send [05:56:00]OFD Sender: No OFD packet to send [05:56:05]OFD Sender: No OFD packet to send [05:56:10]OFD Sender: No OFD packet to send [05:56:15]OFD Sender: No OFD packet to send [05:56:20]OFD Sender: No OFD packet to send [05:56:25]OFD Sender: No OFD packet to send [05:56:30]OFD Sender: No OFD packet to send [05:56:35]OFD Sender: No OFD packet to send [05:56:40]OFD Sender: No OFD packet to send [05:56:45]OFD Sender: No OFD packet to send [05:56:50]OFD Sender: No OFD packet to send [05:56:55]OFD Sender: No OFD packet to send [05:57:00]OFD Sender: No OFD packet to send [05:57:05]OFD Sender: No OFD packet to send [05:57:10]OFD Sender: No OFD packet to send [05:57:15]OFD Sender: No OFD packet to send [05:57:20]OFD Sender: No OFD packet to send [05:57:25]OFD Sender: No OFD packet to send [05:57:30]OFD Sender: No OFD packet to send [05:57:35]OFD Sender: No OFD packet to send [05:57:40]OFD Sender: No OFD packet to send [05:57:45]OFD Sender: No OFD packet to send [05:57:50]OFD Sender: No OFD packet to send [05:57:55]OFD Sender: No OFD packet to send [05:58:00]OFD Sender: No OFD packet to send [05:58:05]OFD Sender: No OFD packet to send [05:58:10]OFD Sender: No OFD packet to send [05:58:15]OFD Sender: No OFD packet to send [05:58:20]OFD Sender: No OFD packet to send [05:58:25]OFD Sender: No OFD packet to send [05:58:30]OFD Sender: No OFD packet to send [05:58:35]OFD Sender: No OFD packet to send [05:58:40]OFD Sender: No OFD packet to send [05:58:45]OFD Sender: No OFD packet to send [05:58:50]OFD Sender: No OFD packet to send [05:58:55]OFD Sender: No OFD packet to send [05:59:00]OFD Sender: No OFD packet to send [05:59:05]OFD Sender: No OFD packet to send [05:59:10]OFD Sender: No OFD packet to send [05:59:15]OFD Sender: No OFD packet to send [05:59:20]OFD Sender: No OFD packet to send [05:59:25]OFD Sender: No OFD packet to send [05:59:30]OFD Sender: No OFD packet to send [05:59:35]OFD Sender: No OFD packet to send [05:59:40]OFD Sender: No OFD packet to send [05:59:45]OFD Sender: No OFD packet to send [05:59:50]OFD Sender: No OFD packet to send [05:59:55]OFD Sender: No OFD packet to send [06:00:00]OFD Sender: No OFD packet to send [06:00:05]OFD Sender: No OFD packet to send [06:00:10]OFD Sender: No OFD packet to send [06:00:15]OFD Sender: No OFD packet to send [06:00:20]OFD Sender: No OFD packet to send [06:00:25]OFD Sender: No OFD packet to send [06:00:30]OFD Sender: No OFD packet to send [06:00:35]OFD Sender: No OFD packet to send [06:00:40]OFD Sender: No OFD packet to send [06:00:45]OFD Sender: No OFD packet to send [06:00:50]OFD Sender: No OFD packet to send [06:00:55]OFD Sender: No OFD packet to send [06:01:00]OFD Sender: No OFD packet to send [06:01:05]OFD Sender: No OFD packet to send [06:01:10]OFD Sender: No OFD packet to send [06:01:15]OFD Sender: No OFD packet to send [06:01:20]OFD Sender: No OFD packet to send [06:01:25]OFD Sender: No OFD packet to send [06:01:30]OFD Sender: No OFD packet to send [06:01:35]OFD Sender: No OFD packet to send [06:01:40]OFD Sender: No OFD packet to send [06:01:45]OFD Sender: No OFD packet to send [06:01:50]OFD Sender: No OFD packet to send [06:01:55]OFD Sender: No OFD packet to send [06:02:00]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:51]OFD Sender: No OFD packet to send [06:15:56]OFD Sender: No OFD packet to send [06:16:01]OFD Sender: No OFD packet to send [06:16:06]OFD Sender: No OFD packet to send [06:16:11]OFD Sender: No OFD packet to send [06:16:16]OFD Sender: No OFD packet to send [06:16:21]OFD Sender: No OFD packet to send [06:16:26]OFD Sender: No OFD packet to send [06:16:31]OFD Sender: No OFD packet to send [06:16:36]OFD Sender: No OFD packet to send [06:16:41]OFD Sender: No OFD packet to send [06:16:46]OFD Sender: No OFD packet to send [06:16:51]OFD Sender: No OFD packet to send [06:16:56]OFD Sender: No OFD packet to send [06:17:01]OFD Sender: No OFD packet to send [06:17:06]OFD Sender: No OFD packet to send [06:17:11]OFD Sender: No OFD packet to send [06:17:16]OFD Sender: No OFD packet to send [06:17:21]OFD Sender: No OFD packet to send [06:17:26]OFD Sender: No OFD packet to send [06:17:31]OFD Sender: No OFD packet to send [06:17:36]OFD Sender: No OFD packet to send [06:17:41]OFD Sender: No OFD packet to send [06:17:46]OFD Sender: No OFD packet to send [06:17:51]OFD Sender: No OFD packet to send [06:17:56]OFD Sender: No OFD packet to send [06:18:01]OFD Sender: No OFD packet to send [06:18:06]OFD Sender: No OFD packet to send [06:18:11]OFD Sender: No OFD packet to send [06:18:16]OFD Sender: No OFD packet to send [06:18:21]OFD Sender: No OFD packet to send [06:18:26]OFD Sender: No OFD packet to send [06:18:31]OFD Sender: No OFD packet to send [06:18:36]OFD Sender: No OFD packet to send [06:18:41]OFD Sender: No OFD packet to send [06:18:46]OFD Sender: No OFD packet to send [06:18:51]OFD Sender: No OFD packet to send [06:18:56]OFD Sender: No OFD packet to send [06:19:01]OFD Sender: No OFD packet to send [06:19:06]OFD Sender: No OFD packet to send [06:19:11]OFD Sender: No OFD packet to send [06:19:16]OFD Sender: No OFD packet to send [06:19:21]OFD Sender: No OFD packet to send [06:19:26]OFD Sender: No OFD packet to send [06:19:31]OFD Sender: No OFD packet to send [06:19:36]OFD Sender: No OFD packet to send [06:19:41]OFD Sender: No OFD packet to send [06:19:46]OFD Sender: No OFD packet to send [06:19:51]OFD Sender: No OFD packet to send [06:19:56]OFD Sender: No OFD packet to send [06:20:01]OFD Sender: No OFD packet to send [06:20:06]OFD Sender: No OFD packet to send [06:20:11]OFD Sender: No OFD packet to send [06:20:16]OFD Sender: No OFD packet to send [06:20:21]OFD Sender: No OFD packet to send [06:20:26]OFD Sender: No OFD packet to send [06:20:31]OFD Sender: No OFD packet to send [06:20:36]OFD Sender: No OFD packet to send [06:20:41]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:27]OFD Sender: No OFD packet to send [06:37:32]OFD Sender: No OFD packet to send [06:37:37]OFD Sender: No OFD packet to send [06:37:42]OFD Sender: No OFD packet to send [06:37:47]OFD Sender: No OFD packet to send [06:37:52]OFD Sender: No OFD packet to send [06:37:57]OFD Sender: No OFD packet to send [06:38:02]OFD Sender: No OFD packet to send [06:38:07]OFD Sender: No OFD packet to send [06:38:12]OFD Sender: No OFD packet to send [06:38:17]OFD Sender: No OFD packet to send [06:38:22]OFD Sender: No OFD packet to send [06:38:27]OFD Sender: No OFD packet to send [06:38:32]OFD Sender: No OFD packet to send [06:38:37]OFD Sender: No OFD packet to send [06:38:42]OFD Sender: No OFD packet to send [06:38:47]OFD Sender: No OFD packet to send [06:38:52]OFD Sender: No OFD packet to send [06:38:57]OFD Sender: No OFD packet to send [06:39:02]OFD Sender: No OFD packet to send [06:39:07]OFD Sender: No OFD packet to send [06:39:12]OFD Sender: No OFD packet to send [06:39:17]OFD Sender: No OFD packet to send [06:39:22]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:54:26]ConnectInit Can't connect to host [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:19]OFD Sender: No OFD packet to send [06:58:24]OFD Sender: No OFD packet to send [06:58:29]OFD Sender: No OFD packet to send [06:58:34]OFD Sender: No OFD packet to send [06:58:39]OFD Sender: No OFD packet to send [06:58:44]OFD Sender: No OFD packet to send [06:58:49]OFD Sender: No OFD packet to send [06:58:54]OFD Sender: No OFD packet to send [06:58:59]OFD Sender: No OFD packet to send [06:59:04]OFD Sender: No OFD packet to send [06:59:09]OFD Sender: No OFD packet to send [06:59:14]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:17:00]OFD Sender: No OFD packet to send [07:17:05]OFD Sender: No OFD packet to send [07:17:10]OFD Sender: No OFD packet to send [07:17:15]OFD Sender: No OFD packet to send [07:17:20]OFD Sender: No OFD packet to send [07:17:25]OFD Sender: No OFD packet to send [07:17:30]OFD Sender: No OFD packet to send [07:17:35]OFD Sender: No OFD packet to send [07:17:40]OFD Sender: No OFD packet to send [07:17:45]OFD Sender: No OFD packet to send [07:17:50]OFD Sender: No OFD packet to send [07:17:55]OFD Sender: No OFD packet to send [07:18:00]OFD Sender: No OFD packet to send [07:18:05]OFD Sender: No OFD packet to send [07:18:10]OFD Sender: No OFD packet to send [07:18:15]OFD Sender: No OFD packet to send [07:18:20]OFD Sender: No OFD packet to send [07:18:25]OFD Sender: No OFD packet to send [07:18:30]OFD Sender: No OFD packet to send [07:18:35]OFD Sender: No OFD packet to send [07:18:40]OFD Sender: No OFD packet to send [07:18:45]OFD Sender: No OFD packet to send [07:18:50]OFD Sender: No OFD packet to send [07:18:55]OFD Sender: No OFD packet to send [07:19:00]OFD Sender: No OFD packet to send [07:19:05]OFD Sender: No OFD packet to send [07:19:10]OFD Sender: No OFD packet to send [07:19:15]OFD Sender: No OFD packet to send [07:19:20]OFD Sender: No OFD packet to send [07:19:25]OFD Sender: No OFD packet to send [07:19:30]OFD Sender: No OFD packet to send [07:19:35]OFD Sender: No OFD packet to send [07:19:40]OFD Sender: No OFD packet to send [07:19:45]OFD Sender: No OFD packet to send [07:19:50]OFD Sender: No OFD packet to send [07:19:55]OFD Sender: No OFD packet to send [07:20:00]OFD Sender: No OFD packet to send [07:20:05]OFD Sender: No OFD packet to send [07:20:10]OFD Sender: No OFD packet to send [07:20:15]OFD Sender: No OFD packet to send [07:20:20]OFD Sender: No OFD packet to send [07:20:25]OFD Sender: No OFD packet to send [07:20:30]OFD Sender: No OFD packet to send [07:20:35]OFD Sender: No OFD packet to send [07:20:40]OFD Sender: No OFD packet to send [07:20:45]OFD Sender: No OFD packet to send [07:20:50]OFD Sender: No OFD packet to send [07:20:55]OFD Sender: No OFD packet to send [07:21:00]OFD Sender: No OFD packet to send [07:21:05]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:55]OFD Sender: No OFD packet to send [07:30:00]OFD Sender: No OFD packet to send [07:30:05]OFD Sender: No OFD packet to send [07:30:10]OFD Sender: No OFD packet to send [07:30:15]OFD Sender: No OFD packet to send [07:30:20]OFD Sender: No OFD packet to send [07:30:25]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:53]accept exits with 7 [07:32:53]New connection [07:32:53]New thread 3067440484 created [07:32:53]Thread 3067297124 joined [07:32:53]Waiting for new connection... [07:32:53] Sock 7.Parse request [07:32:53]Sock 7.Check first char [07:32:53]Sock 7.First char is OK [07:32:53]request: POST /json_proto HTTP/1.0 [07:32:53]Method: POST [07:32:53]URL: /json_proto [07:32:53]Method is POST - this is cgi request [07:32:53]url: /json_proto [07:32:53]query_string will be loaded in cgi processing [07:32:53]execute_cgi json_proto POST (null) [07:32:53]execute_cgi path=json_proto method=POST [07:32:53]POST find Content-Length [07:32:53]Host: 172.17.40.196:8080 [07:32:53]Content-Length: 644 [07:32:53]Content-Type: application/json [07:32:53] [07:32:53]POST finish read [07:32:53]Found Content-Length = 644 [07:32:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35062", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\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" ] } } [07:32:53]execute_script... [07:32:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35062", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\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" ] } } [07:32:53]POST & json_proto [07:32:53]process_json_proto [07:32:53]json parsed OK: [07:32:53]protocol is kg_v1.0 [07:32:53]action value=close_receipt [07:32:53]process_action close_receipt [07:32:53]cmd_close_receipt [07:32:53]MH_GetDate [07:32:53]Write to MH i2c: F0 00 00 E8 18 EF [07:32:53]Write i2c OK [07:32:53]MH_I2C_Read... [07:32:53]Read from MH i2c: F0 [07:32:53]MH_I2C_Read... [07:32:53]Read from MH i2c: F0 09 00 [07:32:53]MH_I2C_Read... [07:32:53]Read from MH i2c: F0 09 00 E8 18 00 2B 3E 1F 67 5B 68 A1 66 B1 [07:32:53]GetLastDocTimeStamp 1730094112 [07:32:53]current date 1730100779 [07:32:53]FM_GetShiftState [07:32:53]SAM_PROTO_GetShiftState [07:32:53]wFMCommunicate request_size=4 [07:32:53]MH_SAM_APDU [07:32:53]CAPDU: 80 13 01 00 [07:32:53]Write to MH i2c: E2 08 00 E9 18 80 13 01 00 00 00 00 00 7E [07:32:53]Write i2c OK [07:32:53]MH_I2C_Read... [07:32:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:32:53]Read from MH i2c: E2 [07:32:53]MH_I2C_Read... [07:32:53]Read from MH i2c: E2 0E 00 [07:32:53]MH_I2C_Read... [07:32:53]Read from MH i2c: E2 0E 00 E9 18 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 00 [07:32:53]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [07:32:53]wFMCommunicate OK [07:32:53]SAM_PROTO_GetShiftState done [07:32:53]FM_GetShiftState done [07:32:53]opened in 1730073884 [07:32:53]opened+sec_in_day 1730160284 [07:32:53]quantity*price = 6500 [07:32:53]sum+1 = 6501 [07:32:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 8 28.10.2024 07:32 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37765 ФПД: 68726796428160 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T073259&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37765&fm=68726796428160&tin=02508201610067®Number=0000000000091684&sum=6500 0 [07:32:54]StoreToDocumentArchive [07:32:54]shift 551 fd 37765 [07:32:54]save to /storage/0551/doc_00037765 [07:32:54]save last doc name /storage/0551/doc_00037765 to /storage/kkm_last_doc_name [07:32:54]save OK [07:32:54]Clear old archive folders... [07:32:54]ProcessDocumentItem done err = 0, tmpTLVsize=272 [07:32:54]tlvbuf is 002444D0 [07:32:54]SAM_PROTO_ClearQueue [07:32:54]wFMCommunicate request_size=4 [07:32:54]MH_SAM_APDU [07:32:54]CAPDU: 80 09 00 00 [07:32:54]Write to MH i2c: E2 08 00 F6 18 80 09 00 00 00 00 00 00 80 [07:32:54]Write i2c OK [07:32:54]MH_I2C_Read... [07:32:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:32:54]Read from MH i2c: E2 [07:32:54]MH_I2C_Read... [07:32:54]Read from MH i2c: E2 03 00 [07:32:54]MH_I2C_Read... [07:32:54]Read from MH i2c: E2 03 00 F6 18 00 90 00 82 [07:32:54]RAPDU: 90 00 [07:32:54]wFMCommunicate OK [07:32:54]SAM_PROTO_ClearQueue done [07:32:54]KKMCreateOFDPacket [07:32:54]OFDProtocolAddRootSTLVToBuf [07:32:54]FM_MakeSignedData [07:32:54]FM_MakeSignedData [07:32:54]SAM_PROTO_SignData [07:32:54]wFMCommunicate request_size=4 [07:32:54]MH_SAM_APDU [07:32:54]CAPDU: 80 0D 01 02 [07:32:54]Write to MH i2c: E2 08 00 F7 18 80 0D 01 02 00 00 00 00 88 [07:32:54]Write i2c OK [07:32:54]MH_I2C_Read... [07:32:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:32:54]Read from MH i2c: E2 [07:32:54]MH_I2C_Read... [07:32:54]Read from MH i2c: E2 03 00 [07:32:54]MH_I2C_Read... [07:32:54]Read from MH i2c: E2 03 00 F7 18 00 90 00 83 [07:32:54]RAPDU: 90 00 [07:32:54]wFMCommunicate OK [07:32:54]wFMCommunicate request_size=255 [07:32:54]MH_SAM_APDU [07:32:54]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 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 08 00 00 00 F4 03 04 00 2B 3E 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [07:32:54]Write to MH i2c: E2 02 01 F8 18 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 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 08 00 00 00 F4 03 04 00 2B 3E 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 F7 [07:32:54]Write i2c OK [07:32:54]MH_I2C_Read... [07:32:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:32:55]Read from MH i2c: E2 [07:32:55]MH_I2C_Read... [07:32:55]Read from MH i2c: E2 03 00 [07:32:55]MH_I2C_Read... [07:32:55]Read from MH i2c: E2 03 00 F8 18 00 90 00 84 [07:32:55]RAPDU: 90 00 [07:32:55]wFMCommunicate OK [07:32:55]wFMCommunicate request_size=31 [07:32:55]MH_SAM_APDU [07:32:55]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 85 93 00 00 35 04 06 00 3E 81 B4 49 A3 80 [07:32:55]Write to MH i2c: E2 22 00 F9 18 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 85 93 00 00 35 04 06 00 3E 81 B4 49 A3 80 00 00 AA [07:32:55]Write i2c OK [07:32:55]MH_I2C_Read... [07:32:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:32:55]Read from MH i2c: E2 [07:32:55]MH_I2C_Read... [07:32:55]Read from MH i2c: E2 03 00 [07:32:55]MH_I2C_Read... [07:32:55]Read from MH i2c: E2 03 00 F9 18 00 90 00 85 [07:32:55]RAPDU: 90 00 [07:32:55]wFMCommunicate OK [07:32:55]wFMCommunicate request_size=4 [07:32:55]MH_SAM_APDU [07:32:55]CAPDU: 80 0D 03 02 [07:32:55]Write to MH i2c: E2 08 00 FA 18 80 0D 03 02 00 00 00 00 8D [07:32:55]Write i2c OK [07:32:55]MH_I2C_Read... [07:32:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:32:55]Read from MH i2c: E2 [07:32:55]MH_I2C_Read... [07:32:55]Read from MH i2c: E2 0B 00 [07:32:55]MH_I2C_Read... [07:32:55]Read from MH i2c: E2 0B 00 FA 18 00 B3 93 76 8D 9A 69 E1 AC 90 00 67 [07:32:55]RAPDU: B3 93 76 8D 9A 69 E1 AC 90 00 [07:32:55]wFMCommunicate OK [07:32:55]SAM_PROTO_SignData done [07:32:55]FM_MakeSignedData done [07:32:55]CreateOFDProtocolMessage [07:32:55]wFMCommunicate request_size=4 [07:32:55]MH_SAM_APDU [07:32:55]CAPDU: 80 11 00 00 [07:32:55]Write to MH i2c: E2 08 00 FB 18 80 11 00 00 00 00 00 00 8D [07:32:55]Write i2c OK [07:32:55]MH_I2C_Read... [07:32:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:32:55]Read from MH i2c: E2 [07:32:55]MH_I2C_Read... [07:32:55]Read from MH i2c: E2 17 00 [07:32:55]MH_I2C_Read... [07:32:55]Read from MH i2c: E2 17 00 FB 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 DD [07:32:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [07:32:55]wFMCommunicate OK [07:32:55]CreateOFDProtocolMessage done [07:32:55]OFDSenderStorePacket 37765 [07:32:55]StoreOFDPacket docnum=37765 [07:32:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 E1 C0 1C 01 C9 41 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 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 08 00 00 00 F4 03 04 00 2B 3E 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 85 93 00 00 35 04 06 00 3E 81 B4 49 A3 80 B3 93 76 8D 9A 69 E1 AC [07:32:55]CheckFolder [07:32:55]dirname=/storage/ofd_packets [07:32:55]CheckFolder done [07:32:55]ProducePacketName [07:32:55]name=ofd_packets/00037765 [07:32:55]NVStorageSaveData ofd_packets/00037765 [07:32:55]File name is /storage/ofd_packets/00037765 [07:32:55]Write 322 bytes [07:32:55]NVStorageSaveData done [07:32:55]OFDSenderStorePacket done [07:32:55]KKMCreateOFDPacket done [07:32:55]NVStorageSaveData kkm_last_timestamp [07:32:55]File name is /storage/kkm_last_timestamp [07:32:55]Write 4 bytes [07:32:55]NVStorageSaveData done [07:32:55]OFD Sender: Processing packet 37765 [packets to send 42, broken 41] [07:32:55]ProducePacketName [07:32:55]name=ofd_packets/00037765 [07:32:55]OFD Sender: To server: pG, [07:32:55]CommunicateWithHost lk.salyk.kg:30040 [07:32:55]ConnectInit lk.salyk.kg [07:32:55]ExternCall_PrintAddStr [07:32:55]wPrintStart [07:32:55]Write to MH i2c: 01 00 00 FC 18 14 [07:32:55]Write i2c OK [07:32:55]MH_I2C_Read... [07:32:55]Read from MH i2c: 01 [07:32:55]MH_I2C_Read... [07:32:55]Read from MH i2c: 01 07 00 [07:32:55]MH_I2C_Read... [07:32:55]Read from MH i2c: 01 07 00 FC 18 00 00 00 00 00 FF 0F 29 [07:32:55]RasterBufferAndPrint [07:32:55]line Счет N : (3)35062 [07:32:55]line ИНН: 02508201610067 [07:32:55]line Контрольно-Кассовый Чек [07:32:55]line ПРОДАЖА [07:32:55]line Товар: 47011656 [07:32:55]line Водка Пшеничная 0,1л [07:32:55]line 1.000 * 65.00 [07:32:55]line = 65.00 [07:32:55]line НДС 12% НСП 1% [07:32:55]line > о реализуемом товаре [07:32:55]line ИТОГО: 65.00 [07:32:55]line НСП 1% : 0.57 [07:32:55]line НДС 12% : 6.90 [07:32:55]line Наличными: 65.00 [07:32:55]line Безнал.: 0.00 [07:32:55]line Место: АЗС № 126 "Партнер Нефть" [07:32:55]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [07:32:55]line СНО: Общий режим [07:32:55]line Чек 8 28.10.2024 07:32 [07:32:55]line Смена: 551 ФФД: 1.0 [07:32:55]line ЗНМ: 0300000092 [07:32:55]line РНМ: 0000000000091684 [07:32:55]line Версия ККМ: 001 [07:32:55]line ФМ: 0000000000871841 [07:32:55]line ФД: 37765 [07:32:55]line ФПД: 68726796428160 [07:32:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T073259&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37765&fm=68726796428160&tin=02508201610067®Number=0000000000091684&sum=6500 [07:32:55]line 0 [07:32:55]Connected sock=11 [07:32:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 E1 C0 1C 01 C9 41 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 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 08 00 00 00 F4 03 04 00 2B 3E 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 85 93 00 00 35 04 06 00 3E 81 B4 49 A3 80 B3 93 76 8D 9A 69 E1 AC [07:32:55]written 0, free lines is 4095 [07:32:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 6A D7 47 00 0B 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 38 34 31 10 04 04 00 85 93 00 00 F4 03 04 00 21 E9 1E 67 B6 04 01 00 00 5C C3 E3 61 D1 61 B3 A3 [07:32:55]CommunicateWithHost err = 0 [07:32:55]CheckOFDResponse [07:32:55]1017 (14) - 77093643461234 [07:32:55]1041 (16) - 0000000000871841 [07:32:55]1040 (4) - 37765 [07:32:55]1012 (4) - 28.10.2024 01:30 [07:32:55]1206 (1) - 0 [07:32:55]OFD Sender: Remove packet 37765 [07:32:55]ProducePacketName [07:32:55]name=ofd_packets/00037765 [07:32:55]NVStorageDeleteData [07:32:55]Write to MH i2c: 01 00 00 24 19 3D [07:32:55]Write i2c OK [07:32:55]MH_I2C_Read... [07:32:55]Read from MH i2c: 01 [07:32:55]MH_I2C_Read... [07:32:55]Read from MH i2c: 01 07 00 [07:32:55]MH_I2C_Read... [07:32:55]Read from MH i2c: 01 07 00 24 19 00 00 00 00 00 BE 0C 0E [07:32:55]RasterBufferAndPrint [07:32:55]line [07:32:55]line [07:32:55]line [07:32:55]line [07:32:55]line [07:32:55]written 0, free lines is 3268 [07:32:55]MH_Cut [07:32:55]Write to MH i2c: D1 01 00 2B 19 01 16 [07:32:55]Write i2c OK [07:32:55]MH_I2C_Read... [07:32:55]Read from MH i2c: D1 [07:32:55]MH_I2C_Read... [07:32:55]Read from MH i2c: D1 01 00 [07:32:55]MH_I2C_Read... [07:32:55]Read from MH i2c: D1 01 00 2B 19 00 15 [07:32:55]Write to MH i2c: 01 00 00 2C 19 45 [07:32:55]Write i2c OK [07:32:55]MH_I2C_Read... [07:32:56]OFD Sender: No OFD packet to send [07:32:56]*** Cut start [07:32:56]*** Partial cut [07:32:56]*** CUTSNS_PIN = 1 [07:32:56]*** CUTSNS_PIN = 0 [07:32:57]*** Brake cut motor [07:32:57]Read from MH i2c: 01 [07:32:57]MH_I2C_Read... [07:32:57]*** Stop cut motor [07:32:57]*** Cut end [07:32:57]Read from MH i2c: 01 07 00 [07:32:57]MH_I2C_Read... [07:32:57]Read from MH i2c: 01 07 00 2C 19 00 00 00 00 00 FF 0F 5A [07:32:57]process_action close_receipt done [07:32:57]requested_data is exist [07:32:57]produce_requested_data [07:32:57]requested_item fm.sn is exist - process it [07:32:57]wFMCommunicate request_size=4 [07:32:57]MH_SAM_APDU [07:32:57]CAPDU: 80 11 00 00 [07:32:57]Write to MH i2c: E2 08 00 2D 19 80 11 00 00 00 00 00 00 C0 [07:32:57]Write i2c OK [07:32:57]MH_I2C_Read... [07:32:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:32:57]Read from MH i2c: E2 [07:32:57]MH_I2C_Read... [07:32:57]Read from MH i2c: E2 17 00 [07:32:57]MH_I2C_Read... [07:32:57]Read from MH i2c: E2 17 00 2D 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 10 [07:32:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [07:32:57]wFMCommunicate OK [07:32:57]requested_item fd.num is exist - process it [07:32:57]SAM_PROTO_GetFieldsCounters [07:32:57]wFMCommunicate request_size=4 [07:32:57]MH_SAM_APDU [07:32:57]CAPDU: 80 13 00 00 [07:32:57]Write to MH i2c: E2 08 00 2E 19 80 13 00 00 00 00 00 00 C3 [07:32:57]Write i2c OK [07:32:57]MH_I2C_Read... [07:32:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:32:57]Read from MH i2c: E2 [07:32:57]MH_I2C_Read... [07:32:57]Read from MH i2c: E2 62 00 [07:32:57]MH_I2C_Read... [07:32:57]Read from MH i2c: E2 62 00 2E 19 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 85 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 3D [07:32:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 85 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:32:57]wFMCommunicate OK [07:32:57]SAM_PROTO_GetFieldsCounters done [07:32:57]requested_item shift.num is exist - process it [07:32:57]requested_item shift.opened is exist - process it [07:32:57]req_shift_opened [07:32:57]FM_GetShiftState [07:32:57]SAM_PROTO_GetShiftState [07:32:57]wFMCommunicate request_size=4 [07:32:57]MH_SAM_APDU [07:32:57]CAPDU: 80 13 01 00 [07:32:57]Write to MH i2c: E2 08 00 2F 19 80 13 01 00 00 00 00 00 C5 [07:32:57]Write i2c OK [07:32:57]MH_I2C_Read... [07:32:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:32:57]Read from MH i2c: E2 [07:32:57]MH_I2C_Read... [07:32:57]Read from MH i2c: E2 0E 00 [07:32:57]MH_I2C_Read... [07:32:57]Read from MH i2c: E2 0E 00 2F 19 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 47 [07:32:57]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [07:32:57]wFMCommunicate OK [07:32:57]SAM_PROTO_GetShiftState done [07:32:57]FM_GetShiftState done [07:32:57]req_shift_opened done [07:32:57]requested_item shift.open_date is exist - process it [07:32:57]req_shift_open_date [07:32:57]req_shift_open_date done [07:32:57]produce_requested_data done [07:32:57]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37765,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [07:32:57]process_action_free close_receipt [07:32:57]json_value_free [07:32:57]json_value_free done [07:32:57]process_json_proto returns [07:32:57]Send response to host [07:32:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37765,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [07:32:57]free response buf [07:32:57]execute_script done [07:32:57]execute_script returns [07:32:57]free content buf [07:32:57]Sock 7.Close socket [07:32:57]Sock 7.Thread stoped [07:33:01]OFD Sender: No OFD packet to send [07:33:06]OFD Sender: No OFD packet to send [07:33:11]OFD Sender: No OFD packet to send [07:33:16]OFD Sender: No OFD packet to send [07:33:21]OFD Sender: No OFD packet to send [07:33:26]OFD Sender: No OFD packet to send [07:33:31]OFD Sender: No OFD packet to send [07:33:36]OFD Sender: No OFD packet to send [07:33:41]OFD Sender: No OFD packet to send [07:33:46]OFD Sender: No OFD packet to send [07:33:51]OFD Sender: No OFD packet to send [07:33:56]OFD Sender: No OFD packet to send [07:34:01]OFD Sender: No OFD packet to send [07:34:06]OFD Sender: No OFD packet to send [07:34:11]OFD Sender: No OFD packet to send [07:34:16]OFD Sender: No OFD packet to send [07:34:21]OFD Sender: No OFD packet to send [07:34:26]OFD Sender: No OFD packet to send [07:34:31]OFD Sender: No OFD packet to send [07:34:36]OFD Sender: No OFD packet to send [07:34:41]OFD Sender: No OFD packet to send [07:34:46]OFD Sender: No OFD packet to send [07:34:51]OFD Sender: No OFD packet to send [07:34:56]OFD Sender: No OFD packet to send [07:35:01]OFD Sender: No OFD packet to send [07:35:06]OFD Sender: No OFD packet to send [07:35:11]OFD Sender: No OFD packet to send [07:35:16]OFD Sender: No OFD packet to send [07:35:21]OFD Sender: No OFD packet to send [07:35:26]OFD Sender: No OFD packet to send [07:35:31]OFD Sender: No OFD packet to send [07:35:36]OFD Sender: No OFD packet to send [07:35:41]OFD Sender: No OFD packet to send [07:35:46]OFD Sender: No OFD packet to send [07:35:51]OFD Sender: No OFD packet to send [07:35:56]OFD Sender: No OFD packet to send [07:36:01]OFD Sender: No OFD packet to send [07:36:06]OFD Sender: No OFD packet to send [07:36:11]OFD Sender: No OFD packet to send [07:36:16]OFD Sender: No OFD packet to send [07:36:21]OFD Sender: No OFD packet to send [07:36:26]OFD Sender: No OFD packet to send [07:36:31]OFD Sender: No OFD packet to send [07:36:36]OFD Sender: No OFD packet to send [07:36:41]OFD Sender: No OFD packet to send [07:36:46]OFD Sender: No OFD packet to send [07:36:51]OFD Sender: No OFD packet to send [07:36:56]OFD Sender: No OFD packet to send [07:37:01]OFD Sender: No OFD packet to send [07:37:06]OFD Sender: No OFD packet to send [07:37:11]OFD Sender: No OFD packet to send [07:37:16]OFD Sender: No OFD packet to send [07:37:21]OFD Sender: No OFD packet to send [07:37:26]OFD Sender: No OFD packet to send [07:37:31]OFD Sender: No OFD packet to send [07:37:36]OFD Sender: No OFD packet to send [07:37:41]OFD Sender: No OFD packet to send [07:37:46]OFD Sender: No OFD packet to send [07:37:51]OFD Sender: No OFD packet to send [07:37:56]OFD Sender: No OFD packet to send [07:38:01]OFD Sender: No OFD packet to send [07:38:06]OFD Sender: No OFD packet to send [07:38:11]OFD Sender: No OFD packet to send [07:38:16]OFD Sender: No OFD packet to send [07:38:21]OFD Sender: No OFD packet to send [07:38:26]OFD Sender: No OFD packet to send [07:38:31]OFD Sender: No OFD packet to send [07:38:36]OFD Sender: No OFD packet to send [07:38:41]OFD Sender: No OFD packet to send [07:38:46]OFD Sender: No OFD packet to send [07:38:51]OFD Sender: No OFD packet to send [07:38:56]OFD Sender: No OFD packet to send [07:39:01]OFD Sender: No OFD packet to send [07:39:06]OFD Sender: No OFD packet to send [07:39:11]OFD Sender: No OFD packet to send [07:39:16]OFD Sender: No OFD packet to send [07:39:21]OFD Sender: No OFD packet to send [07:39:26]OFD Sender: No OFD packet to send [07:39:31]OFD Sender: No OFD packet to send [07:39:36]OFD Sender: No OFD packet to send [07:39:41]OFD Sender: No OFD packet to send [07:39:46]OFD Sender: No OFD packet to send [07:39:51]OFD Sender: No OFD packet to send [07:39:56]OFD Sender: No OFD packet to send [07:40:01]OFD Sender: No OFD packet to send [07:40:06]OFD Sender: No OFD packet to send [07:40:11]OFD Sender: No OFD packet to send [07:40:16]OFD Sender: No OFD packet to send [07:40:21]OFD Sender: No OFD packet to send [07:40:26]OFD Sender: No OFD packet to send [07:40:31]OFD Sender: No OFD packet to send [07:40:36]OFD Sender: No OFD packet to send [07:40:41]OFD Sender: No OFD packet to send [07:40:46]OFD Sender: No OFD packet to send [07:40:51]OFD Sender: No OFD packet to send [07:40:56]OFD Sender: No OFD packet to send [07:41:01]OFD Sender: No OFD packet to send [07:41:06]OFD Sender: No OFD packet to send [07:41:11]OFD Sender: No OFD packet to send [07:41:16]OFD Sender: No OFD packet to send [07:41:21]OFD Sender: No OFD packet to send [07:41:26]OFD Sender: No OFD packet to send [07:41:31]OFD Sender: No OFD packet to send [07:41:36]OFD Sender: No OFD packet to send [07:41:41]OFD Sender: No OFD packet to send [07:41:46]OFD Sender: No OFD packet to send [07:41:51]OFD Sender: No OFD packet to send [07:41:56]OFD Sender: No OFD packet to send [07:41:58]accept exits with 9 [07:41:58]New connection [07:41:58]New thread 3067297124 created [07:41:58]Thread 3067440484 joined [07:41:58]Waiting for new connection... [07:41:58] Sock 9.Parse request [07:41:58]Sock 9.Check first char [07:41:58]Sock 9.First char is OK [07:41:58]request: POST /json_proto HTTP/1.0 [07:41:58]Method: POST [07:41:58]URL: /json_proto [07:41:58]Method is POST - this is cgi request [07:41:58]url: /json_proto [07:41:58]query_string will be loaded in cgi processing [07:41:58]execute_cgi json_proto POST (null) [07:41:58]execute_cgi path=json_proto method=POST [07:41:58]POST find Content-Length [07:41:58]Host: 172.17.40.196:8080 [07:41:58]Content-Length: 643 [07:41:58]Content-Type: application/json [07:41:58] [07:41:58]POST finish read [07:41:58]Found Content-Length = 643 [07:41:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35063", "tax_sys" : 0, "items" : [ { "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:41:58]execute_script... [07:41: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)35063", "tax_sys" : 0, "items" : [ { "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:41:58]POST & json_proto [07:41:58]process_json_proto [07:41:58]json parsed OK: [07:41:58]protocol is kg_v1.0 [07:41:58]action value=close_receipt [07:41:58]process_action close_receipt [07:41:58]cmd_close_receipt [07:41:58]MH_GetDate [07:41:58]Write to MH i2c: F0 00 00 30 19 38 [07:41:58]Write i2c OK [07:41:58]MH_I2C_Read... [07:41:58]Read from MH i2c: F0 [07:41:58]MH_I2C_Read... [07:41:58]Read from MH i2c: F0 09 00 [07:41:58]MH_I2C_Read... [07:41:58]Read from MH i2c: F0 09 00 30 19 00 4C 40 1F 67 5B 68 A1 66 1D [07:41:58]GetLastDocTimeStamp 1730100779 [07:41:58]current date 1730101324 [07:41:58]FM_GetShiftState [07:41:58]SAM_PROTO_GetShiftState [07:41:58]wFMCommunicate request_size=4 [07:41:58]MH_SAM_APDU [07:41:58]CAPDU: 80 13 01 00 [07:41:58]Write to MH i2c: E2 08 00 31 19 80 13 01 00 00 00 00 00 C7 [07:41:58]Write i2c OK [07:41:58]MH_I2C_Read... [07:41:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:41:58]Read from MH i2c: E2 [07:41:58]MH_I2C_Read... [07:41:58]Read from MH i2c: E2 0E 00 [07:41:58]MH_I2C_Read... [07:41:58]Read from MH i2c: E2 0E 00 31 19 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 49 [07:41:58]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [07:41:58]wFMCommunicate OK [07:41:58]SAM_PROTO_GetShiftState done [07:41:58]FM_GetShiftState done [07:41:58]opened in 1730073884 [07:41:58]opened+sec_in_day 1730160284 [07:41:58]quantity*price = 5000 [07:41:58]sum+1 = 5001 [07:41:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 9 28.10.2024 07:42 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37766 ФПД: 198152021405294 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T074204&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37766&fm=198152021405294&tin=02508201610067®Number=0000000000091684&sum=5000 0 [07:41:59]StoreToDocumentArchive [07:41:59]shift 551 fd 37766 [07:41:59]save to /storage/0551/doc_00037766 [07:41:59]save last doc name /storage/0551/doc_00037766 to /storage/kkm_last_doc_name [07:41:59]save OK [07:41:59]Clear old archive folders... [07:41:59]ProcessDocumentItem done err = 0, tmpTLVsize=275 [07:41:59]tlvbuf is 002624F0 [07:41:59]SAM_PROTO_ClearQueue [07:41:59]wFMCommunicate request_size=4 [07:41:59]MH_SAM_APDU [07:41:59]CAPDU: 80 09 00 00 [07:41:59]Write to MH i2c: E2 08 00 3E 19 80 09 00 00 00 00 00 00 C9 [07:41:59]Write i2c OK [07:41:59]MH_I2C_Read... [07:41:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:41:59]Read from MH i2c: E2 [07:41:59]MH_I2C_Read... [07:41:59]Read from MH i2c: E2 03 00 [07:41:59]MH_I2C_Read... [07:41:59]Read from MH i2c: E2 03 00 3E 19 00 90 00 CB [07:41:59]RAPDU: 90 00 [07:41:59]wFMCommunicate OK [07:41:59]SAM_PROTO_ClearQueue done [07:41:59]KKMCreateOFDPacket [07:41:59]OFDProtocolAddRootSTLVToBuf [07:41:59]FM_MakeSignedData [07:41:59]FM_MakeSignedData [07:41:59]SAM_PROTO_SignData [07:41:59]wFMCommunicate request_size=4 [07:41:59]MH_SAM_APDU [07:41:59]CAPDU: 80 0D 01 02 [07:41:59]Write to MH i2c: E2 08 00 3F 19 80 0D 01 02 00 00 00 00 D1 [07:41:59]Write i2c OK [07:41:59]MH_I2C_Read... [07:41:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:41:59]Read from MH i2c: E2 [07:41:59]MH_I2C_Read... [07:41:59]Read from MH i2c: E2 03 00 [07:41:59]MH_I2C_Read... [07:41:59]Read from MH i2c: E2 03 00 3F 19 00 90 00 CC [07:41:59]RAPDU: 90 00 [07:41:59]wFMCommunicate OK [07:41:59]wFMCommunicate request_size=255 [07:41:59]MH_SAM_APDU [07:41:59]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 4C 40 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 [07:41:59]Write to MH i2c: E2 02 01 40 19 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 4C 40 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 00 00 79 [07:41:59]Write i2c OK [07:41:59]MH_I2C_Read... [07:41:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:41:59]Read from MH i2c: E2 [07:41:59]MH_I2C_Read... [07:41:59]Read from MH i2c: E2 03 00 [07:41:59]MH_I2C_Read... [07:41:59]Read from MH i2c: E2 03 00 40 19 00 90 00 CD [07:41:59]RAPDU: 90 00 [07:41:59]wFMCommunicate OK [07:41:59]wFMCommunicate request_size=34 [07:41:59]MH_SAM_APDU [07:41:59]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 86 93 00 00 35 04 06 00 B4 37 DC D8 EE 6E [07:41:59]Write to MH i2c: E2 25 00 41 19 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 86 93 00 00 35 04 06 00 B4 37 DC D8 EE 6E 00 00 A6 [07:41:59]Write i2c OK [07:41:59]MH_I2C_Read... [07:41:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:41:59]Read from MH i2c: E2 [07:41:59]MH_I2C_Read... [07:41:59]Read from MH i2c: E2 03 00 [07:41:59]MH_I2C_Read... [07:41:59]Read from MH i2c: E2 03 00 41 19 00 90 00 CE [07:41:59]RAPDU: 90 00 [07:41:59]wFMCommunicate OK [07:41:59]wFMCommunicate request_size=4 [07:41:59]MH_SAM_APDU [07:41:59]CAPDU: 80 0D 03 02 [07:41:59]Write to MH i2c: E2 08 00 42 19 80 0D 03 02 00 00 00 00 D6 [07:41:59]Write i2c OK [07:41:59]MH_I2C_Read... [07:42:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:42:00]Read from MH i2c: E2 [07:42:00]MH_I2C_Read... [07:42:00]Read from MH i2c: E2 0B 00 [07:42:00]MH_I2C_Read... [07:42:00]Read from MH i2c: E2 0B 00 42 19 00 A7 A7 91 DD 85 99 68 6B 90 00 84 [07:42:00]RAPDU: A7 A7 91 DD 85 99 68 6B 90 00 [07:42:00]wFMCommunicate OK [07:42:00]SAM_PROTO_SignData done [07:42:00]FM_MakeSignedData done [07:42:00]CreateOFDProtocolMessage [07:42:00]wFMCommunicate request_size=4 [07:42:00]MH_SAM_APDU [07:42:00]CAPDU: 80 11 00 00 [07:42:00]Write to MH i2c: E2 08 00 43 19 80 11 00 00 00 00 00 00 D6 [07:42:00]Write i2c OK [07:42:00]MH_I2C_Read... [07:42:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:42:00]Read from MH i2c: E2 [07:42:00]MH_I2C_Read... [07:42:00]Read from MH i2c: E2 17 00 [07:42:00]MH_I2C_Read... [07:42:00]Read from MH i2c: E2 17 00 43 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 26 [07:42:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [07:42:00]wFMCommunicate OK [07:42:00]CreateOFDProtocolMessage done [07:42:00]OFDSenderStorePacket 37766 [07:42:00]StoreOFDPacket docnum=37766 [07:42:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 27 01 00 00 36 CA 1F 01 0D 8A 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 4C 40 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 86 93 00 00 35 04 06 00 B4 37 DC D8 EE 6E A7 A7 91 DD 85 99 68 6B [07:42:00]CheckFolder [07:42:00]dirname=/storage/ofd_packets [07:42:00]CheckFolder done [07:42:00]ProducePacketName [07:42:00]name=ofd_packets/00037766 [07:42:00]NVStorageSaveData ofd_packets/00037766 [07:42:00]File name is /storage/ofd_packets/00037766 [07:42:00]Write 325 bytes [07:42:00]NVStorageSaveData done [07:42:00]OFDSenderStorePacket done [07:42:00]KKMCreateOFDPacket done [07:42:00]NVStorageSaveData kkm_last_timestamp [07:42:00]File name is /storage/kkm_last_timestamp [07:42:00]Write 4 bytes [07:42:00]NVStorageSaveData done [07:42:00]ExternCall_PrintAddStr [07:42:00]wPrintStart [07:42:00]Write to MH i2c: 01 00 00 44 19 5D [07:42:00]Write i2c OK [07:42:00]MH_I2C_Read... [07:42:00]Read from MH i2c: 01 [07:42:00]MH_I2C_Read... [07:42:00]Read from MH i2c: 01 07 00 [07:42:00]MH_I2C_Read... [07:42:00]Read from MH i2c: 01 07 00 44 19 00 00 00 00 00 FF 0F 72 [07:42:00]RasterBufferAndPrint [07:42:00]line Счет N : (3)35063 [07:42:00]line ИНН: 02508201610067 [07:42:00]line Контрольно-Кассовый Чек [07:42:00]line ПРОДАЖА [07:42:00]line Товар: 5449000005489 [07:42:00]line Вода Бонаква 1л б/г [07:42:00]line 1.000 * 50.00 [07:42:00]line = 50.00 [07:42:00]line НДС 12% НСП 1% [07:42:00]line > о реализуемом товаре [07:42:00]line ИТОГО: 50.00 [07:42:00]line НСП 1% : 0.44 [07:42:00]line НДС 12% : 5.31 [07:42:00]line Наличными: 50.00 [07:42:00]line Безнал.: 0.00 [07:42:00]line Место: АЗС № 126 "Партнер Нефть" [07:42:00]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [07:42:00]line СНО: Общий режим [07:42:00]line Чек 9 28.10.2024 07:42 [07:42:00]line Смена: 551 ФФД: 1.0 [07:42:00]line ЗНМ: 0300000092 [07:42:00]line РНМ: 0000000000091684 [07:42:00]line Версия ККМ: 001 [07:42:00]line ФМ: 0000000000871841 [07:42:00]line ФД: 37766 [07:42:00]line ФПД: 198152021405294 [07:42:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T074204&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37766&fm=198152021405294&tin=02508201610067®Number=0000000000091684&sum=5000 [07:42:00]line 0 [07:42:00]written 0, free lines is 4095 [07:42:00]OFD Sender: Processing packet 37766 [packets to send 42, broken 41] [07:42:00]ProducePacketName [07:42:00]name=ofd_packets/00037766 [07:42:00]OFD Sender: To server: pG, [07:42:00]CommunicateWithHost lk.salyk.kg:30040 [07:42:00]ConnectInit lk.salyk.kg [07:42:00]Connected sock=10 [07:42:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 27 01 00 00 36 CA 1F 01 0D 8A 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 4C 40 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 86 93 00 00 35 04 06 00 B4 37 DC D8 EE 6E A7 A7 91 DD 85 99 68 6B [07:42:00]Write to MH i2c: 01 00 00 6C 19 85 [07:42:00]Write i2c OK [07:42:00]MH_I2C_Read... [07:42:00]Read from MH i2c: 01 [07:42:00]MH_I2C_Read... [07:42:00]Read from MH i2c: 01 07 00 [07:42:00]MH_I2C_Read... [07:42:00]Read from MH i2c: 01 07 00 6C 19 00 00 00 00 00 B5 0C 4D [07:42:00]RasterBufferAndPrint [07:42:00]line [07:42:00]line [07:42:00]line [07:42:00]line [07:42:00]line [07:42:00]written 0, free lines is 3257 [07:42:00]MH_Cut [07:42:00]Write to MH i2c: D1 01 00 73 19 01 5E [07:42:00]Write i2c OK [07:42:00]MH_I2C_Read... [07:42:00]Read from MH i2c: D1 [07:42:00]MH_I2C_Read... [07:42:00]Read from MH i2c: D1 01 00 [07:42:00]MH_I2C_Read... [07:42:00]Read from MH i2c: D1 01 00 73 19 00 5D [07:42:00]Write to MH i2c: 01 00 00 74 19 8D [07:42:00]Write i2c OK [07:42:00]MH_I2C_Read... [07:42:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 9E E6 47 00 BD 75 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 86 93 00 00 F4 03 04 00 42 EB 1E 67 B6 04 01 00 00 A2 F3 D5 51 7B 37 DB 08 [07:42:00]CommunicateWithHost err = 0 [07:42:00]CheckOFDResponse [07:42:00]1017 (14) - 77093643461234 [07:42:00]1041 (16) - 0000000000871841 [07:42:00]1040 (4) - 37766 [07:42:00]1012 (4) - 28.10.2024 01:39 [07:42:00]1206 (1) - 0 [07:42:00]OFD Sender: Remove packet 37766 [07:42:00]ProducePacketName [07:42:00]name=ofd_packets/00037766 [07:42:00]NVStorageDeleteData [07:42:01]OFD Sender: No OFD packet to send [07:42:01]*** Cut start [07:42:01]*** Partial cut [07:42:01]*** CUTSNS_PIN = 1 [07:42:01]*** CUTSNS_PIN = 0 [07:42:01]*** Brake cut motor [07:42:02]Read from MH i2c: 01 [07:42:02]MH_I2C_Read... [07:42:02]*** Stop cut motor [07:42:02]*** Cut end [07:42:02]Read from MH i2c: 01 07 00 [07:42:02]MH_I2C_Read... [07:42:02]Read from MH i2c: 01 07 00 74 19 00 00 00 00 00 FF 0F A2 [07:42:02]process_action close_receipt done [07:42:02]requested_data is exist [07:42:02]produce_requested_data [07:42:02]requested_item fm.sn is exist - process it [07:42:02]wFMCommunicate request_size=4 [07:42:02]MH_SAM_APDU [07:42:02]CAPDU: 80 11 00 00 [07:42:02]Write to MH i2c: E2 08 00 75 19 80 11 00 00 00 00 00 00 08 [07:42:02]Write i2c OK [07:42:02]MH_I2C_Read... [07:42:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:42:02]Read from MH i2c: E2 [07:42:02]MH_I2C_Read... [07:42:02]Read from MH i2c: E2 17 00 [07:42:02]MH_I2C_Read... [07:42:02]Read from MH i2c: E2 17 00 75 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 58 [07:42:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [07:42:02]wFMCommunicate OK [07:42:02]requested_item fd.num is exist - process it [07:42:02]SAM_PROTO_GetFieldsCounters [07:42:02]wFMCommunicate request_size=4 [07:42:02]MH_SAM_APDU [07:42:02]CAPDU: 80 13 00 00 [07:42:02]Write to MH i2c: E2 08 00 76 19 80 13 00 00 00 00 00 00 0B [07:42:02]Write i2c OK [07:42:02]MH_I2C_Read... [07:42:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:42:02]Read from MH i2c: E2 [07:42:02]MH_I2C_Read... [07:42:02]Read from MH i2c: E2 62 00 [07:42:02]MH_I2C_Read... [07:42:02]Read from MH i2c: E2 62 00 76 19 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 86 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 89 [07:42:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 86 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:42:02]wFMCommunicate OK [07:42:02]SAM_PROTO_GetFieldsCounters done [07:42:02]requested_item shift.num is exist - process it [07:42:02]requested_item shift.opened is exist - process it [07:42:02]req_shift_opened [07:42:02]FM_GetShiftState [07:42:02]SAM_PROTO_GetShiftState [07:42:02]wFMCommunicate request_size=4 [07:42:02]MH_SAM_APDU [07:42:02]CAPDU: 80 13 01 00 [07:42:02]Write to MH i2c: E2 08 00 77 19 80 13 01 00 00 00 00 00 0D [07:42:02]Write i2c OK [07:42:02]MH_I2C_Read... [07:42:02]Read from MH i2c: E2 [07:42:02]MH_I2C_Read... [07:42:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:42:02]Read from MH i2c: E2 0E 00 [07:42:02]MH_I2C_Read... [07:42:02]Read from MH i2c: E2 0E 00 77 19 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 8F [07:42:02]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [07:42:02]wFMCommunicate OK [07:42:02]SAM_PROTO_GetShiftState done [07:42:02]FM_GetShiftState done [07:42:02]req_shift_opened done [07:42:02]requested_item shift.open_date is exist - process it [07:42:02]req_shift_open_date [07:42:02]req_shift_open_date done [07:42:02]produce_requested_data done [07:42:02]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37766,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [07:42:02]process_action_free close_receipt [07:42:02]json_value_free [07:42:02]json_value_free done [07:42:02]process_json_proto returns [07:42:02]Send response to host [07:42:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37766,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [07:42:02]free response buf [07:42:02]execute_script done [07:42:02]execute_script returns [07:42:02]free content buf [07:42:02]Sock 9.Close socket [07:42:02]Sock 9.Thread stoped [07:42:06]OFD Sender: No OFD packet to send [07:42:11]OFD Sender: No OFD packet to send [07:42:16]OFD Sender: No OFD packet to send [07:42:21]OFD Sender: No OFD packet to send [07:42:26]OFD Sender: No OFD packet to send [07:42:31]OFD Sender: No OFD packet to send [07:42:33]accept exits with 7 [07:42:33]New connection [07:42:33]New thread 3067440484 created [07:42:33]Thread 3067297124 joined [07:42:33]Waiting for new connection... [07:42:33] Sock 7.Parse request [07:42:33]Sock 7.Check first char [07:42:33]Sock 7.First char is OK [07:42:33]request: POST /json_proto HTTP/1.0 [07:42:33]Method: POST [07:42:33]URL: /json_proto [07:42:33]Method is POST - this is cgi request [07:42:33]url: /json_proto [07:42:33]query_string will be loaded in cgi processing [07:42:33]execute_cgi json_proto POST (null) [07:42:33]execute_cgi path=json_proto method=POST [07:42:33]POST find Content-Length [07:42:33]Host: 172.17.40.196:8080 [07:42:33]Content-Length: 620 [07:42:33]Content-Type: application/json [07:42:33] [07:42:33]POST finish read [07:42:33]Found Content-Length = 620 [07:42:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35064", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:42:33]execute_script... [07:42: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)35064", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:42:33]POST & json_proto [07:42:33]process_json_proto [07:42:33]json parsed OK: [07:42:33]protocol is kg_v1.0 [07:42:33]action value=close_receipt [07:42:33]process_action close_receipt [07:42:33]cmd_close_receipt [07:42:33]MH_GetDate [07:42:33]Write to MH i2c: F0 00 00 78 19 80 [07:42:33]Write i2c OK [07:42:33]MH_I2C_Read... [07:42:33]Read from MH i2c: F0 [07:42:33]MH_I2C_Read... [07:42:33]Read from MH i2c: F0 09 00 [07:42:33]MH_I2C_Read... [07:42:33]Read from MH i2c: F0 09 00 78 19 00 6F 40 1F 67 5B 68 A1 66 88 [07:42:33]GetLastDocTimeStamp 1730101324 [07:42:33]current date 1730101359 [07:42:33]FM_GetShiftState [07:42:33]SAM_PROTO_GetShiftState [07:42:33]wFMCommunicate request_size=4 [07:42:33]MH_SAM_APDU [07:42:33]CAPDU: 80 13 01 00 [07:42:33]Write to MH i2c: E2 08 00 79 19 80 13 01 00 00 00 00 00 0F [07:42:33]Write i2c OK [07:42:33]MH_I2C_Read... [07:42:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:42:33]Read from MH i2c: E2 [07:42:33]MH_I2C_Read... [07:42:33]Read from MH i2c: E2 0E 00 [07:42:33]MH_I2C_Read... [07:42:33]Read from MH i2c: E2 0E 00 79 19 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 91 [07:42:33]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [07:42:33]wFMCommunicate OK [07:42:33]SAM_PROTO_GetShiftState done [07:42:33]FM_GetShiftState done [07:42:33]opened in 1730073884 [07:42:33]opened+sec_in_day 1730160284 [07:42:33]quantity*price = 14400 [07:42:33]sum+1 = 14401 [07:42:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 10 28.10.2024 07:42 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37767 ФПД: 7524450040733 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T074239&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37767&fm=7524450040733&tin=02508201610067®Number=0000000000091684&sum=14400 0 [07:42:34]StoreToDocumentArchive [07:42:34]shift 551 fd 37767 [07:42:34]save to /storage/0551/doc_00037767 [07:42:34]save last doc name /storage/0551/doc_00037767 to /storage/kkm_last_doc_name [07:42:34]save OK [07:42:34]Clear old archive folders... [07:42:34]ProcessDocumentItem done err = 0, tmpTLVsize=273 [07:42:34]tlvbuf is 00230630 [07:42:34]SAM_PROTO_ClearQueue [07:42:34]wFMCommunicate request_size=4 [07:42:34]MH_SAM_APDU [07:42:34]CAPDU: 80 09 00 00 [07:42:34]Write to MH i2c: E2 08 00 86 19 80 09 00 00 00 00 00 00 11 [07:42:34]Write i2c OK [07:42:34]MH_I2C_Read... [07:42:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:42:34]Read from MH i2c: E2 [07:42:34]MH_I2C_Read... [07:42:34]Read from MH i2c: E2 03 00 [07:42:34]MH_I2C_Read... [07:42:34]Read from MH i2c: E2 03 00 86 19 00 90 00 13 [07:42:34]RAPDU: 90 00 [07:42:34]wFMCommunicate OK [07:42:34]SAM_PROTO_ClearQueue done [07:42:34]KKMCreateOFDPacket [07:42:34]OFDProtocolAddRootSTLVToBuf [07:42:34]FM_MakeSignedData [07:42:34]FM_MakeSignedData [07:42:34]SAM_PROTO_SignData [07:42:34]wFMCommunicate request_size=4 [07:42:34]MH_SAM_APDU [07:42:34]CAPDU: 80 0D 01 02 [07:42:34]Write to MH i2c: E2 08 00 87 19 80 0D 01 02 00 00 00 00 19 [07:42:34]Write i2c OK [07:42:34]MH_I2C_Read... [07:42:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:42:34]Read from MH i2c: E2 [07:42:34]MH_I2C_Read... [07:42:34]Read from MH i2c: E2 03 00 [07:42:34]MH_I2C_Read... [07:42:34]Read from MH i2c: E2 03 00 87 19 00 90 00 14 [07:42:34]RAPDU: 90 00 [07:42:34]wFMCommunicate OK [07:42:34]wFMCommunicate request_size=255 [07:42:34]MH_SAM_APDU [07:42:34]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 6F 40 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [07:42:34]Write to MH i2c: E2 02 01 88 19 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 6F 40 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 DA [07:42:34]Write i2c OK [07:42:34]MH_I2C_Read... [07:42:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:42:34]Read from MH i2c: E2 [07:42:34]MH_I2C_Read... [07:42:34]Read from MH i2c: E2 03 00 [07:42:34]MH_I2C_Read... [07:42:34]Read from MH i2c: E2 03 00 88 19 00 90 00 15 [07:42:34]RAPDU: 90 00 [07:42:34]wFMCommunicate OK [07:42:34]wFMCommunicate request_size=32 [07:42:34]MH_SAM_APDU [07:42:34]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 87 93 00 00 35 04 06 00 06 D7 EC 2B FB 9D [07:42:34]Write to MH i2c: E2 23 00 89 19 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 87 93 00 00 35 04 06 00 06 D7 EC 2B FB 9D 00 00 1C [07:42:34]Write i2c OK [07:42:34]MH_I2C_Read... [07:42:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:42:35]Read from MH i2c: E2 [07:42:35]MH_I2C_Read... [07:42:35]Read from MH i2c: E2 03 00 [07:42:35]MH_I2C_Read... [07:42:35]Read from MH i2c: E2 03 00 89 19 00 90 00 16 [07:42:35]RAPDU: 90 00 [07:42:35]wFMCommunicate OK [07:42:35]wFMCommunicate request_size=4 [07:42:35]MH_SAM_APDU [07:42:35]CAPDU: 80 0D 03 02 [07:42:35]Write to MH i2c: E2 08 00 8A 19 80 0D 03 02 00 00 00 00 1E [07:42:35]Write i2c OK [07:42:35]MH_I2C_Read... [07:42:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:42:35]Read from MH i2c: E2 [07:42:35]MH_I2C_Read... [07:42:35]Read from MH i2c: E2 0B 00 [07:42:35]MH_I2C_Read... [07:42:35]Read from MH i2c: E2 0B 00 8A 19 00 9D A4 0C E0 41 D3 05 42 90 00 A7 [07:42:35]RAPDU: 9D A4 0C E0 41 D3 05 42 90 00 [07:42:35]wFMCommunicate OK [07:42:35]SAM_PROTO_SignData done [07:42:35]FM_MakeSignedData done [07:42:35]CreateOFDProtocolMessage [07:42:35]wFMCommunicate request_size=4 [07:42:35]MH_SAM_APDU [07:42:35]CAPDU: 80 11 00 00 [07:42:35]Write to MH i2c: E2 08 00 8B 19 80 11 00 00 00 00 00 00 1E [07:42:35]Write i2c OK [07:42:35]MH_I2C_Read... [07:42:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:42:35]Read from MH i2c: E2 [07:42:35]MH_I2C_Read... [07:42:35]Read from MH i2c: E2 17 00 [07:42:35]MH_I2C_Read... [07:42:35]Read from MH i2c: E2 17 00 8B 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 6E [07:42:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [07:42:35]wFMCommunicate OK [07:42:35]CreateOFDProtocolMessage done [07:42:35]OFDSenderStorePacket 37767 [07:42:35]StoreOFDPacket docnum=37767 [07:42:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 82 AE 1D 01 B7 C4 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 6F 40 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 87 93 00 00 35 04 06 00 06 D7 EC 2B FB 9D 9D A4 0C E0 41 D3 05 42 [07:42:35]CheckFolder [07:42:35]dirname=/storage/ofd_packets [07:42:35]CheckFolder done [07:42:35]ProducePacketName [07:42:35]name=ofd_packets/00037767 [07:42:35]NVStorageSaveData ofd_packets/00037767 [07:42:35]File name is /storage/ofd_packets/00037767 [07:42:35]Write 323 bytes [07:42:35]NVStorageSaveData done [07:42:35]OFDSenderStorePacket done [07:42:35]KKMCreateOFDPacket done [07:42:35]NVStorageSaveData kkm_last_timestamp [07:42:35]File name is /storage/kkm_last_timestamp [07:42:35]Write 4 bytes [07:42:35]NVStorageSaveData done [07:42:35]ExternCall_PrintAddStr [07:42:35]wPrintStart [07:42:35]Write to MH i2c: 01 00 00 8C 19 A5 [07:42:35]Write i2c OK [07:42:35]MH_I2C_Read... [07:42:35]Read from MH i2c: 01 [07:42:35]MH_I2C_Read... [07:42:35]Read from MH i2c: 01 07 00 [07:42:35]MH_I2C_Read... [07:42:35]Read from MH i2c: 01 07 00 8C 19 00 00 00 00 00 FF 0F BA [07:42:35]RasterBufferAndPrint [07:42:35]line Счет N : (3)35064 [07:42:35]line ИНН: 02508201610067 [07:42:35]line Контрольно-Кассовый Чек [07:42:35]line ПРОДАЖА [07:42:35]line Товар: 48747059 [07:42:35]line Сигареты Winston Legend Blue [07:42:35]line 1.000 * 144.00 [07:42:35]line = 144.00 [07:42:35]line НДС 12% НСП 1% [07:42:35]line > о реализуемом товаре [07:42:35]line ИТОГО: 144.00 [07:42:35]line НСП 1% : 1.27 [07:42:35]line НДС 12% : 15.29 [07:42:35]line Наличными: 144.00 [07:42:35]line Безнал.: 0.00 [07:42:35]line Место: АЗС № 126 "Партнер Нефть" [07:42:35]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [07:42:35]line СНО: Общий режим [07:42:35]line Чек 10 28.10.2024 07:42 [07:42:35]line Смена: 551 ФФД: 1.0 [07:42:35]line ЗНМ: 0300000092 [07:42:35]line РНМ: 0000000000091684 [07:42:35]line Версия ККМ: 001 [07:42:35]line ФМ: 0000000000871841 [07:42:35]line ФД: 37767 [07:42:35]line ФПД: 7524450040733 [07:42:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T074239&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37767&fm=7524450040733&tin=02508201610067®Number=0000000000091684&sum=14400 [07:42:35]OFD Sender: Processing packet 37767 [packets to send 42, broken 41] [07:42:35]ProducePacketName [07:42:35]name=ofd_packets/00037767 [07:42:35]OFD Sender: To server: pG, [07:42:35]CommunicateWithHost lk.salyk.kg:30040 [07:42:35]ConnectInit lk.salyk.kg [07:42:35]line 0 [07:42:35]written 0, free lines is 4095 [07:42:35]Connected sock=10 [07:42: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 38 34 31 25 01 00 00 82 AE 1D 01 B7 C4 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 6F 40 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 87 93 00 00 35 04 06 00 06 D7 EC 2B FB 9D 9D A4 0C E0 41 D3 05 42 [07:42:35]Write to MH i2c: 01 00 00 B5 19 CE [07:42:35]Write i2c OK [07:42:35]MH_I2C_Read... [07:42:35]Read from MH i2c: 01 [07:42:35]MH_I2C_Read... [07:42:35]Read from MH i2c: 01 07 00 [07:42:35]MH_I2C_Read... [07:42:35]Read from MH i2c: 01 07 00 B5 19 00 00 00 00 00 A8 0C 89 [07:42:35]RasterBufferAndPrint [07:42:35]line [07:42:35]line [07:42:35]line [07:42:35]line [07:42:35]line [07:42:35]written 0, free lines is 3245 [07:42:35]MH_Cut [07:42:35]Write to MH i2c: D1 01 00 BC 19 01 A7 [07:42:35]Write i2c OK [07:42:35]MH_I2C_Read... [07:42:35]Read from MH i2c: D1 [07:42:35]MH_I2C_Read... [07:42:35]Read from MH i2c: D1 01 00 [07:42:35]MH_I2C_Read... [07:42:35]Read from MH i2c: D1 01 00 BC 19 00 A6 [07:42:35]Write to MH i2c: 01 00 00 BD 19 D6 [07:42:35]Write i2c OK [07:42:35]MH_I2C_Read... [07:42:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 8A 16 47 00 3A 4E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 87 93 00 00 F4 03 04 00 65 EB 1E 67 B6 04 01 00 00 7E 3F 84 A9 55 FF D5 90 [07:42:36]CommunicateWithHost err = 0 [07:42:36]CheckOFDResponse [07:42:36]1017 (14) - 77093643461234 [07:42:36]1041 (16) - 0000000000871841 [07:42:36]1040 (4) - 37767 [07:42:36]1012 (4) - 28.10.2024 01:39 [07:42:36]1206 (1) - 0 [07:42:36]OFD Sender: Remove packet 37767 [07:42:36]ProducePacketName [07:42:36]name=ofd_packets/00037767 [07:42:36]NVStorageDeleteData [07:42:36]OFD Sender: No OFD packet to send [07:42:36]*** Cut start [07:42:36]*** Partial cut [07:42:36]*** CUTSNS_PIN = 1 [07:42:36]*** CUTSNS_PIN = 0 [07:42:37]*** Brake cut motor [07:42:37]Read from MH i2c: 01 [07:42:37]MH_I2C_Read... [07:42:37]*** Stop cut motor [07:42:37]*** Cut end [07:42:37]Read from MH i2c: 01 07 00 [07:42:37]MH_I2C_Read... [07:42:37]Read from MH i2c: 01 07 00 BD 19 00 00 00 00 00 FF 0F EB [07:42:37]process_action close_receipt done [07:42:37]requested_data is exist [07:42:37]produce_requested_data [07:42:37]requested_item fm.sn is exist - process it [07:42:37]wFMCommunicate request_size=4 [07:42:37]MH_SAM_APDU [07:42:37]CAPDU: 80 11 00 00 [07:42:37]Write to MH i2c: E2 08 00 BE 19 80 11 00 00 00 00 00 00 51 [07:42:37]Write i2c OK [07:42:37]MH_I2C_Read... [07:42:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:42:37]Read from MH i2c: E2 [07:42:37]MH_I2C_Read... [07:42:37]Read from MH i2c: E2 17 00 [07:42:37]MH_I2C_Read... [07:42:37]Read from MH i2c: E2 17 00 BE 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A1 [07:42:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [07:42:37]wFMCommunicate OK [07:42:37]requested_item fd.num is exist - process it [07:42:37]SAM_PROTO_GetFieldsCounters [07:42:37]wFMCommunicate request_size=4 [07:42:37]MH_SAM_APDU [07:42:37]CAPDU: 80 13 00 00 [07:42:37]Write to MH i2c: E2 08 00 BF 19 80 13 00 00 00 00 00 00 54 [07:42:37]Write i2c OK [07:42:37]MH_I2C_Read... [07:42:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:42:37]Read from MH i2c: E2 [07:42:37]MH_I2C_Read... [07:42:37]Read from MH i2c: E2 62 00 [07:42:37]MH_I2C_Read... [07:42:37]Read from MH i2c: E2 62 00 BF 19 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 87 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 D6 [07:42: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 87 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:42:37]wFMCommunicate OK [07:42:37]SAM_PROTO_GetFieldsCounters done [07:42:37]requested_item shift.num is exist - process it [07:42:37]requested_item shift.opened is exist - process it [07:42:37]req_shift_opened [07:42:37]FM_GetShiftState [07:42:37]SAM_PROTO_GetShiftState [07:42:37]wFMCommunicate request_size=4 [07:42:37]MH_SAM_APDU [07:42:37]CAPDU: 80 13 01 00 [07:42:37]Write to MH i2c: E2 08 00 C0 19 80 13 01 00 00 00 00 00 56 [07:42:37]Write i2c OK [07:42:37]MH_I2C_Read... [07:42:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:42:37]Read from MH i2c: E2 [07:42:37]MH_I2C_Read... [07:42:37]Read from MH i2c: E2 0E 00 [07:42:37]MH_I2C_Read... [07:42:37]Read from MH i2c: E2 0E 00 C0 19 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 D8 [07:42:37]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [07:42:37]wFMCommunicate OK [07:42:37]SAM_PROTO_GetShiftState done [07:42:37]FM_GetShiftState done [07:42:37]req_shift_opened done [07:42:37]requested_item shift.open_date is exist - process it [07:42:37]req_shift_open_date [07:42:37]req_shift_open_date done [07:42:37]produce_requested_data done [07:42:37]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37767,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [07:42:37]process_action_free close_receipt [07:42:37]json_value_free [07:42:37]json_value_free done [07:42:37]process_json_proto returns [07:42:37]Send response to host [07:42:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37767,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [07:42:37]free response buf [07:42:37]execute_script done [07:42:37]execute_script returns [07:42:37]free content buf [07:42:37]Sock 7.Close socket [07:42:37]Sock 7.Thread stoped [07:42:41]OFD Sender: No OFD packet to send [07:42:46]OFD Sender: No OFD packet to send [07:42:51]OFD Sender: No OFD packet to send [07:42:56]OFD Sender: No OFD packet to send [07:43:01]OFD Sender: No OFD packet to send [07:43:06]OFD Sender: No OFD packet to send [07:43:11]OFD Sender: No OFD packet to send [07:43:16]OFD Sender: No OFD packet to send [07:43:21]OFD Sender: No OFD packet to send [07:43:26]OFD Sender: No OFD packet to send [07:43:31]OFD Sender: No OFD packet to send [07:43:36]OFD Sender: No OFD packet to send [07:43:41]OFD Sender: No OFD packet to send [07:43:46]OFD Sender: No OFD packet to send [07:43:51]OFD Sender: No OFD packet to send [07:43:56]OFD Sender: No OFD packet to send [07:44:01]OFD Sender: No OFD packet to send [07:44:06]OFD Sender: No OFD packet to send [07:44:11]OFD Sender: No OFD packet to send [07:44:16]OFD Sender: No OFD packet to send [07:44:21]OFD Sender: No OFD packet to send [07:44:26]OFD Sender: No OFD packet to send [07:44:31]OFD Sender: No OFD packet to send [07:44:36]OFD Sender: No OFD packet to send [07:44:41]OFD Sender: No OFD packet to send [07:44:46]OFD Sender: No OFD packet to send [07:44:51]OFD Sender: No OFD packet to send [07:44:56]OFD Sender: No OFD packet to send [07:45:01]OFD Sender: No OFD packet to send [07:45:06]OFD Sender: No OFD packet to send [07:45:11]OFD Sender: No OFD packet to send [07:45:16]OFD Sender: No OFD packet to send [07:45:21]OFD Sender: No OFD packet to send [07:45:26]OFD Sender: No OFD packet to send [07:45:31]OFD Sender: No OFD packet to send [07:45:36]OFD Sender: No OFD packet to send [07:45:41]OFD Sender: No OFD packet to send [07:45:42]accept exits with 9 [07:45:42]New connection [07:45:42]New thread 3067297124 created [07:45:42]Thread 3067440484 joined [07:45:42]Waiting for new connection... [07:45:42] Sock 9.Parse request [07:45:42]Sock 9.Check first char [07:45:42]Sock 9.First char is OK [07:45:42]request: POST /json_proto HTTP/1.0 [07:45:42]Method: POST [07:45:42]URL: /json_proto [07:45:42]Method is POST - this is cgi request [07:45:42]url: /json_proto [07:45:42]query_string will be loaded in cgi processing [07:45:42]execute_cgi json_proto POST (null) [07:45:42]execute_cgi path=json_proto method=POST [07:45:42]POST find Content-Length [07:45:42]Host: 172.17.40.196:8080 [07:45:42]Content-Length: 651 [07:45:42]Content-Type: application/json [07:45:42] [07:45:42]POST finish read [07:45:42]Found Content-Length = 651 [07:45:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35065", "tax_sys" : 0, "items" : [ { "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" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:45:42]execute_script... [07:45:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35065", "tax_sys" : 0, "items" : [ { "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" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:45:42]POST & json_proto [07:45:42]process_json_proto [07:45:42]json parsed OK: [07:45:42]protocol is kg_v1.0 [07:45:42]action value=close_receipt [07:45:42]process_action close_receipt [07:45:42]cmd_close_receipt [07:45:42]MH_GetDate [07:45:42]Write to MH i2c: F0 00 00 C1 19 C9 [07:45:42]Write i2c OK [07:45:42]MH_I2C_Read... [07:45:42]Read from MH i2c: F0 [07:45:42]MH_I2C_Read... [07:45:42]Read from MH i2c: F0 09 00 [07:45:42]MH_I2C_Read... [07:45:42]Read from MH i2c: F0 09 00 C1 19 00 2C 41 1F 67 5B 68 A1 66 8F [07:45:42]GetLastDocTimeStamp 1730101359 [07:45:42]current date 1730101548 [07:45:42]FM_GetShiftState [07:45:42]SAM_PROTO_GetShiftState [07:45:42]wFMCommunicate request_size=4 [07:45:42]MH_SAM_APDU [07:45:42]CAPDU: 80 13 01 00 [07:45:42]Write to MH i2c: E2 08 00 C2 19 80 13 01 00 00 00 00 00 58 [07:45:42]Write i2c OK [07:45:42]MH_I2C_Read... [07:45:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:45:42]Read from MH i2c: E2 [07:45:42]MH_I2C_Read... [07:45:42]Read from MH i2c: E2 0E 00 [07:45:42]MH_I2C_Read... [07:45:42]Read from MH i2c: E2 0E 00 C2 19 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 DA [07:45:42]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [07:45:42]wFMCommunicate OK [07:45:42]SAM_PROTO_GetShiftState done [07:45:42]FM_GetShiftState done [07:45:42]opened in 1730073884 [07:45:42]opened+sec_in_day 1730160284 [07:45:42]quantity*price = 12500 [07:45:42]sum+1 = 12501 [07:45:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 11 28.10.2024 07:45 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37768 ФПД: 14445201978214 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T074549&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37768&fm=14445201978214&tin=02508201610067®Number=0000000000091684&sum=12500 0 [07:45:43]StoreToDocumentArchive [07:45:43]shift 551 fd 37768 [07:45:43]save to /storage/0551/doc_00037768 [07:45:43]save last doc name /storage/0551/doc_00037768 to /storage/kkm_last_doc_name [07:45:43]save OK [07:45:43]Clear old archive folders... [07:45:43]ProcessDocumentItem done err = 0, tmpTLVsize=284 [07:45:43]tlvbuf is 0029E820 [07:45:43]SAM_PROTO_ClearQueue [07:45:43]wFMCommunicate request_size=4 [07:45:43]MH_SAM_APDU [07:45:43]CAPDU: 80 09 00 00 [07:45:43]Write to MH i2c: E2 08 00 CF 19 80 09 00 00 00 00 00 00 5A [07:45:43]Write i2c OK [07:45:43]MH_I2C_Read... [07:45:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:45:43]Read from MH i2c: E2 [07:45:43]MH_I2C_Read... [07:45:43]Read from MH i2c: E2 03 00 [07:45:43]MH_I2C_Read... [07:45:43]Read from MH i2c: E2 03 00 CF 19 00 90 00 5C [07:45:43]RAPDU: 90 00 [07:45:43]wFMCommunicate OK [07:45:43]SAM_PROTO_ClearQueue done [07:45:43]KKMCreateOFDPacket [07:45:43]OFDProtocolAddRootSTLVToBuf [07:45:43]FM_MakeSignedData [07:45:43]FM_MakeSignedData [07:45:43]SAM_PROTO_SignData [07:45:43]wFMCommunicate request_size=4 [07:45:43]MH_SAM_APDU [07:45:43]CAPDU: 80 0D 01 02 [07:45:43]Write to MH i2c: E2 08 00 D0 19 80 0D 01 02 00 00 00 00 62 [07:45:43]Write i2c OK [07:45:43]MH_I2C_Read... [07:45:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:45:43]Read from MH i2c: E2 [07:45:43]MH_I2C_Read... [07:45:43]Read from MH i2c: E2 03 00 [07:45:43]MH_I2C_Read... [07:45:43]Read from MH i2c: E2 03 00 D0 19 00 90 00 5D [07:45:43]RAPDU: 90 00 [07:45:43]wFMCommunicate OK [07:45:43]wFMCommunicate request_size=255 [07:45:43]MH_SAM_APDU [07:45:43]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 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 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 0B 00 00 00 F4 03 04 00 2D 41 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 [07:45:43]Write to MH i2c: E2 02 01 D1 19 80 0D 02 02 FA 00 03 00 1C 01 1E 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 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 0B 00 00 00 F4 03 04 00 2D 41 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 00 00 2F [07:45:43]Write i2c OK [07:45:43]MH_I2C_Read... [07:45:43]Read from MH i2c: E2 [07:45:43]MH_I2C_Read... [07:45:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:45:43]Read from MH i2c: E2 03 00 [07:45:43]MH_I2C_Read... [07:45:43]Read from MH i2c: E2 03 00 D1 19 00 90 00 5E [07:45:43]RAPDU: 90 00 [07:45:43]wFMCommunicate OK [07:45:43]wFMCommunicate request_size=43 [07:45:43]MH_SAM_APDU [07:45:43]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 88 93 00 00 35 04 06 00 0D 23 49 21 F3 66 [07:45:43]Write to MH i2c: E2 2E 00 D2 19 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 88 93 00 00 35 04 06 00 0D 23 49 21 F3 66 00 00 58 [07:45:43]Write i2c OK [07:45:43]MH_I2C_Read... [07:45:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:45:44]Read from MH i2c: E2 [07:45:44]MH_I2C_Read... [07:45:44]Read from MH i2c: E2 03 00 [07:45:44]MH_I2C_Read... [07:45:44]Read from MH i2c: E2 03 00 D2 19 00 90 00 5F [07:45:44]RAPDU: 90 00 [07:45:44]wFMCommunicate OK [07:45:44]wFMCommunicate request_size=4 [07:45:44]MH_SAM_APDU [07:45:44]CAPDU: 80 0D 03 02 [07:45:44]Write to MH i2c: E2 08 00 D3 19 80 0D 03 02 00 00 00 00 67 [07:45:44]Write i2c OK [07:45:44]MH_I2C_Read... [07:45:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:45:44]Read from MH i2c: E2 [07:45:44]MH_I2C_Read... [07:45:44]Read from MH i2c: E2 0B 00 [07:45:44]MH_I2C_Read... [07:45:44]Read from MH i2c: E2 0B 00 D3 19 00 C3 16 AE 4B EB 47 70 EF 90 00 CB [07:45:44]RAPDU: C3 16 AE 4B EB 47 70 EF 90 00 [07:45:44]wFMCommunicate OK [07:45:44]SAM_PROTO_SignData done [07:45:44]FM_MakeSignedData done [07:45:44]CreateOFDProtocolMessage [07:45:44]wFMCommunicate request_size=4 [07:45:44]MH_SAM_APDU [07:45:44]CAPDU: 80 11 00 00 [07:45:44]Write to MH i2c: E2 08 00 D4 19 80 11 00 00 00 00 00 00 67 [07:45:44]Write i2c OK [07:45:44]MH_I2C_Read... [07:45:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:45:44]Read from MH i2c: E2 [07:45:44]MH_I2C_Read... [07:45:44]Read from MH i2c: E2 17 00 [07:45:44]MH_I2C_Read... [07:45:44]Read from MH i2c: E2 17 00 D4 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B7 [07:45:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [07:45:44]wFMCommunicate OK [07:45:44]CreateOFDProtocolMessage done [07:45:44]OFDSenderStorePacket 37768 [07:45:44]StoreOFDPacket docnum=37768 [07:45:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 30 01 00 00 36 BB 28 01 24 75 5A 03 01 00 03 00 1C 01 1E 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 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 0B 00 00 00 F4 03 04 00 2D 41 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 88 93 00 00 35 04 06 00 0D 23 49 21 F3 66 C3 16 AE 4B EB 47 70 EF [07:45:44]CheckFolder [07:45:44]dirname=/storage/ofd_packets [07:45:44]CheckFolder done [07:45:44]ProducePacketName [07:45:44]name=ofd_packets/00037768 [07:45:44]NVStorageSaveData ofd_packets/00037768 [07:45:44]File name is /storage/ofd_packets/00037768 [07:45:44]Write 334 bytes [07:45:44]NVStorageSaveData done [07:45:44]OFDSenderStorePacket done [07:45:44]KKMCreateOFDPacket done [07:45:44]NVStorageSaveData kkm_last_timestamp [07:45:44]File name is /storage/kkm_last_timestamp [07:45:44]Write 4 bytes [07:45:44]NVStorageSaveData done [07:45:44]ExternCall_PrintAddStr [07:45:44]wPrintStart [07:45:44]Write to MH i2c: 01 00 00 D5 19 EE [07:45:44]Write i2c OK [07:45:44]MH_I2C_Read... [07:45:44]Read from MH i2c: 01 [07:45:44]MH_I2C_Read... [07:45:44]Read from MH i2c: 01 07 00 [07:45:44]MH_I2C_Read... [07:45:44]Read from MH i2c: 01 07 00 D5 19 00 00 00 00 00 FF 0F 03 [07:45:44]RasterBufferAndPrint [07:45:44]line Счет N : (3)35065 [07:45:44]line ИНН: 02508201610067 [07:45:44]line Контрольно-Кассовый Чек [07:45:44]line ПРОДАЖА [07:45:44]line Товар: 2000036190018 [07:45:44]line Кофе Американо XL(GABB TRADE) [07:45:44]line 1.000 * 125.00 [07:45:44]line = 125.00 [07:45:44]line НДС 12% НСП 1% [07:45:44]line > о реализуемом товаре [07:45:44]line ИТОГО: 125.00 [07:45:44]line НСП 1% : 1.11 [07:45:44]line НДС 12% : 13.27 [07:45:44]line Наличными: 125.00 [07:45:44]line Безнал.: 0.00 [07:45:44]line Место: АЗС № 126 "Партнер Нефть" [07:45:44]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [07:45:44]line СНО: Общий режим [07:45:44]line Чек 11 28.10.2024 07:45 [07:45:44]line Смена: 551 ФФД: 1.0 [07:45:44]line ЗНМ: 0300000092 [07:45:44]line РНМ: 0000000000091684 [07:45:44]line Версия ККМ: 001 [07:45:44]line ФМ: 0000000000871841 [07:45:44]line ФД: 37768 [07:45:44]line ФПД: 14445201978214 [07:45:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T074549&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37768&fm=14445201978214&tin=02508201610067®Number=0000000000091684&sum=12500 [07:45:44]line 0 [07:45:44]OFD Sender: Processing packet 37768 [packets to send 42, broken 41] [07:45:44]ProducePacketName [07:45:44]name=ofd_packets/00037768 [07:45:44]OFD Sender: To server: pG, [07:45:44]CommunicateWithHost lk.salyk.kg:30040 [07:45:44]ConnectInit lk.salyk.kg [07:45:44]written 0, free lines is 4095 [07:45:44]Connected sock=10 [07:45:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 30 01 00 00 36 BB 28 01 24 75 5A 03 01 00 03 00 1C 01 1E 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 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 0B 00 00 00 F4 03 04 00 2D 41 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 88 93 00 00 35 04 06 00 0D 23 49 21 F3 66 C3 16 AE 4B EB 47 70 EF [07:45:44]Write to MH i2c: 01 00 00 FE 19 17 [07:45:44]Write i2c OK [07:45:44]MH_I2C_Read... [07:45:44]Read from MH i2c: 01 [07:45:44]MH_I2C_Read... [07:45:44]Read from MH i2c: 01 07 00 [07:45:44]MH_I2C_Read... [07:45:44]Read from MH i2c: 01 07 00 FE 19 00 00 00 00 00 AB 0C D5 [07:45:44]RasterBufferAndPrint [07:45:44]line [07:45:44]line [07:45:44]line [07:45:44]line [07:45:44]line [07:45:44]written 0, free lines is 3247 [07:45:44]MH_Cut [07:45:44]Write to MH i2c: D1 01 00 05 1A 01 F1 [07:45:44]Write i2c OK [07:45:44]MH_I2C_Read... [07:45:44]Read from MH i2c: D1 [07:45:44]MH_I2C_Read... [07:45:44]Read from MH i2c: D1 01 00 [07:45:44]MH_I2C_Read... [07:45:44]Read from MH i2c: D1 01 00 05 1A 00 F0 [07:45:44]Write to MH i2c: 01 00 00 06 1A 20 [07:45:44]Write i2c OK [07:45:44]MH_I2C_Read... [07:45:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 07 1F 47 00 A0 6F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 88 93 00 00 F4 03 04 00 22 EC 1E 67 B6 04 01 00 00 59 A7 8D 14 59 FA 90 B0 [07:45:44]CommunicateWithHost err = 0 [07:45:44]CheckOFDResponse [07:45:44]1017 (14) - 77093643461234 [07:45:44]1041 (16) - 0000000000871841 [07:45:44]1040 (4) - 37768 [07:45:44]1012 (4) - 28.10.2024 01:42 [07:45:44]1206 (1) - 0 [07:45:44]OFD Sender: Remove packet 37768 [07:45:44]ProducePacketName [07:45:44]name=ofd_packets/00037768 [07:45:44]NVStorageDeleteData [07:45:45]OFD Sender: No OFD packet to send [07:45:45]*** Cut start [07:45:45]*** Partial cut [07:45:45]*** CUTSNS_PIN = 1 [07:45:45]*** CUTSNS_PIN = 0 [07:45:46]*** Brake cut motor [07:45:46]Read from MH i2c: 01 [07:45:46]MH_I2C_Read... [07:45:46]*** Stop cut motor [07:45:46]*** Cut end [07:45:46]Read from MH i2c: 01 07 00 [07:45:46]MH_I2C_Read... [07:45:46]Read from MH i2c: 01 07 00 06 1A 00 00 00 00 00 FF 0F 35 [07:45:46]process_action close_receipt done [07:45:46]requested_data is exist [07:45:46]produce_requested_data [07:45:46]requested_item fm.sn is exist - process it [07:45:46]wFMCommunicate request_size=4 [07:45:46]MH_SAM_APDU [07:45:46]CAPDU: 80 11 00 00 [07:45:46]Write to MH i2c: E2 08 00 07 1A 80 11 00 00 00 00 00 00 9B [07:45:46]Write i2c OK [07:45:46]MH_I2C_Read... [07:45:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:45:46]Read from MH i2c: E2 [07:45:46]MH_I2C_Read... [07:45:46]Read from MH i2c: E2 17 00 [07:45:46]MH_I2C_Read... [07:45:46]Read from MH i2c: E2 17 00 07 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 EB [07:45:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [07:45:46]wFMCommunicate OK [07:45:46]requested_item fd.num is exist - process it [07:45:46]SAM_PROTO_GetFieldsCounters [07:45:46]wFMCommunicate request_size=4 [07:45:46]MH_SAM_APDU [07:45:46]CAPDU: 80 13 00 00 [07:45:46]Write to MH i2c: E2 08 00 08 1A 80 13 00 00 00 00 00 00 9E [07:45:46]Write i2c OK [07:45:46]MH_I2C_Read... [07:45:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:45:46]Read from MH i2c: E2 [07:45:46]MH_I2C_Read... [07:45:46]Read from MH i2c: E2 62 00 [07:45:46]MH_I2C_Read... [07:45:46]Read from MH i2c: E2 62 00 08 1A 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 88 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 24 [07:45:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 88 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:45:46]wFMCommunicate OK [07:45:46]SAM_PROTO_GetFieldsCounters done [07:45:46]requested_item shift.num is exist - process it [07:45:46]requested_item shift.opened is exist - process it [07:45:46]req_shift_opened [07:45:46]FM_GetShiftState [07:45:46]SAM_PROTO_GetShiftState [07:45:46]wFMCommunicate request_size=4 [07:45:46]MH_SAM_APDU [07:45:46]CAPDU: 80 13 01 00 [07:45:46]Write to MH i2c: E2 08 00 09 1A 80 13 01 00 00 00 00 00 A0 [07:45:46]Write i2c OK [07:45:46]MH_I2C_Read... [07:45:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:45:46]Read from MH i2c: E2 [07:45:46]MH_I2C_Read... [07:45:46]Read from MH i2c: E2 0E 00 [07:45:46]MH_I2C_Read... [07:45:46]Read from MH i2c: E2 0E 00 09 1A 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 22 [07:45:46]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [07:45:46]wFMCommunicate OK [07:45:46]SAM_PROTO_GetShiftState done [07:45:46]FM_GetShiftState done [07:45:46]req_shift_opened done [07:45:46]requested_item shift.open_date is exist - process it [07:45:46]req_shift_open_date [07:45:46]req_shift_open_date done [07:45:46]produce_requested_data done [07:45:46]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37768,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [07:45:46]process_action_free close_receipt [07:45:46]json_value_free [07:45:46]json_value_free done [07:45:46]process_json_proto returns [07:45:46]Send response to host [07:45:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37768,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [07:45:46]free response buf [07:45:46]execute_script done [07:45:46]execute_script returns [07:45:46]free content buf [07:45:46]Sock 9.Close socket [07:45:46]Sock 9.Thread stoped [07:45:50]OFD Sender: No OFD packet to send [07:45:55]OFD Sender: No OFD packet to send [07:46:00]OFD Sender: No OFD packet to send [07:46:05]OFD Sender: No OFD packet to send [07:46:10]OFD Sender: No OFD packet to send [07:46:15]OFD Sender: No OFD packet to send [07:46:20]OFD Sender: No OFD packet to send [07:46:25]OFD Sender: No OFD packet to send [07:46:30]OFD Sender: No OFD packet to send [07:46:35]OFD Sender: No OFD packet to send [07:46:40]OFD Sender: No OFD packet to send [07:46:45]OFD Sender: No OFD packet to send [07:46:50]OFD Sender: No OFD packet to send [07:46:55]OFD Sender: No OFD packet to send [07:47:00]OFD Sender: No OFD packet to send [07:47:05]OFD Sender: No OFD packet to send [07:47:10]OFD Sender: No OFD packet to send [07:47:15]OFD Sender: No OFD packet to send [07:47:20]OFD Sender: No OFD packet to send [07:47:25]OFD Sender: No OFD packet to send [07:47:30]OFD Sender: No OFD packet to send [07:47:35]OFD Sender: No OFD packet to send [07:47:40]OFD Sender: No OFD packet to send [07:47:45]OFD Sender: No OFD packet to send [07:47:50]OFD Sender: No OFD packet to send [07:47:55]OFD Sender: No OFD packet to send [07:48:00]OFD Sender: No OFD packet to send [07:48:05]OFD Sender: No OFD packet to send [07:48:10]OFD Sender: No OFD packet to send [07:48:15]OFD Sender: No OFD packet to send [07:48:20]OFD Sender: No OFD packet to send [07:48:25]OFD Sender: No OFD packet to send [07:48:30]OFD Sender: No OFD packet to send [07:48:35]OFD Sender: No OFD packet to send [07:48:40]OFD Sender: No OFD packet to send [07:48:45]OFD Sender: No OFD packet to send [07:48:50]OFD Sender: No OFD packet to send [07:48:55]OFD Sender: No OFD packet to send [07:49:00]OFD Sender: No OFD packet to send [07:49:05]OFD Sender: No OFD packet to send [07:49:10]OFD Sender: No OFD packet to send [07:49:15]OFD Sender: No OFD packet to send [07:49:20]OFD Sender: No OFD packet to send [07:49:25]OFD Sender: No OFD packet to send [07:49:30]OFD Sender: No OFD packet to send [07:49:35]OFD Sender: No OFD packet to send [07:49:40]OFD Sender: No OFD packet to send [07:49:45]OFD Sender: No OFD packet to send [07:49:50]OFD Sender: No OFD packet to send [07:49:55]OFD Sender: No OFD packet to send [07:50:00]OFD Sender: No OFD packet to send [07:50:05]OFD Sender: No OFD packet to send [07:50:10]OFD Sender: No OFD packet to send [07:50:15]OFD Sender: No OFD packet to send [07:50:20]OFD Sender: No OFD packet to send [07:50:25]OFD Sender: No OFD packet to send [07:50:30]OFD Sender: No OFD packet to send [07:50:35]OFD Sender: No OFD packet to send [07:50:40]OFD Sender: No OFD packet to send [07:50:45]OFD Sender: No OFD packet to send [07:50:50]OFD Sender: No OFD packet to send [07:50:55]OFD Sender: No OFD packet to send [07:51:00]OFD Sender: No OFD packet to send [07:51:05]OFD Sender: No OFD packet to send [07:51:10]OFD Sender: No OFD packet to send [07:51:15]OFD Sender: No OFD packet to send [07:51:20]OFD Sender: No OFD packet to send [07:51:25]OFD Sender: No OFD packet to send [07:51:30]OFD Sender: No OFD packet to send [07:51:35]OFD Sender: No OFD packet to send [07:51:40]OFD Sender: No OFD packet to send [07:51:45]OFD Sender: No OFD packet to send [07:51:50]OFD Sender: No OFD packet to send [07:51:55]OFD Sender: No OFD packet to send [07:52:00]OFD Sender: No OFD packet to send [07:52:05]OFD Sender: No OFD packet to send [07:52:10]OFD Sender: No OFD packet to send [07:52:15]OFD Sender: No OFD packet to send [07:52:20]OFD Sender: No OFD packet to send [07:52:25]OFD Sender: No OFD packet to send [07:52:30]OFD Sender: No OFD packet to send [07:52:35]OFD Sender: No OFD packet to send [07:52:40]OFD Sender: No OFD packet to send [07:52:45]OFD Sender: No OFD packet to send [07:52:50]OFD Sender: No OFD packet to send [07:52:55]OFD Sender: No OFD packet to send [07:53:00]OFD Sender: No OFD packet to send [07:53:05]OFD Sender: No OFD packet to send [07:53:10]OFD Sender: No OFD packet to send [07:53:15]OFD Sender: No OFD packet to send [07:53:20]OFD Sender: No OFD packet to send [07:53:25]OFD Sender: No OFD packet to send [07:53:30]OFD Sender: No OFD packet to send [07:53:35]OFD Sender: No OFD packet to send [07:53:40]OFD Sender: No OFD packet to send [07:53:45]OFD Sender: No OFD packet to send [07:53:50]OFD Sender: No OFD packet to send [07:53:55]OFD Sender: No OFD packet to send [07:54:00]OFD Sender: No OFD packet to send [07:54:05]OFD Sender: No OFD packet to send [07:54:10]OFD Sender: No OFD packet to send [07:54:15]OFD Sender: No OFD packet to send [07:54:20]OFD Sender: No OFD packet to send [07:54:25]OFD Sender: No OFD packet to send [07:54:30]OFD Sender: No OFD packet to send [07:54:35]OFD Sender: No OFD packet to send [07:54:40]OFD Sender: No OFD packet to send [07:54:45]OFD Sender: No OFD packet to send [07:54:50]OFD Sender: No OFD packet to send [07:54:55]OFD Sender: No OFD packet to send [07:55:00]OFD Sender: No OFD packet to send [07:55:05]OFD Sender: No OFD packet to send [07:55:11]OFD Sender: No OFD packet to send [07:55:16]OFD Sender: No OFD packet to send [07:55:21]OFD Sender: No OFD packet to send [07:55:26]OFD Sender: No OFD packet to send [07:55:31]OFD Sender: No OFD packet to send [07:55:36]OFD Sender: No OFD packet to send [07:55:41]OFD Sender: No OFD packet to send [07:55:46]OFD Sender: No OFD packet to send [07:55:51]OFD Sender: No OFD packet to send [07:55:56]OFD Sender: No OFD packet to send [07:56:01]OFD Sender: No OFD packet to send [07:56:06]OFD Sender: No OFD packet to send [07:56:11]OFD Sender: No OFD packet to send [07:56:16]OFD Sender: No OFD packet to send [07:56:21]OFD Sender: No OFD packet to send [07:56:26]OFD Sender: No OFD packet to send [07:56:31]OFD Sender: No OFD packet to send [07:56:36]OFD Sender: No OFD packet to send [07:56:41]OFD Sender: No OFD packet to send [07:56:46]OFD Sender: No OFD packet to send [07:56:51]OFD Sender: No OFD packet to send [07:56:56]OFD Sender: No OFD packet to send [07:57:01]OFD Sender: No OFD packet to send [07:57:06]OFD Sender: No OFD packet to send [07:57:11]OFD Sender: No OFD packet to send [07:57:16]OFD Sender: No OFD packet to send [07:57:21]OFD Sender: No OFD packet to send [07:57:26]OFD Sender: No OFD packet to send [07:57:31]OFD Sender: No OFD packet to send [07:57:36]OFD Sender: No OFD packet to send [07:57:41]OFD Sender: No OFD packet to send [07:57:46]OFD Sender: No OFD packet to send [07:57:51]OFD Sender: No OFD packet to send [07:57:56]OFD Sender: No OFD packet to send [07:58:01]OFD Sender: No OFD packet to send [07:58:06]OFD Sender: No OFD packet to send [07:58:11]OFD Sender: No OFD packet to send [07:58:16]OFD Sender: No OFD packet to send [07:58:21]OFD Sender: No OFD packet to send [07:58:26]OFD Sender: No OFD packet to send [07:58:31]OFD Sender: No OFD packet to send [07:58:36]OFD Sender: No OFD packet to send [07:58:41]OFD Sender: No OFD packet to send [07:58:46]OFD Sender: No OFD packet to send [07:58:51]OFD Sender: No OFD packet to send [07:58:56]OFD Sender: No OFD packet to send [07:59:01]OFD Sender: No OFD packet to send [07:59:06]OFD Sender: No OFD packet to send [07:59:11]OFD Sender: No OFD packet to send [07:59:16]OFD Sender: No OFD packet to send [07:59:21]OFD Sender: No OFD packet to send [07:59:26]OFD Sender: No OFD packet to send [07:59:31]OFD Sender: No OFD packet to send [07:59:36]OFD Sender: No OFD packet to send [07:59:41]OFD Sender: No OFD packet to send [07:59:46]OFD Sender: No OFD packet to send [07:59:51]OFD Sender: No OFD packet to send [07:59:56]OFD Sender: No OFD packet to send [08:00:01]OFD Sender: No OFD packet to send [08:00:06]OFD Sender: No OFD packet to send [08:00:11]OFD Sender: No OFD packet to send [08:00:16]OFD Sender: No OFD packet to send [08:00:21]OFD Sender: No OFD packet to send [08:00:26]OFD Sender: No OFD packet to send [08:00:31]OFD Sender: No OFD packet to send [08:00:36]OFD Sender: No OFD packet to send [08:00:41]OFD Sender: No OFD packet to send [08:00:46]OFD Sender: No OFD packet to send [08:00:51]OFD Sender: No OFD packet to send [08:00:56]OFD Sender: No OFD packet to send [08:01:01]OFD Sender: No OFD packet to send [08:01:06]OFD Sender: No OFD packet to send [08:01:11]OFD Sender: No OFD packet to send [08:01:16]OFD Sender: No OFD packet to send [08:01:21]OFD Sender: No OFD packet to send [08:01:26]OFD Sender: No OFD packet to send [08:01:31]OFD Sender: No OFD packet to send [08:01:36]OFD Sender: No OFD packet to send [08:01:41]OFD Sender: No OFD packet to send [08:01:46]OFD Sender: No OFD packet to send [08:01:51]OFD Sender: No OFD packet to send [08:01:56]OFD Sender: No OFD packet to send [08:02:01]OFD Sender: No OFD packet to send [08:02:06]OFD Sender: No OFD packet to send [08:02:11]OFD Sender: No OFD packet to send [08:02:16]OFD Sender: No OFD packet to send [08:02:21]OFD Sender: No OFD packet to send [08:02:26]OFD Sender: No OFD packet to send [08:02:31]OFD Sender: No OFD packet to send [08:02:36]OFD Sender: No OFD packet to send [08:02:41]OFD Sender: No OFD packet to send [08:02:46]OFD Sender: No OFD packet to send [08:02:51]OFD Sender: No OFD packet to send [08:02:56]OFD Sender: No OFD packet to send [08:03:01]OFD Sender: No OFD packet to send [08:03:06]OFD Sender: No OFD packet to send [08:03:11]OFD Sender: No OFD packet to send [08:03:16]OFD Sender: No OFD packet to send [08:03:21]OFD Sender: No OFD packet to send [08:03:26]OFD Sender: No OFD packet to send [08:03:31]OFD Sender: No OFD packet to send [08:03:36]OFD Sender: No OFD packet to send [08:03:41]OFD Sender: No OFD packet to send [08:03:46]OFD Sender: No OFD packet to send [08:03:51]OFD Sender: No OFD packet to send [08:03:56]OFD Sender: No OFD packet to send [08:04:01]OFD Sender: No OFD packet to send [08:04:06]OFD Sender: No OFD packet to send [08:04:11]OFD Sender: No OFD packet to send [08:04:16]OFD Sender: No OFD packet to send [08:04:21]OFD Sender: No OFD packet to send [08:04:26]OFD Sender: No OFD packet to send [08:04:31]OFD Sender: No OFD packet to send [08:04:36]OFD Sender: No OFD packet to send [08:04:41]OFD Sender: No OFD packet to send [08:04:46]OFD Sender: No OFD packet to send [08:04:51]OFD Sender: No OFD packet to send [08:04:56]OFD Sender: No OFD packet to send [08:05:01]OFD Sender: No OFD packet to send [08:05:06]OFD Sender: No OFD packet to send [08:05:11]OFD Sender: No OFD packet to send [08:05:16]OFD Sender: No OFD packet to send [08:05:21]OFD Sender: No OFD packet to send [08:05:26]OFD Sender: No OFD packet to send [08:05:31]OFD Sender: No OFD packet to send [08:05:36]OFD Sender: No OFD packet to send [08:05:41]OFD Sender: No OFD packet to send [08:05:46]OFD Sender: No OFD packet to send [08:05:51]OFD Sender: No OFD packet to send [08:05:56]OFD Sender: No OFD packet to send [08:06:01]OFD Sender: No OFD packet to send [08:06:06]OFD Sender: No OFD packet to send [08:06:11]OFD Sender: No OFD packet to send [08:06:16]OFD Sender: No OFD packet to send [08:06:21]OFD Sender: No OFD packet to send [08:06:26]OFD Sender: No OFD packet to send [08:06:31]OFD Sender: No OFD packet to send [08:06:36]OFD Sender: No OFD packet to send [08:06:41]OFD Sender: No OFD packet to send [08:06:46]OFD Sender: No OFD packet to send [08:06:51]OFD Sender: No OFD packet to send [08:06:56]OFD Sender: No OFD packet to send [08:07:01]OFD Sender: No OFD packet to send [08:07:06]OFD Sender: No OFD packet to send [08:07:11]OFD Sender: No OFD packet to send [08:07:16]OFD Sender: No OFD packet to send [08:07:21]OFD Sender: No OFD packet to send [08:07:26]OFD Sender: No OFD packet to send [08:07:31]OFD Sender: No OFD packet to send [08:07:36]OFD Sender: No OFD packet to send [08:07:41]OFD Sender: No OFD packet to send [08:07:46]OFD Sender: No OFD packet to send [08:07:51]OFD Sender: No OFD packet to send [08:07:56]OFD Sender: No OFD packet to send [08:08:01]OFD Sender: No OFD packet to send [08:08:06]OFD Sender: No OFD packet to send [08:08:11]OFD Sender: No OFD packet to send [08:08:16]OFD Sender: No OFD packet to send [08:08:21]OFD Sender: No OFD packet to send [08:08:26]OFD Sender: No OFD packet to send [08:08:31]OFD Sender: No OFD packet to send [08:08:36]OFD Sender: No OFD packet to send [08:08:41]OFD Sender: No OFD packet to send [08:08:46]OFD Sender: No OFD packet to send [08:08:51]OFD Sender: No OFD packet to send [08:08:56]OFD Sender: No OFD packet to send [08:09:01]OFD Sender: No OFD packet to send [08:09:06]OFD Sender: No OFD packet to send [08:09:11]OFD Sender: No OFD packet to send [08:09:16]OFD Sender: No OFD packet to send [08:09:21]OFD Sender: No OFD packet to send [08:09:26]OFD Sender: No OFD packet to send [08:09:31]OFD Sender: No OFD packet to send [08:09:36]OFD Sender: No OFD packet to send [08:09:41]OFD Sender: No OFD packet to send [08:09:46]OFD Sender: No OFD packet to send [08:09:51]OFD Sender: No OFD packet to send [08:09:56]OFD Sender: No OFD packet to send [08:10:01]OFD Sender: No OFD packet to send [08:10:06]OFD Sender: No OFD packet to send [08:10:11]OFD Sender: No OFD packet to send [08:10:16]OFD Sender: No OFD packet to send [08:10:21]OFD Sender: No OFD packet to send [08:10:26]OFD Sender: No OFD packet to send [08:10:31]OFD Sender: No OFD packet to send [08:10:36]OFD Sender: No OFD packet to send [08:10:41]OFD Sender: No OFD packet to send [08:10:46]OFD Sender: No OFD packet to send [08:10:51]OFD Sender: No OFD packet to send [08:10:56]OFD Sender: No OFD packet to send [08:11:01]OFD Sender: No OFD packet to send [08:11:06]OFD Sender: No OFD packet to send [08:11:11]OFD Sender: No OFD packet to send [08:11:16]OFD Sender: No OFD packet to send [08:11:21]OFD Sender: No OFD packet to send [08:11:26]OFD Sender: No OFD packet to send [08:11:31]OFD Sender: No OFD packet to send [08:11:36]OFD Sender: No OFD packet to send [08:11:41]OFD Sender: No OFD packet to send [08:11:46]OFD Sender: No OFD packet to send [08:11:51]OFD Sender: No OFD packet to send [08:11:56]OFD Sender: No OFD packet to send [08:12:01]OFD Sender: No OFD packet to send [08:12:06]OFD Sender: No OFD packet to send [08:12:11]OFD Sender: No OFD packet to send [08:12:16]OFD Sender: No OFD packet to send [08:12:21]OFD Sender: No OFD packet to send [08:12:26]OFD Sender: No OFD packet to send [08:12:31]OFD Sender: No OFD packet to send [08:12:36]OFD Sender: No OFD packet to send [08:12:41]OFD Sender: No OFD packet to send [08:12:46]OFD Sender: No OFD packet to send [08:12:51]OFD Sender: No OFD packet to send [08:12:56]OFD Sender: No OFD packet to send [08:13:01]OFD Sender: No OFD packet to send [08:13:06]OFD Sender: No OFD packet to send [08:13:11]OFD Sender: No OFD packet to send [08:13:16]OFD Sender: No OFD packet to send [08:13:21]OFD Sender: No OFD packet to send [08:13:26]OFD Sender: No OFD packet to send [08:13:31]OFD Sender: No OFD packet to send [08:13:36]OFD Sender: No OFD packet to send [08:13:41]OFD Sender: No OFD packet to send [08:13:46]OFD Sender: No OFD packet to send [08:13:51]OFD Sender: No OFD packet to send [08:13:57]OFD Sender: No OFD packet to send [08:14:02]OFD Sender: No OFD packet to send [08:14:07]OFD Sender: No OFD packet to send [08:14:12]OFD Sender: No OFD packet to send [08:14:17]OFD Sender: No OFD packet to send [08:14:22]OFD Sender: No OFD packet to send [08:14:27]OFD Sender: No OFD packet to send [08:14:32]OFD Sender: No OFD packet to send [08:14:37]OFD Sender: No OFD packet to send [08:14:42]OFD Sender: No OFD packet to send [08:14:47]OFD Sender: No OFD packet to send [08:14:52]OFD Sender: No OFD packet to send [08:14:57]OFD Sender: No OFD packet to send [08:15:02]OFD Sender: No OFD packet to send [08:15:07]OFD Sender: No OFD packet to send [08:15:12]OFD Sender: No OFD packet to send [08:15:17]OFD Sender: No OFD packet to send [08:15:22]OFD Sender: No OFD packet to send [08:15:27]OFD Sender: No OFD packet to send [08:15:32]OFD Sender: No OFD packet to send [08:15:37]OFD Sender: No OFD packet to send [08:15:42]OFD Sender: No OFD packet to send [08:15:47]OFD Sender: No OFD packet to send [08:15:52]OFD Sender: No OFD packet to send [08:15:57]OFD Sender: No OFD packet to send [08:16:02]OFD Sender: No OFD packet to send [08:16:07]OFD Sender: No OFD packet to send [08:16:12]OFD Sender: No OFD packet to send [08:16:17]OFD Sender: No OFD packet to send [08:16:22]OFD Sender: No OFD packet to send [08:16:27]OFD Sender: No OFD packet to send [08:16:32]OFD Sender: No OFD packet to send [08:16:37]OFD Sender: No OFD packet to send [08:16:42]OFD Sender: No OFD packet to send [08:16:47]OFD Sender: No OFD packet to send [08:16:52]OFD Sender: No OFD packet to send [08:16:57]OFD Sender: No OFD packet to send [08:17:02]OFD Sender: No OFD packet to send [08:17:07]OFD Sender: No OFD packet to send [08:17:12]OFD Sender: No OFD packet to send [08:17:17]OFD Sender: No OFD packet to send [08:17:22]OFD Sender: No OFD packet to send [08:17:27]OFD Sender: No OFD packet to send [08:17:32]OFD Sender: No OFD packet to send [08:17:37]OFD Sender: No OFD packet to send [08:17:42]OFD Sender: No OFD packet to send [08:17:47]OFD Sender: No OFD packet to send [08:17:52]OFD Sender: No OFD packet to send [08:17:57]OFD Sender: No OFD packet to send [08:18:02]OFD Sender: No OFD packet to send [08:18:07]OFD Sender: No OFD packet to send [08:18:12]OFD Sender: No OFD packet to send [08:18:17]OFD Sender: No OFD packet to send [08:18:22]OFD Sender: No OFD packet to send [08:18:27]OFD Sender: No OFD packet to send [08:18:32]OFD Sender: No OFD packet to send [08:18:37]OFD Sender: No OFD packet to send [08:18:42]OFD Sender: No OFD packet to send [08:18:47]OFD Sender: No OFD packet to send [08:18:52]OFD Sender: No OFD packet to send [08:18:57]OFD Sender: No OFD packet to send [08:19:02]OFD Sender: No OFD packet to send [08:19:07]OFD Sender: No OFD packet to send [08:19:12]OFD Sender: No OFD packet to send [08:19:17]OFD Sender: No OFD packet to send [08:19:22]OFD Sender: No OFD packet to send [08:19:27]OFD Sender: No OFD packet to send [08:19:32]OFD Sender: No OFD packet to send [08:19:37]OFD Sender: No OFD packet to send [08:19:42]OFD Sender: No OFD packet to send [08:19:47]OFD Sender: No OFD packet to send [08:19:52]OFD Sender: No OFD packet to send [08:19:57]OFD Sender: No OFD packet to send [08:20:02]OFD Sender: No OFD packet to send [08:20:07]OFD Sender: No OFD packet to send [08:20:12]OFD Sender: No OFD packet to send [08:20:17]OFD Sender: No OFD packet to send [08:20:22]OFD Sender: No OFD packet to send [08:20:27]OFD Sender: No OFD packet to send [08:20:32]OFD Sender: No OFD packet to send [08:20:37]OFD Sender: No OFD packet to send [08:20:42]OFD Sender: No OFD packet to send [08:20:47]OFD Sender: No OFD packet to send [08:20:52]OFD Sender: No OFD packet to send [08:20:57]OFD Sender: No OFD packet to send [08:21:02]OFD Sender: No OFD packet to send [08:21:07]OFD Sender: No OFD packet to send [08:21:12]OFD Sender: No OFD packet to send [08:21:17]OFD Sender: No OFD packet to send [08:21:22]OFD Sender: No OFD packet to send [08:21:27]OFD Sender: No OFD packet to send [08:21:32]OFD Sender: No OFD packet to send [08:21:37]OFD Sender: No OFD packet to send [08:21:42]OFD Sender: No OFD packet to send [08:21:47]OFD Sender: No OFD packet to send [08:21:52]OFD Sender: No OFD packet to send [08:21:57]OFD Sender: No OFD packet to send [08:22:02]OFD Sender: No OFD packet to send [08:22:07]OFD Sender: No OFD packet to send [08:22:12]OFD Sender: No OFD packet to send [08:22:17]OFD Sender: No OFD packet to send [08:22:22]OFD Sender: No OFD packet to send [08:22:27]OFD Sender: No OFD packet to send [08:22:32]OFD Sender: No OFD packet to send [08:22:37]OFD Sender: No OFD packet to send [08:22:42]OFD Sender: No OFD packet to send [08:22:47]OFD Sender: No OFD packet to send [08:22:52]OFD Sender: No OFD packet to send [08:22:57]OFD Sender: No OFD packet to send [08:23:02]OFD Sender: No OFD packet to send [08:23:07]OFD Sender: No OFD packet to send [08:23:12]OFD Sender: No OFD packet to send [08:23:22]OFD Sender: No OFD packet to send [08:23:27]OFD Sender: No OFD packet to send [08:23:32]OFD Sender: No OFD packet to send [08:23:37]OFD Sender: No OFD packet to send [08:23:42]OFD Sender: No OFD packet to send [08:23:47]OFD Sender: No OFD packet to send [08:23:52]OFD Sender: No OFD packet to send [08:23:57]OFD Sender: No OFD packet to send [08:24:02]OFD Sender: No OFD packet to send [08:24:07]OFD Sender: No OFD packet to send [08:24:12]OFD Sender: No OFD packet to send [08:24:17]OFD Sender: No OFD packet to send [08:24:22]OFD Sender: No OFD packet to send [08:24:27]OFD Sender: No OFD packet to send [08:24:32]OFD Sender: No OFD packet to send [08:24:37]OFD Sender: No OFD packet to send [08:24:42]OFD Sender: No OFD packet to send [08:24:47]OFD Sender: No OFD packet to send [08:24:52]OFD Sender: No OFD packet to send [08:24:57]OFD Sender: No OFD packet to send [08:25:02]OFD Sender: No OFD packet to send [08:25:07]OFD Sender: No OFD packet to send [08:25:12]OFD Sender: No OFD packet to send [08:25:17]OFD Sender: No OFD packet to send [08:25:22]OFD Sender: No OFD packet to send [08:25:27]OFD Sender: No OFD packet to send [08:25:30]ConnectInit Can't connect to host [08:25:32]OFD Sender: No OFD packet to send [08:25:37]OFD Sender: No OFD packet to send [08:25:42]OFD Sender: No OFD packet to send [08:25:47]OFD Sender: No OFD packet to send [08:25:52]OFD Sender: No OFD packet to send [08:25:57]OFD Sender: No OFD packet to send [08:26:02]OFD Sender: No OFD packet to send [08:26:07]OFD Sender: No OFD packet to send [08:26:12]OFD Sender: No OFD packet to send [08:26:17]OFD Sender: No OFD packet to send [08:26:22]OFD Sender: No OFD packet to send [08:26:27]OFD Sender: No OFD packet to send [08:26:32]OFD Sender: No OFD packet to send [08:26:37]OFD Sender: No OFD packet to send [08:26:42]OFD Sender: No OFD packet to send [08:26:47]OFD Sender: No OFD packet to send [08:26:52]OFD Sender: No OFD packet to send [08:26:57]OFD Sender: No OFD packet to send [08:27:02]OFD Sender: No OFD packet to send [08:27:07]OFD Sender: No OFD packet to send [08:27:12]OFD Sender: No OFD packet to send [08:27:17]OFD Sender: No OFD packet to send [08:27:22]OFD Sender: No OFD packet to send [08:27:27]OFD Sender: No OFD packet to send [08:27:32]OFD Sender: No OFD packet to send [08:27:37]OFD Sender: No OFD packet to send [08:27:42]OFD Sender: No OFD packet to send [08:27:47]OFD Sender: No OFD packet to send [08:27:52]OFD Sender: No OFD packet to send [08:27:57]OFD Sender: No OFD packet to send [08:28:02]OFD Sender: No OFD packet to send [08:28:07]OFD Sender: No OFD packet to send [08:28:12]OFD Sender: No OFD packet to send [08:28:17]OFD Sender: No OFD packet to send [08:28:22]OFD Sender: No OFD packet to send [08:28:27]OFD Sender: No OFD packet to send [08:28:32]OFD Sender: No OFD packet to send [08:28:37]OFD Sender: No OFD packet to send [08:28:42]OFD Sender: No OFD packet to send [08:28:47]OFD Sender: No OFD packet to send [08:28:52]OFD Sender: No OFD packet to send [08:28:57]OFD Sender: No OFD packet to send [08:29:02]OFD Sender: No OFD packet to send [08:29:07]OFD Sender: No OFD packet to send [08:29:12]OFD Sender: No OFD packet to send [08:29:17]OFD Sender: No OFD packet to send [08:29:22]OFD Sender: No OFD packet to send [08:29:27]OFD Sender: No OFD packet to send [08:29:32]OFD Sender: No OFD packet to send [08:29:37]OFD Sender: No OFD packet to send [08:29:42]OFD Sender: No OFD packet to send [08:29:47]OFD Sender: No OFD packet to send [08:29:52]OFD Sender: No OFD packet to send [08:29:57]OFD Sender: No OFD packet to send [08:30:02]OFD Sender: No OFD packet to send [08:30:07]OFD Sender: No OFD packet to send [08:30:12]OFD Sender: No OFD packet to send [08:30:17]OFD Sender: No OFD packet to send [08:30:22]OFD Sender: No OFD packet to send [08:30:27]OFD Sender: No OFD packet to send [08:30:32]OFD Sender: No OFD packet to send [08:30:37]OFD Sender: No OFD packet to send [08:30:42]OFD Sender: No OFD packet to send [08:30:47]OFD Sender: No OFD packet to send [08:30:52]OFD Sender: No OFD packet to send [08:30:57]OFD Sender: No OFD packet to send [08:31:02]OFD Sender: No OFD packet to send [08:31:07]OFD Sender: No OFD packet to send [08:31:12]OFD Sender: No OFD packet to send [08:31:17]OFD Sender: No OFD packet to send [08:31:22]OFD Sender: No OFD packet to send [08:31:27]OFD Sender: No OFD packet to send [08:31:32]OFD Sender: No OFD packet to send [08:31:37]OFD Sender: No OFD packet to send [08:31:42]OFD Sender: No OFD packet to send [08:31:47]OFD Sender: No OFD packet to send [08:31:52]OFD Sender: No OFD packet to send [08:31:57]OFD Sender: No OFD packet to send [08:32:02]OFD Sender: No OFD packet to send [08:32:07]OFD Sender: No OFD packet to send [08:32:12]OFD Sender: No OFD packet to send [08:32:17]OFD Sender: No OFD packet to send [08:32:22]OFD Sender: No OFD packet to send [08:32:27]OFD Sender: No OFD packet to send [08:32:32]OFD Sender: No OFD packet to send [08:32:37]OFD Sender: No OFD packet to send [08:32:42]OFD Sender: No OFD packet to send [08:32:47]OFD Sender: No OFD packet to send [08:32:52]OFD Sender: No OFD packet to send [08:32:57]OFD Sender: No OFD packet to send [08:33: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:56]accept exits with 7 [08:46:56]New connection [08:46:56]New thread 3067440484 created [08:46:56]Thread 3067297124 joined [08:46:56]Waiting for new connection... [08:46:56] Sock 7.Parse request [08:46:56]Sock 7.Check first char [08:46:56]Sock 7.First char is OK [08:46:56]request: POST /json_proto HTTP/1.0 [08:46:56]Method: POST [08:46:56]URL: /json_proto [08:46:56]Method is POST - this is cgi request [08:46:56]url: /json_proto [08:46:56]query_string will be loaded in cgi processing [08:46:56]execute_cgi json_proto POST (null) [08:46:56]execute_cgi path=json_proto method=POST [08:46:56]POST find Content-Length [08:46:56]Host: 172.17.40.196:8080 [08:46:56]Content-Length: 645 [08:46:56]Content-Type: application/json [08:46:56] [08:46:56]POST finish read [08:46:56]Found Content-Length = 645 [08:46:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35066", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 3.000, "sum" : 390.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 390.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:46:56]execute_script... [08:46:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35066", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 3.000, "sum" : 390.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 390.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:46:56]POST & json_proto [08:46:56]process_json_proto [08:46:56]json parsed OK: [08:46:56]protocol is kg_v1.0 [08:46:56]action value=close_receipt [08:46:56]process_action close_receipt [08:46:56]cmd_close_receipt [08:46:56]MH_GetDate [08:46:56]Write to MH i2c: F0 00 00 0A 1A 13 [08:46:56]Write i2c OK [08:46:56]MH_I2C_Read... [08:46:56]Read from MH i2c: F0 [08:46:56]MH_I2C_Read... [08:46:56]Read from MH i2c: F0 09 00 [08:46:56]MH_I2C_Read... [08:46:56]Read from MH i2c: F0 09 00 0A 1A 00 87 4F 1F 67 5B 68 A1 66 42 [08:46:56]GetLastDocTimeStamp 1730101549 [08:46:56]current date 1730105223 [08:46:56]FM_GetShiftState [08:46:56]SAM_PROTO_GetShiftState [08:46:56]wFMCommunicate request_size=4 [08:46:56]MH_SAM_APDU [08:46:56]CAPDU: 80 13 01 00 [08:46:56]Write to MH i2c: E2 08 00 0B 1A 80 13 01 00 00 00 00 00 A2 [08:46:56]Write i2c OK [08:46:56]MH_I2C_Read... [08:46:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:46:56]Read from MH i2c: E2 [08:46:56]MH_I2C_Read... [08:46:56]Read from MH i2c: E2 0E 00 [08:46:56]MH_I2C_Read... [08:46:56]Read from MH i2c: E2 0E 00 0B 1A 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 24 [08:46:56]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [08:46:56]wFMCommunicate OK [08:46:56]SAM_PROTO_GetShiftState done [08:46:56]FM_GetShiftState done [08:46:56]opened in 1730073884 [08:46:56]opened+sec_in_day 1730160284 [08:46:56]quantity*price = 39000 [08:46:56]sum+1 = 39001 [08:46:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 390.00 НСП 1% : 3.45 НДС 12% : 41.42 Наличными: 390.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 12 28.10.2024 08:47 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37769 ФПД: 198204748584503 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T084703&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37769&fm=198204748584503&tin=02508201610067®Number=0000000000091684&sum=39000 0 [08:46:57]StoreToDocumentArchive [08:46:57]shift 551 fd 37769 [08:46:57]save to /storage/0551/doc_00037769 [08:46:57]save last doc name /storage/0551/doc_00037769 to /storage/kkm_last_doc_name [08:46:57]save OK [08:46:57]Clear old archive folders... [08:46:57]ProcessDocumentItem done err = 0, tmpTLVsize=282 [08:46:57]tlvbuf is 0029E520 [08:46:57]SAM_PROTO_ClearQueue [08:46:57]wFMCommunicate request_size=4 [08:46:57]MH_SAM_APDU [08:46:57]CAPDU: 80 09 00 00 [08:46:57]Write to MH i2c: E2 08 00 18 1A 80 09 00 00 00 00 00 00 A4 [08:46:57]Write i2c OK [08:46:57]MH_I2C_Read... [08:46:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:46:57]Read from MH i2c: E2 [08:46:57]MH_I2C_Read... [08:46:57]Read from MH i2c: E2 03 00 [08:46:57]MH_I2C_Read... [08:46:57]Read from MH i2c: E2 03 00 18 1A 00 90 00 A6 [08:46:57]RAPDU: 90 00 [08:46:57]wFMCommunicate OK [08:46:57]SAM_PROTO_ClearQueue done [08:46:57]KKMCreateOFDPacket [08:46:57]OFDProtocolAddRootSTLVToBuf [08:46:57]FM_MakeSignedData [08:46:57]FM_MakeSignedData [08:46:57]SAM_PROTO_SignData [08:46:57]wFMCommunicate request_size=4 [08:46:57]MH_SAM_APDU [08:46:57]CAPDU: 80 0D 01 02 [08:46:57]Write to MH i2c: E2 08 00 19 1A 80 0D 01 02 00 00 00 00 AC [08:46:57]Write i2c OK [08:46:57]MH_I2C_Read... [08:46:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:46:57]Read from MH i2c: E2 [08:46:57]MH_I2C_Read... [08:46:57]Read from MH i2c: E2 03 00 [08:46:57]MH_I2C_Read... [08:46:57]Read from MH i2c: E2 03 00 19 1A 00 90 00 A7 [08:46:57]RAPDU: 90 00 [08:46:57]wFMCommunicate OK [08:46:57]wFMCommunicate request_size=255 [08:46:57]MH_SAM_APDU [08:46:57]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 58 98 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 10 00 00 00 00 07 04 06 00 58 98 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 87 4F 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 [08:46:57]Write to MH i2c: E2 02 01 1A 1A 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 58 98 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 10 00 00 00 00 07 04 06 00 58 98 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 87 4F 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 00 00 C5 [08:46:57]Write i2c OK [08:46:57]MH_I2C_Read... [08:46:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:46:57]Read from MH i2c: E2 [08:46:57]MH_I2C_Read... [08:46:57]Read from MH i2c: E2 03 00 [08:46:57]MH_I2C_Read... [08:46:57]Read from MH i2c: E2 03 00 1A 1A 00 90 00 A8 [08:46:57]RAPDU: 90 00 [08:46:57]wFMCommunicate OK [08:46:57]wFMCommunicate request_size=41 [08:46:57]MH_SAM_APDU [08:46:57]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 89 93 00 00 35 04 06 00 B4 44 23 A1 D6 37 [08:46:57]Write to MH i2c: E2 2C 00 1B 1A 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 89 93 00 00 35 04 06 00 B4 44 23 A1 D6 37 00 00 60 [08:46:57]Write i2c OK [08:46:57]MH_I2C_Read... [08:46:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:46:57]Read from MH i2c: E2 [08:46:57]MH_I2C_Read... [08:46:57]Read from MH i2c: E2 03 00 [08:46:57]MH_I2C_Read... [08:46:57]Read from MH i2c: E2 03 00 1B 1A 00 90 00 A9 [08:46:57]RAPDU: 90 00 [08:46:57]wFMCommunicate OK [08:46:57]wFMCommunicate request_size=4 [08:46:57]MH_SAM_APDU [08:46:57]CAPDU: 80 0D 03 02 [08:46:57]Write to MH i2c: E2 08 00 1C 1A 80 0D 03 02 00 00 00 00 B1 [08:46:57]Write i2c OK [08:46:57]MH_I2C_Read... [08:46:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:46:57]Read from MH i2c: E2 [08:46:57]MH_I2C_Read... [08:46:57]Read from MH i2c: E2 0B 00 [08:46:57]MH_I2C_Read... [08:46:57]Read from MH i2c: E2 0B 00 1C 1A 00 DD 69 BF 0D CB 36 2E 40 90 00 33 [08:46:57]RAPDU: DD 69 BF 0D CB 36 2E 40 90 00 [08:46:57]wFMCommunicate OK [08:46:57]SAM_PROTO_SignData done [08:46:57]FM_MakeSignedData done [08:46:57]CreateOFDProtocolMessage [08:46:57]wFMCommunicate request_size=4 [08:46:57]MH_SAM_APDU [08:46:57]CAPDU: 80 11 00 00 [08:46:57]Write to MH i2c: E2 08 00 1D 1A 80 11 00 00 00 00 00 00 B1 [08:46:57]Write i2c OK [08:46:57]MH_I2C_Read... [08:46:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:46:57]Read from MH i2c: E2 [08:46:57]MH_I2C_Read... [08:46:57]Read from MH i2c: E2 17 00 [08:46:57]MH_I2C_Read... [08:46:57]Read from MH i2c: E2 17 00 1D 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 01 [08:46:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:46:57]wFMCommunicate OK [08:46:57]CreateOFDProtocolMessage done [08:46:57]OFDSenderStorePacket 37769 [08:46:57]StoreOFDPacket docnum=37769 [08:46:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 60 41 26 01 E8 A8 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 58 98 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 10 00 00 00 00 07 04 06 00 58 98 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 87 4F 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 89 93 00 00 35 04 06 00 B4 44 23 A1 D6 37 DD 69 BF 0D CB 36 2E 40 [08:46:57]CheckFolder [08:46:57]dirname=/storage/ofd_packets [08:46:57]CheckFolder done [08:46:57]ProducePacketName [08:46:57]name=ofd_packets/00037769 [08:46:57]NVStorageSaveData ofd_packets/00037769 [08:46:57]File name is /storage/ofd_packets/00037769 [08:46:57]Write 332 bytes [08:46:57]NVStorageSaveData done [08:46:57]OFDSenderStorePacket done [08:46:57]KKMCreateOFDPacket done [08:46:57]NVStorageSaveData kkm_last_timestamp [08:46:57]File name is /storage/kkm_last_timestamp [08:46:57]Write 4 bytes [08:46:57]NVStorageSaveData done [08:46:57]ExternCall_PrintAddStr [08:46:57]wPrintStart [08:46:57]Write to MH i2c: 01 00 00 1E 1A 38 [08:46:57]Write i2c OK [08:46:57]MH_I2C_Read... [08:46:57]Read from MH i2c: 01 [08:46:57]MH_I2C_Read... [08:46:57]Read from MH i2c: 01 07 00 [08:46:57]MH_I2C_Read... [08:46:57]Read from MH i2c: 01 07 00 1E 1A 00 00 00 00 00 FF 0F 4D [08:46:57]RasterBufferAndPrint [08:46:57]line Счет N : (3)35066 [08:46:57]line ИНН: 02508201610067 [08:46:57]line Контрольно-Кассовый Чек [08:46:57]line ПРОДАЖА [08:46:57]line Товар: 2000036220012 [08:46:57]line Кофе Капучино XL(GABB TRADE) [08:46:57]line 3.000 * 130.00 [08:46:57]line = 390.00 [08:46:57]line НДС 12% НСП 1% [08:46:57]line > о реализуемом товаре [08:46:57]line ИТОГО: 390.00 [08:46:57]line НСП 1% : 3.45 [08:46:57]line НДС 12% : 41.42 [08:46:57]line Наличными: 390.00 [08:46:57]line Безнал.: 0.00 [08:46:57]line Место: АЗС № 126 "Партнер Нефть" [08:46:57]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [08:46:57]line СНО: Общий режим [08:46:57]line Чек 12 28.10.2024 08:47 [08:46:57]line Смена: 551 ФФД: 1.0 [08:46:57]line ЗНМ: 0300000092 [08:46:57]line РНМ: 0000000000091684 [08:46:57]line Версия ККМ: 001 [08:46:57]line ФМ: 0000000000871841 [08:46:57]line ФД: 37769 [08:46:57]line ФПД: 198204748584503 [08:46:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T084703&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37769&fm=198204748584503&tin=02508201610067®Number=0000000000091684&sum=39000 [08:46:58]line 0 [08:46:58]OFD Sender: Processing packet 37769 [packets to send 42, broken 41] [08:46:58]ProducePacketName [08:46:58]name=ofd_packets/00037769 [08:46:58]OFD Sender: To server: pG, [08:46:58]CommunicateWithHost lk.salyk.kg:30040 [08:46:58]ConnectInit lk.salyk.kg [08:46:58]written 0, free lines is 4095 [08:46:58]Connected sock=10 [08:46:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 60 41 26 01 E8 A8 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 58 98 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 10 00 00 00 00 07 04 06 00 58 98 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 87 4F 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 89 93 00 00 35 04 06 00 B4 44 23 A1 D6 37 DD 69 BF 0D CB 36 2E 40 [08:46:58]Write to MH i2c: 01 00 00 47 1A 61 [08:46:58]Write i2c OK [08:46:58]MH_I2C_Read... [08:46:58]Read from MH i2c: 01 [08:46:58]MH_I2C_Read... [08:46:58]Read from MH i2c: 01 07 00 [08:46:58]MH_I2C_Read... [08:46:58]Read from MH i2c: 01 07 00 47 1A 00 00 00 00 00 B0 0C 24 [08:46:58]RasterBufferAndPrint [08:46:58]line [08:46:58]line [08:46:58]line [08:46:58]line [08:46:58]line [08:46:58]written 0, free lines is 3252 [08:46:58]MH_Cut [08:46:58]Write to MH i2c: D1 01 00 4E 1A 01 3A [08:46:58]Write i2c OK [08:46:58]MH_I2C_Read... [08:46:58]Read from MH i2c: D1 [08:46:58]MH_I2C_Read... [08:46:58]Read from MH i2c: D1 01 00 [08:46:58]MH_I2C_Read... [08:46:58]Read from MH i2c: D1 01 00 4E 1A 00 39 [08:46:58]Write to MH i2c: 01 00 00 4F 1A 69 [08:46:58]Write i2c OK [08:46:58]MH_I2C_Read... [08:46:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 7D 27 47 00 4D 45 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 89 93 00 00 F4 03 04 00 7C FA 1E 67 B6 04 01 00 00 E3 97 AD 25 D7 49 2C 59 [08:46:58]CommunicateWithHost err = 0 [08:46:58]CheckOFDResponse [08:46:58]1017 (14) - 77093643461234 [08:46:58]1041 (16) - 0000000000871841 [08:46:58]1040 (4) - 37769 [08:46:58]1012 (4) - 28.10.2024 02:44 [08:46:58]1206 (1) - 0 [08:46:58]OFD Sender: Remove packet 37769 [08:46:58]ProducePacketName [08:46:58]name=ofd_packets/00037769 [08:46:58]NVStorageDeleteData [08:46:59]OFD Sender: No OFD packet to send [08:46:59]*** Cut start [08:46:59]*** Partial cut [08:46:59]*** CUTSNS_PIN = 1 [08:46:59]*** CUTSNS_PIN = 0 [08:46:59]*** Brake cut motor [08:47:00]Read from MH i2c: 01 [08:47:00]MH_I2C_Read... [08:47:00]*** Stop cut motor [08:47:00]Read from MH i2c: 01 07 00 [08:47:00]MH_I2C_Read... [08:47:00]*** Cut end [08:47:00]Read from MH i2c: 01 07 00 4F 1A 00 00 00 00 00 FF 0F 7E [08:47:00]process_action close_receipt done [08:47:00]requested_data is exist [08:47:00]produce_requested_data [08:47:00]requested_item fm.sn is exist - process it [08:47:00]wFMCommunicate request_size=4 [08:47:00]MH_SAM_APDU [08:47:00]CAPDU: 80 11 00 00 [08:47:00]Write to MH i2c: E2 08 00 50 1A 80 11 00 00 00 00 00 00 E4 [08:47:00]Write i2c OK [08:47:00]MH_I2C_Read... [08:47:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:47:00]Read from MH i2c: E2 [08:47:00]MH_I2C_Read... [08:47:00]Read from MH i2c: E2 17 00 [08:47:00]MH_I2C_Read... [08:47:00]Read from MH i2c: E2 17 00 50 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 34 [08:47:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:47:00]wFMCommunicate OK [08:47:00]requested_item fd.num is exist - process it [08:47:00]SAM_PROTO_GetFieldsCounters [08:47:00]wFMCommunicate request_size=4 [08:47:00]MH_SAM_APDU [08:47:00]CAPDU: 80 13 00 00 [08:47:00]Write to MH i2c: E2 08 00 51 1A 80 13 00 00 00 00 00 00 E7 [08:47:00]Write i2c OK [08:47:00]MH_I2C_Read... [08:47:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:47:00]Read from MH i2c: E2 [08:47:00]MH_I2C_Read... [08:47:00]Read from MH i2c: E2 62 00 [08:47:00]MH_I2C_Read... [08:47:00]Read from MH i2c: E2 62 00 51 1A 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 89 93 00 00 0E 04 04 00 27 02 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 71 [08:47:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 89 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:47:00]wFMCommunicate OK [08:47:00]SAM_PROTO_GetFieldsCounters done [08:47:00]requested_item shift.num is exist - process it [08:47:00]requested_item shift.opened is exist - process it [08:47:00]req_shift_opened [08:47:00]FM_GetShiftState [08:47:00]SAM_PROTO_GetShiftState [08:47:00]wFMCommunicate request_size=4 [08:47:00]MH_SAM_APDU [08:47:00]CAPDU: 80 13 01 00 [08:47:00]Write to MH i2c: E2 08 00 52 1A 80 13 01 00 00 00 00 00 E9 [08:47:00]Write i2c OK [08:47:00]MH_I2C_Read... [08:47:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:47:00]Read from MH i2c: E2 [08:47:00]MH_I2C_Read... [08:47:00]Read from MH i2c: E2 0E 00 [08:47:00]MH_I2C_Read... [08:47:00]Read from MH i2c: E2 0E 00 52 1A 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 6B [08:47:00]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [08:47:00]wFMCommunicate OK [08:47:00]SAM_PROTO_GetShiftState done [08:47:00]FM_GetShiftState done [08:47:00]req_shift_opened done [08:47:00]requested_item shift.open_date is exist - process it [08:47:00]req_shift_open_date [08:47:00]req_shift_open_date done [08:47:00]produce_requested_data done [08:47:00]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37769,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [08:47:00]process_action_free close_receipt [08:47:00]json_value_free [08:47:00]json_value_free done [08:47:00]process_json_proto returns [08:47:00]Send response to host [08:47:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37769,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [08:47:00]free response buf [08:47:00]execute_script done [08:47:00]execute_script returns [08:47:00]free content buf [08:47:00]Sock 7.Close socket [08:47:00]Sock 7.Thread stoped [08:47:04]OFD Sender: No OFD packet to send [08:47:09]OFD Sender: No OFD packet to send [08:47:14]OFD Sender: No OFD packet to send [08:47:19]OFD Sender: No OFD packet to send [08:47:24]OFD Sender: No OFD packet to send [08:47:29]OFD Sender: No OFD packet to send [08:47:34]OFD Sender: No OFD packet to send [08:47:39]OFD Sender: No OFD packet to send [08:47:44]OFD Sender: No OFD packet to send [08:47:49]OFD Sender: No OFD packet to send [08:47:54]OFD Sender: No OFD packet to send [08:47:59]OFD Sender: No OFD packet to send [08:48:04]OFD Sender: No OFD packet to send [08:48:09]OFD Sender: No OFD packet to send [08:48:14]OFD Sender: No OFD packet to send [08:48:19]OFD Sender: No OFD packet to send [08:48:24]OFD Sender: No OFD packet to send [08:48:29]OFD Sender: No OFD packet to send [08:48:34]OFD Sender: No OFD packet to send [08:48:39]OFD Sender: No OFD packet to send [08:48:44]OFD Sender: No OFD packet to send [08:48:49]OFD Sender: No OFD packet to send [08:48:54]OFD Sender: No OFD packet to send [08:48:59]OFD Sender: No OFD packet to send [08:49:04]OFD Sender: No OFD packet to send [08:49:09]OFD Sender: No OFD packet to send [08:49:14]OFD Sender: No OFD packet to send [08:49:19]OFD Sender: No OFD packet to send [08:49:24]OFD Sender: No OFD packet to send [08:49:29]OFD Sender: No OFD packet to send [08:49:34]OFD Sender: No OFD packet to send [08:49:39]OFD Sender: No OFD packet to send [08:49:44]OFD Sender: No OFD packet to send [08:49:49]OFD Sender: No OFD packet to send [08:49:54]OFD Sender: No OFD packet to send [08:49:59]OFD Sender: No OFD packet to send [08:50:04]OFD Sender: No OFD packet to send [08:50:09]OFD Sender: No OFD packet to send [08:50:14]OFD Sender: No OFD packet to send [08:50:19]OFD Sender: No OFD packet to send [08:50:24]OFD Sender: No OFD packet to send [08:50:29]OFD Sender: No OFD packet to send [08:50:34]OFD Sender: No OFD packet to send [08:50:39]OFD Sender: No OFD packet to send [08:50:44]OFD Sender: No OFD packet to send [08:50:49]OFD Sender: No OFD packet to send [08:50:54]OFD Sender: No OFD packet to send [08:50:59]OFD Sender: No OFD packet to send [08:51:04]OFD Sender: No OFD packet to send [08:51:09]OFD Sender: No OFD packet to send [08:51:14]OFD Sender: No OFD packet to send [08:51:19]OFD Sender: No OFD packet to send [08:51:24]OFD Sender: No OFD packet to send [08:51:29]OFD Sender: No OFD packet to send [08:51:34]OFD Sender: No OFD packet to send [08:51:39]OFD Sender: No OFD packet to send [08:51:44]OFD Sender: No OFD packet to send [08:51:49]OFD Sender: No OFD packet to send [08:51:54]OFD Sender: No OFD packet to send [08:51:59]OFD Sender: No OFD packet to send [08:52:04]OFD Sender: No OFD packet to send [08:52:09]OFD Sender: No OFD packet to send [08:52:14]OFD Sender: No OFD packet to send [08:52:19]OFD Sender: No OFD packet to send [08:52:24]OFD Sender: No OFD packet to send [08:52:29]OFD Sender: No OFD packet to send [08:52:34]OFD Sender: No OFD packet to send [08:52:35]accept exits with 9 [08:52:35]New connection [08:52:35]New thread 3067297124 created [08:52:35]Thread 3067440484 joined [08:52:35]Waiting for new connection... [08:52:35] Sock 9.Parse request [08:52:35]Sock 9.Check first char [08:52:35]Sock 9.First char is OK [08:52:35]request: POST /json_proto HTTP/1.0 [08:52:35]Method: POST [08:52:35]URL: /json_proto [08:52:35]Method is POST - this is cgi request [08:52:35]url: /json_proto [08:52:35]query_string will be loaded in cgi processing [08:52:35]execute_cgi json_proto POST (null) [08:52:35]execute_cgi path=json_proto method=POST [08:52:35]POST find Content-Length [08:52:35]Host: 172.17.40.196:8080 [08:52:35]Content-Length: 644 [08:52:35]Content-Type: application/json [08:52:35] [08:52:35]POST finish read [08:52:35]Found Content-Length = 644 [08:52:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35067", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\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" ] } } [08:52:35]execute_script... [08:52: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)35067", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\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" ] } } [08:52:35]POST & json_proto [08:52:35]process_json_proto [08:52:35]json parsed OK: [08:52:35]protocol is kg_v1.0 [08:52:35]action value=close_receipt [08:52:35]process_action close_receipt [08:52:35]cmd_close_receipt [08:52:35]MH_GetDate [08:52:35]Write to MH i2c: F0 00 00 53 1A 5C [08:52:35]Write i2c OK [08:52:35]MH_I2C_Read... [08:52:35]Read from MH i2c: F0 [08:52:35]MH_I2C_Read... [08:52:35]Read from MH i2c: F0 09 00 [08:52:35]MH_I2C_Read... [08:52:35]Read from MH i2c: F0 09 00 53 1A 00 D9 50 1F 67 5B 68 A1 66 DE [08:52:35]GetLastDocTimeStamp 1730105223 [08:52:35]current date 1730105561 [08:52:35]FM_GetShiftState [08:52:35]SAM_PROTO_GetShiftState [08:52:35]wFMCommunicate request_size=4 [08:52:35]MH_SAM_APDU [08:52:35]CAPDU: 80 13 01 00 [08:52:35]Write to MH i2c: E2 08 00 54 1A 80 13 01 00 00 00 00 00 EB [08:52:35]Write i2c OK [08:52:35]MH_I2C_Read... [08:52:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:52:35]Read from MH i2c: E2 [08:52:35]MH_I2C_Read... [08:52:35]Read from MH i2c: E2 0E 00 [08:52:35]MH_I2C_Read... [08:52:35]Read from MH i2c: E2 0E 00 54 1A 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 6D [08:52:35]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [08:52:35]wFMCommunicate OK [08:52:35]SAM_PROTO_GetShiftState done [08:52:35]FM_GetShiftState done [08:52:35]opened in 1730073884 [08:52:35]opened+sec_in_day 1730160284 [08:52:35]quantity*price = 6500 [08:52:35]sum+1 = 6501 [08:52:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 13 28.10.2024 08:52 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37770 ФПД: 167669458195087 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T085241&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37770&fm=167669458195087&tin=02508201610067®Number=0000000000091684&sum=6500 0 [08:52:36]StoreToDocumentArchive [08:52:36]shift 551 fd 37770 [08:52:36]save to /storage/0551/doc_00037770 [08:52:36]save last doc name /storage/0551/doc_00037770 to /storage/kkm_last_doc_name [08:52:36]save OK [08:52:36]Clear old archive folders... [08:52:36]ProcessDocumentItem done err = 0, tmpTLVsize=272 [08:52:36]tlvbuf is 0029E370 [08:52:36]SAM_PROTO_ClearQueue [08:52:36]wFMCommunicate request_size=4 [08:52:36]MH_SAM_APDU [08:52:36]CAPDU: 80 09 00 00 [08:52:36]Write to MH i2c: E2 08 00 61 1A 80 09 00 00 00 00 00 00 ED [08:52:36]Write i2c OK [08:52:36]MH_I2C_Read... [08:52:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:52:36]Read from MH i2c: E2 [08:52:36]MH_I2C_Read... [08:52:36]Read from MH i2c: E2 03 00 [08:52:36]MH_I2C_Read... [08:52:36]Read from MH i2c: E2 03 00 61 1A 00 90 00 EF [08:52:36]RAPDU: 90 00 [08:52:36]wFMCommunicate OK [08:52:36]SAM_PROTO_ClearQueue done [08:52:36]KKMCreateOFDPacket [08:52:36]OFDProtocolAddRootSTLVToBuf [08:52:36]FM_MakeSignedData [08:52:36]FM_MakeSignedData [08:52:36]SAM_PROTO_SignData [08:52:36]wFMCommunicate request_size=4 [08:52:36]MH_SAM_APDU [08:52:36]CAPDU: 80 0D 01 02 [08:52:36]Write to MH i2c: E2 08 00 62 1A 80 0D 01 02 00 00 00 00 F5 [08:52:36]Write i2c OK [08:52:36]MH_I2C_Read... [08:52:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:52:36]Read from MH i2c: E2 [08:52:36]MH_I2C_Read... [08:52:36]Read from MH i2c: E2 03 00 [08:52:36]MH_I2C_Read... [08:52:36]Read from MH i2c: E2 03 00 62 1A 00 90 00 F0 [08:52:36]RAPDU: 90 00 [08:52:36]wFMCommunicate OK [08:52:36]wFMCommunicate request_size=255 [08:52:36]MH_SAM_APDU [08:52:36]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 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 0D 00 00 00 F4 03 04 00 D9 50 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [08:52:36]Write to MH i2c: E2 02 01 63 1A 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 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 0D 00 00 00 F4 03 04 00 D9 50 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 29 [08:52:36]Write i2c OK [08:52:36]MH_I2C_Read... [08:52:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:52:36]Read from MH i2c: E2 [08:52:36]MH_I2C_Read... [08:52:36]Read from MH i2c: E2 03 00 [08:52:36]MH_I2C_Read... [08:52:36]Read from MH i2c: E2 03 00 63 1A 00 90 00 F1 [08:52:36]RAPDU: 90 00 [08:52:36]wFMCommunicate OK [08:52:36]wFMCommunicate request_size=31 [08:52:36]MH_SAM_APDU [08:52:36]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 8A 93 00 00 35 04 06 00 98 7E 96 7E D2 8F [08:52:36]Write to MH i2c: E2 22 00 64 1A 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 8A 93 00 00 35 04 06 00 98 7E 96 7E D2 8F 00 00 C8 [08:52:36]Write i2c OK [08:52:36]MH_I2C_Read... [08:52:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:52:36]Read from MH i2c: E2 [08:52:36]MH_I2C_Read... [08:52:36]Read from MH i2c: E2 03 00 [08:52:36]MH_I2C_Read... [08:52:36]Read from MH i2c: E2 03 00 64 1A 00 90 00 F2 [08:52:36]RAPDU: 90 00 [08:52:36]wFMCommunicate OK [08:52:36]wFMCommunicate request_size=4 [08:52:36]MH_SAM_APDU [08:52:36]CAPDU: 80 0D 03 02 [08:52:36]Write to MH i2c: E2 08 00 65 1A 80 0D 03 02 00 00 00 00 FA [08:52:36]Write i2c OK [08:52:36]MH_I2C_Read... [08:52:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:52:36]Read from MH i2c: E2 [08:52:36]MH_I2C_Read... [08:52:36]Read from MH i2c: E2 0B 00 [08:52:36]MH_I2C_Read... [08:52:36]Read from MH i2c: E2 0B 00 65 1A 00 AD 88 71 9F 64 5C A8 20 90 00 C8 [08:52:36]RAPDU: AD 88 71 9F 64 5C A8 20 90 00 [08:52:36]wFMCommunicate OK [08:52:36]SAM_PROTO_SignData done [08:52:36]FM_MakeSignedData done [08:52:36]CreateOFDProtocolMessage [08:52:36]wFMCommunicate request_size=4 [08:52:36]MH_SAM_APDU [08:52:36]CAPDU: 80 11 00 00 [08:52:36]Write to MH i2c: E2 08 00 66 1A 80 11 00 00 00 00 00 00 FA [08:52:36]Write i2c OK [08:52:36]MH_I2C_Read... [08:52:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:52:36]Read from MH i2c: E2 [08:52:36]MH_I2C_Read... [08:52:36]Read from MH i2c: E2 17 00 [08:52:36]MH_I2C_Read... [08:52:36]Read from MH i2c: E2 17 00 66 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4A [08:52:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:52:36]wFMCommunicate OK [08:52:36]CreateOFDProtocolMessage done [08:52:36]OFDSenderStorePacket 37770 [08:52:36]StoreOFDPacket docnum=37770 [08:52:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 44 D8 1C 01 1A 14 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 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 0D 00 00 00 F4 03 04 00 D9 50 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8A 93 00 00 35 04 06 00 98 7E 96 7E D2 8F AD 88 71 9F 64 5C A8 20 [08:52:36]CheckFolder [08:52:36]dirname=/storage/ofd_packets [08:52:36]CheckFolder done [08:52:36]ProducePacketName [08:52:36]name=ofd_packets/00037770 [08:52:36]NVStorageSaveData ofd_packets/00037770 [08:52:36]File name is /storage/ofd_packets/00037770 [08:52:36]Write 322 bytes [08:52:36]NVStorageSaveData done [08:52:36]OFDSenderStorePacket done [08:52:36]KKMCreateOFDPacket done [08:52:36]NVStorageSaveData kkm_last_timestamp [08:52:36]File name is /storage/kkm_last_timestamp [08:52:36]Write 4 bytes [08:52:36]NVStorageSaveData done [08:52:36]ExternCall_PrintAddStr [08:52:36]wPrintStart [08:52:36]Write to MH i2c: 01 00 00 67 1A 81 [08:52:36]OFD Sender: Processing packet 37770 [packets to send 42, broken 41] [08:52:36]ProducePacketName [08:52:36]name=ofd_packets/00037770 [08:52:36]OFD Sender: To server: pG, [08:52:36]CommunicateWithHost lk.salyk.kg:30040 [08:52:36]ConnectInit lk.salyk.kg [08:52:36]Write i2c OK [08:52:36]MH_I2C_Read... [08:52:36]Read from MH i2c: 01 [08:52:36]MH_I2C_Read... [08:52:36]Read from MH i2c: 01 07 00 [08:52:36]MH_I2C_Read... [08:52:36]Read from MH i2c: 01 07 00 67 1A 00 00 00 00 00 FF 0F 96 [08:52:36]RasterBufferAndPrint [08:52:36]line Счет N : (3)35067 [08:52:36]line ИНН: 02508201610067 [08:52:36]line Контрольно-Кассовый Чек [08:52:36]line ПРОДАЖА [08:52:36]line Товар: 47011656 [08:52:36]line Водка Пшеничная 0,1л [08:52:36]line 1.000 * 65.00 [08:52:36]line = 65.00 [08:52:36]line НДС 12% НСП 1% [08:52:36]line > о реализуемом товаре [08:52:36]line ИТОГО: 65.00 [08:52:36]line НСП 1% : 0.57 [08:52:36]line НДС 12% : 6.90 [08:52:36]line Наличными: 65.00 [08:52:36]line Безнал.: 0.00 [08:52:36]line Место: АЗС № 126 "Партнер Нефть" [08:52:36]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [08:52:36]line СНО: Общий режим [08:52:36]line Чек 13 28.10.2024 08:52 [08:52:36]line Смена: 551 ФФД: 1.0 [08:52:36]line ЗНМ: 0300000092 [08:52:36]line РНМ: 0000000000091684 [08:52:36]line Версия ККМ: 001 [08:52:36]line ФМ: 0000000000871841 [08:52:36]line ФД: 37770 [08:52:36]line ФПД: 167669458195087 [08:52:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T085241&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37770&fm=167669458195087&tin=02508201610067®Number=0000000000091684&sum=6500 [08:52:37]Connected sock=10 [08:52: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 38 34 31 24 01 00 00 44 D8 1C 01 1A 14 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 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 0D 00 00 00 F4 03 04 00 D9 50 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8A 93 00 00 35 04 06 00 98 7E 96 7E D2 8F AD 88 71 9F 64 5C A8 20 [08:52:37]line 0 [08:52:37]written 0, free lines is 4095 [08:52:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 ED 44 47 00 9C 8A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8A 93 00 00 F4 03 04 00 CF FB 1E 67 B6 04 01 00 00 11 C2 36 94 E5 9E 96 C5 [08:52:37]CommunicateWithHost err = 0 [08:52:37]CheckOFDResponse [08:52:37]1017 (14) - 77093643461234 [08:52:37]1041 (16) - 0000000000871841 [08:52:37]1040 (4) - 37770 [08:52:37]1012 (4) - 28.10.2024 02:49 [08:52:37]1206 (1) - 0 [08:52:37]OFD Sender: Remove packet 37770 [08:52:37]ProducePacketName [08:52:37]name=ofd_packets/00037770 [08:52:37]NVStorageDeleteData [08:52:37]Write to MH i2c: 01 00 00 8F 1A A9 [08:52:37]Write i2c OK [08:52:37]MH_I2C_Read... [08:52:37]Read from MH i2c: 01 [08:52:37]MH_I2C_Read... [08:52:37]Read from MH i2c: 01 07 00 [08:52:37]MH_I2C_Read... [08:52:37]Read from MH i2c: 01 07 00 8F 1A 00 00 00 00 00 CC 0C 88 [08:52:37]RasterBufferAndPrint [08:52:37]line [08:52:37]line [08:52:37]line [08:52:37]line [08:52:37]line [08:52:37]written 0, free lines is 3283 [08:52:37]MH_Cut [08:52:37]Write to MH i2c: D1 01 00 96 1A 01 82 [08:52:37]Write i2c OK [08:52:37]MH_I2C_Read... [08:52:37]Read from MH i2c: D1 [08:52:37]MH_I2C_Read... [08:52:37]Read from MH i2c: D1 01 00 [08:52:37]MH_I2C_Read... [08:52:37]Read from MH i2c: D1 01 00 96 1A 00 81 [08:52:37]Write to MH i2c: 01 00 00 97 1A B1 [08:52:37]Write i2c OK [08:52:37]MH_I2C_Read... [08:52:38]OFD Sender: No OFD packet to send [08:52:38]*** Cut start [08:52:38]*** Partial cut [08:52:38]*** CUTSNS_PIN = 1 [08:52:38]*** CUTSNS_PIN = 0 [08:52:38]*** Brake cut motor [08:52:39]Read from MH i2c: 01 [08:52:39]MH_I2C_Read... [08:52:39]*** Stop cut motor [08:52:39]*** Cut end [08:52:39]Read from MH i2c: 01 07 00 [08:52:39]MH_I2C_Read... [08:52:39]Read from MH i2c: 01 07 00 97 1A 00 00 00 00 00 FF 0F C6 [08:52:39]process_action close_receipt done [08:52:39]requested_data is exist [08:52:39]produce_requested_data [08:52:39]requested_item fm.sn is exist - process it [08:52:39]wFMCommunicate request_size=4 [08:52:39]MH_SAM_APDU [08:52:39]CAPDU: 80 11 00 00 [08:52:39]Write to MH i2c: E2 08 00 98 1A 80 11 00 00 00 00 00 00 2C [08:52:39]Write i2c OK [08:52:39]MH_I2C_Read... [08:52:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:52:39]Read from MH i2c: E2 [08:52:39]MH_I2C_Read... [08:52:39]Read from MH i2c: E2 17 00 [08:52:39]MH_I2C_Read... [08:52:39]Read from MH i2c: E2 17 00 98 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 7C [08:52:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:52:39]wFMCommunicate OK [08:52:39]requested_item fd.num is exist - process it [08:52:39]SAM_PROTO_GetFieldsCounters [08:52:39]wFMCommunicate request_size=4 [08:52:39]MH_SAM_APDU [08:52:39]CAPDU: 80 13 00 00 [08:52:39]Write to MH i2c: E2 08 00 99 1A 80 13 00 00 00 00 00 00 2F [08:52:39]Write i2c OK [08:52:39]MH_I2C_Read... [08:52:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:52:39]Read from MH i2c: E2 [08:52:39]MH_I2C_Read... [08:52:39]Read from MH i2c: E2 62 00 [08:52:39]MH_I2C_Read... [08:52:39]Read from MH i2c: E2 62 00 99 1A 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 8A 93 00 00 0E 04 04 00 27 02 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 BD [08:52: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 8A 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:52:39]wFMCommunicate OK [08:52:39]SAM_PROTO_GetFieldsCounters done [08:52:39]requested_item shift.num is exist - process it [08:52:39]requested_item shift.opened is exist - process it [08:52:39]req_shift_opened [08:52:39]FM_GetShiftState [08:52:39]SAM_PROTO_GetShiftState [08:52:39]wFMCommunicate request_size=4 [08:52:39]MH_SAM_APDU [08:52:39]CAPDU: 80 13 01 00 [08:52:39]Write to MH i2c: E2 08 00 9A 1A 80 13 01 00 00 00 00 00 31 [08:52:39]Write i2c OK [08:52:39]MH_I2C_Read... [08:52:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:52:39]Read from MH i2c: E2 [08:52:39]MH_I2C_Read... [08:52:39]Read from MH i2c: E2 0E 00 [08:52:39]MH_I2C_Read... [08:52:39]Read from MH i2c: E2 0E 00 9A 1A 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 B3 [08:52:39]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [08:52:39]wFMCommunicate OK [08:52:39]SAM_PROTO_GetShiftState done [08:52:39]FM_GetShiftState done [08:52:39]req_shift_opened done [08:52:39]requested_item shift.open_date is exist - process it [08:52:39]req_shift_open_date [08:52:39]req_shift_open_date done [08:52:39]produce_requested_data done [08:52:39]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37770,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [08:52:39]process_action_free close_receipt [08:52:39]json_value_free [08:52:39]json_value_free done [08:52:39]process_json_proto returns [08:52:39]Send response to host [08:52:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37770,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [08:52:39]free response buf [08:52:39]execute_script done [08:52:39]execute_script returns [08:52:39]free content buf [08:52:39]Sock 9.Close socket [08:52:39]Sock 9.Thread stoped [08:52:43]OFD Sender: No OFD packet to send [08:52:48]OFD Sender: No OFD packet to send [08:52:53]OFD Sender: No OFD packet to send [08:52:58]OFD Sender: No OFD packet to send [08:53:03]OFD Sender: No OFD packet to send [08:53:08]OFD Sender: No OFD packet to send [08:53:13]OFD Sender: No OFD packet to send [08:53:18]OFD Sender: No OFD packet to send [08:53:23]OFD Sender: No OFD packet to send [08:53:28]OFD Sender: No OFD packet to send [08:53:33]OFD Sender: No OFD packet to send [08:53:38]OFD Sender: No OFD packet to send [08:53:43]OFD Sender: No OFD packet to send [08:53:48]OFD Sender: No OFD packet to send [08:53:53]OFD Sender: No OFD packet to send [08:53:58]OFD Sender: No OFD packet to send [08:54:03]OFD Sender: No OFD packet to send [08:54:08]OFD Sender: No OFD packet to send [08:54:13]OFD Sender: No OFD packet to send [08:54:18]OFD Sender: No OFD packet to send [08:54:23]OFD Sender: No OFD packet to send [08:54:28]OFD Sender: No OFD packet to send [08:54:33]OFD Sender: No OFD packet to send [08:54:38]OFD Sender: No OFD packet to send [08:54:43]OFD Sender: No OFD packet to send [08:54:48]OFD Sender: No OFD packet to send [08:54:53]OFD Sender: No OFD packet to send [08:54:58]OFD Sender: No OFD packet to send [08:55:03]OFD Sender: No OFD packet to send [08:55:08]OFD Sender: No OFD packet to send [08:55:13]OFD Sender: No OFD packet to send [08:55:18]OFD Sender: No OFD packet to send [08:55:23]OFD Sender: No OFD packet to send [08:55:28]OFD Sender: No OFD packet to send [08:55:33]OFD Sender: No OFD packet to send [08:55:38]OFD Sender: No OFD packet to send [08:55:43]OFD Sender: No OFD packet to send [08:55:48]OFD Sender: No OFD packet to send [08:55:53]OFD Sender: No OFD packet to send [08:55:58]OFD Sender: No OFD packet to send [08:56:03]OFD Sender: No OFD packet to send [08:56:08]OFD Sender: No OFD packet to send [08:56:13]OFD Sender: No OFD packet to send [08:56:18]OFD Sender: No OFD packet to send [08:56:23]OFD Sender: No OFD packet to send [08:56:28]OFD Sender: No OFD packet to send [08:56:33]OFD Sender: No OFD packet to send [08:56:38]OFD Sender: No OFD packet to send [08:56:43]OFD Sender: No OFD packet to send [08:56:48]OFD Sender: No OFD packet to send [08:56:53]OFD Sender: No OFD packet to send [08:56:58]OFD Sender: No OFD packet to send [08:57:03]OFD Sender: No OFD packet to send [08:57:08]OFD Sender: No OFD packet to send [08:57:13]OFD Sender: No OFD packet to send [08:57:18]OFD Sender: No OFD packet to send [08:57:23]OFD Sender: No OFD packet to send [08:57:28]OFD Sender: No OFD packet to send [08:57:33]OFD Sender: No OFD packet to send [08:57:38]OFD Sender: No OFD packet to send [08:57:43]OFD Sender: No OFD packet to send [08:57:48]OFD Sender: No OFD packet to send [08:57:53]OFD Sender: No OFD packet to send [08:57:58]OFD Sender: No OFD packet to send [08:58:03]OFD Sender: No OFD packet to send [08:58:08]OFD Sender: No OFD packet to send [08:58:13]OFD Sender: No OFD packet to send [08:58:18]OFD Sender: No OFD packet to send [08:58:23]OFD Sender: No OFD packet to send [08:58:28]OFD Sender: No OFD packet to send [08:58:33]OFD Sender: No OFD packet to send [08:58:38]OFD Sender: No OFD packet to send [08:58:43]OFD Sender: No OFD packet to send [08:58:47]accept exits with 7 [08:58:47]New connection [08:58:47]New thread 3067440484 created [08:58:47]Thread 3067297124 joined [08:58:47]Waiting for new connection... [08:58:47] Sock 7.Parse request [08:58:47]Sock 7.Check first char [08:58:47]Sock 7.First char is OK [08:58:47]request: POST /json_proto HTTP/1.0 [08:58:47]Method: POST [08:58:47]URL: /json_proto [08:58:47]Method is POST - this is cgi request [08:58:47]url: /json_proto [08:58:47]query_string will be loaded in cgi processing [08:58:47]execute_cgi json_proto POST (null) [08:58:47]execute_cgi path=json_proto method=POST [08:58:47]POST find Content-Length [08:58:47]Host: 172.17.40.196:8080 [08:58:47]Content-Length: 1122 [08:58:47]Content-Type: application/json [08:58:47] [08:58:47]POST finish read [08:58:47]Found Content-Length = 1122 [08:58:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35068", "tax_sys" : 0, "items" : [ { "code": "46116482", "name": "\u0416\u0435\u0432 Orbit \u044F\u0433\u043E\u0434\u043D\u044B\u0439 \u043C\u0438\u043A\u0441", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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 }]} ,{ "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 334.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:58:47]execute_script... [08:58:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35068", "tax_sys" : 0, "items" : [ { "code": "46116482", "name": "\u0416\u0435\u0432 Orbit \u044F\u0433\u043E\u0434\u043D\u044B\u0439 \u043C\u0438\u043A\u0441", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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 }]} ,{ "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 334.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:58:47]POST & json_proto [08:58:47]process_json_proto [08:58:47]json parsed OK: [08:58:47]protocol is kg_v1.0 [08:58:47]action value=close_receipt [08:58:47]process_action close_receipt [08:58:47]cmd_close_receipt [08:58:47]MH_GetDate [08:58:47]Write to MH i2c: F0 00 00 9B 1A A4 [08:58:47]Write i2c OK [08:58:47]MH_I2C_Read... [08:58:47]Read from MH i2c: F0 [08:58:47]MH_I2C_Read... [08:58:47]Read from MH i2c: F0 09 00 [08:58:47]MH_I2C_Read... [08:58:47]Read from MH i2c: F0 09 00 9B 1A 00 4E 52 1F 67 5B 68 A1 66 9D [08:58:47]GetLastDocTimeStamp 1730105561 [08:58:47]current date 1730105934 [08:58:47]FM_GetShiftState [08:58:47]SAM_PROTO_GetShiftState [08:58:47]wFMCommunicate request_size=4 [08:58:47]MH_SAM_APDU [08:58:47]CAPDU: 80 13 01 00 [08:58:47]Write to MH i2c: E2 08 00 9C 1A 80 13 01 00 00 00 00 00 33 [08:58:47]Write i2c OK [08:58:47]MH_I2C_Read... [08:58:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:58:47]Read from MH i2c: E2 [08:58:47]MH_I2C_Read... [08:58:47]Read from MH i2c: E2 0E 00 [08:58:47]MH_I2C_Read... [08:58:47]Read from MH i2c: E2 0E 00 9C 1A 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 B5 [08:58:47]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [08:58:47]wFMCommunicate OK [08:58:47]SAM_PROTO_GetShiftState done [08:58:47]FM_GetShiftState done [08:58:47]opened in 1730073884 [08:58:47]opened+sec_in_day 1730160284 [08:58:47]quantity*price = 4500 [08:58:47]sum+1 = 4501 [08:58:47]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036230011 Кофе Латте XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4640030091607 Сигареты ESSE Exchange 1.000 * 159.00 = 159.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 334.00 НСП 1% : 2.96 НДС 12% : 35.46 Наличными: 334.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 14 28.10.2024 08:58 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37771 ФПД: 92944339901849 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T085854&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37771&fm=92944339901849&tin=02508201610067®Number=0000000000091684&sum=33400 0 [08:58:48]StoreToDocumentArchive [08:58:48]shift 551 fd 37771 [08:58:48]save to /storage/0551/doc_00037771 [08:58:48]save last doc name /storage/0551/doc_00037771 to /storage/kkm_last_doc_name [08:58:48]save OK [08:58:48]Clear old archive folders... [08:58:48]ProcessDocumentItem done err = 0, tmpTLVsize=481 [08:58:48]tlvbuf is 0026D950 [08:58:48]SAM_PROTO_ClearQueue [08:58:48]wFMCommunicate request_size=4 [08:58:48]MH_SAM_APDU [08:58:48]CAPDU: 80 09 00 00 [08:58:48]Write to MH i2c: E2 08 00 A9 1A 80 09 00 00 00 00 00 00 35 [08:58:48]Write i2c OK [08:58:48]MH_I2C_Read... [08:58:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:58:48]Read from MH i2c: E2 [08:58:48]MH_I2C_Read... [08:58:48]Read from MH i2c: E2 03 00 [08:58:48]MH_I2C_Read... [08:58:48]Read from MH i2c: E2 03 00 A9 1A 00 90 00 37 [08:58:48]RAPDU: 90 00 [08:58:48]wFMCommunicate OK [08:58:48]SAM_PROTO_ClearQueue done [08:58:48]KKMCreateOFDPacket [08:58:48]OFDProtocolAddRootSTLVToBuf [08:58:48]FM_MakeSignedData [08:58:48]FM_MakeSignedData [08:58:48]SAM_PROTO_SignData [08:58:48]wFMCommunicate request_size=4 [08:58:48]MH_SAM_APDU [08:58:48]CAPDU: 80 0D 01 02 [08:58:48]Write to MH i2c: E2 08 00 AA 1A 80 0D 01 02 00 00 00 00 3D [08:58:48]Write i2c OK [08:58:48]MH_I2C_Read... [08:58:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:58:48]Read from MH i2c: E2 [08:58:48]MH_I2C_Read... [08:58:48]Read from MH i2c: E2 03 00 [08:58:48]MH_I2C_Read... [08:58:48]Read from MH i2c: E2 03 00 AA 1A 00 90 00 38 [08:58:48]RAPDU: 90 00 [08:58:48]wFMCommunicate OK [08:58:48]wFMCommunicate request_size=255 [08:58:48]MH_SAM_APDU [08:58:48]CAPDU: 80 0D 02 02 FA 03 00 E1 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 [08:58:48]Write to MH i2c: E2 02 01 AB 1A 80 0D 02 02 FA 00 03 00 E1 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 00 00 60 [08:58:49]Write i2c OK [08:58:49]MH_I2C_Read... [08:58:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:58:49]Read from MH i2c: E2 [08:58:49]MH_I2C_Read... [08:58:49]Read from MH i2c: E2 03 00 [08:58:49]MH_I2C_Read... [08:58:49]Read from MH i2c: E2 03 00 AB 1A 00 90 00 39 [08:58:49]RAPDU: 90 00 [08:58:49]wFMCommunicate OK [08:58:49]wFMCommunicate request_size=240 [08:58:49]MH_SAM_APDU [08:58:49]CAPDU: 80 0D 02 02 EB B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DA 0D 00 00 00 00 07 04 06 00 78 82 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 4E 52 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8B 93 00 00 35 04 06 00 54 88 4A 5D 1D 99 [08:58:49]Write to MH i2c: E2 F3 00 AC 1A 80 0D 02 02 EB 00 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DA 0D 00 00 00 00 07 04 06 00 78 82 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 4E 52 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8B 93 00 00 35 04 06 00 54 88 4A 5D 1D 99 00 00 96 [08:58:49]Write i2c OK [08:58:49]MH_I2C_Read... [08:58:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:58:49]Read from MH i2c: E2 [08:58:49]MH_I2C_Read... [08:58:49]Read from MH i2c: E2 03 00 [08:58:49]MH_I2C_Read... [08:58:49]Read from MH i2c: E2 03 00 AC 1A 00 90 00 3A [08:58:49]RAPDU: 90 00 [08:58:49]wFMCommunicate OK [08:58:49]wFMCommunicate request_size=4 [08:58:49]MH_SAM_APDU [08:58:49]CAPDU: 80 0D 03 02 [08:58:49]Write to MH i2c: E2 08 00 AD 1A 80 0D 03 02 00 00 00 00 42 [08:58:49]Write i2c OK [08:58:49]MH_I2C_Read... [08:58:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:58:49]Read from MH i2c: E2 [08:58:49]MH_I2C_Read... [08:58:49]Read from MH i2c: E2 0B 00 [08:58:49]MH_I2C_Read... [08:58:49]Read from MH i2c: E2 0B 00 AD 1A 00 B0 A6 86 70 15 25 D0 83 90 00 1C [08:58:49]RAPDU: B0 A6 86 70 15 25 D0 83 90 00 [08:58:49]wFMCommunicate OK [08:58:49]SAM_PROTO_SignData done [08:58:49]FM_MakeSignedData done [08:58:49]CreateOFDProtocolMessage [08:58:49]wFMCommunicate request_size=4 [08:58:49]MH_SAM_APDU [08:58:49]CAPDU: 80 11 00 00 [08:58:49]Write to MH i2c: E2 08 00 AE 1A 80 11 00 00 00 00 00 00 42 [08:58:49]Write i2c OK [08:58:49]MH_I2C_Read... [08:58:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:58:49]Read from MH i2c: E2 [08:58:49]MH_I2C_Read... [08:58:49]Read from MH i2c: E2 17 00 [08:58:49]MH_I2C_Read... [08:58:49]Read from MH i2c: E2 17 00 AE 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 92 [08:58:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:58:49]wFMCommunicate OK [08:58:49]CreateOFDProtocolMessage done [08:58:49]OFDSenderStorePacket 37771 [08:58:49]StoreOFDPacket docnum=37771 [08:58:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 F5 01 00 00 1F 92 ED 01 2A 82 5A 03 01 00 03 00 E1 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DA 0D 00 00 00 00 07 04 06 00 78 82 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 4E 52 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8B 93 00 00 35 04 06 00 54 88 4A 5D 1D 99 B0 A6 86 70 15 25 D0 83 [08:58:49]CheckFolder [08:58:49]dirname=/storage/ofd_packets [08:58:49]CheckFolder done [08:58:49]ProducePacketName [08:58:49]name=ofd_packets/00037771 [08:58:49]NVStorageSaveData ofd_packets/00037771 [08:58:49]File name is /storage/ofd_packets/00037771 [08:58:49]Write 531 bytes [08:58:49]NVStorageSaveData done [08:58:49]OFDSenderStorePacket done [08:58:49]KKMCreateOFDPacket done [08:58:49]NVStorageSaveData kkm_last_timestamp [08:58:49]File name is /storage/kkm_last_timestamp [08:58:49]Write 4 bytes [08:58:49]NVStorageSaveData done [08:58:49]ExternCall_PrintAddStr [08:58:49]wPrintStart [08:58:49]Write to MH i2c: 01 00 00 AF 1A C9 [08:58:49]Write i2c OK [08:58:49]MH_I2C_Read... [08:58:49]Read from MH i2c: 01 [08:58:49]MH_I2C_Read... [08:58:49]Read from MH i2c: 01 07 00 [08:58:49]MH_I2C_Read... [08:58:49]Read from MH i2c: 01 07 00 AF 1A 00 00 00 00 00 FF 0F DE [08:58:49]RasterBufferAndPrint [08:58:49]line Счет N : (3)35068 [08:58:49]line ИНН: 02508201610067 [08:58:49]line Контрольно-Кассовый Чек [08:58:49]line ПРОДАЖА [08:58:49]line Товар: 46116482 [08:58:49]line Жев Orbit ягодный микс [08:58:49]line 1.000 * 45.00 [08:58:49]line = 45.00 [08:58:49]line НДС 12% НСП 1% [08:58:49]line > о реализуемом товаре [08:58:49]line Товар: 2000036230011 [08:58:49]line Кофе Латте XL(GABB TRADE) [08:58:49]line 1.000 * 130.00 [08:58:49]line = 130.00 [08:58:49]line НДС 12% НСП 1% [08:58:49]line > о реализуемом товаре [08:58:49]line Товар: 4640030091607 [08:58:49]line Сигареты ESSE Exchange [08:58:49]line 1.000 * 159.00 [08:58:49]line = 159.00 [08:58:49]line НДС 12% НСП 1% [08:58:49]line > о реализуемом товаре [08:58:49]line ИТОГО: 334.00 [08:58:49]line НСП 1% : 2.96 [08:58:49]line НДС 12% : 35.46 [08:58:49]line Наличными: 334.00 [08:58:49]line Безнал.: 0.00 [08:58:49]line Место: АЗС № 126 "Партнер Нефть" [08:58:49]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [08:58:49]line СНО: Общий режим [08:58:49]line Чек 14 28.10.2024 08:58 [08:58:49]line Смена: 551 ФФД: 1.0 [08:58:49]line ЗНМ: 0300000092 [08:58:49]line РНМ: 0000000000091684 [08:58:49]line Версия ККМ: 001 [08:58:49]line ФМ: 0000000000871841 [08:58:49]line ФД: 37771 [08:58:49]line ФПД: 92944339901849 [08:58:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T085854&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37771&fm=92944339901849&tin=02508201610067®Number=0000000000091684&sum=33400 [08:58:49]line 0 [08:58:49]written 0, free lines is 4095 [08:58:49]OFD Sender: Processing packet 37771 [packets to send 42, broken 41] [08:58:49]ProducePacketName [08:58:49]name=ofd_packets/00037771 [08:58:49]OFD Sender: To server: pG, [08:58:49]CommunicateWithHost lk.salyk.kg:30040 [08:58:49]ConnectInit lk.salyk.kg [08:58:50]Connected sock=10 [08:58:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 F5 01 00 00 1F 92 ED 01 2A 82 5A 03 01 00 03 00 E1 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DA 0D 00 00 00 00 07 04 06 00 78 82 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 4E 52 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8B 93 00 00 35 04 06 00 54 88 4A 5D 1D 99 B0 A6 86 70 15 25 D0 83 [08:58:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 D1 17 47 00 55 7E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8B 93 00 00 F4 03 04 00 43 FD 1E 67 B6 04 01 00 00 87 6D A7 68 20 4B 14 89 [08:58:50]CommunicateWithHost err = 0 [08:58:50]CheckOFDResponse [08:58:50]1017 (14) - 77093643461234 [08:58:50]1041 (16) - 0000000000871841 [08:58:50]1040 (4) - 37771 [08:58:50]1012 (4) - 28.10.2024 02:56 [08:58:50]1206 (1) - 0 [08:58:50]OFD Sender: Remove packet 37771 [08:58:50]ProducePacketName [08:58:50]name=ofd_packets/00037771 [08:58:50]NVStorageDeleteData [08:58:50]Write to MH i2c: 01 00 00 E3 1A FD [08:58:50]Write i2c OK [08:58:50]MH_I2C_Read... [08:58:50]Read from MH i2c: 01 [08:58:50]MH_I2C_Read... [08:58:50]Read from MH i2c: 01 07 00 [08:58:50]MH_I2C_Read... [08:58:50]Read from MH i2c: 01 07 00 E3 1A 00 00 00 00 00 08 0C 18 [08:58:50]RasterBufferAndPrint [08:58:50]line [08:58:50]line [08:58:50]line [08:58:50]line [08:58:50]line [08:58:50]written 0, free lines is 3086 [08:58:50]MH_Cut [08:58:50]Write to MH i2c: D1 01 00 EA 1A 01 D6 [08:58:50]Write i2c OK [08:58:50]MH_I2C_Read... [08:58:50]Read from MH i2c: D1 [08:58:50]MH_I2C_Read... [08:58:50]Read from MH i2c: D1 01 00 [08:58:50]MH_I2C_Read... [08:58:50]Read from MH i2c: D1 01 00 EA 1A 00 D5 [08:58:50]Write to MH i2c: 01 00 00 EB 1A 05 [08:58:50]Write i2c OK [08:58:50]MH_I2C_Read... [08:58:51]OFD Sender: No OFD packet to send [08:58:51]*** Cut start [08:58:51]*** Partial cut [08:58:51]*** CUTSNS_PIN = 1 [08:58:51]*** CUTSNS_PIN = 0 [08:58:51]*** Brake cut motor [08:58:52]Read from MH i2c: 01 [08:58:52]MH_I2C_Read... [08:58:52]*** Stop cut motor [08:58:52]*** Cut end [08:58:52]Read from MH i2c: 01 07 00 [08:58:52]MH_I2C_Read... [08:58:52]Read from MH i2c: 01 07 00 EB 1A 00 00 00 00 00 FF 0F 1A [08:58:52]process_action close_receipt done [08:58:52]requested_data is exist [08:58:52]produce_requested_data [08:58:52]requested_item fm.sn is exist - process it [08:58:52]wFMCommunicate request_size=4 [08:58:52]MH_SAM_APDU [08:58:52]CAPDU: 80 11 00 00 [08:58:52]Write to MH i2c: E2 08 00 EC 1A 80 11 00 00 00 00 00 00 80 [08:58:52]Write i2c OK [08:58:52]MH_I2C_Read... [08:58:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:58:52]Read from MH i2c: E2 [08:58:52]MH_I2C_Read... [08:58:52]Read from MH i2c: E2 17 00 [08:58:52]MH_I2C_Read... [08:58:52]Read from MH i2c: E2 17 00 EC 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D0 [08:58:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:58:52]wFMCommunicate OK [08:58:52]requested_item fd.num is exist - process it [08:58:52]SAM_PROTO_GetFieldsCounters [08:58:52]wFMCommunicate request_size=4 [08:58:52]MH_SAM_APDU [08:58:52]CAPDU: 80 13 00 00 [08:58:52]Write to MH i2c: E2 08 00 ED 1A 80 13 00 00 00 00 00 00 83 [08:58:52]Write i2c OK [08:58:52]MH_I2C_Read... [08:58:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:58:52]Read from MH i2c: E2 [08:58:52]MH_I2C_Read... [08:58:52]Read from MH i2c: E2 62 00 [08:58:52]MH_I2C_Read... [08:58:52]Read from MH i2c: E2 62 00 ED 1A 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 8B 93 00 00 0E 04 04 00 27 02 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 15 [08:58:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 8B 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:58:52]wFMCommunicate OK [08:58:52]SAM_PROTO_GetFieldsCounters done [08:58:52]requested_item shift.num is exist - process it [08:58:52]requested_item shift.opened is exist - process it [08:58:52]req_shift_opened [08:58:52]FM_GetShiftState [08:58:52]SAM_PROTO_GetShiftState [08:58:52]wFMCommunicate request_size=4 [08:58:52]MH_SAM_APDU [08:58:52]CAPDU: 80 13 01 00 [08:58:52]Write to MH i2c: E2 08 00 EE 1A 80 13 01 00 00 00 00 00 85 [08:58:52]Write i2c OK [08:58:52]MH_I2C_Read... [08:58:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:58:52]Read from MH i2c: E2 [08:58:52]MH_I2C_Read... [08:58:52]Read from MH i2c: E2 0E 00 [08:58:52]MH_I2C_Read... [08:58:52]Read from MH i2c: E2 0E 00 EE 1A 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 07 [08:58:52]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [08:58:52]wFMCommunicate OK [08:58:52]SAM_PROTO_GetShiftState done [08:58:52]FM_GetShiftState done [08:58:52]req_shift_opened done [08:58:52]requested_item shift.open_date is exist - process it [08:58:52]req_shift_open_date [08:58:52]req_shift_open_date done [08:58:52]produce_requested_data done [08:58:52]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37771,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [08:58:52]process_action_free close_receipt [08:58:52]json_value_free [08:58:52]json_value_free done [08:58:52]process_json_proto returns [08:58:52]Send response to host [08:58:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37771,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [08:58:52]free response buf [08:58:52]execute_script done [08:58:52]execute_script returns [08:58:52]free content buf [08:58:52]Sock 7.Close socket [08:58:52]Sock 7.Thread stoped [08:58:56]OFD Sender: No OFD packet to send [08:59:01]OFD Sender: No OFD packet to send [08:59:06]OFD Sender: No OFD packet to send [08:59:11]OFD Sender: No OFD packet to send [08:59:16]OFD Sender: No OFD packet to send [08:59:21]OFD Sender: No OFD packet to send [08:59:26]OFD Sender: No OFD packet to send [08:59:31]OFD Sender: No OFD packet to send [08:59:36]OFD Sender: No OFD packet to send [08:59:41]OFD Sender: No OFD packet to send [08:59:46]OFD Sender: No OFD packet to send [08:59:51]OFD Sender: No OFD packet to send [08:59:56]OFD Sender: No OFD packet to send [09:00:01]OFD Sender: No OFD packet to send [09:00:06]OFD Sender: No OFD packet to send [09:00:11]OFD Sender: No OFD packet to send [09:00:16]OFD Sender: No OFD packet to send [09:00:21]OFD Sender: No OFD packet to send [09:00:26]OFD Sender: No OFD packet to send [09:00:31]OFD Sender: No OFD packet to send [09:00:36]OFD Sender: No OFD packet to send [09:00:41]OFD Sender: No OFD packet to send [09:00:46]OFD Sender: No OFD packet to send [09:00:51]OFD Sender: No OFD packet to send [09:00:56]OFD Sender: No OFD packet to send [09:01:01]OFD Sender: No OFD packet to send [09:01:06]OFD Sender: No OFD packet to send [09:01:11]OFD Sender: No OFD packet to send [09:01:16]OFD Sender: No OFD packet to send [09:01:21]OFD Sender: No OFD packet to send [09:01:26]OFD Sender: No OFD packet to send [09:01:31]OFD Sender: No OFD packet to send [09:01:36]OFD Sender: No OFD packet to send [09:01:41]OFD Sender: No OFD packet to send [09:01:46]OFD Sender: No OFD packet to send [09:01:51]OFD Sender: No OFD packet to send [09:01:56]OFD Sender: No OFD packet to send [09:02:01]OFD Sender: No OFD packet to send [09:02:06]OFD Sender: No OFD packet to send [09:02:11]OFD Sender: No OFD packet to send [09:02:16]OFD Sender: No OFD packet to send [09:02:21]OFD Sender: No OFD packet to send [09:02:26]OFD Sender: No OFD packet to send [09:02:31]OFD Sender: No OFD packet to send [09:02:36]OFD Sender: No OFD packet to send [09:02:41]OFD Sender: No OFD packet to send [09:02:46]OFD Sender: No OFD packet to send [09:02:51]OFD Sender: No OFD packet to send [09:02:56]OFD Sender: No OFD packet to send [09:03:01]OFD Sender: No OFD packet to send [09:03:06]OFD Sender: No OFD packet to send [09:03:11]OFD Sender: No OFD packet to send [09:03:16]OFD Sender: No OFD packet to send [09:03:21]OFD Sender: No OFD packet to send [09:03:26]OFD Sender: No OFD packet to send [09:03:31]OFD Sender: No OFD packet to send [09:03:36]OFD Sender: No OFD packet to send [09:03:41]OFD Sender: No OFD packet to send [09:03:46]OFD Sender: No OFD packet to send [09:03:51]OFD Sender: No OFD packet to send [09:03:56]OFD Sender: No OFD packet to send [09:04:01]OFD Sender: No OFD packet to send [09:04:06]OFD Sender: No OFD packet to send [09:04:11]OFD Sender: No OFD packet to send [09:04:16]OFD Sender: No OFD packet to send [09:04:21]OFD Sender: No OFD packet to send [09:04:26]OFD Sender: No OFD packet to send [09:04:31]OFD Sender: No OFD packet to send [09:04:36]OFD Sender: No OFD packet to send [09:04:41]OFD Sender: No OFD packet to send [09:04:46]OFD Sender: No OFD packet to send [09:04:51]OFD Sender: No OFD packet to send [09:04:56]OFD Sender: No OFD packet to send [09:05:01]OFD Sender: No OFD packet to send [09:05:06]OFD Sender: No OFD packet to send [09:05:11]OFD Sender: No OFD packet to send [09:05:16]OFD Sender: No OFD packet to send [09:05:19]accept exits with 9 [09:05:19]New connection [09:05:19]New thread 3067297124 created [09:05:19]Thread 3067440484 joined [09:05:19]Waiting for new connection... [09:05:19] Sock 9.Parse request [09:05:19]Sock 9.Check first char [09:05:19]Sock 9.First char is OK [09:05:19]request: POST /json_proto HTTP/1.0 [09:05:19]Method: POST [09:05:19]URL: /json_proto [09:05:19]Method is POST - this is cgi request [09:05:19]url: /json_proto [09:05:19]query_string will be loaded in cgi processing [09:05:19]execute_cgi json_proto POST (null) [09:05:19]execute_cgi path=json_proto method=POST [09:05:19]POST find Content-Length [09:05:19]Host: 172.17.40.196:8080 [09:05:19]Content-Length: 644 [09:05:19]Content-Type: application/json [09:05:19] [09:05:19]POST finish read [09:05:19]Found Content-Length = 644 [09:05:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35069", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\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:05:19]execute_script... [09:05: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)35069", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\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:05:19]POST & json_proto [09:05:19]process_json_proto [09:05:19]json parsed OK: [09:05:19]protocol is kg_v1.0 [09:05:19]action value=close_receipt [09:05:19]process_action close_receipt [09:05:19]cmd_close_receipt [09:05:19]MH_GetDate [09:05:19]Write to MH i2c: F0 00 00 EF 1A F8 [09:05:19]Write i2c OK [09:05:19]MH_I2C_Read... [09:05:19]Read from MH i2c: F0 [09:05:19]MH_I2C_Read... [09:05:19]Read from MH i2c: F0 09 00 [09:05:19]MH_I2C_Read... [09:05:19]Read from MH i2c: F0 09 00 EF 1A 00 D5 53 1F 67 5B 68 A1 66 79 [09:05:19]GetLastDocTimeStamp 1730105934 [09:05:19]current date 1730106325 [09:05:19]FM_GetShiftState [09:05:19]SAM_PROTO_GetShiftState [09:05:19]wFMCommunicate request_size=4 [09:05:19]MH_SAM_APDU [09:05:19]CAPDU: 80 13 01 00 [09:05:19]Write to MH i2c: E2 08 00 F0 1A 80 13 01 00 00 00 00 00 87 [09:05:19]Write i2c OK [09:05:19]MH_I2C_Read... [09:05:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:05:19]Read from MH i2c: E2 [09:05:19]MH_I2C_Read... [09:05:19]Read from MH i2c: E2 0E 00 [09:05:19]MH_I2C_Read... [09:05:19]Read from MH i2c: E2 0E 00 F0 1A 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 09 [09:05:19]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [09:05:19]wFMCommunicate OK [09:05:19]SAM_PROTO_GetShiftState done [09:05:19]FM_GetShiftState done [09:05:19]opened in 1730073884 [09:05:19]opened+sec_in_day 1730160284 [09:05:19]quantity*price = 6500 [09:05:19]sum+1 = 6501 [09:05:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 15 28.10.2024 09:05 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37772 ФПД: 257484093406251 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T090526&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37772&fm=257484093406251&tin=02508201610067®Number=0000000000091684&sum=6500 0 [09:05:20]StoreToDocumentArchive [09:05:20]shift 551 fd 37772 [09:05:20]save to /storage/0551/doc_00037772 [09:05:20]save last doc name /storage/0551/doc_00037772 to /storage/kkm_last_doc_name [09:05:20]save OK [09:05:20]Clear old archive folders... [09:05:20]ProcessDocumentItem done err = 0, tmpTLVsize=272 [09:05:20]tlvbuf is 0029A890 [09:05:20]SAM_PROTO_ClearQueue [09:05:20]wFMCommunicate request_size=4 [09:05:20]MH_SAM_APDU [09:05:20]CAPDU: 80 09 00 00 [09:05:20]Write to MH i2c: E2 08 00 FD 1A 80 09 00 00 00 00 00 00 89 [09:05:20]Write i2c OK [09:05:20]MH_I2C_Read... [09:05:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:05:20]Read from MH i2c: E2 [09:05:20]MH_I2C_Read... [09:05:20]Read from MH i2c: E2 03 00 [09:05:20]MH_I2C_Read... [09:05:20]Read from MH i2c: E2 03 00 FD 1A 00 90 00 8B [09:05:20]RAPDU: 90 00 [09:05:20]wFMCommunicate OK [09:05:20]SAM_PROTO_ClearQueue done [09:05:20]KKMCreateOFDPacket [09:05:20]OFDProtocolAddRootSTLVToBuf [09:05:20]FM_MakeSignedData [09:05:20]FM_MakeSignedData [09:05:20]SAM_PROTO_SignData [09:05:20]wFMCommunicate request_size=4 [09:05:20]MH_SAM_APDU [09:05:20]CAPDU: 80 0D 01 02 [09:05:20]Write to MH i2c: E2 08 00 FE 1A 80 0D 01 02 00 00 00 00 91 [09:05:20]Write i2c OK [09:05:20]MH_I2C_Read... [09:05:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:05:20]Read from MH i2c: E2 [09:05:20]MH_I2C_Read... [09:05:20]Read from MH i2c: E2 03 00 [09:05:20]MH_I2C_Read... [09:05:20]Read from MH i2c: E2 03 00 FE 1A 00 90 00 8C [09:05:20]RAPDU: 90 00 [09:05:20]wFMCommunicate OK [09:05:20]wFMCommunicate request_size=255 [09:05:20]MH_SAM_APDU [09:05:20]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 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 0F 00 00 00 F4 03 04 00 D6 53 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [09:05:20]Write to MH i2c: E2 02 01 FF 1A 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 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 0F 00 00 00 F4 03 04 00 D6 53 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 C7 [09:05:20]Write i2c OK [09:05:20]MH_I2C_Read... [09:05:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:05:20]Read from MH i2c: E2 [09:05:20]MH_I2C_Read... [09:05:20]Read from MH i2c: E2 03 00 [09:05:20]MH_I2C_Read... [09:05:20]Read from MH i2c: E2 03 00 FF 1A 00 90 00 8D [09:05:20]RAPDU: 90 00 [09:05:20]wFMCommunicate OK [09:05:20]wFMCommunicate request_size=31 [09:05:20]MH_SAM_APDU [09:05:20]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 8C 93 00 00 35 04 06 00 EA 2E 2F EC 3C 2B [09:05:20]Write to MH i2c: E2 22 00 00 1B 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 8C 93 00 00 35 04 06 00 EA 2E 2F EC 3C 2B 00 00 76 [09:05:20]Write i2c OK [09:05:20]MH_I2C_Read... [09:05:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:05:20]Read from MH i2c: E2 [09:05:20]MH_I2C_Read... [09:05:20]Read from MH i2c: E2 03 00 [09:05:20]MH_I2C_Read... [09:05:20]Read from MH i2c: E2 03 00 00 1B 00 90 00 8F [09:05:20]RAPDU: 90 00 [09:05:20]wFMCommunicate OK [09:05:20]wFMCommunicate request_size=4 [09:05:20]MH_SAM_APDU [09:05:20]CAPDU: 80 0D 03 02 [09:05:20]Write to MH i2c: E2 08 00 01 1B 80 0D 03 02 00 00 00 00 97 [09:05:20]Write i2c OK [09:05:20]MH_I2C_Read... [09:05:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:05:20]Read from MH i2c: E2 [09:05:20]MH_I2C_Read... [09:05:20]Read from MH i2c: E2 0B 00 [09:05:20]MH_I2C_Read... [09:05:20]Read from MH i2c: E2 0B 00 01 1B 00 86 A7 9F F8 3E E3 2F BE 90 00 6A [09:05:20]RAPDU: 86 A7 9F F8 3E E3 2F BE 90 00 [09:05:20]wFMCommunicate OK [09:05:20]SAM_PROTO_SignData done [09:05:20]FM_MakeSignedData done [09:05:20]CreateOFDProtocolMessage [09:05:20]wFMCommunicate request_size=4 [09:05:20]MH_SAM_APDU [09:05:20]CAPDU: 80 11 00 00 [09:05:20]Write to MH i2c: E2 08 00 02 1B 80 11 00 00 00 00 00 00 97 [09:05:20]Write i2c OK [09:05:20]MH_I2C_Read... [09:05:20]Read from MH i2c: E2 [09:05:20]MH_I2C_Read... [09:05:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:05:20]Read from MH i2c: E2 17 00 [09:05:20]MH_I2C_Read... [09:05:20]Read from MH i2c: E2 17 00 02 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E7 [09:05:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:05:20]wFMCommunicate OK [09:05:20]CreateOFDProtocolMessage done [09:05:20]OFDSenderStorePacket 37772 [09:05:20]StoreOFDPacket docnum=37772 [09:05:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 F6 71 1C 01 EC 24 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 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 0F 00 00 00 F4 03 04 00 D6 53 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8C 93 00 00 35 04 06 00 EA 2E 2F EC 3C 2B 86 A7 9F F8 3E E3 2F BE [09:05:20]CheckFolder [09:05:20]dirname=/storage/ofd_packets [09:05:20]CheckFolder done [09:05:20]ProducePacketName [09:05:20]name=ofd_packets/00037772 [09:05:20]NVStorageSaveData ofd_packets/00037772 [09:05:20]File name is /storage/ofd_packets/00037772 [09:05:20]Write 322 bytes [09:05:20]NVStorageSaveData done [09:05:20]OFDSenderStorePacket done [09:05:20]KKMCreateOFDPacket done [09:05:20]NVStorageSaveData kkm_last_timestamp [09:05:20]File name is /storage/kkm_last_timestamp [09:05:20]Write 4 bytes [09:05:20]NVStorageSaveData done [09:05:20]ExternCall_PrintAddStr [09:05:20]wPrintStart [09:05:20]Write to MH i2c: 01 00 00 03 1B 1E [09:05:20]Write i2c OK [09:05:20]MH_I2C_Read... [09:05:20]Read from MH i2c: 01 [09:05:20]MH_I2C_Read... [09:05:20]Read from MH i2c: 01 07 00 [09:05:20]MH_I2C_Read... [09:05:20]Read from MH i2c: 01 07 00 03 1B 00 00 00 00 00 FF 0F 33 [09:05:20]RasterBufferAndPrint [09:05:20]line Счет N : (3)35069 [09:05:20]line ИНН: 02508201610067 [09:05:20]line Контрольно-Кассовый Чек [09:05:20]line ПРОДАЖА [09:05:20]line Товар: 47011656 [09:05:20]line Водка Пшеничная 0,1л [09:05:20]line 1.000 * 65.00 [09:05:20]line = 65.00 [09:05:20]line НДС 12% НСП 1% [09:05:20]line > о реализуемом товаре [09:05:20]line ИТОГО: 65.00 [09:05:20]line НСП 1% : 0.57 [09:05:20]line НДС 12% : 6.90 [09:05:20]line Наличными: 65.00 [09:05:20]line Безнал.: 0.00 [09:05:20]line Место: АЗС № 126 "Партнер Нефть" [09:05:20]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [09:05:20]line СНО: Общий режим [09:05:20]line Чек 15 28.10.2024 09:05 [09:05:20]line Смена: 551 ФФД: 1.0 [09:05:20]line ЗНМ: 0300000092 [09:05:20]line РНМ: 0000000000091684 [09:05:20]line Версия ККМ: 001 [09:05:20]line ФМ: 0000000000871841 [09:05:20]line ФД: 37772 [09:05:20]line ФПД: 257484093406251 [09:05:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T090526&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37772&fm=257484093406251&tin=02508201610067®Number=0000000000091684&sum=6500 [09:05:20]line 0 [09:05:20]written 0, free lines is 4095 [09:05:20]OFD Sender: Processing packet 37772 [packets to send 42, broken 41] [09:05:20]ProducePacketName [09:05:20]name=ofd_packets/00037772 [09:05:20]OFD Sender: To server: pG, [09:05:20]CommunicateWithHost lk.salyk.kg:30040 [09:05:20]ConnectInit lk.salyk.kg [09:05:21]Connected sock=7 [09:05: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 38 34 31 24 01 00 00 F6 71 1C 01 EC 24 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 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 0F 00 00 00 F4 03 04 00 D6 53 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8C 93 00 00 35 04 06 00 EA 2E 2F EC 3C 2B 86 A7 9F F8 3E E3 2F BE [09:05:21]Write to MH i2c: 01 00 00 2B 1B 46 [09:05:21]Write i2c OK [09:05:21]MH_I2C_Read... [09:05:21]Read from MH i2c: 01 [09:05:21]MH_I2C_Read... [09:05:21]Read from MH i2c: 01 07 00 [09:05:21]MH_I2C_Read... [09:05:21]Read from MH i2c: 01 07 00 2B 1B 00 00 00 00 00 C8 0C 21 [09:05:21]RasterBufferAndPrint [09:05:21]line [09:05:21]line [09:05:21]line [09:05:21]line [09:05:21]line [09:05:21]written 0, free lines is 3278 [09:05:21]MH_Cut [09:05:21]Write to MH i2c: D1 01 00 32 1B 01 1F [09:05:21]Write i2c OK [09:05:21]MH_I2C_Read... [09:05:21]Read from MH i2c: D1 [09:05:21]MH_I2C_Read... [09:05:21]Read from MH i2c: D1 01 00 [09:05:21]MH_I2C_Read... [09:05:21]Read from MH i2c: D1 01 00 32 1B 00 1E [09:05:21]Write to MH i2c: 01 00 00 33 1B 4E [09:05:21]Write i2c OK [09:05:21]MH_I2C_Read... [09:05:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 26 25 47 00 D6 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 38 34 31 10 04 04 00 8C 93 00 00 F4 03 04 00 CB FE 1E 67 B6 04 01 00 00 D3 FC 56 A4 C7 B9 A6 05 [09:05:21]CommunicateWithHost err = 0 [09:05:21]CheckOFDResponse [09:05:21]1017 (14) - 77093643461234 [09:05:21]1041 (16) - 0000000000871841 [09:05:21]1040 (4) - 37772 [09:05:21]1012 (4) - 28.10.2024 03:02 [09:05:21]1206 (1) - 0 [09:05:21]OFD Sender: Remove packet 37772 [09:05:21]ProducePacketName [09:05:21]name=ofd_packets/00037772 [09:05:21]NVStorageDeleteData [09:05:22]OFD Sender: No OFD packet to send [09:05:22]*** Cut start [09:05:22]*** Partial cut [09:05:22]*** CUTSNS_PIN = 1 [09:05:22]*** CUTSNS_PIN = 0 [09:05:22]*** Brake cut motor [09:05:22]Read from MH i2c: 01 [09:05:22]MH_I2C_Read... [09:05:22]*** Stop cut motor [09:05:22]*** Cut end [09:05:22]Read from MH i2c: 01 07 00 [09:05:22]MH_I2C_Read... [09:05:22]Read from MH i2c: 01 07 00 33 1B 00 00 00 00 00 FF 0F 63 [09:05:22]process_action close_receipt done [09:05:22]requested_data is exist [09:05:22]produce_requested_data [09:05:22]requested_item fm.sn is exist - process it [09:05:22]wFMCommunicate request_size=4 [09:05:22]MH_SAM_APDU [09:05:22]CAPDU: 80 11 00 00 [09:05:22]Write to MH i2c: E2 08 00 34 1B 80 11 00 00 00 00 00 00 C9 [09:05:22]Write i2c OK [09:05:22]MH_I2C_Read... [09:05:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:05:22]Read from MH i2c: E2 [09:05:22]MH_I2C_Read... [09:05:22]Read from MH i2c: E2 17 00 [09:05:22]MH_I2C_Read... [09:05:22]Read from MH i2c: E2 17 00 34 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 19 [09:05:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:05:22]wFMCommunicate OK [09:05:22]requested_item fd.num is exist - process it [09:05:22]SAM_PROTO_GetFieldsCounters [09:05:22]wFMCommunicate request_size=4 [09:05:22]MH_SAM_APDU [09:05:22]CAPDU: 80 13 00 00 [09:05:22]Write to MH i2c: E2 08 00 35 1B 80 13 00 00 00 00 00 00 CC [09:05:22]Write i2c OK [09:05:22]MH_I2C_Read... [09:05:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:05:23]Read from MH i2c: E2 [09:05:23]MH_I2C_Read... [09:05:23]Read from MH i2c: E2 62 00 [09:05:23]MH_I2C_Read... [09:05:23]Read from MH i2c: E2 62 00 35 1B 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 8C 93 00 00 0E 04 04 00 27 02 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 62 [09:05: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 8C 93 00 00 0E 04 04 00 27 02 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 [09:05:23]wFMCommunicate OK [09:05:23]SAM_PROTO_GetFieldsCounters done [09:05:23]requested_item shift.num is exist - process it [09:05:23]requested_item shift.opened is exist - process it [09:05:23]req_shift_opened [09:05:23]FM_GetShiftState [09:05:23]SAM_PROTO_GetShiftState [09:05:23]wFMCommunicate request_size=4 [09:05:23]MH_SAM_APDU [09:05:23]CAPDU: 80 13 01 00 [09:05:23]Write to MH i2c: E2 08 00 36 1B 80 13 01 00 00 00 00 00 CE [09:05:23]Write i2c OK [09:05:23]MH_I2C_Read... [09:05:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:05:23]Read from MH i2c: E2 [09:05:23]MH_I2C_Read... [09:05:23]Read from MH i2c: E2 0E 00 [09:05:23]MH_I2C_Read... [09:05:23]Read from MH i2c: E2 0E 00 36 1B 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 50 [09:05:23]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [09:05:23]wFMCommunicate OK [09:05:23]SAM_PROTO_GetShiftState done [09:05:23]FM_GetShiftState done [09:05:23]req_shift_opened done [09:05:23]requested_item shift.open_date is exist - process it [09:05:23]req_shift_open_date [09:05:23]req_shift_open_date done [09:05:23]produce_requested_data done [09:05:23]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37772,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [09:05:23]process_action_free close_receipt [09:05:23]json_value_free [09:05:23]json_value_free done [09:05:23]process_json_proto returns [09:05:23]Send response to host [09:05:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37772,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [09:05:23]free response buf [09:05:23]execute_script done [09:05:23]execute_script returns [09:05:23]free content buf [09:05:23]Sock 9.Close socket [09:05:23]Sock 9.Thread stoped [09:05:27]OFD Sender: No OFD packet to send [09:05:32]OFD Sender: No OFD packet to send [09:05:37]OFD Sender: No OFD packet to send [09:05:42]OFD Sender: No OFD packet to send [09:05:47]OFD Sender: No OFD packet to send [09:05:52]OFD Sender: No OFD packet to send [09:05:57]OFD Sender: No OFD packet to send [09:06:02]OFD Sender: No OFD packet to send [09:06:07]OFD Sender: No OFD packet to send [09:06:12]OFD Sender: No OFD packet to send [09:06:17]OFD Sender: No OFD packet to send [09:06:22]OFD Sender: No OFD packet to send [09:06:27]OFD Sender: No OFD packet to send [09:06:32]OFD Sender: No OFD packet to send [09:06:37]OFD Sender: No OFD packet to send [09:06:42]OFD Sender: No OFD packet to send [09:06:47]OFD Sender: No OFD packet to send [09:06:52]OFD Sender: No OFD packet to send [09:06:57]OFD Sender: No OFD packet to send [09:07:02]OFD Sender: No OFD packet to send [09:07:07]OFD Sender: No OFD packet to send [09:07:12]OFD Sender: No OFD packet to send [09:07:17]OFD Sender: No OFD packet to send [09:07:22]OFD Sender: No OFD packet to send [09:07:27]OFD Sender: No OFD packet to send [09:07:32]OFD Sender: No OFD packet to send [09:07:37]OFD Sender: No OFD packet to send [09:07:42]OFD Sender: No OFD packet to send [09:07:47]OFD Sender: No OFD packet to send [09:07:52]OFD Sender: No OFD packet to send [09:07:57]OFD Sender: No OFD packet to send [09:08:02]OFD Sender: No OFD packet to send [09:08:07]OFD Sender: No OFD packet to send [09:08:12]OFD Sender: No OFD packet to send [09:08:17]OFD Sender: No OFD packet to send [09:08:22]OFD Sender: No OFD packet to send [09:08:27]OFD Sender: No OFD packet to send [09:08:32]OFD Sender: No OFD packet to send [09:08:37]OFD Sender: No OFD packet to send [09:08:42]OFD Sender: No OFD packet to send [09:08:47]OFD Sender: No OFD packet to send [09:08:52]OFD Sender: No OFD packet to send [09:08:57]OFD Sender: No OFD packet to send [09:09:02]OFD Sender: No OFD packet to send [09:09:07]OFD Sender: No OFD packet to send [09:09:12]OFD Sender: No OFD packet to send [09:09:17]OFD Sender: No OFD packet to send [09:09:22]OFD Sender: No OFD packet to send [09:09:27]OFD Sender: No OFD packet to send [09:09:32]OFD Sender: No OFD packet to send [09:09:37]OFD Sender: No OFD packet to send [09:09:42]OFD Sender: No OFD packet to send [09:09:47]OFD Sender: No OFD packet to send [09:09:52]OFD Sender: No OFD packet to send [09:09:57]OFD Sender: No OFD packet to send [09:10:02]OFD Sender: No OFD packet to send [09:10:07]OFD Sender: No OFD packet to send [09:10:12]OFD Sender: No OFD packet to send [09:10:17]OFD Sender: No OFD packet to send [09:10:22]OFD Sender: No OFD packet to send [09:10:27]OFD Sender: No OFD packet to send [09:10:32]OFD Sender: No OFD packet to send [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:30]accept exits with 10 [09:11:30]New connection [09:11:30]New thread 3067440484 created [09:11:30]Thread 3067297124 joined [09:11:30]Waiting for new connection... [09:11:30] Sock 10.Parse request [09:11:30]Sock 10.Check first char [09:11:30]Sock 10.First char is OK [09:11:30]request: POST /json_proto HTTP/1.0 [09:11:30]Method: POST [09:11:30]URL: /json_proto [09:11:30]Method is POST - this is cgi request [09:11:30]url: /json_proto [09:11:30]query_string will be loaded in cgi processing [09:11:30]execute_cgi json_proto POST (null) [09:11:30]execute_cgi path=json_proto method=POST [09:11:30]POST find Content-Length [09:11:30]Host: 172.17.40.196:8080 [09:11:30]Content-Length: 752 [09:11:30]Content-Type: application/json [09:11:30] [09:11:30]POST finish read [09:11:30]Found Content-Length = 752 [09:11:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35070", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.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" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:11:30]execute_script... [09:11: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)35070", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.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" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:11:30]POST & json_proto [09:11:30]process_json_proto [09:11:30]json parsed OK: [09:11:30]protocol is kg_v1.0 [09:11:30]action value=close_receipt [09:11:30]process_action close_receipt [09:11:30]cmd_close_receipt [09:11:30]MH_GetDate [09:11:30]Write to MH i2c: F0 00 00 37 1B 41 [09:11:30]Write i2c OK [09:11:30]MH_I2C_Read... [09:11:30]Read from MH i2c: F0 [09:11:30]MH_I2C_Read... [09:11:30]Read from MH i2c: F0 09 00 [09:11:30]MH_I2C_Read... [09:11:30]Read from MH i2c: F0 09 00 37 1B 00 49 55 1F 67 5B 68 A1 66 38 [09:11:30]GetLastDocTimeStamp 1730106326 [09:11:30]current date 1730106697 [09:11:30]FM_GetShiftState [09:11:30]SAM_PROTO_GetShiftState [09:11:30]wFMCommunicate request_size=4 [09:11:30]MH_SAM_APDU [09:11:30]CAPDU: 80 13 01 00 [09:11:30]Write to MH i2c: E2 08 00 38 1B 80 13 01 00 00 00 00 00 D0 [09:11:30]Write i2c OK [09:11:30]MH_I2C_Read... [09:11:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:11:30]Read from MH i2c: E2 [09:11:30]MH_I2C_Read... [09:11:30]Read from MH i2c: E2 0E 00 [09:11:30]MH_I2C_Read... [09:11:30]Read from MH i2c: E2 0E 00 38 1B 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 52 [09:11:30]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [09:11:30]wFMCommunicate OK [09:11:30]SAM_PROTO_GetShiftState done [09:11:30]FM_GetShiftState done [09:11:30]opened in 1730073884 [09:11:30]opened+sec_in_day 1730160284 [09:11:30]quantity*price = 11500 [09:11:30]sum+1 = 11501 [09:11:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 0.00 Безнал.: 115.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 16 28.10.2024 09:11 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37773 ФПД: 261167364516823 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T091137&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37773&fm=261167364516823&tin=02508201610067®Number=0000000000091684&sum=11500 0 [09:11:31]StoreToDocumentArchive [09:11:31]shift 551 fd 37773 [09:11:31]save to /storage/0551/doc_00037773 [09:11:31]save last doc name /storage/0551/doc_00037773 to /storage/kkm_last_doc_name [09:11:31]save OK [09:11:31]Clear old archive folders... [09:11:31]ProcessDocumentItem done err = 0, tmpTLVsize=274 [09:11:31]tlvbuf is 0029E7F0 [09:11:31]SAM_PROTO_ClearQueue [09:11:31]wFMCommunicate request_size=4 [09:11:31]MH_SAM_APDU [09:11:31]CAPDU: 80 09 00 00 [09:11:31]Write to MH i2c: E2 08 00 45 1B 80 09 00 00 00 00 00 00 D2 [09:11:31]Write i2c OK [09:11:31]MH_I2C_Read... [09:11:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:11:31]Read from MH i2c: E2 [09:11:31]MH_I2C_Read... [09:11:31]Read from MH i2c: E2 03 00 [09:11:31]MH_I2C_Read... [09:11:31]Read from MH i2c: E2 03 00 45 1B 00 90 00 D4 [09:11:31]RAPDU: 90 00 [09:11:31]wFMCommunicate OK [09:11:31]SAM_PROTO_ClearQueue done [09:11:31]KKMCreateOFDPacket [09:11:31]OFDProtocolAddRootSTLVToBuf [09:11:31]FM_MakeSignedData [09:11:31]FM_MakeSignedData [09:11:31]SAM_PROTO_SignData [09:11:31]wFMCommunicate request_size=4 [09:11:31]MH_SAM_APDU [09:11:31]CAPDU: 80 0D 01 02 [09:11:31]Write to MH i2c: E2 08 00 46 1B 80 0D 01 02 00 00 00 00 DA [09:11:31]Write i2c OK [09:11:31]MH_I2C_Read... [09:11:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:11:31]Read from MH i2c: E2 [09:11:31]MH_I2C_Read... [09:11:31]Read from MH i2c: E2 03 00 [09:11:31]MH_I2C_Read... [09:11:31]Read from MH i2c: E2 03 00 46 1B 00 90 00 D5 [09:11:31]RAPDU: 90 00 [09:11:31]wFMCommunicate OK [09:11:31]wFMCommunicate request_size=255 [09:11:31]MH_SAM_APDU [09:11:31]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 49 55 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 [09:11:31]Write to MH i2c: E2 02 01 47 1B 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 49 55 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 00 00 D6 [09:11:31]Write i2c OK [09:11:31]MH_I2C_Read... [09:11:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:11:32]Read from MH i2c: E2 [09:11:32]MH_I2C_Read... [09:11:32]Read from MH i2c: E2 03 00 [09:11:32]MH_I2C_Read... [09:11:32]Read from MH i2c: E2 03 00 47 1B 00 90 00 D6 [09:11:32]RAPDU: 90 00 [09:11:32]wFMCommunicate OK [09:11:32]wFMCommunicate request_size=33 [09:11:32]MH_SAM_APDU [09:11:32]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8D 93 00 00 35 04 06 00 ED 87 C3 FD 2B D7 [09:11:32]Write to MH i2c: E2 24 00 48 1B 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8D 93 00 00 35 04 06 00 ED 87 C3 FD 2B D7 00 00 BF [09:11:32]Write i2c OK [09:11:32]MH_I2C_Read... [09:11:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:11:32]Read from MH i2c: E2 [09:11:32]MH_I2C_Read... [09:11:32]Read from MH i2c: E2 03 00 [09:11:32]MH_I2C_Read... [09:11:32]Read from MH i2c: E2 03 00 48 1B 00 90 00 D7 [09:11:32]RAPDU: 90 00 [09:11:32]wFMCommunicate OK [09:11:32]wFMCommunicate request_size=4 [09:11:32]MH_SAM_APDU [09:11:32]CAPDU: 80 0D 03 02 [09:11:32]Write to MH i2c: E2 08 00 49 1B 80 0D 03 02 00 00 00 00 DF [09:11:32]Write i2c OK [09:11:32]MH_I2C_Read... [09:11:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:11:32]Read from MH i2c: E2 [09:11:32]MH_I2C_Read... [09:11:32]Read from MH i2c: E2 0B 00 [09:11:32]MH_I2C_Read... [09:11:32]Read from MH i2c: E2 0B 00 49 1B 00 B7 5A E3 D0 19 10 A9 AC 90 00 22 [09:11:32]RAPDU: B7 5A E3 D0 19 10 A9 AC 90 00 [09:11:32]wFMCommunicate OK [09:11:32]SAM_PROTO_SignData done [09:11:32]FM_MakeSignedData done [09:11:32]CreateOFDProtocolMessage [09:11:32]wFMCommunicate request_size=4 [09:11:32]MH_SAM_APDU [09:11:32]CAPDU: 80 11 00 00 [09:11:32]Write to MH i2c: E2 08 00 4A 1B 80 11 00 00 00 00 00 00 DF [09:11:32]Write i2c OK [09:11:32]MH_I2C_Read... [09:11:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:11:32]Read from MH i2c: E2 [09:11:32]MH_I2C_Read... [09:11:32]Read from MH i2c: E2 17 00 [09:11:32]MH_I2C_Read... [09:11:32]Read from MH i2c: E2 17 00 4A 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 2F [09:11:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:11:32]wFMCommunicate OK [09:11:32]CreateOFDProtocolMessage done [09:11:32]OFDSenderStorePacket 37773 [09:11:32]StoreOFDPacket docnum=37773 [09:11:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 93 45 1E 01 BA F2 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 49 55 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8D 93 00 00 35 04 06 00 ED 87 C3 FD 2B D7 B7 5A E3 D0 19 10 A9 AC [09:11:32]CheckFolder [09:11:32]dirname=/storage/ofd_packets [09:11:32]CheckFolder done [09:11:32]ProducePacketName [09:11:32]name=ofd_packets/00037773 [09:11:32]NVStorageSaveData ofd_packets/00037773 [09:11:32]File name is /storage/ofd_packets/00037773 [09:11:32]Write 324 bytes [09:11:32]NVStorageSaveData done [09:11:32]OFDSenderStorePacket done [09:11:32]KKMCreateOFDPacket done [09:11:32]NVStorageSaveData kkm_last_timestamp [09:11:32]File name is /storage/kkm_last_timestamp [09:11:32]Write 4 bytes [09:11:32]NVStorageSaveData done [09:11:32]ExternCall_PrintAddStr [09:11:32]wPrintStart [09:11:32]Write to MH i2c: 01 00 00 4B 1B 66 [09:11:32]Write i2c OK [09:11:32]MH_I2C_Read... [09:11:32]Read from MH i2c: 01 [09:11:32]MH_I2C_Read... [09:11:32]Read from MH i2c: 01 07 00 [09:11:32]MH_I2C_Read... [09:11:32]Read from MH i2c: 01 07 00 4B 1B 00 00 00 00 00 FF 0F 7B [09:11:32]RasterBufferAndPrint [09:11:32]line Счет N : (3)35070 [09:11:32]line ИНН: 02508201610067 [09:11:32]line Контрольно-Кассовый Чек [09:11:32]line ПРОДАЖА [09:11:32]line Товар: 2000036240010 [09:11:32]line Кофе Латте (GABB TRADE) [09:11:32]line 1.000 * 115.00 [09:11:32]line = 115.00 [09:11:32]line НДС 12% НСП 1% [09:11:32]line > о реализуемом товаре [09:11:32]line ИТОГО: 115.00 [09:11:32]line НСП 1% : 1.02 [09:11:32]line НДС 12% : 12.21 [09:11:32]line Наличными: 0.00 [09:11:32]line Безнал.: 115.00 [09:11:32]line Место: АЗС № 126 "Партнер Нефть" [09:11:32]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [09:11:32]line СНО: Общий режим [09:11:32]line Чек 16 28.10.2024 09:11 [09:11:32]line Смена: 551 ФФД: 1.0 [09:11:32]line ЗНМ: 0300000092 [09:11:32]line РНМ: 0000000000091684 [09:11:32]line Версия ККМ: 001 [09:11:32]line Платежная система: Mbank [09:11:32]line ФМ: 0000000000871841 [09:11:32]line ФД: 37773 [09:11:32]line ФПД: 261167364516823 [09:11:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T091137&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37773&fm=261167364516823&tin=02508201610067®Number=0000000000091684&sum=11500 [09:11:32]line 0 [09:11:32]OFD Sender: Processing packet 37773 [packets to send 42, broken 41] [09:11:32]ProducePacketName [09:11:32]name=ofd_packets/00037773 [09:11:32]OFD Sender: To server: pG, [09:11:32]CommunicateWithHost lk.salyk.kg:30040 [09:11:32]ConnectInit lk.salyk.kg [09:11:32]written 0, free lines is 4095 [09:11:32]Connected sock=9 [09:11: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 38 34 31 26 01 00 00 93 45 1E 01 BA F2 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 49 55 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8D 93 00 00 35 04 06 00 ED 87 C3 FD 2B D7 B7 5A E3 D0 19 10 A9 AC [09:11:32]Write to MH i2c: 01 00 00 74 1B 8F [09:11:32]Write i2c OK [09:11:32]MH_I2C_Read... [09:11:32]Read from MH i2c: 01 [09:11:32]MH_I2C_Read... [09:11:32]Read from MH i2c: 01 07 00 [09:11:32]MH_I2C_Read... [09:11:32]Read from MH i2c: 01 07 00 74 1B 00 00 00 00 00 C8 0C 6A [09:11:32]RasterBufferAndPrint [09:11:32]line [09:11:32]line [09:11:32]line [09:11:32]line [09:11:32]line [09:11:32]written 0, free lines is 3278 [09:11:33]MH_Cut [09:11:33]Write to MH i2c: D1 01 00 7B 1B 01 68 [09:11:33]Write i2c OK [09:11:33]MH_I2C_Read... [09:11:33]Read from MH i2c: D1 [09:11:33]MH_I2C_Read... [09:11:33]Read from MH i2c: D1 01 00 [09:11:33]MH_I2C_Read... [09:11:33]Read from MH i2c: D1 01 00 7B 1B 00 67 [09:11:33]Write to MH i2c: 01 00 00 7C 1B 97 [09:11:33]Write i2c OK [09:11:33]MH_I2C_Read... [09:11:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 97 9E 47 00 0D 17 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8D 93 00 00 F4 03 04 00 3E 00 1F 67 B6 04 01 00 00 E5 EE 4B B4 C0 9D 6E 2C [09:11:33]CommunicateWithHost err = 0 [09:11:33]CheckOFDResponse [09:11:33]1017 (14) - 77093643461234 [09:11:33]1041 (16) - 0000000000871841 [09:11:33]1040 (4) - 37773 [09:11:33]1012 (4) - 28.10.2024 03:08 [09:11:33]1206 (1) - 0 [09:11:33]OFD Sender: Remove packet 37773 [09:11:33]ProducePacketName [09:11:33]name=ofd_packets/00037773 [09:11:33]NVStorageDeleteData [09:11:33]OFD Sender: No OFD packet to send [09:11:33]*** Cut start [09:11:33]*** Partial cut [09:11:33]*** CUTSNS_PIN = 1 [09:11:33]*** CUTSNS_PIN = 0 [09:11:34]*** Brake cut motor [09:11:34]Read from MH i2c: 01 [09:11:34]MH_I2C_Read... [09:11:34]*** Stop cut motor [09:11:34]*** Cut end [09:11:34]Read from MH i2c: 01 07 00 [09:11:34]MH_I2C_Read... [09:11:34]Read from MH i2c: 01 07 00 7C 1B 00 00 00 00 00 FF 0F AC [09:11:34]process_action close_receipt done [09:11:34]requested_data is exist [09:11:34]produce_requested_data [09:11:34]requested_item fm.sn is exist - process it [09:11:34]wFMCommunicate request_size=4 [09:11:34]MH_SAM_APDU [09:11:34]CAPDU: 80 11 00 00 [09:11:34]Write to MH i2c: E2 08 00 7D 1B 80 11 00 00 00 00 00 00 12 [09:11:34]Write i2c OK [09:11:34]MH_I2C_Read... [09:11:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:11:34]Read from MH i2c: E2 [09:11:34]MH_I2C_Read... [09:11:34]Read from MH i2c: E2 17 00 [09:11:34]MH_I2C_Read... [09:11:34]Read from MH i2c: E2 17 00 7D 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 62 [09:11:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:11:34]wFMCommunicate OK [09:11:34]requested_item fd.num is exist - process it [09:11:34]SAM_PROTO_GetFieldsCounters [09:11:34]wFMCommunicate request_size=4 [09:11:34]MH_SAM_APDU [09:11:34]CAPDU: 80 13 00 00 [09:11:34]Write to MH i2c: E2 08 00 7E 1B 80 13 00 00 00 00 00 00 15 [09:11:34]Write i2c OK [09:11:34]MH_I2C_Read... [09:11:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:11:34]Read from MH i2c: E2 [09:11:34]MH_I2C_Read... [09:11:34]Read from MH i2c: E2 62 00 [09:11:34]MH_I2C_Read... [09:11:34]Read from MH i2c: E2 62 00 7E 1B 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 8D 93 00 00 0E 04 04 00 27 02 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 AF [09:11: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 8D 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:11:34]wFMCommunicate OK [09:11:34]SAM_PROTO_GetFieldsCounters done [09:11:34]requested_item shift.num is exist - process it [09:11:34]requested_item shift.opened is exist - process it [09:11:34]req_shift_opened [09:11:34]FM_GetShiftState [09:11:34]SAM_PROTO_GetShiftState [09:11:34]wFMCommunicate request_size=4 [09:11:34]MH_SAM_APDU [09:11:34]CAPDU: 80 13 01 00 [09:11:34]Write to MH i2c: E2 08 00 7F 1B 80 13 01 00 00 00 00 00 17 [09:11:34]Write i2c OK [09:11:34]MH_I2C_Read... [09:11:34]Read from MH i2c: E2 [09:11:34]MH_I2C_Read... [09:11:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:11:34]Read from MH i2c: E2 0E 00 [09:11:34]MH_I2C_Read... [09:11:34]Read from MH i2c: E2 0E 00 7F 1B 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 99 [09:11:34]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [09:11:34]wFMCommunicate OK [09:11:34]SAM_PROTO_GetShiftState done [09:11:34]FM_GetShiftState done [09:11:34]req_shift_opened done [09:11:34]requested_item shift.open_date is exist - process it [09:11:34]req_shift_open_date [09:11:34]req_shift_open_date done [09:11:34]produce_requested_data done [09:11:34]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37773,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [09:11:34]process_action_free close_receipt [09:11:34]json_value_free [09:11:34]json_value_free done [09:11:34]process_json_proto returns [09:11:34]Send response to host [09:11:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37773,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [09:11:34]free response buf [09:11:34]execute_script done [09:11:34]execute_script returns [09:11:34]free content buf [09:11:34]Sock 10.Close socket [09:11:34]Sock 10.Thread stoped [09:11:38]OFD Sender: No OFD packet to send [09:11:43]OFD Sender: No OFD packet to send [09:11:48]OFD Sender: No OFD packet to send [09:11:53]OFD Sender: No OFD packet to send [09:11:58]OFD Sender: No OFD packet to send [09:12:03]OFD Sender: No OFD packet to send [09:12:08]OFD Sender: No OFD packet to send [09:12:13]OFD Sender: No OFD packet to send [09:12:18]OFD Sender: No OFD packet to send [09:12:23]OFD Sender: No OFD packet to send [09:12:28]OFD Sender: No OFD packet to send [09:12:33]OFD Sender: No OFD packet to send [09:12:38]OFD Sender: No OFD packet to send [09:12:43]OFD Sender: No OFD packet to send [09:12:48]OFD Sender: No OFD packet to send [09:12:53]OFD Sender: No OFD packet to send [09:12:58]OFD Sender: No OFD packet to send [09:13:03]OFD Sender: No OFD packet to send [09:13:08]OFD Sender: No OFD packet to send [09:13:13]OFD Sender: No OFD packet to send [09:13:18]OFD Sender: No OFD packet to send [09:13:23]OFD Sender: No OFD packet to send [09:13:28]OFD Sender: No OFD packet to send [09:13:33]OFD Sender: No OFD packet to send [09:13:38]OFD Sender: No OFD packet to send [09:13:43]OFD Sender: No OFD packet to send [09:13:48]OFD Sender: No OFD packet to send [09:13:53]OFD Sender: No OFD packet to send [09:13:58]OFD Sender: No OFD packet to send [09:14:03]OFD Sender: No OFD packet to send [09:14:08]OFD Sender: No OFD packet to send [09:14:13]OFD Sender: No OFD packet to send [09:14:18]OFD Sender: No OFD packet to send [09:14:23]OFD Sender: No OFD packet to send [09:14:28]OFD Sender: No OFD packet to send [09:14:33]OFD Sender: No OFD packet to send [09:14:38]OFD Sender: No OFD packet to send [09:14:43]OFD Sender: No OFD packet to send [09:14:48]OFD Sender: No OFD packet to send [09:14:53]OFD Sender: No OFD packet to send [09:14:58]OFD Sender: No OFD packet to send [09:15:03]OFD Sender: No OFD packet to send [09:15:08]OFD Sender: No OFD packet to send [09:15:13]OFD Sender: No OFD packet to send [09:15:18]OFD Sender: No OFD packet to send [09:15:23]OFD Sender: No OFD packet to send [09:15:28]OFD Sender: No OFD packet to send [09:15:33]OFD Sender: No OFD packet to send [09:15:38]OFD Sender: No OFD packet to send [09:15:43]OFD Sender: No OFD packet to send [09:15:48]OFD Sender: No OFD packet to send [09:15:53]OFD Sender: No OFD packet to send [09:15:58]OFD Sender: No OFD packet to send [09:16:03]OFD Sender: No OFD packet to send [09:16:08]OFD Sender: No OFD packet to send [09:16:13]OFD Sender: No OFD packet to send [09:16:18]OFD Sender: No OFD packet to send [09:16:23]OFD Sender: No OFD packet to send [09:16:28]OFD Sender: No OFD packet to send [09:16:33]OFD Sender: No OFD packet to send [09:16:38]OFD Sender: No OFD packet to send [09:16:43]OFD Sender: No OFD packet to send [09:16:48]OFD Sender: No OFD packet to send [09:16:53]OFD Sender: No OFD packet to send [09:16:58]OFD Sender: No OFD packet to send [09:17:03]OFD Sender: No OFD packet to send [09:17:08]OFD Sender: No OFD packet to send [09:17:13]OFD Sender: No OFD packet to send [09:17:18]OFD Sender: No OFD packet to send [09:17:23]OFD Sender: No OFD packet to send [09:17:28]OFD Sender: No OFD packet to send [09:17:33]OFD Sender: No OFD packet to send [09:17:38]OFD Sender: No OFD packet to send [09:17:43]OFD Sender: No OFD packet to send [09:17:48]OFD Sender: No OFD packet to send [09:17:53]OFD Sender: No OFD packet to send [09:17:58]OFD Sender: No OFD packet to send [09:18:03]OFD Sender: No OFD packet to send [09:18:08]OFD Sender: No OFD packet to send [09:18:13]OFD Sender: No OFD packet to send [09:18:18]OFD Sender: No OFD packet to send [09:18:23]OFD Sender: No OFD packet to send [09:18:28]OFD Sender: No OFD packet to send [09:18:33]OFD Sender: No OFD packet to send [09:18:38]OFD Sender: No OFD packet to send [09:18:43]OFD Sender: No OFD packet to send [09:18:48]OFD Sender: No OFD packet to send [09:18:53]OFD Sender: No OFD packet to send [09:18:58]OFD Sender: No OFD packet to send [09:19:03]OFD Sender: No OFD packet to send [09:19:09]OFD Sender: No OFD packet to send [09:19:14]OFD Sender: No OFD packet to send [09:19:19]OFD Sender: No OFD packet to send [09:19:24]OFD Sender: No OFD packet to send [09:19:29]OFD Sender: No OFD packet to send [09:19:34]OFD Sender: No OFD packet to send [09:19:39]OFD Sender: No OFD packet to send [09:19:44]OFD Sender: No OFD packet to send [09:19:49]OFD Sender: No OFD packet to send [09:19:54]OFD Sender: No OFD packet to send [09:19:59]OFD Sender: No OFD packet to send [09:20:04]OFD Sender: No OFD packet to send [09:20:09]OFD Sender: No OFD packet to send [09:20:14]OFD Sender: No OFD packet to send [09:20:19]OFD Sender: No OFD packet to send [09:20:24]OFD Sender: No OFD packet to send [09:20:29]OFD Sender: No OFD packet to send [09:20:34]OFD Sender: No OFD packet to send [09:20:39]OFD Sender: No OFD packet to send [09:20:44]OFD Sender: No OFD packet to send [09:20:49]OFD Sender: No OFD packet to send [09:20:54]OFD Sender: No OFD packet to send [09:20:59]OFD Sender: No OFD packet to send [09:21:04]OFD Sender: No OFD packet to send [09:21:09]OFD Sender: No OFD packet to send [09:21:14]OFD Sender: No OFD packet to send [09:21:19]OFD Sender: No OFD packet to send [09:21:24]OFD Sender: No OFD packet to send [09:21:29]OFD Sender: No OFD packet to send [09:21:34]OFD Sender: No OFD packet to send [09:21:39]OFD Sender: No OFD packet to send [09:21:44]OFD Sender: No OFD packet to send [09:21:49]OFD Sender: No OFD packet to send [09:21:54]OFD Sender: No OFD packet to send [09:21:59]OFD Sender: No OFD packet to send [09:22:04]OFD Sender: No OFD packet to send [09:22:09]OFD Sender: No OFD packet to send [09:22:14]OFD Sender: No OFD packet to send [09:22:19]OFD Sender: No OFD packet to send [09:22:24]OFD Sender: No OFD packet to send [09:22:29]OFD Sender: No OFD packet to send [09:22:34]OFD Sender: No OFD packet to send [09:22:39]OFD Sender: No OFD packet to send [09:22:44]OFD Sender: No OFD packet to send [09:22:49]OFD Sender: No OFD packet to send [09:22:54]OFD Sender: No OFD packet to send [09:22:59]OFD Sender: No OFD packet to send [09:23:04]OFD Sender: No OFD packet to send [09:23:09]OFD Sender: No OFD packet to send [09:23:14]OFD Sender: No OFD packet to send [09:23:19]OFD Sender: No OFD packet to send [09:23:24]OFD Sender: No OFD packet to send [09:23:29]OFD Sender: No OFD packet to send [09:23:34]OFD Sender: No OFD packet to send [09:23:39]OFD Sender: No OFD packet to send [09:23:44]OFD Sender: No OFD packet to send [09:23:49]OFD Sender: No OFD packet to send [09:23:54]OFD Sender: No OFD packet to send [09:23:59]OFD Sender: No OFD packet to send [09:24:04]OFD Sender: No OFD packet to send [09:24:09]OFD Sender: No OFD packet to send [09:24:14]OFD Sender: No OFD packet to send [09:24:19]OFD Sender: No OFD packet to send [09:24:24]OFD Sender: No OFD packet to send [09:24:29]OFD Sender: No OFD packet to send [09:24:34]OFD Sender: No OFD packet to send [09:24:39]OFD Sender: No OFD packet to send [09:24:44]OFD Sender: No OFD packet to send [09:24:49]OFD Sender: No OFD packet to send [09:24:54]OFD Sender: No OFD packet to send [09:24:59]OFD Sender: No OFD packet to send [09:25:04]OFD Sender: No OFD packet to send [09:25:09]OFD Sender: No OFD packet to send [09:25:14]OFD Sender: No OFD packet to send [09:25:19]OFD Sender: No OFD packet to send [09:25:24]OFD Sender: No OFD packet to send [09:25:29]OFD Sender: No OFD packet to send [09:25:34]OFD Sender: No OFD packet to send [09:25:39]OFD Sender: No OFD packet to send [09:25:44]OFD Sender: No OFD packet to send [09:25:49]OFD Sender: No OFD packet to send [09:25:54]OFD Sender: No OFD packet to send [09:25:59]OFD Sender: No OFD packet to send [09:26:04]OFD Sender: No OFD packet to send [09:26:09]OFD Sender: No OFD packet to send [09:26:14]OFD Sender: No OFD packet to send [09:26:19]OFD Sender: No OFD packet to send [09:26:24]OFD Sender: No OFD packet to send [09:26:29]OFD Sender: No OFD packet to send [09:26:34]OFD Sender: No OFD packet to send [09:26:39]OFD Sender: No OFD packet to send [09:26:44]OFD Sender: No OFD packet to send [09:26:49]OFD Sender: No OFD packet to send [09:26:54]OFD Sender: No OFD packet to send [09:26:59]OFD Sender: No OFD packet to send [09:27:04]OFD Sender: No OFD packet to send [09:27:09]OFD Sender: No OFD packet to send [09:27:14]OFD Sender: No OFD packet to send [09:27:19]OFD Sender: No OFD packet to send [09:27:24]OFD Sender: No OFD packet to send [09:27:29]OFD Sender: No OFD packet to send [09:27:34]OFD Sender: No OFD packet to send [09:27:39]OFD Sender: No OFD packet to send [09:27:44]OFD Sender: No OFD packet to send [09:27:49]OFD Sender: No OFD packet to send [09:27:54]OFD Sender: No OFD packet to send [09:27:59]OFD Sender: No OFD packet to send [09:28:04]OFD Sender: No OFD packet to send [09:28:09]OFD Sender: No OFD packet to send [09:28:14]OFD Sender: No OFD packet to send [09:28:19]OFD Sender: No OFD packet to send [09:28:24]OFD Sender: No OFD packet to send [09:28:29]OFD Sender: No OFD packet to send [09:28:34]OFD Sender: No OFD packet to send [09:28:39]OFD Sender: No OFD packet to send [09:28:44]OFD Sender: No OFD packet to send [09:28:49]OFD Sender: No OFD packet to send [09:28:54]OFD Sender: No OFD packet to send [09:28:59]OFD Sender: No OFD packet to send [09:29:04]OFD Sender: No OFD packet to send [09:29:09]OFD Sender: No OFD packet to send [09:29:14]OFD Sender: No OFD packet to send [09:29:19]OFD Sender: No OFD packet to send [09:29:24]OFD Sender: No OFD packet to send [09:29:29]OFD Sender: No OFD packet to send [09:29:34]OFD Sender: No OFD packet to send [09:29:39]OFD Sender: No OFD packet to send [09:29:44]OFD Sender: No OFD packet to send [09:29:49]OFD Sender: No OFD packet to send [09:29:54]OFD Sender: No OFD packet to send [09:29:59]OFD Sender: No OFD packet to send [09:30:04]OFD Sender: No OFD packet to send [09:30:09]OFD Sender: No OFD packet to send [09:30:14]OFD Sender: No OFD packet to send [09:30:19]OFD Sender: No OFD packet to send [09:30:24]OFD Sender: No OFD packet to send [09:30:29]OFD Sender: No OFD packet to send [09:30:34]OFD Sender: No OFD packet to send [09:30:39]OFD Sender: No OFD packet to send [09:30:44]OFD Sender: No OFD packet to send [09:30:49]OFD Sender: No OFD packet to send [09:30:54]OFD Sender: No OFD packet to send [09:30:59]OFD Sender: No OFD packet to send [09:31:04]OFD Sender: No OFD packet to send [09:31:09]OFD Sender: No OFD packet to send [09:31:14]OFD Sender: No OFD packet to send [09:31:19]OFD Sender: No OFD packet to send [09:31:24]OFD Sender: No OFD packet to send [09:31:29]OFD Sender: No OFD packet to send [09:31:34]OFD Sender: No OFD packet to send [09:31:39]OFD Sender: No OFD packet to send [09:31:44]OFD Sender: No OFD packet to send [09:31:49]OFD Sender: No OFD packet to send [09:31:54]OFD Sender: No OFD packet to send [09:31:59]OFD Sender: No OFD packet to send [09:32:04]OFD Sender: No OFD packet to send [09:32:09]OFD Sender: No OFD packet to send [09:32:14]OFD Sender: No OFD packet to send [09:32:19]OFD Sender: No OFD packet to send [09:32:24]OFD Sender: No OFD packet to send [09:32:29]OFD Sender: No OFD packet to send [09:32:34]OFD Sender: No OFD packet to send [09:32:39]OFD Sender: No OFD packet to send [09:32:44]OFD Sender: No OFD packet to send [09:32:49]OFD Sender: No OFD packet to send [09:32:54]OFD Sender: No OFD packet to send [09:32:59]OFD Sender: No OFD packet to send [09:33:04]OFD Sender: No OFD packet to send [09:33:09]OFD Sender: No OFD packet to send [09:33:14]OFD Sender: No OFD packet to send [09:33:19]OFD Sender: No OFD packet to send [09:33:24]OFD Sender: No OFD packet to send [09:33:29]OFD Sender: No OFD packet to send [09:33:34]OFD Sender: No OFD packet to send [09:33:39]OFD Sender: No OFD packet to send [09:33:44]OFD Sender: No OFD packet to send [09:33:49]OFD Sender: No OFD packet to send [09:33:54]OFD Sender: No OFD packet to send [09:33:59]OFD Sender: No OFD packet to send [09:34:04]OFD Sender: No OFD packet to send [09:34:09]OFD Sender: No OFD packet to send [09:34:14]OFD Sender: No OFD packet to send [09:34:19]OFD Sender: No OFD packet to send [09:34:24]OFD Sender: No OFD packet to send [09:34:29]OFD Sender: No OFD packet to send [09:34:34]OFD Sender: No OFD packet to send [09:34:39]OFD Sender: No OFD packet to send [09:34:44]OFD Sender: No OFD packet to send [09:34:49]OFD Sender: No OFD packet to send [09:34:54]OFD Sender: No OFD packet to send [09:34:59]OFD Sender: No OFD packet to send [09:35:04]OFD Sender: No OFD packet to send [09:35:09]OFD Sender: No OFD packet to send [09:35:14]OFD Sender: No OFD packet to send [09:35:19]OFD Sender: No OFD packet to send [09:35:24]OFD Sender: No OFD packet to send [09:35:29]OFD Sender: No OFD packet to send [09:35:34]OFD Sender: No OFD packet to send [09:35:39]OFD Sender: No OFD packet to send [09:35:44]OFD Sender: No OFD packet to send [09:35:49]OFD Sender: No OFD packet to send [09:35:54]OFD Sender: No OFD packet to send [09:35:59]OFD Sender: No OFD packet to send [09:36:04]OFD Sender: No OFD packet to send [09:36:09]OFD Sender: No OFD packet to send [09:36:14]OFD Sender: No OFD packet to send [09:36:19]OFD Sender: No OFD packet to send [09:36:24]OFD Sender: No OFD packet to send [09:36:29]OFD Sender: No OFD packet to send [09:36:34]OFD Sender: No OFD packet to send [09:36:39]OFD Sender: No OFD packet to send [09:36:44]OFD Sender: No OFD packet to send [09:36:49]OFD Sender: No OFD packet to send [09:36:54]OFD Sender: No OFD packet to send [09:36:59]OFD Sender: No OFD packet to send [09:37:04]OFD Sender: No OFD packet to send [09:37:09]OFD Sender: No OFD packet to send [09:37:14]OFD Sender: No OFD packet to send [09:37:19]OFD Sender: No OFD packet to send [09:37:24]OFD Sender: No OFD packet to send [09:37:29]OFD Sender: No OFD packet to send [09:37:34]OFD Sender: No OFD packet to send [09:37:39]OFD Sender: No OFD packet to send [09:37:44]OFD Sender: No OFD packet to send [09:37:49]OFD Sender: No OFD packet to send [09:37:55]OFD Sender: No OFD packet to send [09:38:00]OFD Sender: No OFD packet to send [09:38:05]OFD Sender: No OFD packet to send [09:38:10]OFD Sender: No OFD packet to send [09:38:15]OFD Sender: No OFD packet to send [09:38:20]OFD Sender: No OFD packet to send [09:38:25]OFD Sender: No OFD packet to send [09:38:30]OFD Sender: No OFD packet to send [09:38:35]OFD Sender: No OFD packet to send [09:38:40]OFD Sender: No OFD packet to send [09:38:45]OFD Sender: No OFD packet to send [09:38:50]OFD Sender: No OFD packet to send [09:38:55]OFD Sender: No OFD packet to send [09:39:00]OFD Sender: No OFD packet to send [09:39:05]OFD Sender: No OFD packet to send [09:39:10]OFD Sender: No OFD packet to send [09:39:15]OFD Sender: No OFD packet to send [09:39:20]OFD Sender: No OFD packet to send [09:39:25]OFD Sender: No OFD packet to send [09:39:30]OFD Sender: No OFD packet to send [09:39:35]OFD Sender: No OFD packet to send [09:39:40]OFD Sender: No OFD packet to send [09:39:45]OFD Sender: No OFD packet to send [09:39:50]OFD Sender: No OFD packet to send [09:39:55]OFD Sender: No OFD packet to send [09:40:00]OFD Sender: No OFD packet to send [09:40:05]OFD Sender: No OFD packet to send [09:40:10]OFD Sender: No OFD packet to send [09:40:15]OFD Sender: No OFD packet to send [09:40:20]OFD Sender: No OFD packet to send [09:40:25]OFD Sender: No OFD packet to send [09:40:30]OFD Sender: No OFD packet to send [09:40:35]OFD Sender: No OFD packet to send [09:40:40]OFD Sender: No OFD packet to send [09:40:45]OFD Sender: No OFD packet to send [09:40:50]OFD Sender: No OFD packet to send [09:40:55]OFD Sender: No OFD packet to send [09:41:00]OFD Sender: No OFD packet to send [09:41:05]OFD Sender: No OFD packet to send [09:41:10]OFD Sender: No OFD packet to send [09:41:15]OFD Sender: No OFD packet to send [09:41:20]OFD Sender: No OFD packet to send [09:41:25]OFD Sender: No OFD packet to send [09:41:30]OFD Sender: No OFD packet to send [09:41:35]OFD Sender: No OFD packet to send [09:41:40]OFD Sender: No OFD packet to send [09:41:45]OFD Sender: No OFD packet to send [09:41:50]OFD Sender: No OFD packet to send [09:41:55]OFD Sender: No OFD packet to send [09:42:00]OFD Sender: No OFD packet to send [09:42:05]OFD Sender: No OFD packet to send [09:42:10]OFD Sender: No OFD packet to send [09:42:15]OFD Sender: No OFD packet to send [09:42:20]OFD Sender: No OFD packet to send [09:42:25]OFD Sender: No OFD packet to send [09:42:30]OFD Sender: No OFD packet to send [09:42:35]OFD Sender: No OFD packet to send [09:42:40]OFD Sender: No OFD packet to send [09:42:45]OFD Sender: No OFD packet to send [09:42:50]OFD Sender: No OFD packet to send [09:42:55]OFD Sender: No OFD packet to send [09:43:00]OFD Sender: No OFD packet to send [09:43:05]OFD Sender: No OFD packet to send [09:43:10]OFD Sender: No OFD packet to send [09:43:15]OFD Sender: No OFD packet to send [09:43:20]OFD Sender: No OFD packet to send [09:43:25]OFD Sender: No OFD packet to send [09:43:30]OFD Sender: No OFD packet to send [09:43:35]OFD Sender: No OFD packet to send [09:43:40]OFD Sender: No OFD packet to send [09:43:45]OFD Sender: No OFD packet to send [09:43:50]OFD Sender: No OFD packet to send [09:43:55]OFD Sender: No OFD packet to send [09:44:00]OFD Sender: No OFD packet to send [09:44:05]OFD Sender: No OFD packet to send [09:44:10]OFD Sender: No OFD packet to send [09:44:15]OFD Sender: No OFD packet to send [09:44:20]OFD Sender: No OFD packet to send [09:44:25]OFD Sender: No OFD packet to send [09:44:30]OFD Sender: No OFD packet to send [09:44:35]OFD Sender: No OFD packet to send [09:44:40]OFD Sender: No OFD packet to send [09:44:45]OFD Sender: No OFD packet to send [09:44:50]OFD Sender: No OFD packet to send [09:44:55]OFD Sender: No OFD packet to send [09:45:00]OFD Sender: No OFD packet to send [09:45:05]OFD Sender: No OFD packet to send [09:45:10]OFD Sender: No OFD packet to send [09:45:15]OFD Sender: No OFD packet to send [09:45:20]OFD Sender: No OFD packet to send [09:45:25]OFD Sender: No OFD packet to send [09:45:30]OFD Sender: No OFD packet to send [09:45:35]OFD Sender: No OFD packet to send [09:45:40]OFD Sender: No OFD packet to send [09:45:45]OFD Sender: No OFD packet to send [09:45:50]OFD Sender: No OFD packet to send [09:45:55]OFD Sender: No OFD packet to send [09:46:00]OFD Sender: No OFD packet to send [09:46:05]OFD Sender: No OFD packet to send [09:46:10]OFD Sender: No OFD packet to send [09:46:15]OFD Sender: No OFD packet to send [09:46:20]OFD Sender: No OFD packet to send [09:46:25]OFD Sender: No OFD packet to send [09:46:30]OFD Sender: No OFD packet to send [09:46:35]OFD Sender: No OFD packet to send [09:46:40]OFD Sender: No OFD packet to send [09:46:45]OFD Sender: No OFD packet to send [09:46:50]OFD Sender: No OFD packet to send [09:46:55]OFD Sender: No OFD packet to send [09:47:00]OFD Sender: No OFD packet to send [09:59:58]ConnectInit Can't connect to host [10:00:01]OFD Sender: No OFD packet to send [10:00:06]OFD Sender: No OFD packet to send [10:00:11]OFD Sender: No OFD packet to send [10:00:16]OFD Sender: No OFD packet to send [10:00:21]OFD Sender: No OFD packet to send [10:00:26]OFD Sender: No OFD packet to send [10:00:31]OFD Sender: No OFD packet to send [10:00:36]OFD Sender: No OFD packet to send [10:00:41]OFD Sender: No OFD packet to send [10:00:46]OFD Sender: No OFD packet to send [10:00:51]OFD Sender: No OFD packet to send [10:00:56]OFD Sender: No OFD packet to send [10:01:01]OFD Sender: No OFD packet to send [10:01:06]OFD Sender: No OFD packet to send [10:01:11]OFD Sender: No OFD packet to send [10:01:16]OFD Sender: No OFD packet to send [10:01:21]OFD Sender: No OFD packet to send [10:01:26]OFD Sender: No OFD packet to send [10:01:31]OFD Sender: No OFD packet to send [10:01:36]OFD Sender: No OFD packet to send [10:01:41]OFD Sender: No OFD packet to send [10:01:46]OFD Sender: No OFD packet to send [10:01:51]OFD Sender: No OFD packet to send [10:01:56]OFD Sender: No OFD packet to send [10:02:01]OFD Sender: No OFD packet to send [10:02:06]OFD Sender: No OFD packet to send [10:02:11]OFD Sender: No OFD packet to send [10:02:16]OFD Sender: No OFD packet to send [10:02:21]OFD Sender: No OFD packet to send [10:02:26]OFD Sender: No OFD packet to send [10:02:31]OFD Sender: No OFD packet to send [10:02:36]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:31]OFD Sender: No OFD packet to send [10:10:36]OFD Sender: No OFD packet to send [10:10:41]OFD Sender: No OFD packet to send [10:10:46]OFD Sender: No OFD packet to send [10:10:51]OFD Sender: No OFD packet to send [10:10:56]OFD Sender: No OFD packet to send [10:10:58]accept exits with 7 [10:10:58]New connection [10:10:58]New thread 3067297124 created [10:10:58]Thread 3067440484 joined [10:10:58]Waiting for new connection... [10:10:58] Sock 7.Parse request [10:10:58]Sock 7.Check first char [10:10:58]Sock 7.First char is OK [10:10:58]request: POST /json_proto HTTP/1.0 [10:10:58]Method: POST [10:10:58]URL: /json_proto [10:10:58]Method is POST - this is cgi request [10:10:58]url: /json_proto [10:10:58]query_string will be loaded in cgi processing [10:10:58]execute_cgi json_proto POST (null) [10:10:58]execute_cgi path=json_proto method=POST [10:10:58]POST find Content-Length [10:10:58]Host: 172.17.40.196:8080 [10:10:58]Content-Length: 883 [10:10:58]Content-Type: application/json [10:10:58] [10:10:58]POST finish read [10:10:58]Found Content-Length = 883 [10:10:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35071", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 3.000, "sum" : 432.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 562.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:10:58]execute_script... [10:10: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)35071", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 3.000, "sum" : 432.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 562.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:10:58]POST & json_proto [10:10:58]process_json_proto [10:10:58]json parsed OK: [10:10:58]protocol is kg_v1.0 [10:10:58]action value=close_receipt [10:10:58]process_action close_receipt [10:10:58]cmd_close_receipt [10:10:58]MH_GetDate [10:10:58]Write to MH i2c: F0 00 00 80 1B 8A [10:10:58]Write i2c OK [10:10:58]MH_I2C_Read... [10:10:58]Read from MH i2c: F0 [10:10:58]MH_I2C_Read... [10:10:58]Read from MH i2c: F0 09 00 [10:10:58]MH_I2C_Read... [10:10:58]Read from MH i2c: F0 09 00 80 1B 00 39 63 1F 67 5B 68 A1 66 7F [10:10:58]GetLastDocTimeStamp 1730106697 [10:10:58]current date 1730110265 [10:10:58]FM_GetShiftState [10:10:58]SAM_PROTO_GetShiftState [10:10:58]wFMCommunicate request_size=4 [10:10:58]MH_SAM_APDU [10:10:58]CAPDU: 80 13 01 00 [10:10:58]Write to MH i2c: E2 08 00 81 1B 80 13 01 00 00 00 00 00 19 [10:10:58]Write i2c OK [10:10:58]MH_I2C_Read... [10:10:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:10:58]Read from MH i2c: E2 [10:10:58]MH_I2C_Read... [10:10:58]Read from MH i2c: E2 0E 00 [10:10:58]MH_I2C_Read... [10:10:58]Read from MH i2c: E2 0E 00 81 1B 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 9B [10:10:58]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [10:10:58]wFMCommunicate OK [10:10:58]SAM_PROTO_GetShiftState done [10:10:58]FM_GetShiftState done [10:10:58]opened in 1730073884 [10:10:58]opened+sec_in_day 1730160284 [10:10:58]quantity*price = 43200 [10:10:58]sum+1 = 43201 [10:10:58]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 47011656 Водка Пшеничная 0,1л 2.000 * 65.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 562.00 НСП 1% : 4.97 НДС 12% : 59.68 Наличными: 562.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 17 28.10.2024 10:11 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37774 ФПД: 143214713331732 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T101105&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37774&fm=143214713331732&tin=02508201610067®Number=0000000000091684&sum=56200 0 [10:10:59]StoreToDocumentArchive [10:10:59]shift 551 fd 37774 [10:10:59]save to /storage/0551/doc_00037774 [10:10:59]save last doc name /storage/0551/doc_00037774 to /storage/kkm_last_doc_name [10:10:59]save OK [10:10:59]Clear old archive folders... [10:10:59]ProcessDocumentItem done err = 0, tmpTLVsize=375 [10:10:59]tlvbuf is 0027D7B0 [10:10:59]SAM_PROTO_ClearQueue [10:10:59]wFMCommunicate request_size=4 [10:10:59]MH_SAM_APDU [10:10:59]CAPDU: 80 09 00 00 [10:10:59]Write to MH i2c: E2 08 00 8E 1B 80 09 00 00 00 00 00 00 1B [10:10:59]Write i2c OK [10:10:59]MH_I2C_Read... [10:10:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:10:59]Read from MH i2c: E2 [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: E2 03 00 [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: E2 03 00 8E 1B 00 90 00 1D [10:10:59]RAPDU: 90 00 [10:10:59]wFMCommunicate OK [10:10:59]SAM_PROTO_ClearQueue done [10:10:59]KKMCreateOFDPacket [10:10:59]OFDProtocolAddRootSTLVToBuf [10:10:59]FM_MakeSignedData [10:10:59]FM_MakeSignedData [10:10:59]SAM_PROTO_SignData [10:10:59]wFMCommunicate request_size=4 [10:10:59]MH_SAM_APDU [10:10:59]CAPDU: 80 0D 01 02 [10:10:59]Write to MH i2c: E2 08 00 8F 1B 80 0D 01 02 00 00 00 00 23 [10:10:59]Write i2c OK [10:10:59]MH_I2C_Read... [10:10:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:10:59]Read from MH i2c: E2 [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: E2 03 00 [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: E2 03 00 8F 1B 00 90 00 1E [10:10:59]RAPDU: 90 00 [10:10:59]wFMCommunicate OK [10:10:59]wFMCommunicate request_size=255 [10:10:59]MH_SAM_APDU [10:10:59]CAPDU: 80 0D 02 02 FA 03 00 77 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 B8 0B 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 C0 A8 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 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 88 DB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F1 01 00 00 00 00 EE 03 0F [10:10:59]Write to MH i2c: E2 02 01 90 1B 80 0D 02 02 FA 00 03 00 77 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 B8 0B 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 C0 A8 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 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 88 DB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F1 01 00 00 00 00 EE 03 0F 00 00 F1 [10:10:59]Write i2c OK [10:10:59]MH_I2C_Read... [10:10:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:10:59]Read from MH i2c: E2 [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: E2 03 00 [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: E2 03 00 90 1B 00 90 00 1F [10:10:59]RAPDU: 90 00 [10:10:59]wFMCommunicate OK [10:10:59]wFMCommunicate request_size=134 [10:10:59]MH_SAM_APDU [10:10:59]CAPDU: 80 0D 02 02 81 00 F2 03 01 00 01 F3 03 06 00 50 17 00 00 00 00 07 04 06 00 88 DB 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 39 63 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8E 93 00 00 35 04 06 00 82 40 C6 1D 60 14 [10:10:59]Write to MH i2c: E2 89 00 91 1B 80 0D 02 02 81 00 00 F2 03 01 00 01 F3 03 06 00 50 17 00 00 00 00 07 04 06 00 88 DB 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 39 63 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8E 93 00 00 35 04 06 00 82 40 C6 1D 60 14 00 00 B5 [10:10:59]Write i2c OK [10:10:59]MH_I2C_Read... [10:10:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:10:59]Read from MH i2c: E2 [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: E2 03 00 [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: E2 03 00 91 1B 00 90 00 20 [10:10:59]RAPDU: 90 00 [10:10:59]wFMCommunicate OK [10:10:59]wFMCommunicate request_size=4 [10:10:59]MH_SAM_APDU [10:10:59]CAPDU: 80 0D 03 02 [10:10:59]Write to MH i2c: E2 08 00 92 1B 80 0D 03 02 00 00 00 00 28 [10:10:59]Write i2c OK [10:10:59]MH_I2C_Read... [10:11:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:11:00]Read from MH i2c: E2 [10:11:00]MH_I2C_Read... [10:11:00]Read from MH i2c: E2 0B 00 [10:11:00]MH_I2C_Read... [10:11:00]Read from MH i2c: E2 0B 00 92 1B 00 87 54 58 21 79 85 0A 35 90 00 BA [10:11:00]RAPDU: 87 54 58 21 79 85 0A 35 90 00 [10:11:00]wFMCommunicate OK [10:11:00]SAM_PROTO_SignData done [10:11:00]FM_MakeSignedData done [10:11:00]CreateOFDProtocolMessage [10:11:00]wFMCommunicate request_size=4 [10:11:00]MH_SAM_APDU [10:11:00]CAPDU: 80 11 00 00 [10:11:00]Write to MH i2c: E2 08 00 93 1B 80 11 00 00 00 00 00 00 28 [10:11:00]Write i2c OK [10:11:00]MH_I2C_Read... [10:11:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:11:00]Read from MH i2c: E2 [10:11:00]MH_I2C_Read... [10:11:00]Read from MH i2c: E2 17 00 [10:11:00]MH_I2C_Read... [10:11:00]Read from MH i2c: E2 17 00 93 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 78 [10:11:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:11:00]wFMCommunicate OK [10:11:00]CreateOFDProtocolMessage done [10:11:00]OFDSenderStorePacket 37774 [10:11:00]StoreOFDPacket docnum=37774 [10:11:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 8B 01 00 00 AC 81 83 01 E0 67 5A 03 01 00 03 00 77 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 B8 0B 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 C0 A8 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 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 88 DB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F1 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 17 00 00 00 00 07 04 06 00 88 DB 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 39 63 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8E 93 00 00 35 04 06 00 82 40 C6 1D 60 14 87 54 58 21 79 85 0A 35 [10:11:00]CheckFolder [10:11:00]dirname=/storage/ofd_packets [10:11:00]CheckFolder done [10:11:00]ProducePacketName [10:11:00]name=ofd_packets/00037774 [10:11:00]NVStorageSaveData ofd_packets/00037774 [10:11:00]File name is /storage/ofd_packets/00037774 [10:11:00]Write 425 bytes [10:11:00]NVStorageSaveData done [10:11:00]OFDSenderStorePacket done [10:11:00]KKMCreateOFDPacket done [10:11:00]NVStorageSaveData kkm_last_timestamp [10:11:00]File name is /storage/kkm_last_timestamp [10:11:00]Write 4 bytes [10:11:00]NVStorageSaveData done [10:11:00]ExternCall_PrintAddStr [10:11:00]wPrintStart [10:11:00]Write to MH i2c: 01 00 00 94 1B AF [10:11:00]Write i2c OK [10:11:00]MH_I2C_Read... [10:11:00]Read from MH i2c: 01 [10:11:00]MH_I2C_Read... [10:11:00]Read from MH i2c: 01 07 00 [10:11:00]MH_I2C_Read... [10:11:00]Read from MH i2c: 01 07 00 94 1B 00 00 00 00 00 FF 0F C4 [10:11:00]RasterBufferAndPrint [10:11:00]line Счет N : (3)35071 [10:11:00]line ИНН: 02508201610067 [10:11:00]line Контрольно-Кассовый Чек [10:11:00]line ПРОДАЖА [10:11:00]line Товар: 48743570 [10:11:00]line Сигареты Winston XStyle Blue [10:11:00]line 3.000 * 144.00 [10:11:00]line = 432.00 [10:11:00]line НДС 12% НСП 1% [10:11:00]line > о реализуемом товаре [10:11:00]line Товар: 47011656 [10:11:00]line Водка Пшеничная 0,1л [10:11:00]line 2.000 * 65.00 [10:11:00]line = 130.00 [10:11:00]line НДС 12% НСП 1% [10:11:00]line > о реализуемом товаре [10:11:00]line ИТОГО: 562.00 [10:11:00]line НСП 1% : 4.97 [10:11:00]line НДС 12% : 59.68 [10:11:00]line Наличными: 562.00 [10:11:00]line Безнал.: 0.00 [10:11:00]line Место: АЗС № 126 "Партнер Нефть" [10:11:00]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:11:00]line СНО: Общий режим [10:11:00]line Чек 17 28.10.2024 10:11 [10:11:00]line Смена: 551 ФФД: 1.0 [10:11:00]line ЗНМ: 0300000092 [10:11:00]line РНМ: 0000000000091684 [10:11:00]line Версия ККМ: 001 [10:11:00]line ФМ: 0000000000871841 [10:11:00]line ФД: 37774 [10:11:00]line ФПД: 143214713331732 [10:11:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T101105&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37774&fm=143214713331732&tin=02508201610067®Number=0000000000091684&sum=56200 [10:11:00]line 0 [10:11:00]OFD Sender: Processing packet 37774 [packets to send 42, broken 41] [10:11:00]ProducePacketName [10:11:00]name=ofd_packets/00037774 [10:11:00]OFD Sender: To server: pG, [10:11:00]CommunicateWithHost lk.salyk.kg:30040 [10:11:00]ConnectInit lk.salyk.kg [10:11:00]written 0, free lines is 4095 [10:11:00]Connected sock=11 [10:11:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 8B 01 00 00 AC 81 83 01 E0 67 5A 03 01 00 03 00 77 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 B8 0B 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 C0 A8 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 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 88 DB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F1 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 17 00 00 00 00 07 04 06 00 88 DB 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 39 63 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8E 93 00 00 35 04 06 00 82 40 C6 1D 60 14 87 54 58 21 79 85 0A 35 [10:11:00]Write to MH i2c: 01 00 00 C2 1B DD [10:11:00]Write i2c OK [10:11:00]MH_I2C_Read... [10:11:00]Read from MH i2c: 01 [10:11:00]MH_I2C_Read... [10:11:00]Read from MH i2c: 01 07 00 [10:11:00]MH_I2C_Read... [10:11:00]Read from MH i2c: 01 07 00 C2 1B 00 00 00 00 00 66 0C 56 [10:11:00]RasterBufferAndPrint [10:11:00]line [10:11:00]line [10:11:00]line [10:11:00]line [10:11:00]line [10:11:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 65 C6 47 00 0F 5B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 8E 93 00 00 F4 03 04 00 2E 0E 1F 67 B6 04 01 00 00 B3 7C 36 50 B0 0C 86 12 [10:11:00]CommunicateWithHost err = 0 [10:11:00]CheckOFDResponse [10:11:00]1017 (14) - 77093643461234 [10:11:00]1041 (16) - 0000000000871841 [10:11:00]1040 (4) - 37774 [10:11:00]1012 (4) - 28.10.2024 04:08 [10:11:00]1206 (1) - 0 [10:11:00]OFD Sender: Remove packet 37774 [10:11:00]ProducePacketName [10:11:00]name=ofd_packets/00037774 [10:11:00]NVStorageDeleteData [10:11:00]written 0, free lines is 3180 [10:11:00]MH_Cut [10:11:00]Write to MH i2c: D1 01 00 C9 1B 01 B6 [10:11:00]Write i2c OK [10:11:00]MH_I2C_Read... [10:11:00]Read from MH i2c: D1 [10:11:00]MH_I2C_Read... [10:11:00]Read from MH i2c: D1 01 00 [10:11:00]MH_I2C_Read... [10:11:00]Read from MH i2c: D1 01 00 C9 1B 00 B5 [10:11:00]Write to MH i2c: 01 00 00 CA 1B E5 [10:11:00]Write i2c OK [10:11:00]MH_I2C_Read... [10:11:01]OFD Sender: No OFD packet to send [10:11:01]*** Cut start [10:11:01]*** Partial cut [10:11:01]*** CUTSNS_PIN = 1 [10:11:01]*** CUTSNS_PIN = 0 [10:11:02]*** Brake cut motor [10:11:02]Read from MH i2c: 01 [10:11:02]MH_I2C_Read... [10:11:02]*** Stop cut motor [10:11:02]*** Cut end [10:11:02]Read from MH i2c: 01 07 00 [10:11:02]MH_I2C_Read... [10:11:02]Read from MH i2c: 01 07 00 CA 1B 00 00 00 00 00 FF 0F FA [10:11:02]process_action close_receipt done [10:11:02]requested_data is exist [10:11:02]produce_requested_data [10:11:02]requested_item fm.sn is exist - process it [10:11:02]wFMCommunicate request_size=4 [10:11:02]MH_SAM_APDU [10:11:02]CAPDU: 80 11 00 00 [10:11:02]Write to MH i2c: E2 08 00 CB 1B 80 11 00 00 00 00 00 00 60 [10:11:02]Write i2c OK [10:11:02]MH_I2C_Read... [10:11:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:11:02]Read from MH i2c: E2 [10:11:02]MH_I2C_Read... [10:11:02]Read from MH i2c: E2 17 00 [10:11:02]MH_I2C_Read... [10:11:02]Read from MH i2c: E2 17 00 CB 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B0 [10:11:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:11:02]wFMCommunicate OK [10:11:02]requested_item fd.num is exist - process it [10:11:02]SAM_PROTO_GetFieldsCounters [10:11:02]wFMCommunicate request_size=4 [10:11:02]MH_SAM_APDU [10:11:02]CAPDU: 80 13 00 00 [10:11:02]Write to MH i2c: E2 08 00 CC 1B 80 13 00 00 00 00 00 00 63 [10:11:02]Write i2c OK [10:11:02]MH_I2C_Read... [10:11:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:11:02]Read from MH i2c: E2 [10:11:02]MH_I2C_Read... [10:11:02]Read from MH i2c: E2 62 00 [10:11:02]MH_I2C_Read... [10:11:02]Read from MH i2c: E2 62 00 CC 1B 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 8E 93 00 00 0E 04 04 00 27 02 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 01 [10:11:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 8E 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:11:02]wFMCommunicate OK [10:11:02]SAM_PROTO_GetFieldsCounters done [10:11:02]requested_item shift.num is exist - process it [10:11:02]requested_item shift.opened is exist - process it [10:11:02]req_shift_opened [10:11:02]FM_GetShiftState [10:11:02]SAM_PROTO_GetShiftState [10:11:02]wFMCommunicate request_size=4 [10:11:02]MH_SAM_APDU [10:11:02]CAPDU: 80 13 01 00 [10:11:02]Write to MH i2c: E2 08 00 CD 1B 80 13 01 00 00 00 00 00 65 [10:11:02]Write i2c OK [10:11:02]MH_I2C_Read... [10:11:02]Read from MH i2c: E2 [10:11:02]MH_I2C_Read... [10:11:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:11:02]Read from MH i2c: E2 0E 00 [10:11:02]MH_I2C_Read... [10:11:02]Read from MH i2c: E2 0E 00 CD 1B 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 E7 [10:11:02]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [10:11:02]wFMCommunicate OK [10:11:02]SAM_PROTO_GetShiftState done [10:11:02]FM_GetShiftState done [10:11:02]req_shift_opened done [10:11:02]requested_item shift.open_date is exist - process it [10:11:02]req_shift_open_date [10:11:02]req_shift_open_date done [10:11:02]produce_requested_data done [10:11:02]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37774,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [10:11:02]process_action_free close_receipt [10:11:02]json_value_free [10:11:02]json_value_free done [10:11:02]process_json_proto returns [10:11:02]Send response to host [10:11:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37774,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [10:11:02]free response buf [10:11:02]execute_script done [10:11:02]execute_script returns [10:11:02]free content buf [10:11:02]Sock 7.Close socket [10:11:02]Sock 7.Thread stoped [10:11:06]OFD Sender: No OFD packet to send [10:11:11]OFD Sender: No OFD packet to send [10:11:16]OFD Sender: No OFD packet to send [10:11:21]OFD Sender: No OFD packet to send [10:11:26]OFD Sender: No OFD packet to send [10:11:31]OFD Sender: No OFD packet to send [10:11:36]OFD Sender: No OFD packet to send [10:11:41]OFD Sender: No OFD packet to send [10:11:46]OFD Sender: No OFD packet to send [10:11:51]OFD Sender: No OFD packet to send [10:11:56]OFD Sender: No OFD packet to send [10:12:01]OFD Sender: No OFD packet to send [10:12:06]OFD Sender: No OFD packet to send [10:12:11]OFD Sender: No OFD packet to send [10:12:16]OFD Sender: No OFD packet to send [10:12:21]OFD Sender: No OFD packet to send [10:12:26]OFD Sender: No OFD packet to send [10:12:31]OFD Sender: No OFD packet to send [10:12:36]OFD Sender: No OFD packet to send [10:12:41]OFD Sender: No OFD packet to send [10:12:46]OFD Sender: No OFD packet to send [10:12:51]OFD Sender: No OFD packet to send [10:12:56]OFD Sender: No OFD packet to send [10:13:01]OFD Sender: No OFD packet to send [10:13:06]OFD Sender: No OFD packet to send [10:13:11]OFD Sender: No OFD packet to send [10:13:16]OFD Sender: No OFD packet to send [10:13:21]OFD Sender: No OFD packet to send [10:13:26]OFD Sender: No OFD packet to send [10:13:31]OFD Sender: No OFD packet to send [10:13:36]OFD Sender: No OFD packet to send [10:13:41]OFD Sender: No OFD packet to send [10:13:46]OFD Sender: No OFD packet to send [10:13:51]OFD Sender: No OFD packet to send [10:13:56]OFD Sender: No OFD packet to send [10:14:01]OFD Sender: No OFD packet to send [10:14:06]OFD Sender: No OFD packet to send [10:14:11]OFD Sender: No OFD packet to send [10:14:16]OFD Sender: No OFD packet to send [10:14:21]OFD Sender: No OFD packet to send [10:14:26]OFD Sender: No OFD packet to send [10:14:31]OFD Sender: No OFD packet to send [10:14:36]OFD Sender: No OFD packet to send [10:14:41]OFD Sender: No OFD packet to send [10:14:46]OFD Sender: No OFD packet to send [10:14:51]OFD Sender: No OFD packet to send [10:14:56]OFD Sender: No OFD packet to send [10:15:01]OFD Sender: No OFD packet to send [10:15:06]OFD Sender: No OFD packet to send [10:15:11]OFD Sender: No OFD packet to send [10:15:16]OFD Sender: No OFD packet to send [10:15:21]OFD Sender: No OFD packet to send [10:15:26]OFD Sender: No OFD packet to send [10:15:31]OFD Sender: No OFD packet to send [10:15:36]OFD Sender: No OFD packet to send [10:15:41]OFD Sender: No OFD packet to send [10:15:46]OFD Sender: No OFD packet to send [10:15:51]OFD Sender: No OFD packet to send [10:15:56]OFD Sender: No OFD packet to send [10:16:01]OFD Sender: No OFD packet to send [10:16:06]OFD Sender: No OFD packet to send [10:16:11]OFD Sender: No OFD packet to send [10:16:16]OFD Sender: No OFD packet to send [10:16:21]OFD Sender: No OFD packet to send [10:16:26]OFD Sender: No OFD packet to send [10:16:31]OFD Sender: No OFD packet to send [10:16:36]OFD Sender: No OFD packet to send [10:16:41]OFD Sender: No OFD packet to send [10:16:46]OFD Sender: No OFD packet to send [10:16:51]OFD Sender: No OFD packet to send [10:16:56]OFD Sender: No OFD packet to send [10:17:01]OFD Sender: No OFD packet to send [10:17:06]OFD Sender: No OFD packet to send [10:17:11]OFD Sender: No OFD packet to send [10:17:16]OFD Sender: No OFD packet to send [10:17:21]OFD Sender: No OFD packet to send [10:17:26]OFD Sender: No OFD packet to send [10:17:31]OFD Sender: No OFD packet to send [10:17:36]OFD Sender: No OFD packet to send [10:17:41]OFD Sender: No OFD packet to send [10:17:46]OFD Sender: No OFD packet to send [10:17:51]OFD Sender: No OFD packet to send [10:17:56]OFD Sender: No OFD packet to send [10:18:01]OFD Sender: No OFD packet to send [10:18:06]OFD Sender: No OFD packet to send [10:18:11]OFD Sender: No OFD packet to send [10:18:16]OFD Sender: No OFD packet to send [10:18:21]OFD Sender: No OFD packet to send [10:18:26]OFD Sender: No OFD packet to send [10:18:31]OFD Sender: No OFD packet to send [10:18:36]OFD Sender: No OFD packet to send [10:18:41]OFD Sender: No OFD packet to send [10:18:46]OFD Sender: No OFD packet to send [10:18:51]OFD Sender: No OFD packet to send [10:18:56]OFD Sender: No OFD packet to send [10:19:01]OFD Sender: No OFD packet to send [10:19:06]OFD Sender: No OFD packet to send [10:19:11]OFD Sender: No OFD packet to send [10:19:13]recv_with_timeout no data received [10:19:16]OFD Sender: No OFD packet to send [10:19:36]OFD Sender: No OFD packet to send [10:19:41]OFD Sender: No OFD packet to send [10:19:46]OFD Sender: No OFD packet to send [10:19:51]OFD Sender: No OFD packet to send [10:19:56]OFD Sender: No OFD packet to send [10:20:01]OFD Sender: No OFD packet to send [10:20:06]OFD Sender: No OFD packet to send [10:20:11]OFD Sender: No OFD packet to send [10:20:16]OFD Sender: No OFD packet to send [10:20:21]OFD Sender: No OFD packet to send [10:20:26]OFD Sender: No OFD packet to send [10:20:31]OFD Sender: No OFD packet to send [10:20:36]OFD Sender: No OFD packet to send [10:20:41]OFD Sender: No OFD packet to send [10:20:46]OFD Sender: No OFD packet to send [10:20:51]OFD Sender: No OFD packet to send [10:20:56]OFD Sender: No OFD packet to send [10:21:01]OFD Sender: No OFD packet to send [10:21:06]OFD Sender: No OFD packet to send [10:21:11]OFD Sender: No OFD packet to send [10:21:16]OFD Sender: No OFD packet to send [10:21:21]OFD Sender: No OFD packet to send [10:21:26]OFD Sender: No OFD packet to send [10:21:31]OFD Sender: No OFD packet to send [10:21:36]OFD Sender: No OFD packet to send [10:21:41]OFD Sender: No OFD packet to send [10:21:44]ConnectInit Can't connect to host [10:21:47]OFD Sender: No OFD packet to send [10:21:52]OFD Sender: No OFD packet to send [10:21:57]OFD Sender: No OFD packet to send [10:22:02]OFD Sender: No OFD packet to send [10:22:07]OFD Sender: No OFD packet to send [10:22:12]OFD Sender: No OFD packet to send [10:22:17]OFD Sender: No OFD packet to send [10:34:23]ConnectInit Can't connect to host [10:34:27]OFD Sender: No OFD packet to send [10:45:59]ConnectInit Can't connect to host [10:46:03]OFD Sender: No OFD packet to send [10:46:08]OFD Sender: No OFD packet to send [10:46:13]OFD Sender: No OFD packet to send [10:46:18]OFD Sender: No OFD packet to send [10:46:23]OFD Sender: No OFD packet to send [10:46:28]OFD Sender: No OFD packet to send [10:46:33]OFD Sender: No OFD packet to send [10:46:38]OFD Sender: No OFD packet to send [10:46:43]OFD Sender: No OFD packet to send [10:46:48]OFD Sender: No OFD packet to send [10:46:53]OFD Sender: No OFD packet to send [10:46:58]OFD Sender: No OFD packet to send [10:47:03]OFD Sender: No OFD packet to send [10:47:08]OFD Sender: No OFD packet to send [10:47:13]OFD Sender: No OFD packet to send [10:47:18]OFD Sender: No OFD packet to send [10:47:23]OFD Sender: No OFD packet to send [10:47:28]OFD Sender: No OFD packet to send [10:47:33]OFD Sender: No OFD packet to send [10:47:38]OFD Sender: No OFD packet to send [10:47:43]OFD Sender: No OFD packet to send [10:47:48]OFD Sender: No OFD packet to send [10:47:53]OFD Sender: No OFD packet to send [10:47:58]OFD Sender: No OFD packet to send [10:48:03]OFD Sender: No OFD packet to send [10:48:08]OFD Sender: No OFD packet to send [10:48:13]OFD Sender: No OFD packet to send [10:48:18]OFD Sender: No OFD packet to send [10:48:23]OFD Sender: No OFD packet to send [10:48:28]OFD Sender: No OFD packet to send [10:48:33]OFD Sender: No OFD packet to send [10:48:38]OFD Sender: No OFD packet to send [10:48:43]OFD Sender: No OFD packet to send [10:48:48]OFD Sender: No OFD packet to send [10:48:51]accept exits with 9 [10:48:51]New connection [10:48:51]New thread 3067440484 created [10:48:51]Thread 3067297124 joined [10:48:51]Waiting for new connection... [10:48:51] Sock 9.Parse request [10:48:51]Sock 9.Check first char [10:48:51]Sock 9.First char is OK [10:48:51]request: POST /json_proto HTTP/1.0 [10:48:51]Method: POST [10:48:51]URL: /json_proto [10:48:51]Method is POST - this is cgi request [10:48:51]url: /json_proto [10:48:51]query_string will be loaded in cgi processing [10:48:51]execute_cgi json_proto POST (null) [10:48:51]execute_cgi path=json_proto method=POST [10:48:51]POST find Content-Length [10:48:51]Host: 172.17.40.196:8080 [10:48:51]Content-Length: 1038 [10:48:51]Content-Type: application/json [10:48:51] [10:48:51]POST finish read [10:48:51]Found Content-Length = 1038 [10:48:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35072", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 264.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:48:51]execute_script... [10:48:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35072", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 264.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:48:51]POST & json_proto [10:48:51]process_json_proto [10:48:51]json parsed OK: [10:48:51]protocol is kg_v1.0 [10:48:51]action value=close_receipt [10:48:51]process_action close_receipt [10:48:51]cmd_close_receipt [10:48:51]MH_GetDate [10:48:51]Write to MH i2c: F0 00 00 DB 1B E5 [10:48:51]Write i2c OK [10:48:51]MH_I2C_Read... [10:48:51]Read from MH i2c: F0 [10:48:51]MH_I2C_Read... [10:48:51]Read from MH i2c: F0 09 00 [10:48:51]MH_I2C_Read... [10:48:51]Read from MH i2c: F0 09 00 DB 1B 00 1A 6C 1F 67 5B 68 A1 66 C4 [10:48:51]GetLastDocTimeStamp 1730110265 [10:48:51]current date 1730112538 [10:48:51]FM_GetShiftState [10:48:51]SAM_PROTO_GetShiftState [10:48:51]wFMCommunicate request_size=4 [10:48:51]MH_SAM_APDU [10:48:51]CAPDU: 80 13 01 00 [10:48:51]Write to MH i2c: E2 08 00 DC 1B 80 13 01 00 00 00 00 00 74 [10:48:51]Write i2c OK [10:48:51]MH_I2C_Read... [10:48:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:48:51]Read from MH i2c: E2 [10:48:51]MH_I2C_Read... [10:48:51]Read from MH i2c: E2 0E 00 [10:48:51]MH_I2C_Read... [10:48:51]Read from MH i2c: E2 0E 00 DC 1B 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 F6 [10:48:51]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [10:48:51]wFMCommunicate OK [10:48:51]SAM_PROTO_GetShiftState done [10:48:51]FM_GetShiftState done [10:48:51]opened in 1730073884 [10:48:51]opened+sec_in_day 1730160284 [10:48:51]quantity*price = 14400 [10:48:51]sum+1 = 14401 [10:48:51]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189332 Холодный чай Fuse персик 1л 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 264.00 НСП 1% : 2.33 НДС 12% : 28.03 Наличными: 0.00 Безнал.: 264.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 18 28.10.2024 10:48 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37775 ФПД: 17834054602720 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T104858&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37775&fm=17834054602720&tin=02508201610067®Number=0000000000091684&sum=26400 0 [10:48:52]StoreToDocumentArchive [10:48:52]shift 551 fd 37775 [10:48:52]save to /storage/0551/doc_00037775 [10:48:52]save last doc name /storage/0551/doc_00037775 to /storage/kkm_last_doc_name [10:48:52]save OK [10:48:52]Clear old archive folders... [10:48:52]ProcessDocumentItem done err = 0, tmpTLVsize=390 [10:48:52]tlvbuf is B6F38560 [10:48:52]SAM_PROTO_ClearQueue [10:48:52]wFMCommunicate request_size=4 [10:48:52]MH_SAM_APDU [10:48:52]CAPDU: 80 09 00 00 [10:48:52]Write to MH i2c: E2 08 00 E9 1B 80 09 00 00 00 00 00 00 76 [10:48:52]Write i2c OK [10:48:52]MH_I2C_Read... [10:48:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:48:52]Read from MH i2c: E2 [10:48:52]MH_I2C_Read... [10:48:52]Read from MH i2c: E2 03 00 [10:48:52]MH_I2C_Read... [10:48:52]Read from MH i2c: E2 03 00 E9 1B 00 90 00 78 [10:48:52]RAPDU: 90 00 [10:48:52]wFMCommunicate OK [10:48:52]SAM_PROTO_ClearQueue done [10:48:52]KKMCreateOFDPacket [10:48:52]OFDProtocolAddRootSTLVToBuf [10:48:52]FM_MakeSignedData [10:48:52]FM_MakeSignedData [10:48:52]SAM_PROTO_SignData [10:48:52]wFMCommunicate request_size=4 [10:48:52]MH_SAM_APDU [10:48:52]CAPDU: 80 0D 01 02 [10:48:52]Write to MH i2c: E2 08 00 EA 1B 80 0D 01 02 00 00 00 00 7E [10:48:52]Write i2c OK [10:48:52]MH_I2C_Read... [10:48:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:48:52]Read from MH i2c: E2 [10:48:52]MH_I2C_Read... [10:48:52]Read from MH i2c: E2 03 00 [10:48:52]MH_I2C_Read... [10:48:52]Read from MH i2c: E2 03 00 EA 1B 00 90 00 79 [10:48:52]RAPDU: 90 00 [10:48:52]wFMCommunicate OK [10:48:52]wFMCommunicate request_size=255 [10:48:52]MH_SAM_APDU [10:48:52]CAPDU: 80 0D 02 02 FA 03 00 86 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 [10:48:52]Write to MH i2c: E2 02 01 EB 1B 80 0D 02 02 FA 00 03 00 86 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 AB [10:48:52]Write i2c OK [10:48:52]MH_I2C_Read... [10:48:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:48:53]Read from MH i2c: E2 [10:48:53]MH_I2C_Read... [10:48:53]Read from MH i2c: E2 03 00 [10:48:53]MH_I2C_Read... [10:48:53]Read from MH i2c: E2 03 00 EB 1B 00 90 00 7A [10:48:53]RAPDU: 90 00 [10:48:53]wFMCommunicate OK [10:48:53]wFMCommunicate request_size=149 [10:48:53]MH_SAM_APDU [10:48:53]CAPDU: 80 0D 02 02 90 00 01 F7 03 06 00 E9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 20 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 1A 6C 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8F 93 00 00 35 04 06 00 10 38 50 7D 4F E0 [10:48:53]Write to MH i2c: E2 98 00 EC 1B 80 0D 02 02 90 00 00 01 F7 03 06 00 E9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 20 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 1A 6C 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8F 93 00 00 35 04 06 00 10 38 50 7D 4F E0 00 00 E9 [10:48:53]Write i2c OK [10:48:53]MH_I2C_Read... [10:48:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:48:53]Read from MH i2c: E2 [10:48:53]MH_I2C_Read... [10:48:53]Read from MH i2c: E2 03 00 [10:48:53]MH_I2C_Read... [10:48:53]Read from MH i2c: E2 03 00 EC 1B 00 90 00 7B [10:48:53]RAPDU: 90 00 [10:48:53]wFMCommunicate OK [10:48:53]wFMCommunicate request_size=4 [10:48:53]MH_SAM_APDU [10:48:53]CAPDU: 80 0D 03 02 [10:48:53]Write to MH i2c: E2 08 00 ED 1B 80 0D 03 02 00 00 00 00 83 [10:48:53]Write i2c OK [10:48:53]MH_I2C_Read... [10:48:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:48:53]Read from MH i2c: E2 [10:48:53]MH_I2C_Read... [10:48:53]Read from MH i2c: E2 0B 00 [10:48:53]MH_I2C_Read... [10:48:53]Read from MH i2c: E2 0B 00 ED 1B 00 60 13 B1 10 6A 17 E1 95 90 00 AF [10:48:53]RAPDU: 60 13 B1 10 6A 17 E1 95 90 00 [10:48:53]wFMCommunicate OK [10:48:53]SAM_PROTO_SignData done [10:48:53]FM_MakeSignedData done [10:48:53]CreateOFDProtocolMessage [10:48:53]wFMCommunicate request_size=4 [10:48:53]MH_SAM_APDU [10:48:53]CAPDU: 80 11 00 00 [10:48:53]Write to MH i2c: E2 08 00 EE 1B 80 11 00 00 00 00 00 00 83 [10:48:53]Write i2c OK [10:48:53]MH_I2C_Read... [10:48:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:48:53]Read from MH i2c: E2 [10:48:53]MH_I2C_Read... [10:48:53]Read from MH i2c: E2 17 00 [10:48:53]MH_I2C_Read... [10:48:53]Read from MH i2c: E2 17 00 EE 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D3 [10:48:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:48:53]wFMCommunicate OK [10:48:53]CreateOFDProtocolMessage done [10:48:53]OFDSenderStorePacket 37775 [10:48:53]StoreOFDPacket docnum=37775 [10:48:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 9A 01 00 00 7A 07 92 01 58 C6 5A 03 01 00 03 00 86 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 20 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 1A 6C 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8F 93 00 00 35 04 06 00 10 38 50 7D 4F E0 60 13 B1 10 6A 17 E1 95 [10:48:53]CheckFolder [10:48:53]dirname=/storage/ofd_packets [10:48:53]CheckFolder done [10:48:53]ProducePacketName [10:48:53]name=ofd_packets/00037775 [10:48:53]NVStorageSaveData ofd_packets/00037775 [10:48:53]File name is /storage/ofd_packets/00037775 [10:48:53]Write 440 bytes [10:48:53]NVStorageSaveData done [10:48:53]OFDSenderStorePacket done [10:48:53]KKMCreateOFDPacket done [10:48:53]NVStorageSaveData kkm_last_timestamp [10:48:53]File name is /storage/kkm_last_timestamp [10:48:53]Write 4 bytes [10:48:53]NVStorageSaveData done [10:48:53]ExternCall_PrintAddStr [10:48:53]wPrintStart [10:48:53]Write to MH i2c: 01 00 00 EF 1B 0A [10:48:53]Write i2c OK [10:48:53]MH_I2C_Read... [10:48:53]Read from MH i2c: 01 [10:48:53]MH_I2C_Read... [10:48:53]Read from MH i2c: 01 07 00 [10:48:53]MH_I2C_Read... [10:48:53]Read from MH i2c: 01 07 00 EF 1B 00 00 00 00 00 FF 0F 1F [10:48:53]RasterBufferAndPrint [10:48:53]line Счет N : (3)35072 [10:48:53]line ИНН: 02508201610067 [10:48:53]line Контрольно-Кассовый Чек [10:48:53]line ПРОДАЖА [10:48:53]line Товар: 48743570 [10:48:53]line Сигареты Winston XStyle Blue [10:48:53]line 1.000 * 144.00 [10:48:53]line = 144.00 [10:48:53]line НДС 12% НСП 1% [10:48:53]line > о реализуемом товаре [10:48:53]line Товар: 5449000189332 [10:48:53]line Холодный чай Fuse персик 1л [10:48:53]line 1.000 * 120.00 [10:48:53]line = 120.00 [10:48:53]line НДС 12% НСП 1% [10:48:53]line > о реализуемом товаре [10:48:53]line ИТОГО: 264.00 [10:48:53]line НСП 1% : 2.33 [10:48:53]line НДС 12% : 28.03 [10:48:53]line Наличными: 0.00 [10:48:53]line Безнал.: 264.00 [10:48:53]line Место: АЗС № 126 "Партнер Нефть" [10:48:53]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:48:53]line СНО: Общий режим [10:48:53]line Чек 18 28.10.2024 10:48 [10:48:53]line Смена: 551 ФФД: 1.0 [10:48:53]line ЗНМ: 0300000092 [10:48:53]line РНМ: 0000000000091684 [10:48:53]line Версия ККМ: 001 [10:48:53]line Платежная система: Mbank [10:48:53]line ФМ: 0000000000871841 [10:48:53]line ФД: 37775 [10:48:53]line ФПД: 17834054602720 [10:48:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T104858&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37775&fm=17834054602720&tin=02508201610067®Number=0000000000091684&sum=26400 [10:48:53]line 0 [10:48:53]OFD Sender: Processing packet 37775 [packets to send 42, broken 41] [10:48:53]ProducePacketName [10:48:53]name=ofd_packets/00037775 [10:48:53]OFD Sender: To server: pG, [10:48:53]CommunicateWithHost lk.salyk.kg:30040 [10:48:53]ConnectInit lk.salyk.kg [10:48:53]written 0, free lines is 4095 [10:48:53]Connected sock=10 [10:48:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 9A 01 00 00 7A 07 92 01 58 C6 5A 03 01 00 03 00 86 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 20 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 1A 6C 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8F 93 00 00 35 04 06 00 10 38 50 7D 4F E0 60 13 B1 10 6A 17 E1 95 [10:48:54]Write to MH i2c: 01 00 00 1E 1C 3A [10:48:54]Write i2c OK [10:48:54]MH_I2C_Read... [10:48:54]Read from MH i2c: 01 [10:48:54]MH_I2C_Read... [10:48:54]Read from MH i2c: 01 07 00 [10:48:54]MH_I2C_Read... [10:48:54]Read from MH i2c: 01 07 00 1E 1C 00 00 00 00 00 50 0C 9D [10:48:54]RasterBufferAndPrint [10:48:54]line [10:48:54]line [10:48:54]line [10:48:54]line [10:48:54]line [10:48:54]written 0, free lines is 3159 [10:48:54]MH_Cut [10:48:54]Write to MH i2c: D1 01 00 25 1C 01 13 [10:48:54]Write i2c OK [10:48:54]MH_I2C_Read... [10:48:54]Read from MH i2c: D1 [10:48:54]MH_I2C_Read... [10:48:54]Read from MH i2c: D1 01 00 [10:48:54]MH_I2C_Read... [10:48:54]Read from MH i2c: D1 01 00 25 1C 00 12 [10:48:54]Write to MH i2c: 01 00 00 26 1C 42 [10:48:54]Write i2c OK [10:48:54]MH_I2C_Read... [10:48:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 E4 96 47 00 B7 38 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8F 93 00 00 F4 03 04 00 0F 17 1F 67 B6 04 01 00 00 9B E5 BC 3C F1 6D 5A AE [10:48:54]CommunicateWithHost err = 0 [10:48:54]CheckOFDResponse [10:48:54]1017 (14) - 77093643461234 [10:48:54]1041 (16) - 0000000000871841 [10:48:54]1040 (4) - 37775 [10:48:54]1012 (4) - 28.10.2024 04:46 [10:48:54]1206 (1) - 0 [10:48:54]OFD Sender: Remove packet 37775 [10:48:54]ProducePacketName [10:48:54]name=ofd_packets/00037775 [10:48:54]NVStorageDeleteData [10:48:54]OFD Sender: No OFD packet to send [10:48:55]*** Cut start [10:48:55]*** Partial cut [10:48:55]*** CUTSNS_PIN = 1 [10:48:55]*** CUTSNS_PIN = 0 [10:48:55]*** Brake cut motor [10:48:55]Read from MH i2c: 01 [10:48:55]MH_I2C_Read... [10:48:55]*** Stop cut motor [10:48:55]*** Cut end [10:48:55]Read from MH i2c: 01 07 00 [10:48:55]MH_I2C_Read... [10:48:55]Read from MH i2c: 01 07 00 26 1C 00 00 00 00 00 FF 0F 57 [10:48:55]process_action close_receipt done [10:48:55]requested_data is exist [10:48:55]produce_requested_data [10:48:55]requested_item fm.sn is exist - process it [10:48:55]wFMCommunicate request_size=4 [10:48:55]MH_SAM_APDU [10:48:55]CAPDU: 80 11 00 00 [10:48:55]Write to MH i2c: E2 08 00 27 1C 80 11 00 00 00 00 00 00 BD [10:48:55]Write i2c OK [10:48:55]MH_I2C_Read... [10:48:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:48:55]Read from MH i2c: E2 [10:48:55]MH_I2C_Read... [10:48:55]Read from MH i2c: E2 17 00 [10:48:55]MH_I2C_Read... [10:48:55]Read from MH i2c: E2 17 00 27 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 0D [10:48:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:48:55]wFMCommunicate OK [10:48:55]requested_item fd.num is exist - process it [10:48:55]SAM_PROTO_GetFieldsCounters [10:48:55]wFMCommunicate request_size=4 [10:48:55]MH_SAM_APDU [10:48:55]CAPDU: 80 13 00 00 [10:48:55]Write to MH i2c: E2 08 00 28 1C 80 13 00 00 00 00 00 00 C0 [10:48:55]Write i2c OK [10:48:55]MH_I2C_Read... [10:48:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:48:55]Read from MH i2c: E2 [10:48:55]MH_I2C_Read... [10:48:55]Read from MH i2c: E2 62 00 [10:48:55]MH_I2C_Read... [10:48:55]Read from MH i2c: E2 62 00 28 1C 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 8F 93 00 00 0E 04 04 00 27 02 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 62 [10:48: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 8F 93 00 00 0E 04 04 00 27 02 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 [10:48:55]wFMCommunicate OK [10:48:55]SAM_PROTO_GetFieldsCounters done [10:48:55]requested_item shift.num is exist - process it [10:48:55]requested_item shift.opened is exist - process it [10:48:55]req_shift_opened [10:48:55]FM_GetShiftState [10:48:55]SAM_PROTO_GetShiftState [10:48:55]wFMCommunicate request_size=4 [10:48:55]MH_SAM_APDU [10:48:55]CAPDU: 80 13 01 00 [10:48:55]Write to MH i2c: E2 08 00 29 1C 80 13 01 00 00 00 00 00 C2 [10:48:55]Write i2c OK [10:48:55]MH_I2C_Read... [10:48:55]Read from MH i2c: E2 [10:48:55]MH_I2C_Read... [10:48:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:48:55]Read from MH i2c: E2 0E 00 [10:48:55]MH_I2C_Read... [10:48:55]Read from MH i2c: E2 0E 00 29 1C 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 44 [10:48:55]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [10:48:55]wFMCommunicate OK [10:48:55]SAM_PROTO_GetShiftState done [10:48:55]FM_GetShiftState done [10:48:55]req_shift_opened done [10:48:55]requested_item shift.open_date is exist - process it [10:48:55]req_shift_open_date [10:48:55]req_shift_open_date done [10:48:55]produce_requested_data done [10:48:55]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37775,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [10:48:55]process_action_free close_receipt [10:48:55]json_value_free [10:48:55]json_value_free done [10:48:55]process_json_proto returns [10:48:55]Send response to host [10:48:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37775,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [10:48:55]free response buf [10:48:55]execute_script done [10:48:55]execute_script returns [10:48:55]free content buf [10:48:55]Sock 9.Close socket [10:48:55]Sock 9.Thread stoped [10:48:59]OFD Sender: No OFD packet to send [10:49:04]OFD Sender: No OFD packet to send [10:49:09]OFD Sender: No OFD packet to send [10:49:14]OFD Sender: No OFD packet to send [10:49:19]OFD Sender: No OFD packet to send [10:49:24]OFD Sender: No OFD packet to send [10:49:29]OFD Sender: No OFD packet to send [10:49:34]OFD Sender: No OFD packet to send [10:49:39]OFD Sender: No OFD packet to send [10:49:44]OFD Sender: No OFD packet to send [10:49:49]OFD Sender: No OFD packet to send [10:49:54]OFD Sender: No OFD packet to send [10:49:59]OFD Sender: No OFD packet to send [10:50:04]OFD Sender: No OFD packet to send [10:50:09]OFD Sender: No OFD packet to send [10:50:14]OFD Sender: No OFD packet to send [10:50:19]OFD Sender: No OFD packet to send [10:50:24]OFD Sender: No OFD packet to send [10:50:29]OFD Sender: No OFD packet to send [10:50:34]OFD Sender: No OFD packet to send [10:50:39]OFD Sender: No OFD packet to send [10:50:44]OFD Sender: No OFD packet to send [10:50:49]OFD Sender: No OFD packet to send [10:50:54]OFD Sender: No OFD packet to send [10:50:59]OFD Sender: No OFD packet to send [10:51:04]OFD Sender: No OFD packet to send [10:51:09]OFD Sender: No OFD packet to send [10:51:14]OFD Sender: No OFD packet to send [10:51:19]OFD Sender: No OFD packet to send [10:51:24]OFD Sender: No OFD packet to send [10:51:29]OFD Sender: No OFD packet to send [10:51:34]OFD Sender: No OFD packet to send [10:51:39]OFD Sender: No OFD packet to send [10:51:44]OFD Sender: No OFD packet to send [10:51:49]OFD Sender: No OFD packet to send [10:51:54]OFD Sender: No OFD packet to send [10:51:59]OFD Sender: No OFD packet to send [10:52:04]OFD Sender: No OFD packet to send [10:52:09]OFD Sender: No OFD packet to send [10:52:14]OFD Sender: No OFD packet to send [10:52:19]OFD Sender: No OFD packet to send [10:52:24]OFD Sender: No OFD packet to send [10:52:29]OFD Sender: No OFD packet to send [10:52:34]OFD Sender: No OFD packet to send [10:52:39]OFD Sender: No OFD packet to send [10:52:44]OFD Sender: No OFD packet to send [10:52:49]OFD Sender: No OFD packet to send [10:52:54]OFD Sender: No OFD packet to send [10:52:59]OFD Sender: No OFD packet to send [10:53:04]OFD Sender: No OFD packet to send [10:53:09]OFD Sender: No OFD packet to send [10:53:14]OFD Sender: No OFD packet to send [10:53:19]OFD Sender: No OFD packet to send [10:53:24]OFD Sender: No OFD packet to send [10:53:29]OFD Sender: No OFD packet to send [10:53:34]OFD Sender: No OFD packet to send [10:53:39]OFD Sender: No OFD packet to send [10:53:44]OFD Sender: No OFD packet to send [10:53:49]OFD Sender: No OFD packet to send [10:53:54]OFD Sender: No OFD packet to send [10:53:59]OFD Sender: No OFD packet to send [10:54:04]OFD Sender: No OFD packet to send [10:54:09]OFD Sender: No OFD packet to send [10:54:14]OFD Sender: No OFD packet to send [10:54:19]OFD Sender: No OFD packet to send [10:54:24]OFD Sender: No OFD packet to send [10:54:29]OFD Sender: No OFD packet to send [10:54:34]OFD Sender: No OFD packet to send [10:54:39]OFD Sender: No OFD packet to send [10:54:44]OFD Sender: No OFD packet to send [10:54:49]OFD Sender: No OFD packet to send [10:54:54]OFD Sender: No OFD packet to send [10:54:59]OFD Sender: No OFD packet to send [10:55:04]OFD Sender: No OFD packet to send [10:55:10]OFD Sender: No OFD packet to send [10:55:15]OFD Sender: No OFD packet to send [10:55:20]OFD Sender: No OFD packet to send [10:55:25]OFD Sender: No OFD packet to send [10:55:30]OFD Sender: No OFD packet to send [10:55:35]OFD Sender: No OFD packet to send [10:55:40]OFD Sender: No OFD packet to send [10:55:45]OFD Sender: No OFD packet to send [10:55:50]OFD Sender: No OFD packet to send [10:55:55]OFD Sender: No OFD packet to send [10:56:00]OFD Sender: No OFD packet to send [10:56:05]OFD Sender: No OFD packet to send [10:56:10]OFD Sender: No OFD packet to send [10:56:15]OFD Sender: No OFD packet to send [10:56:20]OFD Sender: No OFD packet to send [10:56:25]OFD Sender: No OFD packet to send [10:56:30]OFD Sender: No OFD packet to send [10:56:35]OFD Sender: No OFD packet to send [10:56:40]OFD Sender: No OFD packet to send [10:56:45]OFD Sender: No OFD packet to send [10:56:50]OFD Sender: No OFD packet to send [10:56:55]OFD Sender: No OFD packet to send [10:57:00]OFD Sender: No OFD packet to send [10:57:05]OFD Sender: No OFD packet to send [10:57:10]OFD Sender: No OFD packet to send [10:57:15]OFD Sender: No OFD packet to send [10:57:20]OFD Sender: No OFD packet to send [10:57:25]OFD Sender: No OFD packet to send [10:57:30]OFD Sender: No OFD packet to send [10:57:35]OFD Sender: No OFD packet to send [10:57:40]OFD Sender: No OFD packet to send [10:57:45]OFD Sender: No OFD packet to send [10:57:50]OFD Sender: No OFD packet to send [10:57:55]OFD Sender: No OFD packet to send [10:58:00]OFD Sender: No OFD packet to send [10:58:05]OFD Sender: No OFD packet to send [10:58:10]OFD Sender: No OFD packet to send [10:58:15]OFD Sender: No OFD packet to send [10:58:20]OFD Sender: No OFD packet to send [10:58:25]OFD Sender: No OFD packet to send [10:58:30]OFD Sender: No OFD packet to send [10:58:35]OFD Sender: No OFD packet to send [10:58:40]OFD Sender: No OFD packet to send [10:58:45]OFD Sender: No OFD packet to send [10:58:50]OFD Sender: No OFD packet to send [10:58:55]OFD Sender: No OFD packet to send [10:59:00]OFD Sender: No OFD packet to send [10:59:05]OFD Sender: No OFD packet to send [10:59:10]OFD Sender: No OFD packet to send [10:59:15]OFD Sender: No OFD packet to send [10:59:20]OFD Sender: No OFD packet to send [10:59:25]accept exits with 7 [10:59:25]New connection [10:59:25]New thread 3067297124 created [10:59:25]Thread 3067440484 joined [10:59:25]Waiting for new connection... [10:59:25] Sock 7.Parse request [10:59:25]Sock 7.Check first char [10:59:25]Sock 7.First char is OK [10:59:25]request: POST /json_proto HTTP/1.0 [10:59:25]Method: POST [10:59:25]URL: /json_proto [10:59:25]Method is POST - this is cgi request [10:59:25]url: /json_proto [10:59:25]query_string will be loaded in cgi processing [10:59:25]execute_cgi json_proto POST (null) [10:59:25]execute_cgi path=json_proto method=POST [10:59:25]POST find Content-Length [10:59:25]Host: 172.17.40.196:8080 [10:59:25]Content-Length: 569 [10:59:25]Content-Type: application/json [10:59:25] [10:59:25]POST finish read [10:59:25]Found Content-Length = 569 [10:59:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35074", "tax_sys" : 0, "items" : [ { "code": "48744546", "name": "LD Compact Silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:59:25]execute_script... [10:59: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)35074", "tax_sys" : 0, "items" : [ { "code": "48744546", "name": "LD Compact Silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:59:25]POST & json_proto [10:59:25]process_json_proto [10:59:25]json parsed OK: [10:59:25]protocol is kg_v1.0 [10:59:25]action value=close_receipt [10:59:25]process_action close_receipt [10:59:25]cmd_close_receipt [10:59:25]MH_GetDate [10:59:25]Write to MH i2c: F0 00 00 2A 1C 35 [10:59:25]Write i2c OK [10:59:25]MH_I2C_Read... [10:59:25]Read from MH i2c: F0 [10:59:25]MH_I2C_Read... [10:59:25]Read from MH i2c: F0 09 00 [10:59:25]MH_I2C_Read... [10:59:25]Read from MH i2c: F0 09 00 2A 1C 00 94 6E 1F 67 5B 68 A1 66 90 [10:59:25]GetLastDocTimeStamp 1730112538 [10:59:25]current date 1730113172 [10:59:25]FM_GetShiftState [10:59:25]SAM_PROTO_GetShiftState [10:59:25]wFMCommunicate request_size=4 [10:59:25]MH_SAM_APDU [10:59:25]CAPDU: 80 13 01 00 [10:59:25]Write to MH i2c: E2 08 00 2B 1C 80 13 01 00 00 00 00 00 C4 [10:59:25]Write i2c OK [10:59:25]MH_I2C_Read... [10:59:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:59:25]Read from MH i2c: E2 [10:59:25]MH_I2C_Read... [10:59:25]Read from MH i2c: E2 0E 00 [10:59:25]MH_I2C_Read... [10:59:25]Read from MH i2c: E2 0E 00 2B 1C 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 46 [10:59:25]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [10:59:25]wFMCommunicate OK [10:59:25]SAM_PROTO_GetShiftState done [10:59:25]FM_GetShiftState done [10:59:25]opened in 1730073884 [10:59:25]opened+sec_in_day 1730160284 [10:59:25]quantity*price = 13400 [10:59:25]sum+1 = 13401 [10:59:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 НСП 1% : 1.19 НДС 12% : 14.23 Наличными: 134.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 19 28.10.2024 10:59 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37776 ФПД: 52554836437816 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T105932&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37776&fm=52554836437816&tin=02508201610067®Number=0000000000091684&sum=13400 0 [10:59:26]StoreToDocumentArchive [10:59:26]shift 551 fd 37776 [10:59:26]save to /storage/0551/doc_00037776 [10:59:26]save last doc name /storage/0551/doc_00037776 to /storage/kkm_last_doc_name [10:59:26]save OK [10:59:26]Clear old archive folders... [10:59:26]ProcessDocumentItem done err = 0, tmpTLVsize=254 [10:59:26]tlvbuf is 002309B0 [10:59:26]SAM_PROTO_ClearQueue [10:59:26]wFMCommunicate request_size=4 [10:59:26]MH_SAM_APDU [10:59:26]CAPDU: 80 09 00 00 [10:59:26]Write to MH i2c: E2 08 00 38 1C 80 09 00 00 00 00 00 00 C6 [10:59:26]Write i2c OK [10:59:26]MH_I2C_Read... [10:59:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:59:26]Read from MH i2c: E2 [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: E2 03 00 [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: E2 03 00 38 1C 00 90 00 C8 [10:59:26]RAPDU: 90 00 [10:59:26]wFMCommunicate OK [10:59:26]SAM_PROTO_ClearQueue done [10:59:26]KKMCreateOFDPacket [10:59:26]OFDProtocolAddRootSTLVToBuf [10:59:26]FM_MakeSignedData [10:59:26]FM_MakeSignedData [10:59:26]SAM_PROTO_SignData [10:59:26]wFMCommunicate request_size=4 [10:59:26]MH_SAM_APDU [10:59:26]CAPDU: 80 0D 01 02 [10:59:26]Write to MH i2c: E2 08 00 39 1C 80 0D 01 02 00 00 00 00 CE [10:59:26]Write i2c OK [10:59:26]MH_I2C_Read... [10:59:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:59:26]Read from MH i2c: E2 [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: E2 03 00 [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: E2 03 00 39 1C 00 90 00 C9 [10:59:26]RAPDU: 90 00 [10:59:26]wFMCommunicate OK [10:59:26]wFMCommunicate request_size=255 [10:59:26]MH_SAM_APDU [10:59:26]CAPDU: 80 0D 02 02 FA 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 94 6E 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 90 93 00 00 35 04 [10:59:26]Write to MH i2c: E2 02 01 3A 1C 80 0D 02 02 FA 00 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 94 6E 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 90 93 00 00 35 04 00 00 30 [10:59:26]Write i2c OK [10:59:26]MH_I2C_Read... [10:59:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:59:26]Read from MH i2c: E2 [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: E2 03 00 [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: E2 03 00 3A 1C 00 90 00 CA [10:59:26]RAPDU: 90 00 [10:59:26]wFMCommunicate OK [10:59:26]wFMCommunicate request_size=13 [10:59:26]MH_SAM_APDU [10:59:26]CAPDU: 80 0D 02 02 08 06 00 2F CC 60 5B 6B 38 [10:59:26]Write to MH i2c: E2 10 00 3B 1C 80 0D 02 02 08 00 06 00 2F CC 60 5B 6B 38 00 00 40 [10:59:26]Write i2c OK [10:59:26]MH_I2C_Read... [10:59:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:59:26]Read from MH i2c: E2 [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: E2 03 00 [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: E2 03 00 3B 1C 00 90 00 CB [10:59:26]RAPDU: 90 00 [10:59:26]wFMCommunicate OK [10:59:26]wFMCommunicate request_size=4 [10:59:26]MH_SAM_APDU [10:59:26]CAPDU: 80 0D 03 02 [10:59:26]Write to MH i2c: E2 08 00 3C 1C 80 0D 03 02 00 00 00 00 D3 [10:59:26]Write i2c OK [10:59:26]MH_I2C_Read... [10:59:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:59:26]Read from MH i2c: E2 [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: E2 0B 00 [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: E2 0B 00 3C 1C 00 ED 25 30 67 03 D0 C5 A0 90 00 B5 [10:59:26]RAPDU: ED 25 30 67 03 D0 C5 A0 90 00 [10:59:26]wFMCommunicate OK [10:59:26]SAM_PROTO_SignData done [10:59:26]FM_MakeSignedData done [10:59:26]CreateOFDProtocolMessage [10:59:26]wFMCommunicate request_size=4 [10:59:26]MH_SAM_APDU [10:59:26]CAPDU: 80 11 00 00 [10:59:26]Write to MH i2c: E2 08 00 3D 1C 80 11 00 00 00 00 00 00 D3 [10:59:26]Write i2c OK [10:59:26]MH_I2C_Read... [10:59:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:59:26]Read from MH i2c: E2 [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: E2 17 00 [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: E2 17 00 3D 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 23 [10:59:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:59:26]wFMCommunicate OK [10:59:26]CreateOFDProtocolMessage done [10:59:26]OFDSenderStorePacket 37776 [10:59:26]StoreOFDPacket docnum=37776 [10:59:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 12 01 00 00 93 C0 0A 01 C8 58 5A 03 01 00 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 94 6E 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 90 93 00 00 35 04 06 00 2F CC 60 5B 6B 38 ED 25 30 67 03 D0 C5 A0 [10:59:26]CheckFolder [10:59:26]dirname=/storage/ofd_packets [10:59:26]CheckFolder done [10:59:26]ProducePacketName [10:59:26]name=ofd_packets/00037776 [10:59:26]NVStorageSaveData ofd_packets/00037776 [10:59:26]File name is /storage/ofd_packets/00037776 [10:59:26]Write 304 bytes [10:59:26]NVStorageSaveData done [10:59:26]OFDSenderStorePacket done [10:59:26]KKMCreateOFDPacket done [10:59:26]NVStorageSaveData kkm_last_timestamp [10:59:26]File name is /storage/kkm_last_timestamp [10:59:26]Write 4 bytes [10:59:26]NVStorageSaveData done [10:59:26]ExternCall_PrintAddStr [10:59:26]wPrintStart [10:59:26]Write to MH i2c: 01 00 00 3E 1C 5A [10:59:26]Write i2c OK [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: 01 [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: 01 07 00 [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: 01 07 00 3E 1C 00 00 00 00 00 FF 0F 6F [10:59:26]RasterBufferAndPrint [10:59:26]line Счет N : (3)35074 [10:59:26]line ИНН: 02508201610067 [10:59:26]line Контрольно-Кассовый Чек [10:59:26]line ПРОДАЖА [10:59:26]line Товар: 48744546 [10:59:26]line LD Compact Silver [10:59:26]line 1.000 * 134.00 [10:59:26]line = 134.00 [10:59:26]line НДС 12% НСП 1% [10:59:26]line > о реализуемом товаре [10:59:26]line ИТОГО: 134.00 [10:59:26]line НСП 1% : 1.19 [10:59:26]line НДС 12% : 14.23 [10:59:26]line Наличными: 134.00 [10:59:26]line Безнал.: 0.00 [10:59:26]line Место: АЗС № 126 "Партнер Нефть" [10:59:26]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:59:26]line СНО: Общий режим [10:59:26]line Чек 19 28.10.2024 10:59 [10:59:26]line Смена: 551 ФФД: 1.0 [10:59:26]line ЗНМ: 0300000092 [10:59:26]line РНМ: 0000000000091684 [10:59:26]line Версия ККМ: 001 [10:59:26]line ФМ: 0000000000871841 [10:59:26]line ФД: 37776 [10:59:26]line ФПД: 52554836437816 [10:59:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T105932&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37776&fm=52554836437816&tin=02508201610067®Number=0000000000091684&sum=13400 [10:59:26]line 0 [10:59:26]written 0, free lines is 4095 [10:59:26]OFD Sender: Processing packet 37776 [packets to send 42, broken 41] [10:59:26]ProducePacketName [10:59:26]name=ofd_packets/00037776 [10:59:26]OFD Sender: To server: pG, [10:59:26]CommunicateWithHost lk.salyk.kg:30040 [10:59:26]ConnectInit lk.salyk.kg [10:59:27]Connected sock=10 [10:59: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 38 34 31 12 01 00 00 93 C0 0A 01 C8 58 5A 03 01 00 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 94 6E 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 90 93 00 00 35 04 06 00 2F CC 60 5B 6B 38 ED 25 30 67 03 D0 C5 A0 [10:59:27]Write to MH i2c: 01 00 00 66 1C 82 [10:59:27]Write i2c OK [10:59:27]MH_I2C_Read... [10:59:27]Read from MH i2c: 01 [10:59:27]MH_I2C_Read... [10:59:27]Read from MH i2c: 01 07 00 [10:59:27]MH_I2C_Read... [10:59:27]Read from MH i2c: 01 07 00 66 1C 00 00 00 00 00 D7 0C 6C [10:59:27]RasterBufferAndPrint [10:59:27]line [10:59:27]line [10:59:27]line [10:59:27]line [10:59:27]line [10:59:27]written 0, free lines is 3292 [10:59:27]MH_Cut [10:59:27]Write to MH i2c: D1 01 00 6D 1C 01 5B [10:59:27]Write i2c OK [10:59:27]MH_I2C_Read... [10:59:27]Read from MH i2c: D1 [10:59:27]MH_I2C_Read... [10:59:27]Read from MH i2c: D1 01 00 [10:59:27]MH_I2C_Read... [10:59:27]Read from MH i2c: D1 01 00 6D 1C 00 5A [10:59:27]Write to MH i2c: 01 00 00 6E 1C 8A [10:59:27]Write i2c OK [10:59:27]MH_I2C_Read... [10:59:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 CC B4 47 00 8A 1D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 90 93 00 00 F4 03 04 00 89 19 1F 67 B6 04 01 00 00 60 36 6B 1A B1 DE C3 64 [10:59:27]CommunicateWithHost err = 0 [10:59:27]CheckOFDResponse [10:59:27]1017 (14) - 77093643461234 [10:59:27]1041 (16) - 0000000000871841 [10:59:27]1040 (4) - 37776 [10:59:27]1012 (4) - 28.10.2024 04:56 [10:59:27]1206 (1) - 0 [10:59:27]OFD Sender: Remove packet 37776 [10:59:27]ProducePacketName [10:59:27]name=ofd_packets/00037776 [10:59:27]NVStorageDeleteData [10:59:27]OFD Sender: No OFD packet to send [10:59:28]*** Cut start [10:59:28]*** Partial cut [10:59:28]*** CUTSNS_PIN = 1 [10:59:28]*** CUTSNS_PIN = 0 [10:59:28]*** Brake cut motor [10:59:28]Read from MH i2c: 01 [10:59:28]MH_I2C_Read... [10:59:28]*** Stop cut motor [10:59:28]*** Cut end [10:59:28]Read from MH i2c: 01 07 00 [10:59:28]MH_I2C_Read... [10:59:28]Read from MH i2c: 01 07 00 6E 1C 00 00 00 00 00 FF 0F 9F [10:59:28]process_action close_receipt done [10:59:28]requested_data is exist [10:59:28]produce_requested_data [10:59:28]requested_item fm.sn is exist - process it [10:59:28]wFMCommunicate request_size=4 [10:59:28]MH_SAM_APDU [10:59:28]CAPDU: 80 11 00 00 [10:59:28]Write to MH i2c: E2 08 00 6F 1C 80 11 00 00 00 00 00 00 05 [10:59:28]Write i2c OK [10:59:28]MH_I2C_Read... [10:59:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:59:28]Read from MH i2c: E2 [10:59:28]MH_I2C_Read... [10:59:28]Read from MH i2c: E2 17 00 [10:59:28]MH_I2C_Read... [10:59:28]Read from MH i2c: E2 17 00 6F 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 55 [10:59:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:59:28]wFMCommunicate OK [10:59:28]requested_item fd.num is exist - process it [10:59:28]SAM_PROTO_GetFieldsCounters [10:59:28]wFMCommunicate request_size=4 [10:59:28]MH_SAM_APDU [10:59:28]CAPDU: 80 13 00 00 [10:59:28]Write to MH i2c: E2 08 00 70 1C 80 13 00 00 00 00 00 00 08 [10:59:28]Write i2c OK [10:59:28]MH_I2C_Read... [10:59:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:59:28]Read from MH i2c: E2 [10:59:28]MH_I2C_Read... [10:59:28]Read from MH i2c: E2 62 00 [10:59:28]MH_I2C_Read... [10:59:28]Read from MH i2c: E2 62 00 70 1C 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 90 93 00 00 0E 04 04 00 27 02 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 AE [10:59: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 90 93 00 00 0E 04 04 00 27 02 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 [10:59:28]wFMCommunicate OK [10:59:28]SAM_PROTO_GetFieldsCounters done [10:59:28]requested_item shift.num is exist - process it [10:59:28]requested_item shift.opened is exist - process it [10:59:28]req_shift_opened [10:59:28]FM_GetShiftState [10:59:28]SAM_PROTO_GetShiftState [10:59:28]wFMCommunicate request_size=4 [10:59:28]MH_SAM_APDU [10:59:28]CAPDU: 80 13 01 00 [10:59:28]Write to MH i2c: E2 08 00 71 1C 80 13 01 00 00 00 00 00 0A [10:59:28]Write i2c OK [10:59:28]MH_I2C_Read... [10:59:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:59:29]Read from MH i2c: E2 [10:59:29]MH_I2C_Read... [10:59:29]Read from MH i2c: E2 0E 00 [10:59:29]MH_I2C_Read... [10:59:29]Read from MH i2c: E2 0E 00 71 1C 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 8C [10:59:29]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [10:59:29]wFMCommunicate OK [10:59:29]SAM_PROTO_GetShiftState done [10:59:29]FM_GetShiftState done [10:59:29]req_shift_opened done [10:59:29]requested_item shift.open_date is exist - process it [10:59:29]req_shift_open_date [10:59:29]req_shift_open_date done [10:59:29]produce_requested_data done [10:59:29]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37776,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [10:59:29]process_action_free close_receipt [10:59:29]json_value_free [10:59:29]json_value_free done [10:59:29]process_json_proto returns [10:59:29]Send response to host [10:59:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37776,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [10:59:29]free response buf [10:59:29]execute_script done [10:59:29]execute_script returns [10:59:29]free content buf [10:59:29]Sock 7.Close socket [10:59:29]Sock 7.Thread stoped [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:38]OFD Sender: No OFD packet to send [11:00:43]OFD Sender: No OFD packet to send [11:00:48]OFD Sender: No OFD packet to send [11:00:53]OFD Sender: No OFD packet to send [11:00:58]OFD Sender: No OFD packet to send [11:01:03]OFD Sender: No OFD packet to send [11:01:08]OFD Sender: No OFD packet to send [11:01:13]OFD Sender: No OFD packet to send [11:01:18]OFD Sender: No OFD packet to send [11:01:23]OFD Sender: No OFD packet to send [11:01:28]OFD Sender: No OFD packet to send [11:01:33]OFD Sender: No OFD packet to send [11:01:38]OFD Sender: No OFD packet to send [11:01:43]OFD Sender: No OFD packet to send [11:01:48]OFD Sender: No OFD packet to send [11:01:53]OFD Sender: No OFD packet to send [11:01:58]OFD Sender: No OFD packet to send [11:02:03]OFD Sender: No OFD packet to send [11:02:07]accept exits with 9 [11:02:07]New connection [11:02:07]New thread 3067440484 created [11:02:07]Thread 3067297124 joined [11:02:07]Waiting for new connection... [11:02:07] Sock 9.Parse request [11:02:07]Sock 9.Check first char [11:02:07]Sock 9.First char is OK [11:02:07]request: POST /json_proto HTTP/1.0 [11:02:07]Method: POST [11:02:07]URL: /json_proto [11:02:07]Method is POST - this is cgi request [11:02:07]url: /json_proto [11:02:07]query_string will be loaded in cgi processing [11:02:07]execute_cgi json_proto POST (null) [11:02:07]execute_cgi path=json_proto method=POST [11:02:07]POST find Content-Length [11:02:07]Host: 172.17.40.196:8080 [11:02:07]Content-Length: 891 [11:02:07]Content-Type: application/json [11:02:07] [11:02:07]POST finish read [11:02:07]Found Content-Length = 891 [11:02:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35075", "tax_sys" : 0, "items" : [ { "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42203100", "name": "\u0416\u0435\u0432 Orbit \u0431\u0430\u043D\u0430\u043D-\u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 189.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:02:07]execute_script... [11:02:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35075", "tax_sys" : 0, "items" : [ { "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42203100", "name": "\u0416\u0435\u0432 Orbit \u0431\u0430\u043D\u0430\u043D-\u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 189.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:02:07]POST & json_proto [11:02:07]process_json_proto [11:02:07]json parsed OK: [11:02:07]protocol is kg_v1.0 [11:02:07]action value=close_receipt [11:02:07]process_action close_receipt [11:02:07]cmd_close_receipt [11:02:07]MH_GetDate [11:02:07]Write to MH i2c: F0 00 00 72 1C 7D [11:02:07]Write i2c OK [11:02:07]MH_I2C_Read... [11:02:07]Read from MH i2c: F0 [11:02:07]MH_I2C_Read... [11:02:07]Read from MH i2c: F0 09 00 [11:02:07]MH_I2C_Read... [11:02:07]Read from MH i2c: F0 09 00 72 1C 00 36 6F 1F 67 5B 68 A1 66 7B [11:02:07]GetLastDocTimeStamp 1730113172 [11:02:07]current date 1730113334 [11:02:07]FM_GetShiftState [11:02:07]SAM_PROTO_GetShiftState [11:02:07]wFMCommunicate request_size=4 [11:02:07]MH_SAM_APDU [11:02:07]CAPDU: 80 13 01 00 [11:02:07]Write to MH i2c: E2 08 00 73 1C 80 13 01 00 00 00 00 00 0C [11:02:07]Write i2c OK [11:02:07]MH_I2C_Read... [11:02:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:02:07]Read from MH i2c: E2 [11:02:07]MH_I2C_Read... [11:02:07]Read from MH i2c: E2 0E 00 [11:02:07]MH_I2C_Read... [11:02:07]Read from MH i2c: E2 0E 00 73 1C 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 8E [11:02:07]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [11:02:07]wFMCommunicate OK [11:02:07]SAM_PROTO_GetShiftState done [11:02:07]FM_GetShiftState done [11:02:07]opened in 1730073884 [11:02:07]opened+sec_in_day 1730160284 [11:02:07]quantity*price = 14400 [11:02:07]sum+1 = 14401 [11:02:07]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 42203100 Жев Orbit банан-клубника 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 189.00 НСП 1% : 1.67 НДС 12% : 20.07 Наличными: 189.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 20 28.10.2024 11:02 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37777 ФПД: 217937245100772 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T110214&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37777&fm=217937245100772&tin=02508201610067®Number=0000000000091684&sum=18900 0 [11:02:08]StoreToDocumentArchive [11:02:08]shift 551 fd 37777 [11:02:08]save to /storage/0551/doc_00037777 [11:02:08]save last doc name /storage/0551/doc_00037777 to /storage/kkm_last_doc_name [11:02:08]save OK [11:02:08]Clear old archive folders... [11:02:08]ProcessDocumentItem done err = 0, tmpTLVsize=380 [11:02:08]tlvbuf is B6FCC790 [11:02:08]SAM_PROTO_ClearQueue [11:02:08]wFMCommunicate request_size=4 [11:02:08]MH_SAM_APDU [11:02:08]CAPDU: 80 09 00 00 [11:02:08]Write to MH i2c: E2 08 00 80 1C 80 09 00 00 00 00 00 00 0E [11:02:08]Write i2c OK [11:02:08]MH_I2C_Read... [11:02:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:02:08]Read from MH i2c: E2 [11:02:08]MH_I2C_Read... [11:02:08]Read from MH i2c: E2 03 00 [11:02:08]MH_I2C_Read... [11:02:08]Read from MH i2c: E2 03 00 80 1C 00 90 00 10 [11:02:08]RAPDU: 90 00 [11:02:08]wFMCommunicate OK [11:02:08]SAM_PROTO_ClearQueue done [11:02:08]KKMCreateOFDPacket [11:02:08]OFDProtocolAddRootSTLVToBuf [11:02:08]FM_MakeSignedData [11:02:08]FM_MakeSignedData [11:02:08]SAM_PROTO_SignData [11:02:08]wFMCommunicate request_size=4 [11:02:08]MH_SAM_APDU [11:02:08]CAPDU: 80 0D 01 02 [11:02:08]Write to MH i2c: E2 08 00 81 1C 80 0D 01 02 00 00 00 00 16 [11:02:08]Write i2c OK [11:02:08]MH_I2C_Read... [11:02:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:02:08]Read from MH i2c: E2 [11:02:08]MH_I2C_Read... [11:02:08]Read from MH i2c: E2 03 00 [11:02:08]MH_I2C_Read... [11:02:08]Read from MH i2c: E2 03 00 81 1C 00 90 00 11 [11:02:08]RAPDU: 90 00 [11:02:08]wFMCommunicate OK [11:02:08]wFMCommunicate request_size=255 [11:02:08]MH_SAM_APDU [11:02:08]CAPDU: 80 0D 02 02 FA 03 00 7C 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A7 00 00 00 [11:02:08]Write to MH i2c: E2 02 01 82 1C 80 0D 02 02 FA 00 03 00 7C 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A7 00 00 00 00 00 18 [11:02:08]Write i2c OK [11:02:08]MH_I2C_Read... [11:02:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:02:09]Read from MH i2c: E2 [11:02:09]MH_I2C_Read... [11:02:09]Read from MH i2c: E2 03 00 [11:02:09]MH_I2C_Read... [11:02:09]Read from MH i2c: E2 03 00 82 1C 00 90 00 12 [11:02:09]RAPDU: 90 00 [11:02:09]wFMCommunicate OK [11:02:09]wFMCommunicate request_size=139 [11:02:09]MH_SAM_APDU [11:02:09]CAPDU: 80 0D 02 02 86 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 07 00 00 00 00 07 04 06 00 D4 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 36 6F 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 91 93 00 00 35 04 06 00 C6 36 78 13 DA E4 [11:02:09]Write to MH i2c: E2 8E 00 83 1C 80 0D 02 02 86 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 07 00 00 00 00 07 04 06 00 D4 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 36 6F 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 91 93 00 00 35 04 06 00 C6 36 78 13 DA E4 00 00 1E [11:02:09]Write i2c OK [11:02:09]MH_I2C_Read... [11:02:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:02:09]Read from MH i2c: E2 [11:02:09]MH_I2C_Read... [11:02:09]Read from MH i2c: E2 03 00 [11:02:09]MH_I2C_Read... [11:02:09]Read from MH i2c: E2 03 00 83 1C 00 90 00 13 [11:02:09]RAPDU: 90 00 [11:02:09]wFMCommunicate OK [11:02:09]wFMCommunicate request_size=4 [11:02:09]MH_SAM_APDU [11:02:09]CAPDU: 80 0D 03 02 [11:02:09]Write to MH i2c: E2 08 00 84 1C 80 0D 03 02 00 00 00 00 1B [11:02:09]Write i2c OK [11:02:09]MH_I2C_Read... [11:02:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:02:09]Read from MH i2c: E2 [11:02:09]MH_I2C_Read... [11:02:09]Read from MH i2c: E2 0B 00 [11:02:09]MH_I2C_Read... [11:02:09]Read from MH i2c: E2 0B 00 84 1C 00 24 61 2E 58 7E 06 33 78 90 00 56 [11:02:09]RAPDU: 24 61 2E 58 7E 06 33 78 90 00 [11:02:09]wFMCommunicate OK [11:02:09]SAM_PROTO_SignData done [11:02:09]FM_MakeSignedData done [11:02:09]CreateOFDProtocolMessage [11:02:09]wFMCommunicate request_size=4 [11:02:09]MH_SAM_APDU [11:02:09]CAPDU: 80 11 00 00 [11:02:09]Write to MH i2c: E2 08 00 85 1C 80 11 00 00 00 00 00 00 1B [11:02:09]Write i2c OK [11:02:09]MH_I2C_Read... [11:02:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:02:09]Read from MH i2c: E2 [11:02:09]MH_I2C_Read... [11:02:09]Read from MH i2c: E2 17 00 [11:02:09]MH_I2C_Read... [11:02:09]Read from MH i2c: E2 17 00 85 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 6B [11:02:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:02:09]wFMCommunicate OK [11:02:09]CreateOFDProtocolMessage done [11:02:09]OFDSenderStorePacket 37777 [11:02:09]StoreOFDPacket docnum=37777 [11:02:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 01 00 00 4E B7 88 01 3C 4F 5A 03 01 00 03 00 7C 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 07 00 00 00 00 07 04 06 00 D4 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 36 6F 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 91 93 00 00 35 04 06 00 C6 36 78 13 DA E4 24 61 2E 58 7E 06 33 78 [11:02:09]CheckFolder [11:02:09]dirname=/storage/ofd_packets [11:02:09]CheckFolder done [11:02:09]ProducePacketName [11:02:09]name=ofd_packets/00037777 [11:02:09]NVStorageSaveData ofd_packets/00037777 [11:02:09]File name is /storage/ofd_packets/00037777 [11:02:09]Write 430 bytes [11:02:09]NVStorageSaveData done [11:02:09]OFDSenderStorePacket done [11:02:09]KKMCreateOFDPacket done [11:02:09]NVStorageSaveData kkm_last_timestamp [11:02:09]File name is /storage/kkm_last_timestamp [11:02:09]Write 4 bytes [11:02:09]NVStorageSaveData done [11:02:09]ExternCall_PrintAddStr [11:02:09]wPrintStart [11:02:09]Write to MH i2c: 01 00 00 86 1C A2 [11:02:09]Write i2c OK [11:02:09]MH_I2C_Read... [11:02:09]Read from MH i2c: 01 [11:02:09]MH_I2C_Read... [11:02:09]Read from MH i2c: 01 07 00 [11:02:09]MH_I2C_Read... [11:02:09]Read from MH i2c: 01 07 00 86 1C 00 00 00 00 00 FF 0F B7 [11:02:09]RasterBufferAndPrint [11:02:09]line Счет N : (3)35075 [11:02:09]line ИНН: 02508201610067 [11:02:09]line Контрольно-Кассовый Чек [11:02:09]line ПРОДАЖА [11:02:09]line Товар: 48747066 [11:02:09]line Сигареты Winston True Silver [11:02:09]line 1.000 * 144.00 [11:02:09]line = 144.00 [11:02:09]line НДС 12% НСП 1% [11:02:09]line > о реализуемом товаре [11:02:09]line Товар: 42203100 [11:02:09]line Жев Orbit банан-клубника [11:02:09]line 1.000 * 45.00 [11:02:09]line = 45.00 [11:02:09]line НДС 12% НСП 1% [11:02:09]line > о реализуемом товаре [11:02:09]line ИТОГО: 189.00 [11:02:09]line НСП 1% : 1.67 [11:02:09]line НДС 12% : 20.07 [11:02:09]line Наличными: 189.00 [11:02:09]line Безнал.: 0.00 [11:02:09]line Место: АЗС № 126 "Партнер Нефть" [11:02:09]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [11:02:09]line СНО: Общий режим [11:02:09]line Чек 20 28.10.2024 11:02 [11:02:09]line Смена: 551 ФФД: 1.0 [11:02:09]line ЗНМ: 0300000092 [11:02:09]line РНМ: 0000000000091684 [11:02:09]line Версия ККМ: 001 [11:02:09]line ФМ: 0000000000871841 [11:02:09]line ФД: 37777 [11:02:09]line ФПД: 217937245100772 [11:02:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T110214&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37777&fm=217937245100772&tin=02508201610067®Number=0000000000091684&sum=18900 [11:02:09]line 0 [11:02:09]OFD Sender: Processing packet 37777 [packets to send 42, broken 41] [11:02:09]ProducePacketName [11:02:09]name=ofd_packets/00037777 [11:02:09]OFD Sender: To server: pG, [11:02:09]CommunicateWithHost lk.salyk.kg:30040 [11:02:09]ConnectInit lk.salyk.kg [11:02:09]written 0, free lines is 4095 [11:02:09]Connected sock=10 [11:02:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 01 00 00 4E B7 88 01 3C 4F 5A 03 01 00 03 00 7C 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 07 00 00 00 00 07 04 06 00 D4 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 36 6F 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 91 93 00 00 35 04 06 00 C6 36 78 13 DA E4 24 61 2E 58 7E 06 33 78 [11:02:10]Write to MH i2c: 01 00 00 B4 1C D0 [11:02:10]Write i2c OK [11:02:10]MH_I2C_Read... [11:02:10]Read from MH i2c: 01 [11:02:10]MH_I2C_Read... [11:02:10]Read from MH i2c: 01 07 00 [11:02:10]MH_I2C_Read... [11:02:10]Read from MH i2c: 01 07 00 B4 1C 00 00 00 00 00 57 0C 3A [11:02:10]RasterBufferAndPrint [11:02:10]line [11:02:10]line [11:02:10]line [11:02:10]line [11:02:10]line [11:02:10]written 0, free lines is 3165 [11:02:10]MH_Cut [11:02:10]Write to MH i2c: D1 01 00 BB 1C 01 A9 [11:02:10]Write i2c OK [11:02:10]MH_I2C_Read... [11:02:10]Read from MH i2c: D1 [11:02:10]MH_I2C_Read... [11:02:10]Read from MH i2c: D1 01 00 [11:02:10]MH_I2C_Read... [11:02:10]Read from MH i2c: D1 01 00 BB 1C 00 A8 [11:02:10]Write to MH i2c: 01 00 00 BC 1C D8 [11:02:10]Write i2c OK [11:02:10]MH_I2C_Read... [11:02:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 4D 9C 47 00 9A 24 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 91 93 00 00 F4 03 04 00 2B 1A 1F 67 B6 04 01 00 00 76 A2 CD FC FE A7 E4 62 [11:02:10]CommunicateWithHost err = 0 [11:02:10]CheckOFDResponse [11:02:10]1017 (14) - 77093643461234 [11:02:10]1041 (16) - 0000000000871841 [11:02:10]1040 (4) - 37777 [11:02:10]1012 (4) - 28.10.2024 04:59 [11:02:10]1206 (1) - 0 [11:02:10]OFD Sender: Remove packet 37777 [11:02:10]ProducePacketName [11:02:10]name=ofd_packets/00037777 [11:02:10]NVStorageDeleteData [11:02:10]OFD Sender: No OFD packet to send [11:02:11]*** Cut start [11:02:11]*** Partial cut [11:02:11]*** CUTSNS_PIN = 1 [11:02:11]*** CUTSNS_PIN = 0 [11:02:11]*** Brake cut motor [11:02:11]Read from MH i2c: 01 [11:02:11]MH_I2C_Read... [11:02:11]*** Stop cut motor [11:02:11]*** Cut end [11:02:11]Read from MH i2c: 01 07 00 [11:02:11]MH_I2C_Read... [11:02:11]Read from MH i2c: 01 07 00 BC 1C 00 00 00 00 00 FF 0F ED [11:02:11]process_action close_receipt done [11:02:11]requested_data is exist [11:02:11]produce_requested_data [11:02:11]requested_item fm.sn is exist - process it [11:02:11]wFMCommunicate request_size=4 [11:02:11]MH_SAM_APDU [11:02:11]CAPDU: 80 11 00 00 [11:02:11]Write to MH i2c: E2 08 00 BD 1C 80 11 00 00 00 00 00 00 53 [11:02:11]Write i2c OK [11:02:11]MH_I2C_Read... [11:02:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:02:11]Read from MH i2c: E2 [11:02:11]MH_I2C_Read... [11:02:11]Read from MH i2c: E2 17 00 [11:02:11]MH_I2C_Read... [11:02:11]Read from MH i2c: E2 17 00 BD 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A3 [11:02:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:02:11]wFMCommunicate OK [11:02:11]requested_item fd.num is exist - process it [11:02:11]SAM_PROTO_GetFieldsCounters [11:02:11]wFMCommunicate request_size=4 [11:02:11]MH_SAM_APDU [11:02:11]CAPDU: 80 13 00 00 [11:02:11]Write to MH i2c: E2 08 00 BE 1C 80 13 00 00 00 00 00 00 56 [11:02:11]Write i2c OK [11:02:11]MH_I2C_Read... [11:02:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:02:11]Read from MH i2c: E2 [11:02:11]MH_I2C_Read... [11:02:11]Read from MH i2c: E2 62 00 [11:02:11]MH_I2C_Read... [11:02:11]Read from MH i2c: E2 62 00 BE 1C 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 91 93 00 00 0E 04 04 00 27 02 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 00 [11:02:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 91 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:02:11]wFMCommunicate OK [11:02:11]SAM_PROTO_GetFieldsCounters done [11:02:11]requested_item shift.num is exist - process it [11:02:11]requested_item shift.opened is exist - process it [11:02:11]req_shift_opened [11:02:11]FM_GetShiftState [11:02:11]SAM_PROTO_GetShiftState [11:02:11]wFMCommunicate request_size=4 [11:02:11]MH_SAM_APDU [11:02:11]CAPDU: 80 13 01 00 [11:02:11]Write to MH i2c: E2 08 00 BF 1C 80 13 01 00 00 00 00 00 58 [11:02:11]Write i2c OK [11:02:11]MH_I2C_Read... [11:02:11]Read from MH i2c: E2 [11:02:12]MH_I2C_Read... [11:02:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:02:12]Read from MH i2c: E2 0E 00 [11:02:12]MH_I2C_Read... [11:02:12]Read from MH i2c: E2 0E 00 BF 1C 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 DA [11:02:12]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [11:02:12]wFMCommunicate OK [11:02:12]SAM_PROTO_GetShiftState done [11:02:12]FM_GetShiftState done [11:02:12]req_shift_opened done [11:02:12]requested_item shift.open_date is exist - process it [11:02:12]req_shift_open_date [11:02:12]req_shift_open_date done [11:02:12]produce_requested_data done [11:02:12]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37777,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [11:02:12]process_action_free close_receipt [11:02:12]json_value_free [11:02:12]json_value_free done [11:02:12]process_json_proto returns [11:02:12]Send response to host [11:02:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37777,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [11:02:12]free response buf [11:02:12]execute_script done [11:02:12]execute_script returns [11:02:12]free content buf [11:02:12]Sock 9.Close socket [11:02:12]Sock 9.Thread stoped [11:02:15]OFD Sender: No OFD packet to send [11:02:20]OFD Sender: No OFD packet to send [11:02:25]OFD Sender: No OFD packet to send [11:02:30]OFD Sender: No OFD packet to send [11:02:35]OFD Sender: No OFD packet to send [11:02:40]OFD Sender: No OFD packet to send [11:02:45]OFD Sender: No OFD packet to send [11:02:50]OFD Sender: No OFD packet to send [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:26]OFD Sender: No OFD packet to send [11:07:31]OFD Sender: No OFD packet to send [11:07:36]OFD Sender: No OFD packet to send [11:07:41]OFD Sender: No OFD packet to send [11:07:46]OFD Sender: No OFD packet to send [11:07:51]OFD Sender: No OFD packet to send [11:07:56]OFD Sender: No OFD packet to send [11:08:01]OFD Sender: No OFD packet to send [11:08:06]OFD Sender: No OFD packet to send [11:08:11]OFD Sender: No OFD packet to send [11:08:16]OFD Sender: No OFD packet to send [11:08:20]accept exits with 7 [11:08:20]New connection [11:08:20]New thread 3067297124 created [11:08:20]Thread 3067440484 joined [11:08:20]Waiting for new connection... [11:08:20] Sock 7.Parse request [11:08:20]Sock 7.Check first char [11:08:20]Sock 7.First char is OK [11:08:20]request: POST /json_proto HTTP/1.0 [11:08:20]Method: POST [11:08:20]URL: /json_proto [11:08:20]Method is POST - this is cgi request [11:08:20]url: /json_proto [11:08:20]query_string will be loaded in cgi processing [11:08:20]execute_cgi json_proto POST (null) [11:08:20]execute_cgi path=json_proto method=POST [11:08:20]POST find Content-Length [11:08:20]Host: 172.17.40.196:8080 [11:08:20]Content-Length: 622 [11:08:20]Content-Type: application/json [11:08:20] [11:08:20]POST finish read [11:08:20]Found Content-Length = 622 [11:08:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35076", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:08:20]execute_script... [11:08:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35076", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:08:20]POST & json_proto [11:08:20]process_json_proto [11:08:20]json parsed OK: [11:08:20]protocol is kg_v1.0 [11:08:20]action value=close_receipt [11:08:20]process_action close_receipt [11:08:20]cmd_close_receipt [11:08:20]MH_GetDate [11:08:20]Write to MH i2c: F0 00 00 C0 1C CB [11:08:20]Write i2c OK [11:08:20]MH_I2C_Read... [11:08:20]Read from MH i2c: F0 [11:08:20]MH_I2C_Read... [11:08:20]Read from MH i2c: F0 09 00 [11:08:20]MH_I2C_Read... [11:08:20]Read from MH i2c: F0 09 00 C0 1C 00 AB 70 1F 67 5B 68 A1 66 3F [11:08:20]GetLastDocTimeStamp 1730113334 [11:08:20]current date 1730113707 [11:08:20]FM_GetShiftState [11:08:20]SAM_PROTO_GetShiftState [11:08:20]wFMCommunicate request_size=4 [11:08:20]MH_SAM_APDU [11:08:20]CAPDU: 80 13 01 00 [11:08:20]Write to MH i2c: E2 08 00 C1 1C 80 13 01 00 00 00 00 00 5A [11:08:20]Write i2c OK [11:08:20]MH_I2C_Read... [11:08:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:08:20]Read from MH i2c: E2 [11:08:20]MH_I2C_Read... [11:08:20]Read from MH i2c: E2 0E 00 [11:08:20]MH_I2C_Read... [11:08:20]Read from MH i2c: E2 0E 00 C1 1C 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 DC [11:08:20]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [11:08:20]wFMCommunicate OK [11:08:20]SAM_PROTO_GetShiftState done [11:08:20]FM_GetShiftState done [11:08:20]opened in 1730073884 [11:08:20]opened+sec_in_day 1730160284 [11:08:20]quantity*price = 14400 [11:08:20]sum+1 = 14401 [11:08:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 21 28.10.2024 11:08 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37778 ФПД: 278279346663891 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T110827&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37778&fm=278279346663891&tin=02508201610067®Number=0000000000091684&sum=14400 0 [11:08:21]StoreToDocumentArchive [11:08:21]shift 551 fd 37778 [11:08:21]save to /storage/0551/doc_00037778 [11:08:21]save last doc name /storage/0551/doc_00037778 to /storage/kkm_last_doc_name [11:08:21]save OK [11:08:21]Clear old archive folders... [11:08:21]ProcessDocumentItem done err = 0, tmpTLVsize=275 [11:08:21]tlvbuf is 0029EBD0 [11:08:21]SAM_PROTO_ClearQueue [11:08:21]wFMCommunicate request_size=4 [11:08:21]MH_SAM_APDU [11:08:21]CAPDU: 80 09 00 00 [11:08:21]Write to MH i2c: E2 08 00 CE 1C 80 09 00 00 00 00 00 00 5C [11:08:21]Write i2c OK [11:08:21]MH_I2C_Read... [11:08:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:08:21]Read from MH i2c: E2 [11:08:21]MH_I2C_Read... [11:08:21]Read from MH i2c: E2 03 00 [11:08:21]MH_I2C_Read... [11:08:21]Read from MH i2c: E2 03 00 CE 1C 00 90 00 5E [11:08:21]RAPDU: 90 00 [11:08:21]wFMCommunicate OK [11:08:21]SAM_PROTO_ClearQueue done [11:08:21]KKMCreateOFDPacket [11:08:21]OFDProtocolAddRootSTLVToBuf [11:08:21]FM_MakeSignedData [11:08:21]FM_MakeSignedData [11:08:21]SAM_PROTO_SignData [11:08:21]wFMCommunicate request_size=4 [11:08:21]MH_SAM_APDU [11:08:21]CAPDU: 80 0D 01 02 [11:08:21]Write to MH i2c: E2 08 00 CF 1C 80 0D 01 02 00 00 00 00 64 [11:08:21]Write i2c OK [11:08:21]MH_I2C_Read... [11:08:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:08:21]Read from MH i2c: E2 [11:08:21]MH_I2C_Read... [11:08:21]Read from MH i2c: E2 03 00 [11:08:21]MH_I2C_Read... [11:08:21]Read from MH i2c: E2 03 00 CF 1C 00 90 00 5F [11:08:21]RAPDU: 90 00 [11:08:21]wFMCommunicate OK [11:08:21]wFMCommunicate request_size=255 [11:08:21]MH_SAM_APDU [11:08:21]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 AB 70 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 [11:08:21]Write to MH i2c: E2 02 01 D0 1C 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 AB 70 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 00 00 4B [11:08:21]Write i2c OK [11:08:21]MH_I2C_Read... [11:08:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:08:21]Read from MH i2c: E2 [11:08:21]MH_I2C_Read... [11:08:21]Read from MH i2c: E2 03 00 [11:08:21]MH_I2C_Read... [11:08:21]Read from MH i2c: E2 03 00 D0 1C 00 90 00 60 [11:08:21]RAPDU: 90 00 [11:08:21]wFMCommunicate OK [11:08:21]wFMCommunicate request_size=34 [11:08:21]MH_SAM_APDU [11:08:21]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 92 93 00 00 35 04 06 00 FD 17 F5 9B 31 D3 [11:08:21]Write to MH i2c: E2 25 00 D1 1C 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 92 93 00 00 35 04 06 00 FD 17 F5 9B 31 D3 00 00 F2 [11:08:21]Write i2c OK [11:08:21]MH_I2C_Read... [11:08:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:08:21]Read from MH i2c: E2 [11:08:21]MH_I2C_Read... [11:08:21]Read from MH i2c: E2 03 00 [11:08:21]MH_I2C_Read... [11:08:21]Read from MH i2c: E2 03 00 D1 1C 00 90 00 61 [11:08:21]RAPDU: 90 00 [11:08:21]wFMCommunicate OK [11:08:21]wFMCommunicate request_size=4 [11:08:21]MH_SAM_APDU [11:08:21]CAPDU: 80 0D 03 02 [11:08:21]Write to MH i2c: E2 08 00 D2 1C 80 0D 03 02 00 00 00 00 69 [11:08:21]Write i2c OK [11:08:21]MH_I2C_Read... [11:08:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:08:21]Read from MH i2c: E2 [11:08:21]MH_I2C_Read... [11:08:21]Read from MH i2c: E2 0B 00 [11:08:21]MH_I2C_Read... [11:08:21]Read from MH i2c: E2 0B 00 D2 1C 00 DD 6B 71 61 12 ED CC EF 90 00 3E [11:08:21]RAPDU: DD 6B 71 61 12 ED CC EF 90 00 [11:08:21]wFMCommunicate OK [11:08:21]SAM_PROTO_SignData done [11:08:21]FM_MakeSignedData done [11:08:21]CreateOFDProtocolMessage [11:08:21]wFMCommunicate request_size=4 [11:08:21]MH_SAM_APDU [11:08:21]CAPDU: 80 11 00 00 [11:08:21]Write to MH i2c: E2 08 00 D3 1C 80 11 00 00 00 00 00 00 69 [11:08:21]Write i2c OK [11:08:21]MH_I2C_Read... [11:08:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:08:21]Read from MH i2c: E2 [11:08:21]MH_I2C_Read... [11:08:21]Read from MH i2c: E2 17 00 [11:08:21]MH_I2C_Read... [11:08:21]Read from MH i2c: E2 17 00 D3 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B9 [11:08:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:08:21]wFMCommunicate OK [11:08:21]CreateOFDProtocolMessage done [11:08:21]OFDSenderStorePacket 37778 [11:08:21]StoreOFDPacket docnum=37778 [11:08:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 27 01 00 00 4B CC 1F 01 6B 04 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 AB 70 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 92 93 00 00 35 04 06 00 FD 17 F5 9B 31 D3 DD 6B 71 61 12 ED CC EF [11:08:21]CheckFolder [11:08:21]dirname=/storage/ofd_packets [11:08:21]CheckFolder done [11:08:21]ProducePacketName [11:08:21]name=ofd_packets/00037778 [11:08:21]NVStorageSaveData ofd_packets/00037778 [11:08:21]File name is /storage/ofd_packets/00037778 [11:08:21]Write 325 bytes [11:08:21]NVStorageSaveData done [11:08:21]OFDSenderStorePacket done [11:08:21]KKMCreateOFDPacket done [11:08:21]NVStorageSaveData kkm_last_timestamp [11:08:21]File name is /storage/kkm_last_timestamp [11:08:21]Write 4 bytes [11:08:21]NVStorageSaveData done [11:08:21]ExternCall_PrintAddStr [11:08:21]wPrintStart [11:08:21]Write to MH i2c: 01 00 00 D4 1C F0 [11:08:21]Write i2c OK [11:08:21]MH_I2C_Read... [11:08:21]Read from MH i2c: 01 [11:08:21]MH_I2C_Read... [11:08:21]Read from MH i2c: 01 07 00 [11:08:21]MH_I2C_Read... [11:08:21]Read from MH i2c: 01 07 00 D4 1C 00 00 00 00 00 FF 0F 05 [11:08:21]RasterBufferAndPrint [11:08:21]line Счет N : (3)35076 [11:08:21]line ИНН: 02508201610067 [11:08:21]line Контрольно-Кассовый Чек [11:08:21]line ПРОДАЖА [11:08:21]line Товар: 48743587 [11:08:21]line Сигареты Winston XStyle Silver [11:08:21]line 1.000 * 144.00 [11:08:21]line = 144.00 [11:08:21]line НДС 12% НСП 1% [11:08:21]line > о реализуемом товаре [11:08:21]line ИТОГО: 144.00 [11:08:21]line НСП 1% : 1.27 [11:08:21]line НДС 12% : 15.29 [11:08:21]line Наличными: 144.00 [11:08:21]line Безнал.: 0.00 [11:08:21]line Место: АЗС № 126 "Партнер Нефть" [11:08:21]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [11:08:21]line СНО: Общий режим [11:08:21]line Чек 21 28.10.2024 11:08 [11:08:21]line Смена: 551 ФФД: 1.0 [11:08:21]line ЗНМ: 0300000092 [11:08:21]line РНМ: 0000000000091684 [11:08:21]line Версия ККМ: 001 [11:08:21]line ФМ: 0000000000871841 [11:08:21]line ФД: 37778 [11:08:21]line ФПД: 278279346663891 [11:08:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T110827&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37778&fm=278279346663891&tin=02508201610067®Number=0000000000091684&sum=14400 [11:08:21]line 0 [11:08:22]written 0, free lines is 4095 [11:08:22]OFD Sender: Processing packet 37778 [packets to send 42, broken 41] [11:08:22]ProducePacketName [11:08:22]name=ofd_packets/00037778 [11:08:22]OFD Sender: To server: pG, [11:08:22]CommunicateWithHost lk.salyk.kg:30040 [11:08:22]ConnectInit lk.salyk.kg [11:08:22]Connected sock=10 [11:08: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 38 34 31 27 01 00 00 4B CC 1F 01 6B 04 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 AB 70 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 92 93 00 00 35 04 06 00 FD 17 F5 9B 31 D3 DD 6B 71 61 12 ED CC EF [11:08:22]Write to MH i2c: 01 00 00 FD 1C 19 [11:08:22]Write i2c OK [11:08:22]MH_I2C_Read... [11:08:22]Read from MH i2c: 01 [11:08:22]MH_I2C_Read... [11:08:22]Read from MH i2c: 01 07 00 [11:08:22]MH_I2C_Read... [11:08:22]Read from MH i2c: 01 07 00 FD 1C 00 00 00 00 00 B3 0C DF [11:08:22]RasterBufferAndPrint [11:08:22]line [11:08:22]line [11:08:22]line [11:08:22]line [11:08:22]line [11:08:22]written 0, free lines is 3255 [11:08:22]MH_Cut [11:08:22]Write to MH i2c: D1 01 00 04 1D 01 F3 [11:08:22]Write i2c OK [11:08:22]MH_I2C_Read... [11:08:22]Read from MH i2c: D1 [11:08:22]MH_I2C_Read... [11:08:22]Read from MH i2c: D1 01 00 [11:08:22]MH_I2C_Read... [11:08:22]Read from MH i2c: D1 01 00 04 1D 00 F2 [11:08:22]Write to MH i2c: 01 00 00 05 1D 22 [11:08:22]Write i2c OK [11:08:22]MH_I2C_Read... [11:08:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 5D 68 47 00 FE 46 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 92 93 00 00 F4 03 04 00 A0 1B 1F 67 B6 04 01 00 00 E8 4D 2A 1E 9F B2 20 92 [11:08:22]CommunicateWithHost err = 0 [11:08:22]CheckOFDResponse [11:08:22]1017 (14) - 77093643461234 [11:08:22]1041 (16) - 0000000000871841 [11:08:22]1040 (4) - 37778 [11:08:22]1012 (4) - 28.10.2024 05:05 [11:08:22]1206 (1) - 0 [11:08:22]OFD Sender: Remove packet 37778 [11:08:22]ProducePacketName [11:08:22]name=ofd_packets/00037778 [11:08:22]NVStorageDeleteData [11:08:23]OFD Sender: No OFD packet to send [11:08:23]*** Cut start [11:08:23]*** Partial cut [11:08:23]*** CUTSNS_PIN = 1 [11:08:23]*** CUTSNS_PIN = 0 [11:08:23]*** Brake cut motor [11:08:24]Read from MH i2c: 01 [11:08:24]MH_I2C_Read... [11:08:24]*** Stop cut motor [11:08:24]*** Cut end [11:08:24]Read from MH i2c: 01 07 00 [11:08:24]MH_I2C_Read... [11:08:24]Read from MH i2c: 01 07 00 05 1D 00 00 00 00 00 FF 0F 37 [11:08:24]process_action close_receipt done [11:08:24]requested_data is exist [11:08:24]produce_requested_data [11:08:24]requested_item fm.sn is exist - process it [11:08:24]wFMCommunicate request_size=4 [11:08:24]MH_SAM_APDU [11:08:24]CAPDU: 80 11 00 00 [11:08:24]Write to MH i2c: E2 08 00 06 1D 80 11 00 00 00 00 00 00 9D [11:08:24]Write i2c OK [11:08:24]MH_I2C_Read... [11:08:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:08:24]Read from MH i2c: E2 [11:08:24]MH_I2C_Read... [11:08:24]Read from MH i2c: E2 17 00 [11:08:24]MH_I2C_Read... [11:08:24]Read from MH i2c: E2 17 00 06 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 ED [11:08:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:08:24]wFMCommunicate OK [11:08:24]requested_item fd.num is exist - process it [11:08:24]SAM_PROTO_GetFieldsCounters [11:08:24]wFMCommunicate request_size=4 [11:08:24]MH_SAM_APDU [11:08:24]CAPDU: 80 13 00 00 [11:08:24]Write to MH i2c: E2 08 00 07 1D 80 13 00 00 00 00 00 00 A0 [11:08:24]Write i2c OK [11:08:24]MH_I2C_Read... [11:08:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:08:24]Read from MH i2c: E2 [11:08:24]MH_I2C_Read... [11:08:24]Read from MH i2c: E2 62 00 [11:08:24]MH_I2C_Read... [11:08:24]Read from MH i2c: E2 62 00 07 1D 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 92 93 00 00 0E 04 04 00 27 02 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 4E [11:08: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 92 93 00 00 0E 04 04 00 27 02 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 [11:08:24]wFMCommunicate OK [11:08:24]SAM_PROTO_GetFieldsCounters done [11:08:24]requested_item shift.num is exist - process it [11:08:24]requested_item shift.opened is exist - process it [11:08:24]req_shift_opened [11:08:24]FM_GetShiftState [11:08:24]SAM_PROTO_GetShiftState [11:08:24]wFMCommunicate request_size=4 [11:08:24]MH_SAM_APDU [11:08:24]CAPDU: 80 13 01 00 [11:08:24]Write to MH i2c: E2 08 00 08 1D 80 13 01 00 00 00 00 00 A2 [11:08:24]Write i2c OK [11:08:24]MH_I2C_Read... [11:08:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:08:24]Read from MH i2c: E2 [11:08:24]MH_I2C_Read... [11:08:24]Read from MH i2c: E2 0E 00 [11:08:24]MH_I2C_Read... [11:08:24]Read from MH i2c: E2 0E 00 08 1D 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 24 [11:08:24]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [11:08:24]wFMCommunicate OK [11:08:24]SAM_PROTO_GetShiftState done [11:08:24]FM_GetShiftState done [11:08:24]req_shift_opened done [11:08:24]requested_item shift.open_date is exist - process it [11:08:24]req_shift_open_date [11:08:24]req_shift_open_date done [11:08:24]produce_requested_data done [11:08:24]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37778,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [11:08:24]process_action_free close_receipt [11:08:24]json_value_free [11:08:24]json_value_free done [11:08:24]process_json_proto returns [11:08:24]Send response to host [11:08:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37778,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [11:08:24]free response buf [11:08:24]execute_script done [11:08:24]execute_script returns [11:08:24]free content buf [11:08:24]Sock 7.Close socket [11:08:24]Sock 7.Thread stoped [11:08:28]OFD Sender: No OFD packet to send [11:08:33]OFD Sender: No OFD packet to send [11:08:38]OFD Sender: No OFD packet to send [11:08:43]OFD Sender: No OFD packet to send [11:08:48]OFD Sender: No OFD packet to send [11:08:53]OFD Sender: No OFD packet to send [11:08:58]OFD Sender: No OFD packet to send [11:09:03]OFD Sender: No OFD packet to send [11:09:08]OFD Sender: No OFD packet to send [11:09:13]OFD Sender: No OFD packet to send [11:09:18]OFD Sender: No OFD packet to send [11:09:23]OFD Sender: No OFD packet to send [11:09:28]OFD Sender: No OFD packet to send [11:09:33]OFD Sender: No OFD packet to send [11:09:38]OFD Sender: No OFD packet to send [11:09:43]OFD Sender: No OFD packet to send [11:09:48]OFD Sender: No OFD packet to send [11:09:53]OFD Sender: No OFD packet to send [11:09:58]OFD Sender: No OFD packet to send [11:10:03]OFD Sender: No OFD packet to send [11:10:08]OFD Sender: No OFD packet to send [11:10:13]OFD Sender: No OFD packet to send [11:10:18]OFD Sender: No OFD packet to send [11:10:23]OFD Sender: No OFD packet to send [11:10:28]OFD Sender: No OFD packet to send [11:10:33]OFD Sender: No OFD packet to send [11:10:38]OFD Sender: No OFD packet to send [11:10:43]OFD Sender: No OFD packet to send [11:10:48]OFD Sender: No OFD packet to send [11:10:53]OFD Sender: No OFD packet to send [11:10:58]OFD Sender: No OFD packet to send [11:11:03]OFD Sender: No OFD packet to send [11:11:08]OFD Sender: No OFD packet to send [11:11:13]OFD Sender: No OFD packet to send [11:11:18]OFD Sender: No OFD packet to send [11:11:23]OFD Sender: No OFD packet to send [11:11:28]OFD Sender: No OFD packet to send [11:11:33]OFD Sender: No OFD packet to send [11:11:38]OFD Sender: No OFD packet to send [11:11:43]OFD Sender: No OFD packet to send [11:11:48]OFD Sender: No OFD packet to send [11:11:53]OFD Sender: No OFD packet to send [11:11:58]OFD Sender: No OFD packet to send [11:12:03]OFD Sender: No OFD packet to send [11:12:08]OFD Sender: No OFD packet to send [11:12:13]OFD Sender: No OFD packet to send [11:12:18]OFD Sender: No OFD packet to send [11:12:23]OFD Sender: No OFD packet to send [11:12:28]OFD Sender: No OFD packet to send [11:12:33]OFD Sender: No OFD packet to send [11:12:38]OFD Sender: No OFD packet to send [11:12:43]OFD Sender: No OFD packet to send [11:12:48]OFD Sender: No OFD packet to send [11:12:53]OFD Sender: No OFD packet to send [11:12:58]OFD Sender: No OFD packet to send [11:13:03]OFD Sender: No OFD packet to send [11:13:08]OFD Sender: No OFD packet to send [11:13:13]OFD Sender: No OFD packet to send [11:13:18]OFD Sender: No OFD packet to send [11:13:23]OFD Sender: No OFD packet to send [11:13:28]OFD Sender: No OFD packet to send [11:13:33]OFD Sender: No OFD packet to send [11:13:38]OFD Sender: No OFD packet to send [11:13:43]OFD Sender: No OFD packet to send [11:13:48]OFD Sender: No OFD packet to send [11:13:53]OFD Sender: No OFD packet to send [11:13:58]OFD Sender: No OFD packet to send [11:14:03]OFD Sender: No OFD packet to send [11:14:08]OFD Sender: No OFD packet to send [11:14:13]OFD Sender: No OFD packet to send [11:14:18]OFD Sender: No OFD packet to send [11:14:23]OFD Sender: No OFD packet to send [11:14:28]OFD Sender: No OFD packet to send [11:14:33]OFD Sender: No OFD packet to send [11:14:38]OFD Sender: No OFD packet to send [11:14:43]OFD Sender: No OFD packet to send [11:14:48]OFD Sender: No OFD packet to send [11:14:53]OFD Sender: No OFD packet to send [11:14:58]OFD Sender: No OFD packet to send [11:15:03]OFD Sender: No OFD packet to send [11:15:08]OFD Sender: No OFD packet to send [11:15:13]OFD Sender: No OFD packet to send [11:15:18]OFD Sender: No OFD packet to send [11:15:23]OFD Sender: No OFD packet to send [11:15:28]OFD Sender: No OFD packet to send [11:15:33]OFD Sender: No OFD packet to send [11:15:38]OFD Sender: No OFD packet to send [11:15:43]OFD Sender: No OFD packet to send [11:15:48]OFD Sender: No OFD packet to send [11:15:53]OFD Sender: No OFD packet to send [11:15:58]OFD Sender: No OFD packet to send [11:16:03]OFD Sender: No OFD packet to send [11:16:08]OFD Sender: No OFD packet to send [11:16:13]OFD Sender: No OFD packet to send [11:16:18]OFD Sender: No OFD packet to send [11:16:23]OFD Sender: No OFD packet to send [11:16:28]OFD Sender: No OFD packet to send [11:16:33]OFD Sender: No OFD packet to send [11:16:38]OFD Sender: No OFD packet to send [11:17:53]OFD Sender: No OFD packet to send [11:17:58]OFD Sender: No OFD packet to send [11:18:03]OFD Sender: No OFD packet to send [11:18:08]OFD Sender: No OFD packet to send [11:18:13]OFD Sender: No OFD packet to send [11:18:18]OFD Sender: No OFD packet to send [11:18:23]OFD Sender: No OFD packet to send [11:18:28]OFD Sender: No OFD packet to send [11:18:33]OFD Sender: No OFD packet to send [11:18:38]OFD Sender: No OFD packet to send [11:18:43]OFD Sender: No OFD packet to send [11:18:48]OFD Sender: No OFD packet to send [11:18:53]OFD Sender: No OFD packet to send [11:18:58]OFD Sender: No OFD packet to send [11:19:03]OFD Sender: No OFD packet to send [11:19:08]OFD Sender: No OFD packet to send [11:19:13]OFD Sender: No OFD packet to send [11:19:18]OFD Sender: No OFD packet to send [11:19:23]OFD Sender: No OFD packet to send [11:19:28]OFD Sender: No OFD packet to send [11:19:33]OFD Sender: No OFD packet to send [11:19:38]OFD Sender: No OFD packet to send [11:19:43]OFD Sender: No OFD packet to send [11:19:48]OFD Sender: No OFD packet to send [11:19:53]OFD Sender: No OFD packet to send [11:19:58]OFD Sender: No OFD packet to send [11:20:03]OFD Sender: No OFD packet to send [11:20:06]ConnectInit Can't connect to host [11:20:08]OFD Sender: No OFD packet to send [11:20:13]OFD Sender: No OFD packet to send [11:20:18]OFD Sender: No OFD packet to send [11:20:23]OFD Sender: No OFD packet to send [11:20:28]OFD Sender: No OFD packet to send [11:20:33]OFD Sender: No OFD packet to send [11:20:38]OFD Sender: No OFD packet to send [11:20:43]OFD Sender: No OFD packet to send [11:20:48]OFD Sender: No OFD packet to send [11:20:53]OFD Sender: No OFD packet to send [11:20:58]OFD Sender: No OFD packet to send [11:21:03]OFD Sender: No OFD packet to send [11:21:08]OFD Sender: No OFD packet to send [11:21:13]OFD Sender: No OFD packet to send [11:21:18]OFD Sender: No OFD packet to send [11:21:23]OFD Sender: No OFD packet to send [11:21:28]OFD Sender: No OFD packet to send [11:21:33]OFD Sender: No OFD packet to send [11:21:39]OFD Sender: No OFD packet to send [11:21:44]OFD Sender: No OFD packet to send [11:21:49]OFD Sender: No OFD packet to send [11:21:54]OFD Sender: No OFD packet to send [11:21:59]OFD Sender: No OFD packet to send [11:22:04]OFD Sender: No OFD packet to send [11:22:09]OFD Sender: No OFD packet to send [11:22:14]OFD Sender: No OFD packet to send [11:22:19]OFD Sender: No OFD packet to send [11:22:24]OFD Sender: No OFD packet to send [11:22:29]OFD Sender: No OFD packet to send [11:22:34]OFD Sender: No OFD packet to send [11:22:39]OFD Sender: No OFD packet to send [11:22:44]OFD Sender: No OFD packet to send [11:22:49]OFD Sender: No OFD packet to send [11:22:54]OFD Sender: No OFD packet to send [11:22:59]OFD Sender: No OFD packet to send [11:23:04]OFD Sender: No OFD packet to send [11:23:09]OFD Sender: No OFD packet to send [11:23:14]OFD Sender: No OFD packet to send [11:23:19]OFD Sender: No OFD packet to send [11:23:24]OFD Sender: No OFD packet to send [11:23:29]OFD Sender: No OFD packet to send [11:23:34]OFD Sender: No OFD packet to send [11:23:39]OFD Sender: No OFD packet to send [11:23:44]OFD Sender: No OFD packet to send [11:23:49]OFD Sender: No OFD packet to send [11:23:54]OFD Sender: No OFD packet to send [11:23:59]OFD Sender: No OFD packet to send [11:24:04]OFD Sender: No OFD packet to send [11:24:09]OFD Sender: No OFD packet to send [11:24:14]OFD Sender: No OFD packet to send [11:24:19]OFD Sender: No OFD packet to send [11:24:24]OFD Sender: No OFD packet to send [11:24:29]OFD Sender: No OFD packet to send [11:24:34]OFD Sender: No OFD packet to send [11:24:39]OFD Sender: No OFD packet to send [11:24:44]OFD Sender: No OFD packet to send [11:24:49]OFD Sender: No OFD packet to send [11:24:54]OFD Sender: No OFD packet to send [11:24:59]OFD Sender: No OFD packet to send [11:25:04]OFD Sender: No OFD packet to send [11:25:09]OFD Sender: No OFD packet to send [11:25:14]OFD Sender: No OFD packet to send [11:25:19]OFD Sender: No OFD packet to send [11:25:24]OFD Sender: No OFD packet to send [11:25:29]OFD Sender: No OFD packet to send [11:25:34]OFD Sender: No OFD packet to send [11:25:39]OFD Sender: No OFD packet to send [11:25:44]OFD Sender: No OFD packet to send [11:25:49]OFD Sender: No OFD packet to send [11:25:54]OFD Sender: No OFD packet to send [11:25:59]OFD Sender: No OFD packet to send [11:26:04]OFD Sender: No OFD packet to send [11:26:09]OFD Sender: No OFD packet to send [11:26:14]OFD Sender: No OFD packet to send [11:26:19]OFD Sender: No OFD packet to send [11:26:24]OFD Sender: No OFD packet to send [11:26:29]OFD Sender: No OFD packet to send [11:26:34]OFD Sender: No OFD packet to send [11:26:39]OFD Sender: No OFD packet to send [11:26:44]OFD Sender: No OFD packet to send [11:26:49]OFD Sender: No OFD packet to send [11:26:54]OFD Sender: No OFD packet to send [11:26:59]OFD Sender: No OFD packet to send [11:27:04]OFD Sender: No OFD packet to send [11:27:09]OFD Sender: No OFD packet to send [11:27:14]OFD Sender: No OFD packet to send [11:27:19]OFD Sender: No OFD packet to send [11:27:19]accept exits with 9 [11:27:19]New connection [11:27:19]New thread 3067440484 created [11:27:19]Thread 3067297124 joined [11:27:19]Waiting for new connection... [11:27:19] Sock 9.Parse request [11:27:19]Sock 9.Check first char [11:27:19]Sock 9.First char is OK [11:27:19]request: POST /json_proto HTTP/1.0 [11:27:19]Method: POST [11:27:19]URL: /json_proto [11:27:19]Method is POST - this is cgi request [11:27:19]url: /json_proto [11:27:19]query_string will be loaded in cgi processing [11:27:19]execute_cgi json_proto POST (null) [11:27:19]execute_cgi path=json_proto method=POST [11:27:19]POST find Content-Length [11:27:19]Host: 172.17.40.196:8080 [11:27:19]Content-Length: 622 [11:27:19]Content-Type: application/json [11:27:19] [11:27:19]POST finish read [11:27:19]Found Content-Length = 622 [11:27:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35078", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:27:19]execute_script... [11:27:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35078", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:27:19]POST & json_proto [11:27:19]process_json_proto [11:27:19]json parsed OK: [11:27:19]protocol is kg_v1.0 [11:27:19]action value=close_receipt [11:27:19]process_action close_receipt [11:27:19]cmd_close_receipt [11:27:19]MH_GetDate [11:27:19]Write to MH i2c: F0 00 00 09 1D 15 [11:27:19]Write i2c OK [11:27:19]MH_I2C_Read... [11:27:19]Read from MH i2c: F0 [11:27:19]MH_I2C_Read... [11:27:19]Read from MH i2c: F0 09 00 [11:27:19]MH_I2C_Read... [11:27:19]Read from MH i2c: F0 09 00 09 1D 00 1F 75 1F 67 5B 68 A1 66 02 [11:27:19]GetLastDocTimeStamp 1730113707 [11:27:19]current date 1730114847 [11:27:19]FM_GetShiftState [11:27:19]SAM_PROTO_GetShiftState [11:27:19]wFMCommunicate request_size=4 [11:27:19]MH_SAM_APDU [11:27:19]CAPDU: 80 13 01 00 [11:27:19]Write to MH i2c: E2 08 00 0A 1D 80 13 01 00 00 00 00 00 A4 [11:27:19]Write i2c OK [11:27:19]MH_I2C_Read... [11:27:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:27:19]Read from MH i2c: E2 [11:27:19]MH_I2C_Read... [11:27:19]Read from MH i2c: E2 0E 00 [11:27:19]MH_I2C_Read... [11:27:19]Read from MH i2c: E2 0E 00 0A 1D 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 26 [11:27:19]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [11:27:19]wFMCommunicate OK [11:27:19]SAM_PROTO_GetShiftState done [11:27:19]FM_GetShiftState done [11:27:19]opened in 1730073884 [11:27:19]opened+sec_in_day 1730160284 [11:27:19]quantity*price = 14400 [11:27:19]sum+1 = 14401 [11:27:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 22 28.10.2024 11:27 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37779 ФПД: 140853943897454 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T112727&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37779&fm=140853943897454&tin=02508201610067®Number=0000000000091684&sum=14400 0 [11:27:20]StoreToDocumentArchive [11:27:20]shift 551 fd 37779 [11:27:20]save to /storage/0551/doc_00037779 [11:27:20]save last doc name /storage/0551/doc_00037779 to /storage/kkm_last_doc_name [11:27:20]save OK [11:27:20]Clear old archive folders... [11:27:20]ProcessDocumentItem done err = 0, tmpTLVsize=275 [11:27:20]tlvbuf is 0027B490 [11:27:20]SAM_PROTO_ClearQueue [11:27:20]wFMCommunicate request_size=4 [11:27:20]MH_SAM_APDU [11:27:20]CAPDU: 80 09 00 00 [11:27:20]Write to MH i2c: E2 08 00 17 1D 80 09 00 00 00 00 00 00 A6 [11:27:20]Write i2c OK [11:27:20]MH_I2C_Read... [11:27:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:27:20]Read from MH i2c: E2 [11:27:20]MH_I2C_Read... [11:27:20]Read from MH i2c: E2 03 00 [11:27:20]MH_I2C_Read... [11:27:20]Read from MH i2c: E2 03 00 17 1D 00 90 00 A8 [11:27:20]RAPDU: 90 00 [11:27:20]wFMCommunicate OK [11:27:20]SAM_PROTO_ClearQueue done [11:27:20]KKMCreateOFDPacket [11:27:20]OFDProtocolAddRootSTLVToBuf [11:27:20]FM_MakeSignedData [11:27:20]FM_MakeSignedData [11:27:20]SAM_PROTO_SignData [11:27:20]wFMCommunicate request_size=4 [11:27:20]MH_SAM_APDU [11:27:20]CAPDU: 80 0D 01 02 [11:27:20]Write to MH i2c: E2 08 00 18 1D 80 0D 01 02 00 00 00 00 AE [11:27:20]Write i2c OK [11:27:20]MH_I2C_Read... [11:27:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:27:20]Read from MH i2c: E2 [11:27:20]MH_I2C_Read... [11:27:20]Read from MH i2c: E2 03 00 [11:27:20]MH_I2C_Read... [11:27:20]Read from MH i2c: E2 03 00 18 1D 00 90 00 A9 [11:27:20]RAPDU: 90 00 [11:27:20]wFMCommunicate OK [11:27:20]wFMCommunicate request_size=255 [11:27:20]MH_SAM_APDU [11:27:20]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1F 75 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 [11:27:20]Write to MH i2c: E2 02 01 19 1D 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1F 75 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 00 00 0F [11:27:20]Write i2c OK [11:27:20]MH_I2C_Read... [11:27:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:27:21]Read from MH i2c: E2 [11:27:21]MH_I2C_Read... [11:27:21]Read from MH i2c: E2 03 00 [11:27:21]MH_I2C_Read... [11:27:21]Read from MH i2c: E2 03 00 19 1D 00 90 00 AA [11:27:21]RAPDU: 90 00 [11:27:21]wFMCommunicate OK [11:27:21]wFMCommunicate request_size=34 [11:27:21]MH_SAM_APDU [11:27:21]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 93 93 00 00 35 04 06 00 80 1B 1D 4A 8D 6E [11:27:21]Write to MH i2c: E2 25 00 1A 1D 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 93 93 00 00 35 04 06 00 80 1B 1D 4A 8D 6E 00 00 92 [11:27:21]Write i2c OK [11:27:21]MH_I2C_Read... [11:27:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:27:21]Read from MH i2c: E2 [11:27:21]MH_I2C_Read... [11:27:21]Read from MH i2c: E2 03 00 [11:27:21]MH_I2C_Read... [11:27:21]Read from MH i2c: E2 03 00 1A 1D 00 90 00 AB [11:27:21]RAPDU: 90 00 [11:27:21]wFMCommunicate OK [11:27:21]wFMCommunicate request_size=4 [11:27:21]MH_SAM_APDU [11:27:21]CAPDU: 80 0D 03 02 [11:27:21]Write to MH i2c: E2 08 00 1B 1D 80 0D 03 02 00 00 00 00 B3 [11:27:21]Write i2c OK [11:27:21]MH_I2C_Read... [11:27:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:27:21]Read from MH i2c: E2 [11:27:21]MH_I2C_Read... [11:27:21]Read from MH i2c: E2 0B 00 [11:27:21]MH_I2C_Read... [11:27:21]Read from MH i2c: E2 0B 00 1B 1D 00 74 A3 41 4D 63 64 9A 81 90 00 3B [11:27:21]RAPDU: 74 A3 41 4D 63 64 9A 81 90 00 [11:27:21]wFMCommunicate OK [11:27:21]SAM_PROTO_SignData done [11:27:21]FM_MakeSignedData done [11:27:21]CreateOFDProtocolMessage [11:27:21]wFMCommunicate request_size=4 [11:27:21]MH_SAM_APDU [11:27:21]CAPDU: 80 11 00 00 [11:27:21]Write to MH i2c: E2 08 00 1C 1D 80 11 00 00 00 00 00 00 B3 [11:27:21]Write i2c OK [11:27:21]MH_I2C_Read... [11:27:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:27:21]Read from MH i2c: E2 [11:27:21]MH_I2C_Read... [11:27:21]Read from MH i2c: E2 17 00 [11:27:21]MH_I2C_Read... [11:27:21]Read from MH i2c: E2 17 00 1C 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 03 [11:27:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:27:21]wFMCommunicate OK [11:27:21]CreateOFDProtocolMessage done [11:27:21]OFDSenderStorePacket 37779 [11:27:21]StoreOFDPacket docnum=37779 [11:27:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 27 01 00 00 54 C2 1F 01 A7 10 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1F 75 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 93 93 00 00 35 04 06 00 80 1B 1D 4A 8D 6E 74 A3 41 4D 63 64 9A 81 [11:27:21]CheckFolder [11:27:21]dirname=/storage/ofd_packets [11:27:21]CheckFolder done [11:27:21]ProducePacketName [11:27:21]name=ofd_packets/00037779 [11:27:21]NVStorageSaveData ofd_packets/00037779 [11:27:21]File name is /storage/ofd_packets/00037779 [11:27:21]Write 325 bytes [11:27:21]NVStorageSaveData done [11:27:21]OFDSenderStorePacket done [11:27:21]KKMCreateOFDPacket done [11:27:21]NVStorageSaveData kkm_last_timestamp [11:27:21]File name is /storage/kkm_last_timestamp [11:27:21]Write 4 bytes [11:27:21]NVStorageSaveData done [11:27:21]ExternCall_PrintAddStr [11:27:21]wPrintStart [11:27:21]Write to MH i2c: 01 00 00 1D 1D 3A [11:27:21]Write i2c OK [11:27:21]MH_I2C_Read... [11:27:21]Read from MH i2c: 01 [11:27:21]MH_I2C_Read... [11:27:21]Read from MH i2c: 01 07 00 [11:27:21]MH_I2C_Read... [11:27:21]Read from MH i2c: 01 07 00 1D 1D 00 00 00 00 00 FF 0F 4F [11:27:21]RasterBufferAndPrint [11:27:21]line Счет N : (3)35078 [11:27:21]line ИНН: 02508201610067 [11:27:21]line Контрольно-Кассовый Чек [11:27:21]line ПРОДАЖА [11:27:21]line Товар: 48743587 [11:27:21]line Сигареты Winston XStyle Silver [11:27:21]line 1.000 * 144.00 [11:27:21]line = 144.00 [11:27:21]line НДС 12% НСП 1% [11:27:21]line > о реализуемом товаре [11:27:21]line ИТОГО: 144.00 [11:27:21]line НСП 1% : 1.27 [11:27:21]line НДС 12% : 15.29 [11:27:21]line Наличными: 144.00 [11:27:21]line Безнал.: 0.00 [11:27:21]line Место: АЗС № 126 "Партнер Нефть" [11:27:21]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [11:27:21]line СНО: Общий режим [11:27:21]line Чек 22 28.10.2024 11:27 [11:27:21]line Смена: 551 ФФД: 1.0 [11:27:21]line ЗНМ: 0300000092 [11:27:21]line РНМ: 0000000000091684 [11:27:21]line Версия ККМ: 001 [11:27:21]line ФМ: 0000000000871841 [11:27:21]line ФД: 37779 [11:27:21]line ФПД: 140853943897454 [11:27:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T112727&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37779&fm=140853943897454&tin=02508201610067®Number=0000000000091684&sum=14400 [11:27:21]line 0 [11:27:21]written 0, free lines is 4095 [11:27:21]OFD Sender: Processing packet 37779 [packets to send 42, broken 41] [11:27:21]ProducePacketName [11:27:21]name=ofd_packets/00037779 [11:27:21]OFD Sender: To server: pG, [11:27:21]CommunicateWithHost lk.salyk.kg:30040 [11:27:21]ConnectInit lk.salyk.kg [11:27:21]Connected sock=10 [11:27:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 27 01 00 00 54 C2 1F 01 A7 10 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1F 75 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 93 93 00 00 35 04 06 00 80 1B 1D 4A 8D 6E 74 A3 41 4D 63 64 9A 81 [11:27:21]Write to MH i2c: 01 00 00 46 1D 63 [11:27:21]Write i2c OK [11:27:21]MH_I2C_Read... [11:27:21]Read from MH i2c: 01 [11:27:21]MH_I2C_Read... [11:27:21]Read from MH i2c: 01 07 00 [11:27:21]MH_I2C_Read... [11:27:21]Read from MH i2c: 01 07 00 46 1D 00 00 00 00 00 AF 0C 25 [11:27:21]RasterBufferAndPrint [11:27:21]line [11:27:21]line [11:27:21]line [11:27:21]line [11:27:21]line [11:27:21]written 0, free lines is 3251 [11:27:21]MH_Cut [11:27:21]Write to MH i2c: D1 01 00 4D 1D 01 3C [11:27:21]Write i2c OK [11:27:21]MH_I2C_Read... [11:27:21]Read from MH i2c: D1 [11:27:21]MH_I2C_Read... [11:27:21]Read from MH i2c: D1 01 00 [11:27:21]MH_I2C_Read... [11:27:21]Read from MH i2c: D1 01 00 4D 1D 00 3B [11:27:21]Write to MH i2c: 01 00 00 4E 1D 6B [11:27:21]Write i2c OK [11:27:21]MH_I2C_Read... [11:27:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 48 3C 47 00 1E 69 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 93 93 00 00 F4 03 04 00 13 20 1F 67 B6 04 01 00 00 36 7B 19 8F DD 93 08 B9 [11:27:21]CommunicateWithHost err = 0 [11:27:21]CheckOFDResponse [11:27:21]1017 (14) - 77093643461234 [11:27:21]1041 (16) - 0000000000871841 [11:27:21]1040 (4) - 37779 [11:27:21]1012 (4) - 28.10.2024 05:24 [11:27:21]1206 (1) - 0 [11:27:21]OFD Sender: Remove packet 37779 [11:27:21]ProducePacketName [11:27:21]name=ofd_packets/00037779 [11:27:21]NVStorageDeleteData [11:27:22]OFD Sender: No OFD packet to send [11:27:22]*** Cut start [11:27:22]*** Partial cut [11:27:22]*** CUTSNS_PIN = 1 [11:27:22]*** CUTSNS_PIN = 0 [11:27:22]*** Brake cut motor [11:27:23]Read from MH i2c: 01 [11:27:23]MH_I2C_Read... [11:27:23]*** Stop cut motor [11:27:23]*** Cut end [11:27:23]Read from MH i2c: 01 07 00 [11:27:23]MH_I2C_Read... [11:27:23]Read from MH i2c: 01 07 00 4E 1D 00 00 00 00 00 FF 0F 80 [11:27:23]process_action close_receipt done [11:27:23]requested_data is exist [11:27:23]produce_requested_data [11:27:23]requested_item fm.sn is exist - process it [11:27:23]wFMCommunicate request_size=4 [11:27:23]MH_SAM_APDU [11:27:23]CAPDU: 80 11 00 00 [11:27:23]Write to MH i2c: E2 08 00 4F 1D 80 11 00 00 00 00 00 00 E6 [11:27:23]Write i2c OK [11:27:23]MH_I2C_Read... [11:27:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:27:23]Read from MH i2c: E2 [11:27:23]MH_I2C_Read... [11:27:23]Read from MH i2c: E2 17 00 [11:27:23]MH_I2C_Read... [11:27:23]Read from MH i2c: E2 17 00 4F 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 36 [11:27:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:27:23]wFMCommunicate OK [11:27:23]requested_item fd.num is exist - process it [11:27:23]SAM_PROTO_GetFieldsCounters [11:27:23]wFMCommunicate request_size=4 [11:27:23]MH_SAM_APDU [11:27:23]CAPDU: 80 13 00 00 [11:27:23]Write to MH i2c: E2 08 00 50 1D 80 13 00 00 00 00 00 00 E9 [11:27:23]Write i2c OK [11:27:23]MH_I2C_Read... [11:27:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:27:23]Read from MH i2c: E2 [11:27:23]MH_I2C_Read... [11:27:23]Read from MH i2c: E2 62 00 [11:27:23]MH_I2C_Read... [11:27:23]Read from MH i2c: E2 62 00 50 1D 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 93 93 00 00 0E 04 04 00 27 02 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 9B [11:27:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 93 93 00 00 0E 04 04 00 27 02 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 [11:27:23]wFMCommunicate OK [11:27:23]SAM_PROTO_GetFieldsCounters done [11:27:23]requested_item shift.num is exist - process it [11:27:23]requested_item shift.opened is exist - process it [11:27:23]req_shift_opened [11:27:23]FM_GetShiftState [11:27:23]SAM_PROTO_GetShiftState [11:27:23]wFMCommunicate request_size=4 [11:27:23]MH_SAM_APDU [11:27:23]CAPDU: 80 13 01 00 [11:27:23]Write to MH i2c: E2 08 00 51 1D 80 13 01 00 00 00 00 00 EB [11:27:23]Write i2c OK [11:27:23]MH_I2C_Read... [11:27:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:27:23]Read from MH i2c: E2 [11:27:23]MH_I2C_Read... [11:27:23]Read from MH i2c: E2 0E 00 [11:27:23]MH_I2C_Read... [11:27:23]Read from MH i2c: E2 0E 00 51 1D 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 6D [11:27:23]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [11:27:23]wFMCommunicate OK [11:27:23]SAM_PROTO_GetShiftState done [11:27:23]FM_GetShiftState done [11:27:23]req_shift_opened done [11:27:23]requested_item shift.open_date is exist - process it [11:27:23]req_shift_open_date [11:27:23]req_shift_open_date done [11:27:23]produce_requested_data done [11:27:23]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37779,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [11:27:23]process_action_free close_receipt [11:27:23]json_value_free [11:27:23]json_value_free done [11:27:23]process_json_proto returns [11:27:23]Send response to host [11:27:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37779,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [11:27:23]free response buf [11:27:23]execute_script done [11:27:23]execute_script returns [11:27:23]free content buf [11:27:23]Sock 9.Close socket [11:27:23]Sock 9.Thread stoped [11:27:27]OFD Sender: No OFD packet to send [11:27:32]OFD Sender: No OFD packet to send [11:27:37]OFD Sender: No OFD packet to send [11:27:42]OFD Sender: No OFD packet to send [11:27:47]OFD Sender: No OFD packet to send [11:27:52]OFD Sender: No OFD packet to send [11:27:57]OFD Sender: No OFD packet to send [11:28:02]OFD Sender: No OFD packet to send [11:28:07]OFD Sender: No OFD packet to send [11:28:12]OFD Sender: No OFD packet to send [11:28:17]OFD Sender: No OFD packet to send [11:28:22]OFD Sender: No OFD packet to send [11:28:27]OFD Sender: No OFD packet to send [11:28:32]OFD Sender: No OFD packet to send [11:28:37]OFD Sender: No OFD packet to send [11:28:42]OFD Sender: No OFD packet to send [11:28:47]OFD Sender: No OFD packet to send [11:28:52]OFD Sender: No OFD packet to send [11:28:57]OFD Sender: No OFD packet to send [11:29:02]OFD Sender: No OFD packet to send [11:29:07]OFD Sender: No OFD packet to send [11:29:12]OFD Sender: No OFD packet to send [11:29:17]OFD Sender: No OFD packet to send [11:29:22]OFD Sender: No OFD packet to send [11:29:27]OFD Sender: No OFD packet to send [11:29:32]OFD Sender: No OFD packet to send [11:29:37]OFD Sender: No OFD packet to send [11:29:42]OFD Sender: No OFD packet to send [11:29:47]OFD Sender: No OFD packet to send [11:29:52]OFD Sender: No OFD packet to send [11:29:57]OFD Sender: No OFD packet to send [11:30:02]OFD Sender: No OFD packet to send [11:30:07]OFD Sender: No OFD packet to send [11:30:11]accept exits with 7 [11:30:11]New connection [11:30:11]New thread 3067297124 created [11:30:11]Thread 3067440484 joined [11:30:11]Waiting for new connection... [11:30:11] Sock 7.Parse request [11:30:11]Sock 7.Check first char [11:30:11]Sock 7.First char is OK [11:30:11]request: POST /json_proto HTTP/1.0 [11:30:11]Method: POST [11:30:11]URL: /json_proto [11:30:11]Method is POST - this is cgi request [11:30:11]url: /json_proto [11:30:11]query_string will be loaded in cgi processing [11:30:11]execute_cgi json_proto POST (null) [11:30:11]execute_cgi path=json_proto method=POST [11:30:11]POST find Content-Length [11:30:11]Host: 172.17.40.196:8080 [11:30:11]Content-Length: 666 [11:30:11]Content-Type: application/json [11:30:11] [11:30:11]POST finish read [11:30:11]Found Content-Length = 666 [11:30:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35079", "tax_sys" : 0, "items" : [ { "code": "4700002082191", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,46\u043B", "price" : 350.00, "quantity" : 1.000, "sum" : 350.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 350.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:30:11]execute_script... [11:30:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35079", "tax_sys" : 0, "items" : [ { "code": "4700002082191", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,46\u043B", "price" : 350.00, "quantity" : 1.000, "sum" : 350.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 350.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:30:11]POST & json_proto [11:30:11]process_json_proto [11:30:11]json parsed OK: [11:30:11]protocol is kg_v1.0 [11:30:11]action value=close_receipt [11:30:11]process_action close_receipt [11:30:11]cmd_close_receipt [11:30:11]MH_GetDate [11:30:11]Write to MH i2c: F0 00 00 52 1D 5E [11:30:11]Write i2c OK [11:30:11]MH_I2C_Read... [11:30:11]Read from MH i2c: F0 [11:30:11]MH_I2C_Read... [11:30:11]Read from MH i2c: F0 09 00 [11:30:11]MH_I2C_Read... [11:30:11]Read from MH i2c: F0 09 00 52 1D 00 CA 75 1F 67 5B 68 A1 66 F6 [11:30:11]GetLastDocTimeStamp 1730114847 [11:30:11]current date 1730115018 [11:30:11]FM_GetShiftState [11:30:11]SAM_PROTO_GetShiftState [11:30:11]wFMCommunicate request_size=4 [11:30:11]MH_SAM_APDU [11:30:11]CAPDU: 80 13 01 00 [11:30:11]Write to MH i2c: E2 08 00 53 1D 80 13 01 00 00 00 00 00 ED [11:30:11]Write i2c OK [11:30:11]MH_I2C_Read... [11:30:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:30:11]Read from MH i2c: E2 [11:30:11]MH_I2C_Read... [11:30:11]Read from MH i2c: E2 0E 00 [11:30:11]MH_I2C_Read... [11:30:11]Read from MH i2c: E2 0E 00 53 1D 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 6F [11:30:11]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [11:30:11]wFMCommunicate OK [11:30:11]SAM_PROTO_GetShiftState done [11:30:11]FM_GetShiftState done [11:30:11]opened in 1730073884 [11:30:11]opened+sec_in_day 1730160284 [11:30:11]quantity*price = 35000 [11:30:11]sum+1 = 35001 [11:30:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 350.00 НСП 1% : 3.10 НДС 12% : 37.17 Наличными: 350.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 23 28.10.2024 11:30 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37780 ФПД: 78092554399785 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T113018&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37780&fm=78092554399785&tin=02508201610067®Number=0000000000091684&sum=35000 0 [11:30:12]StoreToDocumentArchive [11:30:12]shift 551 fd 37780 [11:30:12]save to /storage/0551/doc_00037780 [11:30:12]save last doc name /storage/0551/doc_00037780 to /storage/kkm_last_doc_name [11:30:12]save OK [11:30:12]Clear old archive folders... [11:30:12]ProcessDocumentItem done err = 0, tmpTLVsize=283 [11:30:12]tlvbuf is 00278C00 [11:30:12]SAM_PROTO_ClearQueue [11:30:12]wFMCommunicate request_size=4 [11:30:12]MH_SAM_APDU [11:30:12]CAPDU: 80 09 00 00 [11:30:12]Write to MH i2c: E2 08 00 60 1D 80 09 00 00 00 00 00 00 EF [11:30:12]Write i2c OK [11:30:12]MH_I2C_Read... [11:30:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:30:12]Read from MH i2c: E2 [11:30:12]MH_I2C_Read... [11:30:12]Read from MH i2c: E2 03 00 [11:30:12]MH_I2C_Read... [11:30:12]Read from MH i2c: E2 03 00 60 1D 00 90 00 F1 [11:30:12]RAPDU: 90 00 [11:30:12]wFMCommunicate OK [11:30:12]SAM_PROTO_ClearQueue done [11:30:12]KKMCreateOFDPacket [11:30:12]OFDProtocolAddRootSTLVToBuf [11:30:12]FM_MakeSignedData [11:30:12]FM_MakeSignedData [11:30:12]SAM_PROTO_SignData [11:30:12]wFMCommunicate request_size=4 [11:30:12]MH_SAM_APDU [11:30:12]CAPDU: 80 0D 01 02 [11:30:12]Write to MH i2c: E2 08 00 61 1D 80 0D 01 02 00 00 00 00 F7 [11:30:12]Write i2c OK [11:30:12]MH_I2C_Read... [11:30:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:30:12]Read from MH i2c: E2 [11:30:12]MH_I2C_Read... [11:30:12]Read from MH i2c: E2 03 00 [11:30:12]MH_I2C_Read... [11:30:12]Read from MH i2c: E2 03 00 61 1D 00 90 00 F2 [11:30:12]RAPDU: 90 00 [11:30:12]wFMCommunicate OK [11:30:12]wFMCommunicate request_size=255 [11:30:12]MH_SAM_APDU [11:30:12]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 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 CA 75 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 [11:30:12]Write to MH i2c: E2 02 01 62 1D 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 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 CA 75 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 00 00 7A [11:30:12]Write i2c OK [11:30:12]MH_I2C_Read... [11:30:12]OFD Sender: No OFD packet to send [11:30:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:30:12]Read from MH i2c: E2 [11:30:12]MH_I2C_Read... [11:30:12]Read from MH i2c: E2 03 00 [11:30:12]MH_I2C_Read... [11:30:12]Read from MH i2c: E2 03 00 62 1D 00 90 00 F3 [11:30:12]RAPDU: 90 00 [11:30:12]wFMCommunicate OK [11:30:12]wFMCommunicate request_size=42 [11:30:12]MH_SAM_APDU [11:30:12]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 94 93 00 00 35 04 06 00 47 06 56 F6 F0 29 [11:30:12]Write to MH i2c: E2 2D 00 63 1D 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 94 93 00 00 35 04 06 00 47 06 56 F6 F0 29 00 00 A5 [11:30:12]Write i2c OK [11:30:12]MH_I2C_Read... [11:30:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:30:12]Read from MH i2c: E2 [11:30:12]MH_I2C_Read... [11:30:12]Read from MH i2c: E2 03 00 [11:30:12]MH_I2C_Read... [11:30:12]Read from MH i2c: E2 03 00 63 1D 00 90 00 F4 [11:30:12]RAPDU: 90 00 [11:30:12]wFMCommunicate OK [11:30:12]wFMCommunicate request_size=4 [11:30:12]MH_SAM_APDU [11:30:12]CAPDU: 80 0D 03 02 [11:30:12]Write to MH i2c: E2 08 00 64 1D 80 0D 03 02 00 00 00 00 FC [11:30:12]Write i2c OK [11:30:12]MH_I2C_Read... [11:30:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:30:12]Read from MH i2c: E2 [11:30:12]MH_I2C_Read... [11:30:12]Read from MH i2c: E2 0B 00 [11:30:12]MH_I2C_Read... [11:30:12]Read from MH i2c: E2 0B 00 64 1D 00 87 41 3F 17 DE AD 67 06 90 00 13 [11:30:12]RAPDU: 87 41 3F 17 DE AD 67 06 90 00 [11:30:12]wFMCommunicate OK [11:30:12]SAM_PROTO_SignData done [11:30:12]FM_MakeSignedData done [11:30:12]CreateOFDProtocolMessage [11:30:12]wFMCommunicate request_size=4 [11:30:12]MH_SAM_APDU [11:30:12]CAPDU: 80 11 00 00 [11:30:12]Write to MH i2c: E2 08 00 65 1D 80 11 00 00 00 00 00 00 FC [11:30:12]Write i2c OK [11:30:12]MH_I2C_Read... [11:30:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:30:12]Read from MH i2c: E2 [11:30:12]MH_I2C_Read... [11:30:12]Read from MH i2c: E2 17 00 [11:30:12]MH_I2C_Read... [11:30:12]Read from MH i2c: E2 17 00 65 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4C [11:30:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:30:12]wFMCommunicate OK [11:30:12]CreateOFDProtocolMessage done [11:30:12]OFDSenderStorePacket 37780 [11:30:12]StoreOFDPacket docnum=37780 [11:30:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2F 01 00 00 93 37 27 01 52 D4 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 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 CA 75 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 94 93 00 00 35 04 06 00 47 06 56 F6 F0 29 87 41 3F 17 DE AD 67 06 [11:30:12]CheckFolder [11:30:12]dirname=/storage/ofd_packets [11:30:12]CheckFolder done [11:30:12]ProducePacketName [11:30:12]name=ofd_packets/00037780 [11:30:12]NVStorageSaveData ofd_packets/00037780 [11:30:12]File name is /storage/ofd_packets/00037780 [11:30:12]Write 333 bytes [11:30:12]NVStorageSaveData done [11:30:12]OFDSenderStorePacket done [11:30:12]KKMCreateOFDPacket done [11:30:12]NVStorageSaveData kkm_last_timestamp [11:30:12]File name is /storage/kkm_last_timestamp [11:30:12]Write 4 bytes [11:30:12]NVStorageSaveData done [11:30:12]ExternCall_PrintAddStr [11:30:12]wPrintStart [11:30:12]Write to MH i2c: 01 00 00 66 1D 83 [11:30:12]OFD Sender: Processing packet 37780 [packets to send 42, broken 41] [11:30:12]ProducePacketName [11:30:12]name=ofd_packets/00037780 [11:30:12]OFD Sender: To server: pG, [11:30:12]CommunicateWithHost lk.salyk.kg:30040 [11:30:12]ConnectInit lk.salyk.kg [11:30:12]Write i2c OK [11:30:12]MH_I2C_Read... [11:30:12]Read from MH i2c: 01 [11:30:12]MH_I2C_Read... [11:30:12]Read from MH i2c: 01 07 00 [11:30:12]MH_I2C_Read... [11:30:12]Read from MH i2c: 01 07 00 66 1D 00 00 00 00 00 FF 0F 98 [11:30:12]RasterBufferAndPrint [11:30:12]line Счет N : (3)35079 [11:30:12]line ИНН: 02508201610067 [11:30:12]line Контрольно-Кассовый Чек [11:30:12]line ПРОДАЖА [11:30:12]line Товар: 4700002082191 [11:30:12]line Водка Белое золото 0,46л [11:30:12]line 1.000 * 350.00 [11:30:12]line = 350.00 [11:30:12]line НДС 12% НСП 1% [11:30:12]line > о реализуемом товаре [11:30:12]line ИТОГО: 350.00 [11:30:12]line НСП 1% : 3.10 [11:30:12]line НДС 12% : 37.17 [11:30:12]line Наличными: 350.00 [11:30:12]line Безнал.: 0.00 [11:30:12]line Место: АЗС № 126 "Партнер Нефть" [11:30:12]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [11:30:12]line СНО: Общий режим [11:30:12]line Чек 23 28.10.2024 11:30 [11:30:12]line Смена: 551 ФФД: 1.0 [11:30:12]line ЗНМ: 0300000092 [11:30:12]line РНМ: 0000000000091684 [11:30:12]line Версия ККМ: 001 [11:30:12]line ФМ: 0000000000871841 [11:30:12]line ФД: 37780 [11:30:12]line ФПД: 78092554399785 [11:30:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T113018&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37780&fm=78092554399785&tin=02508201610067®Number=0000000000091684&sum=35000 [11:30:13]Connected sock=10 [11:30:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2F 01 00 00 93 37 27 01 52 D4 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 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 CA 75 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 94 93 00 00 35 04 06 00 47 06 56 F6 F0 29 87 41 3F 17 DE AD 67 06 [11:30:13]line 0 [11:30:13]written 0, free lines is 4095 [11:30:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 B2 72 47 00 AB 7E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 94 93 00 00 F4 03 04 00 BF 20 1F 67 B6 04 01 00 00 68 33 AD CB F7 F0 11 D7 [11:30:13]CommunicateWithHost err = 0 [11:30:13]CheckOFDResponse [11:30:13]1017 (14) - 77093643461234 [11:30:13]1041 (16) - 0000000000871841 [11:30:13]1040 (4) - 37780 [11:30:13]1012 (4) - 28.10.2024 05:27 [11:30:13]1206 (1) - 0 [11:30:13]OFD Sender: Remove packet 37780 [11:30:13]ProducePacketName [11:30:13]name=ofd_packets/00037780 [11:30:13]NVStorageDeleteData [11:30:13]Write to MH i2c: 01 00 00 8E 1D AB [11:30:13]Write i2c OK [11:30:13]MH_I2C_Read... [11:30:13]Read from MH i2c: 01 [11:30:13]MH_I2C_Read... [11:30:13]Read from MH i2c: 01 07 00 [11:30:13]MH_I2C_Read... [11:30:13]Read from MH i2c: 01 07 00 8E 1D 00 00 00 00 00 C3 0C 81 [11:30:13]RasterBufferAndPrint [11:30:13]line [11:30:13]line [11:30:13]line [11:30:13]line [11:30:13]line [11:30:13]written 0, free lines is 3271 [11:30:13]MH_Cut [11:30:13]Write to MH i2c: D1 01 00 95 1D 01 84 [11:30:13]Write i2c OK [11:30:13]MH_I2C_Read... [11:30:13]Read from MH i2c: D1 [11:30:13]MH_I2C_Read... [11:30:13]Read from MH i2c: D1 01 00 [11:30:13]MH_I2C_Read... [11:30:13]Read from MH i2c: D1 01 00 95 1D 00 83 [11:30:13]Write to MH i2c: 01 00 00 96 1D B3 [11:30:13]Write i2c OK [11:30:13]MH_I2C_Read... [11:30:14]OFD Sender: No OFD packet to send [11:30:14]*** Cut start [11:30:14]*** Partial cut [11:30:14]*** CUTSNS_PIN = 1 [11:30:14]*** CUTSNS_PIN = 0 [11:30:14]*** Brake cut motor [11:30:15]Read from MH i2c: 01 [11:30:15]MH_I2C_Read... [11:30:15]*** Stop cut motor [11:30:15]*** Cut end [11:30:15]Read from MH i2c: 01 07 00 [11:30:15]MH_I2C_Read... [11:30:15]Read from MH i2c: 01 07 00 96 1D 00 00 00 00 00 FF 0F C8 [11:30:15]process_action close_receipt done [11:30:15]requested_data is exist [11:30:15]produce_requested_data [11:30:15]requested_item fm.sn is exist - process it [11:30:15]wFMCommunicate request_size=4 [11:30:15]MH_SAM_APDU [11:30:15]CAPDU: 80 11 00 00 [11:30:15]Write to MH i2c: E2 08 00 97 1D 80 11 00 00 00 00 00 00 2E [11:30:15]Write i2c OK [11:30:15]MH_I2C_Read... [11:30:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:30:15]Read from MH i2c: E2 [11:30:15]MH_I2C_Read... [11:30:15]Read from MH i2c: E2 17 00 [11:30:15]MH_I2C_Read... [11:30:15]Read from MH i2c: E2 17 00 97 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 7E [11:30:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:30:15]wFMCommunicate OK [11:30:15]requested_item fd.num is exist - process it [11:30:15]SAM_PROTO_GetFieldsCounters [11:30:15]wFMCommunicate request_size=4 [11:30:15]MH_SAM_APDU [11:30:15]CAPDU: 80 13 00 00 [11:30:15]Write to MH i2c: E2 08 00 98 1D 80 13 00 00 00 00 00 00 31 [11:30:15]Write i2c OK [11:30:15]MH_I2C_Read... [11:30:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:30:15]Read from MH i2c: E2 [11:30:15]MH_I2C_Read... [11:30:15]Read from MH i2c: E2 62 00 [11:30:15]MH_I2C_Read... [11:30:15]Read from MH i2c: E2 62 00 98 1D 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 94 93 00 00 0E 04 04 00 27 02 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 E7 [11:30:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 94 93 00 00 0E 04 04 00 27 02 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 [11:30:15]wFMCommunicate OK [11:30:15]SAM_PROTO_GetFieldsCounters done [11:30:15]requested_item shift.num is exist - process it [11:30:15]requested_item shift.opened is exist - process it [11:30:15]req_shift_opened [11:30:15]FM_GetShiftState [11:30:15]SAM_PROTO_GetShiftState [11:30:15]wFMCommunicate request_size=4 [11:30:15]MH_SAM_APDU [11:30:15]CAPDU: 80 13 01 00 [11:30:15]Write to MH i2c: E2 08 00 99 1D 80 13 01 00 00 00 00 00 33 [11:30:15]Write i2c OK [11:30:15]MH_I2C_Read... [11:30:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:30:15]Read from MH i2c: E2 [11:30:15]MH_I2C_Read... [11:30:15]Read from MH i2c: E2 0E 00 [11:30:15]MH_I2C_Read... [11:30:15]Read from MH i2c: E2 0E 00 99 1D 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 B5 [11:30:15]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [11:30:15]wFMCommunicate OK [11:30:15]SAM_PROTO_GetShiftState done [11:30:15]FM_GetShiftState done [11:30:15]req_shift_opened done [11:30:15]requested_item shift.open_date is exist - process it [11:30:15]req_shift_open_date [11:30:15]req_shift_open_date done [11:30:15]produce_requested_data done [11:30:15]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37780,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [11:30:15]process_action_free close_receipt [11:30:15]json_value_free [11:30:15]json_value_free done [11:30:15]process_json_proto returns [11:30:15]Send response to host [11:30:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37780,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [11:30:15]free response buf [11:30:15]execute_script done [11:30:15]execute_script returns [11:30:15]free content buf [11:30:15]Sock 7.Close socket [11:30:15]Sock 7.Thread stoped [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:29]OFD Sender: No OFD packet to send [11:37:34]OFD Sender: No OFD packet to send [11:37:39]OFD Sender: No OFD packet to send [11:37:44]OFD Sender: No OFD packet to send [11:37:49]OFD Sender: No OFD packet to send [11:37:54]OFD Sender: No OFD packet to send [11:37:59]OFD Sender: No OFD packet to send [11:38:04]OFD Sender: No OFD packet to send [11:38:09]OFD Sender: No OFD packet to send [11:38:14]OFD Sender: No OFD packet to send [11:38:19]OFD Sender: No OFD packet to send [11:38:24]OFD Sender: No OFD packet to send [11:38:29]OFD Sender: No OFD packet to send [11:38:34]OFD Sender: No OFD packet to send [11:38:39]OFD Sender: No OFD packet to send [11:38:44]OFD Sender: No OFD packet to send [11:38:49]OFD Sender: No OFD packet to send [11:38:54]OFD Sender: No OFD packet to send [11:38:59]OFD Sender: No OFD packet to send [11:39:04]OFD Sender: No OFD packet to send [11:39:09]OFD Sender: No OFD packet to send [11:39:14]OFD Sender: No OFD packet to send [11:39:19]OFD Sender: No OFD packet to send [11:39:24]OFD Sender: No OFD packet to send [11:39:29]OFD Sender: No OFD packet to send [11:39:34]OFD Sender: No OFD packet to send [11:39:39]OFD Sender: No OFD packet to send [11:39:44]OFD Sender: No OFD packet to send [11:39:49]OFD Sender: No OFD packet to send [11:39:54]OFD Sender: No OFD packet to send [11:39:59]OFD Sender: No OFD packet to send [11:40:04]OFD Sender: No OFD packet to send [11:40:09]OFD Sender: No OFD packet to send [11:40:14]OFD Sender: No OFD packet to send [11:40:19]OFD Sender: No OFD packet to send [11:40:24]OFD Sender: No OFD packet to send [11:40:29]OFD Sender: No OFD packet to send [11:40:34]OFD Sender: No OFD packet to send [11:40:39]OFD Sender: No OFD packet to send [11:40:44]OFD Sender: No OFD packet to send [11:40:49]OFD Sender: No OFD packet to send [11:40:54]OFD Sender: No OFD packet to send [11:40:59]OFD Sender: No OFD packet to send [11:41:04]OFD Sender: No OFD packet to send [11:41:09]OFD Sender: No OFD packet to send [11:41:14]OFD Sender: No OFD packet to send [11:41:19]OFD Sender: No OFD packet to send [11:41:29]OFD Sender: No OFD packet to send [11:41:34]OFD Sender: No OFD packet to send [11:41:39]OFD Sender: No OFD packet to send [11:41:44]OFD Sender: No OFD packet to send [11:41:49]OFD Sender: No OFD packet to send [11:41:54]OFD Sender: No OFD packet to send [11:41:59]OFD Sender: No OFD packet to send [11:42:04]OFD Sender: No OFD packet to send [11:42:09]OFD Sender: No OFD packet to send [11:42:14]OFD Sender: No OFD packet to send [11:42:19]OFD Sender: No OFD packet to send [11:42:24]OFD Sender: No OFD packet to send [11:42:29]OFD Sender: No OFD packet to send [11:42:34]OFD Sender: No OFD packet to send [11:42:39]OFD Sender: No OFD packet to send [11:42:44]OFD Sender: No OFD packet to send [11:42:49]OFD Sender: No OFD packet to send [11:42:54]OFD Sender: No OFD packet to send [11:42:59]OFD Sender: No OFD packet to send [11:43:04]OFD Sender: No OFD packet to send [11:43:09]OFD Sender: No OFD packet to send [11:43:14]OFD Sender: No OFD packet to send [11:43:19]OFD Sender: No OFD packet to send [11:43:24]OFD Sender: No OFD packet to send [11:43:29]OFD Sender: No OFD packet to send [11:43:34]OFD Sender: No OFD packet to send [11:43:39]ConnectInit Can't connect to host [11:43:39]OFD Sender: No OFD packet to send [11:43:44]OFD Sender: No OFD packet to send [11:43:59]OFD Sender: No OFD packet to send [11:44:02]ConnectInit Can't connect to host [11:44:04]OFD Sender: No OFD packet to send [11:44:09]OFD Sender: No OFD packet to send [11:44:12]accept exits with 9 [11:44:12]New connection [11:44:12]New thread 3067440484 created [11:44:12]Thread 3067297124 joined [11:44:12]Waiting for new connection... [11:44:12] Sock 9.Parse request [11:44:12]Sock 9.Check first char [11:44:12]Sock 9.First char is OK [11:44:12]request: POST /json_proto HTTP/1.0 [11:44:12]Method: POST [11:44:12]URL: /json_proto [11:44:12]Method is POST - this is cgi request [11:44:12]url: /json_proto [11:44:12]query_string will be loaded in cgi processing [11:44:12]execute_cgi json_proto POST (null) [11:44:12]execute_cgi path=json_proto method=POST [11:44:12]POST find Content-Length [11:44:12]Host: 172.17.40.196:8080 [11:44:12]Content-Length: 881 [11:44:12]Content-Type: application/json [11:44:12] [11:44:12]POST finish read [11:44:12]Found Content-Length = 881 [11:44:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35080", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 289.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:44:12]execute_script... [11:44:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35080", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 289.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:44:12]POST & json_proto [11:44:12]process_json_proto [11:44:12]json parsed OK: [11:44:12]protocol is kg_v1.0 [11:44:12]action value=close_receipt [11:44:12]process_action close_receipt [11:44:12]cmd_close_receipt [11:44:12]MH_GetDate [11:44:12]Write to MH i2c: F0 00 00 9A 1D A6 [11:44:12]Write i2c OK [11:44:12]MH_I2C_Read... [11:44:12]Read from MH i2c: F0 [11:44:12]MH_I2C_Read... [11:44:12]Read from MH i2c: F0 09 00 [11:44:12]MH_I2C_Read... [11:44:12]Read from MH i2c: F0 09 00 9A 1D 00 13 79 1F 67 5B 68 A1 66 8B [11:44:12]GetLastDocTimeStamp 1730115018 [11:44:12]current date 1730115859 [11:44:12]FM_GetShiftState [11:44:12]SAM_PROTO_GetShiftState [11:44:12]wFMCommunicate request_size=4 [11:44:12]MH_SAM_APDU [11:44:12]CAPDU: 80 13 01 00 [11:44:12]Write to MH i2c: E2 08 00 9B 1D 80 13 01 00 00 00 00 00 35 [11:44:12]Write i2c OK [11:44:12]MH_I2C_Read... [11:44:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:44:12]Read from MH i2c: E2 [11:44:12]MH_I2C_Read... [11:44:12]Read from MH i2c: E2 0E 00 [11:44:12]MH_I2C_Read... [11:44:12]Read from MH i2c: E2 0E 00 9B 1D 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 B7 [11:44:12]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [11:44:12]wFMCommunicate OK [11:44:12]SAM_PROTO_GetShiftState done [11:44:12]FM_GetShiftState done [11:44:12]opened in 1730073884 [11:44:12]opened+sec_in_day 1730160284 [11:44:12]quantity*price = 13000 [11:44:12]sum+1 = 13001 [11:44:12]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4640030091607 Сигареты ESSE Exchange 1.000 * 159.00 = 159.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 289.00 НСП 1% : 2.56 НДС 12% : 30.68 Наличными: 289.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 24 28.10.2024 11:44 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37781 ФПД: 20687876968126 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T114419&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37781&fm=20687876968126&tin=02508201610067®Number=0000000000091684&sum=28900 0 [11:44:13]StoreToDocumentArchive [11:44:13]shift 551 fd 37781 [11:44:13]save to /storage/0551/doc_00037781 [11:44:13]save last doc name /storage/0551/doc_00037781 to /storage/kkm_last_doc_name [11:44:13]save OK [11:44:13]Clear old archive folders... [11:44:13]ProcessDocumentItem done err = 0, tmpTLVsize=384 [11:44:13]tlvbuf is 002815B0 [11:44:13]SAM_PROTO_ClearQueue [11:44:13]wFMCommunicate request_size=4 [11:44:13]MH_SAM_APDU [11:44:13]CAPDU: 80 09 00 00 [11:44:13]Write to MH i2c: E2 08 00 A8 1D 80 09 00 00 00 00 00 00 37 [11:44:13]Write i2c OK [11:44:13]MH_I2C_Read... [11:44:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:44:13]Read from MH i2c: E2 [11:44:13]MH_I2C_Read... [11:44:13]Read from MH i2c: E2 03 00 [11:44:13]MH_I2C_Read... [11:44:13]Read from MH i2c: E2 03 00 A8 1D 00 90 00 39 [11:44:13]RAPDU: 90 00 [11:44:13]wFMCommunicate OK [11:44:13]SAM_PROTO_ClearQueue done [11:44:13]KKMCreateOFDPacket [11:44:13]OFDProtocolAddRootSTLVToBuf [11:44:13]FM_MakeSignedData [11:44:13]FM_MakeSignedData [11:44:13]SAM_PROTO_SignData [11:44:13]wFMCommunicate request_size=4 [11:44:13]MH_SAM_APDU [11:44:13]CAPDU: 80 0D 01 02 [11:44:13]Write to MH i2c: E2 08 00 A9 1D 80 0D 01 02 00 00 00 00 3F [11:44:13]Write i2c OK [11:44:13]MH_I2C_Read... [11:44:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:44:13]Read from MH i2c: E2 [11:44:13]MH_I2C_Read... [11:44:13]Read from MH i2c: E2 03 00 [11:44:13]MH_I2C_Read... [11:44:13]Read from MH i2c: E2 03 00 A9 1D 00 90 00 3A [11:44:13]RAPDU: 90 00 [11:44:13]wFMCommunicate OK [11:44:13]wFMCommunicate request_size=255 [11:44:13]MH_SAM_APDU [11:44:13]CAPDU: 80 0D 02 02 FA 03 00 80 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 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 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 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 [11:44:13]Write to MH i2c: E2 02 01 AA 1D 80 0D 02 02 FA 00 03 00 80 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 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 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 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 48 [11:44:13]Write i2c OK [11:44:13]MH_I2C_Read... [11:44:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:44:13]Read from MH i2c: E2 [11:44:13]MH_I2C_Read... [11:44:13]Read from MH i2c: E2 03 00 [11:44:13]MH_I2C_Read... [11:44:13]Read from MH i2c: E2 03 00 AA 1D 00 90 00 3B [11:44:13]RAPDU: 90 00 [11:44:13]wFMCommunicate OK [11:44:13]wFMCommunicate request_size=143 [11:44:13]MH_SAM_APDU [11:44:13]CAPDU: 80 0D 02 02 8A 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0B 00 00 00 00 07 04 06 00 E4 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 13 79 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 95 93 00 00 35 04 06 00 12 D0 C5 8E CE BE [11:44:13]Write to MH i2c: E2 92 00 AB 1D 80 0D 02 02 8A 00 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0B 00 00 00 00 07 04 06 00 E4 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 13 79 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 95 93 00 00 35 04 06 00 12 D0 C5 8E CE BE 00 00 1B [11:44:13]Write i2c OK [11:44:13]MH_I2C_Read... [11:44:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:44:14]Read from MH i2c: E2 [11:44:14]MH_I2C_Read... [11:44:14]Read from MH i2c: E2 03 00 [11:44:14]MH_I2C_Read... [11:44:14]Read from MH i2c: E2 03 00 AB 1D 00 90 00 3C [11:44:14]RAPDU: 90 00 [11:44:14]wFMCommunicate OK [11:44:14]wFMCommunicate request_size=4 [11:44:14]MH_SAM_APDU [11:44:14]CAPDU: 80 0D 03 02 [11:44:14]Write to MH i2c: E2 08 00 AC 1D 80 0D 03 02 00 00 00 00 44 [11:44:14]Write i2c OK [11:44:14]MH_I2C_Read... [11:44:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:44:14]Read from MH i2c: E2 [11:44:14]MH_I2C_Read... [11:44:14]Read from MH i2c: E2 0B 00 [11:44:14]MH_I2C_Read... [11:44:14]Read from MH i2c: E2 0B 00 AC 1D 00 59 FE 07 89 C3 DA 3C 5D 90 00 62 [11:44:14]RAPDU: 59 FE 07 89 C3 DA 3C 5D 90 00 [11:44:14]wFMCommunicate OK [11:44:14]SAM_PROTO_SignData done [11:44:14]FM_MakeSignedData done [11:44:14]CreateOFDProtocolMessage [11:44:14]wFMCommunicate request_size=4 [11:44:14]MH_SAM_APDU [11:44:14]CAPDU: 80 11 00 00 [11:44:14]Write to MH i2c: E2 08 00 AD 1D 80 11 00 00 00 00 00 00 44 [11:44:14]Write i2c OK [11:44:14]MH_I2C_Read... [11:44:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:44:14]Read from MH i2c: E2 [11:44:14]MH_I2C_Read... [11:44:14]Read from MH i2c: E2 17 00 [11:44:14]MH_I2C_Read... [11:44:14]Read from MH i2c: E2 17 00 AD 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 94 [11:44:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:44:14]wFMCommunicate OK [11:44:14]CreateOFDProtocolMessage done [11:44:14]OFDSenderStorePacket 37781 [11:44:14]StoreOFDPacket docnum=37781 [11:44:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 94 01 00 00 52 0F 8C 01 B0 12 5A 03 01 00 03 00 80 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 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 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 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0B 00 00 00 00 07 04 06 00 E4 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 13 79 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 95 93 00 00 35 04 06 00 12 D0 C5 8E CE BE 59 FE 07 89 C3 DA 3C 5D [11:44:14]CheckFolder [11:44:14]dirname=/storage/ofd_packets [11:44:14]CheckFolder done [11:44:14]ProducePacketName [11:44:14]name=ofd_packets/00037781 [11:44:14]NVStorageSaveData ofd_packets/00037781 [11:44:14]File name is /storage/ofd_packets/00037781 [11:44:14]Write 434 bytes [11:44:14]NVStorageSaveData done [11:44:14]OFDSenderStorePacket done [11:44:14]KKMCreateOFDPacket done [11:44:14]NVStorageSaveData kkm_last_timestamp [11:44:14]File name is /storage/kkm_last_timestamp [11:44:14]Write 4 bytes [11:44:14]NVStorageSaveData done [11:44:14]ExternCall_PrintAddStr [11:44:14]wPrintStart [11:44:14]Write to MH i2c: 01 00 00 AE 1D CB [11:44:14]Write i2c OK [11:44:14]MH_I2C_Read... [11:44:14]Read from MH i2c: 01 [11:44:14]MH_I2C_Read... [11:44:14]Read from MH i2c: 01 07 00 [11:44:14]MH_I2C_Read... [11:44:14]Read from MH i2c: 01 07 00 AE 1D 00 00 00 00 00 FF 0F E0 [11:44:14]RasterBufferAndPrint [11:44:14]line Счет N : (3)35080 [11:44:14]line ИНН: 02508201610067 [11:44:14]line Контрольно-Кассовый Чек [11:44:14]line ПРОДАЖА [11:44:14]line Товар: 2000036220012 [11:44:14]line Кофе Капучино XL(GABB TRADE) [11:44:14]line 1.000 * 130.00 [11:44:14]line = 130.00 [11:44:14]line НДС 12% НСП 1% [11:44:14]line > о реализуемом товаре [11:44:14]line Товар: 4640030091607 [11:44:14]line Сигареты ESSE Exchange [11:44:14]line 1.000 * 159.00 [11:44:14]line = 159.00 [11:44:14]line НДС 12% НСП 1% [11:44:14]line > о реализуемом товаре [11:44:14]line ИТОГО: 289.00 [11:44:14]line НСП 1% : 2.56 [11:44:14]line НДС 12% : 30.68 [11:44:14]line Наличными: 289.00 [11:44:14]line Безнал.: 0.00 [11:44:14]line Место: АЗС № 126 "Партнер Нефть" [11:44:14]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [11:44:14]line СНО: Общий режим [11:44:14]line Чек 24 28.10.2024 11:44 [11:44:14]line Смена: 551 ФФД: 1.0 [11:44:14]line ЗНМ: 0300000092 [11:44:14]line РНМ: 0000000000091684 [11:44:14]line Версия ККМ: 001 [11:44:14]line ФМ: 0000000000871841 [11:44:14]line ФД: 37781 [11:44:14]line ФПД: 20687876968126 [11:44:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T114419&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37781&fm=20687876968126&tin=02508201610067®Number=0000000000091684&sum=28900 [11:44:14]line 0 [11:44:14]OFD Sender: Processing packet 37781 [packets to send 42, broken 41] [11:44:14]ProducePacketName [11:44:14]name=ofd_packets/00037781 [11:44:14]OFD Sender: To server: pG, [11:44:14]CommunicateWithHost lk.salyk.kg:30040 [11:44:14]ConnectInit lk.salyk.kg [11:44:14]written 0, free lines is 4095 [11:44:14]Connected sock=10 [11:44:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 94 01 00 00 52 0F 8C 01 B0 12 5A 03 01 00 03 00 80 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 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 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 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0B 00 00 00 00 07 04 06 00 E4 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 13 79 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 95 93 00 00 35 04 06 00 12 D0 C5 8E CE BE 59 FE 07 89 C3 DA 3C 5D [11:44:15]Write to MH i2c: 01 00 00 DD 1D FA [11:44:15]Write i2c OK [11:44:15]MH_I2C_Read... [11:44:15]Read from MH i2c: 01 [11:44:15]MH_I2C_Read... [11:44:15]Read from MH i2c: 01 07 00 [11:44:15]MH_I2C_Read... [11:44:15]Read from MH i2c: 01 07 00 DD 1D 00 00 00 00 00 5F 0C 6C [11:44:15]RasterBufferAndPrint [11:44:15]line [11:44:15]line [11:44:15]line [11:44:15]line [11:44:15]line [11:44:15]written 0, free lines is 3175 [11:44:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 DC F1 47 00 D2 A8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 95 93 00 00 F4 03 04 00 08 24 1F 67 B6 04 01 00 00 2E BF 51 88 FC 16 0E 69 [11:44:15]CommunicateWithHost err = 0 [11:44:15]CheckOFDResponse [11:44:15]1017 (14) - 77093643461234 [11:44:15]1041 (16) - 0000000000871841 [11:44:15]1040 (4) - 37781 [11:44:15]1012 (4) - 28.10.2024 05:41 [11:44:15]1206 (1) - 0 [11:44:15]OFD Sender: Remove packet 37781 [11:44:15]ProducePacketName [11:44:15]name=ofd_packets/00037781 [11:44:15]NVStorageDeleteData [11:44:15]MH_Cut [11:44:15]Write to MH i2c: D1 01 00 E4 1D 01 D3 [11:44:15]Write i2c OK [11:44:15]MH_I2C_Read... [11:44:15]Read from MH i2c: D1 [11:44:15]MH_I2C_Read... [11:44:15]Read from MH i2c: D1 01 00 [11:44:15]MH_I2C_Read... [11:44:15]Read from MH i2c: D1 01 00 E4 1D 00 D2 [11:44:15]Write to MH i2c: 01 00 00 E5 1D 02 [11:44:15]Write i2c OK [11:44:15]MH_I2C_Read... [11:44:15]OFD Sender: No OFD packet to send [11:44:16]*** Cut start [11:44:16]*** Partial cut [11:44:16]*** CUTSNS_PIN = 1 [11:44:16]*** CUTSNS_PIN = 0 [11:44:16]*** Brake cut motor [11:44:16]Read from MH i2c: 01 [11:44:16]MH_I2C_Read... [11:44:16]*** Stop cut motor [11:44:16]*** Cut end [11:44:16]Read from MH i2c: 01 07 00 [11:44:16]MH_I2C_Read... [11:44:16]Read from MH i2c: 01 07 00 E5 1D 00 00 00 00 00 FF 0F 17 [11:44:16]process_action close_receipt done [11:44:16]requested_data is exist [11:44:16]produce_requested_data [11:44:16]requested_item fm.sn is exist - process it [11:44:16]wFMCommunicate request_size=4 [11:44:16]MH_SAM_APDU [11:44:16]CAPDU: 80 11 00 00 [11:44:16]Write to MH i2c: E2 08 00 E6 1D 80 11 00 00 00 00 00 00 7D [11:44:16]Write i2c OK [11:44:16]MH_I2C_Read... [11:44:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:44:16]Read from MH i2c: E2 [11:44:16]MH_I2C_Read... [11:44:16]Read from MH i2c: E2 17 00 [11:44:16]MH_I2C_Read... [11:44:16]Read from MH i2c: E2 17 00 E6 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 CD [11:44:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:44:16]wFMCommunicate OK [11:44:16]requested_item fd.num is exist - process it [11:44:16]SAM_PROTO_GetFieldsCounters [11:44:16]wFMCommunicate request_size=4 [11:44:16]MH_SAM_APDU [11:44:16]CAPDU: 80 13 00 00 [11:44:16]Write to MH i2c: E2 08 00 E7 1D 80 13 00 00 00 00 00 00 80 [11:44:16]Write i2c OK [11:44:16]MH_I2C_Read... [11:44:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:44:16]Read from MH i2c: E2 [11:44:16]MH_I2C_Read... [11:44:16]Read from MH i2c: E2 62 00 [11:44:16]MH_I2C_Read... [11:44:16]Read from MH i2c: E2 62 00 E7 1D 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 95 93 00 00 0E 04 04 00 27 02 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 3A [11:44:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 95 93 00 00 0E 04 04 00 27 02 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 [11:44:16]wFMCommunicate OK [11:44:16]SAM_PROTO_GetFieldsCounters done [11:44:16]requested_item shift.num is exist - process it [11:44:16]requested_item shift.opened is exist - process it [11:44:16]req_shift_opened [11:44:16]FM_GetShiftState [11:44:16]SAM_PROTO_GetShiftState [11:44:16]wFMCommunicate request_size=4 [11:44:16]MH_SAM_APDU [11:44:16]CAPDU: 80 13 01 00 [11:44:16]Write to MH i2c: E2 08 00 E8 1D 80 13 01 00 00 00 00 00 82 [11:44:16]Write i2c OK [11:44:16]MH_I2C_Read... [11:44:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:44:16]Read from MH i2c: E2 [11:44:16]MH_I2C_Read... [11:44:16]Read from MH i2c: E2 0E 00 [11:44:16]MH_I2C_Read... [11:44:16]Read from MH i2c: E2 0E 00 E8 1D 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 04 [11:44:16]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [11:44:16]wFMCommunicate OK [11:44:16]SAM_PROTO_GetShiftState done [11:44:16]FM_GetShiftState done [11:44:16]req_shift_opened done [11:44:16]requested_item shift.open_date is exist - process it [11:44:16]req_shift_open_date [11:44:16]req_shift_open_date done [11:44:16]produce_requested_data done [11:44:16]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37781,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [11:44:16]process_action_free close_receipt [11:44:16]json_value_free [11:44:16]json_value_free done [11:44:16]process_json_proto returns [11:44:16]Send response to host [11:44:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37781,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [11:44:16]free response buf [11:44:16]execute_script done [11:44:16]execute_script returns [11:44:16]free content buf [11:44:16]Sock 9.Close socket [11:44:16]Sock 9.Thread stoped [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:14]accept exits with 7 [11:47:14]New connection [11:47:14]New thread 3067297124 created [11:47:14]Thread 3067440484 joined [11:47:14]Waiting for new connection... [11:47:14] Sock 7.Parse request [11:47:14]Sock 7.Check first char [11:47:14]Sock 7.First char is OK [11:47:14]request: POST /json_proto HTTP/1.0 [11:47:14]Method: POST [11:47:14]URL: /json_proto [11:47:14]Method is POST - this is cgi request [11:47:14]url: /json_proto [11:47:14]query_string will be loaded in cgi processing [11:47:14]execute_cgi json_proto POST (null) [11:47:14]execute_cgi path=json_proto method=POST [11:47:14]POST find Content-Length [11:47:14]Host: 172.17.40.196:8080 [11:47:14]Content-Length: 623 [11:47:14]Content-Type: application/json [11:47:14] [11:47:14]POST finish read [11:47:14]Found Content-Length = 623 [11:47:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35081", "tax_sys" : 0, "items" : [ { "code": "48747073", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Royal Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 154.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:47:14]execute_script... [11:47:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35081", "tax_sys" : 0, "items" : [ { "code": "48747073", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Royal Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 154.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:47:14]POST & json_proto [11:47:14]process_json_proto [11:47:14]json parsed OK: [11:47:14]protocol is kg_v1.0 [11:47:14]action value=close_receipt [11:47:14]process_action close_receipt [11:47:14]cmd_close_receipt [11:47:14]MH_GetDate [11:47:14]Write to MH i2c: F0 00 00 E9 1D F5 [11:47:14]Write i2c OK [11:47:14]MH_I2C_Read... [11:47:14]Read from MH i2c: F0 [11:47:14]MH_I2C_Read... [11:47:14]Read from MH i2c: F0 09 00 [11:47:14]MH_I2C_Read... [11:47:14]Read from MH i2c: F0 09 00 E9 1D 00 C9 79 1F 67 5B 68 A1 66 90 [11:47:14]GetLastDocTimeStamp 1730115859 [11:47:14]current date 1730116041 [11:47:14]FM_GetShiftState [11:47:14]SAM_PROTO_GetShiftState [11:47:14]wFMCommunicate request_size=4 [11:47:14]MH_SAM_APDU [11:47:14]CAPDU: 80 13 01 00 [11:47:14]Write to MH i2c: E2 08 00 EA 1D 80 13 01 00 00 00 00 00 84 [11:47:14]Write i2c OK [11:47:14]MH_I2C_Read... [11:47:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:47:14]Read from MH i2c: E2 [11:47:14]MH_I2C_Read... [11:47:14]Read from MH i2c: E2 0E 00 [11:47:14]MH_I2C_Read... [11:47:14]Read from MH i2c: E2 0E 00 EA 1D 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 06 [11:47:14]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [11:47:14]wFMCommunicate OK [11:47:14]SAM_PROTO_GetShiftState done [11:47:14]FM_GetShiftState done [11:47:14]opened in 1730073884 [11:47:14]opened+sec_in_day 1730160284 [11:47:14]quantity*price = 15400 [11:47:14]sum+1 = 15401 [11:47:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 154.00 НСП 1% : 1.36 НДС 12% : 16.35 Наличными: 154.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 25 28.10.2024 11:47 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37782 ФПД: 141816540219613 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T114721&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37782&fm=141816540219613&tin=02508201610067®Number=0000000000091684&sum=15400 0 [11:47:15]StoreToDocumentArchive [11:47:15]shift 551 fd 37782 [11:47:15]save to /storage/0551/doc_00037782 [11:47:15]save last doc name /storage/0551/doc_00037782 to /storage/kkm_last_doc_name [11:47:15]save OK [11:47:15]Clear old archive folders... [11:47:15]ProcessDocumentItem done err = 0, tmpTLVsize=276 [11:47:15]tlvbuf is 0021BF70 [11:47:15]SAM_PROTO_ClearQueue [11:47:15]wFMCommunicate request_size=4 [11:47:15]MH_SAM_APDU [11:47:15]CAPDU: 80 09 00 00 [11:47:15]Write to MH i2c: E2 08 00 F7 1D 80 09 00 00 00 00 00 00 86 [11:47:15]Write i2c OK [11:47:15]MH_I2C_Read... [11:47:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:47:15]Read from MH i2c: E2 [11:47:15]MH_I2C_Read... [11:47:15]Read from MH i2c: E2 03 00 [11:47:15]MH_I2C_Read... [11:47:15]Read from MH i2c: E2 03 00 F7 1D 00 90 00 88 [11:47:15]RAPDU: 90 00 [11:47:15]wFMCommunicate OK [11:47:15]SAM_PROTO_ClearQueue done [11:47:15]KKMCreateOFDPacket [11:47:15]OFDProtocolAddRootSTLVToBuf [11:47:15]FM_MakeSignedData [11:47:15]FM_MakeSignedData [11:47:15]SAM_PROTO_SignData [11:47:15]wFMCommunicate request_size=4 [11:47:15]MH_SAM_APDU [11:47:15]CAPDU: 80 0D 01 02 [11:47:15]Write to MH i2c: E2 08 00 F8 1D 80 0D 01 02 00 00 00 00 8E [11:47:15]Write i2c OK [11:47:15]MH_I2C_Read... [11:47:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:47:15]Read from MH i2c: E2 [11:47:15]MH_I2C_Read... [11:47:15]Read from MH i2c: E2 03 00 [11:47:15]MH_I2C_Read... [11:47:15]Read from MH i2c: E2 03 00 F8 1D 00 90 00 89 [11:47:15]RAPDU: 90 00 [11:47:15]wFMCommunicate OK [11:47:15]wFMCommunicate request_size=255 [11:47:15]MH_SAM_APDU [11:47:15]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 37 30 37 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 6F 79 61 6C 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 C9 79 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 [11:47:15]Write to MH i2c: E2 02 01 F9 1D 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 37 30 37 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 6F 79 61 6C 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 C9 79 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 00 00 C8 [11:47:15]Write i2c OK [11:47:15]MH_I2C_Read... [11:47:15]OFD Sender: No OFD packet to send [11:47:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:47:15]Read from MH i2c: E2 [11:47:15]MH_I2C_Read... [11:47:15]Read from MH i2c: E2 03 00 [11:47:15]MH_I2C_Read... [11:47:15]Read from MH i2c: E2 03 00 F9 1D 00 90 00 8A [11:47:15]RAPDU: 90 00 [11:47:15]wFMCommunicate OK [11:47:15]wFMCommunicate request_size=35 [11:47:15]MH_SAM_APDU [11:47:15]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 96 93 00 00 35 04 06 00 80 FB 3C 80 C8 DD [11:47:15]Write to MH i2c: E2 26 00 FA 1D 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 96 93 00 00 35 04 06 00 80 FB 3C 80 C8 DD 00 00 86 [11:47:15]Write i2c OK [11:47:15]MH_I2C_Read... [11:47:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:47:15]Read from MH i2c: E2 [11:47:15]MH_I2C_Read... [11:47:15]Read from MH i2c: E2 03 00 [11:47:15]MH_I2C_Read... [11:47:15]Read from MH i2c: E2 03 00 FA 1D 00 90 00 8B [11:47:15]RAPDU: 90 00 [11:47:15]wFMCommunicate OK [11:47:15]wFMCommunicate request_size=4 [11:47:15]MH_SAM_APDU [11:47:15]CAPDU: 80 0D 03 02 [11:47:15]Write to MH i2c: E2 08 00 FB 1D 80 0D 03 02 00 00 00 00 93 [11:47:15]Write i2c OK [11:47:15]MH_I2C_Read... [11:47:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:47:15]Read from MH i2c: E2 [11:47:15]MH_I2C_Read... [11:47:15]Read from MH i2c: E2 0B 00 [11:47:15]MH_I2C_Read... [11:47:15]Read from MH i2c: E2 0B 00 FB 1D 00 E1 A4 1E A2 7B 9D 45 F0 90 00 26 [11:47:15]RAPDU: E1 A4 1E A2 7B 9D 45 F0 90 00 [11:47:15]wFMCommunicate OK [11:47:15]SAM_PROTO_SignData done [11:47:15]FM_MakeSignedData done [11:47:15]CreateOFDProtocolMessage [11:47:15]wFMCommunicate request_size=4 [11:47:15]MH_SAM_APDU [11:47:15]CAPDU: 80 11 00 00 [11:47:15]Write to MH i2c: E2 08 00 FC 1D 80 11 00 00 00 00 00 00 93 [11:47:15]Write i2c OK [11:47:15]MH_I2C_Read... [11:47:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:47:15]Read from MH i2c: E2 [11:47:15]MH_I2C_Read... [11:47:15]Read from MH i2c: E2 17 00 [11:47:15]MH_I2C_Read... [11:47:15]Read from MH i2c: E2 17 00 FC 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E3 [11:47:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:47:15]wFMCommunicate OK [11:47:15]CreateOFDProtocolMessage done [11:47:15]OFDSenderStorePacket 37782 [11:47:15]StoreOFDPacket docnum=37782 [11:47:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 28 01 00 00 93 ED 20 01 3E 62 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 37 30 37 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 6F 79 61 6C 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 C9 79 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 96 93 00 00 35 04 06 00 80 FB 3C 80 C8 DD E1 A4 1E A2 7B 9D 45 F0 [11:47:15]CheckFolder [11:47:15]dirname=/storage/ofd_packets [11:47:15]CheckFolder done [11:47:15]ProducePacketName [11:47:15]name=ofd_packets/00037782 [11:47:15]NVStorageSaveData ofd_packets/00037782 [11:47:15]File name is /storage/ofd_packets/00037782 [11:47:15]Write 326 bytes [11:47:15]NVStorageSaveData done [11:47:15]OFDSenderStorePacket done [11:47:15]KKMCreateOFDPacket done [11:47:15]NVStorageSaveData kkm_last_timestamp [11:47:15]File name is /storage/kkm_last_timestamp [11:47:15]Write 4 bytes [11:47:15]NVStorageSaveData done [11:47:15]ExternCall_PrintAddStr [11:47:15]wPrintStart [11:47:15]Write to MH i2c: 01 00 00 FD 1D 1A [11:47:15]Write i2c OK [11:47:15]MH_I2C_Read... [11:47:15]Read from MH i2c: 01 [11:47:15]MH_I2C_Read... [11:47:15]Read from MH i2c: 01 07 00 [11:47:15]MH_I2C_Read... [11:47:15]Read from MH i2c: 01 07 00 FD 1D 00 00 00 00 00 FF 0F 2F [11:47:15]RasterBufferAndPrint [11:47:15]line Счет N : (3)35081 [11:47:15]line ИНН: 02508201610067 [11:47:15]line Контрольно-Кассовый Чек [11:47:15]line ПРОДАЖА [11:47:15]line Товар: 48747073 [11:47:15]line Сигареты Richmond Royal Edition [11:47:15]line 1.000 * 154.00 [11:47:15]line = 154.00 [11:47:15]line НДС 12% НСП 1% [11:47:15]line > о реализуемом товаре [11:47:15]line ИТОГО: 154.00 [11:47:15]line НСП 1% : 1.36 [11:47:15]line НДС 12% : 16.35 [11:47:15]line Наличными: 154.00 [11:47:15]line Безнал.: 0.00 [11:47:15]line Место: АЗС № 126 "Партнер Нефть" [11:47:15]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [11:47:15]line СНО: Общий режим [11:47:15]line Чек 25 28.10.2024 11:47 [11:47:15]line Смена: 551 ФФД: 1.0 [11:47:15]line ЗНМ: 0300000092 [11:47:15]line РНМ: 0000000000091684 [11:47:15]line Версия ККМ: 001 [11:47:15]line ФМ: 0000000000871841 [11:47:15]line ФД: 37782 [11:47:15]line ФПД: 141816540219613 [11:47:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T114721&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37782&fm=141816540219613&tin=02508201610067®Number=0000000000091684&sum=15400 [11:47:16]OFD Sender: Processing packet 37782 [packets to send 42, broken 41] [11:47:16]ProducePacketName [11:47:16]name=ofd_packets/00037782 [11:47:16]OFD Sender: To server: pG, [11:47:16]CommunicateWithHost lk.salyk.kg:30040 [11:47:16]ConnectInit lk.salyk.kg [11:47:16]line 0 [11:47:16]written 0, free lines is 4095 [11:47:16]Connected sock=10 [11:47:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 28 01 00 00 93 ED 20 01 3E 62 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 37 30 37 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 6F 79 61 6C 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 C9 79 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 96 93 00 00 35 04 06 00 80 FB 3C 80 C8 DD E1 A4 1E A2 7B 9D 45 F0 [11:47:16]Write to MH i2c: 01 00 00 26 1E 44 [11:47:16]Write i2c OK [11:47:16]MH_I2C_Read... [11:47:16]Read from MH i2c: 01 [11:47:16]MH_I2C_Read... [11:47:16]Read from MH i2c: 01 07 00 [11:47:16]MH_I2C_Read... [11:47:16]Read from MH i2c: 01 07 00 26 1E 00 00 00 00 00 B5 0C 0C [11:47:16]RasterBufferAndPrint [11:47:16]line [11:47:16]line [11:47:16]line [11:47:16]line [11:47:16]line [11:47:16]written 0, free lines is 3258 [11:47:16]MH_Cut [11:47:16]Write to MH i2c: D1 01 00 2D 1E 01 1D [11:47:16]Write i2c OK [11:47:16]MH_I2C_Read... [11:47:16]Read from MH i2c: D1 [11:47:16]MH_I2C_Read... [11:47:16]Read from MH i2c: D1 01 00 [11:47:16]MH_I2C_Read... [11:47:16]Read from MH i2c: D1 01 00 2D 1E 00 1C [11:47:16]Write to MH i2c: 01 00 00 2E 1E 4C [11:47:16]Write i2c OK [11:47:16]MH_I2C_Read... [11:47:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 D2 24 47 00 2F DF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 96 93 00 00 F4 03 04 00 BE 24 1F 67 B6 04 01 00 00 70 17 9E 16 EA A9 FD E3 [11:47:16]CommunicateWithHost err = 0 [11:47:16]CheckOFDResponse [11:47:16]1017 (14) - 77093643461234 [11:47:16]1041 (16) - 0000000000871841 [11:47:16]1040 (4) - 37782 [11:47:16]1012 (4) - 28.10.2024 05:44 [11:47:16]1206 (1) - 0 [11:47:16]OFD Sender: Remove packet 37782 [11:47:16]ProducePacketName [11:47:16]name=ofd_packets/00037782 [11:47:16]NVStorageDeleteData [11:47:17]OFD Sender: No OFD packet to send [11:47:17]*** Cut start [11:47:17]*** Partial cut [11:47:17]*** CUTSNS_PIN = 1 [11:47:17]*** CUTSNS_PIN = 0 [11:47:17]*** Brake cut motor [11:47:18]Read from MH i2c: 01 [11:47:18]MH_I2C_Read... [11:47:18]*** Stop cut motor [11:47:18]*** Cut end [11:47:18]Read from MH i2c: 01 07 00 [11:47:18]MH_I2C_Read... [11:47:18]Read from MH i2c: 01 07 00 2E 1E 00 00 00 00 00 FF 0F 61 [11:47:18]process_action close_receipt done [11:47:18]requested_data is exist [11:47:18]produce_requested_data [11:47:18]requested_item fm.sn is exist - process it [11:47:18]wFMCommunicate request_size=4 [11:47:18]MH_SAM_APDU [11:47:18]CAPDU: 80 11 00 00 [11:47:18]Write to MH i2c: E2 08 00 2F 1E 80 11 00 00 00 00 00 00 C7 [11:47:18]Write i2c OK [11:47:18]MH_I2C_Read... [11:47:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:47:18]Read from MH i2c: E2 [11:47:18]MH_I2C_Read... [11:47:18]Read from MH i2c: E2 17 00 [11:47:18]MH_I2C_Read... [11:47:18]Read from MH i2c: E2 17 00 2F 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 17 [11:47:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:47:18]wFMCommunicate OK [11:47:18]requested_item fd.num is exist - process it [11:47:18]SAM_PROTO_GetFieldsCounters [11:47:18]wFMCommunicate request_size=4 [11:47:18]MH_SAM_APDU [11:47:18]CAPDU: 80 13 00 00 [11:47:18]Write to MH i2c: E2 08 00 30 1E 80 13 00 00 00 00 00 00 CA [11:47:18]Write i2c OK [11:47:18]MH_I2C_Read... [11:47:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:47:18]Read from MH i2c: E2 [11:47:18]MH_I2C_Read... [11:47:18]Read from MH i2c: E2 62 00 [11:47:18]MH_I2C_Read... [11:47:18]Read from MH i2c: E2 62 00 30 1E 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 96 93 00 00 0E 04 04 00 27 02 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 88 [11:47:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 96 93 00 00 0E 04 04 00 27 02 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 [11:47:18]wFMCommunicate OK [11:47:18]SAM_PROTO_GetFieldsCounters done [11:47:18]requested_item shift.num is exist - process it [11:47:18]requested_item shift.opened is exist - process it [11:47:18]req_shift_opened [11:47:18]FM_GetShiftState [11:47:18]SAM_PROTO_GetShiftState [11:47:18]wFMCommunicate request_size=4 [11:47:18]MH_SAM_APDU [11:47:18]CAPDU: 80 13 01 00 [11:47:18]Write to MH i2c: E2 08 00 31 1E 80 13 01 00 00 00 00 00 CC [11:47:18]Write i2c OK [11:47:18]MH_I2C_Read... [11:47:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:47:18]Read from MH i2c: E2 [11:47:18]MH_I2C_Read... [11:47:18]Read from MH i2c: E2 0E 00 [11:47:18]MH_I2C_Read... [11:47:18]Read from MH i2c: E2 0E 00 31 1E 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 4E [11:47:18]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [11:47:18]wFMCommunicate OK [11:47:18]SAM_PROTO_GetShiftState done [11:47:18]FM_GetShiftState done [11:47:18]req_shift_opened done [11:47:18]requested_item shift.open_date is exist - process it [11:47:18]req_shift_open_date [11:47:18]req_shift_open_date done [11:47:18]produce_requested_data done [11:47:18]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37782,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [11:47:18]process_action_free close_receipt [11:47:18]json_value_free [11:47:18]json_value_free done [11:47:18]process_json_proto returns [11:47:18]Send response to host [11:47:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37782,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [11:47:18]free response buf [11:47:18]execute_script done [11:47:18]execute_script returns [11:47:18]free content buf [11:47:18]Sock 7.Close socket [11:47:18]Sock 7.Thread stoped [11:47:22]OFD Sender: No OFD packet to send [11:47:27]OFD Sender: No OFD packet to send [11:47:32]OFD Sender: No OFD packet to send [11:47:37]OFD Sender: No OFD packet to send [11:47:42]OFD Sender: No OFD packet to send [11:47:47]OFD Sender: No OFD packet to send [11:47:50]accept exits with 9 [11:47:50]New connection [11:47:50]New thread 3067440484 created [11:47:50]Thread 3067297124 joined [11:47:50]Waiting for new connection... [11:47:50] Sock 9.Parse request [11:47:50]Sock 9.Check first char [11:47:50]Sock 9.First char is OK [11:47:50]request: POST /json_proto HTTP/1.0 [11:47:50]Method: POST [11:47:50]URL: /json_proto [11:47:50]Method is POST - this is cgi request [11:47:50]url: /json_proto [11:47:50]query_string will be loaded in cgi processing [11:47:50]execute_cgi json_proto POST (null) [11:47:50]execute_cgi path=json_proto method=POST [11:47:50]POST find Content-Length [11:47:50]Host: 172.17.40.196:8080 [11:47:50]Content-Length: 727 [11:47:50]Content-Type: application/json [11:47:50] [11:47:50]POST finish read [11:47:50]Found Content-Length = 727 [11:47:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35082", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:47:50]execute_script... [11:47: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)35082", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:47:50]POST & json_proto [11:47:50]process_json_proto [11:47:50]json parsed OK: [11:47:50]protocol is kg_v1.0 [11:47:50]action value=close_receipt [11:47:50]process_action close_receipt [11:47:50]cmd_close_receipt [11:47:50]MH_GetDate [11:47:50]Write to MH i2c: F0 00 00 32 1E 3F [11:47:50]Write i2c OK [11:47:50]MH_I2C_Read... [11:47:50]Read from MH i2c: F0 [11:47:50]MH_I2C_Read... [11:47:50]Read from MH i2c: F0 09 00 [11:47:50]MH_I2C_Read... [11:47:50]Read from MH i2c: F0 09 00 32 1E 00 ED 79 1F 67 5B 68 A1 66 FE [11:47:50]GetLastDocTimeStamp 1730116041 [11:47:50]current date 1730116077 [11:47:50]FM_GetShiftState [11:47:50]SAM_PROTO_GetShiftState [11:47:50]wFMCommunicate request_size=4 [11:47:50]MH_SAM_APDU [11:47:50]CAPDU: 80 13 01 00 [11:47:50]Write to MH i2c: E2 08 00 33 1E 80 13 01 00 00 00 00 00 CE [11:47:50]Write i2c OK [11:47:50]MH_I2C_Read... [11:47:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:47:50]Read from MH i2c: E2 [11:47:50]MH_I2C_Read... [11:47:50]Read from MH i2c: E2 0E 00 [11:47:50]MH_I2C_Read... [11:47:50]Read from MH i2c: E2 0E 00 33 1E 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 50 [11:47:50]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [11:47:50]wFMCommunicate OK [11:47:50]SAM_PROTO_GetShiftState done [11:47:50]FM_GetShiftState done [11:47:50]opened in 1730073884 [11:47:50]opened+sec_in_day 1730160284 [11:47:50]quantity*price = 12000 [11:47:50]sum+1 = 12001 [11:47:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 26 28.10.2024 11:47 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37783 ФПД: 93407686493985 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T114757&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37783&fm=93407686493985&tin=02508201610067®Number=0000000000091684&sum=12000 0 [11:47:51]StoreToDocumentArchive [11:47:51]shift 551 fd 37783 [11:47:51]save to /storage/0551/doc_00037783 [11:47:51]save last doc name /storage/0551/doc_00037783 to /storage/kkm_last_doc_name [11:47:51]save OK [11:47:51]Clear old archive folders... [11:47:51]ProcessDocumentItem done err = 0, tmpTLVsize=308 [11:47:51]tlvbuf is B6FCC010 [11:47:51]SAM_PROTO_ClearQueue [11:47:51]wFMCommunicate request_size=4 [11:47:51]MH_SAM_APDU [11:47:51]CAPDU: 80 09 00 00 [11:47:51]Write to MH i2c: E2 08 00 40 1E 80 09 00 00 00 00 00 00 D0 [11:47:51]Write i2c OK [11:47:51]MH_I2C_Read... [11:47:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:47:51]Read from MH i2c: E2 [11:47:51]MH_I2C_Read... [11:47:51]Read from MH i2c: E2 03 00 [11:47:51]MH_I2C_Read... [11:47:51]Read from MH i2c: E2 03 00 40 1E 00 90 00 D2 [11:47:51]RAPDU: 90 00 [11:47:51]wFMCommunicate OK [11:47:51]SAM_PROTO_ClearQueue done [11:47:51]KKMCreateOFDPacket [11:47:51]OFDProtocolAddRootSTLVToBuf [11:47:51]FM_MakeSignedData [11:47:51]FM_MakeSignedData [11:47:51]SAM_PROTO_SignData [11:47:51]wFMCommunicate request_size=4 [11:47:51]MH_SAM_APDU [11:47:51]CAPDU: 80 0D 01 02 [11:47:51]Write to MH i2c: E2 08 00 41 1E 80 0D 01 02 00 00 00 00 D8 [11:47:51]Write i2c OK [11:47:51]MH_I2C_Read... [11:47:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:47:51]Read from MH i2c: E2 [11:47:51]MH_I2C_Read... [11:47:51]Read from MH i2c: E2 03 00 [11:47:51]MH_I2C_Read... [11:47:51]Read from MH i2c: E2 03 00 41 1E 00 90 00 D3 [11:47:51]RAPDU: 90 00 [11:47:51]wFMCommunicate OK [11:47:51]wFMCommunicate request_size=255 [11:47:51]MH_SAM_APDU [11:47:51]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 1A 00 00 00 F4 03 04 00 ED 79 1F 67 0E 04 04 00 27 02 00 00 B9 [11:47:51]Write to MH i2c: E2 02 01 42 1E 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 1A 00 00 00 F4 03 04 00 ED 79 1F 67 0E 04 04 00 27 02 00 00 B9 00 00 37 [11:47:51]Write i2c OK [11:47:51]MH_I2C_Read... [11:47:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:47:51]Read from MH i2c: E2 [11:47:51]MH_I2C_Read... [11:47:51]Read from MH i2c: E2 03 00 [11:47:51]MH_I2C_Read... [11:47:51]Read from MH i2c: E2 03 00 42 1E 00 90 00 D4 [11:47:51]RAPDU: 90 00 [11:47:51]wFMCommunicate OK [11:47:51]wFMCommunicate request_size=67 [11:47:51]MH_SAM_APDU [11:47:51]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 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 97 93 00 00 35 04 06 00 54 F4 2B F9 07 21 [11:47:51]Write to MH i2c: E2 46 00 43 1E 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 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 97 93 00 00 35 04 06 00 54 F4 2B F9 07 21 00 00 F1 [11:47:51]Write i2c OK [11:47:51]MH_I2C_Read... [11:47:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:47:51]Read from MH i2c: E2 [11:47:51]MH_I2C_Read... [11:47:51]Read from MH i2c: E2 03 00 [11:47:51]MH_I2C_Read... [11:47:51]Read from MH i2c: E2 03 00 43 1E 00 90 00 D5 [11:47:51]RAPDU: 90 00 [11:47:51]wFMCommunicate OK [11:47:51]wFMCommunicate request_size=4 [11:47:51]MH_SAM_APDU [11:47:51]CAPDU: 80 0D 03 02 [11:47:51]Write to MH i2c: E2 08 00 44 1E 80 0D 03 02 00 00 00 00 DD [11:47:51]Write i2c OK [11:47:51]MH_I2C_Read... [11:47:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:47:51]Read from MH i2c: E2 [11:47:51]MH_I2C_Read... [11:47:51]Read from MH i2c: E2 0B 00 [11:47:51]MH_I2C_Read... [11:47:51]Read from MH i2c: E2 0B 00 44 1E 00 88 F9 88 DE B1 8E 8C 35 90 00 C5 [11:47:51]RAPDU: 88 F9 88 DE B1 8E 8C 35 90 00 [11:47:51]wFMCommunicate OK [11:47:51]SAM_PROTO_SignData done [11:47:51]FM_MakeSignedData done [11:47:51]CreateOFDProtocolMessage [11:47:51]wFMCommunicate request_size=4 [11:47:51]MH_SAM_APDU [11:47:51]CAPDU: 80 11 00 00 [11:47:51]Write to MH i2c: E2 08 00 45 1E 80 11 00 00 00 00 00 00 DD [11:47:51]Write i2c OK [11:47:51]MH_I2C_Read... [11:47:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:47:51]Read from MH i2c: E2 [11:47:51]MH_I2C_Read... [11:47:51]Read from MH i2c: E2 17 00 [11:47:51]MH_I2C_Read... [11:47:51]Read from MH i2c: E2 17 00 45 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 2D [11:47:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:47:51]wFMCommunicate OK [11:47:51]CreateOFDProtocolMessage done [11:47:51]OFDSenderStorePacket 37783 [11:47:51]StoreOFDPacket docnum=37783 [11:47:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 48 01 00 00 5A 12 40 01 CB B5 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 1A 00 00 00 F4 03 04 00 ED 79 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 97 93 00 00 35 04 06 00 54 F4 2B F9 07 21 88 F9 88 DE B1 8E 8C 35 [11:47:51]CheckFolder [11:47:51]dirname=/storage/ofd_packets [11:47:51]CheckFolder done [11:47:51]ProducePacketName [11:47:51]name=ofd_packets/00037783 [11:47:51]NVStorageSaveData ofd_packets/00037783 [11:47:51]File name is /storage/ofd_packets/00037783 [11:47:51]Write 358 bytes [11:47:51]NVStorageSaveData done [11:47:51]OFDSenderStorePacket done [11:47:51]KKMCreateOFDPacket done [11:47:51]NVStorageSaveData kkm_last_timestamp [11:47:51]File name is /storage/kkm_last_timestamp [11:47:51]Write 4 bytes [11:47:51]NVStorageSaveData done [11:47:51]ExternCall_PrintAddStr [11:47:51]wPrintStart [11:47:51]Write to MH i2c: 01 00 00 46 1E 64 [11:47:51]Write i2c OK [11:47:51]MH_I2C_Read... [11:47:51]Read from MH i2c: 01 [11:47:51]MH_I2C_Read... [11:47:51]Read from MH i2c: 01 07 00 [11:47:51]MH_I2C_Read... [11:47:51]Read from MH i2c: 01 07 00 46 1E 00 00 00 00 00 FF 0F 79 [11:47:51]RasterBufferAndPrint [11:47:51]line Счет N : (3)35082 [11:47:51]line ИНН: 02508201610067 [11:47:51]line Контрольно-Кассовый Чек [11:47:51]line ПРОДАЖА [11:47:51]line Товар: 5449000027474 [11:47:51]line Напиток FuzeTea зел чай манго,ромашка 1л [11:47:51]line 1.000 * 120.00 [11:47:51]line = 120.00 [11:47:51]line НДС 12% НСП 1% [11:47:51]line > о реализуемом товаре [11:47:51]line ИТОГО: 120.00 [11:47:51]line НСП 1% : 1.06 [11:47:51]line НДС 12% : 12.74 [11:47:51]line Наличными: 120.00 [11:47:51]line Безнал.: 0.00 [11:47:51]line Место: АЗС № 126 "Партнер Нефть" [11:47:51]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [11:47:51]line СНО: Общий режим [11:47:51]line Чек 26 28.10.2024 11:47 [11:47:51]line Смена: 551 ФФД: 1.0 [11:47:51]line ЗНМ: 0300000092 [11:47:51]line РНМ: 0000000000091684 [11:47:51]line Версия ККМ: 001 [11:47:51]line ФМ: 0000000000871841 [11:47:51]line ФД: 37783 [11:47:51]line ФПД: 93407686493985 [11:47:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T114757&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37783&fm=93407686493985&tin=02508201610067®Number=0000000000091684&sum=12000 [11:47:52]OFD Sender: Processing packet 37783 [packets to send 42, broken 41] [11:47:52]ProducePacketName [11:47:52]name=ofd_packets/00037783 [11:47:52]OFD Sender: To server: pG, [11:47:52]CommunicateWithHost lk.salyk.kg:30040 [11:47:52]ConnectInit lk.salyk.kg [11:47:52]line 0 [11:47:52]written 0, free lines is 4095 [11:47:52]Connected sock=10 [11:47: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 38 34 31 48 01 00 00 5A 12 40 01 CB B5 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 1A 00 00 00 F4 03 04 00 ED 79 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 97 93 00 00 35 04 06 00 54 F4 2B F9 07 21 88 F9 88 DE B1 8E 8C 35 [11:47:52]Write to MH i2c: 01 00 00 6F 1E 8D [11:47:52]Write i2c OK [11:47:52]MH_I2C_Read... [11:47:52]Read from MH i2c: 01 [11:47:52]MH_I2C_Read... [11:47:52]Read from MH i2c: 01 07 00 [11:47:52]MH_I2C_Read... [11:47:52]Read from MH i2c: 01 07 00 6F 1E 00 00 00 00 00 B9 0C 59 [11:47:52]RasterBufferAndPrint [11:47:52]line [11:47:52]line [11:47:52]line [11:47:52]line [11:47:52]line [11:47:52]written 0, free lines is 3260 [11:47:52]MH_Cut [11:47:52]Write to MH i2c: D1 01 00 76 1E 01 66 [11:47:52]Write i2c OK [11:47:52]MH_I2C_Read... [11:47:52]Read from MH i2c: D1 [11:47:52]MH_I2C_Read... [11:47:52]Read from MH i2c: D1 01 00 [11:47:52]MH_I2C_Read... [11:47:52]Read from MH i2c: D1 01 00 76 1E 00 65 [11:47:52]Write to MH i2c: 01 00 00 77 1E 95 [11:47:52]Write i2c OK [11:47:52]MH_I2C_Read... [11:47:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 CD 89 47 00 A8 C3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 97 93 00 00 F4 03 04 00 E2 24 1F 67 B6 04 01 00 00 A1 B2 1E E2 C8 D8 22 4E [11:47:52]CommunicateWithHost err = 0 [11:47:52]CheckOFDResponse [11:47:52]1017 (14) - 77093643461234 [11:47:52]1041 (16) - 0000000000871841 [11:47:52]1040 (4) - 37783 [11:47:52]1012 (4) - 28.10.2024 05:45 [11:47:52]1206 (1) - 0 [11:47:52]OFD Sender: Remove packet 37783 [11:47:52]ProducePacketName [11:47:52]name=ofd_packets/00037783 [11:47:52]NVStorageDeleteData [11:47:53]OFD Sender: No OFD packet to send [11:47:53]*** Cut start [11:47:53]*** Partial cut [11:47:53]*** CUTSNS_PIN = 1 [11:47:53]*** CUTSNS_PIN = 0 [11:47:53]*** Brake cut motor [11:47:54]Read from MH i2c: 01 [11:47:54]MH_I2C_Read... [11:47:54]*** Stop cut motor [11:47:54]*** Cut end [11:47:54]Read from MH i2c: 01 07 00 [11:47:54]MH_I2C_Read... [11:47:54]Read from MH i2c: 01 07 00 77 1E 00 00 00 00 00 FF 0F AA [11:47:54]process_action close_receipt done [11:47:54]requested_data is exist [11:47:54]produce_requested_data [11:47:54]requested_item fm.sn is exist - process it [11:47:54]wFMCommunicate request_size=4 [11:47:54]MH_SAM_APDU [11:47:54]CAPDU: 80 11 00 00 [11:47:54]Write to MH i2c: E2 08 00 78 1E 80 11 00 00 00 00 00 00 10 [11:47:54]Write i2c OK [11:47:54]MH_I2C_Read... [11:47:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:47:54]Read from MH i2c: E2 [11:47:54]MH_I2C_Read... [11:47:54]Read from MH i2c: E2 17 00 [11:47:54]MH_I2C_Read... [11:47:54]Read from MH i2c: E2 17 00 78 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 60 [11:47:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:47:54]wFMCommunicate OK [11:47:54]requested_item fd.num is exist - process it [11:47:54]SAM_PROTO_GetFieldsCounters [11:47:54]wFMCommunicate request_size=4 [11:47:54]MH_SAM_APDU [11:47:54]CAPDU: 80 13 00 00 [11:47:54]Write to MH i2c: E2 08 00 79 1E 80 13 00 00 00 00 00 00 13 [11:47:54]Write i2c OK [11:47:54]MH_I2C_Read... [11:47:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:47:54]Read from MH i2c: E2 [11:47:54]MH_I2C_Read... [11:47:54]Read from MH i2c: E2 62 00 [11:47:54]MH_I2C_Read... [11:47:54]Read from MH i2c: E2 62 00 79 1E 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 97 93 00 00 0E 04 04 00 27 02 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 D5 [11:47: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 97 93 00 00 0E 04 04 00 27 02 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 [11:47:54]wFMCommunicate OK [11:47:54]SAM_PROTO_GetFieldsCounters done [11:47:54]requested_item shift.num is exist - process it [11:47:54]requested_item shift.opened is exist - process it [11:47:54]req_shift_opened [11:47:54]FM_GetShiftState [11:47:54]SAM_PROTO_GetShiftState [11:47:54]wFMCommunicate request_size=4 [11:47:54]MH_SAM_APDU [11:47:54]CAPDU: 80 13 01 00 [11:47:54]Write to MH i2c: E2 08 00 7A 1E 80 13 01 00 00 00 00 00 15 [11:47:54]Write i2c OK [11:47:54]MH_I2C_Read... [11:47:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:47:54]Read from MH i2c: E2 [11:47:54]MH_I2C_Read... [11:47:54]Read from MH i2c: E2 0E 00 [11:47:54]MH_I2C_Read... [11:47:54]Read from MH i2c: E2 0E 00 7A 1E 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 97 [11:47:54]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [11:47:54]wFMCommunicate OK [11:47:54]SAM_PROTO_GetShiftState done [11:47:54]FM_GetShiftState done [11:47:54]req_shift_opened done [11:47:54]requested_item shift.open_date is exist - process it [11:47:54]req_shift_open_date [11:47:54]req_shift_open_date done [11:47:54]produce_requested_data done [11:47:54]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37783,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [11:47:54]process_action_free close_receipt [11:47:54]json_value_free [11:47:54]json_value_free done [11:47:54]process_json_proto returns [11:47:54]Send response to host [11:47:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37783,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [11:47:54]free response buf [11:47:54]execute_script done [11:47:54]execute_script returns [11:47:54]free content buf [11:47:54]Sock 9.Close socket [11:47:54]Sock 9.Thread stoped [11:47:58]OFD Sender: No OFD packet to send [11:48:03]OFD Sender: No OFD packet to send [11:48:08]OFD Sender: No OFD packet to send [11:48:13]OFD Sender: No OFD packet to send [11:48:18]OFD Sender: No OFD packet to send [11:48:23]OFD Sender: No OFD packet to send [11:48:28]OFD Sender: No OFD packet to send [11:48:33]OFD Sender: No OFD packet to send [11:48:38]OFD Sender: No OFD packet to send [11:48:43]OFD Sender: No OFD packet to send [11:48:48]OFD Sender: No OFD packet to send [11:48:53]OFD Sender: No OFD packet to send [11:53:54]ConnectInit Can't connect to host [11:53:58]accept exits with 7 [11:53:58]New connection [11:53:58]New thread 3067297124 created [11:53:58]Thread 3067440484 joined [11:53:58]Waiting for new connection... [11:53:58] Sock 7.Parse request [11:53:58]Sock 7.Check first char [11:53:58]Sock 7.First char is OK [11:53:58]request: POST /json_proto HTTP/1.0 [11:53:58]Method: POST [11:53:58]URL: /json_proto [11:53:58]Method is POST - this is cgi request [11:53:58]url: /json_proto [11:53:58]query_string will be loaded in cgi processing [11:53:58]execute_cgi json_proto POST (null) [11:53:58]execute_cgi path=json_proto method=POST [11:53:58]POST find Content-Length [11:53:58]Host: 172.17.40.196:8080 [11:53:58]Content-Length: 1395 [11:53:58]Content-Type: application/json [11:53:58] [11:53:58]POST finish read [11:53:58]Found Content-Length = 1395 [11:53:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35083", "tax_sys" : 0, "items" : [ { "code": "4700002086380", "name": "\u0412\u043E\u0434\u043A\u0430 \u0421\u0430\u0440\u044B \u0447\u0435\u043B\u0435\u043A 0,35\u043B", "price" : 260.00, "quantity" : 1.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 4.000, "sum" : 28.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" : 408.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:53:58]execute_script... [11:53: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)35083", "tax_sys" : 0, "items" : [ { "code": "4700002086380", "name": "\u0412\u043E\u0434\u043A\u0430 \u0421\u0430\u0440\u044B \u0447\u0435\u043B\u0435\u043A 0,35\u043B", "price" : 260.00, "quantity" : 1.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 4.000, "sum" : 28.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" : 408.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:53:58]POST & json_proto [11:53:58]process_json_proto [11:53:58]json parsed OK: [11:53:58]protocol is kg_v1.0 [11:53:58]action value=close_receipt [11:53:58]process_action close_receipt [11:53:58]cmd_close_receipt [11:53:58]MH_GetDate [11:53:58]Write to MH i2c: F0 00 00 7B 1E 88 [11:53:58]Write i2c OK [11:53:58]MH_I2C_Read... [11:53:58]Read from MH i2c: F0 [11:53:58]MH_I2C_Read... [11:53:58]Read from MH i2c: F0 09 00 [11:53:58]MH_I2C_Read... [11:53:58]Read from MH i2c: F0 09 00 7B 1E 00 5D 7B 1F 67 5B 68 A1 66 B9 [11:53:58]GetLastDocTimeStamp 1730116077 [11:53:58]current date 1730116445 [11:53:58]FM_GetShiftState [11:53:58]SAM_PROTO_GetShiftState [11:53:58]wFMCommunicate request_size=4 [11:53:58]MH_SAM_APDU [11:53:58]CAPDU: 80 13 01 00 [11:53:58]Write to MH i2c: E2 08 00 7C 1E 80 13 01 00 00 00 00 00 17 [11:53:58]Write i2c OK [11:53:58]MH_I2C_Read... [11:53:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:53:58]Read from MH i2c: E2 [11:53:58]MH_I2C_Read... [11:53:58]Read from MH i2c: E2 0E 00 [11:53:58]MH_I2C_Read... [11:53:58]Read from MH i2c: E2 0E 00 7C 1E 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 99 [11:53:58]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [11:53:58]wFMCommunicate OK [11:53:58]SAM_PROTO_GetShiftState done [11:53:58]FM_GetShiftState done [11:53:58]opened in 1730073884 [11:53:58]opened+sec_in_day 1730160284 [11:53:58]quantity*price = 26000 [11:53:58]sum+1 = 26001 [11:53:58]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189356 Холодный чай Fuse манго ананас 1л 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 4.000 * 7.00 = 28.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 408.00 НСП 1% : 3.61 НДС 12% : 43.32 Наличными: 0.00 Безнал.: 408.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 27 28.10.2024 11:54 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37784 ФПД: 179393640304283 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T115406&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37784&fm=179393640304283&tin=02508201610067®Number=0000000000091684&sum=40800 0 [11:53:59]StoreToDocumentArchive [11:53:59]shift 551 fd 37784 [11:53:59]save to /storage/0551/doc_00037784 [11:53:59]save last doc name /storage/0551/doc_00037784 to /storage/kkm_last_doc_name [11:53:59]save OK [11:53:59]Clear old archive folders... [11:53:59]ProcessDocumentItem done err = 0, tmpTLVsize=524 [11:53:59]tlvbuf is 00230050 [11:53:59]SAM_PROTO_ClearQueue [11:53:59]wFMCommunicate request_size=4 [11:53:59]MH_SAM_APDU [11:53:59]CAPDU: 80 09 00 00 [11:53:59]Write to MH i2c: E2 08 00 89 1E 80 09 00 00 00 00 00 00 19 [11:53:59]Write i2c OK [11:53:59]MH_I2C_Read... [11:53:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:53:59]Read from MH i2c: E2 [11:53:59]MH_I2C_Read... [11:53:59]Read from MH i2c: E2 03 00 [11:53:59]MH_I2C_Read... [11:53:59]Read from MH i2c: E2 03 00 89 1E 00 90 00 1B [11:53:59]RAPDU: 90 00 [11:53:59]wFMCommunicate OK [11:53:59]SAM_PROTO_ClearQueue done [11:53:59]KKMCreateOFDPacket [11:53:59]OFDProtocolAddRootSTLVToBuf [11:53:59]FM_MakeSignedData [11:53:59]FM_MakeSignedData [11:53:59]SAM_PROTO_SignData [11:53:59]wFMCommunicate request_size=4 [11:53:59]MH_SAM_APDU [11:53:59]CAPDU: 80 0D 01 02 [11:53:59]Write to MH i2c: E2 08 00 8A 1E 80 0D 01 02 00 00 00 00 21 [11:53:59]Write i2c OK [11:53:59]MH_I2C_Read... [11:53:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:53:59]Read from MH i2c: E2 [11:53:59]MH_I2C_Read... [11:53:59]Read from MH i2c: E2 03 00 [11:53:59]MH_I2C_Read... [11:53:59]Read from MH i2c: E2 03 00 8A 1E 00 90 00 1C [11:53:59]RAPDU: 90 00 [11:53:59]wFMCommunicate OK [11:53:59]wFMCommunicate request_size=255 [11:53:59]MH_SAM_APDU [11:53:59]CAPDU: 80 0D 02 02 FA 03 00 0C 02 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 33 38 30 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 [11:54:00]Write to MH i2c: E2 02 01 8B 1E 80 0D 02 02 FA 00 03 00 0C 02 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 33 38 30 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 00 00 4F [11:54:00]Write i2c OK [11:54:00]MH_I2C_Read... [11:54:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:54:00]Read from MH i2c: E2 [11:54:00]MH_I2C_Read... [11:54:00]Read from MH i2c: E2 03 00 [11:54:00]MH_I2C_Read... [11:54:00]Read from MH i2c: E2 03 00 8B 1E 00 90 00 1D [11:54:00]RAPDU: 90 00 [11:54:00]wFMCommunicate OK [11:54:00]wFMCommunicate request_size=255 [11:54:00]MH_SAM_APDU [11:54:00]CAPDU: 80 0D 02 02 FA 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 9F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EC 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 9F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 5E 7B 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 [11:54:00]Write to MH i2c: E2 02 01 8C 1E 80 0D 02 02 FA 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 9F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EC 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 9F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 5E 7B 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 00 00 A0 [11:54:00]Write i2c OK [11:54:00]MH_I2C_Read... [11:54:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:54:00]Read from MH i2c: E2 [11:54:00]MH_I2C_Read... [11:54:00]Read from MH i2c: E2 03 00 [11:54:00]MH_I2C_Read... [11:54:00]Read from MH i2c: E2 03 00 8C 1E 00 90 00 1E [11:54:00]RAPDU: 90 00 [11:54:00]wFMCommunicate OK [11:54:00]wFMCommunicate request_size=33 [11:54:00]MH_SAM_APDU [11:54:00]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 34 31 10 04 04 00 98 93 00 00 35 04 06 00 A3 28 56 34 8E 9B [11:54:00]Write to MH i2c: E2 24 00 8D 1E 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 34 31 10 04 04 00 98 93 00 00 35 04 06 00 A3 28 56 34 8E 9B 00 00 5A [11:54:00]Write i2c OK [11:54:00]MH_I2C_Read... [11:54:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:54:00]Read from MH i2c: E2 [11:54:00]MH_I2C_Read... [11:54:00]Read from MH i2c: E2 03 00 [11:54:00]MH_I2C_Read... [11:54:00]Read from MH i2c: E2 03 00 8D 1E 00 90 00 1F [11:54:00]RAPDU: 90 00 [11:54:00]wFMCommunicate OK [11:54:00]wFMCommunicate request_size=4 [11:54:00]MH_SAM_APDU [11:54:00]CAPDU: 80 0D 03 02 [11:54:00]Write to MH i2c: E2 08 00 8E 1E 80 0D 03 02 00 00 00 00 27 [11:54:00]Write i2c OK [11:54:00]MH_I2C_Read... [11:54:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:54:00]Read from MH i2c: E2 [11:54:00]MH_I2C_Read... [11:54:00]Read from MH i2c: E2 0B 00 [11:54:00]MH_I2C_Read... [11:54:00]Read from MH i2c: E2 0B 00 8E 1E 00 A4 50 1B 15 0B 36 B3 E2 90 00 22 [11:54:00]RAPDU: A4 50 1B 15 0B 36 B3 E2 90 00 [11:54:00]wFMCommunicate OK [11:54:00]SAM_PROTO_SignData done [11:54:00]FM_MakeSignedData done [11:54:00]CreateOFDProtocolMessage [11:54:00]wFMCommunicate request_size=4 [11:54:00]MH_SAM_APDU [11:54:00]CAPDU: 80 11 00 00 [11:54:00]Write to MH i2c: E2 08 00 8F 1E 80 11 00 00 00 00 00 00 27 [11:54:00]Write i2c OK [11:54:00]MH_I2C_Read... [11:54:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:54:00]Read from MH i2c: E2 [11:54:00]MH_I2C_Read... [11:54:00]Read from MH i2c: E2 17 00 [11:54:00]MH_I2C_Read... [11:54:00]Read from MH i2c: E2 17 00 8F 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 77 [11:54:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:54:00]wFMCommunicate OK [11:54:00]CreateOFDProtocolMessage done [11:54:00]OFDSenderStorePacket 37784 [11:54:00]StoreOFDPacket docnum=37784 [11:54:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 20 02 00 00 A9 83 18 02 FF 38 5A 03 01 00 03 00 0C 02 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 33 38 30 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 9F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EC 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 9F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 5E 7B 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 98 93 00 00 35 04 06 00 A3 28 56 34 8E 9B A4 50 1B 15 0B 36 B3 E2 [11:54:00]CheckFolder [11:54:00]dirname=/storage/ofd_packets [11:54:00]CheckFolder done [11:54:00]ProducePacketName [11:54:00]name=ofd_packets/00037784 [11:54:00]NVStorageSaveData ofd_packets/00037784 [11:54:00]File name is /storage/ofd_packets/00037784 [11:54:00]Write 574 bytes [11:54:00]NVStorageSaveData done [11:54:00]OFDSenderStorePacket done [11:54:00]KKMCreateOFDPacket done [11:54:00]NVStorageSaveData kkm_last_timestamp [11:54:00]File name is /storage/kkm_last_timestamp [11:54:00]Write 4 bytes [11:54:00]NVStorageSaveData done [11:54:00]ExternCall_PrintAddStr [11:54:00]wPrintStart [11:54:00]Write to MH i2c: 01 00 00 90 1E AE [11:54:00]Write i2c OK [11:54:00]MH_I2C_Read... [11:54:00]Read from MH i2c: 01 [11:54:00]MH_I2C_Read... [11:54:00]Read from MH i2c: 01 07 00 [11:54:00]MH_I2C_Read... [11:54:00]Read from MH i2c: 01 07 00 90 1E 00 00 00 00 00 FF 0F C3 [11:54:00]RasterBufferAndPrint [11:54:00]line Счет N : (3)35083 [11:54:00]line ИНН: 02508201610067 [11:54:00]line Контрольно-Кассовый Чек [11:54:00]line ПРОДАЖА [11:54:00]line Товар: 4700002086380 [11:54:00]line Водка Сары челек 0,35л [11:54:00]line 1.000 * 260.00 [11:54:00]line = 260.00 [11:54:00]line НДС 12% НСП 1% [11:54:00]line > о реализуемом товаре [11:54:00]line Товар: 5449000189356 [11:54:00]line Холодный чай Fuse манго ананас 1л [11:54:00]line 1.000 * 120.00 [11:54:00]line = 120.00 [11:54:00]line НДС 12% НСП 1% [11:54:00]line > о реализуемом товаре [11:54:00]line Товар: 2000053020015 [11:54:00]line Бумажные стаканы 250мл 1шт [11:54:00]line 4.000 * 7.00 [11:54:00]line = 28.00 [11:54:00]line НДС 12% НСП 1% [11:54:00]line > о реализуемом товаре [11:54:00]line ИТОГО: 408.00 [11:54:00]line НСП 1% : 3.61 [11:54:00]line НДС 12% : 43.32 [11:54:00]line Наличными: 0.00 [11:54:00]line Безнал.: 408.00 [11:54:00]line Место: АЗС № 126 "Партнер Нефть" [11:54:00]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [11:54:00]line СНО: Общий режим [11:54:00]line Чек 27 28.10.2024 11:54 [11:54:00]line Смена: 551 ФФД: 1.0 [11:54:00]line ЗНМ: 0300000092 [11:54:00]line РНМ: 0000000000091684 [11:54:00]line Версия ККМ: 001 [11:54:00]line Платежная система: Mbank [11:54:00]line ФМ: 0000000000871841 [11:54:00]line ФД: 37784 [11:54:00]line ФПД: 179393640304283 [11:54:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T115406&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37784&fm=179393640304283&tin=02508201610067®Number=0000000000091684&sum=40800 [11:54:00]line 0 [11:54:01]written 0, free lines is 4095 [11:54:01]OFD Sender: Processing packet 37784 [packets to send 42, broken 41] [11:54:01]ProducePacketName [11:54:01]name=ofd_packets/00037784 [11:54:01]OFD Sender: To server: pG, [11:54:01]CommunicateWithHost lk.salyk.kg:30040 [11:54:01]ConnectInit lk.salyk.kg [11:54:01]Connected sock=10 [11:54: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 38 34 31 20 02 00 00 A9 83 18 02 FF 38 5A 03 01 00 03 00 0C 02 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 33 38 30 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 9F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EC 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 9F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 5E 7B 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 98 93 00 00 35 04 06 00 A3 28 56 34 8E 9B A4 50 1B 15 0B 36 B3 E2 [11:54:01]Write to MH i2c: 01 00 00 C7 1E E5 [11:54:01]Write i2c OK [11:54:01]MH_I2C_Read... [11:54:01]Read from MH i2c: 01 [11:54:01]MH_I2C_Read... [11:54:01]Read from MH i2c: 01 07 00 [11:54:01]MH_I2C_Read... [11:54:01]Read from MH i2c: 01 07 00 C7 1E 00 00 00 00 00 C2 0B B9 [11:54:01]RasterBufferAndPrint [11:54:01]line [11:54:01]line [11:54:01]line [11:54:01]line [11:54:01]line [11:54:01]written 0, free lines is 3014 [11:54:01]MH_Cut [11:54:01]Write to MH i2c: D1 01 00 CE 1E 01 BE [11:54:01]Write i2c OK [11:54:01]MH_I2C_Read... [11:54:01]Read from MH i2c: D1 [11:54:01]MH_I2C_Read... [11:54:01]Read from MH i2c: D1 01 00 [11:54:01]MH_I2C_Read... [11:54:01]Read from MH i2c: D1 01 00 CE 1E 00 BD [11:54:01]Write to MH i2c: 01 00 00 CF 1E ED [11:54:01]Write i2c OK [11:54:01]MH_I2C_Read... [11:54:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 CD 9D 47 00 C3 09 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 98 93 00 00 F4 03 04 00 53 26 1F 67 B6 04 01 00 00 2E AD 12 DA DA 43 D0 1A [11:54:01]CommunicateWithHost err = 0 [11:54:01]CheckOFDResponse [11:54:01]1017 (14) - 77093643461234 [11:54:01]1041 (16) - 0000000000871841 [11:54:01]1040 (4) - 37784 [11:54:01]1012 (4) - 28.10.2024 05:51 [11:54:01]1206 (1) - 0 [11:54:01]OFD Sender: Remove packet 37784 [11:54:01]ProducePacketName [11:54:01]name=ofd_packets/00037784 [11:54:01]NVStorageDeleteData [11:54:02]OFD Sender: No OFD packet to send [11:54:02]*** Cut start [11:54:02]*** Partial cut [11:54:02]*** CUTSNS_PIN = 1 [11:54:02]*** CUTSNS_PIN = 0 [11:54:03]*** Brake cut motor [11:54:03]Read from MH i2c: 01 [11:54:03]MH_I2C_Read... [11:54:03]*** Stop cut motor [11:54:03]*** Cut end [11:54:03]Read from MH i2c: 01 07 00 [11:54:03]MH_I2C_Read... [11:54:03]Read from MH i2c: 01 07 00 CF 1E 00 00 00 00 00 FF 0F 02 [11:54:03]process_action close_receipt done [11:54:03]requested_data is exist [11:54:03]produce_requested_data [11:54:03]requested_item fm.sn is exist - process it [11:54:03]wFMCommunicate request_size=4 [11:54:03]MH_SAM_APDU [11:54:03]CAPDU: 80 11 00 00 [11:54:03]Write to MH i2c: E2 08 00 D0 1E 80 11 00 00 00 00 00 00 68 [11:54:03]Write i2c OK [11:54:03]MH_I2C_Read... [11:54:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:54:03]Read from MH i2c: E2 [11:54:03]MH_I2C_Read... [11:54:03]Read from MH i2c: E2 17 00 [11:54:03]MH_I2C_Read... [11:54:03]Read from MH i2c: E2 17 00 D0 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B8 [11:54:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:54:03]wFMCommunicate OK [11:54:03]requested_item fd.num is exist - process it [11:54:03]SAM_PROTO_GetFieldsCounters [11:54:03]wFMCommunicate request_size=4 [11:54:03]MH_SAM_APDU [11:54:03]CAPDU: 80 13 00 00 [11:54:03]Write to MH i2c: E2 08 00 D1 1E 80 13 00 00 00 00 00 00 6B [11:54:03]Write i2c OK [11:54:03]MH_I2C_Read... [11:54:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:54:03]Read from MH i2c: E2 [11:54:03]MH_I2C_Read... [11:54:03]Read from MH i2c: E2 62 00 [11:54:03]MH_I2C_Read... [11:54:03]Read from MH i2c: E2 62 00 D1 1E 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 98 93 00 00 0E 04 04 00 27 02 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 31 [11:54: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 98 93 00 00 0E 04 04 00 27 02 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 [11:54:03]wFMCommunicate OK [11:54:03]SAM_PROTO_GetFieldsCounters done [11:54:03]requested_item shift.num is exist - process it [11:54:03]requested_item shift.opened is exist - process it [11:54:03]req_shift_opened [11:54:03]FM_GetShiftState [11:54:03]SAM_PROTO_GetShiftState [11:54:03]wFMCommunicate request_size=4 [11:54:03]MH_SAM_APDU [11:54:03]CAPDU: 80 13 01 00 [11:54:03]Write to MH i2c: E2 08 00 D2 1E 80 13 01 00 00 00 00 00 6D [11:54:03]Write i2c OK [11:54:03]MH_I2C_Read... [11:54:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:54:03]Read from MH i2c: E2 [11:54:03]MH_I2C_Read... [11:54:03]Read from MH i2c: E2 0E 00 [11:54:03]MH_I2C_Read... [11:54:03]Read from MH i2c: E2 0E 00 D2 1E 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 EF [11:54:03]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [11:54:03]wFMCommunicate OK [11:54:03]SAM_PROTO_GetShiftState done [11:54:03]FM_GetShiftState done [11:54:03]req_shift_opened done [11:54:03]requested_item shift.open_date is exist - process it [11:54:03]req_shift_open_date [11:54:03]req_shift_open_date done [11:54:03]produce_requested_data done [11:54:03]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37784,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [11:54:03]process_action_free close_receipt [11:54:03]json_value_free [11:54:03]json_value_free done [11:54:03]process_json_proto returns [11:54:03]Send response to host [11:54:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37784,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [11:54:03]free response buf [11:54:03]execute_script done [11:54:03]execute_script returns [11:54:03]free content buf [11:54:03]Sock 7.Close socket [11:54:03]Sock 7.Thread stoped [11:54:07]OFD Sender: No OFD packet to send [11:54:12]OFD Sender: No OFD packet to send [11:54:17]OFD Sender: No OFD packet to send [11:54:22]OFD Sender: No OFD packet to send [11:54:27]OFD Sender: No OFD packet to send [11:54:32]OFD Sender: No OFD packet to send [11:54:37]OFD Sender: No OFD packet to send [11:54:42]OFD Sender: No OFD packet to send [11:54:47]OFD Sender: No OFD packet to send [12:05:53]ConnectInit Can't connect to host [12:08:08]ConnectInit Can't connect to host [12:08:08]CommunicateWithHost connect error [12:08:08]CommunicateWithHost err = -1 [12:08:08]OFD Sender: Server communicate error [12:08:13]OFD Sender: Processing packet 37785 [packets to send 42, broken 41] [12:08:13]ProducePacketName [12:08:13]name=ofd_packets/00037785 [12:08:13]OFD Sender: To server: pG, [12:08:13]CommunicateWithHost lk.salyk.kg:30040 [12:08:13]ConnectInit lk.salyk.kg [12:08:13]Connected sock=9 [12:08:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 27 01 00 00 D1 17 1F 01 1F 6C 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 DC 7C 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 99 93 00 00 35 04 06 00 CE 3B 74 85 FC AC 57 9B A4 62 70 CD 08 64 [12:08:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 73 4F 47 00 97 F5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 99 93 00 00 F4 03 04 00 A8 29 1F 67 B6 04 01 00 00 35 C3 B2 AB 12 28 6F 00 [12:08:14]CommunicateWithHost err = 0 [12:08:14]CheckOFDResponse [12:08:14]1017 (14) - 77093643461234 [12:08:14]1041 (16) - 0000000000871841 [12:08:14]1040 (4) - 37785 [12:08:14]1012 (4) - 28.10.2024 06:05 [12:08:14]1206 (1) - 0 [12:08:14]OFD Sender: Remove packet 37785 [12:08:14]ProducePacketName [12:08:14]name=ofd_packets/00037785 [12:08:14]NVStorageDeleteData [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:15]OFD Sender: No OFD packet to send [12:10:20]OFD Sender: No OFD packet to send [12:10:25]OFD Sender: No OFD packet to send [12:10:30]OFD Sender: No OFD packet to send [12:10:35]OFD Sender: No OFD packet to send [12:10:40]OFD Sender: No OFD packet to send [12:10:45]OFD Sender: No OFD packet to send [12:10:50]OFD Sender: No OFD packet to send [12:10:55]OFD Sender: No OFD packet to send [12:11:00]OFD Sender: No OFD packet to send [12:11:05]OFD Sender: No OFD packet to send [12:11:10]OFD Sender: No OFD packet to send [12:11:15]OFD Sender: No OFD packet to send [12:11:20]OFD Sender: No OFD packet to send [12:11:25]OFD Sender: No OFD packet to send [12:11:30]OFD Sender: No OFD packet to send [12:11:35]OFD Sender: No OFD packet to send [12:11:40]OFD Sender: No OFD packet to send [12:11:45]OFD Sender: No OFD packet to send [12:11:50]OFD Sender: No OFD packet to send [12:11:55]OFD Sender: No OFD packet to send [12:12:00]OFD Sender: No OFD packet to send [12:12:05]OFD Sender: No OFD packet to send [12:12:10]OFD Sender: No OFD packet to send [12:12:15]OFD Sender: No OFD packet to send [12:12:20]OFD Sender: No OFD packet to send [12:12:25]OFD Sender: No OFD packet to send [12:12:30]OFD Sender: No OFD packet to send [12:12:35]OFD Sender: No OFD packet to send [12:12:40]OFD Sender: No OFD packet to send [12:12:45]OFD Sender: No OFD packet to send [12:12:50]OFD Sender: No OFD packet to send [12:12:55]OFD Sender: No OFD packet to send [12:13:00]OFD Sender: No OFD packet to send [12:13:05]OFD Sender: No OFD packet to send [12:13:10]OFD Sender: No OFD packet to send [12:13:15]OFD Sender: No OFD packet to send [12:13:20]OFD Sender: No OFD packet to send [12:13:25]OFD Sender: No OFD packet to send [12:13:30]OFD Sender: No OFD packet to send [12:13:35]OFD Sender: No OFD packet to send [12:13:40]OFD Sender: No OFD packet to send [12:13:45]OFD Sender: No OFD packet to send [12:13:50]OFD Sender: No OFD packet to send [12:13:55]OFD Sender: No OFD packet to send [12:14:00]OFD Sender: No OFD packet to send [12:14:05]OFD Sender: No OFD packet to send [12:14:10]OFD Sender: No OFD packet to send [12:14:15]OFD Sender: No OFD packet to send [12:14:20]OFD Sender: No OFD packet to send [12:14:25]OFD Sender: No OFD packet to send [12:14:30]OFD Sender: No OFD packet to send [12:14:35]OFD Sender: No OFD packet to send [12:14:40]OFD Sender: No OFD packet to send [12:14:45]OFD Sender: No OFD packet to send [12:14:50]OFD Sender: No OFD packet to send [12:14:55]OFD Sender: No OFD packet to send [12:15:00]OFD Sender: No OFD packet to send [12:15:05]OFD Sender: No OFD packet to send [12:15:10]OFD Sender: No OFD packet to send [12:15:15]OFD Sender: No OFD packet to send [12:15:20]OFD Sender: No OFD packet to send [12:15:25]OFD Sender: No OFD packet to send [12:15:30]OFD Sender: No OFD packet to send [12:15:35]OFD Sender: No OFD packet to send [12:15:40]OFD Sender: No OFD packet to send [12:15:45]OFD Sender: No OFD packet to send [12:15:50]OFD Sender: No OFD packet to send [12:15:55]OFD Sender: No OFD packet to send [12:16:00]OFD Sender: No OFD packet to send [12:16:05]OFD Sender: No OFD packet to send [12:16:10]OFD Sender: No OFD packet to send [12:16:15]OFD Sender: No OFD packet to send [12:16:20]OFD Sender: No OFD packet to send [12:16:25]OFD Sender: No OFD packet to send [12:16:30]OFD Sender: No OFD packet to send [12:16:35]OFD Sender: No OFD packet to send [12:16:40]OFD Sender: No OFD packet to send [12:16:45]OFD Sender: No OFD packet to send [12:16:50]OFD Sender: No OFD packet to send [12:16:55]OFD Sender: No OFD packet to send [12:17:00]OFD Sender: No OFD packet to send [12:17:05]OFD Sender: No OFD packet to send [12:17:10]OFD Sender: No OFD packet to send [12:17:15]OFD Sender: No OFD packet to send [12:17:20]OFD Sender: No OFD packet to send [12:17:25]OFD Sender: No OFD packet to send [12:17:30]OFD Sender: No OFD packet to send [12:17:35]OFD Sender: No OFD packet to send [12:17:40]OFD Sender: No OFD packet to send [12:17:45]OFD Sender: No OFD packet to send [12:17:50]OFD Sender: No OFD packet to send [12:17:55]OFD Sender: No OFD packet to send [12:18:00]OFD Sender: No OFD packet to send [12:18:05]OFD Sender: No OFD packet to send [12:18:10]OFD Sender: No OFD packet to send [12:18:15]OFD Sender: No OFD packet to send [12:18:20]OFD Sender: No OFD packet to send [12:18:25]OFD Sender: No OFD packet to send [12:18:30]OFD Sender: No OFD packet to send [12:18:35]OFD Sender: No OFD packet to send [12:18:40]OFD Sender: No OFD packet to send [12:18:45]OFD Sender: No OFD packet to send [12:18:50]OFD Sender: No OFD packet to send [12:18:55]OFD Sender: No OFD packet to send [12:19:00]OFD Sender: No OFD packet to send [12:19:05]OFD Sender: No OFD packet to send [12:19:10]OFD Sender: No OFD packet to send [12:19:15]OFD Sender: No OFD packet to send [12:19:20]OFD Sender: No OFD packet to send [12:19:25]OFD Sender: No OFD packet to send [12:19:30]OFD Sender: No OFD packet to send [12:19:35]OFD Sender: No OFD packet to send [12:19:40]OFD Sender: No OFD packet to send [12:19:45]OFD Sender: No OFD packet to send [12:19:50]OFD Sender: No OFD packet to send [12:19:55]OFD Sender: No OFD packet to send [12:20:00]OFD Sender: No OFD packet to send [12:20:05]OFD Sender: No OFD packet to send [12:20:10]OFD Sender: No OFD packet to send [12:20:15]OFD Sender: No OFD packet to send [12:20:20]OFD Sender: No OFD packet to send [12:20:25]OFD Sender: No OFD packet to send [12:20:30]OFD Sender: No OFD packet to send [12:20:35]OFD Sender: No OFD packet to send [12:20:40]OFD Sender: No OFD packet to send [12:20:45]OFD Sender: No OFD packet to send [12:20:50]OFD Sender: No OFD packet to send [12:20:55]OFD Sender: No OFD packet to send [12:21:00]OFD Sender: No OFD packet to send [12:21:05]OFD Sender: No OFD packet to send [12:21:10]OFD Sender: No OFD packet to send [12:21:15]OFD Sender: No OFD packet to send [12:21:20]OFD Sender: No OFD packet to send [12:21:25]OFD Sender: No OFD packet to send [12:21:30]OFD Sender: No OFD packet to send [12:21:35]OFD Sender: No OFD packet to send [12:21:40]OFD Sender: No OFD packet to send [12:21:45]OFD Sender: No OFD packet to send [12:21:50]OFD Sender: No OFD packet to send [12:21:55]OFD Sender: No OFD packet to send [12:22:00]OFD Sender: No OFD packet to send [12:22:05]OFD Sender: No OFD packet to send [12:22:10]OFD Sender: No OFD packet to send [12:22:15]OFD Sender: No OFD packet to send [12:22:20]OFD Sender: No OFD packet to send [12:22:25]OFD Sender: No OFD packet to send [12:22:30]OFD Sender: No OFD packet to send [12:22:35]OFD Sender: No OFD packet to send [12:22:40]OFD Sender: No OFD packet to send [12:22:45]OFD Sender: No OFD packet to send [12:22:50]OFD Sender: No OFD packet to send [12:22:55]OFD Sender: No OFD packet to send [12:23: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:23:57]accept exits with 7 [12:23:57]New connection [12:23:57]New thread 3067297124 created [12:23:57]Thread 3067440484 joined [12:23:57]Waiting for new connection... [12:23:57] Sock 7.Parse request [12:23:57]Sock 7.Check first char [12:23:57]Sock 7.First char is OK [12:23:57]request: POST /json_proto HTTP/1.0 [12:23:57]Method: POST [12:23:57]URL: /json_proto [12:23:57]Method is POST - this is cgi request [12:23:57]url: /json_proto [12:23:57]query_string will be loaded in cgi processing [12:23:57]execute_cgi json_proto POST (null) [12:23:57]execute_cgi path=json_proto method=POST [12:23:57]POST find Content-Length [12:23:57]Host: 172.17.40.196:8080 [12:23:57]Content-Length: 644 [12:23:57]Content-Type: application/json [12:23:57] [12:23:57]POST finish read [12:23:57]Found Content-Length = 644 [12:23:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35085", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\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" ] } } [12:23:57]execute_script... [12:23:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35085", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\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" ] } } [12:23:57]POST & json_proto [12:23:57]process_json_proto [12:23:57]json parsed OK: [12:23:57]protocol is kg_v1.0 [12:23:57]action value=close_receipt [12:23:57]process_action close_receipt [12:23:57]cmd_close_receipt [12:23:57]MH_GetDate [12:23:57]Write to MH i2c: F0 00 00 1C 1F 2A [12:23:57]Write i2c OK [12:23:57]MH_I2C_Read... [12:23:57]Read from MH i2c: F0 [12:23:57]MH_I2C_Read... [12:23:57]Read from MH i2c: F0 09 00 [12:23:57]MH_I2C_Read... [12:23:57]Read from MH i2c: F0 09 00 1C 1F 00 64 82 1F 67 5B 68 A1 66 69 [12:23:57]GetLastDocTimeStamp 1730116828 [12:23:57]current date 1730118244 [12:23:57]FM_GetShiftState [12:23:57]SAM_PROTO_GetShiftState [12:23:57]wFMCommunicate request_size=4 [12:23:57]MH_SAM_APDU [12:23:57]CAPDU: 80 13 01 00 [12:23:57]Write to MH i2c: E2 08 00 1D 1F 80 13 01 00 00 00 00 00 B9 [12:23:57]Write i2c OK [12:23:57]MH_I2C_Read... [12:23:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:23:57]Read from MH i2c: E2 [12:23:57]MH_I2C_Read... [12:23:57]Read from MH i2c: E2 0E 00 [12:23:57]MH_I2C_Read... [12:23:57]Read from MH i2c: E2 0E 00 1D 1F 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 3B [12:23:57]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [12:23:57]wFMCommunicate OK [12:23:57]SAM_PROTO_GetShiftState done [12:23:57]FM_GetShiftState done [12:23:57]opened in 1730073884 [12:23:57]opened+sec_in_day 1730160284 [12:23:57]quantity*price = 6500 [12:23:57]sum+1 = 6501 [12:23:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 29 28.10.2024 12:24 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37786 ФПД: 101690985415977 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T122404&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37786&fm=101690985415977&tin=02508201610067®Number=0000000000091684&sum=6500 0 [12:23:58]StoreToDocumentArchive [12:23:58]shift 551 fd 37786 [12:23:58]save to /storage/0551/doc_00037786 [12:23:58]save last doc name /storage/0551/doc_00037786 to /storage/kkm_last_doc_name [12:23:58]save OK [12:23:58]Clear old archive folders... [12:23:58]ProcessDocumentItem done err = 0, tmpTLVsize=272 [12:23:58]tlvbuf is 0028A5E0 [12:23:58]SAM_PROTO_ClearQueue [12:23:58]wFMCommunicate request_size=4 [12:23:58]MH_SAM_APDU [12:23:58]CAPDU: 80 09 00 00 [12:23:58]Write to MH i2c: E2 08 00 2A 1F 80 09 00 00 00 00 00 00 BB [12:23:58]Write i2c OK [12:23:58]MH_I2C_Read... [12:23:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:23:58]Read from MH i2c: E2 [12:23:58]MH_I2C_Read... [12:23:58]Read from MH i2c: E2 03 00 [12:23:58]MH_I2C_Read... [12:23:58]Read from MH i2c: E2 03 00 2A 1F 00 90 00 BD [12:23:58]RAPDU: 90 00 [12:23:58]wFMCommunicate OK [12:23:58]SAM_PROTO_ClearQueue done [12:23:58]KKMCreateOFDPacket [12:23:58]OFDProtocolAddRootSTLVToBuf [12:23:58]FM_MakeSignedData [12:23:58]FM_MakeSignedData [12:23:58]SAM_PROTO_SignData [12:23:58]wFMCommunicate request_size=4 [12:23:58]MH_SAM_APDU [12:23:58]CAPDU: 80 0D 01 02 [12:23:58]Write to MH i2c: E2 08 00 2B 1F 80 0D 01 02 00 00 00 00 C3 [12:23:58]Write i2c OK [12:23:58]MH_I2C_Read... [12:23:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:23:58]Read from MH i2c: E2 [12:23:58]MH_I2C_Read... [12:23:58]Read from MH i2c: E2 03 00 [12:23:58]MH_I2C_Read... [12:23:58]Read from MH i2c: E2 03 00 2B 1F 00 90 00 BE [12:23:58]RAPDU: 90 00 [12:23:58]wFMCommunicate OK [12:23:58]wFMCommunicate request_size=255 [12:23:58]MH_SAM_APDU [12:23:58]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 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 1D 00 00 00 F4 03 04 00 64 82 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [12:23:58]Write to MH i2c: E2 02 01 2C 1F 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 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 1D 00 00 00 F4 03 04 00 64 82 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 C4 [12:23:58]Write i2c OK [12:23:58]MH_I2C_Read... [12:23:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:23:58]Read from MH i2c: E2 [12:23:58]MH_I2C_Read... [12:23:58]Read from MH i2c: E2 03 00 [12:23:58]MH_I2C_Read... [12:23:58]Read from MH i2c: E2 03 00 2C 1F 00 90 00 BF [12:23:58]RAPDU: 90 00 [12:23:58]wFMCommunicate OK [12:23:58]wFMCommunicate request_size=31 [12:23:58]MH_SAM_APDU [12:23:58]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 9A 93 00 00 35 04 06 00 5C 7C C7 10 05 29 [12:23:58]Write to MH i2c: E2 22 00 2D 1F 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 9A 93 00 00 35 04 06 00 5C 7C C7 10 05 29 00 00 F8 [12:23:58]Write i2c OK [12:23:58]MH_I2C_Read... [12:23:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:23:58]Read from MH i2c: E2 [12:23:58]MH_I2C_Read... [12:23:58]Read from MH i2c: E2 03 00 [12:23:58]MH_I2C_Read... [12:23:58]Read from MH i2c: E2 03 00 2D 1F 00 90 00 C0 [12:23:58]RAPDU: 90 00 [12:23:58]wFMCommunicate OK [12:23:58]wFMCommunicate request_size=4 [12:23:58]MH_SAM_APDU [12:23:58]CAPDU: 80 0D 03 02 [12:23:58]Write to MH i2c: E2 08 00 2E 1F 80 0D 03 02 00 00 00 00 C8 [12:23:58]Write i2c OK [12:23:58]MH_I2C_Read... [12:23:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:23:58]Read from MH i2c: E2 [12:23:58]MH_I2C_Read... [12:23:58]Read from MH i2c: E2 0B 00 [12:23:58]MH_I2C_Read... [12:23:58]Read from MH i2c: E2 0B 00 2E 1F 00 75 D6 EF 9A 67 94 66 3F 90 00 3D [12:23:58]RAPDU: 75 D6 EF 9A 67 94 66 3F 90 00 [12:23:58]wFMCommunicate OK [12:23:58]SAM_PROTO_SignData done [12:23:58]FM_MakeSignedData done [12:23:58]CreateOFDProtocolMessage [12:23:58]wFMCommunicate request_size=4 [12:23:58]MH_SAM_APDU [12:23:58]CAPDU: 80 11 00 00 [12:23:58]Write to MH i2c: E2 08 00 2F 1F 80 11 00 00 00 00 00 00 C8 [12:23:58]Write i2c OK [12:23:58]MH_I2C_Read... [12:23:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:23:58]Read from MH i2c: E2 [12:23:58]MH_I2C_Read... [12:23:58]Read from MH i2c: E2 17 00 [12:23:58]MH_I2C_Read... [12:23:58]Read from MH i2c: E2 17 00 2F 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 18 [12:23:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:23:58]wFMCommunicate OK [12:23:58]CreateOFDProtocolMessage done [12:23:58]OFDSenderStorePacket 37786 [12:23:58]StoreOFDPacket docnum=37786 [12:23:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 F6 4E 1C 01 A6 8D 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 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 1D 00 00 00 F4 03 04 00 64 82 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9A 93 00 00 35 04 06 00 5C 7C C7 10 05 29 75 D6 EF 9A 67 94 66 3F [12:23:58]CheckFolder [12:23:58]dirname=/storage/ofd_packets [12:23:58]CheckFolder done [12:23:58]ProducePacketName [12:23:58]name=ofd_packets/00037786 [12:23:58]NVStorageSaveData ofd_packets/00037786 [12:23:58]File name is /storage/ofd_packets/00037786 [12:23:58]Write 322 bytes [12:23:58]NVStorageSaveData done [12:23:58]OFDSenderStorePacket done [12:23:58]KKMCreateOFDPacket done [12:23:58]NVStorageSaveData kkm_last_timestamp [12:23:58]File name is /storage/kkm_last_timestamp [12:23:58]Write 4 bytes [12:23:58]NVStorageSaveData done [12:23:58]ExternCall_PrintAddStr [12:23:58]wPrintStart [12:23:58]Write to MH i2c: 01 00 00 30 1F 4F [12:23:58]Write i2c OK [12:23:58]MH_I2C_Read... [12:23:58]Read from MH i2c: 01 [12:23:58]MH_I2C_Read... [12:23:58]Read from MH i2c: 01 07 00 [12:23:58]MH_I2C_Read... [12:23:58]Read from MH i2c: 01 07 00 30 1F 00 00 00 00 00 FF 0F 64 [12:23:58]RasterBufferAndPrint [12:23:58]line Счет N : (3)35085 [12:23:58]line ИНН: 02508201610067 [12:23:58]line Контрольно-Кассовый Чек [12:23:58]line ПРОДАЖА [12:23:58]line Товар: 47011656 [12:23:58]line Водка Пшеничная 0,1л [12:23:58]line 1.000 * 65.00 [12:23:58]line = 65.00 [12:23:58]line НДС 12% НСП 1% [12:23:58]line > о реализуемом товаре [12:23:58]line ИТОГО: 65.00 [12:23:58]line НСП 1% : 0.57 [12:23:58]line НДС 12% : 6.90 [12:23:58]line Наличными: 65.00 [12:23:58]line Безнал.: 0.00 [12:23:58]line Место: АЗС № 126 "Партнер Нефть" [12:23:58]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [12:23:58]line СНО: Общий режим [12:23:58]line Чек 29 28.10.2024 12:24 [12:23:58]line Смена: 551 ФФД: 1.0 [12:23:58]line ЗНМ: 0300000092 [12:23:58]line РНМ: 0000000000091684 [12:23:58]line Версия ККМ: 001 [12:23:58]line ФМ: 0000000000871841 [12:23:58]line ФД: 37786 [12:23:58]line ФПД: 101690985415977 [12:23:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T122404&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37786&fm=101690985415977&tin=02508201610067®Number=0000000000091684&sum=6500 [12:23:58]line 0 [12:23:58]written 0, free lines is 4095 [12:23:58]OFD Sender: Processing packet 37786 [packets to send 42, broken 41] [12:23:58]ProducePacketName [12:23:58]name=ofd_packets/00037786 [12:23:59]OFD Sender: To server: pG, [12:23:59]CommunicateWithHost lk.salyk.kg:30040 [12:23:59]ConnectInit lk.salyk.kg [12:23:59]Write to MH i2c: 01 00 00 58 1F 77 [12:23:59]Write i2c OK [12:23:59]MH_I2C_Read... [12:23:59]Read from MH i2c: 01 [12:23:59]MH_I2C_Read... [12:23:59]Read from MH i2c: 01 07 00 [12:23:59]MH_I2C_Read... [12:23:59]Read from MH i2c: 01 07 00 58 1F 00 00 00 00 00 CC 0C 56 [12:23:59]RasterBufferAndPrint [12:23:59]line [12:23:59]line [12:23:59]line [12:23:59]line [12:23:59]line [12:23:59]written 0, free lines is 3283 [12:23:59]MH_Cut [12:23:59]Write to MH i2c: D1 01 00 5F 1F 01 50 [12:23:59]Write i2c OK [12:23:59]MH_I2C_Read... [12:23:59]Read from MH i2c: D1 [12:23:59]MH_I2C_Read... [12:23:59]Read from MH i2c: D1 01 00 [12:23:59]MH_I2C_Read... [12:23:59]Read from MH i2c: D1 01 00 5F 1F 00 4F [12:23:59]Write to MH i2c: 01 00 00 60 1F 7F [12:23:59]Write i2c OK [12:23:59]MH_I2C_Read... [12:23:59]Connected sock=10 [12:23:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 F6 4E 1C 01 A6 8D 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 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 1D 00 00 00 F4 03 04 00 64 82 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9A 93 00 00 35 04 06 00 5C 7C C7 10 05 29 75 D6 EF 9A 67 94 66 3F [12:24:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 69 39 47 00 AD D9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9A 93 00 00 F4 03 04 00 59 2D 1F 67 B6 04 01 00 00 F5 2B 4C 63 4E FF 16 88 [12:24:00]CommunicateWithHost err = 0 [12:24:00]CheckOFDResponse [12:24:00]1017 (14) - 77093643461234 [12:24:00]1041 (16) - 0000000000871841 [12:24:00]1040 (4) - 37786 [12:24:00]1012 (4) - 28.10.2024 06:21 [12:24:00]1206 (1) - 0 [12:24:00]OFD Sender: Remove packet 37786 [12:24:00]ProducePacketName [12:24:00]name=ofd_packets/00037786 [12:24:00]NVStorageDeleteData [12:24:00]*** Cut start [12:24:00]*** Partial cut [12:24:00]*** CUTSNS_PIN = 1 [12:24:00]*** CUTSNS_PIN = 0 [12:24:00]*** Brake cut motor [12:24:00]OFD Sender: No OFD packet to send [12:24:00]Read from MH i2c: 01 [12:24:00]MH_I2C_Read... [12:24:00]*** Stop cut motor [12:24:00]*** Cut end [12:24:00]Read from MH i2c: 01 07 00 [12:24:00]MH_I2C_Read... [12:24:00]Read from MH i2c: 01 07 00 60 1F 00 00 00 00 00 FF 0F 94 [12:24:00]process_action close_receipt done [12:24:00]requested_data is exist [12:24:00]produce_requested_data [12:24:00]requested_item fm.sn is exist - process it [12:24:00]wFMCommunicate request_size=4 [12:24:00]MH_SAM_APDU [12:24:00]CAPDU: 80 11 00 00 [12:24:00]Write to MH i2c: E2 08 00 61 1F 80 11 00 00 00 00 00 00 FA [12:24:00]Write i2c OK [12:24:00]MH_I2C_Read... [12:24:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:24:00]Read from MH i2c: E2 [12:24:00]MH_I2C_Read... [12:24:00]Read from MH i2c: E2 17 00 [12:24:00]MH_I2C_Read... [12:24:00]Read from MH i2c: E2 17 00 61 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4A [12:24:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:24:00]wFMCommunicate OK [12:24:00]requested_item fd.num is exist - process it [12:24:00]SAM_PROTO_GetFieldsCounters [12:24:00]wFMCommunicate request_size=4 [12:24:00]MH_SAM_APDU [12:24:00]CAPDU: 80 13 00 00 [12:24:00]Write to MH i2c: E2 08 00 62 1F 80 13 00 00 00 00 00 00 FD [12:24:00]Write i2c OK [12:24:00]MH_I2C_Read... [12:24:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:24:01]Read from MH i2c: E2 [12:24:01]MH_I2C_Read... [12:24:01]Read from MH i2c: E2 62 00 [12:24:01]MH_I2C_Read... [12:24:01]Read from MH i2c: E2 62 00 62 1F 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 9A 93 00 00 0E 04 04 00 27 02 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 CB [12:24:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 9A 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:24:01]wFMCommunicate OK [12:24:01]SAM_PROTO_GetFieldsCounters done [12:24:01]requested_item shift.num is exist - process it [12:24:01]requested_item shift.opened is exist - process it [12:24:01]req_shift_opened [12:24:01]FM_GetShiftState [12:24:01]SAM_PROTO_GetShiftState [12:24:01]wFMCommunicate request_size=4 [12:24:01]MH_SAM_APDU [12:24:01]CAPDU: 80 13 01 00 [12:24:01]Write to MH i2c: E2 08 00 63 1F 80 13 01 00 00 00 00 00 FF [12:24:01]Write i2c OK [12:24:01]MH_I2C_Read... [12:24:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:24:01]Read from MH i2c: E2 [12:24:01]MH_I2C_Read... [12:24:01]Read from MH i2c: E2 0E 00 [12:24:01]MH_I2C_Read... [12:24:01]Read from MH i2c: E2 0E 00 63 1F 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 81 [12:24:01]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [12:24:01]wFMCommunicate OK [12:24:01]SAM_PROTO_GetShiftState done [12:24:01]FM_GetShiftState done [12:24:01]req_shift_opened done [12:24:01]requested_item shift.open_date is exist - process it [12:24:01]req_shift_open_date [12:24:01]req_shift_open_date done [12:24:01]produce_requested_data done [12:24:01]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37786,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [12:24:01]process_action_free close_receipt [12:24:01]json_value_free [12:24:01]json_value_free done [12:24:01]process_json_proto returns [12:24:01]Send response to host [12:24:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37786,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [12:24:01]free response buf [12:24:01]execute_script done [12:24:01]execute_script returns [12:24:01]free content buf [12:24:01]Sock 7.Close socket [12:24:01]Sock 7.Thread stoped [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: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:06]OFD Sender: No OFD packet to send [12:31:11]OFD Sender: No OFD packet to send [12:31:16]OFD Sender: No OFD packet to send [12:31:21]OFD Sender: No OFD packet to send [12:31:26]OFD Sender: No OFD packet to send [12:31:31]OFD Sender: No OFD packet to send [12:31:36]OFD Sender: No OFD packet to send [12:31:36]ConnectInit Can't connect to host [12:31:41]OFD Sender: No OFD packet to send [12:31:46]OFD Sender: No OFD packet to send [12:31:51]OFD Sender: No OFD packet to send [12:31:56]OFD Sender: No OFD packet to send [12:32:01]OFD Sender: No OFD packet to send [12:32:06]OFD Sender: No OFD packet to send [12:32:11]OFD Sender: No OFD packet to send [12:32:16]OFD Sender: No OFD packet to send [12:32:21]OFD Sender: No OFD packet to send [12:32:26]OFD Sender: No OFD packet to send [12:32:31]OFD Sender: No OFD packet to send [12:32:36]OFD Sender: No OFD packet to send [12:32:41]OFD Sender: No OFD packet to send [12:32:46]OFD Sender: No OFD packet to send [12:32:51]OFD Sender: No OFD packet to send [12:32:56]OFD Sender: No OFD packet to send [12:33:01]OFD Sender: No OFD packet to send [12:33:06]OFD Sender: No OFD packet to send [12:33:11]OFD Sender: No OFD packet to send [12:33:16]OFD Sender: No OFD packet to send [12:33:21]OFD Sender: No OFD packet to send [12:33:26]OFD Sender: No OFD packet to send [12:33:31]OFD Sender: No OFD packet to send [12:33:36]OFD Sender: No OFD packet to send [12:33:41]OFD Sender: No OFD packet to send [12:33:46]OFD Sender: No OFD packet to send [12:33:51]OFD Sender: No OFD packet to send [12:33:56]OFD Sender: No OFD packet to send [12:34:01]OFD Sender: No OFD packet to send [12:34:06]OFD Sender: No OFD packet to send [12:34:11]OFD Sender: No OFD packet to send [12:34:16]OFD Sender: No OFD packet to send [12:34:21]OFD Sender: No OFD packet to send [12:34:26]OFD Sender: No OFD packet to send [12:34:31]OFD Sender: No OFD packet to send [12:34:36]OFD Sender: No OFD packet to send [12:34:41]OFD Sender: No OFD packet to send [12:34:46]OFD Sender: No OFD packet to send [12:34:51]OFD Sender: No OFD packet to send [12:34:56]OFD Sender: No OFD packet to send [12:35:01]OFD Sender: No OFD packet to send [12:35:06]OFD Sender: No OFD packet to send [12:35:11]OFD Sender: No OFD packet to send [12:35:16]OFD Sender: No OFD packet to send [12:35:21]OFD Sender: No OFD packet to send [12:35:26]OFD Sender: No OFD packet to send [12:35:31]OFD Sender: No OFD packet to send [12:35:36]OFD Sender: No OFD packet to send [12:35:41]OFD Sender: No OFD packet to send [12:35:46]OFD Sender: No OFD packet to send [12:35:51]OFD Sender: No OFD packet to send [12:35:56]OFD Sender: No OFD packet to send [12:36:01]OFD Sender: No OFD packet to send [12:36:06]OFD Sender: No OFD packet to send [12:36:11]OFD Sender: No OFD packet to send [12:36:16]OFD Sender: No OFD packet to send [12:36:21]OFD Sender: No OFD packet to send [12:36:26]OFD Sender: No OFD packet to send [12:36:31]OFD Sender: No OFD packet to send [12:36:36]OFD Sender: No OFD packet to send [12:36:41]OFD Sender: No OFD packet to send [12:36:46]OFD Sender: No OFD packet to send [12:36:51]OFD Sender: No OFD packet to send [12:36:56]OFD Sender: No OFD packet to send [12:37:01]OFD Sender: No OFD packet to send [12:37:06]OFD Sender: No OFD packet to send [12:37:11]OFD Sender: No OFD packet to send [12:37:16]OFD Sender: No OFD packet to send [12:37:21]OFD Sender: No OFD packet to send [12:37:26]OFD Sender: No OFD packet to send [12:37:31]OFD Sender: No OFD packet to send [12:37:36]OFD Sender: No OFD packet to send [12:37:41]OFD Sender: No OFD packet to send [12:37:46]OFD Sender: No OFD packet to send [12:37:51]OFD Sender: No OFD packet to send [12:37:56]OFD Sender: No OFD packet to send [12:38:01]OFD Sender: No OFD packet to send [12:38:06]OFD Sender: No OFD packet to send [12:38:11]OFD Sender: No OFD packet to send [12:38:16]OFD Sender: No OFD packet to send [12:38:21]OFD Sender: No OFD packet to send [12:38:26]OFD Sender: No OFD packet to send [12:38:31]OFD Sender: No OFD packet to send [12:38:36]OFD Sender: No OFD packet to send [12:38:41]OFD Sender: No OFD packet to send [12:38:46]OFD Sender: No OFD packet to send [12:38:51]OFD Sender: No OFD packet to send [12:38:56]OFD Sender: No OFD packet to send [12:39:01]OFD Sender: No OFD packet to send [12:39:06]OFD Sender: No OFD packet to send [12:39:11]OFD Sender: No OFD packet to send [12:39:16]OFD Sender: No OFD packet to send [12:39:21]OFD Sender: No OFD packet to send [12:39:26]OFD Sender: No OFD packet to send [12:39:31]OFD Sender: No OFD packet to send [12:39:36]OFD Sender: No OFD packet to send [12:39:41]OFD Sender: No OFD packet to send [12:39:46]OFD Sender: No OFD packet to send [12:39:51]OFD Sender: No OFD packet to send [12:39:56]OFD Sender: No OFD packet to send [12:40:01]OFD Sender: No OFD packet to send [12:40:06]OFD Sender: No OFD packet to send [12:40:11]OFD Sender: No OFD packet to send [12:40:16]OFD Sender: No OFD packet to send [12:40:21]OFD Sender: No OFD packet to send [12:40:26]OFD Sender: No OFD packet to send [12:40:31]OFD Sender: No OFD packet to send [12:40:36]OFD Sender: No OFD packet to send [12:40:41]OFD Sender: No OFD packet to send [12:40:46]OFD Sender: No OFD packet to send [12:40:51]OFD Sender: No OFD packet to send [12:40:56]OFD Sender: No OFD packet to send [12:41:01]OFD Sender: No OFD packet to send [12:41:06]OFD Sender: No OFD packet to send [12:41:11]OFD Sender: No OFD packet to send [12:41:16]OFD Sender: No OFD packet to send [12:41:21]OFD Sender: No OFD packet to send [12:41:26]OFD Sender: No OFD packet to send [12:41:31]OFD Sender: No OFD packet to send [12:41:36]OFD Sender: No OFD packet to send [12:41:41]OFD Sender: No OFD packet to send [12:41:46]OFD Sender: No OFD packet to send [12:41:51]OFD Sender: No OFD packet to send [12:41:56]OFD Sender: No OFD packet to send [12:42:01]OFD Sender: No OFD packet to send [12:42:06]OFD Sender: No OFD packet to send [12:42:11]OFD Sender: No OFD packet to send [12:42:16]OFD Sender: No OFD packet to send [12:42:21]OFD Sender: No OFD packet to send [12:42:26]OFD Sender: No OFD packet to send [12:42:31]OFD Sender: No OFD packet to send [12:42:36]OFD Sender: No OFD packet to send [12:42:41]OFD Sender: No OFD packet to send [12:42:46]OFD Sender: No OFD packet to send [12:42:51]OFD Sender: No OFD packet to send [12:42:56]OFD Sender: No OFD packet to send [12:43:01]OFD Sender: No OFD packet to send [12:43:06]OFD Sender: No OFD packet to send [12:43:11]OFD Sender: No OFD packet to send [12:43:16]OFD Sender: No OFD packet to send [12:43:21]OFD Sender: No OFD packet to send [12:43:26]OFD Sender: No OFD packet to send [12:43:31]OFD Sender: No OFD packet to send [12:43:36]OFD Sender: No OFD packet to send [12:43:41]OFD Sender: No OFD packet to send [12:43:46]OFD Sender: No OFD packet to send [12:43:51]OFD Sender: No OFD packet to send [12:43:56]OFD Sender: No OFD packet to send [12:44:01]OFD Sender: No OFD packet to send [12:44:06]OFD Sender: No OFD packet to send [12:44:11]OFD Sender: No OFD packet to send [12:44:16]OFD Sender: No OFD packet to send [12:44:21]OFD Sender: No OFD packet to send [12:44:26]OFD Sender: No OFD packet to send [12:44:31]OFD Sender: No OFD packet to send [12:44:36]OFD Sender: No OFD packet to send [12:44:41]OFD Sender: No OFD packet to send [12:44:46]OFD Sender: No OFD packet to send [12:44:51]OFD Sender: No OFD packet to send [12:44:56]OFD Sender: No OFD packet to send [12:45:01]OFD Sender: No OFD packet to send [12:45:06]OFD Sender: No OFD packet to send [12:45:11]OFD Sender: No OFD packet to send [12:45:16]OFD Sender: No OFD packet to send [12:45:21]OFD Sender: No OFD packet to send [12:45:26]OFD Sender: No OFD packet to send [12:45:31]OFD Sender: No OFD packet to send [12:45:36]OFD Sender: No OFD packet to send [12:45:41]OFD Sender: No OFD packet to send [12:45:46]OFD Sender: No OFD packet to send [12:45:51]OFD Sender: No OFD packet to send [12:45:56]OFD Sender: No OFD packet to send [12:46:01]OFD Sender: No OFD packet to send [12:46:06]OFD Sender: No OFD packet to send [12:46:11]OFD Sender: No OFD packet to send [12:46:16]OFD Sender: No OFD packet to send [12:46:21]OFD Sender: No OFD packet to send [12:46:26]OFD Sender: No OFD packet to send [12:46:31]OFD Sender: No OFD packet to send [12:46:36]OFD Sender: No OFD packet to send [12:46:41]OFD Sender: No OFD packet to send [12:46:46]OFD Sender: No OFD packet to send [12:46:51]OFD Sender: No OFD packet to send [12:46:56]OFD Sender: No OFD packet to send [12:47:01]OFD Sender: No OFD packet to send [12:47:06]OFD Sender: No OFD packet to send [12:47:11]OFD Sender: No OFD packet to send [12:47:16]OFD Sender: No OFD packet to send [12:47:21]OFD Sender: No OFD packet to send [12:47:26]OFD Sender: No OFD packet to send [12:47:31]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:46]OFD Sender: No OFD packet to send [12:48:51]OFD Sender: No OFD packet to send [12:48:56]OFD Sender: No OFD packet to send [12:49:01]OFD Sender: No OFD packet to send [12:49:06]OFD Sender: No OFD packet to send [12:49:11]OFD Sender: No OFD packet to send [12:49:16]OFD Sender: No OFD packet to send [12:49:21]OFD Sender: No OFD packet to send [12:49:26]OFD Sender: No OFD packet to send [12:49:31]OFD Sender: No OFD packet to send [12:49:36]OFD Sender: No OFD packet to send [12:49:41]OFD Sender: No OFD packet to send [12:49:46]OFD Sender: No OFD packet to send [12:49:51]OFD Sender: No OFD packet to send [12:49:57]OFD Sender: No OFD packet to send [12:50:02]OFD Sender: No OFD packet to send [12:50:07]OFD Sender: No OFD packet to send [12:50:12]OFD Sender: No OFD packet to send [12:50:17]OFD Sender: No OFD packet to send [12:50:22]OFD Sender: No OFD packet to send [12:50:27]OFD Sender: No OFD packet to send [12:50:32]OFD Sender: No OFD packet to send [12:50:37]OFD Sender: No OFD packet to send [12:50:42]OFD Sender: No OFD packet to send [12:50:47]OFD Sender: No OFD packet to send [12:50:52]OFD Sender: No OFD packet to send [12:50:57]OFD Sender: No OFD packet to send [12:51:02]OFD Sender: No OFD packet to send [12:51:07]OFD Sender: No OFD packet to send [12:51:12]OFD Sender: No OFD packet to send [12:51:17]OFD Sender: No OFD packet to send [12:51:22]OFD Sender: No OFD packet to send [12:51:27]OFD Sender: No OFD packet to send [12:51:32]OFD Sender: No OFD packet to send [12:51:37]OFD Sender: No OFD packet to send [12:51:42]OFD Sender: No OFD packet to send [12:51:47]OFD Sender: No OFD packet to send [12:51:52]OFD Sender: No OFD packet to send [12:51:57]OFD Sender: No OFD packet to send [12:52:02]OFD Sender: No OFD packet to send [12:52:07]OFD Sender: No OFD packet to send [12:52:12]OFD Sender: No OFD packet to send [12:52:17]OFD Sender: No OFD packet to send [12:52:22]OFD Sender: No OFD packet to send [12:52:27]OFD Sender: No OFD packet to send [12:52:32]OFD Sender: No OFD packet to send [12:52:37]OFD Sender: No OFD packet to send [12:52:42]OFD Sender: No OFD packet to send [12:52:47]OFD Sender: No OFD packet to send [12:52:52]OFD Sender: No OFD packet to send [12:52:57]OFD Sender: No OFD packet to send [12:53:02]OFD Sender: No OFD packet to send [12:53:07]OFD Sender: No OFD packet to send [12:53:12]OFD Sender: No OFD packet to send [12:53:17]OFD Sender: No OFD packet to send [12:53:22]OFD Sender: No OFD packet to send [12:53:27]OFD Sender: No OFD packet to send [12:53:32]OFD Sender: No OFD packet to send [12:53:37]OFD Sender: No OFD packet to send [12:53:42]OFD Sender: No OFD packet to send [12:53:47]OFD Sender: No OFD packet to send [12:53:52]OFD Sender: No OFD packet to send [12:53:57]OFD Sender: No OFD packet to send [12:54:02]OFD Sender: No OFD packet to send [12:54:07]OFD Sender: No OFD packet to send [12:54:12]OFD Sender: No OFD packet to send [12:54:17]OFD Sender: No OFD packet to send [12:54:22]OFD Sender: No OFD packet to send [12:54:27]OFD Sender: No OFD packet to send [12:54:32]OFD Sender: No OFD packet to send [12:54:37]OFD Sender: No OFD packet to send [12:54:42]OFD Sender: No OFD packet to send [12:54:47]OFD Sender: No OFD packet to send [12:54:52]OFD Sender: No OFD packet to send [12:54:57]OFD Sender: No OFD packet to send [12:55:02]OFD Sender: No OFD packet to send [12:55:07]OFD Sender: No OFD packet to send [12:55:12]OFD Sender: No OFD packet to send [12:55:17]OFD Sender: No OFD packet to send [12:55:22]OFD Sender: No OFD packet to send [12:55:27]OFD Sender: No OFD packet to send [12:55:32]OFD Sender: No OFD packet to send [12:55:37]OFD Sender: No OFD packet to send [12:55:42]OFD Sender: No OFD packet to send [12:55:47]OFD Sender: No OFD packet to send [12:55:52]OFD Sender: No OFD packet to send [12:55:57]OFD Sender: No OFD packet to send [12:56:02]OFD Sender: No OFD packet to send [12:56:07]OFD Sender: No OFD packet to send [12:56:12]OFD Sender: No OFD packet to send [12:56:17]OFD Sender: No OFD packet to send [12:56:22]OFD Sender: No OFD packet to send [12:56:27]OFD Sender: No OFD packet to send [12:56:32]OFD Sender: No OFD packet to send [12:56:37]OFD Sender: No OFD packet to send [12:56:42]OFD Sender: No OFD packet to send [12:56:47]OFD Sender: No OFD packet to send [12:56:52]OFD Sender: No OFD packet to send [12:56:57]OFD Sender: No OFD packet to send [12:57:02]OFD Sender: No OFD packet to send [12:57:07]OFD Sender: No OFD packet to send [12:57:12]OFD Sender: No OFD packet to send [12:57:17]OFD Sender: No OFD packet to send [12:57:22]OFD Sender: No OFD packet to send [12:57:27]OFD Sender: No OFD packet to send [12:57:32]OFD Sender: No OFD packet to send [12:57:37]OFD Sender: No OFD packet to send [12:57:42]OFD Sender: No OFD packet to send [12:57:47]OFD Sender: No OFD packet to send [12:57:52]OFD Sender: No OFD packet to send [12:57:57]OFD Sender: No OFD packet to send [12:58:02]OFD Sender: No OFD packet to send [12:58:07]OFD Sender: No OFD packet to send [12:58:12]OFD Sender: No OFD packet to send [12:58:17]OFD Sender: No OFD packet to send [12:58:22]OFD Sender: No OFD packet to send [12:58:27]OFD Sender: No OFD packet to send [12:58:32]OFD Sender: No OFD packet to send [12:58:37]OFD Sender: No OFD packet to send [12:58:42]OFD Sender: No OFD packet to send [12:58:47]OFD Sender: No OFD packet to send [12:58:52]OFD Sender: No OFD packet to send [12:58:57]OFD Sender: No OFD packet to send [12:59:02]OFD Sender: No OFD packet to send [12:59:07]OFD Sender: No OFD packet to send [12:59:12]OFD Sender: No OFD packet to send [12:59:17]OFD Sender: No OFD packet to send [12:59:22]OFD Sender: No OFD packet to send [12:59:27]OFD Sender: No OFD packet to send [12:59:32]OFD Sender: No OFD packet to send [12:59:37]OFD Sender: No OFD packet to send [12:59:42]OFD Sender: No OFD packet to send [12:59:47]OFD Sender: No OFD packet to send [12:59:52]OFD Sender: No OFD packet to send [12:59:57]OFD Sender: No OFD packet to send [13:00:02]OFD Sender: No OFD packet to send [13:00:07]OFD Sender: No OFD packet to send [13:00:12]OFD Sender: No OFD packet to send [13:00:17]OFD Sender: No OFD packet to send [13:00:22]OFD Sender: No OFD packet to send [13:00:27]OFD Sender: No OFD packet to send [13:00:32]OFD Sender: No OFD packet to send [13:00:37]OFD Sender: No OFD packet to send [13:00:42]OFD Sender: No OFD packet to send [13:00:47]OFD Sender: No OFD packet to send [13:00:52]OFD Sender: No OFD packet to send [13:00:57]OFD Sender: No OFD packet to send [13:01:02]OFD Sender: No OFD packet to send [13:01:07]OFD Sender: No OFD packet to send [13:01:12]OFD Sender: No OFD packet to send [13:01:17]OFD Sender: No OFD packet to send [13:01:22]OFD Sender: No OFD packet to send [13:01:27]OFD Sender: No OFD packet to send [13:01:32]OFD Sender: No OFD packet to send [13:01:37]OFD Sender: No OFD packet to send [13:01:42]OFD Sender: No OFD packet to send [13:01:47]OFD Sender: No OFD packet to send [13:01:52]OFD Sender: No OFD packet to send [13:01:57]OFD Sender: No OFD packet to send [13:02:02]OFD Sender: No OFD packet to send [13:02:07]OFD Sender: No OFD packet to send [13:02:12]OFD Sender: No OFD packet to send [13:02:17]OFD Sender: No OFD packet to send [13:02:18]accept exits with 9 [13:02:18]New connection [13:02:18]New thread 3067440484 created [13:02:18]Thread 3067297124 joined [13:02:18]Waiting for new connection... [13:02:18] Sock 9.Parse request [13:02:18]Sock 9.Check first char [13:02:18]Sock 9.First char is OK [13:02:18]request: POST /json_proto HTTP/1.0 [13:02:18]Method: POST [13:02:18]URL: /json_proto [13:02:18]Method is POST - this is cgi request [13:02:18]url: /json_proto [13:02:18]query_string will be loaded in cgi processing [13:02:18]execute_cgi json_proto POST (null) [13:02:18]execute_cgi path=json_proto method=POST [13:02:18]POST find Content-Length [13:02:18]Host: 172.17.40.196:8080 [13:02:18]Content-Length: 627 [13:02:18]Content-Type: application/json [13:02:18] [13:02:18]POST finish read [13:02:18]Found Content-Length = 627 [13:02:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35086", "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" ] } } [13:02:18]execute_script... [13:02: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)35086", "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" ] } } [13:02:18]POST & json_proto [13:02:18]process_json_proto [13:02:18]json parsed OK: [13:02:18]protocol is kg_v1.0 [13:02:18]action value=close_receipt [13:02:18]process_action close_receipt [13:02:18]cmd_close_receipt [13:02:18]MH_GetDate [13:02:18]Write to MH i2c: F0 00 00 64 1F 72 [13:02:18]Write i2c OK [13:02:18]MH_I2C_Read... [13:02:18]Read from MH i2c: F0 [13:02:18]MH_I2C_Read... [13:02:18]Read from MH i2c: F0 09 00 [13:02:18]MH_I2C_Read... [13:02:18]Read from MH i2c: F0 09 00 64 1F 00 61 8B 1F 67 5B 68 A1 66 B7 [13:02:18]GetLastDocTimeStamp 1730118244 [13:02:18]current date 1730120545 [13:02:18]FM_GetShiftState [13:02:18]SAM_PROTO_GetShiftState [13:02:18]wFMCommunicate request_size=4 [13:02:18]MH_SAM_APDU [13:02:18]CAPDU: 80 13 01 00 [13:02:18]Write to MH i2c: E2 08 00 65 1F 80 13 01 00 00 00 00 00 01 [13:02:18]Write i2c OK [13:02:18]MH_I2C_Read... [13:02:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:02:18]Read from MH i2c: E2 [13:02:18]MH_I2C_Read... [13:02:18]Read from MH i2c: E2 0E 00 [13:02:18]MH_I2C_Read... [13:02:18]Read from MH i2c: E2 0E 00 65 1F 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 83 [13:02:18]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [13:02:18]wFMCommunicate OK [13:02:18]SAM_PROTO_GetShiftState done [13:02:18]FM_GetShiftState done [13:02:18]opened in 1730073884 [13:02:18]opened+sec_in_day 1730160284 [13:02:18]quantity*price = 13000 [13:02:18]sum+1 = 13001 [13:02:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 30 28.10.2024 13:02 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37787 ФПД: 115421137166129 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T130225&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37787&fm=115421137166129&tin=02508201610067®Number=0000000000091684&sum=13000 0 [13:02:19]StoreToDocumentArchive [13:02:19]shift 551 fd 37787 [13:02:19]save to /storage/0551/doc_00037787 [13:02:19]save last doc name /storage/0551/doc_00037787 to /storage/kkm_last_doc_name [13:02:19]save OK [13:02:19]Clear old archive folders... [13:02:19]ProcessDocumentItem done err = 0, tmpTLVsize=276 [13:02:19]tlvbuf is B6FCFAA0 [13:02:19]SAM_PROTO_ClearQueue [13:02:19]wFMCommunicate request_size=4 [13:02:19]MH_SAM_APDU [13:02:19]CAPDU: 80 09 00 00 [13:02:19]Write to MH i2c: E2 08 00 72 1F 80 09 00 00 00 00 00 00 03 [13:02:19]Write i2c OK [13:02:19]MH_I2C_Read... [13:02:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:02:19]Read from MH i2c: E2 [13:02:19]MH_I2C_Read... [13:02:19]Read from MH i2c: E2 03 00 [13:02:19]MH_I2C_Read... [13:02:19]Read from MH i2c: E2 03 00 72 1F 00 90 00 05 [13:02:19]RAPDU: 90 00 [13:02:19]wFMCommunicate OK [13:02:19]SAM_PROTO_ClearQueue done [13:02:19]KKMCreateOFDPacket [13:02:19]OFDProtocolAddRootSTLVToBuf [13:02:19]FM_MakeSignedData [13:02:19]FM_MakeSignedData [13:02:19]SAM_PROTO_SignData [13:02:19]wFMCommunicate request_size=4 [13:02:19]MH_SAM_APDU [13:02:19]CAPDU: 80 0D 01 02 [13:02:19]Write to MH i2c: E2 08 00 73 1F 80 0D 01 02 00 00 00 00 0B [13:02:19]Write i2c OK [13:02:19]MH_I2C_Read... [13:02:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:02:19]Read from MH i2c: E2 [13:02:19]MH_I2C_Read... [13:02:19]Read from MH i2c: E2 03 00 [13:02:19]MH_I2C_Read... [13:02:19]Read from MH i2c: E2 03 00 73 1F 00 90 00 06 [13:02:19]RAPDU: 90 00 [13:02:19]wFMCommunicate OK [13:02:19]wFMCommunicate request_size=255 [13:02:19]MH_SAM_APDU [13:02:19]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 1E 00 00 00 F4 03 04 00 61 8B 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 [13:02:19]Write to MH i2c: E2 02 01 74 1F 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 1E 00 00 00 F4 03 04 00 61 8B 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 00 00 E2 [13:02:19]Write i2c OK [13:02:19]MH_I2C_Read... [13:02:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:02:19]Read from MH i2c: E2 [13:02:19]MH_I2C_Read... [13:02:19]Read from MH i2c: E2 03 00 [13:02:19]MH_I2C_Read... [13:02:19]Read from MH i2c: E2 03 00 74 1F 00 90 00 07 [13:02:19]RAPDU: 90 00 [13:02:19]wFMCommunicate OK [13:02:19]wFMCommunicate request_size=35 [13:02:19]MH_SAM_APDU [13:02:19]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9B 93 00 00 35 04 06 00 68 F9 93 E1 5F 31 [13:02:19]Write to MH i2c: E2 26 00 75 1F 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9B 93 00 00 35 04 06 00 68 F9 93 E1 5F 31 00 00 91 [13:02:19]Write i2c OK [13:02:19]MH_I2C_Read... [13:02:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:02:19]Read from MH i2c: E2 [13:02:19]MH_I2C_Read... [13:02:19]Read from MH i2c: E2 03 00 [13:02:19]MH_I2C_Read... [13:02:19]Read from MH i2c: E2 03 00 75 1F 00 90 00 08 [13:02:19]RAPDU: 90 00 [13:02:19]wFMCommunicate OK [13:02:19]wFMCommunicate request_size=4 [13:02:19]MH_SAM_APDU [13:02:19]CAPDU: 80 0D 03 02 [13:02:19]Write to MH i2c: E2 08 00 76 1F 80 0D 03 02 00 00 00 00 10 [13:02:19]Write i2c OK [13:02:19]MH_I2C_Read... [13:02:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:02:19]Read from MH i2c: E2 [13:02:19]MH_I2C_Read... [13:02:19]Read from MH i2c: E2 0B 00 [13:02:19]MH_I2C_Read... [13:02:19]Read from MH i2c: E2 0B 00 76 1F 00 FB E7 13 2B 8B 0F B0 F6 90 00 71 [13:02:19]RAPDU: FB E7 13 2B 8B 0F B0 F6 90 00 [13:02:19]wFMCommunicate OK [13:02:19]SAM_PROTO_SignData done [13:02:19]FM_MakeSignedData done [13:02:19]CreateOFDProtocolMessage [13:02:19]wFMCommunicate request_size=4 [13:02:19]MH_SAM_APDU [13:02:19]CAPDU: 80 11 00 00 [13:02:19]Write to MH i2c: E2 08 00 77 1F 80 11 00 00 00 00 00 00 10 [13:02:19]Write i2c OK [13:02:19]MH_I2C_Read... [13:02:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:02:19]Read from MH i2c: E2 [13:02:19]MH_I2C_Read... [13:02:19]Read from MH i2c: E2 17 00 [13:02:19]MH_I2C_Read... [13:02:19]Read from MH i2c: E2 17 00 77 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 60 [13:02:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:02:19]wFMCommunicate OK [13:02:19]CreateOFDProtocolMessage done [13:02:19]OFDSenderStorePacket 37787 [13:02:19]StoreOFDPacket docnum=37787 [13:02:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 28 01 00 00 A5 3F 20 01 C5 EE 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 1E 00 00 00 F4 03 04 00 61 8B 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9B 93 00 00 35 04 06 00 68 F9 93 E1 5F 31 FB E7 13 2B 8B 0F B0 F6 [13:02:19]CheckFolder [13:02:19]dirname=/storage/ofd_packets [13:02:19]CheckFolder done [13:02:19]ProducePacketName [13:02:19]name=ofd_packets/00037787 [13:02:19]NVStorageSaveData ofd_packets/00037787 [13:02:19]File name is /storage/ofd_packets/00037787 [13:02:19]Write 326 bytes [13:02:19]NVStorageSaveData done [13:02:19]OFDSenderStorePacket done [13:02:19]KKMCreateOFDPacket done [13:02:19]NVStorageSaveData kkm_last_timestamp [13:02:19]File name is /storage/kkm_last_timestamp [13:02:19]Write 4 bytes [13:02:19]NVStorageSaveData done [13:02:19]ExternCall_PrintAddStr [13:02:19]wPrintStart [13:02:19]Write to MH i2c: 01 00 00 78 1F 97 [13:02:19]OFD Sender: Processing packet 37787 [packets to send 42, broken 41] [13:02:19]ProducePacketName [13:02:19]name=ofd_packets/00037787 [13:02:19]OFD Sender: To server: pG, [13:02:19]CommunicateWithHost lk.salyk.kg:30040 [13:02:19]ConnectInit lk.salyk.kg [13:02:19]Write i2c OK [13:02:19]MH_I2C_Read... [13:02:19]Read from MH i2c: 01 [13:02:19]MH_I2C_Read... [13:02:19]Read from MH i2c: 01 07 00 [13:02:19]MH_I2C_Read... [13:02:19]Read from MH i2c: 01 07 00 78 1F 00 00 00 00 00 FF 0F AC [13:02:19]RasterBufferAndPrint [13:02:19]line Счет N : (3)35086 [13:02:19]line ИНН: 02508201610067 [13:02:19]line Контрольно-Кассовый Чек [13:02:19]line ПРОДАЖА [13:02:19]line Товар: 2000036230011 [13:02:19]line Кофе Латте XL(GABB TRADE) [13:02:19]line 1.000 * 130.00 [13:02:19]line = 130.00 [13:02:19]line НДС 12% НСП 1% [13:02:19]line > о реализуемом товаре [13:02:19]line ИТОГО: 130.00 [13:02:19]line НСП 1% : 1.15 [13:02:19]line НДС 12% : 13.80 [13:02:19]line Наличными: 130.00 [13:02:19]line Безнал.: 0.00 [13:02:19]line Место: АЗС № 126 "Партнер Нефть" [13:02:19]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:02:19]line СНО: Общий режим [13:02:19]line Чек 30 28.10.2024 13:02 [13:02:19]line Смена: 551 ФФД: 1.0 [13:02:19]line ЗНМ: 0300000092 [13:02:19]line РНМ: 0000000000091684 [13:02:19]line Версия ККМ: 001 [13:02:19]line ФМ: 0000000000871841 [13:02:19]line ФД: 37787 [13:02:19]line ФПД: 115421137166129 [13:02:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T130225&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37787&fm=115421137166129&tin=02508201610067®Number=0000000000091684&sum=13000 [13:02:20]Connected sock=10 [13:02: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 38 34 31 28 01 00 00 A5 3F 20 01 C5 EE 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 1E 00 00 00 F4 03 04 00 61 8B 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9B 93 00 00 35 04 06 00 68 F9 93 E1 5F 31 FB E7 13 2B 8B 0F B0 F6 [13:02:20]line 0 [13:02:20]written 0, free lines is 4095 [13:02:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 6F C5 47 00 47 78 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 9B 93 00 00 F4 03 04 00 56 36 1F 67 B6 04 01 00 00 2F EC 35 08 37 B8 37 3C [13:02:20]CommunicateWithHost err = 0 [13:02:20]CheckOFDResponse [13:02:20]1017 (14) - 77093643461234 [13:02:20]1041 (16) - 0000000000871841 [13:02:20]1040 (4) - 37787 [13:02:20]1012 (4) - 28.10.2024 06:59 [13:02:20]1206 (1) - 0 [13:02:20]OFD Sender: Remove packet 37787 [13:02:20]ProducePacketName [13:02:20]name=ofd_packets/00037787 [13:02:20]NVStorageDeleteData [13:02:20]Write to MH i2c: 01 00 00 A0 1F BF [13:02:20]Write i2c OK [13:02:20]MH_I2C_Read... [13:02:20]Read from MH i2c: 01 [13:02:20]MH_I2C_Read... [13:02:20]Read from MH i2c: 01 07 00 [13:02:20]MH_I2C_Read... [13:02:20]Read from MH i2c: 01 07 00 A0 1F 00 00 00 00 00 C2 0C 94 [13:02:20]RasterBufferAndPrint [13:02:20]line [13:02:20]line [13:02:20]line [13:02:20]line [13:02:20]line [13:02:20]written 0, free lines is 3272 [13:02:20]MH_Cut [13:02:20]Write to MH i2c: D1 01 00 A7 1F 01 98 [13:02:20]Write i2c OK [13:02:20]MH_I2C_Read... [13:02:20]Read from MH i2c: D1 [13:02:20]MH_I2C_Read... [13:02:20]Read from MH i2c: D1 01 00 [13:02:20]MH_I2C_Read... [13:02:20]Read from MH i2c: D1 01 00 A7 1F 00 97 [13:02:20]Write to MH i2c: 01 00 00 A8 1F C7 [13:02:20]Write i2c OK [13:02:20]MH_I2C_Read... [13:02:20]OFD Sender: No OFD packet to send [13:02:21]*** Cut start [13:02:21]*** Partial cut [13:02:21]*** CUTSNS_PIN = 1 [13:02:21]*** CUTSNS_PIN = 0 [13:02:21]*** Brake cut motor [13:02:21]Read from MH i2c: 01 [13:02:22]MH_I2C_Read... [13:02:22]*** Stop cut motor [13:02:22]*** Cut end [13:02:22]Read from MH i2c: 01 07 00 [13:02:22]MH_I2C_Read... [13:02:22]Read from MH i2c: 01 07 00 A8 1F 00 00 00 00 00 FF 0F DC [13:02:22]process_action close_receipt done [13:02:22]requested_data is exist [13:02:22]produce_requested_data [13:02:22]requested_item fm.sn is exist - process it [13:02:22]wFMCommunicate request_size=4 [13:02:22]MH_SAM_APDU [13:02:22]CAPDU: 80 11 00 00 [13:02:22]Write to MH i2c: E2 08 00 A9 1F 80 11 00 00 00 00 00 00 42 [13:02:22]Write i2c OK [13:02:22]MH_I2C_Read... [13:02:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:02:22]Read from MH i2c: E2 [13:02:22]MH_I2C_Read... [13:02:22]Read from MH i2c: E2 17 00 [13:02:22]MH_I2C_Read... [13:02:22]Read from MH i2c: E2 17 00 A9 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 92 [13:02:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:02:22]wFMCommunicate OK [13:02:22]requested_item fd.num is exist - process it [13:02:22]SAM_PROTO_GetFieldsCounters [13:02:22]wFMCommunicate request_size=4 [13:02:22]MH_SAM_APDU [13:02:22]CAPDU: 80 13 00 00 [13:02:22]Write to MH i2c: E2 08 00 AA 1F 80 13 00 00 00 00 00 00 45 [13:02:22]Write i2c OK [13:02:22]MH_I2C_Read... [13:02:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:02:22]Read from MH i2c: E2 [13:02:22]MH_I2C_Read... [13:02:22]Read from MH i2c: E2 62 00 [13:02:22]MH_I2C_Read... [13:02:22]Read from MH i2c: E2 62 00 AA 1F 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 9B 93 00 00 0E 04 04 00 27 02 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 17 [13:02: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 9B 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:02:22]wFMCommunicate OK [13:02:22]SAM_PROTO_GetFieldsCounters done [13:02:22]requested_item shift.num is exist - process it [13:02:22]requested_item shift.opened is exist - process it [13:02:22]req_shift_opened [13:02:22]FM_GetShiftState [13:02:22]SAM_PROTO_GetShiftState [13:02:22]wFMCommunicate request_size=4 [13:02:22]MH_SAM_APDU [13:02:22]CAPDU: 80 13 01 00 [13:02:22]Write to MH i2c: E2 08 00 AB 1F 80 13 01 00 00 00 00 00 47 [13:02:22]Write i2c OK [13:02:22]MH_I2C_Read... [13:02:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:02:22]Read from MH i2c: E2 [13:02:22]MH_I2C_Read... [13:02:22]Read from MH i2c: E2 0E 00 [13:02:22]MH_I2C_Read... [13:02:22]Read from MH i2c: E2 0E 00 AB 1F 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 C9 [13:02:22]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [13:02:22]wFMCommunicate OK [13:02:22]SAM_PROTO_GetShiftState done [13:02:22]FM_GetShiftState done [13:02:22]req_shift_opened done [13:02:22]requested_item shift.open_date is exist - process it [13:02:22]req_shift_open_date [13:02:22]req_shift_open_date done [13:02:22]produce_requested_data done [13:02:22]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37787,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [13:02:22]process_action_free close_receipt [13:02:22]json_value_free [13:02:22]json_value_free done [13:02:22]process_json_proto returns [13:02:22]Send response to host [13:02:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37787,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [13:02:22]free response buf [13:02:22]execute_script done [13:02:22]execute_script returns [13:02:22]free content buf [13:02:22]Sock 9.Close socket [13:02:22]Sock 9.Thread stoped [13:02:25]OFD Sender: No OFD packet to send [13:02:30]OFD Sender: No OFD packet to send [13:02:35]OFD Sender: No OFD packet to send [13:02:40]OFD Sender: No OFD packet to send [13:02:45]OFD Sender: No OFD packet to send [13:02:50]accept exits with 7 [13:02:50]New connection [13:02:50]New thread 3067297124 created [13:02:50]Thread 3067440484 joined [13:02:50]Waiting for new connection... [13:02:50] Sock 7.Parse request [13:02:50]Sock 7.Check first char [13:02:50]Sock 7.First char is OK [13:02:50]request: POST /json_proto HTTP/1.0 [13:02:50]Method: POST [13:02:50]URL: /json_proto [13:02:50]Method is POST - this is cgi request [13:02:50]url: /json_proto [13:02:50]query_string will be loaded in cgi processing [13:02:50]execute_cgi json_proto POST (null) [13:02:50]execute_cgi path=json_proto method=POST [13:02:50]POST find Content-Length [13:02:50]Host: 172.17.40.196:8080 [13:02:50]Content-Length: 627 [13:02:50]Content-Type: application/json [13:02:50] [13:02:50]POST finish read [13:02:50]Found Content-Length = 627 [13:02:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35087", "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" ] } } [13:02:50]execute_script... [13:02: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)35087", "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" ] } } [13:02:50]POST & json_proto [13:02:50]process_json_proto [13:02:50]json parsed OK: [13:02:50]protocol is kg_v1.0 [13:02:50]action value=close_receipt [13:02:50]process_action close_receipt [13:02:50]cmd_close_receipt [13:02:50]MH_GetDate [13:02:50]Write to MH i2c: F0 00 00 AC 1F BA [13:02:50]Write i2c OK [13:02:50]MH_I2C_Read... [13:02:50]Read from MH i2c: F0 [13:02:50]MH_I2C_Read... [13:02:50]Read from MH i2c: F0 09 00 [13:02:50]MH_I2C_Read... [13:02:50]Read from MH i2c: F0 09 00 AC 1F 00 82 8B 1F 67 5B 68 A1 66 20 [13:02:50]GetLastDocTimeStamp 1730120545 [13:02:50]current date 1730120578 [13:02:50]FM_GetShiftState [13:02:50]SAM_PROTO_GetShiftState [13:02:50]wFMCommunicate request_size=4 [13:02:50]MH_SAM_APDU [13:02:50]CAPDU: 80 13 01 00 [13:02:50]Write to MH i2c: E2 08 00 AD 1F 80 13 01 00 00 00 00 00 49 [13:02:50]Write i2c OK [13:02:50]MH_I2C_Read... [13:02:50]OFD Sender: No OFD packet to send [13:02:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:02:51]Read from MH i2c: E2 [13:02:51]MH_I2C_Read... [13:02:51]Read from MH i2c: E2 0E 00 [13:02:51]MH_I2C_Read... [13:02:51]Read from MH i2c: E2 0E 00 AD 1F 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 CB [13:02:51]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [13:02:51]wFMCommunicate OK [13:02:51]SAM_PROTO_GetShiftState done [13:02:51]FM_GetShiftState done [13:02:51]opened in 1730073884 [13:02:51]opened+sec_in_day 1730160284 [13:02:51]quantity*price = 13000 [13:02:51]sum+1 = 13001 [13:02:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 31 28.10.2024 13:02 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37788 ФПД: 268809923139604 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T130258&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37788&fm=268809923139604&tin=02508201610067®Number=0000000000091684&sum=13000 0 [13:02:52]StoreToDocumentArchive [13:02:52]shift 551 fd 37788 [13:02:52]save to /storage/0551/doc_00037788 [13:02:52]save last doc name /storage/0551/doc_00037788 to /storage/kkm_last_doc_name [13:02:52]save OK [13:02:52]Clear old archive folders... [13:02:52]ProcessDocumentItem done err = 0, tmpTLVsize=276 [13:02:52]tlvbuf is B6FCF800 [13:02:52]SAM_PROTO_ClearQueue [13:02:52]wFMCommunicate request_size=4 [13:02:52]MH_SAM_APDU [13:02:52]CAPDU: 80 09 00 00 [13:02:52]Write to MH i2c: E2 08 00 BA 1F 80 09 00 00 00 00 00 00 4B [13:02:52]Write i2c OK [13:02:52]MH_I2C_Read... [13:02:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:02:52]Read from MH i2c: E2 [13:02:52]MH_I2C_Read... [13:02:52]Read from MH i2c: E2 03 00 [13:02:52]MH_I2C_Read... [13:02:52]Read from MH i2c: E2 03 00 BA 1F 00 90 00 4D [13:02:52]RAPDU: 90 00 [13:02:52]wFMCommunicate OK [13:02:52]SAM_PROTO_ClearQueue done [13:02:52]KKMCreateOFDPacket [13:02:52]OFDProtocolAddRootSTLVToBuf [13:02:52]FM_MakeSignedData [13:02:52]FM_MakeSignedData [13:02:52]SAM_PROTO_SignData [13:02:52]wFMCommunicate request_size=4 [13:02:52]MH_SAM_APDU [13:02:52]CAPDU: 80 0D 01 02 [13:02:52]Write to MH i2c: E2 08 00 BB 1F 80 0D 01 02 00 00 00 00 53 [13:02:52]Write i2c OK [13:02:52]MH_I2C_Read... [13:02:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:02:52]Read from MH i2c: E2 [13:02:52]MH_I2C_Read... [13:02:52]Read from MH i2c: E2 03 00 [13:02:52]MH_I2C_Read... [13:02:52]Read from MH i2c: E2 03 00 BB 1F 00 90 00 4E [13:02:52]RAPDU: 90 00 [13:02:52]wFMCommunicate OK [13:02:52]wFMCommunicate request_size=255 [13:02:52]MH_SAM_APDU [13:02:52]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 1F 00 00 00 F4 03 04 00 82 8B 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 [13:02:52]Write to MH i2c: E2 02 01 BC 1F 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 1F 00 00 00 F4 03 04 00 82 8B 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 00 00 4C [13:02:52]Write i2c OK [13:02:52]MH_I2C_Read... [13:02:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:02:52]Read from MH i2c: E2 [13:02:52]MH_I2C_Read... [13:02:52]Read from MH i2c: E2 03 00 [13:02:52]MH_I2C_Read... [13:02:52]Read from MH i2c: E2 03 00 BC 1F 00 90 00 4F [13:02:52]RAPDU: 90 00 [13:02:52]wFMCommunicate OK [13:02:52]wFMCommunicate request_size=35 [13:02:52]MH_SAM_APDU [13:02:52]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9C 93 00 00 35 04 06 00 F4 7B 2F FB 18 14 [13:02:52]Write to MH i2c: E2 26 00 BD 1F 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9C 93 00 00 35 04 06 00 F4 7B 2F FB 18 14 00 00 3A [13:02:52]Write i2c OK [13:02:52]MH_I2C_Read... [13:02:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:02:52]Read from MH i2c: E2 [13:02:52]MH_I2C_Read... [13:02:52]Read from MH i2c: E2 03 00 [13:02:52]MH_I2C_Read... [13:02:52]Read from MH i2c: E2 03 00 BD 1F 00 90 00 50 [13:02:52]RAPDU: 90 00 [13:02:52]wFMCommunicate OK [13:02:52]wFMCommunicate request_size=4 [13:02:52]MH_SAM_APDU [13:02:52]CAPDU: 80 0D 03 02 [13:02:52]Write to MH i2c: E2 08 00 BE 1F 80 0D 03 02 00 00 00 00 58 [13:02:52]Write i2c OK [13:02:52]MH_I2C_Read... [13:02:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:02:52]Read from MH i2c: E2 [13:02:52]MH_I2C_Read... [13:02:52]Read from MH i2c: E2 0B 00 [13:02:52]MH_I2C_Read... [13:02:52]Read from MH i2c: E2 0B 00 BE 1F 00 89 F4 2D A0 BD F6 70 7B 90 00 41 [13:02:52]RAPDU: 89 F4 2D A0 BD F6 70 7B 90 00 [13:02:52]wFMCommunicate OK [13:02:52]SAM_PROTO_SignData done [13:02:52]FM_MakeSignedData done [13:02:52]CreateOFDProtocolMessage [13:02:52]wFMCommunicate request_size=4 [13:02:52]MH_SAM_APDU [13:02:52]CAPDU: 80 11 00 00 [13:02:52]Write to MH i2c: E2 08 00 BF 1F 80 11 00 00 00 00 00 00 58 [13:02:52]Write i2c OK [13:02:52]MH_I2C_Read... [13:02:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:02:52]Read from MH i2c: E2 [13:02:52]MH_I2C_Read... [13:02:52]Read from MH i2c: E2 17 00 [13:02:52]MH_I2C_Read... [13:02:52]Read from MH i2c: E2 17 00 BF 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A8 [13:02:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:02:52]wFMCommunicate OK [13:02:52]CreateOFDProtocolMessage done [13:02:52]OFDSenderStorePacket 37788 [13:02:52]StoreOFDPacket docnum=37788 [13:02:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 28 01 00 00 06 1E 20 01 89 86 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 1F 00 00 00 F4 03 04 00 82 8B 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9C 93 00 00 35 04 06 00 F4 7B 2F FB 18 14 89 F4 2D A0 BD F6 70 7B [13:02:52]CheckFolder [13:02:52]dirname=/storage/ofd_packets [13:02:52]CheckFolder done [13:02:52]ProducePacketName [13:02:52]name=ofd_packets/00037788 [13:02:52]NVStorageSaveData ofd_packets/00037788 [13:02:52]File name is /storage/ofd_packets/00037788 [13:02:52]Write 326 bytes [13:02:52]NVStorageSaveData done [13:02:52]OFDSenderStorePacket done [13:02:52]KKMCreateOFDPacket done [13:02:52]NVStorageSaveData kkm_last_timestamp [13:02:52]File name is /storage/kkm_last_timestamp [13:02:52]Write 4 bytes [13:02:52]NVStorageSaveData done [13:02:52]ExternCall_PrintAddStr [13:02:52]wPrintStart [13:02:52]Write to MH i2c: 01 00 00 C0 1F DF [13:02:52]Write i2c OK [13:02:52]MH_I2C_Read... [13:02:52]Read from MH i2c: 01 [13:02:52]MH_I2C_Read... [13:02:52]Read from MH i2c: 01 07 00 [13:02:52]MH_I2C_Read... [13:02:52]Read from MH i2c: 01 07 00 C0 1F 00 00 00 00 00 FF 0F F4 [13:02:52]RasterBufferAndPrint [13:02:52]line Счет N : (3)35087 [13:02:52]line ИНН: 02508201610067 [13:02:52]line Контрольно-Кассовый Чек [13:02:52]line ПРОДАЖА [13:02:52]line Товар: 2000036230011 [13:02:52]line Кофе Латте XL(GABB TRADE) [13:02:52]line 1.000 * 130.00 [13:02:52]line = 130.00 [13:02:52]line НДС 12% НСП 1% [13:02:52]line > о реализуемом товаре [13:02:52]line ИТОГО: 130.00 [13:02:52]line НСП 1% : 1.15 [13:02:52]line НДС 12% : 13.80 [13:02:52]line Наличными: 130.00 [13:02:52]line Безнал.: 0.00 [13:02:52]line Место: АЗС № 126 "Партнер Нефть" [13:02:52]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:02:52]line СНО: Общий режим [13:02:52]line Чек 31 28.10.2024 13:02 [13:02:52]line Смена: 551 ФФД: 1.0 [13:02:52]line ЗНМ: 0300000092 [13:02:52]line РНМ: 0000000000091684 [13:02:52]line Версия ККМ: 001 [13:02:52]line ФМ: 0000000000871841 [13:02:52]line ФД: 37788 [13:02:52]line ФПД: 268809923139604 [13:02:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T130258&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37788&fm=268809923139604&tin=02508201610067®Number=0000000000091684&sum=13000 [13:02:53]line 0 [13:02:53]OFD Sender: Processing packet 37788 [packets to send 42, broken 41] [13:02:53]ProducePacketName [13:02:53]name=ofd_packets/00037788 [13:02:53]OFD Sender: To server: pG, [13:02:53]CommunicateWithHost lk.salyk.kg:30040 [13:02:53]ConnectInit lk.salyk.kg [13:02:53]written 0, free lines is 4095 [13:02:53]Connected sock=9 [13:02:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 28 01 00 00 06 1E 20 01 89 86 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 1F 00 00 00 F4 03 04 00 82 8B 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9C 93 00 00 35 04 06 00 F4 7B 2F FB 18 14 89 F4 2D A0 BD F6 70 7B [13:02:53]Write to MH i2c: 01 00 00 E8 1F 07 [13:02:53]Write i2c OK [13:02:53]MH_I2C_Read... [13:02:53]Read from MH i2c: 01 [13:02:53]MH_I2C_Read... [13:02:53]Read from MH i2c: 01 07 00 [13:02:53]MH_I2C_Read... [13:02:53]Read from MH i2c: 01 07 00 E8 1F 00 00 00 00 00 C8 0C E2 [13:02:53]RasterBufferAndPrint [13:02:53]line [13:02:53]line [13:02:53]line [13:02:53]line [13:02:53]line [13:02:53]written 0, free lines is 3277 [13:02:53]MH_Cut [13:02:53]Write to MH i2c: D1 01 00 EF 1F 01 E0 [13:02:53]Write i2c OK [13:02:53]MH_I2C_Read... [13:02:53]Read from MH i2c: D1 [13:02:53]MH_I2C_Read... [13:02:53]Read from MH i2c: D1 01 00 [13:02:53]MH_I2C_Read... [13:02:53]Read from MH i2c: D1 01 00 EF 1F 00 DF [13:02:53]Write to MH i2c: 01 00 00 F0 1F 0F [13:02:53]Write i2c OK [13:02:53]MH_I2C_Read... [13:02:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 13 61 47 00 FD 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 38 34 31 10 04 04 00 9C 93 00 00 F4 03 04 00 77 36 1F 67 B6 04 01 00 00 E3 2F 3C 74 42 64 B2 F1 [13:02:53]CommunicateWithHost err = 0 [13:02:53]CheckOFDResponse [13:02:53]1017 (14) - 77093643461234 [13:02:53]1041 (16) - 0000000000871841 [13:02:53]1040 (4) - 37788 [13:02:53]1012 (4) - 28.10.2024 07:00 [13:02:53]1206 (1) - 0 [13:02:53]OFD Sender: Remove packet 37788 [13:02:53]ProducePacketName [13:02:53]name=ofd_packets/00037788 [13:02:53]NVStorageDeleteData [13:02:54]OFD Sender: No OFD packet to send [13:02:54]*** Cut start [13:02:54]*** Partial cut [13:02:54]*** CUTSNS_PIN = 1 [13:02:54]*** CUTSNS_PIN = 0 [13:02:54]*** Brake cut motor [13:02:54]Read from MH i2c: 01 [13:02:54]MH_I2C_Read... [13:02:54]*** Stop cut motor [13:02:54]*** Cut end [13:02:54]Read from MH i2c: 01 07 00 [13:02:54]MH_I2C_Read... [13:02:54]Read from MH i2c: 01 07 00 F0 1F 00 00 00 00 00 FF 0F 24 [13:02:54]process_action close_receipt done [13:02:54]requested_data is exist [13:02:54]produce_requested_data [13:02:54]requested_item fm.sn is exist - process it [13:02:54]wFMCommunicate request_size=4 [13:02:54]MH_SAM_APDU [13:02:54]CAPDU: 80 11 00 00 [13:02:54]Write to MH i2c: E2 08 00 F1 1F 80 11 00 00 00 00 00 00 8A [13:02:54]Write i2c OK [13:02:54]MH_I2C_Read... [13:02:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:02:55]Read from MH i2c: E2 [13:02:55]MH_I2C_Read... [13:02:55]Read from MH i2c: E2 17 00 [13:02:55]MH_I2C_Read... [13:02:55]Read from MH i2c: E2 17 00 F1 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 DA [13:02:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:02:55]wFMCommunicate OK [13:02:55]requested_item fd.num is exist - process it [13:02:55]SAM_PROTO_GetFieldsCounters [13:02:55]wFMCommunicate request_size=4 [13:02:55]MH_SAM_APDU [13:02:55]CAPDU: 80 13 00 00 [13:02:55]Write to MH i2c: E2 08 00 F2 1F 80 13 00 00 00 00 00 00 8D [13:02:55]Write i2c OK [13:02:55]MH_I2C_Read... [13:02:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:02:55]Read from MH i2c: E2 [13:02:55]MH_I2C_Read... [13:02:55]Read from MH i2c: E2 62 00 [13:02:55]MH_I2C_Read... [13:02:55]Read from MH i2c: E2 62 00 F2 1F 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 9C 93 00 00 0E 04 04 00 27 02 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 63 [13:02: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 9C 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:02:55]wFMCommunicate OK [13:02:55]SAM_PROTO_GetFieldsCounters done [13:02:55]requested_item shift.num is exist - process it [13:02:55]requested_item shift.opened is exist - process it [13:02:55]req_shift_opened [13:02:55]FM_GetShiftState [13:02:55]SAM_PROTO_GetShiftState [13:02:55]wFMCommunicate request_size=4 [13:02:55]MH_SAM_APDU [13:02:55]CAPDU: 80 13 01 00 [13:02:55]Write to MH i2c: E2 08 00 F3 1F 80 13 01 00 00 00 00 00 8F [13:02:55]Write i2c OK [13:02:55]MH_I2C_Read... [13:02:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:02:55]Read from MH i2c: E2 [13:02:55]MH_I2C_Read... [13:02:55]Read from MH i2c: E2 0E 00 [13:02:55]MH_I2C_Read... [13:02:55]Read from MH i2c: E2 0E 00 F3 1F 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 11 [13:02:55]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [13:02:55]wFMCommunicate OK [13:02:55]SAM_PROTO_GetShiftState done [13:02:55]FM_GetShiftState done [13:02:55]req_shift_opened done [13:02:55]requested_item shift.open_date is exist - process it [13:02:55]req_shift_open_date [13:02:55]req_shift_open_date done [13:02:55]produce_requested_data done [13:02:55]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37788,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [13:02:55]process_action_free close_receipt [13:02:55]json_value_free [13:02:55]json_value_free done [13:02:55]process_json_proto returns [13:02:55]Send response to host [13:02:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37788,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [13:02:55]free response buf [13:02:55]execute_script done [13:02:55]execute_script returns [13:02:55]free content buf [13:02:55]Sock 7.Close socket [13:02:55]Sock 7.Thread stoped [13:02:59]OFD Sender: No OFD packet to send [13:03:04]OFD Sender: No OFD packet to send [13:03:09]OFD Sender: No OFD packet to send [13:03:14]OFD Sender: No OFD packet to send [13:03:19]OFD Sender: No OFD packet to send [13:03:24]OFD Sender: No OFD packet to send [13:03:29]OFD Sender: No OFD packet to send [13:03:34]OFD Sender: No OFD packet to send [13:03:39]OFD Sender: No OFD packet to send [13:03:44]accept exits with 10 [13:03:44]New connection [13:03:44]New thread 3067440484 created [13:03:44]Thread 3067297124 joined [13:03:44]Waiting for new connection... [13:03:44] Sock 10.Parse request [13:03:44]Sock 10.Check first char [13:03:44]Sock 10.First char is OK [13:03:44]request: POST /json_proto HTTP/1.0 [13:03:44]Method: POST [13:03:44]URL: /json_proto [13:03:44]Method is POST - this is cgi request [13:03:44]url: /json_proto [13:03:44]query_string will be loaded in cgi processing [13:03:44]execute_cgi json_proto POST (null) [13:03:44]execute_cgi path=json_proto method=POST [13:03:44]POST find Content-Length [13:03:44]Host: 172.17.40.196:8080 [13:03:44]Content-Length: 600 [13:03:44]Content-Type: application/json [13:03:44] [13:03:44]POST finish read [13:03:44]Found Content-Length = 600 [13:03:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35088", "tax_sys" : 0, "items" : [ { "code": "46153715", "name": "\u0420/\u0436 Orbit XXL white bubblemint 20,4\u0433", "price" : 51.00, "quantity" : 1.000, "sum" : 51.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 51.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:03:44]execute_script... [13:03:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35088", "tax_sys" : 0, "items" : [ { "code": "46153715", "name": "\u0420/\u0436 Orbit XXL white bubblemint 20,4\u0433", "price" : 51.00, "quantity" : 1.000, "sum" : 51.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 51.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:03:44]POST & json_proto [13:03:44]process_json_proto [13:03:44]json parsed OK: [13:03:44]protocol is kg_v1.0 [13:03:44]action value=close_receipt [13:03:44]process_action close_receipt [13:03:44]cmd_close_receipt [13:03:44]MH_GetDate [13:03:44]Write to MH i2c: F0 00 00 F4 1F 02 [13:03:44]Write i2c OK [13:03:44]MH_I2C_Read... [13:03:44]Read from MH i2c: F0 [13:03:44]MH_I2C_Read... [13:03:44]Read from MH i2c: F0 09 00 [13:03:44]MH_I2C_Read... [13:03:44]Read from MH i2c: F0 09 00 F4 1F 00 B7 8B 1F 67 5B 68 A1 66 9D [13:03:44]GetLastDocTimeStamp 1730120578 [13:03:44]current date 1730120631 [13:03:44]FM_GetShiftState [13:03:44]SAM_PROTO_GetShiftState [13:03:44]wFMCommunicate request_size=4 [13:03:44]MH_SAM_APDU [13:03:44]CAPDU: 80 13 01 00 [13:03:44]Write to MH i2c: E2 08 00 F5 1F 80 13 01 00 00 00 00 00 91 [13:03:44]Write i2c OK [13:03:44]MH_I2C_Read... [13:03:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:03:44]Read from MH i2c: E2 [13:03:44]MH_I2C_Read... [13:03:44]Read from MH i2c: E2 0E 00 [13:03:44]MH_I2C_Read... [13:03:44]Read from MH i2c: E2 0E 00 F5 1F 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 13 [13:03:44]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [13:03:44]wFMCommunicate OK [13:03:44]SAM_PROTO_GetShiftState done [13:03:44]FM_GetShiftState done [13:03:44]opened in 1730073884 [13:03:44]opened+sec_in_day 1730160284 [13:03:44]quantity*price = 5100 [13:03:44]sum+1 = 5101 [13:03:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 51.00 НСП 1% : 0.45 НДС 12% : 5.42 Наличными: 51.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 32 28.10.2024 13:03 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37789 ФПД: 35145296494624 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T130351&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37789&fm=35145296494624&tin=02508201610067®Number=0000000000091684&sum=5100 0 [13:03:45]StoreToDocumentArchive [13:03:45]shift 551 fd 37789 [13:03:45]save to /storage/0551/doc_00037789 [13:03:45]save last doc name /storage/0551/doc_00037789 to /storage/kkm_last_doc_name [13:03:45]save OK [13:03:45]Clear old archive folders... [13:03:45]ProcessDocumentItem done err = 0, tmpTLVsize=276 [13:03:45]tlvbuf is 00262200 [13:03:45]SAM_PROTO_ClearQueue [13:03:45]wFMCommunicate request_size=4 [13:03:45]MH_SAM_APDU [13:03:45]CAPDU: 80 09 00 00 [13:03:45]Write to MH i2c: E2 08 00 02 20 80 09 00 00 00 00 00 00 94 [13:03:45]Write i2c OK [13:03:45]MH_I2C_Read... [13:03:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:03:45]Read from MH i2c: E2 [13:03:45]MH_I2C_Read... [13:03:45]Read from MH i2c: E2 03 00 [13:03:45]MH_I2C_Read... [13:03:45]Read from MH i2c: E2 03 00 02 20 00 90 00 96 [13:03:45]RAPDU: 90 00 [13:03:45]wFMCommunicate OK [13:03:45]SAM_PROTO_ClearQueue done [13:03:45]KKMCreateOFDPacket [13:03:45]OFDProtocolAddRootSTLVToBuf [13:03:45]FM_MakeSignedData [13:03:45]FM_MakeSignedData [13:03:45]SAM_PROTO_SignData [13:03:45]wFMCommunicate request_size=4 [13:03:45]MH_SAM_APDU [13:03:45]CAPDU: 80 0D 01 02 [13:03:45]Write to MH i2c: E2 08 00 03 20 80 0D 01 02 00 00 00 00 9C [13:03:45]Write i2c OK [13:03:45]MH_I2C_Read... [13:03:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:03:45]Read from MH i2c: E2 [13:03:45]MH_I2C_Read... [13:03:45]Read from MH i2c: E2 03 00 [13:03:45]MH_I2C_Read... [13:03:45]Read from MH i2c: E2 03 00 03 20 00 90 00 97 [13:03:45]RAPDU: 90 00 [13:03:45]wFMCommunicate OK [13:03:45]wFMCommunicate request_size=255 [13:03:45]MH_SAM_APDU [13:03:45]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 36 31 35 33 37 31 35 06 04 27 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 77 68 69 74 65 20 62 75 62 62 6C 65 6D 69 6E 74 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 B7 8B 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 [13:03:45]Write to MH i2c: E2 02 01 04 20 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 36 31 35 33 37 31 35 06 04 27 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 77 68 69 74 65 20 62 75 62 62 6C 65 6D 69 6E 74 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 B7 8B 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 00 00 00 [13:03:45]Write i2c OK [13:03:45]MH_I2C_Read... [13:03:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:03:45]Read from MH i2c: E2 [13:03:45]MH_I2C_Read... [13:03:45]Read from MH i2c: E2 03 00 [13:03:45]MH_I2C_Read... [13:03:45]Read from MH i2c: E2 03 00 04 20 00 90 00 98 [13:03:45]RAPDU: 90 00 [13:03:45]wFMCommunicate OK [13:03:45]wFMCommunicate request_size=35 [13:03:45]MH_SAM_APDU [13:03:45]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9D 93 00 00 35 04 06 00 1F F6 E6 E9 C0 20 [13:03:45]Write to MH i2c: E2 26 00 05 20 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9D 93 00 00 35 04 06 00 1F F6 E6 E9 C0 20 00 00 83 [13:03:45]Write i2c OK [13:03:45]MH_I2C_Read... [13:03:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:03:45]Read from MH i2c: E2 [13:03:45]MH_I2C_Read... [13:03:45]Read from MH i2c: E2 03 00 [13:03:45]MH_I2C_Read... [13:03:45]Read from MH i2c: E2 03 00 05 20 00 90 00 99 [13:03:45]RAPDU: 90 00 [13:03:45]wFMCommunicate OK [13:03:45]wFMCommunicate request_size=4 [13:03:45]MH_SAM_APDU [13:03:45]CAPDU: 80 0D 03 02 [13:03:45]Write to MH i2c: E2 08 00 06 20 80 0D 03 02 00 00 00 00 A1 [13:03:45]Write i2c OK [13:03:45]MH_I2C_Read... [13:03:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:03:45]Read from MH i2c: E2 [13:03:45]MH_I2C_Read... [13:03:45]Read from MH i2c: E2 0B 00 [13:03:45]MH_I2C_Read... [13:03:45]Read from MH i2c: E2 0B 00 06 20 00 19 61 52 97 67 F6 20 F5 90 00 77 [13:03:45]RAPDU: 19 61 52 97 67 F6 20 F5 90 00 [13:03:45]wFMCommunicate OK [13:03:45]SAM_PROTO_SignData done [13:03:45]FM_MakeSignedData done [13:03:45]CreateOFDProtocolMessage [13:03:45]wFMCommunicate request_size=4 [13:03:45]MH_SAM_APDU [13:03:45]CAPDU: 80 11 00 00 [13:03:45]Write to MH i2c: E2 08 00 07 20 80 11 00 00 00 00 00 00 A1 [13:03:45]Write i2c OK [13:03:45]MH_I2C_Read... [13:03:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:03:45]Read from MH i2c: E2 [13:03:45]MH_I2C_Read... [13:03:45]Read from MH i2c: E2 17 00 [13:03:45]MH_I2C_Read... [13:03:45]Read from MH i2c: E2 17 00 07 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F1 [13:03:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:03:45]wFMCommunicate OK [13:03:45]CreateOFDProtocolMessage done [13:03:45]OFDSenderStorePacket 37789 [13:03:45]StoreOFDPacket docnum=37789 [13:03:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 28 01 00 00 16 80 20 01 1C 06 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 36 31 35 33 37 31 35 06 04 27 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 77 68 69 74 65 20 62 75 62 62 6C 65 6D 69 6E 74 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 B7 8B 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9D 93 00 00 35 04 06 00 1F F6 E6 E9 C0 20 19 61 52 97 67 F6 20 F5 [13:03:45]CheckFolder [13:03:45]dirname=/storage/ofd_packets [13:03:45]CheckFolder done [13:03:45]ProducePacketName [13:03:45]name=ofd_packets/00037789 [13:03:45]NVStorageSaveData ofd_packets/00037789 [13:03:45]File name is /storage/ofd_packets/00037789 [13:03:45]Write 326 bytes [13:03:45]NVStorageSaveData done [13:03:45]OFDSenderStorePacket done [13:03:45]KKMCreateOFDPacket done [13:03:45]NVStorageSaveData kkm_last_timestamp [13:03:45]File name is /storage/kkm_last_timestamp [13:03:45]Write 4 bytes [13:03:45]NVStorageSaveData done [13:03:45]ExternCall_PrintAddStr [13:03:45]wPrintStart [13:03:45]Write to MH i2c: 01 00 00 08 20 28 [13:03:45]Write i2c OK [13:03:45]MH_I2C_Read... [13:03:45]Read from MH i2c: 01 [13:03:45]MH_I2C_Read... [13:03:45]Read from MH i2c: 01 07 00 [13:03:45]MH_I2C_Read... [13:03:45]Read from MH i2c: 01 07 00 08 20 00 00 00 00 00 FF 0F 3D [13:03:45]RasterBufferAndPrint [13:03:45]line Счет N : (3)35088 [13:03:45]line ИНН: 02508201610067 [13:03:45]line Контрольно-Кассовый Чек [13:03:45]line ПРОДАЖА [13:03:45]line Товар: 46153715 [13:03:45]line Р/ж Orbit XXL white bubblemint 20,4г [13:03:45]line 1.000 * 51.00 [13:03:45]line = 51.00 [13:03:45]line НДС 12% НСП 1% [13:03:45]line > о реализуемом товаре [13:03:45]line ИТОГО: 51.00 [13:03:45]line НСП 1% : 0.45 [13:03:45]line НДС 12% : 5.42 [13:03:45]line Наличными: 51.00 [13:03:45]line Безнал.: 0.00 [13:03:45]line Место: АЗС № 126 "Партнер Нефть" [13:03:45]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:03:45]line СНО: Общий режим [13:03:45]line Чек 32 28.10.2024 13:03 [13:03:45]line Смена: 551 ФФД: 1.0 [13:03:45]line ЗНМ: 0300000092 [13:03:45]line РНМ: 0000000000091684 [13:03:45]line Версия ККМ: 001 [13:03:45]line ФМ: 0000000000871841 [13:03:45]line ФД: 37789 [13:03:45]line ФПД: 35145296494624 [13:03:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T130351&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37789&fm=35145296494624&tin=02508201610067®Number=0000000000091684&sum=5100 [13:03:45]line 0 [13:03:46]written 0, free lines is 4095 [13:03:46]OFD Sender: Processing packet 37789 [packets to send 42, broken 41] [13:03:46]ProducePacketName [13:03:46]name=ofd_packets/00037789 [13:03:46]OFD Sender: To server: pG, [13:03:46]CommunicateWithHost lk.salyk.kg:30040 [13:03:46]ConnectInit lk.salyk.kg [13:03:46]Connected sock=9 [13:03:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 28 01 00 00 16 80 20 01 1C 06 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 36 31 35 33 37 31 35 06 04 27 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 77 68 69 74 65 20 62 75 62 62 6C 65 6D 69 6E 74 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 B7 8B 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9D 93 00 00 35 04 06 00 1F F6 E6 E9 C0 20 19 61 52 97 67 F6 20 F5 [13:03:46]Write to MH i2c: 01 00 00 31 20 51 [13:03:46]Write i2c OK [13:03:46]MH_I2C_Read... [13:03:46]Read from MH i2c: 01 [13:03:46]MH_I2C_Read... [13:03:46]Read from MH i2c: 01 07 00 [13:03:46]MH_I2C_Read... [13:03:46]Read from MH i2c: 01 07 00 31 20 00 00 00 00 00 B0 0C 14 [13:03:46]RasterBufferAndPrint [13:03:46]line [13:03:46]line [13:03:46]line [13:03:46]line [13:03:46]line [13:03:46]written 0, free lines is 3252 [13:03:46]MH_Cut [13:03:46]Write to MH i2c: D1 01 00 38 20 01 2A [13:03:46]Write i2c OK [13:03:46]MH_I2C_Read... [13:03:46]Read from MH i2c: D1 [13:03:46]MH_I2C_Read... [13:03:46]Read from MH i2c: D1 01 00 [13:03:46]MH_I2C_Read... [13:03:46]Read from MH i2c: D1 01 00 38 20 00 29 [13:03:46]Write to MH i2c: 01 00 00 39 20 59 [13:03:46]Write i2c OK [13:03:46]MH_I2C_Read... [13:03:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 E6 3E 47 00 0A 00 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9D 93 00 00 F4 03 04 00 AC 36 1F 67 B6 04 01 00 00 09 79 2F A4 E6 42 C4 09 [13:03:47]CommunicateWithHost err = 0 [13:03:47]CheckOFDResponse [13:03:47]1017 (14) - 77093643461234 [13:03:47]1041 (16) - 0000000000871841 [13:03:47]1040 (4) - 37789 [13:03:47]1012 (4) - 28.10.2024 07:01 [13:03:47]1206 (1) - 0 [13:03:47]OFD Sender: Remove packet 37789 [13:03:47]ProducePacketName [13:03:47]name=ofd_packets/00037789 [13:03:47]NVStorageDeleteData [13:03:47]*** Cut start [13:03:47]*** Partial cut [13:03:47]*** CUTSNS_PIN = 1 [13:03:47]*** CUTSNS_PIN = 0 [13:03:47]OFD Sender: No OFD packet to send [13:03:47]*** Brake cut motor [13:03:48]Read from MH i2c: 01 [13:03:48]MH_I2C_Read... [13:03:48]*** Stop cut motor [13:03:48]*** Cut end [13:03:48]Read from MH i2c: 01 07 00 [13:03:48]MH_I2C_Read... [13:03:48]Read from MH i2c: 01 07 00 39 20 00 00 00 00 00 FF 0F 6E [13:03:48]process_action close_receipt done [13:03:48]requested_data is exist [13:03:48]produce_requested_data [13:03:48]requested_item fm.sn is exist - process it [13:03:48]wFMCommunicate request_size=4 [13:03:48]MH_SAM_APDU [13:03:48]CAPDU: 80 11 00 00 [13:03:48]Write to MH i2c: E2 08 00 3A 20 80 11 00 00 00 00 00 00 D4 [13:03:48]Write i2c OK [13:03:48]MH_I2C_Read... [13:03:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:03:48]Read from MH i2c: E2 [13:03:48]MH_I2C_Read... [13:03:48]Read from MH i2c: E2 17 00 [13:03:48]MH_I2C_Read... [13:03:48]Read from MH i2c: E2 17 00 3A 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 24 [13:03:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:03:48]wFMCommunicate OK [13:03:48]requested_item fd.num is exist - process it [13:03:48]SAM_PROTO_GetFieldsCounters [13:03:48]wFMCommunicate request_size=4 [13:03:48]MH_SAM_APDU [13:03:48]CAPDU: 80 13 00 00 [13:03:48]Write to MH i2c: E2 08 00 3B 20 80 13 00 00 00 00 00 00 D7 [13:03:48]Write i2c OK [13:03:48]MH_I2C_Read... [13:03:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:03:48]Read from MH i2c: E2 [13:03:48]MH_I2C_Read... [13:03:48]Read from MH i2c: E2 62 00 [13:03:48]MH_I2C_Read... [13:03:48]Read from MH i2c: E2 62 00 3B 20 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 9D 93 00 00 0E 04 04 00 27 02 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 B1 [13:03: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 9D 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:03:48]wFMCommunicate OK [13:03:48]SAM_PROTO_GetFieldsCounters done [13:03:48]requested_item shift.num is exist - process it [13:03:48]requested_item shift.opened is exist - process it [13:03:48]req_shift_opened [13:03:48]FM_GetShiftState [13:03:48]SAM_PROTO_GetShiftState [13:03:48]wFMCommunicate request_size=4 [13:03:48]MH_SAM_APDU [13:03:48]CAPDU: 80 13 01 00 [13:03:48]Write to MH i2c: E2 08 00 3C 20 80 13 01 00 00 00 00 00 D9 [13:03:48]Write i2c OK [13:03:48]MH_I2C_Read... [13:03:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:03:48]Read from MH i2c: E2 [13:03:48]MH_I2C_Read... [13:03:48]Read from MH i2c: E2 0E 00 [13:03:48]MH_I2C_Read... [13:03:48]Read from MH i2c: E2 0E 00 3C 20 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 5B [13:03:48]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [13:03:48]wFMCommunicate OK [13:03:48]SAM_PROTO_GetShiftState done [13:03:48]FM_GetShiftState done [13:03:48]req_shift_opened done [13:03:48]requested_item shift.open_date is exist - process it [13:03:48]req_shift_open_date [13:03:48]req_shift_open_date done [13:03:48]produce_requested_data done [13:03:48]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37789,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [13:03:48]process_action_free close_receipt [13:03:48]json_value_free [13:03:48]json_value_free done [13:03:48]process_json_proto returns [13:03:48]Send response to host [13:03:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37789,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [13:03:48]free response buf [13:03:48]execute_script done [13:03:48]execute_script returns [13:03:48]free content buf [13:03:48]Sock 10.Close socket [13:03:48]Sock 10.Thread stoped [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:11:58]accept exits with 7 [13:11:58]New connection [13:11:58]New thread 3067297124 created [13:11:58]Thread 3067440484 joined [13:11:58]Waiting for new connection... [13:11:58] Sock 7.Parse request [13:11:58]Sock 7.Check first char [13:11:58]Sock 7.First char is OK [13:11:58]request: POST /json_proto HTTP/1.0 [13:11:58]Method: POST [13:11:58]URL: /json_proto [13:11:58]Method is POST - this is cgi request [13:11:58]url: /json_proto [13:11:58]query_string will be loaded in cgi processing [13:11:58]execute_cgi json_proto POST (null) [13:11:58]execute_cgi path=json_proto method=POST [13:11:58]POST find Content-Length [13:11:58]Host: 172.17.40.196:8080 [13:11:58]Content-Length: 869 [13:11:58]Content-Type: application/json [13:11:58] [13:11:58]POST finish read [13:11:58]Found Content-Length = 869 [13:11:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35089", "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 }]} ,{ "code": "48745895", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B RICHMOND KS GOLD EDITION", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 289.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:11:58]execute_script... [13:11: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)35089", "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 }]} ,{ "code": "48745895", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B RICHMOND KS GOLD EDITION", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 289.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:11:58]POST & json_proto [13:11:58]process_json_proto [13:11:58]json parsed OK: [13:11:58]protocol is kg_v1.0 [13:11:58]action value=close_receipt [13:11:58]process_action close_receipt [13:11:58]cmd_close_receipt [13:11:58]MH_GetDate [13:11:58]Write to MH i2c: F0 00 00 3D 20 4C [13:11:58]Write i2c OK [13:11:58]MH_I2C_Read... [13:11:58]Read from MH i2c: F0 [13:11:58]MH_I2C_Read... [13:11:58]Read from MH i2c: F0 09 00 [13:11:58]MH_I2C_Read... [13:11:58]Read from MH i2c: F0 09 00 3D 20 00 A5 8D 1F 67 5B 68 A1 66 D7 [13:11:58]GetLastDocTimeStamp 1730120631 [13:11:58]current date 1730121125 [13:11:58]FM_GetShiftState [13:11:58]SAM_PROTO_GetShiftState [13:11:58]wFMCommunicate request_size=4 [13:11:58]MH_SAM_APDU [13:11:58]CAPDU: 80 13 01 00 [13:11:58]Write to MH i2c: E2 08 00 3E 20 80 13 01 00 00 00 00 00 DB [13:11:58]Write i2c OK [13:11:58]MH_I2C_Read... [13:11:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:11:58]Read from MH i2c: E2 [13:11:58]MH_I2C_Read... [13:11:58]Read from MH i2c: E2 0E 00 [13:11:58]MH_I2C_Read... [13:11:58]Read from MH i2c: E2 0E 00 3E 20 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 5D [13:11:58]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [13:11:58]wFMCommunicate OK [13:11:58]SAM_PROTO_GetShiftState done [13:11:58]FM_GetShiftState done [13:11:58]opened in 1730073884 [13:11:58]opened+sec_in_day 1730160284 [13:11:58]quantity*price = 13000 [13:11:58]sum+1 = 13001 [13:11:58]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48745895 Сигареты RICHMOND KS GOLD EDITION 1.000 * 159.00 = 159.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 289.00 НСП 1% : 2.56 НДС 12% : 30.68 Наличными: 289.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 33 28.10.2024 13:12 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37790 ФПД: 158869467339081 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T131205&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37790&fm=158869467339081&tin=02508201610067®Number=0000000000091684&sum=28900 0 [13:11:59]StoreToDocumentArchive [13:11:59]shift 551 fd 37790 [13:11:59]save to /storage/0551/doc_00037790 [13:11:59]save last doc name /storage/0551/doc_00037790 to /storage/kkm_last_doc_name [13:11:59]save OK [13:11:59]Clear old archive folders... [13:11:59]ProcessDocumentItem done err = 0, tmpTLVsize=384 [13:11:59]tlvbuf is 0025B4B0 [13:11:59]SAM_PROTO_ClearQueue [13:11:59]wFMCommunicate request_size=4 [13:11:59]MH_SAM_APDU [13:11:59]CAPDU: 80 09 00 00 [13:11:59]Write to MH i2c: E2 08 00 4B 20 80 09 00 00 00 00 00 00 DD [13:11:59]Write i2c OK [13:11:59]MH_I2C_Read... [13:11:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:11:59]Read from MH i2c: E2 [13:11:59]MH_I2C_Read... [13:11:59]Read from MH i2c: E2 03 00 [13:11:59]MH_I2C_Read... [13:11:59]Read from MH i2c: E2 03 00 4B 20 00 90 00 DF [13:11:59]RAPDU: 90 00 [13:11:59]wFMCommunicate OK [13:11:59]SAM_PROTO_ClearQueue done [13:11:59]KKMCreateOFDPacket [13:11:59]OFDProtocolAddRootSTLVToBuf [13:11:59]FM_MakeSignedData [13:11:59]FM_MakeSignedData [13:11:59]SAM_PROTO_SignData [13:11:59]wFMCommunicate request_size=4 [13:11:59]MH_SAM_APDU [13:11:59]CAPDU: 80 0D 01 02 [13:11:59]Write to MH i2c: E2 08 00 4C 20 80 0D 01 02 00 00 00 00 E5 [13:11:59]Write i2c OK [13:11:59]MH_I2C_Read... [13:11:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:11:59]Read from MH i2c: E2 [13:11:59]MH_I2C_Read... [13:11:59]Read from MH i2c: E2 03 00 [13:11:59]MH_I2C_Read... [13:11:59]Read from MH i2c: E2 03 00 4C 20 00 90 00 E0 [13:11:59]RAPDU: 90 00 [13:11:59]wFMCommunicate OK [13:11:59]wFMCommunicate request_size=255 [13:11:59]MH_SAM_APDU [13:11:59]CAPDU: 80 0D 02 02 FA 03 00 80 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 23 04 68 00 8A 04 08 00 34 38 37 34 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 [13:11:59]Write to MH i2c: E2 02 01 4D 20 80 0D 02 02 FA 00 03 00 80 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 23 04 68 00 8A 04 08 00 34 38 37 34 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 67 [13:11:59]Write i2c OK [13:11:59]MH_I2C_Read... [13:11:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:11:59]Read from MH i2c: E2 [13:11:59]MH_I2C_Read... [13:11:59]Read from MH i2c: E2 03 00 [13:11:59]MH_I2C_Read... [13:11:59]Read from MH i2c: E2 03 00 4D 20 00 90 00 E1 [13:11:59]RAPDU: 90 00 [13:11:59]wFMCommunicate OK [13:11:59]wFMCommunicate request_size=143 [13:11:59]MH_SAM_APDU [13:11:59]CAPDU: 80 0D 02 02 8A 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0B 00 00 00 00 07 04 06 00 E4 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 A5 8D 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9E 93 00 00 35 04 06 00 90 7D AE 2A 99 49 [13:11:59]Write to MH i2c: E2 92 00 4E 20 80 0D 02 02 8A 00 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0B 00 00 00 00 07 04 06 00 E4 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 A5 8D 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9E 93 00 00 35 04 06 00 90 7D AE 2A 99 49 00 00 7F [13:11:59]Write i2c OK [13:11:59]MH_I2C_Read... [13:11:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:11:59]Read from MH i2c: E2 [13:11:59]MH_I2C_Read... [13:11:59]Read from MH i2c: E2 03 00 [13:11:59]MH_I2C_Read... [13:11:59]Read from MH i2c: E2 03 00 4E 20 00 90 00 E2 [13:11:59]RAPDU: 90 00 [13:11:59]wFMCommunicate OK [13:11:59]wFMCommunicate request_size=4 [13:11:59]MH_SAM_APDU [13:11:59]CAPDU: 80 0D 03 02 [13:11:59]Write to MH i2c: E2 08 00 4F 20 80 0D 03 02 00 00 00 00 EA [13:11:59]Write i2c OK [13:11:59]MH_I2C_Read... [13:11:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:11:59]Read from MH i2c: E2 [13:11:59]MH_I2C_Read... [13:11:59]Read from MH i2c: E2 0B 00 [13:11:59]MH_I2C_Read... [13:11:59]Read from MH i2c: E2 0B 00 4F 20 00 6E 12 0B 77 F0 BC 50 C1 90 00 AA [13:11:59]RAPDU: 6E 12 0B 77 F0 BC 50 C1 90 00 [13:11:59]wFMCommunicate OK [13:11:59]SAM_PROTO_SignData done [13:11:59]FM_MakeSignedData done [13:11:59]CreateOFDProtocolMessage [13:11:59]wFMCommunicate request_size=4 [13:11:59]MH_SAM_APDU [13:11:59]CAPDU: 80 11 00 00 [13:11:59]Write to MH i2c: E2 08 00 50 20 80 11 00 00 00 00 00 00 EA [13:11:59]Write i2c OK [13:11:59]MH_I2C_Read... [13:11:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:11:59]Read from MH i2c: E2 [13:11:59]MH_I2C_Read... [13:11:59]Read from MH i2c: E2 17 00 [13:11:59]MH_I2C_Read... [13:11:59]Read from MH i2c: E2 17 00 50 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 3A [13:11:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:11:59]wFMCommunicate OK [13:11:59]CreateOFDProtocolMessage done [13:11:59]OFDSenderStorePacket 37790 [13:11:59]StoreOFDPacket docnum=37790 [13:11:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 94 01 00 00 6E 6C 8C 01 5A 0C 5A 03 01 00 03 00 80 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 23 04 68 00 8A 04 08 00 34 38 37 34 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0B 00 00 00 00 07 04 06 00 E4 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 A5 8D 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9E 93 00 00 35 04 06 00 90 7D AE 2A 99 49 6E 12 0B 77 F0 BC 50 C1 [13:11:59]CheckFolder [13:11:59]dirname=/storage/ofd_packets [13:11:59]CheckFolder done [13:11:59]ProducePacketName [13:11:59]name=ofd_packets/00037790 [13:11:59]NVStorageSaveData ofd_packets/00037790 [13:11:59]File name is /storage/ofd_packets/00037790 [13:11:59]Write 434 bytes [13:11:59]NVStorageSaveData done [13:11:59]OFDSenderStorePacket done [13:11:59]KKMCreateOFDPacket done [13:11:59]NVStorageSaveData kkm_last_timestamp [13:11:59]File name is /storage/kkm_last_timestamp [13:11:59]Write 4 bytes [13:11:59]NVStorageSaveData done [13:11:59]ExternCall_PrintAddStr [13:11:59]wPrintStart [13:11:59]Write to MH i2c: 01 00 00 51 20 71 [13:11:59]Write i2c OK [13:11:59]MH_I2C_Read... [13:11:59]Read from MH i2c: 01 [13:11:59]MH_I2C_Read... [13:11:59]Read from MH i2c: 01 07 00 [13:11:59]MH_I2C_Read... [13:11:59]Read from MH i2c: 01 07 00 51 20 00 00 00 00 00 FF 0F 86 [13:11:59]RasterBufferAndPrint [13:11:59]line Счет N : (3)35089 [13:11:59]line ИНН: 02508201610067 [13:11:59]line Контрольно-Кассовый Чек [13:11:59]line ПРОДАЖА [13:11:59]line Товар: 2000036230011 [13:11:59]line Кофе Латте XL(GABB TRADE) [13:11:59]line 1.000 * 130.00 [13:11:59]line = 130.00 [13:11:59]line НДС 12% НСП 1% [13:11:59]line > о реализуемом товаре [13:11:59]line Товар: 48745895 [13:11:59]line Сигареты RICHMOND KS GOLD EDITION [13:11:59]line 1.000 * 159.00 [13:11:59]line = 159.00 [13:11:59]line НДС 12% НСП 1% [13:11:59]line > о реализуемом товаре [13:11:59]line ИТОГО: 289.00 [13:11:59]line НСП 1% : 2.56 [13:11:59]line НДС 12% : 30.68 [13:11:59]line Наличными: 289.00 [13:11:59]line Безнал.: 0.00 [13:11:59]line Место: АЗС № 126 "Партнер Нефть" [13:12:00]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:12:00]line СНО: Общий режим [13:12:00]line Чек 33 28.10.2024 13:12 [13:12:00]line Смена: 551 ФФД: 1.0 [13:12:00]line ЗНМ: 0300000092 [13:12:00]line РНМ: 0000000000091684 [13:12:00]line Версия ККМ: 001 [13:12:00]line ФМ: 0000000000871841 [13:12:00]line ФД: 37790 [13:12:00]line ФПД: 158869467339081 [13:12:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T131205&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37790&fm=158869467339081&tin=02508201610067®Number=0000000000091684&sum=28900 [13:12:00]line 0 [13:12:00]OFD Sender: Processing packet 37790 [packets to send 42, broken 41] [13:12:00]ProducePacketName [13:12:00]name=ofd_packets/00037790 [13:12:00]OFD Sender: To server: pG, [13:12:00]CommunicateWithHost lk.salyk.kg:30040 [13:12:00]ConnectInit lk.salyk.kg [13:12:00]written 0, free lines is 4095 [13:12:00]Connected sock=10 [13:12:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 94 01 00 00 6E 6C 8C 01 5A 0C 5A 03 01 00 03 00 80 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 23 04 68 00 8A 04 08 00 34 38 37 34 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0B 00 00 00 00 07 04 06 00 E4 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 A5 8D 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9E 93 00 00 35 04 06 00 90 7D AE 2A 99 49 6E 12 0B 77 F0 BC 50 C1 [13:12:00]Write to MH i2c: 01 00 00 80 20 A0 [13:12:00]Write i2c OK [13:12:00]MH_I2C_Read... [13:12:00]Read from MH i2c: 01 [13:12:00]MH_I2C_Read... [13:12:00]Read from MH i2c: 01 07 00 [13:12:00]MH_I2C_Read... [13:12:00]Read from MH i2c: 01 07 00 80 20 00 00 00 00 00 4A 0C FD [13:12:00]RasterBufferAndPrint [13:12:00]line [13:12:00]line [13:12:00]line [13:12:00]line [13:12:00]line [13:12:00]written 0, free lines is 3155 [13:12:00]MH_Cut [13:12:00]Write to MH i2c: D1 01 00 87 20 01 79 [13:12:00]Write i2c OK [13:12:00]MH_I2C_Read... [13:12:00]Read from MH i2c: D1 [13:12:00]MH_I2C_Read... [13:12:00]Read from MH i2c: D1 01 00 [13:12:00]MH_I2C_Read... [13:12:00]Read from MH i2c: D1 01 00 87 20 00 78 [13:12:00]Write to MH i2c: 01 00 00 88 20 A8 [13:12:00]Write i2c OK [13:12:00]MH_I2C_Read... [13:12:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 C6 87 47 00 E8 84 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9E 93 00 00 F4 03 04 00 9A 38 1F 67 B6 04 01 00 00 A0 0C CE 90 0C 53 B4 1A [13:12:00]CommunicateWithHost err = 0 [13:12:00]CheckOFDResponse [13:12:00]1017 (14) - 77093643461234 [13:12:00]1041 (16) - 0000000000871841 [13:12:00]1040 (4) - 37790 [13:12:00]1012 (4) - 28.10.2024 07:09 [13:12:00]1206 (1) - 0 [13:12:00]OFD Sender: Remove packet 37790 [13:12:00]ProducePacketName [13:12:00]name=ofd_packets/00037790 [13:12:00]NVStorageDeleteData [13:12:01]OFD Sender: No OFD packet to send [13:12:01]*** Cut start [13:12:01]*** Partial cut [13:12:01]*** CUTSNS_PIN = 1 [13:12:01]*** CUTSNS_PIN = 0 [13:12:01]*** Brake cut motor [13:12:02]Read from MH i2c: 01 [13:12:02]MH_I2C_Read... [13:12:02]*** Stop cut motor [13:12:02]*** Cut end [13:12:02]Read from MH i2c: 01 07 00 [13:12:02]MH_I2C_Read... [13:12:02]Read from MH i2c: 01 07 00 88 20 00 00 00 00 00 FF 0F BD [13:12:02]process_action close_receipt done [13:12:02]requested_data is exist [13:12:02]produce_requested_data [13:12:02]requested_item fm.sn is exist - process it [13:12:02]wFMCommunicate request_size=4 [13:12:02]MH_SAM_APDU [13:12:02]CAPDU: 80 11 00 00 [13:12:02]Write to MH i2c: E2 08 00 89 20 80 11 00 00 00 00 00 00 23 [13:12:02]Write i2c OK [13:12:02]MH_I2C_Read... [13:12:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:12:02]Read from MH i2c: E2 [13:12:02]MH_I2C_Read... [13:12:02]Read from MH i2c: E2 17 00 [13:12:02]MH_I2C_Read... [13:12:02]Read from MH i2c: E2 17 00 89 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 73 [13:12:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:12:02]wFMCommunicate OK [13:12:02]requested_item fd.num is exist - process it [13:12:02]SAM_PROTO_GetFieldsCounters [13:12:02]wFMCommunicate request_size=4 [13:12:02]MH_SAM_APDU [13:12:02]CAPDU: 80 13 00 00 [13:12:02]Write to MH i2c: E2 08 00 8A 20 80 13 00 00 00 00 00 00 26 [13:12:02]Write i2c OK [13:12:02]MH_I2C_Read... [13:12:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:12:02]Read from MH i2c: E2 [13:12:02]MH_I2C_Read... [13:12:02]Read from MH i2c: E2 62 00 [13:12:02]MH_I2C_Read... [13:12:02]Read from MH i2c: E2 62 00 8A 20 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 9E 93 00 00 0E 04 04 00 27 02 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 04 [13:12:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 9E 93 00 00 0E 04 04 00 27 02 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 [13:12:02]wFMCommunicate OK [13:12:02]SAM_PROTO_GetFieldsCounters done [13:12:02]requested_item shift.num is exist - process it [13:12:02]requested_item shift.opened is exist - process it [13:12:02]req_shift_opened [13:12:02]FM_GetShiftState [13:12:02]SAM_PROTO_GetShiftState [13:12:02]wFMCommunicate request_size=4 [13:12:02]MH_SAM_APDU [13:12:02]CAPDU: 80 13 01 00 [13:12:02]Write to MH i2c: E2 08 00 8B 20 80 13 01 00 00 00 00 00 28 [13:12:02]Write i2c OK [13:12:02]MH_I2C_Read... [13:12:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:12:02]Read from MH i2c: E2 [13:12:02]MH_I2C_Read... [13:12:02]Read from MH i2c: E2 0E 00 [13:12:02]MH_I2C_Read... [13:12:02]Read from MH i2c: E2 0E 00 8B 20 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 AA [13:12:02]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [13:12:02]wFMCommunicate OK [13:12:02]SAM_PROTO_GetShiftState done [13:12:02]FM_GetShiftState done [13:12:02]req_shift_opened done [13:12:02]requested_item shift.open_date is exist - process it [13:12:02]req_shift_open_date [13:12:02]req_shift_open_date done [13:12:02]produce_requested_data done [13:12:02]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37790,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [13:12:02]process_action_free close_receipt [13:12:02]json_value_free [13:12:02]json_value_free done [13:12:02]process_json_proto returns [13:12:02]Send response to host [13:12:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37790,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [13:12:02]free response buf [13:12:02]execute_script done [13:12:02]execute_script returns [13:12:02]free content buf [13:12:02]Sock 7.Close socket [13:12:02]Sock 7.Thread stoped [13:12:06]OFD Sender: No OFD packet to send [13:12:11]OFD Sender: No OFD packet to send [13:12:16]OFD Sender: No OFD packet to send [13:12:21]OFD Sender: No OFD packet to send [13:12:26]OFD Sender: No OFD packet to send [13:12:31]OFD Sender: No OFD packet to send [13:12:36]OFD Sender: No OFD packet to send [13:12:41]OFD Sender: No OFD packet to send [13:12:46]OFD Sender: No OFD packet to send [13:12:51]OFD Sender: No OFD packet to send [13:12:56]OFD Sender: No OFD packet to send [13:13:01]OFD Sender: No OFD packet to send [13:13:06]OFD Sender: No OFD packet to send [13:13:07]accept exits with 9 [13:13:07]New connection [13:13:07]New thread 3067440484 created [13:13:07]Thread 3067297124 joined [13:13:07]Waiting for new connection... [13:13:07] Sock 9.Parse request [13:13:07]Sock 9.Check first char [13:13:07]Sock 9.First char is OK [13:13:07]request: POST /json_proto HTTP/1.0 [13:13:07]Method: POST [13:13:07]URL: /json_proto [13:13:07]Method is POST - this is cgi request [13:13:07]url: /json_proto [13:13:07]query_string will be loaded in cgi processing [13:13:07]execute_cgi json_proto POST (null) [13:13:07]execute_cgi path=json_proto method=POST [13:13:07]POST find Content-Length [13:13:07]Host: 172.17.40.196:8080 [13:13:07]Content-Length: 666 [13:13:07]Content-Type: application/json [13:13:07] [13:13:07]POST finish read [13:13:07]Found Content-Length = 666 [13:13:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35090", "tax_sys" : 0, "items" : [ { "code": "4700002082191", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,46\u043B", "price" : 350.00, "quantity" : 1.000, "sum" : 350.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 350.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:13:07]execute_script... [13:13:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35090", "tax_sys" : 0, "items" : [ { "code": "4700002082191", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,46\u043B", "price" : 350.00, "quantity" : 1.000, "sum" : 350.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 350.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:13:07]POST & json_proto [13:13:07]process_json_proto [13:13:07]json parsed OK: [13:13:07]protocol is kg_v1.0 [13:13:07]action value=close_receipt [13:13:07]process_action close_receipt [13:13:07]cmd_close_receipt [13:13:07]MH_GetDate [13:13:07]Write to MH i2c: F0 00 00 8C 20 9B [13:13:07]Write i2c OK [13:13:07]MH_I2C_Read... [13:13:07]Read from MH i2c: F0 [13:13:07]MH_I2C_Read... [13:13:07]Read from MH i2c: F0 09 00 [13:13:07]MH_I2C_Read... [13:13:07]Read from MH i2c: F0 09 00 8C 20 00 EA 8D 1F 67 5B 68 A1 66 6B [13:13:07]GetLastDocTimeStamp 1730121125 [13:13:07]current date 1730121194 [13:13:07]FM_GetShiftState [13:13:07]SAM_PROTO_GetShiftState [13:13:07]wFMCommunicate request_size=4 [13:13:07]MH_SAM_APDU [13:13:07]CAPDU: 80 13 01 00 [13:13:07]Write to MH i2c: E2 08 00 8D 20 80 13 01 00 00 00 00 00 2A [13:13:07]Write i2c OK [13:13:07]MH_I2C_Read... [13:13:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:13:07]Read from MH i2c: E2 [13:13:07]MH_I2C_Read... [13:13:07]Read from MH i2c: E2 0E 00 [13:13:07]MH_I2C_Read... [13:13:07]Read from MH i2c: E2 0E 00 8D 20 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 AC [13:13:07]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [13:13:07]wFMCommunicate OK [13:13:07]SAM_PROTO_GetShiftState done [13:13:07]FM_GetShiftState done [13:13:07]opened in 1730073884 [13:13:07]opened+sec_in_day 1730160284 [13:13:07]quantity*price = 35000 [13:13:07]sum+1 = 35001 [13:13:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 350.00 НСП 1% : 3.10 НДС 12% : 37.17 Наличными: 350.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 34 28.10.2024 13:13 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37791 ФПД: 6209751220036 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T131314&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37791&fm=6209751220036&tin=02508201610067®Number=0000000000091684&sum=35000 0 [13:13:08]StoreToDocumentArchive [13:13:08]shift 551 fd 37791 [13:13:08]save to /storage/0551/doc_00037791 [13:13:08]save last doc name /storage/0551/doc_00037791 to /storage/kkm_last_doc_name [13:13:08]save OK [13:13:08]Clear old archive folders... [13:13:08]ProcessDocumentItem done err = 0, tmpTLVsize=283 [13:13:08]tlvbuf is 0022C2A0 [13:13:08]SAM_PROTO_ClearQueue [13:13:08]wFMCommunicate request_size=4 [13:13:08]MH_SAM_APDU [13:13:08]CAPDU: 80 09 00 00 [13:13:08]Write to MH i2c: E2 08 00 9A 20 80 09 00 00 00 00 00 00 2C [13:13:08]Write i2c OK [13:13:08]MH_I2C_Read... [13:13:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:13:08]Read from MH i2c: E2 [13:13:08]MH_I2C_Read... [13:13:08]Read from MH i2c: E2 03 00 [13:13:08]MH_I2C_Read... [13:13:08]Read from MH i2c: E2 03 00 9A 20 00 90 00 2E [13:13:08]RAPDU: 90 00 [13:13:08]wFMCommunicate OK [13:13:08]SAM_PROTO_ClearQueue done [13:13:08]KKMCreateOFDPacket [13:13:08]OFDProtocolAddRootSTLVToBuf [13:13:08]FM_MakeSignedData [13:13:08]FM_MakeSignedData [13:13:08]SAM_PROTO_SignData [13:13:08]wFMCommunicate request_size=4 [13:13:08]MH_SAM_APDU [13:13:08]CAPDU: 80 0D 01 02 [13:13:08]Write to MH i2c: E2 08 00 9B 20 80 0D 01 02 00 00 00 00 34 [13:13:08]Write i2c OK [13:13:08]MH_I2C_Read... [13:13:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:13:08]Read from MH i2c: E2 [13:13:08]MH_I2C_Read... [13:13:08]Read from MH i2c: E2 03 00 [13:13:08]MH_I2C_Read... [13:13:08]Read from MH i2c: E2 03 00 9B 20 00 90 00 2F [13:13:08]RAPDU: 90 00 [13:13:08]wFMCommunicate OK [13:13:08]wFMCommunicate request_size=255 [13:13:08]MH_SAM_APDU [13:13:08]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 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 EA 8D 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 [13:13:08]Write to MH i2c: E2 02 01 9C 20 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 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 EA 8D 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 00 00 FA [13:13:08]Write i2c OK [13:13:08]MH_I2C_Read... [13:13:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:13:08]Read from MH i2c: E2 [13:13:08]MH_I2C_Read... [13:13:08]Read from MH i2c: E2 03 00 [13:13:08]MH_I2C_Read... [13:13:08]Read from MH i2c: E2 03 00 9C 20 00 90 00 30 [13:13:08]RAPDU: 90 00 [13:13:08]wFMCommunicate OK [13:13:08]wFMCommunicate request_size=42 [13:13:08]MH_SAM_APDU [13:13:08]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9F 93 00 00 35 04 06 00 05 A5 D2 03 FF 44 [13:13:08]Write to MH i2c: E2 2D 00 9D 20 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9F 93 00 00 35 04 06 00 05 A5 D2 03 FF 44 00 00 FD [13:13:08]Write i2c OK [13:13:08]MH_I2C_Read... [13:13:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:13:08]Read from MH i2c: E2 [13:13:08]MH_I2C_Read... [13:13:08]Read from MH i2c: E2 03 00 [13:13:08]MH_I2C_Read... [13:13:08]Read from MH i2c: E2 03 00 9D 20 00 90 00 31 [13:13:08]RAPDU: 90 00 [13:13:08]wFMCommunicate OK [13:13:08]wFMCommunicate request_size=4 [13:13:08]MH_SAM_APDU [13:13:08]CAPDU: 80 0D 03 02 [13:13:08]Write to MH i2c: E2 08 00 9E 20 80 0D 03 02 00 00 00 00 39 [13:13:08]Write i2c OK [13:13:08]MH_I2C_Read... [13:13:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:13:08]Read from MH i2c: E2 [13:13:08]MH_I2C_Read... [13:13:08]Read from MH i2c: E2 0B 00 [13:13:08]MH_I2C_Read... [13:13:08]Read from MH i2c: E2 0B 00 9E 20 00 D9 37 44 0D 8F 78 53 BC 90 00 B1 [13:13:08]RAPDU: D9 37 44 0D 8F 78 53 BC 90 00 [13:13:08]wFMCommunicate OK [13:13:08]SAM_PROTO_SignData done [13:13:08]FM_MakeSignedData done [13:13:08]CreateOFDProtocolMessage [13:13:08]wFMCommunicate request_size=4 [13:13:08]MH_SAM_APDU [13:13:08]CAPDU: 80 11 00 00 [13:13:08]Write to MH i2c: E2 08 00 9F 20 80 11 00 00 00 00 00 00 39 [13:13:08]Write i2c OK [13:13:08]MH_I2C_Read... [13:13:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:13:08]Read from MH i2c: E2 [13:13:08]MH_I2C_Read... [13:13:08]Read from MH i2c: E2 17 00 [13:13:08]MH_I2C_Read... [13:13:08]Read from MH i2c: E2 17 00 9F 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 89 [13:13:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:13:08]wFMCommunicate OK [13:13:08]CreateOFDProtocolMessage done [13:13:08]OFDSenderStorePacket 37791 [13:13:08]StoreOFDPacket docnum=37791 [13:13:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2F 01 00 00 59 6B 27 01 D9 8C 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 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 EA 8D 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9F 93 00 00 35 04 06 00 05 A5 D2 03 FF 44 D9 37 44 0D 8F 78 53 BC [13:13:08]CheckFolder [13:13:08]dirname=/storage/ofd_packets [13:13:08]CheckFolder done [13:13:08]ProducePacketName [13:13:08]name=ofd_packets/00037791 [13:13:08]NVStorageSaveData ofd_packets/00037791 [13:13:08]File name is /storage/ofd_packets/00037791 [13:13:08]Write 333 bytes [13:13:08]NVStorageSaveData done [13:13:08]OFDSenderStorePacket done [13:13:08]KKMCreateOFDPacket done [13:13:08]NVStorageSaveData kkm_last_timestamp [13:13:08]File name is /storage/kkm_last_timestamp [13:13:08]Write 4 bytes [13:13:08]NVStorageSaveData done [13:13:08]ExternCall_PrintAddStr [13:13:08]wPrintStart [13:13:08]Write to MH i2c: 01 00 00 A0 20 C0 [13:13:08]Write i2c OK [13:13:08]MH_I2C_Read... [13:13:08]Read from MH i2c: 01 [13:13:08]MH_I2C_Read... [13:13:08]Read from MH i2c: 01 07 00 [13:13:08]MH_I2C_Read... [13:13:08]Read from MH i2c: 01 07 00 A0 20 00 00 00 00 00 FF 0F D5 [13:13:08]RasterBufferAndPrint [13:13:08]line Счет N : (3)35090 [13:13:08]line ИНН: 02508201610067 [13:13:08]line Контрольно-Кассовый Чек [13:13:08]line ПРОДАЖА [13:13:08]line Товар: 4700002082191 [13:13:08]line Водка Белое золото 0,46л [13:13:08]line 1.000 * 350.00 [13:13:08]line = 350.00 [13:13:08]line НДС 12% НСП 1% [13:13:08]line > о реализуемом товаре [13:13:08]line ИТОГО: 350.00 [13:13:08]line НСП 1% : 3.10 [13:13:08]line НДС 12% : 37.17 [13:13:08]line Наличными: 350.00 [13:13:08]line Безнал.: 0.00 [13:13:08]line Место: АЗС № 126 "Партнер Нефть" [13:13:08]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:13:08]line СНО: Общий режим [13:13:08]line Чек 34 28.10.2024 13:13 [13:13:08]line Смена: 551 ФФД: 1.0 [13:13:08]line ЗНМ: 0300000092 [13:13:08]line РНМ: 0000000000091684 [13:13:08]line Версия ККМ: 001 [13:13:08]line ФМ: 0000000000871841 [13:13:08]line ФД: 37791 [13:13:08]line ФПД: 6209751220036 [13:13:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T131314&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37791&fm=6209751220036&tin=02508201610067®Number=0000000000091684&sum=35000 [13:13:09]OFD Sender: Processing packet 37791 [packets to send 42, broken 41] [13:13:09]ProducePacketName [13:13:09]name=ofd_packets/00037791 [13:13:09]OFD Sender: To server: pG, [13:13:09]CommunicateWithHost lk.salyk.kg:30040 [13:13:09]ConnectInit lk.salyk.kg [13:13:09]line 0 [13:13:09]written 0, free lines is 4095 [13:13:09]Write to MH i2c: 01 00 00 C8 20 E8 [13:13:09]Write i2c OK [13:13:09]MH_I2C_Read... [13:13:09]Read from MH i2c: 01 [13:13:09]MH_I2C_Read... [13:13:09]Read from MH i2c: 01 07 00 [13:13:09]MH_I2C_Read... [13:13:09]Read from MH i2c: 01 07 00 C8 20 00 00 00 00 00 B7 0C B2 [13:13:09]RasterBufferAndPrint [13:13:09]line [13:13:09]line [13:13:09]line [13:13:09]line [13:13:09]line [13:13:09]written 0, free lines is 3258 [13:13:09]MH_Cut [13:13:09]Write to MH i2c: D1 01 00 CF 20 01 C1 [13:13:09]Write i2c OK [13:13:09]MH_I2C_Read... [13:13:09]Read from MH i2c: D1 [13:13:09]MH_I2C_Read... [13:13:09]Read from MH i2c: D1 01 00 [13:13:09]MH_I2C_Read... [13:13:09]Read from MH i2c: D1 01 00 CF 20 00 C0 [13:13:09]Write to MH i2c: 01 00 00 D0 20 F0 [13:13:09]Write i2c OK [13:13:09]MH_I2C_Read... [13:13:10]*** Cut start [13:13:10]*** Partial cut [13:13:10]*** CUTSNS_PIN = 1 [13:13:10]*** CUTSNS_PIN = 0 [13:13:10]*** Brake cut motor [13:13:11]Read from MH i2c: 01 [13:13:11]MH_I2C_Read... [13:13:11]*** Stop cut motor [13:13:11]*** Cut end [13:13:11]Read from MH i2c: 01 07 00 [13:13:11]MH_I2C_Read... [13:13:11]Read from MH i2c: 01 07 00 D0 20 00 00 00 00 00 FF 0F 05 [13:13:11]process_action close_receipt done [13:13:11]requested_data is exist [13:13:11]produce_requested_data [13:13:11]requested_item fm.sn is exist - process it [13:13:11]wFMCommunicate request_size=4 [13:13:11]MH_SAM_APDU [13:13:11]CAPDU: 80 11 00 00 [13:13:11]Write to MH i2c: E2 08 00 D1 20 80 11 00 00 00 00 00 00 6B [13:13:11]Write i2c OK [13:13:11]MH_I2C_Read... [13:13:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:13:11]Read from MH i2c: E2 [13:13:11]MH_I2C_Read... [13:13:11]Read from MH i2c: E2 17 00 [13:13:11]MH_I2C_Read... [13:13:11]Read from MH i2c: E2 17 00 D1 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 BB [13:13:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:13:11]wFMCommunicate OK [13:13:11]requested_item fd.num is exist - process it [13:13:11]SAM_PROTO_GetFieldsCounters [13:13:11]wFMCommunicate request_size=4 [13:13:11]MH_SAM_APDU [13:13:11]CAPDU: 80 13 00 00 [13:13:11]Write to MH i2c: E2 08 00 D2 20 80 13 00 00 00 00 00 00 6E [13:13:11]Write i2c OK [13:13:11]MH_I2C_Read... [13:13:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:13:11]Read from MH i2c: E2 [13:13:11]MH_I2C_Read... [13:13:11]Read from MH i2c: E2 62 00 [13:13:11]MH_I2C_Read... [13:13:11]Read from MH i2c: E2 62 00 D2 20 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 9F 93 00 00 0E 04 04 00 27 02 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 50 [13:13:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 9F 93 00 00 0E 04 04 00 27 02 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 [13:13:11]wFMCommunicate OK [13:13:11]SAM_PROTO_GetFieldsCounters done [13:13:11]requested_item shift.num is exist - process it [13:13:11]requested_item shift.opened is exist - process it [13:13:11]req_shift_opened [13:13:11]FM_GetShiftState [13:13:11]SAM_PROTO_GetShiftState [13:13:11]wFMCommunicate request_size=4 [13:13:11]MH_SAM_APDU [13:13:11]CAPDU: 80 13 01 00 [13:13:11]Write to MH i2c: E2 08 00 D3 20 80 13 01 00 00 00 00 00 70 [13:13:11]Write i2c OK [13:13:11]MH_I2C_Read... [13:13:11]Connected sock=11 [13:13:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2F 01 00 00 59 6B 27 01 D9 8C 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 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 EA 8D 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 9F 93 00 00 35 04 06 00 05 A5 D2 03 FF 44 D9 37 44 0D 8F 78 53 BC [13:13:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:13:11]Read from MH i2c: E2 [13:13:11]MH_I2C_Read... [13:13:11]Read from MH i2c: E2 0E 00 [13:13:11]MH_I2C_Read... [13:13:11]Read from MH i2c: E2 0E 00 D3 20 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 F2 [13:13:11]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [13:13:11]wFMCommunicate OK [13:13:11]SAM_PROTO_GetShiftState done [13:13:11]FM_GetShiftState done [13:13:11]req_shift_opened done [13:13:11]requested_item shift.open_date is exist - process it [13:13:11]req_shift_open_date [13:13:11]req_shift_open_date done [13:13:11]produce_requested_data done [13:13:11]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37791,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [13:13:11]process_action_free close_receipt [13:13:11]json_value_free [13:13:11]json_value_free done [13:13:11]process_json_proto returns [13:13:11]Send response to host [13:13:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37791,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [13:13:11]free response buf [13:13:11]execute_script done [13:13:11]execute_script returns [13:13:11]free content buf [13:13:11]Sock 9.Close socket [13:13:11]Sock 9.Thread stoped [13:13:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 DC E6 47 00 6E BF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 9F 93 00 00 F4 03 04 00 E1 38 1F 67 B6 04 01 00 00 E8 93 F2 86 2F B9 65 7A [13:13:11]CommunicateWithHost err = 0 [13:13:11]CheckOFDResponse [13:13:11]1017 (14) - 77093643461234 [13:13:11]1041 (16) - 0000000000871841 [13:13:11]1040 (4) - 37791 [13:13:11]1012 (4) - 28.10.2024 07:10 [13:13:11]1206 (1) - 0 [13:13:11]OFD Sender: Remove packet 37791 [13:13:11]ProducePacketName [13:13:11]name=ofd_packets/00037791 [13:13:11]NVStorageDeleteData [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:46]accept exits with 7 [13:22:46]New connection [13:22:46]New thread 3067297124 created [13:22:46]Thread 3067440484 joined [13:22:46]Waiting for new connection... [13:22:46] Sock 7.Parse request [13:22:46]Sock 7.Check first char [13:22:46]Sock 7.First char is OK [13:22:46]request: POST /json_proto HTTP/1.0 [13:22:46]Method: POST [13:22:46]URL: /json_proto [13:22:46]Method is POST - this is cgi request [13:22:46]url: /json_proto [13:22:46]query_string will be loaded in cgi processing [13:22:46]execute_cgi json_proto POST (null) [13:22:46]execute_cgi path=json_proto method=POST [13:22:46]POST find Content-Length [13:22:46]Host: 172.17.40.196:8080 [13:22:46]Content-Length: 620 [13:22:46]Content-Type: application/json [13:22:46] [13:22:46]POST finish read [13:22:46]Found Content-Length = 620 [13:22:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35091", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:22:46]execute_script... [13:22: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)35091", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:22:46]POST & json_proto [13:22:46]process_json_proto [13:22:46]json parsed OK: [13:22:46]protocol is kg_v1.0 [13:22:46]action value=close_receipt [13:22:46]process_action close_receipt [13:22:46]cmd_close_receipt [13:22:46]MH_GetDate [13:22:46]Write to MH i2c: F0 00 00 D4 20 E3 [13:22:46]Write i2c OK [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: F0 [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: F0 09 00 [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: F0 09 00 D4 20 00 2D 90 1F 67 5B 68 A1 66 F9 [13:22:46]GetLastDocTimeStamp 1730121194 [13:22:46]current date 1730121773 [13:22:46]FM_GetShiftState [13:22:46]SAM_PROTO_GetShiftState [13:22:46]wFMCommunicate request_size=4 [13:22:46]MH_SAM_APDU [13:22:46]CAPDU: 80 13 01 00 [13:22:46]Write to MH i2c: E2 08 00 D5 20 80 13 01 00 00 00 00 00 72 [13:22:46]Write i2c OK [13:22:46]MH_I2C_Read... [13:22:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:22:46]Read from MH i2c: E2 [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: E2 0E 00 [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: E2 0E 00 D5 20 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 F4 [13:22:46]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [13:22:46]wFMCommunicate OK [13:22:46]SAM_PROTO_GetShiftState done [13:22:46]FM_GetShiftState done [13:22:46]opened in 1730073884 [13:22:46]opened+sec_in_day 1730160284 [13:22:46]quantity*price = 14400 [13:22:46]sum+1 = 14401 [13:22:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 35 28.10.2024 13:22 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37792 ФПД: 180387804499035 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T132253&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37792&fm=180387804499035&tin=02508201610067®Number=0000000000091684&sum=14400 0 [13:22:47]StoreToDocumentArchive [13:22:47]shift 551 fd 37792 [13:22:47]save to /storage/0551/doc_00037792 [13:22:47]save last doc name /storage/0551/doc_00037792 to /storage/kkm_last_doc_name [13:22:47]save OK [13:22:47]Clear old archive folders... [13:22:47]ProcessDocumentItem done err = 0, tmpTLVsize=273 [13:22:47]tlvbuf is 0022C720 [13:22:47]SAM_PROTO_ClearQueue [13:22:47]wFMCommunicate request_size=4 [13:22:47]MH_SAM_APDU [13:22:47]CAPDU: 80 09 00 00 [13:22:47]Write to MH i2c: E2 08 00 E2 20 80 09 00 00 00 00 00 00 74 [13:22:47]Write i2c OK [13:22:47]MH_I2C_Read... [13:22:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:22:47]Read from MH i2c: E2 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 03 00 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 03 00 E2 20 00 90 00 76 [13:22:47]RAPDU: 90 00 [13:22:47]wFMCommunicate OK [13:22:47]SAM_PROTO_ClearQueue done [13:22:47]KKMCreateOFDPacket [13:22:47]OFDProtocolAddRootSTLVToBuf [13:22:47]FM_MakeSignedData [13:22:47]FM_MakeSignedData [13:22:47]SAM_PROTO_SignData [13:22:47]wFMCommunicate request_size=4 [13:22:47]MH_SAM_APDU [13:22:47]CAPDU: 80 0D 01 02 [13:22:47]Write to MH i2c: E2 08 00 E3 20 80 0D 01 02 00 00 00 00 7C [13:22:47]Write i2c OK [13:22:47]MH_I2C_Read... [13:22:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:22:47]Read from MH i2c: E2 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 03 00 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 03 00 E3 20 00 90 00 77 [13:22:47]RAPDU: 90 00 [13:22:47]wFMCommunicate OK [13:22:47]wFMCommunicate request_size=255 [13:22:47]MH_SAM_APDU [13:22:47]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 2D 90 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [13:22:47]Write to MH i2c: E2 02 01 E4 20 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 2D 90 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 78 [13:22:47]Write i2c OK [13:22:47]MH_I2C_Read... [13:22:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:22:47]Read from MH i2c: E2 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 03 00 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 03 00 E4 20 00 90 00 78 [13:22:47]RAPDU: 90 00 [13:22:47]wFMCommunicate OK [13:22:47]wFMCommunicate request_size=32 [13:22:47]MH_SAM_APDU [13:22:47]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 A0 93 00 00 35 04 06 00 A4 0F CF 02 4C 5B [13:22:47]Write to MH i2c: E2 23 00 E5 20 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 A0 93 00 00 35 04 06 00 A4 0F CF 02 4C 5B 00 00 37 [13:22:47]Write i2c OK [13:22:47]MH_I2C_Read... [13:22:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:22:47]Read from MH i2c: E2 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 03 00 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 03 00 E5 20 00 90 00 79 [13:22:47]RAPDU: 90 00 [13:22:47]wFMCommunicate OK [13:22:47]wFMCommunicate request_size=4 [13:22:47]MH_SAM_APDU [13:22:47]CAPDU: 80 0D 03 02 [13:22:47]Write to MH i2c: E2 08 00 E6 20 80 0D 03 02 00 00 00 00 81 [13:22:47]Write i2c OK [13:22:47]MH_I2C_Read... [13:22:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:22:47]Read from MH i2c: E2 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 0B 00 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 0B 00 E6 20 00 5C E9 1A 29 58 B9 4C DC 90 00 43 [13:22:47]RAPDU: 5C E9 1A 29 58 B9 4C DC 90 00 [13:22:47]wFMCommunicate OK [13:22:47]SAM_PROTO_SignData done [13:22:47]FM_MakeSignedData done [13:22:47]CreateOFDProtocolMessage [13:22:47]wFMCommunicate request_size=4 [13:22:47]MH_SAM_APDU [13:22:47]CAPDU: 80 11 00 00 [13:22:47]Write to MH i2c: E2 08 00 E7 20 80 11 00 00 00 00 00 00 81 [13:22:47]Write i2c OK [13:22:47]MH_I2C_Read... [13:22:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:22:47]Read from MH i2c: E2 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 17 00 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 17 00 E7 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D1 [13:22:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:22:47]wFMCommunicate OK [13:22:47]CreateOFDProtocolMessage done [13:22:47]OFDSenderStorePacket 37792 [13:22:47]StoreOFDPacket docnum=37792 [13:22:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 84 FD 1D 01 3F C8 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 2D 90 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A0 93 00 00 35 04 06 00 A4 0F CF 02 4C 5B 5C E9 1A 29 58 B9 4C DC [13:22:47]CheckFolder [13:22:47]dirname=/storage/ofd_packets [13:22:47]CheckFolder done [13:22:47]ProducePacketName [13:22:47]name=ofd_packets/00037792 [13:22:47]NVStorageSaveData ofd_packets/00037792 [13:22:47]File name is /storage/ofd_packets/00037792 [13:22:47]Write 323 bytes [13:22:47]NVStorageSaveData done [13:22:47]OFDSenderStorePacket done [13:22:47]KKMCreateOFDPacket done [13:22:47]NVStorageSaveData kkm_last_timestamp [13:22:47]File name is /storage/kkm_last_timestamp [13:22:47]Write 4 bytes [13:22:47]NVStorageSaveData done [13:22:47]ExternCall_PrintAddStr [13:22:47]wPrintStart [13:22:47]Write to MH i2c: 01 00 00 E8 20 08 [13:22:47]Write i2c OK [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: 01 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: 01 07 00 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: 01 07 00 E8 20 00 00 00 00 00 FF 0F 1D [13:22:47]RasterBufferAndPrint [13:22:47]line Счет N : (3)35091 [13:22:47]line ИНН: 02508201610067 [13:22:47]line Контрольно-Кассовый Чек [13:22:47]line ПРОДАЖА [13:22:47]line Товар: 48743570 [13:22:47]line Сигареты Winston XStyle Blue [13:22:47]line 1.000 * 144.00 [13:22:47]line = 144.00 [13:22:47]line НДС 12% НСП 1% [13:22:47]line > о реализуемом товаре [13:22:47]line ИТОГО: 144.00 [13:22:47]line НСП 1% : 1.27 [13:22:47]line НДС 12% : 15.29 [13:22:47]line Наличными: 144.00 [13:22:47]line Безнал.: 0.00 [13:22:47]line Место: АЗС № 126 "Партнер Нефть" [13:22:47]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:22:47]line СНО: Общий режим [13:22:47]line Чек 35 28.10.2024 13:22 [13:22:47]line Смена: 551 ФФД: 1.0 [13:22:47]line ЗНМ: 0300000092 [13:22:47]line РНМ: 0000000000091684 [13:22:47]line Версия ККМ: 001 [13:22:47]line ФМ: 0000000000871841 [13:22:47]line ФД: 37792 [13:22:47]line ФПД: 180387804499035 [13:22:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T132253&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37792&fm=180387804499035&tin=02508201610067®Number=0000000000091684&sum=14400 [13:22:48]line 0 [13:22:48]OFD Sender: Processing packet 37792 [packets to send 42, broken 41] [13:22:48]ProducePacketName [13:22:48]name=ofd_packets/00037792 [13:22:48]OFD Sender: To server: pG, [13:22:48]CommunicateWithHost lk.salyk.kg:30040 [13:22:48]ConnectInit lk.salyk.kg [13:22:48]written 0, free lines is 4095 [13:22:48]Write to MH i2c: 01 00 00 10 21 31 [13:22:48]Write i2c OK [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: 01 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: 01 07 00 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: 01 07 00 10 21 00 00 00 00 00 BA 0C FE [13:22:48]RasterBufferAndPrint [13:22:48]line [13:22:48]line [13:22:48]line [13:22:48]line [13:22:48]line [13:22:48]written 0, free lines is 3262 [13:22:48]MH_Cut [13:22:48]Write to MH i2c: D1 01 00 17 21 01 0A [13:22:48]Write i2c OK [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: D1 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: D1 01 00 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: D1 01 00 17 21 00 09 [13:22:48]Write to MH i2c: 01 00 00 18 21 39 [13:22:48]Write i2c OK [13:22:48]MH_I2C_Read... [13:22:49]Connected sock=11 [13:22: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 38 34 31 25 01 00 00 84 FD 1D 01 3F C8 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 2D 90 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A0 93 00 00 35 04 06 00 A4 0F CF 02 4C 5B 5C E9 1A 29 58 B9 4C DC [13:22:49]*** Cut start [13:22:49]*** Partial cut [13:22:49]*** CUTSNS_PIN = 1 [13:22:49]*** CUTSNS_PIN = 0 [13:22:49]*** Brake cut motor [13:22:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 62 4F 47 00 45 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 38 34 31 10 04 04 00 A0 93 00 00 F4 03 04 00 23 3B 1F 67 B6 04 01 00 00 03 71 02 AC B0 D4 6E 54 [13:22:49]CommunicateWithHost err = 0 [13:22:49]CheckOFDResponse [13:22:49]1017 (14) - 77093643461234 [13:22:49]1041 (16) - 0000000000871841 [13:22:49]1040 (4) - 37792 [13:22:49]1012 (4) - 28.10.2024 07:20 [13:22:49]1206 (1) - 0 [13:22:49]OFD Sender: Remove packet 37792 [13:22:49]ProducePacketName [13:22:49]name=ofd_packets/00037792 [13:22:49]NVStorageDeleteData [13:22:50]Read from MH i2c: 01 [13:22:50]MH_I2C_Read... [13:22:50]*** Stop cut motor [13:22:50]*** Cut end [13:22:50]Read from MH i2c: 01 07 00 [13:22:50]MH_I2C_Read... [13:22:50]Read from MH i2c: 01 07 00 18 21 00 00 00 00 00 FF 0F 4E [13:22:50]process_action close_receipt done [13:22:50]requested_data is exist [13:22:50]produce_requested_data [13:22:50]requested_item fm.sn is exist - process it [13:22:50]wFMCommunicate request_size=4 [13:22:50]MH_SAM_APDU [13:22:50]CAPDU: 80 11 00 00 [13:22:50]Write to MH i2c: E2 08 00 19 21 80 11 00 00 00 00 00 00 B4 [13:22:50]Write i2c OK [13:22:50]MH_I2C_Read... [13:22:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:22:50]Read from MH i2c: E2 [13:22:50]MH_I2C_Read... [13:22:50]Read from MH i2c: E2 17 00 [13:22:50]MH_I2C_Read... [13:22:50]Read from MH i2c: E2 17 00 19 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 04 [13:22:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:22:50]wFMCommunicate OK [13:22:50]requested_item fd.num is exist - process it [13:22:50]SAM_PROTO_GetFieldsCounters [13:22:50]wFMCommunicate request_size=4 [13:22:50]MH_SAM_APDU [13:22:50]CAPDU: 80 13 00 00 [13:22:50]Write to MH i2c: E2 08 00 1A 21 80 13 00 00 00 00 00 00 B7 [13:22:50]Write i2c OK [13:22:50]MH_I2C_Read... [13:22:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:22:50]Read from MH i2c: E2 [13:22:50]MH_I2C_Read... [13:22:50]Read from MH i2c: E2 62 00 [13:22:50]MH_I2C_Read... [13:22:50]Read from MH i2c: E2 62 00 1A 21 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 A0 93 00 00 0E 04 04 00 27 02 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 9D [13:22: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 A0 93 00 00 0E 04 04 00 27 02 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 [13:22:50]wFMCommunicate OK [13:22:50]SAM_PROTO_GetFieldsCounters done [13:22:50]requested_item shift.num is exist - process it [13:22:50]requested_item shift.opened is exist - process it [13:22:50]req_shift_opened [13:22:50]FM_GetShiftState [13:22:50]SAM_PROTO_GetShiftState [13:22:50]wFMCommunicate request_size=4 [13:22:50]MH_SAM_APDU [13:22:50]CAPDU: 80 13 01 00 [13:22:50]Write to MH i2c: E2 08 00 1B 21 80 13 01 00 00 00 00 00 B9 [13:22:50]Write i2c OK [13:22:50]MH_I2C_Read... [13:22:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:22:50]Read from MH i2c: E2 [13:22:50]MH_I2C_Read... [13:22:50]OFD Sender: No OFD packet to send [13:22:50]Read from MH i2c: E2 0E 00 [13:22:50]MH_I2C_Read... [13:22:50]Read from MH i2c: E2 0E 00 1B 21 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 3B [13:22:50]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [13:22:50]wFMCommunicate OK [13:22:50]SAM_PROTO_GetShiftState done [13:22:50]FM_GetShiftState done [13:22:50]req_shift_opened done [13:22:50]requested_item shift.open_date is exist - process it [13:22:50]req_shift_open_date [13:22:50]req_shift_open_date done [13:22:50]produce_requested_data done [13:22:50]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37792,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [13:22:50]process_action_free close_receipt [13:22:50]json_value_free [13:22:50]json_value_free done [13:22:50]process_json_proto returns [13:22:50]Send response to host [13:22:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37792,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [13:22:50]free response buf [13:22:50]execute_script done [13:22:50]execute_script returns [13:22:50]free content buf [13:22:50]Sock 7.Close socket [13:22:50]Sock 7.Thread stoped [13:22:55]OFD Sender: No OFD packet to send [13:23:00]OFD Sender: No OFD packet to send [13:23:05]OFD Sender: No OFD packet to send [13:23:10]OFD Sender: No OFD packet to send [13:23:15]OFD Sender: No OFD packet to send [13:23:20]OFD Sender: No OFD packet to send [13:23:25]OFD Sender: No OFD packet to send [13:23:30]OFD Sender: No OFD packet to send [13:23:35]OFD Sender: No OFD packet to send [13:23:40]OFD Sender: No OFD packet to send [13:23:45]OFD Sender: No OFD packet to send [13:23:50]OFD Sender: No OFD packet to send [13:23:55]OFD Sender: No OFD packet to send [13:24:00]OFD Sender: No OFD packet to send [13:24:05]OFD Sender: No OFD packet to send [13:24:10]OFD Sender: No OFD packet to send [13:24:15]OFD Sender: No OFD packet to send [13:24:20]OFD Sender: No OFD packet to send [13:24:25]OFD Sender: No OFD packet to send [13:24:30]OFD Sender: No OFD packet to send [13:24:34]accept exits with 9 [13:24:34]New connection [13:24:34]New thread 3067440484 created [13:24:34]Thread 3067297124 joined [13:24:34]Waiting for new connection... [13:24:34] Sock 9.Parse request [13:24:34]Sock 9.Check first char [13:24:34]Sock 9.First char is OK [13:24:34]request: POST /json_proto HTTP/1.0 [13:24:34]Method: POST [13:24:34]URL: /json_proto [13:24:34]Method is POST - this is cgi request [13:24:34]url: /json_proto [13:24:34]query_string will be loaded in cgi processing [13:24:34]execute_cgi json_proto POST (null) [13:24:34]execute_cgi path=json_proto method=POST [13:24:34]POST find Content-Length [13:24:34]Host: 172.17.40.196:8080 [13:24:34]Content-Length: 695 [13:24:34]Content-Type: application/json [13:24:34] [13:24:34]POST finish read [13:24:34]Found Content-Length = 695 [13:24:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35092", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:24:34]execute_script... [13:24: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)35092", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:24:34]POST & json_proto [13:24:34]process_json_proto [13:24:34]json parsed OK: [13:24:34]protocol is kg_v1.0 [13:24:34]action value=close_receipt [13:24:34]process_action close_receipt [13:24:34]cmd_close_receipt [13:24:34]MH_GetDate [13:24:34]Write to MH i2c: F0 00 00 1C 21 2C [13:24:34]Write i2c OK [13:24:34]MH_I2C_Read... [13:24:34]Read from MH i2c: F0 [13:24:34]MH_I2C_Read... [13:24:34]Read from MH i2c: F0 09 00 [13:24:34]MH_I2C_Read... [13:24:34]Read from MH i2c: F0 09 00 1C 21 00 99 90 1F 67 5B 68 A1 66 AE [13:24:34]GetLastDocTimeStamp 1730121773 [13:24:34]current date 1730121881 [13:24:34]FM_GetShiftState [13:24:34]SAM_PROTO_GetShiftState [13:24:34]wFMCommunicate request_size=4 [13:24:34]MH_SAM_APDU [13:24:34]CAPDU: 80 13 01 00 [13:24:34]Write to MH i2c: E2 08 00 1D 21 80 13 01 00 00 00 00 00 BB [13:24:34]Write i2c OK [13:24:34]MH_I2C_Read... [13:24:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:24:34]Read from MH i2c: E2 [13:24:34]MH_I2C_Read... [13:24:34]Read from MH i2c: E2 0E 00 [13:24:34]MH_I2C_Read... [13:24:34]Read from MH i2c: E2 0E 00 1D 21 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 3D [13:24:34]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [13:24:34]wFMCommunicate OK [13:24:34]SAM_PROTO_GetShiftState done [13:24:34]FM_GetShiftState done [13:24:34]opened in 1730073884 [13:24:34]opened+sec_in_day 1730160284 [13:24:34]quantity*price = 9500 [13:24:34]sum+1 = 9501 [13:24:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 36 28.10.2024 13:24 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37793 ФПД: 162568674317200 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T132441&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37793&fm=162568674317200&tin=02508201610067®Number=0000000000091684&sum=9500 0 [13:24:35]StoreToDocumentArchive [13:24:35]shift 551 fd 37793 [13:24:35]save to /storage/0551/doc_00037793 [13:24:35]save last doc name /storage/0551/doc_00037793 to /storage/kkm_last_doc_name [13:24:35]save OK [13:24:35]Clear old archive folders... [13:24:35]ProcessDocumentItem done err = 0, tmpTLVsize=299 [13:24:35]tlvbuf is 0025BA00 [13:24:35]SAM_PROTO_ClearQueue [13:24:35]wFMCommunicate request_size=4 [13:24:35]MH_SAM_APDU [13:24:35]CAPDU: 80 09 00 00 [13:24:35]Write to MH i2c: E2 08 00 2A 21 80 09 00 00 00 00 00 00 BD [13:24:35]Write i2c OK [13:24:35]MH_I2C_Read... [13:24:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:24:35]Read from MH i2c: E2 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 03 00 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 03 00 2A 21 00 90 00 BF [13:24:35]RAPDU: 90 00 [13:24:35]wFMCommunicate OK [13:24:35]SAM_PROTO_ClearQueue done [13:24:35]KKMCreateOFDPacket [13:24:35]OFDProtocolAddRootSTLVToBuf [13:24:35]FM_MakeSignedData [13:24:35]FM_MakeSignedData [13:24:35]SAM_PROTO_SignData [13:24:35]wFMCommunicate request_size=4 [13:24:35]MH_SAM_APDU [13:24:35]CAPDU: 80 0D 01 02 [13:24:35]Write to MH i2c: E2 08 00 2B 21 80 0D 01 02 00 00 00 00 C5 [13:24:35]Write i2c OK [13:24:35]MH_I2C_Read... [13:24:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:24:35]Read from MH i2c: E2 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 03 00 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 03 00 2B 21 00 90 00 C0 [13:24:35]RAPDU: 90 00 [13:24:35]wFMCommunicate OK [13:24:35]wFMCommunicate request_size=255 [13:24:35]MH_SAM_APDU [13:24:35]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 99 90 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 [13:24:35]Write to MH i2c: E2 02 01 2C 21 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 99 90 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 F2 [13:24:35]Write i2c OK [13:24:35]MH_I2C_Read... [13:24:35]OFD Sender: No OFD packet to send [13:24:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:24:35]Read from MH i2c: E2 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 03 00 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 03 00 2C 21 00 90 00 C1 [13:24:35]RAPDU: 90 00 [13:24:35]wFMCommunicate OK [13:24:35]wFMCommunicate request_size=58 [13:24:35]MH_SAM_APDU [13:24:35]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A1 93 00 00 35 04 06 00 93 DA F8 15 93 90 [13:24:35]Write to MH i2c: E2 3D 00 2D 21 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A1 93 00 00 35 04 06 00 93 DA F8 15 93 90 00 00 88 [13:24:35]Write i2c OK [13:24:35]MH_I2C_Read... [13:24:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:24:35]Read from MH i2c: E2 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 03 00 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 03 00 2D 21 00 90 00 C2 [13:24:35]RAPDU: 90 00 [13:24:35]wFMCommunicate OK [13:24:35]wFMCommunicate request_size=4 [13:24:35]MH_SAM_APDU [13:24:35]CAPDU: 80 0D 03 02 [13:24:35]Write to MH i2c: E2 08 00 2E 21 80 0D 03 02 00 00 00 00 CA [13:24:35]Write i2c OK [13:24:35]MH_I2C_Read... [13:24:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:24:35]Read from MH i2c: E2 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 0B 00 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 0B 00 2E 21 00 2B 82 B5 8E B5 21 A2 80 90 00 B3 [13:24:35]RAPDU: 2B 82 B5 8E B5 21 A2 80 90 00 [13:24:35]wFMCommunicate OK [13:24:35]SAM_PROTO_SignData done [13:24:35]FM_MakeSignedData done [13:24:35]CreateOFDProtocolMessage [13:24:35]wFMCommunicate request_size=4 [13:24:35]MH_SAM_APDU [13:24:35]CAPDU: 80 11 00 00 [13:24:35]Write to MH i2c: E2 08 00 2F 21 80 11 00 00 00 00 00 00 CA [13:24:35]Write i2c OK [13:24:35]MH_I2C_Read... [13:24:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:24:35]Read from MH i2c: E2 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 17 00 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: E2 17 00 2F 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 1A [13:24:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:24:35]wFMCommunicate OK [13:24:35]CreateOFDProtocolMessage done [13:24:35]OFDSenderStorePacket 37793 [13:24:35]StoreOFDPacket docnum=37793 [13:24:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3F 01 00 00 0C 1E 37 01 17 DE 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 99 90 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A1 93 00 00 35 04 06 00 93 DA F8 15 93 90 2B 82 B5 8E B5 21 A2 80 [13:24:35]CheckFolder [13:24:35]dirname=/storage/ofd_packets [13:24:35]CheckFolder done [13:24:35]ProducePacketName [13:24:35]name=ofd_packets/00037793 [13:24:35]NVStorageSaveData ofd_packets/00037793 [13:24:35]File name is /storage/ofd_packets/00037793 [13:24:35]Write 349 bytes [13:24:35]NVStorageSaveData done [13:24:35]OFDSenderStorePacket done [13:24:35]KKMCreateOFDPacket done [13:24:35]NVStorageSaveData kkm_last_timestamp [13:24:35]File name is /storage/kkm_last_timestamp [13:24:35]Write 4 bytes [13:24:35]NVStorageSaveData done [13:24:35]ExternCall_PrintAddStr [13:24:35]wPrintStart [13:24:35]Write to MH i2c: 01 00 00 30 21 51 [13:24:35]Write i2c OK [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: 01 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: 01 07 00 [13:24:35]MH_I2C_Read... [13:24:35]Read from MH i2c: 01 07 00 30 21 00 00 00 00 00 FF 0F 66 [13:24:35]RasterBufferAndPrint [13:24:35]line Счет N : (3)35092 [13:24:35]line ИНН: 02508201610067 [13:24:35]line Контрольно-Кассовый Чек [13:24:35]line ПРОДАЖА [13:24:35]line Товар: 4700000480364 [13:24:35]line Напиток энерг Nitro экзотик 0.45 ж/б [13:24:35]line 1.000 * 95.00 [13:24:35]line = 95.00 [13:24:35]line НДС 12% НСП 1% [13:24:35]line > о реализуемом товаре [13:24:35]line ИТОГО: 95.00 [13:24:35]line НСП 1% : 0.84 [13:24:35]line НДС 12% : 10.09 [13:24:35]line Наличными: 95.00 [13:24:35]line Безнал.: 0.00 [13:24:35]line Место: АЗС № 126 "Партнер Нефть" [13:24:35]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:24:35]line СНО: Общий режим [13:24:35]line Чек 36 28.10.2024 13:24 [13:24:35]line Смена: 551 ФФД: 1.0 [13:24:35]line ЗНМ: 0300000092 [13:24:35]line РНМ: 0000000000091684 [13:24:35]line Версия ККМ: 001 [13:24:35]line ФМ: 0000000000871841 [13:24:35]line ФД: 37793 [13:24:35]line ФПД: 162568674317200 [13:24:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T132441&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37793&fm=162568674317200&tin=02508201610067®Number=0000000000091684&sum=9500 [13:24:36]line 0 [13:24:36]OFD Sender: Processing packet 37793 [packets to send 42, broken 41] [13:24:36]ProducePacketName [13:24:36]name=ofd_packets/00037793 [13:24:36]OFD Sender: To server: pG, [13:24:36]CommunicateWithHost lk.salyk.kg:30040 [13:24:36]ConnectInit lk.salyk.kg [13:24:36]written 0, free lines is 4095 [13:24:36]Write to MH i2c: 01 00 00 59 21 7A [13:24:36]Write i2c OK [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: 01 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: 01 07 00 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: 01 07 00 59 21 00 00 00 00 00 B0 0C 3D [13:24:36]RasterBufferAndPrint [13:24:36]line [13:24:36]line [13:24:36]line [13:24:36]line [13:24:36]line [13:24:36]written 0, free lines is 3252 [13:24:36]MH_Cut [13:24:36]Write to MH i2c: D1 01 00 60 21 01 53 [13:24:36]Write i2c OK [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: D1 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: D1 01 00 [13:24:36]MH_I2C_Read... [13:24:36]Read from MH i2c: D1 01 00 60 21 00 52 [13:24:36]Write to MH i2c: 01 00 00 61 21 82 [13:24:36]Write i2c OK [13:24:36]MH_I2C_Read... [13:24:37]*** Cut start [13:24:37]*** Partial cut [13:24:37]*** CUTSNS_PIN = 1 [13:24:37]*** CUTSNS_PIN = 0 [13:24:37]*** Brake cut motor [13:24:38]Read from MH i2c: 01 [13:24:38]MH_I2C_Read... [13:24:38]*** Stop cut motor [13:24:38]*** Cut end [13:24:38]Read from MH i2c: 01 07 00 [13:24:38]MH_I2C_Read... [13:24:38]Read from MH i2c: 01 07 00 61 21 00 00 00 00 00 FF 0F 97 [13:24:38]process_action close_receipt done [13:24:38]requested_data is exist [13:24:38]produce_requested_data [13:24:38]requested_item fm.sn is exist - process it [13:24:38]wFMCommunicate request_size=4 [13:24:38]MH_SAM_APDU [13:24:38]CAPDU: 80 11 00 00 [13:24:38]Write to MH i2c: E2 08 00 62 21 80 11 00 00 00 00 00 00 FD [13:24:38]Write i2c OK [13:24:38]MH_I2C_Read... [13:24:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:24:38]Read from MH i2c: E2 [13:24:38]MH_I2C_Read... [13:24:38]Read from MH i2c: E2 17 00 [13:24:38]MH_I2C_Read... [13:24:38]Read from MH i2c: E2 17 00 62 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4D [13:24:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:24:38]wFMCommunicate OK [13:24:38]requested_item fd.num is exist - process it [13:24:38]SAM_PROTO_GetFieldsCounters [13:24:38]wFMCommunicate request_size=4 [13:24:38]MH_SAM_APDU [13:24:38]CAPDU: 80 13 00 00 [13:24:38]Write to MH i2c: E2 08 00 63 21 80 13 00 00 00 00 00 00 00 [13:24:38]Write i2c OK [13:24:38]MH_I2C_Read... [13:24:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:24:38]Read from MH i2c: E2 [13:24:38]MH_I2C_Read... [13:24:38]Read from MH i2c: E2 62 00 [13:24:38]MH_I2C_Read... [13:24:38]Read from MH i2c: E2 62 00 63 21 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 A1 93 00 00 0E 04 04 00 27 02 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 EA [13:24: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 A1 93 00 00 0E 04 04 00 27 02 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 [13:24:38]wFMCommunicate OK [13:24:38]SAM_PROTO_GetFieldsCounters done [13:24:38]requested_item shift.num is exist - process it [13:24:38]requested_item shift.opened is exist - process it [13:24:38]req_shift_opened [13:24:38]FM_GetShiftState [13:24:38]SAM_PROTO_GetShiftState [13:24:38]wFMCommunicate request_size=4 [13:24:38]MH_SAM_APDU [13:24:38]CAPDU: 80 13 01 00 [13:24:38]Write to MH i2c: E2 08 00 64 21 80 13 01 00 00 00 00 00 02 [13:24:38]Write i2c OK [13:24:38]MH_I2C_Read... [13:24:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:24:38]Read from MH i2c: E2 [13:24:38]MH_I2C_Read... [13:24:38]Read from MH i2c: E2 0E 00 [13:24:38]MH_I2C_Read... [13:24:38]Read from MH i2c: E2 0E 00 64 21 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 84 [13:24:38]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [13:24:38]wFMCommunicate OK [13:24:38]SAM_PROTO_GetShiftState done [13:24:38]FM_GetShiftState done [13:24:38]req_shift_opened done [13:24:38]requested_item shift.open_date is exist - process it [13:24:38]req_shift_open_date [13:24:38]req_shift_open_date done [13:24:38]produce_requested_data done [13:24:38]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37793,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [13:24:38]process_action_free close_receipt [13:24:38]json_value_free [13:24:38]json_value_free done [13:24:38]process_json_proto returns [13:24:38]Send response to host [13:24:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37793,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [13:24:38]free response buf [13:24:38]execute_script done [13:24:38]execute_script returns [13:24:38]free content buf [13:24:38]Sock 9.Close socket [13:24:38]Sock 9.Thread stoped [13:24:38]Connected sock=7 [13:24: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 38 34 31 3F 01 00 00 0C 1E 37 01 17 DE 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 99 90 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A1 93 00 00 35 04 06 00 93 DA F8 15 93 90 2B 82 B5 8E B5 21 A2 80 [13:24:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 DF 4F 47 00 C0 F3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A1 93 00 00 F4 03 04 00 90 3B 1F 67 B6 04 01 00 00 81 3B 25 A9 63 3F E5 E5 [13:24:38]CommunicateWithHost err = 0 [13:24:38]CheckOFDResponse [13:24:38]1017 (14) - 77093643461234 [13:24:38]1041 (16) - 0000000000871841 [13:24:38]1040 (4) - 37793 [13:24:38]1012 (4) - 28.10.2024 07:21 [13:24:38]1206 (1) - 0 [13:24:38]OFD Sender: Remove packet 37793 [13:24:38]ProducePacketName [13:24:38]name=ofd_packets/00037793 [13:24:38]NVStorageDeleteData [13:24:39]OFD Sender: No OFD packet to send [13:24:44]OFD Sender: No OFD packet to send [13:24:49]OFD Sender: No OFD packet to send [13:24:54]OFD Sender: No OFD packet to send [13:24:59]OFD Sender: No OFD packet to send [13:25:04]OFD Sender: No OFD packet to send [13:25:09]OFD Sender: No OFD packet to send [13:25:14]OFD Sender: No OFD packet to send [13:25:19]OFD Sender: No OFD packet to send [13:25:24]OFD Sender: No OFD packet to send [13:25:29]OFD Sender: No OFD packet to send [13:25:34]OFD Sender: No OFD packet to send [13:25:39]OFD Sender: No OFD packet to send [13:25:44]OFD Sender: No OFD packet to send [13:25:49]OFD Sender: No OFD packet to send [13:25:54]OFD Sender: No OFD packet to send [13:25:59]OFD Sender: No OFD packet to send [13:26:04]OFD Sender: No OFD packet to send [13:26:09]OFD Sender: No OFD packet to send [13:26:14]OFD Sender: No OFD packet to send [13:26:19]OFD Sender: No OFD packet to send [13:26:24]OFD Sender: No OFD packet to send [13:26:29]OFD Sender: No OFD packet to send [13:26:34]OFD Sender: No OFD packet to send [13:26:39]OFD Sender: No OFD packet to send [13:26:44]OFD Sender: No OFD packet to send [13:26:49]OFD Sender: No OFD packet to send [13:26:54]OFD Sender: No OFD packet to send [13:26:59]OFD Sender: No OFD packet to send [13:27:04]OFD Sender: No OFD packet to send [13:27:09]OFD Sender: No OFD packet to send [13:27:14]OFD Sender: No OFD packet to send [13:27:19]OFD Sender: No OFD packet to send [13:27:24]OFD Sender: No OFD packet to send [13:27:29]OFD Sender: No OFD packet to send [13:27:34]OFD Sender: No OFD packet to send [13:27:39]OFD Sender: No OFD packet to send [13:27:44]OFD Sender: No OFD packet to send [13:27:49]OFD Sender: No OFD packet to send [13:27:54]OFD Sender: No OFD packet to send [13:27:59]OFD Sender: No OFD packet to send [13:28:04]OFD Sender: No OFD packet to send [13:28:09]OFD Sender: No OFD packet to send [13:28:14]OFD Sender: No OFD packet to send [13:28:19]OFD Sender: No OFD packet to send [13:28:24]OFD Sender: No OFD packet to send [13:28:29]OFD Sender: No OFD packet to send [13:28:34]OFD Sender: No OFD packet to send [13:28:39]OFD Sender: No OFD packet to send [13:28:44]OFD Sender: No OFD packet to send [13:28:49]OFD Sender: No OFD packet to send [13:28:54]OFD Sender: No OFD packet to send [13:28:59]OFD Sender: No OFD packet to send [13:29:04]OFD Sender: No OFD packet to send [13:29:09]OFD Sender: No OFD packet to send [13:29:14]OFD Sender: No OFD packet to send [13:29:19]OFD Sender: No OFD packet to send [13:29:24]OFD Sender: No OFD packet to send [13:29:29]OFD Sender: No OFD packet to send [13:29:34]OFD Sender: No OFD packet to send [13:29:39]OFD Sender: No OFD packet to send [13:29:44]OFD Sender: No OFD packet to send [13:29:49]OFD Sender: No OFD packet to send [13:29:54]OFD Sender: No OFD packet to send [13:29:59]OFD Sender: No OFD packet to send [13:30:04]OFD Sender: No OFD packet to send [13:30:09]OFD Sender: No OFD packet to send [13:30:14]OFD Sender: No OFD packet to send [13:30:19]OFD Sender: No OFD packet to send [13:30:24]OFD Sender: No OFD packet to send [13:30:29]OFD Sender: No OFD packet to send [13:30:34]OFD Sender: No OFD packet to send [13:30:39]OFD Sender: No OFD packet to send [13:30:44]OFD Sender: No OFD packet to send [13:30:49]OFD Sender: No OFD packet to send [13:30:54]OFD Sender: No OFD packet to send [13:30:59]OFD Sender: No OFD packet to send [13:31:04]OFD Sender: No OFD packet to send [13:31:09]OFD Sender: No OFD packet to send [13:31:14]OFD Sender: No OFD packet to send [13:31:19]OFD Sender: No OFD packet to send [13:31:24]OFD Sender: No OFD packet to send [13:31:29]OFD Sender: No OFD packet to send [13:31:34]OFD Sender: No OFD packet to send [13:31:39]OFD Sender: No OFD packet to send [13:31:44]OFD Sender: No OFD packet to send [13:31:49]OFD Sender: No OFD packet to send [13:31:54]OFD Sender: No OFD packet to send [13:31:59]OFD Sender: No OFD packet to send [13:32:04]OFD Sender: No OFD packet to send [13:32:09]OFD Sender: No OFD packet to send [13:32:14]OFD Sender: No OFD packet to send [13:32:19]OFD Sender: No OFD packet to send [13:32:24]OFD Sender: No OFD packet to send [13:32:29]OFD Sender: No OFD packet to send [13:32:34]OFD Sender: No OFD packet to send [13:32:39]OFD Sender: No OFD packet to send [13:32:44]OFD Sender: No OFD packet to send [13:32:49]OFD Sender: No OFD packet to send [13:32:54]OFD Sender: No OFD packet to send [13:32:59]OFD Sender: No OFD packet to send [13:33:04]OFD Sender: No OFD packet to send [13:33:09]OFD Sender: No OFD packet to send [13:33:14]OFD Sender: No OFD packet to send [13:33:19]OFD Sender: No OFD packet to send [13:33:24]OFD Sender: No OFD packet to send [13:33:29]OFD Sender: No OFD packet to send [13:33:34]OFD Sender: No OFD packet to send [13:33:39]OFD Sender: No OFD packet to send [13:33:44]OFD Sender: No OFD packet to send [13:33:49]OFD Sender: No OFD packet to send [13:33:54]OFD Sender: No OFD packet to send [13:33:59]OFD Sender: No OFD packet to send [13:34:04]OFD Sender: No OFD packet to send [13:34:09]OFD Sender: No OFD packet to send [13:34:14]OFD Sender: No OFD packet to send [13:34:19]OFD Sender: No OFD packet to send [13:34:24]OFD Sender: No OFD packet to send [13:34:29]OFD Sender: No OFD packet to send [13:34:34]OFD Sender: No OFD packet to send [13:34:39]OFD Sender: No OFD packet to send [13:34:44]OFD Sender: No OFD packet to send [13:34:49]OFD Sender: No OFD packet to send [13:34:54]OFD Sender: No OFD packet to send [13:34:59]OFD Sender: No OFD packet to send [13:35:04]OFD Sender: No OFD packet to send [13:35:09]OFD Sender: No OFD packet to send [13:35:14]OFD Sender: No OFD packet to send [13:35:19]OFD Sender: No OFD packet to send [13:35:24]OFD Sender: No OFD packet to send [13:35:29]OFD Sender: No OFD packet to send [13:35:34]OFD Sender: No OFD packet to send [13:35:39]OFD Sender: No OFD packet to send [13:35:44]OFD Sender: No OFD packet to send [13:35:49]OFD Sender: No OFD packet to send [13:35:54]OFD Sender: No OFD packet to send [13:35:59]OFD Sender: No OFD packet to send [13:36:04]OFD Sender: No OFD packet to send [13:36:09]OFD Sender: No OFD packet to send [13:36:14]OFD Sender: No OFD packet to send [13:36:19]OFD Sender: No OFD packet to send [13:36:24]OFD Sender: No OFD packet to send [13:36:29]OFD Sender: No OFD packet to send [13:36:34]OFD Sender: No OFD packet to send [13:36:39]OFD Sender: No OFD packet to send [13:36:45]OFD Sender: No OFD packet to send [13:36:50]OFD Sender: No OFD packet to send [13:36:55]OFD Sender: No OFD packet to send [13:37:00]OFD Sender: No OFD packet to send [13:37:05]OFD Sender: No OFD packet to send [13:37:10]OFD Sender: No OFD packet to send [13:37:15]OFD Sender: No OFD packet to send [13:37:20]OFD Sender: No OFD packet to send [13:37:25]OFD Sender: No OFD packet to send [13:37:30]OFD Sender: No OFD packet to send [13:37:35]OFD Sender: No OFD packet to send [13:37:40]OFD Sender: No OFD packet to send [13:37:45]OFD Sender: No OFD packet to send [13:37:50]OFD Sender: No OFD packet to send [13:37:55]OFD Sender: No OFD packet to send [13:38:00]OFD Sender: No OFD packet to send [13:38:05]OFD Sender: No OFD packet to send [13:38:10]OFD Sender: No OFD packet to send [13:38:15]OFD Sender: No OFD packet to send [13:38:20]OFD Sender: No OFD packet to send [13:38:25]OFD Sender: No OFD packet to send [13:38:30]OFD Sender: No OFD packet to send [13:38:35]OFD Sender: No OFD packet to send [13:38:40]OFD Sender: No OFD packet to send [13:38:45]OFD Sender: No OFD packet to send [13:38:50]OFD Sender: No OFD packet to send [13:38:55]OFD Sender: No OFD packet to send [13:39:00]OFD Sender: No OFD packet to send [13:39:05]OFD Sender: No OFD packet to send [13:39:10]OFD Sender: No OFD packet to send [13:39:15]OFD Sender: No OFD packet to send [13:39:20]OFD Sender: No OFD packet to send [13:39:25]OFD Sender: No OFD packet to send [13:39:30]OFD Sender: No OFD packet to send [13:39:35]OFD Sender: No OFD packet to send [13:39:40]OFD Sender: No OFD packet to send [13:39:45]OFD Sender: No OFD packet to send [13:39:50]OFD Sender: No OFD packet to send [13:39:55]OFD Sender: No OFD packet to send [13:40:00]OFD Sender: No OFD packet to send [13:40:05]OFD Sender: No OFD packet to send [13:40:10]OFD Sender: No OFD packet to send [13:40:15]OFD Sender: No OFD packet to send [13:40:20]OFD Sender: No OFD packet to send [13:40:25]OFD Sender: No OFD packet to send [13:40:30]OFD Sender: No OFD packet to send [13:40:35]OFD Sender: No OFD packet to send [13:40:40]OFD Sender: No OFD packet to send [13:40:45]OFD Sender: No OFD packet to send [13:40:50]OFD Sender: No OFD packet to send [13:40:55]OFD Sender: No OFD packet to send [13:41:00]OFD Sender: No OFD packet to send [13:41:05]OFD Sender: No OFD packet to send [13:41:10]OFD Sender: No OFD packet to send [13:41:15]OFD Sender: No OFD packet to send [13:41:20]OFD Sender: No OFD packet to send [13:41:25]OFD Sender: No OFD packet to send [13:41:30]OFD Sender: No OFD packet to send [13:41:35]OFD Sender: No OFD packet to send [13:41:40]OFD Sender: No OFD packet to send [13:41:45]OFD Sender: No OFD packet to send [13:41:50]OFD Sender: No OFD packet to send [13:41:55]OFD Sender: No OFD packet to send [13:42:00]OFD Sender: No OFD packet to send [13:42:05]OFD Sender: No OFD packet to send [13:42:10]OFD Sender: No OFD packet to send [13:42:15]OFD Sender: No OFD packet to send [13:42:20]OFD Sender: No OFD packet to send [13:42:25]OFD Sender: No OFD packet to send [13:42:30]OFD Sender: No OFD packet to send [13:42:35]OFD Sender: No OFD packet to send [13:42:40]OFD Sender: No OFD packet to send [13:42:45]OFD Sender: No OFD packet to send [13:42:50]OFD Sender: No OFD packet to send [13:42:55]OFD Sender: No OFD packet to send [13:43:00]OFD Sender: No OFD packet to send [13:43:05]OFD Sender: No OFD packet to send [13:43:10]OFD Sender: No OFD packet to send [13:43:15]OFD Sender: No OFD packet to send [13:43:20]OFD Sender: No OFD packet to send [13:43:25]OFD Sender: No OFD packet to send [13:43:30]OFD Sender: No OFD packet to send [13:43:35]OFD Sender: No OFD packet to send [13:43:40]OFD Sender: No OFD packet to send [13:43:45]OFD Sender: No OFD packet to send [13:43:50]OFD Sender: No OFD packet to send [13:43:55]OFD Sender: No OFD packet to send [13:44:00]OFD Sender: No OFD packet to send [13:44:05]OFD Sender: No OFD packet to send [13:44:10]OFD Sender: No OFD packet to send [13:44:15]OFD Sender: No OFD packet to send [13:44:20]OFD Sender: No OFD packet to send [13:44:25]OFD Sender: No OFD packet to send [13:44:30]OFD Sender: No OFD packet to send [13:44:35]OFD Sender: No OFD packet to send [13:44:40]OFD Sender: No OFD packet to send [13:44:45]OFD Sender: No OFD packet to send [13:44:50]OFD Sender: No OFD packet to send [13:44:55]OFD Sender: No OFD packet to send [13:45:00]OFD Sender: No OFD packet to send [13:45:05]OFD Sender: No OFD packet to send [13:45:10]OFD Sender: No OFD packet to send [13:45:15]OFD Sender: No OFD packet to send [13:45:20]OFD Sender: No OFD packet to send [13:45:25]OFD Sender: No OFD packet to send [13:45:30]OFD Sender: No OFD packet to send [13:45:35]OFD Sender: No OFD packet to send [13:45:40]OFD Sender: No OFD packet to send [13:45:45]OFD Sender: No OFD packet to send [13:45:50]OFD Sender: No OFD packet to send [13:45:55]OFD Sender: No OFD packet to send [13:46:00]OFD Sender: No OFD packet to send [13:46:05]OFD Sender: No OFD packet to send [13:46:10]OFD Sender: No OFD packet to send [13:46:15]OFD Sender: No OFD packet to send [13:46:20]OFD Sender: No OFD packet to send [13:46:25]OFD Sender: No OFD packet to send [13:46:30]OFD Sender: No OFD packet to send [13:46:35]OFD Sender: No OFD packet to send [13:46:40]OFD Sender: No OFD packet to send [13:46:45]OFD Sender: No OFD packet to send [13:46:50]OFD Sender: No OFD packet to send [13:46:55]OFD Sender: No OFD packet to send [13:47:00]OFD Sender: No OFD packet to send [13:47:05]OFD Sender: No OFD packet to send [13:47:10]OFD Sender: No OFD packet to send [13:47:15]OFD Sender: No OFD packet to send [13:47:20]OFD Sender: No OFD packet to send [13:47:25]OFD Sender: No OFD packet to send [13:47:30]OFD Sender: No OFD packet to send [13:47:35]OFD Sender: No OFD packet to send [13:47:40]OFD Sender: No OFD packet to send [13:47:45]OFD Sender: No OFD packet to send [13:47:50]OFD Sender: No OFD packet to send [13:47:55]OFD Sender: No OFD packet to send [13:48:00]OFD Sender: No OFD packet to send [13:48:05]OFD Sender: No OFD packet to send [13:48:10]OFD Sender: No OFD packet to send [13:48:15]OFD Sender: No OFD packet to send [13:48:20]OFD Sender: No OFD packet to send [13:48:25]OFD Sender: No OFD packet to send [13:48:30]OFD Sender: No OFD packet to send [13:48:35]OFD Sender: No OFD packet to send [13:48:40]OFD Sender: No OFD packet to send [13:48:45]OFD Sender: No OFD packet to send [13:48:50]OFD Sender: No OFD packet to send [13:48:55]OFD Sender: No OFD packet to send [13:49:00]OFD Sender: No OFD packet to send [13:49:05]OFD Sender: No OFD packet to send [13:49:10]OFD Sender: No OFD packet to send [13:49:15]OFD Sender: No OFD packet to send [13:49:20]OFD Sender: No OFD packet to send [13:49:25]OFD Sender: No OFD packet to send [13:49:30]OFD Sender: No OFD packet to send [13:49:35]OFD Sender: No OFD packet to send [13:49:39]accept exits with 10 [13:49:39]New connection [13:49:39]New thread 3067297124 created [13:49:39]Thread 3067440484 joined [13:49:39]Waiting for new connection... [13:49:39] Sock 10.Parse request [13:49:39]Sock 10.Check first char [13:49:39]Sock 10.First char is OK [13:49:39]request: POST /json_proto HTTP/1.0 [13:49:39]Method: POST [13:49:39]URL: /json_proto [13:49:39]Method is POST - this is cgi request [13:49:39]url: /json_proto [13:49:39]query_string will be loaded in cgi processing [13:49:39]execute_cgi json_proto POST (null) [13:49:39]execute_cgi path=json_proto method=POST [13:49:39]POST find Content-Length [13:49:39]Host: 172.17.40.196:8080 [13:49:39]Content-Length: 1321 [13:49:39]Content-Type: application/json [13:49:39] [13:49:39]POST finish read [13:49:39]Found Content-Length = 1321 [13:49:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35093", "tax_sys" : 0, "items" : [ { "code": "4700003010032", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \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": "4607010740191", "name": "\u0421\u0443\u0445 \u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 \u0441\u0430\u043B\u044F\u043C\u0438 40\u0433", "price" : 21.00, "quantity" : 2.000, "sum" : 42.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 137.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:49:39]execute_script... [13:49:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35093", "tax_sys" : 0, "items" : [ { "code": "4700003010032", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \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": "4607010740191", "name": "\u0421\u0443\u0445 \u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 \u0441\u0430\u043B\u044F\u043C\u0438 40\u0433", "price" : 21.00, "quantity" : 2.000, "sum" : 42.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 137.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:49:39]POST & json_proto [13:49:39]process_json_proto [13:49:39]json parsed OK: [13:49:39]protocol is kg_v1.0 [13:49:39]action value=close_receipt [13:49:39]process_action close_receipt [13:49:39]cmd_close_receipt [13:49:39]MH_GetDate [13:49:39]Write to MH i2c: F0 00 00 65 21 75 [13:49:39]Write i2c OK [13:49:39]MH_I2C_Read... [13:49:39]Read from MH i2c: F0 [13:49:39]MH_I2C_Read... [13:49:39]Read from MH i2c: F0 09 00 [13:49:39]MH_I2C_Read... [13:49:39]Read from MH i2c: F0 09 00 65 21 00 7B 96 1F 67 5B 68 A1 66 DF [13:49:39]GetLastDocTimeStamp 1730121881 [13:49:39]current date 1730123387 [13:49:39]FM_GetShiftState [13:49:39]SAM_PROTO_GetShiftState [13:49:39]wFMCommunicate request_size=4 [13:49:39]MH_SAM_APDU [13:49:39]CAPDU: 80 13 01 00 [13:49:39]Write to MH i2c: E2 08 00 66 21 80 13 01 00 00 00 00 00 04 [13:49:39]Write i2c OK [13:49:39]MH_I2C_Read... [13:49:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:49:39]Read from MH i2c: E2 [13:49:39]MH_I2C_Read... [13:49:39]Read from MH i2c: E2 0E 00 [13:49:39]MH_I2C_Read... [13:49:39]Read from MH i2c: E2 0E 00 66 21 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 86 [13:49:39]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [13:49:39]wFMCommunicate OK [13:49:39]SAM_PROTO_GetShiftState done [13:49:39]FM_GetShiftState done [13:49:39]opened in 1730073884 [13:49:39]opened+sec_in_day 1730160284 [13:49:39]quantity*price = 5000 [13:49:39]sum+1 = 5001 [13:49:39]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607010740191 Сух Кириешки салями 40г 2.000 * 21.00 = 42.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 42113270 Жев Orbit арбуз 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 137.00 НСП 1% : 1.21 НДС 12% : 14.55 Наличными: 0.00 Безнал.: 137.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 37 28.10.2024 13:49 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37794 ФПД: 278291806825507 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T134947&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37794&fm=278291806825507&tin=02508201610067®Number=0000000000091684&sum=13700 0 [13:49:40]StoreToDocumentArchive [13:49:40]shift 551 fd 37794 [13:49:40]save to /storage/0551/doc_00037794 [13:49:40]save last doc name /storage/0551/doc_00037794 to /storage/kkm_last_doc_name [13:49:40]save OK [13:49:40]Clear old archive folders... [13:49:40]ProcessDocumentItem done err = 0, tmpTLVsize=501 [13:49:40]tlvbuf is 0025B600 [13:49:40]SAM_PROTO_ClearQueue [13:49:40]wFMCommunicate request_size=4 [13:49:40]MH_SAM_APDU [13:49:40]CAPDU: 80 09 00 00 [13:49:40]Write to MH i2c: E2 08 00 73 21 80 09 00 00 00 00 00 00 06 [13:49:40]Write i2c OK [13:49:40]MH_I2C_Read... [13:49:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:49:40]Read from MH i2c: E2 [13:49:40]MH_I2C_Read... [13:49:40]Read from MH i2c: E2 03 00 [13:49:40]MH_I2C_Read... [13:49:40]Read from MH i2c: E2 03 00 73 21 00 90 00 08 [13:49:40]RAPDU: 90 00 [13:49:40]wFMCommunicate OK [13:49:40]SAM_PROTO_ClearQueue done [13:49:40]KKMCreateOFDPacket [13:49:40]OFDProtocolAddRootSTLVToBuf [13:49:40]FM_MakeSignedData [13:49:40]FM_MakeSignedData [13:49:40]SAM_PROTO_SignData [13:49:40]wFMCommunicate request_size=4 [13:49:40]MH_SAM_APDU [13:49:40]CAPDU: 80 0D 01 02 [13:49:40]Write to MH i2c: E2 08 00 74 21 80 0D 01 02 00 00 00 00 0E [13:49:40]Write i2c OK [13:49:40]MH_I2C_Read... [13:49:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:49:40]Read from MH i2c: E2 [13:49:40]MH_I2C_Read... [13:49:40]Read from MH i2c: E2 03 00 [13:49:40]MH_I2C_Read... [13:49:40]Read from MH i2c: E2 03 00 74 21 00 90 00 09 [13:49:40]RAPDU: 90 00 [13:49:40]wFMCommunicate OK [13:49:40]wFMCommunicate request_size=255 [13:49:40]MH_SAM_APDU [13:49:40]CAPDU: 80 0D 02 02 FA 03 00 F5 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 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 6D 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 31 39 31 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 81 D0 B0 D0 BB D1 8F D0 BC D0 B8 20 34 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 [13:49:40]Write to MH i2c: E2 02 01 75 21 80 0D 02 02 FA 00 03 00 F5 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 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 6D 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 31 39 31 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 81 D0 B0 D0 BB D1 8F D0 BC D0 B8 20 34 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 68 10 00 OFD Sender: No OFD packet to send [13:49:40]00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 00 00 07 [13:49:40]Write i2c OK [13:49:40]MH_I2C_Read... [13:49:41]Read from MH i2c: E2 [13:49:41]MH_I2C_Read... [13:49:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:49:41]Read from MH i2c: E2 03 00 [13:49:41]MH_I2C_Read... [13:49:41]Read from MH i2c: E2 03 00 75 21 00 90 00 0A [13:49:41]RAPDU: 90 00 [13:49:41]wFMCommunicate OK [13:49:41]wFMCommunicate request_size=255 [13:49:41]MH_SAM_APDU [13:49:41]CAPDU: 80 0D 02 02 FA 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 79 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 7B 96 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A2 93 00 00 35 04 06 00 FD [13:49:41]Write to MH i2c: E2 02 01 76 21 80 0D 02 02 FA 00 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 79 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 7B 96 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A2 93 00 00 35 04 06 00 FD 00 00 F4 [13:49:41]Write i2c OK [13:49:41]MH_I2C_Read... [13:49:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:49:41]Read from MH i2c: E2 [13:49:41]MH_I2C_Read... [13:49:41]Read from MH i2c: E2 03 00 [13:49:41]MH_I2C_Read... [13:49:41]Read from MH i2c: E2 03 00 76 21 00 90 00 0B [13:49:41]RAPDU: 90 00 [13:49:41]wFMCommunicate OK [13:49:41]wFMCommunicate request_size=10 [13:49:41]MH_SAM_APDU [13:49:41]CAPDU: 80 0D 02 02 05 1A DC 4A 2C 23 [13:49:41]Write to MH i2c: E2 0D 00 77 21 80 0D 02 02 05 00 1A DC 4A 2C 23 00 00 AB [13:49:41]Write i2c OK [13:49:41]MH_I2C_Read... [13:49:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:49:41]Read from MH i2c: E2 [13:49:41]MH_I2C_Read... [13:49:41]Read from MH i2c: E2 03 00 [13:49:41]MH_I2C_Read... [13:49:41]Read from MH i2c: E2 03 00 77 21 00 90 00 0C [13:49:41]RAPDU: 90 00 [13:49:41]wFMCommunicate OK [13:49:41]wFMCommunicate request_size=4 [13:49:41]MH_SAM_APDU [13:49:41]CAPDU: 80 0D 03 02 [13:49:41]Write to MH i2c: E2 08 00 78 21 80 0D 03 02 00 00 00 00 14 [13:49:41]Write i2c OK [13:49:41]MH_I2C_Read... [13:49:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:49:41]Read from MH i2c: E2 [13:49:41]MH_I2C_Read... [13:49:41]Read from MH i2c: E2 0B 00 [13:49:41]MH_I2C_Read... [13:49:41]Read from MH i2c: E2 0B 00 78 21 00 8D 73 98 96 47 D7 26 F9 90 00 80 [13:49:41]RAPDU: 8D 73 98 96 47 D7 26 F9 90 00 [13:49:41]wFMCommunicate OK [13:49:41]SAM_PROTO_SignData done [13:49:41]FM_MakeSignedData done [13:49:41]CreateOFDProtocolMessage [13:49:41]wFMCommunicate request_size=4 [13:49:41]MH_SAM_APDU [13:49:41]CAPDU: 80 11 00 00 [13:49:41]Write to MH i2c: E2 08 00 79 21 80 11 00 00 00 00 00 00 14 [13:49:41]Write i2c OK [13:49:41]MH_I2C_Read... [13:49:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:49:41]Read from MH i2c: E2 [13:49:41]MH_I2C_Read... [13:49:41]Read from MH i2c: E2 17 00 [13:49:41]MH_I2C_Read... [13:49:41]Read from MH i2c: E2 17 00 79 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 64 [13:49:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:49:41]wFMCommunicate OK [13:49:41]CreateOFDProtocolMessage done [13:49:41]OFDSenderStorePacket 37794 [13:49:41]StoreOFDPacket docnum=37794 [13:49:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 09 02 00 00 D1 B7 01 02 C5 C7 5A 03 01 00 03 00 F5 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 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 6D 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 31 39 31 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 81 D0 B0 D0 BB D1 8F D0 BC D0 B8 20 34 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 79 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 7B 96 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A2 93 00 00 35 04 06 00 FD 1A DC 4A 2C 23 8D 73 98 96 47 D7 26 F9 [13:49:41]CheckFolder [13:49:41]dirname=/storage/ofd_packets [13:49:41]CheckFolder done [13:49:41]ProducePacketName [13:49:41]name=ofd_packets/00037794 [13:49:41]NVStorageSaveData ofd_packets/00037794 [13:49:41]File name is /storage/ofd_packets/00037794 [13:49:41]Write 551 bytes [13:49:41]NVStorageSaveData done [13:49:41]OFDSenderStorePacket done [13:49:41]KKMCreateOFDPacket done [13:49:41]NVStorageSaveData kkm_last_timestamp [13:49:41]File name is /storage/kkm_last_timestamp [13:49:41]Write 4 bytes [13:49:41]NVStorageSaveData done [13:49:41]ExternCall_PrintAddStr [13:49:41]wPrintStart [13:49:41]Write to MH i2c: 01 00 00 7A 21 9B [13:49:41]Write i2c OK [13:49:41]MH_I2C_Read... [13:49:41]Read from MH i2c: 01 [13:49:41]MH_I2C_Read... [13:49:41]Read from MH i2c: 01 07 00 [13:49:41]MH_I2C_Read... [13:49:41]Read from MH i2c: 01 07 00 7A 21 00 00 00 00 00 FF 0F B0 [13:49:41]RasterBufferAndPrint [13:49:41]line Счет N : (3)35093 [13:49:41]line ИНН: 02508201610067 [13:49:41]line Контрольно-Кассовый Чек [13:49:41]line ПРОДАЖА [13:49:41]line Товар: 4700003010032 [13:49:41]line Чай хол Let`s Go! чер персик ПЭТ 0,5л [13:49:41]line 1.000 * 50.00 [13:49:41]line = 50.00 [13:49:41]line НДС 12% НСП 1% [13:49:41]line > о реализуемом товаре [13:49:41]line Товар: 4607010740191 [13:49:41]line Сух Кириешки салями 40г [13:49:41]line 2.000 * 21.00 [13:49:41]line = 42.00 [13:49:41]line НДС 12% НСП 1% [13:49:41]line > о реализуемом товаре [13:49:41]line Товар: 42113270 [13:49:41]line Жев Orbit арбуз [13:49:41]line 1.000 * 45.00 [13:49:41]line = 45.00 [13:49:41]line НДС 12% НСП 1% [13:49:41]line > о реализуемом товаре [13:49:41]line ИТОГО: 137.00 [13:49:41]line НСП 1% : 1.21 [13:49:41]line НДС 12% : 14.55 [13:49:41]line Наличными: 0.00 [13:49:41]line Безнал.: 137.00 [13:49:41]line Место: АЗС № 126 "Партнер Нефть" [13:49:41]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:49:41]line СНО: Общий режим [13:49:41]line Чек 37 28.10.2024 13:49 [13:49:41]line Смена: 551 ФФД: 1.0 [13:49:41]line ЗНМ: 0300000092 [13:49:41]line РНМ: 0000000000091684 [13:49:41]line Версия ККМ: 001 [13:49:41]line Платежная система: Mbank [13:49:41]line ФМ: 0000000000871841 [13:49:41]line ФД: 37794 [13:49:41]line ФПД: 278291806825507 [13:49:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T134947&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37794&fm=278291806825507&tin=02508201610067®Number=0000000000091684&sum=13700 [13:49:41]line 0 [13:49:41]written 0, free lines is 4095 [13:49:41]OFD Sender: Processing packet 37794 [packets to send 42, broken 41] [13:49:41]ProducePacketName [13:49:41]name=ofd_packets/00037794 [13:49:41]OFD Sender: To server: pG, [13:49:41]CommunicateWithHost lk.salyk.kg:30040 [13:49:41]ConnectInit lk.salyk.kg [13:49:42]Write to MH i2c: 01 00 00 B0 21 D1 [13:49:42]Write i2c OK [13:49:42]MH_I2C_Read... [13:49:42]Read from MH i2c: 01 [13:49:42]MH_I2C_Read... [13:49:42]Read from MH i2c: 01 07 00 [13:49:42]MH_I2C_Read... [13:49:42]Read from MH i2c: 01 07 00 B0 21 00 00 00 00 00 D5 0B B8 [13:49:42]RasterBufferAndPrint [13:49:42]line [13:49:42]line [13:49:42]line [13:49:42]line [13:49:42]line [13:49:42]written 0, free lines is 3033 [13:49:42]MH_Cut [13:49:42]Write to MH i2c: D1 01 00 B7 21 01 AA [13:49:42]Write i2c OK [13:49:42]MH_I2C_Read... [13:49:42]Read from MH i2c: D1 [13:49:42]MH_I2C_Read... [13:49:42]Read from MH i2c: D1 01 00 [13:49:42]MH_I2C_Read... [13:49:42]Read from MH i2c: D1 01 00 B7 21 00 A9 [13:49:42]Write to MH i2c: 01 00 00 B8 21 D9 [13:49:42]Write i2c OK [13:49:42]MH_I2C_Read... [13:49:43]*** Cut start [13:49:43]*** Partial cut [13:49:43]*** CUTSNS_PIN = 1 [13:49:43]*** CUTSNS_PIN = 0 [13:49:43]*** Brake cut motor [13:49:43]Read from MH i2c: 01 [13:49:43]MH_I2C_Read... [13:49:43]*** Stop cut motor [13:49:43]*** Cut end [13:49:43]Read from MH i2c: 01 07 00 [13:49:43]MH_I2C_Read... [13:49:43]Read from MH i2c: 01 07 00 B8 21 00 00 00 00 00 FF 0F EE [13:49:43]process_action close_receipt done [13:49:43]requested_data is exist [13:49:43]produce_requested_data [13:49:43]requested_item fm.sn is exist - process it [13:49:43]wFMCommunicate request_size=4 [13:49:43]MH_SAM_APDU [13:49:43]CAPDU: 80 11 00 00 [13:49:43]Write to MH i2c: E2 08 00 B9 21 80 11 00 00 00 00 00 00 54 [13:49:43]Write i2c OK [13:49:43]MH_I2C_Read... [13:49:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:49:44]Read from MH i2c: E2 [13:49:44]MH_I2C_Read... [13:49:44]Read from MH i2c: E2 17 00 [13:49:44]MH_I2C_Read... [13:49:44]Read from MH i2c: E2 17 00 B9 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A4 [13:49:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:49:44]wFMCommunicate OK [13:49:44]requested_item fd.num is exist - process it [13:49:44]SAM_PROTO_GetFieldsCounters [13:49:44]wFMCommunicate request_size=4 [13:49:44]MH_SAM_APDU [13:49:44]CAPDU: 80 13 00 00 [13:49:44]Write to MH i2c: E2 08 00 BA 21 80 13 00 00 00 00 00 00 57 [13:49:44]Write i2c OK [13:49:44]MH_I2C_Read... [13:49:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:49:44]Read from MH i2c: E2 [13:49:44]MH_I2C_Read... [13:49:44]Read from MH i2c: E2 62 00 [13:49:44]MH_I2C_Read... [13:49:44]Read from MH i2c: E2 62 00 BA 21 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 A2 93 00 00 0E 04 04 00 27 02 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 45 [13:49:44]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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 A2 93 00 00 0E 04 04 00 27 02 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 [13:49:44]wFMCommunicate OK [13:49:44]SAM_PROTO_GetFieldsCounters done [13:49:44]requested_item shift.num is exist - process it [13:49:44]requested_item shift.opened is exist - process it [13:49:44]req_shift_opened [13:49:44]FM_GetShiftState [13:49:44]SAM_PROTO_GetShiftState [13:49:44]wFMCommunicate request_size=4 [13:49:44]MH_SAM_APDU [13:49:44]CAPDU: 80 13 01 00 [13:49:44]Write to MH i2c: E2 08 00 BB 21 80 13 01 00 00 00 00 00 59 [13:49:44]Write i2c OK [13:49:44]MH_I2C_Read... [13:49:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:49:44]Read from MH i2c: E2 [13:49:44]MH_I2C_Read... [13:49:44]Read from MH i2c: E2 0E 00 [13:49:44]MH_I2C_Read... [13:49:44]Read from MH i2c: E2 0E 00 BB 21 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 DB [13:49:44]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [13:49:44]wFMCommunicate OK [13:49:44]SAM_PROTO_GetShiftState done [13:49:44]FM_GetShiftState done [13:49:44]req_shift_opened done [13:49:44]requested_item shift.open_date is exist - process it [13:49:44]req_shift_open_date [13:49:44]req_shift_open_date done [13:49:44]produce_requested_data done [13:49:44]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37794,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [13:49:44]process_action_free close_receipt [13:49:44]json_value_free [13:49:44]json_value_free done [13:49:44]process_json_proto returns [13:49:44]Send response to host [13:49:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37794,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [13:49:44]free response buf [13:49:44]execute_script done [13:49:44]execute_script returns [13:49:44]free content buf [13:49:44]Sock 10.Close socket [13:49:44]Sock 10.Thread stoped [13:49:45]Connected sock=11 [13:49: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 38 34 31 09 02 00 00 D1 B7 01 02 C5 C7 5A 03 01 00 03 00 F5 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 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 6D 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 31 39 31 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 81 D0 B0 D0 BB D1 8F D0 BC D0 B8 20 34 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 79 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 7B 96 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A2 93 00 00 35 04 06 00 FD 1A DC 4A 2C 23 8D 73 98 96 47 D7 26 F9 [13:49:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 B2 E4 47 00 22 79 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 A2 93 00 00 F4 03 04 00 73 41 1F 67 B6 04 01 00 00 1C C6 AE EC FE 28 F9 6B [13:49:45]CommunicateWithHost err = 0 [13:49:45]CheckOFDResponse [13:49:45]1017 (14) - 77093643461234 [13:49:45]1041 (16) - 0000000000871841 [13:49:45]1040 (4) - 37794 [13:49:45]1012 (4) - 28.10.2024 07:46 [13:49:45]1206 (1) - 0 [13:49:45]OFD Sender: Remove packet 37794 [13:49:45]ProducePacketName [13:49:45]name=ofd_packets/00037794 [13:49:45]NVStorageDeleteData [13:49:46]OFD Sender: No OFD packet to send [13:49:51]OFD Sender: No OFD packet to send [13:49:56]OFD Sender: No OFD packet to send [13:50:01]OFD Sender: No OFD packet to send [13:50:06]OFD Sender: No OFD packet to send [13:50:11]OFD Sender: No OFD packet to send [13:50:16]OFD Sender: No OFD packet to send [13:50:21]OFD Sender: No OFD packet to send [13:50:26]OFD Sender: No OFD packet to send [13:50:31]OFD Sender: No OFD packet to send [13:50:36]OFD Sender: No OFD packet to send [13:50:41]OFD Sender: No OFD packet to send [13:50:46]OFD Sender: No OFD packet to send [13:50:51]OFD Sender: No OFD packet to send [13:50:56]OFD Sender: No OFD packet to send [13:51:01]OFD Sender: No OFD packet to send [13:51:06]OFD Sender: No OFD packet to send [13:51:11]OFD Sender: No OFD packet to send [13:51:16]OFD Sender: No OFD packet to send [13:51:21]OFD Sender: No OFD packet to send [13:51:26]OFD Sender: No OFD packet to send [13:51:31]OFD Sender: No OFD packet to send [13:51:36]OFD Sender: No OFD packet to send [13:51:41]OFD Sender: No OFD packet to send [13:51:46]OFD Sender: No OFD packet to send [13:51:51]OFD Sender: No OFD packet to send [13:51:56]OFD Sender: No OFD packet to send [13:52:01]OFD Sender: No OFD packet to send [13:52:06]OFD Sender: No OFD packet to send [13:52:11]OFD Sender: No OFD packet to send [13:52:16]OFD Sender: No OFD packet to send [13:52:21]OFD Sender: No OFD packet to send [13:52:22]accept exits with 7 [13:52:22]New connection [13:52:22]New thread 3067440484 created [13:52:22]Thread 3067297124 joined [13:52:22]Waiting for new connection... [13:52:22] Sock 7.Parse request [13:52:22]Sock 7.Check first char [13:52:22]Sock 7.First char is OK [13:52:22]request: POST /json_proto HTTP/1.0 [13:52:22]Method: POST [13:52:22]URL: /json_proto [13:52:22]Method is POST - this is cgi request [13:52:22]url: /json_proto [13:52:22]query_string will be loaded in cgi processing [13:52:22]execute_cgi json_proto POST (null) [13:52:22]execute_cgi path=json_proto method=POST [13:52:22]POST find Content-Length [13:52:22]Host: 172.17.40.196:8080 [13:52:22]Content-Length: 752 [13:52:22]Content-Type: application/json [13:52:22] [13:52:22]POST finish read [13:52:22]Found Content-Length = 752 [13:52:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35094", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.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" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:52:22]execute_script... [13:52:22]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35094", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.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" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:52:22]POST & json_proto [13:52:22]process_json_proto [13:52:22]json parsed OK: [13:52:22]protocol is kg_v1.0 [13:52:22]action value=close_receipt [13:52:22]process_action close_receipt [13:52:22]cmd_close_receipt [13:52:22]MH_GetDate [13:52:22]Write to MH i2c: F0 00 00 BC 21 CC [13:52:22]Write i2c OK [13:52:22]MH_I2C_Read... [13:52:22]Read from MH i2c: F0 [13:52:22]MH_I2C_Read... [13:52:22]Read from MH i2c: F0 09 00 [13:52:22]MH_I2C_Read... [13:52:22]Read from MH i2c: F0 09 00 BC 21 00 1E 97 1F 67 5B 68 A1 66 DA [13:52:22]GetLastDocTimeStamp 1730123387 [13:52:22]current date 1730123550 [13:52:22]FM_GetShiftState [13:52:22]SAM_PROTO_GetShiftState [13:52:22]wFMCommunicate request_size=4 [13:52:22]MH_SAM_APDU [13:52:22]CAPDU: 80 13 01 00 [13:52:22]Write to MH i2c: E2 08 00 BD 21 80 13 01 00 00 00 00 00 5B [13:52:22]Write i2c OK [13:52:22]MH_I2C_Read... [13:52:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:52:22]Read from MH i2c: E2 [13:52:22]MH_I2C_Read... [13:52:22]Read from MH i2c: E2 0E 00 [13:52:22]MH_I2C_Read... [13:52:22]Read from MH i2c: E2 0E 00 BD 21 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 DD [13:52:22]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [13:52:22]wFMCommunicate OK [13:52:22]SAM_PROTO_GetShiftState done [13:52:22]FM_GetShiftState done [13:52:22]opened in 1730073884 [13:52:22]opened+sec_in_day 1730160284 [13:52:22]quantity*price = 11500 [13:52:22]sum+1 = 11501 [13:52:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 0.00 Безнал.: 115.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 38 28.10.2024 13:52 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37795 ФПД: 127157790131208 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T135230&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37795&fm=127157790131208&tin=02508201610067®Number=0000000000091684&sum=11500 0 [13:52:24]StoreToDocumentArchive [13:52:24]shift 551 fd 37795 [13:52:24]save to /storage/0551/doc_00037795 [13:52:24]save last doc name /storage/0551/doc_00037795 to /storage/kkm_last_doc_name [13:52:24]save OK [13:52:24]Clear old archive folders... [13:52:24]ProcessDocumentItem done err = 0, tmpTLVsize=274 [13:52:24]tlvbuf is B6E1F2B0 [13:52:24]SAM_PROTO_ClearQueue [13:52:24]wFMCommunicate request_size=4 [13:52:24]MH_SAM_APDU [13:52:24]CAPDU: 80 09 00 00 [13:52:24]Write to MH i2c: E2 08 00 CA 21 80 09 00 00 00 00 00 00 5D [13:52:24]Write i2c OK [13:52:24]MH_I2C_Read... [13:52:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:52:24]Read from MH i2c: E2 [13:52:24]MH_I2C_Read... [13:52:24]Read from MH i2c: E2 03 00 [13:52:24]MH_I2C_Read... [13:52:24]Read from MH i2c: E2 03 00 CA 21 00 90 00 5F [13:52:24]RAPDU: 90 00 [13:52:24]wFMCommunicate OK [13:52:24]SAM_PROTO_ClearQueue done [13:52:24]KKMCreateOFDPacket [13:52:24]OFDProtocolAddRootSTLVToBuf [13:52:24]FM_MakeSignedData [13:52:24]FM_MakeSignedData [13:52:24]SAM_PROTO_SignData [13:52:24]wFMCommunicate request_size=4 [13:52:24]MH_SAM_APDU [13:52:24]CAPDU: 80 0D 01 02 [13:52:24]Write to MH i2c: E2 08 00 CB 21 80 0D 01 02 00 00 00 00 65 [13:52:24]Write i2c OK [13:52:24]MH_I2C_Read... [13:52:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:52:24]Read from MH i2c: E2 [13:52:24]MH_I2C_Read... [13:52:24]Read from MH i2c: E2 03 00 [13:52:24]MH_I2C_Read... [13:52:24]Read from MH i2c: E2 03 00 CB 21 00 90 00 60 [13:52:24]RAPDU: 90 00 [13:52:24]wFMCommunicate OK [13:52:24]wFMCommunicate request_size=255 [13:52:24]MH_SAM_APDU [13:52:24]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 1E 97 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 [13:52:24]Write to MH i2c: E2 02 01 CC 21 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 1E 97 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 00 00 8E [13:52:24]Write i2c OK [13:52:24]MH_I2C_Read... [13:52:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:52:24]Read from MH i2c: E2 [13:52:24]MH_I2C_Read... [13:52:24]Read from MH i2c: E2 03 00 [13:52:24]MH_I2C_Read... [13:52:24]Read from MH i2c: E2 03 00 CC 21 00 90 00 61 [13:52:24]RAPDU: 90 00 [13:52:24]wFMCommunicate OK [13:52:24]wFMCommunicate request_size=33 [13:52:24]MH_SAM_APDU [13:52:24]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A3 93 00 00 35 04 06 00 73 A6 3A E9 44 08 [13:52:24]Write to MH i2c: E2 24 00 CD 21 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A3 93 00 00 35 04 06 00 73 A6 3A E9 44 08 00 00 B2 [13:52:24]Write i2c OK [13:52:24]MH_I2C_Read... [13:52:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:52:24]Read from MH i2c: E2 [13:52:24]MH_I2C_Read... [13:52:24]Read from MH i2c: E2 03 00 [13:52:24]MH_I2C_Read... [13:52:24]Read from MH i2c: E2 03 00 CD 21 00 90 00 62 [13:52:24]RAPDU: 90 00 [13:52:24]wFMCommunicate OK [13:52:24]wFMCommunicate request_size=4 [13:52:24]MH_SAM_APDU [13:52:24]CAPDU: 80 0D 03 02 [13:52:24]Write to MH i2c: E2 08 00 CE 21 80 0D 03 02 00 00 00 00 6A [13:52:24]Write i2c OK [13:52:24]MH_I2C_Read... [13:52:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:52:24]Read from MH i2c: E2 [13:52:24]MH_I2C_Read... [13:52:24]Read from MH i2c: E2 0B 00 [13:52:24]MH_I2C_Read... [13:52:24]Read from MH i2c: E2 0B 00 CE 21 00 B4 64 81 A8 80 A6 7D 19 90 00 68 [13:52:24]RAPDU: B4 64 81 A8 80 A6 7D 19 90 00 [13:52:24]wFMCommunicate OK [13:52:24]SAM_PROTO_SignData done [13:52:24]FM_MakeSignedData done [13:52:24]CreateOFDProtocolMessage [13:52:24]wFMCommunicate request_size=4 [13:52:24]MH_SAM_APDU [13:52:24]CAPDU: 80 11 00 00 [13:52:24]Write to MH i2c: E2 08 00 CF 21 80 11 00 00 00 00 00 00 6A [13:52:24]Write i2c OK [13:52:24]MH_I2C_Read... [13:52:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:52:24]Read from MH i2c: E2 [13:52:24]MH_I2C_Read... [13:52:24]Read from MH i2c: E2 17 00 [13:52:24]MH_I2C_Read... [13:52:24]Read from MH i2c: E2 17 00 CF 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 BA [13:52:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:52:24]wFMCommunicate OK [13:52:24]CreateOFDProtocolMessage done [13:52:24]OFDSenderStorePacket 37795 [13:52:24]StoreOFDPacket docnum=37795 [13:52:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 50 07 1E 01 4C 73 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 1E 97 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A3 93 00 00 35 04 06 00 73 A6 3A E9 44 08 B4 64 81 A8 80 A6 7D 19 [13:52:24]CheckFolder [13:52:24]dirname=/storage/ofd_packets [13:52:24]CheckFolder done [13:52:24]ProducePacketName [13:52:24]name=ofd_packets/00037795 [13:52:24]NVStorageSaveData ofd_packets/00037795 [13:52:24]File name is /storage/ofd_packets/00037795 [13:52:24]Write 324 bytes [13:52:24]NVStorageSaveData done [13:52:24]OFDSenderStorePacket done [13:52:24]KKMCreateOFDPacket done [13:52:24]NVStorageSaveData kkm_last_timestamp [13:52:24]File name is /storage/kkm_last_timestamp [13:52:24]Write 4 bytes [13:52:24]NVStorageSaveData done [13:52:24]ExternCall_PrintAddStr [13:52:24]wPrintStart [13:52:24]Write to MH i2c: 01 00 00 D0 21 F1 [13:52:24]Write i2c OK [13:52:24]MH_I2C_Read... [13:52:24]Read from MH i2c: 01 [13:52:24]MH_I2C_Read... [13:52:24]Read from MH i2c: 01 07 00 [13:52:24]MH_I2C_Read... [13:52:24]Read from MH i2c: 01 07 00 D0 21 00 00 00 00 00 FF 0F 06 [13:52:24]RasterBufferAndPrint [13:52:24]line Счет N : (3)35094 [13:52:24]line ИНН: 02508201610067 [13:52:24]line Контрольно-Кассовый Чек [13:52:24]line ПРОДАЖА [13:52:24]line Товар: 2000036240010 [13:52:24]line Кофе Латте (GABB TRADE) [13:52:24]line 1.000 * 115.00 [13:52:24]line = 115.00 [13:52:24]line НДС 12% НСП 1% [13:52:24]line > о реализуемом товаре [13:52:24]line ИТОГО: 115.00 [13:52:24]line НСП 1% : 1.02 [13:52:24]line НДС 12% : 12.21 [13:52:24]line Наличными: 0.00 [13:52:24]line Безнал.: 115.00 [13:52:24]line Место: АЗС № 126 "Партнер Нефть" [13:52:24]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:52:24]line СНО: Общий режим [13:52:24]line Чек 38 28.10.2024 13:52 [13:52:24]line Смена: 551 ФФД: 1.0 [13:52:24]line ЗНМ: 0300000092 [13:52:24]line РНМ: 0000000000091684 [13:52:24]line Версия ККМ: 001 [13:52:24]line Платежная система: Mbank [13:52:24]line ФМ: 0000000000871841 [13:52:24]line ФД: 37795 [13:52:24]line ФПД: 127157790131208 [13:52:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T135230&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37795&fm=127157790131208&tin=02508201610067®Number=0000000000091684&sum=11500 [13:52:25]OFD Sender: Processing packet 37795 [packets to send 42, broken 41] [13:52:25]ProducePacketName [13:52:25]name=ofd_packets/00037795 [13:52:25]OFD Sender: To server: pG, [13:52:25]CommunicateWithHost lk.salyk.kg:30040 [13:52:25]ConnectInit lk.salyk.kg [13:52:25]line 0 [13:52:25]written 0, free lines is 4095 [13:52:25]Connected sock=10 [13:52:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 50 07 1E 01 4C 73 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 1E 97 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A3 93 00 00 35 04 06 00 73 A6 3A E9 44 08 B4 64 81 A8 80 A6 7D 19 [13:52:25]Write to MH i2c: 01 00 00 F9 21 1A [13:52:25]Write i2c OK [13:52:25]MH_I2C_Read... [13:52:25]Read from MH i2c: 01 [13:52:25]MH_I2C_Read... [13:52:25]Read from MH i2c: 01 07 00 [13:52:25]MH_I2C_Read... [13:52:25]Read from MH i2c: 01 07 00 F9 21 00 00 00 00 00 C8 0C F5 [13:52:25]RasterBufferAndPrint [13:52:25]line [13:52:25]line [13:52:25]line [13:52:25]line [13:52:25]line [13:52:25]written 0, free lines is 3280 [13:52:25]MH_Cut [13:52:25]Write to MH i2c: D1 01 00 00 22 01 F4 [13:52:25]Write i2c OK [13:52:25]MH_I2C_Read... [13:52:25]Read from MH i2c: D1 [13:52:25]MH_I2C_Read... [13:52:25]Read from MH i2c: D1 01 00 [13:52:25]MH_I2C_Read... [13:52:25]Read from MH i2c: D1 01 00 00 22 00 F3 [13:52:25]Write to MH i2c: 01 00 00 01 22 23 [13:52:25]Write i2c OK [13:52:25]MH_I2C_Read... [13:52:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 30 90 47 00 1A 56 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A3 93 00 00 F4 03 04 00 13 42 1F 67 B6 04 01 00 00 D0 C0 95 5D D4 A3 4E D1 [13:52:25]CommunicateWithHost err = 0 [13:52:25]CheckOFDResponse [13:52:25]1017 (14) - 77093643461234 [13:52:25]1041 (16) - 0000000000871841 [13:52:25]1040 (4) - 37795 [13:52:25]1012 (4) - 28.10.2024 07:49 [13:52:25]1206 (1) - 0 [13:52:25]OFD Sender: Remove packet 37795 [13:52:25]ProducePacketName [13:52:25]name=ofd_packets/00037795 [13:52:25]NVStorageDeleteData [13:52:26]OFD Sender: No OFD packet to send [13:52:26]*** Cut start [13:52:26]*** Partial cut [13:52:26]*** CUTSNS_PIN = 1 [13:52:26]*** CUTSNS_PIN = 0 [13:52:26]*** Brake cut motor [13:52:26]Read from MH i2c: 01 [13:52:26]MH_I2C_Read... [13:52:26]*** Stop cut motor [13:52:26]*** Cut end [13:52:26]Read from MH i2c: 01 07 00 [13:52:26]MH_I2C_Read... [13:52:26]Read from MH i2c: 01 07 00 01 22 00 00 00 00 00 FF 0F 38 [13:52:26]process_action close_receipt done [13:52:26]requested_data is exist [13:52:26]produce_requested_data [13:52:26]requested_item fm.sn is exist - process it [13:52:26]wFMCommunicate request_size=4 [13:52:26]MH_SAM_APDU [13:52:26]CAPDU: 80 11 00 00 [13:52:26]Write to MH i2c: E2 08 00 02 22 80 11 00 00 00 00 00 00 9E [13:52:26]Write i2c OK [13:52:26]MH_I2C_Read... [13:52:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:52:27]Read from MH i2c: E2 [13:52:27]MH_I2C_Read... [13:52:27]Read from MH i2c: E2 17 00 [13:52:27]MH_I2C_Read... [13:52:27]Read from MH i2c: E2 17 00 02 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 EE [13:52:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:52:27]wFMCommunicate OK [13:52:27]requested_item fd.num is exist - process it [13:52:27]SAM_PROTO_GetFieldsCounters [13:52:27]wFMCommunicate request_size=4 [13:52:27]MH_SAM_APDU [13:52:27]CAPDU: 80 13 00 00 [13:52:27]Write to MH i2c: E2 08 00 03 22 80 13 00 00 00 00 00 00 A1 [13:52:27]Write i2c OK [13:52:27]MH_I2C_Read... [13:52:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:52:27]Read from MH i2c: E2 [13:52:27]MH_I2C_Read... [13:52:27]Read from MH i2c: E2 62 00 [13:52:27]MH_I2C_Read... [13:52:27]Read from MH i2c: E2 62 00 03 22 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 A3 93 00 00 0E 04 04 00 27 02 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 93 [13:52:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 A3 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:52:27]wFMCommunicate OK [13:52:27]SAM_PROTO_GetFieldsCounters done [13:52:27]requested_item shift.num is exist - process it [13:52:27]requested_item shift.opened is exist - process it [13:52:27]req_shift_opened [13:52:27]FM_GetShiftState [13:52:27]SAM_PROTO_GetShiftState [13:52:27]wFMCommunicate request_size=4 [13:52:27]MH_SAM_APDU [13:52:27]CAPDU: 80 13 01 00 [13:52:27]Write to MH i2c: E2 08 00 04 22 80 13 01 00 00 00 00 00 A3 [13:52:27]Write i2c OK [13:52:27]MH_I2C_Read... [13:52:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:52:27]Read from MH i2c: E2 [13:52:27]MH_I2C_Read... [13:52:27]Read from MH i2c: E2 0E 00 [13:52:27]MH_I2C_Read... [13:52:27]Read from MH i2c: E2 0E 00 04 22 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 25 [13:52:27]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [13:52:27]wFMCommunicate OK [13:52:27]SAM_PROTO_GetShiftState done [13:52:27]FM_GetShiftState done [13:52:27]req_shift_opened done [13:52:27]requested_item shift.open_date is exist - process it [13:52:27]req_shift_open_date [13:52:27]req_shift_open_date done [13:52:27]produce_requested_data done [13:52:27]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37795,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [13:52:27]process_action_free close_receipt [13:52:27]json_value_free [13:52:27]json_value_free done [13:52:27]process_json_proto returns [13:52:27]Send response to host [13:52:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37795,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [13:52:27]free response buf [13:52:27]execute_script done [13:52:27]execute_script returns [13:52:27]free content buf [13:52:27]Sock 7.Close socket [13:52:27]Sock 7.Thread stoped [13:52:31]OFD Sender: No OFD packet to send [13:52:36]OFD Sender: No OFD packet to send [13:52:41]OFD Sender: No OFD packet to send [13:52:46]OFD Sender: No OFD packet to send [13:52:51]OFD Sender: No OFD packet to send [13:52:56]OFD Sender: No OFD packet to send [13:53:01]OFD Sender: No OFD packet to send [13:53:06]OFD Sender: No OFD packet to send [13:53:11]OFD Sender: No OFD packet to send [13:53:16]OFD Sender: No OFD packet to send [13:53:21]OFD Sender: No OFD packet to send [13:53:26]OFD Sender: No OFD packet to send [13:53:31]OFD Sender: No OFD packet to send [13:53:36]OFD Sender: No OFD packet to send [13:53:41]OFD Sender: No OFD packet to send [13:53:46]OFD Sender: No OFD packet to send [13:53:51]OFD Sender: No OFD packet to send [13:53:56]OFD Sender: No OFD packet to send [13:54:01]OFD Sender: No OFD packet to send [13:54:06]OFD Sender: No OFD packet to send [13:54:11]OFD Sender: No OFD packet to send [13:54:16]OFD Sender: No OFD packet to send [13:54:21]OFD Sender: No OFD packet to send [13:54:26]OFD Sender: No OFD packet to send [13:54:31]OFD Sender: No OFD packet to send [13:54:36]OFD Sender: No OFD packet to send [13:54:41]OFD Sender: No OFD packet to send [13:54:46]OFD Sender: No OFD packet to send [13:54:51]OFD Sender: No OFD packet to send [13:54:56]OFD Sender: No OFD packet to send [13:55:01]OFD Sender: No OFD packet to send [13:55:06]OFD Sender: No OFD packet to send [13:55:11]OFD Sender: No OFD packet to send [13:55:16]OFD Sender: No OFD packet to send [13:55:21]OFD Sender: No OFD packet to send [13:55:26]OFD Sender: No OFD packet to send [13:55:31]OFD Sender: No OFD packet to send [13:55:36]OFD Sender: No OFD packet to send [13:55:41]OFD Sender: No OFD packet to send [13:55:46]OFD Sender: No OFD packet to send [13:55:51]OFD Sender: No OFD packet to send [13:55:56]OFD Sender: No OFD packet to send [13:56:01]OFD Sender: No OFD packet to send [13:56:06]OFD Sender: No OFD packet to send [13:56:11]OFD Sender: No OFD packet to send [13:56:16]OFD Sender: No OFD packet to send [13:56:21]OFD Sender: No OFD packet to send [13:56:26]OFD Sender: No OFD packet to send [13:56:31]OFD Sender: No OFD packet to send [13:56:36]OFD Sender: No OFD packet to send [13:56:41]OFD Sender: No OFD packet to send [13:56:46]OFD Sender: No OFD packet to send [13:56:51]OFD Sender: No OFD packet to send [13:56:56]OFD Sender: No OFD packet to send [13:57:01]OFD Sender: No OFD packet to send [13:57:06]OFD Sender: No OFD packet to send [13:57:11]OFD Sender: No OFD packet to send [13:57:16]OFD Sender: No OFD packet to send [13:57:21]OFD Sender: No OFD packet to send [13:57:26]OFD Sender: No OFD packet to send [13:57:31]OFD Sender: No OFD packet to send [13:57:36]OFD Sender: No OFD packet to send [13:57:41]OFD Sender: No OFD packet to send [13:57:46]OFD Sender: No OFD packet to send [13:57:51]OFD Sender: No OFD packet to send [13:57:56]OFD Sender: No OFD packet to send [13:58:01]OFD Sender: No OFD packet to send [13:58:06]OFD Sender: No OFD packet to send [13:58:11]OFD Sender: No OFD packet to send [13:58:16]OFD Sender: No OFD packet to send [13:58:21]OFD Sender: No OFD packet to send [13:58:26]OFD Sender: No OFD packet to send [13:58:31]OFD Sender: No OFD packet to send [13:58:36]OFD Sender: No OFD packet to send [13:58:41]OFD Sender: No OFD packet to send [13:58:46]OFD Sender: No OFD packet to send [13:58:51]OFD Sender: No OFD packet to send [13:58:56]OFD Sender: No OFD packet to send [13:59:01]OFD Sender: No OFD packet to send [13:59:06]OFD Sender: No OFD packet to send [13:59:11]OFD Sender: No OFD packet to send [13:59:16]OFD Sender: No OFD packet to send [13:59:21]OFD Sender: No OFD packet to send [13:59:26]OFD Sender: No OFD packet to send [13:59:31]OFD Sender: No OFD packet to send [13:59:36]OFD Sender: No OFD packet to send [13:59:41]OFD Sender: No OFD packet to send [13:59:46]OFD Sender: No OFD packet to send [13:59:51]OFD Sender: No OFD packet to send [13:59:56]OFD Sender: No OFD packet to send [14:00:01]OFD Sender: No OFD packet to send [14:00:06]OFD Sender: No OFD packet to send [14:00:11]OFD Sender: No OFD packet to send [14:00:16]OFD Sender: No OFD packet to send [14:00:21]OFD Sender: No OFD packet to send [14:00:26]OFD Sender: No OFD packet to send [14:00:31]OFD Sender: No OFD packet to send [14:00:36]OFD Sender: No OFD packet to send [14:00:41]OFD Sender: No OFD packet to send [14:00:46]OFD Sender: No OFD packet to send [14:00:51]OFD Sender: No OFD packet to send [14:00:56]OFD Sender: No OFD packet to send [14:01:01]OFD Sender: No OFD packet to send [14:01:06]OFD Sender: No OFD packet to send [14:01:11]OFD Sender: No OFD packet to send [14:01:16]OFD Sender: No OFD packet to send [14:01:21]OFD Sender: No OFD packet to send [14:01:26]OFD Sender: No OFD packet to send [14:01:31]OFD Sender: No OFD packet to send [14:01:36]OFD Sender: No OFD packet to send [14:01:41]OFD Sender: No OFD packet to send [14:01:46]OFD Sender: No OFD packet to send [14:01:51]OFD Sender: No OFD packet to send [14:01:56]OFD Sender: No OFD packet to send [14:02:01]OFD Sender: No OFD packet to send [14:02:06]OFD Sender: No OFD packet to send [14:02:11]OFD Sender: No OFD packet to send [14:02:16]OFD Sender: No OFD packet to send [14:02:21]OFD Sender: No OFD packet to send [14:02:26]OFD Sender: No OFD packet to send [14:02:31]OFD Sender: No OFD packet to send [14:02:36]OFD Sender: No OFD packet to send [14:02:41]OFD Sender: No OFD packet to send [14:02:46]OFD Sender: No OFD packet to send [14:02:51]OFD Sender: No OFD packet to send [14:02:56]OFD Sender: No OFD packet to send [14:03:01]OFD Sender: No OFD packet to send [14:03:06]OFD Sender: No OFD packet to send [14:03:11]OFD Sender: No OFD packet to send [14:03:16]OFD Sender: No OFD packet to send [14:03:21]OFD Sender: No OFD packet to send [14:03:26]OFD Sender: No OFD packet to send [14:03:31]OFD Sender: No OFD packet to send [14:03:36]OFD Sender: No OFD packet to send [14:03:41]OFD Sender: No OFD packet to send [14:03:46]OFD Sender: No OFD packet to send [14:03:51]OFD Sender: No OFD packet to send [14:03:56]OFD Sender: No OFD packet to send [14:04:01]OFD Sender: No OFD packet to send [14:04:06]OFD Sender: No OFD packet to send [14:04:11]OFD Sender: No OFD packet to send [14:04:16]OFD Sender: No OFD packet to send [14:04:21]OFD Sender: No OFD packet to send [14:04:26]OFD Sender: No OFD packet to send [14:04:31]OFD Sender: No OFD packet to send [14:04:36]OFD Sender: No OFD packet to send [14:04:41]OFD Sender: No OFD packet to send [14:04:46]OFD Sender: No OFD packet to send [14:04:51]OFD Sender: No OFD packet to send [14:04:56]OFD Sender: No OFD packet to send [14:05:01]OFD Sender: No OFD packet to send [14:05:06]OFD Sender: No OFD packet to send [14:05:11]OFD Sender: No OFD packet to send [14:05:16]OFD Sender: No OFD packet to send [14:05:21]OFD Sender: No OFD packet to send [14:05:26]OFD Sender: No OFD packet to send [14:05:31]OFD Sender: No OFD packet to send [14:05:36]OFD Sender: No OFD packet to send [14:05:41]OFD Sender: No OFD packet to send [14:05:46]OFD Sender: No OFD packet to send [14:05:51]OFD Sender: No OFD packet to send [14:05:56]OFD Sender: No OFD packet to send [14:06:02]OFD Sender: No OFD packet to send [14:06:07]OFD Sender: No OFD packet to send [14:06:12]OFD Sender: No OFD packet to send [14:06:17]OFD Sender: No OFD packet to send [14:06:22]OFD Sender: No OFD packet to send [14:06:27]OFD Sender: No OFD packet to send [14:06:32]OFD Sender: No OFD packet to send [14:06:37]OFD Sender: No OFD packet to send [14:06:42]OFD Sender: No OFD packet to send [14:06:47]OFD Sender: No OFD packet to send [14:06:52]OFD Sender: No OFD packet to send [14:06:57]OFD Sender: No OFD packet to send [14:07:02]OFD Sender: No OFD packet to send [14:07:07]OFD Sender: No OFD packet to send [14:07:12]OFD Sender: No OFD packet to send [14:07:17]OFD Sender: No OFD packet to send [14:07:22]OFD Sender: No OFD packet to send [14:07:27]OFD Sender: No OFD packet to send [14:07:32]OFD Sender: No OFD packet to send [14:07:37]OFD Sender: No OFD packet to send [14:07:42]OFD Sender: No OFD packet to send [14:07:47]OFD Sender: No OFD packet to send [14:07:52]OFD Sender: No OFD packet to send [14:07:57]OFD Sender: No OFD packet to send [14:08:02]OFD Sender: No OFD packet to send [14:08:07]OFD Sender: No OFD packet to send [14:08:12]OFD Sender: No OFD packet to send [14:08:17]OFD Sender: No OFD packet to send [14:08:22]OFD Sender: No OFD packet to send [14:08:27]OFD Sender: No OFD packet to send [14:08:32]OFD Sender: No OFD packet to send [14:08:37]OFD Sender: No OFD packet to send [14:08:42]OFD Sender: No OFD packet to send [14:08:47]OFD Sender: No OFD packet to send [14:08:52]OFD Sender: No OFD packet to send [14:08:57]OFD Sender: No OFD packet to send [14:09:02]OFD Sender: No OFD packet to send [14:09:07]OFD Sender: No OFD packet to send [14:09:12]OFD Sender: No OFD packet to send [14:09:17]OFD Sender: No OFD packet to send [14:09:22]OFD Sender: No OFD packet to send [14:09:27]OFD Sender: No OFD packet to send [14:09:32]OFD Sender: No OFD packet to send [14:09:37]OFD Sender: No OFD packet to send [14:09:42]OFD Sender: No OFD packet to send [14:09:47]OFD Sender: No OFD packet to send [14:09:52]OFD Sender: No OFD packet to send [14:09:57]OFD Sender: No OFD packet to send [14:10:02]OFD Sender: No OFD packet to send [14:10:07]OFD Sender: No OFD packet to send [14:10:12]OFD Sender: No OFD packet to send [14:10:17]OFD Sender: No OFD packet to send [14:10:22]OFD Sender: No OFD packet to send [14:10:27]OFD Sender: No OFD packet to send [14:10:32]OFD Sender: No OFD packet to send [14:10:37]OFD Sender: No OFD packet to send [14:10:42]OFD Sender: No OFD packet to send [14:10:47]OFD Sender: No OFD packet to send [14:10:52]OFD Sender: No OFD packet to send [14:10:57]OFD Sender: No OFD packet to send [14:11:02]OFD Sender: No OFD packet to send [14:11:07]OFD Sender: No OFD packet to send [14:11:12]OFD Sender: No OFD packet to send [14:11:17]OFD Sender: No OFD packet to send [14:11:22]OFD Sender: No OFD packet to send [14:11:27]OFD Sender: No OFD packet to send [14:11:32]OFD Sender: No OFD packet to send [14:11:37]OFD Sender: No OFD packet to send [14:11:42]OFD Sender: No OFD packet to send [14:11:47]OFD Sender: No OFD packet to send [14:11:52]OFD Sender: No OFD packet to send [14:11:57]OFD Sender: No OFD packet to send [14:12:02]OFD Sender: No OFD packet to send [14:12:07]OFD Sender: No OFD packet to send [14:12:12]OFD Sender: No OFD packet to send [14:12:17]OFD Sender: No OFD packet to send [14:12:22]OFD Sender: No OFD packet to send [14:12:27]OFD Sender: No OFD packet to send [14:12:32]OFD Sender: No OFD packet to send [14:12:37]OFD Sender: No OFD packet to send [14:12:42]OFD Sender: No OFD packet to send [14:12:47]OFD Sender: No OFD packet to send [14:12:48]accept exits with 9 [14:12:48]New connection [14:12:48]New thread 3067297124 created [14:12:48]Thread 3067440484 joined [14:12:48]Waiting for new connection... [14:12:48] Sock 9.Parse request [14:12:48]Sock 9.Check first char [14:12:48]Sock 9.First char is OK [14:12:48]request: POST /json_proto HTTP/1.0 [14:12:48]Method: POST [14:12:48]URL: /json_proto [14:12:48]Method is POST - this is cgi request [14:12:48]url: /json_proto [14:12:48]query_string will be loaded in cgi processing [14:12:48]execute_cgi json_proto POST (null) [14:12:48]execute_cgi path=json_proto method=POST [14:12:48]POST find Content-Length [14:12:48]Host: 172.17.40.196:8080 [14:12:48]Content-Length: 620 [14:12:48]Content-Type: application/json [14:12:48] [14:12:48]POST finish read [14:12:48]Found Content-Length = 620 [14:12:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35095", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:12:48]execute_script... [14:12:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35095", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:12:48]POST & json_proto [14:12:48]process_json_proto [14:12:48]json parsed OK: [14:12:48]protocol is kg_v1.0 [14:12:48]action value=close_receipt [14:12:48]process_action close_receipt [14:12:48]cmd_close_receipt [14:12:48]MH_GetDate [14:12:48]Write to MH i2c: F0 00 00 05 22 16 [14:12:48]Write i2c OK [14:12:48]MH_I2C_Read... [14:12:48]Read from MH i2c: F0 [14:12:48]MH_I2C_Read... [14:12:48]Read from MH i2c: F0 09 00 [14:12:48]MH_I2C_Read... [14:12:48]Read from MH i2c: F0 09 00 05 22 00 E8 9B 1F 67 5B 68 A1 66 F2 [14:12:48]GetLastDocTimeStamp 1730123550 [14:12:48]current date 1730124776 [14:12:48]FM_GetShiftState [14:12:48]SAM_PROTO_GetShiftState [14:12:48]wFMCommunicate request_size=4 [14:12:48]MH_SAM_APDU [14:12:48]CAPDU: 80 13 01 00 [14:12:48]Write to MH i2c: E2 08 00 06 22 80 13 01 00 00 00 00 00 A5 [14:12:48]Write i2c OK [14:12:48]MH_I2C_Read... [14:12:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:12:48]Read from MH i2c: E2 [14:12:48]MH_I2C_Read... [14:12:48]Read from MH i2c: E2 0E 00 [14:12:48]MH_I2C_Read... [14:12:48]Read from MH i2c: E2 0E 00 06 22 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 27 [14:12:48]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [14:12:48]wFMCommunicate OK [14:12:48]SAM_PROTO_GetShiftState done [14:12:48]FM_GetShiftState done [14:12:48]opened in 1730073884 [14:12:48]opened+sec_in_day 1730160284 [14:12:48]quantity*price = 14400 [14:12:48]sum+1 = 14401 [14:12:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 39 28.10.2024 14:12 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37796 ФПД: 207558426021887 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T141256&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37796&fm=207558426021887&tin=02508201610067®Number=0000000000091684&sum=14400 0 [14:12:50]StoreToDocumentArchive [14:12:50]shift 551 fd 37796 [14:12:50]save to /storage/0551/doc_00037796 [14:12:50]save last doc name /storage/0551/doc_00037796 to /storage/kkm_last_doc_name [14:12:50]save OK [14:12:50]Clear old archive folders... [14:12:50]ProcessDocumentItem done err = 0, tmpTLVsize=273 [14:12:50]tlvbuf is 0029A1F0 [14:12:50]SAM_PROTO_ClearQueue [14:12:50]wFMCommunicate request_size=4 [14:12:50]MH_SAM_APDU [14:12:50]CAPDU: 80 09 00 00 [14:12:50]Write to MH i2c: E2 08 00 13 22 80 09 00 00 00 00 00 00 A7 [14:12:50]Write i2c OK [14:12:50]MH_I2C_Read... [14:12:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:12:50]Read from MH i2c: E2 [14:12:50]MH_I2C_Read... [14:12:50]Read from MH i2c: E2 03 00 [14:12:50]MH_I2C_Read... [14:12:50]Read from MH i2c: E2 03 00 13 22 00 90 00 A9 [14:12:50]RAPDU: 90 00 [14:12:50]wFMCommunicate OK [14:12:50]SAM_PROTO_ClearQueue done [14:12:50]KKMCreateOFDPacket [14:12:50]OFDProtocolAddRootSTLVToBuf [14:12:50]FM_MakeSignedData [14:12:50]FM_MakeSignedData [14:12:50]SAM_PROTO_SignData [14:12:50]wFMCommunicate request_size=4 [14:12:50]MH_SAM_APDU [14:12:50]CAPDU: 80 0D 01 02 [14:12:50]Write to MH i2c: E2 08 00 14 22 80 0D 01 02 00 00 00 00 AF [14:12:50]Write i2c OK [14:12:50]MH_I2C_Read... [14:12:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:12:50]Read from MH i2c: E2 [14:12:50]MH_I2C_Read... [14:12:50]Read from MH i2c: E2 03 00 [14:12:50]MH_I2C_Read... [14:12:50]Read from MH i2c: E2 03 00 14 22 00 90 00 AA [14:12:50]RAPDU: 90 00 [14:12:50]wFMCommunicate OK [14:12:50]wFMCommunicate request_size=255 [14:12:50]MH_SAM_APDU [14:12:50]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 E8 9B 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [14:12:50]Write to MH i2c: E2 02 01 15 22 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 E8 9B 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 75 [14:12:50]Write i2c OK [14:12:50]MH_I2C_Read... [14:12:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:12:50]Read from MH i2c: E2 [14:12:50]MH_I2C_Read... [14:12:50]Read from MH i2c: E2 03 00 [14:12:50]MH_I2C_Read... [14:12:50]Read from MH i2c: E2 03 00 15 22 00 90 00 AB [14:12:50]RAPDU: 90 00 [14:12:50]wFMCommunicate OK [14:12:50]wFMCommunicate request_size=32 [14:12:50]MH_SAM_APDU [14:12:50]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 A4 93 00 00 35 04 06 00 BC C5 F6 40 CF FF [14:12:50]Write to MH i2c: E2 23 00 16 22 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 A4 93 00 00 35 04 06 00 BC C5 F6 40 CF FF 00 00 C8 [14:12:50]Write i2c OK [14:12:50]MH_I2C_Read... [14:12:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:12:50]Read from MH i2c: E2 [14:12:50]MH_I2C_Read... [14:12:50]Read from MH i2c: E2 03 00 [14:12:50]MH_I2C_Read... [14:12:50]Read from MH i2c: E2 03 00 16 22 00 90 00 AC [14:12:50]RAPDU: 90 00 [14:12:50]wFMCommunicate OK [14:12:50]wFMCommunicate request_size=4 [14:12:50]MH_SAM_APDU [14:12:50]CAPDU: 80 0D 03 02 [14:12:50]Write to MH i2c: E2 08 00 17 22 80 0D 03 02 00 00 00 00 B4 [14:12:50]Write i2c OK [14:12:50]MH_I2C_Read... [14:12:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:12:50]Read from MH i2c: E2 [14:12:50]MH_I2C_Read... [14:12:50]Read from MH i2c: E2 0B 00 [14:12:50]MH_I2C_Read... [14:12:50]Read from MH i2c: E2 0B 00 17 22 00 8C 7D 8E 30 FA 0F 22 04 90 00 AB [14:12:50]RAPDU: 8C 7D 8E 30 FA 0F 22 04 90 00 [14:12:50]wFMCommunicate OK [14:12:50]SAM_PROTO_SignData done [14:12:50]FM_MakeSignedData done [14:12:50]CreateOFDProtocolMessage [14:12:50]wFMCommunicate request_size=4 [14:12:50]MH_SAM_APDU [14:12:50]CAPDU: 80 11 00 00 [14:12:50]Write to MH i2c: E2 08 00 18 22 80 11 00 00 00 00 00 00 B4 [14:12:50]Write i2c OK [14:12:50]MH_I2C_Read... [14:12:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:12:50]Read from MH i2c: E2 [14:12:50]MH_I2C_Read... [14:12:50]Read from MH i2c: E2 17 00 [14:12:50]MH_I2C_Read... [14:12:50]Read from MH i2c: E2 17 00 18 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 04 [14:12:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:12:50]wFMCommunicate OK [14:12:50]CreateOFDProtocolMessage done [14:12:50]OFDSenderStorePacket 37796 [14:12:50]StoreOFDPacket docnum=37796 [14:12:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 FE 5C 1D 01 33 F4 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 E8 9B 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A4 93 00 00 35 04 06 00 BC C5 F6 40 CF FF 8C 7D 8E 30 FA 0F 22 04 [14:12:50]CheckFolder [14:12:50]dirname=/storage/ofd_packets [14:12:50]CheckFolder done [14:12:50]ProducePacketName [14:12:50]name=ofd_packets/00037796 [14:12:50]NVStorageSaveData ofd_packets/00037796 [14:12:50]File name is /storage/ofd_packets/00037796 [14:12:50]Write 323 bytes [14:12:50]NVStorageSaveData done [14:12:50]OFDSenderStorePacket done [14:12:50]KKMCreateOFDPacket done [14:12:50]NVStorageSaveData kkm_last_timestamp [14:12:50]File name is /storage/kkm_last_timestamp [14:12:50]Write 4 bytes [14:12:50]NVStorageSaveData done [14:12:50]ExternCall_PrintAddStr [14:12:50]wPrintStart [14:12:50]Write to MH i2c: 01 00 00 19 22 3B [14:12:50]Write i2c OK [14:12:50]MH_I2C_Read... [14:12:50]Read from MH i2c: 01 [14:12:50]MH_I2C_Read... [14:12:50]Read from MH i2c: 01 07 00 [14:12:50]MH_I2C_Read... [14:12:50]Read from MH i2c: 01 07 00 19 22 00 00 00 00 00 FF 0F 50 [14:12:50]RasterBufferAndPrint [14:12:50]line Счет N : (3)35095 [14:12:50]line ИНН: 02508201610067 [14:12:50]line Контрольно-Кассовый Чек [14:12:50]line ПРОДАЖА [14:12:50]line Товар: 48743570 [14:12:50]line Сигареты Winston XStyle Blue [14:12:50]line 1.000 * 144.00 [14:12:50]line = 144.00 [14:12:50]line НДС 12% НСП 1% [14:12:50]line > о реализуемом товаре [14:12:50]line ИТОГО: 144.00 [14:12:50]line НСП 1% : 1.27 [14:12:50]line НДС 12% : 15.29 [14:12:50]line Наличными: 144.00 [14:12:50]line Безнал.: 0.00 [14:12:50]line Место: АЗС № 126 "Партнер Нефть" [14:12:50]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [14:12:50]line СНО: Общий режим [14:12:50]line Чек 39 28.10.2024 14:12 [14:12:50]line Смена: 551 ФФД: 1.0 [14:12:50]line ЗНМ: 0300000092 [14:12:50]line РНМ: 0000000000091684 [14:12:50]line Версия ККМ: 001 [14:12:50]line ФМ: 0000000000871841 [14:12:50]line ФД: 37796 [14:12:50]line ФПД: 207558426021887 [14:12:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T141256&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37796&fm=207558426021887&tin=02508201610067®Number=0000000000091684&sum=14400 [14:12:50]line 0 [14:12:50]written 0, free lines is 4095 [14:12:50]OFD Sender: Processing packet 37796 [packets to send 42, broken 41] [14:12:50]ProducePacketName [14:12:50]name=ofd_packets/00037796 [14:12:50]OFD Sender: To server: pG, [14:12:50]CommunicateWithHost lk.salyk.kg:30040 [14:12:50]ConnectInit lk.salyk.kg [14:12:51]Connected sock=10 [14:12:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 FE 5C 1D 01 33 F4 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 E8 9B 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A4 93 00 00 35 04 06 00 BC C5 F6 40 CF FF 8C 7D 8E 30 FA 0F 22 04 [14:12:51]Write to MH i2c: 01 00 00 41 22 63 [14:12:51]Write i2c OK [14:12:51]MH_I2C_Read... [14:12:51]Read from MH i2c: 01 [14:12:51]MH_I2C_Read... [14:12:51]Read from MH i2c: 01 07 00 [14:12:51]MH_I2C_Read... [14:12:51]Read from MH i2c: 01 07 00 41 22 00 00 00 00 00 C9 0C 3F [14:12:51]RasterBufferAndPrint [14:12:51]line [14:12:51]line [14:12:51]line [14:12:51]line [14:12:51]line [14:12:51]written 0, free lines is 3278 [14:12:51]MH_Cut [14:12:51]Write to MH i2c: D1 01 00 48 22 01 3C [14:12:51]Write i2c OK [14:12:51]MH_I2C_Read... [14:12:51]Read from MH i2c: D1 [14:12:51]MH_I2C_Read... [14:12:51]Read from MH i2c: D1 01 00 [14:12:51]MH_I2C_Read... [14:12:51]Read from MH i2c: D1 01 00 48 22 00 3B [14:12:51]Write to MH i2c: 01 00 00 49 22 6B [14:12:51]Write i2c OK [14:12:51]MH_I2C_Read... [14:12:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 D0 F8 47 00 02 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 38 34 31 10 04 04 00 A4 93 00 00 F4 03 04 00 DD 46 1F 67 B6 04 01 00 00 49 0F CF 37 9E EF 42 7E [14:12:51]CommunicateWithHost err = 0 [14:12:51]CheckOFDResponse [14:12:51]1017 (14) - 77093643461234 [14:12:51]1041 (16) - 0000000000871841 [14:12:51]1040 (4) - 37796 [14:12:51]1012 (4) - 28.10.2024 08:10 [14:12:51]1206 (1) - 0 [14:12:51]OFD Sender: Remove packet 37796 [14:12:51]ProducePacketName [14:12:51]name=ofd_packets/00037796 [14:12:51]NVStorageDeleteData [14:12:51]*** Cut start [14:12:51]*** Partial cut [14:12:51]*** CUTSNS_PIN = 1 [14:12:52]*** CUTSNS_PIN = 0 [14:12:52]OFD Sender: No OFD packet to send [14:12:52]*** Brake cut motor [14:12:52]Read from MH i2c: 01 [14:12:52]MH_I2C_Read... [14:12:52]*** Stop cut motor [14:12:52]*** Cut end [14:12:52]Read from MH i2c: 01 07 00 [14:12:52]MH_I2C_Read... [14:12:52]Read from MH i2c: 01 07 00 49 22 00 00 00 00 00 FF 0F 80 [14:12:52]process_action close_receipt done [14:12:52]requested_data is exist [14:12:52]produce_requested_data [14:12:52]requested_item fm.sn is exist - process it [14:12:52]wFMCommunicate request_size=4 [14:12:52]MH_SAM_APDU [14:12:52]CAPDU: 80 11 00 00 [14:12:52]Write to MH i2c: E2 08 00 4A 22 80 11 00 00 00 00 00 00 E6 [14:12:52]Write i2c OK [14:12:52]MH_I2C_Read... [14:12:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:12:52]Read from MH i2c: E2 [14:12:52]MH_I2C_Read... [14:12:52]Read from MH i2c: E2 17 00 [14:12:52]MH_I2C_Read... [14:12:52]Read from MH i2c: E2 17 00 4A 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 36 [14:12:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:12:52]wFMCommunicate OK [14:12:52]requested_item fd.num is exist - process it [14:12:52]SAM_PROTO_GetFieldsCounters [14:12:52]wFMCommunicate request_size=4 [14:12:52]MH_SAM_APDU [14:12:52]CAPDU: 80 13 00 00 [14:12:52]Write to MH i2c: E2 08 00 4B 22 80 13 00 00 00 00 00 00 E9 [14:12:52]Write i2c OK [14:12:52]MH_I2C_Read... [14:12:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:12:52]Read from MH i2c: E2 [14:12:52]MH_I2C_Read... [14:12:52]Read from MH i2c: E2 62 00 [14:12:52]MH_I2C_Read... [14:12:52]Read from MH i2c: E2 62 00 4B 22 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 A4 93 00 00 0E 04 04 00 27 02 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 DF [14:12:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 A4 93 00 00 0E 04 04 00 27 02 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 [14:12:52]wFMCommunicate OK [14:12:52]SAM_PROTO_GetFieldsCounters done [14:12:52]requested_item shift.num is exist - process it [14:12:52]requested_item shift.opened is exist - process it [14:12:52]req_shift_opened [14:12:52]FM_GetShiftState [14:12:52]SAM_PROTO_GetShiftState [14:12:52]wFMCommunicate request_size=4 [14:12:52]MH_SAM_APDU [14:12:52]CAPDU: 80 13 01 00 [14:12:52]Write to MH i2c: E2 08 00 4C 22 80 13 01 00 00 00 00 00 EB [14:12:52]Write i2c OK [14:12:52]MH_I2C_Read... [14:12:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:12:52]Read from MH i2c: E2 [14:12:52]MH_I2C_Read... [14:12:52]Read from MH i2c: E2 0E 00 [14:12:52]MH_I2C_Read... [14:12:52]Read from MH i2c: E2 0E 00 4C 22 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 6D [14:12:52]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [14:12:52]wFMCommunicate OK [14:12:52]SAM_PROTO_GetShiftState done [14:12:52]FM_GetShiftState done [14:12:52]req_shift_opened done [14:12:52]requested_item shift.open_date is exist - process it [14:12:52]req_shift_open_date [14:12:52]req_shift_open_date done [14:12:52]produce_requested_data done [14:12:52]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37796,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [14:12:52]process_action_free close_receipt [14:12:52]json_value_free [14:12:52]json_value_free done [14:12:52]process_json_proto returns [14:12:52]Send response to host [14:12:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37796,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [14:12:52]free response buf [14:12:52]execute_script done [14:12:52]execute_script returns [14:12:52]free content buf [14:12:52]Sock 9.Close socket [14:12:52]Sock 9.Thread stoped [14:12:57]OFD Sender: No OFD packet to send [14:13:02]OFD Sender: No OFD packet to send [14:13:07]OFD Sender: No OFD packet to send [14:13:12]OFD Sender: No OFD packet to send [14:13:17]OFD Sender: No OFD packet to send [14:13:22]OFD Sender: No OFD packet to send [14:13:27]OFD Sender: No OFD packet to send [14:13:32]OFD Sender: No OFD packet to send [14:13:37]OFD Sender: No OFD packet to send [14:13:42]OFD Sender: No OFD packet to send [14:13:47]OFD Sender: No OFD packet to send [14:13:52]OFD Sender: No OFD packet to send [14:13:57]OFD Sender: No OFD packet to send [14:14:02]OFD Sender: No OFD packet to send [14:14:07]OFD Sender: No OFD packet to send [14:14:12]OFD Sender: No OFD packet to send [14:14:17]OFD Sender: No OFD packet to send [14:14:22]OFD Sender: No OFD packet to send [14:14:27]OFD Sender: No OFD packet to send [14:14:32]OFD Sender: No OFD packet to send [14:14:37]OFD Sender: No OFD packet to send [14:14:42]OFD Sender: No OFD packet to send [14:14:47]OFD Sender: No OFD packet to send [14:14:52]OFD Sender: No OFD packet to send [14:14:57]OFD Sender: No OFD packet to send [14:15:02]OFD Sender: No OFD packet to send [14:15:07]OFD Sender: No OFD packet to send [14:15:12]OFD Sender: No OFD packet to send [14:15:17]OFD Sender: No OFD packet to send [14:15:22]OFD Sender: No OFD packet to send [14:15:27]OFD Sender: No OFD packet to send [14:15:32]OFD Sender: No OFD packet to send [14:15:37]OFD Sender: No OFD packet to send [14:15:42]OFD Sender: No OFD packet to send [14:15:47]OFD Sender: No OFD packet to send [14:15:52]OFD Sender: No OFD packet to send [14:15:57]OFD Sender: No OFD packet to send [14:16:02]OFD Sender: No OFD packet to send [14:16:07]OFD Sender: No OFD packet to send [14:16:12]OFD Sender: No OFD packet to send [14:16:14]accept exits with 7 [14:16:14]New connection [14:16:14]New thread 3067440484 created [14:16:14]Thread 3067297124 joined [14:16:14]Waiting for new connection... [14:16:14] Sock 7.Parse request [14:16:14]Sock 7.Check first char [14:16:14]Sock 7.First char is OK [14:16:14]request: POST /json_proto HTTP/1.0 [14:16:14]Method: POST [14:16:14]URL: /json_proto [14:16:14]Method is POST - this is cgi request [14:16:14]url: /json_proto [14:16:14]query_string will be loaded in cgi processing [14:16:14]execute_cgi json_proto POST (null) [14:16:14]execute_cgi path=json_proto method=POST [14:16:14]POST find Content-Length [14:16:14]Host: 172.17.40.196:8080 [14:16:14]Content-Length: 645 [14:16:14]Content-Type: application/json [14:16:14] [14:16:14]POST finish read [14:16:14]Found Content-Length = 645 [14:16:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35096", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E 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" ] } } [14:16:14]execute_script... [14:16:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35096", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E 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" ] } } [14:16:14]POST & json_proto [14:16:14]process_json_proto [14:16:14]json parsed OK: [14:16:14]protocol is kg_v1.0 [14:16:14]action value=close_receipt [14:16:14]process_action close_receipt [14:16:14]cmd_close_receipt [14:16:14]MH_GetDate [14:16:14]Write to MH i2c: F0 00 00 4D 22 5E [14:16:14]Write i2c OK [14:16:14]MH_I2C_Read... [14:16:14]Read from MH i2c: F0 [14:16:14]MH_I2C_Read... [14:16:14]Read from MH i2c: F0 09 00 [14:16:14]MH_I2C_Read... [14:16:14]Read from MH i2c: F0 09 00 4D 22 00 B6 9C 1F 67 5B 68 A1 66 09 [14:16:14]GetLastDocTimeStamp 1730124776 [14:16:14]current date 1730124982 [14:16:14]FM_GetShiftState [14:16:14]SAM_PROTO_GetShiftState [14:16:14]wFMCommunicate request_size=4 [14:16:14]MH_SAM_APDU [14:16:14]CAPDU: 80 13 01 00 [14:16:14]Write to MH i2c: E2 08 00 4E 22 80 13 01 00 00 00 00 00 ED [14:16:14]Write i2c OK [14:16:14]MH_I2C_Read... [14:16:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:16:14]Read from MH i2c: E2 [14:16:14]MH_I2C_Read... [14:16:14]Read from MH i2c: E2 0E 00 [14:16:14]MH_I2C_Read... [14:16:14]Read from MH i2c: E2 0E 00 4E 22 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 6F [14:16:14]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [14:16:14]wFMCommunicate OK [14:16:14]SAM_PROTO_GetShiftState done [14:16:14]FM_GetShiftState done [14:16:14]opened in 1730073884 [14:16:14]opened+sec_in_day 1730160284 [14:16:14]quantity*price = 13000 [14:16:14]sum+1 = 13001 [14:16:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 40 28.10.2024 14:16 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37797 ФПД: 112869596404882 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T141622&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37797&fm=112869596404882&tin=02508201610067®Number=0000000000091684&sum=13000 0 [14:16:16]StoreToDocumentArchive [14:16:16]shift 551 fd 37797 [14:16:16]save to /storage/0551/doc_00037797 [14:16:16]save last doc name /storage/0551/doc_00037797 to /storage/kkm_last_doc_name [14:16:16]save OK [14:16:16]Clear old archive folders... [14:16:16]ProcessDocumentItem done err = 0, tmpTLVsize=282 [14:16:16]tlvbuf is 002C2A10 [14:16:16]SAM_PROTO_ClearQueue [14:16:16]wFMCommunicate request_size=4 [14:16:16]MH_SAM_APDU [14:16:16]CAPDU: 80 09 00 00 [14:16:16]Write to MH i2c: E2 08 00 5B 22 80 09 00 00 00 00 00 00 EF [14:16:16]Write i2c OK [14:16:16]MH_I2C_Read... [14:16:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:16:16]Read from MH i2c: E2 [14:16:16]MH_I2C_Read... [14:16:16]Read from MH i2c: E2 03 00 [14:16:16]MH_I2C_Read... [14:16:16]Read from MH i2c: E2 03 00 5B 22 00 90 00 F1 [14:16:16]RAPDU: 90 00 [14:16:16]wFMCommunicate OK [14:16:16]SAM_PROTO_ClearQueue done [14:16:16]KKMCreateOFDPacket [14:16:16]OFDProtocolAddRootSTLVToBuf [14:16:16]FM_MakeSignedData [14:16:16]FM_MakeSignedData [14:16:16]SAM_PROTO_SignData [14:16:16]wFMCommunicate request_size=4 [14:16:16]MH_SAM_APDU [14:16:16]CAPDU: 80 0D 01 02 [14:16:16]Write to MH i2c: E2 08 00 5C 22 80 0D 01 02 00 00 00 00 F7 [14:16:16]Write i2c OK [14:16:16]MH_I2C_Read... [14:16:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:16:16]Read from MH i2c: E2 [14:16:16]MH_I2C_Read... [14:16:16]Read from MH i2c: E2 03 00 [14:16:16]MH_I2C_Read... [14:16:16]Read from MH i2c: E2 03 00 5C 22 00 90 00 F2 [14:16:16]RAPDU: 90 00 [14:16:16]wFMCommunicate OK [14:16:16]wFMCommunicate request_size=255 [14:16:16]MH_SAM_APDU [14:16:16]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 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 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 28 00 00 00 F4 03 04 00 B6 9C 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 [14:16:16]Write to MH i2c: E2 02 01 5D 22 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 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 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 28 00 00 00 F4 03 04 00 B6 9C 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 00 00 32 [14:16:16]Write i2c OK [14:16:16]MH_I2C_Read... [14:16:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:16:16]Read from MH i2c: E2 [14:16:16]MH_I2C_Read... [14:16:16]Read from MH i2c: E2 03 00 [14:16:16]MH_I2C_Read... [14:16:16]Read from MH i2c: E2 03 00 5D 22 00 90 00 F3 [14:16:16]RAPDU: 90 00 [14:16:16]wFMCommunicate OK [14:16:16]wFMCommunicate request_size=41 [14:16:16]MH_SAM_APDU [14:16:16]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A5 93 00 00 35 04 06 00 66 A7 80 33 1C 92 [14:16:16]Write to MH i2c: E2 2C 00 5E 22 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A5 93 00 00 35 04 06 00 66 A7 80 33 1C 92 00 00 6C [14:16:16]Write i2c OK [14:16:16]MH_I2C_Read... [14:16:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:16:16]Read from MH i2c: E2 [14:16:16]MH_I2C_Read... [14:16:16]Read from MH i2c: E2 03 00 [14:16:16]MH_I2C_Read... [14:16:16]Read from MH i2c: E2 03 00 5E 22 00 90 00 F4 [14:16:16]RAPDU: 90 00 [14:16:16]wFMCommunicate OK [14:16:16]wFMCommunicate request_size=4 [14:16:16]MH_SAM_APDU [14:16:16]CAPDU: 80 0D 03 02 [14:16:16]Write to MH i2c: E2 08 00 5F 22 80 0D 03 02 00 00 00 00 FC [14:16:16]Write i2c OK [14:16:16]MH_I2C_Read... [14:16:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:16:16]Read from MH i2c: E2 [14:16:16]MH_I2C_Read... [14:16:16]Read from MH i2c: E2 0B 00 [14:16:16]MH_I2C_Read... [14:16:16]Read from MH i2c: E2 0B 00 5F 22 00 F2 4D D6 44 4B 72 08 A1 90 00 BC [14:16:16]RAPDU: F2 4D D6 44 4B 72 08 A1 90 00 [14:16:16]wFMCommunicate OK [14:16:16]SAM_PROTO_SignData done [14:16:16]FM_MakeSignedData done [14:16:16]CreateOFDProtocolMessage [14:16:16]wFMCommunicate request_size=4 [14:16:16]MH_SAM_APDU [14:16:16]CAPDU: 80 11 00 00 [14:16:16]Write to MH i2c: E2 08 00 60 22 80 11 00 00 00 00 00 00 FC [14:16:16]Write i2c OK [14:16:16]MH_I2C_Read... [14:16:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:16:16]Read from MH i2c: E2 [14:16:16]MH_I2C_Read... [14:16:16]Read from MH i2c: E2 17 00 [14:16:16]MH_I2C_Read... [14:16:16]Read from MH i2c: E2 17 00 60 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4C [14:16:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:16:16]wFMCommunicate OK [14:16:16]CreateOFDProtocolMessage done [14:16:16]OFDSenderStorePacket 37797 [14:16:16]StoreOFDPacket docnum=37797 [14:16:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 E3 EF 26 01 D7 25 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 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 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 28 00 00 00 F4 03 04 00 B6 9C 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A5 93 00 00 35 04 06 00 66 A7 80 33 1C 92 F2 4D D6 44 4B 72 08 A1 [14:16:16]CheckFolder [14:16:16]dirname=/storage/ofd_packets [14:16:16]CheckFolder done [14:16:16]ProducePacketName [14:16:16]name=ofd_packets/00037797 [14:16:16]NVStorageSaveData ofd_packets/00037797 [14:16:16]File name is /storage/ofd_packets/00037797 [14:16:16]Write 332 bytes [14:16:16]NVStorageSaveData done [14:16:16]OFDSenderStorePacket done [14:16:16]KKMCreateOFDPacket done [14:16:16]NVStorageSaveData kkm_last_timestamp [14:16:16]File name is /storage/kkm_last_timestamp [14:16:16]Write 4 bytes [14:16:16]NVStorageSaveData done [14:16:16]ExternCall_PrintAddStr [14:16:16]wPrintStart [14:16:16]Write to MH i2c: 01 00 00 61 22 83 [14:16:16]OFD Sender: Processing packet 37797 [packets to send 42, broken 41] [14:16:16]ProducePacketName [14:16:16]name=ofd_packets/00037797 [14:16:16]OFD Sender: To server: pG, [14:16:16]CommunicateWithHost lk.salyk.kg:30040 [14:16:16]ConnectInit lk.salyk.kg [14:16:16]Write i2c OK [14:16:16]MH_I2C_Read... [14:16:16]Read from MH i2c: 01 [14:16:16]MH_I2C_Read... [14:16:16]Read from MH i2c: 01 07 00 [14:16:16]MH_I2C_Read... [14:16:16]Read from MH i2c: 01 07 00 61 22 00 00 00 00 00 FF 0F 98 [14:16:16]RasterBufferAndPrint [14:16:16]line Счет N : (3)35096 [14:16:16]line ИНН: 02508201610067 [14:16:16]line Контрольно-Кассовый Чек [14:16:16]line ПРОДАЖА [14:16:16]line Товар: 2000036220012 [14:16:16]line Кофе Капучино XL(GABB TRADE) [14:16:16]line 1.000 * 130.00 [14:16:16]line = 130.00 [14:16:16]line НДС 12% НСП 1% [14:16:16]line > о реализуемом товаре [14:16:16]line ИТОГО: 130.00 [14:16:16]line НСП 1% : 1.15 [14:16:16]line НДС 12% : 13.80 [14:16:16]line Наличными: 130.00 [14:16:16]line Безнал.: 0.00 [14:16:16]line Место: АЗС № 126 "Партнер Нефть" [14:16:16]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [14:16:16]line СНО: Общий режим [14:16:16]line Чек 40 28.10.2024 14:16 [14:16:16]line Смена: 551 ФФД: 1.0 [14:16:16]line ЗНМ: 0300000092 [14:16:16]line РНМ: 0000000000091684 [14:16:16]line Версия ККМ: 001 [14:16:16]line ФМ: 0000000000871841 [14:16:16]line ФД: 37797 [14:16:16]line ФПД: 112869596404882 [14:16:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T141622&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37797&fm=112869596404882&tin=02508201610067®Number=0000000000091684&sum=13000 [14:16:16]Connected sock=9 [14:16:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 E3 EF 26 01 D7 25 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 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 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 28 00 00 00 F4 03 04 00 B6 9C 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A5 93 00 00 35 04 06 00 66 A7 80 33 1C 92 F2 4D D6 44 4B 72 08 A1 [14:16:16]line 0 [14:16:16]written 0, free lines is 4095 [14:16:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 2B 21 47 00 2D 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 38 34 31 10 04 04 00 A5 93 00 00 F4 03 04 00 AB 47 1F 67 B6 04 01 00 00 60 69 66 52 88 22 3D E3 [14:16:17]CommunicateWithHost err = 0 [14:16:17]CheckOFDResponse [14:16:17]1017 (14) - 77093643461234 [14:16:17]1041 (16) - 0000000000871841 [14:16:17]1040 (4) - 37797 [14:16:17]1012 (4) - 28.10.2024 08:13 [14:16:17]1206 (1) - 0 [14:16:17]OFD Sender: Remove packet 37797 [14:16:17]ProducePacketName [14:16:17]name=ofd_packets/00037797 [14:16:17]NVStorageDeleteData [14:16:17]Write to MH i2c: 01 00 00 8A 22 AC [14:16:17]Write i2c OK [14:16:17]MH_I2C_Read... [14:16:17]Read from MH i2c: 01 [14:16:17]MH_I2C_Read... [14:16:17]Read from MH i2c: 01 07 00 [14:16:17]MH_I2C_Read... [14:16:17]Read from MH i2c: 01 07 00 8A 22 00 00 00 00 00 B4 0C 73 [14:16:17]RasterBufferAndPrint [14:16:17]line [14:16:17]line [14:16:17]line [14:16:17]line [14:16:17]line [14:16:17]written 0, free lines is 3257 [14:16:17]MH_Cut [14:16:17]Write to MH i2c: D1 01 00 91 22 01 85 [14:16:17]Write i2c OK [14:16:17]MH_I2C_Read... [14:16:17]Read from MH i2c: D1 [14:16:17]MH_I2C_Read... [14:16:17]Read from MH i2c: D1 01 00 [14:16:17]MH_I2C_Read... [14:16:17]Read from MH i2c: D1 01 00 91 22 00 84 [14:16:17]Write to MH i2c: 01 00 00 92 22 B4 [14:16:17]Write i2c OK [14:16:17]MH_I2C_Read... [14:16:17]OFD Sender: No OFD packet to send [14:16:18]*** Cut start [14:16:18]*** Partial cut [14:16:18]*** CUTSNS_PIN = 1 [14:16:18]*** CUTSNS_PIN = 0 [14:16:18]*** Brake cut motor [14:16:18]Read from MH i2c: 01 [14:16:18]MH_I2C_Read... [14:16:18]*** Stop cut motor [14:16:18]*** Cut end [14:16:18]Read from MH i2c: 01 07 00 [14:16:18]MH_I2C_Read... [14:16:18]Read from MH i2c: 01 07 00 92 22 00 00 00 00 00 FF 0F C9 [14:16:18]process_action close_receipt done [14:16:18]requested_data is exist [14:16:18]produce_requested_data [14:16:18]requested_item fm.sn is exist - process it [14:16:18]wFMCommunicate request_size=4 [14:16:18]MH_SAM_APDU [14:16:18]CAPDU: 80 11 00 00 [14:16:18]Write to MH i2c: E2 08 00 93 22 80 11 00 00 00 00 00 00 2F [14:16:18]Write i2c OK [14:16:18]MH_I2C_Read... [14:16:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:16:18]Read from MH i2c: E2 [14:16:18]MH_I2C_Read... [14:16:18]Read from MH i2c: E2 17 00 [14:16:18]MH_I2C_Read... [14:16:18]Read from MH i2c: E2 17 00 93 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 7F [14:16:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:16:18]wFMCommunicate OK [14:16:18]requested_item fd.num is exist - process it [14:16:18]SAM_PROTO_GetFieldsCounters [14:16:18]wFMCommunicate request_size=4 [14:16:18]MH_SAM_APDU [14:16:18]CAPDU: 80 13 00 00 [14:16:18]Write to MH i2c: E2 08 00 94 22 80 13 00 00 00 00 00 00 32 [14:16:18]Write i2c OK [14:16:18]MH_I2C_Read... [14:16:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:16:19]Read from MH i2c: E2 [14:16:19]MH_I2C_Read... [14:16:19]Read from MH i2c: E2 62 00 [14:16:19]MH_I2C_Read... [14:16:19]Read from MH i2c: E2 62 00 94 22 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 A5 93 00 00 0E 04 04 00 27 02 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 2C [14:16:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 A5 93 00 00 0E 04 04 00 27 02 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 [14:16:19]wFMCommunicate OK [14:16:19]SAM_PROTO_GetFieldsCounters done [14:16:19]requested_item shift.num is exist - process it [14:16:19]requested_item shift.opened is exist - process it [14:16:19]req_shift_opened [14:16:19]FM_GetShiftState [14:16:19]SAM_PROTO_GetShiftState [14:16:19]wFMCommunicate request_size=4 [14:16:19]MH_SAM_APDU [14:16:19]CAPDU: 80 13 01 00 [14:16:19]Write to MH i2c: E2 08 00 95 22 80 13 01 00 00 00 00 00 34 [14:16:19]Write i2c OK [14:16:19]MH_I2C_Read... [14:16:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:16:19]Read from MH i2c: E2 [14:16:19]MH_I2C_Read... [14:16:19]Read from MH i2c: E2 0E 00 [14:16:19]MH_I2C_Read... [14:16:19]Read from MH i2c: E2 0E 00 95 22 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 B6 [14:16:19]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [14:16:19]wFMCommunicate OK [14:16:19]SAM_PROTO_GetShiftState done [14:16:19]FM_GetShiftState done [14:16:19]req_shift_opened done [14:16:19]requested_item shift.open_date is exist - process it [14:16:19]req_shift_open_date [14:16:19]req_shift_open_date done [14:16:19]produce_requested_data done [14:16:19]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37797,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [14:16:19]process_action_free close_receipt [14:16:19]json_value_free [14:16:19]json_value_free done [14:16:19]process_json_proto returns [14:16:19]Send response to host [14:16:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37797,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [14:16:19]free response buf [14:16:19]execute_script done [14:16:19]execute_script returns [14:16:19]free content buf [14:16:19]Sock 7.Close socket [14:16:19]Sock 7.Thread stoped [14:16:22]OFD Sender: No OFD packet to send [14:16:27]OFD Sender: No OFD packet to send [14:16:32]OFD Sender: No OFD packet to send [14:16:37]OFD Sender: No OFD packet to send [14:16:42]OFD Sender: No OFD packet to send [14:16:47]OFD Sender: No OFD packet to send [14:16:52]OFD Sender: No OFD packet to send [14:16:57]OFD Sender: No OFD packet to send [14:17:02]OFD Sender: No OFD packet to send [14:17:07]OFD Sender: No OFD packet to send [14:17:12]OFD Sender: No OFD packet to send [14:17:17]OFD Sender: No OFD packet to send [14:17:22]OFD Sender: No OFD packet to send [14:17:27]OFD Sender: No OFD packet to send [14:17:32]OFD Sender: No OFD packet to send [14:17:37]OFD Sender: No OFD packet to send [14:17:42]OFD Sender: No OFD packet to send [14:17:47]OFD Sender: No OFD packet to send [14:17:52]OFD Sender: No OFD packet to send [14:17:57]OFD Sender: No OFD packet to send [14:18:02]OFD Sender: No OFD packet to send [14:18:07]OFD Sender: No OFD packet to send [14:18:12]OFD Sender: No OFD packet to send [14:18:17]OFD Sender: No OFD packet to send [14:18:22]OFD Sender: No OFD packet to send [14:18:27]OFD Sender: No OFD packet to send [14:18:32]OFD Sender: No OFD packet to send [14:18:37]OFD Sender: No OFD packet to send [14:18:42]OFD Sender: No OFD packet to send [14:18:47]OFD Sender: No OFD packet to send [14:18:52]OFD Sender: No OFD packet to send [14:18:57]OFD Sender: No OFD packet to send [14:19:02]OFD Sender: No OFD packet to send [14:19:07]OFD Sender: No OFD packet to send [14:19:13]OFD Sender: No OFD packet to send [14:19:18]OFD Sender: No OFD packet to send [14:19:23]OFD Sender: No OFD packet to send [14:19:28]OFD Sender: No OFD packet to send [14:19:33]OFD Sender: No OFD packet to send [14:19:38]OFD Sender: No OFD packet to send [14:19:43]OFD Sender: No OFD packet to send [14:19:48]OFD Sender: No OFD packet to send [14:19:53]OFD Sender: No OFD packet to send [14:19:58]OFD Sender: No OFD packet to send [14:20:03]OFD Sender: No OFD packet to send [14:20:08]OFD Sender: No OFD packet to send [14:20:13]OFD Sender: No OFD packet to send [14:20:18]OFD Sender: No OFD packet to send [14:20:23]OFD Sender: No OFD packet to send [14:20:28]OFD Sender: No OFD packet to send [14:20:33]OFD Sender: No OFD packet to send [14:20:38]OFD Sender: No OFD packet to send [14:20:43]OFD Sender: No OFD packet to send [14:20:48]OFD Sender: No OFD packet to send [14:20:53]OFD Sender: No OFD packet to send [14:20:58]OFD Sender: No OFD packet to send [14:21:03]OFD Sender: No OFD packet to send [14:21:08]OFD Sender: No OFD packet to send [14:21:13]OFD Sender: No OFD packet to send [14:21:18]OFD Sender: No OFD packet to send [14:21:23]OFD Sender: No OFD packet to send [14:21:28]OFD Sender: No OFD packet to send [14:21:33]OFD Sender: No OFD packet to send [14:21:38]OFD Sender: No OFD packet to send [14:21:43]OFD Sender: No OFD packet to send [14:21:48]OFD Sender: No OFD packet to send [14:21:53]OFD Sender: No OFD packet to send [14:21:58]OFD Sender: No OFD packet to send [14:22:03]OFD Sender: No OFD packet to send [14:22:08]OFD Sender: No OFD packet to send [14:22:13]OFD Sender: No OFD packet to send [14:22:18]OFD Sender: No OFD packet to send [14:22:23]OFD Sender: No OFD packet to send [14:22:28]OFD Sender: No OFD packet to send [14:22:33]OFD Sender: No OFD packet to send [14:22:38]OFD Sender: No OFD packet to send [14:22:43]OFD Sender: No OFD packet to send [14:22:48]OFD Sender: No OFD packet to send [14:22:53]OFD Sender: No OFD packet to send [14:22:58]OFD Sender: No OFD packet to send [14:23:03]OFD Sender: No OFD packet to send [14:23:08]OFD Sender: No OFD packet to send [14:23:13]OFD Sender: No OFD packet to send [14:23:18]OFD Sender: No OFD packet to send [14:23:23]OFD Sender: No OFD packet to send [14:23:28]OFD Sender: No OFD packet to send [14:23:33]OFD Sender: No OFD packet to send [14:23:38]OFD Sender: No OFD packet to send [14:23:43]OFD Sender: No OFD packet to send [14:23:48]OFD Sender: No OFD packet to send [14:23:53]OFD Sender: No OFD packet to send [14:23:58]OFD Sender: No OFD packet to send [14:24:03]OFD Sender: No OFD packet to send [14:24:08]OFD Sender: No OFD packet to send [14:24:13]OFD Sender: No OFD packet to send [14:24:18]OFD Sender: No OFD packet to send [14:24:23]OFD Sender: No OFD packet to send [14:24:28]OFD Sender: No OFD packet to send [14:24:33]OFD Sender: No OFD packet to send [14:24:38]OFD Sender: No OFD packet to send [14:24:43]OFD Sender: No OFD packet to send [14:24:48]OFD Sender: No OFD packet to send [14:24:53]OFD Sender: No OFD packet to send [14:24:58]OFD Sender: No OFD packet to send [14:25:03]OFD Sender: No OFD packet to send [14:25:08]OFD Sender: No OFD packet to send [14:25:13]OFD Sender: No OFD packet to send [14:25:18]OFD Sender: No OFD packet to send [14:25:23]OFD Sender: No OFD packet to send [14:25:28]OFD Sender: No OFD packet to send [14:25:33]OFD Sender: No OFD packet to send [14:25:38]OFD Sender: No OFD packet to send [14:25:43]OFD Sender: No OFD packet to send [14:25:48]OFD Sender: No OFD packet to send [14:25: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:03]OFD Sender: No OFD packet to send [14:28:08]OFD Sender: No OFD packet to send [14:28:13]OFD Sender: No OFD packet to send [14:28:18]OFD Sender: No OFD packet to send [14:28:23]OFD Sender: No OFD packet to send [14:28:28]OFD Sender: No OFD packet to send [14:28:33]OFD Sender: No OFD packet to send [14:28:38]OFD Sender: No OFD packet to send [14:28:43]OFD Sender: No OFD packet to send [14:28:48]OFD Sender: No OFD packet to send [14:28:53]OFD Sender: No OFD packet to send [14:28:58]OFD Sender: No OFD packet to send [14:29:03]OFD Sender: No OFD packet to send [14:29:08]OFD Sender: No OFD packet to send [14:29:13]OFD Sender: No OFD packet to send [14:29:18]OFD Sender: No OFD packet to send [14:29:23]OFD Sender: No OFD packet to send [14:29:28]OFD Sender: No OFD packet to send [14:29:33]OFD Sender: No OFD packet to send [14:29:38]OFD Sender: No OFD packet to send [14:29:43]OFD Sender: No OFD packet to send [14:29:48]OFD Sender: No OFD packet to send [14:29:53]OFD Sender: No OFD packet to send [14:29:58]OFD Sender: No OFD packet to send [14:30:03]OFD Sender: No OFD packet to send [14:30:08]OFD Sender: No OFD packet to send [14:30:13]OFD Sender: No OFD packet to send [14:30:18]OFD Sender: No OFD packet to send [14:30:23]OFD Sender: No OFD packet to send [14:30:28]OFD Sender: No OFD packet to send [14:30:33]OFD Sender: No OFD packet to send [14:30:38]OFD Sender: No OFD packet to send [14:30:43]OFD Sender: No OFD packet to send [14:30:48]OFD Sender: No OFD packet to send [14:30:53]OFD Sender: No OFD packet to send [14:30:58]OFD Sender: No OFD packet to send [14:31:03]OFD Sender: No OFD packet to send [14:31:08]OFD Sender: No OFD packet to send [14:31:13]OFD Sender: No OFD packet to send [14:31:18]OFD Sender: No OFD packet to send [14:31:23]OFD Sender: No OFD packet to send [14:31:28]OFD Sender: No OFD packet to send [14:31:33]OFD Sender: No OFD packet to send [14:31:38]OFD Sender: No OFD packet to send [14:31:43]OFD Sender: No OFD packet to send [14:31:48]OFD Sender: No OFD packet to send [14:31:53]OFD Sender: No OFD packet to send [14:31:58]OFD Sender: No OFD packet to send [14:32:03]OFD Sender: No OFD packet to send [14:32:08]OFD Sender: No OFD packet to send [14:32:13]OFD Sender: No OFD packet to send [14:32:18]OFD Sender: No OFD packet to send [14:32:23]OFD Sender: No OFD packet to send [14:32:28]OFD Sender: No OFD packet to send [14:32:33]OFD Sender: No OFD packet to send [14:32:38]OFD Sender: No OFD packet to send [14:32:43]OFD Sender: No OFD packet to send [14:32:48]OFD Sender: No OFD packet to send [14:32:53]OFD Sender: No OFD packet to send [14:32:58]OFD Sender: No OFD packet to send [14:33:03]OFD Sender: No OFD packet to send [14:33:08]OFD Sender: No OFD packet to send [14:33:13]OFD Sender: No OFD packet to send [14:33:18]OFD Sender: No OFD packet to send [14:33:23]OFD Sender: No OFD packet to send [14:33:28]OFD Sender: No OFD packet to send [14:33:33]OFD Sender: No OFD packet to send [14:33:38]OFD Sender: No OFD packet to send [14:33:43]OFD Sender: No OFD packet to send [14:33:48]OFD Sender: No OFD packet to send [14:33:53]OFD Sender: No OFD packet to send [14:33:58]OFD Sender: No OFD packet to send [14:34:03]OFD Sender: No OFD packet to send [14:34:08]OFD Sender: No OFD packet to send [14:34:13]OFD Sender: No OFD packet to send [14:34:18]OFD Sender: No OFD packet to send [14:34:23]OFD Sender: No OFD packet to send [14:34:28]OFD Sender: No OFD packet to send [14:34:33]OFD Sender: No OFD packet to send [14:34:38]OFD Sender: No OFD packet to send [14:34:43]OFD Sender: No OFD packet to send [14:34:48]OFD Sender: No OFD packet to send [14:34:53]OFD Sender: No OFD packet to send [14:34:58]OFD Sender: No OFD packet to send [14:35:03]OFD Sender: No OFD packet to send [14:35:08]OFD Sender: No OFD packet to send [14:35:13]OFD Sender: No OFD packet to send [14:35:18]OFD Sender: No OFD packet to send [14:35:23]OFD Sender: No OFD packet to send [14:35:24]accept exits with 10 [14:35:24]New connection [14:35:24]New thread 3067297124 created [14:35:24]Thread 3067440484 joined [14:35:24]Waiting for new connection... [14:35:24] Sock 10.Parse request [14:35:24]Sock 10.Check first char [14:35:24]Sock 10.First char is OK [14:35:24]request: POST /json_proto HTTP/1.0 [14:35:24]Method: POST [14:35:24]URL: /json_proto [14:35:24]Method is POST - this is cgi request [14:35:24]url: /json_proto [14:35:24]query_string will be loaded in cgi processing [14:35:24]execute_cgi json_proto POST (null) [14:35:24]execute_cgi path=json_proto method=POST [14:35:24]POST find Content-Length [14:35:24]Host: 172.17.40.196:8080 [14:35:24]Content-Length: 654 [14:35:24]Content-Type: application/json [14:35:24] [14:35:24]POST finish read [14:35:24]Found Content-Length = 654 [14:35:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35097", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 69.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:35:24]execute_script... [14:35: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)35097", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 69.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:35:24]POST & json_proto [14:35:24]process_json_proto [14:35:24]json parsed OK: [14:35:24]protocol is kg_v1.0 [14:35:24]action value=close_receipt [14:35:24]process_action close_receipt [14:35:24]cmd_close_receipt [14:35:24]MH_GetDate [14:35:24]Write to MH i2c: F0 00 00 96 22 A7 [14:35:24]Write i2c OK [14:35:24]MH_I2C_Read... [14:35:24]Read from MH i2c: F0 [14:35:24]MH_I2C_Read... [14:35:24]Read from MH i2c: F0 09 00 [14:35:24]MH_I2C_Read... [14:35:24]Read from MH i2c: F0 09 00 96 22 00 34 A1 1F 67 5B 68 A1 66 D5 [14:35:24]GetLastDocTimeStamp 1730124982 [14:35:24]current date 1730126132 [14:35:24]FM_GetShiftState [14:35:24]SAM_PROTO_GetShiftState [14:35:24]wFMCommunicate request_size=4 [14:35:24]MH_SAM_APDU [14:35:24]CAPDU: 80 13 01 00 [14:35:24]Write to MH i2c: E2 08 00 97 22 80 13 01 00 00 00 00 00 36 [14:35:24]Write i2c OK [14:35:24]MH_I2C_Read... [14:35:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:35:24]Read from MH i2c: E2 [14:35:24]MH_I2C_Read... [14:35:24]Read from MH i2c: E2 0E 00 [14:35:24]MH_I2C_Read... [14:35:24]Read from MH i2c: E2 0E 00 97 22 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 B8 [14:35:24]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [14:35:24]wFMCommunicate OK [14:35:24]SAM_PROTO_GetShiftState done [14:35:24]FM_GetShiftState done [14:35:24]opened in 1730073884 [14:35:24]opened+sec_in_day 1730160284 [14:35:24]quantity*price = 6900 [14:35:24]sum+1 = 6901 [14:35:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 69.00 НСП 1% : 0.61 НДС 12% : 7.33 Наличными: 69.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 41 28.10.2024 14:35 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37798 ФПД: 152945665737293 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T143532&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37798&fm=152945665737293&tin=02508201610067®Number=0000000000091684&sum=6900 0 [14:35:26]StoreToDocumentArchive [14:35:26]shift 551 fd 37798 [14:35:26]save to /storage/0551/doc_00037798 [14:35:26]save last doc name /storage/0551/doc_00037798 to /storage/kkm_last_doc_name [14:35:26]save OK [14:35:26]Clear old archive folders... [14:35:26]ProcessDocumentItem done err = 0, tmpTLVsize=294 [14:35:26]tlvbuf is 00230310 [14:35:26]SAM_PROTO_ClearQueue [14:35:26]wFMCommunicate request_size=4 [14:35:26]MH_SAM_APDU [14:35:26]CAPDU: 80 09 00 00 [14:35:26]Write to MH i2c: E2 08 00 A4 22 80 09 00 00 00 00 00 00 38 [14:35:26]Write i2c OK [14:35:26]MH_I2C_Read... [14:35:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:35:26]Read from MH i2c: E2 [14:35:26]MH_I2C_Read... [14:35:26]Read from MH i2c: E2 03 00 [14:35:26]MH_I2C_Read... [14:35:26]Read from MH i2c: E2 03 00 A4 22 00 90 00 3A [14:35:26]RAPDU: 90 00 [14:35:26]wFMCommunicate OK [14:35:26]SAM_PROTO_ClearQueue done [14:35:26]KKMCreateOFDPacket [14:35:26]OFDProtocolAddRootSTLVToBuf [14:35:26]FM_MakeSignedData [14:35:26]FM_MakeSignedData [14:35:26]SAM_PROTO_SignData [14:35:26]wFMCommunicate request_size=4 [14:35:26]MH_SAM_APDU [14:35:26]CAPDU: 80 0D 01 02 [14:35:26]Write to MH i2c: E2 08 00 A5 22 80 0D 01 02 00 00 00 00 40 [14:35:26]Write i2c OK [14:35:26]MH_I2C_Read... [14:35:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:35:26]Read from MH i2c: E2 [14:35:26]MH_I2C_Read... [14:35:26]Read from MH i2c: E2 03 00 [14:35:26]MH_I2C_Read... [14:35:26]Read from MH i2c: E2 03 00 A5 22 00 90 00 3B [14:35:26]RAPDU: 90 00 [14:35:26]wFMCommunicate OK [14:35:26]wFMCommunicate request_size=255 [14:35:26]MH_SAM_APDU [14:35:26]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 34 A1 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [14:35:26]Write to MH i2c: E2 02 01 A6 22 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 34 A1 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 FC [14:35:26]Write i2c OK [14:35:26]MH_I2C_Read... [14:35:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:35:26]Read from MH i2c: E2 [14:35:26]MH_I2C_Read... [14:35:26]Read from MH i2c: E2 03 00 [14:35:26]MH_I2C_Read... [14:35:26]Read from MH i2c: E2 03 00 A6 22 00 90 00 3C [14:35:26]RAPDU: 90 00 [14:35:26]wFMCommunicate OK [14:35:26]wFMCommunicate request_size=53 [14:35:26]MH_SAM_APDU [14:35:26]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A6 93 00 00 35 04 06 00 8B 1A 70 13 82 4D [14:35:26]Write to MH i2c: E2 38 00 A7 22 80 0D 02 02 30 00 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A6 93 00 00 35 04 06 00 8B 1A 70 13 82 4D 00 00 68 [14:35:26]Write i2c OK [14:35:26]MH_I2C_Read... [14:35:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:35:26]Read from MH i2c: E2 [14:35:26]MH_I2C_Read... [14:35:26]Read from MH i2c: E2 03 00 [14:35:26]MH_I2C_Read... [14:35:26]Read from MH i2c: E2 03 00 A7 22 00 90 00 3D [14:35:26]RAPDU: 90 00 [14:35:26]wFMCommunicate OK [14:35:26]wFMCommunicate request_size=4 [14:35:26]MH_SAM_APDU [14:35:26]CAPDU: 80 0D 03 02 [14:35:26]Write to MH i2c: E2 08 00 A8 22 80 0D 03 02 00 00 00 00 45 [14:35:26]Write i2c OK [14:35:26]MH_I2C_Read... [14:35:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:35:26]Read from MH i2c: E2 [14:35:26]MH_I2C_Read... [14:35:26]Read from MH i2c: E2 0B 00 [14:35:26]MH_I2C_Read... [14:35:26]Read from MH i2c: E2 0B 00 A8 22 00 87 0D BF 8D A5 BD 72 D0 90 00 CA [14:35:26]RAPDU: 87 0D BF 8D A5 BD 72 D0 90 00 [14:35:26]wFMCommunicate OK [14:35:26]SAM_PROTO_SignData done [14:35:26]FM_MakeSignedData done [14:35:26]CreateOFDProtocolMessage [14:35:26]wFMCommunicate request_size=4 [14:35:26]MH_SAM_APDU [14:35:26]CAPDU: 80 11 00 00 [14:35:26]Write to MH i2c: E2 08 00 A9 22 80 11 00 00 00 00 00 00 45 [14:35:26]Write i2c OK [14:35:26]MH_I2C_Read... [14:35:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:35:26]Read from MH i2c: E2 [14:35:26]MH_I2C_Read... [14:35:26]Read from MH i2c: E2 17 00 [14:35:26]MH_I2C_Read... [14:35:26]Read from MH i2c: E2 17 00 A9 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 95 [14:35:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:35:26]wFMCommunicate OK [14:35:26]CreateOFDProtocolMessage done [14:35:26]OFDSenderStorePacket 37798 [14:35:26]StoreOFDPacket docnum=37798 [14:35:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3A 01 00 00 71 95 32 01 90 41 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 34 A1 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A6 93 00 00 35 04 06 00 8B 1A 70 13 82 4D 87 0D BF 8D A5 BD 72 D0 [14:35:26]CheckFolder [14:35:26]dirname=/storage/ofd_packets [14:35:26]CheckFolder done [14:35:26]ProducePacketName [14:35:26]name=ofd_packets/00037798 [14:35:26]NVStorageSaveData ofd_packets/00037798 [14:35:26]File name is /storage/ofd_packets/00037798 [14:35:26]Write 344 bytes [14:35:26]NVStorageSaveData done [14:35:26]OFDSenderStorePacket done [14:35:26]KKMCreateOFDPacket done [14:35:26]NVStorageSaveData kkm_last_timestamp [14:35:26]File name is /storage/kkm_last_timestamp [14:35:26]Write 4 bytes [14:35:26]NVStorageSaveData done [14:35:26]ExternCall_PrintAddStr [14:35:26]wPrintStart [14:35:26]Write to MH i2c: 01 00 00 AA 22 CC [14:35:26]Write i2c OK [14:35:26]MH_I2C_Read... [14:35:26]Read from MH i2c: 01 [14:35:26]MH_I2C_Read... [14:35:26]Read from MH i2c: 01 07 00 [14:35:26]MH_I2C_Read... [14:35:26]Read from MH i2c: 01 07 00 AA 22 00 00 00 00 00 FF 0F E1 [14:35:26]RasterBufferAndPrint [14:35:26]line Счет N : (3)35097 [14:35:26]line ИНН: 02508201610067 [14:35:26]line Контрольно-Кассовый Чек [14:35:26]line ПРОДАЖА [14:35:26]line Товар: 4600682557456 [14:35:26]line Напиток FLash up energy эн ж/б 0,5/0,45л [14:35:26]line 1.000 * 69.00 [14:35:26]line = 69.00 [14:35:26]line НДС 12% НСП 1% [14:35:26]line > о реализуемом товаре [14:35:26]line ИТОГО: 69.00 [14:35:26]line НСП 1% : 0.61 [14:35:26]line НДС 12% : 7.33 [14:35:26]line Наличными: 69.00 [14:35:26]line Безнал.: 0.00 [14:35:26]line Место: АЗС № 126 "Партнер Нефть" [14:35:26]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [14:35:26]line СНО: Общий режим [14:35:26]line Чек 41 28.10.2024 14:35 [14:35:26]line Смена: 551 ФФД: 1.0 [14:35:26]line ЗНМ: 0300000092 [14:35:26]line РНМ: 0000000000091684 [14:35:26]line Версия ККМ: 001 [14:35:26]line ФМ: 0000000000871841 [14:35:26]line ФД: 37798 [14:35:26]line ФПД: 152945665737293 [14:35:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T143532&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37798&fm=152945665737293&tin=02508201610067®Number=0000000000091684&sum=6900 [14:35:26]OFD Sender: Processing packet 37798 [packets to send 42, broken 41] [14:35:26]ProducePacketName [14:35:26]name=ofd_packets/00037798 [14:35:26]OFD Sender: To server: pG, [14:35:26]CommunicateWithHost lk.salyk.kg:30040 [14:35:26]ConnectInit lk.salyk.kg [14:35:26]line 0 [14:35:26]written 0, free lines is 4095 [14:35:27]Write to MH i2c: 01 00 00 D3 22 F5 [14:35:27]Write i2c OK [14:35:27]MH_I2C_Read... [14:35:27]Read from MH i2c: 01 [14:35:27]MH_I2C_Read... [14:35:27]Read from MH i2c: 01 07 00 [14:35:27]MH_I2C_Read... [14:35:27]Read from MH i2c: 01 07 00 D3 22 00 00 00 00 00 AF 0C B7 [14:35:27]RasterBufferAndPrint [14:35:27]line [14:35:27]line [14:35:27]line [14:35:27]line [14:35:27]line [14:35:27]written 0, free lines is 3251 [14:35:27]MH_Cut [14:35:27]Write to MH i2c: D1 01 00 DA 22 01 CE [14:35:27]Write i2c OK [14:35:27]MH_I2C_Read... [14:35:27]Read from MH i2c: D1 [14:35:27]MH_I2C_Read... [14:35:27]Read from MH i2c: D1 01 00 [14:35:27]MH_I2C_Read... [14:35:27]Read from MH i2c: D1 01 00 DA 22 00 CD [14:35:27]Write to MH i2c: 01 00 00 DB 22 FD [14:35:27]Write i2c OK [14:35:27]MH_I2C_Read... [14:35:27]Connected sock=9 [14:35: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 38 34 31 3A 01 00 00 71 95 32 01 90 41 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 34 A1 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A6 93 00 00 35 04 06 00 8B 1A 70 13 82 4D 87 0D BF 8D A5 BD 72 D0 [14:35:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 DA 31 47 00 09 A3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 A6 93 00 00 F4 03 04 00 2A 4C 1F 67 B6 04 01 00 00 67 B7 58 E2 02 CD 97 97 [14:35:28]CommunicateWithHost err = 0 [14:35:28]CheckOFDResponse [14:35:28]1017 (14) - 77093643461234 [14:35:28]1041 (16) - 0000000000871841 [14:35:28]1040 (4) - 37798 [14:35:28]1012 (4) - 28.10.2024 08:32 [14:35:28]1206 (1) - 0 [14:35:28]OFD Sender: Remove packet 37798 [14:35:28]ProducePacketName [14:35:28]name=ofd_packets/00037798 [14:35:28]NVStorageDeleteData [14:35:28]*** Cut start [14:35:28]*** Partial cut [14:35:28]*** CUTSNS_PIN = 1 [14:35:28]*** CUTSNS_PIN = 0 [14:35:28]*** Brake cut motor [14:35:28]OFD Sender: No OFD packet to send [14:35:28]Read from MH i2c: 01 [14:35:28]MH_I2C_Read... [14:35:28]*** Stop cut motor [14:35:28]*** Cut end [14:35:28]Read from MH i2c: 01 07 00 [14:35:28]MH_I2C_Read... [14:35:28]Read from MH i2c: 01 07 00 DB 22 00 00 00 00 00 FF 0F 12 [14:35:28]process_action close_receipt done [14:35:28]requested_data is exist [14:35:28]produce_requested_data [14:35:28]requested_item fm.sn is exist - process it [14:35:28]wFMCommunicate request_size=4 [14:35:28]MH_SAM_APDU [14:35:28]CAPDU: 80 11 00 00 [14:35:28]Write to MH i2c: E2 08 00 DC 22 80 11 00 00 00 00 00 00 78 [14:35:28]Write i2c OK [14:35:28]MH_I2C_Read... [14:35:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:35:28]Read from MH i2c: E2 [14:35:28]MH_I2C_Read... [14:35:28]Read from MH i2c: E2 17 00 [14:35:28]MH_I2C_Read... [14:35:28]Read from MH i2c: E2 17 00 DC 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 C8 [14:35:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:35:28]wFMCommunicate OK [14:35:28]requested_item fd.num is exist - process it [14:35:28]SAM_PROTO_GetFieldsCounters [14:35:28]wFMCommunicate request_size=4 [14:35:28]MH_SAM_APDU [14:35:28]CAPDU: 80 13 00 00 [14:35:28]Write to MH i2c: E2 08 00 DD 22 80 13 00 00 00 00 00 00 7B [14:35:28]Write i2c OK [14:35:28]MH_I2C_Read... [14:35:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:35:29]Read from MH i2c: E2 [14:35:29]MH_I2C_Read... [14:35:29]Read from MH i2c: E2 62 00 [14:35:29]MH_I2C_Read... [14:35:29]Read from MH i2c: E2 62 00 DD 22 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 A6 93 00 00 0E 04 04 00 27 02 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 79 [14:35: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 A6 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:35:29]wFMCommunicate OK [14:35:29]SAM_PROTO_GetFieldsCounters done [14:35:29]requested_item shift.num is exist - process it [14:35:29]requested_item shift.opened is exist - process it [14:35:29]req_shift_opened [14:35:29]FM_GetShiftState [14:35:29]SAM_PROTO_GetShiftState [14:35:29]wFMCommunicate request_size=4 [14:35:29]MH_SAM_APDU [14:35:29]CAPDU: 80 13 01 00 [14:35:29]Write to MH i2c: E2 08 00 DE 22 80 13 01 00 00 00 00 00 7D [14:35:29]Write i2c OK [14:35:29]MH_I2C_Read... [14:35:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:35:29]Read from MH i2c: E2 [14:35:29]MH_I2C_Read... [14:35:29]Read from MH i2c: E2 0E 00 [14:35:29]MH_I2C_Read... [14:35:29]Read from MH i2c: E2 0E 00 DE 22 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 FF [14:35:29]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [14:35:29]wFMCommunicate OK [14:35:29]SAM_PROTO_GetShiftState done [14:35:29]FM_GetShiftState done [14:35:29]req_shift_opened done [14:35:29]requested_item shift.open_date is exist - process it [14:35:29]req_shift_open_date [14:35:29]req_shift_open_date done [14:35:29]produce_requested_data done [14:35:29]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37798,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [14:35:29]process_action_free close_receipt [14:35:29]json_value_free [14:35:29]json_value_free done [14:35:29]process_json_proto returns [14:35:29]Send response to host [14:35:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37798,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [14:35:29]free response buf [14:35:29]execute_script done [14:35:29]execute_script returns [14:35:29]free content buf [14:35:29]Sock 10.Close socket [14:35:29]Sock 10.Thread stoped [14:35:33]OFD Sender: No OFD packet to send [14:35:38]OFD Sender: No OFD packet to send [14:35:43]OFD Sender: No OFD packet to send [14:35:48]OFD Sender: No OFD packet to send [14:35:53]OFD Sender: No OFD packet to send [14:35:58]OFD Sender: No OFD packet to send [14:36:03]OFD Sender: No OFD packet to send [14:36:08]OFD Sender: No OFD packet to send [14:36:13]OFD Sender: No OFD packet to send [14:36:18]OFD Sender: No OFD packet to send [14:36:23]OFD Sender: No OFD packet to send [14:36:28]OFD Sender: No OFD packet to send [14:36:33]OFD Sender: No OFD packet to send [14:36:38]OFD Sender: No OFD packet to send [14:36:43]OFD Sender: No OFD packet to send [14:36:48]OFD Sender: No OFD packet to send [14:36:53]OFD Sender: No OFD packet to send [14:36:58]OFD Sender: No OFD packet to send [14:37:03]OFD Sender: No OFD packet to send [14:37:08]OFD Sender: No OFD packet to send [14:37:13]OFD Sender: No OFD packet to send [14:37:18]OFD Sender: No OFD packet to send [14:37:23]OFD Sender: No OFD packet to send [14:37:28]OFD Sender: No OFD packet to send [14:37:33]OFD Sender: No OFD packet to send [14:37:38]OFD Sender: No OFD packet to send [14:37:43]OFD Sender: No OFD packet to send [14:37:48]OFD Sender: No OFD packet to send [14:37:53]OFD Sender: No OFD packet to send [14:37:58]OFD Sender: No OFD packet to send [14:38:03]OFD Sender: No OFD packet to send [14:38:08]OFD Sender: No OFD packet to send [14:38:13]OFD Sender: No OFD packet to send [14:38:18]OFD Sender: No OFD packet to send [14:38:23]OFD Sender: No OFD packet to send [14:38:28]OFD Sender: No OFD packet to send [14:38:33]OFD Sender: No OFD packet to send [14:38:38]OFD Sender: No OFD packet to send [14:38:43]OFD Sender: No OFD packet to send [14:38:48]OFD Sender: No OFD packet to send [14:38:53]OFD Sender: No OFD packet to send [14:38:58]OFD Sender: No OFD packet to send [14:39:03]OFD Sender: No OFD packet to send [14:39:08]OFD Sender: No OFD packet to send [14:39:13]OFD Sender: No OFD packet to send [14:39:18]OFD Sender: No OFD packet to send [14:39:23]OFD Sender: No OFD packet to send [14:39:28]OFD Sender: No OFD packet to send [14:39:33]OFD Sender: No OFD packet to send [14:39:38]OFD Sender: No OFD packet to send [14:39:43]OFD Sender: No OFD packet to send [14:39:48]OFD Sender: No OFD packet to send [14:39:53]OFD Sender: No OFD packet to send [14:39:58]OFD Sender: No OFD packet to send [14:40:03]OFD Sender: No OFD packet to send [14:40:08]OFD Sender: No OFD packet to send [14:40:13]OFD Sender: No OFD packet to send [14:40:18]OFD Sender: No OFD packet to send [14:40:23]OFD Sender: No OFD packet to send [14:40:28]OFD Sender: No OFD packet to send [14:40:33]OFD Sender: No OFD packet to send [14:40:38]OFD Sender: No OFD packet to send [14:40:43]OFD Sender: No OFD packet to send [14:40:48]OFD Sender: No OFD packet to send [14:40:53]OFD Sender: No OFD packet to send [14:40:58]OFD Sender: No OFD packet to send [14:41:03]OFD Sender: No OFD packet to send [14:41:08]OFD Sender: No OFD packet to send [14:41:13]OFD Sender: No OFD packet to send [14:41:18]OFD Sender: No OFD packet to send [14:41:23]OFD Sender: No OFD packet to send [14:41:28]OFD Sender: No OFD packet to send [14:41:33]OFD Sender: No OFD packet to send [14:41:38]OFD Sender: No OFD packet to send [14:41:43]OFD Sender: No OFD packet to send [14:41:48]OFD Sender: No OFD packet to send [14:41:53]OFD Sender: No OFD packet to send [14:41:58]OFD Sender: No OFD packet to send [14:42:03]OFD Sender: No OFD packet to send [14:42:08]OFD Sender: No OFD packet to send [14:42:13]OFD Sender: No OFD packet to send [14:42:18]OFD Sender: No OFD packet to send [14:42:24]OFD Sender: No OFD packet to send [14:42:29]OFD Sender: No OFD packet to send [14:42:34]OFD Sender: No OFD packet to send [14:42:39]OFD Sender: No OFD packet to send [14:42:44]OFD Sender: No OFD packet to send [14:42:49]OFD Sender: No OFD packet to send [14:42:54]OFD Sender: No OFD packet to send [14:42:59]OFD Sender: No OFD packet to send [14:43:04]OFD Sender: No OFD packet to send [14:43:09]OFD Sender: No OFD packet to send [14:43:14]OFD Sender: No OFD packet to send [14:43:19]OFD Sender: No OFD packet to send [14:43:24]OFD Sender: No OFD packet to send [14:43:29]OFD Sender: No OFD packet to send [14:43:34]OFD Sender: No OFD packet to send [14:43:39]OFD Sender: No OFD packet to send [14:43:44]OFD Sender: No OFD packet to send [14:43:49]OFD Sender: No OFD packet to send [14:43:54]OFD Sender: No OFD packet to send [14:43:59]OFD Sender: No OFD packet to send [14:44:04]OFD Sender: No OFD packet to send [14:44:09]OFD Sender: No OFD packet to send [14:44:14]OFD Sender: No OFD packet to send [14:44:19]OFD Sender: No OFD packet to send [14:44:24]OFD Sender: No OFD packet to send [14:44:29]OFD Sender: No OFD packet to send [14:44:34]OFD Sender: No OFD packet to send [14:44:39]OFD Sender: No OFD packet to send [14:44:44]OFD Sender: No OFD packet to send [14:44:49]OFD Sender: No OFD packet to send [14:44:54]OFD Sender: No OFD packet to send [14:44:59]OFD Sender: No OFD packet to send [14:45:04]OFD Sender: No OFD packet to send [14:45:09]OFD Sender: No OFD packet to send [14:45:14]OFD Sender: No OFD packet to send [14:45:19]OFD Sender: No OFD packet to send [14:45:24]OFD Sender: No OFD packet to send [14:45:29]OFD Sender: No OFD packet to send [14:45:34]OFD Sender: No OFD packet to send [14:45:39]OFD Sender: No OFD packet to send [14:45:44]OFD Sender: No OFD packet to send [14:45:49]OFD Sender: No OFD packet to send [14:45:54]OFD Sender: No OFD packet to send [14:45:59]OFD Sender: No OFD packet to send [14:46:04]OFD Sender: No OFD packet to send [14:46:09]OFD Sender: No OFD packet to send [14:46:14]OFD Sender: No OFD packet to send [14:46:19]OFD Sender: No OFD packet to send [14:46:24]OFD Sender: No OFD packet to send [14:46:29]OFD Sender: No OFD packet to send [14:46:34]OFD Sender: No OFD packet to send [14:46:39]OFD Sender: No OFD packet to send [14:46:44]OFD Sender: No OFD packet to send [14:46:49]OFD Sender: No OFD packet to send [14:46:54]OFD Sender: No OFD packet to send [14:46:59]OFD Sender: No OFD packet to send [14:47:04]OFD Sender: No OFD packet to send [14:47:09]OFD Sender: No OFD packet to send [14:47:14]OFD Sender: No OFD packet to send [14:47:19]OFD Sender: No OFD packet to send [14:47:24]OFD Sender: No OFD packet to send [14:47:29]OFD Sender: No OFD packet to send [14:47:34]OFD Sender: No OFD packet to send [14:47:39]OFD Sender: No OFD packet to send [14:47:44]OFD Sender: No OFD packet to send [14:47:49]OFD Sender: No OFD packet to send [14:47:54]OFD Sender: No OFD packet to send [14:47:59]OFD Sender: No OFD packet to send [14:48:04]OFD Sender: No OFD packet to send [14:48:09]OFD Sender: No OFD packet to send [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:29]OFD Sender: No OFD packet to send [15:00:34]OFD Sender: No OFD packet to send [15:00:39]OFD Sender: No OFD packet to send [15:00:44]OFD Sender: No OFD packet to send [15:00: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:20]OFD Sender: No OFD packet to send [15:01:25]OFD Sender: No OFD packet to send [15:01:30]OFD Sender: No OFD packet to send [15:01:35]OFD Sender: No OFD packet to send [15:01:40]OFD Sender: No OFD packet to send [15:01:45]OFD Sender: No OFD packet to send [15:01:50]OFD Sender: No OFD packet to send [15:01:55]OFD Sender: No OFD packet to send [15:02:00]OFD Sender: No OFD packet to send [15:02:05]OFD Sender: No OFD packet to send [15:02:10]OFD Sender: No OFD packet to send [15:02:15]OFD Sender: No OFD packet to send [15:02:20]OFD Sender: No OFD packet to send [15:02:25]OFD Sender: No OFD packet to send [15:02:30]OFD Sender: No OFD packet to send [15:02:35]OFD Sender: No OFD packet to send [15:02:40]OFD Sender: No OFD packet to send [15:02:45]OFD Sender: No OFD packet to send [15:02:50]OFD Sender: No OFD packet to send [15:02:55]OFD Sender: No OFD packet to send [15:03:00]OFD Sender: No OFD packet to send [15:03:05]OFD Sender: No OFD packet to send [15:03:10]OFD Sender: No OFD packet to send [15:03:15]OFD Sender: No OFD packet to send [15:03:20]OFD Sender: No OFD packet to send [15:03:25]OFD Sender: No OFD packet to send [15:03:30]OFD Sender: No OFD packet to send [15:03:35]OFD Sender: No OFD packet to send [15:03:40]OFD Sender: No OFD packet to send [15:03:45]OFD Sender: No OFD packet to send [15:03:50]OFD Sender: No OFD packet to send [15:03:55]OFD Sender: No OFD packet to send [15:04:00]OFD Sender: No OFD packet to send [15:04:05]OFD Sender: No OFD packet to send [15:04:10]OFD Sender: No OFD packet to send [15:04:15]OFD Sender: No OFD packet to send [15:04:20]OFD Sender: No OFD packet to send [15:04:25]OFD Sender: No OFD packet to send [15:04:30]OFD Sender: No OFD packet to send [15:04:35]OFD Sender: No OFD packet to send [15:04:40]OFD Sender: No OFD packet to send [15:04:45]OFD Sender: No OFD packet to send [15:04:50]OFD Sender: No OFD packet to send [15:04:55]OFD Sender: No OFD packet to send [15:05:00]OFD Sender: No OFD packet to send [15:05:05]OFD Sender: No OFD packet to send [15:05:10]OFD Sender: No OFD packet to send [15:05:15]OFD Sender: No OFD packet to send [15:05:20]OFD Sender: No OFD packet to send [15:05:25]OFD Sender: No OFD packet to send [15:05:30]OFD Sender: No OFD packet to send [15:05:35]OFD Sender: No OFD packet to send [15:05:40]OFD Sender: No OFD packet to send [15:05:45]OFD Sender: No OFD packet to send [15:05:50]OFD Sender: No OFD packet to send [15:05:55]OFD Sender: No OFD packet to send [15:06:00]OFD Sender: No OFD packet to send [15:06:05]OFD Sender: No OFD packet to send [15:06:10]OFD Sender: No OFD packet to send [15:06:15]OFD Sender: No OFD packet to send [15:06:20]OFD Sender: No OFD packet to send [15:06:25]OFD Sender: No OFD packet to send [15:06:30]OFD Sender: No OFD packet to send [15:06:35]OFD Sender: No OFD packet to send [15:06:40]OFD Sender: No OFD packet to send [15:06:45]OFD Sender: No OFD packet to send [15:06:50]OFD Sender: No OFD packet to send [15:06:55]OFD Sender: No OFD packet to send [15:07:00]OFD Sender: No OFD packet to send [15:07:05]OFD Sender: No OFD packet to send [15:07:10]OFD Sender: No OFD packet to send [15:07:15]OFD Sender: No OFD packet to send [15:07:20]OFD Sender: No OFD packet to send [15:07:25]OFD Sender: No OFD packet to send [15:07:30]OFD Sender: No OFD packet to send [15:07:35]OFD Sender: No OFD packet to send [15:07:40]OFD Sender: No OFD packet to send [15:07:45]OFD Sender: No OFD packet to send [15:07:50]OFD Sender: No OFD packet to send [15:07:55]OFD Sender: No OFD packet to send [15:08:00]OFD Sender: No OFD packet to send [15:08:05]OFD Sender: No OFD packet to send [15:08:10]OFD Sender: No OFD packet to send [15:08:15]OFD Sender: No OFD packet to send [15:08:20]OFD Sender: No OFD packet to send [15:08:25]OFD Sender: No OFD packet to send [15:08:30]OFD Sender: No OFD packet to send [15:08:35]OFD Sender: No OFD packet to send [15:08:40]OFD Sender: No OFD packet to send [15:08:45]OFD Sender: No OFD packet to send [15:08:50]OFD Sender: No OFD packet to send [15:08:55]OFD Sender: No OFD packet to send [15:09:00]OFD Sender: No OFD packet to send [15:09:05]OFD Sender: No OFD packet to send [15:09:10]OFD Sender: No OFD packet to send [15:09:15]OFD Sender: No OFD packet to send [15:09:20]OFD Sender: No OFD packet to send [15:09:25]OFD Sender: No OFD packet to send [15:09:30]OFD Sender: No OFD packet to send [15:09:35]OFD Sender: No OFD packet to send [15:09:40]OFD Sender: No OFD packet to send [15:09:45]OFD Sender: No OFD packet to send [15:09:50]OFD Sender: No OFD packet to send [15:09:55]OFD Sender: No OFD packet to send [15:10:00]OFD Sender: No OFD packet to send [15:10:05]OFD Sender: No OFD packet to send [15:10:10]OFD Sender: No OFD packet to send [15:10:15]OFD Sender: No OFD packet to send [15:10:20]OFD Sender: No OFD packet to send [15:10:25]OFD Sender: No OFD packet to send [15:10:30]OFD Sender: No OFD packet to send [15:10:35]OFD Sender: No OFD packet to send [15:10:40]OFD Sender: No OFD packet to send [15:10:45]OFD Sender: No OFD packet to send [15:10:50]OFD Sender: No OFD packet to send [15:10:55]OFD Sender: No OFD packet to send [15:11:00]OFD Sender: No OFD packet to send [15:11:05]OFD Sender: No OFD packet to send [15:11:10]OFD Sender: No OFD packet to send [15:11:15]OFD Sender: No OFD packet to send [15:11:20]OFD Sender: No OFD packet to send [15:11:25]OFD Sender: No OFD packet to send [15:11:30]OFD Sender: No OFD packet to send [15:11:35]OFD Sender: No OFD packet to send [15:11:40]OFD Sender: No OFD packet to send [15:11:45]OFD Sender: No OFD packet to send [15:11:50]OFD Sender: No OFD packet to send [15:11:55]OFD Sender: No OFD packet to send [15:12:00]OFD Sender: No OFD packet to send [15:12:05]OFD Sender: No OFD packet to send [15:12:10]OFD Sender: No OFD packet to send [15:12:15]OFD Sender: No OFD packet to send [15:12:20]OFD Sender: No OFD packet to send [15:12:25]OFD Sender: No OFD packet to send [15:12:30]OFD Sender: No OFD packet to send [15:12:35]OFD Sender: No OFD packet to send [15:12:40]OFD Sender: No OFD packet to send [15:12:45]OFD Sender: No OFD packet to send [15:12:50]OFD Sender: No OFD packet to send [15:12:55]OFD Sender: No OFD packet to send [15:13:00]OFD Sender: No OFD packet to send [15:13:05]OFD Sender: No OFD packet to send [15:13:10]OFD Sender: No OFD packet to send [15:13:15]OFD Sender: No OFD packet to send [15:13:20]OFD Sender: No OFD packet to send [15:13:25]OFD Sender: No OFD packet to send [15:13:30]OFD Sender: No OFD packet to send [15:13:35]OFD Sender: No OFD packet to send [15:13:40]OFD Sender: No OFD packet to send [15:13:45]OFD Sender: No OFD packet to send [15:13:50]OFD Sender: No OFD packet to send [15:13:55]OFD Sender: No OFD packet to send [15:14:00]OFD Sender: No OFD packet to send [15:14:05]OFD Sender: No OFD packet to send [15:14:10]OFD Sender: No OFD packet to send [15:14:15]OFD Sender: No OFD packet to send [15:14:20]OFD Sender: No OFD packet to send [15:14:25]OFD Sender: No OFD packet to send [15:14:30]OFD Sender: No OFD packet to send [15:14:35]OFD Sender: No OFD packet to send [15:14:40]OFD Sender: No OFD packet to send [15:14:45]OFD Sender: No OFD packet to send [15:14:50]OFD Sender: No OFD packet to send [15:14:55]OFD Sender: No OFD packet to send [15:15:00]OFD Sender: No OFD packet to send [15:15:05]OFD Sender: No OFD packet to send [15:15:10]OFD Sender: No OFD packet to send [15:15:15]OFD Sender: No OFD packet to send [15:15:20]OFD Sender: No OFD packet to send [15:15:25]OFD Sender: No OFD packet to send [15:15:30]OFD Sender: No OFD packet to send [15:15:35]OFD Sender: No OFD packet to send [15:15:40]OFD Sender: No OFD packet to send [15:15:45]OFD Sender: No OFD packet to send [15:15:50]OFD Sender: No OFD packet to send [15:15:55]OFD Sender: No OFD packet to send [15:16:00]OFD Sender: No OFD packet to send [15:16:05]OFD Sender: No OFD packet to send [15:16:10]OFD Sender: No OFD packet to send [15:16:15]OFD Sender: No OFD packet to send [15:16:20]OFD Sender: No OFD packet to send [15:16:25]OFD Sender: No OFD packet to send [15:16:30]OFD Sender: No OFD packet to send [15:16:35]OFD Sender: No OFD packet to send [15:16:40]OFD Sender: No OFD packet to send [15:16:45]OFD Sender: No OFD packet to send [15:16:50]OFD Sender: No OFD packet to send [15:16:55]OFD Sender: No OFD packet to send [15:17:00]OFD Sender: No OFD packet to send [15:17:05]OFD Sender: No OFD packet to send [15:17:10]OFD Sender: No OFD packet to send [15:17:15]OFD Sender: No OFD packet to send [15:17:20]OFD Sender: No OFD packet to send [15:17:25]OFD Sender: No OFD packet to send [15:17:30]OFD Sender: No OFD packet to send [15:17:35]OFD Sender: No OFD packet to send [15:17:40]OFD Sender: No OFD packet to send [15:17:45]OFD Sender: No OFD packet to send [15:17:50]OFD Sender: No OFD packet to send [15:17:55]OFD Sender: No OFD packet to send [15:18:00]OFD Sender: No OFD packet to send [15:18:05]OFD Sender: No OFD packet to send [15:18:10]OFD Sender: No OFD packet to send [15:18:15]OFD Sender: No OFD packet to send [15:18:20]OFD Sender: No OFD packet to send [15:18:25]OFD Sender: No OFD packet to send [15:18:30]OFD Sender: No OFD packet to send [15:18:35]OFD Sender: No OFD packet to send [15:18:40]OFD Sender: No OFD packet to send [15:18:45]OFD Sender: No OFD packet to send [15:18:50]OFD Sender: No OFD packet to send [15:18:55]OFD Sender: No OFD packet to send [15:19:00]OFD Sender: No OFD packet to send [15:19:05]OFD Sender: No OFD packet to send [15:19:10]OFD Sender: No OFD packet to send [15:19:15]OFD Sender: No OFD packet to send [15:19:20]OFD Sender: No OFD packet to send [15:19:25]OFD Sender: No OFD packet to send [15:19:30]OFD Sender: No OFD packet to send [15:19:35]OFD Sender: No OFD packet to send [15:19:40]OFD Sender: No OFD packet to send [15:19:45]OFD Sender: No OFD packet to send [15:19:50]OFD Sender: No OFD packet to send [15:19:55]OFD Sender: No OFD packet to send [15:20:00]OFD Sender: No OFD packet to send [15:20:05]OFD Sender: No OFD packet to send [15:20:10]OFD Sender: No OFD packet to send [15:20:16]OFD Sender: No OFD packet to send [15:20:21]OFD Sender: No OFD packet to send [15:20:26]OFD Sender: No OFD packet to send [15:20:31]OFD Sender: No OFD packet to send [15:20:36]OFD Sender: No OFD packet to send [15:20:41]OFD Sender: No OFD packet to send [15:20:46]OFD Sender: No OFD packet to send [15:20:51]OFD Sender: No OFD packet to send [15:20:56]OFD Sender: No OFD packet to send [15:21:01]OFD Sender: No OFD packet to send [15:21:06]OFD Sender: No OFD packet to send [15:21:11]OFD Sender: No OFD packet to send [15:21:16]OFD Sender: No OFD packet to send [15:21:21]OFD Sender: No OFD packet to send [15:21:26]OFD Sender: No OFD packet to send [15:21:31]OFD Sender: No OFD packet to send [15:21:36]OFD Sender: No OFD packet to send [15:21:41]OFD Sender: No OFD packet to send [15:21:46]OFD Sender: No OFD packet to send [15:21:51]OFD Sender: No OFD packet to send [15:21:56]OFD Sender: No OFD packet to send [15:22:01]OFD Sender: No OFD packet to send [15:22:06]OFD Sender: No OFD packet to send [15:22:11]OFD Sender: No OFD packet to send [15:22:16]OFD Sender: No OFD packet to send [15:22:21]OFD Sender: No OFD packet to send [15:22:26]OFD Sender: No OFD packet to send [15:22:31]OFD Sender: No OFD packet to send [15:22:36]OFD Sender: No OFD packet to send [15:22:41]OFD Sender: No OFD packet to send [15:22:46]OFD Sender: No OFD packet to send [15:22:51]OFD Sender: No OFD packet to send [15:22:56]OFD Sender: No OFD packet to send [15:23:01]OFD Sender: No OFD packet to send [15:23:06]OFD Sender: No OFD packet to send [15:23:11]OFD Sender: No OFD packet to send [15:23:16]OFD Sender: No OFD packet to send [15:23:21]OFD Sender: No OFD packet to send [15:23:26]OFD Sender: No OFD packet to send [15:23:31]OFD Sender: No OFD packet to send [15:23:36]OFD Sender: No OFD packet to send [15:23:41]OFD Sender: No OFD packet to send [15:23:46]OFD Sender: No OFD packet to send [15:23:51]OFD Sender: No OFD packet to send [15:23:56]OFD Sender: No OFD packet to send [15:24:01]OFD Sender: No OFD packet to send [15:24:06]OFD Sender: No OFD packet to send [15:24:11]OFD Sender: No OFD packet to send [15:24:16]OFD Sender: No OFD packet to send [15:24:21]OFD Sender: No OFD packet to send [15:24:26]OFD Sender: No OFD packet to send [15:24:31]OFD Sender: No OFD packet to send [15:24:36]OFD Sender: No OFD packet to send [15:24:41]OFD Sender: No OFD packet to send [15:24:46]OFD Sender: No OFD packet to send [15:24:51]OFD Sender: No OFD packet to send [15:24:56]OFD Sender: No OFD packet to send [15:25:01]OFD Sender: No OFD packet to send [15:25:06]OFD Sender: No OFD packet to send [15:25:11]OFD Sender: No OFD packet to send [15:25:16]OFD Sender: No OFD packet to send [15:25:21]OFD Sender: No OFD packet to send [15:25:26]OFD Sender: No OFD packet to send [15:25:31]OFD Sender: No OFD packet to send [15:25:36]OFD Sender: No OFD packet to send [15:25:41]OFD Sender: No OFD packet to send [15:25:46]OFD Sender: No OFD packet to send [15:25:51]OFD Sender: No OFD packet to send [15:25:56]OFD Sender: No OFD packet to send [15:26:01]OFD Sender: No OFD packet to send [15:26:06]OFD Sender: No OFD packet to send [15:26:11]OFD Sender: No OFD packet to send [15:26:16]OFD Sender: No OFD packet to send [15:26:21]OFD Sender: No OFD packet to send [15:26:26]OFD Sender: No OFD packet to send [15:26:31]OFD Sender: No OFD packet to send [15:26:36]OFD Sender: No OFD packet to send [15:26:41]OFD Sender: No OFD packet to send [15:26:46]OFD Sender: No OFD packet to send [15:26:51]OFD Sender: No OFD packet to send [15:26:56]OFD Sender: No OFD packet to send [15:27:01]OFD Sender: No OFD packet to send [15:27:06]OFD Sender: No OFD packet to send [15:27:11]OFD Sender: No OFD packet to send [15:27:16]OFD Sender: No OFD packet to send [15:27:21]OFD Sender: No OFD packet to send [15:27:26]OFD Sender: No OFD packet to send [15:27:31]OFD Sender: No OFD packet to send [15:27:36]OFD Sender: No OFD packet to send [15:27:41]OFD Sender: No OFD packet to send [15:27:46]OFD Sender: No OFD packet to send [15:27:51]OFD Sender: No OFD packet to send [15:27:56]OFD Sender: No OFD packet to send [15:28:01]OFD Sender: No OFD packet to send [15:28:06]OFD Sender: No OFD packet to send [15:28:11]OFD Sender: No OFD packet to send [15:28:13]accept exits with 7 [15:28:13]New connection [15:28:13]New thread 3067440484 created [15:28:13]Thread 3067297124 joined [15:28:13]Waiting for new connection... [15:28:13] Sock 7.Parse request [15:28:13]Sock 7.Check first char [15:28:13]Sock 7.First char is OK [15:28:13]request: POST /json_proto HTTP/1.0 [15:28:13]Method: POST [15:28:13]URL: /json_proto [15:28:13]Method is POST - this is cgi request [15:28:13]url: /json_proto [15:28:13]query_string will be loaded in cgi processing [15:28:13]execute_cgi json_proto POST (null) [15:28:13]execute_cgi path=json_proto method=POST [15:28:13]POST find Content-Length [15:28:13]Host: 172.17.40.196:8080 [15:28:13]Content-Length: 645 [15:28:13]Content-Type: application/json [15:28:13] [15:28:13]POST finish read [15:28:13]Found Content-Length = 645 [15:28:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35098", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 3.000, "sum" : 390.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 390.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:28:13]execute_script... [15:28:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35098", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 3.000, "sum" : 390.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 390.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:28:13]POST & json_proto [15:28:13]process_json_proto [15:28:13]json parsed OK: [15:28:13]protocol is kg_v1.0 [15:28:13]action value=close_receipt [15:28:13]process_action close_receipt [15:28:13]cmd_close_receipt [15:28:13]MH_GetDate [15:28:13]Write to MH i2c: F0 00 00 DF 22 F0 [15:28:13]Write i2c OK [15:28:13]MH_I2C_Read... [15:28:13]Read from MH i2c: F0 [15:28:13]MH_I2C_Read... [15:28:13]Read from MH i2c: F0 09 00 [15:28:13]MH_I2C_Read... [15:28:13]Read from MH i2c: F0 09 00 DF 22 00 95 AD 1F 67 5B 68 A1 66 8B [15:28:13]GetLastDocTimeStamp 1730126132 [15:28:13]current date 1730129301 [15:28:13]FM_GetShiftState [15:28:13]SAM_PROTO_GetShiftState [15:28:13]wFMCommunicate request_size=4 [15:28:13]MH_SAM_APDU [15:28:13]CAPDU: 80 13 01 00 [15:28:13]Write to MH i2c: E2 08 00 E0 22 80 13 01 00 00 00 00 00 7F [15:28:13]Write i2c OK [15:28:13]MH_I2C_Read... [15:28:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:28:13]Read from MH i2c: E2 [15:28:13]MH_I2C_Read... [15:28:13]Read from MH i2c: E2 0E 00 [15:28:13]MH_I2C_Read... [15:28:13]Read from MH i2c: E2 0E 00 E0 22 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 01 [15:28:13]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [15:28:13]wFMCommunicate OK [15:28:13]SAM_PROTO_GetShiftState done [15:28:13]FM_GetShiftState done [15:28:13]opened in 1730073884 [15:28:13]opened+sec_in_day 1730160284 [15:28:13]quantity*price = 39000 [15:28:13]sum+1 = 39001 [15:28:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 390.00 НСП 1% : 3.45 НДС 12% : 41.42 Наличными: 390.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 42 28.10.2024 15:28 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37799 ФПД: 112541705386692 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T152821&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37799&fm=112541705386692&tin=02508201610067®Number=0000000000091684&sum=39000 0 [15:28:14]StoreToDocumentArchive [15:28:14]shift 551 fd 37799 [15:28:14]save to /storage/0551/doc_00037799 [15:28:14]save last doc name /storage/0551/doc_00037799 to /storage/kkm_last_doc_name [15:28:14]save OK [15:28:14]Clear old archive folders... [15:28:14]ProcessDocumentItem done err = 0, tmpTLVsize=282 [15:28:14]tlvbuf is 00262960 [15:28:14]SAM_PROTO_ClearQueue [15:28:14]wFMCommunicate request_size=4 [15:28:14]MH_SAM_APDU [15:28:14]CAPDU: 80 09 00 00 [15:28:14]Write to MH i2c: E2 08 00 ED 22 80 09 00 00 00 00 00 00 81 [15:28:14]Write i2c OK [15:28:14]MH_I2C_Read... [15:28:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:28:14]Read from MH i2c: E2 [15:28:14]MH_I2C_Read... [15:28:14]Read from MH i2c: E2 03 00 [15:28:14]MH_I2C_Read... [15:28:14]Read from MH i2c: E2 03 00 ED 22 00 90 00 83 [15:28:14]RAPDU: 90 00 [15:28:14]wFMCommunicate OK [15:28:14]SAM_PROTO_ClearQueue done [15:28:14]KKMCreateOFDPacket [15:28:14]OFDProtocolAddRootSTLVToBuf [15:28:14]FM_MakeSignedData [15:28:14]FM_MakeSignedData [15:28:14]SAM_PROTO_SignData [15:28:14]wFMCommunicate request_size=4 [15:28:14]MH_SAM_APDU [15:28:14]CAPDU: 80 0D 01 02 [15:28:14]Write to MH i2c: E2 08 00 EE 22 80 0D 01 02 00 00 00 00 89 [15:28:14]Write i2c OK [15:28:14]MH_I2C_Read... [15:28:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:28:14]Read from MH i2c: E2 [15:28:14]MH_I2C_Read... [15:28:14]Read from MH i2c: E2 03 00 [15:28:14]MH_I2C_Read... [15:28:14]Read from MH i2c: E2 03 00 EE 22 00 90 00 84 [15:28:14]RAPDU: 90 00 [15:28:14]wFMCommunicate OK [15:28:14]wFMCommunicate request_size=255 [15:28:14]MH_SAM_APDU [15:28:14]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 58 98 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 10 00 00 00 00 07 04 06 00 58 98 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 95 AD 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 [15:28:14]Write to MH i2c: E2 02 01 EF 22 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 58 98 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 10 00 00 00 00 07 04 06 00 58 98 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 95 AD 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 00 00 2C [15:28:14]Write i2c OK [15:28:14]MH_I2C_Read... [15:28:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:28:15]Read from MH i2c: E2 [15:28:15]MH_I2C_Read... [15:28:15]Read from MH i2c: E2 03 00 [15:28:15]MH_I2C_Read... [15:28:15]Read from MH i2c: E2 03 00 EF 22 00 90 00 85 [15:28:15]RAPDU: 90 00 [15:28:15]wFMCommunicate OK [15:28:15]wFMCommunicate request_size=41 [15:28:15]MH_SAM_APDU [15:28:15]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A7 93 00 00 35 04 06 00 66 5B 28 5F 3A C4 [15:28:15]Write to MH i2c: E2 2C 00 F0 22 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A7 93 00 00 35 04 06 00 66 5B 28 5F 3A C4 00 00 D8 [15:28:15]Write i2c OK [15:28:15]MH_I2C_Read... [15:28:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:28:15]Read from MH i2c: E2 [15:28:15]MH_I2C_Read... [15:28:15]Read from MH i2c: E2 03 00 [15:28:15]MH_I2C_Read... [15:28:15]Read from MH i2c: E2 03 00 F0 22 00 90 00 86 [15:28:15]RAPDU: 90 00 [15:28:15]wFMCommunicate OK [15:28:15]wFMCommunicate request_size=4 [15:28:15]MH_SAM_APDU [15:28:15]CAPDU: 80 0D 03 02 [15:28:15]Write to MH i2c: E2 08 00 F1 22 80 0D 03 02 00 00 00 00 8E [15:28:15]Write i2c OK [15:28:15]MH_I2C_Read... [15:28:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:28:15]Read from MH i2c: E2 [15:28:15]MH_I2C_Read... [15:28:15]Read from MH i2c: E2 0B 00 [15:28:15]MH_I2C_Read... [15:28:15]Read from MH i2c: E2 0B 00 F1 22 00 F8 18 85 82 68 DE 56 0C 90 00 4E [15:28:15]RAPDU: F8 18 85 82 68 DE 56 0C 90 00 [15:28:15]wFMCommunicate OK [15:28:15]SAM_PROTO_SignData done [15:28:15]FM_MakeSignedData done [15:28:15]CreateOFDProtocolMessage [15:28:15]wFMCommunicate request_size=4 [15:28:15]MH_SAM_APDU [15:28:15]CAPDU: 80 11 00 00 [15:28:15]Write to MH i2c: E2 08 00 F2 22 80 11 00 00 00 00 00 00 8E [15:28:15]Write i2c OK [15:28:15]MH_I2C_Read... [15:28:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:28:15]Read from MH i2c: E2 [15:28:15]MH_I2C_Read... [15:28:15]Read from MH i2c: E2 17 00 [15:28:15]MH_I2C_Read... [15:28:15]Read from MH i2c: E2 17 00 F2 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 DE [15:28:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:28:15]wFMCommunicate OK [15:28:15]CreateOFDProtocolMessage done [15:28:15]OFDSenderStorePacket 37799 [15:28:15]StoreOFDPacket docnum=37799 [15:28:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 DF 61 26 01 37 7E 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 58 98 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 10 00 00 00 00 07 04 06 00 58 98 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 95 AD 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A7 93 00 00 35 04 06 00 66 5B 28 5F 3A C4 F8 18 85 82 68 DE 56 0C [15:28:15]CheckFolder [15:28:15]dirname=/storage/ofd_packets [15:28:15]CheckFolder done [15:28:15]ProducePacketName [15:28:15]name=ofd_packets/00037799 [15:28:15]NVStorageSaveData ofd_packets/00037799 [15:28:15]File name is /storage/ofd_packets/00037799 [15:28:15]Write 332 bytes [15:28:15]NVStorageSaveData done [15:28:15]OFDSenderStorePacket done [15:28:15]KKMCreateOFDPacket done [15:28:15]NVStorageSaveData kkm_last_timestamp [15:28:15]File name is /storage/kkm_last_timestamp [15:28:15]Write 4 bytes [15:28:15]NVStorageSaveData done [15:28:15]ExternCall_PrintAddStr [15:28:15]wPrintStart [15:28:15]Write to MH i2c: 01 00 00 F3 22 15 [15:28:15]OFD Sender: Processing packet 37799 [packets to send 42, broken 41] [15:28:15]ProducePacketName [15:28:15]name=ofd_packets/00037799 [15:28:15]OFD Sender: To server: pG, [15:28:15]CommunicateWithHost lk.salyk.kg:30040 [15:28:15]ConnectInit lk.salyk.kg [15:28:15]Write i2c OK [15:28:15]MH_I2C_Read... [15:28:15]Read from MH i2c: 01 [15:28:15]MH_I2C_Read... [15:28:15]Read from MH i2c: 01 07 00 [15:28:15]MH_I2C_Read... [15:28:15]Read from MH i2c: 01 07 00 F3 22 00 00 00 00 00 FF 0F 2A [15:28:15]RasterBufferAndPrint [15:28:15]line Счет N : (3)35098 [15:28:15]line ИНН: 02508201610067 [15:28:15]line Контрольно-Кассовый Чек [15:28:15]line ПРОДАЖА [15:28:15]line Товар: 2000036220012 [15:28:15]line Кофе Капучино XL(GABB TRADE) [15:28:15]line 3.000 * 130.00 [15:28:15]line = 390.00 [15:28:15]line НДС 12% НСП 1% [15:28:15]line > о реализуемом товаре [15:28:15]line ИТОГО: 390.00 [15:28:15]line НСП 1% : 3.45 [15:28:15]line НДС 12% : 41.42 [15:28:15]line Наличными: 390.00 [15:28:15]line Безнал.: 0.00 [15:28:15]line Место: АЗС № 126 "Партнер Нефть" [15:28:15]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [15:28:15]line СНО: Общий режим [15:28:15]line Чек 42 28.10.2024 15:28 [15:28:15]line Смена: 551 ФФД: 1.0 [15:28:15]line ЗНМ: 0300000092 [15:28:15]line РНМ: 0000000000091684 [15:28:15]line Версия ККМ: 001 [15:28:15]line ФМ: 0000000000871841 [15:28:15]line ФД: 37799 [15:28:15]line ФПД: 112541705386692 [15:28:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T152821&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37799&fm=112541705386692&tin=02508201610067®Number=0000000000091684&sum=39000 [15:28:15]line 0 [15:28:15]Connected sock=10 [15:28:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 DF 61 26 01 37 7E 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 58 98 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 10 00 00 00 00 07 04 06 00 58 98 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 95 AD 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A7 93 00 00 35 04 06 00 66 5B 28 5F 3A C4 F8 18 85 82 68 DE 56 0C [15:28:15]written 0, free lines is 4095 [15:28:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 F6 6F 47 00 5C F8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A7 93 00 00 F4 03 04 00 8A 58 1F 67 B6 04 01 00 00 66 CB 90 53 7D 85 43 7A [15:28:16]CommunicateWithHost err = 0 [15:28:16]CheckOFDResponse [15:28:16]1017 (14) - 77093643461234 [15:28:16]1041 (16) - 0000000000871841 [15:28:16]1040 (4) - 37799 [15:28:16]1012 (4) - 28.10.2024 09:25 [15:28:16]1206 (1) - 0 [15:28:16]OFD Sender: Remove packet 37799 [15:28:16]ProducePacketName [15:28:16]name=ofd_packets/00037799 [15:28:16]NVStorageDeleteData [15:28:16]Write to MH i2c: 01 00 00 1C 23 3F [15:28:16]Write i2c OK [15:28:16]MH_I2C_Read... [15:28:16]Read from MH i2c: 01 [15:28:16]MH_I2C_Read... [15:28:16]Read from MH i2c: 01 07 00 [15:28:16]MH_I2C_Read... [15:28:16]Read from MH i2c: 01 07 00 1C 23 00 00 00 00 00 B4 0C 06 [15:28:16]RasterBufferAndPrint [15:28:16]line [15:28:16]line [15:28:16]line [15:28:16]line [15:28:16]line [15:28:16]written 0, free lines is 3257 [15:28:16]MH_Cut [15:28:16]Write to MH i2c: D1 01 00 23 23 01 18 [15:28:16]Write i2c OK [15:28:16]MH_I2C_Read... [15:28:16]Read from MH i2c: D1 [15:28:16]MH_I2C_Read... [15:28:16]Read from MH i2c: D1 01 00 [15:28:16]MH_I2C_Read... [15:28:16]Read from MH i2c: D1 01 00 23 23 00 17 [15:28:16]Write to MH i2c: 01 00 00 24 23 47 [15:28:16]Write i2c OK [15:28:16]MH_I2C_Read... [15:28:16]OFD Sender: No OFD packet to send [15:28:17]*** Cut start [15:28:17]*** Partial cut [15:28:17]*** CUTSNS_PIN = 1 [15:28:17]*** CUTSNS_PIN = 0 [15:28:17]*** Brake cut motor [15:28:17]Read from MH i2c: 01 [15:28:17]MH_I2C_Read... [15:28:17]*** Stop cut motor [15:28:17]*** Cut end [15:28:17]Read from MH i2c: 01 07 00 [15:28:17]MH_I2C_Read... [15:28:17]Read from MH i2c: 01 07 00 24 23 00 00 00 00 00 FF 0F 5C [15:28:17]process_action close_receipt done [15:28:17]requested_data is exist [15:28:17]produce_requested_data [15:28:17]requested_item fm.sn is exist - process it [15:28:17]wFMCommunicate request_size=4 [15:28:17]MH_SAM_APDU [15:28:17]CAPDU: 80 11 00 00 [15:28:17]Write to MH i2c: E2 08 00 25 23 80 11 00 00 00 00 00 00 C2 [15:28:17]Write i2c OK [15:28:17]MH_I2C_Read... [15:28:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:28:17]Read from MH i2c: E2 [15:28:17]MH_I2C_Read... [15:28:17]Read from MH i2c: E2 17 00 [15:28:17]MH_I2C_Read... [15:28:17]Read from MH i2c: E2 17 00 25 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 12 [15:28:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:28:17]wFMCommunicate OK [15:28:17]requested_item fd.num is exist - process it [15:28:17]SAM_PROTO_GetFieldsCounters [15:28:17]wFMCommunicate request_size=4 [15:28:17]MH_SAM_APDU [15:28:17]CAPDU: 80 13 00 00 [15:28:17]Write to MH i2c: E2 08 00 26 23 80 13 00 00 00 00 00 00 C5 [15:28:17]Write i2c OK [15:28:17]MH_I2C_Read... [15:28:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:28:17]Read from MH i2c: E2 [15:28:17]MH_I2C_Read... [15:28:17]Read from MH i2c: E2 62 00 [15:28:17]MH_I2C_Read... [15:28:17]Read from MH i2c: E2 62 00 26 23 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 A7 93 00 00 0E 04 04 00 27 02 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 C7 [15:28:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 A7 93 00 00 0E 04 04 00 27 02 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 [15:28:17]wFMCommunicate OK [15:28:17]SAM_PROTO_GetFieldsCounters done [15:28:17]requested_item shift.num is exist - process it [15:28:17]requested_item shift.opened is exist - process it [15:28:17]req_shift_opened [15:28:17]FM_GetShiftState [15:28:17]SAM_PROTO_GetShiftState [15:28:17]wFMCommunicate request_size=4 [15:28:17]MH_SAM_APDU [15:28:17]CAPDU: 80 13 01 00 [15:28:17]Write to MH i2c: E2 08 00 27 23 80 13 01 00 00 00 00 00 C7 [15:28:17]Write i2c OK [15:28:17]MH_I2C_Read... [15:28:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:28:17]Read from MH i2c: E2 [15:28:17]MH_I2C_Read... [15:28:17]Read from MH i2c: E2 0E 00 [15:28:17]MH_I2C_Read... [15:28:17]Read from MH i2c: E2 0E 00 27 23 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 49 [15:28:17]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [15:28:17]wFMCommunicate OK [15:28:17]SAM_PROTO_GetShiftState done [15:28:17]FM_GetShiftState done [15:28:17]req_shift_opened done [15:28:17]requested_item shift.open_date is exist - process it [15:28:17]req_shift_open_date [15:28:17]req_shift_open_date done [15:28:17]produce_requested_data done [15:28:17]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37799,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [15:28:17]process_action_free close_receipt [15:28:17]json_value_free [15:28:17]json_value_free done [15:28:17]process_json_proto returns [15:28:17]Send response to host [15:28:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37799,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [15:28:17]free response buf [15:28:17]execute_script done [15:28:17]execute_script returns [15:28:17]free content buf [15:28:17]Sock 7.Close socket [15:28:17]Sock 7.Thread stoped [15:28:21]OFD Sender: No OFD packet to send [15:28:26]OFD Sender: No OFD packet to send [15:28:31]OFD Sender: No OFD packet to send [15:28:36]OFD Sender: No OFD packet to send [15:28:41]OFD Sender: No OFD packet to send [15:28:46]OFD Sender: No OFD packet to send [15:28:51]OFD Sender: No OFD packet to send [15:28:56]OFD Sender: No OFD packet to send [15:29:01]OFD Sender: No OFD packet to send [15:29:06]OFD Sender: No OFD packet to send [15:29:11]OFD Sender: No OFD packet to send [15:29:16]OFD Sender: No OFD packet to send [15:29:21]OFD Sender: No OFD packet to send [15:29:26]OFD Sender: No OFD packet to send [15:29:31]OFD Sender: No OFD packet to send [15:29:36]OFD Sender: No OFD packet to send [15:29:41]OFD Sender: No OFD packet to send [15:29:46]OFD Sender: No OFD packet to send [15:29:51]OFD Sender: No OFD packet to send [15:29:56]OFD Sender: No OFD packet to send [15:30:01]OFD Sender: No OFD packet to send [15:30:06]OFD Sender: No OFD packet to send [15:30:11]OFD Sender: No OFD packet to send [15:30:16]OFD Sender: No OFD packet to send [15:30:21]OFD Sender: No OFD packet to send [15:30:26]OFD Sender: No OFD packet to send [15:30:31]OFD Sender: No OFD packet to send [15:30:36]OFD Sender: No OFD packet to send [15:30:41]OFD Sender: No OFD packet to send [15:30:46]OFD Sender: No OFD packet to send [15:30:51]OFD Sender: No OFD packet to send [15:30:56]OFD Sender: No OFD packet to send [15:31:01]OFD Sender: No OFD packet to send [15:31:06]OFD Sender: No OFD packet to send [15:31:11]OFD Sender: No OFD packet to send [15:31:16]OFD Sender: No OFD packet to send [15:31:21]OFD Sender: No OFD packet to send [15:31:26]OFD Sender: No OFD packet to send [15:31:31]OFD Sender: No OFD packet to send [15:31:36]OFD Sender: No OFD packet to send [15:31:41]OFD Sender: No OFD packet to send [15:31:46]OFD Sender: No OFD packet to send [15:31:51]OFD Sender: No OFD packet to send [15:31:56]OFD Sender: No OFD packet to send [15:32:01]OFD Sender: No OFD packet to send [15:32:06]OFD Sender: No OFD packet to send [15:32:11]OFD Sender: No OFD packet to send [15:32:16]OFD Sender: No OFD packet to send [15:32:21]OFD Sender: No OFD packet to send [15:32:26]OFD Sender: No OFD packet to send [15:32:31]OFD Sender: No OFD packet to send [15:32:36]OFD Sender: No OFD packet to send [15:32:41]OFD Sender: No OFD packet to send [15:32:46]OFD Sender: No OFD packet to send [15:32:51]OFD Sender: No OFD packet to send [15:32:56]OFD Sender: No OFD packet to send [15:33:01]OFD Sender: No OFD packet to send [15:33:06]OFD Sender: No OFD packet to send [15:33:11]OFD Sender: No OFD packet to send [15:33:16]OFD Sender: No OFD packet to send [15:33:21]OFD Sender: No OFD packet to send [15:33:26]OFD Sender: No OFD packet to send [15:33:31]OFD Sender: No OFD packet to send [15:33:36]OFD Sender: No OFD packet to send [15:33:41]OFD Sender: No OFD packet to send [15:33:46]OFD Sender: No OFD packet to send [15:33:51]OFD Sender: No OFD packet to send [15:33:54]accept exits with 9 [15:33:54]New connection [15:33:54]New thread 3067297124 created [15:33:54]Thread 3067440484 joined [15:33:54]Waiting for new connection... [15:33:54] Sock 9.Parse request [15:33:54]Sock 9.Check first char [15:33:54]Sock 9.First char is OK [15:33:54]request: POST /json_proto HTTP/1.0 [15:33:54]Method: POST [15:33:54]URL: /json_proto [15:33:54]Method is POST - this is cgi request [15:33:54]url: /json_proto [15:33:54]query_string will be loaded in cgi processing [15:33:54]execute_cgi json_proto POST (null) [15:33:54]execute_cgi path=json_proto method=POST [15:33:54]POST find Content-Length [15:33:54]Host: 172.17.40.196:8080 [15:33:54]Content-Length: 625 [15:33:54]Content-Type: application/json [15:33:54] [15:33:54]POST finish read [15:33:54]Found Content-Length = 625 [15:33:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35099", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:33:54]execute_script... [15:33:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35099", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:33:54]POST & json_proto [15:33:54]process_json_proto [15:33:54]json parsed OK: [15:33:54]protocol is kg_v1.0 [15:33:54]action value=close_receipt [15:33:54]process_action close_receipt [15:33:54]cmd_close_receipt [15:33:54]MH_GetDate [15:33:54]Write to MH i2c: F0 00 00 28 23 3A [15:33:54]Write i2c OK [15:33:54]MH_I2C_Read... [15:33:54]Read from MH i2c: F0 [15:33:54]MH_I2C_Read... [15:33:54]Read from MH i2c: F0 09 00 [15:33:54]MH_I2C_Read... [15:33:54]Read from MH i2c: F0 09 00 28 23 00 EA AE 1F 67 5B 68 A1 66 2B [15:33:54]GetLastDocTimeStamp 1730129301 [15:33:54]current date 1730129642 [15:33:54]FM_GetShiftState [15:33:54]SAM_PROTO_GetShiftState [15:33:54]wFMCommunicate request_size=4 [15:33:54]MH_SAM_APDU [15:33:54]CAPDU: 80 13 01 00 [15:33:54]Write to MH i2c: E2 08 00 29 23 80 13 01 00 00 00 00 00 C9 [15:33:54]Write i2c OK [15:33:54]MH_I2C_Read... [15:33:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:33:54]Read from MH i2c: E2 [15:33:54]MH_I2C_Read... [15:33:54]Read from MH i2c: E2 0E 00 [15:33:54]MH_I2C_Read... [15:33:54]Read from MH i2c: E2 0E 00 29 23 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 4B [15:33:54]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [15:33:54]wFMCommunicate OK [15:33:54]SAM_PROTO_GetShiftState done [15:33:54]FM_GetShiftState done [15:33:54]opened in 1730073884 [15:33:54]opened+sec_in_day 1730160284 [15:33:54]quantity*price = 11500 [15:33:54]sum+1 = 11501 [15:33:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 43 28.10.2024 15:34 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37800 ФПД: 180851203603000 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T153402&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37800&fm=180851203603000&tin=02508201610067®Number=0000000000091684&sum=11500 0 [15:33:55]StoreToDocumentArchive [15:33:55]shift 551 fd 37800 [15:33:55]save to /storage/0551/doc_00037800 [15:33:55]save last doc name /storage/0551/doc_00037800 to /storage/kkm_last_doc_name [15:33:55]save OK [15:33:55]Clear old archive folders... [15:33:55]ProcessDocumentItem done err = 0, tmpTLVsize=274 [15:33:55]tlvbuf is 002626E0 [15:33:55]SAM_PROTO_ClearQueue [15:33:55]wFMCommunicate request_size=4 [15:33:55]MH_SAM_APDU [15:33:55]CAPDU: 80 09 00 00 [15:33:55]Write to MH i2c: E2 08 00 36 23 80 09 00 00 00 00 00 00 CB [15:33:55]Write i2c OK [15:33:55]MH_I2C_Read... [15:33:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:33:55]Read from MH i2c: E2 [15:33:55]MH_I2C_Read... [15:33:55]Read from MH i2c: E2 03 00 [15:33:55]MH_I2C_Read... [15:33:55]Read from MH i2c: E2 03 00 36 23 00 90 00 CD [15:33:55]RAPDU: 90 00 [15:33:55]wFMCommunicate OK [15:33:55]SAM_PROTO_ClearQueue done [15:33:55]KKMCreateOFDPacket [15:33:55]OFDProtocolAddRootSTLVToBuf [15:33:55]FM_MakeSignedData [15:33:55]FM_MakeSignedData [15:33:55]SAM_PROTO_SignData [15:33:55]wFMCommunicate request_size=4 [15:33:55]MH_SAM_APDU [15:33:55]CAPDU: 80 0D 01 02 [15:33:55]Write to MH i2c: E2 08 00 37 23 80 0D 01 02 00 00 00 00 D3 [15:33:55]Write i2c OK [15:33:55]MH_I2C_Read... [15:33:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:33:55]Read from MH i2c: E2 [15:33:55]MH_I2C_Read... [15:33:55]Read from MH i2c: E2 03 00 [15:33:55]MH_I2C_Read... [15:33:55]Read from MH i2c: E2 03 00 37 23 00 90 00 CE [15:33:55]RAPDU: 90 00 [15:33:55]wFMCommunicate OK [15:33:55]wFMCommunicate request_size=255 [15:33:55]MH_SAM_APDU [15:33:55]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 EA AE 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 [15:33:55]Write to MH i2c: E2 02 01 38 23 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 EA AE 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 00 00 E4 [15:33:55]Write i2c OK [15:33:55]MH_I2C_Read... [15:33:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:33:56]Read from MH i2c: E2 [15:33:56]MH_I2C_Read... [15:33:56]Read from MH i2c: E2 03 00 [15:33:56]MH_I2C_Read... [15:33:56]Read from MH i2c: E2 03 00 38 23 00 90 00 CF [15:33:56]RAPDU: 90 00 [15:33:56]wFMCommunicate OK [15:33:56]wFMCommunicate request_size=33 [15:33:56]MH_SAM_APDU [15:33:56]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A8 93 00 00 35 04 06 00 A4 7B B3 BF 7A 38 [15:33:56]Write to MH i2c: E2 24 00 39 23 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A8 93 00 00 35 04 06 00 A4 7B B3 BF 7A 38 00 00 E0 [15:33:56]Write i2c OK [15:33:56]MH_I2C_Read... [15:33:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:33:56]Read from MH i2c: E2 [15:33:56]MH_I2C_Read... [15:33:56]Read from MH i2c: E2 03 00 [15:33:56]MH_I2C_Read... [15:33:56]Read from MH i2c: E2 03 00 39 23 00 90 00 D0 [15:33:56]RAPDU: 90 00 [15:33:56]wFMCommunicate OK [15:33:56]wFMCommunicate request_size=4 [15:33:56]MH_SAM_APDU [15:33:56]CAPDU: 80 0D 03 02 [15:33:56]Write to MH i2c: E2 08 00 3A 23 80 0D 03 02 00 00 00 00 D8 [15:33:56]Write i2c OK [15:33:56]MH_I2C_Read... [15:33:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:33:56]Read from MH i2c: E2 [15:33:56]MH_I2C_Read... [15:33:56]Read from MH i2c: E2 0B 00 [15:33:56]MH_I2C_Read... [15:33:56]Read from MH i2c: E2 0B 00 3A 23 00 A8 8C DF 4C 93 77 60 BA 90 00 5C [15:33:56]RAPDU: A8 8C DF 4C 93 77 60 BA 90 00 [15:33:56]wFMCommunicate OK [15:33:56]SAM_PROTO_SignData done [15:33:56]FM_MakeSignedData done [15:33:56]CreateOFDProtocolMessage [15:33:56]wFMCommunicate request_size=4 [15:33:56]MH_SAM_APDU [15:33:56]CAPDU: 80 11 00 00 [15:33:56]Write to MH i2c: E2 08 00 3B 23 80 11 00 00 00 00 00 00 D8 [15:33:56]Write i2c OK [15:33:56]MH_I2C_Read... [15:33:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:33:56]Read from MH i2c: E2 [15:33:56]MH_I2C_Read... [15:33:56]Read from MH i2c: E2 17 00 [15:33:56]MH_I2C_Read... [15:33:56]Read from MH i2c: E2 17 00 3B 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 28 [15:33:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:33:56]wFMCommunicate OK [15:33:56]CreateOFDProtocolMessage done [15:33:56]OFDSenderStorePacket 37800 [15:33:56]StoreOFDPacket docnum=37800 [15:33:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 39 5E 1E 01 EF 85 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 EA AE 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A8 93 00 00 35 04 06 00 A4 7B B3 BF 7A 38 A8 8C DF 4C 93 77 60 BA [15:33:56]CheckFolder [15:33:56]dirname=/storage/ofd_packets [15:33:56]CheckFolder done [15:33:56]ProducePacketName [15:33:56]name=ofd_packets/00037800 [15:33:56]NVStorageSaveData ofd_packets/00037800 [15:33:56]File name is /storage/ofd_packets/00037800 [15:33:56]Write 324 bytes [15:33:56]NVStorageSaveData done [15:33:56]OFDSenderStorePacket done [15:33:56]KKMCreateOFDPacket done [15:33:56]NVStorageSaveData kkm_last_timestamp [15:33:56]File name is /storage/kkm_last_timestamp [15:33:56]Write 4 bytes [15:33:56]NVStorageSaveData done [15:33:56]ExternCall_PrintAddStr [15:33:56]wPrintStart [15:33:56]Write to MH i2c: 01 00 00 3C 23 5F [15:33:56]Write i2c OK [15:33:56]MH_I2C_Read... [15:33:56]Read from MH i2c: 01 [15:33:56]MH_I2C_Read... [15:33:56]Read from MH i2c: 01 07 00 [15:33:56]MH_I2C_Read... [15:33:56]Read from MH i2c: 01 07 00 3C 23 00 00 00 00 00 FF 0F 74 [15:33:56]RasterBufferAndPrint [15:33:56]line Счет N : (3)35099 [15:33:56]line ИНН: 02508201610067 [15:33:56]line Контрольно-Кассовый Чек [15:33:56]line ПРОДАЖА [15:33:56]line Товар: 2000036240010 [15:33:56]line Кофе Латте (GABB TRADE) [15:33:56]line 1.000 * 115.00 [15:33:56]line = 115.00 [15:33:56]line НДС 12% НСП 1% [15:33:56]line > о реализуемом товаре [15:33:56]line ИТОГО: 115.00 [15:33:56]line НСП 1% : 1.02 [15:33:56]line НДС 12% : 12.21 [15:33:56]line Наличными: 115.00 [15:33:56]line Безнал.: 0.00 [15:33:56]line Место: АЗС № 126 "Партнер Нефть" [15:33:56]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [15:33:56]line СНО: Общий режим [15:33:56]line Чек 43 28.10.2024 15:34 [15:33:56]line Смена: 551 ФФД: 1.0 [15:33:56]line ЗНМ: 0300000092 [15:33:56]line РНМ: 0000000000091684 [15:33:56]line Версия ККМ: 001 [15:33:56]line ФМ: 0000000000871841 [15:33:56]line ФД: 37800 [15:33:56]line ФПД: 180851203603000 [15:33:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T153402&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37800&fm=180851203603000&tin=02508201610067®Number=0000000000091684&sum=11500 [15:33:56]line 0 [15:33:56]written 0, free lines is 4095 [15:33:56]OFD Sender: Processing packet 37800 [packets to send 42, broken 41] [15:33:56]ProducePacketName [15:33:56]name=ofd_packets/00037800 [15:33:56]OFD Sender: To server: pG, [15:33:56]CommunicateWithHost lk.salyk.kg:30040 [15:33:56]ConnectInit lk.salyk.kg [15:33:56]Connected sock=7 [15:33:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 39 5E 1E 01 EF 85 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 EA AE 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A8 93 00 00 35 04 06 00 A4 7B B3 BF 7A 38 A8 8C DF 4C 93 77 60 BA [15:33:57]Write to MH i2c: 01 00 00 64 23 87 [15:33:57]Write i2c OK [15:33:57]MH_I2C_Read... [15:33:57]Read from MH i2c: 01 [15:33:57]MH_I2C_Read... [15:33:57]Read from MH i2c: 01 07 00 [15:33:57]MH_I2C_Read... [15:33:57]Read from MH i2c: 01 07 00 64 23 00 00 00 00 00 CD 0C 67 [15:33:57]RasterBufferAndPrint [15:33:57]line [15:33:57]line [15:33:57]line [15:33:57]line [15:33:57]line [15:33:57]written 0, free lines is 3284 [15:33:57]MH_Cut [15:33:57]Write to MH i2c: D1 01 00 6B 23 01 60 [15:33:57]Write i2c OK [15:33:57]MH_I2C_Read... [15:33:57]Read from MH i2c: D1 [15:33:57]MH_I2C_Read... [15:33:57]Read from MH i2c: D1 01 00 [15:33:57]MH_I2C_Read... [15:33:57]Read from MH i2c: D1 01 00 6B 23 00 5F [15:33:57]Write to MH i2c: 01 00 00 6C 23 8F [15:33:57]Write i2c OK [15:33:57]MH_I2C_Read... [15:33:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 B1 09 47 00 70 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 38 34 31 10 04 04 00 A8 93 00 00 F4 03 04 00 DF 59 1F 67 B6 04 01 00 00 1D A3 64 D2 CF D0 6B 9C [15:33:57]CommunicateWithHost err = 0 [15:33:57]CheckOFDResponse [15:33:57]1017 (14) - 77093643461234 [15:33:57]1041 (16) - 0000000000871841 [15:33:57]1040 (4) - 37800 [15:33:57]1012 (4) - 28.10.2024 09:31 [15:33:57]1206 (1) - 0 [15:33:57]OFD Sender: Remove packet 37800 [15:33:57]ProducePacketName [15:33:57]name=ofd_packets/00037800 [15:33:57]NVStorageDeleteData [15:33:57]*** Cut start [15:33:57]*** Partial cut [15:33:57]*** CUTSNS_PIN = 1 [15:33:57]OFD Sender: No OFD packet to send [15:33:57]*** CUTSNS_PIN = 0 [15:33:58]*** Brake cut motor [15:33:58]Read from MH i2c: 01 [15:33:58]MH_I2C_Read... [15:33:58]*** Stop cut motor [15:33:58]*** Cut end [15:33:58]Read from MH i2c: 01 07 00 [15:33:58]MH_I2C_Read... [15:33:58]Read from MH i2c: 01 07 00 6C 23 00 00 00 00 00 FF 0F A4 [15:33:58]process_action close_receipt done [15:33:58]requested_data is exist [15:33:58]produce_requested_data [15:33:58]requested_item fm.sn is exist - process it [15:33:58]wFMCommunicate request_size=4 [15:33:58]MH_SAM_APDU [15:33:58]CAPDU: 80 11 00 00 [15:33:58]Write to MH i2c: E2 08 00 6D 23 80 11 00 00 00 00 00 00 0A [15:33:58]Write i2c OK [15:33:58]MH_I2C_Read... [15:33:58]Read from MH i2c: E2 [15:33:58]MH_I2C_Read... [15:33:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:33:58]Read from MH i2c: E2 17 00 [15:33:58]MH_I2C_Read... [15:33:58]Read from MH i2c: E2 17 00 6D 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 5A [15:33:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:33:58]wFMCommunicate OK [15:33:58]requested_item fd.num is exist - process it [15:33:58]SAM_PROTO_GetFieldsCounters [15:33:58]wFMCommunicate request_size=4 [15:33:58]MH_SAM_APDU [15:33:58]CAPDU: 80 13 00 00 [15:33:58]Write to MH i2c: E2 08 00 6E 23 80 13 00 00 00 00 00 00 0D [15:33:58]Write i2c OK [15:33:58]MH_I2C_Read... [15:33:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:33:58]Read from MH i2c: E2 [15:33:58]MH_I2C_Read... [15:33:58]Read from MH i2c: E2 62 00 [15:33:58]MH_I2C_Read... [15:33:58]Read from MH i2c: E2 62 00 6E 23 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 A8 93 00 00 0E 04 04 00 27 02 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 13 [15:33:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 A8 93 00 00 0E 04 04 00 27 02 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 [15:33:58]wFMCommunicate OK [15:33:58]SAM_PROTO_GetFieldsCounters done [15:33:58]requested_item shift.num is exist - process it [15:33:58]requested_item shift.opened is exist - process it [15:33:58]req_shift_opened [15:33:58]FM_GetShiftState [15:33:58]SAM_PROTO_GetShiftState [15:33:58]wFMCommunicate request_size=4 [15:33:58]MH_SAM_APDU [15:33:58]CAPDU: 80 13 01 00 [15:33:58]Write to MH i2c: E2 08 00 6F 23 80 13 01 00 00 00 00 00 0F [15:33:58]Write i2c OK [15:33:58]MH_I2C_Read... [15:33:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:33:58]Read from MH i2c: E2 [15:33:58]MH_I2C_Read... [15:33:58]Read from MH i2c: E2 0E 00 [15:33:58]MH_I2C_Read... [15:33:58]Read from MH i2c: E2 0E 00 6F 23 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 91 [15:33:58]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [15:33:58]wFMCommunicate OK [15:33:58]SAM_PROTO_GetShiftState done [15:33:58]FM_GetShiftState done [15:33:58]req_shift_opened done [15:33:58]requested_item shift.open_date is exist - process it [15:33:58]req_shift_open_date [15:33:58]req_shift_open_date done [15:33:58]produce_requested_data done [15:33:58]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37800,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [15:33:58]process_action_free close_receipt [15:33:58]json_value_free [15:33:58]json_value_free done [15:33:58]process_json_proto returns [15:33:58]Send response to host [15:33:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37800,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [15:33:58]free response buf [15:33:58]execute_script done [15:33:58]execute_script returns [15:33:58]free content buf [15:33:58]Sock 9.Close socket [15:33:58]Sock 9.Thread stoped [15:34:02]OFD Sender: No OFD packet to send [15:34:07]OFD Sender: No OFD packet to send [15:34:12]OFD Sender: No OFD packet to send [15:34:17]OFD Sender: No OFD packet to send [15:34:22]OFD Sender: No OFD packet to send [15:34:28]OFD Sender: No OFD packet to send [15:34:33]OFD Sender: No OFD packet to send [15:34:38]OFD Sender: No OFD packet to send [15:34:43]OFD Sender: No OFD packet to send [15:34:48]OFD Sender: No OFD packet to send [15:34:53]OFD Sender: No OFD packet to send [15:34:58]OFD Sender: No OFD packet to send [15:35:03]OFD Sender: No OFD packet to send [15:35:08]OFD Sender: No OFD packet to send [15:35:13]OFD Sender: No OFD packet to send [15:35:18]OFD Sender: No OFD packet to send [15:35:23]OFD Sender: No OFD packet to send [15:35:28]OFD Sender: No OFD packet to send [15:35:33]OFD Sender: No OFD packet to send [15:35:38]OFD Sender: No OFD packet to send [15:35:43]OFD Sender: No OFD packet to send [15:35:48]OFD Sender: No OFD packet to send [15:35:53]OFD Sender: No OFD packet to send [15:35:56]accept exits with 10 [15:35:56]New connection [15:35:56]New thread 3067440484 created [15:35:56]Thread 3067297124 joined [15:35:56]Waiting for new connection... [15:35:56] Sock 10.Parse request [15:35:56]Sock 10.Check first char [15:35:56]Sock 10.First char is OK [15:35:56]request: POST /json_proto HTTP/1.0 [15:35:56]Method: POST [15:35:56]URL: /json_proto [15:35:56]Method is POST - this is cgi request [15:35:56]url: /json_proto [15:35:56]query_string will be loaded in cgi processing [15:35:56]execute_cgi json_proto POST (null) [15:35:56]execute_cgi path=json_proto method=POST [15:35:56]POST find Content-Length [15:35:56]Host: 172.17.40.196:8080 [15:35:56]Content-Length: 604 [15:35:56]Content-Type: application/json [15:35:56] [15:35:56]POST finish read [15:35:56]Found Content-Length = 604 [15:35:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35100", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:35:56]execute_script... [15:35:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35100", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:35:56]POST & json_proto [15:35:56]process_json_proto [15:35:56]json parsed OK: [15:35:56]protocol is kg_v1.0 [15:35:56]action value=close_receipt [15:35:56]process_action close_receipt [15:35:56]cmd_close_receipt [15:35:56]MH_GetDate [15:35:56]Write to MH i2c: F0 00 00 70 23 82 [15:35:56]Write i2c OK [15:35:56]MH_I2C_Read... [15:35:56]Read from MH i2c: F0 [15:35:56]MH_I2C_Read... [15:35:56]Read from MH i2c: F0 09 00 [15:35:56]MH_I2C_Read... [15:35:56]Read from MH i2c: F0 09 00 70 23 00 64 AF 1F 67 5B 68 A1 66 EE [15:35:56]GetLastDocTimeStamp 1730129642 [15:35:56]current date 1730129764 [15:35:56]FM_GetShiftState [15:35:56]SAM_PROTO_GetShiftState [15:35:56]wFMCommunicate request_size=4 [15:35:56]MH_SAM_APDU [15:35:56]CAPDU: 80 13 01 00 [15:35:56]Write to MH i2c: E2 08 00 71 23 80 13 01 00 00 00 00 00 11 [15:35:56]Write i2c OK [15:35:56]MH_I2C_Read... [15:35:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:35:56]Read from MH i2c: E2 [15:35:56]MH_I2C_Read... [15:35:56]Read from MH i2c: E2 0E 00 [15:35:56]MH_I2C_Read... [15:35:56]Read from MH i2c: E2 0E 00 71 23 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 93 [15:35:56]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [15:35:56]wFMCommunicate OK [15:35:56]SAM_PROTO_GetShiftState done [15:35:56]FM_GetShiftState done [15:35:56]opened in 1730073884 [15:35:56]opened+sec_in_day 1730160284 [15:35:56]quantity*price = 4500 [15:35:56]sum+1 = 4501 [15:35:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 44 28.10.2024 15:36 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37801 ФПД: 190003371417734 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T153604&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37801&fm=190003371417734&tin=02508201610067®Number=0000000000091684&sum=4500 0 [15:35:57]StoreToDocumentArchive [15:35:57]shift 551 fd 37801 [15:35:57]save to /storage/0551/doc_00037801 [15:35:57]save last doc name /storage/0551/doc_00037801 to /storage/kkm_last_doc_name [15:35:57]save OK [15:35:57]Clear old archive folders... [15:35:57]ProcessDocumentItem done err = 0, tmpTLVsize=260 [15:35:57]tlvbuf is B6F51610 [15:35:57]SAM_PROTO_ClearQueue [15:35:57]wFMCommunicate request_size=4 [15:35:57]MH_SAM_APDU [15:35:57]CAPDU: 80 09 00 00 [15:35:57]Write to MH i2c: E2 08 00 7E 23 80 09 00 00 00 00 00 00 13 [15:35:57]Write i2c OK [15:35:57]MH_I2C_Read... [15:35:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:35:57]Read from MH i2c: E2 [15:35:57]MH_I2C_Read... [15:35:57]Read from MH i2c: E2 03 00 [15:35:57]MH_I2C_Read... [15:35:57]Read from MH i2c: E2 03 00 7E 23 00 90 00 15 [15:35:57]RAPDU: 90 00 [15:35:57]wFMCommunicate OK [15:35:57]SAM_PROTO_ClearQueue done [15:35:57]KKMCreateOFDPacket [15:35:57]OFDProtocolAddRootSTLVToBuf [15:35:57]FM_MakeSignedData [15:35:57]FM_MakeSignedData [15:35:57]SAM_PROTO_SignData [15:35:57]wFMCommunicate request_size=4 [15:35:57]MH_SAM_APDU [15:35:57]CAPDU: 80 0D 01 02 [15:35:57]Write to MH i2c: E2 08 00 7F 23 80 0D 01 02 00 00 00 00 1B [15:35:57]Write i2c OK [15:35:57]MH_I2C_Read... [15:35:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:35:57]Read from MH i2c: E2 [15:35:57]MH_I2C_Read... [15:35:57]Read from MH i2c: E2 03 00 [15:35:57]MH_I2C_Read... [15:35:57]Read from MH i2c: E2 03 00 7F 23 00 90 00 16 [15:35:57]RAPDU: 90 00 [15:35:57]wFMCommunicate OK [15:35:57]wFMCommunicate request_size=255 [15:35:57]MH_SAM_APDU [15:35:57]CAPDU: 80 0D 02 02 FA 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 64 AF 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 [15:35:57]Write to MH i2c: E2 02 01 80 23 80 0D 02 02 FA 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 64 AF 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 00 00 76 [15:35:57]Write i2c OK [15:35:57]MH_I2C_Read... [15:35:58]OFD Sender: No OFD packet to send [15:35:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:35:58]Read from MH i2c: E2 [15:35:58]MH_I2C_Read... [15:35:58]Read from MH i2c: E2 03 00 [15:35:58]MH_I2C_Read... [15:35:58]Read from MH i2c: E2 03 00 80 23 00 90 00 17 [15:35:58]RAPDU: 90 00 [15:35:58]wFMCommunicate OK [15:35:58]wFMCommunicate request_size=19 [15:35:58]MH_SAM_APDU [15:35:58]CAPDU: 80 0D 02 02 0E A9 93 00 00 35 04 06 00 AC CE 9B 75 A0 86 [15:35:58]Write to MH i2c: E2 16 00 81 23 80 0D 02 02 0E 00 A9 93 00 00 35 04 06 00 AC CE 9B 75 A0 86 00 00 65 [15:35:58]Write i2c OK [15:35:58]MH_I2C_Read... [15:35:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:35:58]Read from MH i2c: E2 [15:35:58]MH_I2C_Read... [15:35:58]Read from MH i2c: E2 03 00 [15:35:58]MH_I2C_Read... [15:35:58]Read from MH i2c: E2 03 00 81 23 00 90 00 18 [15:35:58]RAPDU: 90 00 [15:35:58]wFMCommunicate OK [15:35:58]wFMCommunicate request_size=4 [15:35:58]MH_SAM_APDU [15:35:58]CAPDU: 80 0D 03 02 [15:35:58]Write to MH i2c: E2 08 00 82 23 80 0D 03 02 00 00 00 00 20 [15:35:58]Write i2c OK [15:35:58]MH_I2C_Read... [15:35:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:35:58]Read from MH i2c: E2 [15:35:58]MH_I2C_Read... [15:35:58]Read from MH i2c: E2 0B 00 [15:35:58]MH_I2C_Read... [15:35:58]Read from MH i2c: E2 0B 00 82 23 00 E4 5B F6 B8 7D 30 A2 C7 90 00 24 [15:35:58]RAPDU: E4 5B F6 B8 7D 30 A2 C7 90 00 [15:35:58]wFMCommunicate OK [15:35:58]SAM_PROTO_SignData done [15:35:58]FM_MakeSignedData done [15:35:58]CreateOFDProtocolMessage [15:35:58]wFMCommunicate request_size=4 [15:35:58]MH_SAM_APDU [15:35:58]CAPDU: 80 11 00 00 [15:35:58]Write to MH i2c: E2 08 00 83 23 80 11 00 00 00 00 00 00 20 [15:35:58]Write i2c OK [15:35:58]MH_I2C_Read... [15:35:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:35:58]Read from MH i2c: E2 [15:35:58]MH_I2C_Read... [15:35:58]Read from MH i2c: E2 17 00 [15:35:58]MH_I2C_Read... [15:35:58]Read from MH i2c: E2 17 00 83 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 70 [15:35:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:35:58]wFMCommunicate OK [15:35:58]CreateOFDProtocolMessage done [15:35:58]OFDSenderStorePacket 37801 [15:35:58]StoreOFDPacket docnum=37801 [15:35:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 18 01 00 00 88 BD 10 01 0A 3D 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 64 AF 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A9 93 00 00 35 04 06 00 AC CE 9B 75 A0 86 E4 5B F6 B8 7D 30 A2 C7 [15:35:58]CheckFolder [15:35:58]dirname=/storage/ofd_packets [15:35:58]CheckFolder done [15:35:58]ProducePacketName [15:35:58]name=ofd_packets/00037801 [15:35:58]NVStorageSaveData ofd_packets/00037801 [15:35:58]File name is /storage/ofd_packets/00037801 [15:35:58]Write 310 bytes [15:35:58]NVStorageSaveData done [15:35:58]OFDSenderStorePacket done [15:35:58]KKMCreateOFDPacket done [15:35:58]NVStorageSaveData kkm_last_timestamp [15:35:58]File name is /storage/kkm_last_timestamp [15:35:58]Write 4 bytes [15:35:58]NVStorageSaveData done [15:35:58]ExternCall_PrintAddStr [15:35:58]wPrintStart [15:35:58]Write to MH i2c: 01 00 00 84 23 A7 [15:35:58]Write i2c OK [15:35:58]MH_I2C_Read... [15:35:58]Read from MH i2c: 01 [15:35:58]MH_I2C_Read... [15:35:58]Read from MH i2c: 01 07 00 [15:35:58]MH_I2C_Read... [15:35:58]Read from MH i2c: 01 07 00 84 23 00 00 00 00 00 FF 0F BC [15:35:58]RasterBufferAndPrint [15:35:58]line Счет N : (3)35100 [15:35:58]line ИНН: 02508201610067 [15:35:58]line Контрольно-Кассовый Чек [15:35:58]line ПРОДАЖА [15:35:58]line Товар: 42113270 [15:35:58]line Жев Orbit арбуз [15:35:58]line 1.000 * 45.00 [15:35:58]line = 45.00 [15:35:58]line НДС 12% НСП 1% [15:35:58]line > о реализуемом товаре [15:35:58]line ИТОГО: 45.00 [15:35:58]line НСП 1% : 0.40 [15:35:58]line НДС 12% : 4.78 [15:35:58]line Наличными: 45.00 [15:35:58]line Безнал.: 0.00 [15:35:58]line Место: АЗС № 126 "Партнер Нефть" [15:35:58]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [15:35:58]line СНО: Общий режим [15:35:58]line Чек 44 28.10.2024 15:36 [15:35:58]line Смена: 551 ФФД: 1.0 [15:35:58]line ЗНМ: 0300000092 [15:35:58]line РНМ: 0000000000091684 [15:35:58]line Версия ККМ: 001 [15:35:58]line ФМ: 0000000000871841 [15:35:58]line ФД: 37801 [15:35:58]line ФПД: 190003371417734 [15:35:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T153604&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37801&fm=190003371417734&tin=02508201610067®Number=0000000000091684&sum=4500 [15:35:58]line 0 [15:35:58]OFD Sender: Processing packet 37801 [packets to send 42, broken 41] [15:35:58]ProducePacketName [15:35:58]name=ofd_packets/00037801 [15:35:58]OFD Sender: To server: pG, [15:35:58]CommunicateWithHost lk.salyk.kg:30040 [15:35:58]ConnectInit lk.salyk.kg [15:35:58]written 0, free lines is 4095 [15:35:59]Write to MH i2c: 01 00 00 AC 23 CF [15:35:59]Write i2c OK [15:35:59]MH_I2C_Read... [15:35:59]Read from MH i2c: 01 [15:35:59]MH_I2C_Read... [15:35:59]Read from MH i2c: 01 07 00 [15:35:59]MH_I2C_Read... [15:35:59]Read from MH i2c: 01 07 00 AC 23 00 00 00 00 00 C1 0C A3 [15:35:59]RasterBufferAndPrint [15:35:59]line [15:35:59]line [15:35:59]line [15:35:59]line [15:35:59]line [15:35:59]written 0, free lines is 3269 [15:35:59]MH_Cut [15:35:59]Write to MH i2c: D1 01 00 B3 23 01 A8 [15:35:59]Write i2c OK [15:35:59]MH_I2C_Read... [15:35:59]Read from MH i2c: D1 [15:35:59]MH_I2C_Read... [15:35:59]Read from MH i2c: D1 01 00 [15:35:59]MH_I2C_Read... [15:35:59]Read from MH i2c: D1 01 00 B3 23 00 A7 [15:35:59]Write to MH i2c: 01 00 00 B4 23 D7 [15:35:59]Write i2c OK [15:35:59]MH_I2C_Read... [15:35:59]*** Cut start [15:35:59]*** Partial cut [15:35:59]*** CUTSNS_PIN = 1 [15:35:59]*** CUTSNS_PIN = 0 [15:36:00]*** Brake cut motor [15:36:00]Read from MH i2c: 01 [15:36:00]*** Stop cut motor [15:36:00]*** Cut end [15:36:00]MH_I2C_Read... [15:36:00]Read from MH i2c: 01 07 00 [15:36:00]MH_I2C_Read... [15:36:00]Read from MH i2c: 01 07 00 B4 23 00 00 00 00 00 FF 0F EC [15:36:00]process_action close_receipt done [15:36:00]requested_data is exist [15:36:00]produce_requested_data [15:36:00]requested_item fm.sn is exist - process it [15:36:00]wFMCommunicate request_size=4 [15:36:00]MH_SAM_APDU [15:36:00]CAPDU: 80 11 00 00 [15:36:00]Write to MH i2c: E2 08 00 B5 23 80 11 00 00 00 00 00 00 52 [15:36:00]Write i2c OK [15:36:00]MH_I2C_Read... [15:36:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:36:00]Read from MH i2c: E2 [15:36:00]MH_I2C_Read... [15:36:00]Read from MH i2c: E2 17 00 [15:36:00]MH_I2C_Read... [15:36:00]Read from MH i2c: E2 17 00 B5 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A2 [15:36:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:36:00]wFMCommunicate OK [15:36:00]requested_item fd.num is exist - process it [15:36:00]SAM_PROTO_GetFieldsCounters [15:36:00]wFMCommunicate request_size=4 [15:36:00]MH_SAM_APDU [15:36:00]CAPDU: 80 13 00 00 [15:36:00]Write to MH i2c: E2 08 00 B6 23 80 13 00 00 00 00 00 00 55 [15:36:00]Write i2c OK [15:36:00]MH_I2C_Read... [15:36:00]Connected sock=11 [15:36:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 18 01 00 00 88 BD 10 01 0A 3D 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 64 AF 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 A9 93 00 00 35 04 06 00 AC CE 9B 75 A0 86 E4 5B F6 B8 7D 30 A2 C7 [15:36:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:36:00]Read from MH i2c: E2 [15:36:00]MH_I2C_Read... [15:36:00]Read from MH i2c: E2 62 00 [15:36:00]MH_I2C_Read... [15:36:00]Read from MH i2c: E2 62 00 B6 23 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 A9 93 00 00 0E 04 04 00 27 02 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 5F [15:36:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 A9 93 00 00 0E 04 04 00 27 02 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 [15:36:00]wFMCommunicate OK [15:36:00]SAM_PROTO_GetFieldsCounters done [15:36:00]requested_item shift.num is exist - process it [15:36:00]requested_item shift.opened is exist - process it [15:36:00]req_shift_opened [15:36:00]FM_GetShiftState [15:36:00]SAM_PROTO_GetShiftState [15:36:00]wFMCommunicate request_size=4 [15:36:00]MH_SAM_APDU [15:36:00]CAPDU: 80 13 01 00 [15:36:00]Write to MH i2c: E2 08 00 B7 23 80 13 01 00 00 00 00 00 57 [15:36:00]Write i2c OK [15:36:00]MH_I2C_Read... [15:36:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:36:00]Read from MH i2c: E2 [15:36:00]MH_I2C_Read... [15:36:00]Read from MH i2c: E2 0E 00 [15:36:00]MH_I2C_Read... [15:36:00]Read from MH i2c: E2 0E 00 B7 23 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 D9 [15:36:00]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [15:36:00]wFMCommunicate OK [15:36:00]SAM_PROTO_GetShiftState done [15:36:00]FM_GetShiftState done [15:36:00]req_shift_opened done [15:36:00]requested_item shift.open_date is exist - process it [15:36:00]req_shift_open_date [15:36:00]req_shift_open_date done [15:36:00]produce_requested_data done [15:36:00]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37801,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [15:36:00]process_action_free close_receipt [15:36:00]json_value_free [15:36:00]json_value_free done [15:36:00]process_json_proto returns [15:36:00]Send response to host [15:36:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37801,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [15:36:00]free response buf [15:36:00]execute_script done [15:36:00]execute_script returns [15:36:00]free content buf [15:36:00]Sock 10.Close socket [15:36:00]Sock 10.Thread stoped [15:36:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 E9 64 47 00 3E A3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 A9 93 00 00 F4 03 04 00 5B 5A 1F 67 B6 04 01 00 00 FD 3D 94 9D 6E 3E A3 74 [15:36:01]CommunicateWithHost err = 0 [15:36:01]CheckOFDResponse [15:36:01]1017 (14) - 77093643461234 [15:36:01]1041 (16) - 0000000000871841 [15:36:01]1040 (4) - 37801 [15:36:01]1012 (4) - 28.10.2024 09:33 [15:36:01]1206 (1) - 0 [15:36:01]OFD Sender: Remove packet 37801 [15:36:01]ProducePacketName [15:36:01]name=ofd_packets/00037801 [15:36:01]NVStorageDeleteData [15:36:01]OFD Sender: No OFD packet to send [15:36:06]OFD Sender: No OFD packet to send [15:36:11]OFD Sender: No OFD packet to send [15:36:16]OFD Sender: No OFD packet to send [15:36:21]OFD Sender: No OFD packet to send [15:36:26]OFD Sender: No OFD packet to send [15:36:31]OFD Sender: No OFD packet to send [15:36:36]OFD Sender: No OFD packet to send [15:36:41]OFD Sender: No OFD packet to send [15:36:46]OFD Sender: No OFD packet to send [15:36:51]OFD Sender: No OFD packet to send [15:36:56]OFD Sender: No OFD packet to send [15:37:01]OFD Sender: No OFD packet to send [15:37:06]OFD Sender: No OFD packet to send [15:37:11]OFD Sender: No OFD packet to send [15:37:16]OFD Sender: No OFD packet to send [15:37:21]OFD Sender: No OFD packet to send [15:37:26]OFD Sender: No OFD packet to send [15:37:31]OFD Sender: No OFD packet to send [15:37:36]OFD Sender: No OFD packet to send [15:37:41]OFD Sender: No OFD packet to send [15:37:46]OFD Sender: No OFD packet to send [15:37:51]OFD Sender: No OFD packet to send [15:37:56]OFD Sender: No OFD packet to send [15:38:01]OFD Sender: No OFD packet to send [15:38:06]OFD Sender: No OFD packet to send [15:38:11]OFD Sender: No OFD packet to send [15:38:16]OFD Sender: No OFD packet to send [15:38:21]OFD Sender: No OFD packet to send [15:38:26]OFD Sender: No OFD packet to send [15:38:31]OFD Sender: No OFD packet to send [15:38:36]OFD Sender: No OFD packet to send [15:38:41]OFD Sender: No OFD packet to send [15:38:46]OFD Sender: No OFD packet to send [15:38:51]OFD Sender: No OFD packet to send [15:38:56]OFD Sender: No OFD packet to send [15:39:01]OFD Sender: No OFD packet to send [15:39:06]OFD Sender: No OFD packet to send [15:39:11]OFD Sender: No OFD packet to send [15:39:16]OFD Sender: No OFD packet to send [15:39:21]OFD Sender: No OFD packet to send [15:39:26]OFD Sender: No OFD packet to send [15:39:31]OFD Sender: No OFD packet to send [15:39:36]OFD Sender: No OFD packet to send [15:39:41]OFD Sender: No OFD packet to send [15:39:46]OFD Sender: No OFD packet to send [15:39:51]OFD Sender: No OFD packet to send [15:39:56]OFD Sender: No OFD packet to send [15:40:01]OFD Sender: No OFD packet to send [15:40:06]OFD Sender: No OFD packet to send [15:40:11]OFD Sender: No OFD packet to send [15:40:16]OFD Sender: No OFD packet to send [15:40:21]OFD Sender: No OFD packet to send [15:40:26]OFD Sender: No OFD packet to send [15:40:31]OFD Sender: No OFD packet to send [15:40:36]OFD Sender: No OFD packet to send [15:40:41]OFD Sender: No OFD packet to send [15:40:46]OFD Sender: No OFD packet to send [15:40:51]OFD Sender: No OFD packet to send [15:40:56]OFD Sender: No OFD packet to send [15:41:01]OFD Sender: No OFD packet to send [15:41:06]OFD Sender: No OFD packet to send [15:41:11]OFD Sender: No OFD packet to send [15:41:16]OFD Sender: No OFD packet to send [15:41:21]OFD Sender: No OFD packet to send [15:41:26]OFD Sender: No OFD packet to send [15:41:31]OFD Sender: No OFD packet to send [15:41:36]OFD Sender: No OFD packet to send [15:41:41]OFD Sender: No OFD packet to send [15:41:46]OFD Sender: No OFD packet to send [15:41:51]OFD Sender: No OFD packet to send [15:41:56]OFD Sender: No OFD packet to send [15:42:01]OFD Sender: No OFD packet to send [15:42:06]OFD Sender: No OFD packet to send [15:42:11]OFD Sender: No OFD packet to send [15:42:16]OFD Sender: No OFD packet to send [15:42:21]OFD Sender: No OFD packet to send [15:42:26]OFD Sender: No OFD packet to send [15:42:32]OFD Sender: No OFD packet to send [15:42:37]OFD Sender: No OFD packet to send [15:42:42]OFD Sender: No OFD packet to send [15:42:47]OFD Sender: No OFD packet to send [15:42:52]OFD Sender: No OFD packet to send [15:42:57]OFD Sender: No OFD packet to send [15:43:02]OFD Sender: No OFD packet to send [15:43:07]OFD Sender: No OFD packet to send [15:43:12]OFD Sender: No OFD packet to send [15:43:17]OFD Sender: No OFD packet to send [15:43:22]OFD Sender: No OFD packet to send [15:43:27]OFD Sender: No OFD packet to send [15:43:32]OFD Sender: No OFD packet to send [15:43:37]OFD Sender: No OFD packet to send [15:43:42]OFD Sender: No OFD packet to send [15:43:47]OFD Sender: No OFD packet to send [15:43:52]OFD Sender: No OFD packet to send [15:43:57]OFD Sender: No OFD packet to send [15:44:02]OFD Sender: No OFD packet to send [15:44:07]OFD Sender: No OFD packet to send [15:44:12]OFD Sender: No OFD packet to send [15:44:17]OFD Sender: No OFD packet to send [15:44:22]OFD Sender: No OFD packet to send [15:44:27]OFD Sender: No OFD packet to send [15:44:32]OFD Sender: No OFD packet to send [15:44:37]OFD Sender: No OFD packet to send [15:44:42]OFD Sender: No OFD packet to send [15:44:47]OFD Sender: No OFD packet to send [15:44:52]OFD Sender: No OFD packet to send [15:44:57]OFD Sender: No OFD packet to send [15:45:02]OFD Sender: No OFD packet to send [15:45:07]OFD Sender: No OFD packet to send [15:45:12]OFD Sender: No OFD packet to send [15:45:17]OFD Sender: No OFD packet to send [15:45:22]OFD Sender: No OFD packet to send [15:45:27]OFD Sender: No OFD packet to send [15:45:32]OFD Sender: No OFD packet to send [15:45:37]OFD Sender: No OFD packet to send [15:45:42]OFD Sender: No OFD packet to send [15:45:47]OFD Sender: No OFD packet to send [15:45:52]OFD Sender: No OFD packet to send [15:45:57]OFD Sender: No OFD packet to send [15:46:02]OFD Sender: No OFD packet to send [15:46:07]OFD Sender: No OFD packet to send [15:46:12]OFD Sender: No OFD packet to send [15:46:17]OFD Sender: No OFD packet to send [15:46:22]OFD Sender: No OFD packet to send [15:46:27]OFD Sender: No OFD packet to send [15:46:32]OFD Sender: No OFD packet to send [15:46:37]OFD Sender: No OFD packet to send [15:46:42]OFD Sender: No OFD packet to send [15:46:47]OFD Sender: No OFD packet to send [15:46:52]OFD Sender: No OFD packet to send [15:46:57]OFD Sender: No OFD packet to send [15:47:02]OFD Sender: No OFD packet to send [15:47:07]OFD Sender: No OFD packet to send [15:47:12]OFD Sender: No OFD packet to send [15:47:17]OFD Sender: No OFD packet to send [15:47:22]OFD Sender: No OFD packet to send [15:47:27]OFD Sender: No OFD packet to send [15:47:32]OFD Sender: No OFD packet to send [15:47:37]OFD Sender: No OFD packet to send [15:47:42]OFD Sender: No OFD packet to send [15:47:47]OFD Sender: No OFD packet to send [15:47:52]OFD Sender: No OFD packet to send [15:47:57]OFD Sender: No OFD packet to send [15:48:02]OFD Sender: No OFD packet to send [15:48:07]OFD Sender: No OFD packet to send [15:48:12]OFD Sender: No OFD packet to send [15:48:17]OFD Sender: No OFD packet to send [15:48:22]OFD Sender: No OFD packet to send [15:48:24]accept exits with 7 [15:48:24]New connection [15:48:24]New thread 3067297124 created [15:48:24]Thread 3067440484 joined [15:48:24]Waiting for new connection... [15:48:24] Sock 7.Parse request [15:48:24]Sock 7.Check first char [15:48:24]Sock 7.First char is OK [15:48:24]request: POST /json_proto HTTP/1.0 [15:48:24]Method: POST [15:48:24]URL: /json_proto [15:48:24]Method is POST - this is cgi request [15:48:24]url: /json_proto [15:48:24]query_string will be loaded in cgi processing [15:48:24]execute_cgi json_proto POST (null) [15:48:24]execute_cgi path=json_proto method=POST [15:48:24]POST find Content-Length [15:48:24]Host: 172.17.40.196:8080 [15:48:24]Content-Length: 621 [15:48:24]Content-Type: application/json [15:48:24] [15:48:24]POST finish read [15:48:24]Found Content-Length = 621 [15:48:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35101", "tax_sys" : 0, "items" : [ { "code": "4640030091621", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange W", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:48:24]execute_script... [15:48: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)35101", "tax_sys" : 0, "items" : [ { "code": "4640030091621", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange W", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:48:24]POST & json_proto [15:48:24]process_json_proto [15:48:24]json parsed OK: [15:48:24]protocol is kg_v1.0 [15:48:24]action value=close_receipt [15:48:24]process_action close_receipt [15:48:24]cmd_close_receipt [15:48:24]MH_GetDate [15:48:24]Write to MH i2c: F0 00 00 B8 23 CA [15:48:24]Write i2c OK [15:48:24]MH_I2C_Read... [15:48:24]Read from MH i2c: F0 [15:48:24]MH_I2C_Read... [15:48:24]Read from MH i2c: F0 09 00 [15:48:24]MH_I2C_Read... [15:48:24]Read from MH i2c: F0 09 00 B8 23 00 51 B2 1F 67 5B 68 A1 66 26 [15:48:24]GetLastDocTimeStamp 1730129764 [15:48:24]current date 1730130513 [15:48:24]FM_GetShiftState [15:48:24]SAM_PROTO_GetShiftState [15:48:24]wFMCommunicate request_size=4 [15:48:24]MH_SAM_APDU [15:48:24]CAPDU: 80 13 01 00 [15:48:24]Write to MH i2c: E2 08 00 B9 23 80 13 01 00 00 00 00 00 59 [15:48:24]Write i2c OK [15:48:24]MH_I2C_Read... [15:48:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:48:24]Read from MH i2c: E2 [15:48:24]MH_I2C_Read... [15:48:24]Read from MH i2c: E2 0E 00 [15:48:24]MH_I2C_Read... [15:48:24]Read from MH i2c: E2 0E 00 B9 23 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 DB [15:48:24]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [15:48:24]wFMCommunicate OK [15:48:24]SAM_PROTO_GetShiftState done [15:48:24]FM_GetShiftState done [15:48:24]opened in 1730073884 [15:48:24]opened+sec_in_day 1730160284 [15:48:24]quantity*price = 15900 [15:48:24]sum+1 = 15901 [15:48:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 159.00 НСП 1% : 1.41 НДС 12% : 16.88 Наличными: 159.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 45 28.10.2024 15:48 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37802 ФПД: 22223309973016 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T154833&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37802&fm=22223309973016&tin=02508201610067®Number=0000000000091684&sum=15900 0 [15:48:25]StoreToDocumentArchive [15:48:25]shift 551 fd 37802 [15:48:25]save to /storage/0551/doc_00037802 [15:48:25]save last doc name /storage/0551/doc_00037802 to /storage/kkm_last_doc_name [15:48:25]save OK [15:48:25]Clear old archive folders... [15:48:25]ProcessDocumentItem done err = 0, tmpTLVsize=274 [15:48:25]tlvbuf is 00244570 [15:48:25]SAM_PROTO_ClearQueue [15:48:25]wFMCommunicate request_size=4 [15:48:25]MH_SAM_APDU [15:48:25]CAPDU: 80 09 00 00 [15:48:25]Write to MH i2c: E2 08 00 C6 23 80 09 00 00 00 00 00 00 5B [15:48:25]Write i2c OK [15:48:25]MH_I2C_Read... [15:48:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:48:26]Read from MH i2c: E2 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: E2 03 00 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: E2 03 00 C6 23 00 90 00 5D [15:48:26]RAPDU: 90 00 [15:48:26]wFMCommunicate OK [15:48:26]SAM_PROTO_ClearQueue done [15:48:26]KKMCreateOFDPacket [15:48:26]OFDProtocolAddRootSTLVToBuf [15:48:26]FM_MakeSignedData [15:48:26]FM_MakeSignedData [15:48:26]SAM_PROTO_SignData [15:48:26]wFMCommunicate request_size=4 [15:48:26]MH_SAM_APDU [15:48:26]CAPDU: 80 0D 01 02 [15:48:26]Write to MH i2c: E2 08 00 C7 23 80 0D 01 02 00 00 00 00 63 [15:48:26]Write i2c OK [15:48:26]MH_I2C_Read... [15:48:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:48:26]Read from MH i2c: E2 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: E2 03 00 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: E2 03 00 C7 23 00 90 00 5E [15:48:26]RAPDU: 90 00 [15:48:26]wFMCommunicate OK [15:48:26]wFMCommunicate request_size=255 [15:48:26]MH_SAM_APDU [15:48:26]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 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 57 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 51 B2 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 [15:48:26]Write to MH i2c: E2 02 01 C8 23 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 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 57 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 51 B2 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 00 00 6D [15:48:26]Write i2c OK [15:48:26]MH_I2C_Read... [15:48:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:48:26]Read from MH i2c: E2 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: E2 03 00 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: E2 03 00 C8 23 00 90 00 5F [15:48:26]RAPDU: 90 00 [15:48:26]wFMCommunicate OK [15:48:26]wFMCommunicate request_size=33 [15:48:26]MH_SAM_APDU [15:48:26]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AA 93 00 00 35 04 06 00 14 36 44 7F 26 18 [15:48:26]Write to MH i2c: E2 24 00 C9 23 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AA 93 00 00 35 04 06 00 14 36 44 7F 26 18 00 00 7A [15:48:26]Write i2c OK [15:48:26]MH_I2C_Read... [15:48:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:48:26]Read from MH i2c: E2 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: E2 03 00 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: E2 03 00 C9 23 00 90 00 60 [15:48:26]RAPDU: 90 00 [15:48:26]wFMCommunicate OK [15:48:26]wFMCommunicate request_size=4 [15:48:26]MH_SAM_APDU [15:48:26]CAPDU: 80 0D 03 02 [15:48:26]Write to MH i2c: E2 08 00 CA 23 80 0D 03 02 00 00 00 00 68 [15:48:26]Write i2c OK [15:48:26]MH_I2C_Read... [15:48:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:48:26]Read from MH i2c: E2 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: E2 0B 00 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: E2 0B 00 CA 23 00 0C 2E 1E 2F 7B 60 16 45 90 00 26 [15:48:26]RAPDU: 0C 2E 1E 2F 7B 60 16 45 90 00 [15:48:26]wFMCommunicate OK [15:48:26]SAM_PROTO_SignData done [15:48:26]FM_MakeSignedData done [15:48:26]CreateOFDProtocolMessage [15:48:26]wFMCommunicate request_size=4 [15:48:26]MH_SAM_APDU [15:48:26]CAPDU: 80 11 00 00 [15:48:26]Write to MH i2c: E2 08 00 CB 23 80 11 00 00 00 00 00 00 68 [15:48:26]Write i2c OK [15:48:26]MH_I2C_Read... [15:48:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:48:26]Read from MH i2c: E2 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: E2 17 00 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: E2 17 00 CB 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B8 [15:48:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:48:26]wFMCommunicate OK [15:48:26]CreateOFDProtocolMessage done [15:48:26]OFDSenderStorePacket 37802 [15:48:26]StoreOFDPacket docnum=37802 [15:48:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 09 3E 1E 01 C1 23 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 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 57 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 51 B2 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AA 93 00 00 35 04 06 00 14 36 44 7F 26 18 0C 2E 1E 2F 7B 60 16 45 [15:48:26]CheckFolder [15:48:26]dirname=/storage/ofd_packets [15:48:26]CheckFolder done [15:48:26]ProducePacketName [15:48:26]name=ofd_packets/00037802 [15:48:26]NVStorageSaveData ofd_packets/00037802 [15:48:26]File name is /storage/ofd_packets/00037802 [15:48:26]Write 324 bytes [15:48:26]NVStorageSaveData done [15:48:26]OFDSenderStorePacket done [15:48:26]KKMCreateOFDPacket done [15:48:26]NVStorageSaveData kkm_last_timestamp [15:48:26]File name is /storage/kkm_last_timestamp [15:48:26]Write 4 bytes [15:48:26]NVStorageSaveData done [15:48:26]ExternCall_PrintAddStr [15:48:26]wPrintStart [15:48:26]Write to MH i2c: 01 00 00 CC 23 EF [15:48:26]OFD Sender: Processing packet 37802 [packets to send 42, broken 41] [15:48:26]ProducePacketName [15:48:26]name=ofd_packets/00037802 [15:48:26]OFD Sender: To server: pG, [15:48:26]CommunicateWithHost lk.salyk.kg:30040 [15:48:26]ConnectInit lk.salyk.kg [15:48:26]Write i2c OK [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: 01 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: 01 07 00 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: 01 07 00 CC 23 00 00 00 00 00 FF 0F 04 [15:48:26]RasterBufferAndPrint [15:48:26]line Счет N : (3)35101 [15:48:26]line ИНН: 02508201610067 [15:48:26]line Контрольно-Кассовый Чек [15:48:26]line ПРОДАЖА [15:48:26]line Товар: 4640030091621 [15:48:26]line Сигареты ESSE Exchange W [15:48:26]line 1.000 * 159.00 [15:48:26]line = 159.00 [15:48:26]line НДС 12% НСП 1% [15:48:26]line > о реализуемом товаре [15:48:26]line ИТОГО: 159.00 [15:48:26]line НСП 1% : 1.41 [15:48:26]line НДС 12% : 16.88 [15:48:26]line Наличными: 159.00 [15:48:26]line Безнал.: 0.00 [15:48:26]line Место: АЗС № 126 "Партнер Нефть" [15:48:26]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [15:48:26]line СНО: Общий режим [15:48:26]line Чек 45 28.10.2024 15:48 [15:48:26]line Смена: 551 ФФД: 1.0 [15:48:26]line ЗНМ: 0300000092 [15:48:26]line РНМ: 0000000000091684 [15:48:26]line Версия ККМ: 001 [15:48:26]line ФМ: 0000000000871841 [15:48:26]line ФД: 37802 [15:48:26]line ФПД: 22223309973016 [15:48:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T154833&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37802&fm=22223309973016&tin=02508201610067®Number=0000000000091684&sum=15900 [15:48:26]line 0 [15:48:26]written 0, free lines is 4095 [15:48:26]Write to MH i2c: 01 00 00 F4 23 17 [15:48:26]Write i2c OK [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: 01 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: 01 07 00 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: 01 07 00 F4 23 00 00 00 00 00 C2 0C EC [15:48:26]RasterBufferAndPrint [15:48:26]line [15:48:26]line [15:48:26]line [15:48:26]line [15:48:26]line [15:48:26]written 0, free lines is 3270 [15:48:27]MH_Cut [15:48:27]Write to MH i2c: D1 01 00 FB 23 01 F0 [15:48:27]Write i2c OK [15:48:27]MH_I2C_Read... [15:48:27]Read from MH i2c: D1 [15:48:27]MH_I2C_Read... [15:48:27]Read from MH i2c: D1 01 00 [15:48:27]MH_I2C_Read... [15:48:27]Read from MH i2c: D1 01 00 FB 23 00 EF [15:48:27]Write to MH i2c: 01 00 00 FC 23 1F [15:48:27]Write i2c OK [15:48:27]MH_I2C_Read... [15:48:27]Connected sock=10 [15:48: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 38 34 31 26 01 00 00 09 3E 1E 01 C1 23 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 32 31 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 57 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 51 B2 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AA 93 00 00 35 04 06 00 14 36 44 7F 26 18 0C 2E 1E 2F 7B 60 16 45 [15:48:27]*** Cut start [15:48:27]*** Partial cut [15:48:27]*** CUTSNS_PIN = 1 [15:48:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 27 B1 47 00 B8 06 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 AA 93 00 00 F4 03 04 00 45 5D 1F 67 B6 04 01 00 00 30 80 A0 36 BE 72 60 79 [15:48:27]CommunicateWithHost err = 0 [15:48:27]CheckOFDResponse [15:48:27]1017 (14) - 77093643461234 [15:48:27]1041 (16) - 0000000000871841 [15:48:27]1040 (4) - 37802 [15:48:27]1012 (4) - 28.10.2024 09:45 [15:48:27]1206 (1) - 0 [15:48:27]OFD Sender: Remove packet 37802 [15:48:27]ProducePacketName [15:48:27]name=ofd_packets/00037802 [15:48:27]NVStorageDeleteData [15:48:27]*** CUTSNS_PIN = 0 [15:48:28]*** Brake cut motor [15:48:28]OFD Sender: No OFD packet to send [15:48:28]Read from MH i2c: 01 [15:48:28]MH_I2C_Read... [15:48:28]*** Stop cut motor [15:48:28]*** Cut end [15:48:28]Read from MH i2c: 01 07 00 [15:48:28]MH_I2C_Read... [15:48:28]Read from MH i2c: 01 07 00 FC 23 00 00 00 00 00 FF 0F 34 [15:48:28]process_action close_receipt done [15:48:28]requested_data is exist [15:48:28]produce_requested_data [15:48:28]requested_item fm.sn is exist - process it [15:48:28]wFMCommunicate request_size=4 [15:48:28]MH_SAM_APDU [15:48:28]CAPDU: 80 11 00 00 [15:48:28]Write to MH i2c: E2 08 00 FD 23 80 11 00 00 00 00 00 00 9A [15:48:28]Write i2c OK [15:48:28]MH_I2C_Read... [15:48:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:48:28]Read from MH i2c: E2 [15:48:28]MH_I2C_Read... [15:48:28]Read from MH i2c: E2 17 00 [15:48:28]MH_I2C_Read... [15:48:28]Read from MH i2c: E2 17 00 FD 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 EA [15:48:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:48:28]wFMCommunicate OK [15:48:28]requested_item fd.num is exist - process it [15:48:28]SAM_PROTO_GetFieldsCounters [15:48:28]wFMCommunicate request_size=4 [15:48:28]MH_SAM_APDU [15:48:28]CAPDU: 80 13 00 00 [15:48:28]Write to MH i2c: E2 08 00 FE 23 80 13 00 00 00 00 00 00 9D [15:48:28]Write i2c OK [15:48:28]MH_I2C_Read... [15:48:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:48:28]Read from MH i2c: E2 [15:48:28]MH_I2C_Read... [15:48:28]Read from MH i2c: E2 62 00 [15:48:28]MH_I2C_Read... [15:48:28]Read from MH i2c: E2 62 00 FE 23 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 AA 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 AB [15:48: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 AA 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:48:28]wFMCommunicate OK [15:48:28]SAM_PROTO_GetFieldsCounters done [15:48:28]requested_item shift.num is exist - process it [15:48:28]requested_item shift.opened is exist - process it [15:48:28]req_shift_opened [15:48:28]FM_GetShiftState [15:48:28]SAM_PROTO_GetShiftState [15:48:28]wFMCommunicate request_size=4 [15:48:28]MH_SAM_APDU [15:48:28]CAPDU: 80 13 01 00 [15:48:28]Write to MH i2c: E2 08 00 FF 23 80 13 01 00 00 00 00 00 9F [15:48:28]Write i2c OK [15:48:28]MH_I2C_Read... [15:48:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:48:28]Read from MH i2c: E2 [15:48:28]MH_I2C_Read... [15:48:28]Read from MH i2c: E2 0E 00 [15:48:28]MH_I2C_Read... [15:48:28]Read from MH i2c: E2 0E 00 FF 23 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 21 [15:48:28]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [15:48:28]wFMCommunicate OK [15:48:28]SAM_PROTO_GetShiftState done [15:48:28]FM_GetShiftState done [15:48:28]req_shift_opened done [15:48:28]requested_item shift.open_date is exist - process it [15:48:28]req_shift_open_date [15:48:28]req_shift_open_date done [15:48:28]produce_requested_data done [15:48:28]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37802,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [15:48:28]process_action_free close_receipt [15:48:28]json_value_free [15:48:28]json_value_free done [15:48:28]process_json_proto returns [15:48:28]Send response to host [15:48:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37802,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [15:48:28]free response buf [15:48:28]execute_script done [15:48:28]execute_script returns [15:48:28]free content buf [15:48:28]Sock 7.Close socket [15:48:28]Sock 7.Thread stoped [15:48:33]OFD Sender: No OFD packet to send [15:48:38]OFD Sender: No OFD packet to send [15:48:43]OFD Sender: No OFD packet to send [15:48:48]OFD Sender: No OFD packet to send [15:48:53]OFD Sender: No OFD packet to send [15:48:58]OFD Sender: No OFD packet to send [15:49:03]OFD Sender: No OFD packet to send [15:49:08]OFD Sender: No OFD packet to send [15:49:13]OFD Sender: No OFD packet to send [15:49:18]OFD Sender: No OFD packet to send [15:49:23]OFD Sender: No OFD packet to send [15:49:28]OFD Sender: No OFD packet to send [15:49:33]OFD Sender: No OFD packet to send [15:49:38]OFD Sender: No OFD packet to send [15:49:43]OFD Sender: No OFD packet to send [15:49:48]OFD Sender: No OFD packet to send [15:49:53]OFD Sender: No OFD packet to send [15:49:58]OFD Sender: No OFD packet to send [15:50:03]OFD Sender: No OFD packet to send [15:50:08]OFD Sender: No OFD packet to send [15:50:13]OFD Sender: No OFD packet to send [15:50:18]OFD Sender: No OFD packet to send [15:50:23]OFD Sender: No OFD packet to send [15:50:28]OFD Sender: No OFD packet to send [15:50:33]OFD Sender: No OFD packet to send [15:50:38]OFD Sender: No OFD packet to send [15:50:43]OFD Sender: No OFD packet to send [15:50:48]OFD Sender: No OFD packet to send [15:50:53]OFD Sender: No OFD packet to send [15:50:58]OFD Sender: No OFD packet to send [15:51:03]OFD Sender: No OFD packet to send [15:51:08]OFD Sender: No OFD packet to send [15:51:13]OFD Sender: No OFD packet to send [15:51:18]OFD Sender: No OFD packet to send [15:51:23]OFD Sender: No OFD packet to send [15:51:28]OFD Sender: No OFD packet to send [15:51:33]OFD Sender: No OFD packet to send [15:51:38]OFD Sender: No OFD packet to send [15:51:43]OFD Sender: No OFD packet to send [15:51:48]OFD Sender: No OFD packet to send [15:51:53]OFD Sender: No OFD packet to send [15:51:58]OFD Sender: No OFD packet to send [15:52:03]OFD Sender: No OFD packet to send [15:52:08]OFD Sender: No OFD packet to send [15:52:13]OFD Sender: No OFD packet to send [15:52:18]OFD Sender: No OFD packet to send [15:52:23]OFD Sender: No OFD packet to send [15:52:28]OFD Sender: No OFD packet to send [15:52:33]OFD Sender: No OFD packet to send [15:52:38]OFD Sender: No OFD packet to send [15:52:43]OFD Sender: No OFD packet to send [15:52:48]OFD Sender: No OFD packet to send [15:52:53]OFD Sender: No OFD packet to send [15:52:58]OFD Sender: No OFD packet to send [15:53:03]OFD Sender: No OFD packet to send [15:53:08]OFD Sender: No OFD packet to send [15:53:13]OFD Sender: No OFD packet to send [15:53:18]OFD Sender: No OFD packet to send [15:53:23]OFD Sender: No OFD packet to send [15:53:28]OFD Sender: No OFD packet to send [15:53:33]OFD Sender: No OFD packet to send [15:53:38]OFD Sender: No OFD packet to send [15:53:43]OFD Sender: No OFD packet to send [15:53:48]OFD Sender: No OFD packet to send [15:53:53]OFD Sender: No OFD packet to send [15:53:58]OFD Sender: No OFD packet to send [15:54:03]OFD Sender: No OFD packet to send [15:54:08]OFD Sender: No OFD packet to send [15:54:13]OFD Sender: No OFD packet to send [15:54:18]OFD Sender: No OFD packet to send [15:54:23]OFD Sender: No OFD packet to send [15:54:28]OFD Sender: No OFD packet to send [15:54:33]OFD Sender: No OFD packet to send [15:54:38]OFD Sender: No OFD packet to send [15:54:43]OFD Sender: No OFD packet to send [15:54:48]OFD Sender: No OFD packet to send [15:54:53]OFD Sender: No OFD packet to send [15:54:58]OFD Sender: No OFD packet to send [15:55:03]OFD Sender: No OFD packet to send [15:55:08]OFD Sender: No OFD packet to send [15:55:13]OFD Sender: No OFD packet to send [15:55:18]OFD Sender: No OFD packet to send [15:55:23]OFD Sender: No OFD packet to send [15:55:28]OFD Sender: No OFD packet to send [15:55:33]OFD Sender: No OFD packet to send [15:55:38]OFD Sender: No OFD packet to send [15:55:43]OFD Sender: No OFD packet to send [15:55:48]OFD Sender: No OFD packet to send [15:55:53]OFD Sender: No OFD packet to send [15:55:58]OFD Sender: No OFD packet to send [15:56:03]OFD Sender: No OFD packet to send [15:56:08]OFD Sender: No OFD packet to send [15:56:13]OFD Sender: No OFD packet to send [15:56:18]OFD Sender: No OFD packet to send [15:56:23]OFD Sender: No OFD packet to send [15:56:28]OFD Sender: No OFD packet to send [15:56:33]OFD Sender: No OFD packet to send [15:56:38]OFD Sender: No OFD packet to send [15:56:41]accept exits with 9 [15:56:41]New connection [15:56:41]New thread 3067440484 created [15:56:41]Thread 3067297124 joined [15:56:41]Waiting for new connection... [15:56:41] Sock 9.Parse request [15:56:41]Sock 9.Check first char [15:56:41]Sock 9.First char is OK [15:56:41]request: POST /json_proto HTTP/1.0 [15:56:41]Method: POST [15:56:41]URL: /json_proto [15:56:41]Method is POST - this is cgi request [15:56:41]url: /json_proto [15:56:41]query_string will be loaded in cgi processing [15:56:41]execute_cgi json_proto POST (null) [15:56:41]execute_cgi path=json_proto method=POST [15:56:41]POST find Content-Length [15:56:41]Host: 172.17.40.196:8080 [15:56:41]Content-Length: 1066 [15:56:41]Content-Type: application/json [15:56:41] [15:56:41]POST finish read [15:56:41]Found Content-Length = 1066 [15:56:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35102", "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 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 4.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:56:41]execute_script... [15:56:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35102", "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 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 4.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:56:41]POST & json_proto [15:56:41]process_json_proto [15:56:41]json parsed OK: [15:56:41]protocol is kg_v1.0 [15:56:41]action value=close_receipt [15:56:41]process_action close_receipt [15:56:41]cmd_close_receipt [15:56:41]MH_GetDate [15:56:41]Write to MH i2c: F0 00 00 00 24 13 [15:56:41]Write i2c OK [15:56:41]MH_I2C_Read... [15:56:41]Read from MH i2c: F0 [15:56:41]MH_I2C_Read... [15:56:41]Read from MH i2c: F0 09 00 [15:56:41]MH_I2C_Read... [15:56:41]Read from MH i2c: F0 09 00 00 24 00 42 B4 1F 67 5B 68 A1 66 62 [15:56:41]GetLastDocTimeStamp 1730130513 [15:56:41]current date 1730131010 [15:56:41]FM_GetShiftState [15:56:41]SAM_PROTO_GetShiftState [15:56:41]wFMCommunicate request_size=4 [15:56:41]MH_SAM_APDU [15:56:41]CAPDU: 80 13 01 00 [15:56:41]Write to MH i2c: E2 08 00 01 24 80 13 01 00 00 00 00 00 A2 [15:56:41]Write i2c OK [15:56:41]MH_I2C_Read... [15:56:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:56:41]Read from MH i2c: E2 [15:56:41]MH_I2C_Read... [15:56:41]Read from MH i2c: E2 0E 00 [15:56:41]MH_I2C_Read... [15:56:41]Read from MH i2c: E2 0E 00 01 24 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 24 [15:56:41]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [15:56:41]wFMCommunicate OK [15:56:41]SAM_PROTO_GetShiftState done [15:56:41]FM_GetShiftState done [15:56:41]opened in 1730073884 [15:56:41]opened+sec_in_day 1730160284 [15:56:41]quantity*price = 13000 [15:56:41]sum+1 = 13001 [15:56:41]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160013 Снек Курут индивидуальный 4.000 * 15.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.17 Наличными: 0.00 Безнал.: 190.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 46 28.10.2024 15:56 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37803 ФПД: 141130266355717 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T155650&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37803&fm=141130266355717&tin=02508201610067®Number=0000000000091684&sum=19000 0 [15:56:42]StoreToDocumentArchive [15:56:42]shift 551 fd 37803 [15:56:42]save to /storage/0551/doc_00037803 [15:56:42]save last doc name /storage/0551/doc_00037803 to /storage/kkm_last_doc_name [15:56:42]save OK [15:56:42]Clear old archive folders... [15:56:42]ProcessDocumentItem done err = 0, tmpTLVsize=396 [15:56:42]tlvbuf is 002E5900 [15:56:42]SAM_PROTO_ClearQueue [15:56:42]wFMCommunicate request_size=4 [15:56:42]MH_SAM_APDU [15:56:42]CAPDU: 80 09 00 00 [15:56:42]Write to MH i2c: E2 08 00 0E 24 80 09 00 00 00 00 00 00 A4 [15:56:42]Write i2c OK [15:56:42]MH_I2C_Read... [15:56:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:56:43]Read from MH i2c: E2 [15:56:43]MH_I2C_Read... [15:56:43]Read from MH i2c: E2 03 00 [15:56:43]MH_I2C_Read... [15:56:43]Read from MH i2c: E2 03 00 0E 24 00 90 00 A6 [15:56:43]RAPDU: 90 00 [15:56:43]wFMCommunicate OK [15:56:43]SAM_PROTO_ClearQueue done [15:56:43]KKMCreateOFDPacket [15:56:43]OFDProtocolAddRootSTLVToBuf [15:56:43]FM_MakeSignedData [15:56:43]FM_MakeSignedData [15:56:43]SAM_PROTO_SignData [15:56:43]wFMCommunicate request_size=4 [15:56:43]MH_SAM_APDU [15:56:43]CAPDU: 80 0D 01 02 [15:56:43]Write to MH i2c: E2 08 00 0F 24 80 0D 01 02 00 00 00 00 AC [15:56:43]Write i2c OK [15:56:43]MH_I2C_Read... [15:56:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:56:43]Read from MH i2c: E2 [15:56:43]MH_I2C_Read... [15:56:43]Read from MH i2c: E2 03 00 [15:56:43]MH_I2C_Read... [15:56:43]Read from MH i2c: E2 03 00 0F 24 00 90 00 A7 [15:56:43]RAPDU: 90 00 [15:56:43]wFMCommunicate OK [15:56:43]wFMCommunicate request_size=255 [15:56:43]MH_SAM_APDU [15:56:43]CAPDU: 80 0D 02 02 FA 03 00 8C 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 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF [15:56:43]Write to MH i2c: E2 02 01 10 24 80 0D 02 02 FA 00 03 00 8C 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 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 00 00 7A [15:56:43]Write i2c OK [15:56:43]MH_I2C_Read... [15:56:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:56:43]Read from MH i2c: E2 [15:56:43]MH_I2C_Read... [15:56:43]Read from MH i2c: E2 03 00 [15:56:43]MH_I2C_Read... [15:56:43]Read from MH i2c: E2 03 00 10 24 00 90 00 A8 [15:56:43]RAPDU: 90 00 [15:56:43]wFMCommunicate OK [15:56:43]wFMCommunicate request_size=155 [15:56:43]MH_SAM_APDU [15:56:43]CAPDU: 80 0D 02 02 96 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 42 B4 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AB 93 00 00 35 04 06 00 80 5B 73 64 A8 05 [15:56:43]Write to MH i2c: E2 9E 00 11 24 80 0D 02 02 96 00 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 42 B4 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AB 93 00 00 35 04 06 00 80 5B 73 64 A8 05 00 00 97 [15:56:43]Write i2c OK [15:56:43]MH_I2C_Read... [15:56:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:56:43]Read from MH i2c: E2 [15:56:43]MH_I2C_Read... [15:56:43]Read from MH i2c: E2 03 00 [15:56:43]MH_I2C_Read... [15:56:43]Read from MH i2c: E2 03 00 11 24 00 90 00 A9 [15:56:43]RAPDU: 90 00 [15:56:43]wFMCommunicate OK [15:56:43]wFMCommunicate request_size=4 [15:56:43]MH_SAM_APDU [15:56:43]CAPDU: 80 0D 03 02 [15:56:43]Write to MH i2c: E2 08 00 12 24 80 0D 03 02 00 00 00 00 B1 [15:56:43]Write i2c OK [15:56:43]MH_I2C_Read... [15:56:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:56:43]Read from MH i2c: E2 [15:56:43]MH_I2C_Read... [15:56:43]Read from MH i2c: E2 0B 00 [15:56:43]MH_I2C_Read... [15:56:43]Read from MH i2c: E2 0B 00 12 24 00 D4 EA 38 F6 F4 C8 01 4E 90 00 A9 [15:56:43]RAPDU: D4 EA 38 F6 F4 C8 01 4E 90 00 [15:56:43]wFMCommunicate OK [15:56:43]SAM_PROTO_SignData done [15:56:43]FM_MakeSignedData done [15:56:43]CreateOFDProtocolMessage [15:56:43]wFMCommunicate request_size=4 [15:56:43]MH_SAM_APDU [15:56:43]CAPDU: 80 11 00 00 [15:56:43]Write to MH i2c: E2 08 00 13 24 80 11 00 00 00 00 00 00 B1 [15:56:43]Write i2c OK [15:56:43]MH_I2C_Read... [15:56:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:56:43]Read from MH i2c: E2 [15:56:43]MH_I2C_Read... [15:56:43]Read from MH i2c: E2 17 00 [15:56:43]MH_I2C_Read... [15:56:43]Read from MH i2c: E2 17 00 13 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 01 [15:56:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:56:43]wFMCommunicate OK [15:56:43]CreateOFDProtocolMessage done [15:56:43]OFDSenderStorePacket 37803 [15:56:43]StoreOFDPacket docnum=37803 [15:56:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 A0 01 00 00 EE 17 98 01 DE 6B 5A 03 01 00 03 00 8C 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 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 42 B4 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AB 93 00 00 35 04 06 00 80 5B 73 64 A8 05 D4 EA 38 F6 F4 C8 01 4E [15:56:43]CheckFolder [15:56:43]dirname=/storage/ofd_packets [15:56:43]CheckFolder done [15:56:43]ProducePacketName [15:56:43]name=ofd_packets/00037803 [15:56:43]NVStorageSaveData ofd_packets/00037803 [15:56:43]File name is /storage/ofd_packets/00037803 [15:56:43]Write 446 bytes [15:56:43]NVStorageSaveData done [15:56:43]OFDSenderStorePacket done [15:56:43]KKMCreateOFDPacket done [15:56:43]NVStorageSaveData kkm_last_timestamp [15:56:43]File name is /storage/kkm_last_timestamp [15:56:43]Write 4 bytes [15:56:43]NVStorageSaveData done [15:56:43]ExternCall_PrintAddStr [15:56:43]wPrintStart [15:56:43]Write to MH i2c: 01 00 00 14 24 38 [15:56:43]OFD Sender: Processing packet 37803 [packets to send 42, broken 41] [15:56:43]ProducePacketName [15:56:43]name=ofd_packets/00037803 [15:56:43]OFD Sender: To server: pG, [15:56:43]CommunicateWithHost lk.salyk.kg:30040 [15:56:43]ConnectInit lk.salyk.kg [15:56:43]Write i2c OK [15:56:43]MH_I2C_Read... [15:56:43]Read from MH i2c: 01 [15:56:43]MH_I2C_Read... [15:56:43]Read from MH i2c: 01 07 00 [15:56:43]MH_I2C_Read... [15:56:43]Read from MH i2c: 01 07 00 14 24 00 00 00 00 00 FF 0F 4D [15:56:43]RasterBufferAndPrint [15:56:43]line Счет N : (3)35102 [15:56:43]line ИНН: 02508201610067 [15:56:43]line Контрольно-Кассовый Чек [15:56:43]line ПРОДАЖА [15:56:43]line Товар: 2000036230011 [15:56:43]line Кофе Латте XL(GABB TRADE) [15:56:43]line 1.000 * 130.00 [15:56:43]line = 130.00 [15:56:43]line НДС 12% НСП 1% [15:56:43]line > о реализуемом товаре [15:56:43]line Товар: 4700000160013 [15:56:43]line Снек Курут индивидуальный [15:56:43]line 4.000 * 15.00 [15:56:43]line = 60.00 [15:56:43]line НДС 12% НСП 1% [15:56:43]line > о реализуемом товаре [15:56:43]line ИТОГО: 190.00 [15:56:43]line НСП 1% : 1.68 [15:56:43]line НДС 12% : 20.17 [15:56:43]line Наличными: 0.00 [15:56:43]line Безнал.: 190.00 [15:56:43]line Место: АЗС № 126 "Партнер Нефть" [15:56:43]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [15:56:43]line СНО: Общий режим [15:56:43]line Чек 46 28.10.2024 15:56 [15:56:43]line Смена: 551 ФФД: 1.0 [15:56:43]line ЗНМ: 0300000092 [15:56:43]line РНМ: 0000000000091684 [15:56:43]line Версия ККМ: 001 [15:56:43]line Платежная система: Mbank [15:56:43]line ФМ: 0000000000871841 [15:56:43]line ФД: 37803 [15:56:43]line ФПД: 141130266355717 [15:56:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T155650&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37803&fm=141130266355717&tin=02508201610067®Number=0000000000091684&sum=19000 [15:56:43]line 0 [15:56:43]written 0, free lines is 4095 [15:56:44]Write to MH i2c: 01 00 00 43 24 67 [15:56:44]Write i2c OK [15:56:44]MH_I2C_Read... [15:56:44]Read from MH i2c: 01 [15:56:44]MH_I2C_Read... [15:56:44]Read from MH i2c: 01 07 00 [15:56:44]MH_I2C_Read... [15:56:44]Read from MH i2c: 01 07 00 43 24 00 00 00 00 00 46 0C C0 [15:56:44]RasterBufferAndPrint [15:56:44]line [15:56:44]line [15:56:44]line [15:56:44]line [15:56:44]line [15:56:44]written 0, free lines is 3146 [15:56:44]MH_Cut [15:56:44]Write to MH i2c: D1 01 00 4A 24 01 40 [15:56:44]Write i2c OK [15:56:44]MH_I2C_Read... [15:56:44]Read from MH i2c: D1 [15:56:44]MH_I2C_Read... [15:56:44]Read from MH i2c: D1 01 00 [15:56:44]MH_I2C_Read... [15:56:44]Read from MH i2c: D1 01 00 4A 24 00 3F [15:56:44]Write to MH i2c: 01 00 00 4B 24 6F [15:56:44]Write i2c OK [15:56:44]MH_I2C_Read... [15:56:45]*** Cut start [15:56:45]*** Partial cut [15:56:45]*** CUTSNS_PIN = 1 [15:56:45]*** CUTSNS_PIN = 0 [15:56:45]*** Brake cut motor [15:56:46]Read from MH i2c: 01 [15:56:46]MH_I2C_Read... [15:56:46]*** Stop cut motor [15:56:46]*** Cut end [15:56:46]Read from MH i2c: 01 07 00 [15:56:46]MH_I2C_Read... [15:56:46]Read from MH i2c: 01 07 00 4B 24 00 00 00 00 00 FF 0F 84 [15:56:46]process_action close_receipt done [15:56:46]requested_data is exist [15:56:46]produce_requested_data [15:56:46]requested_item fm.sn is exist - process it [15:56:46]wFMCommunicate request_size=4 [15:56:46]MH_SAM_APDU [15:56:46]CAPDU: 80 11 00 00 [15:56:46]Write to MH i2c: E2 08 00 4C 24 80 11 00 00 00 00 00 00 EA [15:56:46]Write i2c OK [15:56:46]MH_I2C_Read... [15:56:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:56:46]Read from MH i2c: E2 [15:56:46]MH_I2C_Read... [15:56:46]Read from MH i2c: E2 17 00 [15:56:46]MH_I2C_Read... [15:56:46]Read from MH i2c: E2 17 00 4C 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 3A [15:56:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:56:46]wFMCommunicate OK [15:56:46]requested_item fd.num is exist - process it [15:56:46]SAM_PROTO_GetFieldsCounters [15:56:46]wFMCommunicate request_size=4 [15:56:46]MH_SAM_APDU [15:56:46]CAPDU: 80 13 00 00 [15:56:46]Write to MH i2c: E2 08 00 4D 24 80 13 00 00 00 00 00 00 ED [15:56:46]Write i2c OK [15:56:46]MH_I2C_Read... [15:56:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:56:46]Read from MH i2c: E2 [15:56:46]MH_I2C_Read... [15:56:46]Read from MH i2c: E2 62 00 [15:56:46]MH_I2C_Read... [15:56:46]Read from MH i2c: E2 62 00 4D 24 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 AB 93 00 00 0E 04 04 00 27 02 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 FF [15:56:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 AB 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:56:46]wFMCommunicate OK [15:56:46]SAM_PROTO_GetFieldsCounters done [15:56:46]requested_item shift.num is exist - process it [15:56:46]requested_item shift.opened is exist - process it [15:56:46]req_shift_opened [15:56:46]FM_GetShiftState [15:56:46]SAM_PROTO_GetShiftState [15:56:46]wFMCommunicate request_size=4 [15:56:46]MH_SAM_APDU [15:56:46]CAPDU: 80 13 01 00 [15:56:46]Write to MH i2c: E2 08 00 4E 24 80 13 01 00 00 00 00 00 EF [15:56:46]Write i2c OK [15:56:46]MH_I2C_Read... [15:56:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:56:46]Read from MH i2c: E2 [15:56:46]MH_I2C_Read... [15:56:46]Read from MH i2c: E2 0E 00 [15:56:46]MH_I2C_Read... [15:56:46]Read from MH i2c: E2 0E 00 4E 24 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 71 [15:56:46]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [15:56:46]wFMCommunicate OK [15:56:46]SAM_PROTO_GetShiftState done [15:56:46]FM_GetShiftState done [15:56:46]req_shift_opened done [15:56:46]requested_item shift.open_date is exist - process it [15:56:46]req_shift_open_date [15:56:46]req_shift_open_date done [15:56:46]produce_requested_data done [15:56:46]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37803,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [15:56:46]process_action_free close_receipt [15:56:46]json_value_free [15:56:46]json_value_free done [15:56:46]process_json_proto returns [15:56:46]Send response to host [15:56:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37803,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [15:56:46]free response buf [15:56:46]execute_script done [15:56:46]execute_script returns [15:56:46]free content buf [15:56:46]Sock 9.Close socket [15:56:46]Sock 9.Thread stoped [15:56:46]Connected sock=11 [15:56: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 38 34 31 A0 01 00 00 EE 17 98 01 DE 6B 5A 03 01 00 03 00 8C 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 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 42 B4 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AB 93 00 00 35 04 06 00 80 5B 73 64 A8 05 D4 EA 38 F6 F4 C8 01 4E [15:56:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 B8 59 47 00 FF C7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 AB 93 00 00 F4 03 04 00 38 5F 1F 67 B6 04 01 00 00 39 7D E0 B8 FB B1 1E CE [15:56:46]CommunicateWithHost err = 0 [15:56:46]CheckOFDResponse [15:56:46]1017 (14) - 77093643461234 [15:56:46]1041 (16) - 0000000000871841 [15:56:46]1040 (4) - 37803 [15:56:46]1012 (4) - 28.10.2024 09:54 [15:56:46]1206 (1) - 0 [15:56:46]OFD Sender: Remove packet 37803 [15:56:46]ProducePacketName [15:56:46]name=ofd_packets/00037803 [15:56:46]NVStorageDeleteData [15:56:47]OFD Sender: No OFD packet to send [15:56:52]OFD Sender: No OFD packet to send [15:56:57]OFD Sender: No OFD packet to send [15:57:02]OFD Sender: No OFD packet to send [15:57:07]OFD Sender: No OFD packet to send [15:57:12]OFD Sender: No OFD packet to send [15:57:17]OFD Sender: No OFD packet to send [15:57:22]OFD Sender: No OFD packet to send [15:57:27]OFD Sender: No OFD packet to send [15:57:32]OFD Sender: No OFD packet to send [15:57:37]OFD Sender: No OFD packet to send [15:57:42]OFD Sender: No OFD packet to send [15:57:47]OFD Sender: No OFD packet to send [15:57:52]OFD Sender: No OFD packet to send [15:57:57]OFD Sender: No OFD packet to send [15:58:02]OFD Sender: No OFD packet to send [15:58:07]OFD Sender: No OFD packet to send [15:58:12]OFD Sender: No OFD packet to send [15:58:17]OFD Sender: No OFD packet to send [15:58:22]OFD Sender: No OFD packet to send [15:58:27]OFD Sender: No OFD packet to send [15:58:32]OFD Sender: No OFD packet to send [15:58:37]OFD Sender: No OFD packet to send [15:58:42]OFD Sender: No OFD packet to send [15:58:47]OFD Sender: No OFD packet to send [15:58:52]OFD Sender: No OFD packet to send [15:58:57]OFD Sender: No OFD packet to send [15:59:02]OFD Sender: No OFD packet to send [15:59:07]OFD Sender: No OFD packet to send [15:59:12]OFD Sender: No OFD packet to send [15:59:17]OFD Sender: No OFD packet to send [15:59:22]OFD Sender: No OFD packet to send [15:59:27]OFD Sender: No OFD packet to send [15:59:32]OFD Sender: No OFD packet to send [15:59:37]OFD Sender: No OFD packet to send [15:59:42]OFD Sender: No OFD packet to send [15:59:47]OFD Sender: No OFD packet to send [15:59:52]OFD Sender: No OFD packet to send [15:59:57]OFD Sender: No OFD packet to send [16:00:02]OFD Sender: No OFD packet to send [16:00:07]OFD Sender: No OFD packet to send [16:00:12]OFD Sender: No OFD packet to send [16:00:17]OFD Sender: No OFD packet to send [16:00:22]OFD Sender: No OFD packet to send [16:00:27]OFD Sender: No OFD packet to send [16:00:32]OFD Sender: No OFD packet to send [16:00:37]OFD Sender: No OFD packet to send [16:00:42]OFD Sender: No OFD packet to send [16:00:47]OFD Sender: No OFD packet to send [16:00:52]OFD Sender: No OFD packet to send [16:00:57]OFD Sender: No OFD packet to send [16:01:02]OFD Sender: No OFD packet to send [16:01:07]OFD Sender: No OFD packet to send [16:01:12]OFD Sender: No OFD packet to send [16:01:17]OFD Sender: No OFD packet to send [16:01:22]OFD Sender: No OFD packet to send [16:01:27]OFD Sender: No OFD packet to send [16:01:32]OFD Sender: No OFD packet to send [16:01:37]OFD Sender: No OFD packet to send [16:01:42]OFD Sender: No OFD packet to send [16:01:47]OFD Sender: No OFD packet to send [16:01:52]OFD Sender: No OFD packet to send [16:01:57]OFD Sender: No OFD packet to send [16:02:02]OFD Sender: No OFD packet to send [16:02:07]OFD Sender: No OFD packet to send [16:02:12]OFD Sender: No OFD packet to send [16:02:17]OFD Sender: No OFD packet to send [16:02:22]OFD Sender: No OFD packet to send [16:02:27]OFD Sender: No OFD packet to send [16:02:32]OFD Sender: No OFD packet to send [16:02:37]OFD Sender: No OFD packet to send [16:02:42]OFD Sender: No OFD packet to send [16:02:47]OFD Sender: No OFD packet to send [16:02:52]OFD Sender: No OFD packet to send [16:02:57]OFD Sender: No OFD packet to send [16:03:02]OFD Sender: No OFD packet to send [16:03:07]OFD Sender: No OFD packet to send [16:03:12]OFD Sender: No OFD packet to send [16:03:17]OFD Sender: No OFD packet to send [16:03:22]OFD Sender: No OFD packet to send [16:03:27]OFD Sender: No OFD packet to send [16:03:32]OFD Sender: No OFD packet to send [16:03:37]OFD Sender: No OFD packet to send [16:03:42]OFD Sender: No OFD packet to send [16:03:47]OFD Sender: No OFD packet to send [16:03:52]OFD Sender: No OFD packet to send [16:03:57]OFD Sender: No OFD packet to send [16:04:02]OFD Sender: No OFD packet to send [16:04:07]OFD Sender: No OFD packet to send [16:04:12]OFD Sender: No OFD packet to send [16:04:17]OFD Sender: No OFD packet to send [16:04:22]OFD Sender: No OFD packet to send [16:04:27]OFD Sender: No OFD packet to send [16:04:32]OFD Sender: No OFD packet to send [16:04:37]OFD Sender: No OFD packet to send [16:04:42]OFD Sender: No OFD packet to send [16:04:47]OFD Sender: No OFD packet to send [16:04:52]OFD Sender: No OFD packet to send [16:04:57]OFD Sender: No OFD packet to send [16:05:02]OFD Sender: No OFD packet to send [16:05:07]OFD Sender: No OFD packet to send [16:05:12]OFD Sender: No OFD packet to send [16:05:17]OFD Sender: No OFD packet to send [16:05:22]OFD Sender: No OFD packet to send [16:05:27]OFD Sender: No OFD packet to send [16:05:32]OFD Sender: No OFD packet to send [16:05:37]OFD Sender: No OFD packet to send [16:05:42]OFD Sender: No OFD packet to send [16:05:47]OFD Sender: No OFD packet to send [16:05:52]OFD Sender: No OFD packet to send [16:05:57]OFD Sender: No OFD packet to send [16:06:02]OFD Sender: No OFD packet to send [16:06:07]OFD Sender: No OFD packet to send [16:06:12]OFD Sender: No OFD packet to send [16:06:17]OFD Sender: No OFD packet to send [16:06:22]OFD Sender: No OFD packet to send [16:06:27]OFD Sender: No OFD packet to send [16:06:32]OFD Sender: No OFD packet to send [16:06:37]OFD Sender: No OFD packet to send [16:06:42]OFD Sender: No OFD packet to send [16:06:47]OFD Sender: No OFD packet to send [16:06:52]OFD Sender: No OFD packet to send [16:06:57]OFD Sender: No OFD packet to send [16:07:02]OFD Sender: No OFD packet to send [16:07:07]OFD Sender: No OFD packet to send [16:07:12]OFD Sender: No OFD packet to send [16:07:17]OFD Sender: No OFD packet to send [16:07:22]OFD Sender: No OFD packet to send [16:07:27]OFD Sender: No OFD packet to send [16:07:32]OFD Sender: No OFD packet to send [16:07:37]OFD Sender: No OFD packet to send [16:07:42]OFD Sender: No OFD packet to send [16:07:47]OFD Sender: No OFD packet to send [16:07:52]OFD Sender: No OFD packet to send [16:07:57]OFD Sender: No OFD packet to send [16:08:02]OFD Sender: No OFD packet to send [16:08:07]OFD Sender: No OFD packet to send [16:08:12]OFD Sender: No OFD packet to send [16:08:17]OFD Sender: No OFD packet to send [16:08:22]OFD Sender: No OFD packet to send [16:08:27]OFD Sender: No OFD packet to send [16:08:32]OFD Sender: No OFD packet to send [16:08:37]OFD Sender: No OFD packet to send [16:08:42]OFD Sender: No OFD packet to send [16:08:47]OFD Sender: No OFD packet to send [16:08:52]OFD Sender: No OFD packet to send [16:08:58]OFD Sender: No OFD packet to send [16:09:03]OFD Sender: No OFD packet to send [16:09:08]OFD Sender: No OFD packet to send [16:09:13]OFD Sender: No OFD packet to send [16:09:18]OFD Sender: No OFD packet to send [16:09:23]OFD Sender: No OFD packet to send [16:09:28]OFD Sender: No OFD packet to send [16:09:33]OFD Sender: No OFD packet to send [16:09:38]OFD Sender: No OFD packet to send [16:09:43]OFD Sender: No OFD packet to send [16:09:48]OFD Sender: No OFD packet to send [16:09:53]OFD Sender: No OFD packet to send [16:09:58]OFD Sender: No OFD packet to send [16:10:03]OFD Sender: No OFD packet to send [16:10:08]OFD Sender: No OFD packet to send [16:10:13]OFD Sender: No OFD packet to send [16:10:18]OFD Sender: No OFD packet to send [16:10:23]OFD Sender: No OFD packet to send [16:10:28]OFD Sender: No OFD packet to send [16:10:33]OFD Sender: No OFD packet to send [16:10:38]OFD Sender: No OFD packet to send [16:10:43]OFD Sender: No OFD packet to send [16:10:48]OFD Sender: No OFD packet to send [16:10:53]OFD Sender: No OFD packet to send [16:10:58]OFD Sender: No OFD packet to send [16:11:03]OFD Sender: No OFD packet to send [16:11:08]OFD Sender: No OFD packet to send [16:11:13]OFD Sender: No OFD packet to send [16:11:18]OFD Sender: No OFD packet to send [16:11:23]OFD Sender: No OFD packet to send [16:11:28]OFD Sender: No OFD packet to send [16:11:33]OFD Sender: No OFD packet to send [16:11:38]OFD Sender: No OFD packet to send [16:11:43]OFD Sender: No OFD packet to send [16:11:48]OFD Sender: No OFD packet to send [16:11:53]OFD Sender: No OFD packet to send [16:11:58]OFD Sender: No OFD packet to send [16:12:03]OFD Sender: No OFD packet to send [16:12:08]OFD Sender: No OFD packet to send [16:12:13]OFD Sender: No OFD packet to send [16:12:18]OFD Sender: No OFD packet to send [16:12:23]OFD Sender: No OFD packet to send [16:12:28]OFD Sender: No OFD packet to send [16:12:33]OFD Sender: No OFD packet to send [16:12:38]OFD Sender: No OFD packet to send [16:12:43]OFD Sender: No OFD packet to send [16:12:48]OFD Sender: No OFD packet to send [16:12:53]OFD Sender: No OFD packet to send [16:12:58]OFD Sender: No OFD packet to send [16:13:03]OFD Sender: No OFD packet to send [16:13:08]OFD Sender: No OFD packet to send [16:13:13]OFD Sender: No OFD packet to send [16:13:18]OFD Sender: No OFD packet to send [16:13:23]OFD Sender: No OFD packet to send [16:13:28]OFD Sender: No OFD packet to send [16:13:33]OFD Sender: No OFD packet to send [16:13:38]OFD Sender: No OFD packet to send [16:13:43]OFD Sender: No OFD packet to send [16:13:48]OFD Sender: No OFD packet to send [16:13:53]OFD Sender: No OFD packet to send [16:13:58]OFD Sender: No OFD packet to send [16:14:03]OFD Sender: No OFD packet to send [16:14:08]OFD Sender: No OFD packet to send [16:14:13]OFD Sender: No OFD packet to send [16:14:18]OFD Sender: No OFD packet to send [16:14:23]OFD Sender: No OFD packet to send [16:14:28]OFD Sender: No OFD packet to send [16:14:33]OFD Sender: No OFD packet to send [16:14:38]OFD Sender: No OFD packet to send [16:14:43]OFD Sender: No OFD packet to send [16:14:48]OFD Sender: No OFD packet to send [16:14:53]OFD Sender: No OFD packet to send [16:14:58]OFD Sender: No OFD packet to send [16:15:03]OFD Sender: No OFD packet to send [16:15:08]OFD Sender: No OFD packet to send [16:15:13]OFD Sender: No OFD packet to send [16:15:18]OFD Sender: No OFD packet to send [16:15:23]OFD Sender: No OFD packet to send [16:15:28]OFD Sender: No OFD packet to send [16:15:33]OFD Sender: No OFD packet to send [16:15:38]OFD Sender: No OFD packet to send [16:15:43]OFD Sender: No OFD packet to send [16:15:48]OFD Sender: No OFD packet to send [16:15:53]OFD Sender: No OFD packet to send [16:15:58]OFD Sender: No OFD packet to send [16:16:03]OFD Sender: No OFD packet to send [16:16:08]OFD Sender: No OFD packet to send [16:16:13]OFD Sender: No OFD packet to send [16:16:18]OFD Sender: No OFD packet to send [16:16:23]OFD Sender: No OFD packet to send [16:16:28]OFD Sender: No OFD packet to send [16:16:33]OFD Sender: No OFD packet to send [16:16:38]OFD Sender: No OFD packet to send [16:16:43]OFD Sender: No OFD packet to send [16:16:48]OFD Sender: No OFD packet to send [16:16:53]OFD Sender: No OFD packet to send [16:16:58]OFD Sender: No OFD packet to send [16:17:03]OFD Sender: No OFD packet to send [16:17:08]OFD Sender: No OFD packet to send [16:17:13]OFD Sender: No OFD packet to send [16:17:18]OFD Sender: No OFD packet to send [16:17:23]OFD Sender: No OFD packet to send [16:17:28]OFD Sender: No OFD packet to send [16:17:33]OFD Sender: No OFD packet to send [16:17:38]OFD Sender: No OFD packet to send [16:17:43]OFD Sender: No OFD packet to send [16:17:48]OFD Sender: No OFD packet to send [16:17:53]OFD Sender: No OFD packet to send [16:17:58]OFD Sender: No OFD packet to send [16:18:03]OFD Sender: No OFD packet to send [16:18:08]OFD Sender: No OFD packet to send [16:18:13]OFD Sender: No OFD packet to send [16:18:18]OFD Sender: No OFD packet to send [16:18:23]OFD Sender: No OFD packet to send [16:18:28]OFD Sender: No OFD packet to send [16:18:33]OFD Sender: No OFD packet to send [16:18:38]OFD Sender: No OFD packet to send [16:18:43]OFD Sender: No OFD packet to send [16:18:48]OFD Sender: No OFD packet to send [16:18:53]OFD Sender: No OFD packet to send [16:18:58]OFD Sender: No OFD packet to send [16:19:03]OFD Sender: No OFD packet to send [16:19:08]OFD Sender: No OFD packet to send [16:19:13]OFD Sender: No OFD packet to send [16:19:18]OFD Sender: No OFD packet to send [16:19:23]OFD Sender: No OFD packet to send [16:19:28]OFD Sender: No OFD packet to send [16:19:33]OFD Sender: No OFD packet to send [16:19:38]OFD Sender: No OFD packet to send [16:19:43]OFD Sender: No OFD packet to send [16:19:48]OFD Sender: No OFD packet to send [16:19:53]OFD Sender: No OFD packet to send [16:19:58]OFD Sender: No OFD packet to send [16:20:03]OFD Sender: No OFD packet to send [16:20:08]OFD Sender: No OFD packet to send [16:20:13]OFD Sender: No OFD packet to send [16:20:18]OFD Sender: No OFD packet to send [16:20:23]OFD Sender: No OFD packet to send [16:20:28]OFD Sender: No OFD packet to send [16:20:33]OFD Sender: No OFD packet to send [16:20:38]OFD Sender: No OFD packet to send [16:20:43]OFD Sender: No OFD packet to send [16:20:48]OFD Sender: No OFD packet to send [16:20:53]OFD Sender: No OFD packet to send [16:20:58]OFD Sender: No OFD packet to send [16:21:03]OFD Sender: No OFD packet to send [16:21:05]accept exits with 7 [16:21:05]New connection [16:21:05]New thread 3067297124 created [16:21:05]Thread 3067440484 joined [16:21:05]Waiting for new connection... [16:21:05] Sock 7.Parse request [16:21:05]Sock 7.Check first char [16:21:05]Sock 7.First char is OK [16:21:05]request: POST /json_proto HTTP/1.0 [16:21:05]Method: POST [16:21:05]URL: /json_proto [16:21:05]Method is POST - this is cgi request [16:21:05]url: /json_proto [16:21:05]query_string will be loaded in cgi processing [16:21:05]execute_cgi json_proto POST (null) [16:21:05]execute_cgi path=json_proto method=POST [16:21:05]POST find Content-Length [16:21:05]Host: 172.17.40.196:8080 [16:21:05]Content-Length: 646 [16:21:05]Content-Type: application/json [16:21:05] [16:21:05]POST finish read [16:21:05]Found Content-Length = 646 [16:21:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35103", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 3.000, "sum" : 195.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:21:05]execute_script... [16:21: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)35103", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 3.000, "sum" : 195.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:21:05]POST & json_proto [16:21:05]process_json_proto [16:21:05]json parsed OK: [16:21:05]protocol is kg_v1.0 [16:21:05]action value=close_receipt [16:21:05]process_action close_receipt [16:21:05]cmd_close_receipt [16:21:05]MH_GetDate [16:21:05]Write to MH i2c: F0 00 00 4F 24 62 [16:21:05]Write i2c OK [16:21:05]MH_I2C_Read... [16:21:05]Read from MH i2c: F0 [16:21:05]MH_I2C_Read... [16:21:05]Read from MH i2c: F0 09 00 [16:21:05]MH_I2C_Read... [16:21:05]Read from MH i2c: F0 09 00 4F 24 00 FA B9 1F 67 5B 68 A1 66 6E [16:21:05]GetLastDocTimeStamp 1730131010 [16:21:05]current date 1730132474 [16:21:05]FM_GetShiftState [16:21:05]SAM_PROTO_GetShiftState [16:21:05]wFMCommunicate request_size=4 [16:21:05]MH_SAM_APDU [16:21:05]CAPDU: 80 13 01 00 [16:21:05]Write to MH i2c: E2 08 00 50 24 80 13 01 00 00 00 00 00 F1 [16:21:05]Write i2c OK [16:21:05]MH_I2C_Read... [16:21:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:21:05]Read from MH i2c: E2 [16:21:05]MH_I2C_Read... [16:21:05]Read from MH i2c: E2 0E 00 [16:21:05]MH_I2C_Read... [16:21:05]Read from MH i2c: E2 0E 00 50 24 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 73 [16:21:05]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [16:21:05]wFMCommunicate OK [16:21:05]SAM_PROTO_GetShiftState done [16:21:05]FM_GetShiftState done [16:21:05]opened in 1730073884 [16:21:05]opened+sec_in_day 1730160284 [16:21:05]quantity*price = 19500 [16:21:05]sum+1 = 19501 [16:21:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 195.00 НСП 1% : 1.73 НДС 12% : 20.71 Наличными: 195.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 47 28.10.2024 16:21 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37804 ФПД: 206940475420827 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T162114&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37804&fm=206940475420827&tin=02508201610067®Number=0000000000091684&sum=19500 0 [16:21:06]StoreToDocumentArchive [16:21:06]shift 551 fd 37804 [16:21:06]save to /storage/0551/doc_00037804 [16:21:06]save last doc name /storage/0551/doc_00037804 to /storage/kkm_last_doc_name [16:21:06]save OK [16:21:06]Clear old archive folders... [16:21:06]ProcessDocumentItem done err = 0, tmpTLVsize=272 [16:21:06]tlvbuf is 0028A740 [16:21:06]SAM_PROTO_ClearQueue [16:21:06]wFMCommunicate request_size=4 [16:21:06]MH_SAM_APDU [16:21:06]CAPDU: 80 09 00 00 [16:21:06]Write to MH i2c: E2 08 00 5D 24 80 09 00 00 00 00 00 00 F3 [16:21:06]Write i2c OK [16:21:06]MH_I2C_Read... [16:21:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:21:06]Read from MH i2c: E2 [16:21:06]MH_I2C_Read... [16:21:06]Read from MH i2c: E2 03 00 [16:21:06]MH_I2C_Read... [16:21:06]Read from MH i2c: E2 03 00 5D 24 00 90 00 F5 [16:21:06]RAPDU: 90 00 [16:21:06]wFMCommunicate OK [16:21:06]SAM_PROTO_ClearQueue done [16:21:06]KKMCreateOFDPacket [16:21:06]OFDProtocolAddRootSTLVToBuf [16:21:06]FM_MakeSignedData [16:21:06]FM_MakeSignedData [16:21:06]SAM_PROTO_SignData [16:21:06]wFMCommunicate request_size=4 [16:21:06]MH_SAM_APDU [16:21:06]CAPDU: 80 0D 01 02 [16:21:06]Write to MH i2c: E2 08 00 5E 24 80 0D 01 02 00 00 00 00 FB [16:21:06]Write i2c OK [16:21:06]MH_I2C_Read... [16:21:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:21:06]Read from MH i2c: E2 [16:21:06]MH_I2C_Read... [16:21:06]Read from MH i2c: E2 03 00 [16:21:06]MH_I2C_Read... [16:21:06]Read from MH i2c: E2 03 00 5E 24 00 90 00 F6 [16:21:06]RAPDU: 90 00 [16:21:06]wFMCommunicate OK [16:21:06]wFMCommunicate request_size=255 [16:21:06]MH_SAM_APDU [16:21:06]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 2C 4C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 FA B9 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [16:21:06]Write to MH i2c: E2 02 01 5F 24 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 2C 4C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 FA B9 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 83 [16:21:06]Write i2c OK [16:21:06]MH_I2C_Read... [16:21:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:21:07]Read from MH i2c: E2 [16:21:07]MH_I2C_Read... [16:21:07]Read from MH i2c: E2 03 00 [16:21:07]MH_I2C_Read... [16:21:07]Read from MH i2c: E2 03 00 5F 24 00 90 00 F7 [16:21:07]RAPDU: 90 00 [16:21:07]wFMCommunicate OK [16:21:07]wFMCommunicate request_size=31 [16:21:07]MH_SAM_APDU [16:21:07]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 AC 93 00 00 35 04 06 00 BC 36 15 86 F0 9B [16:21:07]Write to MH i2c: E2 22 00 60 24 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 AC 93 00 00 35 04 06 00 BC 36 15 86 F0 9B 00 00 7D [16:21:07]Write i2c OK [16:21:07]MH_I2C_Read... [16:21:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:21:07]Read from MH i2c: E2 [16:21:07]MH_I2C_Read... [16:21:07]Read from MH i2c: E2 03 00 [16:21:07]MH_I2C_Read... [16:21:07]Read from MH i2c: E2 03 00 60 24 00 90 00 F8 [16:21:07]RAPDU: 90 00 [16:21:07]wFMCommunicate OK [16:21:07]wFMCommunicate request_size=4 [16:21:07]MH_SAM_APDU [16:21:07]CAPDU: 80 0D 03 02 [16:21:07]Write to MH i2c: E2 08 00 61 24 80 0D 03 02 00 00 00 00 00 [16:21:07]Write i2c OK [16:21:07]MH_I2C_Read... [16:21:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:21:07]Read from MH i2c: E2 [16:21:07]MH_I2C_Read... [16:21:07]Read from MH i2c: E2 0B 00 [16:21:07]MH_I2C_Read... [16:21:07]Read from MH i2c: E2 0B 00 61 24 00 BD 5A 75 6F 7E 7D DE 62 90 00 37 [16:21:07]RAPDU: BD 5A 75 6F 7E 7D DE 62 90 00 [16:21:07]wFMCommunicate OK [16:21:07]SAM_PROTO_SignData done [16:21:07]FM_MakeSignedData done [16:21:07]CreateOFDProtocolMessage [16:21:07]wFMCommunicate request_size=4 [16:21:07]MH_SAM_APDU [16:21:07]CAPDU: 80 11 00 00 [16:21:07]Write to MH i2c: E2 08 00 62 24 80 11 00 00 00 00 00 00 00 [16:21:07]Write i2c OK [16:21:07]MH_I2C_Read... [16:21:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:21:07]Read from MH i2c: E2 [16:21:07]MH_I2C_Read... [16:21:07]Read from MH i2c: E2 17 00 [16:21:07]MH_I2C_Read... [16:21:07]Read from MH i2c: E2 17 00 62 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 50 [16:21:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:21:07]wFMCommunicate OK [16:21:07]CreateOFDProtocolMessage done [16:21:07]OFDSenderStorePacket 37804 [16:21:07]StoreOFDPacket docnum=37804 [16:21:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 09 11 1C 01 3C 69 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 2C 4C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 FA B9 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AC 93 00 00 35 04 06 00 BC 36 15 86 F0 9B BD 5A 75 6F 7E 7D DE 62 [16:21:07]CheckFolder [16:21:07]dirname=/storage/ofd_packets [16:21:07]CheckFolder done [16:21:07]ProducePacketName [16:21:07]name=ofd_packets/00037804 [16:21:07]NVStorageSaveData ofd_packets/00037804 [16:21:07]File name is /storage/ofd_packets/00037804 [16:21:07]Write 322 bytes [16:21:07]NVStorageSaveData done [16:21:07]OFDSenderStorePacket done [16:21:07]KKMCreateOFDPacket done [16:21:07]NVStorageSaveData kkm_last_timestamp [16:21:07]File name is /storage/kkm_last_timestamp [16:21:07]Write 4 bytes [16:21:07]NVStorageSaveData done [16:21:07]ExternCall_PrintAddStr [16:21:07]wPrintStart [16:21:07]Write to MH i2c: 01 00 00 63 24 87 [16:21:07]Write i2c OK [16:21:07]MH_I2C_Read... [16:21:07]Read from MH i2c: 01 [16:21:07]MH_I2C_Read... [16:21:07]Read from MH i2c: 01 07 00 [16:21:07]MH_I2C_Read... [16:21:07]Read from MH i2c: 01 07 00 63 24 00 00 00 00 00 FF 0F 9C [16:21:07]RasterBufferAndPrint [16:21:07]line Счет N : (3)35103 [16:21:07]line ИНН: 02508201610067 [16:21:07]line Контрольно-Кассовый Чек [16:21:07]line ПРОДАЖА [16:21:07]line Товар: 47011656 [16:21:07]line Водка Пшеничная 0,1л [16:21:07]line 3.000 * 65.00 [16:21:07]line = 195.00 [16:21:07]line НДС 12% НСП 1% [16:21:07]line > о реализуемом товаре [16:21:07]line ИТОГО: 195.00 [16:21:07]line НСП 1% : 1.73 [16:21:07]line НДС 12% : 20.71 [16:21:07]line Наличными: 195.00 [16:21:07]line Безнал.: 0.00 [16:21:07]line Место: АЗС № 126 "Партнер Нефть" [16:21:07]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:21:07]line СНО: Общий режим [16:21:07]line Чек 47 28.10.2024 16:21 [16:21:07]line Смена: 551 ФФД: 1.0 [16:21:07]line ЗНМ: 0300000092 [16:21:07]line РНМ: 0000000000091684 [16:21:07]line Версия ККМ: 001 [16:21:07]line ФМ: 0000000000871841 [16:21:07]line ФД: 37804 [16:21:07]line ФПД: 206940475420827 [16:21:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T162114&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37804&fm=206940475420827&tin=02508201610067®Number=0000000000091684&sum=19500 [16:21:07]OFD Sender: Processing packet 37804 [packets to send 42, broken 41] [16:21:07]ProducePacketName [16:21:07]name=ofd_packets/00037804 [16:21:07]OFD Sender: To server: pG, [16:21:07]CommunicateWithHost lk.salyk.kg:30040 [16:21:07]ConnectInit lk.salyk.kg [16:21:07]line 0 [16:21:07]written 0, free lines is 4095 [16:21:07]Connected sock=10 [16:21: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 38 34 31 24 01 00 00 09 11 1C 01 3C 69 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 2C 4C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 FA B9 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AC 93 00 00 35 04 06 00 BC 36 15 86 F0 9B BD 5A 75 6F 7E 7D DE 62 [16:21:08]Write to MH i2c: 01 00 00 8B 24 AF [16:21:08]Write i2c OK [16:21:08]MH_I2C_Read... [16:21:08]Read from MH i2c: 01 [16:21:08]MH_I2C_Read... [16:21:08]Read from MH i2c: 01 07 00 [16:21:08]MH_I2C_Read... [16:21:08]Read from MH i2c: 01 07 00 8B 24 00 00 00 00 00 D2 0C 94 [16:21:08]RasterBufferAndPrint [16:21:08]line [16:21:08]line [16:21:08]line [16:21:08]line [16:21:08]line [16:21:08]written 0, free lines is 3288 [16:21:08]MH_Cut [16:21:08]Write to MH i2c: D1 01 00 92 24 01 88 [16:21:08]Write i2c OK [16:21:08]MH_I2C_Read... [16:21:08]Read from MH i2c: D1 [16:21:08]MH_I2C_Read... [16:21:08]Read from MH i2c: D1 01 00 [16:21:08]MH_I2C_Read... [16:21:08]Read from MH i2c: D1 01 00 92 24 00 87 [16:21:08]Write to MH i2c: 01 00 00 93 24 B7 [16:21:08]Write i2c OK [16:21:08]MH_I2C_Read... [16:21:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 D3 98 47 00 7E 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 38 34 31 10 04 04 00 AC 93 00 00 F4 03 04 00 EE 64 1F 67 B6 04 01 00 00 BE 8B 27 3E 91 7A CD FD [16:21:08]CommunicateWithHost err = 0 [16:21:08]CheckOFDResponse [16:21:08]1017 (14) - 77093643461234 [16:21:08]1041 (16) - 0000000000871841 [16:21:08]1040 (4) - 37804 [16:21:08]1012 (4) - 28.10.2024 10:18 [16:21:08]1206 (1) - 0 [16:21:08]OFD Sender: Remove packet 37804 [16:21:08]ProducePacketName [16:21:08]name=ofd_packets/00037804 [16:21:08]NVStorageDeleteData [16:21:08]*** Cut start [16:21:08]*** Partial cut [16:21:08]*** CUTSNS_PIN = 1 [16:21:08]*** CUTSNS_PIN = 0 [16:21:09]OFD Sender: No OFD packet to send [16:21:09]*** Brake cut motor [16:21:09]Read from MH i2c: 01 [16:21:09]MH_I2C_Read... [16:21:09]*** Stop cut motor [16:21:09]*** Cut end [16:21:09]Read from MH i2c: 01 07 00 [16:21:09]MH_I2C_Read... [16:21:09]Read from MH i2c: 01 07 00 93 24 00 00 00 00 00 FF 0F CC [16:21:09]process_action close_receipt done [16:21:09]requested_data is exist [16:21:09]produce_requested_data [16:21:09]requested_item fm.sn is exist - process it [16:21:09]wFMCommunicate request_size=4 [16:21:09]MH_SAM_APDU [16:21:09]CAPDU: 80 11 00 00 [16:21:09]Write to MH i2c: E2 08 00 94 24 80 11 00 00 00 00 00 00 32 [16:21:09]Write i2c OK [16:21:09]MH_I2C_Read... [16:21:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:21:09]Read from MH i2c: E2 [16:21:09]MH_I2C_Read... [16:21:09]Read from MH i2c: E2 17 00 [16:21:09]MH_I2C_Read... [16:21:09]Read from MH i2c: E2 17 00 94 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 82 [16:21:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:21:09]wFMCommunicate OK [16:21:09]requested_item fd.num is exist - process it [16:21:09]SAM_PROTO_GetFieldsCounters [16:21:09]wFMCommunicate request_size=4 [16:21:09]MH_SAM_APDU [16:21:09]CAPDU: 80 13 00 00 [16:21:09]Write to MH i2c: E2 08 00 95 24 80 13 00 00 00 00 00 00 35 [16:21:09]Write i2c OK [16:21:09]MH_I2C_Read... [16:21:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:21:09]Read from MH i2c: E2 [16:21:09]MH_I2C_Read... [16:21:09]Read from MH i2c: E2 62 00 [16:21:09]MH_I2C_Read... [16:21:09]Read from MH i2c: E2 62 00 95 24 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 AC 93 00 00 0E 04 04 00 27 02 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 4B [16:21: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 AC 93 00 00 0E 04 04 00 27 02 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 [16:21:09]wFMCommunicate OK [16:21:09]SAM_PROTO_GetFieldsCounters done [16:21:09]requested_item shift.num is exist - process it [16:21:09]requested_item shift.opened is exist - process it [16:21:09]req_shift_opened [16:21:09]FM_GetShiftState [16:21:09]SAM_PROTO_GetShiftState [16:21:09]wFMCommunicate request_size=4 [16:21:09]MH_SAM_APDU [16:21:09]CAPDU: 80 13 01 00 [16:21:09]Write to MH i2c: E2 08 00 96 24 80 13 01 00 00 00 00 00 37 [16:21:09]Write i2c OK [16:21:09]MH_I2C_Read... [16:21:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:21:09]Read from MH i2c: E2 [16:21:09]MH_I2C_Read... [16:21:09]Read from MH i2c: E2 0E 00 [16:21:09]MH_I2C_Read... [16:21:09]Read from MH i2c: E2 0E 00 96 24 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 B9 [16:21:09]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [16:21:09]wFMCommunicate OK [16:21:09]SAM_PROTO_GetShiftState done [16:21:09]FM_GetShiftState done [16:21:09]req_shift_opened done [16:21:09]requested_item shift.open_date is exist - process it [16:21:09]req_shift_open_date [16:21:09]req_shift_open_date done [16:21:09]produce_requested_data done [16:21:09]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37804,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [16:21:09]process_action_free close_receipt [16:21:09]json_value_free [16:21:09]json_value_free done [16:21:09]process_json_proto returns [16:21:09]Send response to host [16:21:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37804,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [16:21:09]free response buf [16:21:09]execute_script done [16:21:09]execute_script returns [16:21:09]free content buf [16:21:09]Sock 7.Close socket [16:21:09]Sock 7.Thread stoped [16:21:14]OFD Sender: No OFD packet to send [16:21:19]OFD Sender: No OFD packet to send [16:21:24]OFD Sender: No OFD packet to send [16:21:29]OFD Sender: No OFD packet to send [16:21:34]OFD Sender: No OFD packet to send [16:21:39]OFD Sender: No OFD packet to send [16:21:44]OFD Sender: No OFD packet to send [16:21:49]OFD Sender: No OFD packet to send [16:21:54]OFD Sender: No OFD packet to send [16:21:59]OFD Sender: No OFD packet to send [16:22:04]OFD Sender: No OFD packet to send [16:22:09]OFD Sender: No OFD packet to send [16:22:14]OFD Sender: No OFD packet to send [16:22:19]OFD Sender: No OFD packet to send [16:22:24]OFD Sender: No OFD packet to send [16:22:29]OFD Sender: No OFD packet to send [16:22:34]OFD Sender: No OFD packet to send [16:22:39]OFD Sender: No OFD packet to send [16:22:44]OFD Sender: No OFD packet to send [16:22:49]OFD Sender: No OFD packet to send [16:22:54]OFD Sender: No OFD packet to send [16:22:59]OFD Sender: No OFD packet to send [16:23:04]OFD Sender: No OFD packet to send [16:23:09]OFD Sender: No OFD packet to send [16:23:14]OFD Sender: No OFD packet to send [16:23:19]OFD Sender: No OFD packet to send [16:23:24]OFD Sender: No OFD packet to send [16:23:29]OFD Sender: No OFD packet to send [16:23:34]OFD Sender: No OFD packet to send [16:23:39]OFD Sender: No OFD packet to send [16:23:44]OFD Sender: No OFD packet to send [16:23:49]OFD Sender: No OFD packet to send [16:23:54]OFD Sender: No OFD packet to send [16:23:59]OFD Sender: No OFD packet to send [16:24:04]OFD Sender: No OFD packet to send [16:24:09]OFD Sender: No OFD packet to send [16:24:14]OFD Sender: No OFD packet to send [16:24:19]OFD Sender: No OFD packet to send [16:24:24]OFD Sender: No OFD packet to send [16:24:29]OFD Sender: No OFD packet to send [16:24:34]OFD Sender: No OFD packet to send [16:24:39]OFD Sender: No OFD packet to send [16:24:44]OFD Sender: No OFD packet to send [16:24:49]OFD Sender: No OFD packet to send [16:24:54]OFD Sender: No OFD packet to send [16:24:59]OFD Sender: No OFD packet to send [16:25:04]OFD Sender: No OFD packet to send [16:25:09]OFD Sender: No OFD packet to send [16:25:14]OFD Sender: No OFD packet to send [16:25:19]OFD Sender: No OFD packet to send [16:25:24]OFD Sender: No OFD packet to send [16:25:29]OFD Sender: No OFD packet to send [16:25:30]accept exits with 9 [16:25:30]New connection [16:25:30]New thread 3067440484 created [16:25:30]Thread 3067297124 joined [16:25:30]Waiting for new connection... [16:25:30] Sock 9.Parse request [16:25:30]Sock 9.Check first char [16:25:30]Sock 9.First char is OK [16:25:30]request: POST /json_proto HTTP/1.0 [16:25:30]Method: POST [16:25:30]URL: /json_proto [16:25:30]Method is POST - this is cgi request [16:25:30]url: /json_proto [16:25:30]query_string will be loaded in cgi processing [16:25:30]execute_cgi json_proto POST (null) [16:25:30]execute_cgi path=json_proto method=POST [16:25:30]POST find Content-Length [16:25:30]Host: 172.17.40.196:8080 [16:25:30]Content-Length: 677 [16:25:30]Content-Type: application/json [16:25:30] [16:25:30]POST finish read [16:25:30]Found Content-Length = 677 [16:25:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35104", "tax_sys" : 0, "items" : [ { "code": "4700001060077", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u041A\u0412 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D 0,2\u043B", "price" : 400.00, "quantity" : 1.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" ] } } [16:25:30]execute_script... [16:25: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)35104", "tax_sys" : 0, "items" : [ { "code": "4700001060077", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u041A\u0412 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D 0,2\u043B", "price" : 400.00, "quantity" : 1.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" ] } } [16:25:30]POST & json_proto [16:25:30]process_json_proto [16:25:30]json parsed OK: [16:25:30]protocol is kg_v1.0 [16:25:30]action value=close_receipt [16:25:30]process_action close_receipt [16:25:30]cmd_close_receipt [16:25:30]MH_GetDate [16:25:30]Write to MH i2c: F0 00 00 97 24 AA [16:25:30]Write i2c OK [16:25:30]MH_I2C_Read... [16:25:30]Read from MH i2c: F0 [16:25:30]MH_I2C_Read... [16:25:30]Read from MH i2c: F0 09 00 [16:25:30]MH_I2C_Read... [16:25:30]Read from MH i2c: F0 09 00 97 24 00 03 BB 1F 67 5B 68 A1 66 C1 [16:25:30]GetLastDocTimeStamp 1730132474 [16:25:30]current date 1730132739 [16:25:30]FM_GetShiftState [16:25:30]SAM_PROTO_GetShiftState [16:25:30]wFMCommunicate request_size=4 [16:25:30]MH_SAM_APDU [16:25:30]CAPDU: 80 13 01 00 [16:25:30]Write to MH i2c: E2 08 00 98 24 80 13 01 00 00 00 00 00 39 [16:25:30]Write i2c OK [16:25:30]MH_I2C_Read... [16:25:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:30]Read from MH i2c: E2 [16:25:30]MH_I2C_Read... [16:25:30]Read from MH i2c: E2 0E 00 [16:25:30]MH_I2C_Read... [16:25:30]Read from MH i2c: E2 0E 00 98 24 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 BB [16:25:30]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [16:25:30]wFMCommunicate OK [16:25:30]SAM_PROTO_GetShiftState done [16:25:30]FM_GetShiftState done [16:25:30]opened in 1730073884 [16:25:30]opened+sec_in_day 1730160284 [16:25:30]quantity*price = 40000 [16:25:30]sum+1 = 40001 [16:25:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 400.00 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 48 28.10.2024 16:25 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37805 ФПД: 2301812885356 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T162539&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37805&fm=2301812885356&tin=02508201610067®Number=0000000000091684&sum=40000 0 [16:25:31]StoreToDocumentArchive [16:25:31]shift 551 fd 37805 [16:25:31]save to /storage/0551/doc_00037805 [16:25:31]save last doc name /storage/0551/doc_00037805 to /storage/kkm_last_doc_name [16:25:31]save OK [16:25:31]Clear old archive folders... [16:25:31]ProcessDocumentItem done err = 0, tmpTLVsize=286 [16:25:31]tlvbuf is 002E5800 [16:25:31]SAM_PROTO_ClearQueue [16:25:31]wFMCommunicate request_size=4 [16:25:31]MH_SAM_APDU [16:25:31]CAPDU: 80 09 00 00 [16:25:31]Write to MH i2c: E2 08 00 A5 24 80 09 00 00 00 00 00 00 3B [16:25:31]Write i2c OK [16:25:31]MH_I2C_Read... [16:25:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:25:31]Read from MH i2c: E2 [16:25:31]MH_I2C_Read... [16:25:31]Read from MH i2c: E2 03 00 [16:25:31]MH_I2C_Read... [16:25:31]Read from MH i2c: E2 03 00 A5 24 00 90 00 3D [16:25:31]RAPDU: 90 00 [16:25:31]wFMCommunicate OK [16:25:31]SAM_PROTO_ClearQueue done [16:25:31]KKMCreateOFDPacket [16:25:31]OFDProtocolAddRootSTLVToBuf [16:25:31]FM_MakeSignedData [16:25:31]FM_MakeSignedData [16:25:31]SAM_PROTO_SignData [16:25:31]wFMCommunicate request_size=4 [16:25:31]MH_SAM_APDU [16:25:31]CAPDU: 80 0D 01 02 [16:25:31]Write to MH i2c: E2 08 00 A6 24 80 0D 01 02 00 00 00 00 43 [16:25:31]Write i2c OK [16:25:31]MH_I2C_Read... [16:25:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:25:31]Read from MH i2c: E2 [16:25:31]MH_I2C_Read... [16:25:31]Read from MH i2c: E2 03 00 [16:25:31]MH_I2C_Read... [16:25:31]Read from MH i2c: E2 03 00 A6 24 00 90 00 3E [16:25:31]RAPDU: 90 00 [16:25:31]wFMCommunicate OK [16:25:31]wFMCommunicate request_size=255 [16:25:31]MH_SAM_APDU [16:25:31]CAPDU: 80 0D 02 02 FA 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 30 37 37 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 9C 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 30 00 00 00 F4 03 04 00 03 BB 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 [16:25:31]Write to MH i2c: E2 02 01 A7 24 80 0D 02 02 FA 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 30 37 37 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 9C 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 30 00 00 00 F4 03 04 00 03 BB 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 00 00 17 [16:25:31]Write i2c OK [16:25:31]MH_I2C_Read... [16:25:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:32]Read from MH i2c: E2 [16:25:32]MH_I2C_Read... [16:25:32]Read from MH i2c: E2 03 00 [16:25:32]MH_I2C_Read... [16:25:32]Read from MH i2c: E2 03 00 A7 24 00 90 00 3F [16:25:32]RAPDU: 90 00 [16:25:32]wFMCommunicate OK [16:25:32]wFMCommunicate request_size=45 [16:25:32]MH_SAM_APDU [16:25:32]CAPDU: 80 0D 02 02 28 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AD 93 00 00 35 04 06 00 02 17 EE BD 47 6C [16:25:32]Write to MH i2c: E2 30 00 A8 24 80 0D 02 02 28 00 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AD 93 00 00 35 04 06 00 02 17 EE BD 47 6C 00 00 52 [16:25:32]Write i2c OK [16:25:32]MH_I2C_Read... [16:25:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:32]Read from MH i2c: E2 [16:25:32]MH_I2C_Read... [16:25:32]Read from MH i2c: E2 03 00 [16:25:32]MH_I2C_Read... [16:25:32]Read from MH i2c: E2 03 00 A8 24 00 90 00 40 [16:25:32]RAPDU: 90 00 [16:25:32]wFMCommunicate OK [16:25:32]wFMCommunicate request_size=4 [16:25:32]MH_SAM_APDU [16:25:32]CAPDU: 80 0D 03 02 [16:25:32]Write to MH i2c: E2 08 00 A9 24 80 0D 03 02 00 00 00 00 48 [16:25:32]Write i2c OK [16:25:32]MH_I2C_Read... [16:25:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:25:32]Read from MH i2c: E2 [16:25:32]MH_I2C_Read... [16:25:32]Read from MH i2c: E2 0B 00 [16:25:32]MH_I2C_Read... [16:25:32]Read from MH i2c: E2 0B 00 A9 24 00 27 76 A9 A2 82 25 0F B5 90 00 9C [16:25:32]RAPDU: 27 76 A9 A2 82 25 0F B5 90 00 [16:25:32]wFMCommunicate OK [16:25:32]SAM_PROTO_SignData done [16:25:32]FM_MakeSignedData done [16:25:32]CreateOFDProtocolMessage [16:25:32]wFMCommunicate request_size=4 [16:25:32]MH_SAM_APDU [16:25:32]CAPDU: 80 11 00 00 [16:25:32]Write to MH i2c: E2 08 00 AA 24 80 11 00 00 00 00 00 00 48 [16:25:32]Write i2c OK [16:25:32]MH_I2C_Read... [16:25:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:32]Read from MH i2c: E2 [16:25:32]MH_I2C_Read... [16:25:32]Read from MH i2c: E2 17 00 [16:25:32]MH_I2C_Read... [16:25:32]Read from MH i2c: E2 17 00 AA 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 98 [16:25:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:25:32]wFMCommunicate OK [16:25:32]CreateOFDProtocolMessage done [16:25:32]OFDSenderStorePacket 37805 [16:25:32]StoreOFDPacket docnum=37805 [16:25:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 32 01 00 00 18 BC 2A 01 3C 7F 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 30 37 37 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 9C 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 30 00 00 00 F4 03 04 00 03 BB 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AD 93 00 00 35 04 06 00 02 17 EE BD 47 6C 27 76 A9 A2 82 25 0F B5 [16:25:32]CheckFolder [16:25:32]dirname=/storage/ofd_packets [16:25:32]CheckFolder done [16:25:32]ProducePacketName [16:25:32]name=ofd_packets/00037805 [16:25:32]NVStorageSaveData ofd_packets/00037805 [16:25:32]File name is /storage/ofd_packets/00037805 [16:25:32]Write 336 bytes [16:25:32]NVStorageSaveData done [16:25:32]OFDSenderStorePacket done [16:25:32]KKMCreateOFDPacket done [16:25:32]NVStorageSaveData kkm_last_timestamp [16:25:32]File name is /storage/kkm_last_timestamp [16:25:32]Write 4 bytes [16:25:32]NVStorageSaveData done [16:25:32]ExternCall_PrintAddStr [16:25:32]wPrintStart [16:25:32]Write to MH i2c: 01 00 00 AB 24 CF [16:25:32]Write i2c OK [16:25:32]MH_I2C_Read... [16:25:32]Read from MH i2c: 01 [16:25:32]MH_I2C_Read... [16:25:32]Read from MH i2c: 01 07 00 [16:25:32]MH_I2C_Read... [16:25:32]Read from MH i2c: 01 07 00 AB 24 00 00 00 00 00 FF 0F E4 [16:25:32]RasterBufferAndPrint [16:25:32]line Счет N : (3)35104 [16:25:32]line ИНН: 02508201610067 [16:25:32]line Контрольно-Кассовый Чек [16:25:32]line ПРОДАЖА [16:25:32]line Товар: 4700001060077 [16:25:32]line Коньяк КВ Кыргызстан 0,2л [16:25:32]line 1.000 * 400.00 [16:25:32]line = 400.00 [16:25:32]line НДС 12% НСП 1% [16:25:32]line > о реализуемом товаре [16:25:32]line ИТОГО: 400.00 [16:25:32]line НСП 1% : 3.54 [16:25:32]line НДС 12% : 42.48 [16:25:32]line Наличными: 400.00 [16:25:32]line Безнал.: 0.00 [16:25:32]line Место: АЗС № 126 "Партнер Нефть" [16:25:32]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:25:32]line СНО: Общий режим [16:25:32]line Чек 48 28.10.2024 16:25 [16:25:32]line Смена: 551 ФФД: 1.0 [16:25:32]line ЗНМ: 0300000092 [16:25:32]line РНМ: 0000000000091684 [16:25:32]line Версия ККМ: 001 [16:25:32]line ФМ: 0000000000871841 [16:25:32]line ФД: 37805 [16:25:32]line ФПД: 2301812885356 [16:25:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T162539&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37805&fm=2301812885356&tin=02508201610067®Number=0000000000091684&sum=40000 [16:25:32]OFD Sender: Processing packet 37805 [packets to send 42, broken 41] [16:25:32]ProducePacketName [16:25:32]name=ofd_packets/00037805 [16:25:32]OFD Sender: To server: pG, [16:25:32]CommunicateWithHost lk.salyk.kg:30040 [16:25:32]ConnectInit lk.salyk.kg [16:25:32]line 0 [16:25:32]written 0, free lines is 4095 [16:25:33]Connected sock=10 [16:25:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 32 01 00 00 18 BC 2A 01 3C 7F 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 30 37 37 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 9C 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 30 00 00 00 F4 03 04 00 03 BB 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AD 93 00 00 35 04 06 00 02 17 EE BD 47 6C 27 76 A9 A2 82 25 0F B5 [16:25:33]Write to MH i2c: 01 00 00 D3 24 F7 [16:25:33]Write i2c OK [16:25:33]MH_I2C_Read... [16:25:33]Read from MH i2c: 01 [16:25:33]MH_I2C_Read... [16:25:33]Read from MH i2c: 01 07 00 [16:25:33]MH_I2C_Read... [16:25:33]Read from MH i2c: 01 07 00 D3 24 00 00 00 00 00 C0 0C CA [16:25:33]RasterBufferAndPrint [16:25:33]line [16:25:33]line [16:25:33]line [16:25:33]line [16:25:33]line [16:25:33]written 0, free lines is 3270 [16:25:33]MH_Cut [16:25:33]Write to MH i2c: D1 01 00 DA 24 01 D0 [16:25:33]Write i2c OK [16:25:33]MH_I2C_Read... [16:25:33]Read from MH i2c: D1 [16:25:33]MH_I2C_Read... [16:25:33]Read from MH i2c: D1 01 00 [16:25:33]MH_I2C_Read... [16:25:33]Read from MH i2c: D1 01 00 DA 24 00 CF [16:25:33]Write to MH i2c: 01 00 00 DB 24 FF [16:25:33]Write i2c OK [16:25:33]MH_I2C_Read... [16:25:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 B1 09 47 00 53 3F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 AD 93 00 00 F4 03 04 00 F7 65 1F 67 B6 04 01 00 00 54 04 AB 4B 33 C8 BD 03 [16:25:33]CommunicateWithHost err = 0 [16:25:33]CheckOFDResponse [16:25:33]1017 (14) - 77093643461234 [16:25:33]1041 (16) - 0000000000871841 [16:25:33]1040 (4) - 37805 [16:25:33]1012 (4) - 28.10.2024 10:22 [16:25:33]1206 (1) - 0 [16:25:33]OFD Sender: Remove packet 37805 [16:25:33]ProducePacketName [16:25:33]name=ofd_packets/00037805 [16:25:33]NVStorageDeleteData [16:25:33]*** Cut start [16:25:33]*** Partial cut [16:25:33]*** CUTSNS_PIN = 1 [16:25:33]*** CUTSNS_PIN = 0 [16:25:34]OFD Sender: No OFD packet to send [16:25:34]*** Brake cut motor [16:25:34]Read from MH i2c: 01 [16:25:34]MH_I2C_Read... [16:25:34]*** Stop cut motor [16:25:34]*** Cut end [16:25:34]Read from MH i2c: 01 07 00 [16:25:34]MH_I2C_Read... [16:25:34]Read from MH i2c: 01 07 00 DB 24 00 00 00 00 00 FF 0F 14 [16:25:34]process_action close_receipt done [16:25:34]requested_data is exist [16:25:34]produce_requested_data [16:25:34]requested_item fm.sn is exist - process it [16:25:34]wFMCommunicate request_size=4 [16:25:34]MH_SAM_APDU [16:25:34]CAPDU: 80 11 00 00 [16:25:34]Write to MH i2c: E2 08 00 DC 24 80 11 00 00 00 00 00 00 7A [16:25:34]Write i2c OK [16:25:34]MH_I2C_Read... [16:25:34]Read from MH i2c: E2 [16:25:34]MH_I2C_Read... [16:25:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:34]Read from MH i2c: E2 17 00 [16:25:34]MH_I2C_Read... [16:25:34]Read from MH i2c: E2 17 00 DC 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 CA [16:25:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:25:34]wFMCommunicate OK [16:25:34]requested_item fd.num is exist - process it [16:25:34]SAM_PROTO_GetFieldsCounters [16:25:34]wFMCommunicate request_size=4 [16:25:34]MH_SAM_APDU [16:25:34]CAPDU: 80 13 00 00 [16:25:34]Write to MH i2c: E2 08 00 DD 24 80 13 00 00 00 00 00 00 7D [16:25:34]Write i2c OK [16:25:34]MH_I2C_Read... [16:25:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:25:34]Read from MH i2c: E2 [16:25:34]MH_I2C_Read... [16:25:34]Read from MH i2c: E2 62 00 [16:25:34]MH_I2C_Read... [16:25:34]Read from MH i2c: E2 62 00 DD 24 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 AD 93 00 00 0E 04 04 00 27 02 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 97 [16:25: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 AD 93 00 00 0E 04 04 00 27 02 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 [16:25:34]wFMCommunicate OK [16:25:34]SAM_PROTO_GetFieldsCounters done [16:25:34]requested_item shift.num is exist - process it [16:25:34]requested_item shift.opened is exist - process it [16:25:34]req_shift_opened [16:25:34]FM_GetShiftState [16:25:34]SAM_PROTO_GetShiftState [16:25:34]wFMCommunicate request_size=4 [16:25:34]MH_SAM_APDU [16:25:34]CAPDU: 80 13 01 00 [16:25:34]Write to MH i2c: E2 08 00 DE 24 80 13 01 00 00 00 00 00 7F [16:25:34]Write i2c OK [16:25:34]MH_I2C_Read... [16:25:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:34]Read from MH i2c: E2 [16:25:34]MH_I2C_Read... [16:25:34]Read from MH i2c: E2 0E 00 [16:25:34]MH_I2C_Read... [16:25:34]Read from MH i2c: E2 0E 00 DE 24 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 01 [16:25:34]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [16:25:34]wFMCommunicate OK [16:25:34]SAM_PROTO_GetShiftState done [16:25:34]FM_GetShiftState done [16:25:34]req_shift_opened done [16:25:34]requested_item shift.open_date is exist - process it [16:25:34]req_shift_open_date [16:25:34]req_shift_open_date done [16:25:34]produce_requested_data done [16:25:34]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37805,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [16:25:34]process_action_free close_receipt [16:25:34]json_value_free [16:25:34]json_value_free done [16:25:34]process_json_proto returns [16:25:34]Send response to host [16:25:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37805,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [16:25:34]free response buf [16:25:34]execute_script done [16:25:34]execute_script returns [16:25:34]free content buf [16:25:34]Sock 9.Close socket [16:25:34]Sock 9.Thread stoped [16:25:39]OFD Sender: No OFD packet to send [16:25:44]OFD Sender: No OFD packet to send [16:25:49]OFD Sender: No OFD packet to send [16:25:54]OFD Sender: No OFD packet to send [16:25:59]OFD Sender: No OFD packet to send [16:26:04]OFD Sender: No OFD packet to send [16:26:09]OFD Sender: No OFD packet to send [16:26:14]OFD Sender: No OFD packet to send [16:26:19]OFD Sender: No OFD packet to send [16:26:24]OFD Sender: No OFD packet to send [16:26:29]OFD Sender: No OFD packet to send [16:26:34]OFD Sender: No OFD packet to send [16:26:39]OFD Sender: No OFD packet to send [16:26:44]OFD Sender: No OFD packet to send [16:26:49]OFD Sender: No OFD packet to send [16:26:54]OFD Sender: No OFD packet to send [16:26:59]OFD Sender: No OFD packet to send [16:27:04]OFD Sender: No OFD packet to send [16:27:09]OFD Sender: No OFD packet to send [16:27:14]OFD Sender: No OFD packet to send [16:27:19]OFD Sender: No OFD packet to send [16:27:24]OFD Sender: No OFD packet to send [16:27:29]OFD Sender: No OFD packet to send [16:27:34]OFD Sender: No OFD packet to send [16:27:36]accept exits with 7 [16:27:36]New connection [16:27:36]New thread 3067297124 created [16:27:36]Thread 3067440484 joined [16:27:36]Waiting for new connection... [16:27:36] Sock 7.Parse request [16:27:36]Sock 7.Check first char [16:27:36]Sock 7.First char is OK [16:27:36]request: POST /json_proto HTTP/1.0 [16:27:36]Method: POST [16:27:36]URL: /json_proto [16:27:36]Method is POST - this is cgi request [16:27:36]url: /json_proto [16:27:36]query_string will be loaded in cgi processing [16:27:36]execute_cgi json_proto POST (null) [16:27:36]execute_cgi path=json_proto method=POST [16:27:36]POST find Content-Length [16:27:36]Host: 172.17.40.196:8080 [16:27:36]Content-Length: 674 [16:27:36]Content-Type: application/json [16:27:36] [16:27:36]POST finish read [16:27:36]Found Content-Length = 674 [16:27:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35105", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 2.000, "sum" : 14.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 14.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:27:36]execute_script... [16:27:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35105", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 2.000, "sum" : 14.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 14.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:27:36]POST & json_proto [16:27:36]process_json_proto [16:27:36]json parsed OK: [16:27:36]protocol is kg_v1.0 [16:27:36]action value=close_receipt [16:27:36]process_action close_receipt [16:27:36]cmd_close_receipt [16:27:36]MH_GetDate [16:27:36]Write to MH i2c: F0 00 00 DF 24 F2 [16:27:36]Write i2c OK [16:27:36]MH_I2C_Read... [16:27:36]Read from MH i2c: F0 [16:27:36]MH_I2C_Read... [16:27:36]Read from MH i2c: F0 09 00 [16:27:36]MH_I2C_Read... [16:27:36]Read from MH i2c: F0 09 00 DF 24 00 81 BB 1F 67 5B 68 A1 66 87 [16:27:36]GetLastDocTimeStamp 1730132739 [16:27:36]current date 1730132865 [16:27:36]FM_GetShiftState [16:27:36]SAM_PROTO_GetShiftState [16:27:36]wFMCommunicate request_size=4 [16:27:36]MH_SAM_APDU [16:27:36]CAPDU: 80 13 01 00 [16:27:36]Write to MH i2c: E2 08 00 E0 24 80 13 01 00 00 00 00 00 81 [16:27:36]Write i2c OK [16:27:36]MH_I2C_Read... [16:27:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:27:36]Read from MH i2c: E2 [16:27:36]MH_I2C_Read... [16:27:36]Read from MH i2c: E2 0E 00 [16:27:36]MH_I2C_Read... [16:27:36]Read from MH i2c: E2 0E 00 E0 24 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 03 [16:27:36]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [16:27:36]wFMCommunicate OK [16:27:36]SAM_PROTO_GetShiftState done [16:27:36]FM_GetShiftState done [16:27:36]opened in 1730073884 [16:27:36]opened+sec_in_day 1730160284 [16:27:36]quantity*price = 1400 [16:27:36]sum+1 = 1401 [16:27:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 14.00 НСП 1% : 0.12 НДС 12% : 1.49 Наличными: 14.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 49 28.10.2024 16:27 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37806 ФПД: 146653622465579 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T162745&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37806&fm=146653622465579&tin=02508201610067®Number=0000000000091684&sum=1400 0 [16:27:37]StoreToDocumentArchive [16:27:37]shift 551 fd 37806 [16:27:37]save to /storage/0551/doc_00037806 [16:27:37]save last doc name /storage/0551/doc_00037806 to /storage/kkm_last_doc_name [16:27:37]save OK [16:27:37]Clear old archive folders... [16:27:37]ProcessDocumentItem done err = 0, tmpTLVsize=287 [16:27:37]tlvbuf is 002E55F0 [16:27:37]SAM_PROTO_ClearQueue [16:27:37]wFMCommunicate request_size=4 [16:27:37]MH_SAM_APDU [16:27:37]CAPDU: 80 09 00 00 [16:27:37]Write to MH i2c: E2 08 00 ED 24 80 09 00 00 00 00 00 00 83 [16:27:37]Write i2c OK [16:27:37]MH_I2C_Read... [16:27:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:27:37]Read from MH i2c: E2 [16:27:37]MH_I2C_Read... [16:27:37]Read from MH i2c: E2 03 00 [16:27:37]MH_I2C_Read... [16:27:37]Read from MH i2c: E2 03 00 ED 24 00 90 00 85 [16:27:37]RAPDU: 90 00 [16:27:37]wFMCommunicate OK [16:27:37]SAM_PROTO_ClearQueue done [16:27:37]KKMCreateOFDPacket [16:27:37]OFDProtocolAddRootSTLVToBuf [16:27:37]FM_MakeSignedData [16:27:37]FM_MakeSignedData [16:27:37]SAM_PROTO_SignData [16:27:37]wFMCommunicate request_size=4 [16:27:37]MH_SAM_APDU [16:27:37]CAPDU: 80 0D 01 02 [16:27:37]Write to MH i2c: E2 08 00 EE 24 80 0D 01 02 00 00 00 00 8B [16:27:37]Write i2c OK [16:27:37]MH_I2C_Read... [16:27:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:27:37]Read from MH i2c: E2 [16:27:37]MH_I2C_Read... [16:27:37]Read from MH i2c: E2 03 00 [16:27:37]MH_I2C_Read... [16:27:37]Read from MH i2c: E2 03 00 EE 24 00 90 00 86 [16:27:37]RAPDU: 90 00 [16:27:37]wFMCommunicate OK [16:27:37]wFMCommunicate request_size=255 [16:27:37]MH_SAM_APDU [16:27:37]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 00 00 00 00 00 07 04 06 00 78 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 81 BB 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 [16:27:37]Write to MH i2c: E2 02 01 EF 24 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 00 00 00 00 00 07 04 06 00 78 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 81 BB 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 00 00 5C [16:27:37]Write i2c OK [16:27:37]MH_I2C_Read... [16:27:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:27:38]Read from MH i2c: E2 [16:27:38]MH_I2C_Read... [16:27:38]Read from MH i2c: E2 03 00 [16:27:38]MH_I2C_Read... [16:27:38]Read from MH i2c: E2 03 00 EF 24 00 90 00 87 [16:27:38]RAPDU: 90 00 [16:27:38]wFMCommunicate OK [16:27:38]wFMCommunicate request_size=46 [16:27:38]MH_SAM_APDU [16:27:38]CAPDU: 80 0D 02 02 29 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AE 93 00 00 35 04 06 00 85 61 75 12 74 2B [16:27:38]Write to MH i2c: E2 31 00 F0 24 80 0D 02 02 29 00 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AE 93 00 00 35 04 06 00 85 61 75 12 74 2B 00 00 68 [16:27:38]Write i2c OK [16:27:38]MH_I2C_Read... [16:27:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:27:38]Read from MH i2c: E2 [16:27:38]MH_I2C_Read... [16:27:38]Read from MH i2c: E2 03 00 [16:27:38]MH_I2C_Read... [16:27:38]Read from MH i2c: E2 03 00 F0 24 00 90 00 88 [16:27:38]RAPDU: 90 00 [16:27:38]wFMCommunicate OK [16:27:38]wFMCommunicate request_size=4 [16:27:38]MH_SAM_APDU [16:27:38]CAPDU: 80 0D 03 02 [16:27:38]Write to MH i2c: E2 08 00 F1 24 80 0D 03 02 00 00 00 00 90 [16:27:38]Write i2c OK [16:27:38]MH_I2C_Read... [16:27:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:27:38]Read from MH i2c: E2 [16:27:38]MH_I2C_Read... [16:27:38]Read from MH i2c: E2 0B 00 [16:27:38]MH_I2C_Read... [16:27:38]Read from MH i2c: E2 0B 00 F1 24 00 11 02 16 D2 74 72 4C 25 90 00 E3 [16:27:38]RAPDU: 11 02 16 D2 74 72 4C 25 90 00 [16:27:38]wFMCommunicate OK [16:27:38]SAM_PROTO_SignData done [16:27:38]FM_MakeSignedData done [16:27:38]CreateOFDProtocolMessage [16:27:38]wFMCommunicate request_size=4 [16:27:38]MH_SAM_APDU [16:27:38]CAPDU: 80 11 00 00 [16:27:38]Write to MH i2c: E2 08 00 F2 24 80 11 00 00 00 00 00 00 90 [16:27:38]Write i2c OK [16:27:38]MH_I2C_Read... [16:27:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:27:38]Read from MH i2c: E2 [16:27:38]MH_I2C_Read... [16:27:38]Read from MH i2c: E2 17 00 [16:27:38]MH_I2C_Read... [16:27:38]Read from MH i2c: E2 17 00 F2 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E0 [16:27:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:27:38]wFMCommunicate OK [16:27:38]CreateOFDProtocolMessage done [16:27:38]OFDSenderStorePacket 37806 [16:27:38]StoreOFDPacket docnum=37806 [16:27:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 33 01 00 00 02 AB 2B 01 D1 A7 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 00 00 00 00 00 07 04 06 00 78 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 81 BB 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AE 93 00 00 35 04 06 00 85 61 75 12 74 2B 11 02 16 D2 74 72 4C 25 [16:27:38]CheckFolder [16:27:38]dirname=/storage/ofd_packets [16:27:38]CheckFolder done [16:27:38]ProducePacketName [16:27:38]name=ofd_packets/00037806 [16:27:38]NVStorageSaveData ofd_packets/00037806 [16:27:38]File name is /storage/ofd_packets/00037806 [16:27:38]Write 337 bytes [16:27:38]NVStorageSaveData done [16:27:38]OFDSenderStorePacket done [16:27:38]KKMCreateOFDPacket done [16:27:38]NVStorageSaveData kkm_last_timestamp [16:27:38]File name is /storage/kkm_last_timestamp [16:27:38]Write 4 bytes [16:27:38]NVStorageSaveData done [16:27:38]ExternCall_PrintAddStr [16:27:38]wPrintStart [16:27:38]Write to MH i2c: 01 00 00 F3 24 17 [16:27:38]OFD Sender: Processing packet 37806 [packets to send 42, broken 41] [16:27:38]ProducePacketName [16:27:38]name=ofd_packets/00037806 [16:27:38]OFD Sender: To server: pG, [16:27:38]CommunicateWithHost lk.salyk.kg:30040 [16:27:38]ConnectInit lk.salyk.kg [16:27:38]Write i2c OK [16:27:38]MH_I2C_Read... [16:27:38]Read from MH i2c: 01 [16:27:38]MH_I2C_Read... [16:27:38]Read from MH i2c: 01 07 00 [16:27:38]MH_I2C_Read... [16:27:38]Read from MH i2c: 01 07 00 F3 24 00 00 00 00 00 FF 0F 2C [16:27:38]RasterBufferAndPrint [16:27:38]line Счет N : (3)35105 [16:27:38]line ИНН: 02508201610067 [16:27:38]line Контрольно-Кассовый Чек [16:27:38]line ПРОДАЖА [16:27:38]line Товар: 2000053020015 [16:27:38]line Бумажные стаканы 250мл 1шт [16:27:38]line 2.000 * 7.00 [16:27:38]line = 14.00 [16:27:38]line НДС 12% НСП 1% [16:27:38]line > о реализуемом товаре [16:27:38]line ИТОГО: 14.00 [16:27:38]line НСП 1% : 0.12 [16:27:38]line НДС 12% : 1.49 [16:27:38]line Наличными: 14.00 [16:27:38]line Безнал.: 0.00 [16:27:38]line Место: АЗС № 126 "Партнер Нефть" [16:27:38]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:27:38]line СНО: Общий режим [16:27:38]line Чек 49 28.10.2024 16:27 [16:27:38]line Смена: 551 ФФД: 1.0 [16:27:38]line ЗНМ: 0300000092 [16:27:38]line РНМ: 0000000000091684 [16:27:38]line Версия ККМ: 001 [16:27:38]line ФМ: 0000000000871841 [16:27:38]line ФД: 37806 [16:27:38]line ФПД: 146653622465579 [16:27:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T162745&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37806&fm=146653622465579&tin=02508201610067®Number=0000000000091684&sum=1400 [16:27:38]line 0 [16:27:38]Connected sock=10 [16:27: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 38 34 31 33 01 00 00 02 AB 2B 01 D1 A7 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 00 00 00 00 00 07 04 06 00 78 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 81 BB 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AE 93 00 00 35 04 06 00 85 61 75 12 74 2B 11 02 16 D2 74 72 4C 25 [16:27:38]written 0, free lines is 4095 [16:27:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 B9 91 47 00 1D B9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AE 93 00 00 F4 03 04 00 75 66 1F 67 B6 04 01 00 00 F9 B1 5F 9F D3 04 5E 0A [16:27:39]CommunicateWithHost err = 0 [16:27:39]CheckOFDResponse [16:27:39]1017 (14) - 77093643461234 [16:27:39]1041 (16) - 0000000000871841 [16:27:39]1040 (4) - 37806 [16:27:39]1012 (4) - 28.10.2024 10:24 [16:27:39]1206 (1) - 0 [16:27:39]OFD Sender: Remove packet 37806 [16:27:39]ProducePacketName [16:27:39]name=ofd_packets/00037806 [16:27:39]NVStorageDeleteData [16:27:39]Write to MH i2c: 01 00 00 1C 25 41 [16:27:39]Write i2c OK [16:27:39]MH_I2C_Read... [16:27:39]Read from MH i2c: 01 [16:27:39]MH_I2C_Read... [16:27:39]Read from MH i2c: 01 07 00 [16:27:39]MH_I2C_Read... [16:27:39]Read from MH i2c: 01 07 00 1C 25 00 00 00 00 00 B3 0C 07 [16:27:39]RasterBufferAndPrint [16:27:39]line [16:27:39]line [16:27:39]line [16:27:39]line [16:27:39]line [16:27:39]written 0, free lines is 3255 [16:27:39]MH_Cut [16:27:39]Write to MH i2c: D1 01 00 23 25 01 1A [16:27:39]Write i2c OK [16:27:39]MH_I2C_Read... [16:27:39]Read from MH i2c: D1 [16:27:39]MH_I2C_Read... [16:27:39]Read from MH i2c: D1 01 00 [16:27:39]MH_I2C_Read... [16:27:39]Read from MH i2c: D1 01 00 23 25 00 19 [16:27:39]Write to MH i2c: 01 00 00 24 25 49 [16:27:39]Write i2c OK [16:27:39]MH_I2C_Read... [16:27:39]OFD Sender: No OFD packet to send [16:27:39]*** Cut start [16:27:39]*** Partial cut [16:27:39]*** CUTSNS_PIN = 1 [16:27:40]*** CUTSNS_PIN = 0 [16:27:40]*** Brake cut motor [16:27:40]Read from MH i2c: 01 [16:27:40]MH_I2C_Read... [16:27:40]*** Stop cut motor [16:27:40]*** Cut end [16:27:40]Read from MH i2c: 01 07 00 [16:27:40]MH_I2C_Read... [16:27:40]Read from MH i2c: 01 07 00 24 25 00 00 00 00 00 FF 0F 5E [16:27:40]process_action close_receipt done [16:27:40]requested_data is exist [16:27:40]produce_requested_data [16:27:40]requested_item fm.sn is exist - process it [16:27:40]wFMCommunicate request_size=4 [16:27:40]MH_SAM_APDU [16:27:40]CAPDU: 80 11 00 00 [16:27:40]Write to MH i2c: E2 08 00 25 25 80 11 00 00 00 00 00 00 C4 [16:27:40]Write i2c OK [16:27:40]MH_I2C_Read... [16:27:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:27:40]Read from MH i2c: E2 [16:27:40]MH_I2C_Read... [16:27:40]Read from MH i2c: E2 17 00 [16:27:40]MH_I2C_Read... [16:27:40]Read from MH i2c: E2 17 00 25 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 14 [16:27:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:27:40]wFMCommunicate OK [16:27:40]requested_item fd.num is exist - process it [16:27:40]SAM_PROTO_GetFieldsCounters [16:27:40]wFMCommunicate request_size=4 [16:27:40]MH_SAM_APDU [16:27:40]CAPDU: 80 13 00 00 [16:27:40]Write to MH i2c: E2 08 00 26 25 80 13 00 00 00 00 00 00 C7 [16:27:40]Write i2c OK [16:27:40]MH_I2C_Read... [16:27:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:27:40]Read from MH i2c: E2 [16:27:40]MH_I2C_Read... [16:27:40]Read from MH i2c: E2 62 00 [16:27:40]MH_I2C_Read... [16:27:40]Read from MH i2c: E2 62 00 26 25 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 AE 93 00 00 0E 04 04 00 27 02 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 E5 [16:27: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 AE 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:27:40]wFMCommunicate OK [16:27:40]SAM_PROTO_GetFieldsCounters done [16:27:40]requested_item shift.num is exist - process it [16:27:40]requested_item shift.opened is exist - process it [16:27:40]req_shift_opened [16:27:40]FM_GetShiftState [16:27:40]SAM_PROTO_GetShiftState [16:27:40]wFMCommunicate request_size=4 [16:27:40]MH_SAM_APDU [16:27:40]CAPDU: 80 13 01 00 [16:27:40]Write to MH i2c: E2 08 00 27 25 80 13 01 00 00 00 00 00 C9 [16:27:40]Write i2c OK [16:27:40]MH_I2C_Read... [16:27:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:27:40]Read from MH i2c: E2 [16:27:40]MH_I2C_Read... [16:27:40]Read from MH i2c: E2 0E 00 [16:27:40]MH_I2C_Read... [16:27:40]Read from MH i2c: E2 0E 00 27 25 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 4B [16:27:40]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [16:27:40]wFMCommunicate OK [16:27:40]SAM_PROTO_GetShiftState done [16:27:40]FM_GetShiftState done [16:27:40]req_shift_opened done [16:27:40]requested_item shift.open_date is exist - process it [16:27:40]req_shift_open_date [16:27:40]req_shift_open_date done [16:27:40]produce_requested_data done [16:27:40]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37806,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [16:27:40]process_action_free close_receipt [16:27:40]json_value_free [16:27:40]json_value_free done [16:27:40]process_json_proto returns [16:27:40]Send response to host [16:27:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37806,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [16:27:40]free response buf [16:27:40]execute_script done [16:27:40]execute_script returns [16:27:40]free content buf [16:27:40]Sock 7.Close socket [16:27:40]Sock 7.Thread stoped [16:27:44]OFD Sender: No OFD packet to send [16:27:49]OFD Sender: No OFD packet to send [16:27:54]OFD Sender: No OFD packet to send [16:27:59]OFD Sender: No OFD packet to send [16:28:04]OFD Sender: No OFD packet to send [16:28:09]OFD Sender: No OFD packet to send [16:28:14]OFD Sender: No OFD packet to send [16:28:19]OFD Sender: No OFD packet to send [16:28:24]OFD Sender: No OFD packet to send [16:28:29]OFD Sender: No OFD packet to send [16:28:34]OFD Sender: No OFD packet to send [16:28:39]OFD Sender: No OFD packet to send [16:28:44]OFD Sender: No OFD packet to send [16:28:49]OFD Sender: No OFD packet to send [16:28:54]OFD Sender: No OFD packet to send [16:28:59]OFD Sender: No OFD packet to send [16:29:04]OFD Sender: No OFD packet to send [16:29:09]OFD Sender: No OFD packet to send [16:29:14]OFD Sender: No OFD packet to send [16:29:19]OFD Sender: No OFD packet to send [16:29:24]OFD Sender: No OFD packet to send [16:29:29]OFD Sender: No OFD packet to send [16:29:34]OFD Sender: No OFD packet to send [16:29:39]OFD Sender: No OFD packet to send [16:29:44]OFD Sender: No OFD packet to send [16:29:49]OFD Sender: No OFD packet to send [16:29:54]OFD Sender: No OFD packet to send [16:29:59]OFD Sender: No OFD packet to send [16:30:04]OFD Sender: No OFD packet to send [16:30:09]OFD Sender: No OFD packet to send [16:30:14]OFD Sender: No OFD packet to send [16:30:19]OFD Sender: No OFD packet to send [16:30:24]OFD Sender: No OFD packet to send [16:30:29]OFD Sender: No OFD packet to send [16:30:34]OFD Sender: No OFD packet to send [16:30:39]OFD Sender: No OFD packet to send [16:30:44]OFD Sender: No OFD packet to send [16:30:49]OFD Sender: No OFD packet to send [16:30:54]OFD Sender: No OFD packet to send [16:30:59]OFD Sender: No OFD packet to send [16:31:04]OFD Sender: No OFD packet to send [16:31:09]OFD Sender: No OFD packet to send [16:31:14]OFD Sender: No OFD packet to send [16:31:19]OFD Sender: No OFD packet to send [16:31:24]OFD Sender: No OFD packet to send [16:31:29]OFD Sender: No OFD packet to send [16:31:34]OFD Sender: No OFD packet to send [16:31:39]OFD Sender: No OFD packet to send [16:31:44]OFD Sender: No OFD packet to send [16:31:49]OFD Sender: No OFD packet to send [16:31:54]OFD Sender: No OFD packet to send [16:31:59]OFD Sender: No OFD packet to send [16:32:04]OFD Sender: No OFD packet to send [16:32:09]OFD Sender: No OFD packet to send [16:32:14]OFD Sender: No OFD packet to send [16:32:19]OFD Sender: No OFD packet to send [16:32:24]OFD Sender: No OFD packet to send [16:32:29]OFD Sender: No OFD packet to send [16:32:34]OFD Sender: No OFD packet to send [16:32:39]OFD Sender: No OFD packet to send [16:32:44]OFD Sender: No OFD packet to send [16:32:49]OFD Sender: No OFD packet to send [16:32:54]OFD Sender: No OFD packet to send [16:32:59]OFD Sender: No OFD packet to send [16:33:04]OFD Sender: No OFD packet to send [16:33:09]OFD Sender: No OFD packet to send [16:33:14]OFD Sender: No OFD packet to send [16:33:19]OFD Sender: No OFD packet to send [16:33:24]OFD Sender: No OFD packet to send [16:33:29]OFD Sender: No OFD packet to send [16:33:34]OFD Sender: No OFD packet to send [16:33:39]OFD Sender: No OFD packet to send [16:33:44]OFD Sender: No OFD packet to send [16:33:49]OFD Sender: No OFD packet to send [16:33:54]OFD Sender: No OFD packet to send [16:33:59]OFD Sender: No OFD packet to send [16:34:04]OFD Sender: No OFD packet to send [16:34:09]OFD Sender: No OFD packet to send [16:34:14]OFD Sender: No OFD packet to send [16:34:19]OFD Sender: No OFD packet to send [16:34:24]OFD Sender: No OFD packet to send [16:34:29]OFD Sender: No OFD packet to send [16:34:34]OFD Sender: No OFD packet to send [16:34:40]OFD Sender: No OFD packet to send [16:34:45]OFD Sender: No OFD packet to send [16:34:50]OFD Sender: No OFD packet to send [16:34:55]OFD Sender: No OFD packet to send [16:35:00]OFD Sender: No OFD packet to send [16:35:05]OFD Sender: No OFD packet to send [16:35:10]OFD Sender: No OFD packet to send [16:35:15]OFD Sender: No OFD packet to send [16:35:20]OFD Sender: No OFD packet to send [16:35:25]OFD Sender: No OFD packet to send [16:35:30]OFD Sender: No OFD packet to send [16:35:35]OFD Sender: No OFD packet to send [16:35:40]OFD Sender: No OFD packet to send [16:35:45]OFD Sender: No OFD packet to send [16:35:50]OFD Sender: No OFD packet to send [16:35:55]OFD Sender: No OFD packet to send [16:36:00]OFD Sender: No OFD packet to send [16:36:05]OFD Sender: No OFD packet to send [16:36:10]OFD Sender: No OFD packet to send [16:36:15]OFD Sender: No OFD packet to send [16:36:20]OFD Sender: No OFD packet to send [16:36:25]OFD Sender: No OFD packet to send [16:36:30]OFD Sender: No OFD packet to send [16:36:35]OFD Sender: No OFD packet to send [16:36:40]OFD Sender: No OFD packet to send [16:36:45]OFD Sender: No OFD packet to send [16:36:50]OFD Sender: No OFD packet to send [16:36:55]OFD Sender: No OFD packet to send [16:37:00]OFD Sender: No OFD packet to send [16:37:05]OFD Sender: No OFD packet to send [16:37:10]OFD Sender: No OFD packet to send [16:37:15]OFD Sender: No OFD packet to send [16:37:20]OFD Sender: No OFD packet to send [16:37:25]OFD Sender: No OFD packet to send [16:37:30]OFD Sender: No OFD packet to send [16:37:35]OFD Sender: No OFD packet to send [16:37:40]OFD Sender: No OFD packet to send [16:37:45]OFD Sender: No OFD packet to send [16:37:50]OFD Sender: No OFD packet to send [16:37:55]OFD Sender: No OFD packet to send [16:37:56]accept exits with 9 [16:37:56]New connection [16:37:56]New thread 3067440484 created [16:37:56]Thread 3067297124 joined [16:37:56]Waiting for new connection... [16:37:56] Sock 9.Parse request [16:37:56]Sock 9.Check first char [16:37:56]Sock 9.First char is OK [16:37:56]request: POST /json_proto HTTP/1.0 [16:37:56]Method: POST [16:37:56]URL: /json_proto [16:37:56]Method is POST - this is cgi request [16:37:56]url: /json_proto [16:37:56]query_string will be loaded in cgi processing [16:37:56]execute_cgi json_proto POST (null) [16:37:56]execute_cgi path=json_proto method=POST [16:37:56]POST find Content-Length [16:37:56]Host: 172.17.40.196:8080 [16:37:56]Content-Length: 625 [16:37:56]Content-Type: application/json [16:37:56] [16:37:56]POST finish read [16:37:56]Found Content-Length = 625 [16:37:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35106", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:37:56]execute_script... [16:37:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35106", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:37:56]POST & json_proto [16:37:56]process_json_proto [16:37:56]json parsed OK: [16:37:56]protocol is kg_v1.0 [16:37:56]action value=close_receipt [16:37:56]process_action close_receipt [16:37:56]cmd_close_receipt [16:37:56]MH_GetDate [16:37:56]Write to MH i2c: F0 00 00 28 25 3C [16:37:56]Write i2c OK [16:37:56]MH_I2C_Read... [16:37:56]Read from MH i2c: F0 [16:37:56]MH_I2C_Read... [16:37:56]Read from MH i2c: F0 09 00 [16:37:56]MH_I2C_Read... [16:37:56]Read from MH i2c: F0 09 00 28 25 00 ED BD 1F 67 5B 68 A1 66 3F [16:37:56]GetLastDocTimeStamp 1730132865 [16:37:56]current date 1730133485 [16:37:56]FM_GetShiftState [16:37:56]SAM_PROTO_GetShiftState [16:37:56]wFMCommunicate request_size=4 [16:37:56]MH_SAM_APDU [16:37:56]CAPDU: 80 13 01 00 [16:37:56]Write to MH i2c: E2 08 00 29 25 80 13 01 00 00 00 00 00 CB [16:37:56]Write i2c OK [16:37:56]MH_I2C_Read... [16:37:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:37:56]Read from MH i2c: E2 [16:37:56]MH_I2C_Read... [16:37:56]Read from MH i2c: E2 0E 00 [16:37:56]MH_I2C_Read... [16:37:56]Read from MH i2c: E2 0E 00 29 25 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 4D [16:37:56]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [16:37:56]wFMCommunicate OK [16:37:56]SAM_PROTO_GetShiftState done [16:37:56]FM_GetShiftState done [16:37:56]opened in 1730073884 [16:37:56]opened+sec_in_day 1730160284 [16:37:56]quantity*price = 11500 [16:37:56]sum+1 = 11501 [16:37:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 50 28.10.2024 16:38 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37807 ФПД: 112006222274153 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T163805&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37807&fm=112006222274153&tin=02508201610067®Number=0000000000091684&sum=11500 0 [16:37:57]StoreToDocumentArchive [16:37:57]shift 551 fd 37807 [16:37:57]save to /storage/0551/doc_00037807 [16:37:57]save last doc name /storage/0551/doc_00037807 to /storage/kkm_last_doc_name [16:37:57]save OK [16:37:57]Clear old archive folders... [16:37:57]ProcessDocumentItem done err = 0, tmpTLVsize=274 [16:37:57]tlvbuf is 0021BE10 [16:37:57]SAM_PROTO_ClearQueue [16:37:57]wFMCommunicate request_size=4 [16:37:57]MH_SAM_APDU [16:37:57]CAPDU: 80 09 00 00 [16:37:57]Write to MH i2c: E2 08 00 36 25 80 09 00 00 00 00 00 00 CD [16:37:57]Write i2c OK [16:37:57]MH_I2C_Read... [16:37:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:37:57]Read from MH i2c: E2 [16:37:57]MH_I2C_Read... [16:37:57]Read from MH i2c: E2 03 00 [16:37:57]MH_I2C_Read... [16:37:57]Read from MH i2c: E2 03 00 36 25 00 90 00 CF [16:37:57]RAPDU: 90 00 [16:37:57]wFMCommunicate OK [16:37:57]SAM_PROTO_ClearQueue done [16:37:57]KKMCreateOFDPacket [16:37:57]OFDProtocolAddRootSTLVToBuf [16:37:57]FM_MakeSignedData [16:37:57]FM_MakeSignedData [16:37:57]SAM_PROTO_SignData [16:37:57]wFMCommunicate request_size=4 [16:37:57]MH_SAM_APDU [16:37:57]CAPDU: 80 0D 01 02 [16:37:57]Write to MH i2c: E2 08 00 37 25 80 0D 01 02 00 00 00 00 D5 [16:37:57]Write i2c OK [16:37:57]MH_I2C_Read... [16:37:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:37:57]Read from MH i2c: E2 [16:37:57]MH_I2C_Read... [16:37:57]Read from MH i2c: E2 03 00 [16:37:57]MH_I2C_Read... [16:37:57]Read from MH i2c: E2 03 00 37 25 00 90 00 D0 [16:37:57]RAPDU: 90 00 [16:37:57]wFMCommunicate OK [16:37:57]wFMCommunicate request_size=255 [16:37:57]MH_SAM_APDU [16:37:57]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 ED BD 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 [16:37:57]Write to MH i2c: E2 02 01 38 25 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 ED BD 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 00 00 FF [16:37:57]Write i2c OK [16:37:57]MH_I2C_Read... [16:37:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:37:58]Read from MH i2c: E2 [16:37:58]MH_I2C_Read... [16:37:58]Read from MH i2c: E2 03 00 [16:37:58]MH_I2C_Read... [16:37:58]Read from MH i2c: E2 03 00 38 25 00 90 00 D1 [16:37:58]RAPDU: 90 00 [16:37:58]wFMCommunicate OK [16:37:58]wFMCommunicate request_size=33 [16:37:58]MH_SAM_APDU [16:37:58]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AF 93 00 00 35 04 06 00 65 DE 7B 17 5E 69 [16:37:58]Write to MH i2c: E2 24 00 39 25 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AF 93 00 00 35 04 06 00 65 DE 7B 17 5E 69 00 00 42 [16:37:58]Write i2c OK [16:37:58]MH_I2C_Read... [16:37:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:37:58]Read from MH i2c: E2 [16:37:58]MH_I2C_Read... [16:37:58]Read from MH i2c: E2 03 00 [16:37:58]MH_I2C_Read... [16:37:58]Read from MH i2c: E2 03 00 39 25 00 90 00 D2 [16:37:58]RAPDU: 90 00 [16:37:58]wFMCommunicate OK [16:37:58]wFMCommunicate request_size=4 [16:37:58]MH_SAM_APDU [16:37:58]CAPDU: 80 0D 03 02 [16:37:58]Write to MH i2c: E2 08 00 3A 25 80 0D 03 02 00 00 00 00 DA [16:37:58]Write i2c OK [16:37:58]MH_I2C_Read... [16:37:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:37:58]Read from MH i2c: E2 [16:37:58]MH_I2C_Read... [16:37:58]Read from MH i2c: E2 0B 00 [16:37:58]MH_I2C_Read... [16:37:58]Read from MH i2c: E2 0B 00 3A 25 00 61 20 69 FB 65 77 3E 41 90 00 1B [16:37:58]RAPDU: 61 20 69 FB 65 77 3E 41 90 00 [16:37:58]wFMCommunicate OK [16:37:58]SAM_PROTO_SignData done [16:37:58]FM_MakeSignedData done [16:37:58]CreateOFDProtocolMessage [16:37:58]wFMCommunicate request_size=4 [16:37:58]MH_SAM_APDU [16:37:58]CAPDU: 80 11 00 00 [16:37:58]Write to MH i2c: E2 08 00 3B 25 80 11 00 00 00 00 00 00 DA [16:37:58]Write i2c OK [16:37:58]MH_I2C_Read... [16:37:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:37:58]Read from MH i2c: E2 [16:37:58]MH_I2C_Read... [16:37:58]Read from MH i2c: E2 17 00 [16:37:58]MH_I2C_Read... [16:37:58]Read from MH i2c: E2 17 00 3B 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 2A [16:37:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:37:58]wFMCommunicate OK [16:37:58]CreateOFDProtocolMessage done [16:37:58]OFDSenderStorePacket 37807 [16:37:58]StoreOFDPacket docnum=37807 [16:37:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 85 87 1E 01 72 8A 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 ED BD 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AF 93 00 00 35 04 06 00 65 DE 7B 17 5E 69 61 20 69 FB 65 77 3E 41 [16:37:58]CheckFolder [16:37:58]dirname=/storage/ofd_packets [16:37:58]CheckFolder done [16:37:58]ProducePacketName [16:37:58]name=ofd_packets/00037807 [16:37:58]NVStorageSaveData ofd_packets/00037807 [16:37:58]File name is /storage/ofd_packets/00037807 [16:37:58]Write 324 bytes [16:37:58]NVStorageSaveData done [16:37:58]OFDSenderStorePacket done [16:37:58]KKMCreateOFDPacket done [16:37:58]NVStorageSaveData kkm_last_timestamp [16:37:58]File name is /storage/kkm_last_timestamp [16:37:58]Write 4 bytes [16:37:58]NVStorageSaveData done [16:37:58]ExternCall_PrintAddStr [16:37:58]wPrintStart [16:37:58]Write to MH i2c: 01 00 00 3C 25 61 [16:37:58]Write i2c OK [16:37:58]MH_I2C_Read... [16:37:58]Read from MH i2c: 01 [16:37:58]MH_I2C_Read... [16:37:58]Read from MH i2c: 01 07 00 [16:37:58]MH_I2C_Read... [16:37:58]Read from MH i2c: 01 07 00 3C 25 00 00 00 00 00 FF 0F 76 [16:37:58]RasterBufferAndPrint [16:37:58]line Счет N : (3)35106 [16:37:58]line ИНН: 02508201610067 [16:37:58]line Контрольно-Кассовый Чек [16:37:58]line ПРОДАЖА [16:37:58]line Товар: 2000036240010 [16:37:58]line Кофе Латте (GABB TRADE) [16:37:58]line 1.000 * 115.00 [16:37:58]line = 115.00 [16:37:58]line НДС 12% НСП 1% [16:37:58]line > о реализуемом товаре [16:37:58]line ИТОГО: 115.00 [16:37:58]line НСП 1% : 1.02 [16:37:58]line НДС 12% : 12.21 [16:37:58]line Наличными: 115.00 [16:37:58]line Безнал.: 0.00 [16:37:58]line Место: АЗС № 126 "Партнер Нефть" [16:37:58]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:37:58]line СНО: Общий режим [16:37:58]line Чек 50 28.10.2024 16:38 [16:37:58]line Смена: 551 ФФД: 1.0 [16:37:58]line ЗНМ: 0300000092 [16:37:58]line РНМ: 0000000000091684 [16:37:58]line Версия ККМ: 001 [16:37:58]line ФМ: 0000000000871841 [16:37:58]line ФД: 37807 [16:37:58]line ФПД: 112006222274153 [16:37:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T163805&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37807&fm=112006222274153&tin=02508201610067®Number=0000000000091684&sum=11500 [16:37:58]line 0 [16:37:58]written 0, free lines is 4095 [16:37:58]OFD Sender: Processing packet 37807 [packets to send 42, broken 41] [16:37:58]ProducePacketName [16:37:58]name=ofd_packets/00037807 [16:37:58]OFD Sender: To server: pG, [16:37:58]CommunicateWithHost lk.salyk.kg:30040 [16:37:58]ConnectInit lk.salyk.kg [16:37:58]Write to MH i2c: 01 00 00 64 25 89 [16:37:58]Write i2c OK [16:37:58]MH_I2C_Read... [16:37:58]Read from MH i2c: 01 [16:37:58]MH_I2C_Read... [16:37:58]Read from MH i2c: 01 07 00 [16:37:58]MH_I2C_Read... [16:37:58]Read from MH i2c: 01 07 00 64 25 00 00 00 00 00 CB 0C 67 [16:37:58]RasterBufferAndPrint [16:37:58]line [16:37:58]line [16:37:58]line [16:37:58]line [16:37:58]line [16:37:58]written 0, free lines is 3280 [16:37:58]MH_Cut [16:37:58]Write to MH i2c: D1 01 00 6B 25 01 62 [16:37:58]Write i2c OK [16:37:58]MH_I2C_Read... [16:37:58]Read from MH i2c: D1 [16:37:58]MH_I2C_Read... [16:37:58]Read from MH i2c: D1 01 00 [16:37:58]MH_I2C_Read... [16:37:58]Read from MH i2c: D1 01 00 6B 25 00 61 [16:37:58]Write to MH i2c: 01 00 00 6C 25 91 [16:37:58]Write i2c OK [16:37:58]MH_I2C_Read... [16:37:59]Connected sock=11 [16:37:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 85 87 1E 01 72 8A 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 ED BD 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 AF 93 00 00 35 04 06 00 65 DE 7B 17 5E 69 61 20 69 FB 65 77 3E 41 [16:37:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 34 BC 47 00 A3 6F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 AF 93 00 00 F4 03 04 00 E1 68 1F 67 B6 04 01 00 00 51 36 2C E1 A3 51 F3 0A [16:37:59]CommunicateWithHost err = 0 [16:37:59]CheckOFDResponse [16:37:59]1017 (14) - 77093643461234 [16:37:59]1041 (16) - 0000000000871841 [16:37:59]1040 (4) - 37807 [16:37:59]1012 (4) - 28.10.2024 10:35 [16:37:59]1206 (1) - 0 [16:37:59]OFD Sender: Remove packet 37807 [16:37:59]ProducePacketName [16:37:59]name=ofd_packets/00037807 [16:37:59]NVStorageDeleteData [16:37:59]*** Cut start [16:37:59]*** Partial cut [16:37:59]*** CUTSNS_PIN = 1 [16:37:59]*** CUTSNS_PIN = 0 [16:37:59]*** Brake cut motor [16:37:59]OFD Sender: No OFD packet to send [16:38:00]Read from MH i2c: 01 [16:38:00]MH_I2C_Read... [16:38:00]*** Stop cut motor [16:38:00]*** Cut end [16:38:00]Read from MH i2c: 01 07 00 [16:38:00]MH_I2C_Read... [16:38:00]Read from MH i2c: 01 07 00 6C 25 00 00 00 00 00 FF 0F A6 [16:38:00]process_action close_receipt done [16:38:00]requested_data is exist [16:38:00]produce_requested_data [16:38:00]requested_item fm.sn is exist - process it [16:38:00]wFMCommunicate request_size=4 [16:38:00]MH_SAM_APDU [16:38:00]CAPDU: 80 11 00 00 [16:38:00]Write to MH i2c: E2 08 00 6D 25 80 11 00 00 00 00 00 00 0C [16:38:00]Write i2c OK [16:38:00]MH_I2C_Read... [16:38:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:38:00]Read from MH i2c: E2 [16:38:00]MH_I2C_Read... [16:38:00]Read from MH i2c: E2 17 00 [16:38:00]MH_I2C_Read... [16:38:00]Read from MH i2c: E2 17 00 6D 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 5C [16:38:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:38:00]wFMCommunicate OK [16:38:00]requested_item fd.num is exist - process it [16:38:00]SAM_PROTO_GetFieldsCounters [16:38:00]wFMCommunicate request_size=4 [16:38:00]MH_SAM_APDU [16:38:00]CAPDU: 80 13 00 00 [16:38:00]Write to MH i2c: E2 08 00 6E 25 80 13 00 00 00 00 00 00 0F [16:38:00]Write i2c OK [16:38:00]MH_I2C_Read... [16:38:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:38:00]Read from MH i2c: E2 [16:38:00]MH_I2C_Read... [16:38:00]Read from MH i2c: E2 62 00 [16:38:00]MH_I2C_Read... [16:38:00]Read from MH i2c: E2 62 00 6E 25 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 AF 93 00 00 0E 04 04 00 27 02 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 31 [16:38:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 AF 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:38:00]wFMCommunicate OK [16:38:00]SAM_PROTO_GetFieldsCounters done [16:38:00]requested_item shift.num is exist - process it [16:38:00]requested_item shift.opened is exist - process it [16:38:00]req_shift_opened [16:38:00]FM_GetShiftState [16:38:00]SAM_PROTO_GetShiftState [16:38:00]wFMCommunicate request_size=4 [16:38:00]MH_SAM_APDU [16:38:00]CAPDU: 80 13 01 00 [16:38:00]Write to MH i2c: E2 08 00 6F 25 80 13 01 00 00 00 00 00 11 [16:38:00]Write i2c OK [16:38:00]MH_I2C_Read... [16:38:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:38:00]Read from MH i2c: E2 [16:38:00]MH_I2C_Read... [16:38:00]Read from MH i2c: E2 0E 00 [16:38:00]MH_I2C_Read... [16:38:00]Read from MH i2c: E2 0E 00 6F 25 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 93 [16:38:00]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [16:38:00]wFMCommunicate OK [16:38:00]SAM_PROTO_GetShiftState done [16:38:00]FM_GetShiftState done [16:38:00]req_shift_opened done [16:38:00]requested_item shift.open_date is exist - process it [16:38:00]req_shift_open_date [16:38:00]req_shift_open_date done [16:38:00]produce_requested_data done [16:38:00]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37807,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [16:38:00]process_action_free close_receipt [16:38:00]json_value_free [16:38:00]json_value_free done [16:38:00]process_json_proto returns [16:38:00]Send response to host [16:38:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37807,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [16:38:00]free response buf [16:38:00]execute_script done [16:38:00]execute_script returns [16:38:00]free content buf [16:38:00]Sock 9.Close socket [16:38:00]Sock 9.Thread stoped [16:38:05]OFD Sender: No OFD packet to send [16:38:10]OFD Sender: No OFD packet to send [16:38:15]OFD Sender: No OFD packet to send [16:38:20]OFD Sender: No OFD packet to send [16:38:25]OFD Sender: No OFD packet to send [16:38:30]OFD Sender: No OFD packet to send [16:38:35]OFD Sender: No OFD packet to send [16:38:40]OFD Sender: No OFD packet to send [16:38:45]OFD Sender: No OFD packet to send [16:38:50]OFD Sender: No OFD packet to send [16:38:55]OFD Sender: No OFD packet to send [16:39:00]OFD Sender: No OFD packet to send [16:39:05]OFD Sender: No OFD packet to send [16:39:10]OFD Sender: No OFD packet to send [16:39:15]OFD Sender: No OFD packet to send [16:39:20]OFD Sender: No OFD packet to send [16:39:25]OFD Sender: No OFD packet to send [16:39:30]OFD Sender: No OFD packet to send [16:39:35]OFD Sender: No OFD packet to send [16:39:40]OFD Sender: No OFD packet to send [16:39:45]OFD Sender: No OFD packet to send [16:39:50]OFD Sender: No OFD packet to send [16:39:55]OFD Sender: No OFD packet to send [16:40:00]OFD Sender: No OFD packet to send [16:40:05]OFD Sender: No OFD packet to send [16:40:10]OFD Sender: No OFD packet to send [16:40:15]OFD Sender: No OFD packet to send [16:40:20]OFD Sender: No OFD packet to send [16:40:25]OFD Sender: No OFD packet to send [16:40:30]OFD Sender: No OFD packet to send [16:40:35]OFD Sender: No OFD packet to send [16:40:40]OFD Sender: No OFD packet to send [16:40:45]OFD Sender: No OFD packet to send [16:40:50]OFD Sender: No OFD packet to send [16:40:55]OFD Sender: No OFD packet to send [16:41:00]OFD Sender: No OFD packet to send [16:41:05]OFD Sender: No OFD packet to send [16:41:10]OFD Sender: No OFD packet to send [16:41:15]OFD Sender: No OFD packet to send [16:41:20]OFD Sender: No OFD packet to send [16:41:25]OFD Sender: No OFD packet to send [16:41:30]OFD Sender: No OFD packet to send [16:41:35]OFD Sender: No OFD packet to send [16:41:40]OFD Sender: No OFD packet to send [16:41:45]OFD Sender: No OFD packet to send [16:41:50]OFD Sender: No OFD packet to send [16:41:55]OFD Sender: No OFD packet to send [16:42:00]OFD Sender: No OFD packet to send [16:42:05]OFD Sender: No OFD packet to send [16:42:10]OFD Sender: No OFD packet to send [16:42:15]OFD Sender: No OFD packet to send [16:42:20]OFD Sender: No OFD packet to send [16:42:25]OFD Sender: No OFD packet to send [16:42:30]OFD Sender: No OFD packet to send [16:42:32]accept exits with 7 [16:42:32]New connection [16:42:32]New thread 3067297124 created [16:42:32]Thread 3067440484 joined [16:42:32]Waiting for new connection... [16:42:32] Sock 7.Parse request [16:42:32]Sock 7.Check first char [16:42:32]Sock 7.First char is OK [16:42:32]request: POST /json_proto HTTP/1.0 [16:42:32]Method: POST [16:42:32]URL: /json_proto [16:42:32]Method is POST - this is cgi request [16:42:32]url: /json_proto [16:42:32]query_string will be loaded in cgi processing [16:42:32]execute_cgi json_proto POST (null) [16:42:32]execute_cgi path=json_proto method=POST [16:42:32]POST find Content-Length [16:42:32]Host: 172.17.40.196:8080 [16:42:32]Content-Length: 740 [16:42:32]Content-Type: application/json [16:42:32] [16:42:32]POST finish read [16:42:32]Found Content-Length = 740 [16:42:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35107", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 119.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:42:32]execute_script... [16:42: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)35107", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 119.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:42:32]POST & json_proto [16:42:32]process_json_proto [16:42:32]json parsed OK: [16:42:32]protocol is kg_v1.0 [16:42:32]action value=close_receipt [16:42:32]process_action close_receipt [16:42:32]cmd_close_receipt [16:42:32]MH_GetDate [16:42:32]Write to MH i2c: F0 00 00 70 25 84 [16:42:32]Write i2c OK [16:42:32]MH_I2C_Read... [16:42:32]Read from MH i2c: F0 [16:42:32]MH_I2C_Read... [16:42:32]Read from MH i2c: F0 09 00 [16:42:32]MH_I2C_Read... [16:42:32]Read from MH i2c: F0 09 00 70 25 00 01 BF 1F 67 5B 68 A1 66 9D [16:42:32]GetLastDocTimeStamp 1730133485 [16:42:32]current date 1730133761 [16:42:32]FM_GetShiftState [16:42:32]SAM_PROTO_GetShiftState [16:42:32]wFMCommunicate request_size=4 [16:42:32]MH_SAM_APDU [16:42:32]CAPDU: 80 13 01 00 [16:42:32]Write to MH i2c: E2 08 00 71 25 80 13 01 00 00 00 00 00 13 [16:42:32]Write i2c OK [16:42:32]MH_I2C_Read... [16:42:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:42:32]Read from MH i2c: E2 [16:42:32]MH_I2C_Read... [16:42:32]Read from MH i2c: E2 0E 00 [16:42:32]MH_I2C_Read... [16:42:32]Read from MH i2c: E2 0E 00 71 25 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 95 [16:42:32]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [16:42:32]wFMCommunicate OK [16:42:32]SAM_PROTO_GetShiftState done [16:42:32]FM_GetShiftState done [16:42:32]opened in 1730073884 [16:42:32]opened+sec_in_day 1730160284 [16:42:32]quantity*price = 11900 [16:42:32]sum+1 = 11901 [16:42:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 119.00 НСП 1% : 1.05 НДС 12% : 12.64 Наличными: 0.00 Безнал.: 119.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 51 28.10.2024 16:42 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37808 ФПД: 187669086932622 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T164241&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37808&fm=187669086932622&tin=02508201610067®Number=0000000000091684&sum=11900 0 [16:42:33]StoreToDocumentArchive [16:42:33]shift 551 fd 37808 [16:42:33]save to /storage/0551/doc_00037808 [16:42:33]save last doc name /storage/0551/doc_00037808 to /storage/kkm_last_doc_name [16:42:33]save OK [16:42:33]Clear old archive folders... [16:42:33]ProcessDocumentItem done err = 0, tmpTLVsize=266 [16:42:33]tlvbuf is 002671E0 [16:42:33]SAM_PROTO_ClearQueue [16:42:33]wFMCommunicate request_size=4 [16:42:33]MH_SAM_APDU [16:42:33]CAPDU: 80 09 00 00 [16:42:33]Write to MH i2c: E2 08 00 7E 25 80 09 00 00 00 00 00 00 15 [16:42:33]Write i2c OK [16:42:33]MH_I2C_Read... [16:42:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:42:33]Read from MH i2c: E2 [16:42:33]MH_I2C_Read... [16:42:33]Read from MH i2c: E2 03 00 [16:42:33]MH_I2C_Read... [16:42:33]Read from MH i2c: E2 03 00 7E 25 00 90 00 17 [16:42:33]RAPDU: 90 00 [16:42:33]wFMCommunicate OK [16:42:33]SAM_PROTO_ClearQueue done [16:42:33]KKMCreateOFDPacket [16:42:33]OFDProtocolAddRootSTLVToBuf [16:42:33]FM_MakeSignedData [16:42:33]FM_MakeSignedData [16:42:33]SAM_PROTO_SignData [16:42:33]wFMCommunicate request_size=4 [16:42:33]MH_SAM_APDU [16:42:33]CAPDU: 80 0D 01 02 [16:42:33]Write to MH i2c: E2 08 00 7F 25 80 0D 01 02 00 00 00 00 1D [16:42:33]Write i2c OK [16:42:33]MH_I2C_Read... [16:42:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:42:33]Read from MH i2c: E2 [16:42:33]MH_I2C_Read... [16:42:33]Read from MH i2c: E2 03 00 [16:42:33]MH_I2C_Read... [16:42:33]Read from MH i2c: E2 03 00 7F 25 00 90 00 18 [16:42:33]RAPDU: 90 00 [16:42:33]wFMCommunicate OK [16:42:33]wFMCommunicate request_size=255 [16:42:33]MH_SAM_APDU [16:42:33]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7C 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 01 BF 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 [16:42:33]Write to MH i2c: E2 02 01 80 25 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7C 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 01 BF 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 00 00 C1 [16:42:33]Write i2c OK [16:42:33]MH_I2C_Read... [16:42:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:42:34]Read from MH i2c: E2 [16:42:34]MH_I2C_Read... [16:42:34]Read from MH i2c: E2 03 00 [16:42:34]MH_I2C_Read... [16:42:34]Read from MH i2c: E2 03 00 80 25 00 90 00 19 [16:42:34]RAPDU: 90 00 [16:42:34]wFMCommunicate OK [16:42:34]wFMCommunicate request_size=25 [16:42:34]MH_SAM_APDU [16:42:34]CAPDU: 80 0D 02 02 14 34 31 10 04 04 00 B0 93 00 00 35 04 06 00 AA AF 1D 43 0E 8E [16:42:34]Write to MH i2c: E2 1C 00 81 25 80 0D 02 02 14 00 34 31 10 04 04 00 B0 93 00 00 35 04 06 00 AA AF 1D 43 0E 8E 00 00 9C [16:42:34]Write i2c OK [16:42:34]MH_I2C_Read... [16:42:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:42:34]Read from MH i2c: E2 [16:42:34]MH_I2C_Read... [16:42:34]Read from MH i2c: E2 03 00 [16:42:34]MH_I2C_Read... [16:42:34]Read from MH i2c: E2 03 00 81 25 00 90 00 1A [16:42:34]RAPDU: 90 00 [16:42:34]wFMCommunicate OK [16:42:34]wFMCommunicate request_size=4 [16:42:34]MH_SAM_APDU [16:42:34]CAPDU: 80 0D 03 02 [16:42:34]Write to MH i2c: E2 08 00 82 25 80 0D 03 02 00 00 00 00 22 [16:42:34]Write i2c OK [16:42:34]MH_I2C_Read... [16:42:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:42:34]Read from MH i2c: E2 [16:42:34]MH_I2C_Read... [16:42:34]Read from MH i2c: E2 0B 00 [16:42:34]MH_I2C_Read... [16:42:34]Read from MH i2c: E2 0B 00 82 25 00 85 6B 00 F3 74 1D D2 4A 90 00 B3 [16:42:34]RAPDU: 85 6B 00 F3 74 1D D2 4A 90 00 [16:42:34]wFMCommunicate OK [16:42:34]SAM_PROTO_SignData done [16:42:34]FM_MakeSignedData done [16:42:34]CreateOFDProtocolMessage [16:42:34]wFMCommunicate request_size=4 [16:42:34]MH_SAM_APDU [16:42:34]CAPDU: 80 11 00 00 [16:42:34]Write to MH i2c: E2 08 00 83 25 80 11 00 00 00 00 00 00 22 [16:42:34]Write i2c OK [16:42:34]MH_I2C_Read... [16:42:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:42:34]Read from MH i2c: E2 [16:42:34]MH_I2C_Read... [16:42:34]Read from MH i2c: E2 17 00 [16:42:34]MH_I2C_Read... [16:42:34]Read from MH i2c: E2 17 00 83 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 72 [16:42:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:42:34]wFMCommunicate OK [16:42:34]CreateOFDProtocolMessage done [16:42:34]OFDSenderStorePacket 37808 [16:42:34]StoreOFDPacket docnum=37808 [16:42:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 1E 01 00 00 4A E6 16 01 92 0E 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7C 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 01 BF 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B0 93 00 00 35 04 06 00 AA AF 1D 43 0E 8E 85 6B 00 F3 74 1D D2 4A [16:42:34]CheckFolder [16:42:34]dirname=/storage/ofd_packets [16:42:34]CheckFolder done [16:42:34]ProducePacketName [16:42:34]name=ofd_packets/00037808 [16:42:34]NVStorageSaveData ofd_packets/00037808 [16:42:34]File name is /storage/ofd_packets/00037808 [16:42:34]Write 316 bytes [16:42:34]NVStorageSaveData done [16:42:34]OFDSenderStorePacket done [16:42:34]KKMCreateOFDPacket done [16:42:34]NVStorageSaveData kkm_last_timestamp [16:42:34]File name is /storage/kkm_last_timestamp [16:42:34]Write 4 bytes [16:42:34]NVStorageSaveData done [16:42:34]ExternCall_PrintAddStr [16:42:34]wPrintStart [16:42:34]Write to MH i2c: 01 00 00 84 25 A9 [16:42:34]Write i2c OK [16:42:34]MH_I2C_Read... [16:42:34]Read from MH i2c: 01 [16:42:34]MH_I2C_Read... [16:42:34]Read from MH i2c: 01 07 00 [16:42:34]MH_I2C_Read... [16:42:34]Read from MH i2c: 01 07 00 84 25 00 00 00 00 00 FF 0F BE [16:42:34]RasterBufferAndPrint [16:42:34]line Счет N : (3)35107 [16:42:34]line ИНН: 02508201610067 [16:42:34]line Контрольно-Кассовый Чек [16:42:34]line ПРОДАЖА [16:42:34]line Товар: 4870001570071 [16:42:34]line Напиток Pepsi 1л [16:42:34]line 1.000 * 119.00 [16:42:34]line = 119.00 [16:42:34]line НДС 12% НСП 1% [16:42:34]line > о реализуемом товаре [16:42:34]line ИТОГО: 119.00 [16:42:34]line НСП 1% : 1.05 [16:42:34]line НДС 12% : 12.64 [16:42:34]line Наличными: 0.00 [16:42:34]line Безнал.: 119.00 [16:42:34]line Место: АЗС № 126 "Партнер Нефть" [16:42:34]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:42:34]line СНО: Общий режим [16:42:34]line Чек 51 28.10.2024 16:42 [16:42:34]line Смена: 551 ФФД: 1.0 [16:42:34]line ЗНМ: 0300000092 [16:42:34]line РНМ: 0000000000091684 [16:42:34]line Версия ККМ: 001 [16:42:34]line Платежная система: Mbank [16:42:34]line ФМ: 0000000000871841 [16:42:34]line ФД: 37808 [16:42:34]line ФПД: 187669086932622 [16:42:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T164241&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37808&fm=187669086932622&tin=02508201610067®Number=0000000000091684&sum=11900 [16:42:34]line 0 [16:42:34]OFD Sender: Processing packet 37808 [packets to send 42, broken 41] [16:42:34]ProducePacketName [16:42:34]name=ofd_packets/00037808 [16:42:34]OFD Sender: To server: pG, [16:42:34]CommunicateWithHost lk.salyk.kg:30040 [16:42:34]ConnectInit lk.salyk.kg [16:42:34]written 0, free lines is 4095 [16:42:35]Write to MH i2c: 01 00 00 AD 25 D2 [16:42:35]Write i2c OK [16:42:35]MH_I2C_Read... [16:42:35]Read from MH i2c: 01 [16:42:35]MH_I2C_Read... [16:42:35]Read from MH i2c: 01 07 00 [16:42:35]MH_I2C_Read... [16:42:35]Read from MH i2c: 01 07 00 AD 25 00 00 00 00 00 BA 0C 9F [16:42:35]RasterBufferAndPrint [16:42:35]line [16:42:35]line [16:42:35]line [16:42:35]line [16:42:35]line [16:42:35]written 0, free lines is 3264 [16:42:35]MH_Cut [16:42:35]Write to MH i2c: D1 01 00 B4 25 01 AB [16:42:35]Write i2c OK [16:42:35]MH_I2C_Read... [16:42:35]Read from MH i2c: D1 [16:42:35]MH_I2C_Read... [16:42:35]Read from MH i2c: D1 01 00 [16:42:35]MH_I2C_Read... [16:42:35]Read from MH i2c: D1 01 00 B4 25 00 AA [16:42:35]Write to MH i2c: 01 00 00 B5 25 DA [16:42:35]Write i2c OK [16:42:35]MH_I2C_Read... [16:42:35]*** Cut start [16:42:35]*** Partial cut [16:42:35]*** CUTSNS_PIN = 1 [16:42:35]*** CUTSNS_PIN = 0 [16:42:36]*** Brake cut motor [16:42:36]Connected sock=11 [16:42: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 38 34 31 1E 01 00 00 4A E6 16 01 92 0E 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7C 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 01 BF 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B0 93 00 00 35 04 06 00 AA AF 1D 43 0E 8E 85 6B 00 F3 74 1D D2 4A [16:42:36]Read from MH i2c: 01 [16:42:36]MH_I2C_Read... [16:42:36]*** Stop cut motor [16:42:36]*** Cut end [16:42:36]Read from MH i2c: 01 07 00 [16:42:36]MH_I2C_Read... [16:42:36]Read from MH i2c: 01 07 00 B5 25 00 00 00 00 00 FF 0F EF [16:42:36]process_action close_receipt done [16:42:36]requested_data is exist [16:42:36]produce_requested_data [16:42:36]requested_item fm.sn is exist - process it [16:42:36]wFMCommunicate request_size=4 [16:42:36]MH_SAM_APDU [16:42:36]CAPDU: 80 11 00 00 [16:42:36]Write to MH i2c: E2 08 00 B6 25 80 11 00 00 00 00 00 00 55 [16:42:36]Write i2c OK [16:42:36]MH_I2C_Read... [16:42:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:42:36]Read from MH i2c: E2 [16:42:36]MH_I2C_Read... [16:42:36]Read from MH i2c: E2 17 00 [16:42:36]MH_I2C_Read... [16:42:36]Read from MH i2c: E2 17 00 B6 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A5 [16:42:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:42:36]wFMCommunicate OK [16:42:36]requested_item fd.num is exist - process it [16:42:36]SAM_PROTO_GetFieldsCounters [16:42:36]wFMCommunicate request_size=4 [16:42:36]MH_SAM_APDU [16:42:36]CAPDU: 80 13 00 00 [16:42:36]Write to MH i2c: E2 08 00 B7 25 80 13 00 00 00 00 00 00 58 [16:42:36]Write i2c OK [16:42:36]MH_I2C_Read... [16:42:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 2E 6C 47 00 7C 04 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B0 93 00 00 F4 03 04 00 F6 69 1F 67 B6 04 01 00 00 78 CA AB 48 B9 FF 7E C7 [16:42:36]CommunicateWithHost err = 0 [16:42:36]CheckOFDResponse [16:42:36]1017 (14) - 77093643461234 [16:42:36]1041 (16) - 0000000000871841 [16:42:36]1040 (4) - 37808 [16:42:36]1012 (4) - 28.10.2024 10:39 [16:42:36]1206 (1) - 0 [16:42:36]OFD Sender: Remove packet 37808 [16:42:36]ProducePacketName [16:42:36]name=ofd_packets/00037808 [16:42:36]NVStorageDeleteData [16:42:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:42:36]Read from MH i2c: E2 [16:42:36]MH_I2C_Read... [16:42:36]Read from MH i2c: E2 62 00 [16:42:36]MH_I2C_Read... [16:42:36]Read from MH i2c: E2 62 00 B7 25 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 B0 93 00 00 0E 04 04 00 27 02 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 7E [16:42: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 B0 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:42:36]wFMCommunicate OK [16:42:36]SAM_PROTO_GetFieldsCounters done [16:42:36]requested_item shift.num is exist - process it [16:42:36]requested_item shift.opened is exist - process it [16:42:36]req_shift_opened [16:42:36]FM_GetShiftState [16:42:36]SAM_PROTO_GetShiftState [16:42:36]wFMCommunicate request_size=4 [16:42:36]MH_SAM_APDU [16:42:36]CAPDU: 80 13 01 00 [16:42:36]Write to MH i2c: E2 08 00 B8 25 80 13 01 00 00 00 00 00 5A [16:42:36]Write i2c OK [16:42:36]MH_I2C_Read... [16:42:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:42:36]Read from MH i2c: E2 [16:42:36]MH_I2C_Read... [16:42:36]Read from MH i2c: E2 0E 00 [16:42:36]MH_I2C_Read... [16:42:36]Read from MH i2c: E2 0E 00 B8 25 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 DC [16:42:36]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [16:42:36]wFMCommunicate OK [16:42:36]SAM_PROTO_GetShiftState done [16:42:36]FM_GetShiftState done [16:42:36]req_shift_opened done [16:42:36]requested_item shift.open_date is exist - process it [16:42:36]req_shift_open_date [16:42:36]req_shift_open_date done [16:42:36]produce_requested_data done [16:42:36]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37808,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [16:42:36]process_action_free close_receipt [16:42:36]json_value_free [16:42:36]json_value_free done [16:42:36]process_json_proto returns [16:42:36]Send response to host [16:42:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37808,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [16:42:36]free response buf [16:42:36]execute_script done [16:42:36]execute_script returns [16:42:36]free content buf [16:42:36]Sock 7.Close socket [16:42:36]Sock 7.Thread stoped [16:42:37]OFD Sender: No OFD packet to send [16:42:42]OFD Sender: No OFD packet to send [16:42:47]OFD Sender: No OFD packet to send [16:42:52]OFD Sender: No OFD packet to send [16:42:57]OFD Sender: No OFD packet to send [16:43:02]OFD Sender: No OFD packet to send [16:43:07]OFD Sender: No OFD packet to send [16:43:12]OFD Sender: No OFD packet to send [16:43:17]OFD Sender: No OFD packet to send [16:43:22]OFD Sender: No OFD packet to send [16:43:27]OFD Sender: No OFD packet to send [16:43:32]OFD Sender: No OFD packet to send [16:43:37]OFD Sender: No OFD packet to send [16:43:42]OFD Sender: No OFD packet to send [16:43:47]OFD Sender: No OFD packet to send [16:43:52]OFD Sender: No OFD packet to send [16:43:57]OFD Sender: No OFD packet to send [16:44:02]OFD Sender: No OFD packet to send [16:44:07]OFD Sender: No OFD packet to send [16:44:12]OFD Sender: No OFD packet to send [16:44:17]OFD Sender: No OFD packet to send [16:44:22]OFD Sender: No OFD packet to send [16:44:27]OFD Sender: No OFD packet to send [16:44:32]OFD Sender: No OFD packet to send [16:44:37]OFD Sender: No OFD packet to send [16:44:42]OFD Sender: No OFD packet to send [16:44:47]OFD Sender: No OFD packet to send [16:44:52]OFD Sender: No OFD packet to send [16:44:57]OFD Sender: No OFD packet to send [16:45:02]OFD Sender: No OFD packet to send [16:45:07]OFD Sender: No OFD packet to send [16:45:12]OFD Sender: No OFD packet to send [16:45:17]OFD Sender: No OFD packet to send [16:45:22]OFD Sender: No OFD packet to send [16:45:27]OFD Sender: No OFD packet to send [16:45:32]OFD Sender: No OFD packet to send [16:45:37]OFD Sender: No OFD packet to send [16:45:42]OFD Sender: No OFD packet to send [16:45:47]OFD Sender: No OFD packet to send [16:45:52]OFD Sender: No OFD packet to send [16:45:57]OFD Sender: No OFD packet to send [16:46:02]OFD Sender: No OFD packet to send [16:46:07]OFD Sender: No OFD packet to send [16:46:12]OFD Sender: No OFD packet to send [16:46:17]OFD Sender: No OFD packet to send [16:46:22]OFD Sender: No OFD packet to send [16:46:27]OFD Sender: No OFD packet to send [16:46:32]OFD Sender: No OFD packet to send [16:46:37]OFD Sender: No OFD packet to send [16:46:42]OFD Sender: No OFD packet to send [16:46:47]OFD Sender: No OFD packet to send [16:46:52]OFD Sender: No OFD packet to send [16:46:57]OFD Sender: No OFD packet to send [16:47:02]OFD Sender: No OFD packet to send [16:47:07]OFD Sender: No OFD packet to send [16:47:12]OFD Sender: No OFD packet to send [16:47:17]OFD Sender: No OFD packet to send [16:47:22]OFD Sender: No OFD packet to send [16:47:27]OFD Sender: No OFD packet to send [16:47:32]OFD Sender: No OFD packet to send [16:47:37]OFD Sender: No OFD packet to send [16:47:42]OFD Sender: No OFD packet to send [16:47:47]OFD Sender: No OFD packet to send [16:47:52]OFD Sender: No OFD packet to send [16:47:57]OFD Sender: No OFD packet to send [16:48:02]OFD Sender: No OFD packet to send [16:48:07]OFD Sender: No OFD packet to send [16:48:12]OFD Sender: No OFD packet to send [16:48:17]OFD Sender: No OFD packet to send [16:48:22]OFD Sender: No OFD packet to send [16:48:27]OFD Sender: No OFD packet to send [16:48:32]OFD Sender: No OFD packet to send [16:51:16]ConnectInit Can't connect to host [16:51:17]OFD Sender: No OFD packet to send [16:51:22]OFD Sender: No OFD packet to send [16:51:27]OFD Sender: No OFD packet to send [16:51:32]OFD Sender: No OFD packet to send [16:51:37]OFD Sender: No OFD packet to send [16:51:42]OFD Sender: No OFD packet to send [16:51:47]OFD Sender: No OFD packet to send [16:51:52]OFD Sender: No OFD packet to send [16:51:57]OFD Sender: No OFD packet to send [16:52:02]OFD Sender: No OFD packet to send [16:52:07]OFD Sender: No OFD packet to send [16:52:12]OFD Sender: No OFD packet to send [16:52:17]OFD Sender: No OFD packet to send [16:52:22]OFD Sender: No OFD packet to send [16:58:51]ConnectInit Can't connect to host [16:58:53]OFD Sender: No OFD packet to send [16:58:58]OFD Sender: No OFD packet to send [16:59:03]OFD Sender: No OFD packet to send [16:59:08]OFD Sender: No OFD packet to send [17:03:01]ConnectInit Can't connect to host [17:03:03]ConnectInit Can't take IP for lk.salyk.kg [17:03:03]CommunicateWithHost connect error [17:03:03]CommunicateWithHost err = -1 [17:03:03]OFD Sender: Server communicate error [17:03:08]OFD Sender: Processing packet 37809 [packets to send 42, broken 41] [17:03:08]ProducePacketName [17:03:08]name=ofd_packets/00037809 [17:03:08]OFD Sender: To server: pG, [17:03:08]CommunicateWithHost lk.salyk.kg:30040 [17:03:08]ConnectInit lk.salyk.kg [17:03:08]Connected sock=9 [17:03: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 38 34 31 24 01 00 00 22 D2 1C 01 7A 20 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 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 34 00 00 00 F4 03 04 00 A1 C3 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B1 93 00 00 35 04 06 00 85 2D BC A7 F2 F1 E0 5C 1F 21 7E 82 BF 6A [17:03:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 A0 39 47 00 88 C9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B1 93 00 00 F4 03 04 00 C7 6E 1F 67 B6 04 01 00 00 78 36 CD FE 98 53 3C 2F [17:03:09]CommunicateWithHost err = 0 [17:03:09]CheckOFDResponse [17:03:09]1017 (14) - 77093643461234 [17:03:09]1041 (16) - 0000000000871841 [17:03:09]1040 (4) - 37809 [17:03:09]1012 (4) - 28.10.2024 11:00 [17:03:09]1206 (1) - 0 [17:03:09]OFD Sender: Remove packet 37809 [17:03:09]ProducePacketName [17:03:09]name=ofd_packets/00037809 [17:03:09]NVStorageDeleteData [17:03:09]OFD Sender: No OFD packet to send [17:03:14]OFD Sender: No OFD packet to send [17:03:19]OFD Sender: No OFD packet to send [17:03:24]OFD Sender: No OFD packet to send [17:03:29]OFD Sender: No OFD packet to send [17:03:34]OFD Sender: No OFD packet to send [17:03:39]OFD Sender: No OFD packet to send [17:03:44]OFD Sender: No OFD packet to send [17:03:49]OFD Sender: No OFD packet to send [17:03:54]OFD Sender: No OFD packet to send [17:03:59]OFD Sender: No OFD packet to send [17:04:04]OFD Sender: No OFD packet to send [17:04:09]OFD Sender: No OFD packet to send [17:04:14]OFD Sender: No OFD packet to send [17:04:19]OFD Sender: No OFD packet to send [17:04:24]OFD Sender: No OFD packet to send [17:04:29]OFD Sender: No OFD packet to send [17:04:34]OFD Sender: No OFD packet to send [17:04:39]OFD Sender: No OFD packet to send [17:04:44]OFD Sender: No OFD packet to send [17:04:49]OFD Sender: No OFD packet to send [17:04:54]OFD Sender: No OFD packet to send [17:15:54]ConnectInit Can't connect to host [17:15:56]ConnectInit Can't take IP for lk.salyk.kg [17:15:56]CommunicateWithHost connect error [17:15:56]CommunicateWithHost err = -1 [17:15:56]OFD Sender: Server communicate error [17:16:01]OFD Sender: Processing packet 37810 [packets to send 42, broken 41] [17:16:01]ProducePacketName [17:16:01]name=ofd_packets/00037810 [17:16:01]OFD Sender: To server: pG, [17:16:01]CommunicateWithHost lk.salyk.kg:30040 [17:16:01]ConnectInit lk.salyk.kg [17:16:02]Connected sock=7 [17:16:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 08 02 00 00 25 FA 00 02 AE 4F 5A 03 01 00 03 00 F4 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 30 37 37 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 9C 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 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 32 35 30 30 32 31 36 38 38 30 30 31 37 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 F7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4D 1A 00 00 00 00 07 04 06 00 A8 F7 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 5B C5 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B2 93 00 00 35 04 06 00 73 5A C3 32 A0 3C 80 13 1D FB CA 3A AA B5 [17:16:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 1A 31 47 00 34 8B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B2 93 00 00 F4 03 04 00 CD 71 1F 67 B6 04 01 00 00 54 07 C7 9D 8B F0 62 32 [17:16:03]CommunicateWithHost err = 0 [17:16:03]CheckOFDResponse [17:16:03]1017 (14) - 77093643461234 [17:16:03]1041 (16) - 0000000000871841 [17:16:03]1040 (4) - 37810 [17:16:03]1012 (4) - 28.10.2024 11:13 [17:16:03]1206 (1) - 0 [17:16:03]OFD Sender: Remove packet 37810 [17:16:03]ProducePacketName [17:16:03]name=ofd_packets/00037810 [17:16:03]NVStorageDeleteData [17:16:03]OFD Sender: No OFD packet to send [17:16:08]OFD Sender: No OFD packet to send [17:16:13]OFD Sender: No OFD packet to send [17:16:18]OFD Sender: No OFD packet to send [17:16:23]OFD Sender: No OFD packet to send [17:16:28]OFD Sender: No OFD packet to send [17:16:33]OFD Sender: No OFD packet to send [17:16:38]OFD Sender: No OFD packet to send [17:16:43]OFD Sender: No OFD packet to send [17:16:48]OFD Sender: No OFD packet to send [17:16:53]OFD Sender: No OFD packet to send [17:16:58]OFD Sender: No OFD packet to send [17:17:03]OFD Sender: No OFD packet to send [17:17:08]OFD Sender: No OFD packet to send [17:17:13]OFD Sender: No OFD packet to send [17:17:18]OFD Sender: No OFD packet to send [17:17:23]OFD Sender: No OFD packet to send [17:17:28]OFD Sender: No OFD packet to send [17:17:33]OFD Sender: No OFD packet to send [17:17:38]OFD Sender: No OFD packet to send [17:17:43]OFD Sender: No OFD packet to send [17:17:48]OFD Sender: No OFD packet to send [17:17:53]OFD Sender: No OFD packet to send [17:17:58]OFD Sender: No OFD packet to send [17:18:03]OFD Sender: No OFD packet to send [17:18:08]OFD Sender: No OFD packet to send [17:18:13]OFD Sender: No OFD packet to send [17:18:18]OFD Sender: No OFD packet to send [17:18:23]OFD Sender: No OFD packet to send [17:18:28]OFD Sender: No OFD packet to send [17:18:33]OFD Sender: No OFD packet to send [17:18:38]OFD Sender: No OFD packet to send [17:18:43]OFD Sender: No OFD packet to send [17:18:48]OFD Sender: No OFD packet to send [17:18:53]OFD Sender: No OFD packet to send [17:18:58]OFD Sender: No OFD packet to send [17:19:03]OFD Sender: No OFD packet to send [17:19:08]OFD Sender: No OFD packet to send [17:19:13]OFD Sender: No OFD packet to send [17:19:18]OFD Sender: No OFD packet to send [17:19:23]OFD Sender: No OFD packet to send [17:19:28]OFD Sender: No OFD packet to send [17:19:33]OFD Sender: No OFD packet to send [17:19:38]OFD Sender: No OFD packet to send [17:19:43]OFD Sender: No OFD packet to send [17:19:48]OFD Sender: No OFD packet to send [17:19:53]OFD Sender: No OFD packet to send [17:19:58]OFD Sender: No OFD packet to send [17:20:03]OFD Sender: No OFD packet to send [17:20:08]OFD Sender: No OFD packet to send [17:20:11]accept exits with 9 [17:20:11]New connection [17:20:11]New thread 3067440484 created [17:20:11]Thread 3067297124 joined [17:20:11]Waiting for new connection... [17:20:11] Sock 9.Parse request [17:20:11]Sock 9.Check first char [17:20:11]Sock 9.First char is OK [17:20:11]request: POST /json_proto HTTP/1.0 [17:20:11]Method: POST [17:20:11]URL: /json_proto [17:20:11]Method is POST - this is cgi request [17:20:11]url: /json_proto [17:20:11]query_string will be loaded in cgi processing [17:20:11]execute_cgi json_proto POST (null) [17:20:11]execute_cgi path=json_proto method=POST [17:20:11]POST find Content-Length [17:20:11]Host: 172.17.40.196:8080 [17:20:11]Content-Length: 615 [17:20:11]Content-Type: application/json [17:20:11] [17:20:11]POST finish read [17:20:11]Found Content-Length = 615 [17:20:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35110", "tax_sys" : 0, "items" : [ { "code": "4640030091522", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Blue", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:20:11]execute_script... [17:20:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35110", "tax_sys" : 0, "items" : [ { "code": "4640030091522", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Blue", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:20:11]POST & json_proto [17:20:11]process_json_proto [17:20:11]json parsed OK: [17:20:11]protocol is kg_v1.0 [17:20:11]action value=close_receipt [17:20:11]process_action close_receipt [17:20:11]cmd_close_receipt [17:20:11]MH_GetDate [17:20:11]Write to MH i2c: F0 00 00 56 26 6B [17:20:11]Write i2c OK [17:20:11]MH_I2C_Read... [17:20:11]Read from MH i2c: F0 [17:20:11]MH_I2C_Read... [17:20:11]Read from MH i2c: F0 09 00 [17:20:11]MH_I2C_Read... [17:20:11]Read from MH i2c: F0 09 00 56 26 00 D4 C7 1F 67 5B 68 A1 66 5F [17:20:11]GetLastDocTimeStamp 1730135387 [17:20:11]current date 1730136020 [17:20:11]FM_GetShiftState [17:20:11]SAM_PROTO_GetShiftState [17:20:11]wFMCommunicate request_size=4 [17:20:11]MH_SAM_APDU [17:20:11]CAPDU: 80 13 01 00 [17:20:11]Write to MH i2c: E2 08 00 57 26 80 13 01 00 00 00 00 00 FA [17:20:11]Write i2c OK [17:20:11]MH_I2C_Read... [17:20:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:20:11]Read from MH i2c: E2 [17:20:11]MH_I2C_Read... [17:20:11]Read from MH i2c: E2 0E 00 [17:20:11]MH_I2C_Read... [17:20:11]Read from MH i2c: E2 0E 00 57 26 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 7C [17:20:11]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [17:20:11]wFMCommunicate OK [17:20:11]SAM_PROTO_GetShiftState done [17:20:11]FM_GetShiftState done [17:20:11]opened in 1730073884 [17:20:11]opened+sec_in_day 1730160284 [17:20:11]quantity*price = 15900 [17:20:11]sum+1 = 15901 [17:20:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 159.00 НСП 1% : 1.41 НДС 12% : 16.88 Наличными: 159.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 54 28.10.2024 17:20 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37811 ФПД: 73800472364565 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T172020&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37811&fm=73800472364565&tin=02508201610067®Number=0000000000091684&sum=15900 0 [17:20:12]StoreToDocumentArchive [17:20:12]shift 551 fd 37811 [17:20:12]save to /storage/0551/doc_00037811 [17:20:12]save last doc name /storage/0551/doc_00037811 to /storage/kkm_last_doc_name [17:20:12]save OK [17:20:12]Clear old archive folders... [17:20:12]ProcessDocumentItem done err = 0, tmpTLVsize=268 [17:20:12]tlvbuf is 0029A240 [17:20:12]SAM_PROTO_ClearQueue [17:20:12]wFMCommunicate request_size=4 [17:20:12]MH_SAM_APDU [17:20:12]CAPDU: 80 09 00 00 [17:20:12]Write to MH i2c: E2 08 00 64 26 80 09 00 00 00 00 00 00 FC [17:20:12]Write i2c OK [17:20:12]MH_I2C_Read... [17:20:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:20:12]Read from MH i2c: E2 [17:20:12]MH_I2C_Read... [17:20:12]Read from MH i2c: E2 03 00 [17:20:12]MH_I2C_Read... [17:20:12]Read from MH i2c: E2 03 00 64 26 00 90 00 FE [17:20:12]RAPDU: 90 00 [17:20:12]wFMCommunicate OK [17:20:12]SAM_PROTO_ClearQueue done [17:20:12]KKMCreateOFDPacket [17:20:12]OFDProtocolAddRootSTLVToBuf [17:20:12]FM_MakeSignedData [17:20:12]FM_MakeSignedData [17:20:12]SAM_PROTO_SignData [17:20:12]wFMCommunicate request_size=4 [17:20:12]MH_SAM_APDU [17:20:12]CAPDU: 80 0D 01 02 [17:20:12]Write to MH i2c: E2 08 00 65 26 80 0D 01 02 00 00 00 00 04 [17:20:12]Write i2c OK [17:20:12]MH_I2C_Read... [17:20:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:20:12]Read from MH i2c: E2 [17:20:12]MH_I2C_Read... [17:20:12]Read from MH i2c: E2 03 00 [17:20:12]MH_I2C_Read... [17:20:12]Read from MH i2c: E2 03 00 65 26 00 90 00 FF [17:20:12]RAPDU: 90 00 [17:20:12]wFMCommunicate OK [17:20:12]wFMCommunicate request_size=255 [17:20:12]MH_SAM_APDU [17:20:12]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 32 32 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 D4 C7 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 [17:20:12]Write to MH i2c: E2 02 01 66 26 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 32 32 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 D4 C7 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 00 00 1A [17:20:12]Write i2c OK [17:20:12]MH_I2C_Read... [17:20:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:20:13]Read from MH i2c: E2 [17:20:13]MH_I2C_Read... [17:20:13]Read from MH i2c: E2 03 00 [17:20:13]MH_I2C_Read... [17:20:13]Read from MH i2c: E2 03 00 66 26 00 90 00 00 [17:20:13]RAPDU: 90 00 [17:20:13]wFMCommunicate OK [17:20:13]wFMCommunicate request_size=27 [17:20:13]MH_SAM_APDU [17:20:13]CAPDU: 80 0D 02 02 16 31 38 34 31 10 04 04 00 B3 93 00 00 35 04 06 00 43 1F 02 F0 86 15 [17:20:13]Write to MH i2c: E2 1E 00 67 26 80 0D 02 02 16 00 31 38 34 31 10 04 04 00 B3 93 00 00 35 04 06 00 43 1F 02 F0 86 15 00 00 8D [17:20:13]Write i2c OK [17:20:13]MH_I2C_Read... [17:20:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:20:13]Read from MH i2c: E2 [17:20:13]MH_I2C_Read... [17:20:13]Read from MH i2c: E2 03 00 [17:20:13]MH_I2C_Read... [17:20:13]Read from MH i2c: E2 03 00 67 26 00 90 00 01 [17:20:13]RAPDU: 90 00 [17:20:13]wFMCommunicate OK [17:20:13]wFMCommunicate request_size=4 [17:20:13]MH_SAM_APDU [17:20:13]CAPDU: 80 0D 03 02 [17:20:13]Write to MH i2c: E2 08 00 68 26 80 0D 03 02 00 00 00 00 09 [17:20:13]Write i2c OK [17:20:13]MH_I2C_Read... [17:20:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:20:13]Read from MH i2c: E2 [17:20:13]MH_I2C_Read... [17:20:13]Read from MH i2c: E2 0B 00 [17:20:13]MH_I2C_Read... [17:20:13]Read from MH i2c: E2 0B 00 68 26 00 71 28 60 E0 F7 BB DE 76 90 00 E9 [17:20:13]RAPDU: 71 28 60 E0 F7 BB DE 76 90 00 [17:20:13]wFMCommunicate OK [17:20:13]SAM_PROTO_SignData done [17:20:13]FM_MakeSignedData done [17:20:13]CreateOFDProtocolMessage [17:20:13]wFMCommunicate request_size=4 [17:20:13]MH_SAM_APDU [17:20:13]CAPDU: 80 11 00 00 [17:20:13]Write to MH i2c: E2 08 00 69 26 80 11 00 00 00 00 00 00 09 [17:20:13]Write i2c OK [17:20:13]MH_I2C_Read... [17:20:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:20:13]Read from MH i2c: E2 [17:20:13]MH_I2C_Read... [17:20:13]Read from MH i2c: E2 17 00 [17:20:13]MH_I2C_Read... [17:20:13]Read from MH i2c: E2 17 00 69 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 59 [17:20:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:20:13]wFMCommunicate OK [17:20:13]CreateOFDProtocolMessage done [17:20:13]OFDSenderStorePacket 37811 [17:20:13]StoreOFDPacket docnum=37811 [17:20:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 20 01 00 00 3A 1C 18 01 64 AF 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 32 32 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 D4 C7 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B3 93 00 00 35 04 06 00 43 1F 02 F0 86 15 71 28 60 E0 F7 BB DE 76 [17:20:13]CheckFolder [17:20:13]dirname=/storage/ofd_packets [17:20:13]CheckFolder done [17:20:13]ProducePacketName [17:20:13]name=ofd_packets/00037811 [17:20:13]NVStorageSaveData ofd_packets/00037811 [17:20:13]File name is /storage/ofd_packets/00037811 [17:20:13]Write 318 bytes [17:20:13]NVStorageSaveData done [17:20:13]OFDSenderStorePacket done [17:20:13]KKMCreateOFDPacket done [17:20:13]NVStorageSaveData kkm_last_timestamp [17:20:13]File name is /storage/kkm_last_timestamp [17:20:13]Write 4 bytes [17:20:13]NVStorageSaveData done [17:20:13]ExternCall_PrintAddStr [17:20:13]wPrintStart [17:20:13]Write to MH i2c: 01 00 00 6A 26 90 [17:20:13]Write i2c OK [17:20:13]MH_I2C_Read... [17:20:13]Read from MH i2c: 01 [17:20:13]MH_I2C_Read... [17:20:13]Read from MH i2c: 01 07 00 [17:20:13]MH_I2C_Read... [17:20:13]Read from MH i2c: 01 07 00 6A 26 00 00 00 00 00 FF 0F A5 [17:20:13]RasterBufferAndPrint [17:20:13]line Счет N : (3)35110 [17:20:13]line ИНН: 02508201610067 [17:20:13]line Контрольно-Кассовый Чек [17:20:13]line ПРОДАЖА [17:20:13]line Товар: 4640030091522 [17:20:13]line Сигареты Esse Blue [17:20:13]line 1.000 * 159.00 [17:20:13]line = 159.00 [17:20:13]line НДС 12% НСП 1% [17:20:13]line > о реализуемом товаре [17:20:13]line ИТОГО: 159.00 [17:20:13]line НСП 1% : 1.41 [17:20:13]line НДС 12% : 16.88 [17:20:13]line Наличными: 159.00 [17:20:13]line Безнал.: 0.00 [17:20:13]line Место: АЗС № 126 "Партнер Нефть" [17:20:13]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [17:20:13]line СНО: Общий режим [17:20:13]line Чек 54 28.10.2024 17:20 [17:20:13]line Смена: 551 ФФД: 1.0 [17:20:13]line ЗНМ: 0300000092 [17:20:13]line РНМ: 0000000000091684 [17:20:13]line Версия ККМ: 001 [17:20:13]line ФМ: 0000000000871841 [17:20:13]line ФД: 37811 [17:20:13]line ФПД: 73800472364565 [17:20:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T172020&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37811&fm=73800472364565&tin=02508201610067®Number=0000000000091684&sum=15900 [17:20:13]line 0 [17:20:13]written 0, free lines is 4095 [17:20:13]OFD Sender: Processing packet 37811 [packets to send 42, broken 41] [17:20:13]ProducePacketName [17:20:13]name=ofd_packets/00037811 [17:20:13]OFD Sender: To server: pG, [17:20:13]CommunicateWithHost lk.salyk.kg:30040 [17:20:13]ConnectInit lk.salyk.kg [17:20:13]Connected sock=10 [17:20:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 20 01 00 00 3A 1C 18 01 64 AF 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 32 32 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 D4 C7 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B3 93 00 00 35 04 06 00 43 1F 02 F0 86 15 71 28 60 E0 F7 BB DE 76 [17:20:13]Write to MH i2c: 01 00 00 92 26 B8 [17:20:13]Write i2c OK [17:20:13]MH_I2C_Read... [17:20:13]Read from MH i2c: 01 [17:20:13]MH_I2C_Read... [17:20:13]Read from MH i2c: 01 07 00 [17:20:13]MH_I2C_Read... [17:20:13]Read from MH i2c: 01 07 00 92 26 00 00 00 00 00 CD 0C 98 [17:20:13]RasterBufferAndPrint [17:20:13]line [17:20:13]line [17:20:13]line [17:20:13]line [17:20:13]line [17:20:13]written 0, free lines is 3284 [17:20:13]MH_Cut [17:20:13]Write to MH i2c: D1 01 00 99 26 01 91 [17:20:13]Write i2c OK [17:20:13]MH_I2C_Read... [17:20:13]Read from MH i2c: D1 [17:20:13]MH_I2C_Read... [17:20:13]Read from MH i2c: D1 01 00 [17:20:13]MH_I2C_Read... [17:20:13]Read from MH i2c: D1 01 00 99 26 00 90 [17:20:13]Write to MH i2c: 01 00 00 9A 26 C0 [17:20:13]Write i2c OK [17:20:13]MH_I2C_Read... [17:20:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 13 98 47 00 60 BE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 B3 93 00 00 F4 03 04 00 C8 72 1F 67 B6 04 01 00 00 06 03 8C 22 BE 3A 6A 15 [17:20:13]CommunicateWithHost err = 0 [17:20:13]CheckOFDResponse [17:20:13]1017 (14) - 77093643461234 [17:20:13]1041 (16) - 0000000000871841 [17:20:13]1040 (4) - 37811 [17:20:13]1012 (4) - 28.10.2024 11:17 [17:20:13]1206 (1) - 0 [17:20:13]OFD Sender: Remove packet 37811 [17:20:13]ProducePacketName [17:20:13]name=ofd_packets/00037811 [17:20:13]NVStorageDeleteData [17:20:14]*** Cut start [17:20:14]*** Partial cut [17:20:14]*** CUTSNS_PIN = 1 [17:20:14]OFD Sender: No OFD packet to send [17:20:14]*** CUTSNS_PIN = 0 [17:20:14]*** Brake cut motor [17:20:15]Read from MH i2c: 01 *** Stop cut motor [17:20:15]*** Cut end [17:20:15] [17:20:15]MH_I2C_Read... [17:20:15]Read from MH i2c: 01 07 00 [17:20:15]MH_I2C_Read... [17:20:15]Read from MH i2c: 01 07 00 9A 26 00 00 00 00 00 FF 0F D5 [17:20:15]process_action close_receipt done [17:20:15]requested_data is exist [17:20:15]produce_requested_data [17:20:15]requested_item fm.sn is exist - process it [17:20:15]wFMCommunicate request_size=4 [17:20:15]MH_SAM_APDU [17:20:15]CAPDU: 80 11 00 00 [17:20:15]Write to MH i2c: E2 08 00 9B 26 80 11 00 00 00 00 00 00 3B [17:20:15]Write i2c OK [17:20:15]MH_I2C_Read... [17:20:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:20:15]Read from MH i2c: E2 [17:20:15]MH_I2C_Read... [17:20:15]Read from MH i2c: E2 17 00 [17:20:15]MH_I2C_Read... [17:20:15]Read from MH i2c: E2 17 00 9B 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 8B [17:20:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:20:15]wFMCommunicate OK [17:20:15]requested_item fd.num is exist - process it [17:20:15]SAM_PROTO_GetFieldsCounters [17:20:15]wFMCommunicate request_size=4 [17:20:15]MH_SAM_APDU [17:20:15]CAPDU: 80 13 00 00 [17:20:15]Write to MH i2c: E2 08 00 9C 26 80 13 00 00 00 00 00 00 3E [17:20:15]Write i2c OK [17:20:15]MH_I2C_Read... [17:20:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:20:15]Read from MH i2c: E2 [17:20:15]MH_I2C_Read... [17:20:15]Read from MH i2c: E2 62 00 [17:20:15]MH_I2C_Read... [17:20:15]Read from MH i2c: E2 62 00 9C 26 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 B3 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 70 [17:20:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 B3 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:20:15]wFMCommunicate OK [17:20:15]SAM_PROTO_GetFieldsCounters done [17:20:15]requested_item shift.num is exist - process it [17:20:15]requested_item shift.opened is exist - process it [17:20:15]req_shift_opened [17:20:15]FM_GetShiftState [17:20:15]SAM_PROTO_GetShiftState [17:20:15]wFMCommunicate request_size=4 [17:20:15]MH_SAM_APDU [17:20:15]CAPDU: 80 13 01 00 [17:20:15]Write to MH i2c: E2 08 00 9D 26 80 13 01 00 00 00 00 00 40 [17:20:15]Write i2c OK [17:20:15]MH_I2C_Read... [17:20:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:20:15]Read from MH i2c: E2 [17:20:15]MH_I2C_Read... [17:20:15]Read from MH i2c: E2 0E 00 [17:20:15]MH_I2C_Read... [17:20:15]Read from MH i2c: E2 0E 00 9D 26 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 C2 [17:20:15]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [17:20:15]wFMCommunicate OK [17:20:15]SAM_PROTO_GetShiftState done [17:20:15]FM_GetShiftState done [17:20:15]req_shift_opened done [17:20:15]requested_item shift.open_date is exist - process it [17:20:15]req_shift_open_date [17:20:15]req_shift_open_date done [17:20:15]produce_requested_data done [17:20:15]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37811,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [17:20:15]process_action_free close_receipt [17:20:15]json_value_free [17:20:15]json_value_free done [17:20:15]process_json_proto returns [17:20:15]Send response to host [17:20:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37811,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [17:20:15]free response buf [17:20:15]execute_script done [17:20:15]execute_script returns [17:20:15]free content buf [17:20:15]Sock 9.Close socket [17:20:15]Sock 9.Thread stoped [17:20:19]OFD Sender: No OFD packet to send [17:20:24]OFD Sender: No OFD packet to send [17:20:29]OFD Sender: No OFD packet to send [17:20:34]OFD Sender: No OFD packet to send [17:20:39]OFD Sender: No OFD packet to send [17:20:44]OFD Sender: No OFD packet to send [17:20:49]OFD Sender: No OFD packet to send [17:20:54]OFD Sender: No OFD packet to send [17:20:59]OFD Sender: No OFD packet to send [17:21:04]OFD Sender: No OFD packet to send [17:21:09]OFD Sender: No OFD packet to send [17:21:14]OFD Sender: No OFD packet to send [17:21:19]OFD Sender: No OFD packet to send [17:21:24]OFD Sender: No OFD packet to send [17:21:29]OFD Sender: No OFD packet to send [17:21:34]OFD Sender: No OFD packet to send [17:21:39]OFD Sender: No OFD packet to send [17:21:44]OFD Sender: No OFD packet to send [17:21:49]OFD Sender: No OFD packet to send [17:21:54]OFD Sender: No OFD packet to send [17:21:59]OFD Sender: No OFD packet to send [17:22:04]OFD Sender: No OFD packet to send [17:22:09]OFD Sender: No OFD packet to send [17:22:14]OFD Sender: No OFD packet to send [17:22:19]OFD Sender: No OFD packet to send [17:22:24]OFD Sender: No OFD packet to send [17:22:29]OFD Sender: No OFD packet to send [17:22:34]OFD Sender: No OFD packet to send [17:22:39]OFD Sender: No OFD packet to send [17:22:44]OFD Sender: No OFD packet to send [17:22:49]OFD Sender: No OFD packet to send [17:22:54]OFD Sender: No OFD packet to send [17:22:59]OFD Sender: No OFD packet to send [17:23:04]OFD Sender: No OFD packet to send [17:23:09]OFD Sender: No OFD packet to send [17:23:14]OFD Sender: No OFD packet to send [17:23:19]OFD Sender: No OFD packet to send [17:23:24]OFD Sender: No OFD packet to send [17:23:29]OFD Sender: No OFD packet to send [17:23:34]OFD Sender: No OFD packet to send [17:23:39]OFD Sender: No OFD packet to send [17:23:44]OFD Sender: No OFD packet to send [17:23:49]OFD Sender: No OFD packet to send [17:23:54]OFD Sender: No OFD packet to send [17:23:59]OFD Sender: No OFD packet to send [17:24:04]OFD Sender: No OFD packet to send [17:24:09]OFD Sender: No OFD packet to send [17:24:14]OFD Sender: No OFD packet to send [17:24:19]OFD Sender: No OFD packet to send [17:24:24]OFD Sender: No OFD packet to send [17:24:29]OFD Sender: No OFD packet to send [17:24:34]OFD Sender: No OFD packet to send [17:24:39]OFD Sender: No OFD packet to send [17:24:44]OFD Sender: No OFD packet to send [17:24:49]OFD Sender: No OFD packet to send [17:24:54]OFD Sender: No OFD packet to send [17:24:59]OFD Sender: No OFD packet to send [17:25:04]OFD Sender: No OFD packet to send [17:25:09]OFD Sender: No OFD packet to send [17:25:14]OFD Sender: No OFD packet to send [17:25:19]OFD Sender: No OFD packet to send [17:25:24]OFD Sender: No OFD packet to send [17:25:29]OFD Sender: No OFD packet to send [17:25:34]OFD Sender: No OFD packet to send [17:25:39]OFD Sender: No OFD packet to send [17:25:44]OFD Sender: No OFD packet to send [17:25:49]OFD Sender: No OFD packet to send [17:25:54]OFD Sender: No OFD packet to send [17:25:59]OFD Sender: No OFD packet to send [17:26:04]OFD Sender: No OFD packet to send [17:26:09]OFD Sender: No OFD packet to send [17:26:14]OFD Sender: No OFD packet to send [17:26:19]OFD Sender: No OFD packet to send [17:26:24]OFD Sender: No OFD packet to send [17:26:29]OFD Sender: No OFD packet to send [17:26:34]OFD Sender: No OFD packet to send [17:26:39]OFD Sender: No OFD packet to send [17:26:44]OFD Sender: No OFD packet to send [17:26:49]OFD Sender: No OFD packet to send [17:26:54]OFD Sender: No OFD packet to send [17:26:59]OFD Sender: No OFD packet to send [17:27:04]OFD Sender: No OFD packet to send [17:27:09]OFD Sender: No OFD packet to send [17:27:14]OFD Sender: No OFD packet to send [17:27:19]OFD Sender: No OFD packet to send [17:27:24]OFD Sender: No OFD packet to send [17:27:29]OFD Sender: No OFD packet to send [17:27:34]OFD Sender: No OFD packet to send [17:27:39]OFD Sender: No OFD packet to send [17:27:44]OFD Sender: No OFD packet to send [17:27:49]OFD Sender: No OFD packet to send [17:27:54]OFD Sender: No OFD packet to send [17:27:59]OFD Sender: No OFD packet to send [17:28:04]OFD Sender: No OFD packet to send [17:28:09]OFD Sender: No OFD packet to send [17:28:14]OFD Sender: No OFD packet to send [17:28:19]OFD Sender: No OFD packet to send [17:28:24]OFD Sender: No OFD packet to send [17:28:29]OFD Sender: No OFD packet to send [17:28:34]OFD Sender: No OFD packet to send [17:28:39]OFD Sender: No OFD packet to send [17:28:44]OFD Sender: No OFD packet to send [17:28:49]OFD Sender: No OFD packet to send [17:28:54]OFD Sender: No OFD packet to send [17:28:59]OFD Sender: No OFD packet to send [17:29:04]OFD Sender: No OFD packet to send [17:29:09]OFD Sender: No OFD packet to send [17:29:14]OFD Sender: No OFD packet to send [17:29:19]OFD Sender: No OFD packet to send [17:29:24]OFD Sender: No OFD packet to send [17:29:29]OFD Sender: No OFD packet to send [17:29:34]OFD Sender: No OFD packet to send [17:29:39]OFD Sender: No OFD packet to send [17:29:44]OFD Sender: No OFD packet to send [17:29:49]OFD Sender: No OFD packet to send [17:29:54]OFD Sender: No OFD packet to send [17:29:59]OFD Sender: No OFD packet to send [17:30:05]OFD Sender: No OFD packet to send [17:30:10]OFD Sender: No OFD packet to send [17:30:15]OFD Sender: No OFD packet to send [17:30:20]OFD Sender: No OFD packet to send [17:30:25]OFD Sender: No OFD packet to send [17:30:30]OFD Sender: No OFD packet to send [17:30:35]OFD Sender: No OFD packet to send [17:30:40]OFD Sender: No OFD packet to send [17:30:45]OFD Sender: No OFD packet to send [17:30:50]OFD Sender: No OFD packet to send [17:30:55]OFD Sender: No OFD packet to send [17:31:00]OFD Sender: No OFD packet to send [17:31:05]OFD Sender: No OFD packet to send [17:31:10]OFD Sender: No OFD packet to send [17:31:15]OFD Sender: No OFD packet to send [17:31:20]OFD Sender: No OFD packet to send [17:31:25]OFD Sender: No OFD packet to send [17:31:30]OFD Sender: No OFD packet to send [17:31:35]OFD Sender: No OFD packet to send [17:31:40]OFD Sender: No OFD packet to send [17:31:45]OFD Sender: No OFD packet to send [17:31:50]OFD Sender: No OFD packet to send [17:31:55]OFD Sender: No OFD packet to send [17:32:00]OFD Sender: No OFD packet to send [17:32:05]OFD Sender: No OFD packet to send [17:32:10]OFD Sender: No OFD packet to send [17:32:15]OFD Sender: No OFD packet to send [17:32:20]OFD Sender: No OFD packet to send [17:32:25]OFD Sender: No OFD packet to send [17:32:30]OFD Sender: No OFD packet to send [17:32:35]OFD Sender: No OFD packet to send [17:32:40]OFD Sender: No OFD packet to send [17:32:45]OFD Sender: No OFD packet to send [17:32:50]OFD Sender: No OFD packet to send [17:32:55]OFD Sender: No OFD packet to send [17:33:00]OFD Sender: No OFD packet to send [17:33:05]OFD Sender: No OFD packet to send [17:33:10]OFD Sender: No OFD packet to send [17:33:15]OFD Sender: No OFD packet to send [17:33:20]OFD Sender: No OFD packet to send [17:33:25]OFD Sender: No OFD packet to send [17:33:30]OFD Sender: No OFD packet to send [17:33:35]OFD Sender: No OFD packet to send [17:33:40]OFD Sender: No OFD packet to send [17:33:45]OFD Sender: No OFD packet to send [17:33:50]OFD Sender: No OFD packet to send [17:33:55]OFD Sender: No OFD packet to send [17:34:00]OFD Sender: No OFD packet to send [17:34:05]OFD Sender: No OFD packet to send [17:34:10]OFD Sender: No OFD packet to send [17:34:15]OFD Sender: No OFD packet to send [17:34:20]OFD Sender: No OFD packet to send [17:34:25]OFD Sender: No OFD packet to send [17:34:30]OFD Sender: No OFD packet to send [17:34:35]OFD Sender: No OFD packet to send [17:34:40]OFD Sender: No OFD packet to send [17:34:45]OFD Sender: No OFD packet to send [17:34:50]OFD Sender: No OFD packet to send [17:34:55]OFD Sender: No OFD packet to send [17:35:00]OFD Sender: No OFD packet to send [17:35:05]OFD Sender: No OFD packet to send [17:35:10]OFD Sender: No OFD packet to send [17:35:15]OFD Sender: No OFD packet to send [17:35:20]OFD Sender: No OFD packet to send [17:35:25]OFD Sender: No OFD packet to send [17:35:30]OFD Sender: No OFD packet to send [17:35:35]OFD Sender: No OFD packet to send [17:35:40]OFD Sender: No OFD packet to send [17:35:45]OFD Sender: No OFD packet to send [17:35:50]OFD Sender: No OFD packet to send [17:35:55]OFD Sender: No OFD packet to send [17:36:00]OFD Sender: No OFD packet to send [17:36:05]OFD Sender: No OFD packet to send [17:36:10]OFD Sender: No OFD packet to send [17:36:15]OFD Sender: No OFD packet to send [17:36:20]OFD Sender: No OFD packet to send [17:36:25]OFD Sender: No OFD packet to send [17:36:30]OFD Sender: No OFD packet to send [17:36:35]OFD Sender: No OFD packet to send [17:36:40]OFD Sender: No OFD packet to send [17:36:45]OFD Sender: No OFD packet to send [17:36:50]OFD Sender: No OFD packet to send [17:36:55]OFD Sender: No OFD packet to send [17:37:00]OFD Sender: No OFD packet to send [17:37:05]OFD Sender: No OFD packet to send [17:37:10]OFD Sender: No OFD packet to send [17:37:15]OFD Sender: No OFD packet to send [17:37:20]OFD Sender: No OFD packet to send [17:37:25]OFD Sender: No OFD packet to send [17:37:30]OFD Sender: No OFD packet to send [17:37:35]OFD Sender: No OFD packet to send [17:37:40]OFD Sender: No OFD packet to send [17:37:45]OFD Sender: No OFD packet to send [17:37:50]OFD Sender: No OFD packet to send [17:37:55]OFD Sender: No OFD packet to send [17:38:00]OFD Sender: No OFD packet to send [17:38:05]OFD Sender: No OFD packet to send [17:38:10]OFD Sender: No OFD packet to send [17:38:15]OFD Sender: No OFD packet to send [17:38:20]OFD Sender: No OFD packet to send [17:38:25]OFD Sender: No OFD packet to send [17:38:30]OFD Sender: No OFD packet to send [17:38:35]OFD Sender: No OFD packet to send [17:38:40]OFD Sender: No OFD packet to send [17:38:45]OFD Sender: No OFD packet to send [17:38:50]OFD Sender: No OFD packet to send [17:38:55]OFD Sender: No OFD packet to send [17:39:00]OFD Sender: No OFD packet to send [17:39:05]OFD Sender: No OFD packet to send [17:39:10]OFD Sender: No OFD packet to send [17:39:15]OFD Sender: No OFD packet to send [17:39:20]OFD Sender: No OFD packet to send [17:39:25]OFD Sender: No OFD packet to send [17:39:30]OFD Sender: No OFD packet to send [17:39:35]OFD Sender: No OFD packet to send [17:39:40]OFD Sender: No OFD packet to send [17:39:45]OFD Sender: No OFD packet to send [17:39:50]OFD Sender: No OFD packet to send [17:39:55]OFD Sender: No OFD packet to send [17:40:00]OFD Sender: No OFD packet to send [17:40:05]OFD Sender: No OFD packet to send [17:40:10]OFD Sender: No OFD packet to send [17:40:15]OFD Sender: No OFD packet to send [17:40:20]OFD Sender: No OFD packet to send [17:40:25]OFD Sender: No OFD packet to send [17:40:30]OFD Sender: No OFD packet to send [17:40:35]OFD Sender: No OFD packet to send [17:40:40]OFD Sender: No OFD packet to send [17:40:45]OFD Sender: No OFD packet to send [17:40:50]OFD Sender: No OFD packet to send [17:40:55]OFD Sender: No OFD packet to send [17:41:00]OFD Sender: No OFD packet to send [17:41:05]OFD Sender: No OFD packet to send [17:41:10]OFD Sender: No OFD packet to send [17:41:15]OFD Sender: No OFD packet to send [17:41:20]OFD Sender: No OFD packet to send [17:41:25]OFD Sender: No OFD packet to send [17:41:30]OFD Sender: No OFD packet to send [17:41:35]OFD Sender: No OFD packet to send [17:41:40]OFD Sender: No OFD packet to send [17:41:45]OFD Sender: No OFD packet to send [17:41:50]OFD Sender: No OFD packet to send [17:41:55]OFD Sender: No OFD packet to send [17:42:00]OFD Sender: No OFD packet to send [17:42:05]OFD Sender: No OFD packet to send [17:42:10]OFD Sender: No OFD packet to send [17:42:15]OFD Sender: No OFD packet to send [17:42:20]OFD Sender: No OFD packet to send [17:42:25]OFD Sender: No OFD packet to send [17:42:30]OFD Sender: No OFD packet to send [17:42:35]OFD Sender: No OFD packet to send [17:42:40]OFD Sender: No OFD packet to send [17:42:45]OFD Sender: No OFD packet to send [17:42:50]OFD Sender: No OFD packet to send [17:42:55]OFD Sender: No OFD packet to send [17:43:00]OFD Sender: No OFD packet to send [17:43:05]OFD Sender: No OFD packet to send [17:43:10]OFD Sender: No OFD packet to send [17:43:15]OFD Sender: No OFD packet to send [17:43:20]OFD Sender: No OFD packet to send [17:43:25]OFD Sender: No OFD packet to send [17:43:30]OFD Sender: No OFD packet to send [17:43:35]OFD Sender: No OFD packet to send [17:43:40]OFD Sender: No OFD packet to send [17:43:45]OFD Sender: No OFD packet to send [17:43:50]OFD Sender: No OFD packet to send [17:43:55]OFD Sender: No OFD packet to send [17:44:00]OFD Sender: No OFD packet to send [17:44:05]OFD Sender: No OFD packet to send [17:44:10]OFD Sender: No OFD packet to send [17:44:15]OFD Sender: No OFD packet to send [17:44:20]OFD Sender: No OFD packet to send [17:44:25]OFD Sender: No OFD packet to send [17:44:30]OFD Sender: No OFD packet to send [17:44:35]OFD Sender: No OFD packet to send [17:44:40]OFD Sender: No OFD packet to send [17:44:45]OFD Sender: No OFD packet to send [17:44:50]OFD Sender: No OFD packet to send [17:44:55]OFD Sender: No OFD packet to send [17:45:00]OFD Sender: No OFD packet to send [17:45:05]OFD Sender: No OFD packet to send [17:45:06]accept exits with 7 [17:45:06]New connection [17:45:06]New thread 3067297124 created [17:45:06]Thread 3067440484 joined [17:45:06]Waiting for new connection... [17:45:06] Sock 7.Parse request [17:45:06]Sock 7.Check first char [17:45:06]Sock 7.First char is OK [17:45:06]request: POST /json_proto HTTP/1.0 [17:45:06]Method: POST [17:45:06]URL: /json_proto [17:45:06]Method is POST - this is cgi request [17:45:06]url: /json_proto [17:45:06]query_string will be loaded in cgi processing [17:45:06]execute_cgi json_proto POST (null) [17:45:06]execute_cgi path=json_proto method=POST [17:45:06]POST find Content-Length [17:45:06]Host: 172.17.40.196:8080 [17:45:06]Content-Length: 645 [17:45:06]Content-Type: application/json [17:45:06] [17:45:06]POST finish read [17:45:06]Found Content-Length = 645 [17:45:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35111", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:45:06]execute_script... [17:45: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)35111", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:45:06]POST & json_proto [17:45:06]process_json_proto [17:45:06]json parsed OK: [17:45:06]protocol is kg_v1.0 [17:45:06]action value=close_receipt [17:45:06]process_action close_receipt [17:45:06]cmd_close_receipt [17:45:06]MH_GetDate [17:45:06]Write to MH i2c: F0 00 00 9E 26 B3 [17:45:06]Write i2c OK [17:45:06]MH_I2C_Read... [17:45:06]Read from MH i2c: F0 [17:45:06]MH_I2C_Read... [17:45:06]Read from MH i2c: F0 09 00 [17:45:06]MH_I2C_Read... [17:45:06]Read from MH i2c: F0 09 00 9E 26 00 AB CD 1F 67 5B 68 A1 66 84 [17:45:06]GetLastDocTimeStamp 1730136020 [17:45:06]current date 1730137515 [17:45:06]FM_GetShiftState [17:45:06]SAM_PROTO_GetShiftState [17:45:06]wFMCommunicate request_size=4 [17:45:06]MH_SAM_APDU [17:45:06]CAPDU: 80 13 01 00 [17:45:06]Write to MH i2c: E2 08 00 9F 26 80 13 01 00 00 00 00 00 42 [17:45:06]Write i2c OK [17:45:06]MH_I2C_Read... [17:45:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:45:06]Read from MH i2c: E2 [17:45:06]MH_I2C_Read... [17:45:06]Read from MH i2c: E2 0E 00 [17:45:06]MH_I2C_Read... [17:45:06]Read from MH i2c: E2 0E 00 9F 26 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 C4 [17:45:06]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [17:45:06]wFMCommunicate OK [17:45:06]SAM_PROTO_GetShiftState done [17:45:06]FM_GetShiftState done [17:45:06]opened in 1730073884 [17:45:06]opened+sec_in_day 1730160284 [17:45:06]quantity*price = 15900 [17:45:06]sum+1 = 15901 [17:45:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 159.00 НСП 1% : 1.41 НДС 12% : 16.88 Наличными: 159.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 55 28.10.2024 17:45 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37812 ФПД: 95736094496309 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T174515&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37812&fm=95736094496309&tin=02508201610067®Number=0000000000091684&sum=15900 0 [17:45:07]StoreToDocumentArchive [17:45:07]shift 551 fd 37812 [17:45:07]save to /storage/0551/doc_00037812 [17:45:07]save last doc name /storage/0551/doc_00037812 to /storage/kkm_last_doc_name [17:45:07]save OK [17:45:07]Clear old archive folders... [17:45:07]ProcessDocumentItem done err = 0, tmpTLVsize=278 [17:45:07]tlvbuf is 002ECCD0 [17:45:07]SAM_PROTO_ClearQueue [17:45:07]wFMCommunicate request_size=4 [17:45:07]MH_SAM_APDU [17:45:07]CAPDU: 80 09 00 00 [17:45:07]Write to MH i2c: E2 08 00 AC 26 80 09 00 00 00 00 00 00 44 [17:45:07]Write i2c OK [17:45:07]MH_I2C_Read... [17:45:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:45:07]Read from MH i2c: E2 [17:45:07]MH_I2C_Read... [17:45:07]Read from MH i2c: E2 03 00 [17:45:07]MH_I2C_Read... [17:45:07]Read from MH i2c: E2 03 00 AC 26 00 90 00 46 [17:45:07]RAPDU: 90 00 [17:45:07]wFMCommunicate OK [17:45:07]SAM_PROTO_ClearQueue done [17:45:07]KKMCreateOFDPacket [17:45:07]OFDProtocolAddRootSTLVToBuf [17:45:07]FM_MakeSignedData [17:45:07]FM_MakeSignedData [17:45:07]SAM_PROTO_SignData [17:45:07]wFMCommunicate request_size=4 [17:45:07]MH_SAM_APDU [17:45:07]CAPDU: 80 0D 01 02 [17:45:07]Write to MH i2c: E2 08 00 AD 26 80 0D 01 02 00 00 00 00 4C [17:45:07]Write i2c OK [17:45:07]MH_I2C_Read... [17:45:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:45:07]Read from MH i2c: E2 [17:45:07]MH_I2C_Read... [17:45:07]Read from MH i2c: E2 03 00 [17:45:07]MH_I2C_Read... [17:45:07]Read from MH i2c: E2 03 00 AD 26 00 90 00 47 [17:45:07]RAPDU: 90 00 [17:45:07]wFMCommunicate OK [17:45:07]wFMCommunicate request_size=255 [17:45:07]MH_SAM_APDU [17:45:07]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 AB CD 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 [17:45:07]Write to MH i2c: E2 02 01 AE 26 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 AB CD 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 00 00 26 [17:45:07]Write i2c OK [17:45:07]MH_I2C_Read... [17:45:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:45:07]Read from MH i2c: E2 [17:45:07]MH_I2C_Read... [17:45:07]Read from MH i2c: E2 03 00 [17:45:07]MH_I2C_Read... [17:45:07]Read from MH i2c: E2 03 00 AE 26 00 90 00 48 [17:45:07]RAPDU: 90 00 [17:45:07]wFMCommunicate OK [17:45:07]wFMCommunicate request_size=37 [17:45:07]MH_SAM_APDU [17:45:07]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B4 93 00 00 35 04 06 00 57 12 4B E7 96 35 [17:45:07]Write to MH i2c: E2 28 00 AF 26 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B4 93 00 00 35 04 06 00 57 12 4B E7 96 35 00 00 50 [17:45:07]Write i2c OK [17:45:07]MH_I2C_Read... [17:45:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:45:08]Read from MH i2c: E2 [17:45:08]MH_I2C_Read... [17:45:08]Read from MH i2c: E2 03 00 [17:45:08]MH_I2C_Read... [17:45:08]Read from MH i2c: E2 03 00 AF 26 00 90 00 49 [17:45:08]RAPDU: 90 00 [17:45:08]wFMCommunicate OK [17:45:08]wFMCommunicate request_size=4 [17:45:08]MH_SAM_APDU [17:45:08]CAPDU: 80 0D 03 02 [17:45:08]Write to MH i2c: E2 08 00 B0 26 80 0D 03 02 00 00 00 00 51 [17:45:08]Write i2c OK [17:45:08]MH_I2C_Read... [17:45:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:45:08]Read from MH i2c: E2 [17:45:08]MH_I2C_Read... [17:45:08]Read from MH i2c: E2 0B 00 [17:45:08]MH_I2C_Read... [17:45:08]Read from MH i2c: E2 0B 00 B0 26 00 23 FC 85 32 CA 2E 2C D4 90 00 20 [17:45:08]RAPDU: 23 FC 85 32 CA 2E 2C D4 90 00 [17:45:08]wFMCommunicate OK [17:45:08]SAM_PROTO_SignData done [17:45:08]FM_MakeSignedData done [17:45:08]CreateOFDProtocolMessage [17:45:08]wFMCommunicate request_size=4 [17:45:08]MH_SAM_APDU [17:45:08]CAPDU: 80 11 00 00 [17:45:08]Write to MH i2c: E2 08 00 B1 26 80 11 00 00 00 00 00 00 51 [17:45:08]Write i2c OK [17:45:08]MH_I2C_Read... [17:45:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:45:08]Read from MH i2c: E2 [17:45:08]MH_I2C_Read... [17:45:08]Read from MH i2c: E2 17 00 [17:45:08]MH_I2C_Read... [17:45:08]Read from MH i2c: E2 17 00 B1 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A1 [17:45:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:45:08]wFMCommunicate OK [17:45:08]CreateOFDProtocolMessage done [17:45:08]OFDSenderStorePacket 37812 [17:45:08]StoreOFDPacket docnum=37812 [17:45:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2A 01 00 00 60 E3 22 01 7D 4D 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 AB CD 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B4 93 00 00 35 04 06 00 57 12 4B E7 96 35 23 FC 85 32 CA 2E 2C D4 [17:45:08]CheckFolder [17:45:08]dirname=/storage/ofd_packets [17:45:08]CheckFolder done [17:45:08]ProducePacketName [17:45:08]name=ofd_packets/00037812 [17:45:08]NVStorageSaveData ofd_packets/00037812 [17:45:08]File name is /storage/ofd_packets/00037812 [17:45:08]Write 328 bytes [17:45:08]NVStorageSaveData done [17:45:08]OFDSenderStorePacket done [17:45:08]KKMCreateOFDPacket done [17:45:08]NVStorageSaveData kkm_last_timestamp [17:45:08]File name is /storage/kkm_last_timestamp [17:45:08]Write 4 bytes [17:45:08]NVStorageSaveData done [17:45:08]ExternCall_PrintAddStr [17:45:08]wPrintStart [17:45:08]Write to MH i2c: 01 00 00 B2 26 D8 [17:45:08]Write i2c OK [17:45:08]MH_I2C_Read... [17:45:08]Read from MH i2c: 01 [17:45:08]MH_I2C_Read... [17:45:08]Read from MH i2c: 01 07 00 [17:45:08]MH_I2C_Read... [17:45:08]Read from MH i2c: 01 07 00 B2 26 00 00 00 00 00 FF 0F ED [17:45:08]RasterBufferAndPrint [17:45:08]line Счет N : (3)35111 [17:45:08]line ИНН: 02508201610067 [17:45:08]line Контрольно-Кассовый Чек [17:45:08]line ПРОДАЖА [17:45:08]line Товар: 90162602 [17:45:08]line Энерг напиток Red bull 0,25л [17:45:08]line 1.000 * 159.00 [17:45:08]line = 159.00 [17:45:08]line НДС 12% НСП 1% [17:45:08]line > о реализуемом товаре [17:45:08]line ИТОГО: 159.00 [17:45:08]line НСП 1% : 1.41 [17:45:08]line НДС 12% : 16.88 [17:45:08]line Наличными: 159.00 [17:45:08]line Безнал.: 0.00 [17:45:08]line Место: АЗС № 126 "Партнер Нефть" [17:45:08]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [17:45:08]line СНО: Общий режим [17:45:08]line Чек 55 28.10.2024 17:45 [17:45:08]line Смена: 551 ФФД: 1.0 [17:45:08]line ЗНМ: 0300000092 [17:45:08]line РНМ: 0000000000091684 [17:45:08]line Версия ККМ: 001 [17:45:08]line ФМ: 0000000000871841 [17:45:08]line ФД: 37812 [17:45:08]line ФПД: 95736094496309 [17:45:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T174515&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37812&fm=95736094496309&tin=02508201610067®Number=0000000000091684&sum=15900 [17:45:08]OFD Sender: Processing packet 37812 [packets to send 42, broken 41] [17:45:08]ProducePacketName [17:45:08]name=ofd_packets/00037812 [17:45:08]OFD Sender: To server: pG, [17:45:08]CommunicateWithHost lk.salyk.kg:30040 [17:45:08]ConnectInit lk.salyk.kg [17:45:08]line 0 [17:45:08]written 0, free lines is 4095 [17:45:08]Connected sock=10 [17:45: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 38 34 31 2A 01 00 00 60 E3 22 01 7D 4D 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 AB CD 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B4 93 00 00 35 04 06 00 57 12 4B E7 96 35 23 FC 85 32 CA 2E 2C D4 [17:45:08]Write to MH i2c: 01 00 00 DA 26 00 [17:45:08]Write i2c OK [17:45:08]MH_I2C_Read... [17:45:08]Read from MH i2c: 01 [17:45:08]MH_I2C_Read... [17:45:08]Read from MH i2c: 01 07 00 [17:45:08]MH_I2C_Read... [17:45:08]Read from MH i2c: 01 07 00 DA 26 00 00 00 00 00 BE 0C D1 [17:45:08]RasterBufferAndPrint [17:45:08]line [17:45:08]line [17:45:08]line [17:45:08]line [17:45:08]line [17:45:08]written 0, free lines is 3268 [17:45:08]MH_Cut [17:45:08]Write to MH i2c: D1 01 00 E1 26 01 D9 [17:45:08]Write i2c OK [17:45:08]MH_I2C_Read... [17:45:08]Read from MH i2c: D1 [17:45:08]MH_I2C_Read... [17:45:08]Read from MH i2c: D1 01 00 [17:45:08]MH_I2C_Read... [17:45:08]Read from MH i2c: D1 01 00 E1 26 00 D8 [17:45:08]Write to MH i2c: 01 00 00 E2 26 08 [17:45:08]Write i2c OK [17:45:08]MH_I2C_Read... [17:45:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 AB 43 47 00 58 B9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B4 93 00 00 F4 03 04 00 9F 78 1F 67 B6 04 01 00 00 C4 B2 40 F9 93 08 76 D4 [17:45:09]CommunicateWithHost err = 0 [17:45:09]CheckOFDResponse [17:45:09]1017 (14) - 77093643461234 [17:45:09]1041 (16) - 0000000000871841 [17:45:09]1040 (4) - 37812 [17:45:09]1012 (4) - 28.10.2024 11:42 [17:45:09]1206 (1) - 0 [17:45:09]OFD Sender: Remove packet 37812 [17:45:09]ProducePacketName [17:45:09]name=ofd_packets/00037812 [17:45:09]NVStorageDeleteData [17:45:09]OFD Sender: No OFD packet to send [17:45:09]*** Cut start [17:45:09]*** Partial cut [17:45:09]*** CUTSNS_PIN = 1 [17:45:09]*** CUTSNS_PIN = 0 [17:45:10]*** Brake cut motor [17:45:10]Read from MH i2c: 01 [17:45:10]MH_I2C_Read... [17:45:10]*** Stop cut motor [17:45:10]*** Cut end [17:45:10]Read from MH i2c: 01 07 00 [17:45:10]MH_I2C_Read... [17:45:10]Read from MH i2c: 01 07 00 E2 26 00 00 00 00 00 FF 0F 1D [17:45:10]process_action close_receipt done [17:45:10]requested_data is exist [17:45:10]produce_requested_data [17:45:10]requested_item fm.sn is exist - process it [17:45:10]wFMCommunicate request_size=4 [17:45:10]MH_SAM_APDU [17:45:10]CAPDU: 80 11 00 00 [17:45:10]Write to MH i2c: E2 08 00 E3 26 80 11 00 00 00 00 00 00 83 [17:45:10]Write i2c OK [17:45:10]MH_I2C_Read... [17:45:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:45:10]Read from MH i2c: E2 [17:45:10]MH_I2C_Read... [17:45:10]Read from MH i2c: E2 17 00 [17:45:10]MH_I2C_Read... [17:45:10]Read from MH i2c: E2 17 00 E3 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D3 [17:45:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:45:10]wFMCommunicate OK [17:45:10]requested_item fd.num is exist - process it [17:45:10]SAM_PROTO_GetFieldsCounters [17:45:10]wFMCommunicate request_size=4 [17:45:10]MH_SAM_APDU [17:45:10]CAPDU: 80 13 00 00 [17:45:10]Write to MH i2c: E2 08 00 E4 26 80 13 00 00 00 00 00 00 86 [17:45:10]Write i2c OK [17:45:10]MH_I2C_Read... [17:45:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:45:10]Read from MH i2c: E2 [17:45:10]MH_I2C_Read... [17:45:10]Read from MH i2c: E2 62 00 [17:45:10]MH_I2C_Read... [17:45:10]Read from MH i2c: E2 62 00 E4 26 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 B4 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 BC [17:45: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 B4 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:45:10]wFMCommunicate OK [17:45:10]SAM_PROTO_GetFieldsCounters done [17:45:10]requested_item shift.num is exist - process it [17:45:10]requested_item shift.opened is exist - process it [17:45:10]req_shift_opened [17:45:10]FM_GetShiftState [17:45:10]SAM_PROTO_GetShiftState [17:45:10]wFMCommunicate request_size=4 [17:45:10]MH_SAM_APDU [17:45:10]CAPDU: 80 13 01 00 [17:45:10]Write to MH i2c: E2 08 00 E5 26 80 13 01 00 00 00 00 00 88 [17:45:10]Write i2c OK [17:45:10]MH_I2C_Read... [17:45:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:45:10]Read from MH i2c: E2 [17:45:10]MH_I2C_Read... [17:45:10]Read from MH i2c: E2 0E 00 [17:45:10]MH_I2C_Read... [17:45:10]Read from MH i2c: E2 0E 00 E5 26 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 0A [17:45:10]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [17:45:10]wFMCommunicate OK [17:45:10]SAM_PROTO_GetShiftState done [17:45:10]FM_GetShiftState done [17:45:10]req_shift_opened done [17:45:10]requested_item shift.open_date is exist - process it [17:45:10]req_shift_open_date [17:45:10]req_shift_open_date done [17:45:10]produce_requested_data done [17:45:10]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37812,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [17:45:10]process_action_free close_receipt [17:45:10]json_value_free [17:45:10]json_value_free done [17:45:10]process_json_proto returns [17:45:10]Send response to host [17:45:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37812,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [17:45:10]free response buf [17:45:10]execute_script done [17:45:10]execute_script returns [17:45:10]free content buf [17:45:10]Sock 7.Close socket [17:45:10]Sock 7.Thread stoped [17:45:14]OFD Sender: No OFD packet to send [17:45:19]OFD Sender: No OFD packet to send [17:45:24]OFD Sender: No OFD packet to send [17:45:29]OFD Sender: No OFD packet to send [17:45:34]OFD Sender: No OFD packet to send [17:45:39]OFD Sender: No OFD packet to send [17:45:44]OFD Sender: No OFD packet to send [17:45:49]OFD Sender: No OFD packet to send [17:45:54]OFD Sender: No OFD packet to send [17:45:59]OFD Sender: No OFD packet to send [17:46:04]OFD Sender: No OFD packet to send [17:46:09]OFD Sender: No OFD packet to send [17:46:14]OFD Sender: No OFD packet to send [17:46:19]OFD Sender: No OFD packet to send [17:46:24]OFD Sender: No OFD packet to send [17:46:29]OFD Sender: No OFD packet to send [17:46:34]OFD Sender: No OFD packet to send [17:46:39]OFD Sender: No OFD packet to send [17:46:44]OFD Sender: No OFD packet to send [17:46:49]OFD Sender: No OFD packet to send [17:46:54]OFD Sender: No OFD packet to send [17:46:59]OFD Sender: No OFD packet to send [17:47:04]OFD Sender: No OFD packet to send [17:47:09]OFD Sender: No OFD packet to send [17:47:14]OFD Sender: No OFD packet to send [17:47:19]OFD Sender: No OFD packet to send [17:47:24]OFD Sender: No OFD packet to send [17:47:29]OFD Sender: No OFD packet to send [17:47:34]OFD Sender: No OFD packet to send [17:47:39]OFD Sender: No OFD packet to send [17:47:44]OFD Sender: No OFD packet to send [17:47:49]OFD Sender: No OFD packet to send [17:47:54]OFD Sender: No OFD packet to send [17:47:59]OFD Sender: No OFD packet to send [17:48:04]OFD Sender: No OFD packet to send [17:48:09]OFD Sender: No OFD packet to send [17:48:14]OFD Sender: No OFD packet to send [17:48:19]OFD Sender: No OFD packet to send [17:48:24]OFD Sender: No OFD packet to send [17:48:29]OFD Sender: No OFD packet to send [17:48:34]OFD Sender: No OFD packet to send [17:48:39]OFD Sender: No OFD packet to send [17:48:44]OFD Sender: No OFD packet to send [17:48:49]OFD Sender: No OFD packet to send [17:48:54]OFD Sender: No OFD packet to send [17:48:59]OFD Sender: No OFD packet to send [17:49:04]OFD Sender: No OFD packet to send [17:49:09]OFD Sender: No OFD packet to send [17:49:14]OFD Sender: No OFD packet to send [17:49:19]OFD Sender: No OFD packet to send [17:49:24]OFD Sender: No OFD packet to send [17:49:29]OFD Sender: No OFD packet to send [17:49:34]OFD Sender: No OFD packet to send [17:49:39]OFD Sender: No OFD packet to send [17:49:44]OFD Sender: No OFD packet to send [17:49:49]OFD Sender: No OFD packet to send [17:49:54]OFD Sender: No OFD packet to send [17:49:59]OFD Sender: No OFD packet to send [17:50:04]OFD Sender: No OFD packet to send [17:50:09]OFD Sender: No OFD packet to send [17:50:14]OFD Sender: No OFD packet to send [17:50:19]OFD Sender: No OFD packet to send [17:50:24]OFD Sender: No OFD packet to send [17:50:29]OFD Sender: No OFD packet to send [17:50:34]OFD Sender: No OFD packet to send [17:50:39]OFD Sender: No OFD packet to send [17:50:45]OFD Sender: No OFD packet to send [17:50:50]OFD Sender: No OFD packet to send [17:50:55]OFD Sender: No OFD packet to send [17:51:00]OFD Sender: No OFD packet to send [17:51:05]OFD Sender: No OFD packet to send [17:51:10]OFD Sender: No OFD packet to send [17:51:15]OFD Sender: No OFD packet to send [17:51:20]OFD Sender: No OFD packet to send [17:51:25]OFD Sender: No OFD packet to send [17:51:30]OFD Sender: No OFD packet to send [17:51:35]OFD Sender: No OFD packet to send [17:51:40]OFD Sender: No OFD packet to send [17:51:45]OFD Sender: No OFD packet to send [17:51:50]OFD Sender: No OFD packet to send [17:51:55]OFD Sender: No OFD packet to send [17:52:00]OFD Sender: No OFD packet to send [17:52:05]OFD Sender: No OFD packet to send [17:52:10]OFD Sender: No OFD packet to send [17:52:15]OFD Sender: No OFD packet to send [17:52:20]OFD Sender: No OFD packet to send [17:52:25]OFD Sender: No OFD packet to send [17:52:30]OFD Sender: No OFD packet to send [17:52:35]OFD Sender: No OFD packet to send [17:52:40]OFD Sender: No OFD packet to send [17:52:45]OFD Sender: No OFD packet to send [17:52:50]OFD Sender: No OFD packet to send [17:52:55]OFD Sender: No OFD packet to send [17:53:00]OFD Sender: No OFD packet to send [17:53:05]OFD Sender: No OFD packet to send [17:53:10]OFD Sender: No OFD packet to send [17:53:15]OFD Sender: No OFD packet to send [17:53:20]OFD Sender: No OFD packet to send [17:53:25]OFD Sender: No OFD packet to send [17:53:30]OFD Sender: No OFD packet to send [17:53:35]OFD Sender: No OFD packet to send [17:53:40]OFD Sender: No OFD packet to send [17:53:45]OFD Sender: No OFD packet to send [17:53:50]OFD Sender: No OFD packet to send [17:53:55]OFD Sender: No OFD packet to send [17:54:00]OFD Sender: No OFD packet to send [17:54:05]OFD Sender: No OFD packet to send [17:54:10]OFD Sender: No OFD packet to send [17:54:15]OFD Sender: No OFD packet to send [17:54:20]OFD Sender: No OFD packet to send [17:54:25]OFD Sender: No OFD packet to send [17:54:30]OFD Sender: No OFD packet to send [17:54:35]OFD Sender: No OFD packet to send [17:54:40]OFD Sender: No OFD packet to send [17:54:45]OFD Sender: No OFD packet to send [17:54:50]OFD Sender: No OFD packet to send [17:54:55]OFD Sender: No OFD packet to send [17:54:57]accept exits with 9 [17:54:57]New connection [17:54:57]New thread 3067440484 created [17:54:57]Thread 3067297124 joined [17:54:57]Waiting for new connection... [17:54:57] Sock 9.Parse request [17:54:57]Sock 9.Check first char [17:54:57]Sock 9.First char is OK [17:54:57]request: POST /json_proto HTTP/1.0 [17:54:57]Method: POST [17:54:57]URL: /json_proto [17:54:57]Method is POST - this is cgi request [17:54:57]url: /json_proto [17:54:57]query_string will be loaded in cgi processing [17:54:57]execute_cgi json_proto POST (null) [17:54:57]execute_cgi path=json_proto method=POST [17:54:57]POST find Content-Length [17:54:57]Host: 172.17.40.196:8080 [17:54:57]Content-Length: 625 [17:54:57]Content-Type: application/json [17:54:57] [17:54:57]POST finish read [17:54:57]Found Content-Length = 625 [17:54:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35112", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:54:57]execute_script... [17:54:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35112", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:54:57]POST & json_proto [17:54:57]process_json_proto [17:54:57]json parsed OK: [17:54:57]protocol is kg_v1.0 [17:54:57]action value=close_receipt [17:54:57]process_action close_receipt [17:54:57]cmd_close_receipt [17:54:57]MH_GetDate [17:54:57]Write to MH i2c: F0 00 00 E6 26 FB [17:54:57]Write i2c OK [17:54:57]MH_I2C_Read... [17:54:57]Read from MH i2c: F0 [17:54:57]MH_I2C_Read... [17:54:57]Read from MH i2c: F0 09 00 [17:54:57]MH_I2C_Read... [17:54:57]Read from MH i2c: F0 09 00 E6 26 00 FA CF 1F 67 5B 68 A1 66 1D [17:54:57]GetLastDocTimeStamp 1730137515 [17:54:57]current date 1730138106 [17:54:57]FM_GetShiftState [17:54:57]SAM_PROTO_GetShiftState [17:54:57]wFMCommunicate request_size=4 [17:54:57]MH_SAM_APDU [17:54:57]CAPDU: 80 13 01 00 [17:54:57]Write to MH i2c: E2 08 00 E7 26 80 13 01 00 00 00 00 00 8A [17:54:57]Write i2c OK [17:54:57]MH_I2C_Read... [17:54:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:54:57]Read from MH i2c: E2 [17:54:57]MH_I2C_Read... [17:54:57]Read from MH i2c: E2 0E 00 [17:54:57]MH_I2C_Read... [17:54:57]Read from MH i2c: E2 0E 00 E7 26 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 0C [17:54:57]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [17:54:57]wFMCommunicate OK [17:54:57]SAM_PROTO_GetShiftState done [17:54:57]FM_GetShiftState done [17:54:57]opened in 1730073884 [17:54:57]opened+sec_in_day 1730160284 [17:54:57]quantity*price = 11500 [17:54:57]sum+1 = 11501 [17:54:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 56 28.10.2024 17:55 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37813 ФПД: 126435233476390 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T175506&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37813&fm=126435233476390&tin=02508201610067®Number=0000000000091684&sum=11500 0 [17:54:58]StoreToDocumentArchive [17:54:58]shift 551 fd 37813 [17:54:58]save to /storage/0551/doc_00037813 [17:54:58]save last doc name /storage/0551/doc_00037813 to /storage/kkm_last_doc_name [17:54:58]save OK [17:54:58]Clear old archive folders... [17:54:58]ProcessDocumentItem done err = 0, tmpTLVsize=274 [17:54:58]tlvbuf is 002ECB50 [17:54:58]SAM_PROTO_ClearQueue [17:54:58]wFMCommunicate request_size=4 [17:54:58]MH_SAM_APDU [17:54:58]CAPDU: 80 09 00 00 [17:54:58]Write to MH i2c: E2 08 00 F4 26 80 09 00 00 00 00 00 00 8C [17:54:58]Write i2c OK [17:54:58]MH_I2C_Read... [17:54:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:54:58]Read from MH i2c: E2 [17:54:58]MH_I2C_Read... [17:54:58]Read from MH i2c: E2 03 00 [17:54:58]MH_I2C_Read... [17:54:58]Read from MH i2c: E2 03 00 F4 26 00 90 00 8E [17:54:58]RAPDU: 90 00 [17:54:58]wFMCommunicate OK [17:54:58]SAM_PROTO_ClearQueue done [17:54:58]KKMCreateOFDPacket [17:54:58]OFDProtocolAddRootSTLVToBuf [17:54:58]FM_MakeSignedData [17:54:58]FM_MakeSignedData [17:54:58]SAM_PROTO_SignData [17:54:58]wFMCommunicate request_size=4 [17:54:58]MH_SAM_APDU [17:54:58]CAPDU: 80 0D 01 02 [17:54:58]Write to MH i2c: E2 08 00 F5 26 80 0D 01 02 00 00 00 00 94 [17:54:58]Write i2c OK [17:54:58]MH_I2C_Read... [17:54:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:54:58]Read from MH i2c: E2 [17:54:58]MH_I2C_Read... [17:54:58]Read from MH i2c: E2 03 00 [17:54:58]MH_I2C_Read... [17:54:58]Read from MH i2c: E2 03 00 F5 26 00 90 00 8F [17:54:58]RAPDU: 90 00 [17:54:58]wFMCommunicate OK [17:54:58]wFMCommunicate request_size=255 [17:54:58]MH_SAM_APDU [17:54:58]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 FA CF 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 [17:54:58]Write to MH i2c: E2 02 01 F6 26 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 FA CF 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 00 00 E3 [17:54:58]Write i2c OK [17:54:58]MH_I2C_Read... [17:54:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:54:59]Read from MH i2c: E2 [17:54:59]MH_I2C_Read... [17:54:59]Read from MH i2c: E2 03 00 [17:54:59]MH_I2C_Read... [17:54:59]Read from MH i2c: E2 03 00 F6 26 00 90 00 90 [17:54:59]RAPDU: 90 00 [17:54:59]wFMCommunicate OK [17:54:59]wFMCommunicate request_size=33 [17:54:59]MH_SAM_APDU [17:54:59]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B5 93 00 00 35 04 06 00 72 FD FF 2D AF 26 [17:54:59]Write to MH i2c: E2 24 00 F7 26 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B5 93 00 00 35 04 06 00 72 FD FF 2D AF 26 00 00 DB [17:54:59]Write i2c OK [17:54:59]MH_I2C_Read... [17:54:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:54:59]Read from MH i2c: E2 [17:54:59]MH_I2C_Read... [17:54:59]Read from MH i2c: E2 03 00 [17:54:59]MH_I2C_Read... [17:54:59]Read from MH i2c: E2 03 00 F7 26 00 90 00 91 [17:54:59]RAPDU: 90 00 [17:54:59]wFMCommunicate OK [17:54:59]wFMCommunicate request_size=4 [17:54:59]MH_SAM_APDU [17:54:59]CAPDU: 80 0D 03 02 [17:54:59]Write to MH i2c: E2 08 00 F8 26 80 0D 03 02 00 00 00 00 99 [17:54:59]Write i2c OK [17:54:59]MH_I2C_Read... [17:54:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:54:59]Read from MH i2c: E2 [17:54:59]MH_I2C_Read... [17:54:59]Read from MH i2c: E2 0B 00 [17:54:59]MH_I2C_Read... [17:54:59]Read from MH i2c: E2 0B 00 F8 26 00 5F 26 2F FB AC C7 E2 4A 90 00 E8 [17:54:59]RAPDU: 5F 26 2F FB AC C7 E2 4A 90 00 [17:54:59]wFMCommunicate OK [17:54:59]SAM_PROTO_SignData done [17:54:59]FM_MakeSignedData done [17:54:59]CreateOFDProtocolMessage [17:54:59]wFMCommunicate request_size=4 [17:54:59]MH_SAM_APDU [17:54:59]CAPDU: 80 11 00 00 [17:54:59]Write to MH i2c: E2 08 00 F9 26 80 11 00 00 00 00 00 00 99 [17:54:59]Write i2c OK [17:54:59]MH_I2C_Read... [17:54:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:54:59]Read from MH i2c: E2 [17:54:59]MH_I2C_Read... [17:54:59]Read from MH i2c: E2 17 00 [17:54:59]MH_I2C_Read... [17:54:59]Read from MH i2c: E2 17 00 F9 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E9 [17:54:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:54:59]wFMCommunicate OK [17:54:59]CreateOFDProtocolMessage done [17:54:59]OFDSenderStorePacket 37813 [17:54:59]StoreOFDPacket docnum=37813 [17:54:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 B2 2F 1E 01 B4 F9 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 FA CF 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B5 93 00 00 35 04 06 00 72 FD FF 2D AF 26 5F 26 2F FB AC C7 E2 4A [17:54:59]CheckFolder [17:54:59]dirname=/storage/ofd_packets [17:54:59]CheckFolder done [17:54:59]ProducePacketName [17:54:59]name=ofd_packets/00037813 [17:54:59]NVStorageSaveData ofd_packets/00037813 [17:54:59]File name is /storage/ofd_packets/00037813 [17:54:59]Write 324 bytes [17:54:59]NVStorageSaveData done [17:54:59]OFDSenderStorePacket done [17:54:59]KKMCreateOFDPacket done [17:54:59]NVStorageSaveData kkm_last_timestamp [17:54:59]File name is /storage/kkm_last_timestamp [17:54:59]Write 4 bytes [17:54:59]NVStorageSaveData done [17:54:59]ExternCall_PrintAddStr [17:54:59]wPrintStart [17:54:59]Write to MH i2c: 01 00 00 FA 26 20 [17:54:59]Write i2c OK [17:54:59]MH_I2C_Read... [17:54:59]Read from MH i2c: 01 [17:54:59]MH_I2C_Read... [17:54:59]Read from MH i2c: 01 07 00 [17:54:59]MH_I2C_Read... [17:54:59]Read from MH i2c: 01 07 00 FA 26 00 00 00 00 00 FF 0F 35 [17:54:59]RasterBufferAndPrint [17:54:59]line Счет N : (3)35112 [17:54:59]line ИНН: 02508201610067 [17:54:59]line Контрольно-Кассовый Чек [17:54:59]line ПРОДАЖА [17:54:59]line Товар: 2000036240010 [17:54:59]line Кофе Латте (GABB TRADE) [17:54:59]line 1.000 * 115.00 [17:54:59]line = 115.00 [17:54:59]line НДС 12% НСП 1% [17:54:59]line > о реализуемом товаре [17:54:59]line ИТОГО: 115.00 [17:54:59]line НСП 1% : 1.02 [17:54:59]line НДС 12% : 12.21 [17:54:59]line Наличными: 115.00 [17:54:59]line Безнал.: 0.00 [17:54:59]line Место: АЗС № 126 "Партнер Нефть" [17:54:59]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [17:54:59]line СНО: Общий режим [17:54:59]line Чек 56 28.10.2024 17:55 [17:54:59]line Смена: 551 ФФД: 1.0 [17:54:59]line ЗНМ: 0300000092 [17:54:59]line РНМ: 0000000000091684 [17:54:59]line Версия ККМ: 001 [17:54:59]line ФМ: 0000000000871841 [17:54:59]line ФД: 37813 [17:54:59]line ФПД: 126435233476390 [17:54:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T175506&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37813&fm=126435233476390&tin=02508201610067®Number=0000000000091684&sum=11500 [17:54:59]line 0 [17:54:59]written 0, free lines is 4095 [17:54:59]OFD Sender: Processing packet 37813 [packets to send 42, broken 41] [17:54:59]ProducePacketName [17:54:59]name=ofd_packets/00037813 [17:54:59]OFD Sender: To server: pG, [17:54:59]CommunicateWithHost lk.salyk.kg:30040 [17:54:59]ConnectInit lk.salyk.kg [17:54:59]Write to MH i2c: 01 00 00 22 27 49 [17:54:59]Write i2c OK [17:54:59]MH_I2C_Read... [17:54:59]Read from MH i2c: 01 [17:54:59]MH_I2C_Read... [17:54:59]Read from MH i2c: 01 07 00 [17:54:59]MH_I2C_Read... [17:54:59]Read from MH i2c: 01 07 00 22 27 00 00 00 00 00 C6 0C 22 [17:54:59]RasterBufferAndPrint [17:54:59]line [17:54:59]line [17:54:59]line [17:54:59]line [17:54:59]line [17:54:59]written 0, free lines is 3276 [17:54:59]MH_Cut [17:54:59]Write to MH i2c: D1 01 00 29 27 01 22 [17:54:59]Write i2c OK [17:54:59]MH_I2C_Read... [17:54:59]Read from MH i2c: D1 [17:54:59]MH_I2C_Read... [17:54:59]Read from MH i2c: D1 01 00 [17:54:59]MH_I2C_Read... [17:54:59]Read from MH i2c: D1 01 00 29 27 00 21 [17:54:59]Write to MH i2c: 01 00 00 2A 27 51 [17:54:59]Write i2c OK [17:54:59]MH_I2C_Read... [17:54:59]Connected sock=7 [17:54:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 B2 2F 1E 01 B4 F9 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 FA CF 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B5 93 00 00 35 04 06 00 72 FD FF 2D AF 26 5F 26 2F FB AC C7 E2 4A [17:55:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 E0 8A 47 00 07 C6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B5 93 00 00 F4 03 04 00 EE 7A 1F 67 B6 04 01 00 00 8A 50 34 6A 93 16 EC 7F [17:55:00]CommunicateWithHost err = 0 [17:55:00]CheckOFDResponse [17:55:00]1017 (14) - 77093643461234 [17:55:00]1041 (16) - 0000000000871841 [17:55:00]1040 (4) - 37813 [17:55:00]1012 (4) - 28.10.2024 11:52 [17:55:00]1206 (1) - 0 [17:55:00]OFD Sender: Remove packet 37813 [17:55:00]ProducePacketName [17:55:00]name=ofd_packets/00037813 [17:55:00]NVStorageDeleteData [17:55:00]*** Cut start [17:55:00]*** Partial cut [17:55:00]*** CUTSNS_PIN = 1 [17:55:00]*** CUTSNS_PIN = 0 [17:55:00]*** Brake cut motor [17:55:00]OFD Sender: No OFD packet to send [17:55:01]Read from MH i2c: 01 [17:55:01]MH_I2C_Read... [17:55:01]*** Stop cut motor [17:55:01]*** Cut end [17:55:01]Read from MH i2c: 01 07 00 [17:55:01]MH_I2C_Read... [17:55:01]Read from MH i2c: 01 07 00 2A 27 00 00 00 00 00 FF 0F 66 [17:55:01]process_action close_receipt done [17:55:01]requested_data is exist [17:55:01]produce_requested_data [17:55:01]requested_item fm.sn is exist - process it [17:55:01]wFMCommunicate request_size=4 [17:55:01]MH_SAM_APDU [17:55:01]CAPDU: 80 11 00 00 [17:55:01]Write to MH i2c: E2 08 00 2B 27 80 11 00 00 00 00 00 00 CC [17:55:01]Write i2c OK [17:55:01]MH_I2C_Read... [17:55:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:55:01]Read from MH i2c: E2 [17:55:01]MH_I2C_Read... [17:55:01]Read from MH i2c: E2 17 00 [17:55:01]MH_I2C_Read... [17:55:01]Read from MH i2c: E2 17 00 2B 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 1C [17:55:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:55:01]wFMCommunicate OK [17:55:01]requested_item fd.num is exist - process it [17:55:01]SAM_PROTO_GetFieldsCounters [17:55:01]wFMCommunicate request_size=4 [17:55:01]MH_SAM_APDU [17:55:01]CAPDU: 80 13 00 00 [17:55:01]Write to MH i2c: E2 08 00 2C 27 80 13 00 00 00 00 00 00 CF [17:55:01]Write i2c OK [17:55:01]MH_I2C_Read... [17:55:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:55:01]Read from MH i2c: E2 [17:55:01]MH_I2C_Read... [17:55:01]Read from MH i2c: E2 62 00 [17:55:01]MH_I2C_Read... [17:55:01]Read from MH i2c: E2 62 00 2C 27 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 B5 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 09 [17:55:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 B5 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:55:01]wFMCommunicate OK [17:55:01]SAM_PROTO_GetFieldsCounters done [17:55:01]requested_item shift.num is exist - process it [17:55:01]requested_item shift.opened is exist - process it [17:55:01]req_shift_opened [17:55:01]FM_GetShiftState [17:55:01]SAM_PROTO_GetShiftState [17:55:01]wFMCommunicate request_size=4 [17:55:01]MH_SAM_APDU [17:55:01]CAPDU: 80 13 01 00 [17:55:01]Write to MH i2c: E2 08 00 2D 27 80 13 01 00 00 00 00 00 D1 [17:55:01]Write i2c OK [17:55:01]MH_I2C_Read... [17:55:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:55:01]Read from MH i2c: E2 [17:55:01]MH_I2C_Read... [17:55:01]Read from MH i2c: E2 0E 00 [17:55:01]MH_I2C_Read... [17:55:01]Read from MH i2c: E2 0E 00 2D 27 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 53 [17:55:01]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [17:55:01]wFMCommunicate OK [17:55:01]SAM_PROTO_GetShiftState done [17:55:01]FM_GetShiftState done [17:55:01]req_shift_opened done [17:55:01]requested_item shift.open_date is exist - process it [17:55:01]req_shift_open_date [17:55:01]req_shift_open_date done [17:55:01]produce_requested_data done [17:55:01]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37813,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [17:55:01]process_action_free close_receipt [17:55:01]json_value_free [17:55:01]json_value_free done [17:55:01]process_json_proto returns [17:55:01]Send response to host [17:55:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37813,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [17:55:01]free response buf [17:55:01]execute_script done [17:55:01]execute_script returns [17:55:01]free content buf [17:55:01]Sock 9.Close socket [17:55:01]Sock 9.Thread stoped [17:55:05]OFD Sender: No OFD packet to send [17:55:10]OFD Sender: No OFD packet to send [17:55:15]OFD Sender: No OFD packet to send [17:55:20]OFD Sender: No OFD packet to send [17:55:25]OFD Sender: No OFD packet to send [17:55:30]OFD Sender: No OFD packet to send [17:55:35]OFD Sender: No OFD packet to send [17:55:40]OFD Sender: No OFD packet to send [17:55:45]OFD Sender: No OFD packet to send [17:55:50]OFD Sender: No OFD packet to send [17:55:55]OFD Sender: No OFD packet to send [17:56:00]OFD Sender: No OFD packet to send [17:56:05]OFD Sender: No OFD packet to send [17:56:11]OFD Sender: No OFD packet to send [17:56:16]OFD Sender: No OFD packet to send [17:56:21]OFD Sender: No OFD packet to send [17:56:26]OFD Sender: No OFD packet to send [17:56:31]OFD Sender: No OFD packet to send [17:56:36]OFD Sender: No OFD packet to send [17:56:41]OFD Sender: No OFD packet to send [17:56:46]OFD Sender: No OFD packet to send [17:56:51]OFD Sender: No OFD packet to send [17:56:56]OFD Sender: No OFD packet to send [17:57:01]OFD Sender: No OFD packet to send [17:57:06]OFD Sender: No OFD packet to send [17:57:11]OFD Sender: No OFD packet to send [17:57:16]OFD Sender: No OFD packet to send [17:57:21]OFD Sender: No OFD packet to send [17:57:26]OFD Sender: No OFD packet to send [17:57:31]OFD Sender: No OFD packet to send [17:57:36]OFD Sender: No OFD packet to send [17:57:41]OFD Sender: No OFD packet to send [17:57:46]OFD Sender: No OFD packet to send [17:57:51]OFD Sender: No OFD packet to send [17:57:56]OFD Sender: No OFD packet to send [17:58:01]OFD Sender: No OFD packet to send [17:58:06]OFD Sender: No OFD packet to send [17:58:11]OFD Sender: No OFD packet to send [17:58:16]OFD Sender: No OFD packet to send [17:58:21]OFD Sender: No OFD packet to send [17:58:26]OFD Sender: No OFD packet to send [17:58:31]OFD Sender: No OFD packet to send [17:58:36]OFD Sender: No OFD packet to send [17:58:41]OFD Sender: No OFD packet to send [17:58:46]OFD Sender: No OFD packet to send [17:58:51]OFD Sender: No OFD packet to send [17:58:56]OFD Sender: No OFD packet to send [17:59:01]OFD Sender: No OFD packet to send [17:59:06]OFD Sender: No OFD packet to send [17:59:11]OFD Sender: No OFD packet to send [17:59:16]OFD Sender: No OFD packet to send [17:59:21]OFD Sender: No OFD packet to send [17:59:26]OFD Sender: No OFD packet to send [17:59:31]OFD Sender: No OFD packet to send [17:59:36]OFD Sender: No OFD packet to send [17:59:41]OFD Sender: No OFD packet to send [17:59:46]OFD Sender: No OFD packet to send [17:59:51]OFD Sender: No OFD packet to send [17:59:56]OFD Sender: No OFD packet to send [18:00:01]OFD Sender: No OFD packet to send [18:00:06]OFD Sender: No OFD packet to send [18:00:11]OFD Sender: No OFD packet to send [18:00:16]OFD Sender: No OFD packet to send [18:00:21]OFD Sender: No OFD packet to send [18:00:26]OFD Sender: No OFD packet to send [18:00:31]OFD Sender: No OFD packet to send [18:00:36]OFD Sender: No OFD packet to send [18:00:41]OFD Sender: No OFD packet to send [18:00:46]OFD Sender: No OFD packet to send [18:00:51]OFD Sender: No OFD packet to send [18:00:56]OFD Sender: No OFD packet to send [18:01:01]OFD Sender: No OFD packet to send [18:01:06]OFD Sender: No OFD packet to send [18:01:11]OFD Sender: No OFD packet to send [18:01:16]OFD Sender: No OFD packet to send [18:01:21]OFD Sender: No OFD packet to send [18:01:26]OFD Sender: No OFD packet to send [18:01:31]OFD Sender: No OFD packet to send [18:01:36]OFD Sender: No OFD packet to send [18:01:41]OFD Sender: No OFD packet to send [18:01:46]OFD Sender: No OFD packet to send [18:01:51]OFD Sender: No OFD packet to send [18:01:56]OFD Sender: No OFD packet to send [18:02:01]OFD Sender: No OFD packet to send [18:02:06]OFD Sender: No OFD packet to send [18:02:11]OFD Sender: No OFD packet to send [18:02:16]OFD Sender: No OFD packet to send [18:02:21]OFD Sender: No OFD packet to send [18:02:26]OFD Sender: No OFD packet to send [18:02:31]OFD Sender: No OFD packet to send [18:02:36]OFD Sender: No OFD packet to send [18:02:41]OFD Sender: No OFD packet to send [18:02:46]OFD Sender: No OFD packet to send [18:02:51]OFD Sender: No OFD packet to send [18:02:56]OFD Sender: No OFD packet to send [18:03:01]OFD Sender: No OFD packet to send [18:03:06]OFD Sender: No OFD packet to send [18:03:11]OFD Sender: No OFD packet to send [18:03:16]OFD Sender: No OFD packet to send [18:03:21]OFD Sender: No OFD packet to send [18:03:26]OFD Sender: No OFD packet to send [18:03:31]OFD Sender: No OFD packet to send [18:03:36]OFD Sender: No OFD packet to send [18:03:41]OFD Sender: No OFD packet to send [18:03:46]OFD Sender: No OFD packet to send [18:03:51]OFD Sender: No OFD packet to send [18:03:56]OFD Sender: No OFD packet to send [18:04:01]OFD Sender: No OFD packet to send [18:04:06]OFD Sender: No OFD packet to send [18:04:11]OFD Sender: No OFD packet to send [18:04:16]OFD Sender: No OFD packet to send [18:04:21]OFD Sender: No OFD packet to send [18:04:26]OFD Sender: No OFD packet to send [18:04:31]OFD Sender: No OFD packet to send [18:04:36]OFD Sender: No OFD packet to send [18:04:41]OFD Sender: No OFD packet to send [18:04:45]accept exits with 10 [18:04:45]New connection [18:04:45]New thread 3067297124 created [18:04:45]Thread 3067440484 joined [18:04:45]Waiting for new connection... [18:04:45] Sock 10.Parse request [18:04:45]Sock 10.Check first char [18:04:45]Sock 10.First char is OK [18:04:45]request: POST /json_proto HTTP/1.0 [18:04:45]Method: POST [18:04:45]URL: /json_proto [18:04:45]Method is POST - this is cgi request [18:04:45]url: /json_proto [18:04:45]query_string will be loaded in cgi processing [18:04:45]execute_cgi json_proto POST (null) [18:04:45]execute_cgi path=json_proto method=POST [18:04:45]POST find Content-Length [18:04:45]Host: 172.17.40.196:8080 [18:04:45]Content-Length: 654 [18:04:45]Content-Type: application/json [18:04:45] [18:04:45]POST finish read [18:04:45]Found Content-Length = 654 [18:04:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35113", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 69.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:04:45]execute_script... [18:04: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)35113", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 69.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:04:45]POST & json_proto [18:04:45]process_json_proto [18:04:45]json parsed OK: [18:04:45]protocol is kg_v1.0 [18:04:45]action value=close_receipt [18:04:45]process_action close_receipt [18:04:45]cmd_close_receipt [18:04:45]MH_GetDate [18:04:45]Write to MH i2c: F0 00 00 2E 27 44 [18:04:45]Write i2c OK [18:04:45]MH_I2C_Read... [18:04:45]Read from MH i2c: F0 [18:04:45]MH_I2C_Read... [18:04:45]Read from MH i2c: F0 09 00 [18:04:45]MH_I2C_Read... [18:04:45]Read from MH i2c: F0 09 00 2E 27 00 46 D2 1F 67 5B 68 A1 66 B5 [18:04:45]GetLastDocTimeStamp 1730138106 [18:04:45]current date 1730138694 [18:04:45]FM_GetShiftState [18:04:45]SAM_PROTO_GetShiftState [18:04:45]wFMCommunicate request_size=4 [18:04:45]MH_SAM_APDU [18:04:45]CAPDU: 80 13 01 00 [18:04:45]Write to MH i2c: E2 08 00 2F 27 80 13 01 00 00 00 00 00 D3 [18:04:45]Write i2c OK [18:04:45]MH_I2C_Read... [18:04:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:04:45]Read from MH i2c: E2 [18:04:45]MH_I2C_Read... [18:04:45]Read from MH i2c: E2 0E 00 [18:04:45]MH_I2C_Read... [18:04:45]Read from MH i2c: E2 0E 00 2F 27 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 55 [18:04:45]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [18:04:45]wFMCommunicate OK [18:04:45]SAM_PROTO_GetShiftState done [18:04:45]FM_GetShiftState done [18:04:45]opened in 1730073884 [18:04:45]opened+sec_in_day 1730160284 [18:04:45]quantity*price = 6900 [18:04:45]sum+1 = 6901 [18:04:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 69.00 НСП 1% : 0.61 НДС 12% : 7.33 Наличными: 69.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 57 28.10.2024 18:04 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37814 ФПД: 59356547336484 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T180454&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37814&fm=59356547336484&tin=02508201610067®Number=0000000000091684&sum=6900 0 [18:04:46]StoreToDocumentArchive [18:04:46]shift 551 fd 37814 [18:04:46]save to /storage/0551/doc_00037814 [18:04:46]save last doc name /storage/0551/doc_00037814 to /storage/kkm_last_doc_name [18:04:46]save OK [18:04:46]Clear old archive folders... [18:04:46]ProcessDocumentItem done err = 0, tmpTLVsize=294 [18:04:46]tlvbuf is 002DAD50 [18:04:46]SAM_PROTO_ClearQueue [18:04:46]wFMCommunicate request_size=4 [18:04:46]MH_SAM_APDU [18:04:46]CAPDU: 80 09 00 00 [18:04:46]Write to MH i2c: E2 08 00 3C 27 80 09 00 00 00 00 00 00 D5 [18:04:46]Write i2c OK [18:04:46]MH_I2C_Read... [18:04:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:04:46]Read from MH i2c: E2 [18:04:46]MH_I2C_Read... [18:04:46]Read from MH i2c: E2 03 00 [18:04:46]MH_I2C_Read... [18:04:46]Read from MH i2c: E2 03 00 3C 27 00 90 00 D7 [18:04:46]RAPDU: 90 00 [18:04:46]wFMCommunicate OK [18:04:46]SAM_PROTO_ClearQueue done [18:04:46]KKMCreateOFDPacket [18:04:46]OFDProtocolAddRootSTLVToBuf [18:04:46]FM_MakeSignedData [18:04:46]FM_MakeSignedData [18:04:46]SAM_PROTO_SignData [18:04:46]wFMCommunicate request_size=4 [18:04:46]MH_SAM_APDU [18:04:46]CAPDU: 80 0D 01 02 [18:04:46]Write to MH i2c: E2 08 00 3D 27 80 0D 01 02 00 00 00 00 DD [18:04:46]Write i2c OK [18:04:46]MH_I2C_Read... [18:04:46]Read from MH i2c: E2 [18:04:46]MH_I2C_Read... [18:04:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:04:46]Read from MH i2c: E2 03 00 [18:04:46]MH_I2C_Read... [18:04:46]Read from MH i2c: E2 03 00 3D 27 00 90 00 D8 [18:04:46]RAPDU: 90 00 [18:04:46]wFMCommunicate OK [18:04:46]wFMCommunicate request_size=255 [18:04:46]MH_SAM_APDU [18:04:46]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 46 D2 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [18:04:46]Write to MH i2c: E2 02 01 3E 27 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 46 D2 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 EC [18:04:46]Write i2c OK [18:04:46]MH_I2C_Read... [18:04:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:04:47]Read from MH i2c: E2 [18:04:47]MH_I2C_Read... [18:04:47]Read from MH i2c: E2 03 00 [18:04:47]MH_I2C_Read... [18:04:47]Read from MH i2c: E2 03 00 3E 27 00 90 00 D9 [18:04:47]RAPDU: 90 00 [18:04:47]wFMCommunicate OK [18:04:47]wFMCommunicate request_size=53 [18:04:47]MH_SAM_APDU [18:04:47]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B6 93 00 00 35 04 06 00 35 FC 05 EB 49 24 [18:04:47]Write to MH i2c: E2 38 00 3F 27 80 0D 02 02 30 00 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B6 93 00 00 35 04 06 00 35 FC 05 EB 49 24 00 00 AC [18:04:47]Write i2c OK [18:04:47]MH_I2C_Read... [18:04:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:04:47]Read from MH i2c: E2 [18:04:47]MH_I2C_Read... [18:04:47]Read from MH i2c: E2 03 00 [18:04:47]MH_I2C_Read... [18:04:47]Read from MH i2c: E2 03 00 3F 27 00 90 00 DA [18:04:47]RAPDU: 90 00 [18:04:47]wFMCommunicate OK [18:04:47]wFMCommunicate request_size=4 [18:04:47]MH_SAM_APDU [18:04:47]CAPDU: 80 0D 03 02 [18:04:47]Write to MH i2c: E2 08 00 40 27 80 0D 03 02 00 00 00 00 E2 [18:04:47]Write i2c OK [18:04:47]MH_I2C_Read... [18:04:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:04:47]Read from MH i2c: E2 [18:04:47]MH_I2C_Read... [18:04:47]Read from MH i2c: E2 0B 00 [18:04:47]MH_I2C_Read... [18:04:47]Read from MH i2c: E2 0B 00 40 27 00 55 6D 93 AE 42 D0 64 D8 90 00 34 [18:04:47]RAPDU: 55 6D 93 AE 42 D0 64 D8 90 00 [18:04:47]wFMCommunicate OK [18:04:47]SAM_PROTO_SignData done [18:04:47]FM_MakeSignedData done [18:04:47]CreateOFDProtocolMessage [18:04:47]wFMCommunicate request_size=4 [18:04:47]MH_SAM_APDU [18:04:47]CAPDU: 80 11 00 00 [18:04:47]Write to MH i2c: E2 08 00 41 27 80 11 00 00 00 00 00 00 E2 [18:04:47]Write i2c OK [18:04:47]MH_I2C_Read... [18:04:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:04:47]Read from MH i2c: E2 [18:04:47]MH_I2C_Read... [18:04:47]Read from MH i2c: E2 17 00 [18:04:47]MH_I2C_Read... [18:04:47]Read from MH i2c: E2 17 00 41 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 32 [18:04:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:04:47]wFMCommunicate OK [18:04:47]CreateOFDProtocolMessage done [18:04:47]OFDSenderStorePacket 37814 [18:04:47]StoreOFDPacket docnum=37814 [18:04:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3A 01 00 00 E4 B2 32 01 5A 69 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 46 D2 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B6 93 00 00 35 04 06 00 35 FC 05 EB 49 24 55 6D 93 AE 42 D0 64 D8 [18:04:47]CheckFolder [18:04:47]dirname=/storage/ofd_packets [18:04:47]CheckFolder done [18:04:47]ProducePacketName [18:04:47]name=ofd_packets/00037814 [18:04:47]NVStorageSaveData ofd_packets/00037814 [18:04:47]File name is /storage/ofd_packets/00037814 [18:04:47]Write 344 bytes [18:04:47]NVStorageSaveData done [18:04:47]OFDSenderStorePacket done [18:04:47]KKMCreateOFDPacket done [18:04:47]NVStorageSaveData kkm_last_timestamp [18:04:47]File name is /storage/kkm_last_timestamp [18:04:47]Write 4 bytes [18:04:47]NVStorageSaveData done [18:04:47]ExternCall_PrintAddStr [18:04:47]wPrintStart [18:04:47]Write to MH i2c: 01 00 00 42 27 69 [18:04:47]Write i2c OK [18:04:47]MH_I2C_Read... [18:04:47]Read from MH i2c: 01 [18:04:47]MH_I2C_Read... [18:04:47]Read from MH i2c: 01 07 00 [18:04:47]MH_I2C_Read... [18:04:47]Read from MH i2c: 01 07 00 42 27 00 00 00 00 00 FF 0F 7E [18:04:47]RasterBufferAndPrint [18:04:47]line Счет N : (3)35113 [18:04:47]line ИНН: 02508201610067 [18:04:47]line Контрольно-Кассовый Чек [18:04:47]line ПРОДАЖА [18:04:47]line Товар: 4600682557456 [18:04:47]line Напиток FLash up energy эн ж/б 0,5/0,45л [18:04:47]line 1.000 * 69.00 [18:04:47]line = 69.00 [18:04:47]line НДС 12% НСП 1% [18:04:47]line > о реализуемом товаре [18:04:47]line ИТОГО: 69.00 [18:04:47]line НСП 1% : 0.61 [18:04:47]line НДС 12% : 7.33 [18:04:47]line Наличными: 69.00 [18:04:47]line Безнал.: 0.00 [18:04:47]line Место: АЗС № 126 "Партнер Нефть" [18:04:47]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [18:04:47]line СНО: Общий режим [18:04:47]line Чек 57 28.10.2024 18:04 [18:04:47]line Смена: 551 ФФД: 1.0 [18:04:47]line ЗНМ: 0300000092 [18:04:47]line РНМ: 0000000000091684 [18:04:47]line Версия ККМ: 001 [18:04:47]line ФМ: 0000000000871841 [18:04:47]line ФД: 37814 [18:04:47]line ФПД: 59356547336484 [18:04:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T180454&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37814&fm=59356547336484&tin=02508201610067®Number=0000000000091684&sum=6900 [18:04:47]line 0 [18:04:47]OFD Sender: Processing packet 37814 [packets to send 42, broken 41] [18:04:47]ProducePacketName [18:04:47]name=ofd_packets/00037814 [18:04:47]OFD Sender: To server: pG, [18:04:47]CommunicateWithHost lk.salyk.kg:30040 [18:04:47]ConnectInit lk.salyk.kg [18:04:47]written 0, free lines is 4095 [18:04:47]Write to MH i2c: 01 00 00 6B 27 92 [18:04:47]Write i2c OK [18:04:47]MH_I2C_Read... [18:04:47]Read from MH i2c: 01 [18:04:47]MH_I2C_Read... [18:04:47]Read from MH i2c: 01 07 00 [18:04:47]MH_I2C_Read... [18:04:47]Read from MH i2c: 01 07 00 6B 27 00 00 00 00 00 AE 0C 53 [18:04:47]RasterBufferAndPrint [18:04:47]line [18:04:47]line [18:04:47]line [18:04:47]line [18:04:47]line [18:04:47]written 0, free lines is 3248 [18:04:47]MH_Cut [18:04:47]Write to MH i2c: D1 01 00 72 27 01 6B [18:04:47]Write i2c OK [18:04:47]MH_I2C_Read... [18:04:47]Read from MH i2c: D1 [18:04:47]MH_I2C_Read... [18:04:47]Read from MH i2c: D1 01 00 [18:04:47]MH_I2C_Read... [18:04:47]Read from MH i2c: D1 01 00 72 27 00 6A [18:04:47]Write to MH i2c: 01 00 00 73 27 9A [18:04:47]Write i2c OK [18:04:47]MH_I2C_Read... [18:04:48]*** Cut start [18:04:48]*** Partial cut [18:04:48]*** CUTSNS_PIN = 1 [18:04:48]*** CUTSNS_PIN = 0 [18:04:49]*** Brake cut motor [18:04:49]Connected sock=11 [18:04: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 38 34 31 3A 01 00 00 E4 B2 32 01 5A 69 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 46 D2 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B6 93 00 00 35 04 06 00 35 FC 05 EB 49 24 55 6D 93 AE 42 D0 64 D8 [18:04:49]Read from MH i2c: 01 [18:04:49]MH_I2C_Read... [18:04:49]*** Stop cut motor [18:04:49]*** Cut end [18:04:49]Read from MH i2c: 01 07 00 [18:04:49]MH_I2C_Read... [18:04:49]Read from MH i2c: 01 07 00 73 27 00 00 00 00 00 FF 0F AF [18:04:49]process_action close_receipt done [18:04:49]requested_data is exist [18:04:49]produce_requested_data [18:04:49]requested_item fm.sn is exist - process it [18:04:49]wFMCommunicate request_size=4 [18:04:49]MH_SAM_APDU [18:04:49]CAPDU: 80 11 00 00 [18:04:49]Write to MH i2c: E2 08 00 74 27 80 11 00 00 00 00 00 00 15 [18:04:49]Write i2c OK [18:04:49]MH_I2C_Read... [18:04:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:04:49]Read from MH i2c: E2 [18:04:49]MH_I2C_Read... [18:04:49]Read from MH i2c: E2 17 00 [18:04:49]MH_I2C_Read... [18:04:49]Read from MH i2c: E2 17 00 74 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 65 [18:04:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:04:49]wFMCommunicate OK [18:04:49]requested_item fd.num is exist - process it [18:04:49]SAM_PROTO_GetFieldsCounters [18:04:49]wFMCommunicate request_size=4 [18:04:49]MH_SAM_APDU [18:04:49]CAPDU: 80 13 00 00 [18:04:49]Write to MH i2c: E2 08 00 75 27 80 13 00 00 00 00 00 00 18 [18:04:49]Write i2c OK [18:04:49]MH_I2C_Read... [18:04:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:04:49]Read from MH i2c: E2 [18:04:49]MH_I2C_Read... [18:04:49]Read from MH i2c: E2 62 00 [18:04:49]MH_I2C_Read... [18:04:49]Read from MH i2c: E2 62 00 75 27 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 B6 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 56 [18:04:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 B6 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:04:49]wFMCommunicate OK [18:04:49]SAM_PROTO_GetFieldsCounters done [18:04:49]requested_item shift.num is exist - process it [18:04:49]requested_item shift.opened is exist - process it [18:04:49]req_shift_opened [18:04:49]FM_GetShiftState [18:04:49]SAM_PROTO_GetShiftState [18:04:49]wFMCommunicate request_size=4 [18:04:49]MH_SAM_APDU [18:04:49]CAPDU: 80 13 01 00 [18:04:49]Write to MH i2c: E2 08 00 76 27 80 13 01 00 00 00 00 00 1A [18:04:49]Write i2c OK [18:04:49]MH_I2C_Read... [18:04:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:04:49]Read from MH i2c: E2 [18:04:49]MH_I2C_Read... [18:04:49]Read from MH i2c: E2 0E 00 [18:04:49]MH_I2C_Read... [18:04:49]Read from MH i2c: E2 0E 00 76 27 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 9C [18:04:49]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [18:04:49]wFMCommunicate OK [18:04:49]SAM_PROTO_GetShiftState done [18:04:49]FM_GetShiftState done [18:04:49]req_shift_opened done [18:04:49]requested_item shift.open_date is exist - process it [18:04:49]req_shift_open_date [18:04:49]req_shift_open_date done [18:04:49]produce_requested_data done [18:04:49]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37814,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [18:04:49]process_action_free close_receipt [18:04:49]json_value_free [18:04:49]json_value_free done [18:04:49]process_json_proto returns [18:04:49]Send response to host [18:04:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37814,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [18:04:49]free response buf [18:04:49]execute_script done [18:04:49]execute_script returns [18:04:49]free content buf [18:04:49]Sock 10.Close socket [18:04:49]Sock 10.Thread stoped [18:04:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 C0 F6 47 00 0F 58 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 B6 93 00 00 F4 03 04 00 3C 7D 1F 67 B6 04 01 00 00 2E 0B 0C 10 D4 2F 25 4D [18:04:49]CommunicateWithHost err = 0 [18:04:49]CheckOFDResponse [18:04:49]1017 (14) - 77093643461234 [18:04:49]1041 (16) - 0000000000871841 [18:04:49]1040 (4) - 37814 [18:04:49]1012 (4) - 28.10.2024 12:02 [18:04:49]1206 (1) - 0 [18:04:49]OFD Sender: Remove packet 37814 [18:04:49]ProducePacketName [18:04:49]name=ofd_packets/00037814 [18:04:49]NVStorageDeleteData [18:04:50]OFD Sender: No OFD packet to send [18:04:55]OFD Sender: No OFD packet to send [18:05:00]OFD Sender: No OFD packet to send [18:05:05]OFD Sender: No OFD packet to send [18:05:10]OFD Sender: No OFD packet to send [18:05:15]OFD Sender: No OFD packet to send [18:05:20]OFD Sender: No OFD packet to send [18:05:25]OFD Sender: No OFD packet to send [18:05:30]OFD Sender: No OFD packet to send [18:05:35]OFD Sender: No OFD packet to send [18:05:40]OFD Sender: No OFD packet to send [18:05:45]OFD Sender: No OFD packet to send [18:05:50]OFD Sender: No OFD packet to send [18:05:55]OFD Sender: No OFD packet to send [18:06:00]OFD Sender: No OFD packet to send [18:06:05]OFD Sender: No OFD packet to send [18:06:10]OFD Sender: No OFD packet to send [18:06:15]OFD Sender: No OFD packet to send [18:06:20]OFD Sender: No OFD packet to send [18:06:25]OFD Sender: No OFD packet to send [18:06:30]OFD Sender: No OFD packet to send [18:06:35]OFD Sender: No OFD packet to send [18:06:40]OFD Sender: No OFD packet to send [18:06:45]OFD Sender: No OFD packet to send [18:06:50]OFD Sender: No OFD packet to send [18:06:55]OFD Sender: No OFD packet to send [18:07:00]OFD Sender: No OFD packet to send [18:07:05]OFD Sender: No OFD packet to send [18:07:10]OFD Sender: No OFD packet to send [18:07:15]OFD Sender: No OFD packet to send [18:07:20]OFD Sender: No OFD packet to send [18:07:25]OFD Sender: No OFD packet to send [18:07:30]OFD Sender: No OFD packet to send [18:07:35]OFD Sender: No OFD packet to send [18:07:40]OFD Sender: No OFD packet to send [18:07:45]OFD Sender: No OFD packet to send [18:07:50]OFD Sender: No OFD packet to send [18:07:55]OFD Sender: No OFD packet to send [18:08:00]OFD Sender: No OFD packet to send [18:08:05]OFD Sender: No OFD packet to send [18:08:10]OFD Sender: No OFD packet to send [18:08:15]OFD Sender: No OFD packet to send [18:08:20]OFD Sender: No OFD packet to send [18:08:25]OFD Sender: No OFD packet to send [18:08:30]OFD Sender: No OFD packet to send [18:08:35]OFD Sender: No OFD packet to send [18:08:40]OFD Sender: No OFD packet to send [18:08:45]OFD Sender: No OFD packet to send [18:08:50]OFD Sender: No OFD packet to send [18:08:55]OFD Sender: No OFD packet to send [18:09:00]OFD Sender: No OFD packet to send [18:09:05]OFD Sender: No OFD packet to send [18:09:10]OFD Sender: No OFD packet to send [18:09:15]OFD Sender: No OFD packet to send [18:09:20]OFD Sender: No OFD packet to send [18:09:25]OFD Sender: No OFD packet to send [18:09:30]OFD Sender: No OFD packet to send [18:09:35]OFD Sender: No OFD packet to send [18:09:40]OFD Sender: No OFD packet to send [18:09:45]OFD Sender: No OFD packet to send [18:09:50]OFD Sender: No OFD packet to send [18:09:55]OFD Sender: No OFD packet to send [18:10:00]OFD Sender: No OFD packet to send [18:10:05]OFD Sender: No OFD packet to send [18:10:10]OFD Sender: No OFD packet to send [18:10:15]OFD Sender: No OFD packet to send [18:10:20]OFD Sender: No OFD packet to send [18:10:25]OFD Sender: No OFD packet to send [18:10:30]OFD Sender: No OFD packet to send [18:10:35]OFD Sender: No OFD packet to send [18:10:40]OFD Sender: No OFD packet to send [18:10:45]OFD Sender: No OFD packet to send [18:10:50]OFD Sender: No OFD packet to send [18:10:55]OFD Sender: No OFD packet to send [18:11:00]OFD Sender: No OFD packet to send [18:11:05]OFD Sender: No OFD packet to send [18:11:10]OFD Sender: No OFD packet to send [18:11:15]OFD Sender: No OFD packet to send [18:11:20]OFD Sender: No OFD packet to send [18:11:25]OFD Sender: No OFD packet to send [18:11:30]OFD Sender: No OFD packet to send [18:11:35]OFD Sender: No OFD packet to send [18:11:40]OFD Sender: No OFD packet to send [18:11:45]OFD Sender: No OFD packet to send [18:11:50]OFD Sender: No OFD packet to send [18:11:55]OFD Sender: No OFD packet to send [18:12:00]OFD Sender: No OFD packet to send [18:12:05]OFD Sender: No OFD packet to send [18:12:10]OFD Sender: No OFD packet to send [18:12:15]OFD Sender: No OFD packet to send [18:12:20]OFD Sender: No OFD packet to send [18:12:25]OFD Sender: No OFD packet to send [18:12:30]OFD Sender: No OFD packet to send [18:12:35]OFD Sender: No OFD packet to send [18:12:40]OFD Sender: No OFD packet to send [18:12:45]OFD Sender: No OFD packet to send [18:12:50]OFD Sender: No OFD packet to send [18:12:55]OFD Sender: No OFD packet to send [18:13:00]OFD Sender: No OFD packet to send [18:13:05]OFD Sender: No OFD packet to send [18:13:10]OFD Sender: No OFD packet to send [18:13:15]OFD Sender: No OFD packet to send [18:13:20]OFD Sender: No OFD packet to send [18:13:25]OFD Sender: No OFD packet to send [18:13:30]OFD Sender: No OFD packet to send [18:13:35]OFD Sender: No OFD packet to send [18:13:40]OFD Sender: No OFD packet to send [18:13:45]OFD Sender: No OFD packet to send [18:13:50]OFD Sender: No OFD packet to send [18:13:55]OFD Sender: No OFD packet to send [18:14:00]OFD Sender: No OFD packet to send [18:14:05]OFD Sender: No OFD packet to send [18:14:10]OFD Sender: No OFD packet to send [18:14:15]OFD Sender: No OFD packet to send [18:14:20]OFD Sender: No OFD packet to send [18:14:25]OFD Sender: No OFD packet to send [18:14:30]OFD Sender: No OFD packet to send [18:14:35]OFD Sender: No OFD packet to send [18:14:40]OFD Sender: No OFD packet to send [18:14:45]OFD Sender: No OFD packet to send [18:14:50]OFD Sender: No OFD packet to send [18:14:55]OFD Sender: No OFD packet to send [18:15:00]OFD Sender: No OFD packet to send [18:15:05]OFD Sender: No OFD packet to send [18:15:10]OFD Sender: No OFD packet to send [18:15:15]OFD Sender: No OFD packet to send [18:15:20]OFD Sender: No OFD packet to send [18:15:25]OFD Sender: No OFD packet to send [18:15:30]OFD Sender: No OFD packet to send [18:15:35]OFD Sender: No OFD packet to send [18:15:40]OFD Sender: No OFD packet to send [18:15:45]OFD Sender: No OFD packet to send [18:15:50]OFD Sender: No OFD packet to send [18:15:53]accept exits with 7 [18:15:53]New connection [18:15:53]New thread 3067440484 created [18:15:53]Thread 3067297124 joined [18:15:53]Waiting for new connection... [18:15:53] Sock 7.Parse request [18:15:53]Sock 7.Check first char [18:15:53]Sock 7.First char is OK [18:15:53]request: POST /json_proto HTTP/1.0 [18:15:53]Method: POST [18:15:53]URL: /json_proto [18:15:53]Method is POST - this is cgi request [18:15:53]url: /json_proto [18:15:53]query_string will be loaded in cgi processing [18:15:53]execute_cgi json_proto POST (null) [18:15:53]execute_cgi path=json_proto method=POST [18:15:53]POST find Content-Length [18:15:53]Host: 172.17.40.196:8080 [18:15:53]Content-Length: 625 [18:15:53]Content-Type: application/json [18:15:53] [18:15:53]POST finish read [18:15:53]Found Content-Length = 625 [18:15:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35114", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:15:53]execute_script... [18:15:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35114", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:15:53]POST & json_proto [18:15:53]process_json_proto [18:15:53]json parsed OK: [18:15:53]protocol is kg_v1.0 [18:15:53]action value=close_receipt [18:15:53]process_action close_receipt [18:15:53]cmd_close_receipt [18:15:53]MH_GetDate [18:15:53]Write to MH i2c: F0 00 00 77 27 8D [18:15:53]Write i2c OK [18:15:53]MH_I2C_Read... [18:15:53]Read from MH i2c: F0 [18:15:53]MH_I2C_Read... [18:15:53]Read from MH i2c: F0 09 00 [18:15:53]MH_I2C_Read... [18:15:53]Read from MH i2c: F0 09 00 77 27 00 E2 D4 1F 67 5B 68 A1 66 9C [18:15:53]GetLastDocTimeStamp 1730138694 [18:15:53]current date 1730139362 [18:15:53]FM_GetShiftState [18:15:53]SAM_PROTO_GetShiftState [18:15:53]wFMCommunicate request_size=4 [18:15:53]MH_SAM_APDU [18:15:53]CAPDU: 80 13 01 00 [18:15:53]Write to MH i2c: E2 08 00 78 27 80 13 01 00 00 00 00 00 1C [18:15:53]Write i2c OK [18:15:53]MH_I2C_Read... [18:15:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:15:53]Read from MH i2c: E2 [18:15:53]MH_I2C_Read... [18:15:53]Read from MH i2c: E2 0E 00 [18:15:53]MH_I2C_Read... [18:15:53]Read from MH i2c: E2 0E 00 78 27 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 9E [18:15:53]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [18:15:53]wFMCommunicate OK [18:15:53]SAM_PROTO_GetShiftState done [18:15:53]FM_GetShiftState done [18:15:53]opened in 1730073884 [18:15:53]opened+sec_in_day 1730160284 [18:15:53]quantity*price = 15900 [18:15:53]sum+1 = 15901 [18:15:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 159.00 НСП 1% : 1.41 НДС 12% : 16.88 Наличными: 159.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 58 28.10.2024 18:16 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37815 ФПД: 253269611198425 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T181602&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37815&fm=253269611198425&tin=02508201610067®Number=0000000000091684&sum=15900 0 [18:15:54]StoreToDocumentArchive [18:15:54]shift 551 fd 37815 [18:15:54]save to /storage/0551/doc_00037815 [18:15:54]save last doc name /storage/0551/doc_00037815 to /storage/kkm_last_doc_name [18:15:54]save OK [18:15:54]Clear old archive folders... [18:15:54]ProcessDocumentItem done err = 0, tmpTLVsize=278 [18:15:54]tlvbuf is 002DAC20 [18:15:54]SAM_PROTO_ClearQueue [18:15:54]wFMCommunicate request_size=4 [18:15:54]MH_SAM_APDU [18:15:54]CAPDU: 80 09 00 00 [18:15:54]Write to MH i2c: E2 08 00 85 27 80 09 00 00 00 00 00 00 1E [18:15:54]Write i2c OK [18:15:54]MH_I2C_Read... [18:15:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:15:54]Read from MH i2c: E2 [18:15:54]MH_I2C_Read... [18:15:54]Read from MH i2c: E2 03 00 [18:15:54]MH_I2C_Read... [18:15:54]Read from MH i2c: E2 03 00 85 27 00 90 00 20 [18:15:54]RAPDU: 90 00 [18:15:54]wFMCommunicate OK [18:15:54]SAM_PROTO_ClearQueue done [18:15:54]KKMCreateOFDPacket [18:15:54]OFDProtocolAddRootSTLVToBuf [18:15:54]FM_MakeSignedData [18:15:54]FM_MakeSignedData [18:15:54]SAM_PROTO_SignData [18:15:54]wFMCommunicate request_size=4 [18:15:54]MH_SAM_APDU [18:15:54]CAPDU: 80 0D 01 02 [18:15:54]Write to MH i2c: E2 08 00 86 27 80 0D 01 02 00 00 00 00 26 [18:15:54]Write i2c OK [18:15:54]MH_I2C_Read... [18:15:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:15:54]Read from MH i2c: E2 [18:15:54]MH_I2C_Read... [18:15:54]Read from MH i2c: E2 03 00 [18:15:54]MH_I2C_Read... [18:15:54]Read from MH i2c: E2 03 00 86 27 00 90 00 21 [18:15:54]RAPDU: 90 00 [18:15:54]wFMCommunicate OK [18:15:54]wFMCommunicate request_size=255 [18:15:54]MH_SAM_APDU [18:15:54]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 E2 D4 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 [18:15:54]Write to MH i2c: E2 02 01 87 27 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 E2 D4 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 00 00 74 [18:15:54]Write i2c OK [18:15:54]MH_I2C_Read... [18:15:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:15:55]Read from MH i2c: E2 [18:15:55]MH_I2C_Read... [18:15:55]Read from MH i2c: E2 03 00 [18:15:55]MH_I2C_Read... [18:15:55]Read from MH i2c: E2 03 00 87 27 00 90 00 22 [18:15:55]RAPDU: 90 00 [18:15:55]wFMCommunicate OK [18:15:55]wFMCommunicate request_size=37 [18:15:55]MH_SAM_APDU [18:15:55]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B7 93 00 00 35 04 06 00 E6 58 ED 35 37 D9 [18:15:55]Write to MH i2c: E2 28 00 88 27 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B7 93 00 00 35 04 06 00 E6 58 ED 35 37 D9 00 00 37 [18:15:55]Write i2c OK [18:15:55]MH_I2C_Read... [18:15:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:15:55]Read from MH i2c: E2 [18:15:55]MH_I2C_Read... [18:15:55]Read from MH i2c: E2 03 00 [18:15:55]MH_I2C_Read... [18:15:55]Read from MH i2c: E2 03 00 88 27 00 90 00 23 [18:15:55]RAPDU: 90 00 [18:15:55]wFMCommunicate OK [18:15:55]wFMCommunicate request_size=4 [18:15:55]MH_SAM_APDU [18:15:55]CAPDU: 80 0D 03 02 [18:15:55]Write to MH i2c: E2 08 00 89 27 80 0D 03 02 00 00 00 00 2B [18:15:55]Write i2c OK [18:15:55]MH_I2C_Read... [18:15:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:15:55]Read from MH i2c: E2 [18:15:55]MH_I2C_Read... [18:15:55]Read from MH i2c: E2 0B 00 [18:15:55]MH_I2C_Read... [18:15:55]Read from MH i2c: E2 0B 00 89 27 00 0C 77 6B 9E DE E4 D4 E0 90 00 2E [18:15:55]RAPDU: 0C 77 6B 9E DE E4 D4 E0 90 00 [18:15:55]wFMCommunicate OK [18:15:55]SAM_PROTO_SignData done [18:15:55]FM_MakeSignedData done [18:15:55]CreateOFDProtocolMessage [18:15:55]wFMCommunicate request_size=4 [18:15:55]MH_SAM_APDU [18:15:55]CAPDU: 80 11 00 00 [18:15:55]Write to MH i2c: E2 08 00 8A 27 80 11 00 00 00 00 00 00 2B [18:15:55]Write i2c OK [18:15:55]MH_I2C_Read... [18:15:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:15:55]Read from MH i2c: E2 [18:15:55]MH_I2C_Read... [18:15:55]Read from MH i2c: E2 17 00 [18:15:55]MH_I2C_Read... [18:15:55]Read from MH i2c: E2 17 00 8A 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 7B [18:15:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:15:55]wFMCommunicate OK [18:15:55]CreateOFDProtocolMessage done [18:15:55]OFDSenderStorePacket 37815 [18:15:55]StoreOFDPacket docnum=37815 [18:15:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2A 01 00 00 85 6F 22 01 00 64 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 E2 D4 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B7 93 00 00 35 04 06 00 E6 58 ED 35 37 D9 0C 77 6B 9E DE E4 D4 E0 [18:15:55]CheckFolder [18:15:55]dirname=/storage/ofd_packets [18:15:55]CheckFolder done [18:15:55]ProducePacketName [18:15:55]name=ofd_packets/00037815 [18:15:55]NVStorageSaveData ofd_packets/00037815 [18:15:55]File name is /storage/ofd_packets/00037815 [18:15:55]Write 328 bytes [18:15:55]NVStorageSaveData done [18:15:55]OFDSenderStorePacket done [18:15:55]KKMCreateOFDPacket done [18:15:55]NVStorageSaveData kkm_last_timestamp [18:15:55]File name is /storage/kkm_last_timestamp [18:15:55]Write 4 bytes [18:15:55]NVStorageSaveData done [18:15:55]ExternCall_PrintAddStr [18:15:55]wPrintStart [18:15:55]Write to MH i2c: 01 00 00 8B 27 B2 [18:15:55]Write i2c OK [18:15:55]MH_I2C_Read... [18:15:55]Read from MH i2c: 01 [18:15:55]MH_I2C_Read... [18:15:55]Read from MH i2c: 01 07 00 [18:15:55]MH_I2C_Read... [18:15:55]Read from MH i2c: 01 07 00 8B 27 00 00 00 00 00 FF 0F C7 [18:15:55]RasterBufferAndPrint [18:15:55]line Счет N : (3)35114 [18:15:55]line ИНН: 02508201610067 [18:15:55]line Контрольно-Кассовый Чек [18:15:55]line ПРОДАЖА [18:15:55]line Товар: 4640030092499 [18:15:55]line Сигареты ESSE SENSE Himalaya [18:15:55]line 1.000 * 159.00 [18:15:55]line = 159.00 [18:15:55]line НДС 12% НСП 1% [18:15:55]line > о реализуемом товаре [18:15:55]line ИТОГО: 159.00 [18:15:55]line НСП 1% : 1.41 [18:15:55]line НДС 12% : 16.88 [18:15:55]line Наличными: 159.00 [18:15:55]line Безнал.: 0.00 [18:15:55]line Место: АЗС № 126 "Партнер Нефть" [18:15:55]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [18:15:55]line СНО: Общий режим [18:15:55]line Чек 58 28.10.2024 18:16 [18:15:55]line Смена: 551 ФФД: 1.0 [18:15:55]line ЗНМ: 0300000092 [18:15:55]line РНМ: 0000000000091684 [18:15:55]line Версия ККМ: 001 [18:15:55]line ФМ: 0000000000871841 [18:15:55]line ФД: 37815 [18:15:55]line ФПД: 253269611198425 [18:15:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T181602&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37815&fm=253269611198425&tin=02508201610067®Number=0000000000091684&sum=15900 [18:15:55]OFD Sender: Processing packet 37815 [packets to send 42, broken 41] [18:15:55]ProducePacketName [18:15:55]name=ofd_packets/00037815 [18:15:55]OFD Sender: To server: pG, [18:15:55]CommunicateWithHost lk.salyk.kg:30040 [18:15:55]ConnectInit lk.salyk.kg [18:15:55]line 0 [18:15:55]written 0, free lines is 4095 [18:15:56]Write to MH i2c: 01 00 00 B4 27 DB [18:15:56]Write i2c OK [18:15:56]MH_I2C_Read... [18:15:56]Read from MH i2c: 01 [18:15:56]MH_I2C_Read... [18:15:56]Read from MH i2c: 01 07 00 [18:15:56]MH_I2C_Read... [18:15:56]Read from MH i2c: 01 07 00 B4 27 00 00 00 00 00 AF 0C 9D [18:15:56]RasterBufferAndPrint [18:15:56]line [18:15:56]line [18:15:56]line [18:15:56]line [18:15:56]line [18:15:56]written 0, free lines is 3250 [18:15:56]MH_Cut [18:15:56]Write to MH i2c: D1 01 00 BB 27 01 B4 [18:15:56]Write i2c OK [18:15:56]MH_I2C_Read... [18:15:56]Read from MH i2c: D1 [18:15:56]MH_I2C_Read... [18:15:56]Read from MH i2c: D1 01 00 [18:15:56]MH_I2C_Read... [18:15:56]Read from MH i2c: D1 01 00 BB 27 00 B3 [18:15:56]Write to MH i2c: 01 00 00 BC 27 E3 [18:15:56]Write i2c OK [18:15:56]MH_I2C_Read... [18:15:56]*** Cut start [18:15:56]*** Partial cut [18:15:56]*** CUTSNS_PIN = 1 [18:15:57]*** CUTSNS_PIN = 0 [18:15:57]*** Brake cut motor [18:15:57]Read from MH i2c: 01 [18:15:57]MH_I2C_Read... [18:15:57]*** Stop cut motor [18:15:57]*** Cut end [18:15:57]Read from MH i2c: 01 07 00 [18:15:57]MH_I2C_Read... [18:15:57]Read from MH i2c: 01 07 00 BC 27 00 00 00 00 00 FF 0F F8 [18:15:57]process_action close_receipt done [18:15:57]requested_data is exist [18:15:57]produce_requested_data [18:15:57]requested_item fm.sn is exist - process it [18:15:57]wFMCommunicate request_size=4 [18:15:57]MH_SAM_APDU [18:15:57]CAPDU: 80 11 00 00 [18:15:57]Write to MH i2c: E2 08 00 BD 27 80 11 00 00 00 00 00 00 5E [18:15:57]Write i2c OK [18:15:57]MH_I2C_Read... [18:15:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:15:57]Read from MH i2c: E2 [18:15:57]MH_I2C_Read... [18:15:57]Read from MH i2c: E2 17 00 [18:15:57]MH_I2C_Read... [18:15:57]Read from MH i2c: E2 17 00 BD 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 AE [18:15:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:15:57]wFMCommunicate OK [18:15:57]requested_item fd.num is exist - process it [18:15:57]SAM_PROTO_GetFieldsCounters [18:15:57]wFMCommunicate request_size=4 [18:15:57]MH_SAM_APDU [18:15:57]CAPDU: 80 13 00 00 [18:15:57]Write to MH i2c: E2 08 00 BE 27 80 13 00 00 00 00 00 00 61 [18:15:57]Write i2c OK [18:15:57]MH_I2C_Read... [18:15:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:15:57]Read from MH i2c: E2 [18:15:57]MH_I2C_Read... [18:15:57]Read from MH i2c: E2 62 00 [18:15:57]MH_I2C_Read... [18:15:57]Read from MH i2c: E2 62 00 BE 27 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 B7 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 A3 [18:15:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 B7 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:15:57]wFMCommunicate OK [18:15:57]SAM_PROTO_GetFieldsCounters done [18:15:57]requested_item shift.num is exist - process it [18:15:57]requested_item shift.opened is exist - process it [18:15:57]req_shift_opened [18:15:57]FM_GetShiftState [18:15:57]SAM_PROTO_GetShiftState [18:15:57]wFMCommunicate request_size=4 [18:15:57]MH_SAM_APDU [18:15:57]CAPDU: 80 13 01 00 [18:15:57]Write to MH i2c: E2 08 00 BF 27 80 13 01 00 00 00 00 00 63 [18:15:57]Write i2c OK [18:15:57]MH_I2C_Read... [18:15:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:15:57]Read from MH i2c: E2 [18:15:57]MH_I2C_Read... [18:15:57]Read from MH i2c: E2 0E 00 [18:15:57]MH_I2C_Read... [18:15:57]Read from MH i2c: E2 0E 00 BF 27 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 E5 [18:15:57]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [18:15:57]wFMCommunicate OK [18:15:57]SAM_PROTO_GetShiftState done [18:15:57]FM_GetShiftState done [18:15:57]req_shift_opened done [18:15:57]requested_item shift.open_date is exist - process it [18:15:57]req_shift_open_date [18:15:57]req_shift_open_date done [18:15:57]produce_requested_data done [18:15:57]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37815,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [18:15:57]process_action_free close_receipt [18:15:57]json_value_free [18:15:57]json_value_free done [18:15:57]process_json_proto returns [18:15:57]Send response to host [18:15:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37815,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [18:15:57]free response buf [18:15:57]execute_script done [18:15:57]execute_script returns [18:15:57]free content buf [18:15:57]Sock 7.Close socket [18:15:57]Sock 7.Thread stoped [18:15:58]Connected sock=11 [18:15:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2A 01 00 00 85 6F 22 01 00 64 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 E2 D4 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B7 93 00 00 35 04 06 00 E6 58 ED 35 37 D9 0C 77 6B 9E DE E4 D4 E0 [18:15:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 34 75 47 00 71 18 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B7 93 00 00 F4 03 04 00 D9 7F 1F 67 B6 04 01 00 00 AB 22 D5 48 60 2E 6B 10 [18:15:58]CommunicateWithHost err = 0 [18:15:58]CheckOFDResponse [18:15:58]1017 (14) - 77093643461234 [18:15:58]1041 (16) - 0000000000871841 [18:15:58]1040 (4) - 37815 [18:15:58]1012 (4) - 28.10.2024 12:13 [18:15:58]1206 (1) - 0 [18:15:58]OFD Sender: Remove packet 37815 [18:15:58]ProducePacketName [18:15:58]name=ofd_packets/00037815 [18:15:58]NVStorageDeleteData [18:15:59]OFD Sender: No OFD packet to send [18:16:04]OFD Sender: No OFD packet to send [18:16:09]OFD Sender: No OFD packet to send [18:16:14]OFD Sender: No OFD packet to send [18:16:19]OFD Sender: No OFD packet to send [18:16:24]OFD Sender: No OFD packet to send [18:16:29]OFD Sender: No OFD packet to send [18:16:34]OFD Sender: No OFD packet to send [18:16:39]OFD Sender: No OFD packet to send [18:16:44]OFD Sender: No OFD packet to send [18:16:49]OFD Sender: No OFD packet to send [18:16:54]OFD Sender: No OFD packet to send [18:16:59]OFD Sender: No OFD packet to send [18:17:04]OFD Sender: No OFD packet to send [18:17:09]OFD Sender: No OFD packet to send [18:17:14]OFD Sender: No OFD packet to send [18:17:19]OFD Sender: No OFD packet to send [18:17:24]OFD Sender: No OFD packet to send [18:17:29]OFD Sender: No OFD packet to send [18:17:34]OFD Sender: No OFD packet to send [18:17:39]OFD Sender: No OFD packet to send [18:17:44]OFD Sender: No OFD packet to send [18:17:49]OFD Sender: No OFD packet to send [18:17:54]OFD Sender: No OFD packet to send [18:17:59]OFD Sender: No OFD packet to send [18:18:04]OFD Sender: No OFD packet to send [18:18:09]OFD Sender: No OFD packet to send [18:18:14]OFD Sender: No OFD packet to send [18:18:19]OFD Sender: No OFD packet to send [18:18:24]OFD Sender: No OFD packet to send [18:18:29]OFD Sender: No OFD packet to send [18:18:34]OFD Sender: No OFD packet to send [18:18:39]OFD Sender: No OFD packet to send [18:18:44]OFD Sender: No OFD packet to send [18:18:49]OFD Sender: No OFD packet to send [18:18:54]OFD Sender: No OFD packet to send [18:18:59]OFD Sender: No OFD packet to send [18:19:04]OFD Sender: No OFD packet to send [18:19:09]OFD Sender: No OFD packet to send [18:19:14]OFD Sender: No OFD packet to send [18:19:19]OFD Sender: No OFD packet to send [18:19:24]OFD Sender: No OFD packet to send [18:19:29]OFD Sender: No OFD packet to send [18:19:34]OFD Sender: No OFD packet to send [18:19:39]OFD Sender: No OFD packet to send [18:19:44]OFD Sender: No OFD packet to send [18:19:49]OFD Sender: No OFD packet to send [18:19:54]OFD Sender: No OFD packet to send [18:19:59]OFD Sender: No OFD packet to send [18:20:04]OFD Sender: No OFD packet to send [18:20:09]OFD Sender: No OFD packet to send [18:20:14]OFD Sender: No OFD packet to send [18:20:19]OFD Sender: No OFD packet to send [18:20:24]OFD Sender: No OFD packet to send [18:20:29]OFD Sender: No OFD packet to send [18:20:34]OFD Sender: No OFD packet to send [18:20:39]OFD Sender: No OFD packet to send [18:20:44]OFD Sender: No OFD packet to send [18:20:49]OFD Sender: No OFD packet to send [18:20:54]OFD Sender: No OFD packet to send [18:20:59]OFD Sender: No OFD packet to send [18:21:04]OFD Sender: No OFD packet to send [18:21:09]OFD Sender: No OFD packet to send [18:21:14]OFD Sender: No OFD packet to send [18:21:19]OFD Sender: No OFD packet to send [18:21:24]OFD Sender: No OFD packet to send [18:21:29]OFD Sender: No OFD packet to send [18:21:34]OFD Sender: No OFD packet to send [18:21:39]OFD Sender: No OFD packet to send [18:21:44]OFD Sender: No OFD packet to send [18:21:49]OFD Sender: No OFD packet to send [18:21:54]OFD Sender: No OFD packet to send [18:21:59]OFD Sender: No OFD packet to send [18:22:04]OFD Sender: No OFD packet to send [18:22:09]OFD Sender: No OFD packet to send [18:22:14]OFD Sender: No OFD packet to send [18:22:19]OFD Sender: No OFD packet to send [18:22:24]OFD Sender: No OFD packet to send [18:22:29]OFD Sender: No OFD packet to send [18:22:34]OFD Sender: No OFD packet to send [18:22:39]OFD Sender: No OFD packet to send [18:22:44]OFD Sender: No OFD packet to send [18:22:49]OFD Sender: No OFD packet to send [18:22:54]OFD Sender: No OFD packet to send [18:22:59]OFD Sender: No OFD packet to send [18:23:04]OFD Sender: No OFD packet to send [18:23:09]OFD Sender: No OFD packet to send [18:23:14]OFD Sender: No OFD packet to send [18:23:19]OFD Sender: No OFD packet to send [18:23:24]OFD Sender: No OFD packet to send [18:23:29]OFD Sender: No OFD packet to send [18:23:34]OFD Sender: No OFD packet to send [18:23:39]OFD Sender: No OFD packet to send [18:23:44]OFD Sender: No OFD packet to send [18:23:49]OFD Sender: No OFD packet to send [18:23:54]OFD Sender: No OFD packet to send [18:23:59]OFD Sender: No OFD packet to send [18:24:04]OFD Sender: No OFD packet to send [18:24:09]OFD Sender: No OFD packet to send [18:24:14]OFD Sender: No OFD packet to send [18:24:19]OFD Sender: No OFD packet to send [18:24:24]OFD Sender: No OFD packet to send [18:24:29]OFD Sender: No OFD packet to send [18:24:34]OFD Sender: No OFD packet to send [18:24:39]OFD Sender: No OFD packet to send [18:24:44]OFD Sender: No OFD packet to send [18:24:49]OFD Sender: No OFD packet to send [18:24:54]OFD Sender: No OFD packet to send [18:24:59]OFD Sender: No OFD packet to send [18:25:04]OFD Sender: No OFD packet to send [18:25:09]OFD Sender: No OFD packet to send [18:25:11]accept exits with 9 [18:25:11]New connection [18:25:11]New thread 3067297124 created [18:25:11]Thread 3067440484 joined [18:25:11]Waiting for new connection... [18:25:11] Sock 9.Parse request [18:25:11]Sock 9.Check first char [18:25:11]Sock 9.First char is OK [18:25:11]request: POST /json_proto HTTP/1.0 [18:25:11]Method: POST [18:25:11]URL: /json_proto [18:25:11]Method is POST - this is cgi request [18:25:11]url: /json_proto [18:25:11]query_string will be loaded in cgi processing [18:25:11]execute_cgi json_proto POST (null) [18:25:11]execute_cgi path=json_proto method=POST [18:25:11]POST find Content-Length [18:25:11]Host: 172.17.40.196:8080 [18:25:11]Content-Length: 569 [18:25:11]Content-Type: application/json [18:25:11] [18:25:11]POST finish read [18:25:11]Found Content-Length = 569 [18:25:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35115", "tax_sys" : 0, "items" : [ { "code": "48744546", "name": "LD Compact Silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:25:11]execute_script... [18:25:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35115", "tax_sys" : 0, "items" : [ { "code": "48744546", "name": "LD Compact Silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:25:11]POST & json_proto [18:25:11]process_json_proto [18:25:11]json parsed OK: [18:25:11]protocol is kg_v1.0 [18:25:11]action value=close_receipt [18:25:11]process_action close_receipt [18:25:11]cmd_close_receipt [18:25:11]MH_GetDate [18:25:11]Write to MH i2c: F0 00 00 C0 27 D6 [18:25:11]Write i2c OK [18:25:11]MH_I2C_Read... [18:25:11]Read from MH i2c: F0 [18:25:11]MH_I2C_Read... [18:25:11]Read from MH i2c: F0 09 00 [18:25:11]MH_I2C_Read... [18:25:11]Read from MH i2c: F0 09 00 C0 27 00 10 D7 1F 67 5B 68 A1 66 16 [18:25:11]GetLastDocTimeStamp 1730139362 [18:25:11]current date 1730139920 [18:25:11]FM_GetShiftState [18:25:11]SAM_PROTO_GetShiftState [18:25:11]wFMCommunicate request_size=4 [18:25:11]MH_SAM_APDU [18:25:11]CAPDU: 80 13 01 00 [18:25:11]Write to MH i2c: E2 08 00 C1 27 80 13 01 00 00 00 00 00 65 [18:25:11]Write i2c OK [18:25:11]MH_I2C_Read... [18:25:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:25:11]Read from MH i2c: E2 [18:25:11]MH_I2C_Read... [18:25:11]Read from MH i2c: E2 0E 00 [18:25:11]MH_I2C_Read... [18:25:11]Read from MH i2c: E2 0E 00 C1 27 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 E7 [18:25:11]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [18:25:11]wFMCommunicate OK [18:25:11]SAM_PROTO_GetShiftState done [18:25:11]FM_GetShiftState done [18:25:11]opened in 1730073884 [18:25:11]opened+sec_in_day 1730160284 [18:25:11]quantity*price = 13400 [18:25:11]sum+1 = 13401 [18:25:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 НСП 1% : 1.19 НДС 12% : 14.23 Наличными: 134.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 59 28.10.2024 18:25 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37816 ФПД: 113405501085027 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T182520&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37816&fm=113405501085027&tin=02508201610067®Number=0000000000091684&sum=13400 0 [18:25:12]StoreToDocumentArchive [18:25:12]shift 551 fd 37816 [18:25:12]save to /storage/0551/doc_00037816 [18:25:12]save last doc name /storage/0551/doc_00037816 to /storage/kkm_last_doc_name [18:25:12]save OK [18:25:12]Clear old archive folders... [18:25:12]ProcessDocumentItem done err = 0, tmpTLVsize=254 [18:25:12]tlvbuf is 0020FB90 [18:25:12]SAM_PROTO_ClearQueue [18:25:12]wFMCommunicate request_size=4 [18:25:12]MH_SAM_APDU [18:25:12]CAPDU: 80 09 00 00 [18:25:12]Write to MH i2c: E2 08 00 CE 27 80 09 00 00 00 00 00 00 67 [18:25:12]Write i2c OK [18:25:12]MH_I2C_Read... [18:25:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:25:12]Read from MH i2c: E2 [18:25:12]MH_I2C_Read... [18:25:12]Read from MH i2c: E2 03 00 [18:25:12]MH_I2C_Read... [18:25:12]Read from MH i2c: E2 03 00 CE 27 00 90 00 69 [18:25:12]RAPDU: 90 00 [18:25:12]wFMCommunicate OK [18:25:12]SAM_PROTO_ClearQueue done [18:25:12]KKMCreateOFDPacket [18:25:12]OFDProtocolAddRootSTLVToBuf [18:25:12]FM_MakeSignedData [18:25:12]FM_MakeSignedData [18:25:12]SAM_PROTO_SignData [18:25:12]wFMCommunicate request_size=4 [18:25:12]MH_SAM_APDU [18:25:12]CAPDU: 80 0D 01 02 [18:25:12]Write to MH i2c: E2 08 00 CF 27 80 0D 01 02 00 00 00 00 6F [18:25:12]Write i2c OK [18:25:12]MH_I2C_Read... [18:25:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:25:12]Read from MH i2c: E2 [18:25:12]MH_I2C_Read... [18:25:12]Read from MH i2c: E2 03 00 [18:25:12]MH_I2C_Read... [18:25:12]Read from MH i2c: E2 03 00 CF 27 00 90 00 6A [18:25:12]RAPDU: 90 00 [18:25:12]wFMCommunicate OK [18:25:12]wFMCommunicate request_size=255 [18:25:12]MH_SAM_APDU [18:25:12]CAPDU: 80 0D 02 02 FA 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 10 D7 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B8 93 00 00 35 04 [18:25:12]Write to MH i2c: E2 02 01 D0 27 80 0D 02 02 FA 00 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 10 D7 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B8 93 00 00 35 04 00 00 06 [18:25:12]Write i2c OK [18:25:12]MH_I2C_Read... [18:25:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:25:12]Read from MH i2c: E2 [18:25:12]MH_I2C_Read... [18:25:12]Read from MH i2c: E2 03 00 [18:25:12]MH_I2C_Read... [18:25:12]Read from MH i2c: E2 03 00 D0 27 00 90 00 6B [18:25:12]RAPDU: 90 00 [18:25:12]wFMCommunicate OK [18:25:12]wFMCommunicate request_size=13 [18:25:12]MH_SAM_APDU [18:25:12]CAPDU: 80 0D 02 02 08 06 00 67 24 46 9B 95 63 [18:25:12]Write to MH i2c: E2 10 00 D1 27 80 0D 02 02 08 00 06 00 67 24 46 9B 95 63 00 00 EC [18:25:12]Write i2c OK [18:25:12]MH_I2C_Read... [18:25:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:25:12]Read from MH i2c: E2 [18:25:12]MH_I2C_Read... [18:25:12]Read from MH i2c: E2 03 00 [18:25:12]MH_I2C_Read... [18:25:12]Read from MH i2c: E2 03 00 D1 27 00 90 00 6C [18:25:12]RAPDU: 90 00 [18:25:12]wFMCommunicate OK [18:25:12]wFMCommunicate request_size=4 [18:25:12]MH_SAM_APDU [18:25:12]CAPDU: 80 0D 03 02 [18:25:12]Write to MH i2c: E2 08 00 D2 27 80 0D 03 02 00 00 00 00 74 [18:25:12]Write i2c OK [18:25:12]MH_I2C_Read... [18:25:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:25:12]Read from MH i2c: E2 [18:25:12]MH_I2C_Read... [18:25:12]Read from MH i2c: E2 0B 00 [18:25:12]MH_I2C_Read... [18:25:12]Read from MH i2c: E2 0B 00 D2 27 00 C8 AF 03 6B 90 B0 3C 26 90 00 FC [18:25:12]RAPDU: C8 AF 03 6B 90 B0 3C 26 90 00 [18:25:12]wFMCommunicate OK [18:25:12]SAM_PROTO_SignData done [18:25:12]FM_MakeSignedData done [18:25:12]CreateOFDProtocolMessage [18:25:12]wFMCommunicate request_size=4 [18:25:12]MH_SAM_APDU [18:25:12]CAPDU: 80 11 00 00 [18:25:12]Write to MH i2c: E2 08 00 D3 27 80 11 00 00 00 00 00 00 74 [18:25:12]Write i2c OK [18:25:12]MH_I2C_Read... [18:25:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:25:13]Read from MH i2c: E2 [18:25:13]MH_I2C_Read... [18:25:13]Read from MH i2c: E2 17 00 [18:25:13]MH_I2C_Read... [18:25:13]Read from MH i2c: E2 17 00 D3 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 C4 [18:25:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:25:13]wFMCommunicate OK [18:25:13]CreateOFDProtocolMessage done [18:25:13]OFDSenderStorePacket 37816 [18:25:13]StoreOFDPacket docnum=37816 [18:25:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 12 01 00 00 FC 3A 0A 01 89 EB 5A 03 01 00 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 10 D7 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B8 93 00 00 35 04 06 00 67 24 46 9B 95 63 C8 AF 03 6B 90 B0 3C 26 [18:25:13]CheckFolder [18:25:13]dirname=/storage/ofd_packets [18:25:13]CheckFolder done [18:25:13]ProducePacketName [18:25:13]name=ofd_packets/00037816 [18:25:13]NVStorageSaveData ofd_packets/00037816 [18:25:13]File name is /storage/ofd_packets/00037816 [18:25:13]Write 304 bytes [18:25:13]NVStorageSaveData done [18:25:13]OFDSenderStorePacket done [18:25:13]KKMCreateOFDPacket done [18:25:13]NVStorageSaveData kkm_last_timestamp [18:25:13]File name is /storage/kkm_last_timestamp [18:25:13]Write 4 bytes [18:25:13]NVStorageSaveData done [18:25:13]ExternCall_PrintAddStr [18:25:13]wPrintStart [18:25:13]Write to MH i2c: 01 00 00 D4 27 FB [18:25:13]Write i2c OK [18:25:13]MH_I2C_Read... [18:25:13]Read from MH i2c: 01 [18:25:13]MH_I2C_Read... [18:25:13]Read from MH i2c: 01 07 00 [18:25:13]MH_I2C_Read... [18:25:13]Read from MH i2c: 01 07 00 D4 27 00 00 00 00 00 FF 0F 10 [18:25:13]RasterBufferAndPrint [18:25:13]line Счет N : (3)35115 [18:25:13]line ИНН: 02508201610067 [18:25:13]line Контрольно-Кассовый Чек [18:25:13]line ПРОДАЖА [18:25:13]line Товар: 48744546 [18:25:13]line LD Compact Silver [18:25:13]line 1.000 * 134.00 [18:25:13]line = 134.00 [18:25:13]line НДС 12% НСП 1% [18:25:13]line > о реализуемом товаре [18:25:13]line ИТОГО: 134.00 [18:25:13]line НСП 1% : 1.19 [18:25:13]line НДС 12% : 14.23 [18:25:13]line Наличными: 134.00 [18:25:13]line Безнал.: 0.00 [18:25:13]line Место: АЗС № 126 "Партнер Нефть" [18:25:13]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [18:25:13]line СНО: Общий режим [18:25:13]line Чек 59 28.10.2024 18:25 [18:25:13]line Смена: 551 ФФД: 1.0 [18:25:13]line ЗНМ: 0300000092 [18:25:13]line РНМ: 0000000000091684 [18:25:13]line Версия ККМ: 001 [18:25:13]line ФМ: 0000000000871841 [18:25:13]line ФД: 37816 [18:25:13]line ФПД: 113405501085027 [18:25:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T182520&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37816&fm=113405501085027&tin=02508201610067®Number=0000000000091684&sum=13400 [18:25:13]OFD Sender: Processing packet 37816 [packets to send 42, broken 41] [18:25:13]ProducePacketName [18:25:13]name=ofd_packets/00037816 [18:25:13]OFD Sender: To server: pG, [18:25:13]CommunicateWithHost lk.salyk.kg:30040 [18:25:13]ConnectInit lk.salyk.kg [18:25:13]line 0 [18:25:13]written 0, free lines is 4095 [18:25:13]Write to MH i2c: 01 00 00 FC 27 23 [18:25:13]Write i2c OK [18:25:13]MH_I2C_Read... [18:25:13]Read from MH i2c: 01 [18:25:13]MH_I2C_Read... [18:25:13]Read from MH i2c: 01 07 00 [18:25:13]MH_I2C_Read... [18:25:13]Read from MH i2c: 01 07 00 FC 27 00 00 00 00 00 C5 0C FB [18:25:13]RasterBufferAndPrint [18:25:13]line [18:25:13]line [18:25:13]line [18:25:13]line [18:25:13]line [18:25:13]written 0, free lines is 3272 [18:25:13]MH_Cut [18:25:13]Write to MH i2c: D1 01 00 03 28 01 FD [18:25:13]Write i2c OK [18:25:13]MH_I2C_Read... [18:25:13]Read from MH i2c: D1 [18:25:13]MH_I2C_Read... [18:25:13]Read from MH i2c: D1 01 00 [18:25:13]MH_I2C_Read... [18:25:13]Read from MH i2c: D1 01 00 03 28 00 FC [18:25:13]Write to MH i2c: 01 00 00 04 28 2C [18:25:13]Write i2c OK [18:25:13]MH_I2C_Read... [18:25:14]*** Cut start [18:25:14]*** Partial cut [18:25:14]*** CUTSNS_PIN = 1 [18:25:14]*** CUTSNS_PIN = 0 [18:25:14]Connected sock=11 [18:25:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 12 01 00 00 FC 3A 0A 01 89 EB 5A 03 01 00 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 10 D7 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B8 93 00 00 35 04 06 00 67 24 46 9B 95 63 C8 AF 03 6B 90 B0 3C 26 [18:25:14]*** Brake cut motor [18:25:15]Read from MH i2c: 01 [18:25:15]MH_I2C_Read... [18:25:15]*** Stop cut motor [18:25:15]*** Cut end [18:25:15]Read from MH i2c: 01 07 00 [18:25:15]MH_I2C_Read... [18:25:15]Read from MH i2c: 01 07 00 04 28 00 00 00 00 00 FF 0F 41 [18:25:15]process_action close_receipt done [18:25:15]requested_data is exist [18:25:15]produce_requested_data [18:25:15]requested_item fm.sn is exist - process it [18:25:15]wFMCommunicate request_size=4 [18:25:15]MH_SAM_APDU [18:25:15]CAPDU: 80 11 00 00 [18:25:15]Write to MH i2c: E2 08 00 05 28 80 11 00 00 00 00 00 00 A7 [18:25:15]Write i2c OK [18:25:15]MH_I2C_Read... [18:25:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 80 51 47 00 AD 67 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B8 93 00 00 F4 03 04 00 05 82 1F 67 B6 04 01 00 00 51 A8 51 4D DD D0 40 6D [18:25:15]CommunicateWithHost err = 0 [18:25:15]CheckOFDResponse [18:25:15]1017 (14) - 77093643461234 [18:25:15]1041 (16) - 0000000000871841 [18:25:15]1040 (4) - 37816 [18:25:15]1012 (4) - 28.10.2024 12:22 [18:25:15]1206 (1) - 0 [18:25:15]OFD Sender: Remove packet 37816 [18:25:15]ProducePacketName [18:25:15]name=ofd_packets/00037816 [18:25:15]NVStorageDeleteData [18:25:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:25:15]Read from MH i2c: E2 [18:25:15]MH_I2C_Read... [18:25:15]Read from MH i2c: E2 17 00 [18:25:15]MH_I2C_Read... [18:25:15]Read from MH i2c: E2 17 00 05 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F7 [18:25:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:25:15]wFMCommunicate OK [18:25:15]requested_item fd.num is exist - process it [18:25:15]SAM_PROTO_GetFieldsCounters [18:25:15]wFMCommunicate request_size=4 [18:25:15]MH_SAM_APDU [18:25:15]CAPDU: 80 13 00 00 [18:25:15]Write to MH i2c: E2 08 00 06 28 80 13 00 00 00 00 00 00 AA [18:25:15]Write i2c OK [18:25:15]MH_I2C_Read... [18:25:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:25:15]Read from MH i2c: E2 [18:25:15]MH_I2C_Read... [18:25:15]Read from MH i2c: E2 62 00 [18:25:15]MH_I2C_Read... [18:25:15]Read from MH i2c: E2 62 00 06 28 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 B8 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 F0 [18:25:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 B8 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:25:15]wFMCommunicate OK [18:25:15]SAM_PROTO_GetFieldsCounters done [18:25:15]requested_item shift.num is exist - process it [18:25:15]requested_item shift.opened is exist - process it [18:25:15]req_shift_opened [18:25:15]FM_GetShiftState [18:25:15]SAM_PROTO_GetShiftState [18:25:15]wFMCommunicate request_size=4 [18:25:15]MH_SAM_APDU [18:25:15]CAPDU: 80 13 01 00 [18:25:15]Write to MH i2c: E2 08 00 07 28 80 13 01 00 00 00 00 00 AC [18:25:15]Write i2c OK [18:25:15]MH_I2C_Read... [18:25:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:25:15]Read from MH i2c: E2 [18:25:15]MH_I2C_Read... [18:25:15]Read from MH i2c: E2 0E 00 [18:25:15]MH_I2C_Read... [18:25:15]Read from MH i2c: E2 0E 00 07 28 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 2E [18:25:15]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [18:25:15]wFMCommunicate OK [18:25:15]SAM_PROTO_GetShiftState done [18:25:15]FM_GetShiftState done [18:25:15]req_shift_opened done [18:25:15]requested_item shift.open_date is exist - process it [18:25:15]req_shift_open_date [18:25:15]req_shift_open_date done [18:25:15]produce_requested_data done [18:25:15]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37816,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [18:25:15]process_action_free close_receipt [18:25:15]json_value_free [18:25:15]json_value_free done [18:25:15]process_json_proto returns [18:25:15]Send response to host [18:25:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37816,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [18:25:15]free response buf [18:25:15]execute_script done [18:25:15]execute_script returns [18:25:15]free content buf [18:25:15]Sock 9.Close socket [18:25:15]Sock 9.Thread stoped [18:25:15]OFD Sender: No OFD packet to send [18:25:20]OFD Sender: No OFD packet to send [18:25:25]OFD Sender: No OFD packet to send [18:25:30]OFD Sender: No OFD packet to send [18:25:35]OFD Sender: No OFD packet to send [18:25:40]OFD Sender: No OFD packet to send [18:25:45]OFD Sender: No OFD packet to send [18:25:50]OFD Sender: No OFD packet to send [18:25:55]OFD Sender: No OFD packet to send [18:26:00]OFD Sender: No OFD packet to send [18:26:05]OFD Sender: No OFD packet to send [18:26:10]OFD Sender: No OFD packet to send [18:26:15]OFD Sender: No OFD packet to send [18:26:20]OFD Sender: No OFD packet to send [18:26:25]OFD Sender: No OFD packet to send [18:26:30]OFD Sender: No OFD packet to send [18:26:35]OFD Sender: No OFD packet to send [18:26:40]OFD Sender: No OFD packet to send [18:26:41]accept exits with 7 [18:26:41]New connection [18:26:41]New thread 3067440484 created [18:26:41]Thread 3067297124 joined [18:26:41]Waiting for new connection... [18:26:41] Sock 7.Parse request [18:26:41]Sock 7.Check first char [18:26:41]Sock 7.First char is OK [18:26:41]request: POST /json_proto HTTP/1.0 [18:26:41]Method: POST [18:26:41]URL: /json_proto [18:26:41]Method is POST - this is cgi request [18:26:41]url: /json_proto [18:26:41]query_string will be loaded in cgi processing [18:26:41]execute_cgi json_proto POST (null) [18:26:41]execute_cgi path=json_proto method=POST [18:26:41]POST find Content-Length [18:26:41]Host: 172.17.40.196:8080 [18:26:41]Content-Length: 672 [18:26:41]Content-Type: application/json [18:26:41] [18:26:41]POST finish read [18:26:41]Found Content-Length = 672 [18:26:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35116", "tax_sys" : 0, "items" : [ { "code": "4670003190051", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u041640 \u043A\u0440\u0430\u0441 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:26:41]execute_script... [18:26:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35116", "tax_sys" : 0, "items" : [ { "code": "4670003190051", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u041640 \u043A\u0440\u0430\u0441 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:26:41]POST & json_proto [18:26:41]process_json_proto [18:26:41]json parsed OK: [18:26:41]protocol is kg_v1.0 [18:26:41]action value=close_receipt [18:26:41]process_action close_receipt [18:26:41]cmd_close_receipt [18:26:41]MH_GetDate [18:26:41]Write to MH i2c: F0 00 00 08 28 1F [18:26:41]Write i2c OK [18:26:41]MH_I2C_Read... [18:26:41]Read from MH i2c: F0 [18:26:41]MH_I2C_Read... [18:26:41]Read from MH i2c: F0 09 00 [18:26:41]MH_I2C_Read... [18:26:41]Read from MH i2c: F0 09 00 08 28 00 6A D7 1F 67 5B 68 A1 66 B9 [18:26:41]GetLastDocTimeStamp 1730139920 [18:26:41]current date 1730140010 [18:26:41]FM_GetShiftState [18:26:41]SAM_PROTO_GetShiftState [18:26:41]wFMCommunicate request_size=4 [18:26:41]MH_SAM_APDU [18:26:41]CAPDU: 80 13 01 00 [18:26:41]Write to MH i2c: E2 08 00 09 28 80 13 01 00 00 00 00 00 AE [18:26:41]Write i2c OK [18:26:41]MH_I2C_Read... [18:26:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:26:41]Read from MH i2c: E2 [18:26:41]MH_I2C_Read... [18:26:41]Read from MH i2c: E2 0E 00 [18:26:41]MH_I2C_Read... [18:26:41]Read from MH i2c: E2 0E 00 09 28 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 30 [18:26:41]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [18:26:41]wFMCommunicate OK [18:26:41]SAM_PROTO_GetShiftState done [18:26:41]FM_GetShiftState done [18:26:41]opened in 1730073884 [18:26:41]opened+sec_in_day 1730160284 [18:26:41]quantity*price = 22500 [18:26:41]sum+1 = 22501 [18:26:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.89 Наличными: 225.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 60 28.10.2024 18:26 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37817 ФПД: 83394984165791 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T182650&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37817&fm=83394984165791&tin=02508201610067®Number=0000000000091684&sum=22500 0 [18:26:42]StoreToDocumentArchive [18:26:42]shift 551 fd 37817 [18:26:42]save to /storage/0551/doc_00037817 [18:26:42]save last doc name /storage/0551/doc_00037817 to /storage/kkm_last_doc_name [18:26:42]save OK [18:26:42]Clear old archive folders... [18:26:42]ProcessDocumentItem done err = 0, tmpTLVsize=297 [18:26:42]tlvbuf is 003106C0 [18:26:42]SAM_PROTO_ClearQueue [18:26:42]wFMCommunicate request_size=4 [18:26:42]MH_SAM_APDU [18:26:42]CAPDU: 80 09 00 00 [18:26:42]Write to MH i2c: E2 08 00 16 28 80 09 00 00 00 00 00 00 B0 [18:26:42]Write i2c OK [18:26:42]MH_I2C_Read... [18:26:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:26:42]Read from MH i2c: E2 [18:26:42]MH_I2C_Read... [18:26:42]Read from MH i2c: E2 03 00 [18:26:42]MH_I2C_Read... [18:26:42]Read from MH i2c: E2 03 00 16 28 00 90 00 B2 [18:26:42]RAPDU: 90 00 [18:26:42]wFMCommunicate OK [18:26:42]SAM_PROTO_ClearQueue done [18:26:42]KKMCreateOFDPacket [18:26:42]OFDProtocolAddRootSTLVToBuf [18:26:42]FM_MakeSignedData [18:26:42]FM_MakeSignedData [18:26:42]SAM_PROTO_SignData [18:26:42]wFMCommunicate request_size=4 [18:26:42]MH_SAM_APDU [18:26:42]CAPDU: 80 0D 01 02 [18:26:42]Write to MH i2c: E2 08 00 17 28 80 0D 01 02 00 00 00 00 B8 [18:26:42]Write i2c OK [18:26:42]MH_I2C_Read... [18:26:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:26:42]Read from MH i2c: E2 [18:26:42]MH_I2C_Read... [18:26:42]Read from MH i2c: E2 03 00 [18:26:42]MH_I2C_Read... [18:26:42]Read from MH i2c: E2 03 00 17 28 00 90 00 B3 [18:26:42]RAPDU: 90 00 [18:26:42]wFMCommunicate OK [18:26:42]wFMCommunicate request_size=255 [18:26:42]MH_SAM_APDU [18:26:42]CAPDU: 80 0D 02 02 FA 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 6A D7 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 [18:26:42]Write to MH i2c: E2 02 01 18 28 80 0D 02 02 FA 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 6A D7 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 00 00 24 [18:26:42]Write i2c OK [18:26:42]MH_I2C_Read... [18:26:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:26:42]Read from MH i2c: E2 [18:26:42]MH_I2C_Read... [18:26:42]Read from MH i2c: E2 03 00 [18:26:42]MH_I2C_Read... [18:26:42]Read from MH i2c: E2 03 00 18 28 00 90 00 B4 [18:26:42]RAPDU: 90 00 [18:26:42]wFMCommunicate OK [18:26:42]wFMCommunicate request_size=56 [18:26:42]MH_SAM_APDU [18:26:42]CAPDU: 80 0D 02 02 33 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B9 93 00 00 35 04 06 00 4B D8 E8 68 41 9F [18:26:42]Write to MH i2c: E2 3B 00 19 28 80 0D 02 02 33 00 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B9 93 00 00 35 04 06 00 4B D8 E8 68 41 9F 00 00 E5 [18:26:43]Write i2c OK [18:26:43]MH_I2C_Read... [18:26:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:26:43]Read from MH i2c: E2 [18:26:43]MH_I2C_Read... [18:26:43]Read from MH i2c: E2 03 00 [18:26:43]MH_I2C_Read... [18:26:43]Read from MH i2c: E2 03 00 19 28 00 90 00 B5 [18:26:43]RAPDU: 90 00 [18:26:43]wFMCommunicate OK [18:26:43]wFMCommunicate request_size=4 [18:26:43]MH_SAM_APDU [18:26:43]CAPDU: 80 0D 03 02 [18:26:43]Write to MH i2c: E2 08 00 1A 28 80 0D 03 02 00 00 00 00 BD [18:26:43]Write i2c OK [18:26:43]MH_I2C_Read... [18:26:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:26:43]Read from MH i2c: E2 [18:26:43]MH_I2C_Read... [18:26:43]Read from MH i2c: E2 0B 00 [18:26:43]MH_I2C_Read... [18:26:43]Read from MH i2c: E2 0B 00 1A 28 00 A8 72 E7 74 FE AB 1A D7 90 00 CD [18:26:43]RAPDU: A8 72 E7 74 FE AB 1A D7 90 00 [18:26:43]wFMCommunicate OK [18:26:43]SAM_PROTO_SignData done [18:26:43]FM_MakeSignedData done [18:26:43]CreateOFDProtocolMessage [18:26:43]wFMCommunicate request_size=4 [18:26:43]MH_SAM_APDU [18:26:43]CAPDU: 80 11 00 00 [18:26:43]Write to MH i2c: E2 08 00 1B 28 80 11 00 00 00 00 00 00 BD [18:26:43]Write i2c OK [18:26:43]MH_I2C_Read... [18:26:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:26:43]Read from MH i2c: E2 [18:26:43]MH_I2C_Read... [18:26:43]Read from MH i2c: E2 17 00 [18:26:43]MH_I2C_Read... [18:26:43]Read from MH i2c: E2 17 00 1B 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 0D [18:26:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:26:43]wFMCommunicate OK [18:26:43]CreateOFDProtocolMessage done [18:26:43]OFDSenderStorePacket 37817 [18:26:43]StoreOFDPacket docnum=37817 [18:26:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3D 01 00 00 98 22 35 01 88 F1 5A 03 01 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 6A D7 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B9 93 00 00 35 04 06 00 4B D8 E8 68 41 9F A8 72 E7 74 FE AB 1A D7 [18:26:43]CheckFolder [18:26:43]dirname=/storage/ofd_packets [18:26:43]CheckFolder done [18:26:43]ProducePacketName [18:26:43]name=ofd_packets/00037817 [18:26:43]NVStorageSaveData ofd_packets/00037817 [18:26:43]File name is /storage/ofd_packets/00037817 [18:26:43]Write 347 bytes [18:26:43]NVStorageSaveData done [18:26:43]OFDSenderStorePacket done [18:26:43]KKMCreateOFDPacket done [18:26:43]NVStorageSaveData kkm_last_timestamp [18:26:43]File name is /storage/kkm_last_timestamp [18:26:43]Write 4 bytes [18:26:43]NVStorageSaveData done [18:26:43]ExternCall_PrintAddStr [18:26:43]wPrintStart [18:26:43]Write to MH i2c: 01 00 00 1C 28 44 [18:26:43]Write i2c OK [18:26:43]MH_I2C_Read... [18:26:43]Read from MH i2c: 01 [18:26:43]MH_I2C_Read... [18:26:43]Read from MH i2c: 01 07 00 [18:26:43]MH_I2C_Read... [18:26:43]Read from MH i2c: 01 07 00 1C 28 00 00 00 00 00 FF 0F 59 [18:26:43]RasterBufferAndPrint [18:26:43]line Счет N : (3)35116 [18:26:43]line ИНН: 02508201610067 [18:26:43]line Контрольно-Кассовый Чек [18:26:43]line ПРОДАЖА [18:26:43]line Товар: 4670003190051 [18:26:43]line Антифриз SIBIRIA ANTIFREEZE ОЖ40 крас 1л [18:26:43]line 1.000 * 225.00 [18:26:43]line = 225.00 [18:26:43]line НДС 12% НСП 1% [18:26:43]line > о реализуемом товаре [18:26:43]line ИТОГО: 225.00 [18:26:43]line НСП 1% : 1.99 [18:26:43]line НДС 12% : 23.89 [18:26:43]line Наличными: 225.00 [18:26:43]line Безнал.: 0.00 [18:26:43]line Место: АЗС № 126 "Партнер Нефть" [18:26:43]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [18:26:43]line СНО: Общий режим [18:26:43]line Чек 60 28.10.2024 18:26 [18:26:43]line Смена: 551 ФФД: 1.0 [18:26:43]line ЗНМ: 0300000092 [18:26:43]line РНМ: 0000000000091684 [18:26:43]line Версия ККМ: 001 [18:26:43]line ФМ: 0000000000871841 [18:26:43]line ФД: 37817 [18:26:43]line ФПД: 83394984165791 [18:26:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T182650&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37817&fm=83394984165791&tin=02508201610067®Number=0000000000091684&sum=22500 [18:26:43]OFD Sender: Processing packet 37817 [packets to send 42, broken 41] [18:26:43]ProducePacketName [18:26:43]name=ofd_packets/00037817 [18:26:43]OFD Sender: To server: pG, [18:26:43]CommunicateWithHost lk.salyk.kg:30040 [18:26:43]ConnectInit lk.salyk.kg [18:26:43]line 0 [18:26:43]written 0, free lines is 4095 [18:26:43]Connected sock=10 [18:26:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3D 01 00 00 98 22 35 01 88 F1 5A 03 01 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 6A D7 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B9 93 00 00 35 04 06 00 4B D8 E8 68 41 9F A8 72 E7 74 FE AB 1A D7 [18:26:43]Write to MH i2c: 01 00 00 45 28 6D [18:26:43]Write i2c OK [18:26:43]MH_I2C_Read... [18:26:43]Read from MH i2c: 01 [18:26:43]MH_I2C_Read... [18:26:43]Read from MH i2c: 01 07 00 [18:26:43]MH_I2C_Read... [18:26:43]Read from MH i2c: 01 07 00 45 28 00 00 00 00 00 C2 0C 42 [18:26:43]RasterBufferAndPrint [18:26:43]line [18:26:43]line [18:26:43]line [18:26:43]line [18:26:43]line [18:26:43]written 0, free lines is 3272 [18:26:43]MH_Cut [18:26:43]Write to MH i2c: D1 01 00 4C 28 01 46 [18:26:43]Write i2c OK [18:26:43]MH_I2C_Read... [18:26:43]Read from MH i2c: D1 [18:26:43]MH_I2C_Read... [18:26:43]Read from MH i2c: D1 01 00 [18:26:43]MH_I2C_Read... [18:26:43]Read from MH i2c: D1 01 00 4C 28 00 45 [18:26:43]Write to MH i2c: 01 00 00 4D 28 75 [18:26:43]Write i2c OK [18:26:43]MH_I2C_Read... [18:26:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 C9 DD 47 00 9A DD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 B9 93 00 00 F4 03 04 00 5E 82 1F 67 B6 04 01 00 00 62 DC C4 5D E6 CB 6E 25 [18:26:44]CommunicateWithHost err = 0 [18:26:44]CheckOFDResponse [18:26:44]1017 (14) - 77093643461234 [18:26:44]1041 (16) - 0000000000871841 [18:26:44]1040 (4) - 37817 [18:26:44]1012 (4) - 28.10.2024 12:23 [18:26:44]1206 (1) - 0 [18:26:44]OFD Sender: Remove packet 37817 [18:26:44]ProducePacketName [18:26:44]name=ofd_packets/00037817 [18:26:44]NVStorageDeleteData [18:26:44]*** Cut start [18:26:44]*** Partial cut [18:26:44]*** CUTSNS_PIN = 1 [18:26:44]*** CUTSNS_PIN = 0 [18:26:44]OFD Sender: No OFD packet to send [18:26:45]*** Brake cut motor [18:26:45]Read from MH i2c: 01 [18:26:45]MH_I2C_Read... [18:26:45]*** Stop cut motor [18:26:45]*** Cut end [18:26:45]Read from MH i2c: 01 07 00 [18:26:45]MH_I2C_Read... [18:26:45]Read from MH i2c: 01 07 00 4D 28 00 00 00 00 00 FF 0F 8A [18:26:45]process_action close_receipt done [18:26:45]requested_data is exist [18:26:45]produce_requested_data [18:26:45]requested_item fm.sn is exist - process it [18:26:45]wFMCommunicate request_size=4 [18:26:45]MH_SAM_APDU [18:26:45]CAPDU: 80 11 00 00 [18:26:45]Write to MH i2c: E2 08 00 4E 28 80 11 00 00 00 00 00 00 F0 [18:26:45]Write i2c OK [18:26:45]MH_I2C_Read... [18:26:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:26:45]Read from MH i2c: E2 [18:26:45]MH_I2C_Read... [18:26:45]Read from MH i2c: E2 17 00 [18:26:45]MH_I2C_Read... [18:26:45]Read from MH i2c: E2 17 00 4E 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 40 [18:26:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:26:45]wFMCommunicate OK [18:26:45]requested_item fd.num is exist - process it [18:26:45]SAM_PROTO_GetFieldsCounters [18:26:45]wFMCommunicate request_size=4 [18:26:45]MH_SAM_APDU [18:26:45]CAPDU: 80 13 00 00 [18:26:45]Write to MH i2c: E2 08 00 4F 28 80 13 00 00 00 00 00 00 F3 [18:26:45]Write i2c OK [18:26:45]MH_I2C_Read... [18:26:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:26:45]Read from MH i2c: E2 [18:26:45]MH_I2C_Read... [18:26:45]Read from MH i2c: E2 62 00 [18:26:45]MH_I2C_Read... [18:26:45]Read from MH i2c: E2 62 00 4F 28 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 B9 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 3D [18:26:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 B9 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:26:45]wFMCommunicate OK [18:26:45]SAM_PROTO_GetFieldsCounters done [18:26:45]requested_item shift.num is exist - process it [18:26:45]requested_item shift.opened is exist - process it [18:26:45]req_shift_opened [18:26:45]FM_GetShiftState [18:26:45]SAM_PROTO_GetShiftState [18:26:45]wFMCommunicate request_size=4 [18:26:45]MH_SAM_APDU [18:26:45]CAPDU: 80 13 01 00 [18:26:45]Write to MH i2c: E2 08 00 50 28 80 13 01 00 00 00 00 00 F5 [18:26:45]Write i2c OK [18:26:45]MH_I2C_Read... [18:26:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:26:45]Read from MH i2c: E2 [18:26:45]MH_I2C_Read... [18:26:45]Read from MH i2c: E2 0E 00 [18:26:45]MH_I2C_Read... [18:26:45]Read from MH i2c: E2 0E 00 50 28 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 77 [18:26:45]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [18:26:45]wFMCommunicate OK [18:26:45]SAM_PROTO_GetShiftState done [18:26:45]FM_GetShiftState done [18:26:45]req_shift_opened done [18:26:45]requested_item shift.open_date is exist - process it [18:26:45]req_shift_open_date [18:26:45]req_shift_open_date done [18:26:45]produce_requested_data done [18:26:45]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37817,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [18:26:45]process_action_free close_receipt [18:26:45]json_value_free [18:26:45]json_value_free done [18:26:45]process_json_proto returns [18:26:45]Send response to host [18:26:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37817,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [18:26:45]free response buf [18:26:45]execute_script done [18:26:45]execute_script returns [18:26:45]free content buf [18:26:45]Sock 7.Close socket [18:26:45]Sock 7.Thread stoped [18:26:49]OFD Sender: No OFD packet to send [18:26:54]OFD Sender: No OFD packet to send [18:26:59]OFD Sender: No OFD packet to send [18:27:04]OFD Sender: No OFD packet to send [18:27:09]OFD Sender: No OFD packet to send [18:27:14]OFD Sender: No OFD packet to send [18:27:19]OFD Sender: No OFD packet to send [18:27:24]OFD Sender: No OFD packet to send [18:27:29]OFD Sender: No OFD packet to send [18:27:34]OFD Sender: No OFD packet to send [18:27:39]OFD Sender: No OFD packet to send [18:27:44]OFD Sender: No OFD packet to send [18:27:49]OFD Sender: No OFD packet to send [18:27:54]OFD Sender: No OFD packet to send [18:27:59]OFD Sender: No OFD packet to send [18:28:04]OFD Sender: No OFD packet to send [18:28:09]OFD Sender: No OFD packet to send [18:28:14]OFD Sender: No OFD packet to send [18:28:19]OFD Sender: No OFD packet to send [18:28:24]OFD Sender: No OFD packet to send [18:28:29]OFD Sender: No OFD packet to send [18:28:34]OFD Sender: No OFD packet to send [18:28:39]OFD Sender: No OFD packet to send [18:28:44]OFD Sender: No OFD packet to send [18:28:49]OFD Sender: No OFD packet to send [18:28:54]OFD Sender: No OFD packet to send [18:28:59]OFD Sender: No OFD packet to send [18:29:05]OFD Sender: No OFD packet to send [18:29:10]OFD Sender: No OFD packet to send [18:29:15]OFD Sender: No OFD packet to send [18:29:20]OFD Sender: No OFD packet to send [18:29:25]OFD Sender: No OFD packet to send [18:29:30]OFD Sender: No OFD packet to send [18:29:35]OFD Sender: No OFD packet to send [18:29:40]OFD Sender: No OFD packet to send [18:29:45]OFD Sender: No OFD packet to send [18:29:50]OFD Sender: No OFD packet to send [18:29:55]OFD Sender: No OFD packet to send [18:30:00]OFD Sender: No OFD packet to send [18:30:05]OFD Sender: No OFD packet to send [18:30:10]OFD Sender: No OFD packet to send [18:30:15]OFD Sender: No OFD packet to send [18:30:20]OFD Sender: No OFD packet to send [18:30:25]OFD Sender: No OFD packet to send [18:30:30]OFD Sender: No OFD packet to send [18:30:35]OFD Sender: No OFD packet to send [18:30:40]OFD Sender: No OFD packet to send [18:30:45]OFD Sender: No OFD packet to send [18:30:50]OFD Sender: No OFD packet to send [18:30:55]OFD Sender: No OFD packet to send [18:31:00]OFD Sender: No OFD packet to send [18:31:05]OFD Sender: No OFD packet to send [18:31:10]OFD Sender: No OFD packet to send [18:31:15]OFD Sender: No OFD packet to send [18:31:20]OFD Sender: No OFD packet to send [18:31:25]OFD Sender: No OFD packet to send [18:31:30]OFD Sender: No OFD packet to send [18:31:35]OFD Sender: No OFD packet to send [18:31:40]OFD Sender: No OFD packet to send [18:31:45]OFD Sender: No OFD packet to send [18:31:50]OFD Sender: No OFD packet to send [18:31:55]OFD Sender: No OFD packet to send [18:32:00]OFD Sender: No OFD packet to send [18:32:05]OFD Sender: No OFD packet to send [18:32:10]OFD Sender: No OFD packet to send [18:32:15]OFD Sender: No OFD packet to send [18:32:20]OFD Sender: No OFD packet to send [18:32:25]OFD Sender: No OFD packet to send [18:32:30]OFD Sender: No OFD packet to send [18:32:35]OFD Sender: No OFD packet to send [18:32:40]OFD Sender: No OFD packet to send [18:32:45]OFD Sender: No OFD packet to send [18:32:50]OFD Sender: No OFD packet to send [18:32:55]OFD Sender: No OFD packet to send [18:33:00]OFD Sender: No OFD packet to send [18:33:05]OFD Sender: No OFD packet to send [18:33:10]OFD Sender: No OFD packet to send [18:33:15]OFD Sender: No OFD packet to send [18:33:20]OFD Sender: No OFD packet to send [18:33:25]OFD Sender: No OFD packet to send [18:33:30]OFD Sender: No OFD packet to send [18:33:35]OFD Sender: No OFD packet to send [18:33:40]OFD Sender: No OFD packet to send [18:33:45]OFD Sender: No OFD packet to send [18:33:50]OFD Sender: No OFD packet to send [18:33:55]OFD Sender: No OFD packet to send [18:34:00]OFD Sender: No OFD packet to send [18:34:05]OFD Sender: No OFD packet to send [18:34:10]OFD Sender: No OFD packet to send [18:34:15]OFD Sender: No OFD packet to send [18:34:20]OFD Sender: No OFD packet to send [18:34:25]OFD Sender: No OFD packet to send [18:34:30]OFD Sender: No OFD packet to send [18:34:35]OFD Sender: No OFD packet to send [18:34:40]OFD Sender: No OFD packet to send [18:34:45]OFD Sender: No OFD packet to send [18:34:50]OFD Sender: No OFD packet to send [18:34:55]OFD Sender: No OFD packet to send [18:35:00]OFD Sender: No OFD packet to send [18:35:05]OFD Sender: No OFD packet to send [18:35:10]OFD Sender: No OFD packet to send [18:35:15]OFD Sender: No OFD packet to send [18:35:20]OFD Sender: No OFD packet to send [18:35:25]OFD Sender: No OFD packet to send [18:35:30]OFD Sender: No OFD packet to send [18:35:35]OFD Sender: No OFD packet to send [18:35:40]OFD Sender: No OFD packet to send [18:35:45]OFD Sender: No OFD packet to send [18:35:50]OFD Sender: No OFD packet to send [18:35:55]OFD Sender: No OFD packet to send [18:36:00]OFD Sender: No OFD packet to send [18:36:05]OFD Sender: No OFD packet to send [18:36:10]OFD Sender: No OFD packet to send [18:36:15]OFD Sender: No OFD packet to send [18:36:20]OFD Sender: No OFD packet to send [18:36:25]OFD Sender: No OFD packet to send [18:36:30]OFD Sender: No OFD packet to send [18:36:35]OFD Sender: No OFD packet to send [18:36:40]OFD Sender: No OFD packet to send [18:36:45]OFD Sender: No OFD packet to send [18:36:50]OFD Sender: No OFD packet to send [18:36:55]OFD Sender: No OFD packet to send [18:37:00]OFD Sender: No OFD packet to send [18:37:05]OFD Sender: No OFD packet to send [18:37:10]OFD Sender: No OFD packet to send [18:37:15]OFD Sender: No OFD packet to send [18:37:20]OFD Sender: No OFD packet to send [18:37:25]OFD Sender: No OFD packet to send [18:37:30]OFD Sender: No OFD packet to send [18:37:35]OFD Sender: No OFD packet to send [18:37:40]OFD Sender: No OFD packet to send [18:37:45]OFD Sender: No OFD packet to send [18:37:50]OFD Sender: No OFD packet to send [18:37:55]OFD Sender: No OFD packet to send [18:38:00]OFD Sender: No OFD packet to send [18:38:05]OFD Sender: No OFD packet to send [18:38:10]OFD Sender: No OFD packet to send [18:38:15]OFD Sender: No OFD packet to send [18:38:20]OFD Sender: No OFD packet to send [18:38:25]OFD Sender: No OFD packet to send [18:38:30]OFD Sender: No OFD packet to send [18:38:35]OFD Sender: No OFD packet to send [18:38:40]OFD Sender: No OFD packet to send [18:38:45]OFD Sender: No OFD packet to send [18:38:50]OFD Sender: No OFD packet to send [18:38:55]OFD Sender: No OFD packet to send [18:39:00]OFD Sender: No OFD packet to send [18:39:05]OFD Sender: No OFD packet to send [18:39:10]OFD Sender: No OFD packet to send [18:39:15]OFD Sender: No OFD packet to send [18:39:20]OFD Sender: No OFD packet to send [18:39:25]OFD Sender: No OFD packet to send [18:39:30]OFD Sender: No OFD packet to send [18:39:35]OFD Sender: No OFD packet to send [18:39:40]OFD Sender: No OFD packet to send [18:39:45]OFD Sender: No OFD packet to send [18:39:50]OFD Sender: No OFD packet to send [18:39:55]OFD Sender: No OFD packet to send [18:40:00]OFD Sender: No OFD packet to send [18:40:05]OFD Sender: No OFD packet to send [18:40:10]OFD Sender: No OFD packet to send [18:40:15]OFD Sender: No OFD packet to send [18:40:20]OFD Sender: No OFD packet to send [18:40:25]OFD Sender: No OFD packet to send [18:40:30]OFD Sender: No OFD packet to send [18:40:35]OFD Sender: No OFD packet to send [18:40:40]OFD Sender: No OFD packet to send [18:40:45]OFD Sender: No OFD packet to send [18:40:50]OFD Sender: No OFD packet to send [18:40:55]OFD Sender: No OFD packet to send [18:41:00]OFD Sender: No OFD packet to send [18:41:05]OFD Sender: No OFD packet to send [18:41:10]OFD Sender: No OFD packet to send [18:41:15]OFD Sender: No OFD packet to send [18:41:20]OFD Sender: No OFD packet to send [18:41:25]OFD Sender: No OFD packet to send [18:41:30]OFD Sender: No OFD packet to send [18:41:35]OFD Sender: No OFD packet to send [18:41:40]OFD Sender: No OFD packet to send [18:41:45]OFD Sender: No OFD packet to send [18:41:50]OFD Sender: No OFD packet to send [18:41:55]OFD Sender: No OFD packet to send [18:42:00]OFD Sender: No OFD packet to send [18:42:05]OFD Sender: No OFD packet to send [18:42:10]OFD Sender: No OFD packet to send [18:42:15]OFD Sender: No OFD packet to send [18:42:20]OFD Sender: No OFD packet to send [18:42:25]OFD Sender: No OFD packet to send [18:42:30]OFD Sender: No OFD packet to send [18:42:35]OFD Sender: No OFD packet to send [18:42:40]OFD Sender: No OFD packet to send [18:42:45]OFD Sender: No OFD packet to send [18:42:50]OFD Sender: No OFD packet to send [18:42:55]OFD Sender: No OFD packet to send [18:43:00]OFD Sender: No OFD packet to send [18:43:05]OFD Sender: No OFD packet to send [18:43:10]OFD Sender: No OFD packet to send [18:43:15]OFD Sender: No OFD packet to send [18:43:20]OFD Sender: No OFD packet to send [18:43:25]OFD Sender: No OFD packet to send [18:43:30]OFD Sender: No OFD packet to send [18:43:35]OFD Sender: No OFD packet to send [18:43:40]OFD Sender: No OFD packet to send [18:43:45]OFD Sender: No OFD packet to send [18:43:50]OFD Sender: No OFD packet to send [18:43:55]OFD Sender: No OFD packet to send [18:44:00]OFD Sender: No OFD packet to send [18:44:05]OFD Sender: No OFD packet to send [18:44:10]OFD Sender: No OFD packet to send [18:44:15]OFD Sender: No OFD packet to send [18:44:20]OFD Sender: No OFD packet to send [18:44:25]OFD Sender: No OFD packet to send [18:44:30]OFD Sender: No OFD packet to send [18:44:35]OFD Sender: No OFD packet to send [18:44:40]OFD Sender: No OFD packet to send [18:44:45]OFD Sender: No OFD packet to send [18:44:50]OFD Sender: No OFD packet to send [18:44:55]OFD Sender: No OFD packet to send [18:45:00]OFD Sender: No OFD packet to send [18:45:05]OFD Sender: No OFD packet to send [18:45:10]OFD Sender: No OFD packet to send [18:45:15]OFD Sender: No OFD packet to send [18:45:20]OFD Sender: No OFD packet to send [18:45:25]OFD Sender: No OFD packet to send [18:45:30]OFD Sender: No OFD packet to send [18:45:35]OFD Sender: No OFD packet to send [18:45:40]OFD Sender: No OFD packet to send [18:45:45]OFD Sender: No OFD packet to send [18:45:50]OFD Sender: No OFD packet to send [18:45:55]OFD Sender: No OFD packet to send [18:46:00]OFD Sender: No OFD packet to send [18:46:05]OFD Sender: No OFD packet to send [18:46:10]OFD Sender: No OFD packet to send [18:46:15]OFD Sender: No OFD packet to send [18:46:20]OFD Sender: No OFD packet to send [18:46:25]OFD Sender: No OFD packet to send [18:46:30]OFD Sender: No OFD packet to send [18:46:35]OFD Sender: No OFD packet to send [18:46:40]OFD Sender: No OFD packet to send [18:46:45]OFD Sender: No OFD packet to send [18:46:50]OFD Sender: No OFD packet to send [18:46:55]OFD Sender: No OFD packet to send [18:47:00]OFD Sender: No OFD packet to send [18:47:05]OFD Sender: No OFD packet to send [18:47:10]OFD Sender: No OFD packet to send [18:47:15]OFD Sender: No OFD packet to send [18:47:20]OFD Sender: No OFD packet to send [18:47:25]OFD Sender: No OFD packet to send [18:47:30]OFD Sender: No OFD packet to send [18:47:35]OFD Sender: No OFD packet to send [18:47:41]OFD Sender: No OFD packet to send [18:47:46]OFD Sender: No OFD packet to send [18:47:51]OFD Sender: No OFD packet to send [18:47:56]OFD Sender: No OFD packet to send [18:48:01]OFD Sender: No OFD packet to send [18:48:06]OFD Sender: No OFD packet to send [18:48:11]OFD Sender: No OFD packet to send [18:48:16]OFD Sender: No OFD packet to send [18:48:17]accept exits with 9 [18:48:17]New connection [18:48:17]New thread 3067297124 created [18:48:17]Thread 3067440484 joined [18:48:17]Waiting for new connection... [18:48:17] Sock 9.Parse request [18:48:17]Sock 9.Check first char [18:48:17]Sock 9.First char is OK [18:48:17]request: POST /json_proto HTTP/1.0 [18:48:17]Method: POST [18:48:17]URL: /json_proto [18:48:17]Method is POST - this is cgi request [18:48:17]url: /json_proto [18:48:17]query_string will be loaded in cgi processing [18:48:17]execute_cgi json_proto POST (null) [18:48:17]execute_cgi path=json_proto method=POST [18:48:17]POST find Content-Length [18:48:17]Host: 172.17.40.196:8080 [18:48:17]Content-Length: 649 [18:48:17]Content-Type: application/json [18:48:17] [18:48:17]POST finish read [18:48:17]Found Content-Length = 649 [18:48:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35117", "tax_sys" : 0, "items" : [ { "code": "5903111735517", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 WIND FRESH ( ocean)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:48:17]execute_script... [18:48:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35117", "tax_sys" : 0, "items" : [ { "code": "5903111735517", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 WIND FRESH ( ocean)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:48:17]POST & json_proto [18:48:17]process_json_proto [18:48:17]json parsed OK: [18:48:17]protocol is kg_v1.0 [18:48:17]action value=close_receipt [18:48:17]process_action close_receipt [18:48:17]cmd_close_receipt [18:48:17]MH_GetDate [18:48:17]Write to MH i2c: F0 00 00 51 28 68 [18:48:17]Write i2c OK [18:48:17]MH_I2C_Read... [18:48:17]Read from MH i2c: F0 [18:48:17]MH_I2C_Read... [18:48:17]Read from MH i2c: F0 09 00 [18:48:17]MH_I2C_Read... [18:48:17]Read from MH i2c: F0 09 00 51 28 00 7A DC 1F 67 5B 68 A1 66 17 [18:48:17]GetLastDocTimeStamp 1730140010 [18:48:17]current date 1730141306 [18:48:17]FM_GetShiftState [18:48:17]SAM_PROTO_GetShiftState [18:48:17]wFMCommunicate request_size=4 [18:48:17]MH_SAM_APDU [18:48:17]CAPDU: 80 13 01 00 [18:48:17]Write to MH i2c: E2 08 00 52 28 80 13 01 00 00 00 00 00 F7 [18:48:17]Write i2c OK [18:48:17]MH_I2C_Read... [18:48:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:48:17]Read from MH i2c: E2 [18:48:17]MH_I2C_Read... [18:48:17]Read from MH i2c: E2 0E 00 [18:48:17]MH_I2C_Read... [18:48:17]Read from MH i2c: E2 0E 00 52 28 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 79 [18:48:17]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [18:48:17]wFMCommunicate OK [18:48:17]SAM_PROTO_GetShiftState done [18:48:17]FM_GetShiftState done [18:48:17]opened in 1730073884 [18:48:17]opened+sec_in_day 1730160284 [18:48:17]quantity*price = 11500 [18:48:17]sum+1 = 11501 [18:48:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 61 28.10.2024 18:48 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37818 ФПД: 200718712127427 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T184826&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37818&fm=200718712127427&tin=02508201610067®Number=0000000000091684&sum=11500 0 [18:48:18]StoreToDocumentArchive [18:48:18]shift 551 fd 37818 [18:48:18]save to /storage/0551/doc_00037818 [18:48:18]save last doc name /storage/0551/doc_00037818 to /storage/kkm_last_doc_name [18:48:18]save OK [18:48:18]Clear old archive folders... [18:48:18]ProcessDocumentItem done err = 0, tmpTLVsize=286 [18:48:18]tlvbuf is 00230500 [18:48:18]SAM_PROTO_ClearQueue [18:48:18]wFMCommunicate request_size=4 [18:48:18]MH_SAM_APDU [18:48:18]CAPDU: 80 09 00 00 [18:48:18]Write to MH i2c: E2 08 00 5F 28 80 09 00 00 00 00 00 00 F9 [18:48:18]Write i2c OK [18:48:18]MH_I2C_Read... [18:48:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:48:18]Read from MH i2c: E2 [18:48:18]MH_I2C_Read... [18:48:18]Read from MH i2c: E2 03 00 [18:48:18]MH_I2C_Read... [18:48:18]Read from MH i2c: E2 03 00 5F 28 00 90 00 FB [18:48:18]RAPDU: 90 00 [18:48:18]wFMCommunicate OK [18:48:18]SAM_PROTO_ClearQueue done [18:48:18]KKMCreateOFDPacket [18:48:18]OFDProtocolAddRootSTLVToBuf [18:48:18]FM_MakeSignedData [18:48:18]FM_MakeSignedData [18:48:18]SAM_PROTO_SignData [18:48:18]wFMCommunicate request_size=4 [18:48:18]MH_SAM_APDU [18:48:18]CAPDU: 80 0D 01 02 [18:48:18]Write to MH i2c: E2 08 00 60 28 80 0D 01 02 00 00 00 00 01 [18:48:18]Write i2c OK [18:48:18]MH_I2C_Read... [18:48:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:48:18]Read from MH i2c: E2 [18:48:18]MH_I2C_Read... [18:48:18]Read from MH i2c: E2 03 00 [18:48:18]MH_I2C_Read... [18:48:18]Read from MH i2c: E2 03 00 60 28 00 90 00 FC [18:48:18]RAPDU: 90 00 [18:48:18]wFMCommunicate OK [18:48:18]wFMCommunicate request_size=255 [18:48:18]MH_SAM_APDU [18:48:18]CAPDU: 80 0D 02 02 FA 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 35 39 30 33 31 31 31 37 33 35 35 31 37 06 04 2C 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 6F 63 65 61 6E 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 7A DC 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 [18:48:18]Write to MH i2c: E2 02 01 61 28 80 0D 02 02 FA 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 35 39 30 33 31 31 31 37 33 35 35 31 37 06 04 2C 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 6F 63 65 61 6E 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 7A DC 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 00 00 3E [18:48:18]Write i2c OK [18:48:18]MH_I2C_Read... [18:48:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:48:18]Read from MH i2c: E2 [18:48:18]MH_I2C_Read... [18:48:18]Read from MH i2c: E2 03 00 [18:48:18]MH_I2C_Read... [18:48:18]Read from MH i2c: E2 03 00 61 28 00 90 00 FD [18:48:18]RAPDU: 90 00 [18:48:18]wFMCommunicate OK [18:48:18]wFMCommunicate request_size=45 [18:48:18]MH_SAM_APDU [18:48:18]CAPDU: 80 0D 02 02 28 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BA 93 00 00 35 04 06 00 B6 8D 77 89 3F C3 [18:48:18]Write to MH i2c: E2 30 00 62 28 80 0D 02 02 28 00 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BA 93 00 00 35 04 06 00 B6 8D 77 89 3F C3 00 00 EB [18:48:18]Write i2c OK [18:48:18]MH_I2C_Read... [18:48:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:48:19]Read from MH i2c: E2 [18:48:19]MH_I2C_Read... [18:48:19]Read from MH i2c: E2 03 00 [18:48:19]MH_I2C_Read... [18:48:19]Read from MH i2c: E2 03 00 62 28 00 90 00 FE [18:48:19]RAPDU: 90 00 [18:48:19]wFMCommunicate OK [18:48:19]wFMCommunicate request_size=4 [18:48:19]MH_SAM_APDU [18:48:19]CAPDU: 80 0D 03 02 [18:48:19]Write to MH i2c: E2 08 00 63 28 80 0D 03 02 00 00 00 00 06 [18:48:19]Write i2c OK [18:48:19]MH_I2C_Read... [18:48:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:48:19]Read from MH i2c: E2 [18:48:19]MH_I2C_Read... [18:48:19]Read from MH i2c: E2 0B 00 [18:48:19]MH_I2C_Read... [18:48:19]Read from MH i2c: E2 0B 00 63 28 00 B8 5F 18 54 C9 93 4F 40 90 00 75 [18:48:19]RAPDU: B8 5F 18 54 C9 93 4F 40 90 00 [18:48:19]wFMCommunicate OK [18:48:19]SAM_PROTO_SignData done [18:48:19]FM_MakeSignedData done [18:48:19]CreateOFDProtocolMessage [18:48:19]wFMCommunicate request_size=4 [18:48:19]MH_SAM_APDU [18:48:19]CAPDU: 80 11 00 00 [18:48:19]Write to MH i2c: E2 08 00 64 28 80 11 00 00 00 00 00 00 06 [18:48:19]Write i2c OK [18:48:19]MH_I2C_Read... [18:48:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:48:19]Read from MH i2c: E2 [18:48:19]MH_I2C_Read... [18:48:19]Read from MH i2c: E2 17 00 [18:48:19]MH_I2C_Read... [18:48:19]Read from MH i2c: E2 17 00 64 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 56 [18:48:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:48:19]wFMCommunicate OK [18:48:19]CreateOFDProtocolMessage done [18:48:19]OFDSenderStorePacket 37818 [18:48:19]StoreOFDPacket docnum=37818 [18:48:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 32 01 00 00 BA 27 2A 01 51 DD 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 35 39 30 33 31 31 31 37 33 35 35 31 37 06 04 2C 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 6F 63 65 61 6E 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 7A DC 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BA 93 00 00 35 04 06 00 B6 8D 77 89 3F C3 B8 5F 18 54 C9 93 4F 40 [18:48:19]CheckFolder [18:48:19]dirname=/storage/ofd_packets [18:48:19]CheckFolder done [18:48:19]ProducePacketName [18:48:19]name=ofd_packets/00037818 [18:48:19]NVStorageSaveData ofd_packets/00037818 [18:48:19]File name is /storage/ofd_packets/00037818 [18:48:19]Write 336 bytes [18:48:19]NVStorageSaveData done [18:48:19]OFDSenderStorePacket done [18:48:19]KKMCreateOFDPacket done [18:48:19]NVStorageSaveData kkm_last_timestamp [18:48:19]File name is /storage/kkm_last_timestamp [18:48:19]Write 4 bytes [18:48:19]NVStorageSaveData done [18:48:19]ExternCall_PrintAddStr [18:48:19]wPrintStart [18:48:19]Write to MH i2c: 01 00 00 65 28 8D [18:48:19]Write i2c OK [18:48:19]MH_I2C_Read... [18:48:19]Read from MH i2c: 01 [18:48:19]MH_I2C_Read... [18:48:19]Read from MH i2c: 01 07 00 [18:48:19]MH_I2C_Read... [18:48:19]Read from MH i2c: 01 07 00 65 28 00 00 00 00 00 FF 0F A2 [18:48:19]RasterBufferAndPrint [18:48:19]line Счет N : (3)35117 [18:48:19]line ИНН: 02508201610067 [18:48:19]line Контрольно-Кассовый Чек [18:48:19]line ПРОДАЖА [18:48:19]line Товар: 5903111735517 [18:48:19]line Ароматизатор WIND FRESH ( ocean) [18:48:19]line 1.000 * 115.00 [18:48:19]line = 115.00 [18:48:19]line НДС 12% НСП 1% [18:48:19]line > о реализуемом товаре [18:48:19]line ИТОГО: 115.00 [18:48:19]line НСП 1% : 1.02 [18:48:19]line НДС 12% : 12.21 [18:48:19]line Наличными: 115.00 [18:48:19]line Безнал.: 0.00 [18:48:19]line Место: АЗС № 126 "Партнер Нефть" [18:48:19]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [18:48:19]line СНО: Общий режим [18:48:19]line Чек 61 28.10.2024 18:48 [18:48:19]line Смена: 551 ФФД: 1.0 [18:48:19]line ЗНМ: 0300000092 [18:48:19]line РНМ: 0000000000091684 [18:48:19]line Версия ККМ: 001 [18:48:19]line ФМ: 0000000000871841 [18:48:19]line ФД: 37818 [18:48:19]line ФПД: 200718712127427 [18:48:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T184826&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37818&fm=200718712127427&tin=02508201610067®Number=0000000000091684&sum=11500 [18:48:19]line 0 [18:48:19]OFD Sender: Processing packet 37818 [packets to send 42, broken 41] [18:48:19]ProducePacketName [18:48:19]name=ofd_packets/00037818 [18:48:19]OFD Sender: To server: pG, [18:48:19]CommunicateWithHost lk.salyk.kg:30040 [18:48:19]ConnectInit lk.salyk.kg [18:48:19]written 0, free lines is 4095 [18:48:19]Connected sock=10 [18:48:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 32 01 00 00 BA 27 2A 01 51 DD 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 35 39 30 33 31 31 31 37 33 35 35 31 37 06 04 2C 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 6F 63 65 61 6E 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 7A DC 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BA 93 00 00 35 04 06 00 B6 8D 77 89 3F C3 B8 5F 18 54 C9 93 4F 40 [18:48:19]Write to MH i2c: 01 00 00 8E 28 B6 [18:48:19]Write i2c OK [18:48:19]MH_I2C_Read... [18:48:19]Read from MH i2c: 01 [18:48:19]MH_I2C_Read... [18:48:19]Read from MH i2c: 01 07 00 [18:48:19]MH_I2C_Read... [18:48:19]Read from MH i2c: 01 07 00 8E 28 00 00 00 00 00 AB 0C 74 [18:48:19]RasterBufferAndPrint [18:48:19]line [18:48:19]line [18:48:19]line [18:48:19]line [18:48:19]line [18:48:19]written 0, free lines is 3247 [18:48:19]MH_Cut [18:48:19]Write to MH i2c: D1 01 00 95 28 01 8F [18:48:19]Write i2c OK [18:48:19]MH_I2C_Read... [18:48:19]Read from MH i2c: D1 [18:48:19]MH_I2C_Read... [18:48:19]Read from MH i2c: D1 01 00 [18:48:19]MH_I2C_Read... [18:48:19]Read from MH i2c: D1 01 00 95 28 00 8E [18:48:19]Write to MH i2c: 01 00 00 96 28 BE [18:48:19]Write i2c OK [18:48:19]MH_I2C_Read... [18:48:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 87 11 47 00 73 75 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BA 93 00 00 F4 03 04 00 6E 87 1F 67 B6 04 01 00 00 93 13 2E A0 AE 8C E6 EE [18:48:20]CommunicateWithHost err = 0 [18:48:20]CheckOFDResponse [18:48:20]1017 (14) - 77093643461234 [18:48:20]1041 (16) - 0000000000871841 [18:48:20]1040 (4) - 37818 [18:48:20]1012 (4) - 28.10.2024 12:45 [18:48:20]1206 (1) - 0 [18:48:20]OFD Sender: Remove packet 37818 [18:48:20]ProducePacketName [18:48:20]name=ofd_packets/00037818 [18:48:20]NVStorageDeleteData [18:48:20]OFD Sender: No OFD packet to send [18:48:20]*** Cut start [18:48:20]*** Partial cut [18:48:20]*** CUTSNS_PIN = 1 [18:48:20]*** CUTSNS_PIN = 0 [18:48:21]*** Brake cut motor [18:48:21]Read from MH i2c: 01 [18:48:21]MH_I2C_Read... [18:48:21]*** Stop cut motor [18:48:21]*** Cut end [18:48:21]Read from MH i2c: 01 07 00 [18:48:21]MH_I2C_Read... [18:48:21]Read from MH i2c: 01 07 00 96 28 00 00 00 00 00 FF 0F D3 [18:48:21]process_action close_receipt done [18:48:21]requested_data is exist [18:48:21]produce_requested_data [18:48:21]requested_item fm.sn is exist - process it [18:48:21]wFMCommunicate request_size=4 [18:48:21]MH_SAM_APDU [18:48:21]CAPDU: 80 11 00 00 [18:48:21]Write to MH i2c: E2 08 00 97 28 80 11 00 00 00 00 00 00 39 [18:48:21]Write i2c OK [18:48:21]MH_I2C_Read... [18:48:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:48:21]Read from MH i2c: E2 [18:48:21]MH_I2C_Read... [18:48:21]Read from MH i2c: E2 17 00 [18:48:21]MH_I2C_Read... [18:48:21]Read from MH i2c: E2 17 00 97 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 89 [18:48:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:48:21]wFMCommunicate OK [18:48:21]requested_item fd.num is exist - process it [18:48:21]SAM_PROTO_GetFieldsCounters [18:48:21]wFMCommunicate request_size=4 [18:48:21]MH_SAM_APDU [18:48:21]CAPDU: 80 13 00 00 [18:48:21]Write to MH i2c: E2 08 00 98 28 80 13 00 00 00 00 00 00 3C [18:48:21]Write i2c OK [18:48:21]MH_I2C_Read... [18:48:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:48:21]Read from MH i2c: E2 [18:48:21]MH_I2C_Read... [18:48:21]Read from MH i2c: E2 62 00 [18:48:21]MH_I2C_Read... [18:48:21]Read from MH i2c: E2 62 00 98 28 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 BA 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 8A [18:48:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 BA 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:48:21]wFMCommunicate OK [18:48:21]SAM_PROTO_GetFieldsCounters done [18:48:21]requested_item shift.num is exist - process it [18:48:21]requested_item shift.opened is exist - process it [18:48:21]req_shift_opened [18:48:21]FM_GetShiftState [18:48:21]SAM_PROTO_GetShiftState [18:48:21]wFMCommunicate request_size=4 [18:48:21]MH_SAM_APDU [18:48:21]CAPDU: 80 13 01 00 [18:48:21]Write to MH i2c: E2 08 00 99 28 80 13 01 00 00 00 00 00 3E [18:48:21]Write i2c OK [18:48:21]MH_I2C_Read... [18:48:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:48:21]Read from MH i2c: E2 [18:48:21]MH_I2C_Read... [18:48:21]Read from MH i2c: E2 0E 00 [18:48:21]MH_I2C_Read... [18:48:21]Read from MH i2c: E2 0E 00 99 28 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 C0 [18:48:21]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [18:48:21]wFMCommunicate OK [18:48:21]SAM_PROTO_GetShiftState done [18:48:21]FM_GetShiftState done [18:48:21]req_shift_opened done [18:48:21]requested_item shift.open_date is exist - process it [18:48:21]req_shift_open_date [18:48:21]req_shift_open_date done [18:48:21]produce_requested_data done [18:48:21]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37818,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [18:48:21]process_action_free close_receipt [18:48:21]json_value_free [18:48:21]json_value_free done [18:48:21]process_json_proto returns [18:48:21]Send response to host [18:48:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37818,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [18:48:21]free response buf [18:48:21]execute_script done [18:48:21]execute_script returns [18:48:21]free content buf [18:48:21]Sock 9.Close socket [18:48:21]Sock 9.Thread stoped [18:48:25]OFD Sender: No OFD packet to send [18:48:30]OFD Sender: No OFD packet to send [18:48:35]OFD Sender: No OFD packet to send [18:48:40]OFD Sender: No OFD packet to send [18:48:45]OFD Sender: No OFD packet to send [18:48:50]OFD Sender: No OFD packet to send [18:48:55]OFD Sender: No OFD packet to send [18:49:00]OFD Sender: No OFD packet to send [18:49:05]OFD Sender: No OFD packet to send [18:49:10]OFD Sender: No OFD packet to send [18:49:15]OFD Sender: No OFD packet to send [18:49:20]OFD Sender: No OFD packet to send [18:49:25]OFD Sender: No OFD packet to send [18:49:30]OFD Sender: No OFD packet to send [18:49:35]OFD Sender: No OFD packet to send [18:49:40]OFD Sender: No OFD packet to send [18:49:45]OFD Sender: No OFD packet to send [18:49:50]OFD Sender: No OFD packet to send [18:49:55]OFD Sender: No OFD packet to send [18:50:00]OFD Sender: No OFD packet to send [18:50:05]OFD Sender: No OFD packet to send [18:50:10]OFD Sender: No OFD packet to send [18:50:15]OFD Sender: No OFD packet to send [18:50:20]OFD Sender: No OFD packet to send [18:50:25]OFD Sender: No OFD packet to send [18:50:30]OFD Sender: No OFD packet to send [18:50:35]OFD Sender: No OFD packet to send [18:50:40]OFD Sender: No OFD packet to send [18:50:45]OFD Sender: No OFD packet to send [18:50:50]OFD Sender: No OFD packet to send [18:50:55]OFD Sender: No OFD packet to send [18:51:00]OFD Sender: No OFD packet to send [18:51:05]OFD Sender: No OFD packet to send [18:51:10]OFD Sender: No OFD packet to send [18:51:15]OFD Sender: No OFD packet to send [18:51:20]OFD Sender: No OFD packet to send [18:51:25]OFD Sender: No OFD packet to send [18:51:30]OFD Sender: No OFD packet to send [18:51:35]OFD Sender: No OFD packet to send [18:51:40]OFD Sender: No OFD packet to send [18:51:45]OFD Sender: No OFD packet to send [18:51:50]OFD Sender: No OFD packet to send [18:51:55]OFD Sender: No OFD packet to send [18:52:00]OFD Sender: No OFD packet to send [18:52:05]OFD Sender: No OFD packet to send [18:52:10]OFD Sender: No OFD packet to send [18:52:15]OFD Sender: No OFD packet to send [18:52:20]OFD Sender: No OFD packet to send [18:52:25]OFD Sender: No OFD packet to send [18:52:30]OFD Sender: No OFD packet to send [18:52:35]OFD Sender: No OFD packet to send [18:52:40]OFD Sender: No OFD packet to send [18:52:45]OFD Sender: No OFD packet to send [18:52:50]OFD Sender: No OFD packet to send [18:52:55]OFD Sender: No OFD packet to send [18:53:00]OFD Sender: No OFD packet to send [18:53:05]OFD Sender: No OFD packet to send [18:53:10]OFD Sender: No OFD packet to send [18:53:15]OFD Sender: No OFD packet to send [18:53:20]OFD Sender: No OFD packet to send [18:53:25]OFD Sender: No OFD packet to send [18:53:30]OFD Sender: No OFD packet to send [18:53:35]OFD Sender: No OFD packet to send [18:53:40]OFD Sender: No OFD packet to send [18:53:45]OFD Sender: No OFD packet to send [18:53:50]OFD Sender: No OFD packet to send [18:53:55]OFD Sender: No OFD packet to send [18:54:00]OFD Sender: No OFD packet to send [18:54:05]OFD Sender: No OFD packet to send [18:54:11]OFD Sender: No OFD packet to send [18:54:16]OFD Sender: No OFD packet to send [18:54:21]OFD Sender: No OFD packet to send [18:54:26]OFD Sender: No OFD packet to send [18:54:31]OFD Sender: No OFD packet to send [18:54:36]OFD Sender: No OFD packet to send [18:54:41]OFD Sender: No OFD packet to send [18:54:46]OFD Sender: No OFD packet to send [18:54:51]OFD Sender: No OFD packet to send [18:54:56]OFD Sender: No OFD packet to send [18:55:01]OFD Sender: No OFD packet to send [18:55:06]OFD Sender: No OFD packet to send [18:55:11]OFD Sender: No OFD packet to send [18:55:16]OFD Sender: No OFD packet to send [18:55:21]OFD Sender: No OFD packet to send [18:55:26]OFD Sender: No OFD packet to send [18:55:31]OFD Sender: No OFD packet to send [18:55:36]OFD Sender: No OFD packet to send [18:55:41]OFD Sender: No OFD packet to send [18:55:46]OFD Sender: No OFD packet to send [18:55:51]OFD Sender: No OFD packet to send [18:55:56]OFD Sender: No OFD packet to send [18:56:00]accept exits with 7 [18:56:00]New connection [18:56:00]New thread 3067440484 created [18:56:00]Thread 3067297124 joined [18:56:00]Waiting for new connection... [18:56:00] Sock 7.Parse request [18:56:00]Sock 7.Check first char [18:56:00]Sock 7.First char is OK [18:56:00]request: POST /json_proto HTTP/1.0 [18:56:00]Method: POST [18:56:00]URL: /json_proto [18:56:00]Method is POST - this is cgi request [18:56:00]url: /json_proto [18:56:00]query_string will be loaded in cgi processing [18:56:00]execute_cgi json_proto POST (null) [18:56:00]execute_cgi path=json_proto method=POST [18:56:00]POST find Content-Length [18:56:00]Host: 172.17.40.196:8080 [18:56:00]Content-Length: 772 [18:56:00]Content-Type: application/json [18:56:00] [18:56:00]POST finish read [18:56:00]Found Content-Length = 772 [18:56:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35118", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.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" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:56:00]execute_script... [18:56:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35118", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.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" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:56:00]POST & json_proto [18:56:00]process_json_proto [18:56:00]json parsed OK: [18:56:00]protocol is kg_v1.0 [18:56:00]action value=close_receipt [18:56:00]process_action close_receipt [18:56:00]cmd_close_receipt [18:56:00]MH_GetDate [18:56:00]Write to MH i2c: F0 00 00 9A 28 B1 [18:56:00]Write i2c OK [18:56:00]MH_I2C_Read... [18:56:00]Read from MH i2c: F0 [18:56:00]MH_I2C_Read... [18:56:00]Read from MH i2c: F0 09 00 [18:56:00]MH_I2C_Read... [18:56:00]Read from MH i2c: F0 09 00 9A 28 00 49 DE 1F 67 5B 68 A1 66 31 [18:56:00]GetLastDocTimeStamp 1730141306 [18:56:00]current date 1730141769 [18:56:00]FM_GetShiftState [18:56:00]SAM_PROTO_GetShiftState [18:56:00]wFMCommunicate request_size=4 [18:56:00]MH_SAM_APDU [18:56:00]CAPDU: 80 13 01 00 [18:56:00]Write to MH i2c: E2 08 00 9B 28 80 13 01 00 00 00 00 00 40 [18:56:00]Write i2c OK [18:56:00]MH_I2C_Read... [18:56:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:56:00]Read from MH i2c: E2 [18:56:00]MH_I2C_Read... [18:56:00]Read from MH i2c: E2 0E 00 [18:56:00]MH_I2C_Read... [18:56:00]Read from MH i2c: E2 0E 00 9B 28 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 C2 [18:56:00]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [18:56:00]wFMCommunicate OK [18:56:00]SAM_PROTO_GetShiftState done [18:56:00]FM_GetShiftState done [18:56:00]opened in 1730073884 [18:56:00]opened+sec_in_day 1730160284 [18:56:00]quantity*price = 13000 [18:56:00]sum+1 = 13001 [18:56:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 62 28.10.2024 18:56 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37819 ФПД: 68838433544987 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T185609&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37819&fm=68838433544987&tin=02508201610067®Number=0000000000091684&sum=13000 0 [18:56:01]StoreToDocumentArchive [18:56:01]shift 551 fd 37819 [18:56:01]save to /storage/0551/doc_00037819 [18:56:01]save last doc name /storage/0551/doc_00037819 to /storage/kkm_last_doc_name [18:56:01]save OK [18:56:01]Clear old archive folders... [18:56:01]ProcessDocumentItem done err = 0, tmpTLVsize=282 [18:56:01]tlvbuf is 002301C0 [18:56:01]SAM_PROTO_ClearQueue [18:56:01]wFMCommunicate request_size=4 [18:56:01]MH_SAM_APDU [18:56:01]CAPDU: 80 09 00 00 [18:56:01]Write to MH i2c: E2 08 00 A8 28 80 09 00 00 00 00 00 00 42 [18:56:01]Write i2c OK [18:56:01]MH_I2C_Read... [18:56:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:56:01]Read from MH i2c: E2 [18:56:01]MH_I2C_Read... [18:56:01]Read from MH i2c: E2 03 00 [18:56:01]MH_I2C_Read... [18:56:01]Read from MH i2c: E2 03 00 A8 28 00 90 00 44 [18:56:01]RAPDU: 90 00 [18:56:01]wFMCommunicate OK [18:56:01]SAM_PROTO_ClearQueue done [18:56:01]KKMCreateOFDPacket [18:56:01]OFDProtocolAddRootSTLVToBuf [18:56:01]FM_MakeSignedData [18:56:01]FM_MakeSignedData [18:56:01]SAM_PROTO_SignData [18:56:01]wFMCommunicate request_size=4 [18:56:01]MH_SAM_APDU [18:56:01]CAPDU: 80 0D 01 02 [18:56:01]Write to MH i2c: E2 08 00 A9 28 80 0D 01 02 00 00 00 00 4A [18:56:01]Write i2c OK [18:56:01]MH_I2C_Read... [18:56:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:56:01]Read from MH i2c: E2 [18:56:01]MH_I2C_Read... [18:56:01]Read from MH i2c: E2 03 00 [18:56:01]MH_I2C_Read... [18:56:01]Read from MH i2c: E2 03 00 A9 28 00 90 00 45 [18:56:01]RAPDU: 90 00 [18:56:01]wFMCommunicate OK [18:56:01]wFMCommunicate request_size=255 [18:56:01]MH_SAM_APDU [18:56:01]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 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 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 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 49 DE 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 [18:56:01]Write to MH i2c: E2 02 01 AA 28 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 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 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 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 49 DE 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 00 00 70 [18:56:01]Write i2c OK [18:56:01]MH_I2C_Read... [18:56:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:56:01]Read from MH i2c: E2 [18:56:01]MH_I2C_Read... [18:56:01]Read from MH i2c: E2 03 00 [18:56:01]MH_I2C_Read... [18:56:01]Read from MH i2c: E2 03 00 AA 28 00 90 00 46 [18:56:01]RAPDU: 90 00 [18:56:01]wFMCommunicate OK [18:56:01]wFMCommunicate request_size=41 [18:56:01]MH_SAM_APDU [18:56:01]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BB 93 00 00 35 04 06 00 3E 9B B2 60 DB 1B [18:56:01]Write to MH i2c: E2 2C 00 AB 28 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BB 93 00 00 35 04 06 00 3E 9B B2 60 DB 1B 00 00 48 [18:56:01]Write i2c OK [18:56:01]MH_I2C_Read... [18:56:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:56:02]Read from MH i2c: E2 [18:56:02]MH_I2C_Read... [18:56:02]Read from MH i2c: E2 03 00 [18:56:02]MH_I2C_Read... [18:56:02]Read from MH i2c: E2 03 00 AB 28 00 90 00 47 [18:56:02]RAPDU: 90 00 [18:56:02]wFMCommunicate OK [18:56:02]wFMCommunicate request_size=4 [18:56:02]MH_SAM_APDU [18:56:02]CAPDU: 80 0D 03 02 [18:56:02]Write to MH i2c: E2 08 00 AC 28 80 0D 03 02 00 00 00 00 4F [18:56:02]Write i2c OK [18:56:02]MH_I2C_Read... [18:56:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:56:02]Read from MH i2c: E2 [18:56:02]MH_I2C_Read... [18:56:02]Read from MH i2c: E2 0B 00 [18:56:02]MH_I2C_Read... [18:56:02]Read from MH i2c: E2 0B 00 AC 28 00 70 FF 35 1B 3D 1A A2 EA 90 00 F2 [18:56:02]RAPDU: 70 FF 35 1B 3D 1A A2 EA 90 00 [18:56:02]wFMCommunicate OK [18:56:02]SAM_PROTO_SignData done [18:56:02]FM_MakeSignedData done [18:56:02]CreateOFDProtocolMessage [18:56:02]wFMCommunicate request_size=4 [18:56:02]MH_SAM_APDU [18:56:02]CAPDU: 80 11 00 00 [18:56:02]Write to MH i2c: E2 08 00 AD 28 80 11 00 00 00 00 00 00 4F [18:56:02]Write i2c OK [18:56:02]MH_I2C_Read... [18:56:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:56:02]Read from MH i2c: E2 [18:56:02]MH_I2C_Read... [18:56:02]Read from MH i2c: E2 17 00 [18:56:02]MH_I2C_Read... [18:56:02]Read from MH i2c: E2 17 00 AD 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 9F [18:56:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:56:02]wFMCommunicate OK [18:56:02]CreateOFDProtocolMessage done [18:56:02]OFDSenderStorePacket 37819 [18:56:02]StoreOFDPacket docnum=37819 [18:56:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 3D D6 26 01 59 45 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 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 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 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 49 DE 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BB 93 00 00 35 04 06 00 3E 9B B2 60 DB 1B 70 FF 35 1B 3D 1A A2 EA [18:56:02]CheckFolder [18:56:02]dirname=/storage/ofd_packets [18:56:02]CheckFolder done [18:56:02]ProducePacketName [18:56:02]name=ofd_packets/00037819 [18:56:02]NVStorageSaveData ofd_packets/00037819 [18:56:02]File name is /storage/ofd_packets/00037819 [18:56:02]Write 332 bytes [18:56:02]NVStorageSaveData done [18:56:02]OFDSenderStorePacket done [18:56:02]KKMCreateOFDPacket done [18:56:02]NVStorageSaveData kkm_last_timestamp [18:56:02]File name is /storage/kkm_last_timestamp [18:56:02]Write 4 bytes [18:56:02]NVStorageSaveData done [18:56:02]ExternCall_PrintAddStr [18:56:02]wPrintStart [18:56:02]Write to MH i2c: 01 00 00 AE 28 D6 [18:56:02]Write i2c OK [18:56:02]MH_I2C_Read... [18:56:02]Read from MH i2c: 01 [18:56:02]MH_I2C_Read... [18:56:02]Read from MH i2c: 01 07 00 [18:56:02]MH_I2C_Read... [18:56:02]Read from MH i2c: 01 07 00 AE 28 00 00 00 00 00 FF 0F EB [18:56:02]RasterBufferAndPrint [18:56:02]line Счет N : (3)35118 [18:56:02]line ИНН: 02508201610067 [18:56:02]line Контрольно-Кассовый Чек [18:56:02]line ПРОДАЖА [18:56:02]line Товар: 2000036220012 [18:56:02]line Кофе Капучино XL(GABB TRADE) [18:56:02]line 1.000 * 130.00 [18:56:02]line = 130.00 [18:56:02]line НДС 12% НСП 1% [18:56:02]line > о реализуемом товаре [18:56:02]line ИТОГО: 130.00 [18:56:02]line НСП 1% : 1.15 [18:56:02]line НДС 12% : 13.80 [18:56:02]line Наличными: 0.00 [18:56:02]line Безнал.: 130.00 [18:56:02]line Место: АЗС № 126 "Партнер Нефть" [18:56:02]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [18:56:02]line СНО: Общий режим [18:56:02]line Чек 62 28.10.2024 18:56 [18:56:02]line Смена: 551 ФФД: 1.0 [18:56:02]line ЗНМ: 0300000092 [18:56:02]line РНМ: 0000000000091684 [18:56:02]line Версия ККМ: 001 [18:56:02]line Платежная система: Mbank [18:56:02]line ФМ: 0000000000871841 [18:56:02]line ФД: 37819 [18:56:02]line ФПД: 68838433544987 [18:56:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T185609&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37819&fm=68838433544987&tin=02508201610067®Number=0000000000091684&sum=13000 [18:56:02]line 0 [18:56:02]written 0, free lines is 4095 [18:56:02]OFD Sender: Processing packet 37819 [packets to send 42, broken 41] [18:56:02]ProducePacketName [18:56:02]name=ofd_packets/00037819 [18:56:02]OFD Sender: To server: pG, [18:56:02]CommunicateWithHost lk.salyk.kg:30040 [18:56:02]ConnectInit lk.salyk.kg [18:56:02]Connected sock=10 [18:56:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 3D D6 26 01 59 45 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 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 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 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 49 DE 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BB 93 00 00 35 04 06 00 3E 9B B2 60 DB 1B 70 FF 35 1B 3D 1A A2 EA [18:56:02]Write to MH i2c: 01 00 00 D8 28 00 [18:56:02]Write i2c OK [18:56:02]MH_I2C_Read... [18:56:02]Read from MH i2c: 01 [18:56:02]MH_I2C_Read... [18:56:02]Read from MH i2c: 01 07 00 [18:56:02]MH_I2C_Read... [18:56:02]Read from MH i2c: 01 07 00 D8 28 00 00 00 00 00 B9 0C CC [18:56:02]RasterBufferAndPrint [18:56:02]line [18:56:02]line [18:56:02]line [18:56:02]line [18:56:02]line [18:56:02]written 0, free lines is 3265 [18:56:02]MH_Cut [18:56:02]Write to MH i2c: D1 01 00 DF 28 01 D9 [18:56:02]Write i2c OK [18:56:02]MH_I2C_Read... [18:56:02]Read from MH i2c: D1 [18:56:02]MH_I2C_Read... [18:56:02]Read from MH i2c: D1 01 00 [18:56:02]MH_I2C_Read... [18:56:02]Read from MH i2c: D1 01 00 DF 28 00 D8 [18:56:02]Write to MH i2c: 01 00 00 E0 28 08 [18:56:02]Write i2c OK [18:56:02]MH_I2C_Read... [18:56:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 D8 48 47 00 73 B1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BB 93 00 00 F4 03 04 00 3D 89 1F 67 B6 04 01 00 00 1E 89 53 55 54 16 F3 E8 [18:56:03]CommunicateWithHost err = 0 [18:56:03]CheckOFDResponse [18:56:03]1017 (14) - 77093643461234 [18:56:03]1041 (16) - 0000000000871841 [18:56:03]1040 (4) - 37819 [18:56:03]1012 (4) - 28.10.2024 12:53 [18:56:03]1206 (1) - 0 [18:56:03]OFD Sender: Remove packet 37819 [18:56:03]ProducePacketName [18:56:03]name=ofd_packets/00037819 [18:56:03]NVStorageDeleteData [18:56:03]OFD Sender: No OFD packet to send [18:56:03]*** Cut start [18:56:03]*** Partial cut [18:56:03]*** CUTSNS_PIN = 1 [18:56:03]*** CUTSNS_PIN = 0 [18:56:04]*** Brake cut motor [18:56:04]Read from MH i2c: 01 [18:56:04]MH_I2C_Read... [18:56:04]*** Stop cut motor [18:56:04]*** Cut end [18:56:04]Read from MH i2c: 01 07 00 [18:56:04]MH_I2C_Read... [18:56:04]Read from MH i2c: 01 07 00 E0 28 00 00 00 00 00 FF 0F 1D [18:56:04]process_action close_receipt done [18:56:04]requested_data is exist [18:56:04]produce_requested_data [18:56:04]requested_item fm.sn is exist - process it [18:56:04]wFMCommunicate request_size=4 [18:56:04]MH_SAM_APDU [18:56:04]CAPDU: 80 11 00 00 [18:56:04]Write to MH i2c: E2 08 00 E1 28 80 11 00 00 00 00 00 00 83 [18:56:04]Write i2c OK [18:56:04]MH_I2C_Read... [18:56:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:56:04]Read from MH i2c: E2 [18:56:04]MH_I2C_Read... [18:56:04]Read from MH i2c: E2 17 00 [18:56:04]MH_I2C_Read... [18:56:04]Read from MH i2c: E2 17 00 E1 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D3 [18:56:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:56:04]wFMCommunicate OK [18:56:04]requested_item fd.num is exist - process it [18:56:04]SAM_PROTO_GetFieldsCounters [18:56:04]wFMCommunicate request_size=4 [18:56:04]MH_SAM_APDU [18:56:04]CAPDU: 80 13 00 00 [18:56:04]Write to MH i2c: E2 08 00 E2 28 80 13 00 00 00 00 00 00 86 [18:56:04]Write i2c OK [18:56:04]MH_I2C_Read... [18:56:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:56:04]Read from MH i2c: E2 [18:56:04]MH_I2C_Read... [18:56:04]Read from MH i2c: E2 62 00 [18:56:04]MH_I2C_Read... [18:56:04]Read from MH i2c: E2 62 00 E2 28 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 BB 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 D8 [18:56:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 BB 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:56:04]wFMCommunicate OK [18:56:04]SAM_PROTO_GetFieldsCounters done [18:56:04]requested_item shift.num is exist - process it [18:56:04]requested_item shift.opened is exist - process it [18:56:04]req_shift_opened [18:56:04]FM_GetShiftState [18:56:04]SAM_PROTO_GetShiftState [18:56:04]wFMCommunicate request_size=4 [18:56:04]MH_SAM_APDU [18:56:04]CAPDU: 80 13 01 00 [18:56:04]Write to MH i2c: E2 08 00 E3 28 80 13 01 00 00 00 00 00 88 [18:56:04]Write i2c OK [18:56:04]MH_I2C_Read... [18:56:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:56:04]Read from MH i2c: E2 [18:56:04]MH_I2C_Read... [18:56:04]Read from MH i2c: E2 0E 00 [18:56:04]MH_I2C_Read... [18:56:04]Read from MH i2c: E2 0E 00 E3 28 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 0A [18:56:04]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [18:56:04]wFMCommunicate OK [18:56:04]SAM_PROTO_GetShiftState done [18:56:04]FM_GetShiftState done [18:56:04]req_shift_opened done [18:56:04]requested_item shift.open_date is exist - process it [18:56:04]req_shift_open_date [18:56:04]req_shift_open_date done [18:56:04]produce_requested_data done [18:56:04]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37819,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [18:56:04]process_action_free close_receipt [18:56:04]json_value_free [18:56:04]json_value_free done [18:56:04]process_json_proto returns [18:56:04]Send response to host [18:56:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37819,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [18:56:04]free response buf [18:56:04]execute_script done [18:56:04]execute_script returns [18:56:04]free content buf [18:56:04]Sock 7.Close socket [18:56:04]Sock 7.Thread stoped [18:56:08]OFD Sender: No OFD packet to send [18:56:13]OFD Sender: No OFD packet to send [18:56:18]OFD Sender: No OFD packet to send [18:56:23]OFD Sender: No OFD packet to send [18:56:28]OFD Sender: No OFD packet to send [18:56:33]OFD Sender: No OFD packet to send [18:56:38]OFD Sender: No OFD packet to send [18:56:43]OFD Sender: No OFD packet to send [18:56:48]OFD Sender: No OFD packet to send [18:56:53]OFD Sender: No OFD packet to send [18:56:58]OFD Sender: No OFD packet to send [18:57:03]OFD Sender: No OFD packet to send [18:57:08]OFD Sender: No OFD packet to send [18:57:13]OFD Sender: No OFD packet to send [18:57:18]OFD Sender: No OFD packet to send [18:57:23]OFD Sender: No OFD packet to send [18:57:28]OFD Sender: No OFD packet to send [18:57:33]OFD Sender: No OFD packet to send [18:57:38]OFD Sender: No OFD packet to send [18:57:43]OFD Sender: No OFD packet to send [18:57:48]OFD Sender: No OFD packet to send [18:57:53]OFD Sender: No OFD packet to send [18:57:58]OFD Sender: No OFD packet to send [18:58:03]OFD Sender: No OFD packet to send [18:58:08]OFD Sender: No OFD packet to send [18:58:13]OFD Sender: No OFD packet to send [18:58:18]OFD Sender: No OFD packet to send [18:58:23]OFD Sender: No OFD packet to send [18:58:28]OFD Sender: No OFD packet to send [18:58:31]accept exits with 9 [18:58:31]New connection [18:58:31]New thread 3067297124 created [18:58:31]Thread 3067440484 joined [18:58:31]Waiting for new connection... [18:58:31] Sock 9.Parse request [18:58:31]Sock 9.Check first char [18:58:31]Sock 9.First char is OK [18:58:31]request: POST /json_proto HTTP/1.0 [18:58:31]Method: POST [18:58:31]URL: /json_proto [18:58:31]Method is POST - this is cgi request [18:58:31]url: /json_proto [18:58:31]query_string will be loaded in cgi processing [18:58:31]execute_cgi json_proto POST (null) [18:58:31]execute_cgi path=json_proto method=POST [18:58:31]POST find Content-Length [18:58:31]Host: 172.17.40.196:8080 [18:58:31]Content-Length: 752 [18:58:31]Content-Type: application/json [18:58:31] [18:58:31]POST finish read [18:58:31]Found Content-Length = 752 [18:58:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35119", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.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" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:58:31]execute_script... [18:58:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35119", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.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" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:58:31]POST & json_proto [18:58:31]process_json_proto [18:58:31]json parsed OK: [18:58:31]protocol is kg_v1.0 [18:58:31]action value=close_receipt [18:58:31]process_action close_receipt [18:58:31]cmd_close_receipt [18:58:31]MH_GetDate [18:58:31]Write to MH i2c: F0 00 00 E4 28 FB [18:58:31]Write i2c OK [18:58:31]MH_I2C_Read... [18:58:31]Read from MH i2c: F0 [18:58:31]MH_I2C_Read... [18:58:31]Read from MH i2c: F0 09 00 [18:58:31]MH_I2C_Read... [18:58:31]Read from MH i2c: F0 09 00 E4 28 00 E0 DE 1F 67 5B 68 A1 66 12 [18:58:31]GetLastDocTimeStamp 1730141769 [18:58:31]current date 1730141920 [18:58:31]FM_GetShiftState [18:58:31]SAM_PROTO_GetShiftState [18:58:31]wFMCommunicate request_size=4 [18:58:31]MH_SAM_APDU [18:58:31]CAPDU: 80 13 01 00 [18:58:31]Write to MH i2c: E2 08 00 E5 28 80 13 01 00 00 00 00 00 8A [18:58:31]Write i2c OK [18:58:31]MH_I2C_Read... [18:58:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:58:31]Read from MH i2c: E2 [18:58:31]MH_I2C_Read... [18:58:31]Read from MH i2c: E2 0E 00 [18:58:31]MH_I2C_Read... [18:58:31]Read from MH i2c: E2 0E 00 E5 28 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 0C [18:58:31]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [18:58:31]wFMCommunicate OK [18:58:31]SAM_PROTO_GetShiftState done [18:58:31]FM_GetShiftState done [18:58:31]opened in 1730073884 [18:58:31]opened+sec_in_day 1730160284 [18:58:31]quantity*price = 11500 [18:58:31]sum+1 = 11501 [18:58:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 0.00 Безнал.: 115.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 63 28.10.2024 18:58 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37820 ФПД: 65053890692343 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T185840&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37820&fm=65053890692343&tin=02508201610067®Number=0000000000091684&sum=11500 0 [18:58:32]StoreToDocumentArchive [18:58:32]shift 551 fd 37820 [18:58:32]save to /storage/0551/doc_00037820 [18:58:32]save last doc name /storage/0551/doc_00037820 to /storage/kkm_last_doc_name [18:58:32]save OK [18:58:32]Clear old archive folders... [18:58:32]ProcessDocumentItem done err = 0, tmpTLVsize=274 [18:58:32]tlvbuf is 00314840 [18:58:32]SAM_PROTO_ClearQueue [18:58:32]wFMCommunicate request_size=4 [18:58:32]MH_SAM_APDU [18:58:32]CAPDU: 80 09 00 00 [18:58:32]Write to MH i2c: E2 08 00 F2 28 80 09 00 00 00 00 00 00 8C [18:58:32]Write i2c OK [18:58:32]MH_I2C_Read... [18:58:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:58:32]Read from MH i2c: E2 [18:58:32]MH_I2C_Read... [18:58:32]Read from MH i2c: E2 03 00 [18:58:32]MH_I2C_Read... [18:58:32]Read from MH i2c: E2 03 00 F2 28 00 90 00 8E [18:58:32]RAPDU: 90 00 [18:58:32]wFMCommunicate OK [18:58:32]SAM_PROTO_ClearQueue done [18:58:32]KKMCreateOFDPacket [18:58:32]OFDProtocolAddRootSTLVToBuf [18:58:32]FM_MakeSignedData [18:58:32]FM_MakeSignedData [18:58:32]SAM_PROTO_SignData [18:58:32]wFMCommunicate request_size=4 [18:58:32]MH_SAM_APDU [18:58:32]CAPDU: 80 0D 01 02 [18:58:32]Write to MH i2c: E2 08 00 F3 28 80 0D 01 02 00 00 00 00 94 [18:58:32]Write i2c OK [18:58:32]MH_I2C_Read... [18:58:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:58:32]Read from MH i2c: E2 [18:58:32]MH_I2C_Read... [18:58:32]Read from MH i2c: E2 03 00 [18:58:32]MH_I2C_Read... [18:58:32]Read from MH i2c: E2 03 00 F3 28 00 90 00 8F [18:58:32]RAPDU: 90 00 [18:58:32]wFMCommunicate OK [18:58:32]wFMCommunicate request_size=255 [18:58:32]MH_SAM_APDU [18:58:32]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 E0 DE 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 [18:58:32]Write to MH i2c: E2 02 01 F4 28 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 E0 DE 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 00 00 DF [18:58:32]Write i2c OK [18:58:32]MH_I2C_Read... [18:58:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:58:32]Read from MH i2c: E2 [18:58:32]MH_I2C_Read... [18:58:32]Read from MH i2c: E2 03 00 [18:58:32]MH_I2C_Read... [18:58:32]Read from MH i2c: E2 03 00 F4 28 00 90 00 90 [18:58:32]RAPDU: 90 00 [18:58:32]wFMCommunicate OK [18:58:32]wFMCommunicate request_size=33 [18:58:32]MH_SAM_APDU [18:58:32]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BC 93 00 00 35 04 06 00 3B 2A 8A 0B C4 F7 [18:58:32]Write to MH i2c: E2 24 00 F5 28 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BC 93 00 00 35 04 06 00 3B 2A 8A 0B C4 F7 00 00 27 [18:58:32]Write i2c OK [18:58:32]MH_I2C_Read... [18:58:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:58:33]Read from MH i2c: E2 [18:58:33]MH_I2C_Read... [18:58:33]Read from MH i2c: E2 03 00 [18:58:33]MH_I2C_Read... [18:58:33]Read from MH i2c: E2 03 00 F5 28 00 90 00 91 [18:58:33]RAPDU: 90 00 [18:58:33]wFMCommunicate OK [18:58:33]wFMCommunicate request_size=4 [18:58:33]MH_SAM_APDU [18:58:33]CAPDU: 80 0D 03 02 [18:58:33]Write to MH i2c: E2 08 00 F6 28 80 0D 03 02 00 00 00 00 99 [18:58:33]Write i2c OK [18:58:33]MH_I2C_Read... [18:58:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:58:33]Read from MH i2c: E2 [18:58:33]MH_I2C_Read... [18:58:33]Read from MH i2c: E2 0B 00 [18:58:33]MH_I2C_Read... [18:58:33]Read from MH i2c: E2 0B 00 F6 28 00 B9 92 39 E6 98 EC 3D 49 90 00 0E [18:58:33]RAPDU: B9 92 39 E6 98 EC 3D 49 90 00 [18:58:33]wFMCommunicate OK [18:58:33]SAM_PROTO_SignData done [18:58:33]FM_MakeSignedData done [18:58:33]CreateOFDProtocolMessage [18:58:33]wFMCommunicate request_size=4 [18:58:33]MH_SAM_APDU [18:58:33]CAPDU: 80 11 00 00 [18:58:33]Write to MH i2c: E2 08 00 F7 28 80 11 00 00 00 00 00 00 99 [18:58:33]Write i2c OK [18:58:33]MH_I2C_Read... [18:58:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:58:33]Read from MH i2c: E2 [18:58:33]MH_I2C_Read... [18:58:33]Read from MH i2c: E2 17 00 [18:58:33]MH_I2C_Read... [18:58:33]Read from MH i2c: E2 17 00 F7 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E9 [18:58:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:58:33]wFMCommunicate OK [18:58:33]CreateOFDProtocolMessage done [18:58:33]OFDSenderStorePacket 37820 [18:58:33]StoreOFDPacket docnum=37820 [18:58:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 34 F3 1E 01 03 65 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 E0 DE 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BC 93 00 00 35 04 06 00 3B 2A 8A 0B C4 F7 B9 92 39 E6 98 EC 3D 49 [18:58:33]CheckFolder [18:58:33]dirname=/storage/ofd_packets [18:58:33]CheckFolder done [18:58:33]ProducePacketName [18:58:33]name=ofd_packets/00037820 [18:58:33]NVStorageSaveData ofd_packets/00037820 [18:58:33]File name is /storage/ofd_packets/00037820 [18:58:33]Write 324 bytes [18:58:33]NVStorageSaveData done [18:58:33]OFDSenderStorePacket done [18:58:33]KKMCreateOFDPacket done [18:58:33]NVStorageSaveData kkm_last_timestamp [18:58:33]File name is /storage/kkm_last_timestamp [18:58:33]Write 4 bytes [18:58:33]NVStorageSaveData done [18:58:33]ExternCall_PrintAddStr [18:58:33]wPrintStart [18:58:33]Write to MH i2c: 01 00 00 F8 28 20 [18:58:33]Write i2c OK [18:58:33]MH_I2C_Read... [18:58:33]Read from MH i2c: 01 [18:58:33]MH_I2C_Read... [18:58:33]Read from MH i2c: 01 07 00 [18:58:33]MH_I2C_Read... [18:58:33]Read from MH i2c: 01 07 00 F8 28 00 00 00 00 00 FF 0F 35 [18:58:33]RasterBufferAndPrint [18:58:33]line Счет N : (3)35119 [18:58:33]line ИНН: 02508201610067 [18:58:33]line Контрольно-Кассовый Чек [18:58:33]line ПРОДАЖА [18:58:33]line Товар: 2000036240010 [18:58:33]line Кофе Латте (GABB TRADE) [18:58:33]line 1.000 * 115.00 [18:58:33]line = 115.00 [18:58:33]line НДС 12% НСП 1% [18:58:33]line > о реализуемом товаре [18:58:33]line ИТОГО: 115.00 [18:58:33]line НСП 1% : 1.02 [18:58:33]line НДС 12% : 12.21 [18:58:33]line Наличными: 0.00 [18:58:33]line Безнал.: 115.00 [18:58:33]line Место: АЗС № 126 "Партнер Нефть" [18:58:33]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [18:58:33]line СНО: Общий режим [18:58:33]line Чек 63 28.10.2024 18:58 [18:58:33]line Смена: 551 ФФД: 1.0 [18:58:33]line ЗНМ: 0300000092 [18:58:33]line РНМ: 0000000000091684 [18:58:33]line Версия ККМ: 001 [18:58:33]line Платежная система: Mbank [18:58:33]line ФМ: 0000000000871841 [18:58:33]line ФД: 37820 [18:58:33]line ФПД: 65053890692343 [18:58:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T185840&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37820&fm=65053890692343&tin=02508201610067®Number=0000000000091684&sum=11500 [18:58:33]OFD Sender: Processing packet 37820 [packets to send 42, broken 41] [18:58:33]ProducePacketName [18:58:33]name=ofd_packets/00037820 [18:58:33]OFD Sender: To server: pG, [18:58:33]CommunicateWithHost lk.salyk.kg:30040 [18:58:33]ConnectInit lk.salyk.kg [18:58:33]line 0 [18:58:33]written 0, free lines is 4095 [18:58:33]Write to MH i2c: 01 00 00 21 29 4A [18:58:33]Write i2c OK [18:58:33]MH_I2C_Read... [18:58:33]Read from MH i2c: 01 [18:58:33]MH_I2C_Read... [18:58:33]Read from MH i2c: 01 07 00 [18:58:33]MH_I2C_Read... [18:58:33]Read from MH i2c: 01 07 00 21 29 00 00 00 00 00 C4 0C 21 [18:58:33]RasterBufferAndPrint [18:58:33]line [18:58:33]line [18:58:33]line [18:58:33]line [18:58:33]line [18:58:33]written 0, free lines is 3273 [18:58:33]MH_Cut [18:58:33]Write to MH i2c: D1 01 00 28 29 01 23 [18:58:33]Write i2c OK [18:58:33]MH_I2C_Read... [18:58:33]Read from MH i2c: D1 [18:58:33]MH_I2C_Read... [18:58:33]Read from MH i2c: D1 01 00 [18:58:33]MH_I2C_Read... [18:58:33]Read from MH i2c: D1 01 00 28 29 00 22 [18:58:33]Write to MH i2c: 01 00 00 29 29 52 [18:58:33]Write i2c OK [18:58:33]MH_I2C_Read... [18:58:34]*** Cut start [18:58:34]*** Partial cut [18:58:34]*** CUTSNS_PIN = 1 [18:58:34]*** CUTSNS_PIN = 0 [18:58:35]*** Brake cut motor [18:58:35]Read from MH i2c: 01 [18:58:35]MH_I2C_Read... [18:58:35]*** Stop cut motor [18:58:35]*** Cut end [18:58:35]Read from MH i2c: 01 07 00 [18:58:35]MH_I2C_Read... [18:58:35]Read from MH i2c: 01 07 00 29 29 00 00 00 00 00 FF 0F 67 [18:58:35]process_action close_receipt done [18:58:35]requested_data is exist [18:58:35]produce_requested_data [18:58:35]requested_item fm.sn is exist - process it [18:58:35]wFMCommunicate request_size=4 [18:58:35]MH_SAM_APDU [18:58:35]CAPDU: 80 11 00 00 [18:58:35]Write to MH i2c: E2 08 00 2A 29 80 11 00 00 00 00 00 00 CD [18:58:35]Write i2c OK [18:58:35]MH_I2C_Read... [18:58:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:58:35]Read from MH i2c: E2 [18:58:35]MH_I2C_Read... [18:58:35]Read from MH i2c: E2 17 00 [18:58:35]MH_I2C_Read... [18:58:35]Read from MH i2c: E2 17 00 2A 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 1D [18:58:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:58:35]wFMCommunicate OK [18:58:35]requested_item fd.num is exist - process it [18:58:35]SAM_PROTO_GetFieldsCounters [18:58:35]wFMCommunicate request_size=4 [18:58:35]MH_SAM_APDU [18:58:35]CAPDU: 80 13 00 00 [18:58:35]Write to MH i2c: E2 08 00 2B 29 80 13 00 00 00 00 00 00 D0 [18:58:35]Write i2c OK [18:58:35]MH_I2C_Read... [18:58:35]Connected sock=11 [18:58: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 38 34 31 26 01 00 00 34 F3 1E 01 03 65 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 E0 DE 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BC 93 00 00 35 04 06 00 3B 2A 8A 0B C4 F7 B9 92 39 E6 98 EC 3D 49 [18:58:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:58:35]Read from MH i2c: E2 [18:58:35]MH_I2C_Read... [18:58:35]Read from MH i2c: E2 62 00 [18:58:35]MH_I2C_Read... [18:58:35]Read from MH i2c: E2 62 00 2B 29 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 BC 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 26 [18:58:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 BC 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:58:35]wFMCommunicate OK [18:58:35]SAM_PROTO_GetFieldsCounters done [18:58:35]requested_item shift.num is exist - process it [18:58:35]requested_item shift.opened is exist - process it [18:58:35]req_shift_opened [18:58:35]FM_GetShiftState [18:58:35]SAM_PROTO_GetShiftState [18:58:35]wFMCommunicate request_size=4 [18:58:35]MH_SAM_APDU [18:58:35]CAPDU: 80 13 01 00 [18:58:35]Write to MH i2c: E2 08 00 2C 29 80 13 01 00 00 00 00 00 D2 [18:58:35]Write i2c OK [18:58:35]MH_I2C_Read... [18:58:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:58:35]Read from MH i2c: E2 [18:58:35]MH_I2C_Read... [18:58:35]Read from MH i2c: E2 0E 00 [18:58:35]MH_I2C_Read... [18:58:35]Read from MH i2c: E2 0E 00 2C 29 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 54 [18:58:35]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [18:58:35]wFMCommunicate OK [18:58:35]SAM_PROTO_GetShiftState done [18:58:35]FM_GetShiftState done [18:58:35]req_shift_opened done [18:58:35]requested_item shift.open_date is exist - process it [18:58:35]req_shift_open_date [18:58:35]req_shift_open_date done [18:58:35]produce_requested_data done [18:58:35]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37820,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [18:58:35]process_action_free close_receipt [18:58:35]json_value_free [18:58:35]json_value_free done [18:58:35]process_json_proto returns [18:58:35]Send response to host [18:58:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37820,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [18:58:35]free response buf [18:58:35]execute_script done [18:58:35]execute_script returns [18:58:35]free content buf [18:58:35]Sock 9.Close socket [18:58:35]Sock 9.Thread stoped [18:58:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 40 75 47 00 F2 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 38 34 31 10 04 04 00 BC 93 00 00 F4 03 04 00 D6 89 1F 67 B6 04 01 00 00 10 DB 01 23 B8 99 FF 1F [18:58:35]CommunicateWithHost err = 0 [18:58:35]CheckOFDResponse [18:58:35]1017 (14) - 77093643461234 [18:58:35]1041 (16) - 0000000000871841 [18:58:35]1040 (4) - 37820 [18:58:35]1012 (4) - 28.10.2024 12:55 [18:58:35]1206 (1) - 0 [18:58:35]OFD Sender: Remove packet 37820 [18:58:35]ProducePacketName [18:58:35]name=ofd_packets/00037820 [18:58:35]NVStorageDeleteData [18:58:36]OFD Sender: No OFD packet to send [18:58:41]OFD Sender: No OFD packet to send [18:58:46]OFD Sender: No OFD packet to send [18:58:51]OFD Sender: No OFD packet to send [18:58:56]OFD Sender: No OFD packet to send [18:59:01]OFD Sender: No OFD packet to send [18:59:06]OFD Sender: No OFD packet to send [18:59:11]OFD Sender: No OFD packet to send [18:59:16]OFD Sender: No OFD packet to send [18:59:21]OFD Sender: No OFD packet to send [18:59:26]OFD Sender: No OFD packet to send [18:59:31]OFD Sender: No OFD packet to send [18:59:36]OFD Sender: No OFD packet to send [18:59:41]OFD Sender: No OFD packet to send [18:59:46]OFD Sender: No OFD packet to send [18:59:51]OFD Sender: No OFD packet to send [18:59:56]OFD Sender: No OFD packet to send [19:00:01]OFD Sender: No OFD packet to send [19:00:06]OFD Sender: No OFD packet to send [19:00:11]OFD Sender: No OFD packet to send [19:00:16]OFD Sender: No OFD packet to send [19:00:21]OFD Sender: No OFD packet to send [19:00:26]OFD Sender: No OFD packet to send [19:00:31]OFD Sender: No OFD packet to send [19:00:36]OFD Sender: No OFD packet to send [19:00:41]OFD Sender: No OFD packet to send [19:00:46]OFD Sender: No OFD packet to send [19:00:51]OFD Sender: No OFD packet to send [19:00:56]OFD Sender: No OFD packet to send [19:01:01]OFD Sender: No OFD packet to send [19:01:06]OFD Sender: No OFD packet to send [19:01:11]OFD Sender: No OFD packet to send [19:01:16]OFD Sender: No OFD packet to send [19:01:21]OFD Sender: No OFD packet to send [19:01:26]accept exits with 7 [19:01:26]New connection [19:01:26]New thread 3067440484 created [19:01:26]Thread 3067297124 joined [19:01:26]Waiting for new connection... [19:01:26] Sock 7.Parse request [19:01:26]Sock 7.Check first char [19:01:26]Sock 7.First char is OK [19:01:26]request: POST /json_proto HTTP/1.0 [19:01:26]Method: POST [19:01:26]URL: /json_proto [19:01:26]Method is POST - this is cgi request [19:01:26]url: /json_proto [19:01:26]query_string will be loaded in cgi processing [19:01:26]execute_cgi json_proto POST (null) [19:01:26]execute_cgi path=json_proto method=POST [19:01:26]POST find Content-Length [19:01:26]Host: 172.17.40.196:8080 [19:01:26]Content-Length: 649 [19:01:26]Content-Type: application/json [19:01:26] [19:01:26]POST finish read [19:01:26]Found Content-Length = 649 [19:01:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35120", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:01:26]execute_script... [19:01:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35120", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:01:26]POST & json_proto [19:01:26]process_json_proto [19:01:26]json parsed OK: [19:01:26]protocol is kg_v1.0 [19:01:26]action value=close_receipt [19:01:26]process_action close_receipt [19:01:26]cmd_close_receipt [19:01:26]MH_GetDate [19:01:26]Write to MH i2c: F0 00 00 2D 29 45 [19:01:26]Write i2c OK [19:01:26]MH_I2C_Read... [19:01:26]Read from MH i2c: F0 [19:01:26]MH_I2C_Read... [19:01:26]Read from MH i2c: F0 09 00 [19:01:26]MH_I2C_Read... [19:01:26]Read from MH i2c: F0 09 00 2D 29 00 8F DF 1F 67 5B 68 A1 66 0C [19:01:26]GetLastDocTimeStamp 1730141920 [19:01:26]current date 1730142095 [19:01:26]FM_GetShiftState [19:01:26]SAM_PROTO_GetShiftState [19:01:26]wFMCommunicate request_size=4 [19:01:26]MH_SAM_APDU [19:01:26]CAPDU: 80 13 01 00 [19:01:26]Write to MH i2c: E2 08 00 2E 29 80 13 01 00 00 00 00 00 D4 [19:01:26]Write i2c OK [19:01:26]MH_I2C_Read... [19:01:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:01:26]Read from MH i2c: E2 [19:01:26]MH_I2C_Read... [19:01:26]Read from MH i2c: E2 0E 00 [19:01:26]MH_I2C_Read... [19:01:26]Read from MH i2c: E2 0E 00 2E 29 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 56 [19:01:26]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [19:01:26]wFMCommunicate OK [19:01:26]SAM_PROTO_GetShiftState done [19:01:26]FM_GetShiftState done [19:01:26]opened in 1730073884 [19:01:26]opened+sec_in_day 1730160284 [19:01:26]quantity*price = 10500 [19:01:26]sum+1 = 10501 [19:01:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 64 28.10.2024 19:01 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37821 ФПД: 147387630367273 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T190135&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37821&fm=147387630367273&tin=02508201610067®Number=0000000000091684&sum=10500 0 [19:01:27]StoreToDocumentArchive [19:01:27]shift 551 fd 37821 [19:01:27]save to /storage/0551/doc_00037821 [19:01:27]save last doc name /storage/0551/doc_00037821 to /storage/kkm_last_doc_name [19:01:27]save OK [19:01:27]Clear old archive folders... [19:01:27]ProcessDocumentItem done err = 0, tmpTLVsize=282 [19:01:27]tlvbuf is 003269B0 [19:01:27]SAM_PROTO_ClearQueue [19:01:27]wFMCommunicate request_size=4 [19:01:27]MH_SAM_APDU [19:01:27]CAPDU: 80 09 00 00 [19:01:27]Write to MH i2c: E2 08 00 3B 29 80 09 00 00 00 00 00 00 D6 [19:01:27]Write i2c OK [19:01:27]MH_I2C_Read... [19:01:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:01:27]Read from MH i2c: E2 [19:01:27]MH_I2C_Read... [19:01:27]Read from MH i2c: E2 03 00 [19:01:27]MH_I2C_Read... [19:01:27]Read from MH i2c: E2 03 00 3B 29 00 90 00 D8 [19:01:27]RAPDU: 90 00 [19:01:27]wFMCommunicate OK [19:01:27]SAM_PROTO_ClearQueue done [19:01:27]KKMCreateOFDPacket [19:01:27]OFDProtocolAddRootSTLVToBuf [19:01:27]FM_MakeSignedData [19:01:27]FM_MakeSignedData [19:01:27]SAM_PROTO_SignData [19:01:27]wFMCommunicate request_size=4 [19:01:27]MH_SAM_APDU [19:01:27]CAPDU: 80 0D 01 02 [19:01:27]Write to MH i2c: E2 08 00 3C 29 80 0D 01 02 00 00 00 00 DE [19:01:27]Write i2c OK [19:01:27]MH_I2C_Read... [19:01:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:01:27]Read from MH i2c: E2 [19:01:27]MH_I2C_Read... [19:01:27]Read from MH i2c: E2 03 00 [19:01:27]MH_I2C_Read... [19:01:27]Read from MH i2c: E2 03 00 3C 29 00 90 00 D9 [19:01:27]RAPDU: 90 00 [19:01:27]wFMCommunicate OK [19:01:27]wFMCommunicate request_size=255 [19:01:27]MH_SAM_APDU [19:01:27]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 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 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 8F DF 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 [19:01:27]Write to MH i2c: E2 02 01 3D 29 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 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 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 8F DF 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 00 00 06 [19:01:27]Write i2c OK [19:01:27]MH_I2C_Read... [19:01:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:01:27]Read from MH i2c: E2 [19:01:27]MH_I2C_Read... [19:01:27]Read from MH i2c: E2 03 00 [19:01:27]MH_I2C_Read... [19:01:27]Read from MH i2c: E2 03 00 3D 29 00 90 00 DA [19:01:27]RAPDU: 90 00 [19:01:27]wFMCommunicate OK [19:01:27]wFMCommunicate request_size=41 [19:01:27]MH_SAM_APDU [19:01:27]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BD 93 00 00 35 04 06 00 86 0C 5B 5A 32 29 [19:01:27]Write to MH i2c: E2 2C 00 3E 29 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BD 93 00 00 35 04 06 00 86 0C 5B 5A 32 29 00 00 9F [19:01:27]Write i2c OK [19:01:27]MH_I2C_Read... [19:01:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:01:27]Read from MH i2c: E2 [19:01:27]MH_I2C_Read... [19:01:27]Read from MH i2c: E2 03 00 [19:01:27]MH_I2C_Read... [19:01:27]Read from MH i2c: E2 03 00 3E 29 00 90 00 DB [19:01:27]RAPDU: 90 00 [19:01:27]wFMCommunicate OK [19:01:27]wFMCommunicate request_size=4 [19:01:27]MH_SAM_APDU [19:01:27]CAPDU: 80 0D 03 02 [19:01:27]Write to MH i2c: E2 08 00 3F 29 80 0D 03 02 00 00 00 00 E3 [19:01:27]Write i2c OK [19:01:27]MH_I2C_Read... [19:01:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:01:27]Read from MH i2c: E2 [19:01:27]MH_I2C_Read... [19:01:27]Read from MH i2c: E2 0B 00 [19:01:28]MH_I2C_Read... [19:01:28]Read from MH i2c: E2 0B 00 3F 29 00 3D FC EC D5 66 D6 B2 2F 90 00 FB [19:01:28]RAPDU: 3D FC EC D5 66 D6 B2 2F 90 00 [19:01:28]wFMCommunicate OK [19:01:28]SAM_PROTO_SignData done [19:01:28]FM_MakeSignedData done [19:01:28]CreateOFDProtocolMessage [19:01:28]wFMCommunicate request_size=4 [19:01:28]MH_SAM_APDU [19:01:28]CAPDU: 80 11 00 00 [19:01:28]Write to MH i2c: E2 08 00 40 29 80 11 00 00 00 00 00 00 E3 [19:01:28]Write i2c OK [19:01:28]MH_I2C_Read... [19:01:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:01:28]Read from MH i2c: E2 [19:01:28]MH_I2C_Read... [19:01:28]Read from MH i2c: E2 17 00 [19:01:28]MH_I2C_Read... [19:01:28]Read from MH i2c: E2 17 00 40 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 33 [19:01:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:01:28]wFMCommunicate OK [19:01:28]CreateOFDProtocolMessage done [19:01:28]OFDSenderStorePacket 37821 [19:01:28]StoreOFDPacket docnum=37821 [19:01:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 7E A6 26 01 50 6D 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 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 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 8F DF 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BD 93 00 00 35 04 06 00 86 0C 5B 5A 32 29 3D FC EC D5 66 D6 B2 2F [19:01:28]CheckFolder [19:01:28]dirname=/storage/ofd_packets [19:01:28]CheckFolder done [19:01:28]ProducePacketName [19:01:28]name=ofd_packets/00037821 [19:01:28]NVStorageSaveData ofd_packets/00037821 [19:01:28]File name is /storage/ofd_packets/00037821 [19:01:28]Write 332 bytes [19:01:28]NVStorageSaveData done [19:01:28]OFDSenderStorePacket done [19:01:28]KKMCreateOFDPacket done [19:01:28]NVStorageSaveData kkm_last_timestamp [19:01:28]File name is /storage/kkm_last_timestamp [19:01:28]Write 4 bytes [19:01:28]NVStorageSaveData done [19:01:28]ExternCall_PrintAddStr [19:01:28]wPrintStart [19:01:28]Write to MH i2c: 01 00 00 41 29 6A [19:01:28]Write i2c OK [19:01:28]MH_I2C_Read... [19:01:28]Read from MH i2c: 01 [19:01:28]MH_I2C_Read... [19:01:28]Read from MH i2c: 01 07 00 [19:01:28]MH_I2C_Read... [19:01:28]Read from MH i2c: 01 07 00 41 29 00 00 00 00 00 FF 0F 7F [19:01:28]RasterBufferAndPrint [19:01:28]line Счет N : (3)35120 [19:01:28]line ИНН: 02508201610067 [19:01:28]line Контрольно-Кассовый Чек [19:01:28]line ПРОДАЖА [19:01:28]line Товар: 2000034730018 [19:01:28]line Кофе Американо (GABB TRADE) [19:01:28]line 1.000 * 105.00 [19:01:28]line = 105.00 [19:01:28]line НДС 12% НСП 1% [19:01:28]line > о реализуемом товаре [19:01:28]line ИТОГО: 105.00 [19:01:28]line НСП 1% : 0.93 [19:01:28]line НДС 12% : 11.15 [19:01:28]line Наличными: 105.00 [19:01:28]line Безнал.: 0.00 [19:01:28]line Место: АЗС № 126 "Партнер Нефть" [19:01:28]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [19:01:28]line СНО: Общий режим [19:01:28]line Чек 64 28.10.2024 19:01 [19:01:28]line Смена: 551 ФФД: 1.0 [19:01:28]line ЗНМ: 0300000092 [19:01:28]line РНМ: 0000000000091684 [19:01:28]line Версия ККМ: 001 [19:01:28]line ФМ: 0000000000871841 [19:01:28]line ФД: 37821 [19:01:28]line ФПД: 147387630367273 [19:01:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T190135&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37821&fm=147387630367273&tin=02508201610067®Number=0000000000091684&sum=10500 [19:01:28]OFD Sender: Processing packet 37821 [packets to send 42, broken 41] [19:01:28]ProducePacketName [19:01:28]name=ofd_packets/00037821 [19:01:28]OFD Sender: To server: pG, [19:01:28]CommunicateWithHost lk.salyk.kg:30040 [19:01:28]ConnectInit lk.salyk.kg [19:01:28]line 0 [19:01:28]written 0, free lines is 4095 [19:01:28]Connected sock=9 [19:01: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 38 34 31 2E 01 00 00 7E A6 26 01 50 6D 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 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 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 8F DF 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BD 93 00 00 35 04 06 00 86 0C 5B 5A 32 29 3D FC EC D5 66 D6 B2 2F [19:01:28]Write to MH i2c: 01 00 00 6A 29 93 [19:01:28]Write i2c OK [19:01:28]MH_I2C_Read... [19:01:28]Read from MH i2c: 01 [19:01:28]MH_I2C_Read... [19:01:28]Read from MH i2c: 01 07 00 [19:01:28]MH_I2C_Read... [19:01:28]Read from MH i2c: 01 07 00 6A 29 00 00 00 00 00 C0 0C 66 [19:01:28]RasterBufferAndPrint [19:01:28]line [19:01:28]line [19:01:28]line [19:01:28]line [19:01:28]line [19:01:28]written 0, free lines is 3268 [19:01:28]MH_Cut [19:01:28]Write to MH i2c: D1 01 00 71 29 01 6C [19:01:28]Write i2c OK [19:01:28]MH_I2C_Read... [19:01:28]Read from MH i2c: D1 [19:01:28]MH_I2C_Read... [19:01:28]Read from MH i2c: D1 01 00 [19:01:28]MH_I2C_Read... [19:01:28]Read from MH i2c: D1 01 00 71 29 00 6B [19:01:28]Write to MH i2c: 01 00 00 72 29 9B [19:01:28]Write i2c OK [19:01:28]MH_I2C_Read... [19:01:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 F6 3C 47 00 79 1F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BD 93 00 00 F4 03 04 00 83 8A 1F 67 B6 04 01 00 00 AB 10 B7 5C 19 CF 68 C5 [19:01:29]CommunicateWithHost err = 0 [19:01:29]CheckOFDResponse [19:01:29]1017 (14) - 77093643461234 [19:01:29]1041 (16) - 0000000000871841 [19:01:29]1040 (4) - 37821 [19:01:29]1012 (4) - 28.10.2024 12:58 [19:01:29]1206 (1) - 0 [19:01:29]OFD Sender: Remove packet 37821 [19:01:29]ProducePacketName [19:01:29]name=ofd_packets/00037821 [19:01:29]NVStorageDeleteData [19:01:29]OFD Sender: No OFD packet to send [19:01:29]*** Cut start [19:01:29]*** Partial cut [19:01:29]*** CUTSNS_PIN = 1 [19:01:29]*** CUTSNS_PIN = 0 [19:01:29]*** Brake cut motor [19:01:30]Read from MH i2c: 01 [19:01:30]MH_I2C_Read... [19:01:30]*** Stop cut motor [19:01:30]*** Cut end [19:01:30]Read from MH i2c: 01 07 00 [19:01:30]MH_I2C_Read... [19:01:30]Read from MH i2c: 01 07 00 72 29 00 00 00 00 00 FF 0F B0 [19:01:30]process_action close_receipt done [19:01:30]requested_data is exist [19:01:30]produce_requested_data [19:01:30]requested_item fm.sn is exist - process it [19:01:30]wFMCommunicate request_size=4 [19:01:30]MH_SAM_APDU [19:01:30]CAPDU: 80 11 00 00 [19:01:30]Write to MH i2c: E2 08 00 73 29 80 11 00 00 00 00 00 00 16 [19:01:30]Write i2c OK [19:01:30]MH_I2C_Read... [19:01:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:01:30]Read from MH i2c: E2 [19:01:30]MH_I2C_Read... [19:01:30]Read from MH i2c: E2 17 00 [19:01:30]MH_I2C_Read... [19:01:30]Read from MH i2c: E2 17 00 73 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 66 [19:01:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:01:30]wFMCommunicate OK [19:01:30]requested_item fd.num is exist - process it [19:01:30]SAM_PROTO_GetFieldsCounters [19:01:30]wFMCommunicate request_size=4 [19:01:30]MH_SAM_APDU [19:01:30]CAPDU: 80 13 00 00 [19:01:30]Write to MH i2c: E2 08 00 74 29 80 13 00 00 00 00 00 00 19 [19:01:30]Write i2c OK [19:01:30]MH_I2C_Read... [19:01:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:01:30]Read from MH i2c: E2 [19:01:30]MH_I2C_Read... [19:01:30]Read from MH i2c: E2 62 00 [19:01:30]MH_I2C_Read... [19:01:30]Read from MH i2c: E2 62 00 74 29 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 BD 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 73 [19:01: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 BD 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:01:30]wFMCommunicate OK [19:01:30]SAM_PROTO_GetFieldsCounters done [19:01:30]requested_item shift.num is exist - process it [19:01:30]requested_item shift.opened is exist - process it [19:01:30]req_shift_opened [19:01:30]FM_GetShiftState [19:01:30]SAM_PROTO_GetShiftState [19:01:30]wFMCommunicate request_size=4 [19:01:30]MH_SAM_APDU [19:01:30]CAPDU: 80 13 01 00 [19:01:30]Write to MH i2c: E2 08 00 75 29 80 13 01 00 00 00 00 00 1B [19:01:30]Write i2c OK [19:01:30]MH_I2C_Read... [19:01:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:01:30]Read from MH i2c: E2 [19:01:30]MH_I2C_Read... [19:01:30]Read from MH i2c: E2 0E 00 [19:01:30]MH_I2C_Read... [19:01:30]Read from MH i2c: E2 0E 00 75 29 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 9D [19:01:30]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [19:01:30]wFMCommunicate OK [19:01:30]SAM_PROTO_GetShiftState done [19:01:30]FM_GetShiftState done [19:01:30]req_shift_opened done [19:01:30]requested_item shift.open_date is exist - process it [19:01:30]req_shift_open_date [19:01:30]req_shift_open_date done [19:01:30]produce_requested_data done [19:01:30]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37821,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [19:01:30]process_action_free close_receipt [19:01:30]json_value_free [19:01:30]json_value_free done [19:01:30]process_json_proto returns [19:01:30]Send response to host [19:01:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37821,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [19:01:30]free response buf [19:01:30]execute_script done [19:01:30]execute_script returns [19:01:30]free content buf [19:01:30]Sock 7.Close socket [19:01:30]Sock 7.Thread stoped [19:01:34]OFD Sender: No OFD packet to send [19:01:39]OFD Sender: No OFD packet to send [19:01:44]OFD Sender: No OFD packet to send [19:01:49]OFD Sender: No OFD packet to send [19:01:54]OFD Sender: No OFD packet to send [19:01:59]OFD Sender: No OFD packet to send [19:02:04]OFD Sender: No OFD packet to send [19:02:09]OFD Sender: No OFD packet to send [19:02:14]OFD Sender: No OFD packet to send [19:02:19]OFD Sender: No OFD packet to send [19:02:24]OFD Sender: No OFD packet to send [19:02:29]OFD Sender: No OFD packet to send [19:02:34]OFD Sender: No OFD packet to send [19:02:39]OFD Sender: No OFD packet to send [19:02:44]OFD Sender: No OFD packet to send [19:02:49]OFD Sender: No OFD packet to send [19:02:54]OFD Sender: No OFD packet to send [19:02:59]OFD Sender: No OFD packet to send [19:03:04]OFD Sender: No OFD packet to send [19:03:09]OFD Sender: No OFD packet to send [19:03:14]OFD Sender: No OFD packet to send [19:03:19]OFD Sender: No OFD packet to send [19:03:24]OFD Sender: No OFD packet to send [19:03:29]OFD Sender: No OFD packet to send [19:03:34]OFD Sender: No OFD packet to send [19:03:39]OFD Sender: No OFD packet to send [19:03:44]OFD Sender: No OFD packet to send [19:03:49]OFD Sender: No OFD packet to send [19:03:54]OFD Sender: No OFD packet to send [19:03:59]OFD Sender: No OFD packet to send [19:04:04]OFD Sender: No OFD packet to send [19:04:09]OFD Sender: No OFD packet to send [19:04:14]OFD Sender: No OFD packet to send [19:04:19]OFD Sender: No OFD packet to send [19:04:24]OFD Sender: No OFD packet to send [19:04:29]OFD Sender: No OFD packet to send [19:04:34]OFD Sender: No OFD packet to send [19:04:39]OFD Sender: No OFD packet to send [19:04:44]OFD Sender: No OFD packet to send [19:04:49]OFD Sender: No OFD packet to send [19:04:54]OFD Sender: No OFD packet to send [19:04:59]OFD Sender: No OFD packet to send [19:05:04]OFD Sender: No OFD packet to send [19:05:09]OFD Sender: No OFD packet to send [19:05:14]OFD Sender: No OFD packet to send [19:05:19]OFD Sender: No OFD packet to send [19:05:24]OFD Sender: No OFD packet to send [19:05:29]OFD Sender: No OFD packet to send [19:05:34]OFD Sender: No OFD packet to send [19:05:39]OFD Sender: No OFD packet to send [19:05:44]OFD Sender: No OFD packet to send [19:05:49]OFD Sender: No OFD packet to send [19:05:54]OFD Sender: No OFD packet to send [19:05:59]OFD Sender: No OFD packet to send [19:06:04]OFD Sender: No OFD packet to send [19:06:09]OFD Sender: No OFD packet to send [19:06:14]OFD Sender: No OFD packet to send [19:06:19]OFD Sender: No OFD packet to send [19:06:24]OFD Sender: No OFD packet to send [19:06:29]OFD Sender: No OFD packet to send [19:06:34]OFD Sender: No OFD packet to send [19:06:39]OFD Sender: No OFD packet to send [19:06:44]OFD Sender: No OFD packet to send [19:06:49]OFD Sender: No OFD packet to send [19:06:54]OFD Sender: No OFD packet to send [19:06:59]OFD Sender: No OFD packet to send [19:07:04]OFD Sender: No OFD packet to send [19:07:09]OFD Sender: No OFD packet to send [19:07:14]OFD Sender: No OFD packet to send [19:07:19]OFD Sender: No OFD packet to send [19:07:24]OFD Sender: No OFD packet to send [19:07:29]OFD Sender: No OFD packet to send [19:07:34]OFD Sender: No OFD packet to send [19:07:39]OFD Sender: No OFD packet to send [19:07:44]OFD Sender: No OFD packet to send [19:07:49]OFD Sender: No OFD packet to send [19:07:54]OFD Sender: No OFD packet to send [19:07:59]OFD Sender: No OFD packet to send [19:08:04]OFD Sender: No OFD packet to send [19:08:10]OFD Sender: No OFD packet to send [19:08:15]OFD Sender: No OFD packet to send [19:08:20]OFD Sender: No OFD packet to send [19:08:25]OFD Sender: No OFD packet to send [19:08:30]OFD Sender: No OFD packet to send [19:08:35]OFD Sender: No OFD packet to send [19:08:40]OFD Sender: No OFD packet to send [19:08:45]OFD Sender: No OFD packet to send [19:08:50]OFD Sender: No OFD packet to send [19:08:55]OFD Sender: No OFD packet to send [19:08:59]accept exits with 10 [19:08:59]New connection [19:08:59]New thread 3067297124 created [19:08:59]Thread 3067440484 joined [19:08:59]Waiting for new connection... [19:08:59] Sock 10.Parse request [19:08:59]Sock 10.Check first char [19:08:59]Sock 10.First char is OK [19:08:59]request: POST /json_proto HTTP/1.0 [19:08:59]Method: POST [19:08:59]URL: /json_proto [19:08:59]Method is POST - this is cgi request [19:08:59]url: /json_proto [19:08:59]query_string will be loaded in cgi processing [19:08:59]execute_cgi json_proto POST (null) [19:08:59]execute_cgi path=json_proto method=POST [19:08:59]POST find Content-Length [19:08:59]Host: 172.17.40.196:8080 [19:08:59]Content-Length: 616 [19:08:59]Content-Type: application/json [19:08:59] [19:08:59]POST finish read [19:08:59]Found Content-Length = 616 [19:08:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35121", "tax_sys" : 0, "items" : [ { "code": "47803008", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:08:59]execute_script... [19:08:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35121", "tax_sys" : 0, "items" : [ { "code": "47803008", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:08:59]POST & json_proto [19:08:59]process_json_proto [19:08:59]json parsed OK: [19:08:59]protocol is kg_v1.0 [19:08:59]action value=close_receipt [19:08:59]process_action close_receipt [19:08:59]cmd_close_receipt [19:08:59]MH_GetDate [19:08:59]Write to MH i2c: F0 00 00 76 29 8E [19:08:59]Write i2c OK [19:08:59]MH_I2C_Read... [19:08:59]Read from MH i2c: F0 [19:08:59]MH_I2C_Read... [19:08:59]Read from MH i2c: F0 09 00 [19:08:59]MH_I2C_Read... [19:08:59]Read from MH i2c: F0 09 00 76 29 00 54 E1 1F 67 5B 68 A1 66 1C [19:08:59]GetLastDocTimeStamp 1730142095 [19:08:59]current date 1730142548 [19:08:59]FM_GetShiftState [19:08:59]SAM_PROTO_GetShiftState [19:08:59]wFMCommunicate request_size=4 [19:08:59]MH_SAM_APDU [19:08:59]CAPDU: 80 13 01 00 [19:08:59]Write to MH i2c: E2 08 00 77 29 80 13 01 00 00 00 00 00 1D [19:08:59]Write i2c OK [19:08:59]MH_I2C_Read... [19:08:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:08:59]Read from MH i2c: E2 [19:08:59]MH_I2C_Read... [19:08:59]Read from MH i2c: E2 0E 00 [19:08:59]MH_I2C_Read... [19:08:59]Read from MH i2c: E2 0E 00 77 29 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 9F [19:08:59]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [19:08:59]wFMCommunicate OK [19:08:59]SAM_PROTO_GetShiftState done [19:08:59]FM_GetShiftState done [19:08:59]opened in 1730073884 [19:08:59]opened+sec_in_day 1730160284 [19:08:59]quantity*price = 14400 [19:08:59]sum+1 = 14401 [19:08:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 65 28.10.2024 19:09 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37822 ФПД: 225632134806381 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T190908&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37822&fm=225632134806381&tin=02508201610067®Number=0000000000091684&sum=14400 0 [19:09:00]StoreToDocumentArchive [19:09:00]shift 551 fd 37822 [19:09:00]save to /storage/0551/doc_00037822 [19:09:00]save last doc name /storage/0551/doc_00037822 to /storage/kkm_last_doc_name [19:09:00]save OK [19:09:00]Clear old archive folders... [19:09:00]ProcessDocumentItem done err = 0, tmpTLVsize=269 [19:09:00]tlvbuf is 002A81D0 [19:09:00]SAM_PROTO_ClearQueue [19:09:00]wFMCommunicate request_size=4 [19:09:00]MH_SAM_APDU [19:09:00]CAPDU: 80 09 00 00 [19:09:00]Write to MH i2c: E2 08 00 84 29 80 09 00 00 00 00 00 00 1F [19:09:00]Write i2c OK [19:09:00]MH_I2C_Read... [19:09:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:09:00]Read from MH i2c: E2 [19:09:00]MH_I2C_Read... [19:09:00]Read from MH i2c: E2 03 00 [19:09:00]MH_I2C_Read... [19:09:00]Read from MH i2c: E2 03 00 84 29 00 90 00 21 [19:09:00]RAPDU: 90 00 [19:09:00]wFMCommunicate OK [19:09:00]SAM_PROTO_ClearQueue done [19:09:00]KKMCreateOFDPacket [19:09:00]OFDProtocolAddRootSTLVToBuf [19:09:00]FM_MakeSignedData [19:09:00]FM_MakeSignedData [19:09:00]SAM_PROTO_SignData [19:09:00]wFMCommunicate request_size=4 [19:09:00]MH_SAM_APDU [19:09:00]CAPDU: 80 0D 01 02 [19:09:00]Write to MH i2c: E2 08 00 85 29 80 0D 01 02 00 00 00 00 27 [19:09:00]Write i2c OK [19:09:00]MH_I2C_Read... [19:09:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:09:00]Read from MH i2c: E2 [19:09:00]MH_I2C_Read... [19:09:00]Read from MH i2c: E2 03 00 [19:09:00]MH_I2C_Read... [19:09:00]Read from MH i2c: E2 03 00 85 29 00 90 00 22 [19:09:00]RAPDU: 90 00 [19:09:00]wFMCommunicate OK [19:09:00]wFMCommunicate request_size=255 [19:09:00]MH_SAM_APDU [19:09:00]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 54 E1 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [19:09:00]Write to MH i2c: E2 02 01 86 29 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 54 E1 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 AF [19:09:00]Write i2c OK [19:09:00]MH_I2C_Read... [19:09:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:09:00]Read from MH i2c: E2 [19:09:00]MH_I2C_Read... [19:09:00]Read from MH i2c: E2 03 00 [19:09:00]MH_I2C_Read... [19:09:00]Read from MH i2c: E2 03 00 86 29 00 90 00 23 [19:09:00]RAPDU: 90 00 [19:09:00]wFMCommunicate OK [19:09:00]wFMCommunicate request_size=28 [19:09:00]MH_SAM_APDU [19:09:00]CAPDU: 80 0D 02 02 17 37 31 38 34 31 10 04 04 00 BE 93 00 00 35 04 06 00 CD 36 13 3E BB 6D [19:09:00]Write to MH i2c: E2 1F 00 87 29 80 0D 02 02 17 00 37 31 38 34 31 10 04 04 00 BE 93 00 00 35 04 06 00 CD 36 13 3E BB 6D 00 00 81 [19:09:00]Write i2c OK [19:09:00]MH_I2C_Read... [19:09:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:09:00]Read from MH i2c: E2 [19:09:00]MH_I2C_Read... [19:09:00]Read from MH i2c: E2 03 00 [19:09:00]MH_I2C_Read... [19:09:00]Read from MH i2c: E2 03 00 87 29 00 90 00 24 [19:09:00]RAPDU: 90 00 [19:09:00]wFMCommunicate OK [19:09:00]wFMCommunicate request_size=4 [19:09:00]MH_SAM_APDU [19:09:00]CAPDU: 80 0D 03 02 [19:09:00]Write to MH i2c: E2 08 00 88 29 80 0D 03 02 00 00 00 00 2C [19:09:00]Write i2c OK [19:09:00]MH_I2C_Read... [19:09:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:09:00]Read from MH i2c: E2 [19:09:00]MH_I2C_Read... [19:09:00]Read from MH i2c: E2 0B 00 [19:09:00]MH_I2C_Read... [19:09:00]Read from MH i2c: E2 0B 00 88 29 00 38 69 CA 19 94 B9 62 DC 90 00 3C [19:09:00]RAPDU: 38 69 CA 19 94 B9 62 DC 90 00 [19:09:00]wFMCommunicate OK [19:09:00]SAM_PROTO_SignData done [19:09:00]FM_MakeSignedData done [19:09:00]CreateOFDProtocolMessage [19:09:00]wFMCommunicate request_size=4 [19:09:00]MH_SAM_APDU [19:09:00]CAPDU: 80 11 00 00 [19:09:00]Write to MH i2c: E2 08 00 89 29 80 11 00 00 00 00 00 00 2C [19:09:00]Write i2c OK [19:09:00]MH_I2C_Read... [19:09:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:09:00]Read from MH i2c: E2 [19:09:00]MH_I2C_Read... [19:09:00]Read from MH i2c: E2 17 00 [19:09:00]MH_I2C_Read... [19:09:00]Read from MH i2c: E2 17 00 89 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 7C [19:09:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:09:00]wFMCommunicate OK [19:09:00]CreateOFDProtocolMessage done [19:09:00]OFDSenderStorePacket 37822 [19:09:00]StoreOFDPacket docnum=37822 [19:09:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 21 01 00 00 D1 1B 19 01 B4 5D 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 54 E1 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BE 93 00 00 35 04 06 00 CD 36 13 3E BB 6D 38 69 CA 19 94 B9 62 DC [19:09:00]CheckFolder [19:09:00]dirname=/storage/ofd_packets [19:09:00]CheckFolder done [19:09:00]ProducePacketName [19:09:00]name=ofd_packets/00037822 [19:09:00]NVStorageSaveData ofd_packets/00037822 [19:09:00]File name is /storage/ofd_packets/00037822 [19:09:00]Write 319 bytes [19:09:00]NVStorageSaveData done [19:09:00]OFDSenderStorePacket done [19:09:00]KKMCreateOFDPacket done [19:09:00]NVStorageSaveData kkm_last_timestamp [19:09:00]File name is /storage/kkm_last_timestamp [19:09:00]Write 4 bytes [19:09:00]NVStorageSaveData done [19:09:00]ExternCall_PrintAddStr [19:09:00]wPrintStart [19:09:00]Write to MH i2c: 01 00 00 8A 29 B3 [19:09:00]Write i2c OK [19:09:00]MH_I2C_Read... [19:09:00]Read from MH i2c: 01 [19:09:00]MH_I2C_Read... [19:09:00]Read from MH i2c: 01 07 00 [19:09:00]MH_I2C_Read... [19:09:00]Read from MH i2c: 01 07 00 8A 29 00 00 00 00 00 FF 0F C8 [19:09:00]RasterBufferAndPrint [19:09:00]line Счет N : (3)35121 [19:09:00]line ИНН: 02508201610067 [19:09:00]line Контрольно-Кассовый Чек [19:09:00]line ПРОДАЖА [19:09:00]line Товар: 47803008 [19:09:00]line Сигареты Winston XS Blue [19:09:00]line 1.000 * 144.00 [19:09:00]line = 144.00 [19:09:00]line НДС 12% НСП 1% [19:09:00]line > о реализуемом товаре [19:09:00]line ИТОГО: 144.00 [19:09:00]line НСП 1% : 1.27 [19:09:00]line НДС 12% : 15.29 [19:09:00]line Наличными: 144.00 [19:09:00]line Безнал.: 0.00 [19:09:00]line Место: АЗС № 126 "Партнер Нефть" [19:09:00]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [19:09:00]line СНО: Общий режим [19:09:00]line Чек 65 28.10.2024 19:09 [19:09:00]line Смена: 551 ФФД: 1.0 [19:09:00]line ЗНМ: 0300000092 [19:09:00]line РНМ: 0000000000091684 [19:09:00]line Версия ККМ: 001 [19:09:00]line ФМ: 0000000000871841 [19:09:00]line ФД: 37822 [19:09:00]line ФПД: 225632134806381 [19:09:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T190908&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37822&fm=225632134806381&tin=02508201610067®Number=0000000000091684&sum=14400 [19:09:00]line 0 [19:09:00]written 0, free lines is 4095 [19:09:00]OFD Sender: Processing packet 37822 [packets to send 42, broken 41] [19:09:00]ProducePacketName [19:09:00]name=ofd_packets/00037822 [19:09:00]OFD Sender: To server: pG, [19:09:00]CommunicateWithHost lk.salyk.kg:30040 [19:09:00]ConnectInit lk.salyk.kg [19:09:01]Connected sock=9 [19:09: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 38 34 31 21 01 00 00 D1 1B 19 01 B4 5D 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 54 E1 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BE 93 00 00 35 04 06 00 CD 36 13 3E BB 6D 38 69 CA 19 94 B9 62 DC [19:09:01]Write to MH i2c: 01 00 00 B2 29 DB [19:09:01]Write i2c OK [19:09:01]MH_I2C_Read... [19:09:01]Read from MH i2c: 01 [19:09:01]MH_I2C_Read... [19:09:01]Read from MH i2c: 01 07 00 [19:09:01]MH_I2C_Read... [19:09:01]Read from MH i2c: 01 07 00 B2 29 00 00 00 00 00 BF 0C AD [19:09:01]RasterBufferAndPrint [19:09:01]line [19:09:01]line [19:09:01]line [19:09:01]line [19:09:01]line [19:09:01]written 0, free lines is 3268 [19:09:01]MH_Cut [19:09:01]Write to MH i2c: D1 01 00 B9 29 01 B4 [19:09:01]Write i2c OK [19:09:01]MH_I2C_Read... [19:09:01]Read from MH i2c: D1 [19:09:01]MH_I2C_Read... [19:09:01]Read from MH i2c: D1 01 00 [19:09:01]MH_I2C_Read... [19:09:01]Read from MH i2c: D1 01 00 B9 29 00 B3 [19:09:01]Write to MH i2c: 01 00 00 BA 29 E3 [19:09:01]Write i2c OK [19:09:01]MH_I2C_Read... [19:09:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 D2 33 47 00 B0 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 38 34 31 10 04 04 00 BE 93 00 00 F4 03 04 00 48 8C 1F 67 B6 04 01 00 00 7D 0D 8D B5 C5 72 ED E0 [19:09:01]CommunicateWithHost err = 0 [19:09:01]CheckOFDResponse [19:09:01]1017 (14) - 77093643461234 [19:09:01]1041 (16) - 0000000000871841 [19:09:01]1040 (4) - 37822 [19:09:01]1012 (4) - 28.10.2024 13:06 [19:09:01]1206 (1) - 0 [19:09:01]OFD Sender: Remove packet 37822 [19:09:01]ProducePacketName [19:09:01]name=ofd_packets/00037822 [19:09:01]NVStorageDeleteData [19:09:02]*** Cut start [19:09:02]*** Partial cut [19:09:02]*** CUTSNS_PIN = 1 [19:09:02]OFD Sender: No OFD packet to send [19:09:02]*** CUTSNS_PIN = 0 [19:09:02]*** Brake cut motor [19:09:02]Read from MH i2c: 01 [19:09:02]MH_I2C_Read... [19:09:02]*** Stop cut motor [19:09:02]*** Cut end [19:09:02]Read from MH i2c: 01 07 00 [19:09:02]MH_I2C_Read... [19:09:02]Read from MH i2c: 01 07 00 BA 29 00 00 00 00 00 FF 0F F8 [19:09:02]process_action close_receipt done [19:09:02]requested_data is exist [19:09:02]produce_requested_data [19:09:02]requested_item fm.sn is exist - process it [19:09:02]wFMCommunicate request_size=4 [19:09:02]MH_SAM_APDU [19:09:02]CAPDU: 80 11 00 00 [19:09:02]Write to MH i2c: E2 08 00 BB 29 80 11 00 00 00 00 00 00 5E [19:09:02]Write i2c OK [19:09:02]MH_I2C_Read... [19:09:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:09:02]Read from MH i2c: E2 [19:09:02]MH_I2C_Read... [19:09:02]Read from MH i2c: E2 17 00 [19:09:02]MH_I2C_Read... [19:09:02]Read from MH i2c: E2 17 00 BB 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 AE [19:09:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:09:02]wFMCommunicate OK [19:09:02]requested_item fd.num is exist - process it [19:09:02]SAM_PROTO_GetFieldsCounters [19:09:02]wFMCommunicate request_size=4 [19:09:02]MH_SAM_APDU [19:09:02]CAPDU: 80 13 00 00 [19:09:02]Write to MH i2c: E2 08 00 BC 29 80 13 00 00 00 00 00 00 61 [19:09:02]Write i2c OK [19:09:02]MH_I2C_Read... [19:09:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:09:03]Read from MH i2c: E2 [19:09:03]MH_I2C_Read... [19:09:03]Read from MH i2c: E2 62 00 [19:09:03]MH_I2C_Read... [19:09:03]Read from MH i2c: E2 62 00 BC 29 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 BE 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 BF [19:09: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 BE 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:09:03]wFMCommunicate OK [19:09:03]SAM_PROTO_GetFieldsCounters done [19:09:03]requested_item shift.num is exist - process it [19:09:03]requested_item shift.opened is exist - process it [19:09:03]req_shift_opened [19:09:03]FM_GetShiftState [19:09:03]SAM_PROTO_GetShiftState [19:09:03]wFMCommunicate request_size=4 [19:09:03]MH_SAM_APDU [19:09:03]CAPDU: 80 13 01 00 [19:09:03]Write to MH i2c: E2 08 00 BD 29 80 13 01 00 00 00 00 00 63 [19:09:03]Write i2c OK [19:09:03]MH_I2C_Read... [19:09:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:09:03]Read from MH i2c: E2 [19:09:03]MH_I2C_Read... [19:09:03]Read from MH i2c: E2 0E 00 [19:09:03]MH_I2C_Read... [19:09:03]Read from MH i2c: E2 0E 00 BD 29 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 E5 [19:09:03]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [19:09:03]wFMCommunicate OK [19:09:03]SAM_PROTO_GetShiftState done [19:09:03]FM_GetShiftState done [19:09:03]req_shift_opened done [19:09:03]requested_item shift.open_date is exist - process it [19:09:03]req_shift_open_date [19:09:03]req_shift_open_date done [19:09:03]produce_requested_data done [19:09:03]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37822,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [19:09:03]process_action_free close_receipt [19:09:03]json_value_free [19:09:03]json_value_free done [19:09:03]process_json_proto returns [19:09:03]Send response to host [19:09:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37822,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [19:09:03]free response buf [19:09:03]execute_script done [19:09:03]execute_script returns [19:09:03]free content buf [19:09:03]Sock 10.Close socket [19:09:03]Sock 10.Thread stoped [19:09:07]OFD Sender: No OFD packet to send [19:09:12]OFD Sender: No OFD packet to send [19:09:17]OFD Sender: No OFD packet to send [19:09:22]OFD Sender: No OFD packet to send [19:09:27]OFD Sender: No OFD packet to send [19:09:32]OFD Sender: No OFD packet to send [19:09:37]OFD Sender: No OFD packet to send [19:09:42]OFD Sender: No OFD packet to send [19:09:47]OFD Sender: No OFD packet to send [19:09:52]OFD Sender: No OFD packet to send [19:09:57]OFD Sender: No OFD packet to send [19:10:02]OFD Sender: No OFD packet to send [19:10:07]OFD Sender: No OFD packet to send [19:10:12]OFD Sender: No OFD packet to send [19:10:17]OFD Sender: No OFD packet to send [19:10:22]OFD Sender: No OFD packet to send [19:10:27]OFD Sender: No OFD packet to send [19:10:32]OFD Sender: No OFD packet to send [19:10:37]OFD Sender: No OFD packet to send [19:10:42]OFD Sender: No OFD packet to send [19:10:47]OFD Sender: No OFD packet to send [19:10:52]OFD Sender: No OFD packet to send [19:10:57]OFD Sender: No OFD packet to send [19:11:02]OFD Sender: No OFD packet to send [19:11:07]OFD Sender: No OFD packet to send [19:11:12]OFD Sender: No OFD packet to send [19:11:17]OFD Sender: No OFD packet to send [19:11:22]OFD Sender: No OFD packet to send [19:11:27]OFD Sender: No OFD packet to send [19:11:32]OFD Sender: No OFD packet to send [19:11:37]OFD Sender: No OFD packet to send [19:11:42]OFD Sender: No OFD packet to send [19:11:47]OFD Sender: No OFD packet to send [19:11:52]OFD Sender: No OFD packet to send [19:11:57]OFD Sender: No OFD packet to send [19:12:02]OFD Sender: No OFD packet to send [19:12:07]OFD Sender: No OFD packet to send [19:12:12]OFD Sender: No OFD packet to send [19:12:17]OFD Sender: No OFD packet to send [19:12:22]OFD Sender: No OFD packet to send [19:12:27]OFD Sender: No OFD packet to send [19:12:32]OFD Sender: No OFD packet to send [19:12:37]OFD Sender: No OFD packet to send [19:12:42]OFD Sender: No OFD packet to send [19:12:47]OFD Sender: No OFD packet to send [19:12:52]OFD Sender: No OFD packet to send [19:12:57]OFD Sender: No OFD packet to send [19:13:02]OFD Sender: No OFD packet to send [19:13:07]OFD Sender: No OFD packet to send [19:13:12]OFD Sender: No OFD packet to send [19:13:17]OFD Sender: No OFD packet to send [19:13:22]OFD Sender: No OFD packet to send [19:13:27]OFD Sender: No OFD packet to send [19:13:32]OFD Sender: No OFD packet to send [19:13:37]OFD Sender: No OFD packet to send [19:13:42]OFD Sender: No OFD packet to send [19:13:47]OFD Sender: No OFD packet to send [19:13:52]OFD Sender: No OFD packet to send [19:13:57]OFD Sender: No OFD packet to send [19:14:02]OFD Sender: No OFD packet to send [19:14:07]OFD Sender: No OFD packet to send [19:14:12]OFD Sender: No OFD packet to send [19:14:17]OFD Sender: No OFD packet to send [19:14:22]OFD Sender: No OFD packet to send [19:14:27]OFD Sender: No OFD packet to send [19:14:32]OFD Sender: No OFD packet to send [19:14:37]OFD Sender: No OFD packet to send [19:14:42]OFD Sender: No OFD packet to send [19:14:47]OFD Sender: No OFD packet to send [19:14:52]OFD Sender: No OFD packet to send [19:14:57]OFD Sender: No OFD packet to send [19:15:02]OFD Sender: No OFD packet to send [19:15:07]OFD Sender: No OFD packet to send [19:15:12]OFD Sender: No OFD packet to send [19:15:17]OFD Sender: No OFD packet to send [19:15:22]OFD Sender: No OFD packet to send [19:15:27]OFD Sender: No OFD packet to send [19:15:32]OFD Sender: No OFD packet to send [19:15:37]OFD Sender: No OFD packet to send [19:15:42]OFD Sender: No OFD packet to send [19:15:47]OFD Sender: No OFD packet to send [19:15:52]OFD Sender: No OFD packet to send [19:15:57]OFD Sender: No OFD packet to send [19:16:02]OFD Sender: No OFD packet to send [19:16:07]OFD Sender: No OFD packet to send [19:16:12]OFD Sender: No OFD packet to send [19:16:17]OFD Sender: No OFD packet to send [19:16:22]OFD Sender: No OFD packet to send [19:16:27]OFD Sender: No OFD packet to send [19:16:32]OFD Sender: No OFD packet to send [19:16:37]OFD Sender: No OFD packet to send [19:16:42]OFD Sender: No OFD packet to send [19:16:47]OFD Sender: No OFD packet to send [19:16:52]OFD Sender: No OFD packet to send [19:16:57]OFD Sender: No OFD packet to send [19:17:02]OFD Sender: No OFD packet to send [19:17:07]OFD Sender: No OFD packet to send [19:17:12]OFD Sender: No OFD packet to send [19:17:17]OFD Sender: No OFD packet to send [19:17:22]OFD Sender: No OFD packet to send [19:17:27]OFD Sender: No OFD packet to send [19:17:32]OFD Sender: No OFD packet to send [19:17:37]OFD Sender: No OFD packet to send [19:17:42]OFD Sender: No OFD packet to send [19:17:47]OFD Sender: No OFD packet to send [19:17:52]OFD Sender: No OFD packet to send [19:17:57]OFD Sender: No OFD packet to send [19:18:02]OFD Sender: No OFD packet to send [19:18:07]OFD Sender: No OFD packet to send [19:18:12]OFD Sender: No OFD packet to send [19:18:17]OFD Sender: No OFD packet to send [19:18:22]OFD Sender: No OFD packet to send [19:18:27]OFD Sender: No OFD packet to send [19:18:32]OFD Sender: No OFD packet to send [19:18:37]OFD Sender: No OFD packet to send [19:18:42]OFD Sender: No OFD packet to send [19:18:47]OFD Sender: No OFD packet to send [19:18:52]OFD Sender: No OFD packet to send [19:18:57]OFD Sender: No OFD packet to send [19:19:02]OFD Sender: No OFD packet to send [19:19:07]OFD Sender: No OFD packet to send [19:19:12]OFD Sender: No OFD packet to send [19:19:17]OFD Sender: No OFD packet to send [19:19:22]OFD Sender: No OFD packet to send [19:19:27]OFD Sender: No OFD packet to send [19:19:32]OFD Sender: No OFD packet to send [19:19:37]OFD Sender: No OFD packet to send [19:19:42]OFD Sender: No OFD packet to send [19:19:47]OFD Sender: No OFD packet to send [19:19:52]OFD Sender: No OFD packet to send [19:19:57]OFD Sender: No OFD packet to send [19:20:02]OFD Sender: No OFD packet to send [19:20:07]OFD Sender: No OFD packet to send [19:20:12]OFD Sender: No OFD packet to send [19:20:17]OFD Sender: No OFD packet to send [19:20:22]OFD Sender: No OFD packet to send [19:20:27]OFD Sender: No OFD packet to send [19:20:32]OFD Sender: No OFD packet to send [19:20:37]OFD Sender: No OFD packet to send [19:20:42]OFD Sender: No OFD packet to send [19:20:47]OFD Sender: No OFD packet to send [19:20:52]OFD Sender: No OFD packet to send [19:20:57]OFD Sender: No OFD packet to send [19:21:02]OFD Sender: No OFD packet to send [19:21:07]OFD Sender: No OFD packet to send [19:21:12]OFD Sender: No OFD packet to send [19:21:17]OFD Sender: No OFD packet to send [19:21:22]OFD Sender: No OFD packet to send [19:21:27]OFD Sender: No OFD packet to send [19:21:32]OFD Sender: No OFD packet to send [19:21:37]OFD Sender: No OFD packet to send [19:21:42]OFD Sender: No OFD packet to send [19:21:47]OFD Sender: No OFD packet to send [19:21:52]OFD Sender: No OFD packet to send [19:21:57]OFD Sender: No OFD packet to send [19:22:02]OFD Sender: No OFD packet to send [19:22:07]OFD Sender: No OFD packet to send [19:22:12]OFD Sender: No OFD packet to send [19:22:17]OFD Sender: No OFD packet to send [19:22:22]OFD Sender: No OFD packet to send [19:22:27]OFD Sender: No OFD packet to send [19:22:32]OFD Sender: No OFD packet to send [19:22:37]OFD Sender: No OFD packet to send [19:22:42]OFD Sender: No OFD packet to send [19:22:47]OFD Sender: No OFD packet to send [19:22:52]OFD Sender: No OFD packet to send [19:22:57]OFD Sender: No OFD packet to send [19:23:02]OFD Sender: No OFD packet to send [19:23:07]OFD Sender: No OFD packet to send [19:23:12]OFD Sender: No OFD packet to send [19:23:17]OFD Sender: No OFD packet to send [19:23:22]OFD Sender: No OFD packet to send [19:23:27]OFD Sender: No OFD packet to send [19:23:32]OFD Sender: No OFD packet to send [19:23:37]OFD Sender: No OFD packet to send [19:23:42]OFD Sender: No OFD packet to send [19:23:47]OFD Sender: No OFD packet to send [19:23:52]OFD Sender: No OFD packet to send [19:23:57]OFD Sender: No OFD packet to send [19:24:02]OFD Sender: No OFD packet to send [19:24:07]OFD Sender: No OFD packet to send [19:24:12]OFD Sender: No OFD packet to send [19:24:17]OFD Sender: No OFD packet to send [19:24:22]OFD Sender: No OFD packet to send [19:24:28]OFD Sender: No OFD packet to send [19:24:33]OFD Sender: No OFD packet to send [19:24:38]OFD Sender: No OFD packet to send [19:24:43]OFD Sender: No OFD packet to send [19:24:48]OFD Sender: No OFD packet to send [19:24:53]OFD Sender: No OFD packet to send [19:24:58]OFD Sender: No OFD packet to send [19:25:03]OFD Sender: No OFD packet to send [19:25:08]OFD Sender: No OFD packet to send [19:25:13]OFD Sender: No OFD packet to send [19:25:18]OFD Sender: No OFD packet to send [19:25:23]OFD Sender: No OFD packet to send [19:25:28]OFD Sender: No OFD packet to send [19:25:33]OFD Sender: No OFD packet to send [19:25:38]OFD Sender: No OFD packet to send [19:25:43]OFD Sender: No OFD packet to send [19:25:48]OFD Sender: No OFD packet to send [19:25:53]OFD Sender: No OFD packet to send [19:25:58]OFD Sender: No OFD packet to send [19:26:03]OFD Sender: No OFD packet to send [19:26:08]OFD Sender: No OFD packet to send [19:26:13]OFD Sender: No OFD packet to send [19:26:18]OFD Sender: No OFD packet to send [19:26:23]OFD Sender: No OFD packet to send [19:26:28]OFD Sender: No OFD packet to send [19:26:33]OFD Sender: No OFD packet to send [19:26:38]OFD Sender: No OFD packet to send [19:26:43]OFD Sender: No OFD packet to send [19:26:48]OFD Sender: No OFD packet to send [19:26:53]OFD Sender: No OFD packet to send [19:26:58]OFD Sender: No OFD packet to send [19:27:03]OFD Sender: No OFD packet to send [19:27:08]OFD Sender: No OFD packet to send [19:27:13]OFD Sender: No OFD packet to send [19:27:18]OFD Sender: No OFD packet to send [19:27:23]OFD Sender: No OFD packet to send [19:27:28]OFD Sender: No OFD packet to send [19:27:33]OFD Sender: No OFD packet to send [19:27:38]OFD Sender: No OFD packet to send [19:27:43]OFD Sender: No OFD packet to send [19:27:48]OFD Sender: No OFD packet to send [19:27:53]OFD Sender: No OFD packet to send [19:27:58]OFD Sender: No OFD packet to send [19:28:03]OFD Sender: No OFD packet to send [19:28:08]OFD Sender: No OFD packet to send [19:28:13]OFD Sender: No OFD packet to send [19:28:18]OFD Sender: No OFD packet to send [19:28:23]OFD Sender: No OFD packet to send [19:28:28]OFD Sender: No OFD packet to send [19:28:33]OFD Sender: No OFD packet to send [19:28:38]OFD Sender: No OFD packet to send [19:28:43]OFD Sender: No OFD packet to send [19:28:48]OFD Sender: No OFD packet to send [19:28:53]OFD Sender: No OFD packet to send [19:28:58]OFD Sender: No OFD packet to send [19:29:03]OFD Sender: No OFD packet to send [19:29:08]OFD Sender: No OFD packet to send [19:29:13]OFD Sender: No OFD packet to send [19:29:18]OFD Sender: No OFD packet to send [19:29:23]OFD Sender: No OFD packet to send [19:29:28]OFD Sender: No OFD packet to send [19:29:33]OFD Sender: No OFD packet to send [19:29:38]OFD Sender: No OFD packet to send [19:29:43]OFD Sender: No OFD packet to send [19:29:48]OFD Sender: No OFD packet to send [19:29:53]OFD Sender: No OFD packet to send [19:29:58]OFD Sender: No OFD packet to send [19:30:03]OFD Sender: No OFD packet to send [19:30:08]OFD Sender: No OFD packet to send [19:30:13]OFD Sender: No OFD packet to send [19:30:18]OFD Sender: No OFD packet to send [19:30:23]OFD Sender: No OFD packet to send [19:30:28]OFD Sender: No OFD packet to send [19:30:33]OFD Sender: No OFD packet to send [19:30:38]OFD Sender: No OFD packet to send [19:30:43]OFD Sender: No OFD packet to send [19:30:48]OFD Sender: No OFD packet to send [19:30:52]accept exits with 7 [19:30:52]New connection [19:30:52]New thread 3067440484 created [19:30:52]Thread 3067297124 joined [19:30:52]Waiting for new connection... [19:30:52] Sock 7.Parse request [19:30:52]Sock 7.Check first char [19:30:52]Sock 7.First char is OK [19:30:52]request: POST /json_proto HTTP/1.0 [19:30:52]Method: POST [19:30:52]URL: /json_proto [19:30:52]Method is POST - this is cgi request [19:30:52]url: /json_proto [19:30:52]query_string will be loaded in cgi processing [19:30:52]execute_cgi json_proto POST (null) [19:30:52]execute_cgi path=json_proto method=POST [19:30:52]POST find Content-Length [19:30:52]Host: 172.17.40.196:8080 [19:30:52]Content-Length: 623 [19:30:52]Content-Type: application/json [19:30:52] [19:30:52]POST finish read [19:30:52]Found Content-Length = 623 [19:30:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35122", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:30:52]execute_script... [19:30: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)35122", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:30:52]POST & json_proto [19:30:52]process_json_proto [19:30:52]json parsed OK: [19:30:52]protocol is kg_v1.0 [19:30:52]action value=close_receipt [19:30:52]process_action close_receipt [19:30:52]cmd_close_receipt [19:30:52]MH_GetDate [19:30:52]Write to MH i2c: F0 00 00 BE 29 D6 [19:30:52]Write i2c OK [19:30:52]MH_I2C_Read... [19:30:52]Read from MH i2c: F0 [19:30:52]MH_I2C_Read... [19:30:52]Read from MH i2c: F0 09 00 [19:30:52]MH_I2C_Read... [19:30:52]Read from MH i2c: F0 09 00 BE 29 00 75 E6 1F 67 5B 68 A1 66 8A [19:30:52]GetLastDocTimeStamp 1730142548 [19:30:52]current date 1730143861 [19:30:52]FM_GetShiftState [19:30:52]SAM_PROTO_GetShiftState [19:30:52]wFMCommunicate request_size=4 [19:30:52]MH_SAM_APDU [19:30:52]CAPDU: 80 13 01 00 [19:30:52]Write to MH i2c: E2 08 00 BF 29 80 13 01 00 00 00 00 00 65 [19:30:52]Write i2c OK [19:30:52]MH_I2C_Read... [19:30:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:30:52]Read from MH i2c: E2 [19:30:52]MH_I2C_Read... [19:30:52]Read from MH i2c: E2 0E 00 [19:30:52]MH_I2C_Read... [19:30:52]Read from MH i2c: E2 0E 00 BF 29 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 E7 [19:30:52]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [19:30:52]wFMCommunicate OK [19:30:52]SAM_PROTO_GetShiftState done [19:30:52]FM_GetShiftState done [19:30:52]opened in 1730073884 [19:30:52]opened+sec_in_day 1730160284 [19:30:52]quantity*price = 14700 [19:30:52]sum+1 = 14701 [19:30:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 147.00 НСП 1% : 1.30 НДС 12% : 15.61 Наличными: 147.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 66 28.10.2024 19:31 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37823 ФПД: 94745105662013 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T193101&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37823&fm=94745105662013&tin=02508201610067®Number=0000000000091684&sum=14700 0 [19:30:53]StoreToDocumentArchive [19:30:53]shift 551 fd 37823 [19:30:53]save to /storage/0551/doc_00037823 [19:30:53]save last doc name /storage/0551/doc_00037823 to /storage/kkm_last_doc_name [19:30:53]save OK [19:30:53]Clear old archive folders... [19:30:53]ProcessDocumentItem done err = 0, tmpTLVsize=276 [19:30:53]tlvbuf is B6F51550 [19:30:53]SAM_PROTO_ClearQueue [19:30:53]wFMCommunicate request_size=4 [19:30:53]MH_SAM_APDU [19:30:53]CAPDU: 80 09 00 00 [19:30:53]Write to MH i2c: E2 08 00 CC 29 80 09 00 00 00 00 00 00 67 [19:30:53]Write i2c OK [19:30:53]MH_I2C_Read... [19:30:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:30:53]Read from MH i2c: E2 [19:30:53]MH_I2C_Read... [19:30:53]Read from MH i2c: E2 03 00 [19:30:53]MH_I2C_Read... [19:30:53]Read from MH i2c: E2 03 00 CC 29 00 90 00 69 [19:30:53]RAPDU: 90 00 [19:30:53]wFMCommunicate OK [19:30:53]SAM_PROTO_ClearQueue done [19:30:53]KKMCreateOFDPacket [19:30:53]OFDProtocolAddRootSTLVToBuf [19:30:53]FM_MakeSignedData [19:30:53]FM_MakeSignedData [19:30:53]SAM_PROTO_SignData [19:30:53]wFMCommunicate request_size=4 [19:30:53]MH_SAM_APDU [19:30:53]CAPDU: 80 0D 01 02 [19:30:53]Write to MH i2c: E2 08 00 CD 29 80 0D 01 02 00 00 00 00 6F [19:30:53]Write i2c OK [19:30:53]MH_I2C_Read... [19:30:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:30:53]Read from MH i2c: E2 [19:30:53]MH_I2C_Read... [19:30:53]Read from MH i2c: E2 03 00 [19:30:53]MH_I2C_Read... [19:30:53]Read from MH i2c: E2 03 00 CD 29 00 90 00 6A [19:30:53]RAPDU: 90 00 [19:30:53]wFMCommunicate OK [19:30:53]wFMCommunicate request_size=255 [19:30:53]MH_SAM_APDU [19:30:53]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 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 75 E6 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 [19:30:53]Write to MH i2c: E2 02 01 CE 29 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 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 75 E6 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 00 00 84 [19:30:53]Write i2c OK [19:30:53]MH_I2C_Read... [19:30:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:30:53]Read from MH i2c: E2 [19:30:53]MH_I2C_Read... [19:30:53]Read from MH i2c: E2 03 00 [19:30:53]MH_I2C_Read... [19:30:53]Read from MH i2c: E2 03 00 CE 29 00 90 00 6B [19:30:53]RAPDU: 90 00 [19:30:53]wFMCommunicate OK [19:30:53]wFMCommunicate request_size=35 [19:30:53]MH_SAM_APDU [19:30:53]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BF 93 00 00 35 04 06 00 56 2B 90 5E 00 3D [19:30:53]Write to MH i2c: E2 26 00 CF 29 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BF 93 00 00 35 04 06 00 56 2B 90 5E 00 3D 00 00 60 [19:30:53]Write i2c OK [19:30:53]MH_I2C_Read... [19:30:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:30:53]Read from MH i2c: E2 [19:30:53]MH_I2C_Read... [19:30:53]Read from MH i2c: E2 03 00 [19:30:53]MH_I2C_Read... [19:30:53]Read from MH i2c: E2 03 00 CF 29 00 90 00 6C [19:30:53]RAPDU: 90 00 [19:30:53]wFMCommunicate OK [19:30:53]wFMCommunicate request_size=4 [19:30:53]MH_SAM_APDU [19:30:53]CAPDU: 80 0D 03 02 [19:30:53]Write to MH i2c: E2 08 00 D0 29 80 0D 03 02 00 00 00 00 74 [19:30:53]Write i2c OK [19:30:53]MH_I2C_Read... [19:30:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:30:53]Read from MH i2c: E2 [19:30:53]MH_I2C_Read... [19:30:53]Read from MH i2c: E2 0B 00 [19:30:53]MH_I2C_Read... [19:30:53]Read from MH i2c: E2 0B 00 D0 29 00 A8 E8 DA 4D A4 4C 1C 0B 90 00 43 [19:30:53]RAPDU: A8 E8 DA 4D A4 4C 1C 0B 90 00 [19:30:53]wFMCommunicate OK [19:30:53]SAM_PROTO_SignData done [19:30:53]FM_MakeSignedData done [19:30:53]CreateOFDProtocolMessage [19:30:53]wFMCommunicate request_size=4 [19:30:53]MH_SAM_APDU [19:30:53]CAPDU: 80 11 00 00 [19:30:53]Write to MH i2c: E2 08 00 D1 29 80 11 00 00 00 00 00 00 74 [19:30:53]Write i2c OK [19:30:53]MH_I2C_Read... [19:30:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:30:54]Read from MH i2c: E2 [19:30:54]MH_I2C_Read... [19:30:54]Read from MH i2c: E2 17 00 [19:30:54]MH_I2C_Read... [19:30:54]Read from MH i2c: E2 17 00 D1 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 C4 [19:30:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:30:54]wFMCommunicate OK [19:30:54]CreateOFDProtocolMessage done [19:30:54]OFDSenderStorePacket 37823 [19:30:54]StoreOFDPacket docnum=37823 [19:30:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 28 01 00 00 45 26 20 01 60 D8 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 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 75 E6 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BF 93 00 00 35 04 06 00 56 2B 90 5E 00 3D A8 E8 DA 4D A4 4C 1C 0B [19:30:54]CheckFolder [19:30:54]dirname=/storage/ofd_packets [19:30:54]CheckFolder done [19:30:54]ProducePacketName [19:30:54]name=ofd_packets/00037823 [19:30:54]NVStorageSaveData ofd_packets/00037823 [19:30:54]File name is /storage/ofd_packets/00037823 [19:30:54]Write 326 bytes [19:30:54]NVStorageSaveData done [19:30:54]OFDSenderStorePacket done [19:30:54]KKMCreateOFDPacket done [19:30:54]NVStorageSaveData kkm_last_timestamp [19:30:54]File name is /storage/kkm_last_timestamp [19:30:54]Write 4 bytes [19:30:54]NVStorageSaveData done [19:30:54]ExternCall_PrintAddStr [19:30:54]wPrintStart [19:30:54]Write to MH i2c: 01 00 00 D2 29 FB [19:30:54]Write i2c OK [19:30:54]MH_I2C_Read... [19:30:54]Read from MH i2c: 01 [19:30:54]MH_I2C_Read... [19:30:54]Read from MH i2c: 01 07 00 [19:30:54]MH_I2C_Read... [19:30:54]Read from MH i2c: 01 07 00 D2 29 00 00 00 00 00 FF 0F 10 [19:30:54]RasterBufferAndPrint [19:30:54]line Счет N : (3)35122 [19:30:54]line ИНН: 02508201610067 [19:30:54]line Контрольно-Кассовый Чек [19:30:54]line ПРОДАЖА [19:30:54]line Товар: 48744683 [19:30:54]line Сигареты Winston XStyle Caster+ [19:30:54]line 1.000 * 147.00 [19:30:54]line = 147.00 [19:30:54]line НДС 12% НСП 1% [19:30:54]line > о реализуемом товаре [19:30:54]line ИТОГО: 147.00 [19:30:54]line НСП 1% : 1.30 [19:30:54]line НДС 12% : 15.61 [19:30:54]line Наличными: 147.00 [19:30:54]line Безнал.: 0.00 [19:30:54]line Место: АЗС № 126 "Партнер Нефть" [19:30:54]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [19:30:54]line СНО: Общий режим [19:30:54]line Чек 66 28.10.2024 19:31 [19:30:54]line Смена: 551 ФФД: 1.0 [19:30:54]line ЗНМ: 0300000092 [19:30:54]line РНМ: 0000000000091684 [19:30:54]line Версия ККМ: 001 [19:30:54]line ФМ: 0000000000871841 [19:30:54]line ФД: 37823 [19:30:54]line ФПД: 94745105662013 [19:30:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T193101&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37823&fm=94745105662013&tin=02508201610067®Number=0000000000091684&sum=14700 [19:30:54]line 0 [19:30:54]written 0, free lines is 4095 [19:30:54]OFD Sender: Processing packet 37823 [packets to send 42, broken 41] [19:30:54]ProducePacketName [19:30:54]name=ofd_packets/00037823 [19:30:54]OFD Sender: To server: pG, [19:30:54]CommunicateWithHost lk.salyk.kg:30040 [19:30:54]ConnectInit lk.salyk.kg [19:30:54]Connected sock=10 [19:30: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 38 34 31 28 01 00 00 45 26 20 01 60 D8 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 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 75 E6 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BF 93 00 00 35 04 06 00 56 2B 90 5E 00 3D A8 E8 DA 4D A4 4C 1C 0B [19:30:54]Write to MH i2c: 01 00 00 FB 29 24 [19:30:54]Write i2c OK [19:30:54]MH_I2C_Read... [19:30:54]Read from MH i2c: 01 [19:30:54]MH_I2C_Read... [19:30:54]Read from MH i2c: 01 07 00 [19:30:54]MH_I2C_Read... [19:30:54]Read from MH i2c: 01 07 00 FB 29 00 00 00 00 00 B3 0C EA [19:30:54]RasterBufferAndPrint [19:30:54]line [19:30:54]line [19:30:54]line [19:30:54]line [19:30:54]line [19:30:54]written 0, free lines is 3257 [19:30:54]MH_Cut [19:30:54]Write to MH i2c: D1 01 00 02 2A 01 FE [19:30:54]Write i2c OK [19:30:54]MH_I2C_Read... [19:30:54]Read from MH i2c: D1 [19:30:54]MH_I2C_Read... [19:30:54]Read from MH i2c: D1 01 00 [19:30:54]MH_I2C_Read... [19:30:54]Read from MH i2c: D1 01 00 02 2A 00 FD [19:30:54]Write to MH i2c: 01 00 00 03 2A 2D [19:30:54]Write i2c OK [19:30:54]MH_I2C_Read... [19:30:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 B3 B9 47 00 FB 5A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 BF 93 00 00 F4 03 04 00 69 91 1F 67 B6 04 01 00 00 26 08 27 BA 08 5A F0 3E [19:30:55]CommunicateWithHost err = 0 [19:30:55]CheckOFDResponse [19:30:55]1017 (14) - 77093643461234 [19:30:55]1041 (16) - 0000000000871841 [19:30:55]1040 (4) - 37823 [19:30:55]1012 (4) - 28.10.2024 13:28 [19:30:55]1206 (1) - 0 [19:30:55]OFD Sender: Remove packet 37823 [19:30:55]ProducePacketName [19:30:55]name=ofd_packets/00037823 [19:30:55]NVStorageDeleteData [19:30:55]OFD Sender: No OFD packet to send [19:30:55]*** Cut start [19:30:55]*** Partial cut [19:30:55]*** CUTSNS_PIN = 1 [19:30:55]*** CUTSNS_PIN = 0 [19:30:55]*** Brake cut motor [19:30:56]Read from MH i2c: 01 [19:30:56]MH_I2C_Read... [19:30:56]*** Stop cut motor [19:30:56]*** Cut end [19:30:56]Read from MH i2c: 01 07 00 [19:30:56]MH_I2C_Read... [19:30:56]Read from MH i2c: 01 07 00 03 2A 00 00 00 00 00 FF 0F 42 [19:30:56]process_action close_receipt done [19:30:56]requested_data is exist [19:30:56]produce_requested_data [19:30:56]requested_item fm.sn is exist - process it [19:30:56]wFMCommunicate request_size=4 [19:30:56]MH_SAM_APDU [19:30:56]CAPDU: 80 11 00 00 [19:30:56]Write to MH i2c: E2 08 00 04 2A 80 11 00 00 00 00 00 00 A8 [19:30:56]Write i2c OK [19:30:56]MH_I2C_Read... [19:30:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:30:56]Read from MH i2c: E2 [19:30:56]MH_I2C_Read... [19:30:56]Read from MH i2c: E2 17 00 [19:30:56]MH_I2C_Read... [19:30:56]Read from MH i2c: E2 17 00 04 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F8 [19:30:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:30:56]wFMCommunicate OK [19:30:56]requested_item fd.num is exist - process it [19:30:56]SAM_PROTO_GetFieldsCounters [19:30:56]wFMCommunicate request_size=4 [19:30:56]MH_SAM_APDU [19:30:56]CAPDU: 80 13 00 00 [19:30:56]Write to MH i2c: E2 08 00 05 2A 80 13 00 00 00 00 00 00 AB [19:30:56]Write i2c OK [19:30:56]MH_I2C_Read... [19:30:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:30:56]Read from MH i2c: E2 [19:30:56]MH_I2C_Read... [19:30:56]Read from MH i2c: E2 62 00 [19:30:56]MH_I2C_Read... [19:30:56]Read from MH i2c: E2 62 00 05 2A 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 BF 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 0D [19:30: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 BF 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:30:56]wFMCommunicate OK [19:30:56]SAM_PROTO_GetFieldsCounters done [19:30:56]requested_item shift.num is exist - process it [19:30:56]requested_item shift.opened is exist - process it [19:30:56]req_shift_opened [19:30:56]FM_GetShiftState [19:30:56]SAM_PROTO_GetShiftState [19:30:56]wFMCommunicate request_size=4 [19:30:56]MH_SAM_APDU [19:30:56]CAPDU: 80 13 01 00 [19:30:56]Write to MH i2c: E2 08 00 06 2A 80 13 01 00 00 00 00 00 AD [19:30:56]Write i2c OK [19:30:56]MH_I2C_Read... [19:30:56]Read from MH i2c: E2 [19:30:56]MH_I2C_Read... [19:30:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:30:56]Read from MH i2c: E2 0E 00 [19:30:56]MH_I2C_Read... [19:30:56]Read from MH i2c: E2 0E 00 06 2A 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 2F [19:30:56]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [19:30:56]wFMCommunicate OK [19:30:56]SAM_PROTO_GetShiftState done [19:30:56]FM_GetShiftState done [19:30:56]req_shift_opened done [19:30:56]requested_item shift.open_date is exist - process it [19:30:56]req_shift_open_date [19:30:56]req_shift_open_date done [19:30:56]produce_requested_data done [19:30:56]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37823,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [19:30:56]process_action_free close_receipt [19:30:56]json_value_free [19:30:56]json_value_free done [19:30:56]process_json_proto returns [19:30:56]Send response to host [19:30:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37823,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [19:30:56]free response buf [19:30:56]execute_script done [19:30:56]execute_script returns [19:30:56]free content buf [19:30:56]Sock 7.Close socket [19:30:56]Sock 7.Thread stoped [19:31:00]OFD Sender: No OFD packet to send [19:31:05]OFD Sender: No OFD packet to send [19:31:10]OFD Sender: No OFD packet to send [19:31:15]OFD Sender: No OFD packet to send [19:31:20]OFD Sender: No OFD packet to send [19:31:25]OFD Sender: No OFD packet to send [19:31:30]OFD Sender: No OFD packet to send [19:31:35]OFD Sender: No OFD packet to send [19:31:40]OFD Sender: No OFD packet to send [19:31:45]OFD Sender: No OFD packet to send [19:31:50]OFD Sender: No OFD packet to send [19:31:55]OFD Sender: No OFD packet to send [19:32:00]OFD Sender: No OFD packet to send [19:32:05]OFD Sender: No OFD packet to send [19:32:10]OFD Sender: No OFD packet to send [19:32:15]OFD Sender: No OFD packet to send [19:32:20]OFD Sender: No OFD packet to send [19:32:25]OFD Sender: No OFD packet to send [19:32:30]OFD Sender: No OFD packet to send [19:32:35]OFD Sender: No OFD packet to send [19:32:40]OFD Sender: No OFD packet to send [19:32:45]OFD Sender: No OFD packet to send [19:32:50]OFD Sender: No OFD packet to send [19:32:55]OFD Sender: No OFD packet to send [19:33:00]OFD Sender: No OFD packet to send [19:33:05]OFD Sender: No OFD packet to send [19:33:10]OFD Sender: No OFD packet to send [19:33:15]OFD Sender: No OFD packet to send [19:33:20]OFD Sender: No OFD packet to send [19:33:25]OFD Sender: No OFD packet to send [19:33:30]OFD Sender: No OFD packet to send [19:33:35]OFD Sender: No OFD packet to send [19:33:40]OFD Sender: No OFD packet to send [19:33:45]OFD Sender: No OFD packet to send [19:33:50]OFD Sender: No OFD packet to send [19:33:55]OFD Sender: No OFD packet to send [19:34:00]OFD Sender: No OFD packet to send [19:34:05]OFD Sender: No OFD packet to send [19:34:10]OFD Sender: No OFD packet to send [19:34:15]OFD Sender: No OFD packet to send [19:34:20]OFD Sender: No OFD packet to send [19:34:25]OFD Sender: No OFD packet to send [19:34:30]OFD Sender: No OFD packet to send [19:34:35]OFD Sender: No OFD packet to send [19:34:40]OFD Sender: No OFD packet to send [19:34:45]OFD Sender: No OFD packet to send [19:34:50]OFD Sender: No OFD packet to send [19:34:55]OFD Sender: No OFD packet to send [19:35:00]OFD Sender: No OFD packet to send [19:35:05]OFD Sender: No OFD packet to send [19:35:10]OFD Sender: No OFD packet to send [19:35:15]OFD Sender: No OFD packet to send [19:35:20]OFD Sender: No OFD packet to send [19:35:25]OFD Sender: No OFD packet to send [19:35:30]OFD Sender: No OFD packet to send [19:35:35]accept exits with 9 [19:35:35]New connection [19:35:35]New thread 3067297124 created [19:35:35]Thread 3067440484 joined [19:35:35]Waiting for new connection... [19:35:35] Sock 9.Parse request [19:35:35]Sock 9.Check first char [19:35:35]Sock 9.First char is OK [19:35:35]request: POST /json_proto HTTP/1.0 [19:35:35]Method: POST [19:35:35]URL: /json_proto [19:35:35]Method is POST - this is cgi request [19:35:35]url: /json_proto [19:35:35]query_string will be loaded in cgi processing [19:35:35]execute_cgi json_proto POST (null) [19:35:35]execute_cgi path=json_proto method=POST [19:35:35]POST find Content-Length [19:35:35]Host: 172.17.40.196:8080 [19:35:35]Content-Length: 862 [19:35:35]Content-Type: application/json [19:35:35] [19:35:35]POST finish read [19:35:35]Found Content-Length = 862 [19:35:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35123", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 518.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:35:35]execute_script... [19:35: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)35123", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 518.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:35:35]POST & json_proto [19:35:35]process_json_proto [19:35:35]json parsed OK: [19:35:35]protocol is kg_v1.0 [19:35:35]action value=close_receipt [19:35:35]process_action close_receipt [19:35:35]cmd_close_receipt [19:35:35]MH_GetDate [19:35:35]Write to MH i2c: F0 00 00 07 2A 20 [19:35:35]Write i2c OK [19:35:35]MH_I2C_Read... [19:35:35]Read from MH i2c: F0 [19:35:35]MH_I2C_Read... [19:35:35]Read from MH i2c: F0 09 00 [19:35:35]MH_I2C_Read... [19:35:35]Read from MH i2c: F0 09 00 07 2A 00 90 E7 1F 67 5B 68 A1 66 F0 [19:35:35]GetLastDocTimeStamp 1730143861 [19:35:35]current date 1730144144 [19:35:35]FM_GetShiftState [19:35:35]SAM_PROTO_GetShiftState [19:35:35]wFMCommunicate request_size=4 [19:35:35]MH_SAM_APDU [19:35:35]CAPDU: 80 13 01 00 [19:35:35]Write to MH i2c: E2 08 00 08 2A 80 13 01 00 00 00 00 00 AF [19:35:35]Write i2c OK [19:35:35]MH_I2C_Read... [19:35:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:35:35]Read from MH i2c: E2 [19:35:35]MH_I2C_Read... [19:35:35]Read from MH i2c: E2 0E 00 [19:35:35]MH_I2C_Read... [19:35:35]Read from MH i2c: E2 0E 00 08 2A 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 31 [19:35:35]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [19:35:35]wFMCommunicate OK [19:35:35]SAM_PROTO_GetShiftState done [19:35:35]FM_GetShiftState done [19:35:35]opened in 1730073884 [19:35:35]opened+sec_in_day 1730160284 [19:35:35]quantity*price = 23000 [19:35:35]sum+1 = 23001 [19:35:35]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 2.000 * 144.00 = 288.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 518.00 НСП 1% : 4.58 НДС 12% : 55.00 Наличными: 518.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 67 28.10.2024 19:35 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37824 ФПД: 175921570085326 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T193544&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37824&fm=175921570085326&tin=02508201610067®Number=0000000000091684&sum=51800 0 [19:35:36]StoreToDocumentArchive [19:35:36]shift 551 fd 37824 [19:35:36]save to /storage/0551/doc_00037824 [19:35:36]save last doc name /storage/0551/doc_00037824 to /storage/kkm_last_doc_name [19:35:36]save OK [19:35:36]Clear old archive folders... [19:35:36]ProcessDocumentItem done err = 0, tmpTLVsize=377 [19:35:36]tlvbuf is 0021FC10 [19:35:36]SAM_PROTO_ClearQueue [19:35:36]wFMCommunicate request_size=4 [19:35:36]MH_SAM_APDU [19:35:36]CAPDU: 80 09 00 00 [19:35:36]Write to MH i2c: E2 08 00 15 2A 80 09 00 00 00 00 00 00 B1 [19:35:36]Write i2c OK [19:35:36]MH_I2C_Read... [19:35:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:35:36]Read from MH i2c: E2 [19:35:36]MH_I2C_Read... [19:35:36]Read from MH i2c: E2 03 00 [19:35:36]MH_I2C_Read... [19:35:36]Read from MH i2c: E2 03 00 15 2A 00 90 00 B3 [19:35:36]RAPDU: 90 00 [19:35:36]wFMCommunicate OK [19:35:36]SAM_PROTO_ClearQueue done [19:35:36]KKMCreateOFDPacket [19:35:36]OFDProtocolAddRootSTLVToBuf [19:35:36]FM_MakeSignedData [19:35:36]FM_MakeSignedData [19:35:36]SAM_PROTO_SignData [19:35:36]wFMCommunicate request_size=4 [19:35:36]MH_SAM_APDU [19:35:36]CAPDU: 80 0D 01 02 [19:35:36]Write to MH i2c: E2 08 00 16 2A 80 0D 01 02 00 00 00 00 B9 [19:35:36]Write i2c OK [19:35:36]MH_I2C_Read... [19:35:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:35:36]Read from MH i2c: E2 [19:35:36]MH_I2C_Read... [19:35:36]Read from MH i2c: E2 03 00 [19:35:36]MH_I2C_Read... [19:35:36]Read from MH i2c: E2 03 00 16 2A 00 90 00 B4 [19:35:36]RAPDU: 90 00 [19:35:36]wFMCommunicate OK [19:35:36]wFMCommunicate request_size=255 [19:35:36]MH_SAM_APDU [19:35:36]CAPDU: 80 0D 02 02 FA 03 00 79 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 CA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CA 01 00 00 00 00 EE [19:35:36]Write to MH i2c: E2 02 01 17 2A 80 0D 02 02 FA 00 03 00 79 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 CA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CA 01 00 00 00 00 EE 00 00 7D [19:35:36]Write i2c OK [19:35:36]MH_I2C_Read... [19:35:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:35:37]Read from MH i2c: E2 [19:35:37]MH_I2C_Read... [19:35:37]Read from MH i2c: E2 03 00 [19:35:37]MH_I2C_Read... [19:35:37]Read from MH i2c: E2 03 00 17 2A 00 90 00 B5 [19:35:37]RAPDU: 90 00 [19:35:37]wFMCommunicate OK [19:35:37]wFMCommunicate request_size=136 [19:35:37]MH_SAM_APDU [19:35:37]CAPDU: 80 0D 02 02 83 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 15 00 00 00 00 07 04 06 00 58 CA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 90 E7 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C0 93 00 00 35 04 06 00 9F FF EE B1 79 CE [19:35:37]Write to MH i2c: E2 8B 00 18 2A 80 0D 02 02 83 00 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 15 00 00 00 00 07 04 06 00 58 CA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 90 E7 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C0 93 00 00 35 04 06 00 9F FF EE B1 79 CE 00 00 F4 [19:35:37]Write i2c OK [19:35:37]MH_I2C_Read... [19:35:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:35:37]Read from MH i2c: E2 [19:35:37]MH_I2C_Read... [19:35:37]Read from MH i2c: E2 03 00 [19:35:37]MH_I2C_Read... [19:35:37]Read from MH i2c: E2 03 00 18 2A 00 90 00 B6 [19:35:37]RAPDU: 90 00 [19:35:37]wFMCommunicate OK [19:35:37]wFMCommunicate request_size=4 [19:35:37]MH_SAM_APDU [19:35:37]CAPDU: 80 0D 03 02 [19:35:37]Write to MH i2c: E2 08 00 19 2A 80 0D 03 02 00 00 00 00 BE [19:35:37]Write i2c OK [19:35:37]MH_I2C_Read... [19:35:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:35:37]Read from MH i2c: E2 [19:35:37]MH_I2C_Read... [19:35:37]Read from MH i2c: E2 0B 00 [19:35:37]MH_I2C_Read... [19:35:37]Read from MH i2c: E2 0B 00 19 2A 00 1B FB A5 98 D9 A2 27 57 90 00 0B [19:35:37]RAPDU: 1B FB A5 98 D9 A2 27 57 90 00 [19:35:37]wFMCommunicate OK [19:35:37]SAM_PROTO_SignData done [19:35:37]FM_MakeSignedData done [19:35:37]CreateOFDProtocolMessage [19:35:37]wFMCommunicate request_size=4 [19:35:37]MH_SAM_APDU [19:35:37]CAPDU: 80 11 00 00 [19:35:37]Write to MH i2c: E2 08 00 1A 2A 80 11 00 00 00 00 00 00 BE [19:35:37]Write i2c OK [19:35:37]MH_I2C_Read... [19:35:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:35:37]Read from MH i2c: E2 [19:35:37]MH_I2C_Read... [19:35:37]Read from MH i2c: E2 17 00 [19:35:37]MH_I2C_Read... [19:35:37]Read from MH i2c: E2 17 00 1A 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 0E [19:35:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:35:37]wFMCommunicate OK [19:35:37]CreateOFDProtocolMessage done [19:35:37]OFDSenderStorePacket 37824 [19:35:37]StoreOFDPacket docnum=37824 [19:35:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 8D 01 00 00 F0 5A 85 01 2B 8B 5A 03 01 00 03 00 79 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 CA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 15 00 00 00 00 07 04 06 00 58 CA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 90 E7 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C0 93 00 00 35 04 06 00 9F FF EE B1 79 CE 1B FB A5 98 D9 A2 27 57 [19:35:37]CheckFolder [19:35:37]dirname=/storage/ofd_packets [19:35:37]CheckFolder done [19:35:37]ProducePacketName [19:35:37]name=ofd_packets/00037824 [19:35:37]NVStorageSaveData ofd_packets/00037824 [19:35:37]File name is /storage/ofd_packets/00037824 [19:35:37]Write 427 bytes [19:35:37]NVStorageSaveData done [19:35:37]OFDSenderStorePacket done [19:35:37]KKMCreateOFDPacket done [19:35:37]NVStorageSaveData kkm_last_timestamp [19:35:37]File name is /storage/kkm_last_timestamp [19:35:37]Write 4 bytes [19:35:37]NVStorageSaveData done [19:35:37]ExternCall_PrintAddStr [19:35:37]wPrintStart [19:35:37]Write to MH i2c: 01 00 00 1B 2A 45 [19:35:37]Write i2c OK [19:35:37]MH_I2C_Read... [19:35:37]Read from MH i2c: 01 [19:35:37]MH_I2C_Read... [19:35:37]Read from MH i2c: 01 07 00 [19:35:37]MH_I2C_Read... [19:35:37]Read from MH i2c: 01 07 00 1B 2A 00 00 00 00 00 FF 0F 5A [19:35:37]RasterBufferAndPrint [19:35:37]line Счет N : (3)35123 [19:35:37]line ИНН: 02508201610067 [19:35:37]line Контрольно-Кассовый Чек [19:35:37]line ПРОДАЖА [19:35:37]line Товар: 2000036240010 [19:35:37]line Кофе Латте (GABB TRADE) [19:35:37]line 2.000 * 115.00 [19:35:37]line = 230.00 [19:35:37]line НДС 12% НСП 1% [19:35:37]line > о реализуемом товаре [19:35:37]line Товар: 48743570 [19:35:37]line Сигареты Winston XStyle Blue [19:35:37]line 2.000 * 144.00 [19:35:37]line = 288.00 [19:35:37]line НДС 12% НСП 1% [19:35:37]line > о реализуемом товаре [19:35:37]line ИТОГО: 518.00 [19:35:37]line НСП 1% : 4.58 [19:35:37]line НДС 12% : 55.00 [19:35:37]line Наличными: 518.00 [19:35:37]line Безнал.: 0.00 [19:35:37]line Место: АЗС № 126 "Партнер Нефть" [19:35:37]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [19:35:37]line СНО: Общий режим [19:35:37]line Чек 67 28.10.2024 19:35 [19:35:37]line Смена: 551 ФФД: 1.0 [19:35:37]line ЗНМ: 0300000092 [19:35:37]line РНМ: 0000000000091684 [19:35:37]line Версия ККМ: 001 [19:35:37]line ФМ: 0000000000871841 [19:35:37]line ФД: 37824 [19:35:37]line ФПД: 175921570085326 [19:35:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T193544&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37824&fm=175921570085326&tin=02508201610067®Number=0000000000091684&sum=51800 [19:35:37]line 0 [19:35:37]OFD Sender: Processing packet 37824 [packets to send 42, broken 41] [19:35:37]ProducePacketName [19:35:37]name=ofd_packets/00037824 [19:35:37]OFD Sender: To server: pG, [19:35:37]CommunicateWithHost lk.salyk.kg:30040 [19:35:37]ConnectInit lk.salyk.kg [19:35:37]written 0, free lines is 4095 [19:35:38]Write to MH i2c: 01 00 00 49 2A 73 [19:35:38]Write i2c OK [19:35:38]MH_I2C_Read... [19:35:38]Read from MH i2c: 01 [19:35:38]MH_I2C_Read... [19:35:38]Read from MH i2c: 01 07 00 [19:35:38]MH_I2C_Read... [19:35:38]Read from MH i2c: 01 07 00 49 2A 00 00 00 00 00 6D 0C F3 [19:35:38]RasterBufferAndPrint [19:35:38]line [19:35:38]line [19:35:38]line [19:35:38]line [19:35:38]line [19:35:38]written 0, free lines is 3187 [19:35:38]MH_Cut [19:35:38]Write to MH i2c: D1 01 00 50 2A 01 4C [19:35:38]Write i2c OK [19:35:38]MH_I2C_Read... [19:35:38]Read from MH i2c: D1 [19:35:38]MH_I2C_Read... [19:35:38]Read from MH i2c: D1 01 00 [19:35:38]MH_I2C_Read... [19:35:38]Read from MH i2c: D1 01 00 50 2A 00 4B [19:35:38]Write to MH i2c: 01 00 00 51 2A 7B [19:35:38]Write i2c OK [19:35:38]MH_I2C_Read... [19:35:39]*** Cut start [19:35:39]*** Partial cut [19:35:39]*** CUTSNS_PIN = 1 [19:35:39]*** CUTSNS_PIN = 0 [19:35:39]*** Brake cut motor [19:35:39]Read from MH i2c: 01 [19:35:39]MH_I2C_Read... [19:35:39]*** Stop cut motor [19:35:39]*** Cut end [19:35:39]Read from MH i2c: 01 07 00 [19:35:39]MH_I2C_Read... [19:35:39]Read from MH i2c: 01 07 00 51 2A 00 00 00 00 00 FF 0F 90 [19:35:39]process_action close_receipt done [19:35:39]requested_data is exist [19:35:39]produce_requested_data [19:35:39]requested_item fm.sn is exist - process it [19:35:39]wFMCommunicate request_size=4 [19:35:39]MH_SAM_APDU [19:35:39]CAPDU: 80 11 00 00 [19:35:39]Write to MH i2c: E2 08 00 52 2A 80 11 00 00 00 00 00 00 F6 [19:35:39]Write i2c OK [19:35:39]MH_I2C_Read... [19:35:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:35:39]Read from MH i2c: E2 [19:35:39]MH_I2C_Read... [19:35:39]Read from MH i2c: E2 17 00 [19:35:39]MH_I2C_Read... [19:35:39]Read from MH i2c: E2 17 00 52 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 46 [19:35:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:35:39]wFMCommunicate OK [19:35:39]requested_item fd.num is exist - process it [19:35:39]SAM_PROTO_GetFieldsCounters [19:35:39]wFMCommunicate request_size=4 [19:35:39]MH_SAM_APDU [19:35:39]CAPDU: 80 13 00 00 [19:35:39]Write to MH i2c: E2 08 00 53 2A 80 13 00 00 00 00 00 00 F9 [19:35:39]Write i2c OK [19:35:39]MH_I2C_Read... [19:35:39]Connected sock=11 [19:35:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 8D 01 00 00 F0 5A 85 01 2B 8B 5A 03 01 00 03 00 79 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 CA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 15 00 00 00 00 07 04 06 00 58 CA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 90 E7 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C0 93 00 00 35 04 06 00 9F FF EE B1 79 CE 1B FB A5 98 D9 A2 27 57 [19:35:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:35:39]Read from MH i2c: E2 [19:35:39]MH_I2C_Read... [19:35:39]Read from MH i2c: E2 62 00 [19:35:39]MH_I2C_Read... [19:35:39]Read from MH i2c: E2 62 00 53 2A 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 C0 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 5F [19:35: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 C0 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:35:39]wFMCommunicate OK [19:35:39]SAM_PROTO_GetFieldsCounters done [19:35:39]requested_item shift.num is exist - process it [19:35:39]requested_item shift.opened is exist - process it [19:35:39]req_shift_opened [19:35:39]FM_GetShiftState [19:35:39]SAM_PROTO_GetShiftState [19:35:39]wFMCommunicate request_size=4 [19:35:39]MH_SAM_APDU [19:35:39]CAPDU: 80 13 01 00 [19:35:39]Write to MH i2c: E2 08 00 54 2A 80 13 01 00 00 00 00 00 FB [19:35:39]Write i2c OK [19:35:39]MH_I2C_Read... [19:35:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:35:39]Read from MH i2c: E2 [19:35:39]MH_I2C_Read... [19:35:39]Read from MH i2c: E2 0E 00 [19:35:39]MH_I2C_Read... [19:35:39]Read from MH i2c: E2 0E 00 54 2A 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 7D [19:35:39]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [19:35:39]wFMCommunicate OK [19:35:39]SAM_PROTO_GetShiftState done [19:35:39]FM_GetShiftState done [19:35:39]req_shift_opened done [19:35:39]requested_item shift.open_date is exist - process it [19:35:39]req_shift_open_date [19:35:39]req_shift_open_date done [19:35:39]produce_requested_data done [19:35:39]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37824,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [19:35:39]process_action_free close_receipt [19:35:39]json_value_free [19:35:39]json_value_free done [19:35:39]process_json_proto returns [19:35:39]Send response to host [19:35:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37824,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [19:35:40]free response buf [19:35:40]execute_script done [19:35:40]execute_script returns [19:35:40]free content buf [19:35:40]Sock 9.Close socket [19:35:40]Sock 9.Thread stoped [19:35:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 C1 F8 47 00 D0 E1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 C0 93 00 00 F4 03 04 00 86 92 1F 67 B6 04 01 00 00 70 28 1C FE DF 82 E5 D1 [19:35:40]CommunicateWithHost err = 0 [19:35:40]CheckOFDResponse [19:35:40]1017 (14) - 77093643461234 [19:35:40]1041 (16) - 0000000000871841 [19:35:40]1040 (4) - 37824 [19:35:40]1012 (4) - 28.10.2024 13:32 [19:35:40]1206 (1) - 0 [19:35:40]OFD Sender: Remove packet 37824 [19:35:40]ProducePacketName [19:35:40]name=ofd_packets/00037824 [19:35:40]NVStorageDeleteData [19:35:40]OFD Sender: No OFD packet to send [19:35:45]OFD Sender: No OFD packet to send [19:35:50]OFD Sender: No OFD packet to send [19:35:55]OFD Sender: No OFD packet to send [19:36:00]OFD Sender: No OFD packet to send [19:36:05]OFD Sender: No OFD packet to send [19:36:10]OFD Sender: No OFD packet to send [19:36:15]OFD Sender: No OFD packet to send [19:36:20]OFD Sender: No OFD packet to send [19:36:26]OFD Sender: No OFD packet to send [19:36:31]OFD Sender: No OFD packet to send [19:36:36]OFD Sender: No OFD packet to send [19:36:41]OFD Sender: No OFD packet to send [19:36:46]OFD Sender: No OFD packet to send [19:36:51]OFD Sender: No OFD packet to send [19:36:56]OFD Sender: No OFD packet to send [19:37:01]OFD Sender: No OFD packet to send [19:37:06]OFD Sender: No OFD packet to send [19:37:11]OFD Sender: No OFD packet to send [19:37:16]OFD Sender: No OFD packet to send [19:37:21]OFD Sender: No OFD packet to send [19:37:26]OFD Sender: No OFD packet to send [19:37:31]OFD Sender: No OFD packet to send [19:37:36]OFD Sender: No OFD packet to send [19:37:41]OFD Sender: No OFD packet to send [19:37:46]OFD Sender: No OFD packet to send [19:37:51]OFD Sender: No OFD packet to send [19:37:56]OFD Sender: No OFD packet to send [19:38:01]OFD Sender: No OFD packet to send [19:38:06]OFD Sender: No OFD packet to send [19:38:11]OFD Sender: No OFD packet to send [19:38:16]OFD Sender: No OFD packet to send [19:38:21]OFD Sender: No OFD packet to send [19:38:26]OFD Sender: No OFD packet to send [19:38:31]OFD Sender: No OFD packet to send [19:38:36]OFD Sender: No OFD packet to send [19:38:41]OFD Sender: No OFD packet to send [19:38:46]OFD Sender: No OFD packet to send [19:38:51]OFD Sender: No OFD packet to send [19:38:56]OFD Sender: No OFD packet to send [19:39:01]OFD Sender: No OFD packet to send [19:39:06]OFD Sender: No OFD packet to send [19:39:11]OFD Sender: No OFD packet to send [19:39:16]OFD Sender: No OFD packet to send [19:39:21]OFD Sender: No OFD packet to send [19:39:26]OFD Sender: No OFD packet to send [19:39:31]OFD Sender: No OFD packet to send [19:39:36]OFD Sender: No OFD packet to send [19:39:41]OFD Sender: No OFD packet to send [19:39:46]OFD Sender: No OFD packet to send [19:39:51]OFD Sender: No OFD packet to send [19:39:56]OFD Sender: No OFD packet to send [19:40:01]OFD Sender: No OFD packet to send [19:40:06]OFD Sender: No OFD packet to send [19:40:11]OFD Sender: No OFD packet to send [19:40:16]OFD Sender: No OFD packet to send [19:40:21]OFD Sender: No OFD packet to send [19:40:26]OFD Sender: No OFD packet to send [19:40:31]OFD Sender: No OFD packet to send [19:40:36]OFD Sender: No OFD packet to send [19:40:41]OFD Sender: No OFD packet to send [19:40:46]OFD Sender: No OFD packet to send [19:40:51]OFD Sender: No OFD packet to send [19:40:56]OFD Sender: No OFD packet to send [19:41:01]OFD Sender: No OFD packet to send [19:41:06]OFD Sender: No OFD packet to send [19:41:11]OFD Sender: No OFD packet to send [19:41:16]OFD Sender: No OFD packet to send [19:41:21]OFD Sender: No OFD packet to send [19:41:26]OFD Sender: No OFD packet to send [19:41:31]OFD Sender: No OFD packet to send [19:41:36]OFD Sender: No OFD packet to send [19:41:41]OFD Sender: No OFD packet to send [19:41:46]OFD Sender: No OFD packet to send [19:41:51]OFD Sender: No OFD packet to send [19:41:56]OFD Sender: No OFD packet to send [19:42:01]OFD Sender: No OFD packet to send [19:42:06]OFD Sender: No OFD packet to send [19:42:11]OFD Sender: No OFD packet to send [19:42:16]OFD Sender: No OFD packet to send [19:42:21]OFD Sender: No OFD packet to send [19:42:26]OFD Sender: No OFD packet to send [19:42:31]OFD Sender: No OFD packet to send [19:42:36]OFD Sender: No OFD packet to send [19:42:41]OFD Sender: No OFD packet to send [19:42:46]OFD Sender: No OFD packet to send [19:42:51]OFD Sender: No OFD packet to send [19:42:56]OFD Sender: No OFD packet to send [19:43:01]OFD Sender: No OFD packet to send [19:43:06]OFD Sender: No OFD packet to send [19:43:11]OFD Sender: No OFD packet to send [19:43:16]OFD Sender: No OFD packet to send [19:43:21]OFD Sender: No OFD packet to send [19:43:26]OFD Sender: No OFD packet to send [19:43:31]OFD Sender: No OFD packet to send [19:43:36]OFD Sender: No OFD packet to send [19:43:41]OFD Sender: No OFD packet to send [19:43:46]OFD Sender: No OFD packet to send [19:43:51]OFD Sender: No OFD packet to send [19:43:56]OFD Sender: No OFD packet to send [19:44:01]OFD Sender: No OFD packet to send [19:44:06]OFD Sender: No OFD packet to send [19:44:11]OFD Sender: No OFD packet to send [19:44:16]OFD Sender: No OFD packet to send [19:44:21]OFD Sender: No OFD packet to send [19:44:26]OFD Sender: No OFD packet to send [19:44:31]OFD Sender: No OFD packet to send [19:44:36]OFD Sender: No OFD packet to send [19:44:41]OFD Sender: No OFD packet to send [19:44:46]OFD Sender: No OFD packet to send [19:44:51]OFD Sender: No OFD packet to send [19:44:56]OFD Sender: No OFD packet to send [19:45:01]OFD Sender: No OFD packet to send [19:45:06]OFD Sender: No OFD packet to send [19:45:11]OFD Sender: No OFD packet to send [19:45:16]OFD Sender: No OFD packet to send [19:45:21]OFD Sender: No OFD packet to send [19:45:26]OFD Sender: No OFD packet to send [19:45:31]OFD Sender: No OFD packet to send [19:45:36]OFD Sender: No OFD packet to send [19:45:41]OFD Sender: No OFD packet to send [19:45:46]OFD Sender: No OFD packet to send [19:45:51]OFD Sender: No OFD packet to send [19:45:56]OFD Sender: No OFD packet to send [19:46:01]OFD Sender: No OFD packet to send [19:46:06]OFD Sender: No OFD packet to send [19:46:11]OFD Sender: No OFD packet to send [19:46:16]OFD Sender: No OFD packet to send [19:46:21]OFD Sender: No OFD packet to send [19:46:26]OFD Sender: No OFD packet to send [19:46:31]OFD Sender: No OFD packet to send [19:46:36]OFD Sender: No OFD packet to send [19:46:41]OFD Sender: No OFD packet to send [19:46:46]OFD Sender: No OFD packet to send [19:46:51]OFD Sender: No OFD packet to send [19:46:56]OFD Sender: No OFD packet to send [19:47:01]OFD Sender: No OFD packet to send [19:47:06]OFD Sender: No OFD packet to send [19:47:11]OFD Sender: No OFD packet to send [19:47:16]OFD Sender: No OFD packet to send [19:47:21]OFD Sender: No OFD packet to send [19:47:26]OFD Sender: No OFD packet to send [19:47:31]OFD Sender: No OFD packet to send [19:47:36]OFD Sender: No OFD packet to send [19:47:41]OFD Sender: No OFD packet to send [19:47:46]OFD Sender: No OFD packet to send [19:47:51]OFD Sender: No OFD packet to send [19:47:54]accept exits with 7 [19:47:54]New connection [19:47:54]New thread 3067440484 created [19:47:54]Thread 3067297124 joined [19:47:54]Waiting for new connection... [19:47:54] Sock 7.Parse request [19:47:54]Sock 7.Check first char [19:47:54]Sock 7.First char is OK [19:47:54]request: POST /json_proto HTTP/1.0 [19:47:54]Method: POST [19:47:54]URL: /json_proto [19:47:54]Method is POST - this is cgi request [19:47:54]url: /json_proto [19:47:54]query_string will be loaded in cgi processing [19:47:54]execute_cgi json_proto POST (null) [19:47:54]execute_cgi path=json_proto method=POST [19:47:54]POST find Content-Length [19:47:54]Host: 172.17.40.196:8080 [19:47:54]Content-Length: 654 [19:47:54]Content-Type: application/json [19:47:54] [19:47:54]POST finish read [19:47:54]Found Content-Length = 654 [19:47:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35124", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 69.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:47:54]execute_script... [19:47:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35124", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 69.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:47:54]POST & json_proto [19:47:54]process_json_proto [19:47:54]json parsed OK: [19:47:54]protocol is kg_v1.0 [19:47:54]action value=close_receipt [19:47:54]process_action close_receipt [19:47:54]cmd_close_receipt [19:47:54]MH_GetDate [19:47:54]Write to MH i2c: F0 00 00 55 2A 6E [19:47:54]Write i2c OK [19:47:54]MH_I2C_Read... [19:47:54]Read from MH i2c: F0 [19:47:54]MH_I2C_Read... [19:47:54]Read from MH i2c: F0 09 00 [19:47:54]MH_I2C_Read... [19:47:54]Read from MH i2c: F0 09 00 55 2A 00 73 EA 1F 67 5B 68 A1 66 24 [19:47:54]GetLastDocTimeStamp 1730144144 [19:47:54]current date 1730144883 [19:47:54]FM_GetShiftState [19:47:54]SAM_PROTO_GetShiftState [19:47:54]wFMCommunicate request_size=4 [19:47:54]MH_SAM_APDU [19:47:54]CAPDU: 80 13 01 00 [19:47:54]Write to MH i2c: E2 08 00 56 2A 80 13 01 00 00 00 00 00 FD [19:47:54]Write i2c OK [19:47:54]MH_I2C_Read... [19:47:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:47:54]Read from MH i2c: E2 [19:47:54]MH_I2C_Read... [19:47:54]Read from MH i2c: E2 0E 00 [19:47:54]MH_I2C_Read... [19:47:54]Read from MH i2c: E2 0E 00 56 2A 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 7F [19:47:54]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [19:47:54]wFMCommunicate OK [19:47:54]SAM_PROTO_GetShiftState done [19:47:54]FM_GetShiftState done [19:47:54]opened in 1730073884 [19:47:54]opened+sec_in_day 1730160284 [19:47:54]quantity*price = 6900 [19:47:54]sum+1 = 6901 [19:47:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 69.00 НСП 1% : 0.61 НДС 12% : 7.33 Наличными: 69.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 68 28.10.2024 19:48 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37825 ФПД: 148165821987277 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T194803&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37825&fm=148165821987277&tin=02508201610067®Number=0000000000091684&sum=6900 0 [19:47:55]StoreToDocumentArchive [19:47:55]shift 551 fd 37825 [19:47:55]save to /storage/0551/doc_00037825 [19:47:55]save last doc name /storage/0551/doc_00037825 to /storage/kkm_last_doc_name [19:47:55]save OK [19:47:55]Clear old archive folders... [19:47:55]ProcessDocumentItem done err = 0, tmpTLVsize=294 [19:47:55]tlvbuf is 00233F80 [19:47:55]SAM_PROTO_ClearQueue [19:47:55]wFMCommunicate request_size=4 [19:47:55]MH_SAM_APDU [19:47:55]CAPDU: 80 09 00 00 [19:47:55]Write to MH i2c: E2 08 00 63 2A 80 09 00 00 00 00 00 00 FF [19:47:55]Write i2c OK [19:47:55]MH_I2C_Read... [19:47:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:47:55]Read from MH i2c: E2 [19:47:55]MH_I2C_Read... [19:47:55]Read from MH i2c: E2 03 00 [19:47:55]MH_I2C_Read... [19:47:55]Read from MH i2c: E2 03 00 63 2A 00 90 00 01 [19:47:55]RAPDU: 90 00 [19:47:55]wFMCommunicate OK [19:47:55]SAM_PROTO_ClearQueue done [19:47:55]KKMCreateOFDPacket [19:47:55]OFDProtocolAddRootSTLVToBuf [19:47:55]FM_MakeSignedData [19:47:55]FM_MakeSignedData [19:47:55]SAM_PROTO_SignData [19:47:55]wFMCommunicate request_size=4 [19:47:55]MH_SAM_APDU [19:47:55]CAPDU: 80 0D 01 02 [19:47:55]Write to MH i2c: E2 08 00 64 2A 80 0D 01 02 00 00 00 00 07 [19:47:55]Write i2c OK [19:47:55]MH_I2C_Read... [19:47:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:47:55]Read from MH i2c: E2 [19:47:55]MH_I2C_Read... [19:47:55]Read from MH i2c: E2 03 00 [19:47:55]MH_I2C_Read... [19:47:55]Read from MH i2c: E2 03 00 64 2A 00 90 00 02 [19:47:55]RAPDU: 90 00 [19:47:55]wFMCommunicate OK [19:47:55]wFMCommunicate request_size=255 [19:47:55]MH_SAM_APDU [19:47:55]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 73 EA 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [19:47:55]Write to MH i2c: E2 02 01 65 2A 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 73 EA 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 66 [19:47:55]Write i2c OK [19:47:55]MH_I2C_Read... [19:47:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:47:55]Read from MH i2c: E2 [19:47:55]MH_I2C_Read... [19:47:55]Read from MH i2c: E2 03 00 [19:47:55]MH_I2C_Read... [19:47:55]Read from MH i2c: E2 03 00 65 2A 00 90 00 03 [19:47:55]RAPDU: 90 00 [19:47:55]wFMCommunicate OK [19:47:55]wFMCommunicate request_size=53 [19:47:55]MH_SAM_APDU [19:47:55]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C1 93 00 00 35 04 06 00 86 C1 8B 2F F9 CD [19:47:55]Write to MH i2c: E2 38 00 66 2A 80 0D 02 02 30 00 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C1 93 00 00 35 04 06 00 86 C1 8B 2F F9 CD 00 00 1A [19:47:55]Write i2c OK [19:47:55]MH_I2C_Read... [19:47:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:47:55]Read from MH i2c: E2 [19:47:55]MH_I2C_Read... [19:47:55]Read from MH i2c: E2 03 00 [19:47:55]MH_I2C_Read... [19:47:55]Read from MH i2c: E2 03 00 66 2A 00 90 00 04 [19:47:55]RAPDU: 90 00 [19:47:55]wFMCommunicate OK [19:47:55]wFMCommunicate request_size=4 [19:47:55]MH_SAM_APDU [19:47:55]CAPDU: 80 0D 03 02 [19:47:55]Write to MH i2c: E2 08 00 67 2A 80 0D 03 02 00 00 00 00 0C [19:47:55]Write i2c OK [19:47:55]MH_I2C_Read... [19:47:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:47:55]Read from MH i2c: E2 [19:47:55]MH_I2C_Read... [19:47:55]Read from MH i2c: E2 0B 00 [19:47:55]MH_I2C_Read... [19:47:55]Read from MH i2c: E2 0B 00 67 2A 00 C8 CD D7 19 C5 5C 83 C5 90 00 FB [19:47:55]RAPDU: C8 CD D7 19 C5 5C 83 C5 90 00 [19:47:55]wFMCommunicate OK [19:47:55]SAM_PROTO_SignData done [19:47:55]FM_MakeSignedData done [19:47:55]CreateOFDProtocolMessage [19:47:55]wFMCommunicate request_size=4 [19:47:55]MH_SAM_APDU [19:47:55]CAPDU: 80 11 00 00 [19:47:55]Write to MH i2c: E2 08 00 68 2A 80 11 00 00 00 00 00 00 0C [19:47:55]Write i2c OK [19:47:55]MH_I2C_Read... [19:47:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:47:56]Read from MH i2c: E2 [19:47:56]MH_I2C_Read... [19:47:56]Read from MH i2c: E2 17 00 [19:47:56]MH_I2C_Read... [19:47:56]Read from MH i2c: E2 17 00 68 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 5C [19:47:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:47:56]wFMCommunicate OK [19:47:56]CreateOFDProtocolMessage done [19:47:56]OFDSenderStorePacket 37825 [19:47:56]StoreOFDPacket docnum=37825 [19:47:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3A 01 00 00 29 D6 32 01 E4 56 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 73 EA 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C1 93 00 00 35 04 06 00 86 C1 8B 2F F9 CD C8 CD D7 19 C5 5C 83 C5 [19:47:56]CheckFolder [19:47:56]dirname=/storage/ofd_packets [19:47:56]CheckFolder done [19:47:56]ProducePacketName [19:47:56]name=ofd_packets/00037825 [19:47:56]NVStorageSaveData ofd_packets/00037825 [19:47:56]File name is /storage/ofd_packets/00037825 [19:47:56]Write 344 bytes [19:47:56]NVStorageSaveData done [19:47:56]OFDSenderStorePacket done [19:47:56]KKMCreateOFDPacket done [19:47:56]NVStorageSaveData kkm_last_timestamp [19:47:56]File name is /storage/kkm_last_timestamp [19:47:56]Write 4 bytes [19:47:56]NVStorageSaveData done [19:47:56]ExternCall_PrintAddStr [19:47:56]wPrintStart [19:47:56]Write to MH i2c: 01 00 00 69 2A 93 [19:47:56]Write i2c OK [19:47:56]MH_I2C_Read... [19:47:56]Read from MH i2c: 01 [19:47:56]MH_I2C_Read... [19:47:56]Read from MH i2c: 01 07 00 [19:47:56]MH_I2C_Read... [19:47:56]Read from MH i2c: 01 07 00 69 2A 00 00 00 00 00 FF 0F A8 [19:47:56]RasterBufferAndPrint [19:47:56]line Счет N : (3)35124 [19:47:56]line ИНН: 02508201610067 [19:47:56]line Контрольно-Кассовый Чек [19:47:56]line ПРОДАЖА [19:47:56]line Товар: 4600682557456 [19:47:56]line Напиток FLash up energy эн ж/б 0,5/0,45л [19:47:56]line 1.000 * 69.00 [19:47:56]line = 69.00 [19:47:56]line НДС 12% НСП 1% [19:47:56]line > о реализуемом товаре [19:47:56]line ИТОГО: 69.00 [19:47:56]line НСП 1% : 0.61 [19:47:56]line НДС 12% : 7.33 [19:47:56]line Наличными: 69.00 [19:47:56]line Безнал.: 0.00 [19:47:56]line Место: АЗС № 126 "Партнер Нефть" [19:47:56]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [19:47:56]line СНО: Общий режим [19:47:56]line Чек 68 28.10.2024 19:48 [19:47:56]line Смена: 551 ФФД: 1.0 [19:47:56]line ЗНМ: 0300000092 [19:47:56]line РНМ: 0000000000091684 [19:47:56]line Версия ККМ: 001 [19:47:56]line ФМ: 0000000000871841 [19:47:56]line ФД: 37825 [19:47:56]line ФПД: 148165821987277 [19:47:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T194803&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37825&fm=148165821987277&tin=02508201610067®Number=0000000000091684&sum=6900 [19:47:56]OFD Sender: Processing packet 37825 [packets to send 42, broken 41] [19:47:56]ProducePacketName [19:47:56]name=ofd_packets/00037825 [19:47:56]OFD Sender: To server: pG, [19:47:56]CommunicateWithHost lk.salyk.kg:30040 [19:47:56]ConnectInit lk.salyk.kg [19:47:56]line 0 [19:47:56]written 0, free lines is 4095 [19:47:56]Write to MH i2c: 01 00 00 92 2A BC [19:47:56]Write i2c OK [19:47:56]MH_I2C_Read... [19:47:56]Read from MH i2c: 01 [19:47:56]MH_I2C_Read... [19:47:56]Read from MH i2c: 01 07 00 [19:47:56]MH_I2C_Read... [19:47:56]Read from MH i2c: 01 07 00 92 2A 00 00 00 00 00 B6 0C 85 [19:47:56]RasterBufferAndPrint [19:47:56]line [19:47:56]line [19:47:56]line [19:47:56]line [19:47:56]line [19:47:56]written 0, free lines is 3258 [19:47:56]MH_Cut [19:47:56]Write to MH i2c: D1 01 00 99 2A 01 95 [19:47:56]Write i2c OK [19:47:56]MH_I2C_Read... [19:47:56]Read from MH i2c: D1 [19:47:56]MH_I2C_Read... [19:47:56]Read from MH i2c: D1 01 00 [19:47:56]MH_I2C_Read... [19:47:56]Read from MH i2c: D1 01 00 99 2A 00 94 [19:47:56]Write to MH i2c: 01 00 00 9A 2A C4 [19:47:56]Write i2c OK [19:47:56]MH_I2C_Read... [19:47:57]Connected sock=10 [19:47:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3A 01 00 00 29 D6 32 01 E4 56 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 73 EA 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C1 93 00 00 35 04 06 00 86 C1 8B 2F F9 CD C8 CD D7 19 C5 5C 83 C5 [19:47:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 50 5C 47 00 69 67 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C1 93 00 00 F4 03 04 00 68 95 1F 67 B6 04 01 00 00 AA DE CE 51 13 84 7A 75 [19:47:57]CommunicateWithHost err = 0 [19:47:57]CheckOFDResponse [19:47:57]1017 (14) - 77093643461234 [19:47:57]1041 (16) - 0000000000871841 [19:47:57]1040 (4) - 37825 [19:47:57]1012 (4) - 28.10.2024 13:45 [19:47:57]1206 (1) - 0 [19:47:57]OFD Sender: Remove packet 37825 [19:47:57]ProducePacketName [19:47:57]name=ofd_packets/00037825 [19:47:57]NVStorageDeleteData [19:47:57]*** Cut start [19:47:57]*** Partial cut [19:47:57]*** CUTSNS_PIN = 1 [19:47:57]*** CUTSNS_PIN = 0 [19:47:57]*** Brake cut motor [19:47:58]OFD Sender: No OFD packet to send [19:47:58]Read from MH i2c: 01 [19:47:58]MH_I2C_Read... [19:47:58]*** Stop cut motor [19:47:58]*** Cut end [19:47:58]Read from MH i2c: 01 07 00 [19:47:58]MH_I2C_Read... [19:47:58]Read from MH i2c: 01 07 00 9A 2A 00 00 00 00 00 FF 0F D9 [19:47:58]process_action close_receipt done [19:47:58]requested_data is exist [19:47:58]produce_requested_data [19:47:58]requested_item fm.sn is exist - process it [19:47:58]wFMCommunicate request_size=4 [19:47:58]MH_SAM_APDU [19:47:58]CAPDU: 80 11 00 00 [19:47:58]Write to MH i2c: E2 08 00 9B 2A 80 11 00 00 00 00 00 00 3F [19:47:58]Write i2c OK [19:47:58]MH_I2C_Read... [19:47:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:47:58]Read from MH i2c: E2 [19:47:58]MH_I2C_Read... [19:47:58]Read from MH i2c: E2 17 00 [19:47:58]MH_I2C_Read... [19:47:58]Read from MH i2c: E2 17 00 9B 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 8F [19:47:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:47:58]wFMCommunicate OK [19:47:58]requested_item fd.num is exist - process it [19:47:58]SAM_PROTO_GetFieldsCounters [19:47:58]wFMCommunicate request_size=4 [19:47:58]MH_SAM_APDU [19:47:58]CAPDU: 80 13 00 00 [19:47:58]Write to MH i2c: E2 08 00 9C 2A 80 13 00 00 00 00 00 00 42 [19:47:58]Write i2c OK [19:47:58]MH_I2C_Read... [19:47:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:47:58]Read from MH i2c: E2 [19:47:58]MH_I2C_Read... [19:47:58]Read from MH i2c: E2 62 00 [19:47:58]MH_I2C_Read... [19:47:58]Read from MH i2c: E2 62 00 9C 2A 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 C1 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 AC [19:47:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 C1 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:47:58]wFMCommunicate OK [19:47:58]SAM_PROTO_GetFieldsCounters done [19:47:58]requested_item shift.num is exist - process it [19:47:58]requested_item shift.opened is exist - process it [19:47:58]req_shift_opened [19:47:58]FM_GetShiftState [19:47:58]SAM_PROTO_GetShiftState [19:47:58]wFMCommunicate request_size=4 [19:47:58]MH_SAM_APDU [19:47:58]CAPDU: 80 13 01 00 [19:47:58]Write to MH i2c: E2 08 00 9D 2A 80 13 01 00 00 00 00 00 44 [19:47:58]Write i2c OK [19:47:58]MH_I2C_Read... [19:47:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:47:58]Read from MH i2c: E2 [19:47:58]MH_I2C_Read... [19:47:58]Read from MH i2c: E2 0E 00 [19:47:58]MH_I2C_Read... [19:47:58]Read from MH i2c: E2 0E 00 9D 2A 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 C6 [19:47:58]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [19:47:58]wFMCommunicate OK [19:47:58]SAM_PROTO_GetShiftState done [19:47:58]FM_GetShiftState done [19:47:58]req_shift_opened done [19:47:58]requested_item shift.open_date is exist - process it [19:47:58]req_shift_open_date [19:47:58]req_shift_open_date done [19:47:58]produce_requested_data done [19:47:58]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37825,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [19:47:58]process_action_free close_receipt [19:47:58]json_value_free [19:47:58]json_value_free done [19:47:58]process_json_proto returns [19:47:58]Send response to host [19:47:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37825,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [19:47:58]free response buf [19:47:58]execute_script done [19:47:58]execute_script returns [19:47:58]free content buf [19:47:58]Sock 7.Close socket [19:47:58]Sock 7.Thread stoped [19:48:03]OFD Sender: No OFD packet to send [19:48:08]OFD Sender: No OFD packet to send [19:48:13]OFD Sender: No OFD packet to send [19:48:18]OFD Sender: No OFD packet to send [19:48:23]OFD Sender: No OFD packet to send [19:48:28]OFD Sender: No OFD packet to send [19:48:28]accept exits with 9 [19:48:28]New connection [19:48:28]New thread 3067297124 created [19:48:28]Thread 3067440484 joined [19:48:28]Waiting for new connection... [19:48:28] Sock 9.Parse request [19:48:28]Sock 9.Check first char [19:48:28]Sock 9.First char is OK [19:48:28]request: POST /json_proto HTTP/1.0 [19:48:28]Method: POST [19:48:28]URL: /json_proto [19:48:28]Method is POST - this is cgi request [19:48:28]url: /json_proto [19:48:28]query_string will be loaded in cgi processing [19:48:28]execute_cgi json_proto POST (null) [19:48:28]execute_cgi path=json_proto method=POST [19:48:28]POST find Content-Length [19:48:28]Host: 172.17.40.196:8080 [19:48:28]Content-Length: 625 [19:48:28]Content-Type: application/json [19:48:28] [19:48:28]POST finish read [19:48:28]Found Content-Length = 625 [19:48:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35125", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:48:28]execute_script... [19:48:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35125", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:48:28]POST & json_proto [19:48:28]process_json_proto [19:48:28]json parsed OK: [19:48:28]protocol is kg_v1.0 [19:48:28]action value=close_receipt [19:48:28]process_action close_receipt [19:48:28]cmd_close_receipt [19:48:28]MH_GetDate [19:48:28]Write to MH i2c: F0 00 00 9E 2A B7 [19:48:28]Write i2c OK [19:48:28]MH_I2C_Read... [19:48:28]Read from MH i2c: F0 [19:48:28]MH_I2C_Read... [19:48:28]Read from MH i2c: F0 09 00 [19:48:28]MH_I2C_Read... [19:48:28]Read from MH i2c: F0 09 00 9E 2A 00 95 EA 1F 67 5B 68 A1 66 8F [19:48:28]GetLastDocTimeStamp 1730144883 [19:48:28]current date 1730144917 [19:48:28]FM_GetShiftState [19:48:28]SAM_PROTO_GetShiftState [19:48:28]wFMCommunicate request_size=4 [19:48:28]MH_SAM_APDU [19:48:28]CAPDU: 80 13 01 00 [19:48:28]Write to MH i2c: E2 08 00 9F 2A 80 13 01 00 00 00 00 00 46 [19:48:28]Write i2c OK [19:48:28]MH_I2C_Read... [19:48:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:48:28]Read from MH i2c: E2 [19:48:28]MH_I2C_Read... [19:48:28]Read from MH i2c: E2 0E 00 [19:48:28]MH_I2C_Read... [19:48:28]Read from MH i2c: E2 0E 00 9F 2A 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 C8 [19:48:28]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [19:48:28]wFMCommunicate OK [19:48:28]SAM_PROTO_GetShiftState done [19:48:28]FM_GetShiftState done [19:48:28]opened in 1730073884 [19:48:28]opened+sec_in_day 1730160284 [19:48:28]quantity*price = 11500 [19:48:28]sum+1 = 11501 [19:48:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 69 28.10.2024 19:48 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37826 ФПД: 184620525297674 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T194837&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37826&fm=184620525297674&tin=02508201610067®Number=0000000000091684&sum=11500 0 [19:48:29]StoreToDocumentArchive [19:48:29]shift 551 fd 37826 [19:48:29]save to /storage/0551/doc_00037826 [19:48:29]save last doc name /storage/0551/doc_00037826 to /storage/kkm_last_doc_name [19:48:29]save OK [19:48:29]Clear old archive folders... [19:48:29]ProcessDocumentItem done err = 0, tmpTLVsize=274 [19:48:29]tlvbuf is 00262160 [19:48:29]SAM_PROTO_ClearQueue [19:48:29]wFMCommunicate request_size=4 [19:48:29]MH_SAM_APDU [19:48:29]CAPDU: 80 09 00 00 [19:48:29]Write to MH i2c: E2 08 00 AC 2A 80 09 00 00 00 00 00 00 48 [19:48:29]Write i2c OK [19:48:29]MH_I2C_Read... [19:48:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:48:29]Read from MH i2c: E2 [19:48:29]MH_I2C_Read... [19:48:29]Read from MH i2c: E2 03 00 [19:48:29]MH_I2C_Read... [19:48:29]Read from MH i2c: E2 03 00 AC 2A 00 90 00 4A [19:48:29]RAPDU: 90 00 [19:48:29]wFMCommunicate OK [19:48:29]SAM_PROTO_ClearQueue done [19:48:29]KKMCreateOFDPacket [19:48:29]OFDProtocolAddRootSTLVToBuf [19:48:29]FM_MakeSignedData [19:48:29]FM_MakeSignedData [19:48:29]SAM_PROTO_SignData [19:48:29]wFMCommunicate request_size=4 [19:48:29]MH_SAM_APDU [19:48:29]CAPDU: 80 0D 01 02 [19:48:29]Write to MH i2c: E2 08 00 AD 2A 80 0D 01 02 00 00 00 00 50 [19:48:29]Write i2c OK [19:48:29]MH_I2C_Read... [19:48:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:48:29]Read from MH i2c: E2 [19:48:29]MH_I2C_Read... [19:48:29]Read from MH i2c: E2 03 00 [19:48:29]MH_I2C_Read... [19:48:29]Read from MH i2c: E2 03 00 AD 2A 00 90 00 4B [19:48:29]RAPDU: 90 00 [19:48:29]wFMCommunicate OK [19:48:29]wFMCommunicate request_size=255 [19:48:29]MH_SAM_APDU [19:48:29]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 95 EA 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 [19:48:29]Write to MH i2c: E2 02 01 AE 2A 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 95 EA 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 00 00 62 [19:48:29]Write i2c OK [19:48:29]MH_I2C_Read... [19:48:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:29]Read from MH i2c: E2 [19:48:29]MH_I2C_Read... [19:48:29]Read from MH i2c: E2 03 00 [19:48:29]MH_I2C_Read... [19:48:29]Read from MH i2c: E2 03 00 AE 2A 00 90 00 4C [19:48:29]RAPDU: 90 00 [19:48:29]wFMCommunicate OK [19:48:29]wFMCommunicate request_size=33 [19:48:29]MH_SAM_APDU [19:48:29]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C2 93 00 00 35 04 06 00 A7 E9 50 D4 20 0A [19:48:29]Write to MH i2c: E2 24 00 AF 2A 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C2 93 00 00 35 04 06 00 A7 E9 50 D4 20 0A 00 00 12 [19:48:29]Write i2c OK [19:48:29]MH_I2C_Read... [19:48:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:29]Read from MH i2c: E2 [19:48:29]MH_I2C_Read... [19:48:29]Read from MH i2c: E2 03 00 [19:48:29]MH_I2C_Read... [19:48:29]Read from MH i2c: E2 03 00 AF 2A 00 90 00 4D [19:48:29]RAPDU: 90 00 [19:48:29]wFMCommunicate OK [19:48:29]wFMCommunicate request_size=4 [19:48:29]MH_SAM_APDU [19:48:29]CAPDU: 80 0D 03 02 [19:48:29]Write to MH i2c: E2 08 00 B0 2A 80 0D 03 02 00 00 00 00 55 [19:48:29]Write i2c OK [19:48:29]MH_I2C_Read... [19:48:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:48:29]Read from MH i2c: E2 [19:48:29]MH_I2C_Read... [19:48:29]Read from MH i2c: E2 0B 00 [19:48:29]MH_I2C_Read... [19:48:29]Read from MH i2c: E2 0B 00 B0 2A 00 DD 3A 3F AE E5 42 F2 46 90 00 B9 [19:48:29]RAPDU: DD 3A 3F AE E5 42 F2 46 90 00 [19:48:29]wFMCommunicate OK [19:48:29]SAM_PROTO_SignData done [19:48:29]FM_MakeSignedData done [19:48:29]CreateOFDProtocolMessage [19:48:29]wFMCommunicate request_size=4 [19:48:29]MH_SAM_APDU [19:48:29]CAPDU: 80 11 00 00 [19:48:29]Write to MH i2c: E2 08 00 B1 2A 80 11 00 00 00 00 00 00 55 [19:48:29]Write i2c OK [19:48:29]MH_I2C_Read... [19:48:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:48:29]Read from MH i2c: E2 [19:48:29]MH_I2C_Read... [19:48:29]Read from MH i2c: E2 17 00 [19:48:29]MH_I2C_Read... [19:48:29]Read from MH i2c: E2 17 00 B1 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A5 [19:48:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:48:29]wFMCommunicate OK [19:48:29]CreateOFDProtocolMessage done [19:48:29]OFDSenderStorePacket 37826 [19:48:29]StoreOFDPacket docnum=37826 [19:48:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 AA AB 1E 01 44 61 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 95 EA 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C2 93 00 00 35 04 06 00 A7 E9 50 D4 20 0A DD 3A 3F AE E5 42 F2 46 [19:48:29]CheckFolder [19:48:29]dirname=/storage/ofd_packets [19:48:29]CheckFolder done [19:48:30]ProducePacketName [19:48:30]name=ofd_packets/00037826 [19:48:30]NVStorageSaveData ofd_packets/00037826 [19:48:30]File name is /storage/ofd_packets/00037826 [19:48:30]Write 324 bytes [19:48:30]NVStorageSaveData done [19:48:30]OFDSenderStorePacket done [19:48:30]KKMCreateOFDPacket done [19:48:30]NVStorageSaveData kkm_last_timestamp [19:48:30]File name is /storage/kkm_last_timestamp [19:48:30]Write 4 bytes [19:48:30]NVStorageSaveData done [19:48:30]ExternCall_PrintAddStr [19:48:30]wPrintStart [19:48:30]Write to MH i2c: 01 00 00 B2 2A DC [19:48:30]Write i2c OK [19:48:30]MH_I2C_Read... [19:48:30]Read from MH i2c: 01 [19:48:30]MH_I2C_Read... [19:48:30]Read from MH i2c: 01 07 00 [19:48:30]MH_I2C_Read... [19:48:30]Read from MH i2c: 01 07 00 B2 2A 00 00 00 00 00 FF 0F F1 [19:48:30]RasterBufferAndPrint [19:48:30]line Счет N : (3)35125 [19:48:30]line ИНН: 02508201610067 [19:48:30]line Контрольно-Кассовый Чек [19:48:30]line ПРОДАЖА [19:48:30]line Товар: 2000036240010 [19:48:30]line Кофе Латте (GABB TRADE) [19:48:30]line 1.000 * 115.00 [19:48:30]line = 115.00 [19:48:30]line НДС 12% НСП 1% [19:48:30]line > о реализуемом товаре [19:48:30]line ИТОГО: 115.00 [19:48:30]line НСП 1% : 1.02 [19:48:30]line НДС 12% : 12.21 [19:48:30]line Наличными: 115.00 [19:48:30]line Безнал.: 0.00 [19:48:30]line Место: АЗС № 126 "Партнер Нефть" [19:48:30]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [19:48:30]line СНО: Общий режим [19:48:30]line Чек 69 28.10.2024 19:48 [19:48:30]line Смена: 551 ФФД: 1.0 [19:48:30]line ЗНМ: 0300000092 [19:48:30]line РНМ: 0000000000091684 [19:48:30]line Версия ККМ: 001 [19:48:30]line ФМ: 0000000000871841 [19:48:30]line ФД: 37826 [19:48:30]line ФПД: 184620525297674 [19:48:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T194837&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37826&fm=184620525297674&tin=02508201610067®Number=0000000000091684&sum=11500 [19:48:30]line 0 [19:48:30]written 0, free lines is 4095 [19:48:30]OFD Sender: Processing packet 37826 [packets to send 42, broken 41] [19:48:30]ProducePacketName [19:48:30]name=ofd_packets/00037826 [19:48:30]OFD Sender: To server: pG, [19:48:30]CommunicateWithHost lk.salyk.kg:30040 [19:48:30]ConnectInit lk.salyk.kg [19:48:30]Connected sock=10 [19:48:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 AA AB 1E 01 44 61 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 95 EA 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C2 93 00 00 35 04 06 00 A7 E9 50 D4 20 0A DD 3A 3F AE E5 42 F2 46 [19:48:30]Write to MH i2c: 01 00 00 DA 2A 04 [19:48:30]Write i2c OK [19:48:30]MH_I2C_Read... [19:48:30]Read from MH i2c: 01 [19:48:30]MH_I2C_Read... [19:48:30]Read from MH i2c: 01 07 00 [19:48:30]MH_I2C_Read... [19:48:30]Read from MH i2c: 01 07 00 DA 2A 00 00 00 00 00 D5 0C EC [19:48:30]RasterBufferAndPrint [19:48:30]line [19:48:30]line [19:48:30]line [19:48:30]line [19:48:30]line [19:48:30]written 0, free lines is 3294 [19:48:30]MH_Cut [19:48:30]Write to MH i2c: D1 01 00 E1 2A 01 DD [19:48:30]Write i2c OK [19:48:30]MH_I2C_Read... [19:48:30]Read from MH i2c: D1 [19:48:30]MH_I2C_Read... [19:48:30]Read from MH i2c: D1 01 00 [19:48:30]MH_I2C_Read... [19:48:30]Read from MH i2c: D1 01 00 E1 2A 00 DC [19:48:30]Write to MH i2c: 01 00 00 E2 2A 0C [19:48:30]Write i2c OK [19:48:30]MH_I2C_Read... [19:48:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 C3 A6 47 00 7A A4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C2 93 00 00 F4 03 04 00 89 95 1F 67 B6 04 01 00 00 7E 89 45 09 51 5A 65 92 [19:48:31]CommunicateWithHost err = 0 [19:48:31]CheckOFDResponse [19:48:31]1017 (14) - 77093643461234 [19:48:31]1041 (16) - 0000000000871841 [19:48:31]1040 (4) - 37826 [19:48:31]1012 (4) - 28.10.2024 13:45 [19:48:31]1206 (1) - 0 [19:48:31]OFD Sender: Remove packet 37826 [19:48:31]ProducePacketName [19:48:31]name=ofd_packets/00037826 [19:48:31]NVStorageDeleteData [19:48:31]OFD Sender: No OFD packet to send [19:48:31]*** Cut start [19:48:31]*** Partial cut [19:48:31]*** CUTSNS_PIN = 1 [19:48:31]*** CUTSNS_PIN = 0 [19:48:31]*** Brake cut motor [19:48:32]Read from MH i2c: 01 [19:48:32]MH_I2C_Read... [19:48:32]*** Stop cut motor [19:48:32]*** Cut end [19:48:32]Read from MH i2c: 01 07 00 [19:48:32]MH_I2C_Read... [19:48:32]Read from MH i2c: 01 07 00 E2 2A 00 00 00 00 00 FF 0F 21 [19:48:32]process_action close_receipt done [19:48:32]requested_data is exist [19:48:32]produce_requested_data [19:48:32]requested_item fm.sn is exist - process it [19:48:32]wFMCommunicate request_size=4 [19:48:32]MH_SAM_APDU [19:48:32]CAPDU: 80 11 00 00 [19:48:32]Write to MH i2c: E2 08 00 E3 2A 80 11 00 00 00 00 00 00 87 [19:48:32]Write i2c OK [19:48:32]MH_I2C_Read... [19:48:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:48:32]Read from MH i2c: E2 [19:48:32]MH_I2C_Read... [19:48:32]Read from MH i2c: E2 17 00 [19:48:32]MH_I2C_Read... [19:48:32]Read from MH i2c: E2 17 00 E3 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D7 [19:48:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:48:32]wFMCommunicate OK [19:48:32]requested_item fd.num is exist - process it [19:48:32]SAM_PROTO_GetFieldsCounters [19:48:32]wFMCommunicate request_size=4 [19:48:32]MH_SAM_APDU [19:48:32]CAPDU: 80 13 00 00 [19:48:32]Write to MH i2c: E2 08 00 E4 2A 80 13 00 00 00 00 00 00 8A [19:48:32]Write i2c OK [19:48:32]MH_I2C_Read... [19:48:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:48:32]Read from MH i2c: E2 [19:48:32]MH_I2C_Read... [19:48:32]Read from MH i2c: E2 62 00 [19:48:32]MH_I2C_Read... [19:48:32]Read from MH i2c: E2 62 00 E4 2A 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 C2 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 F8 [19:48:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 C2 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:48:32]wFMCommunicate OK [19:48:32]SAM_PROTO_GetFieldsCounters done [19:48:32]requested_item shift.num is exist - process it [19:48:32]requested_item shift.opened is exist - process it [19:48:32]req_shift_opened [19:48:32]FM_GetShiftState [19:48:32]SAM_PROTO_GetShiftState [19:48:32]wFMCommunicate request_size=4 [19:48:32]MH_SAM_APDU [19:48:32]CAPDU: 80 13 01 00 [19:48:32]Write to MH i2c: E2 08 00 E5 2A 80 13 01 00 00 00 00 00 8C [19:48:32]Write i2c OK [19:48:32]MH_I2C_Read... [19:48:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:48:32]Read from MH i2c: E2 [19:48:32]MH_I2C_Read... [19:48:32]Read from MH i2c: E2 0E 00 [19:48:32]MH_I2C_Read... [19:48:32]Read from MH i2c: E2 0E 00 E5 2A 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 0E [19:48:32]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [19:48:32]wFMCommunicate OK [19:48:32]SAM_PROTO_GetShiftState done [19:48:32]FM_GetShiftState done [19:48:32]req_shift_opened done [19:48:32]requested_item shift.open_date is exist - process it [19:48:32]req_shift_open_date [19:48:32]req_shift_open_date done [19:48:32]produce_requested_data done [19:48:32]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37826,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [19:48:32]process_action_free close_receipt [19:48:32]json_value_free [19:48:32]json_value_free done [19:48:32]process_json_proto returns [19:48:32]Send response to host [19:48:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37826,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [19:48:32]free response buf [19:48:32]execute_script done [19:48:32]execute_script returns [19:48:32]free content buf [19:48:32]Sock 9.Close socket [19:48:32]Sock 9.Thread stoped [19:48:36]OFD Sender: No OFD packet to send [19:48:41]OFD Sender: No OFD packet to send [19:48:46]OFD Sender: No OFD packet to send [19:48:51]OFD Sender: No OFD packet to send [19:48:56]OFD Sender: No OFD packet to send [19:49:01]OFD Sender: No OFD packet to send [19:49:06]OFD Sender: No OFD packet to send [19:49:11]OFD Sender: No OFD packet to send [19:49:16]OFD Sender: No OFD packet to send [19:49:21]OFD Sender: No OFD packet to send [19:49:26]OFD Sender: No OFD packet to send [19:49:31]OFD Sender: No OFD packet to send [19:49:36]OFD Sender: No OFD packet to send [19:49:41]accept exits with 7 [19:49:41]New connection [19:49:41]New thread 3067440484 created [19:49:41]Thread 3067297124 joined [19:49:41]Waiting for new connection... [19:49:41] Sock 7.Parse request [19:49:41]Sock 7.Check first char [19:49:41]Sock 7.First char is OK [19:49:41]request: POST /json_proto HTTP/1.0 [19:49:41]Method: POST [19:49:41]URL: /json_proto [19:49:41]Method is POST - this is cgi request [19:49:41]url: /json_proto [19:49:41]query_string will be loaded in cgi processing [19:49:41]execute_cgi json_proto POST (null) [19:49:41]execute_cgi path=json_proto method=POST [19:49:41]POST find Content-Length [19:49:41]Host: 172.17.40.196:8080 [19:49:41]Content-Length: 623 [19:49:41]Content-Type: application/json [19:49:41] [19:49:41]POST finish read [19:49:41]Found Content-Length = 623 [19:49:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35126", "tax_sys" : 0, "items" : [ { "code": "48747486", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Grand Editeon", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 154.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:49:41]execute_script... [19:49:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35126", "tax_sys" : 0, "items" : [ { "code": "48747486", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Grand Editeon", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 154.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:49:41]POST & json_proto [19:49:41]process_json_proto [19:49:41]json parsed OK: [19:49:41]protocol is kg_v1.0 [19:49:41]action value=close_receipt [19:49:41]process_action close_receipt [19:49:41]cmd_close_receipt [19:49:41]MH_GetDate [19:49:41]Write to MH i2c: F0 00 00 E6 2A FF [19:49:41]Write i2c OK [19:49:41]MH_I2C_Read... [19:49:41]Read from MH i2c: F0 [19:49:41]MH_I2C_Read... [19:49:41]Read from MH i2c: F0 09 00 [19:49:41]MH_I2C_Read... [19:49:41]Read from MH i2c: F0 09 00 E6 2A 00 DE EA 1F 67 5B 68 A1 66 20 [19:49:41]GetLastDocTimeStamp 1730144917 [19:49:41]current date 1730144990 [19:49:41]FM_GetShiftState [19:49:41]SAM_PROTO_GetShiftState [19:49:41]wFMCommunicate request_size=4 [19:49:41]MH_SAM_APDU [19:49:41]CAPDU: 80 13 01 00 [19:49:41]Write to MH i2c: E2 08 00 E7 2A 80 13 01 00 00 00 00 00 8E [19:49:41]Write i2c OK [19:49:41]MH_I2C_Read... [19:49:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:49:41]Read from MH i2c: E2 [19:49:41]MH_I2C_Read... [19:49:41]Read from MH i2c: E2 0E 00 [19:49:41]MH_I2C_Read... [19:49:41]Read from MH i2c: E2 0E 00 E7 2A 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 10 [19:49:41]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [19:49:41]wFMCommunicate OK [19:49:41]SAM_PROTO_GetShiftState done [19:49:41]FM_GetShiftState done [19:49:41]opened in 1730073884 [19:49:41]opened+sec_in_day 1730160284 [19:49:41]quantity*price = 15400 [19:49:41]sum+1 = 15401 [19:49:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 154.00 НСП 1% : 1.36 НДС 12% : 16.35 Наличными: 154.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 70 28.10.2024 19:49 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37827 ФПД: 117379661150077 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T194950&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37827&fm=117379661150077&tin=02508201610067®Number=0000000000091684&sum=15400 0 [19:49:42]StoreToDocumentArchive [19:49:42]shift 551 fd 37827 [19:49:42]save to /storage/0551/doc_00037827 [19:49:42]save last doc name /storage/0551/doc_00037827 to /storage/kkm_last_doc_name [19:49:42]save OK [19:49:42]Clear old archive folders... [19:49:42]ProcessDocumentItem done err = 0, tmpTLVsize=276 [19:49:42]tlvbuf is 00314120 [19:49:42]SAM_PROTO_ClearQueue [19:49:42]wFMCommunicate request_size=4 [19:49:42]MH_SAM_APDU [19:49:42]CAPDU: 80 09 00 00 [19:49:42]Write to MH i2c: E2 08 00 F4 2A 80 09 00 00 00 00 00 00 90 [19:49:42]Write i2c OK [19:49:42]MH_I2C_Read... [19:49:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:49:42]Read from MH i2c: E2 [19:49:42]MH_I2C_Read... [19:49:42]Read from MH i2c: E2 03 00 [19:49:42]MH_I2C_Read... [19:49:42]Read from MH i2c: E2 03 00 F4 2A 00 90 00 92 [19:49:42]RAPDU: 90 00 [19:49:42]wFMCommunicate OK [19:49:42]SAM_PROTO_ClearQueue done [19:49:42]KKMCreateOFDPacket [19:49:42]OFDProtocolAddRootSTLVToBuf [19:49:42]FM_MakeSignedData [19:49:42]FM_MakeSignedData [19:49:42]SAM_PROTO_SignData [19:49:42]wFMCommunicate request_size=4 [19:49:42]MH_SAM_APDU [19:49:42]CAPDU: 80 0D 01 02 [19:49:42]Write to MH i2c: E2 08 00 F5 2A 80 0D 01 02 00 00 00 00 98 [19:49:42]Write i2c OK [19:49:42]MH_I2C_Read... [19:49:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:49:42]Read from MH i2c: E2 [19:49:42]MH_I2C_Read... [19:49:42]Read from MH i2c: E2 03 00 [19:49:42]MH_I2C_Read... [19:49:42]Read from MH i2c: E2 03 00 F5 2A 00 90 00 93 [19:49:42]RAPDU: 90 00 [19:49:42]wFMCommunicate OK [19:49:42]wFMCommunicate request_size=255 [19:49:42]MH_SAM_APDU [19:49:42]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 37 34 38 36 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 47 72 61 6E 64 20 45 64 69 74 65 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 DE EA 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 [19:49:42]Write to MH i2c: E2 02 01 F6 2A 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 37 34 38 36 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 47 72 61 6E 64 20 45 64 69 74 65 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 DE EA 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 00 00 6E [19:49:42]Write i2c OK [19:49:42]MH_I2C_Read... [19:49:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:49:42]Read from MH i2c: E2 [19:49:42]MH_I2C_Read... [19:49:42]Read from MH i2c: E2 03 00 [19:49:42]MH_I2C_Read... [19:49:42]Read from MH i2c: E2 03 00 F6 2A 00 90 00 94 [19:49:42]RAPDU: 90 00 [19:49:42]wFMCommunicate OK [19:49:42]wFMCommunicate request_size=35 [19:49:42]MH_SAM_APDU [19:49:42]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C3 93 00 00 35 04 06 00 6A C1 95 01 B7 7D [19:49:42]Write to MH i2c: E2 26 00 F7 2A 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C3 93 00 00 35 04 06 00 6A C1 95 01 B7 7D 00 00 D6 [19:49:42]Write i2c OK [19:49:42]MH_I2C_Read... [19:49:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:49:42]Read from MH i2c: E2 [19:49:42]MH_I2C_Read... [19:49:42]Read from MH i2c: E2 03 00 [19:49:42]MH_I2C_Read... [19:49:42]Read from MH i2c: E2 03 00 F7 2A 00 90 00 95 [19:49:42]RAPDU: 90 00 [19:49:42]wFMCommunicate OK [19:49:42]wFMCommunicate request_size=4 [19:49:42]MH_SAM_APDU [19:49:42]CAPDU: 80 0D 03 02 [19:49:42]Write to MH i2c: E2 08 00 F8 2A 80 0D 03 02 00 00 00 00 9D [19:49:42]Write i2c OK [19:49:42]MH_I2C_Read... [19:49:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:49:42]Read from MH i2c: E2 [19:49:42]MH_I2C_Read... [19:49:42]Read from MH i2c: E2 0B 00 [19:49:42]MH_I2C_Read... [19:49:42]Read from MH i2c: E2 0B 00 F8 2A 00 48 D7 02 A4 F6 8A CA 6C 90 00 19 [19:49:42]RAPDU: 48 D7 02 A4 F6 8A CA 6C 90 00 [19:49:42]wFMCommunicate OK [19:49:42]SAM_PROTO_SignData done [19:49:42]FM_MakeSignedData done [19:49:42]CreateOFDProtocolMessage [19:49:42]wFMCommunicate request_size=4 [19:49:42]MH_SAM_APDU [19:49:42]CAPDU: 80 11 00 00 [19:49:42]Write to MH i2c: E2 08 00 F9 2A 80 11 00 00 00 00 00 00 9D [19:49:42]Write i2c OK [19:49:42]MH_I2C_Read... [19:49:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:49:42]Read from MH i2c: E2 [19:49:42]MH_I2C_Read... [19:49:42]Read from MH i2c: E2 17 00 [19:49:42]MH_I2C_Read... [19:49:42]Read from MH i2c: E2 17 00 F9 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 ED [19:49:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:49:42]wFMCommunicate OK [19:49:42]CreateOFDProtocolMessage done [19:49:42]OFDSenderStorePacket 37827 [19:49:42]StoreOFDPacket docnum=37827 [19:49:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 28 01 00 00 40 1A 20 01 C6 30 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 37 34 38 36 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 47 72 61 6E 64 20 45 64 69 74 65 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 DE EA 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C3 93 00 00 35 04 06 00 6A C1 95 01 B7 7D 48 D7 02 A4 F6 8A CA 6C [19:49:42]CheckFolder [19:49:42]dirname=/storage/ofd_packets [19:49:42]CheckFolder done [19:49:42]ProducePacketName [19:49:42]name=ofd_packets/00037827 [19:49:42]NVStorageSaveData ofd_packets/00037827 [19:49:42]File name is /storage/ofd_packets/00037827 [19:49:42]Write 326 bytes [19:49:42]NVStorageSaveData done [19:49:42]OFDSenderStorePacket done [19:49:42]KKMCreateOFDPacket done [19:49:42]NVStorageSaveData kkm_last_timestamp [19:49:42]File name is /storage/kkm_last_timestamp [19:49:42]Write 4 bytes [19:49:42]NVStorageSaveData done [19:49:42]ExternCall_PrintAddStr [19:49:42]wPrintStart [19:49:42]Write to MH i2c: 01 00 00 FA 2A 24 [19:49:42]Write i2c OK [19:49:42]MH_I2C_Read... [19:49:42]Read from MH i2c: 01 [19:49:42]MH_I2C_Read... [19:49:42]Read from MH i2c: 01 07 00 [19:49:42]MH_I2C_Read... [19:49:42]Read from MH i2c: 01 07 00 FA 2A 00 00 00 00 00 FF 0F 39 [19:49:42]RasterBufferAndPrint [19:49:42]line Счет N : (3)35126 [19:49:42]line ИНН: 02508201610067 [19:49:42]line Контрольно-Кассовый Чек [19:49:42]line ПРОДАЖА [19:49:42]line Товар: 48747486 [19:49:42]line Сигареты Richmond Grand Editeon [19:49:42]line 1.000 * 154.00 [19:49:42]line = 154.00 [19:49:42]line НДС 12% НСП 1% [19:49:42]line > о реализуемом товаре [19:49:42]line ИТОГО: 154.00 [19:49:42]line НСП 1% : 1.36 [19:49:42]line НДС 12% : 16.35 [19:49:42]line Наличными: 154.00 [19:49:42]line Безнал.: 0.00 [19:49:42]line Место: АЗС № 126 "Партнер Нефть" [19:49:42]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [19:49:42]line СНО: Общий режим [19:49:42]line Чек 70 28.10.2024 19:49 [19:49:42]line Смена: 551 ФФД: 1.0 [19:49:42]line ЗНМ: 0300000092 [19:49:42]line РНМ: 0000000000091684 [19:49:42]line Версия ККМ: 001 [19:49:42]line ФМ: 0000000000871841 [19:49:42]line ФД: 37827 [19:49:42]line ФПД: 117379661150077 [19:49:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T194950&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37827&fm=117379661150077&tin=02508201610067®Number=0000000000091684&sum=15400 [19:49:42]line 0 [19:49:43]written 0, free lines is 4095 [19:49:43]OFD Sender: Processing packet 37827 [packets to send 42, broken 41] [19:49:43]ProducePacketName [19:49:43]name=ofd_packets/00037827 [19:49:43]OFD Sender: To server: pG, [19:49:43]CommunicateWithHost lk.salyk.kg:30040 [19:49:43]ConnectInit lk.salyk.kg [19:49:43]Connected sock=10 [19:49:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 28 01 00 00 40 1A 20 01 C6 30 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 37 34 38 36 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 47 72 61 6E 64 20 45 64 69 74 65 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 DE EA 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C3 93 00 00 35 04 06 00 6A C1 95 01 B7 7D 48 D7 02 A4 F6 8A CA 6C [19:49:43]Write to MH i2c: 01 00 00 23 2B 4E [19:49:43]Write i2c OK [19:49:43]MH_I2C_Read... [19:49:43]Read from MH i2c: 01 [19:49:43]MH_I2C_Read... [19:49:43]Read from MH i2c: 01 07 00 [19:49:43]MH_I2C_Read... [19:49:43]Read from MH i2c: 01 07 00 23 2B 00 00 00 00 00 AF 0C 10 [19:49:43]RasterBufferAndPrint [19:49:43]line [19:49:43]line [19:49:43]line [19:49:43]line [19:49:43]line [19:49:43]written 0, free lines is 3252 [19:49:43]MH_Cut [19:49:43]Write to MH i2c: D1 01 00 2A 2B 01 27 [19:49:43]Write i2c OK [19:49:43]MH_I2C_Read... [19:49:43]Read from MH i2c: D1 [19:49:43]MH_I2C_Read... [19:49:43]Read from MH i2c: D1 01 00 [19:49:43]MH_I2C_Read... [19:49:43]Read from MH i2c: D1 01 00 2A 2B 00 26 [19:49:43]Write to MH i2c: 01 00 00 2B 2B 56 [19:49:43]Write i2c OK [19:49:43]MH_I2C_Read... [19:49:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 81 95 47 00 31 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 38 34 31 10 04 04 00 C3 93 00 00 F4 03 04 00 D2 95 1F 67 B6 04 01 00 00 3A 4A 21 AF FD B7 81 F8 [19:49:43]CommunicateWithHost err = 0 [19:49:43]CheckOFDResponse [19:49:43]1017 (14) - 77093643461234 [19:49:43]1041 (16) - 0000000000871841 [19:49:43]1040 (4) - 37827 [19:49:43]1012 (4) - 28.10.2024 13:46 [19:49:43]1206 (1) - 0 [19:49:43]OFD Sender: Remove packet 37827 [19:49:43]ProducePacketName [19:49:43]name=ofd_packets/00037827 [19:49:43]NVStorageDeleteData [19:49:44]OFD Sender: No OFD packet to send [19:49:44]*** Cut start [19:49:44]*** Partial cut [19:49:44]*** CUTSNS_PIN = 1 [19:49:44]*** CUTSNS_PIN = 0 [19:49:44]*** Brake cut motor [19:49:45]Read from MH i2c: 01 [19:49:45]MH_I2C_Read... [19:49:45]*** Stop cut motor [19:49:45]*** Cut end [19:49:45]Read from MH i2c: 01 07 00 [19:49:45]MH_I2C_Read... [19:49:45]Read from MH i2c: 01 07 00 2B 2B 00 00 00 00 00 FF 0F 6B [19:49:45]process_action close_receipt done [19:49:45]requested_data is exist [19:49:45]produce_requested_data [19:49:45]requested_item fm.sn is exist - process it [19:49:45]wFMCommunicate request_size=4 [19:49:45]MH_SAM_APDU [19:49:45]CAPDU: 80 11 00 00 [19:49:45]Write to MH i2c: E2 08 00 2C 2B 80 11 00 00 00 00 00 00 D1 [19:49:45]Write i2c OK [19:49:45]MH_I2C_Read... [19:49:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:49:45]Read from MH i2c: E2 [19:49:45]MH_I2C_Read... [19:49:45]Read from MH i2c: E2 17 00 [19:49:45]MH_I2C_Read... [19:49:45]Read from MH i2c: E2 17 00 2C 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 21 [19:49:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:49:45]wFMCommunicate OK [19:49:45]requested_item fd.num is exist - process it [19:49:45]SAM_PROTO_GetFieldsCounters [19:49:45]wFMCommunicate request_size=4 [19:49:45]MH_SAM_APDU [19:49:45]CAPDU: 80 13 00 00 [19:49:45]Write to MH i2c: E2 08 00 2D 2B 80 13 00 00 00 00 00 00 D4 [19:49:45]Write i2c OK [19:49:45]MH_I2C_Read... [19:49:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:49:45]Read from MH i2c: E2 [19:49:45]MH_I2C_Read... [19:49:45]Read from MH i2c: E2 62 00 [19:49:45]MH_I2C_Read... [19:49:45]Read from MH i2c: E2 62 00 2D 2B 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 C3 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 46 [19:49:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 C3 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:49:45]wFMCommunicate OK [19:49:45]SAM_PROTO_GetFieldsCounters done [19:49:45]requested_item shift.num is exist - process it [19:49:45]requested_item shift.opened is exist - process it [19:49:45]req_shift_opened [19:49:45]FM_GetShiftState [19:49:45]SAM_PROTO_GetShiftState [19:49:45]wFMCommunicate request_size=4 [19:49:45]MH_SAM_APDU [19:49:45]CAPDU: 80 13 01 00 [19:49:45]Write to MH i2c: E2 08 00 2E 2B 80 13 01 00 00 00 00 00 D6 [19:49:45]Write i2c OK [19:49:45]MH_I2C_Read... [19:49:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:49:45]Read from MH i2c: E2 [19:49:45]MH_I2C_Read... [19:49:45]Read from MH i2c: E2 0E 00 [19:49:45]MH_I2C_Read... [19:49:45]Read from MH i2c: E2 0E 00 2E 2B 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 58 [19:49:45]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [19:49:45]wFMCommunicate OK [19:49:45]SAM_PROTO_GetShiftState done [19:49:45]FM_GetShiftState done [19:49:45]req_shift_opened done [19:49:45]requested_item shift.open_date is exist - process it [19:49:45]req_shift_open_date [19:49:45]req_shift_open_date done [19:49:45]produce_requested_data done [19:49:45]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37827,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [19:49:45]process_action_free close_receipt [19:49:45]json_value_free [19:49:45]json_value_free done [19:49:45]process_json_proto returns [19:49:45]Send response to host [19:49:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37827,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [19:49:45]free response buf [19:49:45]execute_script done [19:49:45]execute_script returns [19:49:45]free content buf [19:49:45]Sock 7.Close socket [19:49:45]Sock 7.Thread stoped [19:49:49]OFD Sender: No OFD packet to send [19:49:54]OFD Sender: No OFD packet to send [19:49:59]OFD Sender: No OFD packet to send [19:50:04]OFD Sender: No OFD packet to send [19:50:09]OFD Sender: No OFD packet to send [19:50:14]OFD Sender: No OFD packet to send [19:50:19]OFD Sender: No OFD packet to send [19:50:24]OFD Sender: No OFD packet to send [19:50:29]OFD Sender: No OFD packet to send [19:50:34]OFD Sender: No OFD packet to send [19:50:39]OFD Sender: No OFD packet to send [19:50:44]OFD Sender: No OFD packet to send [19:50:49]OFD Sender: No OFD packet to send [19:50:54]OFD Sender: No OFD packet to send [19:50:59]OFD Sender: No OFD packet to send [19:51:04]OFD Sender: No OFD packet to send [19:51:09]OFD Sender: No OFD packet to send [19:51:14]OFD Sender: No OFD packet to send [19:51:19]OFD Sender: No OFD packet to send [19:51:24]OFD Sender: No OFD packet to send [19:51:29]OFD Sender: No OFD packet to send [19:51:34]OFD Sender: No OFD packet to send [19:51:39]OFD Sender: No OFD packet to send [19:51:44]OFD Sender: No OFD packet to send [19:51:49]OFD Sender: No OFD packet to send [19:51:54]OFD Sender: No OFD packet to send [19:51:59]OFD Sender: No OFD packet to send [19:52:04]OFD Sender: No OFD packet to send [19:52:09]OFD Sender: No OFD packet to send [19:52:14]OFD Sender: No OFD packet to send [19:52:19]OFD Sender: No OFD packet to send [19:52:24]OFD Sender: No OFD packet to send [19:52:29]OFD Sender: No OFD packet to send [19:52:34]OFD Sender: No OFD packet to send [19:52:39]OFD Sender: No OFD packet to send [19:52:44]OFD Sender: No OFD packet to send [19:52:49]OFD Sender: No OFD packet to send [19:52:54]OFD Sender: No OFD packet to send [19:52:59]OFD Sender: No OFD packet to send [19:53:04]OFD Sender: No OFD packet to send [19:53:09]OFD Sender: No OFD packet to send [19:53:14]OFD Sender: No OFD packet to send [19:53:19]OFD Sender: No OFD packet to send [19:53:24]OFD Sender: No OFD packet to send [19:53:29]OFD Sender: No OFD packet to send [19:53:34]OFD Sender: No OFD packet to send [19:53:39]OFD Sender: No OFD packet to send [19:53:44]OFD Sender: No OFD packet to send [19:53:49]OFD Sender: No OFD packet to send [19:53:54]OFD Sender: No OFD packet to send [19:53:59]OFD Sender: No OFD packet to send [19:54:04]OFD Sender: No OFD packet to send [19:54:09]OFD Sender: No OFD packet to send [19:54:14]OFD Sender: No OFD packet to send [19:54:19]OFD Sender: No OFD packet to send [19:54:24]OFD Sender: No OFD packet to send [19:54:29]OFD Sender: No OFD packet to send [19:54:34]OFD Sender: No OFD packet to send [19:54:39]OFD Sender: No OFD packet to send [19:54:44]OFD Sender: No OFD packet to send [19:54:49]OFD Sender: No OFD packet to send [19:54:54]OFD Sender: No OFD packet to send [19:54:59]OFD Sender: No OFD packet to send [19:55:04]OFD Sender: No OFD packet to send [19:55:09]OFD Sender: No OFD packet to send [19:55:14]OFD Sender: No OFD packet to send [19:55:19]OFD Sender: No OFD packet to send [19:55:24]OFD Sender: No OFD packet to send [19:55:29]OFD Sender: No OFD packet to send [19:55:34]OFD Sender: No OFD packet to send [19:55:39]OFD Sender: No OFD packet to send [19:55:44]OFD Sender: No OFD packet to send [19:55:49]OFD Sender: No OFD packet to send [19:55:54]OFD Sender: No OFD packet to send [19:55:59]OFD Sender: No OFD packet to send [19:56:04]OFD Sender: No OFD packet to send [19:56:09]OFD Sender: No OFD packet to send [19:56:14]OFD Sender: No OFD packet to send [19:56:19]OFD Sender: No OFD packet to send [19:56:24]OFD Sender: No OFD packet to send [19:56:29]OFD Sender: No OFD packet to send [19:56:34]OFD Sender: No OFD packet to send [19:56:39]OFD Sender: No OFD packet to send [19:56:44]OFD Sender: No OFD packet to send [19:56:49]OFD Sender: No OFD packet to send [19:56:54]OFD Sender: No OFD packet to send [19:56:59]OFD Sender: No OFD packet to send [19:57:04]OFD Sender: No OFD packet to send [19:57:09]OFD Sender: No OFD packet to send [19:57:14]OFD Sender: No OFD packet to send [19:57:19]OFD Sender: No OFD packet to send [19:57:24]OFD Sender: No OFD packet to send [19:57:29]OFD Sender: No OFD packet to send [19:57:34]OFD Sender: No OFD packet to send [19:57:39]OFD Sender: No OFD packet to send [19:57:43]accept exits with 9 [19:57:43]New connection [19:57:43]New thread 3067297124 created [19:57:43]Thread 3067440484 joined [19:57:43]Waiting for new connection... [19:57:43] Sock 9.Parse request [19:57:43]Sock 9.Check first char [19:57:43]Sock 9.First char is OK [19:57:43]request: POST /json_proto HTTP/1.0 [19:57:43]Method: POST [19:57:43]URL: /json_proto [19:57:43]Method is POST - this is cgi request [19:57:43]url: /json_proto [19:57:43]query_string will be loaded in cgi processing [19:57:43]execute_cgi json_proto POST (null) [19:57:43]execute_cgi path=json_proto method=POST [19:57:43]POST find Content-Length [19:57:43]Host: 172.17.40.196:8080 [19:57:43]Content-Length: 653 [19:57:43]Content-Type: application/json [19:57:43] [19:57:43]POST finish read [19:57:43]Found Content-Length = 653 [19:57:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35127", "tax_sys" : 0, "items" : [ { "code": "42203100", "name": "\u0416\u0435\u0432 Orbit \u0431\u0430\u043D\u0430\u043D-\u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:57:43]execute_script... [19:57: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)35127", "tax_sys" : 0, "items" : [ { "code": "42203100", "name": "\u0416\u0435\u0432 Orbit \u0431\u0430\u043D\u0430\u043D-\u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:57:43]POST & json_proto [19:57:43]process_json_proto [19:57:43]json parsed OK: [19:57:43]protocol is kg_v1.0 [19:57:43]action value=close_receipt [19:57:43]process_action close_receipt [19:57:43]cmd_close_receipt [19:57:43]MH_GetDate [19:57:43]Write to MH i2c: F0 00 00 2F 2B 49 [19:57:43]Write i2c OK [19:57:43]MH_I2C_Read... [19:57:43]Read from MH i2c: F0 [19:57:43]MH_I2C_Read... [19:57:43]Read from MH i2c: F0 09 00 [19:57:43]MH_I2C_Read... [19:57:43]Read from MH i2c: F0 09 00 2F 2B 00 C0 EC 1F 67 5B 68 A1 66 4E [19:57:43]GetLastDocTimeStamp 1730144990 [19:57:43]current date 1730145472 [19:57:43]FM_GetShiftState [19:57:43]SAM_PROTO_GetShiftState [19:57:43]wFMCommunicate request_size=4 [19:57:43]MH_SAM_APDU [19:57:43]CAPDU: 80 13 01 00 [19:57:43]Write to MH i2c: E2 08 00 30 2B 80 13 01 00 00 00 00 00 D8 [19:57:43]Write i2c OK [19:57:43]MH_I2C_Read... [19:57:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:57:43]Read from MH i2c: E2 [19:57:43]MH_I2C_Read... [19:57:43]Read from MH i2c: E2 0E 00 [19:57:43]MH_I2C_Read... [19:57:43]Read from MH i2c: E2 0E 00 30 2B 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 5A [19:57:43]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [19:57:43]wFMCommunicate OK [19:57:43]SAM_PROTO_GetShiftState done [19:57:43]FM_GetShiftState done [19:57:43]opened in 1730073884 [19:57:43]opened+sec_in_day 1730160284 [19:57:43]quantity*price = 4500 [19:57:43]sum+1 = 4501 [19:57:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 71 28.10.2024 19:57 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37828 ФПД: 256917603751656 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T195752&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37828&fm=256917603751656&tin=02508201610067®Number=0000000000091684&sum=4500 0 [19:57:44]StoreToDocumentArchive [19:57:44]shift 551 fd 37828 [19:57:44]save to /storage/0551/doc_00037828 [19:57:44]save last doc name /storage/0551/doc_00037828 to /storage/kkm_last_doc_name [19:57:44]save OK [19:57:44]Clear old archive folders... [19:57:44]ProcessDocumentItem done err = 0, tmpTLVsize=277 [19:57:44]tlvbuf is 0027D770 [19:57:44]SAM_PROTO_ClearQueue [19:57:44]wFMCommunicate request_size=4 [19:57:44]MH_SAM_APDU [19:57:44]CAPDU: 80 09 00 00 [19:57:44]Write to MH i2c: E2 08 00 3D 2B 80 09 00 00 00 00 00 00 DA [19:57:44]Write i2c OK [19:57:44]MH_I2C_Read... [19:57:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:57:44]Read from MH i2c: E2 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 03 00 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 03 00 3D 2B 00 90 00 DC [19:57:44]RAPDU: 90 00 [19:57:44]wFMCommunicate OK [19:57:44]SAM_PROTO_ClearQueue done [19:57:44]KKMCreateOFDPacket [19:57:44]OFDProtocolAddRootSTLVToBuf [19:57:44]FM_MakeSignedData [19:57:44]FM_MakeSignedData [19:57:44]SAM_PROTO_SignData [19:57:44]wFMCommunicate request_size=4 [19:57:44]MH_SAM_APDU [19:57:44]CAPDU: 80 0D 01 02 [19:57:44]Write to MH i2c: E2 08 00 3E 2B 80 0D 01 02 00 00 00 00 E2 [19:57:44]Write i2c OK [19:57:44]MH_I2C_Read... [19:57:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:57:44]Read from MH i2c: E2 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 03 00 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 03 00 3E 2B 00 90 00 DD [19:57:44]RAPDU: 90 00 [19:57:44]wFMCommunicate OK [19:57:44]wFMCommunicate request_size=255 [19:57:44]MH_SAM_APDU [19:57:44]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 C0 EC 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 [19:57:44]Write to MH i2c: E2 02 01 3F 2B 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 C0 EC 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 00 00 1B [19:57:44]Write i2c OK [19:57:44]MH_I2C_Read... [19:57:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:57:44]Read from MH i2c: E2 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 03 00 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 03 00 3F 2B 00 90 00 DE [19:57:44]RAPDU: 90 00 [19:57:44]wFMCommunicate OK [19:57:44]wFMCommunicate request_size=36 [19:57:44]MH_SAM_APDU [19:57:44]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C4 93 00 00 35 04 06 00 E9 AA 4A 82 16 E8 [19:57:44]Write to MH i2c: E2 27 00 40 2B 80 0D 02 02 1F 00 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C4 93 00 00 35 04 06 00 E9 AA 4A 82 16 E8 00 00 BB [19:57:44]Write i2c OK [19:57:44]MH_I2C_Read... [19:57:44]OFD Sender: No OFD packet to send [19:57:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:57:44]Read from MH i2c: E2 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 03 00 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 03 00 40 2B 00 90 00 DF [19:57:44]RAPDU: 90 00 [19:57:44]wFMCommunicate OK [19:57:44]wFMCommunicate request_size=4 [19:57:44]MH_SAM_APDU [19:57:44]CAPDU: 80 0D 03 02 [19:57:44]Write to MH i2c: E2 08 00 41 2B 80 0D 03 02 00 00 00 00 E7 [19:57:44]Write i2c OK [19:57:44]MH_I2C_Read... [19:57:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:57:44]Read from MH i2c: E2 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 0B 00 [19:57:44]MH_I2C_Read... [19:57:44]Read from MH i2c: E2 0B 00 41 2B 00 83 8F 1E EB 51 E2 C5 06 90 00 01 [19:57:44]RAPDU: 83 8F 1E EB 51 E2 C5 06 90 00 [19:57:44]wFMCommunicate OK [19:57:44]SAM_PROTO_SignData done [19:57:44]FM_MakeSignedData done [19:57:44]CreateOFDProtocolMessage [19:57:44]wFMCommunicate request_size=4 [19:57:44]MH_SAM_APDU [19:57:44]CAPDU: 80 11 00 00 [19:57:44]Write to MH i2c: E2 08 00 42 2B 80 11 00 00 00 00 00 00 E7 [19:57:44]Write i2c OK [19:57:44]MH_I2C_Read... [19:57:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:57:45]Read from MH i2c: E2 [19:57:45]MH_I2C_Read... [19:57:45]Read from MH i2c: E2 17 00 [19:57:45]MH_I2C_Read... [19:57:45]Read from MH i2c: E2 17 00 42 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 37 [19:57:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:57:45]wFMCommunicate OK [19:57:45]CreateOFDProtocolMessage done [19:57:45]OFDSenderStorePacket 37828 [19:57:45]StoreOFDPacket docnum=37828 [19:57:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 29 01 00 00 78 62 21 01 E6 1A 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 C0 EC 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C4 93 00 00 35 04 06 00 E9 AA 4A 82 16 E8 83 8F 1E EB 51 E2 C5 06 [19:57:45]CheckFolder [19:57:45]dirname=/storage/ofd_packets [19:57:45]CheckFolder done [19:57:45]ProducePacketName [19:57:45]name=ofd_packets/00037828 [19:57:45]NVStorageSaveData ofd_packets/00037828 [19:57:45]File name is /storage/ofd_packets/00037828 [19:57:45]Write 327 bytes [19:57:45]NVStorageSaveData done [19:57:45]OFDSenderStorePacket done [19:57:45]KKMCreateOFDPacket done [19:57:45]NVStorageSaveData kkm_last_timestamp [19:57:45]File name is /storage/kkm_last_timestamp [19:57:45]Write 4 bytes [19:57:45]NVStorageSaveData done [19:57:45]ExternCall_PrintAddStr [19:57:45]wPrintStart [19:57:45]Write to MH i2c: 01 00 00 43 2B 6E [19:57:45]Write i2c OK [19:57:45]MH_I2C_Read... [19:57:45]Read from MH i2c: 01 [19:57:45]MH_I2C_Read... [19:57:45]Read from MH i2c: 01 07 00 [19:57:45]MH_I2C_Read... [19:57:45]Read from MH i2c: 01 07 00 43 2B 00 00 00 00 00 FF 0F 83 [19:57:45]RasterBufferAndPrint [19:57:45]line Счет N : (3)35127 [19:57:45]line ИНН: 02508201610067 [19:57:45]line Контрольно-Кассовый Чек [19:57:45]line ПРОДАЖА [19:57:45]line Товар: 42203100 [19:57:45]line Жев Orbit банан-клубника [19:57:45]line 1.000 * 45.00 [19:57:45]line = 45.00 [19:57:45]line НДС 12% НСП 1% [19:57:45]line > о реализуемом товаре [19:57:45]line ИТОГО: 45.00 [19:57:45]line НСП 1% : 0.40 [19:57:45]line НДС 12% : 4.78 [19:57:45]line Наличными: 45.00 [19:57:45]line Безнал.: 0.00 [19:57:45]line Место: АЗС № 126 "Партнер Нефть" [19:57:45]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [19:57:45]line СНО: Общий режим [19:57:45]line Чек 71 28.10.2024 19:57 [19:57:45]line Смена: 551 ФФД: 1.0 [19:57:45]line ЗНМ: 0300000092 [19:57:45]line РНМ: 0000000000091684 [19:57:45]line Версия ККМ: 001 [19:57:45]line ФМ: 0000000000871841 [19:57:45]line ФД: 37828 [19:57:45]line ФПД: 256917603751656 [19:57:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T195752&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37828&fm=256917603751656&tin=02508201610067®Number=0000000000091684&sum=4500 [19:57:45]OFD Sender: Processing packet 37828 [packets to send 42, broken 41] [19:57:45]ProducePacketName [19:57:45]name=ofd_packets/00037828 [19:57:45]OFD Sender: To server: pG, [19:57:45]CommunicateWithHost lk.salyk.kg:30040 [19:57:45]ConnectInit lk.salyk.kg [19:57:45]line 0 [19:57:45]written 0, free lines is 4095 [19:57:45]Connected sock=10 [19:57: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 38 34 31 29 01 00 00 78 62 21 01 E6 1A 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 C0 EC 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C4 93 00 00 35 04 06 00 E9 AA 4A 82 16 E8 83 8F 1E EB 51 E2 C5 06 [19:57:45]Write to MH i2c: 01 00 00 6B 2B 96 [19:57:45]Write i2c OK [19:57:45]MH_I2C_Read... [19:57:45]Read from MH i2c: 01 [19:57:45]MH_I2C_Read... [19:57:45]Read from MH i2c: 01 07 00 [19:57:45]MH_I2C_Read... [19:57:45]Read from MH i2c: 01 07 00 6B 2B 00 00 00 00 00 C4 0C 6D [19:57:45]RasterBufferAndPrint [19:57:45]line [19:57:45]line [19:57:45]line [19:57:45]line [19:57:45]line [19:57:45]written 0, free lines is 3274 [19:57:45]MH_Cut [19:57:45]Write to MH i2c: D1 01 00 72 2B 01 6F [19:57:45]Write i2c OK [19:57:45]MH_I2C_Read... [19:57:45]Read from MH i2c: D1 [19:57:45]MH_I2C_Read... [19:57:45]Read from MH i2c: D1 01 00 [19:57:45]MH_I2C_Read... [19:57:45]Read from MH i2c: D1 01 00 72 2B 00 6E [19:57:45]Write to MH i2c: 01 00 00 73 2B 9E [19:57:45]Write i2c OK [19:57:45]MH_I2C_Read... [19:57:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 FD 29 47 00 FB D8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C4 93 00 00 F4 03 04 00 B4 97 1F 67 B6 04 01 00 00 80 20 20 9F CD 69 84 45 [19:57:46]CommunicateWithHost err = 0 [19:57:46]CheckOFDResponse [19:57:46]1017 (14) - 77093643461234 [19:57:46]1041 (16) - 0000000000871841 [19:57:46]1040 (4) - 37828 [19:57:46]1012 (4) - 28.10.2024 13:55 [19:57:46]1206 (1) - 0 [19:57:46]OFD Sender: Remove packet 37828 [19:57:46]ProducePacketName [19:57:46]name=ofd_packets/00037828 [19:57:46]NVStorageDeleteData [19:57:46]*** Cut start [19:57:46]*** Partial cut [19:57:46]*** CUTSNS_PIN = 1 [19:57:46]*** CUTSNS_PIN = 0 [19:57:46]OFD Sender: No OFD packet to send [19:57:46]*** Brake cut motor [19:57:47]Read from MH i2c: 01 [19:57:47]MH_I2C_Read... [19:57:47]*** Stop cut motor [19:57:47]*** Cut end [19:57:47]Read from MH i2c: 01 07 00 [19:57:47]MH_I2C_Read... [19:57:47]Read from MH i2c: 01 07 00 73 2B 00 00 00 00 00 FF 0F B3 [19:57:47]process_action close_receipt done [19:57:47]requested_data is exist [19:57:47]produce_requested_data [19:57:47]requested_item fm.sn is exist - process it [19:57:47]wFMCommunicate request_size=4 [19:57:47]MH_SAM_APDU [19:57:47]CAPDU: 80 11 00 00 [19:57:47]Write to MH i2c: E2 08 00 74 2B 80 11 00 00 00 00 00 00 19 [19:57:47]Write i2c OK [19:57:47]MH_I2C_Read... [19:57:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:57:47]Read from MH i2c: E2 [19:57:47]MH_I2C_Read... [19:57:47]Read from MH i2c: E2 17 00 [19:57:47]MH_I2C_Read... [19:57:47]Read from MH i2c: E2 17 00 74 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 69 [19:57:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:57:47]wFMCommunicate OK [19:57:47]requested_item fd.num is exist - process it [19:57:47]SAM_PROTO_GetFieldsCounters [19:57:47]wFMCommunicate request_size=4 [19:57:47]MH_SAM_APDU [19:57:47]CAPDU: 80 13 00 00 [19:57:47]Write to MH i2c: E2 08 00 75 2B 80 13 00 00 00 00 00 00 1C [19:57:47]Write i2c OK [19:57:47]MH_I2C_Read... [19:57:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:57:47]Read from MH i2c: E2 [19:57:47]MH_I2C_Read... [19:57:47]Read from MH i2c: E2 62 00 [19:57:47]MH_I2C_Read... [19:57:47]Read from MH i2c: E2 62 00 75 2B 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 C4 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 92 [19:57: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 C4 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:57:47]wFMCommunicate OK [19:57:47]SAM_PROTO_GetFieldsCounters done [19:57:47]requested_item shift.num is exist - process it [19:57:47]requested_item shift.opened is exist - process it [19:57:47]req_shift_opened [19:57:47]FM_GetShiftState [19:57:47]SAM_PROTO_GetShiftState [19:57:47]wFMCommunicate request_size=4 [19:57:47]MH_SAM_APDU [19:57:47]CAPDU: 80 13 01 00 [19:57:47]Write to MH i2c: E2 08 00 76 2B 80 13 01 00 00 00 00 00 1E [19:57:47]Write i2c OK [19:57:47]MH_I2C_Read... [19:57:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:57:47]Read from MH i2c: E2 [19:57:47]MH_I2C_Read... [19:57:47]Read from MH i2c: E2 0E 00 [19:57:47]MH_I2C_Read... [19:57:47]Read from MH i2c: E2 0E 00 76 2B 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 A0 [19:57:47]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [19:57:47]wFMCommunicate OK [19:57:47]SAM_PROTO_GetShiftState done [19:57:47]FM_GetShiftState done [19:57:47]req_shift_opened done [19:57:47]requested_item shift.open_date is exist - process it [19:57:47]req_shift_open_date [19:57:47]req_shift_open_date done [19:57:47]produce_requested_data done [19:57:47]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37828,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [19:57:47]process_action_free close_receipt [19:57:47]json_value_free [19:57:47]json_value_free done [19:57:47]process_json_proto returns [19:57:47]Send response to host [19:57:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37828,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [19:57:47]free response buf [19:57:47]execute_script done [19:57:47]execute_script returns [19:57:47]free content buf [19:57:47]Sock 9.Close socket [19:57:47]Sock 9.Thread stoped [19:57:51]OFD Sender: No OFD packet to send [19:57:56]OFD Sender: No OFD packet to send [19:58:01]OFD Sender: No OFD packet to send [19:58:06]OFD Sender: No OFD packet to send [19:58:11]OFD Sender: No OFD packet to send [19:58:16]OFD Sender: No OFD packet to send [19:58:21]OFD Sender: No OFD packet to send [19:58:26]OFD Sender: No OFD packet to send [19:58:31]OFD Sender: No OFD packet to send [19:58:36]OFD Sender: No OFD packet to send [19:58:41]OFD Sender: No OFD packet to send [19:58:46]OFD Sender: No OFD packet to send [19:58:51]OFD Sender: No OFD packet to send [19:58:56]OFD Sender: No OFD packet to send [19:59:01]OFD Sender: No OFD packet to send [19:59:06]OFD Sender: No OFD packet to send [19:59:11]OFD Sender: No OFD packet to send [19:59:16]OFD Sender: No OFD packet to send [19:59:21]OFD Sender: No OFD packet to send [19:59:26]OFD Sender: No OFD packet to send [19:59:31]OFD Sender: No OFD packet to send [19:59:36]OFD Sender: No OFD packet to send [19:59:41]OFD Sender: No OFD packet to send [19:59:46]OFD Sender: No OFD packet to send [19:59:51]OFD Sender: No OFD packet to send [19:59:56]OFD Sender: No OFD packet to send [20:00:01]OFD Sender: No OFD packet to send [20:00:06]OFD Sender: No OFD packet to send [20:00:11]OFD Sender: No OFD packet to send [20:00:16]OFD Sender: No OFD packet to send [20:00:21]OFD Sender: No OFD packet to send [20:00:26]OFD Sender: No OFD packet to send [20:00:31]OFD Sender: No OFD packet to send [20:00:36]OFD Sender: No OFD packet to send [20:00:41]OFD Sender: No OFD packet to send [20:00:46]OFD Sender: No OFD packet to send [20:00:51]OFD Sender: No OFD packet to send [20:00:56]OFD Sender: No OFD packet to send [20:01:01]OFD Sender: No OFD packet to send [20:01:06]OFD Sender: No OFD packet to send [20:01:11]OFD Sender: No OFD packet to send [20:01:16]OFD Sender: No OFD packet to send [20:01:21]OFD Sender: No OFD packet to send [20:01:26]OFD Sender: No OFD packet to send [20:01:31]OFD Sender: No OFD packet to send [20:01:36]OFD Sender: No OFD packet to send [20:01:41]OFD Sender: No OFD packet to send [20:01:46]OFD Sender: No OFD packet to send [20:01:51]OFD Sender: No OFD packet to send [20:01:56]OFD Sender: No OFD packet to send [20:02:01]OFD Sender: No OFD packet to send [20:02:06]OFD Sender: No OFD packet to send [20:02:11]OFD Sender: No OFD packet to send [20:02:16]OFD Sender: No OFD packet to send [20:02:21]OFD Sender: No OFD packet to send [20:02:26]OFD Sender: No OFD packet to send [20:02:31]OFD Sender: No OFD packet to send [20:02:36]OFD Sender: No OFD packet to send [20:02:41]OFD Sender: No OFD packet to send [20:02:46]OFD Sender: No OFD packet to send [20:02:51]OFD Sender: No OFD packet to send [20:02:56]OFD Sender: No OFD packet to send [20:03:01]OFD Sender: No OFD packet to send [20:03:06]OFD Sender: No OFD packet to send [20:03:11]OFD Sender: No OFD packet to send [20:03:16]OFD Sender: No OFD packet to send [20:03:21]OFD Sender: No OFD packet to send [20:03:26]OFD Sender: No OFD packet to send [20:03:31]OFD Sender: No OFD packet to send [20:03:36]OFD Sender: No OFD packet to send [20:03:42]OFD Sender: No OFD packet to send [20:03:47]OFD Sender: No OFD packet to send [20:03:52]OFD Sender: No OFD packet to send [20:03:57]OFD Sender: No OFD packet to send [20:04:02]OFD Sender: No OFD packet to send [20:04:07]OFD Sender: No OFD packet to send [20:04:12]OFD Sender: No OFD packet to send [20:04:17]OFD Sender: No OFD packet to send [20:04:22]OFD Sender: No OFD packet to send [20:04:27]OFD Sender: No OFD packet to send [20:04:32]OFD Sender: No OFD packet to send [20:04:37]OFD Sender: No OFD packet to send [20:04:42]OFD Sender: No OFD packet to send [20:04:47]OFD Sender: No OFD packet to send [20:04:52]OFD Sender: No OFD packet to send [20:04:57]OFD Sender: No OFD packet to send [20:05:02]OFD Sender: No OFD packet to send [20:05:07]OFD Sender: No OFD packet to send [20:05:12]OFD Sender: No OFD packet to send [20:05:17]OFD Sender: No OFD packet to send [20:05:22]OFD Sender: No OFD packet to send [20:05:27]OFD Sender: No OFD packet to send [20:05:32]OFD Sender: No OFD packet to send [20:05:37]OFD Sender: No OFD packet to send [20:05:42]OFD Sender: No OFD packet to send [20:05:47]OFD Sender: No OFD packet to send [20:05:52]OFD Sender: No OFD packet to send [20:05:57]OFD Sender: No OFD packet to send [20:06:02]OFD Sender: No OFD packet to send [20:06:07]OFD Sender: No OFD packet to send [20:06:12]OFD Sender: No OFD packet to send [20:06:17]OFD Sender: No OFD packet to send [20:06:22]OFD Sender: No OFD packet to send [20:06:27]OFD Sender: No OFD packet to send [20:06:32]OFD Sender: No OFD packet to send [20:06:37]OFD Sender: No OFD packet to send [20:06:42]OFD Sender: No OFD packet to send [20:06:47]OFD Sender: No OFD packet to send [20:06:52]OFD Sender: No OFD packet to send [20:06:57]OFD Sender: No OFD packet to send [20:07:02]OFD Sender: No OFD packet to send [20:07:07]OFD Sender: No OFD packet to send [20:07:12]OFD Sender: No OFD packet to send [20:07:17]OFD Sender: No OFD packet to send [20:07:22]OFD Sender: No OFD packet to send [20:07:27]OFD Sender: No OFD packet to send [20:07:32]OFD Sender: No OFD packet to send [20:07:37]OFD Sender: No OFD packet to send [20:07:42]OFD Sender: No OFD packet to send [20:07:47]OFD Sender: No OFD packet to send [20:07:52]OFD Sender: No OFD packet to send [20:07:57]OFD Sender: No OFD packet to send [20:08:02]OFD Sender: No OFD packet to send [20:08:07]OFD Sender: No OFD packet to send [20:08:12]OFD Sender: No OFD packet to send [20:08:17]OFD Sender: No OFD packet to send [20:08:22]OFD Sender: No OFD packet to send [20:08:27]OFD Sender: No OFD packet to send [20:08:32]OFD Sender: No OFD packet to send [20:08:37]OFD Sender: No OFD packet to send [20:08:42]OFD Sender: No OFD packet to send [20:08:47]OFD Sender: No OFD packet to send [20:08:52]OFD Sender: No OFD packet to send [20:08:57]OFD Sender: No OFD packet to send [20:09:02]OFD Sender: No OFD packet to send [20:09:07]OFD Sender: No OFD packet to send [20:09:12]OFD Sender: No OFD packet to send [20:09:17]OFD Sender: No OFD packet to send [20:09:22]OFD Sender: No OFD packet to send [20:09:27]OFD Sender: No OFD packet to send [20:09:32]OFD Sender: No OFD packet to send [20:09:37]OFD Sender: No OFD packet to send [20:09:42]OFD Sender: No OFD packet to send [20:09:47]OFD Sender: No OFD packet to send [20:09:52]OFD Sender: No OFD packet to send [20:09:57]OFD Sender: No OFD packet to send [20:10:02]OFD Sender: No OFD packet to send [20:10:07]OFD Sender: No OFD packet to send [20:10:12]OFD Sender: No OFD packet to send [20:10:17]OFD Sender: No OFD packet to send [20:10:22]OFD Sender: No OFD packet to send [20:10:27]OFD Sender: No OFD packet to send [20:10:32]OFD Sender: No OFD packet to send [20:10:37]OFD Sender: No OFD packet to send [20:10:42]OFD Sender: No OFD packet to send [20:10:47]OFD Sender: No OFD packet to send [20:10:52]OFD Sender: No OFD packet to send [20:10:57]OFD Sender: No OFD packet to send [20:11:02]OFD Sender: No OFD packet to send [20:11:07]OFD Sender: No OFD packet to send [20:11:12]OFD Sender: No OFD packet to send [20:11:17]OFD Sender: No OFD packet to send [20:11:22]OFD Sender: No OFD packet to send [20:11:27]OFD Sender: No OFD packet to send [20:11:32]OFD Sender: No OFD packet to send [20:11:37]OFD Sender: No OFD packet to send [20:11:42]OFD Sender: No OFD packet to send [20:11:47]OFD Sender: No OFD packet to send [20:11:52]OFD Sender: No OFD packet to send [20:11:55]accept exits with 7 [20:11:55]New connection [20:11:55]New thread 3067440484 created [20:11:55]Thread 3067297124 joined [20:11:55]Waiting for new connection... [20:11:55] Sock 7.Parse request [20:11:55]Sock 7.Check first char [20:11:55]Sock 7.First char is OK [20:11:55]request: POST /json_proto HTTP/1.0 [20:11:55]Method: POST [20:11:55]URL: /json_proto [20:11:55]Method is POST - this is cgi request [20:11:55]url: /json_proto [20:11:55]query_string will be loaded in cgi processing [20:11:55]execute_cgi json_proto POST (null) [20:11:55]execute_cgi path=json_proto method=POST [20:11:55]POST find Content-Length [20:11:55]Host: 172.17.40.196:8080 [20:11:55]Content-Length: 1398 [20:11:55]Content-Type: application/json [20:11:55] [20:11:55]POST finish read [20:11:55]Found Content-Length = 1398 [20:11:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35128", "tax_sys" : 0, "items" : [ { "code": "4640030092567", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Exchange Summer Red", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "code": "4870001571535", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 289.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:11:55]execute_script... [20:11:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35128", "tax_sys" : 0, "items" : [ { "code": "4640030092567", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Exchange Summer Red", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "code": "4870001571535", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 289.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:11:55]POST & json_proto [20:11:55]process_json_proto [20:11:55]json parsed OK: [20:11:55]protocol is kg_v1.0 [20:11:55]action value=close_receipt [20:11:55]process_action close_receipt [20:11:55]cmd_close_receipt [20:11:55]MH_GetDate [20:11:55]Write to MH i2c: F0 00 00 77 2B 91 [20:11:55]Write i2c OK [20:11:55]MH_I2C_Read... [20:11:55]Read from MH i2c: F0 [20:11:55]MH_I2C_Read... [20:11:55]Read from MH i2c: F0 09 00 [20:11:55]MH_I2C_Read... [20:11:55]Read from MH i2c: F0 09 00 77 2B 00 14 F0 1F 67 5B 68 A1 66 EE [20:11:55]GetLastDocTimeStamp 1730145472 [20:11:55]current date 1730146324 [20:11:55]FM_GetShiftState [20:11:55]SAM_PROTO_GetShiftState [20:11:55]wFMCommunicate request_size=4 [20:11:55]MH_SAM_APDU [20:11:55]CAPDU: 80 13 01 00 [20:11:55]Write to MH i2c: E2 08 00 78 2B 80 13 01 00 00 00 00 00 20 [20:11:55]Write i2c OK [20:11:55]MH_I2C_Read... [20:11:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:11:55]Read from MH i2c: E2 [20:11:55]MH_I2C_Read... [20:11:55]Read from MH i2c: E2 0E 00 [20:11:55]MH_I2C_Read... [20:11:55]Read from MH i2c: E2 0E 00 78 2B 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 A2 [20:11:55]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [20:11:55]wFMCommunicate OK [20:11:55]SAM_PROTO_GetShiftState done [20:11:55]FM_GetShiftState done [20:11:55]opened in 1730073884 [20:11:55]opened+sec_in_day 1730160284 [20:11:55]quantity*price = 15900 [20:11:55]sum+1 = 15901 [20:11:55]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001571023 Вода ASU пит н.газ клубн,киви ПЭТ 0,5л 1.000 * 65.00 = 65.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870001571535 Вода ASU пит н.газ персик ПЭТ 0,5л 1.000 * 65.00 = 65.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 289.00 НСП 1% : 2.55 НДС 12% : 30.68 Наличными: 0.00 Безнал.: 289.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 72 28.10.2024 20:12 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37829 ФПД: 53156076861001 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T201205&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37829&fm=53156076861001&tin=02508201610067®Number=0000000000091684&sum=28900 0 [20:11:56]StoreToDocumentArchive [20:11:56]shift 551 fd 37829 [20:11:56]save to /storage/0551/doc_00037829 [20:11:56]save last doc name /storage/0551/doc_00037829 to /storage/kkm_last_doc_name [20:11:56]save OK [20:11:56]Clear old archive folders... [20:11:56]ProcessDocumentItem done err = 0, tmpTLVsize=544 [20:11:56]tlvbuf is 0022BFD0 [20:11:56]SAM_PROTO_ClearQueue [20:11:56]wFMCommunicate request_size=4 [20:11:56]MH_SAM_APDU [20:11:56]CAPDU: 80 09 00 00 [20:11:56]Write to MH i2c: E2 08 00 85 2B 80 09 00 00 00 00 00 00 22 [20:11:56]Write i2c OK [20:11:56]MH_I2C_Read... [20:11:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:11:56]Read from MH i2c: E2 [20:11:56]MH_I2C_Read... [20:11:56]Read from MH i2c: E2 03 00 [20:11:56]MH_I2C_Read... [20:11:56]Read from MH i2c: E2 03 00 85 2B 00 90 00 24 [20:11:56]RAPDU: 90 00 [20:11:56]wFMCommunicate OK [20:11:56]SAM_PROTO_ClearQueue done [20:11:56]KKMCreateOFDPacket [20:11:56]OFDProtocolAddRootSTLVToBuf [20:11:56]FM_MakeSignedData [20:11:56]FM_MakeSignedData [20:11:56]SAM_PROTO_SignData [20:11:56]wFMCommunicate request_size=4 [20:11:56]MH_SAM_APDU [20:11:56]CAPDU: 80 0D 01 02 [20:11:56]Write to MH i2c: E2 08 00 86 2B 80 0D 01 02 00 00 00 00 2A [20:11:56]Write i2c OK [20:11:56]MH_I2C_Read... [20:11:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:11:56]Read from MH i2c: E2 [20:11:56]MH_I2C_Read... [20:11:56]Read from MH i2c: E2 03 00 [20:11:56]MH_I2C_Read... [20:11:56]Read from MH i2c: E2 03 00 86 2B 00 90 00 25 [20:11:56]RAPDU: 90 00 [20:11:56]wFMCommunicate OK [20:11:56]wFMCommunicate request_size=255 [20:11:56]MH_SAM_APDU [20:11:56]CAPDU: 80 0D 02 02 FA 03 00 20 02 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 [20:11:57]Write to MH i2c: E2 02 01 87 2B 80 0D 02 02 FA 00 03 00 20 02 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 58 [20:11:57]Write i2c OK [20:11:57]MH_I2C_Read... [20:11:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:11:57]Read from MH i2c: E2 [20:11:57]MH_I2C_Read... [20:11:57]Read from MH i2c: E2 03 00 [20:11:57]MH_I2C_Read... [20:11:57]Read from MH i2c: E2 03 00 87 2B 00 90 00 26 [20:11:57]RAPDU: 90 00 [20:11:57]wFMCommunicate OK [20:11:57]wFMCommunicate request_size=255 [20:11:57]MH_SAM_APDU [20:11:57]CAPDU: 80 0D 02 02 FA 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 33 35 06 04 37 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 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 E4 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 70 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 15 F0 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [20:11:57]Write to MH i2c: E2 02 01 88 2B 80 0D 02 02 FA 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 33 35 06 04 37 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 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 E4 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 70 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 15 F0 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 EB [20:11:57]OFD Sender: No OFD packet to send [20:11:57]Write i2c OK [20:11:57]MH_I2C_Read... [20:11:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:11:57]Read from MH i2c: E2 [20:11:57]MH_I2C_Read... [20:11:57]Read from MH i2c: E2 03 00 [20:11:57]MH_I2C_Read... [20:11:57]Read from MH i2c: E2 03 00 88 2B 00 90 00 27 [20:11:57]RAPDU: 90 00 [20:11:57]wFMCommunicate OK [20:11:57]wFMCommunicate request_size=53 [20:11:57]MH_SAM_APDU [20:11:57]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C5 93 00 00 35 04 06 00 30 58 5D 14 36 49 [20:11:57]Write to MH i2c: E2 38 00 89 2B 80 0D 02 02 30 00 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C5 93 00 00 35 04 06 00 30 58 5D 14 36 49 00 00 F3 [20:11:57]Write i2c OK [20:11:57]MH_I2C_Read... [20:11:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:11:57]Read from MH i2c: E2 [20:11:57]MH_I2C_Read... [20:11:57]Read from MH i2c: E2 03 00 [20:11:57]MH_I2C_Read... [20:11:57]Read from MH i2c: E2 03 00 89 2B 00 90 00 28 [20:11:57]RAPDU: 90 00 [20:11:57]wFMCommunicate OK [20:11:57]wFMCommunicate request_size=4 [20:11:57]MH_SAM_APDU [20:11:57]CAPDU: 80 0D 03 02 [20:11:57]Write to MH i2c: E2 08 00 8A 2B 80 0D 03 02 00 00 00 00 30 [20:11:57]Write i2c OK [20:11:57]MH_I2C_Read... [20:11:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:11:57]Read from MH i2c: E2 [20:11:57]MH_I2C_Read... [20:11:57]Read from MH i2c: E2 0B 00 [20:11:57]MH_I2C_Read... [20:11:57]Read from MH i2c: E2 0B 00 8A 2B 00 AA 65 54 4A 06 5B 4D 1E 90 00 AA [20:11:57]RAPDU: AA 65 54 4A 06 5B 4D 1E 90 00 [20:11:57]wFMCommunicate OK [20:11:57]SAM_PROTO_SignData done [20:11:57]FM_MakeSignedData done [20:11:57]CreateOFDProtocolMessage [20:11:57]wFMCommunicate request_size=4 [20:11:57]MH_SAM_APDU [20:11:57]CAPDU: 80 11 00 00 [20:11:57]Write to MH i2c: E2 08 00 8B 2B 80 11 00 00 00 00 00 00 30 [20:11:57]Write i2c OK [20:11:57]MH_I2C_Read... [20:11:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:11:57]Read from MH i2c: E2 [20:11:57]MH_I2C_Read... [20:11:57]Read from MH i2c: E2 17 00 [20:11:57]MH_I2C_Read... [20:11:57]Read from MH i2c: E2 17 00 8B 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 80 [20:11:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [20:11:57]wFMCommunicate OK [20:11:57]CreateOFDProtocolMessage done [20:11:57]OFDSenderStorePacket 37829 [20:11:57]StoreOFDPacket docnum=37829 [20:11:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 34 02 00 00 C9 B6 2C 02 7C 55 5A 03 01 00 03 00 20 02 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 23 04 7B 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 33 35 06 04 37 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 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 E4 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 70 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 15 F0 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C5 93 00 00 35 04 06 00 30 58 5D 14 36 49 AA 65 54 4A 06 5B 4D 1E [20:11:57]CheckFolder [20:11:57]dirname=/storage/ofd_packets [20:11:57]CheckFolder done [20:11:57]ProducePacketName [20:11:57]name=ofd_packets/00037829 [20:11:57]NVStorageSaveData ofd_packets/00037829 [20:11:57]File name is /storage/ofd_packets/00037829 [20:11:57]Write 594 bytes [20:11:57]NVStorageSaveData done [20:11:57]OFDSenderStorePacket done [20:11:57]KKMCreateOFDPacket done [20:11:57]NVStorageSaveData kkm_last_timestamp [20:11:57]File name is /storage/kkm_last_timestamp [20:11:57]Write 4 bytes [20:11:57]NVStorageSaveData done [20:11:57]ExternCall_PrintAddStr [20:11:57]wPrintStart [20:11:57]Write to MH i2c: 01 00 00 8C 2B B7 [20:11:57]Write i2c OK [20:11:57]MH_I2C_Read... [20:11:57]Read from MH i2c: 01 [20:11:57]MH_I2C_Read... [20:11:57]Read from MH i2c: 01 07 00 [20:11:57]MH_I2C_Read... [20:11:57]Read from MH i2c: 01 07 00 8C 2B 00 00 00 00 00 FF 0F CC [20:11:57]RasterBufferAndPrint [20:11:57]line Счет N : (3)35128 [20:11:57]line ИНН: 02508201610067 [20:11:57]line Контрольно-Кассовый Чек [20:11:57]line ПРОДАЖА [20:11:57]line Товар: 4640030092567 [20:11:57]line Сигареты Esse Exchange Summer Red [20:11:57]line 1.000 * 159.00 [20:11:57]line = 159.00 [20:11:57]line НДС 12% НСП 1% [20:11:57]line > о реализуемом товаре [20:11:57]line Товар: 4870001571023 [20:11:57]line Вода ASU пит н.газ клубн,киви ПЭТ 0,5л [20:11:57]line 1.000 * 65.00 [20:11:57]line = 65.00 [20:11:57]line НДС 12% НСП 1% [20:11:57]line > о реализуемом товаре [20:11:57]line Товар: 4870001571535 [20:11:57]line Вода ASU пит н.газ персик ПЭТ 0,5л [20:11:57]line 1.000 * 65.00 [20:11:57]line = 65.00 [20:11:57]line НДС 12% НСП 1% [20:11:57]line > о реализуемом товаре [20:11:57]line ИТОГО: 289.00 [20:11:57]line НСП 1% : 2.55 [20:11:57]line НДС 12% : 30.68 [20:11:57]line Наличными: 0.00 [20:11:57]line Безнал.: 289.00 [20:11:57]line Место: АЗС № 126 "Партнер Нефть" [20:11:57]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [20:11:57]line СНО: Общий режим [20:11:57]line Чек 72 28.10.2024 20:12 [20:11:57]line Смена: 551 ФФД: 1.0 [20:11:57]line ЗНМ: 0300000092 [20:11:57]line РНМ: 0000000000091684 [20:11:57]line Версия ККМ: 001 [20:11:57]line Платежная система: Mbank [20:11:57]line ФМ: 0000000000871841 [20:11:57]line ФД: 37829 [20:11:57]line ФПД: 53156076861001 [20:11:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T201205&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37829&fm=53156076861001&tin=02508201610067®Number=0000000000091684&sum=28900 [20:11:58]OFD Sender: Processing packet 37829 [packets to send 42, broken 41] [20:11:58]ProducePacketName [20:11:58]name=ofd_packets/00037829 [20:11:58]OFD Sender: To server: pG, [20:11:58]CommunicateWithHost lk.salyk.kg:30040 [20:11:58]ConnectInit lk.salyk.kg [20:11:58]line 0 [20:11:58]written 0, free lines is 4095 [20:11:58]Connected sock=10 [20:11:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 34 02 00 00 C9 B6 2C 02 7C 55 5A 03 01 00 03 00 20 02 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 23 04 7B 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 33 35 06 04 37 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 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 E4 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 70 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 15 F0 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C5 93 00 00 35 04 06 00 30 58 5D 14 36 49 AA 65 54 4A 06 5B 4D 1E [20:11:58]Write to MH i2c: 01 00 00 C4 2B EF [20:11:58]Write i2c OK [20:11:58]MH_I2C_Read... [20:11:58]Read from MH i2c: 01 [20:11:58]MH_I2C_Read... [20:11:58]Read from MH i2c: 01 07 00 [20:11:58]MH_I2C_Read... [20:11:58]Read from MH i2c: 01 07 00 C4 2B 00 00 00 00 00 C6 0B C7 [20:11:58]RasterBufferAndPrint [20:11:58]line [20:11:58]line [20:11:58]line [20:11:58]line [20:11:58]line [20:11:58]written 0, free lines is 3020 [20:11:58]MH_Cut [20:11:58]Write to MH i2c: D1 01 00 CB 2B 01 C8 [20:11:58]Write i2c OK [20:11:58]MH_I2C_Read... [20:11:58]Read from MH i2c: D1 [20:11:58]MH_I2C_Read... [20:11:58]Read from MH i2c: D1 01 00 [20:11:58]MH_I2C_Read... [20:11:58]Read from MH i2c: D1 01 00 CB 2B 00 C7 [20:11:58]Write to MH i2c: 01 00 00 CC 2B F7 [20:11:58]Write i2c OK [20:11:58]MH_I2C_Read... [20:11:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 67 A4 47 00 F1 33 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 C5 93 00 00 F4 03 04 00 09 9B 1F 67 B6 04 01 00 00 43 F1 9E 8A 6E A4 36 DE [20:11:59]CommunicateWithHost err = 0 [20:11:59]CheckOFDResponse [20:11:59]1017 (14) - 77093643461234 [20:11:59]1041 (16) - 0000000000871841 [20:11:59]1040 (4) - 37829 [20:11:59]1012 (4) - 28.10.2024 14:09 [20:11:59]1206 (1) - 0 [20:11:59]OFD Sender: Remove packet 37829 [20:11:59]ProducePacketName [20:11:59]name=ofd_packets/00037829 [20:11:59]NVStorageDeleteData [20:11:59]OFD Sender: No OFD packet to send [20:11:59]*** Cut start [20:11:59]*** Partial cut [20:11:59]*** CUTSNS_PIN = 1 [20:11:59]*** CUTSNS_PIN = 0 [20:12:00]*** Brake cut motor [20:12:00]Read from MH i2c: 01 [20:12:00]MH_I2C_Read... [20:12:00]*** Stop cut motor [20:12:00]*** Cut end [20:12:00]Read from MH i2c: 01 07 00 [20:12:00]MH_I2C_Read... [20:12:00]Read from MH i2c: 01 07 00 CC 2B 00 00 00 00 00 FF 0F 0C [20:12:00]process_action close_receipt done [20:12:00]requested_data is exist [20:12:00]produce_requested_data [20:12:00]requested_item fm.sn is exist - process it [20:12:00]wFMCommunicate request_size=4 [20:12:00]MH_SAM_APDU [20:12:00]CAPDU: 80 11 00 00 [20:12:00]Write to MH i2c: E2 08 00 CD 2B 80 11 00 00 00 00 00 00 72 [20:12:00]Write i2c OK [20:12:00]MH_I2C_Read... [20:12:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:12:00]Read from MH i2c: E2 [20:12:00]MH_I2C_Read... [20:12:00]Read from MH i2c: E2 17 00 [20:12:00]MH_I2C_Read... [20:12:00]Read from MH i2c: E2 17 00 CD 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 C2 [20:12:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [20:12:00]wFMCommunicate OK [20:12:00]requested_item fd.num is exist - process it [20:12:00]SAM_PROTO_GetFieldsCounters [20:12:00]wFMCommunicate request_size=4 [20:12:00]MH_SAM_APDU [20:12:00]CAPDU: 80 13 00 00 [20:12:00]Write to MH i2c: E2 08 00 CE 2B 80 13 00 00 00 00 00 00 75 [20:12:00]Write i2c OK [20:12:00]MH_I2C_Read... [20:12:00]Read from MH i2c: E2 [20:12:00]MH_I2C_Read... [20:12:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:12:00]Read from MH i2c: E2 62 00 [20:12:00]MH_I2C_Read... [20:12:00]Read from MH i2c: E2 62 00 CE 2B 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 C5 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 EF [20:12:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 C5 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:12:00]wFMCommunicate OK [20:12:00]SAM_PROTO_GetFieldsCounters done [20:12:00]requested_item shift.num is exist - process it [20:12:00]requested_item shift.opened is exist - process it [20:12:00]req_shift_opened [20:12:00]FM_GetShiftState [20:12:00]SAM_PROTO_GetShiftState [20:12:00]wFMCommunicate request_size=4 [20:12:00]MH_SAM_APDU [20:12:00]CAPDU: 80 13 01 00 [20:12:00]Write to MH i2c: E2 08 00 CF 2B 80 13 01 00 00 00 00 00 77 [20:12:00]Write i2c OK [20:12:00]MH_I2C_Read... [20:12:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:12:00]Read from MH i2c: E2 [20:12:00]MH_I2C_Read... [20:12:00]Read from MH i2c: E2 0E 00 [20:12:00]MH_I2C_Read... [20:12:00]Read from MH i2c: E2 0E 00 CF 2B 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 F9 [20:12:00]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [20:12:00]wFMCommunicate OK [20:12:00]SAM_PROTO_GetShiftState done [20:12:00]FM_GetShiftState done [20:12:00]req_shift_opened done [20:12:00]requested_item shift.open_date is exist - process it [20:12:00]req_shift_open_date [20:12:00]req_shift_open_date done [20:12:00]produce_requested_data done [20:12:00]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37829,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [20:12:00]process_action_free close_receipt [20:12:00]json_value_free [20:12:00]json_value_free done [20:12:00]process_json_proto returns [20:12:00]Send response to host [20:12:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37829,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [20:12:00]free response buf [20:12:00]execute_script done [20:12:00]execute_script returns [20:12:00]free content buf [20:12:00]Sock 7.Close socket [20:12:00]Sock 7.Thread stoped [20:12:04]OFD Sender: No OFD packet to send [20:12:09]OFD Sender: No OFD packet to send [20:12:14]OFD Sender: No OFD packet to send [20:12:19]OFD Sender: No OFD packet to send [20:12:24]OFD Sender: No OFD packet to send [20:12:29]OFD Sender: No OFD packet to send [20:12:34]OFD Sender: No OFD packet to send [20:12:39]OFD Sender: No OFD packet to send [20:12:44]OFD Sender: No OFD packet to send [20:12:49]OFD Sender: No OFD packet to send [20:12:54]OFD Sender: No OFD packet to send [20:12:59]OFD Sender: No OFD packet to send [20:13:04]OFD Sender: No OFD packet to send [20:13:09]OFD Sender: No OFD packet to send [20:13:14]OFD Sender: No OFD packet to send [20:13:19]OFD Sender: No OFD packet to send [20:13:24]OFD Sender: No OFD packet to send [20:13:29]OFD Sender: No OFD packet to send [20:13:34]OFD Sender: No OFD packet to send [20:13:39]OFD Sender: No OFD packet to send [20:13:44]OFD Sender: No OFD packet to send [20:13:49]OFD Sender: No OFD packet to send [20:13:54]OFD Sender: No OFD packet to send [20:13:59]OFD Sender: No OFD packet to send [20:14:04]OFD Sender: No OFD packet to send [20:14:09]OFD Sender: No OFD packet to send [20:14:14]OFD Sender: No OFD packet to send [20:14:19]OFD Sender: No OFD packet to send [20:14:24]OFD Sender: No OFD packet to send [20:14:29]OFD Sender: No OFD packet to send [20:14:34]OFD Sender: No OFD packet to send [20:14:39]OFD Sender: No OFD packet to send [20:14:44]OFD Sender: No OFD packet to send [20:14:49]OFD Sender: No OFD packet to send [20:14:54]OFD Sender: No OFD packet to send [20:14:59]OFD Sender: No OFD packet to send [20:15:04]OFD Sender: No OFD packet to send [20:15:09]OFD Sender: No OFD packet to send [20:15:14]OFD Sender: No OFD packet to send [20:15:19]OFD Sender: No OFD packet to send [20:15:24]OFD Sender: No OFD packet to send [20:15:29]OFD Sender: No OFD packet to send [20:15:34]OFD Sender: No OFD packet to send [20:15:39]OFD Sender: No OFD packet to send [20:15:44]OFD Sender: No OFD packet to send [20:15:49]OFD Sender: No OFD packet to send [20:15:54]OFD Sender: No OFD packet to send [20:15:59]OFD Sender: No OFD packet to send [20:16:04]OFD Sender: No OFD packet to send [20:16:09]OFD Sender: No OFD packet to send [20:16:14]OFD Sender: No OFD packet to send [20:16:19]OFD Sender: No OFD packet to send [20:16:24]OFD Sender: No OFD packet to send [20:16:29]OFD Sender: No OFD packet to send [20:16:34]OFD Sender: No OFD packet to send [20:16:39]OFD Sender: No OFD packet to send [20:16:44]OFD Sender: No OFD packet to send [20:16:49]OFD Sender: No OFD packet to send [20:16:54]OFD Sender: No OFD packet to send [20:16:59]OFD Sender: No OFD packet to send [20:17:04]OFD Sender: No OFD packet to send [20:17:09]OFD Sender: No OFD packet to send [20:17:14]OFD Sender: No OFD packet to send [20:17:19]OFD Sender: No OFD packet to send [20:17:24]OFD Sender: No OFD packet to send [20:17:29]OFD Sender: No OFD packet to send [20:17:34]OFD Sender: No OFD packet to send [20:17:39]OFD Sender: No OFD packet to send [20:17:44]OFD Sender: No OFD packet to send [20:17:49]OFD Sender: No OFD packet to send [20:17:54]OFD Sender: No OFD packet to send [20:17:59]OFD Sender: No OFD packet to send [20:18:04]OFD Sender: No OFD packet to send [20:18:09]OFD Sender: No OFD packet to send [20:18:14]OFD Sender: No OFD packet to send [20:18:19]OFD Sender: No OFD packet to send [20:18:24]OFD Sender: No OFD packet to send [20:18:29]OFD Sender: No OFD packet to send [20:18:34]OFD Sender: No OFD packet to send [20:18:39]OFD Sender: No OFD packet to send [20:18:44]OFD Sender: No OFD packet to send [20:18:49]OFD Sender: No OFD packet to send [20:18:54]OFD Sender: No OFD packet to send [20:18:59]OFD Sender: No OFD packet to send [20:19:04]OFD Sender: No OFD packet to send [20:19:09]OFD Sender: No OFD packet to send [20:19:14]OFD Sender: No OFD packet to send [20:19:19]OFD Sender: No OFD packet to send [20:19:24]OFD Sender: No OFD packet to send [20:19:29]OFD Sender: No OFD packet to send [20:19:34]OFD Sender: No OFD packet to send [20:19:39]OFD Sender: No OFD packet to send [20:19:44]OFD Sender: No OFD packet to send [20:19:50]OFD Sender: No OFD packet to send [20:19:55]OFD Sender: No OFD packet to send [20:20:00]OFD Sender: No OFD packet to send [20:20:05]OFD Sender: No OFD packet to send [20:20:10]OFD Sender: No OFD packet to send [20:20:15]OFD Sender: No OFD packet to send [20:20:20]OFD Sender: No OFD packet to send [20:20:25]OFD Sender: No OFD packet to send [20:20:30]OFD Sender: No OFD packet to send [20:20:35]OFD Sender: No OFD packet to send [20:20:40]OFD Sender: No OFD packet to send [20:20:45]OFD Sender: No OFD packet to send [20:20:50]OFD Sender: No OFD packet to send [20:20:55]OFD Sender: No OFD packet to send [20:21:00]OFD Sender: No OFD packet to send [20:21:05]OFD Sender: No OFD packet to send [20:21:10]OFD Sender: No OFD packet to send [20:21:15]OFD Sender: No OFD packet to send [20:21:20]OFD Sender: No OFD packet to send [20:21:25]OFD Sender: No OFD packet to send [20:21:30]OFD Sender: No OFD packet to send [20:21:35]OFD Sender: No OFD packet to send [20:21:40]OFD Sender: No OFD packet to send [20:21:45]OFD Sender: No OFD packet to send [20:21:50]OFD Sender: No OFD packet to send [20:21:55]OFD Sender: No OFD packet to send [20:22:00]OFD Sender: No OFD packet to send [20:22:05]OFD Sender: No OFD packet to send [20:22:10]OFD Sender: No OFD packet to send [20:22:15]OFD Sender: No OFD packet to send [20:22:20]OFD Sender: No OFD packet to send [20:22:25]OFD Sender: No OFD packet to send [20:22:30]OFD Sender: No OFD packet to send [20:22:35]OFD Sender: No OFD packet to send [20:22:40]OFD Sender: No OFD packet to send [20:22:45]OFD Sender: No OFD packet to send [20:22:50]OFD Sender: No OFD packet to send [20:22:55]OFD Sender: No OFD packet to send [20:23:00]OFD Sender: No OFD packet to send [20:23:05]OFD Sender: No OFD packet to send [20:23:10]OFD Sender: No OFD packet to send [20:23:15]OFD Sender: No OFD packet to send [20:23:20]OFD Sender: No OFD packet to send [20:23:25]OFD Sender: No OFD packet to send [20:23:30]OFD Sender: No OFD packet to send [20:23:35]OFD Sender: No OFD packet to send [20:23:40]OFD Sender: No OFD packet to send [20:23:45]OFD Sender: No OFD packet to send [20:23:50]OFD Sender: No OFD packet to send [20:23:55]OFD Sender: No OFD packet to send [20:24:00]OFD Sender: No OFD packet to send [20:24:05]OFD Sender: No OFD packet to send [20:24:10]OFD Sender: No OFD packet to send [20:24:15]OFD Sender: No OFD packet to send [20:24:20]OFD Sender: No OFD packet to send [20:24:25]OFD Sender: No OFD packet to send [20:24:30]OFD Sender: No OFD packet to send [20:24:35]OFD Sender: No OFD packet to send [20:24:40]OFD Sender: No OFD packet to send [20:24:45]OFD Sender: No OFD packet to send [20:24:50]OFD Sender: No OFD packet to send [20:24:55]OFD Sender: No OFD packet to send [20:25:00]OFD Sender: No OFD packet to send [20:25:05]OFD Sender: No OFD packet to send [20:25:10]OFD Sender: No OFD packet to send [20:25:15]OFD Sender: No OFD packet to send [20:25:20]OFD Sender: No OFD packet to send [20:25:25]OFD Sender: No OFD packet to send [20:25:30]OFD Sender: No OFD packet to send [20:25:35]OFD Sender: No OFD packet to send [20:25:40]OFD Sender: No OFD packet to send [20:25:45]OFD Sender: No OFD packet to send [20:25:50]OFD Sender: No OFD packet to send [20:25:55]OFD Sender: No OFD packet to send [20:26:00]OFD Sender: No OFD packet to send [20:26:05]OFD Sender: No OFD packet to send [20:26:10]OFD Sender: No OFD packet to send [20:26:15]OFD Sender: No OFD packet to send [20:26:20]OFD Sender: No OFD packet to send [20:26:25]OFD Sender: No OFD packet to send [20:26:30]OFD Sender: No OFD packet to send [20:26:35]OFD Sender: No OFD packet to send [20:26:40]OFD Sender: No OFD packet to send [20:26:45]OFD Sender: No OFD packet to send [20:26:50]OFD Sender: No OFD packet to send [20:26:55]OFD Sender: No OFD packet to send [20:27:00]OFD Sender: No OFD packet to send [20:27:05]OFD Sender: No OFD packet to send [20:27:10]OFD Sender: No OFD packet to send [20:27:15]OFD Sender: No OFD packet to send [20:27:20]OFD Sender: No OFD packet to send [20:27:25]OFD Sender: No OFD packet to send [20:27:30]OFD Sender: No OFD packet to send [20:27:35]OFD Sender: No OFD packet to send [20:27:40]OFD Sender: No OFD packet to send [20:27:45]OFD Sender: No OFD packet to send [20:27:50]OFD Sender: No OFD packet to send [20:27:55]OFD Sender: No OFD packet to send [20:28:00]OFD Sender: No OFD packet to send [20:28:05]OFD Sender: No OFD packet to send [20:28:10]OFD Sender: No OFD packet to send [20:28:15]OFD Sender: No OFD packet to send [20:28:20]OFD Sender: No OFD packet to send [20:28:25]OFD Sender: No OFD packet to send [20:28:30]OFD Sender: No OFD packet to send [20:28:35]OFD Sender: No OFD packet to send [20:28:40]OFD Sender: No OFD packet to send [20:28:45]OFD Sender: No OFD packet to send [20:28:50]OFD Sender: No OFD packet to send [20:28:55]OFD Sender: No OFD packet to send [20:29:00]OFD Sender: No OFD packet to send [20:29:05]OFD Sender: No OFD packet to send [20:29:10]OFD Sender: No OFD packet to send [20:29:15]OFD Sender: No OFD packet to send [20:29:20]OFD Sender: No OFD packet to send [20:29:25]OFD Sender: No OFD packet to send [20:29:30]OFD Sender: No OFD packet to send [20:29:35]OFD Sender: No OFD packet to send [20:29:40]OFD Sender: No OFD packet to send [20:29:45]OFD Sender: No OFD packet to send [20:29:50]OFD Sender: No OFD packet to send [20:29:55]OFD Sender: No OFD packet to send [20:30:00]OFD Sender: No OFD packet to send [20:30:05]OFD Sender: No OFD packet to send [20:30:10]OFD Sender: No OFD packet to send [20:30:15]OFD Sender: No OFD packet to send [20:30:20]OFD Sender: No OFD packet to send [20:30:25]OFD Sender: No OFD packet to send [20:30:30]OFD Sender: No OFD packet to send [20:30:35]OFD Sender: No OFD packet to send [20:30:40]OFD Sender: No OFD packet to send [20:30:45]OFD Sender: No OFD packet to send [20:30:50]OFD Sender: No OFD packet to send [20:30:55]OFD Sender: No OFD packet to send [20:31:00]OFD Sender: No OFD packet to send [20:31:05]OFD Sender: No OFD packet to send [20:31:10]OFD Sender: No OFD packet to send [20:31:15]OFD Sender: No OFD packet to send [20:31:20]OFD Sender: No OFD packet to send [20:31:25]OFD Sender: No OFD packet to send [20:31:30]OFD Sender: No OFD packet to send [20:31:35]OFD Sender: No OFD packet to send [20:31:40]OFD Sender: No OFD packet to send [20:31:45]OFD Sender: No OFD packet to send [20:31:50]OFD Sender: No OFD packet to send [20:31:55]OFD Sender: No OFD packet to send [20:32:00]OFD Sender: No OFD packet to send [20:32:05]OFD Sender: No OFD packet to send [20:32:10]OFD Sender: No OFD packet to send [20:32:15]OFD Sender: No OFD packet to send [20:32:20]OFD Sender: No OFD packet to send [20:32:25]OFD Sender: No OFD packet to send [20:32:30]OFD Sender: No OFD packet to send [20:32:35]OFD Sender: No OFD packet to send [20:32:40]OFD Sender: No OFD packet to send [20:32:45]OFD Sender: No OFD packet to send [20:32:50]OFD Sender: No OFD packet to send [20:32:55]OFD Sender: No OFD packet to send [20:33:00]OFD Sender: No OFD packet to send [20:33:05]OFD Sender: No OFD packet to send [20:33:10]OFD Sender: No OFD packet to send [20:33:15]OFD Sender: No OFD packet to send [20:33:20]OFD Sender: No OFD packet to send [20:33:25]OFD Sender: No OFD packet to send [20:33:30]OFD Sender: No OFD packet to send [20:33:35]OFD Sender: No OFD packet to send [20:33:40]OFD Sender: No OFD packet to send [20:33:45]OFD Sender: No OFD packet to send [20:33:50]OFD Sender: No OFD packet to send [20:33:55]OFD Sender: No OFD packet to send [20:34:00]OFD Sender: No OFD packet to send [20:34:05]OFD Sender: No OFD packet to send [20:34:10]OFD Sender: No OFD packet to send [20:34:15]OFD Sender: No OFD packet to send [20:34:20]OFD Sender: No OFD packet to send [20:34:25]OFD Sender: No OFD packet to send [20:34:30]OFD Sender: No OFD packet to send [20:34:35]OFD Sender: No OFD packet to send [20:34:40]OFD Sender: No OFD packet to send [20:34:45]OFD Sender: No OFD packet to send [20:34:50]OFD Sender: No OFD packet to send [20:34:55]OFD Sender: No OFD packet to send [20:35:00]OFD Sender: No OFD packet to send [20:35:05]OFD Sender: No OFD packet to send [20:35:10]OFD Sender: No OFD packet to send [20:35:15]OFD Sender: No OFD packet to send [20:35:20]OFD Sender: No OFD packet to send [20:35:25]OFD Sender: No OFD packet to send [20:35:30]OFD Sender: No OFD packet to send [20:35:35]OFD Sender: No OFD packet to send [20:35:40]OFD Sender: No OFD packet to send [20:35:45]OFD Sender: No OFD packet to send [20:35:50]OFD Sender: No OFD packet to send [20:35:55]OFD Sender: No OFD packet to send [20:36:00]OFD Sender: No OFD packet to send [20:36:05]OFD Sender: No OFD packet to send [20:36:10]OFD Sender: No OFD packet to send [20:36:15]OFD Sender: No OFD packet to send [20:36:20]OFD Sender: No OFD packet to send [20:36:25]OFD Sender: No OFD packet to send [20:36:30]OFD Sender: No OFD packet to send [20:36:35]OFD Sender: No OFD packet to send [20:36:40]OFD Sender: No OFD packet to send [20:36:45]OFD Sender: No OFD packet to send [20:36:50]OFD Sender: No OFD packet to send [20:36:55]OFD Sender: No OFD packet to send [20:37:00]OFD Sender: No OFD packet to send [20:37:05]OFD Sender: No OFD packet to send [20:37:10]OFD Sender: No OFD packet to send [20:37:15]OFD Sender: No OFD packet to send [20:37:20]OFD Sender: No OFD packet to send [20:37:25]OFD Sender: No OFD packet to send [20:37:30]OFD Sender: No OFD packet to send [20:37:35]OFD Sender: No OFD packet to send [20:37:40]OFD Sender: No OFD packet to send [20:37:45]OFD Sender: No OFD packet to send [20:37:50]OFD Sender: No OFD packet to send [20:37:55]OFD Sender: No OFD packet to send [20:38:00]OFD Sender: No OFD packet to send [20:38:05]OFD Sender: No OFD packet to send [20:38:10]OFD Sender: No OFD packet to send [20:38:16]OFD Sender: No OFD packet to send [20:38:21]OFD Sender: No OFD packet to send [20:38:26]OFD Sender: No OFD packet to send [20:38:31]OFD Sender: No OFD packet to send [20:38:36]OFD Sender: No OFD packet to send [20:38:41]OFD Sender: No OFD packet to send [20:38:46]OFD Sender: No OFD packet to send [20:38:51]OFD Sender: No OFD packet to send [20:38:56]OFD Sender: No OFD packet to send [20:39:01]OFD Sender: No OFD packet to send [20:39:06]OFD Sender: No OFD packet to send [20:39:11]OFD Sender: No OFD packet to send [20:39:16]OFD Sender: No OFD packet to send [20:39:21]OFD Sender: No OFD packet to send [20:39:26]OFD Sender: No OFD packet to send [20:39:31]OFD Sender: No OFD packet to send [20:39:36]OFD Sender: No OFD packet to send [20:39:41]OFD Sender: No OFD packet to send [20:39:46]OFD Sender: No OFD packet to send [20:39:51]OFD Sender: No OFD packet to send [20:39:56]OFD Sender: No OFD packet to send [20:40:01]OFD Sender: No OFD packet to send [20:40:06]OFD Sender: No OFD packet to send [20:40:11]OFD Sender: No OFD packet to send [20:40:16]OFD Sender: No OFD packet to send [20:40:21]OFD Sender: No OFD packet to send [20:40:26]OFD Sender: No OFD packet to send [20:40:31]OFD Sender: No OFD packet to send [20:40:36]OFD Sender: No OFD packet to send [20:40:41]OFD Sender: No OFD packet to send [20:40:46]OFD Sender: No OFD packet to send [20:40:51]OFD Sender: No OFD packet to send [20:40:56]OFD Sender: No OFD packet to send [20:41:01]OFD Sender: No OFD packet to send [20:41:06]OFD Sender: No OFD packet to send [20:41:11]OFD Sender: No OFD packet to send [20:41:16]OFD Sender: No OFD packet to send [20:41:21]OFD Sender: No OFD packet to send [20:41:26]OFD Sender: No OFD packet to send [20:41:31]OFD Sender: No OFD packet to send [20:41:36]OFD Sender: No OFD packet to send [20:41:41]accept exits with 9 [20:41:41]New connection [20:41:41]New thread 3067297124 created [20:41:41]Thread 3067440484 joined [20:41:41]Waiting for new connection... [20:41:41] Sock 9.Parse request [20:41:41]Sock 9.Check first char [20:41:41]Sock 9.First char is OK [20:41:41]request: POST /json_proto HTTP/1.0 [20:41:41]Method: POST [20:41:41]URL: /json_proto [20:41:41]Method is POST - this is cgi request [20:41:41]url: /json_proto [20:41:41]query_string will be loaded in cgi processing [20:41:41]execute_cgi json_proto POST (null) [20:41:41]execute_cgi path=json_proto method=POST [20:41:41]POST find Content-Length [20:41:41]Host: 172.17.40.196:8080 [20:41:41]Content-Length: 672 [20:41:41]Content-Type: application/json [20:41:41] [20:41:41]POST finish read [20:41:41]Found Content-Length = 672 [20:41:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35129", "tax_sys" : 0, "items" : [ { "code": "4700041420084", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST ANTIBACTERIAL 100 \u0448\u0442", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:41:41]execute_script... [20:41:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35129", "tax_sys" : 0, "items" : [ { "code": "4700041420084", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST ANTIBACTERIAL 100 \u0448\u0442", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:41:41]POST & json_proto [20:41:41]process_json_proto [20:41:41]json parsed OK: [20:41:41]protocol is kg_v1.0 [20:41:41]action value=close_receipt [20:41:41]process_action close_receipt [20:41:41]cmd_close_receipt [20:41:41]MH_GetDate [20:41:41]Write to MH i2c: F0 00 00 D0 2B EA [20:41:41]Write i2c OK [20:41:41]MH_I2C_Read... [20:41:41]Read from MH i2c: F0 [20:41:41]MH_I2C_Read... [20:41:41]Read from MH i2c: F0 09 00 [20:41:41]MH_I2C_Read... [20:41:41]Read from MH i2c: F0 09 00 D0 2B 00 0E F7 1F 67 5B 68 A1 66 48 [20:41:41]GetLastDocTimeStamp 1730146325 [20:41:41]current date 1730148110 [20:41:41]FM_GetShiftState [20:41:41]SAM_PROTO_GetShiftState [20:41:41]wFMCommunicate request_size=4 [20:41:41]MH_SAM_APDU [20:41:41]CAPDU: 80 13 01 00 [20:41:41]Write to MH i2c: E2 08 00 D1 2B 80 13 01 00 00 00 00 00 79 [20:41:41]Write i2c OK [20:41:41]MH_I2C_Read... [20:41:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:41:41]Read from MH i2c: E2 [20:41:41]MH_I2C_Read... [20:41:41]Read from MH i2c: E2 0E 00 [20:41:41]MH_I2C_Read... [20:41:41]Read from MH i2c: E2 0E 00 D1 2B 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 FB [20:41:41]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [20:41:41]wFMCommunicate OK [20:41:41]SAM_PROTO_GetShiftState done [20:41:41]FM_GetShiftState done [20:41:41]opened in 1730073884 [20:41:41]opened+sec_in_day 1730160284 [20:41:41]quantity*price = 13400 [20:41:41]sum+1 = 13401 [20:41:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 НСП 1% : 1.19 НДС 12% : 14.23 Наличными: 134.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 73 28.10.2024 20:41 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37830 ФПД: 234006997305312 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T204150&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37830&fm=234006997305312&tin=02508201610067®Number=0000000000091684&sum=13400 0 [20:41:42]StoreToDocumentArchive [20:41:42]shift 551 fd 37830 [20:41:42]save to /storage/0551/doc_00037830 [20:41:42]save last doc name /storage/0551/doc_00037830 to /storage/kkm_last_doc_name [20:41:42]save OK [20:41:42]Clear old archive folders... [20:41:42]ProcessDocumentItem done err = 0, tmpTLVsize=297 [20:41:42]tlvbuf is 0025B640 [20:41:42]SAM_PROTO_ClearQueue [20:41:42]wFMCommunicate request_size=4 [20:41:42]MH_SAM_APDU [20:41:42]CAPDU: 80 09 00 00 [20:41:42]Write to MH i2c: E2 08 00 DE 2B 80 09 00 00 00 00 00 00 7B [20:41:42]Write i2c OK [20:41:42]MH_I2C_Read... [20:41:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:41:42]Read from MH i2c: E2 [20:41:42]MH_I2C_Read... [20:41:42]Read from MH i2c: E2 03 00 [20:41:42]MH_I2C_Read... [20:41:42]Read from MH i2c: E2 03 00 DE 2B 00 90 00 7D [20:41:42]RAPDU: 90 00 [20:41:42]wFMCommunicate OK [20:41:42]SAM_PROTO_ClearQueue done [20:41:42]KKMCreateOFDPacket [20:41:42]OFDProtocolAddRootSTLVToBuf [20:41:42]FM_MakeSignedData [20:41:42]FM_MakeSignedData [20:41:42]SAM_PROTO_SignData [20:41:42]wFMCommunicate request_size=4 [20:41:42]MH_SAM_APDU [20:41:42]CAPDU: 80 0D 01 02 [20:41:42]Write to MH i2c: E2 08 00 DF 2B 80 0D 01 02 00 00 00 00 83 [20:41:42]Write i2c OK [20:41:42]MH_I2C_Read... [20:41:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:41:42]Read from MH i2c: E2 [20:41:42]MH_I2C_Read... [20:41:42]Read from MH i2c: E2 03 00 [20:41:42]MH_I2C_Read... [20:41:42]Read from MH i2c: E2 03 00 DF 2B 00 90 00 7E [20:41:42]RAPDU: 90 00 [20:41:42]wFMCommunicate OK [20:41:42]wFMCommunicate request_size=255 [20:41:42]MH_SAM_APDU [20:41:42]CAPDU: 80 0D 02 02 FA 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 30 38 34 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 41 4E 54 49 42 41 43 54 45 52 49 41 4C 20 31 30 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 0E F7 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 [20:41:42]Write to MH i2c: E2 02 01 E0 2B 80 0D 02 02 FA 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 30 38 34 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 41 4E 54 49 42 41 43 54 45 52 49 41 4C 20 31 30 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 0E F7 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 00 00 53 [20:41:42]Write i2c OK [20:41:42]MH_I2C_Read... [20:41:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:41:42]Read from MH i2c: E2 [20:41:42]MH_I2C_Read... [20:41:42]Read from MH i2c: E2 03 00 [20:41:42]MH_I2C_Read... [20:41:42]Read from MH i2c: E2 03 00 E0 2B 00 90 00 7F [20:41:42]RAPDU: 90 00 [20:41:42]wFMCommunicate OK [20:41:42]wFMCommunicate request_size=56 [20:41:42]MH_SAM_APDU [20:41:42]CAPDU: 80 0D 02 02 33 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C6 93 00 00 35 04 06 00 D4 D3 FF F3 07 E0 [20:41:42]Write to MH i2c: E2 3B 00 E1 2B 80 0D 02 02 33 00 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C6 93 00 00 35 04 06 00 D4 D3 FF F3 07 E0 00 00 EA [20:41:42]Write i2c OK [20:41:42]MH_I2C_Read... [20:41:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:41:42]Read from MH i2c: E2 [20:41:42]MH_I2C_Read... [20:41:42]Read from MH i2c: E2 03 00 [20:41:42]MH_I2C_Read... [20:41:42]Read from MH i2c: E2 03 00 E1 2B 00 90 00 80 [20:41:42]RAPDU: 90 00 [20:41:42]wFMCommunicate OK [20:41:42]wFMCommunicate request_size=4 [20:41:42]MH_SAM_APDU [20:41:42]CAPDU: 80 0D 03 02 [20:41:42]Write to MH i2c: E2 08 00 E2 2B 80 0D 03 02 00 00 00 00 88 [20:41:42]Write i2c OK [20:41:42]MH_I2C_Read... [20:41:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:41:42]Read from MH i2c: E2 [20:41:42]MH_I2C_Read... [20:41:42]Read from MH i2c: E2 0B 00 [20:41:42]MH_I2C_Read... [20:41:42]Read from MH i2c: E2 0B 00 E2 2B 00 7A C9 D4 D2 84 A1 0F 6C 90 00 12 [20:41:42]RAPDU: 7A C9 D4 D2 84 A1 0F 6C 90 00 [20:41:42]wFMCommunicate OK [20:41:42]SAM_PROTO_SignData done [20:41:42]FM_MakeSignedData done [20:41:42]CreateOFDProtocolMessage [20:41:42]wFMCommunicate request_size=4 [20:41:42]MH_SAM_APDU [20:41:42]CAPDU: 80 11 00 00 [20:41:42]Write to MH i2c: E2 08 00 E3 2B 80 11 00 00 00 00 00 00 88 [20:41:42]Write i2c OK [20:41:42]MH_I2C_Read... [20:41:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:41:42]Read from MH i2c: E2 [20:41:42]MH_I2C_Read... [20:41:42]Read from MH i2c: E2 17 00 [20:41:42]MH_I2C_Read... [20:41:42]Read from MH i2c: E2 17 00 E3 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D8 [20:41:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [20:41:42]wFMCommunicate OK [20:41:42]CreateOFDProtocolMessage done [20:41:42]OFDSenderStorePacket 37830 [20:41:42]StoreOFDPacket docnum=37830 [20:41:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3D 01 00 00 A0 B9 35 01 75 87 5A 03 01 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 30 38 34 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 41 4E 54 49 42 41 43 54 45 52 49 41 4C 20 31 30 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 0E F7 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C6 93 00 00 35 04 06 00 D4 D3 FF F3 07 E0 7A C9 D4 D2 84 A1 0F 6C [20:41:42]CheckFolder [20:41:42]dirname=/storage/ofd_packets [20:41:42]CheckFolder done [20:41:42]ProducePacketName [20:41:42]name=ofd_packets/00037830 [20:41:42]NVStorageSaveData ofd_packets/00037830 [20:41:42]File name is /storage/ofd_packets/00037830 [20:41:42]Write 347 bytes [20:41:42]NVStorageSaveData done [20:41:42]OFDSenderStorePacket done [20:41:42]KKMCreateOFDPacket done [20:41:42]NVStorageSaveData kkm_last_timestamp [20:41:42]File name is /storage/kkm_last_timestamp [20:41:42]Write 4 bytes [20:41:42]NVStorageSaveData done [20:41:42]ExternCall_PrintAddStr [20:41:42]wPrintStart [20:41:42]Write to MH i2c: 01 00 00 E4 2B 0F [20:41:42]Write i2c OK [20:41:42]MH_I2C_Read... [20:41:42]Read from MH i2c: 01 [20:41:42]MH_I2C_Read... [20:41:42]Read from MH i2c: 01 07 00 [20:41:42]MH_I2C_Read... [20:41:42]Read from MH i2c: 01 07 00 E4 2B 00 00 00 00 00 FF 0F 24 [20:41:42]RasterBufferAndPrint [20:41:42]line Счет N : (3)35129 [20:41:42]line ИНН: 02508201610067 [20:41:42]line Контрольно-Кассовый Чек [20:41:42]line ПРОДАЖА [20:41:42]line Товар: 4700041420084 [20:41:42]line Салфетки влажн BEST ANTIBACTERIAL 100 шт [20:41:42]line 1.000 * 134.00 [20:41:42]line = 134.00 [20:41:42]line НДС 12% НСП 1% [20:41:42]line > о реализуемом товаре [20:41:42]line ИТОГО: 134.00 [20:41:42]line НСП 1% : 1.19 [20:41:42]line НДС 12% : 14.23 [20:41:42]line Наличными: 134.00 [20:41:42]line Безнал.: 0.00 [20:41:42]line Место: АЗС № 126 "Партнер Нефть" [20:41:42]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [20:41:42]line СНО: Общий режим [20:41:42]line Чек 73 28.10.2024 20:41 [20:41:42]line Смена: 551 ФФД: 1.0 [20:41:42]line ЗНМ: 0300000092 [20:41:42]line РНМ: 0000000000091684 [20:41:42]line Версия ККМ: 001 [20:41:42]line ФМ: 0000000000871841 [20:41:42]line ФД: 37830 [20:41:42]line ФПД: 234006997305312 [20:41:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T204150&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37830&fm=234006997305312&tin=02508201610067®Number=0000000000091684&sum=13400 [20:41:43]OFD Sender: Processing packet 37830 [packets to send 42, broken 41] [20:41:43]ProducePacketName [20:41:43]name=ofd_packets/00037830 [20:41:43]OFD Sender: To server: pG, [20:41:43]CommunicateWithHost lk.salyk.kg:30040 [20:41:43]ConnectInit lk.salyk.kg [20:41:43]line 0 [20:41:43]written 0, free lines is 4095 [20:41:43]Connected sock=10 [20:41:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3D 01 00 00 A0 B9 35 01 75 87 5A 03 01 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 30 38 34 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 41 4E 54 49 42 41 43 54 45 52 49 41 4C 20 31 30 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 0E F7 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C6 93 00 00 35 04 06 00 D4 D3 FF F3 07 E0 7A C9 D4 D2 84 A1 0F 6C [20:41:43]Write to MH i2c: 01 00 00 0D 2C 39 [20:41:43]Write i2c OK [20:41:43]MH_I2C_Read... [20:41:43]Read from MH i2c: 01 [20:41:43]MH_I2C_Read... [20:41:43]Read from MH i2c: 01 07 00 [20:41:43]MH_I2C_Read... [20:41:43]Read from MH i2c: 01 07 00 0D 2C 00 00 00 00 00 BC 0C 08 [20:41:43]RasterBufferAndPrint [20:41:43]line [20:41:43]line [20:41:43]line [20:41:43]line [20:41:43]line [20:41:43]written 0, free lines is 3266 [20:41:43]MH_Cut [20:41:43]Write to MH i2c: D1 01 00 14 2C 01 12 [20:41:43]Write i2c OK [20:41:43]MH_I2C_Read... [20:41:43]Read from MH i2c: D1 [20:41:43]MH_I2C_Read... [20:41:43]Read from MH i2c: D1 01 00 [20:41:43]MH_I2C_Read... [20:41:43]Read from MH i2c: D1 01 00 14 2C 00 11 [20:41:43]Write to MH i2c: 01 00 00 15 2C 41 [20:41:43]Write i2c OK [20:41:43]MH_I2C_Read... [20:41:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 11 48 47 00 10 5B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 C6 93 00 00 F4 03 04 00 02 A2 1F 67 B6 04 01 00 00 C8 B4 01 C3 DB D0 9B 4B [20:41:43]CommunicateWithHost err = 0 [20:41:43]CheckOFDResponse [20:41:43]1017 (14) - 77093643461234 [20:41:43]1041 (16) - 0000000000871841 [20:41:43]1040 (4) - 37830 [20:41:43]1012 (4) - 28.10.2024 14:38 [20:41:43]1206 (1) - 0 [20:41:43]OFD Sender: Remove packet 37830 [20:41:43]ProducePacketName [20:41:43]name=ofd_packets/00037830 [20:41:43]NVStorageDeleteData [20:41:44]OFD Sender: No OFD packet to send [20:41:44]*** Cut start [20:41:44]*** Partial cut [20:41:44]*** CUTSNS_PIN = 1 [20:41:44]*** CUTSNS_PIN = 0 [20:41:44]*** Brake cut motor [20:41:45]Read from MH i2c: 01 [20:41:45]MH_I2C_Read... [20:41:45]*** Stop cut motor [20:41:45]*** Cut end [20:41:45]Read from MH i2c: 01 07 00 [20:41:45]MH_I2C_Read... [20:41:45]Read from MH i2c: 01 07 00 15 2C 00 00 00 00 00 FF 0F 56 [20:41:45]process_action close_receipt done [20:41:45]requested_data is exist [20:41:45]produce_requested_data [20:41:45]requested_item fm.sn is exist - process it [20:41:45]wFMCommunicate request_size=4 [20:41:45]MH_SAM_APDU [20:41:45]CAPDU: 80 11 00 00 [20:41:45]Write to MH i2c: E2 08 00 16 2C 80 11 00 00 00 00 00 00 BC [20:41:45]Write i2c OK [20:41:45]MH_I2C_Read... [20:41:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:41:45]Read from MH i2c: E2 [20:41:45]MH_I2C_Read... [20:41:45]Read from MH i2c: E2 17 00 [20:41:45]MH_I2C_Read... [20:41:45]Read from MH i2c: E2 17 00 16 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 0C [20:41:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [20:41:45]wFMCommunicate OK [20:41:45]requested_item fd.num is exist - process it [20:41:45]SAM_PROTO_GetFieldsCounters [20:41:45]wFMCommunicate request_size=4 [20:41:45]MH_SAM_APDU [20:41:45]CAPDU: 80 13 00 00 [20:41:45]Write to MH i2c: E2 08 00 17 2C 80 13 00 00 00 00 00 00 BF [20:41:45]Write i2c OK [20:41:45]MH_I2C_Read... [20:41:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:41:45]Read from MH i2c: E2 [20:41:45]MH_I2C_Read... [20:41:45]Read from MH i2c: E2 62 00 [20:41:45]MH_I2C_Read... [20:41:45]Read from MH i2c: E2 62 00 17 2C 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 C6 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 3D [20:41:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 C6 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:41:45]wFMCommunicate OK [20:41:45]SAM_PROTO_GetFieldsCounters done [20:41:45]requested_item shift.num is exist - process it [20:41:45]requested_item shift.opened is exist - process it [20:41:45]req_shift_opened [20:41:45]FM_GetShiftState [20:41:45]SAM_PROTO_GetShiftState [20:41:45]wFMCommunicate request_size=4 [20:41:45]MH_SAM_APDU [20:41:45]CAPDU: 80 13 01 00 [20:41:45]Write to MH i2c: E2 08 00 18 2C 80 13 01 00 00 00 00 00 C1 [20:41:45]Write i2c OK [20:41:45]MH_I2C_Read... [20:41:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:41:45]Read from MH i2c: E2 [20:41:45]MH_I2C_Read... [20:41:45]Read from MH i2c: E2 0E 00 [20:41:45]MH_I2C_Read... [20:41:45]Read from MH i2c: E2 0E 00 18 2C 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 43 [20:41:45]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [20:41:45]wFMCommunicate OK [20:41:45]SAM_PROTO_GetShiftState done [20:41:45]FM_GetShiftState done [20:41:45]req_shift_opened done [20:41:45]requested_item shift.open_date is exist - process it [20:41:45]req_shift_open_date [20:41:45]req_shift_open_date done [20:41:45]produce_requested_data done [20:41:45]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37830,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [20:41:45]process_action_free close_receipt [20:41:45]json_value_free [20:41:45]json_value_free done [20:41:45]process_json_proto returns [20:41:45]Send response to host [20:41:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37830,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [20:41:45]free response buf [20:41:45]execute_script done [20:41:45]execute_script returns [20:41:45]free content buf [20:41:45]Sock 9.Close socket [20:41:45]Sock 9.Thread stoped [20:41:49]OFD Sender: No OFD packet to send [20:41:54]OFD Sender: No OFD packet to send [20:41:59]OFD Sender: No OFD packet to send [20:42:04]OFD Sender: No OFD packet to send [20:42:09]OFD Sender: No OFD packet to send [20:42:14]OFD Sender: No OFD packet to send [20:42:19]OFD Sender: No OFD packet to send [20:42:24]OFD Sender: No OFD packet to send [20:42:29]OFD Sender: No OFD packet to send [20:42:34]OFD Sender: No OFD packet to send [20:42:39]OFD Sender: No OFD packet to send [20:42:44]OFD Sender: No OFD packet to send [20:42:49]OFD Sender: No OFD packet to send [20:42:54]OFD Sender: No OFD packet to send [20:42:59]OFD Sender: No OFD packet to send [20:43:04]OFD Sender: No OFD packet to send [20:43:09]OFD Sender: No OFD packet to send [20:43:14]OFD Sender: No OFD packet to send [20:43:19]OFD Sender: No OFD packet to send [20:43:24]OFD Sender: No OFD packet to send [20:43:29]OFD Sender: No OFD packet to send [20:43:34]OFD Sender: No OFD packet to send [20:43:39]OFD Sender: No OFD packet to send [20:43:44]OFD Sender: No OFD packet to send [20:43:49]OFD Sender: No OFD packet to send [20:43:54]OFD Sender: No OFD packet to send [20:43:59]OFD Sender: No OFD packet to send [20:44:04]OFD Sender: No OFD packet to send [20:44:09]OFD Sender: No OFD packet to send [20:44:14]OFD Sender: No OFD packet to send [20:44:19]OFD Sender: No OFD packet to send [20:44:24]OFD Sender: No OFD packet to send [20:44:29]OFD Sender: No OFD packet to send [20:44:34]OFD Sender: No OFD packet to send [20:44:39]OFD Sender: No OFD packet to send [20:44:44]OFD Sender: No OFD packet to send [20:44:49]OFD Sender: No OFD packet to send [20:44:54]OFD Sender: No OFD packet to send [20:44:59]OFD Sender: No OFD packet to send [20:45:04]OFD Sender: No OFD packet to send [20:45:09]OFD Sender: No OFD packet to send [20:45:14]OFD Sender: No OFD packet to send [20:45:19]OFD Sender: No OFD packet to send [20:45:24]OFD Sender: No OFD packet to send [20:45:29]OFD Sender: No OFD packet to send [20:45:34]OFD Sender: No OFD packet to send [20:45:39]OFD Sender: No OFD packet to send [20:45:44]OFD Sender: No OFD packet to send [20:45:49]OFD Sender: No OFD packet to send [20:45:54]OFD Sender: No OFD packet to send [20:45:59]OFD Sender: No OFD packet to send [20:46:04]OFD Sender: No OFD packet to send [20:46:09]OFD Sender: No OFD packet to send [20:46:14]OFD Sender: No OFD packet to send [20:46:19]OFD Sender: No OFD packet to send [20:46:24]OFD Sender: No OFD packet to send [20:46:29]OFD Sender: No OFD packet to send [20:46:34]OFD Sender: No OFD packet to send [20:46:39]OFD Sender: No OFD packet to send [20:46:44]OFD Sender: No OFD packet to send [20:46:49]OFD Sender: No OFD packet to send [20:46:54]OFD Sender: No OFD packet to send [20:46:59]OFD Sender: No OFD packet to send [20:47:04]OFD Sender: No OFD packet to send [20:47:09]OFD Sender: No OFD packet to send [20:47:14]OFD Sender: No OFD packet to send [20:47:19]OFD Sender: No OFD packet to send [20:47:24]OFD Sender: No OFD packet to send [20:47:29]OFD Sender: No OFD packet to send [20:47:34]OFD Sender: No OFD packet to send [20:47:39]OFD Sender: No OFD packet to send [20:47:44]OFD Sender: No OFD packet to send [20:47:49]OFD Sender: No OFD packet to send [20:47:54]OFD Sender: No OFD packet to send [20:47:59]OFD Sender: No OFD packet to send [20:48:04]OFD Sender: No OFD packet to send [20:48:09]OFD Sender: No OFD packet to send [20:48:14]OFD Sender: No OFD packet to send [20:48:19]OFD Sender: No OFD packet to send [20:48:24]OFD Sender: No OFD packet to send [20:48:29]OFD Sender: No OFD packet to send [20:48:34]OFD Sender: No OFD packet to send [20:48:39]OFD Sender: No OFD packet to send [20:48:44]OFD Sender: No OFD packet to send [20:48:49]OFD Sender: No OFD packet to send [20:48:54]OFD Sender: No OFD packet to send [20:48:59]OFD Sender: No OFD packet to send [20:49:04]OFD Sender: No OFD packet to send [20:49:09]OFD Sender: No OFD packet to send [20:49:14]OFD Sender: No OFD packet to send [20:49:19]OFD Sender: No OFD packet to send [20:49:24]OFD Sender: No OFD packet to send [20:49:29]OFD Sender: No OFD packet to send [20:49:34]OFD Sender: No OFD packet to send [20:49:39]OFD Sender: No OFD packet to send [20:49:44]OFD Sender: No OFD packet to send [20:49:49]OFD Sender: No OFD packet to send [20:49:54]OFD Sender: No OFD packet to send [20:49:59]OFD Sender: No OFD packet to send [20:50:04]OFD Sender: No OFD packet to send [20:50:09]OFD Sender: No OFD packet to send [20:50:14]OFD Sender: No OFD packet to send [20:50:19]OFD Sender: No OFD packet to send [20:50:24]OFD Sender: No OFD packet to send [20:50:29]OFD Sender: No OFD packet to send [20:50:34]OFD Sender: No OFD packet to send [20:50:39]OFD Sender: No OFD packet to send [20:50:44]OFD Sender: No OFD packet to send [20:50:49]OFD Sender: No OFD packet to send [20:50:54]OFD Sender: No OFD packet to send [20:50:59]OFD Sender: No OFD packet to send [20:51:04]OFD Sender: No OFD packet to send [20:51:09]OFD Sender: No OFD packet to send [20:51:14]OFD Sender: No OFD packet to send [20:51:19]OFD Sender: No OFD packet to send [20:51:24]OFD Sender: No OFD packet to send [20:51:29]OFD Sender: No OFD packet to send [20:51:34]OFD Sender: No OFD packet to send [20:51:39]OFD Sender: No OFD packet to send [20:51:44]OFD Sender: No OFD packet to send [20:51:49]OFD Sender: No OFD packet to send [20:51:54]OFD Sender: No OFD packet to send [20:51:59]OFD Sender: No OFD packet to send [20:52:04]OFD Sender: No OFD packet to send [20:52:09]OFD Sender: No OFD packet to send [20:52:14]OFD Sender: No OFD packet to send [20:52:19]OFD Sender: No OFD packet to send [20:52:24]OFD Sender: No OFD packet to send [20:52:29]OFD Sender: No OFD packet to send [20:52:34]OFD Sender: No OFD packet to send [20:52:39]OFD Sender: No OFD packet to send [20:52:44]OFD Sender: No OFD packet to send [20:52:49]OFD Sender: No OFD packet to send [20:52:54]OFD Sender: No OFD packet to send [20:52:59]OFD Sender: No OFD packet to send [20:53:04]OFD Sender: No OFD packet to send [20:53:09]OFD Sender: No OFD packet to send [20:53:14]OFD Sender: No OFD packet to send [20:53:19]OFD Sender: No OFD packet to send [20:53:24]OFD Sender: No OFD packet to send [20:53:29]OFD Sender: No OFD packet to send [20:53:34]OFD Sender: No OFD packet to send [20:53:39]OFD Sender: No OFD packet to send [20:53:45]OFD Sender: No OFD packet to send [20:53:50]OFD Sender: No OFD packet to send [20:53:55]OFD Sender: No OFD packet to send [20:54:00]OFD Sender: No OFD packet to send [20:54:01]accept exits with 7 [20:54:01]New connection [20:54:01]New thread 3067440484 created [20:54:01]Thread 3067297124 joined [20:54:01]Waiting for new connection... [20:54:01] Sock 7.Parse request [20:54:01]Sock 7.Check first char [20:54:01]Sock 7.First char is OK [20:54:01]request: POST /json_proto HTTP/1.0 [20:54:01]Method: POST [20:54:01]URL: /json_proto [20:54:01]Method is POST - this is cgi request [20:54:01]url: /json_proto [20:54:01]query_string will be loaded in cgi processing [20:54:01]execute_cgi json_proto POST (null) [20:54:01]execute_cgi path=json_proto method=POST [20:54:01]POST find Content-Length [20:54:01]Host: 172.17.40.196:8080 [20:54:01]Content-Length: 957 [20:54:01]Content-Type: application/json [20:54:01] [20:54:01]POST finish read [20:54:01]Found Content-Length = 957 [20:54:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35130", "tax_sys" : 0, "items" : [ { "code": "4700002082191", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,46\u043B", "price" : 350.00, "quantity" : 1.000, "sum" : 350.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" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 357.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:54:01]execute_script... [20:54:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35130", "tax_sys" : 0, "items" : [ { "code": "4700002082191", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,46\u043B", "price" : 350.00, "quantity" : 1.000, "sum" : 350.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" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 357.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:54:01]POST & json_proto [20:54:01]process_json_proto [20:54:01]json parsed OK: [20:54:01]protocol is kg_v1.0 [20:54:01]action value=close_receipt [20:54:01]process_action close_receipt [20:54:01]cmd_close_receipt [20:54:01]MH_GetDate [20:54:01]Write to MH i2c: F0 00 00 19 2C 34 [20:54:01]Write i2c OK [20:54:01]MH_I2C_Read... [20:54:01]Read from MH i2c: F0 [20:54:01]MH_I2C_Read... [20:54:01]Read from MH i2c: F0 09 00 [20:54:01]MH_I2C_Read... [20:54:01]Read from MH i2c: F0 09 00 19 2C 00 F2 F9 1F 67 5B 68 A1 66 78 [20:54:01]GetLastDocTimeStamp 1730148110 [20:54:01]current date 1730148850 [20:54:01]FM_GetShiftState [20:54:01]SAM_PROTO_GetShiftState [20:54:01]wFMCommunicate request_size=4 [20:54:01]MH_SAM_APDU [20:54:01]CAPDU: 80 13 01 00 [20:54:01]Write to MH i2c: E2 08 00 1A 2C 80 13 01 00 00 00 00 00 C3 [20:54:01]Write i2c OK [20:54:01]MH_I2C_Read... [20:54:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:54:01]Read from MH i2c: E2 [20:54:01]MH_I2C_Read... [20:54:01]Read from MH i2c: E2 0E 00 [20:54:01]MH_I2C_Read... [20:54:01]Read from MH i2c: E2 0E 00 1A 2C 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 45 [20:54:01]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [20:54:01]wFMCommunicate OK [20:54:01]SAM_PROTO_GetShiftState done [20:54:01]FM_GetShiftState done [20:54:01]opened in 1730073884 [20:54:01]opened+sec_in_day 1730160284 [20:54:01]quantity*price = 35000 [20:54:01]sum+1 = 35001 [20:54:01]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 1.000 * 7.00 = 7.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 357.00 НСП 1% : 3.16 НДС 12% : 37.91 Наличными: 357.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 74 28.10.2024 20:54 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37831 ФПД: 161930406235092 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T205410&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37831&fm=161930406235092&tin=02508201610067®Number=0000000000091684&sum=35700 0 [20:54:02]StoreToDocumentArchive [20:54:02]shift 551 fd 37831 [20:54:02]save to /storage/0551/doc_00037831 [20:54:02]save last doc name /storage/0551/doc_00037831 to /storage/kkm_last_doc_name [20:54:02]save OK [20:54:02]Clear old archive folders... [20:54:02]ProcessDocumentItem done err = 0, tmpTLVsize=400 [20:54:02]tlvbuf is B6FCF7A0 [20:54:02]SAM_PROTO_ClearQueue [20:54:02]wFMCommunicate request_size=4 [20:54:02]MH_SAM_APDU [20:54:02]CAPDU: 80 09 00 00 [20:54:02]Write to MH i2c: E2 08 00 27 2C 80 09 00 00 00 00 00 00 C5 [20:54:02]Write i2c OK [20:54:02]MH_I2C_Read... [20:54:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:54:02]Read from MH i2c: E2 [20:54:02]MH_I2C_Read... [20:54:02]Read from MH i2c: E2 03 00 [20:54:02]MH_I2C_Read... [20:54:02]Read from MH i2c: E2 03 00 27 2C 00 90 00 C7 [20:54:02]RAPDU: 90 00 [20:54:02]wFMCommunicate OK [20:54:02]SAM_PROTO_ClearQueue done [20:54:02]KKMCreateOFDPacket [20:54:02]OFDProtocolAddRootSTLVToBuf [20:54:02]FM_MakeSignedData [20:54:02]FM_MakeSignedData [20:54:02]SAM_PROTO_SignData [20:54:02]wFMCommunicate request_size=4 [20:54:02]MH_SAM_APDU [20:54:02]CAPDU: 80 0D 01 02 [20:54:02]Write to MH i2c: E2 08 00 28 2C 80 0D 01 02 00 00 00 00 CD [20:54:02]Write i2c OK [20:54:02]MH_I2C_Read... [20:54:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:54:02]Read from MH i2c: E2 [20:54:02]MH_I2C_Read... [20:54:02]Read from MH i2c: E2 03 00 [20:54:02]MH_I2C_Read... [20:54:02]Read from MH i2c: E2 03 00 28 2C 00 90 00 C8 [20:54:02]RAPDU: 90 00 [20:54:02]wFMCommunicate OK [20:54:02]wFMCommunicate request_size=255 [20:54:02]MH_SAM_APDU [20:54:02]CAPDU: 80 0D 02 02 FA 03 00 90 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 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 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 8B 00 00 00 00 EB [20:54:02]Write to MH i2c: E2 02 01 29 2C 80 0D 02 02 FA 00 03 00 90 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 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 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 8B 00 00 00 00 EB 00 00 D5 [20:54:02]Write i2c OK [20:54:02]MH_I2C_Read... [20:54:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:54:02]Read from MH i2c: E2 [20:54:02]MH_I2C_Read... [20:54:02]Read from MH i2c: E2 03 00 [20:54:02]MH_I2C_Read... [20:54:02]Read from MH i2c: E2 03 00 29 2C 00 90 00 C9 [20:54:02]RAPDU: 90 00 [20:54:02]wFMCommunicate OK [20:54:02]wFMCommunicate request_size=159 [20:54:02]MH_SAM_APDU [20:54:02]CAPDU: 80 0D 02 02 9A 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 0E 00 00 00 00 07 04 06 00 74 8B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 F2 F9 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C7 93 00 00 35 04 06 00 93 46 5C 57 8B D4 [20:54:02]Write to MH i2c: E2 A2 00 2A 2C 80 0D 02 02 9A 00 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 0E 00 00 00 00 07 04 06 00 74 8B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 F2 F9 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C7 93 00 00 35 04 06 00 93 46 5C 57 8B D4 00 00 98 [20:54:02]Write i2c OK [20:54:02]MH_I2C_Read... [20:54:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:54:02]Read from MH i2c: E2 [20:54:02]MH_I2C_Read... [20:54:02]Read from MH i2c: E2 03 00 [20:54:02]MH_I2C_Read... [20:54:02]Read from MH i2c: E2 03 00 2A 2C 00 90 00 CA [20:54:02]RAPDU: 90 00 [20:54:02]wFMCommunicate OK [20:54:02]wFMCommunicate request_size=4 [20:54:02]MH_SAM_APDU [20:54:02]CAPDU: 80 0D 03 02 [20:54:02]Write to MH i2c: E2 08 00 2B 2C 80 0D 03 02 00 00 00 00 D2 [20:54:02]Write i2c OK [20:54:02]MH_I2C_Read... [20:54:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:54:03]Read from MH i2c: E2 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 0B 00 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 0B 00 2B 2C 00 F4 70 7D 99 73 7A 7E A9 90 00 61 [20:54:03]RAPDU: F4 70 7D 99 73 7A 7E A9 90 00 [20:54:03]wFMCommunicate OK [20:54:03]SAM_PROTO_SignData done [20:54:03]FM_MakeSignedData done [20:54:03]CreateOFDProtocolMessage [20:54:03]wFMCommunicate request_size=4 [20:54:03]MH_SAM_APDU [20:54:03]CAPDU: 80 11 00 00 [20:54:03]Write to MH i2c: E2 08 00 2C 2C 80 11 00 00 00 00 00 00 D2 [20:54:03]Write i2c OK [20:54:03]MH_I2C_Read... [20:54:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:54:03]Read from MH i2c: E2 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 17 00 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 17 00 2C 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 22 [20:54:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [20:54:03]wFMCommunicate OK [20:54:03]CreateOFDProtocolMessage done [20:54:03]OFDSenderStorePacket 37831 [20:54:03]StoreOFDPacket docnum=37831 [20:54:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 A4 01 00 00 F1 C3 9C 01 44 FC 5A 03 01 00 03 00 90 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 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 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 8B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 0E 00 00 00 00 07 04 06 00 74 8B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 F2 F9 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C7 93 00 00 35 04 06 00 93 46 5C 57 8B D4 F4 70 7D 99 73 7A 7E A9 [20:54:03]CheckFolder [20:54:03]dirname=/storage/ofd_packets [20:54:03]CheckFolder done [20:54:03]ProducePacketName [20:54:03]name=ofd_packets/00037831 [20:54:03]NVStorageSaveData ofd_packets/00037831 [20:54:03]File name is /storage/ofd_packets/00037831 [20:54:03]Write 450 bytes [20:54:03]NVStorageSaveData done [20:54:03]OFDSenderStorePacket done [20:54:03]KKMCreateOFDPacket done [20:54:03]NVStorageSaveData kkm_last_timestamp [20:54:03]File name is /storage/kkm_last_timestamp [20:54:03]Write 4 bytes [20:54:03]NVStorageSaveData done [20:54:03]ExternCall_PrintAddStr [20:54:03]wPrintStart [20:54:03]Write to MH i2c: 01 00 00 2D 2C 59 [20:54:03]Write i2c OK [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: 01 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: 01 07 00 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: 01 07 00 2D 2C 00 00 00 00 00 FF 0F 6E [20:54:03]RasterBufferAndPrint [20:54:03]line Счет N : (3)35130 [20:54:03]line ИНН: 02508201610067 [20:54:03]line Контрольно-Кассовый Чек [20:54:03]line ПРОДАЖА [20:54:03]line Товар: 4700002082191 [20:54:03]line Водка Белое золото 0,46л [20:54:03]line 1.000 * 350.00 [20:54:03]line = 350.00 [20:54:03]line НДС 12% НСП 1% [20:54:03]line > о реализуемом товаре [20:54:03]line Товар: 2000053020015 [20:54:03]line Бумажные стаканы 250мл 1шт [20:54:03]line 1.000 * 7.00 [20:54:03]line = 7.00 [20:54:03]line НДС 12% НСП 1% [20:54:03]line > о реализуемом товаре [20:54:03]line ИТОГО: 357.00 [20:54:03]line НСП 1% : 3.16 [20:54:03]line НДС 12% : 37.91 [20:54:03]line Наличными: 357.00 [20:54:03]line Безнал.: 0.00 [20:54:03]line Место: АЗС № 126 "Партнер Нефть" [20:54:03]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [20:54:03]line СНО: Общий режим [20:54:03]line Чек 74 28.10.2024 20:54 [20:54:03]line Смена: 551 ФФД: 1.0 [20:54:03]line ЗНМ: 0300000092 [20:54:03]line РНМ: 0000000000091684 [20:54:03]line Версия ККМ: 001 [20:54:03]line ФМ: 0000000000871841 [20:54:03]line ФД: 37831 [20:54:03]line ФПД: 161930406235092 [20:54:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T205410&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37831&fm=161930406235092&tin=02508201610067®Number=0000000000091684&sum=35700 [20:54:03]line 0 [20:54:03]OFD Sender: Processing packet 37831 [packets to send 42, broken 41] [20:54:03]ProducePacketName [20:54:03]name=ofd_packets/00037831 [20:54:03]OFD Sender: To server: pG, [20:54:03]CommunicateWithHost lk.salyk.kg:30040 [20:54:03]ConnectInit lk.salyk.kg [20:54:03]written 0, free lines is 4095 [20:54:03]Connected sock=9 [20:54:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 A4 01 00 00 F1 C3 9C 01 44 FC 5A 03 01 00 03 00 90 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 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 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 8B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 0E 00 00 00 00 07 04 06 00 74 8B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 F2 F9 1F 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C7 93 00 00 35 04 06 00 93 46 5C 57 8B D4 F4 70 7D 99 73 7A 7E A9 [20:54:03]Write to MH i2c: 01 00 00 5C 2C 88 [20:54:03]Write i2c OK [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: 01 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: 01 07 00 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: 01 07 00 5C 2C 00 00 00 00 00 3C 0C D7 [20:54:03]RasterBufferAndPrint [20:54:03]line [20:54:03]line [20:54:03]line [20:54:03]line [20:54:03]line [20:54:03]written 0, free lines is 3138 [20:54:03]MH_Cut [20:54:03]Write to MH i2c: D1 01 00 63 2C 01 61 [20:54:03]Write i2c OK [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: D1 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: D1 01 00 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: D1 01 00 63 2C 00 60 [20:54:03]Write to MH i2c: 01 00 00 64 2C 90 [20:54:03]Write i2c OK [20:54:03]MH_I2C_Read... [20:54:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 0B 0D 47 00 D7 10 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C7 93 00 00 F4 03 04 00 E6 A4 1F 67 B6 04 01 00 00 A8 D6 AB 05 F9 A7 25 6D [20:54:04]CommunicateWithHost err = 0 [20:54:04]CheckOFDResponse [20:54:04]1017 (14) - 77093643461234 [20:54:04]1041 (16) - 0000000000871841 [20:54:04]1040 (4) - 37831 [20:54:04]1012 (4) - 28.10.2024 14:51 [20:54:04]1206 (1) - 0 [20:54:04]OFD Sender: Remove packet 37831 [20:54:04]ProducePacketName [20:54:04]name=ofd_packets/00037831 [20:54:04]NVStorageDeleteData [20:54:04]OFD Sender: No OFD packet to send [20:54:04]*** Cut start [20:54:04]*** Partial cut [20:54:04]*** CUTSNS_PIN = 1 [20:54:04]*** CUTSNS_PIN = 0 [20:54:05]*** Brake cut motor [20:54:05]Read from MH i2c: 01 [20:54:05]MH_I2C_Read... [20:54:05]*** Stop cut motor [20:54:05]*** Cut end [20:54:05]Read from MH i2c: 01 07 00 [20:54:05]MH_I2C_Read... [20:54:05]Read from MH i2c: 01 07 00 64 2C 00 00 00 00 00 FF 0F A5 [20:54:05]process_action close_receipt done [20:54:05]requested_data is exist [20:54:05]produce_requested_data [20:54:05]requested_item fm.sn is exist - process it [20:54:05]wFMCommunicate request_size=4 [20:54:05]MH_SAM_APDU [20:54:05]CAPDU: 80 11 00 00 [20:54:05]Write to MH i2c: E2 08 00 65 2C 80 11 00 00 00 00 00 00 0B [20:54:05]Write i2c OK [20:54:05]MH_I2C_Read... [20:54:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:54:05]Read from MH i2c: E2 [20:54:05]MH_I2C_Read... [20:54:05]Read from MH i2c: E2 17 00 [20:54:05]MH_I2C_Read... [20:54:05]Read from MH i2c: E2 17 00 65 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 5B [20:54:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [20:54:05]wFMCommunicate OK [20:54:05]requested_item fd.num is exist - process it [20:54:05]SAM_PROTO_GetFieldsCounters [20:54:05]wFMCommunicate request_size=4 [20:54:05]MH_SAM_APDU [20:54:05]CAPDU: 80 13 00 00 [20:54:05]Write to MH i2c: E2 08 00 66 2C 80 13 00 00 00 00 00 00 0E [20:54:05]Write i2c OK [20:54:05]MH_I2C_Read... [20:54:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:54:05]Read from MH i2c: E2 [20:54:05]MH_I2C_Read... [20:54:05]Read from MH i2c: E2 62 00 [20:54:05]MH_I2C_Read... [20:54:05]Read from MH i2c: E2 62 00 66 2C 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 C7 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 90 [20:54:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 C7 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:54:05]wFMCommunicate OK [20:54:05]SAM_PROTO_GetFieldsCounters done [20:54:05]requested_item shift.num is exist - process it [20:54:05]requested_item shift.opened is exist - process it [20:54:05]req_shift_opened [20:54:05]FM_GetShiftState [20:54:05]SAM_PROTO_GetShiftState [20:54:05]wFMCommunicate request_size=4 [20:54:05]MH_SAM_APDU [20:54:05]CAPDU: 80 13 01 00 [20:54:05]Write to MH i2c: E2 08 00 67 2C 80 13 01 00 00 00 00 00 10 [20:54:05]Write i2c OK [20:54:05]MH_I2C_Read... [20:54:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:54:05]Read from MH i2c: E2 [20:54:05]MH_I2C_Read... [20:54:05]Read from MH i2c: E2 0E 00 [20:54:05]MH_I2C_Read... [20:54:05]Read from MH i2c: E2 0E 00 67 2C 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 92 [20:54:05]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [20:54:05]wFMCommunicate OK [20:54:05]SAM_PROTO_GetShiftState done [20:54:05]FM_GetShiftState done [20:54:05]req_shift_opened done [20:54:05]requested_item shift.open_date is exist - process it [20:54:05]req_shift_open_date [20:54:05]req_shift_open_date done [20:54:05]produce_requested_data done [20:54:05]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37831,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [20:54:05]process_action_free close_receipt [20:54:05]json_value_free [20:54:05]json_value_free done [20:54:05]process_json_proto returns [20:54:05]Send response to host [20:54:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37831,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [20:54:05]free response buf [20:54:05]execute_script done [20:54:05]execute_script returns [20:54:05]free content buf [20:54:05]Sock 7.Close socket [20:54:05]Sock 7.Thread stoped [20:54:09]OFD Sender: No OFD packet to send [20:54:14]OFD Sender: No OFD packet to send [20:54:19]OFD Sender: No OFD packet to send [20:54:24]OFD Sender: No OFD packet to send [20:54:29]OFD Sender: No OFD packet to send [20:54:34]OFD Sender: No OFD packet to send [20:54:39]OFD Sender: No OFD packet to send [20:54:44]OFD Sender: No OFD packet to send [20:54:49]OFD Sender: No OFD packet to send [20:54:54]OFD Sender: No OFD packet to send [20:54:59]OFD Sender: No OFD packet to send [20:55:04]OFD Sender: No OFD packet to send [20:55:09]OFD Sender: No OFD packet to send [20:55:14]OFD Sender: No OFD packet to send [20:55:19]OFD Sender: No OFD packet to send [20:55:24]OFD Sender: No OFD packet to send [20:55:29]OFD Sender: No OFD packet to send [20:55:34]OFD Sender: No OFD packet to send [20:55:39]OFD Sender: No OFD packet to send [20:55:44]OFD Sender: No OFD packet to send [20:55:49]OFD Sender: No OFD packet to send [20:55:54]OFD Sender: No OFD packet to send [20:55:59]OFD Sender: No OFD packet to send [20:56:04]OFD Sender: No OFD packet to send [20:56:09]OFD Sender: No OFD packet to send [20:56:14]OFD Sender: No OFD packet to send [20:56:19]OFD Sender: No OFD packet to send [20:56:24]OFD Sender: No OFD packet to send [20:56:29]OFD Sender: No OFD packet to send [20:56:34]OFD Sender: No OFD packet to send [20:56:39]OFD Sender: No OFD packet to send [20:56:44]OFD Sender: No OFD packet to send [20:56:49]OFD Sender: No OFD packet to send [20:56:54]OFD Sender: No OFD packet to send [20:56:59]OFD Sender: No OFD packet to send [20:57:04]OFD Sender: No OFD packet to send [20:57:09]OFD Sender: No OFD packet to send [20:57:14]OFD Sender: No OFD packet to send [20:57:19]OFD Sender: No OFD packet to send [20:57:24]OFD Sender: No OFD packet to send [20:57:29]OFD Sender: No OFD packet to send [20:57:34]OFD Sender: No OFD packet to send [20:57:39]OFD Sender: No OFD packet to send [20:57:44]OFD Sender: No OFD packet to send [20:57:49]OFD Sender: No OFD packet to send [20:57:54]OFD Sender: No OFD packet to send [20:57:59]OFD Sender: No OFD packet to send [20:58:04]OFD Sender: No OFD packet to send [20:58:09]OFD Sender: No OFD packet to send [20:58:14]OFD Sender: No OFD packet to send [20:58:19]OFD Sender: No OFD packet to send [20:58:24]OFD Sender: No OFD packet to send [20:58:29]OFD Sender: No OFD packet to send [20:58:34]OFD Sender: No OFD packet to send [20:58:39]OFD Sender: No OFD packet to send [20:58:44]OFD Sender: No OFD packet to send [20:58:49]OFD Sender: No OFD packet to send [20:58:54]OFD Sender: No OFD packet to send [20:58:59]OFD Sender: No OFD packet to send [20:59:04]OFD Sender: No OFD packet to send [20:59:09]OFD Sender: No OFD packet to send [20:59:14]OFD Sender: No OFD packet to send [20:59:19]OFD Sender: No OFD packet to send [20:59:24]OFD Sender: No OFD packet to send [20:59:29]OFD Sender: No OFD packet to send [20:59:34]OFD Sender: No OFD packet to send [20:59:39]OFD Sender: No OFD packet to send [20:59:44]OFD Sender: No OFD packet to send [20:59:49]OFD Sender: No OFD packet to send [20:59:54]OFD Sender: No OFD packet to send [20:59:59]OFD Sender: No OFD packet to send [21:00:04]OFD Sender: No OFD packet to send [21:00:09]OFD Sender: No OFD packet to send [21:00:14]OFD Sender: No OFD packet to send [21:00:20]OFD Sender: No OFD packet to send [21:00:25]OFD Sender: No OFD packet to send [21:00:30]OFD Sender: No OFD packet to send [21:00:35]OFD Sender: No OFD packet to send [21:00:40]OFD Sender: No OFD packet to send [21:00:45]OFD Sender: No OFD packet to send [21:00:50]OFD Sender: No OFD packet to send [21:00:55]OFD Sender: No OFD packet to send [21:01:00]OFD Sender: No OFD packet to send [21:01:05]OFD Sender: No OFD packet to send [21:01:10]OFD Sender: No OFD packet to send [21:01:15]OFD Sender: No OFD packet to send [21:01:20]OFD Sender: No OFD packet to send [21:01:25]OFD Sender: No OFD packet to send [21:01:30]OFD Sender: No OFD packet to send [21:01:35]OFD Sender: No OFD packet to send [21:01:40]OFD Sender: No OFD packet to send [21:01:45]OFD Sender: No OFD packet to send [21:01:50]OFD Sender: No OFD packet to send [21:01:55]OFD Sender: No OFD packet to send [21:02:00]OFD Sender: No OFD packet to send [21:02:05]OFD Sender: No OFD packet to send [21:02:10]OFD Sender: No OFD packet to send [21:02:15]OFD Sender: No OFD packet to send [21:02:20]OFD Sender: No OFD packet to send [21:02:25]OFD Sender: No OFD packet to send [21:02:30]OFD Sender: No OFD packet to send [21:02:35]OFD Sender: No OFD packet to send [21:02:40]OFD Sender: No OFD packet to send [21:02:45]OFD Sender: No OFD packet to send [21:02:50]OFD Sender: No OFD packet to send [21:02:55]OFD Sender: No OFD packet to send [21:03:00]OFD Sender: No OFD packet to send [21:03:05]OFD Sender: No OFD packet to send [21:03:10]OFD Sender: No OFD packet to send [21:03:15]OFD Sender: No OFD packet to send [21:03:20]OFD Sender: No OFD packet to send [21:03:25]OFD Sender: No OFD packet to send [21:03:30]OFD Sender: No OFD packet to send [21:03:35]OFD Sender: No OFD packet to send [21:03:40]OFD Sender: No OFD packet to send [21:03:45]OFD Sender: No OFD packet to send [21:03:50]OFD Sender: No OFD packet to send [21:03:55]OFD Sender: No OFD packet to send [21:04:00]OFD Sender: No OFD packet to send [21:04:05]OFD Sender: No OFD packet to send [21:04:10]OFD Sender: No OFD packet to send [21:04:15]OFD Sender: No OFD packet to send [21:04:20]OFD Sender: No OFD packet to send [21:04:25]OFD Sender: No OFD packet to send [21:04:30]OFD Sender: No OFD packet to send [21:04:35]OFD Sender: No OFD packet to send [21:04:40]OFD Sender: No OFD packet to send [21:04:45]OFD Sender: No OFD packet to send [21:04:50]OFD Sender: No OFD packet to send [21:04:55]OFD Sender: No OFD packet to send [21:05:00]OFD Sender: No OFD packet to send [21:05:05]OFD Sender: No OFD packet to send [21:05:10]OFD Sender: No OFD packet to send [21:05:15]OFD Sender: No OFD packet to send [21:05:20]OFD Sender: No OFD packet to send [21:05:25]OFD Sender: No OFD packet to send [21:05:30]OFD Sender: No OFD packet to send [21:05:35]OFD Sender: No OFD packet to send [21:05:40]OFD Sender: No OFD packet to send [21:05:45]OFD Sender: No OFD packet to send [21:05:50]OFD Sender: No OFD packet to send [21:05:55]OFD Sender: No OFD packet to send [21:06:00]OFD Sender: No OFD packet to send [21:06:05]OFD Sender: No OFD packet to send [21:06:10]OFD Sender: No OFD packet to send [21:06:15]OFD Sender: No OFD packet to send [21:06:20]OFD Sender: No OFD packet to send [21:06:25]OFD Sender: No OFD packet to send [21:06:30]OFD Sender: No OFD packet to send [21:06:35]OFD Sender: No OFD packet to send [21:06:40]OFD Sender: No OFD packet to send [21:06:45]OFD Sender: No OFD packet to send [21:06:50]OFD Sender: No OFD packet to send [21:06:55]OFD Sender: No OFD packet to send [21:07:00]OFD Sender: No OFD packet to send [21:07:05]OFD Sender: No OFD packet to send [21:07:10]OFD Sender: No OFD packet to send [21:07:15]OFD Sender: No OFD packet to send [21:07:20]OFD Sender: No OFD packet to send [21:07:25]OFD Sender: No OFD packet to send [21:07:30]OFD Sender: No OFD packet to send [21:07:35]OFD Sender: No OFD packet to send [21:07:40]OFD Sender: No OFD packet to send [21:07:45]OFD Sender: No OFD packet to send [21:07:50]OFD Sender: No OFD packet to send [21:07:55]OFD Sender: No OFD packet to send [21:08:00]OFD Sender: No OFD packet to send [21:08:05]OFD Sender: No OFD packet to send [21:08:10]OFD Sender: No OFD packet to send [21:08:15]OFD Sender: No OFD packet to send [21:08:20]OFD Sender: No OFD packet to send [21:08:25]OFD Sender: No OFD packet to send [21:08:30]OFD Sender: No OFD packet to send [21:08:35]OFD Sender: No OFD packet to send [21:08:40]OFD Sender: No OFD packet to send [21:08:45]OFD Sender: No OFD packet to send [21:08:50]OFD Sender: No OFD packet to send [21:08:55]OFD Sender: No OFD packet to send [21:09:00]OFD Sender: No OFD packet to send [21:09:05]OFD Sender: No OFD packet to send [21:09:10]OFD Sender: No OFD packet to send [21:09:15]OFD Sender: No OFD packet to send [21:09:20]OFD Sender: No OFD packet to send [21:09:25]OFD Sender: No OFD packet to send [21:09:30]OFD Sender: No OFD packet to send [21:09:35]OFD Sender: No OFD packet to send [21:09:40]OFD Sender: No OFD packet to send [21:09:45]OFD Sender: No OFD packet to send [21:09:50]OFD Sender: No OFD packet to send [21:09:55]OFD Sender: No OFD packet to send [21:10:00]OFD Sender: No OFD packet to send [21:10:05]OFD Sender: No OFD packet to send [21:10:10]OFD Sender: No OFD packet to send [21:10:15]OFD Sender: No OFD packet to send [21:10:20]OFD Sender: No OFD packet to send [21:10:25]OFD Sender: No OFD packet to send [21:10:30]OFD Sender: No OFD packet to send [21:10:35]OFD Sender: No OFD packet to send [21:10:40]OFD Sender: No OFD packet to send [21:10:45]OFD Sender: No OFD packet to send [21:10:50]OFD Sender: No OFD packet to send [21:10:55]OFD Sender: No OFD packet to send [21:11:00]OFD Sender: No OFD packet to send [21:11:05]OFD Sender: No OFD packet to send [21:11:10]OFD Sender: No OFD packet to send [21:11:15]OFD Sender: No OFD packet to send [21:11:20]OFD Sender: No OFD packet to send [21:11:25]OFD Sender: No OFD packet to send [21:11:30]OFD Sender: No OFD packet to send [21:11:35]OFD Sender: No OFD packet to send [21:11:40]OFD Sender: No OFD packet to send [21:11:45]OFD Sender: No OFD packet to send [21:11:50]OFD Sender: No OFD packet to send [21:11:55]OFD Sender: No OFD packet to send [21:12:00]OFD Sender: No OFD packet to send [21:12:05]OFD Sender: No OFD packet to send [21:12:10]OFD Sender: No OFD packet to send [21:12:15]OFD Sender: No OFD packet to send [21:12:20]OFD Sender: No OFD packet to send [21:12:25]OFD Sender: No OFD packet to send [21:12:30]OFD Sender: No OFD packet to send [21:12:35]OFD Sender: No OFD packet to send [21:12:40]OFD Sender: No OFD packet to send [21:12:45]OFD Sender: No OFD packet to send [21:12:50]OFD Sender: No OFD packet to send [21:12:55]OFD Sender: No OFD packet to send [21:13:00]OFD Sender: No OFD packet to send [21:13:05]OFD Sender: No OFD packet to send [21:13:10]OFD Sender: No OFD packet to send [21:13:15]OFD Sender: No OFD packet to send [21:13:20]OFD Sender: No OFD packet to send [21:13:25]OFD Sender: No OFD packet to send [21:13:30]OFD Sender: No OFD packet to send [21:13:35]OFD Sender: No OFD packet to send [21:13:40]OFD Sender: No OFD packet to send [21:13:45]OFD Sender: No OFD packet to send [21:13:50]OFD Sender: No OFD packet to send [21:13:55]OFD Sender: No OFD packet to send [21:14:00]OFD Sender: No OFD packet to send [21:14:05]OFD Sender: No OFD packet to send [21:14:10]OFD Sender: No OFD packet to send [21:14:15]OFD Sender: No OFD packet to send [21:14:20]OFD Sender: No OFD packet to send [21:14:25]OFD Sender: No OFD packet to send [21:14:30]OFD Sender: No OFD packet to send [21:14:35]OFD Sender: No OFD packet to send [21:14:40]OFD Sender: No OFD packet to send [21:14:45]OFD Sender: No OFD packet to send [21:14:50]OFD Sender: No OFD packet to send [21:14:55]OFD Sender: No OFD packet to send [21:15:00]OFD Sender: No OFD packet to send [21:15:05]OFD Sender: No OFD packet to send [21:15:10]OFD Sender: No OFD packet to send [21:15:15]OFD Sender: No OFD packet to send [21:15:20]OFD Sender: No OFD packet to send [21:15:25]OFD Sender: No OFD packet to send [21:15:30]OFD Sender: No OFD packet to send [21:15:35]OFD Sender: No OFD packet to send [21:15:40]OFD Sender: No OFD packet to send [21:15:45]OFD Sender: No OFD packet to send [21:15:50]OFD Sender: No OFD packet to send [21:15:55]OFD Sender: No OFD packet to send [21:16:00]OFD Sender: No OFD packet to send [21:16:05]OFD Sender: No OFD packet to send [21:16:10]OFD Sender: No OFD packet to send [21:16:15]OFD Sender: No OFD packet to send [21:16:20]OFD Sender: No OFD packet to send [21:16:25]OFD Sender: No OFD packet to send [21:16:30]OFD Sender: No OFD packet to send [21:16:35]OFD Sender: No OFD packet to send [21:16:40]OFD Sender: No OFD packet to send [21:16:45]OFD Sender: No OFD packet to send [21:16:50]OFD Sender: No OFD packet to send [21:16:55]OFD Sender: No OFD packet to send [21:17:00]OFD Sender: No OFD packet to send [21:17:05]OFD Sender: No OFD packet to send [21:17:10]OFD Sender: No OFD packet to send [21:17:15]OFD Sender: No OFD packet to send [21:17:20]OFD Sender: No OFD packet to send [21:17:25]OFD Sender: No OFD packet to send [21:17:30]OFD Sender: No OFD packet to send [21:17:35]OFD Sender: No OFD packet to send [21:17:40]OFD Sender: No OFD packet to send [21:17:45]OFD Sender: No OFD packet to send [21:17:50]OFD Sender: No OFD packet to send [21:17:55]OFD Sender: No OFD packet to send [21:18:00]OFD Sender: No OFD packet to send [21:18:05]OFD Sender: No OFD packet to send [21:18:10]OFD Sender: No OFD packet to send [21:18:15]OFD Sender: No OFD packet to send [21:18:20]OFD Sender: No OFD packet to send [21:18:25]OFD Sender: No OFD packet to send [21:18:30]OFD Sender: No OFD packet to send [21:18:35]OFD Sender: No OFD packet to send [21:18:40]OFD Sender: No OFD packet to send [21:18:45]OFD Sender: No OFD packet to send [21:18:50]OFD Sender: No OFD packet to send [21:18:55]OFD Sender: No OFD packet to send [21:19:01]OFD Sender: No OFD packet to send [21:19:06]OFD Sender: No OFD packet to send [21:19:11]OFD Sender: No OFD packet to send [21:19:16]OFD Sender: No OFD packet to send [21:19:21]OFD Sender: No OFD packet to send [21:19:26]OFD Sender: No OFD packet to send [21:19:31]OFD Sender: No OFD packet to send [21:19:36]OFD Sender: No OFD packet to send [21:19:41]OFD Sender: No OFD packet to send [21:19:46]OFD Sender: No OFD packet to send [21:19:51]OFD Sender: No OFD packet to send [21:19:56]OFD Sender: No OFD packet to send [21:20:01]OFD Sender: No OFD packet to send [21:20:06]OFD Sender: No OFD packet to send [21:20:11]OFD Sender: No OFD packet to send [21:20:16]OFD Sender: No OFD packet to send [21:20:21]OFD Sender: No OFD packet to send [21:20:26]OFD Sender: No OFD packet to send [21:20:31]OFD Sender: No OFD packet to send [21:20:36]OFD Sender: No OFD packet to send [21:20:41]OFD Sender: No OFD packet to send [21:20:46]OFD Sender: No OFD packet to send [21:20:51]OFD Sender: No OFD packet to send [21:20:56]OFD Sender: No OFD packet to send [21:21:01]OFD Sender: No OFD packet to send [21:21:06]OFD Sender: No OFD packet to send [21:21:11]OFD Sender: No OFD packet to send [21:21:16]OFD Sender: No OFD packet to send [21:21:21]OFD Sender: No OFD packet to send [21:21:26]OFD Sender: No OFD packet to send [21:21:31]OFD Sender: No OFD packet to send [21:21:36]OFD Sender: No OFD packet to send [21:21:41]OFD Sender: No OFD packet to send [21:21:46]OFD Sender: No OFD packet to send [21:21:51]OFD Sender: No OFD packet to send [21:21:56]OFD Sender: No OFD packet to send [21:22:01]OFD Sender: No OFD packet to send [21:22:06]OFD Sender: No OFD packet to send [21:22:11]OFD Sender: No OFD packet to send [21:22:16]OFD Sender: No OFD packet to send [21:22:21]OFD Sender: No OFD packet to send [21:22:26]OFD Sender: No OFD packet to send [21:22:31]OFD Sender: No OFD packet to send [21:22:36]OFD Sender: No OFD packet to send [21:22:41]OFD Sender: No OFD packet to send [21:22:46]OFD Sender: No OFD packet to send [21:22:51]OFD Sender: No OFD packet to send [21:22:56]OFD Sender: No OFD packet to send [21:23:01]OFD Sender: No OFD packet to send [21:23:06]OFD Sender: No OFD packet to send [21:23:11]OFD Sender: No OFD packet to send [21:23:16]OFD Sender: No OFD packet to send [21:23:21]OFD Sender: No OFD packet to send [21:23:26]OFD Sender: No OFD packet to send [21:23:31]OFD Sender: No OFD packet to send [21:23:36]OFD Sender: No OFD packet to send [21:23:41]OFD Sender: No OFD packet to send [21:23:46]OFD Sender: No OFD packet to send [21:23:51]OFD Sender: No OFD packet to send [21:23:56]OFD Sender: No OFD packet to send [21:24:01]OFD Sender: No OFD packet to send [21:24:06]OFD Sender: No OFD packet to send [21:24:11]OFD Sender: No OFD packet to send [21:24:16]OFD Sender: No OFD packet to send [21:24:21]OFD Sender: No OFD packet to send [21:24:26]OFD Sender: No OFD packet to send [21:24:31]OFD Sender: No OFD packet to send [21:24:36]OFD Sender: No OFD packet to send [21:24:41]OFD Sender: No OFD packet to send [21:24:46]OFD Sender: No OFD packet to send [21:24:51]OFD Sender: No OFD packet to send [21:24:56]OFD Sender: No OFD packet to send [21:25:01]OFD Sender: No OFD packet to send [21:25:06]OFD Sender: No OFD packet to send [21:25:11]OFD Sender: No OFD packet to send [21:25:16]OFD Sender: No OFD packet to send [21:25:21]OFD Sender: No OFD packet to send [21:25:26]OFD Sender: No OFD packet to send [21:25:31]OFD Sender: No OFD packet to send [21:25:36]OFD Sender: No OFD packet to send [21:25:41]OFD Sender: No OFD packet to send [21:25:46]OFD Sender: No OFD packet to send [21:25:51]OFD Sender: No OFD packet to send [21:25:56]OFD Sender: No OFD packet to send [21:26:01]OFD Sender: No OFD packet to send [21:26:06]OFD Sender: No OFD packet to send [21:26:11]OFD Sender: No OFD packet to send [21:26:16]OFD Sender: No OFD packet to send [21:26:21]OFD Sender: No OFD packet to send [21:26:26]OFD Sender: No OFD packet to send [21:26:31]OFD Sender: No OFD packet to send [21:26:36]OFD Sender: No OFD packet to send [21:26:41]OFD Sender: No OFD packet to send [21:26:46]OFD Sender: No OFD packet to send [21:26:51]OFD Sender: No OFD packet to send [21:26:56]OFD Sender: No OFD packet to send [21:27:01]OFD Sender: No OFD packet to send [21:27:06]OFD Sender: No OFD packet to send [21:27:11]OFD Sender: No OFD packet to send [21:27:16]OFD Sender: No OFD packet to send [21:27:21]OFD Sender: No OFD packet to send [21:27:26]OFD Sender: No OFD packet to send [21:27:31]OFD Sender: No OFD packet to send [21:27:36]OFD Sender: No OFD packet to send [21:27:41]OFD Sender: No OFD packet to send [21:27:46]OFD Sender: No OFD packet to send [21:27:51]OFD Sender: No OFD packet to send [21:27:56]OFD Sender: No OFD packet to send [21:28:01]OFD Sender: No OFD packet to send [21:28:06]OFD Sender: No OFD packet to send [21:28:11]OFD Sender: No OFD packet to send [21:28:16]OFD Sender: No OFD packet to send [21:28:21]OFD Sender: No OFD packet to send [21:28:26]OFD Sender: No OFD packet to send [21:28:31]OFD Sender: No OFD packet to send [21:28:36]OFD Sender: No OFD packet to send [21:28:41]OFD Sender: No OFD packet to send [21:28:46]OFD Sender: No OFD packet to send [21:28:51]OFD Sender: No OFD packet to send [21:28:56]OFD Sender: No OFD packet to send [21:29:01]OFD Sender: No OFD packet to send [21:29:06]OFD Sender: No OFD packet to send [21:29:11]OFD Sender: No OFD packet to send [21:29:16]OFD Sender: No OFD packet to send [21:29:21]OFD Sender: No OFD packet to send [21:29:26]OFD Sender: No OFD packet to send [21:29:31]OFD Sender: No OFD packet to send [21:29:36]OFD Sender: No OFD packet to send [21:29:41]OFD Sender: No OFD packet to send [21:29:46]OFD Sender: No OFD packet to send [21:29:51]OFD Sender: No OFD packet to send [21:29:56]OFD Sender: No OFD packet to send [21:30:01]OFD Sender: No OFD packet to send [21:30:06]OFD Sender: No OFD packet to send [21:30:11]OFD Sender: No OFD packet to send [21:30:16]OFD Sender: No OFD packet to send [21:30:21]OFD Sender: No OFD packet to send [21:30:26]OFD Sender: No OFD packet to send [21:30:31]OFD Sender: No OFD packet to send [21:30:36]OFD Sender: No OFD packet to send [21:30:41]OFD Sender: No OFD packet to send [21:30:46]OFD Sender: No OFD packet to send [21:30:51]OFD Sender: No OFD packet to send [21:30:56]OFD Sender: No OFD packet to send [21:31:01]OFD Sender: No OFD packet to send [21:31:06]OFD Sender: No OFD packet to send [21:31:11]OFD Sender: No OFD packet to send [21:31:16]OFD Sender: No OFD packet to send [21:31:21]OFD Sender: No OFD packet to send [21:31:26]OFD Sender: No OFD packet to send [21:31:31]OFD Sender: No OFD packet to send [21:31:36]OFD Sender: No OFD packet to send [21:31:41]OFD Sender: No OFD packet to send [21:31:46]OFD Sender: No OFD packet to send [21:31:51]OFD Sender: No OFD packet to send [21:31:56]OFD Sender: No OFD packet to send [21:32:01]OFD Sender: No OFD packet to send [21:32:06]OFD Sender: No OFD packet to send [21:32:11]OFD Sender: No OFD packet to send [21:32:16]OFD Sender: No OFD packet to send [21:32:21]OFD Sender: No OFD packet to send [21:32:26]OFD Sender: No OFD packet to send [21:32:31]OFD Sender: No OFD packet to send [21:32:36]OFD Sender: No OFD packet to send [21:32:41]OFD Sender: No OFD packet to send [21:32:46]OFD Sender: No OFD packet to send [21:32:51]OFD Sender: No OFD packet to send [21:32:56]OFD Sender: No OFD packet to send [21:33:01]OFD Sender: No OFD packet to send [21:33:06]OFD Sender: No OFD packet to send [21:33:11]OFD Sender: No OFD packet to send [21:33:16]OFD Sender: No OFD packet to send [21:33:21]OFD Sender: No OFD packet to send [21:33:26]OFD Sender: No OFD packet to send [21:33:31]OFD Sender: No OFD packet to send [21:33:36]OFD Sender: No OFD packet to send [21:33:41]OFD Sender: No OFD packet to send [21:33:46]OFD Sender: No OFD packet to send [21:33:51]OFD Sender: No OFD packet to send [21:33:56]OFD Sender: No OFD packet to send [21:34:01]OFD Sender: No OFD packet to send [21:34:06]OFD Sender: No OFD packet to send [21:34:11]OFD Sender: No OFD packet to send [21:34:16]OFD Sender: No OFD packet to send [21:34:21]OFD Sender: No OFD packet to send [21:34:26]OFD Sender: No OFD packet to send [21:34:31]OFD Sender: No OFD packet to send [21:34:36]OFD Sender: No OFD packet to send [21:34:41]OFD Sender: No OFD packet to send [21:34:46]OFD Sender: No OFD packet to send [21:34:51]OFD Sender: No OFD packet to send [21:34:56]OFD Sender: No OFD packet to send [21:35:01]OFD Sender: No OFD packet to send [21:35:06]OFD Sender: No OFD packet to send [21:35:11]OFD Sender: No OFD packet to send [21:35:16]OFD Sender: No OFD packet to send [21:35:21]OFD Sender: No OFD packet to send [21:35:26]OFD Sender: No OFD packet to send [21:35:31]OFD Sender: No OFD packet to send [21:35:36]OFD Sender: No OFD packet to send [21:35:41]OFD Sender: No OFD packet to send [21:35:46]OFD Sender: No OFD packet to send [21:35:51]OFD Sender: No OFD packet to send [21:35:56]OFD Sender: No OFD packet to send [21:36:01]OFD Sender: No OFD packet to send [21:36:06]OFD Sender: No OFD packet to send [21:36:11]OFD Sender: No OFD packet to send [21:36:16]OFD Sender: No OFD packet to send [21:36:21]OFD Sender: No OFD packet to send [21:36:26]OFD Sender: No OFD packet to send [21:36:31]OFD Sender: No OFD packet to send [21:36:36]OFD Sender: No OFD packet to send [21:36:41]OFD Sender: No OFD packet to send [21:36:46]OFD Sender: No OFD packet to send [21:36:51]OFD Sender: No OFD packet to send [21:36:56]OFD Sender: No OFD packet to send [21:37:01]OFD Sender: No OFD packet to send [21:37:06]OFD Sender: No OFD packet to send [21:37:11]OFD Sender: No OFD packet to send [21:37:16]OFD Sender: No OFD packet to send [21:37:21]OFD Sender: No OFD packet to send [21:37:26]OFD Sender: No OFD packet to send [21:37:31]OFD Sender: No OFD packet to send [21:37:36]OFD Sender: No OFD packet to send [21:37:41]OFD Sender: No OFD packet to send [21:37:46]OFD Sender: No OFD packet to send [21:37:52]OFD Sender: No OFD packet to send [21:37:57]OFD Sender: No OFD packet to send [21:38:02]OFD Sender: No OFD packet to send [21:38:07]OFD Sender: No OFD packet to send [21:38:12]OFD Sender: No OFD packet to send [21:38:17]OFD Sender: No OFD packet to send [21:38:22]OFD Sender: No OFD packet to send [21:38:27]OFD Sender: No OFD packet to send [21:38:32]OFD Sender: No OFD packet to send [21:38:37]OFD Sender: No OFD packet to send [21:38:42]OFD Sender: No OFD packet to send [21:38:47]OFD Sender: No OFD packet to send [21:38:52]OFD Sender: No OFD packet to send [21:38:57]OFD Sender: No OFD packet to send [21:39:02]OFD Sender: No OFD packet to send [21:39:07]OFD Sender: No OFD packet to send [21:39:12]OFD Sender: No OFD packet to send [21:39:17]OFD Sender: No OFD packet to send [21:39:22]OFD Sender: No OFD packet to send [21:39:27]OFD Sender: No OFD packet to send [21:39:32]OFD Sender: No OFD packet to send [21:39:37]OFD Sender: No OFD packet to send [21:39:42]OFD Sender: No OFD packet to send [21:39:47]OFD Sender: No OFD packet to send [21:39:52]OFD Sender: No OFD packet to send [21:39:57]OFD Sender: No OFD packet to send [21:40:02]OFD Sender: No OFD packet to send [21:40:07]OFD Sender: No OFD packet to send [21:40:12]OFD Sender: No OFD packet to send [21:40:17]OFD Sender: No OFD packet to send [21:40:22]OFD Sender: No OFD packet to send [21:40:27]OFD Sender: No OFD packet to send [21:40:32]OFD Sender: No OFD packet to send [21:40:37]OFD Sender: No OFD packet to send [21:40:42]OFD Sender: No OFD packet to send [21:40:47]OFD Sender: No OFD packet to send [21:40:52]OFD Sender: No OFD packet to send [21:40:57]OFD Sender: No OFD packet to send [21:41:02]OFD Sender: No OFD packet to send [21:41:07]OFD Sender: No OFD packet to send [21:41:12]OFD Sender: No OFD packet to send [21:41:17]OFD Sender: No OFD packet to send [21:41:22]OFD Sender: No OFD packet to send [21:41:27]OFD Sender: No OFD packet to send [21:41:32]OFD Sender: No OFD packet to send [21:41:37]OFD Sender: No OFD packet to send [21:41:42]OFD Sender: No OFD packet to send [21:41:47]OFD Sender: No OFD packet to send [21:41:52]OFD Sender: No OFD packet to send [21:41:57]OFD Sender: No OFD packet to send [21:42:02]OFD Sender: No OFD packet to send [21:42:07]OFD Sender: No OFD packet to send [21:42:12]OFD Sender: No OFD packet to send [21:42:17]OFD Sender: No OFD packet to send [21:42:22]OFD Sender: No OFD packet to send [21:42:27]OFD Sender: No OFD packet to send [21:42:32]OFD Sender: No OFD packet to send [21:42:37]OFD Sender: No OFD packet to send [21:42:42]OFD Sender: No OFD packet to send [21:42:47]OFD Sender: No OFD packet to send [21:42:52]OFD Sender: No OFD packet to send [21:42:57]OFD Sender: No OFD packet to send [21:43:02]OFD Sender: No OFD packet to send [21:43:07]OFD Sender: No OFD packet to send [21:43:12]OFD Sender: No OFD packet to send [21:43:17]OFD Sender: No OFD packet to send [21:43:22]OFD Sender: No OFD packet to send [21:43:27]OFD Sender: No OFD packet to send [21:43:32]OFD Sender: No OFD packet to send [21:43:37]OFD Sender: No OFD packet to send [21:43:42]OFD Sender: No OFD packet to send [21:43:47]OFD Sender: No OFD packet to send [21:43:52]OFD Sender: No OFD packet to send [21:43:57]OFD Sender: No OFD packet to send [21:44:02]OFD Sender: No OFD packet to send [21:44:07]OFD Sender: No OFD packet to send [21:44:12]OFD Sender: No OFD packet to send [21:44:17]OFD Sender: No OFD packet to send [21:44:22]OFD Sender: No OFD packet to send [21:44:27]OFD Sender: No OFD packet to send [21:44:32]OFD Sender: No OFD packet to send [21:44:37]OFD Sender: No OFD packet to send [21:44:42]OFD Sender: No OFD packet to send [21:44:47]OFD Sender: No OFD packet to send [21:44:52]OFD Sender: No OFD packet to send [21:44:57]OFD Sender: No OFD packet to send [21:45:02]OFD Sender: No OFD packet to send [21:45:07]OFD Sender: No OFD packet to send [21:45:12]OFD Sender: No OFD packet to send [21:45:17]OFD Sender: No OFD packet to send [21:45:22]OFD Sender: No OFD packet to send [21:45:27]OFD Sender: No OFD packet to send [21:45:32]OFD Sender: No OFD packet to send [21:45:37]OFD Sender: No OFD packet to send [21:45:42]OFD Sender: No OFD packet to send [21:45:47]OFD Sender: No OFD packet to send [21:45:52]OFD Sender: No OFD packet to send [21:45:57]OFD Sender: No OFD packet to send [21:46:02]OFD Sender: No OFD packet to send [21:46:07]OFD Sender: No OFD packet to send [21:46:12]OFD Sender: No OFD packet to send [21:46:17]OFD Sender: No OFD packet to send [21:46:22]OFD Sender: No OFD packet to send [21:46:27]OFD Sender: No OFD packet to send [21:46:32]OFD Sender: No OFD packet to send [21:46:37]OFD Sender: No OFD packet to send [21:46:42]OFD Sender: No OFD packet to send [21:46:47]OFD Sender: No OFD packet to send [21:46:52]OFD Sender: No OFD packet to send [21:46:57]OFD Sender: No OFD packet to send [21:47:02]OFD Sender: No OFD packet to send [21:47:07]OFD Sender: No OFD packet to send [21:47:12]OFD Sender: No OFD packet to send [21:47:17]OFD Sender: No OFD packet to send [21:47:22]OFD Sender: No OFD packet to send [21:47:27]OFD Sender: No OFD packet to send [21:47:32]OFD Sender: No OFD packet to send [21:47:37]OFD Sender: No OFD packet to send [21:47:42]OFD Sender: No OFD packet to send [21:47:47]OFD Sender: No OFD packet to send [21:47:52]OFD Sender: No OFD packet to send [21:47:57]OFD Sender: No OFD packet to send [21:48:02]OFD Sender: No OFD packet to send [21:48:07]OFD Sender: No OFD packet to send [21:48:12]OFD Sender: No OFD packet to send [21:48:17]OFD Sender: No OFD packet to send [21:48:22]OFD Sender: No OFD packet to send [21:48:27]OFD Sender: No OFD packet to send [21:48:32]OFD Sender: No OFD packet to send [21:48:37]OFD Sender: No OFD packet to send [21:48:42]OFD Sender: No OFD packet to send [21:48:47]OFD Sender: No OFD packet to send [21:48:52]OFD Sender: No OFD packet to send [21:48:57]OFD Sender: No OFD packet to send [21:49:02]OFD Sender: No OFD packet to send [21:49:07]OFD Sender: No OFD packet to send [21:49:12]OFD Sender: No OFD packet to send [21:49:17]OFD Sender: No OFD packet to send [21:49:22]OFD Sender: No OFD packet to send [21:49:27]OFD Sender: No OFD packet to send [21:49:32]OFD Sender: No OFD packet to send [21:49:37]OFD Sender: No OFD packet to send [21:49:42]OFD Sender: No OFD packet to send [21:49:47]OFD Sender: No OFD packet to send [21:49:52]OFD Sender: No OFD packet to send [21:49:57]OFD Sender: No OFD packet to send [21:50:02]OFD Sender: No OFD packet to send [21:50:07]OFD Sender: No OFD packet to send [21:50:12]OFD Sender: No OFD packet to send [21:50:17]OFD Sender: No OFD packet to send [21:50:22]OFD Sender: No OFD packet to send [21:50:27]OFD Sender: No OFD packet to send [21:50:32]OFD Sender: No OFD packet to send [21:50:37]OFD Sender: No OFD packet to send [21:50:42]OFD Sender: No OFD packet to send [21:50:47]OFD Sender: No OFD packet to send [21:50:52]OFD Sender: No OFD packet to send [21:50:57]OFD Sender: No OFD packet to send [21:51:02]OFD Sender: No OFD packet to send [21:51:07]OFD Sender: No OFD packet to send [21:51:12]OFD Sender: No OFD packet to send [21:51:17]OFD Sender: No OFD packet to send [21:51:22]OFD Sender: No OFD packet to send [21:51:27]OFD Sender: No OFD packet to send [21:51:32]OFD Sender: No OFD packet to send [21:51:37]OFD Sender: No OFD packet to send [21:51:42]OFD Sender: No OFD packet to send [21:51:47]OFD Sender: No OFD packet to send [21:51:52]OFD Sender: No OFD packet to send [21:51:57]OFD Sender: No OFD packet to send [21:52:02]OFD Sender: No OFD packet to send [21:52:07]OFD Sender: No OFD packet to send [21:52:12]OFD Sender: No OFD packet to send [21:52:17]OFD Sender: No OFD packet to send [21:52:22]OFD Sender: No OFD packet to send [21:52:27]OFD Sender: No OFD packet to send [21:52:32]OFD Sender: No OFD packet to send [21:52:37]OFD Sender: No OFD packet to send [21:52:42]OFD Sender: No OFD packet to send [21:52:47]OFD Sender: No OFD packet to send [21:52:52]OFD Sender: No OFD packet to send [21:52:57]OFD Sender: No OFD packet to send [21:53:02]OFD Sender: No OFD packet to send [21:53:07]OFD Sender: No OFD packet to send [21:53:12]OFD Sender: No OFD packet to send [21:53:17]OFD Sender: No OFD packet to send [21:53:22]OFD Sender: No OFD packet to send [21:53:27]OFD Sender: No OFD packet to send [21:53:32]OFD Sender: No OFD packet to send [21:53:37]OFD Sender: No OFD packet to send [21:53:42]OFD Sender: No OFD packet to send [21:53:47]OFD Sender: No OFD packet to send [21:53:52]OFD Sender: No OFD packet to send [21:53:57]OFD Sender: No OFD packet to send [21:54:02]OFD Sender: No OFD packet to send [21:54:07]OFD Sender: No OFD packet to send [21:54:12]OFD Sender: No OFD packet to send [21:54:17]OFD Sender: No OFD packet to send [21:54:22]OFD Sender: No OFD packet to send [21:54:27]OFD Sender: No OFD packet to send [21:54:32]OFD Sender: No OFD packet to send [21:54:37]OFD Sender: No OFD packet to send [21:54:42]OFD Sender: No OFD packet to send [21:54:47]OFD Sender: No OFD packet to send [21:54:52]OFD Sender: No OFD packet to send [21:54:57]OFD Sender: No OFD packet to send [21:55:02]OFD Sender: No OFD packet to send [21:55:07]OFD Sender: No OFD packet to send [21:55:12]OFD Sender: No OFD packet to send [21:55:17]OFD Sender: No OFD packet to send [21:55:22]OFD Sender: No OFD packet to send [21:55:27]OFD Sender: No OFD packet to send [21:55:32]OFD Sender: No OFD packet to send [21:55:37]OFD Sender: No OFD packet to send [21:55:42]OFD Sender: No OFD packet to send [21:55:47]OFD Sender: No OFD packet to send [21:55:52]OFD Sender: No OFD packet to send [21:55:57]OFD Sender: No OFD packet to send [21:56:02]OFD Sender: No OFD packet to send [21:56:07]OFD Sender: No OFD packet to send [21:56:12]OFD Sender: No OFD packet to send [21:56:17]OFD Sender: No OFD packet to send [21:56:22]OFD Sender: No OFD packet to send [21:56:27]OFD Sender: No OFD packet to send [21:56:32]OFD Sender: No OFD packet to send [21:56:37]OFD Sender: No OFD packet to send [21:56:43]OFD Sender: No OFD packet to send [21:56:48]OFD Sender: No OFD packet to send [21:56:53]OFD Sender: No OFD packet to send [21:56:58]OFD Sender: No OFD packet to send [21:57:03]OFD Sender: No OFD packet to send [21:57:08]OFD Sender: No OFD packet to send [21:57:13]OFD Sender: No OFD packet to send [21:57:18]OFD Sender: No OFD packet to send [21:57:23]OFD Sender: No OFD packet to send [21:57:28]OFD Sender: No OFD packet to send [21:57:33]OFD Sender: No OFD packet to send [21:57:38]OFD Sender: No OFD packet to send [21:57:43]OFD Sender: No OFD packet to send [21:57:48]OFD Sender: No OFD packet to send [21:57:53]OFD Sender: No OFD packet to send [21:57:58]OFD Sender: No OFD packet to send [21:58:03]OFD Sender: No OFD packet to send [21:58:08]OFD Sender: No OFD packet to send [21:58:13]OFD Sender: No OFD packet to send [21:58:18]OFD Sender: No OFD packet to send [21:58:23]OFD Sender: No OFD packet to send [21:58:28]OFD Sender: No OFD packet to send [21:58:33]OFD Sender: No OFD packet to send [21:58:38]OFD Sender: No OFD packet to send [21:58:43]OFD Sender: No OFD packet to send [21:58:48]OFD Sender: No OFD packet to send [21:58:53]OFD Sender: No OFD packet to send [21:58:58]OFD Sender: No OFD packet to send [21:59:03]OFD Sender: No OFD packet to send [21:59:08]OFD Sender: No OFD packet to send [21:59:13]OFD Sender: No OFD packet to send [21:59:18]OFD Sender: No OFD packet to send [21:59:23]OFD Sender: No OFD packet to send [21:59:28]OFD Sender: No OFD packet to send [21:59:33]OFD Sender: No OFD packet to send [21:59:38]OFD Sender: No OFD packet to send [21:59:43]OFD Sender: No OFD packet to send [21:59:48]OFD Sender: No OFD packet to send [21:59:53]OFD Sender: No OFD packet to send [21:59:58]OFD Sender: No OFD packet to send [22:00:03]OFD Sender: No OFD packet to send [22:00:08]OFD Sender: No OFD packet to send [22:00:13]OFD Sender: No OFD packet to send [22:00:18]OFD Sender: No OFD packet to send [22:00:23]OFD Sender: No OFD packet to send [22:00:28]OFD Sender: No OFD packet to send [22:00:33]OFD Sender: No OFD packet to send [22:00:38]OFD Sender: No OFD packet to send [22:00:43]OFD Sender: No OFD packet to send [22:00:48]OFD Sender: No OFD packet to send [22:00:53]OFD Sender: No OFD packet to send [22:00:58]OFD Sender: No OFD packet to send [22:01:03]OFD Sender: No OFD packet to send [22:01:08]OFD Sender: No OFD packet to send [22:01:13]OFD Sender: No OFD packet to send [22:01:18]OFD Sender: No OFD packet to send [22:01:23]OFD Sender: No OFD packet to send [22:01:28]OFD Sender: No OFD packet to send [22:01:33]OFD Sender: No OFD packet to send [22:01:38]OFD Sender: No OFD packet to send [22:01:43]OFD Sender: No OFD packet to send [22:01:48]OFD Sender: No OFD packet to send [22:01:53]OFD Sender: No OFD packet to send [22:01:58]OFD Sender: No OFD packet to send [22:02:03]OFD Sender: No OFD packet to send [22:02:08]OFD Sender: No OFD packet to send [22:02:13]OFD Sender: No OFD packet to send [22:02:18]OFD Sender: No OFD packet to send [22:02:23]OFD Sender: No OFD packet to send [22:02:28]OFD Sender: No OFD packet to send [22:02:33]OFD Sender: No OFD packet to send [22:02:38]OFD Sender: No OFD packet to send [22:02:43]OFD Sender: No OFD packet to send [22:02:48]OFD Sender: No OFD packet to send [22:02:53]OFD Sender: No OFD packet to send [22:02:58]OFD Sender: No OFD packet to send [22:03:03]OFD Sender: No OFD packet to send [22:03:08]OFD Sender: No OFD packet to send [22:03:13]OFD Sender: No OFD packet to send [22:03:18]OFD Sender: No OFD packet to send [22:03:23]OFD Sender: No OFD packet to send [22:03:28]OFD Sender: No OFD packet to send [22:03:33]OFD Sender: No OFD packet to send [22:03:38]OFD Sender: No OFD packet to send [22:03:43]OFD Sender: No OFD packet to send [22:03:48]OFD Sender: No OFD packet to send [22:03:53]OFD Sender: No OFD packet to send [22:03:58]OFD Sender: No OFD packet to send [22:04:03]OFD Sender: No OFD packet to send [22:04:08]OFD Sender: No OFD packet to send [22:04:13]OFD Sender: No OFD packet to send [22:04:18]OFD Sender: No OFD packet to send [22:04:23]OFD Sender: No OFD packet to send [22:04:28]OFD Sender: No OFD packet to send [22:04:33]OFD Sender: No OFD packet to send [22:04:38]OFD Sender: No OFD packet to send [22:04:43]OFD Sender: No OFD packet to send [22:04:48]OFD Sender: No OFD packet to send [22:04:53]OFD Sender: No OFD packet to send [22:04:58]OFD Sender: No OFD packet to send [22:05:03]OFD Sender: No OFD packet to send [22:05:08]OFD Sender: No OFD packet to send [22:05:13]OFD Sender: No OFD packet to send [22:05:18]OFD Sender: No OFD packet to send [22:05:23]OFD Sender: No OFD packet to send [22:05:28]OFD Sender: No OFD packet to send [22:05:33]OFD Sender: No OFD packet to send [22:05:38]OFD Sender: No OFD packet to send [22:05:43]OFD Sender: No OFD packet to send [22:05:48]OFD Sender: No OFD packet to send [22:05:53]OFD Sender: No OFD packet to send [22:05:58]OFD Sender: No OFD packet to send [22:06:03]OFD Sender: No OFD packet to send [22:06:08]OFD Sender: No OFD packet to send [22:06:13]OFD Sender: No OFD packet to send [22:06:18]OFD Sender: No OFD packet to send [22:06:23]OFD Sender: No OFD packet to send [22:06:28]OFD Sender: No OFD packet to send [22:06:33]OFD Sender: No OFD packet to send [22:06:38]OFD Sender: No OFD packet to send [22:06:43]OFD Sender: No OFD packet to send [22:06:48]OFD Sender: No OFD packet to send [22:06:53]OFD Sender: No OFD packet to send [22:06:58]OFD Sender: No OFD packet to send [22:07:03]OFD Sender: No OFD packet to send [22:07:08]OFD Sender: No OFD packet to send [22:07:13]OFD Sender: No OFD packet to send [22:07:18]OFD Sender: No OFD packet to send [22:07:23]OFD Sender: No OFD packet to send [22:07:28]OFD Sender: No OFD packet to send [22:07:33]OFD Sender: No OFD packet to send [22:07:38]OFD Sender: No OFD packet to send [22:07:43]OFD Sender: No OFD packet to send [22:07:48]OFD Sender: No OFD packet to send [22:07:53]OFD Sender: No OFD packet to send [22:07:58]OFD Sender: No OFD packet to send [22:08:03]OFD Sender: No OFD packet to send [22:08:08]OFD Sender: No OFD packet to send [22:08:13]OFD Sender: No OFD packet to send [22:08:18]OFD Sender: No OFD packet to send [22:08:23]OFD Sender: No OFD packet to send [22:08:28]OFD Sender: No OFD packet to send [22:08:33]OFD Sender: No OFD packet to send [22:08:38]OFD Sender: No OFD packet to send [22:08:43]OFD Sender: No OFD packet to send [22:08:48]OFD Sender: No OFD packet to send [22:08:53]OFD Sender: No OFD packet to send [22:08:58]OFD Sender: No OFD packet to send [22:09:03]OFD Sender: No OFD packet to send [22:09:08]OFD Sender: No OFD packet to send [22:09:13]OFD Sender: No OFD packet to send [22:09:18]OFD Sender: No OFD packet to send [22:09:23]OFD Sender: No OFD packet to send [22:09:28]OFD Sender: No OFD packet to send [22:09:33]OFD Sender: No OFD packet to send [22:09:38]OFD Sender: No OFD packet to send [22:09:43]OFD Sender: No OFD packet to send [22:09:48]OFD Sender: No OFD packet to send [22:09:53]OFD Sender: No OFD packet to send [22:09:55]accept exits with 10 [22:09:55]New connection [22:09:55]New thread 3067297124 created [22:09:55]Thread 3067440484 joined [22:09:55]Waiting for new connection... [22:09:55] Sock 10.Parse request [22:09:55]Sock 10.Check first char [22:09:55]Sock 10.First char is OK [22:09:55]request: POST /json_proto HTTP/1.0 [22:09:55]Method: POST [22:09:55]URL: /json_proto [22:09:55]Method is POST - this is cgi request [22:09:55]url: /json_proto [22:09:55]query_string will be loaded in cgi processing [22:09:55]execute_cgi json_proto POST (null) [22:09:55]execute_cgi path=json_proto method=POST [22:09:55]POST find Content-Length [22:09:55]Host: 172.17.40.196:8080 [22:09:55]Content-Length: 663 [22:09:55]Content-Type: application/json [22:09:55] [22:09:55]POST finish read [22:09:55]Found Content-Length = 663 [22:09:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35131", "tax_sys" : 0, "items" : [ { "code": "4700003010803", "name": "\u0427\u0430\u0439 \u041B\u0435\u0442\u0441 \u0413\u043E\u0443 \u041C\u0430\u043B\u0438\u043D\u0430 0,9\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:09:55]execute_script... [22:09:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35131", "tax_sys" : 0, "items" : [ { "code": "4700003010803", "name": "\u0427\u0430\u0439 \u041B\u0435\u0442\u0441 \u0413\u043E\u0443 \u041C\u0430\u043B\u0438\u043D\u0430 0,9\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:09:55]POST & json_proto [22:09:55]process_json_proto [22:09:55]json parsed OK: [22:09:55]protocol is kg_v1.0 [22:09:55]action value=close_receipt [22:09:55]process_action close_receipt [22:09:55]cmd_close_receipt [22:09:55]MH_GetDate [22:09:55]Write to MH i2c: F0 00 00 68 2C 83 [22:09:55]Write i2c OK [22:09:55]MH_I2C_Read... [22:09:55]Read from MH i2c: F0 [22:09:55]MH_I2C_Read... [22:09:55]Read from MH i2c: F0 09 00 [22:09:55]MH_I2C_Read... [22:09:55]Read from MH i2c: F0 09 00 68 2C 00 BC 0B 20 67 5B 68 A1 66 A4 [22:09:55]GetLastDocTimeStamp 1730148850 [22:09:55]current date 1730153404 [22:09:55]FM_GetShiftState [22:09:55]SAM_PROTO_GetShiftState [22:09:55]wFMCommunicate request_size=4 [22:09:55]MH_SAM_APDU [22:09:55]CAPDU: 80 13 01 00 [22:09:55]Write to MH i2c: E2 08 00 69 2C 80 13 01 00 00 00 00 00 12 [22:09:55]Write i2c OK [22:09:55]MH_I2C_Read... [22:09:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:09:55]Read from MH i2c: E2 [22:09:55]MH_I2C_Read... [22:09:55]Read from MH i2c: E2 0E 00 [22:09:55]MH_I2C_Read... [22:09:55]Read from MH i2c: E2 0E 00 69 2C 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 94 [22:09:55]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [22:09:55]wFMCommunicate OK [22:09:55]SAM_PROTO_GetShiftState done [22:09:55]FM_GetShiftState done [22:09:55]opened in 1730073884 [22:09:55]opened+sec_in_day 1730160284 [22:09:55]quantity*price = 8500 [22:09:55]sum+1 = 8501 [22:09:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 75 28.10.2024 22:10 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37832 ФПД: 165221556046148 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T221004&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37832&fm=165221556046148&tin=02508201610067®Number=0000000000091684&sum=8500 0 [22:09:56]StoreToDocumentArchive [22:09:56]shift 551 fd 37832 [22:09:56]save to /storage/0551/doc_00037832 [22:09:56]save last doc name /storage/0551/doc_00037832 to /storage/kkm_last_doc_name [22:09:56]save OK [22:09:56]Clear old archive folders... [22:09:56]ProcessDocumentItem done err = 0, tmpTLVsize=283 [22:09:56]tlvbuf is 0029E220 [22:09:56]SAM_PROTO_ClearQueue [22:09:56]wFMCommunicate request_size=4 [22:09:56]MH_SAM_APDU [22:09:56]CAPDU: 80 09 00 00 [22:09:56]Write to MH i2c: E2 08 00 76 2C 80 09 00 00 00 00 00 00 14 [22:09:56]Write i2c OK [22:09:56]MH_I2C_Read... [22:09:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:09:56]Read from MH i2c: E2 [22:09:56]MH_I2C_Read... [22:09:56]Read from MH i2c: E2 03 00 [22:09:56]MH_I2C_Read... [22:09:56]Read from MH i2c: E2 03 00 76 2C 00 90 00 16 [22:09:56]RAPDU: 90 00 [22:09:56]wFMCommunicate OK [22:09:56]SAM_PROTO_ClearQueue done [22:09:56]KKMCreateOFDPacket [22:09:56]OFDProtocolAddRootSTLVToBuf [22:09:56]FM_MakeSignedData [22:09:56]FM_MakeSignedData [22:09:56]SAM_PROTO_SignData [22:09:56]wFMCommunicate request_size=4 [22:09:56]MH_SAM_APDU [22:09:56]CAPDU: 80 0D 01 02 [22:09:56]Write to MH i2c: E2 08 00 77 2C 80 0D 01 02 00 00 00 00 1C [22:09:56]Write i2c OK [22:09:56]MH_I2C_Read... [22:09:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:09:56]Read from MH i2c: E2 [22:09:56]MH_I2C_Read... [22:09:56]Read from MH i2c: E2 03 00 [22:09:56]MH_I2C_Read... [22:09:56]Read from MH i2c: E2 03 00 77 2C 00 90 00 17 [22:09:56]RAPDU: 90 00 [22:09:56]wFMCommunicate OK [22:09:56]wFMCommunicate request_size=255 [22:09:56]MH_SAM_APDU [22:09:56]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 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 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 BC 0B 20 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 [22:09:56]Write to MH i2c: E2 02 01 78 2C 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 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 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 BC 0B 20 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 00 00 F7 [22:09:56]Write i2c OK [22:09:56]MH_I2C_Read... [22:09:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:09:56]Read from MH i2c: E2 [22:09:56]MH_I2C_Read... [22:09:56]Read from MH i2c: E2 03 00 [22:09:56]MH_I2C_Read... [22:09:56]Read from MH i2c: E2 03 00 78 2C 00 90 00 18 [22:09:56]RAPDU: 90 00 [22:09:56]wFMCommunicate OK [22:09:56]wFMCommunicate request_size=42 [22:09:56]MH_SAM_APDU [22:09:56]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C8 93 00 00 35 04 06 00 96 44 A4 28 49 44 [22:09:56]Write to MH i2c: E2 2D 00 79 2C 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C8 93 00 00 35 04 06 00 96 44 A4 28 49 44 00 00 7F [22:09:56]Write i2c OK [22:09:56]MH_I2C_Read... [22:09:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:09:56]Read from MH i2c: E2 [22:09:56]MH_I2C_Read... [22:09:56]Read from MH i2c: E2 03 00 [22:09:56]MH_I2C_Read... [22:09:56]Read from MH i2c: E2 03 00 79 2C 00 90 00 19 [22:09:56]RAPDU: 90 00 [22:09:56]wFMCommunicate OK [22:09:56]wFMCommunicate request_size=4 [22:09:56]MH_SAM_APDU [22:09:56]CAPDU: 80 0D 03 02 [22:09:56]Write to MH i2c: E2 08 00 7A 2C 80 0D 03 02 00 00 00 00 21 [22:09:56]Write i2c OK [22:09:56]MH_I2C_Read... [22:09:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:09:56]Read from MH i2c: E2 [22:09:56]MH_I2C_Read... [22:09:56]Read from MH i2c: E2 0B 00 [22:09:56]MH_I2C_Read... [22:09:56]Read from MH i2c: E2 0B 00 7A 2C 00 68 9C 22 18 59 60 70 38 90 00 C1 [22:09:56]RAPDU: 68 9C 22 18 59 60 70 38 90 00 [22:09:56]wFMCommunicate OK [22:09:56]SAM_PROTO_SignData done [22:09:56]FM_MakeSignedData done [22:09:56]CreateOFDProtocolMessage [22:09:56]wFMCommunicate request_size=4 [22:09:56]MH_SAM_APDU [22:09:56]CAPDU: 80 11 00 00 [22:09:56]Write to MH i2c: E2 08 00 7B 2C 80 11 00 00 00 00 00 00 21 [22:09:56]Write i2c OK [22:09:56]MH_I2C_Read... [22:09:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:09:56]Read from MH i2c: E2 [22:09:56]MH_I2C_Read... [22:09:56]Read from MH i2c: E2 17 00 [22:09:56]MH_I2C_Read... [22:09:56]Read from MH i2c: E2 17 00 7B 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 71 [22:09:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:09:56]wFMCommunicate OK [22:09:56]CreateOFDProtocolMessage done [22:09:56]OFDSenderStorePacket 37832 [22:09:56]StoreOFDPacket docnum=37832 [22:09:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2F 01 00 00 D7 2A 27 01 2B BD 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 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 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 BC 0B 20 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C8 93 00 00 35 04 06 00 96 44 A4 28 49 44 68 9C 22 18 59 60 70 38 [22:09:56]CheckFolder [22:09:56]dirname=/storage/ofd_packets [22:09:56]CheckFolder done [22:09:56]ProducePacketName [22:09:56]name=ofd_packets/00037832 [22:09:56]NVStorageSaveData ofd_packets/00037832 [22:09:56]File name is /storage/ofd_packets/00037832 [22:09:56]Write 333 bytes [22:09:56]NVStorageSaveData done [22:09:56]OFDSenderStorePacket done [22:09:56]KKMCreateOFDPacket done [22:09:56]NVStorageSaveData kkm_last_timestamp [22:09:56]File name is /storage/kkm_last_timestamp [22:09:56]Write 4 bytes [22:09:56]NVStorageSaveData done [22:09:56]ExternCall_PrintAddStr [22:09:56]wPrintStart [22:09:56]Write to MH i2c: 01 00 00 7C 2C A8 [22:09:56]OFD Sender: Processing packet 37832 [packets to send 42, broken 41] [22:09:56]ProducePacketName [22:09:56]name=ofd_packets/00037832 [22:09:56]OFD Sender: To server: pG, [22:09:56]CommunicateWithHost lk.salyk.kg:30040 [22:09:56]ConnectInit lk.salyk.kg [22:09:56]Write i2c OK [22:09:56]MH_I2C_Read... [22:09:56]Read from MH i2c: 01 [22:09:56]MH_I2C_Read... [22:09:56]Read from MH i2c: 01 07 00 [22:09:56]MH_I2C_Read... [22:09:56]Read from MH i2c: 01 07 00 7C 2C 00 00 00 00 00 FF 0F BD [22:09:56]RasterBufferAndPrint [22:09:56]line Счет N : (3)35131 [22:09:56]line ИНН: 02508201610067 [22:09:56]line Контрольно-Кассовый Чек [22:09:56]line ПРОДАЖА [22:09:56]line Товар: 4700003010803 [22:09:56]line Чай Летс Гоу Малина 0,9л [22:09:56]line 1.000 * 85.00 [22:09:56]line = 85.00 [22:09:56]line НДС 12% НСП 1% [22:09:56]line > о реализуемом товаре [22:09:56]line ИТОГО: 85.00 [22:09:56]line НСП 1% : 0.75 [22:09:56]line НДС 12% : 9.03 [22:09:56]line Наличными: 85.00 [22:09:56]line Безнал.: 0.00 [22:09:56]line Место: АЗС № 126 "Партнер Нефть" [22:09:56]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [22:09:56]line СНО: Общий режим [22:09:56]line Чек 75 28.10.2024 22:10 [22:09:56]line Смена: 551 ФФД: 1.0 [22:09:56]line ЗНМ: 0300000092 [22:09:56]line РНМ: 0000000000091684 [22:09:56]line Версия ККМ: 001 [22:09:56]line ФМ: 0000000000871841 [22:09:56]line ФД: 37832 [22:09:56]line ФПД: 165221556046148 [22:09:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T221004&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37832&fm=165221556046148&tin=02508201610067®Number=0000000000091684&sum=8500 [22:09:57]line 0 [22:09:57]Connected sock=9 [22:09:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2F 01 00 00 D7 2A 27 01 2B BD 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 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 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 BC 0B 20 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C8 93 00 00 35 04 06 00 96 44 A4 28 49 44 68 9C 22 18 59 60 70 38 [22:09:57]written 0, free lines is 4095 [22:09:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 68 3B 47 00 4A 0D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C8 93 00 00 F4 03 04 00 B0 B6 1F 67 B6 04 01 00 00 9B 58 C5 F0 AA AE 23 EF [22:09:57]CommunicateWithHost err = 0 [22:09:57]CheckOFDResponse [22:09:57]1017 (14) - 77093643461234 [22:09:57]1041 (16) - 0000000000871841 [22:09:57]1040 (4) - 37832 [22:09:57]1012 (4) - 28.10.2024 16:07 [22:09:57]1206 (1) - 0 [22:09:57]OFD Sender: Remove packet 37832 [22:09:57]ProducePacketName [22:09:57]name=ofd_packets/00037832 [22:09:57]NVStorageDeleteData [22:09:57]Write to MH i2c: 01 00 00 A4 2C D0 [22:09:57]Write i2c OK [22:09:57]MH_I2C_Read... [22:09:57]Read from MH i2c: 01 [22:09:57]MH_I2C_Read... [22:09:57]Read from MH i2c: 01 07 00 [22:09:57]MH_I2C_Read... [22:09:57]Read from MH i2c: 01 07 00 A4 2C 00 00 00 00 00 C6 0C A9 [22:09:57]RasterBufferAndPrint [22:09:57]line [22:09:57]line [22:09:57]line [22:09:57]line [22:09:57]line [22:09:57]written 0, free lines is 3274 [22:09:57]MH_Cut [22:09:57]Write to MH i2c: D1 01 00 AB 2C 01 A9 [22:09:57]Write i2c OK [22:09:57]MH_I2C_Read... [22:09:57]Read from MH i2c: D1 [22:09:57]MH_I2C_Read... [22:09:57]Read from MH i2c: D1 01 00 [22:09:57]MH_I2C_Read... [22:09:57]Read from MH i2c: D1 01 00 AB 2C 00 A8 [22:09:57]Write to MH i2c: 01 00 00 AC 2C D8 [22:09:57]Write i2c OK [22:09:57]MH_I2C_Read... [22:09:57]OFD Sender: No OFD packet to send [22:09:58]*** Cut start [22:09:58]*** Partial cut [22:09:58]*** CUTSNS_PIN = 1 [22:09:58]*** CUTSNS_PIN = 0 [22:09:58]*** Brake cut motor [22:09:58]Read from MH i2c: 01 [22:09:58]MH_I2C_Read... [22:09:58]*** Stop cut motor [22:09:58]*** Cut end [22:09:58]Read from MH i2c: 01 07 00 [22:09:58]MH_I2C_Read... [22:09:58]Read from MH i2c: 01 07 00 AC 2C 00 00 00 00 00 FF 0F ED [22:09:58]process_action close_receipt done [22:09:58]requested_data is exist [22:09:58]produce_requested_data [22:09:58]requested_item fm.sn is exist - process it [22:09:58]wFMCommunicate request_size=4 [22:09:58]MH_SAM_APDU [22:09:58]CAPDU: 80 11 00 00 [22:09:58]Write to MH i2c: E2 08 00 AD 2C 80 11 00 00 00 00 00 00 53 [22:09:58]Write i2c OK [22:09:58]MH_I2C_Read... [22:09:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:09:59]Read from MH i2c: E2 [22:09:59]MH_I2C_Read... [22:09:59]Read from MH i2c: E2 17 00 [22:09:59]MH_I2C_Read... [22:09:59]Read from MH i2c: E2 17 00 AD 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A3 [22:09:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:09:59]wFMCommunicate OK [22:09:59]requested_item fd.num is exist - process it [22:09:59]SAM_PROTO_GetFieldsCounters [22:09:59]wFMCommunicate request_size=4 [22:09:59]MH_SAM_APDU [22:09:59]CAPDU: 80 13 00 00 [22:09:59]Write to MH i2c: E2 08 00 AE 2C 80 13 00 00 00 00 00 00 56 [22:09:59]Write i2c OK [22:09:59]MH_I2C_Read... [22:09:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:09:59]Read from MH i2c: E2 [22:09:59]MH_I2C_Read... [22:09:59]Read from MH i2c: E2 62 00 [22:09:59]MH_I2C_Read... [22:09:59]Read from MH i2c: E2 62 00 AE 2C 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 C8 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 DC [22:09:59]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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 C8 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:09:59]wFMCommunicate OK [22:09:59]SAM_PROTO_GetFieldsCounters done [22:09:59]requested_item shift.num is exist - process it [22:09:59]requested_item shift.opened is exist - process it [22:09:59]req_shift_opened [22:09:59]FM_GetShiftState [22:09:59]SAM_PROTO_GetShiftState [22:09:59]wFMCommunicate request_size=4 [22:09:59]MH_SAM_APDU [22:09:59]CAPDU: 80 13 01 00 [22:09:59]Write to MH i2c: E2 08 00 AF 2C 80 13 01 00 00 00 00 00 58 [22:09:59]Write i2c OK [22:09:59]MH_I2C_Read... [22:09:59]Read from MH i2c: E2 [22:09:59]MH_I2C_Read... [22:09:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:09:59]Read from MH i2c: E2 0E 00 [22:09:59]MH_I2C_Read... [22:09:59]Read from MH i2c: E2 0E 00 AF 2C 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 DA [22:09:59]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [22:09:59]wFMCommunicate OK [22:09:59]SAM_PROTO_GetShiftState done [22:09:59]FM_GetShiftState done [22:09:59]req_shift_opened done [22:09:59]requested_item shift.open_date is exist - process it [22:09:59]req_shift_open_date [22:09:59]req_shift_open_date done [22:09:59]produce_requested_data done [22:09:59]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37832,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [22:09:59]process_action_free close_receipt [22:09:59]json_value_free [22:09:59]json_value_free done [22:09:59]process_json_proto returns [22:09:59]Send response to host [22:09:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37832,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [22:09:59]free response buf [22:09:59]execute_script done [22:09:59]execute_script returns [22:09:59]free content buf [22:09:59]Sock 10.Close socket [22:09:59]Sock 10.Thread stoped [22:10:02]OFD Sender: No OFD packet to send [22:10:07]OFD Sender: No OFD packet to send [22:10:12]OFD Sender: No OFD packet to send [22:10:17]OFD Sender: No OFD packet to send [22:10:22]OFD Sender: No OFD packet to send [22:10:27]OFD Sender: No OFD packet to send [22:10:33]OFD Sender: No OFD packet to send [22:10:38]OFD Sender: No OFD packet to send [22:10:43]OFD Sender: No OFD packet to send [22:10:48]OFD Sender: No OFD packet to send [22:10:53]OFD Sender: No OFD packet to send [22:10:58]OFD Sender: No OFD packet to send [22:11:03]OFD Sender: No OFD packet to send [22:11:08]OFD Sender: No OFD packet to send [22:11:13]OFD Sender: No OFD packet to send [22:11:18]OFD Sender: No OFD packet to send [22:11:23]OFD Sender: No OFD packet to send [22:11:28]OFD Sender: No OFD packet to send [22:11:33]OFD Sender: No OFD packet to send [22:11:38]OFD Sender: No OFD packet to send [22:11:43]OFD Sender: No OFD packet to send [22:11:48]OFD Sender: No OFD packet to send [22:11:53]OFD Sender: No OFD packet to send [22:11:58]OFD Sender: No OFD packet to send [22:12:03]OFD Sender: No OFD packet to send [22:12:08]OFD Sender: No OFD packet to send [22:12:13]OFD Sender: No OFD packet to send [22:12:18]OFD Sender: No OFD packet to send [22:12:23]OFD Sender: No OFD packet to send [22:12:28]OFD Sender: No OFD packet to send [22:12:33]OFD Sender: No OFD packet to send [22:12:38]OFD Sender: No OFD packet to send [22:12:43]OFD Sender: No OFD packet to send [22:12:48]OFD Sender: No OFD packet to send [22:12:53]OFD Sender: No OFD packet to send [22:12:58]OFD Sender: No OFD packet to send [22:13:03]OFD Sender: No OFD packet to send [22:13:08]OFD Sender: No OFD packet to send [22:13:13]OFD Sender: No OFD packet to send [22:13:18]OFD Sender: No OFD packet to send [22:13:23]OFD Sender: No OFD packet to send [22:13:28]OFD Sender: No OFD packet to send [22:13:33]OFD Sender: No OFD packet to send [22:13:38]OFD Sender: No OFD packet to send [22:13:43]OFD Sender: No OFD packet to send [22:13:48]OFD Sender: No OFD packet to send [22:13:53]OFD Sender: No OFD packet to send [22:13:58]OFD Sender: No OFD packet to send [22:14:03]OFD Sender: No OFD packet to send [22:14:08]OFD Sender: No OFD packet to send [22:14:13]OFD Sender: No OFD packet to send [22:14:18]OFD Sender: No OFD packet to send [22:14:23]OFD Sender: No OFD packet to send [22:14:28]OFD Sender: No OFD packet to send [22:14:33]OFD Sender: No OFD packet to send [22:14:38]OFD Sender: No OFD packet to send [22:14:43]OFD Sender: No OFD packet to send [22:14:48]OFD Sender: No OFD packet to send [22:14:53]OFD Sender: No OFD packet to send [22:14:58]OFD Sender: No OFD packet to send [22:15:03]OFD Sender: No OFD packet to send [22:15:08]OFD Sender: No OFD packet to send [22:15:13]OFD Sender: No OFD packet to send [22:15:18]OFD Sender: No OFD packet to send [22:15:23]OFD Sender: No OFD packet to send [22:15:28]OFD Sender: No OFD packet to send [22:15:33]OFD Sender: No OFD packet to send [22:15:38]OFD Sender: No OFD packet to send [22:15:43]OFD Sender: No OFD packet to send [22:15:48]OFD Sender: No OFD packet to send [22:15:53]OFD Sender: No OFD packet to send [22:15:58]OFD Sender: No OFD packet to send [22:16:03]OFD Sender: No OFD packet to send [22:16:08]OFD Sender: No OFD packet to send [22:16:13]OFD Sender: No OFD packet to send [22:16:18]OFD Sender: No OFD packet to send [22:16:23]OFD Sender: No OFD packet to send [22:16:28]OFD Sender: No OFD packet to send [22:16:33]OFD Sender: No OFD packet to send [22:16:38]OFD Sender: No OFD packet to send [22:16:43]OFD Sender: No OFD packet to send [22:16:48]OFD Sender: No OFD packet to send [22:16:53]OFD Sender: No OFD packet to send [22:16:58]OFD Sender: No OFD packet to send [22:17:03]OFD Sender: No OFD packet to send [22:17:08]OFD Sender: No OFD packet to send [22:17:13]OFD Sender: No OFD packet to send [22:17:18]OFD Sender: No OFD packet to send [22:17:23]OFD Sender: No OFD packet to send [22:17:28]OFD Sender: No OFD packet to send [22:17:33]OFD Sender: No OFD packet to send [22:17:38]OFD Sender: No OFD packet to send [22:17:43]OFD Sender: No OFD packet to send [22:17:48]OFD Sender: No OFD packet to send [22:17:53]OFD Sender: No OFD packet to send [22:17:58]OFD Sender: No OFD packet to send [22:18:03]OFD Sender: No OFD packet to send [22:18:08]OFD Sender: No OFD packet to send [22:18:13]OFD Sender: No OFD packet to send [22:18:18]OFD Sender: No OFD packet to send [22:18:23]OFD Sender: No OFD packet to send [22:18:28]OFD Sender: No OFD packet to send [22:18:33]OFD Sender: No OFD packet to send [22:18:38]OFD Sender: No OFD packet to send [22:18:43]OFD Sender: No OFD packet to send [22:18:48]OFD Sender: No OFD packet to send [22:18:53]OFD Sender: No OFD packet to send [22:18:58]OFD Sender: No OFD packet to send [22:19:03]OFD Sender: No OFD packet to send [22:19:08]OFD Sender: No OFD packet to send [22:19:13]OFD Sender: No OFD packet to send [22:19:18]OFD Sender: No OFD packet to send [22:19:23]OFD Sender: No OFD packet to send [22:19:28]OFD Sender: No OFD packet to send [22:19:33]OFD Sender: No OFD packet to send [22:19:38]OFD Sender: No OFD packet to send [22:19:43]OFD Sender: No OFD packet to send [22:19:48]OFD Sender: No OFD packet to send [22:19:53]OFD Sender: No OFD packet to send [22:19:58]OFD Sender: No OFD packet to send [22:20:03]OFD Sender: No OFD packet to send [22:20:08]OFD Sender: No OFD packet to send [22:20:13]OFD Sender: No OFD packet to send [22:20:18]OFD Sender: No OFD packet to send [22:20:23]OFD Sender: No OFD packet to send [22:20:28]OFD Sender: No OFD packet to send [22:20:33]OFD Sender: No OFD packet to send [22:20:38]OFD Sender: No OFD packet to send [22:20:43]OFD Sender: No OFD packet to send [22:20:48]OFD Sender: No OFD packet to send [22:20:53]OFD Sender: No OFD packet to send [22:20:58]OFD Sender: No OFD packet to send [22:21:03]OFD Sender: No OFD packet to send [22:21:08]OFD Sender: No OFD packet to send [22:21:13]OFD Sender: No OFD packet to send [22:21:18]OFD Sender: No OFD packet to send [22:21:23]OFD Sender: No OFD packet to send [22:21:28]OFD Sender: No OFD packet to send [22:21:33]OFD Sender: No OFD packet to send [22:21:38]OFD Sender: No OFD packet to send [22:21:43]OFD Sender: No OFD packet to send [22:21:48]OFD Sender: No OFD packet to send [22:21:53]OFD Sender: No OFD packet to send [22:21:58]OFD Sender: No OFD packet to send [22:22:03]OFD Sender: No OFD packet to send [22:22:08]OFD Sender: No OFD packet to send [22:22:13]OFD Sender: No OFD packet to send [22:22:18]OFD Sender: No OFD packet to send [22:22:23]OFD Sender: No OFD packet to send [22:22:28]OFD Sender: No OFD packet to send [22:22:33]OFD Sender: No OFD packet to send [22:22:38]OFD Sender: No OFD packet to send [22:22:43]OFD Sender: No OFD packet to send [22:22:48]OFD Sender: No OFD packet to send [22:22:53]OFD Sender: No OFD packet to send [22:22:58]OFD Sender: No OFD packet to send [22:23:03]OFD Sender: No OFD packet to send [22:23:08]OFD Sender: No OFD packet to send [22:23:13]OFD Sender: No OFD packet to send [22:23:18]OFD Sender: No OFD packet to send [22:23:23]OFD Sender: No OFD packet to send [22:23:28]OFD Sender: No OFD packet to send [22:23:33]OFD Sender: No OFD packet to send [22:23:38]OFD Sender: No OFD packet to send [22:23:43]OFD Sender: No OFD packet to send [22:23:48]OFD Sender: No OFD packet to send [22:23:53]OFD Sender: No OFD packet to send [22:23:58]OFD Sender: No OFD packet to send [22:24:03]OFD Sender: No OFD packet to send [22:24:08]OFD Sender: No OFD packet to send [22:24:13]OFD Sender: No OFD packet to send [22:24:18]OFD Sender: No OFD packet to send [22:24:23]OFD Sender: No OFD packet to send [22:24:28]OFD Sender: No OFD packet to send [22:24:33]OFD Sender: No OFD packet to send [22:24:38]OFD Sender: No OFD packet to send [22:24:43]OFD Sender: No OFD packet to send [22:24:48]OFD Sender: No OFD packet to send [22:24:53]OFD Sender: No OFD packet to send [22:24:58]OFD Sender: No OFD packet to send [22:25:03]OFD Sender: No OFD packet to send [22:25:08]OFD Sender: No OFD packet to send [22:25:13]OFD Sender: No OFD packet to send [22:25:18]OFD Sender: No OFD packet to send [22:25:23]OFD Sender: No OFD packet to send [22:25:28]OFD Sender: No OFD packet to send [22:25:33]OFD Sender: No OFD packet to send [22:25:38]OFD Sender: No OFD packet to send [22:25:43]OFD Sender: No OFD packet to send [22:25:48]OFD Sender: No OFD packet to send [22:25:53]OFD Sender: No OFD packet to send [22:25:58]OFD Sender: No OFD packet to send [22:26:03]OFD Sender: No OFD packet to send [22:26:08]OFD Sender: No OFD packet to send [22:26:13]OFD Sender: No OFD packet to send [22:26:18]OFD Sender: No OFD packet to send [22:26:23]OFD Sender: No OFD packet to send [22:26:28]OFD Sender: No OFD packet to send [22:26:33]OFD Sender: No OFD packet to send [22:26:38]OFD Sender: No OFD packet to send [22:26:43]OFD Sender: No OFD packet to send [22:26:48]OFD Sender: No OFD packet to send [22:26:53]OFD Sender: No OFD packet to send [22:26:58]OFD Sender: No OFD packet to send [22:27:03]OFD Sender: No OFD packet to send [22:27:08]OFD Sender: No OFD packet to send [22:27:13]OFD Sender: No OFD packet to send [22:27:18]OFD Sender: No OFD packet to send [22:27:23]OFD Sender: No OFD packet to send [22:27:28]OFD Sender: No OFD packet to send [22:27:33]OFD Sender: No OFD packet to send [22:27:38]OFD Sender: No OFD packet to send [22:27:43]OFD Sender: No OFD packet to send [22:27:48]OFD Sender: No OFD packet to send [22:27:53]OFD Sender: No OFD packet to send [22:27:58]OFD Sender: No OFD packet to send [22:28:03]OFD Sender: No OFD packet to send [22:28:08]OFD Sender: No OFD packet to send [22:28:13]OFD Sender: No OFD packet to send [22:28:18]OFD Sender: No OFD packet to send [22:28:23]OFD Sender: No OFD packet to send [22:28:28]OFD Sender: No OFD packet to send [22:28:33]OFD Sender: No OFD packet to send [22:28:38]OFD Sender: No OFD packet to send [22:28:43]OFD Sender: No OFD packet to send [22:28:48]OFD Sender: No OFD packet to send [22:28:53]OFD Sender: No OFD packet to send [22:28:58]OFD Sender: No OFD packet to send [22:29:03]OFD Sender: No OFD packet to send [22:29:08]OFD Sender: No OFD packet to send [22:29:13]OFD Sender: No OFD packet to send [22:29:18]OFD Sender: No OFD packet to send [22:29:23]OFD Sender: No OFD packet to send [22:29:28]OFD Sender: No OFD packet to send [22:29:34]OFD Sender: No OFD packet to send [22:29:39]OFD Sender: No OFD packet to send [22:29:44]OFD Sender: No OFD packet to send [22:29:49]OFD Sender: No OFD packet to send [22:29:54]OFD Sender: No OFD packet to send [22:29:59]OFD Sender: No OFD packet to send [22:30:04]OFD Sender: No OFD packet to send [22:30:09]OFD Sender: No OFD packet to send [22:30:14]OFD Sender: No OFD packet to send [22:30:19]OFD Sender: No OFD packet to send [22:30:24]OFD Sender: No OFD packet to send [22:30:29]OFD Sender: No OFD packet to send [22:30:34]OFD Sender: No OFD packet to send [22:30:39]OFD Sender: No OFD packet to send [22:30:44]OFD Sender: No OFD packet to send [22:30:49]OFD Sender: No OFD packet to send [22:30:54]OFD Sender: No OFD packet to send [22:30:59]OFD Sender: No OFD packet to send [22:31:04]OFD Sender: No OFD packet to send [22:31:09]OFD Sender: No OFD packet to send [22:31:14]OFD Sender: No OFD packet to send [22:31:19]OFD Sender: No OFD packet to send [22:31:24]OFD Sender: No OFD packet to send [22:31:29]OFD Sender: No OFD packet to send [22:31:34]OFD Sender: No OFD packet to send [22:31:39]OFD Sender: No OFD packet to send [22:31:44]OFD Sender: No OFD packet to send [22:31:49]OFD Sender: No OFD packet to send [22:31:54]OFD Sender: No OFD packet to send [22:31:59]OFD Sender: No OFD packet to send [22:32:04]OFD Sender: No OFD packet to send [22:32:09]OFD Sender: No OFD packet to send [22:32:14]OFD Sender: No OFD packet to send [22:32:19]OFD Sender: No OFD packet to send [22:32:24]OFD Sender: No OFD packet to send [22:32:29]OFD Sender: No OFD packet to send [22:32:34]OFD Sender: No OFD packet to send [22:32:39]OFD Sender: No OFD packet to send [22:32:44]OFD Sender: No OFD packet to send [22:32:49]OFD Sender: No OFD packet to send [22:32:54]OFD Sender: No OFD packet to send [22:32:59]OFD Sender: No OFD packet to send [22:33:04]OFD Sender: No OFD packet to send [22:33:09]OFD Sender: No OFD packet to send [22:33:14]OFD Sender: No OFD packet to send [22:33:19]OFD Sender: No OFD packet to send [22:33:24]OFD Sender: No OFD packet to send [22:33:29]OFD Sender: No OFD packet to send [22:33:34]OFD Sender: No OFD packet to send [22:33:39]OFD Sender: No OFD packet to send [22:33:44]OFD Sender: No OFD packet to send [22:33:49]OFD Sender: No OFD packet to send [22:33:54]OFD Sender: No OFD packet to send [22:33:59]OFD Sender: No OFD packet to send [22:34:04]OFD Sender: No OFD packet to send [22:34:09]OFD Sender: No OFD packet to send [22:34:14]OFD Sender: No OFD packet to send [22:34:19]OFD Sender: No OFD packet to send [22:34:24]OFD Sender: No OFD packet to send [22:34:29]OFD Sender: No OFD packet to send [22:34:34]OFD Sender: No OFD packet to send [22:34:39]OFD Sender: No OFD packet to send [22:34:44]OFD Sender: No OFD packet to send [22:34:49]OFD Sender: No OFD packet to send [22:34:54]OFD Sender: No OFD packet to send [22:34:59]OFD Sender: No OFD packet to send [22:35:04]OFD Sender: No OFD packet to send [22:35:09]OFD Sender: No OFD packet to send [22:35:14]OFD Sender: No OFD packet to send [22:35:19]OFD Sender: No OFD packet to send [22:35:24]OFD Sender: No OFD packet to send [22:35:29]OFD Sender: No OFD packet to send [22:35:34]OFD Sender: No OFD packet to send [22:35:39]OFD Sender: No OFD packet to send [22:35:44]OFD Sender: No OFD packet to send [22:35:49]OFD Sender: No OFD packet to send [22:35:54]OFD Sender: No OFD packet to send [22:35:59]OFD Sender: No OFD packet to send [22:36:04]OFD Sender: No OFD packet to send [22:36:09]OFD Sender: No OFD packet to send [22:36:14]OFD Sender: No OFD packet to send [22:36:19]OFD Sender: No OFD packet to send [22:36:24]OFD Sender: No OFD packet to send [22:36:29]OFD Sender: No OFD packet to send [22:36:34]OFD Sender: No OFD packet to send [22:36:39]OFD Sender: No OFD packet to send [22:36:44]OFD Sender: No OFD packet to send [22:36:49]OFD Sender: No OFD packet to send [22:36:54]OFD Sender: No OFD packet to send [22:36:59]OFD Sender: No OFD packet to send [22:37:04]OFD Sender: No OFD packet to send [22:37:09]OFD Sender: No OFD packet to send [22:37:14]OFD Sender: No OFD packet to send [22:37:19]OFD Sender: No OFD packet to send [22:37:24]OFD Sender: No OFD packet to send [22:37:29]OFD Sender: No OFD packet to send [22:37:34]OFD Sender: No OFD packet to send [22:37:39]OFD Sender: No OFD packet to send [22:37:44]OFD Sender: No OFD packet to send [22:37:49]OFD Sender: No OFD packet to send [22:37:54]OFD Sender: No OFD packet to send [22:37:59]OFD Sender: No OFD packet to send [22:38:04]OFD Sender: No OFD packet to send [22:38:09]OFD Sender: No OFD packet to send [22:38:14]OFD Sender: No OFD packet to send [22:38:19]OFD Sender: No OFD packet to send [22:38:24]OFD Sender: No OFD packet to send [22:38:29]OFD Sender: No OFD packet to send [22:38:34]OFD Sender: No OFD packet to send [22:38:39]OFD Sender: No OFD packet to send [22:38:44]OFD Sender: No OFD packet to send [22:38:49]OFD Sender: No OFD packet to send [22:38:54]OFD Sender: No OFD packet to send [22:38:59]OFD Sender: No OFD packet to send [22:39:04]OFD Sender: No OFD packet to send [22:39:09]OFD Sender: No OFD packet to send [22:39:14]OFD Sender: No OFD packet to send [22:39:19]OFD Sender: No OFD packet to send [22:39:24]OFD Sender: No OFD packet to send [22:39:29]OFD Sender: No OFD packet to send [22:39:34]OFD Sender: No OFD packet to send [22:39:39]OFD Sender: No OFD packet to send [22:39:44]OFD Sender: No OFD packet to send [22:39:49]OFD Sender: No OFD packet to send [22:39:54]OFD Sender: No OFD packet to send [22:39:59]OFD Sender: No OFD packet to send [22:40:04]OFD Sender: No OFD packet to send [22:40:09]OFD Sender: No OFD packet to send [22:40:14]OFD Sender: No OFD packet to send [22:40:19]OFD Sender: No OFD packet to send [22:40:24]OFD Sender: No OFD packet to send [22:40:29]OFD Sender: No OFD packet to send [22:40:34]OFD Sender: No OFD packet to send [22:40:39]OFD Sender: No OFD packet to send [22:40:44]OFD Sender: No OFD packet to send [22:40:49]OFD Sender: No OFD packet to send [22:40:54]OFD Sender: No OFD packet to send [22:40:59]OFD Sender: No OFD packet to send [22:41:04]OFD Sender: No OFD packet to send [22:41:09]OFD Sender: No OFD packet to send [22:41:14]OFD Sender: No OFD packet to send [22:41:19]OFD Sender: No OFD packet to send [22:41:24]OFD Sender: No OFD packet to send [22:41:29]OFD Sender: No OFD packet to send [22:41:34]OFD Sender: No OFD packet to send [22:41:39]OFD Sender: No OFD packet to send [22:41:44]OFD Sender: No OFD packet to send [22:41:49]OFD Sender: No OFD packet to send [22:41:54]OFD Sender: No OFD packet to send [22:41:59]OFD Sender: No OFD packet to send [22:42:04]OFD Sender: No OFD packet to send [22:42:09]OFD Sender: No OFD packet to send [22:42:14]OFD Sender: No OFD packet to send [22:42:19]OFD Sender: No OFD packet to send [22:42:24]OFD Sender: No OFD packet to send [22:42:29]OFD Sender: No OFD packet to send [22:42:34]OFD Sender: No OFD packet to send [22:42:39]OFD Sender: No OFD packet to send [22:42:44]OFD Sender: No OFD packet to send [22:42:49]OFD Sender: No OFD packet to send [22:42:54]OFD Sender: No OFD packet to send [22:42:59]OFD Sender: No OFD packet to send [22:43:04]OFD Sender: No OFD packet to send [22:43:09]OFD Sender: No OFD packet to send [22:43:14]OFD Sender: No OFD packet to send [22:43:19]OFD Sender: No OFD packet to send [22:43:24]OFD Sender: No OFD packet to send [22:43:29]OFD Sender: No OFD packet to send [22:43:34]OFD Sender: No OFD packet to send [22:43:39]OFD Sender: No OFD packet to send [22:43:44]OFD Sender: No OFD packet to send [22:43:49]OFD Sender: No OFD packet to send [22:43:54]OFD Sender: No OFD packet to send [22:43:59]OFD Sender: No OFD packet to send [22:44:04]OFD Sender: No OFD packet to send [22:44:09]OFD Sender: No OFD packet to send [22:44:14]OFD Sender: No OFD packet to send [22:44:19]OFD Sender: No OFD packet to send [22:44:24]OFD Sender: No OFD packet to send [22:44:29]OFD Sender: No OFD packet to send [22:44:34]OFD Sender: No OFD packet to send [22:44:39]OFD Sender: No OFD packet to send [22:44:44]OFD Sender: No OFD packet to send [22:44:49]OFD Sender: No OFD packet to send [22:44:54]OFD Sender: No OFD packet to send [22:44:59]OFD Sender: No OFD packet to send [22:45:04]OFD Sender: No OFD packet to send [22:45:09]OFD Sender: No OFD packet to send [22:45:14]OFD Sender: No OFD packet to send [22:45:19]OFD Sender: No OFD packet to send [22:45:24]OFD Sender: No OFD packet to send [22:45:29]OFD Sender: No OFD packet to send [22:45:34]OFD Sender: No OFD packet to send [22:45:39]OFD Sender: No OFD packet to send [22:45:44]OFD Sender: No OFD packet to send [22:45:49]OFD Sender: No OFD packet to send [22:45:54]OFD Sender: No OFD packet to send [22:45:59]OFD Sender: No OFD packet to send [22:46:04]OFD Sender: No OFD packet to send [22:46:09]OFD Sender: No OFD packet to send [22:46:14]OFD Sender: No OFD packet to send [22:46:19]OFD Sender: No OFD packet to send [22:46:24]OFD Sender: No OFD packet to send [22:46:29]OFD Sender: No OFD packet to send [22:46:34]OFD Sender: No OFD packet to send [22:46:39]OFD Sender: No OFD packet to send [22:46:44]OFD Sender: No OFD packet to send [22:46:49]OFD Sender: No OFD packet to send [22:46:54]OFD Sender: No OFD packet to send [22:46:59]OFD Sender: No OFD packet to send [22:47:04]OFD Sender: No OFD packet to send [22:47:09]OFD Sender: No OFD packet to send [22:47:14]OFD Sender: No OFD packet to send [22:47:19]OFD Sender: No OFD packet to send [22:47:24]OFD Sender: No OFD packet to send [22:47:29]OFD Sender: No OFD packet to send [22:47:34]OFD Sender: No OFD packet to send [22:47:39]OFD Sender: No OFD packet to send [22:47:44]OFD Sender: No OFD packet to send [22:47:49]OFD Sender: No OFD packet to send [22:47:54]OFD Sender: No OFD packet to send [22:47:59]OFD Sender: No OFD packet to send [22:48:04]OFD Sender: No OFD packet to send [22:48:09]OFD Sender: No OFD packet to send [22:48:14]OFD Sender: No OFD packet to send [22:48:19]OFD Sender: No OFD packet to send [22:48:24]OFD Sender: No OFD packet to send [22:48:30]OFD Sender: No OFD packet to send [22:48:35]OFD Sender: No OFD packet to send [22:48:40]OFD Sender: No OFD packet to send [22:48:45]OFD Sender: No OFD packet to send [22:48:50]OFD Sender: No OFD packet to send [22:48:55]OFD Sender: No OFD packet to send [22:49:00]OFD Sender: No OFD packet to send [22:49:05]OFD Sender: No OFD packet to send [22:49:10]OFD Sender: No OFD packet to send [22:49:15]OFD Sender: No OFD packet to send [22:49:20]OFD Sender: No OFD packet to send [22:49:25]OFD Sender: No OFD packet to send [22:49:30]OFD Sender: No OFD packet to send [22:49:35]OFD Sender: No OFD packet to send [22:49:40]OFD Sender: No OFD packet to send [22:49:45]OFD Sender: No OFD packet to send [22:49:50]OFD Sender: No OFD packet to send [22:49:55]OFD Sender: No OFD packet to send [22:50:00]OFD Sender: No OFD packet to send [22:50:05]OFD Sender: No OFD packet to send [22:50:10]OFD Sender: No OFD packet to send [22:50:15]OFD Sender: No OFD packet to send [22:50:20]OFD Sender: No OFD packet to send [22:50:25]OFD Sender: No OFD packet to send [22:50:30]OFD Sender: No OFD packet to send [22:50:35]OFD Sender: No OFD packet to send [22:50:40]OFD Sender: No OFD packet to send [22:50:45]OFD Sender: No OFD packet to send [22:50:50]OFD Sender: No OFD packet to send [22:50:55]OFD Sender: No OFD packet to send [22:51:00]OFD Sender: No OFD packet to send [22:51:05]OFD Sender: No OFD packet to send [22:51:10]OFD Sender: No OFD packet to send [22:51:15]OFD Sender: No OFD packet to send [22:51:20]OFD Sender: No OFD packet to send [22:51:25]OFD Sender: No OFD packet to send [22:51:30]OFD Sender: No OFD packet to send [22:51:35]OFD Sender: No OFD packet to send [22:51:40]OFD Sender: No OFD packet to send [22:51:45]OFD Sender: No OFD packet to send [22:51:50]OFD Sender: No OFD packet to send [22:51:55]OFD Sender: No OFD packet to send [22:52:00]OFD Sender: No OFD packet to send [22:52:05]OFD Sender: No OFD packet to send [22:52:10]OFD Sender: No OFD packet to send [22:52:15]OFD Sender: No OFD packet to send [22:52:20]OFD Sender: No OFD packet to send [22:52:25]OFD Sender: No OFD packet to send [22:52:30]OFD Sender: No OFD packet to send [22:52:35]OFD Sender: No OFD packet to send [22:52:40]OFD Sender: No OFD packet to send [22:52:45]OFD Sender: No OFD packet to send [22:52:50]OFD Sender: No OFD packet to send [22:52:55]OFD Sender: No OFD packet to send [22:53:00]OFD Sender: No OFD packet to send [22:53:05]OFD Sender: No OFD packet to send [22:53:10]OFD Sender: No OFD packet to send [22:53:15]OFD Sender: No OFD packet to send [22:53:20]OFD Sender: No OFD packet to send [22:53:25]OFD Sender: No OFD packet to send [22:53:30]OFD Sender: No OFD packet to send [22:53:35]OFD Sender: No OFD packet to send [22:53:40]OFD Sender: No OFD packet to send [22:53:45]OFD Sender: No OFD packet to send [22:53:50]OFD Sender: No OFD packet to send [22:53:55]OFD Sender: No OFD packet to send [22:54:00]OFD Sender: No OFD packet to send [22:54:05]OFD Sender: No OFD packet to send [22:54:10]OFD Sender: No OFD packet to send [22:54:15]OFD Sender: No OFD packet to send [22:54:20]OFD Sender: No OFD packet to send [22:54:25]OFD Sender: No OFD packet to send [22:54:30]OFD Sender: No OFD packet to send [22:54:35]OFD Sender: No OFD packet to send [22:54:40]OFD Sender: No OFD packet to send [22:54:45]OFD Sender: No OFD packet to send [22:54:50]OFD Sender: No OFD packet to send [22:54:55]OFD Sender: No OFD packet to send [22:55:00]OFD Sender: No OFD packet to send [22:55:05]OFD Sender: No OFD packet to send [22:55:10]OFD Sender: No OFD packet to send [22:55:15]OFD Sender: No OFD packet to send [22:55:20]OFD Sender: No OFD packet to send [22:55:25]OFD Sender: No OFD packet to send [22:55:30]OFD Sender: No OFD packet to send [22:55:35]OFD Sender: No OFD packet to send [22:55:40]OFD Sender: No OFD packet to send [22:55:45]OFD Sender: No OFD packet to send [22:55:50]OFD Sender: No OFD packet to send [22:55:55]OFD Sender: No OFD packet to send [22:56:00]OFD Sender: No OFD packet to send [22:56:05]OFD Sender: No OFD packet to send [22:56:10]OFD Sender: No OFD packet to send [22:56:15]OFD Sender: No OFD packet to send [22:56:20]OFD Sender: No OFD packet to send [22:56:25]OFD Sender: No OFD packet to send [22:56:30]OFD Sender: No OFD packet to send [22:56:35]OFD Sender: No OFD packet to send [22:56:40]OFD Sender: No OFD packet to send [22:56:45]OFD Sender: No OFD packet to send [22:56:50]OFD Sender: No OFD packet to send [22:56:55]OFD Sender: No OFD packet to send [22:57:00]OFD Sender: No OFD packet to send [22:57:05]OFD Sender: No OFD packet to send [22:57:10]OFD Sender: No OFD packet to send [22:57:15]OFD Sender: No OFD packet to send [22:57:20]OFD Sender: No OFD packet to send [22:57:25]OFD Sender: No OFD packet to send [22:57:30]OFD Sender: No OFD packet to send [22:57:35]OFD Sender: No OFD packet to send [22:57:40]OFD Sender: No OFD packet to send [22:57:45]OFD Sender: No OFD packet to send [22:57:50]OFD Sender: No OFD packet to send [22:57:55]OFD Sender: No OFD packet to send [22:58:00]OFD Sender: No OFD packet to send [22:58:05]OFD Sender: No OFD packet to send [22:58:10]OFD Sender: No OFD packet to send [22:58:15]OFD Sender: No OFD packet to send [22:58:20]OFD Sender: No OFD packet to send [22:58:25]OFD Sender: No OFD packet to send [22:58:30]OFD Sender: No OFD packet to send [22:58:35]OFD Sender: No OFD packet to send [22:58:40]OFD Sender: No OFD packet to send [22:58:45]OFD Sender: No OFD packet to send [22:58:50]OFD Sender: No OFD packet to send [22:58:55]OFD Sender: No OFD packet to send [22:59:00]OFD Sender: No OFD packet to send [22:59:05]OFD Sender: No OFD packet to send [22:59:10]OFD Sender: No OFD packet to send [22:59:15]OFD Sender: No OFD packet to send [22:59:20]OFD Sender: No OFD packet to send [22:59:25]OFD Sender: No OFD packet to send [22:59:30]OFD Sender: No OFD packet to send [22:59:35]OFD Sender: No OFD packet to send [22:59:40]OFD Sender: No OFD packet to send [22:59:45]OFD Sender: No OFD packet to send [22:59:50]OFD Sender: No OFD packet to send [22:59:55]OFD Sender: No OFD packet to send [23:00:00]OFD Sender: No OFD packet to send [23:00:05]OFD Sender: No OFD packet to send [23:00:10]OFD Sender: No OFD packet to send [23:00:15]OFD Sender: No OFD packet to send [23:00:20]OFD Sender: No OFD packet to send [23:00:25]OFD Sender: No OFD packet to send [23:00:30]OFD Sender: No OFD packet to send [23:00:35]OFD Sender: No OFD packet to send [23:00:40]OFD Sender: No OFD packet to send [23:00:45]OFD Sender: No OFD packet to send [23:00:45]accept exits with 7 [23:00:45]New connection [23:00:45]New thread 3067440484 created [23:00:45]Thread 3067297124 joined [23:00:45]Waiting for new connection... [23:00:45] Sock 7.Parse request [23:00:45]Sock 7.Check first char [23:00:45]Sock 7.First char is OK [23:00:45]request: POST /json_proto HTTP/1.0 [23:00:45]Method: POST [23:00:45]URL: /json_proto [23:00:45]Method is POST - this is cgi request [23:00:45]url: /json_proto [23:00:45]query_string will be loaded in cgi processing [23:00:45]execute_cgi json_proto POST (null) [23:00:45]execute_cgi path=json_proto method=POST [23:00:45]POST find Content-Length [23:00:45]Host: 172.17.40.196:8080 [23:00:45]Content-Length: 661 [23:00:45]Content-Type: application/json [23:00:45] [23:00:45]POST finish read [23:00:45]Found Content-Length = 661 [23:00:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35132", "tax_sys" : 0, "items" : [ { "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 54.00, "quantity" : 1.000, "sum" : 54.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 54.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:00:45]execute_script... [23:00:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35132", "tax_sys" : 0, "items" : [ { "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 54.00, "quantity" : 1.000, "sum" : 54.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 54.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:00:45]POST & json_proto [23:00:45]process_json_proto [23:00:45]json parsed OK: [23:00:45]protocol is kg_v1.0 [23:00:45]action value=close_receipt [23:00:45]process_action close_receipt [23:00:45]cmd_close_receipt [23:00:45]MH_GetDate [23:00:45]Write to MH i2c: F0 00 00 B0 2C CB [23:00:45]Write i2c OK [23:00:45]MH_I2C_Read... [23:00:45]Read from MH i2c: F0 [23:00:45]MH_I2C_Read... [23:00:45]Read from MH i2c: F0 09 00 [23:00:45]MH_I2C_Read... [23:00:45]Read from MH i2c: F0 09 00 B0 2C 00 A7 17 20 67 5B 68 A1 66 E3 [23:00:45]GetLastDocTimeStamp 1730153404 [23:00:45]current date 1730156455 [23:00:45]FM_GetShiftState [23:00:45]SAM_PROTO_GetShiftState [23:00:45]wFMCommunicate request_size=4 [23:00:45]MH_SAM_APDU [23:00:45]CAPDU: 80 13 01 00 [23:00:45]Write to MH i2c: E2 08 00 B1 2C 80 13 01 00 00 00 00 00 5A [23:00:45]Write i2c OK [23:00:45]MH_I2C_Read... [23:00:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:00:45]Read from MH i2c: E2 [23:00:45]MH_I2C_Read... [23:00:45]Read from MH i2c: E2 0E 00 [23:00:45]MH_I2C_Read... [23:00:45]Read from MH i2c: E2 0E 00 B1 2C 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 DC [23:00:45]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [23:00:45]wFMCommunicate OK [23:00:45]SAM_PROTO_GetShiftState done [23:00:45]FM_GetShiftState done [23:00:45]opened in 1730073884 [23:00:45]opened+sec_in_day 1730160284 [23:00:45]quantity*price = 5400 [23:00:45]sum+1 = 5401 [23:00:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 54.00 НСП 1% : 0.48 НДС 12% : 5.73 Наличными: 54.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 76 28.10.2024 23:00 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37833 ФПД: 225703533934419 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T230055&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37833&fm=225703533934419&tin=02508201610067®Number=0000000000091684&sum=5400 0 [23:00:46]StoreToDocumentArchive [23:00:46]shift 551 fd 37833 [23:00:46]save to /storage/0551/doc_00037833 [23:00:46]save last doc name /storage/0551/doc_00037833 to /storage/kkm_last_doc_name [23:00:46]save OK [23:00:46]Clear old archive folders... [23:00:46]ProcessDocumentItem done err = 0, tmpTLVsize=281 [23:00:46]tlvbuf is 0021B790 [23:00:46]SAM_PROTO_ClearQueue [23:00:46]wFMCommunicate request_size=4 [23:00:46]MH_SAM_APDU [23:00:46]CAPDU: 80 09 00 00 [23:00:46]Write to MH i2c: E2 08 00 BE 2C 80 09 00 00 00 00 00 00 5C [23:00:46]Write i2c OK [23:00:46]MH_I2C_Read... [23:00:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:00:47]Read from MH i2c: E2 [23:00:47]MH_I2C_Read... [23:00:47]Read from MH i2c: E2 03 00 [23:00:47]MH_I2C_Read... [23:00:47]Read from MH i2c: E2 03 00 BE 2C 00 90 00 5E [23:00:47]RAPDU: 90 00 [23:00:47]wFMCommunicate OK [23:00:47]SAM_PROTO_ClearQueue done [23:00:47]KKMCreateOFDPacket [23:00:47]OFDProtocolAddRootSTLVToBuf [23:00:47]FM_MakeSignedData [23:00:47]FM_MakeSignedData [23:00:47]SAM_PROTO_SignData [23:00:47]wFMCommunicate request_size=4 [23:00:47]MH_SAM_APDU [23:00:47]CAPDU: 80 0D 01 02 [23:00:47]Write to MH i2c: E2 08 00 BF 2C 80 0D 01 02 00 00 00 00 64 [23:00:47]Write i2c OK [23:00:47]MH_I2C_Read... [23:00:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:00:47]Read from MH i2c: E2 [23:00:47]MH_I2C_Read... [23:00:47]Read from MH i2c: E2 03 00 [23:00:47]MH_I2C_Read... [23:00:47]Read from MH i2c: E2 03 00 BF 2C 00 90 00 5F [23:00:47]RAPDU: 90 00 [23:00:47]wFMCommunicate OK [23:00:47]wFMCommunicate request_size=255 [23:00:47]MH_SAM_APDU [23:00:47]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 02 00 00 00 00 07 04 06 00 18 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 A7 17 20 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 [23:00:47]Write to MH i2c: E2 02 01 C0 2C 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 02 00 00 00 00 07 04 06 00 18 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 A7 17 20 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 00 3B [23:00:47]Write i2c OK [23:00:47]MH_I2C_Read... [23:00:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:00:47]Read from MH i2c: E2 [23:00:47]MH_I2C_Read... [23:00:47]Read from MH i2c: E2 03 00 [23:00:47]MH_I2C_Read... [23:00:47]Read from MH i2c: E2 03 00 C0 2C 00 90 00 60 [23:00:47]RAPDU: 90 00 [23:00:47]wFMCommunicate OK [23:00:47]wFMCommunicate request_size=40 [23:00:47]MH_SAM_APDU [23:00:47]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C9 93 00 00 35 04 06 00 CD 46 B2 F6 F7 53 [23:00:47]Write to MH i2c: E2 2B 00 C1 2C 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C9 93 00 00 35 04 06 00 CD 46 B2 F6 F7 53 00 00 82 [23:00:47]Write i2c OK [23:00:47]MH_I2C_Read... [23:00:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:00:47]Read from MH i2c: E2 [23:00:47]MH_I2C_Read... [23:00:47]Read from MH i2c: E2 03 00 [23:00:47]MH_I2C_Read... [23:00:47]Read from MH i2c: E2 03 00 C1 2C 00 90 00 61 [23:00:47]RAPDU: 90 00 [23:00:47]wFMCommunicate OK [23:00:47]wFMCommunicate request_size=4 [23:00:47]MH_SAM_APDU [23:00:47]CAPDU: 80 0D 03 02 [23:00:47]Write to MH i2c: E2 08 00 C2 2C 80 0D 03 02 00 00 00 00 69 [23:00:47]Write i2c OK [23:00:47]MH_I2C_Read... [23:00:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:00:47]Read from MH i2c: E2 [23:00:47]MH_I2C_Read... [23:00:47]Read from MH i2c: E2 0B 00 [23:00:47]MH_I2C_Read... [23:00:47]Read from MH i2c: E2 0B 00 C2 2C 00 E4 11 88 F2 9E 5C 08 CB 90 00 A6 [23:00:47]RAPDU: E4 11 88 F2 9E 5C 08 CB 90 00 [23:00:47]wFMCommunicate OK [23:00:47]SAM_PROTO_SignData done [23:00:47]FM_MakeSignedData done [23:00:47]CreateOFDProtocolMessage [23:00:47]wFMCommunicate request_size=4 [23:00:47]MH_SAM_APDU [23:00:47]CAPDU: 80 11 00 00 [23:00:47]Write to MH i2c: E2 08 00 C3 2C 80 11 00 00 00 00 00 00 69 [23:00:47]Write i2c OK [23:00:47]MH_I2C_Read... [23:00:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:00:47]Read from MH i2c: E2 [23:00:47]MH_I2C_Read... [23:00:47]Read from MH i2c: E2 17 00 [23:00:47]MH_I2C_Read... [23:00:47]Read from MH i2c: E2 17 00 C3 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B9 [23:00:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:00:47]wFMCommunicate OK [23:00:47]CreateOFDProtocolMessage done [23:00:47]OFDSenderStorePacket 37833 [23:00:47]StoreOFDPacket docnum=37833 [23:00:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2D 01 00 00 35 2E 25 01 82 FD 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 02 00 00 00 00 07 04 06 00 18 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 A7 17 20 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C9 93 00 00 35 04 06 00 CD 46 B2 F6 F7 53 E4 11 88 F2 9E 5C 08 CB [23:00:47]CheckFolder [23:00:47]dirname=/storage/ofd_packets [23:00:47]CheckFolder done [23:00:47]ProducePacketName [23:00:47]name=ofd_packets/00037833 [23:00:47]NVStorageSaveData ofd_packets/00037833 [23:00:47]File name is /storage/ofd_packets/00037833 [23:00:47]Write 331 bytes [23:00:47]NVStorageSaveData done [23:00:47]OFDSenderStorePacket done [23:00:47]KKMCreateOFDPacket done [23:00:47]NVStorageSaveData kkm_last_timestamp [23:00:47]File name is /storage/kkm_last_timestamp [23:00:47]Write 4 bytes [23:00:47]NVStorageSaveData done [23:00:47]ExternCall_PrintAddStr [23:00:47]wPrintStart [23:00:47]Write to MH i2c: 01 00 00 C4 2C F0 [23:00:47]Write i2c OK [23:00:47]MH_I2C_Read... [23:00:47]Read from MH i2c: 01 [23:00:47]MH_I2C_Read... [23:00:47]Read from MH i2c: 01 07 00 [23:00:47]MH_I2C_Read... [23:00:47]Read from MH i2c: 01 07 00 C4 2C 00 00 00 00 00 FF 0F 05 [23:00:47]RasterBufferAndPrint [23:00:47]line Счет N : (3)35132 [23:00:47]line ИНН: 02508201610067 [23:00:47]line Контрольно-Кассовый Чек [23:00:47]line ПРОДАЖА [23:00:47]line Товар: 4011100977952 [23:00:47]line Шок Батончик Твикс 55г [23:00:47]line 1.000 * 54.00 [23:00:47]line = 54.00 [23:00:47]line НДС 12% НСП 1% [23:00:47]line > о реализуемом товаре [23:00:47]line ИТОГО: 54.00 [23:00:47]line НСП 1% : 0.48 [23:00:47]line НДС 12% : 5.73 [23:00:47]line Наличными: 54.00 [23:00:47]line Безнал.: 0.00 [23:00:47]line Место: АЗС № 126 "Партнер Нефть" [23:00:47]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [23:00:47]line СНО: Общий режим [23:00:47]line Чек 76 28.10.2024 23:00 [23:00:47]line Смена: 551 ФФД: 1.0 [23:00:47]line ЗНМ: 0300000092 [23:00:47]line РНМ: 0000000000091684 [23:00:47]line Версия ККМ: 001 [23:00:47]line ФМ: 0000000000871841 [23:00:47]line ФД: 37833 [23:00:47]line ФПД: 225703533934419 [23:00:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T230055&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37833&fm=225703533934419&tin=02508201610067®Number=0000000000091684&sum=5400 [23:00:47]OFD Sender: Processing packet 37833 [packets to send 42, broken 41] [23:00:47]ProducePacketName [23:00:47]name=ofd_packets/00037833 [23:00:47]OFD Sender: To server: pG, [23:00:47]CommunicateWithHost lk.salyk.kg:30040 [23:00:47]ConnectInit lk.salyk.kg [23:00:47]line 0 [23:00:47]written 0, free lines is 4095 [23:00:48]Connected sock=10 [23:00: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 38 34 31 2D 01 00 00 35 2E 25 01 82 FD 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 02 00 00 00 00 07 04 06 00 18 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 A7 17 20 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C9 93 00 00 35 04 06 00 CD 46 B2 F6 F7 53 E4 11 88 F2 9E 5C 08 CB [23:00:48]Write to MH i2c: 01 00 00 EC 2C 18 [23:00:48]Write i2c OK [23:00:48]MH_I2C_Read... [23:00:48]Read from MH i2c: 01 [23:00:48]MH_I2C_Read... [23:00:48]Read from MH i2c: 01 07 00 [23:00:48]MH_I2C_Read... [23:00:48]Read from MH i2c: 01 07 00 EC 2C 00 00 00 00 00 CA 0C F5 [23:00:48]RasterBufferAndPrint [23:00:48]line [23:00:48]line [23:00:48]line [23:00:48]line [23:00:48]line [23:00:48]written 0, free lines is 3282 [23:00:48]MH_Cut [23:00:48]Write to MH i2c: D1 01 00 F3 2C 01 F1 [23:00:48]Write i2c OK [23:00:48]MH_I2C_Read... [23:00:48]Read from MH i2c: D1 [23:00:48]MH_I2C_Read... [23:00:48]Read from MH i2c: D1 01 00 [23:00:48]MH_I2C_Read... [23:00:48]Read from MH i2c: D1 01 00 F3 2C 00 F0 [23:00:48]Write to MH i2c: 01 00 00 F4 2C 20 [23:00:48]Write i2c OK [23:00:48]MH_I2C_Read... [23:00:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 40 F7 47 00 10 8F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 C9 93 00 00 F4 03 04 00 9B C2 1F 67 B6 04 01 00 00 A1 6F 81 31 72 FE 22 DC [23:00:48]CommunicateWithHost err = 0 [23:00:48]CheckOFDResponse [23:00:48]1017 (14) - 77093643461234 [23:00:48]1041 (16) - 0000000000871841 [23:00:48]1040 (4) - 37833 [23:00:48]1012 (4) - 28.10.2024 16:58 [23:00:48]1206 (1) - 0 [23:00:48]OFD Sender: Remove packet 37833 [23:00:48]ProducePacketName [23:00:48]name=ofd_packets/00037833 [23:00:48]NVStorageDeleteData [23:00:49]OFD Sender: No OFD packet to send [23:00:49]*** Cut start [23:00:49]*** Partial cut [23:00:49]*** CUTSNS_PIN = 1 [23:00:49]*** CUTSNS_PIN = 0 [23:00:49]*** Brake cut motor [23:00:49]Read from MH i2c: 01 [23:00:49]MH_I2C_Read... [23:00:49]*** Stop cut motor [23:00:49]*** Cut end [23:00:49]Read from MH i2c: 01 07 00 [23:00:49]MH_I2C_Read... [23:00:49]Read from MH i2c: 01 07 00 F4 2C 00 00 00 00 00 FF 0F 35 [23:00:49]process_action close_receipt done [23:00:49]requested_data is exist [23:00:49]produce_requested_data [23:00:49]requested_item fm.sn is exist - process it [23:00:49]wFMCommunicate request_size=4 [23:00:49]MH_SAM_APDU [23:00:49]CAPDU: 80 11 00 00 [23:00:49]Write to MH i2c: E2 08 00 F5 2C 80 11 00 00 00 00 00 00 9B [23:00:49]Write i2c OK [23:00:49]MH_I2C_Read... [23:00:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:00:49]Read from MH i2c: E2 [23:00:49]MH_I2C_Read... [23:00:49]Read from MH i2c: E2 17 00 [23:00:49]MH_I2C_Read... [23:00:49]Read from MH i2c: E2 17 00 F5 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 EB [23:00:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:00:49]wFMCommunicate OK [23:00:49]requested_item fd.num is exist - process it [23:00:49]SAM_PROTO_GetFieldsCounters [23:00:49]wFMCommunicate request_size=4 [23:00:49]MH_SAM_APDU [23:00:49]CAPDU: 80 13 00 00 [23:00:49]Write to MH i2c: E2 08 00 F6 2C 80 13 00 00 00 00 00 00 9E [23:00:49]Write i2c OK [23:00:49]MH_I2C_Read... [23:00:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:00:49]Read from MH i2c: E2 [23:00:49]MH_I2C_Read... [23:00:49]Read from MH i2c: E2 62 00 [23:00:49]MH_I2C_Read... [23:00:49]Read from MH i2c: E2 62 00 F6 2C 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 C9 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 28 [23:00:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 C9 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:00:49]wFMCommunicate OK [23:00:49]SAM_PROTO_GetFieldsCounters done [23:00:49]requested_item shift.num is exist - process it [23:00:49]requested_item shift.opened is exist - process it [23:00:49]req_shift_opened [23:00:49]FM_GetShiftState [23:00:49]SAM_PROTO_GetShiftState [23:00:49]wFMCommunicate request_size=4 [23:00:49]MH_SAM_APDU [23:00:49]CAPDU: 80 13 01 00 [23:00:49]Write to MH i2c: E2 08 00 F7 2C 80 13 01 00 00 00 00 00 A0 [23:00:49]Write i2c OK [23:00:49]MH_I2C_Read... [23:00:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:00:49]Read from MH i2c: E2 [23:00:49]MH_I2C_Read... [23:00:49]Read from MH i2c: E2 0E 00 [23:00:49]MH_I2C_Read... [23:00:49]Read from MH i2c: E2 0E 00 F7 2C 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 22 [23:00:49]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [23:00:49]wFMCommunicate OK [23:00:49]SAM_PROTO_GetShiftState done [23:00:49]FM_GetShiftState done [23:00:49]req_shift_opened done [23:00:49]requested_item shift.open_date is exist - process it [23:00:49]req_shift_open_date [23:00:49]req_shift_open_date done [23:00:49]produce_requested_data done [23:00:49]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37833,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [23:00:49]process_action_free close_receipt [23:00:49]json_value_free [23:00:49]json_value_free done [23:00:49]process_json_proto returns [23:00:49]Send response to host [23:00:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37833,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [23:00:49]free response buf [23:00:49]execute_script done [23:00:49]execute_script returns [23:00:49]free content buf [23:00:49]Sock 7.Close socket [23:00:49]Sock 7.Thread stoped [23:00:54]OFD Sender: No OFD packet to send [23:00:59]OFD Sender: No OFD packet to send [23:01:04]OFD Sender: No OFD packet to send [23:01:09]OFD Sender: No OFD packet to send [23:01:14]OFD Sender: No OFD packet to send [23:01:19]OFD Sender: No OFD packet to send [23:01:24]OFD Sender: No OFD packet to send [23:01:29]OFD Sender: No OFD packet to send [23:01:34]OFD Sender: No OFD packet to send [23:01:39]OFD Sender: No OFD packet to send [23:01:44]OFD Sender: No OFD packet to send [23:01:49]OFD Sender: No OFD packet to send [23:01:54]OFD Sender: No OFD packet to send [23:01:59]OFD Sender: No OFD packet to send [23:02:04]OFD Sender: No OFD packet to send [23:02:09]OFD Sender: No OFD packet to send [23:02:14]OFD Sender: No OFD packet to send [23:02:19]OFD Sender: No OFD packet to send [23:02:24]OFD Sender: No OFD packet to send [23:02:29]OFD Sender: No OFD packet to send [23:02:34]OFD Sender: No OFD packet to send [23:02:39]OFD Sender: No OFD packet to send [23:02:44]OFD Sender: No OFD packet to send [23:02:49]OFD Sender: No OFD packet to send [23:02:54]OFD Sender: No OFD packet to send [23:02:59]OFD Sender: No OFD packet to send [23:03:04]OFD Sender: No OFD packet to send [23:03:09]OFD Sender: No OFD packet to send [23:03:14]OFD Sender: No OFD packet to send [23:03:19]OFD Sender: No OFD packet to send [23:03:24]OFD Sender: No OFD packet to send [23:03:29]OFD Sender: No OFD packet to send [23:03:34]OFD Sender: No OFD packet to send [23:03:39]OFD Sender: No OFD packet to send [23:03:44]OFD Sender: No OFD packet to send [23:03:49]OFD Sender: No OFD packet to send [23:03:54]OFD Sender: No OFD packet to send [23:03:59]OFD Sender: No OFD packet to send [23:04:04]OFD Sender: No OFD packet to send [23:04:09]OFD Sender: No OFD packet to send [23:04:09]accept exits with 9 [23:04:09]New connection [23:04:09]New thread 3067297124 created [23:04:09]Thread 3067440484 joined [23:04:09]Waiting for new connection... [23:04:09] Sock 9.Parse request [23:04:09]Sock 9.Check first char [23:04:09]Sock 9.First char is OK [23:04:09]request: POST /json_proto HTTP/1.0 [23:04:09]Method: POST [23:04:09]URL: /json_proto [23:04:09]Method is POST - this is cgi request [23:04:09]url: /json_proto [23:04:09]query_string will be loaded in cgi processing [23:04:09]execute_cgi json_proto POST (null) [23:04:09]execute_cgi path=json_proto method=POST [23:04:09]POST find Content-Length [23:04:09]Host: 172.17.40.196:8080 [23:04:09]Content-Length: 638 [23:04:09]Content-Type: application/json [23:04:09] [23:04:09]POST finish read [23:04:09]Found Content-Length = 638 [23:04:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35133", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:04:09]execute_script... [23:04:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35133", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:04:09]POST & json_proto [23:04:09]process_json_proto [23:04:09]json parsed OK: [23:04:09]protocol is kg_v1.0 [23:04:09]action value=close_receipt [23:04:09]process_action close_receipt [23:04:09]cmd_close_receipt [23:04:09]MH_GetDate [23:04:09]Write to MH i2c: F0 00 00 F8 2C 13 [23:04:09]Write i2c OK [23:04:09]MH_I2C_Read... [23:04:09]Read from MH i2c: F0 [23:04:09]MH_I2C_Read... [23:04:09]Read from MH i2c: F0 09 00 [23:04:09]MH_I2C_Read... [23:04:09]Read from MH i2c: F0 09 00 F8 2C 00 73 18 20 67 5B 68 A1 66 F8 [23:04:09]GetLastDocTimeStamp 1730156455 [23:04:09]current date 1730156659 [23:04:09]FM_GetShiftState [23:04:09]SAM_PROTO_GetShiftState [23:04:09]wFMCommunicate request_size=4 [23:04:09]MH_SAM_APDU [23:04:09]CAPDU: 80 13 01 00 [23:04:09]Write to MH i2c: E2 08 00 F9 2C 80 13 01 00 00 00 00 00 A2 [23:04:09]Write i2c OK [23:04:09]MH_I2C_Read... [23:04:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:04:09]Read from MH i2c: E2 [23:04:09]MH_I2C_Read... [23:04:09]Read from MH i2c: E2 0E 00 [23:04:09]MH_I2C_Read... [23:04:09]Read from MH i2c: E2 0E 00 F9 2C 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 24 [23:04:09]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [23:04:09]wFMCommunicate OK [23:04:09]SAM_PROTO_GetShiftState done [23:04:09]FM_GetShiftState done [23:04:09]opened in 1730073884 [23:04:09]opened+sec_in_day 1730160284 [23:04:09]quantity*price = 12500 [23:04:09]sum+1 = 12501 [23:04:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 77 28.10.2024 23:04 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37834 ФПД: 218524010122005 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T230419&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37834&fm=218524010122005&tin=02508201610067®Number=0000000000091684&sum=12500 0 [23:04:11]StoreToDocumentArchive [23:04:11]shift 551 fd 37834 [23:04:11]save to /storage/0551/doc_00037834 [23:04:11]save last doc name /storage/0551/doc_00037834 to /storage/kkm_last_doc_name [23:04:11]save OK [23:04:11]Clear old archive folders... [23:04:11]ProcessDocumentItem done err = 0, tmpTLVsize=271 [23:04:11]tlvbuf is 0025B570 [23:04:11]SAM_PROTO_ClearQueue [23:04:11]wFMCommunicate request_size=4 [23:04:11]MH_SAM_APDU [23:04:11]CAPDU: 80 09 00 00 [23:04:11]Write to MH i2c: E2 08 00 06 2D 80 09 00 00 00 00 00 00 A5 [23:04:11]Write i2c OK [23:04:11]MH_I2C_Read... [23:04:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:04:11]Read from MH i2c: E2 [23:04:11]MH_I2C_Read... [23:04:11]Read from MH i2c: E2 03 00 [23:04:11]MH_I2C_Read... [23:04:11]Read from MH i2c: E2 03 00 06 2D 00 90 00 A7 [23:04:11]RAPDU: 90 00 [23:04:11]wFMCommunicate OK [23:04:11]SAM_PROTO_ClearQueue done [23:04:11]KKMCreateOFDPacket [23:04:11]OFDProtocolAddRootSTLVToBuf [23:04:11]FM_MakeSignedData [23:04:11]FM_MakeSignedData [23:04:11]SAM_PROTO_SignData [23:04:11]wFMCommunicate request_size=4 [23:04:11]MH_SAM_APDU [23:04:11]CAPDU: 80 0D 01 02 [23:04:11]Write to MH i2c: E2 08 00 07 2D 80 0D 01 02 00 00 00 00 AD [23:04:11]Write i2c OK [23:04:11]MH_I2C_Read... [23:04:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:04:11]Read from MH i2c: E2 [23:04:11]MH_I2C_Read... [23:04:11]Read from MH i2c: E2 03 00 [23:04:11]MH_I2C_Read... [23:04:11]Read from MH i2c: E2 03 00 07 2D 00 90 00 A8 [23:04:11]RAPDU: 90 00 [23:04:11]wFMCommunicate OK [23:04:11]wFMCommunicate request_size=255 [23:04:11]MH_SAM_APDU [23:04:11]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 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 4D 00 00 00 F4 03 04 00 73 18 20 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 [23:04:11]Write to MH i2c: E2 02 01 08 2D 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 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 4D 00 00 00 F4 03 04 00 73 18 20 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 3D [23:04:11]Write i2c OK [23:04:11]MH_I2C_Read... [23:04:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:04:11]Read from MH i2c: E2 [23:04:11]MH_I2C_Read... [23:04:11]Read from MH i2c: E2 03 00 [23:04:11]MH_I2C_Read... [23:04:11]Read from MH i2c: E2 03 00 08 2D 00 90 00 A9 [23:04:11]RAPDU: 90 00 [23:04:11]wFMCommunicate OK [23:04:11]wFMCommunicate request_size=30 [23:04:11]MH_SAM_APDU [23:04:11]CAPDU: 80 0D 02 02 19 30 38 37 31 38 34 31 10 04 04 00 CA 93 00 00 35 04 06 00 C6 BF 15 FF 8B 15 [23:04:11]Write to MH i2c: E2 21 00 09 2D 80 0D 02 02 19 00 30 38 37 31 38 34 31 10 04 04 00 CA 93 00 00 35 04 06 00 C6 BF 15 FF 8B 15 00 00 3C [23:04:11]Write i2c OK [23:04:11]MH_I2C_Read... [23:04:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:04:11]Read from MH i2c: E2 [23:04:11]MH_I2C_Read... [23:04:11]Read from MH i2c: E2 03 00 [23:04:11]MH_I2C_Read... [23:04:11]Read from MH i2c: E2 03 00 09 2D 00 90 00 AA [23:04:11]RAPDU: 90 00 [23:04:11]wFMCommunicate OK [23:04:11]wFMCommunicate request_size=4 [23:04:11]MH_SAM_APDU [23:04:11]CAPDU: 80 0D 03 02 [23:04:11]Write to MH i2c: E2 08 00 0A 2D 80 0D 03 02 00 00 00 00 B2 [23:04:11]Write i2c OK [23:04:11]MH_I2C_Read... [23:04:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:04:11]Read from MH i2c: E2 [23:04:11]MH_I2C_Read... [23:04:11]Read from MH i2c: E2 0B 00 [23:04:11]MH_I2C_Read... [23:04:11]Read from MH i2c: E2 0B 00 0A 2D 00 43 A8 54 F6 78 F5 2C 11 90 00 92 [23:04:11]RAPDU: 43 A8 54 F6 78 F5 2C 11 90 00 [23:04:11]wFMCommunicate OK [23:04:11]SAM_PROTO_SignData done [23:04:11]FM_MakeSignedData done [23:04:11]CreateOFDProtocolMessage [23:04:11]wFMCommunicate request_size=4 [23:04:11]MH_SAM_APDU [23:04:11]CAPDU: 80 11 00 00 [23:04:11]Write to MH i2c: E2 08 00 0B 2D 80 11 00 00 00 00 00 00 B2 [23:04:11]Write i2c OK [23:04:11]MH_I2C_Read... [23:04:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:04:11]Read from MH i2c: E2 [23:04:11]MH_I2C_Read... [23:04:11]Read from MH i2c: E2 17 00 [23:04:11]MH_I2C_Read... [23:04:11]Read from MH i2c: E2 17 00 0B 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 02 [23:04:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:04:11]wFMCommunicate OK [23:04:11]CreateOFDProtocolMessage done [23:04:11]OFDSenderStorePacket 37834 [23:04:11]StoreOFDPacket docnum=37834 [23:04:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 23 01 00 00 6B 8D 1B 01 E3 8E 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 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 4D 00 00 00 F4 03 04 00 73 18 20 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 CA 93 00 00 35 04 06 00 C6 BF 15 FF 8B 15 43 A8 54 F6 78 F5 2C 11 [23:04:11]CheckFolder [23:04:11]dirname=/storage/ofd_packets [23:04:11]CheckFolder done [23:04:11]ProducePacketName [23:04:11]name=ofd_packets/00037834 [23:04:11]NVStorageSaveData ofd_packets/00037834 [23:04:11]File name is /storage/ofd_packets/00037834 [23:04:11]Write 321 bytes [23:04:11]NVStorageSaveData done [23:04:11]OFDSenderStorePacket done [23:04:11]KKMCreateOFDPacket done [23:04:11]NVStorageSaveData kkm_last_timestamp [23:04:11]File name is /storage/kkm_last_timestamp [23:04:11]Write 4 bytes [23:04:11]NVStorageSaveData done [23:04:11]ExternCall_PrintAddStr [23:04:11]wPrintStart [23:04:11]Write to MH i2c: 01 00 00 0C 2D 39 [23:04:11]Write i2c OK [23:04:11]MH_I2C_Read... [23:04:11]Read from MH i2c: 01 [23:04:11]MH_I2C_Read... [23:04:11]Read from MH i2c: 01 07 00 [23:04:11]MH_I2C_Read... [23:04:11]Read from MH i2c: 01 07 00 0C 2D 00 00 00 00 00 FF 0F 4E [23:04:11]RasterBufferAndPrint [23:04:11]line Счет N : (3)35133 [23:04:11]line ИНН: 02508201610067 [23:04:11]line Контрольно-Кассовый Чек [23:04:11]line ПРОДАЖА [23:04:11]line Товар: 5449000006271 [23:04:11]line Напиток Фанта 1л [23:04:11]line 1.000 * 125.00 [23:04:11]line = 125.00 [23:04:11]line НДС 12% НСП 1% [23:04:11]line > о реализуемом товаре [23:04:11]line ИТОГО: 125.00 [23:04:11]line НСП 1% : 1.11 [23:04:11]line НДС 12% : 13.27 [23:04:11]line Наличными: 125.00 [23:04:11]line Безнал.: 0.00 [23:04:11]line Место: АЗС № 126 "Партнер Нефть" [23:04:11]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [23:04:11]line СНО: Общий режим [23:04:11]line Чек 77 28.10.2024 23:04 [23:04:11]line Смена: 551 ФФД: 1.0 [23:04:11]line ЗНМ: 0300000092 [23:04:11]line РНМ: 0000000000091684 [23:04:11]line Версия ККМ: 001 [23:04:11]line ФМ: 0000000000871841 [23:04:11]line ФД: 37834 [23:04:11]line ФПД: 218524010122005 [23:04:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T230419&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37834&fm=218524010122005&tin=02508201610067®Number=0000000000091684&sum=12500 [23:04:11]line 0 [23:04:11]OFD Sender: Processing packet 37834 [packets to send 42, broken 41] [23:04:11]ProducePacketName [23:04:11]name=ofd_packets/00037834 [23:04:11]OFD Sender: To server: pG, [23:04:11]CommunicateWithHost lk.salyk.kg:30040 [23:04:11]ConnectInit lk.salyk.kg [23:04:11]written 0, free lines is 4095 [23:04:11]Connected sock=10 [23:04:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 23 01 00 00 6B 8D 1B 01 E3 8E 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 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 4D 00 00 00 F4 03 04 00 73 18 20 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 CA 93 00 00 35 04 06 00 C6 BF 15 FF 8B 15 43 A8 54 F6 78 F5 2C 11 [23:04:12]Write to MH i2c: 01 00 00 34 2D 61 [23:04:12]Write i2c OK [23:04:12]MH_I2C_Read... [23:04:12]Read from MH i2c: 01 [23:04:12]MH_I2C_Read... [23:04:12]Read from MH i2c: 01 07 00 [23:04:12]MH_I2C_Read... [23:04:12]Read from MH i2c: 01 07 00 34 2D 00 00 00 00 00 CF 0C 43 [23:04:12]RasterBufferAndPrint [23:04:12]line [23:04:12]line [23:04:12]line [23:04:12]line [23:04:12]line [23:04:12]written 0, free lines is 3286 [23:04:12]MH_Cut [23:04:12]Write to MH i2c: D1 01 00 3B 2D 01 3A [23:04:12]Write i2c OK [23:04:12]MH_I2C_Read... [23:04:12]Read from MH i2c: D1 [23:04:12]MH_I2C_Read... [23:04:12]Read from MH i2c: D1 01 00 [23:04:12]MH_I2C_Read... [23:04:12]Read from MH i2c: D1 01 00 3B 2D 00 39 [23:04:12]Write to MH i2c: 01 00 00 3C 2D 69 [23:04:12]Write i2c OK [23:04:12]MH_I2C_Read... [23:04:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 CC CC 47 00 47 C0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 CA 93 00 00 F4 03 04 00 67 C3 1F 67 B6 04 01 00 00 55 8D A0 8F 0C FA C9 BB [23:04:12]CommunicateWithHost err = 0 [23:04:12]CheckOFDResponse [23:04:12]1017 (14) - 77093643461234 [23:04:12]1041 (16) - 0000000000871841 [23:04:12]1040 (4) - 37834 [23:04:12]1012 (4) - 28.10.2024 17:01 [23:04:12]1206 (1) - 0 [23:04:12]OFD Sender: Remove packet 37834 [23:04:12]ProducePacketName [23:04:12]name=ofd_packets/00037834 [23:04:12]NVStorageDeleteData [23:04:12]*** Cut start [23:04:12]*** Partial cut [23:04:12]*** CUTSNS_PIN = 1 [23:04:12]OFD Sender: No OFD packet to send [23:04:12]*** CUTSNS_PIN = 0 [23:04:13]*** Brake cut motor [23:04:13]Read from MH i2c: 01 [23:04:13]MH_I2C_Read... [23:04:13]*** Stop cut motor [23:04:13]*** Cut end [23:04:13]Read from MH i2c: 01 07 00 [23:04:13]MH_I2C_Read... [23:04:13]Read from MH i2c: 01 07 00 3C 2D 00 00 00 00 00 FF 0F 7E [23:04:13]process_action close_receipt done [23:04:13]requested_data is exist [23:04:13]produce_requested_data [23:04:13]requested_item fm.sn is exist - process it [23:04:13]wFMCommunicate request_size=4 [23:04:13]MH_SAM_APDU [23:04:13]CAPDU: 80 11 00 00 [23:04:13]Write to MH i2c: E2 08 00 3D 2D 80 11 00 00 00 00 00 00 E4 [23:04:13]Write i2c OK [23:04:13]MH_I2C_Read... [23:04:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:04:13]Read from MH i2c: E2 [23:04:13]MH_I2C_Read... [23:04:13]Read from MH i2c: E2 17 00 [23:04:13]MH_I2C_Read... [23:04:13]Read from MH i2c: E2 17 00 3D 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 34 [23:04:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:04:13]wFMCommunicate OK [23:04:13]requested_item fd.num is exist - process it [23:04:13]SAM_PROTO_GetFieldsCounters [23:04:13]wFMCommunicate request_size=4 [23:04:13]MH_SAM_APDU [23:04:13]CAPDU: 80 13 00 00 [23:04:13]Write to MH i2c: E2 08 00 3E 2D 80 13 00 00 00 00 00 00 E7 [23:04:13]Write i2c OK [23:04:13]MH_I2C_Read... [23:04:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:04:13]Read from MH i2c: E2 [23:04:13]MH_I2C_Read... [23:04:13]Read from MH i2c: E2 62 00 [23:04:13]MH_I2C_Read... [23:04:13]Read from MH i2c: E2 62 00 3E 2D 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CA 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 75 [23:04:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CA 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:04:13]wFMCommunicate OK [23:04:13]SAM_PROTO_GetFieldsCounters done [23:04:13]requested_item shift.num is exist - process it [23:04:13]requested_item shift.opened is exist - process it [23:04:13]req_shift_opened [23:04:13]FM_GetShiftState [23:04:13]SAM_PROTO_GetShiftState [23:04:13]wFMCommunicate request_size=4 [23:04:13]MH_SAM_APDU [23:04:13]CAPDU: 80 13 01 00 [23:04:13]Write to MH i2c: E2 08 00 3F 2D 80 13 01 00 00 00 00 00 E9 [23:04:13]Write i2c OK [23:04:13]MH_I2C_Read... [23:04:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:04:13]Read from MH i2c: E2 [23:04:13]MH_I2C_Read... [23:04:13]Read from MH i2c: E2 0E 00 [23:04:13]MH_I2C_Read... [23:04:13]Read from MH i2c: E2 0E 00 3F 2D 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 6B [23:04:13]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [23:04:13]wFMCommunicate OK [23:04:13]SAM_PROTO_GetShiftState done [23:04:13]FM_GetShiftState done [23:04:13]req_shift_opened done [23:04:13]requested_item shift.open_date is exist - process it [23:04:13]req_shift_open_date [23:04:13]req_shift_open_date done [23:04:13]produce_requested_data done [23:04:13]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37834,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [23:04:13]process_action_free close_receipt [23:04:13]json_value_free [23:04:13]json_value_free done [23:04:13]process_json_proto returns [23:04:13]Send response to host [23:04:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37834,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [23:04:13]free response buf [23:04:13]execute_script done [23:04:13]execute_script returns [23:04:13]free content buf [23:04:13]Sock 9.Close socket [23:04:13]Sock 9.Thread stoped [23:04:17]OFD Sender: No OFD packet to send [23:04:22]OFD Sender: No OFD packet to send [23:04:27]OFD Sender: No OFD packet to send [23:04:32]OFD Sender: No OFD packet to send [23:04:37]OFD Sender: No OFD packet to send [23:04:42]OFD Sender: No OFD packet to send [23:04:47]OFD Sender: No OFD packet to send [23:04:52]OFD Sender: No OFD packet to send [23:04:57]OFD Sender: No OFD packet to send [23:05:02]OFD Sender: No OFD packet to send [23:05:07]OFD Sender: No OFD packet to send [23:05:12]OFD Sender: No OFD packet to send [23:05:17]OFD Sender: No OFD packet to send [23:05:22]OFD Sender: No OFD packet to send [23:05:27]OFD Sender: No OFD packet to send [23:05:33]OFD Sender: No OFD packet to send [23:05:38]OFD Sender: No OFD packet to send [23:05:43]OFD Sender: No OFD packet to send [23:05:48]OFD Sender: No OFD packet to send [23:05:53]OFD Sender: No OFD packet to send [23:05:58]OFD Sender: No OFD packet to send [23:06:03]OFD Sender: No OFD packet to send [23:06:08]OFD Sender: No OFD packet to send [23:06:13]OFD Sender: No OFD packet to send [23:06:18]OFD Sender: No OFD packet to send [23:06:23]OFD Sender: No OFD packet to send [23:06:28]OFD Sender: No OFD packet to send [23:06:33]OFD Sender: No OFD packet to send [23:06:38]OFD Sender: No OFD packet to send [23:06:43]OFD Sender: No OFD packet to send [23:06:48]OFD Sender: No OFD packet to send [23:06:53]OFD Sender: No OFD packet to send [23:06:58]OFD Sender: No OFD packet to send [23:07:03]OFD Sender: No OFD packet to send [23:07:08]OFD Sender: No OFD packet to send [23:07:13]OFD Sender: No OFD packet to send [23:07:18]OFD Sender: No OFD packet to send [23:07:23]OFD Sender: No OFD packet to send [23:07:28]OFD Sender: No OFD packet to send [23:07:33]OFD Sender: No OFD packet to send [23:07:38]OFD Sender: No OFD packet to send [23:07:43]OFD Sender: No OFD packet to send [23:07:48]OFD Sender: No OFD packet to send [23:07:53]OFD Sender: No OFD packet to send [23:07:58]OFD Sender: No OFD packet to send [23:08:03]OFD Sender: No OFD packet to send [23:08:08]OFD Sender: No OFD packet to send [23:08:13]OFD Sender: No OFD packet to send [23:08:18]OFD Sender: No OFD packet to send [23:08:23]OFD Sender: No OFD packet to send [23:08:28]OFD Sender: No OFD packet to send [23:08:33]OFD Sender: No OFD packet to send [23:08:38]OFD Sender: No OFD packet to send [23:08:43]OFD Sender: No OFD packet to send [23:08:48]OFD Sender: No OFD packet to send [23:08:53]OFD Sender: No OFD packet to send [23:08:58]OFD Sender: No OFD packet to send [23:09:03]OFD Sender: No OFD packet to send [23:09:08]OFD Sender: No OFD packet to send [23:09:13]OFD Sender: No OFD packet to send [23:09:18]OFD Sender: No OFD packet to send [23:09:23]OFD Sender: No OFD packet to send [23:09:28]OFD Sender: No OFD packet to send [23:09:33]OFD Sender: No OFD packet to send [23:09:38]OFD Sender: No OFD packet to send [23:09:43]OFD Sender: No OFD packet to send [23:09:48]OFD Sender: No OFD packet to send [23:09:53]OFD Sender: No OFD packet to send [23:09:58]OFD Sender: No OFD packet to send [23:10:00]accept exits with 7 [23:10:00]New connection [23:10:00]New thread 3067440484 created [23:10:00]Thread 3067297124 joined [23:10:00]Waiting for new connection... [23:10:00] Sock 7.Parse request [23:10:00]Sock 7.Check first char [23:10:00]Sock 7.First char is OK [23:10:00]request: POST /json_proto HTTP/1.0 [23:10:00]Method: POST [23:10:00]URL: /json_proto [23:10:00]Method is POST - this is cgi request [23:10:00]url: /json_proto [23:10:00]query_string will be loaded in cgi processing [23:10:00]execute_cgi json_proto POST (null) [23:10:00]execute_cgi path=json_proto method=POST [23:10:00]POST find Content-Length [23:10:00]Host: 172.17.40.196:8080 [23:10:00]Content-Length: 619 [23:10:00]Content-Type: application/json [23:10:00] [23:10:00]POST finish read [23:10:00]Found Content-Length = 619 [23:10:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35134", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:10:00]execute_script... [23:10:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35134", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:10:00]POST & json_proto [23:10:00]process_json_proto [23:10:00]json parsed OK: [23:10:00]protocol is kg_v1.0 [23:10:00]action value=close_receipt [23:10:00]process_action close_receipt [23:10:00]cmd_close_receipt [23:10:00]MH_GetDate [23:10:00]Write to MH i2c: F0 00 00 40 2D 5C [23:10:00]Write i2c OK [23:10:00]MH_I2C_Read... [23:10:00]Read from MH i2c: F0 [23:10:00]MH_I2C_Read... [23:10:00]Read from MH i2c: F0 09 00 [23:10:00]MH_I2C_Read... [23:10:00]Read from MH i2c: F0 09 00 40 2D 00 D2 19 20 67 5B 68 A1 66 A1 [23:10:00]GetLastDocTimeStamp 1730156659 [23:10:00]current date 1730157010 [23:10:00]FM_GetShiftState [23:10:00]SAM_PROTO_GetShiftState [23:10:00]wFMCommunicate request_size=4 [23:10:00]MH_SAM_APDU [23:10:00]CAPDU: 80 13 01 00 [23:10:00]Write to MH i2c: E2 08 00 41 2D 80 13 01 00 00 00 00 00 EB [23:10:00]Write i2c OK [23:10:00]MH_I2C_Read... [23:10:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:10:00]Read from MH i2c: E2 [23:10:00]MH_I2C_Read... [23:10:00]Read from MH i2c: E2 0E 00 [23:10:00]MH_I2C_Read... [23:10:00]Read from MH i2c: E2 0E 00 41 2D 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 6D [23:10:00]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [23:10:00]wFMCommunicate OK [23:10:00]SAM_PROTO_GetShiftState done [23:10:00]FM_GetShiftState done [23:10:00]opened in 1730073884 [23:10:00]opened+sec_in_day 1730160284 [23:10:00]quantity*price = 15900 [23:10:00]sum+1 = 15901 [23:10:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 159.00 НСП 1% : 1.41 НДС 12% : 16.88 Наличными: 159.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 78 28.10.2024 23:10 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37835 ФПД: 149153613142220 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T231010&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37835&fm=149153613142220&tin=02508201610067®Number=0000000000091684&sum=15900 0 [23:10:01]StoreToDocumentArchive [23:10:01]shift 551 fd 37835 [23:10:01]save to /storage/0551/doc_00037835 [23:10:01]save last doc name /storage/0551/doc_00037835 to /storage/kkm_last_doc_name [23:10:01]save OK [23:10:01]Clear old archive folders... [23:10:02]ProcessDocumentItem done err = 0, tmpTLVsize=272 [23:10:02]tlvbuf is B6F51900 [23:10:02]SAM_PROTO_ClearQueue [23:10:02]wFMCommunicate request_size=4 [23:10:02]MH_SAM_APDU [23:10:02]CAPDU: 80 09 00 00 [23:10:02]Write to MH i2c: E2 08 00 4E 2D 80 09 00 00 00 00 00 00 ED [23:10:02]Write i2c OK [23:10:02]MH_I2C_Read... [23:10:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:10:02]Read from MH i2c: E2 [23:10:02]MH_I2C_Read... [23:10:02]Read from MH i2c: E2 03 00 [23:10:02]MH_I2C_Read... [23:10:02]Read from MH i2c: E2 03 00 4E 2D 00 90 00 EF [23:10:02]RAPDU: 90 00 [23:10:02]wFMCommunicate OK [23:10:02]SAM_PROTO_ClearQueue done [23:10:02]KKMCreateOFDPacket [23:10:02]OFDProtocolAddRootSTLVToBuf [23:10:02]FM_MakeSignedData [23:10:02]FM_MakeSignedData [23:10:02]SAM_PROTO_SignData [23:10:02]wFMCommunicate request_size=4 [23:10:02]MH_SAM_APDU [23:10:02]CAPDU: 80 0D 01 02 [23:10:02]Write to MH i2c: E2 08 00 4F 2D 80 0D 01 02 00 00 00 00 F5 [23:10:02]Write i2c OK [23:10:02]MH_I2C_Read... [23:10:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:10:02]Read from MH i2c: E2 [23:10:02]MH_I2C_Read... [23:10:02]Read from MH i2c: E2 03 00 [23:10:02]MH_I2C_Read... [23:10:02]Read from MH i2c: E2 03 00 4F 2D 00 90 00 F0 [23:10:02]RAPDU: 90 00 [23:10:02]wFMCommunicate OK [23:10:02]wFMCommunicate request_size=255 [23:10:02]MH_SAM_APDU [23:10:02]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 D2 19 20 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [23:10:02]Write to MH i2c: E2 02 01 50 2D 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 D2 19 20 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 F0 [23:10:02]Write i2c OK [23:10:02]MH_I2C_Read... [23:10:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:10:02]Read from MH i2c: E2 [23:10:02]MH_I2C_Read... [23:10:02]Read from MH i2c: E2 03 00 [23:10:02]MH_I2C_Read... [23:10:02]Read from MH i2c: E2 03 00 50 2D 00 90 00 F1 [23:10:02]RAPDU: 90 00 [23:10:02]wFMCommunicate OK [23:10:02]wFMCommunicate request_size=31 [23:10:02]MH_SAM_APDU [23:10:02]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 CB 93 00 00 35 04 06 00 87 A7 88 20 D8 CC [23:10:02]Write to MH i2c: E2 22 00 51 2D 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 CB 93 00 00 35 04 06 00 87 A7 88 20 D8 CC 00 00 F8 [23:10:02]Write i2c OK [23:10:02]MH_I2C_Read... [23:10:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:10:02]Read from MH i2c: E2 [23:10:02]MH_I2C_Read... [23:10:02]Read from MH i2c: E2 03 00 [23:10:02]MH_I2C_Read... [23:10:02]Read from MH i2c: E2 03 00 51 2D 00 90 00 F2 [23:10:02]RAPDU: 90 00 [23:10:02]wFMCommunicate OK [23:10:02]wFMCommunicate request_size=4 [23:10:02]MH_SAM_APDU [23:10:02]CAPDU: 80 0D 03 02 [23:10:02]Write to MH i2c: E2 08 00 52 2D 80 0D 03 02 00 00 00 00 FA [23:10:02]Write i2c OK [23:10:02]MH_I2C_Read... [23:10:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:10:02]Read from MH i2c: E2 [23:10:02]MH_I2C_Read... [23:10:02]Read from MH i2c: E2 0B 00 [23:10:02]MH_I2C_Read... [23:10:02]Read from MH i2c: E2 0B 00 52 2D 00 9C C6 B2 46 9E 3A BB 84 90 00 6C [23:10:02]RAPDU: 9C C6 B2 46 9E 3A BB 84 90 00 [23:10:02]wFMCommunicate OK [23:10:02]SAM_PROTO_SignData done [23:10:02]FM_MakeSignedData done [23:10:02]CreateOFDProtocolMessage [23:10:02]wFMCommunicate request_size=4 [23:10:02]MH_SAM_APDU [23:10:02]CAPDU: 80 11 00 00 [23:10:02]Write to MH i2c: E2 08 00 53 2D 80 11 00 00 00 00 00 00 FA [23:10:02]Write i2c OK [23:10:02]MH_I2C_Read... [23:10:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:10:02]Read from MH i2c: E2 [23:10:02]MH_I2C_Read... [23:10:02]Read from MH i2c: E2 17 00 [23:10:02]MH_I2C_Read... [23:10:02]Read from MH i2c: E2 17 00 53 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4A [23:10:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:10:02]wFMCommunicate OK [23:10:02]CreateOFDProtocolMessage done [23:10:02]OFDSenderStorePacket 37835 [23:10:02]StoreOFDPacket docnum=37835 [23:10:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 93 42 1C 01 03 DD 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 D2 19 20 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 CB 93 00 00 35 04 06 00 87 A7 88 20 D8 CC 9C C6 B2 46 9E 3A BB 84 [23:10:02]CheckFolder [23:10:02]dirname=/storage/ofd_packets [23:10:02]CheckFolder done [23:10:02]ProducePacketName [23:10:02]name=ofd_packets/00037835 [23:10:02]NVStorageSaveData ofd_packets/00037835 [23:10:02]File name is /storage/ofd_packets/00037835 [23:10:02]Write 322 bytes [23:10:02]NVStorageSaveData done [23:10:02]OFDSenderStorePacket done [23:10:02]KKMCreateOFDPacket done [23:10:02]NVStorageSaveData kkm_last_timestamp [23:10:02]File name is /storage/kkm_last_timestamp [23:10:02]Write 4 bytes [23:10:02]NVStorageSaveData done [23:10:02]ExternCall_PrintAddStr [23:10:02]wPrintStart [23:10:02]Write to MH i2c: 01 00 00 54 2D 81 [23:10:02]Write i2c OK [23:10:02]MH_I2C_Read... [23:10:02]Read from MH i2c: 01 [23:10:02]MH_I2C_Read... [23:10:02]Read from MH i2c: 01 07 00 [23:10:02]MH_I2C_Read... [23:10:02]Read from MH i2c: 01 07 00 54 2D 00 00 00 00 00 FF 0F 96 [23:10:02]RasterBufferAndPrint [23:10:02]line Счет N : (3)35134 [23:10:02]line ИНН: 02508201610067 [23:10:02]line Контрольно-Кассовый Чек [23:10:02]line ПРОДАЖА [23:10:02]line Товар: 4640030091607 [23:10:02]line Сигареты ESSE Exchange [23:10:02]line 1.000 * 159.00 [23:10:02]line = 159.00 [23:10:02]line НДС 12% НСП 1% [23:10:02]line > о реализуемом товаре [23:10:02]line ИТОГО: 159.00 [23:10:02]line НСП 1% : 1.41 [23:10:02]line НДС 12% : 16.88 [23:10:02]line Наличными: 159.00 [23:10:02]line Безнал.: 0.00 [23:10:02]line Место: АЗС № 126 "Партнер Нефть" [23:10:02]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [23:10:02]line СНО: Общий режим [23:10:02]line Чек 78 28.10.2024 23:10 [23:10:02]line Смена: 551 ФФД: 1.0 [23:10:02]line ЗНМ: 0300000092 [23:10:02]line РНМ: 0000000000091684 [23:10:02]line Версия ККМ: 001 [23:10:02]line ФМ: 0000000000871841 [23:10:02]line ФД: 37835 [23:10:02]line ФПД: 149153613142220 [23:10:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T231010&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37835&fm=149153613142220&tin=02508201610067®Number=0000000000091684&sum=15900 [23:10:02]OFD Sender: Processing packet 37835 [packets to send 42, broken 41] [23:10:02]ProducePacketName [23:10:02]name=ofd_packets/00037835 [23:10:02]OFD Sender: To server: pG, [23:10:02]CommunicateWithHost lk.salyk.kg:30040 [23:10:02]ConnectInit lk.salyk.kg [23:10:02]line 0 [23:10:02]written 0, free lines is 4095 [23:10:03]Connected sock=10 [23:10:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 93 42 1C 01 03 DD 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 D2 19 20 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 CB 93 00 00 35 04 06 00 87 A7 88 20 D8 CC 9C C6 B2 46 9E 3A BB 84 [23:10:03]Write to MH i2c: 01 00 00 7C 2D A9 [23:10:03]Write i2c OK [23:10:03]MH_I2C_Read... [23:10:03]Read from MH i2c: 01 [23:10:03]MH_I2C_Read... [23:10:03]Read from MH i2c: 01 07 00 [23:10:03]MH_I2C_Read... [23:10:03]Read from MH i2c: 01 07 00 7C 2D 00 00 00 00 00 CE 0C 8A [23:10:03]RasterBufferAndPrint [23:10:03]line [23:10:03]line [23:10:03]line [23:10:03]line [23:10:03]line [23:10:03]written 0, free lines is 3285 [23:10:03]MH_Cut [23:10:03]Write to MH i2c: D1 01 00 83 2D 01 82 [23:10:03]Write i2c OK [23:10:03]MH_I2C_Read... [23:10:03]Read from MH i2c: D1 [23:10:03]MH_I2C_Read... [23:10:03]Read from MH i2c: D1 01 00 [23:10:03]MH_I2C_Read... [23:10:03]Read from MH i2c: D1 01 00 83 2D 00 81 [23:10:03]Write to MH i2c: 01 00 00 84 2D B1 [23:10:03]Write i2c OK [23:10:03]MH_I2C_Read... [23:10:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 36 B1 47 00 0F B0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 CB 93 00 00 F4 03 04 00 C6 C4 1F 67 B6 04 01 00 00 68 42 48 B6 61 C0 E8 77 [23:10:03]CommunicateWithHost err = 0 [23:10:03]CheckOFDResponse [23:10:03]1017 (14) - 77093643461234 [23:10:03]1041 (16) - 0000000000871841 [23:10:03]1040 (4) - 37835 [23:10:03]1012 (4) - 28.10.2024 17:07 [23:10:03]1206 (1) - 0 [23:10:03]OFD Sender: Remove packet 37835 [23:10:03]ProducePacketName [23:10:03]name=ofd_packets/00037835 [23:10:03]NVStorageDeleteData [23:10:04]*** Cut start [23:10:04]*** Partial cut [23:10:04]*** CUTSNS_PIN = 1 [23:10:04]OFD Sender: No OFD packet to send [23:10:04]*** CUTSNS_PIN = 0 [23:10:04]*** Brake cut motor [23:10:04]Read from MH i2c: 01 [23:10:04]MH_I2C_Read... [23:10:04]*** Stop cut motor [23:10:04]*** Cut end [23:10:04]Read from MH i2c: 01 07 00 [23:10:04]MH_I2C_Read... [23:10:04]Read from MH i2c: 01 07 00 84 2D 00 00 00 00 00 FF 0F C6 [23:10:04]process_action close_receipt done [23:10:04]requested_data is exist [23:10:04]produce_requested_data [23:10:04]requested_item fm.sn is exist - process it [23:10:04]wFMCommunicate request_size=4 [23:10:04]MH_SAM_APDU [23:10:04]CAPDU: 80 11 00 00 [23:10:04]Write to MH i2c: E2 08 00 85 2D 80 11 00 00 00 00 00 00 2C [23:10:04]Write i2c OK [23:10:04]MH_I2C_Read... [23:10:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:10:04]Read from MH i2c: E2 [23:10:04]MH_I2C_Read... [23:10:04]Read from MH i2c: E2 17 00 [23:10:04]MH_I2C_Read... [23:10:04]Read from MH i2c: E2 17 00 85 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 7C [23:10:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:10:04]wFMCommunicate OK [23:10:04]requested_item fd.num is exist - process it [23:10:04]SAM_PROTO_GetFieldsCounters [23:10:04]wFMCommunicate request_size=4 [23:10:04]MH_SAM_APDU [23:10:04]CAPDU: 80 13 00 00 [23:10:04]Write to MH i2c: E2 08 00 86 2D 80 13 00 00 00 00 00 00 2F [23:10:04]Write i2c OK [23:10:04]MH_I2C_Read... [23:10:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:10:04]Read from MH i2c: E2 [23:10:04]MH_I2C_Read... [23:10:04]Read from MH i2c: E2 62 00 [23:10:04]MH_I2C_Read... [23:10:04]Read from MH i2c: E2 62 00 86 2D 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CB 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 C1 [23:10:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CB 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:10:04]wFMCommunicate OK [23:10:04]SAM_PROTO_GetFieldsCounters done [23:10:04]requested_item shift.num is exist - process it [23:10:04]requested_item shift.opened is exist - process it [23:10:04]req_shift_opened [23:10:04]FM_GetShiftState [23:10:04]SAM_PROTO_GetShiftState [23:10:04]wFMCommunicate request_size=4 [23:10:04]MH_SAM_APDU [23:10:04]CAPDU: 80 13 01 00 [23:10:04]Write to MH i2c: E2 08 00 87 2D 80 13 01 00 00 00 00 00 31 [23:10:04]Write i2c OK [23:10:04]MH_I2C_Read... [23:10:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:10:05]Read from MH i2c: E2 [23:10:05]MH_I2C_Read... [23:10:05]Read from MH i2c: E2 0E 00 [23:10:05]MH_I2C_Read... [23:10:05]Read from MH i2c: E2 0E 00 87 2D 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 B3 [23:10:05]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [23:10:05]wFMCommunicate OK [23:10:05]SAM_PROTO_GetShiftState done [23:10:05]FM_GetShiftState done [23:10:05]req_shift_opened done [23:10:05]requested_item shift.open_date is exist - process it [23:10:05]req_shift_open_date [23:10:05]req_shift_open_date done [23:10:05]produce_requested_data done [23:10:05]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37835,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [23:10:05]process_action_free close_receipt [23:10:05]json_value_free [23:10:05]json_value_free done [23:10:05]process_json_proto returns [23:10:05]Send response to host [23:10:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37835,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [23:10:05]free response buf [23:10:05]execute_script done [23:10:05]execute_script returns [23:10:05]free content buf [23:10:05]Sock 7.Close socket [23:10:05]Sock 7.Thread stoped [23:10:09]OFD Sender: No OFD packet to send [23:10:14]OFD Sender: No OFD packet to send [23:10:19]OFD Sender: No OFD packet to send [23:10:24]OFD Sender: No OFD packet to send [23:10:29]OFD Sender: No OFD packet to send [23:10:34]OFD Sender: No OFD packet to send [23:10:39]OFD Sender: No OFD packet to send [23:10:44]OFD Sender: No OFD packet to send [23:10:49]OFD Sender: No OFD packet to send [23:10:54]OFD Sender: No OFD packet to send [23:10:59]OFD Sender: No OFD packet to send [23:11:04]OFD Sender: No OFD packet to send [23:11:09]OFD Sender: No OFD packet to send [23:11:14]OFD Sender: No OFD packet to send [23:11:19]OFD Sender: No OFD packet to send [23:11:24]OFD Sender: No OFD packet to send [23:11:29]OFD Sender: No OFD packet to send [23:11:34]OFD Sender: No OFD packet to send [23:11:39]OFD Sender: No OFD packet to send [23:11:44]OFD Sender: No OFD packet to send [23:11:49]OFD Sender: No OFD packet to send [23:11:54]OFD Sender: No OFD packet to send [23:11:59]OFD Sender: No OFD packet to send [23:12:04]OFD Sender: No OFD packet to send [23:12:09]OFD Sender: No OFD packet to send [23:12:14]OFD Sender: No OFD packet to send [23:12:19]OFD Sender: No OFD packet to send [23:12:24]OFD Sender: No OFD packet to send [23:12:29]OFD Sender: No OFD packet to send [23:12:34]OFD Sender: No OFD packet to send [23:12:39]OFD Sender: No OFD packet to send [23:12:44]OFD Sender: No OFD packet to send [23:12:49]OFD Sender: No OFD packet to send [23:12:54]OFD Sender: No OFD packet to send [23:12:59]OFD Sender: No OFD packet to send [23:13:04]OFD Sender: No OFD packet to send [23:13:09]OFD Sender: No OFD packet to send [23:13:14]OFD Sender: No OFD packet to send [23:13:19]OFD Sender: No OFD packet to send [23:13:24]OFD Sender: No OFD packet to send [23:13:29]OFD Sender: No OFD packet to send [23:13:34]OFD Sender: No OFD packet to send [23:13:39]OFD Sender: No OFD packet to send [23:13:44]OFD Sender: No OFD packet to send [23:13:49]OFD Sender: No OFD packet to send [23:13:54]OFD Sender: No OFD packet to send [23:13:59]OFD Sender: No OFD packet to send [23:14:04]OFD Sender: No OFD packet to send [23:14:09]OFD Sender: No OFD packet to send [23:14:14]OFD Sender: No OFD packet to send [23:14:19]OFD Sender: No OFD packet to send [23:14:24]OFD Sender: No OFD packet to send [23:14:29]OFD Sender: No OFD packet to send [23:14:34]OFD Sender: No OFD packet to send [23:14:39]OFD Sender: No OFD packet to send [23:14:44]OFD Sender: No OFD packet to send [23:14:49]OFD Sender: No OFD packet to send [23:14:54]OFD Sender: No OFD packet to send [23:14:59]OFD Sender: No OFD packet to send [23:15:04]OFD Sender: No OFD packet to send [23:15:09]OFD Sender: No OFD packet to send [23:15:14]OFD Sender: No OFD packet to send [23:15:19]OFD Sender: No OFD packet to send [23:15:24]OFD Sender: No OFD packet to send [23:15:29]OFD Sender: No OFD packet to send [23:15:34]OFD Sender: No OFD packet to send [23:15:39]OFD Sender: No OFD packet to send [23:15:44]OFD Sender: No OFD packet to send [23:15:49]OFD Sender: No OFD packet to send [23:15:54]OFD Sender: No OFD packet to send [23:15:59]OFD Sender: No OFD packet to send [23:16:04]OFD Sender: No OFD packet to send [23:16:09]OFD Sender: No OFD packet to send [23:16:14]OFD Sender: No OFD packet to send [23:16:19]OFD Sender: No OFD packet to send [23:16:24]OFD Sender: No OFD packet to send [23:16:29]OFD Sender: No OFD packet to send [23:16:34]OFD Sender: No OFD packet to send [23:16:39]OFD Sender: No OFD packet to send [23:16:44]OFD Sender: No OFD packet to send [23:16:49]OFD Sender: No OFD packet to send [23:16:54]OFD Sender: No OFD packet to send [23:16:59]OFD Sender: No OFD packet to send [23:17:04]OFD Sender: No OFD packet to send [23:17:09]OFD Sender: No OFD packet to send [23:17:14]OFD Sender: No OFD packet to send [23:17:19]OFD Sender: No OFD packet to send [23:17:24]OFD Sender: No OFD packet to send [23:17:29]OFD Sender: No OFD packet to send [23:17:34]OFD Sender: No OFD packet to send [23:17:39]OFD Sender: No OFD packet to send [23:17:44]OFD Sender: No OFD packet to send [23:17:49]OFD Sender: No OFD packet to send [23:17:54]OFD Sender: No OFD packet to send [23:17:59]OFD Sender: No OFD packet to send [23:18:04]OFD Sender: No OFD packet to send [23:18:09]OFD Sender: No OFD packet to send [23:18:14]OFD Sender: No OFD packet to send [23:18:19]OFD Sender: No OFD packet to send [23:18:24]OFD Sender: No OFD packet to send [23:18:29]OFD Sender: No OFD packet to send [23:18:34]OFD Sender: No OFD packet to send [23:18:39]OFD Sender: No OFD packet to send [23:18:44]OFD Sender: No OFD packet to send [23:18:49]OFD Sender: No OFD packet to send [23:18:54]OFD Sender: No OFD packet to send [23:18:59]OFD Sender: No OFD packet to send [23:19:04]OFD Sender: No OFD packet to send [23:19:09]OFD Sender: No OFD packet to send [23:19:14]OFD Sender: No OFD packet to send [23:19:19]OFD Sender: No OFD packet to send [23:19:24]OFD Sender: No OFD packet to send [23:19:29]OFD Sender: No OFD packet to send [23:19:34]OFD Sender: No OFD packet to send [23:19:39]OFD Sender: No OFD packet to send [23:19:44]OFD Sender: No OFD packet to send [23:19:49]OFD Sender: No OFD packet to send [23:19:54]OFD Sender: No OFD packet to send [23:19:59]OFD Sender: No OFD packet to send [23:20:04]OFD Sender: No OFD packet to send [23:20:09]OFD Sender: No OFD packet to send [23:20:14]OFD Sender: No OFD packet to send [23:20:19]OFD Sender: No OFD packet to send [23:20:24]OFD Sender: No OFD packet to send [23:20:29]OFD Sender: No OFD packet to send [23:20:34]OFD Sender: No OFD packet to send [23:20:39]OFD Sender: No OFD packet to send [23:20:44]OFD Sender: No OFD packet to send [23:20:49]OFD Sender: No OFD packet to send [23:20:54]OFD Sender: No OFD packet to send [23:20:59]OFD Sender: No OFD packet to send [23:21:04]OFD Sender: No OFD packet to send [23:21:09]OFD Sender: No OFD packet to send [23:21:14]OFD Sender: No OFD packet to send [23:21:19]OFD Sender: No OFD packet to send [23:21:24]OFD Sender: No OFD packet to send [23:21:29]OFD Sender: No OFD packet to send [23:21:34]OFD Sender: No OFD packet to send [23:21:39]OFD Sender: No OFD packet to send [23:21:44]OFD Sender: No OFD packet to send [23:21:49]OFD Sender: No OFD packet to send [23:21:54]OFD Sender: No OFD packet to send [23:21:59]OFD Sender: No OFD packet to send [23:22:04]OFD Sender: No OFD packet to send [23:22:09]OFD Sender: No OFD packet to send [23:22:14]OFD Sender: No OFD packet to send [23:22:19]OFD Sender: No OFD packet to send [23:22:24]OFD Sender: No OFD packet to send [23:22:29]OFD Sender: No OFD packet to send [23:22:34]OFD Sender: No OFD packet to send [23:22:39]OFD Sender: No OFD packet to send [23:22:44]OFD Sender: No OFD packet to send [23:22:49]OFD Sender: No OFD packet to send [23:22:54]OFD Sender: No OFD packet to send [23:22:59]OFD Sender: No OFD packet to send [23:23:04]OFD Sender: No OFD packet to send [23:23:09]OFD Sender: No OFD packet to send [23:23:14]OFD Sender: No OFD packet to send [23:23:19]OFD Sender: No OFD packet to send [23:23:24]OFD Sender: No OFD packet to send [23:23:29]OFD Sender: No OFD packet to send [23:23:34]OFD Sender: No OFD packet to send [23:23:39]OFD Sender: No OFD packet to send [23:23:44]OFD Sender: No OFD packet to send [23:23:49]OFD Sender: No OFD packet to send [23:23:54]OFD Sender: No OFD packet to send [23:23:59]OFD Sender: No OFD packet to send [23:24:04]OFD Sender: No OFD packet to send [23:24:09]OFD Sender: No OFD packet to send [23:24:14]OFD Sender: No OFD packet to send [23:24:19]OFD Sender: No OFD packet to send [23:24:24]OFD Sender: No OFD packet to send [23:24:29]OFD Sender: No OFD packet to send [23:24:34]OFD Sender: No OFD packet to send [23:24:39]OFD Sender: No OFD packet to send [23:24:44]OFD Sender: No OFD packet to send [23:24:49]OFD Sender: No OFD packet to send [23:24:54]OFD Sender: No OFD packet to send [23:24:59]OFD Sender: No OFD packet to send [23:25:04]OFD Sender: No OFD packet to send [23:25:09]OFD Sender: No OFD packet to send [23:25:14]OFD Sender: No OFD packet to send [23:25:19]OFD Sender: No OFD packet to send [23:25:24]OFD Sender: No OFD packet to send [23:25:30]OFD Sender: No OFD packet to send [23:25:35]OFD Sender: No OFD packet to send [23:25:40]OFD Sender: No OFD packet to send [23:25:45]OFD Sender: No OFD packet to send [23:25:50]OFD Sender: No OFD packet to send [23:25:55]OFD Sender: No OFD packet to send [23:26:00]OFD Sender: No OFD packet to send [23:26:05]OFD Sender: No OFD packet to send [23:26:10]OFD Sender: No OFD packet to send [23:26:15]OFD Sender: No OFD packet to send [23:26:20]OFD Sender: No OFD packet to send [23:26:25]OFD Sender: No OFD packet to send [23:26:30]OFD Sender: No OFD packet to send [23:26:35]OFD Sender: No OFD packet to send [23:26:40]OFD Sender: No OFD packet to send [23:26:45]OFD Sender: No OFD packet to send [23:26:50]OFD Sender: No OFD packet to send [23:26:55]OFD Sender: No OFD packet to send [23:27:00]OFD Sender: No OFD packet to send [23:27:05]OFD Sender: No OFD packet to send [23:27:10]OFD Sender: No OFD packet to send [23:27:15]OFD Sender: No OFD packet to send [23:27:20]OFD Sender: No OFD packet to send [23:27:25]OFD Sender: No OFD packet to send [23:27:30]OFD Sender: No OFD packet to send [23:27:35]OFD Sender: No OFD packet to send [23:27:40]OFD Sender: No OFD packet to send [23:27:45]OFD Sender: No OFD packet to send [23:27:50]OFD Sender: No OFD packet to send [23:27:55]OFD Sender: No OFD packet to send [23:28:00]OFD Sender: No OFD packet to send [23:28:05]OFD Sender: No OFD packet to send [23:28:10]OFD Sender: No OFD packet to send [23:28:15]OFD Sender: No OFD packet to send [23:28:20]OFD Sender: No OFD packet to send [23:28:25]OFD Sender: No OFD packet to send [23:28:30]OFD Sender: No OFD packet to send [23:28:35]OFD Sender: No OFD packet to send [23:28:40]OFD Sender: No OFD packet to send [23:28:45]OFD Sender: No OFD packet to send [23:28:50]OFD Sender: No OFD packet to send [23:28:55]OFD Sender: No OFD packet to send [23:29:00]OFD Sender: No OFD packet to send [23:29:05]OFD Sender: No OFD packet to send [23:29:10]OFD Sender: No OFD packet to send [23:29:15]OFD Sender: No OFD packet to send [23:29:20]OFD Sender: No OFD packet to send [23:29:25]OFD Sender: No OFD packet to send [23:29:30]OFD Sender: No OFD packet to send [23:29:35]OFD Sender: No OFD packet to send [23:29:35]int [23:29:35]Write to MH i2c: 01 00 00 88 2D B5 [23:29:35]*** FLAG_PRN_PAP1 set [23:29:35]Write i2c OK [23:29:35]MH_I2C_Read... [23:29:35]Read from MH i2c: 01 [23:29:35]MH_I2C_Read... [23:29:35]Read from MH i2c: 01 07 00 [23:29:35]MH_I2C_Read... [23:29:35]Read from MH i2c: 01 07 00 88 2D 00 01 00 00 00 FF 0F CB [23:29:35]state=0 [23:29:35]No paper [23:29:35]int [23:29:35]Write to MH i2c: 01 00 00 89 2D B6 [23:29:35]*** FLAG_PRN_PAP2 set [23:29:35]Write i2c OK [23:29:35]MH_I2C_Read... [23:29:35]Read from MH i2c: 01 [23:29:35]MH_I2C_Read... [23:29:35]Read from MH i2c: 01 07 00 [23:29:35]MH_I2C_Read... [23:29:35]Read from MH i2c: 01 07 00 89 2D 00 03 00 00 00 FF 0F CE [23:29:35]state=0 [23:29:35]No paper [23:29:35]Cover opened [23:29:40]OFD Sender: No OFD packet to send [23:29:40]Write to MH i2c: 01 00 00 8A 2D B7 [23:29:40]Write i2c OK [23:29:40]MH_I2C_Read... [23:29:40]Read from MH i2c: 01 [23:29:40]MH_I2C_Read... [23:29:40]Read from MH i2c: 01 07 00 [23:29:40]MH_I2C_Read... [23:29:40]Read from MH i2c: 01 07 00 8A 2D 00 03 00 00 00 FF 0F CF [23:29:40]state=3 [23:29:40]No paper [23:29:40]Cover opened [23:29:41]int [23:29:41]Write to MH i2c: 01 00 00 8B 2D B8 [23:29:41]*** FLAG_PRN_PAP2 reset [23:29:41]Write i2c OK [23:29:41]MH_I2C_Read... [23:29:41]Read from MH i2c: 01 [23:29:41]MH_I2C_Read... [23:29:41]Read from MH i2c: 01 07 00 [23:29:41]MH_I2C_Read... [23:29:41]Read from MH i2c: 01 07 00 8B 2D 00 01 00 00 00 FF 0F CE [23:29:41]state=3 [23:29:41]No paper [23:29:41]Cover closed [23:29:42]int [23:29:42]Write to MH i2c: 01 00 00 8C 2D B9 [23:29:42]*** FLAG_PRN_PAP2 set [23:29:42]Write i2c OK [23:29:42]MH_I2C_Read... [23:29:42]Read from MH i2c: 01 [23:29:42]MH_I2C_Read... [23:29:42]Read from MH i2c: 01 07 00 [23:29:42]MH_I2C_Read... [23:29:42]Read from MH i2c: 01 07 00 8C 2D 00 03 00 00 00 FF 0F D1 [23:29:42]state=0 [23:29:42]No paper [23:29:42]Cover opened [23:29:45]OFD Sender: No OFD packet to send [23:29:45]int [23:29:45]Write to MH i2c: 01 00 00 8D 2D BA [23:29:45]*** FLAG_PRN_PAP2 reset [23:29:45]Write i2c OK [23:29:45]MH_I2C_Read... [23:29:45]Read from MH i2c: 01 [23:29:45]MH_I2C_Read... [23:29:45]Read from MH i2c: 01 07 00 [23:29:45]MH_I2C_Read... [23:29:45]Read from MH i2c: 01 07 00 8D 2D 00 01 00 00 00 FF 0F D0 [23:29:45]state=3 [23:29:45]No paper [23:29:45]Cover closed [23:29:45]int [23:29:45]Write to MH i2c: 01 00 00 8E 2D BB [23:29:45]*** FLAG_PRN_PAP1 reset [23:29:45]Write i2c OK [23:29:45]MH_I2C_Read... [23:29:45]Read from MH i2c: 01 [23:29:45]MH_I2C_Read... [23:29:45]Read from MH i2c: 01 07 00 [23:29:45]MH_I2C_Read... [23:29:45]Read from MH i2c: 01 07 00 8E 2D 00 00 00 00 00 FF 0F D0 [23:29:45]state=0 [23:29:50]OFD Sender: No OFD packet to send [23:29:55]OFD Sender: No OFD packet to send [23:30:00]OFD Sender: No OFD packet to send [23:30:05]OFD Sender: No OFD packet to send [23:30:10]OFD Sender: No OFD packet to send [23:30:15]OFD Sender: No OFD packet to send [23:30:20]OFD Sender: No OFD packet to send [23:30:25]OFD Sender: No OFD packet to send [23:30:30]OFD Sender: No OFD packet to send [23:30:35]OFD Sender: No OFD packet to send [23:30:40]OFD Sender: No OFD packet to send [23:30:45]OFD Sender: No OFD packet to send [23:30:50]OFD Sender: No OFD packet to send [23:30:55]OFD Sender: No OFD packet to send [23:31:00]OFD Sender: No OFD packet to send [23:31:05]OFD Sender: No OFD packet to send [23:31:10]OFD Sender: No OFD packet to send [23:31:15]OFD Sender: No OFD packet to send [23:31:20]OFD Sender: No OFD packet to send [23:31:25]OFD Sender: No OFD packet to send [23:31:30]OFD Sender: No OFD packet to send [23:31:35]OFD Sender: No OFD packet to send [23:31:40]OFD Sender: No OFD packet to send [23:31:45]OFD Sender: No OFD packet to send [23:31:50]OFD Sender: No OFD packet to send [23:31:55]OFD Sender: No OFD packet to send [23:32:00]OFD Sender: No OFD packet to send [23:32:05]OFD Sender: No OFD packet to send [23:32:10]OFD Sender: No OFD packet to send [23:32:15]OFD Sender: No OFD packet to send [23:32:20]OFD Sender: No OFD packet to send [23:32:25]OFD Sender: No OFD packet to send [23:32:30]OFD Sender: No OFD packet to send [23:32:35]OFD Sender: No OFD packet to send [23:32:40]OFD Sender: No OFD packet to send [23:32:45]OFD Sender: No OFD packet to send [23:32:50]OFD Sender: No OFD packet to send [23:32:55]OFD Sender: No OFD packet to send [23:33:00]OFD Sender: No OFD packet to send [23:33:05]OFD Sender: No OFD packet to send [23:33:10]OFD Sender: No OFD packet to send [23:33:15]OFD Sender: No OFD packet to send [23:33:20]OFD Sender: No OFD packet to send [23:33:25]OFD Sender: No OFD packet to send [23:33:30]OFD Sender: No OFD packet to send [23:33:35]OFD Sender: No OFD packet to send [23:33:40]OFD Sender: No OFD packet to send [23:33:45]OFD Sender: No OFD packet to send [23:33:50]OFD Sender: No OFD packet to send [23:33:55]OFD Sender: No OFD packet to send [23:34:00]OFD Sender: No OFD packet to send [23:34:05]OFD Sender: No OFD packet to send [23:34:10]OFD Sender: No OFD packet to send [23:34:15]OFD Sender: No OFD packet to send [23:34:20]OFD Sender: No OFD packet to send [23:34:25]OFD Sender: No OFD packet to send [23:34:30]OFD Sender: No OFD packet to send [23:34:35]OFD Sender: No OFD packet to send [23:34:40]OFD Sender: No OFD packet to send [23:34:45]OFD Sender: No OFD packet to send [23:34:50]OFD Sender: No OFD packet to send [23:34:55]OFD Sender: No OFD packet to send [23:35:00]OFD Sender: No OFD packet to send [23:35:05]OFD Sender: No OFD packet to send [23:35:10]OFD Sender: No OFD packet to send [23:35:15]OFD Sender: No OFD packet to send [23:35:20]OFD Sender: No OFD packet to send [23:35:25]OFD Sender: No OFD packet to send [23:35:30]OFD Sender: No OFD packet to send [23:35:35]OFD Sender: No OFD packet to send [23:35:40]OFD Sender: No OFD packet to send [23:35:45]OFD Sender: No OFD packet to send [23:35:50]OFD Sender: No OFD packet to send [23:35:55]OFD Sender: No OFD packet to send [23:36:00]OFD Sender: No OFD packet to send [23:36:05]OFD Sender: No OFD packet to send [23:36:10]OFD Sender: No OFD packet to send [23:36:15]OFD Sender: No OFD packet to send [23:36:20]OFD Sender: No OFD packet to send [23:36:25]OFD Sender: No OFD packet to send [23:36:30]OFD Sender: No OFD packet to send [23:36:35]OFD Sender: No OFD packet to send [23:36:40]OFD Sender: No OFD packet to send [23:36:45]OFD Sender: No OFD packet to send [23:36:50]OFD Sender: No OFD packet to send [23:36:55]OFD Sender: No OFD packet to send [23:37:00]OFD Sender: No OFD packet to send [23:37:05]OFD Sender: No OFD packet to send [23:37:10]OFD Sender: No OFD packet to send [23:37:15]OFD Sender: No OFD packet to send [23:37:20]OFD Sender: No OFD packet to send [23:37:25]OFD Sender: No OFD packet to send [23:37:30]OFD Sender: No OFD packet to send [23:37:35]OFD Sender: No OFD packet to send [23:37:40]OFD Sender: No OFD packet to send [23:37:45]OFD Sender: No OFD packet to send [23:37:50]OFD Sender: No OFD packet to send [23:37:55]OFD Sender: No OFD packet to send [23:38:00]OFD Sender: No OFD packet to send [23:38:05]OFD Sender: No OFD packet to send [23:38:10]OFD Sender: No OFD packet to send [23:38:15]OFD Sender: No OFD packet to send [23:38:20]OFD Sender: No OFD packet to send [23:38:25]OFD Sender: No OFD packet to send [23:38:30]OFD Sender: No OFD packet to send [23:38:35]OFD Sender: No OFD packet to send [23:38:39]accept exits with 9 [23:38:39]New connection [23:38:39]New thread 3067297124 created [23:38:39]Thread 3067440484 joined [23:38:39]Waiting for new connection... [23:38:39] Sock 9.Parse request [23:38:39]Sock 9.Check first char [23:38:39]Sock 9.First char is OK [23:38:39]request: POST /json_proto HTTP/1.0 [23:38:39]Method: POST [23:38:39]URL: /json_proto [23:38:39]Method is POST - this is cgi request [23:38:39]url: /json_proto [23:38:39]query_string will be loaded in cgi processing [23:38:39]execute_cgi json_proto POST (null) [23:38:39]execute_cgi path=json_proto method=POST [23:38:39]POST find Content-Length [23:38:39]Host: 172.17.40.196:8080 [23:38:39]Content-Length: 979 [23:38:39]Content-Type: application/json [23:38:39] [23:38:39]POST finish read [23:38:39]Found Content-Length = 979 [23:38:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35135", "tax_sys" : 0, "items" : [ { "code": "4700001060473", "name": "\u041D\u0430\u0441\u0442\u043E\u0439\u043A\u0430 \u0412\u0438\u0448\u043D\u044F \u043D\u0430 \u043A\u043E\u043D\u044C\u044F\u043A\u0435 0,5\u043B", "price" : 430.00, "quantity" : 1.000, "sum" : 430.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329999", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u043B\u0438\u043C\u043E\u043D Regular", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 560.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:38:39]execute_script... [23:38:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35135", "tax_sys" : 0, "items" : [ { "code": "4700001060473", "name": "\u041D\u0430\u0441\u0442\u043E\u0439\u043A\u0430 \u0412\u0438\u0448\u043D\u044F \u043D\u0430 \u043A\u043E\u043D\u044C\u044F\u043A\u0435 0,5\u043B", "price" : 430.00, "quantity" : 1.000, "sum" : 430.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329999", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u043B\u0438\u043C\u043E\u043D Regular", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 560.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:38:39]POST & json_proto [23:38:39]process_json_proto [23:38:39]json parsed OK: [23:38:39]protocol is kg_v1.0 [23:38:39]action value=close_receipt [23:38:39]process_action close_receipt [23:38:39]cmd_close_receipt [23:38:39]MH_GetDate [23:38:39]Write to MH i2c: F0 00 00 8F 2D AB [23:38:39]Write i2c OK [23:38:39]MH_I2C_Read... [23:38:39]Read from MH i2c: F0 [23:38:39]MH_I2C_Read... [23:38:39]Read from MH i2c: F0 09 00 [23:38:39]MH_I2C_Read... [23:38:39]Read from MH i2c: F0 09 00 8F 2D 00 8A 20 20 67 5B 68 A1 66 AF [23:38:39]GetLastDocTimeStamp 1730157010 [23:38:39]current date 1730158730 [23:38:39]FM_GetShiftState [23:38:39]SAM_PROTO_GetShiftState [23:38:39]wFMCommunicate request_size=4 [23:38:39]MH_SAM_APDU [23:38:39]CAPDU: 80 13 01 00 [23:38:39]Write to MH i2c: E2 08 00 90 2D 80 13 01 00 00 00 00 00 3A [23:38:39]Write i2c OK [23:38:39]MH_I2C_Read... [23:38:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:38:39]Read from MH i2c: E2 [23:38:39]MH_I2C_Read... [23:38:39]Read from MH i2c: E2 0E 00 [23:38:39]MH_I2C_Read... [23:38:39]Read from MH i2c: E2 0E 00 90 2D 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 BC [23:38:39]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [23:38:39]wFMCommunicate OK [23:38:39]SAM_PROTO_GetShiftState done [23:38:39]FM_GetShiftState done [23:38:39]opened in 1730073884 [23:38:39]opened+sec_in_day 1730160284 [23:38:39]quantity*price = 43000 [23:38:39]sum+1 = 43001 [23:38:39]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870002329999 Напиток Lipton IceTea 1л лимон Regular 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 560.00 НСП 1% : 4.95 НДС 12% : 59.46 Наличными: 560.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 79 28.10.2024 23:38 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37836 ФПД: 92920559810978 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T233850&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37836&fm=92920559810978&tin=02508201610067®Number=0000000000091684&sum=56000 0 [23:38:41]StoreToDocumentArchive [23:38:41]shift 551 fd 37836 [23:38:41]save to /storage/0551/doc_00037836 [23:38:41]save last doc name /storage/0551/doc_00037836 to /storage/kkm_last_doc_name [23:38:41]save OK [23:38:41]Clear old archive folders... [23:38:41]ProcessDocumentItem done err = 0, tmpTLVsize=418 [23:38:41]tlvbuf is 002C31E0 [23:38:41]SAM_PROTO_ClearQueue [23:38:41]wFMCommunicate request_size=4 [23:38:41]MH_SAM_APDU [23:38:41]CAPDU: 80 09 00 00 [23:38:41]Write to MH i2c: E2 08 00 9D 2D 80 09 00 00 00 00 00 00 3C [23:38:41]Write i2c OK [23:38:41]MH_I2C_Read... [23:38:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:38:41]Read from MH i2c: E2 [23:38:41]MH_I2C_Read... [23:38:41]Read from MH i2c: E2 03 00 [23:38:41]MH_I2C_Read... [23:38:41]Read from MH i2c: E2 03 00 9D 2D 00 90 00 3E [23:38:41]RAPDU: 90 00 [23:38:41]wFMCommunicate OK [23:38:41]SAM_PROTO_ClearQueue done [23:38:41]KKMCreateOFDPacket [23:38:41]OFDProtocolAddRootSTLVToBuf [23:38:41]FM_MakeSignedData [23:38:41]FM_MakeSignedData [23:38:41]SAM_PROTO_SignData [23:38:41]wFMCommunicate request_size=4 [23:38:41]MH_SAM_APDU [23:38:41]CAPDU: 80 0D 01 02 [23:38:41]Write to MH i2c: E2 08 00 9E 2D 80 0D 01 02 00 00 00 00 44 [23:38:41]Write i2c OK [23:38:41]MH_I2C_Read... [23:38:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:38:41]Read from MH i2c: E2 [23:38:41]MH_I2C_Read... [23:38:41]Read from MH i2c: E2 03 00 [23:38:41]MH_I2C_Read... [23:38:41]Read from MH i2c: E2 03 00 9E 2D 00 90 00 3F [23:38:41]RAPDU: 90 00 [23:38:41]wFMCommunicate OK [23:38:41]wFMCommunicate request_size=255 [23:38:41]MH_SAM_APDU [23:38:41]CAPDU: 80 0D 02 02 FA 03 00 A2 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 34 37 33 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 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 A7 00 00 00 00 13 04 06 00 F8 A7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 39 39 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 52 65 67 75 6C 61 72 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 [23:38:41]Write to MH i2c: E2 02 01 9F 2D 80 0D 02 02 FA 00 03 00 A2 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 34 37 33 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 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 A7 00 00 00 00 13 04 06 00 F8 A7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 39 39 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 52 65 67 75 6C 61 72 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 00 AB [23:38:41]Write i2c OK [23:38:41]MH_I2C_Read... [23:38:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:38:41]Read from MH i2c: E2 [23:38:41]MH_I2C_Read... [23:38:41]Read from MH i2c: E2 03 00 [23:38:41]MH_I2C_Read... [23:38:41]Read from MH i2c: E2 03 00 9F 2D 00 90 00 40 [23:38:41]RAPDU: 90 00 [23:38:41]wFMCommunicate OK [23:38:41]wFMCommunicate request_size=177 [23:38:41]MH_SAM_APDU [23:38:41]CAPDU: 80 0D 02 02 AC 00 01 BC 04 01 00 01 FC 03 06 00 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3A 17 00 00 00 00 07 04 06 00 C0 DA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 8A 20 20 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 CC 93 00 00 35 04 06 00 54 82 C0 F5 B9 A2 [23:38:41]Write to MH i2c: E2 B4 00 A0 2D 80 0D 02 02 AC 00 00 01 BC 04 01 00 01 FC 03 06 00 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3A 17 00 00 00 00 07 04 06 00 C0 DA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 8A 20 20 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 CC 93 00 00 35 04 06 00 54 82 C0 F5 B9 A2 00 00 07 [23:38:41]Write i2c OK [23:38:41]MH_I2C_Read... [23:38:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:38:41]Read from MH i2c: E2 [23:38:41]MH_I2C_Read... [23:38:41]Read from MH i2c: E2 03 00 [23:38:41]MH_I2C_Read... [23:38:41]Read from MH i2c: E2 03 00 A0 2D 00 90 00 41 [23:38:41]RAPDU: 90 00 [23:38:41]wFMCommunicate OK [23:38:41]wFMCommunicate request_size=4 [23:38:41]MH_SAM_APDU [23:38:41]CAPDU: 80 0D 03 02 [23:38:41]Write to MH i2c: E2 08 00 A1 2D 80 0D 03 02 00 00 00 00 49 [23:38:41]Write i2c OK [23:38:41]MH_I2C_Read... [23:38:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:38:41]Read from MH i2c: E2 [23:38:41]MH_I2C_Read... [23:38:41]Read from MH i2c: E2 0B 00 [23:38:41]MH_I2C_Read... [23:38:41]Read from MH i2c: E2 0B 00 A1 2D 00 FB AF 15 38 9D 68 6A B5 90 00 65 [23:38:41]RAPDU: FB AF 15 38 9D 68 6A B5 90 00 [23:38:41]wFMCommunicate OK [23:38:41]SAM_PROTO_SignData done [23:38:41]FM_MakeSignedData done [23:38:41]CreateOFDProtocolMessage [23:38:41]wFMCommunicate request_size=4 [23:38:41]MH_SAM_APDU [23:38:41]CAPDU: 80 11 00 00 [23:38:41]Write to MH i2c: E2 08 00 A2 2D 80 11 00 00 00 00 00 00 49 [23:38:41]Write i2c OK [23:38:41]MH_I2C_Read... [23:38:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:38:41]Read from MH i2c: E2 [23:38:41]MH_I2C_Read... [23:38:41]Read from MH i2c: E2 17 00 [23:38:41]MH_I2C_Read... [23:38:41]Read from MH i2c: E2 17 00 A2 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 99 [23:38:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:38:41]wFMCommunicate OK [23:38:41]CreateOFDProtocolMessage done [23:38:41]OFDSenderStorePacket 37836 [23:38:41]StoreOFDPacket docnum=37836 [23:38:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 B6 01 00 00 41 4C AE 01 C9 09 5A 03 01 00 03 00 A2 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 34 37 33 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 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 A7 00 00 00 00 13 04 06 00 F8 A7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 39 39 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 52 65 67 75 6C 61 72 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 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3A 17 00 00 00 00 07 04 06 00 C0 DA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 8A 20 20 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 CC 93 00 00 35 04 06 00 54 82 C0 F5 B9 A2 FB AF 15 38 9D 68 6A B5 [23:38:41]CheckFolder [23:38:41]dirname=/storage/ofd_packets [23:38:41]CheckFolder done [23:38:41]ProducePacketName [23:38:41]name=ofd_packets/00037836 [23:38:41]NVStorageSaveData ofd_packets/00037836 [23:38:41]File name is /storage/ofd_packets/00037836 [23:38:41]Write 468 bytes [23:38:41]NVStorageSaveData done [23:38:41]OFDSenderStorePacket done [23:38:41]KKMCreateOFDPacket done [23:38:41]NVStorageSaveData kkm_last_timestamp [23:38:41]File name is /storage/kkm_last_timestamp [23:38:41]Write 4 bytes [23:38:41]NVStorageSaveData done [23:38:41]ExternCall_PrintAddStr [23:38:41]wPrintStart [23:38:41]Write to MH i2c: 01 00 00 A3 2D D0 [23:38:42]OFD Sender: Processing packet 37836 [packets to send 42, broken 41] [23:38:42]ProducePacketName [23:38:42]name=ofd_packets/00037836 [23:38:42]OFD Sender: To server: pG, [23:38:42]CommunicateWithHost lk.salyk.kg:30040 [23:38:42]Write i2c OK [23:38:42]ConnectInit lk.salyk.kg [23:38:42]MH_I2C_Read... [23:38:42]Read from MH i2c: 01 [23:38:42]MH_I2C_Read... [23:38:42]Read from MH i2c: 01 07 00 [23:38:42]MH_I2C_Read... [23:38:42]Read from MH i2c: 01 07 00 A3 2D 00 00 00 00 00 FF 0F E5 [23:38:42]RasterBufferAndPrint [23:38:42]line Счет N : (3)35135 [23:38:42]line ИНН: 02508201610067 [23:38:42]line Контрольно-Кассовый Чек [23:38:42]line ПРОДАЖА [23:38:42]line Товар: 4700001060473 [23:38:42]line Настойка Вишня на коньяке 0,5л [23:38:42]line 1.000 * 430.00 [23:38:42]line = 430.00 [23:38:42]line НДС 12% НСП 1% [23:38:42]line > о реализуемом товаре [23:38:42]line Товар: 4870002329999 [23:38:42]line Напиток Lipton IceTea 1л лимон Regular [23:38:42]line 1.000 * 130.00 [23:38:42]line = 130.00 [23:38:42]line НДС 12% НСП 1% [23:38:42]line > о реализуемом товаре [23:38:42]line ИТОГО: 560.00 [23:38:42]line НСП 1% : 4.95 [23:38:42]line НДС 12% : 59.46 [23:38:42]line Наличными: 560.00 [23:38:42]line Безнал.: 0.00 [23:38:42]line Место: АЗС № 126 "Партнер Нефть" [23:38:42]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [23:38:42]line СНО: Общий режим [23:38:42]line Чек 79 28.10.2024 23:38 [23:38:42]line Смена: 551 ФФД: 1.0 [23:38:42]line ЗНМ: 0300000092 [23:38:42]line РНМ: 0000000000091684 [23:38:42]line Версия ККМ: 001 [23:38:42]line ФМ: 0000000000871841 [23:38:42]line ФД: 37836 [23:38:42]line ФПД: 92920559810978 [23:38:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T233850&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37836&fm=92920559810978&tin=02508201610067®Number=0000000000091684&sum=56000 [23:38:42]line 0 [23:38:42]written 0, free lines is 4095 [23:38:42]Write to MH i2c: 01 00 00 D3 2D 00 [23:38:42]Write i2c OK [23:38:42]MH_I2C_Read... [23:38:42]Read from MH i2c: 01 [23:38:42]MH_I2C_Read... [23:38:42]Read from MH i2c: 01 07 00 [23:38:42]MH_I2C_Read... [23:38:42]Read from MH i2c: 01 07 00 D3 2D 00 00 00 00 00 2A 0C 3D [23:38:42]RasterBufferAndPrint [23:38:42]line [23:38:42]line [23:38:42]line [23:38:42]line [23:38:42]line [23:38:42]written 0, free lines is 3119 [23:38:42]MH_Cut [23:38:42]Write to MH i2c: D1 01 00 DA 2D 01 D9 [23:38:42]Write i2c OK [23:38:42]MH_I2C_Read... [23:38:42]Read from MH i2c: D1 [23:38:42]MH_I2C_Read... [23:38:42]Read from MH i2c: D1 01 00 [23:38:42]MH_I2C_Read... [23:38:42]Read from MH i2c: D1 01 00 DA 2D 00 D8 [23:38:42]Write to MH i2c: 01 00 00 DB 2D 08 [23:38:42]Write i2c OK [23:38:42]MH_I2C_Read... [23:38:42]Connected sock=11 [23:38:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 B6 01 00 00 41 4C AE 01 C9 09 5A 03 01 00 03 00 A2 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 34 37 33 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 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 A7 00 00 00 00 13 04 06 00 F8 A7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 39 39 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 52 65 67 75 6C 61 72 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 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3A 17 00 00 00 00 07 04 06 00 C0 DA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 8A 20 20 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 CC 93 00 00 35 04 06 00 54 82 C0 F5 B9 A2 FB AF 15 38 9D 68 6A B5 [23:38:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 74 3F 47 00 63 5D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 CC 93 00 00 F4 03 04 00 7D CB 1F 67 B6 04 01 00 00 C4 21 B3 F1 B0 2D 26 3D [23:38:43]CommunicateWithHost err = 0 [23:38:43]CheckOFDResponse [23:38:43]1017 (14) - 77093643461234 [23:38:43]1041 (16) - 0000000000871841 [23:38:43]1040 (4) - 37836 [23:38:43]1012 (4) - 28.10.2024 17:35 [23:38:43]1206 (1) - 0 [23:38:43]OFD Sender: Remove packet 37836 [23:38:43]ProducePacketName [23:38:43]name=ofd_packets/00037836 [23:38:43]NVStorageDeleteData [23:38:43]*** Cut start [23:38:43]*** Partial cut [23:38:43]*** CUTSNS_PIN = 1 [23:38:43]*** CUTSNS_PIN = 0 [23:38:43]OFD Sender: No OFD packet to send [23:38:43]*** Brake cut motor [23:38:44]Read from MH i2c: 01 [23:38:44]MH_I2C_Read... [23:38:44]*** Stop cut motor [23:38:44]*** Cut end [23:38:44]Read from MH i2c: 01 07 00 [23:38:44]MH_I2C_Read... [23:38:44]Read from MH i2c: 01 07 00 DB 2D 00 00 00 00 00 FF 0F 1D [23:38:44]process_action close_receipt done [23:38:44]requested_data is exist [23:38:44]produce_requested_data [23:38:44]requested_item fm.sn is exist - process it [23:38:44]wFMCommunicate request_size=4 [23:38:44]MH_SAM_APDU [23:38:44]CAPDU: 80 11 00 00 [23:38:44]Write to MH i2c: E2 08 00 DC 2D 80 11 00 00 00 00 00 00 83 [23:38:44]Write i2c OK [23:38:44]MH_I2C_Read... [23:38:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:38:44]Read from MH i2c: E2 [23:38:44]MH_I2C_Read... [23:38:44]Read from MH i2c: E2 17 00 [23:38:44]MH_I2C_Read... [23:38:44]Read from MH i2c: E2 17 00 DC 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D3 [23:38:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:38:44]wFMCommunicate OK [23:38:44]requested_item fd.num is exist - process it [23:38:44]SAM_PROTO_GetFieldsCounters [23:38:44]wFMCommunicate request_size=4 [23:38:44]MH_SAM_APDU [23:38:44]CAPDU: 80 13 00 00 [23:38:44]Write to MH i2c: E2 08 00 DD 2D 80 13 00 00 00 00 00 00 86 [23:38:44]Write i2c OK [23:38:44]MH_I2C_Read... [23:38:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:38:44]Read from MH i2c: E2 [23:38:44]MH_I2C_Read... [23:38:44]Read from MH i2c: E2 62 00 [23:38:44]MH_I2C_Read... [23:38:44]Read from MH i2c: E2 62 00 DD 2D 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CC 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 1C [23:38:44]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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CC 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:38:44]wFMCommunicate OK [23:38:44]SAM_PROTO_GetFieldsCounters done [23:38:44]requested_item shift.num is exist - process it [23:38:44]requested_item shift.opened is exist - process it [23:38:44]req_shift_opened [23:38:44]FM_GetShiftState [23:38:44]SAM_PROTO_GetShiftState [23:38:44]wFMCommunicate request_size=4 [23:38:44]MH_SAM_APDU [23:38:44]CAPDU: 80 13 01 00 [23:38:44]Write to MH i2c: E2 08 00 DE 2D 80 13 01 00 00 00 00 00 88 [23:38:44]Write i2c OK [23:38:44]MH_I2C_Read... [23:38:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:38:44]Read from MH i2c: E2 [23:38:44]MH_I2C_Read... [23:38:44]Read from MH i2c: E2 0E 00 [23:38:44]MH_I2C_Read... [23:38:44]Read from MH i2c: E2 0E 00 DE 2D 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 0A [23:38:44]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [23:38:44]wFMCommunicate OK [23:38:44]SAM_PROTO_GetShiftState done [23:38:44]FM_GetShiftState done [23:38:44]req_shift_opened done [23:38:44]requested_item shift.open_date is exist - process it [23:38:44]req_shift_open_date [23:38:44]req_shift_open_date done [23:38:44]produce_requested_data done [23:38:44]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37836,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [23:38:44]process_action_free close_receipt [23:38:44]json_value_free [23:38:44]json_value_free done [23:38:44]process_json_proto returns [23:38:44]Send response to host [23:38:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37836,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [23:38:44]free response buf [23:38:44]execute_script done [23:38:44]execute_script returns [23:38:44]free content buf [23:38:44]Sock 9.Close socket [23:38:44]Sock 9.Thread stoped [23:38:48]OFD Sender: No OFD packet to send [23:38:53]OFD Sender: No OFD packet to send [23:38:58]OFD Sender: No OFD packet to send [23:39:03]OFD Sender: No OFD packet to send [23:39:08]OFD Sender: No OFD packet to send [23:39:13]OFD Sender: No OFD packet to send [23:39:18]OFD Sender: No OFD packet to send [23:39:23]OFD Sender: No OFD packet to send [23:39:28]OFD Sender: No OFD packet to send [23:39:33]OFD Sender: No OFD packet to send [23:39:38]OFD Sender: No OFD packet to send [23:39:43]OFD Sender: No OFD packet to send [23:39:48]OFD Sender: No OFD packet to send [23:39:53]OFD Sender: No OFD packet to send [23:39:58]OFD Sender: No OFD packet to send [23:40:03]OFD Sender: No OFD packet to send [23:40:08]OFD Sender: No OFD packet to send [23:40:13]OFD Sender: No OFD packet to send [23:40:18]OFD Sender: No OFD packet to send [23:40:23]OFD Sender: No OFD packet to send [23:40:28]OFD Sender: No OFD packet to send [23:40:33]OFD Sender: No OFD packet to send [23:40:38]OFD Sender: No OFD packet to send [23:40:43]OFD Sender: No OFD packet to send [23:40:48]OFD Sender: No OFD packet to send [23:40:53]OFD Sender: No OFD packet to send [23:40:58]OFD Sender: No OFD packet to send [23:41:03]OFD Sender: No OFD packet to send [23:41:08]OFD Sender: No OFD packet to send [23:41:13]OFD Sender: No OFD packet to send [23:41:18]OFD Sender: No OFD packet to send [23:41:23]OFD Sender: No OFD packet to send [23:41:28]OFD Sender: No OFD packet to send [23:41:33]OFD Sender: No OFD packet to send [23:41:38]OFD Sender: No OFD packet to send [23:41:43]OFD Sender: No OFD packet to send [23:41:48]OFD Sender: No OFD packet to send [23:41:53]OFD Sender: No OFD packet to send [23:41:58]OFD Sender: No OFD packet to send [23:42:03]OFD Sender: No OFD packet to send [23:42:08]OFD Sender: No OFD packet to send [23:42:13]OFD Sender: No OFD packet to send [23:42:18]OFD Sender: No OFD packet to send [23:42:23]OFD Sender: No OFD packet to send [23:42:28]OFD Sender: No OFD packet to send [23:42:33]OFD Sender: No OFD packet to send [23:42:38]OFD Sender: No OFD packet to send [23:42:43]OFD Sender: No OFD packet to send [23:42:48]OFD Sender: No OFD packet to send [23:42:53]OFD Sender: No OFD packet to send [23:42:58]OFD Sender: No OFD packet to send [23:43:03]OFD Sender: No OFD packet to send [23:43:08]OFD Sender: No OFD packet to send [23:43:13]OFD Sender: No OFD packet to send [23:43:18]OFD Sender: No OFD packet to send [23:43:23]OFD Sender: No OFD packet to send [23:43:28]OFD Sender: No OFD packet to send [23:43:33]OFD Sender: No OFD packet to send [23:43:38]OFD Sender: No OFD packet to send [23:43:43]OFD Sender: No OFD packet to send [23:43:48]OFD Sender: No OFD packet to send [23:43:53]OFD Sender: No OFD packet to send [23:43:58]OFD Sender: No OFD packet to send [23:44:03]OFD Sender: No OFD packet to send [23:44:08]OFD Sender: No OFD packet to send [23:44:13]OFD Sender: No OFD packet to send [23:44:18]OFD Sender: No OFD packet to send [23:44:23]OFD Sender: No OFD packet to send [23:44:28]OFD Sender: No OFD packet to send [23:44:33]OFD Sender: No OFD packet to send [23:44:38]OFD Sender: No OFD packet to send [23:44:43]OFD Sender: No OFD packet to send [23:44:48]OFD Sender: No OFD packet to send [23:44:53]OFD Sender: No OFD packet to send [23:44:58]OFD Sender: No OFD packet to send [23:45:03]OFD Sender: No OFD packet to send [23:45:08]OFD Sender: No OFD packet to send [23:45:13]OFD Sender: No OFD packet to send [23:45:18]OFD Sender: No OFD packet to send [23:45:23]OFD Sender: No OFD packet to send [23:45:28]OFD Sender: No OFD packet to send [23:45:34]OFD Sender: No OFD packet to send [23:45:39]OFD Sender: No OFD packet to send [23:45:44]OFD Sender: No OFD packet to send [23:45:49]OFD Sender: No OFD packet to send [23:45:54]OFD Sender: No OFD packet to send [23:45:59]OFD Sender: No OFD packet to send [23:46:04]OFD Sender: No OFD packet to send [23:46:09]OFD Sender: No OFD packet to send [23:46:14]OFD Sender: No OFD packet to send [23:46:19]OFD Sender: No OFD packet to send [23:46:24]OFD Sender: No OFD packet to send [23:46:29]OFD Sender: No OFD packet to send [23:46:34]OFD Sender: No OFD packet to send [23:46:39]OFD Sender: No OFD packet to send [23:46:44]OFD Sender: No OFD packet to send [23:46:49]OFD Sender: No OFD packet to send [23:46:54]OFD Sender: No OFD packet to send [23:46:59]OFD Sender: No OFD packet to send [23:47:04]OFD Sender: No OFD packet to send [23:47:09]OFD Sender: No OFD packet to send [23:47:14]OFD Sender: No OFD packet to send [23:47:19]OFD Sender: No OFD packet to send [23:47:24]OFD Sender: No OFD packet to send [23:47:29]OFD Sender: No OFD packet to send [23:47:34]OFD Sender: No OFD packet to send [23:47:39]OFD Sender: No OFD packet to send [23:47:44]OFD Sender: No OFD packet to send [23:47:49]OFD Sender: No OFD packet to send [23:47:54]OFD Sender: No OFD packet to send [23:47:59]OFD Sender: No OFD packet to send [23:48:04]OFD Sender: No OFD packet to send [23:48:09]OFD Sender: No OFD packet to send [23:48:14]OFD Sender: No OFD packet to send [23:48:19]OFD Sender: No OFD packet to send [23:48:24]OFD Sender: No OFD packet to send [23:48:29]OFD Sender: No OFD packet to send [23:48:34]OFD Sender: No OFD packet to send [23:48:39]OFD Sender: No OFD packet to send [23:48:44]OFD Sender: No OFD packet to send [23:48:49]OFD Sender: No OFD packet to send [23:48:54]OFD Sender: No OFD packet to send [23:48:59]OFD Sender: No OFD packet to send [23:49:04]OFD Sender: No OFD packet to send [23:49:09]OFD Sender: No OFD packet to send [23:49:14]OFD Sender: No OFD packet to send [23:49:19]OFD Sender: No OFD packet to send [23:49:24]OFD Sender: No OFD packet to send [23:49:29]OFD Sender: No OFD packet to send [23:49:34]OFD Sender: No OFD packet to send [23:49:39]OFD Sender: No OFD packet to send [23:49:44]OFD Sender: No OFD packet to send [23:49:49]OFD Sender: No OFD packet to send [23:49:54]OFD Sender: No OFD packet to send [23:49:59]OFD Sender: No OFD packet to send [23:50:04]OFD Sender: No OFD packet to send [23:50:09]OFD Sender: No OFD packet to send [23:50:14]OFD Sender: No OFD packet to send [23:50:19]OFD Sender: No OFD packet to send [23:50:24]OFD Sender: No OFD packet to send [23:50:29]OFD Sender: No OFD packet to send [23:50:34]OFD Sender: No OFD packet to send [23:50:39]OFD Sender: No OFD packet to send [23:50:44]OFD Sender: No OFD packet to send [23:50:49]OFD Sender: No OFD packet to send [23:50:54]OFD Sender: No OFD packet to send [23:50:59]OFD Sender: No OFD packet to send [23:51:04]OFD Sender: No OFD packet to send [23:51:09]OFD Sender: No OFD packet to send [23:51:14]OFD Sender: No OFD packet to send [23:51:19]OFD Sender: No OFD packet to send [23:51:24]OFD Sender: No OFD packet to send [23:51:29]OFD Sender: No OFD packet to send [23:51:34]OFD Sender: No OFD packet to send [23:51:39]OFD Sender: No OFD packet to send [23:51:44]OFD Sender: No OFD packet to send [23:51:49]OFD Sender: No OFD packet to send [23:51:54]OFD Sender: No OFD packet to send [23:51:59]OFD Sender: No OFD packet to send [23:52:04]OFD Sender: No OFD packet to send [23:52:09]OFD Sender: No OFD packet to send [23:52:14]OFD Sender: No OFD packet to send [23:52:19]OFD Sender: No OFD packet to send [23:52:24]OFD Sender: No OFD packet to send [23:52:29]OFD Sender: No OFD packet to send [23:52:34]OFD Sender: No OFD packet to send [23:52:39]OFD Sender: No OFD packet to send [23:52:44]OFD Sender: No OFD packet to send [23:52:49]OFD Sender: No OFD packet to send [23:52:54]OFD Sender: No OFD packet to send [23:52:59]OFD Sender: No OFD packet to send [23:53:04]OFD Sender: No OFD packet to send [23:53:09]OFD Sender: No OFD packet to send [23:53:14]OFD Sender: No OFD packet to send [23:53:19]OFD Sender: No OFD packet to send [23:53:24]OFD Sender: No OFD packet to send [23:53:29]OFD Sender: No OFD packet to send [23:53:34]OFD Sender: No OFD packet to send [23:53:39]OFD Sender: No OFD packet to send [23:53:44]OFD Sender: No OFD packet to send [23:53:49]OFD Sender: No OFD packet to send [23:53:54]OFD Sender: No OFD packet to send [23:53:59]OFD Sender: No OFD packet to send [23:54:04]OFD Sender: No OFD packet to send [23:54:09]OFD Sender: No OFD packet to send [23:54:14]OFD Sender: No OFD packet to send [23:54:19]OFD Sender: No OFD packet to send [23:54:24]OFD Sender: No OFD packet to send [23:54:29]OFD Sender: No OFD packet to send [23:54:34]OFD Sender: No OFD packet to send [23:54:39]OFD Sender: No OFD packet to send [23:54:44]OFD Sender: No OFD packet to send [23:54:49]OFD Sender: No OFD packet to send [23:54:54]OFD Sender: No OFD packet to send [23:54:59]OFD Sender: No OFD packet to send [23:55:04]OFD Sender: No OFD packet to send [23:55:09]OFD Sender: No OFD packet to send [23:55:14]OFD Sender: No OFD packet to send [23:55:19]OFD Sender: No OFD packet to send [23:55:24]OFD Sender: No OFD packet to send [23:55:29]OFD Sender: No OFD packet to send [23:55:34]OFD Sender: No OFD packet to send [23:55:39]OFD Sender: No OFD packet to send [23:55:44]OFD Sender: No OFD packet to send [23:55:49]OFD Sender: No OFD packet to send [23:55:54]OFD Sender: No OFD packet to send [23:55:59]OFD Sender: No OFD packet to send [23:56:04]OFD Sender: No OFD packet to send [23:56:09]OFD Sender: No OFD packet to send [23:56:14]OFD Sender: No OFD packet to send [23:56:19]OFD Sender: No OFD packet to send [23:56:24]OFD Sender: No OFD packet to send [23:56:29]OFD Sender: No OFD packet to send [23:56:34]OFD Sender: No OFD packet to send [23:56:39]OFD Sender: No OFD packet to send [23:56:44]OFD Sender: No OFD packet to send [23:56:49]OFD Sender: No OFD packet to send [23:56:54]OFD Sender: No OFD packet to send [23:56:59]OFD Sender: No OFD packet to send [23:57:04]OFD Sender: No OFD packet to send [23:57:09]OFD Sender: No OFD packet to send [23:57:14]OFD Sender: No OFD packet to send [23:57:19]OFD Sender: No OFD packet to send [23:57:24]OFD Sender: No OFD packet to send [23:57:29]OFD Sender: No OFD packet to send [23:57:34]OFD Sender: No OFD packet to send [23:57:39]OFD Sender: No OFD packet to send [23:57:44]OFD Sender: No OFD packet to send [23:57:49]OFD Sender: No OFD packet to send [23:57:54]OFD Sender: No OFD packet to send [23:57:59]OFD Sender: No OFD packet to send [23:58:04]OFD Sender: No OFD packet to send [23:58:09]OFD Sender: No OFD packet to send [23:58:14]OFD Sender: No OFD packet to send [23:58:19]OFD Sender: No OFD packet to send [23:58:24]OFD Sender: No OFD packet to send [23:58:29]OFD Sender: No OFD packet to send [23:58:34]OFD Sender: No OFD packet to send [23:58:39]OFD Sender: No OFD packet to send [23:58:44]OFD Sender: No OFD packet to send [23:58:49]OFD Sender: No OFD packet to send [23:58:54]OFD Sender: No OFD packet to send [23:58:59]OFD Sender: No OFD packet to send [23:59:04]OFD Sender: No OFD packet to send [23:59:09]OFD Sender: No OFD packet to send [23:59:14]OFD Sender: No OFD packet to send [23:59:19]OFD Sender: No OFD packet to send [23:59:24]OFD Sender: No OFD packet to send [23:59:29]OFD Sender: No OFD packet to send [23:59:34]OFD Sender: No OFD packet to send [23:59:39]OFD Sender: No OFD packet to send [23:59:44]OFD Sender: No OFD packet to send [23:59:49]OFD Sender: No OFD packet to send [23:59:54]OFD Sender: No OFD packet to send [23:59:59]OFD Sender: No OFD packet to send [00:00:04]OFD Sender: No OFD packet to send [00:00:09]OFD Sender: No OFD packet to send [00:00:14]OFD Sender: No OFD packet to send [00:00:19]OFD Sender: No OFD packet to send [00:00:24]OFD Sender: No OFD packet to send [00:00:28]accept exits with 7 [00:00:28]New connection [00:00:28]New thread 3067440484 created [00:00:28]Thread 3067297124 joined [00:00:28]Waiting for new connection... [00:00:28] Sock 7.Parse request [00:00:28]Sock 7.Check first char [00:00:28]Sock 7.First char is OK [00:00:28]request: POST /json_proto HTTP/1.0 [00:00:28]Method: POST [00:00:28]URL: /json_proto [00:00:28]Method is POST - this is cgi request [00:00:28]url: /json_proto [00:00:28]query_string will be loaded in cgi processing [00:00:28]execute_cgi json_proto POST (null) [00:00:28]execute_cgi path=json_proto method=POST [00:00:28]POST find Content-Length [00:00:28]Host: 172.17.40.196:8080 [00:00:28]Content-Length: 215 [00:00:28]Content-Type: application/json [00:00:28] [00:00:28]POST finish read [00:00:28]Found Content-Length = 215 [00:00:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:28]execute_script... [00:00:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:28]POST & json_proto [00:00:28]process_json_proto [00:00:28]json parsed OK: [00:00:28]protocol is kg_v1.0 [00:00:28]action value=get_value [00:00:28]process_action get_value [00:00:28]cmd_get_value [00:00:28]process_action get_value done [00:00:28]requested_data is exist [00:00:28]produce_requested_data [00:00:28]requested_item kkm.sn is exist - process it [00:00:28]requested_item kkm.ver is exist - process it [00:00:28]requested_item fm.sn is exist - process it [00:00:28]wFMCommunicate request_size=4 [00:00:28]MH_SAM_APDU [00:00:28]CAPDU: 80 11 00 00 [00:00:28]Write to MH i2c: E2 08 00 DF 2D 80 11 00 00 00 00 00 00 86 [00:00:28]Write i2c OK [00:00:28]MH_I2C_Read... [00:00:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:00:28]Read from MH i2c: E2 [00:00:28]MH_I2C_Read... [00:00:28]Read from MH i2c: E2 17 00 [00:00:28]MH_I2C_Read... [00:00:28]Read from MH i2c: E2 17 00 DF 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D6 [00:00:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:00:28]wFMCommunicate OK [00:00:28]requested_item fd.num is exist - process it [00:00:28]SAM_PROTO_GetFieldsCounters [00:00:28]wFMCommunicate request_size=4 [00:00:28]MH_SAM_APDU [00:00:28]CAPDU: 80 13 00 00 [00:00:28]Write to MH i2c: E2 08 00 E0 2D 80 13 00 00 00 00 00 00 89 [00:00:28]Write i2c OK [00:00:28]MH_I2C_Read... [00:00:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:28]Read from MH i2c: E2 [00:00:28]MH_I2C_Read... [00:00:28]Read from MH i2c: E2 62 00 [00:00:28]MH_I2C_Read... [00:00:28]Read from MH i2c: E2 62 00 E0 2D 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CC 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 1F [00:00: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CC 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:00:28]wFMCommunicate OK [00:00:28]SAM_PROTO_GetFieldsCounters done [00:00:28]requested_item shift.num is exist - process it [00:00:28]requested_item shift.opened is exist - process it [00:00:28]req_shift_opened [00:00:28]FM_GetShiftState [00:00:28]SAM_PROTO_GetShiftState [00:00:28]wFMCommunicate request_size=4 [00:00:28]MH_SAM_APDU [00:00:28]CAPDU: 80 13 01 00 [00:00:28]Write to MH i2c: E2 08 00 E1 2D 80 13 01 00 00 00 00 00 8B [00:00:28]Write i2c OK [00:00:28]MH_I2C_Read... [00:00:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:28]Read from MH i2c: E2 [00:00:28]MH_I2C_Read... [00:00:28]Read from MH i2c: E2 0E 00 [00:00:28]MH_I2C_Read... [00:00:28]Read from MH i2c: E2 0E 00 E1 2D 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 0D [00:00:28]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [00:00:28]wFMCommunicate OK [00:00:28]SAM_PROTO_GetShiftState done [00:00:28]FM_GetShiftState done [00:00:28]req_shift_opened done [00:00:28]requested_item shift.open_date is exist - process it [00:00:28]req_shift_open_date [00:00:28]req_shift_open_date done [00:00:28]produce_requested_data done [00:00:28]produce_requested_data return {"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37836,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [00:00:28]process_action_free get_value [00:00:28]json_value_free [00:00:28]json_value_free done [00:00:28]process_json_proto returns [00:00:28]Send response to host [00:00:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37836,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [00:00:28]free response buf [00:00:28]execute_script done [00:00:28]execute_script returns [00:00:28]free content buf [00:00:28]Sock 7.Close socket [00:00:28]Sock 7.Thread stoped [00:00:28]accept exits with 9 [00:00:28]New connection [00:00:28]New thread 3067297124 created [00:00:28]Thread 3067440484 joined [00:00:28]Waiting for new connection... [00:00:28] Sock 9.Parse request [00:00:28]Sock 9.Check first char [00:00:28]Sock 9.First char is OK [00:00:28]request: POST /json_proto HTTP/1.0 [00:00:28]Method: POST [00:00:28]URL: /json_proto [00:00:28]Method is POST - this is cgi request [00:00:28]url: /json_proto [00:00:28]query_string will be loaded in cgi processing [00:00:28]execute_cgi json_proto POST (null) [00:00:28]execute_cgi path=json_proto method=POST [00:00:28]POST find Content-Length [00:00:28]Host: 172.17.40.196:8080 [00:00:28]Content-Length: 331 [00:00:28]Content-Type: application/json [00:00:28] [00:00:28]POST finish read [00:00:28]Found Content-Length = 331 [00:00:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:00:28]execute_script... [00:00:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:00:28]POST & json_proto [00:00:28]process_json_proto [00:00:28]json parsed OK: [00:00:28]protocol is kg_v1.0 [00:00:28]action value=get_value [00:00:28]process_action get_value [00:00:28]cmd_get_value [00:00:28]process_action get_value done [00:00:28]requested_data is exist [00:00:28]produce_requested_data [00:00:28]requested_item fm.sale.total is exist - process it [00:00:28]SAM_PROTO_GetFMData [00:00:28]wFMCommunicate request_size=4 [00:00:28]MH_SAM_APDU [00:00:28]CAPDU: 80 13 03 00 [00:00:28]Write to MH i2c: E2 08 00 E2 2D 80 13 03 00 00 00 00 00 8E [00:00:28]Write i2c OK [00:00:28]MH_I2C_Read... [00:00:29]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:29]Read from MH i2c: E2 [00:00:29]MH_I2C_Read... [00:00:29]Read from MH i2c: E2 FD 00 [00:00:29]MH_I2C_Read... [00:00:29]Read from MH i2c: E2 FD 00 E2 2D 00 C0 04 85 04 BC 04 6E 04 04 00 7E 8F 00 00 69 04 A0 00 6F 04 04 00 79 8F 00 00 B1 04 04 00 9E D4 31 34 70 04 04 00 E4 17 5D 2E 72 04 04 00 BA BC D4 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A8 03 8B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 33 2E 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 BD [00:00:29]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 7E 8F 00 00 69 04 A0 00 6F 04 04 00 79 8F 00 00 B1 04 04 00 9E D4 31 34 70 04 04 00 E4 17 5D 2E 72 04 04 00 BA BC D4 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A8 03 8B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 33 2E 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:00:29]wFMCommunicate OK [00:00:29]wFMCommunicate request_size=4 [00:00:29]MH_SAM_APDU [00:00:29]CAPDU: 80 17 00 00 [00:00:29]Write to MH i2c: E2 08 00 E3 2D 80 17 00 00 00 00 00 00 90 [00:00:29]Write i2c OK [00:00:29]MH_I2C_Read... [00:00:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:29]Read from MH i2c: E2 [00:00:29]MH_I2C_Read... [00:00:29]Read from MH i2c: E2 FD 00 [00:00:29]MH_I2C_Read... [00:00:29]Read from MH i2c: E2 FD 00 E3 2D 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 8B [00:00:29]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:00:29]wFMCommunicate OK [00:00:29]wFMCommunicate request_size=4 [00:00:29]MH_SAM_APDU [00:00:29]CAPDU: 80 17 00 00 [00:00:29]Write to MH i2c: E2 08 00 E4 2D 80 17 00 00 00 00 00 00 91 [00:00:29]Write i2c OK [00:00:29]MH_I2C_Read... [00:00:29]OFD Sender: No OFD packet to send [00:00:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:29]Read from MH i2c: E2 [00:00:29]MH_I2C_Read... [00:00:29]Read from MH i2c: E2 FD 00 [00:00:29]MH_I2C_Read... [00:00:29]Read from MH i2c: E2 FD 00 E4 2D 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 34 [00:00:29]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:00:29]wFMCommunicate OK [00:00:29]wFMCommunicate request_size=4 [00:00:29]MH_SAM_APDU [00:00:29]CAPDU: 80 17 00 00 [00:00:29]Write to MH i2c: E2 08 00 E5 2D 80 17 00 00 00 00 00 00 92 [00:00:29]Write i2c OK [00:00:29]MH_I2C_Read... [00:00:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:30]Read from MH i2c: E2 [00:00:30]MH_I2C_Read... [00:00:30]Read from MH i2c: E2 FD 00 [00:00:30]MH_I2C_Read... [00:00:30]Read from MH i2c: E2 FD 00 E5 2D 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 0A [00:00:30]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:00:30]wFMCommunicate OK [00:00:30]wFMCommunicate request_size=4 [00:00:30]MH_SAM_APDU [00:00:30]CAPDU: 80 17 00 00 [00:00:30]Write to MH i2c: E2 08 00 E6 2D 80 17 00 00 00 00 00 00 93 [00:00:30]Write i2c OK [00:00:30]MH_I2C_Read... [00:00:30]Read from MH i2c: E2 [00:00:30]MH_I2C_Read... [00:00:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:00:30]Read from MH i2c: E2 DD 00 [00:00:30]MH_I2C_Read... [00:00:30]Read from MH i2c: E2 DD 00 E6 2D 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7B [00:00:30]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:30]wFMCommunicate OK [00:00:30]SAM_PROTO_GetFMData done [00:00:30]requested_item fm.sale_refund.total is exist - process it [00:00:30]requested_item fm.buy.total is exist - process it [00:00:30]requested_item shift.sale.total is exist - process it [00:00:30]SAM_PROTO_GetShiftData [00:00:30]wFMCommunicate request_size=4 [00:00:30]MH_SAM_APDU [00:00:30]CAPDU: 80 13 02 00 [00:00:30]Write to MH i2c: E2 08 00 E7 2D 80 13 02 00 00 00 00 00 92 [00:00:30]Write i2c OK [00:00:30]MH_I2C_Read... [00:00:30]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:30]Read from MH i2c: E2 [00:00:30]MH_I2C_Read... [00:00:30]Read from MH i2c: E2 FD 00 [00:00:30]MH_I2C_Read... [00:00:30]Read from MH i2c: E2 FD 00 E7 2D 00 AE 04 AA 04 AA 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 10 EE 15 70 04 03 00 98 64 12 72 04 03 00 78 89 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1F 54 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 66 [00:00:30]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 10 EE 15 70 04 03 00 98 64 12 72 04 03 00 78 89 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1F 54 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:00:30]wFMCommunicate OK [00:00:30]wFMCommunicate request_size=4 [00:00:30]MH_SAM_APDU [00:00:30]CAPDU: 80 17 00 00 [00:00:30]Write to MH i2c: E2 08 00 E8 2D 80 17 00 00 00 00 00 00 95 [00:00:30]Write i2c OK [00:00:30]MH_I2C_Read... [00:00:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:31]Read from MH i2c: E2 [00:00:31]MH_I2C_Read... [00:00:31]Read from MH i2c: E2 FD 00 [00:00:31]MH_I2C_Read... [00:00:31]Read from MH i2c: E2 FD 00 E8 2D 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 B7 [00:00:31]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:00:31]wFMCommunicate OK [00:00:31]wFMCommunicate request_size=4 [00:00:31]MH_SAM_APDU [00:00:31]CAPDU: 80 17 00 00 [00:00:31]Write to MH i2c: E2 08 00 E9 2D 80 17 00 00 00 00 00 00 96 [00:00:31]Write i2c OK [00:00:31]MH_I2C_Read... [00:00:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:31]Read from MH i2c: E2 [00:00:31]MH_I2C_Read... [00:00:31]Read from MH i2c: E2 FD 00 [00:00:31]MH_I2C_Read... [00:00:31]Read from MH i2c: E2 FD 00 E9 2D 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 4D [00:00:31]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:00:31]wFMCommunicate OK [00:00:31]wFMCommunicate request_size=4 [00:00:31]MH_SAM_APDU [00:00:31]CAPDU: 80 17 00 00 [00:00:31]Write to MH i2c: E2 08 00 EA 2D 80 17 00 00 00 00 00 00 97 [00:00:31]Write i2c OK [00:00:31]MH_I2C_Read... [00:00:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:31]Read from MH i2c: E2 [00:00:31]MH_I2C_Read... [00:00:31]Read from MH i2c: E2 FD 00 [00:00:31]MH_I2C_Read... [00:00:31]Read from MH i2c: E2 FD 00 EA 2D 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 09 [00:00:31]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:00:31]wFMCommunicate OK [00:00:31]wFMCommunicate request_size=4 [00:00:31]MH_SAM_APDU [00:00:31]CAPDU: 80 17 00 00 [00:00:31]Write to MH i2c: E2 08 00 EB 2D 80 17 00 00 00 00 00 00 98 [00:00:31]Write i2c OK [00:00:31]MH_I2C_Read... [00:00:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:00:32]Read from MH i2c: E2 [00:00:32]MH_I2C_Read... [00:00:32]Read from MH i2c: E2 CB 00 [00:00:32]MH_I2C_Read... [00:00:32]Read from MH i2c: E2 CB 00 EB 2D 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 81 [00:00:32]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:32]wFMCommunicate OK [00:00:32]SAM_PROTO_GetShiftData done [00:00:32]requested_item shift.sale.total_cash is exist - process it [00:00:32]requested_item shift.sale_refund.total is exist - process it [00:00:32]requested_item shift.sale_refund.total_cash is exist - process it [00:00:32]requested_item shift.buy.total is exist - process it [00:00:32]requested_item shift.buy.total_cash is exist - process it [00:00:32]produce_requested_data done [00:00:32]produce_requested_data return {"fm.sale.total":8756809.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":14372.00,"shift.sale.total_cash":12054.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:00:32]process_action_free get_value [00:00:32]json_value_free [00:00:32]json_value_free done [00:00:32]process_json_proto returns [00:00:32]Send response to host [00:00:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8756809.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":14372.00,"shift.sale.total_cash":12054.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:00:32]free response buf [00:00:32]execute_script done [00:00:32]execute_script returns [00:00:32]free content buf [00:00:32]Sock 9.Close socket [00:00:32]Sock 9.Thread stoped [00:00:32]accept exits with 7 [00:00:32]New connection [00:00:32]New thread 3067440484 created [00:00:32]Thread 3067297124 joined [00:00:32]Waiting for new connection... [00:00:32] Sock 7.Parse request [00:00:32]Sock 7.Check first char [00:00:32]Sock 7.First char is OK [00:00:32]request: POST /json_proto HTTP/1.0 [00:00:32]Method: POST [00:00:32]URL: /json_proto [00:00:32]Method is POST - this is cgi request [00:00:32]url: /json_proto [00:00:32]query_string will be loaded in cgi processing [00:00:32]execute_cgi json_proto POST (null) [00:00:32]execute_cgi path=json_proto method=POST [00:00:32]POST find Content-Length [00:00:32]Host: 172.17.40.196:8080 [00:00:32]Content-Length: 331 [00:00:32]Content-Type: application/json [00:00:32] [00:00:32]POST finish read [00:00:32]Found Content-Length = 331 [00:00:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:00:32]execute_script... [00:00:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:00:32]POST & json_proto [00:00:32]process_json_proto [00:00:32]json parsed OK: [00:00:32]protocol is kg_v1.0 [00:00:32]action value=get_value [00:00:32]process_action get_value [00:00:32]cmd_get_value [00:00:32]process_action get_value done [00:00:32]requested_data is exist [00:00:32]produce_requested_data [00:00:32]requested_item fm.sale.total is exist - process it [00:00:32]SAM_PROTO_GetFMData [00:00:32]wFMCommunicate request_size=4 [00:00:32]MH_SAM_APDU [00:00:32]CAPDU: 80 13 03 00 [00:00:32]Write to MH i2c: E2 08 00 EC 2D 80 13 03 00 00 00 00 00 98 [00:00:32]Write i2c OK [00:00:32]MH_I2C_Read... [00:00:32]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:32]Read from MH i2c: E2 [00:00:32]MH_I2C_Read... [00:00:32]Read from MH i2c: E2 FD 00 [00:00:32]MH_I2C_Read... [00:00:32]Read from MH i2c: E2 FD 00 EC 2D 00 C0 04 85 04 BC 04 6E 04 04 00 7E 8F 00 00 69 04 A0 00 6F 04 04 00 79 8F 00 00 B1 04 04 00 9E D4 31 34 70 04 04 00 E4 17 5D 2E 72 04 04 00 BA BC D4 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A8 03 8B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 33 2E 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 C7 [00:00:32]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 7E 8F 00 00 69 04 A0 00 6F 04 04 00 79 8F 00 00 B1 04 04 00 9E D4 31 34 70 04 04 00 E4 17 5D 2E 72 04 04 00 BA BC D4 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A8 03 8B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 33 2E 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:00:32]wFMCommunicate OK [00:00:32]wFMCommunicate request_size=4 [00:00:32]MH_SAM_APDU [00:00:32]CAPDU: 80 17 00 00 [00:00:32]Write to MH i2c: E2 08 00 ED 2D 80 17 00 00 00 00 00 00 9A [00:00:32]Write i2c OK [00:00:32]MH_I2C_Read... [00:00:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:32]Read from MH i2c: E2 [00:00:32]MH_I2C_Read... [00:00:32]Read from MH i2c: E2 FD 00 [00:00:32]MH_I2C_Read... [00:00:32]Read from MH i2c: E2 FD 00 ED 2D 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 95 [00:00:32]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:00:32]wFMCommunicate OK [00:00:32]wFMCommunicate request_size=4 [00:00:32]MH_SAM_APDU [00:00:32]CAPDU: 80 17 00 00 [00:00:32]Write to MH i2c: E2 08 00 EE 2D 80 17 00 00 00 00 00 00 9B [00:00:32]Write i2c OK [00:00:32]MH_I2C_Read... [00:00:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:33]Read from MH i2c: E2 [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: E2 FD 00 [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: E2 FD 00 EE 2D 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 3E [00:00:33]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:00:33]wFMCommunicate OK [00:00:33]wFMCommunicate request_size=4 [00:00:33]MH_SAM_APDU [00:00:33]CAPDU: 80 17 00 00 [00:00:33]Write to MH i2c: E2 08 00 EF 2D 80 17 00 00 00 00 00 00 9C [00:00:33]Write i2c OK [00:00:33]MH_I2C_Read... [00:00:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:33]Read from MH i2c: E2 [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: E2 FD 00 [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: E2 FD 00 EF 2D 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 14 [00:00:33]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:00:33]wFMCommunicate OK [00:00:33]wFMCommunicate request_size=4 [00:00:33]MH_SAM_APDU [00:00:33]CAPDU: 80 17 00 00 [00:00:33]Write to MH i2c: E2 08 00 F0 2D 80 17 00 00 00 00 00 00 9D [00:00:33]Write i2c OK [00:00:33]MH_I2C_Read... [00:00:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:00:33]Read from MH i2c: E2 [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: E2 DD 00 [00:00:33]MH_I2C_Read... [00:00:33]Read from MH i2c: E2 DD 00 F0 2D 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [00:00:34]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:34]wFMCommunicate OK [00:00:34]SAM_PROTO_GetFMData done [00:00:34]requested_item fm.sale_refund.total is exist - process it [00:00:34]requested_item fm.buy.total is exist - process it [00:00:34]requested_item shift.sale.total is exist - process it [00:00:34]SAM_PROTO_GetShiftData [00:00:34]wFMCommunicate request_size=4 [00:00:34]MH_SAM_APDU [00:00:34]CAPDU: 80 13 02 00 [00:00:34]Write to MH i2c: E2 08 00 F1 2D 80 13 02 00 00 00 00 00 9C [00:00:34]Write i2c OK [00:00:34]MH_I2C_Read... [00:00:34]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:34]Read from MH i2c: E2 [00:00:34]MH_I2C_Read... [00:00:34]Read from MH i2c: E2 FD 00 [00:00:34]MH_I2C_Read... [00:00:34]Read from MH i2c: E2 FD 00 F1 2D 00 AE 04 AA 04 AA 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 10 EE 15 70 04 03 00 98 64 12 72 04 03 00 78 89 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1F 54 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 70 [00:00:34]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 10 EE 15 70 04 03 00 98 64 12 72 04 03 00 78 89 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1F 54 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:00:34]wFMCommunicate OK [00:00:34]wFMCommunicate request_size=4 [00:00:34]MH_SAM_APDU [00:00:34]CAPDU: 80 17 00 00 [00:00:34]Write to MH i2c: E2 08 00 F2 2D 80 17 00 00 00 00 00 00 9F [00:00:34]Write i2c OK [00:00:34]MH_I2C_Read... [00:00:34]OFD Sender: No OFD packet to send [00:00:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:34]Read from MH i2c: E2 [00:00:34]MH_I2C_Read... [00:00:34]Read from MH i2c: E2 FD 00 [00:00:34]MH_I2C_Read... [00:00:34]Read from MH i2c: E2 FD 00 F2 2D 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 C1 [00:00:35]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:00:35]wFMCommunicate OK [00:00:35]wFMCommunicate request_size=4 [00:00:35]MH_SAM_APDU [00:00:35]CAPDU: 80 17 00 00 [00:00:35]Write to MH i2c: E2 08 00 F3 2D 80 17 00 00 00 00 00 00 A0 [00:00:35]Write i2c OK [00:00:35]MH_I2C_Read... [00:00:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:35]Read from MH i2c: E2 [00:00:35]MH_I2C_Read... [00:00:35]Read from MH i2c: E2 FD 00 [00:00:35]MH_I2C_Read... [00:00:35]Read from MH i2c: E2 FD 00 F3 2D 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 57 [00:00:35]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:00:35]wFMCommunicate OK [00:00:35]wFMCommunicate request_size=4 [00:00:35]MH_SAM_APDU [00:00:35]CAPDU: 80 17 00 00 [00:00:35]Write to MH i2c: E2 08 00 F4 2D 80 17 00 00 00 00 00 00 A1 [00:00:35]Write i2c OK [00:00:35]MH_I2C_Read... [00:00:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:35]Read from MH i2c: E2 [00:00:35]MH_I2C_Read... [00:00:35]Read from MH i2c: E2 FD 00 [00:00:35]MH_I2C_Read... [00:00:35]Read from MH i2c: E2 FD 00 F4 2D 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 13 [00:00:35]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:00:36]wFMCommunicate OK [00:00:36]wFMCommunicate request_size=4 [00:00:36]MH_SAM_APDU [00:00:36]CAPDU: 80 17 00 00 [00:00:36]Write to MH i2c: E2 08 00 F5 2D 80 17 00 00 00 00 00 00 A2 [00:00:36]Write i2c OK [00:00:36]MH_I2C_Read... [00:00:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:00:36]Read from MH i2c: E2 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: E2 CB 00 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: E2 CB 00 F5 2D 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 8B [00:00:36]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:36]wFMCommunicate OK [00:00:36]SAM_PROTO_GetShiftData done [00:00:36]requested_item shift.sale.total_cash is exist - process it [00:00:36]requested_item shift.sale_refund.total is exist - process it [00:00:36]requested_item shift.sale_refund.total_cash is exist - process it [00:00:36]requested_item shift.buy.total is exist - process it [00:00:36]requested_item shift.buy.total_cash is exist - process it [00:00:36]produce_requested_data done [00:00:36]produce_requested_data return {"fm.sale.total":8756809.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":14372.00,"shift.sale.total_cash":12054.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:00:36]process_action_free get_value [00:00:36]json_value_free [00:00:36]json_value_free done [00:00:36]process_json_proto returns [00:00:36]Send response to host [00:00:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8756809.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":14372.00,"shift.sale.total_cash":12054.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:00:36]free response buf [00:00:36]execute_script done [00:00:36]execute_script returns [00:00:36]free content buf [00:00:36]Sock 7.Close socket [00:00:36]Sock 7.Thread stoped [00:00:36]accept exits with 9 [00:00:36]New connection [00:00:36]New thread 3067297124 created [00:00:36]Thread 3067440484 joined [00:00:36]Waiting for new connection... [00:00:36] Sock 9.Parse request [00:00:36]Sock 9.Check first char [00:00:36]Sock 9.First char is OK [00:00:36]request: POST /json_proto HTTP/1.0 [00:00:36]Method: POST [00:00:36]URL: /json_proto [00:00:36]Method is POST - this is cgi request [00:00:36]url: /json_proto [00:00:36]query_string will be loaded in cgi processing [00:00:36]execute_cgi json_proto POST (null) [00:00:36]execute_cgi path=json_proto method=POST [00:00:36]POST find Content-Length [00:00:36]Host: 172.17.40.196:8080 [00:00:36]Content-Length: 263 [00:00:36]Content-Type: application/json [00:00:36] [00:00:36]POST finish read [00:00:36]Found Content-Length = 263 [00:00:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0414\u043E\u043B\u043E\u043D\u0431\u0430\u0435\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:36]execute_script... [00:00:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0414\u043E\u043B\u043E\u043D\u0431\u0430\u0435\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:36]POST & json_proto [00:00:36]process_json_proto [00:00:36]json parsed OK: [00:00:36]protocol is kg_v1.0 [00:00:36]action value=x_report [00:00:36]process_action x_report [00:00:36]cmd_x_report [00:00:36]MH_GetDate [00:00:36]Write to MH i2c: F0 00 00 F6 2D 12 [00:00:36]Write i2c OK [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: F0 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: F0 09 00 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: F0 09 00 F6 2D 00 AE 25 20 67 5B 68 A1 66 3F [00:00:36]GetLastDocTimeStamp 1730158730 [00:00:36]current date 1730160046 [00:00:36]FM_GetShiftState [00:00:36]SAM_PROTO_GetShiftState [00:00:36]wFMCommunicate request_size=4 [00:00:36]MH_SAM_APDU [00:00:36]CAPDU: 80 13 01 00 [00:00:36]Write to MH i2c: E2 08 00 F7 2D 80 13 01 00 00 00 00 00 A1 [00:00:36]Write i2c OK [00:00:36]MH_I2C_Read... [00:00:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:36]Read from MH i2c: E2 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: E2 0E 00 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: E2 0E 00 F7 2D 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 23 [00:00:36]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [00:00:36]wFMCommunicate OK [00:00:36]SAM_PROTO_GetShiftState done [00:00:36]FM_GetShiftState done [00:00:36]KKMCreateXReportDocument [00:00:36]Load OK [00:00:36]Malloc new data [00:00:36]MH_GetDate [00:00:36]Write to MH i2c: F0 00 00 F8 2D 14 [00:00:36]Write i2c OK [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: F0 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: F0 09 00 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: F0 09 00 F8 2D 00 AE 25 20 67 5B 68 A1 66 41 [00:00:36]Malloc new data [00:00:36]Malloc new data [00:00:36]wFMCommunicate request_size=4 [00:00:36]MH_SAM_APDU [00:00:36]CAPDU: 80 11 00 00 [00:00:36]Write to MH i2c: E2 08 00 F9 2D 80 11 00 00 00 00 00 00 A0 [00:00:36]Write i2c OK [00:00:36]MH_I2C_Read... [00:00:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:00:36]Read from MH i2c: E2 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: E2 17 00 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: E2 17 00 F9 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F0 [00:00:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:00:36]wFMCommunicate OK [00:00:36]SAM_PROTO_GetFieldsCounters [00:00:36]wFMCommunicate request_size=4 [00:00:36]MH_SAM_APDU [00:00:36]CAPDU: 80 13 00 00 [00:00:36]Write to MH i2c: E2 08 00 FA 2D 80 13 00 00 00 00 00 00 A3 [00:00:36]Write i2c OK [00:00:36]MH_I2C_Read... [00:00:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:36]Read from MH i2c: E2 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: E2 62 00 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: E2 62 00 FA 2D 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CC 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 39 [00:00: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CC 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:00:36]wFMCommunicate OK [00:00:36]SAM_PROTO_GetFieldsCounters done [00:00:36]Malloc new data [00:00:36]Malloc new data [00:00:36]Malloc new data [00:00:36]KKMCreateXReportDocument OK [00:00:36]KKMSetXReportData OK [00:00:36]KKMPrepareXReportFMData [00:00:36]SAM_PROTO_GetShiftData [00:00:36]wFMCommunicate request_size=4 [00:00:36]MH_SAM_APDU [00:00:36]CAPDU: 80 13 02 00 [00:00:36]Write to MH i2c: E2 08 00 FB 2D 80 13 02 00 00 00 00 00 A6 [00:00:36]Write i2c OK [00:00:36]MH_I2C_Read... [00:00:37]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:37]Read from MH i2c: E2 [00:00:37]MH_I2C_Read... [00:00:37]Read from MH i2c: E2 FD 00 [00:00:37]MH_I2C_Read... [00:00:37]Read from MH i2c: E2 FD 00 FB 2D 00 AE 04 AA 04 AA 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 10 EE 15 70 04 03 00 98 64 12 72 04 03 00 78 89 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1F 54 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 7A [00:00:37]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 10 EE 15 70 04 03 00 98 64 12 72 04 03 00 78 89 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1F 54 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:00:37]wFMCommunicate OK [00:00:37]wFMCommunicate request_size=4 [00:00:37]MH_SAM_APDU [00:00:37]CAPDU: 80 17 00 00 [00:00:37]Write to MH i2c: E2 08 00 FC 2D 80 17 00 00 00 00 00 00 A9 [00:00:37]Write i2c OK [00:00:37]MH_I2C_Read... [00:00:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:37]Read from MH i2c: E2 [00:00:37]MH_I2C_Read... [00:00:37]Read from MH i2c: E2 FD 00 [00:00:37]MH_I2C_Read... [00:00:37]Read from MH i2c: E2 FD 00 FC 2D 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 CB [00:00:37]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:00:38]wFMCommunicate OK [00:00:38]wFMCommunicate request_size=4 [00:00:38]MH_SAM_APDU [00:00:38]CAPDU: 80 17 00 00 [00:00:38]Write to MH i2c: E2 08 00 FD 2D 80 17 00 00 00 00 00 00 AA [00:00:38]Write i2c OK [00:00:38]MH_I2C_Read... [00:00:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:38]Read from MH i2c: E2 [00:00:38]MH_I2C_Read... [00:00:38]Read from MH i2c: E2 FD 00 [00:00:38]MH_I2C_Read... [00:00:38]Read from MH i2c: E2 FD 00 FD 2D 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 61 [00:00:38]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:00:38]wFMCommunicate OK [00:00:38]wFMCommunicate request_size=4 [00:00:38]MH_SAM_APDU [00:00:38]CAPDU: 80 17 00 00 [00:00:38]Write to MH i2c: E2 08 00 FE 2D 80 17 00 00 00 00 00 00 AB [00:00:38]Write i2c OK [00:00:38]MH_I2C_Read... [00:00:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:38]Read from MH i2c: E2 [00:00:38]MH_I2C_Read... [00:00:38]Read from MH i2c: E2 FD 00 [00:00:38]MH_I2C_Read... [00:00:38]Read from MH i2c: E2 FD 00 FE 2D 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 1D [00:00:38]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:00:39]wFMCommunicate OK [00:00:39]wFMCommunicate request_size=4 [00:00:39]MH_SAM_APDU [00:00:39]CAPDU: 80 17 00 00 [00:00:39]Write to MH i2c: E2 08 00 FF 2D 80 17 00 00 00 00 00 00 AC [00:00:39]Write i2c OK [00:00:39]MH_I2C_Read... [00:00:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:00:39]Read from MH i2c: E2 [00:00:39]MH_I2C_Read... [00:00:39]Read from MH i2c: E2 CB 00 [00:00:39]MH_I2C_Read... [00:00:39]Read from MH i2c: E2 CB 00 FF 2D 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 95 [00:00:39]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:39]wFMCommunicate OK [00:00:39]SAM_PROTO_GetShiftData done [00:00:39]1194 (1194) - счетчики итогов смены [00:00:39] 1134 (4) - 79 - количество чеков со всеми признаками расчетов [00:00:39] 1129 (155) - счетчики операций «приход» [00:00:39] 1135 (4) - 79 - количество чеков по признаку расчетов [00:00:39] 1201 (3) - 14372.00 - общая итоговая сумма в чеках [00:00:39] 1136 (3) - 12054.00 - итоговая сумма в чеках наличными [00:00:39] 1138 (3) - 2318.00 - итоговая сумма в чеках безналичными [00:00:39] 1024 (122) - суммы налогов [00:00:39] 1006 (9) - суммы НДС [00:00:39] 1010 (1) - 0% - код ставки НДС [00:00:39] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:39] 1006 (12) - суммы НДС [00:00:39] 1010 (1) - 12% - код ставки НДС [00:00:39] 1011 (3) - 1526.07 - сумма НДС по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 0% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (11) - суммы НСП [00:00:39] 1014 (1) - 1% - код ставки НСП [00:00:39] 1015 (2) - 127.14 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 2% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 3% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 5% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 0,50% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 1,50% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1130 (141) - счетчики операций «возврат прихода» [00:00:39] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:39] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:39] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:39] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:39] 1024 (117) - суммы налогов [00:00:39] 1006 (9) - суммы НДС [00:00:39] 1010 (1) - 0% - код ставки НДС [00:00:39] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:39] 1006 (9) - суммы НДС [00:00:39] 1010 (1) - 12% - код ставки НДС [00:00:39] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 0% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 1% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 2% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 3% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 5% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 0,50% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 1,50% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1131 (141) - счетчики операций «расход» [00:00:39] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:39] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:39] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:39] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:39] 1024 (117) - суммы налогов [00:00:39] 1006 (9) - суммы НДС [00:00:39] 1010 (1) - 0% - код ставки НДС [00:00:39] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:39] 1006 (9) - суммы НДС [00:00:39] 1010 (1) - 12% - код ставки НДС [00:00:39] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 0% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 1% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 2% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 3% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 5% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 0,50% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 1,50% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1132 (141) - счетчики операций «возврат расхода» [00:00:39] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:39] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:39] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:39] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:39] 1024 (117) - суммы налогов [00:00:39] 1006 (9) - суммы НДС [00:00:39] 1010 (1) - 0% - код ставки НДС [00:00:39] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:39] 1006 (9) - суммы НДС [00:00:39] 1010 (1) - 12% - код ставки НДС [00:00:39] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 0% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 1% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 2% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 3% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 5% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 0,50% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1007 (9) - суммы НСП [00:00:39] 1014 (1) - 1,50% - код ставки НСП [00:00:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:39] 1133 (588) - - счетчики коррекции - не используются [00:00:39]SetTLVBufToDocument [00:00:39]Processing tag 1194 (04AA) [00:00:39]Load OK [00:00:39]SetTLVBufToDocument [00:00:39]Processing tag 1134 (046E) [00:00:39]Malloc new data [00:00:39]Processing tag 1129 (0469) [00:00:39]Load OK [00:00:39]SetTLVBufToDocument [00:00:39]Processing tag 1135 (046F) [00:00:39]Malloc new data [00:00:39]Processing tag 1201 (04B1) [00:00:39]Malloc new data [00:00:39]Processing tag 1136 (0470) [00:00:39]Malloc new data [00:00:39]Processing tag 1138 (0472) [00:00:39]Malloc new data [00:00:39]Processing tag 1024 (0400) [00:00:39]Load OK [00:00:39]SetTLVBufToDocument [00:00:39]Processing tag 1006 (03EE) [00:00:39]Load OK [00:00:39]SetTLVBufToDocument [00:00:39]Processing tag 1010 (03F2) [00:00:39]Malloc new data [00:00:39]Processing tag 1011 (03F3) [00:00:39]Malloc new data [00:00:39]SetTLVBufToDocument err=0 [00:00:39]Processing tag 1006 (03EE) [00:00:39]Load OK [00:00:39]SetTLVBufToDocument [00:00:39]Processing tag 1010 (03F2) [00:00:39]Malloc new data [00:00:39]Processing tag 1011 (03F3) [00:00:39]Malloc new data [00:00:39]SetTLVBufToDocument err=0 [00:00:39]Processing tag 1007 (03EF) [00:00:39]Load OK [00:00:39]SetTLVBufToDocument [00:00:39]Processing tag 1014 (03F6) [00:00:39]Malloc new data [00:00:39]Processing tag 1015 (03F7) [00:00:39]Malloc new data [00:00:39]SetTLVBufToDocument err=0 [00:00:39]Processing tag 1007 (03EF) [00:00:39]Load OK [00:00:39]SetTLVBufToDocument [00:00:39]Processing tag 1014 (03F6) [00:00:39]Malloc new data [00:00:39]Processing tag 1015 (03F7) [00:00:39]Malloc new data [00:00:39]SetTLVBufToDocument err=0 [00:00:39]Processing tag 1007 (03EF) [00:00:39]Load OK [00:00:39]SetTLVBufToDocument [00:00:39]Processing tag 1014 (03F6) [00:00:39]Malloc new data [00:00:39]Processing tag 1015 (03F7) [00:00:39]Malloc new data [00:00:39]SetTLVBufToDocument err=0 [00:00:39]Processing tag 1007 (03EF) [00:00:39]Load OK [00:00:39]SetTLVBufToDocument [00:00:39]Processing tag 1014 (03F6) [00:00:39]Malloc new data [00:00:39]Processing tag 1015 (03F7) [00:00:39]Malloc new data [00:00:39]SetTLVBufToDocument err=0 [00:00:39]Processing tag 1007 (03EF) [00:00:39]Load OK [00:00:39]SetTLVBufToDocument [00:00:39]Processing tag 1014 (03F6) [00:00:39]Malloc new data [00:00:39]Processing tag 1015 (03F7) [00:00:39]Malloc new data [00:00:39]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]SetTLVBufToDocument err=0 [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1130 (046A) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1135 (046F) [00:00:40]Malloc new data [00:00:40]Processing tag 1201 (04B1) [00:00:40]Malloc new data [00:00:40]Processing tag 1136 (0470) [00:00:40]Malloc new data [00:00:40]Processing tag 1138 (0472) [00:00:40]Malloc new data [00:00:40]Processing tag 1024 (0400) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1006 (03EE) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1010 (03F2) [00:00:40]Malloc new data [00:00:40]Processing tag 1011 (03F3) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1006 (03EE) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1010 (03F2) [00:00:40]Malloc new data [00:00:40]Processing tag 1011 (03F3) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]OFD Sender: No OFD packet to send [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]SetTLVBufToDocument err=0 [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1131 (046B) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1135 (046F) [00:00:40]Malloc new data [00:00:40]Processing tag 1201 (04B1) [00:00:40]Malloc new data [00:00:40]Processing tag 1136 (0470) [00:00:40]Malloc new data [00:00:40]Processing tag 1138 (0472) [00:00:40]Malloc new data [00:00:40]Processing tag 1024 (0400) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1006 (03EE) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1010 (03F2) [00:00:40]Malloc new data [00:00:40]Processing tag 1011 (03F3) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1006 (03EE) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1010 (03F2) [00:00:40]Malloc new data [00:00:40]Processing tag 1011 (03F3) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]SetTLVBufToDocument err=0 [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1132 (046C) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1135 (046F) [00:00:40]Malloc new data [00:00:40]Processing tag 1201 (04B1) [00:00:40]Malloc new data [00:00:40]Processing tag 1136 (0470) [00:00:40]Malloc new data [00:00:40]Processing tag 1138 (0472) [00:00:40]Malloc new data [00:00:40]Processing tag 1024 (0400) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1006 (03EE) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1010 (03F2) [00:00:40]Malloc new data [00:00:40]Processing tag 1011 (03F3) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1006 (03EE) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1010 (03F2) [00:00:40]Malloc new data [00:00:40]Processing tag 1011 (03F3) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1007 (03EF) [00:00:40]Load OK [00:00:40]SetTLVBufToDocument [00:00:40]Processing tag 1014 (03F6) [00:00:40]Malloc new data [00:00:40]Processing tag 1015 (03F7) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]SetTLVBufToDocument err=0 [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Processing tag 1133 (046D) [00:00:40]Malloc new data [00:00:40]SetTLVBufToDocument err=0 [00:00:40]SetTLVBufToDocument err=0 [00:00:40]Malloc new data [00:00:40]SAM_PROTO_GetFMData [00:00:40]wFMCommunicate request_size=4 [00:00:40]MH_SAM_APDU [00:00:40]CAPDU: 80 13 03 00 [00:00:40]Write to MH i2c: E2 08 00 00 2E 80 13 03 00 00 00 00 00 AD [00:00:40]Write i2c OK [00:00:40]MH_I2C_Read... [00:00:41]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:41]Read from MH i2c: E2 [00:00:41]MH_I2C_Read... [00:00:41]Read from MH i2c: E2 FD 00 [00:00:41]MH_I2C_Read... [00:00:41]Read from MH i2c: E2 FD 00 00 2E 00 C0 04 85 04 BC 04 6E 04 04 00 7E 8F 00 00 69 04 A0 00 6F 04 04 00 79 8F 00 00 B1 04 04 00 9E D4 31 34 70 04 04 00 E4 17 5D 2E 72 04 04 00 BA BC D4 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A8 03 8B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 33 2E 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 DC [00:00:41]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 7E 8F 00 00 69 04 A0 00 6F 04 04 00 79 8F 00 00 B1 04 04 00 9E D4 31 34 70 04 04 00 E4 17 5D 2E 72 04 04 00 BA BC D4 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A8 03 8B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 33 2E 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:00:41]wFMCommunicate OK [00:00:41]wFMCommunicate request_size=4 [00:00:41]MH_SAM_APDU [00:00:41]CAPDU: 80 17 00 00 [00:00:41]Write to MH i2c: E2 08 00 01 2E 80 17 00 00 00 00 00 00 AF [00:00:41]Write i2c OK [00:00:41]MH_I2C_Read... [00:00:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:41]Read from MH i2c: E2 [00:00:41]MH_I2C_Read... [00:00:41]Read from MH i2c: E2 FD 00 [00:00:41]MH_I2C_Read... [00:00:41]Read from MH i2c: E2 FD 00 01 2E 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 AA [00:00:41]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:00:42]wFMCommunicate OK [00:00:42]wFMCommunicate request_size=4 [00:00:42]MH_SAM_APDU [00:00:42]CAPDU: 80 17 00 00 [00:00:42]Write to MH i2c: E2 08 00 02 2E 80 17 00 00 00 00 00 00 B0 [00:00:42]Write i2c OK [00:00:42]MH_I2C_Read... [00:00:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:42]Read from MH i2c: E2 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: E2 FD 00 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: E2 FD 00 02 2E 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 53 [00:00:42]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:00:42]wFMCommunicate OK [00:00:42]wFMCommunicate request_size=4 [00:00:42]MH_SAM_APDU [00:00:42]CAPDU: 80 17 00 00 [00:00:42]Write to MH i2c: E2 08 00 03 2E 80 17 00 00 00 00 00 00 B1 [00:00:42]Write i2c OK [00:00:42]MH_I2C_Read... [00:00:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:42]Read from MH i2c: E2 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: E2 FD 00 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: E2 FD 00 03 2E 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 29 [00:00:43]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:00:43]wFMCommunicate OK [00:00:43]wFMCommunicate request_size=4 [00:00:43]MH_SAM_APDU [00:00:43]CAPDU: 80 17 00 00 [00:00:43]Write to MH i2c: E2 08 00 04 2E 80 17 00 00 00 00 00 00 B2 [00:00:43]Write i2c OK [00:00:43]MH_I2C_Read... [00:00:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:00:43]Read from MH i2c: E2 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 DD 00 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 DD 00 04 2E 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 9A [00:00:43]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:43]wFMCommunicate OK [00:00:43]SAM_PROTO_GetFMData done [00:00:43]FM_GetFMData:85 04 BC 04 6E 04 04 00 7E 8F 00 00 69 04 A0 00 6F 04 04 00 79 8F 00 00 B1 04 04 00 9E D4 31 34 70 04 04 00 E4 17 5D 2E 72 04 04 00 BA BC D4 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A8 03 8B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 33 2E 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:00:44]oper:6F 04 04 00 79 8F 00 00 B1 04 04 00 9E D4 31 34 70 04 04 00 E4 17 5D 2E 72 04 04 00 BA BC D4 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A8 03 8B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 33 2E 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:00:44]total:9E D4 31 34 [00:00:44]Malloc new data [00:00:44]oper:6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:00:44]total:94 B2 13 [00:00:44]Malloc new data [00:00:44]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:00:44]total: [00:00:44]Malloc new data [00:00:44]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:00:44]total: [00:00:44]Malloc new data [00:00:44]KKMPrepareXReportFMData err=0 [00:00:44]Х отчет ИНН: 02508201610067 Кассир: Долонбаев А. 29.10.2024 00:00 Смена: 522 РНМ: 0000000000091684 ЗНМ: 0300000092 СНО: Общий режим Всего чеков: 79 ИТОГИ ПРИХОД Чеков: 79 Общий итог: 14372.00 Итого наличными: 12054.00 Итого безнал.: 2318.00 НДС 0% : 0.00 НДС 12% : 1526.07 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 127.14 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ РАСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ ВОЗВРАТ РАСХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 Сумма внесений: 0.00 Сумма выплат: 0.00 Нал. в кассе: 12054.00 НС Приход: 8756809.26 НС Возвр.Прихода: 12909.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000871841 [00:00:44]StoreToDocumentArchive [00:00:44]MH_GetDate [00:00:44]Write to MH i2c: F0 00 00 05 2E 22 [00:00:44]Write i2c OK [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: F0 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: F0 09 00 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: F0 09 00 05 2E 00 B6 25 20 67 5B 68 A1 66 57 [00:00:44]shift 522 fd 1730160054 [00:00:44]Create dir for shift 0522 [00:00:44]save to /storage/0522/doc_1730160054 [00:00:44]save last doc name /storage/0522/doc_1730160054 to /storage/kkm_last_doc_name [00:00:44]save OK [00:00:44]Clear old archive folders... [00:00:44]NVStorageSaveData kkm_last_timestamp [00:00:44]File name is /storage/kkm_last_timestamp [00:00:44]Write 4 bytes [00:00:44]NVStorageSaveData done [00:00:44]ExternCall_PrintAddStr [00:00:44]wPrintStart [00:00:44]Write to MH i2c: 01 00 00 06 2E 34 [00:00:44]Write i2c OK [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: 01 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: 01 07 00 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: 01 07 00 06 2E 00 00 00 00 00 FF 0F 49 [00:00:44]RasterBufferAndPrint [00:00:44]line Х отчет [00:00:44]line ИНН: 02508201610067 [00:00:44]line Кассир: Долонбаев А. [00:00:44]line 29.10.2024 00:00 [00:00:44]line Смена: 522 [00:00:44]line РНМ: 0000000000091684 [00:00:44]line ЗНМ: 0300000092 [00:00:44]line СНО: Общий режим [00:00:44]line Всего чеков: 79 [00:00:44]line ИТОГИ ПРИХОД [00:00:44]line Чеков: 79 [00:00:44]line Общий итог: 14372.00 [00:00:44]line Итого наличными: 12054.00 [00:00:44]line Итого безнал.: 2318.00 [00:00:44]line НДС 0% : 0.00 [00:00:44]line НДС 12% : 1526.07 [00:00:44]line НСП 0% : 0.00 [00:00:44]line НСП 1,50% : 0.00 [00:00:44]line НСП 0,50% : 0.00 [00:00:44]line НСП 5% : 0.00 [00:00:44]line НСП 3% : 0.00 [00:00:44]line НСП 2% : 0.00 [00:00:44]line НСП 1% : 127.14 [00:00:44]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:00:44]line Чеков: 0 [00:00:44]line Общий итог: 0.00 [00:00:44]line Итого наличными: 0.00 [00:00:44]line Итого безнал.: 0.00 [00:00:44]line НДС 0% : 0.00 [00:00:44]line НДС 12% : 0.00 [00:00:44]line НСП 0% : 0.00 [00:00:44]line НСП 1,50% : 0.00 [00:00:44]line НСП 0,50% : 0.00 [00:00:44]line НСП 5% : 0.00 [00:00:44]line НСП 3% : 0.00 [00:00:44]line НСП 2% : 0.00 [00:00:44]line НСП 1% : 0.00 [00:00:44]line ИТОГИ РАСХОД [00:00:44]line Чеков: 0 [00:00:44]line Общий итог: 0.00 [00:00:44]line Итого наличными: 0.00 [00:00:44]line Итого безнал.: 0.00 [00:00:44]line НДС 0% : 0.00 [00:00:44]line НДС 12% : 0.00 [00:00:44]line НСП 0% : 0.00 [00:00:44]line НСП 1,50% : 0.00 [00:00:44]line НСП 0,50% : 0.00 [00:00:44]line НСП 5% : 0.00 [00:00:44]line НСП 3% : 0.00 [00:00:44]line НСП 2% : 0.00 [00:00:44]line НСП 1% : 0.00 [00:00:44]line ИТОГИ ВОЗВРАТ РАСХОДА [00:00:44]line Чеков: 0 [00:00:44]line Общий итог: 0.00 [00:00:44]line Итого наличными: 0.00 [00:00:44]line Итого безнал.: 0.00 [00:00:44]line НДС 0% : 0.00 [00:00:44]line НДС 12% : 0.00 [00:00:44]line НСП 0% : 0.00 [00:00:44]line НСП 1,50% : 0.00 [00:00:44]line НСП 0,50% : 0.00 [00:00:44]line НСП 5% : 0.00 [00:00:44]line НСП 3% : 0.00 [00:00:44]line НСП 2% : 0.00 [00:00:44]line НСП 1% : 0.00 [00:00:44]line Сумма внесений: 0.00 [00:00:44]line Сумма выплат: 0.00 [00:00:44]line Нал. в кассе: 12054.00 [00:00:44]line НС Приход: 8756809.26 [00:00:44]line НС Возвр.Прихода: 12909.00 [00:00:44]line НС Расход: 0.00 [00:00:44]line НС Возвр.Расхода: 0.00 [00:00:44]line ФМ: 0000000000871841 [00:00:44]written 0, free lines is 4095 [00:00:45]OFD Sender: No OFD packet to send [00:00:45]Write to MH i2c: 01 00 00 51 2E 7F [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: 01 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: 01 07 00 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: 01 07 00 51 2E 00 00 00 00 00 8F 0A 1F [00:00:45]RasterBufferAndPrint [00:00:45]line [00:00:45]line [00:00:45]line [00:00:45]line [00:00:45]line [00:00:45]written 0, free lines is 2736 [00:00:45]MH_Cut [00:00:45]Write to MH i2c: D1 01 00 58 2E 01 58 [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: D1 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: D1 01 00 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: D1 01 00 58 2E 00 57 [00:00:45]Write to MH i2c: 01 00 00 59 2E 87 [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:46]*** Cut start [00:00:46]*** Partial cut [00:00:46]*** CUTSNS_PIN = 1 [00:00:46]*** CUTSNS_PIN = 0 [00:00:47]*** Brake cut motor [00:00:47]Read from MH i2c: 01 [00:00:47]MH_I2C_Read... [00:00:47]*** Stop cut motor [00:00:47]*** Cut end [00:00:47]Read from MH i2c: 01 07 00 [00:00:47]MH_I2C_Read... [00:00:47]Read from MH i2c: 01 07 00 59 2E 00 00 00 00 00 FF 0F 9C [00:00:47]process_action x_report done [00:00:47]requested_data is exist [00:00:47]produce_requested_data [00:00:47]requested_item fd.num is exist - process it [00:00:47]SAM_PROTO_GetFieldsCounters [00:00:47]wFMCommunicate request_size=4 [00:00:47]MH_SAM_APDU [00:00:47]CAPDU: 80 13 00 00 [00:00:47]Write to MH i2c: E2 08 00 5A 2E 80 13 00 00 00 00 00 00 04 [00:00:47]Write i2c OK [00:00:47]MH_I2C_Read... [00:00:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:47]Read from MH i2c: E2 [00:00:47]MH_I2C_Read... [00:00:47]Read from MH i2c: E2 62 00 [00:00:47]MH_I2C_Read... [00:00:47]Read from MH i2c: E2 62 00 5A 2E 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CC 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 9A [00:00: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CC 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:00:47]wFMCommunicate OK [00:00:47]SAM_PROTO_GetFieldsCounters done [00:00:47]requested_item shift.num is exist - process it [00:00:47]requested_item shift.opened is exist - process it [00:00:47]req_shift_opened [00:00:47]FM_GetShiftState [00:00:47]SAM_PROTO_GetShiftState [00:00:47]wFMCommunicate request_size=4 [00:00:47]MH_SAM_APDU [00:00:47]CAPDU: 80 13 01 00 [00:00:47]Write to MH i2c: E2 08 00 5B 2E 80 13 01 00 00 00 00 00 06 [00:00:47]Write i2c OK [00:00:47]MH_I2C_Read... [00:00:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:47]Read from MH i2c: E2 [00:00:47]MH_I2C_Read... [00:00:47]Read from MH i2c: E2 0E 00 [00:00:47]MH_I2C_Read... [00:00:47]Read from MH i2c: E2 0E 00 5B 2E 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 88 [00:00:47]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [00:00:47]wFMCommunicate OK [00:00:47]SAM_PROTO_GetShiftState done [00:00:47]FM_GetShiftState done [00:00:47]req_shift_opened done [00:00:47]requested_item shift.open_date is exist - process it [00:00:47]req_shift_open_date [00:00:47]req_shift_open_date done [00:00:47]produce_requested_data done [00:00:47]produce_requested_data return {"fd.num":37836,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [00:00:47]process_action_free x_report [00:00:47]json_value_free [00:00:47]json_value_free done [00:00:47]process_json_proto returns [00:00:47]Send response to host [00:00:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":37836,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [00:00:47]free response buf [00:00:47]execute_script done [00:00:47]execute_script returns [00:00:47]free content buf [00:00:47]Sock 9.Close socket [00:00:47]Sock 9.Thread stoped [00:00:50]OFD Sender: No OFD packet to send [00:00:55]OFD Sender: No OFD packet to send [00:01:00]OFD Sender: No OFD packet to send [00:01:05]OFD Sender: No OFD packet to send [00:01:10]OFD Sender: No OFD packet to send [00:01:15]OFD Sender: No OFD packet to send [00:01:20]OFD Sender: No OFD packet to send [00:01:24]accept exits with 7 [00:01:24]New connection [00:01:24]New thread 3067440484 created [00:01:24]Thread 3067297124 joined [00:01:24]Waiting for new connection... [00:01:24] Sock 7.Parse request [00:01:24]Sock 7.Check first char [00:01:24]Sock 7.First char is OK [00:01:24]request: POST /json_proto HTTP/1.0 [00:01:24]Method: POST [00:01:24]URL: /json_proto [00:01:24]Method is POST - this is cgi request [00:01:24]url: /json_proto [00:01:24]query_string will be loaded in cgi processing [00:01:24]execute_cgi json_proto POST (null) [00:01:24]execute_cgi path=json_proto method=POST [00:01:24]POST find Content-Length [00:01:24]Host: 172.17.40.196:8080 [00:01:24]Content-Length: 215 [00:01:24]Content-Type: application/json [00:01:24] [00:01:24]POST finish read [00:01:24]Found Content-Length = 215 [00:01:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:01:24]execute_script... [00:01:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:01:24]POST & json_proto [00:01:24]process_json_proto [00:01:24]json parsed OK: [00:01:24]protocol is kg_v1.0 [00:01:24]action value=get_value [00:01:24]process_action get_value [00:01:24]cmd_get_value [00:01:24]process_action get_value done [00:01:24]requested_data is exist [00:01:24]produce_requested_data [00:01:24]requested_item kkm.sn is exist - process it [00:01:24]requested_item kkm.ver is exist - process it [00:01:24]requested_item fm.sn is exist - process it [00:01:24]wFMCommunicate request_size=4 [00:01:24]MH_SAM_APDU [00:01:24]CAPDU: 80 11 00 00 [00:01:24]Write to MH i2c: E2 08 00 5C 2E 80 11 00 00 00 00 00 00 04 [00:01:24]Write i2c OK [00:01:24]MH_I2C_Read... [00:01:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:01:24]Read from MH i2c: E2 [00:01:24]MH_I2C_Read... [00:01:24]Read from MH i2c: E2 17 00 [00:01:24]MH_I2C_Read... [00:01:24]Read from MH i2c: E2 17 00 5C 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 54 [00:01:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:01:24]wFMCommunicate OK [00:01:24]requested_item fd.num is exist - process it [00:01:24]SAM_PROTO_GetFieldsCounters [00:01:24]wFMCommunicate request_size=4 [00:01:24]MH_SAM_APDU [00:01:24]CAPDU: 80 13 00 00 [00:01:24]Write to MH i2c: E2 08 00 5D 2E 80 13 00 00 00 00 00 00 07 [00:01:24]Write i2c OK [00:01:24]MH_I2C_Read... [00:01:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:01:24]Read from MH i2c: E2 [00:01:24]MH_I2C_Read... [00:01:24]Read from MH i2c: E2 62 00 [00:01:24]MH_I2C_Read... [00:01:24]Read from MH i2c: E2 62 00 5D 2E 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CC 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 9D [00:01: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CC 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:01:24]wFMCommunicate OK [00:01:24]SAM_PROTO_GetFieldsCounters done [00:01:24]requested_item shift.num is exist - process it [00:01:24]requested_item shift.opened is exist - process it [00:01:24]req_shift_opened [00:01:24]FM_GetShiftState [00:01:24]SAM_PROTO_GetShiftState [00:01:24]wFMCommunicate request_size=4 [00:01:24]MH_SAM_APDU [00:01:24]CAPDU: 80 13 01 00 [00:01:24]Write to MH i2c: E2 08 00 5E 2E 80 13 01 00 00 00 00 00 09 [00:01:24]Write i2c OK [00:01:24]MH_I2C_Read... [00:01:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:24]Read from MH i2c: E2 [00:01:24]MH_I2C_Read... [00:01:24]Read from MH i2c: E2 0E 00 [00:01:24]MH_I2C_Read... [00:01:24]Read from MH i2c: E2 0E 00 5E 2E 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 8B [00:01:24]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [00:01:24]wFMCommunicate OK [00:01:24]SAM_PROTO_GetShiftState done [00:01:24]FM_GetShiftState done [00:01:24]req_shift_opened done [00:01:24]requested_item shift.open_date is exist - process it [00:01:24]req_shift_open_date [00:01:24]req_shift_open_date done [00:01:24]produce_requested_data done [00:01:24]produce_requested_data return {"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37836,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [00:01:24]process_action_free get_value [00:01:24]json_value_free [00:01:24]json_value_free done [00:01:24]process_json_proto returns [00:01:24]Send response to host [00:01:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37836,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [00:01:24]free response buf [00:01:24]execute_script done [00:01:24]execute_script returns [00:01:24]free content buf [00:01:24]Sock 7.Close socket [00:01:24]Sock 7.Thread stoped [00:01:24]accept exits with 9 [00:01:24]New connection [00:01:24]New thread 3067297124 created [00:01:24]Thread 3067440484 joined [00:01:24]Waiting for new connection... [00:01:24] Sock 9.Parse request [00:01:24]Sock 9.Check first char [00:01:24]Sock 9.First char is OK [00:01:24]request: POST /json_proto HTTP/1.0 [00:01:24]Method: POST [00:01:24]URL: /json_proto [00:01:24]Method is POST - this is cgi request [00:01:24]url: /json_proto [00:01:24]query_string will be loaded in cgi processing [00:01:24]execute_cgi json_proto POST (null) [00:01:24]execute_cgi path=json_proto method=POST [00:01:24]POST find Content-Length [00:01:24]Host: 172.17.40.196:8080 [00:01:24]Content-Length: 331 [00:01:24]Content-Type: application/json [00:01:24] [00:01:24]POST finish read [00:01:24]Found Content-Length = 331 [00:01:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:01:24]execute_script... [00:01:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:01:24]POST & json_proto [00:01:24]process_json_proto [00:01:24]json parsed OK: [00:01:24]protocol is kg_v1.0 [00:01:24]action value=get_value [00:01:24]process_action get_value [00:01:24]cmd_get_value [00:01:24]process_action get_value done [00:01:24]requested_data is exist [00:01:24]produce_requested_data [00:01:24]requested_item fm.sale.total is exist - process it [00:01:24]SAM_PROTO_GetFMData [00:01:24]wFMCommunicate request_size=4 [00:01:24]MH_SAM_APDU [00:01:24]CAPDU: 80 13 03 00 [00:01:24]Write to MH i2c: E2 08 00 5F 2E 80 13 03 00 00 00 00 00 0C [00:01:24]Write i2c OK [00:01:24]MH_I2C_Read... [00:01:25]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:01:25]Read from MH i2c: E2 [00:01:25]MH_I2C_Read... [00:01:25]Read from MH i2c: E2 FD 00 [00:01:25]MH_I2C_Read... [00:01:25]Read from MH i2c: E2 FD 00 5F 2E 00 C0 04 85 04 BC 04 6E 04 04 00 7E 8F 00 00 69 04 A0 00 6F 04 04 00 79 8F 00 00 B1 04 04 00 9E D4 31 34 70 04 04 00 E4 17 5D 2E 72 04 04 00 BA BC D4 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A8 03 8B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 33 2E 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 3B [00:01:25]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 7E 8F 00 00 69 04 A0 00 6F 04 04 00 79 8F 00 00 B1 04 04 00 9E D4 31 34 70 04 04 00 E4 17 5D 2E 72 04 04 00 BA BC D4 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A8 03 8B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 33 2E 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:01:25]wFMCommunicate OK [00:01:25]wFMCommunicate request_size=4 [00:01:25]MH_SAM_APDU [00:01:25]CAPDU: 80 17 00 00 [00:01:25]Write to MH i2c: E2 08 00 60 2E 80 17 00 00 00 00 00 00 0E [00:01:25]Write i2c OK [00:01:25]MH_I2C_Read... [00:01:25]OFD Sender: No OFD packet to send [00:01:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:25]Read from MH i2c: E2 [00:01:25]MH_I2C_Read... [00:01:25]Read from MH i2c: E2 FD 00 [00:01:25]MH_I2C_Read... [00:01:25]Read from MH i2c: E2 FD 00 60 2E 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 09 [00:01:25]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:01:25]wFMCommunicate OK [00:01:25]wFMCommunicate request_size=4 [00:01:25]MH_SAM_APDU [00:01:25]CAPDU: 80 17 00 00 [00:01:25]Write to MH i2c: E2 08 00 61 2E 80 17 00 00 00 00 00 00 0F [00:01:25]Write i2c OK [00:01:25]MH_I2C_Read... [00:01:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:25]Read from MH i2c: E2 [00:01:25]MH_I2C_Read... [00:01:25]Read from MH i2c: E2 FD 00 [00:01:25]MH_I2C_Read... [00:01:25]Read from MH i2c: E2 FD 00 61 2E 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 B2 [00:01:25]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:01:26]wFMCommunicate OK [00:01:26]wFMCommunicate request_size=4 [00:01:26]MH_SAM_APDU [00:01:26]CAPDU: 80 17 00 00 [00:01:26]Write to MH i2c: E2 08 00 62 2E 80 17 00 00 00 00 00 00 10 [00:01:26]Write i2c OK [00:01:26]MH_I2C_Read... [00:01:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:26]Read from MH i2c: E2 [00:01:26]MH_I2C_Read... [00:01:26]Read from MH i2c: E2 FD 00 [00:01:26]MH_I2C_Read... [00:01:26]Read from MH i2c: E2 FD 00 62 2E 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 88 [00:01:26]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:01:26]wFMCommunicate OK [00:01:26]wFMCommunicate request_size=4 [00:01:26]MH_SAM_APDU [00:01:26]CAPDU: 80 17 00 00 [00:01:26]Write to MH i2c: E2 08 00 63 2E 80 17 00 00 00 00 00 00 11 [00:01:26]Write i2c OK [00:01:26]MH_I2C_Read... [00:01:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:01:26]Read from MH i2c: E2 [00:01:26]MH_I2C_Read... [00:01:26]Read from MH i2c: E2 DD 00 [00:01:26]MH_I2C_Read... [00:01:26]Read from MH i2c: E2 DD 00 63 2E 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F9 [00:01:26]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:01:26]wFMCommunicate OK [00:01:26]SAM_PROTO_GetFMData done [00:01:26]requested_item fm.sale_refund.total is exist - process it [00:01:26]requested_item fm.buy.total is exist - process it [00:01:26]requested_item shift.sale.total is exist - process it [00:01:26]SAM_PROTO_GetShiftData [00:01:26]wFMCommunicate request_size=4 [00:01:26]MH_SAM_APDU [00:01:26]CAPDU: 80 13 02 00 [00:01:26]Write to MH i2c: E2 08 00 64 2E 80 13 02 00 00 00 00 00 10 [00:01:26]Write i2c OK [00:01:26]MH_I2C_Read... [00:01:27]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:01:27]Read from MH i2c: E2 [00:01:27]MH_I2C_Read... [00:01:27]Read from MH i2c: E2 FD 00 [00:01:27]MH_I2C_Read... [00:01:27]Read from MH i2c: E2 FD 00 64 2E 00 AE 04 AA 04 AA 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 10 EE 15 70 04 03 00 98 64 12 72 04 03 00 78 89 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1F 54 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 E4 [00:01:27]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 10 EE 15 70 04 03 00 98 64 12 72 04 03 00 78 89 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1F 54 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:01:27]wFMCommunicate OK [00:01:27]wFMCommunicate request_size=4 [00:01:27]MH_SAM_APDU [00:01:27]CAPDU: 80 17 00 00 [00:01:27]Write to MH i2c: E2 08 00 65 2E 80 17 00 00 00 00 00 00 13 [00:01:27]Write i2c OK [00:01:27]MH_I2C_Read... [00:01:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:27]Read from MH i2c: E2 [00:01:27]MH_I2C_Read... [00:01:27]Read from MH i2c: E2 FD 00 [00:01:27]MH_I2C_Read... [00:01:27]Read from MH i2c: E2 FD 00 65 2E 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 35 [00:01:27]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:01:28]wFMCommunicate OK [00:01:28]wFMCommunicate request_size=4 [00:01:28]MH_SAM_APDU [00:01:28]CAPDU: 80 17 00 00 [00:01:28]Write to MH i2c: E2 08 00 66 2E 80 17 00 00 00 00 00 00 14 [00:01:28]Write i2c OK [00:01:28]MH_I2C_Read... [00:01:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:28]Read from MH i2c: E2 [00:01:28]MH_I2C_Read... [00:01:28]Read from MH i2c: E2 FD 00 [00:01:28]MH_I2C_Read... [00:01:28]Read from MH i2c: E2 FD 00 66 2E 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 CB [00:01:28]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:01:28]wFMCommunicate OK [00:01:28]wFMCommunicate request_size=4 [00:01:28]MH_SAM_APDU [00:01:28]CAPDU: 80 17 00 00 [00:01:28]Write to MH i2c: E2 08 00 67 2E 80 17 00 00 00 00 00 00 15 [00:01:28]Write i2c OK [00:01:28]MH_I2C_Read... [00:01:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:28]Read from MH i2c: E2 [00:01:28]MH_I2C_Read... [00:01:28]Read from MH i2c: E2 FD 00 [00:01:28]MH_I2C_Read... [00:01:28]Read from MH i2c: E2 FD 00 67 2E 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 87 [00:01:28]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:01:29]wFMCommunicate OK [00:01:29]wFMCommunicate request_size=4 [00:01:29]MH_SAM_APDU [00:01:29]CAPDU: 80 17 00 00 [00:01:29]Write to MH i2c: E2 08 00 68 2E 80 17 00 00 00 00 00 00 16 [00:01:29]Write i2c OK [00:01:29]MH_I2C_Read... [00:01:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:01:29]Read from MH i2c: E2 [00:01:29]MH_I2C_Read... [00:01:29]Read from MH i2c: E2 CB 00 [00:01:29]MH_I2C_Read... [00:01:29]Read from MH i2c: E2 CB 00 68 2E 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 FF [00:01:29]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:01:29]wFMCommunicate OK [00:01:29]SAM_PROTO_GetShiftData done [00:01:29]requested_item shift.sale.total_cash is exist - process it [00:01:29]requested_item shift.sale_refund.total is exist - process it [00:01:29]requested_item shift.sale_refund.total_cash is exist - process it [00:01:29]requested_item shift.buy.total is exist - process it [00:01:29]requested_item shift.buy.total_cash is exist - process it [00:01:29]produce_requested_data done [00:01:29]produce_requested_data return {"fm.sale.total":8756809.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":14372.00,"shift.sale.total_cash":12054.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:01:29]process_action_free get_value [00:01:29]json_value_free [00:01:29]json_value_free done [00:01:29]process_json_proto returns [00:01:29]Send response to host [00:01:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8756809.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":14372.00,"shift.sale.total_cash":12054.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:01:29]free response buf [00:01:29]execute_script done [00:01:29]execute_script returns [00:01:29]free content buf [00:01:29]Sock 9.Close socket [00:01:29]Sock 9.Thread stoped [00:01:29]accept exits with 7 [00:01:29]New connection [00:01:29]New thread 3067440484 created [00:01:29]Thread 3067297124 joined [00:01:29]Waiting for new connection... [00:01:29] Sock 7.Parse request [00:01:29]Sock 7.Check first char [00:01:29]Sock 7.First char is OK [00:01:29]request: POST /json_proto HTTP/1.0 [00:01:29]Method: POST [00:01:29]URL: /json_proto [00:01:29]Method is POST - this is cgi request [00:01:29]url: /json_proto [00:01:29]query_string will be loaded in cgi processing [00:01:29]execute_cgi json_proto POST (null) [00:01:29]execute_cgi path=json_proto method=POST [00:01:29]POST find Content-Length [00:01:29]Host: 172.17.40.196:8080 [00:01:29]Content-Length: 331 [00:01:29]Content-Type: application/json [00:01:29] [00:01:29]POST finish read [00:01:29]Found Content-Length = 331 [00:01:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:01:29]execute_script... [00:01:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:01:29]POST & json_proto [00:01:29]process_json_proto [00:01:29]json parsed OK: [00:01:29]protocol is kg_v1.0 [00:01:29]action value=get_value [00:01:29]process_action get_value [00:01:29]cmd_get_value [00:01:29]process_action get_value done [00:01:29]requested_data is exist [00:01:29]produce_requested_data [00:01:29]requested_item fm.sale.total is exist - process it [00:01:29]SAM_PROTO_GetFMData [00:01:29]wFMCommunicate request_size=4 [00:01:29]MH_SAM_APDU [00:01:29]CAPDU: 80 13 03 00 [00:01:29]Write to MH i2c: E2 08 00 69 2E 80 13 03 00 00 00 00 00 16 [00:01:29]Write i2c OK [00:01:29]MH_I2C_Read... [00:01:30]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:01:30]Read from MH i2c: E2 [00:01:30]MH_I2C_Read... [00:01:30]Read from MH i2c: E2 FD 00 [00:01:30]MH_I2C_Read... [00:01:30]Read from MH i2c: E2 FD 00 69 2E 00 C0 04 85 04 BC 04 6E 04 04 00 7E 8F 00 00 69 04 A0 00 6F 04 04 00 79 8F 00 00 B1 04 04 00 9E D4 31 34 70 04 04 00 E4 17 5D 2E 72 04 04 00 BA BC D4 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A8 03 8B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 33 2E 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 45 [00:01:30]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 7E 8F 00 00 69 04 A0 00 6F 04 04 00 79 8F 00 00 B1 04 04 00 9E D4 31 34 70 04 04 00 E4 17 5D 2E 72 04 04 00 BA BC D4 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A8 03 8B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 33 2E 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:01:30]wFMCommunicate OK [00:01:30]wFMCommunicate request_size=4 [00:01:30]MH_SAM_APDU [00:01:30]CAPDU: 80 17 00 00 [00:01:30]Write to MH i2c: E2 08 00 6A 2E 80 17 00 00 00 00 00 00 18 [00:01:30]Write i2c OK [00:01:30]MH_I2C_Read... [00:01:30]OFD Sender: No OFD packet to send [00:01:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:30]Read from MH i2c: E2 [00:01:30]MH_I2C_Read... [00:01:30]Read from MH i2c: E2 FD 00 [00:01:30]MH_I2C_Read... [00:01:30]Read from MH i2c: E2 FD 00 6A 2E 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 13 [00:01:30]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:01:30]wFMCommunicate OK [00:01:30]wFMCommunicate request_size=4 [00:01:30]MH_SAM_APDU [00:01:30]CAPDU: 80 17 00 00 [00:01:30]Write to MH i2c: E2 08 00 6B 2E 80 17 00 00 00 00 00 00 19 [00:01:30]Write i2c OK [00:01:30]MH_I2C_Read... [00:01:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:31]Read from MH i2c: E2 [00:01:31]MH_I2C_Read... [00:01:31]Read from MH i2c: E2 FD 00 [00:01:31]MH_I2C_Read... [00:01:31]Read from MH i2c: E2 FD 00 6B 2E 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 BC [00:01:31]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:01:31]wFMCommunicate OK [00:01:31]wFMCommunicate request_size=4 [00:01:31]MH_SAM_APDU [00:01:31]CAPDU: 80 17 00 00 [00:01:31]Write to MH i2c: E2 08 00 6C 2E 80 17 00 00 00 00 00 00 1A [00:01:31]Write i2c OK [00:01:31]MH_I2C_Read... [00:01:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:31]Read from MH i2c: E2 [00:01:31]MH_I2C_Read... [00:01:31]Read from MH i2c: E2 FD 00 [00:01:31]MH_I2C_Read... [00:01:31]Read from MH i2c: E2 FD 00 6C 2E 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 92 [00:01:31]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:01:32]wFMCommunicate OK [00:01:32]wFMCommunicate request_size=4 [00:01:32]MH_SAM_APDU [00:01:32]CAPDU: 80 17 00 00 [00:01:32]Write to MH i2c: E2 08 00 6D 2E 80 17 00 00 00 00 00 00 1B [00:01:32]Write i2c OK [00:01:32]MH_I2C_Read... [00:01:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:01:32]Read from MH i2c: E2 [00:01:32]MH_I2C_Read... [00:01:32]Read from MH i2c: E2 DD 00 [00:01:32]MH_I2C_Read... [00:01:32]Read from MH i2c: E2 DD 00 6D 2E 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 03 [00:01:32]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:01:32]wFMCommunicate OK [00:01:32]SAM_PROTO_GetFMData done [00:01:32]requested_item fm.sale_refund.total is exist - process it [00:01:32]requested_item fm.buy.total is exist - process it [00:01:32]requested_item shift.sale.total is exist - process it [00:01:32]SAM_PROTO_GetShiftData [00:01:32]wFMCommunicate request_size=4 [00:01:32]MH_SAM_APDU [00:01:32]CAPDU: 80 13 02 00 [00:01:32]Write to MH i2c: E2 08 00 6E 2E 80 13 02 00 00 00 00 00 1A [00:01:32]Write i2c OK [00:01:32]MH_I2C_Read... [00:01:33]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:01:33]Read from MH i2c: E2 [00:01:33]MH_I2C_Read... [00:01:33]Read from MH i2c: E2 FD 00 [00:01:33]MH_I2C_Read... [00:01:33]Read from MH i2c: E2 FD 00 6E 2E 00 AE 04 AA 04 AA 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 10 EE 15 70 04 03 00 98 64 12 72 04 03 00 78 89 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1F 54 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 EE [00:01:33]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 10 EE 15 70 04 03 00 98 64 12 72 04 03 00 78 89 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1F 54 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:01:33]wFMCommunicate OK [00:01:33]wFMCommunicate request_size=4 [00:01:33]MH_SAM_APDU [00:01:33]CAPDU: 80 17 00 00 [00:01:33]Write to MH i2c: E2 08 00 6F 2E 80 17 00 00 00 00 00 00 1D [00:01:33]Write i2c OK [00:01:33]MH_I2C_Read... [00:01:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:33]Read from MH i2c: E2 [00:01:33]MH_I2C_Read... [00:01:33]Read from MH i2c: E2 FD 00 [00:01:33]MH_I2C_Read... [00:01:33]Read from MH i2c: E2 FD 00 6F 2E 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 3F [00:01:33]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:01:34]wFMCommunicate OK [00:01:34]wFMCommunicate request_size=4 [00:01:34]MH_SAM_APDU [00:01:34]CAPDU: 80 17 00 00 [00:01:34]Write to MH i2c: E2 08 00 70 2E 80 17 00 00 00 00 00 00 1E [00:01:34]Write i2c OK [00:01:34]MH_I2C_Read... [00:01:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:34]Read from MH i2c: E2 [00:01:34]MH_I2C_Read... [00:01:34]Read from MH i2c: E2 FD 00 [00:01:34]MH_I2C_Read... [00:01:34]Read from MH i2c: E2 FD 00 70 2E 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 D5 [00:01:34]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:01:34]wFMCommunicate OK [00:01:34]wFMCommunicate request_size=4 [00:01:34]MH_SAM_APDU [00:01:34]CAPDU: 80 17 00 00 [00:01:34]Write to MH i2c: E2 08 00 71 2E 80 17 00 00 00 00 00 00 1F [00:01:34]Write i2c OK [00:01:34]MH_I2C_Read... [00:01:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:35]Read from MH i2c: E2 [00:01:35]MH_I2C_Read... [00:01:35]Read from MH i2c: E2 FD 00 [00:01:35]MH_I2C_Read... [00:01:35]Read from MH i2c: E2 FD 00 71 2E 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 91 [00:01:35]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:01:35]wFMCommunicate OK [00:01:35]wFMCommunicate request_size=4 [00:01:35]MH_SAM_APDU [00:01:35]CAPDU: 80 17 00 00 [00:01:35]Write to MH i2c: E2 08 00 72 2E 80 17 00 00 00 00 00 00 20 [00:01:35]Write i2c OK [00:01:35]MH_I2C_Read... [00:01:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:01:35]Read from MH i2c: E2 [00:01:35]MH_I2C_Read... [00:01:35]OFD Sender: No OFD packet to send [00:01:35]Read from MH i2c: E2 CB 00 [00:01:35]MH_I2C_Read... [00:01:35]Read from MH i2c: E2 CB 00 72 2E 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 09 [00:01:35]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:01:35]wFMCommunicate OK [00:01:35]SAM_PROTO_GetShiftData done [00:01:35]requested_item shift.sale.total_cash is exist - process it [00:01:35]requested_item shift.sale_refund.total is exist - process it [00:01:35]requested_item shift.sale_refund.total_cash is exist - process it [00:01:35]requested_item shift.buy.total is exist - process it [00:01:35]requested_item shift.buy.total_cash is exist - process it [00:01:35]produce_requested_data done [00:01:35]produce_requested_data return {"fm.sale.total":8756809.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":14372.00,"shift.sale.total_cash":12054.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:01:35]process_action_free get_value [00:01:35]json_value_free [00:01:35]json_value_free done [00:01:35]process_json_proto returns [00:01:35]Send response to host [00:01:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8756809.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":14372.00,"shift.sale.total_cash":12054.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:01:35]free response buf [00:01:35]execute_script done [00:01:35]execute_script returns [00:01:35]free content buf [00:01:35]Sock 7.Close socket [00:01:35]Sock 7.Thread stoped [00:01:35]accept exits with 9 [00:01:35]New connection [00:01:35]New thread 3067297124 created [00:01:35]Thread 3067440484 joined [00:01:35]Waiting for new connection... [00:01:35] Sock 9.Parse request [00:01:35]Sock 9.Check first char [00:01:35]Sock 9.First char is OK [00:01:35]request: POST /json_proto HTTP/1.0 [00:01:35]Method: POST [00:01:35]URL: /json_proto [00:01:35]Method is POST - this is cgi request [00:01:35]url: /json_proto [00:01:35]query_string will be loaded in cgi processing [00:01:35]execute_cgi json_proto POST (null) [00:01:35]execute_cgi path=json_proto method=POST [00:01:35]POST find Content-Length [00:01:35]Host: 172.17.40.196:8080 [00:01:35]Content-Length: 266 [00:01:35]Content-Type: application/json [00:01:35] [00:01:35]POST finish read [00:01:35]Found Content-Length = 266 [00:01:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0414\u043E\u043B\u043E\u043D\u0431\u0430\u0435\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:01:35]execute_script... [00:01:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0414\u043E\u043B\u043E\u043D\u0431\u0430\u0435\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:01:35]POST & json_proto [00:01:35]process_json_proto [00:01:35]json parsed OK: [00:01:35]protocol is kg_v1.0 [00:01:35]action value=close_shift [00:01:35]process_action close_shift [00:01:35]cmd_close_shift [00:01:35]MH_GetDate [00:01:35]Write to MH i2c: F0 00 00 73 2E 90 [00:01:35]Write i2c OK [00:01:35]MH_I2C_Read... [00:01:35]Read from MH i2c: F0 [00:01:35]MH_I2C_Read... [00:01:35]Read from MH i2c: F0 09 00 [00:01:35]MH_I2C_Read... [00:01:35]Read from MH i2c: F0 09 00 73 2E 00 EA 25 20 67 5B 68 A1 66 F9 [00:01:35]GetLastDocTimeStamp 1730160046 [00:01:35]current date 1730160106 [00:01:35]FM_GetShiftState [00:01:35]SAM_PROTO_GetShiftState [00:01:35]wFMCommunicate request_size=4 [00:01:35]MH_SAM_APDU [00:01:35]CAPDU: 80 13 01 00 [00:01:35]Write to MH i2c: E2 08 00 74 2E 80 13 01 00 00 00 00 00 1F [00:01:35]Write i2c OK [00:01:35]MH_I2C_Read... [00:01:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:36]Read from MH i2c: E2 [00:01:36]MH_I2C_Read... [00:01:36]Read from MH i2c: E2 0E 00 [00:01:36]MH_I2C_Read... [00:01:36]Read from MH i2c: E2 0E 00 74 2E 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 A1 [00:01:36]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [00:01:36]wFMCommunicate OK [00:01:36]SAM_PROTO_GetShiftState done [00:01:36]FM_GetShiftState done [00:01:36]KKMCreateCloseShiftDocument [00:01:36]Load OK [00:01:36]Malloc new data [00:01:36]MH_GetDate [00:01:36]Write to MH i2c: F0 00 00 75 2E 92 [00:01:36]Write i2c OK [00:01:36]MH_I2C_Read... [00:01:36]Read from MH i2c: F0 [00:01:36]MH_I2C_Read... [00:01:36]Read from MH i2c: F0 09 00 [00:01:36]MH_I2C_Read... [00:01:36]Read from MH i2c: F0 09 00 75 2E 00 EA 25 20 67 5B 68 A1 66 FB [00:01:36]Malloc new data [00:01:36]Malloc new data [00:01:36]Malloc new data [00:01:36]Malloc new data [00:01:36]KKMCreateCloseShiftDocument OK [00:01:36]KKMSetCloseShiftData OK [00:01:36]ProcessDocumentItem done err = 0, tmpTLVsize=73 [00:01:36]tlvbuf is 003931A0 [00:01:36]KKMLoadAndSignCloseShiftData [00:01:36]SAM_PROTO_ProcessDocument [00:01:36]wFMCommunicate request_size=9 [00:01:36]MH_SAM_APDU [00:01:36]CAPDU: 80 15 01 00 04 05 00 49 00 [00:01:36]Write to MH i2c: E2 0C 00 76 2E 80 15 01 00 04 00 05 00 49 00 00 00 79 [00:01:36]Write i2c OK [00:01:36]MH_I2C_Read... [00:01:36]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:01:36]Read from MH i2c: E2 [00:01:36]MH_I2C_Read... [00:01:36]Read from MH i2c: E2 03 00 [00:01:36]MH_I2C_Read... [00:01:36]Read from MH i2c: E2 03 00 76 2E 00 90 00 18 [00:01:36]RAPDU: 90 00 [00:01:36]wFMCommunicate OK [00:01:36]wFMCommunicate request_size=23 [00:01:36]MH_SAM_APDU [00:01:36]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:01:36]Write to MH i2c: E2 1A 00 77 2E 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 1A [00:01:36]Write i2c OK [00:01:36]MH_I2C_Read... [00:01:36]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:01:36]Read from MH i2c: E2 [00:01:36]MH_I2C_Read... [00:01:36]Read from MH i2c: E2 03 00 [00:01:36]MH_I2C_Read... [00:01:36]Read from MH i2c: E2 03 00 77 2E 00 90 00 19 [00:01:36]RAPDU: 90 00 [00:01:36]wFMCommunicate OK [00:01:36]wFMCommunicate request_size=32 [00:01:36]MH_SAM_APDU [00:01:36]CAPDU: 80 15 02 00 1B FD 03 17 00 D0 94 D0 BE D0 BB D0 BE D0 BD D0 B1 D0 B0 D0 B5 D0 B2 20 D0 90 2E 20 [00:01:36]Write to MH i2c: E2 23 00 78 2E 80 15 02 00 1B 00 FD 03 17 00 D0 94 D0 BE D0 BB D0 BE D0 BD D0 B1 D0 B0 D0 B5 D0 B2 20 D0 90 2E 20 00 00 E1 [00:01:36]Write i2c OK [00:01:36]MH_I2C_Read... [00:01:36]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:01:36]Read from MH i2c: E2 [00:01:36]MH_I2C_Read... [00:01:36]Read from MH i2c: E2 03 00 [00:01:36]MH_I2C_Read... [00:01:36]Read from MH i2c: E2 03 00 78 2E 00 90 00 1A [00:01:36]RAPDU: 90 00 [00:01:36]wFMCommunicate OK [00:01:36]wFMCommunicate request_size=13 [00:01:36]MH_SAM_APDU [00:01:36]CAPDU: 80 15 02 00 08 F4 03 04 00 EA 25 20 67 [00:01:36]Write to MH i2c: E2 10 00 79 2E 80 15 02 00 08 00 F4 03 04 00 EA 25 20 67 00 00 C8 [00:01:36]Write i2c OK [00:01:36]MH_I2C_Read... [00:01:36]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:01:36]Read from MH i2c: E2 [00:01:36]MH_I2C_Read... [00:01:36]Read from MH i2c: E2 03 00 [00:01:36]MH_I2C_Read... [00:01:36]Read from MH i2c: E2 03 00 79 2E 00 90 00 1B [00:01:36]RAPDU: 90 00 [00:01:36]wFMCommunicate OK [00:01:36]wFMCommunicate request_size=25 [00:01:36]MH_SAM_APDU [00:01:36]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 [00:01:36]Write to MH i2c: E2 1C 00 7A 2E 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 00 00 8D [00:01:36]Write i2c OK [00:01:36]MH_I2C_Read... [00:01:36]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:01:36]Read from MH i2c: E2 [00:01:36]MH_I2C_Read... [00:01:36]Read from MH i2c: E2 03 00 [00:01:36]MH_I2C_Read... [00:01:36]Read from MH i2c: E2 03 00 7A 2E 00 90 00 1C [00:01:36]RAPDU: 90 00 [00:01:36]wFMCommunicate OK [00:01:36]wFMCommunicate request_size=4 [00:01:36]MH_SAM_APDU [00:01:36]CAPDU: 80 15 03 00 [00:01:36]Write to MH i2c: E2 08 00 7B 2E 80 15 03 00 00 00 00 00 2A [00:01:36]Write i2c OK [00:01:36]MH_I2C_Read... [00:01:37]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:01:37]Read from MH i2c: E2 [00:01:37]MH_I2C_Read... [00:01:37]Read from MH i2c: E2 FD 00 [00:01:37]MH_I2C_Read... [00:01:37]Read from MH i2c: E2 FD 00 7B 2E 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 CD 93 00 00 0E 04 04 00 27 02 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 51 00 00 00 AA 04 AA 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 10 EE 15 70 04 03 00 98 64 12 72 04 03 00 78 89 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1F 54 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 C3 [00:01:37]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 CD 93 00 00 0E 04 04 00 27 02 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 51 00 00 00 AA 04 AA 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 10 EE 15 70 04 03 00 98 64 12 72 04 03 00 78 89 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1F 54 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:01:37]wFMCommunicate OK [00:01:37]SAM_PROTO_ProcessDocument answer len = 1265 [00:01:37]SAM_PROTO_ProcessDocument remain to read = 1017 [00:01:37]wFMCommunicate request_size=4 [00:01:37]MH_SAM_APDU [00:01:37]CAPDU: 80 17 00 00 [00:01:37]Write to MH i2c: E2 08 00 7C 2E 80 17 00 00 00 00 00 00 2A [00:01:37]Write i2c OK [00:01:37]MH_I2C_Read... [00:01:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:37]Read from MH i2c: E2 [00:01:37]MH_I2C_Read... [00:01:37]Read from MH i2c: E2 FD 00 [00:01:37]MH_I2C_Read... [00:01:37]Read from MH i2c: E2 FD 00 7C 2E 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 73 [00:01:38]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:01:38]wFMCommunicate OK [00:01:38]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:01:38]SAM_PROTO_ProcessDocument remain to read = 767 [00:01:38]wFMCommunicate request_size=4 [00:01:38]MH_SAM_APDU [00:01:38]CAPDU: 80 17 00 00 [00:01:38]Write to MH i2c: E2 08 00 7D 2E 80 17 00 00 00 00 00 00 2B [00:01:38]Write i2c OK [00:01:38]MH_I2C_Read... [00:01:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:38]Read from MH i2c: E2 [00:01:38]MH_I2C_Read... [00:01:38]Read from MH i2c: E2 FD 00 [00:01:38]MH_I2C_Read... [00:01:38]Read from MH i2c: E2 FD 00 7D 2E 00 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 8D [00:01:38]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:01:38]wFMCommunicate OK [00:01:38]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:01:38]SAM_PROTO_ProcessDocument remain to read = 517 [00:01:38]wFMCommunicate request_size=4 [00:01:38]MH_SAM_APDU [00:01:38]CAPDU: 80 17 00 00 [00:01:38]Write to MH i2c: E2 08 00 7E 2E 80 17 00 00 00 00 00 00 2C [00:01:38]Write i2c OK [00:01:38]MH_I2C_Read... [00:01:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:39]Read from MH i2c: E2 [00:01:39]MH_I2C_Read... [00:01:39]Read from MH i2c: E2 FD 00 [00:01:39]MH_I2C_Read... [00:01:39]Read from MH i2c: E2 FD 00 7E 2E 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 B6 [00:01:39]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 [00:01:39]wFMCommunicate OK [00:01:39]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:01:39]SAM_PROTO_ProcessDocument remain to read = 267 [00:01:39]wFMCommunicate request_size=4 [00:01:39]MH_SAM_APDU [00:01:39]CAPDU: 80 17 00 00 [00:01:39]Write to MH i2c: E2 08 00 7F 2E 80 17 00 00 00 00 00 00 2D [00:01:39]Write i2c OK [00:01:39]MH_I2C_Read... [00:01:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:39]Read from MH i2c: E2 [00:01:39]MH_I2C_Read... [00:01:39]Read from MH i2c: E2 FD 00 [00:01:39]MH_I2C_Read... [00:01:39]Read from MH i2c: E2 FD 00 7F 2E 00 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 F5 [00:01:40]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:01:40]wFMCommunicate OK [00:01:40]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:01:40]SAM_PROTO_ProcessDocument remain to read = 17 [00:01:40]wFMCommunicate request_size=4 [00:01:40]MH_SAM_APDU [00:01:40]CAPDU: 80 17 00 00 [00:01:40]Write to MH i2c: E2 08 00 80 2E 80 17 00 00 00 00 00 00 2E [00:01:40]Write i2c OK [00:01:40]MH_I2C_Read... [00:01:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [00:01:40]Read from MH i2c: E2 [00:01:40]MH_I2C_Read... [00:01:40]Read from MH i2c: E2 14 00 [00:01:40]MH_I2C_Read... [00:01:40]Read from MH i2c: E2 14 00 80 2E 00 01 00 06 F7 03 00 00 35 04 06 00 26 29 FE 94 22 87 90 00 FD [00:01:40]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 26 29 FE 94 22 87 90 00 [00:01:40]wFMCommunicate OK [00:01:40]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [00:01:40]SAM_PROTO_ProcessDocument done [00:01:40]1209 (1) - 1.0 - номер версии ФФД [00:01:40]1041 (16) - 0000000000871841 - номер ФМ [00:01:40]1040 (4) - 37837 - номер ФД [00:01:40]1038 (4) - 551 - номер смены [00:01:40]1118 (4) - 79 - количество кассовых чеков за смену [00:01:40]1111 (4) - 81 - общее количество ФД за смену [00:01:40]1194 (1194) - счетчики итогов смены [00:01:40] 1134 (4) - 79 - количество чеков со всеми признаками расчетов [00:01:40] 1129 (155) - счетчики операций «приход» [00:01:40] 1135 (4) - 79 - количество чеков по признаку расчетов [00:01:40] 1201 (3) - 14372.00 - общая итоговая сумма в чеках [00:01:40] 1136 (3) - 12054.00 - итоговая сумма в чеках наличными [00:01:40] 1138 (3) - 2318.00 - итоговая сумма в чеках безналичными [00:01:40] 1024 (122) - суммы налогов [00:01:40] 1006 (9) - суммы НДС [00:01:40] 1010 (1) - 0% - код ставки НДС [00:01:40] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:40] 1006 (12) - суммы НДС [00:01:40] 1010 (1) - 12% - код ставки НДС [00:01:40] 1011 (3) - 1526.07 - сумма НДС по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 0% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1007 (11) - суммы НСП [00:01:40] 1014 (1) - 1% - код ставки НСП [00:01:40] 1015 (2) - 127.14 - сумма НСП по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 2% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 3% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 5% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 0,50% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 1,50% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1130 (141) - счетчики операций «возврат прихода» [00:01:40] 1135 (4) - 0 - количество чеков по признаку расчетов [00:01:40] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:01:40] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:01:40] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:01:40] 1024 (117) - суммы налогов [00:01:40] 1006 (9) - суммы НДС [00:01:40] 1010 (1) - 0% - код ставки НДС [00:01:40] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:40] 1006 (9) - суммы НДС [00:01:40] 1010 (1) - 12% - код ставки НДС [00:01:40] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 0% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 1% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 2% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 3% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 5% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 0,50% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 1,50% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1131 (141) - счетчики операций «расход» [00:01:40] 1135 (4) - 0 - количество чеков по признаку расчетов [00:01:40] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:01:40] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:01:40] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:01:40] 1024 (117) - суммы налогов [00:01:40] 1006 (9) - суммы НДС [00:01:40] 1010 (1) - 0% - код ставки НДС [00:01:40] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:40] 1006 (9) - суммы НДС [00:01:40] 1010 (1) - 12% - код ставки НДС [00:01:40] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 0% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 1% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 2% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 3% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] OFD Sender: No OFD packet to send [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 5% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 0,50% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 1,50% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1132 (141) - счетчики операций «возврат расхода» [00:01:40] 1135 (4) - 0 - количество чеков по признаку расчетов [00:01:40] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:01:40] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:01:40] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:01:40] 1024 (117) - суммы налогов [00:01:40] 1006 (9) - суммы НДС [00:01:40] 1010 (1) - 0% - код ставки НДС [00:01:40] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:40] 1006 (9) - суммы НДС [00:01:40] 1010 (1) - 12% - код ставки НДС [00:01:40] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 0% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 1% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 2% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 3% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:40] 1007 (9) - суммы НСП [00:01:40] 1014 (1) - 5% - код ставки НСП [00:01:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:41] 1007 (9) - суммы НСП [00:01:41] 1014 (1) - 0,50% - код ставки НСП [00:01:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:41] 1007 (9) - суммы НСП [00:01:41] 1014 (1) - 1,50% - код ставки НСП [00:01:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:41] 1133 (588) - - счетчики коррекции - не используются [00:01:41]1077 (6) - 41961806635655 - ФПД [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1209 (04B9) [00:01:41]Malloc new data [00:01:41]Processing tag 1041 (0411) [00:01:41]Processing tag 1040 (0410) [00:01:41]Malloc new data [00:01:41]Processing tag 1038 (040E) [00:01:41]Malloc new data [00:01:41]Processing tag 1118 (045E) [00:01:41]Malloc new data [00:01:41]Processing tag 1111 (0457) [00:01:41]Malloc new data [00:01:41]Processing tag 1194 (04AA) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1134 (046E) [00:01:41]Malloc new data [00:01:41]Processing tag 1129 (0469) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1135 (046F) [00:01:41]Malloc new data [00:01:41]Processing tag 1201 (04B1) [00:01:41]Malloc new data [00:01:41]Processing tag 1136 (0470) [00:01:41]Malloc new data [00:01:41]Processing tag 1138 (0472) [00:01:41]Malloc new data [00:01:41]Processing tag 1024 (0400) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1006 (03EE) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1010 (03F2) [00:01:41]Malloc new data [00:01:41]Processing tag 1011 (03F3) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1006 (03EE) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1010 (03F2) [00:01:41]Malloc new data [00:01:41]Processing tag 1011 (03F3) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]SetTLVBufToDocument err=0 [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1130 (046A) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1135 (046F) [00:01:41]Malloc new data [00:01:41]Processing tag 1201 (04B1) [00:01:41]Malloc new data [00:01:41]Processing tag 1136 (0470) [00:01:41]Malloc new data [00:01:41]Processing tag 1138 (0472) [00:01:41]Malloc new data [00:01:41]Processing tag 1024 (0400) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1006 (03EE) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1010 (03F2) [00:01:41]Malloc new data [00:01:41]Processing tag 1011 (03F3) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1006 (03EE) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1010 (03F2) [00:01:41]Malloc new data [00:01:41]Processing tag 1011 (03F3) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]SetTLVBufToDocument err=0 [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1131 (046B) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1135 (046F) [00:01:41]Malloc new data [00:01:41]Processing tag 1201 (04B1) [00:01:41]Malloc new data [00:01:41]Processing tag 1136 (0470) [00:01:41]Malloc new data [00:01:41]Processing tag 1138 (0472) [00:01:41]Malloc new data [00:01:41]Processing tag 1024 (0400) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1006 (03EE) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1010 (03F2) [00:01:41]Malloc new data [00:01:41]Processing tag 1011 (03F3) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1006 (03EE) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1010 (03F2) [00:01:41]Malloc new data [00:01:41]Processing tag 1011 (03F3) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]SetTLVBufToDocument err=0 [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1132 (046C) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1135 (046F) [00:01:41]Malloc new data [00:01:41]Processing tag 1201 (04B1) [00:01:41]Malloc new data [00:01:41]Processing tag 1136 (0470) [00:01:41]Malloc new data [00:01:41]Processing tag 1138 (0472) [00:01:41]Malloc new data [00:01:41]Processing tag 1024 (0400) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1006 (03EE) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1010 (03F2) [00:01:41]Malloc new data [00:01:41]Processing tag 1011 (03F3) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1006 (03EE) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1010 (03F2) [00:01:41]Malloc new data [00:01:41]Processing tag 1011 (03F3) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1007 (03EF) [00:01:41]Load OK [00:01:41]SetTLVBufToDocument [00:01:41]Processing tag 1014 (03F6) [00:01:41]Malloc new data [00:01:41]Processing tag 1015 (03F7) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]SetTLVBufToDocument err=0 [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1133 (046D) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Processing tag 1077 (0435) [00:01:41]Malloc new data [00:01:41]SetTLVBufToDocument err=0 [00:01:41]Malloc new data [00:01:41]SAM_PROTO_GetFMData [00:01:41]wFMCommunicate request_size=4 [00:01:41]MH_SAM_APDU [00:01:41]CAPDU: 80 13 03 00 [00:01:41]Write to MH i2c: E2 08 00 81 2E 80 13 03 00 00 00 00 00 2E [00:01:41]Write i2c OK [00:01:41]MH_I2C_Read... [00:01:42]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:01:42]Read from MH i2c: E2 [00:01:42]MH_I2C_Read... [00:01:42]Read from MH i2c: E2 FD 00 [00:01:42]MH_I2C_Read... [00:01:42]Read from MH i2c: E2 FD 00 81 2E 00 C0 04 85 04 BC 04 6E 04 04 00 7E 8F 00 00 69 04 A0 00 6F 04 04 00 79 8F 00 00 B1 04 04 00 9E D4 31 34 70 04 04 00 E4 17 5D 2E 72 04 04 00 BA BC D4 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A8 03 8B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 33 2E 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 5D [00:01:42]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 7E 8F 00 00 69 04 A0 00 6F 04 04 00 79 8F 00 00 B1 04 04 00 9E D4 31 34 70 04 04 00 E4 17 5D 2E 72 04 04 00 BA BC D4 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A8 03 8B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 33 2E 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:01:42]wFMCommunicate OK [00:01:42]wFMCommunicate request_size=4 [00:01:42]MH_SAM_APDU [00:01:42]CAPDU: 80 17 00 00 [00:01:42]Write to MH i2c: E2 08 00 82 2E 80 17 00 00 00 00 00 00 30 [00:01:42]Write i2c OK [00:01:42]MH_I2C_Read... [00:01:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:42]Read from MH i2c: E2 [00:01:42]MH_I2C_Read... [00:01:42]Read from MH i2c: E2 FD 00 [00:01:42]MH_I2C_Read... [00:01:42]Read from MH i2c: E2 FD 00 82 2E 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 2B [00:01:43]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:01:43]wFMCommunicate OK [00:01:43]wFMCommunicate request_size=4 [00:01:43]MH_SAM_APDU [00:01:43]CAPDU: 80 17 00 00 [00:01:43]Write to MH i2c: E2 08 00 83 2E 80 17 00 00 00 00 00 00 31 [00:01:43]Write i2c OK [00:01:43]MH_I2C_Read... [00:01:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:43]Read from MH i2c: E2 [00:01:43]MH_I2C_Read... [00:01:43]Read from MH i2c: E2 FD 00 [00:01:43]MH_I2C_Read... [00:01:43]Read from MH i2c: E2 FD 00 83 2E 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 D4 [00:01:43]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:01:43]wFMCommunicate OK [00:01:43]wFMCommunicate request_size=4 [00:01:43]MH_SAM_APDU [00:01:43]CAPDU: 80 17 00 00 [00:01:43]Write to MH i2c: E2 08 00 84 2E 80 17 00 00 00 00 00 00 32 [00:01:43]Write i2c OK [00:01:43]MH_I2C_Read... [00:01:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:44]Read from MH i2c: E2 [00:01:44]MH_I2C_Read... [00:01:44]Read from MH i2c: E2 FD 00 [00:01:44]MH_I2C_Read... [00:01:44]Read from MH i2c: E2 FD 00 84 2E 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 AA [00:01:44]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:01:44]wFMCommunicate OK [00:01:44]wFMCommunicate request_size=4 [00:01:44]MH_SAM_APDU [00:01:44]CAPDU: 80 17 00 00 [00:01:44]Write to MH i2c: E2 08 00 85 2E 80 17 00 00 00 00 00 00 33 [00:01:44]Write i2c OK [00:01:44]MH_I2C_Read... [00:01:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:01:44]Read from MH i2c: E2 [00:01:44]MH_I2C_Read... [00:01:44]Read from MH i2c: E2 DD 00 [00:01:44]MH_I2C_Read... [00:01:44]Read from MH i2c: E2 DD 00 85 2E 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 1B [00:01:45]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:01:45]wFMCommunicate OK [00:01:45]SAM_PROTO_GetFMData done [00:01:45]Malloc new data [00:01:45]Malloc new data [00:01:45]Malloc new data [00:01:45]Malloc new data [00:01:45]KKMLoadAndSignCloseShiftData err=0 [00:01:45]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Долонбаев А. 29.10.2024 00:01 Смена: 551 РНМ: 0000000000091684 ЗНМ: 0300000092 СНО: Общий режим Чеков за смену: 79 ФД за смену: 81 Всего чеков: 79 ИТОГИ ПРИХОД Чеков: 79 Общий итог: 14372.00 Итого наличными: 12054.00 Итого безнал.: 2318.00 НДС 0% : 0.00 НДС 12% : 1526.07 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 127.14 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ РАСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ ВОЗВРАТ РАСХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 Сумма внесений: 0.00 Сумма выплат: 0.00 Нал. в кассе: 12054.00 НС Приход: 8756809.26 НС Возвр.Прихода: 12909.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 37837 ФМ: 0000000000871841 ФПД: 41961806635655 [00:01:45]StoreToDocumentArchive [00:01:45]shift 551 fd 37837 [00:01:45]save to /storage/0551/doc_00037837 [00:01:45]save last doc name /storage/0551/doc_00037837 to /storage/kkm_last_doc_name [00:01:45]save OK [00:01:45]Clear old archive folders... [00:01:45]Remove dir /storage/0522 [00:01:45]opendir ok [00:01:45]file . [00:01:45]file .. [00:01:45]file doc_1730160054 [00:01:45]remove file /storage/0522/doc_1730160054 [00:01:45]remove dir /storage/0522 [00:01:45]NVStorageSaveData kkm_registers [00:01:45]File name is /storage/kkm_registers [00:01:45]Write 24 bytes [00:01:45]NVStorageSaveData done [00:01:45]NVStorageSaveData kkm_registers [00:01:45]File name is /storage/kkm_registers [00:01:45]Write 24 bytes [00:01:45]NVStorageSaveData done [00:01:45]ProcessDocumentItem done err = 0, tmpTLVsize=1381 [00:01:45]tlvbuf is 003BFC10 [00:01:45]SAM_PROTO_ClearQueue [00:01:45]wFMCommunicate request_size=4 [00:01:45]MH_SAM_APDU [00:01:45]CAPDU: 80 09 00 00 [00:01:45]Write to MH i2c: E2 08 00 86 2E 80 09 00 00 00 00 00 00 26 [00:01:45]Write i2c OK [00:01:45]MH_I2C_Read... [00:01:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:01:45]Read from MH i2c: E2 [00:01:45]MH_I2C_Read... [00:01:45]Read from MH i2c: E2 03 00 [00:01:45]MH_I2C_Read... [00:01:45]Read from MH i2c: E2 03 00 86 2E 00 90 00 28 [00:01:45]RAPDU: 90 00 [00:01:45]wFMCommunicate OK [00:01:45]SAM_PROTO_ClearQueue done [00:01:45]KKMCreateOFDPacket [00:01:45]OFDProtocolAddRootSTLVToBuf [00:01:45]FM_MakeSignedData [00:01:45]FM_MakeSignedData [00:01:45]SAM_PROTO_SignData [00:01:45]wFMCommunicate request_size=4 [00:01:45]MH_SAM_APDU [00:01:45]CAPDU: 80 0D 01 02 [00:01:45]Write to MH i2c: E2 08 00 87 2E 80 0D 01 02 00 00 00 00 2E [00:01:45]Write i2c OK [00:01:45]MH_I2C_Read... [00:01:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:01:45]Read from MH i2c: E2 [00:01:45]MH_I2C_Read... [00:01:45]Read from MH i2c: E2 03 00 [00:01:45]MH_I2C_Read... [00:01:45]Read from MH i2c: E2 03 00 87 2E 00 90 00 29 [00:01:45]RAPDU: 90 00 [00:01:45]wFMCommunicate OK [00:01:45]wFMCommunicate request_size=255 [00:01:45]MH_SAM_APDU [00:01:45]CAPDU: 80 0D 02 02 FA 05 00 65 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 94 D0 BE D0 BB D0 BE D0 BD D0 B1 D0 B0 D0 B5 D0 B2 20 D0 90 2E 20 F4 03 04 00 EA 25 20 67 0E 04 04 00 27 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 5E 04 04 00 4F 00 00 00 57 04 04 00 51 00 00 00 AA 04 D5 04 6E 04 04 00 4F 00 00 00 69 04 A2 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 10 EE 15 70 04 03 00 98 64 12 72 04 03 00 78 89 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1F 54 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 [00:01:45]Write to MH i2c: E2 02 01 88 2E 80 0D 02 02 FA 00 05 00 65 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 94 D0 BE D0 BB D0 BE D0 BD D0 B1 D0 B0 D0 B5 D0 B2 20 D0 90 2E 20 F4 03 04 00 EA 25 20 67 0E 04 04 00 27 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 5E 04 04 00 4F 00 00 00 57 04 04 00 51 00 00 00 AA 04 D5 04 6E 04 04 00 4F 00 00 00 69 04 A2 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 10 EE 15 70 04 03 00 98 64 12 72 04 03 00 78 89 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1F 54 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 OFD Sender: No OFD packet to send [00:01:46]0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 00 00 A4 [00:01:46]Write i2c OK [00:01:46]MH_I2C_Read... [00:01:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:46]Read from MH i2c: E2 [00:01:46]MH_I2C_Read... [00:01:46]Read from MH i2c: E2 03 00 [00:01:46]MH_I2C_Read... [00:01:46]Read from MH i2c: E2 03 00 88 2E 00 90 00 2A [00:01:46]RAPDU: 90 00 [00:01:46]wFMCommunicate OK [00:01:46]wFMCommunicate request_size=255 [00:01:46]MH_SAM_APDU [00:01:46]CAPDU: 80 0D 02 02 FA F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 31 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 [00:01:46]Write to MH i2c: E2 02 01 89 2E 80 0D 02 02 FA 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 31 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 00 00 76 [00:01:46]Write i2c OK [00:01:46]MH_I2C_Read... [00:01:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:47]Read from MH i2c: E2 [00:01:47]MH_I2C_Read... [00:01:47]Read from MH i2c: E2 03 00 [00:01:47]MH_I2C_Read... [00:01:47]Read from MH i2c: E2 03 00 89 2E 00 90 00 2B [00:01:47]RAPDU: 90 00 [00:01:47]wFMCommunicate OK [00:01:47]wFMCommunicate request_size=255 [00:01:47]MH_SAM_APDU [00:01:47]CAPDU: 80 0D 02 02 FA EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 [00:01:47]Write to MH i2c: E2 02 01 8A 2E 80 0D 02 02 FA 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 00 00 F9 [00:01:47]Write i2c OK [00:01:47]MH_I2C_Read... [00:01:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:47]Read from MH i2c: E2 [00:01:47]MH_I2C_Read... [00:01:47]Read from MH i2c: E2 03 00 [00:01:47]MH_I2C_Read... [00:01:47]Read from MH i2c: E2 03 00 8A 2E 00 90 00 2C [00:01:47]RAPDU: 90 00 [00:01:47]wFMCommunicate OK [00:01:47]wFMCommunicate request_size=255 [00:01:47]MH_SAM_APDU [00:01:47]CAPDU: 80 0D 02 02 FA F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 [00:01:48]Write to MH i2c: E2 02 01 8B 2E 80 0D 02 02 FA 00 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 00 00 F7 [00:01:48]Write i2c OK [00:01:48]MH_I2C_Read... [00:01:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:48]Read from MH i2c: E2 [00:01:48]MH_I2C_Read... [00:01:48]Read from MH i2c: E2 03 00 [00:01:48]MH_I2C_Read... [00:01:48]Read from MH i2c: E2 03 00 8B 2E 00 90 00 2D [00:01:48]RAPDU: 90 00 [00:01:48]wFMCommunicate OK [00:01:48]wFMCommunicate request_size=255 [00:01:48]MH_SAM_APDU [00:01:48]CAPDU: 80 0D 02 02 FA 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 [00:01:48]Write to MH i2c: E2 02 01 8C 2E 80 0D 02 02 FA 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 00 BF [00:01:49]Write i2c OK [00:01:49]MH_I2C_Read... [00:01:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:49]Read from MH i2c: E2 [00:01:49]MH_I2C_Read... [00:01:49]Read from MH i2c: E2 03 00 [00:01:49]MH_I2C_Read... [00:01:49]Read from MH i2c: E2 03 00 8C 2E 00 90 00 2E [00:01:49]RAPDU: 90 00 [00:01:49]wFMCommunicate OK [00:01:49]wFMCommunicate request_size=140 [00:01:49]MH_SAM_APDU [00:01:49]CAPDU: 80 0D 02 02 87 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 CD 93 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 04 06 00 26 29 FE 94 22 87 [00:01:49]Write to MH i2c: E2 8F 00 8D 2E 80 0D 02 02 87 00 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 CD 93 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 04 06 00 26 29 FE 94 22 87 00 00 5B [00:01:49]Write i2c OK [00:01:49]MH_I2C_Read... [00:01:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:49]Read from MH i2c: E2 [00:01:49]MH_I2C_Read... [00:01:49]Read from MH i2c: E2 03 00 [00:01:49]MH_I2C_Read... [00:01:49]Read from MH i2c: E2 03 00 8D 2E 00 90 00 2F [00:01:49]RAPDU: 90 00 [00:01:49]wFMCommunicate OK [00:01:49]wFMCommunicate request_size=4 [00:01:49]MH_SAM_APDU [00:01:49]CAPDU: 80 0D 03 02 [00:01:49]Write to MH i2c: E2 08 00 8E 2E 80 0D 03 02 00 00 00 00 37 [00:01:50]Write i2c OK [00:01:50]MH_I2C_Read... [00:01:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:01:50]Read from MH i2c: E2 [00:01:50]MH_I2C_Read... [00:01:50]Read from MH i2c: E2 0B 00 [00:01:50]MH_I2C_Read... [00:01:50]Read from MH i2c: E2 0B 00 8E 2E 00 97 EB 7D 68 A6 84 A2 FF 90 00 6A [00:01:50]RAPDU: 97 EB 7D 68 A6 84 A2 FF 90 00 [00:01:50]wFMCommunicate OK [00:01:50]SAM_PROTO_SignData done [00:01:50]FM_MakeSignedData done [00:01:50]CreateOFDProtocolMessage [00:01:50]wFMCommunicate request_size=4 [00:01:50]MH_SAM_APDU [00:01:50]CAPDU: 80 11 00 00 [00:01:50]Write to MH i2c: E2 08 00 8F 2E 80 11 00 00 00 00 00 00 37 [00:01:50]Write i2c OK [00:01:50]MH_I2C_Read... [00:01:50]Read from MH i2c: E2 [00:01:50]MH_I2C_Read... [00:01:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:01:50]Read from MH i2c: E2 17 00 [00:01:50]MH_I2C_Read... [00:01:50]Read from MH i2c: E2 17 00 8F 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 87 [00:01:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:01:50]wFMCommunicate OK [00:01:50]CreateOFDProtocolMessage done [00:01:50]OFDSenderStorePacket 37837 [00:01:50]StoreOFDPacket docnum=37837 [00:01:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 79 05 00 00 A8 15 71 05 31 3C 5A 05 01 00 05 00 65 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 94 D0 BE D0 BB D0 BE D0 BD D0 B1 D0 B0 D0 B5 D0 B2 20 D0 90 2E 20 F4 03 04 00 EA 25 20 67 0E 04 04 00 27 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 5E 04 04 00 4F 00 00 00 57 04 04 00 51 00 00 00 AA 04 D5 04 6E 04 04 00 4F 00 00 00 69 04 A2 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 10 EE 15 70 04 03 00 98 64 12 72 04 03 00 78 89 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1F 54 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 31 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 CD 93 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 04 06 00 26 29 FE 94 22 87 97 EB 7D 68 A6 84 A2 FF [00:01:50]CheckFolder [00:01:50]dirname=/storage/ofd_packets [00:01:50]CheckFolder done [00:01:50]ProducePacketName [00:01:50]name=ofd_packets/00037837 [00:01:50]NVStorageSaveData ofd_packets/00037837 [00:01:50]File name is /storage/ofd_packets/00037837 [00:01:50]Write 1431 bytes [00:01:50]NVStorageSaveData done [00:01:50]OFDSenderStorePacket done [00:01:50]KKMCreateOFDPacket done [00:01:50]NVStorageSaveData kkm_last_timestamp [00:01:50]File name is /storage/kkm_last_timestamp [00:01:50]Write 4 bytes [00:01:50]NVStorageSaveData done [00:01:50]ExternCall_PrintAddStr [00:01:50]wPrintStart [00:01:50]Write to MH i2c: 01 00 00 90 2E BE OFD Sender: Processing packet 37837 [packets to send 42, broken 41] [00:01:50]ProducePacketName [00:01:50]name=ofd_packets/00037837 [00:01:50]OFD Sender: To server: pG, [00:01:50]CommunicateWithHost lk.salyk.kg:30040 [00:01:50]ConnectInit lk.salyk.kg [00:01:50] [00:01:50]Write i2c OK [00:01:50]MH_I2C_Read... [00:01:50]Read from MH i2c: 01 [00:01:50]MH_I2C_Read... [00:01:50]Read from MH i2c: 01 07 00 [00:01:50]MH_I2C_Read... [00:01:50]Read from MH i2c: 01 07 00 90 2E 00 00 00 00 00 FF 0F D3 [00:01:50]RasterBufferAndPrint [00:01:50]line Отчет о закрытии смены [00:01:50]line ФФД: 1.0 [00:01:50]line ИНН: 02508201610067 [00:01:50]line Кассир: Долонбаев А. [00:01:50]line 29.10.2024 00:01 [00:01:50]line Смена: 551 [00:01:50]line РНМ: 0000000000091684 [00:01:50]line ЗНМ: 0300000092 [00:01:50]line СНО: Общий режим [00:01:50]line Чеков за смену: 79 [00:01:50]line ФД за смену: 81 [00:01:50]line Всего чеков: 79 [00:01:50]line ИТОГИ ПРИХОД [00:01:50]line Чеков: 79 [00:01:50]line Общий итог: 14372.00 [00:01:50]line Итого наличными: 12054.00 [00:01:50]line Итого безнал.: 2318.00 [00:01:50]line НДС 0% : 0.00 [00:01:50]line НДС 12% : 1526.07 [00:01:50]line НСП 0% : 0.00 [00:01:50]line НСП 1,50% : 0.00 [00:01:50]line НСП 0,50% : 0.00 [00:01:50]line НСП 5% : 0.00 [00:01:50]line НСП 3% : 0.00 [00:01:50]line НСП 2% : 0.00 [00:01:50]line НСП 1% : 127.14 [00:01:50]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:01:50]line Чеков: 0 [00:01:50]line Общий итог: 0.00 [00:01:50]line Итого наличными: 0.00 [00:01:50]line Итого безнал.: 0.00 [00:01:50]line НДС 0% : 0.00 [00:01:50]line НДС 12% : 0.00 [00:01:50]line НСП 0% : 0.00 [00:01:50]line НСП 1,50% : 0.00 [00:01:50]line НСП 0,50% : 0.00 [00:01:50]line НСП 5% : 0.00 [00:01:50]line НСП 3% : 0.00 [00:01:50]line НСП 2% : 0.00 [00:01:50]line НСП 1% : 0.00 [00:01:50]line ИТОГИ РАСХОД [00:01:50]line Чеков: 0 [00:01:50]line Общий итог: 0.00 [00:01:50]line Итого наличными: 0.00 [00:01:50]line Итого безнал.: 0.00 [00:01:50]line НДС 0% : 0.00 [00:01:50]line НДС 12% : 0.00 [00:01:50]line НСП 0% : 0.00 [00:01:50]line НСП 1,50% : 0.00 [00:01:50]line НСП 0,50% : 0.00 [00:01:50]line НСП 5% : 0.00 [00:01:50]line НСП 3% : 0.00 [00:01:50]line НСП 2% : 0.00 [00:01:50]line НСП 1% : 0.00 [00:01:50]line ИТОГИ ВОЗВРАТ РАСХОДА [00:01:50]line Чеков: 0 [00:01:50]line Общий итог: 0.00 [00:01:50]line Итого наличными: 0.00 [00:01:50]line Итого безнал.: 0.00 [00:01:50]line НДС 0% : 0.00 [00:01:50]line НДС 12% : 0.00 [00:01:50]line НСП 0% : 0.00 [00:01:50]line НСП 1,50% : 0.00 [00:01:50]line НСП 0,50% : 0.00 [00:01:50]line НСП 5% : 0.00 [00:01:50]line НСП 3% : 0.00 [00:01:50]line НСП 2% : 0.00 [00:01:50]line НСП 1% : 0.00 [00:01:50]line Сумма внесений: 0.00 [00:01:50]line Сумма выплат: 0.00 [00:01:50]line Нал. в кассе: 12054.00 [00:01:50]line НС Приход: 8756809.26 [00:01:50]line НС Возвр.Прихода: 12909.00 [00:01:50]line НС Расход: 0.00 [00:01:50]line НС Возвр.Расхода: 0.00 [00:01:50]line ФД: 37837 [00:01:50]line ФМ: 0000000000871841 [00:01:50]line ФПД: 41961806635655 [00:01:50]written 0, free lines is 4095 [00:01:51]Connected sock=11 [00:01:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 79 05 00 00 A8 15 71 05 31 3C 5A 05 01 00 05 00 65 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 94 D0 BE D0 BB D0 BE D0 BD D0 B1 D0 B0 D0 B5 D0 B2 20 D0 90 2E 20 F4 03 04 00 EA 25 20 67 0E 04 04 00 27 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 5E 04 04 00 4F 00 00 00 57 04 04 00 51 00 00 00 AA 04 D5 04 6E 04 04 00 4F 00 00 00 69 04 A2 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 10 EE 15 70 04 03 00 98 64 12 72 04 03 Write to MH i2c: 00 01 78 00 89 00 03 E0 00 04 81 00 EE 03 0A 00 F2 03 01 00 2E 00 0E F3 [00:01:51]03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 Write i2c OK [00:01:51]00 MH_I2C_Read... [00:01:51]1F Read from MH i2c: 54 01 02 [00:01:51]EF MH_I2C_Read... [00:01:51]03 0A 00 F6 03 01 00 00 Read from MH i2c: F7 01 03 07 01 00 00 [00:01:51]00 MH_I2C_Read... [00:01:51]EF 03 0A 00 F6 03 01 00 06 F7 Read from MH i2c: 03 01 01 07 00 00 00 E0 EF 2E 03 00 0A 00 00 00 F6 00 03 00 01 ED 00 0B 05 0D F7 [00:01:51]03 RasterBufferAndPrint [00:01:51]01 00 00 EF 03 0A 00 F6 03 01 00 line [00:01:51]04 line [00:01:51]F7 line [00:01:51]03 line [00:01:51]01 line [00:01:51]00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 written 0, free lines is 3243 [00:01:51]03 01 00 02 F7 03 01 00 00 EF MH_Cut [00:01:51]03 Write to MH i2c: 0B D1 00 01 F6 00 E7 03 2E 01 01 00 E7 01 F7 03 02 00 AA 31 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 [00:01:52]04 01 00 Write i2c OK [00:01:52]00 MH_I2C_Read... [00:01:52]72 04 01 00 00 00 04 Read from MH i2c: 7E D1 00 [00:01:52]EE MH_I2C_Read... [00:01:52]03 0A 00 F2 Read from MH i2c: 03 D1 01 01 00 00 00 [00:01:52]F3 03 01 00 00 EE 03 0A 00 F2 03 01 MH_I2C_Read... [00:01:52]00 01 F3 03 01 00 00 EF 03 Read from MH i2c: 0A D1 00 01 F6 00 03 E7 01 2E 00 E6 [00:01:52]Write to MH i2c: 01 00 00 E8 2E 16 [00:01:52]00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 Write i2c OK [00:01:52]MH_I2C_Read... [00:01:52]99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A *** Cut start [00:01:52]00 *** Partial cut [00:01:52]F6 *** CUTSNS_PIN = 1 [00:01:52]03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 *** CUTSNS_PIN = 0 [00:01:52]04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 *** Brake cut motor [00:01:52]00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 *** Stop cut motor [00:01:53]09 *** Cut end [00:01:53]00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 Read from MH i2c: 00 01 F7 [00:01:53]03 MH_I2C_Read... [00:01:53]00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 Read from MH i2c: EF 01 03 07 09 00 00 [00:01:53]F6 MH_I2C_Read... [00:01:53]03 Read from MH i2c: 01 01 00 07 02 00 F7 03 00 00 EF 03 09 00 F6 03 01 E8 00 2E 03 00 F7 00 03 00 00 00 EF 03 09 00 F6 03 01 00 00 04 00 F7 FF 03 0F 00 2B 00 [00:01:53]EF process_action close_shift done [00:01:53]03 requested_data is exist [00:01:53]09 produce_requested_data [00:01:53]00 requested_item fd.num is exist - process it [00:01:53]F6 03 01 00 05 F7 03 00 00 EF 03 SAM_PROTO_GetFieldsCounters [00:01:53]09 wFMCommunicate request_size=4 [00:01:53]00 MH_SAM_APDU [00:01:53]F6 CAPDU: 03 80 01 00 06 F7 03 00 00 10 04 04 13 00 00 CD 00 93 [00:01:53]00 Write to MH i2c: 00 11 04 10 00 30 30 30 30 30 30 E2 30 08 30 00 30 E9 30 2E 38 37 31 38 34 31 35 04 06 00 26 80 29 13 FE 00 94 00 22 00 87 97 EB 7D 68 A6 84 A2 FF [00:01:53]00 00 00 93 [00:01:53]Write i2c OK [00:01:53]MH_I2C_Read... [00:01:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:01:53]Read from MH i2c: E2 [00:01:53]MH_I2C_Read... [00:01:53]Read from MH i2c: E2 62 00 [00:01:53]MH_I2C_Read... [00:01:53]Read from MH i2c: E2 62 00 E9 2E 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CD 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 2B [00:01:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CD 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:01:54]wFMCommunicate OK [00:01:54]SAM_PROTO_GetFieldsCounters done [00:01:54]requested_item shift.num is exist - process it [00:01:54]requested_item shift.opened is exist - process it [00:01:54]req_shift_opened [00:01:54]FM_GetShiftState [00:01:54]SAM_PROTO_GetShiftState [00:01:54]wFMCommunicate request_size=4 [00:01:54]MH_SAM_APDU [00:01:54]CAPDU: 80 13 01 00 [00:01:54]Write to MH i2c: E2 08 00 EA 2E 80 13 01 00 00 00 00 00 95 [00:01:54]Write i2c OK [00:01:54]MH_I2C_Read... [00:01:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:54]Read from MH i2c: E2 [00:01:54]MH_I2C_Read... [00:01:54]Read from MH i2c: E2 0E 00 [00:01:54]MH_I2C_Read... [00:01:54]Read from MH i2c: E2 0E 00 EA 2E 00 09 00 00 00 00 00 00 00 00 00 00 90 00 A0 [00:01:54]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:01:54]wFMCommunicate OK [00:01:54]SAM_PROTO_GetShiftState done [00:01:54]FM_GetShiftState done [00:01:54]req_shift_opened done [00:01:54]requested_item shift.open_date is exist - process it [00:01:54]req_shift_open_date [00:01:54]FM_GetShiftState [00:01:54]SAM_PROTO_GetShiftState [00:01:54]wFMCommunicate request_size=4 [00:01:54]MH_SAM_APDU [00:01:54]CAPDU: 80 13 01 00 [00:01:54]Write to MH i2c: E2 08 00 EB 2E 80 13 01 00 00 00 00 00 96 [00:01:54]Write i2c OK [00:01:54]MH_I2C_Read... [00:01:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:54]Read from MH i2c: E2 [00:01:54]MH_I2C_Read... [00:01:54]Read from MH i2c: E2 0E 00 [00:01:54]MH_I2C_Read... [00:01:54]Read from MH i2c: E2 0E 00 EB 2E 00 09 00 00 00 00 00 00 00 00 00 00 90 00 A1 [00:01:54]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:01:54]wFMCommunicate OK [00:01:54]SAM_PROTO_GetShiftState done [00:01:54]FM_GetShiftState done [00:01:54]req_shift_open_date done [00:01:54]produce_requested_data done [00:01:54]produce_requested_data return {"fd.num":37837,"shift.num":551,"shift.opened":0,"shift.open_date":0} [00:01:54]process_action_free close_shift [00:01:54]json_value_free [00:01:54]json_value_free done [00:01:54]process_json_proto returns [00:01:54]Send response to host [00:01:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":37837,"shift.num":551,"shift.opened":0,"shift.open_date":0}}} [00:01:54]free response buf [00:01:54]execute_script done [00:01:54]execute_script returns [00:01:54]free content buf [00:01:54]Sock 9.Close socket [00:01:54]Sock 9.Thread stoped [00:01:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 7B 12 47 00 10 14 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 CD 93 00 00 F4 03 04 00 ED D0 1F 67 B6 04 01 00 00 0D 90 DA 9B 95 01 7B 7F [00:01:55]CommunicateWithHost err = 0 [00:01:55]CheckOFDResponse [00:01:55]1017 (14) - 77093643461234 [00:01:55]1041 (16) - 0000000000871841 [00:01:55]1040 (4) - 37837 [00:01:55]1012 (4) - 28.10.2024 17:59 [00:01:55]1206 (1) - 0 [00:01:55]OFD Sender: Remove packet 37837 [00:01:55]ProducePacketName [00:01:55]name=ofd_packets/00037837 [00:01:55]NVStorageDeleteData [00:01:55]OFD Sender: No OFD packet to send [00:02:00]OFD Sender: No OFD packet to send [00:02:05]OFD Sender: No OFD packet to send [00:02:10]OFD Sender: No OFD packet to send [00:02:15]OFD Sender: No OFD packet to send [00:02:20]OFD Sender: No OFD packet to send [00:02:25]OFD Sender: No OFD packet to send [00:02:30]OFD Sender: No OFD packet to send [00:02:35]OFD Sender: No OFD packet to send [00:02:40]OFD Sender: No OFD packet to send [00:02:45]OFD Sender: No OFD packet to send [00:02:50]OFD Sender: No OFD packet to send [00:02:55]OFD Sender: No OFD packet to send [00:03:00]OFD Sender: No OFD packet to send [00:03:05]OFD Sender: No OFD packet to send [00:03:10]OFD Sender: No OFD packet to send [00:03:15]OFD Sender: No OFD packet to send [00:03:20]OFD Sender: No OFD packet to send [00:03:25]OFD Sender: No OFD packet to send [00:03:30]OFD Sender: No OFD packet to send [00:03:35]OFD Sender: No OFD packet to send [00:03:40]OFD Sender: No OFD packet to send [00:03:45]OFD Sender: No OFD packet to send [00:03:50]OFD Sender: No OFD packet to send [00:03:55]OFD Sender: No OFD packet to send [00:04:00]OFD Sender: No OFD packet to send [00:04:05]OFD Sender: No OFD packet to send [00:04:10]OFD Sender: No OFD packet to send [00:04:15]OFD Sender: No OFD packet to send [00:04:20]OFD Sender: No OFD packet to send [00:04:25]OFD Sender: No OFD packet to send [00:04:30]OFD Sender: No OFD packet to send [00:04:35]OFD Sender: No OFD packet to send [00:04:40]OFD Sender: No OFD packet to send [00:04:45]OFD Sender: No OFD packet to send [00:04:50]OFD Sender: No OFD packet to send [00:04:55]OFD Sender: No OFD packet to send [00:05:00]OFD Sender: No OFD packet to send [00:05:03]accept exits with 7 [00:05:03]New connection [00:05:03]New thread 3067440484 created [00:05:03]Thread 3067297124 joined [00:05:03]Waiting for new connection... [00:05:03] Sock 7.Parse request [00:05:03]Sock 7.Check first char [00:05:03]Sock 7.First char is OK [00:05:03]request: POST /json_proto HTTP/1.0 [00:05:03]Method: POST [00:05:03]URL: /json_proto [00:05:03]Method is POST - this is cgi request [00:05:03]url: /json_proto [00:05:03]query_string will be loaded in cgi processing [00:05:03]execute_cgi json_proto POST (null) [00:05:03]execute_cgi path=json_proto method=POST [00:05:03]POST find Content-Length [00:05:03]Host: 172.17.40.196:8080 [00:05:03]Content-Length: 215 [00:05:03]Content-Type: application/json [00:05:03] [00:05:03]POST finish read [00:05:03]Found Content-Length = 215 [00:05:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:05:03]execute_script... [00:05:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:05:03]POST & json_proto [00:05:03]process_json_proto [00:05:03]json parsed OK: [00:05:03]protocol is kg_v1.0 [00:05:03]action value=get_value [00:05:03]process_action get_value [00:05:03]cmd_get_value [00:05:03]process_action get_value done [00:05:03]requested_data is exist [00:05:03]produce_requested_data [00:05:03]requested_item kkm.sn is exist - process it [00:05:03]requested_item kkm.ver is exist - process it [00:05:03]requested_item fm.sn is exist - process it [00:05:03]wFMCommunicate request_size=4 [00:05:03]MH_SAM_APDU [00:05:03]CAPDU: 80 11 00 00 [00:05:03]Write to MH i2c: E2 08 00 EC 2E 80 11 00 00 00 00 00 00 94 [00:05:03]Write i2c OK [00:05:03]MH_I2C_Read... [00:05:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:05:03]Read from MH i2c: E2 [00:05:03]MH_I2C_Read... [00:05:03]Read from MH i2c: E2 17 00 [00:05:03]MH_I2C_Read... [00:05:03]Read from MH i2c: E2 17 00 EC 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E4 [00:05:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:05:03]wFMCommunicate OK [00:05:03]requested_item fd.num is exist - process it [00:05:03]SAM_PROTO_GetFieldsCounters [00:05:03]wFMCommunicate request_size=4 [00:05:03]MH_SAM_APDU [00:05:03]CAPDU: 80 13 00 00 [00:05:03]Write to MH i2c: E2 08 00 ED 2E 80 13 00 00 00 00 00 00 97 [00:05:03]Write i2c OK [00:05:03]MH_I2C_Read... [00:05:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:05:03]Read from MH i2c: E2 [00:05:03]MH_I2C_Read... [00:05:03]Read from MH i2c: E2 62 00 [00:05:03]MH_I2C_Read... [00:05:03]Read from MH i2c: E2 62 00 ED 2E 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CD 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 2F [00:05: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CD 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:05:03]wFMCommunicate OK [00:05:03]SAM_PROTO_GetFieldsCounters done [00:05:03]requested_item shift.num is exist - process it [00:05:03]requested_item shift.opened is exist - process it [00:05:03]req_shift_opened [00:05:03]FM_GetShiftState [00:05:03]SAM_PROTO_GetShiftState [00:05:03]wFMCommunicate request_size=4 [00:05:03]MH_SAM_APDU [00:05:03]CAPDU: 80 13 01 00 [00:05:03]Write to MH i2c: E2 08 00 EE 2E 80 13 01 00 00 00 00 00 99 [00:05:03]Write i2c OK [00:05:03]MH_I2C_Read... [00:05:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:05:03]Read from MH i2c: E2 [00:05:03]MH_I2C_Read... [00:05:03]Read from MH i2c: E2 0E 00 [00:05:03]MH_I2C_Read... [00:05:03]Read from MH i2c: E2 0E 00 EE 2E 00 09 00 00 00 00 00 00 00 00 00 00 90 00 A4 [00:05:03]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:05:03]wFMCommunicate OK [00:05:03]SAM_PROTO_GetShiftState done [00:05:03]FM_GetShiftState done [00:05:03]req_shift_opened done [00:05:03]requested_item shift.open_date is exist - process it [00:05:03]req_shift_open_date [00:05:03]FM_GetShiftState [00:05:03]SAM_PROTO_GetShiftState [00:05:03]wFMCommunicate request_size=4 [00:05:03]MH_SAM_APDU [00:05:03]CAPDU: 80 13 01 00 [00:05:03]Write to MH i2c: E2 08 00 EF 2E 80 13 01 00 00 00 00 00 9A [00:05:03]Write i2c OK [00:05:03]MH_I2C_Read... [00:05:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:05:03]Read from MH i2c: E2 [00:05:03]MH_I2C_Read... [00:05:03]Read from MH i2c: E2 0E 00 [00:05:03]MH_I2C_Read... [00:05:03]Read from MH i2c: E2 0E 00 EF 2E 00 09 00 00 00 00 00 00 00 00 00 00 90 00 A5 [00:05:03]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:05:03]wFMCommunicate OK [00:05:03]SAM_PROTO_GetShiftState done [00:05:03]FM_GetShiftState done [00:05:03]req_shift_open_date done [00:05:03]produce_requested_data done [00:05:03]produce_requested_data return {"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37837,"shift.num":551,"shift.opened":0,"shift.open_date":0} [00:05:03]process_action_free get_value [00:05:03]json_value_free [00:05:03]json_value_free done [00:05:03]process_json_proto returns [00:05:03]Send response to host [00:05:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37837,"shift.num":551,"shift.opened":0,"shift.open_date":0}}} [00:05:03]free response buf [00:05:03]execute_script done [00:05:03]execute_script returns [00:05:03]free content buf [00:05:03]Sock 7.Close socket [00:05:03]Sock 7.Thread stoped [00:05:03]accept exits with 10 [00:05:03]New connection [00:05:03]New thread 3067297124 created [00:05:03]Thread 3067440484 joined [00:05:03]Waiting for new connection... [00:05:03] Sock 10.Parse request [00:05:03]Sock 10.Check first char [00:05:03]Sock 10.First char is OK [00:05:03]request: POST /json_proto HTTP/1.0 [00:05:03]Method: POST [00:05:03]URL: /json_proto [00:05:03]Method is POST - this is cgi request [00:05:03]url: /json_proto [00:05:03]query_string will be loaded in cgi processing [00:05:03]execute_cgi json_proto POST (null) [00:05:03]execute_cgi path=json_proto method=POST [00:05:03]POST find Content-Length [00:05:03]Host: 172.17.40.196:8080 [00:05:03]Content-Length: 331 [00:05:03]Content-Type: application/json [00:05:03] [00:05:03]POST finish read [00:05:03]Found Content-Length = 331 [00:05:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:05:03]execute_script... [00:05:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:05:04]POST & json_proto [00:05:04]process_json_proto [00:05:04]json parsed OK: [00:05:04]protocol is kg_v1.0 [00:05:04]action value=get_value [00:05:04]process_action get_value [00:05:04]cmd_get_value [00:05:04]process_action get_value done [00:05:04]requested_data is exist [00:05:04]produce_requested_data [00:05:04]requested_item fm.sale.total is exist - process it [00:05:04]SAM_PROTO_GetFMData [00:05:04]wFMCommunicate request_size=4 [00:05:04]MH_SAM_APDU [00:05:04]CAPDU: 80 13 03 00 [00:05:04]Write to MH i2c: E2 08 00 F0 2E 80 13 03 00 00 00 00 00 9D [00:05:04]Write i2c OK [00:05:04]MH_I2C_Read... [00:05:04]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:05:04]Read from MH i2c: E2 [00:05:04]MH_I2C_Read... [00:05:04]Read from MH i2c: E2 FD 00 [00:05:04]MH_I2C_Read... [00:05:04]Read from MH i2c: E2 FD 00 F0 2E 00 C0 04 85 04 BC 04 6E 04 04 00 7E 8F 00 00 69 04 A0 00 6F 04 04 00 79 8F 00 00 B1 04 04 00 9E D4 31 34 70 04 04 00 E4 17 5D 2E 72 04 04 00 BA BC D4 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A8 03 8B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 33 2E 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 CC [00:05:04]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 7E 8F 00 00 69 04 A0 00 6F 04 04 00 79 8F 00 00 B1 04 04 00 9E D4 31 34 70 04 04 00 E4 17 5D 2E 72 04 04 00 BA BC D4 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A8 03 8B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 33 2E 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:05:04]wFMCommunicate OK [00:05:04]wFMCommunicate request_size=4 [00:05:04]MH_SAM_APDU [00:05:04]CAPDU: 80 17 00 00 [00:05:04]Write to MH i2c: E2 08 00 F1 2E 80 17 00 00 00 00 00 00 9F [00:05:04]Write i2c OK [00:05:04]MH_I2C_Read... [00:05:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:04]Read from MH i2c: E2 [00:05:04]MH_I2C_Read... [00:05:04]Read from MH i2c: E2 FD 00 [00:05:04]MH_I2C_Read... [00:05:05]Read from MH i2c: E2 FD 00 F1 2E 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 9A [00:05:05]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:05:05]wFMCommunicate OK [00:05:05]wFMCommunicate request_size=4 [00:05:05]MH_SAM_APDU [00:05:05]CAPDU: 80 17 00 00 [00:05:05]Write to MH i2c: E2 08 00 F2 2E 80 17 00 00 00 00 00 00 A0 [00:05:05]Write i2c OK [00:05:05]MH_I2C_Read... [00:05:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:05]Read from MH i2c: E2 [00:05:05]MH_I2C_Read... [00:05:05]Read from MH i2c: E2 FD 00 [00:05:05]MH_I2C_Read... [00:05:05]Read from MH i2c: E2 FD 00 F2 2E 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 43 [00:05:05]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:05:05]wFMCommunicate OK [00:05:05]wFMCommunicate request_size=4 [00:05:05]MH_SAM_APDU [00:05:05]CAPDU: 80 17 00 00 [00:05:05]Write to MH i2c: E2 08 00 F3 2E 80 17 00 00 00 00 00 00 A1 [00:05:05]Write i2c OK [00:05:05]MH_I2C_Read... [00:05:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:05]Read from MH i2c: E2 [00:05:05]MH_I2C_Read... [00:05:05]Read from MH i2c: E2 FD 00 [00:05:05]MH_I2C_Read... [00:05:05]Read from MH i2c: E2 FD 00 F3 2E 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 19 [00:05:05]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:05:05]wFMCommunicate OK [00:05:05]wFMCommunicate request_size=4 [00:05:05]MH_SAM_APDU [00:05:05]CAPDU: 80 17 00 00 [00:05:05]Write to MH i2c: E2 08 00 F4 2E 80 17 00 00 00 00 00 00 A2 [00:05:05]Write i2c OK [00:05:05]MH_I2C_Read... [00:05:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:05:05]Read from MH i2c: E2 [00:05:05]MH_I2C_Read... [00:05:05]Read from MH i2c: E2 DD 00 [00:05:05]MH_I2C_Read... [00:05:05]Read from MH i2c: E2 DD 00 F4 2E 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 8A [00:05:05]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:05:05]wFMCommunicate OK [00:05:05]SAM_PROTO_GetFMData done [00:05:05]requested_item fm.sale_refund.total is exist - process it [00:05:05]requested_item fm.buy.total is exist - process it [00:05:05]requested_item shift.sale.total is exist - process it [00:05:05]SAM_PROTO_GetShiftData [00:05:05]wFMCommunicate request_size=4 [00:05:05]MH_SAM_APDU [00:05:05]CAPDU: 80 13 02 00 [00:05:05]Write to MH i2c: E2 08 00 F5 2E 80 13 02 00 00 00 00 00 A1 [00:05:05]Write i2c OK [00:05:05]MH_I2C_Read... [00:05:06]OFD Sender: No OFD packet to send [00:05:06]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:05:06]Read from MH i2c: E2 [00:05:06]MH_I2C_Read... [00:05:06]Read from MH i2c: E2 FD 00 [00:05:06]MH_I2C_Read... [00:05:06]Read from MH i2c: E2 FD 00 F5 2E 00 AE 04 AA 04 AA 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 10 EE 15 70 04 03 00 98 64 12 72 04 03 00 78 89 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1F 54 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 75 [00:05:06]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 10 EE 15 70 04 03 00 98 64 12 72 04 03 00 78 89 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1F 54 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:05:06]wFMCommunicate OK [00:05:06]wFMCommunicate request_size=4 [00:05:06]MH_SAM_APDU [00:05:06]CAPDU: 80 17 00 00 [00:05:06]Write to MH i2c: E2 08 00 F6 2E 80 17 00 00 00 00 00 00 A4 [00:05:06]Write i2c OK [00:05:06]MH_I2C_Read... [00:05:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:06]Read from MH i2c: E2 [00:05:06]MH_I2C_Read... [00:05:06]Read from MH i2c: E2 FD 00 [00:05:06]MH_I2C_Read... [00:05:06]Read from MH i2c: E2 FD 00 F6 2E 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 C6 [00:05:06]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:05:06]wFMCommunicate OK [00:05:06]wFMCommunicate request_size=4 [00:05:06]MH_SAM_APDU [00:05:06]CAPDU: 80 17 00 00 [00:05:06]Write to MH i2c: E2 08 00 F7 2E 80 17 00 00 00 00 00 00 A5 [00:05:06]Write i2c OK [00:05:06]MH_I2C_Read... [00:05:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:06]Read from MH i2c: E2 [00:05:06]MH_I2C_Read... [00:05:06]Read from MH i2c: E2 FD 00 [00:05:06]MH_I2C_Read... [00:05:06]Read from MH i2c: E2 FD 00 F7 2E 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 5C [00:05:06]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:05:06]wFMCommunicate OK [00:05:06]wFMCommunicate request_size=4 [00:05:06]MH_SAM_APDU [00:05:06]CAPDU: 80 17 00 00 [00:05:06]Write to MH i2c: E2 08 00 F8 2E 80 17 00 00 00 00 00 00 A6 [00:05:06]Write i2c OK [00:05:06]MH_I2C_Read... [00:05:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:07]Read from MH i2c: E2 [00:05:07]MH_I2C_Read... [00:05:07]Read from MH i2c: E2 FD 00 [00:05:07]MH_I2C_Read... [00:05:07]Read from MH i2c: E2 FD 00 F8 2E 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 18 [00:05:07]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:05:07]wFMCommunicate OK [00:05:07]wFMCommunicate request_size=4 [00:05:07]MH_SAM_APDU [00:05:07]CAPDU: 80 17 00 00 [00:05:07]Write to MH i2c: E2 08 00 F9 2E 80 17 00 00 00 00 00 00 A7 [00:05:07]Write i2c OK [00:05:07]MH_I2C_Read... [00:05:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:05:07]Read from MH i2c: E2 [00:05:07]MH_I2C_Read... [00:05:07]Read from MH i2c: E2 CB 00 [00:05:07]MH_I2C_Read... [00:05:07]Read from MH i2c: E2 CB 00 F9 2E 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 90 [00:05:07]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:05:07]wFMCommunicate OK [00:05:07]SAM_PROTO_GetShiftData done [00:05:07]requested_item shift.sale.total_cash is exist - process it [00:05:07]requested_item shift.sale_refund.total is exist - process it [00:05:07]requested_item shift.sale_refund.total_cash is exist - process it [00:05:07]requested_item shift.buy.total is exist - process it [00:05:07]requested_item shift.buy.total_cash is exist - process it [00:05:07]produce_requested_data done [00:05:07]produce_requested_data return {"fm.sale.total":8756809.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":14372.00,"shift.sale.total_cash":12054.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:05:07]process_action_free get_value [00:05:07]json_value_free [00:05:07]json_value_free done [00:05:07]process_json_proto returns [00:05:07]Send response to host [00:05:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8756809.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":14372.00,"shift.sale.total_cash":12054.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:05:07]free response buf [00:05:07]execute_script done [00:05:07]execute_script returns [00:05:07]free content buf [00:05:07]Sock 10.Close socket [00:05:07]Sock 10.Thread stoped [00:05:07]accept exits with 7 [00:05:07]New connection [00:05:07]New thread 3067440484 created [00:05:07]Thread 3067297124 joined [00:05:07]Waiting for new connection... [00:05:07] Sock 7.Parse request [00:05:07]Sock 7.Check first char [00:05:07]Sock 7.First char is OK [00:05:07]request: POST /json_proto HTTP/1.0 [00:05:07]Method: POST [00:05:07]URL: /json_proto [00:05:07]Method is POST - this is cgi request [00:05:07]url: /json_proto [00:05:07]query_string will be loaded in cgi processing [00:05:07]execute_cgi json_proto POST (null) [00:05:07]execute_cgi path=json_proto method=POST [00:05:07]POST find Content-Length [00:05:07]Host: 172.17.40.196:8080 [00:05:07]Content-Length: 271 [00:05:07]Content-Type: application/json [00:05:07] [00:05:07]POST finish read [00:05:07]Found Content-Length = 271 [00:05:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0421\u043E\u043D\u0443\u043D\u0431\u0435\u043A\u043E\u0432 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:05:07]execute_script... [00:05:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0421\u043E\u043D\u0443\u043D\u0431\u0435\u043A\u043E\u0432 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:05:07]POST & json_proto [00:05:07]process_json_proto [00:05:07]json parsed OK: [00:05:07]protocol is kg_v1.0 [00:05:07]action value=open_shift [00:05:07]process_action open_shift [00:05:07]cmd_open_shift [00:05:07]MH_GetDate [00:05:07]Write to MH i2c: F0 00 00 FA 2E 17 [00:05:07]Write i2c OK [00:05:07]MH_I2C_Read... [00:05:07]Read from MH i2c: F0 [00:05:07]MH_I2C_Read... [00:05:07]Read from MH i2c: F0 09 00 [00:05:07]MH_I2C_Read... [00:05:07]Read from MH i2c: F0 09 00 FA 2E 00 BD 26 20 67 5B 68 A1 66 54 [00:05:07]GetLastDocTimeStamp 1730160106 [00:05:07]current date 1730160317 [00:05:07]FM_GetShiftState [00:05:07]SAM_PROTO_GetShiftState [00:05:07]wFMCommunicate request_size=4 [00:05:07]MH_SAM_APDU [00:05:07]CAPDU: 80 13 01 00 [00:05:07]Write to MH i2c: E2 08 00 FB 2E 80 13 01 00 00 00 00 00 A6 [00:05:07]Write i2c OK [00:05:07]MH_I2C_Read... [00:05:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:05:07]Read from MH i2c: E2 [00:05:07]MH_I2C_Read... [00:05:07]Read from MH i2c: E2 0E 00 [00:05:07]MH_I2C_Read... [00:05:07]Read from MH i2c: E2 0E 00 FB 2E 00 09 00 00 00 00 00 00 00 00 00 00 90 00 B1 [00:05:07]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:05:07]wFMCommunicate OK [00:05:07]SAM_PROTO_GetShiftState done [00:05:07]FM_GetShiftState done [00:05:07]KKMCreateOpenShiftDocument [00:05:07]Load OK [00:05:07]Malloc new data [00:05:07]MH_GetDate [00:05:07]Write to MH i2c: F0 00 00 FC 2E 19 [00:05:07]Write i2c OK [00:05:07]MH_I2C_Read... [00:05:07]Read from MH i2c: F0 [00:05:07]MH_I2C_Read... [00:05:07]Read from MH i2c: F0 09 00 [00:05:07]MH_I2C_Read... [00:05:07]Read from MH i2c: F0 09 00 FC 2E 00 BD 26 20 67 5B 68 A1 66 56 [00:05:07]Malloc new data [00:05:07]KKMCreateOpenShiftDocument OK [00:05:07]KKMSetOpenShiftData OK [00:05:07]ProcessDocumentItem done err = 0, tmpTLVsize=199 [00:05:07]tlvbuf is 0033F220 [00:05:07]KKMLoadAndSignOpenShiftData [00:05:07]SAM_PROTO_ProcessDocument [00:05:07]wFMCommunicate request_size=9 [00:05:07]MH_SAM_APDU [00:05:07]CAPDU: 80 15 01 00 04 02 00 C7 00 [00:05:07]Write to MH i2c: E2 0C 00 FD 2E 80 15 01 00 04 00 02 00 C7 00 00 00 7B [00:05:07]Write i2c OK [00:05:07]MH_I2C_Read... [00:05:07]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:05:07]Read from MH i2c: E2 [00:05:07]MH_I2C_Read... [00:05:07]Read from MH i2c: E2 03 00 [00:05:07]MH_I2C_Read... [00:05:07]Read from MH i2c: E2 03 00 FD 2E 00 90 00 9F [00:05:07]RAPDU: 90 00 [00:05:07]wFMCommunicate OK [00:05:07]wFMCommunicate request_size=23 [00:05:07]MH_SAM_APDU [00:05:07]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:05:07]Write to MH i2c: E2 1A 00 FE 2E 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 A1 [00:05:07]Write i2c OK [00:05:07]MH_I2C_Read... [00:05:07]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:07]Read from MH i2c: E2 [00:05:07]MH_I2C_Read... [00:05:07]Read from MH i2c: E2 03 00 [00:05:07]MH_I2C_Read... [00:05:07]Read from MH i2c: E2 03 00 FE 2E 00 90 00 A0 [00:05:07]RAPDU: 90 00 [00:05:07]wFMCommunicate OK [00:05:07]wFMCommunicate request_size=34 [00:05:07]MH_SAM_APDU [00:05:07]CAPDU: 80 15 02 00 1D FD 03 19 00 D0 A1 D0 BE D0 BD D1 83 D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 AD 2E 20 [00:05:07]Write to MH i2c: E2 25 00 FF 2E 80 15 02 00 1D 00 FD 03 19 00 D0 A1 D0 BE D0 BD D1 83 D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 AD 2E 20 00 00 F8 [00:05:07]Write i2c OK [00:05:07]MH_I2C_Read... [00:05:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:08]Read from MH i2c: E2 [00:05:08]MH_I2C_Read... [00:05:08]Read from MH i2c: E2 03 00 [00:05:08]MH_I2C_Read... [00:05:08]Read from MH i2c: E2 03 00 FF 2E 00 90 00 A1 [00:05:08]RAPDU: 90 00 [00:05:08]wFMCommunicate OK [00:05:08]wFMCommunicate request_size=83 [00:05:08]MH_SAM_APDU [00:05:08]CAPDU: 80 15 02 00 4E F1 03 4A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D1 80 D0 B1 D0 B5 D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 9D D0 B8 D1 8F D0 B7 D0 B0 D0 BB D1 8B 20 D0 B1 2F D0 BD 2C 20 34 31 2E 34 38 33 38 34 34 2C 20 37 31 2E 37 35 38 34 35 39 [00:05:08]Write to MH i2c: E2 56 00 00 2F 80 15 02 00 4E 00 F1 03 4A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D1 80 D0 B1 D0 B5 D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 9D D0 B8 D1 8F D0 B7 D0 B0 D0 BB D1 8B 20 D0 B1 2F D0 BD 2C 20 34 31 2E 34 38 33 38 34 34 2C 20 37 31 2E 37 35 38 34 35 39 00 00 02 [00:05:08]Write i2c OK [00:05:08]MH_I2C_Read... [00:05:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:08]Read from MH i2c: E2 [00:05:08]MH_I2C_Read... [00:05:08]Read from MH i2c: E2 03 00 [00:05:08]MH_I2C_Read... [00:05:08]Read from MH i2c: E2 03 00 00 2F 00 90 00 A3 [00:05:08]RAPDU: 90 00 [00:05:08]wFMCommunicate OK [00:05:08]wFMCommunicate request_size=51 [00:05:08]MH_SAM_APDU [00:05:08]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [00:05:08]Write to MH i2c: E2 36 00 01 2F 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 5B [00:05:08]Write i2c OK [00:05:08]MH_I2C_Read... [00:05:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:08]Read from MH i2c: E2 [00:05:08]MH_I2C_Read... [00:05:08]Read from MH i2c: E2 03 00 [00:05:08]MH_I2C_Read... [00:05:08]Read from MH i2c: E2 03 00 01 2F 00 90 00 A4 [00:05:08]RAPDU: 90 00 [00:05:08]wFMCommunicate OK [00:05:08]wFMCommunicate request_size=13 [00:05:08]MH_SAM_APDU [00:05:08]CAPDU: 80 15 02 00 08 F4 03 04 00 BD 26 20 67 [00:05:08]Write to MH i2c: E2 10 00 02 2F 80 15 02 00 08 00 F4 03 04 00 BD 26 20 67 00 00 26 [00:05:08]Write i2c OK [00:05:08]MH_I2C_Read... [00:05:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:08]Read from MH i2c: E2 [00:05:08]MH_I2C_Read... [00:05:08]Read from MH i2c: E2 03 00 [00:05:08]MH_I2C_Read... [00:05:08]Read from MH i2c: E2 03 00 02 2F 00 90 00 A5 [00:05:08]RAPDU: 90 00 [00:05:08]wFMCommunicate OK [00:05:08]wFMCommunicate request_size=25 [00:05:08]MH_SAM_APDU [00:05:08]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 [00:05:08]Write to MH i2c: E2 1C 00 03 2F 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 00 00 17 [00:05:08]Write i2c OK [00:05:08]MH_I2C_Read... [00:05:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:08]Read from MH i2c: E2 [00:05:08]MH_I2C_Read... [00:05:08]Read from MH i2c: E2 03 00 [00:05:08]MH_I2C_Read... [00:05:08]Read from MH i2c: E2 03 00 03 2F 00 90 00 A6 [00:05:08]RAPDU: 90 00 [00:05:08]wFMCommunicate OK [00:05:08]wFMCommunicate request_size=4 [00:05:08]MH_SAM_APDU [00:05:08]CAPDU: 80 15 03 00 [00:05:08]Write to MH i2c: E2 08 00 04 2F 80 15 03 00 00 00 00 00 B4 [00:05:08]Write i2c OK [00:05:08]MH_I2C_Read... [00:05:08]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:05:08]Read from MH i2c: E2 [00:05:08]MH_I2C_Read... [00:05:08]Read from MH i2c: E2 38 00 [00:05:08]MH_I2C_Read... [00:05:08]Read from MH i2c: E2 38 00 04 2F 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 CE 93 00 00 0E 04 04 00 28 02 00 00 35 04 06 00 6C F6 71 8A 6B 9B 90 00 6B [00:05:08]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 CE 93 00 00 0E 04 04 00 28 02 00 00 35 04 06 00 6C F6 71 8A 6B 9B 90 00 [00:05:08]wFMCommunicate OK [00:05:08]SAM_PROTO_ProcessDocument answer len = 51 [00:05:08]SAM_PROTO_ProcessDocument done [00:05:08]SetTLVBufToDocument [00:05:08]Processing tag 1209 (04B9) [00:05:08]Malloc new data [00:05:08]Processing tag 1041 (0411) [00:05:08]Processing tag 1040 (0410) [00:05:08]Malloc new data [00:05:08]Processing tag 1038 (040E) [00:05:08]Malloc new data [00:05:08]Processing tag 1077 (0435) [00:05:08]Malloc new data [00:05:08]SetTLVBufToDocument err=0 [00:05:08]KKMLoadAndSignOpenShiftData store KKM data [00:05:08]KKMLoadAndSignOpenShiftData err=0 [00:05:08]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Сонунбеков Э. Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 Место: АЗС № 126 "Партнер Нефть" 29.10.2024 00:05 Смена: 552 РНМ: 0000000000091684 ЗНМ: 0300000092 ФД: 37838 ФМ: 0000000000871841 ФПД: 119805722651547 [00:05:08]StoreToDocumentArchive [00:05:08]shift 552 fd 37838 [00:05:08]Create dir for shift 0552 [00:05:08]save to /storage/0552/doc_00037838 [00:05:08]save last doc name /storage/0552/doc_00037838 to /storage/kkm_last_doc_name [00:05:08]save OK [00:05:08]Clear old archive folders... [00:05:08]Remove dir /storage/0551 [00:05:08]opendir ok [00:05:08]file . [00:05:08]file .. [00:05:08]file doc_00037757 [00:05:08]remove file /storage/0551/doc_00037757 [00:05:08]file doc_00037758 [00:05:08]remove file /storage/0551/doc_00037758 [00:05:08]file doc_00037759 [00:05:08]remove file /storage/0551/doc_00037759 [00:05:08]file doc_00037760 [00:05:08]remove file /storage/0551/doc_00037760 [00:05:08]file doc_00037761 [00:05:08]remove file /storage/0551/doc_00037761 [00:05:08]file doc_00037762 [00:05:08]remove file /storage/0551/doc_00037762 [00:05:08]file doc_00037763 [00:05:08]remove file /storage/0551/doc_00037763 [00:05:08]file doc_00037764 [00:05:08]remove file /storage/0551/doc_00037764 [00:05:08]file doc_00037765 [00:05:08]remove file /storage/0551/doc_00037765 [00:05:08]file doc_00037766 [00:05:08]remove file /storage/0551/doc_00037766 [00:05:08]file doc_00037767 [00:05:08]remove file /storage/0551/doc_00037767 [00:05:08]file doc_00037768 [00:05:08]remove file /storage/0551/doc_00037768 [00:05:08]file doc_00037769 [00:05:08]remove file /storage/0551/doc_00037769 [00:05:08]file doc_00037770 [00:05:08]remove file /storage/0551/doc_00037770 [00:05:08]file doc_00037771 [00:05:08]remove file /storage/0551/doc_00037771 [00:05:08]file doc_00037772 [00:05:08]remove file /storage/0551/doc_00037772 [00:05:08]file doc_00037773 [00:05:08]remove file /storage/0551/doc_00037773 [00:05:08]file doc_00037774 [00:05:08]remove file /storage/0551/doc_00037774 [00:05:08]file doc_00037775 [00:05:08]remove file /storage/0551/doc_00037775 [00:05:08]file doc_00037776 [00:05:08]remove file /storage/0551/doc_00037776 [00:05:08]file doc_00037777 [00:05:08]remove file /storage/0551/doc_00037777 [00:05:08]file doc_00037778 [00:05:08]remove file /storage/0551/doc_00037778 [00:05:08]file doc_00037779 [00:05:08]remove file /storage/0551/doc_00037779 [00:05:08]file doc_00037780 [00:05:08]remove file /storage/0551/doc_00037780 [00:05:08]file doc_00037781 [00:05:08]remove file /storage/0551/doc_00037781 [00:05:08]file doc_00037782 [00:05:08]remove file /storage/0551/doc_00037782 [00:05:08]file doc_00037783 [00:05:08]remove file /storage/0551/doc_00037783 [00:05:08]file doc_00037784 [00:05:08]remove file /storage/0551/doc_00037784 [00:05:08]file doc_00037785 [00:05:08]remove file /storage/0551/doc_00037785 [00:05:08]file doc_00037786 [00:05:08]remove file /storage/0551/doc_00037786 [00:05:08]file doc_00037787 [00:05:08]remove file /storage/0551/doc_00037787 [00:05:08]file doc_00037788 [00:05:08]remove file /storage/0551/doc_00037788 [00:05:08]file doc_00037789 [00:05:08]remove file /storage/0551/doc_00037789 [00:05:08]file doc_00037790 [00:05:08]remove file /storage/0551/doc_00037790 [00:05:08]file doc_00037791 [00:05:08]remove file /storage/0551/doc_00037791 [00:05:08]file doc_00037792 [00:05:08]remove file /storage/0551/doc_00037792 [00:05:08]file doc_00037793 [00:05:08]remove file /storage/0551/doc_00037793 [00:05:08]file doc_00037794 [00:05:08]remove file /storage/0551/doc_00037794 [00:05:08]file doc_00037795 [00:05:08]remove file /storage/0551/doc_00037795 [00:05:08]file doc_00037796 [00:05:08]remove file /storage/0551/doc_00037796 [00:05:08]file doc_00037797 [00:05:08]remove file /storage/0551/doc_00037797 [00:05:08]file doc_00037798 [00:05:08]remove file /storage/0551/doc_00037798 [00:05:08]file doc_00037799 [00:05:08]remove file /storage/0551/doc_00037799 [00:05:08]file doc_00037800 [00:05:08]remove file /storage/0551/doc_00037800 [00:05:08]file doc_00037801 [00:05:08]remove file /storage/0551/doc_00037801 [00:05:08]file doc_00037802 [00:05:08]remove file /storage/0551/doc_00037802 [00:05:08]file doc_00037803 [00:05:08]remove file /storage/0551/doc_00037803 [00:05:08]file doc_00037804 [00:05:08]remove file /storage/0551/doc_00037804 [00:05:08]file doc_00037805 [00:05:08]remove file /storage/0551/doc_00037805 [00:05:08]file doc_00037806 [00:05:08]remove file /storage/0551/doc_00037806 [00:05:08]file doc_00037807 [00:05:08]remove file /storage/0551/doc_00037807 [00:05:08]file doc_00037808 [00:05:08]remove file /storage/0551/doc_00037808 [00:05:08]file doc_00037809 [00:05:08]remove file /storage/0551/doc_00037809 [00:05:08]file doc_00037810 [00:05:08]remove file /storage/0551/doc_00037810 [00:05:08]file doc_00037811 [00:05:08]remove file /storage/0551/doc_00037811 [00:05:08]file doc_00037812 [00:05:08]remove file /storage/0551/doc_00037812 [00:05:08]file doc_00037813 [00:05:08]remove file /storage/0551/doc_00037813 [00:05:08]file doc_00037814 [00:05:08]remove file /storage/0551/doc_00037814 [00:05:08]file doc_00037815 [00:05:08]remove file /storage/0551/doc_00037815 [00:05:08]file doc_00037816 [00:05:08]remove file /storage/0551/doc_00037816 [00:05:08]file doc_00037817 [00:05:08]remove file /storage/0551/doc_00037817 [00:05:08]file doc_00037818 [00:05:08]remove file /storage/0551/doc_00037818 [00:05:08]file doc_00037819 [00:05:08]remove file /storage/0551/doc_00037819 [00:05:08]file doc_00037820 [00:05:08]remove file /storage/0551/doc_00037820 [00:05:08]file doc_00037821 [00:05:08]remove file /storage/0551/doc_00037821 [00:05:08]file doc_00037822 [00:05:08]remove file /storage/0551/doc_00037822 [00:05:08]file doc_00037823 [00:05:08]remove file /storage/0551/doc_00037823 [00:05:08]file doc_00037824 [00:05:08]remove file /storage/0551/doc_00037824 [00:05:08]file doc_00037825 [00:05:08]remove file /storage/0551/doc_00037825 [00:05:08]file doc_00037826 [00:05:08]remove file /storage/0551/doc_00037826 [00:05:08]file doc_00037827 [00:05:08]remove file /storage/0551/doc_00037827 [00:05:08]file doc_00037828 [00:05:08]remove file /storage/0551/doc_00037828 [00:05:08]file doc_00037829 [00:05:08]remove file /storage/0551/doc_00037829 [00:05:08]file doc_00037830 [00:05:08]remove file /storage/0551/doc_00037830 [00:05:08]file doc_00037831 [00:05:08]remove file /storage/0551/doc_00037831 [00:05:08]file doc_00037832 [00:05:09]remove file /storage/0551/doc_00037832 [00:05:09]file doc_00037833 [00:05:09]remove file /storage/0551/doc_00037833 [00:05:09]file doc_00037834 [00:05:09]remove file /storage/0551/doc_00037834 [00:05:09]file doc_00037835 [00:05:09]remove file /storage/0551/doc_00037835 [00:05:09]file doc_00037836 [00:05:09]remove file /storage/0551/doc_00037836 [00:05:09]file doc_00037837 [00:05:09]remove file /storage/0551/doc_00037837 [00:05:09]remove dir /storage/0551 [00:05:09]ProcessDocumentItem done err = 0, tmpTLVsize=250 [00:05:09]tlvbuf is 00213BD0 [00:05:09]SAM_PROTO_ClearQueue [00:05:09]wFMCommunicate request_size=4 [00:05:09]MH_SAM_APDU [00:05:09]CAPDU: 80 09 00 00 [00:05:09]Write to MH i2c: E2 08 00 05 2F 80 09 00 00 00 00 00 00 A6 [00:05:09]Write i2c OK [00:05:09]MH_I2C_Read... [00:05:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:05:09]Read from MH i2c: E2 [00:05:09]MH_I2C_Read... [00:05:09]Read from MH i2c: E2 03 00 [00:05:09]MH_I2C_Read... [00:05:09]Read from MH i2c: E2 03 00 05 2F 00 90 00 A8 [00:05:09]RAPDU: 90 00 [00:05:09]wFMCommunicate OK [00:05:09]SAM_PROTO_ClearQueue done [00:05:09]KKMCreateOFDPacket [00:05:09]OFDProtocolAddRootSTLVToBuf [00:05:09]FM_MakeSignedData [00:05:09]FM_MakeSignedData [00:05:09]SAM_PROTO_SignData [00:05:09]wFMCommunicate request_size=4 [00:05:09]MH_SAM_APDU [00:05:09]CAPDU: 80 0D 01 02 [00:05:09]Write to MH i2c: E2 08 00 06 2F 80 0D 01 02 00 00 00 00 AE [00:05:09]Write i2c OK [00:05:09]MH_I2C_Read... [00:05:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:05:09]Read from MH i2c: E2 [00:05:09]MH_I2C_Read... [00:05:09]Read from MH i2c: E2 03 00 [00:05:09]MH_I2C_Read... [00:05:09]Read from MH i2c: E2 03 00 06 2F 00 90 00 A9 [00:05:09]RAPDU: 90 00 [00:05:09]wFMCommunicate OK [00:05:09]wFMCommunicate request_size=255 [00:05:09]MH_SAM_APDU [00:05:09]CAPDU: 80 0D 02 02 FA 02 00 FA 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 A1 D0 BE D0 BD D1 83 D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 AD 2E 20 F1 03 4A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D1 80 D0 B1 D0 B5 D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 9D D0 B8 D1 8F D0 B7 D0 B0 D0 BB D1 8B 20 D0 B1 2F D0 BD 2C 20 34 31 2E 34 38 33 38 34 34 2C 20 37 31 2E 37 35 38 34 35 39 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 BD 26 20 67 0E 04 04 00 28 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CE 93 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 04 06 00 6C F6 [00:05:09]Write to MH i2c: E2 02 01 07 2F 80 0D 02 02 FA 00 02 00 FA 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 A1 D0 BE D0 BD D1 83 D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 AD 2E 20 F1 03 4A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D1 80 D0 B1 D0 B5 D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 9D D0 B8 D1 8F D0 B7 D0 B0 D0 BB D1 8B 20 D0 B1 2F D0 BD 2C 20 34 31 2E 34 38 33 38 34 34 2C 20 37 31 2E 37 35 38 34 35 39 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 BD 26 20 67 0E 04 04 00 28 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CE 93 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 04 06 00 6C F6 00 00 86 [00:05:09]Write i2c OK [00:05:09]MH_I2C_Read... [00:05:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:05:09]Read from MH i2c: E2 [00:05:09]MH_I2C_Read... [00:05:09]Read from MH i2c: E2 03 00 [00:05:09]MH_I2C_Read... [00:05:09]Read from MH i2c: E2 03 00 07 2F 00 90 00 AA [00:05:09]RAPDU: 90 00 [00:05:09]wFMCommunicate OK [00:05:09]wFMCommunicate request_size=9 [00:05:09]MH_SAM_APDU [00:05:09]CAPDU: 80 0D 02 02 04 71 8A 6B 9B [00:05:09]Write to MH i2c: E2 0C 00 08 2F 80 0D 02 02 04 00 71 8A 6B 9B 00 00 BA [00:05:09]Write i2c OK [00:05:09]MH_I2C_Read... [00:05:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:05:09]Read from MH i2c: E2 [00:05:09]MH_I2C_Read... [00:05:09]Read from MH i2c: E2 03 00 [00:05:09]MH_I2C_Read... [00:05:09]Read from MH i2c: E2 03 00 08 2F 00 90 00 AB [00:05:09]RAPDU: 90 00 [00:05:09]wFMCommunicate OK [00:05:09]wFMCommunicate request_size=4 [00:05:09]MH_SAM_APDU [00:05:09]CAPDU: 80 0D 03 02 [00:05:09]Write to MH i2c: E2 08 00 09 2F 80 0D 03 02 00 00 00 00 B3 [00:05:09]Write i2c OK [00:05:09]MH_I2C_Read... [00:05:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:05:09]Read from MH i2c: E2 [00:05:09]MH_I2C_Read... [00:05:09]Read from MH i2c: E2 0B 00 [00:05:09]MH_I2C_Read... [00:05:09]Read from MH i2c: E2 0B 00 09 2F 00 CF 13 DE 74 1F A1 C0 F1 90 00 59 [00:05:09]RAPDU: CF 13 DE 74 1F A1 C0 F1 90 00 [00:05:09]wFMCommunicate OK [00:05:09]SAM_PROTO_SignData done [00:05:09]FM_MakeSignedData done [00:05:09]CreateOFDProtocolMessage [00:05:09]wFMCommunicate request_size=4 [00:05:09]MH_SAM_APDU [00:05:09]CAPDU: 80 11 00 00 [00:05:09]Write to MH i2c: E2 08 00 0A 2F 80 11 00 00 00 00 00 00 B3 [00:05:09]Write i2c OK [00:05:09]MH_I2C_Read... [00:05:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:05:09]Read from MH i2c: E2 [00:05:09]MH_I2C_Read... [00:05:09]Read from MH i2c: E2 17 00 [00:05:09]MH_I2C_Read... [00:05:09]Read from MH i2c: E2 17 00 0A 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 03 [00:05:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:05:09]wFMCommunicate OK [00:05:09]CreateOFDProtocolMessage done [00:05:09]OFDSenderStorePacket 37838 [00:05:09]StoreOFDPacket docnum=37838 [00:05:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0E 01 00 00 7D 1F 06 01 D7 28 5A 02 01 00 02 00 FA 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 A1 D0 BE D0 BD D1 83 D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 AD 2E 20 F1 03 4A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D1 80 D0 B1 D0 B5 D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 9D D0 B8 D1 8F D0 B7 D0 B0 D0 BB D1 8B 20 D0 B1 2F D0 BD 2C 20 34 31 2E 34 38 33 38 34 34 2C 20 37 31 2E 37 35 38 34 35 39 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 BD 26 20 67 0E 04 04 00 28 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CE 93 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 04 06 00 6C F6 71 8A 6B 9B CF 13 DE 74 1F A1 C0 F1 [00:05:09]CheckFolder [00:05:09]dirname=/storage/ofd_packets [00:05:09]CheckFolder done [00:05:09]ProducePacketName [00:05:09]name=ofd_packets/00037838 [00:05:09]NVStorageSaveData ofd_packets/00037838 [00:05:09]File name is /storage/ofd_packets/00037838 [00:05:09]Write 300 bytes [00:05:09]NVStorageSaveData done [00:05:09]OFDSenderStorePacket done [00:05:09]KKMCreateOFDPacket done [00:05:09]NVStorageSaveData kkm_last_timestamp [00:05:09]File name is /storage/kkm_last_timestamp [00:05:09]Write 4 bytes [00:05:09]NVStorageSaveData done [00:05:09]ExternCall_PrintAddStr [00:05:09]wPrintStart [00:05:09]Write to MH i2c: 01 00 00 0B 2F 3A [00:05:09]Write i2c OK [00:05:09]MH_I2C_Read... [00:05:09]Read from MH i2c: 01 [00:05:09]MH_I2C_Read... [00:05:09]Read from MH i2c: 01 07 00 [00:05:09]MH_I2C_Read... [00:05:09]Read from MH i2c: 01 07 00 0B 2F 00 00 00 00 00 FF 0F 4F [00:05:09]RasterBufferAndPrint [00:05:09]line Отчет об открытии смены [00:05:09]line ФФД: 1.0 [00:05:09]line ИНН: 02508201610067 [00:05:09]line Кассир: Сонунбеков Э. [00:05:09]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [00:05:09]line Место: АЗС № 126 "Партнер Нефть" [00:05:09]line 29.10.2024 00:05 [00:05:09]line Смена: 552 [00:05:09]line РНМ: 0000000000091684 [00:05:09]line ЗНМ: 0300000092 [00:05:09]line ФД: 37838 [00:05:09]line ФМ: 0000000000871841 [00:05:09]line ФПД: 119805722651547 [00:05:09]written 0, free lines is 4095 [00:05:09]OFD Sender: Processing packet 37838 [packets to send 42, broken 41] [00:05:09]ProducePacketName [00:05:09]name=ofd_packets/00037838 [00:05:09]OFD Sender: To server: pG, [00:05:09]CommunicateWithHost lk.salyk.kg:30040 [00:05:09]ConnectInit lk.salyk.kg [00:05:10]Write to MH i2c: 01 00 00 1D 2F 4C [00:05:10]Write i2c OK [00:05:10]MH_I2C_Read... [00:05:10]Read from MH i2c: 01 [00:05:10]MH_I2C_Read... [00:05:10]Read from MH i2c: 01 07 00 [00:05:10]MH_I2C_Read... [00:05:10]Read from MH i2c: 01 07 00 1D 2F 00 00 00 00 00 53 0E B4 [00:05:10]RasterBufferAndPrint [00:05:10]line [00:05:10]line [00:05:10]line [00:05:10]line [00:05:10]line [00:05:10]written 0, free lines is 3678 [00:05:10]MH_Cut [00:05:10]Write to MH i2c: D1 01 00 24 2F 01 25 [00:05:10]Write i2c OK [00:05:10]MH_I2C_Read... [00:05:10]Read from MH i2c: D1 [00:05:10]MH_I2C_Read... [00:05:10]Read from MH i2c: D1 01 00 [00:05:10]MH_I2C_Read... [00:05:10]Read from MH i2c: D1 01 00 24 2F 00 24 [00:05:10]Write to MH i2c: 01 00 00 25 2F 54 [00:05:10]Write i2c OK [00:05:10]MH_I2C_Read... [00:05:10]*** Cut start [00:05:10]*** Partial cut [00:05:10]*** CUTSNS_PIN = 1 [00:05:10]*** CUTSNS_PIN = 0 [00:05:10]*** Brake cut motor [00:05:11]Read from MH i2c: 01 [00:05:11]MH_I2C_Read... [00:05:11]*** Stop cut motor [00:05:11]*** Cut end [00:05:11]Read from MH i2c: 01 07 00 [00:05:11]MH_I2C_Read... [00:05:11]Read from MH i2c: 01 07 00 25 2F 00 00 00 00 00 FF 0F 69 [00:05:11]process_action open_shift done [00:05:11]requested_data is exist [00:05:11]produce_requested_data [00:05:11]requested_item fd.num is exist - process it [00:05:11]SAM_PROTO_GetFieldsCounters [00:05:11]wFMCommunicate request_size=4 [00:05:11]MH_SAM_APDU [00:05:11]CAPDU: 80 13 00 00 [00:05:11]Write to MH i2c: E2 08 00 26 2F 80 13 00 00 00 00 00 00 D1 [00:05:11]Write i2c OK [00:05:11]MH_I2C_Read... [00:05:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:05:11]Read from MH i2c: E2 [00:05:11]MH_I2C_Read... [00:05:11]Read from MH i2c: E2 62 00 [00:05:11]MH_I2C_Read... [00:05:11]Read from MH i2c: E2 62 00 26 2F 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CE 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 7D [00:05:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CE 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:05:11]wFMCommunicate OK [00:05:11]SAM_PROTO_GetFieldsCounters done [00:05:11]requested_item shift.num is exist - process it [00:05:11]requested_item shift.opened is exist - process it [00:05:11]req_shift_opened [00:05:11]FM_GetShiftState [00:05:11]SAM_PROTO_GetShiftState [00:05:11]wFMCommunicate request_size=4 [00:05:11]MH_SAM_APDU [00:05:11]CAPDU: 80 13 01 00 [00:05:11]Write to MH i2c: E2 08 00 27 2F 80 13 01 00 00 00 00 00 D3 [00:05:11]Write i2c OK [00:05:11]MH_I2C_Read... [00:05:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:05:11]Read from MH i2c: E2 [00:05:11]MH_I2C_Read... [00:05:11]Read from MH i2c: E2 0E 00 [00:05:11]MH_I2C_Read... [00:05:11]Read from MH i2c: E2 0E 00 27 2F 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 49 [00:05:11]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [00:05:11]wFMCommunicate OK [00:05:11]SAM_PROTO_GetShiftState done [00:05:11]FM_GetShiftState done [00:05:11]req_shift_opened done [00:05:11]requested_item shift.open_date is exist - process it [00:05:11]req_shift_open_date [00:05:11]req_shift_open_date done [00:05:11]produce_requested_data done [00:05:11]produce_requested_data return {"fd.num":37838,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [00:05:11]process_action_free open_shift [00:05:11]json_value_free [00:05:11]json_value_free done [00:05:11]process_json_proto returns [00:05:11]Send response to host [00:05:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":37838,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [00:05:11]free response buf [00:05:11]execute_script done [00:05:11]execute_script returns [00:05:11]free content buf [00:05:11]Sock 7.Close socket [00:05:11]Sock 7.Thread stoped [00:05:11]accept exits with 9 [00:05:11]New connection [00:05:11]New thread 3067297124 created [00:05:11]Thread 3067440484 joined [00:05:11]Waiting for new connection... [00:05:11] Sock 9.Parse request [00:05:11]Sock 9.Check first char [00:05:11]Sock 9.First char is OK [00:05:11]request: POST /json_proto HTTP/1.0 [00:05:11]Method: POST [00:05:11]URL: /json_proto [00:05:11]Method is POST - this is cgi request [00:05:11]url: /json_proto [00:05:11]query_string will be loaded in cgi processing [00:05:11]execute_cgi json_proto POST (null) [00:05:11]execute_cgi path=json_proto method=POST [00:05:11]POST find Content-Length [00:05:11]Host: 172.17.40.196:8080 [00:05:11]Content-Length: 331 [00:05:11]Content-Type: application/json [00:05:11] [00:05:11]POST finish read [00:05:11]Found Content-Length = 331 [00:05:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:05:11]execute_script... [00:05:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:05:11]POST & json_proto [00:05:11]process_json_proto [00:05:11]json parsed OK: [00:05:11]protocol is kg_v1.0 [00:05:11]action value=get_value [00:05:11]process_action get_value [00:05:11]cmd_get_value [00:05:11]process_action get_value done [00:05:11]requested_data is exist [00:05:11]produce_requested_data [00:05:11]requested_item fm.sale.total is exist - process it [00:05:11]SAM_PROTO_GetFMData [00:05:11]wFMCommunicate request_size=4 [00:05:11]MH_SAM_APDU [00:05:11]CAPDU: 80 13 03 00 [00:05:11]Write to MH i2c: E2 08 00 28 2F 80 13 03 00 00 00 00 00 D6 [00:05:11]Write i2c OK [00:05:11]MH_I2C_Read... [00:05:12]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:05:12]Read from MH i2c: E2 [00:05:12]MH_I2C_Read... [00:05:12]Read from MH i2c: E2 FD 00 [00:05:12]MH_I2C_Read... [00:05:12]Read from MH i2c: E2 FD 00 28 2F 00 C0 04 85 04 BC 04 6E 04 04 00 7E 8F 00 00 69 04 A0 00 6F 04 04 00 79 8F 00 00 B1 04 04 00 9E D4 31 34 70 04 04 00 E4 17 5D 2E 72 04 04 00 BA BC D4 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A8 03 8B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 33 2E 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 05 [00:05:12]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 7E 8F 00 00 69 04 A0 00 6F 04 04 00 79 8F 00 00 B1 04 04 00 9E D4 31 34 70 04 04 00 E4 17 5D 2E 72 04 04 00 BA BC D4 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A8 03 8B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 33 2E 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:05:12]wFMCommunicate OK [00:05:12]wFMCommunicate request_size=4 [00:05:12]MH_SAM_APDU [00:05:12]CAPDU: 80 17 00 00 [00:05:12]Write to MH i2c: E2 08 00 29 2F 80 17 00 00 00 00 00 00 D8 [00:05:12]Write i2c OK [00:05:12]MH_I2C_Read... [00:05:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:12]Read from MH i2c: E2 [00:05:12]MH_I2C_Read... [00:05:12]Read from MH i2c: E2 FD 00 [00:05:12]MH_I2C_Read... [00:05:12]Read from MH i2c: E2 FD 00 29 2F 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 Connected sock=11 [00:05:12]Data to sent: 00 87 00 95 6C F6 04 70 8D 47 00 2C 6F 01 04 00 04 30 00 30 00 30 00 30 00 00 30 B1 04 00 00 70 04 00 90 00 D3 [00:05:12]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 30 02 30 30 00 30 A1 30 2C 38 EF 37 03 31 09 38 00 34 F6 31 03 0E 01 01 00 00 02 00 F7 7D 1F 03 06 00 01 00 D7 EF 28 03 5A 09 02 00 01 F6 00 03 02 01 00 00 FA 03 00 F7 B9 03 04 00 01 00 00 EF 01 03 FA 09 03 00 0E F6 00 03 30 01 32 00 35 04 30 F7 38 03 32 00 30 00 31 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 36 6F 31 04 30 04 30 00 36 00 37 00 FD 00 03 00 19 B1 00 04 D0 00 A1 00 D0 70 BE 04 D0 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 BD 01 D1 00 83 01 D0 F3 BD 03 D0 00 B1 00 D0 EF B5 03 D0 09 BA D0 BE 00 D0 F6 B2 03 20 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 D0 F7 AD 03 2E 00 20 00 F1 EF 03 03 4A 09 00 00 37 F6 32 03 30 01 30 00 30 03 31 F7 2C 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 20 EF D0 03 B3 09 2E 00 20 F6 D0 03 9A 01 D0 00 B5 06 D1 F7 80 03 D0 00 B1 00 D0 6C B5 04 D0 8D BD 00 2C 6F 20 04 D1 04 83 00 D0 00 BB 00 2E 00 20 00 D0 B1 9D 04 D0 00 B8 00 D1 70 8F 04 D0 00 B7 90 D0 00 B0 [00:05:12]D0 wFMCommunicate OK [00:05:12]BB wFMCommunicate request_size=4 [00:05:12]D1 MH_SAM_APDU [00:05:12]8B CAPDU: 20 80 D0 17 B1 00 2F 00 D0 [00:05:12]BD Write to MH i2c: 2C E2 20 08 34 00 31 2A 2E 2F 34 80 38 17 33 00 38 00 34 00 34 00 2C 20 37 31 2E 37 35 38 34 35 39 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 BD 26 20 67 0E 04 04 00 28 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CE 93 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 04 06 00 6C F6 71 8A 6B 9B CF 13 DE 74 1F A1 C0 F1 [00:05:12]00 00 D9 [00:05:12]Write i2c OK [00:05:12]MH_I2C_Read... [00:05:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:13]Read from MH i2c: E2 [00:05:13]MH_I2C_Read... [00:05:13]Read from MH i2c: E2 FD 00 [00:05:13]MH_I2C_Read... [00:05:13]Read from MH i2c: E2 FD 00 2A 2F 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 7C [00:05:13]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:05:13]wFMCommunicate OK [00:05:13]wFMCommunicate request_size=4 [00:05:13]MH_SAM_APDU [00:05:13]CAPDU: 80 17 00 00 [00:05:13]Write to MH i2c: E2 08 00 2B 2F 80 17 00 00 00 00 00 00 DA [00:05:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 86 FD 47 00 D0 7B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 CE 93 00 00 F4 03 04 00 B4 D1 1F 67 B6 04 01 00 00 25 27 13 CE 28 8A 10 68 [00:05:13]CommunicateWithHost err = 0 [00:05:13]CheckOFDResponse [00:05:13]1017 (14) - 77093643461234 [00:05:13]1041 (16) - 0000000000871841 [00:05:13]1040 (4) - 37838 [00:05:13]1012 (4) - 28.10.2024 18:02 [00:05:13]1206 (1) - 0 [00:05:13]OFD Sender: Remove packet 37838 [00:05:13]ProducePacketName [00:05:13]name=ofd_packets/00037838 [00:05:13]NVStorageDeleteData [00:05:13]Write i2c OK [00:05:13]MH_I2C_Read... [00:05:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:13]Read from MH i2c: E2 [00:05:13]MH_I2C_Read... [00:05:13]Read from MH i2c: E2 FD 00 [00:05:13]MH_I2C_Read... [00:05:13]Read from MH i2c: E2 FD 00 2B 2F 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 52 [00:05:13]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:05:14]wFMCommunicate OK [00:05:14]wFMCommunicate request_size=4 [00:05:14]MH_SAM_APDU [00:05:14]CAPDU: 80 17 00 00 [00:05:14]Write to MH i2c: E2 08 00 2C 2F 80 17 00 00 00 00 00 00 DB [00:05:14]Write i2c OK [00:05:14]MH_I2C_Read... [00:05:14]OFD Sender: No OFD packet to send [00:05:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:05:14]Read from MH i2c: E2 [00:05:14]MH_I2C_Read... [00:05:14]Read from MH i2c: E2 DD 00 [00:05:14]MH_I2C_Read... [00:05:14]Read from MH i2c: E2 DD 00 2C 2F 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C3 [00:05:14]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:05:14]wFMCommunicate OK [00:05:14]SAM_PROTO_GetFMData done [00:05:14]requested_item fm.sale_refund.total is exist - process it [00:05:14]requested_item fm.buy.total is exist - process it [00:05:14]requested_item shift.sale.total is exist - process it [00:05:14]SAM_PROTO_GetShiftData [00:05:14]wFMCommunicate request_size=4 [00:05:14]MH_SAM_APDU [00:05:14]CAPDU: 80 13 02 00 [00:05:14]Write to MH i2c: E2 08 00 2D 2F 80 13 02 00 00 00 00 00 DA [00:05:14]Write i2c OK [00:05:14]MH_I2C_Read... [00:05:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:05:14]Read from MH i2c: E2 [00:05:14]MH_I2C_Read... [00:05:14]Read from MH i2c: E2 FD 00 [00:05:14]MH_I2C_Read... [00:05:14]Read from MH i2c: E2 FD 00 2D 2F 00 A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 4D [00:05:15]RAPDU: A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [00:05:15]wFMCommunicate OK [00:05:15]wFMCommunicate request_size=4 [00:05:15]MH_SAM_APDU [00:05:15]CAPDU: 80 17 00 00 [00:05:15]Write to MH i2c: E2 08 00 2E 2F 80 17 00 00 00 00 00 00 DD [00:05:15]Write i2c OK [00:05:15]MH_I2C_Read... [00:05:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:15]Read from MH i2c: E2 [00:05:15]MH_I2C_Read... [00:05:15]Read from MH i2c: E2 FD 00 [00:05:15]MH_I2C_Read... [00:05:15]Read from MH i2c: E2 FD 00 2E 2F 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 E5 [00:05:15]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 [00:05:15]wFMCommunicate OK [00:05:15]wFMCommunicate request_size=4 [00:05:15]MH_SAM_APDU [00:05:15]CAPDU: 80 17 00 00 [00:05:15]Write to MH i2c: E2 08 00 2F 2F 80 17 00 00 00 00 00 00 DE [00:05:15]Write i2c OK [00:05:15]MH_I2C_Read... [00:05:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:15]Read from MH i2c: E2 [00:05:15]MH_I2C_Read... [00:05:15]Read from MH i2c: E2 FD 00 [00:05:15]MH_I2C_Read... [00:05:15]Read from MH i2c: E2 FD 00 2F 2F 00 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 B0 [00:05:16]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 [00:05:16]wFMCommunicate OK [00:05:16]wFMCommunicate request_size=4 [00:05:16]MH_SAM_APDU [00:05:16]CAPDU: 80 17 00 00 [00:05:16]Write to MH i2c: E2 08 00 30 2F 80 17 00 00 00 00 00 00 DF [00:05:16]Write i2c OK [00:05:16]MH_I2C_Read... [00:05:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:16]Read from MH i2c: E2 [00:05:16]MH_I2C_Read... [00:05:16]Read from MH i2c: E2 FD 00 [00:05:16]MH_I2C_Read... [00:05:16]Read from MH i2c: E2 FD 00 30 2F 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 51 [00:05:16]RAPDU: 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 [00:05:16]wFMCommunicate OK [00:05:16]wFMCommunicate request_size=4 [00:05:16]MH_SAM_APDU [00:05:16]CAPDU: 80 17 00 00 [00:05:16]Write to MH i2c: E2 08 00 31 2F 80 17 00 00 00 00 00 00 E0 [00:05:16]Write i2c OK [00:05:16]MH_I2C_Read... [00:05:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:05:16]Read from MH i2c: E2 [00:05:16]MH_I2C_Read... [00:05:16]Read from MH i2c: E2 BD 00 [00:05:16]MH_I2C_Read... [00:05:16]Read from MH i2c: E2 BD 00 31 2F 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C6 [00:05:17]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:05:17]wFMCommunicate OK [00:05:17]SAM_PROTO_GetShiftData done [00:05:17]requested_item shift.sale.total_cash is exist - process it [00:05:17]requested_item shift.sale_refund.total is exist - process it [00:05:17]requested_item shift.sale_refund.total_cash is exist - process it [00:05:17]requested_item shift.buy.total is exist - process it [00:05:17]requested_item shift.buy.total_cash is exist - process it [00:05:17]produce_requested_data done [00:05:17]produce_requested_data return {"fm.sale.total":8756809.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:05:17]process_action_free get_value [00:05:17]json_value_free [00:05:17]json_value_free done [00:05:17]process_json_proto returns [00:05:17]Send response to host [00:05:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8756809.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:05:17]free response buf [00:05:17]execute_script done [00:05:17]execute_script returns [00:05:17]free content buf [00:05:17]Sock 9.Close socket [00:05:17]Sock 9.Thread stoped [00:05:19]OFD Sender: No OFD packet to send [00:05:24]OFD Sender: No OFD packet to send [00:05:29]OFD Sender: No OFD packet to send [00:05:34]OFD Sender: No OFD packet to send [00:05:39]OFD Sender: No OFD packet to send [00:05:44]OFD Sender: No OFD packet to send [00:05:49]OFD Sender: No OFD packet to send [00:05:54]OFD Sender: No OFD packet to send [00:05:59]OFD Sender: No OFD packet to send [00:06:04]OFD Sender: No OFD packet to send [00:06:09]OFD Sender: No OFD packet to send [00:06:14]OFD Sender: No OFD packet to send [00:06:19]OFD Sender: No OFD packet to send [00:06:24]OFD Sender: No OFD packet to send [00:06:29]OFD Sender: No OFD packet to send [00:06:34]OFD Sender: No OFD packet to send [00:06:39]OFD Sender: No OFD packet to send [00:06:44]OFD Sender: No OFD packet to send [00:06:49]OFD Sender: No OFD packet to send [00:06:54]OFD Sender: No OFD packet to send [00:06:59]OFD Sender: No OFD packet to send [00:07:04]OFD Sender: No OFD packet to send [00:07:09]OFD Sender: No OFD packet to send [00:07:14]OFD Sender: No OFD packet to send [00:07:19]OFD Sender: No OFD packet to send [00:07:24]OFD Sender: No OFD packet to send [00:07:29]OFD Sender: No OFD packet to send [00:07:34]OFD Sender: No OFD packet to send [00:07:39]OFD Sender: No OFD packet to send [00:07:44]OFD Sender: No OFD packet to send [00:07:49]OFD Sender: No OFD packet to send [00:07:54]OFD Sender: No OFD packet to send [00:07:59]OFD Sender: No OFD packet to send [00:08:04]OFD Sender: No OFD packet to send [00:08:09]OFD Sender: No OFD packet to send [00:08:14]OFD Sender: No OFD packet to send [00:08:19]OFD Sender: No OFD packet to send [00:08:24]OFD Sender: No OFD packet to send [00:08:29]OFD Sender: No OFD packet to send [00:08:34]OFD Sender: No OFD packet to send [00:08:39]OFD Sender: No OFD packet to send [00:08:44]OFD Sender: No OFD packet to send [00:08:49]OFD Sender: No OFD packet to send [00:08:54]OFD Sender: No OFD packet to send [00:08:59]OFD Sender: No OFD packet to send [00:09:04]OFD Sender: No OFD packet to send [00:09:09]OFD Sender: No OFD packet to send [00:09:14]OFD Sender: No OFD packet to send [00:09:19]OFD Sender: No OFD packet to send [00:09:24]OFD Sender: No OFD packet to send [00:09:29]OFD Sender: No OFD packet to send [00:09:34]OFD Sender: No OFD packet to send [00:09:39]OFD Sender: No OFD packet to send [00:09:44]OFD Sender: No OFD packet to send [00:09:49]OFD Sender: No OFD packet to send [00:09:54]OFD Sender: No OFD packet to send [00:09:59]OFD Sender: No OFD packet to send [00:10:04]OFD Sender: No OFD packet to send [00:10:09]OFD Sender: No OFD packet to send [00:10:14]OFD Sender: No OFD packet to send [00:10:19]OFD Sender: No OFD packet to send [00:10:24]OFD Sender: No OFD packet to send [00:10:29]OFD Sender: No OFD packet to send [00:10:34]OFD Sender: No OFD packet to send [00:10:39]OFD Sender: No OFD packet to send [00:10:44]OFD Sender: No OFD packet to send [00:10:49]OFD Sender: No OFD packet to send [00:10:54]OFD Sender: No OFD packet to send [00:10:59]OFD Sender: No OFD packet to send [00:11:04]OFD Sender: No OFD packet to send [00:11:09]OFD Sender: No OFD packet to send [00:11:14]OFD Sender: No OFD packet to send [00:11:19]OFD Sender: No OFD packet to send [00:11:24]OFD Sender: No OFD packet to send [00:11:29]OFD Sender: No OFD packet to send [00:11:34]OFD Sender: No OFD packet to send [00:11:39]OFD Sender: No OFD packet to send [00:11:44]OFD Sender: No OFD packet to send [00:11:49]OFD Sender: No OFD packet to send [00:11:54]OFD Sender: No OFD packet to send [00:11:59]OFD Sender: No OFD packet to send [00:12:04]OFD Sender: No OFD packet to send [00:12:09]OFD Sender: No OFD packet to send [00:12:14]OFD Sender: No OFD packet to send [00:12:19]OFD Sender: No OFD packet to send [00:12:24]OFD Sender: No OFD packet to send [00:12:29]OFD Sender: No OFD packet to send [00:12:34]OFD Sender: No OFD packet to send [00:12:39]OFD Sender: No OFD packet to send [00:12:44]OFD Sender: No OFD packet to send [00:12:49]OFD Sender: No OFD packet to send [00:12:54]OFD Sender: No OFD packet to send [00:12:59]OFD Sender: No OFD packet to send [00:13:04]OFD Sender: No OFD packet to send [00:13:09]OFD Sender: No OFD packet to send [00:13:14]OFD Sender: No OFD packet to send [00:13:19]OFD Sender: No OFD packet to send [00:13:24]OFD Sender: No OFD packet to send [00:13:29]OFD Sender: No OFD packet to send [00:13:34]OFD Sender: No OFD packet to send [00:13:39]OFD Sender: No OFD packet to send [00:13:44]OFD Sender: No OFD packet to send [00:13:49]OFD Sender: No OFD packet to send [00:13:54]OFD Sender: No OFD packet to send [00:13:59]OFD Sender: No OFD packet to send [00:14:04]OFD Sender: No OFD packet to send [00:14:09]OFD Sender: No OFD packet to send [00:14:14]OFD Sender: No OFD packet to send [00:14:19]OFD Sender: No OFD packet to send [00:14:24]OFD Sender: No OFD packet to send [00:14:29]OFD Sender: No OFD packet to send [00:14:34]OFD Sender: No OFD packet to send [00:14:39]OFD Sender: No OFD packet to send [00:14:44]OFD Sender: No OFD packet to send [00:14:49]OFD Sender: No OFD packet to send [00:14:54]OFD Sender: No OFD packet to send [00:14:59]OFD Sender: No OFD packet to send [00:15:04]OFD Sender: No OFD packet to send [00:15:09]OFD Sender: No OFD packet to send [00:15:14]OFD Sender: No OFD packet to send [00:15:19]OFD Sender: No OFD packet to send [00:15:24]OFD Sender: No OFD packet to send [00:15:29]OFD Sender: No OFD packet to send [00:15:34]OFD Sender: No OFD packet to send [00:15:39]OFD Sender: No OFD packet to send [00:15:44]OFD Sender: No OFD packet to send [00:15:49]OFD Sender: No OFD packet to send [00:15:54]OFD Sender: No OFD packet to send [00:15:59]OFD Sender: No OFD packet to send [00:16:04]OFD Sender: No OFD packet to send [00:16:09]OFD Sender: No OFD packet to send [00:16:14]OFD Sender: No OFD packet to send [00:16:19]OFD Sender: No OFD packet to send [00:16:24]OFD Sender: No OFD packet to send [00:16:29]OFD Sender: No OFD packet to send [00:16:34]OFD Sender: No OFD packet to send [00:16:39]OFD Sender: No OFD packet to send [00:16:44]OFD Sender: No OFD packet to send [00:16:49]OFD Sender: No OFD packet to send [00:16:54]OFD Sender: No OFD packet to send [00:16:59]OFD Sender: No OFD packet to send [00:17:04]OFD Sender: No OFD packet to send [00:17:09]OFD Sender: No OFD packet to send [00:17:14]OFD Sender: No OFD packet to send [00:17:19]OFD Sender: No OFD packet to send [00:17:24]OFD Sender: No OFD packet to send [00:17:29]OFD Sender: No OFD packet to send [00:17:34]OFD Sender: No OFD packet to send [00:17:39]OFD Sender: No OFD packet to send [00:17:44]OFD Sender: No OFD packet to send [00:17:49]OFD Sender: No OFD packet to send [00:17:54]OFD Sender: No OFD packet to send [00:17:59]OFD Sender: No OFD packet to send [00:18:04]OFD Sender: No OFD packet to send [00:18:09]OFD Sender: No OFD packet to send [00:18:14]OFD Sender: No OFD packet to send [00:18:19]OFD Sender: No OFD packet to send [00:18:24]OFD Sender: No OFD packet to send [00:18:29]OFD Sender: No OFD packet to send [00:18:34]OFD Sender: No OFD packet to send [00:18:39]OFD Sender: No OFD packet to send [00:18:44]OFD Sender: No OFD packet to send [00:18:49]OFD Sender: No OFD packet to send [00:18:54]OFD Sender: No OFD packet to send [00:18:59]OFD Sender: No OFD packet to send [00:19:04]OFD Sender: No OFD packet to send [00:19:09]OFD Sender: No OFD packet to send [00:19:14]OFD Sender: No OFD packet to send [00:19:19]OFD Sender: No OFD packet to send [00:19:24]OFD Sender: No OFD packet to send [00:19:29]OFD Sender: No OFD packet to send [00:19:34]OFD Sender: No OFD packet to send [00:19:39]OFD Sender: No OFD packet to send [00:19:44]OFD Sender: No OFD packet to send [00:19:49]OFD Sender: No OFD packet to send [00:19:54]OFD Sender: No OFD packet to send [00:19:59]OFD Sender: No OFD packet to send [00:20:04]OFD Sender: No OFD packet to send [00:20:09]OFD Sender: No OFD packet to send [00:20:14]OFD Sender: No OFD packet to send [00:20:19]OFD Sender: No OFD packet to send [00:20:24]OFD Sender: No OFD packet to send [00:20:29]OFD Sender: No OFD packet to send [00:20:34]OFD Sender: No OFD packet to send [00:20:39]OFD Sender: No OFD packet to send [00:20:44]OFD Sender: No OFD packet to send [00:20:49]OFD Sender: No OFD packet to send [00:20:55]OFD Sender: No OFD packet to send [00:21:00]OFD Sender: No OFD packet to send [00:21:05]OFD Sender: No OFD packet to send [00:21:10]OFD Sender: No OFD packet to send [00:21:15]OFD Sender: No OFD packet to send [00:21:20]OFD Sender: No OFD packet to send [00:21:25]OFD Sender: No OFD packet to send [00:21:30]OFD Sender: No OFD packet to send [00:21:35]OFD Sender: No OFD packet to send [00:21:40]OFD Sender: No OFD packet to send [00:21:45]OFD Sender: No OFD packet to send [00:21:50]OFD Sender: No OFD packet to send [00:21:55]OFD Sender: No OFD packet to send [00:22:00]OFD Sender: No OFD packet to send [00:22:05]OFD Sender: No OFD packet to send [00:22:10]OFD Sender: No OFD packet to send [00:22:15]OFD Sender: No OFD packet to send [00:22:20]OFD Sender: No OFD packet to send [00:22:25]OFD Sender: No OFD packet to send [00:22:30]OFD Sender: No OFD packet to send [00:22:35]OFD Sender: No OFD packet to send [00:22:40]OFD Sender: No OFD packet to send [00:22:45]OFD Sender: No OFD packet to send [00:22:50]OFD Sender: No OFD packet to send [00:22:55]OFD Sender: No OFD packet to send [00:23:00]OFD Sender: No OFD packet to send [00:23:05]OFD Sender: No OFD packet to send [00:23:10]OFD Sender: No OFD packet to send [00:23:15]OFD Sender: No OFD packet to send [00:23:20]OFD Sender: No OFD packet to send [00:23:25]OFD Sender: No OFD packet to send [00:23:30]OFD Sender: No OFD packet to send [00:23:35]OFD Sender: No OFD packet to send [00:23:40]OFD Sender: No OFD packet to send [00:23:45]OFD Sender: No OFD packet to send [00:23:50]OFD Sender: No OFD packet to send [00:23:55]OFD Sender: No OFD packet to send [00:24:00]OFD Sender: No OFD packet to send [00:24:05]OFD Sender: No OFD packet to send [00:24:10]OFD Sender: No OFD packet to send [00:24:15]OFD Sender: No OFD packet to send [00:24:20]OFD Sender: No OFD packet to send [00:24:25]OFD Sender: No OFD packet to send [00:24:30]OFD Sender: No OFD packet to send [00:24:35]OFD Sender: No OFD packet to send [00:24:40]OFD Sender: No OFD packet to send [00:24:45]OFD Sender: No OFD packet to send [00:24:50]OFD Sender: No OFD packet to send [00:24:55]OFD Sender: No OFD packet to send [00:25:00]OFD Sender: No OFD packet to send [00:25:05]OFD Sender: No OFD packet to send [00:25:10]OFD Sender: No OFD packet to send [00:25:15]OFD Sender: No OFD packet to send [00:25:20]OFD Sender: No OFD packet to send [00:25:25]OFD Sender: No OFD packet to send [00:25:30]OFD Sender: No OFD packet to send [00:25:35]OFD Sender: No OFD packet to send [00:25:40]OFD Sender: No OFD packet to send [00:25:45]OFD Sender: No OFD packet to send [00:25:50]OFD Sender: No OFD packet to send [00:25:55]OFD Sender: No OFD packet to send [00:26:00]OFD Sender: No OFD packet to send [00:26:05]OFD Sender: No OFD packet to send [00:26:10]OFD Sender: No OFD packet to send [00:26:15]OFD Sender: No OFD packet to send [00:26:20]OFD Sender: No OFD packet to send [00:26:25]OFD Sender: No OFD packet to send [00:26:30]OFD Sender: No OFD packet to send [00:26:35]OFD Sender: No OFD packet to send [00:26:40]OFD Sender: No OFD packet to send [00:26:45]OFD Sender: No OFD packet to send [00:26:50]OFD Sender: No OFD packet to send [00:26:55]OFD Sender: No OFD packet to send [00:27:00]OFD Sender: No OFD packet to send [00:27:05]OFD Sender: No OFD packet to send [00:27:10]OFD Sender: No OFD packet to send [00:27:15]OFD Sender: No OFD packet to send [00:27:20]OFD Sender: No OFD packet to send [00:27:25]OFD Sender: No OFD packet to send [00:27:30]OFD Sender: No OFD packet to send [00:27:35]OFD Sender: No OFD packet to send [00:27:40]OFD Sender: No OFD packet to send [00:27:45]OFD Sender: No OFD packet to send [00:27:50]OFD Sender: No OFD packet to send [00:27:55]OFD Sender: No OFD packet to send [00:28:00]OFD Sender: No OFD packet to send [00:28:05]OFD Sender: No OFD packet to send [00:28:10]OFD Sender: No OFD packet to send [00:28:15]OFD Sender: No OFD packet to send [00:28:20]OFD Sender: No OFD packet to send [00:28:25]OFD Sender: No OFD packet to send [00:28:30]OFD Sender: No OFD packet to send [00:28:35]OFD Sender: No OFD packet to send [00:28:40]OFD Sender: No OFD packet to send [00:28:45]OFD Sender: No OFD packet to send [00:28:50]OFD Sender: No OFD packet to send [00:28:55]OFD Sender: No OFD packet to send [00:29:00]OFD Sender: No OFD packet to send [00:29:05]OFD Sender: No OFD packet to send [00:29:10]OFD Sender: No OFD packet to send [00:29:15]OFD Sender: No OFD packet to send [00:29:20]OFD Sender: No OFD packet to send [00:29:25]OFD Sender: No OFD packet to send [00:29:30]OFD Sender: No OFD packet to send [00:29:35]OFD Sender: No OFD packet to send [00:29:40]OFD Sender: No OFD packet to send [00:29:45]OFD Sender: No OFD packet to send [00:29:50]OFD Sender: No OFD packet to send [00:29:55]OFD Sender: No OFD packet to send [00:30:00]OFD Sender: No OFD packet to send [00:30:05]OFD Sender: No OFD packet to send [00:30:10]OFD Sender: No OFD packet to send [00:30:15]OFD Sender: No OFD packet to send [00:30:20]OFD Sender: No OFD packet to send [00:30:25]OFD Sender: No OFD packet to send [00:30:30]OFD Sender: No OFD packet to send [00:30:35]OFD Sender: No OFD packet to send [00:30:40]OFD Sender: No OFD packet to send [00:30:45]OFD Sender: No OFD packet to send [00:30:50]OFD Sender: No OFD packet to send [00:30:55]OFD Sender: No OFD packet to send [00:31:00]OFD Sender: No OFD packet to send [00:31:05]OFD Sender: No OFD packet to send [00:31:10]OFD Sender: No OFD packet to send [00:31:15]OFD Sender: No OFD packet to send [00:31:20]OFD Sender: No OFD packet to send [00:31:25]OFD Sender: No OFD packet to send [00:31:30]OFD Sender: No OFD packet to send [00:31:35]OFD Sender: No OFD packet to send [00:31:40]OFD Sender: No OFD packet to send [00:31:45]OFD Sender: No OFD packet to send [00:31:50]OFD Sender: No OFD packet to send [00:31:55]OFD Sender: No OFD packet to send [00:32:00]OFD Sender: No OFD packet to send [00:32:05]OFD Sender: No OFD packet to send [00:32:10]OFD Sender: No OFD packet to send [00:32:15]OFD Sender: No OFD packet to send [00:32:20]OFD Sender: No OFD packet to send [00:32:25]OFD Sender: No OFD packet to send [00:32:30]OFD Sender: No OFD packet to send [00:32:35]OFD Sender: No OFD packet to send [00:32:40]OFD Sender: No OFD packet to send [00:32:45]OFD Sender: No OFD packet to send [00:32:50]OFD Sender: No OFD packet to send [00:32:55]OFD Sender: No OFD packet to send [00:33:00]OFD Sender: No OFD packet to send [00:33:05]OFD Sender: No OFD packet to send [00:33:10]OFD Sender: No OFD packet to send [00:33:15]OFD Sender: No OFD packet to send [00:33:20]OFD Sender: No OFD packet to send [00:33:25]OFD Sender: No OFD packet to send [00:33:30]OFD Sender: No OFD packet to send [00:33:35]OFD Sender: No OFD packet to send [00:33:40]OFD Sender: No OFD packet to send [00:33:45]OFD Sender: No OFD packet to send [00:33:50]OFD Sender: No OFD packet to send [00:33:55]OFD Sender: No OFD packet to send [00:34:00]OFD Sender: No OFD packet to send [00:34:05]OFD Sender: No OFD packet to send [00:34:10]OFD Sender: No OFD packet to send [00:34:15]OFD Sender: No OFD packet to send [00:34:20]OFD Sender: No OFD packet to send [00:34:25]OFD Sender: No OFD packet to send [00:34:30]OFD Sender: No OFD packet to send [00:34:35]OFD Sender: No OFD packet to send [00:34:40]OFD Sender: No OFD packet to send [00:34:45]OFD Sender: No OFD packet to send [00:34:50]OFD Sender: No OFD packet to send [00:34:55]OFD Sender: No OFD packet to send [00:35:00]OFD Sender: No OFD packet to send [00:35:05]OFD Sender: No OFD packet to send [00:35:10]OFD Sender: No OFD packet to send [00:35:15]OFD Sender: No OFD packet to send [00:35:20]OFD Sender: No OFD packet to send [00:35:25]OFD Sender: No OFD packet to send [00:35:30]OFD Sender: No OFD packet to send [00:35:35]OFD Sender: No OFD packet to send [00:35:40]OFD Sender: No OFD packet to send [00:35:45]OFD Sender: No OFD packet to send [00:35:50]OFD Sender: No OFD packet to send [00:35:55]OFD Sender: No OFD packet to send [00:36:00]OFD Sender: No OFD packet to send [00:36:05]OFD Sender: No OFD packet to send [00:36:10]OFD Sender: No OFD packet to send [00:36:15]OFD Sender: No OFD packet to send [00:36:20]OFD Sender: No OFD packet to send [00:36:25]OFD Sender: No OFD packet to send [00:36:30]OFD Sender: No OFD packet to send [00:36:35]OFD Sender: No OFD packet to send [00:36:40]OFD Sender: No OFD packet to send [00:36:45]OFD Sender: No OFD packet to send [00:36:50]OFD Sender: No OFD packet to send [00:36:55]OFD Sender: No OFD packet to send [00:37:00]OFD Sender: No OFD packet to send [00:37:05]OFD Sender: No OFD packet to send [00:37:10]OFD Sender: No OFD packet to send [00:37:15]OFD Sender: No OFD packet to send [00:37:20]OFD Sender: No OFD packet to send [00:37:25]OFD Sender: No OFD packet to send [00:37:30]OFD Sender: No OFD packet to send [00:37:35]OFD Sender: No OFD packet to send [00:37:40]OFD Sender: No OFD packet to send [00:37:45]OFD Sender: No OFD packet to send [00:37:50]OFD Sender: No OFD packet to send [00:37:55]OFD Sender: No OFD packet to send [00:38:00]OFD Sender: No OFD packet to send [00:38:05]OFD Sender: No OFD packet to send [00:38:10]OFD Sender: No OFD packet to send [00:38:15]OFD Sender: No OFD packet to send [00:38:20]OFD Sender: No OFD packet to send [00:38:25]OFD Sender: No OFD packet to send [00:38:30]OFD Sender: No OFD packet to send [00:38:35]OFD Sender: No OFD packet to send [00:38:40]OFD Sender: No OFD packet to send [00:38:45]OFD Sender: No OFD packet to send [00:38:50]OFD Sender: No OFD packet to send [00:38:55]OFD Sender: No OFD packet to send [00:39:00]OFD Sender: No OFD packet to send [00:39:05]OFD Sender: No OFD packet to send [00:39:10]OFD Sender: No OFD packet to send [00:39:15]OFD Sender: No OFD packet to send [00:39:20]OFD Sender: No OFD packet to send [00:39:25]OFD Sender: No OFD packet to send [00:39:31]OFD Sender: No OFD packet to send [00:39:36]OFD Sender: No OFD packet to send [00:39:41]OFD Sender: No OFD packet to send [00:39:46]OFD Sender: No OFD packet to send [00:39:51]OFD Sender: No OFD packet to send [00:39:56]OFD Sender: No OFD packet to send [00:40:01]OFD Sender: No OFD packet to send [00:40:06]OFD Sender: No OFD packet to send [00:40:11]OFD Sender: No OFD packet to send [00:40:16]OFD Sender: No OFD packet to send [00:40:21]OFD Sender: No OFD packet to send [00:40:26]OFD Sender: No OFD packet to send [00:40:31]OFD Sender: No OFD packet to send [00:40:36]OFD Sender: No OFD packet to send [00:40:41]OFD Sender: No OFD packet to send [00:40:46]OFD Sender: No OFD packet to send [00:40:51]OFD Sender: No OFD packet to send [00:40:56]OFD Sender: No OFD packet to send [00:41:01]OFD Sender: No OFD packet to send [00:41:06]OFD Sender: No OFD packet to send [00:41:11]OFD Sender: No OFD packet to send [00:41:16]OFD Sender: No OFD packet to send [00:41:21]OFD Sender: No OFD packet to send [00:41:26]OFD Sender: No OFD packet to send [00:41:31]OFD Sender: No OFD packet to send [00:41:36]OFD Sender: No OFD packet to send [00:41:41]OFD Sender: No OFD packet to send [00:41:46]OFD Sender: No OFD packet to send [00:41:51]OFD Sender: No OFD packet to send [00:41:56]OFD Sender: No OFD packet to send [00:42:01]OFD Sender: No OFD packet to send [00:42:06]OFD Sender: No OFD packet to send [00:42:11]OFD Sender: No OFD packet to send [00:42:16]OFD Sender: No OFD packet to send [00:42:21]OFD Sender: No OFD packet to send [00:42:26]OFD Sender: No OFD packet to send [00:42:31]OFD Sender: No OFD packet to send [00:42:36]OFD Sender: No OFD packet to send [00:42:41]OFD Sender: No OFD packet to send [00:42:46]OFD Sender: No OFD packet to send [00:42:51]OFD Sender: No OFD packet to send [00:42:56]OFD Sender: No OFD packet to send [00:43:01]OFD Sender: No OFD packet to send [00:43:06]OFD Sender: No OFD packet to send [00:43:11]OFD Sender: No OFD packet to send [00:43:16]OFD Sender: No OFD packet to send [00:43:21]OFD Sender: No OFD packet to send [00:43:26]OFD Sender: No OFD packet to send [00:43:31]OFD Sender: No OFD packet to send [00:43:36]OFD Sender: No OFD packet to send [00:43:41]OFD Sender: No OFD packet to send [00:43:46]OFD Sender: No OFD packet to send [00:43:51]OFD Sender: No OFD packet to send [00:43:56]OFD Sender: No OFD packet to send [00:44:01]OFD Sender: No OFD packet to send [00:44:06]OFD Sender: No OFD packet to send [00:44:11]OFD Sender: No OFD packet to send [00:44:16]OFD Sender: No OFD packet to send [00:44:21]OFD Sender: No OFD packet to send [00:44:26]OFD Sender: No OFD packet to send [00:44:31]OFD Sender: No OFD packet to send [00:44:36]OFD Sender: No OFD packet to send [00:44:41]OFD Sender: No OFD packet to send [00:44:46]OFD Sender: No OFD packet to send [00:44:51]OFD Sender: No OFD packet to send [00:44:56]OFD Sender: No OFD packet to send [00:45:01]OFD Sender: No OFD packet to send [00:45:06]OFD Sender: No OFD packet to send [00:45:11]OFD Sender: No OFD packet to send [00:45:16]OFD Sender: No OFD packet to send [00:45:21]OFD Sender: No OFD packet to send [00:45:26]OFD Sender: No OFD packet to send [00:45:31]OFD Sender: No OFD packet to send [00:45:36]OFD Sender: No OFD packet to send [00:45:41]OFD Sender: No OFD packet to send [00:45:46]OFD Sender: No OFD packet to send [00:45:51]OFD Sender: No OFD packet to send [00:45:56]OFD Sender: No OFD packet to send [00:46:01]OFD Sender: No OFD packet to send [00:46:06]OFD Sender: No OFD packet to send [00:46:11]OFD Sender: No OFD packet to send [00:46:16]OFD Sender: No OFD packet to send [00:46:21]OFD Sender: No OFD packet to send [00:46:26]OFD Sender: No OFD packet to send [00:46:31]OFD Sender: No OFD packet to send [00:46:36]OFD Sender: No OFD packet to send [00:46:41]OFD Sender: No OFD packet to send [00:46:46]OFD Sender: No OFD packet to send [00:46:51]OFD Sender: No OFD packet to send [00:46:56]OFD Sender: No OFD packet to send [00:47:01]OFD Sender: No OFD packet to send [00:47:06]OFD Sender: No OFD packet to send [00:47:11]OFD Sender: No OFD packet to send [00:47:16]OFD Sender: No OFD packet to send [00:47:21]OFD Sender: No OFD packet to send [00:47:26]OFD Sender: No OFD packet to send [00:47:31]OFD Sender: No OFD packet to send [00:47:36]OFD Sender: No OFD packet to send [00:47:41]OFD Sender: No OFD packet to send [00:47:46]OFD Sender: No OFD packet to send [00:47:51]OFD Sender: No OFD packet to send [00:47:56]OFD Sender: No OFD packet to send [00:48:01]OFD Sender: No OFD packet to send [00:48:06]OFD Sender: No OFD packet to send [00:48:11]OFD Sender: No OFD packet to send [00:48:16]OFD Sender: No OFD packet to send [00:48:21]OFD Sender: No OFD packet to send [00:48:26]OFD Sender: No OFD packet to send [00:48:31]OFD Sender: No OFD packet to send [00:48:36]OFD Sender: No OFD packet to send [00:48:41]OFD Sender: No OFD packet to send [00:48:46]OFD Sender: No OFD packet to send [00:48:51]OFD Sender: No OFD packet to send [00:48:56]OFD Sender: No OFD packet to send [00:49:01]OFD Sender: No OFD packet to send [00:49:06]OFD Sender: No OFD packet to send [00:49:11]OFD Sender: No OFD packet to send [00:49:16]OFD Sender: No OFD packet to send [00:49:21]OFD Sender: No OFD packet to send [00:49:26]OFD Sender: No OFD packet to send [00:49:31]OFD Sender: No OFD packet to send [00:49:36]OFD Sender: No OFD packet to send [00:49:41]OFD Sender: No OFD packet to send [00:49:46]OFD Sender: No OFD packet to send [00:49:51]OFD Sender: No OFD packet to send [00:49:56]OFD Sender: No OFD packet to send [00:50:01]OFD Sender: No OFD packet to send [00:50:06]OFD Sender: No OFD packet to send [00:50:11]OFD Sender: No OFD packet to send [00:50:16]OFD Sender: No OFD packet to send [00:50:21]OFD Sender: No OFD packet to send [00:50:26]OFD Sender: No OFD packet to send [00:50:31]OFD Sender: No OFD packet to send [00:50:36]OFD Sender: No OFD packet to send [00:50:41]OFD Sender: No OFD packet to send [00:50:46]OFD Sender: No OFD packet to send [00:50:51]OFD Sender: No OFD packet to send [00:50:56]OFD Sender: No OFD packet to send [00:51:01]OFD Sender: No OFD packet to send [00:51:06]OFD Sender: No OFD packet to send [00:51:11]OFD Sender: No OFD packet to send [00:51:16]OFD Sender: No OFD packet to send [00:51:21]OFD Sender: No OFD packet to send [00:51:26]OFD Sender: No OFD packet to send [00:51:31]OFD Sender: No OFD packet to send [00:51:36]OFD Sender: No OFD packet to send [00:51:38]recv_with_timeout no data received [00:51:41]OFD Sender: No OFD packet to send [00:51:46]OFD Sender: No OFD packet to send [00:51:51]OFD Sender: No OFD packet to send [00:51:56]OFD Sender: No OFD packet to send [00:52:01]OFD Sender: No OFD packet to send [00:52:06]OFD Sender: No OFD packet to send [00:52:11]OFD Sender: No OFD packet to send [00:52:16]OFD Sender: No OFD packet to send [00:52:21]OFD Sender: No OFD packet to send [00:52:26]OFD Sender: No OFD packet to send [00:52:31]OFD Sender: No OFD packet to send [00:52:36]OFD Sender: No OFD packet to send [00:52:41]OFD Sender: No OFD packet to send [00:52:46]OFD Sender: No OFD packet to send [00:52:51]OFD Sender: No OFD packet to send [00:52:56]OFD Sender: No OFD packet to send [00:53:01]OFD Sender: No OFD packet to send [00:53:06]OFD Sender: No OFD packet to send [00:53:11]OFD Sender: No OFD packet to send [00:53:16]OFD Sender: No OFD packet to send [00:53:21]OFD Sender: No OFD packet to send [00:53:26]OFD Sender: No OFD packet to send [00:53:31]OFD Sender: No OFD packet to send [00:53:36]OFD Sender: No OFD packet to send [00:53:41]OFD Sender: No OFD packet to send [00:53:46]OFD Sender: No OFD packet to send [00:53:51]OFD Sender: No OFD packet to send [00:53:56]OFD Sender: No OFD packet to send [00:54:01]OFD Sender: No OFD packet to send [00:54:06]OFD Sender: No OFD packet to send [00:54:11]OFD Sender: No OFD packet to send [00:54:16]OFD Sender: No OFD packet to send [00:54:21]OFD Sender: No OFD packet to send [00:54:26]OFD Sender: No OFD packet to send [00:54:31]OFD Sender: No OFD packet to send [00:54:36]OFD Sender: No OFD packet to send [00:54:41]OFD Sender: No OFD packet to send [00:54:46]OFD Sender: No OFD packet to send [00:54:51]OFD Sender: No OFD packet to send [00:54:56]OFD Sender: No OFD packet to send [00:55:01]OFD Sender: No OFD packet to send [00:55:06]OFD Sender: No OFD packet to send [00:55:11]OFD Sender: No OFD packet to send [00:55:16]OFD Sender: No OFD packet to send [00:55:21]OFD Sender: No OFD packet to send [00:55:26]OFD Sender: No OFD packet to send [00:55:31]OFD Sender: No OFD packet to send [00:55:36]OFD Sender: No OFD packet to send [00:55:41]OFD Sender: No OFD packet to send [00:55:46]OFD Sender: No OFD packet to send [00:55:51]OFD Sender: No OFD packet to send [00:55:56]OFD Sender: No OFD packet to send [00:56:01]OFD Sender: No OFD packet to send [00:56:06]OFD Sender: No OFD packet to send [00:56:11]OFD Sender: No OFD packet to send [00:56:16]OFD Sender: No OFD packet to send [00:56:21]OFD Sender: No OFD packet to send [00:56:26]OFD Sender: No OFD packet to send [00:56:31]OFD Sender: No OFD packet to send [00:56:36]OFD Sender: No OFD packet to send [00:56:41]OFD Sender: No OFD packet to send [00:56:46]OFD Sender: No OFD packet to send [00:56:51]OFD Sender: No OFD packet to send [00:56:56]OFD Sender: No OFD packet to send [00:57:01]OFD Sender: No OFD packet to send [00:57:06]OFD Sender: No OFD packet to send [00:57:11]OFD Sender: No OFD packet to send [00:57:16]OFD Sender: No OFD packet to send [00:57:21]OFD Sender: No OFD packet to send [00:57:26]OFD Sender: No OFD packet to send [00:57:31]OFD Sender: No OFD packet to send [00:57:36]OFD Sender: No OFD packet to send [00:57:41]OFD Sender: No OFD packet to send [00:57:46]OFD Sender: No OFD packet to send [00:57:51]OFD Sender: No OFD packet to send [00:57:56]OFD Sender: No OFD packet to send [00:58:01]OFD Sender: No OFD packet to send [00:58:07]OFD Sender: No OFD packet to send [00:58:12]OFD Sender: No OFD packet to send [00:58:17]OFD Sender: No OFD packet to send [00:58:22]OFD Sender: No OFD packet to send [00:58:27]OFD Sender: No OFD packet to send [00:58:32]OFD Sender: No OFD packet to send [00:58:37]OFD Sender: No OFD packet to send [00:58:42]OFD Sender: No OFD packet to send [00:58:44]accept exits with 7 [00:58:44]New connection [00:58:44]New thread 3067440484 created [00:58:44]Thread 3067297124 joined [00:58:44]Waiting for new connection... [00:58:44] Sock 7.Parse request [00:58:44]Sock 7.Check first char [00:58:44]Sock 7.First char is OK [00:58:44]request: POST /json_proto HTTP/1.0 [00:58:44]Method: POST [00:58:44]URL: /json_proto [00:58:44]Method is POST - this is cgi request [00:58:44]url: /json_proto [00:58:44]query_string will be loaded in cgi processing [00:58:44]execute_cgi json_proto POST (null) [00:58:44]execute_cgi path=json_proto method=POST [00:58:44]POST find Content-Length [00:58:44]Host: 172.17.40.196:8080 [00:58:44]Content-Length: 667 [00:58:44]Content-Type: application/json [00:58:44] [00:58:44]POST finish read [00:58:44]Found Content-Length = 667 [00:58:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35137", "tax_sys" : 0, "items" : [ { "code": "4670003190037", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u0416-40 \u0437\u0435\u043B 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:58:44]execute_script... [00:58: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)35137", "tax_sys" : 0, "items" : [ { "code": "4670003190037", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u0416-40 \u0437\u0435\u043B 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:58:44]POST & json_proto [00:58:44]process_json_proto [00:58:44]json parsed OK: [00:58:44]protocol is kg_v1.0 [00:58:44]action value=close_receipt [00:58:44]process_action close_receipt [00:58:44]cmd_close_receipt [00:58:44]MH_GetDate [00:58:44]Write to MH i2c: F0 00 00 32 2F 50 [00:58:44]Write i2c OK [00:58:44]MH_I2C_Read... [00:58:44]Read from MH i2c: F0 [00:58:44]MH_I2C_Read... [00:58:44]Read from MH i2c: F0 09 00 [00:58:44]MH_I2C_Read... [00:58:44]Read from MH i2c: F0 09 00 32 2F 00 4E 33 20 67 5B 68 A1 66 2B [00:58:44]GetLastDocTimeStamp 1730160317 [00:58:44]current date 1730163534 [00:58:44]FM_GetShiftState [00:58:44]SAM_PROTO_GetShiftState [00:58:44]wFMCommunicate request_size=4 [00:58:44]MH_SAM_APDU [00:58:44]CAPDU: 80 13 01 00 [00:58:44]Write to MH i2c: E2 08 00 33 2F 80 13 01 00 00 00 00 00 DF [00:58:44]Write i2c OK [00:58:44]MH_I2C_Read... [00:58:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:58:44]Read from MH i2c: E2 [00:58:44]MH_I2C_Read... [00:58:44]Read from MH i2c: E2 0E 00 [00:58:44]MH_I2C_Read... [00:58:44]Read from MH i2c: E2 0E 00 33 2F 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 55 [00:58:44]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [00:58:44]wFMCommunicate OK [00:58:44]SAM_PROTO_GetShiftState done [00:58:44]FM_GetShiftState done [00:58:44]opened in 1730160317 [00:58:44]opened+sec_in_day 1730246717 [00:58:44]quantity*price = 22500 [00:58:44]sum+1 = 22501 [00:58:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.89 Наличными: 225.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 1 29.10.2024 00:58 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37839 ФПД: 272165990142541 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T005855&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37839&fm=272165990142541&tin=02508201610067®Number=0000000000091684&sum=22500 0 [00:58:45]StoreToDocumentArchive [00:58:45]shift 552 fd 37839 [00:58:45]save to /storage/0552/doc_00037839 [00:58:45]save last doc name /storage/0552/doc_00037839 to /storage/kkm_last_doc_name [00:58:45]save OK [00:58:45]Clear old archive folders... [00:58:45]ProcessDocumentItem done err = 0, tmpTLVsize=296 [00:58:45]tlvbuf is 0028A670 [00:58:45]SAM_PROTO_ClearQueue [00:58:45]wFMCommunicate request_size=4 [00:58:45]MH_SAM_APDU [00:58:45]CAPDU: 80 09 00 00 [00:58:45]Write to MH i2c: E2 08 00 40 2F 80 09 00 00 00 00 00 00 E1 [00:58:45]Write i2c OK [00:58:45]MH_I2C_Read... [00:58:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:58:45]Read from MH i2c: E2 [00:58:45]MH_I2C_Read... [00:58:45]Read from MH i2c: E2 03 00 [00:58:45]MH_I2C_Read... [00:58:45]Read from MH i2c: E2 03 00 40 2F 00 90 00 E3 [00:58:45]RAPDU: 90 00 [00:58:45]wFMCommunicate OK [00:58:45]SAM_PROTO_ClearQueue done [00:58:45]KKMCreateOFDPacket [00:58:45]OFDProtocolAddRootSTLVToBuf [00:58:45]FM_MakeSignedData [00:58:45]FM_MakeSignedData [00:58:45]SAM_PROTO_SignData [00:58:45]wFMCommunicate request_size=4 [00:58:45]MH_SAM_APDU [00:58:45]CAPDU: 80 0D 01 02 [00:58:45]Write to MH i2c: E2 08 00 41 2F 80 0D 01 02 00 00 00 00 E9 [00:58:45]Write i2c OK [00:58:45]MH_I2C_Read... [00:58:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:58:45]Read from MH i2c: E2 [00:58:45]MH_I2C_Read... [00:58:45]Read from MH i2c: E2 03 00 [00:58:45]MH_I2C_Read... [00:58:45]Read from MH i2c: E2 03 00 41 2F 00 90 00 E4 [00:58:45]RAPDU: 90 00 [00:58:45]wFMCommunicate OK [00:58:45]wFMCommunicate request_size=255 [00:58:45]MH_SAM_APDU [00:58:45]CAPDU: 80 0D 02 02 FA 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 33 37 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B7 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 4F 33 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [00:58:45]Write to MH i2c: E2 02 01 42 2F 80 0D 02 02 FA 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 33 37 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B7 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 4F 33 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 A5 [00:58:45]Write i2c OK [00:58:45]MH_I2C_Read... [00:58:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:58:46]Read from MH i2c: E2 [00:58:46]MH_I2C_Read... [00:58:46]Read from MH i2c: E2 03 00 [00:58:46]MH_I2C_Read... [00:58:46]Read from MH i2c: E2 03 00 42 2F 00 90 00 E5 [00:58:46]RAPDU: 90 00 [00:58:46]wFMCommunicate OK [00:58:46]wFMCommunicate request_size=55 [00:58:46]MH_SAM_APDU [00:58:46]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 CF 93 00 00 35 04 06 00 F7 88 95 29 92 4D [00:58:46]Write to MH i2c: E2 3A 00 43 2F 80 0D 02 02 32 00 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 CF 93 00 00 35 04 06 00 F7 88 95 29 92 4D 00 00 C3 [00:58:46]Write i2c OK [00:58:46]MH_I2C_Read... [00:58:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:58:46]Read from MH i2c: E2 [00:58:46]MH_I2C_Read... [00:58:46]Read from MH i2c: E2 03 00 [00:58:46]MH_I2C_Read... [00:58:46]Read from MH i2c: E2 03 00 43 2F 00 90 00 E6 [00:58:46]RAPDU: 90 00 [00:58:46]wFMCommunicate OK [00:58:46]wFMCommunicate request_size=4 [00:58:46]MH_SAM_APDU [00:58:46]CAPDU: 80 0D 03 02 [00:58:46]Write to MH i2c: E2 08 00 44 2F 80 0D 03 02 00 00 00 00 EE [00:58:46]Write i2c OK [00:58:46]MH_I2C_Read... [00:58:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:58:46]Read from MH i2c: E2 [00:58:46]MH_I2C_Read... [00:58:46]Read from MH i2c: E2 0B 00 [00:58:46]MH_I2C_Read... [00:58:46]Read from MH i2c: E2 0B 00 44 2F 00 02 AB 1D CB 9F E4 35 40 90 00 7C [00:58:46]RAPDU: 02 AB 1D CB 9F E4 35 40 90 00 [00:58:46]wFMCommunicate OK [00:58:46]SAM_PROTO_SignData done [00:58:46]FM_MakeSignedData done [00:58:46]CreateOFDProtocolMessage [00:58:46]wFMCommunicate request_size=4 [00:58:46]MH_SAM_APDU [00:58:46]CAPDU: 80 11 00 00 [00:58:46]Write to MH i2c: E2 08 00 45 2F 80 11 00 00 00 00 00 00 EE [00:58:46]Write i2c OK [00:58:46]MH_I2C_Read... [00:58:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:58:46]Read from MH i2c: E2 [00:58:46]MH_I2C_Read... [00:58:46]Read from MH i2c: E2 17 00 [00:58:46]MH_I2C_Read... [00:58:46]Read from MH i2c: E2 17 00 45 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 3E [00:58:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:58:46]wFMCommunicate OK [00:58:46]CreateOFDProtocolMessage done [00:58:46]OFDSenderStorePacket 37839 [00:58:46]StoreOFDPacket docnum=37839 [00:58:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3C 01 00 00 E8 8B 34 01 1D 4F 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 33 37 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B7 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 4F 33 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 CF 93 00 00 35 04 06 00 F7 88 95 29 92 4D 02 AB 1D CB 9F E4 35 40 [00:58:46]CheckFolder [00:58:46]dirname=/storage/ofd_packets [00:58:46]CheckFolder done [00:58:46]ProducePacketName [00:58:46]name=ofd_packets/00037839 [00:58:46]NVStorageSaveData ofd_packets/00037839 [00:58:46]File name is /storage/ofd_packets/00037839 [00:58:46]Write 346 bytes [00:58:46]NVStorageSaveData done [00:58:46]OFDSenderStorePacket done [00:58:46]KKMCreateOFDPacket done [00:58:46]NVStorageSaveData kkm_last_timestamp [00:58:46]File name is /storage/kkm_last_timestamp [00:58:46]Write 4 bytes [00:58:46]NVStorageSaveData done [00:58:46]ExternCall_PrintAddStr [00:58:46]wPrintStart [00:58:46]Write to MH i2c: 01 00 00 46 2F 75 [00:58:46]Write i2c OK [00:58:46]MH_I2C_Read... [00:58:46]Read from MH i2c: 01 [00:58:46]MH_I2C_Read... [00:58:46]Read from MH i2c: 01 07 00 [00:58:46]MH_I2C_Read... [00:58:46]Read from MH i2c: 01 07 00 46 2F 00 00 00 00 00 FF 0F 8A [00:58:46]RasterBufferAndPrint [00:58:46]line Счет N : (3)35137 [00:58:46]line ИНН: 02508201610067 [00:58:46]line Контрольно-Кассовый Чек [00:58:46]line ПРОДАЖА [00:58:46]line Товар: 4670003190037 [00:58:46]line Антифриз SIBIRIA ANTIFREEZE ОЖ-40 зел 1л [00:58:46]line 1.000 * 225.00 [00:58:46]line = 225.00 [00:58:46]line НДС 12% НСП 1% [00:58:46]line > о реализуемом товаре [00:58:46]line ИТОГО: 225.00 [00:58:46]line НСП 1% : 1.99 [00:58:46]line НДС 12% : 23.89 [00:58:46]line Наличными: 225.00 [00:58:46]line Безнал.: 0.00 [00:58:46]line Место: АЗС № 126 "Партнер Нефть" [00:58:46]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [00:58:46]line СНО: Общий режим [00:58:46]line Чек 1 29.10.2024 00:58 [00:58:46]line Смена: 552 ФФД: 1.0 [00:58:46]line ЗНМ: 0300000092 [00:58:46]line РНМ: 0000000000091684 [00:58:46]line Версия ККМ: 001 [00:58:46]line ФМ: 0000000000871841 [00:58:46]line ФД: 37839 [00:58:46]line ФПД: 272165990142541 [00:58:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T005855&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37839&fm=272165990142541&tin=02508201610067®Number=0000000000091684&sum=22500 [00:58:46]line 0 [00:58:46]OFD Sender: Processing packet 37839 [packets to send 42, broken 41] [00:58:46]ProducePacketName [00:58:46]name=ofd_packets/00037839 [00:58:46]OFD Sender: To server: pG, [00:58:46]CommunicateWithHost lk.salyk.kg:30040 [00:58:46]ConnectInit lk.salyk.kg [00:58:46]written 0, free lines is 4095 [00:58:47]Write to MH i2c: 01 00 00 6F 2F 9E [00:58:47]Write i2c OK [00:58:47]MH_I2C_Read... [00:58:47]Read from MH i2c: 01 [00:58:47]MH_I2C_Read... [00:58:47]Read from MH i2c: 01 07 00 [00:58:47]MH_I2C_Read... [00:58:47]Read from MH i2c: 01 07 00 6F 2F 00 00 00 00 00 BE 0C 6F [00:58:47]RasterBufferAndPrint [00:58:47]line [00:58:47]line [00:58:47]line [00:58:47]line [00:58:47]line [00:58:47]written 0, free lines is 3267 [00:58:47]MH_Cut [00:58:47]Write to MH i2c: D1 01 00 76 2F 01 77 [00:58:47]Write i2c OK [00:58:47]MH_I2C_Read... [00:58:47]Read from MH i2c: D1 [00:58:47]MH_I2C_Read... [00:58:47]Read from MH i2c: D1 01 00 [00:58:47]MH_I2C_Read... [00:58:47]Read from MH i2c: D1 01 00 76 2F 00 76 [00:58:47]Write to MH i2c: 01 00 00 77 2F A6 [00:58:47]Write i2c OK [00:58:47]MH_I2C_Read... [00:58:47]Connected sock=11 [00:58:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3C 01 00 00 E8 8B 34 01 1D 4F 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 33 37 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B7 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 4F 33 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 CF 93 00 00 35 04 06 00 F7 88 95 29 92 4D 02 AB 1D CB 9F E4 35 40 [00:58:47]*** Cut start [00:58:47]*** Partial cut [00:58:47]*** CUTSNS_PIN = 1 [00:58:47]*** CUTSNS_PIN = 0 [00:58:48]*** Brake cut motor [00:58:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 97 23 47 00 09 AD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 CF 93 00 00 F4 03 04 00 43 DE 1F 67 B6 04 01 00 00 63 F6 36 F2 22 3B 5C C9 [00:58:48]CommunicateWithHost err = 0 [00:58:48]CheckOFDResponse [00:58:48]1017 (14) - 77093643461234 [00:58:48]1041 (16) - 0000000000871841 [00:58:48]1040 (4) - 37839 [00:58:48]1012 (4) - 28.10.2024 18:56 [00:58:48]1206 (1) - 0 [00:58:48]OFD Sender: Remove packet 37839 [00:58:48]ProducePacketName [00:58:48]name=ofd_packets/00037839 [00:58:48]NVStorageDeleteData [00:58:48]Read from MH i2c: 01 [00:58:48]MH_I2C_Read... [00:58:48]*** Stop cut motor [00:58:48]*** Cut end [00:58:48]Read from MH i2c: 01 07 00 [00:58:48]MH_I2C_Read... [00:58:48]Read from MH i2c: 01 07 00 77 2F 00 00 00 00 00 FF 0F BB [00:58:48]process_action close_receipt done [00:58:48]requested_data is exist [00:58:48]produce_requested_data [00:58:48]requested_item fm.sn is exist - process it [00:58:48]wFMCommunicate request_size=4 [00:58:48]MH_SAM_APDU [00:58:48]CAPDU: 80 11 00 00 [00:58:48]Write to MH i2c: E2 08 00 78 2F 80 11 00 00 00 00 00 00 21 [00:58:48]Write i2c OK [00:58:48]MH_I2C_Read... [00:58:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:58:48]Read from MH i2c: E2 [00:58:48]MH_I2C_Read... [00:58:48]Read from MH i2c: E2 17 00 [00:58:48]MH_I2C_Read... [00:58:48]Read from MH i2c: E2 17 00 78 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 71 [00:58:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:58:48]wFMCommunicate OK [00:58:48]requested_item fd.num is exist - process it [00:58:48]SAM_PROTO_GetFieldsCounters [00:58:48]wFMCommunicate request_size=4 [00:58:48]MH_SAM_APDU [00:58:48]CAPDU: 80 13 00 00 [00:58:48]Write to MH i2c: E2 08 00 79 2F 80 13 00 00 00 00 00 00 24 [00:58:48]Write i2c OK [00:58:48]MH_I2C_Read... [00:58:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:58:48]Read from MH i2c: E2 [00:58:48]MH_I2C_Read... [00:58:48]Read from MH i2c: E2 62 00 [00:58:48]MH_I2C_Read... [00:58:48]Read from MH i2c: E2 62 00 79 2F 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CF 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 D4 [00:58: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 CF 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:58:48]wFMCommunicate OK [00:58:48]SAM_PROTO_GetFieldsCounters done [00:58:48]requested_item shift.num is exist - process it [00:58:48]requested_item shift.opened is exist - process it [00:58:48]req_shift_opened [00:58:48]FM_GetShiftState [00:58:48]SAM_PROTO_GetShiftState [00:58:48]wFMCommunicate request_size=4 [00:58:48]MH_SAM_APDU [00:58:48]CAPDU: 80 13 01 00 [00:58:48]Write to MH i2c: E2 08 00 7A 2F 80 13 01 00 00 00 00 00 26 [00:58:48]Write i2c OK [00:58:48]MH_I2C_Read... [00:58:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:58:48]Read from MH i2c: E2 [00:58:48]MH_I2C_Read... [00:58:48]Read from MH i2c: E2 0E 00 [00:58:48]MH_I2C_Read... [00:58:48]Read from MH i2c: E2 0E 00 7A 2F 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 9C [00:58:48]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [00:58:48]wFMCommunicate OK [00:58:48]SAM_PROTO_GetShiftState done [00:58:48]FM_GetShiftState done [00:58:48]req_shift_opened done [00:58:48]requested_item shift.open_date is exist - process it [00:58:48]req_shift_open_date [00:58:48]req_shift_open_date done [00:58:48]produce_requested_data done [00:58:48]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37839,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [00:58:48]process_action_free close_receipt [00:58:48]json_value_free [00:58:48]json_value_free done [00:58:48]process_json_proto returns [00:58:48]Send response to host [00:58:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37839,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [00:58:48]free response buf [00:58:48]execute_script done [00:58:48]execute_script returns [00:58:48]free content buf [00:58:48]Sock 7.Close socket [00:58:48]Sock 7.Thread stoped [00:58:49]OFD Sender: No OFD packet to send [00:58:54]OFD Sender: No OFD packet to send [00:58:59]OFD Sender: No OFD packet to send [00:59:04]OFD Sender: No OFD packet to send [00:59:09]OFD Sender: No OFD packet to send [00:59:14]OFD Sender: No OFD packet to send [00:59:19]OFD Sender: No OFD packet to send [00:59:24]OFD Sender: No OFD packet to send [00:59:29]OFD Sender: No OFD packet to send [00:59:34]OFD Sender: No OFD packet to send [00:59:39]OFD Sender: No OFD packet to send [00:59:44]OFD Sender: No OFD packet to send [00:59:49]OFD Sender: No OFD packet to send [00:59:54]OFD Sender: No OFD packet to send [00:59:59]OFD Sender: No OFD packet to send [01:00:04]OFD Sender: No OFD packet to send [01:00:09]OFD Sender: No OFD packet to send [01:00:14]OFD Sender: No OFD packet to send [01:00:19]OFD Sender: No OFD packet to send [01:00:24]OFD Sender: No OFD packet to send [01:00:29]OFD Sender: No OFD packet to send [01:00:34]OFD Sender: No OFD packet to send [01:00:39]OFD Sender: No OFD packet to send [01:00:44]OFD Sender: No OFD packet to send [01:00:49]OFD Sender: No OFD packet to send [01:00:54]OFD Sender: No OFD packet to send [01:00:59]OFD Sender: No OFD packet to send [01:01:04]OFD Sender: No OFD packet to send [01:01:09]OFD Sender: No OFD packet to send [01:01:14]OFD Sender: No OFD packet to send [01:01:19]OFD Sender: No OFD packet to send [01:01:24]OFD Sender: No OFD packet to send [01:01:29]OFD Sender: No OFD packet to send [01:01:34]OFD Sender: No OFD packet to send [01:01:39]OFD Sender: No OFD packet to send [01:01:44]OFD Sender: No OFD packet to send [01:01:49]OFD Sender: No OFD packet to send [01:01:54]OFD Sender: No OFD packet to send [01:01:59]OFD Sender: No OFD packet to send [01:02:04]OFD Sender: No OFD packet to send [01:02:09]OFD Sender: No OFD packet to send [01:02:14]OFD Sender: No OFD packet to send [01:02:19]OFD Sender: No OFD packet to send [01:02:24]OFD Sender: No OFD packet to send [01:02:29]OFD Sender: No OFD packet to send [01:02:34]OFD Sender: No OFD packet to send [01:02:39]OFD Sender: No OFD packet to send [01:02:44]OFD Sender: No OFD packet to send [01:02:49]OFD Sender: No OFD packet to send [01:02:54]OFD Sender: No OFD packet to send [01:02:59]OFD Sender: No OFD packet to send [01:03:04]OFD Sender: No OFD packet to send [01:03:09]OFD Sender: No OFD packet to send [01:03:14]OFD Sender: No OFD packet to send [01:03:19]OFD Sender: No OFD packet to send [01:03:24]OFD Sender: No OFD packet to send [01:03:29]OFD Sender: No OFD packet to send [01:03:34]OFD Sender: No OFD packet to send [01:03:39]OFD Sender: No OFD packet to send [01:03:44]OFD Sender: No OFD packet to send [01:03:49]OFD Sender: No OFD packet to send [01:03:54]OFD Sender: No OFD packet to send [01:03:59]OFD Sender: No OFD packet to send [01:04:04]OFD Sender: No OFD packet to send [01:04:09]OFD Sender: No OFD packet to send [01:04:14]OFD Sender: No OFD packet to send [01:04:19]OFD Sender: No OFD packet to send [01:04:24]OFD Sender: No OFD packet to send [01:04:29]OFD Sender: No OFD packet to send [01:04:34]OFD Sender: No OFD packet to send [01:04:39]OFD Sender: No OFD packet to send [01:04:44]OFD Sender: No OFD packet to send [01:04:49]OFD Sender: No OFD packet to send [01:04:54]OFD Sender: No OFD packet to send [01:04:59]OFD Sender: No OFD packet to send [01:05:04]OFD Sender: No OFD packet to send [01:05:09]OFD Sender: No OFD packet to send [01:05:14]OFD Sender: No OFD packet to send [01:05:19]OFD Sender: No OFD packet to send [01:05:24]OFD Sender: No OFD packet to send [01:05:29]OFD Sender: No OFD packet to send [01:05:34]OFD Sender: No OFD packet to send [01:05:39]OFD Sender: No OFD packet to send [01:05:44]OFD Sender: No OFD packet to send [01:05:49]OFD Sender: No OFD packet to send [01:05:54]OFD Sender: No OFD packet to send [01:05:59]OFD Sender: No OFD packet to send [01:06:04]OFD Sender: No OFD packet to send [01:06:09]OFD Sender: No OFD packet to send [01:06:14]OFD Sender: No OFD packet to send [01:06:19]OFD Sender: No OFD packet to send [01:06:24]OFD Sender: No OFD packet to send [01:06:29]OFD Sender: No OFD packet to send [01:06:34]OFD Sender: No OFD packet to send [01:06:39]OFD Sender: No OFD packet to send [01:06:44]OFD Sender: No OFD packet to send [01:06:49]OFD Sender: No OFD packet to send [01:06:54]OFD Sender: No OFD packet to send [01:06:59]OFD Sender: No OFD packet to send [01:07:04]OFD Sender: No OFD packet to send [01:07:09]OFD Sender: No OFD packet to send [01:07:14]OFD Sender: No OFD packet to send [01:07:19]OFD Sender: No OFD packet to send [01:07:24]OFD Sender: No OFD packet to send [01:07:29]OFD Sender: No OFD packet to send [01:07:34]OFD Sender: No OFD packet to send [01:07:39]OFD Sender: No OFD packet to send [01:07:44]OFD Sender: No OFD packet to send [01:07:49]OFD Sender: No OFD packet to send [01:07:54]OFD Sender: No OFD packet to send [01:07:59]OFD Sender: No OFD packet to send [01:08:04]OFD Sender: No OFD packet to send [01:08:09]OFD Sender: No OFD packet to send [01:08:14]OFD Sender: No OFD packet to send [01:08:19]OFD Sender: No OFD packet to send [01:08:24]OFD Sender: No OFD packet to send [01:08:29]OFD Sender: No OFD packet to send [01:08:34]OFD Sender: No OFD packet to send [01:08:39]OFD Sender: No OFD packet to send [01:08:44]OFD Sender: No OFD packet to send [01:08:49]OFD Sender: No OFD packet to send [01:08:54]OFD Sender: No OFD packet to send [01:08:59]OFD Sender: No OFD packet to send [01:09:04]OFD Sender: No OFD packet to send [01:09:09]OFD Sender: No OFD packet to send [01:09:14]OFD Sender: No OFD packet to send [01:09:19]OFD Sender: No OFD packet to send [01:09:24]OFD Sender: No OFD packet to send [01:09:29]OFD Sender: No OFD packet to send [01:09:34]OFD Sender: No OFD packet to send [01:09:39]OFD Sender: No OFD packet to send [01:09:44]OFD Sender: No OFD packet to send [01:09:49]OFD Sender: No OFD packet to send [01:09:54]OFD Sender: No OFD packet to send [01:09:59]OFD Sender: No OFD packet to send [01:10:04]OFD Sender: No OFD packet to send [01:10:09]OFD Sender: No OFD packet to send [01:10:14]OFD Sender: No OFD packet to send [01:10:19]OFD Sender: No OFD packet to send [01:10:24]OFD Sender: No OFD packet to send [01:10:29]OFD Sender: No OFD packet to send [01:10:34]OFD Sender: No OFD packet to send [01:10:39]OFD Sender: No OFD packet to send [01:10:44]OFD Sender: No OFD packet to send [01:10:49]OFD Sender: No OFD packet to send [01:10:54]OFD Sender: No OFD packet to send [01:10:59]OFD Sender: No OFD packet to send [01:11:04]OFD Sender: No OFD packet to send [01:11:09]OFD Sender: No OFD packet to send [01:11:14]OFD Sender: No OFD packet to send [01:11:19]OFD Sender: No OFD packet to send [01:11:24]OFD Sender: No OFD packet to send [01:11:29]OFD Sender: No OFD packet to send [01:11:34]OFD Sender: No OFD packet to send [01:11:39]OFD Sender: No OFD packet to send [01:11:44]OFD Sender: No OFD packet to send [01:11:49]OFD Sender: No OFD packet to send [01:11:54]OFD Sender: No OFD packet to send [01:11:59]OFD Sender: No OFD packet to send [01:12:04]OFD Sender: No OFD packet to send [01:12:09]OFD Sender: No OFD packet to send [01:12:14]OFD Sender: No OFD packet to send [01:12:19]OFD Sender: No OFD packet to send [01:12:24]OFD Sender: No OFD packet to send [01:12:29]OFD Sender: No OFD packet to send [01:12:34]OFD Sender: No OFD packet to send [01:12:39]OFD Sender: No OFD packet to send [01:12:44]OFD Sender: No OFD packet to send [01:12:49]OFD Sender: No OFD packet to send [01:12:54]OFD Sender: No OFD packet to send [01:12:59]OFD Sender: No OFD packet to send [01:13:04]OFD Sender: No OFD packet to send [01:13:09]OFD Sender: No OFD packet to send [01:13:14]OFD Sender: No OFD packet to send [01:13:19]OFD Sender: No OFD packet to send [01:13:24]OFD Sender: No OFD packet to send [01:13:29]OFD Sender: No OFD packet to send [01:13:34]OFD Sender: No OFD packet to send [01:13:39]OFD Sender: No OFD packet to send [01:13:44]OFD Sender: No OFD packet to send [01:13:49]OFD Sender: No OFD packet to send [01:13:54]OFD Sender: No OFD packet to send [01:13:59]OFD Sender: No OFD packet to send [01:14:04]OFD Sender: No OFD packet to send [01:14:09]OFD Sender: No OFD packet to send [01:14:14]OFD Sender: No OFD packet to send [01:14:19]OFD Sender: No OFD packet to send [01:14:24]OFD Sender: No OFD packet to send [01:14:29]OFD Sender: No OFD packet to send [01:14:34]OFD Sender: No OFD packet to send [01:14:39]OFD Sender: No OFD packet to send [01:14:44]OFD Sender: No OFD packet to send [01:14:49]OFD Sender: No OFD packet to send [01:14:54]OFD Sender: No OFD packet to send [01:14:59]OFD Sender: No OFD packet to send [01:15:04]OFD Sender: No OFD packet to send [01:15:09]OFD Sender: No OFD packet to send [01:15:14]OFD Sender: No OFD packet to send [01:15:19]OFD Sender: No OFD packet to send [01:15:24]OFD Sender: No OFD packet to send [01:15:29]OFD Sender: No OFD packet to send [01:15:34]OFD Sender: No OFD packet to send [01:15:39]OFD Sender: No OFD packet to send [01:15:44]OFD Sender: No OFD packet to send [01:15:49]OFD Sender: No OFD packet to send [01:15:54]OFD Sender: No OFD packet to send [01:15:59]OFD Sender: No OFD packet to send [01:16:04]OFD Sender: No OFD packet to send [01:16:09]OFD Sender: No OFD packet to send [01:16:14]OFD Sender: No OFD packet to send [01:16:19]OFD Sender: No OFD packet to send [01:16:24]OFD Sender: No OFD packet to send [01:16:29]OFD Sender: No OFD packet to send [01:16:34]OFD Sender: No OFD packet to send [01:16:39]OFD Sender: No OFD packet to send [01:16:44]OFD Sender: No OFD packet to send [01:16:49]OFD Sender: No OFD packet to send [01:16:54]OFD Sender: No OFD packet to send [01:17:00]OFD Sender: No OFD packet to send [01:17:05]OFD Sender: No OFD packet to send [01:17:10]OFD Sender: No OFD packet to send [01:17:15]OFD Sender: No OFD packet to send [01:17:20]OFD Sender: No OFD packet to send [01:17:25]OFD Sender: No OFD packet to send [01:17:30]OFD Sender: No OFD packet to send [01:17:35]OFD Sender: No OFD packet to send [01:17:40]OFD Sender: No OFD packet to send [01:17:45]OFD Sender: No OFD packet to send [01:17:50]OFD Sender: No OFD packet to send [01:17:55]OFD Sender: No OFD packet to send [01:18:00]OFD Sender: No OFD packet to send [01:18:05]OFD Sender: No OFD packet to send [01:18:10]OFD Sender: No OFD packet to send [01:18:15]OFD Sender: No OFD packet to send [01:18:20]OFD Sender: No OFD packet to send [01:18:25]OFD Sender: No OFD packet to send [01:18:30]OFD Sender: No OFD packet to send [01:18:35]OFD Sender: No OFD packet to send [01:18:40]OFD Sender: No OFD packet to send [01:18:45]OFD Sender: No OFD packet to send [01:18:50]OFD Sender: No OFD packet to send [01:18:55]OFD Sender: No OFD packet to send [01:19:00]OFD Sender: No OFD packet to send [01:19:05]OFD Sender: No OFD packet to send [01:19:10]OFD Sender: No OFD packet to send [01:19:15]OFD Sender: No OFD packet to send [01:19:20]OFD Sender: No OFD packet to send [01:19:25]OFD Sender: No OFD packet to send [01:19:30]OFD Sender: No OFD packet to send [01:19:35]OFD Sender: No OFD packet to send [01:19:40]OFD Sender: No OFD packet to send [01:19:45]OFD Sender: No OFD packet to send [01:19:50]OFD Sender: No OFD packet to send [01:19:55]OFD Sender: No OFD packet to send [01:20:00]OFD Sender: No OFD packet to send [01:20:05]OFD Sender: No OFD packet to send [01:20:10]OFD Sender: No OFD packet to send [01:20:15]OFD Sender: No OFD packet to send [01:20:20]OFD Sender: No OFD packet to send [01:20:25]OFD Sender: No OFD packet to send [01:20:30]OFD Sender: No OFD packet to send [01:20:35]OFD Sender: No OFD packet to send [01:20:40]OFD Sender: No OFD packet to send [01:20:45]OFD Sender: No OFD packet to send [01:20:50]OFD Sender: No OFD packet to send [01:20:55]OFD Sender: No OFD packet to send [01:21:00]OFD Sender: No OFD packet to send [01:21:05]OFD Sender: No OFD packet to send [01:21:10]OFD Sender: No OFD packet to send [01:21:15]OFD Sender: No OFD packet to send [01:21:20]OFD Sender: No OFD packet to send [01:21:25]OFD Sender: No OFD packet to send [01:21:30]OFD Sender: No OFD packet to send [01:21:35]OFD Sender: No OFD packet to send [01:21:40]OFD Sender: No OFD packet to send [01:21:45]OFD Sender: No OFD packet to send [01:21:50]OFD Sender: No OFD packet to send [01:21:55]OFD Sender: No OFD packet to send [01:22:00]OFD Sender: No OFD packet to send [01:22:05]OFD Sender: No OFD packet to send [01:22:10]OFD Sender: No OFD packet to send [01:22:15]OFD Sender: No OFD packet to send [01:22:20]OFD Sender: No OFD packet to send [01:22:25]OFD Sender: No OFD packet to send [01:22:30]OFD Sender: No OFD packet to send [01:22:35]OFD Sender: No OFD packet to send [01:22:40]OFD Sender: No OFD packet to send [01:22:45]OFD Sender: No OFD packet to send [01:22:50]OFD Sender: No OFD packet to send [01:22:55]OFD Sender: No OFD packet to send [01:23:00]OFD Sender: No OFD packet to send [01:23:05]OFD Sender: No OFD packet to send [01:23:10]OFD Sender: No OFD packet to send [01:23:15]OFD Sender: No OFD packet to send [01:23:20]OFD Sender: No OFD packet to send [01:23:25]OFD Sender: No OFD packet to send [01:23:30]OFD Sender: No OFD packet to send [01:23:35]OFD Sender: No OFD packet to send [01:23:40]OFD Sender: No OFD packet to send [01:23:45]OFD Sender: No OFD packet to send [01:23:50]OFD Sender: No OFD packet to send [01:23:55]OFD Sender: No OFD packet to send [01:24:00]OFD Sender: No OFD packet to send [01:24:05]OFD Sender: No OFD packet to send [01:24:10]OFD Sender: No OFD packet to send [01:24:15]OFD Sender: No OFD packet to send [01:24:20]OFD Sender: No OFD packet to send [01:24:25]OFD Sender: No OFD packet to send [01:24:30]OFD Sender: No OFD packet to send [01:24:35]OFD Sender: No OFD packet to send [01:24:40]OFD Sender: No OFD packet to send [01:24:45]OFD Sender: No OFD packet to send [01:24:50]OFD Sender: No OFD packet to send [01:24:55]OFD Sender: No OFD packet to send [01:25:00]OFD Sender: No OFD packet to send [01:25:05]OFD Sender: No OFD packet to send [01:25:10]OFD Sender: No OFD packet to send [01:25:15]OFD Sender: No OFD packet to send [01:25:20]OFD Sender: No OFD packet to send [01:25:25]OFD Sender: No OFD packet to send [01:25:30]OFD Sender: No OFD packet to send [01:25:35]OFD Sender: No OFD packet to send [01:25:40]OFD Sender: No OFD packet to send [01:25:41]accept exits with 9 [01:25:41]New connection [01:25:41]New thread 3067297124 created [01:25:41]Thread 3067440484 joined [01:25:41]Waiting for new connection... [01:25:41] Sock 9.Parse request [01:25:41]Sock 9.Check first char [01:25:41]Sock 9.First char is OK [01:25:41]request: POST /json_proto HTTP/1.0 [01:25:41]Method: POST [01:25:41]URL: /json_proto [01:25:41]Method is POST - this is cgi request [01:25:41]url: /json_proto [01:25:41]query_string will be loaded in cgi processing [01:25:41]execute_cgi json_proto POST (null) [01:25:41]execute_cgi path=json_proto method=POST [01:25:41]POST find Content-Length [01:25:41]Host: 172.17.40.196:8080 [01:25:41]Content-Length: 669 [01:25:41]Content-Type: application/json [01:25:41] [01:25:41]POST finish read [01:25:41]Found Content-Length = 669 [01:25:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35138", "tax_sys" : 0, "items" : [ { "code": "4700000480357", "name": "\u041F\u0438\u0432\u043E \u0448\u0430\u0445\u0442\u0435\u0440\u0441\u043A\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:25:41]execute_script... [01:25:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35138", "tax_sys" : 0, "items" : [ { "code": "4700000480357", "name": "\u041F\u0438\u0432\u043E \u0448\u0430\u0445\u0442\u0435\u0440\u0441\u043A\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:25:41]POST & json_proto [01:25:41]process_json_proto [01:25:41]json parsed OK: [01:25:41]protocol is kg_v1.0 [01:25:41]action value=close_receipt [01:25:41]process_action close_receipt [01:25:41]cmd_close_receipt [01:25:41]MH_GetDate [01:25:41]Write to MH i2c: F0 00 00 7B 2F 99 [01:25:41]Write i2c OK [01:25:41]MH_I2C_Read... [01:25:41]Read from MH i2c: F0 [01:25:41]MH_I2C_Read... [01:25:41]Read from MH i2c: F0 09 00 [01:25:41]MH_I2C_Read... [01:25:41]Read from MH i2c: F0 09 00 7B 2F 00 A0 39 20 67 5B 68 A1 66 CC [01:25:41]GetLastDocTimeStamp 1730163535 [01:25:41]current date 1730165152 [01:25:41]FM_GetShiftState [01:25:41]SAM_PROTO_GetShiftState [01:25:41]wFMCommunicate request_size=4 [01:25:41]MH_SAM_APDU [01:25:41]CAPDU: 80 13 01 00 [01:25:41]Write to MH i2c: E2 08 00 7C 2F 80 13 01 00 00 00 00 00 28 [01:25:41]Write i2c OK [01:25:41]MH_I2C_Read... [01:25:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:25:41]Read from MH i2c: E2 [01:25:41]MH_I2C_Read... [01:25:41]Read from MH i2c: E2 0E 00 [01:25:41]MH_I2C_Read... [01:25:41]Read from MH i2c: E2 0E 00 7C 2F 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 9E [01:25:41]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [01:25:41]wFMCommunicate OK [01:25:41]SAM_PROTO_GetShiftState done [01:25:41]FM_GetShiftState done [01:25:41]opened in 1730160317 [01:25:41]opened+sec_in_day 1730246717 [01:25:41]quantity*price = 17000 [01:25:41]sum+1 = 17001 [01:25:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 2 29.10.2024 01:25 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37840 ФПД: 185236385632355 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T012552&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37840&fm=185236385632355&tin=02508201610067®Number=0000000000091684&sum=17000 0 [01:25:42]StoreToDocumentArchive [01:25:42]shift 552 fd 37840 [01:25:42]save to /storage/0552/doc_00037840 [01:25:42]save last doc name /storage/0552/doc_00037840 to /storage/kkm_last_doc_name [01:25:42]save OK [01:25:42]Clear old archive folders... [01:25:42]ProcessDocumentItem done err = 0, tmpTLVsize=282 [01:25:42]tlvbuf is 0028A2B0 [01:25:42]SAM_PROTO_ClearQueue [01:25:42]wFMCommunicate request_size=4 [01:25:42]MH_SAM_APDU [01:25:42]CAPDU: 80 09 00 00 [01:25:42]Write to MH i2c: E2 08 00 89 2F 80 09 00 00 00 00 00 00 2A [01:25:42]Write i2c OK [01:25:42]MH_I2C_Read... [01:25:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:25:42]Read from MH i2c: E2 [01:25:42]MH_I2C_Read... [01:25:42]Read from MH i2c: E2 03 00 [01:25:42]MH_I2C_Read... [01:25:42]Read from MH i2c: E2 03 00 89 2F 00 90 00 2C [01:25:42]RAPDU: 90 00 [01:25:42]wFMCommunicate OK [01:25:42]SAM_PROTO_ClearQueue done [01:25:42]KKMCreateOFDPacket [01:25:42]OFDProtocolAddRootSTLVToBuf [01:25:42]FM_MakeSignedData [01:25:42]FM_MakeSignedData [01:25:42]SAM_PROTO_SignData [01:25:42]wFMCommunicate request_size=4 [01:25:42]MH_SAM_APDU [01:25:42]CAPDU: 80 0D 01 02 [01:25:42]Write to MH i2c: E2 08 00 8A 2F 80 0D 01 02 00 00 00 00 32 [01:25:42]Write i2c OK [01:25:42]MH_I2C_Read... [01:25:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:25:42]Read from MH i2c: E2 [01:25:42]MH_I2C_Read... [01:25:42]Read from MH i2c: E2 03 00 [01:25:42]MH_I2C_Read... [01:25:42]Read from MH i2c: E2 03 00 8A 2F 00 90 00 2D [01:25:42]RAPDU: 90 00 [01:25:42]wFMCommunicate OK [01:25:42]wFMCommunicate request_size=255 [01:25:42]MH_SAM_APDU [01:25:42]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 A0 39 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 [01:25:42]Write to MH i2c: E2 02 01 8B 2F 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 A0 39 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 00 00 CF [01:25:42]Write i2c OK [01:25:42]MH_I2C_Read... [01:25:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:25:43]Read from MH i2c: E2 [01:25:43]MH_I2C_Read... [01:25:43]Read from MH i2c: E2 03 00 [01:25:43]MH_I2C_Read... [01:25:43]Read from MH i2c: E2 03 00 8B 2F 00 90 00 2E [01:25:43]RAPDU: 90 00 [01:25:43]wFMCommunicate OK [01:25:43]wFMCommunicate request_size=41 [01:25:43]MH_SAM_APDU [01:25:43]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D0 93 00 00 35 04 06 00 A8 78 B4 F7 10 63 [01:25:43]Write to MH i2c: E2 2C 00 8C 2F 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D0 93 00 00 35 04 06 00 A8 78 B4 F7 10 63 00 00 A2 [01:25:43]Write i2c OK [01:25:43]MH_I2C_Read... [01:25:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:25:43]Read from MH i2c: E2 [01:25:43]MH_I2C_Read... [01:25:43]Read from MH i2c: E2 03 00 [01:25:43]MH_I2C_Read... [01:25:43]Read from MH i2c: E2 03 00 8C 2F 00 90 00 2F [01:25:43]RAPDU: 90 00 [01:25:43]wFMCommunicate OK [01:25:43]wFMCommunicate request_size=4 [01:25:43]MH_SAM_APDU [01:25:43]CAPDU: 80 0D 03 02 [01:25:43]Write to MH i2c: E2 08 00 8D 2F 80 0D 03 02 00 00 00 00 37 [01:25:43]Write i2c OK [01:25:43]MH_I2C_Read... [01:25:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:25:43]Read from MH i2c: E2 [01:25:43]MH_I2C_Read... [01:25:43]Read from MH i2c: E2 0B 00 [01:25:43]MH_I2C_Read... [01:25:43]Read from MH i2c: E2 0B 00 8D 2F 00 0B 8E BF 92 04 36 8B B1 90 00 98 [01:25:43]RAPDU: 0B 8E BF 92 04 36 8B B1 90 00 [01:25:43]wFMCommunicate OK [01:25:43]SAM_PROTO_SignData done [01:25:43]FM_MakeSignedData done [01:25:43]CreateOFDProtocolMessage [01:25:43]wFMCommunicate request_size=4 [01:25:43]MH_SAM_APDU [01:25:43]CAPDU: 80 11 00 00 [01:25:43]Write to MH i2c: E2 08 00 8E 2F 80 11 00 00 00 00 00 00 37 [01:25:43]Write i2c OK [01:25:43]MH_I2C_Read... [01:25:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:25:43]Read from MH i2c: E2 [01:25:43]MH_I2C_Read... [01:25:43]Read from MH i2c: E2 17 00 [01:25:43]MH_I2C_Read... [01:25:43]Read from MH i2c: E2 17 00 8E 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 87 [01:25:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:25:43]wFMCommunicate OK [01:25:43]CreateOFDProtocolMessage done [01:25:43]OFDSenderStorePacket 37840 [01:25:43]StoreOFDPacket docnum=37840 [01:25:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 22 81 26 01 1B B8 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 A0 39 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D0 93 00 00 35 04 06 00 A8 78 B4 F7 10 63 0B 8E BF 92 04 36 8B B1 [01:25:43]CheckFolder [01:25:43]dirname=/storage/ofd_packets [01:25:43]CheckFolder done [01:25:43]ProducePacketName [01:25:43]name=ofd_packets/00037840 [01:25:43]NVStorageSaveData ofd_packets/00037840 [01:25:43]File name is /storage/ofd_packets/00037840 [01:25:43]Write 332 bytes [01:25:43]NVStorageSaveData done [01:25:43]OFDSenderStorePacket done [01:25:43]KKMCreateOFDPacket done [01:25:43]NVStorageSaveData kkm_last_timestamp [01:25:43]File name is /storage/kkm_last_timestamp [01:25:43]Write 4 bytes [01:25:43]NVStorageSaveData done [01:25:43]ExternCall_PrintAddStr [01:25:43]wPrintStart [01:25:43]Write to MH i2c: 01 00 00 8F 2F BE [01:25:43]Write i2c OK [01:25:43]MH_I2C_Read... [01:25:43]Read from MH i2c: 01 [01:25:43]MH_I2C_Read... [01:25:43]Read from MH i2c: 01 07 00 [01:25:43]MH_I2C_Read... [01:25:43]Read from MH i2c: 01 07 00 8F 2F 00 00 00 00 00 FF 0F D3 [01:25:43]RasterBufferAndPrint [01:25:43]line Счет N : (3)35138 [01:25:43]line ИНН: 02508201610067 [01:25:43]line Контрольно-Кассовый Чек [01:25:43]line ПРОДАЖА [01:25:43]line Товар: 4700000480357 [01:25:43]line Пиво шахтерское 1л ПЭТ [01:25:43]line 1.000 * 170.00 [01:25:43]line = 170.00 [01:25:43]line НДС 12% НСП 1% [01:25:43]line > о реализуемом товаре [01:25:43]line ИТОГО: 170.00 [01:25:43]line НСП 1% : 1.50 [01:25:43]line НДС 12% : 18.05 [01:25:43]line Наличными: 170.00 [01:25:43]line Безнал.: 0.00 [01:25:43]line Место: АЗС № 126 "Партнер Нефть" [01:25:43]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [01:25:43]line СНО: Общий режим [01:25:43]line Чек 2 29.10.2024 01:25 [01:25:43]line Смена: 552 ФФД: 1.0 [01:25:43]line ЗНМ: 0300000092 [01:25:43]line РНМ: 0000000000091684 [01:25:43]line Версия ККМ: 001 [01:25:43]line ФМ: 0000000000871841 [01:25:43]line ФД: 37840 [01:25:43]line ФПД: 185236385632355 [01:25:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T012552&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37840&fm=185236385632355&tin=02508201610067®Number=0000000000091684&sum=17000 [01:25:43]OFD Sender: Processing packet 37840 [packets to send 42, broken 41] [01:25:43]ProducePacketName [01:25:43]name=ofd_packets/00037840 [01:25:43]OFD Sender: To server: pG, [01:25:43]CommunicateWithHost lk.salyk.kg:30040 [01:25:43]ConnectInit lk.salyk.kg [01:25:43]line 0 [01:25:43]written 0, free lines is 4095 [01:25:44]Write to MH i2c: 01 00 00 B7 2F E6 [01:25:44]Write i2c OK [01:25:44]MH_I2C_Read... [01:25:44]Read from MH i2c: 01 [01:25:44]MH_I2C_Read... [01:25:44]Read from MH i2c: 01 07 00 [01:25:44]MH_I2C_Read... [01:25:44]Read from MH i2c: 01 07 00 B7 2F 00 00 00 00 00 C4 0C BD [01:25:44]RasterBufferAndPrint [01:25:44]line [01:25:44]line [01:25:44]line [01:25:44]line [01:25:44]line [01:25:44]written 0, free lines is 3272 [01:25:44]MH_Cut [01:25:44]Write to MH i2c: D1 01 00 BE 2F 01 BF [01:25:44]Write i2c OK [01:25:44]MH_I2C_Read... [01:25:44]Read from MH i2c: D1 [01:25:44]MH_I2C_Read... [01:25:44]Read from MH i2c: D1 01 00 [01:25:44]MH_I2C_Read... [01:25:44]Read from MH i2c: D1 01 00 BE 2F 00 BE [01:25:44]Write to MH i2c: 01 00 00 BF 2F EE [01:25:44]Write i2c OK [01:25:44]MH_I2C_Read... [01:25:44]*** Cut start [01:25:44]*** Partial cut [01:25:44]*** CUTSNS_PIN = 1 [01:25:45]*** CUTSNS_PIN = 0 [01:25:45]*** Brake cut motor [01:25:45]Connected sock=11 [01:25: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 38 34 31 2E 01 00 00 22 81 26 01 1B B8 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 A0 39 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D0 93 00 00 35 04 06 00 A8 78 B4 F7 10 63 0B 8E BF 92 04 36 8B B1 [01:25:45]Read from MH i2c: 01 [01:25:45]MH_I2C_Read... [01:25:45]*** Stop cut motor [01:25:45]*** Cut end [01:25:45]Read from MH i2c: 01 07 00 [01:25:45]MH_I2C_Read... [01:25:45]Read from MH i2c: 01 07 00 BF 2F 00 00 00 00 00 FF 0F 03 [01:25:45]process_action close_receipt done [01:25:45]requested_data is exist [01:25:45]produce_requested_data [01:25:45]requested_item fm.sn is exist - process it [01:25:45]wFMCommunicate request_size=4 [01:25:45]MH_SAM_APDU [01:25:45]CAPDU: 80 11 00 00 [01:25:45]Write to MH i2c: E2 08 00 C0 2F 80 11 00 00 00 00 00 00 69 [01:25:45]Write i2c OK [01:25:45]MH_I2C_Read... [01:25:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:25:45]Read from MH i2c: E2 [01:25:45]MH_I2C_Read... [01:25:45]Read from MH i2c: E2 17 00 [01:25:45]MH_I2C_Read... [01:25:45]Read from MH i2c: E2 17 00 C0 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B9 [01:25:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:25:45]wFMCommunicate OK [01:25:45]requested_item fd.num is exist - process it [01:25:45]SAM_PROTO_GetFieldsCounters [01:25:45]wFMCommunicate request_size=4 [01:25:45]MH_SAM_APDU [01:25:45]CAPDU: 80 13 00 00 [01:25:45]Write to MH i2c: E2 08 00 C1 2F 80 13 00 00 00 00 00 00 6C [01:25:45]Write i2c OK [01:25:45]MH_I2C_Read... [01:25:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:25:45]Read from MH i2c: E2 [01:25:45]MH_I2C_Read... [01:25:45]Read from MH i2c: E2 62 00 [01:25:45]MH_I2C_Read... [01:25:45]Read from MH i2c: E2 62 00 C1 2F 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 D0 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 20 [01:25:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 D0 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:25:45]wFMCommunicate OK [01:25:45]SAM_PROTO_GetFieldsCounters done [01:25:45]requested_item shift.num is exist - process it [01:25:45]requested_item shift.opened is exist - process it [01:25:45]req_shift_opened [01:25:45]FM_GetShiftState [01:25:45]SAM_PROTO_GetShiftState [01:25:45]wFMCommunicate request_size=4 [01:25:45]MH_SAM_APDU [01:25:45]CAPDU: 80 13 01 00 [01:25:45]Write to MH i2c: E2 08 00 C2 2F 80 13 01 00 00 00 00 00 6E [01:25:45]Write i2c OK [01:25:45]MH_I2C_Read... [01:25:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:25:45]Read from MH i2c: E2 [01:25:45]MH_I2C_Read... [01:25:45]Read from MH i2c: E2 0E 00 [01:25:45]MH_I2C_Read... [01:25:45]Read from MH i2c: E2 0E 00 C2 2F 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 E4 [01:25:45]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [01:25:45]wFMCommunicate OK [01:25:45]SAM_PROTO_GetShiftState done [01:25:45]FM_GetShiftState done [01:25:45]req_shift_opened done [01:25:45]requested_item shift.open_date is exist - process it [01:25:45]req_shift_open_date [01:25:45]req_shift_open_date done [01:25:45]produce_requested_data done [01:25:45]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37840,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [01:25:45]process_action_free close_receipt [01:25:45]json_value_free [01:25:45]json_value_free done [01:25:45]process_json_proto returns [01:25:45]Send response to host [01:25:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37840,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [01:25:45]free response buf [01:25:45]execute_script done [01:25:45]execute_script returns [01:25:45]free content buf [01:25:45]Sock 9.Close socket [01:25:45]Sock 9.Thread stoped [01:25:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 AA A3 47 00 A6 5D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 34 31 10 04 04 00 D0 93 00 00 F4 03 04 00 94 E4 1F 67 B6 04 01 00 00 44 81 04 1F EE 4B F3 89 [01:25:45]CommunicateWithHost err = 0 [01:25:45]CheckOFDResponse [01:25:45]1017 (14) - 77093643461234 [01:25:45]1041 (16) - 0000000000871841 [01:25:45]1040 (4) - 37840 [01:25:45]1012 (4) - 28.10.2024 19:23 [01:25:45]1206 (1) - 0 [01:25:45]OFD Sender: Remove packet 37840 [01:25:45]ProducePacketName [01:25:45]name=ofd_packets/00037840 [01:25:45]NVStorageDeleteData [01:25:46]OFD Sender: No OFD packet to send [01:25:51]OFD Sender: No OFD packet to send [01:25:56]OFD Sender: No OFD packet to send [01:26:01]OFD Sender: No OFD packet to send [01:26:06]OFD Sender: No OFD packet to send [01:26:11]OFD Sender: No OFD packet to send [01:26:16]OFD Sender: No OFD packet to send [01:26:21]OFD Sender: No OFD packet to send [01:26:26]OFD Sender: No OFD packet to send [01:26:31]OFD Sender: No OFD packet to send [01:26:36]OFD Sender: No OFD packet to send [01:26:41]OFD Sender: No OFD packet to send [01:26:46]OFD Sender: No OFD packet to send [01:26:51]OFD Sender: No OFD packet to send [01:26:56]OFD Sender: No OFD packet to send [01:27:01]OFD Sender: No OFD packet to send [01:27:06]OFD Sender: No OFD packet to send [01:27:11]OFD Sender: No OFD packet to send [01:27:16]OFD Sender: No OFD packet to send [01:27:21]OFD Sender: No OFD packet to send [01:27:26]OFD Sender: No OFD packet to send [01:27:31]OFD Sender: No OFD packet to send [01:27:36]OFD Sender: No OFD packet to send [01:27:41]OFD Sender: No OFD packet to send [01:27:46]OFD Sender: No OFD packet to send [01:27:51]OFD Sender: No OFD packet to send [01:27:56]OFD Sender: No OFD packet to send [01:28:01]OFD Sender: No OFD packet to send [01:28:06]OFD Sender: No OFD packet to send [01:28:11]OFD Sender: No OFD packet to send [01:28:16]OFD Sender: No OFD packet to send [01:28:21]OFD Sender: No OFD packet to send [01:28:26]OFD Sender: No OFD packet to send [01:28:31]OFD Sender: No OFD packet to send [01:28:36]OFD Sender: No OFD packet to send [01:28:41]OFD Sender: No OFD packet to send [01:28:46]OFD Sender: No OFD packet to send [01:28:51]OFD Sender: No OFD packet to send [01:28:56]OFD Sender: No OFD packet to send [01:29:01]OFD Sender: No OFD packet to send [01:29:06]OFD Sender: No OFD packet to send [01:29:11]OFD Sender: No OFD packet to send [01:29:16]OFD Sender: No OFD packet to send [01:29:21]OFD Sender: No OFD packet to send [01:29:26]OFD Sender: No OFD packet to send [01:29:31]OFD Sender: No OFD packet to send [01:29:36]OFD Sender: No OFD packet to send [01:29:41]OFD Sender: No OFD packet to send [01:29:46]OFD Sender: No OFD packet to send [01:29:51]OFD Sender: No OFD packet to send [01:29:56]OFD Sender: No OFD packet to send [01:30:01]OFD Sender: No OFD packet to send [01:30:06]OFD Sender: No OFD packet to send [01:30:11]OFD Sender: No OFD packet to send [01:30:16]OFD Sender: No OFD packet to send [01:30:21]OFD Sender: No OFD packet to send [01:30:26]OFD Sender: No OFD packet to send [01:30:31]OFD Sender: No OFD packet to send [01:30:36]OFD Sender: No OFD packet to send [01:30:41]OFD Sender: No OFD packet to send [01:30:46]OFD Sender: No OFD packet to send [01:30:51]OFD Sender: No OFD packet to send [01:30:56]OFD Sender: No OFD packet to send [01:31:01]OFD Sender: No OFD packet to send [01:31:06]OFD Sender: No OFD packet to send [01:31:11]OFD Sender: No OFD packet to send [01:31:16]OFD Sender: No OFD packet to send [01:31:21]OFD Sender: No OFD packet to send [01:31:26]OFD Sender: No OFD packet to send [01:31:31]OFD Sender: No OFD packet to send [01:31:36]OFD Sender: No OFD packet to send [01:31:41]OFD Sender: No OFD packet to send [01:31:46]OFD Sender: No OFD packet to send [01:31:51]OFD Sender: No OFD packet to send [01:31:56]OFD Sender: No OFD packet to send [01:32:01]OFD Sender: No OFD packet to send [01:32:06]OFD Sender: No OFD packet to send [01:32:11]OFD Sender: No OFD packet to send [01:32:16]OFD Sender: No OFD packet to send [01:32:21]OFD Sender: No OFD packet to send [01:32:26]OFD Sender: No OFD packet to send [01:32:31]OFD Sender: No OFD packet to send [01:32:36]OFD Sender: No OFD packet to send [01:32:41]OFD Sender: No OFD packet to send [01:32:46]OFD Sender: No OFD packet to send [01:32:51]OFD Sender: No OFD packet to send [01:32:56]OFD Sender: No OFD packet to send [01:33:01]OFD Sender: No OFD packet to send [01:33:06]OFD Sender: No OFD packet to send [01:33:11]OFD Sender: No OFD packet to send [01:33:16]OFD Sender: No OFD packet to send [01:33:21]OFD Sender: No OFD packet to send [01:33:26]OFD Sender: No OFD packet to send [01:33:31]OFD Sender: No OFD packet to send [01:33:36]OFD Sender: No OFD packet to send [01:33:41]OFD Sender: No OFD packet to send [01:33:46]OFD Sender: No OFD packet to send [01:33:51]OFD Sender: No OFD packet to send [01:33:56]OFD Sender: No OFD packet to send [01:34:01]OFD Sender: No OFD packet to send [01:34:06]OFD Sender: No OFD packet to send [01:34:11]OFD Sender: No OFD packet to send [01:34:16]OFD Sender: No OFD packet to send [01:34:21]OFD Sender: No OFD packet to send [01:34:26]OFD Sender: No OFD packet to send [01:34:31]OFD Sender: No OFD packet to send [01:34:36]OFD Sender: No OFD packet to send [01:34:41]OFD Sender: No OFD packet to send [01:34:46]OFD Sender: No OFD packet to send [01:34:51]OFD Sender: No OFD packet to send [01:34:56]OFD Sender: No OFD packet to send [01:35:01]OFD Sender: No OFD packet to send [01:35:06]OFD Sender: No OFD packet to send [01:35:11]OFD Sender: No OFD packet to send [01:35:16]OFD Sender: No OFD packet to send [01:35:21]OFD Sender: No OFD packet to send [01:35:26]OFD Sender: No OFD packet to send [01:35:31]OFD Sender: No OFD packet to send [01:35:36]OFD Sender: No OFD packet to send [01:35:41]OFD Sender: No OFD packet to send [01:35:46]OFD Sender: No OFD packet to send [01:35:51]OFD Sender: No OFD packet to send [01:35:56]OFD Sender: No OFD packet to send [01:36:01]OFD Sender: No OFD packet to send [01:36:06]OFD Sender: No OFD packet to send [01:36:11]OFD Sender: No OFD packet to send [01:36:16]OFD Sender: No OFD packet to send [01:36:22]OFD Sender: No OFD packet to send [01:36:27]OFD Sender: No OFD packet to send [01:36:32]OFD Sender: No OFD packet to send [01:36:37]OFD Sender: No OFD packet to send [01:36:42]OFD Sender: No OFD packet to send [01:36:47]OFD Sender: No OFD packet to send [01:36:52]OFD Sender: No OFD packet to send [01:36:57]OFD Sender: No OFD packet to send [01:37:02]OFD Sender: No OFD packet to send [01:37:07]OFD Sender: No OFD packet to send [01:37:12]OFD Sender: No OFD packet to send [01:37:17]OFD Sender: No OFD packet to send [01:37:22]OFD Sender: No OFD packet to send [01:37:27]OFD Sender: No OFD packet to send [01:37:32]OFD Sender: No OFD packet to send [01:37:37]OFD Sender: No OFD packet to send [01:37:42]OFD Sender: No OFD packet to send [01:37:47]OFD Sender: No OFD packet to send [01:37:52]OFD Sender: No OFD packet to send [01:37:57]OFD Sender: No OFD packet to send [01:38:02]OFD Sender: No OFD packet to send [01:38:07]OFD Sender: No OFD packet to send [01:38:12]OFD Sender: No OFD packet to send [01:38:17]OFD Sender: No OFD packet to send [01:38:22]OFD Sender: No OFD packet to send [01:38:27]OFD Sender: No OFD packet to send [01:38:32]OFD Sender: No OFD packet to send [01:38:37]OFD Sender: No OFD packet to send [01:38:42]OFD Sender: No OFD packet to send [01:38:47]OFD Sender: No OFD packet to send [01:38:52]OFD Sender: No OFD packet to send [01:38:57]OFD Sender: No OFD packet to send [01:39:02]OFD Sender: No OFD packet to send [01:39:07]OFD Sender: No OFD packet to send [01:39:12]OFD Sender: No OFD packet to send [01:39:17]OFD Sender: No OFD packet to send [01:39:22]OFD Sender: No OFD packet to send [01:39:27]OFD Sender: No OFD packet to send [01:39:32]OFD Sender: No OFD packet to send [01:39:37]OFD Sender: No OFD packet to send [01:39:42]OFD Sender: No OFD packet to send [01:39:47]OFD Sender: No OFD packet to send [01:39:52]OFD Sender: No OFD packet to send [01:39:57]OFD Sender: No OFD packet to send [01:40:02]OFD Sender: No OFD packet to send [01:40:07]OFD Sender: No OFD packet to send [01:40:12]OFD Sender: No OFD packet to send [01:40:17]OFD Sender: No OFD packet to send [01:40:22]OFD Sender: No OFD packet to send [01:40:27]OFD Sender: No OFD packet to send [01:40:32]OFD Sender: No OFD packet to send [01:40:37]OFD Sender: No OFD packet to send [01:40:42]OFD Sender: No OFD packet to send [01:40:47]OFD Sender: No OFD packet to send [01:40:52]OFD Sender: No OFD packet to send [01:40:57]OFD Sender: No OFD packet to send [01:41:02]OFD Sender: No OFD packet to send [01:41:07]OFD Sender: No OFD packet to send [01:41:12]OFD Sender: No OFD packet to send [01:41:17]OFD Sender: No OFD packet to send [01:41:22]OFD Sender: No OFD packet to send [01:41:27]OFD Sender: No OFD packet to send [01:41:32]OFD Sender: No OFD packet to send [01:41:37]OFD Sender: No OFD packet to send [01:41:42]OFD Sender: No OFD packet to send [01:41:47]OFD Sender: No OFD packet to send [01:41:52]OFD Sender: No OFD packet to send [01:41:57]OFD Sender: No OFD packet to send [01:42:02]OFD Sender: No OFD packet to send [01:42:07]OFD Sender: No OFD packet to send [01:42:12]OFD Sender: No OFD packet to send [01:42:17]OFD Sender: No OFD packet to send [01:42:22]OFD Sender: No OFD packet to send [01:42:27]OFD Sender: No OFD packet to send [01:42:32]OFD Sender: No OFD packet to send [01:42:37]OFD Sender: No OFD packet to send [01:42:42]OFD Sender: No OFD packet to send [01:42:47]OFD Sender: No OFD packet to send [01:42:52]OFD Sender: No OFD packet to send [01:42:57]OFD Sender: No OFD packet to send [01:43:02]OFD Sender: No OFD packet to send [01:43:07]OFD Sender: No OFD packet to send [01:43:12]OFD Sender: No OFD packet to send [01:43:17]OFD Sender: No OFD packet to send [01:43:22]OFD Sender: No OFD packet to send [01:43:27]OFD Sender: No OFD packet to send [01:43:32]OFD Sender: No OFD packet to send [01:43:37]OFD Sender: No OFD packet to send [01:43:42]OFD Sender: No OFD packet to send [01:43:47]OFD Sender: No OFD packet to send [01:43:52]OFD Sender: No OFD packet to send [01:43:57]OFD Sender: No OFD packet to send [01:44:02]OFD Sender: No OFD packet to send [01:44:07]OFD Sender: No OFD packet to send [01:44:12]OFD Sender: No OFD packet to send [01:44:17]OFD Sender: No OFD packet to send [01:44:22]OFD Sender: No OFD packet to send [01:44:27]OFD Sender: No OFD packet to send [01:44:32]OFD Sender: No OFD packet to send [01:44:37]OFD Sender: No OFD packet to send [01:44:42]OFD Sender: No OFD packet to send [01:44:47]OFD Sender: No OFD packet to send [01:44:52]OFD Sender: No OFD packet to send [01:44:57]OFD Sender: No OFD packet to send [01:45:02]OFD Sender: No OFD packet to send [01:45:07]OFD Sender: No OFD packet to send [01:45:12]OFD Sender: No OFD packet to send [01:45:17]OFD Sender: No OFD packet to send [01:45:22]OFD Sender: No OFD packet to send [01:45:27]OFD Sender: No OFD packet to send [01:45:32]OFD Sender: No OFD packet to send [01:45:37]OFD Sender: No OFD packet to send [01:45:42]OFD Sender: No OFD packet to send [01:45:47]OFD Sender: No OFD packet to send [01:45:52]OFD Sender: No OFD packet to send [01:45:57]OFD Sender: No OFD packet to send [01:46:02]OFD Sender: No OFD packet to send [01:46:07]OFD Sender: No OFD packet to send [01:46:12]OFD Sender: No OFD packet to send [01:46:17]OFD Sender: No OFD packet to send [01:46:22]OFD Sender: No OFD packet to send [01:46:27]OFD Sender: No OFD packet to send [01:46:32]OFD Sender: No OFD packet to send [01:46:37]OFD Sender: No OFD packet to send [01:46:42]OFD Sender: No OFD packet to send [01:46:47]OFD Sender: No OFD packet to send [01:46:52]OFD Sender: No OFD packet to send [01:46:57]OFD Sender: No OFD packet to send [01:47:02]OFD Sender: No OFD packet to send [01:47:07]OFD Sender: No OFD packet to send [01:47:12]OFD Sender: No OFD packet to send [01:47:17]OFD Sender: No OFD packet to send [01:47:22]OFD Sender: No OFD packet to send [01:47:27]OFD Sender: No OFD packet to send [01:47:32]OFD Sender: No OFD packet to send [01:47:37]OFD Sender: No OFD packet to send [01:47:42]OFD Sender: No OFD packet to send [01:47:47]OFD Sender: No OFD packet to send [01:47:52]OFD Sender: No OFD packet to send [01:47:57]OFD Sender: No OFD packet to send [01:48:02]OFD Sender: No OFD packet to send [01:48:07]OFD Sender: No OFD packet to send [01:48:12]OFD Sender: No OFD packet to send [01:48:17]OFD Sender: No OFD packet to send [01:48:22]OFD Sender: No OFD packet to send [01:48:27]OFD Sender: No OFD packet to send [01:48:32]OFD Sender: No OFD packet to send [01:48:37]OFD Sender: No OFD packet to send [01:48:42]OFD Sender: No OFD packet to send [01:48:47]OFD Sender: No OFD packet to send [01:48:52]OFD Sender: No OFD packet to send [01:48:57]OFD Sender: No OFD packet to send [01:49:02]OFD Sender: No OFD packet to send [01:49:07]OFD Sender: No OFD packet to send [01:49:12]OFD Sender: No OFD packet to send [01:49:17]OFD Sender: No OFD packet to send [01:49:22]OFD Sender: No OFD packet to send [01:49:27]OFD Sender: No OFD packet to send [01:49:32]OFD Sender: No OFD packet to send [01:49:37]OFD Sender: No OFD packet to send [01:49:42]OFD Sender: No OFD packet to send [01:49:47]OFD Sender: No OFD packet to send [01:49:52]OFD Sender: No OFD packet to send [01:49:57]OFD Sender: No OFD packet to send [01:50:02]OFD Sender: No OFD packet to send [01:50:07]OFD Sender: No OFD packet to send [01:50:12]OFD Sender: No OFD packet to send [01:50:17]OFD Sender: No OFD packet to send [01:50:22]OFD Sender: No OFD packet to send [01:50:27]OFD Sender: No OFD packet to send [01:50:32]OFD Sender: No OFD packet to send [01:50:37]OFD Sender: No OFD packet to send [01:50:42]OFD Sender: No OFD packet to send [01:50:47]OFD Sender: No OFD packet to send [01:50:52]OFD Sender: No OFD packet to send [01:50:57]OFD Sender: No OFD packet to send [01:51:02]OFD Sender: No OFD packet to send [01:51:07]OFD Sender: No OFD packet to send [01:51:12]OFD Sender: No OFD packet to send [01:51:17]OFD Sender: No OFD packet to send [01:51:22]OFD Sender: No OFD packet to send [01:51:27]OFD Sender: No OFD packet to send [01:51:32]OFD Sender: No OFD packet to send [01:51:37]OFD Sender: No OFD packet to send [01:51:42]OFD Sender: No OFD packet to send [01:51:47]OFD Sender: No OFD packet to send [01:51:52]OFD Sender: No OFD packet to send [01:51:57]OFD Sender: No OFD packet to send [01:52:02]OFD Sender: No OFD packet to send [01:52:07]OFD Sender: No OFD packet to send [01:52:12]OFD Sender: No OFD packet to send [01:52:17]OFD Sender: No OFD packet to send [01:52:22]OFD Sender: No OFD packet to send [01:52:27]OFD Sender: No OFD packet to send [01:52:32]OFD Sender: No OFD packet to send [01:52:37]OFD Sender: No OFD packet to send [01:52:42]OFD Sender: No OFD packet to send [01:52:47]OFD Sender: No OFD packet to send [01:52:52]OFD Sender: No OFD packet to send [01:52:57]OFD Sender: No OFD packet to send [01:53:02]OFD Sender: No OFD packet to send [01:53:07]OFD Sender: No OFD packet to send [01:53:12]OFD Sender: No OFD packet to send [01:53:17]OFD Sender: No OFD packet to send [01:53:22]OFD Sender: No OFD packet to send [01:53:27]OFD Sender: No OFD packet to send [01:53:32]OFD Sender: No OFD packet to send [01:53:37]OFD Sender: No OFD packet to send [01:53:42]OFD Sender: No OFD packet to send [01:53:47]OFD Sender: No OFD packet to send [01:53:52]OFD Sender: No OFD packet to send [01:53:57]OFD Sender: No OFD packet to send [01:54:02]OFD Sender: No OFD packet to send [01:54:07]OFD Sender: No OFD packet to send [01:54:12]OFD Sender: No OFD packet to send [01:54:17]OFD Sender: No OFD packet to send [01:54:22]OFD Sender: No OFD packet to send [01:54:27]OFD Sender: No OFD packet to send [01:54:32]OFD Sender: No OFD packet to send [01:54:37]OFD Sender: No OFD packet to send [01:54:42]OFD Sender: No OFD packet to send [01:54:47]OFD Sender: No OFD packet to send [01:54:52]OFD Sender: No OFD packet to send [01:54:58]OFD Sender: No OFD packet to send [01:55:03]OFD Sender: No OFD packet to send [01:55:08]OFD Sender: No OFD packet to send [01:55:13]OFD Sender: No OFD packet to send [01:55:18]OFD Sender: No OFD packet to send [01:55:23]OFD Sender: No OFD packet to send [01:55:28]OFD Sender: No OFD packet to send [01:55:33]OFD Sender: No OFD packet to send [01:55:38]OFD Sender: No OFD packet to send [01:55:43]OFD Sender: No OFD packet to send [01:55:48]OFD Sender: No OFD packet to send [01:55:53]OFD Sender: No OFD packet to send [01:55:58]OFD Sender: No OFD packet to send [01:56:03]OFD Sender: No OFD packet to send [01:56:08]OFD Sender: No OFD packet to send [01:56:13]OFD Sender: No OFD packet to send [01:56:18]OFD Sender: No OFD packet to send [01:56:23]OFD Sender: No OFD packet to send [01:56:28]OFD Sender: No OFD packet to send [01:56:33]OFD Sender: No OFD packet to send [01:56:38]OFD Sender: No OFD packet to send [01:56:43]OFD Sender: No OFD packet to send [01:56:48]OFD Sender: No OFD packet to send [01:56:53]OFD Sender: No OFD packet to send [01:56:58]OFD Sender: No OFD packet to send [01:57:03]OFD Sender: No OFD packet to send [01:57:08]OFD Sender: No OFD packet to send [01:57:13]OFD Sender: No OFD packet to send [01:57:18]OFD Sender: No OFD packet to send [01:57:23]OFD Sender: No OFD packet to send [01:57:28]OFD Sender: No OFD packet to send [01:57:33]OFD Sender: No OFD packet to send [01:57:38]OFD Sender: No OFD packet to send [01:57:43]OFD Sender: No OFD packet to send [01:57:48]OFD Sender: No OFD packet to send [01:57:53]OFD Sender: No OFD packet to send [01:57:58]OFD Sender: No OFD packet to send [01:58:03]OFD Sender: No OFD packet to send [01:58:04]accept exits with 7 [01:58:04]New connection [01:58:04]New thread 3067440484 created [01:58:04]Thread 3067297124 joined [01:58:04]Waiting for new connection... [01:58:04] Sock 7.Parse request [01:58:04]Sock 7.Check first char [01:58:04]Sock 7.First char is OK [01:58:04]request: POST /json_proto HTTP/1.0 [01:58:04]Method: POST [01:58:04]URL: /json_proto [01:58:04]Method is POST - this is cgi request [01:58:04]url: /json_proto [01:58:04]query_string will be loaded in cgi processing [01:58:04]execute_cgi json_proto POST (null) [01:58:04]execute_cgi path=json_proto method=POST [01:58:04]POST find Content-Length [01:58:04]Host: 172.17.40.196:8080 [01:58:04]Content-Length: 620 [01:58:04]Content-Type: application/json [01:58:04] [01:58:04]POST finish read [01:58:04]Found Content-Length = 620 [01:58:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35139", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:58:04]execute_script... [01:58:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35139", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:58:04]POST & json_proto [01:58:04]process_json_proto [01:58:04]json parsed OK: [01:58:04]protocol is kg_v1.0 [01:58:04]action value=close_receipt [01:58:04]process_action close_receipt [01:58:04]cmd_close_receipt [01:58:04]MH_GetDate [01:58:04]Write to MH i2c: F0 00 00 C3 2F E1 [01:58:04]Write i2c OK [01:58:04]MH_I2C_Read... [01:58:04]Read from MH i2c: F0 [01:58:04]MH_I2C_Read... [01:58:04]Read from MH i2c: F0 09 00 [01:58:04]MH_I2C_Read... [01:58:04]Read from MH i2c: F0 09 00 C3 2F 00 37 41 20 67 5B 68 A1 66 B3 [01:58:04]GetLastDocTimeStamp 1730165152 [01:58:04]current date 1730167095 [01:58:04]FM_GetShiftState [01:58:04]SAM_PROTO_GetShiftState [01:58:04]wFMCommunicate request_size=4 [01:58:04]MH_SAM_APDU [01:58:04]CAPDU: 80 13 01 00 [01:58:04]Write to MH i2c: E2 08 00 C4 2F 80 13 01 00 00 00 00 00 70 [01:58:04]Write i2c OK [01:58:04]MH_I2C_Read... [01:58:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:58:04]Read from MH i2c: E2 [01:58:04]MH_I2C_Read... [01:58:04]Read from MH i2c: E2 0E 00 [01:58:04]MH_I2C_Read... [01:58:04]Read from MH i2c: E2 0E 00 C4 2F 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 E6 [01:58:04]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [01:58:04]wFMCommunicate OK [01:58:04]SAM_PROTO_GetShiftState done [01:58:04]FM_GetShiftState done [01:58:04]opened in 1730160317 [01:58:04]opened+sec_in_day 1730246717 [01:58:04]quantity*price = 14400 [01:58:04]sum+1 = 14401 [01:58:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 3 29.10.2024 01:58 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37841 ФПД: 182742290346288 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T015815&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37841&fm=182742290346288&tin=02508201610067®Number=0000000000091684&sum=14400 0 [01:58:05]StoreToDocumentArchive [01:58:05]shift 552 fd 37841 [01:58:05]save to /storage/0552/doc_00037841 [01:58:05]save last doc name /storage/0552/doc_00037841 to /storage/kkm_last_doc_name [01:58:05]save OK [01:58:05]Clear old archive folders... [01:58:05]ProcessDocumentItem done err = 0, tmpTLVsize=273 [01:58:05]tlvbuf is 00300C20 [01:58:05]SAM_PROTO_ClearQueue [01:58:05]wFMCommunicate request_size=4 [01:58:05]MH_SAM_APDU [01:58:05]CAPDU: 80 09 00 00 [01:58:05]Write to MH i2c: E2 08 00 D1 2F 80 09 00 00 00 00 00 00 72 [01:58:05]Write i2c OK [01:58:05]MH_I2C_Read... [01:58:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:58:05]Read from MH i2c: E2 [01:58:05]MH_I2C_Read... [01:58:05]Read from MH i2c: E2 03 00 [01:58:05]MH_I2C_Read... [01:58:05]Read from MH i2c: E2 03 00 D1 2F 00 90 00 74 [01:58:05]RAPDU: 90 00 [01:58:05]wFMCommunicate OK [01:58:05]SAM_PROTO_ClearQueue done [01:58:05]KKMCreateOFDPacket [01:58:05]OFDProtocolAddRootSTLVToBuf [01:58:05]FM_MakeSignedData [01:58:05]FM_MakeSignedData [01:58:05]SAM_PROTO_SignData [01:58:05]wFMCommunicate request_size=4 [01:58:05]MH_SAM_APDU [01:58:05]CAPDU: 80 0D 01 02 [01:58:05]Write to MH i2c: E2 08 00 D2 2F 80 0D 01 02 00 00 00 00 7A [01:58:05]Write i2c OK [01:58:05]MH_I2C_Read... [01:58:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:58:05]Read from MH i2c: E2 [01:58:05]MH_I2C_Read... [01:58:05]Read from MH i2c: E2 03 00 [01:58:05]MH_I2C_Read... [01:58:05]Read from MH i2c: E2 03 00 D2 2F 00 90 00 75 [01:58:05]RAPDU: 90 00 [01:58:05]wFMCommunicate OK [01:58:05]wFMCommunicate request_size=255 [01:58:05]MH_SAM_APDU [01:58:05]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 37 41 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [01:58:05]Write to MH i2c: E2 02 01 D3 2F 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 37 41 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 13 [01:58:05]Write i2c OK [01:58:05]MH_I2C_Read... [01:58:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:58:06]Read from MH i2c: E2 [01:58:06]MH_I2C_Read... [01:58:06]Read from MH i2c: E2 03 00 [01:58:06]MH_I2C_Read... [01:58:06]Read from MH i2c: E2 03 00 D3 2F 00 90 00 76 [01:58:06]RAPDU: 90 00 [01:58:06]wFMCommunicate OK [01:58:06]wFMCommunicate request_size=32 [01:58:06]MH_SAM_APDU [01:58:06]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 D1 93 00 00 35 04 06 00 A6 34 01 4D 31 30 [01:58:06]Write to MH i2c: E2 23 00 D4 2F 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 D1 93 00 00 35 04 06 00 A6 34 01 4D 31 30 00 00 C4 [01:58:06]Write i2c OK [01:58:06]MH_I2C_Read... [01:58:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:58:06]Read from MH i2c: E2 [01:58:06]MH_I2C_Read... [01:58:06]Read from MH i2c: E2 03 00 [01:58:06]MH_I2C_Read... [01:58:06]Read from MH i2c: E2 03 00 D4 2F 00 90 00 77 [01:58:06]RAPDU: 90 00 [01:58:06]wFMCommunicate OK [01:58:06]wFMCommunicate request_size=4 [01:58:06]MH_SAM_APDU [01:58:06]CAPDU: 80 0D 03 02 [01:58:06]Write to MH i2c: E2 08 00 D5 2F 80 0D 03 02 00 00 00 00 7F [01:58:06]Write i2c OK [01:58:06]MH_I2C_Read... [01:58:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:58:06]Read from MH i2c: E2 [01:58:06]MH_I2C_Read... [01:58:06]Read from MH i2c: E2 0B 00 [01:58:06]MH_I2C_Read... [01:58:06]Read from MH i2c: E2 0B 00 D5 2F 00 89 D4 76 44 53 EA 3E F9 90 00 0B [01:58:06]RAPDU: 89 D4 76 44 53 EA 3E F9 90 00 [01:58:06]wFMCommunicate OK [01:58:06]SAM_PROTO_SignData done [01:58:06]FM_MakeSignedData done [01:58:06]CreateOFDProtocolMessage [01:58:06]wFMCommunicate request_size=4 [01:58:06]MH_SAM_APDU [01:58:06]CAPDU: 80 11 00 00 [01:58:06]Write to MH i2c: E2 08 00 D6 2F 80 11 00 00 00 00 00 00 7F [01:58:06]Write i2c OK [01:58:06]MH_I2C_Read... [01:58:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:58:06]Read from MH i2c: E2 [01:58:06]MH_I2C_Read... [01:58:06]Read from MH i2c: E2 17 00 [01:58:06]MH_I2C_Read... [01:58:06]Read from MH i2c: E2 17 00 D6 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 CF [01:58:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:58:06]wFMCommunicate OK [01:58:06]CreateOFDProtocolMessage done [01:58:06]OFDSenderStorePacket 37841 [01:58:06]StoreOFDPacket docnum=37841 [01:58:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 F9 A2 1D 01 CD 42 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 37 41 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D1 93 00 00 35 04 06 00 A6 34 01 4D 31 30 89 D4 76 44 53 EA 3E F9 [01:58:06]CheckFolder [01:58:06]dirname=/storage/ofd_packets [01:58:06]CheckFolder done [01:58:06]ProducePacketName [01:58:06]name=ofd_packets/00037841 [01:58:06]NVStorageSaveData ofd_packets/00037841 [01:58:06]File name is /storage/ofd_packets/00037841 [01:58:06]Write 323 bytes [01:58:06]NVStorageSaveData done [01:58:06]OFDSenderStorePacket done [01:58:06]KKMCreateOFDPacket done [01:58:06]NVStorageSaveData kkm_last_timestamp [01:58:06]File name is /storage/kkm_last_timestamp [01:58:06]Write 4 bytes [01:58:06]NVStorageSaveData done [01:58:06]ExternCall_PrintAddStr [01:58:06]wPrintStart [01:58:06]Write to MH i2c: 01 00 00 D7 2F 06 [01:58:06]Write i2c OK [01:58:06]MH_I2C_Read... [01:58:06]Read from MH i2c: 01 [01:58:06]MH_I2C_Read... [01:58:06]Read from MH i2c: 01 07 00 [01:58:06]MH_I2C_Read... [01:58:06]Read from MH i2c: 01 07 00 D7 2F 00 00 00 00 00 FF 0F 1B [01:58:06]RasterBufferAndPrint [01:58:06]line Счет N : (3)35139 [01:58:06]line ИНН: 02508201610067 [01:58:06]line Контрольно-Кассовый Чек [01:58:06]line ПРОДАЖА [01:58:06]line Товар: 48743570 [01:58:06]line Сигареты Winston XStyle Blue [01:58:06]line 1.000 * 144.00 [01:58:06]line = 144.00 [01:58:06]line НДС 12% НСП 1% [01:58:06]line > о реализуемом товаре [01:58:06]line ИТОГО: 144.00 [01:58:06]line НСП 1% : 1.27 [01:58:06]line НДС 12% : 15.29 [01:58:06]line Наличными: 144.00 [01:58:06]line Безнал.: 0.00 [01:58:06]line Место: АЗС № 126 "Партнер Нефть" [01:58:06]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [01:58:06]line СНО: Общий режим [01:58:06]line Чек 3 29.10.2024 01:58 [01:58:06]line Смена: 552 ФФД: 1.0 [01:58:06]line ЗНМ: 0300000092 [01:58:06]line РНМ: 0000000000091684 [01:58:06]line Версия ККМ: 001 [01:58:06]line ФМ: 0000000000871841 [01:58:06]line ФД: 37841 [01:58:06]line ФПД: 182742290346288 [01:58:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T015815&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37841&fm=182742290346288&tin=02508201610067®Number=0000000000091684&sum=14400 [01:58:06]line 0 [01:58:06]written 0, free lines is 4095 [01:58:06]OFD Sender: Processing packet 37841 [packets to send 42, broken 41] [01:58:06]ProducePacketName [01:58:06]name=ofd_packets/00037841 [01:58:06]OFD Sender: To server: pG, [01:58:06]CommunicateWithHost lk.salyk.kg:30040 [01:58:06]ConnectInit lk.salyk.kg [01:58:06]Connected sock=9 [01:58:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 F9 A2 1D 01 CD 42 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 37 41 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D1 93 00 00 35 04 06 00 A6 34 01 4D 31 30 89 D4 76 44 53 EA 3E F9 [01:58:06]Write to MH i2c: 01 00 00 FF 2F 2E [01:58:06]Write i2c OK [01:58:06]MH_I2C_Read... [01:58:06]Read from MH i2c: 01 [01:58:06]MH_I2C_Read... [01:58:06]Read from MH i2c: 01 07 00 [01:58:06]MH_I2C_Read... [01:58:06]Read from MH i2c: 01 07 00 FF 2F 00 00 00 00 00 D7 0C 18 [01:58:06]RasterBufferAndPrint [01:58:06]line [01:58:06]line [01:58:06]line [01:58:06]line [01:58:06]line [01:58:06]written 0, free lines is 3292 [01:58:06]MH_Cut [01:58:06]Write to MH i2c: D1 01 00 06 30 01 08 [01:58:06]Write i2c OK [01:58:06]MH_I2C_Read... [01:58:06]Read from MH i2c: D1 [01:58:06]MH_I2C_Read... [01:58:06]Read from MH i2c: D1 01 00 [01:58:06]MH_I2C_Read... [01:58:06]Read from MH i2c: D1 01 00 06 30 00 07 [01:58:06]Write to MH i2c: 01 00 00 07 30 37 [01:58:06]Write i2c OK [01:58:06]MH_I2C_Read... [01:58:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 4F 91 47 00 36 FB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D1 93 00 00 F4 03 04 00 2A EC 1F 67 B6 04 01 00 00 42 DB 9D CD 93 5B B0 C1 [01:58:07]CommunicateWithHost err = 0 [01:58:07]CheckOFDResponse [01:58:07]1017 (14) - 77093643461234 [01:58:07]1041 (16) - 0000000000871841 [01:58:07]1040 (4) - 37841 [01:58:07]1012 (4) - 28.10.2024 19:55 [01:58:07]1206 (1) - 0 [01:58:07]OFD Sender: Remove packet 37841 [01:58:07]ProducePacketName [01:58:07]name=ofd_packets/00037841 [01:58:07]NVStorageDeleteData [01:58:07]*** Cut start [01:58:07]*** Partial cut [01:58:07]*** CUTSNS_PIN = 1 [01:58:07]*** CUTSNS_PIN = 0 [01:58:07]OFD Sender: No OFD packet to send [01:58:07]*** Brake cut motor [01:58:08]Read from MH i2c: 01 [01:58:08]MH_I2C_Read... [01:58:08]*** Stop cut motor [01:58:08]*** Cut end [01:58:08]Read from MH i2c: 01 07 00 [01:58:08]MH_I2C_Read... [01:58:08]Read from MH i2c: 01 07 00 07 30 00 00 00 00 00 FF 0F 4C [01:58:08]process_action close_receipt done [01:58:08]requested_data is exist [01:58:08]produce_requested_data [01:58:08]requested_item fm.sn is exist - process it [01:58:08]wFMCommunicate request_size=4 [01:58:08]MH_SAM_APDU [01:58:08]CAPDU: 80 11 00 00 [01:58:08]Write to MH i2c: E2 08 00 08 30 80 11 00 00 00 00 00 00 B2 [01:58:08]Write i2c OK [01:58:08]MH_I2C_Read... [01:58:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:58:08]Read from MH i2c: E2 [01:58:08]MH_I2C_Read... [01:58:08]Read from MH i2c: E2 17 00 [01:58:08]MH_I2C_Read... [01:58:08]Read from MH i2c: E2 17 00 08 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 02 [01:58:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:58:08]wFMCommunicate OK [01:58:08]requested_item fd.num is exist - process it [01:58:08]SAM_PROTO_GetFieldsCounters [01:58:08]wFMCommunicate request_size=4 [01:58:08]MH_SAM_APDU [01:58:08]CAPDU: 80 13 00 00 [01:58:08]Write to MH i2c: E2 08 00 09 30 80 13 00 00 00 00 00 00 B5 [01:58:08]Write i2c OK [01:58:08]MH_I2C_Read... [01:58:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:58:08]Read from MH i2c: E2 [01:58:08]MH_I2C_Read... [01:58:08]Read from MH i2c: E2 62 00 [01:58:08]MH_I2C_Read... [01:58:08]Read from MH i2c: E2 62 00 09 30 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 D1 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 6D [01:58:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 D1 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:58:08]wFMCommunicate OK [01:58:08]SAM_PROTO_GetFieldsCounters done [01:58:08]requested_item shift.num is exist - process it [01:58:08]requested_item shift.opened is exist - process it [01:58:08]req_shift_opened [01:58:08]FM_GetShiftState [01:58:08]SAM_PROTO_GetShiftState [01:58:08]wFMCommunicate request_size=4 [01:58:08]MH_SAM_APDU [01:58:08]CAPDU: 80 13 01 00 [01:58:08]Write to MH i2c: E2 08 00 0A 30 80 13 01 00 00 00 00 00 B7 [01:58:08]Write i2c OK [01:58:08]MH_I2C_Read... [01:58:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:58:08]Read from MH i2c: E2 [01:58:08]MH_I2C_Read... [01:58:08]Read from MH i2c: E2 0E 00 [01:58:08]MH_I2C_Read... [01:58:08]Read from MH i2c: E2 0E 00 0A 30 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 2D [01:58:08]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [01:58:08]wFMCommunicate OK [01:58:08]SAM_PROTO_GetShiftState done [01:58:08]FM_GetShiftState done [01:58:08]req_shift_opened done [01:58:08]requested_item shift.open_date is exist - process it [01:58:08]req_shift_open_date [01:58:08]req_shift_open_date done [01:58:08]produce_requested_data done [01:58:08]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37841,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [01:58:08]process_action_free close_receipt [01:58:08]json_value_free [01:58:08]json_value_free done [01:58:08]process_json_proto returns [01:58:08]Send response to host [01:58:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37841,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [01:58:08]free response buf [01:58:08]execute_script done [01:58:08]execute_script returns [01:58:08]free content buf [01:58:08]Sock 7.Close socket [01:58:08]Sock 7.Thread stoped [01:58:12]OFD Sender: No OFD packet to send [01:58:17]OFD Sender: No OFD packet to send [01:58:22]OFD Sender: No OFD packet to send [01:58:27]OFD Sender: No OFD packet to send [01:58:32]OFD Sender: No OFD packet to send [01:58:37]OFD Sender: No OFD packet to send [01:58:42]OFD Sender: No OFD packet to send [01:58:47]OFD Sender: No OFD packet to send [01:58:52]OFD Sender: No OFD packet to send [01:58:57]OFD Sender: No OFD packet to send [01:59:02]OFD Sender: No OFD packet to send [01:59:07]OFD Sender: No OFD packet to send [01:59:12]OFD Sender: No OFD packet to send [01:59:17]OFD Sender: No OFD packet to send [01:59:22]OFD Sender: No OFD packet to send [01:59:27]OFD Sender: No OFD packet to send [01:59:32]OFD Sender: No OFD packet to send [01:59:37]OFD Sender: No OFD packet to send [01:59:42]OFD Sender: No OFD packet to send [01:59:47]OFD Sender: No OFD packet to send [01:59:52]OFD Sender: No OFD packet to send [01:59:57]OFD Sender: No OFD packet to send [02:00:02]OFD Sender: No OFD packet to send [02:00:07]OFD Sender: No OFD packet to send [02:00:12]OFD Sender: No OFD packet to send [02:00:17]OFD Sender: No OFD packet to send [02:00:22]OFD Sender: No OFD packet to send [02:00:27]OFD Sender: No OFD packet to send [02:00:32]OFD Sender: No OFD packet to send [02:00:37]OFD Sender: No OFD packet to send [02:00:42]OFD Sender: No OFD packet to send [02:00:47]OFD Sender: No OFD packet to send [02:00:52]OFD Sender: No OFD packet to send [02:00:57]OFD Sender: No OFD packet to send [02:01:02]OFD Sender: No OFD packet to send [02:01:07]OFD Sender: No OFD packet to send [02:01:12]OFD Sender: No OFD packet to send [02:01:17]OFD Sender: No OFD packet to send [02:01:22]OFD Sender: No OFD packet to send [02:01:27]OFD Sender: No OFD packet to send [02:01:32]OFD Sender: No OFD packet to send [02:01:37]OFD Sender: No OFD packet to send [02:01:42]OFD Sender: No OFD packet to send [02:01:47]OFD Sender: No OFD packet to send [02:01:52]OFD Sender: No OFD packet to send [02:01:57]OFD Sender: No OFD packet to send [02:02:02]OFD Sender: No OFD packet to send [02:02:07]OFD Sender: No OFD packet to send [02:02:12]OFD Sender: No OFD packet to send [02:02:17]OFD Sender: No OFD packet to send [02:02:22]OFD Sender: No OFD packet to send [02:02:27]OFD Sender: No OFD packet to send [02:02:32]OFD Sender: No OFD packet to send [02:02:37]OFD Sender: No OFD packet to send [02:02:42]OFD Sender: No OFD packet to send [02:02:47]OFD Sender: No OFD packet to send [02:02:52]OFD Sender: No OFD packet to send [02:02:57]OFD Sender: No OFD packet to send [02:03:02]OFD Sender: No OFD packet to send [02:03:07]OFD Sender: No OFD packet to send [02:03:12]OFD Sender: No OFD packet to send [02:03:17]OFD Sender: No OFD packet to send [02:03:22]OFD Sender: No OFD packet to send [02:03:27]OFD Sender: No OFD packet to send [02:03:32]OFD Sender: No OFD packet to send [02:03:37]OFD Sender: No OFD packet to send [02:03:42]OFD Sender: No OFD packet to send [02:03:47]OFD Sender: No OFD packet to send [02:03:52]OFD Sender: No OFD packet to send [02:03:57]OFD Sender: No OFD packet to send [02:04:02]OFD Sender: No OFD packet to send [02:04:07]OFD Sender: No OFD packet to send [02:04:12]OFD Sender: No OFD packet to send [02:04:17]OFD Sender: No OFD packet to send [02:04:22]OFD Sender: No OFD packet to send [02:04:27]OFD Sender: No OFD packet to send [02:04:32]OFD Sender: No OFD packet to send [02:04:37]OFD Sender: No OFD packet to send [02:04:42]OFD Sender: No OFD packet to send [02:04:47]OFD Sender: No OFD packet to send [02:04:52]OFD Sender: No OFD packet to send [02:04:57]OFD Sender: No OFD packet to send [02:05:02]OFD Sender: No OFD packet to send [02:05:07]OFD Sender: No OFD packet to send [02:05:12]OFD Sender: No OFD packet to send [02:05:17]OFD Sender: No OFD packet to send [02:05:22]OFD Sender: No OFD packet to send [02:05:27]OFD Sender: No OFD packet to send [02:05:32]OFD Sender: No OFD packet to send [02:05:38]OFD Sender: No OFD packet to send [02:05:43]OFD Sender: No OFD packet to send [02:05:48]OFD Sender: No OFD packet to send [02:05:53]OFD Sender: No OFD packet to send [02:05:58]OFD Sender: No OFD packet to send [02:06:03]OFD Sender: No OFD packet to send [02:06:08]OFD Sender: No OFD packet to send [02:06:13]OFD Sender: No OFD packet to send [02:06:18]OFD Sender: No OFD packet to send [02:06:23]OFD Sender: No OFD packet to send [02:06:28]OFD Sender: No OFD packet to send [02:06:33]OFD Sender: No OFD packet to send [02:06:38]OFD Sender: No OFD packet to send [02:06:43]OFD Sender: No OFD packet to send [02:06:48]OFD Sender: No OFD packet to send [02:06:53]OFD Sender: No OFD packet to send [02:06:58]OFD Sender: No OFD packet to send [02:07:03]OFD Sender: No OFD packet to send [02:07:08]OFD Sender: No OFD packet to send [02:07:13]OFD Sender: No OFD packet to send [02:07:18]OFD Sender: No OFD packet to send [02:07:23]OFD Sender: No OFD packet to send [02:07:28]OFD Sender: No OFD packet to send [02:07:33]OFD Sender: No OFD packet to send [02:07:38]OFD Sender: No OFD packet to send [02:07:43]OFD Sender: No OFD packet to send [02:07:48]OFD Sender: No OFD packet to send [02:07:53]OFD Sender: No OFD packet to send [02:07:58]OFD Sender: No OFD packet to send [02:08:03]OFD Sender: No OFD packet to send [02:08:08]OFD Sender: No OFD packet to send [02:08:13]OFD Sender: No OFD packet to send [02:08:18]OFD Sender: No OFD packet to send [02:08:23]OFD Sender: No OFD packet to send [02:08:28]OFD Sender: No OFD packet to send [02:08:33]OFD Sender: No OFD packet to send [02:08:38]OFD Sender: No OFD packet to send [02:08:43]OFD Sender: No OFD packet to send [02:08:48]OFD Sender: No OFD packet to send [02:08:53]OFD Sender: No OFD packet to send [02:08:58]OFD Sender: No OFD packet to send [02:09:03]OFD Sender: No OFD packet to send [02:09:08]OFD Sender: No OFD packet to send [02:09:13]OFD Sender: No OFD packet to send [02:09:18]OFD Sender: No OFD packet to send [02:09:23]OFD Sender: No OFD packet to send [02:09:28]OFD Sender: No OFD packet to send [02:09:33]OFD Sender: No OFD packet to send [02:09:38]OFD Sender: No OFD packet to send [02:09:43]OFD Sender: No OFD packet to send [02:09:48]OFD Sender: No OFD packet to send [02:09:53]OFD Sender: No OFD packet to send [02:09:58]OFD Sender: No OFD packet to send [02:10:03]OFD Sender: No OFD packet to send [02:10:08]OFD Sender: No OFD packet to send [02:10:13]OFD Sender: No OFD packet to send [02:10:18]OFD Sender: No OFD packet to send [02:10:23]OFD Sender: No OFD packet to send [02:10:28]OFD Sender: No OFD packet to send [02:10:33]OFD Sender: No OFD packet to send [02:10:38]OFD Sender: No OFD packet to send [02:10:43]OFD Sender: No OFD packet to send [02:10:48]OFD Sender: No OFD packet to send [02:10:53]OFD Sender: No OFD packet to send [02:10:58]OFD Sender: No OFD packet to send [02:11:03]OFD Sender: No OFD packet to send [02:11:08]OFD Sender: No OFD packet to send [02:11:13]OFD Sender: No OFD packet to send [02:11:18]OFD Sender: No OFD packet to send [02:11:23]OFD Sender: No OFD packet to send [02:11:28]OFD Sender: No OFD packet to send [02:11:33]OFD Sender: No OFD packet to send [02:11:38]OFD Sender: No OFD packet to send [02:11:43]OFD Sender: No OFD packet to send [02:11:48]OFD Sender: No OFD packet to send [02:11:53]OFD Sender: No OFD packet to send [02:11:58]OFD Sender: No OFD packet to send [02:12:03]OFD Sender: No OFD packet to send [02:12:08]OFD Sender: No OFD packet to send [02:12:13]OFD Sender: No OFD packet to send [02:12:18]OFD Sender: No OFD packet to send [02:12:23]OFD Sender: No OFD packet to send [02:12:28]OFD Sender: No OFD packet to send [02:12:33]OFD Sender: No OFD packet to send [02:12:38]OFD Sender: No OFD packet to send [02:12:43]OFD Sender: No OFD packet to send [02:12:48]OFD Sender: No OFD packet to send [02:12:53]OFD Sender: No OFD packet to send [02:12:58]OFD Sender: No OFD packet to send [02:13:03]OFD Sender: No OFD packet to send [02:13:08]OFD Sender: No OFD packet to send [02:13:13]OFD Sender: No OFD packet to send [02:13:18]OFD Sender: No OFD packet to send [02:13:23]OFD Sender: No OFD packet to send [02:13:28]OFD Sender: No OFD packet to send [02:13:33]OFD Sender: No OFD packet to send [02:13:38]OFD Sender: No OFD packet to send [02:13:43]OFD Sender: No OFD packet to send [02:13:48]OFD Sender: No OFD packet to send [02:13:53]OFD Sender: No OFD packet to send [02:13:58]OFD Sender: No OFD packet to send [02:14:03]OFD Sender: No OFD packet to send [02:14:08]OFD Sender: No OFD packet to send [02:14:09]accept exits with 10 [02:14:09]New connection [02:14:09]New thread 3067297124 created [02:14:09]Thread 3067440484 joined [02:14:09]Waiting for new connection... [02:14:09] Sock 10.Parse request [02:14:09]Sock 10.Check first char [02:14:09]Sock 10.First char is OK [02:14:09]request: POST /json_proto HTTP/1.0 [02:14:09]Method: POST [02:14:09]URL: /json_proto [02:14:09]Method is POST - this is cgi request [02:14:09]url: /json_proto [02:14:09]query_string will be loaded in cgi processing [02:14:09]execute_cgi json_proto POST (null) [02:14:09]execute_cgi path=json_proto method=POST [02:14:09]POST find Content-Length [02:14:09]Host: 172.17.40.196:8080 [02:14:09]Content-Length: 913 [02:14:09]Content-Type: application/json [02:14:09] [02:14:09]POST finish read [02:14:09]Found Content-Length = 913 [02:14:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35140", "tax_sys" : 0, "items" : [ { "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 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E 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" : 255.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:14:09]execute_script... [02:14:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35140", "tax_sys" : 0, "items" : [ { "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 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E 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" : 255.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:14:09]POST & json_proto [02:14:09]process_json_proto [02:14:09]json parsed OK: [02:14:09]protocol is kg_v1.0 [02:14:09]action value=close_receipt [02:14:09]process_action close_receipt [02:14:09]cmd_close_receipt [02:14:09]MH_GetDate [02:14:09]Write to MH i2c: F0 00 00 0B 30 2A [02:14:09]Write i2c OK [02:14:09]MH_I2C_Read... [02:14:09]Read from MH i2c: F0 [02:14:09]MH_I2C_Read... [02:14:09]Read from MH i2c: F0 09 00 [02:14:09]MH_I2C_Read... [02:14:09]Read from MH i2c: F0 09 00 0B 30 00 FC 44 20 67 5B 68 A1 66 C4 [02:14:09]GetLastDocTimeStamp 1730167095 [02:14:09]current date 1730168060 [02:14:09]FM_GetShiftState [02:14:09]SAM_PROTO_GetShiftState [02:14:09]wFMCommunicate request_size=4 [02:14:09]MH_SAM_APDU [02:14:09]CAPDU: 80 13 01 00 [02:14:09]Write to MH i2c: E2 08 00 0C 30 80 13 01 00 00 00 00 00 B9 [02:14:09]Write i2c OK [02:14:09]MH_I2C_Read... [02:14:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:14:09]Read from MH i2c: E2 [02:14:09]MH_I2C_Read... [02:14:09]Read from MH i2c: E2 0E 00 [02:14:09]MH_I2C_Read... [02:14:09]Read from MH i2c: E2 0E 00 0C 30 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 2F [02:14:09]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [02:14:09]wFMCommunicate OK [02:14:09]SAM_PROTO_GetShiftState done [02:14:09]FM_GetShiftState done [02:14:09]opened in 1730160317 [02:14:09]opened+sec_in_day 1730246717 [02:14:09]quantity*price = 12500 [02:14:09]sum+1 = 12501 [02:14:09]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 255.00 НСП 1% : 2.26 НДС 12% : 27.07 Наличными: 255.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 4 29.10.2024 02:14 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37842 ФПД: 235282826042 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T021420&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37842&fm=235282826042&tin=02508201610067®Number=0000000000091684&sum=25500 0 [02:14:10]StoreToDocumentArchive [02:14:10]shift 552 fd 37842 [02:14:10]save to /storage/0552/doc_00037842 [02:14:10]save last doc name /storage/0552/doc_00037842 to /storage/kkm_last_doc_name [02:14:10]save OK [02:14:10]Clear old archive folders... [02:14:10]ProcessDocumentItem done err = 0, tmpTLVsize=396 [02:14:10]tlvbuf is 0030FF40 [02:14:10]SAM_PROTO_ClearQueue [02:14:10]wFMCommunicate request_size=4 [02:14:10]MH_SAM_APDU [02:14:10]CAPDU: 80 09 00 00 [02:14:10]Write to MH i2c: E2 08 00 19 30 80 09 00 00 00 00 00 00 BB [02:14:10]Write i2c OK [02:14:10]MH_I2C_Read... [02:14:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:14:10]Read from MH i2c: E2 [02:14:10]MH_I2C_Read... [02:14:10]Read from MH i2c: E2 03 00 [02:14:10]MH_I2C_Read... [02:14:10]Read from MH i2c: E2 03 00 19 30 00 90 00 BD [02:14:10]RAPDU: 90 00 [02:14:10]wFMCommunicate OK [02:14:10]SAM_PROTO_ClearQueue done [02:14:10]KKMCreateOFDPacket [02:14:10]OFDProtocolAddRootSTLVToBuf [02:14:10]FM_MakeSignedData [02:14:10]FM_MakeSignedData [02:14:10]SAM_PROTO_SignData [02:14:10]wFMCommunicate request_size=4 [02:14:10]MH_SAM_APDU [02:14:10]CAPDU: 80 0D 01 02 [02:14:10]Write to MH i2c: E2 08 00 1A 30 80 0D 01 02 00 00 00 00 C3 [02:14:10]Write i2c OK [02:14:10]MH_I2C_Read... [02:14:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:14:10]Read from MH i2c: E2 [02:14:10]MH_I2C_Read... [02:14:10]Read from MH i2c: E2 03 00 [02:14:10]MH_I2C_Read... [02:14:10]Read from MH i2c: E2 03 00 1A 30 00 90 00 BE [02:14:10]RAPDU: 90 00 [02:14:10]wFMCommunicate OK [02:14:10]wFMCommunicate request_size=255 [02:14:10]MH_SAM_APDU [02:14:10]CAPDU: 80 0D 02 02 FA 03 00 8C 01 1E 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 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 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 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 9C 63 00 00 00 00 EB 03 26 00 EF [02:14:10]Write to MH i2c: E2 02 01 1B 30 80 0D 02 02 FA 00 03 00 8C 01 1E 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 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 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 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 9C 63 00 00 00 00 EB 03 26 00 EF 00 00 D6 [02:14:10]Write i2c OK [02:14:10]MH_I2C_Read... [02:14:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:14:11]Read from MH i2c: E2 [02:14:11]MH_I2C_Read... [02:14:11]Read from MH i2c: E2 03 00 [02:14:11]MH_I2C_Read... [02:14:11]Read from MH i2c: E2 03 00 1B 30 00 90 00 BF [02:14:11]RAPDU: 90 00 [02:14:11]wFMCommunicate OK [02:14:11]wFMCommunicate request_size=155 [02:14:11]MH_SAM_APDU [02:14:11]CAPDU: 80 0D 02 02 96 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 0A 00 00 00 00 07 04 06 00 9C 63 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 FC 44 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D2 93 00 00 35 04 06 00 00 36 C7 F3 03 3A [02:14:11]Write to MH i2c: E2 9E 00 1C 30 80 0D 02 02 96 00 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 0A 00 00 00 00 07 04 06 00 9C 63 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 FC 44 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D2 93 00 00 35 04 06 00 00 36 C7 F3 03 3A 00 00 31 [02:14:11]Write i2c OK [02:14:11]MH_I2C_Read... [02:14:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:14:11]Read from MH i2c: E2 [02:14:11]MH_I2C_Read... [02:14:11]Read from MH i2c: E2 03 00 [02:14:11]MH_I2C_Read... [02:14:11]Read from MH i2c: E2 03 00 1C 30 00 90 00 C0 [02:14:11]RAPDU: 90 00 [02:14:11]wFMCommunicate OK [02:14:11]wFMCommunicate request_size=4 [02:14:11]MH_SAM_APDU [02:14:11]CAPDU: 80 0D 03 02 [02:14:11]Write to MH i2c: E2 08 00 1D 30 80 0D 03 02 00 00 00 00 C8 [02:14:11]Write i2c OK [02:14:11]MH_I2C_Read... [02:14:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:14:11]Read from MH i2c: E2 [02:14:11]MH_I2C_Read... [02:14:11]Read from MH i2c: E2 0B 00 [02:14:11]MH_I2C_Read... [02:14:11]Read from MH i2c: E2 0B 00 1D 30 00 20 12 E6 B1 78 9B B7 D1 90 00 2D [02:14:11]RAPDU: 20 12 E6 B1 78 9B B7 D1 90 00 [02:14:11]wFMCommunicate OK [02:14:11]SAM_PROTO_SignData done [02:14:11]FM_MakeSignedData done [02:14:11]CreateOFDProtocolMessage [02:14:11]wFMCommunicate request_size=4 [02:14:11]MH_SAM_APDU [02:14:11]CAPDU: 80 11 00 00 [02:14:11]Write to MH i2c: E2 08 00 1E 30 80 11 00 00 00 00 00 00 C8 [02:14:11]Write i2c OK [02:14:11]MH_I2C_Read... [02:14:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:14:11]Read from MH i2c: E2 [02:14:11]MH_I2C_Read... [02:14:11]Read from MH i2c: E2 17 00 [02:14:11]MH_I2C_Read... [02:14:11]Read from MH i2c: E2 17 00 1E 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 18 [02:14:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [02:14:11]wFMCommunicate OK [02:14:11]CreateOFDProtocolMessage done [02:14:11]OFDSenderStorePacket 37842 [02:14:11]StoreOFDPacket docnum=37842 [02:14:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 A0 01 00 00 4C 7A 98 01 7D 62 5A 03 01 00 03 00 8C 01 1E 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 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 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 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 9C 63 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 0A 00 00 00 00 07 04 06 00 9C 63 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 FC 44 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D2 93 00 00 35 04 06 00 00 36 C7 F3 03 3A 20 12 E6 B1 78 9B B7 D1 [02:14:11]CheckFolder [02:14:11]dirname=/storage/ofd_packets [02:14:11]CheckFolder done [02:14:11]ProducePacketName [02:14:11]name=ofd_packets/00037842 [02:14:11]NVStorageSaveData ofd_packets/00037842 [02:14:11]File name is /storage/ofd_packets/00037842 [02:14:11]Write 446 bytes [02:14:11]NVStorageSaveData done [02:14:11]OFDSenderStorePacket done [02:14:11]KKMCreateOFDPacket done [02:14:11]NVStorageSaveData kkm_last_timestamp [02:14:11]File name is /storage/kkm_last_timestamp [02:14:11]Write 4 bytes [02:14:11]NVStorageSaveData done [02:14:11]ExternCall_PrintAddStr [02:14:11]wPrintStart [02:14:11]Write to MH i2c: 01 00 00 1F 30 4F [02:14:11]Write i2c OK [02:14:11]MH_I2C_Read... [02:14:11]Read from MH i2c: 01 [02:14:11]MH_I2C_Read... [02:14:11]Read from MH i2c: 01 07 00 [02:14:11]MH_I2C_Read... [02:14:11]Read from MH i2c: 01 07 00 1F 30 00 00 00 00 00 FF 0F 64 [02:14:11]RasterBufferAndPrint [02:14:11]line Счет N : (3)35140 [02:14:11]line ИНН: 02508201610067 [02:14:11]line Контрольно-Кассовый Чек [02:14:11]line ПРОДАЖА [02:14:11]line Товар: 2000036190018 [02:14:11]line Кофе Американо XL(GABB TRADE) [02:14:11]line 1.000 * 125.00 [02:14:11]line = 125.00 [02:14:11]line НДС 12% НСП 1% [02:14:11]line > о реализуемом товаре [02:14:11]line Товар: 2000036220012 [02:14:11]line Кофе Капучино XL(GABB TRADE) [02:14:11]line 1.000 * 130.00 [02:14:11]line = 130.00 [02:14:11]line НДС 12% НСП 1% [02:14:11]line > о реализуемом товаре [02:14:11]line ИТОГО: 255.00 [02:14:11]line НСП 1% : 2.26 [02:14:11]line НДС 12% : 27.07 [02:14:11]line Наличными: 255.00 [02:14:11]line Безнал.: 0.00 [02:14:11]line Место: АЗС № 126 "Партнер Нефть" [02:14:11]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [02:14:11]line СНО: Общий режим [02:14:11]line Чек 4 29.10.2024 02:14 [02:14:11]line Смена: 552 ФФД: 1.0 [02:14:11]line ЗНМ: 0300000092 [02:14:11]line РНМ: 0000000000091684 [02:14:11]line Версия ККМ: 001 [02:14:11]line ФМ: 0000000000871841 [02:14:11]line ФД: 37842 [02:14:11]line ФПД: 235282826042 [02:14:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T021420&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37842&fm=235282826042&tin=02508201610067®Number=0000000000091684&sum=25500 [02:14:11]OFD Sender: Processing packet 37842 [packets to send 42, broken 41] [02:14:11]ProducePacketName [02:14:11]name=ofd_packets/00037842 [02:14:11]OFD Sender: To server: pG, [02:14:11]CommunicateWithHost lk.salyk.kg:30040 [02:14:11]ConnectInit lk.salyk.kg [02:14:11]line 0 [02:14:11]written 0, free lines is 4095 [02:14:12]Write to MH i2c: 01 00 00 4F 30 7F [02:14:12]Write i2c OK [02:14:12]MH_I2C_Read... [02:14:12]Read from MH i2c: 01 [02:14:12]MH_I2C_Read... [02:14:12]Read from MH i2c: 01 07 00 [02:14:12]MH_I2C_Read... [02:14:12]Read from MH i2c: 01 07 00 4F 30 00 00 00 00 00 42 0C D4 [02:14:12]RasterBufferAndPrint [02:14:12]line [02:14:12]line [02:14:12]line [02:14:12]line [02:14:12]line [02:14:12]written 0, free lines is 3144 [02:14:12]MH_Cut [02:14:12]Write to MH i2c: D1 01 00 56 30 01 58 [02:14:12]Write i2c OK [02:14:12]MH_I2C_Read... [02:14:12]Read from MH i2c: D1 [02:14:12]MH_I2C_Read... [02:14:12]Read from MH i2c: D1 01 00 [02:14:12]MH_I2C_Read... [02:14:12]Read from MH i2c: D1 01 00 56 30 00 57 [02:14:12]Write to MH i2c: 01 00 00 57 30 87 [02:14:12]Write i2c OK [02:14:12]MH_I2C_Read... [02:14:13]*** Cut start [02:14:13]*** Partial cut [02:14:13]*** CUTSNS_PIN = 1 [02:14:13]*** CUTSNS_PIN = 0 [02:14:13]*** Brake cut motor [02:14:13]Connected sock=11 [02:14:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 A0 01 00 00 4C 7A 98 01 7D 62 5A 03 01 00 03 00 8C 01 1E 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 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 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 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 9C 63 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 0A 00 00 00 00 07 04 06 00 9C 63 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 FC 44 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D2 93 00 00 35 04 06 00 00 36 C7 F3 03 3A 20 12 E6 B1 78 9B B7 D1 [02:14:13]Read from MH i2c: 01 [02:14:13]MH_I2C_Read... [02:14:13]*** Stop cut motor [02:14:13]*** Cut end [02:14:13]Read from MH i2c: 01 07 00 [02:14:13]MH_I2C_Read... [02:14:13]Read from MH i2c: 01 07 00 57 30 00 00 00 00 00 FF 0F 9C [02:14:13]process_action close_receipt done [02:14:13]requested_data is exist [02:14:13]produce_requested_data [02:14:13]requested_item fm.sn is exist - process it [02:14:13]wFMCommunicate request_size=4 [02:14:13]MH_SAM_APDU [02:14:13]CAPDU: 80 11 00 00 [02:14:13]Write to MH i2c: E2 08 00 58 30 80 11 00 00 00 00 00 00 02 [02:14:13]Write i2c OK [02:14:13]MH_I2C_Read... [02:14:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:14:13]Read from MH i2c: E2 [02:14:13]MH_I2C_Read... [02:14:13]Read from MH i2c: E2 17 00 [02:14:13]MH_I2C_Read... [02:14:13]Read from MH i2c: E2 17 00 58 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 52 [02:14:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [02:14:13]wFMCommunicate OK [02:14:13]requested_item fd.num is exist - process it [02:14:13]SAM_PROTO_GetFieldsCounters [02:14:13]wFMCommunicate request_size=4 [02:14:13]MH_SAM_APDU [02:14:13]CAPDU: 80 13 00 00 [02:14:13]Write to MH i2c: E2 08 00 59 30 80 13 00 00 00 00 00 00 05 [02:14:13]Write i2c OK [02:14:13]MH_I2C_Read... [02:14:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:14:14]Read from MH i2c: E2 [02:14:14]MH_I2C_Read... [02:14:14]Read from MH i2c: E2 62 00 [02:14:14]MH_I2C_Read... [02:14:14]Read from MH i2c: E2 62 00 59 30 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 D2 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 C1 [02:14:14]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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 D2 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:14:14]wFMCommunicate OK [02:14:14]SAM_PROTO_GetFieldsCounters done [02:14:14]requested_item shift.num is exist - process it [02:14:14]requested_item shift.opened is exist - process it [02:14:14]req_shift_opened [02:14:14]FM_GetShiftState [02:14:14]SAM_PROTO_GetShiftState [02:14:14]wFMCommunicate request_size=4 [02:14:14]MH_SAM_APDU [02:14:14]CAPDU: 80 13 01 00 [02:14:14]Write to MH i2c: E2 08 00 5A 30 80 13 01 00 00 00 00 00 07 [02:14:14]Write i2c OK [02:14:14]MH_I2C_Read... [02:14:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:14:14]Read from MH i2c: E2 [02:14:14]MH_I2C_Read... [02:14:14]Read from MH i2c: E2 0E 00 [02:14:14]MH_I2C_Read... [02:14:14]Read from MH i2c: E2 0E 00 5A 30 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 7D [02:14:14]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [02:14:14]wFMCommunicate OK [02:14:14]SAM_PROTO_GetShiftState done [02:14:14]FM_GetShiftState done [02:14:14]req_shift_opened done [02:14:14]requested_item shift.open_date is exist - process it [02:14:14]req_shift_open_date [02:14:14]req_shift_open_date done [02:14:14]produce_requested_data done [02:14:14]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37842,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [02:14:14]process_action_free close_receipt [02:14:14]json_value_free [02:14:14]json_value_free done [02:14:14]process_json_proto returns [02:14:14]Send response to host [02:14:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37842,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [02:14:14]free response buf [02:14:14]execute_script done [02:14:14]execute_script returns [02:14:14]free content buf [02:14:14]Sock 10.Close socket [02:14:14]Sock 10.Thread stoped [02:14:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 05 66 47 00 BF FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D2 93 00 00 F4 03 04 00 F1 EF 1F 67 B6 04 01 00 00 6B 39 D5 9B 7B 4C 9C F4 [02:14:14]CommunicateWithHost err = 0 [02:14:14]CheckOFDResponse [02:14:14]1017 (14) - 77093643461234 [02:14:14]1041 (16) - 0000000000871841 [02:14:14]1040 (4) - 37842 [02:14:14]1012 (4) - 28.10.2024 20:11 [02:14:14]1206 (1) - 0 [02:14:14]OFD Sender: Remove packet 37842 [02:14:14]ProducePacketName [02:14:14]name=ofd_packets/00037842 [02:14:14]NVStorageDeleteData [02:14:14]OFD Sender: No OFD packet to send [02:14:19]OFD Sender: No OFD packet to send [02:14:24]OFD Sender: No OFD packet to send [02:14:29]OFD Sender: No OFD packet to send [02:14:34]OFD Sender: No OFD packet to send [02:14:39]OFD Sender: No OFD packet to send [02:14:44]OFD Sender: No OFD packet to send [02:14:49]OFD Sender: No OFD packet to send [02:14:54]OFD Sender: No OFD packet to send [02:14:59]OFD Sender: No OFD packet to send [02:15:04]OFD Sender: No OFD packet to send [02:15:09]OFD Sender: No OFD packet to send [02:15:14]OFD Sender: No OFD packet to send [02:15:19]OFD Sender: No OFD packet to send [02:15:24]OFD Sender: No OFD packet to send [02:15:29]OFD Sender: No OFD packet to send [02:15:34]OFD Sender: No OFD packet to send [02:15:39]OFD Sender: No OFD packet to send [02:15:44]OFD Sender: No OFD packet to send [02:15:49]OFD Sender: No OFD packet to send [02:15:54]OFD Sender: No OFD packet to send [02:15:59]OFD Sender: No OFD packet to send [02:16:04]OFD Sender: No OFD packet to send [02:16:09]OFD Sender: No OFD packet to send [02:16:14]OFD Sender: No OFD packet to send [02:16:19]OFD Sender: No OFD packet to send [02:16:24]OFD Sender: No OFD packet to send [02:16:29]OFD Sender: No OFD packet to send [02:16:34]OFD Sender: No OFD packet to send [02:16:39]OFD Sender: No OFD packet to send [02:16:44]OFD Sender: No OFD packet to send [02:16:49]OFD Sender: No OFD packet to send [02:16:54]OFD Sender: No OFD packet to send [02:16:59]OFD Sender: No OFD packet to send [02:17:04]OFD Sender: No OFD packet to send [02:17:09]OFD Sender: No OFD packet to send [02:17:14]OFD Sender: No OFD packet to send [02:17:19]OFD Sender: No OFD packet to send [02:17:24]OFD Sender: No OFD packet to send [02:17:29]OFD Sender: No OFD packet to send [02:17:34]OFD Sender: No OFD packet to send [02:17:39]OFD Sender: No OFD packet to send [02:17:44]OFD Sender: No OFD packet to send [02:17:49]OFD Sender: No OFD packet to send [02:17:54]OFD Sender: No OFD packet to send [02:17:59]OFD Sender: No OFD packet to send [02:18:04]OFD Sender: No OFD packet to send [02:18:09]OFD Sender: No OFD packet to send [02:18:14]OFD Sender: No OFD packet to send [02:18:19]OFD Sender: No OFD packet to send [02:18:24]OFD Sender: No OFD packet to send [02:18:29]OFD Sender: No OFD packet to send [02:18:34]OFD Sender: No OFD packet to send [02:18:39]OFD Sender: No OFD packet to send [02:18:44]OFD Sender: No OFD packet to send [02:18:49]OFD Sender: No OFD packet to send [02:18:54]OFD Sender: No OFD packet to send [02:18:59]OFD Sender: No OFD packet to send [02:19:04]OFD Sender: No OFD packet to send [02:19:09]OFD Sender: No OFD packet to send [02:19:14]OFD Sender: No OFD packet to send [02:19:19]OFD Sender: No OFD packet to send [02:19:24]OFD Sender: No OFD packet to send [02:19:29]OFD Sender: No OFD packet to send [02:19:34]OFD Sender: No OFD packet to send [02:19:39]OFD Sender: No OFD packet to send [02:19:44]OFD Sender: No OFD packet to send [02:19:49]OFD Sender: No OFD packet to send [02:19:54]OFD Sender: No OFD packet to send [02:19:59]OFD Sender: No OFD packet to send [02:20:04]OFD Sender: No OFD packet to send [02:20:09]OFD Sender: No OFD packet to send [02:20:14]OFD Sender: No OFD packet to send [02:20:19]OFD Sender: No OFD packet to send [02:20:24]OFD Sender: No OFD packet to send [02:20:29]OFD Sender: No OFD packet to send [02:20:34]OFD Sender: No OFD packet to send [02:20:39]OFD Sender: No OFD packet to send [02:20:44]OFD Sender: No OFD packet to send [02:20:50]OFD Sender: No OFD packet to send [02:20:55]OFD Sender: No OFD packet to send [02:21:00]OFD Sender: No OFD packet to send [02:21:05]OFD Sender: No OFD packet to send [02:21:10]OFD Sender: No OFD packet to send [02:21:15]OFD Sender: No OFD packet to send [02:21:20]OFD Sender: No OFD packet to send [02:21:25]OFD Sender: No OFD packet to send [02:21:30]OFD Sender: No OFD packet to send [02:21:35]OFD Sender: No OFD packet to send [02:21:40]OFD Sender: No OFD packet to send [02:21:45]OFD Sender: No OFD packet to send [02:21:50]OFD Sender: No OFD packet to send [02:21:55]OFD Sender: No OFD packet to send [02:22:00]OFD Sender: No OFD packet to send [02:22:05]OFD Sender: No OFD packet to send [02:22:10]OFD Sender: No OFD packet to send [02:22:15]OFD Sender: No OFD packet to send [02:22:20]OFD Sender: No OFD packet to send [02:22:25]OFD Sender: No OFD packet to send [02:22:30]OFD Sender: No OFD packet to send [02:22:35]OFD Sender: No OFD packet to send [02:22:40]OFD Sender: No OFD packet to send [02:22:45]OFD Sender: No OFD packet to send [02:22:50]OFD Sender: No OFD packet to send [02:22:55]OFD Sender: No OFD packet to send [02:23:00]OFD Sender: No OFD packet to send [02:23:05]OFD Sender: No OFD packet to send [02:23:10]OFD Sender: No OFD packet to send [02:23:15]OFD Sender: No OFD packet to send [02:23:20]OFD Sender: No OFD packet to send [02:23:25]OFD Sender: No OFD packet to send [02:23:30]OFD Sender: No OFD packet to send [02:23:35]OFD Sender: No OFD packet to send [02:23:40]OFD Sender: No OFD packet to send [02:23:45]OFD Sender: No OFD packet to send [02:23:50]OFD Sender: No OFD packet to send [02:23:55]OFD Sender: No OFD packet to send [02:24:00]OFD Sender: No OFD packet to send [02:24:05]OFD Sender: No OFD packet to send [02:24:10]OFD Sender: No OFD packet to send [02:24:15]OFD Sender: No OFD packet to send [02:24:20]OFD Sender: No OFD packet to send [02:24:25]OFD Sender: No OFD packet to send [02:24:30]OFD Sender: No OFD packet to send [02:24:35]OFD Sender: No OFD packet to send [02:24:40]OFD Sender: No OFD packet to send [02:24:45]OFD Sender: No OFD packet to send [02:24:50]OFD Sender: No OFD packet to send [02:24:55]OFD Sender: No OFD packet to send [02:25:00]OFD Sender: No OFD packet to send [02:25:05]OFD Sender: No OFD packet to send [02:25:10]OFD Sender: No OFD packet to send [02:25:15]OFD Sender: No OFD packet to send [02:25:20]OFD Sender: No OFD packet to send [02:25:25]OFD Sender: No OFD packet to send [02:25:30]OFD Sender: No OFD packet to send [02:25:35]OFD Sender: No OFD packet to send [02:25:40]OFD Sender: No OFD packet to send [02:25:45]OFD Sender: No OFD packet to send [02:25:50]OFD Sender: No OFD packet to send [02:25:55]OFD Sender: No OFD packet to send [02:26:00]OFD Sender: No OFD packet to send [02:26:05]OFD Sender: No OFD packet to send [02:26:10]OFD Sender: No OFD packet to send [02:26:15]OFD Sender: No OFD packet to send [02:26:20]OFD Sender: No OFD packet to send [02:26:25]OFD Sender: No OFD packet to send [02:26:30]OFD Sender: No OFD packet to send [02:26:35]OFD Sender: No OFD packet to send [02:26:40]OFD Sender: No OFD packet to send [02:26:45]OFD Sender: No OFD packet to send [02:26:50]OFD Sender: No OFD packet to send [02:26:55]OFD Sender: No OFD packet to send [02:27:00]OFD Sender: No OFD packet to send [02:27:05]OFD Sender: No OFD packet to send [02:27:10]OFD Sender: No OFD packet to send [02:27:15]OFD Sender: No OFD packet to send [02:27:20]OFD Sender: No OFD packet to send [02:27:25]OFD Sender: No OFD packet to send [02:27:30]OFD Sender: No OFD packet to send [02:27:35]OFD Sender: No OFD packet to send [02:27:40]OFD Sender: No OFD packet to send [02:27:45]OFD Sender: No OFD packet to send [02:27:50]OFD Sender: No OFD packet to send [02:27:55]OFD Sender: No OFD packet to send [02:28:00]OFD Sender: No OFD packet to send [02:28:05]OFD Sender: No OFD packet to send [02:28:10]OFD Sender: No OFD packet to send [02:28:15]OFD Sender: No OFD packet to send [02:28:20]OFD Sender: No OFD packet to send [02:28:25]OFD Sender: No OFD packet to send [02:28:30]OFD Sender: No OFD packet to send [02:28:35]OFD Sender: No OFD packet to send [02:28:40]OFD Sender: No OFD packet to send [02:28:45]OFD Sender: No OFD packet to send [02:28:50]OFD Sender: No OFD packet to send [02:28:55]OFD Sender: No OFD packet to send [02:29:00]OFD Sender: No OFD packet to send [02:29:05]OFD Sender: No OFD packet to send [02:29:10]OFD Sender: No OFD packet to send [02:29:15]OFD Sender: No OFD packet to send [02:29:20]OFD Sender: No OFD packet to send [02:29:25]OFD Sender: No OFD packet to send [02:29:30]OFD Sender: No OFD packet to send [02:29:35]OFD Sender: No OFD packet to send [02:29:40]OFD Sender: No OFD packet to send [02:29:45]OFD Sender: No OFD packet to send [02:29:50]OFD Sender: No OFD packet to send [02:29:55]OFD Sender: No OFD packet to send [02:30:00]OFD Sender: No OFD packet to send [02:30:05]OFD Sender: No OFD packet to send [02:30:10]OFD Sender: No OFD packet to send [02:30:15]OFD Sender: No OFD packet to send [02:30:20]OFD Sender: No OFD packet to send [02:30:25]OFD Sender: No OFD packet to send [02:30:30]OFD Sender: No OFD packet to send [02:30:35]OFD Sender: No OFD packet to send [02:30:40]OFD Sender: No OFD packet to send [02:30:45]OFD Sender: No OFD packet to send [02:30:50]OFD Sender: No OFD packet to send [02:30:55]OFD Sender: No OFD packet to send [02:31:00]OFD Sender: No OFD packet to send [02:31:05]OFD Sender: No OFD packet to send [02:31:10]OFD Sender: No OFD packet to send [02:31:15]OFD Sender: No OFD packet to send [02:31:20]OFD Sender: No OFD packet to send [02:31:25]OFD Sender: No OFD packet to send [02:31:30]OFD Sender: No OFD packet to send [02:31:35]OFD Sender: No OFD packet to send [02:31:40]OFD Sender: No OFD packet to send [02:31:45]OFD Sender: No OFD packet to send [02:31:50]OFD Sender: No OFD packet to send [02:31:55]OFD Sender: No OFD packet to send [02:32:00]OFD Sender: No OFD packet to send [02:32:05]OFD Sender: No OFD packet to send [02:32:10]OFD Sender: No OFD packet to send [02:32:15]OFD Sender: No OFD packet to send [02:32:20]OFD Sender: No OFD packet to send [02:32:25]OFD Sender: No OFD packet to send [02:32:30]OFD Sender: No OFD packet to send [02:32:35]OFD Sender: No OFD packet to send [02:32:40]OFD Sender: No OFD packet to send [02:32:45]OFD Sender: No OFD packet to send [02:32:50]OFD Sender: No OFD packet to send [02:32:55]OFD Sender: No OFD packet to send [02:33:00]OFD Sender: No OFD packet to send [02:33:05]OFD Sender: No OFD packet to send [02:33:10]OFD Sender: No OFD packet to send [02:33:15]OFD Sender: No OFD packet to send [02:33:20]OFD Sender: No OFD packet to send [02:33:25]OFD Sender: No OFD packet to send [02:33:30]OFD Sender: No OFD packet to send [02:33:35]OFD Sender: No OFD packet to send [02:33:40]OFD Sender: No OFD packet to send [02:33:45]OFD Sender: No OFD packet to send [02:33:50]OFD Sender: No OFD packet to send [02:33:55]OFD Sender: No OFD packet to send [02:34:00]OFD Sender: No OFD packet to send [02:34:05]OFD Sender: No OFD packet to send [02:34:10]OFD Sender: No OFD packet to send [02:34:15]OFD Sender: No OFD packet to send [02:34:20]OFD Sender: No OFD packet to send [02:34:25]OFD Sender: No OFD packet to send [02:34:30]OFD Sender: No OFD packet to send [02:34:35]OFD Sender: No OFD packet to send [02:34:40]OFD Sender: No OFD packet to send [02:34:45]OFD Sender: No OFD packet to send [02:34:50]OFD Sender: No OFD packet to send [02:34:55]OFD Sender: No OFD packet to send [02:35:00]OFD Sender: No OFD packet to send [02:35:05]OFD Sender: No OFD packet to send [02:35:10]OFD Sender: No OFD packet to send [02:35:15]OFD Sender: No OFD packet to send [02:35:20]OFD Sender: No OFD packet to send [02:35:25]OFD Sender: No OFD packet to send [02:35:30]OFD Sender: No OFD packet to send [02:35:35]OFD Sender: No OFD packet to send [02:35:40]OFD Sender: No OFD packet to send [02:35:45]OFD Sender: No OFD packet to send [02:35:50]OFD Sender: No OFD packet to send [02:35:55]OFD Sender: No OFD packet to send [02:36:00]OFD Sender: No OFD packet to send [02:36:05]OFD Sender: No OFD packet to send [02:36:10]OFD Sender: No OFD packet to send [02:36:15]OFD Sender: No OFD packet to send [02:36:20]OFD Sender: No OFD packet to send [02:36:25]OFD Sender: No OFD packet to send [02:36:30]OFD Sender: No OFD packet to send [02:36:35]OFD Sender: No OFD packet to send [02:36:40]OFD Sender: No OFD packet to send [02:36:45]OFD Sender: No OFD packet to send [02:36:50]OFD Sender: No OFD packet to send [02:36:55]OFD Sender: No OFD packet to send [02:37:00]OFD Sender: No OFD packet to send [02:37:05]OFD Sender: No OFD packet to send [02:37:10]OFD Sender: No OFD packet to send [02:37:15]OFD Sender: No OFD packet to send [02:37:20]OFD Sender: No OFD packet to send [02:37:25]OFD Sender: No OFD packet to send [02:37:30]OFD Sender: No OFD packet to send [02:37:35]OFD Sender: No OFD packet to send [02:37:40]OFD Sender: No OFD packet to send [02:37:45]OFD Sender: No OFD packet to send [02:37:50]OFD Sender: No OFD packet to send [02:37:55]OFD Sender: No OFD packet to send [02:38:00]OFD Sender: No OFD packet to send [02:38:05]OFD Sender: No OFD packet to send [02:38:10]OFD Sender: No OFD packet to send [02:38:15]OFD Sender: No OFD packet to send [02:38:20]OFD Sender: No OFD packet to send [02:38:25]OFD Sender: No OFD packet to send [02:38:30]OFD Sender: No OFD packet to send [02:38:35]OFD Sender: No OFD packet to send [02:38:40]OFD Sender: No OFD packet to send [02:38:45]OFD Sender: No OFD packet to send [02:38:50]OFD Sender: No OFD packet to send [02:38:55]OFD Sender: No OFD packet to send [02:39:00]OFD Sender: No OFD packet to send [02:39:05]OFD Sender: No OFD packet to send [02:39:10]OFD Sender: No OFD packet to send [02:39:15]OFD Sender: No OFD packet to send [02:39:20]OFD Sender: No OFD packet to send [02:39:25]OFD Sender: No OFD packet to send [02:39:30]OFD Sender: No OFD packet to send [02:39:36]OFD Sender: No OFD packet to send [02:39:41]OFD Sender: No OFD packet to send [02:39:46]OFD Sender: No OFD packet to send [02:39:51]OFD Sender: No OFD packet to send [02:39:56]OFD Sender: No OFD packet to send [02:40:01]OFD Sender: No OFD packet to send [02:40:06]OFD Sender: No OFD packet to send [02:40:11]OFD Sender: No OFD packet to send [02:40:16]OFD Sender: No OFD packet to send [02:40:21]OFD Sender: No OFD packet to send [02:40:26]OFD Sender: No OFD packet to send [02:40:31]OFD Sender: No OFD packet to send [02:40:36]OFD Sender: No OFD packet to send [02:40:41]OFD Sender: No OFD packet to send [02:40:46]OFD Sender: No OFD packet to send [02:40:51]OFD Sender: No OFD packet to send [02:40:56]OFD Sender: No OFD packet to send [02:41:01]OFD Sender: No OFD packet to send [02:41:06]OFD Sender: No OFD packet to send [02:41:11]OFD Sender: No OFD packet to send [02:41:16]OFD Sender: No OFD packet to send [02:41:21]OFD Sender: No OFD packet to send [02:41:26]OFD Sender: No OFD packet to send [02:41:31]OFD Sender: No OFD packet to send [02:41:36]OFD Sender: No OFD packet to send [02:41:41]OFD Sender: No OFD packet to send [02:41:46]OFD Sender: No OFD packet to send [02:41:51]OFD Sender: No OFD packet to send [02:41:56]OFD Sender: No OFD packet to send [02:42:01]OFD Sender: No OFD packet to send [02:42:06]OFD Sender: No OFD packet to send [02:42:11]OFD Sender: No OFD packet to send [02:42:16]OFD Sender: No OFD packet to send [02:42:21]OFD Sender: No OFD packet to send [02:42:26]OFD Sender: No OFD packet to send [02:42:31]OFD Sender: No OFD packet to send [02:42:36]OFD Sender: No OFD packet to send [02:42:41]OFD Sender: No OFD packet to send [02:42:46]OFD Sender: No OFD packet to send [02:42:51]OFD Sender: No OFD packet to send [02:42:56]OFD Sender: No OFD packet to send [02:43:01]OFD Sender: No OFD packet to send [02:43:06]OFD Sender: No OFD packet to send [02:43:11]OFD Sender: No OFD packet to send [02:43:16]OFD Sender: No OFD packet to send [02:43:21]OFD Sender: No OFD packet to send [02:43:26]OFD Sender: No OFD packet to send [02:43:31]OFD Sender: No OFD packet to send [02:43:36]OFD Sender: No OFD packet to send [02:43:41]OFD Sender: No OFD packet to send [02:43:46]OFD Sender: No OFD packet to send [02:43:51]OFD Sender: No OFD packet to send [02:43:56]OFD Sender: No OFD packet to send [02:44:01]OFD Sender: No OFD packet to send [02:44:06]OFD Sender: No OFD packet to send [02:44:11]OFD Sender: No OFD packet to send [02:44:16]OFD Sender: No OFD packet to send [02:44:21]OFD Sender: No OFD packet to send [02:44:26]OFD Sender: No OFD packet to send [02:44:31]OFD Sender: No OFD packet to send [02:44:36]OFD Sender: No OFD packet to send [02:44:41]OFD Sender: No OFD packet to send [02:44:46]OFD Sender: No OFD packet to send [02:44:51]OFD Sender: No OFD packet to send [02:44:56]OFD Sender: No OFD packet to send [02:45:01]OFD Sender: No OFD packet to send [02:45:06]OFD Sender: No OFD packet to send [02:45:11]OFD Sender: No OFD packet to send [02:45:16]OFD Sender: No OFD packet to send [02:45:21]OFD Sender: No OFD packet to send [02:45:26]OFD Sender: No OFD packet to send [02:45:31]OFD Sender: No OFD packet to send [02:45:36]OFD Sender: No OFD packet to send [02:45:41]OFD Sender: No OFD packet to send [02:45:46]OFD Sender: No OFD packet to send [02:45:51]OFD Sender: No OFD packet to send [02:45:56]OFD Sender: No OFD packet to send [02:46:01]OFD Sender: No OFD packet to send [02:46:06]OFD Sender: No OFD packet to send [02:46:11]OFD Sender: No OFD packet to send [02:46:16]OFD Sender: No OFD packet to send [02:46:21]OFD Sender: No OFD packet to send [02:46:26]OFD Sender: No OFD packet to send [02:46:31]OFD Sender: No OFD packet to send [02:46:36]OFD Sender: No OFD packet to send [02:46:41]OFD Sender: No OFD packet to send [02:46:46]OFD Sender: No OFD packet to send [02:46:51]OFD Sender: No OFD packet to send [02:46:56]OFD Sender: No OFD packet to send [02:47:01]OFD Sender: No OFD packet to send [02:47:06]OFD Sender: No OFD packet to send [02:47:11]OFD Sender: No OFD packet to send [02:47:16]OFD Sender: No OFD packet to send [02:47:21]OFD Sender: No OFD packet to send [02:47:26]OFD Sender: No OFD packet to send [02:47:31]OFD Sender: No OFD packet to send [02:47:36]OFD Sender: No OFD packet to send [02:47:41]OFD Sender: No OFD packet to send [02:47:46]OFD Sender: No OFD packet to send [02:47:51]OFD Sender: No OFD packet to send [02:47:56]OFD Sender: No OFD packet to send [02:48:01]OFD Sender: No OFD packet to send [02:48:06]OFD Sender: No OFD packet to send [02:48:11]OFD Sender: No OFD packet to send [02:48:16]OFD Sender: No OFD packet to send [02:48:21]OFD Sender: No OFD packet to send [02:48:26]OFD Sender: No OFD packet to send [02:48:31]OFD Sender: No OFD packet to send [02:48:36]OFD Sender: No OFD packet to send [02:48:41]OFD Sender: No OFD packet to send [02:48:46]OFD Sender: No OFD packet to send [02:48:51]OFD Sender: No OFD packet to send [02:48:56]OFD Sender: No OFD packet to send [02:49:01]OFD Sender: No OFD packet to send [02:49:06]OFD Sender: No OFD packet to send [02:49:11]OFD Sender: No OFD packet to send [02:49:16]OFD Sender: No OFD packet to send [02:49:21]OFD Sender: No OFD packet to send [02:49:26]OFD Sender: No OFD packet to send [02:49:31]OFD Sender: No OFD packet to send [02:49:36]OFD Sender: No OFD packet to send [02:49:41]OFD Sender: No OFD packet to send [02:49:46]OFD Sender: No OFD packet to send [02:49:51]OFD Sender: No OFD packet to send [02:49:56]OFD Sender: No OFD packet to send [02:50:01]OFD Sender: No OFD packet to send [02:50:06]OFD Sender: No OFD packet to send [02:50:11]OFD Sender: No OFD packet to send [02:50:16]OFD Sender: No OFD packet to send [02:50:21]OFD Sender: No OFD packet to send [02:50:26]OFD Sender: No OFD packet to send [02:50:31]OFD Sender: No OFD packet to send [02:50:36]OFD Sender: No OFD packet to send [02:50:41]OFD Sender: No OFD packet to send [02:50:46]OFD Sender: No OFD packet to send [02:50:51]OFD Sender: No OFD packet to send [02:50:56]OFD Sender: No OFD packet to send [02:51:01]OFD Sender: No OFD packet to send [02:51:06]OFD Sender: No OFD packet to send [02:51:11]OFD Sender: No OFD packet to send [02:51:16]OFD Sender: No OFD packet to send [02:51:21]OFD Sender: No OFD packet to send [02:51:26]OFD Sender: No OFD packet to send [02:51:31]OFD Sender: No OFD packet to send [02:51:36]OFD Sender: No OFD packet to send [02:51:41]OFD Sender: No OFD packet to send [02:51:46]OFD Sender: No OFD packet to send [02:51:51]OFD Sender: No OFD packet to send [02:51:56]OFD Sender: No OFD packet to send [02:52:01]OFD Sender: No OFD packet to send [02:52:06]OFD Sender: No OFD packet to send [02:52:11]OFD Sender: No OFD packet to send [02:52:16]OFD Sender: No OFD packet to send [02:52:21]OFD Sender: No OFD packet to send [02:52:26]OFD Sender: No OFD packet to send [02:52:31]OFD Sender: No OFD packet to send [02:52:36]OFD Sender: No OFD packet to send [02:52:41]OFD Sender: No OFD packet to send [02:52:46]OFD Sender: No OFD packet to send [02:52:51]OFD Sender: No OFD packet to send [02:52:56]OFD Sender: No OFD packet to send [02:53:01]OFD Sender: No OFD packet to send [02:53:06]OFD Sender: No OFD packet to send [02:53:11]OFD Sender: No OFD packet to send [02:53:16]OFD Sender: No OFD packet to send [02:53:21]OFD Sender: No OFD packet to send [02:53:26]OFD Sender: No OFD packet to send [02:53:31]OFD Sender: No OFD packet to send [02:53:36]OFD Sender: No OFD packet to send [02:53:41]OFD Sender: No OFD packet to send [02:53:46]OFD Sender: No OFD packet to send [02:53:51]OFD Sender: No OFD packet to send [02:53:56]OFD Sender: No OFD packet to send [02:54:01]OFD Sender: No OFD packet to send [02:54:06]OFD Sender: No OFD packet to send [02:54:11]OFD Sender: No OFD packet to send [02:54:16]OFD Sender: No OFD packet to send [02:54:21]OFD Sender: No OFD packet to send [02:54:26]OFD Sender: No OFD packet to send [02:54:31]OFD Sender: No OFD packet to send [02:54:36]OFD Sender: No OFD packet to send [02:54:41]OFD Sender: No OFD packet to send [02:54:46]OFD Sender: No OFD packet to send [02:54:51]OFD Sender: No OFD packet to send [02:54:56]OFD Sender: No OFD packet to send [02:55:01]OFD Sender: No OFD packet to send [02:55:06]OFD Sender: No OFD packet to send [02:55:11]OFD Sender: No OFD packet to send [02:55:16]OFD Sender: No OFD packet to send [02:55:21]OFD Sender: No OFD packet to send [02:55:26]OFD Sender: No OFD packet to send [02:55:31]OFD Sender: No OFD packet to send [02:55:36]OFD Sender: No OFD packet to send [02:55:41]OFD Sender: No OFD packet to send [02:55:46]OFD Sender: No OFD packet to send [02:55:51]OFD Sender: No OFD packet to send [02:55:56]OFD Sender: No OFD packet to send [02:56:01]OFD Sender: No OFD packet to send [02:56:06]OFD Sender: No OFD packet to send [02:56:11]OFD Sender: No OFD packet to send [02:56:16]OFD Sender: No OFD packet to send [02:56:21]OFD Sender: No OFD packet to send [02:56:26]OFD Sender: No OFD packet to send [02:56:31]OFD Sender: No OFD packet to send [02:56:36]OFD Sender: No OFD packet to send [02:56:41]OFD Sender: No OFD packet to send [02:56:46]OFD Sender: No OFD packet to send [02:56:51]OFD Sender: No OFD packet to send [02:56:56]OFD Sender: No OFD packet to send [02:57:01]OFD Sender: No OFD packet to send [02:57:06]OFD Sender: No OFD packet to send [02:57:11]OFD Sender: No OFD packet to send [02:57:16]OFD Sender: No OFD packet to send [02:57:21]OFD Sender: No OFD packet to send [02:57:26]OFD Sender: No OFD packet to send [02:57:31]OFD Sender: No OFD packet to send [02:57:36]OFD Sender: No OFD packet to send [02:57:41]OFD Sender: No OFD packet to send [02:57:46]OFD Sender: No OFD packet to send [02:57:51]OFD Sender: No OFD packet to send [02:57:56]OFD Sender: No OFD packet to send [02:58:01]OFD Sender: No OFD packet to send [02:58:06]OFD Sender: No OFD packet to send [02:58:11]OFD Sender: No OFD packet to send [02:58:16]OFD Sender: No OFD packet to send [02:58:21]OFD Sender: No OFD packet to send [02:58:26]OFD Sender: No OFD packet to send [02:58:32]OFD Sender: No OFD packet to send [02:58:37]OFD Sender: No OFD packet to send [02:58:42]OFD Sender: No OFD packet to send [02:58:47]OFD Sender: No OFD packet to send [02:58:52]OFD Sender: No OFD packet to send [02:58:57]OFD Sender: No OFD packet to send [02:59:02]OFD Sender: No OFD packet to send [02:59:07]OFD Sender: No OFD packet to send [02:59:12]OFD Sender: No OFD packet to send [02:59:17]OFD Sender: No OFD packet to send [02:59:22]OFD Sender: No OFD packet to send [02:59:27]OFD Sender: No OFD packet to send [02:59:32]OFD Sender: No OFD packet to send [02:59:37]OFD Sender: No OFD packet to send [02:59:42]OFD Sender: No OFD packet to send [02:59:47]OFD Sender: No OFD packet to send [02:59:52]OFD Sender: No OFD packet to send [02:59:57]OFD Sender: No OFD packet to send [03:00:02]OFD Sender: No OFD packet to send [03:00:07]OFD Sender: No OFD packet to send [03:00:12]OFD Sender: No OFD packet to send [03:00:17]OFD Sender: No OFD packet to send [03:00:22]OFD Sender: No OFD packet to send [03:00:27]OFD Sender: No OFD packet to send [03:00:32]OFD Sender: No OFD packet to send [03:00:37]OFD Sender: No OFD packet to send [03:00:42]OFD Sender: No OFD packet to send [03:00:47]OFD Sender: No OFD packet to send [03:00:52]OFD Sender: No OFD packet to send [03:00:57]OFD Sender: No OFD packet to send [03:01:02]OFD Sender: No OFD packet to send [03:01:07]OFD Sender: No OFD packet to send [03:01:12]OFD Sender: No OFD packet to send [03:01:17]OFD Sender: No OFD packet to send [03:01:22]OFD Sender: No OFD packet to send [03:01:27]OFD Sender: No OFD packet to send [03:01:32]OFD Sender: No OFD packet to send [03:01:37]OFD Sender: No OFD packet to send [03:01:42]OFD Sender: No OFD packet to send [03:01:47]OFD Sender: No OFD packet to send [03:01:52]OFD Sender: No OFD packet to send [03:01:57]OFD Sender: No OFD packet to send [03:02:02]OFD Sender: No OFD packet to send [03:02:07]OFD Sender: No OFD packet to send [03:02:12]OFD Sender: No OFD packet to send [03:02:17]OFD Sender: No OFD packet to send [03:02:22]OFD Sender: No OFD packet to send [03:02:27]OFD Sender: No OFD packet to send [03:02:32]OFD Sender: No OFD packet to send [03:02:37]OFD Sender: No OFD packet to send [03:02:42]OFD Sender: No OFD packet to send